@opencorelabs/lucidity 0.6.0 → 0.8.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 (253) hide show
  1. package/README.md +18 -3
  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/chat/server.d.ts +1 -0
  7. package/dist/chat/server.d.ts.map +1 -1
  8. package/dist/chat/server.js +6 -1
  9. package/dist/coding/conduct.d.ts +1 -22
  10. package/dist/coding/conduct.d.ts.map +1 -1
  11. package/dist/coding/conduct.js +9 -94
  12. package/dist/coding/runCodeTurn.d.ts +3 -16
  13. package/dist/coding/runCodeTurn.d.ts.map +1 -1
  14. package/dist/coding/runCodeTurn.js +157 -165
  15. package/dist/coding/workspaceRegistry.d.ts +24 -0
  16. package/dist/coding/workspaceRegistry.d.ts.map +1 -0
  17. package/dist/coding/workspaceRegistry.js +230 -0
  18. package/dist/coding/worktree.d.ts +11 -14
  19. package/dist/coding/worktree.d.ts.map +1 -1
  20. package/dist/coding/worktree.js +41 -21
  21. package/dist/config.d.ts +2 -0
  22. package/dist/config.d.ts.map +1 -1
  23. package/dist/daemonLease.d.ts +12 -0
  24. package/dist/daemonLease.d.ts.map +1 -0
  25. package/dist/daemonLease.js +32 -0
  26. package/dist/goals/assessment.d.ts +115 -0
  27. package/dist/goals/assessment.d.ts.map +1 -0
  28. package/dist/goals/assessment.js +67 -0
  29. package/dist/goals/notes.d.ts +18 -0
  30. package/dist/goals/notes.d.ts.map +1 -0
  31. package/dist/goals/notes.js +72 -0
  32. package/dist/index.js +63 -15
  33. package/dist/jobs/goals.d.ts +15 -0
  34. package/dist/jobs/goals.d.ts.map +1 -0
  35. package/dist/jobs/goals.js +286 -0
  36. package/dist/jobs/weeklyReview.d.ts.map +1 -1
  37. package/dist/jobs/weeklyReview.js +3 -2
  38. package/dist/queue.d.ts +1 -0
  39. package/dist/queue.d.ts.map +1 -1
  40. package/dist/queue.js +4 -0
  41. package/dist/room/client.d.ts +5 -0
  42. package/dist/room/client.d.ts.map +1 -1
  43. package/dist/room/client.js +124 -107
  44. package/dist/room/computer.d.ts.map +1 -1
  45. package/dist/room/computer.js +2 -0
  46. package/dist/room/durablePublish.d.ts +6 -0
  47. package/dist/room/durablePublish.d.ts.map +1 -0
  48. package/dist/room/durablePublish.js +19 -0
  49. package/dist/room/incidents.d.ts +1 -1
  50. package/dist/room/incidents.d.ts.map +1 -1
  51. package/dist/room/incidents.js +14 -7
  52. package/dist/room/turnQueue.d.ts.map +1 -1
  53. package/dist/room/turnQueue.js +27 -24
  54. package/dist/runtimeStore.d.ts +44 -0
  55. package/dist/runtimeStore.d.ts.map +1 -0
  56. package/dist/runtimeStore.js +188 -0
  57. package/dist/setup/server.js +1 -1
  58. package/dist/turnLog.d.ts +10 -40
  59. package/dist/turnLog.d.ts.map +1 -1
  60. package/dist/turnLog.js +33 -56
  61. package/package.json +4 -4
  62. package/src/automations/agent.ts +2 -0
  63. package/src/chat/server.ts +7 -1
  64. package/src/coding/conduct.ts +10 -147
  65. package/src/coding/runCodeTurn.ts +42 -61
  66. package/src/coding/workspaceRegistry.ts +210 -0
  67. package/src/coding/worktree.ts +44 -20
  68. package/src/config.ts +2 -0
  69. package/src/daemonLease.ts +33 -0
  70. package/src/goals/assessment.ts +106 -0
  71. package/src/goals/notes.ts +88 -0
  72. package/src/index.ts +63 -18
  73. package/src/jobs/goals.ts +384 -0
  74. package/src/jobs/weeklyReview.ts +4 -3
  75. package/src/queue.ts +4 -0
  76. package/src/room/client.ts +85 -80
  77. package/src/room/computer.ts +2 -0
  78. package/src/room/durablePublish.ts +25 -0
  79. package/src/room/incidents.ts +16 -8
  80. package/src/room/turnQueue.ts +26 -27
  81. package/src/runtimeStore.ts +190 -0
  82. package/src/setup/server.ts +1 -1
  83. package/src/turnLog.ts +32 -75
  84. package/vendor/decisions/dist/dayPlan.d.ts +9 -0
  85. package/vendor/decisions/dist/dayPlan.js +82 -0
  86. package/vendor/decisions/dist/index.d.ts +1 -0
  87. package/vendor/decisions/dist/index.js +1 -0
  88. package/vendor/decisions/dist/jev.js +3 -1
  89. package/vendor/decisions/src/dayPlan.ts +80 -0
  90. package/vendor/decisions/src/index.ts +1 -0
  91. package/vendor/decisions/src/jev.ts +3 -1
  92. package/vendor/mcp-server/dist/index.js +2 -0
  93. package/vendor/mcp-server/dist/tools/goals.d.ts +4 -0
  94. package/vendor/mcp-server/dist/tools/goals.d.ts.map +1 -0
  95. package/vendor/mcp-server/dist/tools/goals.js +38 -0
  96. package/vendor/mcp-server/package.json +1 -1
  97. package/vendor/mcp-server/src/index.ts +2 -0
  98. package/vendor/mcp-server/src/tools/goals.ts +62 -0
  99. package/vendor/runtime/README.md +2 -2
  100. package/vendor/runtime/dist/executor/asyncQueue.d.ts +1 -0
  101. package/vendor/runtime/dist/executor/asyncQueue.d.ts.map +1 -1
  102. package/vendor/runtime/dist/executor/asyncQueue.js +3 -0
  103. package/vendor/runtime/dist/executor/claudeAgent.d.ts +1 -1
  104. package/vendor/runtime/dist/executor/claudeAgent.d.ts.map +1 -1
  105. package/vendor/runtime/dist/executor/claudeAgent.js +25 -10
  106. package/vendor/runtime/dist/executor/codex.d.ts +1 -0
  107. package/vendor/runtime/dist/executor/codex.d.ts.map +1 -1
  108. package/vendor/runtime/dist/executor/codex.js +69 -36
  109. package/vendor/runtime/dist/executor/codexProtocol/FunctionCallOutputContentItem.d.ts +4 -1
  110. package/vendor/runtime/dist/executor/codexProtocol/FunctionCallOutputContentItem.d.ts.map +1 -1
  111. package/vendor/runtime/dist/executor/codexProtocol/Personality.d.ts +3 -0
  112. package/vendor/runtime/dist/executor/codexProtocol/Personality.d.ts.map +1 -1
  113. package/vendor/runtime/dist/executor/codexProtocol/PlanType.d.ts +1 -1
  114. package/vendor/runtime/dist/executor/codexProtocol/PlanType.d.ts.map +1 -1
  115. package/vendor/runtime/dist/executor/codexProtocol/v2/CyberAccessProgram.d.ts +6 -0
  116. package/vendor/runtime/dist/executor/codexProtocol/v2/CyberAccessProgram.d.ts.map +1 -0
  117. package/vendor/runtime/dist/executor/codexProtocol/v2/CyberAccessProgram.js +2 -0
  118. package/vendor/runtime/dist/executor/codexProtocol/v2/GetAccountRateLimitsResponse.d.ts +5 -0
  119. package/vendor/runtime/dist/executor/codexProtocol/v2/GetAccountRateLimitsResponse.d.ts.map +1 -1
  120. package/vendor/runtime/dist/executor/codexProtocol/v2/Model.d.ts +8 -0
  121. package/vendor/runtime/dist/executor/codexProtocol/v2/Model.d.ts.map +1 -1
  122. package/vendor/runtime/dist/executor/codexProtocol/v2/ModelAccessPrograms.d.ts +11 -0
  123. package/vendor/runtime/dist/executor/codexProtocol/v2/ModelAccessPrograms.d.ts.map +1 -0
  124. package/vendor/runtime/dist/executor/codexProtocol/v2/ModelAccessPrograms.js +2 -0
  125. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitSnapshot.d.ts +4 -0
  126. package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitSnapshot.d.ts.map +1 -1
  127. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewStartParams.d.ts +2 -0
  128. package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewStartParams.d.ts.map +1 -1
  129. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadResumeParams.d.ts +4 -1
  130. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadResumeParams.d.ts.map +1 -1
  131. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadStartParams.d.ts +3 -1
  132. package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadStartParams.d.ts.map +1 -1
  133. package/vendor/runtime/dist/executor/codexProtocol/v2/TurnStartParams.d.ts +7 -2
  134. package/vendor/runtime/dist/executor/codexProtocol/v2/TurnStartParams.d.ts.map +1 -1
  135. package/vendor/runtime/dist/executor/codexProtocol/v2/UserInput.d.ts +3 -0
  136. package/vendor/runtime/dist/executor/codexProtocol/v2/UserInput.d.ts.map +1 -1
  137. package/vendor/runtime/dist/executor/codexRpc.d.ts +10 -3
  138. package/vendor/runtime/dist/executor/codexRpc.d.ts.map +1 -1
  139. package/vendor/runtime/dist/executor/codexRpc.js +18 -3
  140. package/vendor/runtime/dist/executor/codexSessions.d.ts +30 -0
  141. package/vendor/runtime/dist/executor/codexSessions.d.ts.map +1 -0
  142. package/vendor/runtime/dist/executor/codexSessions.js +88 -0
  143. package/vendor/runtime/dist/executor/health.d.ts +2 -1
  144. package/vendor/runtime/dist/executor/health.d.ts.map +1 -1
  145. package/vendor/runtime/dist/executor/health.js +17 -5
  146. package/vendor/runtime/dist/executor/liveTurns.d.ts +2 -1
  147. package/vendor/runtime/dist/executor/liveTurns.d.ts.map +1 -1
  148. package/vendor/runtime/dist/executor/liveTurns.js +12 -5
  149. package/vendor/runtime/dist/executor/ownership.d.ts +35 -0
  150. package/vendor/runtime/dist/executor/ownership.d.ts.map +1 -0
  151. package/vendor/runtime/dist/executor/ownership.js +99 -0
  152. package/vendor/runtime/dist/executor/providerRouter.d.ts +1 -0
  153. package/vendor/runtime/dist/executor/providerRouter.d.ts.map +1 -1
  154. package/vendor/runtime/dist/executor/providerRouter.js +5 -0
  155. package/vendor/runtime/dist/executor/types.d.ts +4 -0
  156. package/vendor/runtime/dist/executor/types.d.ts.map +1 -1
  157. package/vendor/runtime/dist/harness/index.d.ts +1 -0
  158. package/vendor/runtime/dist/harness/index.d.ts.map +1 -1
  159. package/vendor/runtime/dist/harness/index.js +12 -1
  160. package/vendor/runtime/dist/harness/types.d.ts +2 -1
  161. package/vendor/runtime/dist/harness/types.d.ts.map +1 -1
  162. package/vendor/runtime/dist/index.d.ts +1 -0
  163. package/vendor/runtime/dist/index.d.ts.map +1 -1
  164. package/vendor/runtime/dist/index.js +1 -0
  165. package/vendor/runtime/dist/prompts/dayPlanning.d.ts +44 -0
  166. package/vendor/runtime/dist/prompts/dayPlanning.d.ts.map +1 -0
  167. package/vendor/runtime/dist/prompts/dayPlanning.js +42 -0
  168. package/vendor/runtime/src/executor/asyncQueue.ts +3 -0
  169. package/vendor/runtime/src/executor/claudeAgent.ts +20 -9
  170. package/vendor/runtime/src/executor/codex.ts +76 -44
  171. package/vendor/runtime/src/executor/codexProtocol/FunctionCallOutputContentItem.ts +1 -1
  172. package/vendor/runtime/src/executor/codexProtocol/Personality.ts +3 -0
  173. package/vendor/runtime/src/executor/codexProtocol/PlanType.ts +1 -1
  174. package/vendor/runtime/src/executor/codexProtocol/README.md +2 -2
  175. package/vendor/runtime/src/executor/codexProtocol/v2/CyberAccessProgram.ts +9 -0
  176. package/vendor/runtime/src/executor/codexProtocol/v2/GetAccountRateLimitsResponse.ts +5 -0
  177. package/vendor/runtime/src/executor/codexProtocol/v2/Model.ts +11 -2
  178. package/vendor/runtime/src/executor/codexProtocol/v2/ModelAccessPrograms.ts +13 -0
  179. package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitSnapshot.ts +5 -1
  180. package/vendor/runtime/src/executor/codexProtocol/v2/ReviewStartParams.ts +2 -0
  181. package/vendor/runtime/src/executor/codexProtocol/v2/ThreadResumeParams.ts +5 -1
  182. package/vendor/runtime/src/executor/codexProtocol/v2/ThreadStartParams.ts +4 -1
  183. package/vendor/runtime/src/executor/codexProtocol/v2/TurnStartParams.ts +7 -2
  184. package/vendor/runtime/src/executor/codexProtocol/v2/UserInput.ts +1 -1
  185. package/vendor/runtime/src/executor/codexRpc.ts +22 -4
  186. package/vendor/runtime/src/executor/codexSessions.ts +108 -0
  187. package/vendor/runtime/src/executor/health.ts +16 -6
  188. package/vendor/runtime/src/executor/liveTurns.ts +12 -5
  189. package/vendor/runtime/src/executor/ownership.ts +76 -0
  190. package/vendor/runtime/src/executor/providerRouter.ts +6 -0
  191. package/vendor/runtime/src/executor/types.ts +4 -0
  192. package/vendor/runtime/src/harness/index.ts +12 -1
  193. package/vendor/runtime/src/harness/types.ts +2 -1
  194. package/vendor/runtime/src/index.ts +1 -0
  195. package/vendor/runtime/src/prompts/dayPlanning.ts +46 -0
  196. package/vendor/shared/dist/agentCommands.d.ts +1 -0
  197. package/vendor/shared/dist/agentCommands.d.ts.map +1 -1
  198. package/vendor/shared/dist/cardStudio.d.ts +41 -0
  199. package/vendor/shared/dist/cardStudio.d.ts.map +1 -1
  200. package/vendor/shared/dist/cardStudio.js +13 -3
  201. package/vendor/shared/dist/commandLocal.d.ts.map +1 -1
  202. package/vendor/shared/dist/commandLocal.js +2 -0
  203. package/vendor/shared/dist/commands.d.ts +18 -0
  204. package/vendor/shared/dist/commands.d.ts.map +1 -1
  205. package/vendor/shared/dist/commands.js +2 -0
  206. package/vendor/shared/dist/computer.d.ts +7 -1
  207. package/vendor/shared/dist/computer.d.ts.map +1 -1
  208. package/vendor/shared/dist/computer.js +13 -2
  209. package/vendor/shared/dist/constants.d.ts +3 -3
  210. package/vendor/shared/dist/constants.d.ts.map +1 -1
  211. package/vendor/shared/dist/constants.js +5 -4
  212. package/vendor/shared/dist/dayPlan.d.ts +86 -0
  213. package/vendor/shared/dist/dayPlan.d.ts.map +1 -0
  214. package/vendor/shared/dist/dayPlan.js +46 -0
  215. package/vendor/shared/dist/dayPlanning.d.ts +139 -0
  216. package/vendor/shared/dist/dayPlanning.d.ts.map +1 -0
  217. package/vendor/shared/dist/dayPlanning.js +67 -0
  218. package/vendor/shared/dist/goalNotes.d.ts +4 -0
  219. package/vendor/shared/dist/goalNotes.d.ts.map +1 -0
  220. package/vendor/shared/dist/goalNotes.js +23 -0
  221. package/vendor/shared/dist/goals.d.ts +835 -0
  222. package/vendor/shared/dist/goals.d.ts.map +1 -0
  223. package/vendor/shared/dist/goals.js +198 -0
  224. package/vendor/shared/dist/index.d.ts +5 -0
  225. package/vendor/shared/dist/index.d.ts.map +1 -1
  226. package/vendor/shared/dist/index.js +5 -0
  227. package/vendor/shared/dist/schemas/harness.d.ts +155 -0
  228. package/vendor/shared/dist/schemas/harness.d.ts.map +1 -1
  229. package/vendor/shared/dist/schemas/harness.js +8 -0
  230. package/vendor/shared/dist/workspaces.d.ts +138 -0
  231. package/vendor/shared/dist/workspaces.d.ts.map +1 -0
  232. package/vendor/shared/dist/workspaces.js +40 -0
  233. package/vendor/shared/src/agentCommands.ts +1 -0
  234. package/vendor/shared/src/cardStudio.ts +13 -3
  235. package/vendor/shared/src/commandLocal.ts +2 -0
  236. package/vendor/shared/src/commands.ts +2 -0
  237. package/vendor/shared/src/computer.ts +18 -2
  238. package/vendor/shared/src/constants.ts +5 -4
  239. package/vendor/shared/src/dayPlan.ts +81 -0
  240. package/vendor/shared/src/dayPlanning.ts +77 -0
  241. package/vendor/shared/src/goalNotes.ts +23 -0
  242. package/vendor/shared/src/goals.ts +237 -0
  243. package/vendor/shared/src/index.ts +6 -0
  244. package/vendor/shared/src/schemas/harness.ts +8 -0
  245. package/vendor/shared/src/workspaces.ts +48 -0
  246. package/dist/coding/fleetIntegrate.d.ts +0 -37
  247. package/dist/coding/fleetIntegrate.d.ts.map +0 -1
  248. package/dist/coding/fleetIntegrate.js +0 -64
  249. package/dist/coding/openFleetPr.d.ts +0 -41
  250. package/dist/coding/openFleetPr.d.ts.map +0 -1
  251. package/dist/coding/openFleetPr.js +0 -121
  252. package/src/coding/fleetIntegrate.ts +0 -95
  253. package/src/coding/openFleetPr.ts +0 -148
