@wirecat/cli-core 0.262.0 → 0.264.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 (405) hide show
  1. package/README.md +226 -487
  2. package/dist/background/schedules.d.ts +2 -0
  3. package/dist/background/schedules.d.ts.map +1 -1
  4. package/dist/background/schedules.js +26 -8
  5. package/dist/background/schedules.js.map +1 -1
  6. package/dist/cli/app.d.ts +3 -0
  7. package/dist/cli/app.d.ts.map +1 -1
  8. package/dist/cli/app.js.map +1 -1
  9. package/dist/cli/command-contract.d.ts.map +1 -1
  10. package/dist/cli/command-contract.js +1 -1
  11. package/dist/cli/command-contract.js.map +1 -1
  12. package/dist/cli/envelope.d.ts +48 -0
  13. package/dist/cli/envelope.d.ts.map +1 -0
  14. package/dist/cli/envelope.js +83 -0
  15. package/dist/cli/envelope.js.map +1 -0
  16. package/dist/cli/execution.d.ts.map +1 -1
  17. package/dist/cli/execution.js +2 -2
  18. package/dist/cli/execution.js.map +1 -1
  19. package/dist/cli/index.d.ts +3 -0
  20. package/dist/cli/index.d.ts.map +1 -1
  21. package/dist/cli/index.js +3 -0
  22. package/dist/cli/index.js.map +1 -1
  23. package/dist/cli/json-fields.d.ts +18 -0
  24. package/dist/cli/json-fields.d.ts.map +1 -0
  25. package/dist/cli/json-fields.js +73 -0
  26. package/dist/cli/json-fields.js.map +1 -0
  27. package/dist/cli/list-query.d.ts +30 -0
  28. package/dist/cli/list-query.d.ts.map +1 -0
  29. package/dist/cli/list-query.js +70 -0
  30. package/dist/cli/list-query.js.map +1 -0
  31. package/dist/cli/messenger/backfill-command.d.ts.map +1 -1
  32. package/dist/cli/messenger/backfill-command.js +10 -6
  33. package/dist/cli/messenger/backfill-command.js.map +1 -1
  34. package/dist/cli/messenger/backfill-jobs.d.ts +1 -1
  35. package/dist/cli/messenger/backfill-jobs.d.ts.map +1 -1
  36. package/dist/cli/messenger/backfill-jobs.js +1 -1
  37. package/dist/cli/messenger/backfill-jobs.js.map +1 -1
  38. package/dist/cli/messenger/context.d.ts.map +1 -1
  39. package/dist/cli/messenger/context.js +5 -2
  40. package/dist/cli/messenger/context.js.map +1 -1
  41. package/dist/cli/messenger/conversations-command.d.ts.map +1 -1
  42. package/dist/cli/messenger/conversations-command.js +27 -30
  43. package/dist/cli/messenger/conversations-command.js.map +1 -1
  44. package/dist/cli/messenger/doctor-command.js +1 -1
  45. package/dist/cli/messenger/doctor-command.js.map +1 -1
  46. package/dist/cli/messenger/flooded.js +2 -2
  47. package/dist/cli/messenger/flooded.js.map +1 -1
  48. package/dist/cli/messenger/gaps-command.js +3 -3
  49. package/dist/cli/messenger/gaps-command.js.map +1 -1
  50. package/dist/cli/messenger/images-command.d.ts +8 -0
  51. package/dist/cli/messenger/images-command.d.ts.map +1 -0
  52. package/dist/cli/messenger/images-command.js +36 -0
  53. package/dist/cli/messenger/images-command.js.map +1 -0
  54. package/dist/cli/messenger/mentions-command.d.ts +5 -0
  55. package/dist/cli/messenger/mentions-command.d.ts.map +1 -0
  56. package/dist/cli/messenger/mentions-command.js +51 -0
  57. package/dist/cli/messenger/mentions-command.js.map +1 -0
  58. package/dist/cli/messenger/messages-search-command.d.ts.map +1 -1
  59. package/dist/cli/messenger/messages-search-command.js +6 -0
  60. package/dist/cli/messenger/messages-search-command.js.map +1 -1
  61. package/dist/cli/messenger/models-command.d.ts.map +1 -1
  62. package/dist/cli/messenger/models-command.js +57 -0
  63. package/dist/cli/messenger/models-command.js.map +1 -1
  64. package/dist/cli/messenger/observed.js +1 -1
  65. package/dist/cli/messenger/observed.js.map +1 -1
  66. package/dist/cli/messenger/serve-command.d.ts.map +1 -1
  67. package/dist/cli/messenger/serve-command.js +21 -33
  68. package/dist/cli/messenger/serve-command.js.map +1 -1
  69. package/dist/cli/messenger/serve-members.d.ts +2 -1
  70. package/dist/cli/messenger/serve-members.d.ts.map +1 -1
  71. package/dist/cli/messenger/serve-members.js +11 -2
  72. package/dist/cli/messenger/serve-members.js.map +1 -1
  73. package/dist/cli/messenger/serve-notice.d.ts +21 -0
  74. package/dist/cli/messenger/serve-notice.d.ts.map +1 -0
  75. package/dist/cli/messenger/serve-notice.js +40 -0
  76. package/dist/cli/messenger/serve-notice.js.map +1 -0
  77. package/dist/cli/messenger/serve-stems.d.ts +2 -1
  78. package/dist/cli/messenger/serve-stems.d.ts.map +1 -1
  79. package/dist/cli/messenger/serve-stems.js +2 -1
  80. package/dist/cli/messenger/serve-stems.js.map +1 -1
  81. package/dist/cli/messenger/tags-command.d.ts.map +1 -1
  82. package/dist/cli/messenger/tags-command.js +11 -30
  83. package/dist/cli/messenger/tags-command.js.map +1 -1
  84. package/dist/cli/messenger/tasks-command.d.ts.map +1 -1
  85. package/dist/cli/messenger/tasks-command.js +13 -22
  86. package/dist/cli/messenger/tasks-command.js.map +1 -1
  87. package/dist/cli/program.d.ts.map +1 -1
  88. package/dist/cli/program.js +12 -9
  89. package/dist/cli/program.js.map +1 -1
  90. package/dist/cli/reasons.d.ts +9 -1
  91. package/dist/cli/reasons.d.ts.map +1 -1
  92. package/dist/cli/reasons.js +23 -0
  93. package/dist/cli/reasons.js.map +1 -1
  94. package/dist/cli/result-fields.d.ts +2 -1
  95. package/dist/cli/result-fields.d.ts.map +1 -1
  96. package/dist/cli/result-fields.js +20 -3
  97. package/dist/cli/result-fields.js.map +1 -1
  98. package/dist/cli/runs/log-attributes.d.ts +5 -0
  99. package/dist/cli/runs/log-attributes.d.ts.map +1 -0
  100. package/dist/cli/runs/log-attributes.js +67 -0
  101. package/dist/cli/runs/log-attributes.js.map +1 -0
  102. package/dist/cli/runs/record-log.d.ts +8 -0
  103. package/dist/cli/runs/record-log.d.ts.map +1 -0
  104. package/dist/cli/runs/record-log.js +17 -0
  105. package/dist/cli/runs/record-log.js.map +1 -0
  106. package/dist/cli/runs/recording.d.ts +4 -1
  107. package/dist/cli/runs/recording.d.ts.map +1 -1
  108. package/dist/cli/runs/recording.js +12 -4
  109. package/dist/cli/runs/recording.js.map +1 -1
  110. package/dist/cli/runs/run.d.ts +4 -0
  111. package/dist/cli/runs/run.d.ts.map +1 -1
  112. package/dist/cli/runs/run.js +4 -0
  113. package/dist/cli/runs/run.js.map +1 -1
  114. package/dist/cli/runs/scope.d.ts +19 -0
  115. package/dist/cli/runs/scope.d.ts.map +1 -1
  116. package/dist/cli/runs/scope.js +25 -1
  117. package/dist/cli/runs/scope.js.map +1 -1
  118. package/dist/cli/settings.d.ts +4 -2
  119. package/dist/cli/settings.d.ts.map +1 -1
  120. package/dist/cli/settings.js +4 -1
  121. package/dist/cli/settings.js.map +1 -1
  122. package/dist/cli/steps.d.ts +24 -0
  123. package/dist/cli/steps.d.ts.map +1 -0
  124. package/dist/cli/steps.js +65 -0
  125. package/dist/cli/steps.js.map +1 -0
  126. package/dist/domain/google-documents.d.ts +4 -0
  127. package/dist/domain/google-documents.d.ts.map +1 -1
  128. package/dist/domain/google-documents.js +7 -6
  129. package/dist/domain/google-documents.js.map +1 -1
  130. package/dist/domain/mentions.d.ts +22 -0
  131. package/dist/domain/mentions.d.ts.map +1 -0
  132. package/dist/domain/mentions.js +139 -0
  133. package/dist/domain/mentions.js.map +1 -0
  134. package/dist/embeddings/embed.d.ts.map +1 -1
  135. package/dist/embeddings/embed.js +1 -4
  136. package/dist/embeddings/embed.js.map +1 -1
  137. package/dist/embeddings/models.d.ts +1 -1
  138. package/dist/entities/attachment.d.ts +1 -1
  139. package/dist/entities/attachment.js +1 -1
  140. package/dist/entities/attachment.js.map +1 -1
  141. package/dist/entities/chat.d.ts +7 -7
  142. package/dist/entities/chat.js +7 -7
  143. package/dist/entities/chat.js.map +1 -1
  144. package/dist/entities/contact.d.ts +2 -2
  145. package/dist/entities/contact.js +2 -2
  146. package/dist/entities/contact.js.map +1 -1
  147. package/dist/entities/conversation.d.ts +16 -0
  148. package/dist/entities/conversation.d.ts.map +1 -0
  149. package/dist/entities/conversation.js +17 -0
  150. package/dist/entities/conversation.js.map +1 -0
  151. package/dist/entities/document.d.ts +2 -2
  152. package/dist/entities/document.js +2 -2
  153. package/dist/entities/document.js.map +1 -1
  154. package/dist/entities/fact.d.ts +5 -4
  155. package/dist/entities/fact.d.ts.map +1 -1
  156. package/dist/entities/fact.js +5 -4
  157. package/dist/entities/fact.js.map +1 -1
  158. package/dist/entities/index.d.ts +193 -172
  159. package/dist/entities/index.d.ts.map +1 -1
  160. package/dist/entities/index.js +7 -3
  161. package/dist/entities/index.js.map +1 -1
  162. package/dist/entities/meeting.d.ts +6 -6
  163. package/dist/entities/meeting.js +6 -6
  164. package/dist/entities/meeting.js.map +1 -1
  165. package/dist/entities/memory.d.ts +3 -3
  166. package/dist/entities/memory.js +3 -3
  167. package/dist/entities/memory.js.map +1 -1
  168. package/dist/entities/message.d.ts +24 -23
  169. package/dist/entities/message.d.ts.map +1 -1
  170. package/dist/entities/message.js +19 -18
  171. package/dist/entities/message.js.map +1 -1
  172. package/dist/entities/note.d.ts +4 -4
  173. package/dist/entities/note.js +4 -4
  174. package/dist/entities/note.js.map +1 -1
  175. package/dist/entities/tagging.d.ts +14 -0
  176. package/dist/entities/tagging.d.ts.map +1 -0
  177. package/dist/entities/tagging.js +16 -0
  178. package/dist/entities/tagging.js.map +1 -0
  179. package/dist/entities/task.d.ts +5 -5
  180. package/dist/entities/task.js +5 -5
  181. package/dist/entities/task.js.map +1 -1
  182. package/dist/images/context/index.d.ts +12 -0
  183. package/dist/images/context/index.d.ts.map +1 -0
  184. package/dist/images/context/index.js +31 -0
  185. package/dist/images/context/index.js.map +1 -0
  186. package/dist/images/picture/embedder.d.ts +15 -0
  187. package/dist/images/picture/embedder.d.ts.map +1 -0
  188. package/dist/images/picture/embedder.js +48 -0
  189. package/dist/images/picture/embedder.js.map +1 -0
  190. package/dist/images/picture/models.d.ts +27 -0
  191. package/dist/images/picture/models.d.ts.map +1 -0
  192. package/dist/images/picture/models.js +55 -0
  193. package/dist/images/picture/models.js.map +1 -0
  194. package/dist/images/picture/preprocess.d.ts +28 -0
  195. package/dist/images/picture/preprocess.d.ts.map +1 -0
  196. package/dist/images/picture/preprocess.js +48 -0
  197. package/dist/images/picture/preprocess.js.map +1 -0
  198. package/dist/images/registry.d.ts +7 -0
  199. package/dist/images/registry.d.ts.map +1 -0
  200. package/dist/images/registry.js +22 -0
  201. package/dist/images/registry.js.map +1 -0
  202. package/dist/images/types.d.ts +39 -0
  203. package/dist/images/types.d.ts.map +1 -0
  204. package/dist/images/types.js +2 -0
  205. package/dist/images/types.js.map +1 -0
  206. package/dist/mcp/agent-log.d.ts +7 -0
  207. package/dist/mcp/agent-log.d.ts.map +1 -1
  208. package/dist/mcp/agent-log.js +32 -0
  209. package/dist/mcp/agent-log.js.map +1 -1
  210. package/dist/mcp/prompts.js +3 -3
  211. package/dist/mcp/prompts.js.map +1 -1
  212. package/dist/mcp/surface.d.ts +4 -1
  213. package/dist/mcp/surface.d.ts.map +1 -1
  214. package/dist/mcp/surface.js +21 -5
  215. package/dist/mcp/surface.js.map +1 -1
  216. package/dist/mcp/tool.d.ts +16 -4
  217. package/dist/mcp/tool.d.ts.map +1 -1
  218. package/dist/mcp/tool.js +47 -18
  219. package/dist/mcp/tool.js.map +1 -1
  220. package/dist/mcp/tools/conversations.d.ts.map +1 -1
  221. package/dist/mcp/tools/conversations.js +12 -15
  222. package/dist/mcp/tools/conversations.js.map +1 -1
  223. package/dist/mcp/tools/search.d.ts +2 -0
  224. package/dist/mcp/tools/search.d.ts.map +1 -1
  225. package/dist/mcp/tools/tags.d.ts.map +1 -1
  226. package/dist/mcp/tools/tags.js +16 -11
  227. package/dist/mcp/tools/tags.js.map +1 -1
  228. package/dist/mcp/tools/tasks.d.ts.map +1 -1
  229. package/dist/mcp/tools/tasks.js +15 -20
  230. package/dist/mcp/tools/tasks.js.map +1 -1
  231. package/dist/meetings/cli/index.d.ts +1 -0
  232. package/dist/meetings/cli/index.d.ts.map +1 -1
  233. package/dist/meetings/cli/index.js +1 -0
  234. package/dist/meetings/cli/index.js.map +1 -1
  235. package/dist/meetings/cli/passage.d.ts +9 -0
  236. package/dist/meetings/cli/passage.d.ts.map +1 -0
  237. package/dist/meetings/cli/passage.js +50 -0
  238. package/dist/meetings/cli/passage.js.map +1 -0
  239. package/dist/meetings/index.d.ts +1 -0
  240. package/dist/meetings/index.d.ts.map +1 -1
  241. package/dist/meetings/index.js +1 -0
  242. package/dist/meetings/index.js.map +1 -1
  243. package/dist/meetings/mcp/index.d.ts +5 -1
  244. package/dist/meetings/mcp/index.d.ts.map +1 -1
  245. package/dist/meetings/mcp/index.js +5 -2
  246. package/dist/meetings/mcp/index.js.map +1 -1
  247. package/dist/meetings/mcp/passage.d.ts +86 -0
  248. package/dist/meetings/mcp/passage.d.ts.map +1 -0
  249. package/dist/meetings/mcp/passage.js +51 -0
  250. package/dist/meetings/mcp/passage.js.map +1 -0
  251. package/dist/meetings/mcp/search.d.ts +2 -1
  252. package/dist/meetings/mcp/search.d.ts.map +1 -1
  253. package/dist/meetings/mcp/search.js +3 -3
  254. package/dist/meetings/mcp/search.js.map +1 -1
  255. package/dist/meetings/passage.d.ts +68 -0
  256. package/dist/meetings/passage.d.ts.map +1 -0
  257. package/dist/meetings/passage.js +25 -0
  258. package/dist/meetings/passage.js.map +1 -0
  259. package/dist/meetings/store.d.ts +2 -0
  260. package/dist/meetings/store.d.ts.map +1 -1
  261. package/dist/output.d.ts +1 -2
  262. package/dist/output.d.ts.map +1 -1
  263. package/dist/output.js +4 -12
  264. package/dist/output.js.map +1 -1
  265. package/dist/sends/guard.js +3 -1
  266. package/dist/sends/guard.js.map +1 -1
  267. package/dist/sends/journal.d.ts.map +1 -1
  268. package/dist/sends/journal.js +11 -8
  269. package/dist/sends/journal.js.map +1 -1
  270. package/dist/sends/permissions.d.ts +1 -1
  271. package/dist/sends/permissions.d.ts.map +1 -1
  272. package/dist/sends/permissions.js +6 -1
  273. package/dist/sends/permissions.js.map +1 -1
  274. package/dist/services/backfill-jobs.d.ts +11 -1
  275. package/dist/services/backfill-jobs.d.ts.map +1 -1
  276. package/dist/services/backfill-jobs.js +36 -4
  277. package/dist/services/backfill-jobs.js.map +1 -1
  278. package/dist/services/conversations.d.ts +18 -4
  279. package/dist/services/conversations.d.ts.map +1 -1
  280. package/dist/services/conversations.js +29 -2
  281. package/dist/services/conversations.js.map +1 -1
  282. package/dist/services/deps.d.ts +5 -0
  283. package/dist/services/deps.d.ts.map +1 -1
  284. package/dist/services/deps.js.map +1 -1
  285. package/dist/services/embeddings.d.ts +2 -0
  286. package/dist/services/embeddings.d.ts.map +1 -1
  287. package/dist/services/embeddings.js +79 -2
  288. package/dist/services/embeddings.js.map +1 -1
  289. package/dist/services/index.d.ts +7 -1
  290. package/dist/services/index.d.ts.map +1 -1
  291. package/dist/services/index.js +8 -1
  292. package/dist/services/index.js.map +1 -1
  293. package/dist/services/meeting-evidence.d.ts +2 -0
  294. package/dist/services/meeting-evidence.d.ts.map +1 -1
  295. package/dist/services/meeting-evidence.js +1 -1
  296. package/dist/services/meeting-evidence.js.map +1 -1
  297. package/dist/services/meeting-hit-context.d.ts +6 -0
  298. package/dist/services/meeting-hit-context.d.ts.map +1 -0
  299. package/dist/services/meeting-hit-context.js +143 -0
  300. package/dist/services/meeting-hit-context.js.map +1 -0
  301. package/dist/services/meeting-passage-format.d.ts +9 -0
  302. package/dist/services/meeting-passage-format.d.ts.map +1 -0
  303. package/dist/services/meeting-passage-format.js +99 -0
  304. package/dist/services/meeting-passage-format.js.map +1 -0
  305. package/dist/services/mentions.d.ts +30 -0
  306. package/dist/services/mentions.d.ts.map +1 -0
  307. package/dist/services/mentions.js +38 -0
  308. package/dist/services/mentions.js.map +1 -0
  309. package/dist/services/messages.d.ts +8 -0
  310. package/dist/services/messages.d.ts.map +1 -1
  311. package/dist/services/messages.js.map +1 -1
  312. package/dist/services/pictures.d.ts +56 -0
  313. package/dist/services/pictures.d.ts.map +1 -0
  314. package/dist/services/pictures.js +226 -0
  315. package/dist/services/pictures.js.map +1 -0
  316. package/dist/services/tags.d.ts +17 -6
  317. package/dist/services/tags.d.ts.map +1 -1
  318. package/dist/services/tags.js +42 -5
  319. package/dist/services/tags.js.map +1 -1
  320. package/dist/services/tasks.d.ts +28 -9
  321. package/dist/services/tasks.d.ts.map +1 -1
  322. package/dist/services/tasks.js +69 -11
  323. package/dist/services/tasks.js.map +1 -1
  324. package/dist/speech/install.d.ts +1 -1
  325. package/dist/speech/install.d.ts.map +1 -1
  326. package/dist/speech/install.js.map +1 -1
  327. package/dist/sqlite-runtime.d.ts +1 -1
  328. package/dist/sqlite-runtime.js +2 -2
  329. package/dist/sqlite-runtime.js.map +1 -1
  330. package/dist/store/account-store.d.ts +1 -1
  331. package/dist/store/account-store.d.ts.map +1 -1
  332. package/dist/store/account-store.js +8 -0
  333. package/dist/store/account-store.js.map +1 -1
  334. package/dist/store/drivers/bun-sqlite.js +1 -1
  335. package/dist/store/drivers/bun-sqlite.js.map +1 -1
  336. package/dist/store/index.d.ts +4 -2
  337. package/dist/store/index.d.ts.map +1 -1
  338. package/dist/store/index.js +1 -0
  339. package/dist/store/index.js.map +1 -1
  340. package/dist/store/sqlite/catalog.d.ts +54 -0
  341. package/dist/store/sqlite/catalog.d.ts.map +1 -0
  342. package/dist/store/sqlite/catalog.js +269 -0
  343. package/dist/store/sqlite/catalog.js.map +1 -0
  344. package/dist/store/sqlite/conversations.d.ts +36 -4
  345. package/dist/store/sqlite/conversations.d.ts.map +1 -1
  346. package/dist/store/sqlite/conversations.js +20 -3
  347. package/dist/store/sqlite/conversations.js.map +1 -1
  348. package/dist/store/sqlite/emails.d.ts +10 -0
  349. package/dist/store/sqlite/emails.d.ts.map +1 -1
  350. package/dist/store/sqlite/emails.js +14 -0
  351. package/dist/store/sqlite/emails.js.map +1 -1
  352. package/dist/store/sqlite/entity-types.d.ts +1 -0
  353. package/dist/store/sqlite/entity-types.d.ts.map +1 -1
  354. package/dist/store/sqlite/entity-types.js +1 -0
  355. package/dist/store/sqlite/entity-types.js.map +1 -1
  356. package/dist/store/sqlite/image-chunks.d.ts +84 -0
  357. package/dist/store/sqlite/image-chunks.d.ts.map +1 -0
  358. package/dist/store/sqlite/image-chunks.js +126 -0
  359. package/dist/store/sqlite/image-chunks.js.map +1 -0
  360. package/dist/store/sqlite/manifest.d.ts.map +1 -1
  361. package/dist/store/sqlite/manifest.js +2 -0
  362. package/dist/store/sqlite/manifest.js.map +1 -1
  363. package/dist/store/sqlite/meeting-hit-search.d.ts.map +1 -1
  364. package/dist/store/sqlite/meeting-hit-search.js +10 -3
  365. package/dist/store/sqlite/meeting-hit-search.js.map +1 -1
  366. package/dist/store/sqlite/meeting-reads.d.ts +16 -1
  367. package/dist/store/sqlite/meeting-reads.d.ts.map +1 -1
  368. package/dist/store/sqlite/meeting-reads.js +53 -1
  369. package/dist/store/sqlite/meeting-reads.js.map +1 -1
  370. package/dist/store/sqlite/meetings.d.ts +2 -2
  371. package/dist/store/sqlite/meetings.d.ts.map +1 -1
  372. package/dist/store/sqlite/meetings.js +1 -1
  373. package/dist/store/sqlite/meetings.js.map +1 -1
  374. package/dist/store/sqlite/mentions.d.ts +61 -0
  375. package/dist/store/sqlite/mentions.d.ts.map +1 -0
  376. package/dist/store/sqlite/mentions.js +186 -0
  377. package/dist/store/sqlite/mentions.js.map +1 -0
  378. package/dist/store/sqlite/migrations.generated.d.ts.map +1 -1
  379. package/dist/store/sqlite/migrations.generated.js +19 -0
  380. package/dist/store/sqlite/migrations.generated.js.map +1 -1
  381. package/dist/store/sqlite/note-search.d.ts.map +1 -1
  382. package/dist/store/sqlite/note-search.js +2 -1
  383. package/dist/store/sqlite/note-search.js.map +1 -1
  384. package/dist/store/sqlite/notes.d.ts.map +1 -1
  385. package/dist/store/sqlite/notes.js +7 -2
  386. package/dist/store/sqlite/notes.js.map +1 -1
  387. package/dist/store/sqlite/schema.d.ts +339 -0
  388. package/dist/store/sqlite/schema.d.ts.map +1 -1
  389. package/dist/store/sqlite/schema.js +35 -0
  390. package/dist/store/sqlite/schema.js.map +1 -1
  391. package/dist/store/sqlite/tags.d.ts +7 -0
  392. package/dist/store/sqlite/tags.d.ts.map +1 -1
  393. package/dist/store/sqlite/tags.js +16 -9
  394. package/dist/store/sqlite/tags.js.map +1 -1
  395. package/dist/store/sqlite/tasks.d.ts +11 -1
  396. package/dist/store/sqlite/tasks.d.ts.map +1 -1
  397. package/dist/store/sqlite/tasks.js +11 -0
  398. package/dist/store/sqlite/tasks.js.map +1 -1
  399. package/dist/store/store.d.ts +82 -6
  400. package/dist/store/store.d.ts.map +1 -1
  401. package/dist/store/store.js +108 -7
  402. package/dist/store/store.js.map +1 -1
  403. package/package.json +6 -5
  404. package/parity.json +57 -55
  405. package/skills/follow-ups/SKILL.md +1 -1
