thursday-agent 0.12.0 → 0.13.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 (470) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/prerender-manifest.json +4 -4
  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 +1 -1
  11. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  12. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  13. package/.next/server/app/_not-found.html +1 -1
  14. package/.next/server/app/_not-found.rsc +18 -19
  15. package/.next/server/app/_not-found.segments/_full.segment.rsc +18 -19
  16. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +14 -15
  17. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  18. package/.next/server/app/api/artifact/route.js +8 -8
  19. package/.next/server/app/api/artifact/route.js.nft.json +1 -1
  20. package/.next/server/app/api/bot/keep-working/route.js +7 -7
  21. package/.next/server/app/api/bot/keep-working/route.js.nft.json +1 -1
  22. package/.next/server/app/api/bot/memory/files/route.js.nft.json +1 -1
  23. package/.next/server/app/api/bot/memory/route.js +7 -7
  24. package/.next/server/app/api/bot/memory/route.js.nft.json +1 -1
  25. package/.next/server/app/api/bot/route.js +7 -7
  26. package/.next/server/app/api/bot/route.js.nft.json +1 -1
  27. package/.next/server/app/api/bot/thread/[id]/route.js +5 -5
  28. package/.next/server/app/api/bot/thread/[id]/route.js.nft.json +1 -1
  29. package/.next/server/app/api/bot/thread/route.js +3 -3
  30. package/.next/server/app/api/bot/thread/route.js.nft.json +1 -1
  31. package/.next/server/app/api/config/route.js +3 -3
  32. package/.next/server/app/api/config/route.js.nft.json +1 -1
  33. package/.next/server/app/api/events/route.js.nft.json +1 -1
  34. package/.next/server/app/api/favicon/[host]/route.js.nft.json +1 -1
  35. package/.next/server/app/api/file/[...path]/route.js +2 -2
  36. package/.next/server/app/api/file/[...path]/route.js.nft.json +1 -1
  37. package/.next/server/app/api/llm-model/catalog/route.js +4 -4
  38. package/.next/server/app/api/llm-model/catalog/route.js.nft.json +1 -1
  39. package/.next/server/app/api/llm-model/credits/route.js +4 -4
  40. package/.next/server/app/api/llm-model/credits/route.js.nft.json +1 -1
  41. package/.next/server/app/api/llm-model/route.js +6 -6
  42. package/.next/server/app/api/llm-model/route.js.nft.json +1 -1
  43. package/.next/server/app/api/llm-model/subscription/route.js +6 -6
  44. package/.next/server/app/api/llm-model/subscription/route.js.nft.json +1 -1
  45. package/.next/server/app/api/mcp/[name]/route.js +5 -5
  46. package/.next/server/app/api/mcp/[name]/route.js.nft.json +1 -1
  47. package/.next/server/app/api/mcp/oauth/callback/route.js +5 -5
  48. package/.next/server/app/api/mcp/oauth/callback/route.js.nft.json +1 -1
  49. package/.next/server/app/api/mcp/route.js +5 -5
  50. package/.next/server/app/api/mcp/route.js.nft.json +1 -1
  51. package/.next/server/app/api/mcp/tools/route.js +5 -5
  52. package/.next/server/app/api/mcp/tools/route.js.nft.json +1 -1
  53. package/.next/server/app/api/memory/edit/route.js +15 -14
  54. package/.next/server/app/api/memory/edit/route.js.nft.json +1 -1
  55. package/.next/server/app/api/memory/route.js +4 -4
  56. package/.next/server/app/api/memory/route.js.nft.json +1 -1
  57. package/.next/server/app/api/reach/route.js +13 -12
  58. package/.next/server/app/api/reach/route.js.nft.json +1 -1
  59. package/.next/server/app/api/routine/route.js +8 -9
  60. package/.next/server/app/api/routine/route.js.nft.json +1 -1
  61. package/.next/server/app/api/signins/route.js.nft.json +1 -1
  62. package/.next/server/app/api/skills/[source]/[name]/route.js +2 -2
  63. package/.next/server/app/api/skills/[source]/[name]/route.js.nft.json +1 -1
  64. package/.next/server/app/api/skills/route.js +2 -2
  65. package/.next/server/app/api/skills/route.js.nft.json +1 -1
  66. package/.next/server/app/api/thursday/call/route.js +6 -6
  67. package/.next/server/app/api/thursday/call/route.js.nft.json +1 -1
  68. package/.next/server/app/api/thursday/skills/route.js +6 -6
  69. package/.next/server/app/api/thursday/skills/route.js.nft.json +1 -1
  70. package/.next/server/app/api/thursday/text/route.js +14 -13
  71. package/.next/server/app/api/thursday/text/route.js.nft.json +1 -1
  72. package/.next/server/app/api/thursday/tool-call/route.js +15 -14
  73. package/.next/server/app/api/thursday/tool-call/route.js.nft.json +1 -1
  74. package/.next/server/app/api/workspace/files/route.js +10 -6
  75. package/.next/server/app/api/workspace/files/route.js.nft.json +1 -1
  76. package/.next/server/app/api/workspace/route.js +9 -4
  77. package/.next/server/app/api/workspace/route.js.nft.json +1 -1
  78. package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +2 -2
  79. package/.next/server/app/artifact/[...path]/page.js +5 -4
  80. package/.next/server/app/artifact/[...path]/page.js.nft.json +1 -1
  81. package/.next/server/app/artifact/[...path]/page_client-reference-manifest.js +1 -1
  82. package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  83. package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  84. package/.next/server/app/page/server-reference-manifest.json +67 -56
  85. package/.next/server/app/page.js +10 -11
  86. package/.next/server/app/page.js.nft.json +1 -1
  87. package/.next/server/app/page_client-reference-manifest.js +1 -1
  88. package/.next/server/chunks/{[root-of-the-server]__0o49ztf._.js → [root-of-the-server]__0-k4_ie._.js} +2 -2
  89. package/.next/server/chunks/[root-of-the-server]__0209ah4._.js +6 -6
  90. package/.next/server/chunks/[root-of-the-server]__04wldw9._.js +1 -1
  91. package/.next/server/chunks/[root-of-the-server]__0h_x6q6._.js +2 -2
  92. package/.next/server/chunks/{[root-of-the-server]__0cfszwn._.js → [root-of-the-server]__0i23tc1._.js} +2 -2
  93. package/.next/server/chunks/[root-of-the-server]__0mrk2it._.js +1 -1
  94. package/.next/server/chunks/[root-of-the-server]__0nr-v8s._.js +1 -1
  95. package/.next/server/chunks/{[root-of-the-server]__1tg5got._.js → [root-of-the-server]__0paqm5y._.js} +2 -2
  96. package/.next/server/chunks/[root-of-the-server]__0qog7sm._.js +8 -0
  97. package/.next/server/chunks/[root-of-the-server]__0sm5xvm._.js +1 -1
  98. package/.next/server/chunks/[root-of-the-server]__0yisc5v._.js +5 -0
  99. package/.next/server/chunks/[root-of-the-server]__1-swlkw._.js +3 -3
  100. package/.next/server/chunks/[root-of-the-server]__12iddfq._.js +2 -2
  101. package/.next/server/chunks/{[root-of-the-server]__0npn_pn._.js → [root-of-the-server]__15p29m3._.js} +2 -2
  102. package/.next/server/chunks/[root-of-the-server]__17ses32._.js +3 -0
  103. package/.next/server/chunks/[root-of-the-server]__18-2tsq._.js +2 -2
  104. package/.next/server/chunks/[root-of-the-server]__1cjxw0-._.js +1 -1
  105. package/.next/server/chunks/[root-of-the-server]__1gi2nns._.js +5 -0
  106. package/.next/server/chunks/{[root-of-the-server]__0rqgb17._.js → [root-of-the-server]__1iauz8a._.js} +2 -2
  107. package/.next/server/chunks/[root-of-the-server]__1k3j52n._.js +1 -1
  108. package/.next/server/chunks/{[root-of-the-server]__209k6pk._.js → [root-of-the-server]__1lb_pxg._.js} +2 -2
  109. package/.next/server/chunks/[root-of-the-server]__1ndi14y._.js +1 -1
  110. package/.next/server/chunks/[root-of-the-server]__1orn-5b._.js +1 -1
  111. package/.next/server/chunks/[root-of-the-server]__1xqsrqq._.js +5 -0
  112. package/.next/server/chunks/[root-of-the-server]__1ygplx1._.js +1 -1
  113. package/.next/server/chunks/[root-of-the-server]__2163i40._.js +5 -0
  114. package/.next/server/chunks/_0ci0abh._.js +3 -0
  115. package/.next/server/chunks/_0eauz4t._.js +1 -1
  116. package/.next/server/chunks/_0f6ts7z._.js +1 -1
  117. package/.next/server/chunks/_0fg-1oj._.js +5 -0
  118. package/.next/server/chunks/_0khihjk._.js +2 -2
  119. package/.next/server/chunks/_0n74zsf._.js +1 -1
  120. package/.next/server/chunks/_0na2fj1._.js +2 -2
  121. package/.next/server/chunks/_0oh_99-._.js +3 -0
  122. package/.next/server/chunks/_0x-ej3f._.js +24 -24
  123. package/.next/server/chunks/_0z3nz21._.js +3 -0
  124. package/.next/server/chunks/_10tkr26._.js +1 -1
  125. package/.next/server/chunks/_12-amdu._.js +2 -2
  126. package/.next/server/chunks/_136j09a._.js +1 -1
  127. package/.next/server/chunks/_15740dw._.js +1 -1
  128. package/.next/server/chunks/_18izeh1._.js +5 -0
  129. package/.next/server/chunks/_1_5mnq4._.js +1 -1
  130. package/.next/server/chunks/_1ajbhv6._.js +2 -2
  131. package/.next/server/chunks/_1dc_d1q._.js +2 -2
  132. package/.next/server/chunks/_1drgfx4._.js +1 -1
  133. package/.next/server/chunks/_1e48czp._.js +2 -2
  134. package/.next/server/chunks/_1f06zo4._.js +3 -0
  135. package/.next/server/chunks/_1ic3bew._.js +2 -2
  136. package/.next/server/chunks/_1jn-aep._.js +2 -2
  137. package/.next/server/chunks/_1jn5btd._.js +6 -0
  138. package/.next/server/chunks/_1kg70wc._.js +2 -2
  139. package/.next/server/chunks/_1m2i5pt._.js +5 -0
  140. package/.next/server/chunks/_1ogqovh._.js +4 -4
  141. package/.next/server/chunks/_1qxheoa._.js +1 -1
  142. package/.next/server/chunks/_1ry6afh._.js +18 -0
  143. package/.next/server/chunks/_1taa4bs._.js +1 -1
  144. package/.next/server/chunks/_1tpr507._.js +1 -1
  145. package/.next/server/chunks/_1y8w80a._.js +1 -1
  146. package/.next/server/chunks/_1zxp-p6._.js +1 -1
  147. package/.next/server/chunks/_204744f._.js +5 -0
  148. package/.next/server/chunks/_20fsr_z._.js +1 -1
  149. package/.next/server/chunks/config_ts_1g4sz5o._.js +1 -1
  150. package/.next/server/chunks/features_0-cnt0l._.js +1 -1
  151. package/.next/server/chunks/features_0hdaci0._.js +1 -1
  152. package/.next/server/chunks/features_0p85gv6._.js +3 -0
  153. package/.next/server/chunks/{node_modules_zod_v4_0_v5xf5._.js → node_modules_zod_v4_01bha1c._.js} +2 -2
  154. package/.next/server/chunks/{node_modules_zod_v4_0q9hvql._.js → node_modules_zod_v4_0b99z6a._.js} +2 -2
  155. package/.next/server/chunks/{node_modules_zod_v4_1jg8iwg._.js → node_modules_zod_v4_1zz6lo1._.js} +2 -2
  156. package/.next/server/chunks/ssr/[root-of-the-server]__04upd5v._.js +3 -0
  157. package/.next/server/chunks/ssr/[root-of-the-server]__0dxszdt._.js +3 -0
  158. package/.next/server/chunks/ssr/[root-of-the-server]__0eezycw._.js +3 -0
  159. package/.next/server/chunks/ssr/[root-of-the-server]__0hpp3nw._.js +1 -1
  160. package/.next/server/chunks/ssr/[root-of-the-server]__0yngu44._.js +3 -0
  161. package/.next/server/chunks/ssr/[root-of-the-server]__16z72ny._.js +6 -0
  162. package/.next/server/chunks/ssr/[root-of-the-server]__1u_ry86._.js +3 -0
  163. package/.next/server/chunks/ssr/{[root-of-the-server]__1iwyp1e._.js → [root-of-the-server]__1unh_ew._.js} +1 -1
  164. package/.next/server/chunks/ssr/[root-of-the-server]__20re7ya._.js +3 -0
  165. package/.next/server/chunks/ssr/_00pgq9d._.js +5 -0
  166. package/.next/server/chunks/ssr/_07ke63g._.js +3 -0
  167. package/.next/server/chunks/ssr/_0agcbk7._.js +3 -0
  168. package/.next/server/chunks/ssr/_0e-gw2_._.js +3 -0
  169. package/.next/server/chunks/ssr/{_0fbi6om._.js → _0f_om6y._.js} +3 -3
  170. package/.next/server/chunks/ssr/_0fqhhwi._.js +1 -1
  171. package/.next/server/chunks/ssr/{_026qnc9._.js → _0gpn71k._.js} +3 -3
  172. package/.next/server/chunks/ssr/_0iizjr9._.js +3 -0
  173. package/.next/server/chunks/ssr/_0ixvzo6._.js +75 -0
  174. package/.next/server/chunks/ssr/_0kkdx7t._.js +3 -0
  175. package/.next/server/chunks/ssr/_0lufvw7._.js +118 -0
  176. package/.next/server/chunks/ssr/_0vi6ky6._.js +115 -0
  177. package/.next/server/chunks/ssr/{_10f-jib._.js → _0yhji3e._.js} +2 -2
  178. package/.next/server/chunks/ssr/_0z38nha._.js +3 -0
  179. package/.next/server/chunks/ssr/{_10mo72m._.js → _11nx2d4._.js} +2 -2
  180. package/.next/server/chunks/ssr/_12mijol._.js +2 -2
  181. package/.next/server/chunks/ssr/_150463c._.js +164 -0
  182. package/.next/server/chunks/ssr/{_0rmaf32._.js → _17d2ikl._.js} +2 -2
  183. package/.next/server/chunks/ssr/_19jez1a._.js +3 -0
  184. package/.next/server/chunks/ssr/_1blui1m._.js +3 -0
  185. package/.next/server/chunks/ssr/_1d423aj._.js +4 -4
  186. package/.next/server/chunks/ssr/_1kbk28w._.js +3 -0
  187. package/.next/server/chunks/ssr/_1kj_r9v._.js +3 -0
  188. package/.next/server/chunks/ssr/_1mqn9mc._.js +1 -1
  189. package/.next/server/chunks/ssr/{_0u5xv6g._.js → _1myh7ss._.js} +2 -2
  190. package/.next/server/chunks/ssr/_1neoj22._.js +1 -1
  191. package/.next/server/chunks/ssr/_1ou5sj0._.js +3 -0
  192. package/.next/server/chunks/ssr/_1p8xorg._.js +3 -0
  193. package/.next/server/chunks/ssr/_1tzacpl._.js +3 -0
  194. package/.next/server/chunks/ssr/_1xoch6f._.js +1 -1
  195. package/.next/server/chunks/ssr/_1yh5bj5._.js +1 -1
  196. package/.next/server/chunks/ssr/{_02c7o30._.js → _2021n9-._.js} +2 -2
  197. package/.next/server/chunks/ssr/_20argo3._.js +3 -0
  198. package/.next/server/chunks/ssr/features_bot_1ll3wp7._.js +3 -0
  199. package/.next/server/chunks/ssr/features_bot_1s_-2vj._.js +1 -1
  200. package/.next/server/chunks/ssr/features_bot_thread_query_ts_023eklt._.js +1 -1
  201. package/.next/server/chunks/ssr/features_config_1qxe5ur._.js +20 -0
  202. package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +3 -3
  203. package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +1 -1
  204. package/.next/server/chunks/ssr/features_routine_components_routine-setting_tsx_055fknz._.js +1 -1
  205. package/.next/server/chunks/ssr/features_workspace_00jz2hu._.js +1 -1
  206. package/.next/server/chunks/ssr/{node_modules_0ky76fz._.js → node_modules_06e0wlv._.js} +1 -1
  207. package/.next/server/chunks/ssr/{node_modules_0-x0zxm._.js → node_modules_0cj26-9._.js} +1 -1
  208. package/.next/server/chunks/ssr/{node_modules_0operbz._.js → node_modules_0d1rf5e._.js} +1 -1
  209. package/.next/server/chunks/ssr/{node_modules_0b0iy01._.js → node_modules_0e86703._.js} +1 -1
  210. package/.next/server/chunks/ssr/{node_modules_05b6e99._.js → node_modules_0es09am._.js} +1 -1
  211. package/.next/server/chunks/ssr/{node_modules_1iau_ea._.js → node_modules_0gr_dzf._.js} +1 -1
  212. package/.next/server/chunks/ssr/{node_modules_1hv-j1l._.js → node_modules_0gtcwz9._.js} +1 -1
  213. package/.next/server/chunks/ssr/{node_modules_1c2ikr9._.js → node_modules_0hi9h8f._.js} +1 -1
  214. package/.next/server/chunks/ssr/{node_modules_01u4ea3._.js → node_modules_0lkop0t._.js} +1 -1
  215. package/.next/server/chunks/ssr/{node_modules_1wvf3oo._.js → node_modules_0nghisk._.js} +1 -1
  216. package/.next/server/chunks/ssr/{node_modules_0yzmxfq._.js → node_modules_0stovz0._.js} +1 -1
  217. package/.next/server/chunks/ssr/{node_modules_00nrzz_._.js → node_modules_0we85kr._.js} +1 -1
  218. package/.next/server/chunks/ssr/{node_modules_01ed0yi._.js → node_modules_0ya7y1s._.js} +1 -1
  219. package/.next/server/chunks/ssr/{node_modules_0m3_5ge._.js → node_modules_0yrbwkj._.js} +1 -1
  220. package/.next/server/chunks/ssr/{node_modules_0v_-uht._.js → node_modules_1-x70ie._.js} +1 -1
  221. package/.next/server/chunks/ssr/{node_modules_07jp6tj._.js → node_modules_12fd9g0._.js} +1 -1
  222. package/.next/server/chunks/ssr/{node_modules_1wgnj8q._.js → node_modules_12wxrgr._.js} +1 -1
  223. package/.next/server/chunks/ssr/{node_modules_0azd56x._.js → node_modules_139uu4q._.js} +1 -1
  224. package/.next/server/chunks/ssr/{node_modules_1omg9xr._.js → node_modules_14gpoe1._.js} +1 -1
  225. package/.next/server/chunks/ssr/{node_modules_1ma_y68._.js → node_modules_18fmji6._.js} +1 -1
  226. package/.next/server/chunks/ssr/{node_modules_0ucridu._.js → node_modules_19kkel8._.js} +1 -1
  227. package/.next/server/chunks/ssr/{node_modules_0fpnetd._.js → node_modules_1gcine1._.js} +1 -1
  228. package/.next/server/chunks/ssr/{node_modules_1z3sh11._.js → node_modules_1h4trkm._.js} +1 -1
  229. package/.next/server/chunks/ssr/{node_modules_0lautv3._.js → node_modules_1mub_qu._.js} +1 -1
  230. package/.next/server/chunks/ssr/{node_modules_0ou0all._.js → node_modules_1p78svs._.js} +1 -1
  231. package/.next/server/chunks/ssr/{node_modules_19b0bir._.js → node_modules_1xp-7ep._.js} +1 -1
  232. package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0tmjn9w._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0ay7_oi._.js} +1 -1
  233. package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1_e8c3o._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_182ydq_._.js} +1 -1
  234. package/.next/server/middleware-build-manifest.js +3 -3
  235. package/.next/server/pages/404.html +1 -1
  236. package/.next/server/pages/500.html +1 -1
  237. package/.next/server/server-reference-manifest.js +1 -1
  238. package/.next/server/server-reference-manifest.json +69 -58
  239. package/.next/static/chunks/03df16hs01-xi.js +1 -0
  240. package/.next/static/chunks/0crocb7272z8k.js +1 -0
  241. package/.next/static/chunks/{0p9jcyqkpq71f.js → 0dqsenl3uk_8z.js} +1 -1
  242. package/.next/static/chunks/0hhn8mf953761.js +1 -0
  243. package/.next/static/chunks/0n1o3k0z4m7c_.js +1 -0
  244. package/.next/static/chunks/0oe2zavre2a7d.css +1 -0
  245. package/.next/static/chunks/0srg9tv4105-i.js +1 -0
  246. package/.next/static/chunks/0t599wrclly7i.js +18 -0
  247. package/.next/static/chunks/0x34bhth_sn35.js +1 -0
  248. package/.next/static/chunks/{0mscosx0eh3ee.js → 0x_6z8vt8hyf4.js} +3 -3
  249. package/.next/static/chunks/{0p50d-au6-3hx.js → 1_wstwzu1md-6.js} +2 -2
  250. package/.next/static/chunks/{40ij3wsn3vt7h.js → 1aughn81slf90.js} +1 -1
  251. package/.next/static/chunks/1g1j03h_l-e67.js +1 -0
  252. package/.next/static/chunks/1lp02y2nmddxg.js +1 -0
  253. package/.next/static/chunks/211s4xjtecj2l.js +1 -0
  254. package/.next/static/chunks/2244-cat2jlvd.js +1 -0
  255. package/.next/static/chunks/{2r6xnyg7ezyxr.js → 2eev_i93slion.js} +2 -2
  256. package/.next/static/chunks/2sjq4gsimlfqr.js +113 -0
  257. package/.next/static/chunks/{0qgn3u86jkbm7.js → 2uleilh8ph06-.js} +1 -1
  258. package/.next/static/chunks/{1czfknd4luo6t.js → 2zchsg03a1pdp.js} +1 -1
  259. package/.next/static/chunks/32tmfirfjpulv.js +1 -0
  260. package/.next/static/chunks/{2_c7mu6x1lu49.js → 376-s_i83irs-.js} +1 -1
  261. package/.next/static/chunks/3blk-kpn39xr-.js +1 -0
  262. package/.next/static/chunks/3eieehp7wquyu.js +1 -0
  263. package/.next/static/chunks/3kc-e7pcj50ae.js +1 -0
  264. package/.next/static/chunks/3rwpyuo9nrrop.js +17 -0
  265. package/.next/static/chunks/3sf4l25l353ja.js +1 -0
  266. package/.next/static/chunks/3vz7m1w688juj.js +3 -0
  267. package/.next/static/chunks/43skgt0h9woyu.js +1 -0
  268. package/app/api/events/app-event.client.ts +8 -2
  269. package/app/api/events/app-event.server.ts +7 -5
  270. package/app/api/events/app-event.ts +19 -8
  271. package/app/api/query-key.ts +13 -5
  272. package/bin/database.mjs +21 -11
  273. package/bin/thursday.mjs +5 -2
  274. package/components/ui/shiny-text.tsx +2 -2
  275. package/database/migrations/20260920024909_messy_baron_strucker/migration.sql +1 -0
  276. package/database/migrations/20260920024909_messy_baron_strucker/snapshot.json +1937 -0
  277. package/features/artifact/components/artifact-setting.tsx +18 -24
  278. package/features/bot/bot.action.ts +3 -0
  279. package/features/bot/bot.runner.ts +25 -3
  280. package/features/bot/bot.seed.ts +98 -22
  281. package/features/bot/components/bot-badge.tsx +2 -2
  282. package/features/bot/components/bot-mark.tsx +12 -3
  283. package/features/bot/components/bot-room.tsx +33 -10
  284. package/features/bot/components/bot-setting.tsx +88 -34
  285. package/features/bot/components/crew-motion.ts +161 -0
  286. package/features/bot/components/mark-palette.tsx +3 -3
  287. package/features/bot/components/room-conversation.tsx +13 -8
  288. package/features/bot/components/room-list.tsx +9 -5
  289. package/features/bot/components/room-pill.tsx +131 -41
  290. package/features/bot/components/thread-badge.tsx +4 -4
  291. package/features/bot/components/thread-setting.tsx +58 -19
  292. package/features/bot/mark.const.ts +24 -0
  293. package/features/bot/thread.query.ts +32 -14
  294. package/features/bot/thread.store.ts +19 -16
  295. package/features/config/components/config-badge.tsx +2 -2
  296. package/features/config/components/config-setting.tsx +63 -213
  297. package/features/config/config.const.ts +2 -1
  298. package/features/connectors/components/mcp-setting.tsx +60 -29
  299. package/features/intro/components/intro.tsx +2 -2
  300. package/features/memory/components/memory-setting.tsx +11 -7
  301. package/features/reach/channel.ts +9 -1
  302. package/features/reach/components/reach-guide.tsx +606 -105
  303. package/features/reach/discord.ts +18 -3
  304. package/features/reach/reach.schema.ts +6 -0
  305. package/features/reach/reach.ts +55 -2
  306. package/features/reach/slack.ts +2 -1
  307. package/features/reach/telegram.ts +5 -1
  308. package/features/routine/components/routine-setting.tsx +46 -18
  309. package/features/settings/components/setting-ui.tsx +17 -68
  310. package/features/settings/components/settings.tsx +4 -3
  311. package/features/settings/settings.alert.ts +8 -8
  312. package/features/skills/components/skills-setting.tsx +78 -12
  313. package/features/skills/skills.action.ts +12 -0
  314. package/features/skills/skills.query.ts +24 -0
  315. package/features/thursday/components/call-log.tsx +19 -14
  316. package/features/thursday/components/side-captions.tsx +3 -2
  317. package/features/thursday/components/thursday-setting.tsx +5 -6
  318. package/features/thursday/components/thursday.tsx +8 -9
  319. package/features/thursday/components/write-line.tsx +10 -5
  320. package/features/thursday/thursday.action.ts +4 -0
  321. package/features/thursday/thursday.query.ts +3 -2
  322. package/features/thursday/thursday.schema.ts +5 -0
  323. package/features/thursday/use-call-ring.ts +6 -1
  324. package/features/thursday/use-text-call.ts +25 -10
  325. package/features/thursday/use-thursday.ts +10 -1
  326. package/features/workspace/components/artifact-view.tsx +42 -33
  327. package/features/workspace/components/file-thumb.tsx +8 -4
  328. package/features/workspace/components/file-view.tsx +25 -2
  329. package/features/workspace/components/workspace-setting.tsx +27 -23
  330. package/features/workspace/workspace.query.ts +20 -1
  331. package/features/workspace/workspace.ts +14 -0
  332. package/guide/bots.md +27 -4
  333. package/guide/calls.md +5 -3
  334. package/guide/phone.md +23 -12
  335. package/guide/setup.md +20 -5
  336. package/guide/trouble.md +1 -1
  337. package/hooks/use-theme.ts +14 -0
  338. package/lib/protocol/events.client.ts +56 -14
  339. package/lib/protocol/events.server.ts +41 -12
  340. package/lib/utils.ts +1 -1
  341. package/package.json +1 -1
  342. package/scripts/reach-channels.test.mts +15 -2
  343. package/seed-skills/brief/daily-brief/SKILL.md +39 -0
  344. package/seed-skills/brief/daily-brief/page/brief.css +406 -0
  345. package/seed-skills/brief/daily-brief/references/brief.md +106 -0
  346. package/seed-skills/brief/daily-brief/references/preferences.md +67 -0
  347. package/seed-skills/brief/daily-brief/scripts/glance.mjs +128 -0
  348. package/seed-skills/brief/daily-brief/scripts/lib.mjs +182 -0
  349. package/seed-skills/brief/daily-brief/scripts/news.mjs +320 -0
  350. package/seed-skills/brief/daily-brief/scripts/page.mjs +322 -0
  351. package/seed-skills/brief/daily-brief/scripts/story.mjs +265 -0
  352. package/seed-skills/digest/README.md +20 -0
  353. package/seed-skills/digest/media-digest/SKILL.md +32 -0
  354. package/seed-skills/digest/media-digest/references/no-captions.md +20 -0
  355. package/seed-skills/digest/media-digest/references/page.md +56 -0
  356. package/seed-skills/digest/media-digest/references/reading.md +56 -0
  357. package/seed-skills/digest/media-digest/scripts/audio.mjs +232 -0
  358. package/seed-skills/digest/media-digest/scripts/digest.mjs +379 -0
  359. package/seed-skills/digest/media-digest/scripts/lib.mjs +284 -0
  360. package/seed-skills/digest/media-digest/scripts/part.mjs +16 -0
  361. package/seed-skills/digest/media-digest/scripts/text.mjs +287 -0
  362. package/seed-skills/digest/media-digest/scripts/yt.mjs +487 -0
  363. package/seed-skills/docs/README.md +32 -0
  364. package/seed-skills/docs/documents/SKILL.md +34 -0
  365. package/seed-skills/docs/documents/kit/package-lock.json +1596 -0
  366. package/seed-skills/docs/documents/kit/package.json +17 -0
  367. package/seed-skills/docs/documents/references/deck.md +63 -0
  368. package/seed-skills/docs/documents/references/invoice.md +64 -0
  369. package/seed-skills/docs/documents/references/pdf.md +59 -0
  370. package/seed-skills/docs/documents/references/print.md +43 -0
  371. package/seed-skills/docs/documents/references/sheets.md +49 -0
  372. package/seed-skills/docs/documents/references/translate.md +37 -0
  373. package/seed-skills/docs/documents/references/word.md +45 -0
  374. package/seed-skills/docs/documents/scripts/doc.mjs +123 -0
  375. package/seed-skills/docs/documents/scripts/lib/browser.mjs +259 -0
  376. package/seed-skills/docs/documents/scripts/lib/deck-chart.mjs +150 -0
  377. package/seed-skills/docs/documents/scripts/lib/deck.mjs +1132 -0
  378. package/seed-skills/docs/documents/scripts/lib/invoice.mjs +505 -0
  379. package/seed-skills/docs/documents/scripts/lib/kit.mjs +244 -0
  380. package/seed-skills/docs/documents/scripts/lib/pdf.mjs +645 -0
  381. package/seed-skills/docs/documents/scripts/lib/report.mjs +38 -0
  382. package/seed-skills/docs/documents/scripts/lib/sheet.mjs +523 -0
  383. package/seed-skills/docs/documents/scripts/lib/templates.mjs +34 -0
  384. package/seed-skills/docs/documents/scripts/lib/translate.mjs +691 -0
  385. package/seed-skills/docs/documents/scripts/lib/word.mjs +678 -0
  386. package/seed-skills/docs/documents/templates/letter.html +56 -0
  387. package/seed-skills/docs/documents/templates/print.css +219 -0
  388. package/seed-skills/docs/documents/templates/report.html +47 -0
  389. package/seed-skills/docs/documents/templates/resume.html +61 -0
  390. package/seed-skills/insta/instagram/references/post.md +31 -7
  391. package/seed-skills/trip/README.md +11 -0
  392. package/seed-skills/trip/travel/SKILL.md +40 -0
  393. package/seed-skills/trip/travel/page/itinerary.css +488 -0
  394. package/seed-skills/trip/travel/references/itinerary.md +70 -0
  395. package/seed-skills/trip/travel/references/plan.md +75 -0
  396. package/seed-skills/trip/travel/references/watch-and-book.md +39 -0
  397. package/seed-skills/trip/travel/scripts/flights.mjs +374 -0
  398. package/seed-skills/trip/travel/scripts/fx.mjs +57 -0
  399. package/seed-skills/trip/travel/scripts/hotels.mjs +356 -0
  400. package/seed-skills/trip/travel/scripts/itinerary.mjs +482 -0
  401. package/seed-skills/trip/travel/scripts/lib.mjs +120 -0
  402. package/seed-skills/trip/travel/scripts/selectors.mjs +78 -0
  403. package/seed-skills/trip/travel/scripts/watch.mjs +147 -0
  404. package/seed-skills/trip/travel/scripts/weather.mjs +150 -0
  405. package/seed-skills/tutor/picture-book/SKILL.md +6 -0
  406. package/seed-skills/tutor/picture-book/references/picture-book.md +22 -2
  407. package/.next/server/chunks/[root-of-the-server]__014ydvq._.js +0 -8
  408. package/.next/server/chunks/[root-of-the-server]__01d285y._.js +0 -5
  409. package/.next/server/chunks/[root-of-the-server]__04r4h-2._.js +0 -7
  410. package/.next/server/chunks/[root-of-the-server]__0ayldfn._.js +0 -5
  411. package/.next/server/chunks/[root-of-the-server]__17weeeg._.js +0 -5
  412. package/.next/server/chunks/[root-of-the-server]__1ai5lme._.js +0 -8
  413. package/.next/server/chunks/_05v8k21._.js +0 -7
  414. package/.next/server/chunks/_0k6qjcf._.js +0 -5
  415. package/.next/server/chunks/_1d_enhu._.js +0 -3
  416. package/.next/server/chunks/_1jc5g4p._.js +0 -6
  417. package/.next/server/chunks/_1nfr-75._.js +0 -3
  418. package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0md6j0x._.js +0 -3
  419. package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_14ih1vy._.js +0 -3
  420. package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1d6ez5-._.js +0 -3
  421. package/.next/server/chunks/ssr/[root-of-the-server]__0a967km._.js +0 -3
  422. package/.next/server/chunks/ssr/[root-of-the-server]__0tzekbl._.js +0 -68
  423. package/.next/server/chunks/ssr/[root-of-the-server]__1756892._.js +0 -3
  424. package/.next/server/chunks/ssr/[root-of-the-server]__1mzi-ju._.js +0 -3
  425. package/.next/server/chunks/ssr/[root-of-the-server]__1nqw56a._.js +0 -3
  426. package/.next/server/chunks/ssr/[root-of-the-server]__1r77-88._.js +0 -3
  427. package/.next/server/chunks/ssr/[root-of-the-server]__1w9hqq8._.js +0 -8
  428. package/.next/server/chunks/ssr/_05pl_u8._.js +0 -3
  429. package/.next/server/chunks/ssr/_097-ljd._.js +0 -4
  430. package/.next/server/chunks/ssr/_0euzzf8._.js +0 -3
  431. package/.next/server/chunks/ssr/_0evkpto._.js +0 -3
  432. package/.next/server/chunks/ssr/_0igfcax._.js +0 -20
  433. package/.next/server/chunks/ssr/_0lu1n_x._.js +0 -3
  434. package/.next/server/chunks/ssr/_0nvh1h9._.js +0 -3
  435. package/.next/server/chunks/ssr/_0qmpw35._.js +0 -3
  436. package/.next/server/chunks/ssr/_0uv-qs4._.js +0 -3
  437. package/.next/server/chunks/ssr/_132qkfz._.js +0 -5
  438. package/.next/server/chunks/ssr/_15zqt-t._.js +0 -3
  439. package/.next/server/chunks/ssr/_16gfxpn._.js +0 -3
  440. package/.next/server/chunks/ssr/_184327j._.js +0 -3
  441. package/.next/server/chunks/ssr/_18ujhhq._.js +0 -3
  442. package/.next/server/chunks/ssr/_1lx6w_o._.js +0 -67
  443. package/.next/server/chunks/ssr/_1ntpny5._.js +0 -3
  444. package/.next/server/chunks/ssr/_1o1g4uk._.js +0 -5
  445. package/.next/server/chunks/ssr/_1xx4zlb._.js +0 -3
  446. package/.next/server/chunks/ssr/_2008vmi._.js +0 -164
  447. package/.next/server/chunks/ssr/features_bot_1n1s7bh._.js +0 -3
  448. package/.next/static/chunks/09pkygbht7ki8.js +0 -18
  449. package/.next/static/chunks/0bm-nhblcmmj4.js +0 -17
  450. package/.next/static/chunks/0c_g4-11sha-1.js +0 -1
  451. package/.next/static/chunks/0hhza87hkbqaz.js +0 -1
  452. package/.next/static/chunks/0samf80yu2b17.js +0 -1
  453. package/.next/static/chunks/0vlgzqo9ka90v.js +0 -1
  454. package/.next/static/chunks/1g9yyvculuxj2.js +0 -1
  455. package/.next/static/chunks/1jz8n0mhtdzr8.js +0 -1
  456. package/.next/static/chunks/206laxm6maiz2.js +0 -1
  457. package/.next/static/chunks/23nfu5g4vl_m7.js +0 -1
  458. package/.next/static/chunks/2h-tlhb2ffhkk.js +0 -1
  459. package/.next/static/chunks/2i5_w8olnrvo0.js +0 -3
  460. package/.next/static/chunks/2m6jd3586ijb-.js +0 -1
  461. package/.next/static/chunks/2m8iqwc6sykln.js +0 -1
  462. package/.next/static/chunks/33fyp-byw48ju.js +0 -65
  463. package/.next/static/chunks/35yd_27d9ylra.js +0 -1
  464. package/.next/static/chunks/3ag1i3__yl94f.js +0 -1
  465. package/.next/static/chunks/3m_ejzg-xn21r.css +0 -1
  466. package/.next/static/chunks/3s-jpd3ky49-n.js +0 -1
  467. package/features/reach/components/reach-state.tsx +0 -71
  468. /package/.next/static/{QSe0rTdXU5kh5BBzr2XBB → fiNGsQfna8qldl8wU8wqr}/_buildManifest.js +0 -0
  469. /package/.next/static/{QSe0rTdXU5kh5BBzr2XBB → fiNGsQfna8qldl8wU8wqr}/_clientMiddlewareManifest.js +0 -0
  470. /package/.next/static/{QSe0rTdXU5kh5BBzr2XBB → fiNGsQfna8qldl8wU8wqr}/_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/3ag1i3__yl94f.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/3jvldk2wvwbge.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/2m6jd3586ijb-.js","/_next/static/chunks/35yd_27d9ylra.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/23nfu5g4vl_m7.js","/_next/static/chunks/40ij3wsn3vt7h.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/206laxm6maiz2.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0ev4hyghq0mbb.js","/_next/static/chunks/2p2pqpub-48me.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/0bm-nhblcmmj4.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/2_c7mu6x1lu49.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/2i5_w8olnrvo0.js","/_next/static/chunks/0samf80yu2b17.js","/_next/static/chunks/1g9yyvculuxj2.js","/_next/static/chunks/09pkygbht7ki8.js","/_next/static/chunks/33fyp-byw48ju.js","/_next/static/chunks/1i5pmx0b-xvcb.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/3ag1i3__yl94f.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/3jvldk2wvwbge.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/2m6jd3586ijb-.js","/_next/static/chunks/35yd_27d9ylra.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/23nfu5g4vl_m7.js","/_next/static/chunks/40ij3wsn3vt7h.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/206laxm6maiz2.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0ev4hyghq0mbb.js","/_next/static/chunks/2p2pqpub-48me.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/0bm-nhblcmmj4.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/2_c7mu6x1lu49.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/2i5_w8olnrvo0.js","/_next/static/chunks/0samf80yu2b17.js","/_next/static/chunks/1g9yyvculuxj2.js","/_next/static/chunks/09pkygbht7ki8.js","/_next/static/chunks/33fyp-byw48ju.js","/_next/static/chunks/1i5pmx0b-xvcb.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/3ag1i3__yl94f.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/3jvldk2wvwbge.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/2m6jd3586ijb-.js","/_next/static/chunks/35yd_27d9ylra.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/23nfu5g4vl_m7.js","/_next/static/chunks/40ij3wsn3vt7h.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/206laxm6maiz2.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0ev4hyghq0mbb.js","/_next/static/chunks/2p2pqpub-48me.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/0bm-nhblcmmj4.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/2_c7mu6x1lu49.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/2i5_w8olnrvo0.js","/_next/static/chunks/0samf80yu2b17.js","/_next/static/chunks/1g9yyvculuxj2.js","/_next/static/chunks/09pkygbht7ki8.js","/_next/static/chunks/33fyp-byw48ju.js","/_next/static/chunks/1i5pmx0b-xvcb.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/3ag1i3__yl94f.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/3jvldk2wvwbge.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/2m6jd3586ijb-.js","/_next/static/chunks/35yd_27d9ylra.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/23nfu5g4vl_m7.js","/_next/static/chunks/40ij3wsn3vt7h.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/206laxm6maiz2.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0ev4hyghq0mbb.js","/_next/static/chunks/2p2pqpub-48me.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/0bm-nhblcmmj4.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/2_c7mu6x1lu49.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/2i5_w8olnrvo0.js","/_next/static/chunks/0samf80yu2b17.js","/_next/static/chunks/1g9yyvculuxj2.js","/_next/static/chunks/09pkygbht7ki8.js","/_next/static/chunks/33fyp-byw48ju.js","/_next/static/chunks/1i5pmx0b-xvcb.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/_02c7o30._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/_0nvh1h9._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/_1alxym6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_0uv-qs4._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_15zqt-t._.js","server/chunks/ssr/node_modules_@base-ui_react_0buz1-j._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/_0u5xv6g._.js","server/chunks/ssr/_1lx6w_o._.js","server/chunks/ssr/_18ujhhq._.js","server/chunks/ssr/_1o1g4uk._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_10f-jib._.js","server/chunks/ssr/_2008vmi._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/_05pl_u8._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/_184327j._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/_0igfcax._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/[root-of-the-server]__0a967km._.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/_02c7o30._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/_0nvh1h9._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/_1alxym6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_0uv-qs4._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_15zqt-t._.js","server/chunks/ssr/node_modules_@base-ui_react_0buz1-j._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/_0u5xv6g._.js","server/chunks/ssr/_1lx6w_o._.js","server/chunks/ssr/_18ujhhq._.js","server/chunks/ssr/_1o1g4uk._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_10f-jib._.js","server/chunks/ssr/_2008vmi._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/_05pl_u8._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/_184327j._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/_0igfcax._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/[root-of-the-server]__0a967km._.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/_02c7o30._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/_0nvh1h9._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/_1alxym6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_0uv-qs4._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_15zqt-t._.js","server/chunks/ssr/node_modules_@base-ui_react_0buz1-j._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/_0u5xv6g._.js","server/chunks/ssr/_1lx6w_o._.js","server/chunks/ssr/_18ujhhq._.js","server/chunks/ssr/_1o1g4uk._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_10f-jib._.js","server/chunks/ssr/_2008vmi._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/_05pl_u8._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/_184327j._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/_0igfcax._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/[root-of-the-server]__0a967km._.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/_02c7o30._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/_0nvh1h9._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/_1alxym6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_0uv-qs4._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_15zqt-t._.js","server/chunks/ssr/node_modules_@base-ui_react_0buz1-j._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/_0u5xv6g._.js","server/chunks/ssr/_1lx6w_o._.js","server/chunks/ssr/_18ujhhq._.js","server/chunks/ssr/_1o1g4uk._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_10f-jib._.js","server/chunks/ssr/_2008vmi._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/_05pl_u8._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/_184327j._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/_0igfcax._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/[root-of-the-server]__0a967km._.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/3m_ejzg-xn21r.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/3m_ejzg-xn21r.css","inlined":false}],"[project]/app/page":[{"path":"static/chunks/233p45nuh4m5b.css","inlined":false},{"path":"static/chunks/02omaqvvszea3.css","inlined":false},{"path":"static/chunks/3m_ejzg-xn21r.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/3ag1i3__yl94f.js","static/chunks/3t9huugh-5_ps.js","static/chunks/3jvldk2wvwbge.js","static/chunks/1rowt7kr1tu9y.js","static/chunks/0dcfqbly-089u.js","static/chunks/2yp4u469_4i3l.js","static/chunks/2m6jd3586ijb-.js","static/chunks/35yd_27d9ylra.js","static/chunks/3l6bwn061vy22.js","static/chunks/23nfu5g4vl_m7.js","static/chunks/40ij3wsn3vt7h.js","static/chunks/0sqe8zks75fot.js","static/chunks/206laxm6maiz2.js","static/chunks/33lyk6a4x_hg8.js","static/chunks/43q9cgbuw8krx.js","static/chunks/0ev4hyghq0mbb.js","static/chunks/2p2pqpub-48me.js","static/chunks/3sfcixohjbvu5.js","static/chunks/0n6rdrjpwcyya.js","static/chunks/3zgnmu3cnahk0.js","static/chunks/0bm-nhblcmmj4.js","static/chunks/2re701zfx-nrj.js","static/chunks/2_c7mu6x1lu49.js","static/chunks/1d9i8nlx-zy9a.js","static/chunks/2i5_w8olnrvo0.js","static/chunks/0samf80yu2b17.js","static/chunks/1g9yyvculuxj2.js","static/chunks/09pkygbht7ki8.js","static/chunks/33fyp-byw48ju.js","static/chunks/1i5pmx0b-xvcb.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/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.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/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.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/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.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/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.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/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.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/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.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/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/node_modules/next/dist/client/script.js":{"id":479520,"name":"*","chunks":["/_next/static/chunks/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/components/ui/theme-sync.tsx":{"id":881283,"name":"*","chunks":["/_next/static/chunks/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/components/ui/toast.tsx":{"id":6799,"name":"*","chunks":["/_next/static/chunks/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.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/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.js","/_next/static/chunks/25huyu8ndoo-w.js"],"async":false},"[project]/app/api/events/app-event.client.ts":{"id":511769,"name":"*","chunks":["/_next/static/chunks/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.js","/_next/static/chunks/25huyu8ndoo-w.js","/_next/static/chunks/43skgt0h9woyu.js","/_next/static/chunks/3jvldk2wvwbge.js","/_next/static/chunks/0srg9tv4105-i.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/0t599wrclly7i.js","/_next/static/chunks/211s4xjtecj2l.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/1aughn81slf90.js","/_next/static/chunks/32tmfirfjpulv.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/1i5pmx0b-xvcb.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/0n1o3k0z4m7c_.js","/_next/static/chunks/0hhn8mf953761.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/3kc-e7pcj50ae.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/3rwpyuo9nrrop.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/2p2pqpub-48me.js","/_next/static/chunks/3vz7m1w688juj.js","/_next/static/chunks/2sjq4gsimlfqr.js","/_next/static/chunks/376-s_i83irs-.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/2244-cat2jlvd.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/0x34bhth_sn35.js","/_next/static/chunks/0ev4hyghq0mbb.js"],"async":false},"[project]/features/intro/components/intro.tsx":{"id":302707,"name":"*","chunks":["/_next/static/chunks/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.js","/_next/static/chunks/25huyu8ndoo-w.js","/_next/static/chunks/43skgt0h9woyu.js","/_next/static/chunks/3jvldk2wvwbge.js","/_next/static/chunks/0srg9tv4105-i.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/0t599wrclly7i.js","/_next/static/chunks/211s4xjtecj2l.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/1aughn81slf90.js","/_next/static/chunks/32tmfirfjpulv.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/1i5pmx0b-xvcb.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/0n1o3k0z4m7c_.js","/_next/static/chunks/0hhn8mf953761.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/3kc-e7pcj50ae.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/3rwpyuo9nrrop.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/2p2pqpub-48me.js","/_next/static/chunks/3vz7m1w688juj.js","/_next/static/chunks/2sjq4gsimlfqr.js","/_next/static/chunks/376-s_i83irs-.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/2244-cat2jlvd.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/0x34bhth_sn35.js","/_next/static/chunks/0ev4hyghq0mbb.js"],"async":true},"[project]/features/reach/components/reach-ask.tsx":{"id":756958,"name":"*","chunks":["/_next/static/chunks/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.js","/_next/static/chunks/25huyu8ndoo-w.js","/_next/static/chunks/43skgt0h9woyu.js","/_next/static/chunks/3jvldk2wvwbge.js","/_next/static/chunks/0srg9tv4105-i.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/0t599wrclly7i.js","/_next/static/chunks/211s4xjtecj2l.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/1aughn81slf90.js","/_next/static/chunks/32tmfirfjpulv.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/1i5pmx0b-xvcb.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/0n1o3k0z4m7c_.js","/_next/static/chunks/0hhn8mf953761.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/3kc-e7pcj50ae.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/3rwpyuo9nrrop.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/2p2pqpub-48me.js","/_next/static/chunks/3vz7m1w688juj.js","/_next/static/chunks/2sjq4gsimlfqr.js","/_next/static/chunks/376-s_i83irs-.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/2244-cat2jlvd.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/0x34bhth_sn35.js","/_next/static/chunks/0ev4hyghq0mbb.js"],"async":false},"[project]/features/thursday/components/boot.tsx":{"id":252284,"name":"*","chunks":["/_next/static/chunks/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.js","/_next/static/chunks/25huyu8ndoo-w.js","/_next/static/chunks/43skgt0h9woyu.js","/_next/static/chunks/3jvldk2wvwbge.js","/_next/static/chunks/0srg9tv4105-i.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/0t599wrclly7i.js","/_next/static/chunks/211s4xjtecj2l.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/1aughn81slf90.js","/_next/static/chunks/32tmfirfjpulv.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/1i5pmx0b-xvcb.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/0n1o3k0z4m7c_.js","/_next/static/chunks/0hhn8mf953761.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/3kc-e7pcj50ae.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/3rwpyuo9nrrop.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/2p2pqpub-48me.js","/_next/static/chunks/3vz7m1w688juj.js","/_next/static/chunks/2sjq4gsimlfqr.js","/_next/static/chunks/376-s_i83irs-.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/2244-cat2jlvd.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/0x34bhth_sn35.js","/_next/static/chunks/0ev4hyghq0mbb.js"],"async":false},"[project]/features/thursday/components/thursday.tsx":{"id":692888,"name":"*","chunks":["/_next/static/chunks/1lp02y2nmddxg.js","/_next/static/chunks/3blk-kpn39xr-.js","/_next/static/chunks/25huyu8ndoo-w.js","/_next/static/chunks/43skgt0h9woyu.js","/_next/static/chunks/3jvldk2wvwbge.js","/_next/static/chunks/0srg9tv4105-i.js","/_next/static/chunks/2yp4u469_4i3l.js","/_next/static/chunks/0t599wrclly7i.js","/_next/static/chunks/211s4xjtecj2l.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/1aughn81slf90.js","/_next/static/chunks/32tmfirfjpulv.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/1i5pmx0b-xvcb.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/0n1o3k0z4m7c_.js","/_next/static/chunks/0hhn8mf953761.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/3kc-e7pcj50ae.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/3sfcixohjbvu5.js","/_next/static/chunks/3rwpyuo9nrrop.js","/_next/static/chunks/0n6rdrjpwcyya.js","/_next/static/chunks/2p2pqpub-48me.js","/_next/static/chunks/3vz7m1w688juj.js","/_next/static/chunks/2sjq4gsimlfqr.js","/_next/static/chunks/376-s_i83irs-.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/2244-cat2jlvd.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/1rowt7kr1tu9y.js","/_next/static/chunks/0x34bhth_sn35.js","/_next/static/chunks/0ev4hyghq0mbb.js"],"async":true}},"ssrModuleMapping":{"339756":{"*":{"id":802420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js"],"async":false}},"837457":{"*":{"id":324017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js"],"async":false}},"347257":{"*":{"id":877682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js"],"async":false}},"92825":{"*":{"id":697296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js"],"async":false}},"768017":{"*":{"id":861660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js"],"async":false}},"897367":{"*":{"id":990574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js"],"async":false}},"27201":{"*":{"id":660704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js"],"async":false}},"479520":{"*":{"id":496665,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js"],"async":false}},"881283":{"*":{"id":198538,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js"],"async":false}},"6799":{"*":{"id":864037,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js"],"async":false}},"168027":{"*":{"id":340622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/node_modules_next_dist_client_components_1bi5-b2._.js"],"async":false}},"511769":{"*":{"id":986368,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_2021n9-._.js","server/chunks/ssr/_0agcbk7._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_1p8xorg._.js","server/chunks/ssr/_07ke63g._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/_0vi6ky6._.js","server/chunks/ssr/node_modules_@base-ui_react_0buz1-j._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/_1kbk28w._.js","server/chunks/ssr/_1kj_r9v._.js","server/chunks/ssr/_1myh7ss._.js","server/chunks/ssr/[root-of-the-server]__20re7ya._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/_1ou5sj0._.js","server/chunks/ssr/_00pgq9d._.js","server/chunks/ssr/_150463c._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/_0yhji3e._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/features_config_1qxe5ur._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_1alxym6._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_0kkdx7t._.js","server/chunks/ssr/_0iizjr9._.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-OSK3NFVY_mjs_0x5leh1._.js"],"async":false}},"302707":{"*":{"id":102928,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_2021n9-._.js","server/chunks/ssr/_0agcbk7._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_1p8xorg._.js","server/chunks/ssr/_07ke63g._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/_0vi6ky6._.js","server/chunks/ssr/node_modules_@base-ui_react_0buz1-j._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/_1kbk28w._.js","server/chunks/ssr/_1kj_r9v._.js","server/chunks/ssr/_1myh7ss._.js","server/chunks/ssr/[root-of-the-server]__20re7ya._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/_1ou5sj0._.js","server/chunks/ssr/_00pgq9d._.js","server/chunks/ssr/_150463c._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/_0yhji3e._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/features_config_1qxe5ur._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_1alxym6._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_0kkdx7t._.js","server/chunks/ssr/_0iizjr9._.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-OSK3NFVY_mjs_0x5leh1._.js"],"async":true}},"756958":{"*":{"id":484267,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_2021n9-._.js","server/chunks/ssr/_0agcbk7._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_1p8xorg._.js","server/chunks/ssr/_07ke63g._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/_0vi6ky6._.js","server/chunks/ssr/node_modules_@base-ui_react_0buz1-j._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/_1kbk28w._.js","server/chunks/ssr/_1kj_r9v._.js","server/chunks/ssr/_1myh7ss._.js","server/chunks/ssr/[root-of-the-server]__20re7ya._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/_1ou5sj0._.js","server/chunks/ssr/_00pgq9d._.js","server/chunks/ssr/_150463c._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/_0yhji3e._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/features_config_1qxe5ur._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_1alxym6._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_0kkdx7t._.js","server/chunks/ssr/_0iizjr9._.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-OSK3NFVY_mjs_0x5leh1._.js"],"async":false}},"252284":{"*":{"id":72962,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_2021n9-._.js","server/chunks/ssr/_0agcbk7._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_1p8xorg._.js","server/chunks/ssr/_07ke63g._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/_0vi6ky6._.js","server/chunks/ssr/node_modules_@base-ui_react_0buz1-j._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/_1kbk28w._.js","server/chunks/ssr/_1kj_r9v._.js","server/chunks/ssr/_1myh7ss._.js","server/chunks/ssr/[root-of-the-server]__20re7ya._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/_1ou5sj0._.js","server/chunks/ssr/_00pgq9d._.js","server/chunks/ssr/_150463c._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/_0yhji3e._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/features_config_1qxe5ur._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_1alxym6._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_0kkdx7t._.js","server/chunks/ssr/_0iizjr9._.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-OSK3NFVY_mjs_0x5leh1._.js"],"async":false}},"692888":{"*":{"id":137079,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0yngu44._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/_19jez1a._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_2021n9-._.js","server/chunks/ssr/_0agcbk7._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_1p8xorg._.js","server/chunks/ssr/_07ke63g._.js","server/chunks/ssr/_123y-ah._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/components_ui_tabs_tsx_0ej40b4._.js","server/chunks/ssr/_0vi6ky6._.js","server/chunks/ssr/node_modules_@base-ui_react_0buz1-j._.js","server/chunks/ssr/features_bot_1s_-2vj._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_0ld9_qq._.js","server/chunks/ssr/_1kbk28w._.js","server/chunks/ssr/_1kj_r9v._.js","server/chunks/ssr/_1myh7ss._.js","server/chunks/ssr/[root-of-the-server]__20re7ya._.js","server/chunks/ssr/_1xoch6f._.js","server/chunks/ssr/node_modules_0vi73_6._.js","server/chunks/ssr/_1ou5sj0._.js","server/chunks/ssr/_00pgq9d._.js","server/chunks/ssr/_150463c._.js","server/chunks/ssr/node_modules_0794bsw._.js","server/chunks/ssr/_0yhji3e._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/features_config_1qxe5ur._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/_1mqn9mc._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_1alxym6._.js","server/chunks/ssr/[root-of-the-server]__1c2a2og._.js","server/chunks/ssr/node_modules_0rb-_la._.js","server/chunks/ssr/_0kkdx7t._.js","server/chunks/ssr/_0iizjr9._.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-OSK3NFVY_mjs_0x5leh1._.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}},"881283":{"*":{"id":265728,"name":"*","chunks":[],"async":false}},"6799":{"*":{"id":502807,"name":"*","chunks":[],"async":false}},"168027":{"*":{"id":782509,"name":"*","chunks":[],"async":false}},"511769":{"*":{"id":773791,"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/0oe2zavre2a7d.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/0oe2zavre2a7d.css","inlined":false}],"[project]/app/page":[{"path":"static/chunks/233p45nuh4m5b.css","inlined":false},{"path":"static/chunks/02omaqvvszea3.css","inlined":false},{"path":"static/chunks/0oe2zavre2a7d.css","inlined":false}]},"entryJSFiles":{"[project]/app/layout":["static/chunks/1lp02y2nmddxg.js","static/chunks/3blk-kpn39xr-.js","static/chunks/25huyu8ndoo-w.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/1lp02y2nmddxg.js","static/chunks/3blk-kpn39xr-.js","static/chunks/25huyu8ndoo-w.js"],"[project]/app/page":["static/chunks/1lp02y2nmddxg.js","static/chunks/3blk-kpn39xr-.js","static/chunks/25huyu8ndoo-w.js","static/chunks/43skgt0h9woyu.js","static/chunks/3jvldk2wvwbge.js","static/chunks/0srg9tv4105-i.js","static/chunks/2yp4u469_4i3l.js","static/chunks/0t599wrclly7i.js","static/chunks/211s4xjtecj2l.js","static/chunks/3t9huugh-5_ps.js","static/chunks/1aughn81slf90.js","static/chunks/32tmfirfjpulv.js","static/chunks/3zgnmu3cnahk0.js","static/chunks/1i5pmx0b-xvcb.js","static/chunks/43q9cgbuw8krx.js","static/chunks/0dcfqbly-089u.js","static/chunks/0n1o3k0z4m7c_.js","static/chunks/0hhn8mf953761.js","static/chunks/33lyk6a4x_hg8.js","static/chunks/3kc-e7pcj50ae.js","static/chunks/3l6bwn061vy22.js","static/chunks/1d9i8nlx-zy9a.js","static/chunks/3sfcixohjbvu5.js","static/chunks/3rwpyuo9nrrop.js","static/chunks/0n6rdrjpwcyya.js","static/chunks/2p2pqpub-48me.js","static/chunks/3vz7m1w688juj.js","static/chunks/2sjq4gsimlfqr.js","static/chunks/376-s_i83irs-.js","static/chunks/0sqe8zks75fot.js","static/chunks/2244-cat2jlvd.js","static/chunks/2re701zfx-nrj.js","static/chunks/1rowt7kr1tu9y.js","static/chunks/0x34bhth_sn35.js","static/chunks/0ev4hyghq0mbb.js"]}};
