odai-dsh-agent 0.2.25 → 0.2.26
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/LICENSE +21 -21
- package/README.md +155 -155
- package/build/bin/odai-dsh-agent.mjs +17 -17
- package/client/client.js +12 -12
- package/control-center.cordis.patch.yml +3 -3
- package/package.json +90 -90
- package/preset/odai/agent.cordis.yml +260 -260
- package/preset/odai/preset.yml +3 -3
- package/preset/odai/runtime/role-overlays.mjs +8 -8
- package/preset/odai/skills/odai/SKILL.md +70 -68
- package/preset/odai/skills/odai/agents/openai.yaml +4 -4
- package/preset/odai/skills/odai/assets/claude-agents/agent.md +11 -11
- package/preset/odai/skills/odai/assets/codex-agents/config.toml +11 -11
- package/preset/odai/skills/odai/assets/codex-agents/role.toml +5 -5
- package/preset/odai/skills/odai/assets/copilot-agents/agent.md +13 -13
- package/preset/odai/skills/odai/assets/hooks-policy.example.json +24 -24
- package/preset/odai/skills/odai/assets/routing-roles/controller.md +15 -15
- package/preset/odai/skills/odai/assets/routing-roles/frontend.md +7 -7
- package/preset/odai/skills/odai/assets/routing-roles/planner.md +28 -28
- package/preset/odai/skills/odai/assets/routing-roles/researcher.md +7 -7
- package/preset/odai/skills/odai/assets/routing-roles/reviewer.md +11 -11
- package/preset/odai/skills/odai/assets/task-state.md +14 -14
- package/preset/odai/skills/odai/manifest.json +52 -52
- package/preset/odai/skills/odai/references/craft.md +54 -54
- package/preset/odai/skills/odai/references/dao.md +31 -30
- package/preset/odai/skills/odai/references/leverage.md +50 -48
- package/preset/odai/skills/odai/references/planning.md +83 -83
- package/preset/odai/skills/odai/references/support.md +31 -30
- package/preset/odai/skills/odai/references/verification.md +22 -22
- package/preset/odai/skills/odai/scripts/build-hooks.mjs +273 -273
- package/preset/odai/skills/odai/scripts/build-routing.mjs +315 -315
- package/preset/odai/skills/odai/scripts/install-routing.mjs +448 -448
- package/preset/odai/skills/odai/scripts/odai-hook.mjs +457 -457
- package/preset/odai/skills/odai/scripts/run-role.mjs +285 -285
- package/preset/odai/skills/odai/scripts/verify-routing.mjs +103 -103
package/package.json
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "odai-dsh-agent",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "完整继承 DSH 标准模式 全部能力的 Odai Agent preset。主要用于治理、规划、测试、验证 等,可当成默认总控使用。",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/orziz/odai.git",
|
|
9
|
-
"directory": "dsh/agent"
|
|
10
|
-
},
|
|
11
|
-
"homepage": "https://github.com/orziz/odai#readme",
|
|
12
|
-
"bugs": {
|
|
13
|
-
"url": "https://github.com/orziz/odai/issues"
|
|
14
|
-
},
|
|
15
|
-
"type": "module",
|
|
16
|
-
"main": "./build/src/installer.mjs",
|
|
17
|
-
"exports": {
|
|
18
|
-
".": "./build/src/installer.mjs",
|
|
19
|
-
"./control-center": "./build/src/control-center-installer.mjs",
|
|
20
|
-
"./control-center-host": "./preset/odai/runtime/control-center-host.mjs",
|
|
21
|
-
"./client": "./client/client.js",
|
|
22
|
-
"./package.json": "./package.json"
|
|
23
|
-
},
|
|
24
|
-
"bin": {
|
|
25
|
-
"odai-dsh-agent": "./build/bin/odai-dsh-agent.mjs"
|
|
26
|
-
},
|
|
27
|
-
"publishConfig": {
|
|
28
|
-
"registry": "https://registry.npmjs.org/",
|
|
29
|
-
"access": "public"
|
|
30
|
-
},
|
|
31
|
-
"files": [
|
|
32
|
-
"build/bin",
|
|
33
|
-
"build/src",
|
|
34
|
-
"client",
|
|
35
|
-
"preset",
|
|
36
|
-
"control-center.cordis.patch.yml",
|
|
37
|
-
"README.md",
|
|
38
|
-
"LICENSE"
|
|
39
|
-
],
|
|
40
|
-
"dsh": {
|
|
41
|
-
"bundle": {
|
|
42
|
-
"patch": "./control-center.cordis.patch.yml"
|
|
43
|
-
},
|
|
44
|
-
"client": {
|
|
45
|
-
"inject": [
|
|
46
|
-
"@deepseek-ai/dsh-client-runtime",
|
|
47
|
-
"@deepseek-ai/dsh-client-connection",
|
|
48
|
-
"@deepseek-ai/dsh-client-ui-layout",
|
|
49
|
-
"@deepseek-ai/dsh-client-ui-conversation"
|
|
50
|
-
],
|
|
51
|
-
"platform": "web"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"scripts": {
|
|
55
|
-
"build:dsh": "npm --prefix ../.. run build:dsh",
|
|
56
|
-
"typecheck:dsh": "npm --prefix ../.. run typecheck:dsh",
|
|
57
|
-
"check": "npm run typecheck:dsh && npm run build:dsh && find ../runtime/build build/bin build/src -name '*.mjs' -print0 | xargs -0 -n1 node --check",
|
|
58
|
-
"prepare:artifact": "npm run build:dsh && node ../../scripts/package-odai-artifact.mjs prepare --skill-root preset/odai/skills --runtime-root preset/odai/runtime --client-root client --client-package odai-dsh-agent",
|
|
59
|
-
"clean:artifact": "node ../../scripts/package-odai-artifact.mjs clean --skill-root preset/odai/skills --runtime-root preset/odai/runtime --client-root client --client-package odai-dsh-agent",
|
|
60
|
-
"prepare": "npm run prepare:artifact",
|
|
61
|
-
"verify:version": "node ../../scripts/verify-dsh-package-versions.mjs",
|
|
62
|
-
"prepack": "npm run verify:version && node ../../scripts/validate-odai-skill.mjs",
|
|
63
|
-
"postpack": "npm run clean:artifact",
|
|
64
|
-
"pack:dry-run": "node ../../scripts/run-package-pack.mjs --clean preset/odai/runtime --clean preset/odai/skills --clean client -- --dry-run",
|
|
65
|
-
"test": "npm run verify:version && npm run build:dsh && npm --prefix ../.. exec -- tsx --test ./tests/*.test.mts",
|
|
66
|
-
"verify:dsh": "npm run build:dsh && npm --prefix ../.. exec -- tsx ./tests/verify-agent-load.mts"
|
|
67
|
-
},
|
|
68
|
-
"dependencies": {
|
|
69
|
-
"semver": "^7.8.0",
|
|
70
|
-
"yaml": "^2.8.1"
|
|
71
|
-
},
|
|
72
|
-
"peerDependencies": {
|
|
73
|
-
"@deepseek-ai/dsh": "0.1.2-rc.1"
|
|
74
|
-
},
|
|
75
|
-
"peerDependenciesMeta": {
|
|
76
|
-
"@deepseek-ai/dsh": {
|
|
77
|
-
"optional": true
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"engines": {
|
|
81
|
-
"node": ">=22.15.0"
|
|
82
|
-
},
|
|
83
|
-
"keywords": [
|
|
84
|
-
"agent",
|
|
85
|
-
"deepseek-harness",
|
|
86
|
-
"dsh",
|
|
87
|
-
"odai",
|
|
88
|
-
"preset"
|
|
89
|
-
]
|
|
90
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "odai-dsh-agent",
|
|
3
|
+
"version": "0.2.26",
|
|
4
|
+
"description": "完整继承 DSH 标准模式 全部能力的 Odai Agent preset。主要用于治理、规划、测试、验证 等,可当成默认总控使用。",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/orziz/odai.git",
|
|
9
|
+
"directory": "dsh/agent"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/orziz/odai#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/orziz/odai/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"main": "./build/src/installer.mjs",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": "./build/src/installer.mjs",
|
|
19
|
+
"./control-center": "./build/src/control-center-installer.mjs",
|
|
20
|
+
"./control-center-host": "./preset/odai/runtime/control-center-host.mjs",
|
|
21
|
+
"./client": "./client/client.js",
|
|
22
|
+
"./package.json": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
"bin": {
|
|
25
|
+
"odai-dsh-agent": "./build/bin/odai-dsh-agent.mjs"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"registry": "https://registry.npmjs.org/",
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"build/bin",
|
|
33
|
+
"build/src",
|
|
34
|
+
"client",
|
|
35
|
+
"preset",
|
|
36
|
+
"control-center.cordis.patch.yml",
|
|
37
|
+
"README.md",
|
|
38
|
+
"LICENSE"
|
|
39
|
+
],
|
|
40
|
+
"dsh": {
|
|
41
|
+
"bundle": {
|
|
42
|
+
"patch": "./control-center.cordis.patch.yml"
|
|
43
|
+
},
|
|
44
|
+
"client": {
|
|
45
|
+
"inject": [
|
|
46
|
+
"@deepseek-ai/dsh-client-runtime",
|
|
47
|
+
"@deepseek-ai/dsh-client-connection",
|
|
48
|
+
"@deepseek-ai/dsh-client-ui-layout",
|
|
49
|
+
"@deepseek-ai/dsh-client-ui-conversation"
|
|
50
|
+
],
|
|
51
|
+
"platform": "web"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"build:dsh": "npm --prefix ../.. run build:dsh",
|
|
56
|
+
"typecheck:dsh": "npm --prefix ../.. run typecheck:dsh",
|
|
57
|
+
"check": "npm run typecheck:dsh && npm run build:dsh && find ../runtime/build build/bin build/src -name '*.mjs' -print0 | xargs -0 -n1 node --check",
|
|
58
|
+
"prepare:artifact": "npm run build:dsh && node ../../scripts/package-odai-artifact.mjs prepare --skill-root preset/odai/skills --runtime-root preset/odai/runtime --client-root client --client-package odai-dsh-agent",
|
|
59
|
+
"clean:artifact": "node ../../scripts/package-odai-artifact.mjs clean --skill-root preset/odai/skills --runtime-root preset/odai/runtime --client-root client --client-package odai-dsh-agent",
|
|
60
|
+
"prepare": "npm run prepare:artifact",
|
|
61
|
+
"verify:version": "node ../../scripts/verify-dsh-package-versions.mjs",
|
|
62
|
+
"prepack": "npm run verify:version && node ../../scripts/validate-odai-skill.mjs",
|
|
63
|
+
"postpack": "npm run clean:artifact",
|
|
64
|
+
"pack:dry-run": "node ../../scripts/run-package-pack.mjs --clean preset/odai/runtime --clean preset/odai/skills --clean client -- --dry-run",
|
|
65
|
+
"test": "npm run verify:version && npm run build:dsh && npm --prefix ../.. exec -- tsx --test ./tests/*.test.mts",
|
|
66
|
+
"verify:dsh": "npm run build:dsh && npm --prefix ../.. exec -- tsx ./tests/verify-agent-load.mts"
|
|
67
|
+
},
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"semver": "^7.8.0",
|
|
70
|
+
"yaml": "^2.8.1"
|
|
71
|
+
},
|
|
72
|
+
"peerDependencies": {
|
|
73
|
+
"@deepseek-ai/dsh": "0.1.2-rc.1"
|
|
74
|
+
},
|
|
75
|
+
"peerDependenciesMeta": {
|
|
76
|
+
"@deepseek-ai/dsh": {
|
|
77
|
+
"optional": true
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"engines": {
|
|
81
|
+
"node": ">=22.15.0"
|
|
82
|
+
},
|
|
83
|
+
"keywords": [
|
|
84
|
+
"agent",
|
|
85
|
+
"deepseek-harness",
|
|
86
|
+
"dsh",
|
|
87
|
+
"odai",
|
|
88
|
+
"preset"
|
|
89
|
+
]
|
|
90
|
+
}
|