@microsoft/m365agentstoolkit-cli 1.1.19-alpha.36e30da2f6.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 (44) hide show
  1. package/json-schemas/copilot/declarative-agent/v1.9/schema.json +1356 -0
  2. package/lib/index.js +2 -2
  3. package/lib/index.js.map +2 -2
  4. package/package.json +4 -4
  5. package/resource/package.nls.cs.json +69 -52
  6. package/resource/package.nls.de.json +69 -52
  7. package/resource/package.nls.es.json +70 -53
  8. package/resource/package.nls.fr.json +70 -53
  9. package/resource/package.nls.it.json +69 -52
  10. package/resource/package.nls.ja.json +69 -52
  11. package/resource/package.nls.json +10 -4
  12. package/resource/package.nls.ko.json +70 -53
  13. package/resource/package.nls.pl.json +69 -52
  14. package/resource/package.nls.pt-BR.json +69 -52
  15. package/resource/package.nls.ru.json +69 -52
  16. package/resource/package.nls.tr.json +69 -52
  17. package/resource/package.nls.zh-Hans.json +69 -52
  18. package/resource/package.nls.zh-Hant.json +69 -52
  19. package/resource/yaml-schema/1.0.0/yaml.schema.json +5 -2
  20. package/resource/yaml-schema/1.1.0/yaml.schema.json +5 -2
  21. package/resource/yaml-schema/v1.10/yaml.schema.json +5 -2
  22. package/resource/yaml-schema/v1.11/yaml.schema.json +5 -2
  23. package/resource/yaml-schema/v1.12/yaml.schema.json +5 -2
  24. package/resource/yaml-schema/v1.13/yaml.schema.json +56 -2
  25. package/resource/yaml-schema/v1.2/yaml.schema.json +5 -2
  26. package/resource/yaml-schema/v1.3/yaml.schema.json +5 -2
  27. package/resource/yaml-schema/v1.4/yaml.schema.json +5 -2
  28. package/resource/yaml-schema/v1.5/yaml.schema.json +5 -2
  29. package/resource/yaml-schema/v1.6/yaml.schema.json +5 -2
  30. package/resource/yaml-schema/v1.7/yaml.schema.json +5 -2
  31. package/resource/yaml-schema/v1.8/yaml.schema.json +5 -2
  32. package/resource/yaml-schema/v1.9/yaml.schema.json +5 -2
  33. package/resource/yaml-schema/yaml.schema.json +56 -2
  34. package/templates/fallback/common.zip +0 -0
  35. package/templates/fallback/csharp.zip +0 -0
  36. package/templates/fallback/js.zip +0 -0
  37. package/templates/fallback/python.zip +0 -0
  38. package/templates/fallback/ts.zip +0 -0
  39. package/templates/metadata.zip +0 -0
  40. package/templates/ui/tdpNode.json +1 -2
  41. package/templates/ui/wizardNode.json +1 -2
  42. package/templates/v4/create-selector.json +1 -2
  43. package/templates/v4/templates-metadata.zip +0 -0
  44. package/templates/v4/templates.zip +0 -0
@@ -10,7 +10,6 @@
10
10
  "core.addKnowledge.continue": "新增",
11
11
  "core.addSkill.confirm": "Microsoft 365 Agents Toolkit 會修改 \"%s\" 資料夾中的檔案,以新增 Agent 技能。為了避免遺失未預期的變更,請在繼續之前備份您的檔案或使用 Git 進行變更追蹤。",
12
12
  "core.addSkill.continue": "新增",
13
- "core.addSkill.featureFlagDisabled": "Agent skills are not enabled. Set the environment variable ATK_FRONTIER=true to enable this preview feature.",
14
13
  "core.featureFlaggedLabel.frontier": "%s (Frontier)",
15
14
  "core.setSensitivityLabel.confirm": "Teams 工具組會根據您提供的敏感度標籤來修改檔案 \"%s\"。為了避免遺失未預期的變更,請在繼續之前備份您的檔案或使用 Git 進行變更追蹤。",
16
15
  "core.setSensitivityLabel.continue": "設定",
@@ -195,7 +194,7 @@
195
194
  "error.apime.noExtraAPICanBeAdded": "無法新增 API,因為只支援 GET 和 POST 方法,最多只能有 5 個必要參數,而且沒有驗證。此外,未列出指令清單中定義的方法。",
196
195
  "error.copilot.noExtraAPICanBeAdded": "無法新增 API,因為不支援任何驗證。此外,未列出目前 OpenAPI 描述檔中定義的方法。",
197
196
  "error.m365.NotExtendedToM365Error": "無法將應用程式延伸至 Microsoft 365。使用 'teamsApp/extendToM365' 動作將應用程式延伸至 Microsoft 365。",
198
- "error.m365.SharedScopeAdvancedDADisabled": "已封鎖部署:因為租用戶權限設定而無法部署進階宣告式代理程式作爲「共用」範圍。更多資訊請參閱:[進階宣告式代理程式的已知限制](%s)",
197
+ "error.m365.AdvancedPackageUploadsDisabled": "Upload blocked by your tenant's Advanced package uploads setting. Ask your Microsoft 365 admin to allow uploads for your account by selecting All users or including you in Specific users or groups. Learn more: [Manage Advanced package uploads](%s)",
199
198
  "error.share.yamlConfigNotFound": "在 m365agents.yml 中找不到「佈建」或「部署」設定",
