@deepseek-insight/dsi 0.6.19 → 0.6.21

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 (49) hide show
  1. package/build/client/_app/immutable/assets/0.BQzh2ktU.css +2 -0
  2. package/build/client/_app/immutable/assets/{2.CulOeYPh.css → 2.ByYVysCj.css} +1 -1
  3. package/build/client/_app/immutable/chunks/6lkFuaQJ.js +1 -0
  4. package/build/client/_app/immutable/chunks/BtiOY3LQ.js +2 -0
  5. package/build/client/_app/immutable/chunks/Ct20Yiq1.js +1 -0
  6. package/build/client/_app/immutable/chunks/{CcfE8WnY.js → DygY_IXG.js} +1 -1
  7. package/build/client/_app/immutable/entry/{app.By0um08-.js → app.a14BvSUo.js} +2 -2
  8. package/build/client/_app/immutable/entry/start.DwHZM5ia.js +1 -0
  9. package/build/client/_app/immutable/nodes/{1.zMtTl7W9.js → 1.BKoLqRXA.js} +1 -1
  10. package/build/client/_app/immutable/nodes/2.CSRBDmmw.js +337 -0
  11. package/build/client/_app/version.json +1 -1
  12. package/build/handler.js +4 -4
  13. package/build/index.js +4 -4
  14. package/build/server/chunks/chunks/deliverables.js-Dg6XzNkW.js +46 -0
  15. package/build/server/chunks/chunks/{dsh-events.js-35seDLwL.js → dsh-events.js-CGuF_had.js} +2 -1
  16. package/build/server/chunks/chunks/{git-probe.js-D4DjBXSY.js → git-probe.js-6ARRicD2.js} +2 -2
  17. package/build/server/chunks/chunks/{internal2.js-BGlVENi_.js → internal2.js-Bcxjr5x2.js} +2 -2
  18. package/build/server/chunks/chunks/{state.js-BT8iDJXe.js → state.js-ez_uUx9I.js} +2 -2
  19. package/build/server/chunks/chunks/{watcher.js-CACduBB9.js → watcher.js-Dogr6xsl.js} +2 -2
  20. package/build/server/chunks/entries/endpoints/api/a2a/{_server.ts.js-DHFHuGSm.js → _server.ts.js-BkLuKDZr.js} +3 -3
  21. package/build/server/chunks/entries/endpoints/api/a2a/register/{_server.ts.js-CUUfDBcc.js → _server.ts.js-BOyrp9zt.js} +3 -3
  22. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/events/{_server.ts.js-BiAJcPpb.js → _server.ts.js-LWw-YpVI.js} +7 -3
  23. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/history/{_server.ts.js-ecbtat_C.js → _server.ts.js-CYt4aYoc.js} +2 -2
  24. package/build/server/chunks/entries/endpoints/api/workspace/file-write/{_server.ts.js-Cb7X2G82.js → _server.ts.js-CWWi0aa8.js} +3 -3
  25. package/build/server/chunks/entries/endpoints/api/workspace/git-events/{_server.ts.js-DZ67v729.js → _server.ts.js-Dc0g7HPl.js} +3 -3
  26. package/build/server/chunks/entries/endpoints/api/workspace/git-file-head/{_server.ts.js-BuO5Stmm.js → _server.ts.js-CvPoP9yH.js} +3 -3
  27. package/build/server/chunks/entries/endpoints/api/workspace/git-map/{_server.ts.js-Bb_I5Ze7.js → _server.ts.js-f5Gk_lb6.js} +3 -3
  28. package/build/server/chunks/entries/endpoints/api/workspace/git-status/{_server.ts.js-cHWxh5VB.js → _server.ts.js-BMkKlCgS.js} +3 -3
  29. package/build/server/chunks/entries/endpoints/api/workspace/write-gate/{_server.ts.js-Blcfn0zm.js → _server.ts.js-DUL-2q1R.js} +3 -3
  30. package/build/server/chunks/entries/pages/{_error.svelte.js-DrXSHJGM.js → _error.svelte.js-DDQEX5e3.js} +3 -3
  31. package/build/server/chunks/entries/pages/{_page.server.ts.js-C_ydvzuE.js → _page.server.ts.js-DFRnK-I2.js} +7 -2
  32. package/build/server/chunks/entries/pages/{_page.svelte.js-BoCqON33.js → _page.svelte.js-DrMNc6ih.js} +461 -130
  33. package/build/server/chunks/{handler-CxEHv3N9.js → handler-Cqw6zPgE.js} +3 -3
  34. package/build/server/chunks/{index.js-Co6HpgIt.js → index.js-CZ6hvqti.js} +2 -2
  35. package/build/server/chunks/{manifest.js-BoZ1Tnyu.js → manifest.js-SFcYF8ua.js} +15 -15
  36. package/build/server/chunks/nodes/{0.js-zSkx80Fq.js → 0.js-BqYWZcQy.js} +3 -3
  37. package/build/server/chunks/nodes/1.js-CoGgQITW.js +9 -0
  38. package/build/server/chunks/nodes/{2.js-DNAbnuXD.js → 2.js-CnybOb74.js} +7 -6
  39. package/package.json +1 -1
  40. package/template/.dsi/prompts.sqlite-shm +0 -0
  41. package/template/.dsi/prompts.sqlite-wal +0 -0
  42. package/build/client/_app/immutable/assets/0.KhAZv9mf.css +0 -2
  43. package/build/client/_app/immutable/chunks/DR7O6pQK.js +0 -1
  44. package/build/client/_app/immutable/chunks/Db_zFoAP.js +0 -1
  45. package/build/client/_app/immutable/chunks/L81Qm9WF.js +0 -2
  46. package/build/client/_app/immutable/entry/start.DovVSimi.js +0 -1
  47. package/build/client/_app/immutable/nodes/2.C9y-bmIa.js +0 -337
  48. package/build/server/chunks/nodes/1.js-BWaCxXNn.js +0 -9
  49. /package/build/client/_app/immutable/nodes/{0.Jl8y_yU6.js → 0.BE97Xr19.js} +0 -0
