docs(system-prompt): sync first-party order references

This commit is contained in:
Yichen Jiang
2026-08-25 12:05:38 +08:00
parent 0f7b28ad31
commit 8020f6386d
26 changed files with 42 additions and 43 deletions
+2 -2
View File
@@ -2,5 +2,5 @@
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write packages/shell/tool-bash/README.md
README.md: 21749bf0a1cd3cdc46257fb2a02ba6b4ab1f5ee6
README.zh.md: 860db1a4c347d1aefe04f70e14a65e4b511ff7f6
README.md: c684508ea50b80ff6f98b25cd4cd7ca0fd6012a5
README.zh.md: 3459ed64964bf40b3b72530d7614ca27e45cafc6
+1 -1
View File
@@ -8,7 +8,7 @@ Requires a loaded executor Service Provider (e.g. `@deepseek-ai/dsh-bash-local`)
The package root exposes only the Cordis plugin contract (`name`, `inject`, `Config`, `apply`); result rendering and background-process adaptation remain package-internal.
The plugin also contributes the `tool:bash` prompt section (order 105): check the `[exit code: N]` marker on every result and investigate failures before moving on.
The plugin also contributes the `tool:bash` prompt section (first-party order 1000): check the `[exit code: N]` marker on every result and investigate failures before moving on.
## Tools
+1 -1
View File
@@ -8,7 +8,7 @@
包根只公开 Cordis 插件约定(`name``inject``Config``apply`);结果渲染和后台进程适配仍保留在包内部。
插件还会提供 `tool:bash` 提示词段落(顺序 105):检查每个结果中的 `[exit code: N]` 标记,发现失败时先调查原因再继续。
插件还会提供 `tool:bash` 提示词段落(first-party 顺序 1000):检查每个结果中的 `[exit code: N]` 标记,发现失败时先调查原因再继续。
## 工具
+2 -2
View File
@@ -2,5 +2,5 @@
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write packages/shell/tool-pwsh/README.md
README.md: e862fcf0ca85d0ecb0a5fe6cff3ee3c7a8153716
README.zh.md: 0a66b119ac2bf0386c0686e9e22ddfe1c3bb87b1
README.md: 70827f42566f670ffedb37b20111ec13aab09582
README.zh.md: eec0a9782a2afdd610a09a6851107f94dc6eecc4
+1 -1
View File
@@ -8,7 +8,7 @@ Requires a loaded executor implementation and the `shell-env` plugin; the tool s
The package root exposes only the Cordis plugin contract (`name`, `inject`, `Config`, `apply`); result rendering (`src/render.ts`) and background-job adaptation (`src/background.ts`) mirror the bash tool's structure and stay reachable through the package's `./src/*` export.
The plugin also contributes the `tool:pwsh` prompt section (order 105): non-zero exits are reported as `[exit code: N]` markers, and Windows interruption settles as exit 1 without a signal marker.
The plugin also contributes the `tool:pwsh` prompt section (first-party order 1010): non-zero exits are reported as `[exit code: N]` markers, and Windows interruption settles as exit 1 without a signal marker.
## Tools
+1 -1
View File
@@ -8,7 +8,7 @@
包根只导出 Cordis 插件约定(`name``inject``Config``apply`);结果渲染(`src/render.ts`)与后台任务适配(`src/background.ts`)镜像 bash 工具的结构,并可通过包的 `./src/*` 导出访问。
插件还贡献 `tool:pwsh` 提示词段落(order 105):非零退出以 `[exit code: N]` marker 报告,Windows 上的中断以无 signal 的 exit 1 结算。
插件还贡献 `tool:pwsh` 提示词段落(first-party 顺序 1010):非零退出以 `[exit code: N]` marker 报告,Windows 上的中断以无 signal 的 exit 1 结算。
## 工具