@deepseek-insight/dsi 0.8.2 → 0.8.3

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 (60) hide show
  1. package/build/client/_app/immutable/assets/0.DyOAkKS-.css +2 -0
  2. package/build/client/_app/immutable/chunks/{CAoCg_fG.js → BoHeiMOU.js} +1 -1
  3. package/build/client/_app/immutable/chunks/C9QAOGL1.js +2 -0
  4. package/build/client/_app/immutable/chunks/QJuSx3RG.js +1 -0
  5. package/build/client/_app/immutable/chunks/sC_8Ss7w.js +1 -0
  6. package/build/client/_app/immutable/entry/{app.DIq2Q3OX.js → app.S_mxIoOg.js} +2 -2
  7. package/build/client/_app/immutable/entry/start.BPQAB3iV.js +1 -0
  8. package/build/client/_app/immutable/nodes/{1.DKIIO5Pq.js → 1.D20V6eTe.js} +1 -1
  9. package/build/client/_app/immutable/nodes/{2.CpOJSq6u.js → 2.BHcBdFqH.js} +77 -77
  10. package/build/client/_app/version.json +1 -1
  11. package/build/handler.js +4 -4
  12. package/build/index.js +4 -4
  13. package/build/server/chunks/chunks/{dsh-events.js-CGuF_had.js → dsh-events.js-BUkLR6ZV.js} +13 -1
  14. package/build/server/chunks/chunks/{git-probe.js-Cn_ugqcH.js → git-probe.js-CLF37SRh.js} +2 -2
  15. package/build/server/chunks/chunks/{internal2.js-DFG0wDsP.js → internal2.js-Ba5p8uFM.js} +2 -2
  16. package/build/server/chunks/chunks/{registry.js-BC-TNdmn.js → registry.js-C2MdrfNv.js} +388 -50
  17. package/build/server/chunks/chunks/{state.js-Dki_Bq11.js → state.js-BSiAgink.js} +2 -2
  18. package/build/server/chunks/chunks/{watcher.js-f54CFvdI.js → watcher.js-BVKnoQUw.js} +2 -2
  19. package/build/server/chunks/entries/endpoints/api/a2a/{_server.ts.js-DN0zl7cz.js → _server.ts.js-3kQCQuHT.js} +3 -3
  20. package/build/server/chunks/entries/endpoints/api/a2a/register/{_server.ts.js-C3byr74D.js → _server.ts.js-BUBTCLFn.js} +3 -3
  21. package/build/server/chunks/entries/endpoints/api/browser/_id_/activate/_server.ts.js-CogDOHKu.js +45 -0
  22. package/build/server/chunks/entries/endpoints/api/browser/_id_/close/{_server.ts.js-BKChU9D7.js → _server.ts.js-xOt7LnS1.js} +2 -2
  23. package/build/server/chunks/entries/endpoints/api/browser/_id_/closetab/_server.ts.js-CSmVPvSM.js +44 -0
  24. package/build/server/chunks/entries/endpoints/api/browser/_id_/element/_server.ts.js-BA40oCDW.js +43 -0
  25. package/build/server/chunks/entries/endpoints/api/browser/_id_/input/{_server.ts.js-CUFYX5kg.js → _server.ts.js-EX7eVzjp.js} +5 -4
  26. package/build/server/chunks/entries/endpoints/api/browser/_id_/mcp/{_server.ts.js-fg2eb_ZY.js → _server.ts.js-B_EcmyFt.js} +2 -2
  27. package/build/server/chunks/entries/endpoints/api/browser/_id_/navigate/{_server.ts.js-Dt1n31IP.js → _server.ts.js-C3dYbyS3.js} +11 -7
  28. package/build/server/chunks/entries/endpoints/api/browser/_id_/opentab/_server.ts.js-CMhJJO25.js +45 -0
  29. package/build/server/chunks/entries/endpoints/api/browser/_id_/page/{_server.ts.js-DIF8juwJ.js → _server.ts.js-DIW4uI2S.js} +4 -3
  30. package/build/server/chunks/entries/endpoints/api/browser/_id_/stream/{_server.ts.js-BFdXJdhd.js → _server.ts.js-CIPIlq5X.js} +2 -2
  31. package/build/server/chunks/entries/endpoints/api/browser/_id_/tabs/_server.ts.js-CoEdOiml.js +34 -0
  32. package/build/server/chunks/entries/endpoints/api/browser/_id_/viewport/{_server.ts.js-BIF_7OHe.js → _server.ts.js-CdELUoGT.js} +6 -4
  33. package/build/server/chunks/entries/endpoints/api/browser/{_server.ts.js-B7yjEF1N.js → _server.ts.js-ea6HpNGh.js} +14 -4
  34. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/events/{_server.ts.js-lBsxHSo6.js → _server.ts.js-BzP30TXW.js} +2 -2
  35. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/history/{_server.ts.js-BrEgFdCF.js → _server.ts.js-B7YRQhuJ.js} +2 -2
  36. package/build/server/chunks/entries/endpoints/api/workspace/file-write/{_server.ts.js-BRhlbYEe.js → _server.ts.js-B-5YihUA.js} +3 -3
  37. package/build/server/chunks/entries/endpoints/api/workspace/git-events/{_server.ts.js-B9YI66ZL.js → _server.ts.js-DT5jRZFE.js} +3 -3
  38. package/build/server/chunks/entries/endpoints/api/workspace/git-file-head/{_server.ts.js-DSvXRZQL.js → _server.ts.js-DtW-utrd.js} +3 -3
  39. package/build/server/chunks/entries/endpoints/api/workspace/git-map/{_server.ts.js-8A0skdlM.js → _server.ts.js-8AIAo9jX.js} +3 -3
  40. package/build/server/chunks/entries/endpoints/api/workspace/git-status/{_server.ts.js-Bc6J3t3m.js → _server.ts.js-CMw96vjY.js} +3 -3
  41. package/build/server/chunks/entries/endpoints/api/workspace/write-gate/{_server.ts.js-CfL8Por5.js → _server.ts.js-DKufa14_.js} +3 -3
  42. package/build/server/chunks/entries/pages/{_error.svelte.js-EnDLC3Jj.js → _error.svelte.js-D8-G0evO.js} +3 -3
  43. package/build/server/chunks/entries/pages/{_page.server.ts.js-ar1DbW1v.js → _page.server.ts.js-7x6ZfGoB.js} +2 -2
  44. package/build/server/chunks/entries/pages/{_page.svelte.js-CQUo8VGL.js → _page.svelte.js-7xWLRsiZ.js} +212 -101
  45. package/build/server/chunks/{handler-BBp0LoYK.js → handler-BedQ0jP-.js} +3 -3
  46. package/build/server/chunks/{index.js-S4257Wcs.js → index.js-BF6tPPQs.js} +2 -2
  47. package/build/server/chunks/{manifest.js-DajiWH1H.js → manifest.js-3c0p7QAl.js} +58 -23
  48. package/build/server/chunks/nodes/{0.js-DtkNHIFx.js → 0.js-B3i7sGR_.js} +3 -3
  49. package/build/server/chunks/nodes/1.js-eUf50uxI.js +9 -0
  50. package/build/server/chunks/nodes/{2.js-BORDEffk.js → 2.js-CgnRGwm6.js} +5 -5
  51. package/package.json +2 -7
  52. package/template/.dsi/prompts.sqlite-shm +0 -0
  53. package/template/.dsi/prompts.sqlite-wal +0 -0
  54. package/build/client/_app/immutable/assets/0.DBVVEjy9.css +0 -2
  55. package/build/client/_app/immutable/chunks/BHodvdRc.js +0 -1
  56. package/build/client/_app/immutable/chunks/D-jXFTzB.js +0 -1
  57. package/build/client/_app/immutable/chunks/TTdBFs3C.js +0 -2
  58. package/build/client/_app/immutable/entry/start.E6P3Z7tx.js +0 -1
  59. package/build/server/chunks/nodes/1.js-OAvYMTzU.js +0 -9
  60. /package/build/client/_app/immutable/nodes/{0.Dm_ry-Pr.js → 0.6dTmg1Xv.js} +0 -0
