@opencorelabs/lucidity 0.7.0 → 0.9.5

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 (502) hide show
  1. package/README.md +9 -2
  2. package/dist/assets/speech/lucidity-speech +0 -0
  3. package/dist/automations/agent.d.ts.map +1 -1
  4. package/dist/automations/agent.js +2 -0
  5. package/dist/automations/designer.d.ts +1 -1
  6. package/dist/automations/service.d.ts +4 -0
  7. package/dist/automations/service.d.ts.map +1 -1
  8. package/dist/automations/service.js +60 -22
  9. package/dist/automations/store.d.ts +9 -3
  10. package/dist/automations/store.d.ts.map +1 -1
  11. package/dist/automations/store.js +45 -32
  12. package/dist/automations/workflow.d.ts +14 -0
  13. package/dist/automations/workflow.d.ts.map +1 -0
  14. package/dist/automations/workflow.js +57 -0
  15. package/dist/chat/server.d.ts +1 -0
  16. package/dist/chat/server.d.ts.map +1 -1
  17. package/dist/chat/server.js +6 -1
  18. package/dist/coding/listPrs.d.ts +2 -0
  19. package/dist/coding/listPrs.d.ts.map +1 -1
  20. package/dist/coding/listPrs.js +10 -0
  21. package/dist/coding/runCodeTurn.d.ts +6 -30
  22. package/dist/coding/runCodeTurn.d.ts.map +1 -1
  23. package/dist/coding/runCodeTurn.js +145 -218
  24. package/dist/coding/runReview.d.ts +10 -0
  25. package/dist/coding/runReview.d.ts.map +1 -0
  26. package/dist/coding/runReview.js +87 -0
  27. package/dist/coding/workspaceRegistry.d.ts +72 -0
  28. package/dist/coding/workspaceRegistry.d.ts.map +1 -0
  29. package/dist/coding/workspaceRegistry.js +421 -0
  30. package/dist/coding/worktree.d.ts +72 -32
  31. package/dist/coding/worktree.d.ts.map +1 -1
  32. package/dist/coding/worktree.js +190 -38
  33. package/dist/coding/worktreeSetup.d.ts +7 -0
  34. package/dist/coding/worktreeSetup.d.ts.map +1 -0
  35. package/dist/coding/worktreeSetup.js +49 -0
  36. package/dist/config.d.ts +2 -0
  37. package/dist/config.d.ts.map +1 -1
  38. package/dist/daemonLease.d.ts +12 -0
  39. package/dist/daemonLease.d.ts.map +1 -0
  40. package/dist/daemonLease.js +32 -0
  41. package/dist/goals/assessment.d.ts +115 -0
  42. package/dist/goals/assessment.d.ts.map +1 -0
  43. package/dist/goals/assessment.js +67 -0
  44. package/dist/goals/notes.d.ts +18 -0
  45. package/dist/goals/notes.d.ts.map +1 -0
  46. package/dist/goals/notes.js +72 -0
  47. package/dist/index.js +75 -40
  48. package/dist/jobs/briefing.d.ts +2 -16
  49. package/dist/jobs/briefing.d.ts.map +1 -1
  50. package/dist/jobs/briefing.js +65 -93
  51. package/dist/jobs/goals.d.ts +15 -0
  52. package/dist/jobs/goals.d.ts.map +1 -0
  53. package/dist/jobs/goals.js +286 -0
  54. package/dist/jobs/weeklyReview.d.ts.map +1 -1
  55. package/dist/jobs/weeklyReview.js +3 -2
  56. package/dist/logTimestamps.d.ts +10 -0
  57. package/dist/logTimestamps.d.ts.map +1 -0
  58. package/dist/logTimestamps.js +12 -0
  59. package/dist/providerRecovery.d.ts +48 -0
  60. package/dist/providerRecovery.d.ts.map +1 -0
  61. package/dist/providerRecovery.js +100 -0
  62. package/dist/queue.d.ts +1 -0
  63. package/dist/queue.d.ts.map +1 -1
  64. package/dist/queue.js +4 -0
  65. package/dist/room/client.d.ts +6 -19
  66. package/dist/room/client.d.ts.map +1 -1
  67. package/dist/room/client.js +127 -123
  68. package/dist/room/computer.js +1 -1
  69. package/dist/room/durablePublish.d.ts +6 -0
  70. package/dist/room/durablePublish.d.ts.map +1 -0
  71. package/dist/room/durablePublish.js +19 -0
  72. package/dist/room/incidents.d.ts +4 -1
  73. package/dist/room/incidents.d.ts.map +1 -1
  74. package/dist/room/incidents.js +15 -7
  75. package/dist/room/turnQueue.d.ts.map +1 -1
  76. package/dist/room/turnQueue.js +55 -46
  77. package/dist/runtimeStore.d.ts +46 -0
  78. package/dist/runtimeStore.d.ts.map +1 -0
  79. package/dist/runtimeStore.js +205 -0
  80. package/dist/setup/server.js +1 -1
  81. package/dist/turnLog.d.ts +10 -40
  82. package/dist/turnLog.d.ts.map +1 -1
  83. package/dist/turnLog.js +33 -56
  84. package/dist/vault.d.ts +6 -3
  85. package/dist/vault.d.ts.map +1 -1
  86. package/dist/vault.js +18 -4
  87. package/package.json +4 -4
  88. package/src/automations/agent.ts +2 -0
  89. package/src/automations/service.ts +47 -21
  90. package/src/automations/store.ts +41 -50
  91. package/src/automations/workflow.ts +49 -0
  92. package/src/chat/server.ts +7 -1
  93. package/src/coding/listPrs.ts +14 -0
  94. package/src/coding/runCodeTurn.ts +51 -139
  95. package/src/coding/runReview.ts +83 -0
  96. package/src/coding/workspaceRegistry.ts +380 -0
  97. package/src/coding/worktree.ts +205 -40
  98. package/src/coding/worktreeSetup.ts +50 -0
  99. package/src/config.ts +2 -0
  100. package/src/daemonLease.ts +33 -0
  101. package/src/goals/assessment.ts +106 -0
  102. package/src/goals/notes.ts +88 -0
  103. package/src/index.ts +76 -46
  104. package/src/jobs/briefing.ts +62 -109
  105. package/src/jobs/goals.ts +384 -0
  106. package/src/jobs/weeklyReview.ts +4 -3
  107. package/src/logTimestamps.ts +14 -0
  108. package/src/providerRecovery.ts +99 -0
  109. package/src/queue.ts +4 -0
  110. package/src/room/client.ts +84 -116
  111. package/src/room/computer.ts +1 -1
  112. package/src/room/durablePublish.ts +25 -0
  113. package/src/room/incidents.ts +20 -8
  114. package/src/room/turnQueue.ts +53 -56
  115. package/src/runtimeStore.ts +207 -0
  116. package/src/setup/server.ts +1 -1
  117. package/src/turnLog.ts +32 -75
  118. package/src/vault.ts +16 -7
  119. package/vendor/mcp-server/dist/index.js +2 -0
  120. package/vendor/mcp-server/dist/tools/goals.d.ts +4 -0
  121. package/vendor/mcp-server/dist/tools/goals.d.ts.map +1 -0
  122. package/vendor/mcp-server/dist/tools/goals.js +38 -0
  123. package/vendor/mcp-server/package.json +1 -1
  124. package/vendor/mcp-server/src/index.ts +2 -0
  125. package/vendor/mcp-server/src/tools/goals.ts +62 -0
  126. package/vendor/runtime/README.md +36 -2
  127. package/vendor/runtime/dist/executor/asyncQueue.d.ts +1 -0
  128. package/vendor/runtime/dist/executor/asyncQueue.d.ts.map +1 -1
  129. package/vendor/runtime/dist/executor/asyncQueue.js +3 -0
  130. package/vendor/runtime/dist/executor/claudeAgent.d.ts +5 -1
  131. package/vendor/runtime/dist/executor/claudeAgent.d.ts.map +1 -1
  132. package/vendor/runtime/dist/executor/claudeAgent.js +77 -13
  133. package/vendor/runtime/dist/executor/codex.d.ts +8 -2
  134. package/vendor/runtime/dist/executor/codex.d.ts.map +1 -1
  135. package/vendor/runtime/dist/executor/codex.js +113 -38
  136. package/vendor/runtime/dist/executor/codexProtocol/AgentPath.d.ts +2 -0
  137. package/vendor/runtime/dist/executor/codexProtocol/AgentPath.d.ts.map +1 -0
  138. package/vendor/runtime/dist/executor/codexProtocol/AgentPath.js +2 -0
  139. package/vendor/runtime/dist/executor/codexProtocol/FunctionCallOutputContentItem.d.ts +4 -1
  140. package/vendor/runtime/dist/executor/codexProtocol/FunctionCallOutputContentItem.d.ts.map +1 -1
  141. package/vendor/runtime/dist/executor/codexProtocol/ImageGenerationFailure.d.ts +6 -0
  142. package/vendor/runtime/dist/executor/codexProtocol/ImageGenerationFailure.d.ts.map +1 -0
  143. package/vendor/runtime/dist/executor/codexProtocol/ImageGenerationFailure.js +2 -0
  144. package/vendor/runtime/dist/executor/codexProtocol/ImageGenerationItem.d.ts +12 -0
  145. package/vendor/runtime/dist/executor/codexProtocol/ImageGenerationItem.d.ts.map +1 -0
  146. package/vendor/runtime/dist/executor/codexProtocol/ImageGenerationItem.js +2 -0
  147. package/vendor/runtime/dist/executor/codexProtocol/LegacyAppPathString.d.ts +24 -0
  148. package/vendor/runtime/dist/executor/codexProtocol/LegacyAppPathString.d.ts.map +1 -0
  149. package/vendor/runtime/dist/executor/codexProtocol/LegacyAppPathString.js +2 -0
  150. package/vendor/runtime/dist/executor/codexProtocol/MessagePhase.d.ts +8 -0
  151. package/vendor/runtime/dist/executor/codexProtocol/MessagePhase.d.ts.map +1 -0
  152. package/vendor/runtime/dist/executor/codexProtocol/MessagePhase.js +2 -0
  153. package/vendor/runtime/dist/executor/codexProtocol/Personality.d.ts +3 -0
  154. package/vendor/runtime/dist/executor/codexProtocol/Personality.d.ts.map +1 -1
  155. package/vendor/runtime/dist/executor/codexProtocol/PlanType.d.ts +1 -1
  156. package/vendor/runtime/dist/executor/codexProtocol/PlanType.d.ts.map +1 -1
  157. package/vendor/runtime/dist/executor/codexProtocol/SleepItem.d.ts +8 -0
  158. package/vendor/runtime/dist/executor/codexProtocol/SleepItem.d.ts.map +1 -0
  159. package/vendor/runtime/dist/executor/codexProtocol/SleepItem.js +2 -0
  160. package/vendor/runtime/dist/executor/codexProtocol/SubAgentSource.d.ts +14 -0
  161. package/vendor/runtime/dist/executor/codexProtocol/SubAgentSource.d.ts.map +1 -0
  162. package/vendor/runtime/dist/executor/codexProtocol/SubAgentSource.js +2 -0
  163. package/vendor/runtime/dist/executor/codexProtocol/ThreadId.d.ts +7 -0
  164. package/vendor/runtime/dist/executor/codexProtocol/ThreadId.d.ts.map +1 -0
  165. package/vendor/runtime/dist/executor/codexProtocol/ThreadId.js +2 -0
  166. package/vendor/runtime/dist/executor/codexProtocol/WebSearchItem.d.ts +15 -0
  167. package/vendor/runtime/dist/executor/codexProtocol/WebSearchItem.d.ts.map +1 -0
  168. package/vendor/runtime/dist/executor/codexProtocol/WebSearchItem.js +2 -0
  169. package/vendor/runtime/dist/executor/codexProtocol/v2/AgentMessageDelivery.d.ts +2 -0
  170. package/vendor/runtime/dist/executor/codexProtocol/v2/AgentMessageDelivery.d.ts.map +1 -0
  171. package/vendor/runtime/dist/executor/codexProtocol/v2/AgentMessageDelivery.js +2 -0
  172. package/vendor/runtime/dist/executor/codexProtocol/v2/AsyncUserInputQuestion.d.ts +5 -0
  173. package/vendor/runtime/dist/executor/codexProtocol/v2/AsyncUserInputQuestion.d.ts.map +1 -0
  174. package/vendor/runtime/dist/executor/codexProtocol/v2/AsyncUserInputQuestion.js +2 -0
  175. package/vendor/runtime/dist/executor/codexProtocol/v2/CodexErrorInfo.d.ts +29 -0
  176. package/vendor/runtime/dist/executor/codexProtocol/v2/CodexErrorInfo.d.ts.map +1 -0
  177. package/vendor/runtime/dist/executor/codexProtocol/v2/CodexErrorInfo.js +2 -0
  178. package/vendor/runtime/dist/executor/codexProtocol/v2/CollabAgentState.d.ts +6 -0
  179. package/vendor/runtime/dist/executor/codexProtocol/v2/CollabAgentState.d.ts.map +1 -0
  180. package/vendor/runtime/dist/executor/codexProtocol/v2/CollabAgentState.js +2 -0
  181. package/vendor/runtime/dist/executor/codexProtocol/v2/CollabAgentStatus.d.ts +2 -0
  182. package/vendor/runtime/dist/executor/codexProtocol/v2/CollabAgentStatus.d.ts.map +1 -0
  183. package/vendor/runtime/dist/executor/codexProtocol/v2/CollabAgentStatus.js +2 -0
  184. package/vendor/runtime/dist/executor/codexProtocol/v2/CollabAgentTool.d.ts +2 -0
  185. package/vendor/runtime/dist/executor/codexProtocol/v2/CollabAgentTool.d.ts.map +1 -0
  186. package/vendor/runtime/dist/executor/codexProtocol/v2/CollabAgentTool.js +2 -0
  187. package/vendor/runtime/dist/executor/codexProtocol/v2/CollabAgentToolCallStatus.d.ts +2 -0
  188. package/vendor/runtime/dist/executor/codexProtocol/v2/CollabAgentToolCallStatus.d.ts.map +1 -0
  189. package/vendor/runtime/dist/executor/codexProtocol/v2/CollabAgentToolCallStatus.js +2 -0
  190. package/vendor/runtime/dist/executor/codexProtocol/v2/CommandAction.d.ts +20 -0
  191. package/vendor/runtime/dist/executor/codexProtocol/v2/CommandAction.d.ts.map +1 -0
  192. package/vendor/runtime/dist/executor/codexProtocol/v2/CommandAction.js +2 -0
  193. package/vendor/runtime/dist/executor/codexProtocol/v2/CommandExecutionSource.d.ts +2 -0
  194. package/vendor/runtime/dist/executor/codexProtocol/v2/CommandExecutionSource.d.ts.map +1 -0
  195. package/vendor/runtime/dist/executor/codexProtocol/v2/CommandExecutionSource.js +2 -0
  196. package/vendor/runtime/dist/executor/codexProtocol/v2/CommandExecutionStatus.d.ts +2 -0
  197. package/vendor/runtime/dist/executor/codexProtocol/v2/CommandExecutionStatus.d.ts.map +1 -0
  198. package/vendor/runtime/dist/executor/codexProtocol/v2/CommandExecutionStatus.js +2 -0
  199. package/vendor/runtime/dist/executor/codexProtocol/v2/CyberAccessProgram.d.ts +6 -0
  200. package/vendor/runtime/dist/executor/codexProtocol/v2/CyberAccessProgram.d.ts.map +1 -0
  201. package/vendor/runtime/dist/executor/codexProtocol/v2/CyberAccessProgram.js +2 -0
  202. package/vendor/runtime/dist/executor/codexProtocol/v2/DynamicToolCallOutputContentItem.d.ts +11 -0
  203. package/vendor/runtime/dist/executor/codexProtocol/v2/DynamicToolCallOutputContentItem.d.ts.map +1 -0
  204. package/vendor/runtime/dist/executor/codexProtocol/v2/DynamicToolCallOutputContentItem.js +2 -0
  205. package/vendor/runtime/dist/executor/codexProtocol/v2/DynamicToolCallStatus.d.ts +2 -0
  206. package/vendor/runtime/dist/executor/codexProtocol/v2/DynamicToolCallStatus.d.ts.map +1 -0
  207. package/vendor/runtime/dist/executor/codexProtocol/v2/DynamicToolCallStatus.js +2 -0
  208. package/vendor/runtime/dist/executor/codexProtocol/v2/FileUpdateChange.d.ts +7 -0
  209. package/vendor/runtime/dist/executor/codexProtocol/v2/FileUpdateChange.d.ts.map +1 -0
  210. package/vendor/runtime/dist/executor/codexProtocol/v2/FileUpdateChange.js +2 -0
  211. package/vendor/runtime/dist/executor/codexProtocol/v2/GetAccountRateLimitsResponse.d.ts +5 -0
  212. package/vendor/runtime/dist/executor/codexProtocol/v2/GetAccountRateLimitsResponse.d.ts.map +1 -1
  213. package/vendor/runtime/dist/executor/codexProtocol/v2/GitInfo.d.ts +6 -0
  214. package/vendor/runtime/dist/executor/codexProtocol/v2/GitInfo.d.ts.map +1 -0
  215. package/vendor/runtime/dist/executor/codexProtocol/v2/GitInfo.js +2 -0
  216. package/vendor/runtime/dist/executor/codexProtocol/v2/HookPromptFragment.d.ts +5 -0
  217. package/vendor/runtime/dist/executor/codexProtocol/v2/HookPromptFragment.d.ts.map +1 -0
  218. package/vendor/runtime/dist/executor/codexProtocol/v2/HookPromptFragment.js +2 -0
  219. package/vendor/runtime/dist/executor/codexProtocol/v2/McpAppDisplayMode.d.ts +2 -0
  220. package/vendor/runtime/dist/executor/codexProtocol/v2/McpAppDisplayMode.d.ts.map +1 -0
  221. package/vendor/runtime/dist/executor/codexProtocol/v2/McpAppDisplayMode.js +2 -0
  222. package/vendor/runtime/dist/executor/codexProtocol/v2/McpAppUi.d.ts +9 -0
  223. package/vendor/runtime/dist/executor/codexProtocol/v2/McpAppUi.d.ts.map +1 -0
  224. package/vendor/runtime/dist/executor/codexProtocol/v2/McpAppUi.js +2 -0
  225. package/vendor/runtime/dist/executor/codexProtocol/v2/McpToolCallAppContext.d.ts +8 -0
  226. package/vendor/runtime/dist/executor/codexProtocol/v2/McpToolCallAppContext.d.ts.map +1 -0
  227. package/vendor/runtime/dist/executor/codexProtocol/v2/McpToolCallAppContext.js +2 -0
  228. package/vendor/runtime/dist/executor/codexProtocol/v2/McpToolCallError.d.ts +4 -0
  229. package/vendor/runtime/dist/executor/codexProtocol/v2/McpToolCallError.d.ts.map +1 -0
  230. package/vendor/runtime/dist/executor/codexProtocol/v2/McpToolCallError.js +2 -0
  231. package/vendor/runtime/dist/executor/codexProtocol/v2/McpToolCallResult.d.ts +7 -0
  232. package/vendor/runtime/dist/executor/codexProtocol/v2/McpToolCallResult.d.ts.map +1 -0
  233. package/vendor/runtime/dist/executor/codexProtocol/v2/McpToolCallResult.js +2 -0
  234. package/vendor/runtime/dist/executor/codexProtocol/v2/McpToolCallStatus.d.ts +2 -0
  235. package/vendor/runtime/dist/executor/codexProtocol/v2/McpToolCallStatus.d.ts.map +1 -0
  236. package/vendor/runtime/dist/executor/codexProtocol/v2/McpToolCallStatus.js +2 -0
  237. package/vendor/runtime/dist/executor/codexProtocol/v2/MemoryCitation.d.ts +6 -0
  238. package/vendor/runtime/dist/executor/codexProtocol/v2/MemoryCitation.d.ts.map +1 -0
  239. package/vendor/runtime/dist/executor/codexProtocol/v2/MemoryCitation.js +2 -0
  240. package/vendor/runtime/dist/executor/codexProtocol/v2/MemoryCitationEntry.d.ts +7 -0
  241. package/vendor/runtime/dist/executor/codexProtocol/v2/MemoryCitationEntry.d.ts.map +1 -0
  242. package/vendor/runtime/dist/executor/codexProtocol/v2/MemoryCitationEntry.js +2 -0
  243. package/vendor/runtime/dist/executor/codexProtocol/v2/MisalignmentErrorDetails.d.ts +16 -0
  244. package/vendor/runtime/dist/executor/codexProtocol/v2/MisalignmentErrorDetails.d.ts.map +1 -0
  245. package/vendor/runtime/dist/executor/codexProtocol/v2/MisalignmentErrorDetails.js +2 -0
  246. package/vendor/runtime/dist/executor/codexProtocol/v2/MisalignmentSteer.d.ts +4 -0
  247. package/vendor/runtime/dist/executor/codexProtocol/v2/MisalignmentSteer.d.ts.map +1 -0
  248. package/vendor/runtime/dist/executor/codexProtocol/v2/MisalignmentSteer.js +2 -0
  249. package/vendor/runtime/dist/executor/codexProtocol/v2/Model.d.ts +8 -0
  250. package/vendor/runtime/dist/executor/codexProtocol/v2/Model.d.ts.map +1 -1
  251. package/vendor/runtime/dist/executor/codexProtocol/v2/ModelAccessPrograms.d.ts +11 -0
  252. package/vendor/runtime/dist/executor/codexProtocol/v2/ModelAccessPrograms.d.ts.map +1 -0
  253. package/vendor/runtime/dist/executor/codexProtocol/v2/ModelAccessPrograms.js +2 -0
  254. package/vendor/runtime/dist/executor/codexProtocol/v2/NonSteerableTurnKind.d.ts +2 -0
  255. package/vendor/runtime/dist/executor/codexProtocol/v2/NonSteerableTurnKind.d.ts.map +1 -0
  256. package/vendor/runtime/dist/executor/codexProtocol/v2/NonSteerableTurnKind.js +2 -0
  257. package/vendor/runtime/dist/executor/codexProtocol/v2/PatchApplyStatus.d.ts +2 -0
  258. package/vendor/runtime/dist/executor/codexProtocol/v2/PatchApplyStatus.d.ts.map +1 -0
  259. package/vendor/runtime/dist/executor/codexProtocol/v2/PatchApplyStatus.js +2 -0
  260. package/vendor/runtime/dist/executor/codexProtocol/v2/PatchChangeKind.d.ts +9 -0
  261. package/vendor/runtime/dist/executor/codexProtocol/v2/PatchChangeKind.d.ts.map +1 -0
  262. package/vendor/runtime/dist/executor/codexProtocol/v2/PatchChangeKind.js +2 -0
  263. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitSnapshot.d.ts +4 -0
  264. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitSnapshot.d.ts.map +1 -1
  265. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewStartParams.d.ts +2 -0
  266. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewStartParams.d.ts.map +1 -1
  267. package/vendor/runtime/dist/executor/codexProtocol/v2/SessionSource.d.ts +7 -0
  268. package/vendor/runtime/dist/executor/codexProtocol/v2/SessionSource.d.ts.map +1 -0
  269. package/vendor/runtime/dist/executor/codexProtocol/v2/SessionSource.js +2 -0
  270. package/vendor/runtime/dist/executor/codexProtocol/v2/SubAgentActivityKind.d.ts +2 -0
  271. package/vendor/runtime/dist/executor/codexProtocol/v2/SubAgentActivityKind.d.ts.map +1 -0
  272. package/vendor/runtime/dist/executor/codexProtocol/v2/SubAgentActivityKind.js +2 -0
  273. package/vendor/runtime/dist/executor/codexProtocol/v2/Thread.d.ts +100 -0
  274. package/vendor/runtime/dist/executor/codexProtocol/v2/Thread.d.ts.map +1 -0
  275. package/vendor/runtime/dist/executor/codexProtocol/v2/Thread.js +2 -0
  276. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadActiveFlag.d.ts +2 -0
  277. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadActiveFlag.d.ts.map +1 -0
  278. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadActiveFlag.js +2 -0
  279. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadHistoryMode.d.ts +2 -0
  280. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadHistoryMode.d.ts.map +1 -0
  281. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadHistoryMode.js +2 -0
  282. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadItem.d.ts +216 -0
  283. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadItem.d.ts.map +1 -0
  284. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadItem.js +2 -0
  285. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadReadParams.d.ts +11 -0
  286. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadReadParams.d.ts.map +1 -0
  287. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadReadParams.js +2 -0
  288. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadReadResponse.d.ts +5 -0
  289. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadReadResponse.d.ts.map +1 -0
  290. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadReadResponse.js +2 -0
  291. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadResumeParams.d.ts +4 -1
  292. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadResumeParams.d.ts.map +1 -1
  293. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadSection.d.ts +19 -0
  294. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadSection.d.ts.map +1 -0
  295. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadSection.js +2 -0
  296. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadSectionAppearance.d.ts +8 -0
  297. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadSectionAppearance.d.ts.map +1 -0
  298. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadSectionAppearance.js +2 -0
  299. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadStartParams.d.ts +3 -1
  300. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadStartParams.d.ts.map +1 -1
  301. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadStatus.d.ts +12 -0
  302. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadStatus.d.ts.map +1 -0
  303. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadStatus.js +2 -0
  304. package/vendor/runtime/dist/executor/codexProtocol/v2/Turn.d.ts +36 -0
  305. package/vendor/runtime/dist/executor/codexProtocol/v2/Turn.d.ts.map +1 -0
  306. package/vendor/runtime/dist/executor/codexProtocol/v2/Turn.js +2 -0
  307. package/vendor/runtime/dist/executor/codexProtocol/v2/TurnError.d.ts +12 -0
  308. package/vendor/runtime/dist/executor/codexProtocol/v2/TurnError.d.ts.map +1 -0
  309. package/vendor/runtime/dist/executor/codexProtocol/v2/TurnError.js +2 -0
  310. package/vendor/runtime/dist/executor/codexProtocol/v2/TurnItemsView.d.ts +2 -0
  311. package/vendor/runtime/dist/executor/codexProtocol/v2/TurnItemsView.d.ts.map +1 -0
  312. package/vendor/runtime/dist/executor/codexProtocol/v2/TurnItemsView.js +2 -0
  313. package/vendor/runtime/dist/executor/codexProtocol/v2/TurnStartParams.d.ts +7 -2
  314. package/vendor/runtime/dist/executor/codexProtocol/v2/TurnStartParams.d.ts.map +1 -1
  315. package/vendor/runtime/dist/executor/codexProtocol/v2/TurnStatus.d.ts +2 -0
  316. package/vendor/runtime/dist/executor/codexProtocol/v2/TurnStatus.d.ts.map +1 -0
  317. package/vendor/runtime/dist/executor/codexProtocol/v2/TurnStatus.js +2 -0
  318. package/vendor/runtime/dist/executor/codexProtocol/v2/UserInput.d.ts +3 -0
  319. package/vendor/runtime/dist/executor/codexProtocol/v2/UserInput.d.ts.map +1 -1
  320. package/vendor/runtime/dist/executor/codexProtocol/v2/WebSearchAction.d.ts +15 -0
  321. package/vendor/runtime/dist/executor/codexProtocol/v2/WebSearchAction.d.ts.map +1 -0
  322. package/vendor/runtime/dist/executor/codexProtocol/v2/WebSearchAction.js +2 -0
  323. package/vendor/runtime/dist/executor/codexRpc.d.ts +13 -4
  324. package/vendor/runtime/dist/executor/codexRpc.d.ts.map +1 -1
  325. package/vendor/runtime/dist/executor/codexRpc.js +21 -5
  326. package/vendor/runtime/dist/executor/codexSessions.d.ts +30 -0
  327. package/vendor/runtime/dist/executor/codexSessions.d.ts.map +1 -0
  328. package/vendor/runtime/dist/executor/codexSessions.js +88 -0
  329. package/vendor/runtime/dist/executor/health.d.ts +8 -2
  330. package/vendor/runtime/dist/executor/health.d.ts.map +1 -1
  331. package/vendor/runtime/dist/executor/health.js +21 -5
  332. package/vendor/runtime/dist/executor/liveTurns.d.ts +2 -1
  333. package/vendor/runtime/dist/executor/liveTurns.d.ts.map +1 -1
  334. package/vendor/runtime/dist/executor/liveTurns.js +12 -5
  335. package/vendor/runtime/dist/executor/ownership.d.ts +40 -0
  336. package/vendor/runtime/dist/executor/ownership.d.ts.map +1 -0
  337. package/vendor/runtime/dist/executor/ownership.js +106 -0
  338. package/vendor/runtime/dist/executor/providerRouter.d.ts +1 -0
  339. package/vendor/runtime/dist/executor/providerRouter.d.ts.map +1 -1
  340. package/vendor/runtime/dist/executor/providerRouter.js +5 -0
  341. package/vendor/runtime/dist/executor/types.d.ts +27 -0
  342. package/vendor/runtime/dist/executor/types.d.ts.map +1 -1
  343. package/vendor/runtime/dist/harness/index.d.ts.map +1 -1
  344. package/vendor/runtime/dist/harness/index.js +1 -0
  345. package/vendor/runtime/dist/index.d.ts +2 -1
  346. package/vendor/runtime/dist/index.d.ts.map +1 -1
  347. package/vendor/runtime/dist/index.js +1 -0
  348. package/vendor/runtime/src/executor/asyncQueue.ts +3 -0
  349. package/vendor/runtime/src/executor/claudeAgent.ts +66 -13
  350. package/vendor/runtime/src/executor/codex.ts +124 -47
  351. package/vendor/runtime/src/executor/codexProtocol/AgentPath.ts +5 -0
  352. package/vendor/runtime/src/executor/codexProtocol/FunctionCallOutputContentItem.ts +1 -1
  353. package/vendor/runtime/src/executor/codexProtocol/ImageGenerationFailure.ts +5 -0
  354. package/vendor/runtime/src/executor/codexProtocol/ImageGenerationItem.ts +7 -0
  355. package/vendor/runtime/src/executor/codexProtocol/LegacyAppPathString.ts +27 -0
  356. package/vendor/runtime/src/executor/codexProtocol/MessagePhase.ts +11 -0
  357. package/vendor/runtime/src/executor/codexProtocol/Personality.ts +3 -0
  358. package/vendor/runtime/src/executor/codexProtocol/PlanType.ts +1 -1
  359. package/vendor/runtime/src/executor/codexProtocol/README.md +2 -2
  360. package/vendor/runtime/src/executor/codexProtocol/SleepItem.ts +8 -0
  361. package/vendor/runtime/src/executor/codexProtocol/SubAgentSource.ts +7 -0
  362. package/vendor/runtime/src/executor/codexProtocol/ThreadId.ts +10 -0
  363. package/vendor/runtime/src/executor/codexProtocol/WebSearchItem.ts +14 -0
  364. package/vendor/runtime/src/executor/codexProtocol/v2/AgentMessageDelivery.ts +5 -0
  365. package/vendor/runtime/src/executor/codexProtocol/v2/AsyncUserInputQuestion.ts +5 -0
  366. package/vendor/runtime/src/executor/codexProtocol/v2/CodexErrorInfo.ts +12 -0
  367. package/vendor/runtime/src/executor/codexProtocol/v2/CollabAgentState.ts +6 -0
  368. package/vendor/runtime/src/executor/codexProtocol/v2/CollabAgentStatus.ts +5 -0
  369. package/vendor/runtime/src/executor/codexProtocol/v2/CollabAgentTool.ts +5 -0
  370. package/vendor/runtime/src/executor/codexProtocol/v2/CollabAgentToolCallStatus.ts +5 -0
  371. package/vendor/runtime/src/executor/codexProtocol/v2/CommandAction.ts +6 -0
  372. package/vendor/runtime/src/executor/codexProtocol/v2/CommandExecutionSource.ts +5 -0
  373. package/vendor/runtime/src/executor/codexProtocol/v2/CommandExecutionStatus.ts +5 -0
  374. package/vendor/runtime/src/executor/codexProtocol/v2/CyberAccessProgram.ts +9 -0
  375. package/vendor/runtime/src/executor/codexProtocol/v2/DynamicToolCallOutputContentItem.ts +5 -0
  376. package/vendor/runtime/src/executor/codexProtocol/v2/DynamicToolCallStatus.ts +5 -0
  377. package/vendor/runtime/src/executor/codexProtocol/v2/FileUpdateChange.ts +6 -0
  378. package/vendor/runtime/src/executor/codexProtocol/v2/GetAccountRateLimitsResponse.ts +5 -0
  379. package/vendor/runtime/src/executor/codexProtocol/v2/GitInfo.ts +5 -0
  380. package/vendor/runtime/src/executor/codexProtocol/v2/HookPromptFragment.ts +5 -0
  381. package/vendor/runtime/src/executor/codexProtocol/v2/McpAppDisplayMode.ts +5 -0
  382. package/vendor/runtime/src/executor/codexProtocol/v2/McpAppUi.ts +9 -0
  383. package/vendor/runtime/src/executor/codexProtocol/v2/McpToolCallAppContext.ts +5 -0
  384. package/vendor/runtime/src/executor/codexProtocol/v2/McpToolCallError.ts +5 -0
  385. package/vendor/runtime/src/executor/codexProtocol/v2/McpToolCallResult.ts +6 -0
  386. package/vendor/runtime/src/executor/codexProtocol/v2/McpToolCallStatus.ts +5 -0
  387. package/vendor/runtime/src/executor/codexProtocol/v2/MemoryCitation.ts +6 -0
  388. package/vendor/runtime/src/executor/codexProtocol/v2/MemoryCitationEntry.ts +5 -0
  389. package/vendor/runtime/src/executor/codexProtocol/v2/MisalignmentErrorDetails.ts +18 -0
  390. package/vendor/runtime/src/executor/codexProtocol/v2/MisalignmentSteer.ts +5 -0
  391. package/vendor/runtime/src/executor/codexProtocol/v2/Model.ts +11 -2
  392. package/vendor/runtime/src/executor/codexProtocol/v2/ModelAccessPrograms.ts +13 -0
  393. package/vendor/runtime/src/executor/codexProtocol/v2/NonSteerableTurnKind.ts +5 -0
  394. package/vendor/runtime/src/executor/codexProtocol/v2/PatchApplyStatus.ts +5 -0
  395. package/vendor/runtime/src/executor/codexProtocol/v2/PatchChangeKind.ts +5 -0
  396. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitSnapshot.ts +5 -1
  397. package/vendor/runtime/src/executor/codexProtocol/v2/ReviewStartParams.ts +2 -0
  398. package/vendor/runtime/src/executor/codexProtocol/v2/SessionSource.ts +6 -0
  399. package/vendor/runtime/src/executor/codexProtocol/v2/SubAgentActivityKind.ts +5 -0
  400. package/vendor/runtime/src/executor/codexProtocol/v2/Thread.ts +104 -0
  401. package/vendor/runtime/src/executor/codexProtocol/v2/ThreadActiveFlag.ts +5 -0
  402. package/vendor/runtime/src/executor/codexProtocol/v2/ThreadHistoryMode.ts +5 -0
  403. package/vendor/runtime/src/executor/codexProtocol/v2/ThreadItem.ts +125 -0
  404. package/vendor/runtime/src/executor/codexProtocol/v2/ThreadReadParams.ts +12 -0
  405. package/vendor/runtime/src/executor/codexProtocol/v2/ThreadReadResponse.ts +6 -0
  406. package/vendor/runtime/src/executor/codexProtocol/v2/ThreadResumeParams.ts +5 -1
  407. package/vendor/runtime/src/executor/codexProtocol/v2/ThreadSection.ts +21 -0
  408. package/vendor/runtime/src/executor/codexProtocol/v2/ThreadSectionAppearance.ts +8 -0
  409. package/vendor/runtime/src/executor/codexProtocol/v2/ThreadStartParams.ts +4 -1
  410. package/vendor/runtime/src/executor/codexProtocol/v2/ThreadStatus.ts +6 -0
  411. package/vendor/runtime/src/executor/codexProtocol/v2/Turn.ts +37 -0
  412. package/vendor/runtime/src/executor/codexProtocol/v2/TurnError.ts +11 -0
  413. package/vendor/runtime/src/executor/codexProtocol/v2/TurnItemsView.ts +5 -0
  414. package/vendor/runtime/src/executor/codexProtocol/v2/TurnStartParams.ts +7 -2
  415. package/vendor/runtime/src/executor/codexProtocol/v2/TurnStatus.ts +5 -0
  416. package/vendor/runtime/src/executor/codexProtocol/v2/UserInput.ts +1 -1
  417. package/vendor/runtime/src/executor/codexProtocol/v2/WebSearchAction.ts +5 -0
  418. package/vendor/runtime/src/executor/codexRpc.ts +26 -6
  419. package/vendor/runtime/src/executor/codexSessions.ts +108 -0
  420. package/vendor/runtime/src/executor/health.ts +21 -7
  421. package/vendor/runtime/src/executor/liveTurns.ts +12 -5
  422. package/vendor/runtime/src/executor/ownership.ts +83 -0
  423. package/vendor/runtime/src/executor/providerRouter.ts +6 -0
  424. package/vendor/runtime/src/executor/types.ts +20 -1
  425. package/vendor/runtime/src/harness/index.ts +1 -0
  426. package/vendor/runtime/src/index.ts +2 -1
  427. package/vendor/shared/dist/agentCommands.d.ts +1 -0
  428. package/vendor/shared/dist/agentCommands.d.ts.map +1 -1
  429. package/vendor/shared/dist/automations.d.ts +34 -0
  430. package/vendor/shared/dist/automations.d.ts.map +1 -1
  431. package/vendor/shared/dist/automations.js +12 -0
  432. package/vendor/shared/dist/cardStudio.d.ts +41 -0
  433. package/vendor/shared/dist/cardStudio.d.ts.map +1 -1
  434. package/vendor/shared/dist/cardStudio.js +13 -3
  435. package/vendor/shared/dist/computer.d.ts +7 -1
  436. package/vendor/shared/dist/computer.d.ts.map +1 -1
  437. package/vendor/shared/dist/computer.js +13 -4
  438. package/vendor/shared/dist/constants.d.ts +3 -3
  439. package/vendor/shared/dist/constants.d.ts.map +1 -1
  440. package/vendor/shared/dist/constants.js +8 -14
  441. package/vendor/shared/dist/goalNotes.d.ts +4 -0
  442. package/vendor/shared/dist/goalNotes.d.ts.map +1 -0
  443. package/vendor/shared/dist/goalNotes.js +23 -0
  444. package/vendor/shared/dist/goals.d.ts +835 -0
  445. package/vendor/shared/dist/goals.d.ts.map +1 -0
  446. package/vendor/shared/dist/goals.js +198 -0
  447. package/vendor/shared/dist/index.d.ts +7 -2
  448. package/vendor/shared/dist/index.d.ts.map +1 -1
  449. package/vendor/shared/dist/index.js +6 -1
  450. package/vendor/shared/dist/journal-vault.d.ts +1 -1
  451. package/vendor/shared/dist/messagingSafety.d.ts +21 -0
  452. package/vendor/shared/dist/messagingSafety.d.ts.map +1 -0
  453. package/vendor/shared/dist/messagingSafety.js +8 -0
  454. package/vendor/shared/dist/schemas/harness.d.ts +199 -169
  455. package/vendor/shared/dist/schemas/harness.d.ts.map +1 -1
  456. package/vendor/shared/dist/schemas/harness.js +25 -124
  457. package/vendor/shared/dist/smartCapture.d.ts +24 -0
  458. package/vendor/shared/dist/smartCapture.d.ts.map +1 -1
  459. package/vendor/shared/dist/smartCapture.js +15 -0
  460. package/vendor/shared/dist/taskSync.d.ts +342 -0
  461. package/vendor/shared/dist/taskSync.d.ts.map +1 -0
  462. package/vendor/shared/dist/taskSync.js +111 -0
  463. package/vendor/shared/dist/types.d.ts +1 -4
  464. package/vendor/shared/dist/types.d.ts.map +1 -1
  465. package/vendor/shared/dist/voiceCapture.d.ts +1 -1
  466. package/vendor/shared/dist/workspaces.d.ts +255 -0
  467. package/vendor/shared/dist/workspaces.d.ts.map +1 -0
  468. package/vendor/shared/dist/workspaces.js +89 -0
  469. package/vendor/shared/src/agentCommands.ts +1 -0
  470. package/vendor/shared/src/automations.ts +12 -0
  471. package/vendor/shared/src/cardStudio.ts +13 -3
  472. package/vendor/shared/src/computer.ts +19 -5
  473. package/vendor/shared/src/constants.ts +8 -14
  474. package/vendor/shared/src/goalNotes.ts +23 -0
  475. package/vendor/shared/src/goals.ts +237 -0
  476. package/vendor/shared/src/index.ts +7 -6
  477. package/vendor/shared/src/messagingSafety.ts +11 -0
  478. package/vendor/shared/src/schemas/harness.ts +24 -130
  479. package/vendor/shared/src/smartCapture.ts +27 -0
  480. package/vendor/shared/src/taskSync.ts +81 -0
  481. package/vendor/shared/src/types.ts +0 -6
  482. package/vendor/shared/src/workspaces.ts +103 -0
  483. package/dist/coding/conduct.d.ts +0 -69
  484. package/dist/coding/conduct.d.ts.map +0 -1
  485. package/dist/coding/conduct.js +0 -348
  486. package/dist/coding/fleetIntegrate.d.ts +0 -37
  487. package/dist/coding/fleetIntegrate.d.ts.map +0 -1
  488. package/dist/coding/fleetIntegrate.js +0 -64
  489. package/dist/coding/fleetPlan.d.ts +0 -20
  490. package/dist/coding/fleetPlan.d.ts.map +0 -1
  491. package/dist/coding/fleetPlan.js +0 -125
  492. package/dist/coding/fleetTasks.d.ts +0 -33
  493. package/dist/coding/fleetTasks.d.ts.map +0 -1
  494. package/dist/coding/fleetTasks.js +0 -75
  495. package/dist/coding/openFleetPr.d.ts +0 -41
  496. package/dist/coding/openFleetPr.d.ts.map +0 -1
  497. package/dist/coding/openFleetPr.js +0 -121
  498. package/src/coding/conduct.ts +0 -462
  499. package/src/coding/fleetIntegrate.ts +0 -95
  500. package/src/coding/fleetPlan.ts +0 -135
  501. package/src/coding/fleetTasks.ts +0 -109
  502. package/src/coding/openFleetPr.ts +0 -148
