@dsh-cc/claude-code-agents 0.8.1-rc.1 → 0.8.2-rc.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 CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm check:readme --write
5
- README.md: bd41b0e2593ae14123fb49819ad79cc379f9b59b
6
- README.zh.md: 06fb517a4268f940b1d6a66cf030a3d837824db2
5
+ README.md: 0b01e5ae758746c57c19f277cf401ab85c16579d
6
+ README.zh.md: 6768e53b566cf870dbe3230c6301e8f55d0f64c5
package/README.md CHANGED
@@ -27,4 +27,4 @@ Load Claude Code's `.claude/agents/*.md` and `*.json` sub-agent definitions as d
27
27
 
28
28
  ## Design
29
29
 
30
- The loader is deliberately integration-free. It produces typed definitions and leaves consumption — a scoped tool restriction, a request rewrite, a permission selection — to the caller, so the model-facing parts stay reusable without dragging in the harness runtime. This mirrors [`agent-presets`](../../preset/agent-presets/README.md)'s philosophy of a self-contained vocabulary feeding an explicit consumer, rather than hiding a defaulting step inside the loader.
30
+ The loader is deliberately integration-free. It produces typed definitions and leaves consumption — a scoped tool restriction, a request rewrite, a permission selection — to the caller, so the model-facing parts stay reusable without dragging in the harness runtime. This mirrors `agent-presets`'s philosophy (that upstream package was retired at harness 0.1.7) of a self-contained vocabulary feeding an explicit consumer, rather than hiding a defaulting step inside the loader.
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` 不再是死字段:Task 工具会兑现它(在 `run_in_background` 缺省时转后台);`isolation: worktree` 也被 Task 工具消费(child 运行在 per-child git worktree 中——见 `@dsh-cc/subagent-task` 的隔离工作树一节)。
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
 
@@ -27,4 +27,4 @@
27
27
 
28
28
  ## 设计
29
29
 
30
- 该 loader 刻意与集成解耦。它产出类型化定义并将消费——作用域工具约束、请求改写、权限选择——交给调用方,因此模型侧各部分无需拖入 harness 运行时即可复用。这与 [`agent-presets`](../../preset/agent-presets/README.md) 的理念一致:自包含词表喂给显式消费方,而不是在 loader 内部隐藏默认步骤。
30
+ 该 loader 刻意与集成解耦。它产出类型化定义并将消费——作用域工具约束、请求改写、权限选择——交给调用方,因此模型侧各部分无需拖入 harness 运行时即可复用。这与 `agent-presets` 的理念(该上游包已在 harness 0.1.7 退役)一致:自包含词表喂给显式消费方,而不是在 loader 内部隐藏默认步骤。
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.1-rc.1",
4
+ "version": "0.8.2-rc.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/dsh-cc/dsh-cc.git",
@@ -43,14 +43,14 @@
43
43
  "js-yaml": "^4.1.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "@deepseek-ai/cordis": ">=0.1.5-rc.1",
47
- "@deepseek-ai/dsh-invariants": ">=0.1.5-rc.1",
48
- "@dsh-cc/tools": "^0.8.1-rc.1"
46
+ "@deepseek-ai/cordis": ">=0.1.7-rc.2",
47
+ "@deepseek-ai/dsh-invariants": ">=0.1.7-rc.2",
48
+ "@dsh-cc/tools": "^0.8.2-rc.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.1-rc.1"
53
+ "@dsh-cc/tools": "^0.8.2-rc.1"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"