Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
docs(composer): translate context window scenarios
vastsa417317dd8d13
diff --git a/docs/zh-CN/spec/03-runtime/13-model-catalog-and-selection.md b/docs/zh-CN/spec/03-runtime/13-model-catalog-and-selection.mdindex 2a073f373..02f6c01dd 100644--- a/docs/zh-CN/spec/03-runtime/13-model-catalog-and-selection.md+++ b/docs/zh-CN/spec/03-runtime/13-model-catalog-and-selection.md@@ -280,7 +280,7 @@ type ModelCatalogItem = {除非不可能执行,否则警告是非阻塞的。-Composer context-window labels resolve the exact binding with `effectiveContextWindow`: explicit user limits override discovery, catalog-owned limits follow discovery, and legacy bindings preserve their saved limits. A binding with a valid saved limit still displays it when discovery is unavailable. This display resolution does not modify the discovered catalog or runtime safety budgets.+Composer 模型列表中的上下文窗口标签通过 `effectiveContextWindow` 按对应 binding 解析:显式的用户额度优先于发现信息;由目录管理的额度跟随发现结果;旧版 binding 保留已保存额度。即使模型发现不可用,只要已保存额度有效,也仍会显示该额度。该显示解析不会修改发现目录或运行时安全预算。### 11.1 Reasoning capability resolutiondiff --git a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.mdindex 54364fb46..8f223f060 100644--- a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md+++ b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md@@ -9451,6 +9451,6 @@ host-created files. The full app's file-preview viewer is covered separately.### E2E-COMPOSER-configured-context-window-- **Steps:** Save a 500K user context limit for a model whose catalog publishes 1M. Open the Composer model list, then send a short message and inspect context usage. Repeat with a catalog-owned limit and with discovery unavailable.-- **Expected:** The user-configured row and context inspector show 500K; a catalog-owned row follows the published limit; a configured model without discovery retains its saved context label. Model selection remains unchanged.-- **Status:** Manual validation scenario; no new automated regression test.+- **步骤:**为目录发布 1M 的模型保存 500K 用户额度。打开 Composer 模型列表,然后发送一条简短消息并检查上下文用量。对目录管理的额度以及模型发现不可用的情况重复验证。+- **预期:**用户配置的模型行和上下文检查器显示 500K;目录管理的额度跟随已发布值;没有发现信息的已配置模型仍显示保存的额度。模型选择保持不变。+- **状态:**手动验证场景;未增加自动回归测试。