thursday-agent 0.1.2 → 0.2.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.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +1 -0
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/routes-manifest.json +6 -0
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +13 -13
- package/.next/server/app/_not-found.segments/_full.segment.rsc +13 -13
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +12 -12
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/artifact/route.js +1 -1
- package/.next/server/app/api/artifact/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/notes/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/bot/notes/route/build-manifest.json +12 -0
- package/.next/server/app/api/bot/notes/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/bot/notes/route.js +14 -0
- package/.next/server/app/api/bot/notes/route.js.map +5 -0
- package/.next/server/app/api/bot/notes/route.js.nft.json +1 -0
- package/.next/server/app/api/bot/notes/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/bot/route.js +4 -4
- package/.next/server/app/api/bot/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/task/[id]/route.js +6 -6
- package/.next/server/app/api/bot/task/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/task/route.js +6 -6
- package/.next/server/app/api/bot/task/route.js.nft.json +1 -1
- package/.next/server/app/api/config/route.js +3 -3
- package/.next/server/app/api/config/route.js.nft.json +1 -1
- package/.next/server/app/api/events/route.js +1 -1
- package/.next/server/app/api/events/route.js.nft.json +1 -1
- package/.next/server/app/api/file/[...path]/route.js +1 -1
- package/.next/server/app/api/file/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/catalog/route.js +6 -6
- package/.next/server/app/api/llm-model/catalog/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/route.js +3 -3
- package/.next/server/app/api/llm-model/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/[name]/route.js +3 -3
- package/.next/server/app/api/mcp/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/oauth/callback/route.js +5 -5
- package/.next/server/app/api/mcp/oauth/callback/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/route.js +3 -3
- package/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/tools/route.js +3 -3
- package/.next/server/app/api/mcp/tools/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/route.js +7 -7
- package/.next/server/app/api/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/tidy/route.js +10 -11
- package/.next/server/app/api/memory/tidy/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/[source]/[name]/route.js +1 -1
- package/.next/server/app/api/skills/[source]/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/route.js +1 -1
- package/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/call/route.js +8 -8
- package/.next/server/app/api/thursday/call/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/skills/route.js +8 -8
- package/.next/server/app/api/thursday/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/tool-call/route.js +11 -12
- package/.next/server/app/api/thursday/tool-call/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/route.js +1 -1
- package/.next/server/app/api/workspace/route.js.nft.json +1 -1
- package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +1 -1
- package/.next/server/app/artifact/[...path]/page.js +3 -3
- package/.next/server/app/artifact/[...path]/page.js.nft.json +1 -1
- package/.next/server/app/artifact/[...path]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next/server/app/page/server-reference-manifest.json +63 -41
- package/.next/server/app/page.js +7 -7
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +1 -0
- package/.next/server/chunks/0d-b_next_dist_server_app-render_after-task-async-storage_external_0-exn7p.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0t_dqaj._.js → [root-of-the-server]__0-npkh_._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__005var5._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__019dx9f._.js +2 -2
- package/.next/server/chunks/[root-of-the-server]__02va5wz._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1mzp_el._.js → [root-of-the-server]__04_8spk._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__06t77t4._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0bed6hu._.js +4 -4
- package/.next/server/chunks/[root-of-the-server]__0cro2dz._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__0emr6go._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0le4d-p._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0m8ywyo._.js +5 -5
- package/.next/server/chunks/{[root-of-the-server]__113fqg5._.js → [root-of-the-server]__0p32jfz._.js} +3 -3
- package/.next/server/chunks/[root-of-the-server]__0phdgco._.js +4 -4
- package/.next/server/chunks/[root-of-the-server]__0wvgrsl._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__11j52t0._.js +5 -0
- package/.next/server/chunks/{[root-of-the-server]__0j_n5l3._.js → [root-of-the-server]__1692zrv._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__16thabu._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__173nhwf._.js +3 -3
- package/.next/server/chunks/[root-of-the-server]__1bn73ih._.js +10 -0
- package/.next/server/chunks/[root-of-the-server]__1bqhuh9._.js +4 -4
- package/.next/server/chunks/[root-of-the-server]__1ccon1w._.js +10 -0
- package/.next/server/chunks/[root-of-the-server]__1cqizfq._.js +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1u_qvc7._.js → [root-of-the-server]__1fboj2j._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__1dow0bz._.js → [root-of-the-server]__1oli73c._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__1txedx6._.js +4 -4
- package/.next/server/chunks/[root-of-the-server]__1untqv8._.js +5 -0
- package/.next/server/chunks/_0-73of8._.js +55 -0
- package/.next/server/chunks/{_2050gwn._.js → _00_584r._.js} +66 -28
- package/.next/server/chunks/{_0y8is-s._.js → _03a0897._.js} +1 -1
- package/.next/server/chunks/_05h2cii._.js +1 -1
- package/.next/server/chunks/_06mxlgn._.js +1 -1
- package/.next/server/chunks/_0a351g7._.js +1 -1
- package/.next/server/chunks/{_0hin38_._.js → _0khihjk._.js} +5 -5
- package/.next/server/chunks/_0kjjmag._.js +1 -1
- package/.next/server/chunks/{_1t8fv7b._.js → _0n74zsf._.js} +5 -5
- package/.next/server/chunks/_0nn99o2._.js +3 -0
- package/.next/server/chunks/_0pppbb5._.js +10 -6
- package/.next/server/chunks/{_1icgbi8._.js → _0rnf-6n._.js} +5 -5
- package/.next/server/chunks/_0u10wmw._.js +55 -0
- package/.next/server/chunks/{_0kl37zl._.js → _0vnutv9._.js} +1 -1
- package/.next/server/chunks/_0wp4le3._.js +1 -1
- package/.next/server/chunks/_0y5fg-x._.js +1 -1
- package/.next/server/chunks/_106co2o._.js +3 -0
- package/.next/server/chunks/_12bbv5i._.js +10 -6
- package/.next/server/chunks/_15hq89o._.js +1 -1
- package/.next/server/chunks/_15q1pig._.js +1 -1
- package/.next/server/chunks/_18-1wcc._.js +55 -0
- package/.next/server/chunks/_19wg5yn._.js +138 -0
- package/.next/server/chunks/_1_5mnq4._.js +18 -0
- package/.next/server/chunks/_1bt95p9._.js +55 -0
- package/.next/server/chunks/_1cbk7ms._.js +9 -9
- package/.next/server/chunks/_1drgfx4._.js +18 -0
- package/.next/server/chunks/_1drv2et._.js +10 -6
- package/.next/server/chunks/{_10qam6o._.js → _1e48czp._.js} +5 -5
- package/.next/server/chunks/{_1skgy7b._.js → _1kg70wc._.js} +5 -5
- package/.next/server/chunks/_1php4eq._.js +1 -1
- package/.next/server/chunks/_1rysr-r._.js +10 -0
- package/.next/server/chunks/_1u3rwbr._.js +3 -0
- package/.next/server/chunks/_1x7p319._.js +1 -1
- package/.next/server/chunks/_1yuv4vp._.js +1 -1
- package/.next/server/chunks/_next-internal_server_app_api_bot_notes_route_actions_0qcsyu7.js +3 -0
- package/.next/server/chunks/config_ts_1g4sz5o._.js +1 -1
- package/.next/server/chunks/features_bot_task_query_ts_11xuzl3._.js +1 -1
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0228f43._.js → node_modules_consola_dist_chunks_prompt_mjs_02s3hjt._.js} +1 -1
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0ir-vo2._.js → node_modules_consola_dist_chunks_prompt_mjs_06067w6._.js} +1 -1
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0otw8ef._.js → node_modules_consola_dist_chunks_prompt_mjs_096ais_._.js} +1 -1
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0tf290y._.js → node_modules_consola_dist_chunks_prompt_mjs_0a1rd09._.js} +1 -1
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0gzvgfv._.js +3 -0
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0j61-ma._.js +3 -0
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0tvkfgh._.js +3 -0
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_11zjo-1._.js +3 -0
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1pycqsq._.js +3 -0
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1tpvamf._.js +3 -0
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1y9-wcr._.js +3 -0
- package/.next/server/chunks/ssr/[externals]__0dizgek._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0f6s48x._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0m1b5ky._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0dfwvr4._.js → [root-of-the-server]__0un-erv._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__1-mnhyd._.js +5 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1bww500._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1mzi-ju._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1qfqvmg._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1vcdast._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1xwnu-h._.js +3 -0
- package/.next/server/chunks/ssr/_03webdr._.js +3 -0
- package/.next/server/chunks/ssr/{_0gd4vaa._.js → _040sk32._.js} +71 -29
- package/.next/server/chunks/ssr/_077-g6s._.js +1 -1
- package/.next/server/chunks/ssr/{_0lc_7c8._.js → _09ja_w1._.js} +2 -2
- package/.next/server/chunks/ssr/{_1dcxzqe._.js → _0f_b_9s._.js} +2 -2
- package/.next/server/chunks/ssr/_0h7zdni._.js +1 -1
- package/.next/server/chunks/ssr/_0lu1n_x._.js +3 -0
- package/.next/server/chunks/ssr/_0sf1isi._.js +1 -1
- package/.next/server/chunks/ssr/_0su6_08._.js +3 -0
- package/.next/server/chunks/ssr/{_0nso8tp._.js → _0w5bgak._.js} +2 -2
- package/.next/server/chunks/ssr/{_19_o9d-._.js → _0x_nu5e._.js} +2 -2
- package/.next/server/chunks/ssr/_1-teee5._.js +3 -3
- package/.next/server/chunks/ssr/_13punpm._.js +1 -1
- package/.next/server/chunks/ssr/{_0ay6b01._.js → _1ciyoo3._.js} +2 -2
- package/.next/server/chunks/ssr/_1e-dgz0._.js +1 -1
- package/.next/server/chunks/ssr/_1fq7zgb._.js +1 -1
- package/.next/server/chunks/ssr/{_0cvjbuz._.js → _1g6l4uj._.js} +2 -2
- package/.next/server/chunks/ssr/{_0q_2f2x._.js → _1lip4th._.js} +2 -2
- package/.next/server/chunks/ssr/_1m3bsfr._.js +3 -0
- package/.next/server/chunks/ssr/_1mznrxk._.js +1 -1
- package/.next/server/chunks/ssr/_1ruzehw._.js +3 -0
- package/.next/server/chunks/ssr/_1vyd1ji._.js +3 -0
- package/.next/server/chunks/ssr/features_bot_components_bot-setting_tsx_01ajft6._.js +2 -2
- package/.next/server/chunks/ssr/features_config_components_14jqgy4._.js +1 -1
- package/.next/server/chunks/ssr/features_config_components_config-setting_tsx_0xfwqdg._.js +1 -1
- package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +1 -1
- package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +1 -1
- package/.next/server/chunks/ssr/lib_realtime_12wg_dd._.js +27 -0
- package/.next/server/chunks/ssr/lib_realtime_15h_v1v._.js +27 -0
- package/.next/server/chunks/ssr/{node_modules_108wd2o._.js → node_modules_004qlr4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1ub40gk._.js → node_modules_01qnv-a._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1y8_3vg._.js → node_modules_04n7mjs._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0_j7-g4._.js → node_modules_08d8bke._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0y2-av4._.js → node_modules_09xhur7._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_043-236._.js → node_modules_0_n241r._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ls96je._.js → node_modules_0iz1rzd._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0xwx4u-._.js → node_modules_0kl7-tn._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1jatz7w._.js → node_modules_0kxz4gt._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1t0y5jt._.js → node_modules_0lrjk5t._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_13f2md6._.js → node_modules_0m93zeg._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1nhw9qg._.js → node_modules_0n1kj4p._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1k29j1j._.js → node_modules_0ndvxub._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_16i4o_3._.js → node_modules_13r44jq._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0fbw5-u._.js → node_modules_17lrt3y._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1d-is1o._.js → node_modules_18_dk7_._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1hn_sd5._.js → node_modules_19dp7ko._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_20ynonm._.js → node_modules_1dwguw_._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_00d6675._.js → node_modules_1hd-5tv._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1ee8gav._.js → node_modules_1hn8z1f._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0bue6gy._.js → node_modules_1n5ygqe._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1_588_4._.js → node_modules_1q0p85z._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ipn1ho._.js → node_modules_1toafc-._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0_fvxnt._.js → node_modules_1xyd7ov._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1v0077l._.js → node_modules_1zu988w._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_06kvvuo._.js → node_modules_20yebtj._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_092s8nx._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0m9a4y0._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1nvexgu._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_13w_wy9._.js} +1 -1
- package/.next/server/chunks/ssr/node_modules_consola_dist_chunks_prompt_mjs_05cwqv2._.js +47 -0
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +64 -42
- package/.next/static/chunks/05b6nx_o3_f_n.js +1 -0
- package/.next/static/chunks/{3aquirz5h71da.js → 07kl352c-lvcz.js} +1 -1
- package/.next/static/chunks/0dmns-gi0raa4.js +1 -0
- package/.next/static/chunks/0oc4_xoia77dg.css +1 -0
- package/.next/static/chunks/0pheo8m3a-rzi.js +1 -0
- package/.next/static/chunks/{2ihkf6l2jowo9.js → 18vhba44l1fc9.js} +3 -3
- package/.next/static/chunks/19i8h2t-5evjx.js +1 -0
- package/.next/static/chunks/{1gy3bbv7usnjo.js → 1c5fcj473025q.js} +1 -1
- package/.next/static/chunks/1pi_hbmjw-f-z.js +1 -0
- package/.next/static/chunks/{0tydnn2kybibk.js → 1twt6k09vg4np.js} +1 -1
- package/.next/static/chunks/{21rk8w7bda-su.js → 28gotuisldmom.js} +1 -1
- package/.next/static/chunks/{3xxa2j56-f3nm.js → 2998p0y7k1c8z.js} +1 -1
- package/.next/static/chunks/2l233xfycjpd8.js +1 -0
- package/.next/static/chunks/2p5n7pa3c40t-.js +2 -0
- package/.next/static/chunks/2ru1q132af7h7.js +1 -0
- package/.next/static/chunks/{2fq_86jvq9ymq.js → 2t8wqycwg3y04.js} +2 -2
- package/.next/static/chunks/32z_ypgtchw48.js +1 -0
- package/.next/static/chunks/{247d-r95j8xs0.js → 33pyjb3xd1iez.js} +1 -1
- package/.next/static/chunks/3786h5vayt80-.js +28 -0
- package/.next/static/chunks/3_h9txt3tq8t8.js +28 -0
- package/.next/static/chunks/{1khakdu_iuedc.js → 3ard_noqapnw1.js} +1 -1
- package/.next/static/chunks/{1fr5m75pwtyic.js → 3omud5xunrk1f.js} +1 -1
- package/.next/static/chunks/42dnrkbph9e-1.js +1 -0
- package/app/api/events/app-event.client.ts +24 -0
- package/app/api/events/app-event.server.ts +45 -0
- package/app/api/events/app-event.ts +44 -0
- package/app/api/llm-model/catalog/route.ts +12 -0
- package/app/api/llm-model/route.ts +21 -0
- package/app/api/query-key.ts +144 -0
- package/app/api/thursday/tool-call/route.ts +67 -0
- package/components/ui/button-group.tsx +45 -0
- package/components/ui/custom-icon.tsx +259 -0
- package/components/ui/dropdown-menu.tsx +271 -0
- package/components/ui/folded-text.tsx +68 -0
- package/components/ui/input-group.tsx +157 -0
- package/components/ui/json-view.tsx +240 -0
- package/components/ui/shiny-text.tsx +141 -0
- package/components/ui/text-type.tsx +213 -0
- package/components/ui/theme-sync.tsx +9 -0
- package/database/migrations/{20260908030742_rainy_marvel_zombies → 20260909060813_optimal_sabretooth}/migration.sql +7 -0
- package/database/migrations/{20260908030742_rainy_marvel_zombies → 20260909060813_optimal_sabretooth}/snapshot.json +54 -1
- package/database/migrations/20260909063821_bitter_tenebrous/migration.sql +1 -0
- package/database/migrations/20260909063821_bitter_tenebrous/snapshot.json +1285 -0
- package/docs/how-it-works.md +59 -0
- package/docs/images/keeps-going.png +0 -0
- package/docs/images/task-thread.png +0 -0
- package/docs/images/two-minds.png +0 -0
- package/features/ai/load-tools.ts +55 -5
- package/features/ai/prompts/bot.prompt.ts +121 -26
- package/features/ai/prompts/memory-tidy.prompt.ts +7 -1
- package/features/ai/prompts/prompt-helper.ts +31 -5
- package/features/ai/prompts/thursday.prompt.ts +2 -0
- package/features/ai/tools/bot.tool.ts +37 -18
- package/features/ai/tools/mcp.tool.ts +5 -5
- package/features/ai/tools/memory.tool.ts +17 -10
- package/features/ai/tools/studio.tool.ts +5 -5
- package/features/ai/tools/tool-name.ts +2 -0
- package/features/ai/tools/workspace.tool.ts +33 -5
- package/features/bot/bot.action.ts +31 -4
- package/features/bot/bot.notes.ts +120 -0
- package/features/bot/bot.query.ts +56 -1
- package/features/bot/bot.run.ts +43 -3
- package/features/bot/bot.runner.ts +94 -20
- package/features/bot/bot.schema.ts +17 -0
- package/features/bot/components/bot-room.tsx +405 -306
- package/features/bot/components/bot-setting.tsx +123 -20
- package/features/bot/task.query.ts +18 -5
- package/features/memory/components/memory-setting.tsx +11 -2
- package/features/memory/memory.query.ts +9 -2
- package/features/memory/memory.schema.ts +30 -0
- package/features/skills/components/skills-setting.tsx +9 -1
- package/features/workspace/workspace.ts +136 -3
- package/hooks/use-draft.ts +37 -0
- package/hooks/use-hotkey.ts +105 -0
- package/hooks/use-object-state.ts +51 -0
- package/hooks/use-on-visible.ts +72 -0
- package/hooks/use-theme.ts +106 -0
- package/hooks/use-wake-word.ts +262 -0
- package/lib/realtime/realtime.driver.ts +34 -1
- package/lib/realtime/realtime.protocol.ts +6 -0
- package/lib/sandbox.ts +9 -1
- package/lib/tokens.ts +19 -0
- package/package.json +1 -1
- package/.next/server/chunks/[root-of-the-server]__02kt8yn._.js +0 -10
- package/.next/server/chunks/[root-of-the-server]__0h59di-._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__0qjqtwo._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__0yk6s3w._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__0z3gelv._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__11w_7_3._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1_0q_9w._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1gmn1cs._.js +0 -10
- package/.next/server/chunks/_0fzqt2y._.js +0 -100
- package/.next/server/chunks/_0jgm3b8._.js +0 -55
- package/.next/server/chunks/_0ks6_sg._.js +0 -55
- package/.next/server/chunks/_0tzfesa._.js +0 -3
- package/.next/server/chunks/_0zmestz._.js +0 -55
- package/.next/server/chunks/_12nr4xc._.js +0 -3
- package/.next/server/chunks/_1hzrsvg._.js +0 -55
- package/.next/server/chunks/_1uj4_io._.js +0 -10
- package/.next/server/chunks/_1yldgo4._.js +0 -55
- package/.next/server/chunks/features_0scmr4i._.js +0 -3
- package/.next/server/chunks/features_bot_bot_query_ts_12mgkl2._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0ykklj0._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1ryg3wh._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1vwbnq_._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__01id-v3._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0b-0i32._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__185grso._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1minz8_._.js +0 -3
- package/.next/server/chunks/ssr/_0j4v8of._.js +0 -3
- package/.next/server/chunks/ssr/_0l81bzy._.js +0 -3
- package/.next/server/chunks/ssr/_10uvw3l._.js +0 -3
- package/.next/server/chunks/ssr/_1jbv7m1._.js +0 -3
- package/.next/server/chunks/ssr/lib_realtime_0aetuyp._.js +0 -24
- package/.next/server/chunks/ssr/lib_realtime_18k_aj-._.js +0 -24
- package/.next/server/chunks/ssr/node_modules_zod_v4_classic_errors_05xv7vp.js +0 -3
- package/.next/static/chunks/0yysv1gzin17t.js +0 -1
- package/.next/static/chunks/1keib_gt066gc.js +0 -1
- package/.next/static/chunks/28g42tw8tsvhd.js +0 -1
- package/.next/static/chunks/2cwjgkt_hoyhj.js +0 -22
- package/.next/static/chunks/2rbf1fpd8n80-.js +0 -22
- package/.next/static/chunks/2ukj8k69y89um.js +0 -1
- package/.next/static/chunks/2wngeetfnzxkp.js +0 -2
- package/.next/static/chunks/388-t2v72jh39.css +0 -1
- package/.next/static/chunks/3fqvc0cg-atq_.js +0 -1
- package/.next/static/chunks/3p4egvfjxpatb.js +0 -1
- package/.next/static/chunks/3qe1w1ei-huhl.js +0 -1
- package/.next/static/chunks/3y40riycdip-i.js +0 -1
- package/.next/static/chunks/45a6zbtkelph9.js +0 -1
- /package/.next/static/{X34BUd9bfdH27ripuwwBm → YR4NWcDDuzwLbTTU7U7Vr}/_buildManifest.js +0 -0
- /package/.next/static/{X34BUd9bfdH27ripuwwBm → YR4NWcDDuzwLbTTU7U7Vr}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{X34BUd9bfdH27ripuwwBm → YR4NWcDDuzwLbTTU7U7Vr}/_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/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":837457,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":347257,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":768017,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":897367,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/client/script.js":{"id":479520,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/app/api/events/app-event.client.ts":{"id":511769,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/components/ui/theme-sync.tsx":{"id":881283,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/components/ui/toast.tsx":{"id":6799,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":168027,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/features/intro/components/intro.tsx":{"id":302707,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js","/_next/static/chunks/21rk8w7bda-su.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/3qe1w1ei-huhl.js","/_next/static/chunks/31ttnjt6g35a0.js","/_next/static/chunks/0f9sq-7q_yxyl.js","/_next/static/chunks/3y40riycdip-i.js","/_next/static/chunks/1keib_gt066gc.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/29gyb3nubj51j.js","/_next/static/chunks/38gweqdo4jpfj.js","/_next/static/chunks/2uxum7qbyeyxd.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/3xxa2j56-f3nm.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/1fr5m75pwtyic.js","/_next/static/chunks/0tydnn2kybibk.js","/_next/static/chunks/18a96rkhi4_yd.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/3p4egvfjxpatb.js","/_next/static/chunks/0rsni9l5s4ou2.js","/_next/static/chunks/1rowt7kr1tu9y.js"],"async":false},"[project]/features/thursday/components/boot.tsx":{"id":252284,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js","/_next/static/chunks/21rk8w7bda-su.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/3qe1w1ei-huhl.js","/_next/static/chunks/31ttnjt6g35a0.js","/_next/static/chunks/0f9sq-7q_yxyl.js","/_next/static/chunks/3y40riycdip-i.js","/_next/static/chunks/1keib_gt066gc.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/29gyb3nubj51j.js","/_next/static/chunks/38gweqdo4jpfj.js","/_next/static/chunks/2uxum7qbyeyxd.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/3xxa2j56-f3nm.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/1fr5m75pwtyic.js","/_next/static/chunks/0tydnn2kybibk.js","/_next/static/chunks/18a96rkhi4_yd.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/3p4egvfjxpatb.js","/_next/static/chunks/0rsni9l5s4ou2.js","/_next/static/chunks/1rowt7kr1tu9y.js"],"async":false},"[project]/features/thursday/components/thursday.tsx":{"id":692888,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/2ukj8k69y89um.js","/_next/static/chunks/0ai8zhobo9662.js","/_next/static/chunks/21rk8w7bda-su.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/3qe1w1ei-huhl.js","/_next/static/chunks/31ttnjt6g35a0.js","/_next/static/chunks/0f9sq-7q_yxyl.js","/_next/static/chunks/3y40riycdip-i.js","/_next/static/chunks/1keib_gt066gc.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/29gyb3nubj51j.js","/_next/static/chunks/38gweqdo4jpfj.js","/_next/static/chunks/2uxum7qbyeyxd.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/3xxa2j56-f3nm.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/1fr5m75pwtyic.js","/_next/static/chunks/0tydnn2kybibk.js","/_next/static/chunks/18a96rkhi4_yd.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/3p4egvfjxpatb.js","/_next/static/chunks/0rsni9l5s4ou2.js","/_next/static/chunks/1rowt7kr1tu9y.js"],"async":true}},"ssrModuleMapping":{"339756":{"*":{"id":802420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"837457":{"*":{"id":324017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"347257":{"*":{"id":877682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"92825":{"*":{"id":697296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"768017":{"*":{"id":861660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"897367":{"*":{"id":990574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"27201":{"*":{"id":660704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"479520":{"*":{"id":496665,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"511769":{"*":{"id":986368,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"881283":{"*":{"id":198538,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"6799":{"*":{"id":864037,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"168027":{"*":{"id":340622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.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]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js","server/chunks/ssr/_10uvw3l._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_0cvjbuz._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/_1dcxzqe._.js","server/chunks/ssr/_0ay6b01._.js","server/chunks/ssr/_19_o9d-._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/_0y84qo6._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/[root-of-the-server]__01id-v3._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_18cymkq._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_077-g6s._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/_0l81bzy._.js","server/chunks/ssr/[root-of-the-server]__0lyi8i2._.js","server/chunks/ssr/_0ti51xc._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_zod_v4_classic_external_15fmmz3.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-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/_0-mc7ro._.js","server/chunks/ssr/_1fq7zgb._.js","server/chunks/ssr/node_modules_0rb-_la._.js"],"async":false}},"252284":{"*":{"id":72962,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js","server/chunks/ssr/_10uvw3l._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_0cvjbuz._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/_1dcxzqe._.js","server/chunks/ssr/_0ay6b01._.js","server/chunks/ssr/_19_o9d-._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/_0y84qo6._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/[root-of-the-server]__01id-v3._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_18cymkq._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_077-g6s._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/_0l81bzy._.js","server/chunks/ssr/[root-of-the-server]__0lyi8i2._.js","server/chunks/ssr/_0ti51xc._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_zod_v4_classic_external_15fmmz3.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-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/_0-mc7ro._.js","server/chunks/ssr/_1fq7zgb._.js","server/chunks/ssr/node_modules_0rb-_la._.js"],"async":false}},"692888":{"*":{"id":137079,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js","server/chunks/ssr/_10uvw3l._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_0cvjbuz._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/_1dcxzqe._.js","server/chunks/ssr/_0ay6b01._.js","server/chunks/ssr/_19_o9d-._.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/_0y84qo6._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/[root-of-the-server]__01id-v3._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_18cymkq._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_077-g6s._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/_0l81bzy._.js","server/chunks/ssr/[root-of-the-server]__0lyi8i2._.js","server/chunks/ssr/_0ti51xc._.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/node_modules_zod_v4_classic_external_15fmmz3.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-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/_0-mc7ro._.js","server/chunks/ssr/_1fq7zgb._.js","server/chunks/ssr/node_modules_0rb-_la._.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}},"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/388-t2v72jh39.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/388-t2v72jh39.css","inlined":false}],"[project]/app/page":[{"path":"static/chunks/233p45nuh4m5b.css","inlined":false},{"path":"static/chunks/02omaqvvszea3.css","inlined":false},{"path":"static/chunks/388-t2v72jh39.css","inlined":false}]},"entryJSFiles":{"[project]/app/layout":["static/chunks/3hibbjnt85-k6.js","static/chunks/2ukj8k69y89um.js","static/chunks/0ai8zhobo9662.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/3hibbjnt85-k6.js","static/chunks/2ukj8k69y89um.js","static/chunks/0ai8zhobo9662.js"],"[project]/app/page":["static/chunks/3hibbjnt85-k6.js","static/chunks/2ukj8k69y89um.js","static/chunks/0ai8zhobo9662.js","static/chunks/21rk8w7bda-su.js","static/chunks/0dcfqbly-089u.js","static/chunks/3t9huugh-5_ps.js","static/chunks/33lyk6a4x_hg8.js","static/chunks/0sqe8zks75fot.js","static/chunks/3qe1w1ei-huhl.js","static/chunks/31ttnjt6g35a0.js","static/chunks/0f9sq-7q_yxyl.js","static/chunks/3y40riycdip-i.js","static/chunks/1keib_gt066gc.js","static/chunks/43q9cgbuw8krx.js","static/chunks/2re701zfx-nrj.js","static/chunks/29gyb3nubj51j.js","static/chunks/38gweqdo4jpfj.js","static/chunks/2uxum7qbyeyxd.js","static/chunks/3l6bwn061vy22.js","static/chunks/3xxa2j56-f3nm.js","static/chunks/1d9i8nlx-zy9a.js","static/chunks/1fr5m75pwtyic.js","static/chunks/0tydnn2kybibk.js","static/chunks/18a96rkhi4_yd.js","static/chunks/3zgnmu3cnahk0.js","static/chunks/3p4egvfjxpatb.js","static/chunks/0rsni9l5s4ou2.js","static/chunks/1rowt7kr1tu9y.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/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":837457,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":347257,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":768017,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":897367,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/client/script.js":{"id":479520,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/app/api/events/app-event.client.ts":{"id":511769,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/components/ui/theme-sync.tsx":{"id":881283,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/components/ui/toast.tsx":{"id":6799,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":168027,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js"],"async":false},"[project]/features/intro/components/intro.tsx":{"id":302707,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js","/_next/static/chunks/28gotuisldmom.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/0dmns-gi0raa4.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/2ru1q132af7h7.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/0f9sq-7q_yxyl.js","/_next/static/chunks/3omud5xunrk1f.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/1pi_hbmjw-f-z.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/18a96rkhi4_yd.js","/_next/static/chunks/38gweqdo4jpfj.js","/_next/static/chunks/2uxum7qbyeyxd.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/29gyb3nubj51j.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/0rsni9l5s4ou2.js","/_next/static/chunks/1twt6k09vg4np.js","/_next/static/chunks/31ttnjt6g35a0.js","/_next/static/chunks/2998p0y7k1c8z.js","/_next/static/chunks/0pheo8m3a-rzi.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/1rowt7kr1tu9y.js"],"async":false},"[project]/features/thursday/components/boot.tsx":{"id":252284,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js","/_next/static/chunks/28gotuisldmom.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/0dmns-gi0raa4.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/2ru1q132af7h7.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/0f9sq-7q_yxyl.js","/_next/static/chunks/3omud5xunrk1f.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/1pi_hbmjw-f-z.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/18a96rkhi4_yd.js","/_next/static/chunks/38gweqdo4jpfj.js","/_next/static/chunks/2uxum7qbyeyxd.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/29gyb3nubj51j.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/0rsni9l5s4ou2.js","/_next/static/chunks/1twt6k09vg4np.js","/_next/static/chunks/31ttnjt6g35a0.js","/_next/static/chunks/2998p0y7k1c8z.js","/_next/static/chunks/0pheo8m3a-rzi.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/1rowt7kr1tu9y.js"],"async":false},"[project]/features/thursday/components/thursday.tsx":{"id":692888,"name":"*","chunks":["/_next/static/chunks/3hibbjnt85-k6.js","/_next/static/chunks/32z_ypgtchw48.js","/_next/static/chunks/0ai8zhobo9662.js","/_next/static/chunks/28gotuisldmom.js","/_next/static/chunks/0dcfqbly-089u.js","/_next/static/chunks/3t9huugh-5_ps.js","/_next/static/chunks/0dmns-gi0raa4.js","/_next/static/chunks/0sqe8zks75fot.js","/_next/static/chunks/2ru1q132af7h7.js","/_next/static/chunks/2re701zfx-nrj.js","/_next/static/chunks/0f9sq-7q_yxyl.js","/_next/static/chunks/3omud5xunrk1f.js","/_next/static/chunks/33lyk6a4x_hg8.js","/_next/static/chunks/1pi_hbmjw-f-z.js","/_next/static/chunks/43q9cgbuw8krx.js","/_next/static/chunks/18a96rkhi4_yd.js","/_next/static/chunks/38gweqdo4jpfj.js","/_next/static/chunks/2uxum7qbyeyxd.js","/_next/static/chunks/3l6bwn061vy22.js","/_next/static/chunks/29gyb3nubj51j.js","/_next/static/chunks/1d9i8nlx-zy9a.js","/_next/static/chunks/0rsni9l5s4ou2.js","/_next/static/chunks/1twt6k09vg4np.js","/_next/static/chunks/31ttnjt6g35a0.js","/_next/static/chunks/2998p0y7k1c8z.js","/_next/static/chunks/0pheo8m3a-rzi.js","/_next/static/chunks/3zgnmu3cnahk0.js","/_next/static/chunks/1rowt7kr1tu9y.js"],"async":true}},"ssrModuleMapping":{"339756":{"*":{"id":802420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"837457":{"*":{"id":324017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"347257":{"*":{"id":877682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"92825":{"*":{"id":697296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"768017":{"*":{"id":861660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"897367":{"*":{"id":990574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"27201":{"*":{"id":660704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"479520":{"*":{"id":496665,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"511769":{"*":{"id":986368,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"881283":{"*":{"id":198538,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"6799":{"*":{"id":864037,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js"],"async":false}},"168027":{"*":{"id":340622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.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]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js","server/chunks/ssr/_03webdr._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_0f_b_9s._.js","server/chunks/ssr/_1g6l4uj._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/_1ciyoo3._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/_0-mc7ro._.js","server/chunks/ssr/[root-of-the-server]__1xwnu-h._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_0x_nu5e._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_077-g6s._.js","server/chunks/ssr/_18cymkq._.js","server/chunks/ssr/_1ruzehw._.js","server/chunks/ssr/[root-of-the-server]__0lyi8i2._.js","server/chunks/ssr/_0ti51xc._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/node_modules_zod_v4_classic_external_15fmmz3.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/_1fq7zgb._.js","server/chunks/ssr/_0y84qo6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/node_modules_0rb-_la._.js"],"async":false}},"252284":{"*":{"id":72962,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js","server/chunks/ssr/_03webdr._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_0f_b_9s._.js","server/chunks/ssr/_1g6l4uj._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/_1ciyoo3._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/_0-mc7ro._.js","server/chunks/ssr/[root-of-the-server]__1xwnu-h._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_0x_nu5e._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_077-g6s._.js","server/chunks/ssr/_18cymkq._.js","server/chunks/ssr/_1ruzehw._.js","server/chunks/ssr/[root-of-the-server]__0lyi8i2._.js","server/chunks/ssr/_0ti51xc._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/node_modules_zod_v4_classic_external_15fmmz3.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/_1fq7zgb._.js","server/chunks/ssr/_0y84qo6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/node_modules_0rb-_la._.js"],"async":false}},"692888":{"*":{"id":137079,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0jsmmb-._.js","server/chunks/ssr/node_modules_clsx_dist_clsx_mjs_0q8hrxx._.js","server/chunks/ssr/node_modules_next_dist_1v8aef8._.js","server/chunks/ssr/_0h7zdni._.js","server/chunks/ssr/_03webdr._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js","server/chunks/ssr/_0f_b_9s._.js","server/chunks/ssr/_1g6l4uj._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js","server/chunks/ssr/node_modules_1c0h-_d._.js","server/chunks/ssr/node_modules_14gkv49._.js","server/chunks/ssr/_1ciyoo3._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_1vbiuwu._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js","server/chunks/ssr/_0-mc7ro._.js","server/chunks/ssr/[root-of-the-server]__1xwnu-h._.js","server/chunks/ssr/node_modules_1bmqmso._.js","server/chunks/ssr/_0x_nu5e._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js","server/chunks/ssr/_077-g6s._.js","server/chunks/ssr/_18cymkq._.js","server/chunks/ssr/_1ruzehw._.js","server/chunks/ssr/[root-of-the-server]__0lyi8i2._.js","server/chunks/ssr/_0ti51xc._.js","server/chunks/ssr/[root-of-the-server]__0l93lgv._.js","server/chunks/ssr/node_modules_zod_v4_classic_external_15fmmz3.js","server/chunks/ssr/node_modules_katex_dist_katex_mjs_1oxucd3._.js","server/chunks/ssr/_1fq7zgb._.js","server/chunks/ssr/_0y84qo6._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js","server/chunks/ssr/node_modules_0rb-_la._.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":643934,"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}},"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/0oc4_xoia77dg.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/0oc4_xoia77dg.css","inlined":false}],"[project]/app/page":[{"path":"static/chunks/233p45nuh4m5b.css","inlined":false},{"path":"static/chunks/02omaqvvszea3.css","inlined":false},{"path":"static/chunks/0oc4_xoia77dg.css","inlined":false}]},"entryJSFiles":{"[project]/app/layout":["static/chunks/3hibbjnt85-k6.js","static/chunks/32z_ypgtchw48.js","static/chunks/0ai8zhobo9662.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/3hibbjnt85-k6.js","static/chunks/32z_ypgtchw48.js","static/chunks/0ai8zhobo9662.js"],"[project]/app/page":["static/chunks/3hibbjnt85-k6.js","static/chunks/32z_ypgtchw48.js","static/chunks/0ai8zhobo9662.js","static/chunks/28gotuisldmom.js","static/chunks/0dcfqbly-089u.js","static/chunks/3t9huugh-5_ps.js","static/chunks/0dmns-gi0raa4.js","static/chunks/0sqe8zks75fot.js","static/chunks/2ru1q132af7h7.js","static/chunks/2re701zfx-nrj.js","static/chunks/0f9sq-7q_yxyl.js","static/chunks/3omud5xunrk1f.js","static/chunks/33lyk6a4x_hg8.js","static/chunks/1pi_hbmjw-f-z.js","static/chunks/43q9cgbuw8krx.js","static/chunks/18a96rkhi4_yd.js","static/chunks/38gweqdo4jpfj.js","static/chunks/2uxum7qbyeyxd.js","static/chunks/3l6bwn061vy22.js","static/chunks/29gyb3nubj51j.js","static/chunks/1d9i8nlx-zy9a.js","static/chunks/0rsni9l5s4ou2.js","static/chunks/1twt6k09vg4np.js","static/chunks/31ttnjt6g35a0.js","static/chunks/2998p0y7k1c8z.js","static/chunks/0pheo8m3a-rzi.js","static/chunks/3zgnmu3cnahk0.js","static/chunks/1rowt7kr1tu9y.js"]}};
|
|
3
3
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"/_global-error/page": "app/_global-error/page.js",
|
|
3
3
|
"/_not-found/page": "app/_not-found/page.js",
|
|
4
4
|
"/api/artifact/route": "app/api/artifact/route.js",
|
|
5
|
+
"/api/bot/notes/route": "app/api/bot/notes/route.js",
|
|
5
6
|
"/api/bot/route": "app/api/bot/route.js",
|
|
6
7
|
"/api/bot/task/[id]/route": "app/api/bot/task/[id]/route.js",
|
|
7
8
|
"/api/bot/task/route": "app/api/bot/task/route.js",
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[324725,(e,r,s)=>{r.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=0d-b_next_dist_server_app-render_after-task-async-storage_external_0-exn7p.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module.exports=[270406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},918622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},120635,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},556704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},832319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},559043,(e,t,r)=>{t.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},193695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},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"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},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"))},91264,e=>{"use strict";let t=e=>!!e&&"object"==typeof e&&(!0===e.$ok||!1===e.$ok),r=e=>t(e)&&e.$ok,n=e=>({$ok:!0,data:e}),o=e=>({$ok:!1,message:e});var i=e.i(379509),u=e.i(915874),a=e.i(640911),s=e.i(53748);async function l(e){try{let o=n(await e());for(;r(o)&&t(o.data);)o=o.data;return o}catch(e){if((0,i.unstable_rethrow)(e),(0,s.isPublicError)(e))return o(e.message);if(e instanceof u.ZodError)return o(e.issues[0]?.message);if(t(e)&&!e.$ok)return e;return a.logger.error(e),o()}}e.s(["serverRoute",0,e=>async(t,n)=>{let o=await l(()=>e(t,n));return r(o)&&o.data instanceof Response?o.data:Response.json(o)}],91264)},53748,e=>{"use strict";class t extends Error{message;constructor(e){super(e),this.message=e}}e.s(["isPublicError",0,e=>e instanceof t,"publicError",0,function(e){throw new t(e)}])},462782,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isNextRouterError",{enumerable:!0,get:function(){return i}});let n=e.r(712053),o=e.r(319334);function i(e){return(0,o.isRedirectError)(e)||(0,n.isHTTPAccessFallbackError)(e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},708595,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return o}});class n extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams"),Object.defineProperty(this,"__NEXT_ERROR_CODE",{value:"E1174",enumerable:!1,configurable:!0})}}class o extends URLSearchParams{append(){throw new n}delete(){throw new n}set(){throw new n}sort(){throw new n}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},950723,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RedirectStatusCode",{enumerable:!0,get:function(){return o}});var n,o=((n={})[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},319334,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={REDIRECT_ERROR_CODE:function(){return u},isRedirectError:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(950723),u="NEXT_REDIRECT";function a(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,n]=t,o=t.slice(2,-2).join(";"),a=Number(t.at(-2));return r===u&&("replace"===n||"push"===n)&&"string"==typeof o&&!isNaN(a)&&a in i.RedirectStatusCode}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},515458,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={actionAsyncStorage:function(){return i.actionAsyncStorage},workAsyncStorage:function(){return u.workAsyncStorage},workUnitAsyncStorage:function(){return a.workUnitAsyncStorage}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(120635),u=e.r(556704),a=e.r(832319);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},922349,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getRedirectError:function(){return s},getRedirectStatusCodeFromError:function(){return p},getRedirectTypeFromError:function(){return f},getURLFromRedirectError:function(){return c},permanentRedirect:function(){return d},redirect:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(950723),u=e.r(319334),a=e.r(515458);function s(e,t,r=i.RedirectStatusCode.TemporaryRedirect){let n=Object.defineProperty(Error(u.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n.digest=`${u.REDIRECT_ERROR_CODE};${t};${e};${r};`,n}function l(e,t){throw s(e,t??=a.actionAsyncStorage?.getStore()?.isAction?"push":"replace",i.RedirectStatusCode.TemporaryRedirect)}function d(e,t="replace"){throw s(e,t,i.RedirectStatusCode.PermanentRedirect)}function c(e){return(0,u.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function f(e){if(!(0,u.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return e.digest.split(";",2)[1]}function p(e){if(!(0,u.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(e.digest.split(";").at(-2))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},712053,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HTTPAccessErrorStatus:function(){return i},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return a},getAccessFallbackErrorTypeByStatus:function(){return d},getAccessFallbackHTTPStatus:function(){return l},isHTTPAccessFallbackError:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},u=new Set(Object.values(i)),a="NEXT_HTTP_ERROR_FALLBACK";function s(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r]=e.digest.split(";");return t===a&&u.has(Number(r))}function l(e){return Number(e.digest.split(";")[1])}function d(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},102507,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"notFound",{enumerable:!0,get:function(){return i}});let n=e.r(712053),o=`${n.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function i(){let e=Object.defineProperty(Error(o),"__NEXT_ERROR_CODE",{value:"E1041",enumerable:!1,configurable:!0});throw e.digest=o,e}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},647658,(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"forbidden",{enumerable:!0,get:function(){return n}}),e.r(712053).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},235458,(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unauthorized",{enumerable:!0,get:function(){return n}}),e.r(712053).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},109811,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,u.isNextRouterError)(t)||(0,i.isBailoutToCSRError)(t)||(0,s.isDynamicServerError)(t)||(0,a.isDynamicPostpone)(t)||(0,o.isPostpone)(t)||(0,n.isHangingPromiseRejectionError)(t)||(0,a.isPrerenderInterruptedError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=e.r(204642),o=e.r(267539),i=e.r(331584),u=e.r(462782),a=e.r(868665),s=e.r(865252);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},379509,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},RedirectType:function(){return f},forbidden:function(){return s.forbidden},notFound:function(){return a.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},unauthorized:function(){return l.unauthorized},unstable_isUnrecognizedActionError:function(){return c},unstable_rethrow:function(){return d.unstable_rethrow}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(708595),u=e.r(922349),a=e.r(102507),s=e.r(647658),l=e.r(235458),d=e.r(109811);function c(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}let f={push:"push",replace:"replace"};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},819481,(e,t,r)=>{"use strict";var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,u=Object.prototype.hasOwnProperty,a={},s={RequestCookies:()=>b,ResponseCookies:()=>y,parseCookie:()=>c,parseSetCookie:()=>f,stringifyCookie:()=>d};for(var l in s)n(a,l,{get:s[l],enumerable:!0});function d(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${r.join("; ")}`}function c(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[n,o]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=o?o:"true"))}catch{}}return t}function f(e){if(!e)return;let[[t,r],...n]=c(e),{domain:o,expires:i,httponly:u,maxage:a,path:s,samesite:l,secure:d,partitioned:f,priority:b}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var y,m,g={name:t,value:decodeURIComponent(r),domain:o,...i&&{expires:new Date(i)},...u&&{httpOnly:!0},..."string"==typeof a&&{maxAge:Number(a)},path:s,...l&&{sameSite:p.includes(y=(y=l).toLowerCase())?y:void 0},...d&&{secure:!0},...b&&{priority:_.includes(m=(m=b).toLowerCase())?m:void 0},...f&&{partitioned:!0}};let e={};for(let t in g)g[t]&&(e[t]=g[t]);return e}}t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of i(t))u.call(e,a)||void 0===a||n(e,a,{get:()=>t[a],enumerable:!(r=o(t,a))||r.enumerable});return e})(n({},"__esModule",{value:!0}),a);var p=["strict","lax","none"],_=["low","medium","high"],b=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,r]of c(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===n).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,n=this._parsed;return n.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(n).map(([e,t])=>d(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>d(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},y=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;const o=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(const e of Array.isArray(o)?o:function(e){if(!e)return[];var t,r,n,o,i,u=[],a=0;function s(){for(;a<e.length&&/\s/.test(e.charAt(a));)a+=1;return a<e.length}for(;a<e.length;){for(t=a,i=!1;s();)if(","===(r=e.charAt(a))){for(n=a,a+=1,s(),o=a;a<e.length&&"="!==(r=e.charAt(a))&&";"!==r&&","!==r;)a+=1;a<e.length&&"="===e.charAt(a)?(i=!0,a=o,u.push(e.substring(t,n)),t=a):a=n+1}else a+=1;(!i||a>=e.length)&&u.push(e.substring(t,e.length))}return u}(o)){const t=f(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===n)}has(e){return this._parsed.has(e)}set(...e){let[t,r,n]=1===e.length?[e[0].name,e[0].value,e[0]]:e,o=this._parsed;return o.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...n})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=d(r);t.append("set-cookie",e)}}(o,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(d).join("; ")}}},267539,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isPostpone",{enumerable:!0,get:function(){return o}});let n=Symbol.for("react.postpone");function o(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}},442315,(e,t,r)=>{"use strict";t.exports=e.r(918622)},347540,(e,t,r)=>{"use strict";t.exports=e.r(442315).vendored["react-rsc"].React}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0-npkh_._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[418520,e=>e.a(async(i,a)=>{try{var l=await e.y("@libsql/client-6da938047d5fc1cd");e.n(l),a()}catch(e){a(e)}},!0),902157,(e,i,a)=>{i.exports=e.x("node:fs",()=>require("node:fs"))},264079,e=>{"use strict";var i=e.i(469719);i.z.object({value:i.z.string().min(1),expires_at:i.z.number()});let a=i.z.enum(["openai","anthropic","google","xai","vercel-ai-gateway"]),l=i.z.object({provider:a,model:i.z.string().trim().min(1,"Model name is required").max(80)}),t=i.z.enum(["openai","xai"]),r=i.z.object({provider:t,voice:i.z.string().trim().min(1).max(64).nullish(),model:i.z.string().trim().min(1).max(80).nullish()}),n=i.z.enum(["openai","google","xai","vercel-ai-gateway"]),d=i.z.object({provider:n,model:i.z.string().trim().min(1,"Model name is required").max(120)}),s={openai:{label:"Open AI",apiKeyName:"OPENAI_API_KEY",models:{image:[{id:"gpt-image-1-mini",label:"GPT Image 1 mini",tier:"small"},{id:"gpt-image-1.5",label:"GPT Image 1.5",tier:"mid"},{id:"gpt-image-2",label:"GPT Image 2",tier:"large"}],video:[],speech:[{id:"tts-1",label:"TTS 1",tier:"small"},{id:"gpt-4o-mini-tts",label:"4o mini TTS",tier:"mid"},{id:"tts-1-hd",label:"TTS 1 HD",tier:"large"}],transcription:[{id:"whisper-1",label:"Whisper",tier:"small"},{id:"gpt-4o-mini-transcribe",label:"4o mini Transcribe",tier:"small"},{id:"gpt-4o-transcribe",label:"4o Transcribe",tier:"mid"}]}},google:{label:"Gemini",apiKeyName:"GOOGLE_GENERATIVE_AI_API_KEY",models:{image:[{id:"gemini-2.5-flash-image",label:"2.5 Flash Image",tier:"small"},{id:"gemini-3.1-flash-image-preview",label:"3.1 Flash Image",tier:"mid"},{id:"gemini-3-pro-image-preview",label:"3 Pro Image",tier:"large"}],video:[{id:"veo-3.1-lite-generate-preview",label:"Veo 3.1 Lite",tier:"small"},{id:"veo-3.1-fast-generate-preview",label:"Veo 3.1 Fast",tier:"mid"},{id:"veo-3.1-generate",label:"Veo 3.1",tier:"large"}],speech:[{id:"gemini-2.5-flash-preview-tts",label:"2.5 Flash TTS",tier:"small"},{id:"gemini-3.1-flash-tts-preview",label:"3.1 Flash TTS",tier:"mid"},{id:"gemini-2.5-pro-preview-tts",label:"2.5 Pro TTS",tier:"large"}],transcription:[{id:"gemini-3.5-transcribe",label:"3.5 Transcribe",tier:"mid"}]}},xai:{label:"xAI",apiKeyName:"XAI_API_KEY",models:{image:[{id:"grok-imagine-image",label:"Grok Imagine",tier:"small"},{id:"grok-imagine-image-pro",label:"Grok Imagine Pro",tier:"mid"}],video:[{id:"grok-imagine-video",label:"Grok Imagine Video",tier:"small"},{id:"grok-imagine-video-1.5",label:"Grok Imagine Video 1.5",tier:"mid"}],speech:[{id:"grok-tts",label:"Grok TTS",tier:"mid"}],transcription:[{id:"grok-stt",label:"Grok STT",tier:"mid"}]}},"vercel-ai-gateway":{label:"Vercel AI GateWay",apiKeyName:"AI_GATEWAY_API_KEY",models:{image:[{id:"bytedance/seedream-5.0-lite",label:"Seedream 5.0 Lite",tier:"small"},{id:"bfl/flux-2-klein-9b",label:"FLUX 2 Klein 9B",tier:"small"},{id:"spacexai/grok-imagine-image-2.0",label:"Grok Imagine 2.0",tier:"small"},{id:"google/gemini-3.1-flash-image",label:"Gemini 3.1 Flash Image",tier:"mid"},{id:"bfl/flux-2-pro",label:"FLUX 2 Pro",tier:"mid"},{id:"bytedance/seedream-5.0-pro",label:"Seedream 5.0 Pro",tier:"mid"},{id:"recraft/recraft-v4.1",label:"Recraft V4.1",tier:"mid"},{id:"google/gemini-3-pro-image",label:"Gemini 3 Pro Image",tier:"large"},{id:"openai/gpt-image-2",label:"GPT Image 2",tier:"large"}],video:[{id:"bytedance/seedance-2.0-mini",label:"Seedance 2.0 Mini",tier:"small"},{id:"google/veo-3.1-lite-generate-001",label:"Veo 3.1 Lite",tier:"small"},{id:"alibaba/wan-v2.6-t2v",label:"Wan 2.6",tier:"small"},{id:"google/veo-3.1-fast-generate-001",label:"Veo 3.1 Fast",tier:"mid"},{id:"bytedance/seedance-2.5",label:"Seedance 2.5",tier:"mid"},{id:"spacexai/grok-imagine-video-1.5",label:"Grok Imagine Video 1.5",tier:"mid"},{id:"klingai/kling-v3.0-t2v",label:"Kling 3.0",tier:"large"},{id:"google/veo-3.1-generate-001",label:"Veo 3.1",tier:"large"}],speech:[{id:"fish-audio/s1",label:"Fish Audio S1",tier:"small"},{id:"openai/tts-1",label:"OpenAI TTS 1",tier:"small"},{id:"spacexai/grok-tts",label:"Grok TTS",tier:"mid"},{id:"fish-audio/s2.1-pro",label:"Fish Audio S2.1 Pro",tier:"mid"},{id:"openai/tts-1-hd",label:"OpenAI TTS 1 HD",tier:"large"}],transcription:[{id:"spacexai/grok-stt",label:"Grok STT",tier:"small"},{id:"fish-audio/transcribe-1",label:"Fish Transcribe 1",tier:"small"},{id:"openai/gpt-4o-mini-transcribe",label:"4o mini Transcribe",tier:"small"},{id:"openai/gpt-4o-transcribe",label:"4o Transcribe",tier:"mid"},{id:"google/gemini-3.5-transcribe",label:"Gemini 3.5 Transcribe",tier:"mid"}]}}},o=Object.keys(s).map(e=>({id:e,...s[e]})),m={openai:{label:"Open AI",apiKeyName:"OPENAI_API_KEY",suggestModels:[{id:"gpt-5.6-luna",label:"5.6 Luna",tier:"small"},{id:"gpt-5.6-terra",label:"5.6 Terra",tier:"mid"},{id:"gpt-5.6-sol",label:"5.6 Sol",tier:"large"},{id:"gpt-6-astra",label:"6 Astra",tier:"large"}]},anthropic:{label:"Claude",apiKeyName:"ANTHROPIC_API_KEY",suggestModels:[{id:"claude-haiku-4-5-20251001",label:"Haiku 4.5",tier:"small"},{id:"claude-sonnet-5",label:"Sonnet 5",tier:"mid"},{id:"claude-opus-5",label:"Opus 5",tier:"large"},{id:"claude-fable-5-1",label:"Fable 5.1",tier:"large"}]},google:{label:"Gemini",apiKeyName:"GOOGLE_GENERATIVE_AI_API_KEY",suggestModels:[{id:"gemini-3.8-flash",label:"3.8 Flash",tier:"mid"}]},xai:{label:"xAI",apiKeyName:"XAI_API_KEY",suggestModels:[{id:"grok-4.6",label:"Grok 4.6",tier:"large"}]},"vercel-ai-gateway":{label:"Vercel AI GateWay",apiKeyName:"AI_GATEWAY_API_KEY",suggestModels:[{id:"zai/glm-5.3-flash",label:"GLM 5.3 Flash",tier:"small"},{id:"google/gemini-3.8-flash",label:"Gemini 3.8 Flash",tier:"small"},{id:"openai/gpt-5.6-luna",label:"GPT 5.6 Luna",tier:"small"},{id:"zai/glm-5.3",label:"GLM 5.3",tier:"mid"},{id:"spacexai/grok-4.6",label:"Grok 4.6",tier:"mid"},{id:"anthropic/claude-sonnet-5",label:"Claude Sonnet 5",tier:"mid"},{id:"openai/gpt-5.6-terra",label:"GPT 5.6 Terra",tier:"mid"},{id:"moonshotai/kimi-k3",label:"Kimi K3",tier:"mid"},{id:"openai/gpt-5.6-sol",label:"GPT 5.6 Sol",tier:"large"},{id:"anthropic/claude-opus-5",label:"Claude Opus 5",tier:"large"}]}},u=(e,i)=>(e.suggestModels.find(e=>e.tier===i)??e.suggestModels[0])?.id,g={openai:{apiKeyName:m.openai.apiKeyName,label:m.openai.label,keyPrefix:["sk-"],models:[{id:"gpt-realtime-2.1",label:"Realtime 2.1"},{id:"gpt-realtime-2.1-mini",label:"Realtime 2.1 mini"},{id:"gpt-realtime-2",label:"Realtime 2"}],voices:["marin","cedar","alloy","ash","ballad","coral","echo","sage","shimmer","verse"],defaultVoice:"marin"},xai:{apiKeyName:m.xai.apiKeyName,label:m.xai.label,keyPrefix:["xai-"],models:[{id:"grok-voice-think-fast-2.0",label:"Voice Think Fast 2.0"},{id:"grok-voice-latest",label:"Voice latest"}],voices:["eve","ara","leo","rex","sal"],defaultVoice:"eve"}},b=Object.keys(g).map(e=>({id:e,...g[e]})),c=Object.keys(m).map(e=>({id:e,...m[e]}));e.s(["GATEWAY_TEXT",0,"language","MEDIA_MODEL_PROVIDERS",0,s,"MEDIA_MODEL_PROVIDER_LIST",0,o,"SPEACH_MODEL_PROVIDERS",0,g,"SPEACH_MODEL_PROVIDER_LIST",0,b,"TEXT_MODEL_PROVIDERS",0,m,"TEXT_MODEL_PROVIDER_LIST",0,c,"canMakeKind",0,(e,i)=>(s[e]?.models[i]?.length??0)>0,"cheapestModelOf",0,e=>u(e,"small"),"defaultModelOf",0,e=>u(e,"mid"),"parseMediaModel",0,function(e){let[i,...a]=(e??"").trim().split("/"),l=d.safeParse({provider:i,model:a.join("/")});return l.success?l.data:null},"parseTextModel",0,function(e){let[i,...a]=(e??"").trim().split("/"),t=l.safeParse({provider:i,model:a.join("/")});return t.success?t.data:null},"speachModelRefSchema",0,r,"textModelProviderSchema",0,a],264079)},944971,514499,e=>{"use strict";var i=e.i(105249),a=e.i(687388),l=e.i(264079),t=e.i(704161);let r={name:{max:16},shortDescription:{max:60},description:{max:100},prompt:{max:2e3}};e.s(["COMMON_VALIDATE",0,r],514499);var n=e.i(41444);Array(8).fill(0);let d="currentColor",s=[{id:"system",label:"System",value:d},{id:"slate",label:"Slate",value:"#64748B"},{id:"indigo",label:"Indigo",value:"#6366F1"},{id:"blue",label:"Blue",value:"#3B82F6"},{id:"cyan",label:"Cyan",value:"#06B6D4"},{id:"teal",label:"Teal",value:"#14B8A6"},{id:"green",label:"Green",value:"#22C55E"},{id:"lime",label:"Lime",value:"#84CC16"},{id:"amber",label:"Amber",value:"#F59E0B"},{id:"orange",label:"Orange",value:"#F97316"},{id:"red",label:"Red",value:"#EF4444"},{id:"pink",label:"Pink",value:"#EC4899"},{id:"violet",label:"Violet",value:"#8B5CF6"},{id:"fuchsia",label:"Fuchsia",value:"#D946EF"},{id:"rose",label:"Rose",value:"#F43F5E"},{id:"sky",label:"Sky",value:"#0EA5E9"},{id:"emerald",label:"Emerald",value:"#10B981"},{id:"yellow",label:"Yellow",value:"#EAB308"},{id:"stone",label:"Stone",value:"#78716C"},{id:"navy",label:"Navy",value:"#1E3A8A",dark:!0},{id:"ocean",label:"Ocean",value:"#155E75",dark:!0},{id:"pine",label:"Pine",value:"#166534",dark:!0},{id:"moss",label:"Moss",value:"#3F6212",dark:!0},{id:"olive",label:"Olive",value:"#854D0E",dark:!0},{id:"rust",label:"Rust",value:"#9A3412",dark:!0},{id:"wine",label:"Wine",value:"#9F1239",dark:!0},{id:"plum",label:"Plum",value:"#6B21A8",dark:!0},{id:"grape",label:"Grape",value:"#5B21B6",dark:!0},{id:"iron",label:"Iron",value:"#334155",dark:!0}],o=Object.fromEntries(s.map(e=>[e.id,e.value]));s.filter(e=>e.value!==d).map(e=>e.value),o.amber,o.red,s.filter(e=>e.value!==d&&!("dark"in e)).map(e=>e.value),s.filter(e=>"dark"in e).map(e=>e.value);let m=i.default.object({color:i.default.string().regex(/^(#[0-9a-fA-F]{6}|currentColor)$/,"Hex color").optional(),shape:i.default.enum(["blob","poly","squircle"]).optional(),outline:i.default.boolean().optional()}),u=i.default.string().max(r.prompt.max),g=i.default.object({id:i.default.number(),name:i.default.string(),serverName:i.default.string()}),b=i.default.string().trim().transform(e=>e.replace(/\s+/g," ")).pipe(i.default.string().min(1,"A name is required").max(r.name.max)),c=i.default.object({input:i.default.number(),output:i.default.number()});i.default.object({name:i.default.string(),description:i.default.string(),systemPrompt:i.default.string().nullish(),icon:m.nullish(),provider:l.textModelProviderSchema.nullish(),model:i.default.string().nullish(),createdAt:t.DateLikeSchema,tools:g.array().default([]),tokens:c,lastJobAt:t.DateLikeSchema.nullish(),note:i.default.string().nullish(),noteAt:t.DateLikeSchema.nullish()}),i.default.object({name:b,description:i.default.string().trim().min(1,"Say what this bot is for").max(r.description.max),systemPrompt:u.optional(),icon:m.optional(),provider:l.textModelProviderSchema.nullish(),model:i.default.string().trim().max(80).nullish(),toolIds:i.default.number().int().array().max(10).default([])});let p=a.PAGE_SIZE,f=i.default.discriminatedUnion("type",[i.default.object({type:i.default.literal("text"),text:i.default.string()}),i.default.object({type:i.default.literal("image"),src:i.default.string()})]),h=i.default.object({id:i.default.string(),seq:i.default.number(),bot:i.default.string().nullable(),parent:i.default.string().nullable(),at:t.DateLikeSchema}),v=i.default.discriminatedUnion("kind",[h.extend({kind:i.default.literal("user"),text:i.default.string()}),h.extend({kind:i.default.literal("text"),text:i.default.string()}),h.extend({kind:i.default.literal("note"),text:i.default.string()}),h.extend({kind:i.default.literal("tool"),callId:i.default.string(),name:i.default.string(),input:i.default.string(),note:i.default.string().nullish(),path:i.default.string().nullish()}),h.extend({kind:i.default.literal("tool-result"),callId:i.default.string(),name:i.default.string(),results:f.array(),more:i.default.boolean()}),h.extend({kind:i.default.literal("ask"),callId:i.default.string(),to:i.default.string(),text:i.default.string()}),h.extend({kind:i.default.literal("ask-result"),callId:i.default.string(),text:i.default.string()}),h.extend({kind:i.default.literal("waiting"),callId:i.default.string(),question:i.default.string(),options:i.default.string().array()})]),k=i.default.object({question:i.default.string(),options:i.default.string().array()});i.default.object({id:i.default.string(),bot:i.default.string(),label:i.default.string(),request:i.default.string(),status:i.default.enum(["running","waiting","done","failed"]),outcome:i.default.string().nullable(),ask:k.nullable(),reported:i.default.boolean(),tokens:c,contextTokens:i.default.number(),contextBudget:i.default.number(),createdAt:t.DateLikeSchema,updatedAt:t.DateLikeSchema,lines:v.array()}),e.s(["BOT_NOTES_KEY",0,"BOT_NOTES","DEFAULT_BOT",0,{name:"Jarvis",description:"Anything — this computer, a browser, the web, files, services",systemPrompt:null,icon:{color:"#14B8A6",shape:"squircle"},provider:null,model:null},"NO_TOKENS",0,{input:0,output:0},"TASK_CONTINUE",0,"Continue","TASK_HISTORY_PAGE",0,p,"botIconSchema",0,m,"isBotNotesOn",0,e=>e?.trim()!=="off","taskActivity",0,function(e,i=120){let a=null;for(let l=e.length-1;l>=0;l--){let t=e[l];if("tool"===t.kind)a??=`${t.name} ${t.note??t.input}`;else if("text"===t.kind)return(0,n.clip)(a?`${t.text} → ${a}`:t.text,i);else if("ask"===t.kind)return(0,n.clip)(t.parent?`asked ${t.to}: ${t.text}`:`asked ${t.to} for: ${t.text}`,i);else if("user"===t.kind||"waiting"===t.kind)break}return a?(0,n.clip)(a,i):null}],944971)},279041,e=>{"use strict";var i=e.i(264079);let a=[...new Set(Object.values(i.SPEACH_MODEL_PROVIDERS).map(e=>e.apiKeyName))],l={image:"IMAGE_MODEL",video:"VIDEO_MODEL",speech:"SPEECH_MODEL",transcription:"TRANSCRIPTION_MODEL"},t={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"}},r="DEFAULT_MODEL",n={key:r,label:"Default model",hint:"What a bot thinks with until it picks its own",text:!0,choices:i.TEXT_MODEL_PROVIDER_LIST.flatMap(e=>e.suggestModels.map(i=>({value:`${e.id}/${i.id}`,label:`${e.label} \xb7 ${i.label}`,needs:e.apiKeyName})))},d=e=>a.includes(e.apiKeyName),s=e=>({key:e.apiKeyName,label:e.label,provider:e.id}),o=[{id:"voice",title:"voice",hint:"calls run on one of these",section:"keys",require:"any",note:"one is required",entries:i.TEXT_MODEL_PROVIDER_LIST.filter(d).map(s)},{id:"text",title:"models",hint:"what bots think with — add any, or none",section:"keys",require:"none",entries:i.TEXT_MODEL_PROVIDER_LIST.filter(e=>!d(e)).map(s)},{id:"bots",title:"Bots",hint:"what a bot runs on when it has not picked its own",section:"models",require:"none",entries:[n]},{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(l).map(e=>({key:l[e],...t[e],kind:e,choices:i.MEDIA_MODEL_PROVIDER_LIST.flatMap(i=>i.models[e].map(e=>({value:`${i.id}/${e.id}`,label:`${i.label} \xb7 ${e.label}`,needs:i.apiKeyName})))}))}];Object.fromEntries(o.flatMap(e=>e.entries).map(e=>[e.key,e]));let m=o.flatMap(e=>e.entries.map(e=>e.key)),u=Object.fromEntries(o.flatMap(e=>e.entries).filter(e=>e.choices?.length).map(e=>[e.key,e.choices]));e.s(["CONFIG_CHOICES",0,u,"CONFIG_KEYS",0,m,"DEFAULT_MODEL_KEY",0,r,"MEDIA_MODEL_KEYS",0,l])},340698,e=>e.a(async(i,a)=>{try{var l=e.i(875225),t=e.i(528790),r=e.i(613240);e.i(279041);var n=i([t]);async function d(e){let i=process.env[e]?.trim();if(i)return i;let[a]=await t.database.select({value:r.configTable.value}).from(r.configTable).where((0,l.eq)(r.configTable.key,e));return a?.value.trim()||void 0}[t]=n.then?(await n)():n,e.s(["readConfig",0,d]),a()}catch(e){a(e)}},!1),704161,e=>{"use strict";var i=e.i(469719);let a=i.z.union([i.z.date(),i.z.iso.datetime()]);e.s(["DateLikeSchema",0,a,"toDate",0,e=>new Date(e)])},105249,e=>{"use strict";var i=e.i(562810);e.s(["default",0,i])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__005var5._.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
module.exports=[418520,e=>e.a(async(t,r)=>{try{var s=await e.y("@libsql/client-6da938047d5fc1cd");e.n(s),r()}catch(e){r(e)}},!0),902157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},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,s,o,n
|
|
1
|
+
module.exports=[418520,e=>e.a(async(t,r)=>{try{var s=await e.y("@libsql/client-6da938047d5fc1cd");e.n(s),r()}catch(e){r(e)}},!0),902157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},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,s,o,a,n;var c,l=e.i(333925),i=e.i(938281);let u={tasks:!0,memory:!0,mcp:!0,"memory-tidy":!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)})}),_=p.__presence??=(c=l.BROWSER_GONE_MS,r=!1,s=null,o=new Set,a=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){s&&clearTimeout(s),s=null,r||(r=!0,n(a));return}!s&&r&&(s=setTimeout(()=>{s=null,r=!1,n(o)},c))},onGone:e=>(o.add(e),()=>o.delete(e)),onBack:e=>(a.add(e),()=>a.delete(e))}),m=p.__appEventStream??=function(e,t={}){let r=new TextEncoder,s=t.heartbeatMs??2e4,o=0;return{respond:(a,n)=>{let c=()=>{};return new Response(new ReadableStream({async start(l){let u=!1,p=new Map,d=[],_=e=>{if(!u)try{l.enqueue(r.encode(e))}catch{c()}},m=e=>_(`data: ${JSON.stringify(e)}
|
|
2
2
|
|
|
3
|
-
`),f=e=>{let r=t.coalesce?.keyOf(e)??null;if(null===r)return m(e);let s=p.get(r);s&&clearTimeout(s),p.set(r,setTimeout(()=>{p.delete(r),m(e)},t.coalesce?.ms))},h=e.subscribe(e=>d?d.push(e):f(e)),
|
|
3
|
+
`),f=e=>{let r=t.coalesce?.keyOf(e)??null;if(null===r)return m(e);let s=p.get(r);s&&clearTimeout(s),p.set(r,setTimeout(()=>{p.delete(r),m(e)},t.coalesce?.ms))},h=e.subscribe(e=>d?d.push(e):f(e)),T=setInterval(()=>_(": ping\n\n"),s);o+=1,t.onWatchers?.(o),c=()=>{if(!u){for(let e of(u=!0,o-=1,t.onWatchers?.(o),h(),clearInterval(T),p.values()))clearTimeout(e);try{l.close()}catch{}}},a.addEventListener("abort",c);try{for(let e of await n?.()??[])m(e)}catch(e){i.logger.error("event stream opening failed",e),c();return}let E=d;for(let e of(d=null,E))f(e)},cancel(){c()}}),{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:_.track});p.__bootId??=crypto.randomUUID(),e.s(["appEventStream",0,m,"appEvents",0,d,"presence",0,_],232347)},333925,e=>{"use strict";let t=process.env.THURSDAY_APP_DIR?.trim()||process.cwd(),r=process.env.THURSDAY_HOME?.trim()||process.cwd(),s=process.env.THURSDAY_URL?.trim()||`http://localhost:${process.env.PORT?.trim()||3e3}`,o=`file:${r}/local.db`,a=".ai-workspace",n={workspace:a,artifacts:"artifacts",projects:"projects",scratch:"scratch",bots:"bots",output:".output",skills:{default:"skills",custom:`${a}/.agents/skills`}};e.s(["APP_DIR",0,t,"APP_NAME",0,"Thursday","APP_URL",0,s,"BOT_NOTES",0,{chars:400},"BOT_RUN",0,{steps:25,compactAt:12e4,summaryWords:{min:600,max:3e3,perTokens:200},resumeMessages:20},"BROWSER_GONE_MS",0,1e4,"BROWSER_VIEWPORT",0,"700x700","DATA_DIR",0,r,"DB_FILE_NAME",0,o,"IS_DEV",0,!1,"MEMORY_LISTING_TOKENS",0,1e3,"PAGE_SIZE",0,50,"PATHS",0,n,"PROMPT_BUDGET",0,6e3,"PROMPT_LINE",0,{skill:90,toolArgs:30},"STUDIO_SERVER",0,"studio","TOOL_OUTPUT",0,{max:8e3,head:5500,tail:1500}])},207580,e=>{e.v(t=>Promise.all(["server/chunks/[externals]__0y3n8y6._.js","server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0q8fc1x._.js"].map(t=>e.l(t))).then(()=>t(27996)))}];
|
|
4
4
|
|
|
5
5
|
//# sourceMappingURL=%5Broot-of-the-server%5D__019dx9f._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[418520,e=>e.a(async(t,a)=>{try{var i=await e.y("@libsql/client-6da938047d5fc1cd");e.n(i),a()}catch(e){a(e)}},!0),902157,(e,t,a)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},750227,(e,t,a)=>{t.exports=e.x("node:path",()=>require("node:path"))},333925,e=>{"use strict";let t=process.env.THURSDAY_APP_DIR?.trim()||process.cwd(),a=process.env.THURSDAY_HOME?.trim()||process.cwd(),i=process.env.THURSDAY_URL?.trim()||`http://localhost:${process.env.PORT?.trim()||3e3}`,o=`file:${a}/local.db`,s=".ai-workspace",n={workspace:s,artifacts:"artifacts",projects:"projects",scratch:"scratch",bots:"bots",output:".output",skills:{default:"skills",custom:`${s}/.agents/skills`}};e.s(["APP_DIR",0,t,"APP_NAME",0,"Thursday","APP_URL",0,i,"BOT_NOTES",0,{chars:400},"BOT_RUN",0,{steps:25,compactAt:12e4,summaryWords:{min:600,max:3e3,perTokens:200},resumeMessages:20},"BROWSER_GONE_MS",0,1e4,"BROWSER_VIEWPORT",0,"700x700","DATA_DIR",0,a,"DB_FILE_NAME",0,o,"IS_DEV",0,!1,"MEMORY_LISTING_TOKENS",0,1e3,"PAGE_SIZE",0,50,"PATHS",0,n,"PROMPT_BUDGET",0,6e3,"PROMPT_LINE",0,{skill:90,toolArgs:30},"STUDIO_SERVER",0,"studio","TOOL_OUTPUT",0,{max:8e3,head:5500,tail:1500}])},799791,e=>e.a(async(t,a)=>{try{var i=e.i(336763),o=e.i(333925),s=e.i(876393),n=e.i(220376),r=e.i(724185),l=e.i(951056),c=t([s,r]);[s,r]=c.then?(await c)():c;let E=e=>({name:e.name,description:e.description,systemPrompt:e.systemPrompt,icon:e.icon,provider:e.provider,model:e.model});async function d(){let e=await s.database.select().from(n.botTable).orderBy(n.botTable.createdAt);return e.length?e.map(E):[l.DEFAULT_BOT]}async function b(e){let t=await h(e);if(t)return E(t);let a=e.trim().toLowerCase();return(await d()).find(e=>e.name.toLowerCase()===a)??null}async function m(e){let[t]=await s.database.select({text:n.botNoteTable.text}).from(n.botNoteTable).where((0,i.eq)(n.botNoteTable.bot,e));return t?.text??null}async function p(e,t){let a=t.trim().slice(0,o.BOT_NOTES.chars).trim();if(!a)return T(e);let i=new Date;await s.database.insert(n.botNoteTable).values({bot:e,text:a,updatedAt:i}).onConflictDoUpdate({target:n.botNoteTable.bot,set:{text:a,updatedAt:i}})}async function u(){return(0,l.isBotNotesOn)(await (0,r.readConfig)(l.BOT_NOTES_KEY))}async function T(e){await s.database.delete(n.botNoteTable).where((0,i.eq)(n.botNoteTable.bot,e))}async function h(e){let[t]=await s.database.select().from(n.botTable).where((0,i.eq)(n.botTable.name,e));return t??null}e.s(["findJobBot",0,b,"listJobBots",0,d,"readBotNote",0,m,"readBotNotesOn",0,u,"writeBotNote",0,p]),a()}catch(e){a(e)}},!1),656719,e=>{"use strict";var t=e.i(864328);let a=[...new Set(Object.values(t.SPEACH_MODEL_PROVIDERS).map(e=>e.apiKeyName))],i={image:"IMAGE_MODEL",video:"VIDEO_MODEL",speech:"SPEECH_MODEL",transcription:"TRANSCRIPTION_MODEL"},o={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="DEFAULT_MODEL",n={key:s,label:"Default model",hint:"What a bot thinks with until it picks its own",text:!0,choices:t.TEXT_MODEL_PROVIDER_LIST.flatMap(e=>e.suggestModels.map(t=>({value:`${e.id}/${t.id}`,label:`${e.label} \xb7 ${t.label}`,needs:e.apiKeyName})))},r=e=>a.includes(e.apiKeyName),l=e=>({key:e.apiKeyName,label:e.label,provider:e.id}),c=[{id:"voice",title:"voice",hint:"calls run on one of these",section:"keys",require:"any",note:"one is required",entries:t.TEXT_MODEL_PROVIDER_LIST.filter(r).map(l)},{id:"text",title:"models",hint:"what bots think with — add any, or none",section:"keys",require:"none",entries:t.TEXT_MODEL_PROVIDER_LIST.filter(e=>!r(e)).map(l)},{id:"bots",title:"Bots",hint:"what a bot runs on when it has not picked its own",section:"models",require:"none",entries:[n]},{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],...o[e],kind:e,choices:t.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(c.flatMap(e=>e.entries).map(e=>[e.key,e])),c.flatMap(e=>e.entries.map(e=>e.key)),Object.fromEntries(c.flatMap(e=>e.entries).filter(e=>e.choices?.length).map(e=>[e.key,e.choices])),e.s(["DEFAULT_MODEL_KEY",0,s,"MEDIA_MODEL_KEYS",0,i])},724185,e=>e.a(async(t,a)=>{try{var i=e.i(336763),o=e.i(876393),s=e.i(220376);e.i(656719);var n=t([o]);async function r(e){let t=process.env[e]?.trim();if(t)return t;let[a]=await o.database.select({value:s.configTable.value}).from(s.configTable).where((0,i.eq)(s.configTable.key,e));return a?.value.trim()||void 0}[o]=n.then?(await n)():n,e.s(["readConfig",0,r]),a()}catch(e){a(e)}},!1)];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__02va5wz._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[70729,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_node_crypto_1kn79-7._.js"].map(t=>e.l(t))).then(()=>t(666680)))},871049,e=>e.a(async(t,a)=>{try{var r=e.i(847841),n=e.i(105249),
|
|
1
|
+
module.exports=[70729,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_node_crypto_1kn79-7._.js"].map(t=>e.l(t))).then(()=>t(666680)))},871049,e=>e.a(async(t,a)=>{try{var r=e.i(847841),n=e.i(105249),s=e.i(159479),o=e.i(386075),i=e.i(91264),l=e.i(53748),u=t([s,o]);[s,o]=u.then?(await u)():u;let c=n.default.object({toolCallId:n.default.string().min(1),callId:n.default.string().nullish(),name:n.default.string().min(1),input:n.default.unknown().optional()});async function d(e){let t;if("object"!=typeof e||null===e||!(Symbol.asyncIterator in e))return e;for await(let a of e)t=a;return t}let p=(0,i.serverRoute)(async e=>{let{toolCallId:t,callId:a,name:n,input:i}=c.parse(await e.json()),u=(await (0,s.loadTools)({target:"thursday",callId:a}))[n];u||(0,l.publicError)(`There is no tool called "${n}".`),u.execute||(0,l.publicError)(`"${n}" is handled by the page, not here.`);let p=await (0,r.asSchema)(u.inputSchema).validate?.(i??{});p&&!p.success&&(0,l.publicError)(`"${n}" got arguments that do not fit: ${p.error.message}`);try{let a=await u.execute(p?.value??i??{},{toolCallId:t,messages:[],context:void 0,abortSignal:e.signal});return{output:await d(a)}}catch(e){(0,l.publicError)(`"${n}" failed: ${(0,o.modelErrorToString)(e)}`)}});e.s(["POST",0,p]),a()}catch(e){a(e)}},!1),441895,e=>{"use strict";var t=e.i(747909),a=e.i(174017),r=e.i(996250),n=e.i(759756),s=e.i(561916),o=e.i(174677),i=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),v=e.i(626937),m=e.i(10372),_=e.i(193695);e.i(52474);var R=e.i(600220);let g=new t.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/thursday/tool-call/route",pathname:"/api/thursday/tool-call",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/thursday/tool-call/route.ts",nextConfigOutput:"standalone",userland:()=>e.r(871049),...{}}),{workAsyncStorage:f,workUnitAsyncStorage:w,serverHooks:E}=g;async function x(e,t,r){r.requestMeta&&(0,n.setRequestMeta)(e,r.requestMeta),g.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let f="/api/thursday/tool-call/route";f=f.replace(/\/index$/,"")||"/";let w=await g.prepare(e,t,{srcPage:f,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:E,deploymentId:x,params:y,nextConfig:C,parsedUrl:b,isDraftMode:P,prerenderManifest:T,routerServerContext:A,isOnDemandRevalidate:S,revalidateOnlyGenerated:k,resolvedPathname:N,clientReferenceManifest:q,serverActionsManifest:O}=w,j=(0,i.normalizeAppPath)(f),I=!!(T.dynamicRoutes[j]||T.routes[N]),H=async()=>((null==A?void 0:A.render404)?await A.render404(e,t,b,!1):t.end("This page could not be found"),null);if(I&&!P){let e=!!T.routes[N],t=T.dynamicRoutes[j];if(t&&!1===t.fallback&&!e){if(C.adapterPath)return await H();throw new _.NoFallbackError}}let M=null;!I||g.isDev||P||(M="/index"===(M=N)?"/":M);let U=!0===g.isDev||!I,D=I&&!U;O&&q&&(0,o.setManifestsSingleton)({page:f,clientReferenceManifest:q,serverActionsManifest:O});let $=e.method||"GET",F=(0,s.getTracer)(),K=F.getActiveScopeSpan(),L=!!(null==A?void 0:A.isWrappedByNextServer),B=!!(0,n.getRequestMeta)(e,"minimalMode"),G=(0,n.getRequestMeta)(e,"incrementalCache")||await g.getIncrementalCache(e,C,T,B);null==G||G.resetRequestCache(),globalThis.__incrementalCache=G;let z={params:y,previewProps:T.preview,renderOpts:{experimental:{authInterrupts:!!C.experimental.authInterrupts,useCacheTimeout:C.experimental.useCacheTimeout},cacheComponents:!!C.cacheComponents,validationLevel:C.experimental.instantInsights.validationLevel,supportsDynamicResponse:U,incrementalCache:G,hmrRefreshHash:(0,n.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:C.cacheLife,staticPageGenerationTimeout:C.staticPageGenerationTimeout,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,a,r,n)=>g.onRequestError(e,t,r,n,A)},sharedContext:{buildId:E,deploymentId:x}},V=new l.NodeNextRequest(e),X=new l.NodeNextResponse(t),W=u.NextRequestAdapter.fromNodeNextRequest(V,(0,u.signalFromNodeResponse)(t)),Z=async({previousCacheEntry:a})=>{try{if(!B&&S&&k&&!a)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,z);e.fetchMetrics=z.renderOpts.fetchMetrics;let s=z.renderOpts.pendingWaitUntil;s&&r.waitUntil&&(r.waitUntil(s),s=void 0);let o=z.renderOpts.collectedTags;if(!I)return await (0,p.sendResponse)(V,X,n,s),null;{let e=await n.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(n.headers);o&&(t[m.NEXT_CACHE_TAGS_HEADER]=o),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==z.renderOpts.collectedRevalidate&&!(z.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&z.renderOpts.collectedRevalidate,r=void 0===z.renderOpts.collectedExpire||z.renderOpts.collectedExpire>=m.INFINITE_CACHE?!1!==a&&a>0?C.expireTime:void 0:z.renderOpts.collectedExpire;return{value:{kind:R.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await g.onRequestError(e,t,{routerKind:"App Router",routePath:f,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:S})},!1,A),t}},J=async(n,o)=>{try{var i,l;let n=await g.handleResponse({req:e,nextConfig:C,cacheKey:M,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:T,isRoutePPREnabled:!1,isOnDemandRevalidate:S,revalidateOnlyGenerated:k,responseGenerator:Z,waitUntil:r.waitUntil,isMinimalMode:B});if(!I)return;if((null==n||null==(i=n.value)?void 0:i.kind)!==R.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==n||null==(l=n.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});B||t.setHeader("x-nextjs-cache",S?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),P&&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(m.NEXT_CACHE_TAGS_HEADER),!n.cacheControl||t.getHeader("Cache-Control")||s.get("Cache-Control")||s.set("Cache-Control",(0,v.getCacheControlHeader)(n.cacheControl)),await (0,p.sendResponse)(V,X,new Response(n.value.body,{headers:s,status:n.value.status||200}));return}catch(t){if(t instanceof _.NoFallbackError||await g.onRequestError(e,t,{routerKind:"App Router",routePath:j,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:S})},!1,A),I)throw t;await (0,p.sendResponse)(V,X,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 a=F.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==d.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=a.get("next.route")||j,i=`${$} ${r}`;n.setAttributes({"next.route":r,"http.route":r,"next.span_name":i}),n.updateName(i),o&&o!==n&&(o.setAttribute("http.route",r),o.updateName(i))})()}};if(L&&K)await J(K,void 0);else{let t=F.getActiveScopeSpan();await F.withPropagatedContext(e.headers,()=>F.trace(d.BaseServerSpan.handleRequest,{spanName:`${$} ${f}`,kind:s.SpanKind.SERVER,attributes:{"http.method":$,"http.target":e.url}},e=>J(e,t)),void 0,!L)}}e.s(["handler",0,x,"patchFetch",0,function(){return(0,r.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:w})},"routeModule",0,g,"serverHooks",0,E,"workAsyncStorage",0,f,"workUnitAsyncStorage",0,w])},814317,e=>{e.v(e=>Promise.resolve().then(()=>e(265143)))},994193,e=>{e.v(t=>Promise.all(["server/chunks/0d-b_next_dist_server_app-render_after-task-async-storage_external_0-exn7p.js","server/chunks/features_bot_task_query_ts_11xuzl3._.js","server/chunks/_19wg5yn._.js","server/chunks/node_modules_next_04q-o58._.js"].map(t=>e.l(t))).then(()=>t(39803)))},353587,e=>{e.v(t=>Promise.all(["server/chunks/features_bot_task_query_ts_11xuzl3._.js"].map(t=>e.l(t))).then(()=>t(780274)))},967030,e=>{e.v(e=>Promise.resolve().then(()=>e(783697)))},683671,e=>{e.v(t=>Promise.all(["server/chunks/node_modules_@vercel_oidc_dist_token_1o4m7ms.js"].map(t=>e.l(t))).then(()=>t(390391)))},329280,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_node_readline_1u65a-m._.js","server/chunks/node_modules_consola_dist_chunks_prompt_mjs_02axwqv._.js"].map(t=>e.l(t))).then(()=>t(781937)))}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__04_8spk._.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[418520,e=>e.a(async(t,a)=>{try{var i=await e.y("@libsql/client-6da938047d5fc1cd");e.n(i),a()}catch(e){a(e)}},!0),666680,(e,t,a)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},902157,(e,t,a)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},750227,(e,t,a)=>{t.exports=e.x("node:path",()=>require("node:path"))},333925,e=>{"use strict";let t=process.env.THURSDAY_APP_DIR?.trim()||process.cwd(),a=process.env.THURSDAY_HOME?.trim()||process.cwd(),i=process.env.THURSDAY_URL?.trim()||`http://localhost:${process.env.PORT?.trim()||3e3}`,s=`file:${a}/local.db`,r=".ai-workspace",o={workspace:r,artifacts:"artifacts",projects:"projects",scratch:"scratch",output:".output",skills:{default:"skills",custom:`${r}/.agents/skills`}};e.s(["APP_DIR",0,t,"APP_NAME",0,"Thursday","APP_URL",0,i,"BOT_RUN",0,{steps:25,compactAt:12e4,summaryWords:{min:600,max:3e3,perTokens:200},resumeMessages:20},"BROWSER_GONE_MS",0,1e4,"BROWSER_VIEWPORT",0,"700x700","DATA_DIR",0,a,"DB_FILE_NAME",0,s,"IS_DEV",0,!1,"MEMORY_LISTING_TOKENS",0,1e3,"PAGE_SIZE",0,50,"PATHS",0,o,"PROMPT_LINE",0,{skill:90,toolArgs:30},"STUDIO_SERVER",0,"studio","TOOL_OUTPUT",0,{max:8e3,head:5500,tail:1500}])},946280,e=>e.a(async(t,a)=>{try{var i=e.i(750227),s=e.i(410058),r=e.i(333925),o=e.i(876393),n=t([o]);async function l(){await (0,s.migrate)(o.database,{migrationsFolder:(0,i.join)(r.APP_DIR,"database/migrations")})}[o]=n.then?(await n)():n,e.s(["migrateDatabase",0,l]),a()}catch(e){a(e)}},!1),410058,e=>{"use strict";var t=e.i(533102),a=e.i(663114),i=e.i(666680),s=e.i(902157),r=e.i(750227),o=e.i(171652);async function n(e,n){let l=function(e){if(s.default.existsSync(`${e.migrationsFolder}/meta/_journal.json`))throw Error('We detected that you have old drizzle-kit migration folders. You must upgrade drizzle-kit and run "drizzle-kit up"');let t=e.migrationsFolder,o=[],n=(0,s.readdirSync)(t).map(e=>({path:(0,r.join)(t,e,"migration.sql"),name:e})).filter(e=>(0,s.existsSync)(e.path));for(let e of(n.sort((e,t)=>e.name.localeCompare(t.name)),n)){let t=e.path,r=e.name.slice(0,14),n=s.default.readFileSync(t).toString(),l=n.split("--> statement-breakpoint").map(e=>e),d=(0,a.formatToMillis)(r);o.push({sql:l,bps:!0,folderMillis:d,hash:i.default.createHash("sha256").update(n).digest("hex"),name:e.name})}return o}(n),d=n.migrationsTable??"__drizzle_migrations",{newDb:c}=await (0,o.upgradeAsyncIfNeeded)(d,e,l);if(c){let a=t.sql`
|
|
1
|
+
module.exports=[418520,e=>e.a(async(t,a)=>{try{var i=await e.y("@libsql/client-6da938047d5fc1cd");e.n(i),a()}catch(e){a(e)}},!0),666680,(e,t,a)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},902157,(e,t,a)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},750227,(e,t,a)=>{t.exports=e.x("node:path",()=>require("node:path"))},333925,e=>{"use strict";let t=process.env.THURSDAY_APP_DIR?.trim()||process.cwd(),a=process.env.THURSDAY_HOME?.trim()||process.cwd(),i=process.env.THURSDAY_URL?.trim()||`http://localhost:${process.env.PORT?.trim()||3e3}`,s=`file:${a}/local.db`,r=".ai-workspace",o={workspace:r,artifacts:"artifacts",projects:"projects",scratch:"scratch",bots:"bots",output:".output",skills:{default:"skills",custom:`${r}/.agents/skills`}};e.s(["APP_DIR",0,t,"APP_NAME",0,"Thursday","APP_URL",0,i,"BOT_NOTES",0,{chars:400},"BOT_RUN",0,{steps:25,compactAt:12e4,summaryWords:{min:600,max:3e3,perTokens:200},resumeMessages:20},"BROWSER_GONE_MS",0,1e4,"BROWSER_VIEWPORT",0,"700x700","DATA_DIR",0,a,"DB_FILE_NAME",0,s,"IS_DEV",0,!1,"MEMORY_LISTING_TOKENS",0,1e3,"PAGE_SIZE",0,50,"PATHS",0,o,"PROMPT_BUDGET",0,6e3,"PROMPT_LINE",0,{skill:90,toolArgs:30},"STUDIO_SERVER",0,"studio","TOOL_OUTPUT",0,{max:8e3,head:5500,tail:1500}])},946280,e=>e.a(async(t,a)=>{try{var i=e.i(750227),s=e.i(410058),r=e.i(333925),o=e.i(876393),n=t([o]);async function l(){await (0,s.migrate)(o.database,{migrationsFolder:(0,i.join)(r.APP_DIR,"database/migrations")})}[o]=n.then?(await n)():n,e.s(["migrateDatabase",0,l]),a()}catch(e){a(e)}},!1),410058,e=>{"use strict";var t=e.i(533102),a=e.i(663114),i=e.i(666680),s=e.i(902157),r=e.i(750227),o=e.i(171652);async function n(e,n){let l=function(e){if(s.default.existsSync(`${e.migrationsFolder}/meta/_journal.json`))throw Error('We detected that you have old drizzle-kit migration folders. You must upgrade drizzle-kit and run "drizzle-kit up"');let t=e.migrationsFolder,o=[],n=(0,s.readdirSync)(t).map(e=>({path:(0,r.join)(t,e,"migration.sql"),name:e})).filter(e=>(0,s.existsSync)(e.path));for(let e of(n.sort((e,t)=>e.name.localeCompare(t.name)),n)){let t=e.path,r=e.name.slice(0,14),n=s.default.readFileSync(t).toString(),l=n.split("--> statement-breakpoint").map(e=>e),d=(0,a.formatToMillis)(r);o.push({sql:l,bps:!0,folderMillis:d,hash:i.default.createHash("sha256").update(n).digest("hex"),name:e.name})}return o}(n),d=n.migrationsTable??"__drizzle_migrations",{newDb:c}=await (0,o.upgradeAsyncIfNeeded)(d,e,l);if(c){let a=t.sql`
|
|
2
2
|
CREATE TABLE IF NOT EXISTS ${t.sql.identifier(d)} (
|
|
3
3
|
id INTEGER PRIMARY KEY,
|
|
4
4
|
hash text NOT NULL,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
module.exports=[874533,(e,t,a)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},912714,(e,t,a)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},316172,e=>{"use strict";var t=e.i(912714),a=e.i(847841),i=e.i(907855),
|
|
1
|
+
module.exports=[874533,(e,t,a)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},912714,(e,t,a)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},316172,e=>{"use strict";var t=e.i(912714),a=e.i(847841),i=e.i(907855),n=e.i(353885),o=e.i(629668),r=e.i(786025);let s={name:n.TOOL_NAMES.delegate,description:"Hand a job to a bot. Returns immediately; the job runs in the background and its result is put in front of you later.",parameters:i.object({bot:i.string().describe("A name from the bot list."),request:i.string().describe("The whole job. The bot cannot hear the call, so everything it needs goes here — names, paths, what the user actually asked for — in their own language and their own words: it is the only language the bot has, and whatever it writes comes back to them. **Their request, never your reading of it**: a condition, a caution or a smaller goal they did not say is how a job comes back as the wrong thing. When their words leave a real choice open, ask them on the call and put the answer here."),label:i.string().describe("Two or three words naming the job, in the user's language. Used on screen and said out loud.")})},l={name:n.TOOL_NAMES.ask_bot,description:"Hand one part of the job you are holding to another bot and wait for what they bring back. The job stays yours.",parameters:i.object({bot:i.string().describe("A name from the bot list."),request:i.string().describe("The part they take, as a brief: the outcome you want, the shape to hand it back in (a path, a number, a list), and every name, path, number and limit that bears on it. They see nothing but this and `context` — not the call, not your thread — so write it long rather than short; a brief that leaves them guessing costs a whole run."),context:i.string().describe("The job you were given, quoted, and whatever you have found that bears on this part — exact values, and the paths of files you wrote for them to read. They cannot see your work, your tool output, or the call.")})},c={name:n.TOOL_NAMES.ask_back,description:"Ask the bot that handed you this part. They answer from what they have — the original request, the call it came from, what they found before asking you.",parameters:i.object({question:i.string().describe("One whole question — what you need and why. They cannot take it to the user for you, so ask what they would know.")})},d={name:n.TOOL_NAMES.ask_thursday,description:"Ask Thursday, who handed you this job. The job stops until an answer comes back.",parameters:i.object({question:i.string().describe("One whole question — what you need and why. One or two sentences, in the user's language: she may read it to them out loud, options and all."),options:i.union([i.string().array(),i.string()]).nullish().describe('Only when there really are choices — two or three, each short, as an array: ["Signed in", "Not yet"]. Null for an open question.')})},h=i.string().nullish().describe("What should change in your own instructions before your next job here — something to add, something wrong to correct, something to drop. Your own words, any length; someone else writes it in. Nothing to say is the usual answer, and leaving it out costs nothing: they already say what they say."),u={name:n.TOOL_NAMES.task,description:"Check a job you handed over, answer what it is asking, or cancel it.",parameters:i.object({action:i.enum(["status","answer","cancel"]),task:i.string().nullish().describe("The job, by its label or by the handle a past call's transcript carries. With `status`: null for every job in one line each — that is the list — or name one to get its report in full."),answer:i.string().nullish().describe("With `answer`: what to tell the bot — the answer to its question, a course correction for a job still running, or what to do next on one that finished.")})},m=(0,a.tool)({description:d.description,inputSchema:d.parameters}),p="Not handed back:";async function w(e){let a=[];for(let i of(0,o.pathsIn)(e)){let e=await (0,r.insideWorkspace)(i);e&&(await (0,t.stat)(e).then(e=>e.isFile(),()=>!1)||a.push(i))}return a}e.s(["askBackSpec",0,c,"askBotSpec",0,l,"askThursdayTool",0,m,"createReportTool",0,e=>{let t={name:n.TOOL_NAMES.report,description:"Hand back what the job produced. Calling this ends the job — nothing after it runs.",parameters:i.object({result:i.string().describe("The result itself, in a few lines — what you found or did, not a replay of how. Thursday reads this out loud, so write what a person needs to hear. If you could not do it, say what stopped you."),complete:i.boolean().describe("True when the whole request is done. False when work is left over — the user is then asked whether to keep going, and `result` is what they decide on."),...e?{notes:h}:{}})};return(0,a.tool)({description:t.description,inputSchema:t.parameters,execute:async({result:e,complete:t})=>{let a=await w(e);return a.length?`${p} these files do not exist — ${a.join(", ")}. Write them first, or take the paths out of the result.`:t?"Handed back. The job is closed; nothing further runs.":"Handed back as unfinished. The user decides whether to continue."}})},"delegateSpec",0,s,"reportAccepted",0,e=>"string"!=typeof e||!e.startsWith(p),"taskSpec",0,u])},353885,e=>{"use strict";e.s(["STUDIO_TOOLS",0,{generate_image:"generate_image",generate_speech:"generate_speech",transcribe:"transcribe",generate_video:"generate_video"},"TOOL_NAMES",0,{memory_recall:"memory_recall",memory_remember:"memory_remember",memory_forget:"memory_forget",memory_show:"memory_show",bash:"bash",write_file:"write_file",tool_search:"tool_search",tool_call:"tool_call",load_skill:"load_skill",web_search:"web_search",delegate:"delegate",task:"task",ask_bot:"ask_bot",ask_thursday:"ask_thursday",ask_back:"ask_back",report:"report",end_call:"end_call",tidy_done:"tidy_done",update_notes:"update_notes"}])},629668,e=>{"use strict";var t=e.i(687388);let a=e=>`text/${e}; charset=utf-8`,i={md:{kind:"markdown",mime:a("markdown")},markdown:{kind:"markdown",mime:a("markdown")},csv:{kind:"csv",mime:a("csv")},json:{kind:"json",mime:"application/json; charset=utf-8"},txt:{kind:"text",mime:a("plain")},log:{kind:"text",mime:a("plain")},html:{kind:"frame",mime:a("html")},htm:{kind:"frame",mime:a("html")},pdf:{kind:"frame",mime:"application/pdf"},png:{kind:"image",mime:"image/png"},jpg:{kind:"image",mime:"image/jpeg"},jpeg:{kind:"image",mime:"image/jpeg"},gif:{kind:"image",mime:"image/gif"},webp:{kind:"image",mime:"image/webp"},svg:{kind:"image",mime:"image/svg+xml"},mp3:{kind:"audio",mime:"audio/mpeg"},wav:{kind:"audio",mime:"audio/wav"},mp4:{kind:"video",mime:"video/mp4"},webm:{kind:"video",mime:"video/webm"},css:{kind:"none",mime:a("css")},js:{kind:"none",mime:a("javascript")},woff2:{kind:"none",mime:"font/woff2"}},n=e=>e.split(".").pop()?.toLowerCase()??"",o=new Set(["node_modules","__pycache__"]),r=Object.entries(i).filter(([,e])=>"none"!==e.kind).map(([e])=>e),s=RegExp(String.raw`(?<![\p{L}\p{N}_/:@%-])(?:[\p{L}\p{N}_.@%-]+/)*[\p{L}\p{N}_@%-]+(?:\.[\p{L}\p{N}_-]+)*\.(?:${r.join("|")})\b`,"giu"),l=`${t.PATHS.workspace}/`;e.s(["isListedFolder",0,e=>!e.startsWith(".")&&!o.has(e),"mimeOf",0,e=>i[n(e)]?.mime??"application/octet-stream","pathsIn",0,function(e){let t=e.replace(/\b[a-z][\w+.-]*:\/\/\S+/gi," "),a=new Set;for(let e of t.match(s)??[]){let t=function(e){let t,a,i=(a=(t=e.trim()).indexOf(l))>=0?t.slice(a+l.length)||null:t.startsWith("/")||/^[A-Za-z]:/.test(t)||t.split("/").includes("..")?null:t||null;if(!i)return null;let[n,...o]=i.split("/");return o.length&&n.includes(".")?null:i}(e);t&&a.add(t)}return[...a].slice(0,6)},"viewKindOf",0,e=>i[n(e)]?.kind??"none"])},786025,211644,e=>{"use strict";var t=e.i(912714),a=e.i(750227),i=e.i(687388);e.i(640911);var n=e.i(874533);let o=18e4,r=new Set(["node_modules",".git",".next","dist","build",".venv","__pycache__",".turbo","coverage"]),s=({workingDirectory:e,spill:i,toolPath:s})=>{let c=(0,a.resolve)(e),d=(s??[]).filter(Boolean).join(":"),h=e=>e.startsWith("/")||/^[A-Za-z]:/.test(e)?e:(0,a.resolve)(c,e);async function*u(e){let i;try{i=await (0,t.readdir)(e,{withFileTypes:!0})}catch{return}for(let t of i){if(r.has(t.name)||t.name.startsWith("."))continue;let i=(0,a.join)(e,t.name);t.isDirectory()?yield*u(i):t.isFile()&&(yield i)}}return{cwd:c,resolve:h,readFile:(e,a)=>(0,t.readFile)(h(e),a),async writeFile(e,i){let n=h(e);await (0,t.mkdir)((0,a.join)(n,".."),{recursive:!0}),await (0,t.writeFile)(n,i)},readdir:(e,a)=>(0,t.readdir)(h(e),a),fold:(e,t="output")=>l(e,t,c,i),async glob(e,{path:t=".",limit:i=200}={}){let n=h(t),o=RegExp("^"+e.replace(/[.+^${}()|[\]\\]/g,"\\$&").replace(/\*\*\//g,"(?:.*/)?").replace(/\*/g,"[^/]*").replace(/\?/g,"[^/]")+"$"),r=[];for await(let e of u(n)){let t=(0,a.relative)(n,e).split(a.sep).join("/");if((o.test(t)||o.test(e))&&r.push(e),r.length>=i)break}return r},exec:(e,{cwd:t,timeoutMs:a=o,signal:r,env:s}={})=>new Promise(o=>{let u=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}();d&&(u.PATH=`${u.PATH??""}:${d}`);let m=(0,n.spawn)(e,{shell:!0,cwd:t?h(t):c,env:{...u,...s},detached:!0}),p="",w="";m.stdout?.on("data",e=>p+=e),m.stderr?.on("data",e=>w+=e);let g=e=>{w+=`
|
|
2
|
+
[${e}]`;try{m.pid&&process.kill(-m.pid,"SIGTERM")}catch{m.kill("SIGTERM")}},f=setTimeout(()=>g(`Timed out after ${a}ms`),a),b=()=>g("Aborted");r?.aborted?b():r?.addEventListener("abort",b,{once:!0});let y=async e=>{clearTimeout(f),r?.removeEventListener("abort",b),o({...e,stdout:await l(e.stdout,"stdout",c,i),stderr:await l(e.stderr,"stderr",c,i)})};m.on("close",e=>y({stdout:p,stderr:w,exitCode:e??-1})),m.on("error",e=>y({stdout:p,stderr:w+String(e),exitCode:-1}))})}};async function l(e,i,n,o){if(e.length<=o.max)return e;let r=(0,a.join)(n,o.dir),s=(0,a.join)(r,`${new Date().toISOString().replace(/[:.]/g,"-")}-${i.replace(/[^a-zA-Z0-9_-]+/g,"_")}.txt`),l=s;try{await (0,t.mkdir)(r,{recursive:!0}),await (0,t.writeFile)(s,e),l=(0,a.relative)(n,s)||s}catch{l="(could not be written to a file)"}let c=(e.match(/\n/g)?.length??0)+1;return`${e.slice(0,o.head).trimEnd()}
|
|
2
3
|
|
|
3
|
-
[${i} cut at ${o.max.toLocaleString("en")} chars — the whole thing (${
|
|
4
|
+
[${i} cut at ${o.max.toLocaleString("en")} chars — the whole thing (${c} lines) is at ${l}. Read the part you need with \`sed -n\`.]
|
|
4
5
|
|
|
5
|
-
${e.slice(-o.tail).trimStart()}`}let
|
|
6
|
-
[${e}]`;try{m.pid&&process.kill(-m.pid,"SIGTERM")}catch{m.kill("SIGTERM")}},f=setTimeout(()=>g(`Timed out after ${a}ms`),a),b=()=>g("Aborted");o?.aborted?b():o?.addEventListener("abort",b,{once:!0});let y=async e=>{clearTimeout(f),o?.removeEventListener("abort",b),c({...e,stdout:await n(e.stdout,"stdout",l,i),stderr:await n(e.stderr,"stderr",l,i)})};m.on("close",e=>y({stdout:p,stderr:w,exitCode:e??-1})),m.on("error",e=>y({stdout:p,stderr:w+String(e),exitCode:-1}))})}})({workingDirectory:l,spill:{dir:i.PATHS.output,...i.TOOL_OUTPUT},toolPath:d})}e.s(["ARTIFACTS",0,h,"closeJobShell",0,f,"insideWorkspace",0,w,"jobShellEnv",0,g,"openWorkspace",0,k,"writeRefusal",0,function(e){if(m(l,e)){let t=(0,a.relative)(l,e),[r]=t.split(a.sep);return r&&u.has(r)?null:`Not written: ${t||"the workspace root"} is outside the workspace's folders. Finished work goes under ${i.PATHS.artifacts}/, code under ${i.PATHS.projects}/, everything else under ${i.PATHS.scratch}/.`}return m(s,e)?`Not written: ${e} is inside the app that is running you, not the user's files. Work in ${l}; outside it, write only where the user pointed you.`:null}],786025)}];
|
|
6
|
+
${e.slice(-o.tail).trimStart()}`}e.s(["EXEC_TIMEOUT_MS",0,o,"createSandBox",0,s],211644);let c=i.APP_DIR,d=(0,a.join)(i.DATA_DIR,i.PATHS.workspace),h=(process.env.THURSDAY_TOOL_PATH?.split(":")??[(0,a.join)(c,"node_modules",".bin")]).filter(Boolean),u=(0,a.join)(d,i.PATHS.artifacts),m=[i.PATHS.artifacts,i.PATHS.projects,i.PATHS.scratch,i.PATHS.bots],p=new Set([...m,".agents"]),w=(e,t)=>t===e||t.startsWith(e+a.sep),g=e=>(0,t.realpath)(e).catch(()=>null);async function f(e){let t=await g(d)??d,i=(0,a.resolve)(d,e);if(!w(d,i))return null;let n=i,o=await g(n);for(;null===o&&(0,a.dirname)(n)!==n;)n=(0,a.dirname)(n),o=await g(n);if(null===o)return null;let r=(0,a.relative)(n,i),s=r?(0,a.join)(o,r):o;return w(t,s)?s:null}async function b(e){let n=`${i.PATHS.bots}/${e.replace(/[^\p{L}\p{N}_-]+/gu,"-")}`;return await (0,t.mkdir)((0,a.join)(d,n),{recursive:!0}),n}async function y(e,n){let o,r=(o=n.trim().toLowerCase().replace(/[^\p{L}\p{N}]+/gu,"-").replace(/^-+|-+$/g,"").slice(0,40)||"job",`${i.PATHS.scratch}/${o}-${e.slice(0,6)}`);return await (0,t.mkdir)((0,a.join)(d,r),{recursive:!0}),r}let k=e=>e?{PLAYWRIGHT_CLI_SESSION:`task-${e}`,PLAYWRIGHT_MCP_VIEWPORT_SIZE:i.BROWSER_VIEWPORT}:{},_={runtimes:["node","python3","uv","bun","deno"],managers:["pnpm","npm","yarn"]};async function T(e){let t=Object.values(_).flat(),{stdout:a}=await e.exec(t.map(e=>`command -v ${e} >/dev/null 2>&1 && printf '%s ' ${e}`).join("; "),{timeoutMs:1e4}),i=new Set(a.trim().split(/\s+/).filter(Boolean)),n=e=>({found:e.filter(e=>i.has(e)),missing:e.filter(e=>!i.has(e))});return{runtimes:n(_.runtimes),managers:n(_.managers),browser:null}}async function j(e){let t=await $();await t.exec("playwright-cli close",{env:k(e),timeoutMs:15e3}).catch(()=>{}),await A(),await v()}async function v(){let e=(0,a.join)(d,i.PATHS.output),n=await (0,t.readdir)(e,{withFileTypes:!0}).catch(()=>[]),o=Date.now()-S;for(let i of n){if(!i.isFile())continue;let n=(0,a.join)(e,i.name),r=await (0,t.stat)(n).catch(()=>null);r&&r.mtimeMs<o&&await (0,t.unlink)(n).catch(()=>{})}}let S=864e5;async function A(){let e=(0,a.join)(d,".playwright-cli"),i=await (0,t.readdir)(e,{withFileTypes:!0}).catch(()=>[]),n=Date.now()-36e5;for(let o of i){if(!o.isFile())continue;let i=(0,a.join)(e,o.name),r=await (0,t.stat)(i).catch(()=>null);r&&r.mtimeMs<n&&await (0,t.unlink)(i).catch(()=>{})}}let O={"pnpm-workspace.yaml":"packages:\n - '**'\n",".npmrc":"recursive-install=false\n"};async function $(){for(let e of m)await (0,t.mkdir)((0,a.join)(d,e),{recursive:!0});for(let[e,i]of Object.entries(O))await (0,t.writeFile)((0,a.join)(d,e),i,{flag:"wx"}).catch(()=>{});return s({workingDirectory:d,spill:{dir:i.PATHS.output,...i.TOOL_OUTPUT},toolPath:h})}e.s(["ARTIFACTS",0,u,"closeJobShell",0,j,"insideWorkspace",0,f,"jobShellEnv",0,k,"openBotFolder",0,b,"openJobScratch",0,y,"openWorkspace",0,$,"readMachineTools",0,T,"writeRefusal",0,function(e){if(w(d,e)){let t=(0,a.relative)(d,e),[n]=t.split(a.sep);return n&&p.has(n)?null:`Not written: ${t||"the workspace root"} is outside the workspace's folders. Finished work goes under ${i.PATHS.artifacts}/, code under ${i.PATHS.projects}/, your own kit under ${i.PATHS.bots}/, and this job's working material under ${i.PATHS.scratch}/.`}return w(c,e)?`Not written: ${e} is inside the app that is running you, not the user's files. Work in ${d}; outside it, write only where the user pointed you.`:null}],786025)}];
|
|
7
7
|
|
|
8
8
|
//# sourceMappingURL=%5Broot-of-the-server%5D__0bed6hu._.js.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
module.exports=[418520,e=>e.a(async(t,a)=>{try{var r=await e.y("@libsql/client-6da938047d5fc1cd");e.n(r),a()}catch(e){a(e)}},!0),902157,(e,t,a)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},380690,e=>{"use strict";let t,a,r,n,o,i;var s,l=e.i(687388),u=e.i(640911);let c={tasks:!0,memory:!0,mcp:!0,"memory-tidy":!0},d=globalThis,p=d.__appEvents??=(t=new Set,{emit(e){for(let a of[...t])try{a(e)}catch(e){console.error("event listener failed",e)}},subscribe:e=>(t.add(e),()=>{t.delete(e)})}),h=d.__presence??=(s=l.BROWSER_GONE_MS,a=!1,r=null,n=new Set,o=new Set,i=e=>{for(let t of[...e])try{t()}catch(e){console.error("presence listener failed",e)}},{get watching(){return a},track(e){if(e>0){r&&clearTimeout(r),r=null,a||(a=!0,i(o));return}!r&&a&&(r=setTimeout(()=>{r=null,a=!1,i(n)},s))},onGone:e=>(n.add(e),()=>n.delete(e)),onBack:e=>(o.add(e),()=>o.delete(e))}),f=d.__appEventStream??=function(e,t={}){let a=new TextEncoder,r=t.heartbeatMs??2e4,n=0;return{respond:(o,i)=>{let s=()=>{};return new Response(new ReadableStream({async start(l){let c=!1,d=new Map,p=[],h=e=>{if(!c)try{l.enqueue(a.encode(e))}catch{s()}},f=e=>h(`data: ${JSON.stringify(e)}
|
|
2
|
+
|
|
3
|
+
`),m=e=>{let a=t.coalesce?.keyOf(e)??null;if(null===a)return f(e);let r=d.get(a);r&&clearTimeout(r),d.set(a,setTimeout(()=>{d.delete(a),f(e)},t.coalesce?.ms))},R=e.subscribe(e=>p?p.push(e):m(e)),v=setInterval(()=>h(": ping\n\n"),r);n+=1,t.onWatchers?.(n),s=()=>{if(!c){for(let e of(c=!0,n-=1,t.onWatchers?.(n),R(),clearInterval(v),d.values()))clearTimeout(e);try{l.close()}catch{}}},o.addEventListener("abort",s);try{for(let e of await i?.()??[])f(e)}catch(e){u.logger.error("event stream opening failed",e),s();return}let g=p;for(let e of(p=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 n}}}(p,{coalesce:{ms:150,keyOf:e=>e.type in c?e.type:null},onWatchers:h.track}),m=d.__bootId??=crypto.randomUUID();e.s(["BOOT_ID",0,m,"appEventStream",0,f,"appEvents",0,p],380690)},594286,e=>e.a(async(t,a)=>{try{var r=e.i(619898),n=e.i(91264),o=e.i(53748),i=t([r]);[r]=i.then?(await i)():i;let s=(0,n.serverRoute)(async e=>{let t=new URL(e.url).searchParams,a=t.get("path");if(a){let e=await (0,r.findNoteByPath)(a);return e||(0,o.publicError)("Note not found"),e}let n=Number(t.get("offset")??0);return(0,r.findAllNotes)({offset:Number.isFinite(n)?n:0})});e.s(["GET",0,s]),a()}catch(e){a(e)}},!1),246827,e=>{"use strict";var t=e.i(747909),a=e.i(174017),r=e.i(996250),n=e.i(759756),o=e.i(561916),i=e.i(174677),s=e.i(869741),l=e.i(316795),u=e.i(487718),c=e.i(995169),d=e.i(47587),p=e.i(666012),h=e.i(570101),f=e.i(626937),m=e.i(10372),R=e.i(193695);e.i(52474);var v=e.i(600220);let g=new t.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/memory/route",pathname:"/api/memory",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/memory/route.ts",nextConfigOutput:"standalone",userland:()=>e.r(594286),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:y,serverHooks:E}=g;async function C(e,t,r){r.requestMeta&&(0,n.setRequestMeta)(e,r.requestMeta),g.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let w="/api/memory/route";w=w.replace(/\/index$/,"")||"/";let y=await g.prepare(e,t,{srcPage:w,multiZoneDraftMode:!1});if(!y)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:E,deploymentId:C,params:T,nextConfig:x,parsedUrl:b,isDraftMode:S,prerenderManifest:A,routerServerContext:_,isOnDemandRevalidate:N,revalidateOnlyGenerated:O,resolvedPathname:P,clientReferenceManifest:q,serverActionsManifest:I}=y,k=(0,s.normalizeAppPath)(w),H=!!(A.dynamicRoutes[k]||A.routes[P]),M=async()=>((null==_?void 0:_.render404)?await _.render404(e,t,b,!1):t.end("This page could not be found"),null);if(H&&!S){let e=!!A.routes[P],t=A.dynamicRoutes[k];if(t&&!1===t.fallback&&!e){if(x.adapterPath)return await M();throw new R.NoFallbackError}}let D=null;!H||g.isDev||S||(D="/index"===(D=P)?"/":D);let U=!0===g.isDev||!H,B=H&&!U;I&&q&&(0,i.setManifestsSingleton)({page:w,clientReferenceManifest:q,serverActionsManifest:I});let L=e.method||"GET",F=(0,o.getTracer)(),G=F.getActiveScopeSpan(),K=!!(null==_?void 0:_.isWrappedByNextServer),$=!!(0,n.getRequestMeta)(e,"minimalMode"),j=(0,n.getRequestMeta)(e,"incrementalCache")||await g.getIncrementalCache(e,x,A,$);null==j||j.resetRequestCache(),globalThis.__incrementalCache=j;let W={params:T,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts,useCacheTimeout:x.experimental.useCacheTimeout},cacheComponents:!!x.cacheComponents,validationLevel:x.experimental.instantInsights.validationLevel,supportsDynamicResponse:U,incrementalCache:j,hmrRefreshHash:(0,n.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:x.cacheLife,staticPageGenerationTimeout:x.staticPageGenerationTimeout,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,a,r,n)=>g.onRequestError(e,t,r,n,_)},sharedContext:{buildId:E,deploymentId:C}},z=new l.NodeNextRequest(e),X=new l.NodeNextResponse(t),V=u.NextRequestAdapter.fromNodeNextRequest(z,(0,u.signalFromNodeResponse)(t)),J=async({previousCacheEntry:a})=>{try{if(!$&&N&&O&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await g.handle(V,W);e.fetchMetrics=W.renderOpts.fetchMetrics;let o=W.renderOpts.pendingWaitUntil;o&&r.waitUntil&&(r.waitUntil(o),o=void 0);let i=W.renderOpts.collectedTags;if(!H)return await (0,p.sendResponse)(z,X,n,o),null;{let e=await n.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(n.headers);i&&(t[m.NEXT_CACHE_TAGS_HEADER]=i),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==W.renderOpts.collectedRevalidate&&!(W.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&W.renderOpts.collectedRevalidate,r=void 0===W.renderOpts.collectedExpire||W.renderOpts.collectedExpire>=m.INFINITE_CACHE?!1!==a&&a>0?x.expireTime:void 0:W.renderOpts.collectedExpire;return{value:{kind:v.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await g.onRequestError(e,t,{routerKind:"App Router",routePath:w,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:B,isOnDemandRevalidate:N})},!1,_),t}},Z=async(n,i)=>{try{var s,l;let n=await g.handleResponse({req:e,nextConfig:x,cacheKey:D,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:N,revalidateOnlyGenerated:O,responseGenerator:J,waitUntil:r.waitUntil,isMinimalMode:$});if(!H)return;if((null==n||null==(s=n.value)?void 0:s.kind)!==v.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});$||t.setHeader("x-nextjs-cache",N?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),S&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let o=(0,h.fromNodeOutgoingHttpHeaders)(n.value.headers);$&&H||o.delete(m.NEXT_CACHE_TAGS_HEADER),!n.cacheControl||t.getHeader("Cache-Control")||o.get("Cache-Control")||o.set("Cache-Control",(0,f.getCacheControlHeader)(n.cacheControl)),await (0,p.sendResponse)(z,X,new Response(n.value.body,{headers:o,status:n.value.status||200}));return}catch(t){if(t instanceof R.NoFallbackError||await g.onRequestError(e,t,{routerKind:"App Router",routePath:k,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:B,isOnDemandRevalidate:N})},!1,_),H)throw t;await (0,p.sendResponse)(z,X,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:o.SpanStatusCode.ERROR}),n.setAttribute("error.type",e.toString()));let a=F.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==c.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=a.get("next.route")||k,s=`${L} ${r}`;n.setAttributes({"next.route":r,"http.route":r,"next.span_name":s}),n.updateName(s),i&&i!==n&&(i.setAttribute("http.route",r),i.updateName(s))})()}};if(K&&G)await Z(G,void 0);else{let t=F.getActiveScopeSpan();await F.withPropagatedContext(e.headers,()=>F.trace(c.BaseServerSpan.handleRequest,{spanName:`${L} ${w}`,kind:o.SpanKind.SERVER,attributes:{"http.method":L,"http.target":e.url}},e=>Z(e,t)),void 0,!K)}}e.s(["handler",0,C,"patchFetch",0,function(){return(0,r.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:y})},"routeModule",0,g,"serverHooks",0,E,"workAsyncStorage",0,w,"workUnitAsyncStorage",0,y])},704161,e=>{"use strict";var t=e.i(469719);let a=t.z.union([t.z.date(),t.z.iso.datetime()]);e.s(["DateLikeSchema",0,a,"toDate",0,e=>new Date(e)])}];
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0cro2dz._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[70729,e=>{e.v(s=>Promise.all(["server/chunks/[externals]_node_crypto_1kn79-7._.js"].map(s=>e.l(s))).then(()=>s(666680)))},814317,e=>{e.v(e=>Promise.resolve().then(()=>e(265143)))},994193,e=>{e.v(s=>Promise.all(["server/chunks/0d-b_next_dist_server_app-render_after-task-async-storage_external_0-exn7p.js","server/chunks/features_bot_task_query_ts_11xuzl3._.js","server/chunks/_19wg5yn._.js","server/chunks/node_modules_next_04q-o58._.js"].map(s=>e.l(s))).then(()=>s(39803)))},353587,e=>{e.v(s=>Promise.all(["server/chunks/features_bot_task_query_ts_11xuzl3._.js"].map(s=>e.l(s))).then(()=>s(780274)))},967030,e=>{e.v(e=>Promise.resolve().then(()=>e(783697)))},683671,e=>{e.v(s=>Promise.all(["server/chunks/node_modules_@vercel_oidc_dist_token_1o4m7ms.js"].map(s=>e.l(s))).then(()=>s(390391)))},329280,e=>{e.v(s=>Promise.all(["server/chunks/[externals]_node_readline_1u65a-m._.js","server/chunks/node_modules_consola_dist_chunks_prompt_mjs_02axwqv._.js"].map(s=>e.l(s))).then(()=>s(781937)))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0emr6go._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[70729,e=>{e.v(s=>Promise.all(["server/chunks/[externals]_node_crypto_1kn79-7._.js"].map(s=>e.l(s))).then(()=>s(666680)))},594911,e=>e.a(async(s,r)=>{try{var t=e.i(1363);e.i(232549),e.i(938281),e.i(636608);var a=s([t]);[t]=a.then?(await a)():a,e.s([]),r()}catch(e){r(e)}},!1),242792,e=>{e.v(s=>Promise.all(["server/chunks/[root-of-the-server]
|
|
1
|
+
module.exports=[70729,e=>{e.v(s=>Promise.all(["server/chunks/[externals]_node_crypto_1kn79-7._.js"].map(s=>e.l(s))).then(()=>s(666680)))},594911,e=>e.a(async(s,r)=>{try{var t=e.i(1363);e.i(232549),e.i(938281),e.i(636608);var a=s([t]);[t]=a.then?(await a)():a,e.s([]),r()}catch(e){r(e)}},!1),242792,e=>{e.v(s=>Promise.all(["server/chunks/[root-of-the-server]__02va5wz._.js","server/chunks/_15hq89o._.js","server/chunks/_0-73of8._.js","server/chunks/_1kg70wc._.js"].map(s=>e.l(s))).then(()=>s(799791)))},868649,e=>{e.v(s=>Promise.all(["server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0tvkfgh._.js","server/chunks/[root-of-the-server]__1ccon1w._.js","server/chunks/_0y5fg-x._.js","server/chunks/_15q1pig._.js","server/chunks/lib_logger_ts_07e65t5._.js","server/chunks/_18-1wcc._.js","server/chunks/_1e48czp._.js","server/chunks/_1cbk7ms._.js"].map(s=>e.l(s))).then(()=>s(444444)))},992019,e=>e.a(async(s,r)=>{try{var t=e.i(336763),a=e.i(232347),n=e.i(876393),i=e.i(220376);e.i(864328);var _=e.i(724185);e.i(232549);var o=s([n,_]);async function c(e,s){await n.database.update(i.memoryTidyRunTable).set(s).where((0,t.eq)(i.memoryTidyRunTable.id,e)),a.appEvents.emit({type:"memory-tidy"})}async function u(e){await n.database.update(i.memoryTidyRunTable).set({status:"stopped",error:e,endedAt:new Date}).where((0,t.eq)(i.memoryTidyRunTable.status,"running"))}[n,_]=o.then?(await o)():o,e.s(["stopStaleTidyRuns",0,u,"updateTidyRun",0,c]),r()}catch(e){r(e)}},!1),356064,e=>e.a(async(s,r)=>{try{e.i(232347),e.i(333925);var t=e.i(113022),a=e.i(986507),n=e.i(594911),i=e.i(520401);e.i(938281);var _=e.i(1363);e.i(232549);var o=e.i(992019),c=s([t,a,n,i,_,o]);[t,a,n,i,_,o]=c.then?(await c)():c;let l=globalThis.__tidy??={current:null};async function u(e){let s=l.current;s&&(s.stop.abort(),await s.done,await (0,o.updateTidyRun)(s.id,{status:"stopped",error:e,endedAt:new Date}))}async function h(){await (0,o.stopStaleTidyRuns)("The server restarted.")}e.s(["stopTidy",0,u,"sweepTidy",0,h]),r()}catch(e){r(e)}},!1),573349,e=>{e.v(s=>Promise.all(["server/chunks/[root-of-the-server]__1wbc1wv._.js"].map(s=>e.l(s))).then(()=>s(913803)))},566462,e=>{e.v(s=>Promise.all(["server/chunks/[root-of-the-server]__0rl-fef._.js"].map(s=>e.l(s))).then(()=>s(313176)))},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)))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__0le4d-p._.js.map
|