@opencorelabs/lucidity 0.3.0 → 0.6.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 (512) hide show
  1. package/README.md +9 -2
  2. package/dist/assets/speech/licenses/FluidAudio/LICENSE +201 -0
  3. package/dist/assets/speech/licenses/FluidAudio/ThirdPartyLicenses/fastcluster-LICENSE.md +11 -0
  4. package/dist/assets/speech/licenses/FluidAudio/ThirdPartyLicenses/vbx-LICENSE.md +201 -0
  5. package/dist/assets/speech/lucidity-speech +0 -0
  6. package/dist/automations/agent.d.ts +16 -0
  7. package/dist/automations/agent.d.ts.map +1 -0
  8. package/dist/automations/agent.js +196 -0
  9. package/dist/automations/cli.d.ts +4 -0
  10. package/dist/automations/cli.d.ts.map +1 -0
  11. package/dist/automations/cli.js +44 -0
  12. package/dist/automations/connections.d.ts +11 -0
  13. package/dist/automations/connections.d.ts.map +1 -0
  14. package/dist/automations/connections.js +74 -0
  15. package/dist/automations/designer.d.ts +39 -0
  16. package/dist/automations/designer.d.ts.map +1 -0
  17. package/dist/automations/designer.js +450 -0
  18. package/dist/automations/history.d.ts +4 -0
  19. package/dist/automations/history.d.ts.map +1 -0
  20. package/dist/automations/history.js +57 -0
  21. package/dist/automations/learning.d.ts +19 -0
  22. package/dist/automations/learning.d.ts.map +1 -0
  23. package/dist/automations/learning.js +121 -0
  24. package/dist/automations/pinterest.d.ts +21 -0
  25. package/dist/automations/pinterest.d.ts.map +1 -0
  26. package/dist/automations/pinterest.js +113 -0
  27. package/dist/automations/service.d.ts +42 -0
  28. package/dist/automations/service.d.ts.map +1 -0
  29. package/dist/automations/service.js +406 -0
  30. package/dist/automations/setup.d.ts +3 -0
  31. package/dist/automations/setup.d.ts.map +1 -0
  32. package/dist/automations/setup.js +48 -0
  33. package/dist/automations/skill.d.ts +3 -0
  34. package/dist/automations/skill.d.ts.map +1 -0
  35. package/dist/automations/skill.js +29 -0
  36. package/dist/automations/store.d.ts +13 -0
  37. package/dist/automations/store.d.ts.map +1 -0
  38. package/dist/automations/store.js +46 -0
  39. package/dist/chat/server.d.ts +2 -0
  40. package/dist/chat/server.d.ts.map +1 -1
  41. package/dist/chat/server.js +46 -2
  42. package/dist/coding/commandContext.d.ts +6 -0
  43. package/dist/coding/commandContext.d.ts.map +1 -0
  44. package/dist/coding/commandContext.js +20 -0
  45. package/dist/coding/runCodeTurn.d.ts +12 -2
  46. package/dist/coding/runCodeTurn.d.ts.map +1 -1
  47. package/dist/coding/runCodeTurn.js +49 -19
  48. package/dist/coding/worktree.d.ts +3 -4
  49. package/dist/coding/worktree.d.ts.map +1 -1
  50. package/dist/coding/worktree.js +3 -4
  51. package/dist/config.d.ts +4 -0
  52. package/dist/config.d.ts.map +1 -1
  53. package/dist/config.js +20 -3
  54. package/dist/decisions/cli.d.ts +2 -0
  55. package/dist/decisions/cli.d.ts.map +1 -0
  56. package/dist/decisions/cli.js +106 -0
  57. package/dist/decisions/client.d.ts +20 -0
  58. package/dist/decisions/client.d.ts.map +1 -0
  59. package/dist/decisions/client.js +41 -0
  60. package/dist/handoff.d.ts +11 -0
  61. package/dist/handoff.d.ts.map +1 -0
  62. package/dist/handoff.js +21 -0
  63. package/dist/index.js +179 -40
  64. package/dist/jobs/briefing.js +1 -1
  65. package/dist/jobs/extraction.d.ts.map +1 -1
  66. package/dist/jobs/extraction.js +112 -22
  67. package/dist/jobs/fastModeReview.d.ts +39 -0
  68. package/dist/jobs/fastModeReview.d.ts.map +1 -0
  69. package/dist/jobs/fastModeReview.js +192 -0
  70. package/dist/jobs/voiceReview.d.ts +24 -0
  71. package/dist/jobs/voiceReview.d.ts.map +1 -0
  72. package/dist/jobs/voiceReview.js +128 -0
  73. package/dist/mcp/clients.d.ts +5 -0
  74. package/dist/mcp/clients.d.ts.map +1 -1
  75. package/dist/mcp/clients.js +1 -1
  76. package/dist/mcp/config.d.ts +3 -1
  77. package/dist/mcp/config.d.ts.map +1 -1
  78. package/dist/mcp/config.js +48 -6
  79. package/dist/mcp/paired.js +1 -0
  80. package/dist/notesContext.d.ts.map +1 -1
  81. package/dist/notesContext.js +3 -2
  82. package/dist/room/client.d.ts +20 -7
  83. package/dist/room/client.d.ts.map +1 -1
  84. package/dist/room/client.js +262 -45
  85. package/dist/room/computer.d.ts.map +1 -1
  86. package/dist/room/computer.js +8 -0
  87. package/dist/room/context.d.ts +3 -2
  88. package/dist/room/context.d.ts.map +1 -1
  89. package/dist/room/context.js +10 -3
  90. package/dist/room/turnQueue.d.ts +40 -0
  91. package/dist/room/turnQueue.d.ts.map +1 -0
  92. package/dist/room/turnQueue.js +301 -0
  93. package/dist/skills/lucidity-automations/SKILL.md +54 -0
  94. package/dist/speech/captures.d.ts +30 -0
  95. package/dist/speech/captures.d.ts.map +1 -0
  96. package/dist/speech/captures.js +209 -0
  97. package/dist/speech/fluidAudio.d.ts +28 -0
  98. package/dist/speech/fluidAudio.d.ts.map +1 -0
  99. package/dist/speech/fluidAudio.js +182 -0
  100. package/dist/speech/service.d.ts +14 -0
  101. package/dist/speech/service.d.ts.map +1 -0
  102. package/dist/speech/service.js +88 -0
  103. package/dist/speech/types.d.ts +19 -0
  104. package/dist/speech/types.d.ts.map +1 -0
  105. package/dist/speech/types.js +1 -0
  106. package/dist/turnLog.d.ts +1 -0
  107. package/dist/turnLog.d.ts.map +1 -1
  108. package/dist/turnLog.js +3 -0
  109. package/native/speech/Package.resolved +15 -0
  110. package/native/speech/Package.swift +16 -0
  111. package/native/speech/Sources/lucidity-speech/Speech.swift +81 -0
  112. package/package.json +6 -2
  113. package/src/automations/agent.ts +239 -0
  114. package/src/automations/cli.ts +52 -0
  115. package/src/automations/connections.ts +83 -0
  116. package/src/automations/designer.ts +594 -0
  117. package/src/automations/history.ts +59 -0
  118. package/src/automations/learning.ts +180 -0
  119. package/src/automations/pinterest.ts +146 -0
  120. package/src/automations/service.ts +505 -0
  121. package/src/automations/setup.ts +71 -0
  122. package/src/automations/skill.ts +40 -0
  123. package/src/automations/store.ts +63 -0
  124. package/src/chat/server.ts +62 -3
  125. package/src/coding/commandContext.ts +29 -0
  126. package/src/coding/runCodeTurn.ts +65 -21
  127. package/src/coding/worktree.ts +3 -4
  128. package/src/config.ts +29 -2
  129. package/src/decisions/cli.ts +136 -0
  130. package/src/decisions/client.ts +62 -0
  131. package/src/handoff.ts +28 -0
  132. package/src/index.ts +196 -67
  133. package/src/jobs/briefing.ts +1 -1
  134. package/src/jobs/extraction.ts +157 -32
  135. package/src/jobs/fastModeReview.ts +221 -0
  136. package/src/jobs/voiceReview.ts +156 -0
  137. package/src/mcp/clients.ts +1 -1
  138. package/src/mcp/config.ts +56 -6
  139. package/src/mcp/paired.ts +1 -0
  140. package/src/notesContext.ts +3 -2
  141. package/src/room/client.ts +316 -52
  142. package/src/room/computer.ts +8 -0
  143. package/src/room/context.ts +12 -3
  144. package/src/room/turnQueue.ts +358 -0
  145. package/src/speech/captures.ts +265 -0
  146. package/src/speech/fluidAudio.ts +242 -0
  147. package/src/speech/service.ts +108 -0
  148. package/src/speech/types.ts +13 -0
  149. package/src/turnLog.ts +4 -0
  150. package/vendor/decisions/LICENSE +662 -0
  151. package/vendor/decisions/dist/capture.d.ts +79 -0
  152. package/vendor/decisions/dist/capture.js +183 -0
  153. package/vendor/decisions/dist/command.d.ts +202 -0
  154. package/vendor/decisions/dist/command.js +750 -0
  155. package/vendor/decisions/dist/gate.d.ts +12 -0
  156. package/vendor/decisions/dist/gate.js +18 -0
  157. package/vendor/decisions/dist/index.d.ts +5 -0
  158. package/vendor/decisions/dist/index.js +5 -0
  159. package/vendor/decisions/dist/jev.d.ts +15 -0
  160. package/vendor/decisions/dist/jev.js +242 -0
  161. package/vendor/decisions/dist/types.d.ts +67 -0
  162. package/vendor/decisions/dist/types.js +1 -0
  163. package/vendor/decisions/package.json +22 -0
  164. package/vendor/decisions/src/capture.ts +199 -0
  165. package/vendor/decisions/src/command.ts +836 -0
  166. package/vendor/decisions/src/gate.ts +32 -0
  167. package/vendor/decisions/src/index.ts +5 -0
  168. package/vendor/decisions/src/jev.ts +293 -0
  169. package/vendor/decisions/src/types.ts +79 -0
  170. package/vendor/mcp-server/README.md +6 -1
  171. package/vendor/mcp-server/dist/client.d.ts +1 -0
  172. package/vendor/mcp-server/dist/client.d.ts.map +1 -1
  173. package/vendor/mcp-server/dist/client.js +8 -0
  174. package/vendor/mcp-server/dist/commentProvider.d.ts +3 -0
  175. package/vendor/mcp-server/dist/commentProvider.d.ts.map +1 -0
  176. package/vendor/mcp-server/dist/commentProvider.js +10 -0
  177. package/vendor/mcp-server/dist/index.js +21 -6
  178. package/vendor/mcp-server/dist/tools/automations.d.ts +6 -0
  179. package/vendor/mcp-server/dist/tools/automations.d.ts.map +1 -0
  180. package/vendor/mcp-server/dist/tools/automations.js +163 -0
  181. package/vendor/mcp-server/dist/tools/commandEventFormat.d.ts +52 -0
  182. package/vendor/mcp-server/dist/tools/commandEventFormat.d.ts.map +1 -0
  183. package/vendor/mcp-server/dist/tools/commandEventFormat.js +83 -0
  184. package/vendor/mcp-server/dist/tools/commandEvents.d.ts +3 -0
  185. package/vendor/mcp-server/dist/tools/commandEvents.d.ts.map +1 -0
  186. package/vendor/mcp-server/dist/tools/commandEvents.js +21 -0
  187. package/vendor/mcp-server/dist/tools/comments.d.ts.map +1 -1
  188. package/vendor/mcp-server/dist/tools/comments.js +25 -4
  189. package/vendor/mcp-server/dist/tools/index.d.ts +2 -0
  190. package/vendor/mcp-server/dist/tools/index.d.ts.map +1 -1
  191. package/vendor/mcp-server/dist/tools/index.js +2 -0
  192. package/vendor/mcp-server/dist/tools/journal.d.ts +3 -0
  193. package/vendor/mcp-server/dist/tools/journal.d.ts.map +1 -0
  194. package/vendor/mcp-server/dist/tools/journal.js +131 -0
  195. package/vendor/mcp-server/dist/tools/taskActivity.d.ts +3 -0
  196. package/vendor/mcp-server/dist/tools/taskActivity.d.ts.map +1 -0
  197. package/vendor/mcp-server/dist/tools/taskActivity.js +32 -0
  198. package/vendor/mcp-server/dist/tools/taskOccurrences.d.ts +3 -0
  199. package/vendor/mcp-server/dist/tools/taskOccurrences.d.ts.map +1 -0
  200. package/vendor/mcp-server/dist/tools/taskOccurrences.js +12 -0
  201. package/vendor/mcp-server/dist/tools/taskTrash.d.ts +3 -0
  202. package/vendor/mcp-server/dist/tools/taskTrash.d.ts.map +1 -0
  203. package/vendor/mcp-server/dist/tools/taskTrash.js +21 -0
  204. package/vendor/mcp-server/dist/tools/tasks.d.ts.map +1 -1
  205. package/vendor/mcp-server/dist/tools/tasks.js +67 -27
  206. package/vendor/mcp-server/package.json +5 -1
  207. package/vendor/mcp-server/src/client.ts +10 -0
  208. package/vendor/mcp-server/src/commentProvider.ts +9 -0
  209. package/vendor/mcp-server/src/index.ts +20 -6
  210. package/vendor/mcp-server/src/tools/automations.ts +199 -0
  211. package/vendor/mcp-server/src/tools/commandEventFormat.ts +108 -0
  212. package/vendor/mcp-server/src/tools/commandEvents.ts +27 -0
  213. package/vendor/mcp-server/src/tools/comments.ts +24 -3
  214. package/vendor/mcp-server/src/tools/index.ts +2 -0
  215. package/vendor/mcp-server/src/tools/journal.ts +168 -0
  216. package/vendor/mcp-server/src/tools/taskActivity.ts +55 -0
  217. package/vendor/mcp-server/src/tools/taskOccurrences.ts +26 -0
  218. package/vendor/mcp-server/src/tools/taskTrash.ts +23 -0
  219. package/vendor/mcp-server/src/tools/tasks.ts +66 -30
  220. package/vendor/notes/dist/index.d.ts +2 -0
  221. package/vendor/notes/dist/index.d.ts.map +1 -1
  222. package/vendor/notes/dist/index.js +2 -0
  223. package/vendor/notes/dist/journal-backend.d.ts +4 -0
  224. package/vendor/notes/dist/journal-backend.d.ts.map +1 -0
  225. package/vendor/notes/dist/journal-backend.js +33 -0
  226. package/vendor/notes/dist/journal.d.ts +7 -0
  227. package/vendor/notes/dist/journal.d.ts.map +1 -0
  228. package/vendor/notes/dist/journal.js +173 -0
  229. package/vendor/notes/dist/vault.d.ts.map +1 -1
  230. package/vendor/notes/dist/vault.js +6 -1
  231. package/vendor/notes/src/index.ts +2 -0
  232. package/vendor/notes/src/journal-backend.ts +53 -0
  233. package/vendor/notes/src/journal.ts +194 -0
  234. package/vendor/notes/src/vault.ts +9 -1
  235. package/vendor/runtime/README.md +4 -0
  236. package/vendor/runtime/dist/executor/claudeAgent.d.ts +2 -0
  237. package/vendor/runtime/dist/executor/claudeAgent.d.ts.map +1 -1
  238. package/vendor/runtime/dist/executor/claudeAgent.js +113 -8
  239. package/vendor/runtime/dist/executor/claudeCode.d.ts.map +1 -1
  240. package/vendor/runtime/dist/executor/claudeCode.js +8 -4
  241. package/vendor/runtime/dist/executor/codex.d.ts +2 -0
  242. package/vendor/runtime/dist/executor/codex.d.ts.map +1 -1
  243. package/vendor/runtime/dist/executor/codex.js +213 -11
  244. package/vendor/runtime/dist/executor/codexProtocol/PlanType.d.ts +2 -0
  245. package/vendor/runtime/dist/executor/codexProtocol/PlanType.d.ts.map +1 -0
  246. package/vendor/runtime/dist/executor/codexProtocol/PlanType.js +2 -0
  247. package/vendor/runtime/dist/executor/codexProtocol/v2/CreditsSnapshot.d.ts +6 -0
  248. package/vendor/runtime/dist/executor/codexProtocol/v2/CreditsSnapshot.d.ts.map +1 -0
  249. package/vendor/runtime/dist/executor/codexProtocol/v2/CreditsSnapshot.js +2 -0
  250. package/vendor/runtime/dist/executor/codexProtocol/v2/GetAccountRateLimitsResponse.d.ts +26 -0
  251. package/vendor/runtime/dist/executor/codexProtocol/v2/GetAccountRateLimitsResponse.d.ts.map +1 -0
  252. package/vendor/runtime/dist/executor/codexProtocol/v2/GetAccountRateLimitsResponse.js +2 -0
  253. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitReachedType.d.ts +2 -0
  254. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitReachedType.d.ts.map +1 -0
  255. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitReachedType.js +2 -0
  256. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCredit.d.ts +27 -0
  257. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCredit.d.ts.map +1 -0
  258. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCredit.js +2 -0
  259. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCreditStatus.d.ts +2 -0
  260. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCreditStatus.d.ts.map +1 -0
  261. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCreditStatus.js +2 -0
  262. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCreditsSummary.d.ts +13 -0
  263. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCreditsSummary.d.ts.map +1 -0
  264. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCreditsSummary.js +2 -0
  265. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetType.d.ts +2 -0
  266. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetType.d.ts.map +1 -0
  267. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetType.js +2 -0
  268. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitSnapshot.d.ts +20 -0
  269. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitSnapshot.d.ts.map +1 -0
  270. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitSnapshot.js +2 -0
  271. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitWindow.d.ts +6 -0
  272. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitWindow.d.ts.map +1 -0
  273. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitWindow.js +2 -0
  274. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewDelivery.d.ts +2 -0
  275. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewDelivery.d.ts.map +1 -0
  276. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewDelivery.js +2 -0
  277. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewStartParams.d.ts +12 -0
  278. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewStartParams.d.ts.map +1 -0
  279. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewStartParams.js +2 -0
  280. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewTarget.d.ts +17 -0
  281. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewTarget.d.ts.map +1 -0
  282. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewTarget.js +2 -0
  283. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillDependencies.d.ts +5 -0
  284. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillDependencies.d.ts.map +1 -0
  285. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillDependencies.js +2 -0
  286. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillErrorInfo.d.ts +5 -0
  287. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillErrorInfo.d.ts.map +1 -0
  288. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillErrorInfo.js +2 -0
  289. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillInterface.d.ts +18 -0
  290. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillInterface.d.ts.map +1 -0
  291. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillInterface.js +2 -0
  292. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillMetadata.d.ts +22 -0
  293. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillMetadata.d.ts.map +1 -0
  294. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillMetadata.js +2 -0
  295. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillScope.d.ts +2 -0
  296. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillScope.d.ts.map +1 -0
  297. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillScope.js +2 -0
  298. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillToolDependency.d.ts +9 -0
  299. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillToolDependency.d.ts.map +1 -0
  300. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillToolDependency.js +2 -0
  301. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillsListEntry.d.ts +8 -0
  302. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillsListEntry.d.ts.map +1 -0
  303. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillsListEntry.js +2 -0
  304. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillsListResponse.d.ts +5 -0
  305. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillsListResponse.d.ts.map +1 -0
  306. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillsListResponse.js +2 -0
  307. package/vendor/runtime/dist/executor/codexProtocol/v2/SpendControlLimitSnapshot.d.ts +7 -0
  308. package/vendor/runtime/dist/executor/codexProtocol/v2/SpendControlLimitSnapshot.d.ts.map +1 -0
  309. package/vendor/runtime/dist/executor/codexProtocol/v2/SpendControlLimitSnapshot.js +2 -0
  310. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadSetNameParams.d.ts +5 -0
  311. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadSetNameParams.d.ts.map +1 -0
  312. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadSetNameParams.js +2 -0
  313. package/vendor/runtime/dist/executor/health.d.ts +1 -0
  314. package/vendor/runtime/dist/executor/health.d.ts.map +1 -1
  315. package/vendor/runtime/dist/executor/health.js +3 -0
  316. package/vendor/runtime/dist/executor/liveTurns.d.ts.map +1 -1
  317. package/vendor/runtime/dist/executor/liveTurns.js +3 -0
  318. package/vendor/runtime/dist/executor/providerRouter.d.ts.map +1 -1
  319. package/vendor/runtime/dist/executor/providerRouter.js +2 -1
  320. package/vendor/runtime/dist/executor/types.d.ts +8 -0
  321. package/vendor/runtime/dist/executor/types.d.ts.map +1 -1
  322. package/vendor/runtime/dist/harness/index.d.ts +1 -0
  323. package/vendor/runtime/dist/harness/index.d.ts.map +1 -1
  324. package/vendor/runtime/dist/harness/index.js +35 -1
  325. package/vendor/runtime/dist/harness/types.d.ts +4 -1
  326. package/vendor/runtime/dist/harness/types.d.ts.map +1 -1
  327. package/vendor/runtime/dist/index.d.ts +2 -1
  328. package/vendor/runtime/dist/index.d.ts.map +1 -1
  329. package/vendor/runtime/dist/index.js +2 -0
  330. package/vendor/runtime/dist/journal/context.d.ts +18 -0
  331. package/vendor/runtime/dist/journal/context.d.ts.map +1 -1
  332. package/vendor/runtime/dist/journal/context.js +19 -5
  333. package/vendor/runtime/dist/prompts/briefing.d.ts +4 -7
  334. package/vendor/runtime/dist/prompts/briefing.d.ts.map +1 -1
  335. package/vendor/runtime/dist/prompts/briefing.js +61 -12
  336. package/vendor/runtime/dist/prompts/cardStatement.d.ts +7 -0
  337. package/vendor/runtime/dist/prompts/cardStatement.d.ts.map +1 -0
  338. package/vendor/runtime/dist/prompts/cardStatement.js +52 -0
  339. package/vendor/runtime/dist/prompts/chat.d.ts +1 -0
  340. package/vendor/runtime/dist/prompts/chat.d.ts.map +1 -1
  341. package/vendor/runtime/dist/prompts/chat.js +15 -1
  342. package/vendor/runtime/dist/prompts/projectCapture.d.ts +7 -0
  343. package/vendor/runtime/dist/prompts/projectCapture.d.ts.map +1 -0
  344. package/vendor/runtime/dist/prompts/projectCapture.js +31 -0
  345. package/vendor/runtime/src/executor/claudeAgent.ts +133 -7
  346. package/vendor/runtime/src/executor/claudeCode.ts +6 -4
  347. package/vendor/runtime/src/executor/codex.ts +280 -20
  348. package/vendor/runtime/src/executor/codexProtocol/PlanType.ts +5 -0
  349. package/vendor/runtime/src/executor/codexProtocol/v2/CreditsSnapshot.ts +5 -0
  350. package/vendor/runtime/src/executor/codexProtocol/v2/GetAccountRateLimitsResponse.ts +25 -0
  351. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitReachedType.ts +5 -0
  352. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitResetCredit.ts +27 -0
  353. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitResetCreditStatus.ts +5 -0
  354. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitResetCreditsSummary.ts +14 -0
  355. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitResetType.ts +5 -0
  356. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitSnapshot.ts +14 -0
  357. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitWindow.ts +5 -0
  358. package/vendor/runtime/src/executor/codexProtocol/v2/ReviewDelivery.ts +5 -0
  359. package/vendor/runtime/src/executor/codexProtocol/v2/ReviewStartParams.ts +12 -0
  360. package/vendor/runtime/src/executor/codexProtocol/v2/ReviewTarget.ts +9 -0
  361. package/vendor/runtime/src/executor/codexProtocol/v2/SkillDependencies.ts +6 -0
  362. package/vendor/runtime/src/executor/codexProtocol/v2/SkillErrorInfo.ts +5 -0
  363. package/vendor/runtime/src/executor/codexProtocol/v2/SkillInterface.ts +14 -0
  364. package/vendor/runtime/src/executor/codexProtocol/v2/SkillMetadata.ts +17 -0
  365. package/vendor/runtime/src/executor/codexProtocol/v2/SkillScope.ts +5 -0
  366. package/vendor/runtime/src/executor/codexProtocol/v2/SkillToolDependency.ts +5 -0
  367. package/vendor/runtime/src/executor/codexProtocol/v2/SkillsListEntry.ts +7 -0
  368. package/vendor/runtime/src/executor/codexProtocol/v2/SkillsListResponse.ts +6 -0
  369. package/vendor/runtime/src/executor/codexProtocol/v2/SpendControlLimitSnapshot.ts +5 -0
  370. package/vendor/runtime/src/executor/codexProtocol/v2/ThreadSetNameParams.ts +5 -0
  371. package/vendor/runtime/src/executor/health.ts +3 -0
  372. package/vendor/runtime/src/executor/liveTurns.ts +3 -0
  373. package/vendor/runtime/src/executor/providerRouter.ts +2 -1
  374. package/vendor/runtime/src/executor/types.ts +8 -0
  375. package/vendor/runtime/src/harness/index.ts +40 -6
  376. package/vendor/runtime/src/harness/types.ts +4 -1
  377. package/vendor/runtime/src/index.ts +4 -1
  378. package/vendor/runtime/src/journal/context.ts +40 -7
  379. package/vendor/runtime/src/prompts/briefing.ts +62 -17
  380. package/vendor/runtime/src/prompts/cardStatement.ts +64 -0
  381. package/vendor/runtime/src/prompts/chat.ts +25 -3
  382. package/vendor/runtime/src/prompts/projectCapture.ts +51 -0
  383. package/vendor/shared/dist/agentCommands.d.ts +22 -0
  384. package/vendor/shared/dist/agentCommands.d.ts.map +1 -0
  385. package/vendor/shared/dist/agentCommands.js +11 -0
  386. package/vendor/shared/dist/automationTemplates.d.ts +37 -0
  387. package/vendor/shared/dist/automationTemplates.d.ts.map +1 -0
  388. package/vendor/shared/dist/automationTemplates.js +48 -0
  389. package/vendor/shared/dist/automations.d.ts +1052 -0
  390. package/vendor/shared/dist/automations.d.ts.map +1 -0
  391. package/vendor/shared/dist/automations.js +300 -0
  392. package/vendor/shared/dist/cardStatement.d.ts +28 -0
  393. package/vendor/shared/dist/cardStatement.d.ts.map +1 -0
  394. package/vendor/shared/dist/cardStatement.js +37 -0
  395. package/vendor/shared/dist/cardStudio.d.ts +756 -0
  396. package/vendor/shared/dist/cardStudio.d.ts.map +1 -0
  397. package/vendor/shared/dist/cardStudio.js +297 -0
  398. package/vendor/shared/dist/commandLocal.d.ts +218 -0
  399. package/vendor/shared/dist/commandLocal.d.ts.map +1 -0
  400. package/vendor/shared/dist/commandLocal.js +662 -0
  401. package/vendor/shared/dist/commandText.d.ts +12 -0
  402. package/vendor/shared/dist/commandText.d.ts.map +1 -0
  403. package/vendor/shared/dist/commandText.js +21 -0
  404. package/vendor/shared/dist/commands.d.ts +1516 -0
  405. package/vendor/shared/dist/commands.d.ts.map +1 -0
  406. package/vendor/shared/dist/commands.js +231 -0
  407. package/vendor/shared/dist/computer.d.ts +9 -9
  408. package/vendor/shared/dist/computer.d.ts.map +1 -1
  409. package/vendor/shared/dist/computer.js +11 -2
  410. package/vendor/shared/dist/constants.d.ts +3 -3
  411. package/vendor/shared/dist/constants.d.ts.map +1 -1
  412. package/vendor/shared/dist/constants.js +9 -2
  413. package/vendor/shared/dist/githubContributions.d.ts +93 -0
  414. package/vendor/shared/dist/githubContributions.d.ts.map +1 -0
  415. package/vendor/shared/dist/githubContributions.js +54 -0
  416. package/vendor/shared/dist/habitContributions.d.ts +26 -0
  417. package/vendor/shared/dist/habitContributions.d.ts.map +1 -0
  418. package/vendor/shared/dist/habitContributions.js +119 -0
  419. package/vendor/shared/dist/index.d.ts +26 -2
  420. package/vendor/shared/dist/index.d.ts.map +1 -1
  421. package/vendor/shared/dist/index.js +23 -2
  422. package/vendor/shared/dist/journal-migration.d.ts +29 -0
  423. package/vendor/shared/dist/journal-migration.d.ts.map +1 -0
  424. package/vendor/shared/dist/journal-migration.js +73 -0
  425. package/vendor/shared/dist/journal-vault.d.ts +414 -0
  426. package/vendor/shared/dist/journal-vault.d.ts.map +1 -0
  427. package/vendor/shared/dist/journal-vault.js +972 -0
  428. package/vendor/shared/dist/projectCapture.d.ts +73 -0
  429. package/vendor/shared/dist/projectCapture.d.ts.map +1 -0
  430. package/vendor/shared/dist/projectCapture.js +66 -0
  431. package/vendor/shared/dist/quickAdd.d.ts +90 -0
  432. package/vendor/shared/dist/quickAdd.d.ts.map +1 -0
  433. package/vendor/shared/dist/quickAdd.js +260 -0
  434. package/vendor/shared/dist/recurrence.d.ts +44 -0
  435. package/vendor/shared/dist/recurrence.d.ts.map +1 -0
  436. package/vendor/shared/dist/recurrence.js +37 -0
  437. package/vendor/shared/dist/reminderWords.d.ts +11 -0
  438. package/vendor/shared/dist/reminderWords.d.ts.map +1 -0
  439. package/vendor/shared/dist/reminderWords.js +63 -0
  440. package/vendor/shared/dist/schemas/comment.d.ts +13 -1
  441. package/vendor/shared/dist/schemas/comment.d.ts.map +1 -1
  442. package/vendor/shared/dist/schemas/comment.js +5 -0
  443. package/vendor/shared/dist/schemas/conversation.d.ts +3 -3
  444. package/vendor/shared/dist/schemas/harness.d.ts +922 -59
  445. package/vendor/shared/dist/schemas/harness.d.ts.map +1 -1
  446. package/vendor/shared/dist/schemas/harness.js +122 -3
  447. package/vendor/shared/dist/schemas/journal.d.ts +10 -0
  448. package/vendor/shared/dist/schemas/journal.d.ts.map +1 -1
  449. package/vendor/shared/dist/schemas/journal.js +10 -2
  450. package/vendor/shared/dist/schemas/notification.d.ts +1 -1
  451. package/vendor/shared/dist/schemas/organization.d.ts +3 -2
  452. package/vendor/shared/dist/schemas/organization.d.ts.map +1 -1
  453. package/vendor/shared/dist/schemas/organization.js +3 -2
  454. package/vendor/shared/dist/schemas/proposal.d.ts +7 -3
  455. package/vendor/shared/dist/schemas/proposal.d.ts.map +1 -1
  456. package/vendor/shared/dist/schemas/proposal.js +2 -1
  457. package/vendor/shared/dist/schemas/request.d.ts +44 -4
  458. package/vendor/shared/dist/schemas/request.d.ts.map +1 -1
  459. package/vendor/shared/dist/schemas/task.d.ts +83 -8
  460. package/vendor/shared/dist/schemas/task.d.ts.map +1 -1
  461. package/vendor/shared/dist/schemas/task.js +20 -2
  462. package/vendor/shared/dist/schemas/timeSession.d.ts +2 -2
  463. package/vendor/shared/dist/smartCapture.d.ts +60 -0
  464. package/vendor/shared/dist/smartCapture.d.ts.map +1 -0
  465. package/vendor/shared/dist/smartCapture.js +56 -0
  466. package/vendor/shared/dist/speech.d.ts +39 -0
  467. package/vendor/shared/dist/speech.d.ts.map +1 -0
  468. package/vendor/shared/dist/speech.js +36 -0
  469. package/vendor/shared/dist/spokenNames.d.ts +25 -0
  470. package/vendor/shared/dist/spokenNames.d.ts.map +1 -0
  471. package/vendor/shared/dist/spokenNames.js +120 -0
  472. package/vendor/shared/dist/taskActivity.d.ts +76 -0
  473. package/vendor/shared/dist/taskActivity.d.ts.map +1 -0
  474. package/vendor/shared/dist/taskActivity.js +27 -0
  475. package/vendor/shared/dist/vault-search.d.ts +50 -0
  476. package/vendor/shared/dist/vault-search.d.ts.map +1 -0
  477. package/vendor/shared/dist/vault-search.js +177 -0
  478. package/vendor/shared/dist/voiceCapture.d.ts +32 -0
  479. package/vendor/shared/dist/voiceCapture.d.ts.map +1 -0
  480. package/vendor/shared/dist/voiceCapture.js +29 -0
  481. package/vendor/shared/package.json +4 -0
  482. package/vendor/shared/src/agentCommands.ts +35 -0
  483. package/vendor/shared/src/automationTemplates.ts +54 -0
  484. package/vendor/shared/src/automations.ts +329 -0
  485. package/vendor/shared/src/cardStatement.ts +49 -0
  486. package/vendor/shared/src/cardStudio.ts +340 -0
  487. package/vendor/shared/src/commandLocal.ts +738 -0
  488. package/vendor/shared/src/commandText.ts +25 -0
  489. package/vendor/shared/src/commands.ts +253 -0
  490. package/vendor/shared/src/computer.ts +23 -6
  491. package/vendor/shared/src/constants.ts +9 -2
  492. package/vendor/shared/src/githubContributions.ts +70 -0
  493. package/vendor/shared/src/habitContributions.ts +144 -0
  494. package/vendor/shared/src/index.ts +42 -1
  495. package/vendor/shared/src/journal-migration.ts +130 -0
  496. package/vendor/shared/src/journal-vault.ts +1240 -0
  497. package/vendor/shared/src/projectCapture.ts +86 -0
  498. package/vendor/shared/src/quickAdd.ts +310 -0
  499. package/vendor/shared/src/recurrence.ts +37 -0
  500. package/vendor/shared/src/reminderWords.ts +54 -0
  501. package/vendor/shared/src/schemas/comment.ts +5 -0
  502. package/vendor/shared/src/schemas/harness.ts +144 -7
  503. package/vendor/shared/src/schemas/journal.ts +15 -6
  504. package/vendor/shared/src/schemas/organization.ts +3 -2
  505. package/vendor/shared/src/schemas/proposal.ts +6 -1
  506. package/vendor/shared/src/schemas/task.ts +20 -2
  507. package/vendor/shared/src/smartCapture.ts +67 -0
  508. package/vendor/shared/src/speech.ts +44 -0
  509. package/vendor/shared/src/spokenNames.ts +128 -0
  510. package/vendor/shared/src/taskActivity.ts +34 -0
  511. package/vendor/shared/src/vault-search.ts +243 -0
  512. package/vendor/shared/src/voiceCapture.ts +34 -0