200
199
  "error.share.yamlConfigNotSupported": "共用功能僅支援 m365agents.yml 版本 v1.10 或更新版本,請遵循 [指南](https://github.com/OfficeDev/microsoft-365-agents-toolkit/wiki/Share-Declarative-Agents-with-Others#About-YAML-schema) 以升級並繼續。",
201
200
  "error.share.shareActionConfigNotFound": "在 m365agents.yml 中找不到 \"%s\" 動作設定",
@@ -347,13 +346,13 @@
347
346
  "core.createProjectQuestion.apiSpec.placeholder": "輸入 OpenAPI 文件 URL",
348
347
  "core.createProjectQuestion.apiSpecInputUrl.label": "輸入 OpenAPI 文件 URL",
349
348
  "core.createProjectQuestion.ApiKey": "在 OpenAPI 描述檔中輸入 API 金鑰",
350
- "core.addOpenApiActionQuestion.ApiKey.title": "API Key (optional)",
351
- "core.addOpenApiActionQuestion.IdentityProvider.title": "Select the identity provider for OpenAPI OAuth",
352
- "core.addOpenApiActionQuestion.IdentityProvider.description": "Identity provider for OpenAPI OAuth (optional; defaults to OAuth).",
353
- "core.addOpenApiActionQuestion.OAuthClientId.title": "OpenAPI OAuth client ID (optional)",
354
- "core.addOpenApiActionQuestion.OAuthClientSecret.title": "OpenAPI OAuth client secret (optional)",
355
- "core.addOpenApiActionQuestion.OAuthScopes.title": "OpenAPI OAuth scopes (optional)",
356
- "core.addOpenApiActionQuestion.OAuthPKCE.title": "Enable PKCE for OpenAPI OAuth?",
349
+ "core.addOpenApiActionQuestion.ApiKey.title": "API 索引鍵 (選用)",
350
+ "core.addOpenApiActionQuestion.IdentityProvider.title": "選取 OpenAPI OAuth 的身分識別提供者",
351
+ "core.addOpenApiActionQuestion.IdentityProvider.description": "OpenAPI OAuth 的身分識別提供者 (選用: 預設為 OAuth)。",
352
+ "core.addOpenApiActionQuestion.OAuthClientId.title": "OpenAPI OAuth 用戶端識別碼 (選用)",
353
+ "core.addOpenApiActionQuestion.OAuthClientSecret.title": "OpenAPI OAuth 用戶端密碼 (選用)",
354
+ "core.addOpenApiActionQuestion.OAuthScopes.title": "OpenAI OAuth 範圍 (選用)",
355
+ "core.addOpenApiActionQuestion.OAuthPKCE.title": "針對 OpenAPI OAuth 啟用 PKCE?",
357
356
  "core.createProjectQuestion.ApiKeyConfirm": "Microsoft 365 Agents 工具組會將 API 金鑰上傳至開發人員入口網站。Teams 用戶端會在執行階段使用該 API 金鑰來安全地存取您的 API。Microsoft 365 Agents 工具組不會儲存您的 API 金鑰。",
358
357
  "core.createProjectQuestion.OauthClientId": "OAuth 註冊用戶端識別碼",
359
358
  "core.createProjectQuestion.OauthClientId.placeholder": "OpenAPI 描述文件中 OAuth 註冊的輸入用戶端識別碼",
@@ -553,9 +552,9 @@
553
552
  "core.common.removeShareAccess.success": "已從使用者成功移除共用存取: %s。",
554
553
  "core.envFunc.unsupportedFile.errorLog": "\"%s\" 是無效的檔案。支援的格式: %s。",
555
554
  "core.envFunc.unsupportedFile.errorMessage": "無效的檔案。%s",
556
- "core.envFunc.fileReferenceOutsideManifestDirectory.errorLog.local": "The file reference resolves outside the manifest directory.\nReference: %s\nResolved path: %s\nManifest directory: %s\nMove the file into the manifest directory, then update the file reference in %s.",
557
- "core.envFunc.fileReferenceOutsideManifestDirectory.errorMessage": "The file reference must point to a file inside the manifest directory.",
558
- "core.envFunc.fileReferenceOutsideManifestDirectory.errorMessage.local": "The file reference \"%s\" resolves to \"%s\", outside the manifest directory \"%s\". Move the file into the manifest directory, then update the reference in %s.",
555
+ "core.envFunc.fileReferenceOutsideManifestDirectory.errorLog.local": "檔案參照解析至資訊清單目錄之外。\n參照: %s\n解析後的路徑: %s\n資訊清單目錄: %s\n請將檔案移至資訊清單目錄中,然後在 %s 中更新檔案參照。",
556
+ "core.envFunc.fileReferenceOutsideManifestDirectory.errorMessage": "檔案參照必須指向資訊清單目錄內的檔案。",
557
+ "core.envFunc.fileReferenceOutsideManifestDirectory.errorMessage.local": "檔案參照 \"%s\" 解析為資訊清單目錄 \"%s\" 外部的 \"%s\"。將檔案移至資訊清單目錄,然後更新 %s 中的參考。",
559
558
  "core.envFunc.unsupportedFunction.errorLog": "\"%s\" 是無效的函數。支援的函數: \"%s\"。",
