@opencorelabs/lucidity 0.9.5 → 0.9.6
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 +46 -5
- package/bin/lucidity.js +9 -1
- package/dist/agentControls.d.ts +3 -3
- package/dist/agentControls.d.ts.map +1 -1
- package/dist/agentControls.js +9 -6
- package/dist/assets/speech/lucidity-speech +0 -0
- package/dist/automations/agent.d.ts.map +1 -1
- package/dist/automations/agent.js +8 -3
- package/dist/automations/githubIssues.d.ts +25 -0
- package/dist/automations/githubIssues.d.ts.map +1 -0
- package/dist/automations/githubIssues.js +48 -0
- package/dist/automations/service.d.ts +4 -0
- package/dist/automations/service.d.ts.map +1 -1
- package/dist/automations/service.js +24 -3
- package/dist/automations/skill.d.ts +1 -1
- package/dist/automations/skill.d.ts.map +1 -1
- package/dist/automations/skill.js +3 -25
- package/dist/automations/workflowCrash.integration.d.ts +2 -0
- package/dist/automations/workflowCrash.integration.d.ts.map +1 -0
- package/dist/automations/workflowCrash.integration.js +78 -0
- package/dist/chat/server.d.ts +18 -0
- package/dist/chat/server.d.ts.map +1 -1
- package/dist/chat/server.js +203 -84
- package/dist/coding/agentMessages.d.ts +37 -0
- package/dist/coding/agentMessages.d.ts.map +1 -0
- package/dist/coding/agentMessages.js +220 -0
- package/dist/coding/agentSettings.d.ts +9 -0
- package/dist/coding/agentSettings.d.ts.map +1 -0
- package/dist/coding/agentSettings.js +22 -0
- package/dist/coding/fileContext.d.ts +4 -0
- package/dist/coding/fileContext.d.ts.map +1 -0
- package/dist/coding/fileContext.js +61 -0
- package/dist/coding/listPrs.d.ts +4 -0
- package/dist/coding/listPrs.d.ts.map +1 -1
- package/dist/coding/listPrs.js +1 -1
- package/dist/coding/lucidRouting.d.ts +67 -0
- package/dist/coding/lucidRouting.d.ts.map +1 -0
- package/dist/coding/lucidRouting.js +216 -0
- package/dist/coding/overviewSources.d.ts +52 -0
- package/dist/coding/overviewSources.d.ts.map +1 -0
- package/dist/coding/overviewSources.js +78 -0
- package/dist/coding/progress.d.ts +27 -0
- package/dist/coding/progress.d.ts.map +1 -0
- package/dist/coding/progress.js +152 -0
- package/dist/coding/repositoryRequests.d.ts +38 -0
- package/dist/coding/repositoryRequests.d.ts.map +1 -0
- package/dist/coding/repositoryRequests.js +137 -0
- package/dist/coding/runCodeTurn.d.ts +25 -8
- package/dist/coding/runCodeTurn.d.ts.map +1 -1
- package/dist/coding/runCodeTurn.js +93 -77
- package/dist/coding/workspaceOverview.d.ts +106 -0
- package/dist/coding/workspaceOverview.d.ts.map +1 -0
- package/dist/coding/workspaceOverview.js +96 -0
- package/dist/coding/workspaceRegistry.d.ts +230 -4
- package/dist/coding/workspaceRegistry.d.ts.map +1 -1
- package/dist/coding/workspaceRegistry.js +827 -37
- package/dist/coding/workspaceTitle.d.ts +14 -0
- package/dist/coding/workspaceTitle.d.ts.map +1 -0
- package/dist/coding/workspaceTitle.js +8 -0
- package/dist/coding/worktree.d.ts +1 -1
- package/dist/coding/worktree.d.ts.map +1 -1
- package/dist/coding/worktree.js +3 -2
- package/dist/coding/worktreeSetup.d.ts +1 -1
- package/dist/coding/worktreeSetup.d.ts.map +1 -1
- package/dist/coding/worktreeSetup.js +43 -10
- package/dist/config.d.ts +5 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +38 -3
- package/dist/editor/existingWorkspace.d.ts +3 -0
- package/dist/editor/existingWorkspace.d.ts.map +1 -0
- package/dist/editor/existingWorkspace.js +19 -0
- package/dist/editor/fileActions.d.ts +26 -0
- package/dist/editor/fileActions.d.ts.map +1 -0
- package/dist/editor/fileActions.js +134 -0
- package/dist/editor/files.d.ts +27 -0
- package/dist/editor/files.d.ts.map +1 -0
- package/dist/editor/files.js +279 -0
- package/dist/editor/gitActions.d.ts +18 -0
- package/dist/editor/gitActions.d.ts.map +1 -0
- package/dist/editor/gitActions.js +140 -0
- package/dist/editor/localEndpoint.d.ts +4 -0
- package/dist/editor/localEndpoint.d.ts.map +1 -0
- package/dist/editor/localEndpoint.js +35 -0
- package/dist/editor/service.d.ts +28 -0
- package/dist/editor/service.d.ts.map +1 -0
- package/dist/editor/service.js +101 -0
- package/dist/editor/shellCommands.d.ts +21 -0
- package/dist/editor/shellCommands.d.ts.map +1 -0
- package/dist/editor/shellCommands.js +165 -0
- package/dist/editor/terminals.d.ts +34 -0
- package/dist/editor/terminals.d.ts.map +1 -0
- package/dist/editor/terminals.js +161 -0
- package/dist/editor/types.d.ts +37 -0
- package/dist/editor/types.d.ts.map +1 -0
- package/dist/editor/types.js +1 -0
- package/dist/files/store.d.ts +13 -0
- package/dist/files/store.d.ts.map +1 -0
- package/dist/files/store.js +150 -0
- package/dist/goals/assessment.d.ts +6 -6
- package/dist/index.js +232 -56
- package/dist/install.d.ts +7 -0
- package/dist/install.d.ts.map +1 -1
- package/dist/install.js +5 -2
- package/dist/jobs/briefing.d.ts +1 -1
- package/dist/jobs/briefing.d.ts.map +1 -1
- package/dist/jobs/briefing.js +16 -33
- package/dist/jobs/extraction.d.ts +2 -1
- package/dist/jobs/extraction.d.ts.map +1 -1
- package/dist/jobs/extraction.js +2 -2
- package/dist/jobs/fastModeReview.d.ts +3 -1
- package/dist/jobs/fastModeReview.d.ts.map +1 -1
- package/dist/jobs/fastModeReview.js +20 -11
- package/dist/jobs/voiceReview.js +4 -4
- package/dist/jobs/weeklyReview.d.ts +1 -1
- package/dist/jobs/weeklyReview.d.ts.map +1 -1
- package/dist/jobs/weeklyReview.js +2 -5
- package/dist/lucidInvocations.d.ts +44 -0
- package/dist/lucidInvocations.d.ts.map +1 -0
- package/dist/lucidInvocations.js +164 -0
- package/dist/mcp/config.d.ts +8 -2
- package/dist/mcp/config.d.ts.map +1 -1
- package/dist/mcp/config.js +52 -10
- package/dist/mcp/paired.js +1 -0
- package/dist/providerFallbackContext.d.ts +5 -0
- package/dist/providerFallbackContext.d.ts.map +1 -0
- package/dist/providerFallbackContext.js +58 -0
- package/dist/providerRecovery.d.ts +18 -1
- package/dist/providerRecovery.d.ts.map +1 -1
- package/dist/providerRecovery.js +3 -1
- package/dist/providerRoles.d.ts +9 -0
- package/dist/providerRoles.d.ts.map +1 -0
- package/dist/providerRoles.js +25 -0
- package/dist/recall/command.d.ts +139 -0
- package/dist/recall/command.d.ts.map +1 -0
- package/dist/recall/command.js +35 -0
- package/dist/recall/context.d.ts +5 -0
- package/dist/recall/context.d.ts.map +1 -0
- package/dist/recall/context.js +66 -0
- package/dist/recall/conversations.d.ts +182 -0
- package/dist/recall/conversations.d.ts.map +1 -0
- package/dist/recall/conversations.js +58 -0
- package/dist/recall/documents.d.ts +76 -0
- package/dist/recall/documents.d.ts.map +1 -0
- package/dist/recall/documents.js +32 -0
- package/dist/recall/evaluation.d.ts +77 -0
- package/dist/recall/evaluation.d.ts.map +1 -0
- package/dist/recall/evaluation.js +88 -0
- package/dist/recall/factory.d.ts +6 -0
- package/dist/recall/factory.d.ts.map +1 -0
- package/dist/recall/factory.js +20 -0
- package/dist/recall/index.d.ts +13 -0
- package/dist/recall/index.d.ts.map +1 -0
- package/dist/recall/index.js +92 -0
- package/dist/recall/memories.d.ts +16 -0
- package/dist/recall/memories.d.ts.map +1 -0
- package/dist/recall/memories.js +136 -0
- package/dist/recall/memorySelection.d.ts +4 -0
- package/dist/recall/memorySelection.d.ts.map +1 -0
- package/dist/recall/memorySelection.js +16 -0
- package/dist/recall/memoryService.d.ts +22 -0
- package/dist/recall/memoryService.d.ts.map +1 -0
- package/dist/recall/memoryService.js +171 -0
- package/dist/recall/personal.d.ts +127 -0
- package/dist/recall/personal.d.ts.map +1 -0
- package/dist/recall/personal.js +125 -0
- package/dist/recall/projects.d.ts +67 -0
- package/dist/recall/projects.d.ts.map +1 -0
- package/dist/recall/projects.js +117 -0
- package/dist/recall/query.d.ts +5 -0
- package/dist/recall/query.d.ts.map +1 -0
- package/dist/recall/query.js +17 -0
- package/dist/recall/semanticEvaluation.d.ts +2 -0
- package/dist/recall/semanticEvaluation.d.ts.map +1 -0
- package/dist/recall/semanticEvaluation.js +123 -0
- package/dist/recall/service.d.ts +62 -0
- package/dist/recall/service.d.ts.map +1 -0
- package/dist/recall/service.js +94 -0
- package/dist/room/client.d.ts +41 -0
- package/dist/room/client.d.ts.map +1 -1
- package/dist/room/client.js +224 -25
- package/dist/room/codingActivity.d.ts +21 -0
- package/dist/room/codingActivity.d.ts.map +1 -0
- package/dist/room/codingActivity.js +86 -0
- package/dist/room/computer.d.ts.map +1 -1
- package/dist/room/computer.js +19 -3
- package/dist/room/context.d.ts +3 -2
- package/dist/room/context.d.ts.map +1 -1
- package/dist/room/context.js +5 -4
- package/dist/room/desktop-live.integration.d.ts +2 -0
- package/dist/room/desktop-live.integration.d.ts.map +1 -0
- package/dist/room/desktop-live.integration.js +219 -0
- package/dist/room/turnQueue.d.ts +24 -2
- package/dist/room/turnQueue.d.ts.map +1 -1
- package/dist/room/turnQueue.js +96 -30
- package/dist/runtimeStore.d.ts +17 -0
- package/dist/runtimeStore.d.ts.map +1 -1
- package/dist/runtimeStore.js +33 -4
- package/dist/setup/page.d.ts +1 -1
- package/dist/setup/page.d.ts.map +1 -1
- package/dist/setup/page.js +15 -2
- package/dist/setup/server.d.ts +5 -1
- package/dist/setup/server.d.ts.map +1 -1
- package/dist/setup/server.js +37 -13
- package/dist/skills/install.d.ts +8 -0
- package/dist/skills/install.d.ts.map +1 -0
- package/dist/skills/install.js +82 -0
- package/dist/skills/lucidity/SKILL.md +65 -0
- package/dist/skills/lucidity-task-handoff/SKILL.md +122 -0
- package/dist/speech/captures.d.ts +4 -0
- package/dist/speech/captures.d.ts.map +1 -1
- package/dist/speech/captures.js +53 -41
- package/dist/updateCli.d.ts +2 -0
- package/dist/updateCli.d.ts.map +1 -0
- package/dist/updateCli.js +40 -0
- package/dist/updateService.d.ts +3 -0
- package/dist/updateService.d.ts.map +1 -0
- package/dist/updateService.js +23 -0
- package/dist/updates/admission.d.ts +23 -0
- package/dist/updates/admission.d.ts.map +1 -0
- package/dist/updates/admission.js +76 -0
- package/dist/updates/bootstrap.d.ts +23 -0
- package/dist/updates/bootstrap.d.ts.map +1 -0
- package/dist/updates/bootstrap.js +95 -0
- package/dist/updates/bootstrapConfig.d.ts +34 -0
- package/dist/updates/bootstrapConfig.d.ts.map +1 -0
- package/dist/updates/bootstrapConfig.js +35 -0
- package/dist/updates/connection.d.ts +20 -0
- package/dist/updates/connection.d.ts.map +1 -0
- package/dist/updates/connection.js +111 -0
- package/dist/updates/developmentAdmission.d.ts +29 -0
- package/dist/updates/developmentAdmission.d.ts.map +1 -0
- package/dist/updates/developmentAdmission.js +73 -0
- package/dist/updates/developmentCli.d.ts +2 -0
- package/dist/updates/developmentCli.d.ts.map +1 -0
- package/dist/updates/developmentCli.js +61 -0
- package/dist/updates/developmentRefresh.d.ts +73 -0
- package/dist/updates/developmentRefresh.d.ts.map +1 -0
- package/dist/updates/developmentRefresh.js +157 -0
- package/dist/updates/developmentService.d.ts +13 -0
- package/dist/updates/developmentService.d.ts.map +1 -0
- package/dist/updates/developmentService.js +217 -0
- package/dist/updates/download.d.ts +7 -0
- package/dist/updates/download.d.ts.map +1 -0
- package/dist/updates/download.js +52 -0
- package/dist/updates/feed.d.ts +7 -0
- package/dist/updates/feed.d.ts.map +1 -0
- package/dist/updates/feed.js +37 -0
- package/dist/updates/installService.d.ts +3 -0
- package/dist/updates/installService.d.ts.map +1 -0
- package/dist/updates/installService.js +78 -0
- package/dist/updates/installationReferences.d.ts +17 -0
- package/dist/updates/installationReferences.d.ts.map +1 -0
- package/dist/updates/installationReferences.js +104 -0
- package/dist/updates/installationStore.d.ts +49 -0
- package/dist/updates/installationStore.d.ts.map +1 -0
- package/dist/updates/installationStore.js +237 -0
- package/dist/updates/installer.d.ts +29 -0
- package/dist/updates/installer.d.ts.map +1 -0
- package/dist/updates/installer.js +205 -0
- package/dist/updates/journal.d.ts +228 -0
- package/dist/updates/journal.d.ts.map +1 -0
- package/dist/updates/journal.js +249 -0
- package/dist/updates/managedLifecycle.d.ts +26 -0
- package/dist/updates/managedLifecycle.d.ts.map +1 -0
- package/dist/updates/managedLifecycle.js +60 -0
- package/dist/updates/migrateService.d.ts +2 -0
- package/dist/updates/migrateService.d.ts.map +1 -0
- package/dist/updates/migrateService.js +44 -0
- package/dist/updates/migration.d.ts +15 -0
- package/dist/updates/migration.d.ts.map +1 -0
- package/dist/updates/migration.js +108 -0
- package/dist/updates/processControl.d.ts +47 -0
- package/dist/updates/processControl.d.ts.map +1 -0
- package/dist/updates/processControl.js +98 -0
- package/dist/updates/processHost.d.ts +52 -0
- package/dist/updates/processHost.d.ts.map +1 -0
- package/dist/updates/processHost.js +165 -0
- package/dist/updates/registerService.d.ts +4 -0
- package/dist/updates/registerService.d.ts.map +1 -0
- package/dist/updates/registerService.js +34 -0
- package/dist/updates/releases.d.ts +84 -0
- package/dist/updates/releases.d.ts.map +1 -0
- package/dist/updates/releases.js +51 -0
- package/dist/updates/retention.d.ts +32 -0
- package/dist/updates/retention.d.ts.map +1 -0
- package/dist/updates/retention.js +188 -0
- package/dist/updates/runner.d.ts +6 -0
- package/dist/updates/runner.d.ts.map +1 -0
- package/dist/updates/runner.js +117 -0
- package/dist/updates/service.d.ts +53 -0
- package/dist/updates/service.d.ts.map +1 -0
- package/dist/updates/service.js +268 -0
- package/dist/updates/servicePlan.d.ts +29 -0
- package/dist/updates/servicePlan.d.ts.map +1 -0
- package/dist/updates/servicePlan.js +58 -0
- package/dist/updates/signCatalog.d.ts +10 -0
- package/dist/updates/signCatalog.d.ts.map +1 -0
- package/dist/updates/signCatalog.js +44 -0
- package/dist/updates/supervisor.d.ts +27 -0
- package/dist/updates/supervisor.d.ts.map +1 -0
- package/dist/updates/supervisor.js +137 -0
- package/dist/updates/windowsService.d.ts +12 -0
- package/dist/updates/windowsService.d.ts.map +1 -0
- package/dist/updates/windowsService.js +51 -0
- package/dist/video/context.d.ts +4 -0
- package/dist/video/context.d.ts.map +1 -0
- package/dist/video/context.js +74 -0
- package/dist/video/store.d.ts +22 -0
- package/dist/video/store.d.ts.map +1 -0
- package/dist/video/store.js +184 -0
- package/npm-shrinkwrap.json +1792 -0
- package/package.json +4 -1
- package/src/agentControls.ts +11 -7
- package/src/automations/agent.ts +11 -2
- package/src/automations/githubIssues.ts +63 -0
- package/src/automations/service.ts +25 -3
- package/src/automations/skill.ts +5 -37
- package/src/automations/workflowCrash.integration.ts +70 -0
- package/src/chat/server.ts +162 -89
- package/src/coding/agentMessages.ts +217 -0
- package/src/coding/agentSettings.ts +22 -0
- package/src/coding/fileContext.ts +72 -0
- package/src/coding/listPrs.ts +1 -1
- package/src/coding/lucidRouting.ts +211 -0
- package/src/coding/overviewSources.ts +86 -0
- package/src/coding/progress.ts +146 -0
- package/src/coding/repositoryRequests.ts +117 -0
- package/src/coding/runCodeTurn.ts +106 -92
- package/src/coding/workspaceOverview.ts +99 -0
- package/src/coding/workspaceRegistry.ts +762 -39
- package/src/coding/workspaceTitle.ts +10 -0
- package/src/coding/worktree.ts +3 -2
- package/src/coding/worktreeSetup.ts +33 -10
- package/src/config.ts +37 -2
- package/src/editor/existingWorkspace.ts +17 -0
- package/src/editor/fileActions.ts +162 -0
- package/src/editor/files.ts +276 -0
- package/src/editor/gitActions.ts +150 -0
- package/src/editor/localEndpoint.ts +28 -0
- package/src/editor/service.ts +93 -0
- package/src/editor/shellCommands.ts +132 -0
- package/src/editor/terminals.ts +129 -0
- package/src/editor/types.ts +32 -0
- package/src/files/store.ts +131 -0
- package/src/index.ts +224 -50
- package/src/install.ts +4 -2
- package/src/jobs/briefing.ts +18 -29
- package/src/jobs/extraction.ts +5 -4
- package/src/jobs/fastModeReview.ts +22 -11
- package/src/jobs/voiceReview.ts +4 -4
- package/src/jobs/weeklyReview.ts +2 -4
- package/src/lucidInvocations.ts +152 -0
- package/src/mcp/config.ts +48 -10
- package/src/mcp/paired.ts +1 -0
- package/src/providerFallbackContext.ts +48 -0
- package/src/providerRecovery.ts +3 -1
- package/src/providerRoles.ts +35 -0
- package/src/recall/command.ts +42 -0
- package/src/recall/context.ts +64 -0
- package/src/recall/conversations.ts +53 -0
- package/src/recall/documents.ts +32 -0
- package/src/recall/evaluation.ts +89 -0
- package/src/recall/factory.ts +21 -0
- package/src/recall/index.ts +87 -0
- package/src/recall/memories.ts +123 -0
- package/src/recall/memorySelection.ts +17 -0
- package/src/recall/memoryService.ts +138 -0
- package/src/recall/personal.ts +97 -0
- package/src/recall/projects.ts +98 -0
- package/src/recall/query.ts +21 -0
- package/src/recall/semanticEvaluation.ts +101 -0
- package/src/recall/service.ts +85 -0
- package/src/room/client.ts +238 -31
- package/src/room/codingActivity.ts +70 -0
- package/src/room/computer.ts +19 -3
- package/src/room/context.ts +7 -2
- package/src/room/desktop-live.integration.ts +203 -0
- package/src/room/turnQueue.ts +91 -34
- package/src/runtimeStore.ts +36 -4
- package/src/setup/page.ts +15 -2
- package/src/setup/server.ts +28 -5
- package/src/skills/install.ts +65 -0
- package/src/speech/captures.ts +56 -44
- package/src/updateCli.ts +37 -0
- package/src/updateService.ts +21 -0
- package/src/updates/admission.ts +70 -0
- package/src/updates/bootstrap.ts +77 -0
- package/src/updates/bootstrapConfig.ts +29 -0
- package/src/updates/connection.ts +84 -0
- package/src/updates/developmentAdmission.ts +56 -0
- package/src/updates/developmentCli.ts +47 -0
- package/src/updates/developmentRefresh.ts +130 -0
- package/src/updates/developmentService.ts +170 -0
- package/src/updates/download.ts +53 -0
- package/src/updates/feed.ts +34 -0
- package/src/updates/installService.ts +67 -0
- package/src/updates/installationReferences.ts +87 -0
- package/src/updates/installationStore.ts +196 -0
- package/src/updates/installer.ts +203 -0
- package/src/updates/journal.ts +250 -0
- package/src/updates/managedLifecycle.ts +64 -0
- package/src/updates/migrateService.ts +33 -0
- package/src/updates/migration.ts +92 -0
- package/src/updates/processControl.ts +96 -0
- package/src/updates/processHost.ts +159 -0
- package/src/updates/registerService.ts +27 -0
- package/src/updates/releases.ts +53 -0
- package/src/updates/retention.ts +154 -0
- package/src/updates/runner.ts +104 -0
- package/src/updates/service.ts +241 -0
- package/src/updates/servicePlan.ts +63 -0
- package/src/updates/signCatalog.ts +40 -0
- package/src/updates/supervisor.ts +114 -0
- package/src/updates/windowsService.ts +54 -0
- package/src/video/context.ts +101 -0
- package/src/video/store.ts +250 -0
- package/vendor/decisions/dist/followup.d.ts +14 -0
- package/vendor/decisions/dist/followup.js +86 -0
- package/vendor/decisions/dist/index.d.ts +3 -0
- package/vendor/decisions/dist/index.js +3 -0
- package/vendor/decisions/dist/repositoryReplay.d.ts +103 -0
- package/vendor/decisions/dist/repositoryReplay.js +177 -0
- package/vendor/decisions/dist/repositoryRouting.d.ts +21 -0
- package/vendor/decisions/dist/repositoryRouting.js +125 -0
- package/vendor/decisions/src/followup.ts +129 -0
- package/vendor/decisions/src/index.ts +3 -0
- package/vendor/decisions/src/repositoryReplay.ts +312 -0
- package/vendor/decisions/src/repositoryRouting.ts +167 -0
- package/vendor/mcp-server/README.md +6 -0
- package/vendor/mcp-server/dist/index.js +21 -7
- package/vendor/mcp-server/dist/localDaemon.d.ts +4 -0
- package/vendor/mcp-server/dist/localDaemon.d.ts.map +1 -0
- package/vendor/mcp-server/dist/localDaemon.js +41 -0
- package/vendor/mcp-server/dist/tools/agents.d.ts +3 -0
- package/vendor/mcp-server/dist/tools/agents.d.ts.map +1 -0
- package/vendor/mcp-server/dist/tools/agents.js +60 -0
- package/vendor/mcp-server/dist/tools/artifacts.d.ts +3 -0
- package/vendor/mcp-server/dist/tools/artifacts.d.ts.map +1 -0
- package/vendor/mcp-server/dist/tools/artifacts.js +22 -0
- package/vendor/mcp-server/dist/tools/automations.d.ts.map +1 -1
- package/vendor/mcp-server/dist/tools/automations.js +7 -32
- package/vendor/mcp-server/dist/tools/commandEventFormat.d.ts +1 -1
- package/vendor/mcp-server/dist/tools/commandEventFormat.js +2 -2
- package/vendor/mcp-server/dist/tools/commandEvents.js +1 -1
- package/vendor/mcp-server/dist/tools/comments.d.ts.map +1 -1
- package/vendor/mcp-server/dist/tools/comments.js +5 -1
- package/vendor/mcp-server/dist/tools/journal.d.ts.map +1 -1
- package/vendor/mcp-server/dist/tools/journal.js +1 -0
- package/vendor/mcp-server/dist/tools/memory.d.ts +0 -10
- package/vendor/mcp-server/dist/tools/memory.d.ts.map +1 -1
- package/vendor/mcp-server/dist/tools/memory.js +28 -102
- package/vendor/mcp-server/dist/tools/notes.d.ts.map +1 -1
- package/vendor/mcp-server/dist/tools/notes.js +38 -4
- package/vendor/mcp-server/dist/tools/recall.d.ts +6 -0
- package/vendor/mcp-server/dist/tools/recall.d.ts.map +1 -0
- package/vendor/mcp-server/dist/tools/recall.js +78 -0
- package/vendor/mcp-server/dist/tools/summary.d.ts +3 -0
- package/vendor/mcp-server/dist/tools/summary.d.ts.map +1 -0
- package/vendor/mcp-server/dist/tools/summary.js +22 -0
- package/vendor/mcp-server/dist/tools/taskSheet.d.ts +3 -0
- package/vendor/mcp-server/dist/tools/taskSheet.d.ts.map +1 -0
- package/vendor/mcp-server/dist/tools/taskSheet.js +32 -0
- package/vendor/mcp-server/dist/tools/tasks.d.ts.map +1 -1
- package/vendor/mcp-server/dist/tools/tasks.js +117 -24
- package/vendor/mcp-server/dist/tools/worktrees.d.ts +3 -0
- package/vendor/mcp-server/dist/tools/worktrees.d.ts.map +1 -0
- package/vendor/mcp-server/dist/tools/worktrees.js +51 -0
- package/vendor/mcp-server/package.json +1 -1
- package/vendor/mcp-server/src/index.ts +17 -7
- package/vendor/mcp-server/src/localDaemon.ts +56 -0
- package/vendor/mcp-server/src/tools/agents.ts +78 -0
- package/vendor/mcp-server/src/tools/artifacts.ts +26 -0
- package/vendor/mcp-server/src/tools/automations.ts +7 -47
- package/vendor/mcp-server/src/tools/commandEventFormat.ts +2 -2
- package/vendor/mcp-server/src/tools/commandEvents.ts +1 -1
- package/vendor/mcp-server/src/tools/comments.ts +4 -1
- package/vendor/mcp-server/src/tools/journal.ts +1 -0
- package/vendor/mcp-server/src/tools/memory.ts +37 -130
- package/vendor/mcp-server/src/tools/notes.ts +35 -5
- package/vendor/mcp-server/src/tools/recall.ts +89 -0
- package/vendor/mcp-server/src/tools/summary.ts +30 -0
- package/vendor/mcp-server/src/tools/taskSheet.ts +60 -0
- package/vendor/mcp-server/src/tools/tasks.ts +125 -24
- package/vendor/mcp-server/src/tools/worktrees.ts +61 -0
- package/vendor/notes/dist/artifacts.d.ts +8 -0
- package/vendor/notes/dist/artifacts.d.ts.map +1 -0
- package/vendor/notes/dist/artifacts.js +105 -0
- package/vendor/notes/dist/index.d.ts +1 -0
- package/vendor/notes/dist/index.d.ts.map +1 -1
- package/vendor/notes/dist/index.js +1 -0
- package/vendor/notes/dist/vault.d.ts.map +1 -1
- package/vendor/notes/dist/vault.js +2 -0
- package/vendor/notes/src/artifacts.ts +100 -0
- package/vendor/notes/src/index.ts +2 -0
- package/vendor/notes/src/vault.ts +1 -0
- package/vendor/runtime/README.md +8 -0
- package/vendor/runtime/dist/executor/claudeAgent.d.ts +18 -1
- package/vendor/runtime/dist/executor/claudeAgent.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/claudeAgent.js +157 -39
- package/vendor/runtime/dist/executor/claudeCode.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/claudeCode.js +19 -2
- package/vendor/runtime/dist/executor/claudeSession.d.ts +32 -0
- package/vendor/runtime/dist/executor/claudeSession.d.ts.map +1 -0
- package/vendor/runtime/dist/executor/claudeSession.js +154 -0
- package/vendor/runtime/dist/executor/codex.d.ts +18 -2
- package/vendor/runtime/dist/executor/codex.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codex.js +134 -18
- package/vendor/runtime/dist/executor/codexSessions.d.ts +5 -10
- package/vendor/runtime/dist/executor/codexSessions.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codexSessions.js +12 -78
- package/vendor/runtime/dist/executor/fallback.d.ts +27 -0
- package/vendor/runtime/dist/executor/fallback.d.ts.map +1 -0
- package/vendor/runtime/dist/executor/fallback.js +45 -0
- package/vendor/runtime/dist/executor/health.d.ts +19 -1
- package/vendor/runtime/dist/executor/health.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/health.js +19 -2
- package/vendor/runtime/dist/executor/integrations.d.ts +4 -0
- package/vendor/runtime/dist/executor/integrations.d.ts.map +1 -0
- package/vendor/runtime/dist/executor/integrations.js +5 -0
- package/vendor/runtime/dist/executor/liveTurns.d.ts +2 -2
- package/vendor/runtime/dist/executor/liveTurns.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/liveTurns.js +3 -3
- package/vendor/runtime/dist/executor/ownership.d.ts +18 -1
- package/vendor/runtime/dist/executor/ownership.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/ownership.js +3 -1
- package/vendor/runtime/dist/executor/providerRouter.d.ts +13 -0
- package/vendor/runtime/dist/executor/providerRouter.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/providerRouter.js +91 -5
- package/vendor/runtime/dist/executor/sessionRetention.d.ts +34 -0
- package/vendor/runtime/dist/executor/sessionRetention.d.ts.map +1 -0
- package/vendor/runtime/dist/executor/sessionRetention.js +126 -0
- package/vendor/runtime/dist/executor/types.d.ts +30 -7
- package/vendor/runtime/dist/executor/types.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/usage.d.ts +5 -0
- package/vendor/runtime/dist/executor/usage.d.ts.map +1 -0
- package/vendor/runtime/dist/executor/usage.js +56 -0
- package/vendor/runtime/dist/harness/index.d.ts.map +1 -1
- package/vendor/runtime/dist/harness/index.js +2 -5
- package/vendor/runtime/dist/harness/types.d.ts +3 -1
- package/vendor/runtime/dist/harness/types.d.ts.map +1 -1
- package/vendor/runtime/dist/index.d.ts +6 -1
- package/vendor/runtime/dist/index.d.ts.map +1 -1
- package/vendor/runtime/dist/index.js +3 -0
- package/vendor/runtime/dist/prompts/recall.d.ts +15 -0
- package/vendor/runtime/dist/prompts/recall.d.ts.map +1 -0
- package/vendor/runtime/dist/prompts/recall.js +71 -0
- package/vendor/runtime/src/executor/claudeAgent.ts +149 -37
- package/vendor/runtime/src/executor/claudeCode.ts +17 -3
- package/vendor/runtime/src/executor/claudeSession.ts +180 -0
- package/vendor/runtime/src/executor/codex.ts +136 -21
- package/vendor/runtime/src/executor/codexSessions.ts +18 -82
- package/vendor/runtime/src/executor/fallback.ts +63 -0
- package/vendor/runtime/src/executor/health.ts +16 -2
- package/vendor/runtime/src/executor/integrations.ts +7 -0
- package/vendor/runtime/src/executor/liveTurns.ts +5 -5
- package/vendor/runtime/src/executor/ownership.ts +3 -1
- package/vendor/runtime/src/executor/providerRouter.ts +85 -4
- package/vendor/runtime/src/executor/sessionRetention.ts +166 -0
- package/vendor/runtime/src/executor/types.ts +27 -7
- package/vendor/runtime/src/executor/usage.ts +58 -0
- package/vendor/runtime/src/harness/index.ts +2 -5
- package/vendor/runtime/src/harness/types.ts +3 -1
- package/vendor/runtime/src/index.ts +7 -1
- package/vendor/runtime/src/prompts/recall.ts +72 -0
- package/vendor/shared/dist/accountDevices.d.ts +62 -0
- package/vendor/shared/dist/accountDevices.d.ts.map +1 -0
- package/vendor/shared/dist/accountDevices.js +25 -0
- package/vendor/shared/dist/activityRecovery.d.ts +37 -0
- package/vendor/shared/dist/activityRecovery.d.ts.map +1 -0
- package/vendor/shared/dist/activityRecovery.js +39 -0
- package/vendor/shared/dist/agentMessages.d.ts +187 -0
- package/vendor/shared/dist/agentMessages.d.ts.map +1 -0
- package/vendor/shared/dist/agentMessages.js +70 -0
- package/vendor/shared/dist/aiUsage.d.ts +30 -0
- package/vendor/shared/dist/aiUsage.d.ts.map +1 -0
- package/vendor/shared/dist/aiUsage.js +14 -0
- package/vendor/shared/dist/artifacts.d.ts +28 -0
- package/vendor/shared/dist/artifacts.d.ts.map +1 -0
- package/vendor/shared/dist/artifacts.js +47 -0
- package/vendor/shared/dist/automationTemplates.d.ts.map +1 -1
- package/vendor/shared/dist/automationTemplates.js +1 -0
- package/vendor/shared/dist/automations.d.ts +61 -14
- package/vendor/shared/dist/automations.d.ts.map +1 -1
- package/vendor/shared/dist/automations.js +10 -3
- package/vendor/shared/dist/cardStudio.d.ts +31 -31
- package/vendor/shared/dist/chatActivity.d.ts +17 -0
- package/vendor/shared/dist/chatActivity.d.ts.map +1 -0
- package/vendor/shared/dist/chatActivity.js +47 -0
- package/vendor/shared/dist/codingActivity.d.ts +60 -0
- package/vendor/shared/dist/codingActivity.d.ts.map +1 -0
- package/vendor/shared/dist/codingActivity.js +33 -0
- package/vendor/shared/dist/commandLocal.d.ts +1 -1
- package/vendor/shared/dist/commandLocal.d.ts.map +1 -1
- package/vendor/shared/dist/commands.d.ts +32 -32
- package/vendor/shared/dist/commands.d.ts.map +1 -1
- package/vendor/shared/dist/commands.js +1 -1
- package/vendor/shared/dist/commentMentions.d.ts +20 -0
- package/vendor/shared/dist/commentMentions.d.ts.map +1 -0
- package/vendor/shared/dist/commentMentions.js +14 -0
- package/vendor/shared/dist/computer.d.ts +48 -8
- package/vendor/shared/dist/computer.d.ts.map +1 -1
- package/vendor/shared/dist/computer.js +25 -0
- package/vendor/shared/dist/constants.d.ts +1 -1
- package/vendor/shared/dist/constants.d.ts.map +1 -1
- package/vendor/shared/dist/constants.js +5 -0
- package/vendor/shared/dist/daemonUpdates.d.ts +123 -0
- package/vendor/shared/dist/daemonUpdates.d.ts.map +1 -0
- package/vendor/shared/dist/daemonUpdates.js +106 -0
- package/vendor/shared/dist/deviceInteraction.d.ts +23 -0
- package/vendor/shared/dist/deviceInteraction.d.ts.map +1 -0
- package/vendor/shared/dist/deviceInteraction.js +32 -0
- package/vendor/shared/dist/doctor.d.ts +50 -0
- package/vendor/shared/dist/doctor.d.ts.map +1 -0
- package/vendor/shared/dist/doctor.js +15 -0
- package/vendor/shared/dist/fileUploads.d.ts +39 -0
- package/vendor/shared/dist/fileUploads.d.ts.map +1 -0
- package/vendor/shared/dist/fileUploads.js +24 -0
- package/vendor/shared/dist/files.d.ts +11 -0
- package/vendor/shared/dist/files.d.ts.map +1 -0
- package/vendor/shared/dist/files.js +19 -0
- package/vendor/shared/dist/githubContributions.d.ts +1 -1
- package/vendor/shared/dist/goals.d.ts +7 -7
- package/vendor/shared/dist/index.d.ts +29 -2
- package/vendor/shared/dist/index.d.ts.map +1 -1
- package/vendor/shared/dist/index.js +26 -1
- package/vendor/shared/dist/lucidFollowups.d.ts +95 -0
- package/vendor/shared/dist/lucidFollowups.d.ts.map +1 -0
- package/vendor/shared/dist/lucidFollowups.js +45 -0
- package/vendor/shared/dist/lucidInvocations.d.ts +82 -0
- package/vendor/shared/dist/lucidInvocations.d.ts.map +1 -0
- package/vendor/shared/dist/lucidInvocations.js +47 -0
- package/vendor/shared/dist/memory.d.ts +162 -0
- package/vendor/shared/dist/memory.d.ts.map +1 -0
- package/vendor/shared/dist/memory.js +26 -0
- package/vendor/shared/dist/messagingSafety.d.ts +43 -0
- package/vendor/shared/dist/messagingSafety.d.ts.map +1 -1
- package/vendor/shared/dist/messagingSafety.js +6 -0
- package/vendor/shared/dist/recall.d.ts +803 -0
- package/vendor/shared/dist/recall.d.ts.map +1 -0
- package/vendor/shared/dist/recall.js +56 -0
- package/vendor/shared/dist/releaseCompatibility.d.ts +228 -0
- package/vendor/shared/dist/releaseCompatibility.d.ts.map +1 -0
- package/vendor/shared/dist/releaseCompatibility.js +145 -0
- package/vendor/shared/dist/repositoryRequests.d.ts +173 -0
- package/vendor/shared/dist/repositoryRequests.d.ts.map +1 -0
- package/vendor/shared/dist/repositoryRequests.js +38 -0
- package/vendor/shared/dist/repositoryRouting.d.ts +169 -0
- package/vendor/shared/dist/repositoryRouting.d.ts.map +1 -0
- package/vendor/shared/dist/repositoryRouting.js +102 -0
- package/vendor/shared/dist/roomClient.d.ts +107 -0
- package/vendor/shared/dist/roomClient.d.ts.map +1 -0
- package/vendor/shared/dist/roomClient.js +371 -0
- package/vendor/shared/dist/schemas/comment.d.ts +46 -0
- package/vendor/shared/dist/schemas/comment.d.ts.map +1 -1
- package/vendor/shared/dist/schemas/comment.js +10 -0
- package/vendor/shared/dist/schemas/conversation.d.ts +80 -1
- package/vendor/shared/dist/schemas/conversation.d.ts.map +1 -1
- package/vendor/shared/dist/schemas/conversation.js +12 -1
- package/vendor/shared/dist/schemas/harness.d.ts +1631 -17
- package/vendor/shared/dist/schemas/harness.d.ts.map +1 -1
- package/vendor/shared/dist/schemas/harness.js +106 -3
- package/vendor/shared/dist/schemas/notification.d.ts +3 -1
- package/vendor/shared/dist/schemas/notification.d.ts.map +1 -1
- package/vendor/shared/dist/schemas/notification.js +2 -1
- package/vendor/shared/dist/schemas/organization.d.ts +2 -0
- package/vendor/shared/dist/schemas/organization.d.ts.map +1 -1
- package/vendor/shared/dist/schemas/organization.js +2 -0
- package/vendor/shared/dist/schemas/project.d.ts +2 -2
- package/vendor/shared/dist/schemas/request.d.ts +1 -1
- package/vendor/shared/dist/schemas/task.d.ts +1 -1
- package/vendor/shared/dist/smartCapture.js +1 -1
- package/vendor/shared/dist/spokenNames.d.ts +1 -1
- package/vendor/shared/dist/spokenNames.js +1 -1
- package/vendor/shared/dist/taskActivity.d.ts +5 -5
- package/vendor/shared/dist/taskSharing.d.ts +8 -0
- package/vendor/shared/dist/taskSharing.d.ts.map +1 -0
- package/vendor/shared/dist/taskSharing.js +9 -0
- package/vendor/shared/dist/thinking-orb/engine/core.d.ts +31 -0
- package/vendor/shared/dist/thinking-orb/engine/core.d.ts.map +1 -0
- package/vendor/shared/dist/thinking-orb/engine/core.js +62 -0
- package/vendor/shared/dist/thinking-orb/engine/ctx.d.ts +9 -0
- package/vendor/shared/dist/thinking-orb/engine/ctx.d.ts.map +1 -0
- package/vendor/shared/dist/thinking-orb/engine/ctx.js +1 -0
- package/vendor/shared/dist/thinking-orb/engine/lattice.d.ts +5 -0
- package/vendor/shared/dist/thinking-orb/engine/lattice.d.ts.map +1 -0
- package/vendor/shared/dist/thinking-orb/engine/lattice.js +184 -0
- package/vendor/shared/dist/thinking-orb/engine/morph.d.ts +3 -0
- package/vendor/shared/dist/thinking-orb/engine/morph.d.ts.map +1 -0
- package/vendor/shared/dist/thinking-orb/engine/morph.js +117 -0
- package/vendor/shared/dist/thinking-orb/engine/orbits.d.ts +3 -0
- package/vendor/shared/dist/thinking-orb/engine/orbits.d.ts.map +1 -0
- package/vendor/shared/dist/thinking-orb/engine/orbits.js +66 -0
- package/vendor/shared/dist/thinking-orb/engine/profiles.d.ts +8 -0
- package/vendor/shared/dist/thinking-orb/engine/profiles.d.ts.map +1 -0
- package/vendor/shared/dist/thinking-orb/engine/profiles.js +113 -0
- package/vendor/shared/dist/thinking-orb/engine/registry.d.ts +4 -0
- package/vendor/shared/dist/thinking-orb/engine/registry.d.ts.map +1 -0
- package/vendor/shared/dist/thinking-orb/engine/registry.js +14 -0
- package/vendor/shared/dist/thinking-orb/engine/ribbon.d.ts +3 -0
- package/vendor/shared/dist/thinking-orb/engine/ribbon.d.ts.map +1 -0
- package/vendor/shared/dist/thinking-orb/engine/ribbon.js +64 -0
- package/vendor/shared/dist/thinking-orb/engine/types.d.ts +6 -0
- package/vendor/shared/dist/thinking-orb/engine/types.d.ts.map +1 -0
- package/vendor/shared/dist/thinking-orb/engine/types.js +2 -0
- package/vendor/shared/dist/thinking-orb/index.d.ts +7 -0
- package/vendor/shared/dist/thinking-orb/index.d.ts.map +1 -0
- package/vendor/shared/dist/thinking-orb/index.js +2 -0
- package/vendor/shared/dist/thinking-orb/presets.d.ts +12 -0
- package/vendor/shared/dist/thinking-orb/presets.d.ts.map +1 -0
- package/vendor/shared/dist/thinking-orb/presets.js +67 -0
- package/vendor/shared/dist/thinking-orb/types.d.ts +24 -0
- package/vendor/shared/dist/thinking-orb/types.d.ts.map +1 -0
- package/vendor/shared/dist/thinking-orb/types.js +1 -0
- package/vendor/shared/dist/turnTiming.d.ts +13 -0
- package/vendor/shared/dist/turnTiming.d.ts.map +1 -0
- package/vendor/shared/dist/turnTiming.js +18 -0
- package/vendor/shared/dist/types.d.ts +3 -1
- package/vendor/shared/dist/types.d.ts.map +1 -1
- package/vendor/shared/dist/updateControl.d.ts +168 -0
- package/vendor/shared/dist/updateControl.d.ts.map +1 -0
- package/vendor/shared/dist/updateControl.js +43 -0
- package/vendor/shared/dist/videos.d.ts +31 -0
- package/vendor/shared/dist/videos.d.ts.map +1 -0
- package/vendor/shared/dist/videos.js +34 -0
- package/vendor/shared/dist/workspaceIO.d.ts +188 -0
- package/vendor/shared/dist/workspaceIO.d.ts.map +1 -0
- package/vendor/shared/dist/workspaceIO.js +50 -0
- package/vendor/shared/dist/workspaces.d.ts +740 -2
- package/vendor/shared/dist/workspaces.d.ts.map +1 -1
- package/vendor/shared/dist/workspaces.js +108 -2
- package/vendor/shared/package.json +12 -0
- package/vendor/shared/src/accountDevices.ts +28 -0
- package/vendor/shared/src/activityRecovery.ts +42 -0
- package/vendor/shared/src/agentMessages.ts +82 -0
- package/vendor/shared/src/aiUsage.ts +18 -0
- package/vendor/shared/src/artifacts.ts +48 -0
- package/vendor/shared/src/automationTemplates.ts +1 -0
- package/vendor/shared/src/automations.ts +10 -3
- package/vendor/shared/src/chatActivity.ts +56 -0
- package/vendor/shared/src/codingActivity.ts +40 -0
- package/vendor/shared/src/commandLocal.ts +1 -1
- package/vendor/shared/src/commands.ts +1 -1
- package/vendor/shared/src/commentMentions.ts +20 -0
- package/vendor/shared/src/computer.ts +40 -0
- package/vendor/shared/src/constants.ts +5 -0
- package/vendor/shared/src/daemonUpdates.ts +127 -0
- package/vendor/shared/src/deviceInteraction.ts +35 -0
- package/vendor/shared/src/doctor.ts +19 -0
- package/vendor/shared/src/fileUploads.ts +28 -0
- package/vendor/shared/src/files.ts +21 -0
- package/vendor/shared/src/index.ts +35 -1
- package/vendor/shared/src/lucidFollowups.ts +49 -0
- package/vendor/shared/src/lucidInvocations.ts +62 -0
- package/vendor/shared/src/memory.ts +30 -0
- package/vendor/shared/src/messagingSafety.ts +10 -0
- package/vendor/shared/src/recall.ts +69 -0
- package/vendor/shared/src/releaseCompatibility.ts +162 -0
- package/vendor/shared/src/repositoryRequests.ts +44 -0
- package/vendor/shared/src/repositoryRouting.ts +117 -0
- package/vendor/shared/src/roomClient.ts +351 -0
- package/vendor/shared/src/schemas/comment.ts +10 -0
- package/vendor/shared/src/schemas/conversation.ts +12 -1
- package/vendor/shared/src/schemas/harness.ts +120 -3
- package/vendor/shared/src/schemas/notification.ts +2 -1
- package/vendor/shared/src/schemas/organization.ts +2 -0
- package/vendor/shared/src/smartCapture.ts +1 -1
- package/vendor/shared/src/spokenNames.ts +1 -1
- package/vendor/shared/src/taskSharing.ts +13 -0
- package/vendor/shared/src/thinking-orb/ATTRIBUTION.md +36 -0
- package/vendor/shared/src/thinking-orb/engine/core.ts +81 -0
- package/vendor/shared/src/thinking-orb/engine/ctx.ts +15 -0
- package/vendor/shared/src/thinking-orb/engine/lattice.ts +205 -0
- package/vendor/shared/src/thinking-orb/engine/morph.ts +130 -0
- package/vendor/shared/src/thinking-orb/engine/orbits.ts +80 -0
- package/vendor/shared/src/thinking-orb/engine/profiles.ts +119 -0
- package/vendor/shared/src/thinking-orb/engine/registry.ts +18 -0
- package/vendor/shared/src/thinking-orb/engine/ribbon.ts +71 -0
- package/vendor/shared/src/thinking-orb/engine/types.ts +15 -0
- package/vendor/shared/src/thinking-orb/index.ts +6 -0
- package/vendor/shared/src/thinking-orb/presets.ts +88 -0
- package/vendor/shared/src/thinking-orb/types.ts +25 -0
- package/vendor/shared/src/turnTiming.ts +20 -0
- package/vendor/shared/src/types.ts +1 -1
- package/vendor/shared/src/updateControl.ts +45 -0
- package/vendor/shared/src/videos.ts +37 -0
- package/vendor/shared/src/workspaceIO.ts +61 -0
- package/vendor/shared/src/workspaces.ts +119 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../src/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../src/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB;;;;;;;;iBAEnB,CAAC;AAEjB,qGAAqG;AACrG,eAAO,MAAM,kBAAkB;;;;;;;iBAa7B,CAAC;AACH,gGAAgG;AAChG,eAAO,MAAM,gBAAgB;;;;iBAE3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;iBAQnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAIzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkB5C,CAAC;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA8G,CAAC;AACtJ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAI1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,qFAAqF;AACrF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;iBAI1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAehC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4BjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,wGAAwG;AACxG,eAAO,MAAM,kBAAkB;;;iBAI7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkB7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;iBAQ1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,gEAAgE;AAChE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;iBAKlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;6BASzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ActivityRecoverySchema } from './activityRecovery.js';
|
|
3
|
+
import { EFFORT_LEVELS } from './constants.js';
|
|
4
|
+
import { AgentHandoffSchema } from './agentMessages.js';
|
|
2
5
|
export const SavedChatMessageSchema = z.object({
|
|
3
6
|
id: z.string().min(1), role: z.enum(['user', 'lucid', 'notice']), text: z.string(),
|
|
4
7
|
}).passthrough();
|
|
@@ -21,8 +24,55 @@ export const RepoSettingsSchema = z.object({
|
|
|
21
24
|
export const RepoPlacesSchema = z.object({
|
|
22
25
|
root: z.string(), worktrees: z.string(), copyMatches: z.array(z.string()),
|
|
23
26
|
});
|
|
27
|
+
export const ConversationSourceSchema = z.object({
|
|
28
|
+
version: z.literal(1),
|
|
29
|
+
conversationId: z.string().min(1).max(1000),
|
|
30
|
+
messageId: z.string().min(1).max(300),
|
|
31
|
+
requestId: z.string().min(1).max(300).optional(),
|
|
32
|
+
kind: z.enum(['prompt', 'reply', 'steering', 'legacy']),
|
|
33
|
+
revision: z.string().regex(/^[a-f0-9]{64}$/),
|
|
34
|
+
recordedAt: z.iso.datetime().optional(),
|
|
35
|
+
});
|
|
36
|
+
export const ConversationSourceResultSchema = z.discriminatedUnion('status', [
|
|
37
|
+
z.object({ status: z.literal('available'), source: ConversationSourceSchema,
|
|
38
|
+
role: z.enum(['user', 'assistant']), text: z.string(), outcome: z.string().optional() }),
|
|
39
|
+
z.object({ status: z.enum(['unavailable', 'changed']), message: z.string() }),
|
|
40
|
+
]);
|
|
41
|
+
export const ConversationOverviewContentSchema = z.object({
|
|
42
|
+
title: z.string().trim().min(1).max(100),
|
|
43
|
+
summary: z.string().trim().min(1).max(700),
|
|
44
|
+
/** Oldest topic first. Related refinements belong in the same topic. */
|
|
45
|
+
topics: z.array(z.object({
|
|
46
|
+
title: z.string().trim().min(1).max(100),
|
|
47
|
+
summary: z.string().trim().min(1).max(500),
|
|
48
|
+
decisions: z.array(z.string().trim().min(1).max(300)).max(5),
|
|
49
|
+
/** Absent on older summaries until rebuilt from the saved conversation. */
|
|
50
|
+
id: z.string().optional(),
|
|
51
|
+
mergedFrom: z.array(z.string()).optional(),
|
|
52
|
+
sources: z.array(ConversationSourceSchema).max(8).optional(),
|
|
53
|
+
decisionSources: z.array(z.array(ConversationSourceSchema).max(4)).max(5).optional(),
|
|
54
|
+
/** Explicit completion reports, aligned with decisions. Missing/empty means no completion claim. */
|
|
55
|
+
decisionCompletionSources: z.array(z.array(ConversationSourceSchema).max(4)).max(5).optional(),
|
|
56
|
+
firstRecordedAt: z.iso.datetime().optional(),
|
|
57
|
+
lastRecordedAt: z.iso.datetime().optional(),
|
|
58
|
+
})).min(1).max(12),
|
|
59
|
+
});
|
|
60
|
+
export const ConversationOverviewSchema = ConversationOverviewContentSchema.extend({ updatedAt: z.string(), sourceVersion: z.literal(1).optional() });
|
|
61
|
+
export const ConversationOverviewStateSchema = z.object({
|
|
62
|
+
status: z.enum(['empty', 'updating', 'ready', 'error']),
|
|
63
|
+
overview: ConversationOverviewSchema.optional(),
|
|
64
|
+
recovery: ActivityRecoverySchema.optional(),
|
|
65
|
+
});
|
|
66
|
+
/** Explicit choices for one coding conversation, kept separate for each provider. */
|
|
67
|
+
export const WorkspaceModelPreferencesSchema = z.object({
|
|
68
|
+
provider: z.enum(['claude', 'codex']),
|
|
69
|
+
model: z.string().trim().min(1).max(200),
|
|
70
|
+
effort: z.enum(EFFORT_LEVELS),
|
|
71
|
+
});
|
|
24
72
|
export const WorkerWorkspaceSchema = z.object({
|
|
25
73
|
workerId: z.uuidv7(), repoId: z.string().min(1), title: z.string().min(1).max(200),
|
|
74
|
+
/** Stable compact label, independent of the descriptive title. Older daemons omit it. */
|
|
75
|
+
shortName: z.string().regex(/^Worktree [1-9]\d*$/).optional(),
|
|
26
76
|
brief: z.string().max(8000).default(''),
|
|
27
77
|
workspaceId: z.string(), conversationId: z.string(),
|
|
28
78
|
state: z.enum(['creating', 'ready', 'setup_failed', 'archived']),
|
|
@@ -33,17 +83,30 @@ export const WorkerWorkspaceSchema = z.object({
|
|
|
33
83
|
/** First of the ten ports reserved for this worktree's servers. */
|
|
34
84
|
port: z.number().int().min(1024).max(65525).optional(),
|
|
35
85
|
createdAt: z.string(), updatedAt: z.string(),
|
|
86
|
+
overview: ConversationOverviewSchema.optional(),
|
|
36
87
|
});
|
|
37
88
|
export const WorkspaceCommandSchema = z.object({
|
|
38
|
-
action: z.enum(['list', 'create', 'history', 'archive', 'restore', 'import', 'clear-history', 'inspect-run', 'continue-run',
|
|
39
|
-
'settings', 'save-settings', 'setup', 'delete']),
|
|
89
|
+
action: z.enum(['list', 'create', 'rename', 'refresh-title', 'history', 'archive', 'restore', 'import', 'clear-history', 'inspect-run', 'continue-run',
|
|
90
|
+
'settings', 'save-settings', 'setup', 'delete', 'overview', 'overview-source', 'message-source', 'model-settings', 'save-model-settings', 'message-image', 'pasted-text', 'delivery-status']),
|
|
91
|
+
source: ConversationSourceSchema.optional(),
|
|
92
|
+
messageId: z.string().min(1).max(400).optional(),
|
|
93
|
+
/** Retry a failed overview without discarding the last saved one. */
|
|
94
|
+
retry: z.boolean().optional(),
|
|
95
|
+
fileIndex: z.number().int().min(0).max(5).optional(),
|
|
96
|
+
textOffset: z.number().int().min(0).max(10_485_760).optional(),
|
|
97
|
+
textLimit: z.number().int().min(1).max(32_000).optional(),
|
|
98
|
+
imageIndex: z.number().int().min(0).max(5).optional(), steeringId: z.string().optional(),
|
|
40
99
|
requestId: z.uuidv7().optional(), reviewId: z.uuidv7().optional(),
|
|
41
100
|
instruction: z.string().trim().min(1).max(8000).optional(),
|
|
42
101
|
repoId: z.string().min(1).optional(), workerId: z.uuidv7().optional(),
|
|
43
102
|
checkout: z.boolean().optional(), revision: z.string().optional(),
|
|
44
103
|
title: z.string().trim().min(1).max(200).optional(),
|
|
45
104
|
brief: z.string().max(8000).optional(), before: z.string().optional(),
|
|
105
|
+
/** History navigation only: remember an explicitly opened Main conversation. */
|
|
106
|
+
open: z.boolean().optional(),
|
|
46
107
|
settings: RepoSettingsSchema.optional(),
|
|
108
|
+
provider: z.enum(['claude', 'codex']).optional(),
|
|
109
|
+
modelPreferences: WorkspaceModelPreferencesSchema.optional(),
|
|
47
110
|
/** `delete` only: go ahead even though the worktree holds work that is not in the base branch. */
|
|
48
111
|
force: z.boolean().optional(),
|
|
49
112
|
legacy: z.object({
|
|
@@ -59,6 +122,19 @@ export const UnmergedWorkSchema = z.object({
|
|
|
59
122
|
});
|
|
60
123
|
export const WorkspaceRunSchema = z.object({
|
|
61
124
|
requestId: z.string(), prompt: z.string(),
|
|
125
|
+
replyTo: ConversationSourceSchema.optional(),
|
|
126
|
+
agentHandoff: AgentHandoffSchema.optional(),
|
|
127
|
+
fileNames: z.array(z.string().min(1).max(180)).max(6).optional(),
|
|
128
|
+
imageCount: z.number().int().min(0).max(6).optional(), imageOnly: z.boolean().optional(),
|
|
129
|
+
imageNames: z.array(z.string().min(1).max(255).nullable()).max(6).optional(),
|
|
130
|
+
steering: z.array(z.object({ id: z.string(), prompt: z.string(),
|
|
131
|
+
imageCount: z.number().int().min(0).max(6).optional(), imageOnly: z.boolean().optional(),
|
|
132
|
+
imageNames: z.array(z.string().min(1).max(255).nullable()).max(6).optional(),
|
|
133
|
+
/** Last output frame when the provider accepted this instruction. */
|
|
134
|
+
afterSeq: z.number().int().min(0).optional(),
|
|
135
|
+
})).optional(),
|
|
136
|
+
/** A reviewed continuation was durably accepted; the original is not replayable. */
|
|
137
|
+
reviewedContinuationId: z.uuidv7().optional(),
|
|
62
138
|
handoff: z.object({ from: z.enum(['claude', 'codex']), to: z.enum(['claude', 'codex']) }).optional(),
|
|
63
139
|
frames: z.array(z.record(z.string(), z.unknown())),
|
|
64
140
|
terminated: z.boolean(),
|
|
@@ -72,14 +148,44 @@ export const RunReviewSchema = z.object({
|
|
|
72
148
|
unresolved: z.array(z.string()),
|
|
73
149
|
continuationId: z.uuidv7(), continuedAt: z.string().optional(), instruction: z.string().optional(),
|
|
74
150
|
});
|
|
151
|
+
/** Durable receipt for a requested worktree lifetime change. */
|
|
152
|
+
export const WorktreeOperationSchema = z.object({
|
|
153
|
+
id: z.string().uuid(), repoId: z.string(), workerId: z.uuidv7(), title: z.string(),
|
|
154
|
+
action: z.enum(['archive', 'delete']),
|
|
155
|
+
state: z.enum(['waiting', 'running', 'done', 'blocked', 'failed']),
|
|
156
|
+
message: z.string(), updatedAt: z.string(),
|
|
157
|
+
});
|
|
158
|
+
export const WorktreeLifecycleRequestSchema = z.discriminatedUnion('action', [
|
|
159
|
+
z.object({ action: z.literal('list') }),
|
|
160
|
+
z.object({ action: z.literal('create'), repoId: z.string().min(1).max(300), workerId: z.uuidv7(),
|
|
161
|
+
title: z.string().trim().min(1).max(120).optional() }),
|
|
162
|
+
z.object({ action: z.enum(['archive', 'delete']), id: z.string().uuid(),
|
|
163
|
+
repoId: z.string().min(1), workerId: z.uuidv7(),
|
|
164
|
+
/** Only after the owner explicitly approves discarding the reported unmerged work. */
|
|
165
|
+
force: z.boolean().optional(),
|
|
166
|
+
}),
|
|
167
|
+
]);
|
|
75
168
|
export const WorkspaceSnapshotSchema = z.object({
|
|
169
|
+
continuationProvider: z.enum(['claude', 'codex']).optional(),
|
|
170
|
+
/** Present only for complete lists, never history or other partial replies. */
|
|
171
|
+
scope: z.object({ repoIds: z.array(z.string()), revision: z.number().int().nonnegative() }).optional(),
|
|
172
|
+
/** Main conversations opened on a client or containing saved work. List replies only. */
|
|
173
|
+
openedCheckouts: z.array(z.string()).optional(),
|
|
174
|
+
operations: z.array(WorktreeOperationSchema).optional(),
|
|
175
|
+
modelPreferences: WorkspaceModelPreferencesSchema.nullable().optional(),
|
|
76
176
|
workers: z.array(WorkerWorkspaceSchema),
|
|
177
|
+
overviewState: ConversationOverviewStateSchema.optional(),
|
|
178
|
+
sourceResult: ConversationSourceResultSchema.optional(),
|
|
77
179
|
review: RunReviewSchema.optional(),
|
|
78
180
|
checkout: z.object({
|
|
79
181
|
repoId: z.string(), conversationId: z.string(), revision: z.string(),
|
|
80
182
|
resume: z.string().optional(),
|
|
81
183
|
}).optional(),
|
|
82
184
|
runs: z.array(WorkspaceRunSchema).optional(),
|
|
185
|
+
delivery: z.object({ requestId: z.uuidv7(), state: z.enum(['accepted', 'missing', 'unavailable']), revision: z.string(),
|
|
186
|
+
requestDigest: z.string().regex(/^[a-f0-9]{64}$/).optional() }).optional(),
|
|
187
|
+
pastedText: z.object({ text: z.string().max(32_000), nextOffset: z.number().int().min(0).optional() }).optional(),
|
|
188
|
+
messageImage: z.string().max(5_000_100).optional(),
|
|
83
189
|
legacyMessages: z.array(SavedChatMessageSchema).optional(),
|
|
84
190
|
nextBefore: z.string().optional(),
|
|
85
191
|
settings: RepoSettingsSchema.optional(),
|
|
@@ -13,6 +13,18 @@
|
|
|
13
13
|
"./quick-add": {
|
|
14
14
|
"types": "./dist/quickAdd.d.ts",
|
|
15
15
|
"default": "./dist/quickAdd.js"
|
|
16
|
+
},
|
|
17
|
+
"./room-client": {
|
|
18
|
+
"types": "./dist/roomClient.d.ts",
|
|
19
|
+
"default": "./dist/roomClient.js"
|
|
20
|
+
},
|
|
21
|
+
"./thinking-orb": {
|
|
22
|
+
"types": "./dist/thinking-orb/index.d.ts",
|
|
23
|
+
"default": "./dist/thinking-orb/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./chat-activity": {
|
|
26
|
+
"types": "./dist/chatActivity.d.ts",
|
|
27
|
+
"default": "./dist/chatActivity.js"
|
|
16
28
|
}
|
|
17
29
|
},
|
|
18
30
|
"keywords": [],
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ControlDeviceProfileSchema } from './computer.js';
|
|
3
|
+
|
|
4
|
+
export const RegisterDeviceSchema = ControlDeviceProfileSchema.extend({
|
|
5
|
+
reminderDeviceId: z.string().uuid().optional(),
|
|
6
|
+
installationId: z.string().min(1).max(128),
|
|
7
|
+
appVersion: z.string().trim().min(1).max(120).optional(),
|
|
8
|
+
}).strict();
|
|
9
|
+
export const AccountDeviceSchema = ControlDeviceProfileSchema.extend({
|
|
10
|
+
id: z.string().uuid(), installationId: z.string(),
|
|
11
|
+
role: z.enum(['computer', 'access']), appVersion: z.string().nullable(),
|
|
12
|
+
createdAt: z.string(), lastSeenAt: z.string(),
|
|
13
|
+
sharedCredential: z.boolean(), current: z.boolean(), connected: z.boolean(), inControl: z.boolean(),
|
|
14
|
+
});
|
|
15
|
+
export const DeviceListSchema = z.object({ devices: z.array(AccountDeviceSchema), newDevices: z.array(z.string().uuid()) });
|
|
16
|
+
export type AccountDevice = z.infer<typeof AccountDeviceSchema>;
|
|
17
|
+
export type DeviceList = z.infer<typeof DeviceListSchema>;
|
|
18
|
+
export type RegisterDevice = z.infer<typeof RegisterDeviceSchema>;
|
|
19
|
+
|
|
20
|
+
export function availableDeviceName(base: string, existing: readonly string[]): string {
|
|
21
|
+
const names = new Set(existing.map(name => name.toLocaleLowerCase('en-US')));
|
|
22
|
+
if (!names.has(base.toLocaleLowerCase('en-US'))) return base;
|
|
23
|
+
for (let number = 2; ; number++) {
|
|
24
|
+
const suffix = ` ${number}`;
|
|
25
|
+
const name = base.slice(0, 120 - suffix.length) + suffix;
|
|
26
|
+
if (!names.has(name.toLocaleLowerCase('en-US'))) return name;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
/** Safe diagnostics only. Provider text, prompts and generated output never cross this boundary. */
|
|
4
|
+
export const ActivityRecoverySchema = z.object({
|
|
5
|
+
id: z.string(),
|
|
6
|
+
problem: z.enum(['response_format', 'source_validation', 'provider_auth', 'provider_limit',
|
|
7
|
+
'provider_unavailable', 'interrupted', 'history_changed', 'unknown']),
|
|
8
|
+
phase: z.enum(['waiting', 'retrying', 'paused', 'needs_action']),
|
|
9
|
+
attempts: z.number().int().nonnegative(),
|
|
10
|
+
updatedAt: z.iso.datetime(),
|
|
11
|
+
nextAttemptAt: z.iso.datetime().optional(),
|
|
12
|
+
retryAfter: z.iso.datetime(),
|
|
13
|
+
});
|
|
14
|
+
export type ActivityRecovery = z.infer<typeof ActivityRecoverySchema>;
|
|
15
|
+
|
|
16
|
+
/** Shared desktop/mobile copy and read scheduling; polling never authorizes another inference. */
|
|
17
|
+
export function activityRecoveryView(state?: { status: string; overview?: unknown; recovery?: ActivityRecovery }, now = Date.now()): {
|
|
18
|
+
notice?: string; canRetry: boolean; refreshAfter: number | false;
|
|
19
|
+
} {
|
|
20
|
+
const recovery = state?.recovery;
|
|
21
|
+
if (state?.status === 'ready' || state?.status === 'empty' || !state) return { canRetry: false, refreshAfter: false };
|
|
22
|
+
const failed = state.overview ? 'Couldn’t update the summary.' : 'Couldn’t create the summary.';
|
|
23
|
+
const kept = state.overview ? ' Showing the last saved version.' : '';
|
|
24
|
+
if (!recovery) return state.status === 'error'
|
|
25
|
+
? { notice: failed + kept, canRetry: true, refreshAfter: false }
|
|
26
|
+
: { canRetry: false, refreshAfter: 3000 };
|
|
27
|
+
if (recovery.phase === 'waiting' || recovery.phase === 'retrying') {
|
|
28
|
+
const notice = recovery.phase === 'retrying' ? 'Automatically retrying the summary.'
|
|
29
|
+
: recovery.problem === 'provider_unavailable' ? 'The summary will retry after a provider connection problem.'
|
|
30
|
+
: 'The summary will retry shortly.';
|
|
31
|
+
return { notice: notice + kept, canRetry: false, refreshAfter: 3000 };
|
|
32
|
+
}
|
|
33
|
+
const notice = recovery.problem === 'provider_auth' ? 'Sign in to your AI provider on your computer, then try again.'
|
|
34
|
+
: recovery.problem === 'provider_limit' ? 'Summary updates are paused because the AI provider’s usage limit was reached.'
|
|
35
|
+
: recovery.problem === 'response_format' || recovery.problem === 'source_validation' ? 'The new summary could not be validated. Updates are paused.'
|
|
36
|
+
: recovery.problem === 'provider_unavailable' ? 'The AI provider is still unavailable. Summary retries are paused.'
|
|
37
|
+
: recovery.problem === 'history_changed' ? 'The conversation changed during recovery. Summary updates are paused.'
|
|
38
|
+
: recovery.problem === 'interrupted' ? 'Summary recovery was interrupted. Retries are paused.'
|
|
39
|
+
: failed;
|
|
40
|
+
const wait = Math.max(0, Date.parse(recovery.retryAfter) - now);
|
|
41
|
+
return { notice: notice + kept, canRetry: wait === 0, refreshAfter: wait || false };
|
|
42
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
/** Snapshot from the authenticated account, never supplied by a sending agent. */
|
|
4
|
+
export const ParticipantIdentitySchema = z.object({
|
|
5
|
+
id: z.uuid(), name: z.string().max(255), handle: z.string().max(30).nullable(),
|
|
6
|
+
avatarUrl: z.string().url().nullable(),
|
|
7
|
+
});
|
|
8
|
+
export type ParticipantIdentity = z.infer<typeof ParticipantIdentitySchema>;
|
|
9
|
+
|
|
10
|
+
/** Display attribution only. The execution prompt and its scope stay on the daemon. */
|
|
11
|
+
export const AgentHandoffSchema = z.object({
|
|
12
|
+
sender: z.string(), message: z.string(), owner: ParticipantIdentitySchema.optional(),
|
|
13
|
+
sourceConversationId: z.string().optional(),
|
|
14
|
+
kind: z.literal('team-request').optional(), approvedBy: ParticipantIdentitySchema.optional(),
|
|
15
|
+
});
|
|
16
|
+
export type AgentHandoff = z.infer<typeof AgentHandoffSchema>;
|
|
17
|
+
|
|
18
|
+
const agentId = z.string().regex(/^[a-f0-9]{64}$/);
|
|
19
|
+
/** Delegated task scope and navigation; cannot override user restrictions or grant extra permissions. */
|
|
20
|
+
export const AgentHandoffContextSchema = z.object({
|
|
21
|
+
projectId: z.uuid().optional(),
|
|
22
|
+
taskId: z.uuid().optional(),
|
|
23
|
+
commentIds: z.array(z.uuid()).max(20).optional(),
|
|
24
|
+
baseRevision: z.string().regex(/^[a-f0-9]{7,64}$/i).optional(),
|
|
25
|
+
constraints: z.array(z.string().min(1).max(500)).max(20).optional(),
|
|
26
|
+
outcome: z.string().min(1).max(2000).optional(),
|
|
27
|
+
sources: z.array(z.object({
|
|
28
|
+
href: z.string().min(1).max(2000),
|
|
29
|
+
id: z.string().max(200).optional(),
|
|
30
|
+
revision: z.string().max(200).optional(),
|
|
31
|
+
authority: z.string().min(1).max(100),
|
|
32
|
+
coverage: z.string().max(1000).optional(),
|
|
33
|
+
}).strict()).max(20).optional(),
|
|
34
|
+
coverage: z.string().max(2000).optional(),
|
|
35
|
+
}).strict();
|
|
36
|
+
|
|
37
|
+
export const AgentExecutionSettingsSchema = z.object({
|
|
38
|
+
provider: z.enum(['claude', 'codex']),
|
|
39
|
+
model: z.string().nullable(),
|
|
40
|
+
effort: z.string().nullable(),
|
|
41
|
+
provenance: z.object({ provider: z.string(), model: z.string(), effort: z.string() }),
|
|
42
|
+
});
|
|
43
|
+
export type AgentExecutionSettings = z.infer<typeof AgentExecutionSettingsSchema>;
|
|
44
|
+
|
|
45
|
+
/** Only the first message of a fresh worktree may choose execution settings. */
|
|
46
|
+
export const AgentInitialSettingsSchema = z.object({
|
|
47
|
+
provider: z.enum(['claude', 'codex']),
|
|
48
|
+
model: z.string().trim().min(1).max(200).optional(),
|
|
49
|
+
effort: z.string().trim().min(1).max(32).optional(),
|
|
50
|
+
}).strict();
|
|
51
|
+
export type AgentInitialSettings = z.infer<typeof AgentInitialSettingsSchema>;
|
|
52
|
+
|
|
53
|
+
export const AgentMessageSchema = z.object({
|
|
54
|
+
sourceId: agentId,
|
|
55
|
+
targetId: agentId,
|
|
56
|
+
message: z.string().trim().min(1).max(6000),
|
|
57
|
+
context: AgentHandoffContextSchema.optional(),
|
|
58
|
+
initialSettings: AgentInitialSettingsSchema.optional(),
|
|
59
|
+
/** Daemon-owned admission snapshot, never accepted from send callers. */
|
|
60
|
+
dispatch: z.object({
|
|
61
|
+
at: z.string(),
|
|
62
|
+
owner: ParticipantIdentitySchema.optional(),
|
|
63
|
+
source: z.object({ title: z.string(), conversationId: z.string() }),
|
|
64
|
+
target: z.object({ title: z.string(), conversationId: z.string(), revision: z.string() }),
|
|
65
|
+
resolved: AgentExecutionSettingsSchema.nullable(),
|
|
66
|
+
}).optional(),
|
|
67
|
+
});
|
|
68
|
+
export type AgentMessage = z.infer<typeof AgentMessageSchema>;
|
|
69
|
+
|
|
70
|
+
export const AgentMessageCommandSchema = z.discriminatedUnion('action', [
|
|
71
|
+
z.object({ action: z.literal('models'), sourceId: agentId, provider: z.enum(['claude', 'codex']) }).strict(),
|
|
72
|
+
z.object({ action: z.literal('list'), sourceId: agentId,
|
|
73
|
+
repoId: z.string().min(1).max(300).optional(),
|
|
74
|
+
limit: z.number().int().min(1).max(20).default(10),
|
|
75
|
+
offset: z.number().int().min(0).max(10000).default(0) }),
|
|
76
|
+
AgentMessageSchema.omit({ dispatch: true }).extend({ action: z.literal('send'), requestId: z.uuidv7() }).strict(),
|
|
77
|
+
z.object({ action: z.literal('await'), sourceId: agentId, requestId: z.uuidv7(),
|
|
78
|
+
timeoutMs: z.number().int().min(0).max(50000).default(50000),
|
|
79
|
+
offset: z.number().int().min(0).max(10000000).default(0) }),
|
|
80
|
+
z.object({ action: z.literal('read'), sourceId: agentId, requestId: z.uuidv7(),
|
|
81
|
+
offset: z.number().int().min(0).max(10000000).default(0) }),
|
|
82
|
+
]);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
export const AiUsageWindowSchema = z.object({
|
|
4
|
+
id: z.string().min(1).max(160),
|
|
5
|
+
label: z.string().min(1).max(120),
|
|
6
|
+
usedPercent: z.number().finite().nonnegative().nullable(),
|
|
7
|
+
windowMinutes: z.number().int().positive().nullable(),
|
|
8
|
+
resetsAt: z.string().datetime().nullable(),
|
|
9
|
+
});
|
|
10
|
+
export type AiUsageWindow = z.infer<typeof AiUsageWindowSchema>;
|
|
11
|
+
|
|
12
|
+
export const AiUsageSchema = z.object({
|
|
13
|
+
provider: z.enum(['fast-ai', 'claude', 'codex']),
|
|
14
|
+
status: z.enum(['available', 'unavailable']),
|
|
15
|
+
sampledAt: z.string().datetime(),
|
|
16
|
+
windows: z.array(AiUsageWindowSchema).max(32),
|
|
17
|
+
});
|
|
18
|
+
export type AiUsage = z.infer<typeof AiUsageSchema>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
export const ARTIFACT_MAX_BYTES = 100 * 1024 * 1024;
|
|
4
|
+
export const artifactPath = z.string().min(1).max(1024).refine(
|
|
5
|
+
(path) => !path.includes('\\') && !/[\u0000-\u001f]/.test(path) &&
|
|
6
|
+
path.split('/').every((part) => part.length > 0 && !part.startsWith('.')),
|
|
7
|
+
'Expected a path inside the notes vault',
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
/** Content identity survives moves; the path is a hint for finding the saved copy. */
|
|
11
|
+
export const ArtifactSchema = z.object({
|
|
12
|
+
id: z.string().regex(/^[a-f0-9]{64}$/),
|
|
13
|
+
path: artifactPath,
|
|
14
|
+
name: z.string().min(1).max(240).refine((name) => !/[\/\\\u0000-\u001f]/.test(name)),
|
|
15
|
+
mediaType: z.string().min(1).max(100),
|
|
16
|
+
size: z.number().int().nonnegative().max(ARTIFACT_MAX_BYTES),
|
|
17
|
+
caption: z.string().max(1000).optional(),
|
|
18
|
+
});
|
|
19
|
+
export type Artifact = z.infer<typeof ArtifactSchema>;
|
|
20
|
+
|
|
21
|
+
export const ArtifactReceiptSchema = z.object({
|
|
22
|
+
type: z.literal('lucidity.artifact'),
|
|
23
|
+
artifact: ArtifactSchema,
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
/** Only called for successful results from Lucidity's attach_file tool. */
|
|
27
|
+
export function artifactFromToolResult(content: unknown): Artifact | undefined {
|
|
28
|
+
if (typeof content === 'string' && content.length <= 5000) {
|
|
29
|
+
try { return ArtifactReceiptSchema.parse(JSON.parse(content)).artifact; }
|
|
30
|
+
catch { return undefined; }
|
|
31
|
+
}
|
|
32
|
+
const direct = ArtifactReceiptSchema.safeParse(content);
|
|
33
|
+
if (direct.success) return direct.data.artifact;
|
|
34
|
+
if (Array.isArray(content)) {
|
|
35
|
+
for (const block of content) {
|
|
36
|
+
if (block?.type !== 'text' || typeof block.text !== 'string' || block.text.length > 5000) continue;
|
|
37
|
+
try {
|
|
38
|
+
const result = ArtifactReceiptSchema.safeParse(JSON.parse(block.text));
|
|
39
|
+
if (result.success) return result.data.artifact;
|
|
40
|
+
} catch { /* Other text in a tool response is not an attachment. */ }
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function withArtifact(artifacts: Artifact[] = [], artifact: Artifact): Artifact[] {
|
|
47
|
+
return [...artifacts.filter((item) => item.id !== artifact.id), artifact];
|
|
48
|
+
}
|
|
@@ -27,13 +27,15 @@ const isFigmaFile = (value: string) => {
|
|
|
27
27
|
};
|
|
28
28
|
export const AutomationScheduleSchema = z.object({
|
|
29
29
|
frequency: z
|
|
30
|
-
.enum(['manual', 'daily', 'weekdays', 'weekly', 'interval'])
|
|
30
|
+
.enum(['manual', 'daily', 'weekdays', 'weekly', 'monthly', 'interval'])
|
|
31
31
|
.default('weekly'),
|
|
32
32
|
time: z
|
|
33
33
|
.string()
|
|
34
34
|
.regex(/^([01]\d|2[0-3]):[0-5]\d$/)
|
|
35
35
|
.default('10:00'),
|
|
36
36
|
dayOfWeek: z.number().int().min(0).max(6).default(0),
|
|
37
|
+
// Stops at 28 so a monthly job runs every month instead of skipping the short ones.
|
|
38
|
+
dayOfMonth: z.number().int().min(1).max(28).optional(),
|
|
37
39
|
everyHours: z
|
|
38
40
|
.number()
|
|
39
41
|
.int()
|
|
@@ -94,8 +96,13 @@ export const AutomationSourceSchema = z.enum([
|
|
|
94
96
|
'journal',
|
|
95
97
|
'notes',
|
|
96
98
|
'repository',
|
|
99
|
+
'github',
|
|
97
100
|
'web',
|
|
98
101
|
]);
|
|
102
|
+
/** Both read from one repository: its files, or the open issues on its GitHub remote. */
|
|
103
|
+
export function usesRepository(sources: readonly z.infer<typeof AutomationSourceSchema>[]) {
|
|
104
|
+
return sources.includes('repository') || sources.includes('github');
|
|
105
|
+
}
|
|
99
106
|
export const AgentAutomationInputSchema = z
|
|
100
107
|
.object({
|
|
101
108
|
workflow: z.literal('agent'),
|
|
@@ -104,7 +111,7 @@ export const AgentAutomationInputSchema = z
|
|
|
104
111
|
.default('custom'),
|
|
105
112
|
name: z.string().trim().min(1).max(100),
|
|
106
113
|
brief: z.string().trim().min(1).max(8000),
|
|
107
|
-
sources: z.array(AutomationSourceSchema).max(
|
|
114
|
+
sources: z.array(AutomationSourceSchema).max(6).default([]),
|
|
108
115
|
repoId: id.optional(),
|
|
109
116
|
provider: z.enum(['claude', 'codex']).default('codex'),
|
|
110
117
|
model: z.string().min(1).max(150).default('default'),
|
|
@@ -116,7 +123,7 @@ export const AgentAutomationInputSchema = z
|
|
|
116
123
|
schedule: AutomationScheduleSchema,
|
|
117
124
|
})
|
|
118
125
|
.strict()
|
|
119
|
-
.refine((input) => !input.sources
|
|
126
|
+
.refine((input) => !usesRepository(input.sources) || !!input.repoId, {
|
|
120
127
|
message: 'Choose a repository to use as a source',
|
|
121
128
|
path: ['repoId'],
|
|
122
129
|
});
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// Original set, in the spirit of (not copied from) Claude Code's rotating spinner
|
|
2
|
+
// verbs — a plain "Thinking…" the whole time a turn is unpredictaby long reads as
|
|
3
|
+
// stuck; cycling a few playful words in Lucid's own voice feels alive instead.
|
|
4
|
+
export const THINKING_WORDS = [
|
|
5
|
+
'Thinking',
|
|
6
|
+
'Mulling',
|
|
7
|
+
'Pondering',
|
|
8
|
+
'Sifting',
|
|
9
|
+
'Weighing it up',
|
|
10
|
+
'Chewing on it',
|
|
11
|
+
'Piecing it together',
|
|
12
|
+
'Untangling',
|
|
13
|
+
'Working it out',
|
|
14
|
+
'Turning it over',
|
|
15
|
+
];
|
|
16
|
+
|
|
17
|
+
/** `12s`, or `2m 05s` once a turn runs past a minute — coding turns can be long. */
|
|
18
|
+
export function formatElapsed(secs: number): string {
|
|
19
|
+
if (secs < 60) return `${secs}s`;
|
|
20
|
+
const m = Math.floor(secs / 60);
|
|
21
|
+
return `${m}m ${String(secs % 60).padStart(2, '0')}s`;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** One tool call, anchored to the `text` offset it fired at. */
|
|
25
|
+
export type ToolMark = { name: string; afterChars: number };
|
|
26
|
+
/** Which orb animation fits what Lucid is doing this instant. A read/search tool in flight reads as
|
|
27
|
+
* `searching`; an edit/write/run tool as `solving`; prose streaming with no tool as `shaping`; and
|
|
28
|
+
* the bare pre-token wait (or anything unrecognised) as `working`. Chat only uses these four of the
|
|
29
|
+
* orb's six states — `listening`/`composing` belong to the voice surface. */
|
|
30
|
+
export function orbStateForTurn(
|
|
31
|
+
tools: ToolMark[] | undefined,
|
|
32
|
+
hasText: boolean
|
|
33
|
+
): 'searching' | 'solving' | 'shaping' | 'working' {
|
|
34
|
+
const last = tools && tools.length ? tools[tools.length - 1]!.name.toLowerCase() : '';
|
|
35
|
+
if (last) {
|
|
36
|
+
if (/read|grep|glob|search|fetch|list|explore|find|web|get|todo|ls/.test(last))
|
|
37
|
+
return 'searching';
|
|
38
|
+
if (
|
|
39
|
+
/edit|write|patch|apply|bash|notebook|create|delete|move|run|update|command|multi/.test(last)
|
|
40
|
+
)
|
|
41
|
+
return 'solving';
|
|
42
|
+
return 'working';
|
|
43
|
+
}
|
|
44
|
+
return hasText ? 'shaping' : 'working';
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/** The label a reply's one tool line carries. Mid-turn only the tool in flight is worth naming;
|
|
48
|
+
* once the turn settles, only the tally is. */
|
|
49
|
+
export function toolLineLabel(tools: ToolMark[], working: boolean): string {
|
|
50
|
+
const rest = tools.length - 1;
|
|
51
|
+
return working
|
|
52
|
+
? `${tools[tools.length - 1]!.name}…`
|
|
53
|
+
: rest === 0
|
|
54
|
+
? `${tools[0]!.name} used`
|
|
55
|
+
: `${tools[0]!.name} and ${rest} more tool${rest === 1 ? '' : 's'} used`;
|
|
56
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
export const CodingActivityPhaseSchema = z.enum([
|
|
4
|
+
'working', 'reading', 'editing', 'command', 'needs_input', 'reply_ready', 'failed', 'stopped',
|
|
5
|
+
]);
|
|
6
|
+
const label = z.string().min(1).max(160).regex(/^[^\u0000-\u001f\u007f]*$/);
|
|
7
|
+
export const CodingActivitySessionSchema = z.object({
|
|
8
|
+
id: z.uuid(),
|
|
9
|
+
repoId: label,
|
|
10
|
+
workerId: z.uuid().nullable(),
|
|
11
|
+
title: label,
|
|
12
|
+
phase: CodingActivityPhaseSchema,
|
|
13
|
+
startedAt: z.number().int().nonnegative(),
|
|
14
|
+
updatedAt: z.number().int().nonnegative(),
|
|
15
|
+
}).strict();
|
|
16
|
+
export const CodingActivitySnapshotSchema = z.object({
|
|
17
|
+
type: z.literal('coding_activity'),
|
|
18
|
+
protocol: z.literal(1),
|
|
19
|
+
computerId: z.string().min(1).max(128),
|
|
20
|
+
revision: z.number().int().nonnegative(),
|
|
21
|
+
sessions: z.array(CodingActivitySessionSchema).max(32),
|
|
22
|
+
}).strict();
|
|
23
|
+
export type CodingActivitySession = z.infer<typeof CodingActivitySessionSchema>;
|
|
24
|
+
export type CodingActivitySnapshot = z.infer<typeof CodingActivitySnapshotSchema>;
|
|
25
|
+
export type CodingActivityPhase = CodingActivitySession['phase'];
|
|
26
|
+
|
|
27
|
+
export function codingActivityIsRunning(phase: CodingActivityPhase): boolean {
|
|
28
|
+
return !['reply_ready', 'failed', 'stopped'].includes(phase);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function codingActivityOrder(a: CodingActivitySession, b: CodingActivitySession): number {
|
|
32
|
+
const rank = (s: CodingActivitySession) => s.phase === 'needs_input' ? 0
|
|
33
|
+
: s.phase === 'failed' ? 1 : codingActivityIsRunning(s.phase) ? 2 : 3;
|
|
34
|
+
return rank(a) - rank(b) || b.updatedAt - a.updatedAt || a.id.localeCompare(b.id);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export const CODING_ACTIVITY_LABELS: Record<CodingActivityPhase, string> = {
|
|
38
|
+
working: 'Working', reading: 'Reading files', editing: 'Editing files', command: 'Running a command',
|
|
39
|
+
needs_input: 'Needs your input', reply_ready: 'Reply ready', failed: 'Needs checking', stopped: 'Stopped',
|
|
40
|
+
};
|
|
@@ -679,7 +679,7 @@ export function choiceBySaying(labels: readonly string[], text: string): number
|
|
|
679
679
|
return hits.length === 1 ? hits[0]! : null;
|
|
680
680
|
}
|
|
681
681
|
|
|
682
|
-
/** A question Fast
|
|
682
|
+
/** A question Fast AI asked about a task ("What should the comment say?"), answered next. */
|
|
683
683
|
export type TaskEditQuestion = 'due' | 'comment' | 'subtask' | 'title' | 'description' | 'newDescription' | 'reminder';
|
|
684
684
|
|
|
685
685
|
/** The next words, read as the answer to `question` rather than as an instruction. */
|
|
@@ -219,7 +219,7 @@ export const COMMAND_EVENT_OUTCOMES = [
|
|
|
219
219
|
] as const;
|
|
220
220
|
const Outcome = z.enum(COMMAND_EVENT_OUTCOMES);
|
|
221
221
|
|
|
222
|
-
/** One instruction said to Fast
|
|
222
|
+
/** One instruction said to Fast AI or Chat, recorded for the Fast AI review. */
|
|
223
223
|
export const CommandEventSchema = z.object({
|
|
224
224
|
id: z.uuid(),
|
|
225
225
|
mode: z.enum(['fast', 'chat']),
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** Handle tokens in prose. Code, escaped @ signs, email addresses and URLs are not pings. */
|
|
2
|
+
export function commentMentionTokens(content: string): { handle: string; start: number; end: number }[] {
|
|
3
|
+
const prose = content.replace(
|
|
4
|
+
/(`{3,}|~{3,})[^\n]*\n[\s\S]*?(?:\n\1[^\n]*(?:\n|$)|$)|(`+)[^`]*?\2|https?:\/\/\S+|\]\([^)]*\)|\\@/g,
|
|
5
|
+
(match) => ' '.repeat(match.length),
|
|
6
|
+
);
|
|
7
|
+
return [...prose.matchAll(/(?<![\w@/])@([a-z0-9_]{3,20})(?![\w@])/gi)]
|
|
8
|
+
.filter((match) => /[a-z0-9]/i.test(match[1]!))
|
|
9
|
+
.map((match) => ({ handle: match[1]!.toLowerCase(), start: match.index!, end: match.index! + match[0].length }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Completion at the end of the draft, shared by the native comment composers. */
|
|
13
|
+
export function commentMentionQuery(text: string): { start: number; query: string } | null {
|
|
14
|
+
const match = /(?:^|[\s(])@([a-z0-9_]{0,20})$/i.exec(text);
|
|
15
|
+
if (!match) return null;
|
|
16
|
+
return { start: text.length - match[1]!.length - 1, query: match[1]!.toLowerCase() };
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export type CommentMention = { userId: string; handle: string };
|
|
20
|
+
export type CommentMentionCandidate = CommentMention & { name: string; avatarUrl: string | null };
|