@microsoft/app-manifest 1.0.5 → 1.0.6-alpha.bca8bf68d3.0

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 (74) hide show
  1. package/build/generated-types/index.d.ts +2 -0
  2. package/build/generated-types/index.js +38 -8
  3. package/build/generated-types/index.js.map +1 -1
  4. package/build/json-schemas/copilot/declarative-agent/v1.0/schema.json +327 -0
  5. package/build/json-schemas/copilot/declarative-agent/v1.2/schema.json +413 -0
  6. package/build/json-schemas/copilot/declarative-agent/v1.3/schema.json +610 -0
  7. package/build/json-schemas/copilot/declarative-agent/v1.4/schema.json +884 -0
  8. package/build/json-schemas/copilot/declarative-agent/v1.5/schema.json +904 -0
  9. package/build/json-schemas/copilot/declarative-agent/v1.6/schema.json +1102 -0
  10. package/build/json-schemas/copilot/plugin/v2.1/schema.json +684 -0
  11. package/build/json-schemas/copilot/plugin/v2.2/schema.json +716 -0
  12. package/build/json-schemas/copilot/plugin/v2.3/schema.json +772 -0
  13. package/build/json-schemas/copilot/plugin/v2.4/schema.json +853 -0
  14. package/build/json-schemas/teams/v1.0/MicrosoftTeams.schema.json +461 -0
  15. package/build/json-schemas/teams/v1.1/MicrosoftTeams.schema.json +458 -0
  16. package/build/json-schemas/teams/v1.10/MicrosoftTeams.Localization.schema.json +81 -0
  17. package/build/json-schemas/teams/v1.10/MicrosoftTeams.schema.json +963 -0
  18. package/build/json-schemas/teams/v1.11/MicrosoftTeams.Localization.schema.json +81 -0
  19. package/build/json-schemas/teams/v1.11/MicrosoftTeams.schema.json +958 -0
  20. package/build/json-schemas/teams/v1.12/MicrosoftTeams.Localization.schema.json +81 -0
  21. package/build/json-schemas/teams/v1.12/MicrosoftTeams.schema.json +993 -0
  22. package/build/json-schemas/teams/v1.13/MicrosoftTeams.Localization.schema.json +81 -0
  23. package/build/json-schemas/teams/v1.13/MicrosoftTeams.schema.json +993 -0
  24. package/build/json-schemas/teams/v1.14/MicrosoftTeams.Localization.schema.json +81 -0
  25. package/build/json-schemas/teams/v1.14/MicrosoftTeams.schema.json +1009 -0
  26. package/build/json-schemas/teams/v1.15/MicrosoftTeams.Localization.schema.json +81 -0
  27. package/build/json-schemas/teams/v1.15/MicrosoftTeams.schema.json +1014 -0
  28. package/build/json-schemas/teams/v1.16/MicrosoftTeams.Localization.schema.json +82 -0
  29. package/build/json-schemas/teams/v1.16/MicrosoftTeams.schema.json +1028 -0
  30. package/build/json-schemas/teams/v1.17/MicrosoftTeams.Localization.schema.json +166 -0
  31. package/build/json-schemas/teams/v1.17/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  32. package/build/json-schemas/teams/v1.17/MicrosoftTeams.schema.json +2135 -0
  33. package/build/json-schemas/teams/v1.19/MicrosoftTeams.Localization.schema.json +174 -0
  34. package/build/json-schemas/teams/v1.19/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  35. package/build/json-schemas/teams/v1.19/MicrosoftTeams.schema.json +2174 -0
  36. package/build/json-schemas/teams/v1.2/MicrosoftTeams.schema.json +458 -0
  37. package/build/json-schemas/teams/v1.20/MicrosoftTeams.Localization.schema.json +214 -0
  38. package/build/json-schemas/teams/v1.20/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  39. package/build/json-schemas/teams/v1.20/MicrosoftTeams.schema.json +2503 -0
  40. package/build/json-schemas/teams/v1.21/MicrosoftTeams.Localization.schema.json +224 -0
  41. package/build/json-schemas/teams/v1.21/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  42. package/build/json-schemas/teams/v1.21/MicrosoftTeams.schema.json +2534 -0
  43. package/build/json-schemas/teams/v1.22/MicrosoftTeams.Localization.schema.json +228 -0
  44. package/build/json-schemas/teams/v1.22/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  45. package/build/json-schemas/teams/v1.22/MicrosoftTeams.schema.json +2622 -0
  46. package/build/json-schemas/teams/v1.23/MicrosoftTeams.Localization.schema.json +316 -0
  47. package/build/json-schemas/teams/v1.23/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  48. package/build/json-schemas/teams/v1.23/MicrosoftTeams.schema.json +3056 -0
  49. package/build/json-schemas/teams/v1.24/MicrosoftTeams.Localization.schema.json +320 -0
  50. package/build/json-schemas/teams/v1.24/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  51. package/build/json-schemas/teams/v1.24/MicrosoftTeams.schema.json +3175 -0
  52. package/build/json-schemas/teams/v1.25/MicrosoftTeams.AgenticUser.schema.json +44 -0
  53. package/build/json-schemas/teams/v1.25/MicrosoftTeams.Localization.schema.json +328 -0
  54. package/build/json-schemas/teams/v1.25/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  55. package/build/json-schemas/teams/v1.25/MicrosoftTeams.schema.json +3313 -0
  56. package/build/json-schemas/teams/v1.26/MicrosoftTeams.schema.json +3408 -0
  57. package/build/json-schemas/teams/v1.3/MicrosoftTeams.schema.json +473 -0
  58. package/build/json-schemas/teams/v1.4/MicrosoftTeams.schema.json +543 -0
  59. package/build/json-schemas/teams/v1.5/MicrosoftTeams.Localization.schema.json +69 -0
  60. package/build/json-schemas/teams/v1.5/MicrosoftTeams.schema.json +713 -0
  61. package/build/json-schemas/teams/v1.6/MicrosoftTeams.Localization.schema.json +69 -0
  62. package/build/json-schemas/teams/v1.6/MicrosoftTeams.schema.json +725 -0
  63. package/build/json-schemas/teams/v1.7/MicrosoftTeams.Localization.schema.json +77 -0
  64. package/build/json-schemas/teams/v1.7/MicrosoftTeams.schema.json +759 -0
  65. package/build/json-schemas/teams/v1.8/MicrosoftTeams.Localization.schema.json +77 -0
  66. package/build/json-schemas/teams/v1.8/MicrosoftTeams.schema.json +799 -0
  67. package/build/json-schemas/teams/v1.9/MicrosoftTeams.Localization.schema.json +77 -0
  68. package/build/json-schemas/teams/v1.9/MicrosoftTeams.schema.json +885 -0
  69. package/build/json-schemas/teams/vDevPreview/MicrosoftTeams.AgenticUser.schema.json +44 -0
  70. package/build/json-schemas/teams/vDevPreview/MicrosoftTeams.Localization.schema.json +256 -0
  71. package/build/json-schemas/teams/vDevPreview/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  72. package/build/json-schemas/teams/vDevPreview/MicrosoftTeams.schema.json +4020 -0
  73. package/build/tsconfig.tsbuildinfo +1 -1
  74. package/package.json +3 -3
