@dsh-cc/claude-code-agents 0.8.0-rc.3 → 0.8.1
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.i18n.yaml +1 -1
- package/README.zh.md +1 -1
- package/package.json +3 -3
package/README.i18n.yaml
CHANGED
package/README.zh.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **三层,高者优先。** bundled 层随包内置工具 agent(`explore` 与 `dsh-cc-guide`,均钉死 `model: haiku` 并带 Read/Glob/Grep 白名单),经 `discoverBundledAgents()` 提供。project 层是从项目根向上遍历找到的最近的 `.claude/agents` 目录;user 层是作者自己的 `~/.claude/agents`。定义以其文件 basename 为键,各层按级别遮蔽——bundled < user < project——同名本地文件总是覆盖其 bundled 同名者。
|
|
10
10
|
- **两种格式。** `.md` 文件的 YAML frontmatter 提供字段,其 markdown 正文(或 `prompt` frontmatter 覆写)提供系统提示。`.json` 文件是单个对象,其 `prompt` 字段即系统提示。
|
|
11
11
|
- **响亮失败。** 每个坏掉的已知 frontmatter 值都会在加载期带着文件路径与字段名抛错,因此坏 agent 会被修复而非静默降级。未知字段被忽略,因此针对更新版本 Claude Code 编写的定义可移植到受支持子集。
|
|
12
|
-
- **字段翻译。** `description` 成为 when-to-use 指南;`tools`/`disallowedTools` 编译为单个有效的 `allow`/`deny` 工具约束,其名称求交集(同时出现在两个列表中的名称被禁用);`model`(含归一化的 `inherit` 哨兵)、`effort`、`permissionMode`、`maxTurns`、`initialPrompt`、`background`、`memory`、`skills`、`mcpServers`、`hooks` 与 `isolation` 全部透传——且 `background`
|
|
12
|
+
- **字段翻译。** `description` 成为 when-to-use 指南;`tools`/`disallowedTools` 编译为单个有效的 `allow`/`deny` 工具约束,其名称求交集(同时出现在两个列表中的名称被禁用);`model`(含归一化的 `inherit` 哨兵)、`effort`、`permissionMode`、`maxTurns`、`initialPrompt`、`background`、`memory`、`skills`、`mcpServers`、`hooks` 与 `isolation` 全部透传——且 `background` 不再是死字段:Task 工具会兑现它(在 `run_in_background` 缺省时转后台);`isolation: worktree` 也被 Task 工具消费(child 运行在 per-child git worktree 中——见 `@dsh-cc/subagent-task` 的隔离工作树一节)。
|
|
13
13
|
|
|
14
14
|
## API
|
|
15
15
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-cc/claude-code-agents",
|
|
3
3
|
"description": "Load Claude Code `.claude/agents` definitions as agent presets for the DeepSeek Harness",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/dsh-cc/dsh-cc.git",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@deepseek-ai/cordis": ">=0.1.5-rc.1",
|
|
47
47
|
"@deepseek-ai/dsh-invariants": ">=0.1.5-rc.1",
|
|
48
|
-
"@dsh-cc/tools": "^0.8.
|
|
48
|
+
"@dsh-cc/tools": "^0.8.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@deepseek-ai/cordis": "link:../../../../deepseek-harness/vendor/cordis",
|
|
52
52
|
"@deepseek-ai/dsh-invariants": "link:../../../../deepseek-harness/packages/runtime-diagnostics/invariants",
|
|
53
|
-
"@dsh-cc/tools": "^0.8.
|
|
53
|
+
"@dsh-cc/tools": "^0.8.1"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|