@@ -3,6 +3,7 @@ import { account } from "./account.js";
3
3
  import { attachment } from "./attachment.js";
4
4
  import { chat } from "./chat.js";
5
5
  import { contact } from "./contact.js";
6
+ import { conversation } from "./conversation.js";
6
7
  import { document } from "./document.js";
7
8
  import { fact } from "./fact.js";
8
9
  import { reference } from "./fields.js";
@@ -12,31 +13,32 @@ import { memory } from "./memory.js";
12
13
  import { message } from "./message.js";
13
14
  import { note } from "./note.js";
14
15
  import { person } from "./person.js";
16
+ import { tagging } from "./tagging.js";
15
17
  import { task } from "./task.js";
16
18
  /**
17
19
  * One schema per thing a command can answer with. A command returns an entity or one of its views — a
18
20
  * subset of its fields, never a renamed one. Commands move onto these one by one; until then, a schema
19
21
  * is the target, not a description of today's output.
20
22
  */
21
- export { account, attachment, chat, contact, document, fact, identity, meeting, memory, message, note, person, reference, task, };
23
+ export { account, attachment, chat, contact, conversation, document, fact, identity, meeting, memory, message, note, person, reference, tagging, task, };
22
24
  export declare const ENTITIES: {
23
25
  readonly message: v.StrictObjectSchema<{
24
26
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
25
27
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
26
28
  readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
27
29
  readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
28
- readonly chatId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
29
- readonly chatTitle: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
30
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
31
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
32
- readonly senderUsername: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
33
- readonly senderIsChat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
30
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
31
+ readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
32
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
33
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
34
+ readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
35
+ readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
34
36
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
35
37
  readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
36
- readonly editedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
38
+ readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
37
39
  readonly text: v.StringSchema<undefined>;
38
40
  readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
39
- readonly matchedIn: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file"], undefined>, undefined>;
41
+ readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
40
42
  readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
41
43
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
42
44
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -57,12 +59,12 @@ export declare const ENTITIES: {
57
59
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
58
60
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
59
61
  }, undefined>, undefined>;
60
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
62
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
61
63
  }, undefined>, undefined>;
62
- readonly replyTo: v.NullableSchema<v.StrictObjectSchema<{
64
+ readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
63
65
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
64
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
65
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
66
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
67
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
66
68
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
67
69
  readonly text: v.StringSchema<undefined>;
68
70
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -83,15 +85,15 @@ export declare const ENTITIES: {
83
85
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
84
86
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
85
87
  }, undefined>, undefined>;
86
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
88
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
87
89
  }, undefined>, undefined>;
88
90
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
89
91
  }, undefined>, undefined>;
