@claude-sessions/web 0.4.6-beta.2 → 0.4.6

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 (174) hide show
  1. package/build/client/_app/immutable/assets/0.cQgYior5.css +1 -0
  2. package/build/client/_app/immutable/assets/0.cQgYior5.css.br +0 -0
  3. package/build/client/_app/immutable/assets/0.cQgYior5.css.gz +0 -0
  4. package/build/client/_app/immutable/assets/Toast.BpcxWUYz.css.gz +0 -0
  5. package/build/client/_app/immutable/chunks/B8g5xi4b.js +1 -0
  6. package/build/client/_app/immutable/chunks/B8g5xi4b.js.br +0 -0
  7. package/build/client/_app/immutable/chunks/B8g5xi4b.js.gz +0 -0
  8. package/build/client/_app/immutable/chunks/CG99hqDQ.js +2 -0
  9. package/build/client/_app/immutable/chunks/CG99hqDQ.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/CG99hqDQ.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/CiIZzKcO.js +1 -0
  12. package/build/client/_app/immutable/chunks/CiIZzKcO.js.br +0 -0
  13. package/build/client/_app/immutable/chunks/CiIZzKcO.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/{B4jA3VLS.js → DDmWtjsj.js} +1 -1
  15. package/build/client/_app/immutable/chunks/DDmWtjsj.js.br +0 -0
  16. package/build/client/_app/immutable/chunks/DDmWtjsj.js.gz +0 -0
  17. package/build/client/_app/immutable/chunks/DWa7QuMS.js +1 -0
  18. package/build/client/_app/immutable/chunks/DWa7QuMS.js.br +0 -0
  19. package/build/client/_app/immutable/chunks/DWa7QuMS.js.gz +0 -0
  20. package/build/client/_app/immutable/chunks/Dw50LpzA.js +1 -0
  21. package/build/client/_app/immutable/chunks/Dw50LpzA.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/Dw50LpzA.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/aZi3OCpL.js +96 -0
  24. package/build/client/_app/immutable/chunks/aZi3OCpL.js.br +0 -0
  25. package/build/client/_app/immutable/chunks/aZi3OCpL.js.gz +0 -0
  26. package/build/client/_app/immutable/entry/app.CYY1PZCN.js +2 -0
  27. package/build/client/_app/immutable/entry/app.CYY1PZCN.js.br +0 -0
  28. package/build/client/_app/immutable/entry/app.CYY1PZCN.js.gz +0 -0
  29. package/build/client/_app/immutable/entry/start.D84fuMw9.js +1 -0
  30. package/build/client/_app/immutable/entry/start.D84fuMw9.js.br +2 -0
  31. package/build/client/_app/immutable/entry/start.D84fuMw9.js.gz +0 -0
  32. package/build/client/_app/immutable/nodes/0.B2uv-WBM.js +1 -0
  33. package/build/client/_app/immutable/nodes/0.B2uv-WBM.js.br +0 -0
  34. package/build/client/_app/immutable/nodes/0.B2uv-WBM.js.gz +0 -0
  35. package/build/client/_app/immutable/nodes/1.BoxEAqK6.js +1 -0
  36. package/build/client/_app/immutable/nodes/1.BoxEAqK6.js.br +3 -0
  37. package/build/client/_app/immutable/nodes/1.BoxEAqK6.js.gz +0 -0
  38. package/build/client/_app/immutable/nodes/{2.UjUuJUYA.js → 2.mKAMmHlh.js} +1 -1
  39. package/build/client/_app/immutable/nodes/2.mKAMmHlh.js.br +0 -0
  40. package/build/client/_app/immutable/nodes/2.mKAMmHlh.js.gz +0 -0
  41. package/build/client/_app/immutable/nodes/3.Dj8iwfME.js +4 -0
  42. package/build/client/_app/immutable/nodes/3.Dj8iwfME.js.br +0 -0
  43. package/build/client/_app/immutable/nodes/3.Dj8iwfME.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/handler.js +290 -228
  48. package/build/server/chunks/0-DChhR3gd.js +17 -0
  49. package/build/server/chunks/{0-DJQ9yHD-.js.map → 0-DChhR3gd.js.map} +1 -1
  50. package/build/server/chunks/1-BBSPd3nB.js +9 -0
  51. package/build/server/chunks/{1-0fAAqH6q.js.map → 1-BBSPd3nB.js.map} +1 -1
  52. package/build/server/chunks/2-C20RW_lJ.js +9 -0
  53. package/build/server/chunks/{2-C3kTHFPu.js.map → 2-C20RW_lJ.js.map} +1 -1
  54. package/build/server/chunks/3-D3wL2YSE.js +9 -0
  55. package/build/server/chunks/{3-DViOURTs.js.map → 3-D3wL2YSE.js.map} +1 -1
  56. package/build/server/chunks/{InputModal-Bo_3Ym8j.js → InputModal-1qJGryUa.js} +6 -7
  57. package/build/server/chunks/InputModal-1qJGryUa.js.map +1 -0
  58. package/build/server/chunks/{Toast-Bd3XGXXC.js → Toast-C9b_dWm4.js} +7 -8
  59. package/build/server/chunks/Toast-C9b_dWm4.js.map +1 -0
  60. package/build/server/chunks/{_layout.svelte-BvleGV6e.js → _layout.svelte-CdDMC1RI.js} +25 -29
  61. package/build/server/chunks/_layout.svelte-CdDMC1RI.js.map +1 -0
  62. package/build/server/chunks/{_page.svelte-CWnsm7d3.js → _page.svelte-CVL9fjg-.js} +10 -13
  63. package/build/server/chunks/_page.svelte-CVL9fjg-.js.map +1 -0
  64. package/build/server/chunks/{_page.svelte-C1-T5LLg.js → _page.svelte-Dx2ikKP_.js} +451 -497
  65. package/build/server/chunks/_page.svelte-Dx2ikKP_.js.map +1 -0
  66. package/build/server/chunks/{_server.ts-CjqbXM-Y.js → _server.ts-B3M-jxF5.js} +2 -2
  67. package/build/server/chunks/{_server.ts-CjqbXM-Y.js.map → _server.ts-B3M-jxF5.js.map} +1 -1
  68. package/build/server/chunks/{_server.ts-CKsrouac.js → _server.ts-BCOHCAjW.js} +2 -2
  69. package/build/server/chunks/{_server.ts-CKsrouac.js.map → _server.ts-BCOHCAjW.js.map} +1 -1
  70. package/build/server/chunks/{_server.ts-BeYJJW16.js → _server.ts-BGA9W8aM.js} +2 -2
  71. package/build/server/chunks/{_server.ts-BeYJJW16.js.map → _server.ts-BGA9W8aM.js.map} +1 -1
  72. package/build/server/chunks/{_server.ts-CsiQMtcc.js → _server.ts-BWxgSwZN.js} +2 -2
  73. package/build/server/chunks/{_server.ts-CsiQMtcc.js.map → _server.ts-BWxgSwZN.js.map} +1 -1
  74. package/build/server/chunks/{_server.ts-BP2cDreo.js → _server.ts-C0mKXnG1.js} +2 -2
  75. package/build/server/chunks/{_server.ts-BP2cDreo.js.map → _server.ts-C0mKXnG1.js.map} +1 -1
  76. package/build/server/chunks/{_server.ts-DU5J1Z8u.js → _server.ts-C9GYaVf1.js} +3 -3
  77. package/build/server/chunks/{_server.ts-DU5J1Z8u.js.map → _server.ts-C9GYaVf1.js.map} +1 -1
  78. package/build/server/chunks/{_server.ts-vcWTIQsw.js → _server.ts-COPvamIQ.js} +2 -2
  79. package/build/server/chunks/{_server.ts-vcWTIQsw.js.map → _server.ts-COPvamIQ.js.map} +1 -1
  80. package/build/server/chunks/{_server.ts-BC_LO1Mo.js → _server.ts-CrKc6LEy.js} +2 -2
  81. package/build/server/chunks/{_server.ts-BC_LO1Mo.js.map → _server.ts-CrKc6LEy.js.map} +1 -1
  82. package/build/server/chunks/{_server.ts-BAppHpQz.js → _server.ts-DOSGEHuw.js} +2 -2
  83. package/build/server/chunks/{_server.ts-BAppHpQz.js.map → _server.ts-DOSGEHuw.js.map} +1 -1
  84. package/build/server/chunks/{_server.ts-D7CP1EUi.js → _server.ts-DP0i5Bdl.js} +2 -2
  85. package/build/server/chunks/{_server.ts-D7CP1EUi.js.map → _server.ts-DP0i5Bdl.js.map} +1 -1
  86. package/build/server/chunks/{_server.ts-D-UcueSG.js → _server.ts-DmN9rdOH.js} +3 -3
  87. package/build/server/chunks/{_server.ts-D-UcueSG.js.map → _server.ts-DmN9rdOH.js.map} +1 -1
  88. package/build/server/chunks/{_server.ts-BjQjT0Ng.js → _server.ts-DmWsoikX.js} +2 -2
  89. package/build/server/chunks/{_server.ts-BjQjT0Ng.js.map → _server.ts-DmWsoikX.js.map} +1 -1
  90. package/build/server/chunks/{_server.ts-D9g_mUy6.js → _server.ts-F01KLghS.js} +2 -2
  91. package/build/server/chunks/{_server.ts-D9g_mUy6.js.map → _server.ts-F01KLghS.js.map} +1 -1
  92. package/build/server/chunks/{_server.ts-CYmVizOg.js → _server.ts-QLTE_2dV.js} +2 -2
  93. package/build/server/chunks/{_server.ts-CYmVizOg.js.map → _server.ts-QLTE_2dV.js.map} +1 -1
  94. package/build/server/chunks/{_server.ts-PJQyhLdS.js → _server.ts-WZF_VFnZ.js} +2 -2
  95. package/build/server/chunks/{_server.ts-PJQyhLdS.js.map → _server.ts-WZF_VFnZ.js.map} +1 -1
  96. package/build/server/chunks/{_server.ts-CZ9tt8rA.js → _server.ts-rTWeIoSC.js} +3 -3
  97. package/build/server/chunks/{_server.ts-CZ9tt8rA.js.map → _server.ts-rTWeIoSC.js.map} +1 -1
  98. package/build/server/chunks/{index4-BmUt-fl5.js → client-BtcIwznP.js} +3 -23
  99. package/build/server/chunks/client-BtcIwznP.js.map +1 -0
  100. package/build/server/chunks/{error.svelte-DhuTv3Mg.js → error.svelte-B02-pvoO.js} +5 -4
  101. package/build/server/chunks/error.svelte-B02-pvoO.js.map +1 -0
  102. package/build/server/chunks/index-CoD1IJuy.js.map +1 -1
  103. package/build/server/chunks/index2-B2Ld-FFX.js +3575 -0
  104. package/build/server/chunks/index2-B2Ld-FFX.js.map +1 -0
  105. package/build/server/chunks/{index3-Dje3vfFw.js → index3-DNyQGNm8.js} +2 -2
  106. package/build/server/chunks/{index3-Dje3vfFw.js.map → index3-DNyQGNm8.js.map} +1 -1
  107. package/build/server/chunks/index4-CfOR2iO6.js +21 -0
  108. package/build/server/chunks/index4-CfOR2iO6.js.map +1 -0
  109. package/build/server/chunks/root-B5iYE7yO.js +1182 -0
  110. package/build/server/chunks/root-B5iYE7yO.js.map +1 -0
  111. package/build/server/chunks/{session-B5yQnNDv.js → session-Dxp1vf6f.js} +2 -2
  112. package/build/server/chunks/{session-B5yQnNDv.js.map → session-Dxp1vf6f.js.map} +1 -1
  113. package/build/server/index.js +702 -1410
  114. package/build/server/index.js.map +1 -1
  115. package/build/server/manifest.js +21 -21
  116. package/build/server/manifest.js.map +1 -1
  117. package/package.json +2 -2
  118. package/build/client/_app/immutable/assets/0.CmB_mQ6r.css +0 -1
  119. package/build/client/_app/immutable/assets/0.CmB_mQ6r.css.br +0 -0
  120. package/build/client/_app/immutable/assets/0.CmB_mQ6r.css.gz +0 -0
  121. package/build/client/_app/immutable/chunks/0ghLiCJk.js +0 -1
  122. package/build/client/_app/immutable/chunks/0ghLiCJk.js.br +0 -0
  123. package/build/client/_app/immutable/chunks/0ghLiCJk.js.gz +0 -0
  124. package/build/client/_app/immutable/chunks/Az6Ah2To.js +0 -2
  125. package/build/client/_app/immutable/chunks/Az6Ah2To.js.br +0 -0
  126. package/build/client/_app/immutable/chunks/Az6Ah2To.js.gz +0 -0
  127. package/build/client/_app/immutable/chunks/B4jA3VLS.js.br +0 -0
  128. package/build/client/_app/immutable/chunks/B4jA3VLS.js.gz +0 -0
  129. package/build/client/_app/immutable/chunks/BVlcxAlQ.js +0 -1
  130. package/build/client/_app/immutable/chunks/BVlcxAlQ.js.br +0 -0
  131. package/build/client/_app/immutable/chunks/BVlcxAlQ.js.gz +0 -0
  132. package/build/client/_app/immutable/chunks/CRomTuQI.js +0 -1
  133. package/build/client/_app/immutable/chunks/CRomTuQI.js.br +0 -0
  134. package/build/client/_app/immutable/chunks/CRomTuQI.js.gz +0 -0
  135. package/build/client/_app/immutable/chunks/HeMoCUQR.js +0 -1
  136. package/build/client/_app/immutable/chunks/HeMoCUQR.js.br +0 -0
  137. package/build/client/_app/immutable/chunks/HeMoCUQR.js.gz +0 -0
  138. package/build/client/_app/immutable/chunks/bVA83Itg.js +0 -96
  139. package/build/client/_app/immutable/chunks/bVA83Itg.js.br +0 -0
  140. package/build/client/_app/immutable/chunks/bVA83Itg.js.gz +0 -0
  141. package/build/client/_app/immutable/entry/app.r1xZjjw5.js +0 -2
  142. package/build/client/_app/immutable/entry/app.r1xZjjw5.js.br +0 -0
  143. package/build/client/_app/immutable/entry/app.r1xZjjw5.js.gz +0 -0
  144. package/build/client/_app/immutable/entry/start.CFaqHpYi.js +0 -1
  145. package/build/client/_app/immutable/entry/start.CFaqHpYi.js.br +0 -2
  146. package/build/client/_app/immutable/entry/start.CFaqHpYi.js.gz +0 -0
  147. package/build/client/_app/immutable/nodes/0.qoGoldyZ.js +0 -1
  148. package/build/client/_app/immutable/nodes/0.qoGoldyZ.js.br +0 -0
  149. package/build/client/_app/immutable/nodes/0.qoGoldyZ.js.gz +0 -0
  150. package/build/client/_app/immutable/nodes/1.N-a8xEtx.js +0 -1
  151. package/build/client/_app/immutable/nodes/1.N-a8xEtx.js.br +0 -1
  152. package/build/client/_app/immutable/nodes/1.N-a8xEtx.js.gz +0 -0
  153. package/build/client/_app/immutable/nodes/2.UjUuJUYA.js.br +0 -0
  154. package/build/client/_app/immutable/nodes/2.UjUuJUYA.js.gz +0 -0
  155. package/build/client/_app/immutable/nodes/3.CeWx5wYV.js +0 -4
  156. package/build/client/_app/immutable/nodes/3.CeWx5wYV.js.br +0 -0
  157. package/build/client/_app/immutable/nodes/3.CeWx5wYV.js.gz +0 -0
  158. package/build/server/chunks/0-DJQ9yHD-.js +0 -17
  159. package/build/server/chunks/1-0fAAqH6q.js +0 -9
  160. package/build/server/chunks/2-C3kTHFPu.js +0 -9
  161. package/build/server/chunks/3-DViOURTs.js +0 -9
  162. package/build/server/chunks/InputModal-Bo_3Ym8j.js.map +0 -1
  163. package/build/server/chunks/Toast-Bd3XGXXC.js.map +0 -1
  164. package/build/server/chunks/_layout.svelte-BvleGV6e.js.map +0 -1
  165. package/build/server/chunks/_page.svelte-C1-T5LLg.js.map +0 -1
  166. package/build/server/chunks/_page.svelte-CWnsm7d3.js.map +0 -1
  167. package/build/server/chunks/error.svelte-DhuTv3Mg.js.map +0 -1
  168. package/build/server/chunks/exports-BXvEiaiv.js +0 -238
  169. package/build/server/chunks/exports-BXvEiaiv.js.map +0 -1
  170. package/build/server/chunks/index-Cw8KcxMg.js +0 -1352
  171. package/build/server/chunks/index-Cw8KcxMg.js.map +0 -1
  172. package/build/server/chunks/index2-4GAMKCnB.js +0 -1925
  173. package/build/server/chunks/index2-4GAMKCnB.js.map +0 -1
  174. package/build/server/chunks/index4-BmUt-fl5.js.map +0 -1
