@microsoft/m365agentstoolkit-cli 1.1.19-alpha.46aaa82df3.0 → 1.1.19-alpha.93bb1c235d.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.
- package/README.md +9 -0
- package/json-schemas/teams/vDevPreview/MicrosoftTeams.schema.json +1869 -1362
- package/lib/index.js +8 -2
- package/lib/index.js.map +2 -2
- package/package.json +5 -5
- package/resource/package.nls.cs.json +59 -68
- package/resource/package.nls.de.json +59 -68
- package/resource/package.nls.es.json +59 -68
- package/resource/package.nls.fr.json +59 -68
- package/resource/package.nls.it.json +59 -68
- package/resource/package.nls.ja.json +59 -68
- package/resource/package.nls.json +15 -58
- package/resource/package.nls.ko.json +59 -68
- package/resource/package.nls.pl.json +59 -68
- package/resource/package.nls.pt-BR.json +59 -68
- package/resource/package.nls.ru.json +59 -68
- package/resource/package.nls.tr.json +59 -68
- package/resource/package.nls.zh-Hans.json +59 -68
- package/resource/package.nls.zh-Hant.json +59 -68
- package/resource/yaml-schema/v1.13/yaml.schema.json +50 -29
- package/resource/yaml-schema/yaml.schema.json +50 -29
- package/templates/fallback/common.zip +0 -0
- package/templates/fallback/csharp.zip +0 -0
- package/templates/fallback/js.zip +0 -0
- package/templates/fallback/python.zip +0 -0
- package/templates/fallback/ts.zip +0 -0
- package/templates/metadata.zip +0 -0
- package/templates/v4/templates-metadata.zip +0 -0
- package/templates/v4/templates.zip +0 -0
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"environmentFolderPath": {
|
|
11
11
|
"type": "string",
|
|
12
12
|
"description": "The folder path of .env files used for variables and different environments."
|
|
13
|
-
|
|
13
|
+
},
|
|
14
14
|
"version": {
|
|
15
15
|
"type": "string",
|
|
16
16
|
"description": "The version of the yaml file schema",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"additionalProperties": true,
|
|
23
23
|
"properties": {
|
|
24
24
|
"sampleTag": {
|
|
25
|
-
"type": ["number","string","boolean","object","array", "null", "integer"],
|
|
25
|
+
"type": ["number", "string", "boolean", "object", "array", "null", "integer"],
|
|
26
26
|
"description": "A tag for the sample app used to track telemetry events sent by Microsoft 365 Agents Toolkit associated with that sample. Pattern: <sample-repo>:<sample-name>"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -76,16 +76,16 @@
|
|
|
76
76
|
{ "$ref": "#/definitions/spfxDeploy" },
|
|
77
77
|
{ "$ref": "#/definitions/teamsAppCopyAppPackageToSPFx" },
|
|
78
78
|
{ "$ref": "#/definitions/script" },
|
|
79
|
-
{ "$ref": "#/definitions/apiKeyRegister"},
|
|
80
|
-
{ "$ref": "#/definitions/azureStaticWebAppGetDeploymentKey"},
|
|
81
|
-
{ "$ref": "#/definitions/apiKeyUpdate"},
|
|
82
|
-
{ "$ref": "#/definitions/oauthRegister"},
|
|
83
|
-
{ "$ref": "#/definitions/oauthUpdate"},
|
|
84
|
-
{ "$ref": "#/definitions/dcrRegister"},
|
|
85
|
-
{ "$ref": "#/definitions/devChannelCreate"},
|
|
86
|
-
{ "$ref": "#/definitions/devChannelInstallApp"},
|
|
87
|
-
{ "$ref": "#/definitions/typeSpecCompile"},
|
|
88
|
-
{ "$ref": "#/definitions/copilotAgentPublish"}
|
|
79
|
+
{ "$ref": "#/definitions/apiKeyRegister" },
|
|
80
|
+
{ "$ref": "#/definitions/azureStaticWebAppGetDeploymentKey" },
|
|
81
|
+
{ "$ref": "#/definitions/apiKeyUpdate" },
|
|
82
|
+
{ "$ref": "#/definitions/oauthRegister" },
|
|
83
|
+
{ "$ref": "#/definitions/oauthUpdate" },
|
|
84
|
+
{ "$ref": "#/definitions/dcrRegister" },
|
|
85
|
+
{ "$ref": "#/definitions/devChannelCreate" },
|
|
86
|
+
{ "$ref": "#/definitions/devChannelInstallApp" },
|
|
87
|
+
{ "$ref": "#/definitions/typeSpecCompile" },
|
|
88
|
+
{ "$ref": "#/definitions/copilotAgentPublish" }
|
|
89
89
|
]
|
|
90
90
|
}
|
|
91
91
|
},
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"aadAppCreateWithSecret": {
|
|
116
116
|
"type": "object",
|
|
117
117
|
"additionalProperties": false,
|
|
118
|
-
"allOf": [
|
|
118
|
+
"allOf": [{ "$ref": "#/definitions/aadAppCreateBase" }],
|
|
119
119
|
"required": ["with", "writeToEnvironmentFile"],
|
|
120
120
|
"properties": {
|
|
121
121
|
"name": {},
|
|
@@ -144,7 +144,12 @@
|
|
|
144
144
|
"signInAudience": {
|
|
145
145
|
"type": "string",
|
|
146
146
|
"description": "Specifies what Microsoft accounts are supported for the current application.",
|
|
147
|
-
"enum": [
|
|
147
|
+
"enum": [
|
|
148
|
+
"AzureADMyOrg",
|
|
149
|
+
"AzureADMultipleOrgs",
|
|
150
|
+
"AzureADandPersonalMicrosoftAccount",
|
|
151
|
+
"PersonalMicrosoftAccount"
|
|
152
|
+
]
|
|
148
153
|
},
|
|
149
154
|
"serviceManagementReference": {
|
|
150
155
|
"type": "string",
|
|
@@ -197,7 +202,7 @@
|
|
|
197
202
|
},
|
|
198
203
|
"aadAppCreateWithoutSecret": {
|
|
199
204
|
"type": "object",
|
|
200
|
-
"allOf": [
|
|
205
|
+
"allOf": [{ "$ref": "#/definitions/aadAppCreateBase" }],
|
|
201
206
|
"required": ["with", "writeToEnvironmentFile"],
|
|
202
207
|
"additionalProperties": false,
|
|
203
208
|
"properties": {
|
|
@@ -227,7 +232,12 @@
|
|
|
227
232
|
"signInAudience": {
|
|
228
233
|
"type": "string",
|
|
229
234
|
"description": "Specifies what Microsoft accounts are supported for the current application.",
|
|
230
|
-
"enum": [
|
|
235
|
+
"enum": [
|
|
236
|
+
"AzureADMyOrg",
|
|
237
|
+
"AzureADMultipleOrgs",
|
|
238
|
+
"AzureADandPersonalMicrosoftAccount",
|
|
239
|
+
"PersonalMicrosoftAccount"
|
|
240
|
+
]
|
|
231
241
|
},
|
|
232
242
|
"serviceManagementReference": {
|
|
233
243
|
"type": "string",
|
|
@@ -1049,7 +1059,7 @@
|
|
|
1049
1059
|
"$ref": "#/definitions/secretEnvVarName"
|
|
1050
1060
|
}
|
|
1051
1061
|
}
|
|
1052
|
-
}
|
|
1062
|
+
}
|
|
1053
1063
|
}
|
|
1054
1064
|
},
|
|
1055
1065
|
"botframeworkCreate": {
|
|
@@ -1104,7 +1114,10 @@
|
|
|
1104
1114
|
"type": "array",
|
|
1105
1115
|
"description": "the channel(s) to be enabled of the bot",
|
|
1106
1116
|
"items": {
|
|
1107
|
-
"oneOf": [
|
|
1117
|
+
"oneOf": [
|
|
1118
|
+
{ "$ref": "#/definitions/MsTeamsChannel" },
|
|
1119
|
+
{ "$ref": "#/definitions/M365ExtensionsChannel" }
|
|
1120
|
+
]
|
|
1108
1121
|
}
|
|
1109
1122
|
}
|
|
1110
1123
|
}
|
|
@@ -1281,9 +1294,7 @@
|
|
|
1281
1294
|
"type": "object",
|
|
1282
1295
|
"description": "Install Azure Functions Core Tools. This will output environment variable specified by `funcPath` to current environment's .env file.",
|
|
1283
1296
|
"additionalProperties": false,
|
|
1284
|
-
"required": [
|
|
1285
|
-
"version"
|
|
1286
|
-
],
|
|
1297
|
+
"required": ["version"],
|
|
1287
1298
|
"properties": {
|
|
1288
1299
|
"version": {
|
|
1289
1300
|
"oneOf": [
|
|
@@ -1557,7 +1568,7 @@
|
|
|
1557
1568
|
"description": "redirect stdout and stderr to a file"
|
|
1558
1569
|
}
|
|
1559
1570
|
}
|
|
1560
|
-
}
|
|
1571
|
+
}
|
|
1561
1572
|
}
|
|
1562
1573
|
},
|
|
1563
1574
|
"relativePath": {
|
|
@@ -1841,6 +1852,10 @@
|
|
|
1841
1852
|
"type": "string",
|
|
1842
1853
|
"description": "Token exchange method type, can be BasicAuthorizationHeader or PostRequestBody. BasicAuthorizationHeader: token exchange via HTTP headers, PostRequestBody: token exchange via request body. Default is BasicAuthorizationHeader.",
|
|
1843
1854
|
"enum": ["BasicAuthorizationHeader", "PostRequestBody"]
|
|
1855
|
+
},
|
|
1856
|
+
"includePersonalMicrosoftAccounts": {
|
|
1857
|
+
"type": "boolean",
|
|
1858
|
+
"description": "Whether to allow personal Microsoft accounts in addition to work or school accounts. If omitted when registering, only work or school accounts are allowed."
|
|
1844
1859
|
}
|
|
1845
1860
|
}
|
|
1846
1861
|
},
|
|
@@ -1941,6 +1956,10 @@
|
|
|
1941
1956
|
"type": "string",
|
|
1942
1957
|
"description": "Token exchange method type, can be BasicAuthorizationHeader or PostRequestBody. BasicAuthorizationHeader: token exchange via HTTP headers, PostRequestBody: token exchange via request body. Default is BasicAuthorizationHeader.",
|
|
1943
1958
|
"enum": ["BasicAuthorizationHeader", "PostRequestBody"]
|
|
1959
|
+
},
|
|
1960
|
+
"includePersonalMicrosoftAccounts": {
|
|
1961
|
+
"type": "boolean",
|
|
1962
|
+
"description": "Whether to allow personal Microsoft accounts in addition to work or school accounts. If omitted during an update, the existing account support remains unchanged."
|
|
1944
1963
|
}
|
|
1945
1964
|
}
|
|
1946
1965
|
}
|
|
@@ -1961,7 +1980,7 @@
|
|
|
1961
1980
|
"type": "object",
|
|
1962
1981
|
"additionalProperties": false,
|
|
1963
1982
|
"description": "DCR registration parameters. Supply mcpResourceUrl for protected resource metadata discovery, wellKnownAuthorizationServer to pin authorization-server metadata, or both.",
|
|
1964
|
-
"required": ["name"
|
|
1983
|
+
"required": ["name"],
|
|
1965
1984
|
"anyOf": [
|
|
1966
1985
|
{ "required": ["mcpResourceUrl"] },
|
|
1967
1986
|
{ "required": ["wellKnownAuthorizationServer"] }
|
|
@@ -1978,24 +1997,22 @@
|
|
|
1978
1997
|
"mcpResourceUrl": {
|
|
1979
1998
|
"type": "string",
|
|
1980
1999
|
"minLength": 1,
|
|
1981
|
-
"description": "HTTPS URL of the actual MCP endpoint, including its path. Recommended for new configurations. TGS probes this endpoint and RFC 9728 well-known locations for protected resource metadata (PRM),
|
|
2000
|
+
"description": "HTTPS URL of the actual MCP endpoint, including its path. Recommended for new configurations. TGS probes this endpoint and RFC 9728 well-known locations for protected resource metadata (PRM) to discover resource and scopes_supported. Unless wellKnownAuthorizationServer is supplied, TGS uses PRM's first authorization_servers entry. This is not the PRM document URL; the OAuth resource indicator comes from PRM's resource, not directly from this endpoint URL. Optional when wellKnownAuthorizationServer is supplied."
|
|
1982
2001
|
},
|
|
1983
2002
|
"wellKnownAuthorizationServer": {
|
|
1984
2003
|
"type": "string",
|
|
1985
2004
|
"minLength": 1,
|
|
1986
|
-
"description": "
|
|
2005
|
+
"description": "HTTPS URL of the authorization server's RFC 8414 metadata document, supported for existing configurations and explicit authorization-server selection. Optional when mcpResourceUrl is supplied. When present, this URL takes precedence for authorization-server metadata resolution. An authorization server can serve multiple resources, so this metadata alone cannot identify the intended OAuth resource. Without mcpResourceUrl, supply resource explicitly if the service requires it. If mcpResourceUrl is also supplied, TGS attempts best-effort PRM discovery for resource and scopes; failure of that enrichment does not fail registration."
|
|
1987
2006
|
},
|
|
1988
2007
|
"resource": {
|
|
1989
2008
|
"type": "string",
|
|
1990
2009
|
"minLength": 1,
|
|
1991
|
-
"description": "Optional explicit OAuth resource indicator: an absolute URI without a fragment. Overrides PRM's resource value.
|
|
2010
|
+
"description": "Optional explicit OAuth resource indicator: an absolute URI without a fragment. Overrides PRM's resource value. Omit this field when mcpResourceUrl enables PRM discovery of the intended resource; otherwise supply it explicitly if the service requires a resource indicator. It is not inferred from authorization-server metadata or copied from the MCP endpoint or target URL. If neither an explicit value nor PRM supplies a resource, no resource indicator is sent. TGS sends the selected resource in authorization, token and refresh-token requests."
|
|
1992
2011
|
},
|
|
1993
2012
|
"targetUrlsShouldStartWith": {
|
|
1994
2013
|
"type": "array",
|
|
1995
2014
|
"description": "Required MCP target URL array. TGS requires exactly one valid HTTPS URL; omission, a string, an empty array or multiple entries is rejected. New configurations use the actual MCP endpoint. This field does not set the OAuth resource indicator.",
|
|
1996
|
-
"
|
|
1997
|
-
"maxItems": 1,
|
|
1998
|
-
"items": { "type": "string", "minLength": 1 }
|
|
2015
|
+
"items": { "type": "string" }
|
|
1999
2016
|
},
|
|
2000
2017
|
"applicableToApps": {
|
|
2001
2018
|
"type": "string",
|
|
@@ -2006,6 +2023,10 @@
|
|
|
2006
2023
|
"type": "string",
|
|
2007
2024
|
"description": "Tenants permitted to use this configuration: HomeTenant (default) or AnyTenant.",
|
|
2008
2025
|
"enum": ["HomeTenant", "AnyTenant"]
|
|
2026
|
+
},
|
|
2027
|
+
"includePersonalMicrosoftAccounts": {
|
|
2028
|
+
"type": "boolean",
|
|
2029
|
+
"description": "Whether to allow personal Microsoft accounts in addition to work or school accounts. If omitted when registering, only work or school accounts are allowed."
|
|
2009
2030
|
}
|
|
2010
2031
|
}
|
|
2011
2032
|
},
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/templates/metadata.zip
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|