fss-link 1.2.4 ā 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.last_build +0 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/package.json +89 -0
- package/dist/src/commands/mcp/add.d.ts +7 -0
- package/dist/src/commands/mcp/add.js +166 -0
- package/dist/src/commands/mcp/add.js.map +1 -0
- package/dist/src/commands/mcp/list.d.ts +8 -0
- package/dist/src/commands/mcp/list.js +110 -0
- package/dist/src/commands/mcp/list.js.map +1 -0
- package/dist/src/commands/mcp/remove.d.ts +7 -0
- package/dist/src/commands/mcp/remove.js +44 -0
- package/dist/src/commands/mcp/remove.js.map +1 -0
- package/dist/src/commands/mcp.d.ts +7 -0
- package/dist/src/commands/mcp.js +23 -0
- package/dist/src/commands/mcp.js.map +1 -0
- package/dist/src/config/archive-repository-pattern/README.md +26 -0
- package/dist/src/config/archive-repository-pattern/base-repository.d.ts +252 -0
- package/dist/src/config/archive-repository-pattern/base-repository.js +280 -0
- package/dist/src/config/archive-repository-pattern/base-repository.js.map +1 -0
- package/dist/src/config/archive-repository-pattern/model-repository.d.ts +274 -0
- package/dist/src/config/archive-repository-pattern/model-repository.js +482 -0
- package/dist/src/config/archive-repository-pattern/model-repository.js.map +1 -0
- package/dist/src/config/archive-repository-pattern/preferences-repository.d.ts +307 -0
- package/dist/src/config/archive-repository-pattern/preferences-repository.js +604 -0
- package/dist/src/config/archive-repository-pattern/preferences-repository.js.map +1 -0
- package/dist/src/config/archive-repository-pattern/repository-types.d.ts +166 -0
- package/dist/src/config/archive-repository-pattern/repository-types.js +67 -0
- package/dist/src/config/archive-repository-pattern/repository-types.js.map +1 -0
- package/dist/src/config/archive-repository-pattern/settings-repository.d.ts +274 -0
- package/dist/src/config/archive-repository-pattern/settings-repository.js +531 -0
- package/dist/src/config/archive-repository-pattern/settings-repository.js.map +1 -0
- package/dist/src/config/async-mutex.d.ts +61 -0
- package/dist/src/config/async-mutex.js +121 -0
- package/dist/src/config/async-mutex.js.map +1 -0
- package/dist/src/config/async-mutex.test.d.ts +6 -0
- package/dist/src/config/async-mutex.test.js +271 -0
- package/dist/src/config/async-mutex.test.js.map +1 -0
- package/dist/src/config/auth-stress-simplified.test.d.ts +6 -0
- package/dist/src/config/auth-stress-simplified.test.js +329 -0
- package/dist/src/config/auth-stress-simplified.test.js.map +1 -0
- package/dist/src/config/auth-stress.test.d.ts +9 -0
- package/dist/src/config/auth-stress.test.js +544 -0
- package/dist/src/config/auth-stress.test.js.map +1 -0
- package/dist/src/config/auth.d.ts +96 -0
- package/dist/src/config/auth.js +371 -0
- package/dist/src/config/auth.js.map +1 -0
- package/dist/src/config/auth.test.d.ts +6 -0
- package/dist/src/config/auth.test.js +61 -0
- package/dist/src/config/auth.test.js.map +1 -0
- package/dist/src/config/base-repository.d.ts +252 -0
- package/dist/src/config/base-repository.js +272 -0
- package/dist/src/config/base-repository.js.map +1 -0
- package/dist/src/config/config.d.ts +51 -0
- package/dist/src/config/config.js +553 -0
- package/dist/src/config/config.js.map +1 -0
- package/dist/src/config/core-database.d.ts +112 -0
- package/dist/src/config/core-database.js +370 -0
- package/dist/src/config/core-database.js.map +1 -0
- package/dist/src/config/database-integration.test.d.ts +6 -0
- package/dist/src/config/database-integration.test.js +547 -0
- package/dist/src/config/database-integration.test.js.map +1 -0
- package/dist/src/config/database-legacy-wrapper.d.ts +202 -0
- package/dist/src/config/database-legacy-wrapper.js +391 -0
- package/dist/src/config/database-legacy-wrapper.js.map +1 -0
- package/dist/src/config/database-monitor.d.ts +135 -0
- package/dist/src/config/database-monitor.js +306 -0
- package/dist/src/config/database-monitor.js.map +1 -0
- package/dist/src/config/database-queue.d.ts +106 -0
- package/dist/src/config/database-queue.js +187 -0
- package/dist/src/config/database-queue.js.map +1 -0
- package/dist/src/config/database-queue.test.d.ts +6 -0
- package/dist/src/config/database-queue.test.js +344 -0
- package/dist/src/config/database-queue.test.js.map +1 -0
- package/dist/src/config/database-regression-simple.test.d.ts +6 -0
- package/dist/src/config/database-regression-simple.test.js +335 -0
- package/dist/src/config/database-regression-simple.test.js.map +1 -0
- package/dist/src/config/database-regression.test.d.ts +6 -0
- package/dist/src/config/database-regression.test.js +523 -0
- package/dist/src/config/database-regression.test.js.map +1 -0
- package/dist/src/config/database-stress.test.d.ts +6 -0
- package/dist/src/config/database-stress.test.js +522 -0
- package/dist/src/config/database-stress.test.js.map +1 -0
- package/dist/src/config/database-utils.d.ts +281 -0
- package/dist/src/config/database-utils.js +664 -0
- package/dist/src/config/database-utils.js.map +1 -0
- package/dist/src/config/database-utils.test.d.ts +6 -0
- package/dist/src/config/database-utils.test.js +278 -0
- package/dist/src/config/database-utils.test.js.map +1 -0
- package/dist/src/config/database.d.ts +212 -0
- package/dist/src/config/database.js +458 -0
- package/dist/src/config/database.js.map +1 -0
- package/dist/src/config/databaseBackup.d.ts +114 -0
- package/dist/src/config/databaseBackup.js +334 -0
- package/dist/src/config/databaseBackup.js.map +1 -0
- package/dist/src/config/databaseHealthMonitor.d.ts +86 -0
- package/dist/src/config/databaseHealthMonitor.js +180 -0
- package/dist/src/config/databaseHealthMonitor.js.map +1 -0
- package/dist/src/config/databaseMetrics.d.ts +147 -0
- package/dist/src/config/databaseMetrics.js +369 -0
- package/dist/src/config/databaseMetrics.js.map +1 -0
- package/dist/src/config/databaseMigrations.d.ts +75 -0
- package/dist/src/config/databaseMigrations.js +405 -0
- package/dist/src/config/databaseMigrations.js.map +1 -0
- package/dist/src/config/databasePool.d.ts +72 -0
- package/dist/src/config/databasePool.js +226 -0
- package/dist/src/config/databasePool.js.map +1 -0
- package/dist/src/config/databaseSchemaValidator.d.ts +114 -0
- package/dist/src/config/databaseSchemaValidator.js +497 -0
- package/dist/src/config/databaseSchemaValidator.js.map +1 -0
- package/dist/src/config/extension.d.ts +23 -0
- package/dist/src/config/extension.js +126 -0
- package/dist/src/config/extension.js.map +1 -0
- package/dist/src/config/health-database.d.ts +172 -0
- package/dist/src/config/health-database.js +283 -0
- package/dist/src/config/health-database.js.map +1 -0
- package/dist/src/config/keyBindings.d.ts +66 -0
- package/dist/src/config/keyBindings.js +141 -0
- package/dist/src/config/keyBindings.js.map +1 -0
- package/dist/src/config/keyBindings.test.d.ts +6 -0
- package/dist/src/config/keyBindings.test.js +51 -0
- package/dist/src/config/keyBindings.test.js.map +1 -0
- package/dist/src/config/model-database.d.ts +157 -0
- package/dist/src/config/model-database.js +379 -0
- package/dist/src/config/model-database.js.map +1 -0
- package/dist/src/config/model-repository.d.ts +274 -0
- package/dist/src/config/model-repository.js +482 -0
- package/dist/src/config/model-repository.js.map +1 -0
- package/dist/src/config/modelManager.d.ts +146 -0
- package/dist/src/config/modelManager.js +573 -0
- package/dist/src/config/modelManager.js.map +1 -0
- package/dist/src/config/preferences-database.d.ts +101 -0
- package/dist/src/config/preferences-database.js +209 -0
- package/dist/src/config/preferences-database.js.map +1 -0
- package/dist/src/config/preferences-repository.d.ts +307 -0
- package/dist/src/config/preferences-repository.js +604 -0
- package/dist/src/config/preferences-repository.js.map +1 -0
- package/dist/src/config/provider-database.d.ts +102 -0
- package/dist/src/config/provider-database.js +250 -0
- package/dist/src/config/provider-database.js.map +1 -0
- package/dist/src/config/providerPersistence.d.ts +82 -0
- package/dist/src/config/providerPersistence.js +62 -0
- package/dist/src/config/providerPersistence.js.map +1 -0
- package/dist/src/config/queryOptimizer.d.ts +127 -0
- package/dist/src/config/queryOptimizer.js +330 -0
- package/dist/src/config/queryOptimizer.js.map +1 -0
- package/dist/src/config/repository-types.d.ts +166 -0
- package/dist/src/config/repository-types.js +67 -0
- package/dist/src/config/repository-types.js.map +1 -0
- package/dist/src/config/sandboxConfig.d.ts +13 -0
- package/dist/src/config/sandboxConfig.js +75 -0
- package/dist/src/config/sandboxConfig.js.map +1 -0
- package/dist/src/config/settings-repository.d.ts +274 -0
- package/dist/src/config/settings-repository.js +531 -0
- package/dist/src/config/settings-repository.js.map +1 -0
- package/dist/src/config/settings.d.ts +56 -0
- package/dist/src/config/settings.js +411 -0
- package/dist/src/config/settings.js.map +1 -0
- package/dist/src/config/settingsSchema.d.ts +703 -0
- package/dist/src/config/settingsSchema.js +679 -0
- package/dist/src/config/settingsSchema.js.map +1 -0
- package/dist/src/config/settingsSchema.test.d.ts +6 -0
- package/dist/src/config/settingsSchema.test.js +195 -0
- package/dist/src/config/settingsSchema.test.js.map +1 -0
- package/dist/src/config/trustedFolders.d.ts +37 -0
- package/dist/src/config/trustedFolders.js +118 -0
- package/dist/src/config/trustedFolders.js.map +1 -0
- package/dist/src/config/trustedFolders.test.d.ts +6 -0
- package/dist/src/config/trustedFolders.test.js +160 -0
- package/dist/src/config/trustedFolders.test.js.map +1 -0
- package/dist/src/config/unified-database.d.ts +383 -0
- package/dist/src/config/unified-database.js +651 -0
- package/dist/src/config/unified-database.js.map +1 -0
- package/dist/src/config/unified-database.test.d.ts +6 -0
- package/dist/src/config/unified-database.test.js +162 -0
- package/dist/src/config/unified-database.test.js.map +1 -0
- package/dist/src/gemini.d.ts +9 -0
- package/dist/src/gemini.js +334 -0
- package/dist/src/gemini.js.map +1 -0
- package/dist/src/gemini.test.d.ts +6 -0
- package/dist/src/gemini.test.js +193 -0
- package/dist/src/gemini.test.js.map +1 -0
- package/dist/src/generated/git-commit.d.ts +7 -0
- package/dist/src/generated/git-commit.js +10 -0
- package/dist/src/generated/git-commit.js.map +1 -0
- package/dist/src/nonInteractiveCli.d.ts +7 -0
- package/dist/src/nonInteractiveCli.js +103 -0
- package/dist/src/nonInteractiveCli.js.map +1 -0
- package/dist/src/patches/is-in-ci.d.ts +7 -0
- package/dist/src/patches/is-in-ci.js +15 -0
- package/dist/src/patches/is-in-ci.js.map +1 -0
- package/dist/src/services/BuiltinCommandLoader.d.ts +24 -0
- package/dist/src/services/BuiltinCommandLoader.js +92 -0
- package/dist/src/services/BuiltinCommandLoader.js.map +1 -0
- package/dist/src/services/BuiltinCommandLoader.test.d.ts +6 -0
- package/dist/src/services/BuiltinCommandLoader.test.js +108 -0
- package/dist/src/services/BuiltinCommandLoader.test.js.map +1 -0
- package/dist/src/services/CommandService.d.ts +55 -0
- package/dist/src/services/CommandService.js +90 -0
- package/dist/src/services/CommandService.js.map +1 -0
- package/dist/src/services/CommandService.test.d.ts +6 -0
- package/dist/src/services/CommandService.test.js +232 -0
- package/dist/src/services/CommandService.test.js.map +1 -0
- package/dist/src/services/FileCommandLoader.d.ts +49 -0
- package/dist/src/services/FileCommandLoader.js +210 -0
- package/dist/src/services/FileCommandLoader.js.map +1 -0
- package/dist/src/services/McpPromptLoader.d.ts +25 -0
- package/dist/src/services/McpPromptLoader.js +192 -0
- package/dist/src/services/McpPromptLoader.js.map +1 -0
- package/dist/src/services/SearchEngineConfigProvider.d.ts +33 -0
- package/dist/src/services/SearchEngineConfigProvider.js +82 -0
- package/dist/src/services/SearchEngineConfigProvider.js.map +1 -0
- package/dist/src/services/prompt-processors/argumentProcessor.d.ts +16 -0
- package/dist/src/services/prompt-processors/argumentProcessor.js +20 -0
- package/dist/src/services/prompt-processors/argumentProcessor.js.map +1 -0
- package/dist/src/services/prompt-processors/shellProcessor.d.ts +35 -0
- package/dist/src/services/prompt-processors/shellProcessor.js +162 -0
- package/dist/src/services/prompt-processors/shellProcessor.js.map +1 -0
- package/dist/src/services/prompt-processors/types.d.ts +40 -0
- package/dist/src/services/prompt-processors/types.js +16 -0
- package/dist/src/services/prompt-processors/types.js.map +1 -0
- package/dist/src/services/types.d.ts +22 -0
- package/dist/src/services/types.js +7 -0
- package/dist/src/services/types.js.map +1 -0
- package/dist/src/test-utils/customMatchers.d.ts +14 -0
- package/dist/src/test-utils/customMatchers.js +46 -0
- package/dist/src/test-utils/customMatchers.js.map +1 -0
- package/dist/src/test-utils/mockCommandContext.d.ts +18 -0
- package/dist/src/test-utils/mockCommandContext.js +87 -0
- package/dist/src/test-utils/mockCommandContext.js.map +1 -0
- package/dist/src/test-utils/mockCommandContext.test.d.ts +6 -0
- package/dist/src/test-utils/mockCommandContext.test.js +51 -0
- package/dist/src/test-utils/mockCommandContext.test.js.map +1 -0
- package/dist/src/test-utils/render.d.ts +8 -0
- package/dist/src/test-utils/render.js +10 -0
- package/dist/src/test-utils/render.js.map +1 -0
- package/dist/src/ui/App.d.ts +15 -0
- package/dist/src/ui/App.js +687 -0
- package/dist/src/ui/App.js.map +1 -0
- package/dist/src/ui/IdeIntegrationNudge.d.ts +16 -0
- package/dist/src/ui/IdeIntegrationNudge.js +52 -0
- package/dist/src/ui/IdeIntegrationNudge.js.map +1 -0
- package/dist/src/ui/colors.d.ts +7 -0
- package/dist/src/ui/colors.js +54 -0
- package/dist/src/ui/colors.js.map +1 -0
- package/dist/src/ui/commands/aboutCommand.d.ts +7 -0
- package/dist/src/ui/commands/aboutCommand.js +43 -0
- package/dist/src/ui/commands/aboutCommand.js.map +1 -0
- package/dist/src/ui/commands/authCommand.d.ts +7 -0
- package/dist/src/ui/commands/authCommand.js +16 -0
- package/dist/src/ui/commands/authCommand.js.map +1 -0
- package/dist/src/ui/commands/bugCommand.d.ts +7 -0
- package/dist/src/ui/commands/bugCommand.js +71 -0
- package/dist/src/ui/commands/bugCommand.js.map +1 -0
- package/dist/src/ui/commands/chatCommand.d.ts +7 -0
- package/dist/src/ui/commands/chatCommand.js +234 -0
- package/dist/src/ui/commands/chatCommand.js.map +1 -0
- package/dist/src/ui/commands/clearCommand.d.ts +7 -0
- package/dist/src/ui/commands/clearCommand.js +27 -0
- package/dist/src/ui/commands/clearCommand.js.map +1 -0
- package/dist/src/ui/commands/compressCommand.d.ts +7 -0
- package/dist/src/ui/commands/compressCommand.js +64 -0
- package/dist/src/ui/commands/compressCommand.js.map +1 -0
- package/dist/src/ui/commands/contextCommand.d.ts +7 -0
- package/dist/src/ui/commands/contextCommand.js +115 -0
- package/dist/src/ui/commands/contextCommand.js.map +1 -0
- package/dist/src/ui/commands/copyCommand.d.ts +7 -0
- package/dist/src/ui/commands/copyCommand.js +59 -0
- package/dist/src/ui/commands/copyCommand.js.map +1 -0
- package/dist/src/ui/commands/corgiCommand.d.ts +7 -0
- package/dist/src/ui/commands/corgiCommand.js +15 -0
- package/dist/src/ui/commands/corgiCommand.js.map +1 -0
- package/dist/src/ui/commands/directoryCommand.d.ts +8 -0
- package/dist/src/ui/commands/directoryCommand.js +133 -0
- package/dist/src/ui/commands/directoryCommand.js.map +1 -0
- package/dist/src/ui/commands/docsCommand.d.ts +7 -0
- package/dist/src/ui/commands/docsCommand.js +31 -0
- package/dist/src/ui/commands/docsCommand.js.map +1 -0
- package/dist/src/ui/commands/editorCommand.d.ts +7 -0
- package/dist/src/ui/commands/editorCommand.js +16 -0
- package/dist/src/ui/commands/editorCommand.js.map +1 -0
- package/dist/src/ui/commands/extensionsCommand.d.ts +7 -0
- package/dist/src/ui/commands/extensionsCommand.js +31 -0
- package/dist/src/ui/commands/extensionsCommand.js.map +1 -0
- package/dist/src/ui/commands/helpCommand.d.ts +7 -0
- package/dist/src/ui/commands/helpCommand.js +21 -0
- package/dist/src/ui/commands/helpCommand.js.map +1 -0
- package/dist/src/ui/commands/ideCommand.d.ts +8 -0
- package/dist/src/ui/commands/ideCommand.js +218 -0
- package/dist/src/ui/commands/ideCommand.js.map +1 -0
- package/dist/src/ui/commands/initCommand.d.ts +7 -0
- package/dist/src/ui/commands/initCommand.js +105 -0
- package/dist/src/ui/commands/initCommand.js.map +1 -0
- package/dist/src/ui/commands/mcpCommand.d.ts +7 -0
- package/dist/src/ui/commands/mcpCommand.js +424 -0
- package/dist/src/ui/commands/mcpCommand.js.map +1 -0
- package/dist/src/ui/commands/memoryCommand.d.ts +7 -0
- package/dist/src/ui/commands/memoryCommand.js +224 -0
- package/dist/src/ui/commands/memoryCommand.js.map +1 -0
- package/dist/src/ui/commands/privacyCommand.d.ts +7 -0
- package/dist/src/ui/commands/privacyCommand.js +16 -0
- package/dist/src/ui/commands/privacyCommand.js.map +1 -0
- package/dist/src/ui/commands/quitCommand.d.ts +7 -0
- package/dist/src/ui/commands/quitCommand.js +34 -0
- package/dist/src/ui/commands/quitCommand.js.map +1 -0
- package/dist/src/ui/commands/restoreCommand.d.ts +8 -0
- package/dist/src/ui/commands/restoreCommand.js +128 -0
- package/dist/src/ui/commands/restoreCommand.js.map +1 -0
- package/dist/src/ui/commands/searchEngineSetupCommand.d.ts +7 -0
- package/dist/src/ui/commands/searchEngineSetupCommand.js +17 -0
- package/dist/src/ui/commands/searchEngineSetupCommand.js.map +1 -0
- package/dist/src/ui/commands/settingsCommand.d.ts +7 -0
- package/dist/src/ui/commands/settingsCommand.js +16 -0
- package/dist/src/ui/commands/settingsCommand.js.map +1 -0
- package/dist/src/ui/commands/setupGithubCommand.d.ts +9 -0
- package/dist/src/ui/commands/setupGithubCommand.js +154 -0
- package/dist/src/ui/commands/setupGithubCommand.js.map +1 -0
- package/dist/src/ui/commands/setupGithubCommand.test.d.ts +6 -0
- package/dist/src/ui/commands/setupGithubCommand.test.js +167 -0
- package/dist/src/ui/commands/setupGithubCommand.test.js.map +1 -0
- package/dist/src/ui/commands/speakCommand.d.ts +7 -0
- package/dist/src/ui/commands/speakCommand.js +136 -0
- package/dist/src/ui/commands/speakCommand.js.map +1 -0
- package/dist/src/ui/commands/statsCommand.d.ts +7 -0
- package/dist/src/ui/commands/statsCommand.js +54 -0
- package/dist/src/ui/commands/statsCommand.js.map +1 -0
- package/dist/src/ui/commands/terminalSetupCommand.d.ts +13 -0
- package/dist/src/ui/commands/terminalSetupCommand.js +41 -0
- package/dist/src/ui/commands/terminalSetupCommand.js.map +1 -0
- package/dist/src/ui/commands/themeCommand.d.ts +7 -0
- package/dist/src/ui/commands/themeCommand.js +16 -0
- package/dist/src/ui/commands/themeCommand.js.map +1 -0
- package/dist/src/ui/commands/toolsCommand.d.ts +7 -0
- package/dist/src/ui/commands/toolsCommand.js +56 -0
- package/dist/src/ui/commands/toolsCommand.js.map +1 -0
- package/dist/src/ui/commands/ttsCommand.d.ts +7 -0
- package/dist/src/ui/commands/ttsCommand.js +122 -0
- package/dist/src/ui/commands/ttsCommand.js.map +1 -0
- package/dist/src/ui/commands/types.d.ts +157 -0
- package/dist/src/ui/commands/types.js +12 -0
- package/dist/src/ui/commands/types.js.map +1 -0
- package/dist/src/ui/commands/vimCommand.d.ts +7 -0
- package/dist/src/ui/commands/vimCommand.js +23 -0
- package/dist/src/ui/commands/vimCommand.js.map +1 -0
- package/dist/src/ui/commands/voiceCommand.d.ts +7 -0
- package/dist/src/ui/commands/voiceCommand.js +95 -0
- package/dist/src/ui/commands/voiceCommand.js.map +1 -0
- package/dist/src/ui/components/AboutBox.d.ts +17 -0
- package/dist/src/ui/components/AboutBox.js +6 -0
- package/dist/src/ui/components/AboutBox.js.map +1 -0
- package/dist/src/ui/components/AsciiArt.d.ts +8 -0
- package/dist/src/ui/components/AsciiArt.js +53 -0
- package/dist/src/ui/components/AsciiArt.js.map +1 -0
- package/dist/src/ui/components/AuthDialog.d.ts +15 -0
- package/dist/src/ui/components/AuthDialog.js +174 -0
- package/dist/src/ui/components/AuthDialog.js.map +1 -0
- package/dist/src/ui/components/AuthDialog.test.d.ts +6 -0
- package/dist/src/ui/components/AuthDialog.test.js +220 -0
- package/dist/src/ui/components/AuthDialog.test.js.map +1 -0
- package/dist/src/ui/components/AuthInProgress.d.ts +11 -0
- package/dist/src/ui/components/AuthInProgress.js +28 -0
- package/dist/src/ui/components/AuthInProgress.js.map +1 -0
- package/dist/src/ui/components/AutoAcceptIndicator.d.ts +12 -0
- package/dist/src/ui/components/AutoAcceptIndicator.js +26 -0
- package/dist/src/ui/components/AutoAcceptIndicator.js.map +1 -0
- package/dist/src/ui/components/ConsoleSummaryDisplay.d.ts +11 -0
- package/dist/src/ui/components/ConsoleSummaryDisplay.js +11 -0
- package/dist/src/ui/components/ConsoleSummaryDisplay.js.map +1 -0
- package/dist/src/ui/components/ContextSummaryDisplay.d.ts +20 -0
- package/dist/src/ui/components/ContextSummaryDisplay.js +65 -0
- package/dist/src/ui/components/ContextSummaryDisplay.js.map +1 -0
- package/dist/src/ui/components/ContextUsageDisplay.d.ts +11 -0
- package/dist/src/ui/components/ContextUsageDisplay.js +100 -0
- package/dist/src/ui/components/ContextUsageDisplay.js.map +1 -0
- package/dist/src/ui/components/DebugProfiler.d.ts +6 -0
- package/dist/src/ui/components/DebugProfiler.js +27 -0
- package/dist/src/ui/components/DebugProfiler.js.map +1 -0
- package/dist/src/ui/components/DetailedMessagesDisplay.d.ts +14 -0
- package/dist/src/ui/components/DetailedMessagesDisplay.js +34 -0
- package/dist/src/ui/components/DetailedMessagesDisplay.js.map +1 -0
- package/dist/src/ui/components/EditorSettingsDialog.d.ts +15 -0
- package/dist/src/ui/components/EditorSettingsDialog.js +74 -0
- package/dist/src/ui/components/EditorSettingsDialog.js.map +1 -0
- package/dist/src/ui/components/FolderTrustDialog.d.ts +16 -0
- package/dist/src/ui/components/FolderTrustDialog.js +39 -0
- package/dist/src/ui/components/FolderTrustDialog.js.map +1 -0
- package/dist/src/ui/components/FolderTrustDialog.test.d.ts +6 -0
- package/dist/src/ui/components/FolderTrustDialog.test.js +26 -0
- package/dist/src/ui/components/FolderTrustDialog.test.js.map +1 -0
- package/dist/src/ui/components/Footer.d.ts +24 -0
- package/dist/src/ui/components/Footer.js +25 -0
- package/dist/src/ui/components/Footer.js.map +1 -0
- package/dist/src/ui/components/GeminiRespondingSpinner.d.ts +17 -0
- package/dist/src/ui/components/GeminiRespondingSpinner.js +16 -0
- package/dist/src/ui/components/GeminiRespondingSpinner.js.map +1 -0
- package/dist/src/ui/components/Header.d.ts +13 -0
- package/dist/src/ui/components/Header.js +28 -0
- package/dist/src/ui/components/Header.js.map +1 -0
- package/dist/src/ui/components/Header.test.d.ts +6 -0
- package/dist/src/ui/components/Header.test.js +37 -0
- package/dist/src/ui/components/Header.test.js.map +1 -0
- package/dist/src/ui/components/Help.d.ts +12 -0
- package/dist/src/ui/components/Help.js +10 -0
- package/dist/src/ui/components/Help.js.map +1 -0
- package/dist/src/ui/components/HistoryItemDisplay.d.ts +20 -0
- package/dist/src/ui/components/HistoryItemDisplay.js +18 -0
- package/dist/src/ui/components/HistoryItemDisplay.js.map +1 -0
- package/dist/src/ui/components/HistoryItemDisplay.test.d.ts +6 -0
- package/dist/src/ui/components/HistoryItemDisplay.test.js +91 -0
- package/dist/src/ui/components/HistoryItemDisplay.test.js.map +1 -0
- package/dist/src/ui/components/InputPrompt.d.ts +28 -0
- package/dist/src/ui/components/InputPrompt.js +440 -0
- package/dist/src/ui/components/InputPrompt.js.map +1 -0
- package/dist/src/ui/components/LMStudioModelPrompt.d.ts +12 -0
- package/dist/src/ui/components/LMStudioModelPrompt.js +100 -0
- package/dist/src/ui/components/LMStudioModelPrompt.js.map +1 -0
- package/dist/src/ui/components/LoadingIndicator.d.ts +15 -0
- package/dist/src/ui/components/LoadingIndicator.js +25 -0
- package/dist/src/ui/components/LoadingIndicator.js.map +1 -0
- package/dist/src/ui/components/LoadingIndicator.test.d.ts +6 -0
- package/dist/src/ui/components/LoadingIndicator.test.js +190 -0
- package/dist/src/ui/components/LoadingIndicator.test.js.map +1 -0
- package/dist/src/ui/components/MemoryUsageDisplay.d.ts +7 -0
- package/dist/src/ui/components/MemoryUsageDisplay.js +27 -0
- package/dist/src/ui/components/MemoryUsageDisplay.js.map +1 -0
- package/dist/src/ui/components/ModelStatsDisplay.d.ts +7 -0
- package/dist/src/ui/components/ModelStatsDisplay.js +33 -0
- package/dist/src/ui/components/ModelStatsDisplay.js.map +1 -0
- package/dist/src/ui/components/OllamaModelPrompt.d.ts +12 -0
- package/dist/src/ui/components/OllamaModelPrompt.js +94 -0
- package/dist/src/ui/components/OllamaModelPrompt.js.map +1 -0
- package/dist/src/ui/components/OpenAIEndpointDialog.d.ts +18 -0
- package/dist/src/ui/components/OpenAIEndpointDialog.js +77 -0
- package/dist/src/ui/components/OpenAIEndpointDialog.js.map +1 -0
- package/dist/src/ui/components/OpenAIKeyPrompt.d.ts +13 -0
- package/dist/src/ui/components/OpenAIKeyPrompt.js +118 -0
- package/dist/src/ui/components/OpenAIKeyPrompt.js.map +1 -0
- package/dist/src/ui/components/OpenAIKeyPrompt.test.d.ts +6 -0
- package/dist/src/ui/components/OpenAIKeyPrompt.test.js +44 -0
- package/dist/src/ui/components/OpenAIKeyPrompt.test.js.map +1 -0
- package/dist/src/ui/components/PrepareLabel.d.ts +15 -0
- package/dist/src/ui/components/PrepareLabel.js +16 -0
- package/dist/src/ui/components/PrepareLabel.js.map +1 -0
- package/dist/src/ui/components/SearchEngineConfigDialog.d.ts +18 -0
- package/dist/src/ui/components/SearchEngineConfigDialog.js +180 -0
- package/dist/src/ui/components/SearchEngineConfigDialog.js.map +1 -0
- package/dist/src/ui/components/SessionSummaryDisplay.d.ts +11 -0
- package/dist/src/ui/components/SessionSummaryDisplay.js +4 -0
- package/dist/src/ui/components/SessionSummaryDisplay.js.map +1 -0
- package/dist/src/ui/components/SettingsDialog.d.ts +14 -0
- package/dist/src/ui/components/SettingsDialog.js +519 -0
- package/dist/src/ui/components/SettingsDialog.js.map +1 -0
- package/dist/src/ui/components/SettingsDialog.test.d.ts +6 -0
- package/dist/src/ui/components/SettingsDialog.test.js +568 -0
- package/dist/src/ui/components/SettingsDialog.test.js.map +1 -0
- package/dist/src/ui/components/ShellConfirmationDialog.d.ts +15 -0
- package/dist/src/ui/components/ShellConfirmationDialog.js +46 -0
- package/dist/src/ui/components/ShellConfirmationDialog.js.map +1 -0
- package/dist/src/ui/components/ShellConfirmationDialog.test.d.ts +6 -0
- package/dist/src/ui/components/ShellConfirmationDialog.test.js +40 -0
- package/dist/src/ui/components/ShellConfirmationDialog.test.js.map +1 -0
- package/dist/src/ui/components/ShellModeIndicator.d.ts +7 -0
- package/dist/src/ui/components/ShellModeIndicator.js +5 -0
- package/dist/src/ui/components/ShellModeIndicator.js.map +1 -0
- package/dist/src/ui/components/ShowMoreLines.d.ts +10 -0
- package/dist/src/ui/components/ShowMoreLines.js +24 -0
- package/dist/src/ui/components/ShowMoreLines.js.map +1 -0
- package/dist/src/ui/components/StatsDisplay.d.ts +12 -0
- package/dist/src/ui/components/StatsDisplay.js +43 -0
- package/dist/src/ui/components/StatsDisplay.js.map +1 -0
- package/dist/src/ui/components/SuggestionsDisplay.d.ts +22 -0
- package/dist/src/ui/components/SuggestionsDisplay.js +32 -0
- package/dist/src/ui/components/SuggestionsDisplay.js.map +1 -0
- package/dist/src/ui/components/ThemeDialog.d.ts +19 -0
- package/dist/src/ui/components/ThemeDialog.js +143 -0
- package/dist/src/ui/components/ThemeDialog.js.map +1 -0
- package/dist/src/ui/components/Tips.d.ts +12 -0
- package/dist/src/ui/components/Tips.js +8 -0
- package/dist/src/ui/components/Tips.js.map +1 -0
- package/dist/src/ui/components/TodoDisplay.d.ts +16 -0
- package/dist/src/ui/components/TodoDisplay.js +27 -0
- package/dist/src/ui/components/TodoDisplay.js.map +1 -0
- package/dist/src/ui/components/TodoDisplay.test.d.ts +6 -0
- package/dist/src/ui/components/TodoDisplay.test.js +77 -0
- package/dist/src/ui/components/TodoDisplay.test.js.map +1 -0
- package/dist/src/ui/components/ToolStatsDisplay.d.ts +7 -0
- package/dist/src/ui/components/ToolStatsDisplay.js +41 -0
- package/dist/src/ui/components/ToolStatsDisplay.js.map +1 -0
- package/dist/src/ui/components/UpdateNotification.d.ts +10 -0
- package/dist/src/ui/components/UpdateNotification.js +10 -0
- package/dist/src/ui/components/UpdateNotification.js.map +1 -0
- package/dist/src/ui/components/WelcomeBackDialog.d.ts +36 -0
- package/dist/src/ui/components/WelcomeBackDialog.js +109 -0
- package/dist/src/ui/components/WelcomeBackDialog.js.map +1 -0
- package/dist/src/ui/components/messages/CompressionMessage.d.ts +11 -0
- package/dist/src/ui/components/messages/CompressionMessage.js +16 -0
- package/dist/src/ui/components/messages/CompressionMessage.js.map +1 -0
- package/dist/src/ui/components/messages/DiffRenderer.d.ts +16 -0
- package/dist/src/ui/components/messages/DiffRenderer.js +222 -0
- package/dist/src/ui/components/messages/DiffRenderer.js.map +1 -0
- package/dist/src/ui/components/messages/DiffRenderer.test.d.ts +6 -0
- package/dist/src/ui/components/messages/DiffRenderer.test.js +239 -0
- package/dist/src/ui/components/messages/DiffRenderer.test.js.map +1 -0
- package/dist/src/ui/components/messages/ErrorMessage.d.ts +11 -0
- package/dist/src/ui/components/messages/ErrorMessage.js +9 -0
- package/dist/src/ui/components/messages/ErrorMessage.js.map +1 -0
- package/dist/src/ui/components/messages/GeminiMessage.d.ts +14 -0
- package/dist/src/ui/components/messages/GeminiMessage.js +10 -0
- package/dist/src/ui/components/messages/GeminiMessage.js.map +1 -0
- package/dist/src/ui/components/messages/GeminiMessageContent.d.ts +14 -0
- package/dist/src/ui/components/messages/GeminiMessageContent.js +15 -0
- package/dist/src/ui/components/messages/GeminiMessageContent.js.map +1 -0
- package/dist/src/ui/components/messages/InfoMessage.d.ts +11 -0
- package/dist/src/ui/components/messages/InfoMessage.js +10 -0
- package/dist/src/ui/components/messages/InfoMessage.js.map +1 -0
- package/dist/src/ui/components/messages/ToolConfirmationMessage.d.ts +15 -0
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js +145 -0
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -0
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.d.ts +6 -0
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +37 -0
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +1 -0
- package/dist/src/ui/components/messages/ToolGroupMessage.d.ts +18 -0
- package/dist/src/ui/components/messages/ToolGroupMessage.js +55 -0
- package/dist/src/ui/components/messages/ToolGroupMessage.js.map +1 -0
- package/dist/src/ui/components/messages/ToolMessage.d.ts +15 -0
- package/dist/src/ui/components/messages/ToolMessage.js +111 -0
- package/dist/src/ui/components/messages/ToolMessage.js.map +1 -0
- package/dist/src/ui/components/messages/ToolMessage.test.d.ts +6 -0
- package/dist/src/ui/components/messages/ToolMessage.test.js +118 -0
- package/dist/src/ui/components/messages/ToolMessage.test.js.map +1 -0
- package/dist/src/ui/components/messages/UserMessage.d.ts +11 -0
- package/dist/src/ui/components/messages/UserMessage.js +12 -0
- package/dist/src/ui/components/messages/UserMessage.js.map +1 -0
- package/dist/src/ui/components/messages/UserShellMessage.d.ts +11 -0
- package/dist/src/ui/components/messages/UserShellMessage.js +9 -0
- package/dist/src/ui/components/messages/UserShellMessage.js.map +1 -0
- package/dist/src/ui/components/shared/MaxSizedBox.d.ts +61 -0
- package/dist/src/ui/components/shared/MaxSizedBox.js +451 -0
- package/dist/src/ui/components/shared/MaxSizedBox.js.map +1 -0
- package/dist/src/ui/components/shared/MaxSizedBox.test.d.ts +6 -0
- package/dist/src/ui/components/shared/MaxSizedBox.test.js +154 -0
- package/dist/src/ui/components/shared/MaxSizedBox.test.js.map +1 -0
- package/dist/src/ui/components/shared/RadioButtonSelect.d.ts +46 -0
- package/dist/src/ui/components/shared/RadioButtonSelect.js +121 -0
- package/dist/src/ui/components/shared/RadioButtonSelect.js.map +1 -0
- package/dist/src/ui/components/shared/RadioButtonSelect.test.d.ts +6 -0
- package/dist/src/ui/components/shared/RadioButtonSelect.test.js +111 -0
- package/dist/src/ui/components/shared/RadioButtonSelect.test.js.map +1 -0
- package/dist/src/ui/components/shared/text-buffer.d.ts +467 -0
- package/dist/src/ui/components/shared/text-buffer.js +1533 -0
- package/dist/src/ui/components/shared/text-buffer.js.map +1 -0
- package/dist/src/ui/components/shared/vim-buffer-actions.d.ts +72 -0
- package/dist/src/ui/components/shared/vim-buffer-actions.js +552 -0
- package/dist/src/ui/components/shared/vim-buffer-actions.js.map +1 -0
- package/dist/src/ui/constants.d.ts +9 -0
- package/dist/src/ui/constants.js +13 -0
- package/dist/src/ui/constants.js.map +1 -0
- package/dist/src/ui/contexts/KeypressContext.d.ts +30 -0
- package/dist/src/ui/contexts/KeypressContext.js +331 -0
- package/dist/src/ui/contexts/KeypressContext.js.map +1 -0
- package/dist/src/ui/contexts/KeypressContext.test.d.ts +6 -0
- package/dist/src/ui/contexts/KeypressContext.test.js +275 -0
- package/dist/src/ui/contexts/KeypressContext.test.js.map +1 -0
- package/dist/src/ui/contexts/OverflowContext.d.ts +19 -0
- package/dist/src/ui/contexts/OverflowContext.js +43 -0
- package/dist/src/ui/contexts/OverflowContext.js.map +1 -0
- package/dist/src/ui/contexts/SessionContext.d.ts +39 -0
- package/dist/src/ui/contexts/SessionContext.js +60 -0
- package/dist/src/ui/contexts/SessionContext.js.map +1 -0
- package/dist/src/ui/contexts/SettingsContext.d.ts +9 -0
- package/dist/src/ui/contexts/SettingsContext.js +15 -0
- package/dist/src/ui/contexts/SettingsContext.js.map +1 -0
- package/dist/src/ui/contexts/StreamingContext.d.ts +9 -0
- package/dist/src/ui/contexts/StreamingContext.js +15 -0
- package/dist/src/ui/contexts/StreamingContext.js.map +1 -0
- package/dist/src/ui/contexts/VimModeContext.d.ts +19 -0
- package/dist/src/ui/contexts/VimModeContext.js +48 -0
- package/dist/src/ui/contexts/VimModeContext.js.map +1 -0
- package/dist/src/ui/editors/editorSettingsManager.d.ts +19 -0
- package/dist/src/ui/editors/editorSettingsManager.js +47 -0
- package/dist/src/ui/editors/editorSettingsManager.js.map +1 -0
- package/dist/src/ui/hooks/atCommandProcessor.d.ts +31 -0
- package/dist/src/ui/hooks/atCommandProcessor.js +365 -0
- package/dist/src/ui/hooks/atCommandProcessor.js.map +1 -0
- package/dist/src/ui/hooks/atCommandProcessor.test.d.ts +6 -0
- package/dist/src/ui/hooks/atCommandProcessor.test.js +824 -0
- package/dist/src/ui/hooks/atCommandProcessor.test.js.map +1 -0
- package/dist/src/ui/hooks/shellCommandProcessor.d.ts +17 -0
- package/dist/src/ui/hooks/shellCommandProcessor.js +233 -0
- package/dist/src/ui/hooks/shellCommandProcessor.js.map +1 -0
- package/dist/src/ui/hooks/shellCommandProcessor.test.d.ts +6 -0
- package/dist/src/ui/hooks/shellCommandProcessor.test.js +328 -0
- package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +1 -0
- package/dist/src/ui/hooks/slashCommandProcessor.d.ts +28 -0
- package/dist/src/ui/hooks/slashCommandProcessor.js +459 -0
- package/dist/src/ui/hooks/slashCommandProcessor.js.map +1 -0
- package/dist/src/ui/hooks/useAtCompletion.d.ts +23 -0
- package/dist/src/ui/hooks/useAtCompletion.js +179 -0
- package/dist/src/ui/hooks/useAtCompletion.js.map +1 -0
- package/dist/src/ui/hooks/useAuthCommand.d.ts +14 -0
- package/dist/src/ui/hooks/useAuthCommand.js +100 -0
- package/dist/src/ui/hooks/useAuthCommand.js.map +1 -0
- package/dist/src/ui/hooks/useAutoAcceptIndicator.d.ts +10 -0
- package/dist/src/ui/hooks/useAutoAcceptIndicator.js +37 -0
- package/dist/src/ui/hooks/useAutoAcceptIndicator.js.map +1 -0
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.d.ts +6 -0
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js +190 -0
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js.map +1 -0
- package/dist/src/ui/hooks/useBracketedPaste.d.ts +12 -0
- package/dist/src/ui/hooks/useBracketedPaste.js +32 -0
- package/dist/src/ui/hooks/useBracketedPaste.js.map +1 -0
- package/dist/src/ui/hooks/useCommandCompletion.d.ts +29 -0
- package/dist/src/ui/hooks/useCommandCompletion.js +165 -0
- package/dist/src/ui/hooks/useCommandCompletion.js.map +1 -0
- package/dist/src/ui/hooks/useCompletion.d.ts +24 -0
- package/dist/src/ui/hooks/useCompletion.js +88 -0
- package/dist/src/ui/hooks/useCompletion.js.map +1 -0
- package/dist/src/ui/hooks/useConsoleMessages.d.ts +12 -0
- package/dist/src/ui/hooks/useConsoleMessages.js +76 -0
- package/dist/src/ui/hooks/useConsoleMessages.js.map +1 -0
- package/dist/src/ui/hooks/useEditorSettings.d.ts +16 -0
- package/dist/src/ui/hooks/useEditorSettings.js +43 -0
- package/dist/src/ui/hooks/useEditorSettings.js.map +1 -0
- package/dist/src/ui/hooks/useEditorSettings.test.d.ts +6 -0
- package/dist/src/ui/hooks/useEditorSettings.test.js +164 -0
- package/dist/src/ui/hooks/useEditorSettings.test.js.map +1 -0
- package/dist/src/ui/hooks/useFocus.d.ts +10 -0
- package/dist/src/ui/hooks/useFocus.js +41 -0
- package/dist/src/ui/hooks/useFocus.js.map +1 -0
- package/dist/src/ui/hooks/useFolderTrust.d.ts +12 -0
- package/dist/src/ui/hooks/useFolderTrust.js +55 -0
- package/dist/src/ui/hooks/useFolderTrust.js.map +1 -0
- package/dist/src/ui/hooks/useGeminiStream.d.ts +24 -0
- package/dist/src/ui/hooks/useGeminiStream.js +653 -0
- package/dist/src/ui/hooks/useGeminiStream.js.map +1 -0
- package/dist/src/ui/hooks/useGitBranchName.d.ts +6 -0
- package/dist/src/ui/hooks/useGitBranchName.js +61 -0
- package/dist/src/ui/hooks/useGitBranchName.js.map +1 -0
- package/dist/src/ui/hooks/useGitBranchName.test.d.ts +6 -0
- package/dist/src/ui/hooks/useGitBranchName.test.js +215 -0
- package/dist/src/ui/hooks/useGitBranchName.test.js.map +1 -0
- package/dist/src/ui/hooks/useHistoryManager.d.ts +22 -0
- package/dist/src/ui/hooks/useHistoryManager.js +72 -0
- package/dist/src/ui/hooks/useHistoryManager.js.map +1 -0
- package/dist/src/ui/hooks/useHistoryManager.test.d.ts +6 -0
- package/dist/src/ui/hooks/useHistoryManager.test.js +171 -0
- package/dist/src/ui/hooks/useHistoryManager.test.js.map +1 -0
- package/dist/src/ui/hooks/useInputHistory.d.ts +19 -0
- package/dist/src/ui/hooks/useInputHistory.js +84 -0
- package/dist/src/ui/hooks/useInputHistory.js.map +1 -0
- package/dist/src/ui/hooks/useInputHistory.test.d.ts +6 -0
- package/dist/src/ui/hooks/useInputHistory.test.js +207 -0
- package/dist/src/ui/hooks/useInputHistory.test.js.map +1 -0
- package/dist/src/ui/hooks/useKeypress.d.ts +17 -0
- package/dist/src/ui/hooks/useKeypress.js +27 -0
- package/dist/src/ui/hooks/useKeypress.js.map +1 -0
- package/dist/src/ui/hooks/useKittyKeyboardProtocol.d.ts +15 -0
- package/dist/src/ui/hooks/useKittyKeyboardProtocol.js +20 -0
- package/dist/src/ui/hooks/useKittyKeyboardProtocol.js.map +1 -0
- package/dist/src/ui/hooks/useLoadingIndicator.d.ts +10 -0
- package/dist/src/ui/hooks/useLoadingIndicator.js +44 -0
- package/dist/src/ui/hooks/useLoadingIndicator.js.map +1 -0
- package/dist/src/ui/hooks/useLoadingIndicator.test.d.ts +6 -0
- package/dist/src/ui/hooks/useLoadingIndicator.test.js +91 -0
- package/dist/src/ui/hooks/useLoadingIndicator.test.js.map +1 -0
- package/dist/src/ui/hooks/useLogger.d.ts +10 -0
- package/dist/src/ui/hooks/useLogger.js +29 -0
- package/dist/src/ui/hooks/useLogger.js.map +1 -0
- package/dist/src/ui/hooks/useMessageQueue.d.ts +22 -0
- package/dist/src/ui/hooks/useMessageQueue.js +49 -0
- package/dist/src/ui/hooks/useMessageQueue.js.map +1 -0
- package/dist/src/ui/hooks/useMessageQueue.test.d.ts +6 -0
- package/dist/src/ui/hooks/useMessageQueue.test.js +158 -0
- package/dist/src/ui/hooks/useMessageQueue.test.js.map +1 -0
- package/dist/src/ui/hooks/usePhraseCycler.d.ts +14 -0
- package/dist/src/ui/hooks/usePhraseCycler.js +187 -0
- package/dist/src/ui/hooks/usePhraseCycler.js.map +1 -0
- package/dist/src/ui/hooks/usePrivacySettings.d.ts +16 -0
- package/dist/src/ui/hooks/usePrivacySettings.js +119 -0
- package/dist/src/ui/hooks/usePrivacySettings.js.map +1 -0
- package/dist/src/ui/hooks/usePrivacySettings.test.d.ts +6 -0
- package/dist/src/ui/hooks/usePrivacySettings.test.js +154 -0
- package/dist/src/ui/hooks/usePrivacySettings.test.js.map +1 -0
- package/dist/src/ui/hooks/useReactToolScheduler.d.ts +33 -0
- package/dist/src/ui/hooks/useReactToolScheduler.js +187 -0
- package/dist/src/ui/hooks/useReactToolScheduler.js.map +1 -0
- package/dist/src/ui/hooks/useRefreshMemoryCommand.d.ts +6 -0
- package/dist/src/ui/hooks/useRefreshMemoryCommand.js +7 -0
- package/dist/src/ui/hooks/useRefreshMemoryCommand.js.map +1 -0
- package/dist/src/ui/hooks/useReverseSearchCompletion.d.ts +19 -0
- package/dist/src/ui/hooks/useReverseSearchCompletion.js +56 -0
- package/dist/src/ui/hooks/useReverseSearchCompletion.js.map +1 -0
- package/dist/src/ui/hooks/useReverseSearchCompletion.test.d.ts +6 -0
- package/dist/src/ui/hooks/useReverseSearchCompletion.test.js +163 -0
- package/dist/src/ui/hooks/useReverseSearchCompletion.test.js.map +1 -0
- package/dist/src/ui/hooks/useSettingsCommand.d.ts +10 -0
- package/dist/src/ui/hooks/useSettingsCommand.js +21 -0
- package/dist/src/ui/hooks/useSettingsCommand.js.map +1 -0
- package/dist/src/ui/hooks/useShellHistory.d.ts +13 -0
- package/dist/src/ui/hooks/useShellHistory.js +112 -0
- package/dist/src/ui/hooks/useShellHistory.js.map +1 -0
- package/dist/src/ui/hooks/useShellHistory.test.d.ts +6 -0
- package/dist/src/ui/hooks/useShellHistory.test.js +162 -0
- package/dist/src/ui/hooks/useShellHistory.test.js.map +1 -0
- package/dist/src/ui/hooks/useShowMemoryCommand.d.ts +9 -0
- package/dist/src/ui/hooks/useShowMemoryCommand.js +58 -0
- package/dist/src/ui/hooks/useShowMemoryCommand.js.map +1 -0
- package/dist/src/ui/hooks/useSlashCompletion.d.ts +20 -0
- package/dist/src/ui/hooks/useSlashCompletion.js +135 -0
- package/dist/src/ui/hooks/useSlashCompletion.js.map +1 -0
- package/dist/src/ui/hooks/useSlashCompletion.test.d.ts +6 -0
- package/dist/src/ui/hooks/useSlashCompletion.test.js +272 -0
- package/dist/src/ui/hooks/useSlashCompletion.test.js.map +1 -0
- package/dist/src/ui/hooks/useStateAndRef.d.ts +7 -0
- package/dist/src/ui/hooks/useStateAndRef.js +26 -0
- package/dist/src/ui/hooks/useStateAndRef.js.map +1 -0
- package/dist/src/ui/hooks/useTerminalSize.d.ts +9 -0
- package/dist/src/ui/hooks/useTerminalSize.js +27 -0
- package/dist/src/ui/hooks/useTerminalSize.js.map +1 -0
- package/dist/src/ui/hooks/useThemeCommand.d.ts +15 -0
- package/dist/src/ui/hooks/useThemeCommand.js +79 -0
- package/dist/src/ui/hooks/useThemeCommand.js.map +1 -0
- package/dist/src/ui/hooks/useTimer.d.ts +12 -0
- package/dist/src/ui/hooks/useTimer.js +58 -0
- package/dist/src/ui/hooks/useTimer.js.map +1 -0
- package/dist/src/ui/hooks/useTimer.test.d.ts +6 -0
- package/dist/src/ui/hooks/useTimer.test.js +90 -0
- package/dist/src/ui/hooks/useTimer.test.js.map +1 -0
- package/dist/src/ui/hooks/useToolScheduler.test.d.ts +6 -0
- package/dist/src/ui/hooks/useToolScheduler.test.js +845 -0
- package/dist/src/ui/hooks/useToolScheduler.test.js.map +1 -0
- package/dist/src/ui/hooks/useWelcomeBack.d.ts +52 -0
- package/dist/src/ui/hooks/useWelcomeBack.js +214 -0
- package/dist/src/ui/hooks/useWelcomeBack.js.map +1 -0
- package/dist/src/ui/hooks/vim.d.ts +28 -0
- package/dist/src/ui/hooks/vim.js +639 -0
- package/dist/src/ui/hooks/vim.js.map +1 -0
- package/dist/src/ui/keyMatchers.d.ts +26 -0
- package/dist/src/ui/keyMatchers.js +68 -0
- package/dist/src/ui/keyMatchers.js.map +1 -0
- package/dist/src/ui/keyMatchers.test.d.ts +6 -0
- package/dist/src/ui/keyMatchers.test.js +276 -0
- package/dist/src/ui/keyMatchers.test.js.map +1 -0
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.d.ts +12 -0
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.js +41 -0
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.js.map +1 -0
- package/dist/src/ui/privacy/CloudPaidPrivacyNotice.d.ts +10 -0
- package/dist/src/ui/privacy/CloudPaidPrivacyNotice.js +18 -0
- package/dist/src/ui/privacy/CloudPaidPrivacyNotice.js.map +1 -0
- package/dist/src/ui/privacy/GeminiPrivacyNotice.d.ts +10 -0
- package/dist/src/ui/privacy/GeminiPrivacyNotice.js +18 -0
- package/dist/src/ui/privacy/GeminiPrivacyNotice.js.map +1 -0
- package/dist/src/ui/privacy/PrivacyNotice.d.ts +12 -0
- package/dist/src/ui/privacy/PrivacyNotice.js +25 -0
- package/dist/src/ui/privacy/PrivacyNotice.js.map +1 -0
- package/dist/src/ui/semantic-colors.d.ts +7 -0
- package/dist/src/ui/semantic-colors.js +24 -0
- package/dist/src/ui/semantic-colors.js.map +1 -0
- package/dist/src/ui/themes/ansi-light.d.ts +7 -0
- package/dist/src/ui/themes/ansi-light.js +142 -0
- package/dist/src/ui/themes/ansi-light.js.map +1 -0
- package/dist/src/ui/themes/ansi.d.ts +7 -0
- package/dist/src/ui/themes/ansi.js +152 -0
- package/dist/src/ui/themes/ansi.js.map +1 -0
- package/dist/src/ui/themes/atom-one-dark.d.ts +7 -0
- package/dist/src/ui/themes/atom-one-dark.js +139 -0
- package/dist/src/ui/themes/atom-one-dark.js.map +1 -0
- package/dist/src/ui/themes/ayu-light.d.ts +7 -0
- package/dist/src/ui/themes/ayu-light.js +131 -0
- package/dist/src/ui/themes/ayu-light.js.map +1 -0
- package/dist/src/ui/themes/ayu.d.ts +7 -0
- package/dist/src/ui/themes/ayu.js +105 -0
- package/dist/src/ui/themes/ayu.js.map +1 -0
- package/dist/src/ui/themes/color-utils.d.ts +21 -0
- package/dist/src/ui/themes/color-utils.js +221 -0
- package/dist/src/ui/themes/color-utils.js.map +1 -0
- package/dist/src/ui/themes/color-utils.test.d.ts +6 -0
- package/dist/src/ui/themes/color-utils.test.js +197 -0
- package/dist/src/ui/themes/color-utils.test.js.map +1 -0
- package/dist/src/ui/themes/default-light.d.ts +7 -0
- package/dist/src/ui/themes/default-light.js +101 -0
- package/dist/src/ui/themes/default-light.js.map +1 -0
- package/dist/src/ui/themes/default.d.ts +7 -0
- package/dist/src/ui/themes/default.js +144 -0
- package/dist/src/ui/themes/default.js.map +1 -0
- package/dist/src/ui/themes/dracula.d.ts +7 -0
- package/dist/src/ui/themes/dracula.js +116 -0
- package/dist/src/ui/themes/dracula.js.map +1 -0
- package/dist/src/ui/themes/fss-code-dark.d.ts +7 -0
- package/dist/src/ui/themes/fss-code-dark.js +148 -0
- package/dist/src/ui/themes/fss-code-dark.js.map +1 -0
- package/dist/src/ui/themes/fss-dark.d.ts +7 -0
- package/dist/src/ui/themes/fss-dark.js +105 -0
- package/dist/src/ui/themes/fss-dark.js.map +1 -0
- package/dist/src/ui/themes/fss-light.d.ts +7 -0
- package/dist/src/ui/themes/fss-light.js +131 -0
- package/dist/src/ui/themes/fss-light.js.map +1 -0
- package/dist/src/ui/themes/github-dark.d.ts +7 -0
- package/dist/src/ui/themes/github-dark.js +139 -0
- package/dist/src/ui/themes/github-dark.js.map +1 -0
- package/dist/src/ui/themes/github-light.d.ts +7 -0
- package/dist/src/ui/themes/github-light.js +141 -0
- package/dist/src/ui/themes/github-light.js.map +1 -0
- package/dist/src/ui/themes/googlecode.d.ts +7 -0
- package/dist/src/ui/themes/googlecode.js +138 -0
- package/dist/src/ui/themes/googlecode.js.map +1 -0
- package/dist/src/ui/themes/no-color.d.ts +7 -0
- package/dist/src/ui/themes/no-color.js +115 -0
- package/dist/src/ui/themes/no-color.js.map +1 -0
- package/dist/src/ui/themes/qwen-dark.d.ts +7 -0
- package/dist/src/ui/themes/qwen-dark.js +109 -0
- package/dist/src/ui/themes/qwen-dark.js.map +1 -0
- package/dist/src/ui/themes/qwen-light.d.ts +7 -0
- package/dist/src/ui/themes/qwen-light.js +135 -0
- package/dist/src/ui/themes/qwen-light.js.map +1 -0
- package/dist/src/ui/themes/semantic-tokens.d.ts +37 -0
- package/dist/src/ui/themes/semantic-tokens.js +94 -0
- package/dist/src/ui/themes/semantic-tokens.js.map +1 -0
- package/dist/src/ui/themes/shades-of-purple.d.ts +11 -0
- package/dist/src/ui/themes/shades-of-purple.js +305 -0
- package/dist/src/ui/themes/shades-of-purple.js.map +1 -0
- package/dist/src/ui/themes/theme-manager.d.ts +64 -0
- package/dist/src/ui/themes/theme-manager.js +209 -0
- package/dist/src/ui/themes/theme-manager.js.map +1 -0
- package/dist/src/ui/themes/theme-manager.test.d.ts +6 -0
- package/dist/src/ui/themes/theme-manager.test.js +83 -0
- package/dist/src/ui/themes/theme-manager.test.js.map +1 -0
- package/dist/src/ui/themes/theme.d.ts +130 -0
- package/dist/src/ui/themes/theme.js +351 -0
- package/dist/src/ui/themes/theme.js.map +1 -0
- package/dist/src/ui/themes/xcode.d.ts +7 -0
- package/dist/src/ui/themes/xcode.js +146 -0
- package/dist/src/ui/themes/xcode.js.map +1 -0
- package/dist/src/ui/types.d.ts +191 -0
- package/dist/src/ui/types.js +44 -0
- package/dist/src/ui/types.js.map +1 -0
- package/dist/src/ui/utils/CodeColorizer.d.ts +17 -0
- package/dist/src/ui/utils/CodeColorizer.js +110 -0
- package/dist/src/ui/utils/CodeColorizer.js.map +1 -0
- package/dist/src/ui/utils/ConsolePatcher.d.ts +25 -0
- package/dist/src/ui/utils/ConsolePatcher.js +52 -0
- package/dist/src/ui/utils/ConsolePatcher.js.map +1 -0
- package/dist/src/ui/utils/InlineMarkdownRenderer.d.ts +16 -0
- package/dist/src/ui/utils/InlineMarkdownRenderer.js +111 -0
- package/dist/src/ui/utils/InlineMarkdownRenderer.js.map +1 -0
- package/dist/src/ui/utils/MarkdownDisplay.d.ts +14 -0
- package/dist/src/ui/utils/MarkdownDisplay.js +207 -0
- package/dist/src/ui/utils/MarkdownDisplay.js.map +1 -0
- package/dist/src/ui/utils/MarkdownDisplay.test.d.ts +6 -0
- package/dist/src/ui/utils/MarkdownDisplay.test.js +151 -0
- package/dist/src/ui/utils/MarkdownDisplay.test.js.map +1 -0
- package/dist/src/ui/utils/TableRenderer.d.ts +17 -0
- package/dist/src/ui/utils/TableRenderer.js +84 -0
- package/dist/src/ui/utils/TableRenderer.js.map +1 -0
- package/dist/src/ui/utils/clipboardUtils.d.ts +22 -0
- package/dist/src/ui/utils/clipboardUtils.js +127 -0
- package/dist/src/ui/utils/clipboardUtils.js.map +1 -0
- package/dist/src/ui/utils/clipboardUtils.test.d.ts +6 -0
- package/dist/src/ui/utils/clipboardUtils.test.js +65 -0
- package/dist/src/ui/utils/clipboardUtils.test.js.map +1 -0
- package/dist/src/ui/utils/commandUtils.d.ts +24 -0
- package/dist/src/ui/utils/commandUtils.js +93 -0
- package/dist/src/ui/utils/commandUtils.js.map +1 -0
- package/dist/src/ui/utils/commandUtils.test.d.ts +6 -0
- package/dist/src/ui/utils/commandUtils.test.js +294 -0
- package/dist/src/ui/utils/commandUtils.test.js.map +1 -0
- package/dist/src/ui/utils/computeStats.d.ts +10 -0
- package/dist/src/ui/utils/computeStats.js +57 -0
- package/dist/src/ui/utils/computeStats.js.map +1 -0
- package/dist/src/ui/utils/displayUtils.d.ts +17 -0
- package/dist/src/ui/utils/displayUtils.js +24 -0
- package/dist/src/ui/utils/displayUtils.js.map +1 -0
- package/dist/src/ui/utils/displayUtils.test.d.ts +6 -0
- package/dist/src/ui/utils/displayUtils.test.js +42 -0
- package/dist/src/ui/utils/displayUtils.test.js.map +1 -0
- package/dist/src/ui/utils/formatters.d.ts +13 -0
- package/dist/src/ui/utils/formatters.js +56 -0
- package/dist/src/ui/utils/formatters.js.map +1 -0
- package/dist/src/ui/utils/formatters.test.d.ts +6 -0
- package/dist/src/ui/utils/formatters.test.js +56 -0
- package/dist/src/ui/utils/formatters.test.js.map +1 -0
- package/dist/src/ui/utils/isNarrowWidth.d.ts +6 -0
- package/dist/src/ui/utils/isNarrowWidth.js +9 -0
- package/dist/src/ui/utils/isNarrowWidth.js.map +1 -0
- package/dist/src/ui/utils/kittyProtocolDetector.d.ts +13 -0
- package/dist/src/ui/utils/kittyProtocolDetector.js +88 -0
- package/dist/src/ui/utils/kittyProtocolDetector.js.map +1 -0
- package/dist/src/ui/utils/markdownUtilities.d.ts +6 -0
- package/dist/src/ui/utils/markdownUtilities.js +110 -0
- package/dist/src/ui/utils/markdownUtilities.js.map +1 -0
- package/dist/src/ui/utils/markdownUtilities.test.d.ts +6 -0
- package/dist/src/ui/utils/markdownUtilities.test.js +42 -0
- package/dist/src/ui/utils/markdownUtilities.test.js.map +1 -0
- package/dist/src/ui/utils/platformConstants.d.ts +45 -0
- package/dist/src/ui/utils/platformConstants.js +46 -0
- package/dist/src/ui/utils/platformConstants.js.map +1 -0
- package/dist/src/ui/utils/terminalSetup.d.ts +30 -0
- package/dist/src/ui/utils/terminalSetup.js +281 -0
- package/dist/src/ui/utils/terminalSetup.js.map +1 -0
- package/dist/src/ui/utils/textUtils.d.ts +14 -0
- package/dist/src/ui/utils/textUtils.js +36 -0
- package/dist/src/ui/utils/textUtils.js.map +1 -0
- package/dist/src/ui/utils/updateCheck.d.ts +12 -0
- package/dist/src/ui/utils/updateCheck.js +78 -0
- package/dist/src/ui/utils/updateCheck.js.map +1 -0
- package/dist/src/ui/utils/updateCheck.test.d.ts +6 -0
- package/dist/src/ui/utils/updateCheck.test.js +145 -0
- package/dist/src/ui/utils/updateCheck.test.js.map +1 -0
- package/dist/src/utils/checks.d.ts +19 -0
- package/dist/src/utils/checks.js +24 -0
- package/dist/src/utils/checks.js.map +1 -0
- package/dist/src/utils/cleanup.d.ts +8 -0
- package/dist/src/utils/cleanup.js +34 -0
- package/dist/src/utils/cleanup.js.map +1 -0
- package/dist/src/utils/dialogScopeUtils.d.ts +31 -0
- package/dist/src/utils/dialogScopeUtils.js +48 -0
- package/dist/src/utils/dialogScopeUtils.js.map +1 -0
- package/dist/src/utils/events.d.ts +11 -0
- package/dist/src/utils/events.js +13 -0
- package/dist/src/utils/events.js.map +1 -0
- package/dist/src/utils/gitUtils.d.ts +30 -0
- package/dist/src/utils/gitUtils.js +89 -0
- package/dist/src/utils/gitUtils.js.map +1 -0
- package/dist/src/utils/gitUtils.test.d.ts +6 -0
- package/dist/src/utils/gitUtils.test.js +113 -0
- package/dist/src/utils/gitUtils.test.js.map +1 -0
- package/dist/src/utils/handleAutoUpdate.d.ts +11 -0
- package/dist/src/utils/handleAutoUpdate.js +101 -0
- package/dist/src/utils/handleAutoUpdate.js.map +1 -0
- package/dist/src/utils/installationInfo.d.ts +23 -0
- package/dist/src/utils/installationInfo.js +169 -0
- package/dist/src/utils/installationInfo.js.map +1 -0
- package/dist/src/utils/installationInfo.test.d.ts +6 -0
- package/dist/src/utils/installationInfo.test.js +242 -0
- package/dist/src/utils/installationInfo.test.js.map +1 -0
- package/dist/src/utils/package.d.ts +12 -0
- package/dist/src/utils/package.js +24 -0
- package/dist/src/utils/package.js.map +1 -0
- package/dist/src/utils/readStdin.d.ts +6 -0
- package/dist/src/utils/readStdin.js +44 -0
- package/dist/src/utils/readStdin.js.map +1 -0
- package/dist/src/utils/resolvePath.d.ts +6 -0
- package/dist/src/utils/resolvePath.js +21 -0
- package/dist/src/utils/resolvePath.js.map +1 -0
- package/dist/src/utils/sandbox.d.ts +7 -0
- package/dist/src/utils/sandbox.js +739 -0
- package/dist/src/utils/sandbox.js.map +1 -0
- package/dist/src/utils/settingsUtils.d.ts +134 -0
- package/dist/src/utils/settingsUtils.js +336 -0
- package/dist/src/utils/settingsUtils.js.map +1 -0
- package/dist/src/utils/settingsUtils.test.d.ts +6 -0
- package/dist/src/utils/settingsUtils.test.js +514 -0
- package/dist/src/utils/settingsUtils.test.js.map +1 -0
- package/dist/src/utils/spawnWrapper.d.ts +7 -0
- package/dist/src/utils/spawnWrapper.js +8 -0
- package/dist/src/utils/spawnWrapper.js.map +1 -0
- package/dist/src/utils/startupWarnings.d.ts +6 -0
- package/dist/src/utils/startupWarnings.js +40 -0
- package/dist/src/utils/startupWarnings.js.map +1 -0
- package/dist/src/utils/updateEventEmitter.d.ts +11 -0
- package/dist/src/utils/updateEventEmitter.js +12 -0
- package/dist/src/utils/updateEventEmitter.js.map +1 -0
- package/dist/src/utils/userStartupWarnings.d.ts +6 -0
- package/dist/src/utils/userStartupWarnings.js +54 -0
- package/dist/src/utils/userStartupWarnings.js.map +1 -0
- package/dist/src/utils/userStartupWarnings.test.d.ts +6 -0
- package/dist/src/utils/userStartupWarnings.test.js +67 -0
- package/dist/src/utils/userStartupWarnings.test.js.map +1 -0
- package/dist/src/utils/version.d.ts +6 -0
- package/dist/src/utils/version.js +11 -0
- package/dist/src/utils/version.js.map +1 -0
- package/dist/src/validateNonInterActiveAuth.d.ts +7 -0
- package/dist/src/validateNonInterActiveAuth.js +51 -0
- package/dist/src/validateNonInterActiveAuth.js.map +1 -0
- package/dist/src/zed-integration/acp.d.ts +63 -0
- package/dist/src/zed-integration/acp.js +225 -0
- package/dist/src/zed-integration/acp.js.map +1 -0
- package/dist/src/zed-integration/fileSystemService.d.ts +19 -0
- package/dist/src/zed-integration/fileSystemService.js +43 -0
- package/dist/src/zed-integration/fileSystemService.js.map +1 -0
- package/dist/src/zed-integration/schema.d.ts +11782 -0
- package/dist/src/zed-integration/schema.js +311 -0
- package/dist/src/zed-integration/schema.js.map +1 -0
- package/dist/src/zed-integration/zedIntegration.d.ts +10 -0
- package/dist/src/zed-integration/zedIntegration.js +765 -0
- package/dist/src/zed-integration/zedIntegration.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +44 -113
- package/bundle/fss-link.js +0 -127361
- /package/{bundle ā dist/src/utils}/sandbox-macos-permissive-closed.sb +0 -0
- /package/{bundle ā dist/src/utils}/sandbox-macos-permissive-open.sb +0 -0
- /package/{bundle ā dist/src/utils}/sandbox-macos-permissive-proxied.sb +0 -0
- /package/{bundle ā dist/src/utils}/sandbox-macos-restrictive-closed.sb +0 -0
- /package/{bundle ā dist/src/utils}/sandbox-macos-restrictive-open.sb +0 -0
- /package/{bundle ā dist/src/utils}/sandbox-macos-restrictive-proxied.sb +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { CommandKind } from './types.js';
|
|
7
|
+
export const themeCommand = {
|
|
8
|
+
name: 'theme',
|
|
9
|
+
description: 'change the theme',
|
|
10
|
+
kind: CommandKind.BUILT_IN,
|
|
11
|
+
action: (_context, _args) => ({
|
|
12
|
+
type: 'dialog',
|
|
13
|
+
dialog: 'theme',
|
|
14
|
+
}),
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=themeCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themeCommand.js","sourceRoot":"","sources":["../../../../src/ui/commands/themeCommand.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAwC,MAAM,YAAY,CAAC;AAE/E,MAAM,CAAC,MAAM,YAAY,GAAiB;IACxC,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,kBAAkB;IAC/B,IAAI,EAAE,WAAW,CAAC,QAAQ;IAC1B,MAAM,EAAE,CAAC,QAAQ,EAAE,KAAK,EAA0B,EAAE,CAAC,CAAC;QACpD,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,OAAO;KAChB,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { CommandKind, } from './types.js';
|
|
7
|
+
import { MessageType } from '../types.js';
|
|
8
|
+
export const toolsCommand = {
|
|
9
|
+
name: 'tools',
|
|
10
|
+
description: 'list available FSS Link tools',
|
|
11
|
+
kind: CommandKind.BUILT_IN,
|
|
12
|
+
action: async (context, args) => {
|
|
13
|
+
const subCommand = args?.trim();
|
|
14
|
+
// Default to NOT showing descriptions. The user must opt in with an argument.
|
|
15
|
+
let useShowDescriptions = false;
|
|
16
|
+
if (subCommand === 'desc' || subCommand === 'descriptions') {
|
|
17
|
+
useShowDescriptions = true;
|
|
18
|
+
}
|
|
19
|
+
const toolRegistry = context.services.config?.getToolRegistry();
|
|
20
|
+
if (!toolRegistry) {
|
|
21
|
+
context.ui.addItem({
|
|
22
|
+
type: MessageType.ERROR,
|
|
23
|
+
text: 'Could not retrieve tool registry.',
|
|
24
|
+
}, Date.now());
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
const tools = toolRegistry.getAllTools();
|
|
28
|
+
// Filter out MCP tools by checking for the absence of a serverName property
|
|
29
|
+
const geminiTools = tools.filter((tool) => !('serverName' in tool));
|
|
30
|
+
let message = 'Available FSS Link tools:\n\n';
|
|
31
|
+
if (geminiTools.length > 0) {
|
|
32
|
+
geminiTools.forEach((tool) => {
|
|
33
|
+
if (useShowDescriptions && tool.description) {
|
|
34
|
+
message += ` - \u001b[36m${tool.displayName} (${tool.name})\u001b[0m:\n`;
|
|
35
|
+
const greenColor = '\u001b[32m';
|
|
36
|
+
const resetColor = '\u001b[0m';
|
|
37
|
+
// Handle multi-line descriptions
|
|
38
|
+
const descLines = tool.description.trim().split('\n');
|
|
39
|
+
for (const descLine of descLines) {
|
|
40
|
+
message += ` ${greenColor}${descLine}${resetColor}\n`;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
message += ` - \u001b[36m${tool.displayName}\u001b[0m\n`;
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
message += ' No tools available\n';
|
|
50
|
+
}
|
|
51
|
+
message += '\n';
|
|
52
|
+
message += '\u001b[0m';
|
|
53
|
+
context.ui.addItem({ type: MessageType.INFO, text: message }, Date.now());
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=toolsCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolsCommand.js","sourceRoot":"","sources":["../../../../src/ui/commands/toolsCommand.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAGL,WAAW,GACZ,MAAM,YAAY,CAAC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CAAC;oBAE1E,MAAM,UAAU,GAAG,YAAY,CAAC;oBAChC,MAAM,UAAU,GAAG,WAAW,CAAC;oBAE/B,iCAAiC;oBACjC,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;oBACtD,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;wBACjC,OAAO,IAAI,SAAS,UAAU,GAAG,QAAQ,GAAG,UAAU,IAAI,CAAC;oBAC7D,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,OAAO,IAAI,iBAAiB,IAAI,CAAC,WAAW,aAAa,CAAC;gBAC5D,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC;aAAM,CAAC;YACN,OAAO,IAAI,wBAAwB,CAAC;QACtC,CAAC;QACD,OAAO,IAAI,IAAI,CAAC;QAEhB,OAAO,IAAI,WAAW,CAAC;QAEvB,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC5E,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { CommandKind } from './types.js';
|
|
7
|
+
import { MessageType } from '../types.js';
|
|
8
|
+
export const ttsCommand = {
|
|
9
|
+
name: 'tts',
|
|
10
|
+
description: 'control text-to-speech settings',
|
|
11
|
+
kind: CommandKind.BUILT_IN,
|
|
12
|
+
subCommands: [
|
|
13
|
+
{
|
|
14
|
+
name: 'on',
|
|
15
|
+
description: 'enable text-to-speech',
|
|
16
|
+
kind: CommandKind.BUILT_IN,
|
|
17
|
+
action: async (context) => {
|
|
18
|
+
// Set TTS enabled using setter
|
|
19
|
+
if (!context.session.ttsEnabled) {
|
|
20
|
+
context.ui.setTtsEnabled(true);
|
|
21
|
+
context.ui.addItem({
|
|
22
|
+
type: MessageType.INFO,
|
|
23
|
+
text: 'šµ TTS enabled - Use /speak "message" to test',
|
|
24
|
+
}, Date.now());
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
context.ui.addItem({
|
|
28
|
+
type: MessageType.INFO,
|
|
29
|
+
text: 'šµ TTS is already enabled',
|
|
30
|
+
}, Date.now());
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'off',
|
|
36
|
+
description: 'disable text-to-speech',
|
|
37
|
+
kind: CommandKind.BUILT_IN,
|
|
38
|
+
action: async (context) => {
|
|
39
|
+
// Set TTS disabled using setter
|
|
40
|
+
if (context.session.ttsEnabled) {
|
|
41
|
+
context.ui.setTtsEnabled(false);
|
|
42
|
+
context.ui.addItem({
|
|
43
|
+
type: MessageType.INFO,
|
|
44
|
+
text: 'š TTS disabled',
|
|
45
|
+
}, Date.now());
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
context.ui.addItem({
|
|
49
|
+
type: MessageType.INFO,
|
|
50
|
+
text: 'š TTS is already disabled',
|
|
51
|
+
}, Date.now());
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
name: 'status',
|
|
57
|
+
description: 'show TTS status and configuration',
|
|
58
|
+
kind: CommandKind.BUILT_IN,
|
|
59
|
+
action: async (context) => {
|
|
60
|
+
const enabled = context.session.ttsEnabled || false;
|
|
61
|
+
const voice = context.session.ttsVoice || 'Bella';
|
|
62
|
+
// Show checking server status with animation
|
|
63
|
+
context.ui.addItem({
|
|
64
|
+
type: MessageType.INFO,
|
|
65
|
+
text: 'š Checking TTS server status...',
|
|
66
|
+
}, Date.now());
|
|
67
|
+
// Test server availability with timeout
|
|
68
|
+
let serverAvailable = false;
|
|
69
|
+
let serverInfo = '';
|
|
70
|
+
try {
|
|
71
|
+
const response = await fetch('http://192.168.1.5:11450/health', {
|
|
72
|
+
method: 'GET',
|
|
73
|
+
});
|
|
74
|
+
serverAvailable = response.ok;
|
|
75
|
+
if (response.ok) {
|
|
76
|
+
const data = await response.json();
|
|
77
|
+
serverInfo = `Version: ${data.version || 'unknown'}`;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
catch (error) {
|
|
81
|
+
serverInfo = `Connection failed: ${error instanceof Error ? error.message : 'Unknown error'}`;
|
|
82
|
+
}
|
|
83
|
+
// Voice personality emojis
|
|
84
|
+
const voiceEmojis = {
|
|
85
|
+
'Bella': 'š©āš¼', 'Emma': 'š©āšØ', 'George': 'šØāš§',
|
|
86
|
+
'Lewis': 'šØāš»', 'Sarah': 'š©āš«', 'Michael': 'šØāāļø'
|
|
87
|
+
};
|
|
88
|
+
const voiceEmoji = voiceEmojis[voice] || 'š£ļø';
|
|
89
|
+
// Rich status display
|
|
90
|
+
let status = `šµ FSS-TTS Integration Status\n`;
|
|
91
|
+
status += `āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā\n\n`;
|
|
92
|
+
status += `Session Settings:\n`;
|
|
93
|
+
status += ` š TTS Mode: ${enabled ? 'ā
Enabled' : 'ā Disabled'}\n`;
|
|
94
|
+
status += ` ${voiceEmoji} Voice: ${voice}\n`;
|
|
95
|
+
status += ` šļø Session-based (resets on restart)\n\n`;
|
|
96
|
+
status += `Server Status:\n`;
|
|
97
|
+
status += ` š Endpoint: http://192.168.1.5:11450\n`;
|
|
98
|
+
status += ` š” Connection: ${serverAvailable ? 'ā
Connected' : 'ā Failed'}\n`;
|
|
99
|
+
if (serverInfo) {
|
|
100
|
+
status += ` ā¹ļø Info: ${serverInfo}\n`;
|
|
101
|
+
}
|
|
102
|
+
status += `\n`;
|
|
103
|
+
status += `Available Commands:\n`;
|
|
104
|
+
status += ` /tts on - Enable TTS for this session\n`;
|
|
105
|
+
status += ` /tts off - Disable TTS for this session\n`;
|
|
106
|
+
status += ` /speak "message" - Immediate TTS output\n`;
|
|
107
|
+
status += ` /voice VoiceName - Select voice personality\n\n`;
|
|
108
|
+
status += `Available Voices:\n`;
|
|
109
|
+
Object.entries(voiceEmojis).forEach(([name, emoji]) => {
|
|
110
|
+
const marker = name === voice ? 'š' : ' ';
|
|
111
|
+
status += `${marker} ${emoji} ${name}\n`;
|
|
112
|
+
});
|
|
113
|
+
status += `\nš” Tip: Use /speak "Build completed!" for progress updates`;
|
|
114
|
+
context.ui.addItem({
|
|
115
|
+
type: MessageType.INFO,
|
|
116
|
+
text: status,
|
|
117
|
+
}, Date.now());
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
};
|
|
122
|
+
//# sourceMappingURL=ttsCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ttsCommand.js","sourceRoot":"","sources":["../../../../src/ui/commands/ttsCommand.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAgB,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,CAAC,MAAM,UAAU,GAAiB;IACtC,IAAI,EAAE,KAAK;IACX,WAAW,EAAE,iCAAiC;IAC9C,IAAI,EAAE,WAAW,CAAC,QAAQ;IAC1B,WAAW,EAAE;QACX;YACE,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,WAAW,CAAC,QAAQ;YAC1B,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACxB,+BAA+B;gBAC/B,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;oBAChC,OAAO,CAAC,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;oBAC/B,OAAO,CAAC,EAAE,CAAC,OAAO,CAChB;wBACE,IAAI,EAAE,WAAW,CAAC,IA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identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { type ReactNode } from 'react';
|
|
7
|
+
import { Content } from '@google/genai';
|
|
8
|
+
import { HistoryItemWithoutId } from '../types.js';
|
|
9
|
+
import { Config, GitService, Logger } from 'fss-link-core';
|
|
10
|
+
import { LoadedSettings } from '../../config/settings.js';
|
|
11
|
+
import { UseHistoryManagerReturn } from '../hooks/useHistoryManager.js';
|
|
12
|
+
import type { HistoryItem } from '../types.js';
|
|
13
|
+
import { SessionStatsState } from '../contexts/SessionContext.js';
|
|
14
|
+
export interface CommandContext {
|
|
15
|
+
invocation?: {
|
|
16
|
+
/** The raw, untrimmed input string from the user. */
|
|
17
|
+
raw: string;
|
|
18
|
+
/** The primary name of the command that was matched. */
|
|
19
|
+
name: string;
|
|
20
|
+
/** The arguments string that follows the command name. */
|
|
21
|
+
args: string;
|
|
22
|
+
};
|
|
23
|
+
services: {
|
|
24
|
+
config: Config | null;
|
|
25
|
+
settings: LoadedSettings;
|
|
26
|
+
git: GitService | undefined;
|
|
27
|
+
logger: Logger;
|
|
28
|
+
};
|
|
29
|
+
ui: {
|
|
30
|
+
/** Adds a new item to the history display. */
|
|
31
|
+
addItem: UseHistoryManagerReturn['addItem'];
|
|
32
|
+
/** Clears all history items and the console screen. */
|
|
33
|
+
clear: () => void;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the transient debug message displayed in the application footer in debug mode.
|
|
36
|
+
*/
|
|
37
|
+
setDebugMessage: (message: string) => void;
|
|
38
|
+
/** The currently pending history item, if any. */
|
|
39
|
+
pendingItem: HistoryItemWithoutId | null;
|
|
40
|
+
/**
|
|
41
|
+
* Sets a pending item in the history, which is useful for indicating
|
|
42
|
+
* that a long-running operation is in progress.
|
|
43
|
+
*
|
|
44
|
+
* @param item The history item to display as pending, or `null` to clear.
|
|
45
|
+
*/
|
|
46
|
+
setPendingItem: (item: HistoryItemWithoutId | null) => void;
|
|
47
|
+
/**
|
|
48
|
+
* Loads a new set of history items, replacing the current history.
|
|
49
|
+
*
|
|
50
|
+
* @param history The array of history items to load.
|
|
51
|
+
*/
|
|
52
|
+
loadHistory: UseHistoryManagerReturn['loadHistory'];
|
|
53
|
+
/** Toggles a special display mode. */
|
|
54
|
+
toggleCorgiMode: () => void;
|
|
55
|
+
toggleVimEnabled: () => Promise<boolean>;
|
|
56
|
+
setGeminiMdFileCount: (count: number) => void;
|
|
57
|
+
reloadCommands: () => void;
|
|
58
|
+
/** Set the TTS voice for the current session */
|
|
59
|
+
setTtsVoice: (voice: string) => void;
|
|
60
|
+
/** Enable or disable TTS for the current session */
|
|
61
|
+
setTtsEnabled: (enabled: boolean) => void;
|
|
62
|
+
};
|
|
63
|
+
session: {
|
|
64
|
+
stats: SessionStatsState;
|
|
65
|
+
/** A transient list of shell commands the user has approved for this session. */
|
|
66
|
+
sessionShellAllowlist: Set<string>;
|
|
67
|
+
/** TTS voice selection for this session */
|
|
68
|
+
ttsVoice?: string;
|
|
69
|
+
/** Whether TTS is enabled for this session */
|
|
70
|
+
ttsEnabled?: boolean;
|
|
71
|
+
};
|
|
72
|
+
overwriteConfirmed?: boolean;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* The return type for a command action that results in scheduling a tool call.
|
|
76
|
+
*/
|
|
77
|
+
export interface ToolActionReturn {
|
|
78
|
+
type: 'tool';
|
|
79
|
+
toolName: string;
|
|
80
|
+
toolArgs: Record<string, unknown>;
|
|
81
|
+
}
|
|
82
|
+
/** The return type for a command action that results in the app quitting. */
|
|
83
|
+
export interface QuitActionReturn {
|
|
84
|
+
type: 'quit';
|
|
85
|
+
messages: HistoryItem[];
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* The return type for a command action that results in a simple message
|
|
89
|
+
* being displayed to the user.
|
|
90
|
+
*/
|
|
91
|
+
export interface MessageActionReturn {
|
|
92
|
+
type: 'message';
|
|
93
|
+
messageType: 'info' | 'error';
|
|
94
|
+
content: string;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The return type for a command action that needs to open a dialog.
|
|
98
|
+
*/
|
|
99
|
+
export interface OpenDialogActionReturn {
|
|
100
|
+
type: 'dialog';
|
|
101
|
+
dialog: 'help' | 'auth' | 'theme' | 'editor' | 'privacy' | 'settings' | 'search';
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* The return type for a command action that results in replacing
|
|
105
|
+
* the entire conversation history.
|
|
106
|
+
*/
|
|
107
|
+
export interface LoadHistoryActionReturn {
|
|
108
|
+
type: 'load_history';
|
|
109
|
+
history: HistoryItemWithoutId[];
|
|
110
|
+
clientHistory: Content[];
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* The return type for a command action that should immediately submit
|
|
114
|
+
* content as a prompt to the Gemini model.
|
|
115
|
+
*/
|
|
116
|
+
export interface SubmitPromptActionReturn {
|
|
117
|
+
type: 'submit_prompt';
|
|
118
|
+
content: string;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* The return type for a command action that needs to pause and request
|
|
122
|
+
* confirmation for a set of shell commands before proceeding.
|
|
123
|
+
*/
|
|
124
|
+
export interface ConfirmShellCommandsActionReturn {
|
|
125
|
+
type: 'confirm_shell_commands';
|
|
126
|
+
/** The list of shell commands that require user confirmation. */
|
|
127
|
+
commandsToConfirm: string[];
|
|
128
|
+
/** The original invocation context to be re-run after confirmation. */
|
|
129
|
+
originalInvocation: {
|
|
130
|
+
raw: string;
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
export interface ConfirmActionReturn {
|
|
134
|
+
type: 'confirm_action';
|
|
135
|
+
/** The React node to display as the confirmation prompt. */
|
|
136
|
+
prompt: ReactNode;
|
|
137
|
+
/** The original invocation context to be re-run after confirmation. */
|
|
138
|
+
originalInvocation: {
|
|
139
|
+
raw: string;
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
export type SlashCommandActionReturn = ToolActionReturn | MessageActionReturn | QuitActionReturn | OpenDialogActionReturn | LoadHistoryActionReturn | SubmitPromptActionReturn | ConfirmShellCommandsActionReturn | ConfirmActionReturn;
|
|
143
|
+
export declare enum CommandKind {
|
|
144
|
+
BUILT_IN = "built-in",
|
|
145
|
+
FILE = "file",
|
|
146
|
+
MCP_PROMPT = "mcp-prompt"
|
|
147
|
+
}
|
|
148
|
+
export interface SlashCommand {
|
|
149
|
+
name: string;
|
|
150
|
+
altNames?: string[];
|
|
151
|
+
description: string;
|
|
152
|
+
kind: CommandKind;
|
|
153
|
+
extensionName?: string;
|
|
154
|
+
action?: (context: CommandContext, args: string) => void | SlashCommandActionReturn | Promise<void | SlashCommandActionReturn>;
|
|
155
|
+
completion?: (context: CommandContext, partialArg: string) => Promise<string[]>;
|
|
156
|
+
subCommands?: SlashCommand[];
|
|
157
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
export var CommandKind;
|
|
7
|
+
(function (CommandKind) {
|
|
8
|
+
CommandKind["BUILT_IN"] = "built-in";
|
|
9
|
+
CommandKind["FILE"] = "file";
|
|
10
|
+
CommandKind["MCP_PROMPT"] = "mcp-prompt";
|
|
11
|
+
})(CommandKind || (CommandKind = {}));
|
|
12
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/ui/commands/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAsKH,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,4BAAa,CAAA;IACb,wCAAyB,CAAA;AAC3B,CAAC,EAJW,WAAW,KAAX,WAAW,QAItB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { CommandKind } from './types.js';
|
|
7
|
+
export const vimCommand = {
|
|
8
|
+
name: 'vim',
|
|
9
|
+
description: 'toggle vim mode on/off',
|
|
10
|
+
kind: CommandKind.BUILT_IN,
|
|
11
|
+
action: async (context, _args) => {
|
|
12
|
+
const newVimState = await context.ui.toggleVimEnabled();
|
|
13
|
+
const message = newVimState
|
|
14
|
+
? 'Entered Vim mode. Run /vim again to exit.'
|
|
15
|
+
: 'Exited Vim mode.';
|
|
16
|
+
return {
|
|
17
|
+
type: 'message',
|
|
18
|
+
messageType: 'info',
|
|
19
|
+
content: message,
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=vimCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vimCommand.js","sourceRoot":"","sources":["../../../../src/ui/commands/vimCommand.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAgB,MAAM,YAAY,CAAC;AAEvD,MAAM,CAAC,MAAM,UAAU,GAAiB;IACtC,IAAI,EAAE,KAAK;IACX,WAAW,EAAE,wBAAwB;IACrC,IAAI,EAAE,WAAW,CAAC,QAAQ;IAC1B,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE;QAC/B,MAAM,WAAW,GAAG,MAAM,OAAO,CAAC,EAAE,CAAC,gBAAgB,EAAE,CAAC;QAExD,MAAM,OAAO,GAAG,WAAW;YACzB,CAAC,CAAC,2CAA2C;YAC7C,CAAC,CAAC,kBAAkB,CAAC;QACvB,OAAO;YACL,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,MAAM;YACnB,OAAO,EAAE,OAAO;SACjB,CAAC;IACJ,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { CommandKind } from './types.js';
|
|
7
|
+
import { MessageType } from '../types.js';
|
|
8
|
+
const AVAILABLE_VOICES = [
|
|
9
|
+
'Bella',
|
|
10
|
+
'Emma',
|
|
11
|
+
'George',
|
|
12
|
+
'Lewis',
|
|
13
|
+
'Sarah',
|
|
14
|
+
'Michael'
|
|
15
|
+
];
|
|
16
|
+
export const voiceCommand = {
|
|
17
|
+
name: 'voice',
|
|
18
|
+
description: 'set TTS voice',
|
|
19
|
+
kind: CommandKind.BUILT_IN,
|
|
20
|
+
action: async (context, args) => {
|
|
21
|
+
const voiceName = args.trim();
|
|
22
|
+
// Show available voices if no argument
|
|
23
|
+
if (!voiceName) {
|
|
24
|
+
const currentVoice = context.session.ttsVoice || 'Bella';
|
|
25
|
+
// Voice personality emojis and descriptions
|
|
26
|
+
const voiceDetails = {
|
|
27
|
+
'Bella': { emoji: 'š©āš¼', description: 'Warm, supportive colleague' },
|
|
28
|
+
'Emma': { emoji: 'š©āšØ', description: 'Versatile development specialist' },
|
|
29
|
+
'George': { emoji: 'šØāš§', description: 'Casual Australian practical mate' },
|
|
30
|
+
'Lewis': { emoji: 'šØāš»', description: 'Enthusiastic technical consultant' },
|
|
31
|
+
'Sarah': { emoji: 'š©āš«', description: 'Accessibility-focused clear communication' },
|
|
32
|
+
'Michael': { emoji: 'šØāāļø', description: 'Technical precision professional' }
|
|
33
|
+
};
|
|
34
|
+
// Header with FSS Link styling
|
|
35
|
+
let message = `āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā\n`;
|
|
36
|
+
message += `ā šļø Voice Selection ā\n`;
|
|
37
|
+
message += `āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā\n\n`;
|
|
38
|
+
// Current voice status
|
|
39
|
+
message += `Current Voice:\n`;
|
|
40
|
+
message += ` ${voiceDetails[currentVoice]?.emoji || 'š£ļø'} ${currentVoice} - ${voiceDetails[currentVoice]?.description || 'Standard voice'}\n\n`;
|
|
41
|
+
message += `Available Voices:\n`;
|
|
42
|
+
AVAILABLE_VOICES.forEach((voice, _index) => {
|
|
43
|
+
const details = voiceDetails[voice];
|
|
44
|
+
const marker = voice === currentVoice ? 'ā¶' : ' ';
|
|
45
|
+
const emoji = details?.emoji || 'š£ļø';
|
|
46
|
+
const desc = details?.description || 'Standard voice';
|
|
47
|
+
message += `${marker} ${emoji} ${voice} - ${desc}\n`;
|
|
48
|
+
});
|
|
49
|
+
message += `\nāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā\n`;
|
|
50
|
+
message += `ā Usage: /voice <VoiceName> ā\n`;
|
|
51
|
+
message += `ā Test: /speak "Hello, this is my new voice!" ā\n`;
|
|
52
|
+
message += `āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā`;
|
|
53
|
+
context.ui.addItem({
|
|
54
|
+
type: MessageType.INFO,
|
|
55
|
+
text: message,
|
|
56
|
+
}, Date.now());
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
// Validate voice name
|
|
60
|
+
const voice = AVAILABLE_VOICES.find(v => v.toLowerCase() === voiceName.toLowerCase());
|
|
61
|
+
if (!voice) {
|
|
62
|
+
context.ui.addItem({
|
|
63
|
+
type: MessageType.ERROR,
|
|
64
|
+
text: `ā Unknown voice: ${voiceName}\nAvailable: ${AVAILABLE_VOICES.join(', ')}`,
|
|
65
|
+
}, Date.now());
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
// Set voice using setter
|
|
69
|
+
context.ui.setTtsVoice(voice);
|
|
70
|
+
// Rich confirmation with voice details
|
|
71
|
+
const voiceDetails = {
|
|
72
|
+
'Bella': { emoji: 'š©āš¼', description: 'Warm, supportive colleague' },
|
|
73
|
+
'Emma': { emoji: 'š©āšØ', description: 'Versatile development specialist' },
|
|
74
|
+
'George': { emoji: 'šØāš§', description: 'Casual Australian practical mate' },
|
|
75
|
+
'Lewis': { emoji: 'šØāš»', description: 'Enthusiastic technical consultant' },
|
|
76
|
+
'Sarah': { emoji: 'š©āš«', description: 'Accessibility-focused clear communication' },
|
|
77
|
+
'Michael': { emoji: 'šØāāļø', description: 'Technical precision professional' }
|
|
78
|
+
};
|
|
79
|
+
const details = voiceDetails[voice];
|
|
80
|
+
let confirmation = `āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā\n`;
|
|
81
|
+
confirmation += `ā šļø Voice Changed Successfully ā\n`;
|
|
82
|
+
confirmation += `āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā\n\n`;
|
|
83
|
+
confirmation += `${details?.emoji || 'š£ļø'} Now using: ${voice}\n`;
|
|
84
|
+
confirmation += `${details?.description || 'Standard voice'}\n\n`;
|
|
85
|
+
confirmation += `š” Test: /speak "Hello, this is my new voice!"`;
|
|
86
|
+
context.ui.addItem({
|
|
87
|
+
type: MessageType.INFO,
|
|
88
|
+
text: confirmation,
|
|
89
|
+
}, Date.now());
|
|
90
|
+
},
|
|
91
|
+
completion: async (context, partialArg) =>
|
|
92
|
+
// Provide voice name completion
|
|
93
|
+
AVAILABLE_VOICES.filter(voice => voice.toLowerCase().startsWith(partialArg.toLowerCase())),
|
|
94
|
+
};
|
|
95
|
+
//# sourceMappingURL=voiceCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voiceCommand.js","sourceRoot":"","sources":["../../../../src/ui/commands/voiceCommand.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAgB,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,gBAAgB,GAAG;IACvB,OAAO;IACP,MAAM;IACN,QAAQ;IACR,OAAO;IACP,OAAO;IACP,SAAS;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAiB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 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
interface AboutBoxProps {
|
|
8
|
+
cliVersion: string;
|
|
9
|
+
osVersion: string;
|
|
10
|
+
sandboxEnv: string;
|
|
11
|
+
modelVersion: string;
|
|
12
|
+
selectedAuthType: string;
|
|
13
|
+
gcpProject: string;
|
|
14
|
+
ideClient: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const AboutBox: React.FC<AboutBoxProps>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Box, Text } from 'ink';
|
|
3
|
+
import { Colors } from '../colors.js';
|
|
4
|
+
import { GIT_COMMIT_INFO } from '../../generated/git-commit.js';
|
|
5
|
+
export const AboutBox = ({ cliVersion, osVersion, sandboxEnv, modelVersion, selectedAuthType, gcpProject, ideClient, }) => (_jsxs(Box, { borderStyle: "round", borderColor: Colors.Gray, flexDirection: "column", padding: 1, marginY: 1, width: "100%", children: [_jsx(Box, { marginBottom: 1, children: _jsx(Text, { bold: true, color: Colors.AccentPurple, children: "About FSS Link" }) }), _jsxs(Box, { flexDirection: "row", children: [_jsx(Box, { width: "35%", children: _jsx(Text, { bold: true, color: Colors.LightBlue, children: "CLI Version" }) }), _jsx(Box, { children: _jsx(Text, { children: cliVersion }) })] }), GIT_COMMIT_INFO && !['N/A'].includes(GIT_COMMIT_INFO) && (_jsxs(Box, { flexDirection: "row", children: [_jsx(Box, { width: "35%", children: _jsx(Text, { bold: true, color: Colors.LightBlue, children: "Git Commit" }) }), _jsx(Box, { children: _jsx(Text, { children: GIT_COMMIT_INFO }) })] })), _jsxs(Box, { flexDirection: "row", children: [_jsx(Box, { width: "35%", children: _jsx(Text, { bold: true, color: Colors.LightBlue, children: "Model" }) }), _jsx(Box, { children: _jsx(Text, { children: modelVersion }) })] }), _jsxs(Box, { flexDirection: "row", children: [_jsx(Box, { width: "35%", children: _jsx(Text, { bold: true, color: Colors.LightBlue, children: "Sandbox" }) }), _jsx(Box, { children: _jsx(Text, { children: sandboxEnv }) })] }), _jsxs(Box, { flexDirection: "row", children: [_jsx(Box, { width: "35%", children: _jsx(Text, { bold: true, color: Colors.LightBlue, children: "OS" }) }), _jsx(Box, { children: _jsx(Text, { children: osVersion }) })] }), _jsxs(Box, { flexDirection: "row", children: [_jsx(Box, { width: "35%", children: _jsx(Text, { bold: true, color: Colors.LightBlue, children: "Auth Method" }) }), _jsx(Box, { children: _jsx(Text, { children: selectedAuthType.startsWith('oauth') ? 'OAuth' : selectedAuthType }) })] }), gcpProject && (_jsxs(Box, { flexDirection: "row", children: [_jsx(Box, { width: "35%", children: _jsx(Text, { bold: true, color: Colors.LightBlue, children: "GCP Project" }) }), _jsx(Box, { children: _jsx(Text, { children: gcpProject }) })] })), ideClient && (_jsxs(Box, { flexDirection: "row", children: [_jsx(Box, { width: "35%", children: _jsx(Text, { bold: true, color: Colors.LightBlue, children: "IDE Client" }) }), _jsx(Box, { children: _jsx(Text, { children: ideClient }) })] }))] }));
|
|
6
|
+
//# sourceMappingURL=AboutBox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AboutBox.js","sourceRoot":"","sources":["../../../../src/ui/components/AboutBox.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAYhE,MAAM,CAAC,MAAM,QAAQ,GAA4B,CAAC,EAChD,UAAU,EACV,SAAS,EACT,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,SAAS,GACV,EAAE,EAAE,CAAC,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
|
|
6
|
+
export declare const shortAsciiLogo = "\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\n \u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\n \u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\n \u2588\u2588\u2554\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551\u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551\n \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551\n \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\n \n \u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557\n \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2554\u255D\n \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2554\u255D \n \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2588\u2588\u2557 \n \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2557\n \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D\n";
|
|
7
|
+
export declare const longAsciiLogo = "\n\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557\n\u2551 \u2551\n\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2551\n\u2551 \u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D \u2551\n\u2551 \u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2551\n\u2551 \u2588\u2588\u2554\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551\u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551 \u2551\n\u2551 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551 \u2551\n\u2551 \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D \u2551\n\u2551 \u2551\n\u2551 \u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557 \u2551\n\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2554\u255D \u2551\n\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2551\n\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2588\u2588\u2557 \u2551\n\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2557 \u2551\n\u2551 \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D \u2551\n\u2551 \u2551\n\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D\n";
|
|
8
|
+
export declare const tinyAsciiLogo = "\n\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\n\u2588\u2588 \u2588\u2588 \u2588\u2588 \n\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\n\u2588\u2588 \u2588\u2588 \u2588\u2588\n\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\n\n\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\n\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \n\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \n\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \n\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\n";
|