@claude-sessions/web 0.4.5 → 0.4.6-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/client/_app/immutable/assets/{0.BTIBK81-.css → 0.CmB_mQ6r.css} +1 -1
- package/build/client/_app/immutable/assets/0.CmB_mQ6r.css.br +0 -0
- package/build/client/_app/immutable/assets/0.CmB_mQ6r.css.gz +0 -0
- package/build/client/_app/immutable/assets/Toast.BpcxWUYz.css.gz +0 -0
- package/build/client/_app/immutable/chunks/{Cr0eW1j3.js → 0ghLiCJk.js} +1 -1
- package/build/client/_app/immutable/chunks/0ghLiCJk.js.br +0 -0
- package/build/client/_app/immutable/chunks/0ghLiCJk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Az6Ah2To.js +2 -0
- package/build/client/_app/immutable/chunks/Az6Ah2To.js.br +0 -0
- package/build/client/_app/immutable/chunks/Az6Ah2To.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BmH_exS6.js → B4jA3VLS.js} +1 -1
- package/build/client/_app/immutable/chunks/B4jA3VLS.js.br +0 -0
- package/build/client/_app/immutable/chunks/B4jA3VLS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BVlcxAlQ.js +1 -0
- package/build/client/_app/immutable/chunks/BVlcxAlQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BVlcxAlQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{YXuXYbOb.js → CRomTuQI.js} +1 -1
- package/build/client/_app/immutable/chunks/CRomTuQI.js.br +0 -0
- package/build/client/_app/immutable/chunks/{YXuXYbOb.js.gz → CRomTuQI.js.gz} +0 -0
- package/build/client/_app/immutable/chunks/HeMoCUQR.js +1 -0
- package/build/client/_app/immutable/chunks/HeMoCUQR.js.br +0 -0
- package/build/client/_app/immutable/chunks/HeMoCUQR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{WodlV_jD.js → bVA83Itg.js} +2 -2
- package/build/client/_app/immutable/chunks/bVA83Itg.js.br +0 -0
- package/build/client/_app/immutable/chunks/bVA83Itg.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.Kf_4i_t0.js → app.r1xZjjw5.js} +2 -2
- package/build/client/_app/immutable/entry/app.r1xZjjw5.js.br +0 -0
- package/build/client/_app/immutable/entry/app.r1xZjjw5.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CFaqHpYi.js +1 -0
- package/build/client/_app/immutable/entry/start.CFaqHpYi.js.br +2 -0
- package/build/client/_app/immutable/entry/start.CFaqHpYi.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.qoGoldyZ.js +1 -0
- package/build/client/_app/immutable/nodes/0.qoGoldyZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.qoGoldyZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.N-a8xEtx.js +1 -0
- package/build/client/_app/immutable/nodes/1.N-a8xEtx.js.br +1 -0
- package/build/client/_app/immutable/nodes/1.N-a8xEtx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{2.yd31CwaR.js → 2.UjUuJUYA.js} +1 -1
- package/build/client/_app/immutable/nodes/2.UjUuJUYA.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.UjUuJUYA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.Dh5fbLPm.js → 3.CeWx5wYV.js} +1 -1
- package/build/client/_app/immutable/nodes/3.CeWx5wYV.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CeWx5wYV.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-DJQ9yHD-.js +17 -0
- package/build/server/chunks/{0-D3SWM5E2.js.map → 0-DJQ9yHD-.js.map} +1 -1
- package/build/server/chunks/1-0fAAqH6q.js +9 -0
- package/build/server/chunks/{1-CXfgX4ux.js.map → 1-0fAAqH6q.js.map} +1 -1
- package/build/server/chunks/2-C3kTHFPu.js +9 -0
- package/build/server/chunks/{2-MV5uDYTL.js.map → 2-C3kTHFPu.js.map} +1 -1
- package/build/server/chunks/3-DViOURTs.js +9 -0
- package/build/server/chunks/{3-CsnDqfbG.js.map → 3-DViOURTs.js.map} +1 -1
- package/build/server/chunks/{InputModal-B9P0hP_j.js → InputModal-Bo_3Ym8j.js} +3 -3
- package/build/server/chunks/{InputModal-B9P0hP_j.js.map → InputModal-Bo_3Ym8j.js.map} +1 -1
- package/build/server/chunks/{Toast-DWQ-hmJu.js → Toast-Bd3XGXXC.js} +4 -4
- package/build/server/chunks/{Toast-DWQ-hmJu.js.map → Toast-Bd3XGXXC.js.map} +1 -1
- package/build/server/chunks/{_layout.svelte-Cgt3CiZy.js → _layout.svelte-BvleGV6e.js} +39 -7
- package/build/server/chunks/_layout.svelte-BvleGV6e.js.map +1 -0
- package/build/server/chunks/{_page.svelte-BiD6gfpa.js → _page.svelte-C1-T5LLg.js} +6 -6
- package/build/server/chunks/{_page.svelte-BiD6gfpa.js.map → _page.svelte-C1-T5LLg.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-CGQGusC6.js → _page.svelte-CWnsm7d3.js} +7 -7
- package/build/server/chunks/{_page.svelte-CGQGusC6.js.map → _page.svelte-CWnsm7d3.js.map} +1 -1
- package/build/server/chunks/{_server.ts-CKxzPqOL.js → _server.ts-BAppHpQz.js} +2 -2
- package/build/server/chunks/{_server.ts-CKxzPqOL.js.map → _server.ts-BAppHpQz.js.map} +1 -1
- package/build/server/chunks/{_server.ts-DLSXCOEM.js → _server.ts-BC_LO1Mo.js} +2 -2
- package/build/server/chunks/{_server.ts-DLSXCOEM.js.map → _server.ts-BC_LO1Mo.js.map} +1 -1
- package/build/server/chunks/{_server.ts-kfmLCgu8.js → _server.ts-BP2cDreo.js} +2 -2
- package/build/server/chunks/{_server.ts-kfmLCgu8.js.map → _server.ts-BP2cDreo.js.map} +1 -1
- package/build/server/chunks/{_server.ts-ChObRyrd.js → _server.ts-BeYJJW16.js} +2 -2
- package/build/server/chunks/{_server.ts-ChObRyrd.js.map → _server.ts-BeYJJW16.js.map} +1 -1
- package/build/server/chunks/{_server.ts-Brg38LxG.js → _server.ts-BjQjT0Ng.js} +2 -2
- package/build/server/chunks/{_server.ts-Brg38LxG.js.map → _server.ts-BjQjT0Ng.js.map} +1 -1
- package/build/server/chunks/{_server.ts-iCUks3KF.js → _server.ts-CKsrouac.js} +2 -2
- package/build/server/chunks/{_server.ts-iCUks3KF.js.map → _server.ts-CKsrouac.js.map} +1 -1
- package/build/server/chunks/{_server.ts-blDzB5RZ.js → _server.ts-CYmVizOg.js} +2 -2
- package/build/server/chunks/{_server.ts-blDzB5RZ.js.map → _server.ts-CYmVizOg.js.map} +1 -1
- package/build/server/chunks/{_server.ts-Dc0z7zpD.js → _server.ts-CZ9tt8rA.js} +3 -3
- package/build/server/chunks/{_server.ts-Dc0z7zpD.js.map → _server.ts-CZ9tt8rA.js.map} +1 -1
- package/build/server/chunks/{_server.ts-CDdRYdYO.js → _server.ts-CjqbXM-Y.js} +2 -2
- package/build/server/chunks/{_server.ts-CDdRYdYO.js.map → _server.ts-CjqbXM-Y.js.map} +1 -1
- package/build/server/chunks/{_server.ts-D5wsc-pR.js → _server.ts-CsiQMtcc.js} +2 -2
- package/build/server/chunks/{_server.ts-D5wsc-pR.js.map → _server.ts-CsiQMtcc.js.map} +1 -1
- package/build/server/chunks/{_server.ts-crvQ7CTS.js → _server.ts-D-UcueSG.js} +3 -3
- package/build/server/chunks/{_server.ts-crvQ7CTS.js.map → _server.ts-D-UcueSG.js.map} +1 -1
- package/build/server/chunks/{_server.ts-Be1LFWpG.js → _server.ts-D7CP1EUi.js} +2 -2
- package/build/server/chunks/{_server.ts-Be1LFWpG.js.map → _server.ts-D7CP1EUi.js.map} +1 -1
- package/build/server/chunks/{_server.ts-BOyCbZXG.js → _server.ts-D9g_mUy6.js} +2 -2
- package/build/server/chunks/{_server.ts-BOyCbZXG.js.map → _server.ts-D9g_mUy6.js.map} +1 -1
- package/build/server/chunks/{_server.ts-BsgoVOBd.js → _server.ts-DU5J1Z8u.js} +2 -2
- package/build/server/chunks/{_server.ts-BsgoVOBd.js.map → _server.ts-DU5J1Z8u.js.map} +1 -1
- package/build/server/chunks/{_server.ts-Fv64R5tZ.js → _server.ts-PJQyhLdS.js} +2 -2
- package/build/server/chunks/{_server.ts-Fv64R5tZ.js.map → _server.ts-PJQyhLdS.js.map} +1 -1
- package/build/server/chunks/{_server.ts-CPDPReZU.js → _server.ts-vcWTIQsw.js} +2 -2
- package/build/server/chunks/{_server.ts-CPDPReZU.js.map → _server.ts-vcWTIQsw.js.map} +1 -1
- package/build/server/chunks/{error.svelte-BNCG_dZH.js → error.svelte-DhuTv3Mg.js} +3 -3
- package/build/server/chunks/{error.svelte-BNCG_dZH.js.map → error.svelte-DhuTv3Mg.js.map} +1 -1
- package/build/server/chunks/{index-D4ev3Ona.js → index-Cw8KcxMg.js} +3 -3
- package/build/server/chunks/{index-D4ev3Ona.js.map → index-Cw8KcxMg.js.map} +1 -1
- package/build/server/chunks/{index2-ybZwlzIk.js → index2-4GAMKCnB.js} +2 -2
- package/build/server/chunks/{index2-ybZwlzIk.js.map → index2-4GAMKCnB.js.map} +1 -1
- package/build/server/chunks/{index3-D8yIZRD-.js → index3-Dje3vfFw.js} +2 -2
- package/build/server/chunks/index3-Dje3vfFw.js.map +1 -0
- package/build/server/chunks/{index4-B6vRxXfo.js → index4-BmUt-fl5.js} +2 -2
- package/build/server/chunks/{index4-B6vRxXfo.js.map → index4-BmUt-fl5.js.map} +1 -1
- package/build/server/chunks/{session-BwU3zV40.js → session-B5yQnNDv.js} +2 -2
- package/build/server/chunks/{session-BwU3zV40.js.map → session-B5yQnNDv.js.map} +1 -1
- package/build/server/index.js +4 -4
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +21 -21
- package/build/server/manifest.js.map +1 -1
- package/package.json +23 -23
- package/build/client/_app/immutable/assets/0.BTIBK81-.css.br +0 -0
- package/build/client/_app/immutable/assets/0.BTIBK81-.css.gz +0 -0
- package/build/client/_app/immutable/chunks/B-Z9hXPk.js +0 -1
- package/build/client/_app/immutable/chunks/B-Z9hXPk.js.br +0 -0
- package/build/client/_app/immutable/chunks/B-Z9hXPk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BmH_exS6.js.br +0 -0
- package/build/client/_app/immutable/chunks/BmH_exS6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cr0eW1j3.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cr0eW1j3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DOXVKi87.js +0 -2
- package/build/client/_app/immutable/chunks/DOXVKi87.js.br +0 -0
- package/build/client/_app/immutable/chunks/DOXVKi87.js.gz +0 -0
- package/build/client/_app/immutable/chunks/WodlV_jD.js.br +0 -0
- package/build/client/_app/immutable/chunks/WodlV_jD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/YXuXYbOb.js.br +0 -0
- package/build/client/_app/immutable/chunks/vDyoI7lw.js +0 -1
- package/build/client/_app/immutable/chunks/vDyoI7lw.js.br +0 -0
- package/build/client/_app/immutable/chunks/vDyoI7lw.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.Kf_4i_t0.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Kf_4i_t0.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DrVGwFzz.js +0 -1
- package/build/client/_app/immutable/entry/start.DrVGwFzz.js.br +0 -0
- package/build/client/_app/immutable/entry/start.DrVGwFzz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.Dfn2ZpXY.js +0 -1
- package/build/client/_app/immutable/nodes/0.Dfn2ZpXY.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.Dfn2ZpXY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.CWRD2TOY.js +0 -1
- package/build/client/_app/immutable/nodes/1.CWRD2TOY.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.CWRD2TOY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.yd31CwaR.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.yd31CwaR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.Dh5fbLPm.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.Dh5fbLPm.js.gz +0 -0
- package/build/server/chunks/0-D3SWM5E2.js +0 -17
- package/build/server/chunks/1-CXfgX4ux.js +0 -9
- package/build/server/chunks/2-MV5uDYTL.js +0 -9
- package/build/server/chunks/3-CsnDqfbG.js +0 -9
- package/build/server/chunks/_layout.svelte-Cgt3CiZy.js.map +0 -1
- package/build/server/chunks/index3-D8yIZRD-.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a1 as escape_html,
|
|
1
|
+
import { k as attr_class, f as stringify, q as bind_props } from './index-Cw8KcxMg.js';
|
|
2
|
+
import { a1 as escape_html, a0 as writable, a8 as ssr_context, a9 as get, a2 as derived } from './index2-4GAMKCnB.js';
|
|
3
3
|
import { marked } from 'marked';
|
|
4
|
-
import { F as maskHomePath$1 } from './index3-
|
|
4
|
+
import { F as maskHomePath$1 } from './index3-Dje3vfFw.js';
|
|
5
5
|
|
|
6
6
|
function onDestroy(fn) {
|
|
7
7
|
/** @type {SSRContext} */
|
|
@@ -77,4 +77,4 @@ function Toast($$renderer, $$props) {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export { ConfirmModal as C, Toast as T, appConfig as a, formatDate as b, formatProjectName as f, maskHomePath as m, truncate as t };
|
|
80
|
-
//# sourceMappingURL=Toast-
|
|
80
|
+
//# sourceMappingURL=Toast-Bd3XGXXC.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast-
|
|
1
|
+
{"version":3,"file":"Toast-Bd3XGXXC.js","sources":["../../../.svelte-kit/adapter-node/chunks/Toast.js"],"sourcesContent":["import { c as attr_class, s as stringify, k as bind_props } from \"./index.js\";\nimport { a4 as ssr_context, _ as escape_html } from \"./context.js\";\nimport { marked } from \"marked\";\nimport { d as derived, w as writable, g as get } from \"./index2.js\";\nimport { F as maskHomePath$1 } from \"./index3.js\";\nfunction onDestroy(fn) {\n /** @type {SSRContext} */\n ssr_context.r.on_destroy(fn);\n}\nconst appConfig = writable({ version: \"\", homeDir: \"\", currentProjectName: \"\" });\nconst maskHomePath = (text, homeDir) => {\n const home = homeDir ?? get(appConfig).homeDir;\n if (!home) {\n return text.replace(\n /(?:\\/Users\\/[^/\\s]+|C:\\\\Users\\\\[^\\\\\\s]+)(?=[/\\\\]|(?=\\s|$|[)\"'\\]}>,:;]))/g,\n \"~\"\n );\n }\n return maskHomePath$1(text, home);\n};\nderived(appConfig, ($config) => {\n return (text) => maskHomePath(text, $config.homeDir);\n});\nfunction ConfirmModal($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n show,\n title,\n message,\n confirmText = \"Confirm\",\n cancelText = \"Cancel\",\n variant = \"default\",\n onConfirm,\n onCancel\n } = $$props;\n if (show) {\n $$renderer2.push(\"<!--[-->\");\n $$renderer2.push(`<div class=\"fixed inset-0 bg-black/50 flex items-center justify-center z-50\" role=\"dialog\" aria-modal=\"true\" tabindex=\"-1\"><div class=\"bg-gh-bg-secondary border border-gh-border rounded-lg p-6 w-[380px] shadow-xl text-gh-text\"><h2 class=\"text-lg font-semibold mb-3\">${escape_html(title)}</h2> <p class=\"text-sm text-gh-text-secondary mb-6 whitespace-pre-wrap\">${escape_html(message)}</p> <div class=\"flex gap-2 justify-end\"><button class=\"px-4 py-2 text-sm rounded-md border border-gh-border hover:bg-gh-border-subtle\">${escape_html(cancelText)}</button> <button${attr_class(`px-4 py-2 text-sm rounded-md ${stringify(variant === \"danger\" ? \"bg-gh-red text-white hover:bg-red-700\" : \"bg-gh-accent text-white hover:bg-blue-700\")}`)}>${escape_html(confirmText)}</button></div></div></div>`);\n } else {\n $$renderer2.push(\"<!--[!-->\");\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nmarked.setOptions({\n breaks: true,\n gfm: true\n});\nconst formatDate = (dateStr) => {\n if (!dateStr) return \"-\";\n return new Date(dateStr).toLocaleString();\n};\nconst truncate = (str, len) => str.length > len ? str.slice(0, len) + \"...\" : str;\nconst formatProjectName = (displayName) => {\n return maskHomePath(displayName);\n};\nfunction Toast($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { message = void 0, variant = \"success\", duration = 3e3 } = $$props;\n const variantClasses = {\n success: \"bg-gh-green/90\",\n error: \"bg-gh-red/90\",\n info: \"bg-gh-accent/90\",\n warning: \"bg-yellow-600/90\"\n };\n onDestroy(() => {\n });\n if (message) {\n $$renderer2.push(\"<!--[-->\");\n $$renderer2.push(`<div${attr_class(`fixed bottom-4 left-1/2 -translate-x-1/2 text-white px-4 py-2 rounded-lg shadow-lg z-50 flex items-center gap-3 animate-fade-in ${stringify(variantClasses[variant])}`, \"svelte-1cpok13\")}><span>${escape_html(message)}</span> <button class=\"text-white/70 hover:text-white transition-colors\" title=\"Dismiss\">✕</button></div>`);\n } else {\n $$renderer2.push(\"<!--[!-->\");\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { message });\n });\n}\nexport {\n ConfirmModal as C,\n Toast as T,\n formatProjectName as a,\n appConfig as b,\n formatDate as f,\n maskHomePath as m,\n truncate as t\n};\n"],"names":[],"mappings":";;;;;AAKA,SAAS,SAAS,CAAC,EAAE,EAAE;AACvB;AACA,EAAE,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,CAAC;AAC9B;AACK,MAAC,SAAS,GAAG,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE;AAC1E,MAAC,YAAY,GAAG,CAAC,IAAI,EAAE,OAAO,KAAK;AACxC,EAAE,MAAM,IAAI,GAAG,OAAO,IAAI,GAAG,CAAC,SAAS,CAAC,CAAC,OAAO;AAChD,EAAE,IAAI,CAAC,IAAI,EAAE;AACb,IAAI,OAAO,IA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,CAAC;AAC7W,IAAI,CAAC,MAAM;AACX,MAAM,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC;AACnC,IAAI;AACJ,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;AAChC,IAAI,UAAU,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC;AACpC,EAAE,CAAC,CAAC;AACJ;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { h as head, d as attr, f as
|
|
1
|
+
import { h as head, d as attr, f as stringify, j as store_get, k as attr_class, l as unsubscribe_stores } from './index-Cw8KcxMg.js';
|
|
2
2
|
import './exports-BXvEiaiv.js';
|
|
3
|
-
import { p as page } from './index4-
|
|
4
|
-
import { C as ConfirmModal, T as Toast } from './Toast-
|
|
5
|
-
import './
|
|
6
|
-
import
|
|
3
|
+
import { p as page } from './index4-BmUt-fl5.js';
|
|
4
|
+
import { C as ConfirmModal, T as Toast } from './Toast-Bd3XGXXC.js';
|
|
5
|
+
import { a1 as escape_html, a0 as writable, a2 as derived } from './index2-4GAMKCnB.js';
|
|
6
|
+
import './index3-Dje3vfFw.js';
|
|
7
7
|
import 'marked';
|
|
8
8
|
import 'fs';
|
|
9
9
|
import 'fs/promises';
|
|
@@ -12,8 +12,24 @@ import 'path';
|
|
|
12
12
|
import 'effect';
|
|
13
13
|
import 'crypto';
|
|
14
14
|
|
|
15
|
+
const getStoredPreference = () => {
|
|
16
|
+
if (typeof localStorage === "undefined") return "system";
|
|
17
|
+
const stored = localStorage.getItem("theme");
|
|
18
|
+
if (stored === "light" || stored === "dark" || stored === "system") return stored;
|
|
19
|
+
return "system";
|
|
20
|
+
};
|
|
21
|
+
const getSystemTheme = () => {
|
|
22
|
+
if (typeof window === "undefined") return "dark";
|
|
23
|
+
return window.matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark";
|
|
24
|
+
};
|
|
25
|
+
const themePreference = writable(getStoredPreference());
|
|
26
|
+
const effectiveTheme = derived(themePreference, ($pref) => {
|
|
27
|
+
if ($pref === "system") return getSystemTheme();
|
|
28
|
+
return $pref;
|
|
29
|
+
});
|
|
15
30
|
function _layout($$renderer, $$props) {
|
|
16
31
|
$$renderer.component(($$renderer2) => {
|
|
32
|
+
var $$store_subs;
|
|
17
33
|
let { children } = $$props;
|
|
18
34
|
const isSessionPage = page.url.pathname.startsWith("/session/");
|
|
19
35
|
const currentSessionInfo = (() => {
|
|
@@ -53,7 +69,22 @@ function _layout($$renderer, $$props) {
|
|
|
53
69
|
{
|
|
54
70
|
$$renderer3.push("<!--[!-->");
|
|
55
71
|
}
|
|
56
|
-
$$renderer3.push(`<!--]
|
|
72
|
+
$$renderer3.push(`<!--]--> <button class="p-1.5 rounded-md text-gh-text-secondary hover:text-gh-text hover:bg-gh-border-subtle transition-colors"${attr("title", `Theme: ${stringify(store_get($$store_subs ??= {}, "$themePreference", themePreference))} (${stringify(store_get($$store_subs ??= {}, "$effectiveTheme", effectiveTheme))})`)}>`);
|
|
73
|
+
if (store_get($$store_subs ??= {}, "$effectiveTheme", effectiveTheme) === "light") {
|
|
74
|
+
$$renderer3.push("<!--[-->");
|
|
75
|
+
$$renderer3.push(`<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"></path></svg>`);
|
|
76
|
+
} else {
|
|
77
|
+
$$renderer3.push("<!--[!-->");
|
|
78
|
+
if (store_get($$store_subs ??= {}, "$themePreference", themePreference) === "system") {
|
|
79
|
+
$$renderer3.push("<!--[-->");
|
|
80
|
+
$$renderer3.push(`<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path></svg>`);
|
|
81
|
+
} else {
|
|
82
|
+
$$renderer3.push("<!--[!-->");
|
|
83
|
+
$$renderer3.push(`<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"></path></svg>`);
|
|
84
|
+
}
|
|
85
|
+
$$renderer3.push(`<!--]-->`);
|
|
86
|
+
}
|
|
87
|
+
$$renderer3.push(`<!--]--></button></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"/> `);
|
|
57
88
|
{
|
|
58
89
|
$$renderer3.push("<!--[!-->");
|
|
59
90
|
}
|
|
@@ -99,8 +130,9 @@ function _layout($$renderer, $$props) {
|
|
|
99
130
|
$$render_inner($$inner_renderer);
|
|
100
131
|
} while (!$$settled);
|
|
101
132
|
$$renderer2.subsume($$inner_renderer);
|
|
133
|
+
if ($$store_subs) unsubscribe_stores($$store_subs);
|
|
102
134
|
});
|
|
103
135
|
}
|
|
104
136
|
|
|
105
137
|
export { _layout as default };
|
|
106
|
-
//# sourceMappingURL=_layout.svelte-
|
|
138
|
+
//# sourceMappingURL=_layout.svelte-BvleGV6e.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_layout.svelte-BvleGV6e.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_layout.svelte.js"],"sourcesContent":["import { h as head, a as attr, s as stringify, b as store_get, c as attr_class, d as unsubscribe_stores } from \"../../chunks/index.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 { w as writable, d as derived } from \"../../chunks/index2.js\";\nimport \"../../chunks/index3.js\";\nimport { _ as escape_html } from \"../../chunks/context.js\";\nconst getStoredPreference = () => {\n if (typeof localStorage === \"undefined\") return \"system\";\n const stored = localStorage.getItem(\"theme\");\n if (stored === \"light\" || stored === \"dark\" || stored === \"system\") return stored;\n return \"system\";\n};\nconst getSystemTheme = () => {\n if (typeof window === \"undefined\") return \"dark\";\n return window.matchMedia(\"(prefers-color-scheme: light)\").matches ? \"light\" : \"dark\";\n};\nconst themePreference = writable(getStoredPreference());\nconst effectiveTheme = derived(themePreference, ($pref) => {\n if ($pref === \"system\") return getSystemTheme();\n return $pref;\n});\nfunction _layout($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n var $$store_subs;\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(`<!--]--> <button class=\"p-1.5 rounded-md text-gh-text-secondary hover:text-gh-text hover:bg-gh-border-subtle transition-colors\"${attr(\"title\", `Theme: ${stringify(store_get($$store_subs ??= {}, \"$themePreference\", themePreference))} (${stringify(store_get($$store_subs ??= {}, \"$effectiveTheme\", effectiveTheme))})`)}>`);\n if (store_get($$store_subs ??= {}, \"$effectiveTheme\", effectiveTheme) === \"light\") {\n $$renderer3.push(\"<!--[-->\");\n $$renderer3.push(`<svg class=\"w-5 h-5\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z\"></path></svg>`);\n } else {\n $$renderer3.push(\"<!--[!-->\");\n if (store_get($$store_subs ??= {}, \"$themePreference\", themePreference) === \"system\") {\n $$renderer3.push(\"<!--[-->\");\n $$renderer3.push(`<svg class=\"w-5 h-5\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z\"></path></svg>`);\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(`<svg class=\"w-5 h-5\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z\"></path></svg>`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]--></button></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 if ($$store_subs) unsubscribe_stores($$store_subs);\n });\n}\nexport {\n _layout as default\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAUA,MAAM,mBAAmB,GAAG,MAAM;AAClC,EAAE,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE,OAAO,QAAQ;AAC1D,EAAE,MAAM,MAAM,GAAG,YAAY,CAAC,OAAO,CAAC,OAAO,CAAC;AAC9C,EAAE,IAAI,MAAM,KAAK,OAAO,IAAI,MAAM,KAAK,MAAM,IAAI,MAAM,KAAK,QAAQ,EAAE,OAAO,MAAM;AACnF,EAAE,OAAO,QAAQ;AACjB,CAAC;AACD,MAAM,cAAc,GAAG,MAAM;AAC7B,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO,MAAM;AAClD,EAAE,OAAO,MAAM,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAAC,OAAO,GAAG,OAAO,GAAG,MAAM;AACtF,CAAC;AACD,MAAM,eAAe,GAAG,QAAQ,CAAC,mBAAmB,EAAE,CAAC;AACvD,MAAM,cAAc,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC,KAAK,KAAK;AAC3D,EAAE,IAAI,KAAK,KAAK,QAAQ,EAAE,OAAO,cAAc,EAAE;AACjD,EAAE,OAAO,KAAK;AACd,C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,QAAQ,CAAC,SAAS;AACvB,IAAI,WAAW,CAAC,OAAO,CAAC,gBAAgB,CAAC;AACzC,IAAI,IAAI,YAAY,EAAE,kBAAkB,CAAC,YAAY,CAAC;AACtD,EAAE,CAAC,CAAC;AACJ;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a1 as escape_html,
|
|
2
|
-
import { T as Toast, C as ConfirmModal,
|
|
3
|
-
import { I as InputModal } from './InputModal-
|
|
4
|
-
import { x as sortProjects, T as TREE_ICONS, v as validateChain, y as validateProgressMessages, z as getTotalTodoCount, A as getDisplayTitle, B as sessionHasSubItems, C as getSessionTooltip, D as parseCommandMessage, E as deleteMessageWithChainRepair } from './index3-
|
|
5
|
-
import {
|
|
1
|
+
import { a1 as escape_html, a3 as is_array, a4 as get_prototype_of, a5 as object_prototype } from './index2-4GAMKCnB.js';
|
|
2
|
+
import { T as Toast, C as ConfirmModal, a as appConfig, f as formatProjectName, t as truncate, b as formatDate, m as maskHomePath } from './Toast-Bd3XGXXC.js';
|
|
3
|
+
import { I as InputModal } from './InputModal-Bo_3Ym8j.js';
|
|
4
|
+
import { x as sortProjects, T as TREE_ICONS, v as validateChain, y as validateProgressMessages, z as getTotalTodoCount, A as getDisplayTitle, B as sessionHasSubItems, C as getSessionTooltip, D as parseCommandMessage, E as deleteMessageWithChainRepair } from './index3-Dje3vfFw.js';
|
|
5
|
+
import { j as store_get, m as ensure_array_like, d as attr, k as attr_class, f as stringify, l as unsubscribe_stores, n as clsx, o as attributes, p as await_block } from './index-Cw8KcxMg.js';
|
|
6
6
|
import 'marked';
|
|
7
7
|
import 'fs';
|
|
8
8
|
import 'fs/promises';
|
|
@@ -1802,4 +1802,4 @@ Old messages (${oldMessagesCount}) will be moved to a new session.`, async () =>
|
|
|
1802
1802
|
}
|
|
1803
1803
|
|
|
1804
1804
|
export { _page as default };
|
|
1805
|
-
//# sourceMappingURL=_page.svelte-
|
|
1805
|
+
//# sourceMappingURL=_page.svelte-C1-T5LLg.js.map
|