90
- readonly replyToId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
91
- readonly forwardedFrom: v.NullableSchema<v.StrictObjectSchema<{
92
+ readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
93
+ readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
92
94
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
93
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
94
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
95
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
96
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
95
97
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
96
98
  readonly text: v.StringSchema<undefined>;
97
99
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -112,12 +114,12 @@ export declare const ENTITIES: {
112
114
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
113
115
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
114
116
  }, undefined>, undefined>;
115
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
117
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
116
118
  }, undefined>, undefined>;
117
119
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
118
120
  }, undefined>, undefined>;
119
- readonly threadId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
120
- readonly threadRootId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
121
+ readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
122
+ readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
121
123
  readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
122
124
  readonly counts: v.ArraySchema<v.StrictObjectSchema<{
123
125
  readonly reaction: v.StringSchema<undefined>;
@@ -126,7 +128,7 @@ export declare const ENTITIES: {
126
128
  readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
127
129
  readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
128
130
  }, undefined>, undefined>, undefined>;
129
- readonly scheduledFor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
131
+ readonly scheduled_for: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
130
132
  readonly email: v.OptionalSchema<v.StrictObjectSchema<{
131
133
  readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
132
134
  readonly from: v.NullableSchema<v.StrictObjectSchema<{
@@ -149,7 +151,7 @@ export declare const ENTITIES: {
149
151
  readonly address: v.StringSchema<undefined>;
150
152
  readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
151
153
  }, undefined>, undefined>;
152
- readonly replyTo: v.ArraySchema<v.StrictObjectSchema<{
154
+ readonly reply_addresses: v.ArraySchema<v.StrictObjectSchema<{
153
155
  readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
154
156
  readonly address: v.StringSchema<undefined>;
155
157
  readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
@@ -159,25 +161,25 @@ export declare const ENTITIES: {
159
161
  readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
160
162
  readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
161
163
  }, undefined>, undefined>;
162
- readonly providerMetadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
164
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
163
165
  }, undefined>;
164
166
  readonly "message.hit": Omit<v.StrictObjectSchema<{
165
167
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
166
168
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
167
169
  readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
168
170
  readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
169
- readonly chatId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
170
- readonly chatTitle: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
171
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
172
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
173
- readonly senderUsername: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
174
- readonly senderIsChat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
171
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
172
+ readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
173
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
174
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
175
+ readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
176
+ readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
175
177
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
176
178
  readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
177
- readonly editedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
179
+ readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
178
180
  readonly text: v.StringSchema<undefined>;
179
181
  readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
180
- readonly matchedIn: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file"], undefined>, undefined>;
182
+ readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
181
183
  readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
182
184
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
183
185
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -198,12 +200,12 @@ export declare const ENTITIES: {
198
200
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
199
201
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
200
202
  }, undefined>, undefined>;
201
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
203
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
202
204
  }, undefined>, undefined>;
203
- readonly replyTo: v.NullableSchema<v.StrictObjectSchema<{
205
+ readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
204
206
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
205
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
206
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
207
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
208
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
207
209
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
208
210
  readonly text: v.StringSchema<undefined>;
209
211
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -224,15 +226,15 @@ export declare const ENTITIES: {
224
226
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
225
227
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
226
228
  }, undefined>, undefined>;
227
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
229
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
228
230
  }, undefined>, undefined>;
229
231
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
230
232
  }, undefined>, undefined>;
231
- readonly replyToId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
232
- readonly forwardedFrom: v.NullableSchema<v.StrictObjectSchema<{
233
+ readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
234
+ readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
233
235
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
234
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
235
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
236
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
237
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
236
238
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
237
239
  readonly text: v.StringSchema<undefined>;
238
240
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -253,12 +255,12 @@ export declare const ENTITIES: {
253
255
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
254
256
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
255
257
  }, undefined>, undefined>;
256
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
258
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
257
259
  }, undefined>, undefined>;
258
260
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
259
261
  }, undefined>, undefined>;
260
- readonly threadId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
261
- readonly threadRootId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
262
+ readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
263
+ readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
262
264
  readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
263
265
  readonly counts: v.ArraySchema<v.StrictObjectSchema<{
264
266
  readonly reaction: v.StringSchema<undefined>;
@@ -267,7 +269,7 @@ export declare const ENTITIES: {
267
269
  readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
268
270
  readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
269
271
  }, undefined>, undefined>, undefined>;
270
- readonly scheduledFor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
272
+ readonly scheduled_for: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
271
273
  readonly email: v.OptionalSchema<v.StrictObjectSchema<{
272
274
  readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
273
275
  readonly from: v.NullableSchema<v.StrictObjectSchema<{
@@ -290,7 +292,7 @@ export declare const ENTITIES: {
290
292
  readonly address: v.StringSchema<undefined>;
291
293
  readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
292
294
  }, undefined>, undefined>;
293
- readonly replyTo: v.ArraySchema<v.StrictObjectSchema<{
295
+ readonly reply_addresses: v.ArraySchema<v.StrictObjectSchema<{
294
296
  readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
295
297
  readonly address: v.StringSchema<undefined>;
296
298
  readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
@@ -300,25 +302,25 @@ export declare const ENTITIES: {
300
302
  readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
301
303
  readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
302
304
  }, undefined>, undefined>;
303
- readonly providerMetadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
305
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
304
306
  }, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
305
307
  readonly entries: Pick<{
306
308
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
307
309
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
308
310
  readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
309
311
  readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
310
- readonly chatId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
311
- readonly chatTitle: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
312
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
313
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
314
- readonly senderUsername: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
315
- readonly senderIsChat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
312
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
313
+ readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
314
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
315
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
316
+ readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
317
+ readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
316
318
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
317
319
  readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
318
- readonly editedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
320
+ readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
319
321
  readonly text: v.StringSchema<undefined>;
320
322
  readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
321
- readonly matchedIn: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file"], undefined>, undefined>;
323
+ readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
322
324
  readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
323
325
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
324
326
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -339,12 +341,12 @@ export declare const ENTITIES: {
339
341
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
340
342
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
341
343
  }, undefined>, undefined>;
342
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
344
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
343
345
  }, undefined>, undefined>;
344
- readonly replyTo: v.NullableSchema<v.StrictObjectSchema<{
346
+ readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
345
347
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
346
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
347
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
348
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
349
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
348
350
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
349
351
  readonly text: v.StringSchema<undefined>;
350
352
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -365,15 +367,15 @@ export declare const ENTITIES: {
365
367
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
366
368
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
367
369
  }, undefined>, undefined>;
368
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
370
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
369
371
  }, undefined>, undefined>;
370
372
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
371
373
  }, undefined>, undefined>;
372
- readonly replyToId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
373
- readonly forwardedFrom: v.NullableSchema<v.StrictObjectSchema<{
374
+ readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
375
+ readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
374
376
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
375
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
376
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
377
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
378
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
377
379
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
378
380
  readonly text: v.StringSchema<undefined>;
379
381
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -394,12 +396,12 @@ export declare const ENTITIES: {
394
396
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
395
397
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
396
398
  }, undefined>, undefined>;
397
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
399
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
398
400
  }, undefined>, undefined>;
399
401
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
400
402
  }, undefined>, undefined>;
401
- readonly threadId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
402
- readonly threadRootId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
403
+ readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
404
+ readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
403
405
  readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
404
406
  readonly counts: v.ArraySchema<v.StrictObjectSchema<{
405
407
  readonly reaction: v.StringSchema<undefined>;
@@ -408,7 +410,7 @@ export declare const ENTITIES: {
408
410
  readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
409
411
  readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
410
412
  }, undefined>, undefined>, undefined>;
411
- readonly scheduledFor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
413
+ readonly scheduled_for: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
412
414
  readonly email: v.OptionalSchema<v.StrictObjectSchema<{
413
415
  readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
414
416
  readonly from: v.NullableSchema<v.StrictObjectSchema<{
@@ -431,7 +433,7 @@ export declare const ENTITIES: {
431
433
  readonly address: v.StringSchema<undefined>;
432
434
  readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
433
435
  }, undefined>, undefined>;
434
- readonly replyTo: v.ArraySchema<v.StrictObjectSchema<{
436
+ readonly reply_addresses: v.ArraySchema<v.StrictObjectSchema<{
435
437
  readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
436
438
  readonly address: v.StringSchema<undefined>;
437
439
  readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
@@ -441,51 +443,51 @@ export declare const ENTITIES: {
441
443
  readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
442
444
  readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
443
445
  }, undefined>, undefined>;
444
- readonly providerMetadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
445
- }, "chatTitle" | "excerpt" | "matchedIn" | "ref" | "score" | "senderName" | "timestamp">;
446
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
447
+ }, "chat_title" | "excerpt" | "matched_in" | "ref" | "score" | "sender_name" | "timestamp">;
446
448
  readonly "~standard": v.StandardProps<{
447
449
  ref: string;
448
- chatTitle?: string | null | undefined;
449
- senderName: string | null;
450
+ chat_title?: string | null | undefined;
451
+ sender_name: string | null;
450
452
  timestamp: string;
451
453
  excerpt?: string | undefined;
452
- matchedIn?: "file" | "filename" | "text" | "transcript" | undefined;
454
+ matched_in?: "context" | "file" | "filename" | "text" | "transcript" | undefined;
453
455
  score?: number | undefined;
454
456
  }, {
455
457
  ref: string;
456
- chatTitle?: string | null | undefined;
457
- senderName: string | null;
458
+ chat_title?: string | null | undefined;
459
+ sender_name: string | null;
458
460
  timestamp: string;
459
461
  excerpt?: string | undefined;
460
- matchedIn?: "file" | "filename" | "text" | "transcript" | undefined;
462
+ matched_in?: "context" | "file" | "filename" | "text" | "transcript" | undefined;
461
463
  score?: number | undefined;
462
464
  }>;
463
465
  readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
464
466
  ref: string;
465
- chatTitle?: string | null | undefined;
466
- senderName: string | null;
467
+ chat_title?: string | null | undefined;
468
+ sender_name: string | null;
467
469
  timestamp: string;
468
470
  excerpt?: string | undefined;
469
- matchedIn?: "file" | "filename" | "text" | "transcript" | undefined;
471
+ matched_in?: "context" | "file" | "filename" | "text" | "transcript" | undefined;
470
472
  score?: number | undefined;
471
473
  }, v.IsoTimestampIssue<string> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
472
474
  readonly "~types"?: {
473
475
  readonly input: {
474
476
  ref: string;
475
- chatTitle?: string | null | undefined;
476
- senderName: string | null;
477
+ chat_title?: string | null | undefined;
478
+ sender_name: string | null;
477
479
  timestamp: string;
478
480
  excerpt?: string | undefined;
479
- matchedIn?: "file" | "filename" | "text" | "transcript" | undefined;
481
+ matched_in?: "context" | "file" | "filename" | "text" | "transcript" | undefined;
480
482
  score?: number | undefined;
481
483
  };
482
484
  readonly output: {
483
485
  ref: string;
484
- chatTitle?: string | null | undefined;
485
- senderName: string | null;
486
+ chat_title?: string | null | undefined;
487
+ sender_name: string | null;
486
488
  timestamp: string;
487
489
  excerpt?: string | undefined;
488
- matchedIn?: "file" | "filename" | "text" | "transcript" | undefined;
490
+ matched_in?: "context" | "file" | "filename" | "text" | "transcript" | undefined;
489
491
  score?: number | undefined;
490
492
  };
491
493
  readonly issue: v.IsoTimestampIssue<string> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
@@ -496,18 +498,18 @@ export declare const ENTITIES: {
496
498
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
497
499
  readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
498
500
  readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
499
- readonly chatId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
500
- readonly chatTitle: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
501
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
502
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
503
- readonly senderUsername: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
504
- readonly senderIsChat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
501
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
502
+ readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
503
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
504
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
505
+ readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
506
+ readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
505
507
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
506
508
  readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
507
- readonly editedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
509
+ readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
508
510
  readonly text: v.StringSchema<undefined>;
509
511
  readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
510
- readonly matchedIn: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file"], undefined>, undefined>;
512
+ readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
511
513
  readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
512
514
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
513
515
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -528,12 +530,12 @@ export declare const ENTITIES: {
528
530
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
529
531
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
530
532
  }, undefined>, undefined>;
531
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
533
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
532
534
  }, undefined>, undefined>;
533
- readonly replyTo: v.NullableSchema<v.StrictObjectSchema<{
535
+ readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
534
536
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
535
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
536
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
537
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
538
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
537
539
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
538
540
  readonly text: v.StringSchema<undefined>;
539
541
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -554,15 +556,15 @@ export declare const ENTITIES: {
554
556
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
555
557
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
556
558
  }, undefined>, undefined>;
557
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
559
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
558
560
  }, undefined>, undefined>;
559
561
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
560
562
  }, undefined>, undefined>;
561
- readonly replyToId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
562
- readonly forwardedFrom: v.NullableSchema<v.StrictObjectSchema<{
563
+ readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
564
+ readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
563
565
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
564
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
565
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
566
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
567
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
566
568
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
567
569
  readonly text: v.StringSchema<undefined>;
568
570
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -583,12 +585,12 @@ export declare const ENTITIES: {
583
585
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
584
586
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
585
587
  }, undefined>, undefined>;
586
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
588
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
587
589
  }, undefined>, undefined>;
588
590
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
589
591
  }, undefined>, undefined>;
590
- readonly threadId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
591
- readonly threadRootId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
592
+ readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
593
+ readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
592
594
  readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
593
595
  readonly counts: v.ArraySchema<v.StrictObjectSchema<{
594
596
  readonly reaction: v.StringSchema<undefined>;
@@ -597,7 +599,7 @@ export declare const ENTITIES: {
597
599
  readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
598
600
  readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
599
601
  }, undefined>, undefined>, undefined>;
600
- readonly scheduledFor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
602
+ readonly scheduled_for: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
601
603
  readonly email: v.OptionalSchema<v.StrictObjectSchema<{
602
604
  readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
603
605
  readonly from: v.NullableSchema<v.StrictObjectSchema<{
@@ -620,7 +622,7 @@ export declare const ENTITIES: {
620
622
  readonly address: v.StringSchema<undefined>;
621
623
  readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
622
624
  }, undefined>, undefined>;
623
- readonly replyTo: v.ArraySchema<v.StrictObjectSchema<{
625
+ readonly reply_addresses: v.ArraySchema<v.StrictObjectSchema<{
624
626
  readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
625
627
  readonly address: v.StringSchema<undefined>;
626
628
  readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
@@ -630,25 +632,25 @@ export declare const ENTITIES: {
630
632
  readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
631
633
  readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
632
634
  }, undefined>, undefined>;
633
- readonly providerMetadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
635
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
634
636
  }, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
635
637
  readonly entries: Pick<{
636
638
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
637
639
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
638
640
  readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
639
641
  readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
640
- readonly chatId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
641
- readonly chatTitle: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
642
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
643
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
644
- readonly senderUsername: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
645
- readonly senderIsChat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
642
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
643
+ readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
644
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
645
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
646
+ readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
647
+ readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
646
648
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
647
649
  readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
648
- readonly editedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
650
+ readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
649
651
  readonly text: v.StringSchema<undefined>;
650
652
  readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
651
- readonly matchedIn: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file"], undefined>, undefined>;
653
+ readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
652
654
  readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
653
655
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
654
656
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -669,12 +671,12 @@ export declare const ENTITIES: {
669
671
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
670
672
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
671
673
  }, undefined>, undefined>;
672
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
674
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
673
675
  }, undefined>, undefined>;
674
- readonly replyTo: v.NullableSchema<v.StrictObjectSchema<{
676
+ readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
675
677
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
676
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
677
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
678
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
679
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
678
680
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
679
681
  readonly text: v.StringSchema<undefined>;
680
682
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -695,15 +697,15 @@ export declare const ENTITIES: {
695
697
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
696
698
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
697
699
  }, undefined>, undefined>;
698
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
700
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
699
701
  }, undefined>, undefined>;
700
702
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
701
703
  }, undefined>, undefined>;
702
- readonly replyToId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
703
- readonly forwardedFrom: v.NullableSchema<v.StrictObjectSchema<{
704
+ readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
705
+ readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
704
706
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
705
- readonly senderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
706
- readonly senderName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
707
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
708
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
707
709
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
708
710
  readonly text: v.StringSchema<undefined>;
709
711
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
@@ -724,12 +726,12 @@ export declare const ENTITIES: {
724
726
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
725
727
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
726
728
  }, undefined>, undefined>;
727
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
729
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
728
730
  }, undefined>, undefined>;
729
731
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
730
732
  }, undefined>, undefined>;
731
- readonly threadId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
732
- readonly threadRootId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
733
+ readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
734
+ readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
733
735
  readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
734
736
  readonly counts: v.ArraySchema<v.StrictObjectSchema<{
735
737
  readonly reaction: v.StringSchema<undefined>;
@@ -738,7 +740,7 @@ export declare const ENTITIES: {
738
740
  readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
739
741
  readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
740
742
  }, undefined>, undefined>, undefined>;
741
- readonly scheduledFor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
743
+ readonly scheduled_for: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
742
744
  readonly email: v.OptionalSchema<v.StrictObjectSchema<{
743
745
  readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
744
746
  readonly from: v.NullableSchema<v.StrictObjectSchema<{
@@ -761,7 +763,7 @@ export declare const ENTITIES: {
761
763
  readonly address: v.StringSchema<undefined>;
762
764
  readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
763
765
  }, undefined>, undefined>;
764
- readonly replyTo: v.ArraySchema<v.StrictObjectSchema<{
766
+ readonly reply_addresses: v.ArraySchema<v.StrictObjectSchema<{
765
767
  readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
766
768
  readonly address: v.StringSchema<undefined>;
767
769
  readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
@@ -771,35 +773,35 @@ export declare const ENTITIES: {
771
773
  readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
772
774
  readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
773
775
  }, undefined>, undefined>;
774
- readonly providerMetadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
775
- }, "ref" | "senderName" | "text" | "timestamp">;
776
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
777
+ }, "ref" | "sender_name" | "text" | "timestamp">;
776
778
  readonly "~standard": v.StandardProps<{
777
779
  ref: string;
778
- senderName: string | null;
780
+ sender_name: string | null;
779
781
  timestamp: string;
780
782
  text: string;
781
783
  }, {
782
784
  ref: string;
783
- senderName: string | null;
785
+ sender_name: string | null;
784
786
  timestamp: string;
785
787
  text: string;
786
788
  }>;
787
789
  readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
788
790
  ref: string;
789
- senderName: string | null;
791
+ sender_name: string | null;
790
792
  timestamp: string;
791
793
  text: string;
792
794
  }, v.IsoTimestampIssue<string> | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
793
795
  readonly "~types"?: {
794
796
  readonly input: {
795
797
  ref: string;
796
- senderName: string | null;
798
+ sender_name: string | null;
797
799
  timestamp: string;
798
800
  text: string;
799
801
  };
800
802
  readonly output: {
801
803
  ref: string;
802
- senderName: string | null;
804
+ sender_name: string | null;
803
805
  timestamp: string;
804
806
  text: string;
805
807
  };
@@ -813,16 +815,16 @@ export declare const ENTITIES: {
813
815
  readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
814
816
  readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
815
817
  readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
816
- readonly unreadCount: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
817
- readonly unreadMentions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
818
- readonly lastMessageAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
819
- readonly participantsCount: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
818
+ readonly unread_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
819
+ readonly unread_mentions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
820
+ readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
821
+ readonly participants_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
820
822
  readonly muted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
821
823
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
822
- readonly membershipState: v.OptionalSchema<v.PicklistSchema<["joined", "left", "public", "imported", "archived", "external"], undefined>, undefined>;
823
- readonly parentChatId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
824
+ readonly membership_state: v.OptionalSchema<v.PicklistSchema<["joined", "left", "public", "imported", "archived", "external"], undefined>, undefined>;
825
+ readonly parent_chat_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
824
826
  readonly scope: v.OptionalSchema<v.PicklistSchema<["personal", "work"], undefined>, undefined>;
825
- readonly providerMetadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
827
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
826
828
  }, undefined>;
827
829
  readonly person: v.StrictObjectSchema<{
828
830
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
@@ -852,9 +854,9 @@ export declare const ENTITIES: {
852
854
  readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
853
855
  readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
854
856
  readonly alias: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
855
- readonly displayName: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
857
+ readonly display_name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
856
858
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
857
- readonly lastMessagedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
859
+ readonly last_messaged_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
858
860
  }, undefined>;
859
861
  readonly account: v.StrictObjectSchema<{
860
862
  readonly provider: v.StringSchema<undefined>;
@@ -868,13 +870,13 @@ export declare const ENTITIES: {
868
870
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
869
871
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
870
872
  readonly source: v.PicklistSchema<["file", "internal"], undefined>;
871
- readonly folderId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
873
+ readonly folder_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
872
874
  readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
873
875
  readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
874
876
  readonly text: v.StringSchema<undefined>;
875
- readonly createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
876
- readonly updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
877
- readonly deletedAt: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
877
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
878
+ readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
879
+ readonly deleted_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
878
880
  }, undefined>;
879
881
  readonly document: v.StrictObjectSchema<{
880
882
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
@@ -883,8 +885,8 @@ export declare const ENTITIES: {
883
885
  readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
884
886
  readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
885
887
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
886
- readonly modifiedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
887
- readonly storedAt: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
888
+ readonly source_modified_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
889
+ readonly stored_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
888
890
  readonly owners: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
889
891
  }, undefined>;
890
892
  readonly attachment: v.StrictObjectSchema<{
@@ -905,7 +907,7 @@ export declare const ENTITIES: {
905
907
  readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
906
908
  readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
907
909
  }, undefined>, undefined>;
908
- readonly localPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
910
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
909
911
  }, undefined>;
910
912
  readonly task: v.StrictObjectSchema<{
911
913
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
@@ -918,14 +920,14 @@ export declare const ENTITIES: {
918
920
  readonly project: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
919
921
  readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
920
922
  readonly chat: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
921
- readonly source: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
923
+ readonly source_message: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
922
924
  readonly priority: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
923
925
  readonly parent: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
924
- readonly dueAt: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
925
- readonly closedAt: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
926
+ readonly due_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
927
+ readonly closed_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
926
928
  readonly reason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
927
- readonly createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
928
- readonly updatedAt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
929
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
930
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
929
931
  }, undefined>;
930
932
  readonly fact: v.StrictObjectSchema<{
931
933
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
@@ -935,7 +937,7 @@ export declare const ENTITIES: {
935
937
  readonly status: v.PicklistSchema<readonly ["proposed", "accepted", "superseded", "reversed"], undefined>;
936
938
  readonly project: v.NullableSchema<v.StringSchema<undefined>, undefined>;
937
939
  readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
938
- readonly occurredAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
940
+ readonly occurred_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
939
941
  readonly supersedes: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
940
942
  readonly author: v.StrictObjectSchema<{
941
943
  readonly type: v.PicklistSchema<["person", "bot"], undefined>;
@@ -944,10 +946,10 @@ export declare const ENTITIES: {
944
946
  }, undefined>;
945
947
  readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
946
948
  readonly scope: v.NullableSchema<v.PicklistSchema<readonly ["personal", "work"], undefined>, undefined>;
947
- readonly source: v.StringSchema<undefined>;
949
+ readonly origin: v.PicklistSchema<["owner", "agent"], undefined>;
948
950
  readonly evidence: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
949
- readonly createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
950
- readonly updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
951
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
952
+ readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
951
953
  }, undefined>;
952
954
  readonly memory: v.StrictObjectSchema<{
953
955
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
@@ -966,9 +968,9 @@ export declare const ENTITIES: {
966
968
  readonly scope: v.PicklistSchema<readonly ["personal", "work"], undefined>;
967
969
  readonly supersedes: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
968
970
  readonly evidence: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
969
- readonly lastVerifiedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
970
- readonly createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
971
- readonly updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
971
+ readonly last_verified_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
972
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
973
+ readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
972
974
  }, undefined>;
973
975
  readonly meeting: v.StrictObjectSchema<{
974
976
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
@@ -979,15 +981,34 @@ export declare const ENTITIES: {
979
981
  readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
980
982
  readonly location: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
981
983
  readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
982
- readonly startedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
983
- readonly endedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
984
- readonly durationMs: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
984
+ readonly started_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
985
+ readonly ended_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
986
+ readonly duration_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
985
987
  readonly timezone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
986
- readonly participantsCount: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
987
- readonly createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
988
- readonly updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
988
+ readonly participants_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
989
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
990
+ readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
989
991
  }, undefined>;
990
992
  readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
993
+ readonly tagging: v.StrictObjectSchema<{
994
+ readonly tag: v.StringSchema<undefined>;
995
+ readonly type: v.PicklistSchema<readonly ["chat", "contact", "message"], undefined>;
996
+ readonly target: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
997
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
998
+ readonly sources: v.ArraySchema<v.PicklistSchema<["manual", "auto"], undefined>, undefined>;
999
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1000
+ }, undefined>;
1001
+ readonly conversation: v.StrictObjectSchema<{
1002
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1003
+ readonly chat: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1004
+ readonly first_message: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1005
+ readonly started_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1006
+ readonly ended_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1007
+ readonly messages_count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1008
+ readonly senders_count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1009
+ readonly built_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1010
+ readonly rules_version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1011
+ }, undefined>;
991
1012
  };
992
1013
  export type EntityName = keyof typeof ENTITIES;
993
1014
  /** Every entity as a JSON Schema 2020-12 `$defs` entry, for bundling into an MCP tool's `outputSchema`. */