@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.
Files changed (303) hide show
  1. package/lib/channels/ack-reactions.d.ts +46 -0
  2. package/lib/channels/ack-reactions.js +48 -0
  3. package/lib/channels/ack-reactions.js.map +1 -0
  4. package/lib/channels/allowlist-match.d.ts +38 -0
  5. package/lib/channels/allowlist-match.js +67 -0
  6. package/lib/channels/allowlist-match.js.map +1 -0
  7. package/lib/channels/channel-config.d.ts +46 -0
  8. package/lib/channels/channel-config.js +63 -0
  9. package/lib/channels/channel-config.js.map +1 -0
  10. package/lib/channels/command-gating.d.ts +47 -0
  11. package/lib/channels/command-gating.js +52 -0
  12. package/lib/channels/command-gating.js.map +1 -0
  13. package/lib/channels/conversation-label.d.ts +23 -0
  14. package/lib/channels/conversation-label.js +43 -0
  15. package/lib/channels/conversation-label.js.map +1 -0
  16. package/lib/channels/index.d.ts +18 -0
  17. package/lib/channels/mention-gating.d.ts +50 -0
  18. package/lib/channels/mention-gating.js +72 -0
  19. package/lib/channels/mention-gating.js.map +1 -0
  20. package/lib/channels/registry.d.ts +23 -0
  21. package/lib/channels/registry.js +282 -0
  22. package/lib/channels/registry.js.map +1 -0
  23. package/lib/channels/sender-identity.d.ts +11 -0
  24. package/lib/channels/sender-identity.js +48 -0
  25. package/lib/channels/sender-identity.js.map +1 -0
  26. package/lib/channels/session.d.ts +63 -0
  27. package/lib/channels/session.js +29 -0
  28. package/lib/channels/session.js.map +1 -0
  29. package/lib/channels/types.d.ts +147 -0
  30. package/lib/channels/types.js +28 -0
  31. package/lib/channels/types.js.map +1 -0
  32. package/lib/channels/typing.d.ts +62 -0
  33. package/lib/channels/typing.js +37 -0
  34. package/lib/channels/typing.js.map +1 -0
  35. package/lib/channels/typing.test.d.ts +1 -0
  36. package/lib/config/env-config.d.ts +7 -0
  37. package/lib/config/env-config.js +21 -1
  38. package/lib/config/env-config.js.map +1 -1
  39. package/lib/constants/default-channel-props.d.ts +11 -0
  40. package/lib/constants/default-channel-props.js +32 -0
  41. package/lib/constants/default-channel-props.js.map +1 -0
  42. package/lib/constants/default-notify-props.js.map +1 -1
  43. package/lib/constants/index.d.ts +1 -0
  44. package/lib/constants/query.constants.js.map +1 -1
  45. package/lib/containers/containers.js +13 -7
  46. package/lib/containers/containers.js.map +1 -1
  47. package/lib/containers/context-services-from-container.d.ts +2 -2
  48. package/lib/containers/context-services-from-container.js +7 -7
  49. package/lib/containers/context-services-from-container.js.map +1 -1
  50. package/lib/gateway/channel-registry.d.ts +10 -0
  51. package/lib/gateway/gateway-service.d.ts +23 -0
  52. package/lib/gateway/index.d.ts +4 -0
  53. package/lib/gateway/message-router.d.ts +20 -0
  54. package/lib/gateway/types.d.ts +270 -0
  55. package/lib/graphql/resolvers/channel-capabilities.d.ts +13 -0
  56. package/lib/graphql/resolvers/channel-capabilities.js +179 -0
  57. package/lib/graphql/resolvers/channel-capabilities.js.map +1 -0
  58. package/lib/graphql/resolvers/channel-member.d.ts +3 -3
  59. package/lib/graphql/resolvers/channel-member.js +30 -5
  60. package/lib/graphql/resolvers/channel-member.js.map +1 -1
  61. package/lib/graphql/resolvers/channel.d.ts +3 -3
  62. package/lib/graphql/resolvers/channel.js +348 -55
  63. package/lib/graphql/resolvers/channel.js.map +1 -1
  64. package/lib/graphql/resolvers/chat-configuration.d.ts +59 -0
  65. package/lib/graphql/resolvers/chat-configuration.js +89 -0
  66. package/lib/graphql/resolvers/chat-configuration.js.map +1 -0
  67. package/lib/graphql/resolvers/extended-token-account.d.ts +3 -32
  68. package/lib/graphql/resolvers/extended-token-account.js +90 -23
  69. package/lib/graphql/resolvers/extended-token-account.js.map +1 -1
  70. package/lib/graphql/resolvers/gateway.d.ts +18 -0
  71. package/lib/graphql/resolvers/index.d.ts +47 -26
  72. package/lib/graphql/resolvers/index.js +1 -1
  73. package/lib/graphql/resolvers/index.js.map +1 -1
  74. package/lib/graphql/resolvers/post-thread.d.ts +2 -3
  75. package/lib/graphql/resolvers/post-thread.js +294 -132
  76. package/lib/graphql/resolvers/post-thread.js.map +1 -1
  77. package/lib/graphql/resolvers/post.d.ts +2 -3
  78. package/lib/graphql/resolvers/post.js +772 -238
  79. package/lib/graphql/resolvers/post.js.map +1 -1
  80. package/lib/graphql/resolvers/reaction.d.ts +3 -3
  81. package/lib/graphql/resolvers/reaction.js +96 -14
  82. package/lib/graphql/resolvers/reaction.js.map +1 -1
  83. package/lib/graphql/resolvers/streaming.d.ts +20 -0
  84. package/lib/graphql/resolvers/streaming.js +147 -0
  85. package/lib/graphql/resolvers/streaming.js.map +1 -0
  86. package/lib/graphql/schema/channel-capabilities.graphql +492 -0
  87. package/lib/graphql/schema/channel-capabilities.graphql.js +1 -0
  88. package/lib/graphql/schema/channel-capabilities.graphql.js.map +1 -0
  89. package/lib/graphql/schema/channel-member.graphql +110 -21
  90. package/lib/graphql/schema/channel-member.graphql.js +1 -1
  91. package/lib/graphql/schema/channel.graphql +465 -24
  92. package/lib/graphql/schema/channel.graphql.js +1 -1
  93. package/lib/graphql/schema/chat-configuration.graphql +77 -0
  94. package/lib/graphql/schema/chat-configuration.graphql.js +1 -0
  95. package/lib/graphql/schema/chat-configuration.graphql.js.map +1 -0
  96. package/lib/graphql/schema/gateway.graphql +363 -0
  97. package/lib/graphql/schema/index.js +2 -2
  98. package/lib/graphql/schema/index.js.map +1 -1
  99. package/lib/graphql/schema/post-thread.graphql +167 -21
  100. package/lib/graphql/schema/post-thread.graphql.js +1 -1
  101. package/lib/graphql/schema/post.graphql +440 -36
  102. package/lib/graphql/schema/post.graphql.js +1 -1
  103. package/lib/graphql/schema/preferences.graphql +190 -3
  104. package/lib/graphql/schema/preferences.graphql.js +1 -1
  105. package/lib/graphql/schema/reaction.graphql +71 -13
  106. package/lib/graphql/schema/reaction.graphql.js +1 -1
  107. package/lib/graphql/schema/services.graphql +18 -0
  108. package/lib/graphql/schema/streaming.graphql +224 -0
  109. package/lib/graphql/schema/streaming.graphql.js +1 -0
  110. package/lib/graphql/schema/streaming.graphql.js.map +1 -0
  111. package/lib/graphql/schema/users.graphql +76 -13
  112. package/lib/graphql/schema/users.graphql.js +1 -1
  113. package/lib/graphql/schema/workflow-service.graphql +82 -0
  114. package/lib/index.d.ts +3 -1
  115. package/lib/index.js +1 -1
  116. package/lib/index.js.map +1 -1
  117. package/lib/interfaces/index.d.ts +0 -2
  118. package/lib/interfaces/services.d.ts +1 -3
  119. package/lib/migrations/dbMigrations/AddChannelConfigurationsMigration.d.ts +42 -0
  120. package/lib/migrations/dbMigrations/AddChannelConfigurationsMigration.js +60 -0
  121. package/lib/migrations/dbMigrations/AddChannelConfigurationsMigration.js.map +1 -0
  122. package/lib/migrations/dbMigrations/AddChatConfigurationsMigration.d.ts +21 -0
  123. package/lib/migrations/dbMigrations/AddChatConfigurationsMigration.js +30 -0
  124. package/lib/migrations/dbMigrations/AddChatConfigurationsMigration.js.map +1 -0
  125. package/lib/migrations/dbMigrations/AddPostsConfigurationsMigration.d.ts +17 -0
  126. package/lib/migrations/dbMigrations/AddPostsConfigurationsMigration.js +44 -0
  127. package/lib/migrations/dbMigrations/AddPostsConfigurationsMigration.js.map +1 -0
  128. package/lib/migrations/dbMigrations/index.d.ts +3 -0
  129. package/lib/migrations/index.d.ts +1 -0
  130. package/lib/migrations/mail-template-migration.d.ts +3 -6
  131. package/lib/migrations/mail-template-migration.js +8 -21
  132. package/lib/migrations/mail-template-migration.js.map +1 -1
  133. package/lib/migrations/message-notification-template-migration.d.ts +4 -7
  134. package/lib/migrations/message-notification-template-migration.js +8 -25
  135. package/lib/migrations/message-notification-template-migration.js.map +1 -1
  136. package/lib/module.d.ts +1 -1
  137. package/lib/module.js +3 -10
  138. package/lib/module.js.map +1 -1
  139. package/lib/plugins/ChannelMoleculerService.d.ts +39 -0
  140. package/lib/plugins/ChannelMoleculerService.js +58 -0
  141. package/lib/plugins/ChannelMoleculerService.js.map +1 -0
  142. package/lib/plugins/ExtendedTokenAccountMoleculerService.d.ts +65 -0
  143. package/lib/plugins/ExtendedTokenAccountMoleculerService.js +88 -0
  144. package/lib/plugins/ExtendedTokenAccountMoleculerService.js.map +1 -0
  145. package/lib/plugins/MessengerNotificationMoleculerService.d.ts +52 -0
  146. package/lib/plugins/MessengerNotificationMoleculerService.js +84 -0
  147. package/lib/plugins/MessengerNotificationMoleculerService.js.map +1 -0
  148. package/lib/plugins/PostMoleculerService.d.ts +65 -0
  149. package/lib/plugins/PostMoleculerService.js +87 -0
  150. package/lib/plugins/PostMoleculerService.js.map +1 -0
  151. package/lib/plugins/PostThreadMoleculerService.d.ts +40 -0
  152. package/lib/plugins/PostThreadMoleculerService.js +59 -0
  153. package/lib/plugins/PostThreadMoleculerService.js.map +1 -0
  154. package/lib/plugins/ReactionMoleculerService.d.ts +37 -0
  155. package/lib/plugins/ReactionMoleculerService.js +56 -0
  156. package/lib/plugins/ReactionMoleculerService.js.map +1 -0
  157. package/lib/plugins/index.d.ts +18 -6
  158. package/lib/preferences/permissions/inbox-permission-contribution.js +58 -97
  159. package/lib/preferences/permissions/inbox-permission-contribution.js.map +1 -1
  160. package/lib/preferences/permissions/inbox-roles-permission-overwrite.js +144 -144
  161. package/lib/preferences/permissions/inbox-roles-permission-overwrite.js.map +1 -1
  162. package/lib/preferences/settings/channel-settings.d.ts +39 -0
  163. package/lib/preferences/settings/channel-settings.js +180 -0
  164. package/lib/preferences/settings/channel-settings.js.map +1 -0
  165. package/lib/preferences/settings/chat-settings.d.ts +248 -0
  166. package/lib/preferences/settings/chat-settings.js +1152 -0
  167. package/lib/preferences/settings/chat-settings.js.map +1 -0
  168. package/lib/preferences/settings/index.d.ts +3 -0
  169. package/lib/preferences/settings/messenger-channels-contribution.d.ts +39 -0
  170. package/lib/preferences/settings/messenger-channels-contribution.js +355 -0
  171. package/lib/preferences/settings/messenger-channels-contribution.js.map +1 -0
  172. package/lib/preferences/settings/post-settings.d.ts +16 -0
  173. package/lib/preferences/settings/post-settings.js +75 -3
  174. package/lib/preferences/settings/post-settings.js.map +1 -1
  175. package/lib/services/channel-service.d.ts +215 -34
  176. package/lib/services/channel-service.js +1058 -273
  177. package/lib/services/channel-service.js.map +1 -1
  178. package/lib/services/extended-token-account-service.d.ts +175 -20
  179. package/lib/services/extended-token-account-service.js +636 -56
  180. package/lib/services/extended-token-account-service.js.map +1 -1
  181. package/lib/services/messenger-notification-service.d.ts +177 -17
  182. package/lib/services/messenger-notification-service.js +975 -421
  183. package/lib/services/messenger-notification-service.js.map +1 -1
  184. package/lib/services/post-service.d.ts +245 -18
  185. package/lib/services/post-service.js +1027 -113
  186. package/lib/services/post-service.js.map +1 -1
  187. package/lib/services/post-thread-service.d.ts +153 -6
  188. package/lib/services/post-thread-service.js +475 -9
  189. package/lib/services/post-thread-service.js.map +1 -1
  190. package/lib/services/proxy-services/ChannelProxyService.d.ts +27 -0
  191. package/lib/services/proxy-services/ChannelProxyService.js +31 -0
  192. package/lib/services/proxy-services/ChannelProxyService.js.map +1 -0
  193. package/lib/services/proxy-services/ExtendedTokenAccountProxyService.d.ts +42 -0
  194. package/lib/services/proxy-services/ExtendedTokenAccountProxyService.js +46 -0
  195. package/lib/services/proxy-services/ExtendedTokenAccountProxyService.js.map +1 -0
  196. package/lib/services/proxy-services/MessengerNotificationProxyService.d.ts +44 -0
  197. package/lib/services/proxy-services/MessengerNotificationProxyService.js +54 -0
  198. package/lib/services/proxy-services/MessengerNotificationProxyService.js.map +1 -0
  199. package/lib/services/proxy-services/PostProxyService.d.ts +42 -0
  200. package/lib/services/proxy-services/PostProxyService.js +46 -0
  201. package/lib/services/proxy-services/PostProxyService.js.map +1 -0
  202. package/lib/services/proxy-services/PostThreadProxyService.d.ts +32 -0
  203. package/lib/services/proxy-services/PostThreadProxyService.js +36 -0
  204. package/lib/services/proxy-services/PostThreadProxyService.js.map +1 -0
  205. package/lib/services/proxy-services/ReactionProxyService.d.ts +41 -0
  206. package/lib/services/proxy-services/ReactionProxyService.js +45 -0
  207. package/lib/services/proxy-services/ReactionProxyService.js.map +1 -0
  208. package/lib/services/proxy-services/index.d.ts +17 -5
  209. package/lib/services/reaction-service.d.ts +124 -4
  210. package/lib/services/reaction-service.js +413 -3
  211. package/lib/services/reaction-service.js.map +1 -1
  212. package/lib/store/models/account-token-store.d.ts +1 -1
  213. package/lib/store/models/account-token-store.js.map +1 -1
  214. package/lib/store/models/channel.d.ts +2 -3
  215. package/lib/store/models/channel.js +216 -70
  216. package/lib/store/models/channel.js.map +1 -1
  217. package/lib/store/models/post-thread.d.ts +3 -3
  218. package/lib/store/models/post-thread.js +96 -14
  219. package/lib/store/models/post-thread.js.map +1 -1
  220. package/lib/store/models/post.d.ts +2 -3
  221. package/lib/store/models/post.js +143 -23
  222. package/lib/store/models/post.js.map +1 -1
  223. package/lib/store/models/reaction.d.ts +2 -3
  224. package/lib/store/models/reaction.js +67 -8
  225. package/lib/store/models/reaction.js.map +1 -1
  226. package/lib/store/repositories/__tests__/__fixtures__/team-repository.d.ts +3 -3
  227. package/lib/store/repositories/channel-repository.d.ts +6 -6
  228. package/lib/store/repositories/channel-repository.js +5 -2
  229. package/lib/store/repositories/channel-repository.js.map +1 -1
  230. package/lib/store/repositories/post-repository.d.ts +6 -6
  231. package/lib/store/repositories/post-repository.js +5 -2
  232. package/lib/store/repositories/post-repository.js.map +1 -1
  233. package/lib/store/repositories/post-thread-repository.d.ts +6 -6
  234. package/lib/store/repositories/post-thread-repository.js +5 -2
  235. package/lib/store/repositories/post-thread-repository.js.map +1 -1
  236. package/lib/store/repositories/reaction-repository.d.ts +6 -6
  237. package/lib/store/repositories/reaction-repository.js +5 -2
  238. package/lib/store/repositories/reaction-repository.js.map +1 -1
  239. package/lib/streaming/block-chunker.d.ts +40 -0
  240. package/lib/streaming/block-chunker.js +103 -0
  241. package/lib/streaming/block-chunker.js.map +1 -0
  242. package/lib/streaming/block-chunker.test.d.ts +1 -0
  243. package/lib/streaming/index.d.ts +4 -0
  244. package/lib/streaming/stream-service.d.ts +71 -0
  245. package/lib/streaming/stream-service.js +325 -0
  246. package/lib/streaming/stream-service.js.map +1 -0
  247. package/lib/streaming/stream-service.test.d.ts +16 -0
  248. package/lib/streaming/streaming-post.integration.test.d.ts +10 -0
  249. package/lib/streaming/types.d.ts +33 -0
  250. package/lib/streaming/types.js +37 -0
  251. package/lib/streaming/types.js.map +1 -0
  252. package/lib/templates/constants/CONTRIBUTION_POINTS.ts.template +78 -0
  253. package/lib/templates/constants/SERVER_TYPES.ts.template +1 -4
  254. package/lib/templates/constants/WorkflowNamespace.ts.template +10 -0
  255. package/lib/templates/repositories/ChannelRepository.ts.template +3 -3
  256. package/lib/templates/repositories/PostRepository.ts.template +3 -3
  257. package/lib/templates/repositories/PostThreadRepository.ts.template +3 -3
  258. package/lib/templates/repositories/ReactionRepository.ts.template +3 -4
  259. package/lib/templates/services/ChannelService.ts.template +290 -39
  260. package/lib/templates/services/ExtendedTokenAccountService.ts.template +107 -3
  261. package/lib/templates/services/MessengerNotificationService.ts.template +94 -19
  262. package/lib/templates/services/MessengerStreamService.ts.template +131 -0
  263. package/lib/templates/services/PostService.ts.template +228 -20
  264. package/lib/templates/services/PostThreadService.ts.template +151 -6
  265. package/lib/templates/services/ReactionService.ts.template +129 -3
  266. package/lib/templates/services/RedisCacheManager.ts.template +22 -0
  267. package/package.json +10 -6
  268. package/lib/interfaces/context.d.ts +0 -14
  269. package/lib/plugins/channel-moleculer-service.d.ts +0 -8
  270. package/lib/plugins/channel-moleculer-service.js +0 -129
  271. package/lib/plugins/channel-moleculer-service.js.map +0 -1
  272. package/lib/plugins/extended-token-account-moleculer-service.d.ts +0 -8
  273. package/lib/plugins/extended-token-account-moleculer-service.js +0 -47
  274. package/lib/plugins/extended-token-account-moleculer-service.js.map +0 -1
  275. package/lib/plugins/messenger-notification-moleculer-service.d.ts +0 -9
  276. package/lib/plugins/messenger-notification-moleculer-service.js +0 -116
  277. package/lib/plugins/messenger-notification-moleculer-service.js.map +0 -1
  278. package/lib/plugins/post-moleculer-service.d.ts +0 -35
  279. package/lib/plugins/post-moleculer-service.js +0 -393
  280. package/lib/plugins/post-moleculer-service.js.map +0 -1
  281. package/lib/plugins/post-thread-moleculer-service.d.ts +0 -8
  282. package/lib/plugins/post-thread-moleculer-service.js +0 -33
  283. package/lib/plugins/post-thread-moleculer-service.js.map +0 -1
  284. package/lib/plugins/reaction-moleculer-service.d.ts +0 -8
  285. package/lib/plugins/reaction-moleculer-service.js +0 -20
  286. package/lib/plugins/reaction-moleculer-service.js.map +0 -1
  287. package/lib/services/proxy-services/channel-microservice.d.ts +0 -44
  288. package/lib/services/proxy-services/channel-microservice.js +0 -199
  289. package/lib/services/proxy-services/channel-microservice.js.map +0 -1
  290. package/lib/services/proxy-services/messenger-notification-microservice.d.ts +0 -16
  291. package/lib/services/proxy-services/messenger-notification-microservice.js +0 -54
  292. package/lib/services/proxy-services/messenger-notification-microservice.js.map +0 -1
  293. package/lib/services/proxy-services/post-microservice.d.ts +0 -22
  294. package/lib/services/proxy-services/post-microservice.js +0 -64
  295. package/lib/services/proxy-services/post-microservice.js.map +0 -1
  296. package/lib/services/proxy-services/post-thread-microservice.d.ts +0 -10
  297. package/lib/services/proxy-services/post-thread-microservice.js +0 -15
  298. package/lib/services/proxy-services/post-thread-microservice.js.map +0 -1
  299. package/lib/services/proxy-services/reaction-microservice.d.ts +0 -9
  300. package/lib/services/proxy-services/reaction-microservice.js +0 -10
  301. package/lib/services/proxy-services/reaction-microservice.js.map +0 -1
  302. package/lib/store/models/common-options.js +0 -20
  303. 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;