dsh-plugin-subagent-director 0.1.0 → 0.2.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.
Files changed (42) hide show
  1. package/CHANGELOG.md +43 -15
  2. package/LICENSE +21 -21
  3. package/README.md +140 -107
  4. package/cordis.patch.yml +12 -0
  5. package/lib/client/RoleCard.js +2 -2
  6. package/lib/client/RoleCard.js.map +1 -1
  7. package/lib/client/SubagentOptionsSection.d.ts +1 -1
  8. package/lib/client/SubagentOptionsSection.d.ts.map +1 -1
  9. package/lib/client/SubagentOptionsSection.js +1 -1
  10. package/lib/client/SubagentOptionsSection.js.map +1 -1
  11. package/lib/client/bind.d.ts +14 -0
  12. package/lib/client/bind.d.ts.map +1 -0
  13. package/lib/client/bind.js +24 -0
  14. package/lib/client/bind.js.map +1 -0
  15. package/lib/client/index.js +33 -6
  16. package/lib/client/index.js.map +1 -1
  17. package/lib/client/locales.d.ts +1 -1
  18. package/lib/client/locales.d.ts.map +1 -1
  19. package/lib/client/locales.js +4 -0
  20. package/lib/client/locales.js.map +1 -1
  21. package/lib/config.d.ts +11 -0
  22. package/lib/config.d.ts.map +1 -1
  23. package/lib/config.js +1 -0
  24. package/lib/config.js.map +1 -1
  25. package/lib/default-route.d.ts +46 -0
  26. package/lib/default-route.d.ts.map +1 -0
  27. package/lib/default-route.js +56 -0
  28. package/lib/default-route.js.map +1 -0
  29. package/lib/guidance.d.ts.map +1 -1
  30. package/lib/guidance.js +1 -0
  31. package/lib/guidance.js.map +1 -1
  32. package/lib/index.d.ts.map +1 -1
  33. package/lib/index.js +14 -11
  34. package/lib/index.js.map +1 -1
  35. package/lib/route-resolver.d.ts.map +1 -1
  36. package/lib/route-resolver.js +13 -1
  37. package/lib/route-resolver.js.map +1 -1
  38. package/lib/settings.d.ts +17 -0
  39. package/lib/settings.d.ts.map +1 -1
  40. package/lib/settings.js +17 -0
  41. package/lib/settings.js.map +1 -1
  42. package/package.json +113 -110
