dsh-interconnect 0.11.13 → 0.11.15
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/dsh.plugin.json +1 -1
- package/lib/index.js +48 -13
- package/lib/interconnect/index.js +48 -13
- package/lib/interconnect/index.js.map +2 -2
- package/lib/tool-interconnect/index.js +49 -14
- package/lib/tool-interconnect/index.js.map +2 -2
- package/lib/types/interconnect/index.d.ts +27 -3
- package/lib/types/interconnect/index.d.ts.map +1 -1
- package/lib/types/interconnect/types.d.ts +7 -4
- package/lib/types/interconnect/types.d.ts.map +1 -1
- package/package.json +8 -3
|
@@ -148,6 +148,12 @@ export declare class InterconnectService extends Service {
|
|
|
148
148
|
* open, so an announcement can suppress nothing but a duplicate the
|
|
149
149
|
* controlled link already carries — an impostor cannot drop an event for a
|
|
150
150
|
* peer, and without a dialed link every inbound socket receives it.
|
|
151
|
+
*
|
|
152
|
+
* That holds once a peer's announcement has been seen. Between this
|
|
153
|
+
* instance's dialed link opening and the peer's `hello` arriving on its
|
|
154
|
+
* inbound socket, the inbound socket is not yet attributable, so an event
|
|
155
|
+
* emitted in that window leaves over both sockets and reaches that peer
|
|
156
|
+
* twice. The duplicate is transient and never a dropped event.
|
|
151
157
|
*/
|
|
152
158
|
private broadcast;
|
|
153
159
|
/**
|
|
@@ -167,17 +173,35 @@ export declare class InterconnectService extends Service {
|
|
|
167
173
|
* aggregates their failures.
|
|
168
174
|
*/
|
|
169
175
|
private receiveEvent;
|
|
176
|
+
/**
|
|
177
|
+
* Bytes one `list` answer may spend on its `sessions` rows: the frame cap
|
|
178
|
+
* minus the serialized envelope that answer will carry. The envelope holds
|
|
179
|
+
* the peer-supplied `reqId` and this instance's own id, so it is measured per
|
|
180
|
+
* answer instead of reserved with a fixed constant.
|
|
181
|
+
* @param reqId - the request id the answer has to echo.
|
|
182
|
+
* @returns the byte budget for the rows, negative when even an empty answer
|
|
183
|
+
* exceeds the cap and so cannot be sent at all.
|
|
184
|
+
*/
|
|
185
|
+
private listRowsBudgetBytes;
|
|
170
186
|
/**
|
|
171
187
|
* Summarize the live local sessions so a sender can discover valid targets
|
|
172
188
|
* instead of having to know a session id already. Only live agents are listed
|
|
173
|
-
* because `send` can reach exactly those
|
|
174
|
-
* {@link MAX_LISTED_SESSIONS} rows
|
|
175
|
-
*
|
|
189
|
+
* because `send` can reach exactly those. The answer stops at
|
|
190
|
+
* {@link MAX_LISTED_SESSIONS} rows or at the row budget the answer's own
|
|
191
|
+
* envelope leaves, whichever comes first: that budget is what keeps the
|
|
192
|
+
* complete `query-result` frame inside the link's cap, because a title's
|
|
193
|
+
* length comes from the session-title projection's own bound rather than
|
|
194
|
+
* from anything this listing controls. A title that does not fit the
|
|
195
|
+
* remaining budget is dropped so its target stays listed; a row that does not
|
|
196
|
+
* fit even untitled ends the listing, which keeps the answer a prefix of the
|
|
197
|
+
* registration order instead of a set with gaps.
|
|
176
198
|
*
|
|
177
199
|
* Title and status are best-effort: the title projection is an optional
|
|
178
200
|
* service, and a receiver without it still returns the ids. A projection that
|
|
179
201
|
* throws degrades that one row rather than failing the whole listing, which
|
|
180
202
|
* matches how the Host's own session listing treats its projection column.
|
|
203
|
+
* @param rowBudgetBytes - bytes the `sessions` rows may occupy, envelope excluded.
|
|
204
|
+
* @returns the bounded listing.
|
|
181
205
|
*/
|
|
182
206
|
private listSessions;
|
|
183
207
|
/** One listing row for a live agent; the title projection is best-effort. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interconnect/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAiB,MAAM,qBAAqB,CAAA;AAiBrE,OAAO,CAAC,MAAM,0BAA0B,CAAA;AAGxC,OAAO,EACL,KAAK,MAAM,EAEX,KAAK,iBAAiB,EAItB,KAAK,UAAU,EACf,KAAK,UAAU,EAEf,KAAK,YAAY,E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AO,CAAC,UAAU,GAAG,SAAS,CAAC;IAI/D;;;;;OAKG;YACW,UAAU;IAuBxB,gFAAgF;YAClE,YAAY;IAsB1B,uFAAuF;IACvF,OAAO,CAAC,aAAa;IA+BrB;;;;;;OAMG;IACH,OAAO,CAAC,IAAI;IAYZ,2EAA2E;IAC3E,OAAO,CAAC,MAAM;IAId;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,CAAC,SAAS;IAsBjB;;;;OAIG;YACW,cAAc;IAgB5B,qFAAqF;IACrF,OAAO,CAAC,gBAAgB;IA0BxB;;;;;;;OAOG;IACH,OAAO,CAAC,YAAY;IAiBpB;;;;;;;;OAQG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;;;;;;;;;;;;;;;;OAmBG;IACH,OAAO,CAAC,YAAY;IAgCpB,6EAA6E;IAC7E,OAAO,CAAC,UAAU;IAiBlB;;;;;;;;;;;;OAYG;YACW,IAAI;IAmClB;;;OAGG;YACW,OAAO;YA2FP,YAAY;IAK1B;;;;;;;OAOG;IACH,OAAO,CAAC,aAAa;IAIrB,8EAA8E;YAChE,aAAa;IAoC3B;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB;IAK1B;;;;;;;OAOG;IACH,OAAO,CAAC,YAAY;IAuBpB,iGAAiG;IACjG,OAAO,CAAC,WAAW;IA4FnB,mFAAmF;IACnF,OAAO,CAAC,SAAS;CAKlB;AAwLD;;;;;;;;;;;GAWG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,CAQ3C;AAMD,eAAe,mBAAmB,CAAA"}
|
|
@@ -77,7 +77,9 @@ export interface SendPayload {
|
|
|
77
77
|
* - `resume-refused` — the sender asked to wake a persisted session and this
|
|
78
78
|
* receiver does not allow it. Retrying with `resume` set changes nothing.
|
|
79
79
|
* - `resume-failed` — waking was allowed and attempted but did not yield a live
|
|
80
|
-
* agent (no persisted session under that id, or
|
|
80
|
+
* agent (no persisted session under that id, or the wake itself failed). A
|
|
81
|
+
* session another owner holds is reported as `session-owned-by-subagent`
|
|
82
|
+
* instead.
|
|
81
83
|
* - `session-owned-by-subagent` — the session is reserved to subagent routing,
|
|
82
84
|
* so its parent agent owns delivery. Injecting here would race that parent;
|
|
83
85
|
* the sender must reach the child through its parent instead.
|
|
@@ -279,9 +281,10 @@ export type LinkMessage = {
|
|
|
279
281
|
export interface Config {
|
|
280
282
|
/**
|
|
281
283
|
* Self-reported id of this instance, echoed in ping/send results for diagnostics.
|
|
282
|
-
* It must be unique across the mesh:
|
|
283
|
-
*
|
|
284
|
-
*
|
|
284
|
+
* It must be unique across the mesh: an inbound socket announcing an id that an
|
|
285
|
+
* open dialed link already covers is skipped, so two instances sharing one id
|
|
286
|
+
* receive events only over the link this instance dials; with no dialed link
|
|
287
|
+
* for that id both receive them and the sender's peer sees every event twice.
|
|
285
288
|
*/
|
|
286
289
|
readonly instanceId: string;
|
|
287
290
|
/** Request timeout for outbound deliveries, in milliseconds. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/interconnect/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH;;;;;;;;;;GAUG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAA;AAE1D;;;;;;;;;GASG;AACH,MAAM,WAAW,cAAc;IAC7B,yEAAyE;IACzE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,2EAA2E;IAC3E,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;CAC3B;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,mDAAmD;IACnD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,0DAA0D;IAC1D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,cAAc,CAAA;IAChC;;;;OAIG;IACH,QAAQ,CAAC,QAA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MAAM,CAAC,EAAE,cAAc,CAAA;IAChC,QAAQ,CAAC,QAAQ,CAAC,EAAE,YAAY,CAAA;IAChC,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,sDAAsD;AACtD,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,gEAAgE;IAChE,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAA;IACjC;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACvC;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,YAAY,CAAA;IAChC;;;;;OAKG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAA;CAC/B"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-interconnect",
|
|
3
3
|
"description": "Cross-instance message/event handoff plugins for DeepSeek Harness (DSH): interconnect service + model-facing tools + companion skill",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.15",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "lib/index.js",
|
|
@@ -64,17 +64,22 @@
|
|
|
64
64
|
"@deepseek-ai/schemastery": "*",
|
|
65
65
|
"ws": "*"
|
|
66
66
|
},
|
|
67
|
+
"peerDependenciesMeta": {
|
|
68
|
+
"@deepseek-ai/dsh-host-webserver": {
|
|
69
|
+
"optional": true
|
|
70
|
+
}
|
|
71
|
+
},
|
|
67
72
|
"devDependencies": {
|
|
68
73
|
"@deepseek-ai/cordis": "link:../dsh/vendor/cordis",
|
|
69
74
|
"@deepseek-ai/cordis-plugin-loader": "link:../dsh/vendor/loader",
|
|
70
75
|
"@deepseek-ai/schemastery": "link:../dsh/vendor/schemastery",
|
|
71
76
|
"@deepseek-ai/dsh-agent": "link:../dsh/packages/core/agent",
|
|
72
|
-
"@deepseek-ai/dsh-api-session-controller": "
|
|
77
|
+
"@deepseek-ai/dsh-api-session-controller": "^0.1.5-rc.2",
|
|
73
78
|
"@deepseek-ai/dsh-credentials": "link:../dsh/packages/credentials/credentials",
|
|
74
79
|
"@deepseek-ai/dsh-llm": "link:../dsh/packages/llm/llm",
|
|
75
80
|
"@deepseek-ai/dsh-session": "link:../dsh/packages/core/session",
|
|
76
81
|
"@deepseek-ai/dsh-subagent": "link:../dsh/packages/subagent/subagent",
|
|
77
|
-
"@deepseek-ai/dsh-typert-protocol": "
|
|
82
|
+
"@deepseek-ai/dsh-typert-protocol": "^0.1.5-rc.2",
|
|
78
83
|
"@deepseek-ai/dsh-host-webserver": "link:../dsh/packages/host/webserver",
|
|
79
84
|
"@deepseek-ai/dsh-tools": "link:../dsh/packages/core/tools",
|
|
80
85
|
"@deepseek-ai/dsh-skill": "link:../dsh/packages/skill/skill",
|