@deepseek-insight/dsi 0.10.1 → 0.10.2

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 (119) hide show
  1. package/.agents/skills/glass-dsi/scripts/_connect.mjs +21 -2
  2. package/.agents/skills/glass-url/scripts/_connect.mjs +4 -2
  3. package/README.md +30 -22
  4. package/bin/lib/glass-browser-bootstrap.mjs +19 -2
  5. package/bin/lib/zai-patch.mjs +3 -1
  6. package/build/client/_app/immutable/assets/{0.CxUWwepa.css → 0.B2rul4Mk.css} +1 -1
  7. package/build/client/_app/immutable/assets/2.glyfXGzi.css +1 -0
  8. package/build/client/_app/immutable/chunks/{UcxQDPMg.js → BodLd2is.js} +1 -1
  9. package/build/client/_app/immutable/chunks/Cy4hfhN-.js +1 -0
  10. package/build/client/_app/immutable/chunks/D17XAauH.js +2 -0
  11. package/build/client/_app/immutable/chunks/FY34R_78.js +1 -0
  12. package/build/client/_app/immutable/entry/{app.GxH1nznH.js → app.ClaEF2lH.js} +2 -2
  13. package/build/client/_app/immutable/entry/start.CU6iOT39.js +1 -0
  14. package/build/client/_app/immutable/nodes/{1.BVvBJtMj.js → 1.CSTMQTZ7.js} +1 -1
  15. package/build/client/_app/immutable/nodes/{2.D0JzdegJ.js → 2.CdbJFHUF.js} +197 -199
  16. package/build/client/_app/version.json +1 -1
  17. package/build/handler.js +5 -5
  18. package/build/index.js +5 -5
  19. package/build/server/chunks/chunks/{db.js-f2PmBjyD.js → db.js-BGSxIVb3.js} +2 -2
  20. package/build/server/chunks/chunks/{db2.js-DkwY64WO.js → db2.js-vQNFcVO7.js} +2 -2
  21. package/build/server/chunks/chunks/{dsh-connection.js-BW07Aicl.js → dsh-connection.js-Dcdxqp52.js} +27 -7
  22. package/build/server/chunks/chunks/{exports.js-DH_tjtdv.js → exports.js-D5zA1U7A.js} +42 -4
  23. package/build/server/chunks/chunks/{git-probe.js-CQqTV7XX.js → git-probe.js-BIieYqLU.js} +2 -2
  24. package/build/server/chunks/chunks/{insight-config.js-C5-Rhh5A.js → insight-config.js-ylYA2CXm.js} +2 -2
  25. package/build/server/chunks/chunks/{internal2.js-BRzR_ZGp.js → internal2.js-XxZ8wzRE.js} +3 -3
  26. package/build/server/chunks/chunks/{registry.js-6St5Biiy.js → registry.js-ClhrzR6O.js} +51 -48
  27. package/build/server/chunks/chunks/{registry2.js-CFzpvj9c.js → registry2.js-BZfrwsOy.js} +20 -1
  28. package/build/server/chunks/chunks/{settings-document.js-DxKURfc_.js → settings-document.js-BIxaivJ1.js} +23 -8
  29. package/build/server/chunks/chunks/{state.js-Ct6h8rMl.js → state.js-D5zsYmjz.js} +3 -3
  30. package/build/server/chunks/chunks/{watcher.js-DvlNn8X0.js → watcher.js-Bcm29AuA.js} +4 -4
  31. package/build/server/chunks/entries/endpoints/api/a2a/_id_/{_server.ts.js-DItDXV23.js → _server.ts.js-BbIEpZB5.js} +4 -4
  32. package/build/server/chunks/entries/endpoints/api/a2a/{_server.ts.js-Hor8QZb1.js → _server.ts.js-Daho1I-l.js} +6 -6
  33. package/build/server/chunks/entries/endpoints/api/a2a/register/{_server.ts.js-CEvvsa8B.js → _server.ts.js-C5X77Uef.js} +6 -6
  34. package/build/server/chunks/entries/endpoints/api/browser/_id_/activate/{_server.ts.js-DYvCel9L.js → _server.ts.js-B-Ns5pyR.js} +4 -4
  35. package/build/server/chunks/entries/endpoints/api/browser/_id_/close/{_server.ts.js-CDNbpOqu.js → _server.ts.js-CzXe-sTr.js} +4 -4
  36. package/build/server/chunks/entries/endpoints/api/browser/_id_/closetab/{_server.ts.js-C8UZMTcb.js → _server.ts.js-Ct465_rt.js} +4 -4
  37. package/build/server/chunks/entries/endpoints/api/browser/_id_/element/{_server.ts.js-CERwttQS.js → _server.ts.js-6mdytkvM.js} +4 -4
  38. package/build/server/chunks/entries/endpoints/api/browser/_id_/history/{_server.ts.js-DtVkS-mH.js → _server.ts.js-BwUPVQGx.js} +4 -4
  39. package/build/server/chunks/entries/endpoints/api/browser/_id_/input/{_server.ts.js-C85umKKr.js → _server.ts.js-8Nq3JxSo.js} +4 -4
  40. package/build/server/chunks/entries/endpoints/api/browser/_id_/mcp/{_server.ts.js-CrTtygPQ.js → _server.ts.js-B9eKtj1-.js} +4 -4
  41. package/build/server/chunks/entries/endpoints/api/browser/_id_/navigate/{_server.ts.js-DgJ6DXVr.js → _server.ts.js-CHJs9Qbl.js} +4 -4
  42. package/build/server/chunks/entries/endpoints/api/browser/_id_/opentab/{_server.ts.js-Bj9bKEEv.js → _server.ts.js-B32Ow0Y2.js} +4 -4
  43. package/build/server/chunks/entries/endpoints/api/browser/_id_/page/{_server.ts.js--1WTGEfT.js → _server.ts.js-Cpv4BolN.js} +4 -4
  44. package/build/server/chunks/entries/endpoints/api/browser/_id_/stream/{_server.ts.js-D8hQe810.js → _server.ts.js-DJqJImSI.js} +4 -4
  45. package/build/server/chunks/entries/endpoints/api/browser/_id_/tabs/{_server.ts.js-CSYYFlm2.js → _server.ts.js-Bm6IAZF6.js} +4 -4
  46. package/build/server/chunks/entries/endpoints/api/browser/_id_/viewport/{_server.ts.js-KJjT8zXH.js → _server.ts.js-B1VVzfCk.js} +4 -4
  47. package/build/server/chunks/entries/endpoints/api/browser/_id_/zoom/{_server.ts.js-DQtzgPeG.js → _server.ts.js-CoUpqHeq.js} +4 -4
  48. package/build/server/chunks/entries/endpoints/api/browser/{_server.ts.js-DSkCBGRA.js → _server.ts.js-D9hK0CG8.js} +4 -4
  49. package/build/server/chunks/entries/endpoints/api/config/{_server.ts.js-C_9kwANR.js → _server.ts.js-DqPIv-gn.js} +4 -4
  50. package/build/server/chunks/entries/endpoints/api/dsh/directory/{_server.ts.js-h1OTHcL4.js → _server.ts.js-DzFVVhO_.js} +4 -4
  51. package/build/server/chunks/entries/endpoints/api/dsh/jobs/{_server.ts.js-B6nih9Sd.js → _server.ts.js-DvuZUgbK.js} +4 -4
  52. package/build/server/chunks/entries/endpoints/api/dsh/jobs/follow/{_server.ts.js-Cf17SVmD.js → _server.ts.js-D6brRlYZ.js} +4 -4
  53. package/build/server/chunks/entries/endpoints/api/dsh/pick-directory/{_server.ts.js-DjNwMbdS.js → _server.ts.js-8nNlcikK.js} +4 -4
  54. package/build/server/chunks/entries/endpoints/api/dsh/presets/{_server.ts.js-Cz5aaEhC.js → _server.ts.js-C8AZBt63.js} +4 -4
  55. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/attachment/{_server.ts.js-BFBy5O9Y.js → _server.ts.js-BFfr6uJh.js} +4 -4
  56. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/cancel/{_server.ts.js-CgEdCo3T.js → _server.ts.js-DSSgbD87.js} +4 -4
  57. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/catalog/{_server.ts.js-Bo_aEnHh.js → _server.ts.js-DYtrYC2P.js} +4 -4
  58. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/changes/{_server.ts.js-Bd2G_GaH.js → _server.ts.js-HxI5M4jg.js} +4 -4
  59. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/command/{_server.ts.js-DL64FyRw.js → _server.ts.js-Ch0dMm33.js} +4 -4
  60. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/events/{_server.ts.js-MhOGB66D.js → _server.ts.js-BG5C--Ok.js} +4 -4
  61. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/fork/{_server.ts.js-MjPgXgGO.js → _server.ts.js-B64YyaFI.js} +4 -4
  62. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/goal/{_server.ts.js-BUjDae5H.js → _server.ts.js-0RtL-9Zr.js} +4 -4
  63. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/history/{_server.ts.js-dTKd7Hsv.js → _server.ts.js-C4k-RTIw.js} +4 -4
  64. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/models/{_server.ts.js-B82rvKoI.js → _server.ts.js-CU38DxMt.js} +4 -4
  65. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/path/{_server.ts.js-Cqijsi-c.js → _server.ts.js-BXphf5ux.js} +3 -3
  66. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/permission/{_server.ts.js-CL_vVv2p.js → _server.ts.js-DQ5FG9Pc.js} +4 -4
  67. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/prompt/{_server.ts.js-WS4W9Ly4.js → _server.ts.js-In3bXhUO.js} +4 -4
  68. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/rename/{_server.ts.js-B72KGRGh.js → _server.ts.js-Bd0KF8Qm.js} +4 -4
  69. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/respond/{_server.ts.js-DK5xb2b5.js → _server.ts.js-4Y-KAw2r.js} +4 -4
  70. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/select-model/{_server.ts.js-lhT87EQu.js → _server.ts.js-zXYA1AJD.js} +4 -4
  71. package/build/server/chunks/entries/endpoints/api/dsh/sessions/{_server.ts.js-CMhfhbkN.js → _server.ts.js-vh7lFV0n.js} +4 -4
  72. package/build/server/chunks/entries/endpoints/api/dsh/subagents/{_server.ts.js-BLvcFsg6.js → _server.ts.js-DH7OEWm0.js} +4 -4
  73. package/build/server/chunks/entries/endpoints/api/dsh/workspace-file/{_server.ts.js-D_rw2Uq6.js → _server.ts.js-CDwgBp7D.js} +4 -4
  74. package/build/server/chunks/entries/endpoints/api/dsh/workspace-tree/{_server.ts.js-DfXpMMpw.js → _server.ts.js-CtFxC_yV.js} +4 -4
  75. package/build/server/chunks/entries/endpoints/api/dsh/workspaces/{_server.ts.js-2mJCJVxk.js → _server.ts.js-DRNzGdAj.js} +4 -4
  76. package/build/server/chunks/entries/endpoints/api/dsh/workspaces/_workspaceId_/delete/{_server.ts.js-BCx0Lzjf.js → _server.ts.js-DIjNfN0d.js} +4 -4
  77. package/build/server/chunks/entries/endpoints/api/dsh/workspaces/_workspaceId_/rename/{_server.ts.js-DECaSjwp.js → _server.ts.js-CtV7JhrK.js} +4 -4
  78. package/build/server/chunks/entries/endpoints/api/prompts/_id_/{_server.ts.js-i_ciJzlb.js → _server.ts.js-Cg9zHbUP.js} +4 -4
  79. package/build/server/chunks/entries/endpoints/api/prompts/{_server.ts.js-BO1pScn7.js → _server.ts.js-DOHmlKvl.js} +4 -4
  80. package/build/server/chunks/entries/endpoints/api/prompts/use/{_server.ts.js-Buhpf7WE.js → _server.ts.js-COVyy224.js} +4 -4
  81. package/build/server/chunks/entries/endpoints/api/settings/{_server.ts.js-DngUQzcT.js → _server.ts.js-HjpfRAaT.js} +3 -3
  82. package/build/server/chunks/entries/endpoints/api/terminal/_id_/delete/_server.ts.js-D9UU6xR6.js +42 -0
  83. package/build/server/chunks/entries/endpoints/api/terminal/_id_/output/{_server.ts.js-DLETP4yQ.js → _server.ts.js-BqJRMRsb.js} +2 -2
  84. package/build/server/chunks/entries/endpoints/api/terminal/_id_/reattach/{_server.ts.js-uWl6oxPS.js → _server.ts.js-D6bMXeOk.js} +2 -2
  85. package/build/server/chunks/entries/endpoints/api/terminal/_id_/send/{_server.ts.js-DYNmXaAd.js → _server.ts.js-BRgsqPFM.js} +2 -2
  86. package/build/server/chunks/entries/endpoints/api/terminal/_id_/stream/{_server.ts.js-C5m3Ktho.js → _server.ts.js-EWo4sSmg.js} +2 -2
  87. package/build/server/chunks/entries/endpoints/api/terminal/{_server.ts.js-DoTNvcOa.js → _server.ts.js-v1ixRdpN.js} +4 -4
  88. package/build/server/chunks/entries/endpoints/api/terminal/stream/_server.ts.js-BQOQyT7o.js +185 -0
  89. package/build/server/chunks/entries/endpoints/api/workspace/file-write/{_server.ts.js-BzYOJSkI.js → _server.ts.js-CjU6bLOf.js} +5 -5
  90. package/build/server/chunks/entries/endpoints/api/workspace/git-events/{_server.ts.js-xcNesei9.js → _server.ts.js-CYU0btiH.js} +5 -5
  91. package/build/server/chunks/entries/endpoints/api/workspace/git-file-head/{_server.ts.js-DsJWYdxt.js → _server.ts.js-Du9YcwLw.js} +5 -5
  92. package/build/server/chunks/entries/endpoints/api/workspace/git-map/{_server.ts.js-CNCku9BR.js → _server.ts.js-BdV_KDjb.js} +5 -5
  93. package/build/server/chunks/entries/endpoints/api/workspace/git-status/{_server.ts.js-nLsNjOxj.js → _server.ts.js-C-C84Yzu.js} +5 -5
  94. package/build/server/chunks/entries/endpoints/api/workspace/write-gate/{_server.ts.js-urQk2-ds.js → _server.ts.js-D9uFvZya.js} +5 -5
  95. package/build/server/chunks/entries/{hooks.server.js-CU2RE5vs.js → hooks.server.js-YJQlamhk.js} +2 -2
  96. package/build/server/chunks/entries/pages/{_error.svelte.js-BXD7Pthk.js → _error.svelte.js-TrOSxb0e.js} +4 -4
  97. package/build/server/chunks/entries/pages/{_page.server.ts.js-BK3Y6eff.js → _page.server.ts.js-BFDPRDEm.js} +2 -2
  98. package/build/server/chunks/entries/pages/{_page.svelte.js-DaZfwP76.js → _page.svelte.js-BUuXoaje.js} +477 -139
  99. package/build/server/chunks/{handler-C5_-AjlT.js → handler-BOqY82LA.js} +3 -3
  100. package/build/server/chunks/{index.js-BECscw6k.js → index.js-M1GginY2.js} +3 -44
  101. package/build/server/chunks/{manifest.js-aksIjogg.js → manifest.js-BEmwisii.js} +81 -67
  102. package/build/server/chunks/nodes/{0.js-xX4GZsu5.js → 0.js-Do4ZKaKe.js} +3 -3
  103. package/build/server/chunks/nodes/1.js-CRbdbfof.js +9 -0
  104. package/build/server/chunks/nodes/{2.js-CBdFoBFK.js → 2.js-BFX_zPfJ.js} +8 -8
  105. package/package.json +1 -1
  106. package/skills/dsi-drive-terminal/SKILL.md +23 -1
  107. package/skills/dsi-spec/SKILL.md +8 -0
  108. package/skills/dsi-task/SKILL.md +34 -0
  109. package/skills/dsi-token-spent/SKILL.md +122 -0
  110. package/template/.dsi/prompts.sqlite +0 -0
  111. package/template/.dsi/prompts.sqlite-shm +0 -0
  112. package/template/.dsi/prompts.sqlite-wal +0 -0
  113. package/build/client/_app/immutable/assets/2.CSFboNRO.css +0 -1
  114. package/build/client/_app/immutable/chunks/C4M9oU_3.js +0 -1
  115. package/build/client/_app/immutable/chunks/CNT-CapI.js +0 -1
  116. package/build/client/_app/immutable/chunks/DttyJZuo.js +0 -2
  117. package/build/client/_app/immutable/entry/start.P-LmBYpD.js +0 -1
  118. package/build/server/chunks/nodes/1.js-BaNGyV1A.js +0 -9
  119. /package/build/client/_app/immutable/nodes/{0.CfpMgVS-.js → 0.CYP0vr1_.js} +0 -0