package/package.json CHANGED
@@ -1,110 +1,113 @@
1
- {
2
- "name": "dsh-plugin-subagent-director",
3
- "version": "0.1.0",
4
- "description": "Subagent Director: choose an LLM provider/model for each subagent (call args > role binding > plugin default > inherit parent) and plan main-agent/subagent responsibilities with role templates, plus a settings UI.",
5
- "type": "module",
6
- "main": "lib/index.js",
7
- "types": "lib/index.d.ts",
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/SeverusZh/dsh-plugin-subagent-director.git"
11
- },
12
- "homepage": "https://github.com/SeverusZh/dsh-plugin-subagent-director",
13
- "bugs": {
14
- "url": "https://github.com/SeverusZh/dsh-plugin-subagent-director/issues"
15
- },
16
- "files": [
17
- "lib",
18
- "CHANGELOG.md"
19
- ],
20
- "scripts": {
21
- "build": "tsc -p tsconfig.json && node scripts/build-client.mjs",
22
- "build:client": "node scripts/build-client.mjs",
23
- "test": "vitest run",
24
- "typecheck": "tsc --noEmit"
25
- },
26
- "exports": {
27
- ".": {
28
- "types": "./lib/index.d.ts",
29
- "default": "./lib/index.js"
30
- },
31
- "./client": {
32
- "types": "./lib/client/index.d.ts",
33
- "default": "./lib/client/index.js"
34
- },
35
- "./package.json": "./package.json",
36
- "./bridge": {
37
- "types": "./lib/bridge-entry.d.ts",
38
- "default": "./lib/bridge-entry.js"
39
- }
40
- },
41
- "dsh": {
42
- "client": {
43
- "inject": [
44
- "slots",
45
- "locale",
46
- "connection",
47
- "remote"
48
- ],
49
- "platform": "web"
50
- }
51
- },
52
- "keywords": [
53
- "dsh",
54
- "deepseek-harness",
55
- "cordis",
56
- "plugin",
57
- "subagent",
58
- "subagent-director",
59
- "llm",
60
- "provider",
61
- "model",
62
- "role-template"
63
- ],
64
- "license": "MIT",
65
- "peerDependencies": {
66
- "react": "^18.2.0",
67
- "@deepseek-ai/cordis": "^4.0.1",
68
- "@deepseek-ai/dsh-agent": "^0.1.0-rc.6",
69
- "@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
70
- "@deepseek-ai/dsh-settings": "^0.1.0-rc.6",
71
- "@deepseek-ai/dsh-subagent": "^0.1.0-rc.6",
72
- "@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.6",
73
- "@deepseek-ai/dsh-tools": "^0.1.0-rc.6",
74
- "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
75
- "@deepseek-ai/dsh-client-connection": "^0.1.0-rc.6",
76
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
77
- "@deepseek-ai/dsh-client-web-react": "^0.1.0-rc.6",
78
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
79
- "@deepseek-ai/dsh-client-schema-form": "^0.1.0-rc.6",
80
- "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
81
- "@deepseek-ai/dsh-host-apiproxy": "^0.1.0-rc.6"
82
- },
83
- "devDependencies": {
84
- "react": "file:../../../DeepSeekHarness/node_modules/react",
85
- "react-dom": "file:../../../DeepSeekHarness/node_modules/react-dom",
86
- "use-sync-external-store": "file:../../../DeepSeekHarness/node_modules/use-sync-external-store",
87
- "@types/react": "^18.3.1",
88
- "@types/react-dom": "^18.3.1",
89
- "@deepseek-ai/cordis": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/cordis",
90
- "@deepseek-ai/dsh-agent": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-agent",
91
- "@deepseek-ai/dsh-llm": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-llm",
92
- "@deepseek-ai/dsh-settings": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-settings",
93
- "@deepseek-ai/dsh-subagent": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-subagent",
94
- "@deepseek-ai/dsh-system-prompt": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-system-prompt",
95
- "@deepseek-ai/dsh-tools": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-tools",
96
- "@deepseek-ai/schemastery": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/schemastery",
97
- "@deepseek-ai/dsh-client-runtime": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-client-runtime",
98
- "@deepseek-ai/dsh-client-connection": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-client-connection",
99
- "@deepseek-ai/dsh-client-ui-slots": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-client-ui-slots",
100
- "@deepseek-ai/dsh-client-web-react": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-client-web-react",
101
- "@deepseek-ai/dsh-client-ui-settings": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-client-ui-settings",
102
- "@deepseek-ai/dsh-client-schema-form": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-client-schema-form",
103
- "@deepseek-ai/dsh-client-locale": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-client-locale",
104
- "@deepseek-ai/dsh-client-ui-primitives": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-client-ui-primitives",
105
- "@deepseek-ai/dsh-host-apiproxy": "file:../../../DeepSeekHarness/node_modules/@deepseek-ai/dsh-host-apiproxy",
106
- "@types/node": "^26.2.0",
107
- "typescript": "^7.0.2",
108
- "vitest": "^4.1.10"
109
- }
110
- }
1
+ {
2
+ "name": "dsh-plugin-subagent-director",
3
+ "version": "0.2.1",
4
+ "description": "Subagent Director: choose an LLM provider/model for each subagent (call args > role binding > plugin default > inherit parent) and plan main-agent/subagent responsibilities with role templates, plus a settings UI.",
5
+ "type": "module",
6
+ "main": "lib/index.js",
7
+ "types": "lib/index.d.ts",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/SeverusZh/dsh-plugin-subagent-director.git"
11
+ },
12
+ "homepage": "https://github.com/SeverusZh/dsh-plugin-subagent-director",
13
+ "bugs": {
14
+ "url": "https://github.com/SeverusZh/dsh-plugin-subagent-director/issues"
15
+ },
16
+ "files": [
17
+ "lib",
18
+ "CHANGELOG.md",
19
+ "cordis.patch.yml"
20
+ ],
21
+ "scripts": {
22
+ "build": "tsc -p tsconfig.json && node scripts/build-client.mjs",
23
+ "build:client": "node scripts/build-client.mjs",
24
+ "test": "vitest run",
25
+ "typecheck": "tsc --noEmit"
26
+ },
27
+ "exports": {
28
+ ".": {
29
+ "types": "./lib/index.d.ts",
30
+ "default": "./lib/index.js"
31
+ },
32
+ "./client": {
33
+ "types": "./lib/client/index.d.ts",
34
+ "default": "./lib/client/index.js"
35
+ },
36
+ "./package.json": "./package.json",
37
+ "./bridge": {
38
+ "types": "./lib/bridge-entry.d.ts",
39
+ "default": "./lib/bridge-entry.js"
40
+ }
41
+ },
42
+ "dsh": {
43
+ "bundle": {
44
+ "patch": "./cordis.patch.yml"
45
+ },
46
+ "client": {
47
+ "inject": [
48
+ "slots",
49
+ "locale",
50
+ "connection",
51
+ "remote"
52
+ ],
53
+ "platform": "web"
54
+ }
55
+ },
56
+ "keywords": [
57
+ "dsh",
58
+ "deepseek-harness",
59
+ "cordis",
60
+ "plugin",
61
+ "subagent",
62
+ "subagent-director",
63
+ "llm",
64
+ "provider",
65
+ "model",
66
+ "role-template"
67
+ ],
68
+ "license": "MIT",
69
+ "peerDependencies": {
70
+ "react": "^18.2.0",
71
+ "@deepseek-ai/cordis": "^4.0.1",
72
+ "@deepseek-ai/dsh-agent": "^0.1.0-rc.6",
73
+ "@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
74
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.6",
75
+ "@deepseek-ai/dsh-subagent": "^0.1.0-rc.6",
76
+ "@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.6",
77
+ "@deepseek-ai/dsh-tools": "^0.1.0-rc.6",
78
+ "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
79
+ "@deepseek-ai/dsh-client-connection": "^0.1.0-rc.6",
80
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
81
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
82
+ "@deepseek-ai/dsh-client-schema-form": "^0.1.0-rc.6",
83
+ "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
84
+ "@deepseek-ai/dsh-host-apiproxy": "^0.1.0-rc.6"
85
+ },
86
+ "devDependencies": {
87
+ "react": "^18.2.0",
88
+ "react-dom": "^18.3.1",
89
+ "use-sync-external-store": "^1.2.0",
90
+ "@types/react": "^18.3.1",
91
+ "@types/react-dom": "^18.3.1",
92
+ "@deepseek-ai/cordis": "^4.0.1",
93
+ "@deepseek-ai/dsh-agent": "^0.1.0-rc.6",
94
+ "@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
95
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.6",
96
+ "@deepseek-ai/dsh-subagent": "^0.1.0-rc.6",
97
+ "@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.6",
98
+ "@deepseek-ai/dsh-tools": "^0.1.0-rc.6",
99
+ "@deepseek-ai/schemastery": "^3.18.1",
100
+ "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
101
+ "@deepseek-ai/dsh-client-connection": "^0.1.0-rc.6",
102
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
103
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
104
+ "@deepseek-ai/dsh-client-schema-form": "^0.1.0-rc.6",
105
+ "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
106
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6",
107
+ "@deepseek-ai/dsh-host-apiproxy": "^0.1.0-rc.6",
108
+ "rolldown": "^1.2.4",
109
+ "@types/node": "^26.2.0",
110
+ "typescript": "^7.0.2",
111
+ "vitest": "^4.1.10"
112
+ }
113
+ }