fix(skill): address shared runtime review findings

This commit is contained in:
fz committed 2026-09-18 11:52:04 +08:00
1 parent 3ebd70020c
commit 4d34cd87dd
33 files changed
+122 -78

No files matched your search

+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 docs/config-catalog.md
config-catalog.md: 64ef9c99d2cc98690097d848ab7cfb899c6bb474
config-catalog.zh.md: 76faa711e53011ba34d599f59f616280a4660ad0
config-catalog.md: 2efbd1bda5d4445fe53c1dd8cc1ad27cd3cfcead
config-catalog.zh.md: bb95afa5cb2b7825e45d9ec5315ea1a3ab79de12
+1 -1
View File
@@ -3482,7 +3482,7 @@ export interface Config {
}
```
Source: [`packages/skill/tool-workspace-dependencies/src/index.ts:14`](../packages/skill/tool-workspace-dependencies/src/index.ts)
Source: [`packages/skill/tool-workspace-dependencies/src/index.ts:15`](../packages/skill/tool-workspace-dependencies/src/index.ts)
<a id="deepseek-aidsh-tools"></a>
+1 -1
View File
@@ -3484,7 +3484,7 @@ export interface Config {
}
```
来源:[`packages/skill/tool-workspace-dependencies/src/index.ts:14`](../packages/skill/tool-workspace-dependencies/src/index.ts)
来源:[`packages/skill/tool-workspace-dependencies/src/index.ts:15`](../packages/skill/tool-workspace-dependencies/src/index.ts)
<a id="deepseek-aidsh-tools"></a>
+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 docs/tool-catalog.md
tool-catalog.md: bdc3a5af4b1bf723879c423fe201576ca3772e64
tool-catalog.zh.md: bc445ea8d6b0a5778e4bd191693ff01bd6781d73
tool-catalog.md: b3854acff78dc3478bd64c87c2b2c8a89e3cdb15
tool-catalog.zh.md: 1cf65d6e71012260347416e864117c78c528e890
+1 -1
View File
@@ -2445,7 +2445,7 @@ Source: [`packages/workflow/tool-workflow/src/index.ts`](../packages/workflow/to
### `load_workspace_dependencies`
Get absolute paths to bundled Python, Node.js, pnpm, and library directories, plus bundled Python distribution versions. Python includes numpy, pandas, python-docx, python-pptx, openpyxl, Pillow, lxml, and XlsxWriter. Use these libraries for Office files unless the user or workspace instructions select another environment. Run pnpm with the returned Node executable and pnpm script path. This does not change PATH or package-manager settings.
Get absolute paths to bundled Python and library directories, plus bundled Python distribution versions. Node.js and pnpm paths are included when the payload provides them. Python includes numpy, pandas, python-docx, python-pptx, openpyxl, Pillow, lxml, and XlsxWriter. Use these libraries for Office files unless the user or workspace instructions select another environment. When Node.js and pnpm paths are returned, run pnpm with that Node executable and pnpm script path. This does not change PATH or package-manager settings.
```json
{
+1 -1
View File
@@ -2453,7 +2453,7 @@ todo_write 是会话所有的状态;UI 将最新的 todo/write 事件渲染为
### `load_workspace_dependencies`
获取随包附带的 Python、Node.js、pnpm 和库目录的绝对路径,以及随包 Python 发行版的版本。Python 含 numpy、pandas、python-docx、python-pptx、openpyxl、Pillow、lxml 与 XlsxWriter。除非用户或工作区指令选择了别的环境,Office 文件请使用这些库。用返回的 Node 可执行文件和 pnpm 脚本路径运行 pnpm。本工具不改 PATH,也不改包管理器设置。
获取随包附带的 Python 和库目录的绝对路径,以及随包 Python 发行版的版本。payload 提供 Node.js 和 pnpm 时才返回对应路径。Python 含 numpy、pandas、python-docx、python-pptx、openpyxl、Pillow、lxml 与 XlsxWriter。除非用户或工作区指令选择了别的环境,Office 文件请使用这些库。返回 Node.js 和 pnpm 路径时,用该 Node 可执行文件和 pnpm 脚本路径运行 pnpm。本工具不改 PATH,也不改包管理器设置。
```json
{