@@ -1 +1 @@
1
- {"version":"1793892955715"}
1
+ {"version":"1794104267615"}
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-C5_-AjlT.js';
6
- import './server/chunks/index.js-BECscw6k.js';
7
- import './server/chunks/manifest.js-aksIjogg.js';
5
+ export { h as handler } from './server/chunks/handler-BOqY82LA.js';
6
+ import './server/chunks/index.js-M1GginY2.js';
7
+ import './server/chunks/manifest.js-BEmwisii.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-CPkVoRxB.js';
20
20
  import './server/chunks/chunks/server.js-Dijo7DtV.js';
21
21
  import './server/chunks/chunks/internal.js-BcS47nI-.js';
22
- import './server/chunks/chunks/internal2.js-BRzR_ZGp.js';
23
- import './server/chunks/chunks/exports.js-DH_tjtdv.js';
22
+ import './server/chunks/chunks/internal2.js-XxZ8wzRE.js';
23
+ import './server/chunks/chunks/exports.js-D5zA1U7A.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-C5_-AjlT.js';
4
+ import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-BOqY82LA.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-BECscw6k.js';
17
+ import './server/chunks/index.js-M1GginY2.js';
18
18
  import './server/chunks/chunks/index-server.js-CPkVoRxB.js';
19
19
  import './server/chunks/chunks/server.js-Dijo7DtV.js';