3
3
 
@@ -1,3 +1,3 @@
1
- module.exports=[500874,(e,t,r)=>{t.exports=e.x("buffer",()=>require("buffer"))},912714,(e,t,r)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},605365,(e,t,r)=>{t.exports=e.x("process",()=>require("process"))},782421,e=>{"use strict";var t=e.i(696968),r=e.i(280809),a=e.i(91264),n=e.i(53748);let s=(0,a.serverRoute)(async(e,{params:a})=>{let{source:s,name:i}=await a,o=r.SkillSourceSchema.safeParse(s);o.success||(0,n.publicError)("Skill not found");let l=new URL(e.url).searchParams.get("path")??"";return(0,t.readSkillNode)(o.data,i,l)});e.s(["GET",0,s])},108940,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),u=e.i(487718),d=e.i(995169),c=e.i(47587),p=e.i(666012),h=e.i(570101),R=e.i(626937),v=e.i(10372),m=e.i(193695);e.i(52474);var f=e.i(600220);let g=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/skills/[source]/[name]/route",pathname:"/api/skills/[source]/[name]",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/skills/[source]/[name]/route.ts",nextConfigOutput:"standalone",userland:()=>e.r(782421),...{}}),{workAsyncStorage:E,workUnitAsyncStorage:w,serverHooks:x}=g;async function C(e,t,a){a.requestMeta&&(0,n.setRequestMeta)(e,a.requestMeta),g.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let E="/api/skills/[source]/[name]/route";E=E.replace(/\/index$/,"")||"/";let w=await g.prepare(e,t,{srcPage:E,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:x,deploymentId:C,params:_,nextConfig:A,parsedUrl:S,isDraftMode:T,prerenderManifest:P,routerServerContext:y,isOnDemandRevalidate:b,revalidateOnlyGenerated:N,resolvedPathname:k,clientReferenceManifest:q,serverActionsManifest:O}=w,H=(0,o.normalizeAppPath)(E),I=!!(P.dynamicRoutes[H]||P.routes[k]),M=async()=>((null==y?void 0:y.render404)?await y.render404(e,t,S,!1):t.end("This page could not be found"),null);if(I&&!T){let e=!!P.routes[k],t=P.dynamicRoutes[H];if(t&&!1===t.fallback&&!e){if(A.adapterPath)return await M();throw new m.NoFallbackError}}let U=null;!I||g.isDev||T||(U="/index"===(U=k)?"/":U);let D=!0===g.isDev||!I,j=I&&!D;O&&q&&(0,i.setManifestsSingleton)({page:E,clientReferenceManifest:q,serverActionsManifest:O});let F=e.method||"GET",K=(0,s.getTracer)(),L=K.getActiveScopeSpan(),$=!!(null==y?void 0:y.isWrappedByNextServer),B=!!(0,n.getRequestMeta)(e,"minimalMode"),G=(0,n.getRequestMeta)(e,"incrementalCache")||await g.getIncrementalCache(e,A,P,B);null==G||G.resetRequestCache(),globalThis.__incrementalCache=G;let V={params:_,previewProps:P.preview,renderOpts:{experimental:{authInterrupts:!!A.experimental.authInterrupts,useCacheTimeout:A.experimental.useCacheTimeout},cacheComponents:!!A.cacheComponents,validationLevel:A.experimental.instantInsights.validationLevel,supportsDynamicResponse:D,incrementalCache:G,hmrRefreshHash:(0,n.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:A.cacheLife,staticPageGenerationTimeout:A.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>g.onRequestError(e,t,a,n,y)},sharedContext:{buildId:x,deploymentId:C}},X=new l.NodeNextRequest(e),z=new l.NodeNextResponse(t),W=u.NextRequestAdapter.fromNodeNextRequest(X,(0,u.signalFromNodeResponse)(t)),Z=async({previousCacheEntry:r})=>{try{if(!B&&b&&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(W,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,p.sendResponse)(X,z,n,s),null;{let e=await n.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(n.headers);i&&(t[v.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>=v.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,a=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=v.INFINITE_CACHE?!1!==r&&r>0?A.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:f.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:E,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:j,isOnDemandRevalidate:b})},!1,y),t}},J=async(n,i)=>{try{var o,l;let n=await g.handleResponse({req:e,nextConfig:A,cacheKey:U,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:P,isRoutePPREnabled:!1,isOnDemandRevalidate:b,revalidateOnlyGenerated:N,responseGenerator:Z,waitUntil:a.waitUntil,isMinimalMode:B});if(!I)return;if((null==n||null==(o=n.value)?void 0:o.kind)!==f.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",b?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),T&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let s=(0,h.fromNodeOutgoingHttpHeaders)(n.value.headers);B&&I||s.delete(v.NEXT_CACHE_TAGS_HEADER),!n.cacheControl||t.getHeader("Cache-Control")||s.get("Cache-Control")||s.set("Cache-Control",(0,R.getCacheControlHeader)(n.cacheControl)),await (0,p.sendResponse)(X,z,new Response(n.value.body,{headers:s,status:n.value.status||200}));return}catch(t){if(t instanceof m.NoFallbackError||await g.onRequestError(e,t,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:j,isOnDemandRevalidate:b})},!1,y),I)throw t;await (0,p.sendResponse)(X,z,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=K.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==d.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=`${F} ${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($&&L)await J(L,void 0);else{let t=K.getActiveScopeSpan();await K.withPropagatedContext(e.headers,()=>K.trace(d.BaseServerSpan.handleRequest,{spanName:`${F} ${E}`,kind:s.SpanKind.SERVER,attributes:{"http.method":F,"http.target":e.url}},e=>J(e,t)),void 0,!$)}}e.s(["handler",0,C,"patchFetch",0,function(){return(0,a.patchFetch)({workAsyncStorage:E,workUnitAsyncStorage:w})},"routeModule",0,g,"serverHooks",0,x,"workAsyncStorage",0,E,"workUnitAsyncStorage",0,w])},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)))},469719,e=>{"use strict";var t=e.i(562810);e.s(["z",0,t])}];
1
+ module.exports=[500874,(e,t,r)=>{t.exports=e.x("buffer",()=>require("buffer"))},912714,(e,t,r)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},605365,(e,t,r)=>{t.exports=e.x("process",()=>require("process"))},782421,e=>{"use strict";var t=e.i(696968),r=e.i(280809),a=e.i(91264),n=e.i(53748);let s=(0,a.serverRoute)(async(e,{params:a})=>{let{source:s,name:i}=await a,o=r.SkillSourceSchema.safeParse(s);o.success||(0,n.publicError)("Skill not found");let l=new URL(e.url).searchParams.get("path")??"";return(0,t.readSkillNode)(o.data,i,l)});e.s(["GET",0,s])},108940,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),u=e.i(487718),d=e.i(995169),c=e.i(47587),p=e.i(666012),h=e.i(570101),R=e.i(626937),v=e.i(10372),m=e.i(193695);e.i(52474);var f=e.i(600220);let g=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/skills/[source]/[name]/route",pathname:"/api/skills/[source]/[name]",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/skills/[source]/[name]/route.ts",nextConfigOutput:"standalone",userland:()=>e.r(782421),...{}}),{workAsyncStorage:E,workUnitAsyncStorage:w,serverHooks:x}=g;async function C(e,t,a){a.requestMeta&&(0,n.setRequestMeta)(e,a.requestMeta),g.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let E="/api/skills/[source]/[name]/route";E=E.replace(/\/index$/,"")||"/";let w=await g.prepare(e,t,{srcPage:E,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:x,deploymentId:C,params:_,nextConfig:A,parsedUrl:S,isDraftMode:T,prerenderManifest:P,routerServerContext:y,isOnDemandRevalidate:b,revalidateOnlyGenerated:N,resolvedPathname:k,clientReferenceManifest:q,serverActionsManifest:O}=w,H=(0,o.normalizeAppPath)(E),I=!!(P.dynamicRoutes[H]||P.routes[k]),M=async()=>((null==y?void 0:y.render404)?await y.render404(e,t,S,!1):t.end("This page could not be found"),null);if(I&&!T){let e=!!P.routes[k],t=P.dynamicRoutes[H];if(t&&!1===t.fallback&&!e){if(A.adapterPath)return await M();throw new m.NoFallbackError}}let U=null;!I||g.isDev||T||(U="/index"===(U=k)?"/":U);let D=!0===g.isDev||!I,j=I&&!D;O&&q&&(0,i.setManifestsSingleton)({page:E,clientReferenceManifest:q,serverActionsManifest:O});let F=e.method||"GET",K=(0,s.getTracer)(),L=K.getActiveScopeSpan(),$=!!(null==y?void 0:y.isWrappedByNextServer),B=!!(0,n.getRequestMeta)(e,"minimalMode"),G=(0,n.getRequestMeta)(e,"incrementalCache")||await g.getIncrementalCache(e,A,P,B);null==G||G.resetRequestCache(),globalThis.__incrementalCache=G;let V={params:_,previewProps:P.preview,renderOpts:{experimental:{authInterrupts:!!A.experimental.authInterrupts,useCacheTimeout:A.experimental.useCacheTimeout},cacheComponents:!!A.cacheComponents,validationLevel:A.experimental.instantInsights.validationLevel,supportsDynamicResponse:D,incrementalCache:G,hmrRefreshHash:(0,n.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:A.cacheLife,staticPageGenerationTimeout:A.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>g.onRequestError(e,t,a,n,y)},sharedContext:{buildId:x,deploymentId:C}},X=new l.NodeNextRequest(e),W=new l.NodeNextResponse(t),z=u.NextRequestAdapter.fromNodeNextRequest(X,(0,u.signalFromNodeResponse)(t)),Z=async({previousCacheEntry:r})=>{try{if(!B&&b&&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,p.sendResponse)(X,W,n,s),null;{let e=await n.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(n.headers);i&&(t[v.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>=v.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,a=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=v.INFINITE_CACHE?!1!==r&&r>0?A.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:f.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:E,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:j,isOnDemandRevalidate:b})},!1,y),t}},J=async(n,i)=>{try{var o,l;let n=await g.handleResponse({req:e,nextConfig:A,cacheKey:U,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:P,isRoutePPREnabled:!1,isOnDemandRevalidate:b,revalidateOnlyGenerated:N,responseGenerator:Z,waitUntil:a.waitUntil,isMinimalMode:B});if(!I)return;if((null==n||null==(o=n.value)?void 0:o.kind)!==f.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",b?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),T&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let s=(0,h.fromNodeOutgoingHttpHeaders)(n.value.headers);B&&I||s.delete(v.NEXT_CACHE_TAGS_HEADER),!n.cacheControl||t.getHeader("Cache-Control")||s.get("Cache-Control")||s.set("Cache-Control",(0,R.getCacheControlHeader)(n.cacheControl)),await (0,p.sendResponse)(X,W,new Response(n.value.body,{headers:s,status:n.value.status||200}));return}catch(t){if(t instanceof m.NoFallbackError||await g.onRequestError(e,t,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:j,isOnDemandRevalidate:b})},!1,y),I)throw t;await (0,p.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=K.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==d.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=`${F} ${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($&&L)await J(L,void 0);else{let t=K.getActiveScopeSpan();await K.withPropagatedContext(e.headers,()=>K.trace(d.BaseServerSpan.handleRequest,{spanName:`${F} ${E}`,kind:s.SpanKind.SERVER,attributes:{"http.method":F,"http.target":e.url}},e=>J(e,t)),void 0,!$)}}e.s(["handler",0,C,"patchFetch",0,function(){return(0,a.patchFetch)({workAsyncStorage:E,workUnitAsyncStorage:w})},"routeModule",0,g,"serverHooks",0,x,"workAsyncStorage",0,E,"workUnitAsyncStorage",0,w])},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
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__0o49ztf._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__0-k4_ie._.js.map
@@ -1,12 +1,12 @@
1
- module.exports=[874533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},666680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},902157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},912714,(e,t,r)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},660526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},750227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},59639,(e,t,r)=>{t.exports=e.x("node:process",()=>require("node:process"))},509656,(e,t,r)=>{t.exports=e.x("node:tty",()=>require("node:tty"))},812057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},232347,e=>{"use strict";let t,r,a,i,s,n;var o,c=e.i(333925),l=e.i(938281);let u={threads:!0,routines:!0,memory:!0,mcp:!0,config:!0,reach:!0,signins:!0},d=globalThis,p=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)})}),f=d.__presence??=(o=c.BROWSER_GONE_MS,r=!1,a=null,i=new Set,s=new Set,n=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,n(s));return}!a&&r&&(a=setTimeout(()=>{a=null,r=!1,n(i)},o))},onGone:e=>(i.add(e),()=>i.delete(e)),onBack:e=>(s.add(e),()=>s.delete(e))});d.__appEventStream??=function(e,t={}){let r=new TextEncoder,a=t.heartbeatMs??2e4,i=0;return{respond:(s,n)=>{let o=()=>{};return new Response(new ReadableStream({async start(c){let u=!1,d=new Map,p=[],f=e=>{if(!u)try{c.enqueue(r.encode(e))}catch{o()}},w=e=>f(`data: ${JSON.stringify(e)}
1
+ module.exports=[874533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},666680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},902157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},912714,(e,t,r)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},660526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},750227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},59639,(e,t,r)=>{t.exports=e.x("node:process",()=>require("node:process"))},509656,(e,t,r)=>{t.exports=e.x("node:tty",()=>require("node:tty"))},812057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},232347,e=>{"use strict";let t,r,a,i,s,n;var o,l=e.i(333925),c=e.i(938281);let u={threads:!0,routines:!0,memory:!0,mcp:!0,config:!0,reach:!0,signins:!0},d=globalThis,p=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)})}),f=d.__presence??=(o=l.BROWSER_GONE_MS,r=!1,a=null,i=new Set,s=new Set,n=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,n(s));return}!a&&r&&(a=setTimeout(()=>{a=null,r=!1,n(i)},o))},onGone:e=>(i.add(e),()=>i.delete(e)),onBack:e=>(s.add(e),()=>s.delete(e))});d.__appEventStream??=function(e,t={}){let r=new TextEncoder,a=t.heartbeatMs??2e4,i=0;return{respond:(s,n)=>{let o=()=>{};return new Response(new ReadableStream({async start(l){let u=!1,d=new Map,p=[],f=e=>{if(!u)try{l.enqueue(r.encode(e))}catch{o()}},w=e=>f(`data: ${JSON.stringify(e)}
2
2
 
3
- `),h=e=>{let r=t.coalesce?.keyOf(e)??null;if(null===r)return w(e);let a=d.get(r);a&&clearTimeout(a),d.set(r,setTimeout(()=>{d.delete(r),w(e)},t.coalesce?.ms))},m=e.subscribe(e=>p?p.push(e):h(e)),S=setInterval(()=>f(": ping\n\n"),a);i+=1,t.onWatchers?.(i),o=()=>{if(!u){for(let e of(u=!0,i-=1,t.onWatchers?.(i),m(),clearInterval(S),d.values()))clearTimeout(e);try{c.close()}catch{}}},s.addEventListener("abort",o);try{for(let e of await n?.()??[])w(e)}catch(e){l.logger.error("event stream opening failed",e),o();return}let T=p;for(let e of(p=null,T))h(e)},cancel(){o()}}),{headers:{"Content-Type":"text/event-stream; charset=utf-8","Cache-Control":"no-store","X-Accel-Buffering":"no"}})},get watchers(){return i}}}(p,{coalesce:{ms:150,keyOf:e=>e.type in u?e.type:null},onWatchers:f.track}),d.__bootId??=crypto.randomUUID(),e.s(["appEvents",0,p,"presence",0,f],232347)},333925,e=>{"use strict";let t=process.env.THURSDAY_APP_DIR?.trim()||process.cwd(),r=process.env.THURSDAY_HOME?.trim()||process.cwd(),a=process.env.THURSDAY_URL?.trim()||`http://localhost:${process.env.PORT?.trim()||3e3}`,i=`file:${r}/local.db`,s=".ai-workspace",n={workspace:s,artifacts:"artifacts",projects:"projects",scratch:"scratch",bots:"bots",output:".output",signIns:".sign-ins",skills:{default:"skills",custom:`${s}/.agents/skills`,own:".agents/skills",seeds:"seed-skills"}};e.s(["APP_DIR",0,t,"APP_NAME",0,"Thursday","APP_URL",0,a,"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,r,"DB_FILE_NAME",0,i,"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,n,"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}])},379651,377205,e=>{"use strict";var t=e.i(912714),r=e.i(750227),a=e.i(232347),i=e.i(333925),s=e.i(871096),n=e.i(938281);let o=e=>e.trim().toLowerCase().replace(/^[a-z]+:\/\//,"").replace(/^www\./,"").replace(/[/?#].*$/,"");e.s(["siteOf",0,o],377205);let c=(0,r.join)(i.DATA_DIR,i.PATHS.signIns),l=e=>(0,r.join)(c,`${encodeURIComponent(o(e))}.json`);async function u(e){try{return JSON.parse(await (0,t.readFile)(l(e),"utf8"))}catch{return null}}async function d(e){await (0,t.mkdir)(c,{recursive:!0}),await (0,t.writeFile)(l(e.site),JSON.stringify(e),{mode:384}),a.appEvents.emit({type:"signins"})}async function p(){let e=await (0,t.readdir)(c).catch(()=>[]);return(await Promise.all(e.filter(e=>e.endsWith(".json")).map(e=>u(decodeURIComponent(e.slice(0,-5)))))).flatMap(e=>e?[(({state:e,...t})=>t)(e)]:[]).sort((e,t)=>e.site.localeCompare(t.site))}async function f(e){let t=o(e.site),r=await u(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 d(a),(({state:e,...t})=>t)(a)}async function w(e,t){let r=await u(e);if(!r)return{kind:"none",kept:(await p()).map(e=>e.site)};if(!r.bots.includes(t))return r.asking.includes(t)||await d({...r,asking:[...r.asking,t]}),{kind:"ask",signIn:(({state:e,...t})=>t)(r)};let a={...r,usedAt:new Date().toISOString()};return await d(a),{kind:"state",signIn:(({state:e,...t})=>t)(a),state:r.state}}let h=e=>`${e.name}
3
+ `),h=e=>{let r={last:null},a=setTimeout(()=>{d.delete(e),!u&&r.last&&(w(r.last),h(e))},t.coalesce?.ms);d.set(e,{timer:a,wait:r})},m=e=>{if(u)return;let r=t.coalesce?.keyOf(e)??null;if(null===r)return w(e);let a=d.get(r);if(a){a.wait.last=e;return}w(e),h(r)},S=e.subscribe(e=>p?p.push(e):m(e)),T=setInterval(()=>f(": ping\n\n"),a);i+=1,t.onWatchers?.(i),o=()=>{if(!u){for(let e of(u=!0,i-=1,t.onWatchers?.(i),S(),clearInterval(T),d.values()))clearTimeout(e.timer);try{l.close()}catch{}}},s.addEventListener("abort",o);try{for(let e of await n?.()??[])w(e)}catch(e){c.logger.error("event stream opening failed",e),o();return}let _=p;for(let e of(p=null,_))m(e)},cancel(){o()}}),{headers:{"Content-Type":"text/event-stream; charset=utf-8","Cache-Control":"no-store","X-Accel-Buffering":"no"}})},get watchers(){return i}}}(p,{coalesce:{ms:150,keyOf:e=>e.type in u?e.type:null},onWatchers:f.track}),e.s(["appEvents",0,p,"presence",0,f],232347)},333925,e=>{"use strict";let t=process.env.THURSDAY_APP_DIR?.trim()||process.cwd(),r=process.env.THURSDAY_HOME?.trim()||process.cwd(),a=process.env.THURSDAY_URL?.trim()||`http://localhost:${process.env.PORT?.trim()||3e3}`,i=`file:${r}/local.db`,s=".ai-workspace",n={workspace:s,artifacts:"artifacts",projects:"projects",scratch:"scratch",bots:"bots",output:".output",signIns:".sign-ins",skills:{default:"skills",custom:`${s}/.agents/skills`,own:".agents/skills",seeds:"seed-skills"}};e.s(["APP_DIR",0,t,"APP_NAME",0,"Thursday","APP_URL",0,a,"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,r,"DB_FILE_NAME",0,i,"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},"HISTORY_KEEP",0,{forMs:7776e6,sweepEveryMs:216e5},"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,n,"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}])},379651,377205,e=>{"use strict";var t=e.i(912714),r=e.i(750227),a=e.i(232347),i=e.i(333925),s=e.i(871096),n=e.i(938281);let o=e=>e.trim().toLowerCase().replace(/^[a-z]+:\/\//,"").replace(/^www\./,"").replace(/[/?#].*$/,"");e.s(["siteOf",0,o],377205);let l=(0,r.join)(i.DATA_DIR,i.PATHS.signIns),c=e=>(0,r.join)(l,`${encodeURIComponent(o(e))}.json`);async function u(e){try{return JSON.parse(await (0,t.readFile)(c(e),"utf8"))}catch{return null}}async function d(e){await (0,t.mkdir)(l,{recursive:!0}),await (0,t.writeFile)(c(e.site),JSON.stringify(e),{mode:384}),a.appEvents.emit({type:"signins"})}async function p(){let e=await (0,t.readdir)(l).catch(()=>[]);return(await Promise.all(e.filter(e=>e.endsWith(".json")).map(e=>u(decodeURIComponent(e.slice(0,-5)))))).flatMap(e=>e?[(({state:e,...t})=>t)(e)]:[]).sort((e,t)=>e.site.localeCompare(t.site))}async function f(e){let t=o(e.site),r=await u(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 d(a),(({state:e,...t})=>t)(a)}async function w(e,t){let r=await u(e);if(!r)return{kind:"none",kept:(await p()).map(e=>e.site)};if(!r.bots.includes(t))return r.asking.includes(t)||await d({...r,asking:[...r.asking,t]}),{kind:"ask",signIn:(({state:e,...t})=>t)(r)};let a={...r,usedAt:new Date().toISOString()};return await d(a),{kind:"state",signIn:(({state:e,...t})=>t)(a),state:r.state}}let h=e=>`${e.name}
4
4
  ${e.domain}
5
- ${e.path}`;async function m(e){let r,a=await (0,t.readdir)(c).catch(()=>[]);if(!a.some(e=>e.endsWith(".json")))return;let i=await (0,s.openWorkspace)(),n=(0,s.jobShellEnv)(e),{browsers:o}=JSON.parse((await i.exec("playwright-cli list --json",{env:n,timeoutMs:15e3})).stdout||"{}"),l=o?.find(e=>e.name===n.PLAYWRIGHT_CLI_SESSION);if(!l||l.attached)return;let p=`.playwright-cli/state-${crypto.randomUUID()}.json`;try{let e=await i.exec(`mkdir -p .playwright-cli && playwright-cli state-save ${p}`,{env:n,timeoutMs:3e4});if(0!==e.exitCode)return;let t=JSON.parse(await i.readFile(p,"utf-8"));r=new Map((t.cookies??[]).map(e=>[h(e),e]))}finally{await i.exec(`rm -f ${p}`)}for(let e of a){if(!e.endsWith(".json"))continue;let t=await u(decodeURIComponent(e.slice(0,-5))),a=t?.state;if(!t||!a?.cookies)continue;let i=!1,s=a.cookies.map(e=>{let t=r.get(h(e));return t&&JSON.stringify(t)!==JSON.stringify(e)?(i=!0,t):e});i&&await d({...t,state:{...a,cookies:s}})}}async function S(){let e=(0,r.join)(s.WORKSPACE,i.PATHS.bots);for(let a of(await (0,t.readdir)(e).catch(()=>[]))){let i=(0,r.join)(e,a,".auth");for(let e of(await (0,t.readdir)(i).catch(()=>[]))){if(!e.endsWith(".json"))continue;let s=(0,r.join)(i,e);try{let o=JSON.parse(await (0,t.readFile)(s,"utf8")),c=e.slice(0,-5),l=(await (0,t.readFile)((0,r.join)(i,"account.txt"),"utf8").catch(()=>"")).trim();await f({site:c,account:l,bot:a,state:o}),await (0,t.rm)(s),n.logger.info(`sign-ins: took in ${a}'s ${c}`)}catch(e){n.logger.warn(`sign-ins: could not take in ${s}`,e)}}}}e.s(["adoptKeptSessions",0,S,"borrowSignIn",0,w,"keepSignIn",0,f,"renewSignIns",0,m],379651)},871096,e=>{"use strict";var t=e.i(666680),r=e.i(902157),a=e.i(912714),i=e.i(660526),s=e.i(750227),n=e.i(333925),o=e.i(938281),c=e.i(874533),l=n;let u=new Set(["node_modules",".git",".next","dist","build",".venv","__pycache__",".turbo","coverage"]);async function*d(e){let t;try{t=await (0,a.readdir)(e,{withFileTypes:!0})}catch{return}for(let r of t){if(u.has(r.name)||r.name.startsWith("."))continue;let t=(0,s.join)(e,r.name);r.isDirectory()?yield*d(t):r.isFile()&&(yield t)}}async function p(e,t,r,i){if(e.length<=i.max)return e;let n=(0,s.join)(r,i.dir),o=(0,s.join)(n,`${new Date().toISOString().replace(/[:.]/g,"-")}-${t.replace(/[^a-zA-Z0-9_-]+/g,"_")}.txt`),c=o;try{await (0,a.mkdir)(n,{recursive:!0}),await (0,a.writeFile)(o,e),c=(0,s.relative)(r,o)||o}catch{c="(could not be written to a file)"}let l=(e.match(/\n/g)?.length??0)+1;return`${e.slice(0,i.head).trimEnd()}
5
+ ${e.path}`;async function m(e){let r,a=await (0,t.readdir)(l).catch(()=>[]);if(!a.some(e=>e.endsWith(".json")))return;let i=await (0,s.openWorkspace)(),n=(0,s.jobShellEnv)(e),{browsers:o}=JSON.parse((await i.exec("playwright-cli list --json",{env:n,timeoutMs:15e3})).stdout||"{}"),c=o?.find(e=>e.name===n.PLAYWRIGHT_CLI_SESSION);if(!c||c.attached)return;let p=`.playwright-cli/state-${crypto.randomUUID()}.json`;try{let e=await i.exec(`mkdir -p .playwright-cli && playwright-cli state-save ${p}`,{env:n,timeoutMs:3e4});if(0!==e.exitCode)return;let t=JSON.parse(await i.readFile(p,"utf-8"));r=new Map((t.cookies??[]).map(e=>[h(e),e]))}finally{await i.exec(`rm -f ${p}`)}for(let e of a){if(!e.endsWith(".json"))continue;let t=await u(decodeURIComponent(e.slice(0,-5))),a=t?.state;if(!t||!a?.cookies)continue;let i=!1,s=a.cookies.map(e=>{let t=r.get(h(e));return t&&JSON.stringify(t)!==JSON.stringify(e)?(i=!0,t):e});i&&await d({...t,state:{...a,cookies:s}})}}async function S(){let e=(0,r.join)(s.WORKSPACE,i.PATHS.bots);for(let a of(await (0,t.readdir)(e).catch(()=>[]))){let i=(0,r.join)(e,a,".auth");for(let e of(await (0,t.readdir)(i).catch(()=>[]))){if(!e.endsWith(".json"))continue;let s=(0,r.join)(i,e);try{let o=JSON.parse(await (0,t.readFile)(s,"utf8")),l=e.slice(0,-5),c=(await (0,t.readFile)((0,r.join)(i,"account.txt"),"utf8").catch(()=>"")).trim();await f({site:l,account:c,bot:a,state:o}),await (0,t.rm)(s),n.logger.info(`sign-ins: took in ${a}'s ${l}`)}catch(e){n.logger.warn(`sign-ins: could not take in ${s}`,e)}}}}e.s(["adoptKeptSessions",0,S,"borrowSignIn",0,w,"keepSignIn",0,f,"renewSignIns",0,m],379651)},871096,e=>{"use strict";var t=e.i(666680),r=e.i(902157),a=e.i(912714),i=e.i(660526),s=e.i(750227),n=e.i(333925),o=e.i(938281),l=e.i(874533),c=n;let u=new Set(["node_modules",".git",".next","dist","build",".venv","__pycache__",".turbo","coverage"]);async function*d(e){let t;try{t=await (0,a.readdir)(e,{withFileTypes:!0})}catch{return}for(let r of t){if(u.has(r.name)||r.name.startsWith("."))continue;let t=(0,s.join)(e,r.name);r.isDirectory()?yield*d(t):r.isFile()&&(yield t)}}async function p(e,t,r,i){if(e.length<=i.max)return e;let n=(0,s.join)(r,i.dir),o=(0,s.join)(n,`${new Date().toISOString().replace(/[:.]/g,"-")}-${t.replace(/[^a-zA-Z0-9_-]+/g,"_")}.txt`),l=o;try{await (0,a.mkdir)(n,{recursive:!0}),await (0,a.writeFile)(o,e),l=(0,s.relative)(r,o)||o}catch{l="(could not be written to a file)"}let c=(e.match(/\n/g)?.length??0)+1;return`${e.slice(0,i.head).trimEnd()}
6
6
 
7
- [${t} cut at ${i.max.toLocaleString("en")} chars — the whole thing (${l} lines) is at ${c}. Read the part you need with \`sed -n\`.]
7
+ [${t} cut at ${i.max.toLocaleString("en")} chars — the whole thing (${c} lines) is at ${l}. Read the part you need with \`sed -n\`.]
8
8
 
9
- ${e.slice(-i.tail).trimStart()}`}let f=n.APP_DIR,w=(0,s.join)(n.DATA_DIR,n.PATHS.workspace),h=(process.env.THURSDAY_TOOL_PATH?.split(":")??[(0,s.join)(f,"node_modules",".bin")]).filter(Boolean),m=(0,s.join)(w,n.PATHS.artifacts),S=[n.PATHS.artifacts,n.PATHS.projects,n.PATHS.scratch,n.PATHS.bots],T=new Set([...S,".agents"]),_=(e,t)=>t===e||t.startsWith(e+s.sep),y=e=>(0,a.realpath)(e).catch(()=>null);async function E(e){let t=await y(w)??w,r=(0,s.resolve)(w,e);if(!_(w,r))return null;let a=r,i=await y(a);for(;null===i&&(0,s.dirname)(a)!==a;)a=(0,s.dirname)(a),i=await y(a);if(null===i)return null;let n=(0,s.relative)(a,r),o=n?(0,s.join)(i,n):i;return _(t,o)?o:null}function g(e,t){let r=t.trim().toLowerCase().replace(/[^\p{L}\p{N}]+/gu,"-").replace(/^-+|-+$/g,"").slice(0,40)||"job";return`${n.PATHS.scratch}/${r}-${e.slice(0,6)}`}let A=e=>`${n.PATHS.bots}/${e.replace(/[^\p{L}\p{N}_-]+/gu,"-")}`,I=e=>`${n.PATHS.artifacts}/${e.replace(/[^\p{L}\p{N}_-]+/gu,"-")}`;async function O(e){let t=A(e),r=I(e);return await Promise.all([t,r].map(e=>(0,a.mkdir)((0,s.join)(w,e),{recursive:!0}))),{own:t,artifacts:r}}async function R(e,t){let r=g(e,t);return await (0,a.mkdir)((0,s.join)(w,r),{recursive:!0}),r}let P=e=>({PLAYWRIGHT_MCP_BROWSER:"chromium",...e?{PLAYWRIGHT_CLI_SESSION:`thread-${e}`,PLAYWRIGHT_MCP_VIEWPORT_SIZE:n.BROWSER_VIEWPORT}:{}}),M=null,k={runtimes:["node","python3","uv","bun","deno"],managers:["pnpm","npm","yarn"]};async function v(e){let t=Object.values(k).flat(),{stdout:r}=await e.exec(t.map(e=>`command -v ${e} >/dev/null 2>&1 && printf '%s ' ${e}`).join("; "),{timeoutMs:1e4}),a=new Set(r.trim().split(/\s+/).filter(Boolean)),i=e=>({found:e.filter(e=>a.has(e)),missing:e.filter(e=>!a.has(e))});return{runtimes:i(k.runtimes),managers:i(k.managers),browser:M}}async function b(){if(process.env.THURSDAY_SKIP_BROWSER)return;let e=await G(),t=await e.exec("playwright-cli install-browser chromium").catch(e=>({exitCode:1,stderr:String(e)}));(M=0===t.exitCode)||o.logger.warn(`no browser — bots cannot open a page until \`playwright-cli install-browser chromium\` succeeds: ${t.stderr.trim().split("\n").at(-1)??""}`)}async function $(){await N(),await W()}async function C(e){await H(e,await j(e,!1))}async function x(e){await j(e,!0)}async function L(e){await H(e,await j(e,!0))}async function H(e,r){let n=process.env.XDG_CACHE_HOME||(0,s.join)((0,i.homedir)(),".cache"),c=await (0,a.realpath)(w).catch(()=>w),l=(0,s.join)(n,"ms-playwright","daemon",(0,t.createHash)("sha1").update(c).digest("hex").slice(0,16)),u=P(e).PLAYWRIGHT_CLI_SESSION;for(let e of(await (0,a.readdir)(l).catch(()=>[]))){let t=e.startsWith("ud-")?e.slice(3):e;(t===u||t.startsWith(`${u}-`)||t.startsWith(`${u}.`))&&(r.some(e=>t===e||t.startsWith(`${e}-`)||t.startsWith(`${e}.`))||await (0,a.rm)((0,s.join)(l,e),{recursive:!0,force:!0}).catch(t=>o.logger.warn(`browser data ${e}: ${String(t)}`)))}}async function j(e,t){let r=await G(),a=P(e),i=await r.exec("playwright-cli list --json",{env:a,timeoutMs:15e3}).catch(()=>null),s=[];try{let{browsers:e}=JSON.parse(i?.stdout??"");s=e?.filter(e=>e.name===a.PLAYWRIGHT_CLI_SESSION||e.name.startsWith(`${a.PLAYWRIGHT_CLI_SESSION}-`))??[]}catch{}let n=[];for(let e of s){if(e.attached||!t&&!1!==e.headed){n.push(e.name);continue}await r.exec("playwright-cli close",{env:{...a,PLAYWRIGHT_CLI_SESSION:e.name},timeoutMs:15e3}).catch(()=>{})}return await $(),n}let W=()=>D(n.PATHS.output),N=()=>D(".playwright-cli");async function D(e){let t=(0,s.join)(w,e),r=await (0,a.readdir)(t,{withFileTypes:!0}).catch(()=>[]),i=Date.now()-n.WORKSPACE_KEEP.forMs;for(let e of r){if(!e.isFile())continue;let r=(0,s.join)(t,e.name),n=await (0,a.stat)(r).catch(()=>null);n&&n.mtimeMs<i&&await (0,a.unlink)(r).catch(()=>{})}}async function U(){return(await (0,a.readdir)((0,s.join)(w,n.PATHS.scratch),{withFileTypes:!0}).catch(()=>[])).filter(e=>e.isDirectory()).map(e=>`${n.PATHS.scratch}/${e.name}`)}async function F(e){let t=Date.now()-n.WORKSPACE_KEEP.forMs,r=[];for(let i of e){let e=(0,s.join)(w,i),n=await (0,a.stat)(e).catch(()=>null);n?.isDirectory()&&!(n.mtimeMs>=t)&&(await (0,a.rm)(e,{recursive:!0,force:!0}).catch(()=>{}),r.push(i))}return r}let B={"pnpm-workspace.yaml":"packages:\n - '**'\n",".npmrc":"recursive-install=false\n"};async function G(){for(let e of[...S,".playwright"])await (0,a.mkdir)((0,s.join)(w,e),{recursive:!0});for(let[e,t]of Object.entries(B))await (0,a.writeFile)((0,s.join)(w,e),t,{flag:"wx"}).catch(()=>{});return(({workingDirectory:e,spill:t,toolPath:r})=>{let i=(0,s.resolve)(e),n=(r??[]).filter(Boolean).join(":"),o=e=>e.startsWith("/")||/^[A-Za-z]:/.test(e)?e:(0,s.resolve)(i,e);return{cwd:i,resolve:o,readFile:(e,t)=>(0,a.readFile)(o(e),t),async writeFile(e,t){let r=o(e);await (0,a.mkdir)((0,s.join)(r,".."),{recursive:!0}),await (0,a.writeFile)(r,t)},readdir:(e,t)=>(0,a.readdir)(o(e),t),fold:(e,r="output")=>p(e,r,i,t),async glob(e,{path:t=".",limit:r=200}={}){let a=o(t),i=RegExp("^"+e.replace(/[.+^${}()|[\]\\]/g,"\\$&").replace(/\*\*\//g,"(?:.*/)?").replace(/\*/g,"[^/]*").replace(/\?/g,"[^/]")+"$"),n=[];for await(let e of d(a)){let t=(0,s.relative)(a,e).split(s.sep).join("/");if((i.test(t)||i.test(e))&&n.push(e),n.length>=r)break}return n},exec:(e,{cwd:r,timeoutMs:a=l.EXEC_TIMEOUT_MS,signal:s,env:u}={})=>new Promise(d=>{let f,w,h=function(){let e={...process.env};for(let t of Object.keys(e))/KEY|TOKEN|SECRET|PASSWORD|CREDENTIAL|_AUTH/i.test(t)&&delete e[t];return e.TERM="dumb",e.PAGER="cat",e.GIT_PAGER="cat",e}();n&&(h.PATH=`${h.PATH??""}:${n}`);let m=(0,c.spawn)(e,{shell:!0,cwd:r?o(r):i,env:{...h,...u},detached:!0}),S="",T="";m.stdout?.on("data",e=>S+=e),m.stderr?.on("data",e=>T+=e);let _=e=>{try{m.pid&&process.kill(-m.pid,e)}catch{m.kill(e)}},y=!1,E=async e=>{y||(y=!0,clearTimeout(A),clearTimeout(f),clearTimeout(w),s?.removeEventListener("abort",I),d({...e,stdout:await p(e.stdout,"stdout",i,t),stderr:await p(e.stderr,"stderr",i,t)}))},g=e=>{f||y||(T+=`
10
- [${e}]`,_("SIGTERM"),f=setTimeout(()=>{T+="\n[Killed: it did not exit on SIGTERM]",_("SIGKILL"),w=setTimeout(()=>{m.stdout?.destroy(),m.stderr?.destroy(),E({stdout:S,stderr:T,exitCode:-1})},1e3)},l.EXEC_KILL_GRACE_MS))},A=setTimeout(()=>g(`Timed out after ${a}ms`),a),I=()=>g("Aborted");s?.aborted?I():s?.addEventListener("abort",I,{once:!0}),m.on("close",e=>E({stdout:S,stderr:T,exitCode:e??-1})),m.on("error",e=>E({stdout:S,stderr:T+String(e),exitCode:-1}))})}})({workingDirectory:w,spill:{dir:n.PATHS.output,...n.TOOL_OUTPUT},toolPath:h})}async function Y(e,t){let r=e.map(e=>(0,s.resolve)(w,e));if(t){let e=0;for await(let a of d((0,s.join)(w,t)))if(r.push(a),(e+=1)>=500)break}let i=new Map;for(let e of r){let t=await (0,a.stat)(e).catch(()=>null);if(!t?.isFile())continue;let r=(0,s.relative)(w,e);i.set(r&&!r.startsWith("..")?r:e,t.mtimeMs)}return[...i].sort((e,t)=>e[1]-t[1]).map(([e])=>e)}async function K(e,t){await (0,a.rm)((0,s.join)(w,g(e,t)),{recursive:!0,force:!0}).catch(()=>{})}e.s(["WORKSPACE",0,w,"botArtifacts",0,I,"botBrowserSession",0,(e,r)=>`${e}-bot-${(0,t.createHash)("sha256").update(r.trim().toLowerCase()).digest("hex").slice(0,20)}`,"botFolder",0,A,"botShellEnv",0,e=>({THURSDAY_ARTIFACTS:I(e),THURSDAY_SKILLS:(0,s.join)(n.APP_DIR,n.PATHS.skills.default)}),"closeHiddenBrowser",0,C,"closeJobShell",0,x,"ensureBrowser",0,b,"filesOnDisk",0,Y,"insideWorkspace",0,E,"jobScratch",0,g,"jobShellEnv",0,P,"listScratchFolders",0,U,"openBotFolders",0,O,"openJobScratch",0,R,"openWorkspace",0,G,"pruneJobFiles",0,$,"readMachineTools",0,v,"removeJobBrowsers",0,L,"removeJobScratch",0,K,"removeUnchangedFolders",0,F,"writeRefusal",0,function(e,t){if(_(w,e)){let a=(0,s.relative)(w,e),[i,o]=a.split(s.sep);return i&&T.has(i)?t&&i===n.PATHS.artifacts&&o&&o.toLowerCase()!==t.replace(/[^\p{L}\p{N}_-]+/gu,"-").toLowerCase()&&!(0,r.existsSync)((0,s.join)(m,o))?`Not written: ${a} would sit loose at the top of ${n.PATHS.artifacts}/. Your finished work goes in ${I(t)}/.`:null:`Not written: ${a||"the workspace root"} is outside the workspace's folders. Finished work goes under ${t?I(t):n.PATHS.artifacts}/, code under ${n.PATHS.projects}/, your own kit under ${n.PATHS.bots}/, and this job's working material under ${n.PATHS.scratch}/.`}return _(f,e)?`Not written: ${e} is inside the app that is running you, not the user's files. Work in ${w}; outside it, write only where the user pointed you.`:null}],871096)}];
9
+ ${e.slice(-i.tail).trimStart()}`}let f=n.APP_DIR,w=(0,s.join)(n.DATA_DIR,n.PATHS.workspace),h=(process.env.THURSDAY_TOOL_PATH?.split(":")??[(0,s.join)(f,"node_modules",".bin")]).filter(Boolean),m=(0,s.join)(w,n.PATHS.artifacts),S=[n.PATHS.artifacts,n.PATHS.projects,n.PATHS.scratch,n.PATHS.bots],T=new Set([...S,".agents"]),_=(e,t)=>t===e||t.startsWith(e+s.sep),y=e=>(0,a.realpath)(e).catch(()=>null);async function E(e){let t=await y(w)??w,r=(0,s.resolve)(w,e);if(!_(w,r))return null;let a=r,i=await y(a);for(;null===i&&(0,s.dirname)(a)!==a;)a=(0,s.dirname)(a),i=await y(a);if(null===i)return null;let n=(0,s.relative)(a,r),o=n?(0,s.join)(i,n):i;return _(t,o)?o:null}function g(e,t){let r=t.trim().toLowerCase().replace(/[^\p{L}\p{N}]+/gu,"-").replace(/^-+|-+$/g,"").slice(0,40)||"job";return`${n.PATHS.scratch}/${r}-${e.slice(0,6)}`}let A=e=>`${n.PATHS.bots}/${e.replace(/[^\p{L}\p{N}_-]+/gu,"-")}`,I=e=>`${n.PATHS.artifacts}/${e.replace(/[^\p{L}\p{N}_-]+/gu,"-")}`;async function O(e){let t=A(e),r=I(e);return await Promise.all([t,r].map(e=>(0,a.mkdir)((0,s.join)(w,e),{recursive:!0}))),{own:t,artifacts:r}}async function R(e,t){let r=g(e,t);return await (0,a.mkdir)((0,s.join)(w,r),{recursive:!0}),r}let P=e=>({PLAYWRIGHT_MCP_BROWSER:"chromium",...e?{PLAYWRIGHT_CLI_SESSION:`thread-${e}`,PLAYWRIGHT_MCP_VIEWPORT_SIZE:n.BROWSER_VIEWPORT}:{}}),M=null,k={runtimes:["node","python3","uv","bun","deno"],managers:["pnpm","npm","yarn"]};async function v(e){let t=Object.values(k).flat(),{stdout:r}=await e.exec(t.map(e=>`command -v ${e} >/dev/null 2>&1 && printf '%s ' ${e}`).join("; "),{timeoutMs:1e4}),a=new Set(r.trim().split(/\s+/).filter(Boolean)),i=e=>({found:e.filter(e=>a.has(e)),missing:e.filter(e=>!a.has(e))});return{runtimes:i(k.runtimes),managers:i(k.managers),browser:M}}async function $(){if(process.env.THURSDAY_SKIP_BROWSER)return;let e=await G(),t=await e.exec("playwright-cli install-browser chromium").catch(e=>({exitCode:1,stderr:String(e)}));(M=0===t.exitCode)||o.logger.warn(`no browser — bots cannot open a page until \`playwright-cli install-browser chromium\` succeeds: ${t.stderr.trim().split("\n").at(-1)??""}`)}async function b(){await N(),await W()}async function C(e){await H(e,await j(e,!1))}async function x(e){await j(e,!0)}async function L(e){await H(e,await j(e,!0))}async function H(e,r){let n=process.env.XDG_CACHE_HOME||(0,s.join)((0,i.homedir)(),".cache"),l=await (0,a.realpath)(w).catch(()=>w),c=(0,s.join)(n,"ms-playwright","daemon",(0,t.createHash)("sha1").update(l).digest("hex").slice(0,16)),u=P(e).PLAYWRIGHT_CLI_SESSION;for(let e of(await (0,a.readdir)(c).catch(()=>[]))){let t=e.startsWith("ud-")?e.slice(3):e;(t===u||t.startsWith(`${u}-`)||t.startsWith(`${u}.`))&&(r.some(e=>t===e||t.startsWith(`${e}-`)||t.startsWith(`${e}.`))||await (0,a.rm)((0,s.join)(c,e),{recursive:!0,force:!0}).catch(t=>o.logger.warn(`browser data ${e}: ${String(t)}`)))}}async function j(e,t){let r=await G(),a=P(e),i=await r.exec("playwright-cli list --json",{env:a,timeoutMs:15e3}).catch(()=>null),s=[];try{let{browsers:e}=JSON.parse(i?.stdout??"");s=e?.filter(e=>e.name===a.PLAYWRIGHT_CLI_SESSION||e.name.startsWith(`${a.PLAYWRIGHT_CLI_SESSION}-`))??[]}catch{}let n=[];for(let e of s){if(e.attached||!t&&!1!==e.headed){n.push(e.name);continue}await r.exec("playwright-cli close",{env:{...a,PLAYWRIGHT_CLI_SESSION:e.name},timeoutMs:15e3}).catch(()=>{})}return await b(),n}let W=()=>D(n.PATHS.output),N=()=>D(".playwright-cli");async function D(e){let t=(0,s.join)(w,e),r=await (0,a.readdir)(t,{withFileTypes:!0}).catch(()=>[]),i=Date.now()-n.WORKSPACE_KEEP.forMs;for(let e of r){if(!e.isFile())continue;let r=(0,s.join)(t,e.name),n=await (0,a.stat)(r).catch(()=>null);n&&n.mtimeMs<i&&await (0,a.unlink)(r).catch(()=>{})}}async function F(){return(await (0,a.readdir)((0,s.join)(w,n.PATHS.scratch),{withFileTypes:!0}).catch(()=>[])).filter(e=>e.isDirectory()).map(e=>`${n.PATHS.scratch}/${e.name}`)}async function U(e){let t=Date.now()-n.WORKSPACE_KEEP.forMs,r=[];for(let i of e){let e=(0,s.join)(w,i),n=await (0,a.stat)(e).catch(()=>null);n?.isDirectory()&&!(n.mtimeMs>=t)&&(await (0,a.rm)(e,{recursive:!0,force:!0}).catch(()=>{}),r.push(i))}return r}let B={"pnpm-workspace.yaml":"packages:\n - '**'\n",".npmrc":"recursive-install=false\n"};async function G(){for(let e of[...S,".playwright"])await (0,a.mkdir)((0,s.join)(w,e),{recursive:!0});for(let[e,t]of Object.entries(B))await (0,a.writeFile)((0,s.join)(w,e),t,{flag:"wx"}).catch(()=>{});return(({workingDirectory:e,spill:t,toolPath:r})=>{let i=(0,s.resolve)(e),n=(r??[]).filter(Boolean).join(":"),o=e=>e.startsWith("/")||/^[A-Za-z]:/.test(e)?e:(0,s.resolve)(i,e);return{cwd:i,resolve:o,readFile:(e,t)=>(0,a.readFile)(o(e),t),async writeFile(e,t){let r=o(e);await (0,a.mkdir)((0,s.join)(r,".."),{recursive:!0}),await (0,a.writeFile)(r,t)},readdir:(e,t)=>(0,a.readdir)(o(e),t),fold:(e,r="output")=>p(e,r,i,t),async glob(e,{path:t=".",limit:r=200}={}){let a=o(t),i=RegExp("^"+e.replace(/[.+^${}()|[\]\\]/g,"\\$&").replace(/\*\*\//g,"(?:.*/)?").replace(/\*/g,"[^/]*").replace(/\?/g,"[^/]")+"$"),n=[];for await(let e of d(a)){let t=(0,s.relative)(a,e).split(s.sep).join("/");if((i.test(t)||i.test(e))&&n.push(e),n.length>=r)break}return n},exec:(e,{cwd:r,timeoutMs:a=c.EXEC_TIMEOUT_MS,signal:s,env:u}={})=>new Promise(d=>{let f,w,h=function(){let e={...process.env};for(let t of Object.keys(e))/KEY|TOKEN|SECRET|PASSWORD|CREDENTIAL|_AUTH/i.test(t)&&delete e[t];return e.TERM="dumb",e.PAGER="cat",e.GIT_PAGER="cat",e}();n&&(h.PATH=`${h.PATH??""}:${n}`);let m=(0,l.spawn)(e,{shell:!0,cwd:r?o(r):i,env:{...h,...u},detached:!0}),S="",T="";m.stdout?.on("data",e=>S+=e),m.stderr?.on("data",e=>T+=e);let _=e=>{try{m.pid&&process.kill(-m.pid,e)}catch{m.kill(e)}},y=!1,E=async e=>{y||(y=!0,clearTimeout(A),clearTimeout(f),clearTimeout(w),s?.removeEventListener("abort",I),d({...e,stdout:await p(e.stdout,"stdout",i,t),stderr:await p(e.stderr,"stderr",i,t)}))},g=e=>{f||y||(T+=`
10
+ [${e}]`,_("SIGTERM"),f=setTimeout(()=>{T+="\n[Killed: it did not exit on SIGTERM]",_("SIGKILL"),w=setTimeout(()=>{m.stdout?.destroy(),m.stderr?.destroy(),E({stdout:S,stderr:T,exitCode:-1})},1e3)},c.EXEC_KILL_GRACE_MS))},A=setTimeout(()=>g(`Timed out after ${a}ms`),a),I=()=>g("Aborted");s?.aborted?I():s?.addEventListener("abort",I,{once:!0}),m.on("close",e=>E({stdout:S,stderr:T,exitCode:e??-1})),m.on("error",e=>E({stdout:S,stderr:T+String(e),exitCode:-1}))})}})({workingDirectory:w,spill:{dir:n.PATHS.output,...n.TOOL_OUTPUT},toolPath:h})}async function Y(e,t){let r=e.map(e=>(0,s.resolve)(w,e));if(t){let e=0;for await(let a of d((0,s.join)(w,t)))if(r.push(a),(e+=1)>=500)break}let i=new Map;for(let e of r){let t=await (0,a.stat)(e).catch(()=>null);if(!t?.isFile())continue;let r=(0,s.relative)(w,e);i.set(r&&!r.startsWith("..")?r:e,t.mtimeMs)}return[...i].sort((e,t)=>e[1]-t[1]).map(([e])=>e)}async function K(e,t){await (0,a.rm)((0,s.join)(w,g(e,t)),{recursive:!0,force:!0}).catch(()=>{})}e.s(["WORKSPACE",0,w,"botArtifacts",0,I,"botBrowserSession",0,(e,r)=>`${e}-bot-${(0,t.createHash)("sha256").update(r.trim().toLowerCase()).digest("hex").slice(0,20)}`,"botFolder",0,A,"botShellEnv",0,e=>({THURSDAY_ARTIFACTS:I(e),THURSDAY_SKILLS:(0,s.join)(n.APP_DIR,n.PATHS.skills.default)}),"closeHiddenBrowser",0,C,"closeJobShell",0,x,"ensureBrowser",0,$,"filesOnDisk",0,Y,"insideWorkspace",0,E,"jobScratch",0,g,"jobShellEnv",0,P,"listScratchFolders",0,F,"openBotFolders",0,O,"openJobScratch",0,R,"openWorkspace",0,G,"pruneJobFiles",0,b,"readMachineTools",0,v,"removeJobBrowsers",0,L,"removeJobScratch",0,K,"removeUnchangedFolders",0,U,"writeRefusal",0,function(e,t){if(_(w,e)){let a=(0,s.relative)(w,e),[i,o]=a.split(s.sep);return i&&T.has(i)?t&&i===n.PATHS.artifacts&&o&&o.toLowerCase()!==t.replace(/[^\p{L}\p{N}_-]+/gu,"-").toLowerCase()&&!(0,r.existsSync)((0,s.join)(m,o))?`Not written: ${a} would sit loose at the top of ${n.PATHS.artifacts}/. Your finished work goes in ${I(t)}/.`:null:`Not written: ${a||"the workspace root"} is outside the workspace's folders. Finished work goes under ${t?I(t):n.PATHS.artifacts}/, code under ${n.PATHS.projects}/, your own kit under ${n.PATHS.bots}/, and this job's working material under ${n.PATHS.scratch}/.`}return _(f,e)?`Not written: ${e} is inside the app that is running you, not the user's files. Work in ${w}; outside it, write only where the user pointed you.`:null}],871096)}];
11
11
 
12
12
  //# sourceMappingURL=%5Broot-of-the-server%5D__0209ah4._.js.map
@@ -1,5 +1,5 @@
1
1
  module.exports=[522734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},666680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},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"))},380690,e=>{"use strict";let t,r,n,o,i,a;var s,l=e.i(687388),c=e.i(640911);let u={threads:!0,routines:!0,memory:!0,mcp:!0,config:!0,reach:!0,signins:!0},p=globalThis,d=p.__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)})}),f=p.__presence??=(s=l.BROWSER_GONE_MS,r=!1,n=null,o=new Set,i=new Set,a=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){n&&clearTimeout(n),n=null,r||(r=!0,a(i));return}!n&&r&&(n=setTimeout(()=>{n=null,r=!1,a(o)},s))},onGone:e=>(o.add(e),()=>o.delete(e)),onBack:e=>(i.add(e),()=>i.delete(e))}),h=p.__appEventStream??=function(e,t={}){let r=new TextEncoder,n=t.heartbeatMs??2e4,o=0;return{respond:(i,a)=>{let s=()=>{};return new Response(new ReadableStream({async start(l){let u=!1,p=new Map,d=[],f=e=>{if(!u)try{l.enqueue(r.encode(e))}catch{s()}},h=e=>f(`data: ${JSON.stringify(e)}
2
2
 
3
- `),y=e=>{let r=t.coalesce?.keyOf(e)??null;if(null===r)return h(e);let n=p.get(r);n&&clearTimeout(n),p.set(r,setTimeout(()=>{p.delete(r),h(e)},t.coalesce?.ms))},m=e.subscribe(e=>d?d.push(e):y(e)),O=setInterval(()=>f(": ping\n\n"),n);o+=1,t.onWatchers?.(o),s=()=>{if(!u){for(let e of(u=!0,o-=1,t.onWatchers?.(o),m(),clearInterval(O),p.values()))clearTimeout(e);try{l.close()}catch{}}},i.addEventListener("abort",s);try{for(let e of await a?.()??[])h(e)}catch(e){c.logger.error("event stream opening failed",e),s();return}let b=d;for(let e of(d=null,b))y(e)},cancel(){s()}}),{headers:{"Content-Type":"text/event-stream; charset=utf-8","Cache-Control":"no-store","X-Accel-Buffering":"no"}})},get watchers(){return o}}}(d,{coalesce:{ms:150,keyOf:e=>e.type in u?e.type:null},onWatchers:f.track}),y=p.__bootId??=crypto.randomUUID();e.s(["BOOT_ID",0,y,"appEventStream",0,h,"appEvents",0,d,"presence",0,f],380690)},911757,e=>{"use strict";var t=e.i(469719),r=e.i(514499),n=e.i(904309),o=e.i(264079);let i={id:"openai",label:"OpenAI",apiKeyName:o.TEXT_MODEL_PROVIDERS.openai.apiKeyName};o.TEXT_MODEL_PROVIDERS.openai.suggestModels;let a=t.z.string().max(r.COMMON_VALIDATE.prompt.max).default(""),s=t.z.object({voice:t.z.string().trim().min(1).max(128).default("marin"),voicePrompt:a,backendModel:t.z.string().trim().min(1).max(128).default(n.LIVE_BACKEND_MODEL),backendPrompt:a,reasoningEffort:t.z.enum(["none","minimal","low","medium","high","xhigh"]).nullable().default("low"),webSearch:t.z.boolean().default(!0)});s.parse({}),e.s(["LIVE_PROVIDER",0,i,"LiveSettingsSchema",0,s])},279041,e=>{"use strict";var t=e.i(911757),r=e.i(264079),n=e.i(834332);let o=[t.LIVE_PROVIDER.apiKeyName],i={image:"IMAGE_MODEL",video:"VIDEO_MODEL",speech:"SPEECH_MODEL",transcription:"TRANSCRIPTION_MODEL"},a={image:{label:"Image model",hint:"What bots draw with"},video:{label:"Video model",hint:"What bots film with — minutes a clip"},speech:{label:"Speech model",hint:"What reads text aloud into a file"},transcription:{label:"Transcription model",hint:"What turns a recording into text"}},s="EXA_API_KEY",l="DEFAULT_MODEL",c={key:l,label:"Default model",hint:"What a bot thinks with until it picks its own",text:!0,choices:r.TEXT_MODEL_PROVIDER_LIST.flatMap(e=>e.suggestModels.map(t=>({value:`${e.id}/${t.id}`,label:`${e.label} \xb7 ${t.label}`,needs:e.apiKeyName})))},u=e=>o.includes(e.apiKeyName),p=e=>!!e.signIn||"vercel-ai-gateway"===e.id,d=e=>({key:e.apiKeyName,label:e.label,provider:e.id,signIn:e.signIn,keysAt:e.keysAt,keyLooks:e.keyLooks}),f=[{id:"voice",title:"voice",hint:"calls run on this key",section:"keys",require:"any",note:"required for calls",entries:r.TEXT_MODEL_PROVIDER_LIST.filter(u).map(d)},{id:"easy",title:"the easy ways",hint:"one sign-in or one key opens every bot",section:"keys",require:"none",entries:r.TEXT_MODEL_PROVIDER_LIST.filter(p).map(e=>({...d(e),..."vercel-ai-gateway"===e.id&&{recommended:!0}}))},{id:"text",title:"or a provider's own key",hint:"what bots think with — add any, or none",section:"keys",require:"none",entries:r.TEXT_MODEL_PROVIDER_LIST.filter(e=>!u(e)&&!p(e)).map(d)},{id:"search",title:"search",hint:"how calls and bots look things up — one key, or their own model's",section:"keys",require:"none",entries:[{key:s,label:"Exa",hint:"web search in one call — dashboard.exa.ai",site:"exa.ai",keysAt:"https://dashboard.exa.ai/api-keys"}]},{id:"phone",title:"phone",hint:"write to Thursday from a chat app — nothing is opened to the outside",section:"keys",require:"none",entries:[{key:n.TELEGRAM_TOKEN_KEY,label:"Telegram",site:"telegram.org",hint:"a bot token from @BotFather — then write to your bot, and allow it here"},{key:n.DISCORD_TOKEN_KEY,label:"Discord",site:"discord.com",hint:"a bot token from discord.com/developers — add the bot to a server of yours, then write to it directly"},{key:n.SLACK_APP_TOKEN_KEY,label:"Slack · app token",site:"slack.com",hint:"starts with xapp- — opens the connection. Slack takes this and the bot token"},{key:n.SLACK_BOT_TOKEN_KEY,label:"Slack · bot token",site:"slack.com",hint:"starts with xoxb- — speaks as the app"}]},{id:"bots",title:"Bots",hint:"what a bot runs on when it has not picked its own — start small: a small model is quick and costs little",section:"models",require:"none",entries:[c]},{id:"studio",title:"Studio",hint:"what a bot draws, films and speaks with — off until you pick one",section:"models",require:"none",entries:Object.keys(i).map(e=>({key:i[e],...a[e],kind:e,choices:r.MEDIA_MODEL_PROVIDER_LIST.flatMap(t=>t.models[e].map(e=>({value:`${t.id}/${e.id}`,label:`${t.label} \xb7 ${e.label}`,needs:t.apiKeyName})))}))}];Object.fromEntries(f.flatMap(e=>e.entries).map(e=>[e.key,e]));let h=f.flatMap(e=>e.entries.map(e=>e.key)),y=Object.fromEntries(f.flatMap(e=>e.entries).filter(e=>e.choices?.length).map(e=>[e.key,e.choices]));e.s(["CONFIG_CHOICES",0,y,"CONFIG_KEYS",0,h,"DEFAULT_MODEL_KEY",0,l,"EXA_API_KEY",0,s,"MEDIA_MODEL_KEYS",0,i])},340698,e=>e.a(async(t,r)=>{try{var n=e.i(875225),o=e.i(528790),i=e.i(613240);e.i(279041);var a=t([o]);async function s(e){let t=process.env[e]?.trim();if(t)return t;let[r]=await o.database.select({value:i.configTable.value}).from(i.configTable).where((0,n.eq)(i.configTable.key,e));return r?.value.trim()||void 0}async function l(e,t){await o.database.insert(i.configTable).values({key:e,value:t}).onConflictDoUpdate({target:i.configTable.key,set:{value:t}})}[o]=a.then?(await a)():a,e.s(["readConfig",0,s,"writeConfig",0,l]),r()}catch(e){r(e)}},!1),834332,e=>{"use strict";let t="TELEGRAM_BOT_TOKEN",r="DISCORD_BOT_TOKEN",n="SLACK_APP_TOKEN",o="SLACK_BOT_TOKEN";e.s(["DISCORD_TOKEN_KEY",0,r,"REACH_CHANNELS",0,["telegram","discord","slack"],"REACH_KEYS",0,{telegram:[t],discord:[r],slack:[n,o]},"SLACK_APP_TOKEN_KEY",0,n,"SLACK_BOT_TOKEN_KEY",0,o,"TELEGRAM_TOKEN_KEY",0,t,"reachPersonKey",0,e=>`REACH_PERSON_${e.toUpperCase()}`])},904309,e=>{"use strict";var t=e.i(469719);let r=t.z.object({start:t.z.number().nonnegative(),end:t.z.number().nonnegative(),text:t.z.string()});t.z.object({reason:t.z.string().max(128),seconds:t.z.number().nonnegative().nullable()}),e.s(["LIVE_BACKEND_MODEL",0,"gpt-5.6-luna","LiveFragmentSchema",0,r])},268486,e=>{"use strict";var t=e.i(41444);e.s(["createKeyedLock",0,function(){let e=new Map,r=new Map;return function(n,o){let i=e.get(n);i||(i=(0,t.PromiseChain)(),e.set(n,i)),r.set(n,(r.get(n)??0)+1);let a=()=>{let t=(r.get(n)??1)-1;t>0?r.set(n,t):(r.delete(n),e.delete(n))};return i(o).then(e=>(a(),e),e=>{throw a(),e})}}])},78997,(e,t,r)=>{"use strict";var n=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=i(t,s))||n.enumerable});return e},u=(e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),p={},d={isValidAccessToken:()=>k,readAuthConfig:()=>b,writeAuthConfig:()=>g};for(var f in d)o(p,f,{get:d[f],enumerable:!0});t.exports=c(o({},"__esModule",{value:!0}),p);var h=u(e.r(522734)),y=u(e.r(814747)),m=e.r(783697);function O(){let e=(0,m.getVercelDataDir)();if(!e)throw Error(`Unable to find Vercel CLI data directory. Your platform: ${process.platform}. Supported: darwin, linux, win32.`);return y.join(e,"auth.json")}function b(){try{let e=O();if(!h.existsSync(e))return null;let t=h.readFileSync(e,"utf8");if(!t)return null;return JSON.parse(t)}catch(e){return null}}function g(e){let t=O(),r=y.dirname(t);h.existsSync(r)||h.mkdirSync(r,{mode:504,recursive:!0}),h.writeFileSync(t,JSON.stringify(e,null,2),{mode:384})}function k(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 n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s={},l={AccessTokenMissingError:()=>u,RefreshAccessTokenFailedError:()=>p};for(var c in l)n(s,c,{get:l[c],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))a.call(e,s)||void 0===s||n(e,s,{get:()=>t[s],enumerable:!(r=o(t,s))||r.enumerable});return e})(n({},"__esModule",{value:!0}),s);class u extends Error{constructor(){super("No authentication found. Please log in with the Vercel CLI (vercel login)."),this.name="AccessTokenMissingError"}}class p extends Error{constructor(e){super("Failed to refresh authentication token.",{cause:e}),this.name="RefreshAccessTokenFailedError"}}},394853,(e,t,r)=>{"use strict";var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s={},l={processTokenResponse:()=>y,refreshTokenRequest:()=>h};for(var c in l)n(s,c,{get:l[c],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))a.call(e,s)||void 0===s||n(e,s,{get:()=>t[s],enumerable:!(r=o(t,s))||r.enumerable});return e})(n({},"__esModule",{value:!0}),s);var u=e.r(446786);let p=`@vercel/oidc node-${process.version} ${(0,u.platform)()} (${(0,u.arch)()}) ${(0,u.hostname)()}`,d=null;async function f(){if(d)return d;let e=await fetch("https://vercel.com/.well-known/openid-configuration",{headers:{"user-agent":p}});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 d=r,r}async function h(e){let t=await f();return await fetch(t,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded","user-agent":p},body:new URLSearchParams({client_id:"cl_HYyOPBNtFMfHhaUn9L4QPfTZz6TP47bp",grant_type:"refresh_token",...e})})}async function y(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 n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s={},l={VercelOidcTokenError:()=>u};for(var c in l)n(s,c,{get:l[c],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))a.call(e,s)||void 0===s||n(e,s,{get:()=>t[s],enumerable:!(r=o(t,s))||r.enumerable});return e})(n({},"__esModule",{value:!0}),s);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 n=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=i(t,s))||n.enumerable});return e},u=(e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),p={},d={findRootDir:()=>b,getUserDataDir:()=>g};for(var f in d)o(p,f,{get:d[f],enumerable:!0});t.exports=c(o({},"__esModule",{value:!0}),p);var h=u(e.r(814747)),y=u(e.r(522734)),m=u(e.r(446786)),O=e.r(484199);function b(){try{let e=process.cwd();for(;e!==h.default.dirname(e);){let t=h.default.join(e,".vercel");if(y.default.existsSync(t))return e;e=h.default.dirname(e)}}catch(e){throw new O.VercelOidcTokenError("Token refresh only supported in node server environments")}return null}function g(){if(process.env.XDG_DATA_HOME)return process.env.XDG_DATA_HOME;switch(m.default.platform()){case"darwin":return h.default.join(m.default.homedir(),"Library/Application Support");case"linux":return h.default.join(m.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 n=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=i(t,s))||n.enumerable});return e},u=(e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),p={},d={assertVercelOidcTokenResponse:()=>v,findProjectInfo:()=>T,getTokenPayload:()=>A,getVercelDataDir:()=>E,getVercelOidcToken:()=>_,getVercelToken:()=>w,isExpired:()=>P,loadToken:()=>j,saveToken:()=>D};for(var f in d)o(p,f,{get:d[f],enumerable:!0});t.exports=c(o({},"__esModule",{value:!0}),p);var h=u(e.r(814747)),y=u(e.r(522734)),m=e.r(484199),O=e.r(1791),b=e.r(78997),g=e.r(394853),k=e.r(452005);function E(){let e=(0,O.getUserDataDir)();return e?h.join(e,"com.vercel.cli"):null}async function w(e){let t=(0,b.readAuthConfig)();if(!t?.token)throw new k.AccessTokenMissingError;if((0,b.isValidAccessToken)(t,e?.expirationBufferMs))return t.token;if(!t.refreshToken)throw(0,b.writeAuthConfig)({}),new k.RefreshAccessTokenFailedError("No refresh token available");try{let e=await (0,g.refreshTokenRequest)({refresh_token:t.refreshToken}),[r,n]=await (0,g.processTokenResponse)(e);if(r||!n)throw(0,b.writeAuthConfig)({}),new k.RefreshAccessTokenFailedError(r);let o={token:n.access_token,expiresAt:Math.floor(Date.now()/1e3)+n.expires_in};return n.refresh_token&&(o.refreshToken=n.refresh_token),(0,b.writeAuthConfig)(o),o.token}catch(e){if((0,b.writeAuthConfig)({}),e instanceof k.AccessTokenMissingError||e instanceof k.RefreshAccessTokenFailedError)throw e;throw new k.RefreshAccessTokenFailedError(e)}}async function _(e,t,r){let n=`https://api.vercel.com/v1/projects/${t}/token?source=vercel-oidc-refresh${r?`&teamId=${r}`:""}`,o=await fetch(n,{method:"POST",headers:{Authorization:`Bearer ${e}`}});if(!o.ok)throw new m.VercelOidcTokenError(`Failed to refresh OIDC token: ${o.statusText}`);let i=await o.json();return v(i),i}function v(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 T(){let e=(0,O.findRootDir)();if(!e)throw new m.VercelOidcTokenError("Unable to find project root directory. Have you linked your project with `vc link?`");let t=h.join(e,".vercel","project.json");if(!y.existsSync(t))throw new m.VercelOidcTokenError("project.json not found, have you linked your project with `vc link?`");let r=JSON.parse(y.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 D(e,t){let r=(0,O.getUserDataDir)();if(!r)throw new m.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");let n=h.join(r,"com.vercel.token",`${t}.json`),o=JSON.stringify(e);y.mkdirSync(h.dirname(n),{mode:504,recursive:!0}),y.writeFileSync(n,o),y.chmodSync(n,432)}function j(e){let t=(0,O.getUserDataDir)();if(!t)throw new m.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");let r=h.join(t,"com.vercel.token",`${e}.json`);if(!y.existsSync(r))return null;let n=JSON.parse(y.readFileSync(r,"utf8"));return v(n),n}function A(e){let t=e.split(".");if(3!==t.length)throw new m.VercelOidcTokenError("Invalid token. Please run `vc env pull` and try again");let r=t[1].replace(/-/g,"+").replace(/_/g,"/"),n=r.padEnd(r.length+(4-r.length%4)%4,"=");return JSON.parse(Buffer.from(n,"base64").toString("utf8"))}function P(e,t=0){return 1e3*e.exp<Date.now()+t}}];
3
+ `),y=e=>{let r={last:null},n=setTimeout(()=>{p.delete(e),!u&&r.last&&(h(r.last),y(e))},t.coalesce?.ms);p.set(e,{timer:n,wait:r})},m=e=>{if(u)return;let r=t.coalesce?.keyOf(e)??null;if(null===r)return h(e);let n=p.get(r);if(n){n.wait.last=e;return}h(e),y(r)},b=e.subscribe(e=>d?d.push(e):m(e)),O=setInterval(()=>f(": ping\n\n"),n);o+=1,t.onWatchers?.(o),s=()=>{if(!u){for(let e of(u=!0,o-=1,t.onWatchers?.(o),b(),clearInterval(O),p.values()))clearTimeout(e.timer);try{l.close()}catch{}}},i.addEventListener("abort",s);try{for(let e of await a?.()??[])h(e)}catch(e){c.logger.error("event stream opening failed",e),s();return}let g=d;for(let e of(d=null,g))m(e)},cancel(){s()}}),{headers:{"Content-Type":"text/event-stream; charset=utf-8","Cache-Control":"no-store","X-Accel-Buffering":"no"}})},get watchers(){return o}}}(d,{coalesce:{ms:150,keyOf:e=>e.type in u?e.type:null},onWatchers:f.track});e.s(["appEventStream",0,h,"appEvents",0,d,"presence",0,f],380690)},911757,e=>{"use strict";var t=e.i(469719),r=e.i(514499),n=e.i(904309),o=e.i(264079);let i={id:"openai",label:"OpenAI",apiKeyName:o.TEXT_MODEL_PROVIDERS.openai.apiKeyName};o.TEXT_MODEL_PROVIDERS.openai.suggestModels;let a=t.z.string().max(r.COMMON_VALIDATE.prompt.max).default(""),s=t.z.object({voice:t.z.string().trim().min(1).max(128).default("marin"),voicePrompt:a,backendModel:t.z.string().trim().min(1).max(128).default(n.LIVE_BACKEND_MODEL),backendPrompt:a,reasoningEffort:t.z.enum(["none","minimal","low","medium","high","xhigh"]).nullable().default("low"),webSearch:t.z.boolean().default(!0)});s.parse({}),e.s(["LIVE_PROVIDER",0,i,"LiveSettingsSchema",0,s])},279041,e=>{"use strict";var t=e.i(911757),r=e.i(264079),n=e.i(834332);let o=[t.LIVE_PROVIDER.apiKeyName],i={image:"IMAGE_MODEL",video:"VIDEO_MODEL",speech:"SPEECH_MODEL",transcription:"TRANSCRIPTION_MODEL"},a={image:{label:"Image model",hint:"What bots draw with"},video:{label:"Video model",hint:"What bots film with — minutes a clip"},speech:{label:"Speech model",hint:"What reads text aloud into a file"},transcription:{label:"Transcription model",hint:"What turns a recording into text"}},s="EXA_API_KEY",l="DEFAULT_MODEL",c={key:l,label:"Default model",hint:"What a bot thinks with until it picks its own",text:!0,choices:r.TEXT_MODEL_PROVIDER_LIST.flatMap(e=>e.suggestModels.map(t=>({value:`${e.id}/${t.id}`,label:`${e.label} \xb7 ${t.label}`,needs:e.apiKeyName})))},u=e=>o.includes(e.apiKeyName),p=e=>!!e.signIn||"vercel-ai-gateway"===e.id,d=e=>({key:e.apiKeyName,label:e.label,provider:e.id,signIn:e.signIn,keysAt:e.keysAt,keyLooks:e.keyLooks}),f=[{id:"voice",title:"voice",hint:"calls run on this key",section:"keys",require:"any",note:"required for calls",entries:r.TEXT_MODEL_PROVIDER_LIST.filter(u).map(d)},{id:"easy",title:"the easy ways",hint:"one sign-in or one key opens every bot",section:"keys",require:"none",entries:r.TEXT_MODEL_PROVIDER_LIST.filter(p).map(e=>({...d(e),..."vercel-ai-gateway"===e.id&&{recommended:!0}}))},{id:"text",title:"or a provider's own key",hint:"what bots think with — add any, or none",section:"keys",require:"none",entries:r.TEXT_MODEL_PROVIDER_LIST.filter(e=>!u(e)&&!p(e)).map(d)},{id:"search",title:"search",hint:"how calls and bots look things up — one key, or their own model's",section:"keys",require:"none",entries:[{key:s,label:"Exa",hint:"web search in one call — dashboard.exa.ai",site:"exa.ai",keysAt:"https://dashboard.exa.ai/api-keys"}]},{id:"phone",title:"phone",hint:"tokens",section:"keys",require:"none",entries:[{key:n.TELEGRAM_TOKEN_KEY,label:"Telegram",site:"telegram.org",hint:"a bot token from @BotFather — then write to your bot, and allow it here"},{key:n.DISCORD_TOKEN_KEY,label:"Discord",site:"discord.com",hint:"a bot token from discord.com/developers — add the bot to a server of yours, then write to it directly"},{key:n.SLACK_APP_TOKEN_KEY,label:"Slack · app token",site:"slack.com",hint:"starts with xapp- — opens the connection. Slack takes this and the bot token"},{key:n.SLACK_BOT_TOKEN_KEY,label:"Slack · bot token",site:"slack.com",hint:"starts with xoxb- — speaks as the app"}]},{id:"bots",title:"Bots",hint:"what a bot runs on when it has not picked its own — start small: a small model is quick and costs little",section:"models",require:"none",entries:[c]},{id:"studio",title:"Studio",hint:"what a bot draws, films and speaks with — off until you pick one",section:"models",require:"none",entries:Object.keys(i).map(e=>({key:i[e],...a[e],kind:e,choices:r.MEDIA_MODEL_PROVIDER_LIST.flatMap(t=>t.models[e].map(e=>({value:`${t.id}/${e.id}`,label:`${t.label} \xb7 ${e.label}`,needs:t.apiKeyName})))}))}];Object.fromEntries(f.flatMap(e=>e.entries).map(e=>[e.key,e]));let h=f.flatMap(e=>e.entries.map(e=>e.key)),y=Object.fromEntries(f.flatMap(e=>e.entries).filter(e=>e.choices?.length).map(e=>[e.key,e.choices]));e.s(["CONFIG_CHOICES",0,y,"CONFIG_KEYS",0,h,"DEFAULT_MODEL_KEY",0,l,"EXA_API_KEY",0,s,"MEDIA_MODEL_KEYS",0,i])},340698,e=>e.a(async(t,r)=>{try{var n=e.i(875225),o=e.i(528790),i=e.i(613240);e.i(279041);var a=t([o]);async function s(e){let t=process.env[e]?.trim();if(t)return t;let[r]=await o.database.select({value:i.configTable.value}).from(i.configTable).where((0,n.eq)(i.configTable.key,e));return r?.value.trim()||void 0}async function l(e,t){await o.database.insert(i.configTable).values({key:e,value:t}).onConflictDoUpdate({target:i.configTable.key,set:{value:t}})}[o]=a.then?(await a)():a,e.s(["readConfig",0,s,"writeConfig",0,l]),r()}catch(e){r(e)}},!1),834332,e=>{"use strict";let t="TELEGRAM_BOT_TOKEN",r="DISCORD_BOT_TOKEN",n="SLACK_APP_TOKEN",o="SLACK_BOT_TOKEN";e.s(["DISCORD_TOKEN_KEY",0,r,"REACH_CHANNELS",0,["telegram","discord","slack"],"REACH_KEYS",0,{telegram:[t],discord:[r],slack:[n,o]},"SLACK_APP_TOKEN_KEY",0,n,"SLACK_BOT_TOKEN_KEY",0,o,"TELEGRAM_TOKEN_KEY",0,t,"reachPersonKey",0,e=>`REACH_PERSON_${e.toUpperCase()}`])},904309,e=>{"use strict";var t=e.i(469719);let r=t.z.object({start:t.z.number().nonnegative(),end:t.z.number().nonnegative(),text:t.z.string()});t.z.object({reason:t.z.string().max(128),seconds:t.z.number().nonnegative().nullable()}),e.s(["LIVE_BACKEND_MODEL",0,"gpt-5.6-luna","LiveFragmentSchema",0,r])},268486,e=>{"use strict";var t=e.i(41444);e.s(["createKeyedLock",0,function(){let e=new Map,r=new Map;return function(n,o){let i=e.get(n);i||(i=(0,t.PromiseChain)(),e.set(n,i)),r.set(n,(r.get(n)??0)+1);let a=()=>{let t=(r.get(n)??1)-1;t>0?r.set(n,t):(r.delete(n),e.delete(n))};return i(o).then(e=>(a(),e),e=>{throw a(),e})}}])},78997,(e,t,r)=>{"use strict";var n=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=i(t,s))||n.enumerable});return e},u=(e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),p={},d={isValidAccessToken:()=>k,readAuthConfig:()=>O,writeAuthConfig:()=>g};for(var f in d)o(p,f,{get:d[f],enumerable:!0});t.exports=c(o({},"__esModule",{value:!0}),p);var h=u(e.r(522734)),y=u(e.r(814747)),m=e.r(783697);function b(){let e=(0,m.getVercelDataDir)();if(!e)throw Error(`Unable to find Vercel CLI data directory. Your platform: ${process.platform}. Supported: darwin, linux, win32.`);return y.join(e,"auth.json")}function O(){try{let e=b();if(!h.existsSync(e))return null;let t=h.readFileSync(e,"utf8");if(!t)return null;return JSON.parse(t)}catch(e){return null}}function g(e){let t=b(),r=y.dirname(t);h.existsSync(r)||h.mkdirSync(r,{mode:504,recursive:!0}),h.writeFileSync(t,JSON.stringify(e,null,2),{mode:384})}function k(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 n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s={},l={AccessTokenMissingError:()=>u,RefreshAccessTokenFailedError:()=>p};for(var c in l)n(s,c,{get:l[c],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))a.call(e,s)||void 0===s||n(e,s,{get:()=>t[s],enumerable:!(r=o(t,s))||r.enumerable});return e})(n({},"__esModule",{value:!0}),s);class u extends Error{constructor(){super("No authentication found. Please log in with the Vercel CLI (vercel login)."),this.name="AccessTokenMissingError"}}class p extends Error{constructor(e){super("Failed to refresh authentication token.",{cause:e}),this.name="RefreshAccessTokenFailedError"}}},394853,(e,t,r)=>{"use strict";var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s={},l={processTokenResponse:()=>y,refreshTokenRequest:()=>h};for(var c in l)n(s,c,{get:l[c],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))a.call(e,s)||void 0===s||n(e,s,{get:()=>t[s],enumerable:!(r=o(t,s))||r.enumerable});return e})(n({},"__esModule",{value:!0}),s);var u=e.r(446786);let p=`@vercel/oidc node-${process.version} ${(0,u.platform)()} (${(0,u.arch)()}) ${(0,u.hostname)()}`,d=null;async function f(){if(d)return d;let e=await fetch("https://vercel.com/.well-known/openid-configuration",{headers:{"user-agent":p}});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 d=r,r}async function h(e){let t=await f();return await fetch(t,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded","user-agent":p},body:new URLSearchParams({client_id:"cl_HYyOPBNtFMfHhaUn9L4QPfTZz6TP47bp",grant_type:"refresh_token",...e})})}async function y(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 n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s={},l={VercelOidcTokenError:()=>u};for(var c in l)n(s,c,{get:l[c],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))a.call(e,s)||void 0===s||n(e,s,{get:()=>t[s],enumerable:!(r=o(t,s))||r.enumerable});return e})(n({},"__esModule",{value:!0}),s);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 n=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=i(t,s))||n.enumerable});return e},u=(e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),p={},d={findRootDir:()=>O,getUserDataDir:()=>g};for(var f in d)o(p,f,{get:d[f],enumerable:!0});t.exports=c(o({},"__esModule",{value:!0}),p);var h=u(e.r(814747)),y=u(e.r(522734)),m=u(e.r(446786)),b=e.r(484199);function O(){try{let e=process.cwd();for(;e!==h.default.dirname(e);){let t=h.default.join(e,".vercel");if(y.default.existsSync(t))return e;e=h.default.dirname(e)}}catch(e){throw new b.VercelOidcTokenError("Token refresh only supported in node server environments")}return null}function g(){if(process.env.XDG_DATA_HOME)return process.env.XDG_DATA_HOME;switch(m.default.platform()){case"darwin":return h.default.join(m.default.homedir(),"Library/Application Support");case"linux":return h.default.join(m.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 n=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=i(t,s))||n.enumerable});return e},u=(e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),p={},d={assertVercelOidcTokenResponse:()=>v,findProjectInfo:()=>T,getTokenPayload:()=>A,getVercelDataDir:()=>E,getVercelOidcToken:()=>_,getVercelToken:()=>w,isExpired:()=>P,loadToken:()=>D,saveToken:()=>j};for(var f in d)o(p,f,{get:d[f],enumerable:!0});t.exports=c(o({},"__esModule",{value:!0}),p);var h=u(e.r(814747)),y=u(e.r(522734)),m=e.r(484199),b=e.r(1791),O=e.r(78997),g=e.r(394853),k=e.r(452005);function E(){let e=(0,b.getUserDataDir)();return e?h.join(e,"com.vercel.cli"):null}async function w(e){let t=(0,O.readAuthConfig)();if(!t?.token)throw new k.AccessTokenMissingError;if((0,O.isValidAccessToken)(t,e?.expirationBufferMs))return t.token;if(!t.refreshToken)throw(0,O.writeAuthConfig)({}),new k.RefreshAccessTokenFailedError("No refresh token available");try{let e=await (0,g.refreshTokenRequest)({refresh_token:t.refreshToken}),[r,n]=await (0,g.processTokenResponse)(e);if(r||!n)throw(0,O.writeAuthConfig)({}),new k.RefreshAccessTokenFailedError(r);let o={token:n.access_token,expiresAt:Math.floor(Date.now()/1e3)+n.expires_in};return n.refresh_token&&(o.refreshToken=n.refresh_token),(0,O.writeAuthConfig)(o),o.token}catch(e){if((0,O.writeAuthConfig)({}),e instanceof k.AccessTokenMissingError||e instanceof k.RefreshAccessTokenFailedError)throw e;throw new k.RefreshAccessTokenFailedError(e)}}async function _(e,t,r){let n=`https://api.vercel.com/v1/projects/${t}/token?source=vercel-oidc-refresh${r?`&teamId=${r}`:""}`,o=await fetch(n,{method:"POST",headers:{Authorization:`Bearer ${e}`}});if(!o.ok)throw new m.VercelOidcTokenError(`Failed to refresh OIDC token: ${o.statusText}`);let i=await o.json();return v(i),i}function v(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 T(){let e=(0,b.findRootDir)();if(!e)throw new m.VercelOidcTokenError("Unable to find project root directory. Have you linked your project with `vc link?`");let t=h.join(e,".vercel","project.json");if(!y.existsSync(t))throw new m.VercelOidcTokenError("project.json not found, have you linked your project with `vc link?`");let r=JSON.parse(y.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 j(e,t){let r=(0,b.getUserDataDir)();if(!r)throw new m.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");let n=h.join(r,"com.vercel.token",`${t}.json`),o=JSON.stringify(e);y.mkdirSync(h.dirname(n),{mode:504,recursive:!0}),y.writeFileSync(n,o),y.chmodSync(n,432)}function D(e){let t=(0,b.getUserDataDir)();if(!t)throw new m.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");let r=h.join(t,"com.vercel.token",`${e}.json`);if(!y.existsSync(r))return null;let n=JSON.parse(y.readFileSync(r,"utf8"));return v(n),n}function A(e){let t=e.split(".");if(3!==t.length)throw new m.VercelOidcTokenError("Invalid token. Please run `vc env pull` and try again");let r=t[1].replace(/-/g,"+").replace(/_/g,"/"),n=r.padEnd(r.length+(4-r.length%4)%4,"=");return JSON.parse(Buffer.from(n,"base64").toString("utf8"))}function P(e,t=0){return 1e3*e.exp<Date.now()+t}}];
4
4
 
5
5
  //# sourceMappingURL=%5Broot-of-the-server%5D__04wldw9._.js.map
@@ -1,5 +1,5 @@
1
- module.exports=[418520,e=>e.a(async(s,t)=>{try{var r=await e.y("@libsql/client-6da938047d5fc1cd");e.n(r),t()}catch(e){t(e)}},!0),902157,(e,s,t)=>{s.exports=e.x("node:fs",()=>require("node:fs"))},750227,(e,s,t)=>{s.exports=e.x("node:path",()=>require("node:path"))},59639,(e,s,t)=>{s.exports=e.x("node:process",()=>require("node:process"))},509656,(e,s,t)=>{s.exports=e.x("node:tty",()=>require("node:tty"))},812057,(e,s,t)=>{s.exports=e.x("node:util",()=>require("node:util"))},232347,e=>{"use strict";let s,t,r,o,n,a;var c,l=e.i(333925),i=e.i(938281);let d={threads:!0,routines:!0,memory:!0,mcp:!0,config:!0,reach:!0,signins:!0},u=globalThis,_=u.__appEvents??=(s=new Set,{emit(e){for(let t of[...s])try{t(e)}catch(e){console.error("event listener failed",e)}},subscribe:e=>(s.add(e),()=>{s.delete(e)})}),p=u.__presence??=(c=l.BROWSER_GONE_MS,t=!1,r=null,o=new Set,n=new Set,a=e=>{for(let s of[...e])try{s()}catch(e){console.error("presence listener failed",e)}},{get watching(){return t},track(e){if(e>0){r&&clearTimeout(r),r=null,t||(t=!0,a(n));return}!r&&t&&(r=setTimeout(()=>{r=null,t=!1,a(o)},c))},onGone:e=>(o.add(e),()=>o.delete(e)),onBack:e=>(n.add(e),()=>n.delete(e))});u.__appEventStream??=function(e,s={}){let t=new TextEncoder,r=s.heartbeatMs??2e4,o=0;return{respond:(n,a)=>{let c=()=>{};return new Response(new ReadableStream({async start(l){let d=!1,u=new Map,_=[],p=e=>{if(!d)try{l.enqueue(t.encode(e))}catch{c()}},E=e=>p(`data: ${JSON.stringify(e)}
1
+ module.exports=[418520,e=>e.a(async(s,t)=>{try{var r=await e.y("@libsql/client-6da938047d5fc1cd");e.n(r),t()}catch(e){t(e)}},!0),902157,(e,s,t)=>{s.exports=e.x("node:fs",()=>require("node:fs"))},750227,(e,s,t)=>{s.exports=e.x("node:path",()=>require("node:path"))},59639,(e,s,t)=>{s.exports=e.x("node:process",()=>require("node:process"))},509656,(e,s,t)=>{s.exports=e.x("node:tty",()=>require("node:tty"))},812057,(e,s,t)=>{s.exports=e.x("node:util",()=>require("node:util"))},232347,e=>{"use strict";let s,t,r,n,a,o;var c,l=e.i(333925),i=e.i(938281);let u={threads:!0,routines:!0,memory:!0,mcp:!0,config:!0,reach:!0,signins:!0},d=globalThis,_=d.__appEvents??=(s=new Set,{emit(e){for(let t of[...s])try{t(e)}catch(e){console.error("event listener failed",e)}},subscribe:e=>(s.add(e),()=>{s.delete(e)})}),p=d.__presence??=(c=l.BROWSER_GONE_MS,t=!1,r=null,n=new Set,a=new Set,o=e=>{for(let s of[...e])try{s()}catch(e){console.error("presence listener failed",e)}},{get watching(){return t},track(e){if(e>0){r&&clearTimeout(r),r=null,t||(t=!0,o(a));return}!r&&t&&(r=setTimeout(()=>{r=null,t=!1,o(n)},c))},onGone:e=>(n.add(e),()=>n.delete(e)),onBack:e=>(a.add(e),()=>a.delete(e))});d.__appEventStream??=function(e,s={}){let t=new TextEncoder,r=s.heartbeatMs??2e4,n=0;return{respond:(a,o)=>{let c=()=>{};return new Response(new ReadableStream({async start(l){let u=!1,d=new Map,_=[],p=e=>{if(!u)try{l.enqueue(t.encode(e))}catch{c()}},E=e=>p(`data: ${JSON.stringify(e)}
2
2
 
3
- `),T=e=>{let t=s.coalesce?.keyOf(e)??null;if(null===t)return E(e);let r=u.get(t);r&&clearTimeout(r),u.set(t,setTimeout(()=>{u.delete(t),E(e)},s.coalesce?.ms))},m=e.subscribe(e=>_?_.push(e):T(e)),M=setInterval(()=>p(": ping\n\n"),r);o+=1,s.onWatchers?.(o),c=()=>{if(!d){for(let e of(d=!0,o-=1,s.onWatchers?.(o),m(),clearInterval(M),u.values()))clearTimeout(e);try{l.close()}catch{}}},n.addEventListener("abort",c);try{for(let e of await a?.()??[])E(e)}catch(e){i.logger.error("event stream opening failed",e),c();return}let f=_;for(let e of(_=null,f))T(e)},cancel(){c()}}),{headers:{"Content-Type":"text/event-stream; charset=utf-8","Cache-Control":"no-store","X-Accel-Buffering":"no"}})},get watchers(){return o}}}(_,{coalesce:{ms:150,keyOf:e=>e.type in d?e.type:null},onWatchers:p.track}),u.__bootId??=crypto.randomUUID(),e.s(["appEvents",0,_,"presence",0,p],232347)},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`,n=".ai-workspace",a={workspace:n,artifacts:"artifacts",projects:"projects",scratch:"scratch",bots:"bots",output:".output",signIns:".sign-ins",skills:{default:"skills",custom:`${n}/.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}])},207580,e=>{e.v(s=>Promise.all(["server/chunks/[externals]__0y3n8y6._.js","server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0q8fc1x._.js"].map(s=>e.l(s))).then(()=>s(27996)))}];
3
+ `),T=e=>{let t={last:null},r=setTimeout(()=>{d.delete(e),!u&&t.last&&(E(t.last),T(e))},s.coalesce?.ms);d.set(e,{timer:r,wait:t})},f=e=>{if(u)return;let t=s.coalesce?.keyOf(e)??null;if(null===t)return E(e);let r=d.get(t);if(r){r.wait.last=e;return}E(e),T(t)},M=e.subscribe(e=>_?_.push(e):f(e)),m=setInterval(()=>p(": ping\n\n"),r);n+=1,s.onWatchers?.(n),c=()=>{if(!u){for(let e of(u=!0,n-=1,s.onWatchers?.(n),M(),clearInterval(m),d.values()))clearTimeout(e.timer);try{l.close()}catch{}}},a.addEventListener("abort",c);try{for(let e of await o?.()??[])E(e)}catch(e){i.logger.error("event stream opening failed",e),c();return}let O=_;for(let e of(_=null,O))f(e)},cancel(){c()}}),{headers:{"Content-Type":"text/event-stream; charset=utf-8","Cache-Control":"no-store","X-Accel-Buffering":"no"}})},get watchers(){return n}}}(_,{coalesce:{ms:150,keyOf:e=>e.type in u?e.type:null},onWatchers:p.track}),e.s(["appEvents",0,_,"presence",0,p],232347)},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}`,n=`file:${t}/local.db`,a=".ai-workspace",o={workspace:a,artifacts:"artifacts",projects:"projects",scratch:"scratch",bots:"bots",output:".output",signIns:".sign-ins",skills:{default:"skills",custom:`${a}/.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,n,"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},"HISTORY_KEEP",0,{forMs:7776e6,sweepEveryMs:216e5},"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,o,"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}])},207580,e=>{e.v(s=>Promise.all(["server/chunks/[externals]__0y3n8y6._.js","server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0q8fc1x._.js"].map(s=>e.l(s))).then(()=>s(27996)))}];
4
4
 
5
5
  //# sourceMappingURL=%5Broot-of-the-server%5D__0h_x6q6._.js.map