@deepseek-insight/dsi 0.11.1 → 0.11.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.
- package/README.md +96 -73
- package/build/client/_app/immutable/chunks/B5lb1z82.js +1 -0
- package/build/client/_app/immutable/chunks/CWAff5t1.js +1 -0
- package/build/client/_app/immutable/chunks/{CgYTrsc7.js → ClnxU8JH.js} +2 -2
- package/build/client/_app/immutable/chunks/{DxK-AwFF.js → DAFsxYyZ.js} +1 -1
- package/build/client/_app/immutable/entry/{app.BrbZICAs.js → app.B3Jpw67t.js} +2 -2
- package/build/client/_app/immutable/entry/start.BEEYbYm7.js +1 -0
- package/build/client/_app/immutable/nodes/{1.BpeytF2X.js → 1.DbxOgdbH.js} +1 -1
- package/build/client/_app/immutable/nodes/{2.BeOldRUA.js → 2.bJkyxVXf.js} +107 -107
- 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/{internal2.js-BmeTE2qk.js → internal2.js-B5x__0aq.js} +2 -2
- package/build/server/chunks/chunks/{state.js-D-A2xekV.js → state.js-DsQO24cN.js} +2 -2
- package/build/server/chunks/entries/pages/{_error.svelte.js-CL7qPUQ1.js → _error.svelte.js-DImBUaQF.js} +3 -3
- package/build/server/chunks/entries/pages/{_page.svelte.js-nXReJwZQ.js → _page.svelte.js-CO5I0GZ2.js} +133 -10
- package/build/server/chunks/{handler-DiVCAgmr.js → handler-veh0A37V.js} +3 -3
- package/build/server/chunks/{index.js-DW6Zd84U.js → index.js-D63-CxtE.js} +2 -2
- package/build/server/chunks/{manifest.js-DXLiUOif.js → manifest.js-DJgcuJpZ.js} +4 -4
- package/build/server/chunks/nodes/1.js-BPYsraeg.js +9 -0
- package/build/server/chunks/nodes/{2.js-darOh5z6.js → 2.js-BoWRQ_XI.js} +3 -3
- package/package.json +1 -1
- package/template/.dsi/prompts.sqlite-shm +0 -0
- package/template/.dsi/prompts.sqlite-wal +0 -0
- package/build/client/_app/immutable/chunks/DAVs74W8.js +0 -1
- package/build/client/_app/immutable/chunks/EyZgnsOk.js +0 -1
- package/build/client/_app/immutable/entry/start.D0ra5p5U.js +0 -1
- package/build/server/chunks/nodes/1.js-BX_MW_nG.js +0 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1794188710785"}
|
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-veh0A37V.js';
|
|
6
|
+
import './server/chunks/index.js-D63-CxtE.js';
|
|
7
|
+
import './server/chunks/manifest.js-DJgcuJpZ.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-
|
|
22
|
+
import './server/chunks/chunks/internal2.js-B5x__0aq.js';
|
|
23
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-
|
|
4
|
+
import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-veh0A37V.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-
|
|
17
|
+
import './server/chunks/index.js-D63-CxtE.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-
|
|
21
|
+
import './server/chunks/chunks/internal2.js-B5x__0aq.js';
|
|
22
22
|
import './server/chunks/chunks/exports.js-D5zA1U7A.js';
|
|
23
|
-
import './server/chunks/manifest.js-
|
|
23
|
+
import './server/chunks/manifest.js-DJgcuJpZ.js';
|
|
24
24
|
import 'node:url';
|
|
25
25
|
|
|
26
26
|
const path = env('SOCKET_PATH', false);
|
|
@@ -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: "
|
|
583
|
+
version_hash: "1g2a1w3"
|
|
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-
|
|
606
|
+
//# sourceMappingURL=internal2.js-B5x__0aq.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
+
import './internal2.js-B5x__0aq.js';
|
|
4
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';
|
|
@@ -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-
|
|
307
|
+
//# sourceMappingURL=state.js-DsQO24cN.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { V as head, W as escape_html, M as derived } from '../../chunks/server.js-Dijo7DtV.js';
|
|
2
|
-
import { t, p as page, s as sessionnotfound2, r as reapednote1, d as dshunreachable1, u as unexpectederror1, b as backtoworkspace2 } from '../../chunks/state.js-
|
|
2
|
+
import { t, p as page, s as sessionnotfound2, r as reapednote1, d as dshunreachable1, u as unexpectederror1, b as backtoworkspace2 } from '../../chunks/state.js-DsQO24cN.js';
|
|
3
3
|
import '../../chunks/uneval.js-BJ9Qq2SF.js';
|
|
4
4
|
import '../../chunks/index-server.js-CPkVoRxB.js';
|
|
5
5
|
import '../../chunks/shared.js-HQ0rfhm4.js';
|
|
6
|
-
import '../../chunks/internal2.js-
|
|
6
|
+
import '../../chunks/internal2.js-B5x__0aq.js';
|
|
7
7
|
import '../../chunks/exports.js-D5zA1U7A.js';
|
|
8
8
|
import '../../chunks/config.js-r_jw_bQQ.js';
|
|
9
9
|
import '../../chunks/runtime.js-CCJi3XaY.js';
|
|
@@ -41,4 +41,4 @@ function _error($$renderer, $$props) {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export { _error as default };
|
|
44
|
-
//# sourceMappingURL=_error.svelte.js-
|
|
44
|
+
//# sourceMappingURL=_error.svelte.js-DImBUaQF.js.map
|
|
@@ -9,7 +9,7 @@ import { D as DEFAULT_IMAGE_LIMITS } from '../../chunks/image-limits.js-CUdJ0f7r
|
|
|
9
9
|
import { s as sanitizeWorkspaceProfile, d as dsiKey, t as themePrefs } from '../../chunks/theme-prefs.svelte.js-8CaWz46g.js';
|
|
10
10
|
import { a as appConfig, p as previewSegments, b as parseTagWords, i as isValidTagWord, s as shouldRecordPrompt, g as getTrigger, t as triggerMode, c as searchKey, d as textPreviewOf } from '../../chunks/app-config.svelte.js-BXjvTmJu.js';
|
|
11
11
|
import { c as getLocale } from '../../chunks/runtime.js-CCJi3XaY.js';
|
|
12
|
-
import { p as page, a as afterNavigate, t, c as currentLocale, e as replaceState, u as unexpectederror1, s as sessionnotfound2, r as reapednote1, d as dshunreachable1, b as backtoworkspace2 } from '../../chunks/state.js-
|
|
12
|
+
import { p as page, a as afterNavigate, t, c as currentLocale, e as replaceState, u as unexpectederror1, s as sessionnotfound2, r as reapednote1, d as dshunreachable1, b as backtoworkspace2 } from '../../chunks/state.js-DsQO24cN.js';
|
|
13
13
|
import 'yaml';
|
|
14
14
|
import 'html-to-image';
|
|
15
15
|
import hljs from 'highlight.js/lib/core';
|
|
@@ -21,7 +21,7 @@ import xml from 'highlight.js/lib/languages/xml';
|
|
|
21
21
|
import css from 'highlight.js/lib/languages/css';
|
|
22
22
|
import '../../chunks/uneval.js-BJ9Qq2SF.js';
|
|
23
23
|
import '../../chunks/shared.js-HQ0rfhm4.js';
|
|
24
|
-
import '../../chunks/internal2.js-
|
|
24
|
+
import '../../chunks/internal2.js-B5x__0aq.js';
|
|
25
25
|
import '../../chunks/utils.js-CAdNO8Tu.js';
|
|
26
26
|
|
|
27
27
|
//#region src/lib/paraglide/messages/abort.js
|
|
@@ -19220,7 +19220,7 @@ function ThemeToggle($$renderer, $$props) {
|
|
|
19220
19220
|
}
|
|
19221
19221
|
//#endregion
|
|
19222
19222
|
//#region package.json
|
|
19223
|
-
var version = "0.11.
|
|
19223
|
+
var version = "0.11.3";
|
|
19224
19224
|
var dsh = { "webVersion": "0.2.2-rc.1" };
|
|
19225
19225
|
//#endregion
|
|
19226
19226
|
//#region src/lib/version.ts
|
|
@@ -28495,6 +28495,122 @@ function autolinkBareUrls(text) {
|
|
|
28495
28495
|
function emphasis(text) {
|
|
28496
28496
|
return text.replace(/\*\*\*(.+?)\*\*\*/g, "<strong><em>$1</em></strong>").replace(/\*\*(.+?)\*\*/g, "<strong>$1</strong>").replace(/\*(.+?)\*/g, "<em>$1</em>").replace(/(?<![\w])_(.+?)_(?![\w])/g, "<em>$1</em>").replace(/~~(.+?)~~/g, "<del>$1</del>");
|
|
28497
28497
|
}
|
|
28498
|
+
/** The tags the FILE PREVIEW path may revive from source (ADR-0055 D2;
|
|
28499
|
+
* amended 2026-11-09 twice). strong/em joined first (they live INSIDE
|
|
28500
|
+
* revived <p> blocks); then the wider formatting sweep — tables
|
|
28501
|
+
* (table/thead/tbody/tr/th/td), lists (ul/ol/li), code/pre, headings h1-h4,
|
|
28502
|
+
* hr, span, sub, sup — after the README's <details> sections moved from
|
|
28503
|
+
* markdown to raw HTML for GitHub parity. ALL added tags are attribute-free
|
|
28504
|
+
* display markup: PREVIEW_ATTRS does not grow, so the weakest-point rule
|
|
28505
|
+
* (one hostile attribute escapes the WHOLE token) carries the security
|
|
28506
|
+
* argument unchanged. Everything off the list stays escaped text. */
|
|
28507
|
+
var PREVIEW_TAGS = [
|
|
28508
|
+
"p",
|
|
28509
|
+
"div",
|
|
28510
|
+
"img",
|
|
28511
|
+
"br",
|
|
28512
|
+
"details",
|
|
28513
|
+
"summary",
|
|
28514
|
+
"center",
|
|
28515
|
+
"strong",
|
|
28516
|
+
"em",
|
|
28517
|
+
"table",
|
|
28518
|
+
"thead",
|
|
28519
|
+
"tbody",
|
|
28520
|
+
"tr",
|
|
28521
|
+
"th",
|
|
28522
|
+
"td",
|
|
28523
|
+
"ul",
|
|
28524
|
+
"ol",
|
|
28525
|
+
"li",
|
|
28526
|
+
"pre",
|
|
28527
|
+
"code",
|
|
28528
|
+
"h1",
|
|
28529
|
+
"h2",
|
|
28530
|
+
"h3",
|
|
28531
|
+
"h4",
|
|
28532
|
+
"hr",
|
|
28533
|
+
"span",
|
|
28534
|
+
"sub",
|
|
28535
|
+
"sup"
|
|
28536
|
+
];
|
|
28537
|
+
/** Attributes a revived tag may carry (ADR-0055 D2). `src` is the only URL
|
|
28538
|
+
* attribute and is additionally scheme-gated to http(s) below. */
|
|
28539
|
+
var PREVIEW_ATTRS = [
|
|
28540
|
+
"align",
|
|
28541
|
+
"src",
|
|
28542
|
+
"alt",
|
|
28543
|
+
"width",
|
|
28544
|
+
"height"
|
|
28545
|
+
];
|
|
28546
|
+
var PREVIEW_TAG_RE = PREVIEW_TAGS.join("|");
|
|
28547
|
+
/** One raw HTML token shape the preview path may consider: an open or
|
|
28548
|
+
* closing tag of an allow-listed name with no `>` inside. Malformed
|
|
28549
|
+
* constructs (unterminated, stray `>` in attrs) never match and ride the
|
|
28550
|
+
* strict path as plain text. */
|
|
28551
|
+
var PREVIEW_TOKEN_RE = new RegExp(`</?(?:${PREVIEW_TAG_RE})(?:\\s[^>]*)?>`, "gi");
|
|
28552
|
+
/**
|
|
28553
|
+
* Validate and rebuild ONE raw source token (ADR-0055 weakest-point rule):
|
|
28554
|
+
* revival happens only when the tag name is allow-listed AND every
|
|
28555
|
+
* attribute parses as name or name="value" AND is allow-listed AND the src
|
|
28556
|
+
* value (the sole URL attribute) is http(s). ONE hostile attribute leaves
|
|
28557
|
+
* the WHOLE token escaped — no partial revival. Uppercase normalizes to
|
|
28558
|
+
* lowercase; attr values are re-escaped before emission.
|
|
28559
|
+
*/
|
|
28560
|
+
function revivePreviewToken(token) {
|
|
28561
|
+
const m = /^<(\/?)((?:[A-Za-z][\w]*))((?:\s[^>]*)?)(\/?)>$/.exec(token);
|
|
28562
|
+
if (!m) return escapeHtml(token);
|
|
28563
|
+
const closing = m[1] === "/";
|
|
28564
|
+
const tag = m[2].toLowerCase();
|
|
28565
|
+
const attrRegion = m[3].replace(/\/$/, "").trim();
|
|
28566
|
+
const selfClose = m[4] === "/";
|
|
28567
|
+
if (closing) return attrRegion === "" ? `</${tag}>` : escapeHtml(token);
|
|
28568
|
+
const attrs = [];
|
|
28569
|
+
if (attrRegion !== "") {
|
|
28570
|
+
const attrRe = /(^|\s+)([A-Za-z][A-Za-z0-9-]*)(?:=("[^"]*"|[^\s"'>]+))?(?=\s|$)/g;
|
|
28571
|
+
let cursor = 0;
|
|
28572
|
+
for (const a of attrRegion.matchAll(attrRe)) {
|
|
28573
|
+
const starts = a.index;
|
|
28574
|
+
if (starts !== cursor) return escapeHtml(token);
|
|
28575
|
+
const name = a[2].toLowerCase();
|
|
28576
|
+
if (!PREVIEW_ATTRS.includes(name)) return escapeHtml(token);
|
|
28577
|
+
let value = "";
|
|
28578
|
+
if (a[3] !== void 0) {
|
|
28579
|
+
value = a[3];
|
|
28580
|
+
value = value.startsWith("\"") && value.endsWith("\"") && value.length >= 2 ? value.slice(1, -1) : value;
|
|
28581
|
+
if (name === "src" && !/^https?:\/\/[^\s"']+$/i.test(value)) return escapeHtml(token);
|
|
28582
|
+
} else if (name === "src") return escapeHtml(token);
|
|
28583
|
+
attrs.push(`${name}="${escapeHtml(value)}"`);
|
|
28584
|
+
cursor = starts + a[0].length;
|
|
28585
|
+
}
|
|
28586
|
+
if (cursor !== attrRegion.length) return escapeHtml(token);
|
|
28587
|
+
}
|
|
28588
|
+
const slash = tag === "img" || tag === "br" || tag === "hr" || selfClose ? " /" : "";
|
|
28589
|
+
return `<${tag}${attrs.length > 0 ? " " + attrs.join(" ") : ""}${slash}>`;
|
|
28590
|
+
}
|
|
28591
|
+
/**
|
|
28592
|
+
* Render markdown for the FILE PREVIEW surface (ADR-0055 D1, opt-in second
|
|
28593
|
+
* path). Candidate allow-listed HTML tokens are VAULTED out of the raw
|
|
28594
|
+
* source first (fence bodies stay in place — D3: fenced HTML is data,
|
|
28595
|
+
* never markup), the strict escape-first pipeline then renders the
|
|
28596
|
+
* remainder unchanged, and the vault is spliced back ONLY after
|
|
28597
|
+
* whole-token validation above. Chat surfaces must keep calling
|
|
28598
|
+
* renderMarkdown — they never touch this path.
|
|
28599
|
+
*/
|
|
28600
|
+
function renderPreviewMarkdown(text) {
|
|
28601
|
+
if (text === "") return "";
|
|
28602
|
+
const vault = [];
|
|
28603
|
+
let body = "";
|
|
28604
|
+
let last = 0;
|
|
28605
|
+
for (const f of text.matchAll(/```[\s\S]*?(```|$)/g)) {
|
|
28606
|
+
const head = text.slice(last, f.index);
|
|
28607
|
+
body += head.replace(PREVIEW_TOKEN_RE, (t) => `\u0001${vault.push(t) - 1}\u0001`);
|
|
28608
|
+
body += f[0];
|
|
28609
|
+
last = f.index + f[0].length;
|
|
28610
|
+
}
|
|
28611
|
+
body += text.slice(last).replace(PREVIEW_TOKEN_RE, (t) => `\u0001${vault.push(t) - 1}\u0001`);
|
|
28612
|
+
return renderMarkdown(body).replace(/\u0001(\d+)\u0001/g, (_m, i) => revivePreviewToken(vault[Number(i)] ?? ""));
|
|
28613
|
+
}
|
|
28498
28614
|
/**
|
|
28499
28615
|
* [label](href) — http(s) hrefs become hardened external anchors; SCHEME-FREE
|
|
28500
28616
|
* relative hrefs (assistant file links like [card](src/lib/…)) become same-
|
|
@@ -29166,11 +29282,11 @@ function RawPreviewToggle($$renderer, $$props) {
|
|
|
29166
29282
|
//#region src/lib/components/common/viewers/MarkdownContent.svelte
|
|
29167
29283
|
function MarkdownContent($$renderer, $$props) {
|
|
29168
29284
|
$$renderer.component(($$renderer) => {
|
|
29169
|
-
let { content, small = false, hideToggle = false, searchTerm = "", onFileLink = void 0 } = $$props;
|
|
29285
|
+
let { content, small = false, hideToggle = false, searchTerm = "", allowHtml = false, onFileLink = void 0 } = $$props;
|
|
29170
29286
|
let showRaw = false;
|
|
29171
29287
|
let containerEl = null;
|
|
29172
29288
|
/** Sanitized HTML — BC-12: allow-listed tags only (never raw input). */
|
|
29173
|
-
let renderedHtml = derived(() => renderMarkdown(content));
|
|
29289
|
+
let renderedHtml = derived(() => allowHtml ? renderPreviewMarkdown(content) : renderMarkdown(content));
|
|
29174
29290
|
/** Highlight search term in rendered HTML — AFTER markdown rendering. */
|
|
29175
29291
|
let highlightedHtml = derived(() => {
|
|
29176
29292
|
if (!searchTerm.trim()) return renderedHtml();
|
|
@@ -30244,7 +30360,8 @@ function FileContentViewer($$renderer, $$props) {
|
|
|
30244
30360
|
$$renderer.push(`<div class="[padding:0_10px]" data-testid="file-viewer-markdown">`);
|
|
30245
30361
|
MarkdownContent($$renderer, {
|
|
30246
30362
|
content: body(),
|
|
30247
|
-
small: true
|
|
30363
|
+
small: true,
|
|
30364
|
+
allowHtml: true
|
|
30248
30365
|
});
|
|
30249
30366
|
$$renderer.push(`<!----></div>`);
|
|
30250
30367
|
} else if (view.lang !== void 0 && isKnownCodeLang(view.lang)) {
|
|
@@ -37329,9 +37446,12 @@ function MarkdownPanel($$renderer, $$props) {
|
|
|
37329
37446
|
* byte-exact surface stays the transcript's chips; here prose may
|
|
37330
37447
|
* reflow, the accepted give-up).
|
|
37331
37448
|
*/
|
|
37332
|
-
let { content } = $$props;
|
|
37449
|
+
let { content, allowHtml = false } = $$props;
|
|
37333
37450
|
$$renderer.push(`<div data-svelte="MarkdownPanel" class="markdown-panel svelte-db6jsb" data-testid="markdown-panel">`);
|
|
37334
|
-
MarkdownContent($$renderer, {
|
|
37451
|
+
MarkdownContent($$renderer, {
|
|
37452
|
+
content,
|
|
37453
|
+
allowHtml
|
|
37454
|
+
});
|
|
37335
37455
|
$$renderer.push(`<!----></div>`);
|
|
37336
37456
|
}
|
|
37337
37457
|
//#endregion
|
|
@@ -37999,7 +38119,10 @@ function WorkspaceFile($$renderer, $$props) {
|
|
|
37999
38119
|
} else if (isMarkdown && tab === "preview") {
|
|
38000
38120
|
$$renderer.push("<!--[5-->");
|
|
38001
38121
|
$$renderer.push(`<div class="file-scroll svelte-tsr372">`);
|
|
38002
|
-
MarkdownPanel($$renderer, {
|
|
38122
|
+
MarkdownPanel($$renderer, {
|
|
38123
|
+
content: text ?? "",
|
|
38124
|
+
allowHtml: true
|
|
38125
|
+
});
|
|
38003
38126
|
$$renderer.push(`<!----></div>`);
|
|
38004
38127
|
} else {
|
|
38005
38128
|
$$renderer.push("<!--[-1-->");
|
|
@@ -39394,4 +39517,4 @@ function _page($$renderer, $$props) {
|
|
|
39394
39517
|
}
|
|
39395
39518
|
|
|
39396
39519
|
export { _page as default };
|
|
39397
|
-
//# sourceMappingURL=_page.svelte.js-
|
|
39520
|
+
//# sourceMappingURL=_page.svelte.js-CO5I0GZ2.js.map
|
|
@@ -9,8 +9,8 @@ import * as qs from 'node:querystring';
|
|
|
9
9
|
import { Readable } from 'node:stream';
|
|
10
10
|
import { S as SvelteKitError } from './chunks/shared.js-HQ0rfhm4.js';
|
|
11
11
|
import './chunks/utils.js-CAdNO8Tu.js';
|
|
12
|
-
import { S as Server } from './index.js-
|
|
13
|
-
import { m as manifest } from './manifest.js-
|
|
12
|
+
import { S as Server } from './index.js-D63-CxtE.js';
|
|
13
|
+
import { m as manifest } from './manifest.js-DJgcuJpZ.js';
|
|
14
14
|
import { env, dir, env_prefix } from '../../env.js';
|
|
15
15
|
import { format } from 'node:url';
|
|
16
16
|
|
|
@@ -1732,4 +1732,4 @@ const handler = sequence(
|
|
|
1732
1732
|
);
|
|
1733
1733
|
|
|
1734
1734
|
export { format_listening_address as f, handler as h, polka as p };
|
|
1735
|
-
//# sourceMappingURL=handler-
|
|
1735
|
+
//# sourceMappingURL=handler-veh0A37V.js.map
|
|
@@ -3,7 +3,7 @@ import { n as noop, T as TRAILING_SLASH_PARAM, I as INVALIDATED_PARAM, R as Redi
|
|
|
3
3
|
import { b as base, o as override, a as assets, r as reset, c as app_dir } from './chunks/internal.js-BcS47nI-.js';
|
|
4
4
|
import { f as format_server_error, j as json, i as is_form_content_type, t as text, h as has_prerendered_path, a as handle_fatal_error, r as redirect_response, g as get_set_cookies, n as negotiate, w as with_request_store, p as parseString, m as merge_tracing, b as method_not_allowed, s as static_error_page, c as handle_error_and_jsonify, d as get_global_name, e as create_replacer, k as serialize_uses, l as clarify_devalue_error, E as ENDPOINT_METHODS, P as PAGE_METHODS, o as get_node_type, q as isRedirect, u as escape_html, v as error, x as deserialize_binary_form } from './chunks/utils.js-CAdNO8Tu.js';
|
|
5
5
|
import { u as uneval } from './chunks/uneval.js-BJ9Qq2SF.js';
|
|
6
|
-
import { o as options, s as set_private_env, a as set_public_env, g as get_hooks, p as public_env, r as read_implementation, b as set_read_implementation } from './chunks/internal2.js-
|
|
6
|
+
import { o as options, s as set_private_env, a as set_public_env, g as get_hooks, p as public_env, r as read_implementation, b as set_read_implementation } from './chunks/internal2.js-B5x__0aq.js';
|
|
7
7
|
import { h as has_resolution_suffix, a as has_data_suffix, s as strip_resolution_suffix, b as strip_data_suffix, d as decode_pathname, c as add_data_suffix, e as add_resolution_suffix, f as find_route, n as normalize_path, g as disable_search, v as validate_layout_server_exports, i as validate_layout_exports, j as validate_page_server_exports, k as validate_page_exports, r as resolve, l as hash, m as make_trackable } from './chunks/exports.js-D5zA1U7A.js';
|
|
8
8
|
import { S as readable, T as writable } from './chunks/server.js-Dijo7DtV.js';
|
|
9
9
|
|
|
@@ -3821,4 +3821,4 @@ var Server = class {
|
|
|
3821
3821
|
};
|
|
3822
3822
|
|
|
3823
3823
|
export { Server as S };
|
|
3824
|
-
//# sourceMappingURL=index.js-
|
|
3824
|
+
//# sourceMappingURL=index.js-D63-CxtE.js.map
|
|
@@ -10,11 +10,11 @@ return {
|
|
|
10
10
|
assets: new Set(["favicon.svg"]),
|
|
11
11
|
mimeTypes: {".svg":"image/svg+xml"},
|
|
12
12
|
_: {
|
|
13
|
-
client: {start:"_app/immutable/entry/start.
|
|
13
|
+
client: {start:"_app/immutable/entry/start.BEEYbYm7.js",app:"_app/immutable/entry/app.B3Jpw67t.js",imports:["_app/immutable/entry/start.BEEYbYm7.js","_app/immutable/chunks/ClnxU8JH.js","_app/immutable/chunks/0Tfhif1V.js","_app/immutable/entry/app.B3Jpw67t.js","_app/immutable/chunks/0Tfhif1V.js","_app/immutable/chunks/HclGiUj8.js","_app/immutable/chunks/xihTtKlq.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
|
|
14
14
|
nodes: [
|
|
15
15
|
__memo(() => import('./nodes/0.js-B8ciwPSu.js')),
|
|
16
|
-
__memo(() => import('./nodes/1.js-
|
|
17
|
-
__memo(() => import('./nodes/2.js-
|
|
16
|
+
__memo(() => import('./nodes/1.js-BPYsraeg.js')),
|
|
17
|
+
__memo(() => import('./nodes/2.js-BoWRQ_XI.js'))
|
|
18
18
|
],
|
|
19
19
|
remotes: {
|
|
20
20
|
|
|
@@ -606,4 +606,4 @@ return {
|
|
|
606
606
|
})();
|
|
607
607
|
|
|
608
608
|
export { manifest as m };
|
|
609
|
-
//# sourceMappingURL=manifest.js-
|
|
609
|
+
//# sourceMappingURL=manifest.js-DJgcuJpZ.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const index = 1;
|
|
2
|
+
let component_cache;
|
|
3
|
+
const component = async () => component_cache ??= (await import('../entries/pages/_error.svelte.js-DImBUaQF.js')).default;
|
|
4
|
+
const imports = ["_app/immutable/nodes/1.DbxOgdbH.js","_app/immutable/chunks/0Tfhif1V.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/DAFsxYyZ.js","_app/immutable/chunks/ClnxU8JH.js","_app/immutable/chunks/D9jhmf3I.js"];
|
|
5
|
+
const stylesheets = [];
|
|
6
|
+
const fonts = [];
|
|
7
|
+
|
|
8
|
+
export { component, fonts, imports, index, stylesheets };
|
|
9
|
+
//# sourceMappingURL=1.js-BPYsraeg.js.map
|
|
@@ -19,11 +19,11 @@ import '../chunks/uneval.js-BJ9Qq2SF.js';
|
|
|
19
19
|
|
|
20
20
|
const index = 2;
|
|
21
21
|
let component_cache;
|
|
22
|
-
const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js-
|
|
22
|
+
const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js-CO5I0GZ2.js')).default;
|
|
23
23
|
const server_id = "src/routes/+page.server.ts";
|
|
24
|
-
const imports = ["_app/immutable/nodes/2.
|
|
24
|
+
const imports = ["_app/immutable/nodes/2.bJkyxVXf.js","_app/immutable/chunks/0Tfhif1V.js","_app/immutable/chunks/ClnxU8JH.js","_app/immutable/chunks/HclGiUj8.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/D9jhmf3I.js","_app/immutable/chunks/CTWtsoJD.js","_app/immutable/chunks/DAFsxYyZ.js"];
|
|
25
25
|
const stylesheets = ["_app/immutable/assets/2.glyfXGzi.css"];
|
|
26
26
|
const fonts = [];
|
|
27
27
|
|
|
28
28
|
export { component, fonts, imports, index, server_id, stylesheets };
|
|
29
|
-
//# sourceMappingURL=2.js-
|
|
29
|
+
//# sourceMappingURL=2.js-BoWRQ_XI.js.map
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{U as e}from"../nodes/2.BeOldRUA.js";export{e as startPanelResize};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e}from"../nodes/2.BeOldRUA.js";export{e as stringify};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{o as e,r as t}from"../chunks/CgYTrsc7.js";export{e as load_css,t as start};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const index = 1;
|
|
2
|
-
let component_cache;
|
|
3
|
-
const component = async () => component_cache ??= (await import('../entries/pages/_error.svelte.js-CL7qPUQ1.js')).default;
|
|
4
|
-
const imports = ["_app/immutable/nodes/1.BpeytF2X.js","_app/immutable/chunks/0Tfhif1V.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/DxK-AwFF.js","_app/immutable/chunks/CgYTrsc7.js","_app/immutable/chunks/D9jhmf3I.js"];
|
|
5
|
-
const stylesheets = [];
|
|
6
|
-
const fonts = [];
|
|
7
|
-
|
|
8
|
-
export { component, fonts, imports, index, stylesheets };
|
|
9
|
-
//# sourceMappingURL=1.js-BX_MW_nG.js.map
|