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