@kodelyth/msteams 2026.5.42 → 2026.6.1

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 (177) hide show
  1. package/klaw.plugin.json +726 -2
  2. package/package.json +16 -4
  3. package/api.ts +0 -3
  4. package/channel-config-api.ts +0 -1
  5. package/channel-plugin-api.ts +0 -2
  6. package/config-api.ts +0 -4
  7. package/contract-api.ts +0 -4
  8. package/index.ts +0 -20
  9. package/runtime-api.ts +0 -66
  10. package/secret-contract-api.ts +0 -5
  11. package/setup-entry.ts +0 -13
  12. package/setup-plugin-api.ts +0 -3
  13. package/src/ai-entity.ts +0 -7
  14. package/src/approval-auth.ts +0 -44
  15. package/src/attachments/bot-framework.test.ts +0 -506
  16. package/src/attachments/bot-framework.ts +0 -348
  17. package/src/attachments/download.ts +0 -328
  18. package/src/attachments/graph.test.ts +0 -441
  19. package/src/attachments/graph.ts +0 -489
  20. package/src/attachments/html.ts +0 -122
  21. package/src/attachments/payload.ts +0 -14
  22. package/src/attachments/remote-media.test.ts +0 -187
  23. package/src/attachments/remote-media.ts +0 -86
  24. package/src/attachments/shared.test.ts +0 -547
  25. package/src/attachments/shared.ts +0 -655
  26. package/src/attachments/types.ts +0 -47
  27. package/src/attachments.graph.test.ts +0 -414
  28. package/src/attachments.helpers.test.ts +0 -245
  29. package/src/attachments.test-helpers.ts +0 -17
  30. package/src/attachments.test.ts +0 -754
  31. package/src/attachments.ts +0 -18
  32. package/src/block-streaming-config.test.ts +0 -61
  33. package/src/channel-api.ts +0 -1
  34. package/src/channel.actions.test.ts +0 -797
  35. package/src/channel.directory.test.ts +0 -176
  36. package/src/channel.message-adapter.test.ts +0 -227
  37. package/src/channel.runtime.ts +0 -56
  38. package/src/channel.setup.ts +0 -77
  39. package/src/channel.test.ts +0 -136
  40. package/src/channel.ts +0 -1176
  41. package/src/config-schema.ts +0 -6
  42. package/src/config-ui-hints.ts +0 -40
  43. package/src/conversation-store-fs.test.ts +0 -81
  44. package/src/conversation-store-fs.ts +0 -149
  45. package/src/conversation-store-helpers.test.ts +0 -202
  46. package/src/conversation-store-helpers.ts +0 -105
  47. package/src/conversation-store-memory.ts +0 -51
  48. package/src/conversation-store.shared.test.ts +0 -260
  49. package/src/conversation-store.ts +0 -71
  50. package/src/directory-live.test.ts +0 -156
  51. package/src/directory-live.ts +0 -111
  52. package/src/doctor.ts +0 -27
  53. package/src/errors.test.ts +0 -154
  54. package/src/errors.ts +0 -270
  55. package/src/feedback-reflection-prompt.ts +0 -117
  56. package/src/feedback-reflection-store.ts +0 -113
  57. package/src/feedback-reflection.test.ts +0 -237
  58. package/src/feedback-reflection.ts +0 -268
  59. package/src/file-consent-helpers.test.ts +0 -328
  60. package/src/file-consent-helpers.ts +0 -115
  61. package/src/file-consent-invoke.ts +0 -150
  62. package/src/file-consent.test.ts +0 -378
  63. package/src/file-consent.ts +0 -223
  64. package/src/graph-chat.ts +0 -36
  65. package/src/graph-group-management.test.ts +0 -332
  66. package/src/graph-group-management.ts +0 -168
  67. package/src/graph-members.test.ts +0 -89
  68. package/src/graph-members.ts +0 -48
  69. package/src/graph-messages.actions.test.ts +0 -253
  70. package/src/graph-messages.read.test.ts +0 -391
  71. package/src/graph-messages.search.test.ts +0 -227
  72. package/src/graph-messages.test-helpers.ts +0 -50
  73. package/src/graph-messages.ts +0 -534
  74. package/src/graph-teams.test.ts +0 -222
  75. package/src/graph-teams.ts +0 -114
  76. package/src/graph-thread.test.ts +0 -252
  77. package/src/graph-thread.ts +0 -146
  78. package/src/graph-upload.test.ts +0 -253
  79. package/src/graph-upload.ts +0 -531
  80. package/src/graph-users.ts +0 -29
  81. package/src/graph.test.ts +0 -540
  82. package/src/graph.ts +0 -308
  83. package/src/inbound.test.ts +0 -221
  84. package/src/inbound.ts +0 -148
  85. package/src/index.ts +0 -4
  86. package/src/media-helpers.test.ts +0 -220
  87. package/src/media-helpers.ts +0 -105
  88. package/src/mentions.test.ts +0 -254
  89. package/src/mentions.ts +0 -114
  90. package/src/messenger.test.ts +0 -961
  91. package/src/messenger.ts +0 -608
  92. package/src/monitor-handler/access.ts +0 -136
  93. package/src/monitor-handler/inbound-media.test.ts +0 -314
  94. package/src/monitor-handler/inbound-media.ts +0 -180
  95. package/src/monitor-handler/message-handler-mock-support.test-support.ts +0 -28
  96. package/src/monitor-handler/message-handler.authz.test.ts +0 -739
  97. package/src/monitor-handler/message-handler.dm-media.test.ts +0 -54
  98. package/src/monitor-handler/message-handler.test-support.ts +0 -99
  99. package/src/monitor-handler/message-handler.thread-parent.test.ts +0 -225
  100. package/src/monitor-handler/message-handler.thread-session.test.ts +0 -132
  101. package/src/monitor-handler/message-handler.ts +0 -1003
  102. package/src/monitor-handler/reaction-handler.test.ts +0 -325
  103. package/src/monitor-handler/reaction-handler.ts +0 -122
  104. package/src/monitor-handler/thread-session.ts +0 -30
  105. package/src/monitor-handler.adaptive-card.test.ts +0 -158
  106. package/src/monitor-handler.feedback-authz.test.ts +0 -357
  107. package/src/monitor-handler.file-consent.test.ts +0 -443
  108. package/src/monitor-handler.sso.test.ts +0 -576
  109. package/src/monitor-handler.test-helpers.ts +0 -181
  110. package/src/monitor-handler.ts +0 -538
  111. package/src/monitor-handler.types.ts +0 -27
  112. package/src/monitor-types.ts +0 -6
  113. package/src/monitor.lifecycle.test.ts +0 -457
  114. package/src/monitor.test.ts +0 -119
  115. package/src/monitor.ts +0 -476
  116. package/src/oauth.flow.ts +0 -77
  117. package/src/oauth.shared.ts +0 -37
  118. package/src/oauth.test.ts +0 -350
  119. package/src/oauth.token.ts +0 -162
  120. package/src/oauth.ts +0 -130
  121. package/src/outbound.test.ts +0 -400
  122. package/src/outbound.ts +0 -198
  123. package/src/pending-uploads-fs.test.ts +0 -261
  124. package/src/pending-uploads-fs.ts +0 -235
  125. package/src/pending-uploads.test.ts +0 -186
  126. package/src/pending-uploads.ts +0 -121
  127. package/src/policy.test.ts +0 -156
  128. package/src/policy.ts +0 -245
  129. package/src/polls-store-memory.ts +0 -32
  130. package/src/polls.test.ts +0 -169
  131. package/src/polls.ts +0 -312
  132. package/src/presentation.ts +0 -93
  133. package/src/probe.test.ts +0 -79
  134. package/src/probe.ts +0 -132
  135. package/src/reply-dispatcher.test.ts +0 -543
  136. package/src/reply-dispatcher.ts +0 -523
  137. package/src/reply-stream-controller.test.ts +0 -424
  138. package/src/reply-stream-controller.ts +0 -334
  139. package/src/resolve-allowlist.test.ts +0 -253
  140. package/src/resolve-allowlist.ts +0 -309
  141. package/src/revoked-context.ts +0 -17
  142. package/src/runtime.ts +0 -12
  143. package/src/sdk-types.ts +0 -59
  144. package/src/sdk.test.ts +0 -727
  145. package/src/sdk.ts +0 -916
  146. package/src/secret-contract.ts +0 -49
  147. package/src/secret-input.ts +0 -7
  148. package/src/send-context.test.ts +0 -93
  149. package/src/send-context.ts +0 -269
  150. package/src/send.test.ts +0 -588
  151. package/src/send.ts +0 -697
  152. package/src/sent-message-cache.test.ts +0 -106
  153. package/src/sent-message-cache.ts +0 -174
  154. package/src/session-route.ts +0 -40
  155. package/src/setup-core.ts +0 -162
  156. package/src/setup-surface.test.ts +0 -175
  157. package/src/setup-surface.ts +0 -319
  158. package/src/sso-token-store.test.ts +0 -74
  159. package/src/sso-token-store.ts +0 -166
  160. package/src/sso.ts +0 -300
  161. package/src/storage.ts +0 -25
  162. package/src/store-fs.ts +0 -42
  163. package/src/streaming-message.test.ts +0 -323
  164. package/src/streaming-message.ts +0 -327
  165. package/src/test-runtime.ts +0 -16
  166. package/src/thread-parent-context.test.ts +0 -224
  167. package/src/thread-parent-context.ts +0 -159
  168. package/src/token-response.ts +0 -11
  169. package/src/token.test.ts +0 -268
  170. package/src/token.ts +0 -194
  171. package/src/user-agent.test.ts +0 -121
  172. package/src/user-agent.ts +0 -53
  173. package/src/webhook-timeouts.ts +0 -27
  174. package/src/welcome-card.test.ts +0 -104
  175. package/src/welcome-card.ts +0 -57
  176. package/test-api.ts +0 -1
  177. package/tsconfig.json +0 -16
