thursday-agent 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/prerender-manifest.json +3 -3
  4. package/.next/server/app/_global-error/page.js.nft.json +1 -1
  5. package/.next/server/app/_global-error.html +1 -1
  6. package/.next/server/app/_global-error.rsc +1 -1
  7. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  10. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  11. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/_not-found.html +1 -1
  13. package/.next/server/app/_not-found.rsc +2 -2
  14. package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  15. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  16. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  17. package/.next/server/app/api/artifact/route.js.nft.json +1 -1
  18. package/.next/server/app/api/bot/keep-working/route.js.nft.json +1 -1
  19. package/.next/server/app/api/bot/memory/files/route.js.nft.json +1 -1
  20. package/.next/server/app/api/bot/memory/route.js.nft.json +1 -1
  21. package/.next/server/app/api/bot/route.js.nft.json +1 -1
  22. package/.next/server/app/api/bot/thread/[id]/route.js.nft.json +1 -1
  23. package/.next/server/app/api/bot/thread/route.js.nft.json +1 -1
  24. package/.next/server/app/api/config/route.js.nft.json +1 -1
  25. package/.next/server/app/api/events/route.js.nft.json +1 -1
  26. package/.next/server/app/api/favicon/[host]/route.js.nft.json +1 -1
  27. package/.next/server/app/api/file/[...path]/route.js.nft.json +1 -1
  28. package/.next/server/app/api/llm-model/catalog/route.js.nft.json +1 -1
  29. package/.next/server/app/api/llm-model/credits/route.js.nft.json +1 -1
  30. package/.next/server/app/api/llm-model/route.js.nft.json +1 -1
  31. package/.next/server/app/api/llm-model/subscription/route.js.nft.json +1 -1
  32. package/.next/server/app/api/mcp/[name]/route.js.nft.json +1 -1
  33. package/.next/server/app/api/mcp/oauth/callback/route.js.nft.json +1 -1
  34. package/.next/server/app/api/mcp/route.js.nft.json +1 -1
  35. package/.next/server/app/api/mcp/tools/route.js.nft.json +1 -1
  36. package/.next/server/app/api/memory/edit/route.js +1 -1
  37. package/.next/server/app/api/memory/edit/route.js.nft.json +1 -1
  38. package/.next/server/app/api/memory/route.js.nft.json +1 -1
  39. package/.next/server/app/api/probe/route.js.nft.json +1 -1
  40. package/.next/server/app/api/reach/route.js +11 -11
  41. package/.next/server/app/api/reach/route.js.nft.json +1 -1
  42. package/.next/server/app/api/routine/route.js +6 -6
  43. package/.next/server/app/api/routine/route.js.nft.json +1 -1
  44. package/.next/server/app/api/signins/route.js.nft.json +1 -1
  45. package/.next/server/app/api/skills/[source]/[name]/route.js.nft.json +1 -1
  46. package/.next/server/app/api/skills/route.js.nft.json +1 -1
  47. package/.next/server/app/api/thursday/call/route.js.nft.json +1 -1
  48. package/.next/server/app/api/thursday/skills/route.js.nft.json +1 -1
  49. package/.next/server/app/api/thursday/text/route.js +11 -11
  50. package/.next/server/app/api/thursday/text/route.js.nft.json +1 -1
  51. package/.next/server/app/api/thursday/tool-call/route.js +6 -6
  52. package/.next/server/app/api/thursday/tool-call/route.js.nft.json +1 -1
  53. package/.next/server/app/api/workspace/files/route.js.nft.json +1 -1
  54. package/.next/server/app/api/workspace/route.js.nft.json +1 -1
  55. package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +1 -1
  56. package/.next/server/app/artifact/[...path]/page.js.nft.json +1 -1
  57. package/.next/server/app/artifact/[...path]/page_client-reference-manifest.js +1 -1
  58. package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  59. package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  60. package/.next/server/app/page/server-reference-manifest.json +56 -56
  61. package/.next/server/app/page.js +3 -3
  62. package/.next/server/app/page.js.nft.json +1 -1
  63. package/.next/server/app/page_client-reference-manifest.js +1 -1
  64. package/.next/server/chunks/[root-of-the-server]__012s2o8._.js +1 -1
  65. package/.next/server/chunks/[root-of-the-server]__04r4h-2._.js +1 -1
  66. package/.next/server/chunks/[root-of-the-server]__0mrk2it._.js +1 -1
  67. package/.next/server/chunks/[root-of-the-server]__0nmhgeo._.js +3 -0
  68. package/.next/server/chunks/[root-of-the-server]__1fy2g82._.js +3 -0
  69. package/.next/server/chunks/[root-of-the-server]__1ndi14y._.js +1 -1
  70. package/.next/server/chunks/[root-of-the-server]__1nmflqk._.js +3 -0
  71. package/.next/server/chunks/[root-of-the-server]__1v7-zke._.js +1 -1
  72. package/.next/server/chunks/[root-of-the-server]__1wnzmx9._.js +3 -0
  73. package/.next/server/chunks/[root-of-the-server]__1xv-5cq._.js +1 -1
  74. package/.next/server/chunks/[root-of-the-server]__1ygplx1._.js +1 -1
  75. package/.next/server/chunks/_05v8k21._.js +1 -1
  76. package/.next/server/chunks/_0awtznl._.js +4 -4
  77. package/.next/server/chunks/_0k6qjcf._.js +1 -1
  78. package/.next/server/chunks/_0na2fj1._.js +5 -5
  79. package/.next/server/chunks/_0x-ej3f._.js +21 -21
  80. package/.next/server/chunks/_1dc_d1q._.js +22 -20
  81. package/.next/server/chunks/_1jc5g4p._.js +2 -2
  82. package/.next/server/chunks/_1jn-aep._.js +50 -48
  83. package/.next/server/chunks/{_1u8ygbz._.js → _1m88lkh._.js} +7 -7
  84. package/.next/server/chunks/_1uuucy-._.js +4 -4
  85. package/.next/server/chunks/_1v9r2ke._.js +1 -1
  86. package/.next/server/chunks/ssr/{[root-of-the-server]__1h4bnrf._.js → [root-of-the-server]__0oo-wlv._.js} +2 -2
  87. package/.next/server/chunks/ssr/{[root-of-the-server]__1kyi568._.js → [root-of-the-server]__0tvavy9._.js} +1 -1
  88. package/.next/server/chunks/ssr/[root-of-the-server]__0tzekbl._.js +1 -1
  89. package/.next/server/chunks/ssr/[root-of-the-server]__0zuns7e._.js +3 -0
  90. package/.next/server/chunks/ssr/[root-of-the-server]__1se25x0._.js +1 -1
  91. package/.next/server/chunks/ssr/{_1i3ddn7._.js → _05pl_u8._.js} +1 -1
  92. package/.next/server/chunks/ssr/_070nv1_._.js +3 -0
  93. package/.next/server/chunks/ssr/_097-ljd._.js +1 -1
  94. package/.next/server/chunks/ssr/_0dshsh4._.js +3 -0
  95. package/.next/server/chunks/ssr/_0fqhhwi._.js +1 -1
  96. package/.next/server/chunks/ssr/{_0z8jpch._.js → _0ital-2._.js} +2 -2
  97. package/.next/server/chunks/ssr/{_19g570d._.js → _0kjj5ts._.js} +3 -3
  98. package/.next/server/chunks/ssr/{_1nod5hh._.js → _0l_mcfz._.js} +2 -2
  99. package/.next/server/chunks/ssr/_0ld9_qq._.js +1 -1
  100. package/.next/server/chunks/ssr/_0ltz2q5._.js +3 -0
  101. package/.next/server/chunks/ssr/_0scf7xy._.js +3 -0
  102. package/.next/server/chunks/ssr/_0u5xv6g._.js +3 -0
  103. package/.next/server/chunks/ssr/{_0ewory0._.js → _0urj3mc._.js} +2 -2
  104. package/.next/server/chunks/ssr/{_0pm-2p-._.js → _1-zyvdb._.js} +2 -2
  105. package/.next/server/chunks/ssr/{_1_rqu8x._.js → _12mijol._.js} +7 -7
  106. package/.next/server/chunks/ssr/_15zqt-t._.js +1 -1
  107. package/.next/server/chunks/ssr/_184327j._.js +1 -1
  108. package/.next/server/chunks/ssr/{_1y-ea28._.js → _1a-nuxx._.js} +2 -2
  109. package/.next/server/chunks/ssr/_1alxym6._.js +3 -0
  110. package/.next/server/chunks/ssr/{_0hzz82u._.js → _1d423aj._.js} +25 -23
  111. package/.next/server/chunks/ssr/{_1u1mxu9._.js → _1flbs77._.js} +2 -2
  112. package/.next/server/chunks/ssr/_1mqn9mc._.js +1 -1
  113. package/.next/server/chunks/ssr/_1neoj22._.js +1 -1
  114. package/.next/server/chunks/ssr/{_1oijqjw._.js → _1tmu8z-._.js} +2 -2
  115. package/.next/server/chunks/ssr/{_10y6r1n._.js → _1uy0xom._.js} +3 -3
  116. package/.next/server/chunks/ssr/_1x-kojb._.js +20 -0
  117. package/.next/server/chunks/ssr/_1xoch6f._.js +1 -1
  118. package/.next/server/chunks/ssr/_1z74dmq._.js +164 -0
  119. package/.next/server/chunks/ssr/features_bot_1nr94ks._.js +3 -0
  120. package/.next/server/chunks/ssr/features_bot_1s_-2vj._.js +1 -1
  121. package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +1 -1
  122. package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +1 -1
  123. package/.next/server/chunks/ssr/features_routine_components_routine-setting_tsx_055fknz._.js +1 -1
  124. package/.next/server/chunks/ssr/{node_modules_111sh9o._.js → node_modules_03d0rfz._.js} +1 -1
  125. package/.next/server/chunks/ssr/{node_modules_0lg75qx._.js → node_modules_04_sbbc._.js} +1 -1
  126. package/.next/server/chunks/ssr/{node_modules_10gbm2y._.js → node_modules_05ybmta._.js} +1 -1
  127. package/.next/server/chunks/ssr/{node_modules_1v9tc1c._.js → node_modules_068ws5v._.js} +1 -1
  128. package/.next/server/chunks/ssr/{node_modules_1_8mv4v._.js → node_modules_06bb4q8._.js} +1 -1
  129. package/.next/server/chunks/ssr/{node_modules_01f8_se._.js → node_modules_07rs_p2._.js} +1 -1
  130. package/.next/server/chunks/ssr/{node_modules_0ii1l89._.js → node_modules_0dzm4um._.js} +1 -1
  131. package/.next/server/chunks/ssr/{node_modules_20xmwtu._.js → node_modules_0jljel9._.js} +1 -1
  132. package/.next/server/chunks/ssr/{node_modules_1ix-g49._.js → node_modules_0sgy-dc._.js} +1 -1
  133. package/.next/server/chunks/ssr/{node_modules_0woscox._.js → node_modules_0t_ez6-._.js} +1 -1
  134. package/.next/server/chunks/ssr/{node_modules_059vtf2._.js → node_modules_0th357h._.js} +1 -1
  135. package/.next/server/chunks/ssr/{node_modules_06w645b._.js → node_modules_0ubdtk-._.js} +1 -1
  136. package/.next/server/chunks/ssr/{node_modules_0b8df3s._.js → node_modules_0uyh_vb._.js} +1 -1
  137. package/.next/server/chunks/ssr/{node_modules_07ih6wb._.js → node_modules_0wnlddw._.js} +1 -1
  138. package/.next/server/chunks/ssr/{node_modules_0gt-uw9._.js → node_modules_0x630an._.js} +1 -1
  139. package/.next/server/chunks/ssr/{node_modules_1x825hz._.js → node_modules_0yvz9e0._.js} +1 -1
  140. package/.next/server/chunks/ssr/{node_modules_0t-44lj._.js → node_modules_12et8d5._.js} +1 -1
  141. package/.next/server/chunks/ssr/{node_modules_1m3gb16._.js → node_modules_13kwejm._.js} +1 -1
  142. package/.next/server/chunks/ssr/{node_modules_1p9rdsy._.js → node_modules_1af3w91._.js} +1 -1
  143. package/.next/server/chunks/ssr/{node_modules_0sz5yg1._.js → node_modules_1bucjlk._.js} +1 -1
  144. package/.next/server/chunks/ssr/{node_modules_1teyzfa._.js → node_modules_1lkix61._.js} +1 -1
  145. package/.next/server/chunks/ssr/{node_modules_1lsyy7k._.js → node_modules_1ogczzz._.js} +1 -1
  146. package/.next/server/chunks/ssr/{node_modules_1-7qawg._.js → node_modules_1s-gb-1._.js} +1 -1
  147. package/.next/server/chunks/ssr/{node_modules_0yv-re6._.js → node_modules_1uwg-gz._.js} +1 -1
  148. package/.next/server/chunks/ssr/{node_modules_03ptrl9._.js → node_modules_1wbkzl9._.js} +1 -1
  149. package/.next/server/chunks/ssr/{node_modules_00jv9_3._.js → node_modules_1z1lrbk._.js} +1 -1
  150. package/.next/server/chunks/ssr/{node_modules_@base-ui_react_0jne69c._.js → node_modules_@base-ui_react_0buz1-j._.js} +1 -1
  151. package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_00q1oa3._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0r443fh._.js} +1 -1
  152. package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1-2_5z7._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_10wnlbk._.js} +1 -1
  153. package/.next/server/middleware-build-manifest.js +3 -3
  154. package/.next/server/pages/404.html +1 -1
  155. package/.next/server/pages/500.html +1 -1
  156. package/.next/server/server-reference-manifest.js +1 -1
  157. package/.next/server/server-reference-manifest.json +57 -57
  158. package/.next/static/chunks/06nt9tatr-dug.js +1 -0
  159. package/.next/static/chunks/0_awn8tucznxc.js +1 -0
  160. package/.next/static/chunks/{34s52v8f841zo.js → 0ge-hx0ed83a1.js} +1 -1
  161. package/.next/static/chunks/0pda_vf-abwvx.js +1 -0
  162. package/.next/static/chunks/{2u9yjkpkoij75.js → 0qmd8n52hp-6v.js} +1 -1
  163. package/.next/static/chunks/0rowp9rx3qbxu.js +18 -0
  164. package/.next/static/chunks/{1ocy4w0v20a3v.js → 13ixzheqw7o-w.js} +2 -2
  165. package/.next/static/chunks/1grkt5gr8pbg1.js +17 -0
  166. package/.next/static/chunks/{21gf2t_whhurc.js → 1yugpvvi8qrbu.js} +2 -2
  167. package/.next/static/chunks/{1e4yrzs5evq_r.js → 245hb85nsy6j4.js} +1 -1
  168. package/.next/static/chunks/27lkanxvtdn09.js +1 -0
  169. package/.next/static/chunks/{0oz7a68qanm99.js → 27tvv1i-smrck.js} +1 -1
  170. package/.next/static/chunks/{2zhfdbq50ee5i.js → 2c64drdevdla3.js} +1 -1
  171. package/.next/static/chunks/{0k5tkt_qi52kb.js → 2ndw4w4u2x51r.js} +1 -1
  172. package/.next/static/chunks/37j27b3e1gt7r.js +1 -0
  173. package/.next/static/chunks/{2om4lkg86feb4.js → 38301ji-85i30.js} +1 -1
  174. package/.next/static/chunks/{09c13vnqy7al3.js → 3bbzsitgiltnt.js} +2 -2
  175. package/.next/static/chunks/3fec-aeteddr-.js +1 -0
  176. package/.next/static/chunks/3go3hwp1z2_h2.css +1 -0
  177. package/.next/static/chunks/3h2bun3hcggg8.js +1 -0
  178. package/.next/static/chunks/{0g1p98s2pfx2w.js → 3h2e-xv1zxh_f.js} +2 -2
  179. package/.next/static/chunks/3j1y335o95mj7.js +1 -0
  180. package/.next/static/chunks/3obf9n3cxj99k.js +1 -0
  181. package/.next/static/chunks/{2upc9mkcc3nlq.js → 427qsc6kahxyo.js} +1 -1
  182. package/README.md +31 -14
  183. package/bin/port.mjs +11 -7
  184. package/bin/thursday.mjs +1 -1
  185. package/components/ui/radio-group.tsx +2 -2
  186. package/components/ui/shiny-text.tsx +3 -22
  187. package/docs/how-it-works.md +11 -3
  188. package/docs/images/first-run.png +0 -0
  189. package/docs/images/keeps-going.png +0 -0
  190. package/docs/images/two-minds.png +0 -0
  191. package/features/ai/components/model-browser.tsx +1 -1
  192. package/features/ai/components/model-picker.tsx +1 -1
  193. package/features/ai/guide.ts +9 -4
  194. package/features/ai/prompts/bot.prompt.ts +4 -1
  195. package/features/ai/tools/routine.tool.ts +28 -16
  196. package/features/bot/bot.runner.ts +3 -1
  197. package/features/bot/components/bot-mark.tsx +6 -1
  198. package/features/bot/components/bot-setting.tsx +2 -4
  199. package/features/bot/components/bot-tool.tsx +2 -0
  200. package/features/bot/components/room-list.tsx +12 -3
  201. package/features/bot/components/room-pill.tsx +26 -19
  202. package/features/config/components/config-setting.tsx +17 -5
  203. package/features/config/components/voice-key.tsx +38 -18
  204. package/features/connectors/mcp.const.ts +90 -59
  205. package/features/intro/components/intro.tsx +50 -27
  206. package/features/routine/components/routine-mark.tsx +4 -6
  207. package/features/routine/components/routine-setting.tsx +332 -143
  208. package/features/routine/routine.query.ts +24 -3
  209. package/features/routine/routine.schema.ts +55 -4
  210. package/features/settings/components/install-app.tsx +1 -4
  211. package/features/settings/components/setting-ui.tsx +1 -1
  212. package/features/skills/skills.discover.ts +2 -1
  213. package/features/skills/skills.query.ts +5 -1
  214. package/features/skills/skills.schema.ts +2 -0
  215. package/features/thursday/components/ascii-orb.tsx +39 -10
  216. package/features/thursday/components/connect-wave.tsx +284 -0
  217. package/features/thursday/components/side-captions.tsx +29 -17
  218. package/features/thursday/components/thursday-setting.tsx +2 -2
  219. package/features/thursday/components/thursday.tsx +130 -58
  220. package/features/thursday/components/voice-picker.tsx +1 -1
  221. package/features/thursday/components/write-line.tsx +2 -2
  222. package/features/thursday/open-work.ts +11 -3
  223. package/features/thursday/tool-line.ts +94 -12
  224. package/features/thursday/use-text-call.ts +3 -2
  225. package/features/thursday/use-thursday.ts +5 -2
  226. package/features/workspace/components/artifact-view.tsx +129 -7
  227. package/guide/bots.md +17 -5
  228. package/guide/calls.md +15 -7
  229. package/guide/setup.md +10 -2
  230. package/lib/desktop-notify.ts +3 -2
  231. package/package.json +1 -1
  232. package/scripts/bot-context.test.mts +1 -1
  233. package/skills/computer/SKILL.md +1 -0
  234. package/skills/interactive-page/SKILL.md +4 -0
  235. package/.next/server/chunks/[root-of-the-server]__0n-l_n_._.js +0 -3
  236. package/.next/server/chunks/[root-of-the-server]__0wvo2of._.js +0 -3
  237. package/.next/server/chunks/[root-of-the-server]__1e6aut3._.js +0 -3
  238. package/.next/server/chunks/[root-of-the-server]__1ziojdq._.js +0 -3
  239. package/.next/server/chunks/ssr/[root-of-the-server]__1srp8l5._.js +0 -3
  240. package/.next/server/chunks/ssr/_0mes4s0._.js +0 -3
  241. package/.next/server/chunks/ssr/_0ya0cb0._.js +0 -3
  242. package/.next/server/chunks/ssr/_0yto5s7._.js +0 -20
  243. package/.next/server/chunks/ssr/_10dw2nv._.js +0 -3
  244. package/.next/server/chunks/ssr/_1p0gxeo._.js +0 -164
  245. package/.next/server/chunks/ssr/_1r41yvh._.js +0 -3
  246. package/.next/server/chunks/ssr/_1r79ksv._.js +0 -3
  247. package/.next/server/chunks/ssr/features_bot_1ogjt52._.js +0 -3
  248. package/.next/server/chunks/ssr/node_modules_@base-ui_react_0b3d4m9._.js +0 -3
  249. package/.next/static/chunks/03omwz_vi2ndg.js +0 -1
  250. package/.next/static/chunks/0_1bqgd6wt_og.js +0 -1
  251. package/.next/static/chunks/0abgkzikaznxc.js +0 -1
  252. package/.next/static/chunks/0bddkpash59-o.js +0 -17
  253. package/.next/static/chunks/0c2-bzhy3a0ib.js +0 -1
  254. package/.next/static/chunks/0iilfb1ocevnx.js +0 -1
  255. package/.next/static/chunks/0imbhx-j830a_.css +0 -1
  256. package/.next/static/chunks/24h1y9dhy3m_2.js +0 -1
  257. package/.next/static/chunks/2be08eqxsfc1y.js +0 -1
  258. package/.next/static/chunks/2d3yhjtafgmtw.js +0 -1
  259. package/.next/static/chunks/2f_5saocsko_b.js +0 -1
  260. package/.next/static/chunks/2lwbr5vx0ixaj.js +0 -18
  261. package/.next/static/chunks/44kjmi5h_p8px.js +0 -1
  262. /package/.next/static/{UiOMPYpQ4fqGyu5PzS-7j → u8kJqShUAa49vY7BxAWsw}/_buildManifest.js +0 -0
  263. /package/.next/static/{UiOMPYpQ4fqGyu5PzS-7j → u8kJqShUAa49vY7BxAWsw}/_clientMiddlewareManifest.js +0 -0
  264. /package/.next/static/{UiOMPYpQ4fqGyu5PzS-7j → u8kJqShUAa49vY7BxAWsw}/_ssgManifest.js +0 -0
