@messenger-box/platform-server 10.0.3-alpha.2 → 10.0.3-alpha.202
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/lib/channels/ack-reactions.d.ts +46 -0
- package/lib/channels/ack-reactions.js +48 -0
- package/lib/channels/ack-reactions.js.map +1 -0
- package/lib/channels/allowlist-match.d.ts +38 -0
- package/lib/channels/allowlist-match.js +67 -0
- package/lib/channels/allowlist-match.js.map +1 -0
- package/lib/channels/channel-config.d.ts +46 -0
- package/lib/channels/channel-config.js +63 -0
- package/lib/channels/channel-config.js.map +1 -0
- package/lib/channels/command-gating.d.ts +47 -0
- package/lib/channels/command-gating.js +52 -0
- package/lib/channels/command-gating.js.map +1 -0
- package/lib/channels/conversation-label.d.ts +23 -0
- package/lib/channels/conversation-label.js +43 -0
- package/lib/channels/conversation-label.js.map +1 -0
- package/lib/channels/index.d.ts +18 -0
- package/lib/channels/mention-gating.d.ts +50 -0
- package/lib/channels/mention-gating.js +72 -0
- package/lib/channels/mention-gating.js.map +1 -0
- package/lib/channels/registry.d.ts +23 -0
- package/lib/channels/registry.js +282 -0
- package/lib/channels/registry.js.map +1 -0
- package/lib/channels/sender-identity.d.ts +11 -0
- package/lib/channels/sender-identity.js +48 -0
- package/lib/channels/sender-identity.js.map +1 -0
- package/lib/channels/session.d.ts +63 -0
- package/lib/channels/session.js +29 -0
- package/lib/channels/session.js.map +1 -0
- package/lib/channels/types.d.ts +147 -0
- package/lib/channels/types.js +28 -0
- package/lib/channels/types.js.map +1 -0
- package/lib/channels/typing.d.ts +62 -0
- package/lib/channels/typing.js +37 -0
- package/lib/channels/typing.js.map +1 -0
- package/lib/channels/typing.test.d.ts +1 -0
- package/lib/config/env-config.d.ts +7 -0
- package/lib/config/env-config.js +21 -1
- package/lib/config/env-config.js.map +1 -1
- package/lib/constants/default-channel-props.d.ts +11 -0
- package/lib/constants/default-channel-props.js +32 -0
- package/lib/constants/default-channel-props.js.map +1 -0
- package/lib/constants/default-notify-props.js.map +1 -1
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/query.constants.js.map +1 -1
- package/lib/containers/containers.js +13 -7
- package/lib/containers/containers.js.map +1 -1
- package/lib/containers/context-services-from-container.d.ts +2 -2
- package/lib/containers/context-services-from-container.js +7 -7
- package/lib/containers/context-services-from-container.js.map +1 -1
- package/lib/gateway/channel-registry.d.ts +10 -0
- package/lib/gateway/gateway-service.d.ts +23 -0
- package/lib/gateway/index.d.ts +4 -0
- package/lib/gateway/message-router.d.ts +20 -0
- package/lib/gateway/types.d.ts +270 -0
- package/lib/graphql/resolvers/channel-capabilities.d.ts +13 -0
- package/lib/graphql/resolvers/channel-capabilities.js +179 -0
- package/lib/graphql/resolvers/channel-capabilities.js.map +1 -0
- package/lib/graphql/resolvers/channel-member.d.ts +3 -3
- package/lib/graphql/resolvers/channel-member.js +30 -5
- package/lib/graphql/resolvers/channel-member.js.map +1 -1
- package/lib/graphql/resolvers/channel.d.ts +3 -3
- package/lib/graphql/resolvers/channel.js +348 -55
- package/lib/graphql/resolvers/channel.js.map +1 -1
- package/lib/graphql/resolvers/chat-configuration.d.ts +59 -0
- package/lib/graphql/resolvers/chat-configuration.js +89 -0
- package/lib/graphql/resolvers/chat-configuration.js.map +1 -0
- package/lib/graphql/resolvers/extended-token-account.d.ts +3 -32
- package/lib/graphql/resolvers/extended-token-account.js +90 -23
- package/lib/graphql/resolvers/extended-token-account.js.map +1 -1
- package/lib/graphql/resolvers/gateway.d.ts +18 -0
- package/lib/graphql/resolvers/index.d.ts +47 -26
- package/lib/graphql/resolvers/index.js +1 -1
- package/lib/graphql/resolvers/index.js.map +1 -1
- package/lib/graphql/resolvers/post-thread.d.ts +2 -3
- package/lib/graphql/resolvers/post-thread.js +294 -132
- package/lib/graphql/resolvers/post-thread.js.map +1 -1
- package/lib/graphql/resolvers/post.d.ts +2 -3
- package/lib/graphql/resolvers/post.js +772 -238
- package/lib/graphql/resolvers/post.js.map +1 -1
- package/lib/graphql/resolvers/reaction.d.ts +3 -3
- package/lib/graphql/resolvers/reaction.js +96 -14
- package/lib/graphql/resolvers/reaction.js.map +1 -1
- package/lib/graphql/resolvers/streaming.d.ts +20 -0
- package/lib/graphql/resolvers/streaming.js +147 -0
- package/lib/graphql/resolvers/streaming.js.map +1 -0
- package/lib/graphql/schema/channel-capabilities.graphql +492 -0
- package/lib/graphql/schema/channel-capabilities.graphql.js +1 -0
- package/lib/graphql/schema/channel-capabilities.graphql.js.map +1 -0
- package/lib/graphql/schema/channel-member.graphql +110 -21
- package/lib/graphql/schema/channel-member.graphql.js +1 -1
- package/lib/graphql/schema/channel.graphql +465 -24
- package/lib/graphql/schema/channel.graphql.js +1 -1
- package/lib/graphql/schema/chat-configuration.graphql +77 -0
- package/lib/graphql/schema/chat-configuration.graphql.js +1 -0
- package/lib/graphql/schema/chat-configuration.graphql.js.map +1 -0
- package/lib/graphql/schema/gateway.graphql +363 -0
- package/lib/graphql/schema/index.js +2 -2
- package/lib/graphql/schema/index.js.map +1 -1
- package/lib/graphql/schema/post-thread.graphql +167 -21
- package/lib/graphql/schema/post-thread.graphql.js +1 -1
- package/lib/graphql/schema/post.graphql +440 -36
- package/lib/graphql/schema/post.graphql.js +1 -1
- package/lib/graphql/schema/preferences.graphql +190 -3
- package/lib/graphql/schema/preferences.graphql.js +1 -1
- package/lib/graphql/schema/reaction.graphql +71 -13
- package/lib/graphql/schema/reaction.graphql.js +1 -1
- package/lib/graphql/schema/services.graphql +18 -0
- package/lib/graphql/schema/streaming.graphql +224 -0
- package/lib/graphql/schema/streaming.graphql.js +1 -0
- package/lib/graphql/schema/streaming.graphql.js.map +1 -0
- package/lib/graphql/schema/users.graphql +76 -13
- package/lib/graphql/schema/users.graphql.js +1 -1
- package/lib/graphql/schema/workflow-service.graphql +82 -0
- package/lib/index.d.ts +3 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/interfaces/index.d.ts +0 -2
- package/lib/interfaces/services.d.ts +1 -3
- package/lib/migrations/dbMigrations/AddChannelConfigurationsMigration.d.ts +42 -0
- package/lib/migrations/dbMigrations/AddChannelConfigurationsMigration.js +60 -0
- package/lib/migrations/dbMigrations/AddChannelConfigurationsMigration.js.map +1 -0
- package/lib/migrations/dbMigrations/AddChatConfigurationsMigration.d.ts +21 -0
- package/lib/migrations/dbMigrations/AddChatConfigurationsMigration.js +30 -0
- package/lib/migrations/dbMigrations/AddChatConfigurationsMigration.js.map +1 -0
- package/lib/migrations/dbMigrations/AddPostsConfigurationsMigration.d.ts +17 -0
- package/lib/migrations/dbMigrations/AddPostsConfigurationsMigration.js +44 -0
- package/lib/migrations/dbMigrations/AddPostsConfigurationsMigration.js.map +1 -0
- package/lib/migrations/dbMigrations/index.d.ts +3 -0
- package/lib/migrations/index.d.ts +1 -0
- package/lib/migrations/mail-template-migration.d.ts +3 -6
- package/lib/migrations/mail-template-migration.js +8 -21
- package/lib/migrations/mail-template-migration.js.map +1 -1
- package/lib/migrations/message-notification-template-migration.d.ts +4 -7
- package/lib/migrations/message-notification-template-migration.js +8 -25
- package/lib/migrations/message-notification-template-migration.js.map +1 -1
- package/lib/module.d.ts +1 -1
- package/lib/module.js +3 -10
- package/lib/module.js.map +1 -1
- package/lib/plugins/ChannelMoleculerService.d.ts +39 -0
- package/lib/plugins/ChannelMoleculerService.js +58 -0
- package/lib/plugins/ChannelMoleculerService.js.map +1 -0
- package/lib/plugins/ExtendedTokenAccountMoleculerService.d.ts +65 -0
- package/lib/plugins/ExtendedTokenAccountMoleculerService.js +88 -0
- package/lib/plugins/ExtendedTokenAccountMoleculerService.js.map +1 -0
- package/lib/plugins/MessengerNotificationMoleculerService.d.ts +52 -0
- package/lib/plugins/MessengerNotificationMoleculerService.js +84 -0
- package/lib/plugins/MessengerNotificationMoleculerService.js.map +1 -0
- package/lib/plugins/PostMoleculerService.d.ts +65 -0
- package/lib/plugins/PostMoleculerService.js +87 -0
- package/lib/plugins/PostMoleculerService.js.map +1 -0
- package/lib/plugins/PostThreadMoleculerService.d.ts +40 -0
- package/lib/plugins/PostThreadMoleculerService.js +59 -0
- package/lib/plugins/PostThreadMoleculerService.js.map +1 -0
- package/lib/plugins/ReactionMoleculerService.d.ts +37 -0
- package/lib/plugins/ReactionMoleculerService.js +56 -0
- package/lib/plugins/ReactionMoleculerService.js.map +1 -0
- package/lib/plugins/index.d.ts +18 -6
- package/lib/preferences/permissions/inbox-permission-contribution.js +58 -97
- package/lib/preferences/permissions/inbox-permission-contribution.js.map +1 -1
- package/lib/preferences/permissions/inbox-roles-permission-overwrite.js +144 -144
- package/lib/preferences/permissions/inbox-roles-permission-overwrite.js.map +1 -1
- package/lib/preferences/settings/channel-settings.d.ts +39 -0
- package/lib/preferences/settings/channel-settings.js +180 -0
- package/lib/preferences/settings/channel-settings.js.map +1 -0
- package/lib/preferences/settings/chat-settings.d.ts +248 -0
- package/lib/preferences/settings/chat-settings.js +1152 -0
- package/lib/preferences/settings/chat-settings.js.map +1 -0
- package/lib/preferences/settings/index.d.ts +3 -0
- package/lib/preferences/settings/messenger-channels-contribution.d.ts +39 -0
- package/lib/preferences/settings/messenger-channels-contribution.js +355 -0
- package/lib/preferences/settings/messenger-channels-contribution.js.map +1 -0
- package/lib/preferences/settings/post-settings.d.ts +16 -0
- package/lib/preferences/settings/post-settings.js +75 -3
- package/lib/preferences/settings/post-settings.js.map +1 -1
- package/lib/services/channel-service.d.ts +215 -34
- package/lib/services/channel-service.js +1058 -273
- package/lib/services/channel-service.js.map +1 -1
- package/lib/services/extended-token-account-service.d.ts +175 -20
- package/lib/services/extended-token-account-service.js +636 -56
- package/lib/services/extended-token-account-service.js.map +1 -1
- package/lib/services/messenger-notification-service.d.ts +177 -17
- package/lib/services/messenger-notification-service.js +975 -421
- package/lib/services/messenger-notification-service.js.map +1 -1
- package/lib/services/post-service.d.ts +245 -18
- package/lib/services/post-service.js +1027 -113
- package/lib/services/post-service.js.map +1 -1
- package/lib/services/post-thread-service.d.ts +153 -6
- package/lib/services/post-thread-service.js +475 -9
- package/lib/services/post-thread-service.js.map +1 -1
- package/lib/services/proxy-services/ChannelProxyService.d.ts +27 -0
- package/lib/services/proxy-services/ChannelProxyService.js +31 -0
- package/lib/services/proxy-services/ChannelProxyService.js.map +1 -0
- package/lib/services/proxy-services/ExtendedTokenAccountProxyService.d.ts +42 -0
- package/lib/services/proxy-services/ExtendedTokenAccountProxyService.js +46 -0
- package/lib/services/proxy-services/ExtendedTokenAccountProxyService.js.map +1 -0
- package/lib/services/proxy-services/MessengerNotificationProxyService.d.ts +44 -0
- package/lib/services/proxy-services/MessengerNotificationProxyService.js +54 -0
- package/lib/services/proxy-services/MessengerNotificationProxyService.js.map +1 -0
- package/lib/services/proxy-services/PostProxyService.d.ts +42 -0
- package/lib/services/proxy-services/PostProxyService.js +46 -0
- package/lib/services/proxy-services/PostProxyService.js.map +1 -0
- package/lib/services/proxy-services/PostThreadProxyService.d.ts +32 -0
- package/lib/services/proxy-services/PostThreadProxyService.js +36 -0
- package/lib/services/proxy-services/PostThreadProxyService.js.map +1 -0
- package/lib/services/proxy-services/ReactionProxyService.d.ts +41 -0
- package/lib/services/proxy-services/ReactionProxyService.js +45 -0
- package/lib/services/proxy-services/ReactionProxyService.js.map +1 -0
- package/lib/services/proxy-services/index.d.ts +17 -5
- package/lib/services/reaction-service.d.ts +124 -4
- package/lib/services/reaction-service.js +413 -3
- package/lib/services/reaction-service.js.map +1 -1
- package/lib/store/models/account-token-store.d.ts +1 -1
- package/lib/store/models/account-token-store.js.map +1 -1
- package/lib/store/models/channel.d.ts +2 -3
- package/lib/store/models/channel.js +216 -70
- package/lib/store/models/channel.js.map +1 -1
- package/lib/store/models/post-thread.d.ts +3 -3
- package/lib/store/models/post-thread.js +96 -14
- package/lib/store/models/post-thread.js.map +1 -1
- package/lib/store/models/post.d.ts +2 -3
- package/lib/store/models/post.js +143 -23
- package/lib/store/models/post.js.map +1 -1
- package/lib/store/models/reaction.d.ts +2 -3
- package/lib/store/models/reaction.js +67 -8
- package/lib/store/models/reaction.js.map +1 -1
- package/lib/store/repositories/__tests__/__fixtures__/team-repository.d.ts +3 -3
- package/lib/store/repositories/channel-repository.d.ts +6 -6
- package/lib/store/repositories/channel-repository.js +5 -2
- package/lib/store/repositories/channel-repository.js.map +1 -1
- package/lib/store/repositories/post-repository.d.ts +6 -6
- package/lib/store/repositories/post-repository.js +5 -2
- package/lib/store/repositories/post-repository.js.map +1 -1
- package/lib/store/repositories/post-thread-repository.d.ts +6 -6
- package/lib/store/repositories/post-thread-repository.js +5 -2
- package/lib/store/repositories/post-thread-repository.js.map +1 -1
- package/lib/store/repositories/reaction-repository.d.ts +6 -6
- package/lib/store/repositories/reaction-repository.js +5 -2
- package/lib/store/repositories/reaction-repository.js.map +1 -1
- package/lib/streaming/block-chunker.d.ts +40 -0
- package/lib/streaming/block-chunker.js +103 -0
- package/lib/streaming/block-chunker.js.map +1 -0
- package/lib/streaming/block-chunker.test.d.ts +1 -0
- package/lib/streaming/index.d.ts +4 -0
- package/lib/streaming/stream-service.d.ts +71 -0
- package/lib/streaming/stream-service.js +325 -0
- package/lib/streaming/stream-service.js.map +1 -0
- package/lib/streaming/stream-service.test.d.ts +16 -0
- package/lib/streaming/streaming-post.integration.test.d.ts +10 -0
- package/lib/streaming/types.d.ts +33 -0
- package/lib/streaming/types.js +37 -0
- package/lib/streaming/types.js.map +1 -0
- package/lib/templates/constants/CONTRIBUTION_POINTS.ts.template +78 -0
- package/lib/templates/constants/SERVER_TYPES.ts.template +1 -4
- package/lib/templates/constants/WorkflowNamespace.ts.template +10 -0
- package/lib/templates/repositories/ChannelRepository.ts.template +3 -3
- package/lib/templates/repositories/PostRepository.ts.template +3 -3
- package/lib/templates/repositories/PostThreadRepository.ts.template +3 -3
- package/lib/templates/repositories/ReactionRepository.ts.template +3 -4
- package/lib/templates/services/ChannelService.ts.template +290 -39
- package/lib/templates/services/ExtendedTokenAccountService.ts.template +107 -3
- package/lib/templates/services/MessengerNotificationService.ts.template +94 -19
- package/lib/templates/services/MessengerStreamService.ts.template +131 -0
- package/lib/templates/services/PostService.ts.template +228 -20
- package/lib/templates/services/PostThreadService.ts.template +151 -6
- package/lib/templates/services/ReactionService.ts.template +129 -3
- package/lib/templates/services/RedisCacheManager.ts.template +22 -0
- package/package.json +10 -6
- package/lib/interfaces/context.d.ts +0 -14
- package/lib/plugins/channel-moleculer-service.d.ts +0 -8
- package/lib/plugins/channel-moleculer-service.js +0 -129
- package/lib/plugins/channel-moleculer-service.js.map +0 -1
- package/lib/plugins/extended-token-account-moleculer-service.d.ts +0 -8
- package/lib/plugins/extended-token-account-moleculer-service.js +0 -47
- package/lib/plugins/extended-token-account-moleculer-service.js.map +0 -1
- package/lib/plugins/messenger-notification-moleculer-service.d.ts +0 -9
- package/lib/plugins/messenger-notification-moleculer-service.js +0 -116
- package/lib/plugins/messenger-notification-moleculer-service.js.map +0 -1
- package/lib/plugins/post-moleculer-service.d.ts +0 -35
- package/lib/plugins/post-moleculer-service.js +0 -393
- package/lib/plugins/post-moleculer-service.js.map +0 -1
- package/lib/plugins/post-thread-moleculer-service.d.ts +0 -8
- package/lib/plugins/post-thread-moleculer-service.js +0 -33
- package/lib/plugins/post-thread-moleculer-service.js.map +0 -1
- package/lib/plugins/reaction-moleculer-service.d.ts +0 -8
- package/lib/plugins/reaction-moleculer-service.js +0 -20
- package/lib/plugins/reaction-moleculer-service.js.map +0 -1
- package/lib/services/proxy-services/channel-microservice.d.ts +0 -44
- package/lib/services/proxy-services/channel-microservice.js +0 -199
- package/lib/services/proxy-services/channel-microservice.js.map +0 -1
- package/lib/services/proxy-services/messenger-notification-microservice.d.ts +0 -16
- package/lib/services/proxy-services/messenger-notification-microservice.js +0 -54
- package/lib/services/proxy-services/messenger-notification-microservice.js.map +0 -1
- package/lib/services/proxy-services/post-microservice.d.ts +0 -22
- package/lib/services/proxy-services/post-microservice.js +0 -64
- package/lib/services/proxy-services/post-microservice.js.map +0 -1
- package/lib/services/proxy-services/post-thread-microservice.d.ts +0 -10
- package/lib/services/proxy-services/post-thread-microservice.js +0 -15
- package/lib/services/proxy-services/post-thread-microservice.js.map +0 -1
- package/lib/services/proxy-services/reaction-microservice.d.ts +0 -9
- package/lib/services/proxy-services/reaction-microservice.js +0 -10
- package/lib/services/proxy-services/reaction-microservice.js.map +0 -1
- package/lib/store/models/common-options.js +0 -20
- package/lib/store/models/common-options.js.map +0 -1
|
@@ -0,0 +1,1152 @@
|
|
|
1
|
+
import {localize}from'@vscode-alt/monaco-editor/esm/vs/nls.js';// ─── Enum: ChatConfiguration ─────────────────────────────────────────────────
|
|
2
|
+
// Mirrors the ChatConfiguration enum from VS Code (src/vs/workbench/contrib/chat/common/constants.ts)
|
|
3
|
+
// Enum values are the dotted keys stored in the configuration registry.
|
|
4
|
+
var ChatConfiguration;
|
|
5
|
+
(function (ChatConfiguration) {
|
|
6
|
+
// ── Core / Miscellaneous ─────────────────────────────────────────
|
|
7
|
+
ChatConfiguration["AIDisabled"] = "chat.disableAIFeatures";
|
|
8
|
+
ChatConfiguration["AllowAnonymousAccess"] = "chat.allowAnonymousAccess";
|
|
9
|
+
ChatConfiguration["PluginsEnabled"] = "chat.plugins.enabled";
|
|
10
|
+
ChatConfiguration["PluginPaths"] = "chat.plugins.paths";
|
|
11
|
+
ChatConfiguration["PluginMarketplaces"] = "chat.plugins.marketplaces";
|
|
12
|
+
ChatConfiguration["ExtensionUnificationEnabled"] = "chat.extensionUnification.enabled";
|
|
13
|
+
// ── Agent ────────────────────────────────────────────────────────
|
|
14
|
+
ChatConfiguration["AgentEnabled"] = "chat.agent.enabled";
|
|
15
|
+
ChatConfiguration["AgentMaxRequests"] = "chat.agent.maxRequests";
|
|
16
|
+
ChatConfiguration["PlanAgentDefaultModel"] = "chat.planAgent.defaultModel";
|
|
17
|
+
ChatConfiguration["ExploreAgentDefaultModel"] = "chat.exploreAgent.defaultModel";
|
|
18
|
+
ChatConfiguration["RequestQueueingDefaultAction"] = "chat.requestQueuing.defaultAction";
|
|
19
|
+
ChatConfiguration["AgentStatusEnabled"] = "chat.agentsControl.enabled";
|
|
20
|
+
ChatConfiguration["AgentSessionProjectionEnabled"] = "chat.agentSessionProjection.enabled";
|
|
21
|
+
// ── Editor / Edit mode ───────────────────────────────────────────
|
|
22
|
+
ChatConfiguration["EditorAssociations"] = "chat.editorAssociations";
|
|
23
|
+
ChatConfiguration["EditModeHidden"] = "chat.editMode.hidden";
|
|
24
|
+
ChatConfiguration["Edits2Enabled"] = "chat.edits2.enabled";
|
|
25
|
+
ChatConfiguration["EditRequests"] = "chat.editRequests";
|
|
26
|
+
ChatConfiguration["EditingAutoAcceptDelay"] = "chat.editing.autoAcceptDelay";
|
|
27
|
+
ChatConfiguration["EditingConfirmRemoval"] = "chat.editing.confirmEditRequestRemoval";
|
|
28
|
+
ChatConfiguration["EditingConfirmRetry"] = "chat.editing.confirmEditRequestRetry";
|
|
29
|
+
ChatConfiguration["ExplainChangesEnabled"] = "chat.editing.explainChanges.enabled";
|
|
30
|
+
// ── Appearance / UI ──────────────────────────────────────────────
|
|
31
|
+
ChatConfiguration["FontSize"] = "chat.fontSize";
|
|
32
|
+
ChatConfiguration["FontFamily"] = "chat.fontFamily";
|
|
33
|
+
ChatConfiguration["EditorFontSize"] = "chat.editor.fontSize";
|
|
34
|
+
ChatConfiguration["EditorFontFamily"] = "chat.editor.fontFamily";
|
|
35
|
+
ChatConfiguration["EditorFontWeight"] = "chat.editor.fontWeight";
|
|
36
|
+
ChatConfiguration["EditorWordWrap"] = "chat.editor.wordWrap";
|
|
37
|
+
ChatConfiguration["EditorLineHeight"] = "chat.editor.lineHeight";
|
|
38
|
+
ChatConfiguration["UnifiedAgentsBar"] = "chat.unifiedAgentsBar.enabled";
|
|
39
|
+
ChatConfiguration["InlineReferencesStyle"] = "chat.inlineReferences.style";
|
|
40
|
+
ChatConfiguration["ShowCodeBlockProgressAnimation"] = "chat.agent.codeBlockProgress";
|
|
41
|
+
ChatConfiguration["RestoreLastPanelSession"] = "chat.restoreLastPanelSession";
|
|
42
|
+
ChatConfiguration["AgentsControlClickBehavior"] = "chat.agentsControl.clickBehavior";
|
|
43
|
+
ChatConfiguration["TipsEnabled"] = "chat.tips.enabled";
|
|
44
|
+
ChatConfiguration["UpvoteAnimation"] = "chat.upvoteAnimation";
|
|
45
|
+
ChatConfiguration["StatusWidgetAnonymous"] = "chat.statusWidget.anonymous";
|
|
46
|
+
// ── Extensions / Tools ───────────────────────────────────────────
|
|
47
|
+
ChatConfiguration["ExtensionToolsEnabled"] = "chat.extensionTools.enabled";
|
|
48
|
+
ChatConfiguration["RepoInfoEnabled"] = "chat.repoInfo.enabled";
|
|
49
|
+
ChatConfiguration["UsagesToolEnabled"] = "chat.tools.usagesTool.enabled";
|
|
50
|
+
ChatConfiguration["RenameToolEnabled"] = "chat.tools.renameTool.enabled";
|
|
51
|
+
// ── Auto-reply / Auto-approve ────────────────────────────────────
|
|
52
|
+
ChatConfiguration["AutoReply"] = "chat.autoReply";
|
|
53
|
+
ChatConfiguration["GlobalAutoApprove"] = "chat.tools.global.autoApprove";
|
|
54
|
+
ChatConfiguration["AutoApproveEdits"] = "chat.tools.edits.autoApprove";
|
|
55
|
+
ChatConfiguration["AutoApprovedUrls"] = "chat.tools.urls.autoApprove";
|
|
56
|
+
ChatConfiguration["EligibleForAutoApproval"] = "chat.tools.eligibleForAutoApproval";
|
|
57
|
+
ChatConfiguration["AutoExpandToolFailures"] = "chat.tools.autoExpandFailures";
|
|
58
|
+
// ── Thinking ─────────────────────────────────────────────────────
|
|
59
|
+
ChatConfiguration["ThinkingStyle"] = "chat.agent.thinkingStyle";
|
|
60
|
+
ChatConfiguration["ThinkingGenerateTitles"] = "chat.agent.thinking.generateTitles";
|
|
61
|
+
ChatConfiguration["ThinkingCollapsedTools"] = "chat.agent.thinking.collapsedTools";
|
|
62
|
+
ChatConfiguration["TerminalToolsInThinking"] = "chat.agent.thinking.terminalTools";
|
|
63
|
+
ChatConfiguration["SimpleTerminalCollapsible"] = "chat.tools.terminal.simpleCollapsible";
|
|
64
|
+
ChatConfiguration["ThinkingPhrases"] = "chat.agent.thinking.phrases";
|
|
65
|
+
// ── Features ─────────────────────────────────────────────────────
|
|
66
|
+
ChatConfiguration["EnableMath"] = "chat.math.enabled";
|
|
67
|
+
ChatConfiguration["CheckpointsEnabled"] = "chat.checkpoints.enabled";
|
|
68
|
+
ChatConfiguration["CheckpointsShowFileChanges"] = "chat.checkpoints.showFileChanges";
|
|
69
|
+
ChatConfiguration["TodosShowWidget"] = "chat.tools.todos.showWidget";
|
|
70
|
+
ChatConfiguration["ExitAfterDelegation"] = "chat.exitAfterDelegation";
|
|
71
|
+
ChatConfiguration["SubagentToolCustomAgents"] = "chat.customAgentInSubagent.enabled";
|
|
72
|
+
ChatConfiguration["UndoRequestsRestoreInput"] = "chat.undoRequests.restoreInput";
|
|
73
|
+
// ── Send Elements ────────────────────────────────────────────────
|
|
74
|
+
ChatConfiguration["SendElementsEnabled"] = "chat.sendElementsToChat.enabled";
|
|
75
|
+
ChatConfiguration["SendElementsAttachCSS"] = "chat.sendElementsToChat.attachCSS";
|
|
76
|
+
ChatConfiguration["SendElementsAttachImages"] = "chat.sendElementsToChat.attachImages";
|
|
77
|
+
// ── Notifications ────────────────────────────────────────────────
|
|
78
|
+
ChatConfiguration["NotifyWindowOnConfirmation"] = "chat.notifyWindowOnConfirmation";
|
|
79
|
+
ChatConfiguration["NotifyWindowOnResponseReceived"] = "chat.notifyWindowOnResponseReceived";
|
|
80
|
+
// ── Sessions view ────────────────────────────────────────────────
|
|
81
|
+
ChatConfiguration["ChatViewSessionsEnabled"] = "chat.viewSessions.enabled";
|
|
82
|
+
ChatConfiguration["ChatViewSessionsGrouping"] = "chat.viewSessions.grouping";
|
|
83
|
+
ChatConfiguration["ChatViewSessionsOrientation"] = "chat.viewSessions.orientation";
|
|
84
|
+
ChatConfiguration["ChatViewProgressBadgeEnabled"] = "chat.viewProgressBadge.enabled";
|
|
85
|
+
// ── Context ──────────────────────────────────────────────────────
|
|
86
|
+
ChatConfiguration["ChatContextUsageEnabled"] = "chat.contextUsage.enabled";
|
|
87
|
+
ChatConfiguration["DetectParticipantEnabled"] = "chat.detectParticipant.enabled";
|
|
88
|
+
ChatConfiguration["ImplicitContextEnabled"] = "chat.implicitContext.enabled";
|
|
89
|
+
ChatConfiguration["ImplicitContextSuggestedContext"] = "chat.implicitContext.suggestedContext";
|
|
90
|
+
// ── Prompts / Instructions / Agents ──────────────────────────────
|
|
91
|
+
ChatConfiguration["InstructionsFilesLocations"] = "chat.instructionsFilesLocations";
|
|
92
|
+
ChatConfiguration["PromptFilesLocations"] = "chat.promptFilesLocations";
|
|
93
|
+
ChatConfiguration["ModeFilesLocations"] = "chat.modeFilesLocations";
|
|
94
|
+
ChatConfiguration["AgentFilesLocations"] = "chat.agentFilesLocations";
|
|
95
|
+
ChatConfiguration["AgentSkillsLocations"] = "chat.agentSkillsLocations";
|
|
96
|
+
ChatConfiguration["HookFilesLocations"] = "chat.hookFilesLocations";
|
|
97
|
+
ChatConfiguration["PromptFilesRecommendations"] = "chat.promptFilesRecommendations";
|
|
98
|
+
ChatConfiguration["UseAgentsMdFile"] = "chat.useAgentsMdFile";
|
|
99
|
+
ChatConfiguration["UseNestedAgentsMdFiles"] = "chat.useNestedAgentsMdFiles";
|
|
100
|
+
ChatConfiguration["UseClaudeMdFile"] = "chat.useClaudeMdFile";
|
|
101
|
+
ChatConfiguration["UseAgentSkills"] = "chat.useAgentSkills";
|
|
102
|
+
ChatConfiguration["UseSkillAdherencePrompt"] = "chat.useSkillAdherencePrompt";
|
|
103
|
+
ChatConfiguration["IncludeApplyingInstructions"] = "chat.includeApplyingInstructions";
|
|
104
|
+
ChatConfiguration["IncludeReferencedInstructions"] = "chat.includeReferencedInstructions";
|
|
105
|
+
ChatConfiguration["UseHooks"] = "chat.useHooks";
|
|
106
|
+
ChatConfiguration["UseClaudeHooks"] = "chat.useClaudeHooks";
|
|
107
|
+
// ── MCP ──────────────────────────────────────────────────────────
|
|
108
|
+
ChatConfiguration["McpAccess"] = "chat.mcp.access";
|
|
109
|
+
ChatConfiguration["McpAutoStart"] = "chat.mcp.autostart";
|
|
110
|
+
ChatConfiguration["McpAppsEnabled"] = "chat.mcp.apps.enabled";
|
|
111
|
+
ChatConfiguration["McpDiscovery"] = "chat.mcp.discovery.enabled";
|
|
112
|
+
ChatConfiguration["McpGalleryEnabled"] = "chat.mcp.gallery.enabled";
|
|
113
|
+
ChatConfiguration["McpGalleryServiceUrl"] = "chat.mcp.gallery.serviceUrl";
|
|
114
|
+
ChatConfiguration["McpServerSampling"] = "chat.mcp.serverSampling";
|
|
115
|
+
// ── Inline Chat ──────────────────────────────────────────────────
|
|
116
|
+
ChatConfiguration["InlineChatFinishOnType"] = "inlineChat.finishOnType";
|
|
117
|
+
ChatConfiguration["InlineChatHoldToSpeech"] = "inlineChat.holdToSpeech";
|
|
118
|
+
ChatConfiguration["InlineChatEnableV2"] = "inlineChat.enableV2";
|
|
119
|
+
ChatConfiguration["InlineChatDefaultModel"] = "inlineChat.defaultModel";
|
|
120
|
+
ChatConfiguration["InlineChatNotebookAgent"] = "inlineChat.notebookAgent";
|
|
121
|
+
ChatConfiguration["InlineChatAffordance"] = "inlineChat.affordance";
|
|
122
|
+
ChatConfiguration["InlineChatRenderMode"] = "inlineChat.renderMode";
|
|
123
|
+
ChatConfiguration["InlineChatFixDiagnostics"] = "inlineChat.fixDiagnostics";
|
|
124
|
+
// ── Terminal Chat Agent Tools ────────────────────────────────────
|
|
125
|
+
ChatConfiguration["TerminalEnableAutoApprove"] = "chat.tools.terminal.enableAutoApprove";
|
|
126
|
+
ChatConfiguration["TerminalAutoApprove"] = "chat.tools.terminal.autoApprove";
|
|
127
|
+
ChatConfiguration["TerminalAutoApproveWorkspaceNpmScripts"] = "chat.tools.terminal.autoApproveWorkspaceNpmScripts";
|
|
128
|
+
ChatConfiguration["TerminalIgnoreDefaultAutoApproveRules"] = "chat.tools.terminal.ignoreDefaultAutoApproveRules";
|
|
129
|
+
ChatConfiguration["TerminalBlockDetectedFileWrites"] = "chat.tools.terminal.blockDetectedFileWrites";
|
|
130
|
+
ChatConfiguration["TerminalShellIntegrationTimeout"] = "chat.tools.terminal.shellIntegrationTimeout";
|
|
131
|
+
ChatConfiguration["TerminalAutoReplyToPrompts"] = "chat.tools.terminal.autoReplyToPrompts";
|
|
132
|
+
ChatConfiguration["TerminalOutputLocation"] = "chat.tools.terminal.outputLocation";
|
|
133
|
+
ChatConfiguration["TerminalSandboxEnabled"] = "chat.tools.terminal.sandbox.enabled";
|
|
134
|
+
ChatConfiguration["TerminalSandboxNetwork"] = "chat.tools.terminal.sandbox.network";
|
|
135
|
+
ChatConfiguration["TerminalSandboxLinuxFileSystem"] = "chat.tools.terminal.sandbox.linuxFileSystem";
|
|
136
|
+
ChatConfiguration["TerminalSandboxMacFileSystem"] = "chat.tools.terminal.sandbox.macFileSystem";
|
|
137
|
+
ChatConfiguration["TerminalPreventShellHistory"] = "chat.tools.terminal.preventShellHistory";
|
|
138
|
+
ChatConfiguration["TerminalEnforceTimeoutFromModel"] = "chat.tools.terminal.enforceTimeoutFromModel";
|
|
139
|
+
ChatConfiguration["TerminalProfileLinux"] = "chat.tools.terminal.terminalProfile.linux";
|
|
140
|
+
ChatConfiguration["TerminalProfileMacOs"] = "chat.tools.terminal.terminalProfile.osx";
|
|
141
|
+
ChatConfiguration["TerminalProfileWindows"] = "chat.tools.terminal.terminalProfile.windows";
|
|
142
|
+
// ── Growth / Customization ───────────────────────────────────────
|
|
143
|
+
ChatConfiguration["GrowthNotificationEnabled"] = "chat.growthNotification.enabled";
|
|
144
|
+
ChatConfiguration["ChatCustomizationMenuEnabled"] = "chat.customizationsMenu.enabled";
|
|
145
|
+
ChatConfiguration["ChatCustomizationUserStoragePath"] = "chat.customizationsMenu.userStoragePath";
|
|
146
|
+
})(ChatConfiguration || (ChatConfiguration = {}));
|
|
147
|
+
// ─── Supporting Enums ────────────────────────────────────────────────────────
|
|
148
|
+
/** The kind of agent mode the user has selected. */
|
|
149
|
+
var ChatModeKind;
|
|
150
|
+
(function (ChatModeKind) {
|
|
151
|
+
ChatModeKind["Ask"] = "ask";
|
|
152
|
+
ChatModeKind["Edit"] = "edit";
|
|
153
|
+
ChatModeKind["Agent"] = "agent";
|
|
154
|
+
})(ChatModeKind || (ChatModeKind = {}));
|
|
155
|
+
/** Display mode for the "thinking" UI. */
|
|
156
|
+
var ThinkingDisplayMode;
|
|
157
|
+
(function (ThinkingDisplayMode) {
|
|
158
|
+
ThinkingDisplayMode["Collapsed"] = "collapsed";
|
|
159
|
+
ThinkingDisplayMode["CollapsedPreview"] = "collapsedPreview";
|
|
160
|
+
ThinkingDisplayMode["FixedScrolling"] = "fixedScrolling";
|
|
161
|
+
})(ThinkingDisplayMode || (ThinkingDisplayMode = {}));
|
|
162
|
+
/** How collapsed tools are shown alongside thinking output. */
|
|
163
|
+
var CollapsedToolsDisplayMode;
|
|
164
|
+
(function (CollapsedToolsDisplayMode) {
|
|
165
|
+
CollapsedToolsDisplayMode["Off"] = "off";
|
|
166
|
+
CollapsedToolsDisplayMode["WithThinking"] = "withThinking";
|
|
167
|
+
CollapsedToolsDisplayMode["Always"] = "always";
|
|
168
|
+
})(CollapsedToolsDisplayMode || (CollapsedToolsDisplayMode = {}));
|
|
169
|
+
/** When the chat window sends desktop/tab notifications. */
|
|
170
|
+
var ChatNotificationMode;
|
|
171
|
+
(function (ChatNotificationMode) {
|
|
172
|
+
ChatNotificationMode["Off"] = "off";
|
|
173
|
+
ChatNotificationMode["WindowNotFocused"] = "windowNotFocused";
|
|
174
|
+
ChatNotificationMode["Always"] = "always";
|
|
175
|
+
})(ChatNotificationMode || (ChatNotificationMode = {}));
|
|
176
|
+
/** Behaviour when the user clicks the agents control bar. */
|
|
177
|
+
var AgentsControlClickBehavior;
|
|
178
|
+
(function (AgentsControlClickBehavior) {
|
|
179
|
+
AgentsControlClickBehavior["Default"] = "default";
|
|
180
|
+
AgentsControlClickBehavior["Cycle"] = "cycle";
|
|
181
|
+
})(AgentsControlClickBehavior || (AgentsControlClickBehavior = {}));
|
|
182
|
+
/** Inline references render style. */
|
|
183
|
+
var InlineReferencesStyle;
|
|
184
|
+
(function (InlineReferencesStyle) {
|
|
185
|
+
InlineReferencesStyle["Box"] = "box";
|
|
186
|
+
InlineReferencesStyle["Link"] = "link";
|
|
187
|
+
})(InlineReferencesStyle || (InlineReferencesStyle = {}));
|
|
188
|
+
/** Sessions grouping strategy in the chat view. */
|
|
189
|
+
var ChatViewSessionsGrouping;
|
|
190
|
+
(function (ChatViewSessionsGrouping) {
|
|
191
|
+
ChatViewSessionsGrouping["None"] = "none";
|
|
192
|
+
ChatViewSessionsGrouping["Date"] = "date";
|
|
193
|
+
ChatViewSessionsGrouping["Agent"] = "agent";
|
|
194
|
+
})(ChatViewSessionsGrouping || (ChatViewSessionsGrouping = {}));
|
|
195
|
+
/** Sessions list orientation. */
|
|
196
|
+
var ChatViewSessionsOrientation;
|
|
197
|
+
(function (ChatViewSessionsOrientation) {
|
|
198
|
+
ChatViewSessionsOrientation["Stacked"] = "stacked";
|
|
199
|
+
ChatViewSessionsOrientation["SideBySide"] = "sideBySide";
|
|
200
|
+
})(ChatViewSessionsOrientation || (ChatViewSessionsOrientation = {}));
|
|
201
|
+
/** Upvote animation style. */
|
|
202
|
+
var UpvoteAnimationStyle;
|
|
203
|
+
(function (UpvoteAnimationStyle) {
|
|
204
|
+
UpvoteAnimationStyle["Off"] = "off";
|
|
205
|
+
UpvoteAnimationStyle["Confetti"] = "confetti";
|
|
206
|
+
UpvoteAnimationStyle["FloatingThumbs"] = "floatingThumbs";
|
|
207
|
+
UpvoteAnimationStyle["PulseWave"] = "pulseWave";
|
|
208
|
+
UpvoteAnimationStyle["RadiantLines"] = "radiantLines";
|
|
209
|
+
})(UpvoteAnimationStyle || (UpvoteAnimationStyle = {}));
|
|
210
|
+
/** Edit-request display mode. */
|
|
211
|
+
var EditRequestsMode;
|
|
212
|
+
(function (EditRequestsMode) {
|
|
213
|
+
EditRequestsMode["Inline"] = "inline";
|
|
214
|
+
EditRequestsMode["Hover"] = "hover";
|
|
215
|
+
EditRequestsMode["Input"] = "input";
|
|
216
|
+
EditRequestsMode["None"] = "none";
|
|
217
|
+
})(EditRequestsMode || (EditRequestsMode = {}));
|
|
218
|
+
/** MCP access level. */
|
|
219
|
+
var McpAccessValue;
|
|
220
|
+
(function (McpAccessValue) {
|
|
221
|
+
McpAccessValue["None"] = "none";
|
|
222
|
+
McpAccessValue["Registry"] = "registry";
|
|
223
|
+
McpAccessValue["All"] = "all";
|
|
224
|
+
})(McpAccessValue || (McpAccessValue = {}));
|
|
225
|
+
/** MCP auto-start preference. */
|
|
226
|
+
var McpAutoStartValue;
|
|
227
|
+
(function (McpAutoStartValue) {
|
|
228
|
+
McpAutoStartValue["Never"] = "never";
|
|
229
|
+
McpAutoStartValue["OnlyNew"] = "onlyNew";
|
|
230
|
+
McpAutoStartValue["NewAndOutdated"] = "newAndOutdated";
|
|
231
|
+
})(McpAutoStartValue || (McpAutoStartValue = {}));
|
|
232
|
+
/** Inline chat affordance display mode. */
|
|
233
|
+
var InlineChatAffordanceMode;
|
|
234
|
+
(function (InlineChatAffordanceMode) {
|
|
235
|
+
InlineChatAffordanceMode["Off"] = "off";
|
|
236
|
+
InlineChatAffordanceMode["Gutter"] = "gutter";
|
|
237
|
+
InlineChatAffordanceMode["Editor"] = "editor";
|
|
238
|
+
})(InlineChatAffordanceMode || (InlineChatAffordanceMode = {}));
|
|
239
|
+
/** Inline chat render mode. */
|
|
240
|
+
var InlineChatRenderModeValue;
|
|
241
|
+
(function (InlineChatRenderModeValue) {
|
|
242
|
+
InlineChatRenderModeValue["Zone"] = "zone";
|
|
243
|
+
InlineChatRenderModeValue["Hover"] = "hover";
|
|
244
|
+
})(InlineChatRenderModeValue || (InlineChatRenderModeValue = {}));
|
|
245
|
+
/** Terminal tool output location. */
|
|
246
|
+
var TerminalOutputLocation;
|
|
247
|
+
(function (TerminalOutputLocation) {
|
|
248
|
+
TerminalOutputLocation["Terminal"] = "terminal";
|
|
249
|
+
TerminalOutputLocation["Chat"] = "chat";
|
|
250
|
+
})(TerminalOutputLocation || (TerminalOutputLocation = {}));
|
|
251
|
+
/** Terminal block detected file writes mode. */
|
|
252
|
+
var TerminalBlockFileWritesMode;
|
|
253
|
+
(function (TerminalBlockFileWritesMode) {
|
|
254
|
+
TerminalBlockFileWritesMode["Never"] = "never";
|
|
255
|
+
TerminalBlockFileWritesMode["OutsideWorkspace"] = "outsideWorkspace";
|
|
256
|
+
TerminalBlockFileWritesMode["All"] = "all";
|
|
257
|
+
})(TerminalBlockFileWritesMode || (TerminalBlockFileWritesMode = {}));
|
|
258
|
+
// ─── Configuration Property Schemas ──────────────────────────────────────────
|
|
259
|
+
// Registered into the configuration-registry via AddChatConfigurationsMigration.
|
|
260
|
+
// Defaults and types aligned with VS Code main branch.
|
|
261
|
+
const ChatSettings = {
|
|
262
|
+
// ══════════════════════════════════════════════════════════════════
|
|
263
|
+
// Core / Miscellaneous
|
|
264
|
+
// ══════════════════════════════════════════════════════════════════
|
|
265
|
+
[ChatConfiguration.AIDisabled]: {
|
|
266
|
+
type: 'boolean',
|
|
267
|
+
default: false,
|
|
268
|
+
description: localize(ChatConfiguration.AIDisabled, 'Disable and hide built-in AI features provided by GitHub Copilot, including chat and inline suggestions.'),
|
|
269
|
+
scope: 3 /* ConfigurationScope.WINDOW */
|
|
270
|
+
},
|
|
271
|
+
[ChatConfiguration.AllowAnonymousAccess]: {
|
|
272
|
+
type: 'boolean',
|
|
273
|
+
default: false,
|
|
274
|
+
description: localize(ChatConfiguration.AllowAnonymousAccess, 'Controls whether anonymous access is allowed in chat.'),
|
|
275
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
276
|
+
},
|
|
277
|
+
[ChatConfiguration.PluginsEnabled]: {
|
|
278
|
+
type: 'boolean',
|
|
279
|
+
default: true,
|
|
280
|
+
description: localize(ChatConfiguration.PluginsEnabled, 'Enable agent plugin integration in chat.'),
|
|
281
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
282
|
+
},
|
|
283
|
+
[ChatConfiguration.PluginPaths]: {
|
|
284
|
+
type: 'object',
|
|
285
|
+
default: {},
|
|
286
|
+
description: localize(ChatConfiguration.PluginPaths, 'Plugin directories to discover. Each key is a path that points directly to a plugin folder, and the value enables (true) or disables (false) it.'),
|
|
287
|
+
scope: 2 /* ConfigurationScope.MACHINE */
|
|
288
|
+
},
|
|
289
|
+
[ChatConfiguration.PluginMarketplaces]: {
|
|
290
|
+
type: 'array',
|
|
291
|
+
default: ['github/copilot-plugins', 'github/awesome-copilot'],
|
|
292
|
+
description: localize(ChatConfiguration.PluginMarketplaces, 'Plugin marketplaces to query. Entries may be GitHub shorthand (owner/repo), direct Git repository URIs, or local repository URIs.'),
|
|
293
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
294
|
+
},
|
|
295
|
+
[ChatConfiguration.ExtensionUnificationEnabled]: {
|
|
296
|
+
type: 'boolean',
|
|
297
|
+
default: true,
|
|
298
|
+
description: localize(ChatConfiguration.ExtensionUnificationEnabled, 'Enables the unification of GitHub Copilot extensions.'),
|
|
299
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
300
|
+
},
|
|
301
|
+
// ══════════════════════════════════════════════════════════════════
|
|
302
|
+
// Agent
|
|
303
|
+
// ══════════════════════════════════════════════════════════════════
|
|
304
|
+
[ChatConfiguration.AgentEnabled]: {
|
|
305
|
+
type: 'boolean',
|
|
306
|
+
default: true,
|
|
307
|
+
description: localize(ChatConfiguration.AgentEnabled, 'When enabled, agent mode can be activated from chat and tools in agentic contexts with side effects can be used.'),
|
|
308
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
309
|
+
},
|
|
310
|
+
[ChatConfiguration.AgentMaxRequests]: {
|
|
311
|
+
type: 'number',
|
|
312
|
+
default: 50,
|
|
313
|
+
description: localize(ChatConfiguration.AgentMaxRequests, 'The maximum number of requests to allow per-turn when using an agent. When the limit is reached, will ask to confirm to continue.'),
|
|
314
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
315
|
+
},
|
|
316
|
+
[ChatConfiguration.PlanAgentDefaultModel]: {
|
|
317
|
+
type: 'string',
|
|
318
|
+
default: '',
|
|
319
|
+
description: localize(ChatConfiguration.PlanAgentDefaultModel, 'Select the default language model to use for the Plan agent from the available providers.'),
|
|
320
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
321
|
+
},
|
|
322
|
+
[ChatConfiguration.ExploreAgentDefaultModel]: {
|
|
323
|
+
type: 'string',
|
|
324
|
+
default: '',
|
|
325
|
+
description: localize(ChatConfiguration.ExploreAgentDefaultModel, 'Select the default language model to use for the Explore subagent from the available providers.'),
|
|
326
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
327
|
+
},
|
|
328
|
+
[ChatConfiguration.RequestQueueingDefaultAction]: {
|
|
329
|
+
type: 'string',
|
|
330
|
+
default: 'steer',
|
|
331
|
+
enum: ['queue', 'steer'],
|
|
332
|
+
description: localize(ChatConfiguration.RequestQueueingDefaultAction, 'Controls which action is the default for the queue button when a request is in progress.'),
|
|
333
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
334
|
+
},
|
|
335
|
+
[ChatConfiguration.AgentStatusEnabled]: {
|
|
336
|
+
type: 'boolean',
|
|
337
|
+
default: true,
|
|
338
|
+
description: localize(ChatConfiguration.AgentStatusEnabled, 'Controls whether the Agent Status indicator is shown in the title bar command center.'),
|
|
339
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
340
|
+
},
|
|
341
|
+
[ChatConfiguration.AgentSessionProjectionEnabled]: {
|
|
342
|
+
type: 'boolean',
|
|
343
|
+
default: false,
|
|
344
|
+
description: localize(ChatConfiguration.AgentSessionProjectionEnabled, 'Controls whether Agent Session Projection mode is enabled for reviewing agent sessions in a focused workspace.'),
|
|
345
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
346
|
+
},
|
|
347
|
+
// ══════════════════════════════════════════════════════════════════
|
|
348
|
+
// Editor / Edit mode
|
|
349
|
+
// ══════════════════════════════════════════════════════════════════
|
|
350
|
+
[ChatConfiguration.EditorAssociations]: {
|
|
351
|
+
type: 'object',
|
|
352
|
+
default: {},
|
|
353
|
+
description: localize(ChatConfiguration.EditorAssociations, 'Configure glob patterns to editors for opening files from chat.'),
|
|
354
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
355
|
+
},
|
|
356
|
+
[ChatConfiguration.EditModeHidden]: {
|
|
357
|
+
type: 'boolean',
|
|
358
|
+
default: true,
|
|
359
|
+
description: localize(ChatConfiguration.EditModeHidden, 'When enabled, hides the Edit mode from the chat mode picker.'),
|
|
360
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
361
|
+
},
|
|
362
|
+
[ChatConfiguration.Edits2Enabled]: {
|
|
363
|
+
type: 'boolean',
|
|
364
|
+
default: false,
|
|
365
|
+
description: localize(ChatConfiguration.Edits2Enabled, 'Enable the new Edits mode that is based on tool-calling.'),
|
|
366
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
367
|
+
},
|
|
368
|
+
[ChatConfiguration.EditRequests]: {
|
|
369
|
+
type: 'string',
|
|
370
|
+
default: EditRequestsMode.Inline,
|
|
371
|
+
enum: Object.values(EditRequestsMode),
|
|
372
|
+
description: localize(ChatConfiguration.EditRequests, 'Enables editing of requests in the chat. This allows you to change the request content and resubmit it to the model.'),
|
|
373
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
374
|
+
},
|
|
375
|
+
[ChatConfiguration.EditingAutoAcceptDelay]: {
|
|
376
|
+
type: 'number',
|
|
377
|
+
default: 0,
|
|
378
|
+
description: localize(ChatConfiguration.EditingAutoAcceptDelay, 'Delay (seconds, 0–100) after which changes made by chat are automatically accepted. 0 means disabled.'),
|
|
379
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
380
|
+
},
|
|
381
|
+
[ChatConfiguration.EditingConfirmRemoval]: {
|
|
382
|
+
type: 'boolean',
|
|
383
|
+
default: true,
|
|
384
|
+
description: localize(ChatConfiguration.EditingConfirmRemoval, 'Whether to show a confirmation before removing a request and its associated edits.'),
|
|
385
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
386
|
+
},
|
|
387
|
+
[ChatConfiguration.EditingConfirmRetry]: {
|
|
388
|
+
type: 'boolean',
|
|
389
|
+
default: true,
|
|
390
|
+
description: localize(ChatConfiguration.EditingConfirmRetry, 'Whether to show a confirmation before retrying a request and its associated edits.'),
|
|
391
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
392
|
+
},
|
|
393
|
+
[ChatConfiguration.ExplainChangesEnabled]: {
|
|
394
|
+
type: 'boolean',
|
|
395
|
+
default: false,
|
|
396
|
+
description: localize(ChatConfiguration.ExplainChangesEnabled, 'Controls whether the Explain button in the Chat panel and the Explain Changes context menu in the SCM view are shown.'),
|
|
397
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
398
|
+
},
|
|
399
|
+
// ══════════════════════════════════════════════════════════════════
|
|
400
|
+
// Appearance / UI
|
|
401
|
+
// ══════════════════════════════════════════════════════════════════
|
|
402
|
+
[ChatConfiguration.FontSize]: {
|
|
403
|
+
type: 'number',
|
|
404
|
+
default: 13,
|
|
405
|
+
description: localize(ChatConfiguration.FontSize, 'Controls the font size in pixels in chat messages.'),
|
|
406
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
407
|
+
},
|
|
408
|
+
[ChatConfiguration.FontFamily]: {
|
|
409
|
+
type: 'string',
|
|
410
|
+
default: 'default',
|
|
411
|
+
description: localize(ChatConfiguration.FontFamily, 'Controls the font family in chat messages.'),
|
|
412
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
413
|
+
},
|
|
414
|
+
[ChatConfiguration.EditorFontSize]: {
|
|
415
|
+
type: 'number',
|
|
416
|
+
default: 14,
|
|
417
|
+
description: localize(ChatConfiguration.EditorFontSize, 'Controls the font size in pixels in chat codeblocks.'),
|
|
418
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
419
|
+
},
|
|
420
|
+
[ChatConfiguration.EditorFontFamily]: {
|
|
421
|
+
type: 'string',
|
|
422
|
+
default: 'default',
|
|
423
|
+
description: localize(ChatConfiguration.EditorFontFamily, 'Controls the font family in chat codeblocks.'),
|
|
424
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
425
|
+
},
|
|
426
|
+
[ChatConfiguration.EditorFontWeight]: {
|
|
427
|
+
type: 'string',
|
|
428
|
+
default: 'default',
|
|
429
|
+
description: localize(ChatConfiguration.EditorFontWeight, 'Controls the font weight in chat codeblocks.'),
|
|
430
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
431
|
+
},
|
|
432
|
+
[ChatConfiguration.EditorWordWrap]: {
|
|
433
|
+
type: 'string',
|
|
434
|
+
default: 'off',
|
|
435
|
+
enum: ['on', 'off'],
|
|
436
|
+
description: localize(ChatConfiguration.EditorWordWrap, 'Controls whether lines should wrap in chat codeblocks.'),
|
|
437
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
438
|
+
},
|
|
439
|
+
[ChatConfiguration.EditorLineHeight]: {
|
|
440
|
+
type: 'number',
|
|
441
|
+
default: 0,
|
|
442
|
+
description: localize(ChatConfiguration.EditorLineHeight, 'Controls the line height in pixels in chat codeblocks. Use 0 to compute from font size.'),
|
|
443
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
444
|
+
},
|
|
445
|
+
[ChatConfiguration.UnifiedAgentsBar]: {
|
|
446
|
+
type: 'boolean',
|
|
447
|
+
default: false,
|
|
448
|
+
description: localize(ChatConfiguration.UnifiedAgentsBar, 'Replaces the command center search box with a unified chat and search widget.'),
|
|
449
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
450
|
+
},
|
|
451
|
+
[ChatConfiguration.InlineReferencesStyle]: {
|
|
452
|
+
type: 'string',
|
|
453
|
+
default: InlineReferencesStyle.Box,
|
|
454
|
+
enum: Object.values(InlineReferencesStyle),
|
|
455
|
+
description: localize(ChatConfiguration.InlineReferencesStyle, 'Controls how file and symbol references are displayed in chat messages.'),
|
|
456
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
457
|
+
},
|
|
458
|
+
[ChatConfiguration.ShowCodeBlockProgressAnimation]: {
|
|
459
|
+
type: 'boolean',
|
|
460
|
+
default: true,
|
|
461
|
+
description: localize(ChatConfiguration.ShowCodeBlockProgressAnimation, 'When applying edits, show a progress animation in the code block pill.'),
|
|
462
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
463
|
+
},
|
|
464
|
+
[ChatConfiguration.RestoreLastPanelSession]: {
|
|
465
|
+
type: 'boolean',
|
|
466
|
+
default: false,
|
|
467
|
+
description: localize(ChatConfiguration.RestoreLastPanelSession, 'Controls whether the last session is restored in panel after restart.'),
|
|
468
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
469
|
+
},
|
|
470
|
+
[ChatConfiguration.AgentsControlClickBehavior]: {
|
|
471
|
+
type: 'string',
|
|
472
|
+
default: AgentsControlClickBehavior.Default,
|
|
473
|
+
enum: Object.values(AgentsControlClickBehavior),
|
|
474
|
+
description: localize(ChatConfiguration.AgentsControlClickBehavior, 'Controls the behavior when clicking on the chat icon in the command center.'),
|
|
475
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
476
|
+
},
|
|
477
|
+
[ChatConfiguration.TipsEnabled]: {
|
|
478
|
+
type: 'boolean',
|
|
479
|
+
default: false,
|
|
480
|
+
description: localize(ChatConfiguration.TipsEnabled, 'Controls whether tips are shown above user messages in chat.'),
|
|
481
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
482
|
+
},
|
|
483
|
+
[ChatConfiguration.UpvoteAnimation]: {
|
|
484
|
+
type: 'string',
|
|
485
|
+
default: UpvoteAnimationStyle.FloatingThumbs,
|
|
486
|
+
enum: Object.values(UpvoteAnimationStyle),
|
|
487
|
+
description: localize(ChatConfiguration.UpvoteAnimation, 'Controls whether an animation is shown when clicking the thumbs up button on a chat response.'),
|
|
488
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
489
|
+
},
|
|
490
|
+
[ChatConfiguration.StatusWidgetAnonymous]: {
|
|
491
|
+
type: 'boolean',
|
|
492
|
+
default: false,
|
|
493
|
+
description: localize(ChatConfiguration.StatusWidgetAnonymous, 'Controls whether anonymous users see the status widget in new chat sessions when rate limited.'),
|
|
494
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
495
|
+
},
|
|
496
|
+
// ══════════════════════════════════════════════════════════════════
|
|
497
|
+
// Extensions / Tools
|
|
498
|
+
// ══════════════════════════════════════════════════════════════════
|
|
499
|
+
[ChatConfiguration.ExtensionToolsEnabled]: {
|
|
500
|
+
type: 'boolean',
|
|
501
|
+
default: true,
|
|
502
|
+
description: localize(ChatConfiguration.ExtensionToolsEnabled, 'Enable using tools contributed by third-party extensions.'),
|
|
503
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
504
|
+
},
|
|
505
|
+
[ChatConfiguration.RepoInfoEnabled]: {
|
|
506
|
+
type: 'boolean',
|
|
507
|
+
default: false,
|
|
508
|
+
description: localize(ChatConfiguration.RepoInfoEnabled, 'Controls whether lightweight repository metadata is captured when a chat request is submitted.'),
|
|
509
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
510
|
+
},
|
|
511
|
+
[ChatConfiguration.UsagesToolEnabled]: {
|
|
512
|
+
type: 'boolean',
|
|
513
|
+
default: true,
|
|
514
|
+
description: localize(ChatConfiguration.UsagesToolEnabled, 'Controls whether the usages tool is available for finding references, definitions, and implementations.'),
|
|
515
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
516
|
+
},
|
|
517
|
+
[ChatConfiguration.RenameToolEnabled]: {
|
|
518
|
+
type: 'boolean',
|
|
519
|
+
default: true,
|
|
520
|
+
description: localize(ChatConfiguration.RenameToolEnabled, 'Controls whether the rename tool is available for renaming code symbols across the workspace.'),
|
|
521
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
522
|
+
},
|
|
523
|
+
// ══════════════════════════════════════════════════════════════════
|
|
524
|
+
// Auto-reply / Auto-approve
|
|
525
|
+
// ══════════════════════════════════════════════════════════════════
|
|
526
|
+
[ChatConfiguration.AutoReply]: {
|
|
527
|
+
type: 'boolean',
|
|
528
|
+
default: false,
|
|
529
|
+
description: localize(ChatConfiguration.AutoReply, 'Automatically answer chat question carousels using the current model. Advanced setting—can lead to unintended choices.'),
|
|
530
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
531
|
+
},
|
|
532
|
+
[ChatConfiguration.GlobalAutoApprove]: {
|
|
533
|
+
type: 'boolean',
|
|
534
|
+
default: false,
|
|
535
|
+
description: localize(ChatConfiguration.GlobalAutoApprove, 'Global auto-approve (YOLO mode) disables manual approval completely for all tools in all workspaces.'),
|
|
536
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
537
|
+
},
|
|
538
|
+
[ChatConfiguration.AutoApproveEdits]: {
|
|
539
|
+
type: 'object',
|
|
540
|
+
default: {
|
|
541
|
+
'**/*': true,
|
|
542
|
+
'**/.vscode/*.json': false,
|
|
543
|
+
'**/.git/**': false,
|
|
544
|
+
'**/{package.json,server.xml,build.rs,web.config,.gitattributes,.env}': false,
|
|
545
|
+
'**/*.{code-workspace,csproj,fsproj,vbproj,vcxproj,proj,targets,props}': false,
|
|
546
|
+
'**/*.lock': false,
|
|
547
|
+
'**/*-lock.{yaml,json}': false
|
|
548
|
+
},
|
|
549
|
+
description: localize(ChatConfiguration.AutoApproveEdits, 'Controls whether edits made by the agent are automatically approved. Glob patterns map to true/false.'),
|
|
550
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
551
|
+
},
|
|
552
|
+
[ChatConfiguration.AutoApprovedUrls]: {
|
|
553
|
+
type: 'object',
|
|
554
|
+
default: {},
|
|
555
|
+
description: localize(ChatConfiguration.AutoApprovedUrls, 'Controls which URLs are automatically approved when requested by chat tools. Keys are URL patterns, values are true/false or {approveRequest, approveResponse}.'),
|
|
556
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
557
|
+
},
|
|
558
|
+
[ChatConfiguration.EligibleForAutoApproval]: {
|
|
559
|
+
type: 'object',
|
|
560
|
+
default: {},
|
|
561
|
+
description: localize(ChatConfiguration.EligibleForAutoApproval, 'Controls which tools are eligible for automatic approval. Tools set to false will always present a confirmation.'),
|
|
562
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
563
|
+
},
|
|
564
|
+
[ChatConfiguration.AutoExpandToolFailures]: {
|
|
565
|
+
type: 'boolean',
|
|
566
|
+
default: true,
|
|
567
|
+
description: localize(ChatConfiguration.AutoExpandToolFailures, 'When enabled, tool failures are automatically expanded in the chat UI to show error details.'),
|
|
568
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
569
|
+
},
|
|
570
|
+
// ══════════════════════════════════════════════════════════════════
|
|
571
|
+
// Thinking
|
|
572
|
+
// ══════════════════════════════════════════════════════════════════
|
|
573
|
+
[ChatConfiguration.ThinkingStyle]: {
|
|
574
|
+
type: 'string',
|
|
575
|
+
default: ThinkingDisplayMode.FixedScrolling,
|
|
576
|
+
enum: Object.values(ThinkingDisplayMode),
|
|
577
|
+
description: localize(ChatConfiguration.ThinkingStyle, 'Controls how thinking is rendered.'),
|
|
578
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
579
|
+
},
|
|
580
|
+
[ChatConfiguration.ThinkingGenerateTitles]: {
|
|
581
|
+
type: 'boolean',
|
|
582
|
+
default: true,
|
|
583
|
+
description: localize(ChatConfiguration.ThinkingGenerateTitles, 'Controls whether to use an LLM to generate summary titles for thinking sections.'),
|
|
584
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
585
|
+
},
|
|
586
|
+
[ChatConfiguration.ThinkingCollapsedTools]: {
|
|
587
|
+
type: 'string',
|
|
588
|
+
default: CollapsedToolsDisplayMode.Always,
|
|
589
|
+
enum: Object.values(CollapsedToolsDisplayMode),
|
|
590
|
+
description: localize(ChatConfiguration.ThinkingCollapsedTools, 'Controls how tool calls are displayed in relation to thinking sections.'),
|
|
591
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
592
|
+
},
|
|
593
|
+
[ChatConfiguration.TerminalToolsInThinking]: {
|
|
594
|
+
type: 'boolean',
|
|
595
|
+
default: true,
|
|
596
|
+
description: localize(ChatConfiguration.TerminalToolsInThinking, 'When enabled, terminal tool calls are displayed inside the thinking dropdown with a simplified view.'),
|
|
597
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
598
|
+
},
|
|
599
|
+
[ChatConfiguration.SimpleTerminalCollapsible]: {
|
|
600
|
+
type: 'boolean',
|
|
601
|
+
default: false,
|
|
602
|
+
description: localize(ChatConfiguration.SimpleTerminalCollapsible, 'When enabled, terminal tool calls are always displayed in a collapsible container with a simplified view.'),
|
|
603
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
604
|
+
},
|
|
605
|
+
[ChatConfiguration.ThinkingPhrases]: {
|
|
606
|
+
type: 'object',
|
|
607
|
+
default: {
|
|
608
|
+
mode: 'append',
|
|
609
|
+
phrases: []
|
|
610
|
+
},
|
|
611
|
+
description: localize(ChatConfiguration.ThinkingPhrases, 'Customize the loading messages shown during agent operations. Use "mode":"replace" to use only your phrases, or "mode":"append" to add them to defaults.'),
|
|
612
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
613
|
+
},
|
|
614
|
+
// ══════════════════════════════════════════════════════════════════
|
|
615
|
+
// Features
|
|
616
|
+
// ══════════════════════════════════════════════════════════════════
|
|
617
|
+
[ChatConfiguration.EnableMath]: {
|
|
618
|
+
type: 'boolean',
|
|
619
|
+
default: true,
|
|
620
|
+
description: localize(ChatConfiguration.EnableMath, 'Enable math rendering in chat responses using KaTeX.'),
|
|
621
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
622
|
+
},
|
|
623
|
+
[ChatConfiguration.CheckpointsEnabled]: {
|
|
624
|
+
type: 'boolean',
|
|
625
|
+
default: true,
|
|
626
|
+
description: localize(ChatConfiguration.CheckpointsEnabled, 'Enables checkpoints in chat. Checkpoints allow you to restore the chat to a previous state.'),
|
|
627
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
628
|
+
},
|
|
629
|
+
[ChatConfiguration.CheckpointsShowFileChanges]: {
|
|
630
|
+
type: 'boolean',
|
|
631
|
+
default: false,
|
|
632
|
+
description: localize(ChatConfiguration.CheckpointsShowFileChanges, 'Controls whether to show chat checkpoint file changes.'),
|
|
633
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
634
|
+
},
|
|
635
|
+
[ChatConfiguration.TodosShowWidget]: {
|
|
636
|
+
type: 'boolean',
|
|
637
|
+
default: true,
|
|
638
|
+
description: localize(ChatConfiguration.TodosShowWidget, 'Controls whether to show the todo list widget above the chat input.'),
|
|
639
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
640
|
+
},
|
|
641
|
+
[ChatConfiguration.ExitAfterDelegation]: {
|
|
642
|
+
type: 'boolean',
|
|
643
|
+
default: false,
|
|
644
|
+
description: localize(ChatConfiguration.ExitAfterDelegation, 'Controls whether the chat panel automatically exits after delegating a request to another session.'),
|
|
645
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
646
|
+
},
|
|
647
|
+
[ChatConfiguration.SubagentToolCustomAgents]: {
|
|
648
|
+
type: 'boolean',
|
|
649
|
+
default: true,
|
|
650
|
+
description: localize(ChatConfiguration.SubagentToolCustomAgents, 'Whether the runSubagent tool is able to use custom agents.'),
|
|
651
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
652
|
+
},
|
|
653
|
+
[ChatConfiguration.UndoRequestsRestoreInput]: {
|
|
654
|
+
type: 'boolean',
|
|
655
|
+
default: true,
|
|
656
|
+
description: localize(ChatConfiguration.UndoRequestsRestoreInput, 'Controls whether the input of the chat should be restored when an undo request is made.'),
|
|
657
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
658
|
+
},
|
|
659
|
+
// ══════════════════════════════════════════════════════════════════
|
|
660
|
+
// Send Elements
|
|
661
|
+
// ══════════════════════════════════════════════════════════════════
|
|
662
|
+
[ChatConfiguration.SendElementsEnabled]: {
|
|
663
|
+
type: 'boolean',
|
|
664
|
+
default: true,
|
|
665
|
+
description: localize(ChatConfiguration.SendElementsEnabled, 'Controls whether elements can be sent to chat from the Simple Browser.'),
|
|
666
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
667
|
+
},
|
|
668
|
+
[ChatConfiguration.SendElementsAttachCSS]: {
|
|
669
|
+
type: 'boolean',
|
|
670
|
+
default: true,
|
|
671
|
+
description: localize(ChatConfiguration.SendElementsAttachCSS, 'Controls whether CSS of the selected element will be added to the chat.'),
|
|
672
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
673
|
+
},
|
|
674
|
+
[ChatConfiguration.SendElementsAttachImages]: {
|
|
675
|
+
type: 'boolean',
|
|
676
|
+
default: true,
|
|
677
|
+
description: localize(ChatConfiguration.SendElementsAttachImages, 'Controls whether a screenshot of the selected element will be added to the chat.'),
|
|
678
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
679
|
+
},
|
|
680
|
+
// ══════════════════════════════════════════════════════════════════
|
|
681
|
+
// Notifications
|
|
682
|
+
// ══════════════════════════════════════════════════════════════════
|
|
683
|
+
[ChatConfiguration.NotifyWindowOnConfirmation]: {
|
|
684
|
+
type: 'string',
|
|
685
|
+
default: ChatNotificationMode.WindowNotFocused,
|
|
686
|
+
enum: Object.values(ChatNotificationMode),
|
|
687
|
+
description: localize(ChatConfiguration.NotifyWindowOnConfirmation, 'Controls whether a chat session should present the user with an OS notification when a confirmation or question needs input.'),
|
|
688
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
689
|
+
},
|
|
690
|
+
[ChatConfiguration.NotifyWindowOnResponseReceived]: {
|
|
691
|
+
type: 'string',
|
|
692
|
+
default: ChatNotificationMode.WindowNotFocused,
|
|
693
|
+
enum: Object.values(ChatNotificationMode),
|
|
694
|
+
description: localize(ChatConfiguration.NotifyWindowOnResponseReceived, 'Controls whether a chat session should present the user with an OS notification when a response is received.'),
|
|
695
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
696
|
+
},
|
|
697
|
+
// ══════════════════════════════════════════════════════════════════
|
|
698
|
+
// Sessions view
|
|
699
|
+
// ══════════════════════════════════════════════════════════════════
|
|
700
|
+
[ChatConfiguration.ChatViewSessionsEnabled]: {
|
|
701
|
+
type: 'boolean',
|
|
702
|
+
default: true,
|
|
703
|
+
description: localize(ChatConfiguration.ChatViewSessionsEnabled, 'Show chat agent sessions when chat is empty or to the side when chat view is wide enough.'),
|
|
704
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
705
|
+
},
|
|
706
|
+
[ChatConfiguration.ChatViewSessionsGrouping]: {
|
|
707
|
+
type: 'string',
|
|
708
|
+
default: ChatViewSessionsGrouping.Date,
|
|
709
|
+
enum: Object.values(ChatViewSessionsGrouping),
|
|
710
|
+
description: localize(ChatConfiguration.ChatViewSessionsGrouping, 'How sessions are grouped in the list.'),
|
|
711
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
712
|
+
},
|
|
713
|
+
[ChatConfiguration.ChatViewSessionsOrientation]: {
|
|
714
|
+
type: 'string',
|
|
715
|
+
default: ChatViewSessionsOrientation.SideBySide,
|
|
716
|
+
enum: Object.values(ChatViewSessionsOrientation),
|
|
717
|
+
description: localize(ChatConfiguration.ChatViewSessionsOrientation, 'Controls the orientation of the chat agent sessions view when it is shown alongside the chat.'),
|
|
718
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
719
|
+
},
|
|
720
|
+
[ChatConfiguration.ChatViewProgressBadgeEnabled]: {
|
|
721
|
+
type: 'boolean',
|
|
722
|
+
default: false,
|
|
723
|
+
description: localize(ChatConfiguration.ChatViewProgressBadgeEnabled, 'Show a progress badge on the chat view when an agent session is in progress.'),
|
|
724
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
725
|
+
},
|
|
726
|
+
// ══════════════════════════════════════════════════════════════════
|
|
727
|
+
// Context
|
|
728
|
+
// ══════════════════════════════════════════════════════════════════
|
|
729
|
+
[ChatConfiguration.ChatContextUsageEnabled]: {
|
|
730
|
+
type: 'boolean',
|
|
731
|
+
default: true,
|
|
732
|
+
description: localize(ChatConfiguration.ChatContextUsageEnabled, 'Show the context window usage indicator in the chat input.'),
|
|
733
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
734
|
+
},
|
|
735
|
+
[ChatConfiguration.DetectParticipantEnabled]: {
|
|
736
|
+
type: 'boolean',
|
|
737
|
+
default: true,
|
|
738
|
+
description: localize(ChatConfiguration.DetectParticipantEnabled, 'Enables chat participant autodetection for panel chat.'),
|
|
739
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
740
|
+
},
|
|
741
|
+
[ChatConfiguration.ImplicitContextEnabled]: {
|
|
742
|
+
type: 'object',
|
|
743
|
+
default: {
|
|
744
|
+
panel: 'always'
|
|
745
|
+
},
|
|
746
|
+
description: localize(ChatConfiguration.ImplicitContextEnabled, 'Enables automatically using the active editor as chat context for specified chat locations.'),
|
|
747
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
748
|
+
},
|
|
749
|
+
[ChatConfiguration.ImplicitContextSuggestedContext]: {
|
|
750
|
+
type: 'boolean',
|
|
751
|
+
default: true,
|
|
752
|
+
description: localize(ChatConfiguration.ImplicitContextSuggestedContext, 'Controls whether the new implicit context flow is shown. In Ask/Edit modes, context is auto-included; in agent, it is suggested as attachment.'),
|
|
753
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
754
|
+
},
|
|
755
|
+
// ══════════════════════════════════════════════════════════════════
|
|
756
|
+
// Prompts / Instructions / Agents
|
|
757
|
+
// ══════════════════════════════════════════════════════════════════
|
|
758
|
+
[ChatConfiguration.InstructionsFilesLocations]: {
|
|
759
|
+
type: 'object',
|
|
760
|
+
default: {
|
|
761
|
+
'.github/instructions': true
|
|
762
|
+
},
|
|
763
|
+
description: localize(ChatConfiguration.InstructionsFilesLocations, 'Specify location(s) of instructions files that can be attached in Chat sessions.'),
|
|
764
|
+
scope: 4 /* ConfigurationScope.RESOURCE */
|
|
765
|
+
},
|
|
766
|
+
[ChatConfiguration.PromptFilesLocations]: {
|
|
767
|
+
type: 'object',
|
|
768
|
+
default: {
|
|
769
|
+
'.github/prompts': true
|
|
770
|
+
},
|
|
771
|
+
description: localize(ChatConfiguration.PromptFilesLocations, 'Specify location(s) of reusable prompt files that can be run in Chat sessions.'),
|
|
772
|
+
scope: 4 /* ConfigurationScope.RESOURCE */
|
|
773
|
+
},
|
|
774
|
+
[ChatConfiguration.ModeFilesLocations]: {
|
|
775
|
+
type: 'object',
|
|
776
|
+
default: {
|
|
777
|
+
'.github/chatModes': true
|
|
778
|
+
},
|
|
779
|
+
description: localize(ChatConfiguration.ModeFilesLocations, 'Specify location(s) of custom chat mode files. Deprecated — now called custom agents.'),
|
|
780
|
+
scope: 4 /* ConfigurationScope.RESOURCE */
|
|
781
|
+
},
|
|
782
|
+
[ChatConfiguration.AgentFilesLocations]: {
|
|
783
|
+
type: 'object',
|
|
784
|
+
default: {
|
|
785
|
+
'.github/agents': true,
|
|
786
|
+
'.claude': true
|
|
787
|
+
},
|
|
788
|
+
description: localize(ChatConfiguration.AgentFilesLocations, 'Specify location(s) of custom agent files.'),
|
|
789
|
+
scope: 4 /* ConfigurationScope.RESOURCE */
|
|
790
|
+
},
|
|
791
|
+
[ChatConfiguration.AgentSkillsLocations]: {
|
|
792
|
+
type: 'object',
|
|
793
|
+
default: {
|
|
794
|
+
'.github/skills': true
|
|
795
|
+
},
|
|
796
|
+
description: localize(ChatConfiguration.AgentSkillsLocations, 'Specify location(s) of agent skills (SKILL.md) that can be used in Chat Sessions.'),
|
|
797
|
+
scope: 4 /* ConfigurationScope.RESOURCE */
|
|
798
|
+
},
|
|
799
|
+
[ChatConfiguration.HookFilesLocations]: {
|
|
800
|
+
type: 'object',
|
|
801
|
+
default: {
|
|
802
|
+
'.github/hooks': true
|
|
803
|
+
},
|
|
804
|
+
description: localize(ChatConfiguration.HookFilesLocations, 'Specify paths to hook configuration files that define custom shell commands to execute at strategic points in an agent workflow.'),
|
|
805
|
+
scope: 4 /* ConfigurationScope.RESOURCE */
|
|
806
|
+
},
|
|
807
|
+
[ChatConfiguration.PromptFilesRecommendations]: {
|
|
808
|
+
type: 'object',
|
|
809
|
+
default: {},
|
|
810
|
+
description: localize(ChatConfiguration.PromptFilesRecommendations, 'Configure which prompt files to recommend in the chat welcome view.'),
|
|
811
|
+
scope: 4 /* ConfigurationScope.RESOURCE */
|
|
812
|
+
},
|
|
813
|
+
[ChatConfiguration.UseAgentsMdFile]: {
|
|
814
|
+
type: 'boolean',
|
|
815
|
+
default: true,
|
|
816
|
+
description: localize(ChatConfiguration.UseAgentsMdFile, 'Controls whether instructions from AGENTS.md file found in workspace roots are attached to all chat requests.'),
|
|
817
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
818
|
+
},
|
|
819
|
+
[ChatConfiguration.UseNestedAgentsMdFiles]: {
|
|
820
|
+
type: 'boolean',
|
|
821
|
+
default: false,
|
|
822
|
+
description: localize(ChatConfiguration.UseNestedAgentsMdFiles, 'Controls whether instructions from nested AGENTS.md files found in the workspace are listed in all chat requests.'),
|
|
823
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
824
|
+
},
|
|
825
|
+
[ChatConfiguration.UseClaudeMdFile]: {
|
|
826
|
+
type: 'boolean',
|
|
827
|
+
default: true,
|
|
828
|
+
description: localize(ChatConfiguration.UseClaudeMdFile, 'Controls whether instructions from CLAUDE.md file found in workspace roots, .claude and ~/.claude folder are attached to all chat requests.'),
|
|
829
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
830
|
+
},
|
|
831
|
+
[ChatConfiguration.UseAgentSkills]: {
|
|
832
|
+
type: 'boolean',
|
|
833
|
+
default: true,
|
|
834
|
+
description: localize(ChatConfiguration.UseAgentSkills, 'Controls whether skills are provided as specialized capabilities to the chat requests.'),
|
|
835
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
836
|
+
},
|
|
837
|
+
[ChatConfiguration.UseSkillAdherencePrompt]: {
|
|
838
|
+
type: 'boolean',
|
|
839
|
+
default: false,
|
|
840
|
+
description: localize(ChatConfiguration.UseSkillAdherencePrompt, 'Controls whether a stronger skill adherence prompt is used that encourages the model to immediately invoke skills when relevant.'),
|
|
841
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
842
|
+
},
|
|
843
|
+
[ChatConfiguration.IncludeApplyingInstructions]: {
|
|
844
|
+
type: 'boolean',
|
|
845
|
+
default: true,
|
|
846
|
+
description: localize(ChatConfiguration.IncludeApplyingInstructions, 'Controls whether instructions with a matching applyTo attribute are automatically included in chat requests.'),
|
|
847
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
848
|
+
},
|
|
849
|
+
[ChatConfiguration.IncludeReferencedInstructions]: {
|
|
850
|
+
type: 'boolean',
|
|
851
|
+
default: false,
|
|
852
|
+
description: localize(ChatConfiguration.IncludeReferencedInstructions, 'Controls whether referenced instructions are automatically included in chat requests.'),
|
|
853
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
854
|
+
},
|
|
855
|
+
[ChatConfiguration.UseHooks]: {
|
|
856
|
+
type: 'boolean',
|
|
857
|
+
default: true,
|
|
858
|
+
description: localize(ChatConfiguration.UseHooks, 'Controls whether chat hooks are executed at strategic points during an agent workflow.'),
|
|
859
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
860
|
+
},
|
|
861
|
+
[ChatConfiguration.UseClaudeHooks]: {
|
|
862
|
+
type: 'boolean',
|
|
863
|
+
default: false,
|
|
864
|
+
description: localize(ChatConfiguration.UseClaudeHooks, 'Controls whether hooks from Claude configuration files can execute. When disabled, only Copilot-format hooks are used.'),
|
|
865
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
866
|
+
},
|
|
867
|
+
// ══════════════════════════════════════════════════════════════════
|
|
868
|
+
// MCP (Model Context Protocol)
|
|
869
|
+
// ══════════════════════════════════════════════════════════════════
|
|
870
|
+
[ChatConfiguration.McpAccess]: {
|
|
871
|
+
type: 'string',
|
|
872
|
+
default: McpAccessValue.All,
|
|
873
|
+
enum: Object.values(McpAccessValue),
|
|
874
|
+
description: localize(ChatConfiguration.McpAccess, 'Controls access to installed Model Context Protocol servers.'),
|
|
875
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
876
|
+
},
|
|
877
|
+
[ChatConfiguration.McpAutoStart]: {
|
|
878
|
+
type: 'string',
|
|
879
|
+
default: McpAutoStartValue.NewAndOutdated,
|
|
880
|
+
enum: Object.values(McpAutoStartValue),
|
|
881
|
+
description: localize(ChatConfiguration.McpAutoStart, 'Controls whether MCP servers should be automatically started when the chat messages are submitted.'),
|
|
882
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
883
|
+
},
|
|
884
|
+
[ChatConfiguration.McpAppsEnabled]: {
|
|
885
|
+
type: 'boolean',
|
|
886
|
+
default: true,
|
|
887
|
+
description: localize(ChatConfiguration.McpAppsEnabled, 'Controls whether MCP servers can provide custom UI for tool invocations.'),
|
|
888
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
889
|
+
},
|
|
890
|
+
[ChatConfiguration.McpDiscovery]: {
|
|
891
|
+
type: 'object',
|
|
892
|
+
default: {},
|
|
893
|
+
description: localize(ChatConfiguration.McpDiscovery, 'Configures discovery of Model Context Protocol servers from configuration from various other applications.'),
|
|
894
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
895
|
+
},
|
|
896
|
+
[ChatConfiguration.McpGalleryEnabled]: {
|
|
897
|
+
type: 'boolean',
|
|
898
|
+
default: false,
|
|
899
|
+
description: localize(ChatConfiguration.McpGalleryEnabled, 'Enables the default Marketplace for Model Context Protocol (MCP) servers.'),
|
|
900
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
901
|
+
},
|
|
902
|
+
[ChatConfiguration.McpGalleryServiceUrl]: {
|
|
903
|
+
type: 'string',
|
|
904
|
+
default: '',
|
|
905
|
+
description: localize(ChatConfiguration.McpGalleryServiceUrl, 'Configure the MCP Gallery service URL to connect to.'),
|
|
906
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
907
|
+
},
|
|
908
|
+
[ChatConfiguration.McpServerSampling]: {
|
|
909
|
+
type: 'object',
|
|
910
|
+
default: {},
|
|
911
|
+
description: localize(ChatConfiguration.McpServerSampling, 'Configures which models are exposed to MCP servers for sampling (making model requests in the background).'),
|
|
912
|
+
scope: 4 /* ConfigurationScope.RESOURCE */
|
|
913
|
+
},
|
|
914
|
+
// ══════════════════════════════════════════════════════════════════
|
|
915
|
+
// Inline Chat
|
|
916
|
+
// ══════════════════════════════════════════════════════════════════
|
|
917
|
+
[ChatConfiguration.InlineChatFinishOnType]: {
|
|
918
|
+
type: 'boolean',
|
|
919
|
+
default: false,
|
|
920
|
+
description: localize(ChatConfiguration.InlineChatFinishOnType, 'Whether to finish an inline chat session when typing outside of changed regions.'),
|
|
921
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
922
|
+
},
|
|
923
|
+
[ChatConfiguration.InlineChatHoldToSpeech]: {
|
|
924
|
+
type: 'boolean',
|
|
925
|
+
default: true,
|
|
926
|
+
description: localize(ChatConfiguration.InlineChatHoldToSpeech, 'Whether holding the inline chat keybinding will automatically enable speech recognition.'),
|
|
927
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
928
|
+
},
|
|
929
|
+
[ChatConfiguration.InlineChatEnableV2]: {
|
|
930
|
+
type: 'boolean',
|
|
931
|
+
default: false,
|
|
932
|
+
description: localize(ChatConfiguration.InlineChatEnableV2, 'Whether to use the next version of inline chat.'),
|
|
933
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
934
|
+
},
|
|
935
|
+
[ChatConfiguration.InlineChatDefaultModel]: {
|
|
936
|
+
type: 'string',
|
|
937
|
+
default: '',
|
|
938
|
+
description: localize(ChatConfiguration.InlineChatDefaultModel, 'Select the default language model to use for inline chat from the available providers.'),
|
|
939
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
940
|
+
},
|
|
941
|
+
[ChatConfiguration.InlineChatNotebookAgent]: {
|
|
942
|
+
type: 'boolean',
|
|
943
|
+
default: false,
|
|
944
|
+
description: localize(ChatConfiguration.InlineChatNotebookAgent, 'Enable agent-like behavior for inline chat widget in notebooks.'),
|
|
945
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
946
|
+
},
|
|
947
|
+
[ChatConfiguration.InlineChatAffordance]: {
|
|
948
|
+
type: 'string',
|
|
949
|
+
default: InlineChatAffordanceMode.Off,
|
|
950
|
+
enum: Object.values(InlineChatAffordanceMode),
|
|
951
|
+
description: localize(ChatConfiguration.InlineChatAffordance, 'Controls whether an inline chat affordance is shown when text is selected.'),
|
|
952
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
953
|
+
},
|
|
954
|
+
[ChatConfiguration.InlineChatRenderMode]: {
|
|
955
|
+
type: 'string',
|
|
956
|
+
default: InlineChatRenderModeValue.Zone,
|
|
957
|
+
enum: Object.values(InlineChatRenderModeValue),
|
|
958
|
+
description: localize(ChatConfiguration.InlineChatRenderMode, 'Controls how inline chat is rendered.'),
|
|
959
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
960
|
+
},
|
|
961
|
+
[ChatConfiguration.InlineChatFixDiagnostics]: {
|
|
962
|
+
type: 'boolean',
|
|
963
|
+
default: true,
|
|
964
|
+
description: localize(ChatConfiguration.InlineChatFixDiagnostics, 'Controls whether the Fix action is shown for diagnostics in the editor.'),
|
|
965
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
966
|
+
},
|
|
967
|
+
// ══════════════════════════════════════════════════════════════════
|
|
968
|
+
// Terminal Chat Agent Tools
|
|
969
|
+
// ══════════════════════════════════════════════════════════════════
|
|
970
|
+
[ChatConfiguration.TerminalEnableAutoApprove]: {
|
|
971
|
+
type: 'boolean',
|
|
972
|
+
default: true,
|
|
973
|
+
description: localize(ChatConfiguration.TerminalEnableAutoApprove, 'Controls whether to allow auto approval in the run in terminal tool.'),
|
|
974
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
975
|
+
},
|
|
976
|
+
[ChatConfiguration.TerminalAutoApprove]: {
|
|
977
|
+
type: 'object',
|
|
978
|
+
default: {
|
|
979
|
+
cd: true,
|
|
980
|
+
echo: true,
|
|
981
|
+
ls: true,
|
|
982
|
+
dir: true,
|
|
983
|
+
pwd: true,
|
|
984
|
+
cat: true,
|
|
985
|
+
head: true,
|
|
986
|
+
tail: true,
|
|
987
|
+
findstr: true,
|
|
988
|
+
wc: true,
|
|
989
|
+
tr: true,
|
|
990
|
+
cut: true,
|
|
991
|
+
cmp: true,
|
|
992
|
+
which: true,
|
|
993
|
+
basename: true,
|
|
994
|
+
dirname: true,
|
|
995
|
+
realpath: true,
|
|
996
|
+
readlink: true,
|
|
997
|
+
stat: true,
|
|
998
|
+
file: true,
|
|
999
|
+
od: true,
|
|
1000
|
+
du: true,
|
|
1001
|
+
df: true,
|
|
1002
|
+
sleep: true,
|
|
1003
|
+
nl: true,
|
|
1004
|
+
grep: true,
|
|
1005
|
+
find: true,
|
|
1006
|
+
rg: true,
|
|
1007
|
+
sed: true,
|
|
1008
|
+
sort: true,
|
|
1009
|
+
tree: true,
|
|
1010
|
+
column: true,
|
|
1011
|
+
date: true,
|
|
1012
|
+
rm: false,
|
|
1013
|
+
rmdir: false,
|
|
1014
|
+
del: false,
|
|
1015
|
+
kill: false,
|
|
1016
|
+
curl: false,
|
|
1017
|
+
wget: false,
|
|
1018
|
+
chmod: false,
|
|
1019
|
+
chown: false,
|
|
1020
|
+
jq: false,
|
|
1021
|
+
xargs: false,
|
|
1022
|
+
eval: false
|
|
1023
|
+
},
|
|
1024
|
+
description: localize(ChatConfiguration.TerminalAutoApprove, 'A list of commands or regular expressions that control whether the run in terminal tool commands require explicit approval.'),
|
|
1025
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1026
|
+
},
|
|
1027
|
+
[ChatConfiguration.TerminalAutoApproveWorkspaceNpmScripts]: {
|
|
1028
|
+
type: 'boolean',
|
|
1029
|
+
default: true,
|
|
1030
|
+
description: localize(ChatConfiguration.TerminalAutoApproveWorkspaceNpmScripts, 'Whether to automatically approve npm, yarn, and pnpm run commands when the script is defined in a workspace package.json file.'),
|
|
1031
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1032
|
+
},
|
|
1033
|
+
[ChatConfiguration.TerminalIgnoreDefaultAutoApproveRules]: {
|
|
1034
|
+
type: 'boolean',
|
|
1035
|
+
default: false,
|
|
1036
|
+
description: localize(ChatConfiguration.TerminalIgnoreDefaultAutoApproveRules, 'Whether to ignore the built-in default auto-approve rules used by the run in terminal tool.'),
|
|
1037
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1038
|
+
},
|
|
1039
|
+
[ChatConfiguration.TerminalBlockDetectedFileWrites]: {
|
|
1040
|
+
type: 'string',
|
|
1041
|
+
default: TerminalBlockFileWritesMode.OutsideWorkspace,
|
|
1042
|
+
enum: Object.values(TerminalBlockFileWritesMode),
|
|
1043
|
+
description: localize(ChatConfiguration.TerminalBlockDetectedFileWrites, 'Controls whether detected file write operations are blocked in the run in terminal tool.'),
|
|
1044
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1045
|
+
},
|
|
1046
|
+
[ChatConfiguration.TerminalShellIntegrationTimeout]: {
|
|
1047
|
+
type: 'integer',
|
|
1048
|
+
default: -1,
|
|
1049
|
+
description: localize(ChatConfiguration.TerminalShellIntegrationTimeout, 'Configures the duration in milliseconds to wait for shell integration to be detected when the run in terminal tool launches a new terminal.'),
|
|
1050
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1051
|
+
},
|
|
1052
|
+
[ChatConfiguration.TerminalAutoReplyToPrompts]: {
|
|
1053
|
+
type: 'boolean',
|
|
1054
|
+
default: false,
|
|
1055
|
+
description: localize(ChatConfiguration.TerminalAutoReplyToPrompts, 'Whether to automatically respond to prompts in the terminal such as "Confirm? y/n". This is experimental and inherently risky—use at your own risk.'),
|
|
1056
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1057
|
+
},
|
|
1058
|
+
[ChatConfiguration.TerminalOutputLocation]: {
|
|
1059
|
+
type: 'string',
|
|
1060
|
+
default: TerminalOutputLocation.Chat,
|
|
1061
|
+
enum: Object.values(TerminalOutputLocation),
|
|
1062
|
+
description: localize(ChatConfiguration.TerminalOutputLocation, 'Where to show the output from the run in terminal tool.'),
|
|
1063
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1064
|
+
},
|
|
1065
|
+
[ChatConfiguration.TerminalSandboxEnabled]: {
|
|
1066
|
+
type: 'boolean',
|
|
1067
|
+
default: false,
|
|
1068
|
+
description: localize(ChatConfiguration.TerminalSandboxEnabled, 'Controls whether to run commands in a sandboxed terminal for the run in terminal tool.'),
|
|
1069
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1070
|
+
},
|
|
1071
|
+
[ChatConfiguration.TerminalSandboxNetwork]: {
|
|
1072
|
+
type: 'object',
|
|
1073
|
+
default: {
|
|
1074
|
+
allowedDomains: [],
|
|
1075
|
+
deniedDomains: [],
|
|
1076
|
+
allowTrustedDomains: false
|
|
1077
|
+
},
|
|
1078
|
+
description: localize(ChatConfiguration.TerminalSandboxNetwork, 'Controls network access in the terminal sandbox. Only applicable when sandbox is enabled.'),
|
|
1079
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1080
|
+
},
|
|
1081
|
+
[ChatConfiguration.TerminalSandboxLinuxFileSystem]: {
|
|
1082
|
+
type: 'object',
|
|
1083
|
+
default: {
|
|
1084
|
+
denyRead: [],
|
|
1085
|
+
allowWrite: ['.'],
|
|
1086
|
+
denyWrite: []
|
|
1087
|
+
},
|
|
1088
|
+
description: localize(ChatConfiguration.TerminalSandboxLinuxFileSystem, 'Controls file system access in the terminal sandbox on Linux. Requires bubblewrap and socat.'),
|
|
1089
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1090
|
+
},
|
|
1091
|
+
[ChatConfiguration.TerminalSandboxMacFileSystem]: {
|
|
1092
|
+
type: 'object',
|
|
1093
|
+
default: {
|
|
1094
|
+
denyRead: [],
|
|
1095
|
+
allowWrite: ['.'],
|
|
1096
|
+
denyWrite: []
|
|
1097
|
+
},
|
|
1098
|
+
description: localize(ChatConfiguration.TerminalSandboxMacFileSystem, 'Controls file system access in the terminal sandbox on macOS. Supports git-style glob patterns.'),
|
|
1099
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1100
|
+
},
|
|
1101
|
+
[ChatConfiguration.TerminalPreventShellHistory]: {
|
|
1102
|
+
type: 'boolean',
|
|
1103
|
+
default: true,
|
|
1104
|
+
description: localize(ChatConfiguration.TerminalPreventShellHistory, 'Whether to exclude commands run by the terminal tool from the shell history.'),
|
|
1105
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1106
|
+
},
|
|
1107
|
+
[ChatConfiguration.TerminalEnforceTimeoutFromModel]: {
|
|
1108
|
+
type: 'boolean',
|
|
1109
|
+
default: true,
|
|
1110
|
+
description: localize(ChatConfiguration.TerminalEnforceTimeoutFromModel, 'Whether to enforce the timeout value provided by the model in the run in terminal tool.'),
|
|
1111
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1112
|
+
},
|
|
1113
|
+
[ChatConfiguration.TerminalProfileLinux]: {
|
|
1114
|
+
type: ['object', 'null'],
|
|
1115
|
+
default: null,
|
|
1116
|
+
description: localize(ChatConfiguration.TerminalProfileLinux, 'The terminal profile to use on Linux for the chat agent run in terminal tool.'),
|
|
1117
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1118
|
+
},
|
|
1119
|
+
[ChatConfiguration.TerminalProfileMacOs]: {
|
|
1120
|
+
type: ['object', 'null'],
|
|
1121
|
+
default: null,
|
|
1122
|
+
description: localize(ChatConfiguration.TerminalProfileMacOs, 'The terminal profile to use on macOS for the chat agent run in terminal tool.'),
|
|
1123
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1124
|
+
},
|
|
1125
|
+
[ChatConfiguration.TerminalProfileWindows]: {
|
|
1126
|
+
type: ['object', 'null'],
|
|
1127
|
+
default: null,
|
|
1128
|
+
description: localize(ChatConfiguration.TerminalProfileWindows, 'The terminal profile to use on Windows for the chat agent run in terminal tool.'),
|
|
1129
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1130
|
+
},
|
|
1131
|
+
// ══════════════════════════════════════════════════════════════════
|
|
1132
|
+
// Growth / Customization
|
|
1133
|
+
// ══════════════════════════════════════════════════════════════════
|
|
1134
|
+
[ChatConfiguration.GrowthNotificationEnabled]: {
|
|
1135
|
+
type: 'boolean',
|
|
1136
|
+
default: false,
|
|
1137
|
+
description: localize(ChatConfiguration.GrowthNotificationEnabled, 'Controls whether to show a growth notification in the agent sessions view to encourage new users to try Copilot.'),
|
|
1138
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1139
|
+
},
|
|
1140
|
+
[ChatConfiguration.ChatCustomizationMenuEnabled]: {
|
|
1141
|
+
type: 'boolean',
|
|
1142
|
+
default: true,
|
|
1143
|
+
description: localize(ChatConfiguration.ChatCustomizationMenuEnabled, 'Controls whether the Chat Customizations editor is available in the Command Palette.'),
|
|
1144
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1145
|
+
},
|
|
1146
|
+
[ChatConfiguration.ChatCustomizationUserStoragePath]: {
|
|
1147
|
+
type: 'string',
|
|
1148
|
+
default: '',
|
|
1149
|
+
description: localize(ChatConfiguration.ChatCustomizationUserStoragePath, 'Override the base directory for user-level customization files.'),
|
|
1150
|
+
scope: 1 /* ConfigurationScope.APPLICATION */
|
|
1151
|
+
}
|
|
1152
|
+
};export{AgentsControlClickBehavior,ChatConfiguration,ChatModeKind,ChatNotificationMode,ChatSettings,ChatViewSessionsGrouping,ChatViewSessionsOrientation,CollapsedToolsDisplayMode,EditRequestsMode,InlineChatAffordanceMode,InlineChatRenderModeValue,InlineReferencesStyle,McpAccessValue,McpAutoStartValue,TerminalBlockFileWritesMode,TerminalOutputLocation,ThinkingDisplayMode,UpvoteAnimationStyle};//# sourceMappingURL=chat-settings.js.map
|