20
20
  import './server/chunks/chunks/internal.js-BcS47nI-.js';
21
- import './server/chunks/chunks/internal2.js-BRzR_ZGp.js';
22
- import './server/chunks/chunks/exports.js-DH_tjtdv.js';
23
- import './server/chunks/manifest.js-aksIjogg.js';
21
+ import './server/chunks/chunks/internal2.js-XxZ8wzRE.js';
22
+ import './server/chunks/chunks/exports.js-D5zA1U7A.js';
23
+ import './server/chunks/manifest.js-BEmwisii.js';
24
24
  import 'node:url';
25
25
 
26
26
  const path = env('SOCKET_PATH', false);
@@ -1,4 +1,4 @@
1
- import { D as DSI_CONFIG_PATH } from './insight-config.js-C5-Rhh5A.js';
1
+ import { D as DSI_CONFIG_PATH } from './insight-config.js-ylYA2CXm.js';
2
2
  import { mkdirSync } from 'node:fs';
3
3
  import { dirname, join } from 'node:path';
4
4
  import { DatabaseSync } from 'node:sqlite';
@@ -117,4 +117,4 @@ function pruneTerminalBefore(cutoffMs, db = openA2aDb()) {
117
117
  }
118
118
 
119
119
  export { listRecent as a, getRow as g, insertWaiting as i, listWaiting as l, openA2aDb as o, pruneTerminalBefore as p, settleRow as s };
120
- //# sourceMappingURL=db.js-f2PmBjyD.js.map
120
+ //# sourceMappingURL=db.js-BGSxIVb3.js.map
@@ -1,4 +1,4 @@
1
- import { e as readPromptsConfig, D as DSI_CONFIG_PATH, j as joinTagWords, p as parseTagWords } from './insight-config.js-C5-Rhh5A.js';
1
+ import { e as readPromptsConfig, D as DSI_CONFIG_PATH, j as joinTagWords, p as parseTagWords } from './insight-config.js-ylYA2CXm.js';
2
2
  import { mkdirSync } from 'node:fs';
