odai-dsh-agent 0.2.8 → 0.2.9

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 (51) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +140 -140
  3. package/build/bin/odai-dsh-agent.mjs +12 -12
  4. package/build/src/installer.d.mts.map +1 -1
  5. package/build/src/installer.mjs +3 -26
  6. package/build/src/installer.mjs.map +1 -1
  7. package/package.json +70 -70
  8. package/preset/odai/agent.cordis.yml +261 -261
  9. package/preset/odai/preset.yml +3 -3
  10. package/preset/odai/runtime/lifecycle-runtime.d.mts.map +1 -1
  11. package/preset/odai/runtime/lifecycle-runtime.mjs +21 -5
  12. package/preset/odai/runtime/lifecycle-runtime.mjs.map +1 -1
  13. package/preset/odai/runtime/prompt-runtime.d.mts.map +1 -1
  14. package/preset/odai/runtime/prompt-runtime.mjs +14 -1
  15. package/preset/odai/runtime/prompt-runtime.mjs.map +1 -1
  16. package/preset/odai/runtime/role-overlays.mjs +11 -11
  17. package/preset/odai/runtime/role-overlays.mjs.map +1 -1
  18. package/preset/odai/runtime/router.d.mts.map +1 -1
  19. package/preset/odai/runtime/router.mjs +1 -0
  20. package/preset/odai/runtime/router.mjs.map +1 -1
  21. package/preset/odai/runtime/routing-context.d.mts +4 -0
  22. package/preset/odai/runtime/routing-context.d.mts.map +1 -1
  23. package/preset/odai/runtime/routing-context.mjs +97 -19
  24. package/preset/odai/runtime/routing-context.mjs.map +1 -1
  25. package/preset/odai/skills/odai/agents/openai.yaml +4 -4
  26. package/preset/odai/skills/odai/assets/claude-agents/agent.md +11 -11
  27. package/preset/odai/skills/odai/assets/codex-agents/config.toml +11 -11
  28. package/preset/odai/skills/odai/assets/codex-agents/role.toml +5 -5
  29. package/preset/odai/skills/odai/assets/copilot-agents/agent.md +13 -13
  30. package/preset/odai/skills/odai/assets/hooks-policy.example.json +24 -24
  31. package/preset/odai/skills/odai/assets/routing-roles/controller.md +15 -15
  32. package/preset/odai/skills/odai/assets/routing-roles/executor.md +11 -11
  33. package/preset/odai/skills/odai/assets/routing-roles/frontend.md +7 -7
  34. package/preset/odai/skills/odai/assets/routing-roles/planner.md +29 -29
  35. package/preset/odai/skills/odai/assets/routing-roles/researcher.md +6 -6
  36. package/preset/odai/skills/odai/assets/routing-roles/reviewer.md +11 -11
  37. package/preset/odai/skills/odai/assets/task-state.md +14 -14
  38. package/preset/odai/skills/odai/manifest.json +37 -37
  39. package/preset/odai/skills/odai/references/craft.md +54 -54
  40. package/preset/odai/skills/odai/references/dao.md +30 -30
  41. package/preset/odai/skills/odai/references/leverage.md +53 -53
  42. package/preset/odai/skills/odai/references/planning.md +82 -82
  43. package/preset/odai/skills/odai/references/support.md +36 -36
  44. package/preset/odai/skills/odai/references/verification.md +23 -23
  45. package/preset/odai/skills/odai/scripts/build-hooks.mjs +273 -273
  46. package/preset/odai/skills/odai/scripts/build-routing.mjs +274 -274
  47. package/preset/odai/skills/odai/scripts/install-routing.mjs +397 -397
  48. package/preset/odai/skills/odai/scripts/odai-hook.mjs +457 -457
  49. package/preset/odai/skills/odai/scripts/run-role.mjs +336 -336
  50. package/preset/odai/skills/odai/scripts/run-routing.mjs +1154 -1154
  51. package/preset/odai/skills/odai/scripts/verify-routing.mjs +103 -103
