@deepseek-insight/dsi 0.5.30 → 0.5.31

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.
Files changed (32) hide show
  1. package/build/client/_app/immutable/assets/{0.Ckapanfk.css → 0.CeQisprJ.css} +1 -1
  2. package/build/client/_app/immutable/chunks/{DX_pn7Eg.js → 2on6iyc3.js} +1 -1
  3. package/build/client/_app/immutable/chunks/3oS6cDzS.js +1 -0
  4. package/build/client/_app/immutable/chunks/BG5jnpAS.js +1 -0
  5. package/build/client/_app/immutable/chunks/{smd3Jq9O.js → CgNCitGK.js} +2 -2
  6. package/build/client/_app/immutable/entry/{app.CIeDJy8c.js → app.CQmyDBAG.js} +2 -2
  7. package/build/client/_app/immutable/entry/start.CX9hkEBk.js +1 -0
  8. package/build/client/_app/immutable/nodes/{1.VxhMSm3s.js → 1.BZc7zU_C.js} +1 -1
  9. package/build/client/_app/immutable/nodes/2.Bl8zOReA.js +174 -0
  10. package/build/client/_app/version.json +1 -1
  11. package/build/handler.js +4 -4
  12. package/build/index.js +4 -4
  13. package/build/server/chunks/chunks/{internal.js-Cr424dfu.js → internal.js-BtKbXGxV.js} +2 -2
  14. package/build/server/chunks/chunks/{state.js-BPfg8KK0.js → state.js-DO4TvfeY.js} +2 -2
  15. package/build/server/chunks/entries/endpoints/api/terminal/_id_/reattach/_server.ts.js-wSsMKLiw.js +34 -0
  16. package/build/server/chunks/entries/endpoints/api/terminal/_id_/stream/{_server.ts.js-_-HKTzoH.js → _server.ts.js-C8PLMU0Y.js} +64 -43
  17. package/build/server/chunks/entries/pages/{_error.svelte.js-izlnhqFW.js → _error.svelte.js-BppCLlQz.js} +3 -3
  18. package/build/server/chunks/entries/pages/{_page.svelte.js-DOcEfh5K.js → _page.svelte.js-B26jgDy0.js} +11 -42
  19. package/build/server/chunks/{handler-t4JeFn6X.js → handler-H035jucs.js} +3 -3
  20. package/build/server/chunks/{index.js-DgUdoRMr.js → index.js-BwOnKfpd.js} +2 -2
  21. package/build/server/chunks/{manifest.js-CuVIAGaj.js → manifest.js-DSGtd5rA.js} +13 -6
  22. package/build/server/chunks/nodes/{0.js-DphETTOT.js → 0.js--kZVi_Mf.js} +3 -3
  23. package/build/server/chunks/nodes/1.js-CyCPH90h.js +9 -0
  24. package/build/server/chunks/nodes/{2.js-CmddEN1j.js → 2.js-Bws89uBE.js} +3 -3
  25. package/package.json +1 -1
  26. package/template/.dsi/resources/skills-reff.md +1 -1
  27. package/build/client/_app/immutable/chunks/BK9eh7ly.js +0 -1
  28. package/build/client/_app/immutable/chunks/DFcmLsZu.js +0 -1
  29. package/build/client/_app/immutable/entry/start.BdDgymYC.js +0 -1
  30. package/build/client/_app/immutable/nodes/2.xvwoCX2a.js +0 -174
  31. package/build/server/chunks/nodes/1.js-3gG-llw5.js +0 -9
  32. /package/build/client/_app/immutable/nodes/{0.tkrxyU6K.js → 0.CioJu6OT.js} +0 -0
@@ -1 +1 @@
1
- {"version":"1790219300968"}
1
+ {"version":"1790236235541"}
package/build/handler.js CHANGED
@@ -2,9 +2,9 @@ import './shims.js';
2
2
  import 'node:fs';
3
3
  import 'node:path';
4
4
  import 'node:process';
5
- export { h as handler } from './server/chunks/handler-t4JeFn6X.js';
6
- import './server/chunks/index.js-DgUdoRMr.js';
7
- import './server/chunks/manifest.js-CuVIAGaj.js';
5
+ export { h as handler } from './server/chunks/handler-H035jucs.js';
6
+ import './server/chunks/index.js-BwOnKfpd.js';
7
+ import './server/chunks/manifest.js-DSGtd5rA.js';
8
8
  import './env.js';
9
9
  import 'node:buffer';
10
10
  import 'node:crypto';
@@ -16,7 +16,7 @@ import './server/chunks/chunks/shared.js-HQ0rfhm4.js';
16
16
  import './server/chunks/chunks/uneval.js-BJ9Qq2SF.js';
