thursday-agent 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (470) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/prerender-manifest.json +4 -4
  4. package/.next/server/app/_global-error/page.js.nft.json +1 -1
  5. package/.next/server/app/_global-error.html +1 -1
  6. package/.next/server/app/_global-error.rsc +1 -1
  7. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  10. package/.next/server/app/_not-found/page.js +1 -1
  11. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  12. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  13. package/.next/server/app/_not-found.html +1 -1
  14. package/.next/server/app/_not-found.rsc +18 -19
  15. package/.next/server/app/_not-found.segments/_full.segment.rsc +18 -19
  16. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +14 -15
  17. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  18. package/.next/server/app/api/artifact/route.js +8 -8
  19. package/.next/server/app/api/artifact/route.js.nft.json +1 -1
  20. package/.next/server/app/api/bot/keep-working/route.js +7 -7
  21. package/.next/server/app/api/bot/keep-working/route.js.nft.json +1 -1
  22. package/.next/server/app/api/bot/memory/files/route.js.nft.json +1 -1
  23. package/.next/server/app/api/bot/memory/route.js +7 -7
  24. package/.next/server/app/api/bot/memory/route.js.nft.json +1 -1
  25. package/.next/server/app/api/bot/route.js +7 -7
  26. package/.next/server/app/api/bot/route.js.nft.json +1 -1
  27. package/.next/server/app/api/bot/thread/[id]/route.js +5 -5
  28. package/.next/server/app/api/bot/thread/[id]/route.js.nft.json +1 -1
  29. package/.next/server/app/api/bot/thread/route.js +3 -3
  30. package/.next/server/app/api/bot/thread/route.js.nft.json +1 -1
  31. package/.next/server/app/api/config/route.js +3 -3
  32. package/.next/server/app/api/config/route.js.nft.json +1 -1
  33. package/.next/server/app/api/events/route.js.nft.json +1 -1
  34. package/.next/server/app/api/favicon/[host]/route.js.nft.json +1 -1
  35. package/.next/server/app/api/file/[...path]/route.js +2 -2
  36. package/.next/server/app/api/file/[...path]/route.js.nft.json +1 -1
  37. package/.next/server/app/api/llm-model/catalog/route.js +4 -4
  38. package/.next/server/app/api/llm-model/catalog/route.js.nft.json +1 -1
  39. package/.next/server/app/api/llm-model/credits/route.js +4 -4
  40. package/.next/server/app/api/llm-model/credits/route.js.nft.json +1 -1
  41. package/.next/server/app/api/llm-model/route.js +6 -6
  42. package/.next/server/app/api/llm-model/route.js.nft.json +1 -1
  43. package/.next/server/app/api/llm-model/subscription/route.js +6 -6
  44. package/.next/server/app/api/llm-model/subscription/route.js.nft.json +1 -1
  45. package/.next/server/app/api/mcp/[name]/route.js +5 -5
  46. package/.next/server/app/api/mcp/[name]/route.js.nft.json +1 -1
  47. package/.next/server/app/api/mcp/oauth/callback/route.js +5 -5
  48. package/.next/server/app/api/mcp/oauth/callback/route.js.nft.json +1 -1
  49. package/.next/server/app/api/mcp/route.js +5 -5
  50. package/.next/server/app/api/mcp/route.js.nft.json +1 -1
  51. package/.next/server/app/api/mcp/tools/route.js +5 -5
  52. package/.next/server/app/api/mcp/tools/route.js.nft.json +1 -1
  53. package/.next/server/app/api/memory/edit/route.js +15 -14
  54. package/.next/server/app/api/memory/edit/route.js.nft.json +1 -1
  55. package/.next/server/app/api/memory/route.js +4 -4
  56. package/.next/server/app/api/memory/route.js.nft.json +1 -1
  57. package/.next/server/app/api/reach/route.js +13 -12
  58. package/.next/server/app/api/reach/route.js.nft.json +1 -1
  59. package/.next/server/app/api/routine/route.js +8 -9
  60. package/.next/server/app/api/routine/route.js.nft.json +1 -1
  61. package/.next/server/app/api/signins/route.js.nft.json +1 -1
  62. package/.next/server/app/api/skills/[source]/[name]/route.js +2 -2
  63. package/.next/server/app/api/skills/[source]/[name]/route.js.nft.json +1 -1
  64. package/.next/server/app/api/skills/route.js +2 -2
  65. package/.next/server/app/api/skills/route.js.nft.json +1 -1
  66. package/.next/server/app/api/thursday/call/route.js +6 -6
  67. package/.next/server/app/api/thursday/call/route.js.nft.json +1 -1
  68. package/.next/server/app/api/thursday/skills/route.js +6 -6
  69. package/.next/server/app/api/thursday/skills/route.js.nft.json +1 -1
  70. package/.next/server/app/api/thursday/text/route.js +14 -13
  71. package/.next/server/app/api/thursday/text/route.js.nft.json +1 -1
  72. package/.next/server/app/api/thursday/tool-call/route.js +15 -14
  73. package/.next/server/app/api/thursday/tool-call/route.js.nft.json +1 -1
  74. package/.next/server/app/api/workspace/files/route.js +10 -6
  75. package/.next/server/app/api/workspace/files/route.js.nft.json +1 -1
  76. package/.next/server/app/api/workspace/route.js +9 -4
  77. package/.next/server/app/api/workspace/route.js.nft.json +1 -1
  78. package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +2 -2
  79. package/.next/server/app/artifact/[...path]/page.js +5 -4
  80. package/.next/server/app/artifact/[...path]/page.js.nft.json +1 -1
  81. package/.next/server/app/artifact/[...path]/page_client-reference-manifest.js +1 -1
  82. package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  83. package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  84. package/.next/server/app/page/server-reference-manifest.json +67 -56
  85. package/.next/server/app/page.js +10 -11
  86. package/.next/server/app/page.js.nft.json +1 -1
  87. package/.next/server/app/page_client-reference-manifest.js +1 -1
  88. package/.next/server/chunks/{[root-of-the-server]__0o49ztf._.js → [root-of-the-server]__0-k4_ie._.js} +2 -2
  89. package/.next/server/chunks/[root-of-the-server]__0209ah4._.js +6 -6
  90. package/.next/server/chunks/[root-of-the-server]__04wldw9._.js +1 -1
  91. package/.next/server/chunks/[root-of-the-server]__0h_x6q6._.js +2 -2
  92. package/.next/server/chunks/{[root-of-the-server]__0cfszwn._.js → [root-of-the-server]__0i23tc1._.js} +2 -2
  93. package/.next/server/chunks/[root-of-the-server]__0mrk2it._.js +1 -1
  94. package/.next/server/chunks/[root-of-the-server]__0nr-v8s._.js +1 -1
  95. package/.next/server/chunks/{[root-of-the-server]__1tg5got._.js → [root-of-the-server]__0paqm5y._.js} +2 -2
  96. package/.next/server/chunks/[root-of-the-server]__0qog7sm._.js +8 -0
  97. package/.next/server/chunks/[root-of-the-server]__0sm5xvm._.js +1 -1
  98. package/.next/server/chunks/[root-of-the-server]__0yisc5v._.js +5 -0
  99. package/.next/server/chunks/[root-of-the-server]__1-swlkw._.js +3 -3
  100. package/.next/server/chunks/[root-of-the-server]__12iddfq._.js +2 -2
  101. package/.next/server/chunks/{[root-of-the-server]__0npn_pn._.js → [root-of-the-server]__15p29m3._.js} +2 -2
  102. package/.next/server/chunks/[root-of-the-server]__17ses32._.js +3 -0
  103. package/.next/server/chunks/[root-of-the-server]__18-2tsq._.js +2 -2
  104. package/.next/server/chunks/[root-of-the-server]__1cjxw0-._.js +1 -1
  105. package/.next/server/chunks/[root-of-the-server]__1gi2nns._.js +5 -0
  106. package/.next/server/chunks/{[root-of-the-server]__0rqgb17._.js → [root-of-the-server]__1iauz8a._.js} +2 -2
  107. package/.next/server/chunks/[root-of-the-server]__1k3j52n._.js +1 -1
  108. package/.next/server/chunks/{[root-of-the-server]__209k6pk._.js → [root-of-the-server]__1lb_pxg._.js} +2 -2
  109. package/.next/server/chunks/[root-of-the-server]__1ndi14y._.js +1 -1
  110. package/.next/server/chunks/[root-of-the-server]__1orn-5b._.js +1 -1
  111. package/.next/server/chunks/[root-of-the-server]__1xqsrqq._.js +5 -0
  112. package/.next/server/chunks/[root-of-the-server]__1ygplx1._.js +1 -1
  113. package/.next/server/chunks/[root-of-the-server]__2163i40._.js +5 -0
  114. package/.next/server/chunks/_0ci0abh._.js +3 -0
  115. package/.next/server/chunks/_0eauz4t._.js +1 -1
  116. package/.next/server/chunks/_0f6ts7z._.js +1 -1
  117. package/.next/server/chunks/_0fg-1oj._.js +5 -0
  118. package/.next/server/chunks/_0khihjk._.js +2 -2
  119. package/.next/server/chunks/_0n74zsf._.js +1 -1
  120. package/.next/server/chunks/_0na2fj1._.js +2 -2
  121. package/.next/server/chunks/_0oh_99-._.js +3 -0
  122. package/.next/server/chunks/_0x-ej3f._.js +24 -24
  123. package/.next/server/chunks/_0z3nz21._.js +3 -0
  124. package/.next/server/chunks/_10tkr26._.js +1 -1
  125. package/.next/server/chunks/_12-amdu._.js +2 -2
  126. package/.next/server/chunks/_136j09a._.js +1 -1
  127. package/.next/server/chunks/_15740dw._.js +1 -1
  128. package/.next/server/chunks/_18izeh1._.js +5 -0
  129. package/.next/server/chunks/_1_5mnq4._.js +1 -1
  130. package/.next/server/chunks/_1ajbhv6._.js +2 -2
  131. package/.next/server/chunks/_1dc_d1q._.js +2 -2
  132. package/.next/server/chunks/_1drgfx4._.js +1 -1
  133. package/.next/server/chunks/_1e48czp._.js +2 -2
  134. package/.next/server/chunks/_1f06zo4._.js +3 -0
  135. package/.next/server/chunks/_1ic3bew._.js +2 -2
  136. package/.next/server/chunks/_1jn-aep._.js +2 -2
  137. package/.next/server/chunks/_1jn5btd._.js +6 -0
  138. package/.next/server/chunks/_1kg70wc._.js +2 -2
  139. package/.next/server/chunks/_1m2i5pt._.js +5 -0
  140. package/.next/server/chunks/_1ogqovh._.js +4 -4
  141. package/.next/server/chunks/_1qxheoa._.js +1 -1
  142. package/.next/server/chunks/_1ry6afh._.js +18 -0
  143. package/.next/server/chunks/_1taa4bs._.js +1 -1
  144. package/.next/server/chunks/_1tpr507._.js +1 -1
  145. package/.next/server/chunks/_1y8w80a._.js +1 -1
  146. package/.next/server/chunks/_1zxp-p6._.js +1 -1
  147. package/.next/server/chunks/_204744f._.js +5 -0
  148. package/.next/server/chunks/_20fsr_z._.js +1 -1
  149. package/.next/server/chunks/config_ts_1g4sz5o._.js +1 -1
  150. package/.next/server/chunks/features_0-cnt0l._.js +1 -1
  151. package/.next/server/chunks/features_0hdaci0._.js +1 -1
  152. package/.next/server/chunks/features_0p85gv6._.js +3 -0
  153. package/.next/server/chunks/{node_modules_zod_v4_0_v5xf5._.js → node_modules_zod_v4_01bha1c._.js} +2 -2
  154. package/.next/server/chunks/{node_modules_zod_v4_0q9hvql._.js → node_modules_zod_v4_0b99z6a._.js} +2 -2
  155. package/.next/server/chunks/{node_modules_zod_v4_1jg8iwg._.js → node_modules_zod_v4_1zz6lo1._.js} +2 -2
  156. package/.next/server/chunks/ssr/[root-of-the-server]__04upd5v._.js +3 -0
  157. package/.next/server/chunks/ssr/[root-of-the-server]__0dxszdt._.js +3 -0
  158. package/.next/server/chunks/ssr/[root-of-the-server]__0eezycw._.js +3 -0
  159. package/.next/server/chunks/ssr/[root-of-the-server]__0hpp3nw._.js +1 -1
  160. package/.next/server/chunks/ssr/[root-of-the-server]__0yngu44._.js +3 -0
  161. package/.next/server/chunks/ssr/[root-of-the-server]__16z72ny._.js +6 -0
  162. package/.next/server/chunks/ssr/[root-of-the-server]__1u_ry86._.js +3 -0
  163. package/.next/server/chunks/ssr/{[root-of-the-server]__1iwyp1e._.js → [root-of-the-server]__1unh_ew._.js} +1 -1
  164. package/.next/server/chunks/ssr/[root-of-the-server]__20re7ya._.js +3 -0
  165. package/.next/server/chunks/ssr/_00pgq9d._.js +5 -0
  166. package/.next/server/chunks/ssr/_07ke63g._.js +3 -0
  167. package/.next/server/chunks/ssr/_0agcbk7._.js +3 -0
  168. package/.next/server/chunks/ssr/_0e-gw2_._.js +3 -0
  169. package/.next/server/chunks/ssr/{_0fbi6om._.js → _0f_om6y._.js} +3 -3
  170. package/.next/server/chunks/ssr/_0fqhhwi._.js +1 -1
  171. package/.next/server/chunks/ssr/{_026qnc9._.js → _0gpn71k._.js} +3 -3
  172. package/.next/server/chunks/ssr/_0iizjr9._.js +3 -0
  173. package/.next/server/chunks/ssr/_0ixvzo6._.js +75 -0
  174. package/.next/server/chunks/ssr/_0kkdx7t._.js +3 -0
  175. package/.next/server/chunks/ssr/_0lufvw7._.js +118 -0
  176. package/.next/server/chunks/ssr/_0vi6ky6._.js +115 -0
  177. package/.next/server/chunks/ssr/{_10f-jib._.js → _0yhji3e._.js} +2 -2
  178. package/.next/server/chunks/ssr/_0z38nha._.js +3 -0
  179. package/.next/server/chunks/ssr/{_10mo72m._.js → _11nx2d4._.js} +2 -2
  180. package/.next/server/chunks/ssr/_12mijol._.js +2 -2
  181. package/.next/server/chunks/ssr/_150463c._.js +164 -0
  182. package/.next/server/chunks/ssr/{_0rmaf32._.js → _17d2ikl._.js} +2 -2
  183. package/.next/server/chunks/ssr/_19jez1a._.js +3 -0
  184. package/.next/server/chunks/ssr/_1blui1m._.js +3 -0
  185. package/.next/server/chunks/ssr/_1d423aj._.js +4 -4
  186. package/.next/server/chunks/ssr/_1kbk28w._.js +3 -0
  187. package/.next/server/chunks/ssr/_1kj_r9v._.js +3 -0
  188. package/.next/server/chunks/ssr/_1mqn9mc._.js +1 -1
  189. package/.next/server/chunks/ssr/{_0u5xv6g._.js → _1myh7ss._.js} +2 -2
  190. package/.next/server/chunks/ssr/_1neoj22._.js +1 -1
  191. package/.next/server/chunks/ssr/_1ou5sj0._.js +3 -0
  192. package/.next/server/chunks/ssr/_1p8xorg._.js +3 -0
  193. package/.next/server/chunks/ssr/_1tzacpl._.js +3 -0
  194. package/.next/server/chunks/ssr/_1xoch6f._.js +1 -1
  195. package/.next/server/chunks/ssr/_1yh5bj5._.js +1 -1
  196. package/.next/server/chunks/ssr/{_02c7o30._.js → _2021n9-._.js} +2 -2
  197. package/.next/server/chunks/ssr/_20argo3._.js +3 -0
  198. package/.next/server/chunks/ssr/features_bot_1ll3wp7._.js +3 -0
  199. package/.next/server/chunks/ssr/features_bot_1s_-2vj._.js +1 -1
  200. package/.next/server/chunks/ssr/features_bot_thread_query_ts_023eklt._.js +1 -1
  201. package/.next/server/chunks/ssr/features_config_1qxe5ur._.js +20 -0
  202. package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +3 -3
  203. package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +1 -1
  204. package/.next/server/chunks/ssr/features_routine_components_routine-setting_tsx_055fknz._.js +1 -1
  205. package/.next/server/chunks/ssr/features_workspace_00jz2hu._.js +1 -1
  206. package/.next/server/chunks/ssr/{node_modules_0ky76fz._.js → node_modules_06e0wlv._.js} +1 -1
  207. package/.next/server/chunks/ssr/{node_modules_0-x0zxm._.js → node_modules_0cj26-9._.js} +1 -1
  208. package/.next/server/chunks/ssr/{node_modules_0operbz._.js → node_modules_0d1rf5e._.js} +1 -1
  209. package/.next/server/chunks/ssr/{node_modules_0b0iy01._.js → node_modules_0e86703._.js} +1 -1
  210. package/.next/server/chunks/ssr/{node_modules_05b6e99._.js → node_modules_0es09am._.js} +1 -1
  211. package/.next/server/chunks/ssr/{node_modules_1iau_ea._.js → node_modules_0gr_dzf._.js} +1 -1
  212. package/.next/server/chunks/ssr/{node_modules_1hv-j1l._.js → node_modules_0gtcwz9._.js} +1 -1
  213. package/.next/server/chunks/ssr/{node_modules_1c2ikr9._.js → node_modules_0hi9h8f._.js} +1 -1
  214. package/.next/server/chunks/ssr/{node_modules_01u4ea3._.js → node_modules_0lkop0t._.js} +1 -1
  215. package/.next/server/chunks/ssr/{node_modules_1wvf3oo._.js → node_modules_0nghisk._.js} +1 -1
  216. package/.next/server/chunks/ssr/{node_modules_0yzmxfq._.js → node_modules_0stovz0._.js} +1 -1
  217. package/.next/server/chunks/ssr/{node_modules_00nrzz_._.js → node_modules_0we85kr._.js} +1 -1
  218. package/.next/server/chunks/ssr/{node_modules_01ed0yi._.js → node_modules_0ya7y1s._.js} +1 -1
  219. package/.next/server/chunks/ssr/{node_modules_0m3_5ge._.js → node_modules_0yrbwkj._.js} +1 -1
  220. package/.next/server/chunks/ssr/{node_modules_0v_-uht._.js → node_modules_1-x70ie._.js} +1 -1
  221. package/.next/server/chunks/ssr/{node_modules_07jp6tj._.js → node_modules_12fd9g0._.js} +1 -1
  222. package/.next/server/chunks/ssr/{node_modules_1wgnj8q._.js → node_modules_12wxrgr._.js} +1 -1
  223. package/.next/server/chunks/ssr/{node_modules_0azd56x._.js → node_modules_139uu4q._.js} +1 -1
  224. package/.next/server/chunks/ssr/{node_modules_1omg9xr._.js → node_modules_14gpoe1._.js} +1 -1
  225. package/.next/server/chunks/ssr/{node_modules_1ma_y68._.js → node_modules_18fmji6._.js} +1 -1
  226. package/.next/server/chunks/ssr/{node_modules_0ucridu._.js → node_modules_19kkel8._.js} +1 -1
  227. package/.next/server/chunks/ssr/{node_modules_0fpnetd._.js → node_modules_1gcine1._.js} +1 -1
  228. package/.next/server/chunks/ssr/{node_modules_1z3sh11._.js → node_modules_1h4trkm._.js} +1 -1
  229. package/.next/server/chunks/ssr/{node_modules_0lautv3._.js → node_modules_1mub_qu._.js} +1 -1
  230. package/.next/server/chunks/ssr/{node_modules_0ou0all._.js → node_modules_1p78svs._.js} +1 -1
  231. package/.next/server/chunks/ssr/{node_modules_19b0bir._.js → node_modules_1xp-7ep._.js} +1 -1
  232. package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0tmjn9w._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0ay7_oi._.js} +1 -1
  233. package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1_e8c3o._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_182ydq_._.js} +1 -1
  234. package/.next/server/middleware-build-manifest.js +3 -3
  235. package/.next/server/pages/404.html +1 -1
  236. package/.next/server/pages/500.html +1 -1
  237. package/.next/server/server-reference-manifest.js +1 -1
  238. package/.next/server/server-reference-manifest.json +69 -58
  239. package/.next/static/chunks/03df16hs01-xi.js +1 -0
  240. package/.next/static/chunks/0crocb7272z8k.js +1 -0
  241. package/.next/static/chunks/{0p9jcyqkpq71f.js → 0dqsenl3uk_8z.js} +1 -1
  242. package/.next/static/chunks/0hhn8mf953761.js +1 -0
  243. package/.next/static/chunks/0n1o3k0z4m7c_.js +1 -0
  244. package/.next/static/chunks/0oe2zavre2a7d.css +1 -0
  245. package/.next/static/chunks/0srg9tv4105-i.js +1 -0
  246. package/.next/static/chunks/0t599wrclly7i.js +18 -0
  247. package/.next/static/chunks/0x34bhth_sn35.js +1 -0
  248. package/.next/static/chunks/{0mscosx0eh3ee.js → 0x_6z8vt8hyf4.js} +3 -3
  249. package/.next/static/chunks/{0p50d-au6-3hx.js → 1_wstwzu1md-6.js} +2 -2
  250. package/.next/static/chunks/{40ij3wsn3vt7h.js → 1aughn81slf90.js} +1 -1
  251. package/.next/static/chunks/1g1j03h_l-e67.js +1 -0
  252. package/.next/static/chunks/1lp02y2nmddxg.js +1 -0
  253. package/.next/static/chunks/211s4xjtecj2l.js +1 -0
  254. package/.next/static/chunks/2244-cat2jlvd.js +1 -0
  255. package/.next/static/chunks/{2r6xnyg7ezyxr.js → 2eev_i93slion.js} +2 -2
  256. package/.next/static/chunks/2sjq4gsimlfqr.js +113 -0
  257. package/.next/static/chunks/{0qgn3u86jkbm7.js → 2uleilh8ph06-.js} +1 -1
  258. package/.next/static/chunks/{1czfknd4luo6t.js → 2zchsg03a1pdp.js} +1 -1
  259. package/.next/static/chunks/32tmfirfjpulv.js +1 -0
  260. package/.next/static/chunks/{2_c7mu6x1lu49.js → 376-s_i83irs-.js} +1 -1
  261. package/.next/static/chunks/3blk-kpn39xr-.js +1 -0
  262. package/.next/static/chunks/3eieehp7wquyu.js +1 -0
  263. package/.next/static/chunks/3kc-e7pcj50ae.js +1 -0
  264. package/.next/static/chunks/3rwpyuo9nrrop.js +17 -0
  265. package/.next/static/chunks/3sf4l25l353ja.js +1 -0
  266. package/.next/static/chunks/3vz7m1w688juj.js +3 -0
  267. package/.next/static/chunks/43skgt0h9woyu.js +1 -0
  268. package/app/api/events/app-event.client.ts +8 -2
  269. package/app/api/events/app-event.server.ts +7 -5
  270. package/app/api/events/app-event.ts +19 -8
  271. package/app/api/query-key.ts +13 -5
  272. package/bin/database.mjs +21 -11
  273. package/bin/thursday.mjs +5 -2
  274. package/components/ui/shiny-text.tsx +2 -2
  275. package/database/migrations/20260920024909_messy_baron_strucker/migration.sql +1 -0
  276. package/database/migrations/20260920024909_messy_baron_strucker/snapshot.json +1937 -0
  277. package/features/artifact/components/artifact-setting.tsx +18 -24
  278. package/features/bot/bot.action.ts +3 -0
  279. package/features/bot/bot.runner.ts +25 -3
  280. package/features/bot/bot.seed.ts +98 -22
  281. package/features/bot/components/bot-badge.tsx +2 -2
  282. package/features/bot/components/bot-mark.tsx +12 -3
  283. package/features/bot/components/bot-room.tsx +33 -10
  284. package/features/bot/components/bot-setting.tsx +88 -34
  285. package/features/bot/components/crew-motion.ts +161 -0
  286. package/features/bot/components/mark-palette.tsx +3 -3
  287. package/features/bot/components/room-conversation.tsx +13 -8
  288. package/features/bot/components/room-list.tsx +9 -5
  289. package/features/bot/components/room-pill.tsx +131 -41
  290. package/features/bot/components/thread-badge.tsx +4 -4
  291. package/features/bot/components/thread-setting.tsx +58 -19
  292. package/features/bot/mark.const.ts +24 -0
  293. package/features/bot/thread.query.ts +32 -14
  294. package/features/bot/thread.store.ts +19 -16
  295. package/features/config/components/config-badge.tsx +2 -2
  296. package/features/config/components/config-setting.tsx +63 -213
  297. package/features/config/config.const.ts +2 -1
  298. package/features/connectors/components/mcp-setting.tsx +60 -29
  299. package/features/intro/components/intro.tsx +2 -2
  300. package/features/memory/components/memory-setting.tsx +11 -7
  301. package/features/reach/channel.ts +9 -1
  302. package/features/reach/components/reach-guide.tsx +606 -105
  303. package/features/reach/discord.ts +18 -3
  304. package/features/reach/reach.schema.ts +6 -0
  305. package/features/reach/reach.ts +55 -2
  306. package/features/reach/slack.ts +2 -1
  307. package/features/reach/telegram.ts +5 -1
  308. package/features/routine/components/routine-setting.tsx +46 -18
  309. package/features/settings/components/setting-ui.tsx +17 -68
  310. package/features/settings/components/settings.tsx +4 -3
  311. package/features/settings/settings.alert.ts +8 -8
  312. package/features/skills/components/skills-setting.tsx +78 -12
  313. package/features/skills/skills.action.ts +12 -0
  314. package/features/skills/skills.query.ts +24 -0
  315. package/features/thursday/components/call-log.tsx +19 -14
  316. package/features/thursday/components/side-captions.tsx +3 -2
  317. package/features/thursday/components/thursday-setting.tsx +5 -6
  318. package/features/thursday/components/thursday.tsx +8 -9
  319. package/features/thursday/components/write-line.tsx +10 -5
  320. package/features/thursday/thursday.action.ts +4 -0
  321. package/features/thursday/thursday.query.ts +3 -2
  322. package/features/thursday/thursday.schema.ts +5 -0
  323. package/features/thursday/use-call-ring.ts +6 -1
  324. package/features/thursday/use-text-call.ts +25 -10
  325. package/features/thursday/use-thursday.ts +10 -1
  326. package/features/workspace/components/artifact-view.tsx +42 -33
  327. package/features/workspace/components/file-thumb.tsx +8 -4
  328. package/features/workspace/components/file-view.tsx +25 -2
  329. package/features/workspace/components/workspace-setting.tsx +27 -23
  330. package/features/workspace/workspace.query.ts +20 -1
  331. package/features/workspace/workspace.ts +14 -0
  332. package/guide/bots.md +27 -4
  333. package/guide/calls.md +5 -3
  334. package/guide/phone.md +23 -12
  335. package/guide/setup.md +20 -5
  336. package/guide/trouble.md +1 -1
  337. package/hooks/use-theme.ts +14 -0
  338. package/lib/protocol/events.client.ts +56 -14
  339. package/lib/protocol/events.server.ts +41 -12
  340. package/lib/utils.ts +1 -1
  341. package/package.json +1 -1
  342. package/scripts/reach-channels.test.mts +15 -2
  343. package/seed-skills/brief/daily-brief/SKILL.md +39 -0
  344. package/seed-skills/brief/daily-brief/page/brief.css +406 -0
  345. package/seed-skills/brief/daily-brief/references/brief.md +106 -0
  346. package/seed-skills/brief/daily-brief/references/preferences.md +67 -0
  347. package/seed-skills/brief/daily-brief/scripts/glance.mjs +128 -0
  348. package/seed-skills/brief/daily-brief/scripts/lib.mjs +182 -0
  349. package/seed-skills/brief/daily-brief/scripts/news.mjs +320 -0
  350. package/seed-skills/brief/daily-brief/scripts/page.mjs +322 -0
  351. package/seed-skills/brief/daily-brief/scripts/story.mjs +265 -0
  352. package/seed-skills/digest/README.md +20 -0
  353. package/seed-skills/digest/media-digest/SKILL.md +32 -0
  354. package/seed-skills/digest/media-digest/references/no-captions.md +20 -0
  355. package/seed-skills/digest/media-digest/references/page.md +56 -0
  356. package/seed-skills/digest/media-digest/references/reading.md +56 -0
  357. package/seed-skills/digest/media-digest/scripts/audio.mjs +232 -0
  358. package/seed-skills/digest/media-digest/scripts/digest.mjs +379 -0
  359. package/seed-skills/digest/media-digest/scripts/lib.mjs +284 -0
  360. package/seed-skills/digest/media-digest/scripts/part.mjs +16 -0
  361. package/seed-skills/digest/media-digest/scripts/text.mjs +287 -0
  362. package/seed-skills/digest/media-digest/scripts/yt.mjs +487 -0
  363. package/seed-skills/docs/README.md +32 -0
  364. package/seed-skills/docs/documents/SKILL.md +34 -0
  365. package/seed-skills/docs/documents/kit/package-lock.json +1596 -0
  366. package/seed-skills/docs/documents/kit/package.json +17 -0
  367. package/seed-skills/docs/documents/references/deck.md +63 -0
  368. package/seed-skills/docs/documents/references/invoice.md +64 -0
  369. package/seed-skills/docs/documents/references/pdf.md +59 -0
  370. package/seed-skills/docs/documents/references/print.md +43 -0
  371. package/seed-skills/docs/documents/references/sheets.md +49 -0
  372. package/seed-skills/docs/documents/references/translate.md +37 -0
  373. package/seed-skills/docs/documents/references/word.md +45 -0
  374. package/seed-skills/docs/documents/scripts/doc.mjs +123 -0
  375. package/seed-skills/docs/documents/scripts/lib/browser.mjs +259 -0
  376. package/seed-skills/docs/documents/scripts/lib/deck-chart.mjs +150 -0
  377. package/seed-skills/docs/documents/scripts/lib/deck.mjs +1132 -0
  378. package/seed-skills/docs/documents/scripts/lib/invoice.mjs +505 -0
  379. package/seed-skills/docs/documents/scripts/lib/kit.mjs +244 -0
  380. package/seed-skills/docs/documents/scripts/lib/pdf.mjs +645 -0
  381. package/seed-skills/docs/documents/scripts/lib/report.mjs +38 -0
  382. package/seed-skills/docs/documents/scripts/lib/sheet.mjs +523 -0
  383. package/seed-skills/docs/documents/scripts/lib/templates.mjs +34 -0
  384. package/seed-skills/docs/documents/scripts/lib/translate.mjs +691 -0
  385. package/seed-skills/docs/documents/scripts/lib/word.mjs +678 -0
  386. package/seed-skills/docs/documents/templates/letter.html +56 -0
  387. package/seed-skills/docs/documents/templates/print.css +219 -0
  388. package/seed-skills/docs/documents/templates/report.html +47 -0
  389. package/seed-skills/docs/documents/templates/resume.html +61 -0
  390. package/seed-skills/insta/instagram/references/post.md +31 -7
  391. package/seed-skills/trip/README.md +11 -0
  392. package/seed-skills/trip/travel/SKILL.md +40 -0
  393. package/seed-skills/trip/travel/page/itinerary.css +488 -0
  394. package/seed-skills/trip/travel/references/itinerary.md +70 -0
  395. package/seed-skills/trip/travel/references/plan.md +75 -0
  396. package/seed-skills/trip/travel/references/watch-and-book.md +39 -0
  397. package/seed-skills/trip/travel/scripts/flights.mjs +374 -0
  398. package/seed-skills/trip/travel/scripts/fx.mjs +57 -0
  399. package/seed-skills/trip/travel/scripts/hotels.mjs +356 -0
  400. package/seed-skills/trip/travel/scripts/itinerary.mjs +482 -0
  401. package/seed-skills/trip/travel/scripts/lib.mjs +120 -0
  402. package/seed-skills/trip/travel/scripts/selectors.mjs +78 -0
  403. package/seed-skills/trip/travel/scripts/watch.mjs +147 -0
  404. package/seed-skills/trip/travel/scripts/weather.mjs +150 -0
  405. package/seed-skills/tutor/picture-book/SKILL.md +6 -0
  406. package/seed-skills/tutor/picture-book/references/picture-book.md +22 -2
  407. package/.next/server/chunks/[root-of-the-server]__014ydvq._.js +0 -8
  408. package/.next/server/chunks/[root-of-the-server]__01d285y._.js +0 -5
  409. package/.next/server/chunks/[root-of-the-server]__04r4h-2._.js +0 -7
  410. package/.next/server/chunks/[root-of-the-server]__0ayldfn._.js +0 -5
  411. package/.next/server/chunks/[root-of-the-server]__17weeeg._.js +0 -5
  412. package/.next/server/chunks/[root-of-the-server]__1ai5lme._.js +0 -8
  413. package/.next/server/chunks/_05v8k21._.js +0 -7
  414. package/.next/server/chunks/_0k6qjcf._.js +0 -5
  415. package/.next/server/chunks/_1d_enhu._.js +0 -3
  416. package/.next/server/chunks/_1jc5g4p._.js +0 -6
  417. package/.next/server/chunks/_1nfr-75._.js +0 -3
  418. package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0md6j0x._.js +0 -3
  419. package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_14ih1vy._.js +0 -3
  420. package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1d6ez5-._.js +0 -3
  421. package/.next/server/chunks/ssr/[root-of-the-server]__0a967km._.js +0 -3
  422. package/.next/server/chunks/ssr/[root-of-the-server]__0tzekbl._.js +0 -68
  423. package/.next/server/chunks/ssr/[root-of-the-server]__1756892._.js +0 -3
  424. package/.next/server/chunks/ssr/[root-of-the-server]__1mzi-ju._.js +0 -3
  425. package/.next/server/chunks/ssr/[root-of-the-server]__1nqw56a._.js +0 -3
  426. package/.next/server/chunks/ssr/[root-of-the-server]__1r77-88._.js +0 -3
  427. package/.next/server/chunks/ssr/[root-of-the-server]__1w9hqq8._.js +0 -8
  428. package/.next/server/chunks/ssr/_05pl_u8._.js +0 -3
  429. package/.next/server/chunks/ssr/_097-ljd._.js +0 -4
  430. package/.next/server/chunks/ssr/_0euzzf8._.js +0 -3
  431. package/.next/server/chunks/ssr/_0evkpto._.js +0 -3
  432. package/.next/server/chunks/ssr/_0igfcax._.js +0 -20
  433. package/.next/server/chunks/ssr/_0lu1n_x._.js +0 -3
  434. package/.next/server/chunks/ssr/_0nvh1h9._.js +0 -3
  435. package/.next/server/chunks/ssr/_0qmpw35._.js +0 -3
  436. package/.next/server/chunks/ssr/_0uv-qs4._.js +0 -3
  437. package/.next/server/chunks/ssr/_132qkfz._.js +0 -5
  438. package/.next/server/chunks/ssr/_15zqt-t._.js +0 -3
  439. package/.next/server/chunks/ssr/_16gfxpn._.js +0 -3
  440. package/.next/server/chunks/ssr/_184327j._.js +0 -3
  441. package/.next/server/chunks/ssr/_18ujhhq._.js +0 -3
  442. package/.next/server/chunks/ssr/_1lx6w_o._.js +0 -67
  443. package/.next/server/chunks/ssr/_1ntpny5._.js +0 -3
  444. package/.next/server/chunks/ssr/_1o1g4uk._.js +0 -5
  445. package/.next/server/chunks/ssr/_1xx4zlb._.js +0 -3
  446. package/.next/server/chunks/ssr/_2008vmi._.js +0 -164
  447. package/.next/server/chunks/ssr/features_bot_1n1s7bh._.js +0 -3
  448. package/.next/static/chunks/09pkygbht7ki8.js +0 -18
  449. package/.next/static/chunks/0bm-nhblcmmj4.js +0 -17
  450. package/.next/static/chunks/0c_g4-11sha-1.js +0 -1
  451. package/.next/static/chunks/0hhza87hkbqaz.js +0 -1
  452. package/.next/static/chunks/0samf80yu2b17.js +0 -1
  453. package/.next/static/chunks/0vlgzqo9ka90v.js +0 -1
  454. package/.next/static/chunks/1g9yyvculuxj2.js +0 -1
  455. package/.next/static/chunks/1jz8n0mhtdzr8.js +0 -1
  456. package/.next/static/chunks/206laxm6maiz2.js +0 -1
  457. package/.next/static/chunks/23nfu5g4vl_m7.js +0 -1
  458. package/.next/static/chunks/2h-tlhb2ffhkk.js +0 -1
  459. package/.next/static/chunks/2i5_w8olnrvo0.js +0 -3
  460. package/.next/static/chunks/2m6jd3586ijb-.js +0 -1
  461. package/.next/static/chunks/2m8iqwc6sykln.js +0 -1
  462. package/.next/static/chunks/33fyp-byw48ju.js +0 -65
  463. package/.next/static/chunks/35yd_27d9ylra.js +0 -1
  464. package/.next/static/chunks/3ag1i3__yl94f.js +0 -1
  465. package/.next/static/chunks/3m_ejzg-xn21r.css +0 -1
  466. package/.next/static/chunks/3s-jpd3ky49-n.js +0 -1
  467. package/features/reach/components/reach-state.tsx +0 -71
  468. /package/.next/static/{QSe0rTdXU5kh5BBzr2XBB → fiNGsQfna8qldl8wU8wqr}/_buildManifest.js +0 -0
  469. /package/.next/static/{QSe0rTdXU5kh5BBzr2XBB → fiNGsQfna8qldl8wU8wqr}/_clientMiddlewareManifest.js +0 -0
  470. /package/.next/static/{QSe0rTdXU5kh5BBzr2XBB → fiNGsQfna8qldl8wU8wqr}/_ssgManifest.js +0 -0