package/klaw.plugin.json CHANGED
@@ -3,13 +3,737 @@
3
3
  "activation": {
4
4
  "onStartup": false
5
5
  },
6
- "channels": ["msteams"],
6
+ "channels": [
7
+ "msteams"
8
+ ],
7
9
  "channelEnvVars": {
8
- "msteams": ["MSTEAMS_APP_ID", "MSTEAMS_APP_PASSWORD", "MSTEAMS_TENANT_ID"]
10
+ "msteams": [
11
+ "MSTEAMS_APP_ID",
12
+ "MSTEAMS_APP_PASSWORD",
13
+ "MSTEAMS_TENANT_ID"
14
+ ]
9
15
  },
10
16
  "configSchema": {
11
17
  "type": "object",
12
18
  "additionalProperties": false,
13
19
  "properties": {}
20
+ },
21
+ "channelConfigs": {
22
+ "msteams": {
23
+ "schema": {
24
+ "$schema": "http://json-schema.org/draft-07/schema#",
25
+ "type": "object",
26
+ "properties": {
27
+ "enabled": {
28
+ "type": "boolean"
29
+ },
30
+ "capabilities": {
31
+ "type": "array",
32
+ "items": {
33
+ "type": "string"
34
+ }
35
+ },
36
+ "dangerouslyAllowNameMatching": {
37
+ "type": "boolean"
38
+ },
39
+ "markdown": {
40
+ "type": "object",
41
+ "properties": {
42
+ "tables": {
43
+ "type": "string",
44
+ "enum": [
45
+ "off",
46
+ "bullets",
47
+ "code",
48
+ "block"
49
+ ]
50
+ }
51
+ },
52
+ "additionalProperties": false
53
+ },
54
+ "configWrites": {
55
+ "type": "boolean"
56
+ },
57
+ "appId": {
58
+ "type": "string"
59
+ },
60
+ "appPassword": {
61
+ "anyOf": [
62
+ {
63
+ "type": "string"
64
+ },
65
+ {
66
+ "oneOf": [
67
+ {
68
+ "type": "object",
69
+ "properties": {
70
+ "source": {
71
+ "type": "string",
72
+ "const": "env"
73
+ },
74
+ "provider": {
75
+ "type": "string",
76
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
77
+ },
78
+ "id": {
79
+ "type": "string",
80
+ "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
81
+ }
82
+ },
83
+ "required": [
84
+ "source",
85
+ "provider",
86
+ "id"
87
+ ],
88
+ "additionalProperties": false
89
+ },
90
+ {
91
+ "type": "object",
92
+ "properties": {
93
+ "source": {
94
+ "type": "string",
95
+ "const": "file"
96
+ },
97
+ "provider": {
98
+ "type": "string",
99
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
100
+ },
101
+ "id": {
102
+ "type": "string"
103
+ }
104
+ },
105
+ "required": [
106
+ "source",
107
+ "provider",
108
+ "id"
109
+ ],
110
+ "additionalProperties": false
111
+ },
112
+ {
113
+ "type": "object",
114
+ "properties": {
115
+ "source": {
116
+ "type": "string",
117
+ "const": "exec"
118
+ },
119
+ "provider": {
120
+ "type": "string",
121
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
122
+ },
123
+ "id": {
124
+ "type": "string"
125
+ }
126
+ },
127
+ "required": [
128
+ "source",
129
+ "provider",
130
+ "id"
131
+ ],
132
+ "additionalProperties": false
133
+ }
134
+ ]
135
+ }
136
+ ]
137
+ },
138
+ "tenantId": {
139
+ "type": "string"
140
+ },
141
+ "authType": {
142
+ "type": "string",
143
+ "enum": [
144
+ "secret",
145
+ "federated"
146
+ ]
147
+ },
148
+ "certificatePath": {
149
+ "type": "string"
150
+ },
151
+ "certificateThumbprint": {
152
+ "type": "string"
153
+ },
154
+ "useManagedIdentity": {
155
+ "type": "boolean"
156
+ },
157
+ "managedIdentityClientId": {
158
+ "type": "string"
159
+ },
160
+ "webhook": {
161
+ "type": "object",
162
+ "properties": {
163
+ "port": {
164
+ "type": "integer",
165
+ "exclusiveMinimum": 0,
166
+ "maximum": 9007199254740991
167
+ },
168
+ "path": {
169
+ "type": "string"
170
+ }
171
+ },
172
+ "additionalProperties": false
173
+ },
174
+ "dmPolicy": {
175
+ "default": "pairing",
176
+ "type": "string",
177
+ "enum": [
178
+ "pairing",
179
+ "allowlist",
180
+ "open",
181
+ "disabled"
182
+ ]
183
+ },
184
+ "allowFrom": {
185
+ "type": "array",
186
+ "items": {
187
+ "type": "string"
188
+ }
189
+ },
190
+ "defaultTo": {
191
+ "type": "string"
192
+ },
193
+ "groupAllowFrom": {
194
+ "type": "array",
195
+ "items": {
196
+ "type": "string"
197
+ }
198
+ },
199
+ "groupPolicy": {
200
+ "default": "allowlist",
201
+ "type": "string",
202
+ "enum": [
203
+ "open",
204
+ "disabled",
205
+ "allowlist"
206
+ ]
207
+ },
208
+ "contextVisibility": {
209
+ "type": "string",
210
+ "enum": [
211
+ "all",
212
+ "allowlist",
213
+ "allowlist_quote"
214
+ ]
215
+ },
216
+ "textChunkLimit": {
217
+ "type": "integer",
218
+ "exclusiveMinimum": 0,
219
+ "maximum": 9007199254740991
220
+ },
221
+ "chunkMode": {
222
+ "type": "string",
223
+ "enum": [
224
+ "length",
225
+ "newline"
226
+ ]
227
+ },
228
+ "streaming": {
229
+ "type": "object",
230
+ "properties": {
231
+ "mode": {
232
+ "type": "string",
233
+ "enum": [
234
+ "off",
235
+ "partial",
236
+ "block",
237
+ "progress"
238
+ ]
239
+ },
240
+ "chunkMode": {
241
+ "type": "string",
242
+ "enum": [
243
+ "length",
244
+ "newline"
245
+ ]
246
+ },
247
+ "preview": {
248
+ "type": "object",
249
+ "properties": {
250
+ "chunk": {
251
+ "type": "object",
252
+ "properties": {
253
+ "minChars": {
254
+ "type": "integer",
255
+ "exclusiveMinimum": 0,
256
+ "maximum": 9007199254740991
257
+ },
258
+ "maxChars": {
259
+ "type": "integer",
260
+ "exclusiveMinimum": 0,
261
+ "maximum": 9007199254740991
262
+ },
263
+ "breakPreference": {
264
+ "anyOf": [
265
+ {
266
+ "type": "string",
267
+ "const": "paragraph"
268
+ },
269
+ {
270
+ "type": "string",
271
+ "const": "newline"
272
+ },
273
+ {
274
+ "type": "string",
275
+ "const": "sentence"
276
+ }
277
+ ]
278
+ }
279
+ },
280
+ "additionalProperties": false
281
+ },
282
+ "toolProgress": {
283
+ "type": "boolean"
284
+ },
285
+ "commandText": {
286
+ "type": "string",
287
+ "enum": [
288
+ "raw",
289
+ "status"
290
+ ]
291
+ }
292
+ },
293
+ "additionalProperties": false
294
+ },
295
+ "progress": {
296
+ "type": "object",
297
+ "properties": {
298
+ "label": {
299
+ "anyOf": [
300
+ {
301
+ "type": "string"
302
+ },
303
+ {
304
+ "type": "boolean",
305
+ "const": false
306
+ }
307
+ ]
308
+ },
309
+ "labels": {
310
+ "type": "array",
311
+ "items": {
312
+ "type": "string"
313
+ }
314
+ },
315
+ "maxLines": {
316
+ "type": "integer",
317
+ "exclusiveMinimum": 0,
318
+ "maximum": 9007199254740991
319
+ },
320
+ "maxLineChars": {
321
+ "type": "integer",
322
+ "exclusiveMinimum": 0,
323
+ "maximum": 9007199254740991
324
+ },
325
+ "render": {
326
+ "type": "string",
327
+ "enum": [
328
+ "text",
329
+ "rich"
330
+ ]
331
+ },
332
+ "toolProgress": {
333
+ "type": "boolean"
334
+ },
335
+ "commandText": {
336
+ "type": "string",
337
+ "enum": [
338
+ "raw",
339
+ "status"
340
+ ]
341
+ }
342
+ },
343
+ "additionalProperties": false
344
+ },
345
+ "block": {
346
+ "type": "object",
347
+ "properties": {
348
+ "enabled": {
349
+ "type": "boolean"
350
+ },
351
+ "coalesce": {
352
+ "type": "object",
353
+ "properties": {
354
+ "minChars": {
355
+ "type": "integer",
356
+ "exclusiveMinimum": 0,
357
+ "maximum": 9007199254740991
358
+ },
359
+ "maxChars": {
360
+ "type": "integer",
361
+ "exclusiveMinimum": 0,
362
+ "maximum": 9007199254740991
363
+ },
364
+ "idleMs": {
365
+ "type": "integer",
366
+ "minimum": 0,
367
+ "maximum": 9007199254740991
368
+ }
369
+ },
370
+ "additionalProperties": false
371
+ }
372
+ },
373
+ "additionalProperties": false
374
+ }
375
+ },
376
+ "additionalProperties": false
377
+ },
378
+ "typingIndicator": {
379
+ "type": "boolean"
380
+ },
381
+ "blockStreaming": {
382
+ "type": "boolean"
383
+ },
384
+ "blockStreamingCoalesce": {
385
+ "type": "object",
386
+ "properties": {
387
+ "minChars": {
388
+ "type": "integer",
389
+ "exclusiveMinimum": 0,
390
+ "maximum": 9007199254740991
391
+ },
392
+ "maxChars": {
393
+ "type": "integer",
394
+ "exclusiveMinimum": 0,
395
+ "maximum": 9007199254740991
396
+ },
397
+ "idleMs": {
398
+ "type": "integer",
399
+ "minimum": 0,
400
+ "maximum": 9007199254740991
401
+ }
402
+ },
403
+ "additionalProperties": false
404
+ },
405
+ "mediaAllowHosts": {
406
+ "type": "array",
407
+ "items": {
408
+ "type": "string"
409
+ }
410
+ },
411
+ "mediaAuthAllowHosts": {
412
+ "type": "array",
413
+ "items": {
414
+ "type": "string"
415
+ }
416
+ },
417
+ "requireMention": {
418
+ "type": "boolean"
419
+ },
420
+ "historyLimit": {
421
+ "type": "integer",
422
+ "minimum": 0,
423
+ "maximum": 9007199254740991
424
+ },
425
+ "dmHistoryLimit": {
426
+ "type": "integer",
427
+ "minimum": 0,
428
+ "maximum": 9007199254740991
429
+ },
430
+ "dms": {
431
+ "type": "object",
432
+ "propertyNames": {
433
+ "type": "string"
434
+ },
435
+ "additionalProperties": {
436
+ "type": "object",
437
+ "properties": {
438
+ "historyLimit": {
439
+ "type": "integer",
440
+ "minimum": 0,
441
+ "maximum": 9007199254740991
442
+ }
443
+ },
444
+ "additionalProperties": false
445
+ }
446
+ },
447
+ "replyStyle": {
448
+ "type": "string",
449
+ "enum": [
450
+ "thread",
451
+ "top-level"
452
+ ]
453
+ },
454
+ "teams": {
455
+ "type": "object",
456
+ "propertyNames": {
457
+ "type": "string"
458
+ },
459
+ "additionalProperties": {
460
+ "type": "object",
461
+ "properties": {
462
+ "requireMention": {
463
+ "type": "boolean"
464
+ },
465
+ "tools": {
466
+ "type": "object",
467
+ "properties": {
468
+ "allow": {
469
+ "type": "array",
470
+ "items": {
471
+ "type": "string"
472
+ }
473
+ },
474
+ "alsoAllow": {
475
+ "type": "array",
476
+ "items": {
477
+ "type": "string"
478
+ }
479
+ },
480
+ "deny": {
481
+ "type": "array",
482
+ "items": {
483
+ "type": "string"
484
+ }
485
+ }
486
+ },
487
+ "additionalProperties": false
488
+ },
489
+ "toolsBySender": {
490
+ "type": "object",
491
+ "propertyNames": {
492
+ "type": "string"
493
+ },
494
+ "additionalProperties": {
495
+ "type": "object",
496
+ "properties": {
497
+ "allow": {
498
+ "type": "array",
499
+ "items": {
500
+ "type": "string"
501
+ }
502
+ },
503
+ "alsoAllow": {
504
+ "type": "array",
505
+ "items": {
506
+ "type": "string"
507
+ }
508
+ },
509
+ "deny": {
510
+ "type": "array",
511
+ "items": {
512
+ "type": "string"
513
+ }
514
+ }
515
+ },
516
+ "additionalProperties": false
517
+ }
518
+ },
519
+ "replyStyle": {
520
+ "type": "string",
521
+ "enum": [
522
+ "thread",
523
+ "top-level"
524
+ ]
525
+ },
526
+ "channels": {
527
+ "type": "object",
528
+ "propertyNames": {
529
+ "type": "string"
530
+ },
531
+ "additionalProperties": {
532
+ "type": "object",
533
+ "properties": {
534
+ "requireMention": {
535
+ "type": "boolean"
536
+ },
537
+ "tools": {
538
+ "type": "object",
539
+ "properties": {
540
+ "allow": {
541
+ "type": "array",
542
+ "items": {
543
+ "type": "string"
544
+ }
545
+ },
546
+ "alsoAllow": {
547
+ "type": "array",
548
+ "items": {
549
+ "type": "string"
550
+ }
551
+ },
552
+ "deny": {
553
+ "type": "array",
554
+ "items": {
555
+ "type": "string"
556
+ }
557
+ }
558
+ },
559
+ "additionalProperties": false
560
+ },
561
+ "toolsBySender": {
562
+ "type": "object",
563
+ "propertyNames": {
564
+ "type": "string"
565
+ },
566
+ "additionalProperties": {
567
+ "type": "object",
568
+ "properties": {
569
+ "allow": {
570
+ "type": "array",
571
+ "items": {
572
+ "type": "string"
573
+ }
574
+ },
575
+ "alsoAllow": {
576
+ "type": "array",
577
+ "items": {
578
+ "type": "string"
579
+ }
580
+ },
581
+ "deny": {
582
+ "type": "array",
583
+ "items": {
584
+ "type": "string"
585
+ }
586
+ }
587
+ },
588
+ "additionalProperties": false
589
+ }
590
+ },
591
+ "replyStyle": {
592
+ "type": "string",
593
+ "enum": [
594
+ "thread",
595
+ "top-level"
596
+ ]
597
+ }
598
+ },
599
+ "additionalProperties": false
600
+ }
601
+ }
602
+ },
603
+ "additionalProperties": false
604
+ }
605
+ },
606
+ "mediaMaxMb": {
607
+ "type": "number",
608
+ "exclusiveMinimum": 0
609
+ },
610
+ "sharePointSiteId": {
611
+ "type": "string"
612
+ },
613
+ "heartbeat": {
614
+ "type": "object",
615
+ "properties": {
616
+ "showOk": {
617
+ "type": "boolean"
618
+ },
619
+ "showAlerts": {
620
+ "type": "boolean"
621
+ },
622
+ "useIndicator": {
623
+ "type": "boolean"
624
+ }
625
+ },
626
+ "additionalProperties": false
627
+ },
628
+ "healthMonitor": {
629
+ "type": "object",
630
+ "properties": {
631
+ "enabled": {
632
+ "type": "boolean"
633
+ }
634
+ },
635
+ "additionalProperties": false
636
+ },
637
+ "responsePrefix": {
638
+ "type": "string"
639
+ },
640
+ "welcomeCard": {
641
+ "type": "boolean"
642
+ },
643
+ "promptStarters": {
644
+ "type": "array",
645
+ "items": {
646
+ "type": "string"
647
+ }
648
+ },
649
+ "groupWelcomeCard": {
650
+ "type": "boolean"
651
+ },
652
+ "feedbackEnabled": {
653
+ "type": "boolean"
654
+ },
655
+ "feedbackReflection": {
656
+ "type": "boolean"
657
+ },
658
+ "feedbackReflectionCooldownMs": {
659
+ "type": "integer",
660
+ "minimum": 0,
661
+ "maximum": 9007199254740991
662
+ },
663
+ "delegatedAuth": {
664
+ "type": "object",
665
+ "properties": {
666
+ "enabled": {
667
+ "type": "boolean"
668
+ },
669
+ "scopes": {
670
+ "type": "array",
671
+ "items": {
672
+ "type": "string"
673
+ }
674
+ }
675
+ },
676
+ "additionalProperties": false
677
+ },
678
+ "sso": {
679
+ "type": "object",
680
+ "properties": {
681
+ "enabled": {
682
+ "type": "boolean"
683
+ },
684
+ "connectionName": {
685
+ "type": "string"
686
+ }
687
+ },
688
+ "additionalProperties": false
689
+ }
690
+ },
691
+ "required": [
692
+ "dmPolicy",
693
+ "groupPolicy"
694
+ ],
695
+ "additionalProperties": false
696
+ },
697
+ "label": "Microsoft Teams",
698
+ "description": "Teams SDK; enterprise support.",
699
+ "uiHints": {
700
+ "": {
701
+ "label": "MS Teams",
702
+ "help": "Microsoft Teams channel provider configuration and provider-specific policy toggles. Use this section to isolate Teams behavior from other enterprise chat providers."
703
+ },
704
+ "configWrites": {
705
+ "label": "MS Teams Config Writes",
706
+ "help": "Allow Microsoft Teams to write config in response to channel events/commands (default: true)."
707
+ },
708
+ "streaming": {
709
+ "label": "MS Teams Streaming",
710
+ "help": "Microsoft Teams preview/progress streaming mode: \"off\" | \"partial\" | \"block\" | \"progress\". Personal chats use Teams native streaminfo progress when available."
711
+ },
712
+ "streaming.progress.label": {
713
+ "label": "MS Teams Progress Label",
714
+ "help": "Initial progress title. Use \"auto\" for built-in single-word labels, a custom string, or false to hide the title."
715
+ },
716
+ "streaming.progress.labels": {
717
+ "label": "MS Teams Progress Label Pool",
718
+ "help": "Candidate labels for streaming.progress.label=\"auto\". Leave unset to use Klaw built-in progress labels."
719
+ },
720
+ "streaming.progress.maxLines": {
721
+ "label": "MS Teams Progress Max Lines",
722
+ "help": "Maximum number of compact progress lines to keep below the progress title (default: 8)."
723
+ },
724
+ "streaming.progress.maxLineChars": {
725
+ "label": "MS Teams Progress Max Line Chars",
726
+ "help": "Maximum characters per compact progress line before truncation (default: 120). Prose cuts at word boundaries; commands and paths keep useful suffixes."
727
+ },
728
+ "streaming.progress.toolProgress": {
729
+ "label": "MS Teams Progress Tool Lines",
730
+ "help": "Show compact tool/progress lines in progress mode (default: true). Set false to keep only the title until final delivery."
731
+ },
732
+ "streaming.progress.commandText": {
733
+ "label": "MS Teams Progress Command Text",
734
+ "help": "Command/exec detail in progress lines: \"raw\" preserves released behavior; \"status\" shows only the tool label."
735
+ }
736
+ }
737
+ }
14
738
  }
15
739
  }