@sourcegraph/amp 0.0.1751270525-gdc4084 → 0.0.1751299324-g825669
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/amp.js +17 -16
- package/package.json +1 -1
package/dist/amp.js
CHANGED
@@ -2317,7 +2317,7 @@ const el = "todo_write", i1 = "todo_read", nht = ({ args: t }, e) => Gs(async ()
|
|
2317
2317
|
source: "builtin"
|
2318
2318
|
},
|
2319
2319
|
fn: iht
|
2320
|
-
}, oht = /* @__PURE__ */ JSON.parse(`{"viewsContainers":{"activitybar":[{"id":"sourcegraph-amp","title":"Amp","icon":"./resources/amp-mark.svg"}]},"views":{"sourcegraph-amp":[{"type":"webview","id":"amp.sidebarView","name":"Amp","icon":"./resources/amp-mark.svg","visibility":"visible"}]},"commands":[{"command":"amp.agent.newThread","title":"New Thread","category":"Amp","icon":"$(add)"},{"command":"amp.agent.newWindow","title":"New Agent Window","category":"Amp","icon":"$(browser)","enablement":"amp.activated"},{"command":"amp.agent.toggleVisibility","title":"Toggle Agent","category":"Amp"},{"command":"amp.agent.focusPromptEditor","title":"Focus Prompt Editor","category":"Amp"},{"command":"amp.agent.addSelectionToPromptEditor","title":"Add Selection to Prompt","category":"Amp","enablement":"editorHasSelection"},{"command":"amp.agent.setPromptFromRecentActions","title":"Create Prompt from Recent Actions","category":"Amp"},{"command":"amp.agent.findInThread","title":"Find in Thread","category":"Amp","enablement":"amp.agent.active"},{"command":"amp.agent.collapseAllInThread","title":"Collapse all blocks in thread","category":"Amp"},{"command":"amp.agent.expandAllInThread","title":"Expand all blocks in thread","category":"Amp"},{"command":"amp.agent.expandToggleInThread","title":"Toggle expand all blocks in thread","category":"Amp"},{"command":"amp.agent.toggleThreadSwitcher","title":"Switch to Thread...","category":"Amp","enablement":"amp.agent.active"},{"command":"amp.agent.navigateThreadPrevious","title":"Navigate to Previous Thread","category":"Amp","enablement":"amp.agent.active && amp.agent.activeView == 'sidebar'"},{"command":"amp.agent.navigateThreadNext","title":"Navigate to Next Thread","category":"Amp","enablement":"amp.agent.active && amp.agent.activeView == 'sidebar'"},{"command":"amp.openThreadJSON","title":"Open Thread JSON","category":"Amp","enablement":"amp.isDevelopmentMode"},{"command":"amp.testThreadSummary","title":"Test Thread Summary","category":"Amp","enablement":"amp.isDevelopmentMode"},{"command":"amp.tab.showDebugPanel","title":"Show Amp Tab Debug Panel","category":"Amp","icon":"$(debug)","enablement":"amp.activated && config.amp.tab.enabled"},{"command":"amp.tab.manualTrigger","title":"Amp Tab Manual Trigger","category":"Amp","enablement":"amp.activated && config.amp.tab.enabled"},{"command":"amp.tab.toggleForCurrentDocument","title":"Toggle Amp Tab for Current Document","category":"Amp","enablement":"amp.activated && config.amp.tab.enabled"},{"command":"amp.tab.debugInfo","title":"Open Amp Tab Debug Info","category":"Amp","enablement":"amp.activated && config.amp.tab.enabled"},{"command":"amp.mcp.restartServers","title":"Restart MCP Servers","category":"Amp"}],"menus":{"editor/context":[{"command":"amp.agent.addSelectionToPromptEditor","when":"editorHasSelection","group":"amp@1"}]},"keybindings":[{"command":"amp.agent.newThread","key":"ctrl+l","mac":"cmd+l","when":"amp.primaryShortcuts"},{"command":"amp.agent.newThread","key":"ctrl+alt+j","mac":"cmd+alt+j","when":"!amp.primaryShortcuts"},{"command":"amp.agent.newWindow","key":"ctrl+shift+l","mac":"cmd+shift+l"},{"command":"amp.agent.toggleVisibility","key":"ctrl+i","mac":"cmd+i","when":"amp.primaryShortcuts"},{"command":"amp.agent.toggleVisibility","key":"ctrl+alt+u","mac":"cmd+alt+u","when":"!amp.primaryShortcuts"},{"command":"amp.agent.findInThread","key":"ctrl+f","mac":"cmd+f","when":"amp.agent.active"},{"command":"amp.agent.toggleThreadSwitcher","key":"ctrl+k","mac":"cmd+k","when":"amp.agent.active"},{"command":"amp.agent.navigateThreadPrevious","key":"ctrl+shift+[","mac":"cmd+shift+[","when":"amp.agent.active && amp.agent.activeView == 'sidebar'"},{"command":"amp.agent.navigateThreadNext","key":"ctrl+shift+]","mac":"cmd+shift+]","when":"amp.agent.active && amp.agent.activeView == 'sidebar'"},{"command":"-extension.vim_tab","key":"tab","when":"editorTextFocus && vim.active && vim.mode != 'Insert' && !inlineEditIsVisible && !inDebugRepl"},{"command":"-vscode-neovim.send","key":"tab","when":"neovim.init && (editorTextFocus && neovim.mode != insert && editorLangId not in neovim.editorLangIdExclusions || neovim.recording)"},{"command":"amp.tab.accept","key":"tab","when":"editorTextFocus && amp.activated && amp.tab.active && !amp.nextCursorSuggested"},{"command":"amp.tab.dismiss","key":"escape","when":"editorTextFocus && amp.activated && amp.tab.active && !amp.nextCursorSuggested && !suggestWidgetVisible"},{"command":"amp.nextCursor.accept","key":"tab","when":"editorTextFocus && amp.activated && amp.nextCursorSuggested"},{"command":"amp.nextCursor.discard","key":"escape","when":"editorTextFocus && amp.activated && amp.nextCursorSuggested && !suggestWidgetVisible"},{"command":"amp.autoImport.accept","key":"tab","when":"editorTextFocus && amp.activated && config.amp.tab.enabled && amp.autoImportSuggested"},{"command":"amp.autoImport.discard","key":"escape","when":"editorTextFocus && amp.activated && config.amp.tab.enabled && amp.autoImportSuggested"}],"configuration":{"type":"object","title":"Amp","properties":{"amp.url":{"type":"string","examples":["https://ampcode.com/"],"description":"URL to the Amp server, usually https://ampcode.com/","scope":"application"},"amp.notifications.enabled":{"type":"boolean","default":true,"description":"Play notification sound when done or blocked","scope":"window"},"amp.mcpServers":{"type":"object","description":"Model Context Protocol servers that expose tools","additionalProperties":{"type":"object","oneOf":[{"properties":{"command":{"type":"string"},"args":{"type":"array","items":{"type":"string"}},"env":{"type":"object","additionalProperties":{"type":"string"}}},"required":["command"]},{"properties":{"url":{"type":"string"}},"required":["url"]}]}},"amp.tools.disable":{"type":"array","description":"Disable specific tools by name.","items":{"type":"string"},"default":[]},"amp.experimental.tools":{"type":"array","description":"Enable experimental tools by name. Available tools: call_openai","items":{"type":"string"},"default":[],"scope":"application"},"amp.commands.allowlist":{"type":"array","description":"Run specific terminal commands without waiting for user confirmation. Each item in the array is a prefix. For example, \\"curl https://localhost:8080\\" means that command and any command that starts with that prefix can be run without user confirmation.\\n\\nIf any of the array items is \\"*\\", all commands will be run without user confirmation (DANGER: USE AT YOUR OWN RISK).","items":{"type":"string"},"default":[],"scope":"window"},"amp.commands.strict":{"type":"boolean","default":false,"description":"Enable strict command validation. When disabled, certain commands like Bazel get relaxed path validation.","scope":"application"},"amp.anthropic.thinking.enabled":{"type":"boolean","default":true,"description":"Enable Claude's extended thinking capabilities","scope":"application"},"amp.terminal.commands.hide":{"type":"boolean","default":true,"description":"Whether to hide the integrated VS Code terminal by default when starting commands","scope":"application"},"amp.terminal.commands.environment":{"type":"string","default":"vscode-terminal","enum":["vscode-terminal","node-spawn"],"description":"What environment to use when running terminal commands","scope":"application"},"amp.tools.stopTimeout":{"type":"number","default":300,"description":"How many seconds to wait before canceling a running tool.","scope":"application"},"amp.terminal.commands.vscodeTerminal.shellPath":{"type":"string","default":null,"description":"A path to a custom shell executable to be used in the terminal. When null, uses the default integrated terminal profile from the setting 'Terminal > Integrated > Default Profile'","scope":"application"},"amp.terminal.commands.vscodeTerminal.fileBasedExitDetection":{"type":"boolean","default":false,"description":"Whether to use file-based detection for when terminal commands exit. Only enable this if you use bash and are experiencing hanging commands. This feature likely does not help if you are using Zsh or Fish. When enabled, Amp modifies the invoked command to additionally create an empty file, which we file-watch to detect when a command has finished exiting.","scope":"application"},"amp.terminal.commands.vscodeTerminal.shellArgs":{"type":"array","items":{"type":"string"},"default":null,"description":"Args for the custom shell executable. Only used when 'amp.terminal.commands.vscodeTerminal.shellPath' is set.","scope":"application"},"amp.terminal.commands.vscodeTerminal.detachTimeout":{"type":"number","default":90,"description":"How many seconds to wait before detaching a running command to continue the conversation. The command continues to run in the background. This setting only has an effect when using the vscode-terminal environment.","scope":"application"},"amp.terminal.commands.nodeSpawn.loadProfile":{"type":"string","enum":["always","never","daily"],"default":"always","description":"Before running commands (including MCP servers), whether to load environment variables from the user's profile (.bashrc, .zshrc, .envrc) as visible from the workspace root directory.","scope":"application"},"amp.todos.enabled":{"type":"boolean","default":true,"description":"Enable TODOs tracking for managing tasks","scope":"application"},"amp.mode":{"type":"string","enum":["isolated","connected"],"deprecationMessage":"Isolated Mode is no longer supported. See https://ampcode.com/news/no-more-byok.","default":"connected","scope":"application"},"amp.hooks":{"type":"array","scope":"window","description":"[Experimental] Hooks are event handlers that can react to specific conditions.","items":{"type":"object","properties":{"compatibilityDate":{"type":"string","const":"2025-05-13","default":"2025-05-13","description":"The version of the hook schema that this value was written to conform to"},"id":{"type":"string","description":"A unique identifier for the hook","examples":["run-vitest-with-env-vars"]},"description":{"type":"string","description":"A description of the hook"},"on":{"oneOf":[{"type":"object","properties":{"event":{"type":"string","const":"tool:pre-execute","default":"tool:pre-execute","description":"Trigger when a tool is about to be executed"},"tool":{"oneOf":[{"type":"string","description":"Tool name to match (e.g., 'edit_file')"},{"type":"array","items":{"type":"string"},"description":"Tool names to match"}],"description":"Trigger for the given tool name(s)"},"input.contains":{"oneOf":[{"type":"string","description":"String pattern to match in the tool input"},{"type":"array","items":{"type":"string"},"description":"String patterns to match in the tool input"}],"description":"Trigger only when the tool input contains the given literal string or strings"}},"required":["event","tool","input.contains"]},{"type":"object","properties":{"event":{"type":"string","const":"tool:post-execute","default":"tool:post-execute","description":"Trigger after a tool has been executed"},"tool":{"oneOf":[{"type":"string","description":"Tool name to match (e.g., 'edit_file')"},{"type":"array","items":{"type":"string"},"description":"Tool names to match"}],"description":"Trigger for the given tool name(s)"}},"required":["event","tool"]}]},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"send-user-message","default":"send-user-message","description":"Send a user message to interrupt the agent and cancel the tool call in the \`tool:pre-execute\` trigger before it starts to run"},"message":{"type":"string","description":"The text of the message to send"}},"required":["type","message"]},{"type":"object","properties":{"type":{"type":"string","const":"redact-tool-input","default":"redact-tool-input","description":"Redact the tool input after execution. Only allowed with \`tool:post-execute\` event."},"redactedInput":{"type":"object","description":"The replacement input data to use instead of the original tool input (must be an object)"}},"required":["type","redactedInput"]}]},"if":{"type":"boolean","description":"A condition that determines whether the hook should be executed","default":true}},"required":["compatibilityDate","id","on","action"]},"default":[]},"amp.tab.enabled":{"type":"boolean","default":false,"description":"Enable Amp Tab","scope":"application"},"amp.tab.verboseLogs":{"type":"boolean","default":false,"description":"Enable verbose logging for Amp Tab","scope":"application"},"amp.debugLogs":{"type":"boolean","default":false,"description":"Enable debug logging in the Amp output channel","scope":"application"},"amp.tab.disabledLanguages":{"type":"array","items":{"type":"string"},"default":[],"examples":["markdown","python"],"description":"List of language IDs for which Amp Tab is disabled","scope":"application"},"amp.tab.disableOnComment":{"type":"boolean","default":false,"description":"Disable Amp Tab completions on comment lines","scope":"application"},"amp.tab.autoImport.enabled":{"type":"boolean","default":true,"description":"Enable auto import in Amp Tab","scope":"application"},"amp.experimental.connections":{"type":"boolean","default":false,"description":"Enable external connections to provide additional tools to Amp","scope":"application"},"amp.ui.zoomLevel":{"type":"number","default":1,"description":"Zoom level for the Amp UI","scope":"application"},"amp.experimental.reviewTool":{"type":"boolean","default":false,"description":"Experimental: Enable the summarize_git_diff tool.","scope":"application"},"amp.summary.provider":{"type":"string","enum":["anthropic","gemini"],"default":"gemini","description":"Experimental: change summary provider.","scope":"application"}}},"icons":{"amp-agent-file":{"description":"Amp agent file","default":{"fontPath":"resources/amp-icons.woff","fontCharacter":"\\\\0041"}}}}`), lht = {
|
2320
|
+
}, oht = /* @__PURE__ */ JSON.parse(`{"viewsContainers":{"activitybar":[{"id":"sourcegraph-amp","title":"Amp","icon":"./resources/amp-mark.svg"}]},"views":{"sourcegraph-amp":[{"type":"webview","id":"amp.sidebarView","name":"Amp","icon":"./resources/amp-mark.svg","visibility":"visible"}]},"commands":[{"command":"amp.agent.newThread","title":"New Thread","category":"Amp","icon":"$(add)"},{"command":"amp.agent.newWindow","title":"New Agent Window","category":"Amp","icon":"$(browser)","enablement":"amp.activated"},{"command":"amp.agent.toggleVisibility","title":"Toggle Agent","category":"Amp"},{"command":"amp.agent.focusPromptEditor","title":"Focus Prompt Editor","category":"Amp"},{"command":"amp.agent.addSelectionToPromptEditor","title":"Add Selection to Prompt","category":"Amp","enablement":"editorHasSelection"},{"command":"amp.agent.setPromptFromRecentActions","title":"Create Prompt from Recent Actions","category":"Amp"},{"command":"amp.agent.findInThread","title":"Find in Thread","category":"Amp","enablement":"amp.agent.active"},{"command":"amp.agent.collapseAllInThread","title":"Collapse all blocks in thread","category":"Amp"},{"command":"amp.agent.expandAllInThread","title":"Expand all blocks in thread","category":"Amp"},{"command":"amp.agent.expandToggleInThread","title":"Toggle expand all blocks in thread","category":"Amp"},{"command":"amp.agent.toggleThreadSwitcher","title":"Switch to Thread...","category":"Amp","enablement":"amp.agent.active"},{"command":"amp.agent.navigateThreadPrevious","title":"Navigate to Previous Thread","category":"Amp","enablement":"amp.agent.active && amp.agent.activeView == 'sidebar'"},{"command":"amp.agent.navigateThreadNext","title":"Navigate to Next Thread","category":"Amp","enablement":"amp.agent.active && amp.agent.activeView == 'sidebar'"},{"command":"amp.openThreadJSON","title":"Open Thread JSON","category":"Amp","enablement":"amp.isDevelopmentMode"},{"command":"amp.testThreadSummary","title":"Test Thread Summary","category":"Amp","enablement":"amp.isDevelopmentMode"},{"command":"amp.tab.showDebugPanel","title":"Show Amp Tab Debug Panel","category":"Amp","icon":"$(debug)","enablement":"amp.activated && config.amp.tab.enabled"},{"command":"amp.tab.manualTrigger","title":"Amp Tab Manual Trigger","category":"Amp","enablement":"amp.activated && config.amp.tab.enabled"},{"command":"amp.tab.toggleForCurrentDocument","title":"Toggle Amp Tab for Current Document","category":"Amp","enablement":"amp.activated && config.amp.tab.enabled"},{"command":"amp.tab.debugInfo","title":"Open Amp Tab Debug Info","category":"Amp","enablement":"amp.activated && config.amp.tab.enabled"},{"command":"amp.mcp.restartServers","title":"Restart MCP Servers","category":"Amp"}],"menus":{"editor/context":[{"command":"amp.agent.addSelectionToPromptEditor","when":"editorHasSelection","group":"amp@1"}]},"keybindings":[{"command":"amp.agent.newThread","key":"ctrl+l","mac":"cmd+l","when":"amp.primaryShortcuts"},{"command":"amp.agent.newThread","key":"ctrl+alt+j","mac":"cmd+alt+j","when":"!amp.primaryShortcuts"},{"command":"amp.agent.newWindow","key":"ctrl+shift+l","mac":"cmd+shift+l"},{"command":"amp.agent.toggleVisibility","key":"ctrl+i","mac":"cmd+i","when":"amp.primaryShortcuts"},{"command":"amp.agent.toggleVisibility","key":"ctrl+alt+u","mac":"cmd+alt+u","when":"!amp.primaryShortcuts"},{"command":"amp.agent.findInThread","key":"ctrl+f","mac":"cmd+f","when":"amp.agent.active"},{"command":"amp.agent.toggleThreadSwitcher","key":"ctrl+k","mac":"cmd+k","when":"amp.agent.active"},{"command":"amp.agent.navigateThreadPrevious","key":"ctrl+shift+[","mac":"cmd+shift+[","when":"amp.agent.active && amp.agent.activeView == 'sidebar'"},{"command":"amp.agent.navigateThreadNext","key":"ctrl+shift+]","mac":"cmd+shift+]","when":"amp.agent.active && amp.agent.activeView == 'sidebar'"},{"command":"-extension.vim_tab","key":"tab","when":"editorTextFocus && vim.active && vim.mode != 'Insert' && !inlineEditIsVisible && !inDebugRepl"},{"command":"-vscode-neovim.send","key":"tab","when":"neovim.init && (editorTextFocus && neovim.mode != insert && editorLangId not in neovim.editorLangIdExclusions || neovim.recording)"},{"command":"amp.tab.accept","key":"tab","when":"editorTextFocus && amp.activated && amp.tab.active && !amp.nextCursorSuggested"},{"command":"amp.tab.dismiss","key":"escape","when":"editorTextFocus && amp.activated && amp.tab.active && !amp.nextCursorSuggested && !suggestWidgetVisible"},{"command":"amp.nextCursor.accept","key":"tab","when":"editorTextFocus && amp.activated && amp.nextCursorSuggested"},{"command":"amp.nextCursor.discard","key":"escape","when":"editorTextFocus && amp.activated && amp.nextCursorSuggested && !suggestWidgetVisible"},{"command":"amp.autoImport.accept","key":"tab","when":"editorTextFocus && amp.activated && config.amp.tab.enabled && amp.autoImportSuggested"},{"command":"amp.autoImport.discard","key":"escape","when":"editorTextFocus && amp.activated && config.amp.tab.enabled && amp.autoImportSuggested"}],"configuration":{"type":"object","title":"Amp","properties":{"amp.url":{"type":"string","examples":["https://ampcode.com/"],"description":"URL to the Amp server, usually https://ampcode.com/","scope":"application"},"amp.notifications.enabled":{"type":"boolean","default":true,"description":"Play notification sound when done or blocked","scope":"window"},"amp.mcpServers":{"type":"object","description":"Model Context Protocol servers that expose tools","additionalProperties":{"type":"object","oneOf":[{"properties":{"command":{"type":"string"},"args":{"type":"array","items":{"type":"string"}},"env":{"type":"object","additionalProperties":{"type":"string"}}},"required":["command"]},{"properties":{"url":{"type":"string"}},"required":["url"]}]}},"amp.tools.disable":{"type":"array","description":"Disable specific tools by name.","items":{"type":"string"},"default":[]},"amp.experimental.tools":{"type":"array","description":"Enable experimental tools by name. Available tools: call_openai","items":{"type":"string"},"default":[],"scope":"application"},"amp.commands.allowlist":{"type":"array","description":"Run specific terminal commands without waiting for user confirmation. Each item in the array is a prefix. For example, \\"curl https://localhost:8080\\" means that command and any command that starts with that prefix can be run without user confirmation.\\n\\nIf any of the array items is \\"*\\", all commands will be run without user confirmation (DANGER: USE AT YOUR OWN RISK).","items":{"type":"string"},"default":[],"scope":"window"},"amp.commands.strict":{"type":"boolean","default":false,"description":"Enable strict command validation. When disabled, certain commands like Bazel get relaxed path validation.","scope":"application"},"amp.anthropic.thinking.enabled":{"type":"boolean","default":true,"description":"Enable Claude's extended thinking capabilities","scope":"application"},"amp.terminal.commands.hide":{"type":"boolean","default":true,"description":"Whether to hide the integrated VS Code terminal by default when starting commands","scope":"application"},"amp.terminal.commands.environment":{"type":"string","default":"vscode-terminal","enum":["vscode-terminal","node-spawn"],"description":"What environment to use when running terminal commands","scope":"application"},"amp.tools.stopTimeout":{"type":"number","default":300,"description":"How many seconds to wait before canceling a running tool.","scope":"application"},"amp.terminal.commands.vscodeTerminal.shellPath":{"type":"string","default":null,"description":"A path to a custom shell executable to be used in the terminal. When null, uses the default integrated terminal profile from the setting 'Terminal > Integrated > Default Profile'","scope":"application"},"amp.terminal.commands.vscodeTerminal.shellArgs":{"type":"array","items":{"type":"string"},"default":null,"description":"Args for the custom shell executable. Only used when 'amp.terminal.commands.vscodeTerminal.shellPath' is set.","scope":"application"},"amp.terminal.commands.vscodeTerminal.detachTimeout":{"type":"number","default":90,"description":"How many seconds to wait before detaching a running command to continue the conversation. The command continues to run in the background. This setting only has an effect when using the vscode-terminal environment.","scope":"application"},"amp.terminal.commands.nodeSpawn.loadProfile":{"type":"string","enum":["always","never","daily"],"default":"always","description":"Before running commands (including MCP servers), whether to load environment variables from the user's profile (.bashrc, .zshrc, .envrc) as visible from the workspace root directory.","scope":"application"},"amp.todos.enabled":{"type":"boolean","default":true,"description":"Enable TODOs tracking for managing tasks","scope":"application"},"amp.mode":{"type":"string","enum":["isolated","connected"],"deprecationMessage":"Isolated Mode is no longer supported. See https://ampcode.com/news/no-more-byok.","default":"connected","scope":"application"},"amp.hooks":{"type":"array","scope":"window","description":"[Experimental] Hooks are event handlers that can react to specific conditions.","items":{"type":"object","properties":{"compatibilityDate":{"type":"string","const":"2025-05-13","default":"2025-05-13","description":"The version of the hook schema that this value was written to conform to"},"id":{"type":"string","description":"A unique identifier for the hook","examples":["run-vitest-with-env-vars"]},"description":{"type":"string","description":"A description of the hook"},"on":{"oneOf":[{"type":"object","properties":{"event":{"type":"string","const":"tool:pre-execute","default":"tool:pre-execute","description":"Trigger when a tool is about to be executed"},"tool":{"oneOf":[{"type":"string","description":"Tool name to match (e.g., 'edit_file')"},{"type":"array","items":{"type":"string"},"description":"Tool names to match"}],"description":"Trigger for the given tool name(s)"},"input.contains":{"oneOf":[{"type":"string","description":"String pattern to match in the tool input"},{"type":"array","items":{"type":"string"},"description":"String patterns to match in the tool input"}],"description":"Trigger only when the tool input contains the given literal string or strings"}},"required":["event","tool","input.contains"]},{"type":"object","properties":{"event":{"type":"string","const":"tool:post-execute","default":"tool:post-execute","description":"Trigger after a tool has been executed"},"tool":{"oneOf":[{"type":"string","description":"Tool name to match (e.g., 'edit_file')"},{"type":"array","items":{"type":"string"},"description":"Tool names to match"}],"description":"Trigger for the given tool name(s)"}},"required":["event","tool"]}]},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"send-user-message","default":"send-user-message","description":"Send a user message to interrupt the agent and cancel the tool call in the \`tool:pre-execute\` trigger before it starts to run"},"message":{"type":"string","description":"The text of the message to send"}},"required":["type","message"]},{"type":"object","properties":{"type":{"type":"string","const":"redact-tool-input","default":"redact-tool-input","description":"Redact the tool input after execution. Only allowed with \`tool:post-execute\` event."},"redactedInput":{"type":"object","description":"The replacement input data to use instead of the original tool input (must be an object)"}},"required":["type","redactedInput"]}]},"if":{"type":"boolean","description":"A condition that determines whether the hook should be executed","default":true}},"required":["compatibilityDate","id","on","action"]},"default":[]},"amp.tab.enabled":{"type":"boolean","default":false,"description":"Enable Amp Tab","scope":"application"},"amp.tab.verboseLogs":{"type":"boolean","default":false,"description":"Enable verbose logging for Amp Tab","scope":"application"},"amp.debugLogs":{"type":"boolean","default":false,"description":"Enable debug logging in the Amp output channel","scope":"application"},"amp.tab.disabledLanguages":{"type":"array","items":{"type":"string"},"default":[],"examples":["markdown","python"],"description":"List of language IDs for which Amp Tab is disabled","scope":"application"},"amp.tab.disableOnComment":{"type":"boolean","default":false,"description":"Disable Amp Tab completions on comment lines","scope":"application"},"amp.tab.autoImport.enabled":{"type":"boolean","default":true,"description":"Enable auto import in Amp Tab","scope":"application"},"amp.experimental.connections":{"type":"boolean","default":false,"description":"Enable external connections to provide additional tools to Amp","scope":"application"},"amp.ui.zoomLevel":{"type":"number","default":1,"description":"Zoom level for the Amp UI","scope":"application"},"amp.experimental.reviewTool":{"type":"boolean","default":false,"description":"Experimental: Enable the summarize_git_diff tool.","scope":"application"},"amp.summary.provider":{"type":"string","enum":["anthropic","gemini"],"default":"gemini","description":"Experimental: change summary provider.","scope":"application"}}},"icons":{"amp-agent-file":{"description":"Amp agent file","default":{"fontPath":"resources/amp-icons.woff","fontCharacter":"\\\\0041"}}}}`), lht = {
|
2321
2321
|
contributes: oht
|
2322
2322
|
}, cht = lht.contributes.configuration.properties;
|
2323
2323
|
function uht() {
|
@@ -54616,7 +54616,7 @@ const Z9t = [
|
|
54616
54616
|
id: "password",
|
54617
54617
|
category: "unknown",
|
54618
54618
|
title: "Unknown Password",
|
54619
|
-
pattern: String.raw`(?:[a-z0-9_ .,-]{0,25}password[a-z0-9_ .,-]{0,25})\s*(?:=|>|:=|\|\|:|<=|=>|:)\s*['"]?([a-z0-9+/=_-]{6,128})['"]?(?=\s|$|[;,\]})'"])`,
|
54619
|
+
pattern: String.raw`(?:[a-z0-9_ .,-]{0,25}password(?!length|count|max|min|maxlength|_length|_count|_min|_maxlength)[a-z0-9_ .,-]{0,25})\s*(?:=|>|:=|\|\|:|<=|=>|:)\s*['"]?([a-z0-9+/=_-]{6,128})['"]?(?=\s|$|[;,\]})'"])`,
|
54620
54620
|
keywords: ["password"],
|
54621
54621
|
caseInsensitive: !0
|
54622
54622
|
},
|
@@ -55531,7 +55531,7 @@ class ad {
|
|
55531
55531
|
name: "tracking file mention",
|
55532
55532
|
threadID: this.threadID
|
55533
55533
|
}), this.trackFileMention(r);
|
55534
|
-
this.runInferenceAndUpdateThread()
|
55534
|
+
this.runInferenceAndUpdateThread();
|
55535
55535
|
break;
|
55536
55536
|
}
|
55537
55537
|
case "user:message-queue:dequeue": {
|
@@ -55616,10 +55616,8 @@ class ad {
|
|
55616
55616
|
}
|
55617
55617
|
break;
|
55618
55618
|
}
|
55619
|
-
case "cancelled":
|
55620
|
-
this.thread.queuedMessages?.length && this.handle({ type: "user:message-queue:discard" });
|
55619
|
+
case "cancelled":
|
55621
55620
|
break;
|
55622
|
-
}
|
55623
55621
|
case "inference:completed": {
|
55624
55622
|
const r = Eh(this.thread, "assistant");
|
55625
55623
|
r && r.state.type === "complete" && r.state.stopReason === "end_turn" && this.handle({ type: "user:message-queue:dequeue" });
|
@@ -56841,6 +56839,10 @@ USAGE GUIDELINES:
|
|
56841
56839
|
},
|
56842
56840
|
required: ["query"]
|
56843
56841
|
},
|
56842
|
+
meta: {
|
56843
|
+
// Subagents should not be subjected to the default timeout (300s as of right now)
|
56844
|
+
disableTimeout: !0
|
56845
|
+
},
|
56844
56846
|
source: "builtin"
|
56845
56847
|
},
|
56846
56848
|
// If all of the tools that it can call are available in this environment, then make this tool
|
@@ -61908,6 +61910,10 @@ EXAMPLES:
|
|
61908
61910
|
},
|
61909
61911
|
required: ["task"]
|
61910
61912
|
},
|
61913
|
+
meta: {
|
61914
|
+
// Oracles should not be subjected to the default timeout (300s as of right now)
|
61915
|
+
disableTimeout: !0
|
61916
|
+
},
|
61911
61917
|
source: "builtin"
|
61912
61918
|
},
|
61913
61919
|
// If all of the tools that it can call are available in this environment, then make this tool
|
@@ -117379,11 +117385,6 @@ const QBe = {
|
|
117379
117385
|
visible: !1,
|
117380
117386
|
description: "Path to the shell to use in vscode-terminal mode"
|
117381
117387
|
},
|
117382
|
-
"terminal.commands.vscodeTerminal.fileBasedExitDetection": {
|
117383
|
-
value: !1,
|
117384
|
-
visible: !1,
|
117385
|
-
description: "Whether to use file-based detection for when terminal commands exit. Only relevant for VS Code."
|
117386
|
-
},
|
117387
117388
|
"terminal.commands.vscodeTerminal.shellArgs": {
|
117388
117389
|
value: void 0,
|
117389
117390
|
visible: !1,
|
@@ -125485,7 +125486,7 @@ async function vwr({
|
|
125485
125486
|
}
|
125486
125487
|
async function bwr(t) {
|
125487
125488
|
try {
|
125488
|
-
const e = await pwr("0.0.
|
125489
|
+
const e = await pwr("0.0.1751299324-g825669");
|
125489
125490
|
e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
|
125490
125491
|
try {
|
125491
125492
|
await ywr(e.latestVersion), t.next({
|
@@ -128064,7 +128065,7 @@ async function lg(t, e) {
|
|
128064
128065
|
SI({
|
128065
128066
|
logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
|
128066
128067
|
logFile: e.logFile || process.env.AMP_LOG_FILE
|
128067
|
-
}), Mht("0.0.
|
128068
|
+
}), Mht("0.0.1751299324-g825669");
|
128068
128069
|
const r = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
|
128069
128070
|
De.info("Using settings file", { settingsFile: r });
|
128070
128071
|
const n = I4(), i = vBe({ settingsFile: r }), a = process.env.AMP_API_KEY;
|
@@ -128179,11 +128180,11 @@ function Qwr(t) {
|
|
128179
128180
|
const o = s.originalError ?? s;
|
128180
128181
|
nh(t, o);
|
128181
128182
|
}), e.option("-V, --version", "output the version number", () => {
|
128182
|
-
const o = "(released 2025-06-
|
128183
|
+
const o = "(released 2025-06-30T16:11:16.642Z)";
|
128183
128184
|
t.isTTY ? xi.write(
|
128184
|
-
`0.0.
|
128185
|
+
`0.0.1751299324-g825669 ${t.printer.print(o, { foreground: "gray" })}
|
128185
128186
|
`
|
128186
|
-
) : xi.write(`0.0.
|
128187
|
+
) : xi.write(`0.0.1751299324-g825669 ${o}
|
128187
128188
|
`), process.exit(0);
|
128188
128189
|
}), e.addHelpText(
|
128189
128190
|
"after",
|
package/package.json
CHANGED