@rdmind/rdmind 0.0.5 → 0.0.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/LICENSE +203 -0
- package/README.md +1 -0
- package/bundle/gemini.js +337631 -0
- package/bundle/template/README.md +9 -0
- package/bundle/template/pom.xml +106 -0
- package/bundle/template/sns-demo-app/pom.xml +27 -0
- package/bundle/template/sns-demo-common/pom.xml +35 -0
- package/bundle/template/sns-demo-common/src/main/java/com/xiaohongshu/sns/demo/common/utils/RpcResultUtils.java +22 -0
- package/bundle/template/sns-demo-common/target/classes/com/xiaohongshu/sns/demo/common/utils/RpcResultUtils.class +0 -0
- package/bundle/template/sns-demo-domain/pom.xml +31 -0
- package/bundle/template/sns-demo-infrastructure/pom.xml +52 -0
- package/bundle/template/sns-demo-infrastructure/src/main/java/com/xiaohongshu/sns/demo/infrastructure/config/rpc/ThriftClientConfig.java +8 -0
- package/bundle/template/sns-demo-infrastructure/target/classes/com/xiaohongshu/sns/demo/infrastructure/config/rpc/ThriftClientConfig.class +0 -0
- package/bundle/template/sns-demo-start/pom.xml +49 -0
- package/bundle/template/sns-demo-start/src/main/java/com/xiaohongshu/sns/demo/start/Application.java +19 -0
- package/bundle/template/sns-demo-start/src/main/resources/META-INF/app.properties +2 -0
- package/bundle/template/sns-demo-start/src/main/resources/application-prod.yml +6 -0
- package/bundle/template/sns-demo-start/src/main/resources/application-sit.yml +6 -0
- package/bundle/template/sns-demo-start/src/main/resources/application-staging.yml +6 -0
- package/bundle/template/sns-demo-start/src/main/resources/logback-spring.xml +22 -0
- package/bundle/template/sns-demo-start/target/classes/META-INF/app.properties +2 -0
- package/bundle/template/sns-demo-start/target/classes/application-prod.yml +6 -0
- package/bundle/template/sns-demo-start/target/classes/application-sit.yml +6 -0
- package/bundle/template/sns-demo-start/target/classes/application-staging.yml +6 -0
- package/bundle/template/sns-demo-start/target/classes/com/xiaohongshu/sns/demo/start/Application.class +0 -0
- package/bundle/template/sns-demo-start/target/classes/logback-spring.xml +22 -0
- package/package.json +90 -69
- 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 -86
- package/dist/src/commands/extensions/disable.d.ts +0 -14
- package/dist/src/commands/extensions/disable.js +0 -42
- package/dist/src/commands/extensions/disable.js.map +0 -1
- package/dist/src/commands/extensions/enable.d.ts +0 -14
- package/dist/src/commands/extensions/enable.js +0 -48
- package/dist/src/commands/extensions/enable.js.map +0 -1
- package/dist/src/commands/extensions/install.d.ts +0 -13
- package/dist/src/commands/extensions/install.js +0 -48
- 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 -25
- package/dist/src/commands/extensions/install.test.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/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 -12
- package/dist/src/commands/extensions/update.js +0 -38
- package/dist/src/commands/extensions/update.js.map +0 -1
- package/dist/src/commands/extensions.d.ts +0 -7
- package/dist/src/commands/extensions.js +0 -29
- 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 -166
- 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 -110
- 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 -9
- package/dist/src/config/auth.js +0 -54
- 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 -57
- package/dist/src/config/auth.test.js.map +0 -1
- package/dist/src/config/config.d.ts +0 -47
- package/dist/src/config/config.js +0 -525
- package/dist/src/config/config.js.map +0 -1
- package/dist/src/config/extension.d.ts +0 -60
- package/dist/src/config/extension.js +0 -377
- package/dist/src/config/extension.js.map +0 -1
- package/dist/src/config/extensions/variableSchema.d.ts +0 -28
- package/dist/src/config/extensions/variableSchema.js +0 -18
- 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 -66
- package/dist/src/config/keyBindings.js +0 -141
- 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 -62
- package/dist/src/config/settings.js +0 -674
- package/dist/src/config/settings.js.map +0 -1
- package/dist/src/config/settingsSchema.d.ts +0 -884
- package/dist/src/config/settingsSchema.js +0 -873
- 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 -194
- package/dist/src/config/settingsSchema.test.js.map +0 -1
- package/dist/src/config/trustedFolders.d.ts +0 -37
- package/dist/src/config/trustedFolders.js +0 -118
- 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 -164
- package/dist/src/config/trustedFolders.test.js.map +0 -1
- package/dist/src/gemini.d.ts +0 -11
- package/dist/src/gemini.js +0 -284
- package/dist/src/gemini.js.map +0 -1
- package/dist/src/gemini.test.d.ts +0 -6
- package/dist/src/gemini.test.js +0 -247
- 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/nonInteractiveCli.d.ts +0 -7
- package/dist/src/nonInteractiveCli.js +0 -92
- package/dist/src/nonInteractiveCli.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/prompts/RDMind.md +0 -126
- package/dist/src/services/BuiltinCommandLoader.d.ts +0 -24
- package/dist/src/services/BuiltinCommandLoader.js +0 -99
- 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 -130
- 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 -49
- package/dist/src/services/FileCommandLoader.js +0 -220
- 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 -218
- 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 -114
- package/dist/src/services/McpPromptLoader.test.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 -121
- 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/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 -90
- 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 -8
- package/dist/src/test-utils/render.js +0 -10
- package/dist/src/test-utils/render.js.map +0 -1
- package/dist/src/ui/App.d.ts +0 -15
- package/dist/src/ui/App.js +0 -840
- package/dist/src/ui/App.js.map +0 -1
- package/dist/src/ui/IdeIntegrationNudge.d.ts +0 -16
- package/dist/src/ui/IdeIntegrationNudge.js +0 -52
- package/dist/src/ui/IdeIntegrationNudge.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 -43
- 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 -32
- 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 -340
- 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 -293
- 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 -16
- 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 -31
- package/dist/src/ui/commands/bugCommand.js.map +0 -1
- package/dist/src/ui/commands/chatCommand.d.ts +0 -7
- package/dist/src/ui/commands/chatCommand.js +0 -235
- 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 -27
- 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 -66
- package/dist/src/ui/commands/compressCommand.js.map +0 -1
- package/dist/src/ui/commands/copyCommand.d.ts +0 -7
- package/dist/src/ui/commands/copyCommand.js +0 -59
- 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 -15
- package/dist/src/ui/commands/corgiCommand.js.map +0 -1
- package/dist/src/ui/commands/createCommand.d.ts +0 -7
- package/dist/src/ui/commands/createCommand.js +0 -381
- package/dist/src/ui/commands/createCommand.js.map +0 -1
- package/dist/src/ui/commands/directoryCommand.d.ts +0 -8
- package/dist/src/ui/commands/directoryCommand.js +0 -135
- 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 -31
- package/dist/src/ui/commands/docsCommand.js.map +0 -1
- package/dist/src/ui/commands/editorCommand.d.ts +0 -7
- package/dist/src/ui/commands/editorCommand.js +0 -16
- 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 -31
- 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 -21
- package/dist/src/ui/commands/helpCommand.js.map +0 -1
- package/dist/src/ui/commands/ideCommand.d.ts +0 -8
- package/dist/src/ui/commands/ideCommand.js +0 -216
- package/dist/src/ui/commands/ideCommand.js.map +0 -1
- package/dist/src/ui/commands/importCommand.d.ts +0 -10
- package/dist/src/ui/commands/importCommand.js +0 -762
- package/dist/src/ui/commands/importCommand.js.map +0 -1
- package/dist/src/ui/commands/importCommand.test.d.ts +0 -6
- package/dist/src/ui/commands/importCommand.test.js +0 -126
- package/dist/src/ui/commands/importCommand.test.js.map +0 -1
- package/dist/src/ui/commands/initCommand.d.ts +0 -7
- package/dist/src/ui/commands/initCommand.js +0 -115
- package/dist/src/ui/commands/initCommand.js.map +0 -1
- package/dist/src/ui/commands/mcpCommand.d.ts +0 -7
- package/dist/src/ui/commands/mcpCommand.js +0 -424
- 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 -225
- 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 -68
- 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 -138
- package/dist/src/ui/commands/modelCommand.test.js.map +0 -1
- package/dist/src/ui/commands/privacyCommand.d.ts +0 -7
- package/dist/src/ui/commands/privacyCommand.js +0 -16
- package/dist/src/ui/commands/privacyCommand.js.map +0 -1
- package/dist/src/ui/commands/quitCommand.d.ts +0 -8
- package/dist/src/ui/commands/quitCommand.js +0 -59
- package/dist/src/ui/commands/quitCommand.js.map +0 -1
- package/dist/src/ui/commands/rdconfigCommand.d.ts +0 -7
- package/dist/src/ui/commands/rdconfigCommand.js +0 -104
- package/dist/src/ui/commands/rdconfigCommand.js.map +0 -1
- package/dist/src/ui/commands/rdconfigCommand.test.d.ts +0 -6
- package/dist/src/ui/commands/rdconfigCommand.test.js +0 -141
- package/dist/src/ui/commands/rdconfigCommand.test.js.map +0 -1
- package/dist/src/ui/commands/rdflowCommand.d.ts +0 -7
- package/dist/src/ui/commands/rdflowCommand.js +0 -284
- package/dist/src/ui/commands/rdflowCommand.js.map +0 -1
- package/dist/src/ui/commands/rdflowCommand.test.d.ts +0 -6
- package/dist/src/ui/commands/rdflowCommand.test.js +0 -127
- package/dist/src/ui/commands/rdflowCommand.test.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 -16
- 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 -154
- 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/statsCommand.d.ts +0 -7
- package/dist/src/ui/commands/statsCommand.js +0 -54
- 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 -149
- package/dist/src/ui/commands/summaryCommand.js.map +0 -1
- package/dist/src/ui/commands/terminalSetupCommand.d.ts +0 -13
- package/dist/src/ui/commands/terminalSetupCommand.js +0 -41
- 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 -16
- 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 -56
- package/dist/src/ui/commands/toolsCommand.js.map +0 -1
- package/dist/src/ui/commands/types.d.ts +0 -153
- package/dist/src/ui/commands/types.js +0 -13
- package/dist/src/ui/commands/types.js.map +0 -1
- package/dist/src/ui/commands/vimCommand.d.ts +0 -7
- package/dist/src/ui/commands/vimCommand.js +0 -23
- package/dist/src/ui/commands/vimCommand.js.map +0 -1
- package/dist/src/ui/components/AboutBox.d.ts +0 -17
- package/dist/src/ui/components/AboutBox.js +0 -6
- package/dist/src/ui/components/AboutBox.js.map +0 -1
- package/dist/src/ui/components/AsciiArt.d.ts +0 -8
- package/dist/src/ui/components/AsciiArt.js +0 -30
- package/dist/src/ui/components/AsciiArt.js.map +0 -1
- package/dist/src/ui/components/AuthDialog.d.ts +0 -15
- package/dist/src/ui/components/AuthDialog.js +0 -89
- package/dist/src/ui/components/AuthDialog.js.map +0 -1
- package/dist/src/ui/components/AuthDialog.test.d.ts +0 -6
- package/dist/src/ui/components/AuthDialog.test.js +0 -280
- package/dist/src/ui/components/AuthDialog.test.js.map +0 -1
- package/dist/src/ui/components/AuthInProgress.d.ts +0 -11
- package/dist/src/ui/components/AuthInProgress.js +0 -23
- package/dist/src/ui/components/AuthInProgress.js.map +0 -1
- package/dist/src/ui/components/AutoAcceptIndicator.d.ts +0 -12
- package/dist/src/ui/components/AutoAcceptIndicator.js +0 -31
- package/dist/src/ui/components/AutoAcceptIndicator.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/ContextSummaryDisplay.d.ts +0 -20
- package/dist/src/ui/components/ContextSummaryDisplay.js +0 -66
- package/dist/src/ui/components/ContextSummaryDisplay.js.map +0 -1
- package/dist/src/ui/components/ContextUsageDisplay.d.ts +0 -9
- package/dist/src/ui/components/ContextUsageDisplay.js +0 -14
- 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/EditorSettingsDialog.d.ts +0 -16
- package/dist/src/ui/components/EditorSettingsDialog.js +0 -71
- package/dist/src/ui/components/EditorSettingsDialog.js.map +0 -1
- package/dist/src/ui/components/FolderTrustDialog.d.ts +0 -17
- package/dist/src/ui/components/FolderTrustDialog.js +0 -45
- 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 -63
- package/dist/src/ui/components/FolderTrustDialog.test.js.map +0 -1
- package/dist/src/ui/components/Footer.d.ts +0 -23
- package/dist/src/ui/components/Footer.js +0 -25
- package/dist/src/ui/components/Footer.js.map +0 -1
- package/dist/src/ui/components/GeminiRespondingSpinner.d.ts +0 -17
- package/dist/src/ui/components/GeminiRespondingSpinner.js +0 -18
- 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 -10
- package/dist/src/ui/components/Help.js.map +0 -1
- package/dist/src/ui/components/HistoryItemDisplay.d.ts +0 -20
- package/dist/src/ui/components/HistoryItemDisplay.js +0 -22
- 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 -93
- package/dist/src/ui/components/HistoryItemDisplay.test.js.map +0 -1
- package/dist/src/ui/components/InputPrompt.d.ts +0 -28
- package/dist/src/ui/components/InputPrompt.js +0 -562
- 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 -25
- 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 -190
- package/dist/src/ui/components/LoadingIndicator.test.js.map +0 -1
- package/dist/src/ui/components/MemoryUsageDisplay.d.ts +0 -7
- package/dist/src/ui/components/MemoryUsageDisplay.js +0 -22
- package/dist/src/ui/components/MemoryUsageDisplay.js.map +0 -1
- package/dist/src/ui/components/ModelSelectionDialog.d.ts +0 -14
- package/dist/src/ui/components/ModelSelectionDialog.js +0 -26
- package/dist/src/ui/components/ModelSelectionDialog.js.map +0 -1
- package/dist/src/ui/components/ModelSelectionDialog.test.d.ts +0 -6
- package/dist/src/ui/components/ModelSelectionDialog.test.js +0 -124
- package/dist/src/ui/components/ModelSelectionDialog.test.js.map +0 -1
- package/dist/src/ui/components/ModelStatsDisplay.d.ts +0 -7
- package/dist/src/ui/components/ModelStatsDisplay.js +0 -33
- 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 -37
- 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 -125
- package/dist/src/ui/components/ModelSwitchDialog.test.js.map +0 -1
- package/dist/src/ui/components/OpenAIKeyPrompt.d.ts +0 -12
- package/dist/src/ui/components/OpenAIKeyPrompt.js +0 -113
- 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 -44
- package/dist/src/ui/components/OpenAIKeyPrompt.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 -16
- package/dist/src/ui/components/PrepareLabel.js.map +0 -1
- package/dist/src/ui/components/QuitConfirmationDialog.d.ts +0 -17
- package/dist/src/ui/components/QuitConfirmationDialog.js +0 -44
- package/dist/src/ui/components/QuitConfirmationDialog.js.map +0 -1
- package/dist/src/ui/components/QwenOAuthProgress.d.ts +0 -16
- package/dist/src/ui/components/QwenOAuthProgress.js +0 -103
- 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 -292
- 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 -4
- package/dist/src/ui/components/SessionSummaryDisplay.js.map +0 -1
- package/dist/src/ui/components/SettingsDialog.d.ts +0 -15
- package/dist/src/ui/components/SettingsDialog.js +0 -550
- 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 -646
- 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 -46
- 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/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 -43
- package/dist/src/ui/components/StatsDisplay.js.map +0 -1
- package/dist/src/ui/components/SuggestionsDisplay.d.ts +0 -22
- package/dist/src/ui/components/SuggestionsDisplay.js +0 -40
- package/dist/src/ui/components/SuggestionsDisplay.js.map +0 -1
- package/dist/src/ui/components/ThemeDialog.d.ts +0 -20
- package/dist/src/ui/components/ThemeDialog.js +0 -138
- package/dist/src/ui/components/ThemeDialog.js.map +0 -1
- package/dist/src/ui/components/Tips.d.ts +0 -12
- package/dist/src/ui/components/Tips.js +0 -9
- package/dist/src/ui/components/Tips.js.map +0 -1
- package/dist/src/ui/components/TodoDisplay.d.ts +0 -17
- 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 -41
- 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 -32
- 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 -42
- package/dist/src/ui/components/WorkspaceMigrationDialog.js.map +0 -1
- package/dist/src/ui/components/messages/CompressionMessage.d.ts +0 -11
- package/dist/src/ui/components/messages/CompressionMessage.js +0 -17
- package/dist/src/ui/components/messages/CompressionMessage.js.map +0 -1
- package/dist/src/ui/components/messages/DiffRenderer.d.ts +0 -16
- package/dist/src/ui/components/messages/DiffRenderer.js +0 -226
- 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 -199
- 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 -137
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +0 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.d.ts +0 -18
- package/dist/src/ui/components/messages/ToolGroupMessage.js +0 -50
- 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 -259
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js.map +0 -1
- package/dist/src/ui/components/messages/ToolMessage.d.ts +0 -17
- package/dist/src/ui/components/messages/ToolMessage.js +0 -138
- 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 -149
- 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 -14
- 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/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 -46
- package/dist/src/ui/components/shared/RadioButtonSelect.js +0 -116
- 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 -111
- package/dist/src/ui/components/shared/RadioButtonSelect.test.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 -467
- package/dist/src/ui/components/shared/text-buffer.js +0 -1489
- 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 -174
- 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 -42
- 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 -163
- 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 -105
- 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 -33
- 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 -33
- 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 -143
- 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 -46
- 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 -33
- 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 -63
- 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 -225
- 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 -19
- 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 -194
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.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/constants.d.ts +0 -17
- package/dist/src/ui/constants.js +0 -22
- package/dist/src/ui/constants.js.map +0 -1
- package/dist/src/ui/contexts/KeypressContext.d.ts +0 -32
- package/dist/src/ui/contexts/KeypressContext.js +0 -371
- 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 -894
- package/dist/src/ui/contexts/KeypressContext.test.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/SessionContext.d.ts +0 -39
- package/dist/src/ui/contexts/SessionContext.js +0 -55
- 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/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/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 -47
- 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 -832
- package/dist/src/ui/hooks/atCommandProcessor.test.js.map +0 -1
- package/dist/src/ui/hooks/shellCommandProcessor.d.ts +0 -17
- package/dist/src/ui/hooks/shellCommandProcessor.js +0 -234
- 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 -329
- package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +0 -1
- package/dist/src/ui/hooks/slashCommandProcessor.d.ts +0 -32
- package/dist/src/ui/hooks/slashCommandProcessor.js +0 -547
- 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/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/useAuthCommand.d.ts +0 -14
- package/dist/src/ui/hooks/useAuthCommand.js +0 -66
- package/dist/src/ui/hooks/useAuthCommand.js.map +0 -1
- package/dist/src/ui/hooks/useAutoAcceptIndicator.d.ts +0 -12
- package/dist/src/ui/hooks/useAutoAcceptIndicator.js +0 -38
- 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 -263
- 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 -32
- package/dist/src/ui/hooks/useCommandCompletion.js +0 -186
- 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/useDialogClose.d.ts +0 -34
- package/dist/src/ui/hooks/useDialogClose.js +0 -62
- 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/useFocus.d.ts +0 -10
- package/dist/src/ui/hooks/useFocus.js +0 -41
- 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 -64
- package/dist/src/ui/hooks/useFolderTrust.js.map +0 -1
- package/dist/src/ui/hooks/useGeminiStream.d.ts +0 -28
- package/dist/src/ui/hooks/useGeminiStream.js +0 -681
- package/dist/src/ui/hooks/useGeminiStream.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 -175
- 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/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/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/useMessageQueue.d.ts +0 -22
- package/dist/src/ui/hooks/useMessageQueue.js +0 -49
- 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 -158
- package/dist/src/ui/hooks/useMessageQueue.test.js.map +0 -1
- package/dist/src/ui/hooks/usePhraseCycler.d.ts +0 -14
- package/dist/src/ui/hooks/usePhraseCycler.js +0 -157
- package/dist/src/ui/hooks/usePhraseCycler.js.map +0 -1
- package/dist/src/ui/hooks/usePrivacySettings.d.ts +0 -16
- package/dist/src/ui/hooks/usePrivacySettings.js +0 -119
- package/dist/src/ui/hooks/usePrivacySettings.js.map +0 -1
- package/dist/src/ui/hooks/usePrivacySettings.test.d.ts +0 -6
- package/dist/src/ui/hooks/usePrivacySettings.test.js +0 -154
- package/dist/src/ui/hooks/usePrivacySettings.test.js.map +0 -1
- package/dist/src/ui/hooks/usePromptCompletion.d.ts +0 -23
- package/dist/src/ui/hooks/usePromptCompletion.js +0 -177
- package/dist/src/ui/hooks/usePromptCompletion.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/useQwenAuth.d.ts +0 -20
- package/dist/src/ui/hooks/useQwenAuth.js +0 -78
- 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 -292
- package/dist/src/ui/hooks/useQwenAuth.test.js.map +0 -1
- package/dist/src/ui/hooks/useReactToolScheduler.d.ts +0 -33
- package/dist/src/ui/hooks/useReactToolScheduler.js +0 -197
- 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 -56
- 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/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 -135
- package/dist/src/ui/hooks/useSlashCompletion.js.map +0 -1
- package/dist/src/ui/hooks/useSlashCompletion.test.d.ts +0 -6
- package/dist/src/ui/hooks/useSlashCompletion.test.js +0 -272
- 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/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 -79
- 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 -850
- 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 -53
- 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 -276
- package/dist/src/ui/keyMatchers.test.js.map +0 -1
- package/dist/src/ui/models/availableModels.d.ts +0 -29
- package/dist/src/ui/models/availableModels.js +0 -40
- package/dist/src/ui/models/availableModels.js.map +0 -1
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.d.ts +0 -12
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.js +0 -41
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.js.map +0 -1
- package/dist/src/ui/privacy/CloudPaidPrivacyNotice.d.ts +0 -10
- package/dist/src/ui/privacy/CloudPaidPrivacyNotice.js +0 -18
- package/dist/src/ui/privacy/CloudPaidPrivacyNotice.js.map +0 -1
- package/dist/src/ui/privacy/GeminiPrivacyNotice.d.ts +0 -10
- package/dist/src/ui/privacy/GeminiPrivacyNotice.js +0 -18
- package/dist/src/ui/privacy/GeminiPrivacyNotice.js.map +0 -1
- package/dist/src/ui/privacy/PrivacyNotice.d.ts +0 -12
- package/dist/src/ui/privacy/PrivacyNotice.js +0 -25
- package/dist/src/ui/privacy/PrivacyNotice.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/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 -105
- 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 -217
- package/dist/src/ui/types.js +0 -46
- 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 -110
- 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 -161
- 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 -127
- 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 -24
- package/dist/src/ui/utils/commandUtils.js +0 -131
- 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 -349
- 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 -17
- package/dist/src/ui/utils/displayUtils.js +0 -24
- 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 -42
- 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/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 -88
- 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 -52
- package/dist/src/ui/utils/platformConstants.js +0 -53
- 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 -281
- package/dist/src/ui/utils/terminalSetup.js.map +0 -1
- package/dist/src/ui/utils/textUtils.d.ts +0 -32
- package/dist/src/ui/utils/textUtils.js +0 -80
- package/dist/src/ui/utils/textUtils.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/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/dialogScopeUtils.d.ts +0 -32
- package/dist/src/utils/dialogScopeUtils.js +0 -48
- package/dist/src/utils/dialogScopeUtils.js.map +0 -1
- package/dist/src/utils/errors.d.ts +0 -6
- package/dist/src/utils/errors.js +0 -12
- package/dist/src/utils/errors.js.map +0 -1
- package/dist/src/utils/events.d.ts +0 -11
- package/dist/src/utils/events.js +0 -13
- 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/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/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/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 -738
- package/dist/src/utils/sandbox.js.map +0 -1
- package/dist/src/utils/settingsUtils.d.ts +0 -134
- package/dist/src/utils/settingsUtils.js +0 -330
- 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 -511
- 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/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 -6
- package/dist/src/utils/userStartupWarnings.js +0 -54
- 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 -67
- 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/validateNonInterActiveAuth.d.ts +0 -7
- package/dist/src/validateNonInterActiveAuth.js +0 -40
- 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 -226
- package/dist/src/zed-integration/acp.js.map +0 -1
- package/dist/src/zed-integration/fileSystemService.d.ts +0 -19
- package/dist/src/zed-integration/fileSystemService.js +0 -43
- package/dist/src/zed-integration/fileSystemService.js.map +0 -1
- package/dist/src/zed-integration/schema.d.ts +0 -11782
- package/dist/src/zed-integration/schema.js +0 -311
- package/dist/src/zed-integration/schema.js.map +0 -1
- package/dist/src/zed-integration/zedIntegration.d.ts +0 -10
- package/dist/src/zed-integration/zedIntegration.js +0 -787
- package/dist/src/zed-integration/zedIntegration.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- /package/{dist/src/utils → bundle}/sandbox-macos-permissive-closed.sb +0 -0
- /package/{dist/src/utils → bundle}/sandbox-macos-permissive-open.sb +0 -0
- /package/{dist/src/utils → bundle}/sandbox-macos-permissive-proxied.sb +0 -0
- /package/{dist/src/utils → bundle}/sandbox-macos-restrictive-closed.sb +0 -0
- /package/{dist/src/utils → bundle}/sandbox-macos-restrictive-open.sb +0 -0
- /package/{dist/src/utils → bundle}/sandbox-macos-restrictive-proxied.sb +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateCheck.test.js","sourceRoot":"","sources":["../../../../src/ui/utils/updateCheck.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,MAAM,cAAc,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;AACjD,EAAE,CAAC,IAAI,CAAC,wBAAwB,EAAE,GAAG,EAAE,CAAC,CAAC;IACvC,cAAc;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E,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;aACjD,CAAC,CAAC,CAAC;YAEJ,MAAM,MAAM,GAAG,MAAM,eAAe,EAAE,CAAC;YACvC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,mCAAmC,CAAC,CAAC;YACvE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
export declare function assumeExhaustive(_value: never): void;
|
|
7
|
-
/**
|
|
8
|
-
* Throws an exception on unexpected values.
|
|
9
|
-
*
|
|
10
|
-
* A common use case is switch statements:
|
|
11
|
-
* switch(enumValue) {
|
|
12
|
-
* case Enum.A:
|
|
13
|
-
* case Enum.B:
|
|
14
|
-
* break;
|
|
15
|
-
* default:
|
|
16
|
-
* checkExhaustive(enumValue);
|
|
17
|
-
* }
|
|
18
|
-
*/
|
|
19
|
-
export declare function checkExhaustive(value: never, msg?: string): never;
|
package/dist/src/utils/checks.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/* Fail to compile on unexpected values. */
|
|
7
|
-
export function assumeExhaustive(_value) { }
|
|
8
|
-
/**
|
|
9
|
-
* Throws an exception on unexpected values.
|
|
10
|
-
*
|
|
11
|
-
* A common use case is switch statements:
|
|
12
|
-
* switch(enumValue) {
|
|
13
|
-
* case Enum.A:
|
|
14
|
-
* case Enum.B:
|
|
15
|
-
* break;
|
|
16
|
-
* default:
|
|
17
|
-
* checkExhaustive(enumValue);
|
|
18
|
-
* }
|
|
19
|
-
*/
|
|
20
|
-
export function checkExhaustive(value, msg = `unexpected value ${value}!`) {
|
|
21
|
-
assumeExhaustive(value);
|
|
22
|
-
throw new Error(msg);
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=checks.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checks.js","sourceRoot":"","sources":["../../../src/utils/checks.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,2CAA2C;AAC3C,MAAM,UAAU,gBAAgB,CAAC,MAAa,IAAS,CAAC;AAExD;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,eAAe,CAC7B,KAAY,EACZ,GAAG,GAAG,oBAAoB,KAAK,GAAG;IAElC,gBAAgB,CAAC,KAAK,CAAC,CAAC;IACxB,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC;AACvB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
export declare function registerCleanup(fn: (() => void) | (() => Promise<void>)): void;
|
|
7
|
-
export declare function runExitCleanup(): Promise<void>;
|
|
8
|
-
export declare function cleanupCheckpoints(): Promise<void>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { promises as fs } from 'node:fs';
|
|
7
|
-
import { join } from 'node:path';
|
|
8
|
-
import { Storage } from '@rdmind/rdmind-core';
|
|
9
|
-
const cleanupFunctions = [];
|
|
10
|
-
export function registerCleanup(fn) {
|
|
11
|
-
cleanupFunctions.push(fn);
|
|
12
|
-
}
|
|
13
|
-
export async function runExitCleanup() {
|
|
14
|
-
for (const fn of cleanupFunctions) {
|
|
15
|
-
try {
|
|
16
|
-
await fn();
|
|
17
|
-
}
|
|
18
|
-
catch (_) {
|
|
19
|
-
// Ignore errors during cleanup.
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
cleanupFunctions.length = 0; // Clear the array
|
|
23
|
-
}
|
|
24
|
-
export async function cleanupCheckpoints() {
|
|
25
|
-
const storage = new Storage(process.cwd());
|
|
26
|
-
const tempDir = storage.getProjectTempDir();
|
|
27
|
-
const checkpointsDir = join(tempDir, 'checkpoints');
|
|
28
|
-
try {
|
|
29
|
-
await fs.rm(checkpointsDir, { recursive: true, force: true });
|
|
30
|
-
}
|
|
31
|
-
catch {
|
|
32
|
-
// Ignore errors if the directory doesn't exist or fails to delete.
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=cleanup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cleanup.js","sourceRoot":"","sources":["../../../src/utils/cleanup.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,MAAM,gBAAgB,GAAgD,EAAE,CAAC;AAEzE,MAAM,UAAU,eAAe,CAAC,EAAwC;IACtE,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5B,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,cAAc;IAClC,KAAK,MAAM,EAAE,IAAI,gBAAgB,EAAE,CAAC;QAClC,IAAI,CAAC;YACH,MAAM,EAAE,EAAE,CAAC;QACb,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,gCAAgC;QAClC,CAAC;IACH,CAAC;IACD,gBAAgB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,kBAAkB;AACjD,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,kBAAkB;IACtC,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;IAC3C,MAAM,OAAO,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAC5C,MAAM,cAAc,GAAG,IAAI,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IACpD,IAAI,CAAC;QACH,MAAM,EAAE,CAAC,EAAE,CAAC,cAAc,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IAChE,CAAC;IAAC,MAAM,CAAC;QACP,mEAAmE;IACrE,CAAC;AACH,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import type { LoadedSettings } from '../config/settings.js';
|
|
7
|
-
import { SettingScope } from '../config/settings.js';
|
|
8
|
-
/**
|
|
9
|
-
* Shared scope labels for dialog components that need to display setting scopes
|
|
10
|
-
*/
|
|
11
|
-
export declare const SCOPE_LABELS: {
|
|
12
|
-
readonly User: "User Settings";
|
|
13
|
-
readonly Workspace: "Workspace Settings";
|
|
14
|
-
readonly System: "System Settings";
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Helper function to get scope items for radio button selects
|
|
18
|
-
*/
|
|
19
|
-
export declare function getScopeItems(): ({
|
|
20
|
-
label: "User Settings";
|
|
21
|
-
value: SettingScope;
|
|
22
|
-
} | {
|
|
23
|
-
label: "Workspace Settings";
|
|
24
|
-
value: SettingScope;
|
|
25
|
-
} | {
|
|
26
|
-
label: "System Settings";
|
|
27
|
-
value: SettingScope;
|
|
28
|
-
})[];
|
|
29
|
-
/**
|
|
30
|
-
* Generate scope message for a specific setting
|
|
31
|
-
*/
|
|
32
|
-
export declare function getScopeMessageForSetting(settingKey: string, selectedScope: SettingScope, settings: LoadedSettings): string;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { SettingScope } from '../config/settings.js';
|
|
7
|
-
import { settingExistsInScope } from './settingsUtils.js';
|
|
8
|
-
/**
|
|
9
|
-
* Shared scope labels for dialog components that need to display setting scopes
|
|
10
|
-
*/
|
|
11
|
-
export const SCOPE_LABELS = {
|
|
12
|
-
[SettingScope.User]: 'User Settings',
|
|
13
|
-
[SettingScope.Workspace]: 'Workspace Settings',
|
|
14
|
-
[SettingScope.System]: 'System Settings',
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Helper function to get scope items for radio button selects
|
|
18
|
-
*/
|
|
19
|
-
export function getScopeItems() {
|
|
20
|
-
return [
|
|
21
|
-
{ label: SCOPE_LABELS[SettingScope.User], value: SettingScope.User },
|
|
22
|
-
{
|
|
23
|
-
label: SCOPE_LABELS[SettingScope.Workspace],
|
|
24
|
-
value: SettingScope.Workspace,
|
|
25
|
-
},
|
|
26
|
-
{ label: SCOPE_LABELS[SettingScope.System], value: SettingScope.System },
|
|
27
|
-
];
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Generate scope message for a specific setting
|
|
31
|
-
*/
|
|
32
|
-
export function getScopeMessageForSetting(settingKey, selectedScope, settings) {
|
|
33
|
-
const otherScopes = Object.values(SettingScope).filter((scope) => scope !== selectedScope);
|
|
34
|
-
const modifiedInOtherScopes = otherScopes.filter((scope) => {
|
|
35
|
-
const scopeSettings = settings.forScope(scope).settings;
|
|
36
|
-
return settingExistsInScope(settingKey, scopeSettings);
|
|
37
|
-
});
|
|
38
|
-
if (modifiedInOtherScopes.length === 0) {
|
|
39
|
-
return '';
|
|
40
|
-
}
|
|
41
|
-
const modifiedScopesStr = modifiedInOtherScopes.join(', ');
|
|
42
|
-
const currentScopeSettings = settings.forScope(selectedScope).settings;
|
|
43
|
-
const existsInCurrentScope = settingExistsInScope(settingKey, currentScopeSettings);
|
|
44
|
-
return existsInCurrentScope
|
|
45
|
-
? `(Also modified in ${modifiedScopesStr})`
|
|
46
|
-
: `(Modified in ${modifiedScopesStr})`;
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=dialogScopeUtils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialogScopeUtils.js","sourceRoot":"","sources":["../../../src/utils/dialogScopeUtils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,eAAe;IACpC,CAAC,YAAY,CAAC,SAAS,CAAC,EAAE,oBAAoB;IAC9C,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,iBAAiB;CAChC,CAAC;AAEX;;GAEG;AACH,MAAM,UAAU,aAAa;IAC3B,OAAO;QACL,EAAE,KAAK,EAAE,YAAY,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,YAAY,CAAC,IAAI,EAAE;QACpE;YACE,KAAK,EAAE,YAAY,CAAC,YAAY,CAAC,SAAS,CAAC;YAC3C,KAAK,EAAE,YAAY,CAAC,SAAS;SAC9B;QACD,EAAE,KAAK,EAAE,YAAY,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,YAAY,CAAC,MAAM,EAAE;KACzE,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,yBAAyB,CACvC,UAAkB,EAClB,aAA2B,EAC3B,QAAwB;IAExB,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,MAAM,CACpD,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,aAAa,CACnC,CAAC;IAEF,MAAM,qBAAqB,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE;QACzD,MAAM,aAAa,GAAG,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC;QACxD,OAAO,oBAAoB,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;IACzD,CAAC,CAAC,CAAC;IAEH,IAAI,qBAAqB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACvC,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,MAAM,iBAAiB,GAAG,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3D,MAAM,oBAAoB,GAAG,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC;IACvE,MAAM,oBAAoB,GAAG,oBAAoB,CAC/C,UAAU,EACV,oBAAoB,CACrB,CAAC;IAEF,OAAO,oBAAoB;QACzB,CAAC,CAAC,qBAAqB,iBAAiB,GAAG;QAC3C,CAAC,CAAC,gBAAgB,iBAAiB,GAAG,CAAC;AAC3C,CAAC"}
|
package/dist/src/utils/errors.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
export function getErrorMessage(error) {
|
|
7
|
-
if (error instanceof Error) {
|
|
8
|
-
return error.message;
|
|
9
|
-
}
|
|
10
|
-
return String(error);
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=errors.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/utils/errors.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,UAAU,eAAe,CAAC,KAAc;IAC5C,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;QAC3B,OAAO,KAAK,CAAC,OAAO,CAAC;IACvB,CAAC;IACD,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { EventEmitter } from 'node:events';
|
|
7
|
-
export declare enum AppEvent {
|
|
8
|
-
OpenDebugConsole = "open-debug-console",
|
|
9
|
-
LogError = "log-error"
|
|
10
|
-
}
|
|
11
|
-
export declare const appEvents: EventEmitter<[never]>;
|
package/dist/src/utils/events.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { EventEmitter } from 'node:events';
|
|
7
|
-
export var AppEvent;
|
|
8
|
-
(function (AppEvent) {
|
|
9
|
-
AppEvent["OpenDebugConsole"] = "open-debug-console";
|
|
10
|
-
AppEvent["LogError"] = "log-error";
|
|
11
|
-
})(AppEvent || (AppEvent = {}));
|
|
12
|
-
export const appEvents = new EventEmitter();
|
|
13
|
-
//# sourceMappingURL=events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/utils/events.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,CAAN,IAAY,QAGX;AAHD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,kCAAsB,CAAA;AACxB,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,YAAY,EAAE,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Checks if a directory is within a git repository hosted on GitHub.
|
|
8
|
-
* @returns true if the directory is in a git repository with a github.com remote, false otherwise
|
|
9
|
-
*/
|
|
10
|
-
export declare const isGitHubRepository: () => boolean;
|
|
11
|
-
/**
|
|
12
|
-
* getGitRepoRoot returns the root directory of the git repository.
|
|
13
|
-
* @returns the path to the root of the git repo.
|
|
14
|
-
* @throws error if the exec command fails.
|
|
15
|
-
*/
|
|
16
|
-
export declare const getGitRepoRoot: () => string;
|
|
17
|
-
/**
|
|
18
|
-
* getLatestGitHubRelease returns the release tag as a string.
|
|
19
|
-
* @returns string of the release tag (e.g. "v1.2.3").
|
|
20
|
-
*/
|
|
21
|
-
export declare const getLatestGitHubRelease: (proxy?: string) => Promise<string>;
|
|
22
|
-
/**
|
|
23
|
-
* getGitHubRepoInfo returns the owner and repository for a GitHub repo.
|
|
24
|
-
* @returns the owner and repository of the github repo.
|
|
25
|
-
* @throws error if the exec command fails.
|
|
26
|
-
*/
|
|
27
|
-
export declare function getGitHubRepoInfo(): {
|
|
28
|
-
owner: string;
|
|
29
|
-
repo: string;
|
|
30
|
-
};
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { execSync } from 'node:child_process';
|
|
7
|
-
import { ProxyAgent } from 'undici';
|
|
8
|
-
/**
|
|
9
|
-
* Checks if a directory is within a git repository hosted on GitHub.
|
|
10
|
-
* @returns true if the directory is in a git repository with a github.com remote, false otherwise
|
|
11
|
-
*/
|
|
12
|
-
export const isGitHubRepository = () => {
|
|
13
|
-
try {
|
|
14
|
-
const remotes = (execSync('git remote -v', {
|
|
15
|
-
encoding: 'utf-8',
|
|
16
|
-
}) || '').trim();
|
|
17
|
-
const pattern = /github\.com/;
|
|
18
|
-
return pattern.test(remotes);
|
|
19
|
-
}
|
|
20
|
-
catch (_error) {
|
|
21
|
-
// If any filesystem error occurs, assume not a git repo
|
|
22
|
-
console.debug(`Failed to get git remote:`, _error);
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* getGitRepoRoot returns the root directory of the git repository.
|
|
28
|
-
* @returns the path to the root of the git repo.
|
|
29
|
-
* @throws error if the exec command fails.
|
|
30
|
-
*/
|
|
31
|
-
export const getGitRepoRoot = () => {
|
|
32
|
-
const gitRepoRoot = (execSync('git rev-parse --show-toplevel', {
|
|
33
|
-
encoding: 'utf-8',
|
|
34
|
-
}) || '').trim();
|
|
35
|
-
if (!gitRepoRoot) {
|
|
36
|
-
throw new Error(`Git repo returned empty value`);
|
|
37
|
-
}
|
|
38
|
-
return gitRepoRoot;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* getLatestGitHubRelease returns the release tag as a string.
|
|
42
|
-
* @returns string of the release tag (e.g. "v1.2.3").
|
|
43
|
-
*/
|
|
44
|
-
export const getLatestGitHubRelease = async (proxy) => {
|
|
45
|
-
try {
|
|
46
|
-
const controller = new AbortController();
|
|
47
|
-
const endpoint = `https://api.github.com/repos/google-github-actions/run-gemini-cli/releases/latest`;
|
|
48
|
-
const response = await fetch(endpoint, {
|
|
49
|
-
method: 'GET',
|
|
50
|
-
headers: {
|
|
51
|
-
Accept: 'application/vnd.github+json',
|
|
52
|
-
'Content-Type': 'application/json',
|
|
53
|
-
'X-GitHub-Api-Version': '2022-11-28',
|
|
54
|
-
},
|
|
55
|
-
dispatcher: proxy ? new ProxyAgent(proxy) : undefined,
|
|
56
|
-
signal: AbortSignal.any([AbortSignal.timeout(30_000), controller.signal]),
|
|
57
|
-
});
|
|
58
|
-
if (!response.ok) {
|
|
59
|
-
throw new Error(`Invalid response code: ${response.status} - ${response.statusText}`);
|
|
60
|
-
}
|
|
61
|
-
const releaseTag = (await response.json()).tag_name;
|
|
62
|
-
if (!releaseTag) {
|
|
63
|
-
throw new Error(`Response did not include tag_name field`);
|
|
64
|
-
}
|
|
65
|
-
return releaseTag;
|
|
66
|
-
}
|
|
67
|
-
catch (_error) {
|
|
68
|
-
console.debug(`Failed to determine latest run-gemini-cli release:`, _error);
|
|
69
|
-
throw new Error(`Unable to determine the latest run-gemini-cli release on GitHub.`);
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* getGitHubRepoInfo returns the owner and repository for a GitHub repo.
|
|
74
|
-
* @returns the owner and repository of the github repo.
|
|
75
|
-
* @throws error if the exec command fails.
|
|
76
|
-
*/
|
|
77
|
-
export function getGitHubRepoInfo() {
|
|
78
|
-
const remoteUrl = execSync('git remote get-url origin', {
|
|
79
|
-
encoding: 'utf-8',
|
|
80
|
-
}).trim();
|
|
81
|
-
// Matches either https://github.com/owner/repo.git or git@github.com:owner/repo.git
|
|
82
|
-
const match = remoteUrl.match(/(?:https?:\/\/|git@)github\.com(?::|\/)([^/]+)\/([^/]+?)(?:\.git)?$/);
|
|
83
|
-
// If the regex fails match, throw an error.
|
|
84
|
-
if (!match || !match[1] || !match[2]) {
|
|
85
|
-
throw new Error(`Owner & repo could not be extracted from remote URL: ${remoteUrl}`);
|
|
86
|
-
}
|
|
87
|
-
return { owner: match[1], repo: match[2] };
|
|
88
|
-
}
|
|
89
|
-
//# sourceMappingURL=gitUtils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gitUtils.js","sourceRoot":"","sources":["../../../src/utils/gitUtils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,QAAQ,EAA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E,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AAC7C,CAAC"}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { vi, describe, expect, it, afterEach, beforeEach } from 'vitest';
|
|
7
|
-
import * as child_process from 'node:child_process';
|
|
8
|
-
import { isGitHubRepository, getGitRepoRoot, getLatestGitHubRelease, getGitHubRepoInfo, } from './gitUtils.js';
|
|
9
|
-
vi.mock('child_process');
|
|
10
|
-
describe('isGitHubRepository', async () => {
|
|
11
|
-
beforeEach(() => {
|
|
12
|
-
vi.resetAllMocks();
|
|
13
|
-
});
|
|
14
|
-
afterEach(() => {
|
|
15
|
-
vi.restoreAllMocks();
|
|
16
|
-
});
|
|
17
|
-
it('returns false if the git command fails', async () => {
|
|
18
|
-
vi.mocked(child_process.execSync).mockImplementation(() => {
|
|
19
|
-
throw new Error('oops');
|
|
20
|
-
});
|
|
21
|
-
expect(isGitHubRepository()).toBe(false);
|
|
22
|
-
});
|
|
23
|
-
it('returns false if the remote is not github.com', async () => {
|
|
24
|
-
vi.mocked(child_process.execSync).mockReturnValueOnce('https://gitlab.com');
|
|
25
|
-
expect(isGitHubRepository()).toBe(false);
|
|
26
|
-
});
|
|
27
|
-
it('returns true if the remote is github.com', async () => {
|
|
28
|
-
vi.mocked(child_process.execSync).mockReturnValueOnce(`
|
|
29
|
-
origin https://github.com/sethvargo/gemini-cli (fetch)
|
|
30
|
-
origin https://github.com/sethvargo/gemini-cli (push)
|
|
31
|
-
`);
|
|
32
|
-
expect(isGitHubRepository()).toBe(true);
|
|
33
|
-
});
|
|
34
|
-
});
|
|
35
|
-
describe('getGitHubRepoInfo', async () => {
|
|
36
|
-
beforeEach(() => {
|
|
37
|
-
vi.resetAllMocks();
|
|
38
|
-
});
|
|
39
|
-
afterEach(() => {
|
|
40
|
-
vi.restoreAllMocks();
|
|
41
|
-
});
|
|
42
|
-
it('throws an error if github repo info cannot be determined', async () => {
|
|
43
|
-
vi.mocked(child_process.execSync).mockImplementation(() => {
|
|
44
|
-
throw new Error('oops');
|
|
45
|
-
});
|
|
46
|
-
expect(() => {
|
|
47
|
-
getGitHubRepoInfo();
|
|
48
|
-
}).toThrowError(/oops/);
|
|
49
|
-
});
|
|
50
|
-
it('throws an error if owner/repo could not be determined', async () => {
|
|
51
|
-
vi.mocked(child_process.execSync).mockReturnValueOnce('');
|
|
52
|
-
expect(() => {
|
|
53
|
-
getGitHubRepoInfo();
|
|
54
|
-
}).toThrowError(/Owner & repo could not be extracted from remote URL/);
|
|
55
|
-
});
|
|
56
|
-
it('returns the owner and repo', async () => {
|
|
57
|
-
vi.mocked(child_process.execSync).mockReturnValueOnce('https://github.com/owner/repo.git ');
|
|
58
|
-
expect(getGitHubRepoInfo()).toEqual({ owner: 'owner', repo: 'repo' });
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
describe('getGitRepoRoot', async () => {
|
|
62
|
-
beforeEach(() => {
|
|
63
|
-
vi.resetAllMocks();
|
|
64
|
-
});
|
|
65
|
-
afterEach(() => {
|
|
66
|
-
vi.restoreAllMocks();
|
|
67
|
-
});
|
|
68
|
-
it('throws an error if git root cannot be determined', async () => {
|
|
69
|
-
vi.mocked(child_process.execSync).mockImplementation(() => {
|
|
70
|
-
throw new Error('oops');
|
|
71
|
-
});
|
|
72
|
-
expect(() => {
|
|
73
|
-
getGitRepoRoot();
|
|
74
|
-
}).toThrowError(/oops/);
|
|
75
|
-
});
|
|
76
|
-
it('throws an error if git root is empty', async () => {
|
|
77
|
-
vi.mocked(child_process.execSync).mockReturnValueOnce('');
|
|
78
|
-
expect(() => {
|
|
79
|
-
getGitRepoRoot();
|
|
80
|
-
}).toThrowError(/Git repo returned empty value/);
|
|
81
|
-
});
|
|
82
|
-
it('returns the root', async () => {
|
|
83
|
-
vi.mocked(child_process.execSync).mockReturnValueOnce('/path/to/git/repo');
|
|
84
|
-
expect(getGitRepoRoot()).toBe('/path/to/git/repo');
|
|
85
|
-
});
|
|
86
|
-
});
|
|
87
|
-
describe('getLatestRelease', async () => {
|
|
88
|
-
beforeEach(() => {
|
|
89
|
-
vi.resetAllMocks();
|
|
90
|
-
});
|
|
91
|
-
afterEach(() => {
|
|
92
|
-
vi.restoreAllMocks();
|
|
93
|
-
});
|
|
94
|
-
it('throws an error if the fetch fails', async () => {
|
|
95
|
-
global.fetch = vi.fn(() => Promise.reject('nope'));
|
|
96
|
-
await expect(getLatestGitHubRelease()).rejects.toThrowError(/Unable to determine the latest/);
|
|
97
|
-
});
|
|
98
|
-
it('throws an error if the fetch does not return a json body', async () => {
|
|
99
|
-
global.fetch = vi.fn(() => Promise.resolve({
|
|
100
|
-
ok: true,
|
|
101
|
-
json: () => Promise.resolve({ foo: 'bar' }),
|
|
102
|
-
}));
|
|
103
|
-
await expect(getLatestGitHubRelease()).rejects.toThrowError(/Unable to determine the latest/);
|
|
104
|
-
});
|
|
105
|
-
it('returns the release version', async () => {
|
|
106
|
-
global.fetch = vi.fn(() => Promise.resolve({
|
|
107
|
-
ok: true,
|
|
108
|
-
json: () => Promise.resolve({ tag_name: 'v1.2.3' }),
|
|
109
|
-
}));
|
|
110
|
-
await expect(getLatestGitHubRelease()).resolves.toBe('v1.2.3');
|
|
111
|
-
});
|
|
112
|
-
});
|
|
113
|
-
//# sourceMappingURL=gitUtils.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gitUtils.test.js","sourceRoot":"","sources":["../../../src/utils/gitUtils.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,QAA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@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import type { UpdateObject } from '../ui/utils/updateCheck.js';
|
|
7
|
-
import type { LoadedSettings } from '../config/settings.js';
|
|
8
|
-
import type { HistoryItem } from '../ui/types.js';
|
|
9
|
-
import type { spawn } from 'node:child_process';
|
|
10
|
-
export declare function handleAutoUpdate(info: UpdateObject | null, settings: LoadedSettings, projectRoot: string, spawnFn?: typeof spawn): import("child_process").ChildProcessWithoutNullStreams | undefined;
|
|
11
|
-
export declare function setUpdateHandler(addItem: (item: Omit<HistoryItem, 'id'>, timestamp: number) => void, setUpdateInfo: (info: UpdateObject | null) => void): () => void;
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { getInstallationInfo } from './installationInfo.js';
|
|
7
|
-
import { updateEventEmitter } from './updateEventEmitter.js';
|
|
8
|
-
import { MessageType } from '../ui/types.js';
|
|
9
|
-
import { spawnWrapper } from './spawnWrapper.js';
|
|
10
|
-
export function handleAutoUpdate(info, settings, projectRoot, spawnFn = spawnWrapper) {
|
|
11
|
-
if (!info) {
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
if (settings.merged.general?.disableUpdateNag) {
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
const installationInfo = getInstallationInfo(projectRoot, settings.merged.general?.disableAutoUpdate ?? false);
|
|
18
|
-
let combinedMessage = info.message;
|
|
19
|
-
if (installationInfo.updateMessage) {
|
|
20
|
-
combinedMessage += `\n${installationInfo.updateMessage}`;
|
|
21
|
-
}
|
|
22
|
-
updateEventEmitter.emit('update-received', {
|
|
23
|
-
message: combinedMessage,
|
|
24
|
-
});
|
|
25
|
-
if (!installationInfo.updateCommand ||
|
|
26
|
-
settings.merged.general?.disableAutoUpdate) {
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
const isNightly = info.update.latest.includes('nightly');
|
|
30
|
-
const updateCommand = installationInfo.updateCommand.replace('@latest', isNightly ? '@nightly' : `@${info.update.latest}`);
|
|
31
|
-
const updateProcess = spawnFn(updateCommand, { stdio: 'pipe', shell: true });
|
|
32
|
-
let errorOutput = '';
|
|
33
|
-
updateProcess.stderr.on('data', (data) => {
|
|
34
|
-
errorOutput += data.toString();
|
|
35
|
-
});
|
|
36
|
-
updateProcess.on('close', (code) => {
|
|
37
|
-
if (code === 0) {
|
|
38
|
-
updateEventEmitter.emit('update-success', {
|
|
39
|
-
message: 'Update successful! The new version will be used on your next run.',
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
updateEventEmitter.emit('update-failed', {
|
|
44
|
-
message: `Automatic update failed. Please try updating manually. (command: ${updateCommand}, stderr: ${errorOutput.trim()})`,
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
updateProcess.on('error', (err) => {
|
|
49
|
-
updateEventEmitter.emit('update-failed', {
|
|
50
|
-
message: `Automatic update failed. Please try updating manually. (error: ${err.message})`,
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
return updateProcess;
|
|
54
|
-
}
|
|
55
|
-
export function setUpdateHandler(addItem, setUpdateInfo) {
|
|
56
|
-
let successfullyInstalled = false;
|
|
57
|
-
const handleUpdateRecieved = (info) => {
|
|
58
|
-
setUpdateInfo(info);
|
|
59
|
-
const savedMessage = info.message;
|
|
60
|
-
setTimeout(() => {
|
|
61
|
-
if (!successfullyInstalled) {
|
|
62
|
-
addItem({
|
|
63
|
-
type: MessageType.INFO,
|
|
64
|
-
text: savedMessage,
|
|
65
|
-
}, Date.now());
|
|
66
|
-
}
|
|
67
|
-
setUpdateInfo(null);
|
|
68
|
-
}, 60000);
|
|
69
|
-
};
|
|
70
|
-
const handleUpdateFailed = () => {
|
|
71
|
-
setUpdateInfo(null);
|
|
72
|
-
addItem({
|
|
73
|
-
type: MessageType.ERROR,
|
|
74
|
-
text: `Automatic update failed. Please try updating manually`,
|
|
75
|
-
}, Date.now());
|
|
76
|
-
};
|
|
77
|
-
const handleUpdateSuccess = () => {
|
|
78
|
-
successfullyInstalled = true;
|
|
79
|
-
setUpdateInfo(null);
|
|
80
|
-
addItem({
|
|
81
|
-
type: MessageType.INFO,
|
|
82
|
-
text: `Update successful! The new version will be used on your next run.`,
|
|
83
|
-
}, Date.now());
|
|
84
|
-
};
|
|
85
|
-
const handleUpdateInfo = (data) => {
|
|
86
|
-
addItem({
|
|
87
|
-
type: MessageType.INFO,
|
|
88
|
-
text: data.message,
|
|
89
|
-
}, Date.now());
|
|
90
|
-
};
|
|
91
|
-
updateEventEmitter.on('update-received', handleUpdateRecieved);
|
|
92
|
-
updateEventEmitter.on('update-failed', handleUpdateFailed);
|
|
93
|
-
updateEventEmitter.on('update-success', handleUpdateSuccess);
|
|
94
|
-
updateEventEmitter.on('update-info', handleUpdateInfo);
|
|
95
|
-
return () => {
|
|
96
|
-
updateEventEmitter.off('update-received', handleUpdateRecieved);
|
|
97
|
-
updateEventEmitter.off('update-failed', handleUpdateFailed);
|
|
98
|
-
updateEventEmitter.off('update-success', handleUpdateSuccess);
|
|
99
|
-
updateEventEmitter.off('update-info', handleUpdateInfo);
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
//# sourceMappingURL=handleAutoUpdate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handleAutoUpdate.js","sourceRoot":"","sources":["../../../src/utils/handleAutoUpdate.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,EAAE,WAAW,EAAE,M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