@@ -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,EAkDA,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,YAAY,GAAG,MAAM,eAAe,CAAC,QAAQ,CAAC,CAAC;AAC3D,eAAO,MAAM,wBAAwB,EAAE,eAStC,CAAC;AACF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkBrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,6FAA6F;AAC7F,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,eAAe,EACxB,MAAM,EAAE,oBAAoB,GAC3B,eAAe,CAkBjB;AA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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) }),
@@ -1 +1 @@
1
- {"version":3,"file":"commandLocal.d.ts","sourceRoot":"","sources":["../src/commandLocal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiG,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAG1J;;;;;;;;GAQG;AAEH,2DAA2D;AAC3D,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AACD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,SAAS,kBAAkB,EAAE,CAAC;IACxC,UAAU,EAAE,SAAS,kBAAkB,EAAE,CAAC;IAC1C,8EAA8E;IAC9E,aAAa,CAAC,EAAE,SAAS,kBAAkB,EAAE,CAAC;IAC9C,yEAAyE;IACzE,QAAQ,CAAC,EAAE,SAAS,YAAY,EAAE,CAAC;CACpC;AACD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,WAAW,CAAC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AACD,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,qBAAqB,EAAE;IAAE,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC,CAAC;AAuItG,MAAM,WAAW,gBAAgB;IAC/B,gCAAgC;IAChC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,IAAI,CAAC,E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,uGAAuG;AACvG,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAKtD;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,IAAI,GAAG,SAAS,CAKtG;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAGtD;AAED,oGAAoG;AACpG,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGtD"}
@@ -6,6 +6,8 @@ import { normalizeInstruction, proposeClauses } from './commandText.js';
6
6
  */
7
7
  const ALIASES = {
8
8
  dash: ['home', 'go home', 'main'],
9
+ plan: ['daily plan', 'day plan', 'plan my day'],
10
+ deck: ['my deck'],
9
11
  search: ['task list', 'search'],
10
12
  today: ['todays tasks', 'tasks for today', 'whats due today'],
11
13
  inbox: [],
@@ -141,6 +141,14 @@ export declare const COMMAND_DESTINATIONS: readonly [{
141
141
  readonly key: "ask_lucid";
142
142
  readonly label: "Lucid";
143
143
  readonly description: "A conversation with Lucid on your computer";
144
+ }, {
145
+ readonly key: "plan";
146
+ readonly label: "My day";
147
+ readonly description: "Plan the day and review its chosen tasks and main focus";
148
+ }, {
149
+ readonly key: "deck";
150
+ readonly label: "Deck";
151
+ readonly description: "The cards for habits, projects and daily summaries";
144
152
  }];
145
153
  export type CommandDestination = (typeof COMMAND_DESTINATIONS)[number]['key'];
146
154
  /**
@@ -239,6 +247,8 @@ declare const ExecutableStep: z.ZodDiscriminatedUnion<[z.ZodObject<{
239
247
  weekly_review: "weekly_review";
240
248
  card_studio: "card_studio";
241
249
  ask_lucid: "ask_lucid";
250
+ plan: "plan";
251
+ deck: "deck";
242
252
  }>;
243
253
  organizationId: z.ZodOptional<z.ZodUUID>;
244
254
  }, z.core.$strip>, z.ZodObject<{
@@ -476,6 +486,8 @@ export declare const CommandStepSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
476
486
  weekly_review: "weekly_review";
477
487
  card_studio: "card_studio";
478
488
  ask_lucid: "ask_lucid";
489
+ plan: "plan";
490
+ deck: "deck";
479
491
  }>;
480
492
  organizationId: z.ZodOptional<z.ZodUUID>;
481
493
  }, z.core.$strip>, z.ZodObject<{
@@ -716,6 +728,8 @@ export declare const CommandStepSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
716
728
  weekly_review: "weekly_review";
717
729
  card_studio: "card_studio";
718
730
  ask_lucid: "ask_lucid";
731
+ plan: "plan";
732
+ deck: "deck";
719
733
  }>;
720
734
  organizationId: z.ZodOptional<z.ZodUUID>;
721
735
  }, z.core.$strip>, z.ZodObject<{
@@ -971,6 +985,8 @@ export declare const CommandResponseSchema: z.ZodObject<{
971
985
  weekly_review: "weekly_review";
972
986
  card_studio: "card_studio";
973
987
  ask_lucid: "ask_lucid";
988
+ plan: "plan";
989
+ deck: "deck";
974
990
  }>;
975
991
  organizationId: z.ZodOptional<z.ZodUUID>;
976
992
  }, z.core.$strip>, z.ZodObject<{
@@ -1211,6 +1227,8 @@ export declare const CommandResponseSchema: z.ZodObject<{
1211
1227
  weekly_review: "weekly_review";
1212
1228
  card_studio: "card_studio";
1213
1229
  ask_lucid: "ask_lucid";
1230
+ plan: "plan";
1231
+ deck: "deck";
1214
1232
  }>;
1215
1233
  organizationId: z.ZodOptional<z.ZodUUID>;
1216
1234
  }, z.core.$strip>, z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;GAKG;AAEH;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,sBAAsB,oKAGzB,CAAC;AAGX,oFAAoF;AACpF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyB7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;iBAInC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -45,6 +45,8 @@ export const COMMAND_DESTINATIONS = [
45
45
  { key: 'focus', label: 'Focus', description: 'The focus timer' },
46
46
  { key: 'card_studio', label: 'Card Studio', description: 'Choosing the cards on the Dashboard' },
47
47
  { key: 'ask_lucid', label: 'Lucid', description: 'A conversation with Lucid on your computer' },
48
+ { key: 'plan', label: 'My day', description: 'Plan the day and review its chosen tasks and main focus' },
49
+ { key: 'deck', label: 'Deck', description: 'The cards for habits, projects and daily summaries' },
48
50
  ];
49
51
  /**
50
52
  * The place each one sits under, so "voice settings" and "settings voice" find Voice without an
@@ -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' | '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' | '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';
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,CAA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CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/D,SAAS,CAkBZ"}
@@ -44,6 +44,7 @@ export const ComputerPresenceSchema = z.object({
44
44
  });
45
45
  export const INFERENCE_FEATURES = new Set([
46
46
  'ask',
47
+ 'day-plan',
47
48
  'code',
48
49
  'conduct',
49
50
  'briefing',
@@ -112,17 +113,27 @@ export function computerAvailability(presence, network, feature = 'ask', provide
112
113
  }
113
114
  /** Session affinity can be read in RN without importing Node Buffer. Legacy IDs are Claude. */
114
115
  export function sessionProvider(resume) {
116
+ return sessionPreferences(resume)?.provider;
117
+ }
118
+ /** Saved overrides are needed when a conversation keeps a different provider from settings. */
119
+ export function sessionPreferences(resume) {
115
120
  if (!resume)
116
121
  return undefined;
117
122
  if (!resume.startsWith('lucidity-session:'))
118
- return 'claude';
123
+ return { provider: 'claude' };
119
124
  try {
120
125
  const encoded = resume
121
126
  .slice('lucidity-session:'.length)
122
127
  .replace(/-/g, '+')
123
128
  .replace(/_/g, '/');
124
129
  const session = JSON.parse(atob(encoded));
125
- return session.provider === 'codex' ? 'codex' : 'claude';
130
+ if (session.provider !== 'codex' && session.provider !== 'claude')
131
+ return undefined;
132
+ return {
133
+ provider: session.provider,
134
+ model: typeof session.model === 'string' ? session.model : undefined,
135
+ effort: typeof session.effort === 'string' ? session.effort : undefined,
136
+ };
126
137
  }
127
138
  catch {
128
139
  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", "conduct", "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,YAAY,OAAO,CAAC;AAEjC,eAAO,MAAM,0BAA0B,mDAK7B,CAAC;AAEX,eAAO,MAAM,qBAAqB,6BAA8B,CAAC;AACjE,eAAO,MAAM,sBAAsB,oCAAqC,CAAC;AAEzE,eAAO,MAAM,0BAA0B,qCAAsC,CAAC;AAE9E,eAAO,MAAM,yBAAyB,0CAI5B,CAAC;AACX,eAAO,MAAM,oBAAoB,2BAA4B,CAAC;AAK9D,eAAO,MAAM,qBAAqB,oCAAqC,CAAC;AA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B,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',
@@ -383,7 +384,7 @@ export const EFFORT_LEVELS = [
383
384
  export const EFFORT_OPTIONS = [
384
385
  {
385
386
  value: 'auto',
386
- label: 'Provider default',
387
+ label: 'Automatic',
387
388
  blurb: 'Use the model’s recommended effort',
388
389
  },
389
390
  { value: 'low', label: 'Low', blurb: 'Fastest, least thorough' },
@@ -399,11 +400,11 @@ export const EFFORT_OPTIONS = [
399
400
  ];
400
401
  /** A safe fallback when the live provider catalog is unavailable. Never guess a version. */
401
402
  export function claudeModelLabel(alias) {
402
- return alias === 'default' ? 'Provider default' : alias;
403
+ return alias === 'default' ? 'Claude' : alias;
403
404
  }
404
- /** Friendly label for an effort level; unset (null) reads as "Provider default". */
405
+ /** Friendly label for an effort level; unset values use automatic reasoning. */
405
406
  export function effortLabel(value) {
406
- return (EFFORT_OPTIONS.find((e) => e.value === value)?.label ?? 'Provider default');
407
+ return (EFFORT_OPTIONS.find((e) => e.value === value)?.label ?? 'Automatic');
407
408
  }
408
409
  // The daemon's user-facing delivery channels (macOS notification vs stdout). Mirror of
409
410
  // the daemon's own `DELIVERY_CHANNELS`; the daemon re-validates on write.
@@ -0,0 +1,86 @@
1
+ import { z } from 'zod';
2
+ export declare const PlanDateSchema: z.ZodISODate;
3
+ export declare const PlanTimeZoneSchema: z.ZodString;
4
+ export declare const PlanTaskLinkSchema: z.ZodObject<{
5
+ kind: z.ZodLiteral<"task">;
6
+ taskId: z.ZodUUID;
7
+ occurrenceId: z.ZodNullable<z.ZodUUID>;
8
+ focus: z.ZodBoolean;
9
+ }, z.core.$strip>;
10
+ export declare const PlanNewTaskSchema: z.ZodObject<{
11
+ kind: z.ZodLiteral<"new">;
12
+ taskId: z.ZodUUID;
13
+ title: z.ZodString;
14
+ focus: z.ZodBoolean;
15
+ }, z.core.$strip>;
16
+ export declare const PlanInputItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
17
+ kind: z.ZodLiteral<"task">;
18
+ taskId: z.ZodUUID;
19
+ occurrenceId: z.ZodNullable<z.ZodUUID>;
20
+ focus: z.ZodBoolean;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ kind: z.ZodLiteral<"new">;
23
+ taskId: z.ZodUUID;
24
+ title: z.ZodString;
25
+ focus: z.ZodBoolean;
26
+ }, z.core.$strip>], "kind">;
27
+ export declare const SaveDayPlanSchema: z.ZodObject<{
28
+ timeZone: z.ZodString;
29
+ revision: z.ZodNumber;
30
+ mutationId: z.ZodUUID;
31
+ items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
32
+ kind: z.ZodLiteral<"task">;
33
+ taskId: z.ZodUUID;
34
+ occurrenceId: z.ZodNullable<z.ZodUUID>;
35
+ focus: z.ZodBoolean;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ kind: z.ZodLiteral<"new">;
38
+ taskId: z.ZodUUID;
39
+ title: z.ZodString;
40
+ focus: z.ZodBoolean;
41
+ }, z.core.$strip>], "kind">>;
42
+ }, z.core.$strip>;
43
+ export type PlanTaskLink = z.infer<typeof PlanTaskLinkSchema>;
44
+ export type PlanInputItem = z.infer<typeof PlanInputItemSchema>;
45
+ export type SaveDayPlan = z.infer<typeof SaveDayPlanSchema>;
46
+ /** A task becoming private or deleted leaves a placeholder, never a cached title. */
47
+ export interface PlanTask {
48
+ id: string;
49
+ title: string;
50
+ projectName: string | null;
51
+ projectKey: string | null;
52
+ taskNumber: number | null;
53
+ occurrenceId: string | null;
54
+ completed: boolean;
55
+ canComplete: boolean;
56
+ }
57
+ export interface DayPlanItem extends PlanTaskLink {
58
+ task: PlanTask | null;
59
+ }
60
+ export interface DayPlan {
61
+ date: string;
62
+ timeZone: string;
63
+ revision: number;
64
+ updatedAt: string;
65
+ items: DayPlanItem[];
66
+ }
67
+ export interface DayPlanResponse {
68
+ plan: DayPlan | null;
69
+ previous: DayPlan | null;
70
+ }
71
+ export declare const InterpretDayPlanSchema: z.ZodObject<{
72
+ text: z.ZodString;
73
+ }, z.core.$strip>;
74
+ export interface PlanSuggestion {
75
+ words: string;
76
+ title: string;
77
+ task: PlanTask | null;
78
+ focus: boolean;
79
+ }
80
+ export interface PlanInterpretation {
81
+ suggestions: PlanSuggestion[];
82
+ unresolved: string[];
83
+ }
84
+ export declare function localPlanDate(now: Date, timeZone: string): string;
85
+ export declare const planItemKey: (item: Pick<PlanTaskLink, "taskId" | "occurrenceId">) => string;
86
+ //# sourceMappingURL=dayPlan.d.ts.map