@claude-sessions/web 0.3.3 → 0.3.5

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.
Files changed (147) hide show
  1. package/README.md +51 -0
  2. package/build/client/_app/immutable/assets/0.DYXbBCWs.css +1 -0
  3. package/build/client/_app/immutable/assets/0.DYXbBCWs.css.br +0 -0
  4. package/build/client/_app/immutable/assets/0.DYXbBCWs.css.gz +0 -0
  5. package/build/client/_app/immutable/chunks/{CzuOkoRV.js → BdX-57is.js} +1 -1
  6. package/build/client/_app/immutable/chunks/BdX-57is.js.br +0 -0
  7. package/build/client/_app/immutable/chunks/BdX-57is.js.gz +0 -0
  8. package/build/client/_app/immutable/chunks/BsiXkKmR.js +1 -0
  9. package/build/client/_app/immutable/chunks/BsiXkKmR.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/BsiXkKmR.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/C68Ru4Jq.js +90 -0
  12. package/build/client/_app/immutable/chunks/C68Ru4Jq.js.br +0 -0
  13. package/build/client/_app/immutable/chunks/C68Ru4Jq.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/{HouQR_BO.js → HaThayHP.js} +1 -1
  15. package/build/client/_app/immutable/chunks/HaThayHP.js.br +0 -0
  16. package/build/client/_app/immutable/chunks/HaThayHP.js.gz +0 -0
  17. package/build/client/_app/immutable/chunks/fuY-CvTV.js +1 -0
  18. package/build/client/_app/immutable/chunks/fuY-CvTV.js.br +0 -0
  19. package/build/client/_app/immutable/chunks/fuY-CvTV.js.gz +0 -0
  20. package/build/client/_app/immutable/chunks/nUq5tIUU.js +2 -0
  21. package/build/client/_app/immutable/chunks/nUq5tIUU.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/nUq5tIUU.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/pOdkXMWy.js +1 -0
  24. package/build/client/_app/immutable/chunks/pOdkXMWy.js.br +0 -0
  25. package/build/client/_app/immutable/chunks/pOdkXMWy.js.gz +0 -0
  26. package/build/client/_app/immutable/entry/app.qHc_uqht.js +2 -0
  27. package/build/client/_app/immutable/entry/app.qHc_uqht.js.br +0 -0
  28. package/build/client/_app/immutable/entry/app.qHc_uqht.js.gz +0 -0
  29. package/build/client/_app/immutable/entry/start.CMr0TC12.js +1 -0
  30. package/build/client/_app/immutable/entry/start.CMr0TC12.js.br +2 -0
  31. package/build/client/_app/immutable/entry/start.CMr0TC12.js.gz +0 -0
  32. package/build/client/_app/immutable/nodes/0.BJ_w-1Nt.js +1 -0
  33. package/build/client/_app/immutable/nodes/0.BJ_w-1Nt.js.br +0 -0
  34. package/build/client/_app/immutable/nodes/0.BJ_w-1Nt.js.gz +0 -0
  35. package/build/client/_app/immutable/nodes/1._FRxD68P.js +1 -0
  36. package/build/client/_app/immutable/nodes/1._FRxD68P.js.br +0 -0
  37. package/build/client/_app/immutable/nodes/1._FRxD68P.js.gz +0 -0
  38. package/build/client/_app/immutable/nodes/2.MZuWFdHT.js +4 -0
  39. package/build/client/_app/immutable/nodes/2.MZuWFdHT.js.br +0 -0
  40. package/build/client/_app/immutable/nodes/2.MZuWFdHT.js.gz +0 -0
  41. package/build/client/_app/immutable/nodes/3.B_st5yrl.js +4 -0
  42. package/build/client/_app/immutable/nodes/3.B_st5yrl.js.br +0 -0
  43. package/build/client/_app/immutable/nodes/3.B_st5yrl.js.gz +0 -0
  44. package/build/client/_app/version.json +1 -1
  45. package/build/client/_app/version.json.br +0 -0
  46. package/build/client/_app/version.json.gz +0 -0
  47. package/build/server/chunks/0-48UfwAoW.js +17 -0
  48. package/build/server/chunks/0-48UfwAoW.js.map +1 -0
  49. package/build/server/chunks/1-iKu9xlG-.js +9 -0
  50. package/build/server/chunks/{1-NzhdkXbT.js.map → 1-iKu9xlG-.js.map} +1 -1
  51. package/build/server/chunks/2-BnOskmnU.js +9 -0
  52. package/build/server/chunks/2-BnOskmnU.js.map +1 -0
  53. package/build/server/chunks/3-CxYJayeh.js +9 -0
  54. package/build/server/chunks/3-CxYJayeh.js.map +1 -0
  55. package/build/server/chunks/InputModal-XaplAR5y.js +36 -0
  56. package/build/server/chunks/InputModal-XaplAR5y.js.map +1 -0
  57. package/build/server/chunks/Toast-DctHqvip.js +80 -0
  58. package/build/server/chunks/Toast-DctHqvip.js.map +1 -0
  59. package/build/server/chunks/_layout.svelte-gA6iNIQM.js +105 -0
  60. package/build/server/chunks/_layout.svelte-gA6iNIQM.js.map +1 -0
  61. package/build/server/chunks/_page.svelte-CTdF2hwa.js +96 -0
  62. package/build/server/chunks/_page.svelte-CTdF2hwa.js.map +1 -0
  63. package/build/server/chunks/{_page.svelte-Bgd-L7N_.js → _page.svelte-g3nbsvo6.js} +612 -463
  64. package/build/server/chunks/_page.svelte-g3nbsvo6.js.map +1 -0
  65. package/build/server/chunks/{_server.ts-DZQssvoI.js → _server.ts-CDkvpI_I.js} +2 -2
  66. package/build/server/chunks/{_server.ts-DZQssvoI.js.map → _server.ts-CDkvpI_I.js.map} +1 -1
  67. package/build/server/chunks/{error.svelte-DNhMU_b6.js → error.svelte-C43AeaaJ.js} +4 -4
  68. package/build/server/chunks/{error.svelte-DNhMU_b6.js.map → error.svelte-C43AeaaJ.js.map} +1 -1
  69. package/build/server/chunks/{exports-CgQJUv15.js → exports-BXvEiaiv.js} +6 -6
  70. package/build/server/chunks/exports-BXvEiaiv.js.map +1 -0
  71. package/build/server/chunks/index-CoD1IJuy.js.map +1 -1
  72. package/build/server/chunks/{index-CMS8WiSi.js → index-DzYX9r1_.js} +4 -4
  73. package/build/server/chunks/index-DzYX9r1_.js.map +1 -0
  74. package/build/server/chunks/{index2-gtN4acH3.js → index2-Da0doXJY.js} +2 -2
  75. package/build/server/chunks/{index2-gtN4acH3.js.map → index2-Da0doXJY.js.map} +1 -1
  76. package/build/server/chunks/{index4-Cm9gf6zG.js → index4-BUZEWk-I.js} +3 -3
  77. package/build/server/chunks/{index4-Cm9gf6zG.js.map → index4-BUZEWk-I.js.map} +1 -1
  78. package/build/server/index.js +5 -11
  79. package/build/server/index.js.map +1 -1
  80. package/build/server/manifest.js +6 -6
  81. package/build/server/manifest.js.map +1 -1
  82. package/package.json +24 -11
  83. package/build/client/_app/immutable/assets/0.B2yA_bPQ.css +0 -1
  84. package/build/client/_app/immutable/assets/0.B2yA_bPQ.css.br +0 -0
  85. package/build/client/_app/immutable/assets/0.B2yA_bPQ.css.gz +0 -0
  86. package/build/client/_app/immutable/chunks/Bapp9IYO.js +0 -1
  87. package/build/client/_app/immutable/chunks/Bapp9IYO.js.br +0 -0
  88. package/build/client/_app/immutable/chunks/Bapp9IYO.js.gz +0 -0
  89. package/build/client/_app/immutable/chunks/BzTxzCCu.js +0 -1
  90. package/build/client/_app/immutable/chunks/BzTxzCCu.js.br +0 -0
  91. package/build/client/_app/immutable/chunks/BzTxzCCu.js.gz +0 -0
  92. package/build/client/_app/immutable/chunks/CUTXPORg.js +0 -1
  93. package/build/client/_app/immutable/chunks/CUTXPORg.js.br +0 -0
  94. package/build/client/_app/immutable/chunks/CUTXPORg.js.gz +0 -0
  95. package/build/client/_app/immutable/chunks/CzuOkoRV.js.br +0 -0
  96. package/build/client/_app/immutable/chunks/CzuOkoRV.js.gz +0 -0
  97. package/build/client/_app/immutable/chunks/DHCLGQT_.js +0 -1
  98. package/build/client/_app/immutable/chunks/DHCLGQT_.js.br +0 -0
  99. package/build/client/_app/immutable/chunks/DHCLGQT_.js.gz +0 -0
  100. package/build/client/_app/immutable/chunks/DUNnSDh5.js +0 -66
  101. package/build/client/_app/immutable/chunks/DUNnSDh5.js.br +0 -0
  102. package/build/client/_app/immutable/chunks/DUNnSDh5.js.gz +0 -0
  103. package/build/client/_app/immutable/chunks/Di6YbRZt.js +0 -2
  104. package/build/client/_app/immutable/chunks/Di6YbRZt.js.br +0 -0
  105. package/build/client/_app/immutable/chunks/Di6YbRZt.js.gz +0 -0
  106. package/build/client/_app/immutable/chunks/HouQR_BO.js.br +0 -0
  107. package/build/client/_app/immutable/chunks/HouQR_BO.js.gz +0 -0
  108. package/build/client/_app/immutable/chunks/IVrlObbe.js +0 -25
  109. package/build/client/_app/immutable/chunks/IVrlObbe.js.br +0 -0
  110. package/build/client/_app/immutable/chunks/IVrlObbe.js.gz +0 -0
  111. package/build/client/_app/immutable/entry/app.Dj3HhwA8.js +0 -2
  112. package/build/client/_app/immutable/entry/app.Dj3HhwA8.js.br +0 -0
  113. package/build/client/_app/immutable/entry/app.Dj3HhwA8.js.gz +0 -0
  114. package/build/client/_app/immutable/entry/start.DhjCZi9N.js +0 -1
  115. package/build/client/_app/immutable/entry/start.DhjCZi9N.js.br +0 -2
  116. package/build/client/_app/immutable/entry/start.DhjCZi9N.js.gz +0 -0
  117. package/build/client/_app/immutable/nodes/0.CAbelkQT.js +0 -1
  118. package/build/client/_app/immutable/nodes/0.CAbelkQT.js.br +0 -0
  119. package/build/client/_app/immutable/nodes/0.CAbelkQT.js.gz +0 -0
  120. package/build/client/_app/immutable/nodes/1.DYaH4O8k.js +0 -1
  121. package/build/client/_app/immutable/nodes/1.DYaH4O8k.js.br +0 -0
  122. package/build/client/_app/immutable/nodes/1.DYaH4O8k.js.gz +0 -0
  123. package/build/client/_app/immutable/nodes/2.VvV6w9cZ.js +0 -5
  124. package/build/client/_app/immutable/nodes/2.VvV6w9cZ.js.br +0 -0
  125. package/build/client/_app/immutable/nodes/2.VvV6w9cZ.js.gz +0 -0
  126. package/build/client/_app/immutable/nodes/3.D_uYLiIh.js +0 -4
  127. package/build/client/_app/immutable/nodes/3.D_uYLiIh.js.br +0 -0
  128. package/build/client/_app/immutable/nodes/3.D_uYLiIh.js.gz +0 -0
  129. package/build/server/chunks/0-CWHakFRJ.js +0 -17
  130. package/build/server/chunks/0-CWHakFRJ.js.map +0 -1
  131. package/build/server/chunks/1-NzhdkXbT.js +0 -9
  132. package/build/server/chunks/2-DrysGJ9C.js +0 -9
  133. package/build/server/chunks/2-DrysGJ9C.js.map +0 -1
  134. package/build/server/chunks/3-D4BIPCPc.js +0 -9
  135. package/build/server/chunks/3-D4BIPCPc.js.map +0 -1
  136. package/build/server/chunks/Toast-CTZhGpnd.js +0 -45
  137. package/build/server/chunks/Toast-CTZhGpnd.js.map +0 -1
  138. package/build/server/chunks/_layout.svelte-D9DyGgZM.js +0 -61
  139. package/build/server/chunks/_layout.svelte-D9DyGgZM.js.map +0 -1
  140. package/build/server/chunks/_page.svelte-Bgd-L7N_.js.map +0 -1
  141. package/build/server/chunks/_page.svelte-C7sseaTW.js +0 -56
  142. package/build/server/chunks/_page.svelte-C7sseaTW.js.map +0 -1
  143. package/build/server/chunks/config-DKyxRWWg.js +0 -20
  144. package/build/server/chunks/config-DKyxRWWg.js.map +0 -1
  145. package/build/server/chunks/exports-CgQJUv15.js.map +0 -1
  146. package/build/server/chunks/index-CMS8WiSi.js.map +0 -1
  147. package/readme.md +0 -47
