diff --git a/.agents/notes/implemented/architecture/2026-11-10-llm-route-credential-seam.i18n.yaml b/.agents/notes/implemented/architecture/2026-11-10-llm-route-credential-seam.i18n.yaml index 763a04ece1..c46edc0386 100644 --- a/.agents/notes/implemented/architecture/2026-11-10-llm-route-credential-seam.i18n.yaml +++ b/.agents/notes/implemented/architecture/2026-11-10-llm-route-credential-seam.i18n.yaml @@ -15,5 +15,5 @@ en: d6b2de393add9887 zh: b5351f9a49387bd6 /agent-note-route-credentials-deepseek-model-routes-publish-the-credential-consumers-reuse/consequences: - en: 748f306d720ade43 - zh: c28734e1d072feb3 + en: ff4e2a7346097e54 + zh: 7881f404099276b3 diff --git a/.agents/notes/implemented/architecture/2026-11-10-llm-route-credential-seam.md b/.agents/notes/implemented/architecture/2026-11-10-llm-route-credential-seam.md index b41afa2b2b..fc30a5a383 100644 --- a/.agents/notes/implemented/architecture/2026-11-10-llm-route-credential-seam.md +++ b/.agents/notes/implemented/architecture/2026-11-10-llm-route-credential-seam.md @@ -42,6 +42,6 @@ The web providers consume publications. `web-deepseek-api` builds each operation ## Consequences -Adding a credential kind, or a consumer of a route's credential, touches one route plugin or one consumer, not the transport. The transport, the web providers, and the account service lose their cross-dependencies, and `hasRunningAccountTasks()` depends on a registered report rather than on Agents the account service can see. Consumers that construct `DeepSeekRequestAuth` supply a `value`; the removed helpers and the route plugins' config exports are gone, and the [upgrade guide](../../../../docs/upgrade-guide/v0.2.2-rc.2/llm-route-credential/guide.md) lists the replacements. A route's configuration failure reaches web consumers through `routeCredential()` as a thrown error, which they report as `WEB_PROVIDER_MISCONFIGURED`. +Adding a credential kind, or a consumer of a route's credential, touches one route plugin or one consumer, not the transport. The transport, the web providers, and the account service lose their cross-dependencies, and `hasRunningAccountTasks()` depends on a registered report rather than on Agents the account service can see. Consumers that construct `DeepSeekRequestAuth` supply a `value`; the removed helpers and the route plugins' config exports are gone, and the [upgrade guide](../../../../docs/upgrade-guide/v0.2.2-rc.3/llm-route-credential/guide.md) lists the replacements. A route's configuration failure reaches web consumers through `routeCredential()` as a thrown error, which they report as `WEB_PROVIDER_MISCONFIGURED`. A sign-out ends the in-flight model, Files, Search, and Fetch requests that carry the account token, including requests no Agent turn owns, such as a model request outside a turn or an account-billed web search; the account listing request keeps its own deadline. The signal supplements the Agent cancellation of the [account sign-out decision](2026-09-17-account-provider-signout.md), which rejected a login-level signal as a duplicate of that chain: the chain reaches a request only through a mounted listener and a running Agent turn. While the account route is disabled, a task it started that still runs is not reported to the sign-out confirmation, and a sign-out ends it only through a model request in flight. A credential released by an account service that has since been replaced is not withdrawn by the replacement's sign-out; the route plugin's listener still cancels Agent turns. diff --git a/.agents/notes/implemented/architecture/2026-11-10-llm-route-credential-seam.zh.md b/.agents/notes/implemented/architecture/2026-11-10-llm-route-credential-seam.zh.md index b47687c8b8..b370391879 100644 --- a/.agents/notes/implemented/architecture/2026-11-10-llm-route-credential-seam.zh.md +++ b/.agents/notes/implemented/architecture/2026-11-10-llm-route-credential-seam.zh.md @@ -42,6 +42,6 @@ Web 提供方消费这些发布的凭据。`web-deepseek-api` 从 `ctx.llm.route ## 后果 -新增凭据种类或路由凭据的消费方只触及一个路由插件或一个消费方,而不是传输层。传输层、Web 提供方和账号服务之间的交叉依赖消失,`hasRunningAccountTasks()` 依赖注册的报告而非账号服务可见的 Agent。构造 `DeepSeekRequestAuth` 的消费方需提供 `value`;被移除的辅助函数和路由插件的配置导出不复存在,[升级指南](../../../../docs/upgrade-guide/v0.2.2-rc.2/llm-route-credential/guide.zh.md)列出了替代方案。路由的配置失败通过 `routeCredential()` 以抛出错误的形式到达 Web 消费方,它们将其报告为 `WEB_PROVIDER_MISCONFIGURED`。 +新增凭据种类或路由凭据的消费方只触及一个路由插件或一个消费方,而不是传输层。传输层、Web 提供方和账号服务之间的交叉依赖消失,`hasRunningAccountTasks()` 依赖注册的报告而非账号服务可见的 Agent。构造 `DeepSeekRequestAuth` 的消费方需提供 `value`;被移除的辅助函数和路由插件的配置导出不复存在,[升级指南](../../../../docs/upgrade-guide/v0.2.2-rc.3/llm-route-credential/guide.zh.md)列出了替代方案。路由的配置失败通过 `routeCredential()` 以抛出错误的形式到达 Web 消费方,它们将其报告为 `WEB_PROVIDER_MISCONFIGURED`。 退登会结束携带账号 token 的在途模型、Files、Search 与 Fetch 请求,包括不属于任何 Agent 回合的请求,例如回合之外的模型请求或按账号计费的 Web 搜索;账号列表请求仍只受自身期限约束。该信号是对[账号退登决策](2026-09-17-account-provider-signout.zh.md)中 Agent 取消链路的补充;那份决策以重复该链路为由否决了登录级信号,而该链路只能经由已挂载的监听和运行中的 Agent 回合到达请求。账号路由被停用期间,它此前启动且仍在运行的任务不会报告给退登确认,退登也只能通过在途的模型请求结束它。已被替换的账号服务释放的凭据不会被替换后服务的退登撤回;路由插件的监听仍会取消 Agent 回合。 diff --git a/docs/upgrade-guide/v0.2.2-rc.2/llm-route-credential/guide.i18n.yaml b/docs/upgrade-guide/v0.2.2-rc.3/llm-route-credential/guide.i18n.yaml similarity index 87% rename from docs/upgrade-guide/v0.2.2-rc.2/llm-route-credential/guide.i18n.yaml rename to docs/upgrade-guide/v0.2.2-rc.3/llm-route-credential/guide.i18n.yaml index 7577d27ae0..5a217379ea 100644 --- a/docs/upgrade-guide/v0.2.2-rc.2/llm-route-credential/guide.i18n.yaml +++ b/docs/upgrade-guide/v0.2.2-rc.3/llm-route-credential/guide.i18n.yaml @@ -1,13 +1,13 @@ # Bilingual-pair consistency record for guide.md (docs/i18n/README.md): per heading # section, a hash of its English and Chinese blocks outside code blocks and generated regions. # After editing either side, bring the other along and re-record with: -# pnpm run verify-translation-pairing --write docs/upgrade-guide/v0.2.2-rc.2/llm-route-credential/guide.md +# pnpm run verify-translation-pairing --write docs/upgrade-guide/v0.2.2-rc.3/llm-route-credential/guide.md /: en: f0cf30e5430471e8 zh: 2e6e871797dfdd6b /deepseek-routes-publish-the-credential-web-consumers-reuse: - en: f0139803159ee9c9 - zh: 73bd5dfd53ed8d36 + en: b5392bcd81f69488 + zh: 68cd945f2dde46af /deepseek-routes-publish-the-credential-web-consumers-reuse/change: en: 4e77c6f6c622beb2 zh: 2c119f567ff411ff diff --git a/docs/upgrade-guide/v0.2.2-rc.2/llm-route-credential/guide.md b/docs/upgrade-guide/v0.2.2-rc.3/llm-route-credential/guide.md similarity index 100% rename from docs/upgrade-guide/v0.2.2-rc.2/llm-route-credential/guide.md rename to docs/upgrade-guide/v0.2.2-rc.3/llm-route-credential/guide.md diff --git a/docs/upgrade-guide/v0.2.2-rc.2/llm-route-credential/guide.zh.md b/docs/upgrade-guide/v0.2.2-rc.3/llm-route-credential/guide.zh.md similarity index 100% rename from docs/upgrade-guide/v0.2.2-rc.2/llm-route-credential/guide.zh.md rename to docs/upgrade-guide/v0.2.2-rc.3/llm-route-credential/guide.zh.md