3
3
  import { join, dirname } from 'node:path';
4
4
  import { DatabaseSync } from 'node:sqlite';
@@ -762,4 +762,4 @@ function updatePrompt(id, fields) {
762
762
  }
763
763
 
764
764
  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 };
765
- //# sourceMappingURL=db2.js-DkwY64WO.js.map
765
+ //# sourceMappingURL=db2.js-vQNFcVO7.js.map
@@ -1,4 +1,4 @@
1
- import { r as readDshAuthConfig, a as readServerConfig, b as readDshPresetEnglishConfig } from './insight-config.js-C5-Rhh5A.js';
1
+ import { r as readDshAuthConfig, a as readServerConfig, b as readDshPresetEnglishConfig } from './insight-config.js-ylYA2CXm.js';
2
2
  import { z as dshBaseUrl } from './config.js-r_jw_bQQ.js';
3
3
 
4
4
  //#region src/lib/server/dsh-rpc.ts
@@ -1914,12 +1914,18 @@ var RpcRelay = class {
1914
1914
  };
1915
1915
  }
1916
1916
  /**
1917
- * POC-2 W3 — session.create {cwd?, agentPreset?} → {sessionId, …}.
1917
+ * POC-2 W3 — session.create → {sessionId, …}.
1918
1918
  * Live-probed round-trip 2026-08-21 (probe7 → real session id).
1919
+ * Birth Workspace Attach (2026-11-06, The Frozen Roster amendment D5):
1920
+ * the location is EITHER workspaceId OR cwd — never both (the host
1921
+ * refuses the pair gateway/bad-request; commands.js:113-115). With
1922
+ * workspaceId the host derives the cwd from the workspace row and
1923
+ * attaches the session to the roster at birth.
1919
1924
  */
