@microsoft/m365agentstoolkit-cli 1.1.19-alpha.46aaa82df3.0 → 1.1.19-alpha.525ef7228a.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 (46) hide show
  1. package/README.md +9 -0
  2. package/json-schemas/copilot/declarative-agent/v1.9/schema.json +1356 -0
  3. package/json-schemas/teams/vDevPreview/MicrosoftTeams.schema.json +1869 -1362
  4. package/lib/index.js +8 -2
  5. package/lib/index.js.map +2 -2
  6. package/package.json +5 -5
  7. package/resource/package.nls.cs.json +79 -71
  8. package/resource/package.nls.de.json +79 -71
  9. package/resource/package.nls.es.json +79 -71
  10. package/resource/package.nls.fr.json +79 -71
  11. package/resource/package.nls.it.json +79 -71
  12. package/resource/package.nls.ja.json +79 -71
  13. package/resource/package.nls.json +25 -62
  14. package/resource/package.nls.ko.json +79 -71
  15. package/resource/package.nls.pl.json +79 -71
  16. package/resource/package.nls.pt-BR.json +79 -71
  17. package/resource/package.nls.ru.json +79 -71
  18. package/resource/package.nls.tr.json +79 -71
  19. package/resource/package.nls.zh-Hans.json +79 -71
  20. package/resource/package.nls.zh-Hant.json +79 -71
  21. package/resource/yaml-schema/1.0.0/yaml.schema.json +5 -2
  22. package/resource/yaml-schema/1.1.0/yaml.schema.json +5 -2
  23. package/resource/yaml-schema/v1.10/yaml.schema.json +5 -2
  24. package/resource/yaml-schema/v1.11/yaml.schema.json +5 -2
  25. package/resource/yaml-schema/v1.12/yaml.schema.json +5 -2
  26. package/resource/yaml-schema/v1.13/yaml.schema.json +106 -31
  27. package/resource/yaml-schema/v1.2/yaml.schema.json +5 -2
  28. package/resource/yaml-schema/v1.3/yaml.schema.json +5 -2
  29. package/resource/yaml-schema/v1.4/yaml.schema.json +5 -2
  30. package/resource/yaml-schema/v1.5/yaml.schema.json +5 -2
  31. package/resource/yaml-schema/v1.6/yaml.schema.json +5 -2
  32. package/resource/yaml-schema/v1.7/yaml.schema.json +5 -2
  33. package/resource/yaml-schema/v1.8/yaml.schema.json +5 -2
  34. package/resource/yaml-schema/v1.9/yaml.schema.json +5 -2
  35. package/resource/yaml-schema/yaml.schema.json +106 -31
  36. package/templates/fallback/common.zip +0 -0
  37. package/templates/fallback/csharp.zip +0 -0
  38. package/templates/fallback/js.zip +0 -0
  39. package/templates/fallback/python.zip +0 -0
  40. package/templates/fallback/ts.zip +0 -0
  41. package/templates/metadata.zip +0 -0
  42. package/templates/ui/tdpNode.json +1 -2
  43. package/templates/ui/wizardNode.json +1 -2
  44. package/templates/v4/create-selector.json +1 -2
  45. package/templates/v4/templates-metadata.zip +0 -0
  46. 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,17 @@
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/dcrUpdate" },
86
+ { "$ref": "#/definitions/devChannelCreate" },
87
+ { "$ref": "#/definitions/devChannelInstallApp" },
88
+ { "$ref": "#/definitions/typeSpecCompile" },
89
+ { "$ref": "#/definitions/copilotAgentPublish" }
89
90
  ]
90
91
  }
91
92
  },
