opencode-skills-doctor 0.3.12 → 0.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/docs/README.zh-CN.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ skills-doctor check
|
|
|
58
58
|
What a run looks like:
|
|
59
59
|
|
|
60
60
|
```text
|
|
61
|
-
skills-doctor 0.3.
|
|
61
|
+
skills-doctor 0.3.13
|
|
62
62
|
sources: 5 (2 exist) definitions: 29 unique IDs: 29 advertised: 29 description budget: ~3074 tokens
|
|
63
63
|
|
|
64
64
|
[E] token-budget Advertised skill descriptions cost about 3074 tokens per model step, over 2x the 1200 budget
|
|
@@ -201,7 +201,7 @@ export { SkillsDoctorPlugin } from "opencode-skills-doctor/v1"
|
|
|
201
201
|
}
|
|
202
202
|
```
|
|
203
203
|
|
|
204
|
-
It registers the same `skills_doctor` tool
|
|
204
|
+
It registers the same `skills_doctor` tool. 1.x plugins cannot register commands, so `skills-doctor install` writes a `/skills-doctor` markdown command.
|
|
205
205
|
|
|
206
206
|
> The package root entry is the V2 plugin and requires OpenCode 2.x. The CLI works on both lines.
|
|
207
207
|
|
|
@@ -351,7 +351,7 @@ See [SECURITY.md](SECURITY.md) for the full threat model, hardening checklist an
|
|
|
351
351
|
|
|
352
352
|
- OpenCode **2.x**: add `"plugins": ["opencode-skills-doctor"]` to `opencode.jsonc` — done.
|
|
353
353
|
- OpenCode **1.x**: needs `npm i --prefix ~/.config/opencode opencode-skills-doctor` plus a one-line local plugin file (`export { SkillsDoctorPlugin } from "opencode-skills-doctor/v1"`), because 1.x resolves plugins differently and `@opencode-ai/plugin` is an optional peer.
|
|
354
|
-
- 1.x has
|
|
354
|
+
- 1.x has no plugin-registered `/skills-doctor` command; `skills-doctor install` writes a markdown command file instead.
|
|
355
355
|
|
|
356
356
|
**Safety / behavior**
|
|
357
357
|
|
package/docs/README.zh-CN.md
CHANGED
|
@@ -58,7 +58,7 @@ skills-doctor check
|
|
|
58
58
|
跑出来大概是这样:
|
|
59
59
|
|
|
60
60
|
```text
|
|
61
|
-
skills-doctor 0.3.
|
|
61
|
+
skills-doctor 0.3.13
|
|
62
62
|
来源: 5 个(存在 2 个) 定义: 29 唯一 ID: 29 会展示: 29 描述预算: ~3074 tokens
|
|
63
63
|
|
|
64
64
|
[E] token-budget 模型每步要看到的 skill 描述约 3074 tokens,超过预算 1200 的 2 倍
|
|
@@ -201,7 +201,7 @@ export { SkillsDoctorPlugin } from "opencode-skills-doctor/v1"
|
|
|
201
201
|
}
|
|
202
202
|
```
|
|
203
203
|
|
|
204
|
-
它会注册同样的 `skills_doctor`
|
|
204
|
+
它会注册同样的 `skills_doctor` 工具。1.x 插件无法注册命令,`skills-doctor install` 会生成 `/skills-doctor` 的 markdown 命令。
|
|
205
205
|
|
|
206
206
|
> 包根入口是 V2 插件,需要 OpenCode 2.x;CLI 两条线都能用。
|
|
207
207
|
|
|
@@ -351,7 +351,7 @@ Windows 上如果 stdio 起不来 `npx`,改成 `command: cmd`、`args: ["/c",
|
|
|
351
351
|
|
|
352
352
|
- OpenCode **2.x**:在 `opencode.jsonc` 加 `"plugins": ["opencode-skills-doctor"]` 即可。
|
|
353
353
|
- OpenCode **1.x**:需要 `npm i --prefix ~/.config/opencode opencode-skills-doctor`,再加一个一行本地插件文件(`export { SkillsDoctorPlugin } from "opencode-skills-doctor/v1"`)——因为 1.x 解析插件的机制不同,且 `@opencode-ai/plugin` 是可选 peer 依赖。
|
|
354
|
-
- 1.x
|
|
354
|
+
- 1.x 没有「插件注册 /skills-doctor 命令」的能力;`skills-doctor install` 会生成 markdown 命令文件来代替。
|
|
355
355
|
|
|
356
356
|
**安全性 / 行为**
|
|
357
357
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-skills-doctor",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.13",
|
|
4
4
|
"description": "Audit, fix and update agent skills: per-step context cost, shadowed duplicates, safe archive, catalog sync. CLI, OpenCode plugin and MCP server (Claude Code / Codex / any MCP client).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|