Repository navigation
chore: release packages - #130
Open
github-actions[bot] wants to merge 1 commit into
Open
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@openagentpack/sdk@0.11.0
Minor Changes
4e0ae74: BREAKING:用量查询公开面合并为
getUsageSummary,按百炼官方 Usage API(POST /api/v1/agentstudio/usage/summary)的dimension契约一次返回total + models + tools。listModelUsage/listToolUsage及ModelUsagePage、ModelUsageRequest、ModelUsageItem、ToolUsagePage、ToolUsageRequest、ToolUsageItem、UsageScope、UsagePage、UsageTokenStats等类型getUsageSummary(ctx, request, options)与UsageSummaryRequest、UsageSummaryResponse、UsageSummary、UsageMetric、UsageTotal、UsageModelRow、UsageToolRow、UsageDimension、UsageGranularityscope{type,...}→dimension判别联合;毫秒time_range→ 带时区偏移的 RFC 3339 字符串;分页与model_name/source/tool_name服务端筛选移除(明细随汇总一次返回){ value, unit },未知指标value: null、已知零值0;无统计记录时data_updated_at: null4e0ae74: 用量查询补齐百炼官方 Usage API 的 trend 端点,并收紧 summary 契约:
getUsageTrend(ctx, request, options)(POST /api/v1/agentstudio/usage/trend)与UsageTrendRequest、UsageTrend、UsageTrendPoint、UsageTrendResponse、UsageTrendDimension;支持 workspace/agent 维度、hour/day/month分桶、page_size(1..100)与page_token游标分页,has_more/next_page_token原样透传,缺数据的桶不补零UsageBreakdown(total/models/tools),summary 与 trend 共用UsageSummary.query_range改为可选:session维度复用会话自身窗口,响应可能没有该字段time_range只接受秒级、带偏移的 RFC 3339(拒绝小数秒与无偏移时间);agent_id/session_id/agent_version不接受空白串;granularity显式传null被拒绝;trend 的page_size/page_token非法值在发请求前拒绝@openagentpack/cli@0.11.0
Patch Changes
@openagentpack/playground@0.11.0
Patch Changes
@openagentpack/server@0.0.17
Patch Changes