@@ -1 +1 @@
1
- {"version":"1792837814836"}
1
+ {"version":"1792901739906"}
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-BBp0LoYK.js';
6
- import './server/chunks/index.js-S4257Wcs.js';
7
- import './server/chunks/manifest.js-DajiWH1H.js';
5
+ export { h as handler } from './server/chunks/handler-BedQ0jP-.js';
6
+ import './server/chunks/index.js-BF6tPPQs.js';
7
+ import './server/chunks/manifest.js-3c0p7QAl.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-DmIEbDVz.js';
20
20
  import './server/chunks/chunks/server.js-B1bDXhHu.js';
21
21
  import './server/chunks/chunks/internal.js-BcS47nI-.js';
22
- import './server/chunks/chunks/internal2.js-DFG0wDsP.js';
22
+ import './server/chunks/chunks/internal2.js-Ba5p8uFM.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-BBp0LoYK.js';
4
+ import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-BedQ0jP-.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-S4257Wcs.js';
17
+ import './server/chunks/index.js-BF6tPPQs.js';
18
18
  import './server/chunks/chunks/index-server.js-DmIEbDVz.js';
19
19
  import './server/chunks/chunks/server.js-B1bDXhHu.js';
20
20
  import './server/chunks/chunks/internal.js-BcS47nI-.js';
