Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 7 additions & 18 deletions src/vs/workbench/contrib/chat/browser/chat.shared.contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -986,9 +986,8 @@ configurationRegistry.registerConfiguration({
[AgentHostEnabledSettingId]: {
type: 'boolean',
description: nls.localize('chat.agentHost.enabled', "When enabled, some agents run in a separate agent host process."),
default: false,
default: product.quality !== 'stable',
tags: ['experimental', 'advanced'],
included: product.quality !== 'stable',
},
[AgentHostClaudeAgentSdkPathSettingId]: {
type: 'string',
Expand All @@ -1002,64 +1001,55 @@ configurationRegistry.registerConfiguration({
description: nls.localize('chat.agentHost.ipcLogging', "When enabled, logs all IPC traffic for each agent host to a dedicated output channel."),
default: product.quality !== 'stable',
tags: ['experimental', 'advanced'],
included: product.quality !== 'stable',
},
[AgentHostAhpJsonlLoggingSettingId]: {
type: 'boolean',
description: nls.localize('chat.agentHost.ahpJsonlLogging', "When enabled, logs all AHP transport messages for agent host connections to JSONL files under the window's log directory."),
default: product.quality !== 'stable',
tags: ['experimental', 'advanced'],
included: product.quality !== 'stable',
},
[AgentHostCustomTerminalToolEnabledSettingId]: {
type: 'boolean',
description: nls.localize('chat.agentHost.customTerminalTool.enabled', "When enabled, Copilot SDK sessions use the Agent Host terminal tool override instead of the SDK's default terminal behavior."),
default: true,
tags: ['experimental', 'advanced'],
included: product.quality !== 'stable',
},
[AgentHostOTelEnabledSettingId]: {
type: 'boolean',
description: nls.localize('chat.agentHost.otel.enabled', "When enabled, the agent host emits OpenTelemetry traces from the Copilot SDK. Requires `#chat.agentHost.enabled#`. Either configure `#chat.agentHost.otel.otlpEndpoint#` to ship traces to an external collector or enable `#chat.agentHost.otel.dbSpanExporter.enabled#` to capture them locally."),
markdownDescription: nls.localize('chat.agentHost.otel.enabled', "When enabled, the agent host emits OpenTelemetry traces from the Copilot SDK. Requires `#chat.agentHost.enabled#`. Either configure `#chat.agentHost.otel.otlpEndpoint#` to ship traces to an external collector or enable `#chat.agentHost.otel.dbSpanExporter.enabled#` to capture them locally."),
default: false,
tags: ['experimental', 'advanced'],
included: product.quality !== 'stable',
},
[AgentHostOTelExporterTypeSettingId]: {
type: 'string',
enum: ['otlp-http', 'otlp-grpc', 'console', 'file'],
description: nls.localize('chat.agentHost.otel.exporterType', "Exporter backend used by the Copilot SDK when `#chat.agentHost.otel.enabled#` is on. `otlp-grpc` is downgraded to `otlp-http` transparently in the CLI runtime."),
markdownDescription: nls.localize('chat.agentHost.otel.exporterType', "Exporter backend used by the Copilot SDK when `#chat.agentHost.otel.enabled#` is on. `otlp-grpc` is downgraded to `otlp-http` transparently in the CLI runtime."),
default: 'otlp-http',
tags: ['experimental', 'advanced'],
included: product.quality !== 'stable',
},
[AgentHostOTelOtlpEndpointSettingId]: {
type: 'string',
description: nls.localize('chat.agentHost.otel.otlpEndpoint', "OTLP endpoint URL when exporter type is `otlp-http` or `otlp-grpc`. Sets `OTEL_EXPORTER_OTLP_ENDPOINT` inside the agent host process."),
markdownDescription: nls.localize('chat.agentHost.otel.otlpEndpoint', "OTLP endpoint URL when exporter type is `otlp-http` or `otlp-grpc`. Sets `OTEL_EXPORTER_OTLP_ENDPOINT` inside the agent host process."),
default: '',
tags: ['experimental', 'advanced'],
included: product.quality !== 'stable',
},
[AgentHostOTelCaptureContentSettingId]: {
type: 'boolean',
description: nls.localize('chat.agentHost.otel.captureContent', "When enabled, includes prompt and response content in OTel span attributes. Sets `OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT`. Privacy-sensitive: do not enable in environments that ship spans to shared sinks."),
markdownDescription: nls.localize('chat.agentHost.otel.captureContent', "When enabled, includes prompt and response content in OTel span attributes. Sets `OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT`. Privacy-sensitive: do not enable in environments that ship spans to shared sinks."),
default: false,
tags: ['experimental', 'advanced'],
included: product.quality !== 'stable',
},
[AgentHostOTelOutfileSettingId]: {
type: 'string',
description: nls.localize('chat.agentHost.otel.outfile', "Output path for span JSON lines when exporter type is `file`. Sets `COPILOT_OTEL_FILE_EXPORTER_PATH`."),
markdownDescription: nls.localize('chat.agentHost.otel.outfile', "Output path for span JSON lines when exporter type is `file`. Sets `COPILOT_OTEL_FILE_EXPORTER_PATH`."),
default: '',
tags: ['experimental', 'advanced'],
included: product.quality !== 'stable',
},
[AgentHostOTelDbSpanExporterEnabledSettingId]: {
type: 'boolean',
description: nls.localize('chat.agentHost.otel.dbSpanExporter.enabled', "When enabled, the agent host persists every emitted OTel span to a local SQLite database. Spans can be inspected via the `Export Agent Host Traces Database` command. Compatible with external exporters: spans are written to SQLite *and* forwarded to the user-configured sink."),
markdownDescription: nls.localize('chat.agentHost.otel.dbSpanExporter.enabled', "When enabled, the agent host persists every emitted OTel span to a local SQLite database. Spans can be inspected via the `Export Agent Host Traces Database` command. Compatible with external exporters: spans are written to SQLite *and* forwarded to the user-configured sink."),
default: false,
tags: ['experimental', 'advanced'],
included: product.quality !== 'stable',
},
[ChatConfiguration.AgentHostClientTools]: {
type: 'array',
Expand All @@ -1072,7 +1062,6 @@ configurationRegistry.registerConfiguration({
...browserChatToolReferenceNames,
],
tags: ['experimental', 'advanced'],
included: product.quality !== 'stable',
},
[ChatConfiguration.ToolConfirmationCarousel]: {
type: 'boolean',
Expand Down
Loading