@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,248 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chat Configuration Settings
|
|
3
|
+
*
|
|
4
|
+
* VS Code–style chat configuration for the messenger inbox.
|
|
5
|
+
* Follows the same pattern as post-settings.ts and channel-settings.ts:
|
|
6
|
+
* 1. A prefix constant
|
|
7
|
+
* 2. A typed const object with dotted key paths
|
|
8
|
+
* 3. An IConfigurationPropertySchema map with type/default/description/scope
|
|
9
|
+
*
|
|
10
|
+
* These settings are registered via the BaseConfigurationsMigration system
|
|
11
|
+
* and can be read/written via the configuration-registry / GraphQL layer.
|
|
12
|
+
*
|
|
13
|
+
* Aligned with: https://github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/chat/common/constants.ts
|
|
14
|
+
* https://github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/chat/browser/chat.contribution.ts
|
|
15
|
+
*/
|
|
16
|
+
import { IConfigurationPropertySchema } from '@adminide-stack/core';
|
|
17
|
+
export declare const CHAT_SETTINGS_PREFIX = "chat";
|
|
18
|
+
export declare enum ChatConfiguration {
|
|
19
|
+
AIDisabled = "chat.disableAIFeatures",
|
|
20
|
+
AllowAnonymousAccess = "chat.allowAnonymousAccess",
|
|
21
|
+
PluginsEnabled = "chat.plugins.enabled",
|
|
22
|
+
PluginPaths = "chat.plugins.paths",
|
|
23
|
+
PluginMarketplaces = "chat.plugins.marketplaces",
|
|
24
|
+
ExtensionUnificationEnabled = "chat.extensionUnification.enabled",
|
|
25
|
+
AgentEnabled = "chat.agent.enabled",
|
|
26
|
+
AgentMaxRequests = "chat.agent.maxRequests",
|
|
27
|
+
PlanAgentDefaultModel = "chat.planAgent.defaultModel",
|
|
28
|
+
ExploreAgentDefaultModel = "chat.exploreAgent.defaultModel",
|
|
29
|
+
RequestQueueingDefaultAction = "chat.requestQueuing.defaultAction",
|
|
30
|
+
AgentStatusEnabled = "chat.agentsControl.enabled",
|
|
31
|
+
AgentSessionProjectionEnabled = "chat.agentSessionProjection.enabled",
|
|
32
|
+
EditorAssociations = "chat.editorAssociations",
|
|
33
|
+
EditModeHidden = "chat.editMode.hidden",
|
|
34
|
+
Edits2Enabled = "chat.edits2.enabled",
|
|
35
|
+
EditRequests = "chat.editRequests",
|
|
36
|
+
EditingAutoAcceptDelay = "chat.editing.autoAcceptDelay",
|
|
37
|
+
EditingConfirmRemoval = "chat.editing.confirmEditRequestRemoval",
|
|
38
|
+
EditingConfirmRetry = "chat.editing.confirmEditRequestRetry",
|
|
39
|
+
ExplainChangesEnabled = "chat.editing.explainChanges.enabled",
|
|
40
|
+
FontSize = "chat.fontSize",
|
|
41
|
+
FontFamily = "chat.fontFamily",
|
|
42
|
+
EditorFontSize = "chat.editor.fontSize",
|
|
43
|
+
EditorFontFamily = "chat.editor.fontFamily",
|
|
44
|
+
EditorFontWeight = "chat.editor.fontWeight",
|
|
45
|
+
EditorWordWrap = "chat.editor.wordWrap",
|
|
46
|
+
EditorLineHeight = "chat.editor.lineHeight",
|
|
47
|
+
UnifiedAgentsBar = "chat.unifiedAgentsBar.enabled",
|
|
48
|
+
InlineReferencesStyle = "chat.inlineReferences.style",
|
|
49
|
+
ShowCodeBlockProgressAnimation = "chat.agent.codeBlockProgress",
|
|
50
|
+
RestoreLastPanelSession = "chat.restoreLastPanelSession",
|
|
51
|
+
AgentsControlClickBehavior = "chat.agentsControl.clickBehavior",
|
|
52
|
+
TipsEnabled = "chat.tips.enabled",
|
|
53
|
+
UpvoteAnimation = "chat.upvoteAnimation",
|
|
54
|
+
StatusWidgetAnonymous = "chat.statusWidget.anonymous",
|
|
55
|
+
ExtensionToolsEnabled = "chat.extensionTools.enabled",
|
|
56
|
+
RepoInfoEnabled = "chat.repoInfo.enabled",
|
|
57
|
+
UsagesToolEnabled = "chat.tools.usagesTool.enabled",
|
|
58
|
+
RenameToolEnabled = "chat.tools.renameTool.enabled",
|
|
59
|
+
AutoReply = "chat.autoReply",
|
|
60
|
+
GlobalAutoApprove = "chat.tools.global.autoApprove",
|
|
61
|
+
AutoApproveEdits = "chat.tools.edits.autoApprove",
|
|
62
|
+
AutoApprovedUrls = "chat.tools.urls.autoApprove",
|
|
63
|
+
EligibleForAutoApproval = "chat.tools.eligibleForAutoApproval",
|
|
64
|
+
AutoExpandToolFailures = "chat.tools.autoExpandFailures",
|
|
65
|
+
ThinkingStyle = "chat.agent.thinkingStyle",
|
|
66
|
+
ThinkingGenerateTitles = "chat.agent.thinking.generateTitles",
|
|
67
|
+
ThinkingCollapsedTools = "chat.agent.thinking.collapsedTools",
|
|
68
|
+
TerminalToolsInThinking = "chat.agent.thinking.terminalTools",
|
|
69
|
+
SimpleTerminalCollapsible = "chat.tools.terminal.simpleCollapsible",
|
|
70
|
+
ThinkingPhrases = "chat.agent.thinking.phrases",
|
|
71
|
+
EnableMath = "chat.math.enabled",
|
|
72
|
+
CheckpointsEnabled = "chat.checkpoints.enabled",
|
|
73
|
+
CheckpointsShowFileChanges = "chat.checkpoints.showFileChanges",
|
|
74
|
+
TodosShowWidget = "chat.tools.todos.showWidget",
|
|
75
|
+
ExitAfterDelegation = "chat.exitAfterDelegation",
|
|
76
|
+
SubagentToolCustomAgents = "chat.customAgentInSubagent.enabled",
|
|
77
|
+
UndoRequestsRestoreInput = "chat.undoRequests.restoreInput",
|
|
78
|
+
SendElementsEnabled = "chat.sendElementsToChat.enabled",
|
|
79
|
+
SendElementsAttachCSS = "chat.sendElementsToChat.attachCSS",
|
|
80
|
+
SendElementsAttachImages = "chat.sendElementsToChat.attachImages",
|
|
81
|
+
NotifyWindowOnConfirmation = "chat.notifyWindowOnConfirmation",
|
|
82
|
+
NotifyWindowOnResponseReceived = "chat.notifyWindowOnResponseReceived",
|
|
83
|
+
ChatViewSessionsEnabled = "chat.viewSessions.enabled",
|
|
84
|
+
ChatViewSessionsGrouping = "chat.viewSessions.grouping",
|
|
85
|
+
ChatViewSessionsOrientation = "chat.viewSessions.orientation",
|
|
86
|
+
ChatViewProgressBadgeEnabled = "chat.viewProgressBadge.enabled",
|
|
87
|
+
ChatContextUsageEnabled = "chat.contextUsage.enabled",
|
|
88
|
+
DetectParticipantEnabled = "chat.detectParticipant.enabled",
|
|
89
|
+
ImplicitContextEnabled = "chat.implicitContext.enabled",
|
|
90
|
+
ImplicitContextSuggestedContext = "chat.implicitContext.suggestedContext",
|
|
91
|
+
InstructionsFilesLocations = "chat.instructionsFilesLocations",
|
|
92
|
+
PromptFilesLocations = "chat.promptFilesLocations",
|
|
93
|
+
ModeFilesLocations = "chat.modeFilesLocations",
|
|
94
|
+
AgentFilesLocations = "chat.agentFilesLocations",
|
|
95
|
+
AgentSkillsLocations = "chat.agentSkillsLocations",
|
|
96
|
+
HookFilesLocations = "chat.hookFilesLocations",
|
|
97
|
+
PromptFilesRecommendations = "chat.promptFilesRecommendations",
|
|
98
|
+
UseAgentsMdFile = "chat.useAgentsMdFile",
|
|
99
|
+
UseNestedAgentsMdFiles = "chat.useNestedAgentsMdFiles",
|
|
100
|
+
UseClaudeMdFile = "chat.useClaudeMdFile",
|
|
101
|
+
UseAgentSkills = "chat.useAgentSkills",
|
|
102
|
+
UseSkillAdherencePrompt = "chat.useSkillAdherencePrompt",
|
|
103
|
+
IncludeApplyingInstructions = "chat.includeApplyingInstructions",
|
|
104
|
+
IncludeReferencedInstructions = "chat.includeReferencedInstructions",
|
|
105
|
+
UseHooks = "chat.useHooks",
|
|
106
|
+
UseClaudeHooks = "chat.useClaudeHooks",
|
|
107
|
+
McpAccess = "chat.mcp.access",
|
|
108
|
+
McpAutoStart = "chat.mcp.autostart",
|
|
109
|
+
McpAppsEnabled = "chat.mcp.apps.enabled",
|
|
110
|
+
McpDiscovery = "chat.mcp.discovery.enabled",
|
|
111
|
+
McpGalleryEnabled = "chat.mcp.gallery.enabled",
|
|
112
|
+
McpGalleryServiceUrl = "chat.mcp.gallery.serviceUrl",
|
|
113
|
+
McpServerSampling = "chat.mcp.serverSampling",
|
|
114
|
+
InlineChatFinishOnType = "inlineChat.finishOnType",
|
|
115
|
+
InlineChatHoldToSpeech = "inlineChat.holdToSpeech",
|
|
116
|
+
InlineChatEnableV2 = "inlineChat.enableV2",
|
|
117
|
+
InlineChatDefaultModel = "inlineChat.defaultModel",
|
|
118
|
+
InlineChatNotebookAgent = "inlineChat.notebookAgent",
|
|
119
|
+
InlineChatAffordance = "inlineChat.affordance",
|
|
120
|
+
InlineChatRenderMode = "inlineChat.renderMode",
|
|
121
|
+
InlineChatFixDiagnostics = "inlineChat.fixDiagnostics",
|
|
122
|
+
TerminalEnableAutoApprove = "chat.tools.terminal.enableAutoApprove",
|
|
123
|
+
TerminalAutoApprove = "chat.tools.terminal.autoApprove",
|
|
124
|
+
TerminalAutoApproveWorkspaceNpmScripts = "chat.tools.terminal.autoApproveWorkspaceNpmScripts",
|
|
125
|
+
TerminalIgnoreDefaultAutoApproveRules = "chat.tools.terminal.ignoreDefaultAutoApproveRules",
|
|
126
|
+
TerminalBlockDetectedFileWrites = "chat.tools.terminal.blockDetectedFileWrites",
|
|
127
|
+
TerminalShellIntegrationTimeout = "chat.tools.terminal.shellIntegrationTimeout",
|
|
128
|
+
TerminalAutoReplyToPrompts = "chat.tools.terminal.autoReplyToPrompts",
|
|
129
|
+
TerminalOutputLocation = "chat.tools.terminal.outputLocation",
|
|
130
|
+
TerminalSandboxEnabled = "chat.tools.terminal.sandbox.enabled",
|
|
131
|
+
TerminalSandboxNetwork = "chat.tools.terminal.sandbox.network",
|
|
132
|
+
TerminalSandboxLinuxFileSystem = "chat.tools.terminal.sandbox.linuxFileSystem",
|
|
133
|
+
TerminalSandboxMacFileSystem = "chat.tools.terminal.sandbox.macFileSystem",
|
|
134
|
+
TerminalPreventShellHistory = "chat.tools.terminal.preventShellHistory",
|
|
135
|
+
TerminalEnforceTimeoutFromModel = "chat.tools.terminal.enforceTimeoutFromModel",
|
|
136
|
+
TerminalProfileLinux = "chat.tools.terminal.terminalProfile.linux",
|
|
137
|
+
TerminalProfileMacOs = "chat.tools.terminal.terminalProfile.osx",
|
|
138
|
+
TerminalProfileWindows = "chat.tools.terminal.terminalProfile.windows",
|
|
139
|
+
GrowthNotificationEnabled = "chat.growthNotification.enabled",
|
|
140
|
+
ChatCustomizationMenuEnabled = "chat.customizationsMenu.enabled",
|
|
141
|
+
ChatCustomizationUserStoragePath = "chat.customizationsMenu.userStoragePath"
|
|
142
|
+
}
|
|
143
|
+
/** The kind of agent mode the user has selected. */
|
|
144
|
+
export declare enum ChatModeKind {
|
|
145
|
+
Ask = "ask",
|
|
146
|
+
Edit = "edit",
|
|
147
|
+
Agent = "agent"
|
|
148
|
+
}
|
|
149
|
+
/** Display mode for the "thinking" UI. */
|
|
150
|
+
export declare enum ThinkingDisplayMode {
|
|
151
|
+
Collapsed = "collapsed",
|
|
152
|
+
CollapsedPreview = "collapsedPreview",
|
|
153
|
+
FixedScrolling = "fixedScrolling"
|
|
154
|
+
}
|
|
155
|
+
/** How collapsed tools are shown alongside thinking output. */
|
|
156
|
+
export declare enum CollapsedToolsDisplayMode {
|
|
157
|
+
Off = "off",
|
|
158
|
+
WithThinking = "withThinking",
|
|
159
|
+
Always = "always"
|
|
160
|
+
}
|
|
161
|
+
/** When the chat window sends desktop/tab notifications. */
|
|
162
|
+
export declare enum ChatNotificationMode {
|
|
163
|
+
Off = "off",
|
|
164
|
+
WindowNotFocused = "windowNotFocused",
|
|
165
|
+
Always = "always"
|
|
166
|
+
}
|
|
167
|
+
/** Behaviour when the user clicks the agents control bar. */
|
|
168
|
+
export declare enum AgentsControlClickBehavior {
|
|
169
|
+
Default = "default",
|
|
170
|
+
Cycle = "cycle"
|
|
171
|
+
}
|
|
172
|
+
/** Inline references render style. */
|
|
173
|
+
export declare enum InlineReferencesStyle {
|
|
174
|
+
Box = "box",
|
|
175
|
+
Link = "link"
|
|
176
|
+
}
|
|
177
|
+
/** Sessions grouping strategy in the chat view. */
|
|
178
|
+
export declare enum ChatViewSessionsGrouping {
|
|
179
|
+
None = "none",
|
|
180
|
+
Date = "date",
|
|
181
|
+
Agent = "agent"
|
|
182
|
+
}
|
|
183
|
+
/** Sessions list orientation. */
|
|
184
|
+
export declare enum ChatViewSessionsOrientation {
|
|
185
|
+
Stacked = "stacked",
|
|
186
|
+
SideBySide = "sideBySide"
|
|
187
|
+
}
|
|
188
|
+
/** Upvote animation style. */
|
|
189
|
+
export declare enum UpvoteAnimationStyle {
|
|
190
|
+
Off = "off",
|
|
191
|
+
Confetti = "confetti",
|
|
192
|
+
FloatingThumbs = "floatingThumbs",
|
|
193
|
+
PulseWave = "pulseWave",
|
|
194
|
+
RadiantLines = "radiantLines"
|
|
195
|
+
}
|
|
196
|
+
/** Edit-request display mode. */
|
|
197
|
+
export declare enum EditRequestsMode {
|
|
198
|
+
Inline = "inline",
|
|
199
|
+
Hover = "hover",
|
|
200
|
+
Input = "input",
|
|
201
|
+
None = "none"
|
|
202
|
+
}
|
|
203
|
+
/** MCP access level. */
|
|
204
|
+
export declare enum McpAccessValue {
|
|
205
|
+
None = "none",
|
|
206
|
+
Registry = "registry",
|
|
207
|
+
All = "all"
|
|
208
|
+
}
|
|
209
|
+
/** MCP auto-start preference. */
|
|
210
|
+
export declare enum McpAutoStartValue {
|
|
211
|
+
Never = "never",
|
|
212
|
+
OnlyNew = "onlyNew",
|
|
213
|
+
NewAndOutdated = "newAndOutdated"
|
|
214
|
+
}
|
|
215
|
+
/** Inline chat affordance display mode. */
|
|
216
|
+
export declare enum InlineChatAffordanceMode {
|
|
217
|
+
Off = "off",
|
|
218
|
+
Gutter = "gutter",
|
|
219
|
+
Editor = "editor"
|
|
220
|
+
}
|
|
221
|
+
/** Inline chat render mode. */
|
|
222
|
+
export declare enum InlineChatRenderModeValue {
|
|
223
|
+
Zone = "zone",
|
|
224
|
+
Hover = "hover"
|
|
225
|
+
}
|
|
226
|
+
/** Terminal tool output location. */
|
|
227
|
+
export declare enum TerminalOutputLocation {
|
|
228
|
+
Terminal = "terminal",
|
|
229
|
+
Chat = "chat"
|
|
230
|
+
}
|
|
231
|
+
/** Terminal block detected file writes mode. */
|
|
232
|
+
export declare enum TerminalBlockFileWritesMode {
|
|
233
|
+
Never = "never",
|
|
234
|
+
OutsideWorkspace = "outsideWorkspace",
|
|
235
|
+
All = "all"
|
|
236
|
+
}
|
|
237
|
+
export declare function validateChatMode(mode: unknown): ChatModeKind | undefined;
|
|
238
|
+
export declare function isChatMode(mode: unknown): mode is ChatModeKind;
|
|
239
|
+
export declare const ChatSettings: {
|
|
240
|
+
[path: string]: IConfigurationPropertySchema;
|
|
241
|
+
};
|
|
242
|
+
export type ChatSettingsValues = {
|
|
243
|
+
[K in ChatConfiguration]: unknown;
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* Build a typed defaults object from the schema map.
|
|
247
|
+
*/
|
|
248
|
+
export declare function getChatSettingsDefaults(): ChatSettingsValues;
|