dsh-cc-ecosystem 0.3.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.md +45 -0
- package/cordis.patch.yml +43 -0
- package/package.json +36 -0
package/README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# dsh-cc-ecosystem
|
|
2
|
+
|
|
3
|
+
One install brings the whole [dsh-cc](https://github.com/Bcy2020/dsh-cc-ecosystem) ecosystem into a DSH profile: the shared parse layer plus all five Claude Code adapters, mounted in a single profile layer.
|
|
4
|
+
|
|
5
|
+
把整个 dsh-cc 生态装进一个 DSH profile:共享解析层 + 五个 Claude Code 适配器,由**一个 profile 层**全部挂载。
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
dsh plugin --profile <name> add dsh-cc-ecosystem
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Web GUI 里粘贴包名同样有效。
|
|
12
|
+
|
|
13
|
+
## 它挂载什么
|
|
14
|
+
|
|
15
|
+
| 包 | 作用 |
|
|
16
|
+
|---|---|
|
|
17
|
+
| [dsh-cc-loader](https://www.npmjs.com/package/dsh-cc-loader) | 共享解析层(`.claude` → 内存 IR)。**纯库,不挂载任何插件行** —— 它只是被其余五个包 import |
|
|
18
|
+
| [dsh-cc-skills](https://www.npmjs.com/package/dsh-cc-skills) | 技能 / 斜杠命令 / rules |
|
|
19
|
+
| [dsh-cc-permissions](https://www.npmjs.com/package/dsh-cc-permissions) | CC 权限规则(deny → ask → allow)强制 |
|
|
20
|
+
| [dsh-cc-agents](https://www.npmjs.com/package/dsh-cc-agents) | `.claude/agents` 子代理 + `cc_agent` 派发 |
|
|
21
|
+
| [dsh-cc-hooks](https://www.npmjs.com/package/dsh-cc-hooks) | 全部五类 CC hooks |
|
|
22
|
+
| [dsh-cc-mcp](https://www.npmjs.com/package/dsh-cc-mcp) | CC MCP 配置 + `/mcp` 管理面板 |
|
|
23
|
+
|
|
24
|
+
## 为什么需要单独一个包
|
|
25
|
+
|
|
26
|
+
DSH 的 `dsh plugin` 把 `dsh.profile.bundles` 与 **profile 自己的直接依赖**对账 ——
|
|
27
|
+
依赖的依赖(transitive)不会加入 `bundles`,它们的 patch 也永远不会被加载。装
|
|
28
|
+
`dsh-cc-ecosystem` 时,五个适配器都是它的传递依赖,所以**只有这个包自己的 patch 能挂载它们**。
|
|
29
|
+
|
|
30
|
+
因此本包的 `cordis.patch.yml` 里那五行是各适配器自身 patch 的**副本**。两份配置会各自演化,
|
|
31
|
+
所以 [test/umbrella.test.mjs](../test/umbrella.test.mjs) 逐行比对二者,任何一处 config 漂移
|
|
32
|
+
都会让测试失败(已做变异验证:改动一个值即可让该断言失败)。
|
|
33
|
+
|
|
34
|
+
想只装其中几个,仍然直接装对应的包 —— 每个适配器自己也是合法的 bundle。
|
|
35
|
+
|
|
36
|
+
## 兼容性
|
|
37
|
+
|
|
38
|
+
与家族其余包一致:**DSH `0.1.5-rc.2` 与 `0.2.0-rc.2` 双宿主**。
|
|
39
|
+
|
|
40
|
+
本包自身不声明 `dsh-*` peer:适配器的兼容性由宿主的 `bundleComponentManifests` 顺着 patch
|
|
41
|
+
里插入的行逐个读出并校验,所以这里再加一道闸只会产生第二份、可能互相打架的判定。
|
|
42
|
+
|
|
43
|
+
## License
|
|
44
|
+
|
|
45
|
+
MIT
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# The umbrella layer: one install mounts every dsh-cc adapter.
|
|
2
|
+
#
|
|
3
|
+
# The row configs below are COPIES of each adapter's own `cordis.patch.yml`.
|
|
4
|
+
# They have to be copied rather than referenced, because installing the umbrella
|
|
5
|
+
# alone never activates the siblings' own patches: `dsh plugin` reconciles
|
|
6
|
+
# `dsh.profile.bundles` against the PROFILE's direct dependencies, and the five
|
|
7
|
+
# adapters are transitive dependencies of this package, not direct ones. So the
|
|
8
|
+
# umbrella's patch is the only thing that mounts them.
|
|
9
|
+
#
|
|
10
|
+
# `test/umbrella.test.mjs` asserts these rows stay identical to the adapters'
|
|
11
|
+
# own patches, so a config default changed in one place cannot silently drift
|
|
12
|
+
# from the other.
|
|
13
|
+
- insert:
|
|
14
|
+
- id: cc-skills
|
|
15
|
+
name: 'dsh-cc-skills'
|
|
16
|
+
config:
|
|
17
|
+
enableSkills: true
|
|
18
|
+
enableRules: true
|
|
19
|
+
enableGlobal: true
|
|
20
|
+
- id: cc-permissions
|
|
21
|
+
name: 'dsh-cc-permissions'
|
|
22
|
+
config:
|
|
23
|
+
enabled: true
|
|
24
|
+
hideDeniedTools: true
|
|
25
|
+
- id: cc-agents
|
|
26
|
+
name: 'dsh-cc-agents'
|
|
27
|
+
config:
|
|
28
|
+
provider: spawn
|
|
29
|
+
toolName: cc_agent
|
|
30
|
+
injectCatalog: true
|
|
31
|
+
- id: cc-hooks
|
|
32
|
+
name: 'dsh-cc-hooks'
|
|
33
|
+
config:
|
|
34
|
+
enabled: true
|
|
35
|
+
enableGlobal: true
|
|
36
|
+
- id: cc-mcp
|
|
37
|
+
name: 'dsh-cc-mcp'
|
|
38
|
+
config:
|
|
39
|
+
enableProject: true
|
|
40
|
+
pluginRoots: []
|
|
41
|
+
idleTimeoutMs: 300000
|
|
42
|
+
toolCallTimeoutMs: 60000
|
|
43
|
+
watchProject: true
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-cc-ecosystem",
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"description": "One-install bundle for the whole dsh-cc ecosystem: pulls in dsh-cc-loader plus the five Claude Code adapters (skills, permissions, agents, hooks, mcp) and mounts all of them in one profile layer.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"dsh": {
|
|
7
|
+
"bundle": {
|
|
8
|
+
"patch": "./cordis.patch.yml"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"README.md",
|
|
13
|
+
"cordis.patch.yml"
|
|
14
|
+
],
|
|
15
|
+
"keywords": [
|
|
16
|
+
"dsh",
|
|
17
|
+
"deepseek-harness",
|
|
18
|
+
"claude-code",
|
|
19
|
+
"bundle",
|
|
20
|
+
"meta"
|
|
21
|
+
],
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"dsh-cc-loader": "^0.3.1",
|
|
25
|
+
"dsh-cc-skills": "^0.3.1",
|
|
26
|
+
"dsh-cc-permissions": "^0.4.1",
|
|
27
|
+
"dsh-cc-agents": "^0.3.1",
|
|
28
|
+
"dsh-cc-hooks": "^0.3.1",
|
|
29
|
+
"dsh-cc-mcp": "^0.3.1"
|
|
30
|
+
},
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=20"
|
|
33
|
+
},
|
|
34
|
+
"repository": "git+https://github.com/Bcy2020/dsh-cc-ecosystem.git",
|
|
35
|
+
"homepage": "https://github.com/Bcy2020/dsh-cc-ecosystem"
|
|
36
|
+
}
|