odai-dsh-agent 0.2.16 → 0.2.17

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.
Files changed (44) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +155 -155
  3. package/build/bin/odai-dsh-agent.mjs +36 -29
  4. package/build/bin/odai-dsh-agent.mjs.map +1 -1
  5. package/build/src/control-center-installer.d.mts +7 -2
  6. package/build/src/control-center-installer.d.mts.map +1 -1
  7. package/build/src/control-center-installer.mjs +251 -31
  8. package/build/src/control-center-installer.mjs.map +1 -1
  9. package/build/src/control-center-prompt.d.mts +1 -1
  10. package/build/src/control-center-prompt.d.mts.map +1 -1
  11. package/build/src/control-center-prompt.mjs +12 -3
  12. package/build/src/control-center-prompt.mjs.map +1 -1
  13. package/client/client.js +9 -9
  14. package/control-center.cordis.patch.yml +3 -3
  15. package/package.json +89 -89
  16. package/preset/odai/agent.cordis.yml +266 -266
  17. package/preset/odai/preset.yml +3 -3
  18. package/preset/odai/runtime/role-overlays.mjs +8 -8
  19. package/preset/odai/skills/odai/SKILL.md +68 -68
  20. package/preset/odai/skills/odai/agents/openai.yaml +4 -4
  21. package/preset/odai/skills/odai/assets/claude-agents/agent.md +11 -11
  22. package/preset/odai/skills/odai/assets/codex-agents/config.toml +11 -11
  23. package/preset/odai/skills/odai/assets/codex-agents/role.toml +5 -5
  24. package/preset/odai/skills/odai/assets/copilot-agents/agent.md +13 -13
  25. package/preset/odai/skills/odai/assets/hooks-policy.example.json +24 -24
  26. package/preset/odai/skills/odai/assets/routing-roles/controller.md +15 -15
  27. package/preset/odai/skills/odai/assets/routing-roles/frontend.md +7 -7
  28. package/preset/odai/skills/odai/assets/routing-roles/planner.md +28 -28
  29. package/preset/odai/skills/odai/assets/routing-roles/researcher.md +6 -6
  30. package/preset/odai/skills/odai/assets/routing-roles/reviewer.md +11 -11
  31. package/preset/odai/skills/odai/assets/task-state.md +14 -14
  32. package/preset/odai/skills/odai/manifest.json +52 -52
  33. package/preset/odai/skills/odai/references/craft.md +54 -54
  34. package/preset/odai/skills/odai/references/dao.md +31 -31
  35. package/preset/odai/skills/odai/references/leverage.md +50 -50
  36. package/preset/odai/skills/odai/references/planning.md +83 -83
  37. package/preset/odai/skills/odai/references/support.md +30 -30
  38. package/preset/odai/skills/odai/references/verification.md +24 -24
  39. package/preset/odai/skills/odai/scripts/build-hooks.mjs +273 -273
  40. package/preset/odai/skills/odai/scripts/build-routing.mjs +315 -315
  41. package/preset/odai/skills/odai/scripts/install-routing.mjs +393 -393
  42. package/preset/odai/skills/odai/scripts/odai-hook.mjs +457 -457
  43. package/preset/odai/skills/odai/scripts/run-role.mjs +285 -285
  44. package/preset/odai/skills/odai/scripts/verify-routing.mjs +103 -103
package/package.json CHANGED
@@ -1,89 +1,89 @@
1
- {
2
- "name": "odai-dsh-agent",
3
- "version": "0.2.16",
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
- "yaml": "^2.8.1"
70
- },
71
- "peerDependencies": {
72
- "@deepseek-ai/dsh": "0.1.1-rc.2 || 0.1.2-alpha.2"
73
- },
74
- "peerDependenciesMeta": {
75
- "@deepseek-ai/dsh": {
76
- "optional": true
77
- }
78
- },
79
- "engines": {
80
- "node": ">=22.15.0"
81
- },
82
- "keywords": [
83
- "agent",
84
- "deepseek-harness",
85
- "dsh",
86
- "odai",
87
- "preset"
88
- ]
89
- }
1
+ {
2
+ "name": "odai-dsh-agent",
3
+ "version": "0.2.17",
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
+ "yaml": "^2.8.1"
70
+ },
71
+ "peerDependencies": {
72
+ "@deepseek-ai/dsh": "0.1.1-rc.2 || 0.1.2-alpha.2"
73
+ },
74
+ "peerDependenciesMeta": {
75
+ "@deepseek-ai/dsh": {
76
+ "optional": true
77
+ }
78
+ },
79
+ "engines": {
80
+ "node": ">=22.15.0"
81
+ },
82
+ "keywords": [
83
+ "agent",
84
+ "deepseek-harness",
85
+ "dsh",
86
+ "odai",
87
+ "preset"
88
+ ]
89
+ }