diff --git a/src/vs/sessions/contrib/chat/browser/newChatInput.ts b/src/vs/sessions/contrib/chat/browser/newChatInput.ts index bac33a6d06c..5636b9cbad6 100644 --- a/src/vs/sessions/contrib/chat/browser/newChatInput.ts +++ b/src/vs/sessions/contrib/chat/browser/newChatInput.ts @@ -104,7 +104,7 @@ import { IVoiceModeOnboardingService } from '../../../../workbench/contrib/agent const OPEN_OTEL_SETTINGS_COMMAND = 'github.copilot.chat.otel.openSettings'; const OTEL_STATUS_COMMAND = 'github.copilot.chat.otel.statusActive'; const OTEL_STATUS_ENTRY_ID = 'copilot.otelStatus'; -const OTEL_DOCS_URL = 'https://code.visualstudio.com/docs/copilot/guides/monitoring-agents'; +const OTEL_DOCS_URL = 'https://code.visualstudio.com/docs/agents/guides/monitoring-agents'; const STORAGE_KEY_DRAFT_STATE = 'sessions.draftState'; const MIN_EDITOR_HEIGHT = 50; const MAX_EDITOR_HEIGHT = 200; diff --git a/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.ts b/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.ts index 5d5b685e84f..e88370cda93 100644 --- a/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.ts +++ b/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.ts @@ -104,12 +104,12 @@ export const globalAutoApproveDescription = localize2( comment: [ '{Locked=\'](https://github.com/features/codespaces)\'}', '{Locked=\'](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)\'}', - '{Locked=\'](https://code.visualstudio.com/docs/copilot/security)\'}', + '{Locked=\'](https://code.visualstudio.com/docs/agents/run/security)\'}', '{Locked=\'**\'}', '{Locked=\'[`chat.autoReply`](command:workbench.action.openSettings?%5B%22chat.autoReply%22%5D)\'}', ] }, - 'Global auto approve also known as "YOLO mode" disables manual approval completely for _all tools in all workspaces_, allowing the agent to act fully autonomously. This is extremely dangerous and is *never* recommended, even containerized environments like [Codespaces](https://github.com/features/codespaces) and [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) have user keys forwarded into the container that could be compromised.\n\n**This feature disables [critical security protections](https://code.visualstudio.com/docs/copilot/security) and makes it much easier for an attacker to compromise the machine.**\n\nNote: This setting only controls tool approval and does not prevent the agent from asking questions. To automatically answer agent questions, use the [`chat.autoReply`](command:workbench.action.openSettings?%5B%22chat.autoReply%22%5D) setting.' + 'Global auto approve also known as "YOLO mode" disables manual approval completely for _all tools in all workspaces_, allowing the agent to act fully autonomously. This is extremely dangerous and is *never* recommended, even containerized environments like [Codespaces](https://github.com/features/codespaces) and [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) have user keys forwarded into the container that could be compromised.\n\n**This feature disables [critical security protections](https://code.visualstudio.com/docs/agents/run/security) and makes it much easier for an attacker to compromise the machine.**\n\nNote: This setting only controls tool approval and does not prevent the agent from asking questions. To automatically answer agent questions, use the [`chat.autoReply`](command:workbench.action.openSettings?%5B%22chat.autoReply%22%5D) setting.' ); export class LanguageModelToolsService extends Disposable implements ILanguageModelToolsService { diff --git a/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.ts b/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.ts index bf8d24c6096..d2dc4608ea6 100644 --- a/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.ts +++ b/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.ts @@ -532,7 +532,7 @@ export class ChatTerminalToolConfirmationSubPart extends BaseChatToolInvocationS markdownDetails: [{ markdown: new MarkdownString(localize('autoApprove.markdown', 'This will enable a configurable subset of commands to run in the terminal autonomously. It provides *best effort protections* and assumes the agent is not acting maliciously.')), }, { - markdown: new MarkdownString(`[${localize('autoApprove.markdown2', 'Learn more about the potential risks and how to avoid them.')}](https://code.visualstudio.com/docs/agents/security?referrer=in-product#_security-risks-to-be-aware-of)`) + markdown: new MarkdownString(`[${localize('autoApprove.markdown2', 'Learn more about the potential risks and how to avoid them.')}](https://code.visualstudio.com/docs/agents/run/security?referrer=in-product#_security-risks-to-be-aware-of)`) }], } }); diff --git a/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.ts b/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.ts index 131d9eb9992..b156bebc323 100644 --- a/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.ts +++ b/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.ts @@ -146,7 +146,7 @@ export class DelegationSessionPickerActionItem extends SessionTypePickerActionIt } protected override _getLearnMore(): IAction { - const learnMoreUrl = 'https://aka.ms/vscode-continue-chat-in'; + const learnMoreUrl = 'https://aka.ms/vscode-agent-handoff'; return { id: 'workbench.action.chat.agentOverview.learnMoreHandOff', label: localize('chat.learnMoreAgentHandOff', "Learn about agent handoff..."), diff --git a/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.ts b/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.ts index fa405cdf903..71774cc2aaf 100644 --- a/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.ts +++ b/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.ts @@ -196,10 +196,10 @@ export class SessionTypePickerActionItem extends ChatInputPickerActionViewItem { } protected _getLearnMore(): IAction { - const learnMoreUrl = 'https://code.visualstudio.com/docs/copilot/agents/overview'; + const learnMoreUrl = 'https://aka.ms/vscode-concept-harnesses'; return { id: 'workbench.action.chat.agentOverview.learnMore', - label: localize('chat.learnMoreAgentTypes', "Learn about agent types..."), + label: localize('chat.learnMoreAgentTypes', "Learn about harnesses..."), tooltip: learnMoreUrl, class: undefined, enabled: true, diff --git a/src/vs/workbench/contrib/mcp/browser/mcpServersView.ts b/src/vs/workbench/contrib/mcp/browser/mcpServersView.ts index dc231e441dd..720e4d20fca 100644 --- a/src/vs/workbench/contrib/mcp/browser/mcpServersView.ts +++ b/src/vs/workbench/contrib/mcp/browser/mcpServersView.ts @@ -274,7 +274,7 @@ export class McpServersListView extends AbstractExtensionsListView