560
559
  "core.envFunc.unsupportedFunction.errorMessage": "無效的函數。%s",
561
560
  "core.envFunc.invalidFunctionParameter.errorLog": "函數 \"%s\" 的參數 \"%s\" 無效。請提供由 '' 包裝的有效檔案路徑,或以 “${{}}” 格式包裝的環境變數名稱。",
@@ -839,14 +838,27 @@
839
838
  "error.teamsApp.validate.details": "檔案路徑: %s,標題: %s",
840
839
  "error.teamsApp.AppIdNotExistError": "開發人員入口網站中不存在識別碼為 %s 的應用程式。",
841
840
  "error.teamsApp.InvalidAppIdError": "應用程式識別碼 %s 無效,必須是 GUID。",
842
- "error.teamsApp.createAppPackage.invalidFile": "A referenced file is invalid. It must be in the same directory as manifest.json or a subdirectory of it.",
843
- "error.teamsApp.createAppPackage.invalidFile.local": "The file reference \"%s\" resolves to \"%s\", outside the manifest directory \"%s\". Move the file into the manifest directory, then update this reference in the manifest that contains it.",
841
+ "error.teamsApp.createAppPackage.invalidFile": "參照的檔案無效。檔案必須位於與 manifest.json 相同的目錄或其子目錄中。",
842
+ "error.teamsApp.createAppPackage.invalidFile.local": "檔案參照 \"%s\" 解析至 \"%s\",資訊清單目錄 \"%s\" 之外。請將檔案移至資訊清單目錄中,然後在包含此檔案的資訊清單中更新參照。",
844
843
  "error.teamsApp.createAppPackage.packageSizeExceeded": "產生的應用程式套件 (%s MB) 超過允許的大小上限 %s MB。建置之前先減少套件內容。",
845
- "error.teamsApp.createAppPackage.fileSystemError.telemetry": "The app package file operation failed. File system error: %s.",
846
- "error.teamsApp.createAppPackage.fileSystemError.display": "The app package file operation failed for '%s'. File system error: %s.",
844
+ "error.teamsApp.createAppPackage.fileSystemError.telemetry": "應用程式套件檔案作業失敗。檔案系統錯誤: %s。",
845
+ "error.teamsApp.createAppPackage.fileSystemError.display": "應用程式套件的檔案操作失敗,檔案為 '%s'。檔案系統錯誤: %s。",
847
846
  "error.m365.packageService.packageSizeExceeded": "應用程式套件 (%s MB) 超過支援的大小上限 (%s MB)。上傳之前先減少套件內容。",
848
- "error.m365.packageService.validationFailed": "The app package failed RAI validation. Resolve the following issues and try again:\n%s",
849
- "info.m365.packageService.raiValidationInProgress": "RAI validation is in progress. Waiting for completion...",
847
+ "error.m365.packageService.validationFailed": "應用程式套件未通過 RAI 驗證。解決下列問題,然後再試一次:\n%s",
848
+ "info.m365.packageService.raiValidationInProgress": "RAI 驗證進行中。正在等待完成...",
849
+ "error.m365.skills.invalidInventory": "技能檔案詳細目錄無效或包含衝突的路徑。檢查技能檔案,然後再試一次。",
850
+ "error.m365.skills.invalidPackage": "代理程式技能套件無效。請先檢查其資訊清單、技能路徑和 SKILL.md 中繼資料,然後再重試。",
851
+ "error.m365.skills.invalidResponse": "Microsoft 365 在準備或同步代理程式技能時傳回未預期的回應。代理程式套件未提交。",
852
+ "error.m365.skills.authorization": "技能同步未獲授權。先驗證已登入的帳戶、代理程式擁有者、Graph 權限,以及 SharePoint Embedded 的上線設定,然後再試一次。",
853
+ "error.m365.skills.conflict": "技能上傳與現有版本或其他編輯發生衝突。針對更新使用新的套件資訊清單版本,且不要同時編輯代理程式。未執行復原。",
854
+ "error.m365.skills.retryExhausted": "技能同步在重試次數用完前未完成。草稿已保留。先解決服務問題,再透過 ATK 略過-複製流程開始另一次上傳。",
855
+ "error.m365.skills.requestFailed": "技能上傳要求已失敗。其結果可能不確定。未執行復原。先檢查服務狀態,再進行另一次上傳; 如果已嘗試提交套件,請先解決其發佈狀態。",
856
+ "error.m365.skills.directoryFailed": "技能草稿無法準備。因為結果可能不確定,要求未重新執行。驗證 Microsoft 365 略過-複製支援,並確保目前沒有其他上傳正在執行,之後再試一次。",
857
+ "error.m365.skills.copyNotSupported": "Microsoft 365 回報針對技能草稿使用已發佈的內容複製。此預覽僅支援專門透過 ATK 略過-複製流程建立的草稿。先驗證草稿的歷程記錄,以及 Microsoft 365 的略過-複製支援,再進行另一次上傳。未同步任何技能檔案,也未提交代理程式套件。",
858
+ "info.m365.skills.preview": "增量技能上傳預覽僅支援專門透過 ATK 略過-複製流程建立的草稿。請勿使用來自舊版支援複製功能的 ATK 流程或其他用戶端所建立的草稿,也不要同時執行多個上傳。Microsoft 365 必須支援略過-複製。全新的草稿會上傳所有本機技能檔案。針對每個更新遞增套件資訊清單版本。",
859
+ "info.m365.skills.preparing": "正在準備技能草稿 %s/%s,而不複製已發佈的內容...",
860
+ "info.m365.skills.synchronizing": "正在同步技能 %s,共 %s 個...",
861
+ "info.m365.skills.summary": "技能同步完成: %s 個檔案已上傳、%s 個檔案未變更,以及 %s 個檔案或資料夾已刪除。",
850
862
  "driver.botFramework.description": "在 dev.botframework.com 上建立或更新 Bot 註冊",