@@ -0,0 +1,413 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "$comment": "This schema describes the constraints of a declarative agent for third party developers to be deployed to Microsoft 365 Copilot",
4
+ "type": "object",
5
+ "title": "Declarative agent manifest object",
6
+ "description": "The root of the declarative agent manifest document is a JSON object that contains members that describe the declarative agent.",
7
+ "properties": {
8
+ "version": {
9
+ "description": "Required. Not localizable. The version of the schema this manifest is using.",
10
+ "type": "string",
11
+ "const": "v1.2"
12
+ },
13
+ "id": {
14
+ "description": "Optional. Not localizable.",
15
+ "type": "string",
16
+ "pattern": "^(?!\\[\\[)(.*?)(?<!\\]\\])$"
17
+ },
18
+ "name": {
19
+ "type": "string",
20
+ "description": "Required. Localizable. The name of the declarative agent. It MUST contain at least one nonwhitespace character and MUST be 100 characters or less.",
21
+ "minLength": 1,
22
+ "maxLength": 100,
23
+ "pattern": "^(\\[\\[)[a-zA-Z_][a-zA-Z0-9_]*(\\]\\])$|^(?!(.*?\\[\\[.*?|.*?\\]\\].*?)).*$"
24
+ },
25
+ "description": {
26
+ "type": "string",
27
+ "description": "Required. Localizable. The description of the declarative agent. It MUST contain at least one nonwhitespace character and MUST be 1,000 characters or less.",
28
+ "minLength": 1,
29
+ "maxLength": 1000,
30
+ "pattern": "^(\\[\\[)[a-zA-Z_][a-zA-Z0-9_]*(\\]\\])$|^(?!(.*?\\[\\[.*?|.*?\\]\\].*?)).*$"
31
+ },
32
+ "instructions": {
33
+ "type": "string",
34
+ "description": "Optional. Not localizable. The detailed instructions or guidelines on how the declarative agent should behave, its functions, and any behaviors to avoid. It MUST contain at least one nonwhitespace character and MUST be 8,000 characters or less.",
35
+ "minLength": 1,
36
+ "maxLength": 8000,
37
+ "pattern": "^(?!\\[\\[)((.|\\n|\\r)*?)(?<!\\]\\])$"
38
+ },
39
+ "capabilities": {
40
+ "type": "array",
41
+ "description": "Optional. Contains an array of objects that define capabilities of the declarative agent.",
42
+ "minItems": 1,
43
+ "maxItems": 5,
44
+ "uniqueItems": true,
45
+ "items": {
46
+ "anyOf": [
47
+ {
48
+ "$ref": "#/$defs/capabilities/base-capability"
49
+ }
50
+ ]
51
+ }
52
+ },
53
+ "conversation_starters": {
54
+ "type": "array",
55
+ "description": "Optional. A list of examples of questions that the declarative agent can answer. There MUST NOT be more than six objects in the array.",
56
+ "maxItems": 6,
57
+ "minItems": 1,
58
+ "items": {
59
+ "$ref": "#/$defs/conversation-starter"
60
+ }
61
+ },
62
+ "actions": {
63
+ "type": "array",
64
+ "description": "Optional. A list of objects that identify API plugins that provide actions accessible to the declarative agent.",
65
+ "minItems": 1,
66
+ "maxItems": 10,
67
+ "items": {
68
+ "oneOf": [
69
+ {
70
+ "$ref": "#/$defs/action-object"
71
+ }
72
+ ]
73
+ }
74
+ }
75
+ },
76
+ "required": [
77
+ "version",
78
+ "name",
79
+ "description"
80
+ ],
81
+ "propertyNames": {
82
+ "enum": [
83
+ "id",
84
+ "version",
85
+ "name",
86
+ "description",
87
+ "instructions",
88
+ "capabilities",
89
+ "conversation_starters",
90
+ "actions",
91
+ "$schema"
92
+ ]
93
+ },
94
+ "$defs": {
95
+ "capabilities": {
96
+ "base-capability": {
97
+ "type": "object",
98
+ "description": "Represents a base capability object.",
99
+ "properties": {
100
+ "name": {
101
+ "type": "string",
102
+ "description": "Required. The name of the capability. Allowed values are WebSearch, CodeInterpreter, OneDriveAndSharePoint, GraphConnectors, and GraphicArt.",
103
+ "anyOf": [
104
+ {
105
+ "const": "WebSearch"
106
+ },
107
+ {
108
+ "const": "CodeInterpreter"
109
+ },
110
+ {
111
+ "const": "OneDriveAndSharePoint"
112
+ },
113
+ {
114
+ "const": "GraphConnectors"
115
+ },
116
+ {
117
+ "const": "GraphicArt"
118
+ }
119
+ ]
120
+ }
121
+ },
122
+ "oneOf": [
123
+ {
124
+ "$ref": "#/$defs/capabilities/web-search"
125
+ },
126
+ {
127
+ "$ref": "#/$defs/capabilities/onedrive-and-sharepoint"
128
+ },
129
+ {
130
+ "$ref": "#/$defs/capabilities/graph-connectors"
131
+ },
132
+ {
133
+ "$ref": "#/$defs/capabilities/code-interpreter"
134
+ },
135
+ {
136
+ "$ref": "#/$defs/capabilities/graphic-art"
137
+ }
138
+ ],
139
+ "required": [
140
+ "name"
141
+ ]
142
+ },
143
+ "web-search": {
144
+ "type": "object",
145
+ "description": "Indicates that the declarative agent can search the web for grounding information.",
146
+ "properties": {
147
+ "name": {
148
+ "const": "WebSearch",
149
+ "description": "Required. Must be set to WebSearch."
150
+ },
151
+ "sites": {
152
+ "type": "array",
153
+ "minItems": 1,
154
+ "maxItems": 4,
155
+ "description": "Optional. An array of sites used to constrain the content accessible to the DA to just the content identified via the items of array.",
156
+ "items": {
157
+ "$ref": "#/$defs/web-search-site"
158
+ }
159
+ }
160
+ },
161
+ "required": [
162
+ "name"
163
+ ],
164
+ "propertyNames": {
165
+ "enum": [
166
+ "name",
167
+ "sites"
168
+ ]
169
+ }
170
+ },
171
+ "code-interpreter": {
172
+ "type": "object",
173
+ "description": "Indicates that the declarative agent can generate and execute code.",
174
+ "properties": {
175
+ "name": {
176
+ "const": "CodeInterpreter",
177
+ "description": "Required. Must be set to CodeInterpreter."
178
+ }
179
+ },
180
+ "required": [
181
+ "name"
182
+ ],
183
+ "propertyNames": {
184
+ "enum": [
185
+ "name"
186
+ ]
187
+ }
188
+ },
189
+ "graphic-art": {
190
+ "type": "object",
191
+ "description": "Indicates that the declarative agent can images and art based on the text input from the user.",
192
+ "properties": {
193
+ "name": {
194
+ "const": "GraphicArt",
195
+ "description": "Required. Must be set to GraphicArt."
196
+ }
197
+ },
198
+ "required": [
199
+ "name"
200
+ ],
201
+ "propertyNames": {
202
+ "enum": [
203
+ "name"
204
+ ]
205
+ }
206
+ },
207
+ "onedrive-and-sharepoint": {
208
+ "type": "object",
209
+ "description": "Indicates that the declarative agent can search a user's SharePoint and OneDrive for grounding information.",
210
+ "properties": {
211
+ "name": {
212
+ "const": "OneDriveAndSharePoint",
213
+ "description": "Required. Must be set to OneDriveAndSharePoint."
214
+ },
215
+ "items_by_sharepoint_ids": {
216
+ "type": "array",
217
+ "minItems": 1,
218
+ "description": "Optional. An array of objects that identify SharePoint or OneDrive sources using IDs.",
219
+ "items": {
220
+ "$ref": "#/$defs/sharepoint-ids"
221
+ }
222
+ },
223
+ "items_by_url": {
224
+ "type": "array",
225
+ "minItems": 1,
226
+ "description": "Optional. An array of objects that identify SharePoint or OneDrive sources by URL.",
227
+ "items": {
228
+ "$ref": "#/$defs/sharepoint-url"
229
+ }
230
+ }
231
+ },
232
+ "required": [
233
+ "name"
234
+ ],
235
+ "propertyNames": {
236
+ "enum": [
237
+ "name",
238
+ "items_by_sharepoint_ids",
239
+ "items_by_url"
240
+ ]
241
+ }
242
+ },
243
+ "graph-connectors": {
244
+ "type": "object",
245
+ "description": "Indicates that the declarative agent can search selected Microsoft Graph connectors for grounding information.",
246
+ "properties": {
247
+ "name": {
248
+ "const": "GraphConnectors",
249
+ "description": "Required. Must be set to GraphConnectors."
250
+ },
251
+ "connections": {
252
+ "type": "array",
253
+ "minItems": 1,
254
+ "description": "Optional. An array of objects that identify the Microsoft Graph connectors available to the declarative agent",
255
+ "items": {
256
+ "$ref": "#/$defs/connection"
257
+ }
258
+ }
259
+ },
260
+ "required": [
261
+ "name"
262
+ ],
263
+ "propertyNames": {
264
+ "enum": [
265
+ "name",
266
+ "connections"
267
+ ]
268
+ }
269
+ }
270
+ },
271
+ "web-search-site": {
272
+ "type": "object",
273
+ "description": "An object that identifies a site used to constrain the content accessible to the declarative agent.",
274
+ "properties": {
275
+ "url": {
276
+ "type": "string",
277
+ "description": " An absolute URL to a site."
278
+ }
279
+ },
280
+ "required": [
281
+ "url"
282
+ ],
283
+ "propertyNames": {
284
+ "enum": [
285
+ "url"
286
+ ]
287
+ }
288
+ },
289
+ "conversation-starter": {
290
+ "type": "object",
291
+ "description": "Contains hints that are displayed to the user to demonstrate how they can get started using the declarative agent.",
292
+ "properties": {
293
+ "text": {
294
+ "type": "string",
295
+ "description": "Required. Localizable. A suggestion that the user can use to obtain the desired result from the DC. It MUST contain at least one nonwhitespace character.",
296
+ "pattern": "^(\\[\\[)[a-zA-Z_][a-zA-Z0-9_]*(\\]\\])$|^(?!(.*?\\[\\[.*?|.*?\\]\\].*?)).*$"
297
+ },
298
+ "title": {
299
+ "type": "string",
300
+ "description": "Optional. Localizable. A unique title for the conversation starter. It MUST contain at least one nonwhitespace character.",
301
+ "pattern": "^(\\[\\[)[a-zA-Z_][a-zA-Z0-9_]*(\\]\\])$|^(?!(.*?\\[\\[.*?|.*?\\]\\].*?)).*$"
302
+ }
303
+ },
304
+ "required": [
305
+ "text"
306
+ ],
307
+ "propertyNames": {
308
+ "enum": [
309
+ "text",
310
+ "title"
311
+ ]
312
+ }
313
+ },
314
+ "action-object": {
315
+ "type": "object",
316
+ "description": "Identifies an API plugin manifest for a plugin used as an action by the declarative agent.",
317
+ "properties": {
318
+ "id": {
319
+ "type": "string",
320
+ "description": "Required. Not localizable. A unique identifier for the action. It MAY be represented by a GUID.",
321
+ "pattern": "^(?!\\[\\[)(.*?)(?<!\\]\\])$"
322
+ },
323
+ "file": {
324
+ "type": "string",
325
+ "description": "Required. Not localizable. A path to the API plugin manifest for this action.",
326
+ "pattern": "^(?!\\[\\[)(.*?)(?<!\\]\\])$"
327
+ }
328
+ },
329
+ "required": [
330
+ "id",
331
+ "file"
332
+ ],
333
+ "propertyNames": {
334
+ "enum": [
335
+ "id",
336
+ "file"
337
+ ]
338
+ }
339
+ },
340
+ "sharepoint-ids": {
341
+ "type": "object",
342
+ "description": "Contains one or more object identifiers that identify a SharePoint or OneDrive resource.",
343
+ "properties": {
344
+ "site_id": {
345
+ "type": "string",
346
+ "description": "Optional. Not localizable. The GUID identifier of a SharePoint or OneDrive site.",
347
+ "pattern": "^(?!\\[\\[)(.*?)(?<!\\]\\])$"
348
+
349
+ },
350
+ "web_id": {
351
+ "type": "string",
352
+ "description": "Optional. Not localizable. The GUID identifier of a SharePoint or OneDrive web.",
353
+ "pattern": "^(?!\\[\\[)(.*?)(?<!\\]\\])$"
354
+ },
355
+ "list_id": {
356
+ "type": "string",
357
+ "description": "Optional. Not localizable. The GUID identifier of a SharePoint or OneDrive list.",
358
+ "pattern": "^(?!\\[\\[)(.*?)(?<!\\]\\])$"
359
+ },
360
+ "unique_id": {
361
+ "type": "string",
362
+ "description": "Optional. Not localizable. The GUID identifier of a SharePoint or OneDrive item.",
363
+ "pattern": "^(?!\\[\\[)(.*?)(?<!\\]\\])$"
364
+ }
365
+ },
366
+ "propertyNames": {
367
+ "enum": [
368
+ "site_id",
369
+ "web_id",
370
+ "list_id",
371
+ "unique_id"
372
+ ]
373
+ },
374
+ "additionalProperties": false
375
+ },
376
+ "sharepoint-url": {
377
+ "type": "object",
378
+ "description": "Represents the URL of a SharePoint or OneDrive resource.",
379
+ "properties": {
380
+ "url": {
381
+ "type": "string",
382
+ "description": "Optional. Not localizable. An absolute URL to a SharePoint or OneDrive resource.",
383
+ "pattern": "^(?!\\[\\[)(.*?)(?<!\\]\\])$"
384
+ }
385
+ },
386
+ "propertyNames": {
387
+ "enum": [
388
+ "url"
389
+ ]
390
+ },
391
+ "additionalProperties": false
392
+ },
393
+ "connection": {
394
+ "type": "object",
395
+ "description": "Identifies a Microsoft Graph connector.",
396
+ "properties": {
397
+ "connection_id": {
398
+ "type": "string",
399
+ "description": "Required. Not localizable The unique identifier of the Microsoft Graph connector.",
400
+ "pattern": "^(?!\\[\\[)(.*?)(?<!\\]\\])$"
401
+ }
402
+ },
403
+ "required": [
404
+ "connection_id"
405
+ ],
406
+ "propertyNames": {
407
+ "enum": [
408
+ "connection_id"
409
+ ]
410
+ }
411
+ }
412
+ }
413
+ }