Version Packages (next)#22
Merged
Merged
Conversation
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 the packages will be published to npm 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.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
@rei-standard/amsg-server@2.6.0-next.3
Minor Changes
914ddcf: 单用户 / Cloudflare 模式新增「fire 时刻现场生成」能力:
client_state(init-tenant 幂等建表)+ 三个端点:PUT /client-state批量上传状态(按updatedAtlast-write-wins,单条 value ≤ 200KB)、GET /client-state?namespace=读取、DELETE /client-state清空。value 用 per-user key 加密落库,鉴权与加密头沿用现有端点。createSingleUserCloudflareWorker的 config 接受可选hooks: { onBeforeFire, onLLMOutput, executeToolCalls }与maxToolIterations(默认 5)、totalTimeoutMs(默认 240000,两者都可在 onBeforeFire 返回值里按次覆盖)。配置后,AI 类任务在触发时由 onBeforeFire 现场组装 messages(可经ctx.readState(namespace)读 client_state),工具在 worker 内就地执行、多轮循环闭环后推送成品;onLLMOutput 的 ctx 与 decision 契约与@rei-standard/amsg-instant的同名 hook 一致,instant 的 classifier 可直接复用(tool-request同时接受toolCalls直传与 tool_request pushPayloads 两种形状)。Patch Changes
@rei-standard/amsg-shared@0.4.0-next.0
Minor Changes
buildSessionContext、extractAssistantMessage、assertValidDecision(新增inlineToolCalls选项,允许tool-request直接携带toolCalls,供服务端就地执行工具的场景用)、extractToolCallsFromDecision。amsg-instant 的 SessionContext 构建与 decision 校验改为从 amsg-shared 复用同一实现,对外行为与错误信息不变。@rei-standard/amsg-client@2.9.0-next.2
Patch Changes
@rei-standard/amsg-instant@0.10.1-next.0
Patch Changes
buildSessionContext、extractAssistantMessage、assertValidDecision(新增inlineToolCalls选项,允许tool-request直接携带toolCalls,供服务端就地执行工具的场景用)、extractToolCallsFromDecision。amsg-instant 的 SessionContext 构建与 decision 校验改为从 amsg-shared 复用同一实现,对外行为与错误信息不变。@rei-standard/amsg-sw@2.3.3-next.0
Patch Changes