851
863
  "driver.botFramework.summary.create": "已成功建立 Bot 註冊 (%s)。",
852
864
  "driver.botFramework.summary.update": "已成功更新 Bot 註冊 (%s)。",
@@ -872,14 +884,14 @@
872
884
  "error.yaml.LifeCycleUndefinedError": "生命週期 '%s' 未定義,yaml 檔案: %s",
873
885
  "error.yaml.InvalidActionInputError": "無法完成 '%s' 動作,因為下列參數: %s,在提供的 yaml 檔案中遺失或具有無效值: %s。請確定已提供所需的參數,且具有有效的值,然後再試一次。",
874
886
  "error.common.InstallSoftwareError": "無法安裝 %s。如果您使用 Visual Studio Code 中的工具組,則可以手動安裝並重新啟動 Visual Studio Code。",
875
- "core.spfxGenerationNotSupported": "Creating or importing SharePoint Framework projects and adding web parts are no longer supported by Microsoft 365 Agents Toolkit. Use the SharePoint Framework tooling directly.",
887
+ "core.spfxGenerationNotSupported": "Microsoft 365 代理程式工具組不再支援建立或匯入SharePoint 架構專案以及新增網頁組件。直接使用 SharePoint 架構工具。",
876
888
  "error.common.VersionError": "找不到符合版本範圍 %s 的版本。",
877
889
  "error.common.MissingEnvironmentVariablesError": "檔案 %s 缺少環境變數 '%s'。請編輯 .env 檔案 '%s' 或 '%s',或調整系統環境變數。針對新專案,請執行本機偵錯或佈建遠端環境以設定這些變數。",
878
890
  "error.common.InvalidProjectError": "此命令僅適用於 Microsoft 365 代理程式工具組建立的專案。找不到 'm365agents.yml' 或 'm365agents.local.yml'",
879
891
  "error.common.InvalidProjectError.display": "此命令僅適用於 Microsoft 365 代理程式工具組建立的專案。找不到 Yaml 檔案: %s",
880
- "error.common.AmbiguousOpenApiAuthCredentialError": "OpenAPI credentials cannot be mapped because the selected operations use multiple authentication registrations. Omit the scalar credentials or select operations that use one registration.",
881
- "error.common.InapplicableOpenApiAuthCredentialError": "The supplied OpenAPI credentials do not apply to the authentication type used by the selected operations. Omit the credentials or supply credentials for the discovered authentication type.",
882
- "error.common.IncompleteOpenApiOAuthCredentialError": "OpenAPI OAuth client secret, scopes, and PKCE require --openapi-auth-client-id. Supply a client ID or omit the OAuth credential options to configure credentials during provision.",
892
+ "error.common.AmbiguousOpenApiAuthCredentialError": "無法對應 OpenAPI 認證,因為選取的作業使用多個驗證註冊。省略純量認證,或選取使用一個註冊的作業。",
893
+ "error.common.InapplicableOpenApiAuthCredentialError": "提供的 OpenAPI 認證不適用於所選作業使用的驗證類型。請省略認證,或提供探索到的驗證類型所需的認證。",
894
+ "error.common.IncompleteOpenApiOAuthCredentialError": "OpenAPI OAuth 用戶端密碼、範圍和 PKCE 都需要 --openapi-auth-client-id。請提供用戶端識別碼,或省略 OAuth 認證選項,以便在佈建期間設定認證。",
883
895
  "error.common.FileNotFoundError": "找不到檔案或目錄: '%s'。請檢查它是否存在,以及您是否有存取它的權限。",
884
896
  "error.common.JSONSyntaxError": "JSON 語法錯誤: %s。請檢查 JSON 語法,以確保其格式正確。",
885
897
  "error.common.ReadFileError": "無法讀取檔案的原因: %s",
