@claude-sessions/web 0.3.7 → 0.4.1-beta.0
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.D2FnNtrO.css +1 -0
- package/build/client/_app/immutable/assets/0.D2FnNtrO.css.br +0 -0
- package/build/client/_app/immutable/assets/0.D2FnNtrO.css.gz +0 -0
- package/build/client/_app/immutable/assets/Toast.CQSY_S6M.css.gz +0 -0
- package/build/client/_app/immutable/chunks/{pOdkXMWy.js → B-Z9hXPk.js} +1 -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/{Ck-YPZB6.js → BAHJNsIv.js} +1 -1
- package/build/client/_app/immutable/chunks/BAHJNsIv.js.br +0 -0
- package/build/client/_app/immutable/chunks/BAHJNsIv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BUqdiQ8V.js +90 -0
- package/build/client/_app/immutable/chunks/BUqdiQ8V.js.br +0 -0
- package/build/client/_app/immutable/chunks/BUqdiQ8V.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Dbjp-HdT.js → Bt_HBaBk.js} +1 -1
- package/build/client/_app/immutable/chunks/Bt_HBaBk.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bt_HBaBk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cr0eW1j3.js +1 -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 +2 -0
- 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/YXuXYbOb.js +1 -0
- package/build/client/_app/immutable/chunks/YXuXYbOb.js.br +0 -0
- package/build/client/_app/immutable/chunks/YXuXYbOb.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.B37sNVm4.js +2 -0
- package/build/client/_app/immutable/entry/app.B37sNVm4.js.br +0 -0
- package/build/client/_app/immutable/entry/app.B37sNVm4.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CUKKnspj.js +1 -0
- package/build/client/_app/immutable/entry/start.CUKKnspj.js.br +2 -0
- package/build/client/_app/immutable/entry/start.CUKKnspj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{0.D4LDvqQb.js → 0.DD0gH91e.js} +1 -1
- package/build/client/_app/immutable/nodes/0.DD0gH91e.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DD0gH91e.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.j1rqa9HA.js +1 -0
- package/build/client/_app/immutable/nodes/1.j1rqa9HA.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.j1rqa9HA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.5x79czX-.js +4 -0
- package/build/client/_app/immutable/nodes/2.5x79czX-.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.5x79czX-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.CkQ0QnVZ.js +4 -0
- package/build/client/_app/immutable/nodes/3.CkQ0QnVZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CkQ0QnVZ.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/env.js +51 -2
- package/build/handler.js +46 -4
- package/build/index.js +25 -14
- package/build/server/chunks/0-BhPy9YZY.js +17 -0
- package/build/server/chunks/{0-DkD09WcK.js.map → 0-BhPy9YZY.js.map} +1 -1
- package/build/server/chunks/1-CTTD_wla.js +9 -0
- package/build/server/chunks/{1-CjtVgNYW.js.map → 1-CTTD_wla.js.map} +1 -1
- package/build/server/chunks/2-Bvyspg6i.js +9 -0
- package/build/server/chunks/{2-wstlfOP5.js.map → 2-Bvyspg6i.js.map} +1 -1
- package/build/server/chunks/3-BHD2c0Ph.js +9 -0
- package/build/server/chunks/{3-Cdn9_0OG.js.map → 3-BHD2c0Ph.js.map} +1 -1
- package/build/server/chunks/{InputModal-XaplAR5y.js → InputModal-CbpiMXy3.js} +3 -3
- package/build/server/chunks/InputModal-CbpiMXy3.js.map +1 -0
- package/build/server/chunks/{Toast-ihrVamsT.js → Toast-Dr8M-5Wk.js} +4 -4
- package/build/server/chunks/Toast-Dr8M-5Wk.js.map +1 -0
- package/build/server/chunks/{_layout.svelte-COfbk473.js → _layout.svelte-CkIsNl4s.js} +7 -6
- package/build/server/chunks/_layout.svelte-CkIsNl4s.js.map +1 -0
- package/build/server/chunks/{_page.svelte-CKSi7jlX.js → _page.svelte-BdKbLK1W.js} +8 -7
- package/build/server/chunks/_page.svelte-BdKbLK1W.js.map +1 -0
- package/build/server/chunks/{_page.svelte-C5Xngf9U.js → _page.svelte-DWKQDFXZ.js} +452 -240
- package/build/server/chunks/_page.svelte-DWKQDFXZ.js.map +1 -0
- package/build/server/chunks/{_server.ts-CFQ3_7g1.js → _server.ts-8OBR5eCA.js} +3 -2
- package/build/server/chunks/{_server.ts-CFQ3_7g1.js.map → _server.ts-8OBR5eCA.js.map} +1 -1
- package/build/server/chunks/_server.ts-B2LLvx6I.js +41 -0
- package/build/server/chunks/_server.ts-B2LLvx6I.js.map +1 -0
- package/build/server/chunks/{_server.ts-Bzg6xSYv.js → _server.ts-B4SnxrOX.js} +3 -2
- package/build/server/chunks/{_server.ts-Bzg6xSYv.js.map → _server.ts-B4SnxrOX.js.map} +1 -1
- package/build/server/chunks/{_server.ts-a85289si.js → _server.ts-B9gP-Tri.js} +7 -3
- package/build/server/chunks/_server.ts-B9gP-Tri.js.map +1 -0
- package/build/server/chunks/{_server.ts-IjEZJmtD.js → _server.ts-BQxGBeCg.js} +3 -2
- package/build/server/chunks/{_server.ts-IjEZJmtD.js.map → _server.ts-BQxGBeCg.js.map} +1 -1
- package/build/server/chunks/{_server.ts-CF7wNACi.js → _server.ts-Bcdjougg.js} +3 -2
- package/build/server/chunks/{_server.ts-CF7wNACi.js.map → _server.ts-Bcdjougg.js.map} +1 -1
- package/build/server/chunks/{_server.ts-CBabn3Le.js → _server.ts-BeWDhgJ_.js} +3 -2
- package/build/server/chunks/{_server.ts-CBabn3Le.js.map → _server.ts-BeWDhgJ_.js.map} +1 -1
- package/build/server/chunks/{_server.ts-bj28Awpj.js → _server.ts-CEGd9zNn.js} +3 -2
- package/build/server/chunks/_server.ts-CEGd9zNn.js.map +1 -0
- package/build/server/chunks/{_server.ts-QYg-pRKw.js → _server.ts-CMsFINkl.js} +3 -2
- package/build/server/chunks/{_server.ts-QYg-pRKw.js.map → _server.ts-CMsFINkl.js.map} +1 -1
- package/build/server/chunks/{_server.ts-BNGntgHD.js → _server.ts-CUginV8c.js} +7 -3
- package/build/server/chunks/_server.ts-CUginV8c.js.map +1 -0
- package/build/server/chunks/{_server.ts-DRy1BtKz.js → _server.ts-Crip_Csr.js} +3 -2
- package/build/server/chunks/{_server.ts-DRy1BtKz.js.map → _server.ts-Crip_Csr.js.map} +1 -1
- package/build/server/chunks/{_server.ts-C46vcb_V.js → _server.ts-CuAlKvWH.js} +3 -2
- package/build/server/chunks/{_server.ts-C46vcb_V.js.map → _server.ts-CuAlKvWH.js.map} +1 -1
- package/build/server/chunks/{_server.ts-msjVztXK.js → _server.ts-DfNIRtb5.js} +3 -2
- package/build/server/chunks/{_server.ts-msjVztXK.js.map → _server.ts-DfNIRtb5.js.map} +1 -1
- package/build/server/chunks/{_server.ts-CBCUnjeX.js → _server.ts-DnfpkUoI.js} +3 -2
- package/build/server/chunks/{_server.ts-CBCUnjeX.js.map → _server.ts-DnfpkUoI.js.map} +1 -1
- package/build/server/chunks/_server.ts-cVOhu8ub.js +26 -0
- package/build/server/chunks/_server.ts-cVOhu8ub.js.map +1 -0
- package/build/server/chunks/{_server.ts-Dtvv8PMc.js → _server.ts-dXxEqPlK.js} +3 -2
- package/build/server/chunks/{_server.ts-Dtvv8PMc.js.map → _server.ts-dXxEqPlK.js.map} +1 -1
- package/build/server/chunks/{error.svelte-C43AeaaJ.js → error.svelte-BNCG_dZH.js} +3 -3
- package/build/server/chunks/{error.svelte-C43AeaaJ.js.map → error.svelte-BNCG_dZH.js.map} +1 -1
- package/build/server/chunks/exports-BXvEiaiv.js.map +1 -1
- package/build/server/chunks/{index2-Da0doXJY.js → index-BEaiIYry.js} +388 -4
- package/build/server/chunks/index-BEaiIYry.js.map +1 -0
- package/build/server/chunks/index-CoD1IJuy.js.map +1 -1
- package/build/server/chunks/{index-DzYX9r1_.js → index2-ybZwlzIk.js} +110 -116
- package/build/server/chunks/index2-ybZwlzIk.js.map +1 -0
- package/build/server/chunks/{index3-DkgTDgY2.js → index3-D8wHvUHX.js} +781 -597
- package/build/server/chunks/index3-D8wHvUHX.js.map +1 -0
- package/build/server/chunks/{index4-BUZEWk-I.js → index4-B6vRxXfo.js} +2 -2
- package/build/server/chunks/index4-B6vRxXfo.js.map +1 -0
- package/build/server/chunks/shared-server-DaWdgxVh.js +11 -0
- package/build/server/chunks/shared-server-DaWdgxVh.js.map +1 -0
- package/build/server/index.js +115 -439
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +21 -21
- package/build/server/manifest.js.map +1 -1
- package/dist/cli.js +26 -1
- package/package.json +19 -18
- package/build/client/_app/immutable/assets/0.DYXbBCWs.css +0 -1
- package/build/client/_app/immutable/assets/0.DYXbBCWs.css.br +0 -0
- package/build/client/_app/immutable/assets/0.DYXbBCWs.css.gz +0 -0
- package/build/client/_app/immutable/chunks/CT0aV1AN.js +0 -90
- package/build/client/_app/immutable/chunks/CT0aV1AN.js.br +0 -0
- package/build/client/_app/immutable/chunks/CT0aV1AN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ck-YPZB6.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ck-YPZB6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dbjp-HdT.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dbjp-HdT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/HaThayHP.js +0 -1
- package/build/client/_app/immutable/chunks/HaThayHP.js.br +0 -0
- package/build/client/_app/immutable/chunks/HaThayHP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/fuY-CvTV.js +0 -1
- package/build/client/_app/immutable/chunks/fuY-CvTV.js.br +0 -0
- package/build/client/_app/immutable/chunks/fuY-CvTV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/nUq5tIUU.js +0 -2
- package/build/client/_app/immutable/chunks/nUq5tIUU.js.br +0 -0
- package/build/client/_app/immutable/chunks/nUq5tIUU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/pOdkXMWy.js.br +0 -0
- package/build/client/_app/immutable/chunks/pOdkXMWy.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.DMBaTVWt.js +0 -2
- package/build/client/_app/immutable/entry/app.DMBaTVWt.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DMBaTVWt.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.C3tcesOa.js +0 -1
- package/build/client/_app/immutable/entry/start.C3tcesOa.js.br +0 -2
- package/build/client/_app/immutable/entry/start.C3tcesOa.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.D4LDvqQb.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.D4LDvqQb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.5BEtqK67.js +0 -1
- package/build/client/_app/immutable/nodes/1.5BEtqK67.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.5BEtqK67.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.C-xl-nxy.js +0 -4
- package/build/client/_app/immutable/nodes/2.C-xl-nxy.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.C-xl-nxy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.BqDX5X09.js +0 -4
- package/build/client/_app/immutable/nodes/3.BqDX5X09.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.BqDX5X09.js.gz +0 -0
- package/build/server/chunks/0-DkD09WcK.js +0 -17
- package/build/server/chunks/1-CjtVgNYW.js +0 -9
- package/build/server/chunks/2-wstlfOP5.js +0 -9
- package/build/server/chunks/3-Cdn9_0OG.js +0 -9
- package/build/server/chunks/InputModal-XaplAR5y.js.map +0 -1
- package/build/server/chunks/Toast-ihrVamsT.js.map +0 -1
- package/build/server/chunks/_layout.svelte-COfbk473.js.map +0 -1
- package/build/server/chunks/_page.svelte-C5Xngf9U.js.map +0 -1
- package/build/server/chunks/_page.svelte-CKSi7jlX.js.map +0 -1
- package/build/server/chunks/_server.ts-BNGntgHD.js.map +0 -1
- package/build/server/chunks/_server.ts-BbeQOMoJ.js +0 -19
- package/build/server/chunks/_server.ts-BbeQOMoJ.js.map +0 -1
- package/build/server/chunks/_server.ts-CHX8x48n.js +0 -27
- package/build/server/chunks/_server.ts-CHX8x48n.js.map +0 -1
- package/build/server/chunks/_server.ts-a85289si.js.map +0 -1
- package/build/server/chunks/_server.ts-bj28Awpj.js.map +0 -1
- package/build/server/chunks/index-DzYX9r1_.js.map +0 -1
- package/build/server/chunks/index2-Da0doXJY.js.map +0 -1
- package/build/server/chunks/index3-DkgTDgY2.js.map +0 -1
- package/build/server/chunks/index4-BUZEWk-I.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3-
|
|
1
|
+
{"version":3,"file":"3-BHD2c0Ph.js","sources":["../../../.svelte-kit/adapter-node/nodes/3.js"],"sourcesContent":["\n\nexport const index = 3;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/session/_project_/_id_/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/3.CkQ0QnVZ.js\",\"_app/immutable/chunks/DOXVKi87.js\",\"_app/immutable/chunks/YXuXYbOb.js\",\"_app/immutable/chunks/B-Z9hXPk.js\",\"_app/immutable/chunks/Cr0eW1j3.js\",\"_app/immutable/chunks/Bt_HBaBk.js\",\"_app/immutable/chunks/BAHJNsIv.js\",\"_app/immutable/chunks/BUqdiQ8V.js\"];\nexport const stylesheets = [\"_app/immutable/assets/Toast.CQSY_S6M.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAyD,CAAC,EAAE;AACvH,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5S,MAAC,WAAW,GAAG,CAAC,0CAA0C;AAC1D,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { d as attr } from './index-BEaiIYry.js';
|
|
2
|
+
import { a1 as escape_html } from './index2-ybZwlzIk.js';
|
|
3
3
|
|
|
4
4
|
function InputModal($$renderer, $$props) {
|
|
5
5
|
$$renderer.component(($$renderer2) => {
|
|
@@ -33,4 +33,4 @@ function InputModal($$renderer, $$props) {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
export { InputModal as I };
|
|
36
|
-
//# sourceMappingURL=InputModal-
|
|
36
|
+
//# sourceMappingURL=InputModal-CbpiMXy3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputModal-CbpiMXy3.js","sources":["../../../.svelte-kit/adapter-node/chunks/InputModal.js"],"sourcesContent":["import { a as attr } from \"./index.js\";\nimport { _ as escape_html } from \"./context.js\";\nfunction InputModal($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n show,\n title,\n label = \"\",\n placeholder = \"\",\n initialValue = \"\",\n confirmText = \"Save\",\n cancelText = \"Cancel\",\n onConfirm,\n onCancel\n } = $$props;\n let inputValue = initialValue;\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\"><div class=\"bg-gh-bg-secondary border border-gh-border rounded-lg p-6 w-[400px] shadow-xl text-gh-text\"><h2 class=\"text-lg font-semibold mb-4\">${escape_html(title)}</h2> `);\n if (label) {\n $$renderer2.push(\"<!--[-->\");\n $$renderer2.push(`<label class=\"block text-sm text-gh-text-secondary mb-2\">${escape_html(label)}</label>`);\n } else {\n $$renderer2.push(\"<!--[!-->\");\n }\n $$renderer2.push(`<!--]--> <input${attr(\"value\", inputValue)} type=\"text\"${attr(\"placeholder\", placeholder)} class=\"w-full px-3 py-2 text-sm rounded-md border border-gh-border bg-gh-bg focus:outline-none focus:border-gh-accent\"/> <div class=\"flex gap-2 justify-end mt-6\"><button class=\"px-4 py-2 text-sm rounded-md border border-gh-border hover:bg-gh-border-subtle\">${escape_html(cancelText)}</button> <button class=\"px-4 py-2 text-sm rounded-md 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}\nexport {\n InputModal as I\n};\n"],"names":[],"mappings":";;;AAEA,SAAS,UAAU,CAAC,UAAU,EAAE,OAAO,EAAE;AACzC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,IAAI;AACR,MAAM,IAAI;AACV,MAAM,KAAK;AACX,MAAM,KAAK,GAAG,EAAE;AAChB,MAAM,WAAW,GAAG,EAAE;AACtB,MAAM,YAAY,GAAG,EAAE;AACvB,MAAM,WAAW,GAAG,MAAM;AAC1B,MAAM,UAAU,GAAG,QAAQ;AAC3B,MAAM,SAAS;AACf,MAAM;AACN,KAAK,GAAG,OAAO;AACf,IAAI,IAAI,UAAU,GAAG,YAAY;AACjC,IAAI,IAAI,IAAI,EAAE;AACd,MAAM,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC;AAClC,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,4PAA4P,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AACjT,MAAM,IAAI,KAAK,EAAE;AACjB,QAAQ,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC;AACpC,QAAQ,WAAW,CAAC,IAAI,CAAC,CAAC,yDAAyD,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC;AAClH,MAAM,CAAC,MAAM;AACb,QAAQ,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC;AACrC,MAAM;AACN,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,IAAI,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC,kQAAkQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC,iGAAiG,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC,2BAA2B,CAAC,CAAC;AACviB,IAAI,CAAC,MAAM;AACX,MAAM,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC;AACnC,IAAI;AACJ,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;AAChC,EAAE,CAAC,CAAC;AACJ;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { f as attr_class, j as stringify, q as bind_props } from './index-BEaiIYry.js';
|
|
2
|
+
import { a1 as escape_html, a7 as ssr_context, a0 as writable, a8 as get, a9 as derived } from './index2-ybZwlzIk.js';
|
|
3
3
|
import { marked } from 'marked';
|
|
4
|
-
import {
|
|
4
|
+
import { x as maskHomePath$1 } from './index3-D8wHvUHX.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-Dr8M-5Wk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast-Dr8M-5Wk.js","sources":["../../../.svelte-kit/adapter-node/chunks/Toast.js"],"sourcesContent":["import { b 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 { x 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\"><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,EA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AACf,KAAK;AACL,IAAI,SAAS,CAAC,MAAM;AACpB,IAAI,CAAC,CAAC;AACN,IAAI,IAAI,OAAO,EAAE;AACjB,MAAM,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC;AAClC,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,gIAAgI,EAAE,SAAS,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,yGAAyG,CAAC,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,15 +1,16 @@
|
|
|
1
|
-
import { h as head,
|
|
1
|
+
import { h as head, d as attr, f as attr_class, j as stringify } from './index-BEaiIYry.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 './index3-
|
|
6
|
-
import {
|
|
3
|
+
import { p as page } from './index4-B6vRxXfo.js';
|
|
4
|
+
import { C as ConfirmModal, T as Toast } from './Toast-Dr8M-5Wk.js';
|
|
5
|
+
import './index3-D8wHvUHX.js';
|
|
6
|
+
import { a1 as escape_html } from './index2-ybZwlzIk.js';
|
|
7
7
|
import 'marked';
|
|
8
8
|
import 'fs';
|
|
9
9
|
import 'os';
|
|
10
10
|
import 'path';
|
|
11
11
|
import 'effect';
|
|
12
12
|
import 'fs/promises';
|
|
13
|
+
import 'crypto';
|
|
13
14
|
|
|
14
15
|
function _layout($$renderer, $$props) {
|
|
15
16
|
$$renderer.component(($$renderer2) => {
|
|
@@ -102,4 +103,4 @@ function _layout($$renderer, $$props) {
|
|
|
102
103
|
}
|
|
103
104
|
|
|
104
105
|
export { _layout as default };
|
|
105
|
-
//# sourceMappingURL=_layout.svelte-
|
|
106
|
+
//# sourceMappingURL=_layout.svelte-CkIsNl4s.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_layout.svelte-CkIsNl4s.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/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 \"../../chunks/index3.js\";\nimport { _ 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,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,IAAI,EAAE,QAAQ,EAAE,GAAG,OAAO;AAC9B,IAAI,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC;AACnE,IAAI,MAAM,kBAAkB,GAAG,CAAC,MAAM;AACtC,MAAM,IAAI,CAAC,aAAa,EAAE,OAAO,IAAI;AACrC,MAAM,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,8BAA8B,CAAC;AAC3E,MAAM,IAAI,CAAC,KAAK,EAAE,OAAO,IAAI;AAC7B,MAAM,OAAO;AACb,QAAQ,WAAW,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACjD,QAAQ,SAAS,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC;A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Y,CAAC,KAAK;AACjC,QAAQ,OAAO,EAAE,YAAY,CAAC,OAAO;AACrC,QAAQ,OAAO,EAAE,YAAY,CAAC,OAAO;AACrC,QAAQ,SAAS,EAAE,YAAY,CAAC,SAAS;AACzC,QAAQ,QAAQ,EAAE;AAClB,OAAO,CAAC;AACR,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;AAClC,MAAM,KAAK,CAAC,WAAW,EAAE;AACzB,QAAQ,OAAO,EAAE,YAAY;AAC7B,QAAQ,IAAI,OAAO,GAAG;AACtB,UAAU,OAAO,YAAY;AAC7B,QAAQ,CAAC;AACT,QAAQ,IAAI,OAAO,CAAC,OAAO,EAAE;AAC7B,UAAU,YAAY,GAAG,OAAO;AAChC,UAAU,SAAS,GAAG,KAAK;AAC3B,QAAQ;AACR,OAAO,CAAC;AACR,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC;AACjC,IAAI;AACJ,IAAI,GAAG;AACP,MAAM,SAAS,GAAG,IAAI;AACtB,MAAM,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,9 +1,9 @@
|
|
|
1
|
-
import { h as head } from './
|
|
2
|
-
import { p as page } from './index4-
|
|
3
|
-
import { T as Toast, C as ConfirmModal } from './Toast-
|
|
4
|
-
import { I as InputModal } from './InputModal-
|
|
5
|
-
import './index3-
|
|
6
|
-
import {
|
|
1
|
+
import { h as head } from './index-BEaiIYry.js';
|
|
2
|
+
import { p as page } from './index4-B6vRxXfo.js';
|
|
3
|
+
import { T as Toast, C as ConfirmModal } from './Toast-Dr8M-5Wk.js';
|
|
4
|
+
import { I as InputModal } from './InputModal-CbpiMXy3.js';
|
|
5
|
+
import './index3-D8wHvUHX.js';
|
|
6
|
+
import { a1 as escape_html } from './index2-ybZwlzIk.js';
|
|
7
7
|
import './exports-BXvEiaiv.js';
|
|
8
8
|
import 'marked';
|
|
9
9
|
import 'fs';
|
|
@@ -11,6 +11,7 @@ import 'os';
|
|
|
11
11
|
import 'path';
|
|
12
12
|
import 'effect';
|
|
13
13
|
import 'fs/promises';
|
|
14
|
+
import 'crypto';
|
|
14
15
|
|
|
15
16
|
function _page($$renderer, $$props) {
|
|
16
17
|
$$renderer.component(($$renderer2) => {
|
|
@@ -93,4 +94,4 @@ function _page($$renderer, $$props) {
|
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
export { _page as default };
|
|
96
|
-
//# sourceMappingURL=_page.svelte-
|
|
97
|
+
//# sourceMappingURL=_page.svelte-BdKbLK1W.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_page.svelte-BdKbLK1W.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/session/_project_/_id_/_page.svelte.js"],"sourcesContent":["import { h as head } from \"../../../../../chunks/index.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 { _ 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,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,IAAI,KAAK,GAAG,IAAI;AACpB,IAAI,IAAI,YAAY,GAAG;AACvB,MAAM,IAAI,EAAE,KAAK;AACjB,MAAM,KAAK,EAAE,EAAE;AACf,MAAM,OAAO,EAAE,EAAE;AACjB,MAAM,OAAO,EAAE,SAAS;AACxB,MAAM,SAAS,EAAE,MAAM;AACvB,MAAM;AACN,KAAK;AACL,IAAI,IAAI,UAAU,GAAG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