@deepseek-insight/dsi 0.5.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 (285) hide show
  1. package/LICENSE +204 -0
  2. package/README.md +98 -0
  3. package/bin/dsi.mjs +147 -0
  4. package/build/client/_app/immutable/assets/0.DqFt8jIM.css +2 -0
  5. package/build/client/_app/immutable/assets/2.YlW45hiM.css +1 -0
  6. package/build/client/_app/immutable/assets/codicon.Brq4_Ui5.ttf +0 -0
  7. package/build/client/_app/immutable/assets/editor.jjEx9u7D.css +1 -0
  8. package/build/client/_app/immutable/assets/settings-monaco.C1CMdMvw.css +1 -0
  9. package/build/client/_app/immutable/chunks/-g7BcI22.js +4 -0
  10. package/build/client/_app/immutable/chunks/08VXUWAP.js +1 -0
  11. package/build/client/_app/immutable/chunks/2irkVCIh.js +10 -0
  12. package/build/client/_app/immutable/chunks/43DmfD33.js +1 -0
  13. package/build/client/_app/immutable/chunks/6GKQw8m6.js +99 -0
  14. package/build/client/_app/immutable/chunks/6RTg0lbw.js +1 -0
  15. package/build/client/_app/immutable/chunks/9TvT6fta.js +120 -0
  16. package/build/client/_app/immutable/chunks/B1YSaoU7.js +96 -0
  17. package/build/client/_app/immutable/chunks/B2J2w5EN.js +1 -0
  18. package/build/client/_app/immutable/chunks/B5-_aFwp.js +2 -0
  19. package/build/client/_app/immutable/chunks/B8-Q2PIv.js +1 -0
  20. package/build/client/_app/immutable/chunks/B8J7ngcE.js +1 -0
  21. package/build/client/_app/immutable/chunks/B9JPFI3C.js +2 -0
  22. package/build/client/_app/immutable/chunks/BAZKJuQw.js +1 -0
  23. package/build/client/_app/immutable/chunks/BBKpNcUe.js +1 -0
  24. package/build/client/_app/immutable/chunks/BEEn4gHE.js +1 -0
  25. package/build/client/_app/immutable/chunks/BEtHBSE6.js +1 -0
  26. package/build/client/_app/immutable/chunks/BFoDCU3G.js +1 -0
  27. package/build/client/_app/immutable/chunks/BHtPwB2y.js +847 -0
  28. package/build/client/_app/immutable/chunks/BI-MrBd-.js +1 -0
  29. package/build/client/_app/immutable/chunks/BI4pMaIG.js +1 -0
  30. package/build/client/_app/immutable/chunks/BJL7RCQE.js +4 -0
  31. package/build/client/_app/immutable/chunks/BKxtCVv1.js +1 -0
  32. package/build/client/_app/immutable/chunks/BOfSXrr7.js +1 -0
  33. package/build/client/_app/immutable/chunks/BOotOW0E.js +1 -0
  34. package/build/client/_app/immutable/chunks/BTzV9O1M.js +3 -0
  35. package/build/client/_app/immutable/chunks/BW-FRVGs.js +1 -0
  36. package/build/client/_app/immutable/chunks/BWPQTe0t.js +1 -0
  37. package/build/client/_app/immutable/chunks/BYgofb2h.js +1 -0
  38. package/build/client/_app/immutable/chunks/Ba7i2nA0.js +1 -0
  39. package/build/client/_app/immutable/chunks/Bb19NAkg.js +1 -0
  40. package/build/client/_app/immutable/chunks/Bc_sGQ0U.js +1 -0
  41. package/build/client/_app/immutable/chunks/BeGwcela.js +1 -0
  42. package/build/client/_app/immutable/chunks/BeZqd5lB.js +1 -0
  43. package/build/client/_app/immutable/chunks/Beo7Z46k.js +7 -0
  44. package/build/client/_app/immutable/chunks/BhNEBkk_.js +39 -0
  45. package/build/client/_app/immutable/chunks/BifhSqXX.js +1 -0
  46. package/build/client/_app/immutable/chunks/Bjy-W4x2.js +81 -0
  47. package/build/client/_app/immutable/chunks/BlltJnm0.js +1 -0
  48. package/build/client/_app/immutable/chunks/Bn9NRi0R.js +168 -0
  49. package/build/client/_app/immutable/chunks/BnF5Jm-h.js +1 -0
  50. package/build/client/_app/immutable/chunks/Bp4uuUjI.js +3 -0
  51. package/build/client/_app/immutable/chunks/BrTsmS-o.js +57 -0
  52. package/build/client/_app/immutable/chunks/Bri6UV-V.js +1 -0
  53. package/build/client/_app/immutable/chunks/Btk-1DaX.js +1 -0
  54. package/build/client/_app/immutable/chunks/BwWrilGY.js +1 -0
  55. package/build/client/_app/immutable/chunks/Bxkupp3x.js +1 -0
  56. package/build/client/_app/immutable/chunks/Bz4Y3fRF.js +1 -0
  57. package/build/client/_app/immutable/chunks/C-OQMol4.js +1 -0
  58. package/build/client/_app/immutable/chunks/C-y9NEjX.js +1 -0
  59. package/build/client/_app/immutable/chunks/C1JXY9b5.js +30 -0
  60. package/build/client/_app/immutable/chunks/C2x7inlt.js +321 -0
  61. package/build/client/_app/immutable/chunks/C531GsRP.js +2 -0
  62. package/build/client/_app/immutable/chunks/C5TAQhFO.js +1 -0
  63. package/build/client/_app/immutable/chunks/C5_-GSwl.js +1 -0
  64. package/build/client/_app/immutable/chunks/C6lv30UQ.js +1 -0
  65. package/build/client/_app/immutable/chunks/C7h46wYY.js +1 -0
  66. package/build/client/_app/immutable/chunks/C8Ef5oNN.js +1 -0
  67. package/build/client/_app/immutable/chunks/CA_WNCsl.js +41 -0
  68. package/build/client/_app/immutable/chunks/CC2rA5mh.js +1 -0
  69. package/build/client/_app/immutable/chunks/CHdTS7qa.js +15 -0
  70. package/build/client/_app/immutable/chunks/CIPQ_RoX.js +1 -0
  71. package/build/client/_app/immutable/chunks/CJ_zvTBg.js +72 -0
  72. package/build/client/_app/immutable/chunks/CPEyWost.js +1 -0
  73. package/build/client/_app/immutable/chunks/CPgSxomx.js +1 -0
  74. package/build/client/_app/immutable/chunks/CRfGWb83.js +1 -0
  75. package/build/client/_app/immutable/chunks/CTgm3pse.js +1 -0
  76. package/build/client/_app/immutable/chunks/CVaqCwHa.js +1 -0
  77. package/build/client/_app/immutable/chunks/CWKM3f5q.js +1 -0
  78. package/build/client/_app/immutable/chunks/CWVpRRWx.js +162 -0
  79. package/build/client/_app/immutable/chunks/CXMH3UgJ.js +257 -0
  80. package/build/client/_app/immutable/chunks/CZ-RNlot.js +1 -0
  81. package/build/client/_app/immutable/chunks/CZXl7qUb.js +70 -0
  82. package/build/client/_app/immutable/chunks/C_N-eONP.js +1 -0
  83. package/build/client/_app/immutable/chunks/Cb1pwoev.js +1 -0
  84. package/build/client/_app/immutable/chunks/CcL1k2On.js +11 -0
  85. package/build/client/_app/immutable/chunks/CcWV7GYH.js +1 -0
  86. package/build/client/_app/immutable/chunks/CcwsVR0C.js +1 -0
  87. package/build/client/_app/immutable/chunks/Cd6K7Y8m.js +1 -0
  88. package/build/client/_app/immutable/chunks/CfSJPG6W.js +1 -0
  89. package/build/client/_app/immutable/chunks/CfZ7uSQe.js +38 -0
  90. package/build/client/_app/immutable/chunks/Cimd5fb3.js +1 -0
  91. package/build/client/_app/immutable/chunks/Cj-Zm41R.js +36 -0
  92. package/build/client/_app/immutable/chunks/CjZ_QSbm.js +1 -0
  93. package/build/client/_app/immutable/chunks/CkrcOjFY.js +1 -0
  94. package/build/client/_app/immutable/chunks/ClamHrr6.js +1 -0
  95. package/build/client/_app/immutable/chunks/Cm7r79vr.js +1 -0
  96. package/build/client/_app/immutable/chunks/CmbEK4CY.js +84 -0
  97. package/build/client/_app/immutable/chunks/CmvnEPtD.js +7 -0
  98. package/build/client/_app/immutable/chunks/CopQ2nXW.js +1 -0
  99. package/build/client/_app/immutable/chunks/CpzslTdj.js +1 -0
  100. package/build/client/_app/immutable/chunks/CsHVnZCH.js +1 -0
  101. package/build/client/_app/immutable/chunks/CsQS60Ue.js +1 -0
  102. package/build/client/_app/immutable/chunks/CuRJVwEq.js +1 -0
  103. package/build/client/_app/immutable/chunks/D-oSqn_W.js +1 -0
  104. package/build/client/_app/immutable/chunks/D-ptJ9y-.js +1 -0
  105. package/build/client/_app/immutable/chunks/D05T4iGw.js +1 -0
  106. package/build/client/_app/immutable/chunks/D0I62FkS.js +1 -0
  107. package/build/client/_app/immutable/chunks/D16vkywU.js +1 -0
  108. package/build/client/_app/immutable/chunks/D1qzYj9m.js +1 -0
  109. package/build/client/_app/immutable/chunks/D3hlyOfw.js +1 -0
  110. package/build/client/_app/immutable/chunks/D4gq_dik.js +1 -0
  111. package/build/client/_app/immutable/chunks/D7fX-3xy.js +1 -0
  112. package/build/client/_app/immutable/chunks/D8-5qLJg.js +231 -0
  113. package/build/client/_app/immutable/chunks/D8hlhfM3.js +1 -0
  114. package/build/client/_app/immutable/chunks/DAS1CLuE.js +24 -0
  115. package/build/client/_app/immutable/chunks/DGarjVZC.js +1 -0
  116. package/build/client/_app/immutable/chunks/DGd2pJF5.js +1 -0
  117. package/build/client/_app/immutable/chunks/DHpiXF5c.js +1 -0
  118. package/build/client/_app/immutable/chunks/DHwB1DNv.js +161 -0
  119. package/build/client/_app/immutable/chunks/DIMkf-bt.js +3 -0
  120. package/build/client/_app/immutable/chunks/DISqw1ZD.js +1 -0
  121. package/build/client/_app/immutable/chunks/DITEY8D_.js +62 -0
  122. package/build/client/_app/immutable/chunks/DL0yNkAA.js +1 -0
  123. package/build/client/_app/immutable/chunks/DL1Hc2zs.js +1 -0
  124. package/build/client/_app/immutable/chunks/DLOOos_8.js +292 -0
  125. package/build/client/_app/immutable/chunks/DMUM7wLl.js +1 -0
  126. package/build/client/_app/immutable/chunks/DPKol_4Z.js +139 -0
  127. package/build/client/_app/immutable/chunks/DS17s2tU.js +1 -0
  128. package/build/client/_app/immutable/chunks/DT7zqm-g.js +1 -0
  129. package/build/client/_app/immutable/chunks/DTj74zXo.js +1 -0
  130. package/build/client/_app/immutable/chunks/DV3o63ZY.js +1 -0
  131. package/build/client/_app/immutable/chunks/DVXVVWkX.js +129 -0
  132. package/build/client/_app/immutable/chunks/DWDfcLfy.js +206 -0
  133. package/build/client/_app/immutable/chunks/DXeGLmed.js +8 -0
  134. package/build/client/_app/immutable/chunks/DYqsupvX.js +1 -0
  135. package/build/client/_app/immutable/chunks/DZ6u0Z-K.js +1 -0
  136. package/build/client/_app/immutable/chunks/DZFCIeNp.js +1 -0
  137. package/build/client/_app/immutable/chunks/D_Lu-MrJ.js +1 -0
  138. package/build/client/_app/immutable/chunks/DauUninz.js +1 -0
  139. package/build/client/_app/immutable/chunks/DbInun42.js +1 -0
  140. package/build/client/_app/immutable/chunks/DbcKN35_.js +3 -0
  141. package/build/client/_app/immutable/chunks/DcZe4Woe.js +1 -0
  142. package/build/client/_app/immutable/chunks/DdL9SqIa.js +1 -0
  143. package/build/client/_app/immutable/chunks/De2hgUGE.js +1 -0
  144. package/build/client/_app/immutable/chunks/DezsRK8O.js +1 -0
  145. package/build/client/_app/immutable/chunks/Dg_UWGX7.js +24 -0
  146. package/build/client/_app/immutable/chunks/Dj2t5yNg.js +1 -0
  147. package/build/client/_app/immutable/chunks/DkqhCAOL.js +1 -0
  148. package/build/client/_app/immutable/chunks/DlQrSOw4.js +7 -0
  149. package/build/client/_app/immutable/chunks/DmHpPYUd.js +1 -0
  150. package/build/client/_app/immutable/chunks/Dmn-tsie.js +1 -0
  151. package/build/client/_app/immutable/chunks/DpFanUEy.js +298 -0
  152. package/build/client/_app/immutable/chunks/DqwfDHZH.js +89 -0
  153. package/build/client/_app/immutable/chunks/Dr0pcX_F.js +1 -0
  154. package/build/client/_app/immutable/chunks/DrH0SRf2.js +1 -0
  155. package/build/client/_app/immutable/chunks/DsF7k-Jl.js +1 -0
  156. package/build/client/_app/immutable/chunks/DtBGId5S.js +2 -0
  157. package/build/client/_app/immutable/chunks/DuM1hSCa.js +1 -0
  158. package/build/client/_app/immutable/chunks/Du_ODUAO.js +1 -0
  159. package/build/client/_app/immutable/chunks/DvCMcJ3P.js +1 -0
  160. package/build/client/_app/immutable/chunks/Dy-Kn_BL.js +1 -0
  161. package/build/client/_app/immutable/chunks/DzVMo6mB.js +62 -0
  162. package/build/client/_app/immutable/chunks/ESmLJICu.js +1 -0
  163. package/build/client/_app/immutable/chunks/FvmIjYaQ.js +1 -0
  164. package/build/client/_app/immutable/chunks/GBaNblmo.js +1 -0
  165. package/build/client/_app/immutable/chunks/HclGiUj8.js +1 -0
  166. package/build/client/_app/immutable/chunks/Ju5jF6hy.js +1 -0
  167. package/build/client/_app/immutable/chunks/KythIMN8.js +1 -0
  168. package/build/client/_app/immutable/chunks/LWre5GKl.js +40 -0
  169. package/build/client/_app/immutable/chunks/NEE52Syq.js +1 -0
  170. package/build/client/_app/immutable/chunks/No6lfiAw.js +1 -0
  171. package/build/client/_app/immutable/chunks/OmE6SGvs.js +106 -0
  172. package/build/client/_app/immutable/chunks/P_ok0Z_j.js +2 -0
  173. package/build/client/_app/immutable/chunks/PaZBB01u.js +1 -0
  174. package/build/client/_app/immutable/chunks/Rh9cy7xg.js +2 -0
  175. package/build/client/_app/immutable/chunks/SOo6toE5.js +1 -0
  176. package/build/client/_app/immutable/chunks/TNLUqJaC.js +1 -0
  177. package/build/client/_app/immutable/chunks/UNxFjlik.js +1 -0
  178. package/build/client/_app/immutable/chunks/UmdltqoE.js +1 -0
  179. package/build/client/_app/immutable/chunks/Z5eAx3Zn.js +1 -0
  180. package/build/client/_app/immutable/chunks/bTuwJoIa.js +1 -0
  181. package/build/client/_app/immutable/chunks/fmXr3nnJ.js +1 -0
  182. package/build/client/_app/immutable/chunks/fybaL0A-.js +1 -0
  183. package/build/client/_app/immutable/chunks/gp-XZpBa.js +3 -0
  184. package/build/client/_app/immutable/chunks/h-p5ZdY8.js +1 -0
  185. package/build/client/_app/immutable/chunks/hxYEUgOo.js +1 -0
  186. package/build/client/_app/immutable/chunks/i0VQdJtv.js +1 -0
  187. package/build/client/_app/immutable/chunks/i0X4ZdIN.js +1 -0
  188. package/build/client/_app/immutable/chunks/mVHw7KEX.js +7 -0
  189. package/build/client/_app/immutable/chunks/nDMCpPkF.js +1 -0
  190. package/build/client/_app/immutable/chunks/nr791fC2.js +1 -0
  191. package/build/client/_app/immutable/chunks/onAF5SnQ.js +1 -0
  192. package/build/client/_app/immutable/chunks/oz_6vUea.js +1 -0
  193. package/build/client/_app/immutable/chunks/qEGLx2Wc.js +78 -0
  194. package/build/client/_app/immutable/chunks/raVGrKQy.js +44 -0
  195. package/build/client/_app/immutable/chunks/sBoK_t0W.js +1 -0
  196. package/build/client/_app/immutable/chunks/sIEmSkn6.js +34 -0
  197. package/build/client/_app/immutable/chunks/wFIeY1Cf.js +88 -0
  198. package/build/client/_app/immutable/chunks/xihTtKlq.js +1 -0
  199. package/build/client/_app/immutable/chunks/zpcgJjUg.js +127 -0
  200. package/build/client/_app/immutable/entry/app.B2QxMn0t.js +2 -0
  201. package/build/client/_app/immutable/entry/start.BR3A4iFi.js +1 -0
  202. package/build/client/_app/immutable/nodes/0.B_ZEZy7b.js +1 -0
  203. package/build/client/_app/immutable/nodes/1.By3Gd2cs.js +1 -0
  204. package/build/client/_app/immutable/nodes/2.1TAwiWw1.js +69 -0
  205. package/build/client/_app/immutable/workers/css.worker-DRH2OcAG.js +93 -0
  206. package/build/client/_app/immutable/workers/html.worker-DQLddT9h.js +506 -0
  207. package/build/client/_app/immutable/workers/json.worker-D_Dqrls5.js +62 -0
  208. package/build/client/_app/immutable/workers/settings-editor-worker-D9zwrD0f.js +30 -0
  209. package/build/client/_app/immutable/workers/ts.worker-DkYoA6bF.js +67738 -0
  210. package/build/client/_app/immutable/workers/yaml.worker-BTGFEDOA.js +449 -0
  211. package/build/client/_app/version.json +1 -0
  212. package/build/client/favicon.svg +7 -0
  213. package/build/env.js +70 -0
  214. package/build/handler.js +23 -0
  215. package/build/index.js +146 -0
  216. package/build/server/chunks/chunks/a2a-protocol.js-C77mVg2Q.js +52 -0
  217. package/build/server/chunks/chunks/app-config.svelte.js-Co9jacqT.js +52 -0
  218. package/build/server/chunks/chunks/config.js-BBYogCe7.js +123 -0
  219. package/build/server/chunks/chunks/db.js-DcmO3JAx.js +120 -0
  220. package/build/server/chunks/chunks/db2.js-DBltVUGg.js +717 -0
  221. package/build/server/chunks/chunks/dsh-connection.js-DwihVtk_.js +1957 -0
  222. package/build/server/chunks/chunks/dsh-events.js-BtDxaV6Q.js +706 -0
  223. package/build/server/chunks/chunks/env.js-l0sNRNKZ.js +2 -0
  224. package/build/server/chunks/chunks/exports.js-DMiPee3x.js +263 -0
  225. package/build/server/chunks/chunks/goal-projection.js-0_34t60K.js +44 -0
  226. package/build/server/chunks/chunks/image-limits.js-BMPZ55kJ.js +186 -0
  227. package/build/server/chunks/chunks/insight-config.js-CfMPTA6Z.js +352 -0
  228. package/build/server/chunks/chunks/internal.js-CQzEjdyk.js +747 -0
  229. package/build/server/chunks/chunks/internal2.js-D-DAuSVh.js +22 -0
  230. package/build/server/chunks/chunks/server.js-DoCd0fEo.js +4104 -0
  231. package/build/server/chunks/chunks/shared.js-C4-Py8s_.js +775 -0
  232. package/build/server/chunks/chunks/state.js-CpmOS0a2.js +114 -0
  233. package/build/server/chunks/chunks/uneval.js-BJ9Qq2SF.js +488 -0
  234. package/build/server/chunks/chunks/utils.js-tOWCe9Wk.js +933 -0
  235. package/build/server/chunks/chunks/watcher.js-BelxjMOP.js +473 -0
  236. package/build/server/chunks/entries/endpoints/api/a2a/_id_/_server.ts.js-B4HUNFZv.js +37 -0
  237. package/build/server/chunks/entries/endpoints/api/a2a/_server.ts.js-JDV_oqbX.js +61 -0
  238. package/build/server/chunks/entries/endpoints/api/a2a/register/_server.ts.js-Dxwc-7-5.js +99 -0
  239. package/build/server/chunks/entries/endpoints/api/config/_server.ts.js-D8i35bGH.js +35 -0
  240. package/build/server/chunks/entries/endpoints/api/dsh/directory/_server.ts.js-CeBU1G85.js +43 -0
  241. package/build/server/chunks/entries/endpoints/api/dsh/pick-directory/_server.ts.js-CyrVUxv3.js +36 -0
  242. package/build/server/chunks/entries/endpoints/api/dsh/presets/_server.ts.js-qeO_1htT.js +33 -0
  243. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/attachment/_server.ts.js-DnHffohz.js +44 -0
  244. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/cancel/_server.ts.js-fm6MFyjP.js +33 -0
  245. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/catalog/_server.ts.js-wJ9V_Ue7.js +42 -0
  246. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/command/_server.ts.js-o83L4GUY.js +85 -0
  247. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/events/_server.ts.js-DLCHSC1M.js +212 -0
  248. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/fork/_server.ts.js-Ca6NU9HO.js +58 -0
  249. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/goal/_server.ts.js-RteR85vn.js +138 -0
  250. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/history/_server.ts.js-CEKDkK7v.js +55 -0
  251. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/models/_server.ts.js-D7ziyW3d.js +35 -0
  252. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/permission/_server.ts.js-DbkD4JZb.js +92 -0
  253. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/prompt/_server.ts.js-eOLNlf1-.js +94 -0
  254. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/rename/_server.ts.js-txQRocK9.js +57 -0
  255. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/respond/_server.ts.js-D3WGYzkE.js +69 -0
  256. package/build/server/chunks/entries/endpoints/api/dsh/session/_sessionId_/select-model/_server.ts.js-g2GtvLTs.js +69 -0
  257. package/build/server/chunks/entries/endpoints/api/dsh/sessions/_server.ts.js-17yKojU_.js +85 -0
  258. package/build/server/chunks/entries/endpoints/api/dsh/workspace-file/_server.ts.js-D16pEhvd.js +99 -0
  259. package/build/server/chunks/entries/endpoints/api/dsh/workspace-file/save/_server.ts.js-BXpZNLK8.js +110 -0
  260. package/build/server/chunks/entries/endpoints/api/dsh/workspace-file-bytes/_server.ts.js-hBlyjq-x.js +113 -0
  261. package/build/server/chunks/entries/endpoints/api/dsh/workspace-tree/_server.ts.js-KWRnsAkm.js +59 -0
  262. package/build/server/chunks/entries/endpoints/api/dsh/workspaces/_server.ts.js-DzNvvCxK.js +55 -0
  263. package/build/server/chunks/entries/endpoints/api/dsh/workspaces/_workspaceId_/delete/_server.ts.js-MK5925CY.js +45 -0
  264. package/build/server/chunks/entries/endpoints/api/dsh/workspaces/_workspaceId_/rename/_server.ts.js-w3Mo0nf7.js +63 -0
  265. package/build/server/chunks/entries/endpoints/api/prompts/_id_/_server.ts.js-CInfjM-i.js +64 -0
  266. package/build/server/chunks/entries/endpoints/api/prompts/_server.ts.js-C1lqP1OV.js +87 -0
  267. package/build/server/chunks/entries/endpoints/api/prompts/use/_server.ts.js-B36YMKMt.js +54 -0
  268. package/build/server/chunks/entries/endpoints/api/settings/_server.ts.js-CHvHNzeB.js +101 -0
  269. package/build/server/chunks/entries/pages/_error.svelte.js-BE3-BWDd.js +41 -0
  270. package/build/server/chunks/entries/pages/_layout.svelte.js-EFiihTdF.js +18 -0
  271. package/build/server/chunks/entries/pages/_layout.ts.js-CNSo-Z1U.js +22 -0
  272. package/build/server/chunks/entries/pages/_page.server.ts.js-Bk8UuUXA.js +85 -0
  273. package/build/server/chunks/entries/pages/_page.svelte.js-CfmKQYLK.js +13883 -0
  274. package/build/server/chunks/handler-BshnD4Y4.js +1735 -0
  275. package/build/server/chunks/index.js-I_pMeIwQ.js +3864 -0
  276. package/build/server/chunks/manifest.js-DwhpAk_y.js +273 -0
  277. package/build/server/chunks/nodes/0.js-DCyDo8-C.js +12 -0
  278. package/build/server/chunks/nodes/1.js-Dx7z_VWN.js +9 -0
  279. package/build/server/chunks/nodes/2.js-CLw9pxho.js +24 -0
  280. package/build/shims.js +33 -0
  281. package/package.json +65 -0
  282. package/template/.dsi/a2a.sqlite +0 -0
  283. package/template/.dsi/config.json +42 -0
  284. package/template/.dsi/prompts.sqlite +0 -0
  285. package/template/.dsi/settings.yaml +33 -0