@@ -1015,6 +1027,11 @@
1015
1027
  "driver.oauth.microsoftEntraWarning": "如果您使用自己的 Microsoft Entra 應用程式,請: 1.將 Microsoft Entra 應用程式的應用程式識別碼 uri 更新到 %s,2.新增 %s 以重新導向您的 Microsoft Entra 應用程式 URI。",
1016
1028
  "driver.dcr.description.create": "在開發人員入口網站上建立動態用戶端註冊 (DCR) 設定,以用於 MCP 伺服器驗證。",
1017
1029
  "driver.dcr.title.create": "正在建立 DCR 設定...",
1030
+ "driver.dcr.description.update": "Update an existing Dynamic Client Registration (DCR) configuration for MCP server authentication.",
1031
+ "driver.dcr.title.update": "Updating DCR configuration...",
1032
+ "driver.dcr.log.skipUpdate": "DCR configuration %s already matches the requested settings. No update is needed.",
1033
+ "driver.dcr.log.successUpdate": "DCR configuration %s updated successfully. Updated fields: %s.",
1034
+ "driver.dcr.error.invalidConfiguration": "The service did not return a valid Dynamic authentication configuration for this ID. Check the configuration ID and service compatibility.",
1018
1035
  "driver.dcr.log.skipCreateDcr": "環境變數 %s 已存在。正在略過建立 DCR 設定。",
1019
1036
  "driver.dcr.log.successCreateDcr": "已成功建立具有識別碼 '%s' 的 DCR 設定!",
1020
1037
  "driver.dcr.error.nameTooLong": "DCR 設定名稱太長。字元長度上限為 128。",
@@ -1034,8 +1051,8 @@
1034
1051
  "driver.typeSpec.progressBar": "正在編譯和產生檔案...",
1035
1052
  "core.addKnowledge.doubleConfirm": "執行此動作將會覆寫您現有的資訊清單檔案,且無法復原。若要保留您現有的資料,請先備份資料再繼續。是否要新增內容?",
1036
1053
  "core.addSkillQuestion.name.title": "技能名稱",
1037
- "core.addSkillQuestion.name.placeholder": "輸入您的技能名稱 (僅限字母、數位與連字號)",
1038
- "core.addSkillQuestion.name.validation": "技能名稱必須以字母開頭,而且只包含字母、數字和連字號",
1054
+ "core.addSkillQuestion.name.placeholder": "Enter a name for your skill (lowercase letters, numbers, and hyphens only)",
1055
+ "core.addSkillQuestion.name.validation": "Skill name may only contain lowercase letters, numbers, and hyphens. Use 1-64 characters, without leading, trailing, or consecutive hyphens.",
1039
1056
  "core.addSkillQuestion.name.duplicate": "名為 \"%s\" 的技能已存在。請選擇其他名稱。",
1040
1057
  "core.addSkillQuestion.description.title": "技能描述",
1041
1058
  "core.addSkillQuestion.description.placeholder": "描述此技能的功能",
@@ -1089,7 +1106,7 @@
1089
1106
  "core.createProjectQuestion.mcpForDa.Auth.OAuthDynamic.Detail": "MCP 伺服器會在執行階段註冊用戶端; 不需要額外的詳細資料。",
1090
1107
  "core.createProjectQuestion.mcpForDa.Auth.EntraSSO": "Entra SSO",
1091
1108
  "core.createProjectQuestion.mcpForDa.Auth.EntraSSO.Detail": "使用 Microsoft Entra 應用程式進行單一登入。工具組會要求 Entra 應用程式用戶端識別碼。",
1092
- "core.createProjectQuestion.mcpForDa.Auth.BearerToken.Detail": "Send an API key as an HTTP Bearer token.",
1109
+ "core.createProjectQuestion.mcpForDa.Auth.BearerToken.Detail": "以 HTTP 持有人權杖傳送 API 金鑰。",
1093
1110
  "core.createProjectQuestion.mcpForDa.Auth.None": "無",
1094
1111
  "core.createProjectQuestion.mcpForDa.Auth.None.Detail": "MCP 伺服器不需要驗證。",
1095
1112
  "core.createProjectQuestion.mcpForDa.ClientId.title": "OAuth 用戶端識別碼",
@@ -1100,13 +1117,13 @@
1100
1117
  "core.createProjectQuestion.mcpForDa.ClientSecret.required": "需要 OAuth 用戶端密碼。",
1101
1118
  "core.createProjectQuestion.mcpForDa.Scopes.title": "OAuth 範圍 (選用)",
1102
1119
  "core.createProjectQuestion.mcpForDa.Scopes.placeholder": "以空格分隔的 OAuth 範圍,例如 'read:user repo'",
1103
- "core.createProjectQuestion.mcpForDa.ApiKey.title": "API Key",
1104
- "core.createProjectQuestion.mcpForDa.ApiKey.placeholder": "Enter the API key sent as a bearer token",
1105
- "core.createProjectQuestion.mcpForDa.ApiKey.required": "API key is required.",
1120
+ "core.createProjectQuestion.mcpForDa.ApiKey.title": "API 金鑰",
1121
+ "core.createProjectQuestion.mcpForDa.ApiKey.placeholder": "輸入以持有人權杖傳送的 API 金鑰",
1122
+ "core.createProjectQuestion.mcpForDa.ApiKey.required": "API 金鑰為必要項。",
1106
1123
  "core.createProjectQuestion.mcpForDa.EntraClientId.title": "Microsoft Entra 應用程式 (用戶端) 識別碼",
