@deepseek-insight/dsi 0.6.4 → 0.6.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.
Files changed (38) hide show
  1. package/.agents/skills/dsi-task/SKILL.md +2 -2
  2. package/build/client/_app/immutable/assets/0.Cz4GQ8ND.css +2 -0
  3. package/build/client/_app/immutable/chunks/{DsZdPfqt.js → BLxS3bAX.js} +2 -2
  4. package/build/client/_app/immutable/chunks/{ifNG6R2V.js → BsHqd_cH.js} +1 -1
  5. package/build/client/_app/immutable/chunks/C_dVU9t5.js +1 -0
  6. package/build/client/_app/immutable/chunks/{CdhRVZei.js → Cgyrc8XY.js} +2 -2
  7. package/build/client/_app/immutable/chunks/DvyUTC20.js +1 -0
  8. package/build/client/_app/immutable/entry/{app.BZxw5dG4.js → app.BXy5ddPi.js} +2 -2
  9. package/build/client/_app/immutable/entry/start.DwMkMSKE.js +1 -0
  10. package/build/client/_app/immutable/nodes/{0.Ba4j9lPa.js → 0.CKr_pvH3.js} +1 -1
  11. package/build/client/_app/immutable/nodes/{1.DDxq2YPY.js → 1.i0ZfDYTy.js} +1 -1
  12. package/build/client/_app/immutable/nodes/2.BSH_1C9p.js +332 -0
  13. package/build/client/_app/version.json +1 -1
  14. package/build/handler.js +4 -4
  15. package/build/index.js +4 -4
  16. package/build/server/chunks/chunks/{app-config.svelte.js-BBPHOX4N.js → app-config.svelte.js-BW7TwbBy.js} +21 -17
  17. package/build/server/chunks/chunks/{db2.js-BDE3IYQf.js → db2.js-Cm8FBINY.js} +8 -7
  18. package/build/server/chunks/chunks/{internal.js-BzzxrDDl.js → internal.js-4KmCgr7P.js} +2 -2
  19. package/build/server/chunks/chunks/{state.js-BTxzeSxQ.js → state.js-Clfg_Bi6.js} +2 -2
  20. package/build/server/chunks/entries/endpoints/api/config/{_server.ts.js-CeSzWmzO.js → _server.ts.js-zogZnK_B.js} +2 -2
  21. package/build/server/chunks/entries/endpoints/api/prompts/_id_/{_server.ts.js-jiY6dVD-.js → _server.ts.js-u-regI3R.js} +2 -2
  22. package/build/server/chunks/entries/endpoints/api/prompts/{_server.ts.js-C0r4Wyxc.js → _server.ts.js-YtkQGu7O.js} +2 -2
  23. package/build/server/chunks/entries/endpoints/api/prompts/use/{_server.ts.js-wKxhb4I-.js → _server.ts.js-tv0ivn2x.js} +2 -2
  24. package/build/server/chunks/entries/pages/{_error.svelte.js-D3waDB7P.js → _error.svelte.js-VUpHsiKM.js} +3 -3
  25. package/build/server/chunks/entries/pages/{_page.svelte.js-CsfYmlsX.js → _page.svelte.js-Dwroj-cb.js} +19 -13
  26. package/build/server/chunks/{handler-B6-GSygl.js → handler-BNCD1i7S.js} +3 -3
  27. package/build/server/chunks/{index.js-CnMCjYHC.js → index.js-Cla9NLvA.js} +2 -2
  28. package/build/server/chunks/{manifest.js-0V3eqw-_.js → manifest.js-CmjuOLMb.js} +9 -9
  29. package/build/server/chunks/nodes/{0.js-D1vjUdTF.js → 0.js-PpYt5eF3.js} +3 -3
  30. package/build/server/chunks/nodes/1.js-CsqcOUEA.js +9 -0
  31. package/build/server/chunks/nodes/{2.js-BJORAo_U.js → 2.js-BljKgZ5E.js} +3 -3
  32. package/package.json +1 -1
  33. package/build/client/_app/immutable/assets/0.9KCWnpRq.css +0 -2
  34. package/build/client/_app/immutable/chunks/BwKqFYD7.js +0 -1
  35. package/build/client/_app/immutable/chunks/CAYtjzEm.js +0 -1
  36. package/build/client/_app/immutable/entry/start.Dokd35UA.js +0 -1
  37. package/build/client/_app/immutable/nodes/2.BtlOjw8Q.js +0 -331
  38. package/build/server/chunks/nodes/1.js-HaE4A25V.js +0 -9