@@ -0,0 +1,1937 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "id": "5c03f1ee-2480-42d0-bdd0-7ffb70410a3b",
5
+ "prevIds": [
6
+ "e67c2beb-e8f5-42e5-afc0-09d76d7e69ca"
7
+ ],
8
+ "ddl": [
9
+ {
10
+ "name": "bot_mcp_tool",
11
+ "entityType": "tables"
12
+ },
13
+ {
14
+ "name": "bot",
15
+ "entityType": "tables"
16
+ },
17
+ {
18
+ "name": "call_message",
19
+ "entityType": "tables"
20
+ },
21
+ {
22
+ "name": "call",
23
+ "entityType": "tables"
24
+ },
25
+ {
26
+ "name": "call_thought",
27
+ "entityType": "tables"
28
+ },
29
+ {
30
+ "name": "config",
31
+ "entityType": "tables"
32
+ },
33
+ {
34
+ "name": "mcp_server",
35
+ "entityType": "tables"
36
+ },
37
+ {
38
+ "name": "mcp_tool",
39
+ "entityType": "tables"
40
+ },
41
+ {
42
+ "name": "memory_fact",
43
+ "entityType": "tables"
44
+ },
45
+ {
46
+ "name": "memory_note",
47
+ "entityType": "tables"
48
+ },
49
+ {
50
+ "name": "routine",
51
+ "entityType": "tables"
52
+ },
53
+ {
54
+ "name": "thread_delivery",
55
+ "entityType": "tables"
56
+ },
57
+ {
58
+ "name": "thread_message",
59
+ "entityType": "tables"
60
+ },
61
+ {
62
+ "name": "thread_relay",
63
+ "entityType": "tables"
64
+ },
65
+ {
66
+ "name": "thread",
67
+ "entityType": "tables"
68
+ },
69
+ {
70
+ "name": "thread_work",
71
+ "entityType": "tables"
72
+ },
73
+ {
74
+ "type": "text",
75
+ "notNull": true,
76
+ "autoincrement": false,
77
+ "default": null,
78
+ "generated": null,
79
+ "name": "botName",
80
+ "entityType": "columns",
81
+ "table": "bot_mcp_tool"
82
+ },
83
+ {
84
+ "type": "integer",
85
+ "notNull": true,
86
+ "autoincrement": false,
87
+ "default": null,
88
+ "generated": null,
89
+ "name": "tool_id",
90
+ "entityType": "columns",
91
+ "table": "bot_mcp_tool"
92
+ },
93
+ {
94
+ "type": "text",
95
+ "notNull": false,
96
+ "autoincrement": false,
97
+ "default": null,
98
+ "generated": null,
99
+ "name": "name",
100
+ "entityType": "columns",
101
+ "table": "bot"
102
+ },
103
+ {
104
+ "type": "text",
105
+ "notNull": true,
106
+ "autoincrement": false,
107
+ "default": null,
108
+ "generated": null,
109
+ "name": "description",
110
+ "entityType": "columns",
111
+ "table": "bot"
112
+ },
113
+ {
114
+ "type": "text",
115
+ "notNull": false,
116
+ "autoincrement": false,
117
+ "default": null,
118
+ "generated": null,
119
+ "name": "system_prompt",
120
+ "entityType": "columns",
121
+ "table": "bot"
122
+ },
123
+ {
124
+ "type": "text",
125
+ "notNull": false,
126
+ "autoincrement": false,
127
+ "default": null,
128
+ "generated": null,
129
+ "name": "icon",
130
+ "entityType": "columns",
131
+ "table": "bot"
132
+ },
133
+ {
134
+ "type": "text",
135
+ "notNull": false,
136
+ "autoincrement": false,
137
+ "default": null,
138
+ "generated": null,
139
+ "name": "provider",
140
+ "entityType": "columns",
141
+ "table": "bot"
142
+ },
143
+ {
144
+ "type": "text",
145
+ "notNull": false,
146
+ "autoincrement": false,
147
+ "default": null,
148
+ "generated": null,
149
+ "name": "model",
150
+ "entityType": "columns",
151
+ "table": "bot"
152
+ },
153
+ {
154
+ "type": "integer",
155
+ "notNull": false,
156
+ "autoincrement": false,
157
+ "default": null,
158
+ "generated": null,
159
+ "name": "compact_at",
160
+ "entityType": "columns",
161
+ "table": "bot"
162
+ },
163
+ {
164
+ "type": "integer",
165
+ "notNull": true,
166
+ "autoincrement": false,
167
+ "default": "false",
168
+ "generated": null,
169
+ "name": "disabled",
170
+ "entityType": "columns",
171
+ "table": "bot"
172
+ },
173
+ {
174
+ "type": "integer",
175
+ "notNull": true,
176
+ "autoincrement": false,
177
+ "default": null,
178
+ "generated": null,
179
+ "name": "created_at",
180
+ "entityType": "columns",
181
+ "table": "bot"
182
+ },
183
+ {
184
+ "type": "text",
185
+ "notNull": true,
186
+ "autoincrement": false,
187
+ "default": null,
188
+ "generated": null,
189
+ "name": "call_id",
190
+ "entityType": "columns",
191
+ "table": "call_message"
192
+ },
193
+ {
194
+ "type": "text",
195
+ "notNull": true,
196
+ "autoincrement": false,
197
+ "default": null,
198
+ "generated": null,
199
+ "name": "id",
200
+ "entityType": "columns",
201
+ "table": "call_message"
202
+ },
203
+ {
204
+ "type": "integer",
205
+ "notNull": true,
206
+ "autoincrement": false,
207
+ "default": null,
208
+ "generated": null,
209
+ "name": "seq",
210
+ "entityType": "columns",
211
+ "table": "call_message"
212
+ },
213
+ {
214
+ "type": "text",
215
+ "notNull": true,
216
+ "autoincrement": false,
217
+ "default": null,
218
+ "generated": null,
219
+ "name": "role",
220
+ "entityType": "columns",
221
+ "table": "call_message"
222
+ },
223
+ {
224
+ "type": "text",
225
+ "notNull": false,
226
+ "autoincrement": false,
227
+ "default": null,
228
+ "generated": null,
229
+ "name": "tool",
230
+ "entityType": "columns",
231
+ "table": "call_message"
232
+ },
233
+ {
234
+ "type": "text",
235
+ "notNull": true,
236
+ "autoincrement": false,
237
+ "default": null,
238
+ "generated": null,
239
+ "name": "text",
240
+ "entityType": "columns",
241
+ "table": "call_message"
242
+ },
243
+ {
244
+ "type": "text",
245
+ "notNull": false,
246
+ "autoincrement": false,
247
+ "default": null,
248
+ "generated": null,
249
+ "name": "fragments",
250
+ "entityType": "columns",
251
+ "table": "call_message"
252
+ },
253
+ {
254
+ "type": "integer",
255
+ "notNull": true,
256
+ "autoincrement": false,
257
+ "default": null,
258
+ "generated": null,
259
+ "name": "at",
260
+ "entityType": "columns",
261
+ "table": "call_message"
262
+ },
263
+ {
264
+ "type": "text",
265
+ "notNull": false,
266
+ "autoincrement": false,
267
+ "default": null,
268
+ "generated": null,
269
+ "name": "id",
270
+ "entityType": "columns",
271
+ "table": "call"
272
+ },
273
+ {
274
+ "type": "text",
275
+ "notNull": true,
276
+ "autoincrement": false,
277
+ "default": null,
278
+ "generated": null,
279
+ "name": "provider",
280
+ "entityType": "columns",
281
+ "table": "call"
282
+ },
283
+ {
284
+ "type": "text",
285
+ "notNull": true,
286
+ "autoincrement": false,
287
+ "default": null,
288
+ "generated": null,
289
+ "name": "model",
290
+ "entityType": "columns",
291
+ "table": "call"
292
+ },
293
+ {
294
+ "type": "text",
295
+ "notNull": false,
296
+ "autoincrement": false,
297
+ "default": null,
298
+ "generated": null,
299
+ "name": "backend_model",
300
+ "entityType": "columns",
301
+ "table": "call"
302
+ },
303
+ {
304
+ "type": "integer",
305
+ "notNull": true,
306
+ "autoincrement": false,
307
+ "default": null,
308
+ "generated": null,
309
+ "name": "started_at",
310
+ "entityType": "columns",
311
+ "table": "call"
312
+ },
313
+ {
314
+ "type": "text",
315
+ "notNull": false,
316
+ "autoincrement": false,
317
+ "default": null,
318
+ "generated": null,
319
+ "name": "ended_reason",
320
+ "entityType": "columns",
321
+ "table": "call"
322
+ },
323
+ {
324
+ "type": "integer",
325
+ "notNull": false,
326
+ "autoincrement": false,
327
+ "default": null,
328
+ "generated": null,
329
+ "name": "seconds",
330
+ "entityType": "columns",
331
+ "table": "call"
332
+ },
333
+ {
334
+ "type": "integer",
335
+ "notNull": false,
336
+ "autoincrement": false,
337
+ "default": null,
338
+ "generated": null,
339
+ "name": "ended_at",
340
+ "entityType": "columns",
341
+ "table": "call"
342
+ },
343
+ {
344
+ "type": "text",
345
+ "notNull": true,
346
+ "autoincrement": false,
347
+ "default": null,
348
+ "generated": null,
349
+ "name": "call_id",
350
+ "entityType": "columns",
351
+ "table": "call_thought"
352
+ },
353
+ {
354
+ "type": "text",
355
+ "notNull": true,
356
+ "autoincrement": false,
357
+ "default": null,
358
+ "generated": null,
359
+ "name": "id",
360
+ "entityType": "columns",
361
+ "table": "call_thought"
362
+ },
363
+ {
364
+ "type": "integer",
365
+ "notNull": true,
366
+ "autoincrement": false,
367
+ "default": null,
368
+ "generated": null,
369
+ "name": "seq",
370
+ "entityType": "columns",
371
+ "table": "call_thought"
372
+ },
373
+ {
374
+ "type": "text",
375
+ "notNull": true,
376
+ "autoincrement": false,
377
+ "default": null,
378
+ "generated": null,
379
+ "name": "text",
380
+ "entityType": "columns",
381
+ "table": "call_thought"
382
+ },
383
+ {
384
+ "type": "integer",
385
+ "notNull": true,
386
+ "autoincrement": false,
387
+ "default": null,
388
+ "generated": null,
389
+ "name": "at",
390
+ "entityType": "columns",
391
+ "table": "call_thought"
392
+ },
393
+ {
394
+ "type": "text",
395
+ "notNull": false,
396
+ "autoincrement": false,
397
+ "default": null,
398
+ "generated": null,
399
+ "name": "key",
400
+ "entityType": "columns",
401
+ "table": "config"
402
+ },
403
+ {
404
+ "type": "text",
405
+ "notNull": true,
406
+ "autoincrement": false,
407
+ "default": null,
408
+ "generated": null,
409
+ "name": "value",
410
+ "entityType": "columns",
411
+ "table": "config"
412
+ },
413
+ {
414
+ "type": "text",
415
+ "notNull": false,
416
+ "autoincrement": false,
417
+ "default": null,
418
+ "generated": null,
419
+ "name": "name",
420
+ "entityType": "columns",
421
+ "table": "mcp_server"
422
+ },
423
+ {
424
+ "type": "text",
425
+ "notNull": true,
426
+ "autoincrement": false,
427
+ "default": null,
428
+ "generated": null,
429
+ "name": "config",
430
+ "entityType": "columns",
431
+ "table": "mcp_server"
432
+ },
433
+ {
434
+ "type": "integer",
435
+ "notNull": true,
436
+ "autoincrement": false,
437
+ "default": null,
438
+ "generated": null,
439
+ "name": "tools_synced_at",
440
+ "entityType": "columns",
441
+ "table": "mcp_server"
442
+ },
443
+ {
444
+ "type": "text",
445
+ "notNull": false,
446
+ "autoincrement": false,
447
+ "default": null,
448
+ "generated": null,
449
+ "name": "last_error",
450
+ "entityType": "columns",
451
+ "table": "mcp_server"
452
+ },
453
+ {
454
+ "type": "text",
455
+ "notNull": false,
456
+ "autoincrement": false,
457
+ "default": null,
458
+ "generated": null,
459
+ "name": "oauth",
460
+ "entityType": "columns",
461
+ "table": "mcp_server"
462
+ },
463
+ {
464
+ "type": "integer",
465
+ "notNull": true,
466
+ "autoincrement": false,
467
+ "default": null,
468
+ "generated": null,
469
+ "name": "created_at",
470
+ "entityType": "columns",
471
+ "table": "mcp_server"
472
+ },
473
+ {
474
+ "type": "integer",
475
+ "notNull": false,
476
+ "autoincrement": true,
477
+ "default": null,
478
+ "generated": null,
479
+ "name": "id",
480
+ "entityType": "columns",
481
+ "table": "mcp_tool"
482
+ },
483
+ {
484
+ "type": "text",
485
+ "notNull": true,
486
+ "autoincrement": false,
487
+ "default": null,
488
+ "generated": null,
489
+ "name": "server_name",
490
+ "entityType": "columns",
491
+ "table": "mcp_tool"
492
+ },
493
+ {
494
+ "type": "text",
495
+ "notNull": true,
496
+ "autoincrement": false,
497
+ "default": null,
498
+ "generated": null,
499
+ "name": "name",
500
+ "entityType": "columns",
501
+ "table": "mcp_tool"
502
+ },
503
+ {
504
+ "type": "text",
505
+ "notNull": false,
506
+ "autoincrement": false,
507
+ "default": null,
508
+ "generated": null,
509
+ "name": "description",
510
+ "entityType": "columns",
511
+ "table": "mcp_tool"
512
+ },
513
+ {
514
+ "type": "text",
515
+ "notNull": false,
516
+ "autoincrement": false,
517
+ "default": null,
518
+ "generated": null,
519
+ "name": "input_schema",
520
+ "entityType": "columns",
521
+ "table": "mcp_tool"
522
+ },
523
+ {
524
+ "type": "text",
525
+ "notNull": false,
526
+ "autoincrement": false,
527
+ "default": null,
528
+ "generated": null,
529
+ "name": "output_schema",
530
+ "entityType": "columns",
531
+ "table": "mcp_tool"
532
+ },
533
+ {
534
+ "type": "integer",
535
+ "notNull": false,
536
+ "autoincrement": true,
537
+ "default": null,
538
+ "generated": null,
539
+ "name": "id",
540
+ "entityType": "columns",
541
+ "table": "memory_fact"
542
+ },
543
+ {
544
+ "type": "integer",
545
+ "notNull": true,
546
+ "autoincrement": false,
547
+ "default": null,
548
+ "generated": null,
549
+ "name": "note_id",
550
+ "entityType": "columns",
551
+ "table": "memory_fact"
552
+ },
553
+ {
554
+ "type": "text",
555
+ "notNull": true,
556
+ "autoincrement": false,
557
+ "default": null,
558
+ "generated": null,
559
+ "name": "text",
560
+ "entityType": "columns",
561
+ "table": "memory_fact"
562
+ },
563
+ {
564
+ "type": "integer",
565
+ "notNull": true,
566
+ "autoincrement": false,
567
+ "default": "true",
568
+ "generated": null,
569
+ "name": "is_latest",
570
+ "entityType": "columns",
571
+ "table": "memory_fact"
572
+ },
573
+ {
574
+ "type": "integer",
575
+ "notNull": true,
576
+ "autoincrement": false,
577
+ "default": "false",
578
+ "generated": null,
579
+ "name": "always_load",
580
+ "entityType": "columns",
581
+ "table": "memory_fact"
582
+ },
583
+ {
584
+ "type": "text",
585
+ "notNull": false,
586
+ "autoincrement": false,
587
+ "default": null,
588
+ "generated": null,
589
+ "name": "source",
590
+ "entityType": "columns",
591
+ "table": "memory_fact"
592
+ },
593
+ {
594
+ "type": "text",
595
+ "notNull": false,
596
+ "autoincrement": false,
597
+ "default": null,
598
+ "generated": null,
599
+ "name": "call_id",
600
+ "entityType": "columns",
601
+ "table": "memory_fact"
602
+ },
603
+ {
604
+ "type": "integer",
605
+ "notNull": true,
606
+ "autoincrement": false,
607
+ "default": null,
608
+ "generated": null,
609
+ "name": "created_at",
610
+ "entityType": "columns",
611
+ "table": "memory_fact"
612
+ },
613
+ {
614
+ "type": "integer",
615
+ "notNull": false,
616
+ "autoincrement": true,
617
+ "default": null,
618
+ "generated": null,
619
+ "name": "id",
620
+ "entityType": "columns",
621
+ "table": "memory_note"
622
+ },
623
+ {
624
+ "type": "text",
625
+ "notNull": true,
626
+ "autoincrement": false,
627
+ "default": null,
628
+ "generated": null,
629
+ "name": "path",
630
+ "entityType": "columns",
631
+ "table": "memory_note"
632
+ },
633
+ {
634
+ "type": "text",
635
+ "notNull": true,
636
+ "autoincrement": false,
637
+ "default": null,
638
+ "generated": null,
639
+ "name": "description",
640
+ "entityType": "columns",
641
+ "table": "memory_note"
642
+ },
643
+ {
644
+ "type": "text",
645
+ "notNull": false,
646
+ "autoincrement": false,
647
+ "default": "'[]'",
648
+ "generated": null,
649
+ "name": "aliases",
650
+ "entityType": "columns",
651
+ "table": "memory_note"
652
+ },
653
+ {
654
+ "type": "integer",
655
+ "notNull": true,
656
+ "autoincrement": false,
657
+ "default": "false",
658
+ "generated": null,
659
+ "name": "owned_by_user",
660
+ "entityType": "columns",
661
+ "table": "memory_note"
662
+ },
663
+ {
664
+ "type": "integer",
665
+ "notNull": true,
666
+ "autoincrement": false,
667
+ "default": "0",
668
+ "generated": null,
669
+ "name": "hits",
670
+ "entityType": "columns",
671
+ "table": "memory_note"
672
+ },
673
+ {
674
+ "type": "integer",
675
+ "notNull": false,
676
+ "autoincrement": false,
677
+ "default": null,
678
+ "generated": null,
679
+ "name": "last_read_at",
680
+ "entityType": "columns",
681
+ "table": "memory_note"
682
+ },
683
+ {
684
+ "type": "integer",
685
+ "notNull": true,
686
+ "autoincrement": false,
687
+ "default": null,
688
+ "generated": null,
689
+ "name": "created_at",
690
+ "entityType": "columns",
691
+ "table": "memory_note"
692
+ },
693
+ {
694
+ "type": "integer",
695
+ "notNull": true,
696
+ "autoincrement": false,
697
+ "default": null,
698
+ "generated": null,
699
+ "name": "updated_at",
700
+ "entityType": "columns",
701
+ "table": "memory_note"
702
+ },
703
+ {
704
+ "type": "text",
705
+ "notNull": false,
706
+ "autoincrement": false,
707
+ "default": null,
708
+ "generated": null,
709
+ "name": "id",
710
+ "entityType": "columns",
711
+ "table": "routine"
712
+ },
713
+ {
714
+ "type": "text",
715
+ "notNull": true,
716
+ "autoincrement": false,
717
+ "default": null,
718
+ "generated": null,
719
+ "name": "bot",
720
+ "entityType": "columns",
721
+ "table": "routine"
722
+ },
723
+ {
724
+ "type": "text",
725
+ "notNull": true,
726
+ "autoincrement": false,
727
+ "default": null,
728
+ "generated": null,
729
+ "name": "label",
730
+ "entityType": "columns",
731
+ "table": "routine"
732
+ },
733
+ {
734
+ "type": "text",
735
+ "notNull": true,
736
+ "autoincrement": false,
737
+ "default": null,
738
+ "generated": null,
739
+ "name": "request",
740
+ "entityType": "columns",
741
+ "table": "routine"
742
+ },
743
+ {
744
+ "type": "text",
745
+ "notNull": true,
746
+ "autoincrement": false,
747
+ "default": null,
748
+ "generated": null,
749
+ "name": "schedule",
750
+ "entityType": "columns",
751
+ "table": "routine"
752
+ },
753
+ {
754
+ "type": "integer",
755
+ "notNull": true,
756
+ "autoincrement": false,
757
+ "default": "true",
758
+ "generated": null,
759
+ "name": "enabled",
760
+ "entityType": "columns",
761
+ "table": "routine"
762
+ },
763
+ {
764
+ "type": "integer",
765
+ "notNull": true,
766
+ "autoincrement": false,
767
+ "default": null,
768
+ "generated": null,
769
+ "name": "next_run_at",
770
+ "entityType": "columns",
771
+ "table": "routine"
772
+ },
773
+ {
774
+ "type": "integer",
775
+ "notNull": true,
776
+ "autoincrement": false,
777
+ "default": null,
778
+ "generated": null,
779
+ "name": "created_at",
780
+ "entityType": "columns",
781
+ "table": "routine"
782
+ },
783
+ {
784
+ "type": "integer",
785
+ "notNull": false,
786
+ "autoincrement": true,
787
+ "default": null,
788
+ "generated": null,
789
+ "name": "id",
790
+ "entityType": "columns",
791
+ "table": "thread_delivery"
792
+ },
793
+ {
794
+ "type": "text",
795
+ "notNull": true,
796
+ "autoincrement": false,
797
+ "default": null,
798
+ "generated": null,
799
+ "name": "key",
800
+ "entityType": "columns",
801
+ "table": "thread_delivery"
802
+ },
803
+ {
804
+ "type": "text",
805
+ "notNull": true,
806
+ "autoincrement": false,
807
+ "default": null,
808
+ "generated": null,
809
+ "name": "thread_id",
810
+ "entityType": "columns",
811
+ "table": "thread_delivery"
812
+ },
813
+ {
814
+ "type": "text",
815
+ "notNull": true,
816
+ "autoincrement": false,
817
+ "default": null,
818
+ "generated": null,
819
+ "name": "work_id",
820
+ "entityType": "columns",
821
+ "table": "thread_delivery"
822
+ },
823
+ {
824
+ "type": "text",
825
+ "notNull": true,
826
+ "autoincrement": false,
827
+ "default": null,
828
+ "generated": null,
829
+ "name": "speaker",
830
+ "entityType": "columns",
831
+ "table": "thread_delivery"
832
+ },
833
+ {
834
+ "type": "text",
835
+ "notNull": true,
836
+ "autoincrement": false,
837
+ "default": null,
838
+ "generated": null,
839
+ "name": "text",
840
+ "entityType": "columns",
841
+ "table": "thread_delivery"
842
+ },
843
+ {
844
+ "type": "integer",
845
+ "notNull": true,
846
+ "autoincrement": false,
847
+ "default": "false",
848
+ "generated": null,
849
+ "name": "visible",
850
+ "entityType": "columns",
851
+ "table": "thread_delivery"
852
+ },
853
+ {
854
+ "type": "integer",
855
+ "notNull": true,
856
+ "autoincrement": false,
857
+ "default": "false",
858
+ "generated": null,
859
+ "name": "consumed",
860
+ "entityType": "columns",
861
+ "table": "thread_delivery"
862
+ },
863
+ {
864
+ "type": "integer",
865
+ "notNull": false,
866
+ "autoincrement": true,
867
+ "default": null,
868
+ "generated": null,
869
+ "name": "id",
870
+ "entityType": "columns",
871
+ "table": "thread_message"
872
+ },
873
+ {
874
+ "type": "text",
875
+ "notNull": true,
876
+ "autoincrement": false,
877
+ "default": null,
878
+ "generated": null,
879
+ "name": "thread_id",
880
+ "entityType": "columns",
881
+ "table": "thread_message"
882
+ },
883
+ {
884
+ "type": "integer",
885
+ "notNull": true,
886
+ "autoincrement": false,
887
+ "default": null,
888
+ "generated": null,
889
+ "name": "seq",
890
+ "entityType": "columns",
891
+ "table": "thread_message"
892
+ },
893
+ {
894
+ "type": "text",
895
+ "notNull": false,
896
+ "autoincrement": false,
897
+ "default": null,
898
+ "generated": null,
899
+ "name": "bot",
900
+ "entityType": "columns",
901
+ "table": "thread_message"
902
+ },
903
+ {
904
+ "type": "text",
905
+ "notNull": false,
906
+ "autoincrement": false,
907
+ "default": null,
908
+ "generated": null,
909
+ "name": "parent",
910
+ "entityType": "columns",
911
+ "table": "thread_message"
912
+ },
913
+ {
914
+ "type": "integer",
915
+ "notNull": true,
916
+ "autoincrement": false,
917
+ "default": "false",
918
+ "generated": null,
919
+ "name": "hidden",
920
+ "entityType": "columns",
921
+ "table": "thread_message"
922
+ },
923
+ {
924
+ "type": "text",
925
+ "notNull": true,
926
+ "autoincrement": false,
927
+ "default": null,
928
+ "generated": null,
929
+ "name": "role",
930
+ "entityType": "columns",
931
+ "table": "thread_message"
932
+ },
933
+ {
934
+ "type": "text",
935
+ "notNull": true,
936
+ "autoincrement": false,
937
+ "default": null,
938
+ "generated": null,
939
+ "name": "content",
940
+ "entityType": "columns",
941
+ "table": "thread_message"
942
+ },
943
+ {
944
+ "type": "integer",
945
+ "notNull": true,
946
+ "autoincrement": false,
947
+ "default": "false",
948
+ "generated": null,
949
+ "name": "compact",
950
+ "entityType": "columns",
951
+ "table": "thread_message"
952
+ },
953
+ {
954
+ "type": "integer",
955
+ "notNull": true,
956
+ "autoincrement": false,
957
+ "default": "false",
958
+ "generated": null,
959
+ "name": "note",
960
+ "entityType": "columns",
961
+ "table": "thread_message"
962
+ },
963
+ {
964
+ "type": "integer",
965
+ "notNull": true,
966
+ "autoincrement": false,
967
+ "default": null,
968
+ "generated": null,
969
+ "name": "created_at",
970
+ "entityType": "columns",
971
+ "table": "thread_message"
972
+ },
973
+ {
974
+ "type": "integer",
975
+ "notNull": false,
976
+ "autoincrement": true,
977
+ "default": null,
978
+ "generated": null,
979
+ "name": "id",
980
+ "entityType": "columns",
981
+ "table": "thread_relay"
982
+ },
983
+ {
984
+ "type": "text",
985
+ "notNull": true,
986
+ "autoincrement": false,
987
+ "default": null,
988
+ "generated": null,
989
+ "name": "key",
990
+ "entityType": "columns",
991
+ "table": "thread_relay"
992
+ },
993
+ {
994
+ "type": "text",
995
+ "notNull": true,
996
+ "autoincrement": false,
997
+ "default": null,
998
+ "generated": null,
999
+ "name": "thread_id",
1000
+ "entityType": "columns",
1001
+ "table": "thread_relay"
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "notNull": true,
1006
+ "autoincrement": false,
1007
+ "default": null,
1008
+ "generated": null,
1009
+ "name": "bot",
1010
+ "entityType": "columns",
1011
+ "table": "thread_relay"
1012
+ },
1013
+ {
1014
+ "type": "text",
1015
+ "notNull": true,
1016
+ "autoincrement": false,
1017
+ "default": null,
1018
+ "generated": null,
1019
+ "name": "text",
1020
+ "entityType": "columns",
1021
+ "table": "thread_relay"
1022
+ },
1023
+ {
1024
+ "type": "text",
1025
+ "notNull": true,
1026
+ "autoincrement": false,
1027
+ "default": null,
1028
+ "generated": null,
1029
+ "name": "kind",
1030
+ "entityType": "columns",
1031
+ "table": "thread_relay"
1032
+ },
1033
+ {
1034
+ "type": "text",
1035
+ "notNull": false,
1036
+ "autoincrement": false,
1037
+ "default": null,
1038
+ "generated": null,
1039
+ "name": "message_id",
1040
+ "entityType": "columns",
1041
+ "table": "thread_relay"
1042
+ },
1043
+ {
1044
+ "type": "integer",
1045
+ "notNull": true,
1046
+ "autoincrement": false,
1047
+ "default": "false",
1048
+ "generated": null,
1049
+ "name": "accepted",
1050
+ "entityType": "columns",
1051
+ "table": "thread_relay"
1052
+ },
1053
+ {
1054
+ "type": "text",
1055
+ "notNull": false,
1056
+ "autoincrement": false,
1057
+ "default": null,
1058
+ "generated": null,
1059
+ "name": "id",
1060
+ "entityType": "columns",
1061
+ "table": "thread"
1062
+ },
1063
+ {
1064
+ "type": "text",
1065
+ "notNull": true,
1066
+ "autoincrement": false,
1067
+ "default": null,
1068
+ "generated": null,
1069
+ "name": "bot",
1070
+ "entityType": "columns",
1071
+ "table": "thread"
1072
+ },
1073
+ {
1074
+ "type": "text",
1075
+ "notNull": true,
1076
+ "autoincrement": false,
1077
+ "default": null,
1078
+ "generated": null,
1079
+ "name": "label",
1080
+ "entityType": "columns",
1081
+ "table": "thread"
1082
+ },
1083
+ {
1084
+ "type": "text",
1085
+ "notNull": true,
1086
+ "autoincrement": false,
1087
+ "default": null,
1088
+ "generated": null,
1089
+ "name": "request",
1090
+ "entityType": "columns",
1091
+ "table": "thread"
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "notNull": true,
1096
+ "autoincrement": false,
1097
+ "default": null,
1098
+ "generated": null,
1099
+ "name": "status",
1100
+ "entityType": "columns",
1101
+ "table": "thread"
1102
+ },
1103
+ {
1104
+ "type": "integer",
1105
+ "notNull": true,
1106
+ "autoincrement": false,
1107
+ "default": "0",
1108
+ "generated": null,
1109
+ "name": "generation",
1110
+ "entityType": "columns",
1111
+ "table": "thread"
1112
+ },
1113
+ {
1114
+ "type": "integer",
1115
+ "notNull": true,
1116
+ "autoincrement": false,
1117
+ "default": "0",
1118
+ "generated": null,
1119
+ "name": "turns",
1120
+ "entityType": "columns",
1121
+ "table": "thread"
1122
+ },
1123
+ {
1124
+ "type": "integer",
1125
+ "notNull": true,
1126
+ "autoincrement": false,
1127
+ "default": "false",
1128
+ "generated": null,
1129
+ "name": "wrapped",
1130
+ "entityType": "columns",
1131
+ "table": "thread"
1132
+ },
1133
+ {
1134
+ "type": "text",
1135
+ "notNull": false,
1136
+ "autoincrement": false,
1137
+ "default": null,
1138
+ "generated": null,
1139
+ "name": "outcome",
1140
+ "entityType": "columns",
1141
+ "table": "thread"
1142
+ },
1143
+ {
1144
+ "type": "text",
1145
+ "notNull": false,
1146
+ "autoincrement": false,
1147
+ "default": null,
1148
+ "generated": null,
1149
+ "name": "pending",
1150
+ "entityType": "columns",
1151
+ "table": "thread"
1152
+ },
1153
+ {
1154
+ "type": "integer",
1155
+ "notNull": true,
1156
+ "autoincrement": false,
1157
+ "default": "false",
1158
+ "generated": null,
1159
+ "name": "seen",
1160
+ "entityType": "columns",
1161
+ "table": "thread"
1162
+ },
1163
+ {
1164
+ "type": "text",
1165
+ "notNull": false,
1166
+ "autoincrement": false,
1167
+ "default": null,
1168
+ "generated": null,
1169
+ "name": "call_id",
1170
+ "entityType": "columns",
1171
+ "table": "thread"
1172
+ },
1173
+ {
1174
+ "type": "text",
1175
+ "notNull": false,
1176
+ "autoincrement": false,
1177
+ "default": null,
1178
+ "generated": null,
1179
+ "name": "routine_id",
1180
+ "entityType": "columns",
1181
+ "table": "thread"
1182
+ },
1183
+ {
1184
+ "type": "integer",
1185
+ "notNull": true,
1186
+ "autoincrement": false,
1187
+ "default": "0",
1188
+ "generated": null,
1189
+ "name": "input_tokens",
1190
+ "entityType": "columns",
1191
+ "table": "thread"
1192
+ },
1193
+ {
1194
+ "type": "integer",
1195
+ "notNull": true,
1196
+ "autoincrement": false,
1197
+ "default": "0",
1198
+ "generated": null,
1199
+ "name": "output_tokens",
1200
+ "entityType": "columns",
1201
+ "table": "thread"
1202
+ },
1203
+ {
1204
+ "type": "integer",
1205
+ "notNull": true,
1206
+ "autoincrement": false,
1207
+ "default": "0",
1208
+ "generated": null,
1209
+ "name": "context_tokens",
1210
+ "entityType": "columns",
1211
+ "table": "thread"
1212
+ },
1213
+ {
1214
+ "type": "integer",
1215
+ "notNull": true,
1216
+ "autoincrement": false,
1217
+ "default": "0",
1218
+ "generated": null,
1219
+ "name": "context_budget",
1220
+ "entityType": "columns",
1221
+ "table": "thread"
1222
+ },
1223
+ {
1224
+ "type": "integer",
1225
+ "notNull": true,
1226
+ "autoincrement": false,
1227
+ "default": null,
1228
+ "generated": null,
1229
+ "name": "created_at",
1230
+ "entityType": "columns",
1231
+ "table": "thread"
1232
+ },
1233
+ {
1234
+ "type": "integer",
1235
+ "notNull": true,
1236
+ "autoincrement": false,
1237
+ "default": null,
1238
+ "generated": null,
1239
+ "name": "updated_at",
1240
+ "entityType": "columns",
1241
+ "table": "thread"
1242
+ },
1243
+ {
1244
+ "type": "integer",
1245
+ "notNull": false,
1246
+ "autoincrement": false,
1247
+ "default": null,
1248
+ "generated": null,
1249
+ "name": "ended_at",
1250
+ "entityType": "columns",
1251
+ "table": "thread"
1252
+ },
1253
+ {
1254
+ "type": "text",
1255
+ "notNull": false,
1256
+ "autoincrement": false,
1257
+ "default": null,
1258
+ "generated": null,
1259
+ "name": "id",
1260
+ "entityType": "columns",
1261
+ "table": "thread_work"
1262
+ },
1263
+ {
1264
+ "type": "text",
1265
+ "notNull": true,
1266
+ "autoincrement": false,
1267
+ "default": null,
1268
+ "generated": null,
1269
+ "name": "thread_id",
1270
+ "entityType": "columns",
1271
+ "table": "thread_work"
1272
+ },
1273
+ {
1274
+ "type": "text",
1275
+ "notNull": true,
1276
+ "autoincrement": false,
1277
+ "default": null,
1278
+ "generated": null,
1279
+ "name": "bot",
1280
+ "entityType": "columns",
1281
+ "table": "thread_work"
1282
+ },
1283
+ {
1284
+ "type": "text",
1285
+ "notNull": true,
1286
+ "autoincrement": false,
1287
+ "default": null,
1288
+ "generated": null,
1289
+ "name": "caller",
1290
+ "entityType": "columns",
1291
+ "table": "thread_work"
1292
+ },
1293
+ {
1294
+ "type": "text",
1295
+ "notNull": false,
1296
+ "autoincrement": false,
1297
+ "default": null,
1298
+ "generated": null,
1299
+ "name": "parent_id",
1300
+ "entityType": "columns",
1301
+ "table": "thread_work"
1302
+ },
1303
+ {
1304
+ "type": "text",
1305
+ "notNull": true,
1306
+ "autoincrement": false,
1307
+ "default": null,
1308
+ "generated": null,
1309
+ "name": "state",
1310
+ "entityType": "columns",
1311
+ "table": "thread_work"
1312
+ },
1313
+ {
1314
+ "type": "integer",
1315
+ "notNull": true,
1316
+ "autoincrement": false,
1317
+ "default": "0",
1318
+ "generated": null,
1319
+ "name": "generation",
1320
+ "entityType": "columns",
1321
+ "table": "thread_work"
1322
+ },
1323
+ {
1324
+ "type": "integer",
1325
+ "notNull": true,
1326
+ "autoincrement": false,
1327
+ "default": "0",
1328
+ "generated": null,
1329
+ "name": "context_budget",
1330
+ "entityType": "columns",
1331
+ "table": "thread_work"
1332
+ },
1333
+ {
1334
+ "type": "text",
1335
+ "notNull": false,
1336
+ "autoincrement": false,
1337
+ "default": null,
1338
+ "generated": null,
1339
+ "name": "result",
1340
+ "entityType": "columns",
1341
+ "table": "thread_work"
1342
+ },
1343
+ {
1344
+ "type": "text",
1345
+ "notNull": true,
1346
+ "autoincrement": false,
1347
+ "default": "'[]'",
1348
+ "generated": null,
1349
+ "name": "options",
1350
+ "entityType": "columns",
1351
+ "table": "thread_work"
1352
+ },
1353
+ {
1354
+ "type": "integer",
1355
+ "notNull": true,
1356
+ "autoincrement": false,
1357
+ "default": null,
1358
+ "generated": null,
1359
+ "name": "created_at",
1360
+ "entityType": "columns",
1361
+ "table": "thread_work"
1362
+ },
1363
+ {
1364
+ "columns": [
1365
+ "botName"
1366
+ ],
1367
+ "tableTo": "bot",
1368
+ "columnsTo": [
1369
+ "name"
1370
+ ],
1371
+ "onUpdate": "NO ACTION",
1372
+ "onDelete": "CASCADE",
1373
+ "nameExplicit": false,
1374
+ "name": "fk_bot_mcp_tool_botName_bot_name_fk",
1375
+ "entityType": "fks",
1376
+ "table": "bot_mcp_tool"
1377
+ },
1378
+ {
1379
+ "columns": [
1380
+ "tool_id"
1381
+ ],
1382
+ "tableTo": "mcp_tool",
1383
+ "columnsTo": [
1384
+ "id"
1385
+ ],
1386
+ "onUpdate": "NO ACTION",
1387
+ "onDelete": "CASCADE",
1388
+ "nameExplicit": false,
1389
+ "name": "fk_bot_mcp_tool_tool_id_mcp_tool_id_fk",
1390
+ "entityType": "fks",
1391
+ "table": "bot_mcp_tool"
1392
+ },
1393
+ {
1394
+ "columns": [
1395
+ "call_id"
1396
+ ],
1397
+ "tableTo": "call",
1398
+ "columnsTo": [
1399
+ "id"
1400
+ ],
1401
+ "onUpdate": "NO ACTION",
1402
+ "onDelete": "CASCADE",
1403
+ "nameExplicit": false,
1404
+ "name": "fk_call_message_call_id_call_id_fk",
1405
+ "entityType": "fks",
1406
+ "table": "call_message"
1407
+ },
1408
+ {
1409
+ "columns": [
1410
+ "call_id"
1411
+ ],
1412
+ "tableTo": "call",
1413
+ "columnsTo": [
1414
+ "id"
1415
+ ],
1416
+ "onUpdate": "NO ACTION",
1417
+ "onDelete": "CASCADE",
1418
+ "nameExplicit": false,
1419
+ "name": "fk_call_thought_call_id_call_id_fk",
1420
+ "entityType": "fks",
1421
+ "table": "call_thought"
1422
+ },
1423
+ {
1424
+ "columns": [
1425
+ "server_name"
1426
+ ],
1427
+ "tableTo": "mcp_server",
1428
+ "columnsTo": [
1429
+ "name"
1430
+ ],
1431
+ "onUpdate": "NO ACTION",
1432
+ "onDelete": "CASCADE",
1433
+ "nameExplicit": false,
1434
+ "name": "fk_mcp_tool_server_name_mcp_server_name_fk",
1435
+ "entityType": "fks",
1436
+ "table": "mcp_tool"
1437
+ },
1438
+ {
1439
+ "columns": [
1440
+ "note_id"
1441
+ ],
1442
+ "tableTo": "memory_note",
1443
+ "columnsTo": [
1444
+ "id"
1445
+ ],
1446
+ "onUpdate": "NO ACTION",
1447
+ "onDelete": "CASCADE",
1448
+ "nameExplicit": false,
1449
+ "name": "fk_memory_fact_note_id_memory_note_id_fk",
1450
+ "entityType": "fks",
1451
+ "table": "memory_fact"
1452
+ },
1453
+ {
1454
+ "columns": [
1455
+ "call_id"
1456
+ ],
1457
+ "tableTo": "call",
1458
+ "columnsTo": [
1459
+ "id"
1460
+ ],
1461
+ "onUpdate": "NO ACTION",
1462
+ "onDelete": "SET NULL",
1463
+ "nameExplicit": false,
1464
+ "name": "fk_memory_fact_call_id_call_id_fk",
1465
+ "entityType": "fks",
1466
+ "table": "memory_fact"
1467
+ },
1468
+ {
1469
+ "columns": [
1470
+ "thread_id"
1471
+ ],
1472
+ "tableTo": "thread",
1473
+ "columnsTo": [
1474
+ "id"
1475
+ ],
1476
+ "onUpdate": "NO ACTION",
1477
+ "onDelete": "CASCADE",
1478
+ "nameExplicit": false,
1479
+ "name": "fk_thread_delivery_thread_id_thread_id_fk",
1480
+ "entityType": "fks",
1481
+ "table": "thread_delivery"
1482
+ },
1483
+ {
1484
+ "columns": [
1485
+ "work_id"
1486
+ ],
1487
+ "tableTo": "thread_work",
1488
+ "columnsTo": [
1489
+ "id"
1490
+ ],
1491
+ "onUpdate": "NO ACTION",
1492
+ "onDelete": "CASCADE",
1493
+ "nameExplicit": false,
1494
+ "name": "fk_thread_delivery_work_id_thread_work_id_fk",
1495
+ "entityType": "fks",
1496
+ "table": "thread_delivery"
1497
+ },
1498
+ {
1499
+ "columns": [
1500
+ "thread_id"
1501
+ ],
1502
+ "tableTo": "thread",
1503
+ "columnsTo": [
1504
+ "id"
1505
+ ],
1506
+ "onUpdate": "NO ACTION",
1507
+ "onDelete": "CASCADE",
1508
+ "nameExplicit": false,
1509
+ "name": "fk_thread_message_thread_id_thread_id_fk",
1510
+ "entityType": "fks",
1511
+ "table": "thread_message"
1512
+ },
1513
+ {
1514
+ "columns": [
1515
+ "thread_id"
1516
+ ],
1517
+ "tableTo": "thread",
1518
+ "columnsTo": [
1519
+ "id"
1520
+ ],
1521
+ "onUpdate": "NO ACTION",
1522
+ "onDelete": "CASCADE",
1523
+ "nameExplicit": false,
1524
+ "name": "fk_thread_relay_thread_id_thread_id_fk",
1525
+ "entityType": "fks",
1526
+ "table": "thread_relay"
1527
+ },
1528
+ {
1529
+ "columns": [
1530
+ "thread_id"
1531
+ ],
1532
+ "tableTo": "thread",
1533
+ "columnsTo": [
1534
+ "id"
1535
+ ],
1536
+ "onUpdate": "NO ACTION",
1537
+ "onDelete": "CASCADE",
1538
+ "nameExplicit": false,
1539
+ "name": "fk_thread_work_thread_id_thread_id_fk",
1540
+ "entityType": "fks",
1541
+ "table": "thread_work"
1542
+ },
1543
+ {
1544
+ "columns": [
1545
+ "botName",
1546
+ "tool_id"
1547
+ ],
1548
+ "nameExplicit": false,
1549
+ "name": "bot_mcp_tool_pk",
1550
+ "entityType": "pks",
1551
+ "table": "bot_mcp_tool"
1552
+ },
1553
+ {
1554
+ "columns": [
1555
+ "call_id",
1556
+ "id"
1557
+ ],
1558
+ "nameExplicit": false,
1559
+ "name": "call_message_pk",
1560
+ "entityType": "pks",
1561
+ "table": "call_message"
1562
+ },
1563
+ {
1564
+ "columns": [
1565
+ "call_id",
1566
+ "id"
1567
+ ],
1568
+ "nameExplicit": false,
1569
+ "name": "call_thought_pk",
1570
+ "entityType": "pks",
1571
+ "table": "call_thought"
1572
+ },
1573
+ {
1574
+ "columns": [
1575
+ "name"
1576
+ ],
1577
+ "nameExplicit": false,
1578
+ "name": "bot_pk",
1579
+ "table": "bot",
1580
+ "entityType": "pks"
1581
+ },
1582
+ {
1583
+ "columns": [
1584
+ "id"
1585
+ ],
1586
+ "nameExplicit": false,
1587
+ "name": "call_pk",
1588
+ "table": "call",
1589
+ "entityType": "pks"
1590
+ },
1591
+ {
1592
+ "columns": [
1593
+ "key"
1594
+ ],
1595
+ "nameExplicit": false,
1596
+ "name": "config_pk",
1597
+ "table": "config",
1598
+ "entityType": "pks"
1599
+ },
1600
+ {
1601
+ "columns": [
1602
+ "name"
1603
+ ],
1604
+ "nameExplicit": false,
1605
+ "name": "mcp_server_pk",
1606
+ "table": "mcp_server",
1607
+ "entityType": "pks"
1608
+ },
1609
+ {
1610
+ "columns": [
1611
+ "id"
1612
+ ],
1613
+ "nameExplicit": false,
1614
+ "name": "mcp_tool_pk",
1615
+ "table": "mcp_tool",
1616
+ "entityType": "pks"
1617
+ },
1618
+ {
1619
+ "columns": [
1620
+ "id"
1621
+ ],
1622
+ "nameExplicit": false,
1623
+ "name": "memory_fact_pk",
1624
+ "table": "memory_fact",
1625
+ "entityType": "pks"
1626
+ },
1627
+ {
1628
+ "columns": [
1629
+ "id"
1630
+ ],
1631
+ "nameExplicit": false,
1632
+ "name": "memory_note_pk",
1633
+ "table": "memory_note",
1634
+ "entityType": "pks"
1635
+ },
1636
+ {
1637
+ "columns": [
1638
+ "id"
1639
+ ],
1640
+ "nameExplicit": false,
1641
+ "name": "routine_pk",
1642
+ "table": "routine",
1643
+ "entityType": "pks"
1644
+ },
1645
+ {
1646
+ "columns": [
1647
+ "id"
1648
+ ],
1649
+ "nameExplicit": false,
1650
+ "name": "thread_delivery_pk",
1651
+ "table": "thread_delivery",
1652
+ "entityType": "pks"
1653
+ },
1654
+ {
1655
+ "columns": [
1656
+ "id"
1657
+ ],
1658
+ "nameExplicit": false,
1659
+ "name": "thread_message_pk",
1660
+ "table": "thread_message",
1661
+ "entityType": "pks"
1662
+ },
1663
+ {
1664
+ "columns": [
1665
+ "id"
1666
+ ],
1667
+ "nameExplicit": false,
1668
+ "name": "thread_relay_pk",
1669
+ "table": "thread_relay",
1670
+ "entityType": "pks"
1671
+ },
1672
+ {
1673
+ "columns": [
1674
+ "id"
1675
+ ],
1676
+ "nameExplicit": false,
1677
+ "name": "thread_pk",
1678
+ "table": "thread",
1679
+ "entityType": "pks"
1680
+ },
1681
+ {
1682
+ "columns": [
1683
+ "id"
1684
+ ],
1685
+ "nameExplicit": false,
1686
+ "name": "thread_work_pk",
1687
+ "table": "thread_work",
1688
+ "entityType": "pks"
1689
+ },
1690
+ {
1691
+ "columns": [
1692
+ {
1693
+ "value": "call_id",
1694
+ "isExpression": false
1695
+ },
1696
+ {
1697
+ "value": "seq",
1698
+ "isExpression": false
1699
+ }
1700
+ ],
1701
+ "isUnique": false,
1702
+ "where": null,
1703
+ "origin": "manual",
1704
+ "name": "idx_call_message_call",
1705
+ "entityType": "indexes",
1706
+ "table": "call_message"
1707
+ },
1708
+ {
1709
+ "columns": [
1710
+ {
1711
+ "value": "note_id",
1712
+ "isExpression": false
1713
+ },
1714
+ {
1715
+ "value": "is_latest",
1716
+ "isExpression": false
1717
+ }
1718
+ ],
1719
+ "isUnique": false,
1720
+ "where": null,
1721
+ "origin": "manual",
1722
+ "name": "idx_memory_fact_note",
1723
+ "entityType": "indexes",
1724
+ "table": "memory_fact"
1725
+ },
1726
+ {
1727
+ "columns": [
1728
+ {
1729
+ "value": "always_load",
1730
+ "isExpression": false
1731
+ },
1732
+ {
1733
+ "value": "is_latest",
1734
+ "isExpression": false
1735
+ }
1736
+ ],
1737
+ "isUnique": false,
1738
+ "where": null,
1739
+ "origin": "manual",
1740
+ "name": "idx_memory_fact_always",
1741
+ "entityType": "indexes",
1742
+ "table": "memory_fact"
1743
+ },
1744
+ {
1745
+ "columns": [
1746
+ {
1747
+ "value": "call_id",
1748
+ "isExpression": false
1749
+ }
1750
+ ],
1751
+ "isUnique": false,
1752
+ "where": null,
1753
+ "origin": "manual",
1754
+ "name": "idx_memory_fact_call",
1755
+ "entityType": "indexes",
1756
+ "table": "memory_fact"
1757
+ },
1758
+ {
1759
+ "columns": [
1760
+ {
1761
+ "value": "enabled",
1762
+ "isExpression": false
1763
+ },
1764
+ {
1765
+ "value": "next_run_at",
1766
+ "isExpression": false
1767
+ }
1768
+ ],
1769
+ "isUnique": false,
1770
+ "where": null,
1771
+ "origin": "manual",
1772
+ "name": "idx_routine_due",
1773
+ "entityType": "indexes",
1774
+ "table": "routine"
1775
+ },
1776
+ {
1777
+ "columns": [
1778
+ {
1779
+ "value": "work_id",
1780
+ "isExpression": false
1781
+ },
1782
+ {
1783
+ "value": "consumed",
1784
+ "isExpression": false
1785
+ },
1786
+ {
1787
+ "value": "id",
1788
+ "isExpression": false
1789
+ }
1790
+ ],
1791
+ "isUnique": false,
1792
+ "where": null,
1793
+ "origin": "manual",
1794
+ "name": "idx_thread_delivery_inbox",
1795
+ "entityType": "indexes",
1796
+ "table": "thread_delivery"
1797
+ },
1798
+ {
1799
+ "columns": [
1800
+ {
1801
+ "value": "routine_id",
1802
+ "isExpression": false
1803
+ },
1804
+ {
1805
+ "value": "created_at",
1806
+ "isExpression": false
1807
+ }
1808
+ ],
1809
+ "isUnique": false,
1810
+ "where": null,
1811
+ "origin": "manual",
1812
+ "name": "idx_thread_routine",
1813
+ "entityType": "indexes",
1814
+ "table": "thread"
1815
+ },
1816
+ {
1817
+ "columns": [
1818
+ {
1819
+ "value": "status",
1820
+ "isExpression": false
1821
+ },
1822
+ {
1823
+ "value": "updated_at",
1824
+ "isExpression": false
1825
+ }
1826
+ ],
1827
+ "isUnique": false,
1828
+ "where": null,
1829
+ "origin": "manual",
1830
+ "name": "idx_thread_status_updated",
1831
+ "entityType": "indexes",
1832
+ "table": "thread"
1833
+ },
1834
+ {
1835
+ "columns": [
1836
+ {
1837
+ "value": "thread_id",
1838
+ "isExpression": false
1839
+ },
1840
+ {
1841
+ "value": "state",
1842
+ "isExpression": false
1843
+ },
1844
+ {
1845
+ "value": "created_at",
1846
+ "isExpression": false
1847
+ }
1848
+ ],
1849
+ "isUnique": false,
1850
+ "where": null,
1851
+ "origin": "manual",
1852
+ "name": "idx_thread_work_queue",
1853
+ "entityType": "indexes",
1854
+ "table": "thread_work"
1855
+ },
1856
+ {
1857
+ "columns": [
1858
+ {
1859
+ "value": "parent_id",
1860
+ "isExpression": false
1861
+ }
1862
+ ],
1863
+ "isUnique": false,
1864
+ "where": null,
1865
+ "origin": "manual",
1866
+ "name": "idx_thread_work_parent",
1867
+ "entityType": "indexes",
1868
+ "table": "thread_work"
1869
+ },
1870
+ {
1871
+ "columns": [
1872
+ {
1873
+ "value": "thread_id",
1874
+ "isExpression": false
1875
+ },
1876
+ {
1877
+ "value": "bot",
1878
+ "isExpression": false
1879
+ }
1880
+ ],
1881
+ "isUnique": true,
1882
+ "where": "\"thread_work\".\"state\" = 'running'",
1883
+ "origin": "manual",
1884
+ "name": "uq_thread_work_running_bot",
1885
+ "entityType": "indexes",
1886
+ "table": "thread_work"
1887
+ },
1888
+ {
1889
+ "columns": [
1890
+ "server_name",
1891
+ "name"
1892
+ ],
1893
+ "nameExplicit": true,
1894
+ "name": "uq_mcp_tool_server_name",
1895
+ "entityType": "uniques",
1896
+ "table": "mcp_tool"
1897
+ },
1898
+ {
1899
+ "columns": [
1900
+ "thread_id",
1901
+ "seq"
1902
+ ],
1903
+ "nameExplicit": true,
1904
+ "name": "uq_thread_message_seq",
1905
+ "entityType": "uniques",
1906
+ "table": "thread_message"
1907
+ },
1908
+ {
1909
+ "columns": [
1910
+ "path"
1911
+ ],
1912
+ "nameExplicit": false,
1913
+ "name": "memory_note_path_unique",
1914
+ "entityType": "uniques",
1915
+ "table": "memory_note"
1916
+ },
1917
+ {
1918
+ "columns": [
1919
+ "key"
1920
+ ],
1921
+ "nameExplicit": false,
1922
+ "name": "thread_delivery_key_unique",
1923
+ "entityType": "uniques",
1924
+ "table": "thread_delivery"
1925
+ },
1926
+ {
1927
+ "columns": [
1928
+ "key"
1929
+ ],
1930
+ "nameExplicit": false,
1931
+ "name": "thread_relay_key_unique",
1932
+ "entityType": "uniques",
1933
+ "table": "thread_relay"
1934
+ }
1935
+ ],
1936
+ "renames": []
1937
+ }