1107
1124
  "core.createProjectQuestion.mcpForDa.EntraClientId.placeholder": "輸入 Microsoft Entra 應用程式註冊的應用程式 (用戶端) 識別碼",
1108
1125
  "core.createProjectQuestion.mcpForDa.EntraClientId.required": "需要 Microsoft Entra 應用程式 (用戶端) 識別碼。",
1109
- "driver.oauth.error.supportedAccountTypesUnsupportedCloud": "The includePersonalMicrosoftAccounts option is supported only in the Microsoft 365 commercial cloud environment.",
1126
+ "driver.oauth.error.supportedAccountTypesUnsupportedCloud": "includePersonalMicrosoftAccounts 選項僅支援 Microsoft 365 商業雲端環境。",
1110
1127
  "core.createProjectQuestion.mcpForDa.File.title": "選取您想要更新的動作資訊清單",
1111
1128
  "core.createProjectQuestion.mcpForDa.File.createNew.label": "建立新的 ai-plugin.json",
1112
1129
  "core.createProjectQuestion.mcpForDa.File.createNew.title": "為新的動作資訊清單檔命名",
@@ -1128,9 +1145,9 @@
1128
1145
  "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "Scaffolding 成功,但無法自動探索 OAuth 端點。您的 MCP 伺服器可連線,但未公告其 OAuth 端點 - ATK 會檢查伺服器的 OAuth 中繼資料 ('.well-known/oauth-authorization-server') 並發現 'none'。在佈建之前,請以正確的值取代 'm365agents.yml' 中的 'wellKnownAuthorizationServer' 預留位置。",
1129
1146
  "core.MCPForDA.mcpAuthOAuthPlaceholderWarning": "Scaffolding 成功,但無法自動探索 OAuth 端點。您的 MCP 伺服器可連線,但未公告其 OAuth 端點 - ATK 會檢查伺服器的 OAuth 中繼資料 ('.well-known/oauth-authorization-server') 並發現 'none'。在佈建之前,請以正確的值取代 'm365agents.yml' 中的 'authorizationUrl' 和 'tokenUrl' 預留位置。",
1130
1147
  "core.v4.scaffold.existingFileSkipped": "'%s' 已存在,且未被覆寫。請將其刪除或重新命名,以重新建置檔案。",
1131
- "core.v4.scaffold.languageOptionsInvalid": "The template package contains invalid language presentation metadata.",
1132
- "core.v4.scaffold.languageOptionsFailed": "Failed to load language choices from the template package.",
1133
- "core.v4.scaffold.openApiAuthYamlInvalid": "Cannot add OpenAPI authentication actions. The project YAML must be valid and contain a provision action list.",
1148
+ "core.v4.scaffold.languageOptionsInvalid": "範本套件包含無效的語言呈現中繼資料。",
1149
+ "core.v4.scaffold.languageOptionsFailed": "無法從範本套件載入語言選項。",
1150
+ "core.v4.scaffold.openApiAuthYamlInvalid": "無法新增 OpenAPI 驗證動作。專案 YAML 必須有效,且包含佈建動作清單。",
1134
1151
  "core.MCPForDA.mcpAuthMetadataUrlNotFound": "無法從 MCP 伺服器的回應中找到來自 \"resource_metadata\" 屬性的驗證中繼資料。",
1135
1152
  "core.MCPForDA.mcpServerMetadataUrlNotFound": "無法從 MCP 伺服器的受保護資源中繼資料回應中找到來自 \"authorization_servers\" 屬性的伺服器中繼資料。",
1136
1153
  "core.MCPForDA.authUrlNotFound": "無法從 MCP 伺服器的授權伺服器中繼資料回應中找到驗證 URL。已嘗試: %s",
@@ -1147,26 +1164,26 @@
1147
1164
  "core.MCPForDA.authRequired": "位於 %s 的 MCP 伺服器需要驗證。無法自動擷取工具。若要新增工具,請執行:\n %s",
1148
1165
  "core.MCPForDA.noToolsFetched": "從 %s 的 MCP 伺服器中未探索到任何工具。若要稍後新增工具,請執行:\n %s",
1149
1166
  "core.MCPForDA.mcpServerUrlNotAnEndpoint": "%s 以 HTTP %s 回應了 MCP 的初始化要求,因此它可能不是 MCP 伺服器 URL。佈建前請先驗證 URL。",
