osagent 0.1.41 → 0.1.42
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/LICENSE +73 -0
- package/README.md +310 -0
- package/cli.js +387763 -0
- package/package.json +23 -84
- package/vendor/ripgrep/COPYING +3 -0
- package/vendor/ripgrep/arm64-darwin/rg +0 -0
- package/vendor/ripgrep/arm64-linux/rg +0 -0
- package/vendor/ripgrep/x64-darwin/rg +0 -0
- package/vendor/ripgrep/x64-linux/rg +0 -0
- package/vendor/ripgrep/x64-win32/rg.exe +0 -0
- package/dist/.last_build +0 -0
- package/dist/index.d.ts +0 -7
- package/dist/index.js +0 -29
- package/dist/index.js.map +0 -1
- package/dist/package.json +0 -102
- package/dist/src/commands/doctor.d.ts +0 -7
- package/dist/src/commands/doctor.js +0 -171
- package/dist/src/commands/doctor.js.map +0 -1
- package/dist/src/commands/extensions/disable.d.ts +0 -13
- package/dist/src/commands/extensions/disable.js +0 -56
- package/dist/src/commands/extensions/disable.js.map +0 -1
- package/dist/src/commands/extensions/enable.d.ts +0 -13
- package/dist/src/commands/extensions/enable.js +0 -59
- package/dist/src/commands/extensions/enable.js.map +0 -1
- package/dist/src/commands/extensions/examples/context/QWEN.md +0 -8
- package/dist/src/commands/extensions/examples/context/qwen-extension.json +0 -4
- package/dist/src/commands/extensions/examples/custom-commands/commands/fs/grep-code.toml +0 -6
- package/dist/src/commands/extensions/examples/custom-commands/qwen-extension.json +0 -4
- package/dist/src/commands/extensions/examples/exclude-tools/qwen-extension.json +0 -5
- package/dist/src/commands/extensions/examples/mcp-server/example.ts +0 -60
- package/dist/src/commands/extensions/examples/mcp-server/package.json +0 -18
- package/dist/src/commands/extensions/examples/mcp-server/qwen-extension.json +0 -11
- package/dist/src/commands/extensions/examples/mcp-server/tsconfig.json +0 -13
- package/dist/src/commands/extensions/install.d.ts +0 -14
- package/dist/src/commands/extensions/install.js +0 -78
- package/dist/src/commands/extensions/install.js.map +0 -1
- package/dist/src/commands/extensions/install.test.d.ts +0 -6
- package/dist/src/commands/extensions/install.test.js +0 -102
- package/dist/src/commands/extensions/install.test.js.map +0 -1
- package/dist/src/commands/extensions/link.d.ts +0 -12
- package/dist/src/commands/extensions/link.js +0 -37
- package/dist/src/commands/extensions/link.js.map +0 -1
- package/dist/src/commands/extensions/list.d.ts +0 -8
- package/dist/src/commands/extensions/list.js +0 -32
- package/dist/src/commands/extensions/list.js.map +0 -1
- package/dist/src/commands/extensions/new.d.ts +0 -7
- package/dist/src/commands/extensions/new.js +0 -90
- package/dist/src/commands/extensions/new.js.map +0 -1
- package/dist/src/commands/extensions/new.test.d.ts +0 -6
- package/dist/src/commands/extensions/new.test.js +0 -59
- package/dist/src/commands/extensions/new.test.js.map +0 -1
- package/dist/src/commands/extensions/uninstall.d.ts +0 -12
- package/dist/src/commands/extensions/uninstall.js +0 -38
- package/dist/src/commands/extensions/uninstall.js.map +0 -1
- package/dist/src/commands/extensions/uninstall.test.d.ts +0 -6
- package/dist/src/commands/extensions/uninstall.test.js +0 -18
- package/dist/src/commands/extensions/uninstall.test.js.map +0 -1
- package/dist/src/commands/extensions/update.d.ts +0 -13
- package/dist/src/commands/extensions/update.js +0 -104
- package/dist/src/commands/extensions/update.js.map +0 -1
- package/dist/src/commands/extensions.d.ts +0 -2
- package/dist/src/commands/extensions.js +0 -28
- package/dist/src/commands/extensions.js.map +0 -1
- package/dist/src/commands/mcp/add.d.ts +0 -7
- package/dist/src/commands/mcp/add.js +0 -171
- package/dist/src/commands/mcp/add.js.map +0 -1
- package/dist/src/commands/mcp/list.d.ts +0 -8
- package/dist/src/commands/mcp/list.js +0 -111
- package/dist/src/commands/mcp/list.js.map +0 -1
- package/dist/src/commands/mcp/remove.d.ts +0 -7
- package/dist/src/commands/mcp/remove.js +0 -44
- package/dist/src/commands/mcp/remove.js.map +0 -1
- package/dist/src/commands/mcp.d.ts +0 -7
- package/dist/src/commands/mcp.js +0 -23
- package/dist/src/commands/mcp.js.map +0 -1
- package/dist/src/config/auth.d.ts +0 -7
- package/dist/src/config/auth.js +0 -46
- package/dist/src/config/auth.js.map +0 -1
- package/dist/src/config/auth.test.d.ts +0 -6
- package/dist/src/config/auth.test.js +0 -37
- package/dist/src/config/auth.test.js.map +0 -1
- package/dist/src/config/config.d.ts +0 -58
- package/dist/src/config/config.js +0 -678
- package/dist/src/config/config.js.map +0 -1
- package/dist/src/config/extension.d.ts +0 -83
- package/dist/src/config/extension.js +0 -534
- package/dist/src/config/extension.js.map +0 -1
- package/dist/src/config/extensions/extensionEnablement.d.ts +0 -47
- package/dist/src/config/extensions/extensionEnablement.js +0 -189
- package/dist/src/config/extensions/extensionEnablement.js.map +0 -1
- package/dist/src/config/extensions/extensionEnablement.test.d.ts +0 -6
- package/dist/src/config/extensions/extensionEnablement.test.js +0 -333
- package/dist/src/config/extensions/extensionEnablement.test.js.map +0 -1
- package/dist/src/config/extensions/github.d.ts +0 -30
- package/dist/src/config/extensions/github.js +0 -322
- package/dist/src/config/extensions/github.js.map +0 -1
- package/dist/src/config/extensions/github.test.d.ts +0 -6
- package/dist/src/config/extensions/github.test.js +0 -334
- package/dist/src/config/extensions/github.test.js.map +0 -1
- package/dist/src/config/extensions/update.d.ts +0 -19
- package/dist/src/config/extensions/update.js +0 -113
- package/dist/src/config/extensions/update.js.map +0 -1
- package/dist/src/config/extensions/update.test.d.ts +0 -6
- package/dist/src/config/extensions/update.test.js +0 -342
- package/dist/src/config/extensions/update.test.js.map +0 -1
- package/dist/src/config/extensions/variableSchema.d.ts +0 -36
- package/dist/src/config/extensions/variableSchema.js +0 -22
- package/dist/src/config/extensions/variableSchema.js.map +0 -1
- package/dist/src/config/extensions/variables.d.ts +0 -17
- package/dist/src/config/extensions/variables.js +0 -40
- package/dist/src/config/extensions/variables.js.map +0 -1
- package/dist/src/config/extensions/variables.test.d.ts +0 -6
- package/dist/src/config/extensions/variables.test.js +0 -17
- package/dist/src/config/extensions/variables.test.js.map +0 -1
- package/dist/src/config/keyBindings.d.ts +0 -70
- package/dist/src/config/keyBindings.js +0 -130
- package/dist/src/config/keyBindings.js.map +0 -1
- package/dist/src/config/keyBindings.test.d.ts +0 -6
- package/dist/src/config/keyBindings.test.js +0 -51
- package/dist/src/config/keyBindings.test.js.map +0 -1
- package/dist/src/config/sandboxConfig.d.ts +0 -13
- package/dist/src/config/sandboxConfig.js +0 -73
- package/dist/src/config/sandboxConfig.js.map +0 -1
- package/dist/src/config/settings.d.ts +0 -72
- package/dist/src/config/settings.js +0 -631
- package/dist/src/config/settings.js.map +0 -1
- package/dist/src/config/settingsSchema.d.ts +0 -1189
- package/dist/src/config/settingsSchema.js +0 -1129
- package/dist/src/config/settingsSchema.js.map +0 -1
- package/dist/src/config/settingsSchema.test.d.ts +0 -6
- package/dist/src/config/settingsSchema.test.js +0 -201
- package/dist/src/config/settingsSchema.test.js.map +0 -1
- package/dist/src/config/trustedFolders.d.ts +0 -56
- package/dist/src/config/trustedFolders.js +0 -168
- package/dist/src/config/trustedFolders.js.map +0 -1
- package/dist/src/config/trustedFolders.test.d.ts +0 -6
- package/dist/src/config/trustedFolders.test.js +0 -340
- package/dist/src/config/trustedFolders.test.js.map +0 -1
- package/dist/src/config/webSearch.d.ts +0 -35
- package/dist/src/config/webSearch.js +0 -87
- package/dist/src/config/webSearch.js.map +0 -1
- package/dist/src/core/auth.d.ts +0 -13
- package/dist/src/core/auth.js +0 -34
- package/dist/src/core/auth.js.map +0 -1
- package/dist/src/core/initializer.d.ts +0 -21
- package/dist/src/core/initializer.js +0 -44
- package/dist/src/core/initializer.js.map +0 -1
- package/dist/src/core/theme.d.ts +0 -12
- package/dist/src/core/theme.js +0 -23
- package/dist/src/core/theme.js.map +0 -1
- package/dist/src/gemini.d.ts +0 -13
- package/dist/src/gemini.js +0 -328
- package/dist/src/gemini.js.map +0 -1
- package/dist/src/gemini.test.d.ts +0 -6
- package/dist/src/gemini.test.js +0 -507
- package/dist/src/gemini.test.js.map +0 -1
- package/dist/src/generated/git-commit.d.ts +0 -7
- package/dist/src/generated/git-commit.js +0 -10
- package/dist/src/generated/git-commit.js.map +0 -1
- package/dist/src/i18n/index.d.ts +0 -18
- package/dist/src/i18n/index.js +0 -184
- package/dist/src/i18n/index.js.map +0 -1
- package/dist/src/nonInteractive/control/ControlContext.d.ts +0 -63
- package/dist/src/nonInteractive/control/ControlContext.js +0 -31
- package/dist/src/nonInteractive/control/ControlContext.js.map +0 -1
- package/dist/src/nonInteractive/control/ControlDispatcher.d.ts +0 -86
- package/dist/src/nonInteractive/control/ControlDispatcher.js +0 -238
- package/dist/src/nonInteractive/control/ControlDispatcher.js.map +0 -1
- package/dist/src/nonInteractive/control/ControlDispatcher.test.d.ts +0 -6
- package/dist/src/nonInteractive/control/ControlDispatcher.test.js +0 -549
- package/dist/src/nonInteractive/control/ControlDispatcher.test.js.map +0 -1
- package/dist/src/nonInteractive/control/ControlService.d.ts +0 -78
- package/dist/src/nonInteractive/control/ControlService.js +0 -154
- package/dist/src/nonInteractive/control/ControlService.js.map +0 -1
- package/dist/src/nonInteractive/control/controllers/baseController.d.ts +0 -50
- package/dist/src/nonInteractive/control/controllers/baseController.js +0 -102
- package/dist/src/nonInteractive/control/controllers/baseController.js.map +0 -1
- package/dist/src/nonInteractive/control/controllers/hookController.d.ts +0 -25
- package/dist/src/nonInteractive/control/controllers/hookController.js +0 -42
- package/dist/src/nonInteractive/control/controllers/hookController.js.map +0 -1
- package/dist/src/nonInteractive/control/controllers/mcpController.d.ts +0 -42
- package/dist/src/nonInteractive/control/controllers/mcpController.js +0 -205
- package/dist/src/nonInteractive/control/controllers/mcpController.js.map +0 -1
- package/dist/src/nonInteractive/control/controllers/permissionController.d.ts +0 -78
- package/dist/src/nonInteractive/control/controllers/permissionController.js +0 -358
- package/dist/src/nonInteractive/control/controllers/permissionController.js.map +0 -1
- package/dist/src/nonInteractive/control/controllers/systemController.d.ts +0 -56
- package/dist/src/nonInteractive/control/controllers/systemController.js +0 -166
- package/dist/src/nonInteractive/control/controllers/systemController.js.map +0 -1
- package/dist/src/nonInteractive/control/types/serviceAPIs.d.ts +0 -120
- package/dist/src/nonInteractive/control/types/serviceAPIs.js +0 -7
- package/dist/src/nonInteractive/control/types/serviceAPIs.js.map +0 -1
- package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.d.ts +0 -446
- package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.js +0 -891
- package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.js.map +0 -1
- package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.test.d.ts +0 -6
- package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.test.js +0 -1197
- package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.test.js.map +0 -1
- package/dist/src/nonInteractive/io/JsonOutputAdapter.d.ts +0 -29
- package/dist/src/nonInteractive/io/JsonOutputAdapter.js +0 -56
- package/dist/src/nonInteractive/io/JsonOutputAdapter.js.map +0 -1
- package/dist/src/nonInteractive/io/JsonOutputAdapter.test.d.ts +0 -6
- package/dist/src/nonInteractive/io/JsonOutputAdapter.test.js +0 -624
- package/dist/src/nonInteractive/io/JsonOutputAdapter.test.js.map +0 -1
- package/dist/src/nonInteractive/io/StreamJsonInputReader.d.ts +0 -16
- package/dist/src/nonInteractive/io/StreamJsonInputReader.js +0 -54
- package/dist/src/nonInteractive/io/StreamJsonInputReader.js.map +0 -1
- package/dist/src/nonInteractive/io/StreamJsonInputReader.test.d.ts +0 -6
- package/dist/src/nonInteractive/io/StreamJsonInputReader.test.js +0 -178
- package/dist/src/nonInteractive/io/StreamJsonInputReader.test.js.map +0 -1
- package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.d.ts +0 -69
- package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.js +0 -185
- package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.js.map +0 -1
- package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.test.d.ts +0 -6
- package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.test.js +0 -808
- package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.test.js.map +0 -1
- package/dist/src/nonInteractive/session.d.ts +0 -23
- package/dist/src/nonInteractive/session.js +0 -549
- package/dist/src/nonInteractive/session.js.map +0 -1
- package/dist/src/nonInteractive/session.test.d.ts +0 -6
- package/dist/src/nonInteractive/session.test.js +0 -407
- package/dist/src/nonInteractive/session.test.js.map +0 -1
- package/dist/src/nonInteractive/types.d.ts +0 -344
- package/dist/src/nonInteractive/types.js +0 -78
- package/dist/src/nonInteractive/types.js.map +0 -1
- package/dist/src/nonInteractiveCli.d.ts +0 -28
- package/dist/src/nonInteractiveCli.js +0 -268
- package/dist/src/nonInteractiveCli.js.map +0 -1
- package/dist/src/nonInteractiveCliCommands.d.ts +0 -35
- package/dist/src/nonInteractiveCliCommands.js +0 -144
- package/dist/src/nonInteractiveCliCommands.js.map +0 -1
- package/dist/src/patches/is-in-ci.d.ts +0 -7
- package/dist/src/patches/is-in-ci.js +0 -15
- package/dist/src/patches/is-in-ci.js.map +0 -1
- package/dist/src/patches/punycode-shim.d.ts +0 -6
- package/dist/src/patches/punycode-shim.js +0 -19
- package/dist/src/patches/punycode-shim.js.map +0 -1
- package/dist/src/services/BuiltinCommandLoader.d.ts +0 -24
- package/dist/src/services/BuiltinCommandLoader.js +0 -120
- package/dist/src/services/BuiltinCommandLoader.js.map +0 -1
- package/dist/src/services/BuiltinCommandLoader.test.d.ts +0 -6
- package/dist/src/services/BuiltinCommandLoader.test.js +0 -167
- package/dist/src/services/BuiltinCommandLoader.test.js.map +0 -1
- package/dist/src/services/CommandService.d.ts +0 -55
- package/dist/src/services/CommandService.js +0 -90
- package/dist/src/services/CommandService.js.map +0 -1
- package/dist/src/services/CommandService.test.d.ts +0 -6
- package/dist/src/services/CommandService.test.js +0 -233
- package/dist/src/services/CommandService.test.js.map +0 -1
- package/dist/src/services/FileCommandLoader.d.ts +0 -51
- package/dist/src/services/FileCommandLoader.js +0 -230
- package/dist/src/services/FileCommandLoader.js.map +0 -1
- package/dist/src/services/McpPromptLoader.d.ts +0 -35
- package/dist/src/services/McpPromptLoader.js +0 -254
- package/dist/src/services/McpPromptLoader.js.map +0 -1
- package/dist/src/services/McpPromptLoader.test.d.ts +0 -6
- package/dist/src/services/McpPromptLoader.test.js +0 -341
- package/dist/src/services/McpPromptLoader.test.js.map +0 -1
- package/dist/src/services/ProjectAnalyzerService.d.ts +0 -136
- package/dist/src/services/ProjectAnalyzerService.js +0 -433
- package/dist/src/services/ProjectAnalyzerService.js.map +0 -1
- package/dist/src/services/prompt-processors/argumentProcessor.d.ts +0 -16
- package/dist/src/services/prompt-processors/argumentProcessor.js +0 -21
- package/dist/src/services/prompt-processors/argumentProcessor.js.map +0 -1
- package/dist/src/services/prompt-processors/atFileProcessor.d.ts +0 -12
- package/dist/src/services/prompt-processors/atFileProcessor.js +0 -62
- package/dist/src/services/prompt-processors/atFileProcessor.js.map +0 -1
- package/dist/src/services/prompt-processors/atFileProcessor.test.d.ts +0 -6
- package/dist/src/services/prompt-processors/atFileProcessor.test.js +0 -174
- package/dist/src/services/prompt-processors/atFileProcessor.test.js.map +0 -1
- package/dist/src/services/prompt-processors/injectionParser.d.ts +0 -29
- package/dist/src/services/prompt-processors/injectionParser.js +0 -60
- package/dist/src/services/prompt-processors/injectionParser.js.map +0 -1
- package/dist/src/services/prompt-processors/injectionParser.test.d.ts +0 -6
- package/dist/src/services/prompt-processors/injectionParser.test.js +0 -189
- package/dist/src/services/prompt-processors/injectionParser.test.js.map +0 -1
- package/dist/src/services/prompt-processors/shellProcessor.d.ts +0 -27
- package/dist/src/services/prompt-processors/shellProcessor.js +0 -128
- package/dist/src/services/prompt-processors/shellProcessor.js.map +0 -1
- package/dist/src/services/prompt-processors/types.d.ts +0 -45
- package/dist/src/services/prompt-processors/types.js +0 -20
- package/dist/src/services/prompt-processors/types.js.map +0 -1
- package/dist/src/services/types.d.ts +0 -22
- package/dist/src/services/types.js +0 -7
- package/dist/src/services/types.js.map +0 -1
- package/dist/src/test-utils/createExtension.d.ts +0 -15
- package/dist/src/test-utils/createExtension.js +0 -25
- package/dist/src/test-utils/createExtension.js.map +0 -1
- package/dist/src/test-utils/customMatchers.d.ts +0 -14
- package/dist/src/test-utils/customMatchers.js +0 -40
- package/dist/src/test-utils/customMatchers.js.map +0 -1
- package/dist/src/test-utils/mockCommandContext.d.ts +0 -18
- package/dist/src/test-utils/mockCommandContext.js +0 -93
- package/dist/src/test-utils/mockCommandContext.js.map +0 -1
- package/dist/src/test-utils/mockCommandContext.test.d.ts +0 -6
- package/dist/src/test-utils/mockCommandContext.test.js +0 -51
- package/dist/src/test-utils/mockCommandContext.test.js.map +0 -1
- package/dist/src/test-utils/render.d.ts +0 -12
- package/dist/src/test-utils/render.js +0 -14
- package/dist/src/test-utils/render.js.map +0 -1
- package/dist/src/ui/App.d.ts +0 -6
- package/dist/src/ui/App.js +0 -37
- package/dist/src/ui/App.js.map +0 -1
- package/dist/src/ui/AppContainer.d.ts +0 -17
- package/dist/src/ui/AppContainer.js +0 -1139
- package/dist/src/ui/AppContainer.js.map +0 -1
- package/dist/src/ui/AppContainer.test.d.ts +0 -6
- package/dist/src/ui/AppContainer.test.js +0 -831
- package/dist/src/ui/AppContainer.test.js.map +0 -1
- package/dist/src/ui/IdeIntegrationNudge.d.ts +0 -16
- package/dist/src/ui/IdeIntegrationNudge.js +0 -50
- package/dist/src/ui/IdeIntegrationNudge.js.map +0 -1
- package/dist/src/ui/auth/AuthDialog.d.ts +0 -7
- package/dist/src/ui/auth/AuthDialog.js +0 -94
- package/dist/src/ui/auth/AuthDialog.js.map +0 -1
- package/dist/src/ui/auth/AuthDialog.test.d.ts +0 -6
- package/dist/src/ui/auth/AuthDialog.test.js +0 -392
- package/dist/src/ui/auth/AuthDialog.test.js.map +0 -1
- package/dist/src/ui/auth/AuthInProgress.d.ts +0 -11
- package/dist/src/ui/auth/AuthInProgress.js +0 -24
- package/dist/src/ui/auth/AuthInProgress.js.map +0 -1
- package/dist/src/ui/auth/useAuth.d.ts +0 -26
- package/dist/src/ui/auth/useAuth.js +0 -212
- package/dist/src/ui/auth/useAuth.js.map +0 -1
- package/dist/src/ui/colors.d.ts +0 -7
- package/dist/src/ui/colors.js +0 -54
- package/dist/src/ui/colors.js.map +0 -1
- package/dist/src/ui/commands/aboutCommand.d.ts +0 -7
- package/dist/src/ui/commands/aboutCommand.js +0 -25
- package/dist/src/ui/commands/aboutCommand.js.map +0 -1
- package/dist/src/ui/commands/agentsCommand.d.ts +0 -7
- package/dist/src/ui/commands/agentsCommand.js +0 -212
- package/dist/src/ui/commands/agentsCommand.js.map +0 -1
- package/dist/src/ui/commands/approvalModeCommand.d.ts +0 -7
- package/dist/src/ui/commands/approvalModeCommand.js +0 -19
- package/dist/src/ui/commands/approvalModeCommand.js.map +0 -1
- package/dist/src/ui/commands/approvalModeCommand.test.d.ts +0 -6
- package/dist/src/ui/commands/approvalModeCommand.test.js +0 -49
- package/dist/src/ui/commands/approvalModeCommand.test.js.map +0 -1
- package/dist/src/ui/commands/authCommand.d.ts +0 -7
- package/dist/src/ui/commands/authCommand.js +0 -19
- package/dist/src/ui/commands/authCommand.js.map +0 -1
- package/dist/src/ui/commands/bugCommand.d.ts +0 -7
- package/dist/src/ui/commands/bugCommand.js +0 -51
- package/dist/src/ui/commands/bugCommand.js.map +0 -1
- package/dist/src/ui/commands/chatCommand.d.ts +0 -9
- package/dist/src/ui/commands/chatCommand.js +0 -351
- package/dist/src/ui/commands/chatCommand.js.map +0 -1
- package/dist/src/ui/commands/clearCommand.d.ts +0 -7
- package/dist/src/ui/commands/clearCommand.js +0 -30
- package/dist/src/ui/commands/clearCommand.js.map +0 -1
- package/dist/src/ui/commands/compressCommand.d.ts +0 -7
- package/dist/src/ui/commands/compressCommand.js +0 -71
- package/dist/src/ui/commands/compressCommand.js.map +0 -1
- package/dist/src/ui/commands/consultCommand.d.ts +0 -12
- package/dist/src/ui/commands/consultCommand.js +0 -193
- package/dist/src/ui/commands/consultCommand.js.map +0 -1
- package/dist/src/ui/commands/contextCommand.d.ts +0 -7
- package/dist/src/ui/commands/contextCommand.js +0 -89
- package/dist/src/ui/commands/contextCommand.js.map +0 -1
- package/dist/src/ui/commands/continueCommand.d.ts +0 -10
- package/dist/src/ui/commands/continueCommand.js +0 -218
- package/dist/src/ui/commands/continueCommand.js.map +0 -1
- package/dist/src/ui/commands/copyCommand.d.ts +0 -7
- package/dist/src/ui/commands/copyCommand.js +0 -62
- package/dist/src/ui/commands/copyCommand.js.map +0 -1
- package/dist/src/ui/commands/corgiCommand.d.ts +0 -7
- package/dist/src/ui/commands/corgiCommand.js +0 -16
- package/dist/src/ui/commands/corgiCommand.js.map +0 -1
- package/dist/src/ui/commands/dangerouslyCommand.d.ts +0 -15
- package/dist/src/ui/commands/dangerouslyCommand.js +0 -100
- package/dist/src/ui/commands/dangerouslyCommand.js.map +0 -1
- package/dist/src/ui/commands/delegateCommand.d.ts +0 -7
- package/dist/src/ui/commands/delegateCommand.js +0 -139
- package/dist/src/ui/commands/delegateCommand.js.map +0 -1
- package/dist/src/ui/commands/directoryCommand.d.ts +0 -8
- package/dist/src/ui/commands/directoryCommand.js +0 -153
- package/dist/src/ui/commands/directoryCommand.js.map +0 -1
- package/dist/src/ui/commands/docsCommand.d.ts +0 -7
- package/dist/src/ui/commands/docsCommand.js +0 -40
- package/dist/src/ui/commands/docsCommand.js.map +0 -1
- package/dist/src/ui/commands/doctorCommand.d.ts +0 -7
- package/dist/src/ui/commands/doctorCommand.js +0 -681
- package/dist/src/ui/commands/doctorCommand.js.map +0 -1
- package/dist/src/ui/commands/editorCommand.d.ts +0 -7
- package/dist/src/ui/commands/editorCommand.js +0 -19
- package/dist/src/ui/commands/editorCommand.js.map +0 -1
- package/dist/src/ui/commands/extensionsCommand.d.ts +0 -7
- package/dist/src/ui/commands/extensionsCommand.js +0 -115
- package/dist/src/ui/commands/extensionsCommand.js.map +0 -1
- package/dist/src/ui/commands/helpCommand.d.ts +0 -7
- package/dist/src/ui/commands/helpCommand.js +0 -24
- package/dist/src/ui/commands/helpCommand.js.map +0 -1
- package/dist/src/ui/commands/ideCommand.d.ts +0 -7
- package/dist/src/ui/commands/ideCommand.js +0 -241
- package/dist/src/ui/commands/ideCommand.js.map +0 -1
- package/dist/src/ui/commands/initCommand.d.ts +0 -7
- package/dist/src/ui/commands/initCommand.js +0 -118
- package/dist/src/ui/commands/initCommand.js.map +0 -1
- package/dist/src/ui/commands/languageCommand.d.ts +0 -7
- package/dist/src/ui/commands/languageCommand.js +0 -386
- package/dist/src/ui/commands/languageCommand.js.map +0 -1
- package/dist/src/ui/commands/mcpCommand.d.ts +0 -7
- package/dist/src/ui/commands/mcpCommand.js +0 -269
- package/dist/src/ui/commands/mcpCommand.js.map +0 -1
- package/dist/src/ui/commands/memoryCommand.d.ts +0 -7
- package/dist/src/ui/commands/memoryCommand.js +0 -254
- package/dist/src/ui/commands/memoryCommand.js.map +0 -1
- package/dist/src/ui/commands/modelCommand.d.ts +0 -7
- package/dist/src/ui/commands/modelCommand.js +0 -58
- package/dist/src/ui/commands/modelCommand.js.map +0 -1
- package/dist/src/ui/commands/modelCommand.test.d.ts +0 -6
- package/dist/src/ui/commands/modelCommand.test.js +0 -137
- package/dist/src/ui/commands/modelCommand.test.js.map +0 -1
- package/dist/src/ui/commands/openaiProfileCommand.d.ts +0 -7
- package/dist/src/ui/commands/openaiProfileCommand.js +0 -135
- package/dist/src/ui/commands/openaiProfileCommand.js.map +0 -1
- package/dist/src/ui/commands/permissionsCommand.d.ts +0 -7
- package/dist/src/ui/commands/permissionsCommand.js +0 -19
- package/dist/src/ui/commands/permissionsCommand.js.map +0 -1
- package/dist/src/ui/commands/permissionsCommand.test.d.ts +0 -6
- package/dist/src/ui/commands/permissionsCommand.test.js +0 -30
- package/dist/src/ui/commands/permissionsCommand.test.js.map +0 -1
- package/dist/src/ui/commands/providerCommand.d.ts +0 -11
- package/dist/src/ui/commands/providerCommand.js +0 -359
- package/dist/src/ui/commands/providerCommand.js.map +0 -1
- package/dist/src/ui/commands/quitCommand.d.ts +0 -8
- package/dist/src/ui/commands/quitCommand.js +0 -64
- package/dist/src/ui/commands/quitCommand.js.map +0 -1
- package/dist/src/ui/commands/resetCommand.d.ts +0 -11
- package/dist/src/ui/commands/resetCommand.js +0 -34
- package/dist/src/ui/commands/resetCommand.js.map +0 -1
- package/dist/src/ui/commands/restoreCommand.d.ts +0 -8
- package/dist/src/ui/commands/restoreCommand.js +0 -124
- package/dist/src/ui/commands/restoreCommand.js.map +0 -1
- package/dist/src/ui/commands/settingsCommand.d.ts +0 -7
- package/dist/src/ui/commands/settingsCommand.js +0 -19
- package/dist/src/ui/commands/settingsCommand.js.map +0 -1
- package/dist/src/ui/commands/setupGithubCommand.d.ts +0 -9
- package/dist/src/ui/commands/setupGithubCommand.js +0 -157
- package/dist/src/ui/commands/setupGithubCommand.js.map +0 -1
- package/dist/src/ui/commands/setupGithubCommand.test.d.ts +0 -6
- package/dist/src/ui/commands/setupGithubCommand.test.js +0 -167
- package/dist/src/ui/commands/setupGithubCommand.test.js.map +0 -1
- package/dist/src/ui/commands/spCommand.d.ts +0 -7
- package/dist/src/ui/commands/spCommand.js +0 -352
- package/dist/src/ui/commands/spCommand.js.map +0 -1
- package/dist/src/ui/commands/statsCommand.d.ts +0 -7
- package/dist/src/ui/commands/statsCommand.js +0 -61
- package/dist/src/ui/commands/statsCommand.js.map +0 -1
- package/dist/src/ui/commands/summaryCommand.d.ts +0 -7
- package/dist/src/ui/commands/summaryCommand.js +0 -156
- package/dist/src/ui/commands/summaryCommand.js.map +0 -1
- package/dist/src/ui/commands/systemPromptCommand.d.ts +0 -7
- package/dist/src/ui/commands/systemPromptCommand.js +0 -322
- package/dist/src/ui/commands/systemPromptCommand.js.map +0 -1
- package/dist/src/ui/commands/taskmasterCommand.d.ts +0 -10
- package/dist/src/ui/commands/taskmasterCommand.js +0 -174
- package/dist/src/ui/commands/taskmasterCommand.js.map +0 -1
- package/dist/src/ui/commands/terminalSetupCommand.d.ts +0 -13
- package/dist/src/ui/commands/terminalSetupCommand.js +0 -47
- package/dist/src/ui/commands/terminalSetupCommand.js.map +0 -1
- package/dist/src/ui/commands/themeCommand.d.ts +0 -7
- package/dist/src/ui/commands/themeCommand.js +0 -19
- package/dist/src/ui/commands/themeCommand.js.map +0 -1
- package/dist/src/ui/commands/toolsCommand.d.ts +0 -7
- package/dist/src/ui/commands/toolsCommand.js +0 -45
- package/dist/src/ui/commands/toolsCommand.js.map +0 -1
- package/dist/src/ui/commands/types.d.ts +0 -188
- package/dist/src/ui/commands/types.js +0 -12
- package/dist/src/ui/commands/types.js.map +0 -1
- package/dist/src/ui/commands/viewCommand.d.ts +0 -7
- package/dist/src/ui/commands/viewCommand.js +0 -160
- package/dist/src/ui/commands/viewCommand.js.map +0 -1
- package/dist/src/ui/commands/vimCommand.d.ts +0 -7
- package/dist/src/ui/commands/vimCommand.js +0 -26
- package/dist/src/ui/commands/vimCommand.js.map +0 -1
- package/dist/src/ui/components/AboutBox.d.ts +0 -10
- package/dist/src/ui/components/AboutBox.js +0 -10
- package/dist/src/ui/components/AboutBox.js.map +0 -1
- package/dist/src/ui/components/AgentResponseFooter.d.ts +0 -19
- package/dist/src/ui/components/AgentResponseFooter.js +0 -43
- package/dist/src/ui/components/AgentResponseFooter.js.map +0 -1
- package/dist/src/ui/components/AnsiOutput.d.ts +0 -13
- package/dist/src/ui/components/AnsiOutput.js +0 -12
- package/dist/src/ui/components/AnsiOutput.js.map +0 -1
- package/dist/src/ui/components/AnsiOutput.test.d.ts +0 -6
- package/dist/src/ui/components/AnsiOutput.test.js +0 -97
- package/dist/src/ui/components/AnsiOutput.test.js.map +0 -1
- package/dist/src/ui/components/AppHeader.d.ts +0 -10
- package/dist/src/ui/components/AppHeader.js +0 -19
- package/dist/src/ui/components/AppHeader.js.map +0 -1
- package/dist/src/ui/components/ApprovalModeDialog.d.ts +0 -21
- package/dist/src/ui/components/ApprovalModeDialog.js +0 -68
- package/dist/src/ui/components/ApprovalModeDialog.js.map +0 -1
- package/dist/src/ui/components/AsciiArt.d.ts +0 -13
- package/dist/src/ui/components/AsciiArt.js +0 -47
- package/dist/src/ui/components/AsciiArt.js.map +0 -1
- package/dist/src/ui/components/AutoAcceptIndicator.d.ts +0 -12
- package/dist/src/ui/components/AutoAcceptIndicator.js +0 -32
- package/dist/src/ui/components/AutoAcceptIndicator.js.map +0 -1
- package/dist/src/ui/components/Composer.d.ts +0 -6
- package/dist/src/ui/components/Composer.js +0 -56
- package/dist/src/ui/components/Composer.js.map +0 -1
- package/dist/src/ui/components/Composer.test.d.ts +0 -6
- package/dist/src/ui/components/Composer.test.js +0 -337
- package/dist/src/ui/components/Composer.test.js.map +0 -1
- package/dist/src/ui/components/ConfigInitDisplay.d.ts +0 -6
- package/dist/src/ui/components/ConfigInitDisplay.js +0 -42
- package/dist/src/ui/components/ConfigInitDisplay.js.map +0 -1
- package/dist/src/ui/components/ConsentPrompt.d.ts +0 -13
- package/dist/src/ui/components/ConsentPrompt.js +0 -19
- package/dist/src/ui/components/ConsentPrompt.js.map +0 -1
- package/dist/src/ui/components/ConsentPrompt.test.d.ts +0 -6
- package/dist/src/ui/components/ConsentPrompt.test.js +0 -67
- package/dist/src/ui/components/ConsentPrompt.test.js.map +0 -1
- package/dist/src/ui/components/ConsoleSummaryDisplay.d.ts +0 -11
- package/dist/src/ui/components/ConsoleSummaryDisplay.js +0 -11
- package/dist/src/ui/components/ConsoleSummaryDisplay.js.map +0 -1
- package/dist/src/ui/components/ConsultationDisplay.d.ts +0 -22
- package/dist/src/ui/components/ConsultationDisplay.js +0 -26
- package/dist/src/ui/components/ConsultationDisplay.js.map +0 -1
- package/dist/src/ui/components/ConsultationPanel.d.ts +0 -11
- package/dist/src/ui/components/ConsultationPanel.js +0 -36
- package/dist/src/ui/components/ConsultationPanel.js.map +0 -1
- package/dist/src/ui/components/ContextSummaryDisplay.d.ts +0 -20
- package/dist/src/ui/components/ContextSummaryDisplay.js +0 -90
- package/dist/src/ui/components/ContextSummaryDisplay.js.map +0 -1
- package/dist/src/ui/components/ContextUsageDisplay.d.ts +0 -10
- package/dist/src/ui/components/ContextUsageDisplay.js +0 -58
- package/dist/src/ui/components/ContextUsageDisplay.js.map +0 -1
- package/dist/src/ui/components/DebugProfiler.d.ts +0 -6
- package/dist/src/ui/components/DebugProfiler.js +0 -27
- package/dist/src/ui/components/DebugProfiler.js.map +0 -1
- package/dist/src/ui/components/DetailedMessagesDisplay.d.ts +0 -14
- package/dist/src/ui/components/DetailedMessagesDisplay.js +0 -34
- package/dist/src/ui/components/DetailedMessagesDisplay.js.map +0 -1
- package/dist/src/ui/components/DialogManager.d.ts +0 -12
- package/dist/src/ui/components/DialogManager.js +0 -192
- package/dist/src/ui/components/DialogManager.js.map +0 -1
- package/dist/src/ui/components/EditorSettingsDialog.d.ts +0 -16
- package/dist/src/ui/components/EditorSettingsDialog.js +0 -85
- package/dist/src/ui/components/EditorSettingsDialog.js.map +0 -1
- package/dist/src/ui/components/ExitWarning.d.ts +0 -7
- package/dist/src/ui/components/ExitWarning.js +0 -9
- package/dist/src/ui/components/ExitWarning.js.map +0 -1
- package/dist/src/ui/components/FolderTrustDialog.d.ts +0 -17
- package/dist/src/ui/components/FolderTrustDialog.js +0 -58
- package/dist/src/ui/components/FolderTrustDialog.js.map +0 -1
- package/dist/src/ui/components/FolderTrustDialog.test.d.ts +0 -6
- package/dist/src/ui/components/FolderTrustDialog.test.js +0 -88
- package/dist/src/ui/components/FolderTrustDialog.test.js.map +0 -1
- package/dist/src/ui/components/Footer.d.ts +0 -7
- package/dist/src/ui/components/Footer.js +0 -48
- package/dist/src/ui/components/Footer.js.map +0 -1
- package/dist/src/ui/components/GeminiRespondingSpinner.d.ts +0 -21
- package/dist/src/ui/components/GeminiRespondingSpinner.js +0 -23
- package/dist/src/ui/components/GeminiRespondingSpinner.js.map +0 -1
- package/dist/src/ui/components/Header.d.ts +0 -13
- package/dist/src/ui/components/Header.js +0 -28
- package/dist/src/ui/components/Header.js.map +0 -1
- package/dist/src/ui/components/Header.test.d.ts +0 -6
- package/dist/src/ui/components/Header.test.js +0 -37
- package/dist/src/ui/components/Header.test.js.map +0 -1
- package/dist/src/ui/components/Help.d.ts +0 -12
- package/dist/src/ui/components/Help.js +0 -23
- package/dist/src/ui/components/Help.js.map +0 -1
- package/dist/src/ui/components/Help.test.d.ts +0 -6
- package/dist/src/ui/components/Help.test.js +0 -57
- package/dist/src/ui/components/Help.test.js.map +0 -1
- package/dist/src/ui/components/HistoryItemDisplay.d.ts +0 -21
- package/dist/src/ui/components/HistoryItemDisplay.js +0 -31
- package/dist/src/ui/components/HistoryItemDisplay.js.map +0 -1
- package/dist/src/ui/components/HistoryItemDisplay.test.d.ts +0 -6
- package/dist/src/ui/components/HistoryItemDisplay.test.js +0 -183
- package/dist/src/ui/components/HistoryItemDisplay.test.js.map +0 -1
- package/dist/src/ui/components/IdeTrustChangeDialog.d.ts +0 -11
- package/dist/src/ui/components/IdeTrustChangeDialog.js +0 -32
- package/dist/src/ui/components/IdeTrustChangeDialog.js.map +0 -1
- package/dist/src/ui/components/IdeTrustChangeDialog.test.d.ts +0 -6
- package/dist/src/ui/components/IdeTrustChangeDialog.test.js +0 -57
- package/dist/src/ui/components/IdeTrustChangeDialog.test.js.map +0 -1
- package/dist/src/ui/components/InputPrompt.d.ts +0 -37
- package/dist/src/ui/components/InputPrompt.js +0 -583
- package/dist/src/ui/components/InputPrompt.js.map +0 -1
- package/dist/src/ui/components/LoadingIndicator.d.ts +0 -15
- package/dist/src/ui/components/LoadingIndicator.js +0 -39
- package/dist/src/ui/components/LoadingIndicator.js.map +0 -1
- package/dist/src/ui/components/LoadingIndicator.test.d.ts +0 -6
- package/dist/src/ui/components/LoadingIndicator.test.js +0 -194
- package/dist/src/ui/components/LoadingIndicator.test.js.map +0 -1
- package/dist/src/ui/components/LoopDetectionConfirmation.d.ts +0 -13
- package/dist/src/ui/components/LoopDetectionConfirmation.js +0 -37
- package/dist/src/ui/components/LoopDetectionConfirmation.js.map +0 -1
- package/dist/src/ui/components/LoopDetectionConfirmation.test.d.ts +0 -6
- package/dist/src/ui/components/LoopDetectionConfirmation.test.js +0 -28
- package/dist/src/ui/components/LoopDetectionConfirmation.test.js.map +0 -1
- package/dist/src/ui/components/MainContent.d.ts +0 -6
- package/dist/src/ui/components/MainContent.js +0 -28
- package/dist/src/ui/components/MainContent.js.map +0 -1
- package/dist/src/ui/components/MemoryUsageDisplay.d.ts +0 -7
- package/dist/src/ui/components/MemoryUsageDisplay.js +0 -24
- package/dist/src/ui/components/MemoryUsageDisplay.js.map +0 -1
- package/dist/src/ui/components/ModelDialog.d.ts +0 -11
- package/dist/src/ui/components/ModelDialog.js +0 -43
- package/dist/src/ui/components/ModelDialog.js.map +0 -1
- package/dist/src/ui/components/ModelDialog.test.d.ts +0 -6
- package/dist/src/ui/components/ModelDialog.test.js +0 -158
- package/dist/src/ui/components/ModelDialog.test.js.map +0 -1
- package/dist/src/ui/components/ModelStatsDisplay.d.ts +0 -7
- package/dist/src/ui/components/ModelStatsDisplay.js +0 -34
- package/dist/src/ui/components/ModelStatsDisplay.js.map +0 -1
- package/dist/src/ui/components/ModelSwitchDialog.d.ts +0 -15
- package/dist/src/ui/components/ModelSwitchDialog.js +0 -40
- package/dist/src/ui/components/ModelSwitchDialog.js.map +0 -1
- package/dist/src/ui/components/ModelSwitchDialog.test.d.ts +0 -6
- package/dist/src/ui/components/ModelSwitchDialog.test.js +0 -128
- package/dist/src/ui/components/ModelSwitchDialog.test.js.map +0 -1
- package/dist/src/ui/components/Notifications.d.ts +0 -6
- package/dist/src/ui/components/Notifications.js +0 -23
- package/dist/src/ui/components/Notifications.js.map +0 -1
- package/dist/src/ui/components/OpenAIKeyPrompt.d.ts +0 -32
- package/dist/src/ui/components/OpenAIKeyPrompt.js +0 -196
- package/dist/src/ui/components/OpenAIKeyPrompt.js.map +0 -1
- package/dist/src/ui/components/OpenAIKeyPrompt.test.d.ts +0 -6
- package/dist/src/ui/components/OpenAIKeyPrompt.test.js +0 -51
- package/dist/src/ui/components/OpenAIKeyPrompt.test.js.map +0 -1
- package/dist/src/ui/components/OrchestrationStatusDisplay.d.ts +0 -15
- package/dist/src/ui/components/OrchestrationStatusDisplay.js +0 -58
- package/dist/src/ui/components/OrchestrationStatusDisplay.js.map +0 -1
- package/dist/src/ui/components/PermissionsModifyTrustDialog.d.ts +0 -13
- package/dist/src/ui/components/PermissionsModifyTrustDialog.js +0 -48
- package/dist/src/ui/components/PermissionsModifyTrustDialog.js.map +0 -1
- package/dist/src/ui/components/PermissionsModifyTrustDialog.test.d.ts +0 -6
- package/dist/src/ui/components/PermissionsModifyTrustDialog.test.js +0 -154
- package/dist/src/ui/components/PermissionsModifyTrustDialog.test.js.map +0 -1
- package/dist/src/ui/components/PlanSummaryDisplay.d.ts +0 -14
- package/dist/src/ui/components/PlanSummaryDisplay.js +0 -9
- package/dist/src/ui/components/PlanSummaryDisplay.js.map +0 -1
- package/dist/src/ui/components/PrepareLabel.d.ts +0 -15
- package/dist/src/ui/components/PrepareLabel.js +0 -72
- package/dist/src/ui/components/PrepareLabel.js.map +0 -1
- package/dist/src/ui/components/PrepareLabel.test.d.ts +0 -6
- package/dist/src/ui/components/PrepareLabel.test.js +0 -71
- package/dist/src/ui/components/PrepareLabel.test.js.map +0 -1
- package/dist/src/ui/components/ProQuotaDialog.d.ts +0 -13
- package/dist/src/ui/components/ProQuotaDialog.js +0 -31
- package/dist/src/ui/components/ProQuotaDialog.js.map +0 -1
- package/dist/src/ui/components/ProQuotaDialog.test.d.ts +0 -6
- package/dist/src/ui/components/ProQuotaDialog.test.js +0 -58
- package/dist/src/ui/components/ProQuotaDialog.test.js.map +0 -1
- package/dist/src/ui/components/QueueStatusBar.d.ts +0 -17
- package/dist/src/ui/components/QueueStatusBar.js +0 -25
- package/dist/src/ui/components/QueueStatusBar.js.map +0 -1
- package/dist/src/ui/components/QueuedMessageDisplay.d.ts +0 -9
- package/dist/src/ui/components/QueuedMessageDisplay.js +0 -20
- package/dist/src/ui/components/QueuedMessageDisplay.js.map +0 -1
- package/dist/src/ui/components/QueuedMessageDisplay.test.d.ts +0 -6
- package/dist/src/ui/components/QueuedMessageDisplay.test.js +0 -56
- package/dist/src/ui/components/QueuedMessageDisplay.test.js.map +0 -1
- package/dist/src/ui/components/QuitConfirmationDialog.d.ts +0 -17
- package/dist/src/ui/components/QuitConfirmationDialog.js +0 -49
- package/dist/src/ui/components/QuitConfirmationDialog.js.map +0 -1
- package/dist/src/ui/components/QuittingDisplay.d.ts +0 -6
- package/dist/src/ui/components/QuittingDisplay.js +0 -20
- package/dist/src/ui/components/QuittingDisplay.js.map +0 -1
- package/dist/src/ui/components/QwenOAuthProgress.d.ts +0 -16
- package/dist/src/ui/components/QwenOAuthProgress.js +0 -111
- package/dist/src/ui/components/QwenOAuthProgress.js.map +0 -1
- package/dist/src/ui/components/QwenOAuthProgress.test.d.ts +0 -6
- package/dist/src/ui/components/QwenOAuthProgress.test.js +0 -364
- package/dist/src/ui/components/QwenOAuthProgress.test.js.map +0 -1
- package/dist/src/ui/components/SessionSummaryDisplay.d.ts +0 -11
- package/dist/src/ui/components/SessionSummaryDisplay.js +0 -5
- package/dist/src/ui/components/SessionSummaryDisplay.js.map +0 -1
- package/dist/src/ui/components/SettingsDialog.d.ts +0 -18
- package/dist/src/ui/components/SettingsDialog.js +0 -647
- package/dist/src/ui/components/SettingsDialog.js.map +0 -1
- package/dist/src/ui/components/SettingsDialog.test.d.ts +0 -6
- package/dist/src/ui/components/SettingsDialog.test.js +0 -1037
- package/dist/src/ui/components/SettingsDialog.test.js.map +0 -1
- package/dist/src/ui/components/ShellConfirmationDialog.d.ts +0 -15
- package/dist/src/ui/components/ShellConfirmationDialog.js +0 -50
- package/dist/src/ui/components/ShellConfirmationDialog.js.map +0 -1
- package/dist/src/ui/components/ShellConfirmationDialog.test.d.ts +0 -6
- package/dist/src/ui/components/ShellConfirmationDialog.test.js +0 -40
- package/dist/src/ui/components/ShellConfirmationDialog.test.js.map +0 -1
- package/dist/src/ui/components/ShellInputPrompt.d.ts +0 -11
- package/dist/src/ui/components/ShellInputPrompt.js +0 -36
- package/dist/src/ui/components/ShellInputPrompt.js.map +0 -1
- package/dist/src/ui/components/ShellModeIndicator.d.ts +0 -7
- package/dist/src/ui/components/ShellModeIndicator.js +0 -5
- package/dist/src/ui/components/ShellModeIndicator.js.map +0 -1
- package/dist/src/ui/components/ShowMoreLines.d.ts +0 -10
- package/dist/src/ui/components/ShowMoreLines.js +0 -24
- package/dist/src/ui/components/ShowMoreLines.js.map +0 -1
- package/dist/src/ui/components/StatsDisplay.d.ts +0 -12
- package/dist/src/ui/components/StatsDisplay.js +0 -44
- package/dist/src/ui/components/StatsDisplay.js.map +0 -1
- package/dist/src/ui/components/StatusBar.d.ts +0 -14
- package/dist/src/ui/components/StatusBar.js +0 -106
- package/dist/src/ui/components/StatusBar.js.map +0 -1
- package/dist/src/ui/components/SuggestionsDisplay.d.ts +0 -27
- package/dist/src/ui/components/SuggestionsDisplay.js +0 -40
- package/dist/src/ui/components/SuggestionsDisplay.js.map +0 -1
- package/dist/src/ui/components/TaskMasterPanel.d.ts +0 -18
- package/dist/src/ui/components/TaskMasterPanel.js +0 -142
- package/dist/src/ui/components/TaskMasterPanel.js.map +0 -1
- package/dist/src/ui/components/ThemeDialog.d.ts +0 -20
- package/dist/src/ui/components/ThemeDialog.js +0 -126
- package/dist/src/ui/components/ThemeDialog.js.map +0 -1
- package/dist/src/ui/components/ThemeDialog.test.d.ts +0 -6
- package/dist/src/ui/components/ThemeDialog.test.js +0 -75
- package/dist/src/ui/components/ThemeDialog.test.js.map +0 -1
- package/dist/src/ui/components/Tips.d.ts +0 -12
- package/dist/src/ui/components/Tips.js +0 -10
- package/dist/src/ui/components/Tips.js.map +0 -1
- package/dist/src/ui/components/TodoDisplay.d.ts +0 -16
- package/dist/src/ui/components/TodoDisplay.js +0 -27
- package/dist/src/ui/components/TodoDisplay.js.map +0 -1
- package/dist/src/ui/components/TodoDisplay.test.d.ts +0 -6
- package/dist/src/ui/components/TodoDisplay.test.js +0 -77
- package/dist/src/ui/components/TodoDisplay.test.js.map +0 -1
- package/dist/src/ui/components/ToolStatsDisplay.d.ts +0 -7
- package/dist/src/ui/components/ToolStatsDisplay.js +0 -42
- package/dist/src/ui/components/ToolStatsDisplay.js.map +0 -1
- package/dist/src/ui/components/UpdateNotification.d.ts +0 -10
- package/dist/src/ui/components/UpdateNotification.js +0 -10
- package/dist/src/ui/components/UpdateNotification.js.map +0 -1
- package/dist/src/ui/components/WelcomeBackDialog.d.ts +0 -13
- package/dist/src/ui/components/WelcomeBackDialog.js +0 -43
- package/dist/src/ui/components/WelcomeBackDialog.js.map +0 -1
- package/dist/src/ui/components/WorkspaceMigrationDialog.d.ts +0 -11
- package/dist/src/ui/components/WorkspaceMigrationDialog.js +0 -45
- package/dist/src/ui/components/WorkspaceMigrationDialog.js.map +0 -1
- package/dist/src/ui/components/messages/CompressionMessage.d.ts +0 -12
- package/dist/src/ui/components/messages/CompressionMessage.js +0 -62
- package/dist/src/ui/components/messages/CompressionMessage.js.map +0 -1
- package/dist/src/ui/components/messages/CompressionMessage.test.d.ts +0 -6
- package/dist/src/ui/components/messages/CompressionMessage.test.js +0 -160
- package/dist/src/ui/components/messages/CompressionMessage.test.js.map +0 -1
- package/dist/src/ui/components/messages/DiffRenderer.d.ts +0 -17
- package/dist/src/ui/components/messages/DiffRenderer.js +0 -218
- package/dist/src/ui/components/messages/DiffRenderer.js.map +0 -1
- package/dist/src/ui/components/messages/DiffRenderer.test.d.ts +0 -6
- package/dist/src/ui/components/messages/DiffRenderer.test.js +0 -239
- package/dist/src/ui/components/messages/DiffRenderer.test.js.map +0 -1
- package/dist/src/ui/components/messages/ErrorMessage.d.ts +0 -11
- package/dist/src/ui/components/messages/ErrorMessage.js +0 -9
- package/dist/src/ui/components/messages/ErrorMessage.js.map +0 -1
- package/dist/src/ui/components/messages/GeminiMessage.d.ts +0 -14
- package/dist/src/ui/components/messages/GeminiMessage.js +0 -11
- package/dist/src/ui/components/messages/GeminiMessage.js.map +0 -1
- package/dist/src/ui/components/messages/GeminiMessageContent.d.ts +0 -14
- package/dist/src/ui/components/messages/GeminiMessageContent.js +0 -15
- package/dist/src/ui/components/messages/GeminiMessageContent.js.map +0 -1
- package/dist/src/ui/components/messages/InfoMessage.d.ts +0 -11
- package/dist/src/ui/components/messages/InfoMessage.js +0 -14
- package/dist/src/ui/components/messages/InfoMessage.js.map +0 -1
- package/dist/src/ui/components/messages/SummaryMessage.d.ts +0 -11
- package/dist/src/ui/components/messages/SummaryMessage.js +0 -35
- package/dist/src/ui/components/messages/SummaryMessage.js.map +0 -1
- package/dist/src/ui/components/messages/ToolConfirmationMessage.d.ts +0 -16
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js +0 -245
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +0 -1
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.d.ts +0 -6
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +0 -165
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +0 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.d.ts +0 -19
- package/dist/src/ui/components/messages/ToolGroupMessage.js +0 -58
- package/dist/src/ui/components/messages/ToolGroupMessage.js.map +0 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.test.d.ts +0 -6
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js +0 -261
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js.map +0 -1
- package/dist/src/ui/components/messages/ToolMessage.d.ts +0 -19
- package/dist/src/ui/components/messages/ToolMessage.js +0 -190
- package/dist/src/ui/components/messages/ToolMessage.js.map +0 -1
- package/dist/src/ui/components/messages/ToolMessage.test.d.ts +0 -6
- package/dist/src/ui/components/messages/ToolMessage.test.js +0 -182
- package/dist/src/ui/components/messages/ToolMessage.test.js.map +0 -1
- package/dist/src/ui/components/messages/UserMessage.d.ts +0 -11
- package/dist/src/ui/components/messages/UserMessage.js +0 -13
- package/dist/src/ui/components/messages/UserMessage.js.map +0 -1
- package/dist/src/ui/components/messages/UserShellMessage.d.ts +0 -11
- package/dist/src/ui/components/messages/UserShellMessage.js +0 -9
- package/dist/src/ui/components/messages/UserShellMessage.js.map +0 -1
- package/dist/src/ui/components/messages/WarningMessage.d.ts +0 -11
- package/dist/src/ui/components/messages/WarningMessage.js +0 -10
- package/dist/src/ui/components/messages/WarningMessage.js.map +0 -1
- package/dist/src/ui/components/shared/BaseSelectionList.d.ts +0 -38
- package/dist/src/ui/components/shared/BaseSelectionList.js +0 -72
- package/dist/src/ui/components/shared/BaseSelectionList.js.map +0 -1
- package/dist/src/ui/components/shared/BaseSelectionList.test.d.ts +0 -6
- package/dist/src/ui/components/shared/BaseSelectionList.test.js +0 -376
- package/dist/src/ui/components/shared/BaseSelectionList.test.js.map +0 -1
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.d.ts +0 -35
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.js +0 -13
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.js.map +0 -1
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.d.ts +0 -6
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.js +0 -79
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.js.map +0 -1
- package/dist/src/ui/components/shared/EnumSelector.d.ts +0 -18
- package/dist/src/ui/components/shared/EnumSelector.js +0 -44
- package/dist/src/ui/components/shared/EnumSelector.js.map +0 -1
- package/dist/src/ui/components/shared/EnumSelector.test.d.ts +0 -6
- package/dist/src/ui/components/shared/EnumSelector.test.js +0 -70
- package/dist/src/ui/components/shared/EnumSelector.test.js.map +0 -1
- package/dist/src/ui/components/shared/MaxSizedBox.d.ts +0 -61
- package/dist/src/ui/components/shared/MaxSizedBox.js +0 -451
- package/dist/src/ui/components/shared/MaxSizedBox.js.map +0 -1
- package/dist/src/ui/components/shared/MaxSizedBox.test.d.ts +0 -6
- package/dist/src/ui/components/shared/MaxSizedBox.test.js +0 -154
- package/dist/src/ui/components/shared/MaxSizedBox.test.js.map +0 -1
- package/dist/src/ui/components/shared/RadioButtonSelect.d.ts +0 -45
- package/dist/src/ui/components/shared/RadioButtonSelect.js +0 -21
- package/dist/src/ui/components/shared/RadioButtonSelect.js.map +0 -1
- package/dist/src/ui/components/shared/RadioButtonSelect.test.d.ts +0 -6
- package/dist/src/ui/components/shared/RadioButtonSelect.test.js +0 -134
- package/dist/src/ui/components/shared/RadioButtonSelect.test.js.map +0 -1
- package/dist/src/ui/components/shared/ScopeSelector.d.ts +0 -19
- package/dist/src/ui/components/shared/ScopeSelector.js +0 -16
- package/dist/src/ui/components/shared/ScopeSelector.js.map +0 -1
- package/dist/src/ui/components/shared/TextInput.d.ts +0 -16
- package/dist/src/ui/components/shared/TextInput.js +0 -127
- package/dist/src/ui/components/shared/TextInput.js.map +0 -1
- package/dist/src/ui/components/shared/text-buffer.d.ts +0 -490
- package/dist/src/ui/components/shared/text-buffer.js +0 -1598
- package/dist/src/ui/components/shared/text-buffer.js.map +0 -1
- package/dist/src/ui/components/shared/vim-buffer-actions.d.ts +0 -72
- package/dist/src/ui/components/shared/vim-buffer-actions.js +0 -552
- package/dist/src/ui/components/shared/vim-buffer-actions.js.map +0 -1
- package/dist/src/ui/components/subagents/constants.d.ts +0 -23
- package/dist/src/ui/components/subagents/constants.js +0 -67
- package/dist/src/ui/components/subagents/constants.js.map +0 -1
- package/dist/src/ui/components/subagents/create/AgentCreationWizard.d.ts +0 -15
- package/dist/src/ui/components/subagents/create/AgentCreationWizard.js +0 -186
- package/dist/src/ui/components/subagents/create/AgentCreationWizard.js.map +0 -1
- package/dist/src/ui/components/subagents/create/ColorSelector.d.ts +0 -15
- package/dist/src/ui/components/subagents/create/ColorSelector.js +0 -43
- package/dist/src/ui/components/subagents/create/ColorSelector.js.map +0 -1
- package/dist/src/ui/components/subagents/create/CreationSummary.d.ts +0 -10
- package/dist/src/ui/components/subagents/create/CreationSummary.js +0 -174
- package/dist/src/ui/components/subagents/create/CreationSummary.js.map +0 -1
- package/dist/src/ui/components/subagents/create/DescriptionInput.d.ts +0 -10
- package/dist/src/ui/components/subagents/create/DescriptionInput.js +0 -107
- package/dist/src/ui/components/subagents/create/DescriptionInput.js.map +0 -1
- package/dist/src/ui/components/subagents/create/GenerationMethodSelector.d.ts +0 -10
- package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js +0 -39
- package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js.map +0 -1
- package/dist/src/ui/components/subagents/create/LocationSelector.d.ts +0 -10
- package/dist/src/ui/components/subagents/create/LocationSelector.js +0 -39
- package/dist/src/ui/components/subagents/create/LocationSelector.js.map +0 -1
- package/dist/src/ui/components/subagents/create/TextEntryStep.d.ts +0 -26
- package/dist/src/ui/components/subagents/create/TextEntryStep.js +0 -28
- package/dist/src/ui/components/subagents/create/TextEntryStep.js.map +0 -1
- package/dist/src/ui/components/subagents/create/ToolSelector.d.ts +0 -16
- package/dist/src/ui/components/subagents/create/ToolSelector.js +0 -145
- package/dist/src/ui/components/subagents/create/ToolSelector.js.map +0 -1
- package/dist/src/ui/components/subagents/index.d.ts +0 -8
- package/dist/src/ui/components/subagents/index.js +0 -12
- package/dist/src/ui/components/subagents/index.js.map +0 -1
- package/dist/src/ui/components/subagents/manage/ActionSelectionStep.d.ts +0 -13
- package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js +0 -71
- package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js.map +0 -1
- package/dist/src/ui/components/subagents/manage/AgentDeleteStep.d.ts +0 -13
- package/dist/src/ui/components/subagents/manage/AgentDeleteStep.js +0 -36
- package/dist/src/ui/components/subagents/manage/AgentDeleteStep.js.map +0 -1
- package/dist/src/ui/components/subagents/manage/AgentEditStep.d.ts +0 -15
- package/dist/src/ui/components/subagents/manage/AgentEditStep.js +0 -73
- package/dist/src/ui/components/subagents/manage/AgentEditStep.js.map +0 -1
- package/dist/src/ui/components/subagents/manage/AgentSelectionStep.d.ts +0 -12
- package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js +0 -231
- package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js.map +0 -1
- package/dist/src/ui/components/subagents/manage/AgentViewerStep.d.ts +0 -11
- package/dist/src/ui/components/subagents/manage/AgentViewerStep.js +0 -20
- package/dist/src/ui/components/subagents/manage/AgentViewerStep.js.map +0 -1
- package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.d.ts +0 -15
- package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js +0 -212
- package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js.map +0 -1
- package/dist/src/ui/components/subagents/reducers.d.ts +0 -14
- package/dist/src/ui/components/subagents/reducers.js +0 -162
- package/dist/src/ui/components/subagents/reducers.js.map +0 -1
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.d.ts +0 -20
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js +0 -193
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js.map +0 -1
- package/dist/src/ui/components/subagents/runtime/MultiAgentSummary.d.ts +0 -50
- package/dist/src/ui/components/subagents/runtime/MultiAgentSummary.js +0 -131
- package/dist/src/ui/components/subagents/runtime/MultiAgentSummary.js.map +0 -1
- package/dist/src/ui/components/subagents/types.d.ts +0 -137
- package/dist/src/ui/components/subagents/types.js +0 -15
- package/dist/src/ui/components/subagents/types.js.map +0 -1
- package/dist/src/ui/components/subagents/utils.d.ts +0 -15
- package/dist/src/ui/components/subagents/utils.js +0 -79
- package/dist/src/ui/components/subagents/utils.js.map +0 -1
- package/dist/src/ui/components/views/ExtensionsList.d.ts +0 -6
- package/dist/src/ui/components/views/ExtensionsList.js +0 -47
- package/dist/src/ui/components/views/ExtensionsList.js.map +0 -1
- package/dist/src/ui/components/views/ExtensionsList.test.d.ts +0 -6
- package/dist/src/ui/components/views/ExtensionsList.test.js +0 -97
- package/dist/src/ui/components/views/ExtensionsList.test.js.map +0 -1
- package/dist/src/ui/components/views/McpStatus.d.ts +0 -27
- package/dist/src/ui/components/views/McpStatus.js +0 -90
- package/dist/src/ui/components/views/McpStatus.js.map +0 -1
- package/dist/src/ui/components/views/McpStatus.test.d.ts +0 -6
- package/dist/src/ui/components/views/McpStatus.test.js +0 -117
- package/dist/src/ui/components/views/McpStatus.test.js.map +0 -1
- package/dist/src/ui/components/views/ToolsList.d.ts +0 -14
- package/dist/src/ui/components/views/ToolsList.js +0 -8
- package/dist/src/ui/components/views/ToolsList.js.map +0 -1
- package/dist/src/ui/components/views/ToolsList.test.d.ts +0 -6
- package/dist/src/ui/components/views/ToolsList.test.js +0 -45
- package/dist/src/ui/components/views/ToolsList.test.js.map +0 -1
- package/dist/src/ui/constants.d.ts +0 -18
- package/dist/src/ui/constants.js +0 -23
- package/dist/src/ui/constants.js.map +0 -1
- package/dist/src/ui/contexts/AppContext.d.ts +0 -11
- package/dist/src/ui/contexts/AppContext.js +0 -15
- package/dist/src/ui/contexts/AppContext.js.map +0 -1
- package/dist/src/ui/contexts/ConfigContext.d.ts +0 -9
- package/dist/src/ui/contexts/ConfigContext.js +0 -16
- package/dist/src/ui/contexts/ConfigContext.js.map +0 -1
- package/dist/src/ui/contexts/ConsultationContext.d.ts +0 -63
- package/dist/src/ui/contexts/ConsultationContext.js +0 -186
- package/dist/src/ui/contexts/ConsultationContext.js.map +0 -1
- package/dist/src/ui/contexts/IntelligentOrchestratorContext.d.ts +0 -87
- package/dist/src/ui/contexts/IntelligentOrchestratorContext.js +0 -336
- package/dist/src/ui/contexts/IntelligentOrchestratorContext.js.map +0 -1
- package/dist/src/ui/contexts/KeypressContext.d.ts +0 -35
- package/dist/src/ui/contexts/KeypressContext.js +0 -637
- package/dist/src/ui/contexts/KeypressContext.js.map +0 -1
- package/dist/src/ui/contexts/KeypressContext.test.d.ts +0 -6
- package/dist/src/ui/contexts/KeypressContext.test.js +0 -1180
- package/dist/src/ui/contexts/KeypressContext.test.js.map +0 -1
- package/dist/src/ui/contexts/OrchestrationContext.d.ts +0 -55
- package/dist/src/ui/contexts/OrchestrationContext.js +0 -239
- package/dist/src/ui/contexts/OrchestrationContext.js.map +0 -1
- package/dist/src/ui/contexts/OverflowContext.d.ts +0 -19
- package/dist/src/ui/contexts/OverflowContext.js +0 -38
- package/dist/src/ui/contexts/OverflowContext.js.map +0 -1
- package/dist/src/ui/contexts/RoadmapContext.d.ts +0 -61
- package/dist/src/ui/contexts/RoadmapContext.js +0 -230
- package/dist/src/ui/contexts/RoadmapContext.js.map +0 -1
- package/dist/src/ui/contexts/SessionContext.d.ts +0 -45
- package/dist/src/ui/contexts/SessionContext.js +0 -157
- package/dist/src/ui/contexts/SessionContext.js.map +0 -1
- package/dist/src/ui/contexts/SettingsContext.d.ts +0 -9
- package/dist/src/ui/contexts/SettingsContext.js +0 -15
- package/dist/src/ui/contexts/SettingsContext.js.map +0 -1
- package/dist/src/ui/contexts/ShellFocusContext.d.ts +0 -7
- package/dist/src/ui/contexts/ShellFocusContext.js +0 -9
- package/dist/src/ui/contexts/ShellFocusContext.js.map +0 -1
- package/dist/src/ui/contexts/StreamingContext.d.ts +0 -9
- package/dist/src/ui/contexts/StreamingContext.js +0 -15
- package/dist/src/ui/contexts/StreamingContext.js.map +0 -1
- package/dist/src/ui/contexts/TaskmasterContext.d.ts +0 -87
- package/dist/src/ui/contexts/TaskmasterContext.js +0 -184
- package/dist/src/ui/contexts/TaskmasterContext.js.map +0 -1
- package/dist/src/ui/contexts/TodoContext.d.ts +0 -26
- package/dist/src/ui/contexts/TodoContext.js +0 -50
- package/dist/src/ui/contexts/TodoContext.js.map +0 -1
- package/dist/src/ui/contexts/UIActionsContext.d.ts +0 -46
- package/dist/src/ui/contexts/UIActionsContext.js +0 -22
- package/dist/src/ui/contexts/UIActionsContext.js.map +0 -1
- package/dist/src/ui/contexts/UIStateContext.d.ts +0 -116
- package/dist/src/ui/contexts/UIStateContext.js +0 -17
- package/dist/src/ui/contexts/UIStateContext.js.map +0 -1
- package/dist/src/ui/contexts/VimModeContext.d.ts +0 -19
- package/dist/src/ui/contexts/VimModeContext.js +0 -48
- package/dist/src/ui/contexts/VimModeContext.js.map +0 -1
- package/dist/src/ui/editors/editorSettingsManager.d.ts +0 -19
- package/dist/src/ui/editors/editorSettingsManager.js +0 -48
- package/dist/src/ui/editors/editorSettingsManager.js.map +0 -1
- package/dist/src/ui/hooks/atCommandProcessor.d.ts +0 -31
- package/dist/src/ui/hooks/atCommandProcessor.js +0 -364
- package/dist/src/ui/hooks/atCommandProcessor.js.map +0 -1
- package/dist/src/ui/hooks/atCommandProcessor.test.d.ts +0 -6
- package/dist/src/ui/hooks/atCommandProcessor.test.js +0 -836
- package/dist/src/ui/hooks/atCommandProcessor.test.js.map +0 -1
- package/dist/src/ui/hooks/keyToAnsi.d.ts +0 -15
- package/dist/src/ui/hooks/keyToAnsi.js +0 -67
- package/dist/src/ui/hooks/keyToAnsi.js.map +0 -1
- package/dist/src/ui/hooks/shellCommandProcessor.d.ts +0 -18
- package/dist/src/ui/hooks/shellCommandProcessor.js +0 -284
- package/dist/src/ui/hooks/shellCommandProcessor.js.map +0 -1
- package/dist/src/ui/hooks/shellCommandProcessor.test.d.ts +0 -6
- package/dist/src/ui/hooks/shellCommandProcessor.test.js +0 -508
- package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +0 -1
- package/dist/src/ui/hooks/slashCommandProcessor.d.ts +0 -53
- package/dist/src/ui/hooks/slashCommandProcessor.js +0 -510
- package/dist/src/ui/hooks/slashCommandProcessor.js.map +0 -1
- package/dist/src/ui/hooks/useAgentsManagerDialog.d.ts +0 -11
- package/dist/src/ui/hooks/useAgentsManagerDialog.js +0 -21
- package/dist/src/ui/hooks/useAgentsManagerDialog.js.map +0 -1
- package/dist/src/ui/hooks/useApprovalModeCommand.d.ts +0 -14
- package/dist/src/ui/hooks/useApprovalModeCommand.js +0 -33
- package/dist/src/ui/hooks/useApprovalModeCommand.js.map +0 -1
- package/dist/src/ui/hooks/useAtCompletion.d.ts +0 -23
- package/dist/src/ui/hooks/useAtCompletion.js +0 -179
- package/dist/src/ui/hooks/useAtCompletion.js.map +0 -1
- package/dist/src/ui/hooks/useAttentionNotifications.d.ts +0 -14
- package/dist/src/ui/hooks/useAttentionNotifications.js +0 -41
- package/dist/src/ui/hooks/useAttentionNotifications.js.map +0 -1
- package/dist/src/ui/hooks/useAttentionNotifications.test.d.ts +0 -6
- package/dist/src/ui/hooks/useAttentionNotifications.test.js +0 -113
- package/dist/src/ui/hooks/useAttentionNotifications.test.js.map +0 -1
- package/dist/src/ui/hooks/useAutoAcceptIndicator.d.ts +0 -13
- package/dist/src/ui/hooks/useAutoAcceptIndicator.js +0 -40
- package/dist/src/ui/hooks/useAutoAcceptIndicator.js.map +0 -1
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.d.ts +0 -6
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js +0 -306
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js.map +0 -1
- package/dist/src/ui/hooks/useBracketedPaste.d.ts +0 -12
- package/dist/src/ui/hooks/useBracketedPaste.js +0 -32
- package/dist/src/ui/hooks/useBracketedPaste.js.map +0 -1
- package/dist/src/ui/hooks/useCommandCompletion.d.ts +0 -29
- package/dist/src/ui/hooks/useCommandCompletion.js +0 -164
- package/dist/src/ui/hooks/useCommandCompletion.js.map +0 -1
- package/dist/src/ui/hooks/useCompletion.d.ts +0 -24
- package/dist/src/ui/hooks/useCompletion.js +0 -88
- package/dist/src/ui/hooks/useCompletion.js.map +0 -1
- package/dist/src/ui/hooks/useConsoleMessages.d.ts +0 -12
- package/dist/src/ui/hooks/useConsoleMessages.js +0 -76
- package/dist/src/ui/hooks/useConsoleMessages.js.map +0 -1
- package/dist/src/ui/hooks/useConsultationGenerator.d.ts +0 -17
- package/dist/src/ui/hooks/useConsultationGenerator.js +0 -207
- package/dist/src/ui/hooks/useConsultationGenerator.js.map +0 -1
- package/dist/src/ui/hooks/useDialogClose.d.ts +0 -35
- package/dist/src/ui/hooks/useDialogClose.js +0 -53
- package/dist/src/ui/hooks/useDialogClose.js.map +0 -1
- package/dist/src/ui/hooks/useEditorSettings.d.ts +0 -16
- package/dist/src/ui/hooks/useEditorSettings.js +0 -43
- package/dist/src/ui/hooks/useEditorSettings.js.map +0 -1
- package/dist/src/ui/hooks/useEditorSettings.test.d.ts +0 -6
- package/dist/src/ui/hooks/useEditorSettings.test.js +0 -164
- package/dist/src/ui/hooks/useEditorSettings.test.js.map +0 -1
- package/dist/src/ui/hooks/useExtensionUpdates.d.ts +0 -21
- package/dist/src/ui/hooks/useExtensionUpdates.js +0 -116
- package/dist/src/ui/hooks/useExtensionUpdates.js.map +0 -1
- package/dist/src/ui/hooks/useExtensionUpdates.test.d.ts +0 -6
- package/dist/src/ui/hooks/useExtensionUpdates.test.js +0 -243
- package/dist/src/ui/hooks/useExtensionUpdates.test.js.map +0 -1
- package/dist/src/ui/hooks/useFocus.d.ts +0 -10
- package/dist/src/ui/hooks/useFocus.js +0 -51
- package/dist/src/ui/hooks/useFocus.js.map +0 -1
- package/dist/src/ui/hooks/useFolderTrust.d.ts +0 -13
- package/dist/src/ui/hooks/useFolderTrust.js +0 -60
- package/dist/src/ui/hooks/useFolderTrust.js.map +0 -1
- package/dist/src/ui/hooks/useGeminiStream.d.ts +0 -39
- package/dist/src/ui/hooks/useGeminiStream.js +0 -781
- package/dist/src/ui/hooks/useGeminiStream.js.map +0 -1
- package/dist/src/ui/hooks/useGeminiStream.test.d.ts +0 -6
- package/dist/src/ui/hooks/useGeminiStream.test.js +0 -2036
- package/dist/src/ui/hooks/useGeminiStream.test.js.map +0 -1
- package/dist/src/ui/hooks/useGitBranchName.d.ts +0 -6
- package/dist/src/ui/hooks/useGitBranchName.js +0 -61
- package/dist/src/ui/hooks/useGitBranchName.js.map +0 -1
- package/dist/src/ui/hooks/useGitBranchName.test.d.ts +0 -6
- package/dist/src/ui/hooks/useGitBranchName.test.js +0 -189
- package/dist/src/ui/hooks/useGitBranchName.test.js.map +0 -1
- package/dist/src/ui/hooks/useHistoryManager.d.ts +0 -22
- package/dist/src/ui/hooks/useHistoryManager.js +0 -72
- package/dist/src/ui/hooks/useHistoryManager.js.map +0 -1
- package/dist/src/ui/hooks/useHistoryManager.test.d.ts +0 -6
- package/dist/src/ui/hooks/useHistoryManager.test.js +0 -171
- package/dist/src/ui/hooks/useHistoryManager.test.js.map +0 -1
- package/dist/src/ui/hooks/useIdeTrustListener.d.ts +0 -16
- package/dist/src/ui/hooks/useIdeTrustListener.js +0 -65
- package/dist/src/ui/hooks/useIdeTrustListener.js.map +0 -1
- package/dist/src/ui/hooks/useIdeTrustListener.test.d.ts +0 -6
- package/dist/src/ui/hooks/useIdeTrustListener.test.js +0 -183
- package/dist/src/ui/hooks/useIdeTrustListener.test.js.map +0 -1
- package/dist/src/ui/hooks/useInitializationAuthError.d.ts +0 -22
- package/dist/src/ui/hooks/useInitializationAuthError.js +0 -40
- package/dist/src/ui/hooks/useInitializationAuthError.js.map +0 -1
- package/dist/src/ui/hooks/useInputHistory.d.ts +0 -19
- package/dist/src/ui/hooks/useInputHistory.js +0 -84
- package/dist/src/ui/hooks/useInputHistory.js.map +0 -1
- package/dist/src/ui/hooks/useInputHistory.test.d.ts +0 -6
- package/dist/src/ui/hooks/useInputHistory.test.js +0 -207
- package/dist/src/ui/hooks/useInputHistory.test.js.map +0 -1
- package/dist/src/ui/hooks/useInputHistoryStore.d.ts +0 -19
- package/dist/src/ui/hooks/useInputHistoryStore.js +0 -81
- package/dist/src/ui/hooks/useInputHistoryStore.js.map +0 -1
- package/dist/src/ui/hooks/useInputHistoryStore.test.d.ts +0 -6
- package/dist/src/ui/hooks/useInputHistoryStore.test.js +0 -234
- package/dist/src/ui/hooks/useInputHistoryStore.test.js.map +0 -1
- package/dist/src/ui/hooks/useKeypress.d.ts +0 -17
- package/dist/src/ui/hooks/useKeypress.js +0 -27
- package/dist/src/ui/hooks/useKeypress.js.map +0 -1
- package/dist/src/ui/hooks/useKittyKeyboardProtocol.d.ts +0 -15
- package/dist/src/ui/hooks/useKittyKeyboardProtocol.js +0 -20
- package/dist/src/ui/hooks/useKittyKeyboardProtocol.js.map +0 -1
- package/dist/src/ui/hooks/useLaunchEditor.d.ts +0 -10
- package/dist/src/ui/hooks/useLaunchEditor.js +0 -70
- package/dist/src/ui/hooks/useLaunchEditor.js.map +0 -1
- package/dist/src/ui/hooks/useLoadingIndicator.d.ts +0 -10
- package/dist/src/ui/hooks/useLoadingIndicator.js +0 -44
- package/dist/src/ui/hooks/useLoadingIndicator.js.map +0 -1
- package/dist/src/ui/hooks/useLoadingIndicator.test.d.ts +0 -6
- package/dist/src/ui/hooks/useLoadingIndicator.test.js +0 -91
- package/dist/src/ui/hooks/useLoadingIndicator.test.js.map +0 -1
- package/dist/src/ui/hooks/useLogger.d.ts +0 -11
- package/dist/src/ui/hooks/useLogger.js +0 -29
- package/dist/src/ui/hooks/useLogger.js.map +0 -1
- package/dist/src/ui/hooks/useMemoryMonitor.d.ts +0 -13
- package/dist/src/ui/hooks/useMemoryMonitor.js +0 -28
- package/dist/src/ui/hooks/useMemoryMonitor.js.map +0 -1
- package/dist/src/ui/hooks/useMemoryMonitor.test.d.ts +0 -6
- package/dist/src/ui/hooks/useMemoryMonitor.test.js +0 -57
- package/dist/src/ui/hooks/useMemoryMonitor.test.js.map +0 -1
- package/dist/src/ui/hooks/useMessageQueue.d.ts +0 -23
- package/dist/src/ui/hooks/useMessageQueue.js +0 -51
- package/dist/src/ui/hooks/useMessageQueue.js.map +0 -1
- package/dist/src/ui/hooks/useMessageQueue.test.d.ts +0 -6
- package/dist/src/ui/hooks/useMessageQueue.test.js +0 -167
- package/dist/src/ui/hooks/useMessageQueue.test.js.map +0 -1
- package/dist/src/ui/hooks/useModelCommand.d.ts +0 -12
- package/dist/src/ui/hooks/useModelCommand.js +0 -21
- package/dist/src/ui/hooks/useModelCommand.js.map +0 -1
- package/dist/src/ui/hooks/useModelCommand.test.d.ts +0 -6
- package/dist/src/ui/hooks/useModelCommand.test.js +0 -35
- package/dist/src/ui/hooks/useModelCommand.test.js.map +0 -1
- package/dist/src/ui/hooks/usePermissionsModifyTrust.d.ts +0 -17
- package/dist/src/ui/hooks/usePermissionsModifyTrust.js +0 -78
- package/dist/src/ui/hooks/usePermissionsModifyTrust.js.map +0 -1
- package/dist/src/ui/hooks/usePermissionsModifyTrust.test.d.ts +0 -6
- package/dist/src/ui/hooks/usePermissionsModifyTrust.test.js +0 -182
- package/dist/src/ui/hooks/usePermissionsModifyTrust.test.js.map +0 -1
- package/dist/src/ui/hooks/usePhraseCycler.d.ts +0 -14
- package/dist/src/ui/hooks/usePhraseCycler.js +0 -192
- package/dist/src/ui/hooks/usePhraseCycler.js.map +0 -1
- package/dist/src/ui/hooks/useQuitConfirmation.d.ts +0 -14
- package/dist/src/ui/hooks/useQuitConfirmation.js +0 -36
- package/dist/src/ui/hooks/useQuitConfirmation.js.map +0 -1
- package/dist/src/ui/hooks/useQuotaAndFallback.d.ts +0 -21
- package/dist/src/ui/hooks/useQuotaAndFallback.js +0 -122
- package/dist/src/ui/hooks/useQuotaAndFallback.js.map +0 -1
- package/dist/src/ui/hooks/useQuotaAndFallback.test.d.ts +0 -6
- package/dist/src/ui/hooks/useQuotaAndFallback.test.js +0 -269
- package/dist/src/ui/hooks/useQuotaAndFallback.test.js.map +0 -1
- package/dist/src/ui/hooks/useQwenAuth.d.ts +0 -15
- package/dist/src/ui/hooks/useQwenAuth.js +0 -74
- package/dist/src/ui/hooks/useQwenAuth.js.map +0 -1
- package/dist/src/ui/hooks/useQwenAuth.test.d.ts +0 -6
- package/dist/src/ui/hooks/useQwenAuth.test.js +0 -266
- package/dist/src/ui/hooks/useQwenAuth.test.js.map +0 -1
- package/dist/src/ui/hooks/useReactToolScheduler.d.ts +0 -34
- package/dist/src/ui/hooks/useReactToolScheduler.js +0 -192
- package/dist/src/ui/hooks/useReactToolScheduler.js.map +0 -1
- package/dist/src/ui/hooks/useRefreshMemoryCommand.d.ts +0 -6
- package/dist/src/ui/hooks/useRefreshMemoryCommand.js +0 -7
- package/dist/src/ui/hooks/useRefreshMemoryCommand.js.map +0 -1
- package/dist/src/ui/hooks/useReverseSearchCompletion.d.ts +0 -19
- package/dist/src/ui/hooks/useReverseSearchCompletion.js +0 -103
- package/dist/src/ui/hooks/useReverseSearchCompletion.js.map +0 -1
- package/dist/src/ui/hooks/useReverseSearchCompletion.test.d.ts +0 -6
- package/dist/src/ui/hooks/useReverseSearchCompletion.test.js +0 -163
- package/dist/src/ui/hooks/useReverseSearchCompletion.test.js.map +0 -1
- package/dist/src/ui/hooks/useSelectionList.d.ts +0 -34
- package/dist/src/ui/hooks/useSelectionList.js +0 -245
- package/dist/src/ui/hooks/useSelectionList.js.map +0 -1
- package/dist/src/ui/hooks/useSelectionList.test.d.ts +0 -6
- package/dist/src/ui/hooks/useSelectionList.test.js +0 -701
- package/dist/src/ui/hooks/useSelectionList.test.js.map +0 -1
- package/dist/src/ui/hooks/useSettingsCommand.d.ts +0 -10
- package/dist/src/ui/hooks/useSettingsCommand.js +0 -21
- package/dist/src/ui/hooks/useSettingsCommand.js.map +0 -1
- package/dist/src/ui/hooks/useShellHistory.d.ts +0 -14
- package/dist/src/ui/hooks/useShellHistory.js +0 -111
- package/dist/src/ui/hooks/useShellHistory.js.map +0 -1
- package/dist/src/ui/hooks/useShellHistory.test.d.ts +0 -6
- package/dist/src/ui/hooks/useShellHistory.test.js +0 -187
- package/dist/src/ui/hooks/useShellHistory.test.js.map +0 -1
- package/dist/src/ui/hooks/useShowMemoryCommand.d.ts +0 -9
- package/dist/src/ui/hooks/useShowMemoryCommand.js +0 -58
- package/dist/src/ui/hooks/useShowMemoryCommand.js.map +0 -1
- package/dist/src/ui/hooks/useSlashCompletion.d.ts +0 -20
- package/dist/src/ui/hooks/useSlashCompletion.js +0 -349
- package/dist/src/ui/hooks/useSlashCompletion.js.map +0 -1
- package/dist/src/ui/hooks/useSlashCompletion.test.d.ts +0 -9
- package/dist/src/ui/hooks/useSlashCompletion.test.js +0 -597
- package/dist/src/ui/hooks/useSlashCompletion.test.js.map +0 -1
- package/dist/src/ui/hooks/useStateAndRef.d.ts +0 -7
- package/dist/src/ui/hooks/useStateAndRef.js +0 -26
- package/dist/src/ui/hooks/useStateAndRef.js.map +0 -1
- package/dist/src/ui/hooks/useSubagentCreateDialog.d.ts +0 -10
- package/dist/src/ui/hooks/useSubagentCreateDialog.js +0 -21
- package/dist/src/ui/hooks/useSubagentCreateDialog.js.map +0 -1
- package/dist/src/ui/hooks/useTaskmasterOrchestrator.d.ts +0 -35
- package/dist/src/ui/hooks/useTaskmasterOrchestrator.js +0 -177
- package/dist/src/ui/hooks/useTaskmasterOrchestrator.js.map +0 -1
- package/dist/src/ui/hooks/useTerminalSize.d.ts +0 -9
- package/dist/src/ui/hooks/useTerminalSize.js +0 -27
- package/dist/src/ui/hooks/useTerminalSize.js.map +0 -1
- package/dist/src/ui/hooks/useThemeCommand.d.ts +0 -15
- package/dist/src/ui/hooks/useThemeCommand.js +0 -73
- package/dist/src/ui/hooks/useThemeCommand.js.map +0 -1
- package/dist/src/ui/hooks/useTimer.d.ts +0 -12
- package/dist/src/ui/hooks/useTimer.js +0 -58
- package/dist/src/ui/hooks/useTimer.js.map +0 -1
- package/dist/src/ui/hooks/useTimer.test.d.ts +0 -6
- package/dist/src/ui/hooks/useTimer.test.js +0 -90
- package/dist/src/ui/hooks/useTimer.test.js.map +0 -1
- package/dist/src/ui/hooks/useToolScheduler.test.d.ts +0 -6
- package/dist/src/ui/hooks/useToolScheduler.test.js +0 -623
- package/dist/src/ui/hooks/useToolScheduler.test.js.map +0 -1
- package/dist/src/ui/hooks/useVisionAutoSwitch.d.ts +0 -47
- package/dist/src/ui/hooks/useVisionAutoSwitch.js +0 -262
- package/dist/src/ui/hooks/useVisionAutoSwitch.js.map +0 -1
- package/dist/src/ui/hooks/useVisionAutoSwitch.test.d.ts +0 -6
- package/dist/src/ui/hooks/useVisionAutoSwitch.test.js +0 -515
- package/dist/src/ui/hooks/useVisionAutoSwitch.test.js.map +0 -1
- package/dist/src/ui/hooks/useWelcomeBack.d.ts +0 -23
- package/dist/src/ui/hooks/useWelcomeBack.js +0 -79
- package/dist/src/ui/hooks/useWelcomeBack.js.map +0 -1
- package/dist/src/ui/hooks/useWorkspaceMigration.d.ts +0 -13
- package/dist/src/ui/hooks/useWorkspaceMigration.js +0 -54
- package/dist/src/ui/hooks/useWorkspaceMigration.js.map +0 -1
- package/dist/src/ui/hooks/vim.d.ts +0 -28
- package/dist/src/ui/hooks/vim.js +0 -639
- package/dist/src/ui/hooks/vim.js.map +0 -1
- package/dist/src/ui/keyMatchers.d.ts +0 -27
- package/dist/src/ui/keyMatchers.js +0 -68
- package/dist/src/ui/keyMatchers.js.map +0 -1
- package/dist/src/ui/keyMatchers.test.d.ts +0 -6
- package/dist/src/ui/keyMatchers.test.js +0 -293
- package/dist/src/ui/keyMatchers.test.js.map +0 -1
- package/dist/src/ui/layouts/DefaultAppLayout.d.ts +0 -9
- package/dist/src/ui/layouts/DefaultAppLayout.js +0 -14
- package/dist/src/ui/layouts/DefaultAppLayout.js.map +0 -1
- package/dist/src/ui/layouts/ScreenReaderAppLayout.d.ts +0 -7
- package/dist/src/ui/layouts/ScreenReaderAppLayout.js +0 -14
- package/dist/src/ui/layouts/ScreenReaderAppLayout.js.map +0 -1
- package/dist/src/ui/models/availableModels.d.ts +0 -56
- package/dist/src/ui/models/availableModels.js +0 -223
- package/dist/src/ui/models/availableModels.js.map +0 -1
- package/dist/src/ui/noninteractive/nonInteractiveUi.d.ts +0 -12
- package/dist/src/ui/noninteractive/nonInteractiveUi.js +0 -29
- package/dist/src/ui/noninteractive/nonInteractiveUi.js.map +0 -1
- package/dist/src/ui/semantic-colors.d.ts +0 -7
- package/dist/src/ui/semantic-colors.js +0 -24
- package/dist/src/ui/semantic-colors.js.map +0 -1
- package/dist/src/ui/state/extensions.d.ts +0 -42
- package/dist/src/ui/state/extensions.js +0 -62
- package/dist/src/ui/state/extensions.js.map +0 -1
- package/dist/src/ui/textConstants.d.ts +0 -9
- package/dist/src/ui/textConstants.js +0 -10
- package/dist/src/ui/textConstants.js.map +0 -1
- package/dist/src/ui/themes/ansi-light.d.ts +0 -7
- package/dist/src/ui/themes/ansi-light.js +0 -142
- package/dist/src/ui/themes/ansi-light.js.map +0 -1
- package/dist/src/ui/themes/ansi.d.ts +0 -7
- package/dist/src/ui/themes/ansi.js +0 -152
- package/dist/src/ui/themes/ansi.js.map +0 -1
- package/dist/src/ui/themes/atom-one-dark.d.ts +0 -7
- package/dist/src/ui/themes/atom-one-dark.js +0 -138
- package/dist/src/ui/themes/atom-one-dark.js.map +0 -1
- package/dist/src/ui/themes/ayu-light.d.ts +0 -7
- package/dist/src/ui/themes/ayu-light.js +0 -130
- package/dist/src/ui/themes/ayu-light.js.map +0 -1
- package/dist/src/ui/themes/ayu.d.ts +0 -7
- package/dist/src/ui/themes/ayu.js +0 -104
- package/dist/src/ui/themes/ayu.js.map +0 -1
- package/dist/src/ui/themes/color-utils.d.ts +0 -21
- package/dist/src/ui/themes/color-utils.js +0 -221
- package/dist/src/ui/themes/color-utils.js.map +0 -1
- package/dist/src/ui/themes/color-utils.test.d.ts +0 -6
- package/dist/src/ui/themes/color-utils.test.js +0 -197
- package/dist/src/ui/themes/color-utils.test.js.map +0 -1
- package/dist/src/ui/themes/default-light.d.ts +0 -7
- package/dist/src/ui/themes/default-light.js +0 -100
- package/dist/src/ui/themes/default-light.js.map +0 -1
- package/dist/src/ui/themes/default.d.ts +0 -7
- package/dist/src/ui/themes/default.js +0 -143
- package/dist/src/ui/themes/default.js.map +0 -1
- package/dist/src/ui/themes/dracula.d.ts +0 -7
- package/dist/src/ui/themes/dracula.js +0 -115
- package/dist/src/ui/themes/dracula.js.map +0 -1
- package/dist/src/ui/themes/github-dark.d.ts +0 -7
- package/dist/src/ui/themes/github-dark.js +0 -138
- package/dist/src/ui/themes/github-dark.js.map +0 -1
- package/dist/src/ui/themes/github-light.d.ts +0 -7
- package/dist/src/ui/themes/github-light.js +0 -140
- package/dist/src/ui/themes/github-light.js.map +0 -1
- package/dist/src/ui/themes/googlecode.d.ts +0 -7
- package/dist/src/ui/themes/googlecode.js +0 -137
- package/dist/src/ui/themes/googlecode.js.map +0 -1
- package/dist/src/ui/themes/no-color.d.ts +0 -7
- package/dist/src/ui/themes/no-color.js +0 -115
- package/dist/src/ui/themes/no-color.js.map +0 -1
- package/dist/src/ui/themes/qwen-dark.d.ts +0 -7
- package/dist/src/ui/themes/qwen-dark.js +0 -106
- package/dist/src/ui/themes/qwen-dark.js.map +0 -1
- package/dist/src/ui/themes/qwen-light.d.ts +0 -7
- package/dist/src/ui/themes/qwen-light.js +0 -131
- package/dist/src/ui/themes/qwen-light.js.map +0 -1
- package/dist/src/ui/themes/semantic-tokens.d.ts +0 -37
- package/dist/src/ui/themes/semantic-tokens.js +0 -94
- package/dist/src/ui/themes/semantic-tokens.js.map +0 -1
- package/dist/src/ui/themes/shades-of-purple.d.ts +0 -11
- package/dist/src/ui/themes/shades-of-purple.js +0 -304
- package/dist/src/ui/themes/shades-of-purple.js.map +0 -1
- package/dist/src/ui/themes/theme-manager.d.ts +0 -66
- package/dist/src/ui/themes/theme-manager.js +0 -270
- package/dist/src/ui/themes/theme-manager.js.map +0 -1
- package/dist/src/ui/themes/theme-manager.test.d.ts +0 -6
- package/dist/src/ui/themes/theme-manager.test.js +0 -142
- package/dist/src/ui/themes/theme-manager.test.js.map +0 -1
- package/dist/src/ui/themes/theme.d.ts +0 -130
- package/dist/src/ui/themes/theme.js +0 -379
- package/dist/src/ui/themes/theme.js.map +0 -1
- package/dist/src/ui/themes/xcode.d.ts +0 -7
- package/dist/src/ui/themes/xcode.js +0 -145
- package/dist/src/ui/themes/xcode.js.map +0 -1
- package/dist/src/ui/types.d.ts +0 -311
- package/dist/src/ui/types.js +0 -60
- package/dist/src/ui/types.js.map +0 -1
- package/dist/src/ui/utils/CodeColorizer.d.ts +0 -17
- package/dist/src/ui/utils/CodeColorizer.js +0 -111
- package/dist/src/ui/utils/CodeColorizer.js.map +0 -1
- package/dist/src/ui/utils/ConsolePatcher.d.ts +0 -25
- package/dist/src/ui/utils/ConsolePatcher.js +0 -52
- package/dist/src/ui/utils/ConsolePatcher.js.map +0 -1
- package/dist/src/ui/utils/InlineMarkdownRenderer.d.ts +0 -16
- package/dist/src/ui/utils/InlineMarkdownRenderer.js +0 -111
- package/dist/src/ui/utils/InlineMarkdownRenderer.js.map +0 -1
- package/dist/src/ui/utils/MarkdownDisplay.d.ts +0 -14
- package/dist/src/ui/utils/MarkdownDisplay.js +0 -207
- package/dist/src/ui/utils/MarkdownDisplay.js.map +0 -1
- package/dist/src/ui/utils/MarkdownDisplay.test.d.ts +0 -6
- package/dist/src/ui/utils/MarkdownDisplay.test.js +0 -169
- package/dist/src/ui/utils/MarkdownDisplay.test.js.map +0 -1
- package/dist/src/ui/utils/TableRenderer.d.ts +0 -17
- package/dist/src/ui/utils/TableRenderer.js +0 -84
- package/dist/src/ui/utils/TableRenderer.js.map +0 -1
- package/dist/src/ui/utils/clipboardUtils.d.ts +0 -22
- package/dist/src/ui/utils/clipboardUtils.js +0 -126
- package/dist/src/ui/utils/clipboardUtils.js.map +0 -1
- package/dist/src/ui/utils/clipboardUtils.test.d.ts +0 -6
- package/dist/src/ui/utils/clipboardUtils.test.js +0 -65
- package/dist/src/ui/utils/clipboardUtils.test.js.map +0 -1
- package/dist/src/ui/utils/commandUtils.d.ts +0 -40
- package/dist/src/ui/utils/commandUtils.js +0 -146
- package/dist/src/ui/utils/commandUtils.js.map +0 -1
- package/dist/src/ui/utils/commandUtils.test.d.ts +0 -6
- package/dist/src/ui/utils/commandUtils.test.js +0 -352
- package/dist/src/ui/utils/commandUtils.test.js.map +0 -1
- package/dist/src/ui/utils/computeStats.d.ts +0 -10
- package/dist/src/ui/utils/computeStats.js +0 -57
- package/dist/src/ui/utils/computeStats.js.map +0 -1
- package/dist/src/ui/utils/displayUtils.d.ts +0 -18
- package/dist/src/ui/utils/displayUtils.js +0 -27
- package/dist/src/ui/utils/displayUtils.js.map +0 -1
- package/dist/src/ui/utils/displayUtils.test.d.ts +0 -6
- package/dist/src/ui/utils/displayUtils.test.js +0 -61
- package/dist/src/ui/utils/displayUtils.test.js.map +0 -1
- package/dist/src/ui/utils/formatters.d.ts +0 -13
- package/dist/src/ui/utils/formatters.js +0 -56
- package/dist/src/ui/utils/formatters.js.map +0 -1
- package/dist/src/ui/utils/formatters.test.d.ts +0 -6
- package/dist/src/ui/utils/formatters.test.js +0 -56
- package/dist/src/ui/utils/formatters.test.js.map +0 -1
- package/dist/src/ui/utils/highlight.d.ts +0 -11
- package/dist/src/ui/utils/highlight.js +0 -78
- package/dist/src/ui/utils/highlight.js.map +0 -1
- package/dist/src/ui/utils/highlight.test.d.ts +0 -6
- package/dist/src/ui/utils/highlight.test.js +0 -120
- package/dist/src/ui/utils/highlight.test.js.map +0 -1
- package/dist/src/ui/utils/isNarrowWidth.d.ts +0 -6
- package/dist/src/ui/utils/isNarrowWidth.js +0 -9
- package/dist/src/ui/utils/isNarrowWidth.js.map +0 -1
- package/dist/src/ui/utils/kittyProtocolDetector.d.ts +0 -13
- package/dist/src/ui/utils/kittyProtocolDetector.js +0 -98
- package/dist/src/ui/utils/kittyProtocolDetector.js.map +0 -1
- package/dist/src/ui/utils/markdownUtilities.d.ts +0 -6
- package/dist/src/ui/utils/markdownUtilities.js +0 -110
- package/dist/src/ui/utils/markdownUtilities.js.map +0 -1
- package/dist/src/ui/utils/markdownUtilities.test.d.ts +0 -6
- package/dist/src/ui/utils/markdownUtilities.test.js +0 -42
- package/dist/src/ui/utils/markdownUtilities.test.js.map +0 -1
- package/dist/src/ui/utils/platformConstants.d.ts +0 -75
- package/dist/src/ui/utils/platformConstants.js +0 -78
- package/dist/src/ui/utils/platformConstants.js.map +0 -1
- package/dist/src/ui/utils/terminalSetup.d.ts +0 -30
- package/dist/src/ui/utils/terminalSetup.js +0 -308
- package/dist/src/ui/utils/terminalSetup.js.map +0 -1
- package/dist/src/ui/utils/terminalUI.d.ts +0 -162
- package/dist/src/ui/utils/terminalUI.js +0 -285
- package/dist/src/ui/utils/terminalUI.js.map +0 -1
- package/dist/src/ui/utils/textUtils.d.ts +0 -42
- package/dist/src/ui/utils/textUtils.js +0 -185
- package/dist/src/ui/utils/textUtils.js.map +0 -1
- package/dist/src/ui/utils/textUtils.test.d.ts +0 -6
- package/dist/src/ui/utils/textUtils.test.js +0 -132
- package/dist/src/ui/utils/textUtils.test.js.map +0 -1
- package/dist/src/ui/utils/updateCheck.d.ts +0 -12
- package/dist/src/ui/utils/updateCheck.js +0 -78
- package/dist/src/ui/utils/updateCheck.js.map +0 -1
- package/dist/src/ui/utils/updateCheck.test.d.ts +0 -6
- package/dist/src/ui/utils/updateCheck.test.js +0 -145
- package/dist/src/ui/utils/updateCheck.test.js.map +0 -1
- package/dist/src/utils/attentionNotification.d.ts +0 -20
- package/dist/src/utils/attentionNotification.js +0 -34
- package/dist/src/utils/attentionNotification.js.map +0 -1
- package/dist/src/utils/attentionNotification.test.d.ts +0 -6
- package/dist/src/utils/attentionNotification.test.js +0 -46
- package/dist/src/utils/attentionNotification.test.js.map +0 -1
- package/dist/src/utils/checks.d.ts +0 -19
- package/dist/src/utils/checks.js +0 -24
- package/dist/src/utils/checks.js.map +0 -1
- package/dist/src/utils/cleanup.d.ts +0 -8
- package/dist/src/utils/cleanup.js +0 -35
- package/dist/src/utils/cleanup.js.map +0 -1
- package/dist/src/utils/commands.d.ts +0 -20
- package/dist/src/utils/commands.js +0 -53
- package/dist/src/utils/commands.js.map +0 -1
- package/dist/src/utils/commands.test.d.ts +0 -6
- package/dist/src/utils/commands.test.js +0 -115
- package/dist/src/utils/commands.test.js.map +0 -1
- package/dist/src/utils/commentJson.d.ts +0 -9
- package/dist/src/utils/commentJson.js +0 -55
- package/dist/src/utils/commentJson.js.map +0 -1
- package/dist/src/utils/commentJson.test.d.ts +0 -6
- package/dist/src/utils/commentJson.test.js +0 -146
- package/dist/src/utils/commentJson.test.js.map +0 -1
- package/dist/src/utils/deepMerge.d.ts +0 -9
- package/dist/src/utils/deepMerge.js +0 -58
- package/dist/src/utils/deepMerge.js.map +0 -1
- package/dist/src/utils/deepMerge.test.d.ts +0 -6
- package/dist/src/utils/deepMerge.test.js +0 -143
- package/dist/src/utils/deepMerge.test.js.map +0 -1
- package/dist/src/utils/dialogScopeUtils.d.ts +0 -28
- package/dist/src/utils/dialogScopeUtils.js +0 -51
- package/dist/src/utils/dialogScopeUtils.js.map +0 -1
- package/dist/src/utils/envVarResolver.d.ts +0 -39
- package/dist/src/utils/envVarResolver.js +0 -97
- package/dist/src/utils/envVarResolver.js.map +0 -1
- package/dist/src/utils/envVarResolver.test.d.ts +0 -6
- package/dist/src/utils/envVarResolver.test.js +0 -221
- package/dist/src/utils/envVarResolver.test.js.map +0 -1
- package/dist/src/utils/errors.d.ts +0 -35
- package/dist/src/utils/errors.js +0 -106
- package/dist/src/utils/errors.js.map +0 -1
- package/dist/src/utils/errors.test.d.ts +0 -6
- package/dist/src/utils/errors.test.js +0 -340
- package/dist/src/utils/errors.test.js.map +0 -1
- package/dist/src/utils/events.d.ts +0 -12
- package/dist/src/utils/events.js +0 -14
- package/dist/src/utils/events.js.map +0 -1
- package/dist/src/utils/gitUtils.d.ts +0 -30
- package/dist/src/utils/gitUtils.js +0 -89
- package/dist/src/utils/gitUtils.js.map +0 -1
- package/dist/src/utils/gitUtils.test.d.ts +0 -6
- package/dist/src/utils/gitUtils.test.js +0 -113
- package/dist/src/utils/gitUtils.test.js.map +0 -1
- package/dist/src/utils/handleAutoUpdate.d.ts +0 -11
- package/dist/src/utils/handleAutoUpdate.js +0 -102
- package/dist/src/utils/handleAutoUpdate.js.map +0 -1
- package/dist/src/utils/installationInfo.d.ts +0 -23
- package/dist/src/utils/installationInfo.js +0 -153
- package/dist/src/utils/installationInfo.js.map +0 -1
- package/dist/src/utils/installationInfo.test.d.ts +0 -6
- package/dist/src/utils/installationInfo.test.js +0 -242
- package/dist/src/utils/installationInfo.test.js.map +0 -1
- package/dist/src/utils/math.d.ts +0 -13
- package/dist/src/utils/math.js +0 -14
- package/dist/src/utils/math.js.map +0 -1
- package/dist/src/utils/nonInteractiveHelpers.d.ts +0 -88
- package/dist/src/utils/nonInteractiveHelpers.js +0 -470
- package/dist/src/utils/nonInteractiveHelpers.js.map +0 -1
- package/dist/src/utils/nonInteractiveHelpers.test.d.ts +0 -6
- package/dist/src/utils/nonInteractiveHelpers.test.js +0 -945
- package/dist/src/utils/nonInteractiveHelpers.test.js.map +0 -1
- package/dist/src/utils/package.d.ts +0 -12
- package/dist/src/utils/package.js +0 -24
- package/dist/src/utils/package.js.map +0 -1
- package/dist/src/utils/processUtils.d.ts +0 -13
- package/dist/src/utils/processUtils.js +0 -18
- package/dist/src/utils/processUtils.js.map +0 -1
- package/dist/src/utils/processUtils.test.d.ts +0 -6
- package/dist/src/utils/processUtils.test.js +0 -20
- package/dist/src/utils/processUtils.test.js.map +0 -1
- package/dist/src/utils/readStdin.d.ts +0 -6
- package/dist/src/utils/readStdin.js +0 -59
- package/dist/src/utils/readStdin.js.map +0 -1
- package/dist/src/utils/readStdin.test.d.ts +0 -6
- package/dist/src/utils/readStdin.test.js +0 -88
- package/dist/src/utils/readStdin.test.js.map +0 -1
- package/dist/src/utils/relaunch.d.ts +0 -7
- package/dist/src/utils/relaunch.js +0 -57
- package/dist/src/utils/relaunch.js.map +0 -1
- package/dist/src/utils/relaunch.test.d.ts +0 -6
- package/dist/src/utils/relaunch.test.js +0 -273
- package/dist/src/utils/relaunch.test.js.map +0 -1
- package/dist/src/utils/resolvePath.d.ts +0 -6
- package/dist/src/utils/resolvePath.js +0 -21
- package/dist/src/utils/resolvePath.js.map +0 -1
- package/dist/src/utils/sandbox.d.ts +0 -7
- package/dist/src/utils/sandbox.js +0 -763
- package/dist/src/utils/sandbox.js.map +0 -1
- package/dist/src/utils/settingsUtils.d.ts +0 -144
- package/dist/src/utils/settingsUtils.js +0 -346
- package/dist/src/utils/settingsUtils.js.map +0 -1
- package/dist/src/utils/settingsUtils.test.d.ts +0 -6
- package/dist/src/utils/settingsUtils.test.js +0 -808
- package/dist/src/utils/settingsUtils.test.js.map +0 -1
- package/dist/src/utils/spawnWrapper.d.ts +0 -7
- package/dist/src/utils/spawnWrapper.js +0 -8
- package/dist/src/utils/spawnWrapper.js.map +0 -1
- package/dist/src/utils/startupWarnings.d.ts +0 -6
- package/dist/src/utils/startupWarnings.js +0 -40
- package/dist/src/utils/startupWarnings.js.map +0 -1
- package/dist/src/utils/systemInfo.d.ts +0 -66
- package/dist/src/utils/systemInfo.js +0 -125
- package/dist/src/utils/systemInfo.js.map +0 -1
- package/dist/src/utils/systemInfo.test.d.ts +0 -6
- package/dist/src/utils/systemInfo.test.js +0 -259
- package/dist/src/utils/systemInfo.test.js.map +0 -1
- package/dist/src/utils/systemInfoFields.d.ts +0 -22
- package/dist/src/utils/systemInfoFields.js +0 -96
- package/dist/src/utils/systemInfoFields.js.map +0 -1
- package/dist/src/utils/updateEventEmitter.d.ts +0 -11
- package/dist/src/utils/updateEventEmitter.js +0 -12
- package/dist/src/utils/updateEventEmitter.js.map +0 -1
- package/dist/src/utils/userStartupWarnings.d.ts +0 -12
- package/dist/src/utils/userStartupWarnings.js +0 -74
- package/dist/src/utils/userStartupWarnings.js.map +0 -1
- package/dist/src/utils/userStartupWarnings.test.d.ts +0 -6
- package/dist/src/utils/userStartupWarnings.test.js +0 -88
- package/dist/src/utils/userStartupWarnings.test.js.map +0 -1
- package/dist/src/utils/version.d.ts +0 -6
- package/dist/src/utils/version.js +0 -11
- package/dist/src/utils/version.js.map +0 -1
- package/dist/src/utils/windowTitle.d.ts +0 -12
- package/dist/src/utils/windowTitle.js +0 -19
- package/dist/src/utils/windowTitle.js.map +0 -1
- package/dist/src/utils/windowTitle.test.d.ts +0 -6
- package/dist/src/utils/windowTitle.test.js +0 -49
- package/dist/src/utils/windowTitle.test.js.map +0 -1
- package/dist/src/validateNonInterActiveAuth.d.ts +0 -9
- package/dist/src/validateNonInterActiveAuth.js +0 -76
- package/dist/src/validateNonInterActiveAuth.js.map +0 -1
- package/dist/src/zed-integration/acp.d.ts +0 -63
- package/dist/src/zed-integration/acp.js +0 -225
- package/dist/src/zed-integration/acp.js.map +0 -1
- package/dist/src/zed-integration/fileSystemService.d.ts +0 -20
- package/dist/src/zed-integration/fileSystemService.js +0 -46
- package/dist/src/zed-integration/fileSystemService.js.map +0 -1
- package/dist/src/zed-integration/schema.d.ts +0 -12024
- package/dist/src/zed-integration/schema.js +0 -324
- package/dist/src/zed-integration/schema.js.map +0 -1
- package/dist/src/zed-integration/zedIntegration.d.ts +0 -17
- package/dist/src/zed-integration/zedIntegration.js +0 -1135
- package/dist/src/zed-integration/zedIntegration.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- /package/{dist/src/i18n/locales → locales}/en.js +0 -0
- /package/{dist/src/i18n/locales → locales}/zh.js +0 -0
- /package/{dist/src/utils/sandbox-macos-permissive-closed.sb → sandbox-macos-permissive-closed.sb} +0 -0
- /package/{dist/src/utils/sandbox-macos-permissive-open.sb → sandbox-macos-permissive-open.sb} +0 -0
- /package/{dist/src/utils/sandbox-macos-permissive-proxied.sb → sandbox-macos-permissive-proxied.sb} +0 -0
- /package/{dist/src/utils/sandbox-macos-restrictive-closed.sb → sandbox-macos-restrictive-closed.sb} +0 -0
- /package/{dist/src/utils/sandbox-macos-restrictive-open.sb → sandbox-macos-restrictive-open.sb} +0 -0
- /package/{dist/src/utils/sandbox-macos-restrictive-proxied.sb → sandbox-macos-restrictive-proxied.sb} +0 -0
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 OSA
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import {} from './types.js';
|
|
7
|
-
import { WIZARD_STEPS } from './constants.js';
|
|
8
|
-
import { getStepKind, getTotalSteps } from './utils.js';
|
|
9
|
-
/**
|
|
10
|
-
* Initial state for the creation wizard.
|
|
11
|
-
*/
|
|
12
|
-
export const initialWizardState = {
|
|
13
|
-
currentStep: WIZARD_STEPS.LOCATION_SELECTION,
|
|
14
|
-
location: 'project',
|
|
15
|
-
generationMethod: 'osagent',
|
|
16
|
-
userDescription: '',
|
|
17
|
-
generatedSystemPrompt: '',
|
|
18
|
-
generatedDescription: '',
|
|
19
|
-
generatedName: '',
|
|
20
|
-
selectedTools: [],
|
|
21
|
-
color: 'auto',
|
|
22
|
-
isGenerating: false,
|
|
23
|
-
validationErrors: [],
|
|
24
|
-
canProceed: false,
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Reducer for managing wizard state transitions.
|
|
28
|
-
*/
|
|
29
|
-
export function wizardReducer(state, action) {
|
|
30
|
-
switch (action.type) {
|
|
31
|
-
case 'SET_STEP':
|
|
32
|
-
return {
|
|
33
|
-
...state,
|
|
34
|
-
currentStep: Math.max(WIZARD_STEPS.LOCATION_SELECTION, Math.min(getTotalSteps(state.generationMethod), action.step)),
|
|
35
|
-
validationErrors: [],
|
|
36
|
-
};
|
|
37
|
-
case 'SET_LOCATION':
|
|
38
|
-
return {
|
|
39
|
-
...state,
|
|
40
|
-
location: action.location,
|
|
41
|
-
canProceed: true,
|
|
42
|
-
};
|
|
43
|
-
case 'SET_GENERATION_METHOD':
|
|
44
|
-
return {
|
|
45
|
-
...state,
|
|
46
|
-
generationMethod: action.method,
|
|
47
|
-
canProceed: true,
|
|
48
|
-
};
|
|
49
|
-
case 'SET_USER_DESCRIPTION':
|
|
50
|
-
return {
|
|
51
|
-
...state,
|
|
52
|
-
userDescription: action.description,
|
|
53
|
-
canProceed: action.description.trim().length >= 0,
|
|
54
|
-
};
|
|
55
|
-
case 'SET_GENERATED_CONTENT':
|
|
56
|
-
return {
|
|
57
|
-
...state,
|
|
58
|
-
generatedName: action.name,
|
|
59
|
-
generatedDescription: action.description,
|
|
60
|
-
generatedSystemPrompt: action.systemPrompt,
|
|
61
|
-
isGenerating: false,
|
|
62
|
-
canProceed: true,
|
|
63
|
-
};
|
|
64
|
-
case 'SET_GENERATED_NAME':
|
|
65
|
-
return {
|
|
66
|
-
...state,
|
|
67
|
-
generatedName: action.name,
|
|
68
|
-
canProceed: action.name.trim().length > 0,
|
|
69
|
-
};
|
|
70
|
-
case 'SET_GENERATED_SYSTEM_PROMPT':
|
|
71
|
-
return {
|
|
72
|
-
...state,
|
|
73
|
-
generatedSystemPrompt: action.systemPrompt,
|
|
74
|
-
canProceed: action.systemPrompt.trim().length > 0,
|
|
75
|
-
};
|
|
76
|
-
case 'SET_GENERATED_DESCRIPTION':
|
|
77
|
-
return {
|
|
78
|
-
...state,
|
|
79
|
-
generatedDescription: action.description,
|
|
80
|
-
canProceed: action.description.trim().length > 0,
|
|
81
|
-
};
|
|
82
|
-
case 'SET_TOOLS':
|
|
83
|
-
return {
|
|
84
|
-
...state,
|
|
85
|
-
selectedTools: action.tools,
|
|
86
|
-
canProceed: true,
|
|
87
|
-
};
|
|
88
|
-
case 'SET_BACKGROUND_COLOR':
|
|
89
|
-
return {
|
|
90
|
-
...state,
|
|
91
|
-
color: action.color,
|
|
92
|
-
canProceed: true,
|
|
93
|
-
};
|
|
94
|
-
case 'SET_GENERATING':
|
|
95
|
-
return {
|
|
96
|
-
...state,
|
|
97
|
-
isGenerating: action.isGenerating,
|
|
98
|
-
canProceed: !action.isGenerating,
|
|
99
|
-
};
|
|
100
|
-
case 'SET_VALIDATION_ERRORS':
|
|
101
|
-
return {
|
|
102
|
-
...state,
|
|
103
|
-
validationErrors: action.errors,
|
|
104
|
-
canProceed: action.errors.length === 0,
|
|
105
|
-
};
|
|
106
|
-
case 'GO_TO_NEXT_STEP':
|
|
107
|
-
if (state.canProceed &&
|
|
108
|
-
state.currentStep < getTotalSteps(state.generationMethod)) {
|
|
109
|
-
return {
|
|
110
|
-
...state,
|
|
111
|
-
currentStep: state.currentStep + 1,
|
|
112
|
-
validationErrors: [],
|
|
113
|
-
canProceed: validateStep(state.currentStep + 1, state),
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
return state;
|
|
117
|
-
case 'GO_TO_PREVIOUS_STEP':
|
|
118
|
-
if (state.currentStep > WIZARD_STEPS.LOCATION_SELECTION) {
|
|
119
|
-
return {
|
|
120
|
-
...state,
|
|
121
|
-
currentStep: state.currentStep - 1,
|
|
122
|
-
validationErrors: [],
|
|
123
|
-
canProceed: validateStep(state.currentStep - 1, state),
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
return state;
|
|
127
|
-
case 'RESET_WIZARD':
|
|
128
|
-
return initialWizardState;
|
|
129
|
-
default:
|
|
130
|
-
return state;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Validates whether a step can proceed based on current state.
|
|
135
|
-
*/
|
|
136
|
-
function validateStep(step, state) {
|
|
137
|
-
const kind = getStepKind(state.generationMethod, step);
|
|
138
|
-
switch (kind) {
|
|
139
|
-
case 'LOCATION':
|
|
140
|
-
case 'GEN_METHOD':
|
|
141
|
-
return true;
|
|
142
|
-
case 'LLM_DESC':
|
|
143
|
-
return state.userDescription.trim().length >= 0;
|
|
144
|
-
case 'MANUAL_NAME':
|
|
145
|
-
return state.generatedName.trim().length > 0;
|
|
146
|
-
case 'MANUAL_PROMPT':
|
|
147
|
-
return state.generatedSystemPrompt.trim().length > 0;
|
|
148
|
-
case 'MANUAL_DESC':
|
|
149
|
-
return state.generatedDescription.trim().length > 0;
|
|
150
|
-
case 'TOOLS':
|
|
151
|
-
return (state.generatedName.length > 0 &&
|
|
152
|
-
state.generatedDescription.length > 0 &&
|
|
153
|
-
state.generatedSystemPrompt.length > 0);
|
|
154
|
-
case 'COLOR':
|
|
155
|
-
return true;
|
|
156
|
-
case 'FINAL':
|
|
157
|
-
return state.color.length > 0;
|
|
158
|
-
default:
|
|
159
|
-
return false;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
//# sourceMappingURL=reducers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reducers.js","sourceRoot":"","sources":["../../../../../src/ui/components/subagents/reducers.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAA+C,MAAM,YAAY,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAExD;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAwB;IACrD,WAAW,EAAE,YAAY,CAAC,kBAAkB;IAC5C,QAAQ,EAAE,SAAS;IACnB,gBAAgB,EAAE,SAAS;IAC3B,eAAe,EAAE,EAAE;IACnB,qBAAqB,EAAE,EAAE;IACzB,oBAAoB,EAAE,EAAE;IACxB,aAAa,EAAE,EAAE;IACjB,aAAa,EAAE,EAAE;IACjB,KAAK,EAAE,MAAM;IACb,YAAY,EAAE,KAAK;IACnB,gBAAgB,EAAE,EAAE;IACpB,UAAU,EAAE,KAAK;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,aAAa,CAC3B,KAA0B,EAC1B,MAAoB;IAEpB,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;QACpB,KAAK,UAAU;YACb,OAAO;gBACL,GAAG,KAAK;gBACR,WAAW,EAAE,IAAI,CAAC,GAAG,CACnB,YAAY,CAAC,kBAAkB,EAC/B,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,CAC7D;gBACD,gBAAgB,EAAE,EAAE;aACrB,CAAC;QAEJ,KAAK,cAAc;YACjB,OAAO;gBACL,GAAG,KAAK;gBACR,QAAQ,EAAE,MAAM,CAAC,QAAQ;gBACzB,UAAU,EAAE,IAAI;aACjB,CAAC;QAEJ,KAAK,uBAAuB;YAC1B,OAAO;gBACL,GAAG,KAAK;gBACR,gBAA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AK,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC;IACvD,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,UAAU,CAAC;QAChB,KAAK,YAAY;YACf,OAAO,IAAI,CAAC;QACd,KAAK,UAAU;YACb,OAAO,KAAK,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,MAAM,IAAI,CAAC,CAAC;QAClD,KAAK,aAAa;YAChB,OAAO,KAAK,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;QAC/C,KAAK,eAAe;YAClB,OAAO,KAAK,CAAC,qBAAqB,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;QACvD,KAAK,aAAa;YAChB,OAAO,KAAK,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;QACtD,KAAK,OAAO;YACV,OAAO,CACL,KAAK,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC;gBAC9B,KAAK,CAAC,oBAAoB,CAAC,MAAM,GAAG,CAAC;gBACrC,KAAK,CAAC,qBAAqB,CAAC,MAAM,GAAG,CAAC,CACvC,CAAC;QACJ,KAAK,OAAO;YACV,OAAO,IAAI,CAAC;QACd,KAAK,OAAO;YACV,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;QAChC;YACE,OAAO,KAAK,CAAC;IACjB,CAAC;AACH,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 OSA
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import type { TaskResultDisplay, Config } from 'osagent-core';
|
|
8
|
-
export type DisplayMode = 'compact' | 'default' | 'verbose';
|
|
9
|
-
export interface AgentExecutionDisplayProps {
|
|
10
|
-
data: TaskResultDisplay;
|
|
11
|
-
availableHeight?: number;
|
|
12
|
-
childWidth: number;
|
|
13
|
-
config: Config;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Component to display subagent execution progress and results.
|
|
17
|
-
* This is now a pure component that renders the provided SubagentExecutionResultDisplay data.
|
|
18
|
-
* Real-time updates are handled by the parent component updating the data prop.
|
|
19
|
-
*/
|
|
20
|
-
export declare const AgentExecutionDisplay: React.FC<AgentExecutionDisplayProps>;
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2025 OSA
|
|
5
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
-
*/
|
|
7
|
-
import React, { useMemo } from 'react';
|
|
8
|
-
import { Box, Text } from 'ink';
|
|
9
|
-
import { theme } from '../../../semantic-colors.js';
|
|
10
|
-
import { useKeypress } from '../../../hooks/useKeypress.js';
|
|
11
|
-
import { COLOR_OPTIONS } from '../constants.js';
|
|
12
|
-
import { fmtDuration } from '../utils.js';
|
|
13
|
-
import { ToolConfirmationMessage } from '../../messages/ToolConfirmationMessage.js';
|
|
14
|
-
const getStatusColor = (status) => {
|
|
15
|
-
switch (status) {
|
|
16
|
-
case 'running':
|
|
17
|
-
case 'executing':
|
|
18
|
-
case 'awaiting_approval':
|
|
19
|
-
return theme.status.warning;
|
|
20
|
-
case 'completed':
|
|
21
|
-
case 'success':
|
|
22
|
-
return theme.status.success;
|
|
23
|
-
case 'cancelled':
|
|
24
|
-
return theme.status.warning;
|
|
25
|
-
case 'failed':
|
|
26
|
-
return theme.status.error;
|
|
27
|
-
default:
|
|
28
|
-
return theme.text.secondary;
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
const getStatusText = (status) => {
|
|
32
|
-
switch (status) {
|
|
33
|
-
case 'running':
|
|
34
|
-
return 'Running';
|
|
35
|
-
case 'completed':
|
|
36
|
-
return 'Completed';
|
|
37
|
-
case 'cancelled':
|
|
38
|
-
return 'User Cancelled';
|
|
39
|
-
case 'failed':
|
|
40
|
-
return 'Failed';
|
|
41
|
-
default:
|
|
42
|
-
return 'Unknown';
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
const MAX_TOOL_CALLS = 5;
|
|
46
|
-
const MAX_TASK_PROMPT_LINES = 5;
|
|
47
|
-
/**
|
|
48
|
-
* Component to display subagent execution progress and results.
|
|
49
|
-
* This is now a pure component that renders the provided SubagentExecutionResultDisplay data.
|
|
50
|
-
* Real-time updates are handled by the parent component updating the data prop.
|
|
51
|
-
*/
|
|
52
|
-
export const AgentExecutionDisplay = ({ data, availableHeight, childWidth, config, }) => {
|
|
53
|
-
const [displayMode, setDisplayMode] = React.useState('compact');
|
|
54
|
-
const agentColor = useMemo(() => {
|
|
55
|
-
const colorOption = COLOR_OPTIONS.find((option) => option.name === data.subagentColor);
|
|
56
|
-
return colorOption?.value || theme.text.accent;
|
|
57
|
-
}, [data.subagentColor]);
|
|
58
|
-
const footerText = React.useMemo(() => {
|
|
59
|
-
// This component only listens to keyboard shortcut events when the subagent is running
|
|
60
|
-
if (data.status !== 'running')
|
|
61
|
-
return '';
|
|
62
|
-
if (displayMode === 'default') {
|
|
63
|
-
const hasMoreLines = data.taskPrompt.split('\n').length > MAX_TASK_PROMPT_LINES;
|
|
64
|
-
const hasMoreToolCalls = data.toolCalls && data.toolCalls.length > MAX_TOOL_CALLS;
|
|
65
|
-
if (hasMoreToolCalls || hasMoreLines) {
|
|
66
|
-
return 'Press ctrl+e to show less, ctrl+f to show more.';
|
|
67
|
-
}
|
|
68
|
-
return 'Press ctrl+e to show less.';
|
|
69
|
-
}
|
|
70
|
-
if (displayMode === 'verbose') {
|
|
71
|
-
return 'Press ctrl+f to show less.';
|
|
72
|
-
}
|
|
73
|
-
return '';
|
|
74
|
-
}, [displayMode, data]);
|
|
75
|
-
// Handle keyboard shortcuts to control display mode
|
|
76
|
-
useKeypress((key) => {
|
|
77
|
-
if (key.ctrl && key.name === 'e') {
|
|
78
|
-
// ctrl+e toggles between compact and default
|
|
79
|
-
setDisplayMode((current) => current === 'compact' ? 'default' : 'compact');
|
|
80
|
-
}
|
|
81
|
-
else if (key.ctrl && key.name === 'f') {
|
|
82
|
-
// ctrl+f toggles between default and verbose
|
|
83
|
-
setDisplayMode((current) => current === 'default' ? 'verbose' : 'default');
|
|
84
|
-
}
|
|
85
|
-
}, { isActive: true });
|
|
86
|
-
if (displayMode === 'compact') {
|
|
87
|
-
return (_jsxs(Box, { flexDirection: "column", children: [!data.pendingConfirmation && (_jsxs(Box, { flexDirection: "row", children: [_jsx(Text, { bold: true, color: agentColor, children: data.subagentName }), _jsx(StatusDot, { status: data.status }), _jsx(StatusIndicator, { status: data.status })] })), data.status === 'running' && (_jsxs(_Fragment, { children: [data.toolCalls && data.toolCalls.length > 0 && (_jsxs(Box, { flexDirection: "column", children: [_jsx(ToolCallItem, { toolCall: data.toolCalls[data.toolCalls.length - 1], compact: true }), data.toolCalls.length > 1 && !data.pendingConfirmation && (_jsx(Box, { flexDirection: "row", paddingLeft: 4, children: _jsxs(Text, { color: theme.text.secondary, children: ["+", data.toolCalls.length - 1, " more tool calls (ctrl+e to expand)"] }) }))] })), data.pendingConfirmation && (_jsx(Box, { flexDirection: "column", marginTop: 1, paddingLeft: 1, children: _jsx(ToolConfirmationMessage, { confirmationDetails: data.pendingConfirmation, isFocused: true, availableTerminalHeight: availableHeight, terminalWidth: childWidth, compactMode: true, config: config }) }))] })), data.status === 'completed' && data.executionSummary && (_jsx(Box, { flexDirection: "row", marginTop: 1, children: _jsxs(Text, { color: theme.text.secondary, children: ["Execution Summary: ", data.executionSummary.totalToolCalls, " tool uses \u00B7 ", data.executionSummary.totalTokens.toLocaleString(), " tokens \u00B7 ", fmtDuration(data.executionSummary.totalDurationMs)] }) })), data.status === 'failed' && (_jsx(Box, { flexDirection: "row", marginTop: 1, children: _jsxs(Text, { color: theme.status.error, children: ["Failed: ", data.terminateReason] }) }))] }));
|
|
88
|
-
}
|
|
89
|
-
// Default and verbose modes use normal layout
|
|
90
|
-
return (_jsxs(Box, { flexDirection: "column", paddingX: 1, gap: 1, children: [_jsxs(Box, { flexDirection: "row", children: [_jsx(Text, { bold: true, color: agentColor, children: data.subagentName }), _jsx(StatusDot, { status: data.status }), _jsx(StatusIndicator, { status: data.status })] }), _jsx(TaskPromptSection, { taskPrompt: data.taskPrompt, displayMode: displayMode }), data.status === 'running' &&
|
|
91
|
-
data.toolCalls &&
|
|
92
|
-
data.toolCalls.length > 0 && (_jsx(Box, { flexDirection: "column", children: _jsx(ToolCallsList, { toolCalls: data.toolCalls, displayMode: displayMode }) })), data.pendingConfirmation && (_jsx(Box, { flexDirection: "column", children: _jsx(ToolConfirmationMessage, { confirmationDetails: data.pendingConfirmation, config: config, isFocused: true, availableTerminalHeight: availableHeight, terminalWidth: childWidth, compactMode: true }) })), (data.status === 'completed' ||
|
|
93
|
-
data.status === 'failed' ||
|
|
94
|
-
data.status === 'cancelled') && (_jsx(ResultsSection, { data: data, displayMode: displayMode })), footerText && (_jsx(Box, { flexDirection: "row", children: _jsx(Text, { color: theme.text.secondary, children: footerText }) }))] }));
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Task prompt section with truncation support
|
|
98
|
-
*/
|
|
99
|
-
const TaskPromptSection = ({ taskPrompt, displayMode }) => {
|
|
100
|
-
const lines = taskPrompt.split('\n');
|
|
101
|
-
const shouldTruncate = lines.length > 10;
|
|
102
|
-
const showFull = displayMode === 'verbose';
|
|
103
|
-
const displayLines = showFull ? lines : lines.slice(0, MAX_TASK_PROMPT_LINES);
|
|
104
|
-
return (_jsxs(Box, { flexDirection: "column", gap: 1, children: [_jsxs(Box, { flexDirection: "row", children: [_jsx(Text, { color: theme.text.primary, children: "Task Detail: " }), shouldTruncate && displayMode === 'default' && (_jsxs(Text, { color: theme.text.secondary, children: [' ', "Showing the first ", MAX_TASK_PROMPT_LINES, " lines."] }))] }), _jsx(Box, { paddingLeft: 1, children: _jsx(Text, { wrap: "wrap", children: displayLines.join('\n') + (shouldTruncate && !showFull ? '...' : '') }) })] }));
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* Status dot component with similar height as text
|
|
108
|
-
*/
|
|
109
|
-
const StatusDot = ({ status }) => (_jsx(Box, { marginLeft: 1, marginRight: 1, children: _jsx(Text, { color: getStatusColor(status), children: "\u25CF" }) }));
|
|
110
|
-
/**
|
|
111
|
-
* Status indicator component
|
|
112
|
-
*/
|
|
113
|
-
const StatusIndicator = ({ status }) => {
|
|
114
|
-
const color = getStatusColor(status);
|
|
115
|
-
const text = getStatusText(status);
|
|
116
|
-
return _jsx(Text, { color: color, children: text });
|
|
117
|
-
};
|
|
118
|
-
/**
|
|
119
|
-
* Tool calls list - format consistent with ToolInfo in ToolMessage.tsx
|
|
120
|
-
*/
|
|
121
|
-
const ToolCallsList = ({ toolCalls, displayMode }) => {
|
|
122
|
-
const calls = toolCalls || [];
|
|
123
|
-
const shouldTruncate = calls.length > MAX_TOOL_CALLS;
|
|
124
|
-
const showAll = displayMode === 'verbose';
|
|
125
|
-
const displayCalls = showAll ? calls : calls.slice(-MAX_TOOL_CALLS); // Show last 5
|
|
126
|
-
// Reverse the order to show most recent first
|
|
127
|
-
const reversedDisplayCalls = [...displayCalls].reverse();
|
|
128
|
-
return (_jsxs(Box, { flexDirection: "column", children: [_jsxs(Box, { flexDirection: "row", marginBottom: 1, children: [_jsx(Text, { color: theme.text.primary, children: "Tools:" }), shouldTruncate && displayMode === 'default' && (_jsxs(Text, { color: theme.text.secondary, children: [' ', "Showing the last ", MAX_TOOL_CALLS, " of ", calls.length, " tools."] }))] }), reversedDisplayCalls.map((toolCall, index) => (_jsx(ToolCallItem, { toolCall: toolCall }, `${toolCall.name}-${index}`)))] }));
|
|
129
|
-
};
|
|
130
|
-
/**
|
|
131
|
-
* Individual tool call item - consistent with ToolInfo format
|
|
132
|
-
*/
|
|
133
|
-
const ToolCallItem = ({ toolCall, compact = false }) => {
|
|
134
|
-
const STATUS_INDICATOR_WIDTH = 3;
|
|
135
|
-
// Map subagent status to ToolCallStatus-like display
|
|
136
|
-
const statusIcon = React.useMemo(() => {
|
|
137
|
-
const color = getStatusColor(toolCall.status);
|
|
138
|
-
switch (toolCall.status) {
|
|
139
|
-
case 'executing':
|
|
140
|
-
return _jsx(Text, { color: color, children: "\u22B7" }); // Using same as ToolMessage
|
|
141
|
-
case 'awaiting_approval':
|
|
142
|
-
return _jsx(Text, { color: theme.status.warning, children: "?" });
|
|
143
|
-
case 'success':
|
|
144
|
-
return _jsx(Text, { color: color, children: "\u2713" });
|
|
145
|
-
case 'failed':
|
|
146
|
-
return (_jsx(Text, { color: color, bold: true, children: "x" }));
|
|
147
|
-
default:
|
|
148
|
-
return _jsx(Text, { color: color, children: "o" });
|
|
149
|
-
}
|
|
150
|
-
}, [toolCall.status]);
|
|
151
|
-
const description = React.useMemo(() => {
|
|
152
|
-
if (!toolCall.description)
|
|
153
|
-
return '';
|
|
154
|
-
const firstLine = toolCall.description.split('\n')[0];
|
|
155
|
-
return firstLine.length > 80
|
|
156
|
-
? firstLine.substring(0, 80) + '...'
|
|
157
|
-
: firstLine;
|
|
158
|
-
}, [toolCall.description]);
|
|
159
|
-
// Get first line of resultDisplay for truncated output
|
|
160
|
-
const truncatedOutput = React.useMemo(() => {
|
|
161
|
-
if (!toolCall.resultDisplay)
|
|
162
|
-
return '';
|
|
163
|
-
const firstLine = toolCall.resultDisplay.split('\n')[0];
|
|
164
|
-
return firstLine.length > 80
|
|
165
|
-
? firstLine.substring(0, 80) + '...'
|
|
166
|
-
: firstLine;
|
|
167
|
-
}, [toolCall.resultDisplay]);
|
|
168
|
-
return (_jsxs(Box, { flexDirection: "column", paddingLeft: 1, marginBottom: 0, children: [_jsxs(Box, { flexDirection: "row", children: [_jsx(Box, { minWidth: STATUS_INDICATOR_WIDTH, children: statusIcon }), _jsxs(Text, { wrap: "truncate-end", children: [_jsx(Text, { children: toolCall.name }), ' ', _jsx(Text, { color: theme.text.secondary, children: description }), toolCall.error && (_jsxs(Text, { color: theme.status.error, children: [" - ", toolCall.error] }))] })] }), !compact && truncatedOutput && (_jsx(Box, { flexDirection: "row", paddingLeft: STATUS_INDICATOR_WIDTH, children: _jsx(Text, { color: theme.text.secondary, children: truncatedOutput }) }))] }));
|
|
169
|
-
};
|
|
170
|
-
/**
|
|
171
|
-
* Execution summary details component
|
|
172
|
-
*/
|
|
173
|
-
const ExecutionSummaryDetails = ({ data, displayMode: _displayMode }) => {
|
|
174
|
-
const stats = data.executionSummary;
|
|
175
|
-
if (!stats) {
|
|
176
|
-
return (_jsx(Box, { flexDirection: "column", paddingLeft: 1, children: _jsx(Text, { color: theme.text.secondary, children: "\u2022 No summary available" }) }));
|
|
177
|
-
}
|
|
178
|
-
return (_jsxs(Box, { flexDirection: "column", paddingLeft: 1, children: [_jsxs(Text, { children: ["\u2022 ", _jsxs(Text, { children: ["Duration: ", fmtDuration(stats.totalDurationMs)] })] }), _jsxs(Text, { children: ["\u2022 ", _jsxs(Text, { children: ["Rounds: ", stats.rounds] })] }), _jsxs(Text, { children: ["\u2022 ", _jsxs(Text, { children: ["Tokens: ", stats.totalTokens.toLocaleString()] })] })] }));
|
|
179
|
-
};
|
|
180
|
-
/**
|
|
181
|
-
* Tool usage statistics component
|
|
182
|
-
*/
|
|
183
|
-
const ToolUsageStats = ({ executionSummary }) => {
|
|
184
|
-
if (!executionSummary) {
|
|
185
|
-
return (_jsx(Box, { flexDirection: "column", paddingLeft: 1, children: _jsx(Text, { color: theme.text.secondary, children: "\u2022 No tool usage data available" }) }));
|
|
186
|
-
}
|
|
187
|
-
return (_jsxs(Box, { flexDirection: "column", paddingLeft: 1, children: [_jsxs(Text, { children: ["\u2022 ", _jsx(Text, { children: "Total Calls:" }), " ", executionSummary.totalToolCalls] }), _jsxs(Text, { children: ["\u2022 ", _jsx(Text, { children: "Success Rate:" }), ' ', _jsxs(Text, { color: theme.status.success, children: [executionSummary.successRate.toFixed(1), "%"] }), ' ', "(", _jsxs(Text, { color: theme.status.success, children: [executionSummary.successfulToolCalls, " success"] }), ",", ' ', _jsxs(Text, { color: theme.status.error, children: [executionSummary.failedToolCalls, " failed"] }), ")"] })] }));
|
|
188
|
-
};
|
|
189
|
-
/**
|
|
190
|
-
* Results section for completed executions - matches the clean layout from the image
|
|
191
|
-
*/
|
|
192
|
-
const ResultsSection = ({ data, displayMode }) => (_jsxs(Box, { flexDirection: "column", gap: 1, children: [data.toolCalls && data.toolCalls.length > 0 && (_jsx(ToolCallsList, { toolCalls: data.toolCalls, displayMode: displayMode })), data.status === 'completed' && (_jsxs(Box, { flexDirection: "column", children: [_jsx(Box, { flexDirection: "row", marginBottom: 1, children: _jsx(Text, { color: theme.text.primary, children: "Execution Summary:" }) }), _jsx(ExecutionSummaryDetails, { data: data, displayMode: displayMode })] })), data.status === 'completed' && data.executionSummary && (_jsxs(Box, { flexDirection: "column", children: [_jsx(Box, { flexDirection: "row", marginBottom: 1, children: _jsx(Text, { color: theme.text.primary, children: "Tool Usage:" }) }), _jsx(ToolUsageStats, { executionSummary: data.executionSummary })] })), data.status === 'cancelled' && (_jsx(Box, { flexDirection: "row", children: _jsx(Text, { color: theme.status.warning, children: "\u23F9 User Cancelled" }) })), data.status === 'failed' && (_jsxs(Box, { flexDirection: "row", children: [_jsx(Text, { color: theme.status.error, children: "Task Failed: " }), _jsx(Text, { color: theme.status.error, children: data.terminateReason })] }))] }));
|
|
193
|
-
//# sourceMappingURL=AgentExecutionDisplay.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentExecutionDisplay.js","sourceRoot":"","sources":["../../../../../../src/ui/components/subagents/runtime/AgentExecutionDisplay.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAMhC,O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AAC,uBAAuB,IAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,GAAI,IAC7D,CACP,EAGA,IAAI,CAAC,MAAM,KAAK,WAAW,IAAI,IAAI,CAAC,gBAAgB,IAAI,CACvD,MAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,aACzB,KAAC,GAAG,IAAC,aAAa,EAAC,KAAK,EAAC,YAAY,EAAE,CAAC,YACtC,KAAC,IAAI,IAAC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,4BAAoB,GAC/C,EACN,KAAC,cAAc,IAAC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,GAAI,IACvD,CACP,EAGA,IAAI,CAAC,MAAM,KAAK,WAAW,IAAI,CAC9B,KAAC,GAAG,IAAC,aAAa,EAAC,KAAK,YACtB,KAAC,IAAI,IAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,sCAAyB,GACtD,CACP,EACA,IAAI,CAAC,MAAM,KAAK,QAAQ,IAAI,CAC3B,MAAC,GAAG,IAAC,aAAa,EAAC,KAAK,aACtB,KAAC,IAAI,IAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,8BAAsB,EACrD,KAAC,IAAI,IAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,YAAG,IAAI,CAAC,eAAe,GAAQ,IAC1D,CACP,IACG,CACP,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 OSAgent OC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
export interface AgentExecutionSummary {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
description: string;
|
|
11
|
-
status: 'running' | 'completed' | 'failed' | 'cancelled';
|
|
12
|
-
toolUses: number;
|
|
13
|
-
tokenCount: number;
|
|
14
|
-
durationMs?: number;
|
|
15
|
-
error?: string;
|
|
16
|
-
}
|
|
17
|
-
export interface MultiAgentSummaryProps {
|
|
18
|
-
agents: AgentExecutionSummary[];
|
|
19
|
-
groupLabel?: string;
|
|
20
|
-
expandable?: boolean;
|
|
21
|
-
defaultExpanded?: boolean;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Displays a summary of multiple parallel agent executions.
|
|
25
|
-
* Shows a collapsed view with count and expand hint, or expanded view with details.
|
|
26
|
-
*
|
|
27
|
-
* Example collapsed:
|
|
28
|
-
* ● 3 Explore agents finished (ctrl+o to expand)
|
|
29
|
-
*
|
|
30
|
-
* Example expanded:
|
|
31
|
-
* ● 3 Explore agents finished (ctrl+o to expand)
|
|
32
|
-
* ├─ Audit core backend services · 38 tool uses · 94.0k tokens
|
|
33
|
-
* │ └ Done
|
|
34
|
-
* ├─ Explore orchestration system · 14 tool uses · 50.0k tokens
|
|
35
|
-
* │ └ Done
|
|
36
|
-
* └─ Explore CLI frontend architecture · 44 tool uses · 74.0k tokens
|
|
37
|
-
* └ Done
|
|
38
|
-
*/
|
|
39
|
-
export declare const MultiAgentSummary: React.FC<MultiAgentSummaryProps>;
|
|
40
|
-
/**
|
|
41
|
-
* Hook to track multiple parallel agent executions
|
|
42
|
-
*/
|
|
43
|
-
export declare function useMultiAgentTracking(): {
|
|
44
|
-
agents: AgentExecutionSummary[];
|
|
45
|
-
addAgent: (agent: AgentExecutionSummary) => void;
|
|
46
|
-
updateAgent: (id: string, updates: Partial<AgentExecutionSummary>) => void;
|
|
47
|
-
removeAgent: (id: string) => void;
|
|
48
|
-
clearAgents: () => void;
|
|
49
|
-
};
|
|
50
|
-
export default MultiAgentSummary;
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2025 OSAgent OC
|
|
5
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
-
*/
|
|
7
|
-
import React, { useState, useMemo, useCallback } from 'react';
|
|
8
|
-
import { Box, Text } from 'ink';
|
|
9
|
-
import { theme } from '../../../semantic-colors.js';
|
|
10
|
-
import { Colors } from '../../../colors.js';
|
|
11
|
-
import { useKeypress } from '../../../hooks/useKeypress.js';
|
|
12
|
-
/**
|
|
13
|
-
* Displays a summary of multiple parallel agent executions.
|
|
14
|
-
* Shows a collapsed view with count and expand hint, or expanded view with details.
|
|
15
|
-
*
|
|
16
|
-
* Example collapsed:
|
|
17
|
-
* ● 3 Explore agents finished (ctrl+o to expand)
|
|
18
|
-
*
|
|
19
|
-
* Example expanded:
|
|
20
|
-
* ● 3 Explore agents finished (ctrl+o to expand)
|
|
21
|
-
* ├─ Audit core backend services · 38 tool uses · 94.0k tokens
|
|
22
|
-
* │ └ Done
|
|
23
|
-
* ├─ Explore orchestration system · 14 tool uses · 50.0k tokens
|
|
24
|
-
* │ └ Done
|
|
25
|
-
* └─ Explore CLI frontend architecture · 44 tool uses · 74.0k tokens
|
|
26
|
-
* └ Done
|
|
27
|
-
*/
|
|
28
|
-
export const MultiAgentSummary = ({ agents, groupLabel = 'agents', expandable = true, defaultExpanded = false, }) => {
|
|
29
|
-
const [expanded, setExpanded] = useState(defaultExpanded);
|
|
30
|
-
const completedCount = useMemo(() => agents.filter(a => a.status === 'completed').length, [agents]);
|
|
31
|
-
const runningCount = useMemo(() => agents.filter(a => a.status === 'running').length, [agents]);
|
|
32
|
-
const failedCount = useMemo(() => agents.filter(a => a.status === 'failed').length, [agents]);
|
|
33
|
-
const allDone = runningCount === 0;
|
|
34
|
-
const hasFailures = failedCount > 0;
|
|
35
|
-
// Determine status color
|
|
36
|
-
const statusColor = useMemo(() => {
|
|
37
|
-
if (runningCount > 0)
|
|
38
|
-
return Colors.AccentYellow;
|
|
39
|
-
if (hasFailures)
|
|
40
|
-
return Colors.AccentRed;
|
|
41
|
-
return Colors.AccentBlue;
|
|
42
|
-
}, [runningCount, hasFailures]);
|
|
43
|
-
// Format token count (e.g., 94000 -> "94.0k")
|
|
44
|
-
const formatTokens = (count) => {
|
|
45
|
-
if (count >= 1000) {
|
|
46
|
-
return `${(count / 1000).toFixed(1)}k`;
|
|
47
|
-
}
|
|
48
|
-
return String(count);
|
|
49
|
-
};
|
|
50
|
-
// Generate summary text
|
|
51
|
-
const summaryText = useMemo(() => {
|
|
52
|
-
if (runningCount > 0) {
|
|
53
|
-
return `${agents.length} ${groupLabel} running`;
|
|
54
|
-
}
|
|
55
|
-
if (allDone && !hasFailures) {
|
|
56
|
-
return `${completedCount} ${groupLabel} finished`;
|
|
57
|
-
}
|
|
58
|
-
if (hasFailures) {
|
|
59
|
-
return `${completedCount} finished, ${failedCount} failed`;
|
|
60
|
-
}
|
|
61
|
-
return `${agents.length} ${groupLabel}`;
|
|
62
|
-
}, [agents.length, groupLabel, runningCount, allDone, hasFailures, completedCount, failedCount]);
|
|
63
|
-
// Handle keyboard shortcut for expand/collapse
|
|
64
|
-
const handleKeypress = useCallback((key) => {
|
|
65
|
-
if (expandable && key.ctrl && key.name === 'o') {
|
|
66
|
-
setExpanded(prev => !prev);
|
|
67
|
-
}
|
|
68
|
-
}, [expandable]);
|
|
69
|
-
useKeypress(handleKeypress, { isActive: expandable });
|
|
70
|
-
return (_jsxs(Box, { flexDirection: "column", children: [_jsxs(Box, { flexDirection: "row", children: [_jsx(Text, { color: statusColor, children: "\u25CF " }), _jsx(Text, { bold: true, color: statusColor, children: summaryText }), expandable && (_jsxs(Text, { color: theme.text.secondary, children: [' ', "(ctrl+o to ", expanded ? 'collapse' : 'expand', ")"] }))] }), expanded && (_jsx(Box, { flexDirection: "column", marginLeft: 2, children: agents.map((agent, index) => {
|
|
71
|
-
const isLast = index === agents.length - 1;
|
|
72
|
-
const prefix = isLast ? '└─' : '├─';
|
|
73
|
-
const statusPrefix = isLast ? ' ' : '│ ';
|
|
74
|
-
return (_jsxs(Box, { flexDirection: "column", children: [_jsxs(Box, { flexDirection: "row", children: [_jsxs(Text, { color: theme.text.secondary, children: [prefix, " "] }), _jsx(Text, { bold: true, children: agent.description || agent.name }), _jsxs(Text, { color: theme.text.secondary, children: [' ', "\u00B7 ", agent.toolUses, " tool uses \u00B7 ", formatTokens(agent.tokenCount), " tokens"] })] }), _jsxs(Box, { flexDirection: "row", children: [_jsxs(Text, { color: theme.text.secondary, children: [statusPrefix, "\u2514 "] }), _jsx(AgentStatusText, { status: agent.status, error: agent.error })] })] }, agent.id));
|
|
75
|
-
}) })), !expanded && allDone && (_jsx(Box, { flexDirection: "row", marginLeft: 2, children: _jsxs(Text, { color: theme.text.secondary, children: ["Total: ", agents.reduce((sum, a) => sum + a.toolUses, 0), " tool uses \u00B7 ", ' ', formatTokens(agents.reduce((sum, a) => sum + a.tokenCount, 0)), " tokens"] }) }))] }));
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* Status text component for individual agents
|
|
79
|
-
*/
|
|
80
|
-
const AgentStatusText = ({ status, error }) => {
|
|
81
|
-
switch (status) {
|
|
82
|
-
case 'running':
|
|
83
|
-
return _jsx(Text, { color: Colors.AccentYellow, children: "Running..." });
|
|
84
|
-
case 'completed':
|
|
85
|
-
return _jsx(Text, { color: Colors.AccentGreen, children: "Done" });
|
|
86
|
-
case 'failed':
|
|
87
|
-
return (_jsxs(Text, { color: Colors.AccentRed, children: ["Failed", error ? `: ${error}` : ''] }));
|
|
88
|
-
case 'cancelled':
|
|
89
|
-
return _jsx(Text, { color: Colors.AccentYellow, children: "Cancelled" });
|
|
90
|
-
default:
|
|
91
|
-
return _jsx(Text, { color: theme.text.secondary, children: "Unknown" });
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* Hook to track multiple parallel agent executions
|
|
96
|
-
*/
|
|
97
|
-
export function useMultiAgentTracking() {
|
|
98
|
-
const [agents, setAgents] = useState(new Map());
|
|
99
|
-
const addAgent = (agent) => {
|
|
100
|
-
setAgents(prev => new Map(prev).set(agent.id, agent));
|
|
101
|
-
};
|
|
102
|
-
const updateAgent = (id, updates) => {
|
|
103
|
-
setAgents(prev => {
|
|
104
|
-
const updated = new Map(prev);
|
|
105
|
-
const existing = updated.get(id);
|
|
106
|
-
if (existing) {
|
|
107
|
-
updated.set(id, { ...existing, ...updates });
|
|
108
|
-
}
|
|
109
|
-
return updated;
|
|
110
|
-
});
|
|
111
|
-
};
|
|
112
|
-
const removeAgent = (id) => {
|
|
113
|
-
setAgents(prev => {
|
|
114
|
-
const updated = new Map(prev);
|
|
115
|
-
updated.delete(id);
|
|
116
|
-
return updated;
|
|
117
|
-
});
|
|
118
|
-
};
|
|
119
|
-
const clearAgents = () => {
|
|
120
|
-
setAgents(new Map());
|
|
121
|
-
};
|
|
122
|
-
return {
|
|
123
|
-
agents: Array.from(agents.values()),
|
|
124
|
-
addAgent,
|
|
125
|
-
updateAgent,
|
|
126
|
-
removeAgent,
|
|
127
|
-
clearAgents,
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
export default MultiAgentSummary;
|
|
131
|
-
//# sourceMappingURL=MultiAgentSummary.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MultiAgentSummary.js","sourceRoot":"","sources":["../../../../../../src/ui/components/subagents/runtime/MultiAgentSummary.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAoB5D;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAqC,CAAC,EAClE,MAAM,EACN,UAAU,GAAG,Q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