thursday-agent 0.17.2 → 0.19.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 (444) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +4 -2
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/prerender-manifest.json +3 -3
  5. package/.next/routes-manifest.json +28 -12
  6. package/.next/server/app/_global-error/page.js.nft.json +1 -1
  7. package/.next/server/app/_global-error.html +1 -1
  8. package/.next/server/app/_global-error.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  12. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  13. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  14. package/.next/server/app/_not-found.html +1 -1
  15. package/.next/server/app/_not-found.rsc +12 -12
  16. package/.next/server/app/_not-found.segments/_full.segment.rsc +12 -12
  17. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +11 -11
  18. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  19. package/.next/server/app/api/artifact/route.js +7 -7
  20. package/.next/server/app/api/artifact/route.js.nft.json +1 -1
  21. package/.next/server/app/api/bot/memory/files/route.js +4 -4
  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 +4 -4
  24. package/.next/server/app/api/bot/memory/route.js.nft.json +1 -1
  25. package/.next/server/app/api/bot/route.js +4 -4
  26. package/.next/server/app/api/bot/route.js.nft.json +1 -1
  27. package/.next/server/app/api/bot/thread/[id]/route.js +1 -1
  28. package/.next/server/app/api/bot/thread/[id]/route.js.nft.json +1 -1
  29. package/.next/server/app/api/bot/thread/file/route/app-paths-manifest.json +3 -0
  30. package/.next/server/app/api/bot/thread/file/route.js +29 -0
  31. package/.next/server/app/api/bot/thread/file/route.js.nft.json +1 -0
  32. package/.next/server/app/api/bot/thread/file/route_client-reference-manifest.js +3 -0
  33. package/.next/server/app/api/bot/thread/route.js +1 -1
  34. package/.next/server/app/api/bot/thread/route.js.nft.json +1 -1
  35. package/.next/server/app/api/config/route.js +1 -1
  36. package/.next/server/app/api/config/route.js.nft.json +1 -1
  37. package/.next/server/app/api/events/route.js +2 -2
  38. package/.next/server/app/api/events/route.js.nft.json +1 -1
  39. package/.next/server/app/api/favicon/[host]/route.js.nft.json +1 -1
  40. package/.next/server/app/api/file/[...path]/route.js +4 -4
  41. package/.next/server/app/api/file/[...path]/route.js.nft.json +1 -1
  42. package/.next/server/app/api/llm-model/automatic/route.js +3 -3
  43. package/.next/server/app/api/llm-model/automatic/route.js.nft.json +1 -1
  44. package/.next/server/app/api/llm-model/catalog/[provider]/route/app-paths-manifest.json +3 -0
  45. package/.next/server/app/api/llm-model/catalog/{route.js → [provider]/route.js} +8 -8
  46. package/.next/server/app/api/llm-model/catalog/[provider]/route.js.nft.json +1 -0
  47. package/.next/server/app/api/llm-model/catalog/[provider]/route_client-reference-manifest.js +3 -0
  48. package/.next/server/app/api/llm-model/credits/[provider]/route/app-paths-manifest.json +3 -0
  49. package/.next/server/app/api/llm-model/credits/[provider]/route/build-manifest.json +12 -0
  50. package/.next/server/app/api/llm-model/credits/[provider]/route/server-reference-manifest.json +4 -0
  51. package/.next/server/app/api/llm-model/credits/{route.js → [provider]/route.js} +8 -8
  52. package/.next/server/app/api/llm-model/credits/[provider]/route.js.map +5 -0
  53. package/.next/server/app/api/llm-model/credits/[provider]/route.js.nft.json +1 -0
  54. package/.next/server/app/api/llm-model/credits/[provider]/route_client-reference-manifest.js +3 -0
  55. package/.next/server/app/api/llm-model/route.js +1 -1
  56. package/.next/server/app/api/llm-model/route.js.nft.json +1 -1
  57. package/.next/server/app/api/llm-model/subscription/route.js +1 -1
  58. package/.next/server/app/api/llm-model/subscription/route.js.nft.json +1 -1
  59. package/.next/server/app/api/mcp/[name]/route.js +1 -1
  60. package/.next/server/app/api/mcp/[name]/route.js.nft.json +1 -1
  61. package/.next/server/app/api/mcp/oauth/callback/route.js +2 -2
  62. package/.next/server/app/api/mcp/oauth/callback/route.js.nft.json +1 -1
  63. package/.next/server/app/api/mcp/route.js +1 -1
  64. package/.next/server/app/api/mcp/route.js.nft.json +1 -1
  65. package/.next/server/app/api/mcp/tools/route.js +1 -1
  66. package/.next/server/app/api/mcp/tools/route.js.nft.json +1 -1
  67. package/.next/server/app/api/memory/edit/route.js +12 -12
  68. package/.next/server/app/api/memory/edit/route.js.nft.json +1 -1
  69. package/.next/server/app/api/memory/route.js +1 -1
  70. package/.next/server/app/api/memory/route.js.nft.json +1 -1
  71. package/.next/server/app/api/reach/route.js +17 -17
  72. package/.next/server/app/api/reach/route.js.nft.json +1 -1
  73. package/.next/server/app/api/routine/route.js +6 -6
  74. package/.next/server/app/api/routine/route.js.nft.json +1 -1
  75. package/.next/server/app/api/running/route/app-paths-manifest.json +3 -0
  76. package/.next/server/app/api/running/route/build-manifest.json +12 -0
  77. package/.next/server/app/api/running/route/server-reference-manifest.json +4 -0
  78. package/.next/server/app/api/running/route.js +10 -0
  79. package/.next/server/app/api/running/route.js.map +5 -0
  80. package/.next/server/app/api/running/route.js.nft.json +1 -0
  81. package/.next/server/app/api/running/route_client-reference-manifest.js +3 -0
  82. package/.next/server/app/api/signins/route.js +4 -4
  83. package/.next/server/app/api/signins/route.js.nft.json +1 -1
  84. package/.next/server/app/api/skills/[source]/[name]/route.js +7 -7
  85. package/.next/server/app/api/skills/[source]/[name]/route.js.nft.json +1 -1
  86. package/.next/server/app/api/skills/route.js +6 -6
  87. package/.next/server/app/api/skills/route.js.nft.json +1 -1
  88. package/.next/server/app/api/thursday/call/end/route.js +1 -1
  89. package/.next/server/app/api/thursday/call/end/route.js.nft.json +1 -1
  90. package/.next/server/app/api/thursday/call/route.js +1 -1
  91. package/.next/server/app/api/thursday/call/route.js.nft.json +1 -1
  92. package/.next/server/app/api/thursday/settings/route.js +1 -1
  93. package/.next/server/app/api/thursday/settings/route.js.nft.json +1 -1
  94. package/.next/server/app/api/thursday/text/route.js +12 -12
  95. package/.next/server/app/api/thursday/text/route.js.nft.json +1 -1
  96. package/.next/server/app/api/thursday/tool-call/route.js +13 -13
  97. package/.next/server/app/api/thursday/tool-call/route.js.nft.json +1 -1
  98. package/.next/server/app/api/workspace/files/route.js +7 -7
  99. package/.next/server/app/api/workspace/files/route.js.nft.json +1 -1
  100. package/.next/server/app/api/workspace/route.js +6 -6
  101. package/.next/server/app/api/workspace/route.js.nft.json +1 -1
  102. package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +94 -6
  103. package/.next/server/app/artifact/[...path]/page.js +9 -5
  104. package/.next/server/app/artifact/[...path]/page.js.nft.json +1 -1
  105. package/.next/server/app/artifact/[...path]/page_client-reference-manifest.js +1 -1
  106. package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  107. package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  108. package/.next/server/app/page/server-reference-manifest.json +161 -128
  109. package/.next/server/app/page.js +10 -9
  110. package/.next/server/app/page.js.nft.json +1 -1
  111. package/.next/server/app/page_client-reference-manifest.js +1 -1
  112. package/.next/server/app-paths-manifest.json +4 -2
  113. package/.next/server/chunks/[root-of-the-server]__00qyw01._.js +1 -1
  114. package/.next/server/chunks/[root-of-the-server]__02ra64t._.js +5 -0
  115. package/.next/server/chunks/{[root-of-the-server]__05dp5tr._.js → [root-of-the-server]__06ky9of._.js} +2 -2
  116. package/.next/server/chunks/[root-of-the-server]__0b565-x._.js +7 -0
  117. package/.next/server/chunks/[root-of-the-server]__0bmtib_._.js +7 -0
  118. package/.next/server/chunks/[root-of-the-server]__0bqveex._.js +1 -1
  119. package/.next/server/chunks/[root-of-the-server]__0brmiv2._.js +7 -0
  120. package/.next/server/chunks/[root-of-the-server]__0eivkvk._.js +2 -2
  121. package/.next/server/chunks/[root-of-the-server]__0f7m79q._.js +1 -1
  122. package/.next/server/chunks/[root-of-the-server]__0g38-aj._.js +2 -2
  123. package/.next/server/chunks/[root-of-the-server]__0gvdr2h._.js +5 -0
  124. package/.next/server/chunks/[root-of-the-server]__0h656y-._.js +2 -2
  125. package/.next/server/chunks/[root-of-the-server]__0hm3tiq._.js +2 -2
  126. package/.next/server/chunks/[root-of-the-server]__0hzdqnv._.js +2 -2
  127. package/.next/server/chunks/[root-of-the-server]__0kzmxpg._.js +3 -0
  128. package/.next/server/chunks/[root-of-the-server]__0mgyt8p._.js +2 -2
  129. package/.next/server/chunks/[root-of-the-server]__0mrk2it._.js +1 -1
  130. package/.next/server/chunks/[root-of-the-server]__0o5s5-o._.js +5 -0
  131. package/.next/server/chunks/[root-of-the-server]__0p80i1n._.js +1 -1
  132. package/.next/server/chunks/[root-of-the-server]__0qdoc_9._.js +5 -0
  133. package/.next/server/chunks/[root-of-the-server]__0qzho69._.js +1 -1
  134. package/.next/server/chunks/[root-of-the-server]__0sm5xvm._.js +1 -1
  135. package/.next/server/chunks/[root-of-the-server]__0v_kuor._.js +5 -0
  136. package/.next/server/chunks/{[root-of-the-server]__061o2_x._.js → [root-of-the-server]__0ypkfbu._.js} +1 -1
  137. package/.next/server/chunks/[root-of-the-server]__1-18_pz._.js +1 -1
  138. package/.next/server/chunks/[root-of-the-server]__13hng6h._.js +1 -1
  139. package/.next/server/chunks/{[root-of-the-server]__01k3vi3._.js → [root-of-the-server]__14iga7p._.js} +1 -1
  140. package/.next/server/chunks/[root-of-the-server]__16gn7zn._.js +3 -0
  141. package/.next/server/chunks/[root-of-the-server]__18e65_-._.js +3 -0
  142. package/.next/server/chunks/[root-of-the-server]__1_04mcf._.js +2 -2
  143. package/.next/server/chunks/[root-of-the-server]__1_cgawk._.js +5 -0
  144. package/.next/server/chunks/[root-of-the-server]__1ceammd._.js +1 -1
  145. package/.next/server/chunks/[root-of-the-server]__1ckt1yj._.js +1 -1
  146. package/.next/server/chunks/[root-of-the-server]__1cu5f3z._.js +1 -1
  147. package/.next/server/chunks/[root-of-the-server]__1dth047._.js +5 -0
  148. package/.next/server/chunks/{[root-of-the-server]__1k2qs1m._.js → [root-of-the-server]__1fc6v12._.js} +1 -1
  149. package/.next/server/chunks/[root-of-the-server]__1hviq62._.js +2 -2
  150. package/.next/server/chunks/[root-of-the-server]__1ksm9m-._.js +12 -0
  151. package/.next/server/chunks/[root-of-the-server]__1m1q6u5._.js +3 -0
  152. package/.next/server/chunks/[root-of-the-server]__1m_dmf6._.js +5 -0
  153. package/.next/server/chunks/[root-of-the-server]__1mys2c3._.js +5 -0
  154. package/.next/server/chunks/[root-of-the-server]__1ndi14y._.js +1 -1
  155. package/.next/server/chunks/[root-of-the-server]__1p0njle._.js +5 -0
  156. package/.next/server/chunks/[root-of-the-server]__1p47fbb._.js +2 -2
  157. package/.next/server/chunks/[root-of-the-server]__1pugoq0._.js +1 -1
  158. package/.next/server/chunks/{[root-of-the-server]__0ts7ai0._.js → [root-of-the-server]__1trns9g._.js} +1 -1
  159. package/.next/server/chunks/[root-of-the-server]__1ygplx1._.js +1 -1
  160. package/.next/server/chunks/[root-of-the-server]__1zn039k._.js +1 -1
  161. package/.next/server/chunks/[root-of-the-server]__20w_g71._.js +3 -0
  162. package/.next/server/chunks/_01c32w9._.js +1 -1
  163. package/.next/server/chunks/_02bov6_._.js +1 -1
  164. package/.next/server/chunks/_06hnfi8._.js +2 -2
  165. package/.next/server/chunks/_06u9yo-._.js +1 -1
  166. package/.next/server/chunks/_08354bn._.js +12 -11
  167. package/.next/server/chunks/_08_-9ay._.js +7 -0
  168. package/.next/server/chunks/_08s4vft._.js +1 -1
  169. package/.next/server/chunks/_0bgjf07._.js +5 -0
  170. package/.next/server/chunks/_0c49lmw._.js +1 -1
  171. package/.next/server/chunks/_0fb6dvr._.js +1 -1
  172. package/.next/server/chunks/_0hgvg55._.js +1 -1
  173. package/.next/server/chunks/_0iw19ig._.js +1 -1
  174. package/.next/server/chunks/_0poi1t2._.js +1 -1
  175. package/.next/server/chunks/_0s8ao8z._.js +1 -1
  176. package/.next/server/chunks/_0t_7gji._.js +1 -1
  177. package/.next/server/chunks/_0ucx1jv._.js +1 -1
  178. package/.next/server/chunks/_0uzj57i._.js +1 -1
  179. package/.next/server/chunks/_0wyh244._.js +112 -0
  180. package/.next/server/chunks/_1-sk_q4._.js +1 -1
  181. package/.next/server/chunks/_108gsm8._.js +2 -2
  182. package/.next/server/chunks/_136j09a._.js +5 -5
  183. package/.next/server/chunks/_15negpy._.js +2 -2
  184. package/.next/server/chunks/_1d7og_q._.js +1 -1
  185. package/.next/server/chunks/_1dxq827._.js +2 -2
  186. package/.next/server/chunks/_1e54wxa._.js +1 -1
  187. package/.next/server/chunks/_1frcwj1._.js +1 -1
  188. package/.next/server/chunks/_1gn2r2q._.js +8 -6
  189. package/.next/server/chunks/_1gxankq._.js +2 -2
  190. package/.next/server/chunks/_1i3uucm._.js +1 -1
  191. package/.next/server/chunks/_1jvy78-._.js +5 -0
  192. package/.next/server/chunks/_1lg0lsu._.js +53 -0
  193. package/.next/server/chunks/_1njolhx._.js +294 -0
  194. package/.next/server/chunks/_1q6e56i._.js +8 -6
  195. package/.next/server/chunks/_1qgix-j._.js +1 -1
  196. package/.next/server/chunks/_1wtb-77._.js +294 -0
  197. package/.next/server/chunks/_1wwl_7o._.js +1 -1
  198. package/.next/server/chunks/_1y8w80a._.js +5 -5
  199. package/.next/server/chunks/_1yx285_._.js +3 -0
  200. package/.next/server/chunks/_20qn224._.js +3 -0
  201. package/.next/server/chunks/_211dn2c._.js +1 -1
  202. package/.next/server/chunks/_next-internal_server_app_api_bot_thread_file_route_actions_0q3be0o.js +3 -0
  203. package/.next/server/chunks/_next-internal_server_app_api_llm-model_catalog_[provider]_route_actions_1i0449q.js +3 -0
  204. package/.next/server/chunks/_next-internal_server_app_api_llm-model_credits_[provider]_route_actions_0iui9hz.js +3 -0
  205. package/.next/server/chunks/_next-internal_server_app_api_running_route_actions_0o1g-aw.js +3 -0
  206. package/.next/server/chunks/config_ts_1g4sz5o._.js +1 -1
  207. package/.next/server/chunks/features_bot_08z387_._.js +3 -3
  208. package/.next/server/chunks/features_bot_0zy_q8y._.js +7 -7
  209. package/.next/server/chunks/features_bot_1dfrdsb._.js +7 -7
  210. package/.next/server/chunks/features_workspace_workspace_ts_13h82gv._.js +3 -3
  211. package/.next/server/chunks/features_workspace_workspace_ts_1iyjroj._.js +3 -3
  212. package/.next/server/chunks/{node_modules_1rosz79._.js → node_modules_035o7ku._.js} +1 -1
  213. package/.next/server/chunks/{node_modules_1er1u8w._.js → node_modules_0tn5t13._.js} +1 -1
  214. package/.next/server/chunks/{node_modules_103lpef._.js → node_modules_12oq3hr._.js} +1 -1
  215. package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0g87zst._.js → node_modules_consola_dist_chunks_prompt_mjs_0yd5xa0._.js} +1 -1
  216. package/.next/server/chunks/ssr/[root-of-the-server]__04upd5v._.js +1 -1
  217. package/.next/server/chunks/ssr/[root-of-the-server]__0p0mv2u._.js +3 -0
  218. package/.next/server/chunks/ssr/[root-of-the-server]__0sk5enu._.js +3 -0
  219. package/.next/server/chunks/ssr/[root-of-the-server]__0xyaud4._.js +3 -0
  220. package/.next/server/chunks/ssr/[root-of-the-server]__1-gi9sm._.js +3 -0
  221. package/.next/server/chunks/ssr/[root-of-the-server]__16nn3pe._.js +3 -0
  222. package/.next/server/chunks/ssr/[root-of-the-server]__1867koj._.js +1 -1
  223. package/.next/server/chunks/ssr/[root-of-the-server]__1c8-7cw._.js +3 -0
  224. package/.next/server/chunks/ssr/{[root-of-the-server]__1d7usu0._.js → [root-of-the-server]__1qn0axo._.js} +2 -2
  225. package/.next/server/chunks/ssr/[root-of-the-server]__1tb5vve._.js +47 -0
  226. package/.next/server/chunks/ssr/_02cm0fr._.js +5 -0
  227. package/.next/server/chunks/ssr/{features_bot_1knyan7._.js → _07nmtxo._.js} +2 -2
  228. package/.next/server/chunks/ssr/_088vzgn._.js +1 -1
  229. package/.next/server/chunks/ssr/{_1dfv66y._.js → _0bg1u1j._.js} +2 -2
  230. package/.next/server/chunks/ssr/_0cv9tmv._.js +1 -1
  231. package/.next/server/chunks/ssr/{_10-_awu._.js → _0f9hx5p._.js} +2 -2
  232. package/.next/server/chunks/ssr/_0g9ula_._.js +3 -0
  233. package/.next/server/chunks/ssr/{_1aqjk-1._.js → _0irozu9._.js} +2 -2
  234. package/.next/server/chunks/ssr/{_123y-ah._.js → _0is8m6y._.js} +2 -2
  235. package/.next/server/chunks/ssr/_0iwsdp7._.js +3 -0
  236. package/.next/server/chunks/ssr/_0l7rjg5._.js +1 -1
  237. package/.next/server/chunks/ssr/{lib_logger_ts_0-olsze._.js → _0mfgsk-._.js} +4 -2
  238. package/.next/server/chunks/ssr/{_0fo4552._.js → _0nk80t6._.js} +53 -13
  239. package/.next/server/chunks/ssr/_0p6w0ef._.js +3 -0
  240. package/.next/server/chunks/ssr/_0pbav_w._.js +3 -0
  241. package/.next/server/chunks/ssr/{_0vo_oym._.js → _0q-mdwv._.js} +8 -8
  242. package/.next/server/chunks/ssr/_0s5_ahb._.js +3 -0
  243. package/.next/server/chunks/ssr/{_0e2fnvg._.js → _0t5f2c3._.js} +2 -2
  244. package/.next/server/chunks/ssr/_0v9r8g2._.js +1 -1
  245. package/.next/server/chunks/ssr/_0x8ophf._.js +1 -1
  246. package/.next/server/chunks/ssr/_0x9f717._.js +60 -0
  247. package/.next/server/chunks/ssr/_107vtdk._.js +162 -0
  248. package/.next/server/chunks/ssr/{_17a4qyk._.js → _12lql1x._.js} +3 -3
  249. package/.next/server/chunks/ssr/{_163dr78._.js → _165wnr4._.js} +2 -2
  250. package/.next/server/chunks/ssr/_16_7zeo._.js +3 -0
  251. package/.next/server/chunks/ssr/_17komoi._.js +3 -0
  252. package/.next/server/chunks/ssr/_190hjys._.js +3 -0
  253. package/.next/server/chunks/ssr/_1bfrntd._.js +6 -0
  254. package/.next/server/chunks/ssr/{_01al00i._.js → _1booff4._.js} +2 -2
  255. package/.next/server/chunks/ssr/{_0xfafez._.js → _1ew1j7l._.js} +2 -2
  256. package/.next/server/chunks/ssr/_1i2swyr._.js +3 -0
  257. package/.next/server/chunks/ssr/_1neoj22._.js +1 -1
  258. package/.next/server/chunks/ssr/_1qsa25k._.js +3 -0
  259. package/.next/server/chunks/ssr/_1soynbw._.js +6 -0
  260. package/.next/server/chunks/ssr/_1vc2xmu._.js +3 -0
  261. package/.next/server/chunks/ssr/{_14oirtb._.js → _1wq90j8._.js} +2 -2
  262. package/.next/server/chunks/ssr/_1xwtbdz._.js +3 -0
  263. package/.next/server/chunks/ssr/_1zrhkf0._.js +310 -0
  264. package/.next/server/chunks/ssr/_21awrs2._.js +5 -0
  265. package/.next/server/chunks/ssr/features_0796o8r._.js +1 -1
  266. package/.next/server/chunks/ssr/features_bot_0tb4ui-._.js +2 -2
  267. package/.next/server/chunks/ssr/features_bot_1c56lew._.js +37 -0
  268. package/.next/server/chunks/ssr/features_bot_1fn_grf._.js +3 -0
  269. package/.next/server/chunks/ssr/{features_config_09n-q9q._.js → features_config_05zi68v._.js} +3 -3
  270. package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +1 -1
  271. package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +1 -1
  272. package/.next/server/chunks/ssr/features_routine_components_routine-setting_tsx_055fknz._.js +1 -1
  273. package/.next/server/chunks/ssr/features_workspace_workspace_ts_1wc7_u_._.js +4 -4
  274. package/.next/server/chunks/ssr/{node_modules_1k5i-_9._.js → node_modules_0-sux1a._.js} +1 -1
  275. package/.next/server/chunks/ssr/{node_modules_0msrhxf._.js → node_modules_01oezhb._.js} +1 -1
  276. package/.next/server/chunks/ssr/{node_modules_1gq3ght._.js → node_modules_04m6ebg._.js} +1 -1
  277. package/.next/server/chunks/ssr/{node_modules_0nmkv-v._.js → node_modules_067jfov._.js} +1 -1
  278. package/.next/server/chunks/ssr/{node_modules_0gd9hbz._.js → node_modules_06ugby3._.js} +1 -1
  279. package/.next/server/chunks/ssr/{node_modules_0d6j33x._.js → node_modules_07p51j3._.js} +1 -1
  280. package/.next/server/chunks/ssr/{node_modules_10_fv2a._.js → node_modules_0995xyq._.js} +1 -1
  281. package/.next/server/chunks/ssr/{node_modules_1lmyts8._.js → node_modules_0_uecwx._.js} +1 -1
  282. package/.next/server/chunks/ssr/{node_modules_04x5wyv._.js → node_modules_0dsyc90._.js} +1 -1
  283. package/.next/server/chunks/ssr/{node_modules_0__0tvm._.js → node_modules_0hli6s2._.js} +1 -1
  284. package/.next/server/chunks/ssr/{node_modules_0k8-y89._.js → node_modules_0m-bde_._.js} +1 -1
  285. package/.next/server/chunks/ssr/{node_modules_1p_6sq7._.js → node_modules_0oqfdbr._.js} +1 -1
  286. package/.next/server/chunks/ssr/node_modules_0qd7p5f._.js +3 -0
  287. package/.next/server/chunks/ssr/{node_modules_13g-d25._.js → node_modules_0tgy5s5._.js} +1 -1
  288. package/.next/server/chunks/ssr/{node_modules_1_8-jcj._.js → node_modules_1-kjmls._.js} +1 -1
  289. package/.next/server/chunks/ssr/{node_modules_0m73b88._.js → node_modules_1-l3ka5._.js} +1 -1
  290. package/.next/server/chunks/ssr/{node_modules_113l3e5._.js → node_modules_1-w3ayh._.js} +1 -1
  291. package/.next/server/chunks/ssr/{node_modules_0q-klni._.js → node_modules_133exgm._.js} +1 -1
  292. package/.next/server/chunks/ssr/{node_modules_1xb-ndg._.js → node_modules_17xc5_k._.js} +1 -1
  293. package/.next/server/chunks/ssr/{node_modules_021lid9._.js → node_modules_1_i_w30._.js} +1 -1
  294. package/.next/server/chunks/ssr/{node_modules_1ri_eip._.js → node_modules_1a2cjfk._.js} +1 -1
  295. package/.next/server/chunks/ssr/{node_modules_13bqv6i._.js → node_modules_1k752fe._.js} +1 -1
  296. package/.next/server/chunks/ssr/{node_modules_1qstb1x._.js → node_modules_1lie7z8._.js} +1 -1
  297. package/.next/server/chunks/ssr/{node_modules_096up6a._.js → node_modules_1mv70-y._.js} +1 -1
  298. package/.next/server/chunks/ssr/{node_modules_156kv_t._.js → node_modules_1r611t2._.js} +1 -1
  299. package/.next/server/chunks/ssr/node_modules_1vfd8dz._.js +3 -0
  300. package/.next/server/chunks/ssr/{node_modules_0cjnmzp._.js → node_modules_1yaowd7._.js} +1 -1
  301. package/.next/server/chunks/ssr/{node_modules_0nw5jz7._.js → node_modules_20a1wpo._.js} +1 -1
  302. package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0amkw0b._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1r8pxbe._.js} +1 -1
  303. package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0zq3l45._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1siiu4h._.js} +1 -1
  304. package/.next/server/middleware-build-manifest.js +3 -3
  305. package/.next/server/pages/404.html +1 -1
  306. package/.next/server/pages/500.html +1 -1
  307. package/.next/server/server-reference-manifest.js +1 -1
  308. package/.next/server/server-reference-manifest.json +205 -132
  309. package/.next/static/chunks/{0obogzscwwekj.js → 088d3w5qxu19g.js} +2 -2
  310. package/.next/static/chunks/0_s4z70lx1tgs.js +1 -0
  311. package/.next/static/chunks/0bxekp4hnuk1g.js +1 -0
  312. package/.next/static/chunks/{1cglo3a2mbeou.js → 0fw4u_s974j24.js} +1 -1
  313. package/.next/static/chunks/0hy2x7qhk8wgx.css +1 -0
  314. package/.next/static/chunks/{2zbl41hed17g3.js → 0n_eshmn_7wfn.js} +2 -2
  315. package/.next/static/chunks/0q9b2n6l4flqb.js +1 -0
  316. package/.next/static/chunks/0ulcp_u_y1u0b.js +15 -0
  317. package/.next/static/chunks/0vj93zo0yvix9.js +35 -0
  318. package/.next/static/chunks/{166smhw8v-s3j.js → 10f98bh4hdmhe.js} +1 -1
  319. package/.next/static/chunks/1b8bce_z_act0.js +1 -0
  320. package/.next/static/chunks/1c32d2azsjaj_.js +1 -0
  321. package/.next/static/chunks/{1xv4g10m-cl1s.js → 1fs829mz69pxz.js} +1 -1
  322. package/.next/static/chunks/1lwlh4mo_vv8d.js +1 -0
  323. package/.next/static/chunks/{0p2f6uv4xytfm.js → 1po8fkg40peu-.js} +1 -1
  324. package/.next/static/chunks/{0uxq_vs6uxi-b.js → 1rg6b9l5fm1hj.js} +1 -1
  325. package/.next/static/chunks/{3b96xy59nl_gd.js → 26g3iwfuad-7p.js} +1 -1
  326. package/.next/static/chunks/2bjnmtke_q43c.js +1 -0
  327. package/.next/static/chunks/2c86k0o-1p9_w.js +1 -0
  328. package/.next/static/chunks/2gf4t0d76bvyv.js +1 -0
  329. package/.next/static/chunks/2rj3q_ahctv19.js +1 -0
  330. package/.next/static/chunks/{2lhc74urf3acr.js → 2x6-fpctvucte.js} +1 -1
  331. package/.next/static/chunks/2yicf7bky866n.js +3 -0
  332. package/.next/static/chunks/337g9g_ux2gj-.js +1 -0
  333. package/.next/static/chunks/350ws7svim7ij.js +58 -0
  334. package/.next/static/chunks/{0o7o0eb7ihxi6.js → 396enq-m0sss5.js} +1 -1
  335. package/.next/static/chunks/3e1w_nwfb39j-.js +1 -0
  336. package/.next/static/chunks/3v3ooretb54ag.js +1 -0
  337. package/.next/static/chunks/40re_3ukjulg9.js +1 -0
  338. package/.next/static/chunks/{3gsxnqqqphh-1.js → 44bcbnmup71so.js} +1 -1
  339. package/.next/static/chunks/{2qgkbdshzpq1c.js → 458dtbsemx996.js} +1 -1
  340. package/README.md +5 -5
  341. package/bin/background.mjs +995 -0
  342. package/bin/lock.mjs +121 -5
  343. package/bin/thursday.mjs +126 -30
  344. package/bin/tools.mjs +72 -1
  345. package/database/migrations/20260926021847_thread_cache_tokens/migration.sql +2 -0
  346. package/database/migrations/20260926021847_thread_cache_tokens/snapshot.json +1949 -0
  347. package/guide/bots.md +173 -317
  348. package/guide/calls.md +106 -146
  349. package/guide/index.md +2 -2
  350. package/guide/memory.md +14 -18
  351. package/guide/phone.md +86 -133
  352. package/guide/setup.md +141 -172
  353. package/guide/trouble.md +42 -65
  354. package/package.json +1 -1
  355. package/seed-skills/concierge/travel/references/itinerary.md +1 -1
  356. package/seed-skills/concierge/travel/scripts/itinerary.mjs +8 -3
  357. package/skills/artifact/references/book.md +3 -3
  358. package/skills/artifact/runtime/shell/shell.js +32 -3
  359. package/.next/server/app/api/llm-model/catalog/route/app-paths-manifest.json +0 -3
  360. package/.next/server/app/api/llm-model/catalog/route.js.nft.json +0 -1
  361. package/.next/server/app/api/llm-model/catalog/route_client-reference-manifest.js +0 -3
  362. package/.next/server/app/api/llm-model/credits/route/app-paths-manifest.json +0 -3
  363. package/.next/server/app/api/llm-model/credits/route.js.nft.json +0 -1
  364. package/.next/server/app/api/llm-model/credits/route_client-reference-manifest.js +0 -3
  365. package/.next/server/chunks/[root-of-the-server]__01ypm_z._.js +0 -3
  366. package/.next/server/chunks/[root-of-the-server]__021dkui._.js +0 -3
  367. package/.next/server/chunks/[root-of-the-server]__03xamry._.js +0 -3
  368. package/.next/server/chunks/[root-of-the-server]__09gdscj._.js +0 -7
  369. package/.next/server/chunks/[root-of-the-server]__0ljizgj._.js +0 -5
  370. package/.next/server/chunks/[root-of-the-server]__0nmust6._.js +0 -5
  371. package/.next/server/chunks/[root-of-the-server]__0svzjwa._.js +0 -7
  372. package/.next/server/chunks/[root-of-the-server]__1-rmal0._.js +0 -5
  373. package/.next/server/chunks/[root-of-the-server]__10xnb7e._.js +0 -3
  374. package/.next/server/chunks/[root-of-the-server]__1_h4hf9._.js +0 -7
  375. package/.next/server/chunks/[root-of-the-server]__1c2kwku._.js +0 -12
  376. package/.next/server/chunks/[root-of-the-server]__1t02-1p._.js +0 -3
  377. package/.next/server/chunks/[root-of-the-server]__1t0jj1j._.js +0 -5
  378. package/.next/server/chunks/[root-of-the-server]__1v7x5ym._.js +0 -3
  379. package/.next/server/chunks/[root-of-the-server]__1vlxv19._.js +0 -5
  380. package/.next/server/chunks/_07nxi75._.js +0 -254
  381. package/.next/server/chunks/_08btiir._.js +0 -7
  382. package/.next/server/chunks/_0j0-gq6._.js +0 -5
  383. package/.next/server/chunks/_0p6v1fr._.js +0 -5
  384. package/.next/server/chunks/_0srlnvd._.js +0 -16
  385. package/.next/server/chunks/_0xygcxs._.js +0 -254
  386. package/.next/server/chunks/_1ic3bew._.js +0 -5
  387. package/.next/server/chunks/_next-internal_server_app_api_llm-model_catalog_route_actions_1eu2y41.js +0 -3
  388. package/.next/server/chunks/_next-internal_server_app_api_llm-model_credits_route_actions_0v424pb.js +0 -3
  389. package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_04oxl25._.js +0 -3
  390. package/.next/server/chunks/ssr/[root-of-the-server]__0-af_o7._.js +0 -3
  391. package/.next/server/chunks/ssr/[root-of-the-server]__09f39cp._.js +0 -4
  392. package/.next/server/chunks/ssr/[root-of-the-server]__0ouu4qp._.js +0 -3
  393. package/.next/server/chunks/ssr/[root-of-the-server]__0q9g9ea._.js +0 -5
  394. package/.next/server/chunks/ssr/[root-of-the-server]__17h1ggo._.js +0 -46
  395. package/.next/server/chunks/ssr/[root-of-the-server]__1jyeu61._.js +0 -5
  396. package/.next/server/chunks/ssr/_0afrpci._.js +0 -3
  397. package/.next/server/chunks/ssr/_0bgse1c._.js +0 -162
  398. package/.next/server/chunks/ssr/_0jstvlg._.js +0 -39
  399. package/.next/server/chunks/ssr/_0qsmpcu._.js +0 -3
  400. package/.next/server/chunks/ssr/_0z38nha._.js +0 -3
  401. package/.next/server/chunks/ssr/_1-41lck._.js +0 -3
  402. package/.next/server/chunks/ssr/_10_ph1t._.js +0 -3
  403. package/.next/server/chunks/ssr/_116lfdc._.js +0 -3
  404. package/.next/server/chunks/ssr/_14dfh7a._.js +0 -4
  405. package/.next/server/chunks/ssr/_17qtuv7._.js +0 -3
  406. package/.next/server/chunks/ssr/_19jez1a._.js +0 -3
  407. package/.next/server/chunks/ssr/_1_5xof_._.js +0 -3
  408. package/.next/server/chunks/ssr/_1alxym6._.js +0 -3
  409. package/.next/server/chunks/ssr/_1ou5sj0._.js +0 -3
  410. package/.next/server/chunks/ssr/_1tmw842._.js +0 -5
  411. package/.next/server/chunks/ssr/_1uij_rj._.js +0 -3
  412. package/.next/server/chunks/ssr/_1w9w1ok._.js +0 -3
  413. package/.next/server/chunks/ssr/_20gq_24._.js +0 -3
  414. package/.next/server/chunks/ssr/features_bot_0ouemw8._.js +0 -3
  415. package/.next/server/chunks/ssr/node_modules_@base-ui_react_1j9i1ho._.js +0 -3
  416. package/.next/static/chunks/01l7kw74vfp32.js +0 -1
  417. package/.next/static/chunks/0a5_-jqhaktjj.js +0 -1
  418. package/.next/static/chunks/0npvak0wpgagb.js +0 -1
  419. package/.next/static/chunks/19l81deo_pyoc.js +0 -1
  420. package/.next/static/chunks/1bnhw-5fj7aiz.js +0 -1
  421. package/.next/static/chunks/1in6nxpu33iab.js +0 -1
  422. package/.next/static/chunks/1u7kg91f9qy3g.js +0 -1
  423. package/.next/static/chunks/2ajs12-fcdwzm.js +0 -1
  424. package/.next/static/chunks/2i7qtmxc1kuqg.js +0 -1
  425. package/.next/static/chunks/2kz1f6r59nky0.js +0 -3
  426. package/.next/static/chunks/31kn4_h2rvf6k.css +0 -1
  427. package/.next/static/chunks/35jj-5u4te56r.js +0 -1
  428. package/.next/static/chunks/37ixzapa06xlo.js +0 -1
  429. package/.next/static/chunks/3jtcieuk1l6tw.js +0 -1
  430. package/.next/static/chunks/3k1d8y03t5nax.js +0 -58
  431. package/.next/static/chunks/3sla-dm1puqd1.js +0 -35
  432. package/.next/static/chunks/3t2c76awm9k_p.js +0 -1
  433. package/.next/static/chunks/3vrmcm31ih7gb.js +0 -1
  434. package/.next/static/chunks/3yiqr95d7ybeq.js +0 -15
  435. package/bin/autostart.mjs +0 -162
  436. /package/.next/server/app/api/{llm-model/catalog → bot/thread/file}/route/build-manifest.json +0 -0
  437. /package/.next/server/app/api/{llm-model/catalog → bot/thread/file}/route/server-reference-manifest.json +0 -0
  438. /package/.next/server/app/api/{llm-model/catalog → bot/thread/file}/route.js.map +0 -0
  439. /package/.next/server/app/api/llm-model/{credits → catalog/[provider]}/route/build-manifest.json +0 -0
  440. /package/.next/server/app/api/llm-model/{credits → catalog/[provider]}/route/server-reference-manifest.json +0 -0
  441. /package/.next/server/app/api/llm-model/{credits → catalog/[provider]}/route.js.map +0 -0
  442. /package/.next/static/{8I2hKtciyA9LXvd8txuOz → YhaRHJqObuAcXZe5VLFs0}/_buildManifest.js +0 -0
  443. /package/.next/static/{8I2hKtciyA9LXvd8txuOz → YhaRHJqObuAcXZe5VLFs0}/_clientMiddlewareManifest.js +0 -0
  444. /package/.next/static/{8I2hKtciyA9LXvd8txuOz → YhaRHJqObuAcXZe5VLFs0}/_ssgManifest.js +0 -0