@@ -115,7 +116,7 @@
115
116
  "aadAppCreateWithSecret": {
116
117
  "type": "object",
117
118
  "additionalProperties": false,
118
- "allOf": [ { "$ref": "#/definitions/aadAppCreateBase" } ],
119
+ "allOf": [{ "$ref": "#/definitions/aadAppCreateBase" }],
119
120
  "required": ["with", "writeToEnvironmentFile"],
120
121
  "properties": {
121
122
  "name": {},
@@ -144,7 +145,12 @@
144
145
  "signInAudience": {
145
146
  "type": "string",
146
147
  "description": "Specifies what Microsoft accounts are supported for the current application.",
147
- "enum": ["AzureADMyOrg", "AzureADMultipleOrgs", "AzureADandPersonalMicrosoftAccount", "PersonalMicrosoftAccount"]
148
+ "enum": [
149
+ "AzureADMyOrg",
150
+ "AzureADMultipleOrgs",
151
+ "AzureADandPersonalMicrosoftAccount",
152
+ "PersonalMicrosoftAccount"
153
+ ]
148
154
  },
149
155
  "serviceManagementReference": {
150
156
  "type": "string",
@@ -197,7 +203,7 @@
197
203
  },
198
204
  "aadAppCreateWithoutSecret": {
199
205
  "type": "object",
200
- "allOf": [ { "$ref": "#/definitions/aadAppCreateBase" } ],
206
+ "allOf": [{ "$ref": "#/definitions/aadAppCreateBase" }],
201
207
  "required": ["with", "writeToEnvironmentFile"],
202
208
  "additionalProperties": false,
203
209
  "properties": {
@@ -227,7 +233,12 @@
227
233
  "signInAudience": {
228
234
  "type": "string",
229
235
  "description": "Specifies what Microsoft accounts are supported for the current application.",
230
- "enum": ["AzureADMyOrg", "AzureADMultipleOrgs", "AzureADandPersonalMicrosoftAccount", "PersonalMicrosoftAccount"]
236
+ "enum": [
237
+ "AzureADMyOrg",
238
+ "AzureADMultipleOrgs",
239
+ "AzureADandPersonalMicrosoftAccount",
240
+ "PersonalMicrosoftAccount"
241
+ ]
231
242
  },
232
243
  "serviceManagementReference": {
233
244
  "type": "string",
@@ -726,7 +737,7 @@
726
737
  },
727
738
  "uses": {
728
739
  "type": "string",
729
- "description": "This action will create a new app for you if TEAMS_APP_ID environment variable is empty or the app with TEAMS_APP_ID is not found from Developer Portal. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
740
+ "description": "Creates or reuses an app using the configured ID variable, APP_ID, or TEAMS_APP_ID. Map exactly one output key: appId or teamsAppId. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
730
741
  "const": "teamsApp/create"
731
742
  },
732
743
  "with": {
@@ -745,8 +756,11 @@
745
756
  "type": "object",
746
757
  "additionalProperties": false,
747
758
  "description": "Write environment variables to environment file",
748
- "required": ["teamsAppId"],
759
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
749
760
  "properties": {
761
+ "appId": {
762
+ "$ref": "#/definitions/envVarName"
763
+ },
750
764
  "teamsAppId": {
751
765
  "$ref": "#/definitions/envVarName"
752
766
  },
@@ -1049,7 +1063,7 @@
1049
1063
  "$ref": "#/definitions/secretEnvVarName"
1050
1064
  }
1051
1065
  }
1052
- }
1066
+ }
1053
1067
  }
1054
1068
  },
1055
1069
  "botframeworkCreate": {
@@ -1104,7 +1118,10 @@
1104
1118
  "type": "array",
1105
1119
  "description": "the channel(s) to be enabled of the bot",
1106
1120
  "items": {
1107
- "oneOf": [{ "$ref": "#/definitions/MsTeamsChannel" }, { "$ref": "#/definitions/M365ExtensionsChannel" }]
1121
+ "oneOf": [
1122
+ { "$ref": "#/definitions/MsTeamsChannel" },
1123
+ { "$ref": "#/definitions/M365ExtensionsChannel" }
1124
+ ]
1108
1125
  }
1109
1126
  }
1110
1127
  }
@@ -1281,9 +1298,7 @@
1281
1298
  "type": "object",
1282
1299
  "description": "Install Azure Functions Core Tools. This will output environment variable specified by `funcPath` to current environment's .env file.",
1283
1300
  "additionalProperties": false,
1284
- "required": [
1285
- "version"
1286
- ],
1301
+ "required": ["version"],
1287
1302
  "properties": {
1288
1303
  "version": {
1289
1304
  "oneOf": [
@@ -1557,7 +1572,7 @@
1557
1572
  "description": "redirect stdout and stderr to a file"
1558
1573
  }
1559
1574
  }
1560
- }
1575
+ }
1561
1576
  }
1562
1577
  },
1563
1578
  "relativePath": {
@@ -1841,6 +1856,10 @@
1841
1856
  "type": "string",
1842
1857
  "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
1858
  "enum": ["BasicAuthorizationHeader", "PostRequestBody"]
1859
+ },
1860
+ "includePersonalMicrosoftAccounts": {
1861
+ "type": "boolean",
1862
+ "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
1863
  }
1845
1864
  }
1846
1865
  },
@@ -1941,6 +1960,10 @@
1941
1960
  "type": "string",
1942
1961
  "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
1962
  "enum": ["BasicAuthorizationHeader", "PostRequestBody"]
1963
+ },
1964
+ "includePersonalMicrosoftAccounts": {
1965
+ "type": "boolean",
1966
+ "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
1967
  }