@@ -1 +1 @@
1
- {"version":"1791150609025"}
1
+ {"version":"1791170025125"}
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-B6-GSygl.js';
6
- import './server/chunks/index.js-CnMCjYHC.js';
7
- import './server/chunks/manifest.js-0V3eqw-_.js';
5
+ export { h as handler } from './server/chunks/handler-BNCD1i7S.js';
6
+ import './server/chunks/index.js-Cla9NLvA.js';
7
+ import './server/chunks/manifest.js-CmjuOLMb.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-BzzxrDDl.js';
19
+ import './server/chunks/chunks/internal.js-4KmCgr7P.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-B6-GSygl.js';
4
+ import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-BNCD1i7S.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-CnMCjYHC.js';
18
- import './server/chunks/chunks/internal.js-BzzxrDDl.js';
17
+ import './server/chunks/index.js-Cla9NLvA.js';
18
+ import './server/chunks/chunks/internal.js-4KmCgr7P.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-0V3eqw-_.js';
22
+ import './server/chunks/manifest.js-CmjuOLMb.js';
23
23
  import 'node:url';
24
24
 
25
25
  const path = env('SOCKET_PATH', false);
@@ -9,20 +9,24 @@ function triggerMode(query) {
9
9
  }
10
10
  /**
11
11
  * Extract the finder trigger from input text + caret position.
12
- * Active when the text before the caret starts with a trigger char
13
- * ("?" find, "!" run — identical rules) and carries at least one more
14
- * character, with no newline in the before-caret slice (the finder is
15
- * single-line). Spaces are fine — multi-keyword queries are the
16
- * ";"-and-whitespace AND search.
12
+ * The query span is the slice from the start of the caret's LINE to the
13
+ * caret (ADR-0014 The Line Trigger D1): "?"-led spans activate on ANY
14
+ * line, so mid-draft shelf lookups work. "!"-led spans (run) stay
15
+ * first-line-only (D3): run-accept clears the whole draft, so a run
16
+ * trigger mid-draft would destroy the prose above it. The span never
17
+ * contains a newline by construction. Spaces are fine — multi-keyword
18
+ * queries are the ";"/","/"+"-and-whitespace AND search.
17
19
  * Returns the query including the trigger char, or null when inactive.
18
20
  */
19
21
  function getTrigger(text, caret) {
20
22
  const before = text.slice(0, caret);
21
- const lead = before[0];
23
+ const lineStart = before.lastIndexOf("\n") + 1;
24
+ const span = before.slice(lineStart);
25
+ const lead = span[0];
22
26
  if (lead !== "?" && lead !== "!") return null;
23
- if (before.length < 2) return null;
24
- if (before.includes("\n")) return null;
25
- return before;
27
+ if (span.length < 2) return null;
28
+ if (lead === "!" && lineStart > 0) return null;
29
+ return span;
26
30
  }
27
31
  /** Query-less search key sent to the server ("?load" → "load"; "!oci"
28
32
  * → "oci" — the bang strips exactly like the question mark). */
@@ -30,17 +34,17 @@ function searchKey(query) {
30
34
  return query.slice(1);
31
35
  }
32
36
  /**
33
- * Split a search key into keyword terms (AND semantics): split on ";" and
34
- * whitespace, trim, drop empties, dedupe case-insensitively (first
35
- * spelling wins). Mirrors the server-side splitQueryTerms in prompts/db.ts
36
- * — a shared unit test pins the parity (a single source would cross the
37
- * server/client boundary). `?load;skill;feature-spec` → ["load", "skill",
38
- * "feature-spec"].
37
+ * Split a search key into keyword terms (AND semantics): split on ";",
38
+ * ",", "+", or whitespace, trim, drop empties, dedupe case-insensitively
39
+ * (first spelling wins). Mirrors the server-side splitQueryTerms in
40
+ * prompts/db.ts — a shared unit test pins the parity (a single source
41
+ * would cross the server/client boundary). `?adr, spec + task` →
42
+ * ["adr", "spec", "task"] (ADR-0014 D2).
39
43
  */
