@opencorelabs/lucidity 0.2.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 (551) hide show
  1. package/README.md +36 -34
  2. package/bin/lucidity.js +2 -0
  3. package/dist/assets/speech/licenses/FluidAudio/LICENSE +201 -0
  4. package/dist/assets/speech/licenses/FluidAudio/ThirdPartyLicenses/fastcluster-LICENSE.md +11 -0
  5. package/dist/assets/speech/licenses/FluidAudio/ThirdPartyLicenses/vbx-LICENSE.md +201 -0
  6. package/dist/assets/speech/lucidity-speech +0 -0
  7. package/dist/automations/agent.d.ts +16 -0
  8. package/dist/automations/agent.d.ts.map +1 -0
  9. package/dist/automations/agent.js +196 -0
  10. package/dist/automations/cli.d.ts +4 -0
  11. package/dist/automations/cli.d.ts.map +1 -0
  12. package/dist/automations/cli.js +44 -0
  13. package/dist/automations/connections.d.ts +11 -0
  14. package/dist/automations/connections.d.ts.map +1 -0
  15. package/dist/automations/connections.js +74 -0
  16. package/dist/automations/designer.d.ts +39 -0
  17. package/dist/automations/designer.d.ts.map +1 -0
  18. package/dist/automations/designer.js +450 -0
  19. package/dist/automations/history.d.ts +4 -0
  20. package/dist/automations/history.d.ts.map +1 -0
  21. package/dist/automations/history.js +57 -0
  22. package/dist/automations/learning.d.ts +19 -0
  23. package/dist/automations/learning.d.ts.map +1 -0
  24. package/dist/automations/learning.js +121 -0
  25. package/dist/automations/pinterest.d.ts +21 -0
  26. package/dist/automations/pinterest.d.ts.map +1 -0
  27. package/dist/automations/pinterest.js +113 -0
  28. package/dist/automations/service.d.ts +42 -0
  29. package/dist/automations/service.d.ts.map +1 -0
  30. package/dist/automations/service.js +406 -0
  31. package/dist/automations/setup.d.ts +3 -0
  32. package/dist/automations/setup.d.ts.map +1 -0
  33. package/dist/automations/setup.js +48 -0
  34. package/dist/automations/skill.d.ts +3 -0
  35. package/dist/automations/skill.d.ts.map +1 -0
  36. package/dist/automations/skill.js +29 -0
  37. package/dist/automations/store.d.ts +13 -0
  38. package/dist/automations/store.d.ts.map +1 -0
  39. package/dist/automations/store.js +46 -0
  40. package/dist/chat/server.d.ts +2 -0
  41. package/dist/chat/server.d.ts.map +1 -1
  42. package/dist/chat/server.js +46 -2
  43. package/dist/coding/commandContext.d.ts +6 -0
  44. package/dist/coding/commandContext.d.ts.map +1 -0
  45. package/dist/coding/commandContext.js +20 -0
  46. package/dist/coding/runCodeTurn.d.ts +12 -2
  47. package/dist/coding/runCodeTurn.d.ts.map +1 -1
  48. package/dist/coding/runCodeTurn.js +49 -19
  49. package/dist/coding/worktree.d.ts +3 -4
  50. package/dist/coding/worktree.d.ts.map +1 -1
  51. package/dist/coding/worktree.js +3 -4
  52. package/dist/config.d.ts +6 -0
  53. package/dist/config.d.ts.map +1 -1
  54. package/dist/config.js +21 -3
  55. package/dist/decisions/cli.d.ts +2 -0
  56. package/dist/decisions/cli.d.ts.map +1 -0
  57. package/dist/decisions/cli.js +106 -0
  58. package/dist/decisions/client.d.ts +20 -0
  59. package/dist/decisions/client.d.ts.map +1 -0
  60. package/dist/decisions/client.js +41 -0
  61. package/dist/handoff.d.ts +11 -0
  62. package/dist/handoff.d.ts.map +1 -0
  63. package/dist/handoff.js +21 -0
  64. package/dist/index.js +190 -34
  65. package/dist/jobs/briefing.js +1 -1
  66. package/dist/jobs/extraction.d.ts.map +1 -1
  67. package/dist/jobs/extraction.js +112 -22
  68. package/dist/jobs/fastModeReview.d.ts +39 -0
  69. package/dist/jobs/fastModeReview.d.ts.map +1 -0
  70. package/dist/jobs/fastModeReview.js +192 -0
  71. package/dist/jobs/voiceReview.d.ts +24 -0
  72. package/dist/jobs/voiceReview.d.ts.map +1 -0
  73. package/dist/jobs/voiceReview.js +128 -0
  74. package/dist/mcp/clients.d.ts +26 -0
  75. package/dist/mcp/clients.d.ts.map +1 -0
  76. package/dist/mcp/clients.js +193 -0
  77. package/dist/mcp/config.d.ts +5 -2
  78. package/dist/mcp/config.d.ts.map +1 -1
  79. package/dist/mcp/config.js +48 -6
  80. package/dist/mcp/paired.d.ts +2 -0
  81. package/dist/mcp/paired.d.ts.map +1 -0
  82. package/dist/mcp/paired.js +21 -0
  83. package/dist/mcp/pairedConfig.d.ts +3 -0
  84. package/dist/mcp/pairedConfig.d.ts.map +1 -0
  85. package/dist/mcp/pairedConfig.js +33 -0
  86. package/dist/notesContext.d.ts.map +1 -1
  87. package/dist/notesContext.js +3 -2
  88. package/dist/room/client.d.ts +20 -7
  89. package/dist/room/client.d.ts.map +1 -1
  90. package/dist/room/client.js +262 -45
  91. package/dist/room/computer.d.ts.map +1 -1
  92. package/dist/room/computer.js +8 -0
  93. package/dist/room/context.d.ts +3 -2
  94. package/dist/room/context.d.ts.map +1 -1
  95. package/dist/room/context.js +10 -3
  96. package/dist/room/turnQueue.d.ts +40 -0
  97. package/dist/room/turnQueue.d.ts.map +1 -0
  98. package/dist/room/turnQueue.js +301 -0
  99. package/dist/setup/page.d.ts +3 -0
  100. package/dist/setup/page.d.ts.map +1 -0
  101. package/dist/setup/page.js +120 -0
  102. package/dist/setup/server.d.ts +26 -0
  103. package/dist/setup/server.d.ts.map +1 -0
  104. package/dist/setup/server.js +398 -0
  105. package/dist/skills/lucidity-automations/SKILL.md +54 -0
  106. package/dist/speech/captures.d.ts +30 -0
  107. package/dist/speech/captures.d.ts.map +1 -0
  108. package/dist/speech/captures.js +209 -0
  109. package/dist/speech/fluidAudio.d.ts +28 -0
  110. package/dist/speech/fluidAudio.d.ts.map +1 -0
  111. package/dist/speech/fluidAudio.js +182 -0
  112. package/dist/speech/service.d.ts +14 -0
  113. package/dist/speech/service.d.ts.map +1 -0
  114. package/dist/speech/service.js +88 -0
  115. package/dist/speech/types.d.ts +19 -0
  116. package/dist/speech/types.d.ts.map +1 -0
  117. package/dist/speech/types.js +1 -0
  118. package/dist/turnLog.d.ts +1 -0
  119. package/dist/turnLog.d.ts.map +1 -1
  120. package/dist/turnLog.js +3 -0
  121. package/native/speech/Package.resolved +15 -0
  122. package/native/speech/Package.swift +16 -0
  123. package/native/speech/Sources/lucidity-speech/Speech.swift +81 -0
  124. package/package.json +6 -2
  125. package/src/automations/agent.ts +239 -0
  126. package/src/automations/cli.ts +52 -0
  127. package/src/automations/connections.ts +83 -0
  128. package/src/automations/designer.ts +594 -0
  129. package/src/automations/history.ts +59 -0
  130. package/src/automations/learning.ts +180 -0
  131. package/src/automations/pinterest.ts +146 -0
  132. package/src/automations/service.ts +505 -0
  133. package/src/automations/setup.ts +71 -0
  134. package/src/automations/skill.ts +40 -0
  135. package/src/automations/store.ts +63 -0
  136. package/src/chat/server.ts +62 -3
  137. package/src/coding/commandContext.ts +29 -0
  138. package/src/coding/runCodeTurn.ts +65 -21
  139. package/src/coding/worktree.ts +3 -4
  140. package/src/config.ts +32 -2
  141. package/src/decisions/cli.ts +136 -0
  142. package/src/decisions/client.ts +62 -0
  143. package/src/handoff.ts +28 -0
  144. package/src/index.ts +204 -58
  145. package/src/jobs/briefing.ts +1 -1
  146. package/src/jobs/extraction.ts +157 -32
  147. package/src/jobs/fastModeReview.ts +221 -0
  148. package/src/jobs/voiceReview.ts +156 -0
  149. package/src/mcp/clients.ts +269 -0
  150. package/src/mcp/config.ts +58 -7
  151. package/src/mcp/paired.ts +23 -0
  152. package/src/mcp/pairedConfig.ts +44 -0
  153. package/src/notesContext.ts +3 -2
  154. package/src/room/client.ts +316 -52
  155. package/src/room/computer.ts +8 -0
  156. package/src/room/context.ts +12 -3
  157. package/src/room/turnQueue.ts +358 -0
  158. package/src/setup/page.ts +122 -0
  159. package/src/setup/server.ts +483 -0
  160. package/src/speech/captures.ts +265 -0
  161. package/src/speech/fluidAudio.ts +242 -0
  162. package/src/speech/service.ts +108 -0
  163. package/src/speech/types.ts +13 -0
  164. package/src/turnLog.ts +4 -0
  165. package/vendor/decisions/LICENSE +662 -0
  166. package/vendor/decisions/dist/capture.d.ts +79 -0
  167. package/vendor/decisions/dist/capture.js +183 -0
  168. package/vendor/decisions/dist/command.d.ts +202 -0
  169. package/vendor/decisions/dist/command.js +750 -0
  170. package/vendor/decisions/dist/gate.d.ts +12 -0
  171. package/vendor/decisions/dist/gate.js +18 -0
  172. package/vendor/decisions/dist/index.d.ts +5 -0
  173. package/vendor/decisions/dist/index.js +5 -0
  174. package/vendor/decisions/dist/jev.d.ts +15 -0
  175. package/vendor/decisions/dist/jev.js +242 -0
  176. package/vendor/decisions/dist/types.d.ts +67 -0
  177. package/vendor/decisions/dist/types.js +1 -0
  178. package/vendor/decisions/package.json +22 -0
  179. package/vendor/decisions/src/capture.ts +199 -0
  180. package/vendor/decisions/src/command.ts +836 -0
  181. package/vendor/decisions/src/gate.ts +32 -0
  182. package/vendor/decisions/src/index.ts +5 -0
  183. package/vendor/decisions/src/jev.ts +293 -0
  184. package/vendor/decisions/src/types.ts +79 -0
  185. package/vendor/mcp-server/README.md +130 -48
  186. package/vendor/mcp-server/dist/client.d.ts +1 -0
  187. package/vendor/mcp-server/dist/client.d.ts.map +1 -1
  188. package/vendor/mcp-server/dist/client.js +8 -0
  189. package/vendor/mcp-server/dist/commentProvider.d.ts +3 -0
  190. package/vendor/mcp-server/dist/commentProvider.d.ts.map +1 -0
  191. package/vendor/mcp-server/dist/commentProvider.js +10 -0
  192. package/vendor/mcp-server/dist/index.js +26 -5
  193. package/vendor/mcp-server/dist/tools/automations.d.ts +6 -0
  194. package/vendor/mcp-server/dist/tools/automations.d.ts.map +1 -0
  195. package/vendor/mcp-server/dist/tools/automations.js +163 -0
  196. package/vendor/mcp-server/dist/tools/commandEventFormat.d.ts +52 -0
  197. package/vendor/mcp-server/dist/tools/commandEventFormat.d.ts.map +1 -0
  198. package/vendor/mcp-server/dist/tools/commandEventFormat.js +83 -0
  199. package/vendor/mcp-server/dist/tools/commandEvents.d.ts +3 -0
  200. package/vendor/mcp-server/dist/tools/commandEvents.d.ts.map +1 -0
  201. package/vendor/mcp-server/dist/tools/commandEvents.js +21 -0
  202. package/vendor/mcp-server/dist/tools/comments.d.ts.map +1 -1
  203. package/vendor/mcp-server/dist/tools/comments.js +41 -5
  204. package/vendor/mcp-server/dist/tools/index.d.ts +2 -0
  205. package/vendor/mcp-server/dist/tools/index.d.ts.map +1 -1
  206. package/vendor/mcp-server/dist/tools/index.js +2 -0
  207. package/vendor/mcp-server/dist/tools/journal.d.ts +3 -0
  208. package/vendor/mcp-server/dist/tools/journal.d.ts.map +1 -0
  209. package/vendor/mcp-server/dist/tools/journal.js +131 -0
  210. package/vendor/mcp-server/dist/tools/memory.d.ts +2 -2
  211. package/vendor/mcp-server/dist/tools/memory.d.ts.map +1 -1
  212. package/vendor/mcp-server/dist/tools/memory.js +24 -14
  213. package/vendor/mcp-server/dist/tools/milestones.d.ts.map +1 -1
  214. package/vendor/mcp-server/dist/tools/milestones.js +30 -0
  215. package/vendor/mcp-server/dist/tools/notes.d.ts.map +1 -1
  216. package/vendor/mcp-server/dist/tools/notes.js +30 -5
  217. package/vendor/mcp-server/dist/tools/projects.d.ts.map +1 -1
  218. package/vendor/mcp-server/dist/tools/projects.js +15 -0
  219. package/vendor/mcp-server/dist/tools/queries.d.ts.map +1 -1
  220. package/vendor/mcp-server/dist/tools/queries.js +27 -2
  221. package/vendor/mcp-server/dist/tools/taskActivity.d.ts +3 -0
  222. package/vendor/mcp-server/dist/tools/taskActivity.d.ts.map +1 -0
  223. package/vendor/mcp-server/dist/tools/taskActivity.js +32 -0
  224. package/vendor/mcp-server/dist/tools/taskOccurrences.d.ts +3 -0
  225. package/vendor/mcp-server/dist/tools/taskOccurrences.d.ts.map +1 -0
  226. package/vendor/mcp-server/dist/tools/taskOccurrences.js +12 -0
  227. package/vendor/mcp-server/dist/tools/taskTrash.d.ts +3 -0
  228. package/vendor/mcp-server/dist/tools/taskTrash.d.ts.map +1 -0
  229. package/vendor/mcp-server/dist/tools/taskTrash.js +21 -0
  230. package/vendor/mcp-server/dist/tools/tasks.d.ts.map +1 -1
  231. package/vendor/mcp-server/dist/tools/tasks.js +99 -22
  232. package/vendor/mcp-server/package.json +5 -1
  233. package/vendor/mcp-server/src/client.ts +10 -0
  234. package/vendor/mcp-server/src/commentProvider.ts +9 -0
  235. package/vendor/mcp-server/src/index.ts +33 -6
  236. package/vendor/mcp-server/src/tools/automations.ts +199 -0
  237. package/vendor/mcp-server/src/tools/commandEventFormat.ts +108 -0
  238. package/vendor/mcp-server/src/tools/commandEvents.ts +27 -0
  239. package/vendor/mcp-server/src/tools/comments.ts +43 -4
  240. package/vendor/mcp-server/src/tools/index.ts +2 -0
  241. package/vendor/mcp-server/src/tools/journal.ts +168 -0
  242. package/vendor/mcp-server/src/tools/memory.ts +26 -12
  243. package/vendor/mcp-server/src/tools/milestones.ts +36 -0
  244. package/vendor/mcp-server/src/tools/notes.ts +35 -4
  245. package/vendor/mcp-server/src/tools/projects.ts +18 -0
  246. package/vendor/mcp-server/src/tools/queries.ts +30 -0
  247. package/vendor/mcp-server/src/tools/taskActivity.ts +55 -0
  248. package/vendor/mcp-server/src/tools/taskOccurrences.ts +26 -0
  249. package/vendor/mcp-server/src/tools/taskTrash.ts +23 -0
  250. package/vendor/mcp-server/src/tools/tasks.ts +104 -24
  251. package/vendor/notes/dist/index.d.ts +2 -0
  252. package/vendor/notes/dist/index.d.ts.map +1 -1
  253. package/vendor/notes/dist/index.js +2 -0
  254. package/vendor/notes/dist/journal-backend.d.ts +4 -0
  255. package/vendor/notes/dist/journal-backend.d.ts.map +1 -0
  256. package/vendor/notes/dist/journal-backend.js +33 -0
  257. package/vendor/notes/dist/journal.d.ts +7 -0
  258. package/vendor/notes/dist/journal.d.ts.map +1 -0
  259. package/vendor/notes/dist/journal.js +173 -0
  260. package/vendor/notes/dist/vault.d.ts.map +1 -1
  261. package/vendor/notes/dist/vault.js +6 -1
  262. package/vendor/notes/src/index.ts +2 -0
  263. package/vendor/notes/src/journal-backend.ts +53 -0
  264. package/vendor/notes/src/journal.ts +194 -0
  265. package/vendor/notes/src/vault.ts +9 -1
  266. package/vendor/runtime/README.md +4 -0
  267. package/vendor/runtime/dist/executor/claudeAgent.d.ts +2 -0
  268. package/vendor/runtime/dist/executor/claudeAgent.d.ts.map +1 -1
  269. package/vendor/runtime/dist/executor/claudeAgent.js +113 -8
  270. package/vendor/runtime/dist/executor/claudeCode.d.ts.map +1 -1
  271. package/vendor/runtime/dist/executor/claudeCode.js +8 -4
  272. package/vendor/runtime/dist/executor/codex.d.ts +2 -0
  273. package/vendor/runtime/dist/executor/codex.d.ts.map +1 -1
  274. package/vendor/runtime/dist/executor/codex.js +213 -11
  275. package/vendor/runtime/dist/executor/codexProtocol/PlanType.d.ts +2 -0
  276. package/vendor/runtime/dist/executor/codexProtocol/PlanType.d.ts.map +1 -0
  277. package/vendor/runtime/dist/executor/codexProtocol/PlanType.js +2 -0
  278. package/vendor/runtime/dist/executor/codexProtocol/v2/CreditsSnapshot.d.ts +6 -0
  279. package/vendor/runtime/dist/executor/codexProtocol/v2/CreditsSnapshot.d.ts.map +1 -0
  280. package/vendor/runtime/dist/executor/codexProtocol/v2/CreditsSnapshot.js +2 -0
  281. package/vendor/runtime/dist/executor/codexProtocol/v2/GetAccountRateLimitsResponse.d.ts +26 -0
  282. package/vendor/runtime/dist/executor/codexProtocol/v2/GetAccountRateLimitsResponse.d.ts.map +1 -0
  283. package/vendor/runtime/dist/executor/codexProtocol/v2/GetAccountRateLimitsResponse.js +2 -0
  284. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitReachedType.d.ts +2 -0
  285. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitReachedType.d.ts.map +1 -0
  286. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitReachedType.js +2 -0
  287. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCredit.d.ts +27 -0
  288. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCredit.d.ts.map +1 -0
  289. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCredit.js +2 -0
  290. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCreditStatus.d.ts +2 -0
  291. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCreditStatus.d.ts.map +1 -0
  292. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCreditStatus.js +2 -0
  293. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCreditsSummary.d.ts +13 -0
  294. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCreditsSummary.d.ts.map +1 -0
  295. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetCreditsSummary.js +2 -0
  296. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetType.d.ts +2 -0
  297. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetType.d.ts.map +1 -0
  298. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitResetType.js +2 -0
  299. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitSnapshot.d.ts +20 -0
  300. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitSnapshot.d.ts.map +1 -0
  301. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitSnapshot.js +2 -0
  302. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitWindow.d.ts +6 -0
  303. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitWindow.d.ts.map +1 -0
  304. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitWindow.js +2 -0
  305. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewDelivery.d.ts +2 -0
  306. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewDelivery.d.ts.map +1 -0
  307. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewDelivery.js +2 -0
  308. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewStartParams.d.ts +12 -0
  309. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewStartParams.d.ts.map +1 -0
  310. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewStartParams.js +2 -0
  311. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewTarget.d.ts +17 -0
  312. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewTarget.d.ts.map +1 -0
  313. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewTarget.js +2 -0
  314. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillDependencies.d.ts +5 -0
  315. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillDependencies.d.ts.map +1 -0
  316. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillDependencies.js +2 -0
  317. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillErrorInfo.d.ts +5 -0
  318. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillErrorInfo.d.ts.map +1 -0
  319. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillErrorInfo.js +2 -0
  320. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillInterface.d.ts +18 -0
  321. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillInterface.d.ts.map +1 -0
  322. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillInterface.js +2 -0
  323. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillMetadata.d.ts +22 -0
  324. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillMetadata.d.ts.map +1 -0
  325. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillMetadata.js +2 -0
  326. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillScope.d.ts +2 -0
  327. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillScope.d.ts.map +1 -0
  328. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillScope.js +2 -0
  329. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillToolDependency.d.ts +9 -0
  330. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillToolDependency.d.ts.map +1 -0
  331. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillToolDependency.js +2 -0
  332. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillsListEntry.d.ts +8 -0
  333. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillsListEntry.d.ts.map +1 -0
  334. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillsListEntry.js +2 -0
  335. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillsListResponse.d.ts +5 -0
  336. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillsListResponse.d.ts.map +1 -0
  337. package/vendor/runtime/dist/executor/codexProtocol/v2/SkillsListResponse.js +2 -0
  338. package/vendor/runtime/dist/executor/codexProtocol/v2/SpendControlLimitSnapshot.d.ts +7 -0
  339. package/vendor/runtime/dist/executor/codexProtocol/v2/SpendControlLimitSnapshot.d.ts.map +1 -0
  340. package/vendor/runtime/dist/executor/codexProtocol/v2/SpendControlLimitSnapshot.js +2 -0
  341. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadSetNameParams.d.ts +5 -0
  342. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadSetNameParams.d.ts.map +1 -0
  343. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadSetNameParams.js +2 -0
  344. package/vendor/runtime/dist/executor/health.d.ts +1 -0
  345. package/vendor/runtime/dist/executor/health.d.ts.map +1 -1
  346. package/vendor/runtime/dist/executor/health.js +3 -0
  347. package/vendor/runtime/dist/executor/liveTurns.d.ts.map +1 -1
  348. package/vendor/runtime/dist/executor/liveTurns.js +3 -0
  349. package/vendor/runtime/dist/executor/providerRouter.d.ts.map +1 -1
  350. package/vendor/runtime/dist/executor/providerRouter.js +2 -1
  351. package/vendor/runtime/dist/executor/types.d.ts +8 -0
  352. package/vendor/runtime/dist/executor/types.d.ts.map +1 -1
  353. package/vendor/runtime/dist/harness/index.d.ts +1 -0
  354. package/vendor/runtime/dist/harness/index.d.ts.map +1 -1
  355. package/vendor/runtime/dist/harness/index.js +35 -1
  356. package/vendor/runtime/dist/harness/types.d.ts +4 -1
  357. package/vendor/runtime/dist/harness/types.d.ts.map +1 -1
  358. package/vendor/runtime/dist/index.d.ts +2 -1
  359. package/vendor/runtime/dist/index.d.ts.map +1 -1
  360. package/vendor/runtime/dist/index.js +2 -0
  361. package/vendor/runtime/dist/journal/context.d.ts +18 -0
  362. package/vendor/runtime/dist/journal/context.d.ts.map +1 -1
  363. package/vendor/runtime/dist/journal/context.js +19 -5
  364. package/vendor/runtime/dist/prompts/briefing.d.ts +4 -7
  365. package/vendor/runtime/dist/prompts/briefing.d.ts.map +1 -1
  366. package/vendor/runtime/dist/prompts/briefing.js +61 -12
  367. package/vendor/runtime/dist/prompts/cardStatement.d.ts +7 -0
  368. package/vendor/runtime/dist/prompts/cardStatement.d.ts.map +1 -0
  369. package/vendor/runtime/dist/prompts/cardStatement.js +52 -0
  370. package/vendor/runtime/dist/prompts/chat.d.ts +1 -0
  371. package/vendor/runtime/dist/prompts/chat.d.ts.map +1 -1
  372. package/vendor/runtime/dist/prompts/chat.js +15 -1
  373. package/vendor/runtime/dist/prompts/projectCapture.d.ts +7 -0
  374. package/vendor/runtime/dist/prompts/projectCapture.d.ts.map +1 -0
  375. package/vendor/runtime/dist/prompts/projectCapture.js +31 -0
  376. package/vendor/runtime/src/executor/claudeAgent.ts +133 -7
  377. package/vendor/runtime/src/executor/claudeCode.ts +6 -4
  378. package/vendor/runtime/src/executor/codex.ts +280 -20
  379. package/vendor/runtime/src/executor/codexProtocol/PlanType.ts +5 -0
  380. package/vendor/runtime/src/executor/codexProtocol/v2/CreditsSnapshot.ts +5 -0
  381. package/vendor/runtime/src/executor/codexProtocol/v2/GetAccountRateLimitsResponse.ts +25 -0
  382. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitReachedType.ts +5 -0
  383. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitResetCredit.ts +27 -0
  384. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitResetCreditStatus.ts +5 -0
  385. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitResetCreditsSummary.ts +14 -0
  386. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitResetType.ts +5 -0
  387. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitSnapshot.ts +14 -0
  388. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitWindow.ts +5 -0
  389. package/vendor/runtime/src/executor/codexProtocol/v2/ReviewDelivery.ts +5 -0
  390. package/vendor/runtime/src/executor/codexProtocol/v2/ReviewStartParams.ts +12 -0
  391. package/vendor/runtime/src/executor/codexProtocol/v2/ReviewTarget.ts +9 -0
  392. package/vendor/runtime/src/executor/codexProtocol/v2/SkillDependencies.ts +6 -0
  393. package/vendor/runtime/src/executor/codexProtocol/v2/SkillErrorInfo.ts +5 -0
  394. package/vendor/runtime/src/executor/codexProtocol/v2/SkillInterface.ts +14 -0
  395. package/vendor/runtime/src/executor/codexProtocol/v2/SkillMetadata.ts +17 -0
  396. package/vendor/runtime/src/executor/codexProtocol/v2/SkillScope.ts +5 -0
  397. package/vendor/runtime/src/executor/codexProtocol/v2/SkillToolDependency.ts +5 -0
  398. package/vendor/runtime/src/executor/codexProtocol/v2/SkillsListEntry.ts +7 -0
  399. package/vendor/runtime/src/executor/codexProtocol/v2/SkillsListResponse.ts +6 -0
  400. package/vendor/runtime/src/executor/codexProtocol/v2/SpendControlLimitSnapshot.ts +5 -0
  401. package/vendor/runtime/src/executor/codexProtocol/v2/ThreadSetNameParams.ts +5 -0
  402. package/vendor/runtime/src/executor/health.ts +3 -0
  403. package/vendor/runtime/src/executor/liveTurns.ts +3 -0
  404. package/vendor/runtime/src/executor/providerRouter.ts +2 -1
  405. package/vendor/runtime/src/executor/types.ts +8 -0
  406. package/vendor/runtime/src/harness/index.ts +40 -6
  407. package/vendor/runtime/src/harness/types.ts +4 -1
  408. package/vendor/runtime/src/index.ts +4 -1
  409. package/vendor/runtime/src/journal/context.ts +40 -7
  410. package/vendor/runtime/src/prompts/briefing.ts +62 -17
  411. package/vendor/runtime/src/prompts/cardStatement.ts +64 -0
  412. package/vendor/runtime/src/prompts/chat.ts +25 -3
  413. package/vendor/runtime/src/prompts/projectCapture.ts +51 -0
  414. package/vendor/shared/dist/agentCommands.d.ts +22 -0
  415. package/vendor/shared/dist/agentCommands.d.ts.map +1 -0
  416. package/vendor/shared/dist/agentCommands.js +11 -0
  417. package/vendor/shared/dist/automationTemplates.d.ts +37 -0
  418. package/vendor/shared/dist/automationTemplates.d.ts.map +1 -0
  419. package/vendor/shared/dist/automationTemplates.js +48 -0
  420. package/vendor/shared/dist/automations.d.ts +1052 -0
  421. package/vendor/shared/dist/automations.d.ts.map +1 -0
  422. package/vendor/shared/dist/automations.js +300 -0
  423. package/vendor/shared/dist/brandArtwork.d.ts +4 -0
  424. package/vendor/shared/dist/brandArtwork.d.ts.map +1 -0
  425. package/vendor/shared/dist/brandArtwork.js +7 -0
  426. package/vendor/shared/dist/cardStatement.d.ts +28 -0
  427. package/vendor/shared/dist/cardStatement.d.ts.map +1 -0
  428. package/vendor/shared/dist/cardStatement.js +37 -0
  429. package/vendor/shared/dist/cardStudio.d.ts +756 -0
  430. package/vendor/shared/dist/cardStudio.d.ts.map +1 -0
  431. package/vendor/shared/dist/cardStudio.js +297 -0
  432. package/vendor/shared/dist/commandLocal.d.ts +218 -0
  433. package/vendor/shared/dist/commandLocal.d.ts.map +1 -0
  434. package/vendor/shared/dist/commandLocal.js +662 -0
  435. package/vendor/shared/dist/commandText.d.ts +12 -0
  436. package/vendor/shared/dist/commandText.d.ts.map +1 -0
  437. package/vendor/shared/dist/commandText.js +21 -0
  438. package/vendor/shared/dist/commands.d.ts +1516 -0
  439. package/vendor/shared/dist/commands.d.ts.map +1 -0
  440. package/vendor/shared/dist/commands.js +231 -0
  441. package/vendor/shared/dist/computer.d.ts +9 -9
  442. package/vendor/shared/dist/computer.d.ts.map +1 -1
  443. package/vendor/shared/dist/computer.js +11 -2
  444. package/vendor/shared/dist/constants.d.ts +3 -3
  445. package/vendor/shared/dist/constants.d.ts.map +1 -1
  446. package/vendor/shared/dist/constants.js +9 -2
  447. package/vendor/shared/dist/githubContributions.d.ts +93 -0
  448. package/vendor/shared/dist/githubContributions.d.ts.map +1 -0
  449. package/vendor/shared/dist/githubContributions.js +54 -0
  450. package/vendor/shared/dist/habitContributions.d.ts +26 -0
  451. package/vendor/shared/dist/habitContributions.d.ts.map +1 -0
  452. package/vendor/shared/dist/habitContributions.js +119 -0
  453. package/vendor/shared/dist/index.d.ts +26 -1
  454. package/vendor/shared/dist/index.d.ts.map +1 -1
  455. package/vendor/shared/dist/index.js +23 -1
  456. package/vendor/shared/dist/journal-migration.d.ts +29 -0
  457. package/vendor/shared/dist/journal-migration.d.ts.map +1 -0
  458. package/vendor/shared/dist/journal-migration.js +73 -0
  459. package/vendor/shared/dist/journal-vault.d.ts +414 -0
  460. package/vendor/shared/dist/journal-vault.d.ts.map +1 -0
  461. package/vendor/shared/dist/journal-vault.js +972 -0
  462. package/vendor/shared/dist/projectCapture.d.ts +73 -0
  463. package/vendor/shared/dist/projectCapture.d.ts.map +1 -0
  464. package/vendor/shared/dist/projectCapture.js +66 -0
  465. package/vendor/shared/dist/quickAdd.d.ts +90 -0
  466. package/vendor/shared/dist/quickAdd.d.ts.map +1 -0
  467. package/vendor/shared/dist/quickAdd.js +260 -0
  468. package/vendor/shared/dist/recurrence.d.ts +44 -0
  469. package/vendor/shared/dist/recurrence.d.ts.map +1 -0
  470. package/vendor/shared/dist/recurrence.js +37 -0
  471. package/vendor/shared/dist/reminderWords.d.ts +11 -0
  472. package/vendor/shared/dist/reminderWords.d.ts.map +1 -0
  473. package/vendor/shared/dist/reminderWords.js +63 -0
  474. package/vendor/shared/dist/schemas/comment.d.ts +13 -1
  475. package/vendor/shared/dist/schemas/comment.d.ts.map +1 -1
  476. package/vendor/shared/dist/schemas/comment.js +5 -0
  477. package/vendor/shared/dist/schemas/conversation.d.ts +3 -3
  478. package/vendor/shared/dist/schemas/harness.d.ts +922 -59
  479. package/vendor/shared/dist/schemas/harness.d.ts.map +1 -1
  480. package/vendor/shared/dist/schemas/harness.js +122 -3
  481. package/vendor/shared/dist/schemas/journal.d.ts +10 -0
  482. package/vendor/shared/dist/schemas/journal.d.ts.map +1 -1
  483. package/vendor/shared/dist/schemas/journal.js +10 -2
  484. package/vendor/shared/dist/schemas/notification.d.ts +1 -1
  485. package/vendor/shared/dist/schemas/organization.d.ts +3 -2
  486. package/vendor/shared/dist/schemas/organization.d.ts.map +1 -1
  487. package/vendor/shared/dist/schemas/organization.js +3 -2
  488. package/vendor/shared/dist/schemas/proposal.d.ts +7 -3
  489. package/vendor/shared/dist/schemas/proposal.d.ts.map +1 -1
  490. package/vendor/shared/dist/schemas/proposal.js +2 -1
  491. package/vendor/shared/dist/schemas/request.d.ts +44 -4
  492. package/vendor/shared/dist/schemas/request.d.ts.map +1 -1
  493. package/vendor/shared/dist/schemas/task.d.ts +83 -8
  494. package/vendor/shared/dist/schemas/task.d.ts.map +1 -1
  495. package/vendor/shared/dist/schemas/task.js +20 -2
  496. package/vendor/shared/dist/schemas/timeSession.d.ts +2 -2
  497. package/vendor/shared/dist/setupAppearance.d.ts +6 -0
  498. package/vendor/shared/dist/setupAppearance.d.ts.map +1 -0
  499. package/vendor/shared/dist/setupAppearance.js +17 -0
  500. package/vendor/shared/dist/smartCapture.d.ts +60 -0
  501. package/vendor/shared/dist/smartCapture.d.ts.map +1 -0
  502. package/vendor/shared/dist/smartCapture.js +56 -0
  503. package/vendor/shared/dist/speech.d.ts +39 -0
  504. package/vendor/shared/dist/speech.d.ts.map +1 -0
  505. package/vendor/shared/dist/speech.js +36 -0
  506. package/vendor/shared/dist/spokenNames.d.ts +25 -0
  507. package/vendor/shared/dist/spokenNames.d.ts.map +1 -0
  508. package/vendor/shared/dist/spokenNames.js +120 -0
  509. package/vendor/shared/dist/taskActivity.d.ts +76 -0
  510. package/vendor/shared/dist/taskActivity.d.ts.map +1 -0
  511. package/vendor/shared/dist/taskActivity.js +27 -0
  512. package/vendor/shared/dist/vault-search.d.ts +50 -0
  513. package/vendor/shared/dist/vault-search.d.ts.map +1 -0
  514. package/vendor/shared/dist/vault-search.js +177 -0
  515. package/vendor/shared/dist/voiceCapture.d.ts +32 -0
  516. package/vendor/shared/dist/voiceCapture.d.ts.map +1 -0
  517. package/vendor/shared/dist/voiceCapture.js +29 -0
  518. package/vendor/shared/package.json +4 -0
  519. package/vendor/shared/src/agentCommands.ts +35 -0
  520. package/vendor/shared/src/automationTemplates.ts +54 -0
  521. package/vendor/shared/src/automations.ts +329 -0
  522. package/vendor/shared/src/brandArtwork.ts +7 -0
  523. package/vendor/shared/src/cardStatement.ts +49 -0
  524. package/vendor/shared/src/cardStudio.ts +340 -0
  525. package/vendor/shared/src/commandLocal.ts +738 -0
  526. package/vendor/shared/src/commandText.ts +25 -0
  527. package/vendor/shared/src/commands.ts +253 -0
  528. package/vendor/shared/src/computer.ts +23 -6
  529. package/vendor/shared/src/constants.ts +9 -2
  530. package/vendor/shared/src/githubContributions.ts +70 -0
  531. package/vendor/shared/src/habitContributions.ts +144 -0
  532. package/vendor/shared/src/index.ts +42 -0
  533. package/vendor/shared/src/journal-migration.ts +130 -0
  534. package/vendor/shared/src/journal-vault.ts +1240 -0
  535. package/vendor/shared/src/projectCapture.ts +86 -0
  536. package/vendor/shared/src/quickAdd.ts +310 -0
  537. package/vendor/shared/src/recurrence.ts +37 -0
  538. package/vendor/shared/src/reminderWords.ts +54 -0
  539. package/vendor/shared/src/schemas/comment.ts +5 -0
  540. package/vendor/shared/src/schemas/harness.ts +144 -7
  541. package/vendor/shared/src/schemas/journal.ts +15 -6
  542. package/vendor/shared/src/schemas/organization.ts +3 -2
  543. package/vendor/shared/src/schemas/proposal.ts +6 -1
  544. package/vendor/shared/src/schemas/task.ts +20 -2
  545. package/vendor/shared/src/setupAppearance.ts +32 -0
  546. package/vendor/shared/src/smartCapture.ts +67 -0
  547. package/vendor/shared/src/speech.ts +44 -0
  548. package/vendor/shared/src/spokenNames.ts +128 -0
  549. package/vendor/shared/src/taskActivity.ts +34 -0
  550. package/vendor/shared/src/vault-search.ts +243 -0
  551. package/vendor/shared/src/voiceCapture.ts +34 -0