@@ -111,6 +111,7 @@ export function createLucidHarness(deps: LucidHarnessDeps): LucidHarness {
111
111
  const result = await deps.planningExecutor.run({
112
112
  ...buildDayPlanningPrompt(input.prompt, input.dayPlan),
113
113
  requestId: input.requestId, noTools: true, effort: 'high',
114
+ provider: input.provider,
114
115
  timeoutMs: 120_000, signal: input.signal,
115
116
  });
116
117
  return { text: JSON.stringify(parseDayPlanningResult(result.text, input.prompt, input.dayPlan)), costUsd: result.costUsd };
@@ -82,8 +82,9 @@ export { ClaudeAgentExecutor, CLAUDE_AGENT_SDK_VERSION } from './executor/claude
82
82
  export { CodexExecutor } from './executor/codex.js';
83
83
  export { CODEX_RUNTIME_VERSION } from './executor/codexRpc.js';
84
84
  export { ProviderRouter, encodeSession, decodeSession } from './executor/providerRouter.js';
85
- export type { AgentProvider, ExecutorApproval, ExecutorModel } from './executor/types.js';
85
+ export type { AgentProvider, ExecutorApproval, ExecutorModel, ProviderRunRef, ProviderInspection } from './executor/types.js';
86
86
  export { HealthAwareExecutor, providerFailure } from './executor/health.js';
87
+ export { ExecutionOwnership, OwnedExecutor } from './executor/ownership.js';
87
88
 
88
89
  // Bounded decisions, independent of subscription-backed chat/coding executors.
89
90
  export * from '@lucidity/decisions';
@@ -15,6 +15,7 @@ export interface AgentCommandOption {
15
15
  argumentHint: string;
16
16
  /** SDK commands can accept freeform arguments without publishing a hint. */
17
17
  acceptsArguments?: boolean;
18
+ startsConversation?: boolean;
18
19
  aliases?: string[];
19
20
  clearsContext?: boolean;
20
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"agentCommands.d.ts","sourceRoot":"","sources":["../src/agentCommands.ts"],"names":[],"mappings":"AAAA,0FAA0F;AAC1F,wBAAgB,iBAAiB,CAC/B,IAAI,EAA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M,EAAE,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,kBAAkB,EAAE,EAAE,IAAI,EAAE,MAAM,kCAQ5E"}
@@ -420,6 +420,23 @@ export declare const AutomationRunSchema: z.ZodObject<{
420
420
  costUsd: z.ZodOptional<z.ZodNumber>;
421
421
  sessionId: z.ZodOptional<z.ZodString>;
422
422
  summary: z.ZodDefault<z.ZodString>;
423
+ cancelRequested: z.ZodOptional<z.ZodBoolean>;
424
+ workflow: z.ZodOptional<z.ZodObject<{
425
+ version: z.ZodNumber;
426
+ attempts: z.ZodNumber;
427
+ possibleAdditionalCost: z.ZodBoolean;
428
+ steps: z.ZodArray<z.ZodObject<{
429
+ key: z.ZodString;
430
+ status: z.ZodEnum<{
431
+ running: "running";
432
+ completed: "completed";
433
+ failed: "failed";
434
+ uncertain: "uncertain";
435
+ }>;
436
+ attempts: z.ZodNumber;
437
+ error: z.ZodOptional<z.ZodString>;
438
+ }, z.core.$strip>>;
439
+ }, z.core.$strip>>;
423
440
  error: z.ZodOptional<z.ZodString>;
424
441
  parentRunId: z.ZodOptional<z.ZodString>;
425
442
  input: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
@@ -858,6 +875,23 @@ export declare const AutomationSnapshotSchema: z.ZodObject<{
858
875
  costUsd: z.ZodOptional<z.ZodNumber>;
859
876
  sessionId: z.ZodOptional<z.ZodString>;
860
877
  summary: z.ZodDefault<z.ZodString>;
878
+ cancelRequested: z.ZodOptional<z.ZodBoolean>;
879
+ workflow: z.ZodOptional<z.ZodObject<{
880
+ version: z.ZodNumber;
881
+ attempts: z.ZodNumber;
882
+ possibleAdditionalCost: z.ZodBoolean;
883
+ steps: z.ZodArray<z.ZodObject<{
884
+ key: z.ZodString;
885
+ status: z.ZodEnum<{
886
+ running: "running";
887
+ completed: "completed";
888
+ failed: "failed";
889
+ uncertain: "uncertain";
890
+ }>;
891
+ attempts: z.ZodNumber;
892
+ error: z.ZodOptional<z.ZodString>;
893
+ }, z.core.$strip>>;
894
+ }, z.core.$strip>>;
861
895
  error: z.ZodOptional<z.ZodString>;
862
896
  parentRunId: z.ZodOptional<z.ZodString>;
863
897
  input: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"automations.d.ts","sourceRoot":"","sources":["../src/automations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA2BxB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;iBA6BnC,CAAC;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiCzB,CAAC;AACZ,eAAO,MAAM,sBAAsB;;;;;;EAMjC,CAAC;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAuBnC,CAAC;AACL,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAGhC,CAAC;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAa9B,CAAC;AACH,eAAO,MAAM,qBAAqB;;;;;;iBAUhC,CAAC;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;iBAM7B,CAAC;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;iBASlC,CAAC;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;iBAK7B,CAAC;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAU/B,CAAC;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;iBAmB/B,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsBnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,wBAAgB,eAAe,CAC7B,KAAK,EAAE,eAAe,GACrB,KAAK,IAAI,iBAAiB,CAE5B"}
@@ -219,6 +219,18 @@ export const AutomationRunSchema = z.object({
219
219
  costUsd: z.number().optional(),
220
220
  sessionId: z.string().optional(),
221
221
  summary: z.string().default(''),
222
+ cancelRequested: z.boolean().optional(),
223
+ workflow: z.object({
224
+ version: z.number().int(),
225
+ attempts: z.number().int(),
226
+ possibleAdditionalCost: z.boolean(),
227
+ steps: z.array(z.object({
228
+ key: z.string(),
229
+ status: z.enum(['running', 'completed', 'uncertain', 'failed']),
230
+ attempts: z.number().int(),
231
+ error: z.string().optional(),
232
+ })),
233
+ }).optional(),
222
234
  error: z.string().optional(),
223
235
  parentRunId: id.optional(),
224
236
  input: AutomationInputSchema.optional(),
@@ -7,6 +7,7 @@ export declare const CardIdSchema: z.ZodEnum<{
7
7
  "habit-contributions": "habit-contributions";
8
8
  focus: "focus";
9
9
  "weekly-review": "weekly-review";
10
+ goals: "goals";
10
11
  }>;
11
12
  export type CardId = z.infer<typeof CardIdSchema>;
12
13
  export declare const CardStyleSchema: z.ZodEnum<{
@@ -30,8 +31,13 @@ export declare const CardPreferencesSchema: z.ZodObject<{
30
31
  "habit-contributions": "habit-contributions";
31
32
  focus: "focus";
32
33
  "weekly-review": "weekly-review";
34
+ goals: "goals";
33
35
  }>>;
34
36
  styles: z.ZodObject<{
37
+ goals: z.ZodDefault<z.ZodEnum<{
38
+ glance: "glance";
39
+ act: "act";
40
+ }>>;
35
41
  habits: z.ZodEnum<{
36
42
  glance: "glance";
37
43
  act: "act";
@@ -64,6 +70,7 @@ export declare const CardPreferenceChangeSchema: z.ZodDiscriminatedUnion<[z.ZodO
64
70
  "habit-contributions": "habit-contributions";
65
71
  focus: "focus";
66
72
  "weekly-review": "weekly-review";
73
+ goals: "goals";
67
74
  }>;
68
75
  index: z.ZodOptional<z.ZodNumber>;
69
76
  }, z.core.$strip>, z.ZodObject<{
@@ -76,6 +83,7 @@ export declare const CardPreferenceChangeSchema: z.ZodDiscriminatedUnion<[z.ZodO
76
83
  "habit-contributions": "habit-contributions";
77
84
  focus: "focus";
78
85
  "weekly-review": "weekly-review";
86
+ goals: "goals";
79
87
  }>;
80
88
  }, z.core.$strip>, z.ZodObject<{
81
89
  type: z.ZodLiteral<"move">;
@@ -87,6 +95,7 @@ export declare const CardPreferenceChangeSchema: z.ZodDiscriminatedUnion<[z.ZodO
87
95
  "habit-contributions": "habit-contributions";
88
96
  focus: "focus";
89
97
  "weekly-review": "weekly-review";
98
+ goals: "goals";
90
99
  }>;
91
100
  before: z.ZodNullable<z.ZodEnum<{
92
101
  today: "today";
@@ -96,6 +105,7 @@ export declare const CardPreferenceChangeSchema: z.ZodDiscriminatedUnion<[z.ZodO
96
105
  "habit-contributions": "habit-contributions";
97
106
  focus: "focus";
98
107
  "weekly-review": "weekly-review";
108
+ goals: "goals";
99
109
  }>>;
100
110
  }, z.core.$strip>, z.ZodObject<{
101
111
  type: z.ZodLiteral<"style">;
@@ -104,6 +114,7 @@ export declare const CardPreferenceChangeSchema: z.ZodDiscriminatedUnion<[z.ZodO
104
114
  "habit-contributions": "habit-contributions";
105
115
  focus: "focus";
106
116
  "weekly-review": "weekly-review";
117
+ goals: "goals";
107
118
  }>;
108
119
  style: z.ZodEnum<{
109
120
  glance: "glance";
@@ -255,8 +266,13 @@ export declare const StudioSnapshotSchema: z.ZodObject<{
255
266
  "habit-contributions": "habit-contributions";
256
267
  focus: "focus";
257
268
  "weekly-review": "weekly-review";
269
+ goals: "goals";
258
270
  }>>;
259
271
  styles: z.ZodObject<{
272
+ goals: z.ZodDefault<z.ZodEnum<{
273
+ glance: "glance";
274
+ act: "act";
275
+ }>>;
260
276
  habits: z.ZodEnum<{
261
277
  glance: "glance";
262
278
  act: "act";
@@ -390,6 +406,7 @@ export declare const StudioCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
390
406
  "habit-contributions": "habit-contributions";
391
407
  focus: "focus";
392
408
  "weekly-review": "weekly-review";
409
+ goals: "goals";
393
410
  }>;
394
411
  index: z.ZodOptional<z.ZodNumber>;
395
412
  }, z.core.$strip>, z.ZodObject<{
@@ -402,6 +419,7 @@ export declare const StudioCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
402
419
  "habit-contributions": "habit-contributions";
403
420
  focus: "focus";
404
421
  "weekly-review": "weekly-review";
422
+ goals: "goals";
405
423
  }>;
406
424
  }, z.core.$strip>, z.ZodObject<{
407
425
  type: z.ZodLiteral<"move">;
@@ -413,6 +431,7 @@ export declare const StudioCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
413
431
  "habit-contributions": "habit-contributions";
414
432
  focus: "focus";
415
433
  "weekly-review": "weekly-review";
434
+ goals: "goals";
416
435
  }>;
417
436
  before: z.ZodNullable<z.ZodEnum<{
418
437
  today: "today";
@@ -422,6 +441,7 @@ export declare const StudioCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
422
441
  "habit-contributions": "habit-contributions";
423
442
  focus: "focus";
424
443
  "weekly-review": "weekly-review";
444
+ goals: "goals";
425
445
  }>>;
426
446
  }, z.core.$strip>, z.ZodObject<{
427
447
  type: z.ZodLiteral<"style">;
@@ -430,6 +450,7 @@ export declare const StudioCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
430
450
  "habit-contributions": "habit-contributions";
431
451
  focus: "focus";
432
452
  "weekly-review": "weekly-review";
453
+ goals: "goals";
433
454
  }>;
434
455
  style: z.ZodEnum<{
435
456
  glance: "glance";
@@ -462,6 +483,7 @@ export declare const StudioOperationSchema: z.ZodObject<{
462
483
  "habit-contributions": "habit-contributions";
463
484
  focus: "focus";
464
485
  "weekly-review": "weekly-review";
486
+ goals: "goals";
465
487
  }>;
466
488
  index: z.ZodOptional<z.ZodNumber>;
467
489
  }, z.core.$strip>, z.ZodObject<{
@@ -474,6 +496,7 @@ export declare const StudioOperationSchema: z.ZodObject<{
474
496
  "habit-contributions": "habit-contributions";
475
497
  focus: "focus";
476
498
  "weekly-review": "weekly-review";
499
+ goals: "goals";
477
500
  }>;
478
501
  }, z.core.$strip>, z.ZodObject<{
479
502
  type: z.ZodLiteral<"move">;
@@ -485,6 +508,7 @@ export declare const StudioOperationSchema: z.ZodObject<{
485
508
  "habit-contributions": "habit-contributions";
486
509
  focus: "focus";
487
510
  "weekly-review": "weekly-review";
511
+ goals: "goals";
488
512
  }>;
489
513
  before: z.ZodNullable<z.ZodEnum<{
490
514
  today: "today";
@@ -494,6 +518,7 @@ export declare const StudioOperationSchema: z.ZodObject<{
494
518
  "habit-contributions": "habit-contributions";
495
519
  focus: "focus";
496
520
  "weekly-review": "weekly-review";
521
+ goals: "goals";
497
522
  }>>;
498
523
  }, z.core.$strip>, z.ZodObject<{
499
524
  type: z.ZodLiteral<"style">;
@@ -502,6 +527,7 @@ export declare const StudioOperationSchema: z.ZodObject<{
502
527
  "habit-contributions": "habit-contributions";
503
528
  focus: "focus";
504
529
  "weekly-review": "weekly-review";
530
+ goals: "goals";
505
531
  }>;
506
532
  style: z.ZodEnum<{
507
533
  glance: "glance";
@@ -532,8 +558,13 @@ export declare const StudioAcknowledgmentSchema: z.ZodObject<{
532
558
  "habit-contributions": "habit-contributions";
533
559
  focus: "focus";
534
560
  "weekly-review": "weekly-review";
561
+ goals: "goals";
535
562
  }>>;
536
563
  styles: z.ZodObject<{
564
+ goals: z.ZodDefault<z.ZodEnum<{
565
+ glance: "glance";
566
+ act: "act";
567
+ }>>;
537
568
  habits: z.ZodEnum<{
538
569
  glance: "glance";
539
570
  act: "act";
@@ -568,8 +599,13 @@ export declare const CardStoreRecordSchema: z.ZodObject<{
568
599
  "habit-contributions": "habit-contributions";
569
600
  focus: "focus";
570
601
  "weekly-review": "weekly-review";
602
+ goals: "goals";
571
603
  }>>;
572
604
  styles: z.ZodObject<{
605
+ goals: z.ZodDefault<z.ZodEnum<{
606
+ glance: "glance";
607
+ act: "act";
608
+ }>>;
573
609
  habits: z.ZodEnum<{
574
610
  glance: "glance";
575
611
  act: "act";
@@ -682,6 +718,7 @@ export declare const CardStoreRecordSchema: z.ZodObject<{
682
718
  "habit-contributions": "habit-contributions";
683
719
  focus: "focus";
684
720
  "weekly-review": "weekly-review";
721
+ goals: "goals";
685
722
  }>;
686
723
  index: z.ZodOptional<z.ZodNumber>;
687
724
  }, z.core.$strip>, z.ZodObject<{
@@ -694,6 +731,7 @@ export declare const CardStoreRecordSchema: z.ZodObject<{
694
731
  "habit-contributions": "habit-contributions";
695
732
  focus: "focus";
696
733
  "weekly-review": "weekly-review";
734
+ goals: "goals";
697
735
  }>;
698
736
  }, z.core.$strip>, z.ZodObject<{
699
737
  type: z.ZodLiteral<"move">;
@@ -705,6 +743,7 @@ export declare const CardStoreRecordSchema: z.ZodObject<{
705
743
  "habit-contributions": "habit-contributions";
706
744
  focus: "focus";
707
745
  "weekly-review": "weekly-review";
746
+ goals: "goals";
708
747
  }>;
709
748
  before: z.ZodNullable<z.ZodEnum<{
710
749
  today: "today";
@@ -714,6 +753,7 @@ export declare const CardStoreRecordSchema: z.ZodObject<{
714
753
  "habit-contributions": "habit-contributions";
715
754
  focus: "focus";
716
755
  "weekly-review": "weekly-review";
756
+ goals: "goals";
717
757
  }>>;
718
758
  }, z.core.$strip>, z.ZodObject<{
719
759
  type: z.ZodLiteral<"style">;
@@ -722,6 +762,7 @@ export declare const CardStoreRecordSchema: z.ZodObject<{
722
762
  "habit-contributions": "habit-contributions";
723
763
  focus: "focus";
724
764
  "weekly-review": "weekly-review";
765
+ goals: "goals";
725
766
  }>;
726
767
  style: z.ZodEnum<{
727
768
  glance: "glance";
@@ -1 +1 @@
1
- {"version":3,"file":"cardStudio.d.ts","sourceRoot":"","sources":["../src/cardStudio.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,YAAY;;;;;;;;EAQvB,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAClD,eAAO,MAAM,eAAe;;;EAA4B,CAAC;AACzD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,eAAO,MAAM,YAAY,EAAE;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;CACjB,EAkD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C;AAChE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,aAAa,GACrB,cAAc,CA4BhB"}
@@ -7,9 +7,17 @@ export const CardIdSchema = z.enum([
7
7
  'habit-contributions',
8
8
  'focus',
9
9
  'weekly-review',
10
+ 'goals',
10
11
  ]);
11
12
  export const CardStyleSchema = z.enum(['glance', 'act']);
12
13
  export const CARD_CATALOG = [
14
+ {
15
+ id: 'goals',
16
+ name: 'Goals',
17
+ description: 'Something you want to achieve, with a timeframe and quiet checks from Lucid.',
18
+ source: 'Linked tasks, projects, private notes and habits',
19
+ styles: true,
20
+ },
13
21
  {
14
22
  id: 'attention',
15
23
  name: 'Attention',
@@ -63,9 +71,10 @@ export const CARD_CATALOG = [
63
71
  export const CardPreferencesSchema = z.object({
64
72
  order: z
65
73
  .array(CardIdSchema)
66
- .max(7)
74
+ .max(8)
67
75
  .refine((ids) => new Set(ids).size === ids.length),
68
76
  styles: z.object({
77
+ goals: CardStyleSchema.default('glance'),
69
78
  habits: CardStyleSchema,
70
79
  'habit-contributions': CardStyleSchema.default('glance'),
71
80
  focus: CardStyleSchema,
@@ -76,6 +85,7 @@ export const CardPreferencesSchema = z.object({
76
85
  export const DEFAULT_CARD_PREFERENCES = {
77
86
  order: ['attention', 'today', 'github'],
78
87
  styles: {
88
+ goals: 'glance',
79
89
  habits: 'act',
80
90
  'habit-contributions': 'glance',
81
91
  focus: 'act',
@@ -87,7 +97,7 @@ export const CardPreferenceChangeSchema = z.discriminatedUnion('type', [
87
97
  z.object({
88
98
  type: z.literal('add'),
89
99
  id: CardIdSchema,
90
- index: z.number().int().min(0).max(6).optional(),
100
+ index: z.number().int().min(0).max(7).optional(),
91
101
  }),
92
102
  z.object({ type: z.literal('remove'), id: CardIdSchema }),
93
103
  z.object({
@@ -97,7 +107,7 @@ export const CardPreferenceChangeSchema = z.discriminatedUnion('type', [
97
107
  }),
98
108
  z.object({
99
109
  type: z.literal('style'),
100
- id: z.enum(['habits', 'habit-contributions', 'focus', 'weekly-review']),
110
+ id: z.enum(['habits', 'habit-contributions', 'focus', 'weekly-review', 'goals']),
101
111
  style: CardStyleSchema,
102
112
  }),
103
113
  z.object({ type: z.literal('dismiss'), key: z.string().min(1).max(240) }),
@@ -213,7 +213,7 @@ export declare const ComputerPresenceSchema: z.ZodObject<{
213
213
  }, z.core.$strip>>>;
214
214
  }, z.core.$strip>;
215
215
  export type ComputerPresence = z.infer<typeof ComputerPresenceSchema>;
216
- export type ComputerFeature = 'turn-queue' | 'provider-handoff' | 'queue-control' | 'day-plan' | 'ask' | 'code' | 'conduct' | 'briefing' | 'attention' | 'models' | 'commands' | 'steer' | 'permission' | 'pull' | 'repos' | 'prs' | 'clone' | 'getConfig' | 'getAutomations' | 'automation' | 'setConfig' | 'journal' | 'incident' | 'voice-diag' | 'transcribe' | 'voice-capture' | 'voice-capture-status' | 'cancel';
216
+ export type ComputerFeature = 'checkout-history' | 'workspaces' | 'repo-settings' | 'worktree-delete' | 'turn-queue' | 'provider-handoff' | 'queue-control' | 'day-plan' | 'ask' | 'code' | 'briefing' | 'attention' | 'models' | 'commands' | 'steer' | 'permission' | 'pull' | 'repos' | 'prs' | 'clone' | 'getConfig' | 'getAutomations' | 'automation' | 'setConfig' | 'journal' | 'incident' | 'voice-diag' | 'transcribe' | 'voice-capture' | 'voice-capture-status' | 'cancel';
217
217
  export type Availability = {
218
218
  state: 'checking' | 'network' | 'never_paired' | 'offline' | 'update' | 'permission' | 'other_device' | 'provider' | 'ready';
219
219
  title: string;
@@ -224,4 +224,10 @@ export declare const INFERENCE_FEATURES: Set<string>;
224
224
  export declare function computerAvailability(presence: ComputerPresence | null, network: 'checking' | 'online' | 'offline', feature?: string, provider?: ComputerProvider): Availability;
225
225
  /** Session affinity can be read in RN without importing Node Buffer. Legacy IDs are Claude. */
226
226
  export declare function sessionProvider(resume?: string): ComputerProvider | undefined;
227
+ /** Saved overrides are needed when a conversation keeps a different provider from settings. */
228
+ export declare function sessionPreferences(resume?: string): {
229
+ provider: ComputerProvider;
230
+ model?: string;
231
+ effort?: string;
232
+ } | undefined;
227
233
  //# sourceMappingURL=computer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"computer.d.ts","sourceRoot":"","sources":["../src/computer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,qFAAqF;AACrF,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,cAAc;;;;;iBAKzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACtD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;iBAM/B,CAAC;AACH,MAAM,MAAM,cAA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BZ"}
@@ -46,7 +46,6 @@ export const INFERENCE_FEATURES = new Set([
46
46
  'ask',
47
47
  'day-plan',
48
48
  'code',
49
- 'conduct',
50
49
  'briefing',
51
50
  'attention',
52
51
  ]);
@@ -80,7 +79,7 @@ export function computerAvailability(presence, network, feature = 'ask', provide
80
79
  runtime.protocol !== COMPUTER_PROTOCOL ||
81
80
  !runtime.features.includes(feature))
82
81
  return blocked('update', 'Computer update required', `Update Lucidity on ${presence.computer?.name ?? presence.machine ?? 'your computer'} to use this feature. Other compatible features remain available.`);
83
- if (['code', 'conduct', 'repos', 'prs'].includes(feature) &&
82
+ if (['code', 'repos', 'prs'].includes(feature) &&
84
83
  !runtime.permissions.includes('coding'))
85
84
  return blocked('permission', 'Workspace access required', 'Add an approved repository on your computer before using coding features.');
86
85
  if (feature === 'clone' && !runtime.permissions.includes('clone'))
@@ -113,17 +112,27 @@ export function computerAvailability(presence, network, feature = 'ask', provide
113
112
  }
114
113
  /** Session affinity can be read in RN without importing Node Buffer. Legacy IDs are Claude. */
115
114
  export function sessionProvider(resume) {
115
+ return sessionPreferences(resume)?.provider;
116
+ }
117
+ /** Saved overrides are needed when a conversation keeps a different provider from settings. */
118
+ export function sessionPreferences(resume) {
116
119
  if (!resume)
117
120
  return undefined;
118
121
  if (!resume.startsWith('lucidity-session:'))
119
- return 'claude';
122
+ return { provider: 'claude' };
120
123
  try {
121
124
  const encoded = resume
122
125
  .slice('lucidity-session:'.length)
123
126
  .replace(/-/g, '+')
124
127
  .replace(/_/g, '/');
125
128
  const session = JSON.parse(atob(encoded));
126
- return session.provider === 'codex' ? 'codex' : 'claude';
129
+ if (session.provider !== 'codex' && session.provider !== 'claude')
130
+ return undefined;
131
+ return {
132
+ provider: session.provider,
133
+ model: typeof session.model === 'string' ? session.model : undefined,
134
+ effort: typeof session.effort === 'string' ? session.effort : undefined,
135
+ };
127
136
  }
128
137
  catch {
129
138
  return undefined;
@@ -110,11 +110,11 @@ export declare const BIO_MAX_LENGTH = 80;
110
110
  * would otherwise break the header) and turns an all-blank value into null, so
111
111
  * "cleared" and "never set" are the same state rather than two. */
112
112
  export declare function normalizeBio(input: string): string | null;
113
- export declare const HARNESS_REQUEST_KINDS: readonly ["getAutomations", "automation", "queue-control", "ask", "briefing", "journal", "code", "repos", "prs", "clone", "cancel", "pull", "getConfig", "setConfig", "incident", "conduct", "attention", "voice-diag", "transcribe", "voice-capture", "voice-capture-status", "steer", "permission", "models", "commands"];
113
+ export declare const HARNESS_REQUEST_KINDS: readonly ["workspaces", "getAutomations", "automation", "queue-control", "ask", "briefing", "journal", "code", "repos", "prs", "clone", "cancel", "pull", "getConfig", "setConfig", "incident", "attention", "voice-diag", "transcribe", "voice-capture", "voice-capture-status", "steer", "permission", "models", "commands"];
114
114
  export declare const EFFORT_LEVELS: readonly ["auto", "low", "medium", "high", "xhigh", "max", "ultra"];
115
115
  export declare const EFFORT_OPTIONS: readonly [{
116
116
  readonly value: "auto";
117
- readonly label: "Provider default";
117
+ readonly label: "Automatic";
118
118
  readonly blurb: "Use the model’s recommended effort";
119
119
  }, {
120
120
  readonly value: "low";
@@ -143,7 +143,7 @@ export declare const EFFORT_OPTIONS: readonly [{
143
143
  }];
144
144
  /** A safe fallback when the live provider catalog is unavailable. Never guess a version. */
145
145
  export declare function claudeModelLabel(alias: string): string;
146
- /** Friendly label for an effort level; unset (null) reads as "Provider default". */
146
+ /** Friendly label for an effort level; unset values use automatic reasoning. */
147
147
  export declare function effortLabel(value: string | null | undefined): string;
148
148
  export declare const DELIVERY_CHANNELS: readonly ["macos", "stdout"];
149
149
  export declare const AGENT_MODES: readonly ["off", "auto", "danger"];
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,yEAMrB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;CAMd,CAAC;AAEX,eAAO,MAAM,YAAY,IAAI,CAAC;AAC9B,eAAO,MAAM,YA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MAAM,CAAC;AAC3C,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAE3D,eAAO,MAAM,iBAAiB,8CAA+C,CAAC;AAC9E,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhE,eAAO,MAAM,qBAAqB,8BAA+B,CAAC;AAClE,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAMxE,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAI/C,eAAO,MAAM,4BAA4B,MAAM,CAAC;AAIhD;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAavD;AAID,eAAO,MAAM,kBAAkB,4BAA6B,CAAC;AAW7D,eAAO,MAAM,eAAe,mCAAoC,CAAC"}
@@ -335,6 +335,7 @@ export function normalizeBio(input) {
335
335
  // re-fetches an interrupted turn's frames from the daemon's durable turn log
336
336
  // (`sinceSeq` onward) so a dropped reply is recovered, never re-run.
337
337
  export const HARNESS_REQUEST_KINDS = [
338
+ 'workspaces',
338
339
  'getAutomations',
339
340
  'automation',
340
341
  'queue-control',
@@ -350,10 +351,6 @@ export const HARNESS_REQUEST_KINDS = [
350
351
  'getConfig',
351
352
  'setConfig',
352
353
  'incident',
353
- // Conductor (fleet of coding agents): `plan` decomposes a goal into workers (returns a
354
- // fan-out plan, runs no code); `run` executes an approved plan — one isolated worker
355
- // worktree per subtask, dispatched in merge order, integrated back onto lucid/<repo>.
356
- 'conduct',
357
354
  // Phone asks for the Dashboard's attention board (#320) — returns the cached one when it's
358
355
  // still fresh, otherwise composes a new one.
359
356
  'attention',
@@ -383,7 +380,7 @@ export const EFFORT_LEVELS = [
383
380
  export const EFFORT_OPTIONS = [
384
381
  {
385
382
  value: 'auto',
386
- label: 'Provider default',
383
+ label: 'Automatic',
387
384
  blurb: 'Use the model’s recommended effort',
388
385
  },
389
386
  { value: 'low', label: 'Low', blurb: 'Fastest, least thorough' },
@@ -399,11 +396,11 @@ export const EFFORT_OPTIONS = [
399
396
  ];
400
397
  /** A safe fallback when the live provider catalog is unavailable. Never guess a version. */
401
398
  export function claudeModelLabel(alias) {
402
- return alias === 'default' ? 'Provider default' : alias;
399
+ return alias === 'default' ? 'Claude' : alias;
403
400
  }
404
- /** Friendly label for an effort level; unset (null) reads as "Provider default". */
401
+ /** Friendly label for an effort level; unset values use automatic reasoning. */
405
402
  export function effortLabel(value) {
406
- return (EFFORT_OPTIONS.find((e) => e.value === value)?.label ?? 'Provider default');
403
+ return (EFFORT_OPTIONS.find((e) => e.value === value)?.label ?? 'Automatic');
407
404
  }
408
405
  // The daemon's user-facing delivery channels (macOS notification vs stdout). Mirror of
409
406
  // the daemon's own `DELIVERY_CHANNELS`; the daemon re-validates on write.
@@ -416,12 +413,9 @@ export const DELIVERY_CHANNELS = ['macos', 'stdout'];
416
413
  // meant to pair with the phone-approval bridge before it's surfaced in the app. Only
417
414
  // the interactive chat honours this; the unattended cron jobs stay tool-less.
418
415
  export const AGENT_MODES = ['off', 'auto', 'danger'];
419
- // The lifecycle of one conductor worker (a fan-out lane), as the Fleet board renders it.
420
- // `queued` = created, waiting on a merge-order dependency or a parallel-cap slot; `working` =
421
- // its code turn is streaming; `review` = done, its diff is waiting for the user; `merged` =
422
- // integrated onto the fleet branch; `blocked` = paused for an approval or a merge conflict;
423
- // `failed` = its turn errored. Mapped to Lucidity task status by the dogfood helper
424
- // (pending/in_progress/blocked/completed), since a worker IS a subtask.
416
+ // What a worktree's chat is doing, as the phone shows it. `queued` = being created; `working` =
417
+ // its turn is streaming; `review` = idle and waiting for you; `failed` = its turn or setup errored.
418
+ // `merged` and `blocked` are kept for lanes saved by older builds.
425
419
  export const WORKER_STATUSES = [
426
420
  'queued',
427
421
  'working',
@@ -0,0 +1,4 @@
1
+ /** The UUID travels with the note when it is renamed or moved in the private vault. */
2
+ export declare function goalNoteId(content: string): string | null;
3
+ export declare function withGoalNoteId(content: string, id: string): string;
4
+ //# sourceMappingURL=goalNotes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"goalNotes.d.ts","sourceRoot":"","sources":["../src/goalNotes.ts"],"names":[],"mappings":"AAGA,uFAAuF;AACvF,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAGzD;AACD,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAclE"}
@@ -0,0 +1,23 @@
1
+ import { z } from 'zod';
2
+ import { parseFrontmatter } from './notes.js';
3
+ /** The UUID travels with the note when it is renamed or moved in the private vault. */
4
+ export function goalNoteId(content) {
5
+ const parsed = z.uuid().safeParse(parseFrontmatter(content).data.lucidity_id);
6
+ return parsed.success ? parsed.data : null;
7
+ }
8
+ export function withGoalNoteId(content, id) {
9
+ z.uuid().parse(id);
10
+ const existing = goalNoteId(content);
11
+ if (existing) {
12
+ if (existing !== id)
13
+ throw new Error('This note already has a different identity. Reload it.');
14
+ return content;
15
+ }
16
+ if (content.startsWith('---')) {
17
+ const open = /^---[ \t]*\r?\n/.exec(content);
18
+ if (!open || !/^---[ \t]*(?:\r?\n|$)/m.test(content.slice(open[0].length)) || /^lucidity_id\s*:/m.test(content))
19
+ throw new Error('Fix the note’s frontmatter before linking it.');
20
+ return open[0] + `lucidity_id: ${id}\n` + content.slice(open[0].length);
21
+ }
22
+ return `---\nlucidity_id: ${id}\n---\n${content}`;
23
+ }