21
- import './server/chunks/chunks/internal2.js-DFG0wDsP.js';
21
+ import './server/chunks/chunks/internal2.js-Ba5p8uFM.js';
22
22
  import './server/chunks/chunks/exports.js-DH_tjtdv.js';
23
- import './server/chunks/manifest.js-DajiWH1H.js';
23
+ import './server/chunks/manifest.js-3c0p7QAl.js';
24
24
  import 'node:url';
25
25
 
26
26
  const path = env('SOCKET_PATH', false);
@@ -508,6 +508,18 @@ function entryForEvent(event) {
508
508
  turn: numeric ? turn : 0
509
509
  };
510
510
  }
511
+ case "developer/message": {
512
+ const message = data?.message;
513
+ const text = textOfContent(message?.content);
514
+ if (typeof text !== "string" || text.length === 0) return null;
515
+ return {
516
+ kind: "developer-message",
517
+ id: `dm:${event.seq}`,
518
+ seq: event.seq,
519
+ time: event.time,
520
+ text
521
+ };
522
+ }
511
523
  default: return {
512
524
  kind: "unknown-event",
513
525
  id: `ev:${event.seq}`,
@@ -538,4 +550,4 @@ function historyToEvents(history) {
538
550
  }
539
551
 
540
552
  export { entryForEvent as a, eventsToEntries as e, historyToEvents as h };
541
- //# sourceMappingURL=dsh-events.js-CGuF_had.js.map
553
+ //# sourceMappingURL=dsh-events.js-BUkLR6ZV.js.map
@@ -1,5 +1,5 @@
1
1
  import { g as getDshConnection } from './dsh-connection.js-BgeraFA2.js';
2
- import { h as historyToEvents } from './dsh-events.js-CGuF_had.js';
2
+ import { h as historyToEvents } from './dsh-events.js-BUkLR6ZV.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-Cn_ugqcH.js.map
219
+ //# sourceMappingURL=git-probe.js-CLF37SRh.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: "nmth84"
583
+ version_hash: "1k3urn6"
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-DFG0wDsP.js.map
606
+ //# sourceMappingURL=internal2.js-Ba5p8uFM.js.map