@huanlin/dsh-plugin-yet-another-subagent 0.1.4 → 0.1.5

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.
@@ -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",
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
- "prebuild": "node scripts/relink-deps.mjs",
58
- "typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
59
- "test": "vitest run",
60
- "build": "tsdown -c tsdown.config.ts && tsc -p tsconfig.typecheck.json",
61
- "bundle:client": "tsdown -c tsdown.config.ts"
62
- },
63
- "peerDependencies": {
64
- "@deepseek-ai/dsh-agent": "^0.0.1-rc.1",
65
- "@deepseek-ai/dsh-client-connection": "^0.0.1-rc.1",
66
- "@deepseek-ai/dsh-client-locale": "^0.0.1-rc.1",
67
- "@deepseek-ai/dsh-client-runtime": "^0.0.1-rc.1",
68
- "@deepseek-ai/dsh-client-ui-conversation": "^0.0.1-rc.1",
69
- "@deepseek-ai/dsh-client-ui-primitives": "^0.0.1-rc.1",
70
- "@deepseek-ai/dsh-client-ui-settings": "^0.0.1-rc.1",
71
- "@deepseek-ai/dsh-client-ui-slots": "^0.0.1-rc.1",
72
- "@deepseek-ai/dsh-client-ui-tool": "^0.0.1-rc.1",
73
- "@deepseek-ai/dsh-host-apiproxy": "^0.0.1-rc.1",
74
- "@deepseek-ai/dsh-invariants": "^0.0.1-rc.1",
75
- "@deepseek-ai/dsh-llm": "^0.0.1-rc.1",
76
- "@deepseek-ai/dsh-session": "^0.0.1-rc.1",
77
- "@deepseek-ai/dsh-session-projection": "^0.0.1-rc.1",
78
- "@deepseek-ai/dsh-subagent": "^0.0.1-rc.1",
79
- "@deepseek-ai/dsh-jobs": "^0.0.1-rc.1",
80
- "@deepseek-ai/dsh-tools": "^0.0.1-rc.1",
81
- "cordis": "^4.0.0-rc.7",
82
- "react": "^18.2.0",
83
- "schemastery": "^3.18.0"
84
- },
85
- "peerDependenciesMeta": {
86
- "@deepseek-ai/dsh-agent": {
87
- "optional": true
88
- },
89
- "@deepseek-ai/dsh-client-connection": {
90
- "optional": true
91
- },
92
- "@deepseek-ai/dsh-client-locale": {
93
- "optional": true
94
- },
95
- "@deepseek-ai/dsh-client-runtime": {
96
- "optional": true
97
- },
98
- "@deepseek-ai/dsh-client-ui-conversation": {
99
- "optional": true
100
- },
101
- "@deepseek-ai/dsh-client-ui-primitives": {
102
- "optional": true
103
- },
104
- "@deepseek-ai/dsh-client-ui-settings": {
105
- "optional": true
106
- },
107
- "@deepseek-ai/dsh-client-ui-slots": {
108
- "optional": true
109
- },
110
- "@deepseek-ai/dsh-client-ui-tool": {
111
- "optional": true
112
- },
113
- "@deepseek-ai/dsh-host-apiproxy": {
114
- "optional": true
115
- },
116
- "@deepseek-ai/dsh-invariants": {
117
- "optional": true
118
- },
119
- "@deepseek-ai/dsh-llm": {
120
- "optional": true
121
- },
122
- "@deepseek-ai/dsh-session": {
123
- "optional": true
124
- },
125
- "@deepseek-ai/dsh-session-projection": {
126
- "optional": true
127
- },
128
- "@deepseek-ai/dsh-subagent": {
129
- "optional": true
130
- },
131
- "@deepseek-ai/dsh-jobs": {
132
- "optional": true
133
- },
134
- "@deepseek-ai/dsh-tools": {
135
- "optional": true
136
- },
137
- "cordis": {
138
- "optional": true
139
- },
140
- "react": {
141
- "optional": true
142
- },
143
- "schemastery": {
144
- "optional": true
145
- }
146
- },
147
- "devDependencies": {
148
- "@types/node": "^22.0.0",
149
- "@types/react": "~18.3.1",
150
- "lightningcss": "^1.33.0",
151
- "tsdown": "^0.15.0",
152
- "typescript": "^5.9.0",
153
- "vitest": "^3.2.0",
154
- "zod": "4.4.3"
155
- },
156
- "engines": {
157
- "node": ">=22.0.0"
158
- }
159
- }
1
+ {
2
+ "name": "@huanlin/dsh-plugin-yet-another-subagent",
3
+ "version": "0.1.5",
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
+ }