@@ -1,5 +1,4 @@
1
- import { d as attr } from './index-Cw8KcxMg.js';
2
- import { a1 as escape_html } from './index2-4GAMKCnB.js';
1
+ import { k as escape_html, d as attr } from './index2-B2Ld-FFX.js';
3
2
 
4
3
  function InputModal($$renderer, $$props) {
5
4
  $$renderer.component(($$renderer2) => {
@@ -16,21 +15,21 @@ function InputModal($$renderer, $$props) {
16
15
  } = $$props;
17
16
  let inputValue = "";
18
17
  if (show) {
19
- $$renderer2.push("<!--[-->");
18
+ $$renderer2.push("<!--[0-->");
20
19
  $$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-[400px] shadow-xl text-gh-text"><h2 class="text-lg font-semibold mb-4">${escape_html(title)}</h2> `);
21
20
  if (label) {
22
- $$renderer2.push("<!--[-->");
21
+ $$renderer2.push("<!--[0-->");
23
22
  $$renderer2.push(`<label class="block text-sm text-gh-text-secondary mb-2">${escape_html(label)}</label>`);
24
23
  } else {
25
- $$renderer2.push("<!--[!-->");
24
+ $$renderer2.push("<!--[-1-->");
26
25
  }
27
26
  $$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>`);
28
27
  } else {
29
- $$renderer2.push("<!--[!-->");
28
+ $$renderer2.push("<!--[-1-->");
30
29
  }
31
30
  $$renderer2.push(`<!--]-->`);
32
31
  });
33
32
  }
34
33
 
35
34
  export { InputModal as I };
36
- //# sourceMappingURL=InputModal-Bo_3Ym8j.js.map
35
+ //# sourceMappingURL=InputModal-1qJGryUa.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputModal-1qJGryUa.js","sources":["../../../.svelte-kit/adapter-node/chunks/InputModal.js"],"sourcesContent":["import { e as escape_html, a as attr } from \"./index.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 = \"\";\n if (show) {\n $$renderer2.push(\"<!--[0-->\");\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-[400px] shadow-xl text-gh-text\"><h2 class=\"text-lg font-semibold mb-4\">${escape_html(title)}</h2> `);\n if (label) {\n $$renderer2.push(\"<!--[0-->\");\n $$renderer2.push(`<label class=\"block text-sm text-gh-text-secondary mb-2\">${escape_html(label)}</label>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\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(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nexport {\n InputModal as I\n};\n"],"names":[],"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,CAAC,QAAQ,CAAC,CAAC;AAChC,EAAE,CAAC,CAAC;AACJ;;;;"}
@@ -1,7 +1,6 @@
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';
1
+ import { k as escape_html, l as attr_class, f as stringify, av as bind_props, aw as ssr_context, w as writable, ax as get, n as derived } from './index2-B2Ld-FFX.js';
3
2
  import { marked } from 'marked';
4
- import { F as maskHomePath$1 } from './index3-Dje3vfFw.js';
3
+ import { F as maskHomePath$1 } from './index3-DNyQGNm8.js';
5
4
 
6
5
  function onDestroy(fn) {
7
6
  /** @type {SSRContext} */
@@ -34,10 +33,10 @@ function ConfirmModal($$renderer, $$props) {
34
33
  onCancel
35
34
  } = $$props;
36
35
  if (show) {
37
- $$renderer2.push("<!--[-->");
36
+ $$renderer2.push("<!--[0-->");
38
37
  $$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>`);
39
38
  } else {
40
- $$renderer2.push("<!--[!-->");
39
+ $$renderer2.push("<!--[-1-->");
41
40
  }
42
41
  $$renderer2.push(`<!--]-->`);
43
42
  });
@@ -66,10 +65,10 @@ function Toast($$renderer, $$props) {
66
65
  onDestroy(() => {
67
66
  });
68
67
  if (message) {
69
- $$renderer2.push("<!--[-->");
68
+ $$renderer2.push("<!--[0-->");
70
69
  $$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>`);
71
70
  } else {
72
- $$renderer2.push("<!--[!-->");
71
+ $$renderer2.push("<!--[-1-->");
73
72
  }
74
73
  $$renderer2.push(`<!--]-->`);
75
74
  bind_props($$props, { message });
@@ -77,4 +76,4 @@ function Toast($$renderer, $$props) {
77
76
  }
78
77
 
79
78
  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-Bd3XGXXC.js.map
79
+ //# sourceMappingURL=Toast-C9b_dWm4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast-C9b_dWm4.js","sources":["../../../.svelte-kit/adapter-node/chunks/Toast.js"],"sourcesContent":["import { aj as ssr_context, e as escape_html, c as attr_class, s as stringify, ak as bind_props } from \"./index.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(\"<!--[0-->\");\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(\"<!--[-1-->\");\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(\"<!--[0-->\");\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(\"<!--[-1-->\");\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":";;;;AAIA,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,IAAI,CAAC,OAAO;AACvB,MAAM,0EAA0E;AAChF,MAAM;AACN,KAAK;AACL,EAAE;AACF,EAAE,OAAO,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC;AACnC;AACA,OAAO,CAAC,SAAS,EAAE,CAAC,OAAO,KAAK;AAChC,EAAE,OAAO,CAAC,IAAI,KAAK,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC;AACtD,CAAC,CAAC;AACF,SAAS,YAAY,CAAC,UAAU,EAAE,OAAO,EAAE;AAC3C,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,IAAI;AACR,MAAM,IAAI;AACV,MAAM,KAAK;AACX,MAAM,OAAO;AACb,MAAM,WAAW,GA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AAO,YAAY,CAAC,WAAW,CAAC;AAClC;AACA,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,IAAI,EAAE,OAAO,GAAG,MAAM,EAAE,OAAO,GAAG,SAAS,EAAE,QAAQ,GAAG,GAAG,EAAE,GAAG,OAAO;AAC3E,IAAI,MAAM,cAAc,GAAG;AAC3B,MAAM,OAAO,EAAE,gBAAgB;AAC/B,MAAM,KAAK,EAAE,cAAc;AAC3B,MAAM,IAAI,EAAE,iBAAiB;AAC7B,MAAM,OAAO,EAAE;AACf,KAAK;AACL,IAAI,SAAS,CAAC,MAAM;AACpB,IAAI,CAAC,CAAC;AACN,IAAI,IAAI,OAAO,EAAE;AACjB,MAAM,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC;AACnC,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,YAAY,CAAC;AACpC,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 stringify, j as store_get, k as attr_class, l as unsubscribe_stores } from './index-Cw8KcxMg.js';
2
- import './exports-BXvEiaiv.js';
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';
1
+ import { h as head, d as attr, f as stringify, j as store_get, k as escape_html, l as attr_class, m as derived, w as writable, n as derived$1, o as unsubscribe_stores } from './index2-B2Ld-FFX.js';
2
+ import './root-B5iYE7yO.js';
3
+ import './client-BtcIwznP.js';
4
+ import { p as page } from './index4-CfOR2iO6.js';
5
+ import { C as ConfirmModal, T as Toast } from './Toast-C9b_dWm4.js';
6
+ import './index3-DNyQGNm8.js';
7
7
  import 'marked';
8
8
  import 'fs';
9
9
  import 'fs/promises';
@@ -23,7 +23,7 @@ const getSystemTheme = () => {
23
23
  return window.matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark";
24
24
  };
25
25
  const themePreference = writable(getStoredPreference());
26
- const effectiveTheme = derived(themePreference, ($pref) => {
26
+ const effectiveTheme = derived$1(themePreference, ($pref) => {
27
27
  if ($pref === "system") return getSystemTheme();
28
28
  return $pref;
29
29
  });
@@ -31,16 +31,16 @@ function _layout($$renderer, $$props) {
31
31
  $$renderer.component(($$renderer2) => {
32
32
  var $$store_subs;
33
33
  let { children } = $$props;
34
- const isSessionPage = page.url.pathname.startsWith("/session/");
35
- const currentSessionInfo = (() => {
36
- if (!isSessionPage) return null;
34
+ const isSessionPage = derived(() => page.url.pathname.startsWith("/session/"));
35
+ const currentSessionInfo = derived(() => {
36
+ if (!isSessionPage()) return null;
37
37
  const match = page.url.pathname.match(/^\/session\/([^/]+)\/([^/]+)/);
38
38
  if (!match) return null;
39
39
  return {
40
40
  projectName: decodeURIComponent(match[1]),
41
41
  sessionId: decodeURIComponent(match[2])
42
42
  };
43
- })();
43
+ });
44
44
  let cleaning = false;
45
45
  let shuttingDown = false;
46
46
  let toastMessage = null;
@@ -65,42 +65,38 @@ function _layout($$renderer, $$props) {
65
65
  $$renderer5.push(`<title>Claude Sessions</title>`);
66
66
  });
67
67
  });
68
- $$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> `);
68
+ $$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> `);
69
69
  {
70
- $$renderer3.push("<!--[!-->");
70
+ $$renderer3.push("<!--[-1-->");
71
71
  }
72
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
73
  if (store_get($$store_subs ??= {}, "$effectiveTheme", effectiveTheme) === "light") {
74
- $$renderer3.push("<!--[-->");
74
+ $$renderer3.push("<!--[0-->");
75
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 if (store_get($$store_subs ??= {}, "$themePreference", themePreference) === "system") {
77
+ $$renderer3.push("<!--[1-->");
78
+ $$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>`);
76
79
  } 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(`<!--]-->`);
80
+ $$renderer3.push("<!--[-1-->");
81
+ $$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>`);
86
82
  }
87
83
  $$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"/> `);
88
84
  {
89
- $$renderer3.push("<!--[!-->");
85
+ $$renderer3.push("<!--[-1-->");
90
86
  }
91
87
  $$renderer3.push(`<!--]--> `);
92
88
  {
93
- $$renderer3.push("<!--[!-->");
89
+ $$renderer3.push("<!--[-1-->");
94
90
  }
95
- $$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`)}>`);
91
+ $$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`)}>`);
96
92
  children($$renderer3);