@@ -0,0 +1,105 @@
1
+ import { h as head, a as attr, b as attr_class, s as stringify } from './index2-Da0doXJY.js';
2
+ import './exports-BXvEiaiv.js';
3
+ import { p as page } from './index4-BUZEWk-I.js';
4
+ import { C as ConfirmModal, T as Toast } from './Toast-DctHqvip.js';
5
+ import './index3-DVZVsHMK.js';
6
+ import { Y as escape_html } from './index-DzYX9r1_.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-gA6iNIQM.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_layout.svelte-gA6iNIQM.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,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;AAC9C,OAAO;AACP,IAAI,CAAC,GAAG;AACR,IAAI,IAAI,QAAQ,GAAG,KAAK;AACxB,IAAI,IAAI,YAAY,GAAG,KAAK;AAC5B,IAAI,IAAI,YAAY,GAAG,IAAI;AAC3B,IAAI,IAAI,YAAY,GAAG,MAAM;AAC7B,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,MAAM,YAAY,GAAG,MAAM;AAC/B,M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,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;;;;"}
@@ -0,0 +1,96 @@
1
+ import { h as head } from './index2-Da0doXJY.js';
2
+ import { p as page } from './index4-BUZEWk-I.js';
3
+ import { T as Toast, C as ConfirmModal } from './Toast-DctHqvip.js';
4
+ import { I as InputModal } from './InputModal-XaplAR5y.js';
5
+ import './index3-DVZVsHMK.js';
6
+ import { Y as escape_html } from './index-DzYX9r1_.js';
7
+ import './exports-BXvEiaiv.js';
8
+ import 'marked';
9
+ import 'fs';
10
+ import 'os';
11
+ import 'path';
12
+ import 'effect';
13
+ import 'fs/promises';
14
+
15
+ function _page($$renderer, $$props) {
16
+ $$renderer.component(($$renderer2) => {
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
+ };
40
+ decodeURIComponent(page.params.project ?? "");
41
+ decodeURIComponent(page.params.id ?? "");
42
+ const displayTitle = "Untitled";
43
+ let $$settled = true;
44
+ let $$inner_renderer;
45
+ function $$render_inner($$renderer3) {
46
+ head("ik3mmh", $$renderer3, ($$renderer4) => {
47
+ $$renderer4.title(($$renderer5) => {
48
+ $$renderer5.push(`<title>${escape_html(displayTitle)} - Claude Sessions</title>`);
49
+ });
50
+ });
51
+ $$renderer3.push(`<div class="h-screen bg-gh-bg">`);
52
+ {
53
+ $$renderer3.push("<!--[-->");
54
+ $$renderer3.push(`<div class="flex items-center justify-center h-full"><div class="text-gh-muted">Loading...</div></div>`);
55
+ }
56
+ $$renderer3.push(`<!--]--></div> `);
57
+ Toast($$renderer3, {
58
+ get message() {
59
+ return toast;
60
+ },
61
+ set message($$value) {
62
+ toast = $$value;
63
+ $$settled = false;
64
+ }
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
+ });
84
+ $$renderer3.push(`<!---->`);
85
+ }
86
+ do {
87
+ $$settled = true;
88
+ $$inner_renderer = $$renderer2.copy();
89
+ $$render_inner($$inner_renderer);
90
+ } while (!$$settled);
91
+ $$renderer2.subsume($$inner_renderer);
92
+ });
93
+ }
94
+
95
+ export { _page as default };
96
+ //# sourceMappingURL=_page.svelte-CTdF2hwa.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_page.svelte-CTdF2hwa.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,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;AACrB,MAAM,IAAI,EAAE,KAAK;AACjB,MAAM,KAAK,EAAE,EAAE;AACf,MAAM,KAAK,EAAE,EAAE;AACf,MAAM,YAAY,EAAE,EAAE;AACtB,MAAM,SAAS,EAAE,MAAM;AACvB,MAAM;AACN,KAAK;AACL,IAAI,MAAM,YAAY,GAAG,MAAM;AAC/B,MAAM,YAAY,GAAG,EAAE,GAAG,YAAY,EAAE,IAAI,EAAE,KAAK,EAAE;AACrD,IAAI,CAAC;AACL,IAAI,MAAM,UAAU,GAAG,MAAM;AAC7B,MAAM,UAAU,GAAG,EAAE,GAAG,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE;AACjD,IAAI,CAAC;AACL,IAAI,kBAAkB,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,IAAI,EAAE,CAAC;AACjD,IAAI,kBAAkB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC;AAC5C,IAAI,MAAM,YAAY,GAAG,UAAU;AACnC,IAAI,IAAI,SAAS,GAAG,IAAI;AACxB,IAAI,IAAI,gBAAgB;AACxB,IAAI,SAAS,cAAc,CAAC,WAAW,EAAE;AACzC,MAAM,IAAI,CAAC,QAA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