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