97
93
  $$renderer3.push(`<!----></main></div> `);
98
94
  {
99
- $$renderer3.push("<!--[!-->");
95
+ $$renderer3.push("<!--[-1-->");
100
96
  }
101
97
  $$renderer3.push(`<!--]--> `);
102
98
  {
103
- $$renderer3.push("<!--[!-->");
99
+ $$renderer3.push("<!--[-1-->");
104
100
  }
105
101
  $$renderer3.push(`<!--]--> `);
106
102
  ConfirmModal($$renderer3, {
@@ -135,4 +131,4 @@ function _layout($$renderer, $$props) {
135
131
  }
136
132
 
137
133
  export { _layout as default };
138
- //# sourceMappingURL=_layout.svelte-BvleGV6e.js.map
134
+ //# sourceMappingURL=_layout.svelte-CdDMC1RI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_layout.svelte-CdDMC1RI.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_layout.svelte.js"],"sourcesContent":["import { h as head, a as attr, d as derived$1, s as stringify, b as store_get, e as escape_html, c as attr_class, f as unsubscribe_stores } from \"../../chunks/index.js\";\nimport \"@sveltejs/kit/internal\";\nimport \"../../chunks/exports.js\";\nimport \"../../chunks/utils2.js\";\nimport \"@sveltejs/kit/internal/server\";\nimport \"../../chunks/root.js\";\nimport \"../../chunks/client.js\";\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\";\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 = derived$1(() => page.url.pathname.startsWith(\"/session/\"));\n const currentSessionInfo = derived$1(() => {\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(\"<!--[-1-->\");\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(\"<!--[0-->\");\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 if (store_get($$store_subs ??= {}, \"$themePreference\", themePreference) === \"system\") {\n $$renderer3.push(\"<!--[1-->\");\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(\"<!--[-1-->\");\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(`<!--]--></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(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> `);\n {\n $$renderer3.push(\"<!--[-1-->\");\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(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> `);\n {\n $$renderer3.push(\"<!--[-1-->\");\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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AAC,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,IAAI,IAAI,YAAY,EAAE,kBAAkB,CAAC,YAAY,CAAC;AACtD,EAAE,CAAC,CAAC;AACJ;;;;"}
@@ -1,10 +1,9 @@
1
- import { h as head } from './index-Cw8KcxMg.js';
2
- import { p as page } from './index4-BmUt-fl5.js';
3
- import { T as Toast, C as ConfirmModal } from './Toast-Bd3XGXXC.js';
4
- import { I as InputModal } from './InputModal-Bo_3Ym8j.js';
5
- import './index3-Dje3vfFw.js';
6
- import { a1 as escape_html } from './index2-4GAMKCnB.js';
7
- import './exports-BXvEiaiv.js';
1
+ import { h as head, k as escape_html, m as derived } from './index2-B2Ld-FFX.js';
2
+ import './client-BtcIwznP.js';
3
+ import { T as Toast, C as ConfirmModal } from './Toast-C9b_dWm4.js';
4
+ import { I as InputModal } from './InputModal-1qJGryUa.js';
5
+ import './index3-DNyQGNm8.js';
6
+ import './root-B5iYE7yO.js';
8
7
  import 'marked';
9
8
  import 'fs';
10
9
  import 'fs/promises';
@@ -38,20 +37,18 @@ function _page($$renderer, $$props) {
38
37
  const closeInput = () => {
39
38
  inputModal = { ...inputModal, show: false };
40
39
  };
41
- decodeURIComponent(page.params.project ?? "");
42
- decodeURIComponent(page.params.id ?? "");
43
- const displayTitle = "Untitled";
40
+ const displayTitle = derived(() => "Untitled");
44
41
  let $$settled = true;
45
42
  let $$inner_renderer;
46
43
  function $$render_inner($$renderer3) {
47
44
  head("ik3mmh", $$renderer3, ($$renderer4) => {
48
45
  $$renderer4.title(($$renderer5) => {
49
- $$renderer5.push(`<title>${escape_html(displayTitle)} - Claude Sessions</title>`);
46
+ $$renderer5.push(`<title>${escape_html(displayTitle())} - Claude Sessions</title>`);
50
47
  });
51
48
  });
52
49
  $$renderer3.push(`<div class="h-screen bg-gh-bg">`);
53
50
  {
54
- $$renderer3.push("<!--[-->");
51
+ $$renderer3.push("<!--[0-->");
55
52
  $$renderer3.push(`<div class="flex items-center justify-center h-full"><div class="text-gh-muted">Loading...</div></div>`);
56
53
  }
57
54
  $$renderer3.push(`<!--]--></div> `);
@@ -94,4 +91,4 @@ function _page($$renderer, $$props) {
94
91
  }
95
92
 
96
93
  export { _page as default };
97
- //# sourceMappingURL=_page.svelte-CWnsm7d3.js.map
94
+ //# sourceMappingURL=_page.svelte-CVL9fjg-.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_page.svelte-CVL9fjg-.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/session/_project_/_id_/_page.svelte.js"],"sourcesContent":["import { h as head, e as escape_html, d as derived } from \"../../../../../chunks/index.js\";\nimport \"../../../../../chunks/client.js\";\nimport { T as Toast, C as ConfirmModal } from \"../../../../../chunks/Toast.js\";\nimport { I as InputModal } from \"../../../../../chunks/InputModal.js\";\nimport \"../../../../../chunks/index3.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 const displayTitle = derived(() => \"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(\"<!--[0-->\");\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":";;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