1920
- async createSession(cwd, agentPreset) {
1925
+ async createSession(cwd, agentPreset, workspaceId) {
1926
+ const location = workspaceId !== void 0 ? { workspaceId } : cwd === void 0 ? {} : { cwd };
1921
1927
  return await this.conn.rpc(DSH_METHODS.create, DSH_ARGS.create({
1922
- ...cwd === void 0 ? {} : { cwd },
1928
+ ...location,
1923
1929
  ...agentPreset === void 0 ? {} : { agentPreset }
1924
1930
  }));
1925
1931
  }
@@ -2571,9 +2577,23 @@ var DshConnection = class {
2571
2577
  async historyPage(sessionId, beforeSeq) {
2572
2578
  return this.relay.historyPage(sessionId, beforeSeq);
2573
2579
  }
2574
- /** session.create {cwd?, agentPreset?}. */
2580
+ /**
2581
+ * session.create {cwd?|workspaceId?, agentPreset?} — Birth Workspace
2582
+ * Attach (2026-11-06, The Frozen Roster amendment D5/D6): an exact
2583
+ * canonical-path match between the requested cwd and a registered
2584
+ * workspace sends {workspaceId} so the host ATTACHES the session to
2585
+ * the roster at birth (the cwd is omitted — the host derives it from
2586
+ * the row). No match, empty registry, or a LOOKUP failure falls back
2587
+ * to {cwd} exactly as before — resolution failure never fails the
2588
+ * create (D6: no match is a silent fallback, never an auto-adopt).
2589
+ */
2575
2590
  async createSession(cwd, agentPreset) {
2576
- return this.relay.createSession(cwd, agentPreset);
2591
+ let workspaceId;
2592
+ if (cwd !== void 0) try {
2593
+ const { items } = await this.listWorkspaces();
2594
+ workspaceId = items.find((w) => w.path === cwd)?.workspaceId;
2595
+ } catch {}
2596
+ return this.relay.createSession(cwd, agentPreset, workspaceId);
2577
2597
  }
2578
2598
  /** session/fork — the fork child. */
2579
2599
  async forkSession(sessionId, atSeq) {
@@ -2636,4 +2656,4 @@ var DshConnection = class {
2636
2656
  };
2637
2657
 
2638
2658
  export { DshRpcError as D, isPromptImageMediaType as a, buildPromptContent as b, getDshConnection as g, isSubagentRejection as i, mapRpcFailure as m, statusFor as s };
2639
- //# sourceMappingURL=dsh-connection.js-BW07Aicl.js.map
2659
+ //# sourceMappingURL=dsh-connection.js-Dcdxqp52.js.map
@@ -1,3 +1,43 @@
1
+ //#region node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.3.0_svelte@5.56.10_vite@8.2.2_@type_60f7eb265b11a32382764d70df8bbe24/node_modules/@sveltejs/kit/src/runtime/pathname.js
2
+ var DATA_SUFFIX = "/__data.json";
3
+ var HTML_DATA_SUFFIX = ".html__data.json";
4
+ /** @param {string} pathname */
5
+ function has_data_suffix(pathname) {
6
+ return pathname.endsWith(DATA_SUFFIX) || pathname.endsWith(HTML_DATA_SUFFIX);
7
+ }
8
+ /** @param {string} pathname */
9
+ function add_data_suffix(pathname) {
10
+ if (pathname.endsWith(".html")) return pathname.replace(/\.html$/, HTML_DATA_SUFFIX);
11
+ return pathname.replace(/\/$/, "") + DATA_SUFFIX;
12
+ }
13
+ /** @param {string} pathname */
14
+ function strip_data_suffix(pathname) {
15
+ if (pathname.endsWith(HTML_DATA_SUFFIX)) return pathname.slice(0, -16) + ".html";
16
+ return pathname.slice(0, -12);
17
+ }
18
+ var ROUTE_SUFFIX = "/__route.js";
19
+ /**
20
+ * @param {string} pathname
21
+ * @returns {boolean}
22
+ */
23
+ function has_resolution_suffix(pathname) {
24
+ return pathname.endsWith(ROUTE_SUFFIX);
25
+ }
26
+ /**
27
+ * Convert a regular URL to a route to send to SvelteKit's server-side route resolution endpoint
28
+ * @param {string} pathname
29
+ * @returns {string}
30
+ */
31
+ function add_resolution_suffix(pathname) {
32
+ return pathname.replace(/\/$/, "") + ROUTE_SUFFIX;
33
+ }
34
+ /**
35
+ * @param {string} pathname
36
+ * @returns {string}
37
+ */
38
+ function strip_resolution_suffix(pathname) {
39
+ return pathname.slice(0, -11);
40
+ }
1
41
  var internal = new URL("sveltekit-internal://");
2
42
  /**
3
43
  * @param {string} base
@@ -129,8 +169,6 @@ function hash(...values) {
129
169
  } else throw new TypeError("value must be a string or TypedArray");
130
170
  return (hash >>> 0).toString(36);
131
171
  }
132
- //#endregion
133
- //#region node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.3.0_svelte@5.56.10_vite@8.2.2_@type_60f7eb265b11a32382764d70df8bbe24/node_modules/@sveltejs/kit/src/utils/routing.js
134
172
  /**
135
173
  * @param {RegExpMatchArray} match
136
174
  * @param {import('types').RouteParam[]} params
@@ -259,5 +297,5 @@ var validate_page_exports = validator(valid_page_exports);
259
297
  var validate_layout_server_exports = validator(valid_layout_server_exports);
260
298
  var validate_page_server_exports = validator(valid_page_server_exports);
261
299
 
262
- export { disable_search as a, validate_layout_exports as b, validate_page_server_exports as c, decode_pathname as d, validate_page_exports as e, find_route as f, hash as h, make_trackable as m, normalize_path as n, resolve as r, validate_layout_server_exports as v };
263
- //# sourceMappingURL=exports.js-DH_tjtdv.js.map
300
+ export { has_data_suffix as a, strip_data_suffix as b, add_data_suffix as c, decode_pathname as d, add_resolution_suffix as e, find_route as f, disable_search as g, has_resolution_suffix as h, validate_layout_exports as i, validate_page_server_exports as j, validate_page_exports as k, hash as l, make_trackable as m, normalize_path as n, resolve as r, strip_resolution_suffix as s, validate_layout_server_exports as v };
301
+ //# sourceMappingURL=exports.js-D5zA1U7A.js.map
@@ -1,4 +1,4 @@
1
- import { g as getDshConnection } from './dsh-connection.js-BW07Aicl.js';
1
+ import { g as getDshConnection } from './dsh-connection.js-Dcdxqp52.js';
2
2
  import { h as historyToEvents } from './dsh-events.js-BHf0lLZ5.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';
@@ -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-CQqTV7XX.js.map
219
+ //# sourceMappingURL=git-probe.js-BIieYqLU.js.map
@@ -1,5 +1,5 @@
1
1
  import { r as resolveA2aConfig, n as intWithin, i as isConfigRecord, D as DEFAULT_PROMPT_TAGS, o as resolveSidebarPlacement, p as resolveWidthBounds, q as resolvePanelPresets, s as resolveZoomBounds, t as resolveConversationFlags, u as resolveStatsBarMode, a as DEFAULT_SIDEBAR_PLACEMENT, c as DEFAULT_PANEL_MAX_ZOOM, d as DEFAULT_PANEL_MIN_ZOOM, e as DEFAULT_A2A_WATCH_TIMEOUT_MS, f as DEFAULT_A2A_FAST_POLL_MS, h as DEFAULT_HOME_REFRESH_MS, j as DEFAULT_HEARTBEAT_TYPE, k as DEFAULT_STATS_BAR_MODE, l as DEFAULT_POLL_IDLE_MS, m as DEFAULT_ACCESS_CONFIRM_TIMEOUT_MS, v as DEFAULT_TERMINAL_IDLE_MS, w as DEFAULT_TERMINAL_GRACE_MS, x as DEFAULT_TERMINAL_SPILL_BYTES, y as DEFAULT_TERMINAL_TAIL_BYTES } from './config.js-r_jw_bQQ.js';
2
- import { e as ensureDsiHome, m as migrateLegacyDsiConfig, p as parseYamlSettings } from './settings-document.js-DxKURfc_.js';
2
+ import { e as ensureDsiHome, m as migrateLegacyDsiConfig, p as parseYamlSettings } from './settings-document.js-BIxaivJ1.js';
3
3
  import { s as settingsHomeDir } from './settings-home2.js-f75-B6RI.js';
4
4
  import { readFileSync } from 'node:fs';
5
5
  import { dirname, join } from 'node:path';
@@ -353,4 +353,4 @@ function readBrowserConfig(configPath) {
353
353
  }
354
354
 
355
355
  export { DEFAULT_CHAT_CONFIG as A, readTerminalConfig as B, DSI_CONFIG_PATH as D, readServerConfig as a, readDshPresetEnglishConfig as b, readA2aConfig as c, readBrowserConfig as d, readPromptsConfig as e, readSettingsHomes as f, readJobsConfig as g, readSidebarConfig as h, readPanelPresets as i, joinTagWords as j, readPanelConfig as k, readHomeConfig as l, readConversationConfig as m, readChatConfig as n, readDshSessionsRootConfig as o, parseTagWords as p, isValidTagWord as q, readDshAuthConfig as r, DEFAULT_DSH_PRESET_ENGLISH as s, DEFAULT_SERVER_CONFIG as t, DEFAULT_PROMPTS_CONFIG as u, DEFAULT_SIDEBAR_CONFIG as v, DEFAULT_PANEL_CONFIG as w, DEFAULT_A2A_CONFIG as x, DEFAULT_HOME_CONFIG as y, DEFAULT_CONVERSATION_CONFIG as z };
356
- //# sourceMappingURL=insight-config.js-C5-Rhh5A.js.map
356
+ //# sourceMappingURL=insight-config.js-ylYA2CXm.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: "1h3cpc"
583
+ version_hash: "1uhloe2"
584
584
  };
585
585
  async function get_hooks() {
586
586
  let handle;
@@ -588,7 +588,7 @@ async function get_hooks() {
588
588
  let handleError;
589
589
  let handleValidationError;
590
590
  let init;
591
- ({handle, handleFetch, handleError, handleValidationError, init} = await import('../entries/hooks.server.js-CU2RE5vs.js'));
591
+ ({handle, handleFetch, handleError, handleValidationError, init} = await import('../entries/hooks.server.js-YJQlamhk.js'));
592
592
  let reroute;
593
593
  let transport;
594
594
  return {
@@ -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-BRzR_ZGp.js.map
606
+ //# sourceMappingURL=internal2.js-XxZ8wzRE.js.map
@@ -1,4 +1,4 @@
1
- import { d as readBrowserConfig } from './insight-config.js-C5-Rhh5A.js';
1
+ import { d as readBrowserConfig } from './insight-config.js-ylYA2CXm.js';
2
2
  import { mkdirSync, writeFileSync, rmSync, readdirSync, readFileSync } from 'node:fs';
3
3
  import { join } from 'node:path';
4
4
  import { spawn, spawnSync } from 'node:child_process';
@@ -1161,7 +1161,7 @@ var BrowserRegistry = class {
1161
1161
  recursive: true,
1162
1162
  force: true
1163
1163
  });
1164
- else errs.push(/* @__PURE__ */ new Error("profile cleanup skipped - dir outside disposable root: " + entry.profileDir));
1164
+ else console.warn("profile cleanup skipped - dir outside disposable root: " + entry.profileDir);
1165
1165
  } catch (e) {
1166
1166
  errs.push(e);
1167
1167
  }
@@ -1399,54 +1399,57 @@ var BrowserRegistry = class {
1399
1399
  w: cw,
1400
1400
  h: ch
1401
1401
  };
1402
- await race(anyCdp.send("Browser.setWindowBounds", {
1403
- windowId: win.windowId,
1404
- bounds: { windowState: "minimized" }
1405
- }), null);
1406
- await race(anyCdp.send("Browser.setWindowBounds", {
1407
- windowId: win.windowId,
1408
- bounds: { windowState: "normal" }
1409
- }), null);
1410
- await race(anyCdp.send("Browser.setWindowBounds", {
1411
- windowId: win.windowId,
1412
- bounds: {
1402
+ if (e.headedOpen === true) console.log("[surface] headed session — bounce+flash skipped (ADR-0041 Amendment 5)");
1403
+ else {
1404
+ await race(anyCdp.send("Browser.setWindowBounds", {
1405
+ windowId: win.windowId,
1406
+ bounds: { windowState: "minimized" }
1407
+ }), null);
1408
+ await race(anyCdp.send("Browser.setWindowBounds", {
1409
+ windowId: win.windowId,
1410
+ bounds: { windowState: "normal" }
1411
+ }), null);
1412
+ await race(anyCdp.send("Browser.setWindowBounds", {
1413
+ windowId: win.windowId,
1414
+ bounds: {
1415
+ width: Math.max(200, want.w + cw),
1416
+ height: Math.max(120, want.h + ch),
1417
+ windowState: "normal"
1418
+ }
1419
+ }), null);
1420
+ await new Promise((r) => setTimeout(r, 300));
1421
+ for (let i = 0; i < 10 && !matched(); i += 1) await new Promise((r) => setTimeout(r, 100));
1422
+ if (matched()) return;
1423
+ const parked = {
1413
1424
  width: Math.max(200, want.w + cw),
1414
1425
  height: Math.max(120, want.h + ch),
1415
1426
  windowState: "normal"
1416
- }
1417
- }), null);
1418
- await new Promise((r) => setTimeout(r, 300));
1419
- for (let i = 0; i < 10 && !matched(); i += 1) await new Promise((r) => setTimeout(r, 100));
1420
- if (matched()) return;
1421
- const parked = {
1422
- width: Math.max(200, want.w + cw),
1423
- height: Math.max(120, want.h + ch),
1424
- windowState: "normal"
1425
- };
1426
- await race(anyCdp.send("Browser.setWindowBounds", {
1427
- windowId: win.windowId,
1428
- bounds: {
1429
- ...parked,
1430
- left: 10,
1431
- top: 10
1432
- }
1433
- }), null);
1434
- await new Promise((r) => setTimeout(r, 400));
1435
- await race(anyCdp.send("Browser.setWindowBounds", {
1436
- windowId: win.windowId,
1437
- bounds: {
1438
- ...parked,
1439
- left: -32e3,
1440
- top: -32e3
1441
- }
1442
- }), null);
1443
- await new Promise((r) => setTimeout(r, 300));
1444
- for (let i = 0; i < 10 && !matched(); i += 1) await new Promise((r) => setTimeout(r, 100));
1445
- if (matched()) return;
1446
- console.log("[surface] ladder exhausted: bounce+flash ran, stream frames still", (() => {
1447
- const d = dimsOf(handle.relay.latestFrame());
1448
- return d ? d.w + "x" + d.h : "unknown";
1449
- })());
1427
+ };
1428
+ await race(anyCdp.send("Browser.setWindowBounds", {
1429
+ windowId: win.windowId,
1430
+ bounds: {
1431
+ ...parked,
1432
+ left: 10,
1433
+ top: 10
1434
+ }
1435
+ }), null);
1436
+ await new Promise((r) => setTimeout(r, 400));
1437
+ await race(anyCdp.send("Browser.setWindowBounds", {
1438
+ windowId: win.windowId,
1439
+ bounds: {
1440
+ ...parked,
1441
+ left: -32e3,
1442
+ top: -32e3
1443
+ }
1444
+ }), null);
1445
+ await new Promise((r) => setTimeout(r, 300));
1446
+ for (let i = 0; i < 10 && !matched(); i += 1) await new Promise((r) => setTimeout(r, 100));
1447
+ if (matched()) return;
1448
+ console.log("[surface] ladder exhausted: bounce+flash ran, stream frames still", (() => {
1449
+ const d = dimsOf(handle.relay.latestFrame());
1450
+ return d ? d.w + "x" + d.h : "unknown";
1451
+ })());
1452
+ }
1450
1453
  }