@@ -0,0 +1,1516 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Jev commands: one spoken or typed instruction, interpreted by the API and carried out by the
4
+ * phone. Jev never writes anything itself. The API lists what could be meant (screens, tasks,
5
+ * projects, dates, cleaned-up titles), Jev picks from those lists, and the client executes the
6
+ * resulting step with the same mutations its own buttons use.
7
+ */
8
+ /**
9
+ * Places a command can take you. Keys match the tab catalog in `hooks/useTabSlots` where one
10
+ * exists, so the phone can reuse the tab bar's own navigation for them.
11
+ */
12
+ export declare const COMMAND_DESTINATIONS: readonly [{
13
+ readonly key: "dash";
14
+ readonly label: "Dashboard";
15
+ readonly description: "The Dashboard or home screen";
16
+ }, {
17
+ readonly key: "search";
18
+ readonly label: "Tasks";
19
+ readonly description: "The Tasks tab: recent tasks, search and quick capture";
20
+ }, {
21
+ readonly key: "today";
22
+ readonly label: "Today";
23
+ readonly description: "Today: tasks due today and overdue";
24
+ }, {
25
+ readonly key: "inbox";
26
+ readonly label: "Inbox";
27
+ readonly description: "The Inbox: tasks not filed in any project";
28
+ }, {
29
+ readonly key: "projects";
30
+ readonly label: "Projects";
31
+ readonly description: "The list of all projects";
32
+ }, {
33
+ readonly key: "milestones";
34
+ readonly label: "Milestones";
35
+ readonly description: "The list of milestones";
36
+ }, {
37
+ readonly key: "notes";
38
+ readonly label: "Notes";
39
+ readonly description: "Notes";
40
+ }, {
41
+ readonly key: "journal";
42
+ readonly label: "Journal";
43
+ readonly description: "The voice journal";
44
+ }, {
45
+ readonly key: "habits";
46
+ readonly label: "Habits";
47
+ readonly description: "Habits";
48
+ }, {
49
+ readonly key: "chat";
50
+ readonly label: "Messages";
51
+ readonly description: "Messages: direct messages and chats with people";
52
+ }, {
53
+ readonly key: "code";
54
+ readonly label: "Code";
55
+ readonly description: "The Code tab for coding with Lucid";
56
+ }, {
57
+ readonly key: "team";
58
+ readonly label: "Teams";
59
+ readonly description: "Teams: organizations, standups and procurement";
60
+ }, {
61
+ readonly key: "standups";
62
+ readonly label: "Standups";
63
+ readonly description: "Standups in an organization";
64
+ }, {
65
+ readonly key: "procurement";
66
+ readonly label: "Procurement";
67
+ readonly description: "Procurement requests in an organization";
68
+ }, {
69
+ readonly key: "notifications";
70
+ readonly label: "Notifications";
71
+ readonly description: "Notifications";
72
+ }, {
73
+ readonly key: "settings";
74
+ readonly label: "Settings";
75
+ readonly description: "Settings";
76
+ }, {
77
+ readonly key: "voice";
78
+ readonly label: "Voice";
79
+ readonly description: "Settings › Voice: dictation, speech recognition and spoken replies";
80
+ }, {
81
+ readonly key: "computer";
82
+ readonly label: "Computer";
83
+ readonly description: "Settings › Computer: connecting your computer to Lucid";
84
+ }, {
85
+ readonly key: "computer_settings";
86
+ readonly label: "Computer settings";
87
+ readonly description: "Settings for Lucid on your computer";
88
+ }, {
89
+ readonly key: "automations";
90
+ readonly label: "Automations";
91
+ readonly description: "Settings › Automations: what Lucid runs on a schedule";
92
+ }, {
93
+ readonly key: "trash";
94
+ readonly label: "Trash";
95
+ readonly description: "Settings › Trash: restore deleted tasks within 30 days";
96
+ }, {
97
+ readonly key: "apple_watch";
98
+ readonly label: "Apple Watch";
99
+ readonly description: "Settings › Apple Watch";
100
+ }, {
101
+ readonly key: "tab_bar";
102
+ readonly label: "Tab bar";
103
+ readonly description: "Settings › Tab bar: which places sit on the bar";
104
+ }, {
105
+ readonly key: "organizations";
106
+ readonly label: "Organizations";
107
+ readonly description: "Settings › Organizations: create, join and manage them";
108
+ }, {
109
+ readonly key: "api_key";
110
+ readonly label: "API key";
111
+ readonly description: "Settings › API key";
112
+ }, {
113
+ readonly key: "profile";
114
+ readonly label: "Profile";
115
+ readonly description: "Your profile";
116
+ }, {
117
+ readonly key: "edit_profile";
118
+ readonly label: "Edit profile";
119
+ readonly description: "Editing your name, handle and bio";
120
+ }, {
121
+ readonly key: "connections";
122
+ readonly label: "Connections";
123
+ readonly description: "People you are connected with, and adding someone";
124
+ }, {
125
+ readonly key: "review";
126
+ readonly label: "Review";
127
+ readonly description: "What Lucid inferred from the journal and habits, waiting for a yes or no";
128
+ }, {
129
+ readonly key: "weekly_review";
130
+ readonly label: "Week in view";
131
+ readonly description: "A look back at the week";
132
+ }, {
133
+ readonly key: "focus";
134
+ readonly label: "Focus";
135
+ readonly description: "The focus timer";
136
+ }, {
137
+ readonly key: "card_studio";
138
+ readonly label: "Card Studio";
139
+ readonly description: "Choosing the cards on the Dashboard";
140
+ }, {
141
+ readonly key: "ask_lucid";
142
+ readonly label: "Lucid";
143
+ readonly description: "A conversation with Lucid on your computer";
144
+ }];
145
+ export type CommandDestination = (typeof COMMAND_DESTINATIONS)[number]['key'];
146
+ /**
147
+ * The place each one sits under, so "voice settings" and "settings voice" find Voice without an
148
+ * alias for every pair.
149
+ */
150
+ export declare const DESTINATION_PARENTS: Partial<Record<CommandDestination, CommandDestination>>;
151
+ /** Places every organization has its own of. Going to one needs to know which organization. */
152
+ export declare const ORGANIZATION_DESTINATIONS: readonly CommandDestination[];
153
+ declare const ItemKind: z.ZodEnum<{
154
+ task: "task";
155
+ project: "project";
156
+ milestone: "milestone";
157
+ }>;
158
+ export type CommandItemKind = z.infer<typeof ItemKind>;
159
+ /** What the screen you're looking at shows, top to bottom. What "here" and "the first one" mean. */
160
+ export declare const CommandScreenSchema: z.ZodObject<{
161
+ name: z.ZodString;
162
+ title: z.ZodOptional<z.ZodString>;
163
+ projectId: z.ZodOptional<z.ZodUUID>;
164
+ milestoneId: z.ZodOptional<z.ZodUUID>;
165
+ items: z.ZodArray<z.ZodObject<{
166
+ kind: z.ZodEnum<{
167
+ task: "task";
168
+ project: "project";
169
+ milestone: "milestone";
170
+ }>;
171
+ id: z.ZodUUID;
172
+ title: z.ZodString;
173
+ }, z.core.$strip>>;
174
+ }, z.core.$strip>;
175
+ export type CommandScreen = z.infer<typeof CommandScreenSchema>;
176
+ export declare const CommandRequestSchema: z.ZodObject<{
177
+ text: z.ZodString;
178
+ capturedAt: z.ZodISODateTime;
179
+ timeZone: z.ZodString;
180
+ screen: z.ZodOptional<z.ZodObject<{
181
+ name: z.ZodString;
182
+ title: z.ZodOptional<z.ZodString>;
183
+ projectId: z.ZodOptional<z.ZodUUID>;
184
+ milestoneId: z.ZodOptional<z.ZodUUID>;
185
+ items: z.ZodArray<z.ZodObject<{
186
+ kind: z.ZodEnum<{
187
+ task: "task";
188
+ project: "project";
189
+ milestone: "milestone";
190
+ }>;
191
+ id: z.ZodUUID;
192
+ title: z.ZodString;
193
+ }, z.core.$strip>>;
194
+ }, z.core.$strip>>;
195
+ recentTaskIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
196
+ single: z.ZodOptional<z.ZodBoolean>;
197
+ supportsRecurringReminders: z.ZodOptional<z.ZodBoolean>;
198
+ }, z.core.$strip>;
199
+ export type CommandRequest = z.infer<typeof CommandRequestSchema>;
200
+ declare const Ref: z.ZodObject<{
201
+ id: z.ZodUUID;
202
+ title: z.ZodString;
203
+ }, z.core.$strip>;
204
+ export type CommandRef = z.infer<typeof Ref>;
205
+ /** Everything a step can be. Every step except `clarify`, `lucid` and `unclear` is directly executable. */
206
+ declare const ExecutableStep: z.ZodDiscriminatedUnion<[z.ZodObject<{
207
+ kind: z.ZodLiteral<"navigate">;
208
+ destination: z.ZodEnum<{
209
+ search: "search";
210
+ today: "today";
211
+ journal: "journal";
212
+ notes: "notes";
213
+ review: "review";
214
+ connections: "connections";
215
+ habits: "habits";
216
+ focus: "focus";
217
+ code: "code";
218
+ projects: "projects";
219
+ team: "team";
220
+ settings: "settings";
221
+ profile: "profile";
222
+ chat: "chat";
223
+ inbox: "inbox";
224
+ milestones: "milestones";
225
+ voice: "voice";
226
+ dash: "dash";
227
+ standups: "standups";
228
+ procurement: "procurement";
229
+ notifications: "notifications";
230
+ computer: "computer";
231
+ computer_settings: "computer_settings";
232
+ automations: "automations";
233
+ trash: "trash";
234
+ apple_watch: "apple_watch";
235
+ tab_bar: "tab_bar";
236
+ organizations: "organizations";
237
+ api_key: "api_key";
238
+ edit_profile: "edit_profile";
239
+ weekly_review: "weekly_review";
240
+ card_studio: "card_studio";
241
+ ask_lucid: "ask_lucid";
242
+ }>;
243
+ organizationId: z.ZodOptional<z.ZodUUID>;
244
+ }, z.core.$strip>, z.ZodObject<{
245
+ kind: z.ZodLiteral<"open">;
246
+ item: z.ZodObject<{
247
+ id: z.ZodUUID;
248
+ title: z.ZodString;
249
+ kind: z.ZodEnum<{
250
+ task: "task";
251
+ project: "project";
252
+ milestone: "milestone";
253
+ }>;
254
+ }, z.core.$strip>;
255
+ }, z.core.$strip>, z.ZodObject<{
256
+ kind: z.ZodLiteral<"back">;
257
+ }, z.core.$strip>, z.ZodObject<{
258
+ milestoneId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
259
+ dueDate: z.ZodNullable<z.ZodString>;
260
+ dueDatePrecision: z.ZodNullable<z.ZodEnum<{
261
+ time: "time";
262
+ date: "date";
263
+ }>>;
264
+ dueTimeZone: z.ZodNullable<z.ZodString>;
265
+ dueLabel: z.ZodNullable<z.ZodString>;
266
+ projectId: z.ZodNullable<z.ZodUUID>;
267
+ projectName: z.ZodNullable<z.ZodString>;
268
+ kind: z.ZodLiteral<"create_task">;
269
+ title: z.ZodString;
270
+ }, z.core.$strip>, z.ZodObject<{
271
+ kind: z.ZodLiteral<"create_project">;
272
+ name: z.ZodString;
273
+ }, z.core.$strip>, z.ZodObject<{
274
+ kind: z.ZodLiteral<"complete">;
275
+ task: z.ZodObject<{
276
+ id: z.ZodUUID;
277
+ title: z.ZodString;
278
+ }, z.core.$strip>;
279
+ }, z.core.$strip>, z.ZodObject<{
280
+ kind: z.ZodLiteral<"reopen">;
281
+ task: z.ZodObject<{
282
+ id: z.ZodUUID;
283
+ title: z.ZodString;
284
+ }, z.core.$strip>;
285
+ }, z.core.$strip>, z.ZodObject<{
286
+ kind: z.ZodLiteral<"start">;
287
+ task: z.ZodObject<{
288
+ id: z.ZodUUID;
289
+ title: z.ZodString;
290
+ }, z.core.$strip>;
291
+ }, z.core.$strip>, z.ZodObject<{
292
+ kind: z.ZodLiteral<"delete">;
293
+ task: z.ZodObject<{
294
+ id: z.ZodUUID;
295
+ title: z.ZodString;
296
+ }, z.core.$strip>;
297
+ }, z.core.$strip>, z.ZodObject<{
298
+ dueDate: z.ZodNullable<z.ZodString>;
299
+ dueDatePrecision: z.ZodNullable<z.ZodEnum<{
300
+ time: "time";
301
+ date: "date";
302
+ }>>;
303
+ dueTimeZone: z.ZodNullable<z.ZodString>;
304
+ dueLabel: z.ZodNullable<z.ZodString>;
305
+ kind: z.ZodLiteral<"reschedule">;
306
+ task: z.ZodObject<{
307
+ id: z.ZodUUID;
308
+ title: z.ZodString;
309
+ }, z.core.$strip>;
310
+ }, z.core.$strip>, z.ZodObject<{
311
+ projectId: z.ZodNullable<z.ZodUUID>;
312
+ projectName: z.ZodNullable<z.ZodString>;
313
+ kind: z.ZodLiteral<"move">;
314
+ task: z.ZodObject<{
315
+ id: z.ZodUUID;
316
+ title: z.ZodString;
317
+ }, z.core.$strip>;
318
+ }, z.core.$strip>, z.ZodObject<{
319
+ kind: z.ZodLiteral<"comment">;
320
+ task: z.ZodObject<{
321
+ id: z.ZodUUID;
322
+ title: z.ZodString;
323
+ }, z.core.$strip>;
324
+ text: z.ZodString;
325
+ }, z.core.$strip>, z.ZodObject<{
326
+ kind: z.ZodLiteral<"add_subtasks">;
327
+ task: z.ZodObject<{
328
+ id: z.ZodUUID;
329
+ title: z.ZodString;
330
+ }, z.core.$strip>;
331
+ titles: z.ZodArray<z.ZodString>;
332
+ }, z.core.$strip>, z.ZodObject<{
333
+ kind: z.ZodLiteral<"rename">;
334
+ task: z.ZodObject<{
335
+ id: z.ZodUUID;
336
+ title: z.ZodString;
337
+ }, z.core.$strip>;
338
+ title: z.ZodString;
339
+ }, z.core.$strip>, z.ZodObject<{
340
+ kind: z.ZodLiteral<"set_status">;
341
+ task: z.ZodObject<{
342
+ id: z.ZodUUID;
343
+ title: z.ZodString;
344
+ }, z.core.$strip>;
345
+ status: z.ZodEnum<{
346
+ blocked: "blocked";
347
+ pending: "pending";
348
+ deferred: "deferred";
349
+ }>;
350
+ }, z.core.$strip>, z.ZodObject<{
351
+ kind: z.ZodLiteral<"priority">;
352
+ task: z.ZodObject<{
353
+ id: z.ZodUUID;
354
+ title: z.ZodString;
355
+ }, z.core.$strip>;
356
+ priority: z.ZodNumber;
357
+ }, z.core.$strip>, z.ZodObject<{
358
+ kind: z.ZodLiteral<"repeat">;
359
+ task: z.ZodObject<{
360
+ id: z.ZodUUID;
361
+ title: z.ZodString;
362
+ }, z.core.$strip>;
363
+ frequency: z.ZodNullable<z.ZodEnum<{
364
+ daily: "daily";
365
+ weekly: "weekly";
366
+ monthly: "monthly";
367
+ yearly: "yearly";
368
+ }>>;
369
+ }, z.core.$strip>, z.ZodObject<{
370
+ kind: z.ZodLiteral<"remind">;
371
+ task: z.ZodObject<{
372
+ id: z.ZodUUID;
373
+ title: z.ZodString;
374
+ }, z.core.$strip>;
375
+ reminderAt: z.ZodNullable<z.ZodString>;
376
+ reminderLabel: z.ZodNullable<z.ZodString>;
377
+ }, z.core.$strip>, z.ZodObject<{
378
+ kind: z.ZodLiteral<"remind_recurring">;
379
+ task: z.ZodObject<{
380
+ id: z.ZodUUID;
381
+ title: z.ZodString;
382
+ }, z.core.$strip>;
383
+ rule: z.ZodObject<{
384
+ daysBefore: z.ZodNumber;
385
+ time: z.ZodString;
386
+ }, z.core.$strip>;
387
+ }, z.core.$strip>, z.ZodObject<{
388
+ kind: z.ZodLiteral<"delete_project">;
389
+ project: z.ZodObject<{
390
+ id: z.ZodUUID;
391
+ title: z.ZodString;
392
+ }, z.core.$strip>;
393
+ }, z.core.$strip>, z.ZodObject<{
394
+ kind: z.ZodLiteral<"archive_project">;
395
+ project: z.ZodObject<{
396
+ id: z.ZodUUID;
397
+ title: z.ZodString;
398
+ }, z.core.$strip>;
399
+ }, z.core.$strip>, z.ZodObject<{
400
+ kind: z.ZodLiteral<"rename_project">;
401
+ project: z.ZodObject<{
402
+ id: z.ZodUUID;
403
+ title: z.ZodString;
404
+ }, z.core.$strip>;
405
+ name: z.ZodString;
406
+ }, z.core.$strip>, z.ZodObject<{
407
+ kind: z.ZodLiteral<"read">;
408
+ task: z.ZodObject<{
409
+ id: z.ZodUUID;
410
+ title: z.ZodString;
411
+ }, z.core.$strip>;
412
+ what: z.ZodEnum<{
413
+ description: "description";
414
+ all: "all";
415
+ comments: "comments";
416
+ }>;
417
+ }, z.core.$strip>, z.ZodObject<{
418
+ kind: z.ZodLiteral<"set_milestone">;
419
+ task: z.ZodObject<{
420
+ id: z.ZodUUID;
421
+ title: z.ZodString;
422
+ }, z.core.$strip>;
423
+ milestoneId: z.ZodNullable<z.ZodUUID>;
424
+ milestoneName: z.ZodNullable<z.ZodString>;
425
+ }, z.core.$strip>, z.ZodObject<{
426
+ kind: z.ZodLiteral<"describe">;
427
+ task: z.ZodObject<{
428
+ id: z.ZodUUID;
429
+ title: z.ZodString;
430
+ }, z.core.$strip>;
431
+ description: z.ZodNullable<z.ZodString>;
432
+ append: z.ZodBoolean;
433
+ }, z.core.$strip>, z.ZodObject<{
434
+ kind: z.ZodLiteral<"list">;
435
+ title: z.ZodString;
436
+ tasks: z.ZodArray<z.ZodObject<{
437
+ id: z.ZodUUID;
438
+ title: z.ZodString;
439
+ due: z.ZodNullable<z.ZodString>;
440
+ }, z.core.$strip>>;
441
+ }, z.core.$strip>], "kind">;
442
+ export type CommandExecutableStep = z.infer<typeof ExecutableStep>;
443
+ export declare const CommandStepSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
444
+ kind: z.ZodLiteral<"navigate">;
445
+ destination: z.ZodEnum<{
446
+ search: "search";
447
+ today: "today";
448
+ journal: "journal";
449
+ notes: "notes";
450
+ review: "review";
451
+ connections: "connections";
452
+ habits: "habits";
453
+ focus: "focus";
454
+ code: "code";
455
+ projects: "projects";
456
+ team: "team";
457
+ settings: "settings";
458
+ profile: "profile";
459
+ chat: "chat";
460
+ inbox: "inbox";
461
+ milestones: "milestones";
462
+ voice: "voice";
463
+ dash: "dash";
464
+ standups: "standups";
465
+ procurement: "procurement";
466
+ notifications: "notifications";
467
+ computer: "computer";
468
+ computer_settings: "computer_settings";
469
+ automations: "automations";
470
+ trash: "trash";
471
+ apple_watch: "apple_watch";
472
+ tab_bar: "tab_bar";
473
+ organizations: "organizations";
474
+ api_key: "api_key";
475
+ edit_profile: "edit_profile";
476
+ weekly_review: "weekly_review";
477
+ card_studio: "card_studio";
478
+ ask_lucid: "ask_lucid";
479
+ }>;
480
+ organizationId: z.ZodOptional<z.ZodUUID>;
481
+ }, z.core.$strip>, z.ZodObject<{
482
+ kind: z.ZodLiteral<"open">;
483
+ item: z.ZodObject<{
484
+ id: z.ZodUUID;
485
+ title: z.ZodString;
486
+ kind: z.ZodEnum<{
487
+ task: "task";
488
+ project: "project";
489
+ milestone: "milestone";
490
+ }>;
491
+ }, z.core.$strip>;
492
+ }, z.core.$strip>, z.ZodObject<{
493
+ kind: z.ZodLiteral<"back">;
494
+ }, z.core.$strip>, z.ZodObject<{
495
+ milestoneId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
496
+ dueDate: z.ZodNullable<z.ZodString>;
497
+ dueDatePrecision: z.ZodNullable<z.ZodEnum<{
498
+ time: "time";
499
+ date: "date";
500
+ }>>;
501
+ dueTimeZone: z.ZodNullable<z.ZodString>;
502
+ dueLabel: z.ZodNullable<z.ZodString>;
503
+ projectId: z.ZodNullable<z.ZodUUID>;
504
+ projectName: z.ZodNullable<z.ZodString>;
505
+ kind: z.ZodLiteral<"create_task">;
506
+ title: z.ZodString;
507
+ }, z.core.$strip>, z.ZodObject<{
508
+ kind: z.ZodLiteral<"create_project">;
509
+ name: z.ZodString;
510
+ }, z.core.$strip>, z.ZodObject<{
511
+ kind: z.ZodLiteral<"complete">;
512
+ task: z.ZodObject<{
513
+ id: z.ZodUUID;
514
+ title: z.ZodString;
515
+ }, z.core.$strip>;
516
+ }, z.core.$strip>, z.ZodObject<{
517
+ kind: z.ZodLiteral<"reopen">;
518
+ task: z.ZodObject<{
519
+ id: z.ZodUUID;
520
+ title: z.ZodString;
521
+ }, z.core.$strip>;
522
+ }, z.core.$strip>, z.ZodObject<{
523
+ kind: z.ZodLiteral<"start">;
524
+ task: z.ZodObject<{
525
+ id: z.ZodUUID;
526
+ title: z.ZodString;
527
+ }, z.core.$strip>;
528
+ }, z.core.$strip>, z.ZodObject<{
529
+ kind: z.ZodLiteral<"delete">;
530
+ task: z.ZodObject<{
531
+ id: z.ZodUUID;
532
+ title: z.ZodString;
533
+ }, z.core.$strip>;
534
+ }, z.core.$strip>, z.ZodObject<{
535
+ dueDate: z.ZodNullable<z.ZodString>;
536
+ dueDatePrecision: z.ZodNullable<z.ZodEnum<{
537
+ time: "time";
538
+ date: "date";
539
+ }>>;
540
+ dueTimeZone: z.ZodNullable<z.ZodString>;
541
+ dueLabel: z.ZodNullable<z.ZodString>;
542
+ kind: z.ZodLiteral<"reschedule">;
543
+ task: z.ZodObject<{
544
+ id: z.ZodUUID;
545
+ title: z.ZodString;
546
+ }, z.core.$strip>;
547
+ }, z.core.$strip>, z.ZodObject<{
548
+ projectId: z.ZodNullable<z.ZodUUID>;
549
+ projectName: z.ZodNullable<z.ZodString>;
550
+ kind: z.ZodLiteral<"move">;
551
+ task: z.ZodObject<{
552
+ id: z.ZodUUID;
553
+ title: z.ZodString;
554
+ }, z.core.$strip>;
555
+ }, z.core.$strip>, z.ZodObject<{
556
+ kind: z.ZodLiteral<"comment">;
557
+ task: z.ZodObject<{
558
+ id: z.ZodUUID;
559
+ title: z.ZodString;
560
+ }, z.core.$strip>;
561
+ text: z.ZodString;
562
+ }, z.core.$strip>, z.ZodObject<{
563
+ kind: z.ZodLiteral<"add_subtasks">;
564
+ task: z.ZodObject<{
565
+ id: z.ZodUUID;
566
+ title: z.ZodString;
567
+ }, z.core.$strip>;
568
+ titles: z.ZodArray<z.ZodString>;
569
+ }, z.core.$strip>, z.ZodObject<{
570
+ kind: z.ZodLiteral<"rename">;
571
+ task: z.ZodObject<{
572
+ id: z.ZodUUID;
573
+ title: z.ZodString;
574
+ }, z.core.$strip>;
575
+ title: z.ZodString;
576
+ }, z.core.$strip>, z.ZodObject<{
577
+ kind: z.ZodLiteral<"set_status">;
578
+ task: z.ZodObject<{
579
+ id: z.ZodUUID;
580
+ title: z.ZodString;
581
+ }, z.core.$strip>;
582
+ status: z.ZodEnum<{
583
+ blocked: "blocked";
584
+ pending: "pending";
585
+ deferred: "deferred";
586
+ }>;
587
+ }, z.core.$strip>, z.ZodObject<{
588
+ kind: z.ZodLiteral<"priority">;
589
+ task: z.ZodObject<{
590
+ id: z.ZodUUID;
591
+ title: z.ZodString;
592
+ }, z.core.$strip>;
593
+ priority: z.ZodNumber;
594
+ }, z.core.$strip>, z.ZodObject<{
595
+ kind: z.ZodLiteral<"repeat">;
596
+ task: z.ZodObject<{
597
+ id: z.ZodUUID;
598
+ title: z.ZodString;
599
+ }, z.core.$strip>;
600
+ frequency: z.ZodNullable<z.ZodEnum<{
601
+ daily: "daily";
602
+ weekly: "weekly";
603
+ monthly: "monthly";
604
+ yearly: "yearly";
605
+ }>>;
606
+ }, z.core.$strip>, z.ZodObject<{
607
+ kind: z.ZodLiteral<"remind">;
608
+ task: z.ZodObject<{
609
+ id: z.ZodUUID;
610
+ title: z.ZodString;
611
+ }, z.core.$strip>;
612
+ reminderAt: z.ZodNullable<z.ZodString>;
613
+ reminderLabel: z.ZodNullable<z.ZodString>;
614
+ }, z.core.$strip>, z.ZodObject<{
615
+ kind: z.ZodLiteral<"remind_recurring">;
616
+ task: z.ZodObject<{
617
+ id: z.ZodUUID;
618
+ title: z.ZodString;
619
+ }, z.core.$strip>;
620
+ rule: z.ZodObject<{
621
+ daysBefore: z.ZodNumber;
622
+ time: z.ZodString;
623
+ }, z.core.$strip>;
624
+ }, z.core.$strip>, z.ZodObject<{
625
+ kind: z.ZodLiteral<"delete_project">;
626
+ project: z.ZodObject<{
627
+ id: z.ZodUUID;
628
+ title: z.ZodString;
629
+ }, z.core.$strip>;
630
+ }, z.core.$strip>, z.ZodObject<{
631
+ kind: z.ZodLiteral<"archive_project">;
632
+ project: z.ZodObject<{
633
+ id: z.ZodUUID;
634
+ title: z.ZodString;
635
+ }, z.core.$strip>;
636
+ }, z.core.$strip>, z.ZodObject<{
637
+ kind: z.ZodLiteral<"rename_project">;
638
+ project: z.ZodObject<{
639
+ id: z.ZodUUID;
640
+ title: z.ZodString;
641
+ }, z.core.$strip>;
642
+ name: z.ZodString;
643
+ }, z.core.$strip>, z.ZodObject<{
644
+ kind: z.ZodLiteral<"read">;
645
+ task: z.ZodObject<{
646
+ id: z.ZodUUID;
647
+ title: z.ZodString;
648
+ }, z.core.$strip>;
649
+ what: z.ZodEnum<{
650
+ description: "description";
651
+ all: "all";
652
+ comments: "comments";
653
+ }>;
654
+ }, z.core.$strip>, z.ZodObject<{
655
+ kind: z.ZodLiteral<"set_milestone">;
656
+ task: z.ZodObject<{
657
+ id: z.ZodUUID;
658
+ title: z.ZodString;
659
+ }, z.core.$strip>;
660
+ milestoneId: z.ZodNullable<z.ZodUUID>;
661
+ milestoneName: z.ZodNullable<z.ZodString>;
662
+ }, z.core.$strip>, z.ZodObject<{
663
+ kind: z.ZodLiteral<"describe">;
664
+ task: z.ZodObject<{
665
+ id: z.ZodUUID;
666
+ title: z.ZodString;
667
+ }, z.core.$strip>;
668
+ description: z.ZodNullable<z.ZodString>;
669
+ append: z.ZodBoolean;
670
+ }, z.core.$strip>, z.ZodObject<{
671
+ kind: z.ZodLiteral<"list">;
672
+ title: z.ZodString;
673
+ tasks: z.ZodArray<z.ZodObject<{
674
+ id: z.ZodUUID;
675
+ title: z.ZodString;
676
+ due: z.ZodNullable<z.ZodString>;
677
+ }, z.core.$strip>>;
678
+ }, z.core.$strip>], "kind">, z.ZodObject<{
679
+ kind: z.ZodLiteral<"clarify">;
680
+ question: z.ZodString;
681
+ options: z.ZodArray<z.ZodObject<{
682
+ label: z.ZodString;
683
+ step: z.ZodDiscriminatedUnion<[z.ZodObject<{
684
+ kind: z.ZodLiteral<"navigate">;
685
+ destination: z.ZodEnum<{
686
+ search: "search";
687
+ today: "today";
688
+ journal: "journal";
689
+ notes: "notes";
690
+ review: "review";
691
+ connections: "connections";
692
+ habits: "habits";
693
+ focus: "focus";
694
+ code: "code";
695
+ projects: "projects";
696
+ team: "team";
697
+ settings: "settings";
698
+ profile: "profile";
699
+ chat: "chat";
700
+ inbox: "inbox";
701
+ milestones: "milestones";
702
+ voice: "voice";
703
+ dash: "dash";
704
+ standups: "standups";
705
+ procurement: "procurement";
706
+ notifications: "notifications";
707
+ computer: "computer";
708
+ computer_settings: "computer_settings";
709
+ automations: "automations";
710
+ trash: "trash";
711
+ apple_watch: "apple_watch";
712
+ tab_bar: "tab_bar";
713
+ organizations: "organizations";
714
+ api_key: "api_key";
715
+ edit_profile: "edit_profile";
716
+ weekly_review: "weekly_review";
717
+ card_studio: "card_studio";
718
+ ask_lucid: "ask_lucid";
719
+ }>;
720
+ organizationId: z.ZodOptional<z.ZodUUID>;
721
+ }, z.core.$strip>, z.ZodObject<{
722
+ kind: z.ZodLiteral<"open">;
723
+ item: z.ZodObject<{
724
+ id: z.ZodUUID;
725
+ title: z.ZodString;
726
+ kind: z.ZodEnum<{
727
+ task: "task";
728
+ project: "project";
729
+ milestone: "milestone";
730
+ }>;
731
+ }, z.core.$strip>;
732
+ }, z.core.$strip>, z.ZodObject<{
733
+ kind: z.ZodLiteral<"back">;
734
+ }, z.core.$strip>, z.ZodObject<{
735
+ milestoneId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
736
+ dueDate: z.ZodNullable<z.ZodString>;
737
+ dueDatePrecision: z.ZodNullable<z.ZodEnum<{
738
+ time: "time";
739
+ date: "date";
740
+ }>>;
741
+ dueTimeZone: z.ZodNullable<z.ZodString>;
742
+ dueLabel: z.ZodNullable<z.ZodString>;
743
+ projectId: z.ZodNullable<z.ZodUUID>;
744
+ projectName: z.ZodNullable<z.ZodString>;
745
+ kind: z.ZodLiteral<"create_task">;
746
+ title: z.ZodString;
747
+ }, z.core.$strip>, z.ZodObject<{
748
+ kind: z.ZodLiteral<"create_project">;
749
+ name: z.ZodString;
750
+ }, z.core.$strip>, z.ZodObject<{
751
+ kind: z.ZodLiteral<"complete">;
752
+ task: z.ZodObject<{
753
+ id: z.ZodUUID;
754
+ title: z.ZodString;
755
+ }, z.core.$strip>;
756
+ }, z.core.$strip>, z.ZodObject<{
757
+ kind: z.ZodLiteral<"reopen">;
758
+ task: z.ZodObject<{
759
+ id: z.ZodUUID;
760
+ title: z.ZodString;
761
+ }, z.core.$strip>;
762
+ }, z.core.$strip>, z.ZodObject<{
763
+ kind: z.ZodLiteral<"start">;
764
+ task: z.ZodObject<{
765
+ id: z.ZodUUID;
766
+ title: z.ZodString;
767
+ }, z.core.$strip>;
768
+ }, z.core.$strip>, z.ZodObject<{
769
+ kind: z.ZodLiteral<"delete">;
770
+ task: z.ZodObject<{
771
+ id: z.ZodUUID;
772
+ title: z.ZodString;
773
+ }, z.core.$strip>;
774
+ }, z.core.$strip>, z.ZodObject<{
775
+ dueDate: z.ZodNullable<z.ZodString>;
776
+ dueDatePrecision: z.ZodNullable<z.ZodEnum<{
777
+ time: "time";
778
+ date: "date";
779
+ }>>;
780
+ dueTimeZone: z.ZodNullable<z.ZodString>;
781
+ dueLabel: z.ZodNullable<z.ZodString>;
782
+ kind: z.ZodLiteral<"reschedule">;
783
+ task: z.ZodObject<{
784
+ id: z.ZodUUID;
785
+ title: z.ZodString;
786
+ }, z.core.$strip>;
787
+ }, z.core.$strip>, z.ZodObject<{
788
+ projectId: z.ZodNullable<z.ZodUUID>;
789
+ projectName: z.ZodNullable<z.ZodString>;
790
+ kind: z.ZodLiteral<"move">;
791
+ task: z.ZodObject<{
792
+ id: z.ZodUUID;
793
+ title: z.ZodString;
794
+ }, z.core.$strip>;
795
+ }, z.core.$strip>, z.ZodObject<{
796
+ kind: z.ZodLiteral<"comment">;
797
+ task: z.ZodObject<{
798
+ id: z.ZodUUID;
799
+ title: z.ZodString;
800
+ }, z.core.$strip>;
801
+ text: z.ZodString;
802
+ }, z.core.$strip>, z.ZodObject<{
803
+ kind: z.ZodLiteral<"add_subtasks">;
804
+ task: z.ZodObject<{
805
+ id: z.ZodUUID;
806
+ title: z.ZodString;
807
+ }, z.core.$strip>;
808
+ titles: z.ZodArray<z.ZodString>;
809
+ }, z.core.$strip>, z.ZodObject<{
810
+ kind: z.ZodLiteral<"rename">;
811
+ task: z.ZodObject<{
812
+ id: z.ZodUUID;
813
+ title: z.ZodString;
814
+ }, z.core.$strip>;
815
+ title: z.ZodString;
816
+ }, z.core.$strip>, z.ZodObject<{
817
+ kind: z.ZodLiteral<"set_status">;
818
+ task: z.ZodObject<{
819
+ id: z.ZodUUID;
820
+ title: z.ZodString;
821
+ }, z.core.$strip>;
822
+ status: z.ZodEnum<{
823
+ blocked: "blocked";
824
+ pending: "pending";
825
+ deferred: "deferred";
826
+ }>;
827
+ }, z.core.$strip>, z.ZodObject<{
828
+ kind: z.ZodLiteral<"priority">;
829
+ task: z.ZodObject<{
830
+ id: z.ZodUUID;
831
+ title: z.ZodString;
832
+ }, z.core.$strip>;
833
+ priority: z.ZodNumber;
834
+ }, z.core.$strip>, z.ZodObject<{
835
+ kind: z.ZodLiteral<"repeat">;
836
+ task: z.ZodObject<{
837
+ id: z.ZodUUID;
838
+ title: z.ZodString;
839
+ }, z.core.$strip>;
840
+ frequency: z.ZodNullable<z.ZodEnum<{
841
+ daily: "daily";
842
+ weekly: "weekly";
843
+ monthly: "monthly";
844
+ yearly: "yearly";
845
+ }>>;
846
+ }, z.core.$strip>, z.ZodObject<{
847
+ kind: z.ZodLiteral<"remind">;
848
+ task: z.ZodObject<{
849
+ id: z.ZodUUID;
850
+ title: z.ZodString;
851
+ }, z.core.$strip>;
852
+ reminderAt: z.ZodNullable<z.ZodString>;
853
+ reminderLabel: z.ZodNullable<z.ZodString>;
854
+ }, z.core.$strip>, z.ZodObject<{
855
+ kind: z.ZodLiteral<"remind_recurring">;
856
+ task: z.ZodObject<{
857
+ id: z.ZodUUID;
858
+ title: z.ZodString;
859
+ }, z.core.$strip>;
860
+ rule: z.ZodObject<{
861
+ daysBefore: z.ZodNumber;
862
+ time: z.ZodString;
863
+ }, z.core.$strip>;
864
+ }, z.core.$strip>, z.ZodObject<{
865
+ kind: z.ZodLiteral<"delete_project">;
866
+ project: z.ZodObject<{
867
+ id: z.ZodUUID;
868
+ title: z.ZodString;
869
+ }, z.core.$strip>;
870
+ }, z.core.$strip>, z.ZodObject<{
871
+ kind: z.ZodLiteral<"archive_project">;
872
+ project: z.ZodObject<{
873
+ id: z.ZodUUID;
874
+ title: z.ZodString;
875
+ }, z.core.$strip>;
876
+ }, z.core.$strip>, z.ZodObject<{
877
+ kind: z.ZodLiteral<"rename_project">;
878
+ project: z.ZodObject<{
879
+ id: z.ZodUUID;
880
+ title: z.ZodString;
881
+ }, z.core.$strip>;
882
+ name: z.ZodString;
883
+ }, z.core.$strip>, z.ZodObject<{
884
+ kind: z.ZodLiteral<"read">;
885
+ task: z.ZodObject<{
886
+ id: z.ZodUUID;
887
+ title: z.ZodString;
888
+ }, z.core.$strip>;
889
+ what: z.ZodEnum<{
890
+ description: "description";
891
+ all: "all";
892
+ comments: "comments";
893
+ }>;
894
+ }, z.core.$strip>, z.ZodObject<{
895
+ kind: z.ZodLiteral<"set_milestone">;
896
+ task: z.ZodObject<{
897
+ id: z.ZodUUID;
898
+ title: z.ZodString;
899
+ }, z.core.$strip>;
900
+ milestoneId: z.ZodNullable<z.ZodUUID>;
901
+ milestoneName: z.ZodNullable<z.ZodString>;
902
+ }, z.core.$strip>, z.ZodObject<{
903
+ kind: z.ZodLiteral<"describe">;
904
+ task: z.ZodObject<{
905
+ id: z.ZodUUID;
906
+ title: z.ZodString;
907
+ }, z.core.$strip>;
908
+ description: z.ZodNullable<z.ZodString>;
909
+ append: z.ZodBoolean;
910
+ }, z.core.$strip>, z.ZodObject<{
911
+ kind: z.ZodLiteral<"list">;
912
+ title: z.ZodString;
913
+ tasks: z.ZodArray<z.ZodObject<{
914
+ id: z.ZodUUID;
915
+ title: z.ZodString;
916
+ due: z.ZodNullable<z.ZodString>;
917
+ }, z.core.$strip>>;
918
+ }, z.core.$strip>], "kind">;
919
+ }, z.core.$strip>>;
920
+ }, z.core.$strip>, z.ZodObject<{
921
+ kind: z.ZodLiteral<"lucid">;
922
+ }, z.core.$strip>, z.ZodObject<{
923
+ kind: z.ZodLiteral<"unclear">;
924
+ }, z.core.$strip>]>;
925
+ export type CommandStep = z.infer<typeof CommandStepSchema>;
926
+ /**
927
+ * What Jev made of one instruction, returned with the step so the phone can record it: each
928
+ * call's answers as "choice@confidence" per question ("edit@0.80"), or the reason a call failed.
929
+ */
930
+ export declare const CommandTraceSchema: z.ZodObject<{
931
+ calls: z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodString]>>;
932
+ attempts: z.ZodNumber;
933
+ gatherMs: z.ZodNumber;
934
+ jevMs: z.ZodNumber;
935
+ }, z.core.$strip>;
936
+ export type CommandTrace = z.infer<typeof CommandTraceSchema>;
937
+ export declare const CommandResponseSchema: z.ZodObject<{
938
+ step: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
939
+ kind: z.ZodLiteral<"navigate">;
940
+ destination: z.ZodEnum<{
941
+ search: "search";
942
+ today: "today";
943
+ journal: "journal";
944
+ notes: "notes";
945
+ review: "review";
946
+ connections: "connections";
947
+ habits: "habits";
948
+ focus: "focus";
949
+ code: "code";
950
+ projects: "projects";
951
+ team: "team";
952
+ settings: "settings";
953
+ profile: "profile";
954
+ chat: "chat";
955
+ inbox: "inbox";
956
+ milestones: "milestones";
957
+ voice: "voice";
958
+ dash: "dash";
959
+ standups: "standups";
960
+ procurement: "procurement";
961
+ notifications: "notifications";
962
+ computer: "computer";
963
+ computer_settings: "computer_settings";
964
+ automations: "automations";
965
+ trash: "trash";
966
+ apple_watch: "apple_watch";
967
+ tab_bar: "tab_bar";
968
+ organizations: "organizations";
969
+ api_key: "api_key";
970
+ edit_profile: "edit_profile";
971
+ weekly_review: "weekly_review";
972
+ card_studio: "card_studio";
973
+ ask_lucid: "ask_lucid";
974
+ }>;
975
+ organizationId: z.ZodOptional<z.ZodUUID>;
976
+ }, z.core.$strip>, z.ZodObject<{
977
+ kind: z.ZodLiteral<"open">;
978
+ item: z.ZodObject<{
979
+ id: z.ZodUUID;
980
+ title: z.ZodString;
981
+ kind: z.ZodEnum<{
982
+ task: "task";
983
+ project: "project";
984
+ milestone: "milestone";
985
+ }>;
986
+ }, z.core.$strip>;
987
+ }, z.core.$strip>, z.ZodObject<{
988
+ kind: z.ZodLiteral<"back">;
989
+ }, z.core.$strip>, z.ZodObject<{
990
+ milestoneId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
991
+ dueDate: z.ZodNullable<z.ZodString>;
992
+ dueDatePrecision: z.ZodNullable<z.ZodEnum<{
993
+ time: "time";
994
+ date: "date";
995
+ }>>;
996
+ dueTimeZone: z.ZodNullable<z.ZodString>;
997
+ dueLabel: z.ZodNullable<z.ZodString>;
998
+ projectId: z.ZodNullable<z.ZodUUID>;
999
+ projectName: z.ZodNullable<z.ZodString>;
1000
+ kind: z.ZodLiteral<"create_task">;
1001
+ title: z.ZodString;
1002
+ }, z.core.$strip>, z.ZodObject<{
1003
+ kind: z.ZodLiteral<"create_project">;
1004
+ name: z.ZodString;
1005
+ }, z.core.$strip>, z.ZodObject<{
1006
+ kind: z.ZodLiteral<"complete">;
1007
+ task: z.ZodObject<{
1008
+ id: z.ZodUUID;
1009
+ title: z.ZodString;
1010
+ }, z.core.$strip>;
1011
+ }, z.core.$strip>, z.ZodObject<{
1012
+ kind: z.ZodLiteral<"reopen">;
1013
+ task: z.ZodObject<{
1014
+ id: z.ZodUUID;
1015
+ title: z.ZodString;
1016
+ }, z.core.$strip>;
1017
+ }, z.core.$strip>, z.ZodObject<{
1018
+ kind: z.ZodLiteral<"start">;
1019
+ task: z.ZodObject<{
1020
+ id: z.ZodUUID;
1021
+ title: z.ZodString;
1022
+ }, z.core.$strip>;
1023
+ }, z.core.$strip>, z.ZodObject<{
1024
+ kind: z.ZodLiteral<"delete">;
1025
+ task: z.ZodObject<{
1026
+ id: z.ZodUUID;
1027
+ title: z.ZodString;
1028
+ }, z.core.$strip>;
1029
+ }, z.core.$strip>, z.ZodObject<{
1030
+ dueDate: z.ZodNullable<z.ZodString>;
1031
+ dueDatePrecision: z.ZodNullable<z.ZodEnum<{
1032
+ time: "time";
1033
+ date: "date";
1034
+ }>>;
1035
+ dueTimeZone: z.ZodNullable<z.ZodString>;
1036
+ dueLabel: z.ZodNullable<z.ZodString>;
1037
+ kind: z.ZodLiteral<"reschedule">;
1038
+ task: z.ZodObject<{
1039
+ id: z.ZodUUID;
1040
+ title: z.ZodString;
1041
+ }, z.core.$strip>;
1042
+ }, z.core.$strip>, z.ZodObject<{
1043
+ projectId: z.ZodNullable<z.ZodUUID>;
1044
+ projectName: z.ZodNullable<z.ZodString>;
1045
+ kind: z.ZodLiteral<"move">;
1046
+ task: z.ZodObject<{
1047
+ id: z.ZodUUID;
1048
+ title: z.ZodString;
1049
+ }, z.core.$strip>;
1050
+ }, z.core.$strip>, z.ZodObject<{
1051
+ kind: z.ZodLiteral<"comment">;
1052
+ task: z.ZodObject<{
1053
+ id: z.ZodUUID;
1054
+ title: z.ZodString;
1055
+ }, z.core.$strip>;
1056
+ text: z.ZodString;
1057
+ }, z.core.$strip>, z.ZodObject<{
1058
+ kind: z.ZodLiteral<"add_subtasks">;
1059
+ task: z.ZodObject<{
1060
+ id: z.ZodUUID;
1061
+ title: z.ZodString;
1062
+ }, z.core.$strip>;
1063
+ titles: z.ZodArray<z.ZodString>;
1064
+ }, z.core.$strip>, z.ZodObject<{
1065
+ kind: z.ZodLiteral<"rename">;
1066
+ task: z.ZodObject<{
1067
+ id: z.ZodUUID;
1068
+ title: z.ZodString;
1069
+ }, z.core.$strip>;
1070
+ title: z.ZodString;
1071
+ }, z.core.$strip>, z.ZodObject<{
1072
+ kind: z.ZodLiteral<"set_status">;
1073
+ task: z.ZodObject<{
1074
+ id: z.ZodUUID;
1075
+ title: z.ZodString;
1076
+ }, z.core.$strip>;
1077
+ status: z.ZodEnum<{
1078
+ blocked: "blocked";
1079
+ pending: "pending";
1080
+ deferred: "deferred";
1081
+ }>;
1082
+ }, z.core.$strip>, z.ZodObject<{
1083
+ kind: z.ZodLiteral<"priority">;
1084
+ task: z.ZodObject<{
1085
+ id: z.ZodUUID;
1086
+ title: z.ZodString;
1087
+ }, z.core.$strip>;
1088
+ priority: z.ZodNumber;
1089
+ }, z.core.$strip>, z.ZodObject<{
1090
+ kind: z.ZodLiteral<"repeat">;
1091
+ task: z.ZodObject<{
1092
+ id: z.ZodUUID;
1093
+ title: z.ZodString;
1094
+ }, z.core.$strip>;
1095
+ frequency: z.ZodNullable<z.ZodEnum<{
1096
+ daily: "daily";
1097
+ weekly: "weekly";
1098
+ monthly: "monthly";
1099
+ yearly: "yearly";
1100
+ }>>;
1101
+ }, z.core.$strip>, z.ZodObject<{
1102
+ kind: z.ZodLiteral<"remind">;
1103
+ task: z.ZodObject<{
1104
+ id: z.ZodUUID;
1105
+ title: z.ZodString;
1106
+ }, z.core.$strip>;
1107
+ reminderAt: z.ZodNullable<z.ZodString>;
1108
+ reminderLabel: z.ZodNullable<z.ZodString>;
1109
+ }, z.core.$strip>, z.ZodObject<{
1110
+ kind: z.ZodLiteral<"remind_recurring">;
1111
+ task: z.ZodObject<{
1112
+ id: z.ZodUUID;
1113
+ title: z.ZodString;
1114
+ }, z.core.$strip>;
1115
+ rule: z.ZodObject<{
1116
+ daysBefore: z.ZodNumber;
1117
+ time: z.ZodString;
1118
+ }, z.core.$strip>;
1119
+ }, z.core.$strip>, z.ZodObject<{
1120
+ kind: z.ZodLiteral<"delete_project">;
1121
+ project: z.ZodObject<{
1122
+ id: z.ZodUUID;
1123
+ title: z.ZodString;
1124
+ }, z.core.$strip>;
1125
+ }, z.core.$strip>, z.ZodObject<{
1126
+ kind: z.ZodLiteral<"archive_project">;
1127
+ project: z.ZodObject<{
1128
+ id: z.ZodUUID;
1129
+ title: z.ZodString;
1130
+ }, z.core.$strip>;
1131
+ }, z.core.$strip>, z.ZodObject<{
1132
+ kind: z.ZodLiteral<"rename_project">;
1133
+ project: z.ZodObject<{
1134
+ id: z.ZodUUID;
1135
+ title: z.ZodString;
1136
+ }, z.core.$strip>;
1137
+ name: z.ZodString;
1138
+ }, z.core.$strip>, z.ZodObject<{
1139
+ kind: z.ZodLiteral<"read">;
1140
+ task: z.ZodObject<{
1141
+ id: z.ZodUUID;
1142
+ title: z.ZodString;
1143
+ }, z.core.$strip>;
1144
+ what: z.ZodEnum<{
1145
+ description: "description";
1146
+ all: "all";
1147
+ comments: "comments";
1148
+ }>;
1149
+ }, z.core.$strip>, z.ZodObject<{
1150
+ kind: z.ZodLiteral<"set_milestone">;
1151
+ task: z.ZodObject<{
1152
+ id: z.ZodUUID;
1153
+ title: z.ZodString;
1154
+ }, z.core.$strip>;
1155
+ milestoneId: z.ZodNullable<z.ZodUUID>;
1156
+ milestoneName: z.ZodNullable<z.ZodString>;
1157
+ }, z.core.$strip>, z.ZodObject<{
1158
+ kind: z.ZodLiteral<"describe">;
1159
+ task: z.ZodObject<{
1160
+ id: z.ZodUUID;
1161
+ title: z.ZodString;
1162
+ }, z.core.$strip>;
1163
+ description: z.ZodNullable<z.ZodString>;
1164
+ append: z.ZodBoolean;
1165
+ }, z.core.$strip>, z.ZodObject<{
1166
+ kind: z.ZodLiteral<"list">;
1167
+ title: z.ZodString;
1168
+ tasks: z.ZodArray<z.ZodObject<{
1169
+ id: z.ZodUUID;
1170
+ title: z.ZodString;
1171
+ due: z.ZodNullable<z.ZodString>;
1172
+ }, z.core.$strip>>;
1173
+ }, z.core.$strip>], "kind">, z.ZodObject<{
1174
+ kind: z.ZodLiteral<"clarify">;
1175
+ question: z.ZodString;
1176
+ options: z.ZodArray<z.ZodObject<{
1177
+ label: z.ZodString;
1178
+ step: z.ZodDiscriminatedUnion<[z.ZodObject<{
1179
+ kind: z.ZodLiteral<"navigate">;
1180
+ destination: z.ZodEnum<{
1181
+ search: "search";
1182
+ today: "today";
1183
+ journal: "journal";
1184
+ notes: "notes";
1185
+ review: "review";
1186
+ connections: "connections";
1187
+ habits: "habits";
1188
+ focus: "focus";
1189
+ code: "code";
1190
+ projects: "projects";
1191
+ team: "team";
1192
+ settings: "settings";
1193
+ profile: "profile";
1194
+ chat: "chat";
1195
+ inbox: "inbox";
1196
+ milestones: "milestones";
1197
+ voice: "voice";
1198
+ dash: "dash";
1199
+ standups: "standups";
1200
+ procurement: "procurement";
1201
+ notifications: "notifications";
1202
+ computer: "computer";
1203
+ computer_settings: "computer_settings";
1204
+ automations: "automations";
1205
+ trash: "trash";
1206
+ apple_watch: "apple_watch";
1207
+ tab_bar: "tab_bar";
1208
+ organizations: "organizations";
1209
+ api_key: "api_key";
1210
+ edit_profile: "edit_profile";
1211
+ weekly_review: "weekly_review";
1212
+ card_studio: "card_studio";
1213
+ ask_lucid: "ask_lucid";
1214
+ }>;
1215
+ organizationId: z.ZodOptional<z.ZodUUID>;
1216
+ }, z.core.$strip>, z.ZodObject<{
1217
+ kind: z.ZodLiteral<"open">;
1218
+ item: z.ZodObject<{
1219
+ id: z.ZodUUID;
1220
+ title: z.ZodString;
1221
+ kind: z.ZodEnum<{
1222
+ task: "task";
1223
+ project: "project";
1224
+ milestone: "milestone";
1225
+ }>;
1226
+ }, z.core.$strip>;
1227
+ }, z.core.$strip>, z.ZodObject<{
1228
+ kind: z.ZodLiteral<"back">;
1229
+ }, z.core.$strip>, z.ZodObject<{
1230
+ milestoneId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1231
+ dueDate: z.ZodNullable<z.ZodString>;
1232
+ dueDatePrecision: z.ZodNullable<z.ZodEnum<{
1233
+ time: "time";
1234
+ date: "date";
1235
+ }>>;
1236
+ dueTimeZone: z.ZodNullable<z.ZodString>;
1237
+ dueLabel: z.ZodNullable<z.ZodString>;
1238
+ projectId: z.ZodNullable<z.ZodUUID>;
1239
+ projectName: z.ZodNullable<z.ZodString>;
1240
+ kind: z.ZodLiteral<"create_task">;
1241
+ title: z.ZodString;
1242
+ }, z.core.$strip>, z.ZodObject<{
1243
+ kind: z.ZodLiteral<"create_project">;
1244
+ name: z.ZodString;
1245
+ }, z.core.$strip>, z.ZodObject<{
1246
+ kind: z.ZodLiteral<"complete">;
1247
+ task: z.ZodObject<{
1248
+ id: z.ZodUUID;
1249
+ title: z.ZodString;
1250
+ }, z.core.$strip>;
1251
+ }, z.core.$strip>, z.ZodObject<{
1252
+ kind: z.ZodLiteral<"reopen">;
1253
+ task: z.ZodObject<{
1254
+ id: z.ZodUUID;
1255
+ title: z.ZodString;
1256
+ }, z.core.$strip>;
1257
+ }, z.core.$strip>, z.ZodObject<{
1258
+ kind: z.ZodLiteral<"start">;
1259
+ task: z.ZodObject<{
1260
+ id: z.ZodUUID;
1261
+ title: z.ZodString;
1262
+ }, z.core.$strip>;
1263
+ }, z.core.$strip>, z.ZodObject<{
1264
+ kind: z.ZodLiteral<"delete">;
1265
+ task: z.ZodObject<{
1266
+ id: z.ZodUUID;
1267
+ title: z.ZodString;
1268
+ }, z.core.$strip>;
1269
+ }, z.core.$strip>, z.ZodObject<{
1270
+ dueDate: z.ZodNullable<z.ZodString>;
1271
+ dueDatePrecision: z.ZodNullable<z.ZodEnum<{
1272
+ time: "time";
1273
+ date: "date";
1274
+ }>>;
1275
+ dueTimeZone: z.ZodNullable<z.ZodString>;
1276
+ dueLabel: z.ZodNullable<z.ZodString>;
1277
+ kind: z.ZodLiteral<"reschedule">;
1278
+ task: z.ZodObject<{
1279
+ id: z.ZodUUID;
1280
+ title: z.ZodString;
1281
+ }, z.core.$strip>;
1282
+ }, z.core.$strip>, z.ZodObject<{
1283
+ projectId: z.ZodNullable<z.ZodUUID>;
1284
+ projectName: z.ZodNullable<z.ZodString>;
1285
+ kind: z.ZodLiteral<"move">;
1286
+ task: z.ZodObject<{
1287
+ id: z.ZodUUID;
1288
+ title: z.ZodString;
1289
+ }, z.core.$strip>;
1290
+ }, z.core.$strip>, z.ZodObject<{
1291
+ kind: z.ZodLiteral<"comment">;
1292
+ task: z.ZodObject<{
1293
+ id: z.ZodUUID;
1294
+ title: z.ZodString;
1295
+ }, z.core.$strip>;
1296
+ text: z.ZodString;
1297
+ }, z.core.$strip>, z.ZodObject<{
1298
+ kind: z.ZodLiteral<"add_subtasks">;
1299
+ task: z.ZodObject<{
1300
+ id: z.ZodUUID;
1301
+ title: z.ZodString;
1302
+ }, z.core.$strip>;
1303
+ titles: z.ZodArray<z.ZodString>;
1304
+ }, z.core.$strip>, z.ZodObject<{
1305
+ kind: z.ZodLiteral<"rename">;
1306
+ task: z.ZodObject<{
1307
+ id: z.ZodUUID;
1308
+ title: z.ZodString;
1309
+ }, z.core.$strip>;
1310
+ title: z.ZodString;
1311
+ }, z.core.$strip>, z.ZodObject<{
1312
+ kind: z.ZodLiteral<"set_status">;
1313
+ task: z.ZodObject<{
1314
+ id: z.ZodUUID;
1315
+ title: z.ZodString;
1316
+ }, z.core.$strip>;
1317
+ status: z.ZodEnum<{
1318
+ blocked: "blocked";
1319
+ pending: "pending";
1320
+ deferred: "deferred";
1321
+ }>;
1322
+ }, z.core.$strip>, z.ZodObject<{
1323
+ kind: z.ZodLiteral<"priority">;
1324
+ task: z.ZodObject<{
1325
+ id: z.ZodUUID;
1326
+ title: z.ZodString;
1327
+ }, z.core.$strip>;
1328
+ priority: z.ZodNumber;
1329
+ }, z.core.$strip>, z.ZodObject<{
1330
+ kind: z.ZodLiteral<"repeat">;
1331
+ task: z.ZodObject<{
1332
+ id: z.ZodUUID;
1333
+ title: z.ZodString;
1334
+ }, z.core.$strip>;
1335
+ frequency: z.ZodNullable<z.ZodEnum<{
1336
+ daily: "daily";
1337
+ weekly: "weekly";
1338
+ monthly: "monthly";
1339
+ yearly: "yearly";
1340
+ }>>;
1341
+ }, z.core.$strip>, z.ZodObject<{
1342
+ kind: z.ZodLiteral<"remind">;
1343
+ task: z.ZodObject<{
1344
+ id: z.ZodUUID;
1345
+ title: z.ZodString;
1346
+ }, z.core.$strip>;
1347
+ reminderAt: z.ZodNullable<z.ZodString>;
1348
+ reminderLabel: z.ZodNullable<z.ZodString>;
1349
+ }, z.core.$strip>, z.ZodObject<{
1350
+ kind: z.ZodLiteral<"remind_recurring">;
1351
+ task: z.ZodObject<{
1352
+ id: z.ZodUUID;
1353
+ title: z.ZodString;
1354
+ }, z.core.$strip>;
1355
+ rule: z.ZodObject<{
1356
+ daysBefore: z.ZodNumber;
1357
+ time: z.ZodString;
1358
+ }, z.core.$strip>;
1359
+ }, z.core.$strip>, z.ZodObject<{
1360
+ kind: z.ZodLiteral<"delete_project">;
1361
+ project: z.ZodObject<{
1362
+ id: z.ZodUUID;
1363
+ title: z.ZodString;
1364
+ }, z.core.$strip>;
1365
+ }, z.core.$strip>, z.ZodObject<{
1366
+ kind: z.ZodLiteral<"archive_project">;
1367
+ project: z.ZodObject<{
1368
+ id: z.ZodUUID;
1369
+ title: z.ZodString;
1370
+ }, z.core.$strip>;
1371
+ }, z.core.$strip>, z.ZodObject<{
1372
+ kind: z.ZodLiteral<"rename_project">;
1373
+ project: z.ZodObject<{
1374
+ id: z.ZodUUID;
1375
+ title: z.ZodString;
1376
+ }, z.core.$strip>;
1377
+ name: z.ZodString;
1378
+ }, z.core.$strip>, z.ZodObject<{
1379
+ kind: z.ZodLiteral<"read">;
1380
+ task: z.ZodObject<{
1381
+ id: z.ZodUUID;
1382
+ title: z.ZodString;
1383
+ }, z.core.$strip>;
1384
+ what: z.ZodEnum<{
1385
+ description: "description";
1386
+ all: "all";
1387
+ comments: "comments";
1388
+ }>;
1389
+ }, z.core.$strip>, z.ZodObject<{
1390
+ kind: z.ZodLiteral<"set_milestone">;
1391
+ task: z.ZodObject<{
1392
+ id: z.ZodUUID;
1393
+ title: z.ZodString;
1394
+ }, z.core.$strip>;
1395
+ milestoneId: z.ZodNullable<z.ZodUUID>;
1396
+ milestoneName: z.ZodNullable<z.ZodString>;
1397
+ }, z.core.$strip>, z.ZodObject<{
1398
+ kind: z.ZodLiteral<"describe">;
1399
+ task: z.ZodObject<{
1400
+ id: z.ZodUUID;
1401
+ title: z.ZodString;
1402
+ }, z.core.$strip>;
1403
+ description: z.ZodNullable<z.ZodString>;
1404
+ append: z.ZodBoolean;
1405
+ }, z.core.$strip>, z.ZodObject<{
1406
+ kind: z.ZodLiteral<"list">;
1407
+ title: z.ZodString;
1408
+ tasks: z.ZodArray<z.ZodObject<{
1409
+ id: z.ZodUUID;
1410
+ title: z.ZodString;
1411
+ due: z.ZodNullable<z.ZodString>;
1412
+ }, z.core.$strip>>;
1413
+ }, z.core.$strip>], "kind">;
1414
+ }, z.core.$strip>>;
1415
+ }, z.core.$strip>, z.ZodObject<{
1416
+ kind: z.ZodLiteral<"lucid">;
1417
+ }, z.core.$strip>, z.ZodObject<{
1418
+ kind: z.ZodLiteral<"unclear">;
1419
+ }, z.core.$strip>]>;
1420
+ reply: z.ZodString;
1421
+ rest: z.ZodArray<z.ZodString>;
1422
+ elapsedMs: z.ZodNumber;
1423
+ trace: z.ZodOptional<z.ZodObject<{
1424
+ calls: z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodString]>>;
1425
+ attempts: z.ZodNumber;
1426
+ gatherMs: z.ZodNumber;
1427
+ jevMs: z.ZodNumber;
1428
+ }, z.core.$strip>>;
1429
+ }, z.core.$strip>;
1430
+ export type CommandResponse = z.infer<typeof CommandResponseSchema>;
1431
+ /**
1432
+ * What happened to an instruction: carried out, a question back ("What should the task say?"), a
1433
+ * choice offered, not understood, handed to Chat, failed; later undone, or a choice picked.
1434
+ */
1435
+ export declare const COMMAND_EVENT_OUTCOMES: readonly ["done", "asked", "clarify", "unclear", "lucid", "failed", "undone", "chose", "handed_to_chat", "sent", "answered", "cancelled", "blocked", "incomplete"];
1436
+ /** One instruction said to Fast mode or Chat, recorded for the Fast mode review. */
1437
+ export declare const CommandEventSchema: z.ZodObject<{
1438
+ id: z.ZodUUID;
1439
+ mode: z.ZodEnum<{
1440
+ chat: "chat";
1441
+ fast: "fast";
1442
+ }>;
1443
+ heard: z.ZodString;
1444
+ handledBy: z.ZodEnum<{
1445
+ lucid: "lucid";
1446
+ phone: "phone";
1447
+ jev: "jev";
1448
+ }>;
1449
+ did: z.ZodOptional<z.ZodString>;
1450
+ reply: z.ZodOptional<z.ZodString>;
1451
+ ms: z.ZodOptional<z.ZodNumber>;
1452
+ screen: z.ZodOptional<z.ZodString>;
1453
+ outcome: z.ZodEnum<{
1454
+ blocked: "blocked";
1455
+ failed: "failed";
1456
+ cancelled: "cancelled";
1457
+ lucid: "lucid";
1458
+ clarify: "clarify";
1459
+ unclear: "unclear";
1460
+ done: "done";
1461
+ asked: "asked";
1462
+ undone: "undone";
1463
+ chose: "chose";
1464
+ handed_to_chat: "handed_to_chat";
1465
+ sent: "sent";
1466
+ answered: "answered";
1467
+ incomplete: "incomplete";
1468
+ }>;
1469
+ detail: z.ZodOptional<z.ZodString>;
1470
+ turnId: z.ZodOptional<z.ZodUUID>;
1471
+ step: z.ZodOptional<z.ZodNumber>;
1472
+ replyTo: z.ZodOptional<z.ZodUUID>;
1473
+ rule: z.ZodOptional<z.ZodString>;
1474
+ target: z.ZodOptional<z.ZodObject<{
1475
+ kind: z.ZodString;
1476
+ id: z.ZodOptional<z.ZodString>;
1477
+ title: z.ZodOptional<z.ZodString>;
1478
+ }, z.core.$strip>>;
1479
+ context: z.ZodOptional<z.ZodObject<{
1480
+ sheetTaskId: z.ZodOptional<z.ZodUUID>;
1481
+ sheetTaskTitle: z.ZodOptional<z.ZodString>;
1482
+ projectId: z.ZodOptional<z.ZodUUID>;
1483
+ milestoneId: z.ZodOptional<z.ZodUUID>;
1484
+ screenTitle: z.ZodOptional<z.ZodString>;
1485
+ }, z.core.$strip>>;
1486
+ jev: z.ZodOptional<z.ZodObject<{
1487
+ calls: z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodString]>>;
1488
+ attempts: z.ZodNumber;
1489
+ gatherMs: z.ZodNumber;
1490
+ jevMs: z.ZodNumber;
1491
+ }, z.core.$strip>>;
1492
+ }, z.core.$strip>;
1493
+ export type CommandEvent = z.infer<typeof CommandEventSchema>;
1494
+ export declare const UpdateCommandEventSchema: z.ZodObject<{
1495
+ outcome: z.ZodEnum<{
1496
+ blocked: "blocked";
1497
+ failed: "failed";
1498
+ cancelled: "cancelled";
1499
+ lucid: "lucid";
1500
+ clarify: "clarify";
1501
+ unclear: "unclear";
1502
+ done: "done";
1503
+ asked: "asked";
1504
+ undone: "undone";
1505
+ chose: "chose";
1506
+ handed_to_chat: "handed_to_chat";
1507
+ sent: "sent";
1508
+ answered: "answered";
1509
+ incomplete: "incomplete";
1510
+ }>;
1511
+ detail: z.ZodOptional<z.ZodString>;
1512
+ ms: z.ZodOptional<z.ZodNumber>;
1513
+ }, z.core.$strip>;
1514
+ export type UpdateCommandEvent = z.infer<typeof UpdateCommandEventSchema>;
1515
+ export {};
1516
+ //# sourceMappingURL=commands.d.ts.map