1945
1968
  }
1946
1969
  }
@@ -1961,7 +1984,7 @@
1961
1984
  "type": "object",
1962
1985
  "additionalProperties": false,
1963
1986
  "description": "DCR registration parameters. Supply mcpResourceUrl for protected resource metadata discovery, wellKnownAuthorizationServer to pin authorization-server metadata, or both.",
1964
- "required": ["name", "targetUrlsShouldStartWith"],
1987
+ "required": ["name"],
1965
1988
  "anyOf": [
1966
1989
  { "required": ["mcpResourceUrl"] },
1967
1990
  { "required": ["wellKnownAuthorizationServer"] }
@@ -1978,24 +2001,22 @@
1978
2001
  "mcpResourceUrl": {
1979
2002
  "type": "string",
1980
2003
  "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), then uses its first authorization_servers entry, resource and scopes_supported. This is not the PRM document URL and is not necessarily the OAuth resource indicator. Optional when wellKnownAuthorizationServer is supplied."
2004
+ "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
2005
  },
1983
2006
  "wellKnownAuthorizationServer": {
1984
2007
  "type": "string",
1985
2008
  "minLength": 1,
1986
- "description": "Legacy/pinning HTTPS URL of the authorization server's RFC 8414 metadata document. Optional when mcpResourceUrl is supplied. When present, this URL takes precedence for authorization-server metadata resolution. If mcpResourceUrl is also supplied, TGS still attempts best-effort PRM discovery for resource and scopes; failure of that enrichment does not fail registration."
2009
+ "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
2010
  },
1988
2011
  "resource": {
1989
2012
  "type": "string",
1990
2013
  "minLength": 1,
1991
- "description": "Optional explicit OAuth resource indicator: an absolute URI without a fragment. Overrides PRM's resource value. Normally omit this field and let PRM determine the resource; it is not inferred from mcpResourceUrl. TGS sends the selected resource in authorization, token and refresh-token requests."
2014
+ "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
2015
  },
1993
2016
  "targetUrlsShouldStartWith": {
1994
2017
  "type": "array",
1995
2018
  "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
- "minItems": 1,
1997
- "maxItems": 1,
1998
- "items": { "type": "string", "minLength": 1 }
2019
+ "items": { "type": "string" }
1999
2020
  },
2000
2021
  "applicableToApps": {
2001
2022
  "type": "string",
@@ -2006,6 +2027,10 @@
2006
2027
  "type": "string",
2007
2028
  "description": "Tenants permitted to use this configuration: HomeTenant (default) or AnyTenant.",
2008
2029
  "enum": ["HomeTenant", "AnyTenant"]
2030
+ },
2031
+ "includePersonalMicrosoftAccounts": {
2032
+ "type": "boolean",
2033
+ "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
2034
  }
2010
2035
  }
2011
2036
  },
@@ -2023,6 +2048,56 @@
2023
2048
  }
2024
2049
  }
2025
2050
  },
2051
+ "dcrUpdate": {
2052
+ "type": "object",
2053
+ "additionalProperties": false,
2054
+ "description": "Update supported policy fields of an existing Dynamic Client Registration (DCR) configuration without changing its configuration ID. Omitted settings remain unchanged.",
2055
+ "required": ["uses", "with"],
2056
+ "properties": {
2057
+ "uses": {
2058
+ "type": "string",
2059
+ "description": "Update an existing DCR configuration.",
2060
+ "const": "dcr/update"
2061
+ },
2062
+ "with": {
2063
+ "type": "object",
2064
+ "additionalProperties": false,
2065
+ "description": "DCR update parameters. Only configurationId is required; omitted settings are preserved without applying registration defaults. Name, MCP endpoint, metadata URL, and target URLs cannot be updated.",
2066
+ "required": ["configurationId"],
2067
+ "properties": {
2068
+ "configurationId": {
2069
+ "type": "string",
2070
+ "minLength": 1,
2071
+ "description": "ID of the existing DCR authentication configuration to update. This is not an OAuth client ID."
2072
+ },
2073
+ "appId": {
2074
+ "type": "string",
2075
+ "minLength": 1,
2076
+ "description": "Microsoft 365 app ID used when the effective applicableToApps setting is SpecificApp. If omitted, the existing binding is preserved unless applicableToApps explicitly changes to AnyApp."
2077
+ },
2078
+ "resource": {
2079
+ "type": "string",
2080
+ "minLength": 1,
2081
+ "description": "Replacement explicit OAuth resource indicator: an absolute URI without a fragment. Overrides the discovered resource, as in dcr/register. If omitted, the existing value is preserved; it is not inferred from another URL."
2082
+ },
2083
+ "applicableToApps": {
2084
+ "type": "string",
2085
+ "description": "Applications permitted to use the configuration: SpecificApp or AnyApp. If omitted, the existing mode is preserved. SpecificApp requires a supplied or existing appId.",
2086
+ "enum": ["SpecificApp", "AnyApp"]
2087
+ },
2088
+ "targetAudience": {
2089
+ "type": "string",
2090
+ "description": "Tenants permitted to use the configuration: HomeTenant or AnyTenant. If omitted, the existing tenant scope is preserved. Independent of includePersonalMicrosoftAccounts.",
2091
+ "enum": ["HomeTenant", "AnyTenant"]
2092
+ },
2093
+ "includePersonalMicrosoftAccounts": {
2094
+ "type": "boolean",
2095
+ "description": "Whether to allow personal Microsoft accounts in addition to work or school accounts. True enables personal accounts; false disables them while retaining work or school accounts. If omitted, existing account support remains unchanged."
2096
+ }
2097
+ }
2098
+ }
2099
+ }
2100
+ },
2026
2101
  "devChannelCreate": {
2027
2102
  "type": "object",
2028
2103
  "additionalProperties": false,
@@ -684,7 +684,7 @@
684
684
  },
