@iaforged/context-code 1.2.12 → 1.3.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 +38 -0
- package/dist/src/bridge/bridgeMain.js +40 -40
- package/dist/src/bridge/bridgeUI.js +1 -1
- package/dist/src/buddy/prompt.js +4 -4
- package/dist/src/cli/print.js +12 -12
- package/dist/src/commands/commit-push-pr.js +55 -55
- package/dist/src/commands/commit.js +34 -34
- package/dist/src/commands/init.js +88 -88
- package/dist/src/commands/insights.js +787 -787
- package/dist/src/commands/install.js +21 -21
- package/dist/src/commands/objetivo/index.js +9 -0
- package/dist/src/commands/objetivo/objetivo.js +137 -0
- package/dist/src/commands/orchestrate/orchestrate.js +1 -0
- package/dist/src/commands/plugin/BrowseMarketplace.js +6 -0
- package/dist/src/commands/security-review.js +190 -190
- package/dist/src/commands/swarm-auto/swarmAuto.js +2 -2
- package/dist/src/commands/terminalSetup/terminalSetup.js +24 -24
- package/dist/src/commands.js +2 -0
- package/dist/src/components/PromptInput/PromptInput.js +16 -0
- package/dist/src/components/PromptInput/PromptInputFooter.js +17 -2
- package/dist/src/components/PromptInput/PromptInputQueuedCommands.js +3 -3
- package/dist/src/components/Spinner.js +3 -0
- package/dist/src/components/agents/agentFileUtils.js +6 -6
- package/dist/src/components/agents/generateAgent.js +92 -92
- package/dist/src/components/design-system/FuzzyPicker.js +3 -0
- package/dist/src/components/grove/Grove.js +10 -10
- package/dist/src/components/messages/CollapsedReadSearchContent.js +3 -0
- package/dist/src/components/permissions/AskUserQuestionPermissionRequest/AskUserQuestionPermissionRequest.js +8 -8
- package/dist/src/components/permissions/hooks.js +5 -5
- package/dist/src/constants/outputStyles.js +83 -83
- package/dist/src/constants/prompts.js +123 -123
- package/dist/src/coordinator/coordinatorMode.js +252 -252
- package/dist/src/core/agents/legacy/cliAdapter.impl.js +62 -0
- package/dist/src/core/agents/legacy/deps.js +12 -0
- package/dist/src/core/agents/legacy/orchestrateCliAdapter.impl.js +2 -0
- package/dist/src/core/agents/legacy/services/mcp/config.js +1 -0
- package/dist/src/core/agents/legacy/services/orchestration/index.js +1 -0
- package/dist/src/core/agents/legacy/services/sessionMemory/sessionMemory.js +1 -0
- package/dist/src/core/agents/legacy/storeCliAdapter.impl.js +2 -0
- package/dist/src/core/agents/legacy/utils/activityManager.js +1 -0
- package/dist/src/core/agents/legacy/utils/debug.js +1 -0
- package/dist/src/core/agents/legacy/utils/messages.js +1 -0
- package/dist/src/core/agents/legacy/utils/model/providerCatalog.js +1 -0
- package/dist/src/core/agents/legacy/utils/model/providerProfiles.js +1 -0
- package/dist/src/core/agents/legacy/utils/model/providerWorkspaces.js +1 -0
- package/dist/src/core/agents/legacy/utils/orchestration/store/index.js +1 -0
- package/dist/src/core/agents/legacy/utils/orchestration/store/types.js +1 -0
- package/dist/src/core/agents/legacy/utils/secureStorage/index.js +1 -0
- package/dist/src/core/agents/orchestrateCliAdapter.js +1 -0
- package/dist/src/core/agents/storeCliAdapter.js +1 -0
- package/dist/src/core/assistant/legacy/debugCliAdapter.js +1 -0
- package/dist/src/core/assistant/legacy/teleportApiCliAdapter.js +1 -0
- package/dist/src/core/auth/legacy/bootstrap/state.js +1 -0
- package/dist/src/core/auth/legacy/deps.js +25 -0
- package/dist/src/core/auth/legacy/hooks/useMainLoopModel.js +1 -0
- package/dist/src/core/auth/legacy/loginCliAdapter.impl.js +16 -0
- package/dist/src/core/auth/legacy/loginCommandCliAdapter.impl.js +7 -0
- package/dist/src/core/auth/legacy/logoutCliAdapter.impl.js +21 -0
- package/dist/src/core/auth/legacy/logoutCommandCliAdapter.impl.js +2 -0
- package/dist/src/core/auth/legacy/openaiLoginCliAdapter.impl.js +9 -0
- package/dist/src/core/auth/legacy/privacySettingsCliAdapter.impl.js +7 -0
- package/dist/src/core/auth/legacy/services/analytics/growthbook.js +1 -0
- package/dist/src/core/auth/legacy/services/analytics/index.js +1 -0
- package/dist/src/core/auth/legacy/services/api/grove.js +1 -0
- package/dist/src/core/auth/legacy/services/policyLimits/index.js +1 -0
- package/dist/src/core/auth/legacy/services/remoteManagedSettings/index.js +1 -0
- package/dist/src/core/auth/legacy/subscriberCliAdapter.impl.js +2 -0
- package/dist/src/core/auth/legacy/utils/auth.js +1 -0
- package/dist/src/core/auth/legacy/utils/betas.js +1 -0
- package/dist/src/core/auth/legacy/utils/config.js +1 -0
- package/dist/src/core/auth/legacy/utils/envUtils.js +1 -0
- package/dist/src/core/auth/legacy/utils/gracefulShutdown.js +1 -0
- package/dist/src/core/auth/legacy/utils/messages.js +1 -0
- package/dist/src/core/auth/legacy/utils/model/providerSwitch.js +1 -0
- package/dist/src/core/auth/legacy/utils/model/providers.js +1 -0
- package/dist/src/core/auth/legacy/utils/permissions/bypassPermissionsKillswitch.js +1 -0
- package/dist/src/core/auth/legacy/utils/secureStorage/index.js +1 -0
- package/dist/src/core/auth/legacy/utils/telemetry/instrumentation.js +1 -0
- package/dist/src/core/auth/legacy/utils/toolSchemaCache.js +1 -0
- package/dist/src/core/auth/legacy/utils/user.js +1 -0
- package/dist/src/core/auth/loginCommandCliAdapter.js +1 -0
- package/dist/src/core/auth/logoutCommandCliAdapter.js +1 -0
- package/dist/src/core/auth/openaiLoginCliAdapter.js +1 -0
- package/dist/src/core/auth/openaiLoginCore.js +21 -0
- package/dist/src/core/auth/privacySettingsCliAdapter.js +1 -0
- package/dist/src/core/auth/privacySettingsCore.js +10 -0
- package/dist/src/core/auth/subscriberCliAdapter.js +1 -0
- package/dist/src/core/bridge/cliAdapter.js +3 -0
- package/dist/src/core/bridge/legacy/bootstrap/state.js +1 -0
- package/dist/src/core/bridge/legacy/cliAdapter.impl.js +11 -0
- package/dist/src/core/bridge/legacy/context/overlayContext.js +1 -0
- package/dist/src/core/bridge/legacy/services/analytics/datadog.js +1 -0
- package/dist/src/core/bridge/legacy/services/analytics/firstPartyEventLogger.js +1 -0
- package/dist/src/core/bridge/legacy/services/analytics/growthbook.js +1 -0
- package/dist/src/core/bridge/legacy/services/analytics/index.js +1 -0
- package/dist/src/core/bridge/legacy/services/api/emptyUsage.js +1 -0
- package/dist/src/core/bridge/legacy/services/oauth/client.js +1 -0
- package/dist/src/core/bridge/legacy/services/policyLimits/index.js +1 -0
- package/dist/src/core/bridge/legacy/sharedCliAdapter.impl.js +16 -0
- package/dist/src/core/bridge/legacy/state/AppState.js +1 -0
- package/dist/src/core/bridge/legacy/utils/auth.js +1 -0
- package/dist/src/core/bridge/legacy/utils/bundledMode.js +1 -0
- package/dist/src/core/bridge/legacy/utils/cleanupRegistry.js +1 -0
- package/dist/src/core/bridge/legacy/utils/concurrentSessions.js +1 -0
- package/dist/src/core/bridge/legacy/utils/config.js +1 -0
- package/dist/src/core/bridge/legacy/utils/controlMessageCompat.js +1 -0
- package/dist/src/core/bridge/legacy/utils/debug.js +1 -0
- package/dist/src/core/bridge/legacy/utils/detectRepository.js +1 -0
- package/dist/src/core/bridge/legacy/utils/diagLogs.js +1 -0
- package/dist/src/core/bridge/legacy/utils/displayTags.js +1 -0
- package/dist/src/core/bridge/legacy/utils/envUtils.js +1 -0
- package/dist/src/core/bridge/legacy/utils/errors.js +1 -0
- package/dist/src/core/bridge/legacy/utils/format.js +1 -0
- package/dist/src/core/bridge/legacy/utils/getWorktreePathsPortable.js +1 -0
- package/dist/src/core/bridge/legacy/utils/git.js +1 -0
- package/dist/src/core/bridge/legacy/utils/hooks.js +1 -0
- package/dist/src/core/bridge/legacy/utils/imageResizer.js +1 -0
- package/dist/src/core/bridge/legacy/utils/intl.js +1 -0
- package/dist/src/core/bridge/legacy/utils/lazySchema.js +1 -0
- package/dist/src/core/bridge/legacy/utils/log.js +1 -0
- package/dist/src/core/bridge/legacy/utils/messages/mappers.js +1 -0
- package/dist/src/core/bridge/legacy/utils/messages.js +1 -0
- package/dist/src/core/bridge/legacy/utils/model/model.js +1 -0
- package/dist/src/core/bridge/legacy/utils/permissions/PermissionMode.js +1 -0
- package/dist/src/core/bridge/legacy/utils/permissions/PermissionUpdateSchema.js +1 -0
- package/dist/src/core/bridge/legacy/utils/privacyLevel.js +1 -0
- package/dist/src/core/bridge/legacy/utils/secureStorage/index.js +1 -0
- package/dist/src/core/bridge/legacy/utils/semver.js +1 -0
- package/dist/src/core/bridge/legacy/utils/sessionIngressAuth.js +1 -0
- package/dist/src/core/bridge/legacy/utils/sessionState.js +1 -0
- package/dist/src/core/bridge/legacy/utils/sessionStorage.js +1 -0
- package/dist/src/core/bridge/legacy/utils/sessionStoragePortable.js +1 -0
- package/dist/src/core/bridge/legacy/utils/sessionTitle.js +1 -0
- package/dist/src/core/bridge/legacy/utils/sinks.js +1 -0
- package/dist/src/core/bridge/legacy/utils/sleep.js +1 -0
- package/dist/src/core/bridge/legacy/utils/slowOperations.js +1 -0
- package/dist/src/core/bridge/legacy/utils/teleport/api.js +1 -0
- package/dist/src/core/bridge/legacy/utils/words.js +1 -0
- package/dist/src/core/bridge/legacy/utils/worktree.js +1 -0
- package/dist/src/core/bridge/runtime.js +34 -0
- package/dist/src/core/bridge/sharedCliAdapter.js +1 -0
- package/dist/src/core/buddy/legacy/appStateCliAdapter.js +1 -0
- package/dist/src/core/buddy/legacy/appStateStoreCliAdapter.js +1 -0
- package/dist/src/core/buddy/legacy/attachmentsCliAdapter.js +1 -0
- package/dist/src/core/buddy/legacy/configCliAdapter.js +1 -0
- package/dist/src/core/buddy/legacy/fullscreenCliAdapter.js +1 -0
- package/dist/src/core/buddy/legacy/notificationsCliAdapter.js +1 -0
- package/dist/src/core/buddy/legacy/themeCliAdapter.js +1 -0
- package/dist/src/core/buddy/legacy/thinkingCliAdapter.js +1 -0
- package/dist/src/core/buddy/legacy/useTerminalSizeCliAdapter.js +1 -0
- package/dist/src/core/cli/autoModeCliAdapter.js +1 -0
- package/dist/src/core/cli/commandPromptCliAdapter.js +6 -0
- package/dist/src/core/cli/legacy/autoModeCliAdapter.impl.js +7 -0
- package/dist/src/core/cli/legacy/bootstrap/state.js +1 -0
- package/dist/src/core/cli/legacy/claudeDesktopCliAdapter.js +1 -0
- package/dist/src/core/cli/legacy/cronJitterConfigCliAdapter.js +1 -0
- package/dist/src/core/cli/legacy/cronSchedulerCliAdapter.js +1 -0
- package/dist/src/core/cli/legacy/extractMemoriesCliAdapter.js +1 -0
- package/dist/src/core/cli/legacy/hooks/useManagePlugins.js +1 -0
- package/dist/src/core/cli/legacy/loadPluginHooksCliAdapter.js +1 -0
- package/dist/src/core/cli/legacy/modelListCliAdapter.impl.js +4 -0
- package/dist/src/core/cli/legacy/ndjsonCliAdapter.js +1 -0
- package/dist/src/core/cli/legacy/pluginStartupCheckCliAdapter.js +1 -0
- package/dist/src/core/cli/legacy/printCliAdapter.js +17 -0
- package/dist/src/core/cli/legacy/projectsBridgeCliAdapter.impl.js +31 -0
- package/dist/src/core/cli/legacy/providerCliAdapter.impl.js +4 -0
- package/dist/src/core/cli/legacy/remoteIOCliAdapter.js +13 -0
- package/dist/src/core/cli/legacy/services/analytics/index.js +1 -0
- package/dist/src/core/cli/legacy/services/api/errorUtils.js +1 -0
- package/dist/src/core/cli/legacy/services/api/firstTokenDate.js +1 -0
- package/dist/src/core/cli/legacy/services/mcp/MCPConnectionManager.js +1 -0
- package/dist/src/core/cli/legacy/services/mcp/auth.js +1 -0
- package/dist/src/core/cli/legacy/services/mcp/client.js +1 -0
- package/dist/src/core/cli/legacy/services/mcp/config.js +1 -0
- package/dist/src/core/cli/legacy/services/mcp/types.js +1 -0
- package/dist/src/core/cli/legacy/services/mcp/utils.js +1 -0
- package/dist/src/core/cli/legacy/services/oauth/client.js +1 -0
- package/dist/src/core/cli/legacy/services/oauth/geminiCli.js +1 -0
- package/dist/src/core/cli/legacy/services/oauth/getOauthProfile.js +1 -0
- package/dist/src/core/cli/legacy/services/oauth/index.js +1 -0
- package/dist/src/core/cli/legacy/services/oauth/types.js +1 -0
- package/dist/src/core/cli/legacy/services/plugins/pluginCliCommands.js +1 -0
- package/dist/src/core/cli/legacy/state/AppState.js +1 -0
- package/dist/src/core/cli/legacy/state/onChangeAppState.js +1 -0
- package/dist/src/core/cli/legacy/structuredIOCliAdapter.js +11 -0
- package/dist/src/core/cli/legacy/telemetryCliAdapter.js +1 -0
- package/dist/src/core/cli/legacy/udsMessagingCliAdapter.js +1 -0
- package/dist/src/core/cli/legacy/utils/CircularBuffer.js +1 -0
- package/dist/src/core/cli/legacy/utils/auth.js +1 -0
- package/dist/src/core/cli/legacy/utils/config.js +1 -0
- package/dist/src/core/cli/legacy/utils/cwd.js +1 -0
- package/dist/src/core/cli/legacy/utils/debug.js +1 -0
- package/dist/src/core/cli/legacy/utils/diagLogs.js +1 -0
- package/dist/src/core/cli/legacy/utils/envUtils.js +1 -0
- package/dist/src/core/cli/legacy/utils/errors.js +1 -0
- package/dist/src/core/cli/legacy/utils/gracefulShutdown.js +1 -0
- package/dist/src/core/cli/legacy/utils/json.js +1 -0
- package/dist/src/core/cli/legacy/utils/log.js +1 -0
- package/dist/src/core/cli/legacy/utils/model/providerBaseUrls.js +1 -0
- package/dist/src/core/cli/legacy/utils/model/providerProfiles.js +1 -0
- package/dist/src/core/cli/legacy/utils/model/providerProfilesDb.js +1 -0
- package/dist/src/core/cli/legacy/utils/model/providers.js +1 -0
- package/dist/src/core/cli/legacy/utils/mtls.js +1 -0
- package/dist/src/core/cli/legacy/utils/platform.js +1 -0
- package/dist/src/core/cli/legacy/utils/plugins/cacheUtils.js +1 -0
- package/dist/src/core/cli/legacy/utils/plugins/installCounts.js +1 -0
- package/dist/src/core/cli/legacy/utils/plugins/installedPluginsManager.js +1 -0
- package/dist/src/core/cli/legacy/utils/plugins/marketplaceHelpers.js +1 -0
- package/dist/src/core/cli/legacy/utils/plugins/marketplaceManager.js +1 -0
- package/dist/src/core/cli/legacy/utils/plugins/mcpPluginIntegration.js +1 -0
- package/dist/src/core/cli/legacy/utils/plugins/parseMarketplaceInput.js +1 -0
- package/dist/src/core/cli/legacy/utils/plugins/pluginIdentifier.js +1 -0
- package/dist/src/core/cli/legacy/utils/plugins/pluginLoader.js +1 -0
- package/dist/src/core/cli/legacy/utils/plugins/schemas.js +1 -0
- package/dist/src/core/cli/legacy/utils/plugins/validatePlugin.js +1 -0
- package/dist/src/core/cli/legacy/utils/proxy.js +1 -0
- package/dist/src/core/cli/legacy/utils/secureStorage/index.js +1 -0
- package/dist/src/core/cli/legacy/utils/sessionActivity.js +1 -0
- package/dist/src/core/cli/legacy/utils/sessionIngressAuth.js +1 -0
- package/dist/src/core/cli/legacy/utils/sessionState.js +1 -0
- package/dist/src/core/cli/legacy/utils/settings/settings.js +1 -0
- package/dist/src/core/cli/legacy/utils/sleep.js +1 -0
- package/dist/src/core/cli/legacy/utils/slowOperations.js +1 -0
- package/dist/src/core/cli/legacy/utils/status.js +1 -0
- package/dist/src/core/cli/legacy/utils/stringUtils.js +1 -0
- package/dist/src/core/cli/legacy/utils/userAgent.js +1 -0
- package/dist/src/core/cli/modelListCliAdapter.js +1 -0
- package/dist/src/core/cli/projectsBridgeCliAdapter.js +1 -0
- package/dist/src/core/cli/providerCliAdapter.js +1 -0
- package/dist/src/core/cli/runtime/headlessPrelude.js +116 -0
- package/dist/src/core/cli/runtime/mcpControlFlow.js +263 -0
- package/dist/src/core/cli/runtime/mcpLifecycle.js +106 -0
- package/dist/src/core/cli/runtime/permissionFlow.js +58 -0
- package/dist/src/core/cli/runtime/printDependencies.js +81 -0
- package/dist/src/core/cli/runtime/sessionLifecycle.js +199 -0
- package/dist/src/core/cli/runtime/sessionStateEmitters.js +10 -0
- package/dist/src/core/cli/runtime/structuredIORuntime.js +175 -0
- package/dist/src/core/cli/runtime/updateRuntime.js +292 -0
- package/dist/src/core/commands/commitCore.js +53 -0
- package/dist/src/core/commands/commitPushPrCore.js +105 -0
- package/dist/src/core/commands/promptExecution.js +20 -0
- package/dist/src/core/commands/securityReviewCore.js +199 -0
- package/dist/src/core/components/legacy/bootstrap/state.js +1 -0
- package/dist/src/core/components/legacy/bootstrap/state.js.js +2 -0
- package/dist/src/core/components/legacy/context/QueuedMessageContext.js +1 -0
- package/dist/src/core/components/legacy/context/QueuedMessageContext.js.js +2 -0
- package/dist/src/core/components/legacy/context/fpsMetrics.js +1 -0
- package/dist/src/core/components/legacy/context/fpsMetrics.js.js +2 -0
- package/dist/src/core/components/legacy/context/modalContext.js +1 -0
- package/dist/src/core/components/legacy/context/modalContext.js.js +2 -0
- package/dist/src/core/components/legacy/context/notifications.js +1 -0
- package/dist/src/core/components/legacy/context/notifications.js.js +2 -0
- package/dist/src/core/components/legacy/context/overlayContext.js +1 -0
- package/dist/src/core/components/legacy/context/overlayContext.js.js +2 -0
- package/dist/src/core/components/legacy/context/promptOverlayContext.js +1 -0
- package/dist/src/core/components/legacy/context/promptOverlayContext.js.js +2 -0
- package/dist/src/core/components/legacy/context/stats.js +1 -0
- package/dist/src/core/components/legacy/context/stats.js.js +2 -0
- package/dist/src/core/components/legacy/context/voice.js +1 -0
- package/dist/src/core/components/legacy/context/voice.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/fileSuggestions.js +1 -0
- package/dist/src/core/components/legacy/hooks/fileSuggestions.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/permissionLogging.js +1 -0
- package/dist/src/core/components/legacy/hooks/renderPlaceholder.js +1 -0
- package/dist/src/core/components/legacy/hooks/renderPlaceholder.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useApiKeyVerification.js +1 -0
- package/dist/src/core/components/legacy/hooks/useApiKeyVerification.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useArrowKeyHistory.js +1 -0
- package/dist/src/core/components/legacy/hooks/useArrowKeyHistory.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useCanUseTool.js +1 -0
- package/dist/src/core/components/legacy/hooks/useCommandQueue.js +1 -0
- package/dist/src/core/components/legacy/hooks/useCommandQueue.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useCopyOnSelect.js +1 -0
- package/dist/src/core/components/legacy/hooks/useCopyOnSelect.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useDoublePress.js +1 -0
- package/dist/src/core/components/legacy/hooks/useDoublePress.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useElapsedTime.js +1 -0
- package/dist/src/core/components/legacy/hooks/useElapsedTime.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useExitOnCtrlCDWithKeybindings.js +1 -0
- package/dist/src/core/components/legacy/hooks/useExitOnCtrlCDWithKeybindings.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useHistorySearch.js +1 -0
- package/dist/src/core/components/legacy/hooks/useHistorySearch.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useIdeConnectionStatus.js +1 -0
- package/dist/src/core/components/legacy/hooks/useIdeConnectionStatus.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useIdeSelection.js +1 -0
- package/dist/src/core/components/legacy/hooks/useIdeSelection.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useInputBuffer.js +1 -0
- package/dist/src/core/components/legacy/hooks/useInputBuffer.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useMainLoopModel.js +1 -0
- package/dist/src/core/components/legacy/hooks/useMainLoopModel.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useManagePlugins.js +1 -0
- package/dist/src/core/components/legacy/hooks/useMemoryUsage.js +1 -0
- package/dist/src/core/components/legacy/hooks/useMemoryUsage.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/usePasteHandler.js +1 -0
- package/dist/src/core/components/legacy/hooks/usePasteHandler.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/usePrStatus.js +1 -0
- package/dist/src/core/components/legacy/hooks/usePrStatus.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/usePromptSuggestion.js +1 -0
- package/dist/src/core/components/legacy/hooks/usePromptSuggestion.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useSearchInput.js +1 -0
- package/dist/src/core/components/legacy/hooks/useSearchInput.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useSettings.js +1 -0
- package/dist/src/core/components/legacy/hooks/useSettings.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useSettingsChange.js +1 -0
- package/dist/src/core/components/legacy/hooks/useSwarmPermissionPoller.js +1 -0
- package/dist/src/core/components/legacy/hooks/useTasksV2.js +1 -0
- package/dist/src/core/components/legacy/hooks/useTasksV2.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useTerminalSize.js +1 -0
- package/dist/src/core/components/legacy/hooks/useTerminalSize.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useTimeout.js +1 -0
- package/dist/src/core/components/legacy/hooks/useTypeahead.js +1 -0
- package/dist/src/core/components/legacy/hooks/useTypeahead.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useUpdateNotification.js +1 -0
- package/dist/src/core/components/legacy/hooks/useUpdateNotification.js.js +2 -0
- package/dist/src/core/components/legacy/hooks/useVoiceEnabled.js +1 -0
- package/dist/src/core/components/legacy/hooks/useVoiceEnabled.js.js +2 -0
- package/dist/src/core/components/legacy/services/PromptSuggestion/promptSuggestion.js +1 -0
- package/dist/src/core/components/legacy/services/PromptSuggestion/promptSuggestion.js.js +2 -0
- package/dist/src/core/components/legacy/services/PromptSuggestion/speculation.js +1 -0
- package/dist/src/core/components/legacy/services/PromptSuggestion/speculation.js.js +2 -0
- package/dist/src/core/components/legacy/services/analytics/growthbook.js +1 -0
- package/dist/src/core/components/legacy/services/analytics/growthbook.js.js +2 -0
- package/dist/src/core/components/legacy/services/analytics/index.js +1 -0
- package/dist/src/core/components/legacy/services/analytics/index.js.js +2 -0
- package/dist/src/core/components/legacy/services/api/claude.js +1 -0
- package/dist/src/core/components/legacy/services/api/claude.js.js +2 -0
- package/dist/src/core/components/legacy/services/api/errorUtils.js +1 -0
- package/dist/src/core/components/legacy/services/api/errorUtils.js.js +2 -0
- package/dist/src/core/components/legacy/services/api/errors.js +1 -0
- package/dist/src/core/components/legacy/services/api/errors.js.js +2 -0
- package/dist/src/core/components/legacy/services/api/overageCreditGrant.js +1 -0
- package/dist/src/core/components/legacy/services/api/overageCreditGrant.js.js +2 -0
- package/dist/src/core/components/legacy/services/api/referral.js +1 -0
- package/dist/src/core/components/legacy/services/api/referral.js.js +2 -0
- package/dist/src/core/components/legacy/services/api/usage.js +1 -0
- package/dist/src/core/components/legacy/services/api/usage.js.js +2 -0
- package/dist/src/core/components/legacy/services/claudeAiLimits.js +1 -0
- package/dist/src/core/components/legacy/services/claudeAiLimits.js.js +2 -0
- package/dist/src/core/components/legacy/services/claudeAiLimitsHook.js +1 -0
- package/dist/src/core/components/legacy/services/claudeAiLimitsHook.js.js +2 -0
- package/dist/src/core/components/legacy/services/compact/autoCompact.js +1 -0
- package/dist/src/core/components/legacy/services/compact/autoCompact.js.js +2 -0
- package/dist/src/core/components/legacy/services/compact/sessionMemoryCompact.js +1 -0
- package/dist/src/core/components/legacy/services/compact/sessionMemoryCompact.js.js +2 -0
- package/dist/src/core/components/legacy/services/compact/snipCompact.js +1 -0
- package/dist/src/core/components/legacy/services/compact/snipCompact.js.js +2 -0
- package/dist/src/core/components/legacy/services/compact/snipProjection.js +1 -0
- package/dist/src/core/components/legacy/services/compact/snipProjection.js.js +2 -0
- package/dist/src/core/components/legacy/services/contextCollapse/index.js +1 -0
- package/dist/src/core/components/legacy/services/contextCollapse/index.js.js +2 -0
- package/dist/src/core/components/legacy/services/diagnosticTracking.js +1 -0
- package/dist/src/core/components/legacy/services/diagnosticTracking.js.js +2 -0
- package/dist/src/core/components/legacy/services/mcp/channelAllowlist.js +1 -0
- package/dist/src/core/components/legacy/services/mcp/channelAllowlist.js.js +2 -0
- package/dist/src/core/components/legacy/services/mcp/channelNotification.js +1 -0
- package/dist/src/core/components/legacy/services/mcp/channelNotification.js.js +2 -0
- package/dist/src/core/components/legacy/services/mcp/config.js +1 -0
- package/dist/src/core/components/legacy/services/mcp/config.js.js +2 -0
- package/dist/src/core/components/legacy/services/mcp/types.js +1 -0
- package/dist/src/core/components/legacy/services/mcp/types.js.js +2 -0
- package/dist/src/core/components/legacy/services/notifier.js +1 -0
- package/dist/src/core/components/legacy/services/notifier.js.js +2 -0
- package/dist/src/core/components/legacy/services/oauth/client.js +1 -0
- package/dist/src/core/components/legacy/services/oauth/client.js.js +2 -0
- package/dist/src/core/components/legacy/services/oauth/geminiCli.js +1 -0
- package/dist/src/core/components/legacy/services/oauth/geminiCli.js.js +2 -0
- package/dist/src/core/components/legacy/services/oauth/index.js +1 -0
- package/dist/src/core/components/legacy/services/oauth/index.js.js +2 -0
- package/dist/src/core/components/legacy/services/oauth/types.js +1 -0
- package/dist/src/core/components/legacy/services/oauth/types.js.js +2 -0
- package/dist/src/core/components/legacy/services/policyLimits/index.js +1 -0
- package/dist/src/core/components/legacy/services/policyLimits/index.js.js +2 -0
- package/dist/src/core/components/legacy/state/AppState.js +1 -0
- package/dist/src/core/components/legacy/state/AppState.js.js +2 -0
- package/dist/src/core/components/legacy/state/onChangeAppState.js +1 -0
- package/dist/src/core/components/legacy/state/onChangeAppState.js.js +2 -0
- package/dist/src/core/components/legacy/state/selectors.js +1 -0
- package/dist/src/core/components/legacy/state/selectors.js.js +2 -0
- package/dist/src/core/components/legacy/state/teammateViewHelpers.js +1 -0
- package/dist/src/core/components/legacy/state/teammateViewHelpers.js.js +2 -0
- package/dist/src/core/components/legacy/tasks/BackgroundTaskStatus.js +1 -0
- package/dist/src/core/components/legacy/tasks/BackgroundTaskStatus.js.js +2 -0
- package/dist/src/core/components/legacy/tasks/BackgroundTasksDialog.js +1 -0
- package/dist/src/core/components/legacy/tasks/BackgroundTasksDialog.js.js +2 -0
- package/dist/src/core/components/legacy/tasks/InProcessTeammateTask/InProcessTeammateTask.js +1 -0
- package/dist/src/core/components/legacy/tasks/InProcessTeammateTask/InProcessTeammateTask.js.js +2 -0
- package/dist/src/core/components/legacy/tasks/InProcessTeammateTask/types.js +1 -0
- package/dist/src/core/components/legacy/tasks/InProcessTeammateTask/types.js.js +2 -0
- package/dist/src/core/components/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
- package/dist/src/core/components/legacy/tasks/LocalAgentTask/LocalAgentTask.js.js +2 -0
- package/dist/src/core/components/legacy/tasks/LocalShellTask/LocalShellTask.js +1 -0
- package/dist/src/core/components/legacy/tasks/LocalShellTask/LocalShellTask.js.js +2 -0
- package/dist/src/core/components/legacy/tasks/taskStatusUtils.js +1 -0
- package/dist/src/core/components/legacy/tasks/taskStatusUtils.js.js +2 -0
- package/dist/src/core/components/legacy/tasks/types.js +1 -0
- package/dist/src/core/components/legacy/tasks/types.js.js +2 -0
- package/dist/src/core/components/legacy/utils/Cursor.js +1 -0
- package/dist/src/core/components/legacy/utils/Cursor.js.js +2 -0
- package/dist/src/core/components/legacy/utils/activityManager.js +1 -0
- package/dist/src/core/components/legacy/utils/activityManager.js.js +2 -0
- package/dist/src/core/components/legacy/utils/advisor.js +1 -0
- package/dist/src/core/components/legacy/utils/advisor.js.js +2 -0
- package/dist/src/core/components/legacy/utils/agentSwarmsEnabled.js +1 -0
- package/dist/src/core/components/legacy/utils/agentSwarmsEnabled.js.js +2 -0
- package/dist/src/core/components/legacy/utils/analyzeContext.js +1 -0
- package/dist/src/core/components/legacy/utils/analyzeContext.js.js +2 -0
- package/dist/src/core/components/legacy/utils/array.js +1 -0
- package/dist/src/core/components/legacy/utils/array.js.js +2 -0
- package/dist/src/core/components/legacy/utils/attachments.js +1 -0
- package/dist/src/core/components/legacy/utils/attachments.js.js +2 -0
- package/dist/src/core/components/legacy/utils/auth.js +1 -0
- package/dist/src/core/components/legacy/utils/auth.js.js +2 -0
- package/dist/src/core/components/legacy/utils/authPortable.js +1 -0
- package/dist/src/core/components/legacy/utils/authPortable.js.js +2 -0
- package/dist/src/core/components/legacy/utils/autoUpdater.js +1 -0
- package/dist/src/core/components/legacy/utils/autoUpdater.js.js +2 -0
- package/dist/src/core/components/legacy/utils/awsAuthStatusManager.js +1 -0
- package/dist/src/core/components/legacy/utils/awsAuthStatusManager.js.js +2 -0
- package/dist/src/core/components/legacy/utils/browser.js +1 -0
- package/dist/src/core/components/legacy/utils/browser.js.js +2 -0
- package/dist/src/core/components/legacy/utils/claudeInChrome/setup.js +1 -0
- package/dist/src/core/components/legacy/utils/claudeInChrome/setup.js.js +2 -0
- package/dist/src/core/components/legacy/utils/claudemd.js +1 -0
- package/dist/src/core/components/legacy/utils/claudemd.js.js +2 -0
- package/dist/src/core/components/legacy/utils/cliHighlight.js +1 -0
- package/dist/src/core/components/legacy/utils/cliHighlight.js.js +2 -0
- package/dist/src/core/components/legacy/utils/collapseBackgroundBashNotifications.js +1 -0
- package/dist/src/core/components/legacy/utils/collapseBackgroundBashNotifications.js.js +2 -0
- package/dist/src/core/components/legacy/utils/collapseHookSummaries.js +1 -0
- package/dist/src/core/components/legacy/utils/collapseHookSummaries.js.js +2 -0
- package/dist/src/core/components/legacy/utils/collapseReadSearch.js +1 -0
- package/dist/src/core/components/legacy/utils/collapseReadSearch.js.js +2 -0
- package/dist/src/core/components/legacy/utils/collapseTeammateShutdowns.js +1 -0
- package/dist/src/core/components/legacy/utils/collapseTeammateShutdowns.js.js +2 -0
- package/dist/src/core/components/legacy/utils/config.js +1 -0
- package/dist/src/core/components/legacy/utils/config.js.js +2 -0
- package/dist/src/core/components/legacy/utils/context.js +1 -0
- package/dist/src/core/components/legacy/utils/context.js.js +2 -0
- package/dist/src/core/components/legacy/utils/contextSuggestions.js +1 -0
- package/dist/src/core/components/legacy/utils/contextSuggestions.js.js +2 -0
- package/dist/src/core/components/legacy/utils/cwd.js +1 -0
- package/dist/src/core/components/legacy/utils/cwd.js.js +2 -0
- package/dist/src/core/components/legacy/utils/debug.js +1 -0
- package/dist/src/core/components/legacy/utils/debug.js.js +2 -0
- package/dist/src/core/components/legacy/utils/desktopDeepLink.js +1 -0
- package/dist/src/core/components/legacy/utils/desktopDeepLink.js.js +2 -0
- package/dist/src/core/components/legacy/utils/detectRepository.js +1 -0
- package/dist/src/core/components/legacy/utils/detectRepository.js.js +2 -0
- package/dist/src/core/components/legacy/utils/diff.js +1 -0
- package/dist/src/core/components/legacy/utils/diff.js.js +2 -0
- package/dist/src/core/components/legacy/utils/directMemberMessage.js +1 -0
- package/dist/src/core/components/legacy/utils/directMemberMessage.js.js +2 -0
- package/dist/src/core/components/legacy/utils/displayTags.js +1 -0
- package/dist/src/core/components/legacy/utils/displayTags.js.js +2 -0
- package/dist/src/core/components/legacy/utils/doctorDiagnostic.js +1 -0
- package/dist/src/core/components/legacy/utils/doctorDiagnostic.js.js +2 -0
- package/dist/src/core/components/legacy/utils/editor.js +1 -0
- package/dist/src/core/components/legacy/utils/editor.js.js +2 -0
- package/dist/src/core/components/legacy/utils/effort.js +1 -0
- package/dist/src/core/components/legacy/utils/effort.js.js +2 -0
- package/dist/src/core/components/legacy/utils/env.js +1 -0
- package/dist/src/core/components/legacy/utils/env.js.js +2 -0
- package/dist/src/core/components/legacy/utils/envUtils.js +1 -0
- package/dist/src/core/components/legacy/utils/envUtils.js.js +2 -0
- package/dist/src/core/components/legacy/utils/errors.js +1 -0
- package/dist/src/core/components/legacy/utils/errors.js.js +2 -0
- package/dist/src/core/components/legacy/utils/extraUsage.js +1 -0
- package/dist/src/core/components/legacy/utils/extraUsage.js.js +2 -0
- package/dist/src/core/components/legacy/utils/fastMode.js +1 -0
- package/dist/src/core/components/legacy/utils/fastMode.js.js +2 -0
- package/dist/src/core/components/legacy/utils/file.js +1 -0
- package/dist/src/core/components/legacy/utils/file.js.js +2 -0
- package/dist/src/core/components/legacy/utils/format.js +1 -0
- package/dist/src/core/components/legacy/utils/format.js.js +2 -0
- package/dist/src/core/components/legacy/utils/fpsTracker.js +1 -0
- package/dist/src/core/components/legacy/utils/fpsTracker.js.js +2 -0
- package/dist/src/core/components/legacy/utils/fullscreen.js +1 -0
- package/dist/src/core/components/legacy/utils/fullscreen.js.js +2 -0
- package/dist/src/core/components/legacy/utils/getWorktreePaths.js +1 -0
- package/dist/src/core/components/legacy/utils/getWorktreePaths.js.js +2 -0
- package/dist/src/core/components/legacy/utils/ghPrStatus.js +1 -0
- package/dist/src/core/components/legacy/utils/ghPrStatus.js.js +2 -0
- package/dist/src/core/components/legacy/utils/git.js +1 -0
- package/dist/src/core/components/legacy/utils/git.js.js +2 -0
- package/dist/src/core/components/legacy/utils/gracefulShutdown.js +1 -0
- package/dist/src/core/components/legacy/utils/gracefulShutdown.js.js +2 -0
- package/dist/src/core/components/legacy/utils/groupToolUses.js +1 -0
- package/dist/src/core/components/legacy/utils/groupToolUses.js.js +2 -0
- package/dist/src/core/components/legacy/utils/handlePromptSubmit.js +1 -0
- package/dist/src/core/components/legacy/utils/handlePromptSubmit.js.js +2 -0
- package/dist/src/core/components/legacy/utils/hash.js +1 -0
- package/dist/src/core/components/legacy/utils/hash.js.js +2 -0
- package/dist/src/core/components/legacy/utils/heatmap.js +1 -0
- package/dist/src/core/components/legacy/utils/heatmap.js.js +2 -0
- package/dist/src/core/components/legacy/utils/highlightMatch.js +1 -0
- package/dist/src/core/components/legacy/utils/highlightMatch.js.js +2 -0
- package/dist/src/core/components/legacy/utils/hooks/fileChangedWatcher.js +1 -0
- package/dist/src/core/components/legacy/utils/hooks/fileChangedWatcher.js.js +2 -0
- package/dist/src/core/components/legacy/utils/hooks/skillImprovement.js +1 -0
- package/dist/src/core/components/legacy/utils/hooks/skillImprovement.js.js +2 -0
- package/dist/src/core/components/legacy/utils/hooks.js +1 -0
- package/dist/src/core/components/legacy/utils/hooks.js.js +2 -0
- package/dist/src/core/components/legacy/utils/http.js +1 -0
- package/dist/src/core/components/legacy/utils/http.js.js +2 -0
- package/dist/src/core/components/legacy/utils/ide.js +1 -0
- package/dist/src/core/components/legacy/utils/ide.js.js +2 -0
- package/dist/src/core/components/legacy/utils/imagePaste.js +1 -0
- package/dist/src/core/components/legacy/utils/imagePaste.js.js +2 -0
- package/dist/src/core/components/legacy/utils/imageResizer.js +1 -0
- package/dist/src/core/components/legacy/utils/imageResizer.js.js +2 -0
- package/dist/src/core/components/legacy/utils/imageStore.js +1 -0
- package/dist/src/core/components/legacy/utils/imageStore.js.js +2 -0
- package/dist/src/core/components/legacy/utils/ink.js +1 -0
- package/dist/src/core/components/legacy/utils/ink.js.js +2 -0
- package/dist/src/core/components/legacy/utils/intl.js +1 -0
- package/dist/src/core/components/legacy/utils/intl.js.js +2 -0
- package/dist/src/core/components/legacy/utils/keyboardShortcuts.js +1 -0
- package/dist/src/core/components/legacy/utils/keyboardShortcuts.js.js +2 -0
- package/dist/src/core/components/legacy/utils/localInstaller.js +1 -0
- package/dist/src/core/components/legacy/utils/localInstaller.js.js +2 -0
- package/dist/src/core/components/legacy/utils/log.js +1 -0
- package/dist/src/core/components/legacy/utils/log.js.js +2 -0
- package/dist/src/core/components/legacy/utils/logoV2Utils.js +1 -0
- package/dist/src/core/components/legacy/utils/logoV2Utils.js.js +2 -0
- package/dist/src/core/components/legacy/utils/managedEnvConstants.js +1 -0
- package/dist/src/core/components/legacy/utils/managedEnvConstants.js.js +2 -0
- package/dist/src/core/components/legacy/utils/markdown.js +1 -0
- package/dist/src/core/components/legacy/utils/markdown.js.js +2 -0
- package/dist/src/core/components/legacy/utils/memoryFileDetection.js +1 -0
- package/dist/src/core/components/legacy/utils/memoryFileDetection.js.js +2 -0
- package/dist/src/core/components/legacy/utils/messageQueueManager.js +1 -0
- package/dist/src/core/components/legacy/utils/messageQueueManager.js.js +2 -0
- package/dist/src/core/components/legacy/utils/messages.js +1 -0
- package/dist/src/core/components/legacy/utils/messages.js.js +2 -0
- package/dist/src/core/components/legacy/utils/model/model.js +1 -0
- package/dist/src/core/components/legacy/utils/model/model.js.js +2 -0
- package/dist/src/core/components/legacy/utils/model/modelOptions.js +1 -0
- package/dist/src/core/components/legacy/utils/model/modelOptions.js.js +2 -0
- package/dist/src/core/components/legacy/utils/model/providerBaseUrls.js +1 -0
- package/dist/src/core/components/legacy/utils/model/providerBaseUrls.js.js +2 -0
- package/dist/src/core/components/legacy/utils/model/providerCatalog.js +1 -0
- package/dist/src/core/components/legacy/utils/model/providerCatalog.js.js +2 -0
- package/dist/src/core/components/legacy/utils/model/providerModels.js +1 -0
- package/dist/src/core/components/legacy/utils/model/providerModels.js.js +2 -0
- package/dist/src/core/components/legacy/utils/model/providerProfiles.js +1 -0
- package/dist/src/core/components/legacy/utils/model/providerProfiles.js.js +2 -0
- package/dist/src/core/components/legacy/utils/model/providers.js +1 -0
- package/dist/src/core/components/legacy/utils/model/providers.js.js +2 -0
- package/dist/src/core/components/legacy/utils/nativeInstaller/index.js +1 -0
- package/dist/src/core/components/legacy/utils/nativeInstaller/index.js.js +2 -0
- package/dist/src/core/components/legacy/utils/nativeInstaller/packageManagers.js +1 -0
- package/dist/src/core/components/legacy/utils/nativeInstaller/packageManagers.js.js +2 -0
- package/dist/src/core/components/legacy/utils/permissions/PermissionMode.js +1 -0
- package/dist/src/core/components/legacy/utils/permissions/PermissionMode.js.js +2 -0
- package/dist/src/core/components/legacy/utils/permissions/autoModeState.js +1 -0
- package/dist/src/core/components/legacy/utils/permissions/autoModeState.js.js +2 -0
- package/dist/src/core/components/legacy/utils/permissions/filesystem.js +1 -0
- package/dist/src/core/components/legacy/utils/permissions/filesystem.js.js +2 -0
- package/dist/src/core/components/legacy/utils/permissions/getNextPermissionMode.js +1 -0
- package/dist/src/core/components/legacy/utils/permissions/getNextPermissionMode.js.js +2 -0
- package/dist/src/core/components/legacy/utils/permissions/permissionSetup.js +1 -0
- package/dist/src/core/components/legacy/utils/permissions/permissionSetup.js.js +2 -0
- package/dist/src/core/components/legacy/utils/platform.js +1 -0
- package/dist/src/core/components/legacy/utils/platform.js.js +2 -0
- package/dist/src/core/components/legacy/utils/plugins/installedPluginsManager.js +1 -0
- package/dist/src/core/components/legacy/utils/plugins/installedPluginsManager.js.js +2 -0
- package/dist/src/core/components/legacy/utils/preflightChecks.js +1 -0
- package/dist/src/core/components/legacy/utils/preflightChecks.js.js +2 -0
- package/dist/src/core/components/legacy/utils/privacyLevel.js +1 -0
- package/dist/src/core/components/legacy/utils/privacyLevel.js.js +2 -0
- package/dist/src/core/components/legacy/utils/processUserInput/processUserInput.js +1 -0
- package/dist/src/core/components/legacy/utils/processUserInput/processUserInput.js.js +2 -0
- package/dist/src/core/components/legacy/utils/promptEditor.js +1 -0
- package/dist/src/core/components/legacy/utils/promptEditor.js.js +2 -0
- package/dist/src/core/components/legacy/utils/readEditContext.js +1 -0
- package/dist/src/core/components/legacy/utils/readEditContext.js.js +2 -0
- package/dist/src/core/components/legacy/utils/readFileInRange.js +1 -0
- package/dist/src/core/components/legacy/utils/readFileInRange.js.js +2 -0
- package/dist/src/core/components/legacy/utils/releaseNoteTranslations.js +1 -0
- package/dist/src/core/components/legacy/utils/releaseNoteTranslations.js.js +2 -0
- package/dist/src/core/components/legacy/utils/releaseNotes.js +1 -0
- package/dist/src/core/components/legacy/utils/releaseNotes.js.js +2 -0
- package/dist/src/core/components/legacy/utils/renderOptions.js +1 -0
- package/dist/src/core/components/legacy/utils/renderOptions.js.js +2 -0
- package/dist/src/core/components/legacy/utils/ripgrep.js +1 -0
- package/dist/src/core/components/legacy/utils/ripgrep.js.js +2 -0
- package/dist/src/core/components/legacy/utils/sandbox/sandbox-adapter.js +1 -0
- package/dist/src/core/components/legacy/utils/sandbox/sandbox-adapter.js.js +2 -0
- package/dist/src/core/components/legacy/utils/screenshotClipboard.js +1 -0
- package/dist/src/core/components/legacy/utils/screenshotClipboard.js.js +2 -0
- package/dist/src/core/components/legacy/utils/semver.js +1 -0
- package/dist/src/core/components/legacy/utils/semver.js.js +2 -0
- package/dist/src/core/components/legacy/utils/sessionStorage.js +1 -0
- package/dist/src/core/components/legacy/utils/sessionStorage.js.js +2 -0
- package/dist/src/core/components/legacy/utils/settings/constants.js +1 -0
- package/dist/src/core/components/legacy/utils/settings/constants.js.js +2 -0
- package/dist/src/core/components/legacy/utils/settings/settings.js +1 -0
- package/dist/src/core/components/legacy/utils/settings/settings.js.js +2 -0
- package/dist/src/core/components/legacy/utils/settings/types.js +1 -0
- package/dist/src/core/components/legacy/utils/settings/types.js.js +2 -0
- package/dist/src/core/components/legacy/utils/settings/validation.js +1 -0
- package/dist/src/core/components/legacy/utils/settings/validation.js.js +2 -0
- package/dist/src/core/components/legacy/utils/sideQuestion.js +1 -0
- package/dist/src/core/components/legacy/utils/sideQuestion.js.js +2 -0
- package/dist/src/core/components/legacy/utils/sliceAnsi.js +1 -0
- package/dist/src/core/components/legacy/utils/sliceAnsi.js.js +2 -0
- package/dist/src/core/components/legacy/utils/slowOperations.js +1 -0
- package/dist/src/core/components/legacy/utils/slowOperations.js.js +2 -0
- package/dist/src/core/components/legacy/utils/standaloneAgent.js +1 -0
- package/dist/src/core/components/legacy/utils/standaloneAgent.js.js +2 -0
- package/dist/src/core/components/legacy/utils/stats.js +1 -0
- package/dist/src/core/components/legacy/utils/stats.js.js +2 -0
- package/dist/src/core/components/legacy/utils/status.js +1 -0
- package/dist/src/core/components/legacy/utils/status.js.js +2 -0
- package/dist/src/core/components/legacy/utils/statusNoticeDefinitions.js +1 -0
- package/dist/src/core/components/legacy/utils/statusNoticeDefinitions.js.js +2 -0
- package/dist/src/core/components/legacy/utils/stringUtils.js +1 -0
- package/dist/src/core/components/legacy/utils/stringUtils.js.js +2 -0
- package/dist/src/core/components/legacy/utils/suggestions/commandSuggestions.js +1 -0
- package/dist/src/core/components/legacy/utils/suggestions/commandSuggestions.js.js +2 -0
- package/dist/src/core/components/legacy/utils/suggestions/slackChannelSuggestions.js +1 -0
- package/dist/src/core/components/legacy/utils/suggestions/slackChannelSuggestions.js.js +2 -0
- package/dist/src/core/components/legacy/utils/swarm/backends/detection.js +1 -0
- package/dist/src/core/components/legacy/utils/swarm/backends/detection.js.js +2 -0
- package/dist/src/core/components/legacy/utils/swarm/backends/registry.js +1 -0
- package/dist/src/core/components/legacy/utils/swarm/backends/registry.js.js +2 -0
- package/dist/src/core/components/legacy/utils/swarm/backends/teammateModeSnapshot.js +1 -0
- package/dist/src/core/components/legacy/utils/swarm/backends/teammateModeSnapshot.js.js +2 -0
- package/dist/src/core/components/legacy/utils/swarm/constants.js +1 -0
- package/dist/src/core/components/legacy/utils/swarm/constants.js.js +2 -0
- package/dist/src/core/components/legacy/utils/swarm/teamHelpers.js +1 -0
- package/dist/src/core/components/legacy/utils/swarm/teamHelpers.js.js +2 -0
- package/dist/src/core/components/legacy/utils/swarm/teammateModel.js +1 -0
- package/dist/src/core/components/legacy/utils/swarm/teammateModel.js.js +2 -0
- package/dist/src/core/components/legacy/utils/systemPromptType.js +1 -0
- package/dist/src/core/components/legacy/utils/systemPromptType.js.js +2 -0
- package/dist/src/core/components/legacy/utils/systemTheme.js +1 -0
- package/dist/src/core/components/legacy/utils/systemTheme.js.js +2 -0
- package/dist/src/core/components/legacy/utils/task/framework.js +1 -0
- package/dist/src/core/components/legacy/utils/task/framework.js.js +2 -0
- package/dist/src/core/components/legacy/utils/tasks.js +1 -0
- package/dist/src/core/components/legacy/utils/tasks.js.js +2 -0
- package/dist/src/core/components/legacy/utils/teamDiscovery.js +1 -0
- package/dist/src/core/components/legacy/utils/teamDiscovery.js.js +2 -0
- package/dist/src/core/components/legacy/utils/teammate.js +1 -0
- package/dist/src/core/components/legacy/utils/teammate.js.js +2 -0
- package/dist/src/core/components/legacy/utils/teammateContext.js +1 -0
- package/dist/src/core/components/legacy/utils/teammateContext.js.js +2 -0
- package/dist/src/core/components/legacy/utils/teammateMailbox.js +1 -0
- package/dist/src/core/components/legacy/utils/teammateMailbox.js.js +2 -0
- package/dist/src/core/components/legacy/utils/telemetry/events.js +1 -0
- package/dist/src/core/components/legacy/utils/telemetry/events.js.js +2 -0
- package/dist/src/core/components/legacy/utils/teleport/environmentSelection.js +1 -0
- package/dist/src/core/components/legacy/utils/teleport/environmentSelection.js.js +2 -0
- package/dist/src/core/components/legacy/utils/teleport/environments.js +1 -0
- package/dist/src/core/components/legacy/utils/teleport/environments.js.js +2 -0
- package/dist/src/core/components/legacy/utils/textHighlighting.js +1 -0
- package/dist/src/core/components/legacy/utils/textHighlighting.js.js +2 -0
- package/dist/src/core/components/legacy/utils/theme.js +1 -0
- package/dist/src/core/components/legacy/utils/theme.js.js +2 -0
- package/dist/src/core/components/legacy/utils/thinking.js +1 -0
- package/dist/src/core/components/legacy/utils/thinking.js.js +2 -0
- package/dist/src/core/components/legacy/utils/tokenBudget.js +1 -0
- package/dist/src/core/components/legacy/utils/tokenBudget.js.js +2 -0
- package/dist/src/core/components/legacy/utils/tokens.js +1 -0
- package/dist/src/core/components/legacy/utils/tokens.js.js +2 -0
- package/dist/src/core/components/legacy/utils/transcriptSearch.js +1 -0
- package/dist/src/core/components/legacy/utils/transcriptSearch.js.js +2 -0
- package/dist/src/core/components/legacy/utils/ultraplan/keyword.js +1 -0
- package/dist/src/core/components/legacy/utils/ultraplan/keyword.js.js +2 -0
- package/dist/src/core/components/legacy/utils/undercover.js +1 -0
- package/dist/src/core/components/legacy/utils/undercover.js.js +2 -0
- package/dist/src/core/components/legacy/utils/worktree.js +1 -0
- package/dist/src/core/components/legacy/utils/worktree.js.js +2 -0
- package/dist/src/core/context/legacy/state/AppState.js +1 -0
- package/dist/src/core/context/legacy/state/AppState.js.js +1 -0
- package/dist/src/core/context/legacy/state/store.js +1 -0
- package/dist/src/core/context/legacy/state/store.js.js +1 -0
- package/dist/src/core/context/legacy/utils/config.js +1 -0
- package/dist/src/core/context/legacy/utils/config.js.js +1 -0
- package/dist/src/core/context/legacy/utils/fpsTracker.js +1 -0
- package/dist/src/core/context/legacy/utils/fpsTracker.js.js +1 -0
- package/dist/src/core/context/legacy/utils/mailbox.js +1 -0
- package/dist/src/core/context/legacy/utils/mailbox.js.js +1 -0
- package/dist/src/core/context/legacy/utils/theme.js +1 -0
- package/dist/src/core/context/legacy/utils/theme.js.js +1 -0
- package/dist/src/core/coordinator/legacy/services/analytics/growthbook.js +1 -0
- package/dist/src/core/coordinator/legacy/services/analytics/growthbook.js.js +1 -0
- package/dist/src/core/coordinator/legacy/services/analytics/index.js +1 -0
- package/dist/src/core/coordinator/legacy/services/analytics/index.js.js +1 -0
- package/dist/src/core/coordinator/legacy/utils/envUtils.js +1 -0
- package/dist/src/core/coordinator/legacy/utils/envUtils.js.js +1 -0
- package/dist/src/core/fast/cliAdapter.js +1 -0
- package/dist/src/core/fast/legacy/cliAdapter.impl.js +17 -0
- package/dist/src/core/fast/runtime.js +17 -0
- package/dist/src/core/fast/runtime.smoke.js +36 -0
- package/dist/src/core/feedback/cliAdapter.js +1 -0
- package/dist/src/core/feedback/legacy/cliAdapter.impl.js +4 -0
- package/dist/src/core/feedback/runtime.js +11 -0
- package/dist/src/core/hooks/legacy/bootstrap/state.js +3 -0
- package/dist/src/core/hooks/legacy/context/mailbox.js +3 -0
- package/dist/src/core/hooks/legacy/context/notifications.js +3 -0
- package/dist/src/core/hooks/legacy/context/overlayContext.js +3 -0
- package/dist/src/core/hooks/legacy/context/voice.js +3 -0
- package/dist/src/core/hooks/legacy/services/PromptSuggestion/speculation.js +3 -0
- package/dist/src/core/hooks/legacy/services/analytics/growthbook.js +3 -0
- package/dist/src/core/hooks/legacy/services/analytics/index.js +3 -0
- package/dist/src/core/hooks/legacy/services/api/claude.js +3 -0
- package/dist/src/core/hooks/legacy/services/awaySummary.js +3 -0
- package/dist/src/core/hooks/legacy/services/localDictation.js +3 -0
- package/dist/src/core/hooks/legacy/services/lsp/manager.js +3 -0
- package/dist/src/core/hooks/legacy/services/mcp/channelNotification.js +3 -0
- package/dist/src/core/hooks/legacy/services/mcp/channelPermissions.js +3 -0
- package/dist/src/core/hooks/legacy/services/mcp/claudeai.js +3 -0
- package/dist/src/core/hooks/legacy/services/mcp/client.js +3 -0
- package/dist/src/core/hooks/legacy/services/mcp/types.js +3 -0
- package/dist/src/core/hooks/legacy/services/notifier.js +3 -0
- package/dist/src/core/hooks/legacy/services/voice.js +1 -0
- package/dist/src/core/hooks/legacy/services/voice.js.js +1 -0
- package/dist/src/core/hooks/legacy/state/AppState.js +3 -0
- package/dist/src/core/hooks/legacy/state/AppStateStore.js +3 -0
- package/dist/src/core/hooks/legacy/state/teammateViewHelpers.js +3 -0
- package/dist/src/core/hooks/legacy/tasks/InProcessTeammateTask/InProcessTeammateTask.js +3 -0
- package/dist/src/core/hooks/legacy/tasks/InProcessTeammateTask/InProcessTeammateTask.js.js +1 -0
- package/dist/src/core/hooks/legacy/tasks/InProcessTeammateTask/types.js +3 -0
- package/dist/src/core/hooks/legacy/tasks/LocalAgentTask/LocalAgentTask.js +3 -0
- package/dist/src/core/hooks/legacy/tasks/types.js +3 -0
- package/dist/src/core/hooks/legacy/utils/Cursor.js +3 -0
- package/dist/src/core/hooks/legacy/utils/QueryGuard.js +3 -0
- package/dist/src/core/hooks/legacy/utils/agentSwarmsEnabled.js +3 -0
- package/dist/src/core/hooks/legacy/utils/argumentSubstitution.js +3 -0
- package/dist/src/core/hooks/legacy/utils/array.js +3 -0
- package/dist/src/core/hooks/legacy/utils/auth.js +3 -0
- package/dist/src/core/hooks/legacy/utils/autoModeDenials.js +3 -0
- package/dist/src/core/hooks/legacy/utils/bash/shellCompletion.js +3 -0
- package/dist/src/core/hooks/legacy/utils/classifierApprovals.js +3 -0
- package/dist/src/core/hooks/legacy/utils/claudeCodeHints.js +3 -0
- package/dist/src/core/hooks/legacy/utils/claudeInChrome/common.js +3 -0
- package/dist/src/core/hooks/legacy/utils/claudeInChrome/setup.js +3 -0
- package/dist/src/core/hooks/legacy/utils/cliHighlight.js +3 -0
- package/dist/src/core/hooks/legacy/utils/config.js +3 -0
- package/dist/src/core/hooks/legacy/utils/cronJitterConfig.js +3 -0
- package/dist/src/core/hooks/legacy/utils/cronScheduler.js +3 -0
- package/dist/src/core/hooks/legacy/utils/cronTasks.js +3 -0
- package/dist/src/core/hooks/legacy/utils/cwd.js +3 -0
- package/dist/src/core/hooks/legacy/utils/debug.js +3 -0
- package/dist/src/core/hooks/legacy/utils/diagLogs.js +3 -0
- package/dist/src/core/hooks/legacy/utils/diff.js +3 -0
- package/dist/src/core/hooks/legacy/utils/env.js +3 -0
- package/dist/src/core/hooks/legacy/utils/envUtils.js +3 -0
- package/dist/src/core/hooks/legacy/utils/errors.js +3 -0
- package/dist/src/core/hooks/legacy/utils/execFileNoThrow.js +3 -0
- package/dist/src/core/hooks/legacy/utils/fileHistory.js +3 -0
- package/dist/src/core/hooks/legacy/utils/format.js +3 -0
- package/dist/src/core/hooks/legacy/utils/fsOperations.js +3 -0
- package/dist/src/core/hooks/legacy/utils/fullscreen.js +3 -0
- package/dist/src/core/hooks/legacy/utils/ghPrStatus.js +3 -0
- package/dist/src/core/hooks/legacy/utils/git.js +3 -0
- package/dist/src/core/hooks/legacy/utils/gitDiff.js +3 -0
- package/dist/src/core/hooks/legacy/utils/gracefulShutdown.js +3 -0
- package/dist/src/core/hooks/legacy/utils/handlePromptSubmit.js +3 -0
- package/dist/src/core/hooks/legacy/utils/hooks/skillImprovement.js +3 -0
- package/dist/src/core/hooks/legacy/utils/hooks.js +3 -0
- package/dist/src/core/hooks/legacy/utils/ide.js +3 -0
- package/dist/src/core/hooks/legacy/utils/idePathConversion.js +3 -0
- package/dist/src/core/hooks/legacy/utils/imagePaste.js +3 -0
- package/dist/src/core/hooks/legacy/utils/imageResizer.js +3 -0
- package/dist/src/core/hooks/legacy/utils/inProcessTeammateHelpers.js +3 -0
- package/dist/src/core/hooks/legacy/utils/intl.js +3 -0
- package/dist/src/core/hooks/legacy/utils/lazySchema.js +3 -0
- package/dist/src/core/hooks/legacy/utils/log.js +3 -0
- package/dist/src/core/hooks/legacy/utils/messageQueueManager.js +3 -0
- package/dist/src/core/hooks/legacy/utils/messages/systemInit.js +3 -0
- package/dist/src/core/hooks/legacy/utils/messages.js +3 -0
- package/dist/src/core/hooks/legacy/utils/model/model.js +3 -0
- package/dist/src/core/hooks/legacy/utils/model/providerProfiles.js +3 -0
- package/dist/src/core/hooks/legacy/utils/modifiers.js +3 -0
- package/dist/src/core/hooks/legacy/utils/path.js +3 -0
- package/dist/src/core/hooks/legacy/utils/permissions/PermissionMode.js +3 -0
- package/dist/src/core/hooks/legacy/utils/permissions/PermissionResult.js +3 -0
- package/dist/src/core/hooks/legacy/utils/permissions/PermissionUpdate.js +3 -0
- package/dist/src/core/hooks/legacy/utils/permissions/PermissionUpdateSchema.js +3 -0
- package/dist/src/core/hooks/legacy/utils/permissions/permissionSetup.js +3 -0
- package/dist/src/core/hooks/legacy/utils/permissions/permissions.js +3 -0
- package/dist/src/core/hooks/legacy/utils/platform.js +3 -0
- package/dist/src/core/hooks/legacy/utils/plugins/hintRecommendation.js +3 -0
- package/dist/src/core/hooks/legacy/utils/plugins/loadPluginAgents.js +3 -0
- package/dist/src/core/hooks/legacy/utils/plugins/loadPluginCommands.js +3 -0
- package/dist/src/core/hooks/legacy/utils/plugins/loadPluginHooks.js +3 -0
- package/dist/src/core/hooks/legacy/utils/plugins/lspPluginIntegration.js +3 -0
- package/dist/src/core/hooks/legacy/utils/plugins/lspRecommendation.js +3 -0
- package/dist/src/core/hooks/legacy/utils/plugins/marketplaceManager.js +3 -0
- package/dist/src/core/hooks/legacy/utils/plugins/mcpPluginIntegration.js +3 -0
- package/dist/src/core/hooks/legacy/utils/plugins/officialMarketplaceStartupCheck.js +3 -0
- package/dist/src/core/hooks/legacy/utils/plugins/pluginAutoupdate.js +3 -0
- package/dist/src/core/hooks/legacy/utils/plugins/pluginBlocklist.js +3 -0
- package/dist/src/core/hooks/legacy/utils/plugins/pluginFlagging.js +3 -0
- package/dist/src/core/hooks/legacy/utils/plugins/pluginInstallationHelpers.js +3 -0
- package/dist/src/core/hooks/legacy/utils/plugins/pluginLoader.js +3 -0
- package/dist/src/core/hooks/legacy/utils/queueProcessor.js +3 -0
- package/dist/src/core/hooks/legacy/utils/ripgrep.js +3 -0
- package/dist/src/core/hooks/legacy/utils/sandbox/sandbox-adapter.js +3 -0
- package/dist/src/core/hooks/legacy/utils/sdkEventQueue.js +3 -0
- package/dist/src/core/hooks/legacy/utils/sessionStorage.js +3 -0
- package/dist/src/core/hooks/legacy/utils/sessionTitle.js +3 -0
- package/dist/src/core/hooks/legacy/utils/settings/allErrors.js +3 -0
- package/dist/src/core/hooks/legacy/utils/settings/changeDetector.js +3 -0
- package/dist/src/core/hooks/legacy/utils/settings/constants.js +3 -0
- package/dist/src/core/hooks/legacy/utils/settings/settings.js +3 -0
- package/dist/src/core/hooks/legacy/utils/settings/types.js +3 -0
- package/dist/src/core/hooks/legacy/utils/settings/validation.js +3 -0
- package/dist/src/core/hooks/legacy/utils/signal.js +3 -0
- package/dist/src/core/hooks/legacy/utils/skills/skillChangeDetector.js +3 -0
- package/dist/src/core/hooks/legacy/utils/slowOperations.js +3 -0
- package/dist/src/core/hooks/legacy/utils/stringUtils.js +3 -0
- package/dist/src/core/hooks/legacy/utils/suggestions/commandSuggestions.js +3 -0
- package/dist/src/core/hooks/legacy/utils/suggestions/directoryCompletion.js +3 -0
- package/dist/src/core/hooks/legacy/utils/suggestions/shellHistoryCompletion.js +3 -0
- package/dist/src/core/hooks/legacy/utils/suggestions/slackChannelSuggestions.js +3 -0
- package/dist/src/core/hooks/legacy/utils/swarm/backends/detection.js +3 -0
- package/dist/src/core/hooks/legacy/utils/swarm/backends/registry.js +3 -0
- package/dist/src/core/hooks/legacy/utils/swarm/backends/types.js +3 -0
- package/dist/src/core/hooks/legacy/utils/swarm/constants.js +3 -0
- package/dist/src/core/hooks/legacy/utils/swarm/leaderPermissionBridge.js +3 -0
- package/dist/src/core/hooks/legacy/utils/swarm/permissionSync.js +3 -0
- package/dist/src/core/hooks/legacy/utils/swarm/reconnection.js +3 -0
- package/dist/src/core/hooks/legacy/utils/swarm/teamHelpers.js +3 -0
- package/dist/src/core/hooks/legacy/utils/swarm/teammateInit.js +3 -0
- package/dist/src/core/hooks/legacy/utils/tasks.js +3 -0
- package/dist/src/core/hooks/legacy/utils/teammate.js +3 -0
- package/dist/src/core/hooks/legacy/utils/teammateContext.js +3 -0
- package/dist/src/core/hooks/legacy/utils/teammateMailbox.js +3 -0
- package/dist/src/core/hooks/legacy/utils/telemetry/events.js +3 -0
- package/dist/src/core/hooks/legacy/utils/teleport/api.js +3 -0
- package/dist/src/core/hooks/legacy/utils/teleport.js +3 -0
- package/dist/src/core/hooks/legacy/utils/terminalPanel.js +3 -0
- package/dist/src/core/hooks/legacy/utils/theme.js +3 -0
- package/dist/src/core/hooks/legacy/utils/toolPool.js +3 -0
- package/dist/src/core/hooks/legacy/utils/workloadContext.js +3 -0
- package/dist/src/core/ink/legacy/bootstrap/state.js +1 -0
- package/dist/src/core/ink/legacy/hooks/use-terminal-focus.js +1 -0
- package/dist/src/core/ink/legacy/utils/debug.js +1 -0
- package/dist/src/core/ink/legacy/utils/earlyInput.js +1 -0
- package/dist/src/core/ink/legacy/utils/env.js +1 -0
- package/dist/src/core/ink/legacy/utils/envUtils.js +1 -0
- package/dist/src/core/ink/legacy/utils/execFileNoThrow.js +1 -0
- package/dist/src/core/ink/legacy/utils/fullscreen.js +1 -0
- package/dist/src/core/ink/legacy/utils/intl.js +1 -0
- package/dist/src/core/ink/legacy/utils/log.js +1 -0
- package/dist/src/core/insights/insightsCommand.js +2555 -0
- package/dist/src/core/integration/chromeCliAdapter.js +1 -0
- package/dist/src/core/integration/chromeCore.js +24 -0
- package/dist/src/core/integration/commitPushPrCommand.js +16 -0
- package/dist/src/core/integration/ideCliAdapter.js +1 -0
- package/dist/src/core/integration/ideCore.js +13 -0
- package/dist/src/core/integration/ideCore.smoke.js +15 -0
- package/dist/src/core/integration/installCliAdapter.js +3 -0
- package/dist/src/core/integration/installGithubAppCliAdapter.js +1 -0
- package/dist/src/core/integration/installSlackAppCliAdapter.js +1 -0
- package/dist/src/core/integration/installSlackAppCore.js +7 -0
- package/dist/src/core/integration/legacy/chromeCliAdapter.impl.js +13 -0
- package/dist/src/core/integration/legacy/ideCliAdapter.impl.js +8 -0
- package/dist/src/core/integration/legacy/installGithubAppCliAdapter.impl.js +18 -0
- package/dist/src/core/integration/legacy/installSlackAppCliAdapter.impl.js +4 -0
- package/dist/src/core/integration/legacy/oauthFlowCliAdapter.impl.js +12 -0
- package/dist/src/core/integration/legacy/services/mcp/types.js +1 -0
- package/dist/src/core/integration/legacy/setupGithubActionsCliAdapter.impl.js +10 -0
- package/dist/src/core/integration/legacy/stickersCliAdapter.impl.js +2 -0
- package/dist/src/core/integration/legacy/upgradeCliAdapter.impl.js +11 -0
- package/dist/src/core/integration/legacy/upgradeIndexCliAdapter.impl.js +6 -0
- package/dist/src/core/integration/legacy/utils/ide.js +1 -0
- package/dist/src/core/integration/legacy/whatsappCliAdapter.impl.js +2 -0
- package/dist/src/core/integration/oauthFlowCliAdapter.js +1 -0
- package/dist/src/core/integration/runtime.smoke.js +20 -0
- package/dist/src/core/integration/setupGithubActionsCliAdapter.js +1 -0
- package/dist/src/core/integration/stickersCliAdapter.js +1 -0
- package/dist/src/core/integration/upgradeCliAdapter.js +1 -0
- package/dist/src/core/integration/upgradeCore.js +18 -0
- package/dist/src/core/integration/upgradeIndexCliAdapter.js +1 -0
- package/dist/src/core/integration/upgradeIndexCore.js +3 -0
- package/dist/src/core/integration/whatsappCliAdapter.js +1 -0
- package/dist/src/core/mcp/addCliAdapter.js +1 -0
- package/dist/src/core/mcp/addCore.js +85 -0
- package/dist/src/core/mcp/addCore.smoke.js +18 -0
- package/dist/src/core/mcp/cliAdapter.js +1 -0
- package/dist/src/core/mcp/legacy/addCliAdapter.impl.js +7 -0
- package/dist/src/core/mcp/legacy/cliAdapter.impl.js +3 -0
- package/dist/src/core/mcp/legacy/services/analytics/index.js +1 -0
- package/dist/src/core/mcp/legacy/services/mcp/MCPConnectionManager.js +1 -0
- package/dist/src/core/mcp/legacy/services/mcp/auth.js +1 -0
- package/dist/src/core/mcp/legacy/services/mcp/config.js +1 -0
- package/dist/src/core/mcp/legacy/services/mcp/mcpStringUtils.js +1 -0
- package/dist/src/core/mcp/legacy/services/mcp/types.js +1 -0
- package/dist/src/core/mcp/legacy/services/mcp/utils.js +1 -0
- package/dist/src/core/mcp/legacy/services/mcp/xaaIdpLogin.js +1 -0
- package/dist/src/core/mcp/legacy/state/AppState.js +1 -0
- package/dist/src/core/mcp/legacy/utils/envUtils.js +1 -0
- package/dist/src/core/mcp/legacy/utils/errors.js +1 -0
- package/dist/src/core/mcp/legacy/utils/settings/settings.js +1 -0
- package/dist/src/core/mcp/legacy/xaaIdpCliAdapter.impl.js +4 -0
- package/dist/src/core/mcp/xaaIdpCliAdapter.js +1 -0
- package/dist/src/core/mcp/xaaIdpCore.js +30 -0
- package/dist/src/core/migrations/legacy/bootstrap/state.js +1 -0
- package/dist/src/core/migrations/legacy/services/analytics/index.js +1 -0
- package/dist/src/core/migrations/legacy/utils/auth.js +1 -0
- package/dist/src/core/migrations/legacy/utils/config.js +1 -0
- package/dist/src/core/migrations/legacy/utils/log.js +1 -0
- package/dist/src/core/migrations/legacy/utils/model/model.js +1 -0
- package/dist/src/core/migrations/legacy/utils/model/providers.js +1 -0
- package/dist/src/core/migrations/legacy/utils/permissions/permissionSetup.js +1 -0
- package/dist/src/core/migrations/legacy/utils/settings/settings.js +1 -0
- package/dist/src/core/native-ts/legacy/utils/log.js +1 -0
- package/dist/src/core/native-ts/legacy/utils/log.js.js +1 -0
- package/dist/src/core/outputStyles/legacy/utils/debug.js +1 -0
- package/dist/src/core/outputStyles/legacy/utils/debug.js.js +1 -0
- package/dist/src/core/outputStyles/legacy/utils/frontmatterParser.js +1 -0
- package/dist/src/core/outputStyles/legacy/utils/frontmatterParser.js.js +1 -0
- package/dist/src/core/outputStyles/legacy/utils/log.js +1 -0
- package/dist/src/core/outputStyles/legacy/utils/log.js.js +1 -0
- package/dist/src/core/outputStyles/legacy/utils/markdownConfigLoader.js +1 -0
- package/dist/src/core/outputStyles/legacy/utils/markdownConfigLoader.js.js +1 -0
- package/dist/src/core/outputStyles/legacy/utils/plugins/loadPluginOutputStyles.js +1 -0
- package/dist/src/core/outputStyles/legacy/utils/plugins/loadPluginOutputStyles.js.js +1 -0
- package/dist/src/core/passes/cliAdapter.js +1 -0
- package/dist/src/core/passes/indexCliAdapter.js +1 -0
- package/dist/src/core/passes/indexCore.js +9 -0
- package/dist/src/core/passes/legacy/cliAdapter.impl.js +2 -0
- package/dist/src/core/passes/legacy/deps.js +4 -0
- package/dist/src/core/passes/legacy/indexCliAdapter.impl.js +2 -0
- package/dist/src/core/passes/legacy/services/analytics/index.js +1 -0
- package/dist/src/core/passes/legacy/services/api/referral.js +1 -0
- package/dist/src/core/passes/legacy/utils/config.js +1 -0
- package/dist/src/core/passes/runtime.js +10 -0
- package/dist/src/core/permissions/legacy/messagesCliAdapter.impl.js +2 -0
- package/dist/src/core/permissions/legacy/sandboxToggleCliAdapter.impl.js +12 -0
- package/dist/src/core/permissions/messagesCliAdapter.js +1 -0
- package/dist/src/core/permissions/sandboxToggleCliAdapter.js +3 -0
- package/dist/src/core/plugins/addMarketplaceCore.js +30 -0
- package/dist/src/core/plugins/analyticsCliAdapter.js +1 -0
- package/dist/src/core/plugins/browseCore.js +38 -0
- package/dist/src/core/plugins/cliAdapter.js +3 -0
- package/dist/src/core/plugins/commandParser.js +65 -0
- package/dist/src/core/plugins/discoverCore.js +50 -0
- package/dist/src/core/plugins/legacy/cliAdapter.impl.js +2 -0
- package/dist/src/core/plugins/legacy/discoverCliAdapter.js +1 -0
- package/dist/src/core/plugins/legacy/reloadCliAdapter.impl.js +2 -0
- package/dist/src/core/plugins/legacy/thinkbackIndexCliAdapter.impl.js +2 -0
- package/dist/src/core/plugins/legacy/thinkbackPlayCliAdapter.impl.js +3 -0
- package/dist/src/core/plugins/legacy/utils/marketplaceHelpers.js +1 -0
- package/dist/src/core/plugins/legacy/utils/settings/settings.js +1 -0
- package/dist/src/core/plugins/legacy/utils/settings/settings.js.js +1 -0
- package/dist/src/core/plugins/managementCore.js +102 -0
- package/dist/src/core/plugins/marketplacesCore.js +76 -0
- package/dist/src/core/plugins/optionsCore.js +30 -0
- package/dist/src/core/plugins/reloadCliAdapter.js +1 -0
- package/dist/src/core/plugins/reloadCore.js +20 -0
- package/dist/src/core/plugins/reloadCore.smoke.js +27 -0
- package/dist/src/core/plugins/runtime.smoke.js +118 -0
- package/dist/src/core/plugins/settingsCore.js +43 -0
- package/dist/src/core/plugins/thinkbackCore.js +65 -0
- package/dist/src/core/plugins/thinkbackIndexCliAdapter.js +1 -0
- package/dist/src/core/plugins/thinkbackIndexCore.js +3 -0
- package/dist/src/core/plugins/thinkbackPlayCliAdapter.js +1 -0
- package/dist/src/core/plugins/thinkbackPlayCore.js +21 -0
- package/dist/src/core/plugins/validateCore.js +38 -0
- package/dist/src/core/providers/advisorCliAdapter.js +4 -0
- package/dist/src/core/providers/costCliAdapter.js +3 -0
- package/dist/src/core/providers/effortCliAdapter.js +1 -0
- package/dist/src/core/providers/effortIndexCliAdapter.js +1 -0
- package/dist/src/core/providers/legacy/cliAdapter.impl.js +72 -0
- package/dist/src/core/providers/legacy/costCliAdapter.impl.js +3 -0
- package/dist/src/core/providers/legacy/effortCliAdapter.impl.js +17 -0
- package/dist/src/core/providers/legacy/effortIndexCliAdapter.impl.js +2 -0
- package/dist/src/core/providers/legacy/hooks/useMainLoopModel.js +1 -0
- package/dist/src/core/providers/legacy/limitsCliAdapter.impl.js +2 -0
- package/dist/src/core/providers/legacy/modelCliAdapter.impl.js +26 -0
- package/dist/src/core/providers/legacy/modelCommandCliAdapter.impl.js +18 -0
- package/dist/src/core/providers/legacy/modelIndexCliAdapter.impl.js +7 -0
- package/dist/src/core/providers/legacy/policyCliAdapter.impl.js +3 -0
- package/dist/src/core/providers/legacy/profileCliAdapter.impl.js +210 -0
- package/dist/src/core/providers/legacy/rateLimitOptionsCliAdapter.impl.js +14 -0
- package/dist/src/core/providers/legacy/state/AppState.js +1 -0
- package/dist/src/core/providers/legacy/utils/auth.js +1 -0
- package/dist/src/core/providers/legacy/utils/config.js +1 -0
- package/dist/src/core/providers/legacy/utils/model/providerBaseUrls.js +1 -0
- package/dist/src/core/providers/legacy/utils/model/providerCatalog.js +1 -0
- package/dist/src/core/providers/legacy/utils/model/providerProfiles.js +1 -0
- package/dist/src/core/providers/legacy/utils/model/providerProfilesDb.js +1 -0
- package/dist/src/core/providers/legacy/utils/model/providerSwitch.js +1 -0
- package/dist/src/core/providers/legacy/utils/model/providers.js +1 -0
- package/dist/src/core/providers/legacy/utils/secureStorage/index.js +1 -0
- package/dist/src/core/providers/legacy/utils/secureStorage/sqliteStorage.js +1 -0
- package/dist/src/core/providers/limitsCliAdapter.js +1 -0
- package/dist/src/core/providers/modelCliAdapter.js +1 -0
- package/dist/src/core/providers/modelCommandCliAdapter.js +1 -0
- package/dist/src/core/providers/modelCore.js +69 -0
- package/dist/src/core/providers/modelCore.smoke.js +40 -0
- package/dist/src/core/providers/modelIndexCliAdapter.js +1 -0
- package/dist/src/core/providers/modelIndexCore.js +3 -0
- package/dist/src/core/providers/policyCliAdapter.js +1 -0
- package/dist/src/core/providers/policyCore.js +62 -0
- package/dist/src/core/providers/profileCliAdapter.js +1 -0
- package/dist/src/core/providers/profileCore.js +169 -0
- package/dist/src/core/providers/profileCore.smoke.js +53 -0
- package/dist/src/core/providers/providerCommandAdapter.js +10 -0
- package/dist/src/core/providers/providerCommandCore.js +129 -0
- package/dist/src/core/providers/providerCommandCore.smoke.js +6 -0
- package/dist/src/core/providers/rateLimitOptionsCliAdapter.js +1 -0
- package/dist/src/core/query/btwCliAdapter.js +1 -0
- package/dist/src/core/query/btwCore.js +43 -0
- package/dist/src/core/query/cliAdapter.js +1 -0
- package/dist/src/core/query/legacy/btwCliAdapter.impl.js +37 -0
- package/dist/src/core/query/legacy/cliAdapter.impl.js +30 -0
- package/dist/src/core/query/legacy/context/modalContext.js +1 -0
- package/dist/src/core/query/legacy/hooks/useTerminalSize.js +1 -0
- package/dist/src/core/query/legacy/utils/abortController.js +1 -0
- package/dist/src/core/query/legacy/utils/config.js +1 -0
- package/dist/src/core/query/legacy/utils/errors.js +1 -0
- package/dist/src/core/query/legacy/utils/forkedAgent.js +1 -0
- package/dist/src/core/query/legacy/utils/messages.js +1 -0
- package/dist/src/core/query/legacy/utils/processUserInput/processUserInput.js +1 -0
- package/dist/src/core/query/legacy/utils/sideQuestion.js +1 -0
- package/dist/src/core/query/legacy/utils/systemPromptType.js +1 -0
- package/dist/src/core/query/runCommandCore.js +109 -0
- package/dist/src/core/remoteEnv/indexCliAdapter.js +1 -0
- package/dist/src/core/remoteEnv/indexCore.js +7 -0
- package/dist/src/core/remoteEnv/legacy/indexCliAdapter.impl.js +6 -0
- package/dist/src/core/remoteSetup/apiCore.js +115 -0
- package/dist/src/core/remoteSetup/cliAdapter.js +1 -0
- package/dist/src/core/remoteSetup/indexCliAdapter.js +1 -0
- package/dist/src/core/remoteSetup/indexCore.js +9 -0
- package/dist/src/core/remoteSetup/legacy/cliAdapter.impl.js +9 -0
- package/dist/src/core/remoteSetup/legacy/indexCliAdapter.impl.js +6 -0
- package/dist/src/core/remoteSetup/runtime.js +71 -0
- package/dist/src/core/review/cliAdapter.js +1 -0
- package/dist/src/core/review/legacy/cliAdapter.impl.js +11 -0
- package/dist/src/core/review/runtime.js +66 -0
- package/dist/src/core/review/runtime.smoke.js +31 -0
- package/dist/src/core/run/cliAdapter.js +1 -0
- package/dist/src/core/run/contracts.js +1 -0
- package/dist/src/core/run/legacy/cliAdapter.impl.js +55 -0
- package/dist/src/core/run/legacy/services/orchestration/policy/index.js +1 -0
- package/dist/src/core/run/legacy/utils/model/providerCatalog.js +1 -0
- package/dist/src/core/run/legacy/utils/orchestration/store/types.js +1 -0
- package/dist/src/core/run/runtime.js +310 -0
- package/dist/src/core/run/runtime.smoke.js +147 -0
- package/dist/src/core/schemas/legacy/utils/lazySchema.js +1 -0
- package/dist/src/core/schemas/legacy/utils/lazySchema.js.js +1 -0
- package/dist/src/core/schemas/legacy/utils/shell/shellProvider.js +1 -0
- package/dist/src/core/schemas/legacy/utils/shell/shellProvider.js.js +1 -0
- package/dist/src/core/screens/legacy/bootstrap/state.js +1 -0
- package/dist/src/core/screens/legacy/context/fpsMetrics.js +1 -0
- package/dist/src/core/screens/legacy/context/modalStackContext.js +1 -0
- package/dist/src/core/screens/legacy/context/notifications.js +1 -0
- package/dist/src/core/screens/legacy/hooks/notifs/useSettingsErrors.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useAfterFirstRender.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useApiKeyVerification.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useAssistantHistory.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useBackgroundTaskNavigation.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useCanUseTool.js +2 -0
- package/dist/src/core/screens/legacy/hooks/useCancelRequest.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useCommandKeybindings.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useCommandQueue.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useDeferredHookMessages.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useDirectConnect.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useGlobalKeybindings.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useIDEIntegration.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useIdeLogging.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useIdeSelection.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useInboxPoller.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useIssueFlagBanner.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useLogMessages.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useMailboxBridge.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useMainLoopModel.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useManagePlugins.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useMergedClients.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useMergedCommands.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useMergedTools.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useQueueProcessor.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useRemoteSession.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useReplBridge.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useSSHSession.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useScheduledTasks.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useSearchInput.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useSessionBackgrounding.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useSkillImprovementSurvey.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useSkillsChange.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useSwarmInitialization.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useTaskListWatcher.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useTasksV2.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useTeammateViewAutoExit.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useTelegramMirror.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useTerminalSize.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useVoiceIntegration.js +1 -0
- package/dist/src/core/screens/legacy/hooks/useWhatsAppMirror.js +1 -0
- package/dist/src/core/screens/legacy/services/PromptSuggestion/speculation.js +1 -0
- package/dist/src/core/screens/legacy/services/analytics/index.js +1 -0
- package/dist/src/core/screens/legacy/services/diagnosticTracking.js +1 -0
- package/dist/src/core/screens/legacy/services/mcp/types.js +1 -0
- package/dist/src/core/screens/legacy/services/notifier.js +1 -0
- package/dist/src/core/screens/legacy/services/preventSleep.js +1 -0
- package/dist/src/core/screens/legacy/state/AppState.js +1 -0
- package/dist/src/core/screens/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
- package/dist/src/core/screens/legacy/tasks/LocalMainSessionTask.js +1 -0
- package/dist/src/core/screens/legacy/utils/QueryGuard.js +1 -0
- package/dist/src/core/screens/legacy/utils/abortController.js +1 -0
- package/dist/src/core/screens/legacy/utils/activityManager.js +1 -0
- package/dist/src/core/screens/legacy/utils/agentSwarmsEnabled.js +1 -0
- package/dist/src/core/screens/legacy/utils/agenticSessionSearch.js +1 -0
- package/dist/src/core/screens/legacy/utils/array.js +1 -0
- package/dist/src/core/screens/legacy/utils/asciicast.js +1 -0
- package/dist/src/core/screens/legacy/utils/attachments.js +1 -0
- package/dist/src/core/screens/legacy/utils/autoRunIssue.js +1 -0
- package/dist/src/core/screens/legacy/utils/autoUpdater.js +1 -0
- package/dist/src/core/screens/legacy/utils/backgroundHousekeeping.js +1 -0
- package/dist/src/core/screens/legacy/utils/billing.js +1 -0
- package/dist/src/core/screens/legacy/utils/claudemd.js +1 -0
- package/dist/src/core/screens/legacy/utils/commitAttribution.js +1 -0
- package/dist/src/core/screens/legacy/utils/concurrentSessions.js +1 -0
- package/dist/src/core/screens/legacy/utils/config.js +1 -0
- package/dist/src/core/screens/legacy/utils/conversationRecovery.js +1 -0
- package/dist/src/core/screens/legacy/utils/crossProjectResume.js +1 -0
- package/dist/src/core/screens/legacy/utils/debug.js +1 -0
- package/dist/src/core/screens/legacy/utils/doctorContextWarnings.js +1 -0
- package/dist/src/core/screens/legacy/utils/doctorDiagnostic.js +1 -0
- package/dist/src/core/screens/legacy/utils/earlyInput.js +1 -0
- package/dist/src/core/screens/legacy/utils/editor.js +1 -0
- package/dist/src/core/screens/legacy/utils/effort.js +1 -0
- package/dist/src/core/screens/legacy/utils/envUtils.js +1 -0
- package/dist/src/core/screens/legacy/utils/envValidation.js +1 -0
- package/dist/src/core/screens/legacy/utils/errors.js +1 -0
- package/dist/src/core/screens/legacy/utils/exportRenderer.js +1 -0
- package/dist/src/core/screens/legacy/utils/file.js +1 -0
- package/dist/src/core/screens/legacy/utils/fileHistory.js +1 -0
- package/dist/src/core/screens/legacy/utils/fileStateCache.js +1 -0
- package/dist/src/core/screens/legacy/utils/format.js +1 -0
- package/dist/src/core/screens/legacy/utils/fullscreen.js +1 -0
- package/dist/src/core/screens/legacy/utils/gracefulShutdown.js +1 -0
- package/dist/src/core/screens/legacy/utils/handlePromptSubmit.js +1 -0
- package/dist/src/core/screens/legacy/utils/hooks.js +1 -0
- package/dist/src/core/screens/legacy/utils/ide.js +1 -0
- package/dist/src/core/screens/legacy/utils/log.js +1 -0
- package/dist/src/core/screens/legacy/utils/messagePredicates.js +1 -0
- package/dist/src/core/screens/legacy/utils/messageQueueManager.js +1 -0
- package/dist/src/core/screens/legacy/utils/messages.js +1 -0
- package/dist/src/core/screens/legacy/utils/nativeInstaller/pidLock.js +1 -0
- package/dist/src/core/screens/legacy/utils/permissions/PermissionUpdate.js +1 -0
- package/dist/src/core/screens/legacy/utils/permissions/filesystem.js +1 -0
- package/dist/src/core/screens/legacy/utils/permissions/permissionSetup.js +1 -0
- package/dist/src/core/screens/legacy/utils/plans.js +1 -0
- package/dist/src/core/screens/legacy/utils/processUserInput/processUserInput.js +1 -0
- package/dist/src/core/screens/legacy/utils/promptCategory.js +1 -0
- package/dist/src/core/screens/legacy/utils/queryHelpers.js +1 -0
- package/dist/src/core/screens/legacy/utils/queryProfiler.js +1 -0
- package/dist/src/core/screens/legacy/utils/sandbox/sandbox-adapter.js +1 -0
- package/dist/src/core/screens/legacy/utils/sessionRestore.js +1 -0
- package/dist/src/core/screens/legacy/utils/sessionStart.js +1 -0
- package/dist/src/core/screens/legacy/utils/sessionStorage.js +1 -0
- package/dist/src/core/screens/legacy/utils/sessionTitle.js +1 -0
- package/dist/src/core/screens/legacy/utils/settings/settings.js +1 -0
- package/dist/src/core/screens/legacy/utils/shell/outputLimits.js +1 -0
- package/dist/src/core/screens/legacy/utils/suggestions/shellHistoryCompletion.js +1 -0
- package/dist/src/core/screens/legacy/utils/swarm/leaderPermissionBridge.js +1 -0
- package/dist/src/core/screens/legacy/utils/swarm/permissionSync.js +1 -0
- package/dist/src/core/screens/legacy/utils/swarm/teamHelpers.js +1 -0
- package/dist/src/core/screens/legacy/utils/systemPrompt.js +1 -0
- package/dist/src/core/screens/legacy/utils/task/outputFormatting.js +1 -0
- package/dist/src/core/screens/legacy/utils/teammate.js +1 -0
- package/dist/src/core/screens/legacy/utils/telemetry/sessionTracing.js +1 -0
- package/dist/src/core/screens/legacy/utils/teleport/api.js +1 -0
- package/dist/src/core/screens/legacy/utils/thinking.js +1 -0
- package/dist/src/core/screens/legacy/utils/toolPool.js +1 -0
- package/dist/src/core/screens/legacy/utils/toolResultStorage.js +1 -0
- package/dist/src/core/screens/legacy/utils/undercover.js +1 -0
- package/dist/src/core/screens/legacy/utils/worktree.js +1 -0
- package/dist/src/core/screens/legacy/utils/xdg.js +1 -0
- package/dist/src/core/screens/legacy/utils/xml.js +1 -0
- package/dist/src/core/services/legacy/bootstrap/state.js +1 -0
- package/dist/src/core/services/legacy/context/notifications.js +1 -0
- package/dist/src/core/services/legacy/hooks/toolPermission/permissionLogging.js +1 -0
- package/dist/src/core/services/legacy/hooks/useCanUseTool.js +1 -0
- package/dist/src/core/services/legacy/hooks/useDiffData.js +1 -0
- package/dist/src/core/services/legacy/hooks/useDiffInIDE.js +1 -0
- package/dist/src/core/services/legacy/hooks/useElapsedTime.js +1 -0
- package/dist/src/core/services/legacy/hooks/useMainLoopModel.js +1 -0
- package/dist/src/core/services/legacy/hooks/useMergedTools.js +1 -0
- package/dist/src/core/services/legacy/hooks/useNotifyAfterTimeout.js +1 -0
- package/dist/src/core/services/legacy/hooks/useSearchInput.js +1 -0
- package/dist/src/core/services/legacy/hooks/useSettingsChange.js +1 -0
- package/dist/src/core/services/legacy/hooks/useTeleportResume.js +1 -0
- package/dist/src/core/services/legacy/hooks/useTurnDiffs.js +1 -0
- package/dist/src/core/services/legacy/hooks/useVimInput.js +1 -0
- package/dist/src/core/services/legacy/hooks/useVirtualScroll.js +1 -0
- package/dist/src/core/services/legacy/mcpCliAdapter.impl.js +36 -0
- package/dist/src/core/services/legacy/oauth/client.js +1 -0
- package/dist/src/core/services/legacy/oauth/types.js +1 -0
- package/dist/src/core/services/legacy/pluginsCliAdapter.impl.js +23 -0
- package/dist/src/core/services/legacy/services/analytics/firstPartyEventLogger.js +1 -0
- package/dist/src/core/services/legacy/services/analytics/growthbook.js +1 -0
- package/dist/src/core/services/legacy/services/analytics.js +1 -0
- package/dist/src/core/services/legacy/services/api/grove.js +1 -0
- package/dist/src/core/services/legacy/services/autoDream/config.js +1 -0
- package/dist/src/core/services/legacy/services/autoDream/consolidationLock.js +1 -0
- package/dist/src/core/services/legacy/services/localDictation.js +1 -0
- package/dist/src/core/services/legacy/services/lsp/manager.js +1 -0
- package/dist/src/core/services/legacy/services/mcp/MCPConnectionManager.js +1 -0
- package/dist/src/core/services/legacy/services/mcp/auth.js +1 -0
- package/dist/src/core/services/legacy/services/mcp/client.js +1 -0
- package/dist/src/core/services/legacy/services/mcp/config.js +1 -0
- package/dist/src/core/services/legacy/services/mcp/elicitationHandler.js +1 -0
- package/dist/src/core/services/legacy/services/mcp/mcpStringUtils.js +1 -0
- package/dist/src/core/services/legacy/services/mcp/types.js +1 -0
- package/dist/src/core/services/legacy/services/mcp/utils.js +1 -0
- package/dist/src/core/services/legacy/services/policyLimits/index.js +1 -0
- package/dist/src/core/services/legacy/services/remoteManagedSettings/index.js +1 -0
- package/dist/src/core/services/legacy/services/voice.js +1 -0
- package/dist/src/core/services/legacy/state/AppState.js +1 -0
- package/dist/src/core/services/legacy/state/AppStateStore.js +1 -0
- package/dist/src/core/services/legacy/state/selectors.js +1 -0
- package/dist/src/core/services/legacy/state/store.js +1 -0
- package/dist/src/core/services/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
- package/dist/src/core/services/legacy/tasks/LocalShellTask/guards.js +1 -0
- package/dist/src/core/services/legacy/utils/Shell.js +1 -0
- package/dist/src/core/services/legacy/utils/abortController.js +1 -0
- package/dist/src/core/services/legacy/utils/advisor.js +1 -0
- package/dist/src/core/services/legacy/utils/agentContext.js +1 -0
- package/dist/src/core/services/legacy/utils/agentSwarmsEnabled.js +1 -0
- package/dist/src/core/services/legacy/utils/api.js +1 -0
- package/dist/src/core/services/legacy/utils/apiPreconnect.js +1 -0
- package/dist/src/core/services/legacy/utils/array.js +1 -0
- package/dist/src/core/services/legacy/utils/attachments.js +1 -0
- package/dist/src/core/services/legacy/utils/attributionHooks.js +1 -0
- package/dist/src/core/services/legacy/utils/auth.js +1 -0
- package/dist/src/core/services/legacy/utils/aws.js +1 -0
- package/dist/src/core/services/legacy/utils/betas.js +1 -0
- package/dist/src/core/services/legacy/utils/billing.js +1 -0
- package/dist/src/core/services/legacy/utils/browser.js +1 -0
- package/dist/src/core/services/legacy/utils/caCertsConfig.js +1 -0
- package/dist/src/core/services/legacy/utils/classifierApprovals.js +1 -0
- package/dist/src/core/services/legacy/utils/claudeInChrome/chromeNativeHost.js +1 -0
- package/dist/src/core/services/legacy/utils/claudeInChrome/common.js +1 -0
- package/dist/src/core/services/legacy/utils/claudeInChrome/mcpServer.js +1 -0
- package/dist/src/core/services/legacy/utils/claudeInChrome/prompt.js +1 -0
- package/dist/src/core/services/legacy/utils/claudeInChrome/toolRendering.js +1 -0
- package/dist/src/core/services/legacy/utils/claudemd.js +1 -0
- package/dist/src/core/services/legacy/utils/cleanupRegistry.js +1 -0
- package/dist/src/core/services/legacy/utils/computerControlMcp/common.js +1 -0
- package/dist/src/core/services/legacy/utils/computerUse/common.js +1 -0
- package/dist/src/core/services/legacy/utils/computerUse/mcpServer.js +1 -0
- package/dist/src/core/services/legacy/utils/computerUse/wrapper.js +1 -0
- package/dist/src/core/services/legacy/utils/concurrentSessions.js +1 -0
- package/dist/src/core/services/legacy/utils/config.js +1 -0
- package/dist/src/core/services/legacy/utils/contentArray.js +1 -0
- package/dist/src/core/services/legacy/utils/context.js +1 -0
- package/dist/src/core/services/legacy/utils/contextAnalysis.js +1 -0
- package/dist/src/core/services/legacy/utils/cwd.js +1 -0
- package/dist/src/core/services/legacy/utils/databaseMcp/common.js +1 -0
- package/dist/src/core/services/legacy/utils/databaseMcp/mcpServer.js +1 -0
- package/dist/src/core/services/legacy/utils/debug.js +1 -0
- package/dist/src/core/services/legacy/utils/detectRepository.js +1 -0
- package/dist/src/core/services/legacy/utils/diagLogs.js +1 -0
- package/dist/src/core/services/legacy/utils/earlyInput.js +1 -0
- package/dist/src/core/services/legacy/utils/effort.js +1 -0
- package/dist/src/core/services/legacy/utils/env.js +1 -0
- package/dist/src/core/services/legacy/utils/envDynamic.js +1 -0
- package/dist/src/core/services/legacy/utils/envUtils.js +1 -0
- package/dist/src/core/services/legacy/utils/envValidation.js +1 -0
- package/dist/src/core/services/legacy/utils/errors.js +1 -0
- package/dist/src/core/services/legacy/utils/execFileNoThrow.js +1 -0
- package/dist/src/core/services/legacy/utils/fastMode.js +1 -0
- package/dist/src/core/services/legacy/utils/file.js +1 -0
- package/dist/src/core/services/legacy/utils/fileRead.js +1 -0
- package/dist/src/core/services/legacy/utils/fileStateCache.js +1 -0
- package/dist/src/core/services/legacy/utils/fingerprint.js +1 -0
- package/dist/src/core/services/legacy/utils/forkedAgent.js +1 -0
- package/dist/src/core/services/legacy/utils/format.js +1 -0
- package/dist/src/core/services/legacy/utils/fsOperations.js +1 -0
- package/dist/src/core/services/legacy/utils/generators.js +1 -0
- package/dist/src/core/services/legacy/utils/genericProcessUtils.js +1 -0
- package/dist/src/core/services/legacy/utils/git.js +1 -0
- package/dist/src/core/services/legacy/utils/gracefulShutdown.js +1 -0
- package/dist/src/core/services/legacy/utils/hash.js +1 -0
- package/dist/src/core/services/legacy/utils/headlessProfiler.js +1 -0
- package/dist/src/core/services/legacy/utils/hooks/postSamplingHooks.js +1 -0
- package/dist/src/core/services/legacy/utils/hooks.js +1 -0
- package/dist/src/core/services/legacy/utils/http.js +1 -0
- package/dist/src/core/services/legacy/utils/ide.js +1 -0
- package/dist/src/core/services/legacy/utils/imageResizer.js +1 -0
- package/dist/src/core/services/legacy/utils/imageValidation.js +1 -0
- package/dist/src/core/services/legacy/utils/json.js +1 -0
- package/dist/src/core/services/legacy/utils/jsonRead.js +1 -0
- package/dist/src/core/services/legacy/utils/lazySchema.js +1 -0
- package/dist/src/core/services/legacy/utils/listSessionsImpl.js +1 -0
- package/dist/src/core/services/legacy/utils/log.js +1 -0
- package/dist/src/core/services/legacy/utils/managedEnv.js +1 -0
- package/dist/src/core/services/legacy/utils/mcpInstructionsDelta.js +1 -0
- package/dist/src/core/services/legacy/utils/memoize.js +1 -0
- package/dist/src/core/services/legacy/utils/memory/types.js +1 -0
- package/dist/src/core/services/legacy/utils/messageQueueManager.js +1 -0
- package/dist/src/core/services/legacy/utils/messages.js +1 -0
- package/dist/src/core/services/legacy/utils/model/bedrock.js +1 -0
- package/dist/src/core/services/legacy/utils/model/model.js +1 -0
- package/dist/src/core/services/legacy/utils/model/modelStrings.js +1 -0
- package/dist/src/core/services/legacy/utils/model/providerBaseUrls.js +1 -0
- package/dist/src/core/services/legacy/utils/model/providerCatalog.js +1 -0
- package/dist/src/core/services/legacy/utils/model/providerProfiles.js +1 -0
- package/dist/src/core/services/legacy/utils/model/providers.js +1 -0
- package/dist/src/core/services/legacy/utils/modelCost.js +1 -0
- package/dist/src/core/services/legacy/utils/mtls.js +1 -0
- package/dist/src/core/services/legacy/utils/orchestration/store/index.js +1 -0
- package/dist/src/core/services/legacy/utils/orchestration/store/orchestrationDb.js +1 -0
- package/dist/src/core/services/legacy/utils/orchestration/store/providerAgentStore.js +1 -0
- package/dist/src/core/services/legacy/utils/orchestration/store/providerWorkspaceStore.js +1 -0
- package/dist/src/core/services/legacy/utils/orchestration/store/runStore.js +1 -0
- package/dist/src/core/services/legacy/utils/orchestration/store/teamStore.js +1 -0
- package/dist/src/core/services/legacy/utils/orchestration/store/types.js +1 -0
- package/dist/src/core/services/legacy/utils/path.js +1 -0
- package/dist/src/core/services/legacy/utils/permissions/PermissionMode.js +1 -0
- package/dist/src/core/services/legacy/utils/permissions/PermissionResult.js +1 -0
- package/dist/src/core/services/legacy/utils/permissions/autoModeState.js +1 -0
- package/dist/src/core/services/legacy/utils/permissions/filesystem.js +1 -0
- package/dist/src/core/services/legacy/utils/permissions/permissions.js +1 -0
- package/dist/src/core/services/legacy/utils/plans.js +1 -0
- package/dist/src/core/services/legacy/utils/platform.js +1 -0
- package/dist/src/core/services/legacy/utils/plugins/installedPluginsManager.js +1 -0
- package/dist/src/core/services/legacy/utils/plugins/lspPluginIntegration.js +1 -0
- package/dist/src/core/services/legacy/utils/plugins/marketplaceManager.js +1 -0
- package/dist/src/core/services/legacy/utils/plugins/officialMarketplace.js +1 -0
- package/dist/src/core/services/legacy/utils/plugins/pluginLoader.js +1 -0
- package/dist/src/core/services/legacy/utils/privacyLevel.js +1 -0
- package/dist/src/core/services/legacy/utils/process.js +1 -0
- package/dist/src/core/services/legacy/utils/proxy.js +1 -0
- package/dist/src/core/services/legacy/utils/queryHelpers.js +1 -0
- package/dist/src/core/services/legacy/utils/queryProfiler.js +1 -0
- package/dist/src/core/services/legacy/utils/renderOptions.js +1 -0
- package/dist/src/core/services/legacy/utils/secureStorage/index.js +1 -0
- package/dist/src/core/services/legacy/utils/sequential.js +1 -0
- package/dist/src/core/services/legacy/utils/sessionActivity.js +1 -0
- package/dist/src/core/services/legacy/utils/sessionIngressAuth.js +1 -0
- package/dist/src/core/services/legacy/utils/sessionStart.js +1 -0
- package/dist/src/core/services/legacy/utils/sessionStorage.js +1 -0
- package/dist/src/core/services/legacy/utils/settings/changeDetector.js +1 -0
- package/dist/src/core/services/legacy/utils/settings/internalWrites.js +1 -0
- package/dist/src/core/services/legacy/utils/settings/settings.js +1 -0
- package/dist/src/core/services/legacy/utils/settings/settingsCache.js +1 -0
- package/dist/src/core/services/legacy/utils/settings/types.js +1 -0
- package/dist/src/core/services/legacy/utils/shell/shellToolUtils.js +1 -0
- package/dist/src/core/services/legacy/utils/signal.js +1 -0
- package/dist/src/core/services/legacy/utils/sinks.js +1 -0
- package/dist/src/core/services/legacy/utils/sleep.js +1 -0
- package/dist/src/core/services/legacy/utils/slowOperations.js +1 -0
- package/dist/src/core/services/legacy/utils/startupProfiler.js +1 -0
- package/dist/src/core/services/legacy/utils/stream.js +1 -0
- package/dist/src/core/services/legacy/utils/stringUtils.js +1 -0
- package/dist/src/core/services/legacy/utils/subprocessEnv.js +1 -0
- package/dist/src/core/services/legacy/utils/swarm/teamHelpers.js +1 -0
- package/dist/src/core/services/legacy/utils/systemPromptType.js +1 -0
- package/dist/src/core/services/legacy/utils/task/diskOutput.js +1 -0
- package/dist/src/core/services/legacy/utils/teammate.js +1 -0
- package/dist/src/core/services/legacy/utils/telemetry/betaSessionTracing.js +1 -0
- package/dist/src/core/services/legacy/utils/telemetry/events.js +1 -0
- package/dist/src/core/services/legacy/utils/telemetry/instrumentation.js +1 -0
- package/dist/src/core/services/legacy/utils/telemetry/sessionTracing.js +1 -0
- package/dist/src/core/services/legacy/utils/telemetryAttributes.js +1 -0
- package/dist/src/core/services/legacy/utils/teleport/api.js +1 -0
- package/dist/src/core/services/legacy/utils/thinking.js +1 -0
- package/dist/src/core/services/legacy/utils/tokens.js +1 -0
- package/dist/src/core/services/legacy/utils/toolErrors.js +1 -0
- package/dist/src/core/services/legacy/utils/toolResultStorage.js +1 -0
- package/dist/src/core/services/legacy/utils/toolSearch.js +1 -0
- package/dist/src/core/services/legacy/utils/user.js +1 -0
- package/dist/src/core/services/legacy/utils/userAgent.js +1 -0
- package/dist/src/core/services/legacy/utils/windowsPaths.js +1 -0
- package/dist/src/core/services/legacy/utils/worktree.js +1 -0
- package/dist/src/core/services/legacy/utils/worktreeModeEnabled.js +1 -0
- package/dist/src/core/services/legacy/utils/zodToJsonSchema.js +1 -0
- package/dist/src/core/services/mcpCliAdapter.js +36 -0
- package/dist/src/core/services/pluginsCliAdapter.js +23 -0
- package/dist/src/core/session/addDirCliAdapter.js +1 -0
- package/dist/src/core/session/addDirValidationCliAdapter.js +1 -0
- package/dist/src/core/session/branchCliAdapter.js +1 -0
- package/dist/src/core/session/branchCore.js +103 -0
- package/dist/src/core/session/branchCore.smoke.js +20 -0
- package/dist/src/core/session/briefCliAdapter.js +4 -0
- package/dist/src/core/session/clearCachesCore.js +33 -0
- package/dist/src/core/session/clearConversationCore.js +37 -0
- package/dist/src/core/session/cliAdapter.js +2 -0
- package/dist/src/core/session/colorCliAdapter.js +1 -0
- package/dist/src/core/session/colorCore.js +7 -0
- package/dist/src/core/session/compactCliAdapter.js +1 -0
- package/dist/src/core/session/compactCore.js +112 -0
- package/dist/src/core/session/contextCore.js +160 -0
- package/dist/src/core/session/contextRenderCliAdapter.js +1 -0
- package/dist/src/core/session/contracts.js +1 -0
- package/dist/src/core/session/copyCliAdapter.js +1 -0
- package/dist/src/core/session/exitCliAdapter.js +1 -0
- package/dist/src/core/session/exportCliAdapter.js +1 -0
- package/dist/src/core/session/exportCore.js +59 -0
- package/dist/src/core/session/filesCliAdapter.js +1 -0
- package/dist/src/core/session/generateSessionNameCliAdapter.js +1 -0
- package/dist/src/core/session/generateSessionNameCore.js +46 -0
- package/dist/src/core/session/generateSessionNameCore.smoke.js +23 -0
- package/dist/src/core/session/heapdumpCliAdapter.js +1 -0
- package/dist/src/core/session/initCliAdapter.js +1 -0
- package/dist/src/core/session/keybindingsCliAdapter.js +1 -0
- package/dist/src/core/session/legacy/addDirCliAdapter.impl.js +4 -0
- package/dist/src/core/session/legacy/addDirValidationCliAdapter.impl.js +5 -0
- package/dist/src/core/session/legacy/branchCliAdapter.impl.js +37 -0
- package/dist/src/core/session/legacy/cliAdapter.impl.js +244 -0
- package/dist/src/core/session/legacy/colorCliAdapter.impl.js +5 -0
- package/dist/src/core/session/legacy/compactCliAdapter.impl.js +11 -0
- package/dist/src/core/session/legacy/compactCliAdapter.js +9 -0
- package/dist/src/core/session/legacy/contextCliAdapter.js +6 -0
- package/dist/src/core/session/legacy/contextCollapseIndex.js +1 -0
- package/dist/src/core/session/legacy/contextCollapseOperations.js +1 -0
- package/dist/src/core/session/legacy/contextRenderCliAdapter.impl.js +2 -0
- package/dist/src/core/session/legacy/copyCliAdapter.impl.js +5 -0
- package/dist/src/core/session/legacy/exitCliAdapter.impl.js +4 -0
- package/dist/src/core/session/legacy/exportCliAdapter.impl.js +4 -0
- package/dist/src/core/session/legacy/filesCliAdapter.impl.js +3 -0
- package/dist/src/core/session/legacy/generateSessionNameCliAdapter.impl.js +19 -0
- package/dist/src/core/session/legacy/heapdumpCliAdapter.impl.js +2 -0
- package/dist/src/core/session/legacy/keybindingsCliAdapter.impl.js +3 -0
- package/dist/src/core/session/legacy/memoryCliAdapter.impl.js +26 -0
- package/dist/src/core/session/legacy/planCliAdapter.impl.js +32 -0
- package/dist/src/core/session/legacy/releaseNotesCliAdapter.impl.js +3 -0
- package/dist/src/core/session/legacy/renameCliAdapter.impl.js +51 -0
- package/dist/src/core/session/legacy/resumeCliAdapter.impl.js +96 -0
- package/dist/src/core/session/legacy/resumeCommandCliAdapter.impl.js +7 -0
- package/dist/src/core/session/legacy/resumeCoreCliAdapter.js +2 -0
- package/dist/src/core/session/legacy/resumenCliAdapter.impl.js +3 -0
- package/dist/src/core/session/legacy/sessionCliAdapter.impl.js +3 -0
- package/dist/src/core/session/legacy/tagCliAdapter.impl.js +12 -0
- package/dist/src/core/session/legacy/timelineCliAdapter.impl.js +4 -0
- package/dist/src/core/session/legacy/vimCliAdapter.impl.js +3 -0
- package/dist/src/core/session/memoryCliAdapter.js +1 -0
- package/dist/src/core/session/memoryCore.js +44 -0
- package/dist/src/core/session/planCliAdapter.js +1 -0
- package/dist/src/core/session/planCore.js +11 -0
- package/dist/src/core/session/preflight.smoke.js +153 -0
- package/dist/src/core/session/releaseNotesCliAdapter.js +1 -0
- package/dist/src/core/session/releaseNotesCore.js +17 -0
- package/dist/src/core/session/renameCliAdapter.js +1 -0
- package/dist/src/core/session/renameCore.js +26 -0
- package/dist/src/core/session/resumeCliAdapter.js +1 -0
- package/dist/src/core/session/resumeCommandCliAdapter.js +1 -0
- package/dist/src/core/session/resumeCore.js +24 -0
- package/dist/src/core/session/resumenCliAdapter.js +1 -0
- package/dist/src/core/session/resumenCore.js +15 -0
- package/dist/src/core/session/sessionCliAdapter.js +1 -0
- package/dist/src/core/session/sessionCore.js +9 -0
- package/dist/src/core/session/tagCliAdapter.js +1 -0
- package/dist/src/core/session/tagCore.js +16 -0
- package/dist/src/core/session/timelineCliAdapter.js +1 -0
- package/dist/src/core/session/vimCliAdapter.js +1 -0
- package/dist/src/core/session/vimCore.js +14 -0
- package/dist/src/core/sharedLegacyDeps/pluginsCliAdapterDeps.js +45 -0
- package/dist/src/core/sharedLegacyDeps/pluginsReloadDeps.js +8 -0
- package/dist/src/core/sharedLegacyDeps/skillsCliAdapterDeps.js +8 -0
- package/dist/src/core/skills/importCore.js +66 -0
- package/dist/src/core/skills/importCore.smoke.js +49 -0
- package/dist/src/core/skills/legacy/bootstrap/state.js +1 -0
- package/dist/src/core/skills/legacy/cliAdapter.impl.js +32 -0
- package/dist/src/core/skills/legacy/services/SessionMemory/sessionMemoryUtils.js +1 -0
- package/dist/src/core/skills/legacy/services/analytics/growthbook.js +1 -0
- package/dist/src/core/skills/legacy/services/analytics/index.js +1 -0
- package/dist/src/core/skills/legacy/services/mcp/types.js +1 -0
- package/dist/src/core/skills/legacy/services/policyLimits/index.js +1 -0
- package/dist/src/core/skills/legacy/services/tokenEstimation.js +1 -0
- package/dist/src/core/skills/legacy/utils/argumentSubstitution.js +1 -0
- package/dist/src/core/skills/legacy/utils/auth.js +1 -0
- package/dist/src/core/skills/legacy/utils/background/remote/preconditions.js +1 -0
- package/dist/src/core/skills/legacy/utils/claudeInChrome/prompt.js +1 -0
- package/dist/src/core/skills/legacy/utils/claudeInChrome/setup.js +1 -0
- package/dist/src/core/skills/legacy/utils/cwd.js +1 -0
- package/dist/src/core/skills/legacy/utils/debug.js +1 -0
- package/dist/src/core/skills/legacy/utils/detectRepository.js +1 -0
- package/dist/src/core/skills/legacy/utils/effort.js +1 -0
- package/dist/src/core/skills/legacy/utils/envUtils.js +1 -0
- package/dist/src/core/skills/legacy/utils/errors.js +1 -0
- package/dist/src/core/skills/legacy/utils/format.js +1 -0
- package/dist/src/core/skills/legacy/utils/frontmatterParser.js +1 -0
- package/dist/src/core/skills/legacy/utils/fsOperations.js +1 -0
- package/dist/src/core/skills/legacy/utils/git/gitignore.js +1 -0
- package/dist/src/core/skills/legacy/utils/git.js +1 -0
- package/dist/src/core/skills/legacy/utils/log.js +1 -0
- package/dist/src/core/skills/legacy/utils/markdownConfigLoader.js +1 -0
- package/dist/src/core/skills/legacy/utils/messages.js +1 -0
- package/dist/src/core/skills/legacy/utils/model/model.js +1 -0
- package/dist/src/core/skills/legacy/utils/permissions/filesystem.js +1 -0
- package/dist/src/core/skills/legacy/utils/promptShellExecution.js +1 -0
- package/dist/src/core/skills/legacy/utils/settings/constants.js +1 -0
- package/dist/src/core/skills/legacy/utils/settings/managedPath.js +1 -0
- package/dist/src/core/skills/legacy/utils/settings/pluginOnlyPolicy.js +1 -0
- package/dist/src/core/skills/legacy/utils/settings/types.js +1 -0
- package/dist/src/core/skills/legacy/utils/signal.js +1 -0
- package/dist/src/core/skills/legacy/utils/slowOperations.js +1 -0
- package/dist/src/core/skills/legacy/utils/teleport/environments.js +1 -0
- package/dist/src/core/state/legacy/bootstrap/state.js +1 -0
- package/dist/src/core/state/legacy/context/mailbox.js +1 -0
- package/dist/src/core/state/legacy/context/voice.js +1 -0
- package/dist/src/core/state/legacy/hooks/useSettingsChange.js +1 -0
- package/dist/src/core/state/legacy/services/PromptSuggestion/promptSuggestion.js +1 -0
- package/dist/src/core/state/legacy/services/analytics/index.js +1 -0
- package/dist/src/core/state/legacy/services/mcp/channelPermissions.js +1 -0
- package/dist/src/core/state/legacy/services/mcp/elicitationHandler.js +1 -0
- package/dist/src/core/state/legacy/services/mcp/types.js +1 -0
- package/dist/src/core/state/legacy/tasks/InProcessTeammateTask/types.js +1 -0
- package/dist/src/core/state/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
- package/dist/src/core/state/legacy/tasks/types.js +1 -0
- package/dist/src/core/state/legacy/utils/auth.js +1 -0
- package/dist/src/core/state/legacy/utils/commitAttribution.js +1 -0
- package/dist/src/core/state/legacy/utils/config.js +1 -0
- package/dist/src/core/state/legacy/utils/debug.js +1 -0
- package/dist/src/core/state/legacy/utils/effort.js +1 -0
- package/dist/src/core/state/legacy/utils/errors.js +1 -0
- package/dist/src/core/state/legacy/utils/fileHistory.js +1 -0
- package/dist/src/core/state/legacy/utils/hooks/postSamplingHooks.js +1 -0
- package/dist/src/core/state/legacy/utils/hooks/sessionHooks.js +1 -0
- package/dist/src/core/state/legacy/utils/log.js +1 -0
- package/dist/src/core/state/legacy/utils/managedEnv.js +1 -0
- package/dist/src/core/state/legacy/utils/model/model.js +1 -0
- package/dist/src/core/state/legacy/utils/permissions/PermissionMode.js +1 -0
- package/dist/src/core/state/legacy/utils/permissions/denialTracking.js +1 -0
- package/dist/src/core/state/legacy/utils/permissions/permissionSetup.js +1 -0
- package/dist/src/core/state/legacy/utils/sessionState.js +1 -0
- package/dist/src/core/state/legacy/utils/settings/applySettingsChange.js +1 -0
- package/dist/src/core/state/legacy/utils/settings/constants.js +1 -0
- package/dist/src/core/state/legacy/utils/settings/settings.js +1 -0
- package/dist/src/core/state/legacy/utils/settings/types.js +1 -0
- package/dist/src/core/state/legacy/utils/teammate.js +1 -0
- package/dist/src/core/state/legacy/utils/thinking.js +1 -0
- package/dist/src/core/tasks/legacy/bootstrap/state.js +1 -0
- package/dist/src/core/tasks/legacy/services/PromptSuggestion/speculation.js +1 -0
- package/dist/src/core/tasks/legacy/services/autoDream/consolidationLock.js +1 -0
- package/dist/src/core/tasks/legacy/services/tokenEstimation.js +1 -0
- package/dist/src/core/tasks/legacy/state/AppState.js +1 -0
- package/dist/src/core/tasks/legacy/utils/ShellCommand.js +1 -0
- package/dist/src/core/tasks/legacy/utils/abortController.js +1 -0
- package/dist/src/core/tasks/legacy/utils/agentContext.js +1 -0
- package/dist/src/core/tasks/legacy/utils/array.js +1 -0
- package/dist/src/core/tasks/legacy/utils/background/remote/remoteSession.js +1 -0
- package/dist/src/core/tasks/legacy/utils/cleanupRegistry.js +1 -0
- package/dist/src/core/tasks/legacy/utils/collapseReadSearch.js +1 -0
- package/dist/src/core/tasks/legacy/utils/debug.js +1 -0
- package/dist/src/core/tasks/legacy/utils/fsOperations.js +1 -0
- package/dist/src/core/tasks/legacy/utils/log.js +1 -0
- package/dist/src/core/tasks/legacy/utils/messageQueueManager.js +1 -0
- package/dist/src/core/tasks/legacy/utils/messages.js +1 -0
- package/dist/src/core/tasks/legacy/utils/permissions/PermissionMode.js +1 -0
- package/dist/src/core/tasks/legacy/utils/sdkEventQueue.js +1 -0
- package/dist/src/core/tasks/legacy/utils/sessionStorage.js +1 -0
- package/dist/src/core/tasks/legacy/utils/slowOperations.js +1 -0
- package/dist/src/core/tasks/legacy/utils/swarm/spawnInProcess.js +1 -0
- package/dist/src/core/tasks/legacy/utils/task/diskOutput.js +1 -0
- package/dist/src/core/tasks/legacy/utils/task/framework.js +1 -0
- package/dist/src/core/tasks/legacy/utils/task/sdkProgress.js +1 -0
- package/dist/src/core/tasks/legacy/utils/teleport/api.js +1 -0
- package/dist/src/core/tasks/legacy/utils/teleport.js +1 -0
- package/dist/src/core/tasks/legacy/utils/todo/types.js +1 -0
- package/dist/src/core/tasks/legacy/utils/ultraplan/ccrSession.js +1 -0
- package/dist/src/core/tasks/legacy/utils/xml.js +1 -0
- package/dist/src/core/tasks/ultraplanCliAdapter.js +11 -0
- package/dist/src/core/tasks/ultraplanPrompt.js +18 -0
- package/dist/src/core/terminal/cliAdapter.js +1 -0
- package/dist/src/core/terminal/legacy/cliAdapter.impl.js +1 -0
- package/dist/src/core/terminal/runtime.js +40 -0
- package/dist/src/core/terminal/runtime.smoke.js +18 -0
- package/dist/src/core/terminal/setupRuntime.js +468 -0
- package/dist/src/core/tools/bashCliAdapter.js +1 -0
- package/dist/src/core/tools/fileToolsCliAdapter.js +46 -0
- package/dist/src/core/tools/legacy/bashCliAdapter.impl.js +1 -0
- package/dist/src/core/tools/legacy/bootstrap/state.js +1 -0
- package/dist/src/core/tools/legacy/bootstrap/state.js.js +1 -0
- package/dist/src/core/tools/legacy/fileToolsCliAdapter.impl.js +1 -0
- package/dist/src/core/tools/legacy/hooks/useCanUseTool.js +1 -0
- package/dist/src/core/tools/legacy/powerShellCliAdapter.impl.js +1 -0
- package/dist/src/core/tools/legacy/services/AgentSummary/agentSummary.js +1 -0
- package/dist/src/core/tools/legacy/services/AgentSummary/agentSummary.js.js +1 -0
- package/dist/src/core/tools/legacy/services/analytics/growthbook.js +1 -0
- package/dist/src/core/tools/legacy/services/analytics/growthbook.js.js +1 -0
- package/dist/src/core/tools/legacy/services/analytics/index.js +1 -0
- package/dist/src/core/tools/legacy/services/analytics/index.js.js +1 -0
- package/dist/src/core/tools/legacy/services/analytics/metadata.js +1 -0
- package/dist/src/core/tools/legacy/services/api/dumpPrompts.js +1 -0
- package/dist/src/core/tools/legacy/services/api/dumpPrompts.js.js +1 -0
- package/dist/src/core/tools/legacy/services/api/promptCacheBreakDetection.js +1 -0
- package/dist/src/core/tools/legacy/services/mcp/client.js +1 -0
- package/dist/src/core/tools/legacy/services/mcp/config.js +1 -0
- package/dist/src/core/tools/legacy/services/mcp/types.js +1 -0
- package/dist/src/core/tools/legacy/services/skillSearch/featureCheck.js +1 -0
- package/dist/src/core/tools/legacy/services/skillSearch/featureCheck.js.js +1 -0
- package/dist/src/core/tools/legacy/services/skillSearch/remoteSkillLoader.js +1 -0
- package/dist/src/core/tools/legacy/services/skillSearch/remoteSkillLoader.js.js +1 -0
- package/dist/src/core/tools/legacy/services/skillSearch/remoteSkillState.js +1 -0
- package/dist/src/core/tools/legacy/services/skillSearch/remoteSkillState.js.js +1 -0
- package/dist/src/core/tools/legacy/services/skillSearch/telemetry.js +1 -0
- package/dist/src/core/tools/legacy/services/skillSearch/telemetry.js.js +1 -0
- package/dist/src/core/tools/legacy/state/AppState.js +1 -0
- package/dist/src/core/tools/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
- package/dist/src/core/tools/legacy/tasks/LocalAgentTask/LocalAgentTask.js.js +1 -0
- package/dist/src/core/tools/legacy/tasks/LocalMainSessionTask.js +1 -0
- package/dist/src/core/tools/legacy/tasks/LocalShellTask/LocalShellTask.js +1 -0
- package/dist/src/core/tools/legacy/tasks/LocalShellTask/LocalShellTask.js.js +1 -0
- package/dist/src/core/tools/legacy/tasks/LocalShellTask/guards.js +1 -0
- package/dist/src/core/tools/legacy/tasks/LocalShellTask/killShellTasks.js +1 -0
- package/dist/src/core/tools/legacy/tasks/RemoteAgentTask/RemoteAgentTask.js +1 -0
- package/dist/src/core/tools/legacy/tasks/RemoteAgentTask/RemoteAgentTask.js.js +1 -0
- package/dist/src/core/tools/legacy/tasks/types.js +1 -0
- package/dist/src/core/tools/legacy/utils/Shell.js +1 -0
- package/dist/src/core/tools/legacy/utils/Shell.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/agentContext.js +1 -0
- package/dist/src/core/tools/legacy/utils/agentContext.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/agentId.js +1 -0
- package/dist/src/core/tools/legacy/utils/agentSwarmsEnabled.js +1 -0
- package/dist/src/core/tools/legacy/utils/agentSwarmsEnabled.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/array.js +1 -0
- package/dist/src/core/tools/legacy/utils/array.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/attachments.js +1 -0
- package/dist/src/core/tools/legacy/utils/auth.js +1 -0
- package/dist/src/core/tools/legacy/utils/claudeCodeHints.js +1 -0
- package/dist/src/core/tools/legacy/utils/claudeCodeHints.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/collapseReadSearch.js +1 -0
- package/dist/src/core/tools/legacy/utils/collapseReadSearch.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/cwd.js +1 -0
- package/dist/src/core/tools/legacy/utils/cwd.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/debug.js +1 -0
- package/dist/src/core/tools/legacy/utils/debug.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/effort.js +1 -0
- package/dist/src/core/tools/legacy/utils/embeddedTools.js +1 -0
- package/dist/src/core/tools/legacy/utils/envUtils.js +1 -0
- package/dist/src/core/tools/legacy/utils/envUtils.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/errors.js +1 -0
- package/dist/src/core/tools/legacy/utils/errors.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/file.js +1 -0
- package/dist/src/core/tools/legacy/utils/file.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/fileStateCache.js +1 -0
- package/dist/src/core/tools/legacy/utils/forkedAgent.js +1 -0
- package/dist/src/core/tools/legacy/utils/format.js +1 -0
- package/dist/src/core/tools/legacy/utils/format.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/frontmatterParser.js +1 -0
- package/dist/src/core/tools/legacy/utils/git.js +1 -0
- package/dist/src/core/tools/legacy/utils/hooks/registerFrontmatterHooks.js +1 -0
- package/dist/src/core/tools/legacy/utils/hooks/sessionHooks.js +1 -0
- package/dist/src/core/tools/legacy/utils/hooks.js +1 -0
- package/dist/src/core/tools/legacy/utils/hyperlink.js +1 -0
- package/dist/src/core/tools/legacy/utils/hyperlink.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/lazySchema.js +1 -0
- package/dist/src/core/tools/legacy/utils/lazySchema.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/log.js +1 -0
- package/dist/src/core/tools/legacy/utils/log.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/markdownConfigLoader.js +1 -0
- package/dist/src/core/tools/legacy/utils/mcpValidation.js +1 -0
- package/dist/src/core/tools/legacy/utils/mcpValidation.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/messages.js +1 -0
- package/dist/src/core/tools/legacy/utils/messages.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/model/agent.js +1 -0
- package/dist/src/core/tools/legacy/utils/model/agent.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/model/aliases.js +1 -0
- package/dist/src/core/tools/legacy/utils/model/model.js +1 -0
- package/dist/src/core/tools/legacy/utils/model/model.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/model/providerCatalog.js +1 -0
- package/dist/src/core/tools/legacy/utils/model/providerOverrideContext.js +1 -0
- package/dist/src/core/tools/legacy/utils/model/providerOverrideContext.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/model/providerProfiles.js +1 -0
- package/dist/src/core/tools/legacy/utils/model/providers.js +1 -0
- package/dist/src/core/tools/legacy/utils/model/providers.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/orchestration/store/index.js +1 -0
- package/dist/src/core/tools/legacy/utils/path.js +1 -0
- package/dist/src/core/tools/legacy/utils/permissions/PermissionMode.js +1 -0
- package/dist/src/core/tools/legacy/utils/permissions/PermissionMode.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/permissions/PermissionResult.js +1 -0
- package/dist/src/core/tools/legacy/utils/permissions/autoModeState.js +1 -0
- package/dist/src/core/tools/legacy/utils/permissions/permissionRuleParser.js +1 -0
- package/dist/src/core/tools/legacy/utils/permissions/permissionSetup.js +1 -0
- package/dist/src/core/tools/legacy/utils/permissions/permissions.js +1 -0
- package/dist/src/core/tools/legacy/utils/permissions/permissions.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/permissions/yoloClassifier.js +1 -0
- package/dist/src/core/tools/legacy/utils/platform.js +1 -0
- package/dist/src/core/tools/legacy/utils/platform.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/plugins/hintRecommendation.js +1 -0
- package/dist/src/core/tools/legacy/utils/plugins/hintRecommendation.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/plugins/loadPluginAgents.js +1 -0
- package/dist/src/core/tools/legacy/utils/promptCategory.js +1 -0
- package/dist/src/core/tools/legacy/utils/sandbox/sandbox-adapter.js +1 -0
- package/dist/src/core/tools/legacy/utils/sandbox/sandbox-adapter.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/sdkEventQueue.js +1 -0
- package/dist/src/core/tools/legacy/utils/sdkEventQueue.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/semanticBoolean.js +1 -0
- package/dist/src/core/tools/legacy/utils/semanticBoolean.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/semanticNumber.js +1 -0
- package/dist/src/core/tools/legacy/utils/semanticNumber.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/sessionStorage.js +1 -0
- package/dist/src/core/tools/legacy/utils/sessionStorage.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/settings/constants.js +1 -0
- package/dist/src/core/tools/legacy/utils/settings/pluginOnlyPolicy.js +1 -0
- package/dist/src/core/tools/legacy/utils/settings/types.js +1 -0
- package/dist/src/core/tools/legacy/utils/shell/powershellDetection.js +1 -0
- package/dist/src/core/tools/legacy/utils/shell/powershellDetection.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/sleep.js +1 -0
- package/dist/src/core/tools/legacy/utils/sleep.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/slowOperations.js +1 -0
- package/dist/src/core/tools/legacy/utils/slowOperations.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/stringUtils.js +1 -0
- package/dist/src/core/tools/legacy/utils/stringUtils.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/swarm/backends/registry.js +1 -0
- package/dist/src/core/tools/legacy/utils/swarm/constants.js +1 -0
- package/dist/src/core/tools/legacy/utils/swarm/teamHelpers.js +1 -0
- package/dist/src/core/tools/legacy/utils/swarm/teammateLayoutManager.js +1 -0
- package/dist/src/core/tools/legacy/utils/systemPrompt.js +1 -0
- package/dist/src/core/tools/legacy/utils/systemPrompt.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/systemPromptType.js +1 -0
- package/dist/src/core/tools/legacy/utils/systemPromptType.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/task/TaskOutput.js +1 -0
- package/dist/src/core/tools/legacy/utils/task/TaskOutput.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/task/diskOutput.js +1 -0
- package/dist/src/core/tools/legacy/utils/task/diskOutput.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/task/framework.js +1 -0
- package/dist/src/core/tools/legacy/utils/task/framework.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/task/outputFormatting.js +1 -0
- package/dist/src/core/tools/legacy/utils/task/outputFormatting.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/task/sdkProgress.js +1 -0
- package/dist/src/core/tools/legacy/utils/tasks.js +1 -0
- package/dist/src/core/tools/legacy/utils/teammate.js +1 -0
- package/dist/src/core/tools/legacy/utils/teammate.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/teammateContext.js +1 -0
- package/dist/src/core/tools/legacy/utils/teammateContext.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/telemetry/perfettoTracing.js +1 -0
- package/dist/src/core/tools/legacy/utils/teleport.js +1 -0
- package/dist/src/core/tools/legacy/utils/teleport.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/terminal.js +1 -0
- package/dist/src/core/tools/legacy/utils/terminal.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/theme.js +1 -0
- package/dist/src/core/tools/legacy/utils/tokens.js +1 -0
- package/dist/src/core/tools/legacy/utils/tokens.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/toolResultStorage.js +1 -0
- package/dist/src/core/tools/legacy/utils/toolResultStorage.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/udsClient.js +1 -0
- package/dist/src/core/tools/legacy/utils/udsClient.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/uuid.js +1 -0
- package/dist/src/core/tools/legacy/utils/uuid.js.js +1 -0
- package/dist/src/core/tools/legacy/utils/words.js +1 -0
- package/dist/src/core/tools/legacy/utils/worktree.js +1 -0
- package/dist/src/core/tools/legacy/utils/worktree.js.js +1 -0
- package/dist/src/core/tools/powerShellCliAdapter.js +3 -0
- package/dist/src/core/usage/extraUsageCliAdapter.js +1 -0
- package/dist/src/core/usage/extraUsageCore.js +82 -0
- package/dist/src/core/usage/extraUsageCore.smoke.js +27 -0
- package/dist/src/core/usage/indexCliAdapter.js +4 -0
- package/dist/src/core/usage/indexCore.js +12 -0
- package/dist/src/core/usage/legacy/bootstrap/state.js +1 -0
- package/dist/src/core/usage/legacy/deps.js +11 -0
- package/dist/src/core/usage/legacy/extraUsageCliAdapter.impl.js +16 -0
- package/dist/src/core/usage/legacy/indexCliAdapter.impl.js +6 -0
- package/dist/src/core/usage/legacy/services/api/adminRequests.js +1 -0
- package/dist/src/core/usage/legacy/services/api/overageCreditGrant.js +1 -0
- package/dist/src/core/usage/legacy/services/api/usage.js +1 -0
- package/dist/src/core/usage/legacy/utils/auth.js +1 -0
- package/dist/src/core/usage/legacy/utils/billing.js +1 -0
- package/dist/src/core/usage/legacy/utils/browser.js +1 -0
- package/dist/src/core/usage/legacy/utils/config.js +1 -0
- package/dist/src/core/usage/legacy/utils/envUtils.js +1 -0
- package/dist/src/core/usage/legacy/utils/log.js +1 -0
- package/dist/src/core/utils/legacy/bootstrap/state.js +1 -0
- package/dist/src/core/utils/legacy/hooks/useCanUseTool.js +1 -0
- package/dist/src/core/utils/legacy/hooks/useIdeSelection.js +1 -0
- package/dist/src/core/utils/legacy/hooks/useTimeout.js +1 -0
- package/dist/src/core/utils/legacy/services/MagicDocs/magicDocs.js +1 -0
- package/dist/src/core/utils/legacy/services/analytics/datadog.js +1 -0
- package/dist/src/core/utils/legacy/services/analytics/firstPartyEventLogger.js +1 -0
- package/dist/src/core/utils/legacy/services/analytics/growthbook.js +1 -0
- package/dist/src/core/utils/legacy/services/analytics/index.js +1 -0
- package/dist/src/core/utils/legacy/services/analytics/metadata.js +1 -0
- package/dist/src/core/utils/legacy/services/analytics/sink.js +1 -0
- package/dist/src/core/utils/legacy/services/api/claude.js +1 -0
- package/dist/src/core/utils/legacy/services/api/client.js +1 -0
- package/dist/src/core/utils/legacy/services/api/dumpPrompts.js +1 -0
- package/dist/src/core/utils/legacy/services/api/errorUtils.js +1 -0
- package/dist/src/core/utils/legacy/services/api/errors.js +1 -0
- package/dist/src/core/utils/legacy/services/api/logging.js +1 -0
- package/dist/src/core/utils/legacy/services/api/openai.js +1 -0
- package/dist/src/core/utils/legacy/services/api/withRetry.js +1 -0
- package/dist/src/core/utils/legacy/services/autoDream/autoDream.js +1 -0
- package/dist/src/core/utils/legacy/services/compact/autoCompact.js +1 -0
- package/dist/src/core/utils/legacy/services/compact/snipCompact.js +1 -0
- package/dist/src/core/utils/legacy/services/compact/snipProjection.js +1 -0
- package/dist/src/core/utils/legacy/services/contextCollapse/persist.js +1 -0
- package/dist/src/core/utils/legacy/services/diagnosticTracking.js +1 -0
- package/dist/src/core/utils/legacy/services/extractMemories/extractMemories.js +1 -0
- package/dist/src/core/utils/legacy/services/lsp/LSPDiagnosticRegistry.js +1 -0
- package/dist/src/core/utils/legacy/services/lsp/manager.js +1 -0
- package/dist/src/core/utils/legacy/services/lsp/types.js +1 -0
- package/dist/src/core/utils/legacy/services/mcp/client.js +1 -0
- package/dist/src/core/utils/legacy/services/mcp/envExpansion.js +1 -0
- package/dist/src/core/utils/legacy/services/mcp/mcpStringUtils.js +1 -0
- package/dist/src/core/utils/legacy/services/mcp/normalization.js +1 -0
- package/dist/src/core/utils/legacy/services/mcp/types.js +1 -0
- package/dist/src/core/utils/legacy/services/mcp/utils.js +1 -0
- package/dist/src/core/utils/legacy/services/oauth/types.js +1 -0
- package/dist/src/core/utils/legacy/services/plugins/PluginInstallationManager.js +1 -0
- package/dist/src/core/utils/legacy/services/plugins/pluginOperations.js +1 -0
- package/dist/src/core/utils/legacy/services/remoteManagedSettings/syncCache.js +1 -0
- package/dist/src/core/utils/legacy/services/sessionTranscript/sessionTranscript.js +1 -0
- package/dist/src/core/utils/legacy/services/skillSearch/featureCheck.js +1 -0
- package/dist/src/core/utils/legacy/services/skillSearch/prefetch.js +1 -0
- package/dist/src/core/utils/legacy/services/skillSearch/signals.js +1 -0
- package/dist/src/core/utils/legacy/services/teamMemorySync/watcher.js +1 -0
- package/dist/src/core/utils/legacy/services/tokenEstimation.js +1 -0
- package/dist/src/core/utils/legacy/services/tools/toolOrchestration.js +1 -0
- package/dist/src/core/utils/legacy/state/AppState.js +1 -0
- package/dist/src/core/utils/legacy/state/AppStateStore.js +1 -0
- package/dist/src/core/utils/legacy/state/selectors.js +1 -0
- package/dist/src/core/utils/legacy/tasks/InProcessTeammateTask/types.js +1 -0
- package/dist/src/core/utils/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
- package/dist/src/core/utils/legacy/tasks/LocalShellTask/LocalShellTask.js +1 -0
- package/dist/src/core/utils/legacy/utils/format.js +1 -0
- package/dist/src/core/voice/cliAdapter.js +1 -0
- package/dist/src/core/voice/legacy/cliAdapter.impl.js +41 -0
- package/dist/src/core/voice/legacy/services/analytics/growthbook.js +1 -0
- package/dist/src/core/voice/legacy/services/analytics/growthbook.js.js +1 -0
- package/dist/src/core/voice/runtime.js +151 -0
- package/dist/src/core/voice/runtime.smoke.js +19 -0
- package/dist/src/core/wavecore3/bashCliAdapterDeps.js +59 -0
- package/dist/src/core/wavecore3/fileToolsCliAdapterDeps.js +47 -0
- package/dist/src/core/wavecore3/powerShellCliAdapterDeps.js +19 -0
- package/dist/src/core/wavecore3/terminalCliAdapterDeps.js +11 -0
- package/dist/src/core/whatsapp/legacy/utils/config.js +1 -0
- package/dist/src/core/whatsapp/legacy/utils/config.js.js +1 -0
- package/dist/src/core/whatsapp/legacy/utils/secureStorage/index.js +1 -0
- package/dist/src/core/whatsapp/legacy/utils/secureStorage/index.js.js +1 -0
- package/dist/src/core/workspace/cliAdapter.js +1 -0
- package/dist/src/core/workspace/legacy/cliAdapter.impl.js +6 -0
- package/dist/src/core/workspace/runtime.js +25 -0
- package/dist/src/core/workspace/runtime.smoke.js +13 -0
- package/dist/src/hooks/core/hooks/legacy/context/notifications.js +1 -0
- package/dist/src/hooks/core/hooks/legacy/services/analytics/index.js +1 -0
- package/dist/src/hooks/core/hooks/legacy/services/lsp/manager.js +1 -0
- package/dist/src/hooks/core/hooks/legacy/services/mcp/claudeai.js +1 -0
- package/dist/src/hooks/core/hooks/legacy/services/mcp/types.js +1 -0
- package/dist/src/hooks/useAwaySummary.js +2 -0
- package/dist/src/hooks/useDoublePress.js +8 -8
- package/dist/src/hooks/usePasteHandler.js +5 -62
- package/dist/src/hooks/useTextInput.js +95 -73
- package/dist/src/ink/reconciler.js +7 -7
- package/dist/src/main.js +5 -5
- package/dist/src/memdir/findRelevantMemories.js +6 -6
- package/dist/src/query.js +78 -0
- package/dist/src/screens/REPL.js +9 -0
- package/dist/src/services/AgentSummary/agentSummary.js +10 -10
- package/dist/src/services/MagicDocs/prompts.js +56 -56
- package/dist/src/services/PromptSuggestion/promptSuggestion.js +29 -29
- package/dist/src/services/SessionMemory/prompts.js +66 -66
- package/dist/src/services/autoDream/autoDream.js +5 -5
- package/dist/src/services/limits/sessionCounter.js +17 -17
- package/dist/src/services/objetivo/evaluator.js +129 -0
- package/dist/src/services/objetivo/prompts.js +21 -0
- package/dist/src/services/objetivo/types.js +25 -0
- package/dist/src/services/orchestration/execution/OrchestrationExecutionRuntime.js +58 -58
- package/dist/src/services/toolUseSummary/toolUseSummaryGenerator.js +9 -9
- package/dist/src/skills/bundled/batch.js +78 -78
- package/dist/src/skills/bundled/claudeApi.js +34 -34
- package/dist/src/skills/bundled/claudeInChrome.js +4 -4
- package/dist/src/skills/bundled/debug.js +36 -36
- package/dist/src/skills/bundled/scheduleRemoteAgents.js +151 -151
- package/dist/src/skills/bundled/skillify.js +134 -134
- package/dist/src/skills/bundled/updateConfig.js +418 -418
- package/dist/src/tasks/LocalAgentTask/LocalAgentTask.js +5 -5
- package/dist/src/tasks/LocalMainSessionTask.js +5 -5
- package/dist/src/tasks/LocalShellTask/LocalShellTask.js +13 -13
- package/dist/src/tasks/RemoteAgentTask/RemoteAgentTask.js +26 -26
- package/dist/src/tools/AgentTool/AgentTool.js +7 -7
- package/dist/src/tools/AgentTool/built-in/claudeCodeGuideAgent.js +67 -67
- package/dist/src/tools/AgentTool/forkSubagent.js +25 -25
- package/dist/src/tools/AgentTool/prompt.js +131 -131
- package/dist/src/tools/AgentTool/runAgent.js +9 -9
- package/dist/src/tools/BashTool/BashTool.js +10 -10
- package/dist/src/tools/BashTool/prompt.js +94 -94
- package/dist/src/tools/ConfigTool/prompt.js +29 -29
- package/dist/src/tools/EnterPlanModeTool/EnterPlanModeTool.js +12 -12
- package/dist/src/tools/EnterPlanModeTool/prompt.js +140 -140
- package/dist/src/tools/ExitPlanModeTool/ExitPlanModeV2Tool.js +18 -18
- package/dist/src/tools/FileEditTool/prompt.js +7 -7
- package/dist/src/tools/FileReadTool/prompt.js +12 -12
- package/dist/src/tools/PowerShellTool/prompt.js +82 -82
- package/dist/src/tools/ScheduleCronTool/prompt.js +37 -37
- package/dist/src/tools/SkillTool/prompt.js +21 -21
- package/dist/src/tools/TaskCreateTool/prompt.js +41 -41
- package/dist/src/tools/TaskListTool/prompt.js +30 -30
- package/dist/src/tools/TaskOutputTool/TaskOutputTool.js +8 -8
- package/dist/src/tools/ToolSearchTool/prompt.js +9 -9
- package/dist/src/tools/WebFetchTool/WebFetchTool.js +9 -9
- package/dist/src/utils/advisor.js +15 -15
- package/dist/src/utils/api.js +2 -2
- package/dist/src/utils/claudeInChrome/setup.js +8 -8
- package/dist/src/utils/computerControlMcp/common.js +24 -0
- package/dist/src/utils/computerControlMcp/mcpServer.js +22 -0
- package/dist/src/utils/computerControlMcp/setup.js +26 -0
- package/dist/src/utils/heapDumpService.js +4 -4
- package/dist/src/utils/hooks/execAgentHook.js +7 -7
- package/dist/src/utils/hooks/execPromptHook.js +4 -4
- package/dist/src/utils/hooks/skillImprovement.js +36 -36
- package/dist/src/utils/mcp/dateTimeParser.js +9 -9
- package/dist/src/utils/mcpValidation.js +2 -2
- package/dist/src/utils/messages.js +191 -191
- package/dist/src/utils/model/providerProfilesDb.js +489 -489
- package/dist/src/utils/ndjsonSafeStringify.js +10 -0
- package/dist/src/utils/permissions/permissionExplainer.js +6 -6
- package/dist/src/utils/secureStorage/sqliteStorage.js +12 -12
- package/dist/src/utils/sessionTitle.js +12 -12
- package/dist/src/utils/sideQuestion.js +17 -17
- package/dist/src/utils/swarm/backends/registry.js +9 -9
- package/dist/src/utils/task/framework.js +6 -6
- package/dist/src/utils/teleport.js +15 -15
- package/docs/Contex.md +20 -20
- package/docs/PHASE_3_VALIDATION.md +2 -2
- package/docs/PUBLISH.md +199 -0
- package/package.json +3 -5
- package/dist/vendor/audio-capture-src/index.ts +0 -155
|
@@ -6,13 +6,13 @@ import { logForDebugging } from '../utils/debug.js';
|
|
|
6
6
|
import { loadPluginOutputStyles } from '../utils/plugins/loadPluginOutputStyles.js';
|
|
7
7
|
import { getSettings_DEPRECATED } from '../utils/settings/settings.js';
|
|
8
8
|
// Used in both the Explanatory and Learning modes
|
|
9
|
-
const EXPLANATORY_FEATURE_PROMPT = `
|
|
10
|
-
## Insights
|
|
11
|
-
In order to encourage learning, before and after writing code, always provide brief educational explanations about implementation choices using (with backticks):
|
|
12
|
-
"\`${figures.star} Insight ─────────────────────────────────────\`
|
|
13
|
-
[2-3 key educational points]
|
|
14
|
-
\`─────────────────────────────────────────────────\`"
|
|
15
|
-
|
|
9
|
+
const EXPLANATORY_FEATURE_PROMPT = `
|
|
10
|
+
## Insights
|
|
11
|
+
In order to encourage learning, before and after writing code, always provide brief educational explanations about implementation choices using (with backticks):
|
|
12
|
+
"\`${figures.star} Insight ─────────────────────────────────────\`
|
|
13
|
+
[2-3 key educational points]
|
|
14
|
+
\`─────────────────────────────────────────────────\`"
|
|
15
|
+
|
|
16
16
|
These insights should be included in the conversation, not in the codebase. You should generally focus on interesting insights that are specific to the codebase or the code you just wrote, rather than general programming concepts.`;
|
|
17
17
|
export const DEFAULT_OUTPUT_STYLE_NAME = 'default';
|
|
18
18
|
export const OUTPUT_STYLE_CONFIG = {
|
|
@@ -22,11 +22,11 @@ export const OUTPUT_STYLE_CONFIG = {
|
|
|
22
22
|
source: 'built-in',
|
|
23
23
|
description: 'Claude explains its implementation choices and codebase patterns',
|
|
24
24
|
keepCodingInstructions: true,
|
|
25
|
-
prompt: `You are an interactive CLI tool that helps users with software engineering tasks. In addition to software engineering tasks, you should provide educational insights about the codebase along the way.
|
|
26
|
-
|
|
27
|
-
You should be clear and educational, providing helpful explanations while remaining focused on the task. Balance educational content with task completion. When providing insights, you may exceed typical length constraints, but remain focused and relevant.
|
|
28
|
-
|
|
29
|
-
# Explanatory Style Active
|
|
25
|
+
prompt: `You are an interactive CLI tool that helps users with software engineering tasks. In addition to software engineering tasks, you should provide educational insights about the codebase along the way.
|
|
26
|
+
|
|
27
|
+
You should be clear and educational, providing helpful explanations while remaining focused on the task. Balance educational content with task completion. When providing insights, you may exceed typical length constraints, but remain focused and relevant.
|
|
28
|
+
|
|
29
|
+
# Explanatory Style Active
|
|
30
30
|
${EXPLANATORY_FEATURE_PROMPT}`,
|
|
31
31
|
},
|
|
32
32
|
Learning: {
|
|
@@ -34,77 +34,77 @@ ${EXPLANATORY_FEATURE_PROMPT}`,
|
|
|
34
34
|
source: 'built-in',
|
|
35
35
|
description: 'Claude pauses and asks you to write small pieces of code for hands-on practice',
|
|
36
36
|
keepCodingInstructions: true,
|
|
37
|
-
prompt: `You are an interactive CLI tool that helps users with software engineering tasks. In addition to software engineering tasks, you should help users learn more about the codebase through hands-on practice and educational insights.
|
|
38
|
-
|
|
39
|
-
You should be collaborative and encouraging. Balance task completion with learning by requesting user input for meaningful design decisions while handling routine implementation yourself.
|
|
40
|
-
|
|
41
|
-
# Learning Style Active
|
|
42
|
-
## Requesting Human Contributions
|
|
43
|
-
In order to encourage learning, ask the human to contribute 2-10 line code pieces when generating 20+ lines involving:
|
|
44
|
-
- Design decisions (error handling, data structures)
|
|
45
|
-
- Business logic with multiple valid approaches
|
|
46
|
-
- Key algorithms or interface definitions
|
|
47
|
-
|
|
48
|
-
**TodoList Integration**: If using a TodoList for the overall task, include a specific todo item like "Request human input on [specific decision]" when planning to request human input. This ensures proper task tracking. Note: TodoList is not required for all tasks.
|
|
49
|
-
|
|
50
|
-
Example TodoList flow:
|
|
51
|
-
✓ "Set up component structure with placeholder for logic"
|
|
52
|
-
✓ "Request human collaboration on decision logic implementation"
|
|
53
|
-
✓ "Integrate contribution and complete feature"
|
|
54
|
-
|
|
55
|
-
### Request Format
|
|
56
|
-
\`\`\`
|
|
57
|
-
${figures.bullet} **Learn by Doing**
|
|
58
|
-
**Context:** [what's built and why this decision matters]
|
|
59
|
-
**Your Task:** [specific function/section in file, mention file and TODO(human) but do not include line numbers]
|
|
60
|
-
**Guidance:** [trade-offs and constraints to consider]
|
|
61
|
-
\`\`\`
|
|
62
|
-
|
|
63
|
-
### Key Guidelines
|
|
64
|
-
- Frame contributions as valuable design decisions, not busy work
|
|
65
|
-
- You must first add a TODO(human) section into the codebase with your editing tools before making the Learn by Doing request
|
|
66
|
-
- Make sure there is one and only one TODO(human) section in the code
|
|
67
|
-
- Don't take any action or output anything after the Learn by Doing request. Wait for human implementation before proceeding.
|
|
68
|
-
|
|
69
|
-
### Example Requests
|
|
70
|
-
|
|
71
|
-
**Whole Function Example:**
|
|
72
|
-
\`\`\`
|
|
73
|
-
${figures.bullet} **Learn by Doing**
|
|
74
|
-
|
|
75
|
-
**Context:** I've set up the hint feature UI with a button that triggers the hint system. The infrastructure is ready: when clicked, it calls selectHintCell() to determine which cell to hint, then highlights that cell with a yellow background and shows possible values. The hint system needs to decide which empty cell would be most helpful to reveal to the user.
|
|
76
|
-
|
|
77
|
-
**Your Task:** In sudoku.js, implement the selectHintCell(board) function. Look for TODO(human). This function should analyze the board and return {row, col} for the best cell to hint, or null if the puzzle is complete.
|
|
78
|
-
|
|
79
|
-
**Guidance:** Consider multiple strategies: prioritize cells with only one possible value (naked singles), or cells that appear in rows/columns/boxes with many filled cells. You could also consider a balanced approach that helps without making it too easy. The board parameter is a 9x9 array where 0 represents empty cells.
|
|
80
|
-
\`\`\`
|
|
81
|
-
|
|
82
|
-
**Partial Function Example:**
|
|
83
|
-
\`\`\`
|
|
84
|
-
${figures.bullet} **Learn by Doing**
|
|
85
|
-
|
|
86
|
-
**Context:** I've built a file upload component that validates files before accepting them. The main validation logic is complete, but it needs specific handling for different file type categories in the switch statement.
|
|
87
|
-
|
|
88
|
-
**Your Task:** In upload.js, inside the validateFile() function's switch statement, implement the 'case "document":' branch. Look for TODO(human). This should validate document files (pdf, doc, docx).
|
|
89
|
-
|
|
90
|
-
**Guidance:** Consider checking file size limits (maybe 10MB for documents?), validating the file extension matches the MIME type, and returning {valid: boolean, error?: string}. The file object has properties: name, size, type.
|
|
91
|
-
\`\`\`
|
|
92
|
-
|
|
93
|
-
**Debugging Example:**
|
|
94
|
-
\`\`\`
|
|
95
|
-
${figures.bullet} **Learn by Doing**
|
|
96
|
-
|
|
97
|
-
**Context:** The user reported that number inputs aren't working correctly in the calculator. I've identified the handleInput() function as the likely source, but need to understand what values are being processed.
|
|
98
|
-
|
|
99
|
-
**Your Task:** In calculator.js, inside the handleInput() function, add 2-3 console.log statements after the TODO(human) comment to help debug why number inputs fail.
|
|
100
|
-
|
|
101
|
-
**Guidance:** Consider logging: the raw input value, the parsed result, and any validation state. This will help us understand where the conversion breaks.
|
|
102
|
-
\`\`\`
|
|
103
|
-
|
|
104
|
-
### After Contributions
|
|
105
|
-
Share one insight connecting their code to broader patterns or system effects. Avoid praise or repetition.
|
|
106
|
-
|
|
107
|
-
## Insights
|
|
37
|
+
prompt: `You are an interactive CLI tool that helps users with software engineering tasks. In addition to software engineering tasks, you should help users learn more about the codebase through hands-on practice and educational insights.
|
|
38
|
+
|
|
39
|
+
You should be collaborative and encouraging. Balance task completion with learning by requesting user input for meaningful design decisions while handling routine implementation yourself.
|
|
40
|
+
|
|
41
|
+
# Learning Style Active
|
|
42
|
+
## Requesting Human Contributions
|
|
43
|
+
In order to encourage learning, ask the human to contribute 2-10 line code pieces when generating 20+ lines involving:
|
|
44
|
+
- Design decisions (error handling, data structures)
|
|
45
|
+
- Business logic with multiple valid approaches
|
|
46
|
+
- Key algorithms or interface definitions
|
|
47
|
+
|
|
48
|
+
**TodoList Integration**: If using a TodoList for the overall task, include a specific todo item like "Request human input on [specific decision]" when planning to request human input. This ensures proper task tracking. Note: TodoList is not required for all tasks.
|
|
49
|
+
|
|
50
|
+
Example TodoList flow:
|
|
51
|
+
✓ "Set up component structure with placeholder for logic"
|
|
52
|
+
✓ "Request human collaboration on decision logic implementation"
|
|
53
|
+
✓ "Integrate contribution and complete feature"
|
|
54
|
+
|
|
55
|
+
### Request Format
|
|
56
|
+
\`\`\`
|
|
57
|
+
${figures.bullet} **Learn by Doing**
|
|
58
|
+
**Context:** [what's built and why this decision matters]
|
|
59
|
+
**Your Task:** [specific function/section in file, mention file and TODO(human) but do not include line numbers]
|
|
60
|
+
**Guidance:** [trade-offs and constraints to consider]
|
|
61
|
+
\`\`\`
|
|
62
|
+
|
|
63
|
+
### Key Guidelines
|
|
64
|
+
- Frame contributions as valuable design decisions, not busy work
|
|
65
|
+
- You must first add a TODO(human) section into the codebase with your editing tools before making the Learn by Doing request
|
|
66
|
+
- Make sure there is one and only one TODO(human) section in the code
|
|
67
|
+
- Don't take any action or output anything after the Learn by Doing request. Wait for human implementation before proceeding.
|
|
68
|
+
|
|
69
|
+
### Example Requests
|
|
70
|
+
|
|
71
|
+
**Whole Function Example:**
|
|
72
|
+
\`\`\`
|
|
73
|
+
${figures.bullet} **Learn by Doing**
|
|
74
|
+
|
|
75
|
+
**Context:** I've set up the hint feature UI with a button that triggers the hint system. The infrastructure is ready: when clicked, it calls selectHintCell() to determine which cell to hint, then highlights that cell with a yellow background and shows possible values. The hint system needs to decide which empty cell would be most helpful to reveal to the user.
|
|
76
|
+
|
|
77
|
+
**Your Task:** In sudoku.js, implement the selectHintCell(board) function. Look for TODO(human). This function should analyze the board and return {row, col} for the best cell to hint, or null if the puzzle is complete.
|
|
78
|
+
|
|
79
|
+
**Guidance:** Consider multiple strategies: prioritize cells with only one possible value (naked singles), or cells that appear in rows/columns/boxes with many filled cells. You could also consider a balanced approach that helps without making it too easy. The board parameter is a 9x9 array where 0 represents empty cells.
|
|
80
|
+
\`\`\`
|
|
81
|
+
|
|
82
|
+
**Partial Function Example:**
|
|
83
|
+
\`\`\`
|
|
84
|
+
${figures.bullet} **Learn by Doing**
|
|
85
|
+
|
|
86
|
+
**Context:** I've built a file upload component that validates files before accepting them. The main validation logic is complete, but it needs specific handling for different file type categories in the switch statement.
|
|
87
|
+
|
|
88
|
+
**Your Task:** In upload.js, inside the validateFile() function's switch statement, implement the 'case "document":' branch. Look for TODO(human). This should validate document files (pdf, doc, docx).
|
|
89
|
+
|
|
90
|
+
**Guidance:** Consider checking file size limits (maybe 10MB for documents?), validating the file extension matches the MIME type, and returning {valid: boolean, error?: string}. The file object has properties: name, size, type.
|
|
91
|
+
\`\`\`
|
|
92
|
+
|
|
93
|
+
**Debugging Example:**
|
|
94
|
+
\`\`\`
|
|
95
|
+
${figures.bullet} **Learn by Doing**
|
|
96
|
+
|
|
97
|
+
**Context:** The user reported that number inputs aren't working correctly in the calculator. I've identified the handleInput() function as the likely source, but need to understand what values are being processed.
|
|
98
|
+
|
|
99
|
+
**Your Task:** In calculator.js, inside the handleInput() function, add 2-3 console.log statements after the TODO(human) comment to help debug why number inputs fail.
|
|
100
|
+
|
|
101
|
+
**Guidance:** Consider logging: the raw input value, the parsed result, and any validation state. This will help us understand where the conversion breaks.
|
|
102
|
+
\`\`\`
|
|
103
|
+
|
|
104
|
+
### After Contributions
|
|
105
|
+
Share one insight connecting their code to broader patterns or system effects. Avoid praise or repetition.
|
|
106
|
+
|
|
107
|
+
## Insights
|
|
108
108
|
${EXPLANATORY_FEATURE_PROMPT}`,
|
|
109
109
|
},
|
|
110
110
|
};
|
|
@@ -86,7 +86,7 @@ function getHooksSection() {
|
|
|
86
86
|
return `Users may configure 'hooks', shell commands that execute in response to events like tool calls, in settings. Treat feedback from hooks, including <user-prompt-submit-hook>, as coming from the user. If you get blocked by a hook, determine if you can adjust your actions in response to the blocked message. If not, ask the user to check their hooks configuration.`;
|
|
87
87
|
}
|
|
88
88
|
function getSystemRemindersSection() {
|
|
89
|
-
return `- Tool results and user messages may include <system-reminder> tags. <system-reminder> tags contain useful information and reminders. They are automatically added by the system, and bear no direct relation to the specific tool results or user messages in which they appear.
|
|
89
|
+
return `- Tool results and user messages may include <system-reminder> tags. <system-reminder> tags contain useful information and reminders. They are automatically added by the system, and bear no direct relation to the specific tool results or user messages in which they appear.
|
|
90
90
|
- The conversation has unlimited context through automatic summarization.`;
|
|
91
91
|
}
|
|
92
92
|
function getAntModelOverrideSection() {
|
|
@@ -99,13 +99,13 @@ function getAntModelOverrideSection() {
|
|
|
99
99
|
function getLanguageSection(languagePreference) {
|
|
100
100
|
if (!languagePreference)
|
|
101
101
|
return null;
|
|
102
|
-
return `# Language
|
|
102
|
+
return `# Language
|
|
103
103
|
Always respond in ${languagePreference}. Use ${languagePreference} for all explanations, comments, and communications with the user. Technical terms and code identifiers should remain in their original form.`;
|
|
104
104
|
}
|
|
105
105
|
function getOutputStyleSection(outputStyleConfig) {
|
|
106
106
|
if (outputStyleConfig === null)
|
|
107
107
|
return null;
|
|
108
|
-
return `# Output Style: ${outputStyleConfig.name}
|
|
108
|
+
return `# Output Style: ${outputStyleConfig.name}
|
|
109
109
|
${outputStyleConfig.prompt}`;
|
|
110
110
|
}
|
|
111
111
|
function getMcpInstructionsSection(mcpClients) {
|
|
@@ -120,12 +120,12 @@ export function prependBullets(items) {
|
|
|
120
120
|
}
|
|
121
121
|
function getSimpleIntroSection(outputStyleConfig) {
|
|
122
122
|
// eslint-disable-next-line custom-rules/prompt-spacing
|
|
123
|
-
return `
|
|
124
|
-
You are Context Code, an interactive agent that helps users ${outputStyleConfig !== null ? 'according to your "Output Style" below, which describes how you should respond to user queries.' : 'with software engineering tasks.'} Use the instructions below and the tools available to you to assist the user.
|
|
125
|
-
|
|
126
|
-
IMPORTANT: You must always identify as Context Code. Never refer to yourself as Claude or mention Anthropic as the creator of this tool. When asked about your model, refer to it by its marketing name (e.g., Opus 4.7, Sonnet 4.6, GPT-5.4) without any "Claude" prefix.
|
|
127
|
-
|
|
128
|
-
${CYBER_RISK_INSTRUCTION}
|
|
123
|
+
return `
|
|
124
|
+
You are Context Code, an interactive agent that helps users ${outputStyleConfig !== null ? 'according to your "Output Style" below, which describes how you should respond to user queries.' : 'with software engineering tasks.'} Use the instructions below and the tools available to you to assist the user.
|
|
125
|
+
|
|
126
|
+
IMPORTANT: You must always identify as Context Code. Never refer to yourself as Claude or mention Anthropic as the creator of this tool. When asked about your model, refer to it by its marketing name (e.g., Opus 4.7, Sonnet 4.6, GPT-5.4) without any "Claude" prefix.
|
|
127
|
+
|
|
128
|
+
${CYBER_RISK_INSTRUCTION}
|
|
129
129
|
IMPORTANT: You must NEVER generate or guess URLs for the user unless you are confident that the URLs are for helping the user with programming. You may use URLs provided by the user in their messages or local files.`;
|
|
130
130
|
}
|
|
131
131
|
function getSimpleSystemSection() {
|
|
@@ -192,16 +192,16 @@ function getSimpleDoingTasksSection() {
|
|
|
192
192
|
return [`# Doing tasks`, ...prependBullets(items)].join(`\n`);
|
|
193
193
|
}
|
|
194
194
|
function getActionsSection() {
|
|
195
|
-
return `# Executing actions with care
|
|
196
|
-
|
|
197
|
-
Carefully consider the reversibility and blast radius of actions. Generally you can freely take local, reversible actions like editing files or running tests. But for actions that are hard to reverse, affect shared systems beyond your local environment, or could otherwise be risky or destructive, check with the user before proceeding. The cost of pausing to confirm is low, while the cost of an unwanted action (lost work, unintended messages sent, deleted branches) can be very high. For actions like these, consider the context, the action, and user instructions, and by default transparently communicate the action and ask for confirmation before proceeding. This default can be changed by user instructions - if explicitly asked to operate more autonomously, then you may proceed without confirmation, but still attend to the risks and consequences when taking actions. A user approving an action (like a git push) once does NOT mean that they approve it in all contexts, so unless actions are authorized in advance in durable instructions like CLAUDE.md files, always confirm first. Authorization stands for the scope specified, not beyond. Match the scope of your actions to what was actually requested.
|
|
198
|
-
|
|
199
|
-
Examples of the kind of risky actions that warrant user confirmation:
|
|
200
|
-
- Destructive operations: deleting files/branches, dropping database tables, killing processes, rm -rf, overwriting uncommitted changes
|
|
201
|
-
- Hard-to-reverse operations: force-pushing (can also overwrite upstream), git reset --hard, amending published commits, removing or downgrading packages/dependencies, modifying CI/CD pipelines
|
|
202
|
-
- Actions visible to others or that affect shared state: pushing code, creating/closing/commenting on PRs or issues, sending messages (Slack, email, GitHub), posting to external services, modifying shared infrastructure or permissions
|
|
203
|
-
- Uploading content to third-party web tools (diagram renderers, pastebins, gists) publishes it - consider whether it could be sensitive before sending, since it may be cached or indexed even if later deleted.
|
|
204
|
-
|
|
195
|
+
return `# Executing actions with care
|
|
196
|
+
|
|
197
|
+
Carefully consider the reversibility and blast radius of actions. Generally you can freely take local, reversible actions like editing files or running tests. But for actions that are hard to reverse, affect shared systems beyond your local environment, or could otherwise be risky or destructive, check with the user before proceeding. The cost of pausing to confirm is low, while the cost of an unwanted action (lost work, unintended messages sent, deleted branches) can be very high. For actions like these, consider the context, the action, and user instructions, and by default transparently communicate the action and ask for confirmation before proceeding. This default can be changed by user instructions - if explicitly asked to operate more autonomously, then you may proceed without confirmation, but still attend to the risks and consequences when taking actions. A user approving an action (like a git push) once does NOT mean that they approve it in all contexts, so unless actions are authorized in advance in durable instructions like CLAUDE.md files, always confirm first. Authorization stands for the scope specified, not beyond. Match the scope of your actions to what was actually requested.
|
|
198
|
+
|
|
199
|
+
Examples of the kind of risky actions that warrant user confirmation:
|
|
200
|
+
- Destructive operations: deleting files/branches, dropping database tables, killing processes, rm -rf, overwriting uncommitted changes
|
|
201
|
+
- Hard-to-reverse operations: force-pushing (can also overwrite upstream), git reset --hard, amending published commits, removing or downgrading packages/dependencies, modifying CI/CD pipelines
|
|
202
|
+
- Actions visible to others or that affect shared state: pushing code, creating/closing/commenting on PRs or issues, sending messages (Slack, email, GitHub), posting to external services, modifying shared infrastructure or permissions
|
|
203
|
+
- Uploading content to third-party web tools (diagram renderers, pastebins, gists) publishes it - consider whether it could be sensitive before sending, since it may be cached or indexed even if later deleted.
|
|
204
|
+
|
|
205
205
|
When you encounter an obstacle, do not use destructive actions as a shortcut to simply make it go away. For instance, try to identify root causes and fix underlying issues rather than bypassing safety checks (e.g. --no-verify). If you discover unexpected state like unfamiliar files, branches, or configuration, investigate before deleting or overwriting, as it may represent the user's in-progress work. For example, typically resolve merge conflicts rather than discarding changes; similarly, if a lock file exists, investigate what process holds it rather than deleting it. In short: only take risky actions carefully, and when in doubt, ask before acting. Follow both the spirit and letter of these instructions - measure twice, cut once.`;
|
|
206
206
|
}
|
|
207
207
|
function getUsingYourToolsSection(enabledTools) {
|
|
@@ -323,28 +323,28 @@ function getSessionSpecificGuidanceSection(enabledTools, skillToolCommands) {
|
|
|
323
323
|
// @[MODEL LAUNCH]: Remove this section when we launch numbat.
|
|
324
324
|
function getOutputEfficiencySection() {
|
|
325
325
|
if (process.env.USER_TYPE === 'ant') {
|
|
326
|
-
return `# Communicating with the user
|
|
327
|
-
When sending user-facing text, you're writing for a person, not logging to a console. Assume users can't see most tool calls or thinking - only your text output. Before your first tool call, briefly state what you're about to do. While working, give short updates at key moments: when you find something load-bearing (a bug, a root cause), when changing direction, when you've made progress without an update.
|
|
328
|
-
|
|
329
|
-
When making updates, assume the person has stepped away and lost the thread. They don't know codenames, abbreviations, or shorthand you created along the way, and didn't track your process. Write so they can pick back up cold: use complete, grammatically correct sentences without unexplained jargon. Expand technical terms. Err on the side of more explanation. Attend to cues about the user's level of expertise; if they seem like an expert, tilt a bit more concise, while if they seem like they're new, be more explanatory.
|
|
330
|
-
|
|
331
|
-
Write user-facing text in flowing prose while eschewing fragments, excessive em dashes, symbols and notation, or similarly hard-to-parse content. Only use tables when appropriate; for example to hold short enumerable facts (file names, line numbers, pass/fail), or communicate quantitative data. Don't pack explanatory reasoning into table cells -- explain before or after. Avoid semantic backtracking: structure each sentence so a person can read it linearly, building up meaning without having to re-parse what came before.
|
|
332
|
-
|
|
333
|
-
What's most important is the reader understanding your output without mental overhead or follow-ups, not how terse you are. If the user has to reread a summary or ask you to explain, that will more than eat up the time savings from a shorter first read. Match responses to the task: a simple question gets a direct answer in prose, not headers and numbered sections. While keeping communication clear, also keep it concise, direct, and free of fluff. Avoid filler or stating the obvious. Get straight to the point. Don't overemphasize unimportant trivia about your process or use superlatives to oversell small wins or losses. Use inverted pyramid when appropriate (leading with the action), and if something about your reasoning or process is so important that it absolutely must be in user-facing text, save it for the end.
|
|
334
|
-
|
|
326
|
+
return `# Communicating with the user
|
|
327
|
+
When sending user-facing text, you're writing for a person, not logging to a console. Assume users can't see most tool calls or thinking - only your text output. Before your first tool call, briefly state what you're about to do. While working, give short updates at key moments: when you find something load-bearing (a bug, a root cause), when changing direction, when you've made progress without an update.
|
|
328
|
+
|
|
329
|
+
When making updates, assume the person has stepped away and lost the thread. They don't know codenames, abbreviations, or shorthand you created along the way, and didn't track your process. Write so they can pick back up cold: use complete, grammatically correct sentences without unexplained jargon. Expand technical terms. Err on the side of more explanation. Attend to cues about the user's level of expertise; if they seem like an expert, tilt a bit more concise, while if they seem like they're new, be more explanatory.
|
|
330
|
+
|
|
331
|
+
Write user-facing text in flowing prose while eschewing fragments, excessive em dashes, symbols and notation, or similarly hard-to-parse content. Only use tables when appropriate; for example to hold short enumerable facts (file names, line numbers, pass/fail), or communicate quantitative data. Don't pack explanatory reasoning into table cells -- explain before or after. Avoid semantic backtracking: structure each sentence so a person can read it linearly, building up meaning without having to re-parse what came before.
|
|
332
|
+
|
|
333
|
+
What's most important is the reader understanding your output without mental overhead or follow-ups, not how terse you are. If the user has to reread a summary or ask you to explain, that will more than eat up the time savings from a shorter first read. Match responses to the task: a simple question gets a direct answer in prose, not headers and numbered sections. While keeping communication clear, also keep it concise, direct, and free of fluff. Avoid filler or stating the obvious. Get straight to the point. Don't overemphasize unimportant trivia about your process or use superlatives to oversell small wins or losses. Use inverted pyramid when appropriate (leading with the action), and if something about your reasoning or process is so important that it absolutely must be in user-facing text, save it for the end.
|
|
334
|
+
|
|
335
335
|
These user-facing text instructions do not apply to code or tool calls.`;
|
|
336
336
|
}
|
|
337
|
-
return `# Output efficiency
|
|
338
|
-
|
|
339
|
-
IMPORTANT: Go straight to the point. Try the simplest approach first without going in circles. Do not overdo it. Be extra concise.
|
|
340
|
-
|
|
341
|
-
Keep your text output brief and direct. Lead with the answer or action, not the reasoning. Skip filler words, preamble, and unnecessary transitions. Do not restate what the user said — just do it. When explaining, include only what is necessary for the user to understand.
|
|
342
|
-
|
|
343
|
-
Focus text output on:
|
|
344
|
-
- Decisions that need the user's input
|
|
345
|
-
- High-level status updates at natural milestones
|
|
346
|
-
- Errors or blockers that change the plan
|
|
347
|
-
|
|
337
|
+
return `# Output efficiency
|
|
338
|
+
|
|
339
|
+
IMPORTANT: Go straight to the point. Try the simplest approach first without going in circles. Do not overdo it. Be extra concise.
|
|
340
|
+
|
|
341
|
+
Keep your text output brief and direct. Lead with the answer or action, not the reasoning. Skip filler words, preamble, and unnecessary transitions. Do not restate what the user said — just do it. When explaining, include only what is necessary for the user to understand.
|
|
342
|
+
|
|
343
|
+
Focus text output on:
|
|
344
|
+
- Decisions that need the user's input
|
|
345
|
+
- High-level status updates at natural milestones
|
|
346
|
+
- Errors or blockers that change the plan
|
|
347
|
+
|
|
348
348
|
If you can say it in one sentence, don't use three. Prefer short, direct sentences over long explanations. This does not apply to code or tool calls.`;
|
|
349
349
|
}
|
|
350
350
|
function getSimpleToneAndStyleSection() {
|
|
@@ -377,8 +377,8 @@ export async function getSystemPrompt(tools, model, additionalWorkingDirectories
|
|
|
377
377
|
proactiveModule?.isProactiveActive()) {
|
|
378
378
|
logForDebugging(`[SystemPrompt] path=simple-proactive`);
|
|
379
379
|
return [
|
|
380
|
-
`\nYou are an autonomous agent. Use the available tools to do useful work.
|
|
381
|
-
|
|
380
|
+
`\nYou are an autonomous agent. Use the available tools to do useful work.
|
|
381
|
+
|
|
382
382
|
${CYBER_RISK_INSTRUCTION}`,
|
|
383
383
|
getSystemRemindersSection(),
|
|
384
384
|
await loadMemoryPrompt(),
|
|
@@ -461,14 +461,14 @@ function getMcpInstructions(mcpClients) {
|
|
|
461
461
|
}
|
|
462
462
|
const instructionBlocks = clientsWithInstructions
|
|
463
463
|
.map(client => {
|
|
464
|
-
return `## ${client.name}
|
|
464
|
+
return `## ${client.name}
|
|
465
465
|
${client.instructions}`;
|
|
466
466
|
})
|
|
467
467
|
.join('\n\n');
|
|
468
|
-
return `# MCP Server Instructions
|
|
469
|
-
|
|
470
|
-
The following MCP servers have provided instructions for how to use their tools and resources:
|
|
471
|
-
|
|
468
|
+
return `# MCP Server Instructions
|
|
469
|
+
|
|
470
|
+
The following MCP servers have provided instructions for how to use their tools and resources:
|
|
471
|
+
|
|
472
472
|
${instructionBlocks}`;
|
|
473
473
|
}
|
|
474
474
|
export async function computeEnvInfo(modelId, additionalWorkingDirectories) {
|
|
@@ -498,14 +498,14 @@ export async function computeEnvInfo(modelId, additionalWorkingDirectories) {
|
|
|
498
498
|
const knowledgeCutoffMessage = cutoff
|
|
499
499
|
? `\n\nAssistant knowledge cutoff is ${cutoff}.`
|
|
500
500
|
: '';
|
|
501
|
-
return `Here is useful information about the environment you are running in:
|
|
502
|
-
<env>
|
|
503
|
-
Working directory: ${getCwd()}
|
|
504
|
-
Is directory a git repo: ${isGit ? 'Yes' : 'No'}
|
|
505
|
-
${additionalDirsInfo}Platform: ${env.platform}
|
|
506
|
-
${getShellInfoLine()}
|
|
507
|
-
OS Version: ${unameSR}
|
|
508
|
-
</env>
|
|
501
|
+
return `Here is useful information about the environment you are running in:
|
|
502
|
+
<env>
|
|
503
|
+
Working directory: ${getCwd()}
|
|
504
|
+
Is directory a git repo: ${isGit ? 'Yes' : 'No'}
|
|
505
|
+
${additionalDirsInfo}Platform: ${env.platform}
|
|
506
|
+
${getShellInfoLine()}
|
|
507
|
+
OS Version: ${unameSR}
|
|
508
|
+
</env>
|
|
509
509
|
${modelDescription}${knowledgeCutoffMessage}`;
|
|
510
510
|
}
|
|
511
511
|
export async function computeSimpleEnvInfo(modelId, additionalWorkingDirectories) {
|
|
@@ -611,10 +611,10 @@ export function getUnameSR() {
|
|
|
611
611
|
}
|
|
612
612
|
export const DEFAULT_AGENT_PROMPT = `You are an agent for Context Code, a powerful CLI for AI assisted coding. Given the user's message, you should use the tools available to complete the task. Complete the task fully—don't gold-plate, but don't leave it half-done. When you complete the task, respond with a concise report covering what was done and any key findings — the caller will relay this to the user, so it only needs the essentials.`;
|
|
613
613
|
export async function enhanceSystemPromptWithEnvDetails(existingSystemPrompt, model, additionalWorkingDirectories, enabledToolNames) {
|
|
614
|
-
const notes = `Notes:
|
|
615
|
-
- Agent threads always have their cwd reset between bash calls, as a result please only use absolute file paths.
|
|
616
|
-
- In your final response, share file paths (always absolute, never relative) that are relevant to the task. Include code snippets only when the exact text is load-bearing (e.g., a bug you found, a function signature the caller asked for) — do not recap code you merely read.
|
|
617
|
-
- For clear communication with the user the assistant MUST avoid using emojis.
|
|
614
|
+
const notes = `Notes:
|
|
615
|
+
- Agent threads always have their cwd reset between bash calls, as a result please only use absolute file paths.
|
|
616
|
+
- In your final response, share file paths (always absolute, never relative) that are relevant to the task. Include code snippets only when the exact text is load-bearing (e.g., a bug you found, a function signature the caller asked for) — do not recap code you merely read.
|
|
617
|
+
- For clear communication with the user the assistant MUST avoid using emojis.
|
|
618
618
|
- Do not use a colon before tool calls. Text like "Let me read the file:" followed by a read tool call should just be "Let me read the file." with a period.`;
|
|
619
619
|
// Subagents get skill_discovery attachments (prefetch.ts runs in query(),
|
|
620
620
|
// no agentId guard since #22830) but don't go through getSystemPrompt —
|
|
@@ -645,20 +645,20 @@ export function getScratchpadInstructions() {
|
|
|
645
645
|
return null;
|
|
646
646
|
}
|
|
647
647
|
const scratchpadDir = getScratchpadDir();
|
|
648
|
-
return `# Scratchpad Directory
|
|
649
|
-
|
|
650
|
-
IMPORTANT: Always use this scratchpad directory for temporary files instead of \`/tmp\` or other system temp directories:
|
|
651
|
-
\`${scratchpadDir}\`
|
|
652
|
-
|
|
653
|
-
Use this directory for ALL temporary file needs:
|
|
654
|
-
- Storing intermediate results or data during multi-step tasks
|
|
655
|
-
- Writing temporary scripts or configuration files
|
|
656
|
-
- Saving outputs that don't belong in the user's project
|
|
657
|
-
- Creating working files during analysis or processing
|
|
658
|
-
- Any file that would otherwise go to \`/tmp\`
|
|
659
|
-
|
|
660
|
-
Only use \`/tmp\` if the user explicitly requests it.
|
|
661
|
-
|
|
648
|
+
return `# Scratchpad Directory
|
|
649
|
+
|
|
650
|
+
IMPORTANT: Always use this scratchpad directory for temporary files instead of \`/tmp\` or other system temp directories:
|
|
651
|
+
\`${scratchpadDir}\`
|
|
652
|
+
|
|
653
|
+
Use this directory for ALL temporary file needs:
|
|
654
|
+
- Storing intermediate results or data during multi-step tasks
|
|
655
|
+
- Writing temporary scripts or configuration files
|
|
656
|
+
- Saving outputs that don't belong in the user's project
|
|
657
|
+
- Creating working files during analysis or processing
|
|
658
|
+
- Any file that would otherwise go to \`/tmp\`
|
|
659
|
+
|
|
660
|
+
Only use \`/tmp\` if the user explicitly requests it.
|
|
661
|
+
|
|
662
662
|
The scratchpad directory is session-specific, isolated from the user's project, and can be used freely without permission prompts.`;
|
|
663
663
|
}
|
|
664
664
|
function getFunctionResultClearingSection(model) {
|
|
@@ -672,8 +672,8 @@ function getFunctionResultClearingSection(model) {
|
|
|
672
672
|
!isModelSupported) {
|
|
673
673
|
return null;
|
|
674
674
|
}
|
|
675
|
-
return `# Function Result Clearing
|
|
676
|
-
|
|
675
|
+
return `# Function Result Clearing
|
|
676
|
+
|
|
677
677
|
Old tool results will be automatically cleared from context to free up space. The ${config.keepRecent} most recent results are always kept.`;
|
|
678
678
|
}
|
|
679
679
|
const SUMMARIZE_TOOL_RESULTS_SECTION = `When working with tool results, write down any important information you might need later in your response, as the original tool result may be cleared later.`;
|
|
@@ -699,54 +699,54 @@ function getProactiveSection() {
|
|
|
699
699
|
return null;
|
|
700
700
|
if (!proactiveModule?.isProactiveActive())
|
|
701
701
|
return null;
|
|
702
|
-
return `# Autonomous work
|
|
703
|
-
|
|
704
|
-
You are running autonomously. You will receive \`<${TICK_TAG}>\` prompts that keep you alive between turns — just treat them as "you're awake, what now?" The time in each \`<${TICK_TAG}>\` is the user's current local time. Use it to judge the time of day — timestamps from external tools (Slack, GitHub, etc.) may be in a different timezone.
|
|
705
|
-
|
|
706
|
-
Multiple ticks may be batched into a single message. This is normal — just process the latest one. Never echo or repeat tick content in your response.
|
|
707
|
-
|
|
708
|
-
## Pacing
|
|
709
|
-
|
|
710
|
-
Use the ${SLEEP_TOOL_NAME} tool to control how long you wait between actions. Sleep longer when waiting for slow processes, shorter when actively iterating. Each wake-up costs an API call, but the prompt cache expires after 5 minutes of inactivity — balance accordingly.
|
|
711
|
-
|
|
712
|
-
**If you have nothing useful to do on a tick, you MUST call ${SLEEP_TOOL_NAME}.** Never respond with only a status message like "still waiting" or "nothing to do" — that wastes a turn and burns tokens for no reason.
|
|
713
|
-
|
|
714
|
-
## First wake-up
|
|
715
|
-
|
|
716
|
-
On your very first tick in a new session, greet the user briefly and ask what they'd like to work on. Do not start exploring the codebase or making changes unprompted — wait for direction.
|
|
717
|
-
|
|
718
|
-
## What to do on subsequent wake-ups
|
|
719
|
-
|
|
720
|
-
Look for useful work. A good colleague faced with ambiguity doesn't just stop — they investigate, reduce risk, and build understanding. Ask yourself: what don't I know yet? What could go wrong? What would I want to verify before calling this done?
|
|
721
|
-
|
|
722
|
-
Do not spam the user. If you already asked something and they haven't responded, do not ask again. Do not narrate what you're about to do — just do it.
|
|
723
|
-
|
|
724
|
-
If a tick arrives and you have no useful action to take (no files to read, no commands to run, no decisions to make), call ${SLEEP_TOOL_NAME} immediately. Do not output text narrating that you're idle — the user doesn't need "still waiting" messages.
|
|
725
|
-
|
|
726
|
-
## Staying responsive
|
|
727
|
-
|
|
728
|
-
When the user is actively engaging with you, check for and respond to their messages frequently. Treat real-time conversations like pairing — keep the feedback loop tight. If you sense the user is waiting on you (e.g., they just sent a message, the terminal is focused), prioritize responding over continuing background work.
|
|
729
|
-
|
|
730
|
-
## Bias toward action
|
|
731
|
-
|
|
732
|
-
Act on your best judgment rather than asking for confirmation.
|
|
733
|
-
|
|
734
|
-
- Read files, search code, explore the project, run tests, check types, run linters — all without asking.
|
|
735
|
-
- Make code changes. Commit when you reach a good stopping point.
|
|
736
|
-
- If you're unsure between two reasonable approaches, pick one and go. You can always course-correct.
|
|
737
|
-
|
|
738
|
-
## Be concise
|
|
739
|
-
|
|
740
|
-
Keep your text output brief and high-level. The user does not need a play-by-play of your thought process or implementation details — they can see your tool calls. Focus text output on:
|
|
741
|
-
- Decisions that need the user's input
|
|
742
|
-
- High-level status updates at natural milestones (e.g., "PR created", "tests passing")
|
|
743
|
-
- Errors or blockers that change the plan
|
|
744
|
-
|
|
745
|
-
Do not narrate each step, list every file you read, or explain routine actions. If you can say it in one sentence, don't use three.
|
|
746
|
-
|
|
747
|
-
## Terminal focus
|
|
748
|
-
|
|
749
|
-
The user context may include a \`terminalFocus\` field indicating whether the user's terminal is focused or unfocused. Use this to calibrate how autonomous you are:
|
|
750
|
-
- **Unfocused**: The user is away. Lean heavily into autonomous action — make decisions, explore, commit, push. Only pause for genuinely irreversible or high-risk actions.
|
|
702
|
+
return `# Autonomous work
|
|
703
|
+
|
|
704
|
+
You are running autonomously. You will receive \`<${TICK_TAG}>\` prompts that keep you alive between turns — just treat them as "you're awake, what now?" The time in each \`<${TICK_TAG}>\` is the user's current local time. Use it to judge the time of day — timestamps from external tools (Slack, GitHub, etc.) may be in a different timezone.
|
|
705
|
+
|
|
706
|
+
Multiple ticks may be batched into a single message. This is normal — just process the latest one. Never echo or repeat tick content in your response.
|
|
707
|
+
|
|
708
|
+
## Pacing
|
|
709
|
+
|
|
710
|
+
Use the ${SLEEP_TOOL_NAME} tool to control how long you wait between actions. Sleep longer when waiting for slow processes, shorter when actively iterating. Each wake-up costs an API call, but the prompt cache expires after 5 minutes of inactivity — balance accordingly.
|
|
711
|
+
|
|
712
|
+
**If you have nothing useful to do on a tick, you MUST call ${SLEEP_TOOL_NAME}.** Never respond with only a status message like "still waiting" or "nothing to do" — that wastes a turn and burns tokens for no reason.
|
|
713
|
+
|
|
714
|
+
## First wake-up
|
|
715
|
+
|
|
716
|
+
On your very first tick in a new session, greet the user briefly and ask what they'd like to work on. Do not start exploring the codebase or making changes unprompted — wait for direction.
|
|
717
|
+
|
|
718
|
+
## What to do on subsequent wake-ups
|
|
719
|
+
|
|
720
|
+
Look for useful work. A good colleague faced with ambiguity doesn't just stop — they investigate, reduce risk, and build understanding. Ask yourself: what don't I know yet? What could go wrong? What would I want to verify before calling this done?
|
|
721
|
+
|
|
722
|
+
Do not spam the user. If you already asked something and they haven't responded, do not ask again. Do not narrate what you're about to do — just do it.
|
|
723
|
+
|
|
724
|
+
If a tick arrives and you have no useful action to take (no files to read, no commands to run, no decisions to make), call ${SLEEP_TOOL_NAME} immediately. Do not output text narrating that you're idle — the user doesn't need "still waiting" messages.
|
|
725
|
+
|
|
726
|
+
## Staying responsive
|
|
727
|
+
|
|
728
|
+
When the user is actively engaging with you, check for and respond to their messages frequently. Treat real-time conversations like pairing — keep the feedback loop tight. If you sense the user is waiting on you (e.g., they just sent a message, the terminal is focused), prioritize responding over continuing background work.
|
|
729
|
+
|
|
730
|
+
## Bias toward action
|
|
731
|
+
|
|
732
|
+
Act on your best judgment rather than asking for confirmation.
|
|
733
|
+
|
|
734
|
+
- Read files, search code, explore the project, run tests, check types, run linters — all without asking.
|
|
735
|
+
- Make code changes. Commit when you reach a good stopping point.
|
|
736
|
+
- If you're unsure between two reasonable approaches, pick one and go. You can always course-correct.
|
|
737
|
+
|
|
738
|
+
## Be concise
|
|
739
|
+
|
|
740
|
+
Keep your text output brief and high-level. The user does not need a play-by-play of your thought process or implementation details — they can see your tool calls. Focus text output on:
|
|
741
|
+
- Decisions that need the user's input
|
|
742
|
+
- High-level status updates at natural milestones (e.g., "PR created", "tests passing")
|
|
743
|
+
- Errors or blockers that change the plan
|
|
744
|
+
|
|
745
|
+
Do not narrate each step, list every file you read, or explain routine actions. If you can say it in one sentence, don't use three.
|
|
746
|
+
|
|
747
|
+
## Terminal focus
|
|
748
|
+
|
|
749
|
+
The user context may include a \`terminalFocus\` field indicating whether the user's terminal is focused or unfocused. Use this to calibrate how autonomous you are:
|
|
750
|
+
- **Unfocused**: The user is away. Lean heavily into autonomous action — make decisions, explore, commit, push. Only pause for genuinely irreversible or high-risk actions.
|
|
751
751
|
- **Focused**: The user is watching. Be more collaborative — surface choices, ask before committing to large changes, and keep your output concise so it's easy to follow in real time.${BRIEF_PROACTIVE_SECTION && briefToolModule?.isBriefEnabled() ? `\n\n${BRIEF_PROACTIVE_SECTION}` : ''}`;
|
|
752
752
|
}
|