1150
- "core.openPluginImport.autoAuthNone": "Auto inferred authentication type None for MCP server '%s'. Verify this choice if individual tools require authentication or use an API key.",
1151
- "core.openPluginImport.autoAuthOAuth": "Auto inferred OAuthPluginVault for MCP server '%s'. The generated reference ID is a placeholder and must be registered before use.",
1152
- "core.openPluginImport.authFallback": "OAuth metadata could not be resolved for MCP server '%s' after it confirmed authentication is required. Auto fell back to OAuthPluginVault. Verify the authentication type and register the generated reference ID before use.",
1153
- "core.openPluginImport.failed": "Failed to import the Agent Plugin.",
1154
- "core.openPluginImport.invalidManifest": "The mapped Teams manifest is invalid: %s",
1155
- "core.openPluginImport.invalidOutputPath": "The output path must not be a symbolic link or junction: %s.",
1156
- "core.openPluginImport.invalidPlugin": "The Agent Plugin is invalid: %s",
1157
- "core.openPluginImport.missingPluginPath": "The --path option is required.",
1158
- "core.openPluginImport.outputDirectoryNotEmpty": "The output directory is not empty: %s. Choose a different --output path or empty the directory.",
1159
- "core.openPluginImport.unresolvedMcpAuth": "Unable to resolve authentication for MCP server '%s' while --default-auth-type is Auto. Specify None, OAuthPluginVault, or ApiKeyPluginVault explicitly.",
1160
- "core.openPluginExport.failed": "Failed to export the Agent Plugin.",
1161
- "core.openPluginExport.invalidAgentPluginManifest": "The project cannot be exported as an Agent Plugins 1.0.0 manifest.",
1162
- "core.openPluginExport.invalidManifest": "The project manifest is invalid.",
1163
- "core.openPluginExport.invalidMcpServerUrl": "The project contains an MCP server URL that cannot be exported.",
1164
- "core.openPluginExport.invalidOutputPath": "The output path must not be a symbolic link or junction.",
1165
- "core.openPluginExport.invalidProjectPath": "The project path is invalid.",
1166
- "core.openPluginExport.invalidProjectStructure": "The project structure is invalid.",
1167
- "core.openPluginExport.manifestNotFound": "appPackage/manifest.json was not found in the project.",
1168
- "core.openPluginExport.missingProjectPath": "The --path option is required.",
1169
- "core.openPluginExport.outputDirectoryNotEmpty": "The output directory is not empty. Choose a different --output path or empty the directory.",
1167
+ "core.openPluginImport.autoAuthNone": "已自動推斷 MCP 伺服器 '%s' 的驗證類型為 None。如果個別工具需要驗證或使用 API 金鑰,請確認此選擇。",
1168
+ "core.openPluginImport.autoAuthOAuth": "MCP 伺服器 '%s' 的自動推斷 OAuthPluginVault。產生的參考識別碼是預留位置,必須先註冊才能使用。",
1169
+ "core.openPluginImport.authFallback": "在確認需要驗證後,無法解析 MCP 伺服器 '%s' 的 OAuth 中繼資料。自動回復為 OAuthPluginVault。使用前請確認驗證類型並註冊產生的參考識別碼。",
1170
+ "core.openPluginImport.failed": "無法匯入代理程式外掛程式。",
1171
+ "core.openPluginImport.invalidManifest": "對應的 Teams 資訊清單無效: %s",
1172
+ "core.openPluginImport.invalidOutputPath": "輸出路徑不得是符號連結或 junction: %s。",
1173
+ "core.openPluginImport.invalidPlugin": "代理程式外掛程式無效: %s",
1174
+ "core.openPluginImport.missingPluginPath": "需要 --path 選項。",
1175
+ "core.openPluginImport.outputDirectoryNotEmpty": "輸出目錄不是空的: %s。選擇不同的 --output 路徑或清空目錄。",
1176
+ "core.openPluginImport.unresolvedMcpAuth": "當 --default-auth-type 設為 Auto 時,無法解析 MCP 伺服器 '%s' 的驗證。請明確指定 None、OAuthPluginVault 或 ApiKeyPluginVault。",
1177
+ "core.openPluginExport.failed": "無法匯出代理程式外掛程式。",
1178
+ "core.openPluginExport.invalidAgentPluginManifest": "無法將專案匯出為 Agent Plugins 1.0.0 資訊清單。",
1179
+ "core.openPluginExport.invalidManifest": "專案資訊清單無效。",
1180
+ "core.openPluginExport.invalidMcpServerUrl": "專案包含無法匯出的 MCP 伺服器 URL。",
1181
+ "core.openPluginExport.invalidOutputPath": "輸出路徑不得是符號連結或 junction。",
1182
+ "core.openPluginExport.invalidProjectPath": "專案路徑無效。",
1183
+ "core.openPluginExport.invalidProjectStructure": "專案結構無效。",
1184
+ "core.openPluginExport.manifestNotFound": "在專案中找不到 appPackage/manifest.json。",
1185
+ "core.openPluginExport.missingProjectPath": "需要 --path 選項。",
1186
+ "core.openPluginExport.outputDirectoryNotEmpty": "輸出目錄不是空的。選擇不同的 --output 路徑或清空目錄。",
1170
1187
  "core.MCPForDA.openYmlFile": "開啟 m365agents.yml",