@@ -0,0 +1,1949 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "id": "8c7bdf72-b0dd-458b-adad-8213407fa89e",
5
+ "prevIds": [
6
+ "304171d9-007a-4788-a4b7-67ba0be1dbe4"
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": "integer",
115
+ "notNull": true,
116
+ "autoincrement": false,
117
+ "default": "false",
118
+ "generated": null,
119
+ "name": "description_locked",
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": "own_line",
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": "system_prompt",
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": "icon",
150
+ "entityType": "columns",
151
+ "table": "bot"
152
+ },
153
+ {
154
+ "type": "text",
155
+ "notNull": false,
156
+ "autoincrement": false,
157
+ "default": null,
158
+ "generated": null,
159
+ "name": "provider",
160
+ "entityType": "columns",
161
+ "table": "bot"
162
+ },
163
+ {
164
+ "type": "text",
165
+ "notNull": false,
166
+ "autoincrement": false,
167
+ "default": null,
168
+ "generated": null,
169
+ "name": "model",
170
+ "entityType": "columns",
171
+ "table": "bot"
172
+ },
173
+ {
174
+ "type": "integer",
175
+ "notNull": false,
176
+ "autoincrement": false,
177
+ "default": null,
178
+ "generated": null,
179
+ "name": "compact_at",
180
+ "entityType": "columns",
181
+ "table": "bot"
182
+ },
183
+ {
184
+ "type": "text",
185
+ "notNull": false,
186
+ "autoincrement": false,
187
+ "default": null,
188
+ "generated": null,
189
+ "name": "effort",
190
+ "entityType": "columns",
191
+ "table": "bot"
192
+ },
193
+ {
194
+ "type": "integer",
195
+ "notNull": true,
196
+ "autoincrement": false,
197
+ "default": "false",
198
+ "generated": null,
199
+ "name": "disabled",
200
+ "entityType": "columns",
201
+ "table": "bot"
202
+ },
203
+ {
204
+ "type": "integer",
205
+ "notNull": true,
206
+ "autoincrement": false,
207
+ "default": null,
208
+ "generated": null,
209
+ "name": "created_at",
210
+ "entityType": "columns",
211
+ "table": "bot"
212
+ },
213
+ {
214
+ "type": "text",
215
+ "notNull": true,
216
+ "autoincrement": false,
217
+ "default": null,
218
+ "generated": null,
219
+ "name": "call_id",
220
+ "entityType": "columns",
221
+ "table": "call_message"
222
+ },
223
+ {
224
+ "type": "text",
225
+ "notNull": true,
226
+ "autoincrement": false,
227
+ "default": null,
228
+ "generated": null,
229
+ "name": "id",
230
+ "entityType": "columns",
231
+ "table": "call_message"
232
+ },
233
+ {
234
+ "type": "integer",
235
+ "notNull": true,
236
+ "autoincrement": false,
237
+ "default": null,
238
+ "generated": null,
239
+ "name": "seq",
240
+ "entityType": "columns",
241
+ "table": "call_message"
242
+ },
243
+ {
244
+ "type": "text",
245
+ "notNull": true,
246
+ "autoincrement": false,
247
+ "default": null,
248
+ "generated": null,
249
+ "name": "role",
250
+ "entityType": "columns",
251
+ "table": "call_message"
252
+ },
253
+ {
254
+ "type": "text",
255
+ "notNull": false,
256
+ "autoincrement": false,
257
+ "default": null,
258
+ "generated": null,
259
+ "name": "tool",
260
+ "entityType": "columns",
261
+ "table": "call_message"
262
+ },
263
+ {
264
+ "type": "text",
265
+ "notNull": true,
266
+ "autoincrement": false,
267
+ "default": null,
268
+ "generated": null,
269
+ "name": "text",
270
+ "entityType": "columns",
271
+ "table": "call_message"
272
+ },
273
+ {
274
+ "type": "text",
275
+ "notNull": false,
276
+ "autoincrement": false,
277
+ "default": null,
278
+ "generated": null,
279
+ "name": "fragments",
280
+ "entityType": "columns",
281
+ "table": "call_message"
282
+ },
283
+ {
284
+ "type": "integer",
285
+ "notNull": true,
286
+ "autoincrement": false,
287
+ "default": null,
288
+ "generated": null,
289
+ "name": "at",
290
+ "entityType": "columns",
291
+ "table": "call_message"
292
+ },
293
+ {
294
+ "type": "text",
295
+ "notNull": false,
296
+ "autoincrement": false,
297
+ "default": null,
298
+ "generated": null,
299
+ "name": "id",
300
+ "entityType": "columns",
301
+ "table": "call"
302
+ },
303
+ {
304
+ "type": "text",
305
+ "notNull": true,
306
+ "autoincrement": false,
307
+ "default": null,
308
+ "generated": null,
309
+ "name": "provider",
310
+ "entityType": "columns",
311
+ "table": "call"
312
+ },
313
+ {
314
+ "type": "text",
315
+ "notNull": true,
316
+ "autoincrement": false,
317
+ "default": null,
318
+ "generated": null,
319
+ "name": "model",
320
+ "entityType": "columns",
321
+ "table": "call"
322
+ },
323
+ {
324
+ "type": "text",
325
+ "notNull": false,
326
+ "autoincrement": false,
327
+ "default": null,
328
+ "generated": null,
329
+ "name": "backend_model",
330
+ "entityType": "columns",
331
+ "table": "call"
332
+ },
333
+ {
334
+ "type": "integer",
335
+ "notNull": true,
336
+ "autoincrement": false,
337
+ "default": null,
338
+ "generated": null,
339
+ "name": "started_at",
340
+ "entityType": "columns",
341
+ "table": "call"
342
+ },
343
+ {
344
+ "type": "text",
345
+ "notNull": false,
346
+ "autoincrement": false,
347
+ "default": null,
348
+ "generated": null,
349
+ "name": "ended_reason",
350
+ "entityType": "columns",
351
+ "table": "call"
352
+ },
353
+ {
354
+ "type": "integer",
355
+ "notNull": false,
356
+ "autoincrement": false,
357
+ "default": null,
358
+ "generated": null,
359
+ "name": "seconds",
360
+ "entityType": "columns",
361
+ "table": "call"
362
+ },
363
+ {
364
+ "type": "integer",
365
+ "notNull": false,
366
+ "autoincrement": false,
367
+ "default": null,
368
+ "generated": null,
369
+ "name": "ended_at",
370
+ "entityType": "columns",
371
+ "table": "call"
372
+ },
373
+ {
374
+ "type": "text",
375
+ "notNull": true,
376
+ "autoincrement": false,
377
+ "default": null,
378
+ "generated": null,
379
+ "name": "call_id",
380
+ "entityType": "columns",
381
+ "table": "call_thought"
382
+ },
383
+ {
384
+ "type": "text",
385
+ "notNull": true,
386
+ "autoincrement": false,
387
+ "default": null,
388
+ "generated": null,
389
+ "name": "id",
390
+ "entityType": "columns",
391
+ "table": "call_thought"
392
+ },
393
+ {
394
+ "type": "integer",
395
+ "notNull": true,
396
+ "autoincrement": false,
397
+ "default": null,
398
+ "generated": null,
399
+ "name": "seq",
400
+ "entityType": "columns",
401
+ "table": "call_thought"
402
+ },
403
+ {
404
+ "type": "text",
405
+ "notNull": true,
406
+ "autoincrement": false,
407
+ "default": null,
408
+ "generated": null,
409
+ "name": "text",
410
+ "entityType": "columns",
411
+ "table": "call_thought"
412
+ },
413
+ {
414
+ "type": "integer",
415
+ "notNull": true,
416
+ "autoincrement": false,
417
+ "default": null,
418
+ "generated": null,
419
+ "name": "at",
420
+ "entityType": "columns",
421
+ "table": "call_thought"
422
+ },
423
+ {
424
+ "type": "text",
425
+ "notNull": false,
426
+ "autoincrement": false,
427
+ "default": null,
428
+ "generated": null,
429
+ "name": "key",
430
+ "entityType": "columns",
431
+ "table": "config"
432
+ },
433
+ {
434
+ "type": "text",
435
+ "notNull": true,
436
+ "autoincrement": false,
437
+ "default": null,
438
+ "generated": null,
439
+ "name": "value",
440
+ "entityType": "columns",
441
+ "table": "config"
442
+ },
443
+ {
444
+ "type": "text",
445
+ "notNull": false,
446
+ "autoincrement": false,
447
+ "default": null,
448
+ "generated": null,
449
+ "name": "name",
450
+ "entityType": "columns",
451
+ "table": "mcp_server"
452
+ },
453
+ {
454
+ "type": "text",
455
+ "notNull": true,
456
+ "autoincrement": false,
457
+ "default": null,
458
+ "generated": null,
459
+ "name": "config",
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": "tools_synced_at",
470
+ "entityType": "columns",
471
+ "table": "mcp_server"
472
+ },
473
+ {
474
+ "type": "text",
475
+ "notNull": false,
476
+ "autoincrement": false,
477
+ "default": null,
478
+ "generated": null,
479
+ "name": "last_error",
480
+ "entityType": "columns",
481
+ "table": "mcp_server"
482
+ },
483
+ {
484
+ "type": "text",
485
+ "notNull": false,
486
+ "autoincrement": false,
487
+ "default": null,
488
+ "generated": null,
489
+ "name": "oauth",
490
+ "entityType": "columns",
491
+ "table": "mcp_server"
492
+ },
493
+ {
494
+ "type": "integer",
495
+ "notNull": true,
496
+ "autoincrement": false,
497
+ "default": null,
498
+ "generated": null,
499
+ "name": "created_at",
500
+ "entityType": "columns",
501
+ "table": "mcp_server"
502
+ },
503
+ {
504
+ "type": "integer",
505
+ "notNull": false,
506
+ "autoincrement": true,
507
+ "default": null,
508
+ "generated": null,
509
+ "name": "id",
510
+ "entityType": "columns",
511
+ "table": "mcp_tool"
512
+ },
513
+ {
514
+ "type": "text",
515
+ "notNull": true,
516
+ "autoincrement": false,
517
+ "default": null,
518
+ "generated": null,
519
+ "name": "server_name",
520
+ "entityType": "columns",
521
+ "table": "mcp_tool"
522
+ },
523
+ {
524
+ "type": "text",
525
+ "notNull": true,
526
+ "autoincrement": false,
527
+ "default": null,
528
+ "generated": null,
529
+ "name": "name",
530
+ "entityType": "columns",
531
+ "table": "mcp_tool"
532
+ },
533
+ {
534
+ "type": "text",
535
+ "notNull": false,
536
+ "autoincrement": false,
537
+ "default": null,
538
+ "generated": null,
539
+ "name": "description",
540
+ "entityType": "columns",
541
+ "table": "mcp_tool"
542
+ },
543
+ {
544
+ "type": "text",
545
+ "notNull": false,
546
+ "autoincrement": false,
547
+ "default": null,
548
+ "generated": null,
549
+ "name": "input_schema",
550
+ "entityType": "columns",
551
+ "table": "mcp_tool"
552
+ },
553
+ {
554
+ "type": "text",
555
+ "notNull": false,
556
+ "autoincrement": false,
557
+ "default": null,
558
+ "generated": null,
559
+ "name": "output_schema",
560
+ "entityType": "columns",
561
+ "table": "mcp_tool"
562
+ },
563
+ {
564
+ "type": "integer",
565
+ "notNull": false,
566
+ "autoincrement": true,
567
+ "default": null,
568
+ "generated": null,
569
+ "name": "id",
570
+ "entityType": "columns",
571
+ "table": "memory_fact"
572
+ },
573
+ {
574
+ "type": "integer",
575
+ "notNull": true,
576
+ "autoincrement": false,
577
+ "default": null,
578
+ "generated": null,
579
+ "name": "note_id",
580
+ "entityType": "columns",
581
+ "table": "memory_fact"
582
+ },
583
+ {
584
+ "type": "text",
585
+ "notNull": true,
586
+ "autoincrement": false,
587
+ "default": null,
588
+ "generated": null,
589
+ "name": "text",
590
+ "entityType": "columns",
591
+ "table": "memory_fact"
592
+ },
593
+ {
594
+ "type": "integer",
595
+ "notNull": true,
596
+ "autoincrement": false,
597
+ "default": "true",
598
+ "generated": null,
599
+ "name": "is_latest",
600
+ "entityType": "columns",
601
+ "table": "memory_fact"
602
+ },
603
+ {
604
+ "type": "text",
605
+ "notNull": false,
606
+ "autoincrement": false,
607
+ "default": null,
608
+ "generated": null,
609
+ "name": "source",
610
+ "entityType": "columns",
611
+ "table": "memory_fact"
612
+ },
613
+ {
614
+ "type": "text",
615
+ "notNull": false,
616
+ "autoincrement": false,
617
+ "default": null,
618
+ "generated": null,
619
+ "name": "call_id",
620
+ "entityType": "columns",
621
+ "table": "memory_fact"
622
+ },
623
+ {
624
+ "type": "integer",
625
+ "notNull": true,
626
+ "autoincrement": false,
627
+ "default": null,
628
+ "generated": null,
629
+ "name": "created_at",
630
+ "entityType": "columns",
631
+ "table": "memory_fact"
632
+ },
633
+ {
634
+ "type": "integer",
635
+ "notNull": false,
636
+ "autoincrement": true,
637
+ "default": null,
638
+ "generated": null,
639
+ "name": "id",
640
+ "entityType": "columns",
641
+ "table": "memory_note"
642
+ },
643
+ {
644
+ "type": "text",
645
+ "notNull": true,
646
+ "autoincrement": false,
647
+ "default": null,
648
+ "generated": null,
649
+ "name": "path",
650
+ "entityType": "columns",
651
+ "table": "memory_note"
652
+ },
653
+ {
654
+ "type": "text",
655
+ "notNull": true,
656
+ "autoincrement": false,
657
+ "default": null,
658
+ "generated": null,
659
+ "name": "description",
660
+ "entityType": "columns",
661
+ "table": "memory_note"
662
+ },
663
+ {
664
+ "type": "integer",
665
+ "notNull": true,
666
+ "autoincrement": false,
667
+ "default": "false",
668
+ "generated": null,
669
+ "name": "owned_by_user",
670
+ "entityType": "columns",
671
+ "table": "memory_note"
672
+ },
673
+ {
674
+ "type": "integer",
675
+ "notNull": true,
676
+ "autoincrement": false,
677
+ "default": "0",
678
+ "generated": null,
679
+ "name": "hits",
680
+ "entityType": "columns",
681
+ "table": "memory_note"
682
+ },
683
+ {
684
+ "type": "integer",
685
+ "notNull": false,
686
+ "autoincrement": false,
687
+ "default": null,
688
+ "generated": null,
689
+ "name": "last_read_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": "created_at",
700
+ "entityType": "columns",
701
+ "table": "memory_note"
702
+ },
703
+ {
704
+ "type": "integer",
705
+ "notNull": true,
706
+ "autoincrement": false,
707
+ "default": null,
708
+ "generated": null,
709
+ "name": "updated_at",
710
+ "entityType": "columns",
711
+ "table": "memory_note"
712
+ },
713
+ {
714
+ "type": "text",
715
+ "notNull": false,
716
+ "autoincrement": false,
717
+ "default": null,
718
+ "generated": null,
719
+ "name": "id",
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": "bot",
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": "label",
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": "request",
750
+ "entityType": "columns",
751
+ "table": "routine"
752
+ },
753
+ {
754
+ "type": "text",
755
+ "notNull": true,
756
+ "autoincrement": false,
757
+ "default": null,
758
+ "generated": null,
759
+ "name": "schedule",
760
+ "entityType": "columns",
761
+ "table": "routine"
762
+ },
763
+ {
764
+ "type": "integer",
765
+ "notNull": true,
766
+ "autoincrement": false,
767
+ "default": "true",
768
+ "generated": null,
769
+ "name": "enabled",
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": "next_run_at",
780
+ "entityType": "columns",
781
+ "table": "routine"
782
+ },
783
+ {
784
+ "type": "integer",
785
+ "notNull": true,
786
+ "autoincrement": false,
787
+ "default": null,
788
+ "generated": null,
789
+ "name": "created_at",
790
+ "entityType": "columns",
791
+ "table": "routine"
792
+ },
793
+ {
794
+ "type": "integer",
795
+ "notNull": false,
796
+ "autoincrement": true,
797
+ "default": null,
798
+ "generated": null,
799
+ "name": "id",
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": "key",
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": "thread_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": "work_id",
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": "speaker",
840
+ "entityType": "columns",
841
+ "table": "thread_delivery"
842
+ },
843
+ {
844
+ "type": "text",
845
+ "notNull": true,
846
+ "autoincrement": false,
847
+ "default": null,
848
+ "generated": null,
849
+ "name": "text",
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": "visible",
860
+ "entityType": "columns",
861
+ "table": "thread_delivery"
862
+ },
863
+ {
864
+ "type": "integer",
865
+ "notNull": true,
866
+ "autoincrement": false,
867
+ "default": "false",
868
+ "generated": null,
869
+ "name": "consumed",
870
+ "entityType": "columns",
871
+ "table": "thread_delivery"
872
+ },
873
+ {
874
+ "type": "integer",
875
+ "notNull": false,
876
+ "autoincrement": true,
877
+ "default": null,
878
+ "generated": null,
879
+ "name": "id",
880
+ "entityType": "columns",
881
+ "table": "thread_message"
882
+ },
883
+ {
884
+ "type": "text",
885
+ "notNull": true,
886
+ "autoincrement": false,
887
+ "default": null,
888
+ "generated": null,
889
+ "name": "thread_id",
890
+ "entityType": "columns",
891
+ "table": "thread_message"
892
+ },
893
+ {
894
+ "type": "integer",
895
+ "notNull": true,
896
+ "autoincrement": false,
897
+ "default": null,
898
+ "generated": null,
899
+ "name": "seq",
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": "bot",
910
+ "entityType": "columns",
911
+ "table": "thread_message"
912
+ },
913
+ {
914
+ "type": "text",
915
+ "notNull": false,
916
+ "autoincrement": false,
917
+ "default": null,
918
+ "generated": null,
919
+ "name": "parent",
920
+ "entityType": "columns",
921
+ "table": "thread_message"
922
+ },
923
+ {
924
+ "type": "integer",
925
+ "notNull": true,
926
+ "autoincrement": false,
927
+ "default": "false",
928
+ "generated": null,
929
+ "name": "hidden",
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": "role",
940
+ "entityType": "columns",
941
+ "table": "thread_message"
942
+ },
943
+ {
944
+ "type": "text",
945
+ "notNull": true,
946
+ "autoincrement": false,
947
+ "default": null,
948
+ "generated": null,
949
+ "name": "content",
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": "compact",
960
+ "entityType": "columns",
961
+ "table": "thread_message"
962
+ },
963
+ {
964
+ "type": "integer",
965
+ "notNull": true,
966
+ "autoincrement": false,
967
+ "default": "false",
968
+ "generated": null,
969
+ "name": "note",
970
+ "entityType": "columns",
971
+ "table": "thread_message"
972
+ },
973
+ {
974
+ "type": "integer",
975
+ "notNull": true,
976
+ "autoincrement": false,
977
+ "default": null,
978
+ "generated": null,
979
+ "name": "created_at",
980
+ "entityType": "columns",
981
+ "table": "thread_message"
982
+ },
983
+ {
984
+ "type": "integer",
985
+ "notNull": false,
986
+ "autoincrement": true,
987
+ "default": null,
988
+ "generated": null,
989
+ "name": "id",
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": "key",
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": "thread_id",
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": "bot",
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": "text",
1030
+ "entityType": "columns",
1031
+ "table": "thread_relay"
1032
+ },
1033
+ {
1034
+ "type": "text",
1035
+ "notNull": true,
1036
+ "autoincrement": false,
1037
+ "default": null,
1038
+ "generated": null,
1039
+ "name": "kind",
1040
+ "entityType": "columns",
1041
+ "table": "thread_relay"
1042
+ },
1043
+ {
1044
+ "type": "text",
1045
+ "notNull": false,
1046
+ "autoincrement": false,
1047
+ "default": null,
1048
+ "generated": null,
1049
+ "name": "message_id",
1050
+ "entityType": "columns",
1051
+ "table": "thread_relay"
1052
+ },
1053
+ {
1054
+ "type": "integer",
1055
+ "notNull": true,
1056
+ "autoincrement": false,
1057
+ "default": "false",
1058
+ "generated": null,
1059
+ "name": "accepted",
1060
+ "entityType": "columns",
1061
+ "table": "thread_relay"
1062
+ },
1063
+ {
1064
+ "type": "text",
1065
+ "notNull": false,
1066
+ "autoincrement": false,
1067
+ "default": null,
1068
+ "generated": null,
1069
+ "name": "id",
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": "bot",
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": "label",
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": "request",
1100
+ "entityType": "columns",
1101
+ "table": "thread"
1102
+ },
1103
+ {
1104
+ "type": "text",
1105
+ "notNull": true,
1106
+ "autoincrement": false,
1107
+ "default": null,
1108
+ "generated": null,
1109
+ "name": "status",
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": "generation",
1120
+ "entityType": "columns",
1121
+ "table": "thread"
1122
+ },
1123
+ {
1124
+ "type": "integer",
1125
+ "notNull": true,
1126
+ "autoincrement": false,
1127
+ "default": "0",
1128
+ "generated": null,
1129
+ "name": "turns",
1130
+ "entityType": "columns",
1131
+ "table": "thread"
1132
+ },
1133
+ {
1134
+ "type": "integer",
1135
+ "notNull": true,
1136
+ "autoincrement": false,
1137
+ "default": "false",
1138
+ "generated": null,
1139
+ "name": "wrapped",
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": "outcome",
1150
+ "entityType": "columns",
1151
+ "table": "thread"
1152
+ },
1153
+ {
1154
+ "type": "text",
1155
+ "notNull": false,
1156
+ "autoincrement": false,
1157
+ "default": null,
1158
+ "generated": null,
1159
+ "name": "pending",
1160
+ "entityType": "columns",
1161
+ "table": "thread"
1162
+ },
1163
+ {
1164
+ "type": "integer",
1165
+ "notNull": true,
1166
+ "autoincrement": false,
1167
+ "default": "false",
1168
+ "generated": null,
1169
+ "name": "seen",
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": "call_id",
1180
+ "entityType": "columns",
1181
+ "table": "thread"
1182
+ },
1183
+ {
1184
+ "type": "text",
1185
+ "notNull": false,
1186
+ "autoincrement": false,
1187
+ "default": null,
1188
+ "generated": null,
1189
+ "name": "routine_id",
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": "input_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": "output_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": "cache_read_tokens",
1220
+ "entityType": "columns",
1221
+ "table": "thread"
1222
+ },
1223
+ {
1224
+ "type": "integer",
1225
+ "notNull": true,
1226
+ "autoincrement": false,
1227
+ "default": "0",
1228
+ "generated": null,
1229
+ "name": "cache_write_tokens",
1230
+ "entityType": "columns",
1231
+ "table": "thread"
1232
+ },
1233
+ {
1234
+ "type": "integer",
1235
+ "notNull": true,
1236
+ "autoincrement": false,
1237
+ "default": "0",
1238
+ "generated": null,
1239
+ "name": "context_tokens",
1240
+ "entityType": "columns",
1241
+ "table": "thread"
1242
+ },
1243
+ {
1244
+ "type": "integer",
1245
+ "notNull": true,
1246
+ "autoincrement": false,
1247
+ "default": "0",
1248
+ "generated": null,
1249
+ "name": "context_budget",
1250
+ "entityType": "columns",
1251
+ "table": "thread"
1252
+ },
1253
+ {
1254
+ "type": "integer",
1255
+ "notNull": true,
1256
+ "autoincrement": false,
1257
+ "default": null,
1258
+ "generated": null,
1259
+ "name": "created_at",
1260
+ "entityType": "columns",
1261
+ "table": "thread"
1262
+ },
1263
+ {
1264
+ "type": "integer",
1265
+ "notNull": true,
1266
+ "autoincrement": false,
1267
+ "default": null,
1268
+ "generated": null,
1269
+ "name": "updated_at",
1270
+ "entityType": "columns",
1271
+ "table": "thread"
1272
+ },
1273
+ {
1274
+ "type": "integer",
1275
+ "notNull": false,
1276
+ "autoincrement": false,
1277
+ "default": null,
1278
+ "generated": null,
1279
+ "name": "ended_at",
1280
+ "entityType": "columns",
1281
+ "table": "thread"
1282
+ },
1283
+ {
1284
+ "type": "text",
1285
+ "notNull": false,
1286
+ "autoincrement": false,
1287
+ "default": null,
1288
+ "generated": null,
1289
+ "name": "id",
1290
+ "entityType": "columns",
1291
+ "table": "thread_work"
1292
+ },
1293
+ {
1294
+ "type": "text",
1295
+ "notNull": true,
1296
+ "autoincrement": false,
1297
+ "default": null,
1298
+ "generated": null,
1299
+ "name": "thread_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": "bot",
1310
+ "entityType": "columns",
1311
+ "table": "thread_work"
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "notNull": true,
1316
+ "autoincrement": false,
1317
+ "default": null,
1318
+ "generated": null,
1319
+ "name": "caller",
1320
+ "entityType": "columns",
1321
+ "table": "thread_work"
1322
+ },
1323
+ {
1324
+ "type": "text",
1325
+ "notNull": false,
1326
+ "autoincrement": false,
1327
+ "default": null,
1328
+ "generated": null,
1329
+ "name": "parent_id",
1330
+ "entityType": "columns",
1331
+ "table": "thread_work"
1332
+ },
1333
+ {
1334
+ "type": "text",
1335
+ "notNull": true,
1336
+ "autoincrement": false,
1337
+ "default": null,
1338
+ "generated": null,
1339
+ "name": "state",
1340
+ "entityType": "columns",
1341
+ "table": "thread_work"
1342
+ },
1343
+ {
1344
+ "type": "integer",
1345
+ "notNull": true,
1346
+ "autoincrement": false,
1347
+ "default": "0",
1348
+ "generated": null,
1349
+ "name": "generation",
1350
+ "entityType": "columns",
1351
+ "table": "thread_work"
1352
+ },
1353
+ {
1354
+ "type": "integer",
1355
+ "notNull": true,
1356
+ "autoincrement": false,
1357
+ "default": "0",
1358
+ "generated": null,
1359
+ "name": "context_budget",
1360
+ "entityType": "columns",
1361
+ "table": "thread_work"
1362
+ },
1363
+ {
1364
+ "type": "text",
1365
+ "notNull": false,
1366
+ "autoincrement": false,
1367
+ "default": null,
1368
+ "generated": null,
1369
+ "name": "result",
1370
+ "entityType": "columns",
1371
+ "table": "thread_work"
1372
+ },
1373
+ {
1374
+ "type": "text",
1375
+ "notNull": true,
1376
+ "autoincrement": false,
1377
+ "default": "'[]'",
1378
+ "generated": null,
1379
+ "name": "options",
1380
+ "entityType": "columns",
1381
+ "table": "thread_work"
1382
+ },
1383
+ {
1384
+ "type": "integer",
1385
+ "notNull": true,
1386
+ "autoincrement": false,
1387
+ "default": null,
1388
+ "generated": null,
1389
+ "name": "created_at",
1390
+ "entityType": "columns",
1391
+ "table": "thread_work"
1392
+ },
1393
+ {
1394
+ "columns": [
1395
+ "botName"
1396
+ ],
1397
+ "tableTo": "bot",
1398
+ "columnsTo": [
1399
+ "name"
1400
+ ],
1401
+ "onUpdate": "NO ACTION",
1402
+ "onDelete": "CASCADE",
1403
+ "nameExplicit": false,
1404
+ "name": "fk_bot_mcp_tool_botName_bot_name_fk",
1405
+ "entityType": "fks",
1406
+ "table": "bot_mcp_tool"
1407
+ },
1408
+ {
1409
+ "columns": [
1410
+ "tool_id"
1411
+ ],
1412
+ "tableTo": "mcp_tool",
1413
+ "columnsTo": [
1414
+ "id"
1415
+ ],
1416
+ "onUpdate": "NO ACTION",
1417
+ "onDelete": "CASCADE",
1418
+ "nameExplicit": false,
1419
+ "name": "fk_bot_mcp_tool_tool_id_mcp_tool_id_fk",
1420
+ "entityType": "fks",
1421
+ "table": "bot_mcp_tool"
1422
+ },
1423
+ {
1424
+ "columns": [
1425
+ "call_id"
1426
+ ],
1427
+ "tableTo": "call",
1428
+ "columnsTo": [
1429
+ "id"
1430
+ ],
1431
+ "onUpdate": "NO ACTION",
1432
+ "onDelete": "CASCADE",
1433
+ "nameExplicit": false,
1434
+ "name": "fk_call_message_call_id_call_id_fk",
1435
+ "entityType": "fks",
1436
+ "table": "call_message"
1437
+ },
1438
+ {
1439
+ "columns": [
1440
+ "call_id"
1441
+ ],
1442
+ "tableTo": "call",
1443
+ "columnsTo": [
1444
+ "id"
1445
+ ],
1446
+ "onUpdate": "NO ACTION",
1447
+ "onDelete": "CASCADE",
1448
+ "nameExplicit": false,
1449
+ "name": "fk_call_thought_call_id_call_id_fk",
1450
+ "entityType": "fks",
1451
+ "table": "call_thought"
1452
+ },
1453
+ {
1454
+ "columns": [
1455
+ "server_name"
1456
+ ],
1457
+ "tableTo": "mcp_server",
1458
+ "columnsTo": [
1459
+ "name"
1460
+ ],
1461
+ "onUpdate": "NO ACTION",
1462
+ "onDelete": "CASCADE",
1463
+ "nameExplicit": false,
1464
+ "name": "fk_mcp_tool_server_name_mcp_server_name_fk",
1465
+ "entityType": "fks",
1466
+ "table": "mcp_tool"
1467
+ },
1468
+ {
1469
+ "columns": [
1470
+ "note_id"
1471
+ ],
1472
+ "tableTo": "memory_note",
1473
+ "columnsTo": [
1474
+ "id"
1475
+ ],
1476
+ "onUpdate": "NO ACTION",
1477
+ "onDelete": "CASCADE",
1478
+ "nameExplicit": false,
1479
+ "name": "fk_memory_fact_note_id_memory_note_id_fk",
1480
+ "entityType": "fks",
1481
+ "table": "memory_fact"
1482
+ },
1483
+ {
1484
+ "columns": [
1485
+ "call_id"
1486
+ ],
1487
+ "tableTo": "call",
1488
+ "columnsTo": [
1489
+ "id"
1490
+ ],
1491
+ "onUpdate": "NO ACTION",
1492
+ "onDelete": "SET NULL",
1493
+ "nameExplicit": false,
1494
+ "name": "fk_memory_fact_call_id_call_id_fk",
1495
+ "entityType": "fks",
1496
+ "table": "memory_fact"
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_delivery_thread_id_thread_id_fk",
1510
+ "entityType": "fks",
1511
+ "table": "thread_delivery"
1512
+ },
1513
+ {
1514
+ "columns": [
1515
+ "work_id"
1516
+ ],
1517
+ "tableTo": "thread_work",
1518
+ "columnsTo": [
1519
+ "id"
1520
+ ],
1521
+ "onUpdate": "NO ACTION",
1522
+ "onDelete": "CASCADE",
1523
+ "nameExplicit": false,
1524
+ "name": "fk_thread_delivery_work_id_thread_work_id_fk",
1525
+ "entityType": "fks",
1526
+ "table": "thread_delivery"
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_message_thread_id_thread_id_fk",
1540
+ "entityType": "fks",
1541
+ "table": "thread_message"
1542
+ },
1543
+ {
1544
+ "columns": [
1545
+ "thread_id"
1546
+ ],
1547
+ "tableTo": "thread",
1548
+ "columnsTo": [
1549
+ "id"
1550
+ ],
1551
+ "onUpdate": "NO ACTION",
1552
+ "onDelete": "CASCADE",
1553
+ "nameExplicit": false,
1554
+ "name": "fk_thread_relay_thread_id_thread_id_fk",
1555
+ "entityType": "fks",
1556
+ "table": "thread_relay"
1557
+ },
1558
+ {
1559
+ "columns": [
1560
+ "thread_id"
1561
+ ],
1562
+ "tableTo": "thread",
1563
+ "columnsTo": [
1564
+ "id"
1565
+ ],
1566
+ "onUpdate": "NO ACTION",
1567
+ "onDelete": "CASCADE",
1568
+ "nameExplicit": false,
1569
+ "name": "fk_thread_work_thread_id_thread_id_fk",
1570
+ "entityType": "fks",
1571
+ "table": "thread_work"
1572
+ },
1573
+ {
1574
+ "columns": [
1575
+ "botName",
1576
+ "tool_id"
1577
+ ],
1578
+ "nameExplicit": false,
1579
+ "name": "bot_mcp_tool_pk",
1580
+ "entityType": "pks",
1581
+ "table": "bot_mcp_tool"
1582
+ },
1583
+ {
1584
+ "columns": [
1585
+ "call_id",
1586
+ "id"
1587
+ ],
1588
+ "nameExplicit": false,
1589
+ "name": "call_message_pk",
1590
+ "entityType": "pks",
1591
+ "table": "call_message"
1592
+ },
1593
+ {
1594
+ "columns": [
1595
+ "call_id",
1596
+ "id"
1597
+ ],
1598
+ "nameExplicit": false,
1599
+ "name": "call_thought_pk",
1600
+ "entityType": "pks",
1601
+ "table": "call_thought"
1602
+ },
1603
+ {
1604
+ "columns": [
1605
+ "name"
1606
+ ],
1607
+ "nameExplicit": false,
1608
+ "name": "bot_pk",
1609
+ "table": "bot",
1610
+ "entityType": "pks"
1611
+ },
1612
+ {
1613
+ "columns": [
1614
+ "id"
1615
+ ],
1616
+ "nameExplicit": false,
1617
+ "name": "call_pk",
1618
+ "table": "call",
1619
+ "entityType": "pks"
1620
+ },
1621
+ {
1622
+ "columns": [
1623
+ "key"
1624
+ ],
1625
+ "nameExplicit": false,
1626
+ "name": "config_pk",
1627
+ "table": "config",
1628
+ "entityType": "pks"
1629
+ },
1630
+ {
1631
+ "columns": [
1632
+ "name"
1633
+ ],
1634
+ "nameExplicit": false,
1635
+ "name": "mcp_server_pk",
1636
+ "table": "mcp_server",
1637
+ "entityType": "pks"
1638
+ },
1639
+ {
1640
+ "columns": [
1641
+ "id"
1642
+ ],
1643
+ "nameExplicit": false,
1644
+ "name": "mcp_tool_pk",
1645
+ "table": "mcp_tool",
1646
+ "entityType": "pks"
1647
+ },
1648
+ {
1649
+ "columns": [
1650
+ "id"
1651
+ ],
1652
+ "nameExplicit": false,
1653
+ "name": "memory_fact_pk",
1654
+ "table": "memory_fact",
1655
+ "entityType": "pks"
1656
+ },
1657
+ {
1658
+ "columns": [
1659
+ "id"
1660
+ ],
1661
+ "nameExplicit": false,
1662
+ "name": "memory_note_pk",
1663
+ "table": "memory_note",
1664
+ "entityType": "pks"
1665
+ },
1666
+ {
1667
+ "columns": [
1668
+ "id"
1669
+ ],
1670
+ "nameExplicit": false,
1671
+ "name": "routine_pk",
1672
+ "table": "routine",
1673
+ "entityType": "pks"
1674
+ },
1675
+ {
1676
+ "columns": [
1677
+ "id"
1678
+ ],
1679
+ "nameExplicit": false,
1680
+ "name": "thread_delivery_pk",
1681
+ "table": "thread_delivery",
1682
+ "entityType": "pks"
1683
+ },
1684
+ {
1685
+ "columns": [
1686
+ "id"
1687
+ ],
1688
+ "nameExplicit": false,
1689
+ "name": "thread_message_pk",
1690
+ "table": "thread_message",
1691
+ "entityType": "pks"
1692
+ },
1693
+ {
1694
+ "columns": [
1695
+ "id"
1696
+ ],
1697
+ "nameExplicit": false,
1698
+ "name": "thread_relay_pk",
1699
+ "table": "thread_relay",
1700
+ "entityType": "pks"
1701
+ },
1702
+ {
1703
+ "columns": [
1704
+ "id"
1705
+ ],
1706
+ "nameExplicit": false,
1707
+ "name": "thread_pk",
1708
+ "table": "thread",
1709
+ "entityType": "pks"
1710
+ },
1711
+ {
1712
+ "columns": [
1713
+ "id"
1714
+ ],
1715
+ "nameExplicit": false,
1716
+ "name": "thread_work_pk",
1717
+ "table": "thread_work",
1718
+ "entityType": "pks"
1719
+ },
1720
+ {
1721
+ "columns": [
1722
+ {
1723
+ "value": "call_id",
1724
+ "isExpression": false
1725
+ },
1726
+ {
1727
+ "value": "seq",
1728
+ "isExpression": false
1729
+ }
1730
+ ],
1731
+ "isUnique": false,
1732
+ "where": null,
1733
+ "origin": "manual",
1734
+ "name": "idx_call_message_call",
1735
+ "entityType": "indexes",
1736
+ "table": "call_message"
1737
+ },
1738
+ {
1739
+ "columns": [
1740
+ {
1741
+ "value": "note_id",
1742
+ "isExpression": false
1743
+ },
1744
+ {
1745
+ "value": "is_latest",
1746
+ "isExpression": false
1747
+ }
1748
+ ],
1749
+ "isUnique": false,
1750
+ "where": null,
1751
+ "origin": "manual",
1752
+ "name": "idx_memory_fact_note",
1753
+ "entityType": "indexes",
1754
+ "table": "memory_fact"
1755
+ },
1756
+ {
1757
+ "columns": [
1758
+ {
1759
+ "value": "call_id",
1760
+ "isExpression": false
1761
+ }
1762
+ ],
1763
+ "isUnique": false,
1764
+ "where": null,
1765
+ "origin": "manual",
1766
+ "name": "idx_memory_fact_call",
1767
+ "entityType": "indexes",
1768
+ "table": "memory_fact"
1769
+ },
1770
+ {
1771
+ "columns": [
1772
+ {
1773
+ "value": "enabled",
1774
+ "isExpression": false
1775
+ },
1776
+ {
1777
+ "value": "next_run_at",
1778
+ "isExpression": false
1779
+ }
1780
+ ],
1781
+ "isUnique": false,
1782
+ "where": null,
1783
+ "origin": "manual",
1784
+ "name": "idx_routine_due",
1785
+ "entityType": "indexes",
1786
+ "table": "routine"
1787
+ },
1788
+ {
1789
+ "columns": [
1790
+ {
1791
+ "value": "work_id",
1792
+ "isExpression": false
1793
+ },
1794
+ {
1795
+ "value": "consumed",
1796
+ "isExpression": false
1797
+ },
1798
+ {
1799
+ "value": "id",
1800
+ "isExpression": false
1801
+ }
1802
+ ],
1803
+ "isUnique": false,
1804
+ "where": null,
1805
+ "origin": "manual",
1806
+ "name": "idx_thread_delivery_inbox",
1807
+ "entityType": "indexes",
1808
+ "table": "thread_delivery"
1809
+ },
1810
+ {
1811
+ "columns": [
1812
+ {
1813
+ "value": "routine_id",
1814
+ "isExpression": false
1815
+ },
1816
+ {
1817
+ "value": "created_at",
1818
+ "isExpression": false
1819
+ }
1820
+ ],
1821
+ "isUnique": false,
1822
+ "where": null,
1823
+ "origin": "manual",
1824
+ "name": "idx_thread_routine",
1825
+ "entityType": "indexes",
1826
+ "table": "thread"
1827
+ },
1828
+ {
1829
+ "columns": [
1830
+ {
1831
+ "value": "status",
1832
+ "isExpression": false
1833
+ },
1834
+ {
1835
+ "value": "updated_at",
1836
+ "isExpression": false
1837
+ }
1838
+ ],
1839
+ "isUnique": false,
1840
+ "where": null,
1841
+ "origin": "manual",
1842
+ "name": "idx_thread_status_updated",
1843
+ "entityType": "indexes",
1844
+ "table": "thread"
1845
+ },
1846
+ {
1847
+ "columns": [
1848
+ {
1849
+ "value": "thread_id",
1850
+ "isExpression": false
1851
+ },
1852
+ {
1853
+ "value": "state",
1854
+ "isExpression": false
1855
+ },
1856
+ {
1857
+ "value": "created_at",
1858
+ "isExpression": false
1859
+ }
1860
+ ],
1861
+ "isUnique": false,
1862
+ "where": null,
1863
+ "origin": "manual",
1864
+ "name": "idx_thread_work_queue",
1865
+ "entityType": "indexes",
1866
+ "table": "thread_work"
1867
+ },
1868
+ {
1869
+ "columns": [
1870
+ {
1871
+ "value": "parent_id",
1872
+ "isExpression": false
1873
+ }
1874
+ ],
1875
+ "isUnique": false,
1876
+ "where": null,
1877
+ "origin": "manual",
1878
+ "name": "idx_thread_work_parent",
1879
+ "entityType": "indexes",
1880
+ "table": "thread_work"
1881
+ },
1882
+ {
1883
+ "columns": [
1884
+ {
1885
+ "value": "thread_id",
1886
+ "isExpression": false
1887
+ },
1888
+ {
1889
+ "value": "bot",
1890
+ "isExpression": false
1891
+ }
1892
+ ],
1893
+ "isUnique": true,
1894
+ "where": "\"thread_work\".\"state\" = 'running'",
1895
+ "origin": "manual",
1896
+ "name": "uq_thread_work_running_bot",
1897
+ "entityType": "indexes",
1898
+ "table": "thread_work"
1899
+ },
1900
+ {
1901
+ "columns": [
1902
+ "server_name",
1903
+ "name"
1904
+ ],
1905
+ "nameExplicit": true,
1906
+ "name": "uq_mcp_tool_server_name",
1907
+ "entityType": "uniques",
1908
+ "table": "mcp_tool"
1909
+ },
1910
+ {
1911
+ "columns": [
1912
+ "thread_id",
1913
+ "seq"
1914
+ ],
1915
+ "nameExplicit": true,
1916
+ "name": "uq_thread_message_seq",
1917
+ "entityType": "uniques",
1918
+ "table": "thread_message"
1919
+ },
1920
+ {
1921
+ "columns": [
1922
+ "path"
1923
+ ],
1924
+ "nameExplicit": false,
1925
+ "name": "memory_note_path_unique",
1926
+ "entityType": "uniques",
1927
+ "table": "memory_note"
1928
+ },
1929
+ {
1930
+ "columns": [
1931
+ "key"
1932
+ ],
1933
+ "nameExplicit": false,
1934
+ "name": "thread_delivery_key_unique",
1935
+ "entityType": "uniques",
1936
+ "table": "thread_delivery"
1937
+ },
1938
+ {
1939
+ "columns": [
1940
+ "key"
1941
+ ],
1942
+ "nameExplicit": false,
1943
+ "name": "thread_relay_key_unique",
1944
+ "entityType": "uniques",
1945
+ "table": "thread_relay"
1946
+ }
1947
+ ],
1948
+ "renames": []
1949
+ }