40
44
  function splitKey(key) {
41
45
  const seen = /* @__PURE__ */ new Set();
42
46
  const terms = [];
43
- for (const frag of key.split(/[;\s]+/)) {
47
+ for (const frag of key.split(/[,;+\s]+/)) {
44
48
  const raw = frag.trim();
45
49
  if (!raw) continue;
46
50
  const lower = raw.toLowerCase();
@@ -325,4 +329,4 @@ function appConfig() {
325
329
  }
326
330
 
327
331
  export { appConfig as a, textPreviewOf as b, shouldRecordPrompt as c, parseTagWords as d, getTrigger as g, isValidTagWord as i, previewSegments as p, searchKey as s, triggerMode as t };
328
- //# sourceMappingURL=app-config.svelte.js-BBPHOX4N.js.map
332
+ //# sourceMappingURL=app-config.svelte.js-BW7TwbBy.js.map
@@ -335,16 +335,17 @@ var FUZZY_UNION_LIMIT = 100;
335
335
  * ADR word-share decoy scores 0.174 — excluded. */
336
336
  var FUZZY_DICE_FLOOR = .3;
337
337
  /**
338
- * Split a `?`-search key into keyword terms (ADR S1): split on `;` and
339
- * whitespace, trim, drop empties, dedupe (case-insensitive, first spelling
340
- * wins). `load;skill;feature-spec` → [load, skill, feature-spec];
341
- * `load;;skill;` → [load, skill]; single term → array of one — the caller
342
- * decides which path runs. Empty/blank key → []. Pure; exported for tests.
338
+ * Split a `?`-search key into keyword terms (ADR S1; separator charset
339
+ * widened by ADR-0014 D2): split on `,`, `;`, `+`, or whitespace, trim,
340
+ * drop empties, dedupe (case-insensitive, first spelling wins).
341
+ * `adr, spec + task` → [adr, spec, task]; `load;;skill;` → [load, skill];
342
+ * single term → array of one — the caller decides which path runs.
343
+ * Empty/blank key → []. Pure; exported for tests.
343
344
  */
344
345
  function splitQueryTerms(key) {
345
346
  const seen = /* @__PURE__ */ new Set();
346
347
  const terms = [];
347
- for (const frag of key.split(/[;\s]+/)) {
348
+ for (const frag of key.split(/[,;+\s]+/)) {
348
349
  const raw = frag.trim();
349
350
  if (!raw) continue;
350
351
  const lower = raw.toLowerCase();
@@ -776,4 +777,4 @@ function updatePrompt(id, fields) {
776
777
  }
777
778
 
778
779
  export { countPromptUse as a, renamePromptLabel as b, createPrompt as c, deletePrompt as d, listPrompts as l, resolvePromptsDbPath as r, searchPrompts as s, updatePrompt as u };
779
- //# sourceMappingURL=db2.js-BDE3IYQf.js.map
780
+ //# sourceMappingURL=db2.js-Cm8FBINY.js.map
@@ -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: "s9z6hj"
725
+ version_hash: "vrjaqk"
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-BzzxrDDl.js.map
748
+ //# sourceMappingURL=internal.js-4KmCgr7P.js.map
@@ -1,4 +1,4 @@
1
- import { i as index_server_exports } from './internal.js-BzzxrDDl.js';
1
+ import { i as index_server_exports } from './internal.js-4KmCgr7P.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-BTxzeSxQ.js.map
306
+ //# sourceMappingURL=state.js-Clfg_Bi6.js.map
@@ -1,5 +1,5 @@
1
1
  import { e as readSettingsHomes, d as readPromptsConfig, f as readSidebarConfig, g as readPanelConfig, c as readA2aConfig, h as readHomeConfig, i as readConversationConfig, k as readChatConfig } from '../../../../chunks/insight-config.js-XUD5BN0g.js';
2
- import { r as resolvePromptsDbPath } from '../../../../chunks/db2.js-BDE3IYQf.js';
2
+ import { r as resolvePromptsDbPath } from '../../../../chunks/db2.js-Cm8FBINY.js';
3
3
  import { j as json } from '../../../../chunks/utils.js-CAdNO8Tu.js';
4
4
  import { homedir } from 'node:os';
5
5
  import '../../../../chunks/config.js-B0w1-uCA.js';
@@ -49,4 +49,4 @@ var GET = async () => {
49
49
  };
50
50
 
51
51
  export { GET };
52
- //# sourceMappingURL=_server.ts.js-CeSzWmzO.js.map
52
+ //# sourceMappingURL=_server.ts.js-zogZnK_B.js.map
@@ -1,4 +1,4 @@
1
- import { d as deletePrompt, u as updatePrompt, b as renamePromptLabel } from '../../../../../chunks/db2.js-BDE3IYQf.js';
1
+ import { d as deletePrompt, u as updatePrompt, b as renamePromptLabel } from '../../../../../chunks/db2.js-Cm8FBINY.js';
2
2
  import { j as json } from '../../../../../chunks/utils.js-CAdNO8Tu.js';
3
3
  import '../../../../../chunks/insight-config.js-XUD5BN0g.js';
4
4
  import '../../../../../chunks/config.js-B0w1-uCA.js';
@@ -65,4 +65,4 @@ var DELETE = async ({ params }) => {
65
65
  };
66
66
 
67
67
  export { DELETE, PATCH };
68
- //# sourceMappingURL=_server.ts.js-jiY6dVD-.js.map
68
+ //# sourceMappingURL=_server.ts.js-u-regI3R.js.map
@@ -1,5 +1,5 @@
1
1
  import { p as parseTagWords, m as isValidTagWord } from '../../../../chunks/insight-config.js-XUD5BN0g.js';
2
- import { l as listPrompts, s as searchPrompts, c as createPrompt } from '../../../../chunks/db2.js-BDE3IYQf.js';
2
+ import { l as listPrompts, s as searchPrompts, c as createPrompt } from '../../../../chunks/db2.js-Cm8FBINY.js';
3
3
  import { j as json } from '../../../../chunks/utils.js-CAdNO8Tu.js';
4
4
  import '../../../../chunks/config.js-B0w1-uCA.js';
5
5
  import '../../../../chunks/settings-document.js-BRTO59Al.js';
@@ -101,4 +101,4 @@ var POST = async ({ request }) => {
101
101
  };
102
102
 
103
103
  export { GET, POST };
104
- //# sourceMappingURL=_server.ts.js-C0r4Wyxc.js.map
104
+ //# sourceMappingURL=_server.ts.js-YtkQGu7O.js.map
@@ -1,4 +1,4 @@
1
- import { a as countPromptUse } from '../../../../../chunks/db2.js-BDE3IYQf.js';
1
+ import { a as countPromptUse } from '../../../../../chunks/db2.js-Cm8FBINY.js';
2
2
  import { j as json } from '../../../../../chunks/utils.js-CAdNO8Tu.js';
3
3
  import '../../../../../chunks/insight-config.js-XUD5BN0g.js';
4
4
  import '../../../../../chunks/config.js-B0w1-uCA.js';
@@ -43,4 +43,4 @@ var POST = async ({ request }) => {
43
43
  };
44
44
 
45
45
  export { POST };
46
- //# sourceMappingURL=_server.ts.js-wKxhb4I-.js.map
46
+ //# sourceMappingURL=_server.ts.js-tv0ivn2x.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-BTxzeSxQ.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-Clfg_Bi6.js';
3
3
  import '../../chunks/uneval.js-BJ9Qq2SF.js';
4
- import '../../chunks/internal.js-BzzxrDDl.js';
4
+ import '../../chunks/internal.js-4KmCgr7P.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-D3waDB7P.js.map
43
+ //# sourceMappingURL=_error.svelte.js-VUpHsiKM.js.map
@@ -1,13 +1,13 @@
1
- import { c as onDestroy, d as __exportAll } from '../../chunks/internal.js-BzzxrDDl.js';
1
+ import { c as onDestroy, d as __exportAll } from '../../chunks/internal.js-4KmCgr7P.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-D9tSYE7f.js';
5
5
  import { p as parseA2aSignature, m as mintA2aId, b as buildDeliveredText } from '../../chunks/a2a-protocol.js-C77mVg2Q.js';
6
6
  import { b as applyKnobEvent, E as EMPTY_KNOBS, r as resolvePermission, l as localPermission, c as presetLabel, d as presetDescription, C as CUSTOM_PRESET, F as FULL_ACCESS_PRESET } from '../../chunks/permission-state.js-B7UpAHBv.js';
7
7
  import { D as DEFAULT_IMAGE_LIMITS } from '../../chunks/image-limits.js-CUdJ0f7r.js';
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';
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-BW7TwbBy.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-BTxzeSxQ.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-Clfg_Bi6.js';
11
11
  import 'yaml';
12
12
  import 'html-to-image';
13
13
  import hljs from 'highlight.js/lib/core';
@@ -24060,7 +24060,7 @@ function InlineToolCalls($$renderer, $$props) {
24060
24060
  return;
24061
24061
  }
24062
24062
  }
24063
- let { entries, runKey, openChipId, peekOpen, allEntries, ontoggleChip, ontogglePeek, autoThinkId = null, autoPlanId = null } = $$props;
24063
+ let { entries, runKey, openChipId, peekOpen, allEntries, ontoggleChip, ontogglePeek, autoThinkId = null, autoPlanId = null, onFileOpen = void 0 } = $$props;
24064
24064
  /** Effective open of ONE chip: the manual pick, or its auto slot. */
24065
24065
  function chipOpen(entry) {
24066
24066
  if (entry.kind === "assistant-message") return openChipId === `r:${entry.id}` || autoThinkId === entry.id;
@@ -24185,8 +24185,7 @@ function InlineToolCalls($$renderer, $$props) {
24185
24185
  $$renderer.push("<!--[5-->");
24186
24186
  FilesEditedCard($$renderer, {
24187
24187
  turn: entry.turn,
24188
- seq: entry.seq
24189
- });
24188
+ seq: entry.seq});
24190
24189
  } else if (entry.kind === "unknown-event") {
24191
24190
  $$renderer.push("<!--[6-->");
24192
24191
  ToolCallChip($$renderer, {
@@ -24797,7 +24796,7 @@ function ConversationScrollArea($$renderer, $$props) {
24797
24796
  * The viewport element is $bindable: the page keeps it for the
24798
24797
  * floating anchor stack (jumper + back-to-top act on this scroller).
24799
24798
  */
24800
- let { viewport = void 0, stick = true, entries, groups, hasMore, loadingOlder, olderError, onloadolder, openChipId, ontogglechip, autoThinkId = null, autoPlanId = null, peekOpenRunKey, ontogglepeek, pendingCards, settledCards, onanswer, onFileLink = void 0, sessionId, title = null, agentPreset = null, subagent = false, depth = 0 } = $$props;
24799
+ let { viewport = void 0, stick = true, entries, groups, hasMore, loadingOlder, olderError, onloadolder, openChipId, ontogglechip, autoThinkId = null, autoPlanId = null, peekOpenRunKey, ontogglepeek, pendingCards, settledCards, onanswer, onFileLink = void 0, onFileOpen = void 0, sessionId, title = null, agentPreset = null, subagent = false, depth = 0 } = $$props;
24801
24800
  /** Depth-graded sub-agent tints: beige at depth 1, one step darker
24802
24801
  * per nesting level, darkest from depth 3 on (the cap). */
24803
24802
  const SUBAGENT_TINTS = [
@@ -24965,7 +24964,8 @@ function ConversationScrollArea($$renderer, $$props) {
24965
24964
  ontoggleChip: ontogglechip,
24966
24965
  ontogglePeek: () => ontogglepeek(escKey),
24967
24966
  autoThinkId,
24968
- autoPlanId
24967
+ autoPlanId,
24968
+ onFileOpen
24969
24969
  });
24970
24970
  } else $$renderer.push("<!--[-1-->");
24971
24971
  $$renderer.push(`<!--]--> `);
@@ -24993,7 +24993,8 @@ function ConversationScrollArea($$renderer, $$props) {
24993
24993
  ontoggleChip: ontogglechip,
24994
24994
  ontogglePeek: () => ontogglepeek(run.key),
24995
24995
  autoThinkId,
24996
- autoPlanId
24996
+ autoPlanId,
24997
+ onFileOpen
24997
24998
  });
24998
24999
  }
24999
25000
  $$renderer.push(`<!--]-->`);
@@ -25022,7 +25023,8 @@ function ConversationScrollArea($$renderer, $$props) {
25022
25023
  ontoggleChip: ontogglechip,
25023
25024
  ontogglePeek: () => ontogglepeek(run.key),
25024
25025
  autoThinkId,
25025
- autoPlanId
25026
+ autoPlanId,
25027
+ onFileOpen
25026
25028
  });
25027
25029
  }
25028
25030
  $$renderer.push(`<!--]-->`);
@@ -25052,7 +25054,8 @@ function ConversationScrollArea($$renderer, $$props) {
25052
25054
  ontoggleChip: ontogglechip,
25053
25055
  ontogglePeek: () => ontogglepeek(run.key),
25054
25056
  autoThinkId,
25055
- autoPlanId
25057
+ autoPlanId,
25058
+ onFileOpen
25056
25059
  });
25057
25060
  }
25058
25061
  $$renderer.push(`<!--]-->`);
@@ -27266,7 +27269,7 @@ function ConversationPanel($$renderer, $$props) {
27266
27269
  * existing command banner. Catalog reads fire on first menu open,
27267
27270
  * never at mount (cold sessions stay cold).
27268
27271
  */
27269
- let { panelId = null, sessionId, title: initialTitleProp = null, workspace = null, workspaces = [], agent, agentDisplay = null, subagent = false, depth = 0, parentSessionId = null, entries, lastSeq, running, hasMore = void 0, pendingAnswers = [], settledAnswers = [], permission = null, imageLimits = void 0, knobEvents = void 0, a2aRows = [], a2aTitles = {}, onNeedCold = void 0, onClose = void 0, focusComposer = false, oncomposerfocus = void 0, focused = false, onOpenExplorer = void 0, onFileLink = void 0 } = $$props;
27272
+ let { panelId = null, sessionId, title: initialTitleProp = null, workspace = null, workspaces = [], agent, agentDisplay = null, subagent = false, depth = 0, parentSessionId = null, entries, lastSeq, running, hasMore = void 0, pendingAnswers = [], settledAnswers = [], permission = null, imageLimits = void 0, knobEvents = void 0, a2aRows = [], a2aTitles = {}, onNeedCold = void 0, onClose = void 0, focusComposer = false, oncomposerfocus = void 0, focused = false, onOpenExplorer = void 0, onFileLink = void 0, onFileOpen = void 0 } = $$props;
27270
27273
  setPanelMode(true);
27271
27274
  setConversationSession(sessionId);
27272
27275
  const store = createConversationStore(sessionId);
@@ -27673,6 +27676,7 @@ function ConversationPanel($$renderer, $$props) {
27673
27676
  settledCards: settledCards(),
27674
27677
  onanswer: (rpcId, payload) => void onanswer(rpcId, payload),
27675
27678
  onFileLink,
27679
+ onFileOpen,
27676
27680
  sessionId: store.sessionId,
27677
27681
  title,
27678
27682
  agentPreset: agent,
@@ -30918,6 +30922,7 @@ function _page($$renderer, $$props) {
30918
30922
  panelId: floorPanelId,
30919
30923
  sessionId: p.sessionId,
30920
30924
  onFileLink: (href) => void openFileLinkFromMarkdown(p.sessionId, href),
30925
+ onFileOpen: (path) => void openFileLinkFromMarkdown(p.sessionId, path),
30921
30926
  title: panelTitleFor(p.sessionId),
30922
30927
  workspace: panelWorkspaceFor(p.sessionId),
30923
30928
  workspaces: spineWorkspaces(),
@@ -30951,6 +30956,7 @@ function _page($$renderer, $$props) {
30951
30956
  panelId: floorPanelId,
30952
30957
  sessionId: p.sessionId,
30953
30958
  onFileLink: (href) => void openFileLinkFromMarkdown(p.sessionId, href),
30959
+ onFileOpen: (path) => void openFileLinkFromMarkdown(p.sessionId, path),
30954
30960
  title: panelTitleFor(p.sessionId),
30955
30961
  workspace: panelWorkspaceFor(p.sessionId),
30956
30962
  workspaces: spineWorkspaces(),
@@ -31067,4 +31073,4 @@ function _page($$renderer, $$props) {
31067
31073
  }
31068
31074
 
31069
31075
  export { _page as default };
31070
- //# sourceMappingURL=_page.svelte.js-CsfYmlsX.js.map
31076
+ //# sourceMappingURL=_page.svelte.js-Dwroj-cb.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-CnMCjYHC.js';
13
- import { m as manifest } from './manifest.js-0V3eqw-_.js';
12
+ import { S as Server } from './index.js-Cla9NLvA.js';
13
+ import { m as manifest } from './manifest.js-CmjuOLMb.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-B6-GSygl.js.map
1735
+ //# sourceMappingURL=handler-BNCD1i7S.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-BzzxrDDl.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-4KmCgr7P.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-CnMCjYHC.js.map
3864
+ //# sourceMappingURL=index.js-Cla9NLvA.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.Dokd35UA.js",app:"_app/immutable/entry/app.BZxw5dG4.js",imports:["_app/immutable/entry/start.Dokd35UA.js","_app/immutable/chunks/CdhRVZei.js","_app/immutable/chunks/C-58cZAk.js","_app/immutable/entry/app.BZxw5dG4.js","_app/immutable/chunks/C-58cZAk.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.DwMkMSKE.js",app:"_app/immutable/entry/app.BXy5ddPi.js",imports:["_app/immutable/entry/start.DwMkMSKE.js","_app/immutable/chunks/Cgyrc8XY.js","_app/immutable/chunks/C-58cZAk.js","_app/immutable/entry/app.BXy5ddPi.js","_app/immutable/chunks/C-58cZAk.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-D1vjUdTF.js')),
16
- __memo(() => import('./nodes/1.js-HaE4A25V.js')),
17
- __memo(() => import('./nodes/2.js-BJORAo_U.js'))
15
+ __memo(() => import('./nodes/0.js-PpYt5eF3.js')),
16
+ __memo(() => import('./nodes/1.js-CsqcOUEA.js')),
17
+ __memo(() => import('./nodes/2.js-BljKgZ5E.js'))
18
18
  ],
19
19
  remotes: {
20
20
 
@@ -53,7 +53,7 @@ return {
53
53
  pattern: /^\/api\/config\/?$/,
54
54
  params: [],
55
55
  page: null,
56
- endpoint: __memo(() => import('./entries/endpoints/api/config/_server.ts.js-CeSzWmzO.js'))
56
+ endpoint: __memo(() => import('./entries/endpoints/api/config/_server.ts.js-zogZnK_B.js'))
57
57
  },
58
58
  {
59
59
  id: "/api/dsh/directory",
@@ -263,21 +263,21 @@ return {
263
263
  pattern: /^\/api\/prompts\/?$/,
264
264
  params: [],
265
265
  page: null,
266
- endpoint: __memo(() => import('./entries/endpoints/api/prompts/_server.ts.js-C0r4Wyxc.js'))
266
+ endpoint: __memo(() => import('./entries/endpoints/api/prompts/_server.ts.js-YtkQGu7O.js'))
267
267
  },
268
268
  {
269
269
  id: "/api/prompts/use",
270
270
  pattern: /^\/api\/prompts\/use\/?$/,
271
271
  params: [],
272
272
  page: null,
273
- endpoint: __memo(() => import('./entries/endpoints/api/prompts/use/_server.ts.js-wKxhb4I-.js'))
273
+ endpoint: __memo(() => import('./entries/endpoints/api/prompts/use/_server.ts.js-tv0ivn2x.js'))
274
274
  },
275
275
  {
276
276
  id: "/api/prompts/[id]",
277
277
  pattern: /^\/api\/prompts\/([^/]+?)\/?$/,
278
278
  params: [{"name":"id","optional":false,"rest":false,"chained":false}],
279
279
  page: null,
280
- endpoint: __memo(() => import('./entries/endpoints/api/prompts/_id_/_server.ts.js-jiY6dVD-.js'))
280
+ endpoint: __memo(() => import('./entries/endpoints/api/prompts/_id_/_server.ts.js-u-regI3R.js'))
281
281
  },
282
282
  {
283
283
  id: "/api/settings-home/file-write",
@@ -445,4 +445,4 @@ return {
445
445
  })();
446
446
 
447
447
  export { manifest as m };
448
- //# sourceMappingURL=manifest.js-0V3eqw-_.js.map
448
+ //# sourceMappingURL=manifest.js-CmjuOLMb.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.Ba4j9lPa.js","_app/immutable/chunks/C-58cZAk.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/DsZdPfqt.js","_app/immutable/chunks/DlfWhx6l.js"];
8
- const stylesheets = ["_app/immutable/assets/0.9KCWnpRq.css"];
7
+ const imports = ["_app/immutable/nodes/0.CKr_pvH3.js","_app/immutable/chunks/C-58cZAk.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/BLxS3bAX.js","_app/immutable/chunks/DlfWhx6l.js"];
8
+ const stylesheets = ["_app/immutable/assets/0.Cz4GQ8ND.css"];
9
9
  const fonts = [];
10
10
 
11
11
  export { component, fonts, imports, index, stylesheets, universal_id };
12
- //# sourceMappingURL=0.js-D1vjUdTF.js.map
12
+ //# sourceMappingURL=0.js-PpYt5eF3.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-VUpHsiKM.js')).default;
4
+ const imports = ["_app/immutable/nodes/1.i0ZfDYTy.js","_app/immutable/chunks/C-58cZAk.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/BsHqd_cH.js","_app/immutable/chunks/Cgyrc8XY.js","_app/immutable/chunks/DlfWhx6l.js"];
5
+ const stylesheets = [];
6
+ const fonts = [];
7
+
8
+ export { component, fonts, imports, index, stylesheets };
9
+ //# sourceMappingURL=1.js-CsqcOUEA.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-CsfYmlsX.js')).default;
20
+ const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js-Dwroj-cb.js')).default;
21
21
  const server_id = "src/routes/+page.server.ts";
22
- const imports = ["_app/immutable/nodes/2.BtlOjw8Q.js","_app/immutable/chunks/C-58cZAk.js","_app/immutable/chunks/CdhRVZei.js","_app/immutable/chunks/HclGiUj8.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/DlfWhx6l.js","_app/immutable/chunks/DsZdPfqt.js","_app/immutable/chunks/ifNG6R2V.js"];
22
+ const imports = ["_app/immutable/nodes/2.BSH_1C9p.js","_app/immutable/chunks/C-58cZAk.js","_app/immutable/chunks/Cgyrc8XY.js","_app/immutable/chunks/HclGiUj8.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/DlfWhx6l.js","_app/immutable/chunks/BLxS3bAX.js","_app/immutable/chunks/BsHqd_cH.js"];
23
23
  const stylesheets = ["_app/immutable/assets/2.BGqV97Jd.css"];
24
24
  const fonts = [];
25
25
 
26
26
  export { component, fonts, imports, index, server_id, stylesheets };
27
- //# sourceMappingURL=2.js-BJORAo_U.js.map
27
+ //# sourceMappingURL=2.js-BljKgZ5E.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepseek-insight/dsi",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
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",