1451
1454
  }
1452
1455
  const cfg = readBrowserConfig();
@@ -1784,4 +1787,4 @@ var BrowserRegistry = class {
1784
1787
  var browserRegistry = new BrowserRegistry();
1785
1788
 
1786
1789
  export { BrowserRegistryRefusal as B, browserRegistry as b, clampZoom as c };
1787
- //# sourceMappingURL=registry.js-6St5Biiy.js.map
1790
+ //# sourceMappingURL=registry.js-ClhrzR6O.js.map
@@ -529,6 +529,25 @@ var TerminalRegistry = class {
529
529
  lingeringPids: result.lingeringPids
530
530
  };
531
531
  }
532
+ /** Destroy: run the close ladder, then PRUNE the entry (ADR amendment
533
+ * 2026-11-07, D2 extension). The desk's clear chord is the caller —
534
+ * an exited session prunes without re-killing (close is idempotent
535
+ * on a settled session); the fence applies like every tokened verb. */
536
+ async destroy(sessionId, token) {
537
+ const entry = this.entries.get(sessionId);
538
+ if (!entry) throw new TerminalRegistryRefusal("NO_SESSION", "no such terminal session");
539
+ if (entry.token !== token) throw new TerminalRegistryRefusal("FOREIGN_SESSION", "this tab does not own the terminal");
540
+ const result = await entry.session.close();
541
+ this.entries.delete(sessionId);
542
+ return result.quiescent ? {
543
+ quiescent: true,
544
+ pruned: true
545
+ } : {
546
+ quiescent: false,
547
+ lingeringPids: result.lingeringPids,
548
+ pruned: true
549
+ };
550
+ }
532
551
  readFrom(sessionId, fromByte) {
533
552
  const entry = this.entries.get(sessionId);
534
553
  if (!entry) throw new TerminalRegistryRefusal("NO_SESSION", "no such terminal session");
@@ -558,4 +577,4 @@ var TerminalRegistry = class {
558
577
  var terminalRegistry = new TerminalRegistry();
559
578
 
560
579
  export { TerminalRegistryRefusal as T, TerminalSendRefusal as a, terminalRegistry as t };
561
- //# sourceMappingURL=registry2.js-CFzpvj9c.js.map
580
+ //# sourceMappingURL=registry2.js-BZfrwsOy.js.map
@@ -82,21 +82,36 @@ function templateHomePath(templatePath) {
82
82
  /**
83
83
  * First-start home bootstrap (template/.dsi): when the DSI home directory is
84
84
  * absent, clone the shipped template (settings.yaml, prompts.sqlite seed,
85
- * a2a.sqlite ledger) into place. An existing home is NEVER touched; a missing
86
- * template is a silent no-op so builds without one degrade to the defaults
87
- * contract.
85
+ * a2a.sqlite ledger) into place. When the home exists but is a partial
86
+ * seed — the CLI (`dsi dsh --sync`, bin/dsi.mjs) writes settings.yaml (and
87
+ * so the home directory) BEFORE the server child runs — top the template's
88
+ * remaining files in WITHOUT clobbering anything already present. A bare
89
+ * "exists → skip" guard permanently skipped the DB clone on every fresh
90
+ * install (2026-11-08 RCA: ~/.dsi/prompts.sqlite empty, 0 of 49 prompts);
91
+ * the seed signature (settings.yaml present) keeps arbitrary pre-created
92
+ * directories untouched. A missing template is a silent no-op so builds
93
+ * without one degrade to the defaults contract.
88
94
  * @param homePath - test seam overriding the operator home directory.
89
95
  * @param templatePath - test seam overriding the template directory.
90
- * @returns `exists` (home present), `cloned` (template copied), or
96
+ * @returns `exists` (home present and nothing added), `cloned` (full template
97
+ * copied into a missing home), `merged` (partial seed topped up), or
91
98
  * `no-template` (nothing to copy from).
92
99
  */
93
100
  function ensureDsiHome(homePath, templatePath) {
94
101
  const home = homePath ?? dirname(DSI_SETTINGS_PATH);
95
- if (existsSync(home)) return "exists";
96
102
  const template = templateHomePath();
97
103
  if (!existsSync(template)) return "no-template";
98
- cpSync(template, home, { recursive: true });
99
- return "cloned";
104
+ if (!existsSync(home)) {
105
+ cpSync(template, home, { recursive: true });
106
+ return "cloned";
107
+ }
108
+ if (!existsSync(join(home, "settings.yaml"))) return "exists";
109
+ cpSync(template, home, {
110
+ recursive: true,
111
+ force: false,
112
+ errorOnExist: false
113
+ });
114
+ return "merged";
100
115
  }
101
116
  /** Atomic write: temp file in the target directory, then rename. */
102
117
  function writeAtomic(path, text) {
@@ -159,4 +174,4 @@ function parseYamlSettings(text) {
159
174
  }
160
175
 
161
176
  export { SettingsParseError as S, ensureDsiHome as e, migrateLegacyDsiConfig as m, parseYamlSettings as p, readSettingsDocument as r, saveSettingsDocument as s };
162
- //# sourceMappingURL=settings-document.js-DxKURfc_.js.map
177
+ //# sourceMappingURL=settings-document.js-BIxaivJ1.js.map
@@ -1,7 +1,7 @@
1
1
  import { i as index_server_exports } from './index-server.js-CPkVoRxB.js';
2
2
  import './shared.js-HQ0rfhm4.js';
3
- import './internal2.js-BRzR_ZGp.js';
4
- import './exports.js-DH_tjtdv.js';
3
+ import './internal2.js-XxZ8wzRE.js';
4
+ import './exports.js-D5zA1U7A.js';
5
5
  import { U as snapshot, g as getContext, n as noop } from './server.js-Dijo7DtV.js';
6
6
  import { U as UI_LOCALES } from './config.js-r_jw_bQQ.js';
7
7
  import { c as getLocale } from './runtime.js-CCJi3XaY.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-Ct6h8rMl.js.map
307
+ //# sourceMappingURL=state.js-D5zsYmjz.js.map
@@ -1,6 +1,6 @@
1
- import { c as readA2aConfig } from './insight-config.js-C5-Rhh5A.js';
2
- import { i as insertWaiting, o as openA2aDb, s as settleRow, p as pruneTerminalBefore, l as listWaiting } from './db.js-f2PmBjyD.js';
3
- import { g as getDshConnection } from './dsh-connection.js-BW07Aicl.js';
1
+ import { c as readA2aConfig } from './insight-config.js-ylYA2CXm.js';
2
+ import { i as insertWaiting, o as openA2aDb, s as settleRow, p as pruneTerminalBefore, l as listWaiting } from './db.js-BGSxIVb3.js';
3
+ import { g as getDshConnection } from './dsh-connection.js-Dcdxqp52.js';
4
4
  import { a as entryForEvent, h as historyToEvents } from './dsh-events.js-BHf0lLZ5.js';
5
5
 
6
6
  //#region src/lib/server/a2a/matcher.ts
@@ -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-DvlNn8X0.js.map
473
+ //# sourceMappingURL=watcher.js-Bcm29AuA.js.map
@@ -1,8 +1,8 @@
1
- import { g as getRow } from '../../../../../chunks/db.js-f2PmBjyD.js';
1
+ import { g as getRow } from '../../../../../chunks/db.js-BGSxIVb3.js';
2
2
  import { j as json } from '../../../../../chunks/utils.js-CAdNO8Tu.js';
3
- import '../../../../../chunks/insight-config.js-C5-Rhh5A.js';
3
+ import '../../../../../chunks/insight-config.js-ylYA2CXm.js';
4
4
  import '../../../../../chunks/config.js-r_jw_bQQ.js';
5
- import '../../../../../chunks/settings-document.js-DxKURfc_.js';
5
+ import '../../../../../chunks/settings-document.js-BIxaivJ1.js';
6
6
  import 'node:fs';
7
7
  import 'node:path';
8
8
  import 'node:os';
@@ -36,4 +36,4 @@ var GET = ({ params }) => {
36
36
  };
37
37
 
38
38
  export { GET };
39
- //# sourceMappingURL=_server.ts.js-DItDXV23.js.map
39
+ //# sourceMappingURL=_server.ts.js-BbIEpZB5.js.map
@@ -1,16 +1,16 @@
1
- import { a as listRecent } from '../../../../chunks/db.js-f2PmBjyD.js';
2
- import { e as ensureStarted } from '../../../../chunks/watcher.js-DvlNn8X0.js';
1
+ import { a as listRecent } from '../../../../chunks/db.js-BGSxIVb3.js';
2
+ import { e as ensureStarted } from '../../../../chunks/watcher.js-Bcm29AuA.js';
3
3
  import { j as json } from '../../../../chunks/utils.js-CAdNO8Tu.js';
4
- import '../../../../chunks/insight-config.js-C5-Rhh5A.js';
4
+ import '../../../../chunks/insight-config.js-ylYA2CXm.js';
5
5
  import '../../../../chunks/config.js-r_jw_bQQ.js';
6
- import '../../../../chunks/settings-document.js-DxKURfc_.js';
6
+ import '../../../../chunks/settings-document.js-BIxaivJ1.js';
7
7
  import 'node:fs';
8
8
  import 'node:path';
9
9
  import 'node:os';
10
10
  import 'yaml';
11
11
  import '../../../../chunks/settings-home2.js-f75-B6RI.js';
12
12
  import 'node:sqlite';
13
- import '../../../../chunks/dsh-connection.js-BW07Aicl.js';
13
+ import '../../../../chunks/dsh-connection.js-Dcdxqp52.js';
14
14
  import '../../../../chunks/dsh-events.js-BHf0lLZ5.js';
15
15
  import '../../../../chunks/merge.js-yMwW440S.js';
16
16
  import '../../../../chunks/shared.js-HQ0rfhm4.js';
@@ -61,4 +61,4 @@ var GET = ({ url }) => {
61
61
  };
62
62
 
63
63
  export { GET };
64
- //# sourceMappingURL=_server.ts.js-Hor8QZb1.js.map
64
+ //# sourceMappingURL=_server.ts.js-Daho1I-l.js.map
@@ -1,16 +1,16 @@
1
- import { c as readA2aConfig } from '../../../../../chunks/insight-config.js-C5-Rhh5A.js';
2
- import { g as getDshConnection } from '../../../../../chunks/dsh-connection.js-BW07Aicl.js';
3
- import { c as configureWatcher, r as registerWatch } from '../../../../../chunks/watcher.js-DvlNn8X0.js';
1
+ import { c as readA2aConfig } from '../../../../../chunks/insight-config.js-ylYA2CXm.js';
2
+ import { g as getDshConnection } from '../../../../../chunks/dsh-connection.js-Dcdxqp52.js';
3
+ import { c as configureWatcher, r as registerWatch } from '../../../../../chunks/watcher.js-Bcm29AuA.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-r_jw_bQQ.js';
7
- import '../../../../../chunks/settings-document.js-DxKURfc_.js';
7
+ import '../../../../../chunks/settings-document.js-BIxaivJ1.js';
8
8
  import 'node:fs';
9
9
  import 'node:path';
10
10
  import 'node:os';
11
11
  import 'yaml';
12
12
  import '../../../../../chunks/settings-home2.js-f75-B6RI.js';
13
- import '../../../../../chunks/db.js-f2PmBjyD.js';
13
+ import '../../../../../chunks/db.js-BGSxIVb3.js';
14
14
  import 'node:sqlite';
15
15
  import '../../../../../chunks/dsh-events.js-BHf0lLZ5.js';
16
16
  import '../../../../../chunks/merge.js-yMwW440S.js';
@@ -99,4 +99,4 @@ var POST = async ({ request }) => {
99
99
  };
100
100
 
101
101
  export { POST };
102
- //# sourceMappingURL=_server.ts.js-CEvvsa8B.js.map
102
+ //# sourceMappingURL=_server.ts.js-C5X77Uef.js.map
@@ -1,8 +1,8 @@
1
- import { b as browserRegistry, B as BrowserRegistryRefusal } from '../../../../../../chunks/registry.js-6St5Biiy.js';
1
+ import { b as browserRegistry, B as BrowserRegistryRefusal } from '../../../../../../chunks/registry.js-ClhrzR6O.js';
2
2
  import { j as json } from '../../../../../../chunks/utils.js-CAdNO8Tu.js';
3
- import '../../../../../../chunks/insight-config.js-C5-Rhh5A.js';
3
+ import '../../../../../../chunks/insight-config.js-ylYA2CXm.js';
4
4
  import '../../../../../../chunks/config.js-r_jw_bQQ.js';
5
- import '../../../../../../chunks/settings-document.js-DxKURfc_.js';
5
+ import '../../../../../../chunks/settings-document.js-BIxaivJ1.js';
6
6
  import 'node:fs';
7
7
  import 'node:path';
8
8
  import 'node:os';
@@ -42,4 +42,4 @@ var POST = async (ctx) => {
42
42
  };
43
43
 
44
44
  export { POST };
45
- //# sourceMappingURL=_server.ts.js-DYvCel9L.js.map
45
+ //# sourceMappingURL=_server.ts.js-B-Ns5pyR.js.map
@@ -1,8 +1,8 @@
1
- import { b as browserRegistry } from '../../../../../../chunks/registry.js-6St5Biiy.js';
1
+ import { b as browserRegistry } from '../../../../../../chunks/registry.js-ClhrzR6O.js';
2
2
  import { j as json } from '../../../../../../chunks/utils.js-CAdNO8Tu.js';
3
- import '../../../../../../chunks/insight-config.js-C5-Rhh5A.js';
3
+ import '../../../../../../chunks/insight-config.js-ylYA2CXm.js';
4
4
  import '../../../../../../chunks/config.js-r_jw_bQQ.js';
5
- import '../../../../../../chunks/settings-document.js-DxKURfc_.js';
5
+ import '../../../../../../chunks/settings-document.js-BIxaivJ1.js';
6
6
  import 'node:fs';
7
7
  import 'node:path';
8
8
  import 'node:os';
@@ -29,4 +29,4 @@ var POST = async (ctx) => {
29
29
  };
30
30
 
31
31
  export { POST };
32
- //# sourceMappingURL=_server.ts.js-CDNbpOqu.js.map
32
+ //# sourceMappingURL=_server.ts.js-CzXe-sTr.js.map
@@ -1,8 +1,8 @@
1
- import { b as browserRegistry, B as BrowserRegistryRefusal } from '../../../../../../chunks/registry.js-6St5Biiy.js';
1
+ import { b as browserRegistry, B as BrowserRegistryRefusal } from '../../../../../../chunks/registry.js-ClhrzR6O.js';
2
2
  import { j as json } from '../../../../../../chunks/utils.js-CAdNO8Tu.js';
3
- import '../../../../../../chunks/insight-config.js-C5-Rhh5A.js';
3
+ import '../../../../../../chunks/insight-config.js-ylYA2CXm.js';
4
4
  import '../../../../../../chunks/config.js-r_jw_bQQ.js';
5
- import '../../../../../../chunks/settings-document.js-DxKURfc_.js';
5
+ import '../../../../../../chunks/settings-document.js-BIxaivJ1.js';
6
6
  import 'node:fs';
7
7
  import 'node:path';
8
8
  import 'node:os';
@@ -48,4 +48,4 @@ var POST = async (ctx) => {
48
48
  };
49
49
 
50
50
  export { POST };
51
- //# sourceMappingURL=_server.ts.js-C8UZMTcb.js.map
51
+ //# sourceMappingURL=_server.ts.js-Ct465_rt.js.map