@@ -0,0 +1,747 @@
1
+ import { u as uneval } from './uneval.js-BJ9Qq2SF.js';
2
+ import { r as render, s as set, L as LEGACY_PROPS, g as get, f as flushSync, d as define_property, m as mutable_source, i as init_operations, a as get_first_child, b as get_next_sibling, H as HYDRATION_ERROR, c as set_hydrating, e as set_hydrate_node, h as hydration_failed, j as clear_text_content, k as component_root, l as hydrate_node, n as create_text, o as boundary, p as array_from, q as is_passive_event, t as set_active_reaction, u as set_active_effect, v as active_reaction, w as active_effect, x as setContext, y as derived, z as hydrating, A as push$1, B as component_context, C as hydration_mismatch, D as pop$1, E as run, F as noop, G as hasContext, I as getContext, J as getAllContexts, K as getAbortSignal, M as createContext, N as ssr_context, O as lifecycle_function_unavailable, P as experimental_async_required, Q as get_render_context, R as hydratable_serialization_failed } from './server.js-DoCd0fEo.js';
3
+
4
+ //#region \0rolldown/runtime.js
5
+ var __defProp = Object.defineProperty;
6
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
7
+ var __exportAll = (all, no_symbols) => {
8
+ let target = {};
9
+ for (var name in all) __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true
12
+ });
13
+ __defProp(target, Symbol.toStringTag, { value: "Module" });
14
+ return target;
15
+ };
16
+ /**
17
+ * `$env/dynamic/public`
18
+ * @type {Record<string, string>}
19
+ */
20
+ var public_env = {};
21
+ /** @type {(environment: Record<string, string>) => void} */
22
+ function set_private_env(environment) {}
23
+ /** @type {(environment: Record<string, string>) => void} */
24
+ function set_public_env(environment) {
25
+ public_env = environment;
26
+ }
27
+ //#endregion
28
+ //#region \0virtual:__sveltekit/server
29
+ var read_implementation = null;
30
+ function set_read_implementation(fn) {
31
+ read_implementation = fn;
32
+ }
33
+ //#endregion
34
+ //#region node_modules/.pnpm/svelte@5.56.10/node_modules/svelte/src/internal/client/dom/elements/events.js
35
+ /**
36
+ * Used on elements, as a map of event type -> event handler,
37
+ * and on events themselves to track which element handled an event
38
+ */
39
+ var event_symbol = Symbol("events");
40
+ /** @type {Set<string>} */
41
+ var all_registered_events = /* @__PURE__ */ new Set();
42
+ /** @type {Set<(events: Array<string>) => void>} */
43
+ var root_event_handles = /* @__PURE__ */ new Set();
44
+ var last_propagated_event = null;
45
+ var last_propagated_event_clear_scheduled = false;
46
+ /**
47
+ * @this {EventTarget}
48
+ * @param {Event} event
49
+ * @returns {void}
50
+ */
51
+ function handle_event_propagation(event) {
52
+ var handler_element = this;
53
+ var owner_document = handler_element.ownerDocument;
54
+ var event_name = event.type;
55
+ var path = event.composedPath?.() || [];
56
+ var current_target = path[0] || event.target;
57
+ last_propagated_event = event;
58
+ if (!last_propagated_event_clear_scheduled) {
59
+ last_propagated_event_clear_scheduled = true;
60
+ setTimeout(() => {
61
+ last_propagated_event_clear_scheduled = false;
62
+ last_propagated_event = null;
63
+ });
64
+ }
65
+ var path_idx = 0;
66
+ var handled_at = last_propagated_event === event && event[event_symbol];
67
+ if (handled_at) {
68
+ var at_idx = path.indexOf(handled_at);
69
+ if (at_idx !== -1 && (handler_element === document || handler_element === window)) {
70
+ event[event_symbol] = handler_element;
71
+ return;
72
+ }
73
+ var handler_idx = path.indexOf(handler_element);
74
+ if (handler_idx === -1) return;
75
+ if (at_idx <= handler_idx) path_idx = at_idx;
76
+ }
77
+ current_target = path[path_idx] || event.target;
78
+ if (current_target === handler_element) return;
79
+ define_property(event, "currentTarget", {
80
+ configurable: true,
81
+ get() {
82
+ return current_target || owner_document;
83
+ }
84
+ });
85
+ var previous_reaction = active_reaction;
86
+ var previous_effect = active_effect;
87
+ set_active_reaction(null);
88
+ set_active_effect(null);
89
+ try {
90
+ /**
91
+ * @type {unknown}
92
+ */
93
+ var throw_error;
94
+ /**
95
+ * @type {unknown[]}
96
+ */
97
+ var other_errors = [];
98
+ while (current_target !== null) {
99
+ if (current_target === handler_element) break;
100
+ try {
101
+ var delegated = current_target[event_symbol]?.[event_name];
102
+ if (delegated != null && (!current_target.disabled || event.target === current_target)) delegated.call(current_target, event);
103
+ } catch (error) {
104
+ if (throw_error) other_errors.push(error);
105
+ else throw_error = error;
106
+ }
107
+ if (event.cancelBubble) break;
108
+ path_idx++;
109
+ current_target = path_idx < path.length ? path[path_idx] : null;
110
+ }
111
+ if (throw_error) {
112
+ for (let error of other_errors) queueMicrotask(() => {
113
+ throw error;
114
+ });
115
+ throw throw_error;
116
+ }
117
+ } finally {
118
+ event[event_symbol] = handler_element;
119
+ delete event.currentTarget;
120
+ set_active_reaction(previous_reaction);
121
+ set_active_effect(previous_effect);
122
+ }
123
+ }
124
+ //#endregion
125
+ //#region node_modules/.pnpm/svelte@5.56.10/node_modules/svelte/src/internal/client/dom/template.js
126
+ /**
127
+ * @param {TemplateNode} start
128
+ * @param {TemplateNode | null} end
129
+ */
130
+ function assign_nodes(start, end) {
131
+ var effect = active_effect;
132
+ if (effect.nodes === null) effect.nodes = {
133
+ start,
134
+ end,
135
+ a: null,
136
+ t: null
137
+ };
138
+ }
139
+ /**
140
+ * Mounts a component to the given target and returns the exports and potentially the props (if compiled with `accessors: true`) of the component.
141
+ * Transitions will play during the initial render unless the `intro` option is set to `false`.
142
+ *
143
+ * @template {Record<string, any>} Props
144
+ * @template {Record<string, any>} Exports
145
+ * @param {ComponentType<SvelteComponent<Props>> | Component<Props, Exports, any>} component
146
+ * @param {MountOptions<Props>} options
147
+ * @returns {Exports}
148
+ */
149
+ function mount$1(component, options) {
150
+ return _mount(component, options);
151
+ }
152
+ /**
153
+ * Hydrates a component on the given target and returns the exports and potentially the props (if compiled with `accessors: true`) of the component
154
+ *
155
+ * @template {Record<string, any>} Props
156
+ * @template {Record<string, any>} Exports
157
+ * @param {ComponentType<SvelteComponent<Props>> | Component<Props, Exports, any>} component
158
+ * @param {{} extends Props ? {
159
+ * target: Document | Element | ShadowRoot;
160
+ * props?: Props;
161
+ * events?: Record<string, (e: any) => any>;
162
+ * context?: Map<any, any>;
163
+ * intro?: boolean;
164
+ * recover?: boolean;
165
+ * transformError?: (error: unknown) => unknown;
166
+ * } : {
167
+ * target: Document | Element | ShadowRoot;
168
+ * props: Props;
169
+ * events?: Record<string, (e: any) => any>;
170
+ * context?: Map<any, any>;
171
+ * intro?: boolean;
172
+ * recover?: boolean;
173
+ * transformError?: (error: unknown) => unknown;
174
+ * }} options
175
+ * @returns {Exports}
176
+ */
177
+ function hydrate$1(component, options) {
178
+ init_operations();
179
+ options.intro = options.intro ?? false;
180
+ const target = options.target;
181
+ const was_hydrating = hydrating;
182
+ const previous_hydrate_node = hydrate_node;
183
+ try {
184
+ var anchor = /* @__PURE__ */ get_first_child(target);
185
+ while (anchor && (anchor.nodeType !== 8 || anchor.data !== "[")) anchor = /* @__PURE__ */ get_next_sibling(anchor);
186
+ if (!anchor) throw HYDRATION_ERROR;
187
+ set_hydrating(true);
188
+ set_hydrate_node(anchor);
189
+ const instance = _mount(component, {
190
+ ...options,
191
+ anchor
192
+ });
193
+ set_hydrating(false);
194
+ return instance;
195
+ } catch (error) {
196
+ if (error instanceof Error && error.message.split("\n").some((line) => line.startsWith("https://svelte.dev/e/"))) throw error;
197
+ if (error !== HYDRATION_ERROR) console.warn("Failed to hydrate: ", error);
198
+ if (options.recover === false) hydration_failed();
199
+ init_operations();
200
+ clear_text_content(target);
201
+ set_hydrating(false);
202
+ return mount$1(component, options);
203
+ } finally {
204
+ set_hydrating(was_hydrating);
205
+ set_hydrate_node(previous_hydrate_node);
206
+ }
207
+ }
208
+ /** @type {Map<EventTarget, Map<string, number>>} */
209
+ var listeners = /* @__PURE__ */ new Map();
210
+ /**
211
+ * @template {Record<string, any>} Exports
212
+ * @param {ComponentType<SvelteComponent<any>> | Component<any>} Component
213
+ * @param {MountOptions} options
214
+ * @returns {Exports}
215
+ */
216
+ function _mount(Component, { target, anchor, props = {}, events, context, intro = true, transformError }) {
217
+ init_operations();
218
+ /** @type {Exports} */
219
+ var component = void 0;
220
+ var unmount = component_root(() => {
221
+ var anchor_node = anchor ?? target.appendChild(create_text());
222
+ boundary(anchor_node, { pending: () => {} }, (anchor_node) => {
223
+ push$1({});
224
+ var ctx = component_context;
225
+ if (context) ctx.c = context;
226
+ if (events)
227
+ /** @type {any} */ props.$$events = events;
228
+ if (hydrating) assign_nodes(anchor_node, null);
229
+ component = Component(anchor_node, props) || {};
230
+ if (hydrating) {
231
+ /** @type {Effect & { nodes: EffectNodes }} */ active_effect.nodes.end = hydrate_node;
232
+ if (hydrate_node === null || hydrate_node.nodeType !== 8 || hydrate_node.data !== "]") {
233
+ hydration_mismatch();
234
+ throw HYDRATION_ERROR;
235
+ }
236
+ }
237
+ pop$1();
238
+ }, transformError);
239
+ /** @type {Set<string>} */
240
+ var registered_events = /* @__PURE__ */ new Set();
241
+ /** @param {Array<string>} events */
242
+ var event_handle = (events) => {
243
+ for (var i = 0; i < events.length; i++) {
244
+ var event_name = events[i];
245
+ if (registered_events.has(event_name)) continue;
246
+ registered_events.add(event_name);
247
+ var passive = is_passive_event(event_name);
248
+ for (const node of [target, document]) {
249
+ var counts = listeners.get(node);
250
+ if (counts === void 0) {
251
+ counts = /* @__PURE__ */ new Map();
252
+ listeners.set(node, counts);
253
+ }
254
+ var count = counts.get(event_name);
255
+ if (count === void 0) {
256
+ node.addEventListener(event_name, handle_event_propagation, { passive });
257
+ counts.set(event_name, 1);
258
+ } else counts.set(event_name, count + 1);
259
+ }
260
+ }
261
+ };
262
+ event_handle(array_from(all_registered_events));
263
+ root_event_handles.add(event_handle);
264
+ return () => {
265
+ for (var event_name of registered_events) for (const node of [target, document]) {
266
+ var counts = listeners.get(node);
267
+ var count = counts.get(event_name);
268
+ if (--count == 0) {
269
+ node.removeEventListener(event_name, handle_event_propagation);
270
+ counts.delete(event_name);
271
+ if (counts.size === 0) listeners.delete(node);
272
+ } else counts.set(event_name, count);
273
+ }
274
+ root_event_handles.delete(event_handle);
275
+ if (anchor_node !== anchor) anchor_node.parentNode?.removeChild(anchor_node);
276
+ };
277
+ });
278
+ mounted_components.set(component, unmount);
279
+ return component;
280
+ }
281
+ /**
282
+ * References of the components that were mounted or hydrated.
283
+ * Uses a `WeakMap` to avoid memory leaks.
284
+ */
285
+ var mounted_components = /* @__PURE__ */ new WeakMap();
286
+ /**
287
+ * Unmounts a component that was previously mounted using `mount` or `hydrate`.
288
+ *
289
+ * Since 5.13.0, if `options.outro` is `true`, [transitions](https://svelte.dev/docs/svelte/transition) will play before the component is removed from the DOM.
290
+ *
291
+ * Returns a `Promise` that resolves after transitions have completed if `options.outro` is true, or immediately otherwise (prior to 5.13.0, returns `void`).
292
+ *
293
+ * ```js
294
+ * import { mount, unmount } from 'svelte';
295
+ * import App from './App.svelte';
296
+ *
297
+ * const app = mount(App, { target: document.body });
298
+ *
299
+ * // later...
300
+ * unmount(app, { outro: true });
301
+ * ```
302
+ * @param {Record<string, any>} component
303
+ * @param {{ outro?: boolean }} [options]
304
+ * @returns {Promise<void>}
305
+ */
306
+ function unmount$1(component, options) {
307
+ const fn = mounted_components.get(component);
308
+ if (fn) {
309
+ mounted_components.delete(component);
310
+ return fn(options);
311
+ }
312
+ return Promise.resolve();
313
+ }
314
+ //#endregion
315
+ //#region node_modules/.pnpm/svelte@5.56.10/node_modules/svelte/src/legacy/legacy-client.js
316
+ /** @import { ComponentConstructorOptions, ComponentType, SvelteComponent, Component } from 'svelte' */
317
+ /**
318
+ * Takes the component function and returns a Svelte 4 compatible component constructor.
319
+ *
320
+ * @deprecated Use this only as a temporary solution to migrate your imperative component code to Svelte 5.
321
+ *
322
+ * @template {Record<string, any>} Props
323
+ * @template {Record<string, any>} Exports
324
+ * @template {Record<string, any>} Events
325
+ * @template {Record<string, any>} Slots
326
+ *
327
+ * @param {SvelteComponent<Props, Events, Slots> | Component<Props>} component
328
+ * @returns {ComponentType<SvelteComponent<Props, Events, Slots> & Exports>}
329
+ */
330
+ function asClassComponent$1(component) {
331
+ return class extends Svelte4Component {
332
+ /** @param {any} options */
333
+ constructor(options) {
334
+ super({
335
+ component,
336
+ ...options
337
+ });
338
+ }
339
+ };
340
+ }
341
+ /**
342
+ * Support using the component as both a class and function during the transition period
343
+ * @typedef {{new (o: ComponentConstructorOptions): SvelteComponent;(...args: Parameters<Component<Record<string, any>>>): ReturnType<Component<Record<string, any>, Record<string, any>>>;}} LegacyComponentType
344
+ */
345
+ var Svelte4Component = class {
346
+ /** @type {any} */
347
+ #events;
348
+ /** @type {Record<string, any>} */
349
+ #instance;
350
+ /**
351
+ * @param {ComponentConstructorOptions & {
352
+ * component: any;
353
+ * }} options
354
+ */
355
+ constructor(options) {
356
+ var sources = /* @__PURE__ */ new Map();
357
+ /**
358
+ * @param {string | symbol} key
359
+ * @param {unknown} value
360
+ */
361
+ var add_source = (key, value) => {
362
+ var s = /* @__PURE__ */ mutable_source(value, false, false);
363
+ sources.set(key, s);
364
+ return s;
365
+ };
366
+ const props = new Proxy({
367
+ ...options.props || {},
368
+ $$events: {}
369
+ }, {
370
+ get(target, prop) {
371
+ return get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));
372
+ },
373
+ has(target, prop) {
374
+ if (prop === LEGACY_PROPS) return true;
375
+ get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));
376
+ return Reflect.has(target, prop);
377
+ },
378
+ set(target, prop, value) {
379
+ set(sources.get(prop) ?? add_source(prop, value), value);
380
+ return Reflect.set(target, prop, value);
381
+ }
382
+ });
383
+ this.#instance = (options.hydrate ? hydrate$1 : mount$1)(options.component, {
384
+ target: options.target,
385
+ anchor: options.anchor,
386
+ props,
387
+ context: options.context,
388
+ intro: options.intro ?? false,
389
+ recover: options.recover,
390
+ transformError: options.transformError
391
+ });
392
+ if ((!options?.props?.$$host || options.sync === false)) flushSync();
393
+ this.#events = props.$$events;
394
+ for (const key of Object.keys(this.#instance)) {
395
+ if (key === "$set" || key === "$destroy" || key === "$on") continue;
396
+ define_property(this, key, {
397
+ get() {
398
+ return this.#instance[key];
399
+ },
400
+ /** @param {any} value */
401
+ set(value) {
402
+ this.#instance[key] = value;
403
+ },
404
+ enumerable: true
405
+ });
406
+ }
407
+ this.#instance.$set = (next) => {
408
+ Object.assign(props, next);
409
+ };
410
+ this.#instance.$destroy = () => {
411
+ unmount$1(this.#instance);
412
+ };
413
+ }
414
+ /** @param {Record<string, any>} props */
415
+ $set(props) {
416
+ this.#instance.$set(props);
417
+ }
418
+ /**
419
+ * @param {string} event
420
+ * @param {(...args: any[]) => any} callback
421
+ * @returns {any}
422
+ */
423
+ $on(event, callback) {
424
+ this.#events[event] = this.#events[event] || [];
425
+ /** @param {any[]} args */
426
+ const cb = (...args) => callback.call(this, ...args);
427
+ this.#events[event].push(cb);
428
+ return () => {
429
+ this.#events[event] = this.#events[event].filter(
430
+ /** @param {any} fn */
431
+ (fn) => fn !== cb
432
+ );
433
+ };
434
+ }
435
+ $destroy() {
436
+ this.#instance.$destroy();
437
+ }
438
+ };
439
+ //#endregion
440
+ //#region node_modules/.pnpm/svelte@5.56.10/node_modules/svelte/src/legacy/legacy-server.js
441
+ /** @import { SvelteComponent } from '../index.js' */
442
+ /** @import { Csp } from '#server' */
443
+ /** @typedef {{ head: string, html: string, css: { code: string, map: null }; hashes?: { script: `sha256-${string}`[] } }} LegacyRenderResult */
444
+ /**
445
+ * Takes a Svelte 5 component and returns a Svelte 4 compatible component constructor.
446
+ *
447
+ * @deprecated Use this only as a temporary solution to migrate your imperative component code to Svelte 5.
448
+ *
449
+ * @template {Record<string, any>} Props
450
+ * @template {Record<string, any>} Exports
451
+ * @template {Record<string, any>} Events
452
+ * @template {Record<string, any>} Slots
453
+ *
454
+ * @param {SvelteComponent<Props, Events, Slots>} component
455
+ * @returns {typeof SvelteComponent<Props, Events, Slots> & Exports}
456
+ */
457
+ function asClassComponent(component) {
458
+ const component_constructor = asClassComponent$1(component);
459
+ /** @type {(props?: {}, opts?: { $$slots?: {}; context?: Map<any, any>; csp?: Csp; transformError?: (error: unknown) => unknown }) => LegacyRenderResult & PromiseLike<LegacyRenderResult> } */
460
+ const _render = (props, { context, csp, transformError } = {}) => {
461
+ const result = render(component, {
462
+ props,
463
+ context,
464
+ csp,
465
+ transformError
466
+ });
467
+ const munged = Object.defineProperties({}, {
468
+ css: { value: {
469
+ code: "",
470
+ map: null
471
+ } },
472
+ head: { get: () => result.head },
473
+ html: { get: () => result.body },
474
+ then: {
475
+ /**
476
+ * this is not type-safe, but honestly it's the best I can do right now, and it's a straightforward function.
477
+ *
478
+ * @template TResult1
479
+ * @template [TResult2=never]
480
+ * @param { (value: LegacyRenderResult) => TResult1 } onfulfilled
481
+ * @param { (reason: unknown) => TResult2 } onrejected
482
+ */
483
+ value: (onfulfilled, onrejected) => {
484
+ {
485
+ const user_result = onfulfilled({
486
+ css: munged.css,
487
+ head: munged.head,
488
+ html: munged.html
489
+ });
490
+ return Promise.resolve(user_result);
491
+ }
492
+ } }
493
+ });
494
+ return munged;
495
+ };
496
+ component_constructor.render = _render;
497
+ return component_constructor;
498
+ }
499
+ //#endregion
500
+ //#region node_modules/.pnpm/svelte@5.56.10/node_modules/svelte/src/internal/server/hydratable.js
501
+ /** @import { HydratableLookupEntry } from '#server' */
502
+ /**
503
+ * @template T
504
+ * @param {string} key
505
+ * @param {() => T} fn
506
+ * @returns {T}
507
+ */
508
+ function hydratable(key, fn) {
509
+ experimental_async_required();
510
+ const { hydratable } = get_render_context();
511
+ let entry = hydratable.lookup.get(key);
512
+ if (entry !== void 0) return entry.value;
513
+ const value = fn();
514
+ entry = encode(key, value, hydratable.unresolved_promises);
515
+ hydratable.lookup.set(key, entry);
516
+ return value;
517
+ }
518
+ /**
519
+ * @param {string} key
520
+ * @param {any} value
521
+ * @param {Map<Promise<any>, string>} [unresolved]
522
+ */
523
+ function encode(key, value, unresolved) {
524
+ /** @type {HydratableLookupEntry} */
525
+ const entry = {
526
+ value,
527
+ serialized: ""
528
+ };
529
+ let uid = 1;
530
+ entry.serialized = uneval(entry.value, (value, uneval) => {
531
+ if (is_promise(value)) {
532
+ const placeholder = `"${uid++}"`;
533
+ const p = value.then((v) => {
534
+ entry.serialized = entry.serialized.replace(placeholder, () => `r(${uneval(v)})`);
535
+ }).catch((devalue_error) => hydratable_serialization_failed(key, serialization_stack(entry.stack, devalue_error?.stack)));
536
+ p.catch(() => {}).finally(() => unresolved?.delete(p));
537
+ (entry.promises ??= []).push(p);
538
+ return placeholder;
539
+ }
540
+ });
541
+ return entry;
542
+ }
543
+ /**
544
+ * @param {any} value
545
+ * @returns {value is Promise<any>}
546
+ */
547
+ function is_promise(value) {
548
+ return Object.prototype.toString.call(value) === "[object Promise]";
549
+ }
550
+ /**
551
+ * @param {string | undefined} root_stack
552
+ * @param {string | undefined} uneval_stack
553
+ */
554
+ function serialization_stack(root_stack, uneval_stack) {
555
+ let out = "";
556
+ if (root_stack) out += root_stack + "\n";
557
+ if (uneval_stack) out += "Caused by:\n" + uneval_stack + "\n";
558
+ return out || "<missing stack trace>";
559
+ }
560
+ //#endregion
561
+ //#region node_modules/.pnpm/svelte@5.56.10/node_modules/svelte/src/internal/server/blocks/snippet.js
562
+ /** @import { Snippet } from 'svelte' */
563
+ /** @import { Renderer } from '../renderer' */
564
+ /** @import { Getters } from '#shared' */
565
+ /**
566
+ * Create a snippet programmatically
567
+ * @template {unknown[]} Params
568
+ * @param {(...params: Getters<Params>) => {
569
+ * render: () => string
570
+ * setup?: (element: Element) => void | (() => void)
571
+ * }} fn
572
+ * @returns {Snippet<Params>}
573
+ */
574
+ function createRawSnippet(fn) {
575
+ return (renderer, ...args) => {
576
+ var getters = args.map((value) => () => value);
577
+ renderer.push(fn(...getters).render().trim());
578
+ };
579
+ }
580
+ //#endregion
581
+ //#region node_modules/.pnpm/svelte@5.56.10/node_modules/svelte/src/index-server.js
582
+ /** @import { SSRContext } from '#server' */
583
+ /** @import { Renderer } from './internal/server/renderer.js' */
584
+ var index_server_exports = /* @__PURE__ */ __exportAll({
585
+ afterUpdate: () => noop,
586
+ beforeUpdate: () => noop,
587
+ createContext: () => createContext,
588
+ createEventDispatcher: () => createEventDispatcher,
589
+ createRawSnippet: () => createRawSnippet,
590
+ flushSync: () => noop,
591
+ fork: () => fork,
592
+ getAbortSignal: () => getAbortSignal,
593
+ getAllContexts: () => getAllContexts,
594
+ getContext: () => getContext,
595
+ hasContext: () => hasContext,
596
+ hydratable: () => hydratable,
597
+ hydrate: () => hydrate,
598
+ mount: () => mount,
599
+ onDestroy: () => onDestroy,
600
+ onMount: () => noop,
601
+ setContext: () => setContext,
602
+ settled: () => settled,
603
+ tick: () => tick,
604
+ unmount: () => unmount,
605
+ untrack: () => run
606
+ });
607
+ /** @param {() => void} fn */
608
+ function onDestroy(fn) {
609
+ /** @type {Renderer} */ ssr_context.r.on_destroy(fn);
610
+ }
611
+ function createEventDispatcher() {
612
+ return noop;
613
+ }
614
+ function mount() {
615
+ lifecycle_function_unavailable("mount");
616
+ }
617
+ function hydrate() {
618
+ lifecycle_function_unavailable("hydrate");
619
+ }
620
+ function unmount() {
621
+ lifecycle_function_unavailable("unmount");
622
+ }
623
+ function fork() {
624
+ lifecycle_function_unavailable("fork");
625
+ }
626
+ async function tick() {}
627
+ async function settled() {}
628
+ //#endregion
629
+ //#region .svelte-kit/generated/root.svelte
630
+ function Root($$renderer, $$props) {
631
+ $$renderer.component(($$renderer) => {
632
+ let { stores, page, constructors, components = [], form, data_0 = null, data_1 = null } = $$props;
633
+ setContext("__svelte__", stores);
634
+ stores.page.set(page);
635
+ const Pyramid_1 = derived(() => constructors[1]);
636
+ if (constructors[1]) {
637
+ $$renderer.push("<!--[0-->");
638
+ const Pyramid_0 = constructors[0];
639
+ if (Pyramid_0) {
640
+ $$renderer.push("<!--[-->");
641
+ Pyramid_0($$renderer, {
642
+ data: data_0,
643
+ form,
644
+ params: page.params,
645
+ children: ($$renderer) => {
646
+ if (Pyramid_1()) {
647
+ $$renderer.push("<!--[-->");
648
+ Pyramid_1()($$renderer, {
649
+ data: data_1,
650
+ form,
651
+ params: page.params
652
+ });
653
+ $$renderer.push("<!--]-->");
654
+ } else {
655
+ $$renderer.push("<!--[!-->");
656
+ $$renderer.push("<!--]-->");
657
+ }
658
+ },
659
+ $$slots: { default: true }
660
+ });
661
+ $$renderer.push("<!--]-->");
662
+ } else {
663
+ $$renderer.push("<!--[!-->");
664
+ $$renderer.push("<!--]-->");
665
+ }
666
+ } else {
667
+ $$renderer.push("<!--[-1-->");
668
+ const Pyramid_0 = constructors[0];
669
+ if (Pyramid_0) {
670
+ $$renderer.push("<!--[-->");
671
+ Pyramid_0($$renderer, {
672
+ data: data_0,
673
+ form,
674
+ params: page.params
675
+ });
676
+ $$renderer.push("<!--]-->");
677
+ } else {
678
+ $$renderer.push("<!--[!-->");
679
+ $$renderer.push("<!--]-->");
680
+ }
681
+ }
682
+ $$renderer.push(`<!--]--> `);
683
+ $$renderer.push("<!--[-1-->");
684
+ $$renderer.push(`<!--]-->`);
685
+ });
686
+ }
687
+ //#endregion
688
+ //#region .svelte-kit/generated/root.js
689
+ var root_default = asClassComponent(Root);
690
+ //#endregion
691
+ //#region .svelte-kit/generated/shared/error-template.js
692
+ var error_template_default = ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <title>" + message + "</title>\n\n <style>\n body {\n --bg: white;\n --fg: #222;\n --divider: #ccc;\n background: var(--bg);\n color: var(--fg);\n font-family:\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n Roboto,\n Oxygen,\n Ubuntu,\n Cantarell,\n 'Open Sans',\n 'Helvetica Neue',\n sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100vh;\n margin: 0;\n }\n\n .error {\n display: flex;\n align-items: center;\n max-width: 32rem;\n margin: 0 1rem;\n }\n\n .status {\n font-weight: 200;\n font-size: 3rem;\n line-height: 1;\n position: relative;\n top: -0.05rem;\n }\n\n .message {\n border-left: 1px solid var(--divider);\n padding: 0 0 0 1rem;\n margin: 0 0 0 1rem;\n min-height: 2.5rem;\n display: flex;\n align-items: center;\n }\n\n .message h1 {\n font-weight: 400;\n font-size: 1em;\n margin: 0;\n }\n\n @media (prefers-color-scheme: dark) {\n body {\n --bg: #222;\n --fg: #ddd;\n --divider: #666;\n }\n }\n </style>\n </head>\n <body>\n <div class=\"error\">\n <span class=\"status\">" + status + "</span>\n <div class=\"message\">\n <h1>" + message + "</h1>\n </div>\n </div>\n </body>\n</html>\n";
693
+ //#endregion
694
+ //#region .svelte-kit/generated/server/internal.js
695
+ var options = {
696
+ app_template_contains_nonce: false,
697
+ async: false,
698
+ csp: {
699
+ "mode": "auto",
700
+ "directives": {
701
+ "upgrade-insecure-requests": false,
702
+ "block-all-mixed-content": false
703
+ },
704
+ "reportOnly": {
705
+ "upgrade-insecure-requests": false,
706
+ "block-all-mixed-content": false
707
+ }
708
+ },
709
+ csrf_check_origin: true,
710
+ csrf_trusted_origins: [],
711
+ embedded: false,
712
+ env_public_prefix: "PUBLIC_",
713
+ env_private_prefix: "",
714
+ hash_routing: false,
715
+ hooks: null,
716
+ preload_strategy: "modulepreload",
717
+ root: root_default,
718
+ service_worker: false,
719
+ service_worker_options: void 0,
720
+ server_error_boundaries: false,
721
+ templates: {
722
+ app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <link rel=\"icon\" href=\"" + assets + "/favicon.svg\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n " + head + "\n </head>\n <body data-sveltekit-preload-data=\"tap\">\n <div style=\"display: contents\">" + body + "</div>\n </body>\n</html>\n",
723
+ error: error_template_default
724
+ },
725
+ version_hash: "1azb2gg"
726
+ };
727
+ async function get_hooks() {
728
+ let handle;
729
+ let handleFetch;
730
+ let handleError;
731
+ let handleValidationError;
732
+ let init;
733
+ let reroute;
734
+ let transport;
735
+ return {
736
+ handle,
737
+ handleFetch,
738
+ handleError,
739
+ handleValidationError,
740
+ init,
741
+ reroute,
742
+ transport
743
+ };
744
+ }
745
+
746
+ export { __commonJSMin as _, set_public_env as a, set_read_implementation as b, get_hooks as g, index_server_exports as i, options as o, public_env as p, read_implementation as r, set_private_env as s };
747
+ //# sourceMappingURL=internal.js-CQzEjdyk.js.map