@@ -1,3 +1,3 @@
1
1
  globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
2
- globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":""},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":339756,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":837457,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":347257,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":768017,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":897367,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/client/script.js":{"id":479520,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/app/api/events/app-event.client.ts":{"id":511769,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/components/ui/theme-sync.tsx":{"id":881283,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/components/ui/toast.tsx":{"id":6799,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":168027,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/features/intro/components/intro.tsx":{"id":302707,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js","/_next/static/chunks/2u9yjkpkoij75.js","/_next/static/chunks/0abgkzikaznxc.js","/_next/static/chunks/0iilfb1ocevnx.js","/_next/static/chunks/34s52v8f841zo.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/0c2-bzhy3a0ib.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/1ocy4w0v20a3v.js","/_next/static/chunks/2lwbr5vx0ixaj.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/24h1y9dhy3m_2.js","/_next/static/chunks/0_1bqgd6wt_og.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0ev4hyghq0mbb.js","/_next/static/chunks/2p2pqpub-48me.js","/_next/static/chunks/0bddkpash59-o.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/1i5pmx0b-xvcb.js","/_next/static/chunks/23nfu5g4vl_m7.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/0k5tkt_qi52kb.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/2f_5saocsko_b.js","/_next/static/chunks/1g9yyvculuxj2.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/21gf2t_whhurc.js"],"async":true},"[project]/features/reach/components/reach-ask.tsx":{"id":756958,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js","/_next/static/chunks/2u9yjkpkoij75.js","/_next/static/chunks/0abgkzikaznxc.js","/_next/static/chunks/0iilfb1ocevnx.js","/_next/static/chunks/34s52v8f841zo.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/0c2-bzhy3a0ib.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/1ocy4w0v20a3v.js","/_next/static/chunks/2lwbr5vx0ixaj.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/24h1y9dhy3m_2.js","/_next/static/chunks/0_1bqgd6wt_og.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0ev4hyghq0mbb.js","/_next/static/chunks/2p2pqpub-48me.js","/_next/static/chunks/0bddkpash59-o.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/1i5pmx0b-xvcb.js","/_next/static/chunks/23nfu5g4vl_m7.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/0k5tkt_qi52kb.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/2f_5saocsko_b.js","/_next/static/chunks/1g9yyvculuxj2.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/21gf2t_whhurc.js"],"async":false},"[project]/features/thursday/components/boot.tsx":{"id":252284,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js","/_next/static/chunks/2u9yjkpkoij75.js","/_next/static/chunks/0abgkzikaznxc.js","/_next/static/chunks/0iilfb1ocevnx.js","/_next/static/chunks/34s52v8f841zo.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/0c2-bzhy3a0ib.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/1ocy4w0v20a3v.js","/_next/static/chunks/2lwbr5vx0ixaj.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/24h1y9dhy3m_2.js","/_next/static/chunks/0_1bqgd6wt_og.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0ev4hyghq0mbb.js","/_next/static/chunks/2p2pqpub-48me.js","/_next/static/chunks/0bddkpash59-o.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/1i5pmx0b-xvcb.js","/_next/static/chunks/23nfu5g4vl_m7.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/0k5tkt_qi52kb.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/2f_5saocsko_b.js","/_next/static/chunks/1g9yyvculuxj2.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/21gf2t_whhurc.js"],"async":false},"[project]/features/thursday/components/thursday.tsx":{"id":692888,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js","/_next/static/chunks/2u9yjkpkoij75.js","/_next/static/chunks/0abgkzikaznxc.js","/_next/static/chunks/0iilfb1ocevnx.js","/_next/static/chunks/34s52v8f841zo.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/0c2-bzhy3a0ib.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/1ocy4w0v20a3v.js","/_next/static/chunks/2lwbr5vx0ixaj.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/24h1y9dhy3m_2.js","/_next/static/chunks/0_1bqgd6wt_og.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0ev4hyghq0mbb.js","/_next/static/chunks/2p2pqpub-48me.js","/_next/static/chunks/0bddkpash59-o.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/1i5pmx0b-xvcb.js","/_next/static/chunks/23nfu5g4vl_m7.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/0k5tkt_qi52kb.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/2f_5saocsko_b.js","/_next/static/chunks/1g9yyvculuxj2.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/21gf2t_whhurc.js"],"async":true}},"ssrModuleMapping":{"339756":{"*":{"id":802420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"837457":{"*":{"id":324017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"347257":{"*":{"id":877682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"92825":{"*":{"id":697296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"768017":{"*":{"id":861660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"897367":{"*":{"id":990574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"27201":{"*":{"id":660704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"479520":{"*":{"id":496665,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"511769":{"*":{"id":986368,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"881283":{"*":{"id":198538,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"6799":{"*":{"id":864037,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"168027":{"*":{"id":340622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js","server/chunks/ssr/node_modules_next_dist_client_components_1bi5-b2._.js"],"async":false}},"302707":{"*":{"id":102928,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js","server/chunks/ssr/_1oijqjw._.js","server/chunks/ssr/_1r79ksv._.js","server/chunks/ssr/_0z8jpch._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_@base-ui_react_0b3d4m9._.js","server/chunks/ssr/_0ya0cb0._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_@base-ui_react_0jne69c._.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/_184327j._.js","server/chunks/ssr/_157yfrk._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/_1p0gxeo._.js","server/chunks/ssr/_15zqt-t._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/_0ewory0._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_10y6r1n._.js","server/chunks/ssr/_0yto5s7._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_1r41yvh._.js","server/chunks/ssr/_1i3ddn7._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/[root-of-the-server]__1h4bnrf._.js"],"async":true}},"756958":{"*":{"id":484267,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js","server/chunks/ssr/_1oijqjw._.js","server/chunks/ssr/_1r79ksv._.js","server/chunks/ssr/_0z8jpch._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_@base-ui_react_0b3d4m9._.js","server/chunks/ssr/_0ya0cb0._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_@base-ui_react_0jne69c._.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/_184327j._.js","server/chunks/ssr/_157yfrk._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/_1p0gxeo._.js","server/chunks/ssr/_15zqt-t._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/_0ewory0._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_10y6r1n._.js","server/chunks/ssr/_0yto5s7._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_1r41yvh._.js","server/chunks/ssr/_1i3ddn7._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/[root-of-the-server]__1h4bnrf._.js"],"async":false}},"252284":{"*":{"id":72962,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js","server/chunks/ssr/_1oijqjw._.js","server/chunks/ssr/_1r79ksv._.js","server/chunks/ssr/_0z8jpch._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_@base-ui_react_0b3d4m9._.js","server/chunks/ssr/_0ya0cb0._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_@base-ui_react_0jne69c._.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/_184327j._.js","server/chunks/ssr/_157yfrk._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/_1p0gxeo._.js","server/chunks/ssr/_15zqt-t._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/_0ewory0._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_10y6r1n._.js","server/chunks/ssr/_0yto5s7._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_1r41yvh._.js","server/chunks/ssr/_1i3ddn7._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/[root-of-the-server]__1h4bnrf._.js"],"async":false}},"692888":{"*":{"id":137079,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js","server/chunks/ssr/_1oijqjw._.js","server/chunks/ssr/_1r79ksv._.js","server/chunks/ssr/_0z8jpch._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_@base-ui_react_0b3d4m9._.js","server/chunks/ssr/_0ya0cb0._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_@base-ui_react_0jne69c._.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/_184327j._.js","server/chunks/ssr/_157yfrk._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/_1p0gxeo._.js","server/chunks/ssr/_15zqt-t._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/_0ewory0._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_10y6r1n._.js","server/chunks/ssr/_0yto5s7._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_1r41yvh._.js","server/chunks/ssr/_1i3ddn7._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/[root-of-the-server]__1h4bnrf._.js"],"async":true}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"339756":{"*":{"id":926768,"name":"*","chunks":[],"async":false}},"837457":{"*":{"id":517910,"name":"*","chunks":[],"async":false}},"347257":{"*":{"id":292977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":348552,"name":"*","chunks":[],"async":false}},"768017":{"*":{"id":683919,"name":"*","chunks":[],"async":false}},"897367":{"*":{"id":724150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":340771,"name":"*","chunks":[],"async":false}},"479520":{"*":{"id":944536,"name":"*","chunks":[],"async":false}},"511769":{"*":{"id":773791,"name":"*","chunks":[],"async":false}},"881283":{"*":{"id":265728,"name":"*","chunks":[],"async":false}},"6799":{"*":{"id":502807,"name":"*","chunks":[],"async":false}},"168027":{"*":{"id":782509,"name":"*","chunks":[],"async":false}},"302707":{"*":{"id":982616,"name":"*","chunks":[],"async":false}},"756958":{"*":{"id":663137,"name":"*","chunks":[],"async":false}},"252284":{"*":{"id":128756,"name":"*","chunks":[],"async":false}},"692888":{"*":{"id":588694,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/app/layout":[{"path":"static/chunks/233p45nuh4m5b.css","inlined":false},{"path":"static/chunks/02omaqvvszea3.css","inlined":false},{"path":"static/chunks/0imbhx-j830a_.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/233p45nuh4m5b.css","inlined":false},{"path":"static/chunks/02omaqvvszea3.css","inlined":false},{"path":"static/chunks/0imbhx-j830a_.css","inlined":false}],"[project]/app/page":[{"path":"static/chunks/233p45nuh4m5b.css","inlined":false},{"path":"static/chunks/02omaqvvszea3.css","inlined":false},{"path":"static/chunks/0imbhx-j830a_.css","inlined":false}]},"entryJSFiles":{"[project]/app/layout":["static/chunks/0vlgzqo9ka90v.js","static/chunks/0c_g4-11sha-1.js","static/chunks/25huyu8ndoo-w.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0vlgzqo9ka90v.js","static/chunks/0c_g4-11sha-1.js","static/chunks/25huyu8ndoo-w.js"],"[project]/app/page":["static/chunks/0vlgzqo9ka90v.js","static/chunks/0c_g4-11sha-1.js","static/chunks/25huyu8ndoo-w.js","static/chunks/2u9yjkpkoij75.js","static/chunks/0abgkzikaznxc.js","static/chunks/0iilfb1ocevnx.js","static/chunks/34s52v8f841zo.js","static/chunks/3t9huugh-5_ps.js","static/chunks/2yp4u469_4i3l.js","static/chunks/0c2-bzhy3a0ib.js","static/chunks/2re701zfx-nrj.js","static/chunks/3l6bwn061vy22.js","static/chunks/1ocy4w0v20a3v.js","static/chunks/2lwbr5vx0ixaj.js","static/chunks/0sqe8zks75fot.js","static/chunks/24h1y9dhy3m_2.js","static/chunks/0_1bqgd6wt_og.js","static/chunks/43q9cgbuw8krx.js","static/chunks/0ev4hyghq0mbb.js","static/chunks/2p2pqpub-48me.js","static/chunks/0bddkpash59-o.js","static/chunks/3sfcixohjbvu5.js","static/chunks/1i5pmx0b-xvcb.js","static/chunks/23nfu5g4vl_m7.js","static/chunks/1d9i8nlx-zy9a.js","static/chunks/0k5tkt_qi52kb.js","static/chunks/1rowt7kr1tu9y.js","static/chunks/33lyk6a4x_hg8.js","static/chunks/0n6rdrjpwcyya.js","static/chunks/0dcfqbly-089u.js","static/chunks/2f_5saocsko_b.js","static/chunks/1g9yyvculuxj2.js","static/chunks/3zgnmu3cnahk0.js","static/chunks/21gf2t_whhurc.js"]}};
2
+ globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":""},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":339756,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":837457,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":347257,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":768017,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":897367,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/client/script.js":{"id":479520,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/app/api/events/app-event.client.ts":{"id":511769,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/components/ui/theme-sync.tsx":{"id":881283,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/components/ui/toast.tsx":{"id":6799,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":168027,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/features/intro/components/intro.tsx":{"id":302707,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js","/_next/static/chunks/0qmd8n52hp-6v.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/3obf9n3cxj99k.js","/_next/static/chunks/06nt9tatr-dug.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/0pda_vf-abwvx.js","/_next/static/chunks/3fec-aeteddr-.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/0ge-hx0ed83a1.js","/_next/static/chunks/1i5pmx0b-xvcb.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/0rowp9rx3qbxu.js","/_next/static/chunks/1yugpvvi8qrbu.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/0ev4hyghq0mbb.js","/_next/static/chunks/1grkt5gr8pbg1.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/2ndw4w4u2x51r.js","/_next/static/chunks/37j27b3e1gt7r.js","/_next/static/chunks/23nfu5g4vl_m7.js","/_next/static/chunks/13ixzheqw7o-w.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/1g9yyvculuxj2.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/2p2pqpub-48me.js"],"async":true},"[project]/features/reach/components/reach-ask.tsx":{"id":756958,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js","/_next/static/chunks/0qmd8n52hp-6v.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/3obf9n3cxj99k.js","/_next/static/chunks/06nt9tatr-dug.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/0pda_vf-abwvx.js","/_next/static/chunks/3fec-aeteddr-.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/0ge-hx0ed83a1.js","/_next/static/chunks/1i5pmx0b-xvcb.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/0rowp9rx3qbxu.js","/_next/static/chunks/1yugpvvi8qrbu.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/0ev4hyghq0mbb.js","/_next/static/chunks/1grkt5gr8pbg1.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/2ndw4w4u2x51r.js","/_next/static/chunks/37j27b3e1gt7r.js","/_next/static/chunks/23nfu5g4vl_m7.js","/_next/static/chunks/13ixzheqw7o-w.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/1g9yyvculuxj2.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/2p2pqpub-48me.js"],"async":false},"[project]/features/thursday/components/boot.tsx":{"id":252284,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js","/_next/static/chunks/0qmd8n52hp-6v.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/3obf9n3cxj99k.js","/_next/static/chunks/06nt9tatr-dug.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/0pda_vf-abwvx.js","/_next/static/chunks/3fec-aeteddr-.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/0ge-hx0ed83a1.js","/_next/static/chunks/1i5pmx0b-xvcb.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/0rowp9rx3qbxu.js","/_next/static/chunks/1yugpvvi8qrbu.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/0ev4hyghq0mbb.js","/_next/static/chunks/1grkt5gr8pbg1.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/2ndw4w4u2x51r.js","/_next/static/chunks/37j27b3e1gt7r.js","/_next/static/chunks/23nfu5g4vl_m7.js","/_next/static/chunks/13ixzheqw7o-w.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/1g9yyvculuxj2.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/2p2pqpub-48me.js"],"async":false},"[project]/features/thursday/components/thursday.tsx":{"id":692888,"name":"*","chunks":["/_next/static/chunks/0vlgzqo9ka90v.js","/_next/static/chunks/0c_g4-11sha-1.js","/_next/static/chunks/25huyu8ndoo-w.js","/_next/static/chunks/0qmd8n52hp-6v.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/3obf9n3cxj99k.js","/_next/static/chunks/06nt9tatr-dug.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/0pda_vf-abwvx.js","/_next/static/chunks/3fec-aeteddr-.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/0ge-hx0ed83a1.js","/_next/static/chunks/1i5pmx0b-xvcb.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/0rowp9rx3qbxu.js","/_next/static/chunks/1yugpvvi8qrbu.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/0ev4hyghq0mbb.js","/_next/static/chunks/1grkt5gr8pbg1.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/2ndw4w4u2x51r.js","/_next/static/chunks/37j27b3e1gt7r.js","/_next/static/chunks/23nfu5g4vl_m7.js","/_next/static/chunks/13ixzheqw7o-w.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/1g9yyvculuxj2.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/2p2pqpub-48me.js"],"async":true}},"ssrModuleMapping":{"339756":{"*":{"id":802420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"837457":{"*":{"id":324017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"347257":{"*":{"id":877682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"92825":{"*":{"id":697296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"768017":{"*":{"id":861660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"897367":{"*":{"id":990574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"27201":{"*":{"id":660704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"479520":{"*":{"id":496665,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"511769":{"*":{"id":986368,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"881283":{"*":{"id":198538,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"6799":{"*":{"id":864037,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js"],"async":false}},"168027":{"*":{"id":340622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js","server/chunks/ssr/node_modules_next_dist_client_components_1bi5-b2._.js"],"async":false}},"302707":{"*":{"id":102928,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js","server/chunks/ssr/_1tmu8z-._.js","server/chunks/ssr/_070nv1_._.js","server/chunks/ssr/_0ital-2._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/_1alxym6._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/_0u5xv6g._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/_1x-kojb._.js","server/chunks/ssr/node_modules_@base-ui_react_0buz1-j._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/_184327j._.js","server/chunks/ssr/_157yfrk._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_1z74dmq._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/_15zqt-t._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/_1uy0xom._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_0dshsh4._.js","server/chunks/ssr/_0urj3mc._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_05pl_u8._.js","server/chunks/ssr/[root-of-the-server]__0oo-wlv._.js"],"async":true}},"756958":{"*":{"id":484267,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js","server/chunks/ssr/_1tmu8z-._.js","server/chunks/ssr/_070nv1_._.js","server/chunks/ssr/_0ital-2._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/_1alxym6._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/_0u5xv6g._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/_1x-kojb._.js","server/chunks/ssr/node_modules_@base-ui_react_0buz1-j._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/_184327j._.js","server/chunks/ssr/_157yfrk._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_1z74dmq._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/_15zqt-t._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/_1uy0xom._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_0dshsh4._.js","server/chunks/ssr/_0urj3mc._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_05pl_u8._.js","server/chunks/ssr/[root-of-the-server]__0oo-wlv._.js"],"async":false}},"252284":{"*":{"id":72962,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js","server/chunks/ssr/_1tmu8z-._.js","server/chunks/ssr/_070nv1_._.js","server/chunks/ssr/_0ital-2._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/_1alxym6._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/_0u5xv6g._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/_1x-kojb._.js","server/chunks/ssr/node_modules_@base-ui_react_0buz1-j._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/_184327j._.js","server/chunks/ssr/_157yfrk._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_1z74dmq._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/_15zqt-t._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/_1uy0xom._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_0dshsh4._.js","server/chunks/ssr/_0urj3mc._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_05pl_u8._.js","server/chunks/ssr/[root-of-the-server]__0oo-wlv._.js"],"async":false}},"692888":{"*":{"id":137079,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1756892._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0evkpto._.js","server/chunks/ssr/_1tmu8z-._.js","server/chunks/ssr/_070nv1_._.js","server/chunks/ssr/_0ital-2._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/_1alxym6._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/_0u5xv6g._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/_1x-kojb._.js","server/chunks/ssr/node_modules_@base-ui_react_0buz1-j._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/_184327j._.js","server/chunks/ssr/_157yfrk._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_1z74dmq._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/_15zqt-t._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/_1uy0xom._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_0dshsh4._.js","server/chunks/ssr/_0urj3mc._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_05pl_u8._.js","server/chunks/ssr/[root-of-the-server]__0oo-wlv._.js"],"async":true}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"339756":{"*":{"id":926768,"name":"*","chunks":[],"async":false}},"837457":{"*":{"id":517910,"name":"*","chunks":[],"async":false}},"347257":{"*":{"id":292977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":348552,"name":"*","chunks":[],"async":false}},"768017":{"*":{"id":683919,"name":"*","chunks":[],"async":false}},"897367":{"*":{"id":724150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":340771,"name":"*","chunks":[],"async":false}},"479520":{"*":{"id":944536,"name":"*","chunks":[],"async":false}},"511769":{"*":{"id":773791,"name":"*","chunks":[],"async":false}},"881283":{"*":{"id":265728,"name":"*","chunks":[],"async":false}},"6799":{"*":{"id":502807,"name":"*","chunks":[],"async":false}},"168027":{"*":{"id":782509,"name":"*","chunks":[],"async":false}},"302707":{"*":{"id":982616,"name":"*","chunks":[],"async":false}},"756958":{"*":{"id":663137,"name":"*","chunks":[],"async":false}},"252284":{"*":{"id":128756,"name":"*","chunks":[],"async":false}},"692888":{"*":{"id":588694,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/app/layout":[{"path":"static/chunks/233p45nuh4m5b.css","inlined":false},{"path":"static/chunks/02omaqvvszea3.css","inlined":false},{"path":"static/chunks/3go3hwp1z2_h2.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/233p45nuh4m5b.css","inlined":false},{"path":"static/chunks/02omaqvvszea3.css","inlined":false},{"path":"static/chunks/3go3hwp1z2_h2.css","inlined":false}],"[project]/app/page":[{"path":"static/chunks/233p45nuh4m5b.css","inlined":false},{"path":"static/chunks/02omaqvvszea3.css","inlined":false},{"path":"static/chunks/3go3hwp1z2_h2.css","inlined":false}]},"entryJSFiles":{"[project]/app/layout":["static/chunks/0vlgzqo9ka90v.js","static/chunks/0c_g4-11sha-1.js","static/chunks/25huyu8ndoo-w.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0vlgzqo9ka90v.js","static/chunks/0c_g4-11sha-1.js","static/chunks/25huyu8ndoo-w.js"],"[project]/app/page":["static/chunks/0vlgzqo9ka90v.js","static/chunks/0c_g4-11sha-1.js","static/chunks/25huyu8ndoo-w.js","static/chunks/0qmd8n52hp-6v.js","static/chunks/2yp4u469_4i3l.js","static/chunks/3obf9n3cxj99k.js","static/chunks/06nt9tatr-dug.js","static/chunks/3t9huugh-5_ps.js","static/chunks/0pda_vf-abwvx.js","static/chunks/3fec-aeteddr-.js","static/chunks/33lyk6a4x_hg8.js","static/chunks/0ge-hx0ed83a1.js","static/chunks/1i5pmx0b-xvcb.js","static/chunks/0dcfqbly-089u.js","static/chunks/43q9cgbuw8krx.js","static/chunks/0sqe8zks75fot.js","static/chunks/0rowp9rx3qbxu.js","static/chunks/1yugpvvi8qrbu.js","static/chunks/3sfcixohjbvu5.js","static/chunks/3zgnmu3cnahk0.js","static/chunks/2re701zfx-nrj.js","static/chunks/0ev4hyghq0mbb.js","static/chunks/1grkt5gr8pbg1.js","static/chunks/3l6bwn061vy22.js","static/chunks/2ndw4w4u2x51r.js","static/chunks/37j27b3e1gt7r.js","static/chunks/23nfu5g4vl_m7.js","static/chunks/13ixzheqw7o-w.js","static/chunks/1rowt7kr1tu9y.js","static/chunks/1g9yyvculuxj2.js","static/chunks/0n6rdrjpwcyya.js","static/chunks/1d9i8nlx-zy9a.js","static/chunks/2p2pqpub-48me.js"]}};
3
3
 
@@ -1,3 +1,3 @@
1
- module.exports=[70729,e=>{e.v(e=>Promise.resolve().then(()=>e(666680)))},522275,e=>{e.v(e=>Promise.resolve().then(()=>e(380690)))},814317,e=>{e.v(e=>Promise.resolve().then(()=>e(265143)))},994193,e=>{e.v(s=>Promise.all(["server/chunks/[externals]_node_timers_promises_1-73689._.js","server/chunks/_1dc_d1q._.js"].map(s=>e.l(s))).then(()=>s(39803)))},866938,e=>{e.v(e=>Promise.resolve().then(()=>e(378884)))},628124,e=>{e.v(e=>Promise.resolve().then(()=>e(629668)))},149325,e=>{e.v(e=>Promise.resolve().then(()=>e(786025)))},967030,e=>{e.v(e=>Promise.resolve().then(()=>e(783697)))},683671,e=>{e.v(s=>Promise.all(["server/chunks/node_modules_@vercel_oidc_dist_token_1o4m7ms.js"].map(s=>e.l(s))).then(()=>s(390391)))},329280,e=>{e.v(s=>Promise.all(["server/chunks/[externals]_node_readline_1u65a-m._.js","server/chunks/node_modules_consola_dist_chunks_prompt_mjs_02axwqv._.js"].map(s=>e.l(s))).then(()=>s(781937)))}];
1
+ module.exports=[70729,e=>{e.v(e=>Promise.resolve().then(()=>e(666680)))},522275,e=>{e.v(e=>Promise.resolve().then(()=>e(380690)))},814317,e=>{e.v(e=>Promise.resolve().then(()=>e(265143)))},994193,e=>{e.v(s=>Promise.all(["server/chunks/[root-of-the-server]__1nmflqk._.js","server/chunks/_1dc_d1q._.js"].map(s=>e.l(s))).then(()=>s(39803)))},866938,e=>{e.v(e=>Promise.resolve().then(()=>e(378884)))},628124,e=>{e.v(e=>Promise.resolve().then(()=>e(629668)))},149325,e=>{e.v(e=>Promise.resolve().then(()=>e(786025)))},967030,e=>{e.v(e=>Promise.resolve().then(()=>e(783697)))},683671,e=>{e.v(s=>Promise.all(["server/chunks/node_modules_@vercel_oidc_dist_token_1o4m7ms.js"].map(s=>e.l(s))).then(()=>s(390391)))},329280,e=>{e.v(s=>Promise.all(["server/chunks/[externals]_node_readline_1u65a-m._.js","server/chunks/node_modules_consola_dist_chunks_prompt_mjs_02axwqv._.js"].map(s=>e.l(s))).then(()=>s(781937)))}];
2
2
 
3
3
  //# sourceMappingURL=%5Broot-of-the-server%5D__012s2o8._.js.map
@@ -1,5 +1,5 @@
1
1
  module.exports=[500874,(e,t,r)=>{t.exports=e.x("buffer",()=>require("buffer"))},233405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},522734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},347299,(e,t,r)=>{t.exports=e.x("node:http",()=>require("node:http"))},446786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},814747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},605365,(e,t,r)=>{t.exports=e.x("process",()=>require("process"))},380690,e=>{"use strict";let t,r,a,n,l,o;var i,s=e.i(687388),c=e.i(640911);let u={threads:!0,routines:!0,memory:!0,mcp:!0,config:!0,reach:!0,signins:!0},d=globalThis,m=d.__appEvents??=(t=new Set,{emit(e){for(let r of[...t])try{r(e)}catch(e){console.error("event listener failed",e)}},subscribe:e=>(t.add(e),()=>{t.delete(e)})}),p=d.__presence??=(i=s.BROWSER_GONE_MS,r=!1,a=null,n=new Set,l=new Set,o=e=>{for(let t of[...e])try{t()}catch(e){console.error("presence listener failed",e)}},{get watching(){return r},track(e){if(e>0){a&&clearTimeout(a),a=null,r||(r=!0,o(l));return}!a&&r&&(a=setTimeout(()=>{a=null,r=!1,o(n)},i))},onGone:e=>(n.add(e),()=>n.delete(e)),onBack:e=>(l.add(e),()=>l.delete(e))}),f=d.__appEventStream??=function(e,t={}){let r=new TextEncoder,a=t.heartbeatMs??2e4,n=0;return{respond:(l,o)=>{let i=()=>{};return new Response(new ReadableStream({async start(s){let u=!1,d=new Map,m=[],p=e=>{if(!u)try{s.enqueue(r.encode(e))}catch{i()}},f=e=>p(`data: ${JSON.stringify(e)}
2
2
 
3
- `),b=e=>{let r=t.coalesce?.keyOf(e)??null;if(null===r)return f(e);let a=d.get(r);a&&clearTimeout(a),d.set(r,setTimeout(()=>{d.delete(r),f(e)},t.coalesce?.ms))},h=e.subscribe(e=>m?m.push(e):b(e)),T=setInterval(()=>p(": ping\n\n"),a);n+=1,t.onWatchers?.(n),i=()=>{if(!u){for(let e of(u=!0,n-=1,t.onWatchers?.(n),h(),clearInterval(T),d.values()))clearTimeout(e);try{s.close()}catch{}}},l.addEventListener("abort",i);try{for(let e of await o?.()??[])f(e)}catch(e){c.logger.error("event stream opening failed",e),i();return}let g=m;for(let e of(m=null,g))b(e)},cancel(){i()}}),{headers:{"Content-Type":"text/event-stream; charset=utf-8","Cache-Control":"no-store","X-Accel-Buffering":"no"}})},get watchers(){return n}}}(m,{coalesce:{ms:150,keyOf:e=>e.type in u?e.type:null},onWatchers:p.track}),b=d.__bootId??=crypto.randomUUID();e.s(["BOOT_ID",0,b,"appEventStream",0,f,"appEvents",0,m,"presence",0,p],380690)},393189,e=>{"use strict";var t=e.i(912714),r=e.i(750227),a=e.i(687388),n=e.i(786025);let l=e=>`${(0,n.botFolder)(e)}/memory`;async function o(e,t=a.BOT_MEMORY_LIMITS.files){let s=l(e),c=(0,r.join)(n.WORKSPACE,s),u=(await i(c)).sort((e,t)=>t.info.mtimeMs-e.info.mtimeMs),m=await Promise.all(u.slice(0,t).map(async({name:e,info:t})=>({file:e,path:`${s}/${e}`,line:await d((0,r.join)(c,e)),at:new Date(t.mtimeMs),bytes:t.size})));return{folder:s,entries:m,total:u.length}}async function i(e){let a=await (0,t.readdir)(e).catch(()=>[]);return(await Promise.all(a.filter(e=>!e.startsWith(".")).map(async a=>{let n=await (0,t.stat)((0,r.join)(e,a)).catch(()=>null);return n?.isFile()?{name:a,info:n}:null}))).filter(e=>null!==e)}async function s(e){let o=(0,r.join)(n.WORKSPACE,l(e)),s=new Map;return await Promise.all((await i(o)).map(async({name:e,info:n})=>{let l=n.size>4*a.BOT_MEMORY_LIMITS.chars?null:await (0,t.readFile)((0,r.join)(o,e),"utf8").catch(()=>null);s.set(e,{text:null!==l&&u(l)<=a.BOT_MEMORY_LIMITS.chars?l:null,size:n.size,mtimeMs:n.mtimeMs,atime:n.atime,mtime:n.mtime})})),s}async function c(e,o){let s=l(e),c=(0,r.join)(n.WORKSPACE,s),{files:d,chars:m}=a.BOT_MEMORY_LIMITS,p=[],f=[],b=0;for(let{name:e,info:a}of(await i(c))){b+=1;let n=o.get(e);if(n&&n.size===a.size&&n.mtimeMs===a.mtimeMs)continue;let l=(0,r.join)(c,e),i=u(await (0,t.readFile)(l,"utf8").catch(()=>""));if(i<=m){n||f.push(e);continue}let d=`${i.toLocaleString("en-US")} characters, past the ${m.toLocaleString("en-US")} a memory file holds`;n?null!==n.text?(await (0,t.writeFile)(l,n.text),await (0,t.utimes)(l,n.atime,n.mtime),p.push(`Not kept: \`${s}/${e}\` came to ${d}, so it is back as it was. Write it again shorter.`)):p.push(`\`${s}/${e}\` is ${d}. Shorten it.`):(await (0,t.rm)(l,{force:!0}),b-=1,p.push(`Not kept: \`${s}/${e}\` came to ${d}, so it was removed. Write it again shorter.`))}if(b>d&&f.length){await Promise.all(f.map(e=>(0,t.rm)((0,r.join)(c,e),{force:!0})));let e=f.map(e=>`\`${s}/${e}\``).join(", ");p.push(`Not kept: your memory holds ${d} files at most and this made ${b}, so ${e} ${1===f.length?"was":"were"} removed. Delete or merge files no longer worth keeping, then write it again.`)}return p.length?p.join("\n"):null}let u=e=>[...e.trim()].length;async function d(e){let r=await (0,t.open)(e,"r").catch(()=>null);if(!r)return"";try{let e=Buffer.alloc(1024),{bytesRead:t}=await r.read(e,0,1024,0),a=e.toString("utf8",0,t).split("\n").map(e=>e.trim()).filter(Boolean);if("---"===a[0]){let e=a.find(e=>e.startsWith("description:"));if(e)return e.slice(12).trim().replace(/^["']|["']$/g,"");let t=a.indexOf("---",1);return t>0?(a[t+1]??"").replace(/^#+\s*/,""):""}return(a[0]??"").replace(/^#+\s*/,"")}finally{await r.close()}}e.s(["botMemoryFolder",0,l,"holdBotMemory",0,s,"keepBotMemory",0,c,"listBotMemory",0,o])},148831,e=>e.a(async(t,r)=>{try{var a=e.i(875225),n=e.i(260338),l=e.i(518899),o=e.i(380690),i=e.i(528790),s=e.i(613240),c=e.i(441963),u=t([i]);function d(e){return(0,c.isRemoteConfig)(e)?{url:e.url}:{command:e.command,args:e.args}}async function m(){return(await i.database.select({name:s.mcpServerTable.name,config:s.mcpServerTable.config,lastError:s.mcpServerTable.lastError,toolCount:(0,n.count)(s.mcpToolTable.id)}).from(s.mcpServerTable).leftJoin(s.mcpToolTable,(0,a.eq)(s.mcpToolTable.serverName,s.mcpServerTable.name)).groupBy(s.mcpServerTable.name)).map(e=>({...e,config:d(e.config)}))}async function p(e){let[t]=await i.database.select({name:s.mcpServerTable.name,config:s.mcpServerTable.config,lastError:s.mcpServerTable.lastError,toolsSyncedAt:s.mcpServerTable.toolsSyncedAt}).from(s.mcpServerTable).where((0,a.eq)(s.mcpServerTable.name,e));return t?{...t,config:d(t.config),tools:await f(e)}:null}async function f(e){return i.database.select({id:s.mcpToolTable.id,name:s.mcpToolTable.name,description:s.mcpToolTable.description,inputSchema:s.mcpToolTable.inputSchema,outputSchema:s.mcpToolTable.outputSchema}).from(s.mcpToolTable).where((0,a.eq)(s.mcpToolTable.serverName,e)).orderBy(s.mcpToolTable.name)}async function b(e){let[t]=await i.database.select().from(s.mcpServerTable).where((0,a.eq)(s.mcpServerTable.name,e));return t??null}[i]=u.then?(await u)():u;let v=()=>o.appEvents.emit({type:"mcp"});async function h(e,t){await i.database.transaction(async r=>{t.length&&await r.insert(s.mcpToolTable).values(t.map(t=>({...t,serverName:e}))).onConflictDoUpdate({target:[s.mcpToolTable.serverName,s.mcpToolTable.name],set:{description:T(s.mcpToolTable.description),inputSchema:T(s.mcpToolTable.inputSchema),outputSchema:T(s.mcpToolTable.outputSchema)}}),await r.delete(s.mcpToolTable).where(t.length?(0,a.and)((0,a.eq)(s.mcpToolTable.serverName,e),(0,a.notInArray)(s.mcpToolTable.name,t.map(e=>e.name))):(0,a.eq)(s.mcpToolTable.serverName,e)),await r.update(s.mcpServerTable).set({lastError:null,toolsSyncedAt:new Date}).where((0,a.eq)(s.mcpServerTable.name,e))}),v()}function T(e){return l.sql.raw(`excluded."${e.name}"`)}async function g(e,t){await i.database.update(s.mcpServerTable).set({lastError:t}).where((0,a.eq)(s.mcpServerTable.name,e)),v()}async function y(e,t){await i.database.update(s.mcpServerTable).set({oauth:t}).where((0,a.eq)(s.mcpServerTable.name,e)),v()}async function w(e){let[t]=await i.database.select().from(s.mcpServerTable).where(l.sql`json_extract(${s.mcpServerTable.oauth}, '$.state') = ${e}`);return t??null}e.s(["findAllServers",0,m,"findAllTools",0,function(){return i.database.select({id:s.mcpToolTable.id,name:s.mcpToolTable.name,serverName:s.mcpToolTable.serverName,description:s.mcpToolTable.description}).from(s.mcpToolTable).orderBy(s.mcpToolTable.serverName,s.mcpToolTable.name)},"findPinnedTools",0,function(e){return i.database.select({server:s.mcpToolTable.serverName,name:s.mcpToolTable.name,description:s.mcpToolTable.description,inputSchema:s.mcpToolTable.inputSchema}).from(s.botMcpToolTable).innerJoin(s.mcpToolTable,(0,a.eq)(s.botMcpToolTable.toolId,s.mcpToolTable.id)).where((0,a.eq)(s.botMcpToolTable.botName,e)).orderBy(s.mcpToolTable.serverName,s.mcpToolTable.name)},"findServer",0,b,"findServerByOAuthState",0,w,"findServerDetail",0,p,"findToolSchemas",0,function(e,t){return t.length?i.database.select({name:s.mcpToolTable.name,description:s.mcpToolTable.description,inputSchema:s.mcpToolTable.inputSchema}).from(s.mcpToolTable).where((0,a.and)((0,a.eq)(s.mcpToolTable.serverName,e),(0,a.inArray)(s.mcpToolTable.name,t))).orderBy(s.mcpToolTable.name):Promise.resolve([])},"listServerNames",0,function(){return i.database.select({name:s.mcpServerTable.name}).from(s.mcpServerTable).orderBy(s.mcpServerTable.name)},"listToolNames",0,function(e){let t=i.database.select({server:s.mcpToolTable.serverName,name:s.mcpToolTable.name}).from(s.mcpToolTable);return e?t.where((0,a.eq)(s.mcpToolTable.serverName,e)).orderBy(s.mcpToolTable.name):t.orderBy(s.mcpToolTable.serverName,s.mcpToolTable.name)},"saveConnectionError",0,g,"saveOAuthData",0,y,"syncServerTools",0,h]),r()}catch(e){r(e)}},!1),441963,e=>{"use strict";var t=e.i(469719),r=e.i(704161);let a=t.z.object({url:t.z.url(),headers:t.z.record(t.z.string(),t.z.string()).optional(),oauthClient:t.z.object({clientId:t.z.string().min(1),clientSecret:t.z.string().optional()}).optional()}),n=t.z.object({command:t.z.string().min(1),args:t.z.array(t.z.string()).optional(),env:t.z.record(t.z.string(),t.z.string()).optional()}),l=t.z.union([a,n]),o=t.z.object({name:t.z.string(),description:t.z.string().optional(),inputSchema:t.z.looseObject({}).optional(),outputSchema:t.z.looseObject({}).optional()});t.z.object({clientInformation:t.z.looseObject({}).optional(),tokens:t.z.looseObject({}).optional(),authorizationServer:t.z.looseObject({}).optional(),codeVerifier:t.z.string().optional(),state:t.z.string().optional()});let i=t.z.object({name:t.z.string().min(1).max(40),config:l,toolCount:t.z.number().int(),lastError:t.z.string().nullish()}),s=o.extend({id:t.z.number().int(),description:t.z.string().nullish()});i.omit({toolCount:!0}).extend({tools:s.array().default([]),toolsSyncedAt:r.DateLikeSchema}),t.z.object({name:t.z.string().min(1,"Name is required").max(40).regex(/^[a-zA-Z0-9_-]+$/,"Only letters, numbers, - and _ are allowed"),config:l}),t.z.union([t.z.object({mcpServers:t.z.record(t.z.string(),l)}),t.z.record(t.z.string(),l)]),e.s(["isRemoteConfig",0,function(e){return"url"in e}])},963219,e=>e.a(async(t,r)=>{try{var a=e.i(260338),n=e.i(349129),l=e.i(875225),o=e.i(380690),i=e.i(687388),s=e.i(528790),c=e.i(613240),u=e.i(265143),d=e.i(53748),m=e.i(473139),p=t([s,u]);[s,u]=p.then?(await p)():p;let S=()=>o.appEvents.emit({type:"routines"});async function f(e,t){return s.database.select({id:c.threadTable.id,status:c.threadTable.status,outcome:c.threadTable.outcome,updatedAt:c.threadTable.updatedAt}).from(c.threadTable).where((0,l.eq)(c.threadTable.routineId,e)).orderBy((0,n.desc)(c.threadTable.createdAt)).limit(t)}let k=async e=>{let{createdAt:t,...r}=e;return{...r,runs:await f(e.id,i.ROUTINE.runsShown)}};async function b(){let e=await s.database.select().from(c.routineTable).orderBy(c.routineTable.createdAt);return Promise.all(e.map(k))}async function h(e){let[t]=await s.database.select().from(c.routineTable).where((0,l.eq)(c.routineTable.id,e));return t?k(t):null}async function T(e){let t=await h(e.trim());if(t)return t;let r=e.trim().toLowerCase(),a=(await b()).filter(e=>e.label.toLowerCase()===r);return 1===a.length?a[0]:null}async function g(e){let t=await (0,u.findJobBot)(e);return(!t||t.disabled)&&(0,d.publicError)("Choose an enabled bot."),t.name}async function y(e){let[{total:t}]=await s.database.select({total:(0,a.count)()}).from(c.routineTable);t>=i.ROUTINE.max&&(0,d.publicError)(`There are already ${i.ROUTINE.max} routines. Delete one to make another.`);let[r]=await s.database.insert(c.routineTable).values({id:crypto.randomUUID(),...e,bot:await g(e.bot),nextRunAt:(0,m.nextRun)(e.schedule,new Date)}).returning();return S(),k(r)}async function w(e,t){let[r]=await s.database.select().from(c.routineTable).where((0,l.eq)(c.routineTable.id,e));if(!r)return null;let a=t.schedule??r.schedule,n=!!t.schedule||t.enabled&&!r.enabled,[o]=await s.database.update(c.routineTable).set({...t,...t.bot?{bot:await g(t.bot)}:{},...n?{nextRunAt:(0,m.nextRun)(a,new Date)}:{}}).where((0,l.eq)(c.routineTable.id,e)).returning();return S(),k(o)}async function v(e){let t=await s.database.delete(c.routineTable).where((0,l.eq)(c.routineTable.id,e)).returning({id:c.routineTable.id});return t.length&&S(),t.length>0}e.s(["createRoutine",0,y,"deleteRoutine",0,v,"listRoutines",0,b,"resolveRoutine",0,T,"updateRoutine",0,w]),r()}catch(e){r(e)}},!1),473139,e=>{"use strict";var t=e.i(105249),r=e.i(687388),a=e.i(704161);let n=t.default.string().regex(/^([01]\d|2[0-3]):[0-5]\d$/,"A time is HH:MM, 00:00 to 23:59"),l=t.default.discriminatedUnion("kind",[t.default.object({kind:t.default.literal("daily"),time:n,days:t.default.array(t.default.number().int().min(1).max(7)).min(1,"Pick at least one day").transform(e=>[...new Set(e)].sort((e,t)=>e-t))}),t.default.object({kind:t.default.literal("every"),hours:t.default.number().int().min(r.ROUTINE.minHours,`No more often than every ${r.ROUTINE.minHours}h`).max(168)})]),o=t.default.object({bot:t.default.string().trim().min(1,"Pick a bot"),label:t.default.string().trim().min(1,"Give it a name").max(80),request:t.default.string().trim().min(1,"Say what it should do"),schedule:l}),i=t.default.object({id:t.default.string(),status:t.default.enum(["running","waiting","done","cancelled"]),outcome:t.default.string().nullable(),updatedAt:a.DateLikeSchema});o.extend({id:t.default.string(),enabled:t.default.boolean(),nextRunAt:a.DateLikeSchema,runs:t.default.array(i)});let s=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];e.s(["RoutineInputSchema",0,o,"RoutineScheduleSchema",0,l,"nextRun",0,function(e,t){if("every"===e.kind)return new Date(t.getTime()+36e5*e.hours);let[r,a]=e.time.split(":").map(Number);for(let n=0;n<=7;n++){let l=new Date(t);l.setDate(l.getDate()+n),l.setHours(r,a,0,0);let o=0===l.getDay()?7:l.getDay();if(l>t&&e.days.includes(o))return l}return new Date(t.getTime()+864e5)},"scheduleText",0,function(e){if("every"===e.kind)return 1===e.hours?"Every hour":`Every ${e.hours} hours`;let{days:t,time:r}=e;if(7===t.length)return`Daily ${r}`;if(1===t.length)return`${s[t[0]-1]} ${r}`;let a=t.every((e,r)=>0===r||e===t[r-1]+1)?`${s[t[0]-1]}–${s[t.at(-1)-1]}`:t.map(e=>s[e-1]).join(" ");return`Daily ${r} \xb7 ${a}`}])},527608,824664,e=>{"use strict";var t=e.i(912714),r=e.i(750227),a=e.i(380690),n=e.i(687388);e.i(786025),e.i(640911);let l=e=>e.trim().toLowerCase().replace(/^[a-z]+:\/\//,"").replace(/^www\./,"").replace(/[/?#].*$/,"");e.s(["siteOf",0,l],824664);let o=(0,r.join)(n.DATA_DIR,n.PATHS.signIns),i=e=>(0,r.join)(o,`${encodeURIComponent(l(e))}.json`);async function s(e){try{return JSON.parse(await (0,t.readFile)(i(e),"utf8"))}catch{return null}}async function c(e){await (0,t.mkdir)(o,{recursive:!0}),await (0,t.writeFile)(i(e.site),JSON.stringify(e),{mode:384}),a.appEvents.emit({type:"signins"})}async function u(){let e=await (0,t.readdir)(o).catch(()=>[]);return(await Promise.all(e.filter(e=>e.endsWith(".json")).map(e=>s(decodeURIComponent(e.slice(0,-5)))))).flatMap(e=>e?[(({state:e,...t})=>t)(e)]:[]).sort((e,t)=>e.site.localeCompare(t.site))}async function d(e){let t=l(e.site),r=await s(t),a={site:t,account:e.account.trim()||t,bots:[...new Set([...r?.bots??[],e.bot])],asking:(r?.asking??[]).filter(t=>t!==e.bot),keptAt:new Date().toISOString(),usedAt:r?.usedAt??null,state:e.state};return await c(a),(({state:e,...t})=>t)(a)}async function m(e,t){let r=await s(e);if(!r)return{kind:"none",kept:(await u()).map(e=>e.site)};if(!r.bots.includes(t))return r.asking.includes(t)||await c({...r,asking:[...r.asking,t]}),{kind:"ask",signIn:(({state:e,...t})=>t)(r)};let a={...r,usedAt:new Date().toISOString()};return await c(a),{kind:"state",signIn:(({state:e,...t})=>t)(a),state:r.state}}e.s(["borrowSignIn",0,m,"keepSignIn",0,d,"listSignIns",0,u],527608)},22676,e=>e.a(async(t,r)=>{try{var a=e.i(349129),n=e.i(875225),l=e.i(518899),o=e.i(687388),i=e.i(528790),s=e.i(613240),c=e.i(378884),u=e.i(340698),d=e.i(134344),m=t([i,c,u]);async function p(){return(0,d.isSkillsOn)(await (0,u.readConfig)(d.THURSDAY_KEYS.skills))}async function f(e,t){for(let r of t)await i.database.insert(s.callMessageTable).values({callId:e,...r,fragments:r.fragments??null}).onConflictDoUpdate({target:[s.callMessageTable.callId,s.callMessageTable.id],set:{text:r.text,role:r.role,tool:r.tool??null,fragments:r.fragments??null}})}async function b(e){let[t]=await i.database.select({seq:l.sql`max(${s.callMessageTable.seq})`}).from(s.callMessageTable).where((0,n.eq)(s.callMessageTable.callId,e));return t?.seq==null?0:Number(t.seq)+1}async function h(e,t){await i.database.insert(s.callThoughtTable).values({callId:e,...t}).onConflictDoNothing()}async function T(e){let t=await i.database.select({callId:s.callMessageTable.callId,startedAt:s.callTable.startedAt,role:s.callMessageTable.role,tool:s.callMessageTable.tool,text:s.callMessageTable.text,seq:s.callMessageTable.seq}).from(s.callMessageTable).innerJoin(s.callTable,(0,n.eq)(s.callMessageTable.callId,s.callTable.id)).orderBy((0,a.desc)(s.callTable.startedAt),(0,a.desc)(s.callMessageTable.seq)).limit(e),r=new Map;for(let e of t){let t=r.get(e.callId)??{callId:e.callId,startedAt:e.startedAt,turns:[]};t.turns.push({role:e.role,tool:e.tool,text:e.text,seq:e.seq}),r.set(e.callId,t)}return[...r.values()].reverse().map(e=>({...e,turns:e.turns.reverse()}))}async function g(e,t,r){let[o]=await i.database.select({startedAt:s.callTable.startedAt}).from(s.callTable).where((0,n.eq)(s.callTable.id,e));if(!o)return null;let[c]=await i.database.select({total:l.sql`count(*)`}).from(s.callMessageTable).where((0,n.eq)(s.callMessageTable.callId,e)),u=await i.database.select({role:s.callMessageTable.role,tool:s.callMessageTable.tool,text:s.callMessageTable.text}).from(s.callMessageTable).where((0,n.eq)(s.callMessageTable.callId,e)).orderBy((0,a.asc)(s.callMessageTable.seq)).limit(r).offset((t-1)*r);return{startedAt:o.startedAt,total:Number(c?.total??0),turns:u}}async function y(){return(await i.database.select({id:s.callTable.id}).from(s.callTable).where((0,n.isNull)(s.callTable.endedAt)).limit(1)).length>0}async function w(e){let t=e.limit??o.CALL_HISTORY_PAGE,r=await i.database.select({id:s.callTable.id,provider:s.callTable.provider,model:s.callTable.model,backendModel:s.callTable.backendModel,startedAt:s.callTable.startedAt,endedAt:s.callTable.endedAt,endedReason:s.callTable.endedReason,seconds:s.callTable.seconds}).from(s.callTable).innerJoin(s.callMessageTable,(0,n.eq)(s.callMessageTable.callId,s.callTable.id)).where(e.before?(0,n.lt)(s.callTable.startedAt,e.before):void 0).groupBy(s.callTable.id).orderBy((0,a.desc)(s.callTable.startedAt)).limit(t);if(0===r.length)return[];let l=await i.database.select({callId:s.callMessageTable.callId,id:s.callMessageTable.id,role:s.callMessageTable.role,tool:s.callMessageTable.tool,text:s.callMessageTable.text,seq:s.callMessageTable.seq,fragments:s.callMessageTable.fragments,at:s.callMessageTable.at}).from(s.callMessageTable).where((0,n.inArray)(s.callMessageTable.callId,r.map(e=>e.id))).orderBy((0,a.asc)(s.callMessageTable.callId),(0,a.asc)(s.callMessageTable.seq)),u=new Map;for(let e of l){let{callId:t,...r}=e,a=u.get(t);a?a.push(r):u.set(t,[r])}let d=await (0,c.listCallJobs)(r.map(e=>e.id));return r.map(e=>({...e,turns:u.get(e.id)??[],jobs:d.filter(t=>t.callId===e.id).map(e=>({id:e.id,label:e.label,status:e.status,outcome:e.outcome}))}))}[i,c,u]=m.then?(await m)():m,e.s(["isAnyCallLive",0,y,"listCallHistory",0,w,"listRecentTurns",0,T,"nextTurnSeq",0,b,"readCallConversation",0,g,"readCallSkillsOn",0,p,"saveThought",0,h,"saveTurns",0,f]),r()}catch(e){r(e)}},!1),134344,e=>{"use strict";var t=e.i(105249),r=e.i(687388),a=e.i(911757),n=e.i(264079),l=e.i(904309);let o=a.LiveSettingsSchema.extend({locale:t.default.string().max(35).nullish()}),i=[{id:"chatgpt",...n.TEXT_MODEL_PROVIDERS.chatgpt},{id:"openai",...n.TEXT_MODEL_PROVIDERS.openai}];t.default.object({charset:t.default.enum(["ascii","emoji","emojiOnly"]).default(r.ASCII_FACE.charset),fontSize:t.default.number().min(r.ASCII_FACE.fontSize.min).max(r.ASCII_FACE.fontSize.max).default(r.ASCII_FACE.fontSize.default),density:t.default.number().min(r.ASCII_FACE.density.min).max(r.ASCII_FACE.density.max).default(r.ASCII_FACE.density.default)}).parse({});t.default.object({enabled:t.default.boolean(),phrase:t.default.string().trim().min(3).max(32)}),t.default.object({enabled:t.default.boolean(),combo:t.default.string().trim().min(1).max(64)}),t.default.enum(["off","waiting","any"]),t.default.enum(["center","sides"]),t.default.object({id:t.default.string().min(1),role:t.default.enum(["user","assistant","tool"]),tool:t.default.string().nullish(),text:t.default.string(),seq:t.default.number().int().min(0),fragments:t.default.array(l.LiveFragmentSchema).nullish()}),t.default.object({id:t.default.string().min(1),text:t.default.string(),seq:t.default.number().int().min(0)}),e.s(["TEXT_CALL_PROVIDERS",0,i,"THURSDAY_KEYS",0,{skills:"THURSDAY_SKILLS"},"ThursdaySettingsSchema",0,o,"isSkillsOn",0,e=>e?.trim()==="on","textCallRunsOn",0,e=>i.find(t=>e(t.apiKeyName))?.id??null],134344)},629668,175936,e=>{"use strict";let t=e=>e.split("/").map(encodeURIComponent).join("/"),r={memory:"/api/memory",memoryPage:e=>({url:"/api/memory",query:{offset:e||null}}),notePath:e=>({url:"/api/memory",query:{path:e}}),mcp:"/api/mcp",mcpServer:e=>({url:"/api/mcp",pathVariable:[e]}),mcpTools:"/api/mcp/tools",skills:"/api/skills",skillNode:(e,t,r)=>({url:"/api/skills",pathVariable:[e,t],query:{path:r}}),bot:"/api/bot",botMemory:"/api/bot/memory",botKeepWorking:"/api/bot/keep-working",botMemoryFiles:e=>({url:"/api/bot/memory/files",query:{bot:e}}),routines:"/api/routine",threads:"/api/bot/thread",threadHistory:e=>({url:"/api/bot/thread",query:{history:1,before:e}}),thread:e=>({url:"/api/bot/thread",query:{id:e}}),toolResult:(e,t)=>({url:"/api/bot/thread",pathVariable:[e],query:{call:t}}),workspace:"/api/workspace",workspaceFolder:(e,t)=>({url:"/api/workspace",query:{path:e||null,rows:t}}),workspaceFiles:e=>({url:"/api/workspace/files",query:{paths:JSON.stringify(e)}}),artifacts:"/api/artifact",artifactShelf:e=>({url:"/api/artifact",query:{rows:e}}),artifactSet:(e,t)=>({url:"/api/artifact",query:{set:e,rows:t}}),file:e=>`/api/file/${t(e)}`,favicon:e=>`/api/favicon/${encodeURIComponent(e)}`,fileView:e=>`/artifact/${t(e)}`,events:"/api/events",config:"/api/config",callHistory:e=>({url:"/api/thursday/call",query:{before:e}}),callSkills:"/api/thursday/skills",toolCall:"/api/thursday/tool-call",signIns:"/api/signins",reach:"/api/reach",textCall:"/api/thursday/text",memoryEdit:"/api/memory/edit",llmModel:"/api/llm-model",modelCatalog:"/api/llm-model/catalog",gatewayCredits:"/api/llm-model/credits",subscriptionUsage:"/api/llm-model/subscription"};e.s(["decodePath",0,e=>e.join("/"),"queryKey",0,r],175936);var a=e.i(687388);let n=e=>`text/${e}; charset=utf-8`,l={md:{kind:"markdown",mime:n("markdown")},markdown:{kind:"markdown",mime:n("markdown")},csv:{kind:"csv",mime:n("csv")},json:{kind:"json",mime:"application/json; charset=utf-8"},txt:{kind:"text",mime:n("plain")},log:{kind:"text",mime:n("plain")},html:{kind:"frame",mime:n("html")},htm:{kind:"frame",mime:n("html")},pdf:{kind:"frame",mime:"application/pdf"},png:{kind:"image",mime:"image/png"},jpg:{kind:"image",mime:"image/jpeg"},jpeg:{kind:"image",mime:"image/jpeg"},gif:{kind:"image",mime:"image/gif"},webp:{kind:"image",mime:"image/webp"},svg:{kind:"image",mime:"image/svg+xml"},mp3:{kind:"audio",mime:"audio/mpeg"},wav:{kind:"audio",mime:"audio/wav"},mp4:{kind:"video",mime:"video/mp4"},webm:{kind:"video",mime:"video/webm"},css:{kind:"none",mime:n("css")},js:{kind:"none",mime:n("javascript")},woff2:{kind:"none",mime:"font/woff2"}},o=e=>e.split(".").pop()?.toLowerCase()??"",i=new Set(["node_modules","__pycache__"]),s=Object.entries(l).filter(([,e])=>"none"!==e.kind).map(([e])=>e),c=RegExp(String.raw`(?<![\p{L}\p{N}_/:@%-])\/?(?:[\p{L}\p{N}_.@%-]+/)*[\p{L}\p{N}_@%-]+(?:\.[\p{L}\p{N}_-]+)*\.(?:${s.join("|")})\b`,"giu"),u=`${a.PATHS.workspace}/`,d=r.file(""),m=/^[\s`'"*_)]*(?:~|–|—|-|\.{2,}|…|to|through)[\s`'"*_(]*$/i;e.s(["isListedFolder",0,e=>!e.startsWith(".")&&!i.has(e),"mimeOf",0,e=>l[o(e)]?.mime??"application/octet-stream","opensOnFinish",0,e=>e.startsWith(`${a.PATHS.artifacts}/`)&&["md","markdown","html","htm"].includes(o(e)),"pathsIn",0,function(e){let t=e.replace(/\b[a-z][\w+.-]*:\/\/\S+/gi," "),r=new Set,a="",n=null;for(let e of t.matchAll(c)){let l=e[0],o=!l.includes("/"),i=function(e){let t,r,a=(r=(t=function(e){if(!e.startsWith(d))return e;let t=e.slice(d.length);try{return decodeURIComponent(t)}catch{return t}}(e.trim())).indexOf(u))>=0?t.slice(r+u.length)||null:t.startsWith("/")||/^[A-Za-z]:/.test(t)||t.split("/").includes("..")?null:t||null;if(!a)return null;let[n,...l]=a.split("/");return l.length&&n.includes(".")?null:a}(o?a+l:l);if(o||(a=i?.slice(0,i.lastIndexOf("/")+1)??""),i){if(n&&m.test(t.slice(n.end,e.index)))for(let e of function(e,t){let r=/^(.*?)(\d+)(\D*)$/.exec(e),a=/^(.*?)(\d+)(\D*)$/.exec(t);if(!r||!a||r[1]!==a[1]||r[3]!==a[3])return[];let n=Number(r[2]),l=Number(a[2]);if(!(l-n>1)||l-n>12)return[];let o=r[2].startsWith("0")?r[2].length:0;return Array.from({length:l-n-1},(e,t)=>`${r[1]}${String(n+t+1).padStart(o,"0")}${r[3]}`)}(n.rel,i))r.add(e);r.add(i),n={rel:i,end:e.index+l.length}}}return[...r].slice(0,12)},"viewKindOf",0,e=>l[o(e)]?.kind??"none"],629668)},268486,e=>{"use strict";var t=e.i(41444);e.s(["createKeyedLock",0,function(){let e=new Map,r=new Map;return function(a,n){let l=e.get(a);l||(l=(0,t.PromiseChain)(),e.set(a,l)),r.set(a,(r.get(a)??0)+1);let o=()=>{let t=(r.get(a)??1)-1;t>0?r.set(a,t):(r.delete(a),e.delete(a))};return l(n).then(e=>(o(),e),e=>{throw o(),e})}}])},78997,(e,t,r)=>{"use strict";var a=Object.create,n=Object.defineProperty,l=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of o(t))s.call(e,i)||i===r||n(e,i,{get:()=>t[i],enumerable:!(a=l(t,i))||a.enumerable});return e},u=(e,t,r)=>(r=null!=e?a(i(e)):{},c(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)),d={},m={isValidAccessToken:()=>w,readAuthConfig:()=>g,writeAuthConfig:()=>y};for(var p in m)n(d,p,{get:m[p],enumerable:!0});t.exports=c(n({},"__esModule",{value:!0}),d);var f=u(e.r(522734)),b=u(e.r(814747)),h=e.r(783697);function T(){let e=(0,h.getVercelDataDir)();if(!e)throw Error(`Unable to find Vercel CLI data directory. Your platform: ${process.platform}. Supported: darwin, linux, win32.`);return b.join(e,"auth.json")}function g(){try{let e=T();if(!f.existsSync(e))return null;let t=f.readFileSync(e,"utf8");if(!t)return null;return JSON.parse(t)}catch(e){return null}}function y(e){let t=T(),r=b.dirname(t);f.existsSync(r)||f.mkdirSync(r,{mode:504,recursive:!0}),f.writeFileSync(t,JSON.stringify(e,null,2),{mode:384})}function w(e,t=0){if(!e.token)return!1;if("number"!=typeof e.expiresAt)return!0;let r=Math.floor(Date.now()/1e3);return e.expiresAt>=r+t/1e3}},452005,(e,t,r)=>{"use strict";var a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,i={},s={AccessTokenMissingError:()=>u,RefreshAccessTokenFailedError:()=>d};for(var c in s)a(i,c,{get:s[c],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))o.call(e,i)||void 0===i||a(e,i,{get:()=>t[i],enumerable:!(r=n(t,i))||r.enumerable});return e})(a({},"__esModule",{value:!0}),i);class u extends Error{constructor(){super("No authentication found. Please log in with the Vercel CLI (vercel login)."),this.name="AccessTokenMissingError"}}class d extends Error{constructor(e){super("Failed to refresh authentication token.",{cause:e}),this.name="RefreshAccessTokenFailedError"}}},394853,(e,t,r)=>{"use strict";var a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,i={},s={processTokenResponse:()=>b,refreshTokenRequest:()=>f};for(var c in s)a(i,c,{get:s[c],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))o.call(e,i)||void 0===i||a(e,i,{get:()=>t[i],enumerable:!(r=n(t,i))||r.enumerable});return e})(a({},"__esModule",{value:!0}),i);var u=e.r(446786);let d=`@vercel/oidc node-${process.version} ${(0,u.platform)()} (${(0,u.arch)()}) ${(0,u.hostname)()}`,m=null;async function p(){if(m)return m;let e=await fetch("https://vercel.com/.well-known/openid-configuration",{headers:{"user-agent":d}});if(!e.ok)throw Error("Failed to discover OAuth endpoints");let t=await e.json();if(!t||"string"!=typeof t.token_endpoint)throw Error("Invalid OAuth discovery response");let r=t.token_endpoint;return m=r,r}async function f(e){let t=await p();return await fetch(t,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded","user-agent":d},body:new URLSearchParams({client_id:"cl_HYyOPBNtFMfHhaUn9L4QPfTZz6TP47bp",grant_type:"refresh_token",...e})})}async function b(e){let t=await e.json();return e.ok?"object"!=typeof t||null===t?[Error("Invalid token response")]:"string"!=typeof t.access_token?[Error("Missing access_token in response")]:"Bearer"!==t.token_type?[Error("Invalid token_type in response")]:"number"!=typeof t.expires_in?[Error("Missing expires_in in response")]:[null,t]:[Error("object"==typeof t&&t&&"error"in t?String(t.error):"Token refresh failed")]}},484199,(e,t,r)=>{"use strict";var a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,i={},s={VercelOidcTokenError:()=>u};for(var c in s)a(i,c,{get:s[c],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))o.call(e,i)||void 0===i||a(e,i,{get:()=>t[i],enumerable:!(r=n(t,i))||r.enumerable});return e})(a({},"__esModule",{value:!0}),i);class u extends Error{constructor(e,t){super(e),this.name="VercelOidcTokenError",this.cause=t}toString(){return this.cause?`${this.name}: ${this.message}: ${this.cause}`:`${this.name}: ${this.message}`}}},1791,(e,t,r)=>{"use strict";var a=Object.create,n=Object.defineProperty,l=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of o(t))s.call(e,i)||i===r||n(e,i,{get:()=>t[i],enumerable:!(a=l(t,i))||a.enumerable});return e},u=(e,t,r)=>(r=null!=e?a(i(e)):{},c(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)),d={},m={findRootDir:()=>g,getUserDataDir:()=>y};for(var p in m)n(d,p,{get:m[p],enumerable:!0});t.exports=c(n({},"__esModule",{value:!0}),d);var f=u(e.r(814747)),b=u(e.r(522734)),h=u(e.r(446786)),T=e.r(484199);function g(){try{let e=process.cwd();for(;e!==f.default.dirname(e);){let t=f.default.join(e,".vercel");if(b.default.existsSync(t))return e;e=f.default.dirname(e)}}catch(e){throw new T.VercelOidcTokenError("Token refresh only supported in node server environments")}return null}function y(){if(process.env.XDG_DATA_HOME)return process.env.XDG_DATA_HOME;switch(h.default.platform()){case"darwin":return f.default.join(h.default.homedir(),"Library/Application Support");case"linux":return f.default.join(h.default.homedir(),".local/share");case"win32":if(process.env.LOCALAPPDATA)return process.env.LOCALAPPDATA;return null;default:return null}}},783697,(e,t,r)=>{"use strict";var a=Object.create,n=Object.defineProperty,l=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of o(t))s.call(e,i)||i===r||n(e,i,{get:()=>t[i],enumerable:!(a=l(t,i))||a.enumerable});return e},u=(e,t,r)=>(r=null!=e?a(i(e)):{},c(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)),d={},m={assertVercelOidcTokenResponse:()=>O,findProjectInfo:()=>j,getTokenPayload:()=>M,getVercelDataDir:()=>v,getVercelOidcToken:()=>k,getVercelToken:()=>S,isExpired:()=>I,loadToken:()=>x,saveToken:()=>A};for(var p in m)n(d,p,{get:m[p],enumerable:!0});t.exports=c(n({},"__esModule",{value:!0}),d);var f=u(e.r(814747)),b=u(e.r(522734)),h=e.r(484199),T=e.r(1791),g=e.r(78997),y=e.r(394853),w=e.r(452005);function v(){let e=(0,T.getUserDataDir)();return e?f.join(e,"com.vercel.cli"):null}async function S(e){let t=(0,g.readAuthConfig)();if(!t?.token)throw new w.AccessTokenMissingError;if((0,g.isValidAccessToken)(t,e?.expirationBufferMs))return t.token;if(!t.refreshToken)throw(0,g.writeAuthConfig)({}),new w.RefreshAccessTokenFailedError("No refresh token available");try{let e=await (0,y.refreshTokenRequest)({refresh_token:t.refreshToken}),[r,a]=await (0,y.processTokenResponse)(e);if(r||!a)throw(0,g.writeAuthConfig)({}),new w.RefreshAccessTokenFailedError(r);let n={token:a.access_token,expiresAt:Math.floor(Date.now()/1e3)+a.expires_in};return a.refresh_token&&(n.refreshToken=a.refresh_token),(0,g.writeAuthConfig)(n),n.token}catch(e){if((0,g.writeAuthConfig)({}),e instanceof w.AccessTokenMissingError||e instanceof w.RefreshAccessTokenFailedError)throw e;throw new w.RefreshAccessTokenFailedError(e)}}async function k(e,t,r){let a=`https://api.vercel.com/v1/projects/${t}/token?source=vercel-oidc-refresh${r?`&teamId=${r}`:""}`,n=await fetch(a,{method:"POST",headers:{Authorization:`Bearer ${e}`}});if(!n.ok)throw new h.VercelOidcTokenError(`Failed to refresh OIDC token: ${n.statusText}`);let l=await n.json();return O(l),l}function O(e){if(!e||"object"!=typeof e)throw TypeError("Vercel OIDC token is malformed. Expected an object. Please run `vc env pull` and try again");if(!("token"in e)||"string"!=typeof e.token)throw TypeError("Vercel OIDC token is malformed. Expected a string-valued token property. Please run `vc env pull` and try again")}function j(){let e=(0,T.findRootDir)();if(!e)throw new h.VercelOidcTokenError("Unable to find project root directory. Have you linked your project with `vc link?`");let t=f.join(e,".vercel","project.json");if(!b.existsSync(t))throw new h.VercelOidcTokenError("project.json not found, have you linked your project with `vc link?`");let r=JSON.parse(b.readFileSync(t,"utf8"));if("string"!=typeof r.projectId&&"string"!=typeof r.orgId)throw TypeError("Expected a string-valued projectId property. Try running `vc link` to re-link your project.");return{projectId:r.projectId,teamId:r.orgId}}function A(e,t){let r=(0,T.getUserDataDir)();if(!r)throw new h.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");let a=f.join(r,"com.vercel.token",`${t}.json`),n=JSON.stringify(e);b.mkdirSync(f.dirname(a),{mode:504,recursive:!0}),b.writeFileSync(a,n),b.chmodSync(a,432)}function x(e){let t=(0,T.getUserDataDir)();if(!t)throw new h.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");let r=f.join(t,"com.vercel.token",`${e}.json`);if(!b.existsSync(r))return null;let a=JSON.parse(b.readFileSync(r,"utf8"));return O(a),a}function M(e){let t=e.split(".");if(3!==t.length)throw new h.VercelOidcTokenError("Invalid token. Please run `vc env pull` and try again");let r=t[1].replace(/-/g,"+").replace(/_/g,"/"),a=r.padEnd(r.length+(4-r.length%4)%4,"=");return JSON.parse(Buffer.from(a,"base64").toString("utf8"))}function I(e,t=0){return 1e3*e.exp<Date.now()+t}},260338,e=>{"use strict";var t=e.i(518899),r=e.i(844988),a=e.i(156325);e.s(["count",0,function(e){return t.sql`count(${e||t.sql.raw("*")})`.mapWith(Number)},"max",0,function(e){return t.sql`max(${e})`.mapWith((0,r.is)(e,a.Column)?e:String)}])}];
3
+ `),b=e=>{let r=t.coalesce?.keyOf(e)??null;if(null===r)return f(e);let a=d.get(r);a&&clearTimeout(a),d.set(r,setTimeout(()=>{d.delete(r),f(e)},t.coalesce?.ms))},h=e.subscribe(e=>m?m.push(e):b(e)),T=setInterval(()=>p(": ping\n\n"),a);n+=1,t.onWatchers?.(n),i=()=>{if(!u){for(let e of(u=!0,n-=1,t.onWatchers?.(n),h(),clearInterval(T),d.values()))clearTimeout(e);try{s.close()}catch{}}},l.addEventListener("abort",i);try{for(let e of await o?.()??[])f(e)}catch(e){c.logger.error("event stream opening failed",e),i();return}let g=m;for(let e of(m=null,g))b(e)},cancel(){i()}}),{headers:{"Content-Type":"text/event-stream; charset=utf-8","Cache-Control":"no-store","X-Accel-Buffering":"no"}})},get watchers(){return n}}}(m,{coalesce:{ms:150,keyOf:e=>e.type in u?e.type:null},onWatchers:p.track}),b=d.__bootId??=crypto.randomUUID();e.s(["BOOT_ID",0,b,"appEventStream",0,f,"appEvents",0,m,"presence",0,p],380690)},393189,e=>{"use strict";var t=e.i(912714),r=e.i(750227),a=e.i(687388),n=e.i(786025);let l=e=>`${(0,n.botFolder)(e)}/memory`;async function o(e,t=a.BOT_MEMORY_LIMITS.files){let s=l(e),c=(0,r.join)(n.WORKSPACE,s),u=(await i(c)).sort((e,t)=>t.info.mtimeMs-e.info.mtimeMs),m=await Promise.all(u.slice(0,t).map(async({name:e,info:t})=>({file:e,path:`${s}/${e}`,line:await d((0,r.join)(c,e)),at:new Date(t.mtimeMs),bytes:t.size})));return{folder:s,entries:m,total:u.length}}async function i(e){let a=await (0,t.readdir)(e).catch(()=>[]);return(await Promise.all(a.filter(e=>!e.startsWith(".")).map(async a=>{let n=await (0,t.stat)((0,r.join)(e,a)).catch(()=>null);return n?.isFile()?{name:a,info:n}:null}))).filter(e=>null!==e)}async function s(e){let o=(0,r.join)(n.WORKSPACE,l(e)),s=new Map;return await Promise.all((await i(o)).map(async({name:e,info:n})=>{let l=n.size>4*a.BOT_MEMORY_LIMITS.chars?null:await (0,t.readFile)((0,r.join)(o,e),"utf8").catch(()=>null);s.set(e,{text:null!==l&&u(l)<=a.BOT_MEMORY_LIMITS.chars?l:null,size:n.size,mtimeMs:n.mtimeMs,atime:n.atime,mtime:n.mtime})})),s}async function c(e,o){let s=l(e),c=(0,r.join)(n.WORKSPACE,s),{files:d,chars:m}=a.BOT_MEMORY_LIMITS,p=[],f=[],b=0;for(let{name:e,info:a}of(await i(c))){b+=1;let n=o.get(e);if(n&&n.size===a.size&&n.mtimeMs===a.mtimeMs)continue;let l=(0,r.join)(c,e),i=u(await (0,t.readFile)(l,"utf8").catch(()=>""));if(i<=m){n||f.push(e);continue}let d=`${i.toLocaleString("en-US")} characters, past the ${m.toLocaleString("en-US")} a memory file holds`;n?null!==n.text?(await (0,t.writeFile)(l,n.text),await (0,t.utimes)(l,n.atime,n.mtime),p.push(`Not kept: \`${s}/${e}\` came to ${d}, so it is back as it was. Write it again shorter.`)):p.push(`\`${s}/${e}\` is ${d}. Shorten it.`):(await (0,t.rm)(l,{force:!0}),b-=1,p.push(`Not kept: \`${s}/${e}\` came to ${d}, so it was removed. Write it again shorter.`))}if(b>d&&f.length){await Promise.all(f.map(e=>(0,t.rm)((0,r.join)(c,e),{force:!0})));let e=f.map(e=>`\`${s}/${e}\``).join(", ");p.push(`Not kept: your memory holds ${d} files at most and this made ${b}, so ${e} ${1===f.length?"was":"were"} removed. Delete or merge files no longer worth keeping, then write it again.`)}return p.length?p.join("\n"):null}let u=e=>[...e.trim()].length;async function d(e){let r=await (0,t.open)(e,"r").catch(()=>null);if(!r)return"";try{let e=Buffer.alloc(1024),{bytesRead:t}=await r.read(e,0,1024,0),a=e.toString("utf8",0,t).split("\n").map(e=>e.trim()).filter(Boolean);if("---"===a[0]){let e=a.find(e=>e.startsWith("description:"));if(e)return e.slice(12).trim().replace(/^["']|["']$/g,"");let t=a.indexOf("---",1);return t>0?(a[t+1]??"").replace(/^#+\s*/,""):""}return(a[0]??"").replace(/^#+\s*/,"")}finally{await r.close()}}e.s(["botMemoryFolder",0,l,"holdBotMemory",0,s,"keepBotMemory",0,c,"listBotMemory",0,o])},148831,e=>e.a(async(t,r)=>{try{var a=e.i(875225),n=e.i(260338),l=e.i(518899),o=e.i(380690),i=e.i(528790),s=e.i(613240),c=e.i(441963),u=t([i]);function d(e){return(0,c.isRemoteConfig)(e)?{url:e.url}:{command:e.command,args:e.args}}async function m(){return(await i.database.select({name:s.mcpServerTable.name,config:s.mcpServerTable.config,lastError:s.mcpServerTable.lastError,toolCount:(0,n.count)(s.mcpToolTable.id)}).from(s.mcpServerTable).leftJoin(s.mcpToolTable,(0,a.eq)(s.mcpToolTable.serverName,s.mcpServerTable.name)).groupBy(s.mcpServerTable.name)).map(e=>({...e,config:d(e.config)}))}async function p(e){let[t]=await i.database.select({name:s.mcpServerTable.name,config:s.mcpServerTable.config,lastError:s.mcpServerTable.lastError,toolsSyncedAt:s.mcpServerTable.toolsSyncedAt}).from(s.mcpServerTable).where((0,a.eq)(s.mcpServerTable.name,e));return t?{...t,config:d(t.config),tools:await f(e)}:null}async function f(e){return i.database.select({id:s.mcpToolTable.id,name:s.mcpToolTable.name,description:s.mcpToolTable.description,inputSchema:s.mcpToolTable.inputSchema,outputSchema:s.mcpToolTable.outputSchema}).from(s.mcpToolTable).where((0,a.eq)(s.mcpToolTable.serverName,e)).orderBy(s.mcpToolTable.name)}async function b(e){let[t]=await i.database.select().from(s.mcpServerTable).where((0,a.eq)(s.mcpServerTable.name,e));return t??null}[i]=u.then?(await u)():u;let v=()=>o.appEvents.emit({type:"mcp"});async function h(e,t){await i.database.transaction(async r=>{t.length&&await r.insert(s.mcpToolTable).values(t.map(t=>({...t,serverName:e}))).onConflictDoUpdate({target:[s.mcpToolTable.serverName,s.mcpToolTable.name],set:{description:T(s.mcpToolTable.description),inputSchema:T(s.mcpToolTable.inputSchema),outputSchema:T(s.mcpToolTable.outputSchema)}}),await r.delete(s.mcpToolTable).where(t.length?(0,a.and)((0,a.eq)(s.mcpToolTable.serverName,e),(0,a.notInArray)(s.mcpToolTable.name,t.map(e=>e.name))):(0,a.eq)(s.mcpToolTable.serverName,e)),await r.update(s.mcpServerTable).set({lastError:null,toolsSyncedAt:new Date}).where((0,a.eq)(s.mcpServerTable.name,e))}),v()}function T(e){return l.sql.raw(`excluded."${e.name}"`)}async function g(e,t){await i.database.update(s.mcpServerTable).set({lastError:t}).where((0,a.eq)(s.mcpServerTable.name,e)),v()}async function y(e,t){await i.database.update(s.mcpServerTable).set({oauth:t}).where((0,a.eq)(s.mcpServerTable.name,e)),v()}async function w(e){let[t]=await i.database.select().from(s.mcpServerTable).where(l.sql`json_extract(${s.mcpServerTable.oauth}, '$.state') = ${e}`);return t??null}e.s(["findAllServers",0,m,"findAllTools",0,function(){return i.database.select({id:s.mcpToolTable.id,name:s.mcpToolTable.name,serverName:s.mcpToolTable.serverName,description:s.mcpToolTable.description}).from(s.mcpToolTable).orderBy(s.mcpToolTable.serverName,s.mcpToolTable.name)},"findPinnedTools",0,function(e){return i.database.select({server:s.mcpToolTable.serverName,name:s.mcpToolTable.name,description:s.mcpToolTable.description,inputSchema:s.mcpToolTable.inputSchema}).from(s.botMcpToolTable).innerJoin(s.mcpToolTable,(0,a.eq)(s.botMcpToolTable.toolId,s.mcpToolTable.id)).where((0,a.eq)(s.botMcpToolTable.botName,e)).orderBy(s.mcpToolTable.serverName,s.mcpToolTable.name)},"findServer",0,b,"findServerByOAuthState",0,w,"findServerDetail",0,p,"findToolSchemas",0,function(e,t){return t.length?i.database.select({name:s.mcpToolTable.name,description:s.mcpToolTable.description,inputSchema:s.mcpToolTable.inputSchema}).from(s.mcpToolTable).where((0,a.and)((0,a.eq)(s.mcpToolTable.serverName,e),(0,a.inArray)(s.mcpToolTable.name,t))).orderBy(s.mcpToolTable.name):Promise.resolve([])},"listServerNames",0,function(){return i.database.select({name:s.mcpServerTable.name}).from(s.mcpServerTable).orderBy(s.mcpServerTable.name)},"listToolNames",0,function(e){let t=i.database.select({server:s.mcpToolTable.serverName,name:s.mcpToolTable.name}).from(s.mcpToolTable);return e?t.where((0,a.eq)(s.mcpToolTable.serverName,e)).orderBy(s.mcpToolTable.name):t.orderBy(s.mcpToolTable.serverName,s.mcpToolTable.name)},"saveConnectionError",0,g,"saveOAuthData",0,y,"syncServerTools",0,h]),r()}catch(e){r(e)}},!1),441963,e=>{"use strict";var t=e.i(469719),r=e.i(704161);let a=t.z.object({url:t.z.url(),headers:t.z.record(t.z.string(),t.z.string()).optional(),oauthClient:t.z.object({clientId:t.z.string().min(1),clientSecret:t.z.string().optional()}).optional()}),n=t.z.object({command:t.z.string().min(1),args:t.z.array(t.z.string()).optional(),env:t.z.record(t.z.string(),t.z.string()).optional()}),l=t.z.union([a,n]),o=t.z.object({name:t.z.string(),description:t.z.string().optional(),inputSchema:t.z.looseObject({}).optional(),outputSchema:t.z.looseObject({}).optional()});t.z.object({clientInformation:t.z.looseObject({}).optional(),tokens:t.z.looseObject({}).optional(),authorizationServer:t.z.looseObject({}).optional(),codeVerifier:t.z.string().optional(),state:t.z.string().optional()});let i=t.z.object({name:t.z.string().min(1).max(40),config:l,toolCount:t.z.number().int(),lastError:t.z.string().nullish()}),s=o.extend({id:t.z.number().int(),description:t.z.string().nullish()});i.omit({toolCount:!0}).extend({tools:s.array().default([]),toolsSyncedAt:r.DateLikeSchema}),t.z.object({name:t.z.string().min(1,"Name is required").max(40).regex(/^[a-zA-Z0-9_-]+$/,"Only letters, numbers, - and _ are allowed"),config:l}),t.z.union([t.z.object({mcpServers:t.z.record(t.z.string(),l)}),t.z.record(t.z.string(),l)]),e.s(["isRemoteConfig",0,function(e){return"url"in e}])},963219,e=>e.a(async(t,r)=>{try{var a=e.i(260338),n=e.i(349129),l=e.i(875225),o=e.i(380690),i=e.i(687388),s=e.i(528790),c=e.i(613240),u=e.i(265143),d=e.i(53748),m=e.i(473139),p=t([s,u]);[s,u]=p.then?(await p)():p;let S=()=>o.appEvents.emit({type:"routines"});async function f(e,t){return s.database.select({id:c.threadTable.id,status:c.threadTable.status,outcome:c.threadTable.outcome,updatedAt:c.threadTable.updatedAt}).from(c.threadTable).where((0,l.eq)(c.threadTable.routineId,e)).orderBy((0,n.desc)(c.threadTable.createdAt)).limit(t)}let O=async e=>{let{createdAt:t,...r}=e;return{...r,runs:await f(e.id,i.ROUTINE.runsShown)}};async function b(){let e=await s.database.select().from(c.routineTable).orderBy(c.routineTable.createdAt);return Promise.all(e.map(O))}async function h(e){let[t]=await s.database.select().from(c.routineTable).where((0,l.eq)(c.routineTable.id,e));return t?O(t):null}async function T(e){let t=await h(e.trim());if(t)return t;let r=e.trim().toLowerCase(),a=(await b()).filter(e=>e.label.toLowerCase()===r);return 1===a.length?a[0]:null}async function g(e){let t=await (0,u.findJobBot)(e);return(!t||t.disabled)&&(0,d.publicError)("Choose an enabled bot."),t.name}function y(e,t){t&&"once"===e.kind&&(0,m.momentOf)(e.at)<=new Date&&(0,d.publicError)("That time has passed. Pick a later one.")}async function w(e){let[{total:t}]=await s.database.select({total:(0,a.count)()}).from(c.routineTable);t>=i.ROUTINE.max&&(0,d.publicError)(`There are already ${i.ROUTINE.max} routines. Delete one to make another.`),y(e.schedule,!0);let[r]=await s.database.insert(c.routineTable).values({id:crypto.randomUUID(),...e,bot:await g(e.bot),nextRunAt:(0,m.nextRun)(e.schedule,new Date)}).returning();return S(),O(r)}async function v(e,t){let[r]=await s.database.select().from(c.routineTable).where((0,l.eq)(c.routineTable.id,e));if(!r)return null;let a=t.schedule??r.schedule,n=!!t.schedule||t.enabled&&!r.enabled;n&&y(a,t.enabled??r.enabled);let[o]=await s.database.update(c.routineTable).set({...t,...t.bot?{bot:await g(t.bot)}:{},...n?{nextRunAt:(0,m.nextRun)(a,new Date)}:{}}).where((0,l.eq)(c.routineTable.id,e)).returning();return S(),O(o)}async function k(e){let t=await s.database.delete(c.routineTable).where((0,l.eq)(c.routineTable.id,e)).returning({id:c.routineTable.id});return t.length&&S(),t.length>0}e.s(["createRoutine",0,w,"deleteRoutine",0,k,"listRoutines",0,b,"resolveRoutine",0,T,"updateRoutine",0,v]),r()}catch(e){r(e)}},!1),473139,e=>{"use strict";var t=e.i(105249),r=e.i(687388),a=e.i(704161);let n=t.default.string().regex(/^([01]\d|2[0-3]):[0-5]\d$/,"A time is HH:MM, 00:00 to 23:59");function l(e){let[t,r]=e.split(" "),[a,n,l]=t.split("-").map(Number),[o,i]=r.split(":").map(Number);return new Date(a,n-1,l,o,i)}let o=/^\d{4}-\d\d-\d\d ([01]\d|2[0-3]):[0-5]\d$/,i=t.default.string().regex(o,'A moment is "YYYY-MM-DD HH:MM"').refine(e=>{if(!o.test(e))return!0;let t=l(e);return t.getMonth()===Number(e.slice(5,7))-1&&t.getDate()===Number(e.slice(8,10))},"There is no such day"),s=t.default.discriminatedUnion("kind",[t.default.object({kind:t.default.literal("once"),at:i}),t.default.object({kind:t.default.literal("daily"),time:n,days:t.default.array(t.default.number().int().min(1).max(7)).min(1,"Pick at least one day").transform(e=>[...new Set(e)].sort((e,t)=>e-t))}),t.default.object({kind:t.default.literal("every"),hours:t.default.number().int().min(r.ROUTINE.minHours,`No more often than every ${r.ROUTINE.minHours}h`).max(168)})]),c=t.default.object({bot:t.default.string().trim().min(1,"Pick a bot"),label:t.default.string().trim().min(1,"Give it a name").max(80),request:t.default.string().trim().min(1,"Say what it should do"),schedule:s}),u=t.default.object({id:t.default.string(),status:t.default.enum(["running","waiting","done","cancelled"]),outcome:t.default.string().nullable(),updatedAt:a.DateLikeSchema});c.extend({id:t.default.string(),enabled:t.default.boolean(),nextRunAt:a.DateLikeSchema,runs:t.default.array(u)});let d=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],m=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];e.s(["RoutineInputSchema",0,c,"RoutineScheduleSchema",0,s,"momentOf",0,l,"nextRun",0,function(e,t){if("once"===e.kind)return l(e.at);if("every"===e.kind)return new Date(t.getTime()+36e5*e.hours);let[r,a]=e.time.split(":").map(Number);for(let n=0;n<=7;n++){let l=new Date(t);l.setDate(l.getDate()+n),l.setHours(r,a,0,0);let o=0===l.getDay()?7:l.getDay();if(l>t&&e.days.includes(o))return l}return new Date(t.getTime()+864e5)},"scheduleText",0,function(e){if("once"===e.kind){let[t,r]=e.at.split(" "),[,a,n]=t.split("-").map(Number);return`Once \xb7 ${m[a-1]} ${n} ${r}`}if("every"===e.kind)return 1===e.hours?"Every hour":`Every ${e.hours} hours`;let{days:t,time:r}=e;if(7===t.length)return`Daily ${r}`;if(1===t.length)return`${d[t[0]-1]} ${r}`;let a=t.every((e,r)=>0===r||e===t[r-1]+1)?`${d[t[0]-1]}–${d[t.at(-1)-1]}`:t.map(e=>d[e-1]).join(" ");return`Daily ${r} \xb7 ${a}`}])},527608,824664,e=>{"use strict";var t=e.i(912714),r=e.i(750227),a=e.i(380690),n=e.i(687388);e.i(786025),e.i(640911);let l=e=>e.trim().toLowerCase().replace(/^[a-z]+:\/\//,"").replace(/^www\./,"").replace(/[/?#].*$/,"");e.s(["siteOf",0,l],824664);let o=(0,r.join)(n.DATA_DIR,n.PATHS.signIns),i=e=>(0,r.join)(o,`${encodeURIComponent(l(e))}.json`);async function s(e){try{return JSON.parse(await (0,t.readFile)(i(e),"utf8"))}catch{return null}}async function c(e){await (0,t.mkdir)(o,{recursive:!0}),await (0,t.writeFile)(i(e.site),JSON.stringify(e),{mode:384}),a.appEvents.emit({type:"signins"})}async function u(){let e=await (0,t.readdir)(o).catch(()=>[]);return(await Promise.all(e.filter(e=>e.endsWith(".json")).map(e=>s(decodeURIComponent(e.slice(0,-5)))))).flatMap(e=>e?[(({state:e,...t})=>t)(e)]:[]).sort((e,t)=>e.site.localeCompare(t.site))}async function d(e){let t=l(e.site),r=await s(t),a={site:t,account:e.account.trim()||t,bots:[...new Set([...r?.bots??[],e.bot])],asking:(r?.asking??[]).filter(t=>t!==e.bot),keptAt:new Date().toISOString(),usedAt:r?.usedAt??null,state:e.state};return await c(a),(({state:e,...t})=>t)(a)}async function m(e,t){let r=await s(e);if(!r)return{kind:"none",kept:(await u()).map(e=>e.site)};if(!r.bots.includes(t))return r.asking.includes(t)||await c({...r,asking:[...r.asking,t]}),{kind:"ask",signIn:(({state:e,...t})=>t)(r)};let a={...r,usedAt:new Date().toISOString()};return await c(a),{kind:"state",signIn:(({state:e,...t})=>t)(a),state:r.state}}e.s(["borrowSignIn",0,m,"keepSignIn",0,d,"listSignIns",0,u],527608)},22676,e=>e.a(async(t,r)=>{try{var a=e.i(349129),n=e.i(875225),l=e.i(518899),o=e.i(687388),i=e.i(528790),s=e.i(613240),c=e.i(378884),u=e.i(340698),d=e.i(134344),m=t([i,c,u]);async function p(){return(0,d.isSkillsOn)(await (0,u.readConfig)(d.THURSDAY_KEYS.skills))}async function f(e,t){for(let r of t)await i.database.insert(s.callMessageTable).values({callId:e,...r,fragments:r.fragments??null}).onConflictDoUpdate({target:[s.callMessageTable.callId,s.callMessageTable.id],set:{text:r.text,role:r.role,tool:r.tool??null,fragments:r.fragments??null}})}async function b(e){let[t]=await i.database.select({seq:l.sql`max(${s.callMessageTable.seq})`}).from(s.callMessageTable).where((0,n.eq)(s.callMessageTable.callId,e));return t?.seq==null?0:Number(t.seq)+1}async function h(e,t){await i.database.insert(s.callThoughtTable).values({callId:e,...t}).onConflictDoNothing()}async function T(e){let t=await i.database.select({callId:s.callMessageTable.callId,startedAt:s.callTable.startedAt,role:s.callMessageTable.role,tool:s.callMessageTable.tool,text:s.callMessageTable.text,seq:s.callMessageTable.seq}).from(s.callMessageTable).innerJoin(s.callTable,(0,n.eq)(s.callMessageTable.callId,s.callTable.id)).orderBy((0,a.desc)(s.callTable.startedAt),(0,a.desc)(s.callMessageTable.seq)).limit(e),r=new Map;for(let e of t){let t=r.get(e.callId)??{callId:e.callId,startedAt:e.startedAt,turns:[]};t.turns.push({role:e.role,tool:e.tool,text:e.text,seq:e.seq}),r.set(e.callId,t)}return[...r.values()].reverse().map(e=>({...e,turns:e.turns.reverse()}))}async function g(e,t,r){let[o]=await i.database.select({startedAt:s.callTable.startedAt}).from(s.callTable).where((0,n.eq)(s.callTable.id,e));if(!o)return null;let[c]=await i.database.select({total:l.sql`count(*)`}).from(s.callMessageTable).where((0,n.eq)(s.callMessageTable.callId,e)),u=await i.database.select({role:s.callMessageTable.role,tool:s.callMessageTable.tool,text:s.callMessageTable.text}).from(s.callMessageTable).where((0,n.eq)(s.callMessageTable.callId,e)).orderBy((0,a.asc)(s.callMessageTable.seq)).limit(r).offset((t-1)*r);return{startedAt:o.startedAt,total:Number(c?.total??0),turns:u}}async function y(){return(await i.database.select({id:s.callTable.id}).from(s.callTable).where((0,n.isNull)(s.callTable.endedAt)).limit(1)).length>0}async function w(e){let t=e.limit??o.CALL_HISTORY_PAGE,r=await i.database.select({id:s.callTable.id,provider:s.callTable.provider,model:s.callTable.model,backendModel:s.callTable.backendModel,startedAt:s.callTable.startedAt,endedAt:s.callTable.endedAt,endedReason:s.callTable.endedReason,seconds:s.callTable.seconds}).from(s.callTable).innerJoin(s.callMessageTable,(0,n.eq)(s.callMessageTable.callId,s.callTable.id)).where(e.before?(0,n.lt)(s.callTable.startedAt,e.before):void 0).groupBy(s.callTable.id).orderBy((0,a.desc)(s.callTable.startedAt)).limit(t);if(0===r.length)return[];let l=await i.database.select({callId:s.callMessageTable.callId,id:s.callMessageTable.id,role:s.callMessageTable.role,tool:s.callMessageTable.tool,text:s.callMessageTable.text,seq:s.callMessageTable.seq,fragments:s.callMessageTable.fragments,at:s.callMessageTable.at}).from(s.callMessageTable).where((0,n.inArray)(s.callMessageTable.callId,r.map(e=>e.id))).orderBy((0,a.asc)(s.callMessageTable.callId),(0,a.asc)(s.callMessageTable.seq)),u=new Map;for(let e of l){let{callId:t,...r}=e,a=u.get(t);a?a.push(r):u.set(t,[r])}let d=await (0,c.listCallJobs)(r.map(e=>e.id));return r.map(e=>({...e,turns:u.get(e.id)??[],jobs:d.filter(t=>t.callId===e.id).map(e=>({id:e.id,label:e.label,status:e.status,outcome:e.outcome}))}))}[i,c,u]=m.then?(await m)():m,e.s(["isAnyCallLive",0,y,"listCallHistory",0,w,"listRecentTurns",0,T,"nextTurnSeq",0,b,"readCallConversation",0,g,"readCallSkillsOn",0,p,"saveThought",0,h,"saveTurns",0,f]),r()}catch(e){r(e)}},!1),134344,e=>{"use strict";var t=e.i(105249),r=e.i(687388),a=e.i(911757),n=e.i(264079),l=e.i(904309);let o=a.LiveSettingsSchema.extend({locale:t.default.string().max(35).nullish()}),i=[{id:"chatgpt",...n.TEXT_MODEL_PROVIDERS.chatgpt},{id:"openai",...n.TEXT_MODEL_PROVIDERS.openai}];t.default.object({charset:t.default.enum(["ascii","emoji","emojiOnly"]).default(r.ASCII_FACE.charset),fontSize:t.default.number().min(r.ASCII_FACE.fontSize.min).max(r.ASCII_FACE.fontSize.max).default(r.ASCII_FACE.fontSize.default),density:t.default.number().min(r.ASCII_FACE.density.min).max(r.ASCII_FACE.density.max).default(r.ASCII_FACE.density.default)}).parse({});t.default.object({enabled:t.default.boolean(),phrase:t.default.string().trim().min(3).max(32)}),t.default.object({enabled:t.default.boolean(),combo:t.default.string().trim().min(1).max(64)}),t.default.enum(["off","waiting","any"]),t.default.enum(["center","sides"]),t.default.object({id:t.default.string().min(1),role:t.default.enum(["user","assistant","tool"]),tool:t.default.string().nullish(),text:t.default.string(),seq:t.default.number().int().min(0),fragments:t.default.array(l.LiveFragmentSchema).nullish()}),t.default.object({id:t.default.string().min(1),text:t.default.string(),seq:t.default.number().int().min(0)}),e.s(["TEXT_CALL_PROVIDERS",0,i,"THURSDAY_KEYS",0,{skills:"THURSDAY_SKILLS"},"ThursdaySettingsSchema",0,o,"isSkillsOn",0,e=>e?.trim()==="on","textCallRunsOn",0,e=>i.find(t=>e(t.apiKeyName))?.id??null],134344)},629668,175936,e=>{"use strict";let t=e=>e.split("/").map(encodeURIComponent).join("/"),r={memory:"/api/memory",memoryPage:e=>({url:"/api/memory",query:{offset:e||null}}),notePath:e=>({url:"/api/memory",query:{path:e}}),mcp:"/api/mcp",mcpServer:e=>({url:"/api/mcp",pathVariable:[e]}),mcpTools:"/api/mcp/tools",skills:"/api/skills",skillNode:(e,t,r)=>({url:"/api/skills",pathVariable:[e,t],query:{path:r}}),bot:"/api/bot",botMemory:"/api/bot/memory",botKeepWorking:"/api/bot/keep-working",botMemoryFiles:e=>({url:"/api/bot/memory/files",query:{bot:e}}),routines:"/api/routine",threads:"/api/bot/thread",threadHistory:e=>({url:"/api/bot/thread",query:{history:1,before:e}}),thread:e=>({url:"/api/bot/thread",query:{id:e}}),toolResult:(e,t)=>({url:"/api/bot/thread",pathVariable:[e],query:{call:t}}),workspace:"/api/workspace",workspaceFolder:(e,t)=>({url:"/api/workspace",query:{path:e||null,rows:t}}),workspaceFiles:e=>({url:"/api/workspace/files",query:{paths:JSON.stringify(e)}}),artifacts:"/api/artifact",artifactShelf:e=>({url:"/api/artifact",query:{rows:e}}),artifactSet:(e,t)=>({url:"/api/artifact",query:{set:e,rows:t}}),file:e=>`/api/file/${t(e)}`,favicon:e=>`/api/favicon/${encodeURIComponent(e)}`,fileView:e=>`/artifact/${t(e)}`,events:"/api/events",config:"/api/config",callHistory:e=>({url:"/api/thursday/call",query:{before:e}}),callSkills:"/api/thursday/skills",toolCall:"/api/thursday/tool-call",signIns:"/api/signins",reach:"/api/reach",textCall:"/api/thursday/text",memoryEdit:"/api/memory/edit",llmModel:"/api/llm-model",modelCatalog:"/api/llm-model/catalog",gatewayCredits:"/api/llm-model/credits",subscriptionUsage:"/api/llm-model/subscription"};e.s(["decodePath",0,e=>e.join("/"),"queryKey",0,r],175936);var a=e.i(687388);let n=e=>`text/${e}; charset=utf-8`,l={md:{kind:"markdown",mime:n("markdown")},markdown:{kind:"markdown",mime:n("markdown")},csv:{kind:"csv",mime:n("csv")},json:{kind:"json",mime:"application/json; charset=utf-8"},txt:{kind:"text",mime:n("plain")},log:{kind:"text",mime:n("plain")},html:{kind:"frame",mime:n("html")},htm:{kind:"frame",mime:n("html")},pdf:{kind:"frame",mime:"application/pdf"},png:{kind:"image",mime:"image/png"},jpg:{kind:"image",mime:"image/jpeg"},jpeg:{kind:"image",mime:"image/jpeg"},gif:{kind:"image",mime:"image/gif"},webp:{kind:"image",mime:"image/webp"},svg:{kind:"image",mime:"image/svg+xml"},mp3:{kind:"audio",mime:"audio/mpeg"},wav:{kind:"audio",mime:"audio/wav"},mp4:{kind:"video",mime:"video/mp4"},webm:{kind:"video",mime:"video/webm"},css:{kind:"none",mime:n("css")},js:{kind:"none",mime:n("javascript")},woff2:{kind:"none",mime:"font/woff2"}},o=e=>e.split(".").pop()?.toLowerCase()??"",i=new Set(["node_modules","__pycache__"]),s=Object.entries(l).filter(([,e])=>"none"!==e.kind).map(([e])=>e),c=RegExp(String.raw`(?<![\p{L}\p{N}_/:@%-])\/?(?:[\p{L}\p{N}_.@%-]+/)*[\p{L}\p{N}_@%-]+(?:\.[\p{L}\p{N}_-]+)*\.(?:${s.join("|")})\b`,"giu"),u=`${a.PATHS.workspace}/`,d=r.file(""),m=/^[\s`'"*_)]*(?:~|–|—|-|\.{2,}|…|to|through)[\s`'"*_(]*$/i;e.s(["isListedFolder",0,e=>!e.startsWith(".")&&!i.has(e),"mimeOf",0,e=>l[o(e)]?.mime??"application/octet-stream","opensOnFinish",0,e=>e.startsWith(`${a.PATHS.artifacts}/`)&&["md","markdown","html","htm"].includes(o(e)),"pathsIn",0,function(e){let t=e.replace(/\b[a-z][\w+.-]*:\/\/\S+/gi," "),r=new Set,a="",n=null;for(let e of t.matchAll(c)){let l=e[0],o=!l.includes("/"),i=function(e){let t,r,a=(r=(t=function(e){if(!e.startsWith(d))return e;let t=e.slice(d.length);try{return decodeURIComponent(t)}catch{return t}}(e.trim())).indexOf(u))>=0?t.slice(r+u.length)||null:t.startsWith("/")||/^[A-Za-z]:/.test(t)||t.split("/").includes("..")?null:t||null;if(!a)return null;let[n,...l]=a.split("/");return l.length&&n.includes(".")?null:a}(o?a+l:l);if(o||(a=i?.slice(0,i.lastIndexOf("/")+1)??""),i){if(n&&m.test(t.slice(n.end,e.index)))for(let e of function(e,t){let r=/^(.*?)(\d+)(\D*)$/.exec(e),a=/^(.*?)(\d+)(\D*)$/.exec(t);if(!r||!a||r[1]!==a[1]||r[3]!==a[3])return[];let n=Number(r[2]),l=Number(a[2]);if(!(l-n>1)||l-n>12)return[];let o=r[2].startsWith("0")?r[2].length:0;return Array.from({length:l-n-1},(e,t)=>`${r[1]}${String(n+t+1).padStart(o,"0")}${r[3]}`)}(n.rel,i))r.add(e);r.add(i),n={rel:i,end:e.index+l.length}}}return[...r].slice(0,12)},"viewKindOf",0,e=>l[o(e)]?.kind??"none"],629668)},268486,e=>{"use strict";var t=e.i(41444);e.s(["createKeyedLock",0,function(){let e=new Map,r=new Map;return function(a,n){let l=e.get(a);l||(l=(0,t.PromiseChain)(),e.set(a,l)),r.set(a,(r.get(a)??0)+1);let o=()=>{let t=(r.get(a)??1)-1;t>0?r.set(a,t):(r.delete(a),e.delete(a))};return l(n).then(e=>(o(),e),e=>{throw o(),e})}}])},78997,(e,t,r)=>{"use strict";var a=Object.create,n=Object.defineProperty,l=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of o(t))s.call(e,i)||i===r||n(e,i,{get:()=>t[i],enumerable:!(a=l(t,i))||a.enumerable});return e},u=(e,t,r)=>(r=null!=e?a(i(e)):{},c(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)),d={},m={isValidAccessToken:()=>w,readAuthConfig:()=>g,writeAuthConfig:()=>y};for(var p in m)n(d,p,{get:m[p],enumerable:!0});t.exports=c(n({},"__esModule",{value:!0}),d);var f=u(e.r(522734)),b=u(e.r(814747)),h=e.r(783697);function T(){let e=(0,h.getVercelDataDir)();if(!e)throw Error(`Unable to find Vercel CLI data directory. Your platform: ${process.platform}. Supported: darwin, linux, win32.`);return b.join(e,"auth.json")}function g(){try{let e=T();if(!f.existsSync(e))return null;let t=f.readFileSync(e,"utf8");if(!t)return null;return JSON.parse(t)}catch(e){return null}}function y(e){let t=T(),r=b.dirname(t);f.existsSync(r)||f.mkdirSync(r,{mode:504,recursive:!0}),f.writeFileSync(t,JSON.stringify(e,null,2),{mode:384})}function w(e,t=0){if(!e.token)return!1;if("number"!=typeof e.expiresAt)return!0;let r=Math.floor(Date.now()/1e3);return e.expiresAt>=r+t/1e3}},452005,(e,t,r)=>{"use strict";var a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,i={},s={AccessTokenMissingError:()=>u,RefreshAccessTokenFailedError:()=>d};for(var c in s)a(i,c,{get:s[c],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))o.call(e,i)||void 0===i||a(e,i,{get:()=>t[i],enumerable:!(r=n(t,i))||r.enumerable});return e})(a({},"__esModule",{value:!0}),i);class u extends Error{constructor(){super("No authentication found. Please log in with the Vercel CLI (vercel login)."),this.name="AccessTokenMissingError"}}class d extends Error{constructor(e){super("Failed to refresh authentication token.",{cause:e}),this.name="RefreshAccessTokenFailedError"}}},394853,(e,t,r)=>{"use strict";var a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,i={},s={processTokenResponse:()=>b,refreshTokenRequest:()=>f};for(var c in s)a(i,c,{get:s[c],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))o.call(e,i)||void 0===i||a(e,i,{get:()=>t[i],enumerable:!(r=n(t,i))||r.enumerable});return e})(a({},"__esModule",{value:!0}),i);var u=e.r(446786);let d=`@vercel/oidc node-${process.version} ${(0,u.platform)()} (${(0,u.arch)()}) ${(0,u.hostname)()}`,m=null;async function p(){if(m)return m;let e=await fetch("https://vercel.com/.well-known/openid-configuration",{headers:{"user-agent":d}});if(!e.ok)throw Error("Failed to discover OAuth endpoints");let t=await e.json();if(!t||"string"!=typeof t.token_endpoint)throw Error("Invalid OAuth discovery response");let r=t.token_endpoint;return m=r,r}async function f(e){let t=await p();return await fetch(t,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded","user-agent":d},body:new URLSearchParams({client_id:"cl_HYyOPBNtFMfHhaUn9L4QPfTZz6TP47bp",grant_type:"refresh_token",...e})})}async function b(e){let t=await e.json();return e.ok?"object"!=typeof t||null===t?[Error("Invalid token response")]:"string"!=typeof t.access_token?[Error("Missing access_token in response")]:"Bearer"!==t.token_type?[Error("Invalid token_type in response")]:"number"!=typeof t.expires_in?[Error("Missing expires_in in response")]:[null,t]:[Error("object"==typeof t&&t&&"error"in t?String(t.error):"Token refresh failed")]}},484199,(e,t,r)=>{"use strict";var a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,i={},s={VercelOidcTokenError:()=>u};for(var c in s)a(i,c,{get:s[c],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))o.call(e,i)||void 0===i||a(e,i,{get:()=>t[i],enumerable:!(r=n(t,i))||r.enumerable});return e})(a({},"__esModule",{value:!0}),i);class u extends Error{constructor(e,t){super(e),this.name="VercelOidcTokenError",this.cause=t}toString(){return this.cause?`${this.name}: ${this.message}: ${this.cause}`:`${this.name}: ${this.message}`}}},1791,(e,t,r)=>{"use strict";var a=Object.create,n=Object.defineProperty,l=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of o(t))s.call(e,i)||i===r||n(e,i,{get:()=>t[i],enumerable:!(a=l(t,i))||a.enumerable});return e},u=(e,t,r)=>(r=null!=e?a(i(e)):{},c(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)),d={},m={findRootDir:()=>g,getUserDataDir:()=>y};for(var p in m)n(d,p,{get:m[p],enumerable:!0});t.exports=c(n({},"__esModule",{value:!0}),d);var f=u(e.r(814747)),b=u(e.r(522734)),h=u(e.r(446786)),T=e.r(484199);function g(){try{let e=process.cwd();for(;e!==f.default.dirname(e);){let t=f.default.join(e,".vercel");if(b.default.existsSync(t))return e;e=f.default.dirname(e)}}catch(e){throw new T.VercelOidcTokenError("Token refresh only supported in node server environments")}return null}function y(){if(process.env.XDG_DATA_HOME)return process.env.XDG_DATA_HOME;switch(h.default.platform()){case"darwin":return f.default.join(h.default.homedir(),"Library/Application Support");case"linux":return f.default.join(h.default.homedir(),".local/share");case"win32":if(process.env.LOCALAPPDATA)return process.env.LOCALAPPDATA;return null;default:return null}}},783697,(e,t,r)=>{"use strict";var a=Object.create,n=Object.defineProperty,l=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of o(t))s.call(e,i)||i===r||n(e,i,{get:()=>t[i],enumerable:!(a=l(t,i))||a.enumerable});return e},u=(e,t,r)=>(r=null!=e?a(i(e)):{},c(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)),d={},m={assertVercelOidcTokenResponse:()=>O,findProjectInfo:()=>j,getTokenPayload:()=>M,getVercelDataDir:()=>v,getVercelOidcToken:()=>S,getVercelToken:()=>k,isExpired:()=>I,loadToken:()=>x,saveToken:()=>A};for(var p in m)n(d,p,{get:m[p],enumerable:!0});t.exports=c(n({},"__esModule",{value:!0}),d);var f=u(e.r(814747)),b=u(e.r(522734)),h=e.r(484199),T=e.r(1791),g=e.r(78997),y=e.r(394853),w=e.r(452005);function v(){let e=(0,T.getUserDataDir)();return e?f.join(e,"com.vercel.cli"):null}async function k(e){let t=(0,g.readAuthConfig)();if(!t?.token)throw new w.AccessTokenMissingError;if((0,g.isValidAccessToken)(t,e?.expirationBufferMs))return t.token;if(!t.refreshToken)throw(0,g.writeAuthConfig)({}),new w.RefreshAccessTokenFailedError("No refresh token available");try{let e=await (0,y.refreshTokenRequest)({refresh_token:t.refreshToken}),[r,a]=await (0,y.processTokenResponse)(e);if(r||!a)throw(0,g.writeAuthConfig)({}),new w.RefreshAccessTokenFailedError(r);let n={token:a.access_token,expiresAt:Math.floor(Date.now()/1e3)+a.expires_in};return a.refresh_token&&(n.refreshToken=a.refresh_token),(0,g.writeAuthConfig)(n),n.token}catch(e){if((0,g.writeAuthConfig)({}),e instanceof w.AccessTokenMissingError||e instanceof w.RefreshAccessTokenFailedError)throw e;throw new w.RefreshAccessTokenFailedError(e)}}async function S(e,t,r){let a=`https://api.vercel.com/v1/projects/${t}/token?source=vercel-oidc-refresh${r?`&teamId=${r}`:""}`,n=await fetch(a,{method:"POST",headers:{Authorization:`Bearer ${e}`}});if(!n.ok)throw new h.VercelOidcTokenError(`Failed to refresh OIDC token: ${n.statusText}`);let l=await n.json();return O(l),l}function O(e){if(!e||"object"!=typeof e)throw TypeError("Vercel OIDC token is malformed. Expected an object. Please run `vc env pull` and try again");if(!("token"in e)||"string"!=typeof e.token)throw TypeError("Vercel OIDC token is malformed. Expected a string-valued token property. Please run `vc env pull` and try again")}function j(){let e=(0,T.findRootDir)();if(!e)throw new h.VercelOidcTokenError("Unable to find project root directory. Have you linked your project with `vc link?`");let t=f.join(e,".vercel","project.json");if(!b.existsSync(t))throw new h.VercelOidcTokenError("project.json not found, have you linked your project with `vc link?`");let r=JSON.parse(b.readFileSync(t,"utf8"));if("string"!=typeof r.projectId&&"string"!=typeof r.orgId)throw TypeError("Expected a string-valued projectId property. Try running `vc link` to re-link your project.");return{projectId:r.projectId,teamId:r.orgId}}function A(e,t){let r=(0,T.getUserDataDir)();if(!r)throw new h.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");let a=f.join(r,"com.vercel.token",`${t}.json`),n=JSON.stringify(e);b.mkdirSync(f.dirname(a),{mode:504,recursive:!0}),b.writeFileSync(a,n),b.chmodSync(a,432)}function x(e){let t=(0,T.getUserDataDir)();if(!t)throw new h.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");let r=f.join(t,"com.vercel.token",`${e}.json`);if(!b.existsSync(r))return null;let a=JSON.parse(b.readFileSync(r,"utf8"));return O(a),a}function M(e){let t=e.split(".");if(3!==t.length)throw new h.VercelOidcTokenError("Invalid token. Please run `vc env pull` and try again");let r=t[1].replace(/-/g,"+").replace(/_/g,"/"),a=r.padEnd(r.length+(4-r.length%4)%4,"=");return JSON.parse(Buffer.from(a,"base64").toString("utf8"))}function I(e,t=0){return 1e3*e.exp<Date.now()+t}},260338,e=>{"use strict";var t=e.i(518899),r=e.i(844988),a=e.i(156325);e.s(["count",0,function(e){return t.sql`count(${e||t.sql.raw("*")})`.mapWith(Number)},"max",0,function(e){return t.sql`max(${e})`.mapWith((0,r.is)(e,a.Column)?e:String)}])}];
4
4
 
5
5
  //# sourceMappingURL=%5Broot-of-the-server%5D__04r4h-2._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[70729,s=>{s.v(e=>Promise.all(["server/chunks/[externals]_node_crypto_1kn79-7._.js"].map(e=>s.l(e))).then(()=>e(666680)))},102473,s=>{s.v(e=>Promise.all(["server/chunks/[root-of-the-server]__18-2tsq._.js","server/chunks/lib_logger_ts_07e65t5._.js"].map(e=>s.l(e))).then(()=>e(232347)))},242792,s=>{s.v(e=>Promise.all(["server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1y49572._.js","server/chunks/_10tkr26._.js","server/chunks/[root-of-the-server]__0nr-v8s._.js","server/chunks/_1y8w80a._.js","server/chunks/lib_logger_ts_07e65t5._.js","server/chunks/_1kg70wc._.js","server/chunks/_1ogqovh._.js"].map(e=>s.l(e))).then(()=>e(799791)))},327784,s=>{s.v(e=>Promise.all(["server/chunks/[root-of-the-server]__0mrk2it._.js","server/chunks/_1tpr507._.js","server/chunks/features_0rfvely._.js","server/chunks/_05h2cii._.js","server/chunks/[root-of-the-server]__0n-l_n_._.js","server/chunks/features_0hdaci0._.js","server/chunks/_136j09a._.js","server/chunks/_1kg70wc._.js","server/chunks/_10tkr26._.js","server/chunks/lib_logger_ts_07e65t5._.js","server/chunks/_1zxp-p6._.js","server/chunks/_1jn-aep._.js"].map(e=>s.l(e))).then(()=>e(49002)))},193435,s=>{s.v(e=>Promise.all(["server/chunks/[root-of-the-server]__0h_x6q6._.js","server/chunks/features_0hdaci0._.js","server/chunks/_0f6ts7z._.js","server/chunks/_1e48czp._.js","server/chunks/_1y8w80a._.js","server/chunks/lib_logger_ts_07e65t5._.js"].map(e=>s.l(e))).then(()=>e(5509)))},890054,s=>{s.v(e=>Promise.all(["server/chunks/_0eauz4t._.js"].map(e=>s.l(e))).then(()=>e(375814)))},51833,s=>{s.v(e=>Promise.all(["server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1y49572._.js","server/chunks/lib_logger_ts_07e65t5._.js","server/chunks/[root-of-the-server]__1cjxw0-._.js"].map(e=>s.l(e))).then(()=>e(871096)))},573349,s=>{s.v(e=>Promise.all(["server/chunks/[root-of-the-server]__1wbc1wv._.js"].map(e=>s.l(e))).then(()=>e(913803)))},566462,s=>{s.v(e=>Promise.all(["server/chunks/[root-of-the-server]__0rl-fef._.js"].map(e=>s.l(e))).then(()=>e(313176)))},207580,s=>{s.v(e=>Promise.all(["server/chunks/[externals]__0y3n8y6._.js","server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0q8fc1x._.js"].map(e=>s.l(e))).then(()=>e(27996)))}];
1
+ module.exports=[70729,s=>{s.v(e=>Promise.all(["server/chunks/[externals]_node_crypto_1kn79-7._.js"].map(e=>s.l(e))).then(()=>e(666680)))},102473,s=>{s.v(e=>Promise.all(["server/chunks/[root-of-the-server]__18-2tsq._.js","server/chunks/lib_logger_ts_07e65t5._.js"].map(e=>s.l(e))).then(()=>e(232347)))},242792,s=>{s.v(e=>Promise.all(["server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1y49572._.js","server/chunks/_10tkr26._.js","server/chunks/[root-of-the-server]__0nr-v8s._.js","server/chunks/_1y8w80a._.js","server/chunks/lib_logger_ts_07e65t5._.js","server/chunks/_1kg70wc._.js","server/chunks/_1ogqovh._.js"].map(e=>s.l(e))).then(()=>e(799791)))},327784,s=>{s.v(e=>Promise.all(["server/chunks/[root-of-the-server]__0mrk2it._.js","server/chunks/_1tpr507._.js","server/chunks/features_0rfvely._.js","server/chunks/_05h2cii._.js","server/chunks/[root-of-the-server]__1wnzmx9._.js","server/chunks/_10tkr26._.js","server/chunks/_136j09a._.js","server/chunks/_1kg70wc._.js","server/chunks/features_0hdaci0._.js","server/chunks/_1jn-aep._.js","server/chunks/_1zxp-p6._.js","server/chunks/lib_logger_ts_07e65t5._.js"].map(e=>s.l(e))).then(()=>e(49002)))},193435,s=>{s.v(e=>Promise.all(["server/chunks/[root-of-the-server]__0h_x6q6._.js","server/chunks/features_0hdaci0._.js","server/chunks/_0f6ts7z._.js","server/chunks/_1e48czp._.js","server/chunks/_1y8w80a._.js","server/chunks/lib_logger_ts_07e65t5._.js"].map(e=>s.l(e))).then(()=>e(5509)))},890054,s=>{s.v(e=>Promise.all(["server/chunks/_0eauz4t._.js"].map(e=>s.l(e))).then(()=>e(375814)))},51833,s=>{s.v(e=>Promise.all(["server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1y49572._.js","server/chunks/lib_logger_ts_07e65t5._.js","server/chunks/[root-of-the-server]__1cjxw0-._.js"].map(e=>s.l(e))).then(()=>e(871096)))},573349,s=>{s.v(e=>Promise.all(["server/chunks/[root-of-the-server]__1wbc1wv._.js"].map(e=>s.l(e))).then(()=>e(913803)))},566462,s=>{s.v(e=>Promise.all(["server/chunks/[root-of-the-server]__0rl-fef._.js"].map(e=>s.l(e))).then(()=>e(313176)))},207580,s=>{s.v(e=>Promise.all(["server/chunks/[externals]__0y3n8y6._.js","server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0q8fc1x._.js"].map(e=>s.l(e))).then(()=>e(27996)))}];
2
2
 
3
3
  //# sourceMappingURL=%5Broot-of-the-server%5D__0mrk2it._.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[70729,e=>{e.v(e=>Promise.resolve().then(()=>e(666680)))},522275,e=>{e.v(e=>Promise.resolve().then(()=>e(380690)))},441758,e=>e.a(async(t,r)=>{try{var a=e.i(97334),n=e.i(91264),s=t([a]);[a]=s.then?(await s)():s;let i=(0,n.serverRoute)(async e=>(0,a.streamTextCall)(await e.json(),e.signal));e.s(["POST",0,i]),r()}catch(e){r(e)}},!1),495744,e=>{"use strict";var t=e.i(747909),r=e.i(174017),a=e.i(996250),n=e.i(759756),s=e.i(561916),i=e.i(174677),o=e.i(869741),l=e.i(316795),d=e.i(487718),u=e.i(995169),c=e.i(47587),h=e.i(666012),p=e.i(570101),v=e.i(626937),m=e.i(10372),R=e.i(193695);e.i(52474);var w=e.i(600220);let g=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/thursday/text/route",pathname:"/api/thursday/text",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/thursday/text/route.ts",nextConfigOutput:"standalone",userland:()=>e.r(441758),...{}}),{workAsyncStorage:f,workUnitAsyncStorage:_,serverHooks:x}=g;async function E(e,t,a){a.requestMeta&&(0,n.setRequestMeta)(e,a.requestMeta),g.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let f="/api/thursday/text/route";f=f.replace(/\/index$/,"")||"/";let _=await g.prepare(e,t,{srcPage:f,multiZoneDraftMode:!1});if(!_)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:x,deploymentId:E,params:P,nextConfig:C,parsedUrl:A,isDraftMode:y,prerenderManifest:T,routerServerContext:b,isOnDemandRevalidate:S,revalidateOnlyGenerated:N,resolvedPathname:k,clientReferenceManifest:O,serverActionsManifest:q}=_,H=(0,o.normalizeAppPath)(f),I=!!(T.dynamicRoutes[H]||T.routes[k]),M=async()=>((null==b?void 0:b.render404)?await b.render404(e,t,A,!1):t.end("This page could not be found"),null);if(I&&!y){let e=!!T.routes[k],t=T.dynamicRoutes[H];if(t&&!1===t.fallback&&!e){if(C.adapterPath)return await M();throw new R.NoFallbackError}}let j=null;!I||g.isDev||y||(j="/index"===(j=k)?"/":j);let U=!0===g.isDev||!I,D=I&&!U;q&&O&&(0,i.setManifestsSingleton)({page:f,clientReferenceManifest:O,serverActionsManifest:q});let $=e.method||"GET",L=(0,s.getTracer)(),F=L.getActiveScopeSpan(),K=!!(null==b?void 0:b.isWrappedByNextServer),B=!!(0,n.getRequestMeta)(e,"minimalMode"),G=(0,n.getRequestMeta)(e,"incrementalCache")||await g.getIncrementalCache(e,C,T,B);null==G||G.resetRequestCache(),globalThis.__incrementalCache=G;let V={params:P,previewProps:T.preview,renderOpts:{experimental:{authInterrupts:!!C.experimental.authInterrupts,useCacheTimeout:C.experimental.useCacheTimeout},cacheComponents:!!C.cacheComponents,validationLevel:C.experimental.instantInsights.validationLevel,supportsDynamicResponse:U,incrementalCache:G,hmrRefreshHash:(0,n.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:C.cacheLife,staticPageGenerationTimeout:C.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>g.onRequestError(e,t,a,n,b)},sharedContext:{buildId:x,deploymentId:E}},X=new l.NodeNextRequest(e),W=new l.NodeNextResponse(t),z=d.NextRequestAdapter.fromNodeNextRequest(X,(0,d.signalFromNodeResponse)(t)),Z=async({previousCacheEntry:r})=>{try{if(!B&&S&&N&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await g.handle(z,V);e.fetchMetrics=V.renderOpts.fetchMetrics;let s=V.renderOpts.pendingWaitUntil;s&&a.waitUntil&&(a.waitUntil(s),s=void 0);let i=V.renderOpts.collectedTags;if(!I)return await (0,h.sendResponse)(X,W,n,s),null;{let e=await n.blob(),t=(0,p.toNodeOutgoingHttpHeaders)(n.headers);i&&(t[m.NEXT_CACHE_TAGS_HEADER]=i),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,a=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=m.INFINITE_CACHE?!1!==r&&r>0?C.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:w.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await g.onRequestError(e,t,{routerKind:"App Router",routePath:f,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:S})},!1,b),t}},J=async(n,i)=>{try{var o,l;let n=await g.handleResponse({req:e,nextConfig:C,cacheKey:j,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:T,isRoutePPREnabled:!1,isOnDemandRevalidate:S,revalidateOnlyGenerated:N,responseGenerator:Z,waitUntil:a.waitUntil,isMinimalMode:B});if(!I)return;if((null==n||null==(o=n.value)?void 0:o.kind)!==w.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==n||null==(l=n.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});B||t.setHeader("x-nextjs-cache",S?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),y&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let s=(0,p.fromNodeOutgoingHttpHeaders)(n.value.headers);B&&I||s.delete(m.NEXT_CACHE_TAGS_HEADER),!n.cacheControl||t.getHeader("Cache-Control")||s.get("Cache-Control")||s.set("Cache-Control",(0,v.getCacheControlHeader)(n.cacheControl)),await (0,h.sendResponse)(X,W,new Response(n.value.body,{headers:s,status:n.value.status||200}));return}catch(t){if(t instanceof R.NoFallbackError||await g.onRequestError(e,t,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:S})},!1,b),I)throw t;await (0,h.sendResponse)(X,W,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:s.SpanStatusCode.ERROR}),n.setAttribute("error.type",e.toString()));let r=L.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==u.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route")||H,o=`${$} ${a}`;n.setAttributes({"next.route":a,"http.route":a,"next.span_name":o}),n.updateName(o),i&&i!==n&&(i.setAttribute("http.route",a),i.updateName(o))})()}};if(K&&F)await J(F,void 0);else{let t=L.getActiveScopeSpan();await L.withPropagatedContext(e.headers,()=>L.trace(u.BaseServerSpan.handleRequest,{spanName:`${$} ${f}`,kind:s.SpanKind.SERVER,attributes:{"http.method":$,"http.target":e.url}},e=>J(e,t)),void 0,!K)}}e.s(["handler",0,E,"patchFetch",0,function(){return(0,a.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:_})},"routeModule",0,g,"serverHooks",0,x,"workAsyncStorage",0,f,"workUnitAsyncStorage",0,_])},186304,e=>{"use strict";e.i(902157),e.i(912714);var t=e.i(750227),r=e.i(687388);(0,t.join)(r.APP_DIR,"guide");let a=".guide";e.s(["botGuideLine",0,()=>`How ${r.APP_NAME} itself works for the user — its screens and settings — is written under \`${a}/\` here, \`index.md\` first; read it only when the job is about the app.`,"guideLine",0,()=>`How ${r.APP_NAME} works for the person using it — its screens, its settings, what it connects to, what to do when something stops — is written under \`${a}/\` here, \`index.md\` first. Read it whenever an answer depends on how the app works: what can be asked for, where something is changed, a wish that needs a setting switched on, something that stopped or was refused. Answer from it rather than from what you assume.`])},814317,e=>{e.v(e=>Promise.resolve().then(()=>e(265143)))},994193,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_node_timers_promises_1-73689._.js","server/chunks/_1dc_d1q._.js"].map(t=>e.l(t))).then(()=>t(39803)))},866938,e=>{e.v(e=>Promise.resolve().then(()=>e(378884)))},628124,e=>{e.v(e=>Promise.resolve().then(()=>e(629668)))},149325,e=>{e.v(e=>Promise.resolve().then(()=>e(786025)))},967030,e=>{e.v(e=>Promise.resolve().then(()=>e(783697)))},683671,e=>{e.v(t=>Promise.all(["server/chunks/node_modules_@vercel_oidc_dist_token_1o4m7ms.js"].map(t=>e.l(t))).then(()=>t(390391)))},329280,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_node_readline_1u65a-m._.js","server/chunks/node_modules_consola_dist_chunks_prompt_mjs_02axwqv._.js"].map(t=>e.l(t))).then(()=>t(781937)))}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__0nmhgeo._.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[500874,(e,s,r)=>{s.exports=e.x("buffer",()=>require("buffer"))},233405,(e,s,r)=>{s.exports=e.x("child_process",()=>require("child_process"))},522734,(e,s,r)=>{s.exports=e.x("fs",()=>require("fs"))},70729,e=>{e.v(e=>Promise.resolve().then(()=>e(666680)))},347299,(e,s,r)=>{s.exports=e.x("node:http",()=>require("node:http"))},136340,(e,s,r)=>{s.exports=e.x("node:timers/promises",()=>require("node:timers/promises"))},446786,(e,s,r)=>{s.exports=e.x("os",()=>require("os"))},814747,(e,s,r)=>{s.exports=e.x("path",()=>require("path"))},605365,(e,s,r)=>{s.exports=e.x("process",()=>require("process"))},522275,e=>{e.v(e=>Promise.resolve().then(()=>e(380690)))},186304,e=>{"use strict";e.i(902157),e.i(912714);var s=e.i(750227),r=e.i(687388);(0,s.join)(r.APP_DIR,"guide");let t=".guide";e.s(["botGuideLine",0,()=>`How ${r.APP_NAME} itself works for the user — its screens and settings — is written under \`${t}/\` here, \`index.md\` first; read it only when the job is about the app.`,"guideLine",0,()=>`How ${r.APP_NAME} works for the person using it — its screens, its settings, what it connects to, what to do when something stops — is written under \`${t}/\` here, \`index.md\` first. Read it whenever an answer depends on how the app works: what can be asked for, where something is changed, a wish that needs a setting switched on, something that stopped or was refused. Answer from it rather than from what you assume.`])},814317,e=>{e.v(e=>Promise.resolve().then(()=>e(265143)))},994193,e=>{e.v(e=>Promise.resolve().then(()=>e(39803)))},866938,e=>{e.v(e=>Promise.resolve().then(()=>e(378884)))},628124,e=>{e.v(e=>Promise.resolve().then(()=>e(629668)))},440998,e=>{"use strict";var s=e.i(912714),r=e.i(750227),t=e.i(687388),i=e.i(53748),n=e.i(629668),o=e.i(786025);async function a(e,l=t.WORKSPACE_VIEW.rows){let h=await (0,o.insideWorkspace)(e);h||(0,i.publicError)("Outside the workspace");let u=await (0,s.readdir)(h,{withFileTypes:!0}).catch(()=>null);u||(0,i.publicError)("No such folder");let d=u.filter(e=>e.isDirectory()?(0,n.isListedFolder)(e.name):e.isFile()&&"none"!==(0,n.viewKindOf)(e.name)).sort((e,s)=>Number(e.isFile())-Number(s.isFile())||e.name.localeCompare(s.name)),m=await Promise.all(d.slice(0,l).map(async t=>{let i=e?`${e}/${t.name}`:t.name;if(t.isDirectory())return{kind:"dir",name:t.name,path:i};let o=await (0,s.stat)((0,r.join)(h,t.name)).catch(()=>null);return o?{kind:"file",name:t.name,path:i,bytes:o.size,at:o.mtime,view:(0,n.viewKindOf)(t.name)}:null}));return{path:e,entries:m.filter(e=>null!==e),total:d.length}}async function l(e){return(await Promise.all(e.map(async e=>{let r=await (0,o.insideWorkspace)(e);if(!r)return null;let t=await (0,s.stat)(r).catch(()=>null);return t?.isFile()?{path:e,bytes:t.size}:null}))).filter(e=>null!==e)}e.s(["readWorkspaceFolder",0,a,"statFiles",0,l])},149325,e=>{e.v(e=>Promise.resolve().then(()=>e(786025)))},967030,e=>{e.v(e=>Promise.resolve().then(()=>e(783697)))},683671,e=>{e.v(s=>Promise.all(["server/chunks/node_modules_@vercel_oidc_dist_token_1o4m7ms.js"].map(s=>e.l(s))).then(()=>s(390391)))},329280,e=>{e.v(s=>Promise.all(["server/chunks/[externals]_node_readline_1u65a-m._.js","server/chunks/node_modules_consola_dist_chunks_prompt_mjs_02axwqv._.js"].map(s=>e.l(s))).then(()=>s(781937)))}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__1fy2g82._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[902157,(e,s,t)=>{s.exports=e.x("node:fs",()=>require("node:fs"))},912714,(e,s,t)=>{s.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},750227,(e,s,t)=>{s.exports=e.x("node:path",()=>require("node:path"))},333925,e=>{"use strict";let s=process.env.THURSDAY_APP_DIR?.trim()||process.cwd(),t=process.env.THURSDAY_HOME?.trim()||process.cwd(),r=process.env.THURSDAY_URL?.trim()||`http://localhost:${process.env.PORT?.trim()||3e3}`,o=`file:${t}/local.db`,i=".ai-workspace",a={workspace:i,artifacts:"artifacts",projects:"projects",scratch:"scratch",bots:"bots",output:".output",signIns:".sign-ins",skills:{default:"skills",custom:`${i}/.agents/skills`,own:".agents/skills",seeds:"seed-skills"}};e.s(["APP_DIR",0,s,"APP_NAME",0,"Thursday","APP_URL",0,r,"ASCII_FACE",0,{charset:"emojiOnly",fontSize:{default:8,min:4,max:16},density:{default:1.4,min:.6,max:2}},"BOT_MEMORY_LIMITS",0,{files:20,chars:1e4},"BOT_RUN",0,{steps:100,compactAt:5e5,compactHeadroom:.8,summaryWords:{min:600,max:3e3,perTokens:200},participants:12,concurrent:4,turns:120,queuedMessages:200,silenceMs:3e5,overflowShrink:.6,retryMs:1e4,compactFiles:40},"BOT_WORK",0,{open:5,recent:5,said:80,files:2,reads:2,asked:400,readChars:4e3},"BROWSER_GONE_MS",0,1e4,"BROWSER_VIEWPORT",0,"700x700","CALL_EXEC_TIMEOUT_MS",0,15e3,"CALL_RELAY",0,{quietMs:7e3,perTurn:3,readMs:15e3,chars:600},"CHATGPT_SIGN_IN",0,{waitMs:6e5,renewBeforeMs:3e5},"CONNECTED_TOOL_TIMEOUT_MS",0,6e5,"DATA_DIR",0,t,"DB_FILE_NAME",0,o,"EXEC_KILL_GRACE_MS",0,5e3,"EXEC_TIMEOUT_MS",0,18e4,"FINISHED_NOTICE",0,{rows:5,words:240},"GIVEN_FILES",0,{dir:"inbox",maxBytes:0x1900000,perMessage:8},"INBOX_FINISHED",0,5,"IS_DEV",0,!1,"LIVE_CALL",0,{startupMs:3e4,closeMs:15e3,transcriptGapMs:1500,transcriptSaveMs:500,appendMs:15e3,backendOutputTokens:4096,reasoningCheckMs:5e3,keyCheckMs:5e3},"LOOK",0,{maxBytes:4194304},"MEMORY_CONVERSATION_PAGE",0,100,"MEMORY_LIMITS",0,{facts:400,factsPerNote:50,carried:20,expanded:10},"PATHS",0,a,"PROMPT_BUDGET",0,6e3,"PROMPT_LINE",0,{skill:90,toolArgs:30,jobOutcome:160,botMemory:100},"REACH",0,{pollSeconds:50,retryMs:5e3,idleMs:6e5,notifyAfterMs:6e4,chars:3500,files:3,fileBytes:0x2d00000},"RECENT_CALL",0,{rows:20,tokens:600},"ROUTINE",0,{tickMs:3e4,max:12,minHours:1,runsShown:5},"SEARCH",0,{sources:3,excerptChars:1200,timeoutMs:3e4},"STUDIO_SERVER",0,"studio","TEXT_CALL",0,{maxSteps:12,model:"text"},"THREAD_STATUS_LIMIT",0,10,"TOOL_OUTPUT",0,{max:8e3,head:5500,tail:1500},"WORKSPACE_KEEP",0,{forMs:2592e5,sweepEveryMs:36e5}])},973589,e=>{"use strict";var s=e.i(902157),t=e.i(912714),r=e.i(750227),o=e.i(333925);let i=(0,r.join)(o.APP_DIR,"guide"),a=".guide";async function n(){if(!(0,s.existsSync)(i))return;let e=(0,r.join)(o.DATA_DIR,o.PATHS.workspace,a);await (0,t.rm)(e,{recursive:!0,force:!0}),await (0,t.cp)(i,e,{recursive:!0})}e.s(["guideLine",0,()=>`How ${o.APP_NAME} works for the person using it — its screens, its settings, what it connects to, what to do when something stops — is written under \`${a}/\` here, \`index.md\` first. Read it whenever an answer depends on how the app works: what can be asked for, where something is changed, a wish that needs a setting switched on, something that stopped or was refused. Answer from it rather than from what you assume.`,"installGuide",0,n])}];
1
+ module.exports=[902157,(e,s,t)=>{s.exports=e.x("node:fs",()=>require("node:fs"))},912714,(e,s,t)=>{s.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},750227,(e,s,t)=>{s.exports=e.x("node:path",()=>require("node:path"))},333925,e=>{"use strict";let s=process.env.THURSDAY_APP_DIR?.trim()||process.cwd(),t=process.env.THURSDAY_HOME?.trim()||process.cwd(),r=process.env.THURSDAY_URL?.trim()||`http://localhost:${process.env.PORT?.trim()||3e3}`,o=`file:${t}/local.db`,i=".ai-workspace",a={workspace:i,artifacts:"artifacts",projects:"projects",scratch:"scratch",bots:"bots",output:".output",signIns:".sign-ins",skills:{default:"skills",custom:`${i}/.agents/skills`,own:".agents/skills",seeds:"seed-skills"}};e.s(["APP_DIR",0,s,"APP_NAME",0,"Thursday","APP_URL",0,r,"ASCII_FACE",0,{charset:"emojiOnly",fontSize:{default:8,min:4,max:16},density:{default:1.4,min:.6,max:2}},"BOT_MEMORY_LIMITS",0,{files:20,chars:1e4},"BOT_RUN",0,{steps:100,compactAt:5e5,compactHeadroom:.8,summaryWords:{min:600,max:3e3,perTokens:200},participants:12,concurrent:4,turns:120,queuedMessages:200,silenceMs:3e5,overflowShrink:.6,retryMs:1e4,compactFiles:40},"BOT_WORK",0,{open:5,recent:5,said:80,files:2,reads:2,asked:400,readChars:4e3},"BROWSER_GONE_MS",0,1e4,"BROWSER_VIEWPORT",0,"700x700","CALL_EXEC_TIMEOUT_MS",0,15e3,"CALL_RELAY",0,{quietMs:7e3,perTurn:3,readMs:15e3,chars:600},"CHATGPT_SIGN_IN",0,{waitMs:6e5,renewBeforeMs:3e5},"CONNECTED_TOOL_TIMEOUT_MS",0,6e5,"DATA_DIR",0,t,"DB_FILE_NAME",0,o,"EXEC_KILL_GRACE_MS",0,5e3,"EXEC_TIMEOUT_MS",0,18e4,"FINISHED_NOTICE",0,{rows:5,words:240},"GIVEN_FILES",0,{dir:"inbox",maxBytes:0x1900000,perMessage:8},"INBOX_FINISHED",0,5,"IS_DEV",0,!1,"LIVE_CALL",0,{startupMs:3e4,closeMs:15e3,transcriptGapMs:1500,transcriptSaveMs:500,appendMs:15e3,backendOutputTokens:4096,reasoningCheckMs:5e3,keyCheckMs:5e3},"LOOK",0,{maxBytes:4194304},"MEMORY_CONVERSATION_PAGE",0,100,"MEMORY_LIMITS",0,{facts:400,factsPerNote:50,carried:20,expanded:10},"PATHS",0,a,"PROMPT_BUDGET",0,6e3,"PROMPT_LINE",0,{skill:90,toolArgs:30,jobOutcome:160,botMemory:100},"REACH",0,{pollSeconds:50,retryMs:5e3,idleMs:6e5,notifyAfterMs:6e4,chars:3500,files:3,fileBytes:0x2d00000},"RECENT_CALL",0,{rows:20,tokens:600},"ROUTINE",0,{tickMs:3e4,max:12,minHours:1,runsShown:5},"SEARCH",0,{sources:3,excerptChars:1200,timeoutMs:3e4},"STUDIO_SERVER",0,"studio","TEXT_CALL",0,{maxSteps:12,model:"text"},"THREAD_STATUS_LIMIT",0,10,"TOOL_OUTPUT",0,{max:8e3,head:5500,tail:1500},"WORKSPACE_KEEP",0,{forMs:2592e5,sweepEveryMs:36e5}])},973589,e=>{"use strict";var s=e.i(902157),t=e.i(912714),r=e.i(750227),o=e.i(333925);let i=(0,r.join)(o.APP_DIR,"guide"),a=".guide";async function n(){if(!(0,s.existsSync)(i))return;let e=(0,r.join)(o.DATA_DIR,o.PATHS.workspace,a);await (0,t.rm)(e,{recursive:!0,force:!0}),await (0,t.cp)(i,e,{recursive:!0})}e.s(["botGuideLine",0,()=>`How ${o.APP_NAME} itself works for the user — its screens and settings — is written under \`${a}/\` here, \`index.md\` first; read it only when the job is about the app.`,"guideLine",0,()=>`How ${o.APP_NAME} works for the person using it — its screens, its settings, what it connects to, what to do when something stops — is written under \`${a}/\` here, \`index.md\` first. Read it whenever an answer depends on how the app works: what can be asked for, where something is changed, a wish that needs a setting switched on, something that stopped or was refused. Answer from it rather than from what you assume.`,"installGuide",0,n])}];
2
2
 
3
3
  //# sourceMappingURL=%5Broot-of-the-server%5D__1ndi14y._.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[136340,(e,s,t)=>{s.exports=e.x("node:timers/promises",()=>require("node:timers/promises"))},186304,e=>{"use strict";e.i(902157),e.i(912714);var s=e.i(750227),t=e.i(687388);(0,s.join)(t.APP_DIR,"guide");let i=".guide";e.s(["botGuideLine",0,()=>`How ${t.APP_NAME} itself works for the user — its screens and settings — is written under \`${i}/\` here, \`index.md\` first; read it only when the job is about the app.`,"guideLine",0,()=>`How ${t.APP_NAME} works for the person using it — its screens, its settings, what it connects to, what to do when something stops — is written under \`${i}/\` here, \`index.md\` first. Read it whenever an answer depends on how the app works: what can be asked for, where something is changed, a wish that needs a setting switched on, something that stopped or was refused. Answer from it rather than from what you assume.`])}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__1nmflqk._.js.map