@deepseek-insight/dsi 0.5.18 → 0.5.20
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.
- package/.agents/skills/dsi-adr/SKILL.md +121 -0
- package/.agents/skills/dsi-i18n-migrate/SKILL.md +87 -0
- package/.agents/skills/dsi-ov-setup/SKILL.md +114 -0
- package/.agents/skills/dsi-release/SKILL.md +175 -0
- package/.agents/skills/dsi-spcheck/SKILL.md +188 -0
- package/.agents/skills/dsi-spec/SKILL.md +310 -0
- package/.agents/skills/dsi-spec/references/mermaid-pattern.md +160 -0
- package/.agents/skills/dsi-spec/references/tasks-json-template.md +125 -0
- package/.agents/skills/dsi-task/SKILL.md +287 -0
- package/README.md +5 -23
- package/bin/dsi.mjs +129 -17
- package/bin/lib/mirror-skills.mjs +56 -0
- package/build/client/_app/immutable/assets/0.C4pk9RsQ.css +2 -0
- package/build/client/_app/immutable/assets/{2.GTtLKMiQ.css → 2.Dk-hwaP_.css} +1 -1
- package/build/client/_app/immutable/chunks/CodI3RGj.js +1 -0
- package/build/client/_app/immutable/chunks/{CLNDb8QN.js → CxmtCU9s.js} +1 -1
- package/build/client/_app/immutable/chunks/{Bx7fD5zN.js → DKDzTags.js} +2 -2
- package/build/client/_app/immutable/chunks/{DWBqt9Io.js → azDKH4zi.js} +1 -1
- package/build/client/_app/immutable/chunks/qIBjcgkE.js +1 -0
- package/build/client/_app/immutable/entry/{app.CnWnvioB.js → app.CqYGeqRv.js} +2 -2
- package/build/client/_app/immutable/entry/start.CIXiL_7f.js +1 -0
- package/build/client/_app/immutable/nodes/{0.B3qXb7lb.js → 0.u99aBgpL.js} +1 -1
- package/build/client/_app/immutable/nodes/{1.DdjrT3tT.js → 1.qcRcZCY6.js} +1 -1
- package/build/client/_app/immutable/nodes/2.GgqfB5rv.js +171 -0
- package/build/client/_app/version.json +1 -1
- package/build/handler.js +4 -4
- package/build/index.js +4 -4
- package/build/server/chunks/chunks/{app-config.svelte.js-rN4N5yAI.js → app-config.svelte.js-CFb4kaFl.js} +7 -3
- package/build/server/chunks/chunks/{db.js-DbbYS9o8.js → db.js-9wP1ySFv.js} +2 -2
- package/build/server/chunks/chunks/{db2.js-BQWa7bEG.js → db2.js-B_Un4Zvq.js} +7 -5
- package/build/server/chunks/chunks/{dsh-connection.js-CpcCtA42.js → dsh-connection.js-CwL9I98w.js} +4 -3
- package/build/server/chunks/chunks/{git-probe.js-CvkToKO4.js → git-probe.js-C7z6xDzg.js} +3 -3
- package/build/server/chunks/chunks/{insight-config.js-Dw_Qi0fO.js → insight-config.js-COS9LOWZ.js} +13 -4
- package/build/server/chunks/chunks/{internal.js-DKO0SoY7.js → internal.js-Bf2uRIVS.js} +2 -2
- package/build/server/chunks/chunks/{permission-state.js-yvwUSnug.js → permission-state.js-BoJAoWqi.js} +18 -15
- package/build/server/chunks/chunks/settings-home.js-CqnqJVOu.js +9 -0
- package/build/server/chunks/chunks/settings-home2.js-f75-B6RI.js +102 -0
- package/build/server/chunks/chunks/{state.js-C7gJT4Un.js → state.js-OWX1K3Yj.js} +2 -2
- package/build/server/chunks/chunks/{watcher.js-C97Xyorx.js → watcher.js-Dc9hzRLI.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/a2a/_id_/{_server.ts.js-Cqh1iqgu.js → _server.ts.js-0rfV7w20.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/a2a/{_server.ts.js-DNKD4rZu.js → _server.ts.js-DX0DUIja.js} +6 -5
- package/build/server/chunks/entries/endpoints/api/a2a/register/{_server.ts.js-CJ-FwkrZ.js → _server.ts.js-zB-V9Naa.js} +6 -5
- package/build/server/chunks/entries/endpoints/api/config/{_server.ts.js-CMM4kYVx.js → _server.ts.js-Bo4VgIna.js} +5 -3
- package/build/server/chunks/entries/endpoints/api/dsh/directory/{_server.ts.js-epVplzwB.js → _server.ts.js-_Wc4NU0Q.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/pick-directory/{_server.ts.js-bXHb97gT.js → _server.ts.js-CvoINUYy.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/presets/{_server.ts.js-BNOHhtzy.js → _server.ts.js-B4UwZ8nd.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/attachment/{_server.ts.js-BBi6jeVj.js → _server.ts.js-Hml2J0Bq.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/cancel/{_server.ts.js-N0nKPuqL.js → _server.ts.js-CsZ2u8cs.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/catalog/{_server.ts.js-VGFCPAbs.js → _server.ts.js-BhF1Nzig.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/command/{_server.ts.js-na_sUb0Z.js → _server.ts.js-BGXjV_Ak.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/events/{_server.ts.js-CeNf028P.js → _server.ts.js-BF4vBIja.js} +5 -4
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/fork/{_server.ts.js-DfqO-GO4.js → _server.ts.js-B2OwrEQD.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/goal/{_server.ts.js-Dj9GYNl7.js → _server.ts.js-DboY_7cp.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/history/{_server.ts.js-DqShsRl9.js → _server.ts.js-BpioYdnc.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/models/{_server.ts.js-BQSBUf70.js → _server.ts.js-CLrgUoq0.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/path/{_server.ts.js-CeCKDyKB.js → _server.ts.js-BlZr_mA6.js} +3 -2
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/permission/{_server.ts.js-CadTCNUJ.js → _server.ts.js-BiU_IgYD.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/prompt/{_server.ts.js-BXzgi8xX.js → _server.ts.js-FV-4ougZ.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/rename/{_server.ts.js-BfD5FXiL.js → _server.ts.js-ChxB0XU5.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/respond/{_server.ts.js-CiDPC9TY.js → _server.ts.js-DkSydg_X.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/select-model/{_server.ts.js-DGcZgN96.js → _server.ts.js-Wbuf-vse.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/sessions/{_server.ts.js-DnU1CCOw.js → _server.ts.js-B-BfCKKL.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/workspace-file/{_server.ts.js-BZ0UV1n2.js → _server.ts.js-fKfv5g19.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/workspace-file-bytes/{_server.ts.js-lxLpuPFL.js → _server.ts.js-DZpRzvas.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/workspace-tree/{_server.ts.js-Cw3vl704.js → _server.ts.js-Hn5-fnsU.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/workspaces/{_server.ts.js-KKnR2UO4.js → _server.ts.js-CtPDRjV7.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/workspaces/_workspaceId_/delete/{_server.ts.js-I1eSZn60.js → _server.ts.js-DOp3nIcK.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/dsh/workspaces/_workspaceId_/rename/{_server.ts.js-B0zqAKnV.js → _server.ts.js-DiwcZfK9.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/prompts/_id_/{_server.ts.js-C-QN0enK.js → _server.ts.js-SoNSMvWj.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/prompts/{_server.ts.js-CwTGUPIp.js → _server.ts.js-DIZiiHk-.js} +12 -4
- package/build/server/chunks/entries/endpoints/api/prompts/use/{_server.ts.js-Bvotxm37.js → _server.ts.js-CbsUk0fk.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/settings/{_server.ts.js-CRRLXk0y.js → _server.ts.js-DCeIpzKT.js} +3 -2
- package/build/server/chunks/entries/endpoints/api/settings-home/file/_server.ts.js-C1gSFX1P.js +68 -0
- package/build/server/chunks/entries/endpoints/api/settings-home/file-write/_server.ts.js-Dx0glK_q.js +68 -0
- package/build/server/chunks/entries/endpoints/api/settings-home/tree/_server.ts.js-CAmn2SKB.js +61 -0
- package/build/server/chunks/entries/endpoints/api/workspace/file-write/{_server.ts.js-DY_NDlYl.js → _server.ts.js-Blw1UFX2.js} +6 -5
- package/build/server/chunks/entries/endpoints/api/workspace/git-events/{_server.ts.js-DHEaymrG.js → _server.ts.js-yflU8VH2.js} +6 -5
- package/build/server/chunks/entries/endpoints/api/workspace/git-file-head/{_server.ts.js-AQgNkfCV.js → _server.ts.js-q9jXuJ1p.js} +10 -18
- package/build/server/chunks/entries/endpoints/api/workspace/git-map/{_server.ts.js-C9vxPbB3.js → _server.ts.js-YjwnbPfG.js} +12 -20
- package/build/server/chunks/entries/endpoints/api/workspace/git-status/{_server.ts.js-BlMRR11v.js → _server.ts.js-DRQay15h.js} +12 -20
- package/build/server/chunks/entries/endpoints/api/workspace/write-gate/_server.ts.js-BiCzLyNH.js +54 -0
- package/build/server/chunks/entries/pages/{_error.svelte.js-C73uxSol.js → _error.svelte.js-DkmmDHjP.js} +3 -3
- package/build/server/chunks/entries/pages/{_page.server.ts.js-ze2dUhXW.js → _page.server.ts.js-BHW1mzYQ.js} +3 -3
- package/build/server/chunks/entries/pages/{_page.svelte.js-C1cGitkt.js → _page.svelte.js-BSt3-Adz.js} +993 -532
- package/build/server/chunks/{handler-CTOEBU52.js → handler-CEAxnB4f.js} +3 -3
- package/build/server/chunks/{index.js-Bifh9-nS.js → index.js-B-3rUYGC.js} +2 -2
- package/build/server/chunks/{manifest.js-Da5_i6lM.js → manifest.js--ZDTDlzU.js} +71 -43
- package/build/server/chunks/nodes/{0.js-DIgCB7dX.js → 0.js-BQXxAZac.js} +3 -3
- package/build/server/chunks/nodes/1.js-DMcugevB.js +9 -0
- package/build/server/chunks/nodes/{2.js-DXw1-iEf.js → 2.js-BrT7uCAN.js} +9 -8
- package/package.json +3 -2
- package/template/.dsi/config.json +2 -2
- package/template/.dsi/prompts.sqlite-shm +0 -0
- package/template/.dsi/prompts.sqlite-wal +0 -0
- package/template/.dsi/settings.yaml +2 -1
- package/build/client/_app/immutable/assets/0.BQjO3ESU.css +0 -2
- package/build/client/_app/immutable/chunks/CAZxZSEb.js +0 -1
- package/build/client/_app/immutable/chunks/DvLq-YzL.js +0 -1
- package/build/client/_app/immutable/entry/start.DrunaWOx.js +0 -1
- package/build/client/_app/immutable/nodes/2.o9KKAujP.js +0 -170
- package/build/server/chunks/nodes/1.js-DPBXm0Gt.js +0 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1789671661313"}
|
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-
|
|
6
|
-
import './server/chunks/index.js-
|
|
7
|
-
import './server/chunks/manifest.js
|
|
5
|
+
export { h as handler } from './server/chunks/handler-CEAxnB4f.js';
|
|
6
|
+
import './server/chunks/index.js-B-3rUYGC.js';
|
|
7
|
+
import './server/chunks/manifest.js--ZDTDlzU.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-
|
|
19
|
+
import './server/chunks/chunks/internal.js-Bf2uRIVS.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-
|
|
4
|
+
import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-CEAxnB4f.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-
|
|
18
|
-
import './server/chunks/chunks/internal.js-
|
|
17
|
+
import './server/chunks/index.js-B-3rUYGC.js';
|
|
18
|
+
import './server/chunks/chunks/internal.js-Bf2uRIVS.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
|
|
22
|
+
import './server/chunks/manifest.js--ZDTDlzU.js';
|
|
23
23
|
import 'node:url';
|
|
24
24
|
|
|
25
25
|
const path = env('SOCKET_PATH', false);
|
|
@@ -284,12 +284,16 @@ function freshDefault() {
|
|
|
284
284
|
maxZoom: DEFAULT_PANEL_MAX_ZOOM
|
|
285
285
|
},
|
|
286
286
|
sidebar: {
|
|
287
|
-
defaultWidth:
|
|
287
|
+
defaultWidth: 400,
|
|
288
288
|
minWidth: 200,
|
|
289
289
|
maxWidth: 500,
|
|
290
290
|
placement: DEFAULT_SIDEBAR_PLACEMENT
|
|
291
291
|
},
|
|
292
|
-
prompts: { tags: [...DEFAULT_PROMPT_TAGS] }
|
|
292
|
+
prompts: { tags: [...DEFAULT_PROMPT_TAGS] },
|
|
293
|
+
settingsHomes: {
|
|
294
|
+
dsi: "~/.dsi",
|
|
295
|
+
dsh: "~/.dsh"
|
|
296
|
+
}
|
|
293
297
|
};
|
|
294
298
|
}
|
|
295
299
|
var config = freshDefault();
|
|
@@ -302,4 +306,4 @@ function appConfig() {
|
|
|
302
306
|
}
|
|
303
307
|
|
|
304
308
|
export { appConfig as a, triggerMode as b, shouldRecordPrompt as c, getTrigger as g, isValidTagWord as i, previewSegments as p, searchKey as s, textPreviewOf as t };
|
|
305
|
-
//# sourceMappingURL=app-config.svelte.js-
|
|
309
|
+
//# sourceMappingURL=app-config.svelte.js-CFb4kaFl.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DSI_CONFIG_PATH } from './insight-config.js-
|
|
1
|
+
import { D as DSI_CONFIG_PATH } from './insight-config.js-COS9LOWZ.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-
|
|
120
|
+
//# sourceMappingURL=db.js-9wP1ySFv.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as joinTagWords, p as parseTagWords, e as readPromptsConfig, D as DSI_CONFIG_PATH } from './insight-config.js-COS9LOWZ.js';
|
|
2
2
|
import { mkdirSync } from 'node:fs';
|
|
3
3
|
import { dirname, join } from 'node:path';
|
|
4
4
|
import { DatabaseSync } from 'node:sqlite';
|
|
@@ -694,7 +694,7 @@ function listPrompts(opts) {
|
|
|
694
694
|
* existing row as a 409-info object instead of inserting. Manual create ≠
|
|
695
695
|
* upsert — never silently bumps use_count.
|
|
696
696
|
*/
|
|
697
|
-
function createPrompt(text, label, tags) {
|
|
697
|
+
function createPrompt(text, label, tags, opts) {
|
|
698
698
|
const trimmed = text.trim();
|
|
699
699
|
if (!trimmed) return {
|
|
700
700
|
ok: false,
|
|
@@ -713,8 +713,10 @@ function createPrompt(text, label, tags) {
|
|
|
713
713
|
};
|
|
714
714
|
const cleanLabel = label ? label.trim().slice(0, 60) || null : null;
|
|
715
715
|
const cleanTags = joinTagWords(tags ?? []);
|
|
716
|
-
|
|
717
|
-
|
|
716
|
+
const seededUses = Math.max(1, Math.floor(opts?.use_count ?? 1));
|
|
717
|
+
const seededMacro = opts?.macro === true ? 1 : 0;
|
|
718
|
+
db.prepare(`INSERT INTO prompts (label, text, use_count, macro, last_used_at, created_at, tags)
|
|
719
|
+
VALUES (?, ?, ?, ?, datetime('now'), datetime('now'), ?)`).run(cleanLabel, trimmed, seededUses, seededMacro, cleanTags);
|
|
718
720
|
pruneIfNeeded(db);
|
|
719
721
|
return {
|
|
720
722
|
ok: true,
|
|
@@ -772,4 +774,4 @@ function updatePrompt(id, fields) {
|
|
|
772
774
|
}
|
|
773
775
|
|
|
774
776
|
export { countPromptUse as a, createPrompt as c, deletePrompt as d, listPrompts as l, renamePromptLabel as r, searchPrompts as s, updatePrompt as u };
|
|
775
|
-
//# sourceMappingURL=db2.js-
|
|
777
|
+
//# sourceMappingURL=db2.js-B_Un4Zvq.js.map
|
package/build/server/chunks/chunks/{dsh-connection.js-CpcCtA42.js → dsh-connection.js-CwL9I98w.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { q as dshBaseUrl } from './config.js-iG_1bK3r.js';
|
|
2
|
-
import { r as readDshPresetEnglishConfig, a as readDshAuthConfig, b as readServerConfig } from './insight-config.js-
|
|
2
|
+
import { r as readDshPresetEnglishConfig, a as readDshAuthConfig, b as readServerConfig } from './insight-config.js-COS9LOWZ.js';
|
|
3
3
|
|
|
4
4
|
//#region src/lib/server/dsh-rpc.ts
|
|
5
5
|
/**
|
|
@@ -1549,7 +1549,8 @@ var DshConnection = class {
|
|
|
1549
1549
|
const page = raw;
|
|
1550
1550
|
return {
|
|
1551
1551
|
events: expandRecords(Array.isArray(page?.records) ? page.records : []).map((event) => ({ event })),
|
|
1552
|
-
hasMore: page?.hasMore === true
|
|
1552
|
+
hasMore: page?.hasMore === true,
|
|
1553
|
+
...page?.projections !== void 0 ? { projections: page.projections } : {}
|
|
1553
1554
|
};
|
|
1554
1555
|
}
|
|
1555
1556
|
/**
|
|
@@ -2013,4 +2014,4 @@ function normalizePreset(row, overlayEnglish = true) {
|
|
|
2013
2014
|
}
|
|
2014
2015
|
|
|
2015
2016
|
export { DshRpcError as D, isPromptImageMediaType as a, buildPromptContent as b, getDshConnection as g, isSubagentRejection as i, mapRpcFailure as m, statusFor as s };
|
|
2016
|
-
//# sourceMappingURL=dsh-connection.js-
|
|
2017
|
+
//# sourceMappingURL=dsh-connection.js-CwL9I98w.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as getDshConnection } from './dsh-connection.js-
|
|
1
|
+
import { g as getDshConnection } from './dsh-connection.js-CwL9I98w.js';
|
|
2
2
|
import { h as historyToEvents } from './dsh-events.js-BtDxaV6Q.js';
|
|
3
|
-
import { a as foldKnobs, f as filterKnobEvents, F as FULL_ACCESS_PRESET } from './permission-state.js-
|
|
3
|
+
import { a as foldKnobs, f as filterKnobEvents, F as FULL_ACCESS_PRESET } from './permission-state.js-BoJAoWqi.js';
|
|
4
4
|
import { promises } from 'node:fs';
|
|
5
5
|
import * as nodePath from 'node:path';
|
|
6
6
|
import { execFile } from 'node:child_process';
|
|
@@ -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-
|
|
219
|
+
//# sourceMappingURL=git-probe.js-C7z6xDzg.js.map
|
package/build/server/chunks/chunks/{insight-config.js-Dw_Qi0fO.js → insight-config.js-COS9LOWZ.js}
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { r as resolveA2aConfig, D as DEFAULT_PROMPT_TAGS, k as resolveSidebarPlacement, l as resolveWidthBounds, m as resolveZoomBounds, n as intWithin, o as resolveConversationFlags, p as resolveStatsBarMode, i as isConfigRecord, a as DEFAULT_SIDEBAR_PLACEMENT, b as DEFAULT_PANEL_MAX_ZOOM, c as DEFAULT_PANEL_MIN_ZOOM, d as DEFAULT_A2A_WATCH_TIMEOUT_MS, e as DEFAULT_A2A_FAST_POLL_MS, f as DEFAULT_HOME_REFRESH_MS, g as DEFAULT_STATS_BAR_MODE, h as DEFAULT_POLL_IDLE_MS, j as DEFAULT_ACCESS_CONFIRM_TIMEOUT_MS } from './config.js-iG_1bK3r.js';
|
|
2
2
|
import { e as ensureDsiHome, m as migrateLegacyDsiConfig, p as parseYamlSettings } from './settings-document.js-BKnRkLVq.js';
|
|
3
|
+
import { s as settingsHomeDir } from './settings-home2.js-f75-B6RI.js';
|
|
3
4
|
import { readFileSync } from 'node:fs';
|
|
4
5
|
import { dirname, join } from 'node:path';
|
|
5
6
|
import { homedir } from 'node:os';
|
|
@@ -226,7 +227,7 @@ function readPanelConfig(configPath) {
|
|
|
226
227
|
};
|
|
227
228
|
}
|
|
228
229
|
var DEFAULT_SIDEBAR_CONFIG = {
|
|
229
|
-
defaultWidth:
|
|
230
|
+
defaultWidth: 400,
|
|
230
231
|
minWidth: 200,
|
|
231
232
|
maxWidth: 500,
|
|
232
233
|
placement: DEFAULT_SIDEBAR_PLACEMENT
|
|
@@ -240,7 +241,7 @@ function readSidebarConfig(configPath) {
|
|
|
240
241
|
const rec = isConfigRecord(section) ? section : {};
|
|
241
242
|
return {
|
|
242
243
|
...resolveWidthBounds(rec, {
|
|
243
|
-
defaultWidth:
|
|
244
|
+
defaultWidth: 400,
|
|
244
245
|
minWidth: 200,
|
|
245
246
|
maxWidth: 500
|
|
246
247
|
}, 100, 2e3),
|
|
@@ -268,6 +269,14 @@ function readPromptsConfig(configPath) {
|
|
|
268
269
|
dbPath
|
|
269
270
|
};
|
|
270
271
|
}
|
|
272
|
+
/** The verbatim settings home roots (~/.dsi, ~/.dsh) — The Settings
|
|
273
|
+
* Tree ADR 2026-09-18 D2. Never cached; trivially constant. */
|
|
274
|
+
function readSettingsHomes() {
|
|
275
|
+
return {
|
|
276
|
+
dsi: settingsHomeDir("dsi"),
|
|
277
|
+
dsh: settingsHomeDir("dsh")
|
|
278
|
+
};
|
|
279
|
+
}
|
|
271
280
|
|
|
272
|
-
export { DSI_CONFIG_PATH as D, readDshAuthConfig as a, readServerConfig as b, readA2aConfig as c,
|
|
273
|
-
//# sourceMappingURL=insight-config.js-
|
|
281
|
+
export { DSI_CONFIG_PATH as D, readDshAuthConfig as a, readServerConfig as b, readA2aConfig as c, readSettingsHomes as d, readPromptsConfig as e, readSidebarConfig as f, readPanelConfig as g, readHomeConfig as h, readConversationConfig as i, readChatConfig as j, readDshSessionsRootConfig as k, joinTagWords as l, isValidTagWord as m, DEFAULT_DSH_PRESET_ENGLISH as n, DEFAULT_SERVER_CONFIG as o, parseTagWords as p, DEFAULT_PROMPTS_CONFIG as q, readDshPresetEnglishConfig as r, DEFAULT_SIDEBAR_CONFIG as s, DEFAULT_PANEL_CONFIG as t, DEFAULT_A2A_CONFIG as u, DEFAULT_HOME_CONFIG as v, DEFAULT_CONVERSATION_CONFIG as w, DEFAULT_CHAT_CONFIG as x };
|
|
282
|
+
//# sourceMappingURL=insight-config.js-COS9LOWZ.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: "
|
|
725
|
+
version_hash: "8opgtu"
|
|
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, 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-
|
|
748
|
+
//# sourceMappingURL=internal.js-Bf2uRIVS.js.map
|
|
@@ -116,20 +116,23 @@ function resolvePermission(knobs) {
|
|
|
116
116
|
*/
|
|
117
117
|
function permissionFromProjection(raw) {
|
|
118
118
|
const v = raw;
|
|
119
|
-
if (v === null || typeof v !== "object" || typeof v.currentValue !== "string"
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
119
|
+
if (v === null || typeof v !== "object" || typeof v.currentValue !== "string") return;
|
|
120
|
+
let options;
|
|
121
|
+
if (Array.isArray(v.options)) {
|
|
122
|
+
options = [];
|
|
123
|
+
for (const o of v.options) {
|
|
124
|
+
const opt = o;
|
|
125
|
+
if (typeof opt?.value !== "string" || opt.value.length === 0) continue;
|
|
126
|
+
if (opt.value === "custom") continue;
|
|
127
|
+
const label = typeof opt.name === "string" && opt.name.length > 0 ? opt.name : opt.value;
|
|
128
|
+
options.push({
|
|
129
|
+
value: opt.value,
|
|
130
|
+
label: presetLabel(label),
|
|
131
|
+
...typeof opt.description === "string" && opt.description.length > 0 ? { description: opt.description } : {}
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
if (options.length === 0) return void 0;
|
|
135
|
+
} else options = localPermission().options;
|
|
133
136
|
return {
|
|
134
137
|
current: v.currentValue,
|
|
135
138
|
options
|
|
@@ -150,4 +153,4 @@ function localPermission() {
|
|
|
150
153
|
}
|
|
151
154
|
|
|
152
155
|
export { EMPTY_KNOBS as E, FULL_ACCESS_PRESET as F, foldKnobs as a, applyKnobEvent as b, presetLabel as c, presetDescription as d, filterKnobEvents as f, localPermission as l, permissionFromProjection as p, resolvePermission as r };
|
|
153
|
-
//# sourceMappingURL=permission-state.js-
|
|
156
|
+
//# sourceMappingURL=permission-state.js-BoJAoWqi.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { w as writeSettingsHomeFile, r as readSettingsHomeFile, l as listSettingsHomeDir } from './settings-home2.js-f75-B6RI.js';
|
|
2
|
+
import 'node:fs';
|
|
3
|
+
import 'node:path';
|
|
4
|
+
import 'node:os';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export { listSettingsHomeDir, readSettingsHomeFile, writeSettingsHomeFile };
|
|
9
|
+
//# sourceMappingURL=settings-home.js-CqnqJVOu.js.map
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { promises } from 'node:fs';
|
|
2
|
+
import { join, dirname, resolve, sep } from 'node:path';
|
|
3
|
+
import { homedir } from 'node:os';
|
|
4
|
+
|
|
5
|
+
//#region src/lib/server/settings-home.ts
|
|
6
|
+
/**
|
|
7
|
+
* settings-home — The Settings Tree ADR (2026-09-18, D2): the DSI-LOCAL
|
|
8
|
+
* data plane behind a session-less settings explorer. The DSH workspace
|
|
9
|
+
* routes are session-scoped (every one resolves a DSH session's workspace
|
|
10
|
+
* root by containment), so ~/.dsi and ~/.dsh cannot ride them: these
|
|
11
|
+
* helpers serve the two homes directly, with the SAME containment refusal
|
|
12
|
+
* discipline — a resolved path that escapes its home is a 400-class
|
|
13
|
+
* refusal, never a listing or a byte.
|
|
14
|
+
*/
|
|
15
|
+
/** The settings home per target — verbatim, the explorer's `root`.
|
|
16
|
+
* `DSI_HOME_DIR` overrides homedir() (the same env-seam discipline as
|
|
17
|
+
* DSI_CONFIG_PATH; used by the settings-home tests). */
|
|
18
|
+
function settingsHomeDir(home) {
|
|
19
|
+
const env = process.env.DSI_HOME_DIR;
|
|
20
|
+
const base = env !== void 0 && env.trim().length > 0 ? env : homedir();
|
|
21
|
+
return home === "dsi" ? join(base, ".dsi") : join(base, ".dsh");
|
|
22
|
+
}
|
|
23
|
+
/** Is the target a known home? (The routes' literal gate.) */
|
|
24
|
+
function isSettingsHome(v) {
|
|
25
|
+
return v === "dsi" || v === "dsh";
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Resolve a root-relative path INSIDE its home. '' is the home itself;
|
|
29
|
+
* anything that escapes (the classic `..` walk, an absolute smuggle) is
|
|
30
|
+
* refused — null is the containment refusal, mapped to 400 by the routes.
|
|
31
|
+
*/
|
|
32
|
+
function resolveSettingsHomePath(home, rel) {
|
|
33
|
+
const base = resolve(settingsHomeDir(home));
|
|
34
|
+
if (typeof rel !== "string") return null;
|
|
35
|
+
const target = resolve(base, rel);
|
|
36
|
+
if (target !== base && !target.startsWith(base + sep)) return null;
|
|
37
|
+
return target;
|
|
38
|
+
}
|
|
39
|
+
/** List one directory of a home: directories first, then natural name
|
|
40
|
+
* order (the WorkspaceDirectoryListing presentation contract). */
|
|
41
|
+
async function listSettingsHomeDir(home, rel) {
|
|
42
|
+
const dir = resolveSettingsHomePath(home, rel);
|
|
43
|
+
if (dir === null) throw new SettingsHomeRefusal("bad-path", "path escapes the settings home");
|
|
44
|
+
const names = (await promises.readdir(dir)).sort(new Intl.Collator(void 0, { numeric: true }).compare);
|
|
45
|
+
const entries = [];
|
|
46
|
+
for (const name of names) {
|
|
47
|
+
let type = "other";
|
|
48
|
+
try {
|
|
49
|
+
const st = await promises.stat(join(dir, name));
|
|
50
|
+
type = st.isDirectory() ? "directory" : st.isFile() ? "file" : "other";
|
|
51
|
+
} catch {
|
|
52
|
+
type = "other";
|
|
53
|
+
}
|
|
54
|
+
entries.push({
|
|
55
|
+
name,
|
|
56
|
+
type
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
entries.sort((a, b) => {
|
|
60
|
+
const ad = a.type === "directory" ? 0 : 1;
|
|
61
|
+
const bd = b.type === "directory" ? 0 : 1;
|
|
62
|
+
return ad !== bd ? ad - bd : new Intl.Collator(void 0, { numeric: true }).compare(a.name, b.name);
|
|
63
|
+
});
|
|
64
|
+
return {
|
|
65
|
+
entries,
|
|
66
|
+
truncated: false
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
/** Read one text file of a home. Binary/oversized is a refusal. */
|
|
70
|
+
async function readSettingsHomeFile(home, rel) {
|
|
71
|
+
const file = resolveSettingsHomePath(home, rel);
|
|
72
|
+
if (file === null) throw new SettingsHomeRefusal("bad-path", "path escapes the settings home");
|
|
73
|
+
const st = await promises.stat(file).catch(() => null);
|
|
74
|
+
if (st === null || !st.isFile()) throw new SettingsHomeRefusal("not-file", "not a readable file");
|
|
75
|
+
if (st.size > 2097152) throw new SettingsHomeRefusal("too-large", "file exceeds the settings explorer size cap");
|
|
76
|
+
const buf = await promises.readFile(file);
|
|
77
|
+
if (buf.includes(0)) throw new SettingsHomeRefusal("binary", "binary file — not a text surface");
|
|
78
|
+
return {
|
|
79
|
+
content: buf.toString("utf8"),
|
|
80
|
+
size: st.size
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
/** Write one text file of a home (the explorer file tab's save). */
|
|
84
|
+
async function writeSettingsHomeFile(home, rel, content) {
|
|
85
|
+
const file = resolveSettingsHomePath(home, rel);
|
|
86
|
+
if (file === null) throw new SettingsHomeRefusal("bad-path", "path escapes the settings home");
|
|
87
|
+
if (typeof content !== "string") throw new SettingsHomeRefusal("bad-content", "content must be a string");
|
|
88
|
+
if (Buffer.byteLength(content, "utf8") > 2097152) throw new SettingsHomeRefusal("too-large", "content exceeds the settings explorer size cap");
|
|
89
|
+
await promises.mkdir(dirname(file), { recursive: true });
|
|
90
|
+
await promises.writeFile(file, content, "utf8");
|
|
91
|
+
}
|
|
92
|
+
/** A typed refusal the routes map onto a 400-class response. */
|
|
93
|
+
var SettingsHomeRefusal = class extends Error {
|
|
94
|
+
code;
|
|
95
|
+
constructor(code, message) {
|
|
96
|
+
super(message);
|
|
97
|
+
this.code = code;
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export { SettingsHomeRefusal as S, isSettingsHome as i, listSettingsHomeDir as l, readSettingsHomeFile as r, settingsHomeDir as s, writeSettingsHomeFile as w };
|
|
102
|
+
//# sourceMappingURL=settings-home2.js-f75-B6RI.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as index_server_exports } from './internal.js-
|
|
1
|
+
import { i as index_server_exports } from './internal.js-Bf2uRIVS.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';
|
|
@@ -143,4 +143,4 @@ var page = {
|
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
export { afterNavigate as a, currentLocale as c, page as p, replaceState as r, t };
|
|
146
|
-
//# sourceMappingURL=state.js-
|
|
146
|
+
//# sourceMappingURL=state.js-OWX1K3Yj.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as readA2aConfig } from './insight-config.js-
|
|
2
|
-
import { i as insertWaiting, o as openA2aDb, s as settleRow, p as pruneTerminalBefore, l as listWaiting } from './db.js-
|
|
3
|
-
import { g as getDshConnection } from './dsh-connection.js-
|
|
1
|
+
import { c as readA2aConfig } from './insight-config.js-COS9LOWZ.js';
|
|
2
|
+
import { i as insertWaiting, o as openA2aDb, s as settleRow, p as pruneTerminalBefore, l as listWaiting } from './db.js-9wP1ySFv.js';
|
|
3
|
+
import { g as getDshConnection } from './dsh-connection.js-CwL9I98w.js';
|
|
4
4
|
import { a as entryForEvent, h as historyToEvents } from './dsh-events.js-BtDxaV6Q.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-
|
|
473
|
+
//# sourceMappingURL=watcher.js-Dc9hzRLI.js.map
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { g as getRow } from '../../../../../chunks/db.js-
|
|
1
|
+
import { g as getRow } from '../../../../../chunks/db.js-9wP1ySFv.js';
|
|
2
2
|
import { j as json } from '../../../../../chunks/utils.js-CAdNO8Tu.js';
|
|
3
|
-
import '../../../../../chunks/insight-config.js-
|
|
3
|
+
import '../../../../../chunks/insight-config.js-COS9LOWZ.js';
|
|
4
4
|
import '../../../../../chunks/config.js-iG_1bK3r.js';
|
|
5
5
|
import '../../../../../chunks/settings-document.js-BKnRkLVq.js';
|
|
6
6
|
import 'node:fs';
|
|
7
7
|
import 'node:path';
|
|
8
8
|
import 'node:os';
|
|
9
9
|
import 'yaml';
|
|
10
|
+
import '../../../../../chunks/settings-home2.js-f75-B6RI.js';
|
|
10
11
|
import 'node:sqlite';
|
|
11
12
|
import '../../../../../chunks/shared.js-HQ0rfhm4.js';
|
|
12
13
|
import '../../../../../chunks/uneval.js-BJ9Qq2SF.js';
|
|
@@ -35,4 +36,4 @@ var GET = ({ params }) => {
|
|
|
35
36
|
};
|
|
36
37
|
|
|
37
38
|
export { GET };
|
|
38
|
-
//# sourceMappingURL=_server.ts.js-
|
|
39
|
+
//# sourceMappingURL=_server.ts.js-0rfV7w20.js.map
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { a as listRecent } from '../../../../chunks/db.js-
|
|
2
|
-
import { e as ensureStarted } from '../../../../chunks/watcher.js-
|
|
1
|
+
import { a as listRecent } from '../../../../chunks/db.js-9wP1ySFv.js';
|
|
2
|
+
import { e as ensureStarted } from '../../../../chunks/watcher.js-Dc9hzRLI.js';
|
|
3
3
|
import { j as json } from '../../../../chunks/utils.js-CAdNO8Tu.js';
|
|
4
|
-
import '../../../../chunks/insight-config.js-
|
|
4
|
+
import '../../../../chunks/insight-config.js-COS9LOWZ.js';
|
|
5
5
|
import '../../../../chunks/config.js-iG_1bK3r.js';
|
|
6
6
|
import '../../../../chunks/settings-document.js-BKnRkLVq.js';
|
|
7
7
|
import 'node:fs';
|
|
8
8
|
import 'node:path';
|
|
9
9
|
import 'node:os';
|
|
10
10
|
import 'yaml';
|
|
11
|
+
import '../../../../chunks/settings-home2.js-f75-B6RI.js';
|
|
11
12
|
import 'node:sqlite';
|
|
12
|
-
import '../../../../chunks/dsh-connection.js-
|
|
13
|
+
import '../../../../chunks/dsh-connection.js-CwL9I98w.js';
|
|
13
14
|
import '../../../../chunks/dsh-events.js-BtDxaV6Q.js';
|
|
14
15
|
import '../../../../chunks/shared.js-HQ0rfhm4.js';
|
|
15
16
|
import '../../../../chunks/uneval.js-BJ9Qq2SF.js';
|
|
@@ -59,4 +60,4 @@ var GET = ({ url }) => {
|
|
|
59
60
|
};
|
|
60
61
|
|
|
61
62
|
export { GET };
|
|
62
|
-
//# sourceMappingURL=_server.ts.js-
|
|
63
|
+
//# sourceMappingURL=_server.ts.js-DX0DUIja.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as readA2aConfig } from '../../../../../chunks/insight-config.js-
|
|
2
|
-
import { g as getDshConnection } from '../../../../../chunks/dsh-connection.js-
|
|
3
|
-
import { c as configureWatcher, r as registerWatch } from '../../../../../chunks/watcher.js-
|
|
1
|
+
import { c as readA2aConfig } from '../../../../../chunks/insight-config.js-COS9LOWZ.js';
|
|
2
|
+
import { g as getDshConnection } from '../../../../../chunks/dsh-connection.js-CwL9I98w.js';
|
|
3
|
+
import { c as configureWatcher, r as registerWatch } from '../../../../../chunks/watcher.js-Dc9hzRLI.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-iG_1bK3r.js';
|
|
@@ -9,7 +9,8 @@ import 'node:fs';
|
|
|
9
9
|
import 'node:path';
|
|
10
10
|
import 'node:os';
|
|
11
11
|
import 'yaml';
|
|
12
|
-
import '../../../../../chunks/
|
|
12
|
+
import '../../../../../chunks/settings-home2.js-f75-B6RI.js';
|
|
13
|
+
import '../../../../../chunks/db.js-9wP1ySFv.js';
|
|
13
14
|
import 'node:sqlite';
|
|
14
15
|
import '../../../../../chunks/dsh-events.js-BtDxaV6Q.js';
|
|
15
16
|
import '../../../../../chunks/shared.js-HQ0rfhm4.js';
|
|
@@ -97,4 +98,4 @@ var POST = async ({ request }) => {
|
|
|
97
98
|
};
|
|
98
99
|
|
|
99
100
|
export { POST };
|
|
100
|
-
//# sourceMappingURL=_server.ts.js-
|
|
101
|
+
//# sourceMappingURL=_server.ts.js-zB-V9Naa.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as
|
|
1
|
+
import { d as readSettingsHomes, e as readPromptsConfig, f as readSidebarConfig, g as readPanelConfig, c as readA2aConfig, h as readHomeConfig, i as readConversationConfig, j as readChatConfig } from '../../../../chunks/insight-config.js-COS9LOWZ.js';
|
|
2
2
|
import { j as json } from '../../../../chunks/utils.js-CAdNO8Tu.js';
|
|
3
3
|
import '../../../../chunks/config.js-iG_1bK3r.js';
|
|
4
4
|
import '../../../../chunks/settings-document.js-BKnRkLVq.js';
|
|
@@ -6,6 +6,7 @@ import 'node:fs';
|
|
|
6
6
|
import 'node:path';
|
|
7
7
|
import 'node:os';
|
|
8
8
|
import 'yaml';
|
|
9
|
+
import '../../../../chunks/settings-home2.js-f75-B6RI.js';
|
|
9
10
|
import '../../../../chunks/shared.js-HQ0rfhm4.js';
|
|
10
11
|
import '../../../../chunks/uneval.js-BJ9Qq2SF.js';
|
|
11
12
|
|
|
@@ -29,9 +30,10 @@ var GET = async () => {
|
|
|
29
30
|
a2a: readA2aConfig(),
|
|
30
31
|
panel: readPanelConfig(),
|
|
31
32
|
sidebar: readSidebarConfig(),
|
|
32
|
-
prompts: { tags: readPromptsConfig().tags }
|
|
33
|
+
prompts: { tags: readPromptsConfig().tags },
|
|
34
|
+
settingsHomes: readSettingsHomes()
|
|
33
35
|
});
|
|
34
36
|
};
|
|
35
37
|
|
|
36
38
|
export { GET };
|
|
37
|
-
//# sourceMappingURL=_server.ts.js-
|
|
39
|
+
//# sourceMappingURL=_server.ts.js-Bo4VgIna.js.map
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { g as getDshConnection, s as statusFor, m as mapRpcFailure } from '../../../../../chunks/dsh-connection.js-
|
|
1
|
+
import { g as getDshConnection, s as statusFor, m as mapRpcFailure } from '../../../../../chunks/dsh-connection.js-CwL9I98w.js';
|
|
2
2
|
import { j as json } from '../../../../../chunks/utils.js-CAdNO8Tu.js';
|
|
3
3
|
import '../../../../../chunks/config.js-iG_1bK3r.js';
|
|
4
|
-
import '../../../../../chunks/insight-config.js-
|
|
4
|
+
import '../../../../../chunks/insight-config.js-COS9LOWZ.js';
|
|
5
5
|
import '../../../../../chunks/settings-document.js-BKnRkLVq.js';
|
|
6
6
|
import 'node:fs';
|
|
7
7
|
import 'node:path';
|
|
8
8
|
import 'node:os';
|
|
9
9
|
import 'yaml';
|
|
10
|
+
import '../../../../../chunks/settings-home2.js-f75-B6RI.js';
|
|
10
11
|
import '../../../../../chunks/shared.js-HQ0rfhm4.js';
|
|
11
12
|
import '../../../../../chunks/uneval.js-BJ9Qq2SF.js';
|
|
12
13
|
|
|
@@ -41,4 +42,4 @@ var GET = async ({ url }) => {
|
|
|
41
42
|
};
|
|
42
43
|
|
|
43
44
|
export { GET };
|
|
44
|
-
//# sourceMappingURL=_server.ts.js-
|
|
45
|
+
//# sourceMappingURL=_server.ts.js-_Wc4NU0Q.js.map
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { g as getDshConnection, s as statusFor, m as mapRpcFailure } from '../../../../../chunks/dsh-connection.js-
|
|
1
|
+
import { g as getDshConnection, s as statusFor, m as mapRpcFailure } from '../../../../../chunks/dsh-connection.js-CwL9I98w.js';
|
|
2
2
|
import { j as json } from '../../../../../chunks/utils.js-CAdNO8Tu.js';
|
|
3
3
|
import '../../../../../chunks/config.js-iG_1bK3r.js';
|
|
4
|
-
import '../../../../../chunks/insight-config.js-
|
|
4
|
+
import '../../../../../chunks/insight-config.js-COS9LOWZ.js';
|
|
5
5
|
import '../../../../../chunks/settings-document.js-BKnRkLVq.js';
|
|
6
6
|
import 'node:fs';
|
|
7
7
|
import 'node:path';
|
|
8
8
|
import 'node:os';
|
|
9
9
|
import 'yaml';
|
|
10
|
+
import '../../../../../chunks/settings-home2.js-f75-B6RI.js';
|
|
10
11
|
import '../../../../../chunks/shared.js-HQ0rfhm4.js';
|
|
11
12
|
import '../../../../../chunks/uneval.js-BJ9Qq2SF.js';
|
|
12
13
|
|
|
@@ -34,4 +35,4 @@ var POST = async ({ request }) => {
|
|
|
34
35
|
};
|
|
35
36
|
|
|
36
37
|
export { POST };
|
|
37
|
-
//# sourceMappingURL=_server.ts.js-
|
|
38
|
+
//# sourceMappingURL=_server.ts.js-CvoINUYy.js.map
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { g as getDshConnection, s as statusFor, m as mapRpcFailure } from '../../../../../chunks/dsh-connection.js-
|
|
1
|
+
import { g as getDshConnection, s as statusFor, m as mapRpcFailure } from '../../../../../chunks/dsh-connection.js-CwL9I98w.js';
|
|
2
2
|
import { j as json } from '../../../../../chunks/utils.js-CAdNO8Tu.js';
|
|
3
3
|
import '../../../../../chunks/config.js-iG_1bK3r.js';
|
|
4
|
-
import '../../../../../chunks/insight-config.js-
|
|
4
|
+
import '../../../../../chunks/insight-config.js-COS9LOWZ.js';
|
|
5
5
|
import '../../../../../chunks/settings-document.js-BKnRkLVq.js';
|
|
6
6
|
import 'node:fs';
|
|
7
7
|
import 'node:path';
|
|
8
8
|
import 'node:os';
|
|
9
9
|
import 'yaml';
|
|
10
|
+
import '../../../../../chunks/settings-home2.js-f75-B6RI.js';
|
|
10
11
|
import '../../../../../chunks/shared.js-HQ0rfhm4.js';
|
|
11
12
|
import '../../../../../chunks/uneval.js-BJ9Qq2SF.js';
|
|
12
13
|
|
|
@@ -31,4 +32,4 @@ var GET = async () => {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
export { GET };
|
|
34
|
-
//# sourceMappingURL=_server.ts.js-
|
|
35
|
+
//# sourceMappingURL=_server.ts.js-B4UwZ8nd.js.map
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { g as getDshConnection, s as statusFor, m as mapRpcFailure } from '../../../../../../../chunks/dsh-connection.js-
|
|
1
|
+
import { g as getDshConnection, s as statusFor, m as mapRpcFailure } from '../../../../../../../chunks/dsh-connection.js-CwL9I98w.js';
|
|
2
2
|
import { j as json } from '../../../../../../../chunks/utils.js-CAdNO8Tu.js';
|
|
3
3
|
import '../../../../../../../chunks/config.js-iG_1bK3r.js';
|
|
4
|
-
import '../../../../../../../chunks/insight-config.js-
|
|
4
|
+
import '../../../../../../../chunks/insight-config.js-COS9LOWZ.js';
|
|
5
5
|
import '../../../../../../../chunks/settings-document.js-BKnRkLVq.js';
|
|
6
6
|
import 'node:fs';
|
|
7
7
|
import 'node:path';
|
|
8
8
|
import 'node:os';
|
|
9
9
|
import 'yaml';
|
|
10
|
+
import '../../../../../../../chunks/settings-home2.js-f75-B6RI.js';
|
|
10
11
|
import '../../../../../../../chunks/shared.js-HQ0rfhm4.js';
|
|
11
12
|
import '../../../../../../../chunks/uneval.js-BJ9Qq2SF.js';
|
|
12
13
|
|
|
@@ -42,4 +43,4 @@ var GET = async ({ params, url }) => {
|
|
|
42
43
|
};
|
|
43
44
|
|
|
44
45
|
export { GET };
|
|
45
|
-
//# sourceMappingURL=_server.ts.js-
|
|
46
|
+
//# sourceMappingURL=_server.ts.js-Hml2J0Bq.js.map
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { g as getDshConnection, s as statusFor, m as mapRpcFailure } from '../../../../../../../chunks/dsh-connection.js-
|
|
1
|
+
import { g as getDshConnection, s as statusFor, m as mapRpcFailure } from '../../../../../../../chunks/dsh-connection.js-CwL9I98w.js';
|
|
2
2
|
import { j as json } from '../../../../../../../chunks/utils.js-CAdNO8Tu.js';
|
|
3
3
|
import '../../../../../../../chunks/config.js-iG_1bK3r.js';
|
|
4
|
-
import '../../../../../../../chunks/insight-config.js-
|
|
4
|
+
import '../../../../../../../chunks/insight-config.js-COS9LOWZ.js';
|
|
5
5
|
import '../../../../../../../chunks/settings-document.js-BKnRkLVq.js';
|
|
6
6
|
import 'node:fs';
|
|
7
7
|
import 'node:path';
|
|
8
8
|
import 'node:os';
|
|
9
9
|
import 'yaml';
|
|
10
|
+
import '../../../../../../../chunks/settings-home2.js-f75-B6RI.js';
|
|
10
11
|
import '../../../../../../../chunks/shared.js-HQ0rfhm4.js';
|
|
11
12
|
import '../../../../../../../chunks/uneval.js-BJ9Qq2SF.js';
|
|
12
13
|
|
|
@@ -31,4 +32,4 @@ var POST = async ({ params }) => {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
export { POST };
|
|
34
|
-
//# sourceMappingURL=_server.ts.js-
|
|
35
|
+
//# sourceMappingURL=_server.ts.js-CsZ2u8cs.js.map
|