@huanlin/dsh-plugin-yet-another-subagent 0.1.6 → 0.4.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huanlin/dsh-plugin-yet-another-subagent",
3
- "version": "0.1.6",
3
+ "version": "0.4.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -17,10 +17,6 @@
17
17
  "types": "./lib/types/index.d.ts",
18
18
  "import": "./lib/index.js"
19
19
  },
20
- "./invariant": {
21
- "types": "./lib/types/invariant.d.ts",
22
- "import": "./lib/invariant.js"
23
- },
24
20
  "./client": {
25
21
  "types": "./lib/types/client/index.d.ts",
26
22
  "default": "./lib/client.js"
@@ -30,7 +26,6 @@
30
26
  },
31
27
  "files": [
32
28
  "lib/index.js",
33
- "lib/invariant.js",
34
29
  "lib/client.js",
35
30
  "lib/types/**/*.d.ts",
36
31
  "cordis.patch.yml"
@@ -41,7 +36,7 @@
41
36
  },
42
37
  "client": {
43
38
  "inject": [
44
- "@deepseek-ai/dsh-client-runtime",
39
+ "@deepseek-ai/dsh-api-session-controller",
45
40
  "@deepseek-ai/dsh-client-locale",
46
41
  "@deepseek-ai/dsh-client-connection",
47
42
  "@deepseek-ai/dsh-client-ui-tool",
@@ -54,24 +49,23 @@
54
49
  }
55
50
  },
56
51
  "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",
52
+ "@deepseek-ai/dsh-agent": "^0.1.5-rc.1",
53
+ "@deepseek-ai/dsh-api-session-controller": "^0.1.5-rc.1",
54
+ "@deepseek-ai/dsh-client-connection": "^0.1.5-rc.1",
55
+ "@deepseek-ai/dsh-client-locale": "^0.1.5-rc.1",
56
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.5-rc.1",
57
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-rc.1",
58
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.5-rc.1",
59
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.5-rc.1",
60
+ "@deepseek-ai/dsh-client-ui-tool": "^0.1.5-rc.1",
61
+ "@deepseek-ai/dsh-jobs": "^0.1.5-rc.1",
62
+ "@deepseek-ai/dsh-llm": "^0.1.5-rc.1",
63
+ "@deepseek-ai/dsh-session": "^0.1.5-rc.1",
64
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-rc.1",
65
+ "@deepseek-ai/dsh-subagent": "^0.1.5-rc.1",
66
+ "@deepseek-ai/dsh-tools": "^0.1.5-rc.1",
67
+ "@deepseek-ai/dsh-util-values": "^0.1.5-rc.1",
68
+ "cordis": "^4.0.1",
75
69
  "react": "^18.2.0",
76
70
  "schemastery": "^3.18.0"
77
71
  },
@@ -79,13 +73,13 @@
79
73
  "@deepseek-ai/dsh-agent": {
80
74
  "optional": true
81
75
  },
82
- "@deepseek-ai/dsh-client-connection": {
76
+ "@deepseek-ai/dsh-api-session-controller": {
83
77
  "optional": true
84
78
  },
85
- "@deepseek-ai/dsh-client-locale": {
79
+ "@deepseek-ai/dsh-client-connection": {
86
80
  "optional": true
87
81
  },
88
- "@deepseek-ai/dsh-client-runtime": {
82
+ "@deepseek-ai/dsh-client-locale": {
89
83
  "optional": true
90
84
  },
91
85
  "@deepseek-ai/dsh-client-ui-conversation": {
@@ -103,12 +97,6 @@
103
97
  "@deepseek-ai/dsh-client-ui-tool": {
104
98
  "optional": true
105
99
  },
106
- "@deepseek-ai/dsh-host-apiproxy": {
107
- "optional": true
108
- },
109
- "@deepseek-ai/dsh-invariants": {
110
- "optional": true
111
- },
112
100
  "@deepseek-ai/dsh-llm": {
113
101
  "optional": true
114
102
  },
@@ -127,6 +115,9 @@
127
115
  "@deepseek-ai/dsh-tools": {
128
116
  "optional": true
129
117
  },
118
+ "@deepseek-ai/dsh-util-values": {
119
+ "optional": true
120
+ },
130
121
  "cordis": {
131
122
  "optional": true
132
123
  },
@@ -141,6 +132,7 @@
141
132
  "@types/node": "^22.0.0",
142
133
  "@types/react": "~18.3.1",
143
134
  "lightningcss": "^1.33.0",
135
+ "schemastery": "^3.18.0",
144
136
  "tsdown": "^0.15.0",
145
137
  "typescript": "^5.9.0",
146
138
  "vitest": "^3.2.0",
package/lib/invariant.js DELETED
@@ -1,21 +0,0 @@
1
- //#region src/invariant.ts
2
- const PACKAGE_NAME = "@huanlin/dsh-plugin-yet-another-subagent";
3
- /** Cordis companion plugin name. */
4
- const name = "yet-another-subagent-invariant";
5
- /** Service required before the companion can reserve package ownership. */
6
- const inject = ["invariants"];
7
- /**
8
- * No runtime invariant: profile tools, the RPC interceptor, and the two
9
- * projections are registry-owned registrations whose disposal is proven by
10
- * the HMR-safety spec. They emit no cordis events and own no cross-plugin
11
- * mutable state (the in-memory ProfileStore's lifetime is the plugin fiber).
12
- */
13
- const install = () => {};
14
- /**
15
- * Register this package's invariant companion.
16
- * @param ctx - Cordis context carrying the invariant service.
17
- * @returns the installed registration's disposer after setup succeeds.
18
- */
19
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
20
- //#endregion
21
- export { apply, inject, name };
@@ -1,16 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for `@huanlin/dsh-plugin-yet-another-subagent`.
3
- *
4
- * @module @huanlin/dsh-plugin-yet-another-subagent/invariant
5
- */
6
- import type { Context } from 'cordis';
7
- /** Cordis companion plugin name. */
8
- export declare const name = "yet-another-subagent-invariant";
9
- /** Service required before the companion can reserve package ownership. */
10
- export declare const inject: string[];
11
- /**
12
- * Register this package's invariant companion.
13
- * @param ctx - Cordis context carrying the invariant service.
14
- * @returns the installed registration's disposer after setup succeeds.
15
- */
16
- export declare const apply: (ctx: Context) => Promise<() => void>;