1171
1188
  "core.MCPForDA.fetchError": "無法從 %s 的 MCP 伺服器擷取工具。若要稍後新增工具,請執行:\n %s"
1172
1189
  }
@@ -672,7 +672,7 @@
672
672
  },
673
673
  "uses": {
674
674
  "type": "string",
675
- "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",
675
+ "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",
676
676
  "const": "teamsApp/create"
677
677
  },
678
678
  "with": {
@@ -691,8 +691,11 @@
691
691
  "type": "object",
692
692
  "additionalProperties": false,
693
693
  "description": "Write environment variables to environment file",
694
- "required": ["teamsAppId"],
694
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
695
695
  "properties": {
696
+ "appId": {
697
+ "$ref": "#/definitions/envVarName"
698
+ },
696
699
  "teamsAppId": {
697
700
  "$ref": "#/definitions/envVarName"
698
701
  }
@@ -673,7 +673,7 @@
673
673
  },
674
674
  "uses": {
675
675
  "type": "string",
676
- "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",
676
+ "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",
677
677
  "const": "teamsApp/create"
678
678
  },
679
679
  "with": {
@@ -692,8 +692,11 @@
692
692
  "type": "object",
693
693
  "additionalProperties": false,
694
694
  "description": "Write environment variables to environment file",
695
- "required": ["teamsAppId"],
695
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
696
696
  "properties": {
697
+ "appId": {
698
+ "$ref": "#/definitions/envVarName"
699
+ },
697
700
  "teamsAppId": {
698
701
  "$ref": "#/definitions/envVarName"
699
702
  }
@@ -714,7 +714,7 @@
714
714
  },
715
715
  "uses": {
716
716
  "type": "string",
717
- "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",
717
+ "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",
718
718
  "const": "teamsApp/create"
719
719
  },
720
720
  "with": {
@@ -733,8 +733,11 @@
733
733
  "type": "object",
734
734
  "additionalProperties": false,
735
735
  "description": "Write environment variables to environment file",
736
- "required": ["teamsAppId"],
736
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
737
737
  "properties": {
738
+ "appId": {
739
+ "$ref": "#/definitions/envVarName"
740
+ },
738
741
  "teamsAppId": {
739
742
  "$ref": "#/definitions/envVarName"
740
743
  }
@@ -724,7 +724,7 @@
724
724
  },
725
725
  "uses": {
726
726
  "type": "string",
727
- "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",
727
+ "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",
728
728
  "const": "teamsApp/create"
729
729
  },
730
730
  "with": {
@@ -743,8 +743,11 @@
743
743
  "type": "object",
744
744
  "additionalProperties": false,
745
745
  "description": "Write environment variables to environment file",
746
- "required": ["teamsAppId"],
746
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
747
747
  "properties": {
748
+ "appId": {
749
+ "$ref": "#/definitions/envVarName"
750
+ },
748
751
  "teamsAppId": {
749
752
  "$ref": "#/definitions/envVarName"
750
753
  },
@@ -725,7 +725,7 @@
725
725
  },
726
726
  "uses": {
727
727
  "type": "string",
728
- "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",
728
+ "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",
729
729
  "const": "teamsApp/create"
730
730
  },
731
731
  "with": {
@@ -744,8 +744,11 @@
744
744
  "type": "object",
745
745
  "additionalProperties": false,
746
746
  "description": "Write environment variables to environment file",
747
- "required": ["teamsAppId"],
747
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
748
748
  "properties": {
749
+ "appId": {
750
+ "$ref": "#/definitions/envVarName"
751
+ },
749
752
  "teamsAppId": {
750
753
  "$ref": "#/definitions/envVarName"
751
754
  },
@@ -82,6 +82,7 @@
82
82
  { "$ref": "#/definitions/oauthRegister" },
83
83
  { "$ref": "#/definitions/oauthUpdate" },
84
84
  { "$ref": "#/definitions/dcrRegister" },
85
+ { "$ref": "#/definitions/dcrUpdate" },
85
86
  { "$ref": "#/definitions/devChannelCreate" },
86
87
  { "$ref": "#/definitions/devChannelInstallApp" },
87
88
  { "$ref": "#/definitions/typeSpecCompile" },
@@ -736,7 +737,7 @@
736
737
  },
737
738
  "uses": {
738
739
  "type": "string",
739
- "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",
740
741
  "const": "teamsApp/create"
741
742
  },
742
743
  "with": {
@@ -755,8 +756,11 @@
755
756
  "type": "object",
756
757
  "additionalProperties": false,
757
758
  "description": "Write environment variables to environment file",
758
- "required": ["teamsAppId"],
759
+ "oneOf": [{ "required": ["appId"] }, { "required": ["teamsAppId"] }],
759
760
  "properties": {
761
+ "appId": {
762
+ "$ref": "#/definitions/envVarName"
763
+ },
760
764
  "teamsAppId": {
761
765
  "$ref": "#/definitions/envVarName"
762
766
  },
@@ -2044,6 +2048,56 @@
2044
2048
  }
2045
2049
  }
2046
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
+ },
2047
2101
  "devChannelCreate": {
2048
2102
  "type": "object",
2049
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
  }