@thready-web/dsh-bot-plugin 0.1.0-beta.12 → 0.1.0-beta.13
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/README.md +1 -1
- package/dist/canvas-http.js +15 -22
- package/dist/canvas-inspector.js +350 -0
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -162,7 +162,7 @@ A visible connected view reconciles once on entry and every 60 seconds. Unsuppor
|
|
|
162
162
|
|
|
163
163
|
The authorization drawer loads the provider directory only on demand, with a per-App single-flight 30-second cache, no browser storage or cross-App cache. Local authorization lifecycle changes and mutations invalidate it. An open drawer revalidates every 30 seconds and on background resume: native provider registration has no complete event hook, so these changes are eventually reconciled rather than falsely treated as push-complete. Dynamic prompts/notices remain on the compact channel even when the drawer is closed.
|
|
164
164
|
|
|
165
|
-
DSH loads `dist/`. Rebuild after changing `src/`. Until `npm --prefix ui run build` has run, `/dsh-bot/` is 404.
|
|
165
|
+
DSH loads `dist/`. Rebuild after changing `src/`. The plugin build also writes `dist/canvas-inspector.js`; a published install reads that file and does not compile the inspector on startup. Until `npm --prefix ui run build` has run, `/dsh-bot/` is 404.
|
|
166
166
|
|
|
167
167
|
Host integration needs Node `>= 24.9` and `DSH_BIN`:
|
|
168
168
|
|
package/dist/canvas-http.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { existsSync } from 'node:fs';
|
|
2
|
-
import { buildSync } from 'esbuild';
|
|
3
|
-
import { fileURLToPath } from 'node:url';
|
|
1
|
+
import { existsSync, readFileSync } from 'node:fs';
|
|
4
2
|
import { composeInspect } from "./canvas-compose.js";
|
|
5
3
|
import { asStoreFailure, toolError } from "./errors.js";
|
|
6
4
|
import { CANVAS_MAX_JSON_BYTES, normalizeCanvasPath } from "./canvas-store.js";
|
|
@@ -357,23 +355,18 @@ function writeBody(res, method, status, type, body, policy) {
|
|
|
357
355
|
function inspectorSource() {
|
|
358
356
|
if (inspectorCode != null)
|
|
359
357
|
return inspectorCode;
|
|
360
|
-
//
|
|
361
|
-
const
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
});
|
|
375
|
-
inspectorCode = result.outputFiles[0]?.text ?? '';
|
|
376
|
-
if (inspectorCode === '')
|
|
377
|
-
throw new Error('inspector bundle was empty');
|
|
378
|
-
return inspectorCode;
|
|
358
|
+
// dist/canvas-http.js reads the sibling bundle. Tests import src/ and use the same built file.
|
|
359
|
+
const candidates = [
|
|
360
|
+
new URL('./canvas-inspector.js', import.meta.url),
|
|
361
|
+
new URL('../dist/canvas-inspector.js', import.meta.url),
|
|
362
|
+
];
|
|
363
|
+
for (const url of candidates) {
|
|
364
|
+
if (!existsSync(url))
|
|
365
|
+
continue;
|
|
366
|
+
inspectorCode = readFileSync(url, 'utf8');
|
|
367
|
+
if (inspectorCode === '')
|
|
368
|
+
throw new Error('inspector bundle was empty');
|
|
369
|
+
return inspectorCode;
|
|
370
|
+
}
|
|
371
|
+
throw new Error('canvas inspector bundle is missing; run npm run build');
|
|
379
372
|
}
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
(() => {
|
|
3
|
+
// src/canvas-path.ts
|
|
4
|
+
var TABLE_SECTION = /* @__PURE__ */ new Set(["tbody", "thead", "tfoot"]);
|
|
5
|
+
var SEGMENT = /^(\d+):([a-z][a-z0-9-]*)$/;
|
|
6
|
+
function collapseText(value) {
|
|
7
|
+
return (value ?? "").replace(/\s+/g, " ").trim().slice(0, 120);
|
|
8
|
+
}
|
|
9
|
+
function adoptElement(el, parent = null) {
|
|
10
|
+
const node = {
|
|
11
|
+
tag: el.tagName.toLowerCase(),
|
|
12
|
+
classes: el.classList ? [...el.classList] : [],
|
|
13
|
+
text: collapseText(el.textContent),
|
|
14
|
+
rawChildren: [],
|
|
15
|
+
parent
|
|
16
|
+
};
|
|
17
|
+
for (let i = 0; i < el.children.length; i++) node.rawChildren.push(adoptElement(el.children[i], node));
|
|
18
|
+
return node;
|
|
19
|
+
}
|
|
20
|
+
function visibleChildren(node) {
|
|
21
|
+
const out = [];
|
|
22
|
+
for (const child of node.rawChildren) {
|
|
23
|
+
if (node.tag === "table" && TABLE_SECTION.has(child.tag)) out.push(...child.rawChildren);
|
|
24
|
+
else out.push(child);
|
|
25
|
+
}
|
|
26
|
+
return out;
|
|
27
|
+
}
|
|
28
|
+
function parsePath(path) {
|
|
29
|
+
if (path === "") return [];
|
|
30
|
+
if (path.length > 500 || path.includes("//")) return null;
|
|
31
|
+
const parts = path.split("/");
|
|
32
|
+
const segs = [];
|
|
33
|
+
for (const part of parts) {
|
|
34
|
+
const match = SEGMENT.exec(part);
|
|
35
|
+
if (!match) return null;
|
|
36
|
+
const index = Number(match[1]);
|
|
37
|
+
if (!Number.isInteger(index) || index > 1e4 || String(index) !== match[1]) return null;
|
|
38
|
+
segs.push({ index, tag: match[2] });
|
|
39
|
+
}
|
|
40
|
+
return segs;
|
|
41
|
+
}
|
|
42
|
+
function formatPath(segs) {
|
|
43
|
+
return segs.map((seg) => `${seg.index}:${seg.tag}`).join("/");
|
|
44
|
+
}
|
|
45
|
+
function resolvePath(body, path) {
|
|
46
|
+
const segs = parsePath(path);
|
|
47
|
+
if (!segs) return null;
|
|
48
|
+
const breadcrumb = [{ path: "", tag: body.tag, classes: body.classes }];
|
|
49
|
+
const acc = [];
|
|
50
|
+
let current = body;
|
|
51
|
+
for (const seg of segs) {
|
|
52
|
+
const child = visibleChildren(current)[seg.index];
|
|
53
|
+
if (!child || child.tag !== seg.tag) return null;
|
|
54
|
+
acc.push(seg);
|
|
55
|
+
current = child;
|
|
56
|
+
breadcrumb.push({ path: formatPath(acc), tag: child.tag, classes: child.classes });
|
|
57
|
+
}
|
|
58
|
+
return { node: current, breadcrumb };
|
|
59
|
+
}
|
|
60
|
+
function pathTo(body, node) {
|
|
61
|
+
if (node === body) return "";
|
|
62
|
+
const parts = [];
|
|
63
|
+
let current = node;
|
|
64
|
+
while (current && current !== body) {
|
|
65
|
+
let parent = current.parent;
|
|
66
|
+
if (!parent) return null;
|
|
67
|
+
if (TABLE_SECTION.has(parent.tag) && parent.parent?.tag === "table") parent = parent.parent;
|
|
68
|
+
const index = visibleChildren(parent).indexOf(current);
|
|
69
|
+
if (index < 0) return null;
|
|
70
|
+
parts.push(`${index}:${current.tag}`);
|
|
71
|
+
current = parent;
|
|
72
|
+
}
|
|
73
|
+
if (current !== body) return null;
|
|
74
|
+
return parts.reverse().join("/");
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// src/canvas-mention.ts
|
|
78
|
+
function mentionFrom(body, path) {
|
|
79
|
+
const found = resolvePath(body, path);
|
|
80
|
+
if (!found) return null;
|
|
81
|
+
const text = found.node.text.slice(0, 80);
|
|
82
|
+
const shown = text.length > 42 ? `${text.slice(0, 42)}\u2026` : text;
|
|
83
|
+
return {
|
|
84
|
+
path,
|
|
85
|
+
tag: found.node.tag,
|
|
86
|
+
classes: found.node.classes,
|
|
87
|
+
text,
|
|
88
|
+
breadcrumb: found.breadcrumb,
|
|
89
|
+
label: shown ? `${found.node.tag} \xB7 ${shown}` : found.node.tag
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// src/canvas-inspector.ts
|
|
94
|
+
var CHANNEL = "canvas-inspect";
|
|
95
|
+
function meta(name) {
|
|
96
|
+
return document.querySelector(`meta[name="${name}"]`)?.getAttribute("content") ?? "";
|
|
97
|
+
}
|
|
98
|
+
function box(id, outline, fill) {
|
|
99
|
+
const el = document.createElement("div");
|
|
100
|
+
el.id = id;
|
|
101
|
+
el.setAttribute("aria-hidden", "true");
|
|
102
|
+
el.style.setProperty("all", "initial");
|
|
103
|
+
el.style.position = "fixed";
|
|
104
|
+
el.style.pointerEvents = "none";
|
|
105
|
+
el.style.zIndex = "2147483646";
|
|
106
|
+
el.style.boxSizing = "border-box";
|
|
107
|
+
el.style.display = "none";
|
|
108
|
+
el.style.outline = outline;
|
|
109
|
+
el.style.outlineOffset = "-2px";
|
|
110
|
+
el.style.background = fill;
|
|
111
|
+
document.documentElement.append(el);
|
|
112
|
+
return el;
|
|
113
|
+
}
|
|
114
|
+
function place(el, target) {
|
|
115
|
+
const rect = target.getBoundingClientRect();
|
|
116
|
+
el.style.display = "block";
|
|
117
|
+
el.style.left = `${rect.left}px`;
|
|
118
|
+
el.style.top = `${rect.top}px`;
|
|
119
|
+
el.style.width = `${Math.max(rect.width, 0)}px`;
|
|
120
|
+
el.style.height = `${Math.max(rect.height, 0)}px`;
|
|
121
|
+
}
|
|
122
|
+
var nonce = meta("dsh-inspect-nonce");
|
|
123
|
+
var parentOrigin = meta("dsh-parent-origin");
|
|
124
|
+
var pageName = meta("dsh-inspect-page");
|
|
125
|
+
function anchorPage(target) {
|
|
126
|
+
const anchor = target.closest("a");
|
|
127
|
+
if (!(anchor instanceof HTMLAnchorElement)) return null;
|
|
128
|
+
const href = anchor.getAttribute("href")?.trim() ?? "";
|
|
129
|
+
if (href === "" || href.startsWith("#")) return null;
|
|
130
|
+
let url;
|
|
131
|
+
try {
|
|
132
|
+
url = new URL(href, document.baseURI);
|
|
133
|
+
} catch {
|
|
134
|
+
return null;
|
|
135
|
+
}
|
|
136
|
+
const base = new URL(document.baseURI);
|
|
137
|
+
if (url.origin !== base.origin || !url.pathname.startsWith(base.pathname)) return null;
|
|
138
|
+
let rel = url.pathname.slice(base.pathname.length);
|
|
139
|
+
try {
|
|
140
|
+
rel = decodeURIComponent(rel);
|
|
141
|
+
} catch {
|
|
142
|
+
return null;
|
|
143
|
+
}
|
|
144
|
+
if (!/^[A-Za-z0-9_-]+(?:\/[A-Za-z0-9_-]+)*\.html$/.test(rel)) return null;
|
|
145
|
+
return { path: rel, hash: url.hash };
|
|
146
|
+
}
|
|
147
|
+
if (nonce && parentOrigin && document.body) {
|
|
148
|
+
const hoverBox = box("dsh-hover", "2px solid #2563eb", "rgba(37, 99, 235, 0.12)");
|
|
149
|
+
const pinBox = box("dsh-pin", "2px solid #b45309", "rgba(180, 83, 9, 0.1)");
|
|
150
|
+
const tip = document.createElement("div");
|
|
151
|
+
tip.id = "dsh-tip";
|
|
152
|
+
tip.setAttribute("aria-hidden", "true");
|
|
153
|
+
tip.style.setProperty("all", "initial");
|
|
154
|
+
tip.style.position = "fixed";
|
|
155
|
+
tip.style.pointerEvents = "none";
|
|
156
|
+
tip.style.zIndex = "2147483647";
|
|
157
|
+
tip.style.display = "none";
|
|
158
|
+
tip.style.font = "12px/1.3 ui-sans-serif, system-ui, sans-serif";
|
|
159
|
+
tip.style.color = "#fff";
|
|
160
|
+
tip.style.background = "#1c1917";
|
|
161
|
+
tip.style.padding = "4px 8px";
|
|
162
|
+
tip.style.borderRadius = "6px";
|
|
163
|
+
tip.style.whiteSpace = "nowrap";
|
|
164
|
+
tip.style.maxWidth = "70vw";
|
|
165
|
+
tip.style.overflow = "hidden";
|
|
166
|
+
tip.style.textOverflow = "ellipsis";
|
|
167
|
+
document.documentElement.append(tip);
|
|
168
|
+
const body = adoptElement(document.body);
|
|
169
|
+
const elements = /* @__PURE__ */ new Map();
|
|
170
|
+
const nodes = /* @__PURE__ */ new WeakMap();
|
|
171
|
+
const index = (el, node) => {
|
|
172
|
+
nodes.set(el, node);
|
|
173
|
+
elements.set(node, el);
|
|
174
|
+
for (let i = 0; i < el.children.length; i++) index(el.children[i], node.rawChildren[i]);
|
|
175
|
+
};
|
|
176
|
+
index(document.body, body);
|
|
177
|
+
let armed = false;
|
|
178
|
+
let hoverEl = null;
|
|
179
|
+
let pinnedEl = null;
|
|
180
|
+
let hoverPath = "";
|
|
181
|
+
let queued = null;
|
|
182
|
+
let scheduled = false;
|
|
183
|
+
const post = (type, path, target) => {
|
|
184
|
+
const rect = target?.getBoundingClientRect();
|
|
185
|
+
const node = target ? nodes.get(target) : null;
|
|
186
|
+
window.parent.postMessage(
|
|
187
|
+
{
|
|
188
|
+
dsh: CHANNEL,
|
|
189
|
+
nonce,
|
|
190
|
+
type,
|
|
191
|
+
path,
|
|
192
|
+
tag: node?.tag ?? "",
|
|
193
|
+
classes: node?.classes ?? [],
|
|
194
|
+
text: node?.text ?? "",
|
|
195
|
+
rect: rect ? { x: rect.x, y: rect.y, width: rect.width, height: rect.height } : { x: 0, y: 0, width: 0, height: 0 }
|
|
196
|
+
},
|
|
197
|
+
parentOrigin
|
|
198
|
+
);
|
|
199
|
+
};
|
|
200
|
+
const nodeFor = (el) => {
|
|
201
|
+
let current = el;
|
|
202
|
+
while (current && current !== document.documentElement) {
|
|
203
|
+
if (current.id.startsWith("dsh-") || current.tagName === "SCRIPT") {
|
|
204
|
+
current = current.parentElement;
|
|
205
|
+
continue;
|
|
206
|
+
}
|
|
207
|
+
const found = nodes.get(current);
|
|
208
|
+
if (found) return found;
|
|
209
|
+
current = current.parentElement;
|
|
210
|
+
}
|
|
211
|
+
return null;
|
|
212
|
+
};
|
|
213
|
+
const hideHover = () => {
|
|
214
|
+
hoverEl = null;
|
|
215
|
+
hoverPath = "";
|
|
216
|
+
hoverBox.style.display = "none";
|
|
217
|
+
tip.style.display = "none";
|
|
218
|
+
post("leave", "", null);
|
|
219
|
+
};
|
|
220
|
+
const showTip = (el, node, path) => {
|
|
221
|
+
const rect = el.getBoundingClientRect();
|
|
222
|
+
const mention = mentionFrom(body, path);
|
|
223
|
+
const trail = mention ? mention.breadcrumb.map((item) => item.classes[0] ? `${item.tag}.${item.classes[0]}` : item.tag).join(" / ") : node.tag;
|
|
224
|
+
tip.textContent = `${trail} ${Math.round(rect.width)}\xD7${Math.round(rect.height)}`;
|
|
225
|
+
tip.style.display = "block";
|
|
226
|
+
const top = rect.top < 28 ? rect.bottom + 6 : rect.top - 26;
|
|
227
|
+
tip.style.left = `${Math.max(rect.left, 4)}px`;
|
|
228
|
+
tip.style.top = `${top}px`;
|
|
229
|
+
};
|
|
230
|
+
const hover = (el) => {
|
|
231
|
+
if (!el) {
|
|
232
|
+
hideHover();
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
const node = nodeFor(el);
|
|
236
|
+
if (!node) {
|
|
237
|
+
hideHover();
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
const path = pathTo(body, node);
|
|
241
|
+
const target = path == null ? null : elements.get(resolvePath(body, path)?.node ?? node);
|
|
242
|
+
if (path == null || !target) {
|
|
243
|
+
hideHover();
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
if (path === hoverPath) return;
|
|
247
|
+
hoverPath = path;
|
|
248
|
+
hoverEl = target;
|
|
249
|
+
place(hoverBox, target);
|
|
250
|
+
showTip(target, nodes.get(target) ?? node, path);
|
|
251
|
+
post("hover", path, target);
|
|
252
|
+
};
|
|
253
|
+
const pin = (el) => {
|
|
254
|
+
const node = nodeFor(el);
|
|
255
|
+
if (!node) return;
|
|
256
|
+
const path = pathTo(body, node);
|
|
257
|
+
if (path == null) return;
|
|
258
|
+
const target = elements.get(resolvePath(body, path)?.node ?? node);
|
|
259
|
+
if (!target) return;
|
|
260
|
+
pinnedEl = target;
|
|
261
|
+
place(pinBox, target);
|
|
262
|
+
post("select", path, target);
|
|
263
|
+
};
|
|
264
|
+
document.addEventListener("pointermove", (event) => {
|
|
265
|
+
if (!armed) return;
|
|
266
|
+
const hit = document.elementFromPoint(event.clientX, event.clientY);
|
|
267
|
+
queued = hit instanceof Element ? hit : null;
|
|
268
|
+
if (scheduled) return;
|
|
269
|
+
scheduled = true;
|
|
270
|
+
requestAnimationFrame(() => {
|
|
271
|
+
scheduled = false;
|
|
272
|
+
hover(queued);
|
|
273
|
+
});
|
|
274
|
+
});
|
|
275
|
+
document.documentElement.addEventListener("pointerleave", () => {
|
|
276
|
+
if (armed) hideHover();
|
|
277
|
+
});
|
|
278
|
+
document.addEventListener(
|
|
279
|
+
"click",
|
|
280
|
+
(event) => {
|
|
281
|
+
if (event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey) return;
|
|
282
|
+
const target = event.target;
|
|
283
|
+
if (!(target instanceof Element)) return;
|
|
284
|
+
if (armed) {
|
|
285
|
+
event.preventDefault();
|
|
286
|
+
event.stopPropagation();
|
|
287
|
+
pin(target);
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
const link = anchorPage(target);
|
|
291
|
+
if (!link) return;
|
|
292
|
+
if (link.path === pageName) {
|
|
293
|
+
if (!link.hash) event.preventDefault();
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
event.preventDefault();
|
|
297
|
+
event.stopPropagation();
|
|
298
|
+
post("open", link.hash ? `${link.path}${link.hash}` : link.path, null);
|
|
299
|
+
},
|
|
300
|
+
true
|
|
301
|
+
);
|
|
302
|
+
document.addEventListener(
|
|
303
|
+
"scroll",
|
|
304
|
+
() => {
|
|
305
|
+
if (!armed) return;
|
|
306
|
+
if (pinnedEl) place(pinBox, pinnedEl);
|
|
307
|
+
if (hoverEl) {
|
|
308
|
+
place(hoverBox, hoverEl);
|
|
309
|
+
const node = nodes.get(hoverEl);
|
|
310
|
+
if (node) showTip(hoverEl, node, hoverPath);
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
true
|
|
314
|
+
);
|
|
315
|
+
window.addEventListener("message", (event) => {
|
|
316
|
+
if (event.source !== window.parent || event.origin !== parentOrigin) return;
|
|
317
|
+
const data = event.data;
|
|
318
|
+
if (!data || data.dsh !== CHANNEL || data.nonce !== nonce) return;
|
|
319
|
+
if (data.type === "hello") {
|
|
320
|
+
post("ready", "", document.body);
|
|
321
|
+
return;
|
|
322
|
+
}
|
|
323
|
+
if (data.type === "focus" && typeof data.anchor === "string" && /^[A-Za-z][\w-]{0,64}$/.test(data.anchor)) {
|
|
324
|
+
document.getElementById(data.anchor)?.scrollIntoView({ block: "start" });
|
|
325
|
+
return;
|
|
326
|
+
}
|
|
327
|
+
if (data.type === "arm") {
|
|
328
|
+
armed = true;
|
|
329
|
+
if (pinnedEl) place(pinBox, pinnedEl);
|
|
330
|
+
return;
|
|
331
|
+
}
|
|
332
|
+
if (data.type === "disarm") {
|
|
333
|
+
armed = false;
|
|
334
|
+
hideHover();
|
|
335
|
+
pinBox.style.display = "none";
|
|
336
|
+
return;
|
|
337
|
+
}
|
|
338
|
+
if (data.type !== "pin") return;
|
|
339
|
+
if (typeof data.path !== "string" || !parsePath(data.path)) return;
|
|
340
|
+
const found = resolvePath(body, data.path);
|
|
341
|
+
const el = found ? elements.get(found.node) : null;
|
|
342
|
+
if (!el) return;
|
|
343
|
+
pinnedEl = el;
|
|
344
|
+
if (!armed) return;
|
|
345
|
+
place(pinBox, el);
|
|
346
|
+
el.scrollIntoView({ block: "nearest" });
|
|
347
|
+
});
|
|
348
|
+
post("ready", "", document.body);
|
|
349
|
+
}
|
|
350
|
+
})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thready-web/dsh-bot-plugin",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "DSH bot plugin: session persona, memory, work, hash routing, and the workbench. Pinned to @deepseek-ai/dsh 0.2.2-rc.1.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "node build.mjs",
|
|
34
|
+
"verify:publish": "node scripts/verify-publish.mjs",
|
|
34
35
|
"type-check": "tsc -p tsconfig.typecheck.json --noEmit && tsc -p tsconfig.client.json --noEmit",
|
|
35
36
|
"test": "node scripts/unit-tests.mjs",
|
|
36
37
|
"test:host": "npm run build && node --test test/host-integration.test.ts && node --test test/triggers-host.test.ts && node --test test/budget-host.test.ts && node --test test/activity-host.test.ts && node --test test/work-host.test.ts && node --test test/work-bash-host.test.ts",
|
|
@@ -41,16 +42,18 @@
|
|
|
41
42
|
"node": ">=22.18.0",
|
|
42
43
|
"dsh": ">=0.2.2-rc.1 <0.2.3-0"
|
|
43
44
|
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@deepseek-ai/dsh-session": "^0.2.2-rc.1",
|
|
47
|
+
"linkedom": "^0.18.15"
|
|
48
|
+
},
|
|
44
49
|
"devDependencies": {
|
|
45
50
|
"@biomejs/biome": "^2.6.6",
|
|
46
51
|
"@deepseek-ai/cordis": "~4.1.0",
|
|
47
52
|
"@deepseek-ai/dsh-api-session-controller": "^0.2.2-rc.1",
|
|
48
53
|
"@deepseek-ai/dsh-client-connection": "^0.2.2-rc.1",
|
|
49
|
-
"@deepseek-ai/dsh-session": "^0.2.2-rc.1",
|
|
50
54
|
"@deepseek-ai/dsh-session-query": "^0.2.2-rc.1",
|
|
51
55
|
"@types/node": "^24.10.0",
|
|
52
56
|
"esbuild": "^0.25.0",
|
|
53
|
-
"linkedom": "^0.18.15",
|
|
54
57
|
"typescript": "^5.9.3"
|
|
55
58
|
},
|
|
56
59
|
"dsh": {
|