package/package.json CHANGED
@@ -1,70 +1,70 @@
1
- {
2
- "name": "odai-dsh-agent",
3
- "version": "0.2.8",
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
- "./package.json": "./package.json"
20
- },
21
- "bin": {
22
- "odai-dsh-agent": "./build/bin/odai-dsh-agent.mjs"
23
- },
24
- "publishConfig": {
25
- "registry": "https://registry.npmjs.org/",
26
- "access": "public"
27
- },
28
- "files": [
29
- "build/bin",
30
- "build/src",
31
- "preset",
32
- "README.md",
33
- "LICENSE"
34
- ],
35
- "scripts": {
36
- "build:dsh": "npm --prefix ../.. run build:dsh",
37
- "typecheck:dsh": "npm --prefix ../.. run typecheck:dsh",
38
- "check": "npm run typecheck:dsh && npm run build:dsh && find ../runtime/build build/bin build/src -name '*.mjs' -print0 | xargs -0 -n1 node --check",
39
- "prepare:artifact": "npm run build:dsh && node ../../scripts/package-odai-artifact.mjs prepare --skill-root preset/odai/skills --runtime-root preset/odai/runtime",
40
- "clean:artifact": "node ../../scripts/package-odai-artifact.mjs clean --skill-root preset/odai/skills --runtime-root preset/odai/runtime",
41
- "prepare": "npm run prepare:artifact",
42
- "verify:version": "node ../../scripts/verify-dsh-package-versions.mjs",
43
- "prepack": "npm run verify:version && node ../../scripts/validate-odai-skill.mjs",
44
- "postpack": "npm run clean:artifact",
45
- "pack:dry-run": "node ../../scripts/run-package-pack.mjs --clean preset/odai/runtime --clean preset/odai/skills -- --dry-run",
46
- "test": "npm run verify:version && npm run build:dsh && npm --prefix ../.. exec -- tsx --test ./tests/*.test.mts",
47
- "verify:dsh": "npm run build:dsh && npm --prefix ../.. exec -- tsx ./tests/verify-agent-load.mts"
48
- },
49
- "dependencies": {
50
- "yaml": "^2.8.1"
51
- },
52
- "peerDependencies": {
53
- "@deepseek-ai/dsh": "0.1.0-rc.7 || 0.1.1-rc.1 || 0.1.1-rc.2"
54
- },
55
- "peerDependenciesMeta": {
56
- "@deepseek-ai/dsh": {
57
- "optional": true
58
- }
59
- },
60
- "engines": {
61
- "node": ">=22.15.0"
62
- },
63
- "keywords": [
64
- "agent",
65
- "deepseek-harness",
66
- "dsh",
67
- "odai",
68
- "preset"
69
- ]
70
- }
1
+ {
2
+ "name": "odai-dsh-agent",
3
+ "version": "0.2.9",
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
+ "./package.json": "./package.json"
20
+ },
21
+ "bin": {
22
+ "odai-dsh-agent": "./build/bin/odai-dsh-agent.mjs"
23
+ },
24
+ "publishConfig": {
25
+ "registry": "https://registry.npmjs.org/",
26
+ "access": "public"
27
+ },
28
+ "files": [
29
+ "build/bin",
30
+ "build/src",
31
+ "preset",
32
+ "README.md",
33
+ "LICENSE"
34
+ ],
35
+ "scripts": {
36
+ "build:dsh": "npm --prefix ../.. run build:dsh",
37
+ "typecheck:dsh": "npm --prefix ../.. run typecheck:dsh",
38
+ "check": "npm run typecheck:dsh && npm run build:dsh && find ../runtime/build build/bin build/src -name '*.mjs' -print0 | xargs -0 -n1 node --check",
39
+ "prepare:artifact": "npm run build:dsh && node ../../scripts/package-odai-artifact.mjs prepare --skill-root preset/odai/skills --runtime-root preset/odai/runtime",
40
+ "clean:artifact": "node ../../scripts/package-odai-artifact.mjs clean --skill-root preset/odai/skills --runtime-root preset/odai/runtime",
41
+ "prepare": "npm run prepare:artifact",
42
+ "verify:version": "node ../../scripts/verify-dsh-package-versions.mjs",
43
+ "prepack": "npm run verify:version && node ../../scripts/validate-odai-skill.mjs",
44
+ "postpack": "npm run clean:artifact",
45
+ "pack:dry-run": "node ../../scripts/run-package-pack.mjs --clean preset/odai/runtime --clean preset/odai/skills -- --dry-run",
46
+ "test": "npm run verify:version && npm run build:dsh && npm --prefix ../.. exec -- tsx --test ./tests/*.test.mts",
47
+ "verify:dsh": "npm run build:dsh && npm --prefix ../.. exec -- tsx ./tests/verify-agent-load.mts"
48
+ },
49
+ "dependencies": {
50
+ "yaml": "^2.8.1"
51
+ },
52
+ "peerDependencies": {
53
+ "@deepseek-ai/dsh": "0.1.1-rc.2"
54
+ },
55
+ "peerDependenciesMeta": {
56
+ "@deepseek-ai/dsh": {
57
+ "optional": true
58
+ }
59
+ },
60
+ "engines": {
61
+ "node": ">=22.15.0"
62
+ },
63
+ "keywords": [
64
+ "agent",
65
+ "deepseek-harness",
66
+ "dsh",
67
+ "odai",
68
+ "preset"
69
+ ]
70
+ }