Update docs links

This commit is contained in:
Nick Trogh
2026-08-05 09:31:05 +02:00
parent 7a9f946766
commit 6e42b93b60
7 changed files with 9 additions and 9 deletions
@@ -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;
@@ -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 {
@@ -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)`)
}],
}
});
@@ -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..."),
@@ -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,
@@ -274,7 +274,7 @@ export class McpServersListView extends AbstractExtensionsListView<IWorkbenchMcp
const description = dom.append(welcomeContent, dom.$('.mcp-welcome-description'));
const markdownResult = this._register(this.markdownRendererService.render(
new MarkdownString(
localize('mcp.welcome.descriptionWithLink', "Browse and install [Model Context Protocol (MCP) servers](https://code.visualstudio.com/docs/copilot/customization/mcp-servers) directly from VS Code to extend agent mode with extra tools for connecting to databases, invoking APIs and performing specialized tasks."),
localize('mcp.welcome.descriptionWithLink', "Browse and install [Model Context Protocol (MCP) servers](https://code.visualstudio.com/docs/agent-customization/mcp-servers) directly from VS Code to extend agent mode with extra tools for connecting to databases, invoking APIs and performing specialized tasks."),
{ isTrusted: { enabledCommands: ['workbench.action.openSettings'] } },
)
.appendMarkdown('\n\n')
@@ -1160,7 +1160,7 @@ export class OnboardingVariationA extends Disposable implements IOnboardingServi
// Tutorial link at bottom of content, above footer
const docsRow = append(wrapper, $('.onboarding-a-sessions-docs'));
this._createDocLink(docsRow, localize('onboarding.sessions.agentsTutorial', "Agents tutorial"), 'https://code.visualstudio.com/docs/copilot/agents/agents-tutorial', 'agentsTutorial');
this._createDocLink(docsRow, localize('onboarding.sessions.agentsTutorial', "Agents tutorial"), 'https://code.visualstudio.com/docs/agents/agents-tutorial?referrer=in-product', 'agentsTutorial');
}
private _createFeatureCard(parent: HTMLElement, icon: ThemeIcon, title: string, description?: string): HTMLElement {