@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,756 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CardIdSchema: z.ZodEnum<{
|
|
3
|
+
today: "today";
|
|
4
|
+
attention: "attention";
|
|
5
|
+
github: "github";
|
|
6
|
+
habits: "habits";
|
|
7
|
+
"habit-contributions": "habit-contributions";
|
|
8
|
+
focus: "focus";
|
|
9
|
+
"weekly-review": "weekly-review";
|
|
10
|
+
}>;
|
|
11
|
+
export type CardId = z.infer<typeof CardIdSchema>;
|
|
12
|
+
export declare const CardStyleSchema: z.ZodEnum<{
|
|
13
|
+
glance: "glance";
|
|
14
|
+
act: "act";
|
|
15
|
+
}>;
|
|
16
|
+
export type CardStyle = z.infer<typeof CardStyleSchema>;
|
|
17
|
+
export declare const CARD_CATALOG: {
|
|
18
|
+
id: CardId;
|
|
19
|
+
name: string;
|
|
20
|
+
description: string;
|
|
21
|
+
source: string;
|
|
22
|
+
styles: boolean;
|
|
23
|
+
}[];
|
|
24
|
+
export declare const CardPreferencesSchema: z.ZodObject<{
|
|
25
|
+
order: z.ZodArray<z.ZodEnum<{
|
|
26
|
+
today: "today";
|
|
27
|
+
attention: "attention";
|
|
28
|
+
github: "github";
|
|
29
|
+
habits: "habits";
|
|
30
|
+
"habit-contributions": "habit-contributions";
|
|
31
|
+
focus: "focus";
|
|
32
|
+
"weekly-review": "weekly-review";
|
|
33
|
+
}>>;
|
|
34
|
+
styles: z.ZodObject<{
|
|
35
|
+
habits: z.ZodEnum<{
|
|
36
|
+
glance: "glance";
|
|
37
|
+
act: "act";
|
|
38
|
+
}>;
|
|
39
|
+
'habit-contributions': z.ZodDefault<z.ZodEnum<{
|
|
40
|
+
glance: "glance";
|
|
41
|
+
act: "act";
|
|
42
|
+
}>>;
|
|
43
|
+
focus: z.ZodEnum<{
|
|
44
|
+
glance: "glance";
|
|
45
|
+
act: "act";
|
|
46
|
+
}>;
|
|
47
|
+
'weekly-review': z.ZodEnum<{
|
|
48
|
+
glance: "glance";
|
|
49
|
+
act: "act";
|
|
50
|
+
}>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
dismissed: z.ZodArray<z.ZodString>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
export type CardPreferences = z.infer<typeof CardPreferencesSchema>;
|
|
55
|
+
export type StyledCardId = keyof CardPreferences['styles'];
|
|
56
|
+
export declare const DEFAULT_CARD_PREFERENCES: CardPreferences;
|
|
57
|
+
export declare const CardPreferenceChangeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
58
|
+
type: z.ZodLiteral<"add">;
|
|
59
|
+
id: z.ZodEnum<{
|
|
60
|
+
today: "today";
|
|
61
|
+
attention: "attention";
|
|
62
|
+
github: "github";
|
|
63
|
+
habits: "habits";
|
|
64
|
+
"habit-contributions": "habit-contributions";
|
|
65
|
+
focus: "focus";
|
|
66
|
+
"weekly-review": "weekly-review";
|
|
67
|
+
}>;
|
|
68
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
70
|
+
type: z.ZodLiteral<"remove">;
|
|
71
|
+
id: z.ZodEnum<{
|
|
72
|
+
today: "today";
|
|
73
|
+
attention: "attention";
|
|
74
|
+
github: "github";
|
|
75
|
+
habits: "habits";
|
|
76
|
+
"habit-contributions": "habit-contributions";
|
|
77
|
+
focus: "focus";
|
|
78
|
+
"weekly-review": "weekly-review";
|
|
79
|
+
}>;
|
|
80
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
81
|
+
type: z.ZodLiteral<"move">;
|
|
82
|
+
id: z.ZodEnum<{
|
|
83
|
+
today: "today";
|
|
84
|
+
attention: "attention";
|
|
85
|
+
github: "github";
|
|
86
|
+
habits: "habits";
|
|
87
|
+
"habit-contributions": "habit-contributions";
|
|
88
|
+
focus: "focus";
|
|
89
|
+
"weekly-review": "weekly-review";
|
|
90
|
+
}>;
|
|
91
|
+
before: z.ZodNullable<z.ZodEnum<{
|
|
92
|
+
today: "today";
|
|
93
|
+
attention: "attention";
|
|
94
|
+
github: "github";
|
|
95
|
+
habits: "habits";
|
|
96
|
+
"habit-contributions": "habit-contributions";
|
|
97
|
+
focus: "focus";
|
|
98
|
+
"weekly-review": "weekly-review";
|
|
99
|
+
}>>;
|
|
100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
101
|
+
type: z.ZodLiteral<"style">;
|
|
102
|
+
id: z.ZodEnum<{
|
|
103
|
+
habits: "habits";
|
|
104
|
+
"habit-contributions": "habit-contributions";
|
|
105
|
+
focus: "focus";
|
|
106
|
+
"weekly-review": "weekly-review";
|
|
107
|
+
}>;
|
|
108
|
+
style: z.ZodEnum<{
|
|
109
|
+
glance: "glance";
|
|
110
|
+
act: "act";
|
|
111
|
+
}>;
|
|
112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
113
|
+
type: z.ZodLiteral<"dismiss">;
|
|
114
|
+
key: z.ZodString;
|
|
115
|
+
}, z.core.$strip>], "type">;
|
|
116
|
+
export type CardPreferenceChange = z.infer<typeof CardPreferenceChangeSchema>;
|
|
117
|
+
/** Operations merge against the latest account state, avoiding lost edits across devices. */
|
|
118
|
+
export declare function changeCardPreferences(current: CardPreferences, change: CardPreferenceChange): CardPreferences;
|
|
119
|
+
export declare const StudioDateSchema: z.ZodString;
|
|
120
|
+
export declare function studioLocalDate(now: Date, timeZone: string): string;
|
|
121
|
+
export declare function shiftStudioDate(date: string, days: number): string;
|
|
122
|
+
/** Previous complete Monday–Sunday week; calendar arithmetic is independent of DST. */
|
|
123
|
+
export declare function studioWeek(today: string, offset?: number): {
|
|
124
|
+
start: string;
|
|
125
|
+
end: string;
|
|
126
|
+
days: string[];
|
|
127
|
+
};
|
|
128
|
+
export declare const HabitColorSchema: z.ZodEnum<{
|
|
129
|
+
green: "green";
|
|
130
|
+
amber: "amber";
|
|
131
|
+
berry: "berry";
|
|
132
|
+
blue: "blue";
|
|
133
|
+
coral: "coral";
|
|
134
|
+
teal: "teal";
|
|
135
|
+
}>;
|
|
136
|
+
export type HabitColor = z.infer<typeof HabitColorSchema>;
|
|
137
|
+
export declare const HabitIconSchema: z.ZodEnum<{
|
|
138
|
+
check: "check";
|
|
139
|
+
heart: "heart";
|
|
140
|
+
book: "book";
|
|
141
|
+
guitar: "guitar";
|
|
142
|
+
dumbbell: "dumbbell";
|
|
143
|
+
walk: "walk";
|
|
144
|
+
water: "water";
|
|
145
|
+
leaf: "leaf";
|
|
146
|
+
moon: "moon";
|
|
147
|
+
pencil: "pencil";
|
|
148
|
+
code: "code";
|
|
149
|
+
music: "music";
|
|
150
|
+
}>;
|
|
151
|
+
export type HabitIcon = z.infer<typeof HabitIconSchema>;
|
|
152
|
+
/** Recent editable days plus an immutable prefix keep lifetime statistics small and exact. */
|
|
153
|
+
export declare const HabitHistorySchema: z.ZodObject<{
|
|
154
|
+
windowStart: z.ZodString;
|
|
155
|
+
firstDayBefore: z.ZodNullable<z.ZodString>;
|
|
156
|
+
totalBefore: z.ZodNumber;
|
|
157
|
+
longestBefore: z.ZodNumber;
|
|
158
|
+
streakBefore: z.ZodNumber;
|
|
159
|
+
days: z.ZodArray<z.ZodString>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
export type HabitHistory = z.infer<typeof HabitHistorySchema>;
|
|
162
|
+
export declare const HabitInputSchema: z.ZodObject<{
|
|
163
|
+
name: z.ZodString;
|
|
164
|
+
goal: z.ZodDefault<z.ZodString>;
|
|
165
|
+
color: z.ZodOptional<z.ZodEnum<{
|
|
166
|
+
green: "green";
|
|
167
|
+
amber: "amber";
|
|
168
|
+
berry: "berry";
|
|
169
|
+
blue: "blue";
|
|
170
|
+
coral: "coral";
|
|
171
|
+
teal: "teal";
|
|
172
|
+
}>>;
|
|
173
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
174
|
+
check: "check";
|
|
175
|
+
heart: "heart";
|
|
176
|
+
book: "book";
|
|
177
|
+
guitar: "guitar";
|
|
178
|
+
dumbbell: "dumbbell";
|
|
179
|
+
walk: "walk";
|
|
180
|
+
water: "water";
|
|
181
|
+
leaf: "leaf";
|
|
182
|
+
moon: "moon";
|
|
183
|
+
pencil: "pencil";
|
|
184
|
+
code: "code";
|
|
185
|
+
music: "music";
|
|
186
|
+
}>>;
|
|
187
|
+
}, z.core.$strip>;
|
|
188
|
+
export declare const HabitSchema: z.ZodObject<{
|
|
189
|
+
name: z.ZodString;
|
|
190
|
+
goal: z.ZodDefault<z.ZodString>;
|
|
191
|
+
color: z.ZodOptional<z.ZodEnum<{
|
|
192
|
+
green: "green";
|
|
193
|
+
amber: "amber";
|
|
194
|
+
berry: "berry";
|
|
195
|
+
blue: "blue";
|
|
196
|
+
coral: "coral";
|
|
197
|
+
teal: "teal";
|
|
198
|
+
}>>;
|
|
199
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
200
|
+
check: "check";
|
|
201
|
+
heart: "heart";
|
|
202
|
+
book: "book";
|
|
203
|
+
guitar: "guitar";
|
|
204
|
+
dumbbell: "dumbbell";
|
|
205
|
+
walk: "walk";
|
|
206
|
+
water: "water";
|
|
207
|
+
leaf: "leaf";
|
|
208
|
+
moon: "moon";
|
|
209
|
+
pencil: "pencil";
|
|
210
|
+
code: "code";
|
|
211
|
+
music: "music";
|
|
212
|
+
}>>;
|
|
213
|
+
id: z.ZodString;
|
|
214
|
+
archived: z.ZodBoolean;
|
|
215
|
+
createdAt: z.ZodString;
|
|
216
|
+
updatedAt: z.ZodString;
|
|
217
|
+
days: z.ZodArray<z.ZodString>;
|
|
218
|
+
history: z.ZodOptional<z.ZodObject<{
|
|
219
|
+
windowStart: z.ZodString;
|
|
220
|
+
firstDayBefore: z.ZodNullable<z.ZodString>;
|
|
221
|
+
totalBefore: z.ZodNumber;
|
|
222
|
+
longestBefore: z.ZodNumber;
|
|
223
|
+
streakBefore: z.ZodNumber;
|
|
224
|
+
days: z.ZodArray<z.ZodString>;
|
|
225
|
+
}, z.core.$strip>>;
|
|
226
|
+
}, z.core.$strip>;
|
|
227
|
+
export type StudioHabit = z.infer<typeof HabitSchema>;
|
|
228
|
+
export declare const FocusSessionSchema: z.ZodObject<{
|
|
229
|
+
id: z.ZodString;
|
|
230
|
+
taskId: z.ZodNullable<z.ZodString>;
|
|
231
|
+
taskTitle: z.ZodNullable<z.ZodString>;
|
|
232
|
+
durationSeconds: z.ZodNumber;
|
|
233
|
+
elapsedSeconds: z.ZodNumber;
|
|
234
|
+
resumedAt: z.ZodNullable<z.ZodString>;
|
|
235
|
+
startedAt: z.ZodString;
|
|
236
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
237
|
+
status: z.ZodEnum<{
|
|
238
|
+
running: "running";
|
|
239
|
+
completed: "completed";
|
|
240
|
+
paused: "paused";
|
|
241
|
+
ended: "ended";
|
|
242
|
+
}>;
|
|
243
|
+
revision: z.ZodNumber;
|
|
244
|
+
}, z.core.$strip>;
|
|
245
|
+
export type FocusSession = z.infer<typeof FocusSessionSchema>;
|
|
246
|
+
export declare function focusElapsed(session: Pick<FocusSession, 'elapsedSeconds' | 'resumedAt' | 'durationSeconds'>, now?: number): number;
|
|
247
|
+
export declare const StudioSnapshotSchema: z.ZodObject<{
|
|
248
|
+
revision: z.ZodDefault<z.ZodNumber>;
|
|
249
|
+
preferences: z.ZodObject<{
|
|
250
|
+
order: z.ZodArray<z.ZodEnum<{
|
|
251
|
+
today: "today";
|
|
252
|
+
attention: "attention";
|
|
253
|
+
github: "github";
|
|
254
|
+
habits: "habits";
|
|
255
|
+
"habit-contributions": "habit-contributions";
|
|
256
|
+
focus: "focus";
|
|
257
|
+
"weekly-review": "weekly-review";
|
|
258
|
+
}>>;
|
|
259
|
+
styles: z.ZodObject<{
|
|
260
|
+
habits: z.ZodEnum<{
|
|
261
|
+
glance: "glance";
|
|
262
|
+
act: "act";
|
|
263
|
+
}>;
|
|
264
|
+
'habit-contributions': z.ZodDefault<z.ZodEnum<{
|
|
265
|
+
glance: "glance";
|
|
266
|
+
act: "act";
|
|
267
|
+
}>>;
|
|
268
|
+
focus: z.ZodEnum<{
|
|
269
|
+
glance: "glance";
|
|
270
|
+
act: "act";
|
|
271
|
+
}>;
|
|
272
|
+
'weekly-review': z.ZodEnum<{
|
|
273
|
+
glance: "glance";
|
|
274
|
+
act: "act";
|
|
275
|
+
}>;
|
|
276
|
+
}, z.core.$strip>;
|
|
277
|
+
dismissed: z.ZodArray<z.ZodString>;
|
|
278
|
+
}, z.core.$strip>;
|
|
279
|
+
habits: z.ZodArray<z.ZodObject<{
|
|
280
|
+
name: z.ZodString;
|
|
281
|
+
goal: z.ZodDefault<z.ZodString>;
|
|
282
|
+
color: z.ZodOptional<z.ZodEnum<{
|
|
283
|
+
green: "green";
|
|
284
|
+
amber: "amber";
|
|
285
|
+
berry: "berry";
|
|
286
|
+
blue: "blue";
|
|
287
|
+
coral: "coral";
|
|
288
|
+
teal: "teal";
|
|
289
|
+
}>>;
|
|
290
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
291
|
+
check: "check";
|
|
292
|
+
heart: "heart";
|
|
293
|
+
book: "book";
|
|
294
|
+
guitar: "guitar";
|
|
295
|
+
dumbbell: "dumbbell";
|
|
296
|
+
walk: "walk";
|
|
297
|
+
water: "water";
|
|
298
|
+
leaf: "leaf";
|
|
299
|
+
moon: "moon";
|
|
300
|
+
pencil: "pencil";
|
|
301
|
+
code: "code";
|
|
302
|
+
music: "music";
|
|
303
|
+
}>>;
|
|
304
|
+
id: z.ZodString;
|
|
305
|
+
archived: z.ZodBoolean;
|
|
306
|
+
createdAt: z.ZodString;
|
|
307
|
+
updatedAt: z.ZodString;
|
|
308
|
+
days: z.ZodArray<z.ZodString>;
|
|
309
|
+
history: z.ZodOptional<z.ZodObject<{
|
|
310
|
+
windowStart: z.ZodString;
|
|
311
|
+
firstDayBefore: z.ZodNullable<z.ZodString>;
|
|
312
|
+
totalBefore: z.ZodNumber;
|
|
313
|
+
longestBefore: z.ZodNumber;
|
|
314
|
+
streakBefore: z.ZodNumber;
|
|
315
|
+
days: z.ZodArray<z.ZodString>;
|
|
316
|
+
}, z.core.$strip>>;
|
|
317
|
+
}, z.core.$strip>>;
|
|
318
|
+
focus: z.ZodObject<{
|
|
319
|
+
active: z.ZodNullable<z.ZodObject<{
|
|
320
|
+
id: z.ZodString;
|
|
321
|
+
taskId: z.ZodNullable<z.ZodString>;
|
|
322
|
+
taskTitle: z.ZodNullable<z.ZodString>;
|
|
323
|
+
durationSeconds: z.ZodNumber;
|
|
324
|
+
elapsedSeconds: z.ZodNumber;
|
|
325
|
+
resumedAt: z.ZodNullable<z.ZodString>;
|
|
326
|
+
startedAt: z.ZodString;
|
|
327
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
328
|
+
status: z.ZodEnum<{
|
|
329
|
+
running: "running";
|
|
330
|
+
completed: "completed";
|
|
331
|
+
paused: "paused";
|
|
332
|
+
ended: "ended";
|
|
333
|
+
}>;
|
|
334
|
+
revision: z.ZodNumber;
|
|
335
|
+
}, z.core.$strip>>;
|
|
336
|
+
history: z.ZodArray<z.ZodObject<{
|
|
337
|
+
id: z.ZodString;
|
|
338
|
+
taskId: z.ZodNullable<z.ZodString>;
|
|
339
|
+
taskTitle: z.ZodNullable<z.ZodString>;
|
|
340
|
+
durationSeconds: z.ZodNumber;
|
|
341
|
+
elapsedSeconds: z.ZodNumber;
|
|
342
|
+
resumedAt: z.ZodNullable<z.ZodString>;
|
|
343
|
+
startedAt: z.ZodString;
|
|
344
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
345
|
+
status: z.ZodEnum<{
|
|
346
|
+
running: "running";
|
|
347
|
+
completed: "completed";
|
|
348
|
+
paused: "paused";
|
|
349
|
+
ended: "ended";
|
|
350
|
+
}>;
|
|
351
|
+
revision: z.ZodNumber;
|
|
352
|
+
}, z.core.$strip>>;
|
|
353
|
+
}, z.core.$strip>;
|
|
354
|
+
refreshedAt: z.ZodString;
|
|
355
|
+
today: z.ZodString;
|
|
356
|
+
}, z.core.$strip>;
|
|
357
|
+
export type StudioSnapshot = z.infer<typeof StudioSnapshotSchema>;
|
|
358
|
+
export declare const WeeklyReviewSchema: z.ZodObject<{
|
|
359
|
+
start: z.ZodString;
|
|
360
|
+
end: z.ZodString;
|
|
361
|
+
total: z.ZodNumber;
|
|
362
|
+
refreshedAt: z.ZodString;
|
|
363
|
+
days: z.ZodArray<z.ZodObject<{
|
|
364
|
+
date: z.ZodString;
|
|
365
|
+
count: z.ZodNumber;
|
|
366
|
+
}, z.core.$strip>>;
|
|
367
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
368
|
+
id: z.ZodNullable<z.ZodString>;
|
|
369
|
+
name: z.ZodString;
|
|
370
|
+
count: z.ZodNumber;
|
|
371
|
+
}, z.core.$strip>>;
|
|
372
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
373
|
+
id: z.ZodString;
|
|
374
|
+
title: z.ZodString;
|
|
375
|
+
completedAt: z.ZodString;
|
|
376
|
+
}, z.core.$strip>>;
|
|
377
|
+
nextOffset: z.ZodNullable<z.ZodNumber>;
|
|
378
|
+
}, z.core.$strip>;
|
|
379
|
+
export type WeeklyReview = z.infer<typeof WeeklyReviewSchema>;
|
|
380
|
+
/** Durable commands carry desired values; replaying a toggle would undo the user's intent. */
|
|
381
|
+
export declare const StudioCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
382
|
+
type: z.ZodLiteral<"preferences">;
|
|
383
|
+
changes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
384
|
+
type: z.ZodLiteral<"add">;
|
|
385
|
+
id: z.ZodEnum<{
|
|
386
|
+
today: "today";
|
|
387
|
+
attention: "attention";
|
|
388
|
+
github: "github";
|
|
389
|
+
habits: "habits";
|
|
390
|
+
"habit-contributions": "habit-contributions";
|
|
391
|
+
focus: "focus";
|
|
392
|
+
"weekly-review": "weekly-review";
|
|
393
|
+
}>;
|
|
394
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
395
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
396
|
+
type: z.ZodLiteral<"remove">;
|
|
397
|
+
id: z.ZodEnum<{
|
|
398
|
+
today: "today";
|
|
399
|
+
attention: "attention";
|
|
400
|
+
github: "github";
|
|
401
|
+
habits: "habits";
|
|
402
|
+
"habit-contributions": "habit-contributions";
|
|
403
|
+
focus: "focus";
|
|
404
|
+
"weekly-review": "weekly-review";
|
|
405
|
+
}>;
|
|
406
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
407
|
+
type: z.ZodLiteral<"move">;
|
|
408
|
+
id: z.ZodEnum<{
|
|
409
|
+
today: "today";
|
|
410
|
+
attention: "attention";
|
|
411
|
+
github: "github";
|
|
412
|
+
habits: "habits";
|
|
413
|
+
"habit-contributions": "habit-contributions";
|
|
414
|
+
focus: "focus";
|
|
415
|
+
"weekly-review": "weekly-review";
|
|
416
|
+
}>;
|
|
417
|
+
before: z.ZodNullable<z.ZodEnum<{
|
|
418
|
+
today: "today";
|
|
419
|
+
attention: "attention";
|
|
420
|
+
github: "github";
|
|
421
|
+
habits: "habits";
|
|
422
|
+
"habit-contributions": "habit-contributions";
|
|
423
|
+
focus: "focus";
|
|
424
|
+
"weekly-review": "weekly-review";
|
|
425
|
+
}>>;
|
|
426
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
427
|
+
type: z.ZodLiteral<"style">;
|
|
428
|
+
id: z.ZodEnum<{
|
|
429
|
+
habits: "habits";
|
|
430
|
+
"habit-contributions": "habit-contributions";
|
|
431
|
+
focus: "focus";
|
|
432
|
+
"weekly-review": "weekly-review";
|
|
433
|
+
}>;
|
|
434
|
+
style: z.ZodEnum<{
|
|
435
|
+
glance: "glance";
|
|
436
|
+
act: "act";
|
|
437
|
+
}>;
|
|
438
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
439
|
+
type: z.ZodLiteral<"dismiss">;
|
|
440
|
+
key: z.ZodString;
|
|
441
|
+
}, z.core.$strip>], "type">>;
|
|
442
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
443
|
+
type: z.ZodLiteral<"check-in">;
|
|
444
|
+
habitId: z.ZodString;
|
|
445
|
+
day: z.ZodString;
|
|
446
|
+
checked: z.ZodBoolean;
|
|
447
|
+
timeZone: z.ZodString;
|
|
448
|
+
}, z.core.$strip>], "type">;
|
|
449
|
+
export type StudioCommand = z.infer<typeof StudioCommandSchema>;
|
|
450
|
+
export declare const StudioOperationSchema: z.ZodObject<{
|
|
451
|
+
version: z.ZodLiteral<1>;
|
|
452
|
+
id: z.ZodString;
|
|
453
|
+
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
454
|
+
type: z.ZodLiteral<"preferences">;
|
|
455
|
+
changes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
456
|
+
type: z.ZodLiteral<"add">;
|
|
457
|
+
id: z.ZodEnum<{
|
|
458
|
+
today: "today";
|
|
459
|
+
attention: "attention";
|
|
460
|
+
github: "github";
|
|
461
|
+
habits: "habits";
|
|
462
|
+
"habit-contributions": "habit-contributions";
|
|
463
|
+
focus: "focus";
|
|
464
|
+
"weekly-review": "weekly-review";
|
|
465
|
+
}>;
|
|
466
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
467
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
468
|
+
type: z.ZodLiteral<"remove">;
|
|
469
|
+
id: z.ZodEnum<{
|
|
470
|
+
today: "today";
|
|
471
|
+
attention: "attention";
|
|
472
|
+
github: "github";
|
|
473
|
+
habits: "habits";
|
|
474
|
+
"habit-contributions": "habit-contributions";
|
|
475
|
+
focus: "focus";
|
|
476
|
+
"weekly-review": "weekly-review";
|
|
477
|
+
}>;
|
|
478
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
479
|
+
type: z.ZodLiteral<"move">;
|
|
480
|
+
id: z.ZodEnum<{
|
|
481
|
+
today: "today";
|
|
482
|
+
attention: "attention";
|
|
483
|
+
github: "github";
|
|
484
|
+
habits: "habits";
|
|
485
|
+
"habit-contributions": "habit-contributions";
|
|
486
|
+
focus: "focus";
|
|
487
|
+
"weekly-review": "weekly-review";
|
|
488
|
+
}>;
|
|
489
|
+
before: z.ZodNullable<z.ZodEnum<{
|
|
490
|
+
today: "today";
|
|
491
|
+
attention: "attention";
|
|
492
|
+
github: "github";
|
|
493
|
+
habits: "habits";
|
|
494
|
+
"habit-contributions": "habit-contributions";
|
|
495
|
+
focus: "focus";
|
|
496
|
+
"weekly-review": "weekly-review";
|
|
497
|
+
}>>;
|
|
498
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
499
|
+
type: z.ZodLiteral<"style">;
|
|
500
|
+
id: z.ZodEnum<{
|
|
501
|
+
habits: "habits";
|
|
502
|
+
"habit-contributions": "habit-contributions";
|
|
503
|
+
focus: "focus";
|
|
504
|
+
"weekly-review": "weekly-review";
|
|
505
|
+
}>;
|
|
506
|
+
style: z.ZodEnum<{
|
|
507
|
+
glance: "glance";
|
|
508
|
+
act: "act";
|
|
509
|
+
}>;
|
|
510
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
511
|
+
type: z.ZodLiteral<"dismiss">;
|
|
512
|
+
key: z.ZodString;
|
|
513
|
+
}, z.core.$strip>], "type">>;
|
|
514
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
515
|
+
type: z.ZodLiteral<"check-in">;
|
|
516
|
+
habitId: z.ZodString;
|
|
517
|
+
day: z.ZodString;
|
|
518
|
+
checked: z.ZodBoolean;
|
|
519
|
+
timeZone: z.ZodString;
|
|
520
|
+
}, z.core.$strip>], "type">;
|
|
521
|
+
}, z.core.$strip>;
|
|
522
|
+
export type StudioOperation = z.infer<typeof StudioOperationSchema>;
|
|
523
|
+
export declare const StudioAcknowledgmentSchema: z.ZodObject<{
|
|
524
|
+
id: z.ZodString;
|
|
525
|
+
revision: z.ZodNumber;
|
|
526
|
+
preferences: z.ZodObject<{
|
|
527
|
+
order: z.ZodArray<z.ZodEnum<{
|
|
528
|
+
today: "today";
|
|
529
|
+
attention: "attention";
|
|
530
|
+
github: "github";
|
|
531
|
+
habits: "habits";
|
|
532
|
+
"habit-contributions": "habit-contributions";
|
|
533
|
+
focus: "focus";
|
|
534
|
+
"weekly-review": "weekly-review";
|
|
535
|
+
}>>;
|
|
536
|
+
styles: z.ZodObject<{
|
|
537
|
+
habits: z.ZodEnum<{
|
|
538
|
+
glance: "glance";
|
|
539
|
+
act: "act";
|
|
540
|
+
}>;
|
|
541
|
+
'habit-contributions': z.ZodDefault<z.ZodEnum<{
|
|
542
|
+
glance: "glance";
|
|
543
|
+
act: "act";
|
|
544
|
+
}>>;
|
|
545
|
+
focus: z.ZodEnum<{
|
|
546
|
+
glance: "glance";
|
|
547
|
+
act: "act";
|
|
548
|
+
}>;
|
|
549
|
+
'weekly-review': z.ZodEnum<{
|
|
550
|
+
glance: "glance";
|
|
551
|
+
act: "act";
|
|
552
|
+
}>;
|
|
553
|
+
}, z.core.$strip>;
|
|
554
|
+
dismissed: z.ZodArray<z.ZodString>;
|
|
555
|
+
}, z.core.$strip>;
|
|
556
|
+
}, z.core.$strip>;
|
|
557
|
+
export type StudioAcknowledgment = z.infer<typeof StudioAcknowledgmentSchema>;
|
|
558
|
+
export declare const CardStoreRecordSchema: z.ZodObject<{
|
|
559
|
+
version: z.ZodLiteral<1>;
|
|
560
|
+
confirmed: z.ZodNullable<z.ZodObject<{
|
|
561
|
+
revision: z.ZodDefault<z.ZodNumber>;
|
|
562
|
+
preferences: z.ZodObject<{
|
|
563
|
+
order: z.ZodArray<z.ZodEnum<{
|
|
564
|
+
today: "today";
|
|
565
|
+
attention: "attention";
|
|
566
|
+
github: "github";
|
|
567
|
+
habits: "habits";
|
|
568
|
+
"habit-contributions": "habit-contributions";
|
|
569
|
+
focus: "focus";
|
|
570
|
+
"weekly-review": "weekly-review";
|
|
571
|
+
}>>;
|
|
572
|
+
styles: z.ZodObject<{
|
|
573
|
+
habits: z.ZodEnum<{
|
|
574
|
+
glance: "glance";
|
|
575
|
+
act: "act";
|
|
576
|
+
}>;
|
|
577
|
+
'habit-contributions': z.ZodDefault<z.ZodEnum<{
|
|
578
|
+
glance: "glance";
|
|
579
|
+
act: "act";
|
|
580
|
+
}>>;
|
|
581
|
+
focus: z.ZodEnum<{
|
|
582
|
+
glance: "glance";
|
|
583
|
+
act: "act";
|
|
584
|
+
}>;
|
|
585
|
+
'weekly-review': z.ZodEnum<{
|
|
586
|
+
glance: "glance";
|
|
587
|
+
act: "act";
|
|
588
|
+
}>;
|
|
589
|
+
}, z.core.$strip>;
|
|
590
|
+
dismissed: z.ZodArray<z.ZodString>;
|
|
591
|
+
}, z.core.$strip>;
|
|
592
|
+
habits: z.ZodArray<z.ZodObject<{
|
|
593
|
+
name: z.ZodString;
|
|
594
|
+
goal: z.ZodDefault<z.ZodString>;
|
|
595
|
+
color: z.ZodOptional<z.ZodEnum<{
|
|
596
|
+
green: "green";
|
|
597
|
+
amber: "amber";
|
|
598
|
+
berry: "berry";
|
|
599
|
+
blue: "blue";
|
|
600
|
+
coral: "coral";
|
|
601
|
+
teal: "teal";
|
|
602
|
+
}>>;
|
|
603
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
604
|
+
check: "check";
|
|
605
|
+
heart: "heart";
|
|
606
|
+
book: "book";
|
|
607
|
+
guitar: "guitar";
|
|
608
|
+
dumbbell: "dumbbell";
|
|
609
|
+
walk: "walk";
|
|
610
|
+
water: "water";
|
|
611
|
+
leaf: "leaf";
|
|
612
|
+
moon: "moon";
|
|
613
|
+
pencil: "pencil";
|
|
614
|
+
code: "code";
|
|
615
|
+
music: "music";
|
|
616
|
+
}>>;
|
|
617
|
+
id: z.ZodString;
|
|
618
|
+
archived: z.ZodBoolean;
|
|
619
|
+
createdAt: z.ZodString;
|
|
620
|
+
updatedAt: z.ZodString;
|
|
621
|
+
days: z.ZodArray<z.ZodString>;
|
|
622
|
+
history: z.ZodOptional<z.ZodObject<{
|
|
623
|
+
windowStart: z.ZodString;
|
|
624
|
+
firstDayBefore: z.ZodNullable<z.ZodString>;
|
|
625
|
+
totalBefore: z.ZodNumber;
|
|
626
|
+
longestBefore: z.ZodNumber;
|
|
627
|
+
streakBefore: z.ZodNumber;
|
|
628
|
+
days: z.ZodArray<z.ZodString>;
|
|
629
|
+
}, z.core.$strip>>;
|
|
630
|
+
}, z.core.$strip>>;
|
|
631
|
+
focus: z.ZodObject<{
|
|
632
|
+
active: z.ZodNullable<z.ZodObject<{
|
|
633
|
+
id: z.ZodString;
|
|
634
|
+
taskId: z.ZodNullable<z.ZodString>;
|
|
635
|
+
taskTitle: z.ZodNullable<z.ZodString>;
|
|
636
|
+
durationSeconds: z.ZodNumber;
|
|
637
|
+
elapsedSeconds: z.ZodNumber;
|
|
638
|
+
resumedAt: z.ZodNullable<z.ZodString>;
|
|
639
|
+
startedAt: z.ZodString;
|
|
640
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
641
|
+
status: z.ZodEnum<{
|
|
642
|
+
running: "running";
|
|
643
|
+
completed: "completed";
|
|
644
|
+
paused: "paused";
|
|
645
|
+
ended: "ended";
|
|
646
|
+
}>;
|
|
647
|
+
revision: z.ZodNumber;
|
|
648
|
+
}, z.core.$strip>>;
|
|
649
|
+
history: z.ZodArray<z.ZodObject<{
|
|
650
|
+
id: z.ZodString;
|
|
651
|
+
taskId: z.ZodNullable<z.ZodString>;
|
|
652
|
+
taskTitle: z.ZodNullable<z.ZodString>;
|
|
653
|
+
durationSeconds: z.ZodNumber;
|
|
654
|
+
elapsedSeconds: z.ZodNumber;
|
|
655
|
+
resumedAt: z.ZodNullable<z.ZodString>;
|
|
656
|
+
startedAt: z.ZodString;
|
|
657
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
658
|
+
status: z.ZodEnum<{
|
|
659
|
+
running: "running";
|
|
660
|
+
completed: "completed";
|
|
661
|
+
paused: "paused";
|
|
662
|
+
ended: "ended";
|
|
663
|
+
}>;
|
|
664
|
+
revision: z.ZodNumber;
|
|
665
|
+
}, z.core.$strip>>;
|
|
666
|
+
}, z.core.$strip>;
|
|
667
|
+
refreshedAt: z.ZodString;
|
|
668
|
+
today: z.ZodString;
|
|
669
|
+
}, z.core.$strip>>;
|
|
670
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
671
|
+
version: z.ZodLiteral<1>;
|
|
672
|
+
id: z.ZodString;
|
|
673
|
+
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
674
|
+
type: z.ZodLiteral<"preferences">;
|
|
675
|
+
changes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
676
|
+
type: z.ZodLiteral<"add">;
|
|
677
|
+
id: z.ZodEnum<{
|
|
678
|
+
today: "today";
|
|
679
|
+
attention: "attention";
|
|
680
|
+
github: "github";
|
|
681
|
+
habits: "habits";
|
|
682
|
+
"habit-contributions": "habit-contributions";
|
|
683
|
+
focus: "focus";
|
|
684
|
+
"weekly-review": "weekly-review";
|
|
685
|
+
}>;
|
|
686
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
687
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
688
|
+
type: z.ZodLiteral<"remove">;
|
|
689
|
+
id: z.ZodEnum<{
|
|
690
|
+
today: "today";
|
|
691
|
+
attention: "attention";
|
|
692
|
+
github: "github";
|
|
693
|
+
habits: "habits";
|
|
694
|
+
"habit-contributions": "habit-contributions";
|
|
695
|
+
focus: "focus";
|
|
696
|
+
"weekly-review": "weekly-review";
|
|
697
|
+
}>;
|
|
698
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
699
|
+
type: z.ZodLiteral<"move">;
|
|
700
|
+
id: z.ZodEnum<{
|
|
701
|
+
today: "today";
|
|
702
|
+
attention: "attention";
|
|
703
|
+
github: "github";
|
|
704
|
+
habits: "habits";
|
|
705
|
+
"habit-contributions": "habit-contributions";
|
|
706
|
+
focus: "focus";
|
|
707
|
+
"weekly-review": "weekly-review";
|
|
708
|
+
}>;
|
|
709
|
+
before: z.ZodNullable<z.ZodEnum<{
|
|
710
|
+
today: "today";
|
|
711
|
+
attention: "attention";
|
|
712
|
+
github: "github";
|
|
713
|
+
habits: "habits";
|
|
714
|
+
"habit-contributions": "habit-contributions";
|
|
715
|
+
focus: "focus";
|
|
716
|
+
"weekly-review": "weekly-review";
|
|
717
|
+
}>>;
|
|
718
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
719
|
+
type: z.ZodLiteral<"style">;
|
|
720
|
+
id: z.ZodEnum<{
|
|
721
|
+
habits: "habits";
|
|
722
|
+
"habit-contributions": "habit-contributions";
|
|
723
|
+
focus: "focus";
|
|
724
|
+
"weekly-review": "weekly-review";
|
|
725
|
+
}>;
|
|
726
|
+
style: z.ZodEnum<{
|
|
727
|
+
glance: "glance";
|
|
728
|
+
act: "act";
|
|
729
|
+
}>;
|
|
730
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
731
|
+
type: z.ZodLiteral<"dismiss">;
|
|
732
|
+
key: z.ZodString;
|
|
733
|
+
}, z.core.$strip>], "type">>;
|
|
734
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
735
|
+
type: z.ZodLiteral<"check-in">;
|
|
736
|
+
habitId: z.ZodString;
|
|
737
|
+
day: z.ZodString;
|
|
738
|
+
checked: z.ZodBoolean;
|
|
739
|
+
timeZone: z.ZodString;
|
|
740
|
+
}, z.core.$strip>], "type">;
|
|
741
|
+
failure: z.ZodOptional<z.ZodString>;
|
|
742
|
+
}, z.core.$strip>>;
|
|
743
|
+
faces: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
744
|
+
face: z.ZodEnum<{
|
|
745
|
+
glance: "glance";
|
|
746
|
+
act: "act";
|
|
747
|
+
}>;
|
|
748
|
+
defaultStyle: z.ZodEnum<{
|
|
749
|
+
glance: "glance";
|
|
750
|
+
act: "act";
|
|
751
|
+
}>;
|
|
752
|
+
}, z.core.$strip>>;
|
|
753
|
+
}, z.core.$strip>;
|
|
754
|
+
export type CardStoreRecord = z.infer<typeof CardStoreRecordSchema>;
|
|
755
|
+
export declare function applyStudioCommand(snapshot: StudioSnapshot, command: StudioCommand): StudioSnapshot;
|
|
756
|
+
//# sourceMappingURL=cardStudio.d.ts.map
|