odai-dsh-agent 0.2.21 → 0.2.23

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 (82) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +155 -157
  3. package/build/bin/odai-dsh-agent.mjs +18 -36
  4. package/build/bin/odai-dsh-agent.mjs.map +1 -1
  5. package/build/src/installer.d.mts +1 -6
  6. package/build/src/installer.d.mts.map +1 -1
  7. package/build/src/installer.mjs +3 -83
  8. package/build/src/installer.mjs.map +1 -1
  9. package/client/client.js +36 -58
  10. package/control-center.cordis.patch.yml +3 -3
  11. package/package.json +90 -90
  12. package/preset/odai/agent.cordis.yml +260 -260
  13. package/preset/odai/preset.yml +3 -3
  14. package/preset/odai/runtime/control-center-runtime.d.mts +1 -0
  15. package/preset/odai/runtime/control-center-runtime.d.mts.map +1 -1
  16. package/preset/odai/runtime/control-center-runtime.mjs +20 -0
  17. package/preset/odai/runtime/control-center-runtime.mjs.map +1 -1
  18. package/preset/odai/runtime/index.d.mts.map +1 -1
  19. package/preset/odai/runtime/index.mjs +9 -7
  20. package/preset/odai/runtime/index.mjs.map +1 -1
  21. package/preset/odai/runtime/{session-compat.d.mts → legacy-session-repair.d.mts} +7 -7
  22. package/preset/odai/runtime/legacy-session-repair.d.mts.map +1 -0
  23. package/preset/odai/runtime/{session-compat.mjs → legacy-session-repair.mjs} +1 -1
  24. package/preset/odai/runtime/legacy-session-repair.mjs.map +1 -0
  25. package/preset/odai/runtime/lifecycle-runtime.d.mts.map +1 -1
  26. package/preset/odai/runtime/lifecycle-runtime.mjs +10 -2
  27. package/preset/odai/runtime/lifecycle-runtime.mjs.map +1 -1
  28. package/preset/odai/runtime/responsibility-gap.d.mts +19 -1
  29. package/preset/odai/runtime/responsibility-gap.d.mts.map +1 -1
  30. package/preset/odai/runtime/responsibility-gap.mjs +180 -16
  31. package/preset/odai/runtime/responsibility-gap.mjs.map +1 -1
  32. package/preset/odai/runtime/role-overlays.mjs +9 -9
  33. package/preset/odai/runtime/role-overlays.mjs.map +1 -1
  34. package/preset/odai/runtime/router.d.mts +1 -0
  35. package/preset/odai/runtime/router.d.mts.map +1 -1
  36. package/preset/odai/runtime/router.mjs +5 -1
  37. package/preset/odai/runtime/router.mjs.map +1 -1
  38. package/preset/odai/runtime/routing-context.d.mts +9 -2
  39. package/preset/odai/runtime/routing-context.d.mts.map +1 -1
  40. package/preset/odai/runtime/routing-context.mjs +30 -9
  41. package/preset/odai/runtime/routing-context.mjs.map +1 -1
  42. package/preset/odai/runtime/runtime-support.d.mts +0 -1
  43. package/preset/odai/runtime/runtime-support.d.mts.map +1 -1
  44. package/preset/odai/runtime/runtime-support.mjs.map +1 -1
  45. package/preset/odai/runtime/runtime-types.d.mts +1 -3
  46. package/preset/odai/runtime/runtime-types.d.mts.map +1 -1
  47. package/preset/odai/runtime/runtime-types.mjs +1 -5
  48. package/preset/odai/runtime/runtime-types.mjs.map +1 -1
  49. package/preset/odai/runtime/session-evidence.d.mts.map +1 -1
  50. package/preset/odai/runtime/session-evidence.mjs +1 -3
  51. package/preset/odai/runtime/session-evidence.mjs.map +1 -1
  52. package/preset/odai/runtime/tool-runtime.d.mts.map +1 -1
  53. package/preset/odai/runtime/tool-runtime.mjs +23 -3
  54. package/preset/odai/runtime/tool-runtime.mjs.map +1 -1
  55. package/preset/odai/skills/odai/SKILL.md +68 -68
  56. package/preset/odai/skills/odai/agents/openai.yaml +4 -4
  57. package/preset/odai/skills/odai/assets/claude-agents/agent.md +11 -11
  58. package/preset/odai/skills/odai/assets/codex-agents/config.toml +11 -11
  59. package/preset/odai/skills/odai/assets/codex-agents/role.toml +5 -5
  60. package/preset/odai/skills/odai/assets/copilot-agents/agent.md +13 -13
  61. package/preset/odai/skills/odai/assets/hooks-policy.example.json +24 -24
  62. package/preset/odai/skills/odai/assets/routing-roles/controller.md +15 -15
  63. package/preset/odai/skills/odai/assets/routing-roles/frontend.md +7 -7
  64. package/preset/odai/skills/odai/assets/routing-roles/planner.md +28 -28
  65. package/preset/odai/skills/odai/assets/routing-roles/researcher.md +6 -6
  66. package/preset/odai/skills/odai/assets/routing-roles/reviewer.md +11 -11
  67. package/preset/odai/skills/odai/assets/task-state.md +14 -14
  68. package/preset/odai/skills/odai/manifest.json +52 -52
  69. package/preset/odai/skills/odai/references/craft.md +54 -54
  70. package/preset/odai/skills/odai/references/dao.md +31 -31
  71. package/preset/odai/skills/odai/references/leverage.md +50 -50
  72. package/preset/odai/skills/odai/references/planning.md +83 -83
  73. package/preset/odai/skills/odai/references/support.md +30 -30
  74. package/preset/odai/skills/odai/references/verification.md +24 -24
  75. package/preset/odai/skills/odai/scripts/build-hooks.mjs +273 -273
  76. package/preset/odai/skills/odai/scripts/build-routing.mjs +315 -315
  77. package/preset/odai/skills/odai/scripts/install-routing.mjs +393 -393
  78. package/preset/odai/skills/odai/scripts/odai-hook.mjs +457 -457
  79. package/preset/odai/skills/odai/scripts/run-role.mjs +285 -285
  80. package/preset/odai/skills/odai/scripts/verify-routing.mjs +103 -103
  81. package/preset/odai/runtime/session-compat.d.mts.map +0 -1
  82. package/preset/odai/runtime/session-compat.mjs.map +0 -1
package/package.json CHANGED
@@ -1,90 +1,90 @@
1
- {
2
- "name": "odai-dsh-agent",
3
- "version": "0.2.21",
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.1-rc.2 || >=0.1.2-alpha.5 <0.1.2"
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.23",
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
+ }