@huanlin/dsh-plugin-yet-another-subagent 0.1.2 → 0.1.3

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 (4) hide show
  1. package/README.md +136 -130
  2. package/lib/client.js +1578 -1436
  3. package/lib/index.js +5487 -5225
  4. package/package.json +158 -158
package/package.json CHANGED
@@ -1,158 +1,158 @@
1
- {
2
- "name": "@huanlin/dsh-plugin-yet-another-subagent",
3
- "version": "0.1.2",
4
- "publishConfig": {
5
- "access": "public"
6
- },
7
- "keywords": [
8
- "dsh-plugin"
9
- ],
10
- "description": "Configurable subagent profiles with web UI settings, real-time toolcall/token display, and click-to-navigate child sessions.",
11
- "type": "module",
12
- "license": "AGPL-3.0",
13
- "main": "./lib/index.js",
14
- "types": "./lib/types/index.d.ts",
15
- "exports": {
16
- ".": {
17
- "types": "./lib/types/index.d.ts",
18
- "import": "./lib/index.js"
19
- },
20
- "./invariant": {
21
- "types": "./lib/types/invariant.d.ts",
22
- "import": "./lib/invariant.js"
23
- },
24
- "./client": {
25
- "types": "./lib/types/client/index.d.ts",
26
- "default": "./lib/client.js"
27
- },
28
- "./src/*": "./src/*",
29
- "./package.json": "./package.json"
30
- },
31
- "files": [
32
- "lib/index.js",
33
- "lib/invariant.js",
34
- "lib/client.js",
35
- "lib/types/**/*.d.ts",
36
- "cordis.patch.yml"
37
- ],
38
- "dsh": {
39
- "bundle": {
40
- "patch": "./cordis.patch.yml"
41
- },
42
- "client": {
43
- "inject": [
44
- "@deepseek-ai/dsh-client-runtime",
45
- "@deepseek-ai/dsh-client-locale",
46
- "@deepseek-ai/dsh-client-connection",
47
- "@deepseek-ai/dsh-client-ui-tool",
48
- "@deepseek-ai/dsh-client-ui-settings",
49
- "@deepseek-ai/dsh-client-ui-slots",
50
- "@deepseek-ai/dsh-client-ui-conversation",
51
- "@deepseek-ai/dsh-client-ui-primitives"
52
- ],
53
- "platform": "web"
54
- }
55
- },
56
- "scripts": {
57
- "typecheck": "tsc --noEmit -p tsconfig.json",
58
- "test": "vitest run",
59
- "build": "tsc -p tsconfig.json && tsdown -c tsdown.config.ts",
60
- "bundle:client": "tsdown -c tsdown.config.ts"
61
- },
62
- "peerDependencies": {
63
- "@deepseek-ai/dsh-agent": "^0.0.1-rc.1",
64
- "@deepseek-ai/dsh-client-connection": "^0.0.1-rc.1",
65
- "@deepseek-ai/dsh-client-locale": "^0.0.1-rc.1",
66
- "@deepseek-ai/dsh-client-runtime": "^0.0.1-rc.1",
67
- "@deepseek-ai/dsh-client-ui-conversation": "^0.0.1-rc.1",
68
- "@deepseek-ai/dsh-client-ui-primitives": "^0.0.1-rc.1",
69
- "@deepseek-ai/dsh-client-ui-settings": "^0.0.1-rc.1",
70
- "@deepseek-ai/dsh-client-ui-slots": "^0.0.1-rc.1",
71
- "@deepseek-ai/dsh-client-ui-tool": "^0.0.1-rc.1",
72
- "@deepseek-ai/dsh-host-apiproxy": "^0.0.1-rc.1",
73
- "@deepseek-ai/dsh-invariants": "^0.0.1-rc.1",
74
- "@deepseek-ai/dsh-llm": "^0.0.1-rc.1",
75
- "@deepseek-ai/dsh-session": "^0.0.1-rc.1",
76
- "@deepseek-ai/dsh-session-projection": "^0.0.1-rc.1",
77
- "@deepseek-ai/dsh-subagent": "^0.0.1-rc.1",
78
- "@deepseek-ai/dsh-jobs": "^0.0.1-rc.1",
79
- "@deepseek-ai/dsh-tools": "^0.0.1-rc.1",
80
- "cordis": "^4.0.0-rc.7",
81
- "react": "^18.2.0",
82
- "schemastery": "^3.18.0"
83
- },
84
- "peerDependenciesMeta": {
85
- "@deepseek-ai/dsh-agent": {
86
- "optional": true
87
- },
88
- "@deepseek-ai/dsh-client-connection": {
89
- "optional": true
90
- },
91
- "@deepseek-ai/dsh-client-locale": {
92
- "optional": true
93
- },
94
- "@deepseek-ai/dsh-client-runtime": {
95
- "optional": true
96
- },
97
- "@deepseek-ai/dsh-client-ui-conversation": {
98
- "optional": true
99
- },
100
- "@deepseek-ai/dsh-client-ui-primitives": {
101
- "optional": true
102
- },
103
- "@deepseek-ai/dsh-client-ui-settings": {
104
- "optional": true
105
- },
106
- "@deepseek-ai/dsh-client-ui-slots": {
107
- "optional": true
108
- },
109
- "@deepseek-ai/dsh-client-ui-tool": {
110
- "optional": true
111
- },
112
- "@deepseek-ai/dsh-host-apiproxy": {
113
- "optional": true
114
- },
115
- "@deepseek-ai/dsh-invariants": {
116
- "optional": true
117
- },
118
- "@deepseek-ai/dsh-llm": {
119
- "optional": true
120
- },
121
- "@deepseek-ai/dsh-session": {
122
- "optional": true
123
- },
124
- "@deepseek-ai/dsh-session-projection": {
125
- "optional": true
126
- },
127
- "@deepseek-ai/dsh-subagent": {
128
- "optional": true
129
- },
130
- "@deepseek-ai/dsh-jobs": {
131
- "optional": true
132
- },
133
- "@deepseek-ai/dsh-tools": {
134
- "optional": true
135
- },
136
- "cordis": {
137
- "optional": true
138
- },
139
- "react": {
140
- "optional": true
141
- },
142
- "schemastery": {
143
- "optional": true
144
- }
145
- },
146
- "devDependencies": {
147
- "@types/node": "^22.0.0",
148
- "@types/react": "~18.3.1",
149
- "lightningcss": "^1.33.0",
150
- "tsdown": "^0.15.0",
151
- "typescript": "^5.9.0",
152
- "vitest": "^3.2.0",
153
- "zod": "4.4.3"
154
- },
155
- "engines": {
156
- "node": ">=22.0.0"
157
- }
158
- }
1
+ {
2
+ "name": "@huanlin/dsh-plugin-yet-another-subagent",
3
+ "version": "0.1.3",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "keywords": [
8
+ "dsh-plugin"
9
+ ],
10
+ "description": "Configurable subagent profiles with web UI settings, real-time toolcall/token display, and click-to-navigate child sessions.",
11
+ "type": "module",
12
+ "license": "AGPL-3.0",
13
+ "main": "./lib/index.js",
14
+ "types": "./lib/types/index.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./lib/types/index.d.ts",
18
+ "import": "./lib/index.js"
19
+ },
20
+ "./invariant": {
21
+ "types": "./lib/types/invariant.d.ts",
22
+ "import": "./lib/invariant.js"
23
+ },
24
+ "./client": {
25
+ "types": "./lib/types/client/index.d.ts",
26
+ "default": "./lib/client.js"
27
+ },
28
+ "./src/*": "./src/*",
29
+ "./package.json": "./package.json"
30
+ },
31
+ "files": [
32
+ "lib/index.js",
33
+ "lib/invariant.js",
34
+ "lib/client.js",
35
+ "lib/types/**/*.d.ts",
36
+ "cordis.patch.yml"
37
+ ],
38
+ "dsh": {
39
+ "bundle": {
40
+ "patch": "./cordis.patch.yml"
41
+ },
42
+ "client": {
43
+ "inject": [
44
+ "@deepseek-ai/dsh-client-runtime",
45
+ "@deepseek-ai/dsh-client-locale",
46
+ "@deepseek-ai/dsh-client-connection",
47
+ "@deepseek-ai/dsh-client-ui-tool",
48
+ "@deepseek-ai/dsh-client-ui-settings",
49
+ "@deepseek-ai/dsh-client-ui-slots",
50
+ "@deepseek-ai/dsh-client-ui-conversation",
51
+ "@deepseek-ai/dsh-client-ui-primitives"
52
+ ],
53
+ "platform": "web"
54
+ }
55
+ },
56
+ "scripts": {
57
+ "typecheck": "tsc --noEmit -p tsconfig.json",
58
+ "test": "vitest run",
59
+ "build": "tsc -p tsconfig.json && tsdown -c tsdown.config.ts",
60
+ "bundle:client": "tsdown -c tsdown.config.ts"
61
+ },
62
+ "peerDependencies": {
63
+ "@deepseek-ai/dsh-agent": "^0.0.1-rc.1",
64
+ "@deepseek-ai/dsh-client-connection": "^0.0.1-rc.1",
65
+ "@deepseek-ai/dsh-client-locale": "^0.0.1-rc.1",
66
+ "@deepseek-ai/dsh-client-runtime": "^0.0.1-rc.1",
67
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.0.1-rc.1",
68
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.0.1-rc.1",
69
+ "@deepseek-ai/dsh-client-ui-settings": "^0.0.1-rc.1",
70
+ "@deepseek-ai/dsh-client-ui-slots": "^0.0.1-rc.1",
71
+ "@deepseek-ai/dsh-client-ui-tool": "^0.0.1-rc.1",
72
+ "@deepseek-ai/dsh-host-apiproxy": "^0.0.1-rc.1",
73
+ "@deepseek-ai/dsh-invariants": "^0.0.1-rc.1",
74
+ "@deepseek-ai/dsh-llm": "^0.0.1-rc.1",
75
+ "@deepseek-ai/dsh-session": "^0.0.1-rc.1",
76
+ "@deepseek-ai/dsh-session-projection": "^0.0.1-rc.1",
77
+ "@deepseek-ai/dsh-subagent": "^0.0.1-rc.1",
78
+ "@deepseek-ai/dsh-jobs": "^0.0.1-rc.1",
79
+ "@deepseek-ai/dsh-tools": "^0.0.1-rc.1",
80
+ "cordis": "^4.0.0-rc.7",
81
+ "react": "^18.2.0",
82
+ "schemastery": "^3.18.0"
83
+ },
84
+ "peerDependenciesMeta": {
85
+ "@deepseek-ai/dsh-agent": {
86
+ "optional": true
87
+ },
88
+ "@deepseek-ai/dsh-client-connection": {
89
+ "optional": true
90
+ },
91
+ "@deepseek-ai/dsh-client-locale": {
92
+ "optional": true
93
+ },
94
+ "@deepseek-ai/dsh-client-runtime": {
95
+ "optional": true
96
+ },
97
+ "@deepseek-ai/dsh-client-ui-conversation": {
98
+ "optional": true
99
+ },
100
+ "@deepseek-ai/dsh-client-ui-primitives": {
101
+ "optional": true
102
+ },
103
+ "@deepseek-ai/dsh-client-ui-settings": {
104
+ "optional": true
105
+ },
106
+ "@deepseek-ai/dsh-client-ui-slots": {
107
+ "optional": true
108
+ },
109
+ "@deepseek-ai/dsh-client-ui-tool": {
110
+ "optional": true
111
+ },
112
+ "@deepseek-ai/dsh-host-apiproxy": {
113
+ "optional": true
114
+ },
115
+ "@deepseek-ai/dsh-invariants": {
116
+ "optional": true
117
+ },
118
+ "@deepseek-ai/dsh-llm": {
119
+ "optional": true
120
+ },
121
+ "@deepseek-ai/dsh-session": {
122
+ "optional": true
123
+ },
124
+ "@deepseek-ai/dsh-session-projection": {
125
+ "optional": true
126
+ },
127
+ "@deepseek-ai/dsh-subagent": {
128
+ "optional": true
129
+ },
130
+ "@deepseek-ai/dsh-jobs": {
131
+ "optional": true
132
+ },
133
+ "@deepseek-ai/dsh-tools": {
134
+ "optional": true
135
+ },
136
+ "cordis": {
137
+ "optional": true
138
+ },
139
+ "react": {
140
+ "optional": true
141
+ },
142
+ "schemastery": {
143
+ "optional": true
144
+ }
145
+ },
146
+ "devDependencies": {
147
+ "@types/node": "^22.0.0",
148
+ "@types/react": "~18.3.1",
149
+ "lightningcss": "^1.33.0",
150
+ "tsdown": "^0.15.0",
151
+ "typescript": "^5.9.0",
152
+ "vitest": "^3.2.0",
153
+ "zod": "4.4.3"
154
+ },
155
+ "engines": {
156
+ "node": ">=22.0.0"
157
+ }
158
+ }