@claude-sessions/web 0.3.3 → 0.3.4
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/build/client/_app/immutable/assets/0.012AOslr.css +1 -0
- package/build/client/_app/immutable/assets/0.012AOslr.css.br +0 -0
- package/build/client/_app/immutable/assets/0.012AOslr.css.gz +0 -0
- package/build/client/_app/immutable/chunks/{HouQR_BO.js → B8FrDj8m.js} +1 -1
- package/build/client/_app/immutable/chunks/B8FrDj8m.js.br +0 -0
- package/build/client/_app/immutable/chunks/B8FrDj8m.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CzuOkoRV.js → CXOnRY8x.js} +1 -1
- package/build/client/_app/immutable/chunks/CXOnRY8x.js.br +0 -0
- package/build/client/_app/immutable/chunks/CXOnRY8x.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_89ThaI.js +90 -0
- package/build/client/_app/immutable/chunks/C_89ThaI.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_89ThaI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CbJths_J.js +1 -0
- package/build/client/_app/immutable/chunks/CbJths_J.js.br +0 -0
- package/build/client/_app/immutable/chunks/CbJths_J.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cyo3OVYg.js +2 -0
- package/build/client/_app/immutable/chunks/Cyo3OVYg.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cyo3OVYg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dfkti507.js +1 -0
- package/build/client/_app/immutable/chunks/Dfkti507.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dfkti507.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dz2P4HIo.js +1 -0
- package/build/client/_app/immutable/chunks/Dz2P4HIo.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dz2P4HIo.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.DQ0sG0qQ.js +2 -0
- package/build/client/_app/immutable/entry/app.DQ0sG0qQ.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DQ0sG0qQ.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.BF7HJ4fZ.js +1 -0
- package/build/client/_app/immutable/entry/start.BF7HJ4fZ.js.br +2 -0
- package/build/client/_app/immutable/entry/start.BF7HJ4fZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.B2tjwvIL.js +1 -0
- package/build/client/_app/immutable/nodes/0.B2tjwvIL.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.B2tjwvIL.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BcsF7AIE.js +1 -0
- package/build/client/_app/immutable/nodes/1.BcsF7AIE.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BcsF7AIE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.BOGTlhJ8.js +4 -0
- package/build/client/_app/immutable/nodes/2.BOGTlhJ8.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.BOGTlhJ8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.B6_hPOud.js +4 -0
- package/build/client/_app/immutable/nodes/3.B6_hPOud.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.B6_hPOud.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/server/chunks/0-Bz7vAUYh.js +17 -0
- package/build/server/chunks/0-Bz7vAUYh.js.map +1 -0
- package/build/server/chunks/{1-NzhdkXbT.js → 1-Dpd0kp2f.js} +2 -2
- package/build/server/chunks/{1-NzhdkXbT.js.map → 1-Dpd0kp2f.js.map} +1 -1
- package/build/server/chunks/2-CH9DzrUp.js +9 -0
- package/build/server/chunks/2-CH9DzrUp.js.map +1 -0
- package/build/server/chunks/3-p3bGcXaZ.js +9 -0
- package/build/server/chunks/3-p3bGcXaZ.js.map +1 -0
- package/build/server/chunks/InputModal-CzUvurky.js +36 -0
- package/build/server/chunks/InputModal-CzUvurky.js.map +1 -0
- package/build/server/chunks/Toast-BzlMSW2A.js +80 -0
- package/build/server/chunks/Toast-BzlMSW2A.js.map +1 -0
- package/build/server/chunks/_layout.svelte-Dr7pTiAq.js +105 -0
- package/build/server/chunks/_layout.svelte-Dr7pTiAq.js.map +1 -0
- package/build/server/chunks/{_page.svelte-C7sseaTW.js → _page.svelte-D8oP1bKp.js} +43 -3
- package/build/server/chunks/_page.svelte-D8oP1bKp.js.map +1 -0
- package/build/server/chunks/{_page.svelte-Bgd-L7N_.js → _page.svelte-OvxQOUCZ.js} +405 -346
- package/build/server/chunks/_page.svelte-OvxQOUCZ.js.map +1 -0
- package/build/server/chunks/{_server.ts-DZQssvoI.js → _server.ts-BGkiZqyw.js} +2 -2
- package/build/server/chunks/{_server.ts-DZQssvoI.js.map → _server.ts-BGkiZqyw.js.map} +1 -1
- package/build/server/chunks/index2-gtN4acH3.js.map +1 -1
- package/build/server/index.js +1 -1
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +6 -6
- package/build/server/manifest.js.map +1 -1
- package/package.json +2 -2
- package/build/client/_app/immutable/assets/0.B2yA_bPQ.css +0 -1
- package/build/client/_app/immutable/assets/0.B2yA_bPQ.css.br +0 -0
- package/build/client/_app/immutable/assets/0.B2yA_bPQ.css.gz +0 -0
- package/build/client/_app/immutable/chunks/Bapp9IYO.js +0 -1
- package/build/client/_app/immutable/chunks/Bapp9IYO.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bapp9IYO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BzTxzCCu.js +0 -1
- package/build/client/_app/immutable/chunks/BzTxzCCu.js.br +0 -0
- package/build/client/_app/immutable/chunks/BzTxzCCu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CUTXPORg.js +0 -1
- package/build/client/_app/immutable/chunks/CUTXPORg.js.br +0 -0
- package/build/client/_app/immutable/chunks/CUTXPORg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CzuOkoRV.js.br +0 -0
- package/build/client/_app/immutable/chunks/CzuOkoRV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DHCLGQT_.js +0 -1
- package/build/client/_app/immutable/chunks/DHCLGQT_.js.br +0 -0
- package/build/client/_app/immutable/chunks/DHCLGQT_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DUNnSDh5.js +0 -66
- package/build/client/_app/immutable/chunks/DUNnSDh5.js.br +0 -0
- package/build/client/_app/immutable/chunks/DUNnSDh5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Di6YbRZt.js +0 -2
- package/build/client/_app/immutable/chunks/Di6YbRZt.js.br +0 -0
- package/build/client/_app/immutable/chunks/Di6YbRZt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/HouQR_BO.js.br +0 -0
- package/build/client/_app/immutable/chunks/HouQR_BO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/IVrlObbe.js +0 -25
- package/build/client/_app/immutable/chunks/IVrlObbe.js.br +0 -0
- package/build/client/_app/immutable/chunks/IVrlObbe.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.Dj3HhwA8.js +0 -2
- package/build/client/_app/immutable/entry/app.Dj3HhwA8.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Dj3HhwA8.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DhjCZi9N.js +0 -1
- package/build/client/_app/immutable/entry/start.DhjCZi9N.js.br +0 -2
- package/build/client/_app/immutable/entry/start.DhjCZi9N.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.CAbelkQT.js +0 -1
- package/build/client/_app/immutable/nodes/0.CAbelkQT.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CAbelkQT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.DYaH4O8k.js +0 -1
- package/build/client/_app/immutable/nodes/1.DYaH4O8k.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.DYaH4O8k.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.VvV6w9cZ.js +0 -5
- package/build/client/_app/immutable/nodes/2.VvV6w9cZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.VvV6w9cZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.D_uYLiIh.js +0 -4
- package/build/client/_app/immutable/nodes/3.D_uYLiIh.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.D_uYLiIh.js.gz +0 -0
- package/build/server/chunks/0-CWHakFRJ.js +0 -17
- package/build/server/chunks/0-CWHakFRJ.js.map +0 -1
- package/build/server/chunks/2-DrysGJ9C.js +0 -9
- package/build/server/chunks/2-DrysGJ9C.js.map +0 -1
- package/build/server/chunks/3-D4BIPCPc.js +0 -9
- package/build/server/chunks/3-D4BIPCPc.js.map +0 -1
- package/build/server/chunks/Toast-CTZhGpnd.js +0 -45
- package/build/server/chunks/Toast-CTZhGpnd.js.map +0 -1
- package/build/server/chunks/_layout.svelte-D9DyGgZM.js +0 -61
- package/build/server/chunks/_layout.svelte-D9DyGgZM.js.map +0 -1
- package/build/server/chunks/_page.svelte-Bgd-L7N_.js.map +0 -1
- package/build/server/chunks/_page.svelte-C7sseaTW.js.map +0 -1
- package/build/server/chunks/config-DKyxRWWg.js +0 -20
- package/build/server/chunks/config-DKyxRWWg.js.map +0 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { h as head, a as attr, b as attr_class, s as stringify } from './index2-gtN4acH3.js';
|
|
2
|
+
import './exports-CgQJUv15.js';
|
|
3
|
+
import { p as page } from './index4-Cm9gf6zG.js';
|
|
4
|
+
import { C as ConfirmModal, T as Toast } from './Toast-BzlMSW2A.js';
|
|
5
|
+
import './index3-DVZVsHMK.js';
|
|
6
|
+
import { Y as escape_html } from './index-CMS8WiSi.js';
|
|
7
|
+
import 'marked';
|
|
8
|
+
import 'fs';
|
|
9
|
+
import 'os';
|
|
10
|
+
import 'path';
|
|
11
|
+
import 'effect';
|
|
12
|
+
import 'fs/promises';
|
|
13
|
+
|
|
14
|
+
function _layout($$renderer, $$props) {
|
|
15
|
+
$$renderer.component(($$renderer2) => {
|
|
16
|
+
let { children } = $$props;
|
|
17
|
+
const isSessionPage = page.url.pathname.startsWith("/session/");
|
|
18
|
+
const currentSessionInfo = (() => {
|
|
19
|
+
if (!isSessionPage) return null;
|
|
20
|
+
const match = page.url.pathname.match(/^\/session\/([^/]+)\/([^/]+)/);
|
|
21
|
+
if (!match) return null;
|
|
22
|
+
return {
|
|
23
|
+
projectName: decodeURIComponent(match[1]),
|
|
24
|
+
sessionId: decodeURIComponent(match[2])
|
|
25
|
+
};
|
|
26
|
+
})();
|
|
27
|
+
let cleaning = false;
|
|
28
|
+
let shuttingDown = false;
|
|
29
|
+
let toastMessage = null;
|
|
30
|
+
let toastVariant = "info";
|
|
31
|
+
let confirmModal = {
|
|
32
|
+
show: false,
|
|
33
|
+
title: "",
|
|
34
|
+
message: "",
|
|
35
|
+
variant: "default",
|
|
36
|
+
onConfirm: () => {
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
const closeConfirm = () => {
|
|
40
|
+
confirmModal = { ...confirmModal, show: false };
|
|
41
|
+
};
|
|
42
|
+
let searchQuery = "";
|
|
43
|
+
let $$settled = true;
|
|
44
|
+
let $$inner_renderer;
|
|
45
|
+
function $$render_inner($$renderer3) {
|
|
46
|
+
head("12qhfyh", $$renderer3, ($$renderer4) => {
|
|
47
|
+
$$renderer4.title(($$renderer5) => {
|
|
48
|
+
$$renderer5.push(`<title>Claude Sessions</title>`);
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
$$renderer3.push(`<div class="min-h-screen flex flex-col bg-gh-bg text-gh-text"><header class="bg-gh-bg-secondary border-b border-gh-border px-8 py-4 flex justify-between items-center"><div class="flex items-center gap-3"><a${attr("href", currentSessionInfo ? `/#project=${encodeURIComponent(currentSessionInfo.projectName)}` : "/")} class="flex items-center gap-2 hover:text-gh-accent"${attr("title", currentSessionInfo ? "Back to project" : "Claude Sessions")}><svg class="w-6 h-6 text-gh-accent" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg> <span class="text-2xl font-semibold hidden sm:inline">Claude Sessions</span></a> `);
|
|
52
|
+
{
|
|
53
|
+
$$renderer3.push("<!--[!-->");
|
|
54
|
+
}
|
|
55
|
+
$$renderer3.push(`<!--]--></div> <div class="relative flex-1 max-w-md mx-8"><input type="text" placeholder="Search sessions..."${attr("value", searchQuery)} class="w-full px-4 py-2 bg-gh-bg border border-gh-border rounded-md text-sm focus:outline-none focus:border-gh-accent"/> `);
|
|
56
|
+
{
|
|
57
|
+
$$renderer3.push("<!--[!-->");
|
|
58
|
+
}
|
|
59
|
+
$$renderer3.push(`<!--]--> `);
|
|
60
|
+
{
|
|
61
|
+
$$renderer3.push("<!--[!-->");
|
|
62
|
+
}
|
|
63
|
+
$$renderer3.push(`<!--]--></div> <div class="flex gap-2"><button class="bg-gh-border-subtle border border-gh-border text-gh-text px-4 py-2 rounded-md text-sm transition-colors hover:bg-gh-border hover:border-gh-text-secondary disabled:opacity-50 disabled:cursor-not-allowed"${attr("disabled", cleaning, true)}>${escape_html("Cleanup")}</button> <button class="bg-gh-red border border-gh-red text-white px-4 py-2 rounded-md text-sm transition-colors hover:bg-red-700 disabled:opacity-50 disabled:cursor-not-allowed"${attr("disabled", shuttingDown, true)}>${escape_html("Shutdown")}</button></div></header> <main${attr_class(`flex-1 ${stringify(isSessionPage ? "" : "p-8 max-w-7xl mx-auto")} w-full overflow-y-auto`)}>`);
|
|
64
|
+
children($$renderer3);
|
|
65
|
+
$$renderer3.push(`<!----></main></div> `);
|
|
66
|
+
{
|
|
67
|
+
$$renderer3.push("<!--[!-->");
|
|
68
|
+
}
|
|
69
|
+
$$renderer3.push(`<!--]--> `);
|
|
70
|
+
{
|
|
71
|
+
$$renderer3.push("<!--[!-->");
|
|
72
|
+
}
|
|
73
|
+
$$renderer3.push(`<!--]--> `);
|
|
74
|
+
ConfirmModal($$renderer3, {
|
|
75
|
+
show: confirmModal.show,
|
|
76
|
+
title: confirmModal.title,
|
|
77
|
+
message: confirmModal.message,
|
|
78
|
+
variant: confirmModal.variant,
|
|
79
|
+
onConfirm: confirmModal.onConfirm,
|
|
80
|
+
onCancel: closeConfirm
|
|
81
|
+
});
|
|
82
|
+
$$renderer3.push(`<!----> `);
|
|
83
|
+
Toast($$renderer3, {
|
|
84
|
+
variant: toastVariant,
|
|
85
|
+
get message() {
|
|
86
|
+
return toastMessage;
|
|
87
|
+
},
|
|
88
|
+
set message($$value) {
|
|
89
|
+
toastMessage = $$value;
|
|
90
|
+
$$settled = false;
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
$$renderer3.push(`<!---->`);
|
|
94
|
+
}
|
|
95
|
+
do {
|
|
96
|
+
$$settled = true;
|
|
97
|
+
$$inner_renderer = $$renderer2.copy();
|
|
98
|
+
$$render_inner($$inner_renderer);
|
|
99
|
+
} while (!$$settled);
|
|
100
|
+
$$renderer2.subsume($$inner_renderer);
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export { _layout as default };
|
|
105
|
+
//# sourceMappingURL=_layout.svelte-Dr7pTiAq.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_layout.svelte-Dr7pTiAq.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_layout.svelte.js"],"sourcesContent":["import { h as head, a as attr, b as attr_class, s as stringify } from \"../../chunks/index2.js\";\nimport \"@sveltejs/kit/internal\";\nimport \"../../chunks/exports.js\";\nimport \"../../chunks/utils.js\";\nimport \"@sveltejs/kit/internal/server\";\nimport { p as page } from \"../../chunks/index4.js\";\nimport { C as ConfirmModal, T as Toast } from \"../../chunks/Toast.js\";\nimport \"../../chunks/index3.js\";\nimport { V as escape_html } from \"../../chunks/context.js\";\nfunction _layout($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { children } = $$props;\n const isSessionPage = page.url.pathname.startsWith(\"/session/\");\n const currentSessionInfo = (() => {\n if (!isSessionPage) return null;\n const match = page.url.pathname.match(/^\\/session\\/([^/]+)\\/([^/]+)/);\n if (!match) return null;\n return {\n projectName: decodeURIComponent(match[1]),\n sessionId: decodeURIComponent(match[2])\n };\n })();\n let cleaning = false;\n let shuttingDown = false;\n let toastMessage = null;\n let toastVariant = \"info\";\n let confirmModal = {\n show: false,\n title: \"\",\n message: \"\",\n variant: \"default\",\n onConfirm: () => {\n }\n };\n const closeConfirm = () => {\n confirmModal = { ...confirmModal, show: false };\n };\n let searchQuery = \"\";\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n head(\"12qhfyh\", $$renderer3, ($$renderer4) => {\n $$renderer4.title(($$renderer5) => {\n $$renderer5.push(`<title>Claude Sessions</title>`);\n });\n });\n $$renderer3.push(`<div class=\"min-h-screen flex flex-col bg-gh-bg text-gh-text\"><header class=\"bg-gh-bg-secondary border-b border-gh-border px-8 py-4 flex justify-between items-center\"><div class=\"flex items-center gap-3\"><a${attr(\"href\", currentSessionInfo ? `/#project=${encodeURIComponent(currentSessionInfo.projectName)}` : \"/\")} class=\"flex items-center gap-2 hover:text-gh-accent\"${attr(\"title\", currentSessionInfo ? \"Back to project\" : \"Claude Sessions\")}><svg class=\"w-6 h-6 text-gh-accent\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z\"></path></svg> <span class=\"text-2xl font-semibold hidden sm:inline\">Claude Sessions</span></a> `);\n {\n $$renderer3.push(\"<!--[!-->\");\n }\n $$renderer3.push(`<!--]--></div> <div class=\"relative flex-1 max-w-md mx-8\"><input type=\"text\" placeholder=\"Search sessions...\"${attr(\"value\", searchQuery)} class=\"w-full px-4 py-2 bg-gh-bg border border-gh-border rounded-md text-sm focus:outline-none focus:border-gh-accent\"/> `);\n {\n $$renderer3.push(\"<!--[!-->\");\n }\n $$renderer3.push(`<!--]--> `);\n {\n $$renderer3.push(\"<!--[!-->\");\n }\n $$renderer3.push(`<!--]--></div> <div class=\"flex gap-2\"><button class=\"bg-gh-border-subtle border border-gh-border text-gh-text px-4 py-2 rounded-md text-sm transition-colors hover:bg-gh-border hover:border-gh-text-secondary disabled:opacity-50 disabled:cursor-not-allowed\"${attr(\"disabled\", cleaning, true)}>${escape_html(\"Cleanup\")}</button> <button class=\"bg-gh-red border border-gh-red text-white px-4 py-2 rounded-md text-sm transition-colors hover:bg-red-700 disabled:opacity-50 disabled:cursor-not-allowed\"${attr(\"disabled\", shuttingDown, true)}>${escape_html(\"Shutdown\")}</button></div></header> <main${attr_class(`flex-1 ${stringify(isSessionPage ? \"\" : \"p-8 max-w-7xl mx-auto\")} w-full overflow-y-auto`)}>`);\n children($$renderer3);\n $$renderer3.push(`<!----></main></div> `);\n {\n $$renderer3.push(\"<!--[!-->\");\n }\n $$renderer3.push(`<!--]--> `);\n {\n $$renderer3.push(\"<!--[!-->\");\n }\n $$renderer3.push(`<!--]--> `);\n ConfirmModal($$renderer3, {\n show: confirmModal.show,\n title: confirmModal.title,\n message: confirmModal.message,\n variant: confirmModal.variant,\n onConfirm: confirmModal.onConfirm,\n onCancel: closeConfirm\n });\n $$renderer3.push(`<!----> `);\n Toast($$renderer3, {\n variant: toastVariant,\n get message() {\n return toastMessage;\n },\n set message($$value) {\n toastMessage = $$value;\n $$settled = false;\n }\n });\n $$renderer3.push(`<!---->`);\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n });\n}\nexport {\n _layout as default\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;AASA,SAAS,OAAO,CAAC,UAAU,EAAE,OAAO,EAAE;AACtC,EA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M,gBAAgB,GAAG,WAAW,CAAC,IAAI,EAAE;AAC3C,MAAM,cAAc,CAAC,gBAAgB,CAAC;AACtC,IAAI,CAAC,QAAQ,CAAC,SAAS;AACvB,IAAI,WAAW,CAAC,OAAO,CAAC,gBAAgB,CAAC;AACzC,EAAE,CAAC,CAAC;AACJ;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as head } from './index2-gtN4acH3.js';
|
|
2
2
|
import { p as page } from './index4-Cm9gf6zG.js';
|
|
3
|
-
import { T as Toast } from './Toast-
|
|
4
|
-
import './
|
|
3
|
+
import { T as Toast, C as ConfirmModal } from './Toast-BzlMSW2A.js';
|
|
4
|
+
import { I as InputModal } from './InputModal-CzUvurky.js';
|
|
5
5
|
import './index3-DVZVsHMK.js';
|
|
6
6
|
import { Y as escape_html } from './index-CMS8WiSi.js';
|
|
7
7
|
import './exports-CgQJUv15.js';
|
|
@@ -15,6 +15,28 @@ import 'fs/promises';
|
|
|
15
15
|
function _page($$renderer, $$props) {
|
|
16
16
|
$$renderer.component(($$renderer2) => {
|
|
17
17
|
let toast = null;
|
|
18
|
+
let confirmModal = {
|
|
19
|
+
show: false,
|
|
20
|
+
title: "",
|
|
21
|
+
message: "",
|
|
22
|
+
variant: "default",
|
|
23
|
+
onConfirm: () => {
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
let inputModal = {
|
|
27
|
+
show: false,
|
|
28
|
+
title: "",
|
|
29
|
+
label: "",
|
|
30
|
+
initialValue: "",
|
|
31
|
+
onConfirm: () => {
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
const closeConfirm = () => {
|
|
35
|
+
confirmModal = { ...confirmModal, show: false };
|
|
36
|
+
};
|
|
37
|
+
const closeInput = () => {
|
|
38
|
+
inputModal = { ...inputModal, show: false };
|
|
39
|
+
};
|
|
18
40
|
decodeURIComponent(page.params.project ?? "");
|
|
19
41
|
decodeURIComponent(page.params.id ?? "");
|
|
20
42
|
const displayTitle = "Untitled";
|
|
@@ -41,6 +63,24 @@ function _page($$renderer, $$props) {
|
|
|
41
63
|
$$settled = false;
|
|
42
64
|
}
|
|
43
65
|
});
|
|
66
|
+
$$renderer3.push(`<!----> `);
|
|
67
|
+
ConfirmModal($$renderer3, {
|
|
68
|
+
show: confirmModal.show,
|
|
69
|
+
title: confirmModal.title,
|
|
70
|
+
message: confirmModal.message,
|
|
71
|
+
variant: confirmModal.variant,
|
|
72
|
+
onConfirm: confirmModal.onConfirm,
|
|
73
|
+
onCancel: closeConfirm
|
|
74
|
+
});
|
|
75
|
+
$$renderer3.push(`<!----> `);
|
|
76
|
+
InputModal($$renderer3, {
|
|
77
|
+
show: inputModal.show,
|
|
78
|
+
title: inputModal.title,
|
|
79
|
+
label: inputModal.label,
|
|
80
|
+
initialValue: inputModal.initialValue,
|
|
81
|
+
onConfirm: inputModal.onConfirm,
|
|
82
|
+
onCancel: closeInput
|
|
83
|
+
});
|
|
44
84
|
$$renderer3.push(`<!---->`);
|
|
45
85
|
}
|
|
46
86
|
do {
|
|
@@ -53,4 +93,4 @@ function _page($$renderer, $$props) {
|
|
|
53
93
|
}
|
|
54
94
|
|
|
55
95
|
export { _page as default };
|
|
56
|
-
//# sourceMappingURL=_page.svelte-
|
|
96
|
+
//# sourceMappingURL=_page.svelte-D8oP1bKp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_page.svelte-D8oP1bKp.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/session/_project_/_id_/_page.svelte.js"],"sourcesContent":["import { h as head } from \"../../../../../chunks/index2.js\";\nimport { p as page } from \"../../../../../chunks/index4.js\";\nimport { T as Toast, C as ConfirmModal } from \"../../../../../chunks/Toast.js\";\nimport { I as InputModal } from \"../../../../../chunks/InputModal.js\";\nimport \"../../../../../chunks/index3.js\";\nimport { V as escape_html } from \"../../../../../chunks/context.js\";\nfunction _page($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let toast = null;\n let confirmModal = {\n show: false,\n title: \"\",\n message: \"\",\n variant: \"default\",\n onConfirm: () => {\n }\n };\n let inputModal = {\n show: false,\n title: \"\",\n label: \"\",\n initialValue: \"\",\n onConfirm: () => {\n }\n };\n const closeConfirm = () => {\n confirmModal = { ...confirmModal, show: false };\n };\n const closeInput = () => {\n inputModal = { ...inputModal, show: false };\n };\n decodeURIComponent(page.params.project ?? \"\");\n decodeURIComponent(page.params.id ?? \"\");\n const displayTitle = \"Untitled\";\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n head(\"ik3mmh\", $$renderer3, ($$renderer4) => {\n $$renderer4.title(($$renderer5) => {\n $$renderer5.push(`<title>${escape_html(displayTitle)} - Claude Sessions</title>`);\n });\n });\n $$renderer3.push(`<div class=\"h-screen bg-gh-bg\">`);\n {\n $$renderer3.push(\"<!--[-->\");\n $$renderer3.push(`<div class=\"flex items-center justify-center h-full\"><div class=\"text-gh-muted\">Loading...</div></div>`);\n }\n $$renderer3.push(`<!--]--></div> `);\n Toast($$renderer3, {\n get message() {\n return toast;\n },\n set message($$value) {\n toast = $$value;\n $$settled = false;\n }\n });\n $$renderer3.push(`<!----> `);\n ConfirmModal($$renderer3, {\n show: confirmModal.show,\n title: confirmModal.title,\n message: confirmModal.message,\n variant: confirmModal.variant,\n onConfirm: confirmModal.onConfirm,\n onCancel: closeConfirm\n });\n $$renderer3.push(`<!----> `);\n InputModal($$renderer3, {\n show: inputModal.show,\n title: inputModal.title,\n label: inputModal.label,\n initialValue: inputModal.initialValue,\n onConfirm: inputModal.onConfirm,\n onCancel: closeInput\n });\n $$renderer3.push(`<!---->`);\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n });\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAMA,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,EAAE,UAAU,CAA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