package/README.md CHANGED
@@ -9,8 +9,8 @@ on your machine for scheduled briefings and interactive chat.
9
9
  Requires Node.js 22 or newer.
10
10
 
11
11
  ```sh
12
- npm install -g @opencorelabs/lucidity
13
- lucidity --help
12
+ npm install -g @opencorelabs/lucidity@0.6.0
13
+ lucidity setup
14
14
  ```
15
15
 
16
16
  The package includes the CLI, daemon, MCP server, and their internal libraries.
@@ -18,6 +18,16 @@ It also provides the `lucidity-daemon` and `lucidity-mcp` commands.
18
18
 
19
19
  ## MCP server
20
20
 
21
+ After connecting your account with `lucidity setup`, select **Use Lucidity in
22
+ Claude Code** and/or **Use Lucidity in Codex** to add the tools automatically.
23
+ You can select both; each client keeps its own account and subscription.
24
+ For an already configured computer, run `lucidity setup` again for the app choices,
25
+ or run `lucidity setup-mcp` to connect detected clients. No token copying is needed.
26
+ Open a new client session afterward and approve any tool permissions it requests.
27
+ See [automatic setup and recovery](https://github.com/opencore-x/lucidity/blob/main/docs/automatic-client-mcp.md).
28
+
29
+ ### Manual setup for other MCP clients
30
+
21
31
  Generate an API key in the Lucidity app under **Settings → API Key**. Configure
22
32
  your MCP client to launch `lucidity mcp` with that key in `LUCIDITY_API_KEY`.
23
33
  For clients using JSON configuration:
@@ -67,40 +77,25 @@ background installation, `status`, and `uninstall` currently support macOS only.
67
77
  Closing the terminal or sleeping the computer makes its AI features unavailable.
68
78
  Core mobile data remains available through the hosted API.
69
79
 
70
- Create `.lucidity/config.json` inside your user home folder. On Windows this is
71
- `%USERPROFILE%\.lucidity\config.json`; on macOS it is `~/.lucidity/config.json`.
72
- Obtain your own API key from Lucidity's Settings → API Key and keep it private.
73
- For a Codex pilot:
80
+ Run `lucidity setup` to open the guided page. Sign in at `lucidity.my` and approve
81
+ this computer, then select an authenticated provider. If you use both Claude and
82
+ Codex, keep both provider logins on the computer; Lucid uses the provider selected
83
+ for each conversation. The optional client checkboxes can connect Lucidity's MCP
84
+ tools to both apps regardless of that default.
74
85
 
75
- ```json
76
- {
77
- "apiKey": "luc_your_api_key_here",
78
- "apiUrl": "https://api.lucidity.my",
79
- "chatProvider": "codex",
80
- "codeProvider": "codex",
81
- "delivery": "stdout",
82
- "reflect": false,
83
- "weeklyReview": false
84
- }
85
- ```
86
+ Review task access and scheduled work, which start off, then finish setup to start
87
+ the foreground agent. No API key or JSON editing is needed. The connection is saved
88
+ under your user profile in `.lucidity/config.json`; keep it private.
86
89
 
87
- Use `"claude"` for both provider fields if you authenticated Claude instead. Model
88
- selection stays within the chosen provider; Lucidity does not fall back to API
89
- billing or automatically switch providers. Provider subscription allowance still
90
- applies, including scheduled work such as the daily briefing.
90
+ Keep the terminal open on Windows. Use Ctrl+C to stop the agent and
91
+ `lucidity --deliver stdout` to start it again. On the phone, use the same Lucidity
92
+ account and open **Connect a computer** to see the computer and provider status.
93
+ AI uses the selected provider's subscription allowance; Lucidity does not switch
94
+ providers or fall back to API billing automatically.
91
95
 
92
- On macOS, restrict the config file with `chmod 600 ~/.lucidity/config.json`.
93
- On Windows, keep it in your private user profile rather than a shared folder.
94
- Run the agent in a terminal:
95
-
96
- ```sh
97
- lucidity --deliver stdout
98
- ```
99
-
100
- Open **Connect a computer** on the phone signed into the same Lucidity account.
101
- It should display this computer and the selected provider's health. Use Ctrl+C to
102
- stop the foreground agent. Restart it manually after changing a setting that
103
- requires a service restart.
96
+ Existing configured users can run `lucidity setup-mcp claude codex` to register both
97
+ clients without pairing again or starting another daemon. Manual configuration for
98
+ advanced or self-hosted setups remains in the daemon guide.
104
99
 
105
100
  On macOS, `lucidity install` registers and starts a background agent at login.
106
101
  Use `lucidity status`, `lucidity chat`, and `lucidity uninstall` to manage it.
@@ -118,6 +113,8 @@ package; third-party dependencies retain their own licenses.
118
113
  From the repository root, install workspace dependencies and run:
119
114
 
120
115
  ```sh
116
+ # On Apple Silicon macOS, build speech support for the public release first:
117
+ npm run build:speech --prefix apps/daemon
121
118
  npm run pack:npm
122
119
  npm run verify:npm
123
120
  npm run verify:npm -- --local
@@ -126,9 +123,14 @@ npm run verify:npm -- --local
126
123
  This builds the agent and its workspace dependencies, vendors the internal
127
124
  libraries as local file dependencies with a private Zod 3 copy for MCP, writes the publishable archive to `dist/npm/`, and verifies the CLI
128
125
  and MCP server from isolated global and local installations. Publish that
129
- archive with `npm publish dist/npm/opencorelabs-lucidity-0.2.0.tgz --access public`.
126
+ archive with `npm publish dist/npm/opencorelabs-lucidity-0.6.0.tgz --access public`.
130
127
  The private workspace packages do not need separate npm publications.
131
128
 
129
+ When the speech helper has been built, the archive includes its executable,
130
+ corresponding Swift source, pinned FluidAudio dependency and third-party notices.
131
+ The helper runs only on Apple Silicon macOS; other platforms retain the regular CLI
132
+ and MCP experience. The install verifier checks its startup without downloading models.
133
+
132
134
  The package workflow globally and locally installs the same archive on Windows, macOS, and Linux using
133
135
  Node.js 22. It verifies CLI/imports, platform-specific provider binaries (and absence
134
136
  of foreign-platform binaries), Codex
package/bin/lucidity.js CHANGED
@@ -12,6 +12,8 @@ if (args.includes('--version') || args.includes('-v')) {
12
12
  Usage: lucidity [command] [options]
13
13
 
14
14
  Commands:
15
+ setup Open guided computer setup in your browser
16
+ setup-mcp [claude] [codex] Connect Lucidity tools to your AI apps
15
17
  mcp Run the MCP server over stdio
16
18
  install Install and start the macOS background agent
17
19
  uninstall Remove the macOS background agent
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,11 @@
1
+ Copyright:
2
+ * Until package version 1.1.23: © 2011 Daniel Müllner <https://danifold.net>
3
+ * All changes from version 1.1.24 on: © Google Inc. <https://www.google.com>
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
7
+
8
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
9
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but not
32
+ limited to compiled object code, generated documentation, and
33
+ conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2021-2024 BUT Speech@FIT (original VBx project)
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,16 @@
1
+ import { type AgentExecutor } from '@lucidity/runtime';
2
+ import { type AutomationInput, type AutomationRun, type AutomationSource } from '@lucidity/shared';
3
+ import type { DaemonConfig } from '../config.js';
4
+ import type { AutomationStore } from './store.js';
5
+ /** An automation may read its chosen sources and save a result; writes need a dedicated workflow. */
6
+ export declare function createAgentAutomation(deps: {
7
+ config: DaemonConfig;
8
+ directory: string;
9
+ store: AutomationStore;
10
+ providers: Record<'claude' | 'codex', AgentExecutor>;
11
+ }): {
12
+ supportedSources: () => AutomationSource[];
13
+ validateInput: (input: AutomationInput) => void;
14
+ execute(run: AutomationRun, signal: AbortSignal): Promise<Partial<AutomationRun>>;
15
+ };
16
+ //# sourceMappingURL=agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/automations/agent.ts"],"names":[],"mappings":"AASA,OAAO,EAEL,KAAK,aAAa,EAEnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAoBlD,qGAAqG;AACrG,wBAAgB,qBAAqB,CAAC,IAAI,EAAE;IAC1C,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,eAAe,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC,QAAQ,GAAG,OAAO,EAAE,aAAa,CAAC,CAAC;CACtD;4BAC8B,gBAAgB,EAAE;2BAOjB,eAAe;iBAkBpC,aAAa,UACV,WAAW,GAClB,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;EAiKrC"}