thursday-agent 0.1.2 → 0.3.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 +5 -1
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +5 -5
- package/.next/routes-manifest.json +27 -3
- package/.next/server/app/_global-error/page.js +2 -2
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +2 -2
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +2 -2
- 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 +14 -14
- package/.next/server/app/_not-found.segments/_full.segment.rsc +14 -14
- 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 +3 -3
- package/.next/server/app/api/artifact/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/memory/files/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/bot/memory/files/route.js +10 -0
- package/.next/server/app/api/bot/memory/files/route.js.nft.json +1 -0
- package/.next/server/app/api/bot/memory/files/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/bot/memory/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/bot/memory/route/build-manifest.json +12 -0
- package/.next/server/app/api/bot/memory/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/bot/memory/route.js +14 -0
- package/.next/server/app/api/bot/memory/route.js.map +5 -0
- package/.next/server/app/api/bot/memory/route.js.nft.json +1 -0
- package/.next/server/app/api/bot/memory/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/bot/route.js +7 -7
- package/.next/server/app/api/bot/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/task/[id]/route.js +9 -9
- package/.next/server/app/api/bot/task/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/task/route.js +8 -8
- package/.next/server/app/api/bot/task/route.js.nft.json +1 -1
- package/.next/server/app/api/config/route.js +6 -6
- package/.next/server/app/api/config/route.js.nft.json +1 -1
- package/.next/server/app/api/events/route.js +4 -5
- package/.next/server/app/api/events/route.js.nft.json +1 -1
- package/.next/server/app/api/file/[...path]/route.js +3 -3
- package/.next/server/app/api/file/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/catalog/route.js +10 -9
- package/.next/server/app/api/llm-model/catalog/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/credits/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/llm-model/credits/route/build-manifest.json +12 -0
- package/.next/server/app/api/llm-model/credits/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/llm-model/credits/route.js +16 -0
- package/.next/server/app/api/llm-model/credits/route.js.map +5 -0
- package/.next/server/app/api/llm-model/credits/route.js.nft.json +1 -0
- package/.next/server/app/api/llm-model/credits/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/llm-model/route.js +10 -8
- package/.next/server/app/api/llm-model/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/subscription/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/llm-model/subscription/route/build-manifest.json +12 -0
- package/.next/server/app/api/llm-model/subscription/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/llm-model/subscription/route.js +15 -0
- package/.next/server/app/api/llm-model/subscription/route.js.map +5 -0
- package/.next/server/app/api/llm-model/subscription/route.js.nft.json +1 -0
- package/.next/server/app/api/llm-model/subscription/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/mcp/[name]/route.js +5 -5
- package/.next/server/app/api/mcp/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/oauth/callback/route.js +6 -6
- package/.next/server/app/api/mcp/oauth/callback/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/route.js +5 -5
- package/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/tools/route.js +5 -5
- package/.next/server/app/api/mcp/tools/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/edit/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/memory/edit/route/build-manifest.json +12 -0
- package/.next/server/app/api/memory/edit/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/memory/edit/route.js +24 -0
- package/.next/server/app/api/memory/edit/route.js.map +5 -0
- package/.next/server/app/api/memory/edit/route.js.nft.json +1 -0
- package/.next/server/app/api/memory/{tidy → edit}/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/memory/route.js +7 -8
- package/.next/server/app/api/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/[source]/[name]/route.js +3 -3
- package/.next/server/app/api/skills/[source]/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/route.js +3 -3
- package/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/call/route.js +9 -7
- package/.next/server/app/api/thursday/call/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/skills/route.js +9 -7
- package/.next/server/app/api/thursday/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/tool-call/route.js +16 -15
- package/.next/server/app/api/thursday/tool-call/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/route.js +4 -5
- 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 +5 -6
- 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 +3 -4
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next/server/app/favicon.ico.body +0 -0
- package/.next/server/app/page/server-reference-manifest.json +66 -77
- package/.next/server/app/page.js +11 -11
- 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 +5 -1
- package/.next/server/chunks/[externals]__0dzuk6_._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__01dkp4a._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__02va5wz._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__02xjoto._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__04q--0f._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__0bl-e63._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0ce8nf8._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__0ffbg85._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0j7z0r3._.js +12 -0
- package/.next/server/chunks/[root-of-the-server]__0jq4ohy._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__0ls6_8y._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__0ncs9uu._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0pa2n68._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0q0vvt2._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__1-ga0kh._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__11n256_._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__12cabg9._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1339jnv._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__15bjnu5._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__18_teo8._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__1_04mcf._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__1anc1p9._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1ccon1w._.js +10 -0
- package/.next/server/chunks/[root-of-the-server]__1fizn31._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1llj3-b._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1orn-5b._.js +11 -0
- package/.next/server/chunks/[root-of-the-server]__1p8m3f4._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1wa1k7r._.js +8 -0
- package/.next/server/chunks/{_1hzrsvg._.js → _0-73of8._.js} +6 -6
- package/.next/server/chunks/{_1cbk7ms._.js → _0-fjql4._.js} +10 -10
- package/.next/server/chunks/_00xh_q0._.js +27 -0
- package/.next/server/chunks/{_0y8is-s._.js → _03a0897._.js} +1 -1
- package/.next/server/chunks/{_0pppbb5._.js → _03kp0jp._.js} +166 -35
- package/.next/server/chunks/_051qh8u._.js +3 -0
- package/.next/server/chunks/{node_modules_next_04q-o58._.js → _05dla15._.js} +2 -2
- package/.next/server/chunks/_05h2cii._.js +1 -1
- package/.next/server/chunks/_0c9j6rb._.js +49 -0
- package/.next/server/chunks/_0fzqt2y._.js +74 -44
- package/.next/server/chunks/{_0kl37zl._.js → _0ioz3nd._.js} +1 -1
- package/.next/server/chunks/_0iwfby5._.js +3 -0
- package/.next/server/chunks/{_0hin38_._.js → _0khihjk._.js} +5 -5
- package/.next/server/chunks/_0mecv0f._.js +26 -0
- package/.next/server/chunks/_0mh8j4m._.js +3 -0
- package/.next/server/chunks/{_1icgbi8._.js → _0n74zsf._.js} +2 -2
- package/.next/server/chunks/_0obojvv._.js +3 -0
- package/.next/server/chunks/_0recufk._.js +49 -0
- package/.next/server/chunks/{_1t8fv7b._.js → _0rnf-6n._.js} +2 -2
- package/.next/server/chunks/_0sb7tlz._.js +3 -0
- package/.next/server/chunks/{_0jgm3b8._.js → _0u10wmw._.js} +6 -6
- package/.next/server/chunks/{_12nr4xc._.js → _0u4aiy2._.js} +2 -2
- package/.next/server/chunks/_0wp4le3._.js +1 -1
- package/.next/server/chunks/_0y5fg-x._.js +1 -1
- package/.next/server/chunks/_1230wbx._.js +10 -0
- package/.next/server/chunks/_12nheja._.js +3 -0
- package/.next/server/chunks/_13510xh._.js +3 -0
- package/.next/server/chunks/_15hq89o._.js +1 -1
- package/.next/server/chunks/_17l5ygt._.js +49 -0
- package/.next/server/chunks/{_0ks6_sg._.js → _18-1wcc._.js} +6 -6
- package/.next/server/chunks/_1_5mnq4._.js +18 -0
- package/.next/server/chunks/{_0tzfesa._.js → _1_9mjx-._.js} +1 -1
- package/.next/server/chunks/_1d0j961._.js +6 -0
- package/.next/server/chunks/_1d5zmy8._.js +1 -1
- package/.next/server/chunks/_1drgfx4._.js +18 -0
- package/.next/server/chunks/{_1skgy7b._.js → _1e48czp._.js} +5 -5
- package/.next/server/chunks/_1f46eie._.js +3 -0
- package/.next/server/chunks/_1h5_8sk._.js +3 -0
- package/.next/server/chunks/_1hdnxb7._.js +3 -0
- package/.next/server/chunks/_1j8k_j5._.js +3 -0
- package/.next/server/chunks/{_10qam6o._.js → _1kg70wc._.js} +5 -5
- package/.next/server/chunks/_1krd9rf._.js +3 -0
- package/.next/server/chunks/_1nc0eui._.js +11 -0
- package/.next/server/chunks/_1nula3v._.js +3 -0
- package/.next/server/chunks/_1pf4qe-._.js +3 -0
- package/.next/server/chunks/_1php4eq._.js +1 -1
- package/.next/server/chunks/_1qxheoa._.js +3 -0
- package/.next/server/chunks/_1x6kd1r._.js +3 -0
- package/.next/server/chunks/_1yuv4vp._.js +1 -1
- package/.next/server/chunks/_1zjrdag._.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_bot_memory_files_route_actions_1_xd_8f.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_bot_memory_route_actions_1a8xfr7.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_llm-model_credits_route_actions_0v424pb.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_llm-model_subscription_route_actions_0-udcm5.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_memory_edit_route_actions_02sfnmr.js +3 -0
- package/.next/server/chunks/config_ts_1g4sz5o._.js +1 -1
- package/.next/server/chunks/features_0rpfxbk._.js +3 -0
- package/.next/server/chunks/features_1qf3cei._.js +3 -0
- package/.next/server/chunks/features_bot_0zt92oh._.js +3 -0
- package/.next/server/chunks/features_bot_bot_query_ts_12mgkl2._.js +1 -1
- package/.next/server/chunks/features_memory_1uqvksn._.js +6 -0
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0tf290y._.js → node_modules_consola_dist_chunks_prompt_mjs_0i7cvml._.js} +1 -1
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0228f43._.js → node_modules_consola_dist_chunks_prompt_mjs_0icqaqw._.js} +1 -1
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0ir-vo2._.js → node_modules_consola_dist_chunks_prompt_mjs_0j61-ma._.js} +1 -1
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0otw8ef._.js → node_modules_consola_dist_chunks_prompt_mjs_0r28-sm._.js} +1 -1
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0v_7drq._.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_1xoq2rl._.js +3 -0
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1y49572._.js +3 -0
- package/.next/server/chunks/ssr/[externals]__0dizgek._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__09q9med._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0_69wqr._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0hg5gib._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0i8ie7f._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0jsmmb-._.js → [root-of-the-server]__0mz33a7._.js} +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0tbkdlx._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0vnmv-s._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0f6s48x._.js → [root-of-the-server]__0xpcv9w._.js} +3 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0xtssj3._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0zkv7z_._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__10-dz5o._.js +57 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__15_uhip._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__16jc196._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1cyjywu._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1eh7hid._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1gtlw6v._.js +43 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1mzi-ju._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1ox7hbk._.js +4 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1pduf5n._.js +3 -0
- package/.next/server/chunks/ssr/{_1mznrxk._.js → _001_ms1._.js} +3 -3
- package/.next/server/chunks/ssr/_01_6m32._.js +3 -0
- package/.next/server/chunks/ssr/_01n3o0m._.js +3 -0
- package/.next/server/chunks/ssr/_07uchnc._.js +3 -0
- package/.next/server/chunks/ssr/_0ap2fzn._.js +3 -0
- package/.next/server/chunks/ssr/_0c-ql2m._.js +3 -0
- package/.next/server/chunks/ssr/_0h42fze._.js +3 -0
- package/.next/server/chunks/ssr/_0h7zdni._.js +1 -1
- package/.next/server/chunks/ssr/_0i_6q1w._.js +41 -0
- package/.next/server/chunks/ssr/_0kbkmar._.js +3 -0
- package/.next/server/chunks/ssr/_0lu1n_x._.js +3 -0
- package/.next/server/chunks/ssr/{_077-g6s._.js → _0mb8zc8._.js} +3 -3
- package/.next/server/chunks/ssr/_0mo2w06._.js +3 -0
- package/.next/server/chunks/ssr/{_13punpm._.js → _0q0zan6._.js} +2 -2
- package/.next/server/chunks/ssr/{_0gd4vaa._.js → _0u2jv_x._.js} +94 -58
- package/.next/server/chunks/ssr/_0y0tiht._.js +4 -0
- package/.next/server/chunks/ssr/_0zhoc3r._.js +3 -0
- package/.next/server/chunks/ssr/_1-teee5._.js +3 -3
- package/.next/server/chunks/ssr/_13fke0x._.js +3 -0
- package/.next/server/chunks/ssr/{_0q_2f2x._.js → _13z3f85._.js} +2 -2
- package/.next/server/chunks/ssr/_14_lw10._.js +3 -0
- package/.next/server/chunks/ssr/_15j2_8f._.js +3 -0
- package/.next/server/chunks/ssr/{_0lc_7c8._.js → _1eoqg_g._.js} +2 -2
- package/.next/server/chunks/ssr/_1sji22n._.js +3 -0
- package/.next/server/chunks/ssr/_1spzm8z._.js +3 -0
- package/.next/server/chunks/ssr/{_19_o9d-._.js → _1vi_uo7._.js} +2 -2
- package/.next/server/chunks/ssr/_1vyd1ji._.js +3 -0
- package/.next/server/chunks/ssr/_1xvgn77._.js +3 -0
- package/.next/server/chunks/ssr/_20kd_n0._.js +42 -0
- package/.next/server/chunks/ssr/features_bot_1s_-2vj._.js +3 -0
- 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/lib_date-like_ts_02is0pw._.js +3 -0
- 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_1d-is1o._.js → node_modules_063xwpp._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1ub40gk._.js → node_modules_0bvraul._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1nhw9qg._.js → node_modules_0eu1va6._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0xwx4u-._.js → node_modules_0h50b8n._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_043-236._.js → node_modules_0h5hnr1._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1t0y5jt._.js → node_modules_0h7u60n._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1k29j1j._.js → node_modules_0lm7_vm._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_16i4o_3._.js → node_modules_0mwym0g._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1y8_3vg._.js → node_modules_0rjg6t1._.js} +1 -1
- package/.next/server/chunks/ssr/node_modules_0x3-ply._.js +3 -0
- package/.next/server/chunks/ssr/{node_modules_108wd2o._.js → node_modules_0y_cded._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1jatz7w._.js → node_modules_0z5tsu8._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ls96je._.js → node_modules_0zp9r92._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_06kvvuo._.js → node_modules_1-hc6uv._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1_588_4._.js → node_modules_113tz0l._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ipn1ho._.js → node_modules_124bue5._.js} +1 -1
- package/.next/server/chunks/ssr/node_modules_17bwo43._.js +55 -0
- package/.next/server/chunks/ssr/{node_modules_0_j7-g4._.js → node_modules_1_n3ztw._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_20ynonm._.js → node_modules_1bc7gu8._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1hn_sd5._.js → node_modules_1bgb6-f._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0bue6gy._.js → node_modules_1h4a4pp._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0fbw5-u._.js → node_modules_1i7u1ia._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1ee8gav._.js → node_modules_1juq3hs._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0_fvxnt._.js → node_modules_1l0qtdu._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_13f2md6._.js → node_modules_1t9cyee._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0y2-av4._.js → node_modules_1uuj9x1._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_00d6675._.js → node_modules_1vqb6po._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1v0077l._.js → node_modules_1xx28h1._.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_0d3skpl._.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_0i44kk5._.js} +1 -1
- package/.next/server/chunks/ssr/node_modules_@vercel_oidc_dist_0qe30a_._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_consola_dist_chunks_prompt_mjs_05cwqv2._.js +47 -0
- package/.next/server/chunks/ssr/{node_modules_next_dist_0w6mzq5._.js → node_modules_next_dist_0drixxt._.js} +4 -4
- package/.next/server/chunks/ssr/node_modules_next_dist_1n3w9lb._.js +2 -2
- package/.next/server/instrumentation.js +1 -1
- 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 +67 -78
- package/.next/static/chunks/{31ttnjt6g35a0.js → 0ev4hyghq0mbb.js} +1 -1
- package/.next/static/chunks/0r5qcctujhxli.js +1 -0
- package/.next/static/chunks/0tmgrnlje14-s.js +3 -0
- package/.next/static/chunks/0x79tx04dxbpp.js +1 -0
- package/.next/static/chunks/0xzgvc0fkdb6t.js +1 -0
- package/.next/static/chunks/10teww7wt-f6h.js +1 -0
- package/.next/static/chunks/14hgtsjg-kael.css +1 -0
- package/.next/static/chunks/17donp69y4do7.js +40 -0
- package/.next/static/chunks/1dkjg87pxk0n9.js +28 -0
- package/.next/static/chunks/1ekc7ul556kbl.js +1 -0
- package/.next/static/chunks/{1khakdu_iuedc.js → 1grhjo7a5a0_-.js} +1 -1
- package/.next/static/chunks/1kq8h8wi_e0bc.js +53 -0
- package/.next/static/chunks/1okqiww3pnwka.js +1 -0
- package/.next/static/chunks/26-pr2c9ro222.js +1 -0
- package/.next/static/chunks/{2ihkf6l2jowo9.js → 280t0_e99i276.js} +3 -3
- package/.next/static/chunks/28cizcdaabd4h.js +1 -0
- package/.next/static/chunks/2a0k6jlq0_v1u.js +2 -0
- package/.next/static/chunks/2fzs9fm8yarvq.js +1 -0
- package/.next/static/chunks/2h0sd2vumhb15.js +1 -0
- package/.next/static/chunks/2hw2f6zmt7fmt.js +1 -0
- package/.next/static/chunks/2t4vhi3m8ahya.js +1 -0
- package/.next/static/chunks/2tigdtz3dpcy8.js +1 -0
- package/.next/static/chunks/3111pj5wnjgos.js +1 -0
- package/.next/static/chunks/3786h5vayt80-.js +28 -0
- package/.next/static/chunks/{3aquirz5h71da.js → 3agpgkwaa321p.js} +1 -1
- package/.next/static/chunks/3cfi_q6d_wtci.js +1 -0
- package/.next/static/chunks/3ok9_x74rip3v.js +1 -0
- package/.next/static/chunks/3xk7yqgomx7yq.js +1 -0
- package/.next/static/chunks/3xpbkl66ssib5.js +38 -0
- package/.next/static/media/favicon.37o1pjldwi2uc.ico +0 -0
- package/README.md +6 -4
- package/app/api/bot/memory/files/route.ts +14 -0
- package/app/api/bot/memory/route.ts +5 -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 +42 -0
- package/app/api/llm-model/catalog/route.ts +12 -0
- package/app/api/llm-model/credits/route.ts +11 -0
- package/app/api/llm-model/route.ts +26 -0
- package/app/api/llm-model/subscription/route.ts +11 -0
- package/app/api/memory/edit/route.ts +7 -0
- package/app/api/memory/route.ts +21 -0
- package/app/api/query-key.ts +159 -0
- package/app/api/thursday/tool-call/route.ts +67 -0
- package/bin/thursday.mjs +3 -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 +55 -0
- package/components/ui/text-type.tsx +213 -0
- package/components/ui/theme-sync.tsx +9 -0
- package/database/migrations/{20260908030742_rainy_marvel_zombies → 20260910173049_numerous_spirit}/migration.sql +30 -33
- package/database/migrations/{20260908030742_rainy_marvel_zombies → 20260910173049_numerous_spirit}/snapshot.json +124 -145
- package/database/migrations/20260911030320_opposite_jack_power/migration.sql +1 -0
- package/database/migrations/20260911030320_opposite_jack_power/snapshot.json +1158 -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/chatgpt.ts +617 -0
- package/features/ai/components/chatgpt-sign-in.tsx +66 -0
- package/features/ai/components/model-picker.tsx +17 -1
- package/features/ai/components/provider-icon.tsx +1 -0
- package/features/ai/load-tools.ts +105 -39
- package/features/ai/model.schema.ts +232 -34
- package/features/ai/model.ts +169 -24
- package/features/ai/prompts/bot.prompt.ts +245 -59
- package/features/ai/prompts/memory-edit.prompt.ts +33 -0
- package/features/ai/prompts/prompt-helper.ts +75 -30
- package/features/ai/prompts/thursday.prompt.ts +42 -17
- package/features/ai/tools/bot.tool.ts +32 -30
- package/features/ai/tools/connected.ts +17 -4
- package/features/ai/tools/mcp.tool.ts +5 -5
- package/features/ai/tools/memory.tool.ts +142 -74
- package/features/ai/tools/search.tool.ts +136 -47
- package/features/ai/tools/studio.tool.ts +5 -5
- package/features/ai/tools/tool-name.ts +2 -3
- package/features/ai/tools/workspace.tool.ts +33 -4
- package/features/bot/bot.action.ts +24 -7
- package/features/bot/bot.memory.ts +89 -0
- package/features/bot/bot.query.ts +41 -6
- package/features/bot/bot.run.ts +516 -210
- package/features/bot/bot.runner.ts +463 -93
- package/features/bot/bot.schema.ts +84 -7
- package/features/bot/bot.seed.ts +89 -16
- package/features/bot/components/bot-mark.tsx +122 -20
- package/features/bot/components/bot-room.tsx +519 -391
- package/features/bot/components/bot-setting.tsx +832 -341
- package/features/bot/components/bot-tool.tsx +2 -6
- package/features/bot/components/mark-palette.tsx +54 -0
- package/features/bot/components/path-chips.tsx +1 -1
- package/features/bot/components/task-badge.tsx +26 -6
- package/features/bot/components/task-reply.tsx +22 -33
- package/features/bot/components/task-setting.tsx +20 -17
- package/features/bot/task.query.ts +233 -33
- package/features/bot/task.store.ts +53 -9
- package/features/config/components/config-setting.tsx +265 -34
- package/features/config/components/models-badge.tsx +42 -0
- package/features/config/config.action.ts +12 -0
- package/features/config/config.const.ts +38 -2
- package/features/connectors/mcp.manager.ts +10 -2
- package/features/intro/components/intro.tsx +47 -46
- package/features/memory/components/memory-edit.tsx +338 -0
- package/features/memory/components/memory-setting.tsx +86 -79
- package/features/memory/memory.action.ts +3 -43
- package/features/memory/memory.edit.ts +87 -0
- package/features/memory/memory.query.ts +33 -44
- package/features/memory/memory.schema.ts +50 -97
- package/features/settings/components/settings.tsx +2 -0
- package/features/settings/settings.alert.ts +3 -1
- package/features/skills/components/skills-setting.tsx +9 -1
- package/features/thursday/components/ascii-orb.tsx +106 -90
- package/features/thursday/components/boot.tsx +7 -0
- package/features/thursday/components/call-log.tsx +219 -92
- package/features/thursday/components/face.tsx +6 -4
- package/features/thursday/components/tab-state.tsx +97 -0
- package/features/thursday/components/thursday-mark.tsx +4 -1
- package/features/thursday/components/thursday-setting.tsx +17 -47
- package/features/thursday/components/thursday.tsx +208 -95
- package/features/thursday/thursday.action.ts +12 -17
- package/features/thursday/thursday.query.ts +61 -70
- package/features/thursday/thursday.schema.ts +20 -7
- package/features/thursday/tool-line.ts +85 -11
- package/features/thursday/use-thursday.ts +86 -59
- package/features/workspace/components/file-view.tsx +4 -2
- package/features/workspace/workspace.ts +230 -13
- 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/limits.ts +1 -1
- package/lib/oauth-page.ts +27 -0
- package/lib/realtime/openai.ts +2 -2
- package/lib/realtime/realtime.driver.ts +34 -1
- package/lib/realtime/realtime.protocol.ts +7 -1
- package/lib/realtime/realtime.tap.ts +122 -0
- package/lib/sandbox.ts +60 -29
- package/lib/tokens.ts +19 -0
- package/package.json +1 -1
- package/skills/browser/SKILL.md +55 -34
- package/.next/server/app/api/memory/tidy/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/memory/tidy/route.js +0 -23
- package/.next/server/app/api/memory/tidy/route.js.nft.json +0 -1
- package/.next/server/chunks/[root-of-the-server]__019dx9f._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__02_2sm-._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__02kt8yn._.js +0 -10
- package/.next/server/chunks/[root-of-the-server]__05luceg._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__06t77t4._.js +0 -11
- package/.next/server/chunks/[root-of-the-server]__0bed6hu._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__0dupqt7._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__0h59di-._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__0j_n5l3._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0le4d-p._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0m8ywyo._.js +0 -10
- package/.next/server/chunks/[root-of-the-server]__0nfuugi._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__0phdgco._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__0qjqtwo._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__0t_dqaj._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0wvgrsl._.js +0 -3
- 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]__10qshki._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__113fqg5._.js +0 -12
- package/.next/server/chunks/[root-of-the-server]__11w_7_3._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__16thabu._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__173nhwf._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__1_0q_9w._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1_aoyr9._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1bqhuh9._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__1cqizfq._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1dow0bz._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1e-ci13._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1gmn1cs._.js +0 -10
- package/.next/server/chunks/[root-of-the-server]__1lr7j9t._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1mzp_el._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1txedx6._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__1u_qvc7._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1zgpz1w._.js +0 -3
- package/.next/server/chunks/_012yhfm._.js +0 -39
- package/.next/server/chunks/_06mxlgn._.js +0 -3
- package/.next/server/chunks/_07rtlxv._.js +0 -3
- package/.next/server/chunks/_0a351g7._.js +0 -6
- package/.next/server/chunks/_0kjjmag._.js +0 -3
- package/.next/server/chunks/_0zmestz._.js +0 -55
- package/.next/server/chunks/_0zuzmt_._.js +0 -39
- package/.next/server/chunks/_12bbv5i._.js +0 -96
- package/.next/server/chunks/_15q1pig._.js +0 -3
- package/.next/server/chunks/_1drv2et._.js +0 -36
- package/.next/server/chunks/_1ic3bew._.js +0 -5
- package/.next/server/chunks/_1mxn_lb._.js +0 -3
- package/.next/server/chunks/_1uj4_io._.js +0 -10
- package/.next/server/chunks/_1x7p319._.js +0 -6
- package/.next/server/chunks/_1yldgo4._.js +0 -55
- package/.next/server/chunks/_2050gwn._.js +0 -255
- package/.next/server/chunks/_next-internal_server_app_api_memory_tidy_route_actions_0_cfuom.js +0 -3
- package/.next/server/chunks/features_0scmr4i._.js +0 -3
- package/.next/server/chunks/features_bot_task_query_ts_11xuzl3._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0vorg6w._.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_1vmaq9f._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1vwbnq_._.js +0 -3
- package/.next/server/chunks/ssr/[externals]_node_crypto_1kn79-7._.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]__0dfwvr4._.js +0 -4
- package/.next/server/chunks/ssr/[root-of-the-server]__0iuoa-r._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1-mnhyd._.js +0 -90
- 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/_0-mc7ro._.js +0 -3
- package/.next/server/chunks/ssr/_01p5r6-._.js +0 -3
- package/.next/server/chunks/ssr/_09-0k3z._.js +0 -3
- package/.next/server/chunks/ssr/_0ay6b01._.js +0 -3
- package/.next/server/chunks/ssr/_0cvjbuz._.js +0 -3
- package/.next/server/chunks/ssr/_0fafgvl._.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/_0nso8tp._.js +0 -3
- package/.next/server/chunks/ssr/_0sf1isi._.js +0 -3
- package/.next/server/chunks/ssr/_0ti51xc._.js +0 -3
- package/.next/server/chunks/ssr/_0y84qo6._.js +0 -3
- package/.next/server/chunks/ssr/_10uvw3l._.js +0 -3
- package/.next/server/chunks/ssr/_1dcxzqe._.js +0 -3
- package/.next/server/chunks/ssr/_1e-dgz0._.js +0 -4
- package/.next/server/chunks/ssr/_1fq7zgb._.js +0 -3
- package/.next/server/chunks/ssr/_1jbv7m1._.js +0 -3
- package/.next/server/chunks/ssr/features_bot_components_bot-setting_tsx_01ajft6._.js +0 -4
- package/.next/server/chunks/ssr/features_config_components_14jqgy4._.js +0 -3
- package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +0 -4
- 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/server/chunks/ssr/node_modules_zod_v4_classic_external_15fmmz3.js +0 -55
- package/.next/static/chunks/0f9sq-7q_yxyl.js +0 -1
- package/.next/static/chunks/0tydnn2kybibk.js +0 -1
- package/.next/static/chunks/0yysv1gzin17t.js +0 -1
- package/.next/static/chunks/1fr5m75pwtyic.js +0 -1
- package/.next/static/chunks/1gy3bbv7usnjo.js +0 -1
- package/.next/static/chunks/1keib_gt066gc.js +0 -1
- package/.next/static/chunks/1ytnip8wdng93.js +0 -1
- package/.next/static/chunks/21rk8w7bda-su.js +0 -1
- package/.next/static/chunks/247d-r95j8xs0.js +0 -1
- package/.next/static/chunks/28g42tw8tsvhd.js +0 -1
- package/.next/static/chunks/29gyb3nubj51j.js +0 -53
- package/.next/static/chunks/2cwjgkt_hoyhj.js +0 -22
- package/.next/static/chunks/2fq_86jvq9ymq.js +0 -2
- package/.next/static/chunks/2rbf1fpd8n80-.js +0 -22
- package/.next/static/chunks/2ukj8k69y89um.js +0 -1
- package/.next/static/chunks/2uxum7qbyeyxd.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/3xxa2j56-f3nm.js +0 -3
- package/.next/static/chunks/3y40riycdip-i.js +0 -1
- package/.next/static/chunks/45a6zbtkelph9.js +0 -1
- package/.next/static/media/favicon.2vob68tjqpejf.ico +0 -0
- package/features/ai/prompts/memory-tidy.prompt.ts +0 -123
- package/features/ai/tools/tidy.tool.ts +0 -22
- package/features/memory/components/memory-tidy.tsx +0 -395
- package/features/memory/memory.tidy.ts +0 -332
- package/features/memory/tidy.query.ts +0 -135
- package/features/thursday/use-call-title.ts +0 -31
- /package/.next/server/app/api/{memory/tidy → bot/memory/files}/route/build-manifest.json +0 -0
- /package/.next/server/app/api/{memory/tidy → bot/memory/files}/route/server-reference-manifest.json +0 -0
- /package/.next/server/app/api/{memory/tidy → bot/memory/files}/route.js.map +0 -0
- /package/.next/static/{X34BUd9bfdH27ripuwwBm → x1cCqY0kWpR_VcYx_lWO5}/_buildManifest.js +0 -0
- /package/.next/static/{X34BUd9bfdH27ripuwwBm → x1cCqY0kWpR_VcYx_lWO5}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{X34BUd9bfdH27ripuwwBm → x1cCqY0kWpR_VcYx_lWO5}/_ssgManifest.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
CREATE TABLE `bot_mcp_tool` (
|
|
1
|
+
CREATE TABLE IF NOT EXISTS `bot_mcp_tool` (
|
|
2
2
|
`botName` text NOT NULL,
|
|
3
3
|
`tool_id` integer NOT NULL,
|
|
4
4
|
CONSTRAINT `bot_mcp_tool_pk` PRIMARY KEY(`botName`, `tool_id`),
|
|
@@ -6,17 +6,25 @@ CREATE TABLE `bot_mcp_tool` (
|
|
|
6
6
|
CONSTRAINT `fk_bot_mcp_tool_tool_id_mcp_tool_id_fk` FOREIGN KEY (`tool_id`) REFERENCES `mcp_tool`(`id`) ON DELETE CASCADE
|
|
7
7
|
);
|
|
8
8
|
--> statement-breakpoint
|
|
9
|
-
CREATE TABLE `
|
|
9
|
+
CREATE TABLE IF NOT EXISTS `bot_note` (
|
|
10
|
+
`bot` text PRIMARY KEY,
|
|
11
|
+
`text` text NOT NULL,
|
|
12
|
+
`updated_at` integer NOT NULL
|
|
13
|
+
);
|
|
14
|
+
--> statement-breakpoint
|
|
15
|
+
CREATE TABLE IF NOT EXISTS `bot` (
|
|
10
16
|
`name` text PRIMARY KEY,
|
|
11
17
|
`description` text NOT NULL,
|
|
12
18
|
`system_prompt` text,
|
|
13
19
|
`icon` text,
|
|
14
20
|
`provider` text,
|
|
15
21
|
`model` text,
|
|
22
|
+
`compact_at` integer,
|
|
23
|
+
`disabled` integer DEFAULT false NOT NULL,
|
|
16
24
|
`created_at` integer NOT NULL
|
|
17
25
|
);
|
|
18
26
|
--> statement-breakpoint
|
|
19
|
-
CREATE TABLE `call_message` (
|
|
27
|
+
CREATE TABLE IF NOT EXISTS `call_message` (
|
|
20
28
|
`call_id` text NOT NULL,
|
|
21
29
|
`id` text NOT NULL,
|
|
22
30
|
`seq` integer NOT NULL,
|
|
@@ -28,21 +36,20 @@ CREATE TABLE `call_message` (
|
|
|
28
36
|
CONSTRAINT `fk_call_message_call_id_call_id_fk` FOREIGN KEY (`call_id`) REFERENCES `call`(`id`) ON DELETE CASCADE
|
|
29
37
|
);
|
|
30
38
|
--> statement-breakpoint
|
|
31
|
-
CREATE TABLE `call` (
|
|
39
|
+
CREATE TABLE IF NOT EXISTS `call` (
|
|
32
40
|
`id` text PRIMARY KEY,
|
|
33
41
|
`provider` text NOT NULL,
|
|
34
42
|
`model` text NOT NULL,
|
|
35
43
|
`started_at` integer NOT NULL,
|
|
36
|
-
`ended_at` integer
|
|
37
|
-
`tidied_at` integer
|
|
44
|
+
`ended_at` integer
|
|
38
45
|
);
|
|
39
46
|
--> statement-breakpoint
|
|
40
|
-
CREATE TABLE `config` (
|
|
47
|
+
CREATE TABLE IF NOT EXISTS `config` (
|
|
41
48
|
`key` text PRIMARY KEY,
|
|
42
49
|
`value` text NOT NULL
|
|
43
50
|
);
|
|
44
51
|
--> statement-breakpoint
|
|
45
|
-
CREATE TABLE `mcp_server` (
|
|
52
|
+
CREATE TABLE IF NOT EXISTS `mcp_server` (
|
|
46
53
|
`name` text PRIMARY KEY,
|
|
47
54
|
`config` text NOT NULL,
|
|
48
55
|
`tools_synced_at` integer NOT NULL,
|
|
@@ -51,7 +58,7 @@ CREATE TABLE `mcp_server` (
|
|
|
51
58
|
`created_at` integer NOT NULL
|
|
52
59
|
);
|
|
53
60
|
--> statement-breakpoint
|
|
54
|
-
CREATE TABLE `mcp_tool` (
|
|
61
|
+
CREATE TABLE IF NOT EXISTS `mcp_tool` (
|
|
55
62
|
`id` integer PRIMARY KEY AUTOINCREMENT,
|
|
56
63
|
`server_name` text NOT NULL,
|
|
57
64
|
`name` text NOT NULL,
|
|
@@ -62,17 +69,20 @@ CREATE TABLE `mcp_tool` (
|
|
|
62
69
|
CONSTRAINT `uq_mcp_tool_server_name` UNIQUE(`server_name`,`name`)
|
|
63
70
|
);
|
|
64
71
|
--> statement-breakpoint
|
|
65
|
-
CREATE TABLE `memory_fact` (
|
|
72
|
+
CREATE TABLE IF NOT EXISTS `memory_fact` (
|
|
66
73
|
`id` integer PRIMARY KEY AUTOINCREMENT,
|
|
67
74
|
`note_id` integer NOT NULL,
|
|
68
75
|
`text` text NOT NULL,
|
|
69
76
|
`is_latest` integer DEFAULT true NOT NULL,
|
|
70
77
|
`always_load` integer DEFAULT false NOT NULL,
|
|
78
|
+
`source` text,
|
|
79
|
+
`call_id` text,
|
|
71
80
|
`created_at` integer NOT NULL,
|
|
72
|
-
CONSTRAINT `fk_memory_fact_note_id_memory_note_id_fk` FOREIGN KEY (`note_id`) REFERENCES `memory_note`(`id`) ON DELETE CASCADE
|
|
81
|
+
CONSTRAINT `fk_memory_fact_note_id_memory_note_id_fk` FOREIGN KEY (`note_id`) REFERENCES `memory_note`(`id`) ON DELETE CASCADE,
|
|
82
|
+
CONSTRAINT `fk_memory_fact_call_id_call_id_fk` FOREIGN KEY (`call_id`) REFERENCES `call`(`id`) ON DELETE SET NULL
|
|
73
83
|
);
|
|
74
84
|
--> statement-breakpoint
|
|
75
|
-
CREATE TABLE `memory_note` (
|
|
85
|
+
CREATE TABLE IF NOT EXISTS `memory_note` (
|
|
76
86
|
`id` integer PRIMARY KEY AUTOINCREMENT,
|
|
77
87
|
`path` text NOT NULL UNIQUE,
|
|
78
88
|
`description` text NOT NULL,
|
|
@@ -84,22 +94,7 @@ CREATE TABLE `memory_note` (
|
|
|
84
94
|
`updated_at` integer NOT NULL
|
|
85
95
|
);
|
|
86
96
|
--> statement-breakpoint
|
|
87
|
-
CREATE TABLE `
|
|
88
|
-
`id` text PRIMARY KEY,
|
|
89
|
-
`status` text NOT NULL,
|
|
90
|
-
`provider` text NOT NULL,
|
|
91
|
-
`model` text NOT NULL,
|
|
92
|
-
`call_ids` text NOT NULL,
|
|
93
|
-
`messages` integer DEFAULT 0 NOT NULL,
|
|
94
|
-
`changes` text DEFAULT '[]' NOT NULL,
|
|
95
|
-
`error` text,
|
|
96
|
-
`input_tokens` integer DEFAULT 0 NOT NULL,
|
|
97
|
-
`output_tokens` integer DEFAULT 0 NOT NULL,
|
|
98
|
-
`started_at` integer NOT NULL,
|
|
99
|
-
`ended_at` integer
|
|
100
|
-
);
|
|
101
|
-
--> statement-breakpoint
|
|
102
|
-
CREATE TABLE `task_message` (
|
|
97
|
+
CREATE TABLE IF NOT EXISTS `task_message` (
|
|
103
98
|
`id` integer PRIMARY KEY AUTOINCREMENT,
|
|
104
99
|
`task_id` text NOT NULL,
|
|
105
100
|
`seq` integer NOT NULL,
|
|
@@ -108,12 +103,13 @@ CREATE TABLE `task_message` (
|
|
|
108
103
|
`role` text NOT NULL,
|
|
109
104
|
`content` text NOT NULL,
|
|
110
105
|
`compact` integer DEFAULT false NOT NULL,
|
|
106
|
+
`note` integer DEFAULT false NOT NULL,
|
|
111
107
|
`created_at` integer NOT NULL,
|
|
112
108
|
CONSTRAINT `fk_task_message_task_id_task_id_fk` FOREIGN KEY (`task_id`) REFERENCES `task`(`id`) ON DELETE CASCADE,
|
|
113
109
|
CONSTRAINT `uq_task_message_seq` UNIQUE(`task_id`,`seq`)
|
|
114
110
|
);
|
|
115
111
|
--> statement-breakpoint
|
|
116
|
-
CREATE TABLE `task` (
|
|
112
|
+
CREATE TABLE IF NOT EXISTS `task` (
|
|
117
113
|
`id` text PRIMARY KEY,
|
|
118
114
|
`bot` text NOT NULL,
|
|
119
115
|
`label` text NOT NULL,
|
|
@@ -121,7 +117,7 @@ CREATE TABLE `task` (
|
|
|
121
117
|
`status` text NOT NULL,
|
|
122
118
|
`outcome` text,
|
|
123
119
|
`pending` text,
|
|
124
|
-
`
|
|
120
|
+
`seen` integer DEFAULT false NOT NULL,
|
|
125
121
|
`call_id` text,
|
|
126
122
|
`input_tokens` integer DEFAULT 0 NOT NULL,
|
|
127
123
|
`output_tokens` integer DEFAULT 0 NOT NULL,
|
|
@@ -132,6 +128,7 @@ CREATE TABLE `task` (
|
|
|
132
128
|
`ended_at` integer
|
|
133
129
|
);
|
|
134
130
|
--> statement-breakpoint
|
|
135
|
-
CREATE INDEX `idx_call_message_call` ON `call_message` (`call_id`,`seq`);--> statement-breakpoint
|
|
136
|
-
CREATE INDEX `idx_memory_fact_note` ON `memory_fact` (`note_id`,`is_latest`);--> statement-breakpoint
|
|
137
|
-
CREATE INDEX `idx_memory_fact_always` ON `memory_fact` (`always_load`,`is_latest`)
|
|
131
|
+
CREATE INDEX IF NOT EXISTS `idx_call_message_call` ON `call_message` (`call_id`,`seq`);--> statement-breakpoint
|
|
132
|
+
CREATE INDEX IF NOT EXISTS `idx_memory_fact_note` ON `memory_fact` (`note_id`,`is_latest`);--> statement-breakpoint
|
|
133
|
+
CREATE INDEX IF NOT EXISTS `idx_memory_fact_always` ON `memory_fact` (`always_load`,`is_latest`);--> statement-breakpoint
|
|
134
|
+
CREATE INDEX IF NOT EXISTS `idx_memory_fact_call` ON `memory_fact` (`call_id`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "7",
|
|
3
3
|
"dialect": "sqlite",
|
|
4
|
-
"id": "
|
|
4
|
+
"id": "6b6b7855-1695-4eb9-82a8-2ff1ece78c4a",
|
|
5
5
|
"prevIds": [
|
|
6
6
|
"00000000-0000-0000-0000-000000000000"
|
|
7
7
|
],
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
"name": "bot_mcp_tool",
|
|
11
11
|
"entityType": "tables"
|
|
12
12
|
},
|
|
13
|
+
{
|
|
14
|
+
"name": "bot_note",
|
|
15
|
+
"entityType": "tables"
|
|
16
|
+
},
|
|
13
17
|
{
|
|
14
18
|
"name": "bot",
|
|
15
19
|
"entityType": "tables"
|
|
@@ -42,10 +46,6 @@
|
|
|
42
46
|
"name": "memory_note",
|
|
43
47
|
"entityType": "tables"
|
|
44
48
|
},
|
|
45
|
-
{
|
|
46
|
-
"name": "memory_tidy_run",
|
|
47
|
-
"entityType": "tables"
|
|
48
|
-
},
|
|
49
49
|
{
|
|
50
50
|
"name": "task_message",
|
|
51
51
|
"entityType": "tables"
|
|
@@ -74,6 +74,36 @@
|
|
|
74
74
|
"entityType": "columns",
|
|
75
75
|
"table": "bot_mcp_tool"
|
|
76
76
|
},
|
|
77
|
+
{
|
|
78
|
+
"type": "text",
|
|
79
|
+
"notNull": false,
|
|
80
|
+
"autoincrement": false,
|
|
81
|
+
"default": null,
|
|
82
|
+
"generated": null,
|
|
83
|
+
"name": "bot",
|
|
84
|
+
"entityType": "columns",
|
|
85
|
+
"table": "bot_note"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "text",
|
|
89
|
+
"notNull": true,
|
|
90
|
+
"autoincrement": false,
|
|
91
|
+
"default": null,
|
|
92
|
+
"generated": null,
|
|
93
|
+
"name": "text",
|
|
94
|
+
"entityType": "columns",
|
|
95
|
+
"table": "bot_note"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "integer",
|
|
99
|
+
"notNull": true,
|
|
100
|
+
"autoincrement": false,
|
|
101
|
+
"default": null,
|
|
102
|
+
"generated": null,
|
|
103
|
+
"name": "updated_at",
|
|
104
|
+
"entityType": "columns",
|
|
105
|
+
"table": "bot_note"
|
|
106
|
+
},
|
|
77
107
|
{
|
|
78
108
|
"type": "text",
|
|
79
109
|
"notNull": false,
|
|
@@ -134,6 +164,26 @@
|
|
|
134
164
|
"entityType": "columns",
|
|
135
165
|
"table": "bot"
|
|
136
166
|
},
|
|
167
|
+
{
|
|
168
|
+
"type": "integer",
|
|
169
|
+
"notNull": false,
|
|
170
|
+
"autoincrement": false,
|
|
171
|
+
"default": null,
|
|
172
|
+
"generated": null,
|
|
173
|
+
"name": "compact_at",
|
|
174
|
+
"entityType": "columns",
|
|
175
|
+
"table": "bot"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"type": "integer",
|
|
179
|
+
"notNull": true,
|
|
180
|
+
"autoincrement": false,
|
|
181
|
+
"default": "false",
|
|
182
|
+
"generated": null,
|
|
183
|
+
"name": "disabled",
|
|
184
|
+
"entityType": "columns",
|
|
185
|
+
"table": "bot"
|
|
186
|
+
},
|
|
137
187
|
{
|
|
138
188
|
"type": "integer",
|
|
139
189
|
"notNull": true,
|
|
@@ -264,16 +314,6 @@
|
|
|
264
314
|
"entityType": "columns",
|
|
265
315
|
"table": "call"
|
|
266
316
|
},
|
|
267
|
-
{
|
|
268
|
-
"type": "integer",
|
|
269
|
-
"notNull": false,
|
|
270
|
-
"autoincrement": false,
|
|
271
|
-
"default": null,
|
|
272
|
-
"generated": null,
|
|
273
|
-
"name": "tidied_at",
|
|
274
|
-
"entityType": "columns",
|
|
275
|
-
"table": "call"
|
|
276
|
-
},
|
|
277
317
|
{
|
|
278
318
|
"type": "text",
|
|
279
319
|
"notNull": false,
|
|
@@ -464,6 +504,26 @@
|
|
|
464
504
|
"entityType": "columns",
|
|
465
505
|
"table": "memory_fact"
|
|
466
506
|
},
|
|
507
|
+
{
|
|
508
|
+
"type": "text",
|
|
509
|
+
"notNull": false,
|
|
510
|
+
"autoincrement": false,
|
|
511
|
+
"default": null,
|
|
512
|
+
"generated": null,
|
|
513
|
+
"name": "source",
|
|
514
|
+
"entityType": "columns",
|
|
515
|
+
"table": "memory_fact"
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"type": "text",
|
|
519
|
+
"notNull": false,
|
|
520
|
+
"autoincrement": false,
|
|
521
|
+
"default": null,
|
|
522
|
+
"generated": null,
|
|
523
|
+
"name": "call_id",
|
|
524
|
+
"entityType": "columns",
|
|
525
|
+
"table": "memory_fact"
|
|
526
|
+
},
|
|
467
527
|
{
|
|
468
528
|
"type": "integer",
|
|
469
529
|
"notNull": true,
|
|
@@ -564,126 +624,6 @@
|
|
|
564
624
|
"entityType": "columns",
|
|
565
625
|
"table": "memory_note"
|
|
566
626
|
},
|
|
567
|
-
{
|
|
568
|
-
"type": "text",
|
|
569
|
-
"notNull": false,
|
|
570
|
-
"autoincrement": false,
|
|
571
|
-
"default": null,
|
|
572
|
-
"generated": null,
|
|
573
|
-
"name": "id",
|
|
574
|
-
"entityType": "columns",
|
|
575
|
-
"table": "memory_tidy_run"
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"type": "text",
|
|
579
|
-
"notNull": true,
|
|
580
|
-
"autoincrement": false,
|
|
581
|
-
"default": null,
|
|
582
|
-
"generated": null,
|
|
583
|
-
"name": "status",
|
|
584
|
-
"entityType": "columns",
|
|
585
|
-
"table": "memory_tidy_run"
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
"type": "text",
|
|
589
|
-
"notNull": true,
|
|
590
|
-
"autoincrement": false,
|
|
591
|
-
"default": null,
|
|
592
|
-
"generated": null,
|
|
593
|
-
"name": "provider",
|
|
594
|
-
"entityType": "columns",
|
|
595
|
-
"table": "memory_tidy_run"
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
"type": "text",
|
|
599
|
-
"notNull": true,
|
|
600
|
-
"autoincrement": false,
|
|
601
|
-
"default": null,
|
|
602
|
-
"generated": null,
|
|
603
|
-
"name": "model",
|
|
604
|
-
"entityType": "columns",
|
|
605
|
-
"table": "memory_tidy_run"
|
|
606
|
-
},
|
|
607
|
-
{
|
|
608
|
-
"type": "text",
|
|
609
|
-
"notNull": true,
|
|
610
|
-
"autoincrement": false,
|
|
611
|
-
"default": null,
|
|
612
|
-
"generated": null,
|
|
613
|
-
"name": "call_ids",
|
|
614
|
-
"entityType": "columns",
|
|
615
|
-
"table": "memory_tidy_run"
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
"type": "integer",
|
|
619
|
-
"notNull": true,
|
|
620
|
-
"autoincrement": false,
|
|
621
|
-
"default": "0",
|
|
622
|
-
"generated": null,
|
|
623
|
-
"name": "messages",
|
|
624
|
-
"entityType": "columns",
|
|
625
|
-
"table": "memory_tidy_run"
|
|
626
|
-
},
|
|
627
|
-
{
|
|
628
|
-
"type": "text",
|
|
629
|
-
"notNull": true,
|
|
630
|
-
"autoincrement": false,
|
|
631
|
-
"default": "'[]'",
|
|
632
|
-
"generated": null,
|
|
633
|
-
"name": "changes",
|
|
634
|
-
"entityType": "columns",
|
|
635
|
-
"table": "memory_tidy_run"
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
"type": "text",
|
|
639
|
-
"notNull": false,
|
|
640
|
-
"autoincrement": false,
|
|
641
|
-
"default": null,
|
|
642
|
-
"generated": null,
|
|
643
|
-
"name": "error",
|
|
644
|
-
"entityType": "columns",
|
|
645
|
-
"table": "memory_tidy_run"
|
|
646
|
-
},
|
|
647
|
-
{
|
|
648
|
-
"type": "integer",
|
|
649
|
-
"notNull": true,
|
|
650
|
-
"autoincrement": false,
|
|
651
|
-
"default": "0",
|
|
652
|
-
"generated": null,
|
|
653
|
-
"name": "input_tokens",
|
|
654
|
-
"entityType": "columns",
|
|
655
|
-
"table": "memory_tidy_run"
|
|
656
|
-
},
|
|
657
|
-
{
|
|
658
|
-
"type": "integer",
|
|
659
|
-
"notNull": true,
|
|
660
|
-
"autoincrement": false,
|
|
661
|
-
"default": "0",
|
|
662
|
-
"generated": null,
|
|
663
|
-
"name": "output_tokens",
|
|
664
|
-
"entityType": "columns",
|
|
665
|
-
"table": "memory_tidy_run"
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
"type": "integer",
|
|
669
|
-
"notNull": true,
|
|
670
|
-
"autoincrement": false,
|
|
671
|
-
"default": null,
|
|
672
|
-
"generated": null,
|
|
673
|
-
"name": "started_at",
|
|
674
|
-
"entityType": "columns",
|
|
675
|
-
"table": "memory_tidy_run"
|
|
676
|
-
},
|
|
677
|
-
{
|
|
678
|
-
"type": "integer",
|
|
679
|
-
"notNull": false,
|
|
680
|
-
"autoincrement": false,
|
|
681
|
-
"default": null,
|
|
682
|
-
"generated": null,
|
|
683
|
-
"name": "ended_at",
|
|
684
|
-
"entityType": "columns",
|
|
685
|
-
"table": "memory_tidy_run"
|
|
686
|
-
},
|
|
687
627
|
{
|
|
688
628
|
"type": "integer",
|
|
689
629
|
"notNull": false,
|
|
@@ -764,6 +704,16 @@
|
|
|
764
704
|
"entityType": "columns",
|
|
765
705
|
"table": "task_message"
|
|
766
706
|
},
|
|
707
|
+
{
|
|
708
|
+
"type": "integer",
|
|
709
|
+
"notNull": true,
|
|
710
|
+
"autoincrement": false,
|
|
711
|
+
"default": "false",
|
|
712
|
+
"generated": null,
|
|
713
|
+
"name": "note",
|
|
714
|
+
"entityType": "columns",
|
|
715
|
+
"table": "task_message"
|
|
716
|
+
},
|
|
767
717
|
{
|
|
768
718
|
"type": "integer",
|
|
769
719
|
"notNull": true,
|
|
@@ -850,7 +800,7 @@
|
|
|
850
800
|
"autoincrement": false,
|
|
851
801
|
"default": "false",
|
|
852
802
|
"generated": null,
|
|
853
|
-
"name": "
|
|
803
|
+
"name": "seen",
|
|
854
804
|
"entityType": "columns",
|
|
855
805
|
"table": "task"
|
|
856
806
|
},
|
|
@@ -1009,6 +959,21 @@
|
|
|
1009
959
|
"entityType": "fks",
|
|
1010
960
|
"table": "memory_fact"
|
|
1011
961
|
},
|
|
962
|
+
{
|
|
963
|
+
"columns": [
|
|
964
|
+
"call_id"
|
|
965
|
+
],
|
|
966
|
+
"tableTo": "call",
|
|
967
|
+
"columnsTo": [
|
|
968
|
+
"id"
|
|
969
|
+
],
|
|
970
|
+
"onUpdate": "NO ACTION",
|
|
971
|
+
"onDelete": "SET NULL",
|
|
972
|
+
"nameExplicit": false,
|
|
973
|
+
"name": "fk_memory_fact_call_id_call_id_fk",
|
|
974
|
+
"entityType": "fks",
|
|
975
|
+
"table": "memory_fact"
|
|
976
|
+
},
|
|
1012
977
|
{
|
|
1013
978
|
"columns": [
|
|
1014
979
|
"task_id"
|
|
@@ -1044,6 +1009,15 @@
|
|
|
1044
1009
|
"entityType": "pks",
|
|
1045
1010
|
"table": "call_message"
|
|
1046
1011
|
},
|
|
1012
|
+
{
|
|
1013
|
+
"columns": [
|
|
1014
|
+
"bot"
|
|
1015
|
+
],
|
|
1016
|
+
"nameExplicit": false,
|
|
1017
|
+
"name": "bot_note_pk",
|
|
1018
|
+
"table": "bot_note",
|
|
1019
|
+
"entityType": "pks"
|
|
1020
|
+
},
|
|
1047
1021
|
{
|
|
1048
1022
|
"columns": [
|
|
1049
1023
|
"name"
|
|
@@ -1107,15 +1081,6 @@
|
|
|
1107
1081
|
"table": "memory_note",
|
|
1108
1082
|
"entityType": "pks"
|
|
1109
1083
|
},
|
|
1110
|
-
{
|
|
1111
|
-
"columns": [
|
|
1112
|
-
"id"
|
|
1113
|
-
],
|
|
1114
|
-
"nameExplicit": false,
|
|
1115
|
-
"name": "memory_tidy_run_pk",
|
|
1116
|
-
"table": "memory_tidy_run",
|
|
1117
|
-
"entityType": "pks"
|
|
1118
|
-
},
|
|
1119
1084
|
{
|
|
1120
1085
|
"columns": [
|
|
1121
1086
|
"id"
|
|
@@ -1188,6 +1153,20 @@
|
|
|
1188
1153
|
"entityType": "indexes",
|
|
1189
1154
|
"table": "memory_fact"
|
|
1190
1155
|
},
|
|
1156
|
+
{
|
|
1157
|
+
"columns": [
|
|
1158
|
+
{
|
|
1159
|
+
"value": "call_id",
|
|
1160
|
+
"isExpression": false
|
|
1161
|
+
}
|
|
1162
|
+
],
|
|
1163
|
+
"isUnique": false,
|
|
1164
|
+
"where": null,
|
|
1165
|
+
"origin": "manual",
|
|
1166
|
+
"name": "idx_memory_fact_call",
|
|
1167
|
+
"entityType": "indexes",
|
|
1168
|
+
"table": "memory_fact"
|
|
1169
|
+
},
|
|
1191
1170
|
{
|
|
1192
1171
|
"columns": [
|
|
1193
1172
|
"server_name",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
DROP TABLE IF EXISTS `bot_note`;
|