17
17
  import './server/chunks/chunks/utils.js-CAdNO8Tu.js';
18
18
  import 'node:url';
19
- import './server/chunks/chunks/internal.js-Cr424dfu.js';
19
+ import './server/chunks/chunks/internal.js-BtKbXGxV.js';
20
20
  import './server/chunks/chunks/server.js-11-pxAWV.js';
21
21
  import './server/chunks/chunks/internal2.js-BcS47nI-.js';
22
22
  import './server/chunks/chunks/exports.js-DH_tjtdv.js';
package/build/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import http from 'node:http';
2
2
  import fs__default from 'node:fs';
3
3
  import process from 'node:process';
4
- import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-t4JeFn6X.js';
4
+ import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-H035jucs.js';
5
5
  import { env, timeout_env } from './env.js';
6
6
  import { rm } from 'node:fs/promises';
7
7
  import './shims.js';
@@ -14,12 +14,12 @@ import 'node:stream';
14
14
  import './server/chunks/chunks/shared.js-HQ0rfhm4.js';
15
15
  import './server/chunks/chunks/uneval.js-BJ9Qq2SF.js';
16
16
  import './server/chunks/chunks/utils.js-CAdNO8Tu.js';
17
- import './server/chunks/index.js-DgUdoRMr.js';
18
- import './server/chunks/chunks/internal.js-Cr424dfu.js';
17
+ import './server/chunks/index.js-BwOnKfpd.js';
18
+ import './server/chunks/chunks/internal.js-BtKbXGxV.js';
19
19
  import './server/chunks/chunks/server.js-11-pxAWV.js';
20
20
  import './server/chunks/chunks/internal2.js-BcS47nI-.js';
21
21
  import './server/chunks/chunks/exports.js-DH_tjtdv.js';
22
- import './server/chunks/manifest.js-CuVIAGaj.js';
22
+ import './server/chunks/manifest.js-DSGtd5rA.js';
23
23
  import 'node:url';
24
24
 
25
25
  const path = env('SOCKET_PATH', false);
@@ -722,7 +722,7 @@ var options = {
722
722
  app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"%paraglide.locale%\">\n <head>\n <meta charset=\"utf-8\" />\n <link rel=\"icon\" href=\"" + assets + "/favicon.svg\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n " + head + "\n </head>\n <body data-sveltekit-preload-data=\"tap\">\n <div style=\"display: contents\">" + body + "</div>\n </body>\n</html>\n",
723
723
  error: error_template_default
724
724
  },
725
- version_hash: "k16juc"
725
+ version_hash: "pngz7d"
726
726
  };
