@huanlin/dsh-plugin-yet-another-subagent 0.1.4 → 0.1.6
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.
- package/lib/client.js +1521 -0
- package/lib/types/client/dictionaries.d.ts +17 -0
- package/package.json +159 -159
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* dictionaries.ts — the 19 better-locale override languages for the
|
|
3
|
+
* yet-another-subagent copy, keyed by language id. Each dictionary carries
|
|
4
|
+
* the same key set as `en`/`zh` in `./locales.ts` (enforced by the
|
|
5
|
+
* `Record<YaSubagentKey, string>` annotation); values keep `{placeholder}`
|
|
6
|
+
* interpolation, matching the better-locale store's `LocaleDict` contract.
|
|
7
|
+
*
|
|
8
|
+
* The apply function registers these into `ctx.betterLocale` (the override
|
|
9
|
+
* store) under `NS`, so when the user selects an override language through
|
|
10
|
+
* dsh-plugin-better-locale (and DSH is on 'en', whose slot the override
|
|
11
|
+
* borrows), the plugin UI renders in the override language.
|
|
12
|
+
*
|
|
13
|
+
* @module @huanlin/dsh-plugin-yet-another-subagent/client/dictionaries
|
|
14
|
+
*/
|
|
15
|
+
import type { YaSubagentKey } from './locales.ts';
|
|
16
|
+
/** All override-language dictionaries for the `ya-subagent` namespace. */
|
|
17
|
+
export declare const dicts: Record<string, Record<YaSubagentKey, string>>;
|
package/package.json
CHANGED
|
@@ -1,159 +1,159 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@huanlin/dsh-plugin-yet-another-subagent",
|
|
3
|
-
"version": "0.1.
|
|
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
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"@deepseek-ai/dsh-
|
|
65
|
-
"@deepseek-ai/dsh-client-
|
|
66
|
-
"@deepseek-ai/dsh-
|
|
67
|
-
"@deepseek-ai/dsh-
|
|
68
|
-
"@deepseek-ai/dsh-
|
|
69
|
-
"@deepseek-ai/dsh-
|
|
70
|
-
"@deepseek-ai/dsh-
|
|
71
|
-
"@deepseek-ai/dsh-
|
|
72
|
-
"@deepseek-ai/dsh-
|
|
73
|
-
"@deepseek-ai/dsh-
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"@deepseek-ai/dsh-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
"
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
"
|
|
158
|
-
}
|
|
159
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@huanlin/dsh-plugin-yet-another-subagent",
|
|
3
|
+
"version": "0.1.6",
|
|
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
|
+
"peerDependencies": {
|
|
57
|
+
"@deepseek-ai/dsh-agent": "^0.0.1-rc.1",
|
|
58
|
+
"@deepseek-ai/dsh-client-connection": "^0.0.1-rc.1",
|
|
59
|
+
"@deepseek-ai/dsh-client-locale": "^0.0.1-rc.1",
|
|
60
|
+
"@deepseek-ai/dsh-client-runtime": "^0.0.1-rc.1",
|
|
61
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.0.1-rc.1",
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.0.1-rc.1",
|
|
63
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.0.1-rc.1",
|
|
64
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.0.1-rc.1",
|
|
65
|
+
"@deepseek-ai/dsh-client-ui-tool": "^0.0.1-rc.1",
|
|
66
|
+
"@deepseek-ai/dsh-host-apiproxy": "^0.0.1-rc.1",
|
|
67
|
+
"@deepseek-ai/dsh-invariants": "^0.0.1-rc.1",
|
|
68
|
+
"@deepseek-ai/dsh-llm": "^0.0.1-rc.1",
|
|
69
|
+
"@deepseek-ai/dsh-session": "^0.0.1-rc.1",
|
|
70
|
+
"@deepseek-ai/dsh-session-projection": "^0.0.1-rc.1",
|
|
71
|
+
"@deepseek-ai/dsh-subagent": "^0.0.1-rc.1",
|
|
72
|
+
"@deepseek-ai/dsh-jobs": "^0.0.1-rc.1",
|
|
73
|
+
"@deepseek-ai/dsh-tools": "^0.0.1-rc.1",
|
|
74
|
+
"cordis": "^4.0.0-rc.7",
|
|
75
|
+
"react": "^18.2.0",
|
|
76
|
+
"schemastery": "^3.18.0"
|
|
77
|
+
},
|
|
78
|
+
"peerDependenciesMeta": {
|
|
79
|
+
"@deepseek-ai/dsh-agent": {
|
|
80
|
+
"optional": true
|
|
81
|
+
},
|
|
82
|
+
"@deepseek-ai/dsh-client-connection": {
|
|
83
|
+
"optional": true
|
|
84
|
+
},
|
|
85
|
+
"@deepseek-ai/dsh-client-locale": {
|
|
86
|
+
"optional": true
|
|
87
|
+
},
|
|
88
|
+
"@deepseek-ai/dsh-client-runtime": {
|
|
89
|
+
"optional": true
|
|
90
|
+
},
|
|
91
|
+
"@deepseek-ai/dsh-client-ui-conversation": {
|
|
92
|
+
"optional": true
|
|
93
|
+
},
|
|
94
|
+
"@deepseek-ai/dsh-client-ui-primitives": {
|
|
95
|
+
"optional": true
|
|
96
|
+
},
|
|
97
|
+
"@deepseek-ai/dsh-client-ui-settings": {
|
|
98
|
+
"optional": true
|
|
99
|
+
},
|
|
100
|
+
"@deepseek-ai/dsh-client-ui-slots": {
|
|
101
|
+
"optional": true
|
|
102
|
+
},
|
|
103
|
+
"@deepseek-ai/dsh-client-ui-tool": {
|
|
104
|
+
"optional": true
|
|
105
|
+
},
|
|
106
|
+
"@deepseek-ai/dsh-host-apiproxy": {
|
|
107
|
+
"optional": true
|
|
108
|
+
},
|
|
109
|
+
"@deepseek-ai/dsh-invariants": {
|
|
110
|
+
"optional": true
|
|
111
|
+
},
|
|
112
|
+
"@deepseek-ai/dsh-llm": {
|
|
113
|
+
"optional": true
|
|
114
|
+
},
|
|
115
|
+
"@deepseek-ai/dsh-session": {
|
|
116
|
+
"optional": true
|
|
117
|
+
},
|
|
118
|
+
"@deepseek-ai/dsh-session-projection": {
|
|
119
|
+
"optional": true
|
|
120
|
+
},
|
|
121
|
+
"@deepseek-ai/dsh-subagent": {
|
|
122
|
+
"optional": true
|
|
123
|
+
},
|
|
124
|
+
"@deepseek-ai/dsh-jobs": {
|
|
125
|
+
"optional": true
|
|
126
|
+
},
|
|
127
|
+
"@deepseek-ai/dsh-tools": {
|
|
128
|
+
"optional": true
|
|
129
|
+
},
|
|
130
|
+
"cordis": {
|
|
131
|
+
"optional": true
|
|
132
|
+
},
|
|
133
|
+
"react": {
|
|
134
|
+
"optional": true
|
|
135
|
+
},
|
|
136
|
+
"schemastery": {
|
|
137
|
+
"optional": true
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"devDependencies": {
|
|
141
|
+
"@types/node": "^22.0.0",
|
|
142
|
+
"@types/react": "~18.3.1",
|
|
143
|
+
"lightningcss": "^1.33.0",
|
|
144
|
+
"tsdown": "^0.15.0",
|
|
145
|
+
"typescript": "^5.9.0",
|
|
146
|
+
"vitest": "^3.2.0",
|
|
147
|
+
"zod": "4.4.3"
|
|
148
|
+
},
|
|
149
|
+
"engines": {
|
|
150
|
+
"node": ">=22.0.0"
|
|
151
|
+
},
|
|
152
|
+
"scripts": {
|
|
153
|
+
"prebuild": "node scripts/relink-deps.mjs",
|
|
154
|
+
"typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
|
|
155
|
+
"test": "vitest run",
|
|
156
|
+
"build": "tsdown -c tsdown.config.ts && tsc -p tsconfig.typecheck.json",
|
|
157
|
+
"bundle:client": "tsdown -c tsdown.config.ts"
|
|
158
|
+
}
|
|
159
|
+
}
|