@@ -1 +1 @@
1
- {"version":"1792338927006"}
1
+ {"version":"1792395166917"}
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-CxEHv3N9.js';
6
- import './server/chunks/index.js-Co6HpgIt.js';
7
- import './server/chunks/manifest.js-BoZ1Tnyu.js';
5
+ export { h as handler } from './server/chunks/handler-Cqw6zPgE.js';
6
+ import './server/chunks/index.js-CZ6hvqti.js';
7
+ import './server/chunks/manifest.js-SFcYF8ua.js';
8
8
  import './env.js';
9
9
  import 'node:buffer';
10
10
  import 'node:crypto';
@@ -19,6 +19,6 @@ import 'node:url';
19
19
  import './server/chunks/chunks/index-server.js-CV2lq-ha.js';
20
20
  import './server/chunks/chunks/server.js-DqHGsQU2.js';
21
21
  import './server/chunks/chunks/internal.js-BcS47nI-.js';
22
- import './server/chunks/chunks/internal2.js-BGlVENi_.js';
22
+ import './server/chunks/chunks/internal2.js-Bcxjr5x2.js';
23
23
  import './server/chunks/chunks/exports.js-DH_tjtdv.js';
24
24
  //# sourceMappingURL=handler.js.map
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-CxEHv3N9.js';
4
+ import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-Cqw6zPgE.js';
5
5
  import { env, timeout_env } from './env.js';
6
6
  import { rm } from 'node:fs/promises';
7
7
  import './shims.js';
@@ -14,13 +14,13 @@ 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-Co6HpgIt.js';
17
+ import './server/chunks/index.js-CZ6hvqti.js';
18
18
  import './server/chunks/chunks/index-server.js-CV2lq-ha.js';
19
19
  import './server/chunks/chunks/server.js-DqHGsQU2.js';
20
20
  import './server/chunks/chunks/internal.js-BcS47nI-.js';
21
- import './server/chunks/chunks/internal2.js-BGlVENi_.js';
21
+ import './server/chunks/chunks/internal2.js-Bcxjr5x2.js';
22
22
  import './server/chunks/chunks/exports.js-DH_tjtdv.js';
23
- import './server/chunks/manifest.js-BoZ1Tnyu.js';
23
+ import './server/chunks/manifest.js-SFcYF8ua.js';
24
24
  import 'node:url';
25
25
 
26
26
  const path = env('SOCKET_PATH', false);