727
727
  async function get_hooks() {
728
728
  let handle;
@@ -745,4 +745,4 @@ async function get_hooks() {
745
745
  }
746
746
 
747
747
  export { __commonJSMin as _, set_public_env as a, set_read_implementation as b, onDestroy as c, __exportAll as d, get_hooks as g, index_server_exports as i, options as o, public_env as p, read_implementation as r, set_private_env as s };
748
- //# sourceMappingURL=internal.js-Cr424dfu.js.map
748
+ //# sourceMappingURL=internal.js-BtKbXGxV.js.map
@@ -1,4 +1,4 @@
1
- import { i as index_server_exports } from './internal.js-Cr424dfu.js';
1
+ import { i as index_server_exports } from './internal.js-BtKbXGxV.js';
2
2
  import './shared.js-HQ0rfhm4.js';
3
3
  import './exports.js-DH_tjtdv.js';
4
4
  import { U as snapshot, J as getContext, G as noop } from './server.js-11-pxAWV.js';
@@ -303,4 +303,4 @@ var page = {
303
303
  };
304
304
 
305
305
  export { afterNavigate as a, backtoworkspace2 as b, replaceState as c, dshunreachable1 as d, currentLocale as e, page as p, reapednote1 as r, sessionnotfound2 as s, t, unexpectederror1 as u };
306
- //# sourceMappingURL=state.js-BPfg8KK0.js.map
306
+ //# sourceMappingURL=state.js-DO4TvfeY.js.map
@@ -0,0 +1,34 @@
1
+ import { t as terminalRegistry, T as TerminalRegistryRefusal } from '../../../../../../chunks/registry.js-G1hzOje_.js';
2
+ import { j as json } from '../../../../../../chunks/utils.js-CAdNO8Tu.js';
3
+ import 'node:path';
4
+ import 'node:os';
5
+ import 'node:fs/promises';
6
+ import 'node:child_process';
7
+ import 'node:crypto';
8
+ import 'node:events';
9
+ import 'node-pty';
10
+ import '../../../../../../chunks/shared.js-HQ0rfhm4.js';
11
+ import '../../../../../../chunks/uneval.js-BJ9Qq2SF.js';
12
+
13
+ //#region src/routes/api/terminal/[id]/reattach/+server.ts
14
+ /**
15
+ * /api/terminal/[id]/reattach — token re-mint for a page reload (The
16
+ * Surviving Shell, ADR 2026-09-24 D2): a thin POST over the registry's
17
+ * reattach — the asking tab gets a fresh token and the session's whole-
18
+ * stream byte tail; the old token dies (many watchers, one writer).
19
+ */
20
+ var POST = (ctx) => {
21
+ try {
22
+ const { token, fromByte } = terminalRegistry.reattach(ctx.params.id);
23
+ return json({
24
+ token,
25
+ fromByte
26
+ });
27
+ } catch (err) {
28
+ if (err instanceof TerminalRegistryRefusal) return json({ error: err.code }, { status: err.code === "NO_SESSION" ? 404 : 403 });
29
+ throw err;
30
+ }
31
+ };
32
+
33
+ export { POST };
34
+ //# sourceMappingURL=_server.ts.js-wSsMKLiw.js.map
@@ -19,6 +19,12 @@ import '../../../../../../chunks/uneval.js-BJ9Qq2SF.js';
19
19
  * the stream ends after closed. fromByte resumes a late attacher from the
20
20
  * ring tail; a slid-out offset reports lossy and names the spill.
21
21
  * X-Accel-Buffering: no keeps reverse proxies from buffering the stream.
22
+ *
23
+ * Cancel arm (crash RCA 2026-09-24): a CLIENT going away (reload / tab
24
+ * close) cancels the ReadableStream while the PTY lives on — without
25
+ * dropping the session listener there, the next output chunk enqueues
26
+ * into a dead controller and the ERR_INVALID_STATE throw kills the
27
+ * server process.
22
28
  */
23
29
  var SSE_HEADERS = {
24
30
  "content-type": "text/event-stream",
@@ -42,54 +48,69 @@ var GET = (ctx) => {
42
48
  const session = terminalRegistry.events(id);
43
49
  if (!session) return json({ error: "NO_SESSION" }, { status: 404 });
44
50
  const encoder = new TextEncoder();
45
- const stream = new ReadableStream({ start(controller) {
46
- let closed = false;
47
- const enqueue = (chunk) => {
48
- if (!closed) controller.enqueue(encoder.encode(chunk));
49
- };
50
- const read = session.readFrom(fromByte);
51
- enqueue(sseFrame("output", {
52
- text: read.text,
53
- nextOffset: read.nextOffset,
54
- lossy: read.lossy,
55
- spillPath: read.spillPath
56
- }));
57
- const onEvent = (event) => {
58
- if (event.type === "output") {
59
- enqueue(sseFrame("output", {
60
- text: event.bytes,
61
- nextOffset: event.nextOffset,
62
- lossy: false
63
- }));
64
- return;
65
- }
66
- if (event.type === "settled") {
67
- enqueue(sseFrame("settled", { reason: event.reason }));
68
- return;
69
- }
70
- if (event.type === "exit") {
71
- enqueue(sseFrame("exit", { outcome: event.outcome }));
72
- return;
73
- }
74
- if (event.type === "closed") {
75
- enqueue(sseFrame("closed", {
76
- quiescent: event.quiescent,
77
- lingeringPids: event.lingeringPids
78
- }));
79
- closed = true;
51
+ const state = { closed: false };
52
+ let onEvent = () => void 0;
53
+ const stream = new ReadableStream({
54
+ start(controller) {
55
+ const enqueue = (chunk) => {
56
+ if (state.closed) return;
57
+ try {
58
+ controller.enqueue(encoder.encode(chunk));
59
+ } catch {
60
+ state.closed = true;
61
+ }
62
+ };
63
+ const read = session.readFrom(fromByte);
64
+ enqueue(sseFrame("output", {
65
+ text: read.text,
66
+ nextOffset: read.nextOffset,
67
+ lossy: read.lossy,
68
+ spillPath: read.spillPath
69
+ }));
70
+ onEvent = (event) => {
71
+ if (event.type === "output") {
72
+ enqueue(sseFrame("output", {
73
+ text: event.bytes,
74
+ nextOffset: event.nextOffset,
75
+ lossy: false
76
+ }));
77
+ return;
78
+ }
79
+ if (event.type === "settled") {
80
+ enqueue(sseFrame("settled", { reason: event.reason }));
81
+ return;
82
+ }
83
+ if (event.type === "exit") {
84
+ enqueue(sseFrame("exit", { outcome: event.outcome }));
85
+ return;
86
+ }
87
+ if (event.type === "closed") {
88
+ enqueue(sseFrame("closed", {
89
+ quiescent: event.quiescent,
90
+ lingeringPids: event.lingeringPids
91
+ }));
92
+ state.closed = true;
93
+ session.off("event", onEvent);
94
+ try {
95
+ controller.close();
96
+ } catch {}
97
+ }
98
+ };
99
+ session.on("event", onEvent);
100
+ if (session.isExited() && terminalRegistry.exitOutcome(id) !== null && !terminalRegistry.list().some((s) => s.id === id)) {
101
+ enqueue(sseFrame("error", { error: "NO_SESSION" }));
102
+ state.closed = true;
80
103
  session.off("event", onEvent);
81
104
  controller.close();
82
105
  }
83
- };
84
- session.on("event", onEvent);
85
- if (session.isExited() && terminalRegistry.exitOutcome(id) !== null && !terminalRegistry.list().some((s) => s.id === id)) {
86
- enqueue(sseFrame("error", { error: "NO_SESSION" }));
87
- closed = true;
88
- controller.close();
106
+ },
107
+ cancel() {
108
+ state.closed = true;
109
+ session.off("event", onEvent);
89
110
  }
90
- } });
111
+ });
91
112
  return new Response(stream, { headers: SSE_HEADERS });
92
113
  };
93
114
 
94
115
  export { GET };
95
- //# sourceMappingURL=_server.ts.js-_-HKTzoH.js.map
116
+ //# sourceMappingURL=_server.ts.js-C8PLMU0Y.js.map
@@ -1,7 +1,7 @@
1
1
  import { V as head, W as escape_html, y as derived } from '../../chunks/server.js-11-pxAWV.js';
2
- import { t, p as page, s as sessionnotfound2, r as reapednote1, d as dshunreachable1, u as unexpectederror1, b as backtoworkspace2 } from '../../chunks/state.js-BPfg8KK0.js';
2
+ import { t, p as page, s as sessionnotfound2, r as reapednote1, d as dshunreachable1, u as unexpectederror1, b as backtoworkspace2 } from '../../chunks/state.js-DO4TvfeY.js';
3
3
  import '../../chunks/uneval.js-BJ9Qq2SF.js';
4
- import '../../chunks/internal.js-Cr424dfu.js';
4
+ import '../../chunks/internal.js-BtKbXGxV.js';
5
5
  import '../../chunks/shared.js-HQ0rfhm4.js';
6
6
  import '../../chunks/exports.js-DH_tjtdv.js';
7
7
  import '../../chunks/config.js-B0w1-uCA.js';
@@ -40,4 +40,4 @@ function _error($$renderer, $$props) {
40
40
  }
41
41
 
42
42
  export { _error as default };
43
- //# sourceMappingURL=_error.svelte.js-izlnhqFW.js.map
43
+ //# sourceMappingURL=_error.svelte.js-BppCLlQz.js.map
@@ -1,4 +1,4 @@
1
- import { c as onDestroy, d as __exportAll } from '../../chunks/internal.js-Cr424dfu.js';
1
+ import { c as onDestroy, d as __exportAll } from '../../chunks/internal.js-BtKbXGxV.js';
2
2
  import { V as head, y as derived, X as bind_props, W as escape_html, Y as attr, Z as attr_style, _ as attr_class, x as setContext, $ as spread_props, a0 as attributes, a1 as clsx, a2 as ensure_array_like, a3 as element, J as getContext, a4 as stringify, a5 as html, F as run, a6 as props_id } from '../../chunks/server.js-11-pxAWV.js';
3
3
  import { U as UI_LOCALES } from '../../chunks/config.js-B0w1-uCA.js';
4
4
  import { m as mergeEntries, c as collapseSystemPromptEntries, t as truncate } from '../../chunks/dsh-events.js-DEZgATm-.js';
@@ -7,7 +7,7 @@ import { b as applyKnobEvent, E as EMPTY_KNOBS, r as resolvePermission, l as loc
7
7
  import { D as DEFAULT_IMAGE_LIMITS } from '../../chunks/image-limits.js-CUdJ0f7r.js';
8
8
  import { a as appConfig, t as triggerMode, g as getTrigger, p as previewSegments, i as isValidTagWord, b as textPreviewOf, s as searchKey, c as shouldRecordPrompt, d as parseTagWords } from '../../chunks/app-config.svelte.js-BBPHOX4N.js';
9
9
  import { c as getLocale } from '../../chunks/runtime.js-CCJi3XaY.js';
10
- import { p as page, a as afterNavigate, t, c as replaceState, e as currentLocale, u as unexpectederror1, s as sessionnotfound2, r as reapednote1, d as dshunreachable1, b as backtoworkspace2 } from '../../chunks/state.js-BPfg8KK0.js';
10
+ import { p as page, a as afterNavigate, t, c as replaceState, e as currentLocale, u as unexpectederror1, s as sessionnotfound2, r as reapednote1, d as dshunreachable1, b as backtoworkspace2 } from '../../chunks/state.js-DO4TvfeY.js';
11
11
  import 'yaml';
12
12
  import 'html-to-image';
13
13
  import hljs from 'highlight.js/lib/core';
@@ -10742,38 +10742,6 @@ var tags = ((inputs = {}, options = {}) => {
10742
10742
  return en_tags();
10743
10743
  });
10744
10744
  //#endregion
10745
- //#region src/lib/paraglide/messages/terminalclose1.js
10746
- /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
10747
- /** @typedef {{}} Terminalclose1Inputs */
10748
- var en_terminalclose1 = () => {
10749
- return `Close`;
10750
- };
10751
- var zh_terminalclose1 = () => {
10752
- return `关闭`;
10753
- };
10754
- var id_terminalclose1 = () => {
10755
- return `Tutup`;
10756
- };
10757
- var es_terminalclose1 = () => {
10758
- return `Cerrar`;
10759
- };
10760
- /**
10761
- * | output |
10762
- * | --- |
10763
- * | "Close" |
10764
- *
10765
- * @param {Terminalclose1Inputs} inputs
10766
- * @param {{ locale?: "en" | "zh" | "id" | "es" }} options
10767
- * @returns {LocalizedString}
10768
- */
10769
- var terminalclose1 = ((inputs = {}, options = {}) => {
10770
- const locale = options.locale ?? getLocale();
10771
- if (locale === "zh") return zh_terminalclose1();
10772
- if (locale === "id") return id_terminalclose1();
10773
- if (locale === "es") return es_terminalclose1();
10774
- return en_terminalclose1();
10775
- });
10776
- //#endregion
10777
10745
  //#region src/lib/paraglide/messages/terminalclosed1.js
10778
10746
  /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
10779
10747
  /** @typedef {{}} Terminalclosed1Inputs */
@@ -12587,7 +12555,6 @@ var _index_exports = /* @__PURE__ */ __exportAll({
12587
12555
  syncComposer: () => synccomposer1,
12588
12556
  systemPrompt: () => systemprompt1,
12589
12557
  tags: () => tags,
12590
- terminalClose: () => terminalclose1,
12591
12558
  terminalClosed: () => terminalclosed1,
12592
12559
  terminalDisabled: () => terminaldisabled1,
12593
12560
  terminalOpening: () => terminalopening1,
@@ -12979,7 +12946,6 @@ var messages_exports = /* @__PURE__ */ __exportAll({
12979
12946
  syncComposer: () => synccomposer1,
12980
12947
  systemPrompt: () => systemprompt1,
12981
12948
  tags: () => tags,
12982
- terminalClose: () => terminalclose1,
12983
12949
  terminalClosed: () => terminalclosed1,
12984
12950
  terminalDisabled: () => terminaldisabled1,
12985
12951
  terminalOpening: () => terminalopening1,
@@ -25818,9 +25784,7 @@ function TerminalPanel($$renderer, $$props) {
25818
25784
  $$renderer.push("<!--[0-->");
25819
25785
  $$renderer.push(`<span data-testid="terminal-settle-badge" class="rounded bg-slate-700 px-1.5 py-0.5">${escape_html(settleText(panelState.lastSettle))}</span>`);
25820
25786
  } else $$renderer.push("<!--[-1-->");
25821
- $$renderer.push(`<!--]--> <div class="grow"></div> `);
25822
- $$renderer.push("<!--[-1-->");
25823
- $$renderer.push(`<!--]--></div> `);
25787
+ $$renderer.push(`<!--]--> <div class="grow"></div></div> `);
25824
25788
  $$renderer.push("<!--[-1-->");
25825
25789
  $$renderer.push(`<div class="relative min-h-72 grow overflow-hidden" data-testid="terminal-host" role="presentation"><div class="absolute inset-0"></div></div> `);
25826
25790
  $$renderer.push("<!--[-1-->");
@@ -27458,7 +27422,7 @@ function isPanelEntry(value) {
27458
27422
  if (value === null || typeof value !== "object") return false;
27459
27423
  const entry = value;
27460
27424
  if (typeof entry.id !== "string" || entry.id.length === 0) return false;
27461
- if (entry.kind !== void 0 && entry.kind !== "conversation" && entry.kind !== "prompt-manager" && entry.kind !== "settings-editor" && entry.kind !== "injected-doc" && entry.kind !== "skill-shelf" && entry.kind !== "workspace-explorer" && entry.kind !== "workspace-file") return false;
27425
+ if (entry.kind !== void 0 && entry.kind !== "conversation" && entry.kind !== "prompt-manager" && entry.kind !== "settings-editor" && entry.kind !== "injected-doc" && entry.kind !== "skill-shelf" && entry.kind !== "workspace-explorer" && entry.kind !== "workspace-file" && entry.kind !== "terminal") return false;
27462
27426
  if (entry.kind === "settings-editor" && entry.target !== "dsi" && entry.target !== "dsh") return false;
27463
27427
  if (entry.kind === "workspace-explorer") {
27464
27428
  if (entry.sessionId !== null && (typeof entry.sessionId !== "string" || entry.sessionId.length === 0)) return false;
@@ -27475,7 +27439,7 @@ function isPanelEntry(value) {
27475
27439
  if (typeof entry.sourceSessionId !== "string" || entry.sourceSessionId.length === 0) return false;
27476
27440
  if (typeof entry.displayPath !== "string" || entry.displayPath.length === 0) return false;
27477
27441
  }
27478
- if (entry.kind !== "prompt-manager" && entry.kind !== "settings-editor" && entry.kind !== "skill-shelf" && entry.kind !== "injected-doc" && entry.kind !== "workspace-explorer" && entry.kind !== "workspace-file") {
27442
+ if (entry.kind !== "prompt-manager" && entry.kind !== "settings-editor" && entry.kind !== "skill-shelf" && entry.kind !== "injected-doc" && entry.kind !== "workspace-explorer" && entry.kind !== "workspace-file" && entry.kind !== "terminal") {
27479
27443
  if (typeof entry.sessionId !== "string" || entry.sessionId.length === 0) return false;
27480
27444
  if (entry.agentPreset !== void 0 && typeof entry.agentPreset !== "string" && entry.agentPreset !== null) return false;
27481
27445
  }
@@ -27502,6 +27466,11 @@ function sanitizePanels(raw) {
27502
27466
  kind: "prompt-manager",
27503
27467
  width
27504
27468
  };
27469
+ if (entry.kind === "terminal") return {
27470
+ id: entry.id,
27471
+ kind: "terminal",
27472
+ width
27473
+ };
27505
27474
  if (entry.kind === "settings-editor") return {
27506
27475
  id: entry.id,
27507
27476
  kind: "settings-editor",
@@ -28978,4 +28947,4 @@ function _page($$renderer, $$props) {
28978
28947
  }
28979
28948
 
28980
28949
  export { _page as default };
28981
- //# sourceMappingURL=_page.svelte.js-DOcEfh5K.js.map
28950
+ //# sourceMappingURL=_page.svelte.js-B26jgDy0.js.map
@@ -9,8 +9,8 @@ import * as qs from 'node:querystring';
9
9
  import { Readable } from 'node:stream';
10
10
  import { S as SvelteKitError } from './chunks/shared.js-HQ0rfhm4.js';
11
11
  import './chunks/utils.js-CAdNO8Tu.js';
12
- import { S as Server } from './index.js-DgUdoRMr.js';
13
- import { m as manifest } from './manifest.js-CuVIAGaj.js';
12
+ import { S as Server } from './index.js-BwOnKfpd.js';
13
+ import { m as manifest } from './manifest.js-DSGtd5rA.js';
14
14
  import { env, dir, env_prefix } from '../../env.js';
15
15
  import { format } from 'node:url';
16
16
 
@@ -1732,4 +1732,4 @@ const handler = sequence(
1732
1732
  );
1733
1733
 
1734
1734
  export { format_listening_address as f, handler as h, polka as p };
1735
- //# sourceMappingURL=handler-t4JeFn6X.js.map
1735
+ //# sourceMappingURL=handler-H035jucs.js.map
@@ -1,4 +1,4 @@
1
- import { _ as __commonJSMin, o as options, s as set_private_env, a as set_public_env, g as get_hooks, p as public_env, r as read_implementation, b as set_read_implementation } from './chunks/internal.js-Cr424dfu.js';
1
+ import { _ as __commonJSMin, o as options, s as set_private_env, a as set_public_env, g as get_hooks, p as public_env, r as read_implementation, b as set_read_implementation } from './chunks/internal.js-BtKbXGxV.js';
2
2
  import { n as noop, T as TRAILING_SLASH_PARAM, I as INVALIDATED_PARAM, R as Redirect, b as get_relative_path, S as SvelteKitError, g as get_status, t as text_encoder, o as once, H as HttpError, d as normalize_error, e as create_remote_key, f as parse_remote_arg, s as stringify, h as stringify$1, A as ActionFailure, i as split_remote_key, j as base64_encode } from './chunks/shared.js-HQ0rfhm4.js';
3
3
  import { b as base, o as override, a as assets, r as reset, c as app_dir } from './chunks/internal2.js-BcS47nI-.js';
4
4
  import { f as format_server_error, j as json, i as is_form_content_type, t as text, h as has_prerendered_path, a as handle_fatal_error, r as redirect_response, g as get_set_cookies, n as negotiate, w as with_request_store, p as parseString, m as merge_tracing, b as method_not_allowed, s as static_error_page, c as handle_error_and_jsonify, d as get_global_name, e as create_replacer, k as serialize_uses, l as clarify_devalue_error, E as ENDPOINT_METHODS, P as PAGE_METHODS, o as get_node_type, q as isRedirect, u as escape_html, v as error, x as deserialize_binary_form } from './chunks/utils.js-CAdNO8Tu.js';
@@ -3861,4 +3861,4 @@ var Server = class {
3861
3861
  };
3862
3862
 
3863
3863
  export { Server as S };
3864
- //# sourceMappingURL=index.js-DgUdoRMr.js.map
3864
+ //# sourceMappingURL=index.js-BwOnKfpd.js.map
@@ -10,11 +10,11 @@ return {
10
10
  assets: new Set(["favicon.svg"]),
11
11
  mimeTypes: {".svg":"image/svg+xml"},
12
12
  _: {
13
- client: {start:"_app/immutable/entry/start.BdDgymYC.js",app:"_app/immutable/entry/app.CIeDJy8c.js",imports:["_app/immutable/entry/start.BdDgymYC.js","_app/immutable/chunks/smd3Jq9O.js","_app/immutable/chunks/DnA33f7e.js","_app/immutable/entry/app.CIeDJy8c.js","_app/immutable/chunks/DnA33f7e.js","_app/immutable/chunks/HclGiUj8.js","_app/immutable/chunks/xihTtKlq.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
13
+ client: {start:"_app/immutable/entry/start.CX9hkEBk.js",app:"_app/immutable/entry/app.CQmyDBAG.js",imports:["_app/immutable/entry/start.CX9hkEBk.js","_app/immutable/chunks/CgNCitGK.js","_app/immutable/chunks/DnA33f7e.js","_app/immutable/entry/app.CQmyDBAG.js","_app/immutable/chunks/DnA33f7e.js","_app/immutable/chunks/HclGiUj8.js","_app/immutable/chunks/xihTtKlq.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
14
14
  nodes: [
15
- __memo(() => import('./nodes/0.js-DphETTOT.js')),
16
- __memo(() => import('./nodes/1.js-3gG-llw5.js')),
17
- __memo(() => import('./nodes/2.js-CmddEN1j.js'))
15
+ __memo(() => import('./nodes/0.js--kZVi_Mf.js')),
16
+ __memo(() => import('./nodes/1.js-CyCPH90h.js')),
17
+ __memo(() => import('./nodes/2.js-Bws89uBE.js'))
18
18
  ],
19
19
  remotes: {
20
20
 
@@ -342,6 +342,13 @@ return {
342
342
  page: null,
343
343
  endpoint: __memo(() => import('./entries/endpoints/api/terminal/_id_/output/_server.ts.js-m6Cug5hN.js'))
344
344
  },
345
+ {
346
+ id: "/api/terminal/[id]/reattach",
347
+ pattern: /^\/api\/terminal\/([^/]+?)\/reattach\/?$/,
348
+ params: [{"name":"id","optional":false,"rest":false,"chained":false}],
349
+ page: null,
350
+ endpoint: __memo(() => import('./entries/endpoints/api/terminal/_id_/reattach/_server.ts.js-wSsMKLiw.js'))
351
+ },
345
352
  {
346
353
  id: "/api/terminal/[id]/send",
347
354
  pattern: /^\/api\/terminal\/([^/]+?)\/send\/?$/,
@@ -354,7 +361,7 @@ return {
354
361
  pattern: /^\/api\/terminal\/([^/]+?)\/stream\/?$/,
355
362
  params: [{"name":"id","optional":false,"rest":false,"chained":false}],
356
363
  page: null,
357
- endpoint: __memo(() => import('./entries/endpoints/api/terminal/_id_/stream/_server.ts.js-_-HKTzoH.js'))
364
+ endpoint: __memo(() => import('./entries/endpoints/api/terminal/_id_/stream/_server.ts.js-C8PLMU0Y.js'))
358
365
  },
359
366
  {
360
367
  id: "/api/workspace/file-write",
@@ -410,4 +417,4 @@ return {
410
417
  })();
411
418
 
412
419
  export { manifest as m };
413
- //# sourceMappingURL=manifest.js-CuVIAGaj.js.map
420
+ //# sourceMappingURL=manifest.js-DSGtd5rA.js.map
@@ -4,9 +4,9 @@ const index = 0;
4
4
  let component_cache;
5
5
  const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js-EFiihTdF.js')).default;
6
6
  const universal_id = "src/routes/+layout.ts";
7
- const imports = ["_app/immutable/nodes/0.tkrxyU6K.js","_app/immutable/chunks/DnA33f7e.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/CT33sMmw.js","_app/immutable/chunks/DlfWhx6l.js"];
8
- const stylesheets = ["_app/immutable/assets/0.Ckapanfk.css"];
7
+ const imports = ["_app/immutable/nodes/0.CioJu6OT.js","_app/immutable/chunks/DnA33f7e.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/CT33sMmw.js","_app/immutable/chunks/DlfWhx6l.js"];
8
+ const stylesheets = ["_app/immutable/assets/0.CeQisprJ.css"];
9
9
  const fonts = [];
10
10
 
11
11
  export { component, fonts, imports, index, stylesheets, universal_id };
12
- //# sourceMappingURL=0.js-DphETTOT.js.map
12
+ //# sourceMappingURL=0.js--kZVi_Mf.js.map
@@ -0,0 +1,9 @@
1
+ const index = 1;
2
+ let component_cache;
3
+ const component = async () => component_cache ??= (await import('../entries/pages/_error.svelte.js-BppCLlQz.js')).default;
4
+ const imports = ["_app/immutable/nodes/1.BZc7zU_C.js","_app/immutable/chunks/DnA33f7e.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/2on6iyc3.js","_app/immutable/chunks/CgNCitGK.js","_app/immutable/chunks/DlfWhx6l.js"];
5
+ const stylesheets = [];
6
+ const fonts = [];
7
+
8
+ export { component, fonts, imports, index, stylesheets };
9
+ //# sourceMappingURL=1.js-CyCPH90h.js.map
@@ -17,11 +17,11 @@ import '../chunks/uneval.js-BJ9Qq2SF.js';
17
17
 
18
18
  const index = 2;
19
19
  let component_cache;
20
- const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js-DOcEfh5K.js')).default;
20
+ const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js-B26jgDy0.js')).default;
21
21
  const server_id = "src/routes/+page.server.ts";
22
- const imports = ["_app/immutable/nodes/2.xvwoCX2a.js","_app/immutable/chunks/DnA33f7e.js","_app/immutable/chunks/smd3Jq9O.js","_app/immutable/chunks/HclGiUj8.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/DlfWhx6l.js","_app/immutable/chunks/CT33sMmw.js","_app/immutable/chunks/DX_pn7Eg.js"];
22
+ const imports = ["_app/immutable/nodes/2.Bl8zOReA.js","_app/immutable/chunks/DnA33f7e.js","_app/immutable/chunks/CgNCitGK.js","_app/immutable/chunks/HclGiUj8.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/DlfWhx6l.js","_app/immutable/chunks/CT33sMmw.js","_app/immutable/chunks/2on6iyc3.js"];
23
23
  const stylesheets = ["_app/immutable/assets/2.DUjQJ-eX.css"];
24
24
  const fonts = [];
25
25
 
26
26
  export { component, fonts, imports, index, server_id, stylesheets };
27
- //# sourceMappingURL=2.js-CmddEN1j.js.map
27
+ //# sourceMappingURL=2.js-Bws89uBE.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepseek-insight/dsi",
3
- "version": "0.5.30",
3
+ "version": "0.5.31",
4
4
  "description": "See your multiple agents run on the floor (agent, sub-agent, etc), each conversation on the floor are updated instantly.",
5
5
  "keywords": [
6
6
  "Deepseek",
@@ -4,5 +4,5 @@ Skills Resources:
4
4
  1. [superpowers](https://github.com/obra/superpowers) - [Jesse Vincent](https://www.linkedin.com/in/jessevincent/)
5
5
  1. [web-quality-skills](https://github.com/addyosmani/web-quality-skills) - [Addy Osmani](https://www.linkedin.com/in/addyosmani/)
6
6
  1. [agent-skills](https://github.com/addyosmani/agent-skills) - [Addy Osmani](https://www.linkedin.com/in/addyosmani/)
7
- 1. [ECC](https://github.com/affaan-m/ECC/tree/main) - [Affaan M](https://www.linkedin.com/in/affaan-m/)
8
7
  1. [impeccable](https://github.com/pbakaus/impeccable) - [Paul Bakaus](https://www.linkedin.com/in/paulbakaus/)
8
+ 1. [ECC](https://github.com/affaan-m/ECC/tree/main) - [Affaan M](https://www.linkedin.com/in/affaan-m/)
@@ -1 +0,0 @@
1
- import{H as e}from"../nodes/2.xvwoCX2a.js";export{e as startPanelResize};
@@ -1 +0,0 @@
1
- import{r as e}from"../nodes/2.xvwoCX2a.js";export{e as stringify};
@@ -1 +0,0 @@
1
- import{o as e,r as t}from"../chunks/smd3Jq9O.js";export{e as load_css,t as start};