685
685
  "uses": {
686
686
  "type": "string",
687
- "description": "This action will create a new Teams app for you if TEAMS_APP_ID environment variable is empty or the app with TEAMS_APP_ID is not found from Teams Developer Portal. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
687
+ "description": "Creates or reuses an app using the configured ID variable, APP_ID, or TEAMS_APP_ID. Map exactly one output key: appId or teamsAppId. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
688
688
  "const": "teamsApp/create"
689
689
  },
690
690
  "with": {
@@ -703,8 +703,11 @@
703
703
  "type": "object",
704
704
  "additionalProperties": false,
705
705
  "description": "Write environment variables to environment file",
706
- "required": ["teamsAppId"],
706
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
707
707
  "properties": {
708
+ "appId": {
709
+ "$ref": "#/definitions/envVarName"
710
+ },
708
711
  "teamsAppId": {
709
712
  "$ref": "#/definitions/envVarName"
710
713
  }
@@ -685,7 +685,7 @@
685
685
  },
686
686
  "uses": {
687
687
  "type": "string",
688
- "description": "This action will create a new Teams app for you if TEAMS_APP_ID environment variable is empty or the app with TEAMS_APP_ID is not found from Teams Developer Portal. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
688
+ "description": "Creates or reuses an app using the configured ID variable, APP_ID, or TEAMS_APP_ID. Map exactly one output key: appId or teamsAppId. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
689
689
  "const": "teamsApp/create"
690
690
  },
691
691
  "with": {
@@ -704,8 +704,11 @@
704
704
  "type": "object",
705
705
  "additionalProperties": false,
706
706
  "description": "Write environment variables to environment file",
707
- "required": ["teamsAppId"],
707
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
708
708
  "properties": {
709
+ "appId": {
710
+ "$ref": "#/definitions/envVarName"
711
+ },
709
712
  "teamsAppId": {
710
713
  "$ref": "#/definitions/envVarName"
711
714
  }
@@ -686,7 +686,7 @@
686
686
  },
687
687
  "uses": {
688
688
  "type": "string",
689
- "description": "This action will create a new Teams app for you if TEAMS_APP_ID environment variable is empty or the app with TEAMS_APP_ID is not found from Teams Developer Portal. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
689
+ "description": "Creates or reuses an app using the configured ID variable, APP_ID, or TEAMS_APP_ID. Map exactly one output key: appId or teamsAppId. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
690
690
  "const": "teamsApp/create"
691
691
  },
692
692
  "with": {
@@ -705,8 +705,11 @@
705
705
  "type": "object",
706
706
  "additionalProperties": false,
707
707
  "description": "Write environment variables to environment file",
708
- "required": ["teamsAppId"],
708
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
709
709
  "properties": {
710
+ "appId": {
711
+ "$ref": "#/definitions/envVarName"
712
+ },
710
713
  "teamsAppId": {
711
714
  "$ref": "#/definitions/envVarName"
712
715
  }
@@ -706,7 +706,7 @@
706
706
  },
707
707
  "uses": {
708
708
  "type": "string",
709
- "description": "This action will create a new Teams app for you if TEAMS_APP_ID environment variable is empty or the app with TEAMS_APP_ID is not found from Teams Developer Portal. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
709
+ "description": "Creates or reuses an app using the configured ID variable, APP_ID, or TEAMS_APP_ID. Map exactly one output key: appId or teamsAppId. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
710
710
  "const": "teamsApp/create"
711
711
  },
712
712
  "with": {
@@ -725,8 +725,11 @@
725
725
  "type": "object",
726
726
  "additionalProperties": false,
727
727
  "description": "Write environment variables to environment file",
728
- "required": ["teamsAppId"],
728
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
729
729
  "properties": {
730
+ "appId": {
731
+ "$ref": "#/definitions/envVarName"
732
+ },
730
733
  "teamsAppId": {
731
734
  "$ref": "#/definitions/envVarName"
732
735
  }
@@ -707,7 +707,7 @@
707
707
  },
708
708
  "uses": {
709
709
  "type": "string",
710
- "description": "This action will create a new Teams app for you if TEAMS_APP_ID environment variable is empty or the app with TEAMS_APP_ID is not found from Teams Developer Portal. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
710
+ "description": "Creates or reuses an app using the configured ID variable, APP_ID, or TEAMS_APP_ID. Map exactly one output key: appId or teamsAppId. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
711
711
  "const": "teamsApp/create"
712
712
  },
713
713
  "with": {
@@ -726,8 +726,11 @@
726
726
  "type": "object",
727
727
  "additionalProperties": false,
728
728
  "description": "Write environment variables to environment file",
729
- "required": ["teamsAppId"],
729
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
730
730
  "properties": {
731
+ "appId": {
732
+ "$ref": "#/definitions/envVarName"
733
+ },
731
734
  "teamsAppId": {
732
735
  "$ref": "#/definitions/envVarName"
733
736
  }
@@ -707,7 +707,7 @@
707
707
  },
708
708
  "uses": {
709
709
  "type": "string",
710
- "description": "This action will create a new Teams app for you if TEAMS_APP_ID environment variable is empty or the app with TEAMS_APP_ID is not found from Teams Developer Portal. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
710
+ "description": "Creates or reuses an app using the configured ID variable, APP_ID, or TEAMS_APP_ID. Map exactly one output key: appId or teamsAppId. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
711
711
  "const": "teamsApp/create"
712
712
  },
713
713
  "with": {
@@ -726,8 +726,11 @@
726
726
  "type": "object",
727
727
  "additionalProperties": false,
728
728
  "description": "Write environment variables to environment file",
729
- "required": ["teamsAppId"],
729
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
730
730
  "properties": {
731
+ "appId": {
732
+ "$ref": "#/definitions/envVarName"
733
+ },
731
734
  "teamsAppId": {
732
735
  "$ref": "#/definitions/envVarName"
733
736
  }
@@ -715,7 +715,7 @@
715
715
  },
716
716
  "uses": {
717
717
  "type": "string",
718
- "description": "This action will create a new app for you if TEAMS_APP_ID environment variable is empty or the app with TEAMS_APP_ID is not found from Developer Portal. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
718
+ "description": "Creates or reuses an app using the configured ID variable, APP_ID, or TEAMS_APP_ID. Map exactly one output key: appId or teamsAppId. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
719
719
  "const": "teamsApp/create"
720
720
  },
721
721
  "with": {
@@ -734,8 +734,11 @@
734
734
  "type": "object",
735
735
  "additionalProperties": false,
736
736
  "description": "Write environment variables to environment file",
737
- "required": ["teamsAppId"],
737
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
738
738
  "properties": {
739
+ "appId": {
740
+ "$ref": "#/definitions/envVarName"
741
+ },
739
742
  "teamsAppId": {
740
743
  "$ref": "#/definitions/envVarName"
741
744
  }
@@ -715,7 +715,7 @@
715
715
  },
716
716
  "uses": {
717
717
  "type": "string",
718
- "description": "This action will create a new app for you if TEAMS_APP_ID environment variable is empty or the app with TEAMS_APP_ID is not found from Developer Portal. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
718
+ "description": "Creates or reuses an app using the configured ID variable, APP_ID, or TEAMS_APP_ID. Map exactly one output key: appId or teamsAppId. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
719
719
  "const": "teamsApp/create"
720
720
  },
721
721
  "with": {
@@ -734,8 +734,11 @@
734
734
  "type": "object",
735
735
  "additionalProperties": false,
736
736
  "description": "Write environment variables to environment file",
737
- "required": ["teamsAppId"],
737
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
738
738
  "properties": {
739
+ "appId": {
740
+ "$ref": "#/definitions/envVarName"
741
+ },
739
742
  "teamsAppId": {
740
743
  "$ref": "#/definitions/envVarName"
741
744
  }