@@ -0,0 +1,46 @@
1
+ //#region src/lib/services/conversation/deliverables.ts
2
+ /** True for the deliverables wire type (this module's one family). */
3
+ function isDeliverablesEventType(type) {
4
+ return type === "deliverables/presented";
5
+ }
6
+ /**
7
+ * Reduce raw events → deliveries in ledger order (append-only, newest
8
+ * last). Events of other types are skipped; a deliverables event with a
9
+ * junk payload (missing/non-numeric turn, missing callId, missing or
10
+ * non-array files, or any malformed file row) is skipped whole — never
11
+ * partially kept, never thrown.
12
+ */
13
+ function deliverablesFromEvents(events) {
14
+ const out = [];
15
+ for (const event of events) {
16
+ if (!isDeliverablesEventType(event.type)) continue;
17
+ const delivery = parseDelivery(event.data);
18
+ if (delivery !== void 0) out.push(delivery);
19
+ }
20
+ return out;
21
+ }
22
+ /** Validate one event payload; undefined on any junk. */
23
+ function parseDelivery(data) {
24
+ if (data === null || typeof data !== "object") return void 0;
25
+ const raw = data;
26
+ if (typeof raw.turn !== "number" || !Number.isFinite(raw.turn)) return void 0;
27
+ if (typeof raw.callId !== "string" || raw.callId.length === 0) return void 0;
28
+ if (!Array.isArray(raw.files) || raw.files.length === 0) return void 0;
29
+ const files = [];
30
+ for (const file of raw.files) {
31
+ if (file === null || typeof file !== "object") return void 0;
32
+ const f = file;
33
+ if (typeof f.path !== "string" || f.path.length === 0) return void 0;
34
+ const parsed = { path: f.path };
35
+ if (typeof f.description === "string" && f.description.length > 0) parsed.description = f.description;
36
+ files.push(parsed);
37
+ }
38
+ return {
39
+ turn: raw.turn,
40
+ callId: raw.callId,
41
+ files
42
+ };
43
+ }
44
+
45
+ export { deliverablesFromEvents as d };
46
+ //# sourceMappingURL=deliverables.js-Dg6XzNkW.js.map
@@ -213,6 +213,7 @@ var SILENT_TYPES = /* @__PURE__ */ new Set([
213
213
  "approval/asked",
214
214
  "command/done",
215
215
  "command/run",
216
+ "deliverables/presented",
216
217
  "compaction/end",
217
218
  "compaction/prune",
218
219
  "compaction/start",
@@ -537,4 +538,4 @@ function historyToEvents(history) {
537
538
  }
538
539
 
539
540
  export { entryForEvent as a, eventsToEntries as e, historyToEvents as h };
540
- //# sourceMappingURL=dsh-events.js-35seDLwL.js.map
541
+ //# sourceMappingURL=dsh-events.js-CGuF_had.js.map
@@ -1,5 +1,5 @@
1
1
  import { g as getDshConnection } from './dsh-connection.js-DL5qjlq2.js';
2
- import { h as historyToEvents } from './dsh-events.js-35seDLwL.js';
2
+ import { h as historyToEvents } from './dsh-events.js-CGuF_had.js';
3
3
  import { a as foldKnobs, f as filterKnobEvents, F as FULL_ACCESS_PRESET } from './permission-state.js-B7UpAHBv.js';
4
4
  import { promises } from 'node:fs';
5
5
  import * as nodePath from 'node:path';
@@ -216,4 +216,4 @@ async function gitStatus(repo) {
216
216
  }
217
217
 
218
218
  export { GitUnavailableError as G, gitStatus as a, gitFileHead as b, detectRepos as d, gitGateEnabled as g, isInsideRoot as i, parsePorcelainStatus as p, resolveEnclosingRepo as r };
219
- //# sourceMappingURL=git-probe.js-D4DjBXSY.js.map
219
+ //# sourceMappingURL=git-probe.js-6ARRicD2.js.map
@@ -580,7 +580,7 @@ var options = {
580
580
  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 <script>\n /* The Three-State Lamp pre-paint (ADR-0023 D3, 2026-10-11): resolve\n * the choice and set html[data-theme] BEFORE the bundle paints —\n * no flash of light on a dark reload. The key 'dsi-theme' is\n * pinned identical to src/lib/utils/theme-prefs.svelte.ts by\n * tests/unit/theme-prefs.test.ts; change both together. */\n try {\n var m = location.search.match(/[?&]profile=([^&]*)/);\n var prof = m ? m[1].replace(/[^A-Za-z0-9_-]/g, '').slice(0, 40) : '';\n var k = 'dsi-theme' + (prof ? '_' + prof : '');\n var t = localStorage.getItem(k);\n if (t !== 'light' && t !== 'dark' && t !== 'system') t = 'system';\n document.documentElement.dataset.theme =\n t === 'dark' || (t === 'system' && window.matchMedia && matchMedia('(prefers-color-scheme: dark)').matches)\n ? 'dark'\n : 'light';\n } catch (e) {\n document.documentElement.dataset.theme = 'light';\n }\n <\/script>\n " + head + "\n </head>\n <body data-sveltekit-preload-data=\"tap\">\n <div style=\"display: contents\">" + body + "</div>\n </body>\n</html>\n",
581
581
  error: error_template_default
582
582
  },
583
- version_hash: "1ce9q8q"
583
+ version_hash: "w48tcp"
584
584
  };
585
585
  async function get_hooks() {
586
586
  let handle;
@@ -603,4 +603,4 @@ async function get_hooks() {
603
603
  }
604
604
 
605
605
  export { set_public_env as a, set_read_implementation as b, get_hooks as g, options as o, public_env as p, read_implementation as r, set_private_env as s };
606
- //# sourceMappingURL=internal2.js-BGlVENi_.js.map
606
+ //# sourceMappingURL=internal2.js-Bcxjr5x2.js.map
@@ -1,6 +1,6 @@
1
1
  import { i as index_server_exports } from './index-server.js-CV2lq-ha.js';
2
2
  import './shared.js-HQ0rfhm4.js';
3
- import './internal2.js-BGlVENi_.js';
3
+ import './internal2.js-Bcxjr5x2.js';
4
4
  import './exports.js-DH_tjtdv.js';
5
5
  import { U as snapshot, g as getContext, n as noop } from './server.js-DqHGsQU2.js';
6
6
  import { U as UI_LOCALES } from './config.js-B0w1-uCA.js';
@@ -304,4 +304,4 @@ var page = {
304
304
  };
305
305
 
306
306
  export { afterNavigate as a, backtoworkspace2 as b, currentLocale as c, dshunreachable1 as d, replaceState as e, page as p, reapednote1 as r, sessionnotfound2 as s, t, unexpectederror1 as u };
307
- //# sourceMappingURL=state.js-BT8iDJXe.js.map
307
+ //# sourceMappingURL=state.js-ez_uUx9I.js.map
@@ -1,7 +1,7 @@
1
1
  import { c as readA2aConfig } from './insight-config.js-CA-iT3lB.js';
2
2
  import { i as insertWaiting, o as openA2aDb, s as settleRow, p as pruneTerminalBefore, l as listWaiting } from './db.js-DRhjT6xK.js';
3
3
  import { g as getDshConnection } from './dsh-connection.js-DL5qjlq2.js';
4
- import { a as entryForEvent, h as historyToEvents } from './dsh-events.js-35seDLwL.js';
4
+ import { a as entryForEvent, h as historyToEvents } from './dsh-events.js-CGuF_had.js';
5
5
 
6
6
  //#region src/lib/server/a2a/matcher.ts
7
7
  /**
@@ -470,4 +470,4 @@ function registerWatch(row) {
470
470
  }
471
471
 
472
472
  export { configureWatcher as c, ensureStarted as e, registerWatch as r };
473
- //# sourceMappingURL=watcher.js-CACduBB9.js.map
473
+ //# sourceMappingURL=watcher.js-Dogr6xsl.js.map
@@ -1,5 +1,5 @@
1
1
  import { a as listRecent } from '../../../../chunks/db.js-DRhjT6xK.js';
2
- import { e as ensureStarted } from '../../../../chunks/watcher.js-CACduBB9.js';
2
+ import { e as ensureStarted } from '../../../../chunks/watcher.js-Dogr6xsl.js';
3
3
  import { j as json } from '../../../../chunks/utils.js-CAdNO8Tu.js';
4
4
  import '../../../../chunks/insight-config.js-CA-iT3lB.js';
5
5
  import '../../../../chunks/config.js-B0w1-uCA.js';
@@ -11,7 +11,7 @@ import 'yaml';
11
11
  import '../../../../chunks/settings-home2.js-f75-B6RI.js';
12
12
  import 'node:sqlite';
13
13
  import '../../../../chunks/dsh-connection.js-DL5qjlq2.js';
14
- import '../../../../chunks/dsh-events.js-35seDLwL.js';
14
+ import '../../../../chunks/dsh-events.js-CGuF_had.js';
15
15
  import '../../../../chunks/merge.js-yMwW440S.js';
16
16
  import '../../../../chunks/shared.js-HQ0rfhm4.js';
17
17
  import '../../../../chunks/uneval.js-BJ9Qq2SF.js';
@@ -61,4 +61,4 @@ var GET = ({ url }) => {
61
61
  };
62
62
 
63
63
  export { GET };
64
- //# sourceMappingURL=_server.ts.js-DHFHuGSm.js.map
64
+ //# sourceMappingURL=_server.ts.js-BkLuKDZr.js.map
@@ -1,6 +1,6 @@
1
1
  import { c as readA2aConfig } from '../../../../../chunks/insight-config.js-CA-iT3lB.js';
2
2
  import { g as getDshConnection } from '../../../../../chunks/dsh-connection.js-DL5qjlq2.js';
3
- import { c as configureWatcher, r as registerWatch } from '../../../../../chunks/watcher.js-CACduBB9.js';
3
+ import { c as configureWatcher, r as registerWatch } from '../../../../../chunks/watcher.js-Dogr6xsl.js';
4
4
  import { m as mintA2aId } from '../../../../../chunks/a2a-protocol.js-C77mVg2Q.js';
5
5
  import { j as json } from '../../../../../chunks/utils.js-CAdNO8Tu.js';
6
6
  import '../../../../../chunks/config.js-B0w1-uCA.js';
@@ -12,7 +12,7 @@ import 'yaml';
12
12
  import '../../../../../chunks/settings-home2.js-f75-B6RI.js';
13
13
  import '../../../../../chunks/db.js-DRhjT6xK.js';
14
14
  import 'node:sqlite';
15
- import '../../../../../chunks/dsh-events.js-35seDLwL.js';
15
+ import '../../../../../chunks/dsh-events.js-CGuF_had.js';
16
16
  import '../../../../../chunks/merge.js-yMwW440S.js';
17
17
  import '../../../../../chunks/shared.js-HQ0rfhm4.js';
18
18
  import '../../../../../chunks/uneval.js-BJ9Qq2SF.js';
@@ -99,4 +99,4 @@ var POST = async ({ request }) => {
99
99
  };
100
100
 
101
101
  export { POST };
102
- //# sourceMappingURL=_server.ts.js-CUUfDBcc.js.map
102
+ //# sourceMappingURL=_server.ts.js-BOyrp9zt.js.map
@@ -1,8 +1,9 @@
1
1
  import { g as getDshConnection, s as statusFor, m as mapRpcFailure } from '../../../../../../../chunks/dsh-connection.js-DL5qjlq2.js';
2
- import { h as historyToEvents, e as eventsToEntries, a as entryForEvent } from '../../../../../../../chunks/dsh-events.js-35seDLwL.js';
2
+ import { h as historyToEvents, e as eventsToEntries, a as entryForEvent } from '../../../../../../../chunks/dsh-events.js-CGuF_had.js';
3
3
  import { f as filterKnobEvents, p as permissionFromProjection } from '../../../../../../../chunks/permission-state.js-B7UpAHBv.js';
4
4
  import { i as imageLimitsFromProjection } from '../../../../../../../chunks/image-limits.js-CUdJ0f7r.js';
5
5
  import { g as goalFromProjection } from '../../../../../../../chunks/goal-projection.js-0_34t60K.js';
6
+ import { d as deliverablesFromEvents } from '../../../../../../../chunks/deliverables.js-Dg6XzNkW.js';
6
7
  import { j as json } from '../../../../../../../chunks/utils.js-CAdNO8Tu.js';
7
8
  import '../../../../../../../chunks/config.js-B0w1-uCA.js';
8
9
  import '../../../../../../../chunks/insight-config.js-CA-iT3lB.js';
@@ -174,7 +175,8 @@ var GET = async ({ params, url, setHeaders }) => {
174
175
  plan: planFromProjection(page.projections?.values?.["plan"]),
175
176
  goal: goalFromProjection(page.projections?.values?.["goal"]),
176
177
  ledgerStats: ledgerStatsFromProjections(conn.projectionValue(sessionId, "sessionStats"), conn.projectionValue(sessionId, "tokenUsage")),
177
- knobEvents: filterKnobEvents(ledgerEvents)
178
+ knobEvents: filterKnobEvents(ledgerEvents),
179
+ deliverables: deliverablesFromEvents(ledgerEvents)
178
180
  });
179
181
  }
180
182
  const { events, lastSeq, running, gap } = conn.eventsSince(sessionId, since);
@@ -190,6 +192,7 @@ var GET = async ({ params, url, setHeaders }) => {
190
192
  const plan = planFromProjection(conn.projectionValue(sessionId, "plan"));
191
193
  const goal = goalFromProjection(conn.projectionValue(sessionId, "goal"));
192
194
  const ledgerStats = ledgerStatsFromProjections(conn.projectionValue(sessionId, "sessionStats"), conn.projectionValue(sessionId, "tokenUsage"));
195
+ const deliverables = deliverablesFromEvents(events);
193
196
  return json({
194
197
  ok: true,
195
198
  entries,
@@ -205,6 +208,7 @@ var GET = async ({ params, url, setHeaders }) => {
205
208
  ...plan === null ? {} : { plan },
206
209
  ...goal === void 0 ? {} : { goal },
207
210
  ...ledgerStats === null ? {} : { ledgerStats },
211
+ ...deliverables.length === 0 ? {} : { deliverables },
208
212
  knobEvents: filterKnobEvents(events)
209
213
  });
210
214
  } catch (err) {
@@ -213,4 +217,4 @@ var GET = async ({ params, url, setHeaders }) => {
213
217
  };
214
218
 
215
219
  export { GET };
216
- //# sourceMappingURL=_server.ts.js-BiAJcPpb.js.map
220
+ //# sourceMappingURL=_server.ts.js-LWw-YpVI.js.map
@@ -1,5 +1,5 @@
1
1
  import { g as getDshConnection, s as statusFor, m as mapRpcFailure } from '../../../../../../../chunks/dsh-connection.js-DL5qjlq2.js';
2
- import { h as historyToEvents, e as eventsToEntries } from '../../../../../../../chunks/dsh-events.js-35seDLwL.js';
2
+ import { h as historyToEvents, e as eventsToEntries } from '../../../../../../../chunks/dsh-events.js-CGuF_had.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/insight-config.js-CA-iT3lB.js';
@@ -55,4 +55,4 @@ var GET = async ({ params, url, setHeaders }) => {
55
55
  };
56
56
 
57
57
  export { GET };
58
- //# sourceMappingURL=_server.ts.js-ecbtat_C.js.map
58
+ //# sourceMappingURL=_server.ts.js-CYt4aYoc.js.map
@@ -1,5 +1,5 @@
1
1
  import { s as statusFor, m as mapRpcFailure } from '../../../../../chunks/dsh-connection.js-DL5qjlq2.js';
2
- import { g as gitGateEnabled, i as isInsideRoot } from '../../../../../chunks/git-probe.js-D4DjBXSY.js';
2
+ import { g as gitGateEnabled, i as isInsideRoot } from '../../../../../chunks/git-probe.js-6ARRicD2.js';
3
3
  import { j as json } from '../../../../../chunks/utils.js-CAdNO8Tu.js';
4
4
  import { promises } from 'node:fs';
5
5
  import * as nodePath from 'node:path';
@@ -9,7 +9,7 @@ import '../../../../../chunks/settings-document.js-BRTO59Al.js';
9
9
  import 'node:os';
10
10
  import 'yaml';
11
11
  import '../../../../../chunks/settings-home2.js-f75-B6RI.js';
12
- import '../../../../../chunks/dsh-events.js-35seDLwL.js';
12
+ import '../../../../../chunks/dsh-events.js-CGuF_had.js';
13
13
  import '../../../../../chunks/merge.js-yMwW440S.js';
14
14
  import '../../../../../chunks/permission-state.js-B7UpAHBv.js';
15
15
  import 'node:child_process';
@@ -108,4 +108,4 @@ var POST = async ({ request }) => {
108
108
  };
109
109
 
110
110
  export { POST };
111
- //# sourceMappingURL=_server.ts.js-Cb7X2G82.js.map
111
+ //# sourceMappingURL=_server.ts.js-CWWi0aa8.js.map
@@ -1,5 +1,5 @@
1
1
  import { s as statusFor, m as mapRpcFailure } from '../../../../../chunks/dsh-connection.js-DL5qjlq2.js';
2
- import { g as gitGateEnabled, i as isInsideRoot, a as gitStatus, p as parsePorcelainStatus } from '../../../../../chunks/git-probe.js-D4DjBXSY.js';
2
+ import { g as gitGateEnabled, i as isInsideRoot, a as gitStatus, p as parsePorcelainStatus } from '../../../../../chunks/git-probe.js-6ARRicD2.js';
3
3
  import { j as json } from '../../../../../chunks/utils.js-CAdNO8Tu.js';
4
4
  import { watch } from 'node:fs';
5
5
  import { join } from 'node:path';
@@ -10,7 +10,7 @@ import '../../../../../chunks/settings-document.js-BRTO59Al.js';
10
10
  import 'node:os';
11
11
  import 'yaml';
12
12
  import '../../../../../chunks/settings-home2.js-f75-B6RI.js';
13
- import '../../../../../chunks/dsh-events.js-35seDLwL.js';
13
+ import '../../../../../chunks/dsh-events.js-CGuF_had.js';
14
14
  import '../../../../../chunks/merge.js-yMwW440S.js';
15
15
  import '../../../../../chunks/permission-state.js-B7UpAHBv.js';
16
16
  import '../../../../../chunks/shared.js-HQ0rfhm4.js';
@@ -312,4 +312,4 @@ var GET = async ({ url, request }) => {
312
312
  };
313
313
 
314
314
  export { GET };
315
- //# sourceMappingURL=_server.ts.js-DZ67v729.js.map
315
+ //# sourceMappingURL=_server.ts.js-Dc0g7HPl.js.map
@@ -1,5 +1,5 @@
1
1
  import { s as statusFor } from '../../../../../chunks/dsh-connection.js-DL5qjlq2.js';
2
- import { r as resolveEnclosingRepo, i as isInsideRoot, b as gitFileHead, G as GitUnavailableError } from '../../../../../chunks/git-probe.js-D4DjBXSY.js';
2
+ import { r as resolveEnclosingRepo, i as isInsideRoot, b as gitFileHead, G as GitUnavailableError } from '../../../../../chunks/git-probe.js-6ARRicD2.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/insight-config.js-CA-iT3lB.js';
@@ -9,7 +9,7 @@ import 'node:path';
9
9
  import 'node:os';
10
10
  import 'yaml';
11
11
  import '../../../../../chunks/settings-home2.js-f75-B6RI.js';
12
- import '../../../../../chunks/dsh-events.js-35seDLwL.js';
12
+ import '../../../../../chunks/dsh-events.js-CGuF_had.js';
13
13
  import '../../../../../chunks/merge.js-yMwW440S.js';
14
14
  import '../../../../../chunks/permission-state.js-B7UpAHBv.js';
15
15
  import 'node:child_process';
@@ -77,4 +77,4 @@ var GET = async ({ url }) => {
77
77
  };
78
78
 
79
79
  export { GET };
80
- //# sourceMappingURL=_server.ts.js-BuO5Stmm.js.map
80
+ //# sourceMappingURL=_server.ts.js-CvPoP9yH.js.map
@@ -1,5 +1,5 @@
1
1
  import { s as statusFor } from '../../../../../chunks/dsh-connection.js-DL5qjlq2.js';
2
- import { d as detectRepos } from '../../../../../chunks/git-probe.js-D4DjBXSY.js';
2
+ import { d as detectRepos } from '../../../../../chunks/git-probe.js-6ARRicD2.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/insight-config.js-CA-iT3lB.js';
@@ -9,7 +9,7 @@ import 'node:path';
9
9
  import 'node:os';
10
10
  import 'yaml';
11
11
  import '../../../../../chunks/settings-home2.js-f75-B6RI.js';
12
- import '../../../../../chunks/dsh-events.js-35seDLwL.js';
12
+ import '../../../../../chunks/dsh-events.js-CGuF_had.js';
13
13
  import '../../../../../chunks/merge.js-yMwW440S.js';
14
14
  import '../../../../../chunks/permission-state.js-B7UpAHBv.js';
15
15
  import 'node:child_process';
@@ -65,4 +65,4 @@ var GET = async ({ url }) => {
65
65
  };
66
66
 
67
67
  export { GET };
68
- //# sourceMappingURL=_server.ts.js-Bb_I5Ze7.js.map
68
+ //# sourceMappingURL=_server.ts.js-f5Gk_lb6.js.map
@@ -1,5 +1,5 @@
1
1
  import { s as statusFor } from '../../../../../chunks/dsh-connection.js-DL5qjlq2.js';
2
- import { i as isInsideRoot, a as gitStatus, G as GitUnavailableError } from '../../../../../chunks/git-probe.js-D4DjBXSY.js';
2
+ import { i as isInsideRoot, a as gitStatus, G as GitUnavailableError } from '../../../../../chunks/git-probe.js-6ARRicD2.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/insight-config.js-CA-iT3lB.js';
@@ -9,7 +9,7 @@ import 'node:path';
9
9
  import 'node:os';
10
10
  import 'yaml';
11
11
  import '../../../../../chunks/settings-home2.js-f75-B6RI.js';
12
- import '../../../../../chunks/dsh-events.js-35seDLwL.js';
12
+ import '../../../../../chunks/dsh-events.js-CGuF_had.js';
13
13
  import '../../../../../chunks/merge.js-yMwW440S.js';
14
14
  import '../../../../../chunks/permission-state.js-B7UpAHBv.js';
15
15
  import 'node:child_process';
@@ -70,4 +70,4 @@ var GET = async ({ url }) => {
70
70
  };
71
71
 
72
72
  export { GET };
73
- //# sourceMappingURL=_server.ts.js-cHWxh5VB.js.map
73
+ //# sourceMappingURL=_server.ts.js-BMkKlCgS.js.map
@@ -1,5 +1,5 @@
1
1
  import { s as statusFor, m as mapRpcFailure } from '../../../../../chunks/dsh-connection.js-DL5qjlq2.js';
2
- import { g as gitGateEnabled } from '../../../../../chunks/git-probe.js-D4DjBXSY.js';
2
+ import { g as gitGateEnabled } from '../../../../../chunks/git-probe.js-6ARRicD2.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/insight-config.js-CA-iT3lB.js';
@@ -9,7 +9,7 @@ import 'node:path';
9
9
  import 'node:os';
10
10
  import 'yaml';
11
11
  import '../../../../../chunks/settings-home2.js-f75-B6RI.js';
12
- import '../../../../../chunks/dsh-events.js-35seDLwL.js';
12
+ import '../../../../../chunks/dsh-events.js-CGuF_had.js';
13
13
  import '../../../../../chunks/merge.js-yMwW440S.js';
14
14
  import '../../../../../chunks/permission-state.js-B7UpAHBv.js';
15
15
  import 'node:child_process';
@@ -52,4 +52,4 @@ var GET = async ({ url }) => {
52
52
  };
53
53
 
54
54
  export { GET };
55
- //# sourceMappingURL=_server.ts.js-Blcfn0zm.js.map
55
+ //# sourceMappingURL=_server.ts.js-DUL-2q1R.js.map
@@ -1,9 +1,9 @@
1
1
  import { V as head, W as escape_html, M as derived } from '../../chunks/server.js-DqHGsQU2.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-BT8iDJXe.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-ez_uUx9I.js';
3
3
  import '../../chunks/uneval.js-BJ9Qq2SF.js';
4
4
  import '../../chunks/index-server.js-CV2lq-ha.js';
5
5
  import '../../chunks/shared.js-HQ0rfhm4.js';
6
- import '../../chunks/internal2.js-BGlVENi_.js';
6
+ import '../../chunks/internal2.js-Bcxjr5x2.js';
7
7
  import '../../chunks/exports.js-DH_tjtdv.js';
8
8
  import '../../chunks/config.js-B0w1-uCA.js';
9
9
  import '../../chunks/runtime.js-CCJi3XaY.js';
@@ -41,4 +41,4 @@ function _error($$renderer, $$props) {
41
41
  }
42
42
 
43
43
  export { _error as default };
44
- //# sourceMappingURL=_error.svelte.js-DrXSHJGM.js.map
44
+ //# sourceMappingURL=_error.svelte.js-DDQEX5e3.js.map
@@ -1,7 +1,8 @@
1
1
  import { g as getDshConnection, D as DshRpcError, i as isSubagentRejection } from '../../chunks/dsh-connection.js-DL5qjlq2.js';
2
- import { h as historyToEvents, e as eventsToEntries } from '../../chunks/dsh-events.js-35seDLwL.js';
2
+ import { h as historyToEvents, e as eventsToEntries } from '../../chunks/dsh-events.js-CGuF_had.js';
3
3
  import { p as permissionFromProjection, f as filterKnobEvents } from '../../chunks/permission-state.js-B7UpAHBv.js';
4
4
  import { i as imageLimitsFromProjection } from '../../chunks/image-limits.js-CUdJ0f7r.js';
5
+ import { d as deliverablesFromEvents } from '../../chunks/deliverables.js-Dg6XzNkW.js';
5
6
  import { v as error } from '../../chunks/utils.js-CAdNO8Tu.js';
6
7
 
7
8
  //#region src/routes/+page.server.ts
@@ -28,6 +29,8 @@ var load = async ({ url }) => {
28
29
  * 0.1.2 page carries none; the live baseline below is the seed). */
29
30
  let tailProjections = {};
30
31
  let knobEvents = [];
32
+ /** The session's presented-file inventory (ADR-0027f D1 cold seed). */
33
+ let deliverables = [];
31
34
  try {
32
35
  const historyPage = await getDshConnection().history(sessionId);
33
36
  historyEvents = historyPage.events;
@@ -38,6 +41,7 @@ var load = async ({ url }) => {
38
41
  permission = permissionFromProjection(historyPage.projections?.values?.["permissions"]) ?? null;
39
42
  imageLimits = imageLimitsFromProjection(historyPage.projections?.values?.["imageLimits"]);
40
43
  knobEvents = filterKnobEvents(historyToEvents(historyPage.events));
44
+ deliverables = deliverablesFromEvents(historyToEvents(historyPage.events));
41
45
  } catch (err) {
42
46
  if (err instanceof DshRpcError && err.code === "session/not-found") error(404, { message: `Session ${sessionId} not found on the DSH host.` });
43
47
  if (isSubagentRejection(err)) error(409, { message: `Session ${sessionId} is a harness sub-agent owned by subagent routing — it opens through its durable parent session. (${err.message})` });
@@ -70,6 +74,7 @@ var load = async ({ url }) => {
70
74
  permission,
71
75
  imageLimits,
72
76
  knobEvents,
77
+ deliverables,
73
78
  entries,
74
79
  lastSeq: Math.max(lastLedgerSeq, -1),
75
80
  running,
@@ -83,4 +88,4 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
83
88
  });
84
89
 
85
90
  export { _page_server_ts as _ };
86
- //# sourceMappingURL=_page.server.ts.js-C_ydvzuE.js.map
91
+ //# sourceMappingURL=_page.server.ts.js-DFRnK-I2.js.map