@microsoft/m365agentstoolkit-cli 1.1.19-alpha.c38141f74a.0 → 1.1.19-alpha.d4b09ccc02.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 (33) hide show
  1. package/README.md +2 -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 +62 -104
  8. package/resource/package.nls.de.json +62 -104
  9. package/resource/package.nls.es.json +63 -105
  10. package/resource/package.nls.fr.json +63 -105
  11. package/resource/package.nls.it.json +62 -104
  12. package/resource/package.nls.ja.json +62 -104
  13. package/resource/package.nls.json +21 -4
  14. package/resource/package.nls.ko.json +63 -105
  15. package/resource/package.nls.pl.json +62 -104
  16. package/resource/package.nls.pt-BR.json +62 -104
  17. package/resource/package.nls.ru.json +62 -104
  18. package/resource/package.nls.tr.json +62 -104
  19. package/resource/package.nls.zh-Hans.json +62 -104
  20. package/resource/package.nls.zh-Hant.json +62 -104
  21. package/resource/yaml-schema/v1.13/yaml.schema.json +51 -0
  22. package/resource/yaml-schema/yaml.schema.json +51 -0
  23. package/templates/fallback/common.zip +0 -0
  24. package/templates/fallback/csharp.zip +0 -0
  25. package/templates/fallback/js.zip +0 -0
  26. package/templates/fallback/python.zip +0 -0
  27. package/templates/fallback/ts.zip +0 -0
  28. package/templates/metadata.zip +0 -0
  29. package/templates/ui/tdpNode.json +1 -2
  30. package/templates/ui/wizardNode.json +1 -2
  31. package/templates/v4/create-selector.json +1 -2
  32. package/templates/v4/templates-metadata.zip +0 -0
  33. package/templates/v4/templates.zip +0 -0
@@ -10,7 +10,7 @@
10
10
  "core.addKnowledge.continue": "添加",
11
11
  "core.addSkill.confirm": "Microsoft 365 智能体工具包将修改“%s”文件夹中的文件,以添加该智能体技能。为避免丢失意外更改,请先备份文件或使用 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.",
13
+ "core.addSkill.featureFlagDisabled": "代理技能未启用。设置环境变量 ATK_FRONTIER=true 以启用此预览功能。",
14
14
  "core.featureFlaggedLabel.frontier": "%s (Frontier)",
15
15
  "core.setSensitivityLabel.confirm": "Teams 工具包将根据你提供的敏感度标签修改文件“%s”。为了避免丢失意外更改,请先备份文件或使用 git 跟踪更改,然后再继续操作。",
16
16
  "core.setSensitivityLabel.continue": "设置",
@@ -75,22 +75,6 @@
75
75
  "core.collaboration.agent.label": "智能体",
76
76
  "core.collaboration.agent.description": "Microsoft 365 智能体",
77
77
  "core.developerPortal.scaffold.CannotFindManifest": "无法从应用 %s 的已下载包中找到清单。",
78
- "plugins.spfx.questions.framework.title": "框架",
79
- "plugins.spfx.questions.webpartName": "SharePoint 框架 Web 部件的名称",
80
- "plugins.spfx.questions.webpartName.error.duplicate": "文件夹r %s 已存在。请为组件选择其他名称。",
81
- "plugins.spfx.questions.webpartName.error.notMatch": "%s 与模式 %s 不匹配",
82
- "plugins.spfx.questions.packageSelect.title": "SharePoint 框架",
83
- "plugins.spfx.questions.packageSelect.placeholder": "选择基架选项",
84
- "plugins.spfx.questions.packageSelect.useGlobalPackage.withVersion.label": "使用全局安装的 SPFx (%s)",
85
- "plugins.spfx.questions.packageSelect.useGlobalPackage.noVersion.label": "使用全局安装的 SPFx",
86
- "plugins.spfx.questions.packageSelect.useGlobalPackage.detail": "SPFx %s 或更高版本",
87
- "plugins.spfx.questions.packageSelect.installLocally.withVersion.label": "在 Microsoft 365 智能体工具包目录中本地安装最新的 SPFx (%s)",
88
- "plugins.spfx.questions.packageSelect.installLocally.noVersion.label": "在 Microsoft 365 智能体工具包目录中本地安装最新的 SPFx",
89
- "plugins.spfx.questions.spfxSolution.title": "SharePoint 解决方案",
90
- "plugins.spfx.questions.spfxSolution.createNew": "创建新的 SPFx 解决方案",
91
- "plugins.spfx.questions.spfxSolution.createNew.detail": "使用 SPFx Web 部件创建 Teams Tab 应用程序",
92
- "plugins.spfx.questions.spfxSolution.importExisting": "导入现有 SPFx 解决方案",
93
- "plugins.spfx.questions.spfxSolution.importExisting.detail": "将 SPFx 客户端 Web 部件作为 Microsoft Teams 选项卡或个人应用公开",
94
78
  "plugins.spfx.deployNotice": "SharePoint 包 %s 已成功部署到 [%s](%s)。",
95
79
  "plugins.spfx.cannotFindPackage": "找不到 SharePoint 包 %s",
96
80
  "plugins.spfx.cannotGetSPOToken": "无法获取 SPO 访问令牌",
@@ -98,41 +82,8 @@
98
82
  "plugins.spfx.insufficientPermission": "要将包上传并部署到应用程序目录 %s,需要具有组织的 Microsoft 365 租户管理员权限。从 [Microsoft 365 开发人员计划](%s)获取免费的 Microsoft 365 租户进行测试。",
99
83
  "plugins.spfx.createAppcatalogFail": "无法创建租户应用目录,原因为 %s,堆栈: %s",
100
84
  "plugins.spfx.uploadAppcatalogFail": "由于 %s,无法上传应用包",
101
- "plugins.spfx.buildSharepointPackage": "生成 SharePoint 包",
102
85
  "plugins.spfx.deploy.title": "上传和部署 SharePoint 包",
103
- "plugins.spfx.scaffold.title": "基架项目",
104
- "plugins.spfx.error.invalidDependency": "无法验证包 %s",
105
- "plugins.spfx.error.noConfiguration": "SPFx 项目中没有 .yo-rc.json 文件,请添加配置文件,然后重试。",
106
- "plugins.spfx.error.devEnvironmentNotSetup": "SPFx 开发环境尚未正确设置。单击“获取帮助”以设置正确的环境。",
107
- "plugins.spfx.scaffold.dependencyCheck": "正在检查依赖项...",
108
- "plugins.spfx.scaffold.dependencyInstall": "正在安装依赖项。这可能需要 5 分钟以上的时间。",
109
- "plugins.spfx.scaffold.scaffoldProject": "使用 Yeoman CLI 生成 SPFx 项目",
110
- "plugins.spfx.scaffold.updateManifest": "更新 Web 部件清单",
111
86
  "plugins.spfx.GetTenantFailedError": "无法获取租户 %s %s",
112
- "plugins.spfx.error.installLatestDependencyError": "无法在 %s 文件夹中设置 SPFx 环境。若要设置全局 SPFx 环境,请按照 [设置SharePoint 框架开发环境 |Microsoft Learn](%s)。",
113
- "plugins.spfx.error.scaffoldError": "项目创建不成功,这可能是因为 Yeoman SharePoint 生成器。有关详细信息,请查看 [Output panel](%s)。",
114
- "plugins.spfx.error.import.retrieveSolutionInfo": "无法获取现有 SPFx 解决方案信息。确保 SPFx 解决方案有效。",
115
- "plugins.spfx.error.import.copySPFxSolution": "未能复制现有 SPFx 解决方案: %s",
116
- "plugins.spfx.error.import.updateSPFxTemplate": "无法使用现有 SPFx 解决方案更新项目模板: %s",
117
- "plugins.spfx.error.import.common": "无法将现有 SPFx 解决方案导入到 Microsoft 365 智能体工具包: %s",
118
- "plugins.spfx.import.title": "导入 SPFx 解决方案",
119
- "plugins.spfx.import.copyExistingSPFxSolution": "正在复制现有 SPFx 解决方案...",
120
- "plugins.spfx.import.generateSPFxTemplates": "正在根据解决方案信息生成模板...",
121
- "plugins.spfx.import.updateTemplates": "正在更新模板...",
122
- "plugins.spfx.import.success": "SPFx 解决方案已成功导入 %s。",
123
- "plugins.spfx.import.log.success": "Microsoft 365 智能体工具包已成功导入 SPFx 解决方案。在 %s 中查找导入详细信息的完整日志。",
124
- "plugins.spfx.import.log.fail": "Microsoft 365 智能体工具包无法导入 SPFx 解决方案。在 %s 中查找重要详细信息的完整日志。",
125
- "plugins.spfx.addWebPart.confirmInstall": "计算机上未安装解决方案中的 SPFx %s 版本。是否要在 Microsoft 365 智能体工具包目录中安装它,以继续添加 Web 部件?",
126
- "plugins.spfx.addWebPart.install": "安装",
127
- "plugins.spfx.addWebPart.confirmUpgrade": "Microsoft 365 智能体工具包使用的是 SPFx 版本 %s,而解决方案包含 SPFx 版本 %s。是否要将其升级到 Microsoft 365 智能体工具包目录中的版本 %s 并添加 Web 部件?",
128
- "plugins.spfx.addWebPart.upgrade": "升级",
129
- "plugins.spfx.addWebPart.versionMismatch.continueConfirm": "此计算机上未安装解决方案中的 SPFx 版本 %s。Microsoft 365 智能体工具包默认使用在其目录中安装的 SPFx (%s)。版本不匹配可能会导致意外错误。是否仍要继续?",
130
- "plugins.spfx.addWebPart.versionMismatch.help": "帮助",
131
- "plugins.spfx.addWebPart.versionMismatch.continue": "继续",
132
- "plugins.spfx.addWebPart.versionMismatch.output": "解决方案中的 SPFx 版本为 %s。你已全局安装 %s,并在 Microsoft 365 智能体工具包目录中安装了 %s,它由 Microsoft 365 智能体工具包用作默认值(%s)。版本不匹配可能会导致意外错误。在 %s 中查找可能的解决方案。",
133
- "plugins.spfx.addWebPart.versionMismatch.localOnly.output": "解决方案中的 SPFx 版本为 %s。你已在 Microsoft 365 智能体工具包目录中安装了 %s,在在 Microsoft 365 智能体工具包(%s)中用作默认值。版本不匹配可能会导致意外错误。在 %s 中查找可能的解决方案。",
134
- "plugins.spfx.addWebPart.cannotFindSolutionVersion": "在解决方案中找不到 SPFx 版本,%s",
135
- "plugins.spfx.error.installDependencyError": "你似乎在 %s 文件夹中设置 SPFx 环境时遇到问题。按照 %s 安装全局 SPFx 环境安装程序 %s。",
136
87
  "plugins.frontend.checkNetworkTip": "请检查你的网络连接。",
137
88
  "plugins.frontend.checkFsPermissionsTip": "检查你是否对文件系统具有读/写权限。",
138
89
  "plugins.frontend.checkStoragePermissionsTip": "检查你是否对 Azure 存储帐户具有权限。",
@@ -284,8 +235,6 @@
284
235
  "core.CommandAndResponseOption.detail": "在 Teams 聊天中使用自定义聊天命令触发工作",
285
236
  "core.WorkflowOption.label": "聊天中的顺序工作流",
286
237
  "core.WorkflowOption.detail": "在 Teams 聊天中与多步骤进程交互",
287
- "core.TabSPFxOption.labelNew": "SPFx",
288
- "core.TabSPFxOption.detailNew": "使用 SharePoint 框架生成 UI",
289
238
  "core.TabNonSso.label": "选项卡",
290
239
  "core.TabNonSso.detail": "轻松实现可随时自定义的 Web 应用",
291
240
  "core.copilotPlugin.api.noAuth": "无身份验证",
@@ -398,13 +347,13 @@
398
347
  "core.createProjectQuestion.apiSpec.placeholder": "输入 OpenAPI 文档 URL",
399
348
  "core.createProjectQuestion.apiSpecInputUrl.label": "输入 OpenAPI 文档 URL",
400
349
  "core.createProjectQuestion.ApiKey": "在 OpenAPI 描述文档中输入 API 密钥",
401
- "core.addOpenApiActionQuestion.ApiKey.title": "API Key (optional)",
402
- "core.addOpenApiActionQuestion.IdentityProvider.title": "Select the identity provider for OpenAPI OAuth",
403
- "core.addOpenApiActionQuestion.IdentityProvider.description": "Identity provider for OpenAPI OAuth (optional; defaults to OAuth).",
404
- "core.addOpenApiActionQuestion.OAuthClientId.title": "OpenAPI OAuth client ID (optional)",
405
- "core.addOpenApiActionQuestion.OAuthClientSecret.title": "OpenAPI OAuth client secret (optional)",
406
- "core.addOpenApiActionQuestion.OAuthScopes.title": "OpenAPI OAuth scopes (optional)",
407
- "core.addOpenApiActionQuestion.OAuthPKCE.title": "Enable PKCE for OpenAPI OAuth?",
350
+ "core.addOpenApiActionQuestion.ApiKey.title": "API 密钥(可选)",
351
+ "core.addOpenApiActionQuestion.IdentityProvider.title": "选择 OpenAPI OAuth 的标识提供者",
352
+ "core.addOpenApiActionQuestion.IdentityProvider.description": "OpenAPI OAuth 的标识提供者(可选;默认为 OAuth)。",
353
+ "core.addOpenApiActionQuestion.OAuthClientId.title": "OpenAPI OAuth 客户端 ID (可选)",
354
+ "core.addOpenApiActionQuestion.OAuthClientSecret.title": "OpenAPI OAuth 客户端密码(可选)",
355
+ "core.addOpenApiActionQuestion.OAuthScopes.title": "OpenAPI OAuth 范围(可选)",
356
+ "core.addOpenApiActionQuestion.OAuthPKCE.title": "为 OpenAPI OAuth 启用 PKCE?",
408
357
  "core.createProjectQuestion.ApiKeyConfirm": "Microsoft 365 智能体工具包会将 API 密钥上传到开发人员门户。Teams 客户端将使用 API 密钥在运行时安全地访问 API。Microsoft 365 智能体工具包不会存储 API 密钥。",
409
358
  "core.createProjectQuestion.OauthClientId": "OAuth 注册客户端 ID",
410
359
  "core.createProjectQuestion.OauthClientId.placeholder": "在 OpenAPI 描述文档中输入 OAuth 注册的客户端 ID",
@@ -448,8 +397,6 @@
448
397
  "core.regenerateQuestion.selectPluginManifestTitle": "选择插件清单文件。",
449
398
  "core.regenerateQuestion.selectOpenAPISpecFromPluginTitle": "选择 OpenAPI 说明文档文件。",
450
399
  "core.regenerateQuestion.selectApiOperationForRegenerateTitle": "选择 Copilot 可与之交互的操作。",
451
- "core.spfxFolder.title": "SPFx 解决方案文件夹",
452
- "core.spfxFolder.placeholder": "选择包含 SPFx 解决方案的文件夹",
453
400
  "core.QuestionSelectTargetEnvironment.title": "选择环境",
454
401
  "core.getQuestionNewTargetEnvironmentName.title": "新环境名称",
455
402
  "core.getQuestionNewTargetEnvironmentName.placeholder": "新环境名称",
@@ -606,9 +553,9 @@
606
553
  "core.common.removeShareAccess.success": "已从用户中移除共享访问权限: %s。",
607
554
  "core.envFunc.unsupportedFile.errorLog": "\"%s\" 文件无效。支持的格式: %s。",
608
555
  "core.envFunc.unsupportedFile.errorMessage": "文件无效。%s",
609
- "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.",
610
- "core.envFunc.fileReferenceOutsideManifestDirectory.errorMessage": "The file reference must point to a file inside the manifest directory.",
611
- "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.",
556
+ "core.envFunc.fileReferenceOutsideManifestDirectory.errorLog.local": "文件引用解析到清单目录之外。\n引用: %s\n解析的路径: %s\n清单目录: %s\n将文件移动到清单目录中,然后更新 %s 中的文件引用。",
557
+ "core.envFunc.fileReferenceOutsideManifestDirectory.errorMessage": "文件引用必须指向清单目录内的文件。",
558
+ "core.envFunc.fileReferenceOutsideManifestDirectory.errorMessage.local": "文件引用 \"%s\" 解析为 \"%s\",位于清单目录 \"%s\" 之外。将文件移动到清单目录中,然后更新 %s 中的引用。",
612
559
  "core.envFunc.unsupportedFunction.errorLog": "\"%s\" 是无效函数。支持的函数: \"%s\"。",
613
560
  "core.envFunc.unsupportedFunction.errorMessage": "函数无效。%s",
614
561
  "core.envFunc.invalidFunctionParameter.errorLog": "函数 \"%s\" 的参数 \"%s\" 无效。请提供由 “” 包装的有效文件路径或 “${{}}” 格式的环境变量名。",
@@ -798,10 +745,6 @@
798
745
  "driver.spfx.warn.noTenantAppCatalogFound": "找不到租户应用程序目录,请重试: %s",
799
746
  "driver.spfx.error.failedToGetAppCatalog": "创建后无法获取应用程序目录网站 URL。请等待几分钟,然后重试。",
800
747
  "driver.spfx.error.noValidAppCatelog": "租户中不存在有效的应用目录。如果希望 Microsoft 365 智能体工具包为你创建应用目录,则可以将 %s 中的属性 “createAppCatalogIfNotExist” 更新为 true,或者可以自行创建。",
801
- "driver.spfx.add.description": "将其他 Web 部件添加到 SPFx 项目",
802
- "driver.spfx.add.successNotice": "Web 部件 %s 已成功添加到项目中。",
803
- "driver.spfx.add.progress.title": "基架 Web 部件",
804
- "driver.spfx.add.progress.scaffoldWebpart": "使用 Yeoman CLI 生成 SPFx Web 部件",
805
748
  "driver.prerequisite.error.funcInstallationError": "无法检查并安装 Azure Functions Core Tools。",
806
749
  "driver.prerequisite.error.dotnetInstallationError": "无法检查和安装 .NET Core SDK。",
807
750
  "driver.prerequisite.error.testToolInstallationError": "无法检查并安装 Microsoft 365 智能体操场。",
@@ -896,14 +839,27 @@
896
839
  "error.teamsApp.validate.details": "文件路径: %s,标题: %s",
897
840
  "error.teamsApp.AppIdNotExistError": "开发人员门户中不存在 ID 为 %s 的应用。",
898
841
  "error.teamsApp.InvalidAppIdError": "应用 ID %s无效,必须是 GUID。",
899
- "error.teamsApp.createAppPackage.invalidFile": "A referenced file is invalid. It must be in the same directory as manifest.json or a subdirectory of it.",
900
- "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.",
842
+ "error.teamsApp.createAppPackage.invalidFile": "引用的文件无效。它必须与 manifest.json 位于同一目录中或其子目录中。",
843
+ "error.teamsApp.createAppPackage.invalidFile.local": "文件引用 \"%s\" 解析为 \"%s\",位于清单目录 \"%s\" 之外。将文件移动到清单目录中,然后在包含它的清单中更新此引用。",
901
844
  "error.teamsApp.createAppPackage.packageSizeExceeded": "生成的应用包(%s MB)超过了允许的最大大小(%s MB)。在生成包前减少包内容。",
902
- "error.teamsApp.createAppPackage.fileSystemError.telemetry": "The app package file operation failed. File system error: %s.",
903
- "error.teamsApp.createAppPackage.fileSystemError.display": "The app package file operation failed for '%s'. File system error: %s.",
845
+ "error.teamsApp.createAppPackage.fileSystemError.telemetry": "应用程序包文件操作失败。文件系统错误: %s。",
846
+ "error.teamsApp.createAppPackage.fileSystemError.display": "'%s' 的应用程序包文件操作失败。文件系统错误: %s。",
904
847
  "error.m365.packageService.packageSizeExceeded": "应用包(%s MB)超过了支持的最大大小(%s MB)。在上传包前减少包内容。",
905
- "error.m365.packageService.validationFailed": "The app package failed RAI validation. Resolve the following issues and try again:\n%s",
906
- "info.m365.packageService.raiValidationInProgress": "RAI validation is in progress. Waiting for completion...",
848
+ "error.m365.packageService.validationFailed": "应用包未通过 RAI 验证。请解决以下问题,然后重试:\n%s",
849
+ "info.m365.packageService.raiValidationInProgress": "正在进行 RAI 验证。正在等待完成...",
850
+ "error.m365.skills.invalidInventory": "The skill file inventory is invalid or contains conflicting paths. Check the skill files and try again.",
851
+ "error.m365.skills.invalidPackage": "The agent skill package is invalid. Check its manifests, skill paths, and SKILL.md metadata before retrying.",
852
+ "error.m365.skills.invalidResponse": "Microsoft 365 returned an unexpected response while preparing or synchronizing agent skills. The agent package was not submitted.",
853
+ "error.m365.skills.authorization": "Skill synchronization is not authorized. Verify the signed-in account, agent ownership, Graph permissions, and SharePoint Embedded onboarding before retrying.",
854
+ "error.m365.skills.conflict": "The skill upload conflicts with an existing version or another edit. Use a new package manifest version for updates and do not edit the agent concurrently. No rollback was performed.",
855
+ "error.m365.skills.retryExhausted": "Skill synchronization could not complete within its retry budget. The draft is retained. Resolve the service issue before starting another upload through the ATK skip-copy flow.",
856
+ "error.m365.skills.requestFailed": "A skill upload request failed. Its outcome may be uncertain. No rollback was performed. Check the service state before another upload; if package submission was attempted, resolve its publication status first.",
857
+ "error.m365.skills.directoryFailed": "The skill draft could not be prepared. The request was not replayed because its outcome may be uncertain. Verify Microsoft 365 skip-copy support and ensure no other upload is running before trying again.",
858
+ "error.m365.skills.copyNotSupported": "Microsoft 365 reported published-content copying for a skill draft. This preview supports only drafts created exclusively through the ATK skip-copy flow. Verify the draft's history and Microsoft 365 skip-copy support before another upload. No skill files were synchronized and the agent package was not submitted.",
859
+ "info.m365.skills.preview": "Incremental skill upload preview supports only drafts created exclusively through the ATK skip-copy flow. Do not use drafts from older copy-enabled ATK flows or other clients, or run concurrent uploads. Microsoft 365 must support skip-copy. Fresh drafts upload all local skill files. Increment the package manifest version for each update.",
860
+ "info.m365.skills.preparing": "Preparing skill draft %s of %s without copying published content...",
861
+ "info.m365.skills.synchronizing": "Synchronizing skill %s of %s...",
862
+ "info.m365.skills.summary": "Skill synchronization completed: %s files uploaded, %s files unchanged, %s files or folders deleted.",
907
863
  "driver.botFramework.description": "在 dev.botframework.com 上创建或更新机器人注册",
908
864
  "driver.botFramework.summary.create": "已成功创建机器人注册(%s)。",
909
865
  "driver.botFramework.summary.update": "机器人注册已成功更新(%s)。",
@@ -929,13 +885,14 @@
929
885
  "error.yaml.LifeCycleUndefinedError": "生命周期“%s”未定义,yaml 文件: %s",
930
886
  "error.yaml.InvalidActionInputError": "无法完成 \"%s\" 操作,因为以下参数: %s 缺失或在提供的 yaml 文件中具有无效值: %s。请确保提供所需的参数并具有有效值,然后重试。",
931
887
  "error.common.InstallSoftwareError": "无法安装 %s。如果在 Visual Studio Code 中使用工具包,可手动安装该工具包并重启 Visual Studio Code。",
888
+ "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.",
932
889
  "error.common.VersionError": "找不到满足版本范围 %s 的版本。",
933
890
  "error.common.MissingEnvironmentVariablesError": "文件 %s 缺少环境变量 \"%s\"。请编辑 .env 文件 \"%s\" 或 \"%s\",或调整系统环境变量。对于新项目,请运行本地调试或预配远程环境以设置这些变量。",
934
891
  "error.common.InvalidProjectError": "此命令仅适用于由 Microsoft 365 智能体工具包创建的项目。找不到 “m365agents.yml” 或 “m365agents.local.yml”",
935
892
  "error.common.InvalidProjectError.display": "此命令仅适用于由 Microsoft 365 智能体工具包创建的项目。找不到 Yaml 文件: %s",
936
- "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.",
937
- "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.",
938
- "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.",
893
+ "error.common.AmbiguousOpenApiAuthCredentialError": "无法映射 OpenAPI 凭据,因为所选操作使用多个身份验证注册。请省略标量凭据,或选择使用一个注册的操作。",
894
+ "error.common.InapplicableOpenApiAuthCredentialError": "提供的 OpenAPI 凭据不适用于所选操作使用的身份验证类型。请省略凭据,或为发现的身份验证类型提供凭据。",
895
+ "error.common.IncompleteOpenApiOAuthCredentialError": "OpenAPI OAuth 客户端密码、范围和 PKCE 需要 --openapi-auth-client-id。提供客户端 ID,或省略 OAuth 凭据选项以在预配期间配置凭据。",
939
896
  "error.common.FileNotFoundError": "找不到文件或目录: '%s'。检查是否存在,以及你是否有权访问。",
940
897
  "error.common.JSONSyntaxError": "JSON 语法错误:%s。请检查 JSON 语法以确保其格式正确。",
941
898
  "error.common.ReadFileError": "由于原因 %s,无法读取文件",
@@ -1145,7 +1102,7 @@
1145
1102
  "core.createProjectQuestion.mcpForDa.Auth.OAuthDynamic.Detail": "MCP 服务器会在运行时注册客户端; 无需额外详细信息。",
1146
1103
  "core.createProjectQuestion.mcpForDa.Auth.EntraSSO": "Entra SSO",
1147
1104
  "core.createProjectQuestion.mcpForDa.Auth.EntraSSO.Detail": "使用 Microsoft Entra 应用进行单一登录。工具包会要求提供 Entra 应用客户端 ID。",
1148
- "core.createProjectQuestion.mcpForDa.Auth.BearerToken.Detail": "Send an API key as an HTTP Bearer token.",
1105
+ "core.createProjectQuestion.mcpForDa.Auth.BearerToken.Detail": "将 API 密钥作为 HTTP 持有者令牌发送。",
1149
1106
  "core.createProjectQuestion.mcpForDa.Auth.None": "无",
1150
1107
  "core.createProjectQuestion.mcpForDa.Auth.None.Detail": "MCP 服务器不需要身份验证。",
1151
1108
  "core.createProjectQuestion.mcpForDa.ClientId.title": "OAuth 客户端 ID",
@@ -1156,12 +1113,13 @@
1156
1113
  "core.createProjectQuestion.mcpForDa.ClientSecret.required": "OAuth 客户端密钥是必需的。",
1157
1114
  "core.createProjectQuestion.mcpForDa.Scopes.title": "OAuth 范围(可选)",
1158
1115
  "core.createProjectQuestion.mcpForDa.Scopes.placeholder": "以空格分隔的 OAuth 范围,例如 \"read:user repo\"",
1159
- "core.createProjectQuestion.mcpForDa.ApiKey.title": "API Key",
1160
- "core.createProjectQuestion.mcpForDa.ApiKey.placeholder": "Enter the API key sent as a bearer token",
1161
- "core.createProjectQuestion.mcpForDa.ApiKey.required": "API key is required.",
1116
+ "core.createProjectQuestion.mcpForDa.ApiKey.title": "API 密钥",
1117
+ "core.createProjectQuestion.mcpForDa.ApiKey.placeholder": "输入作为持有者令牌发送的 API 密钥",
1118
+ "core.createProjectQuestion.mcpForDa.ApiKey.required": "API 密钥是必需的。",
1162
1119
  "core.createProjectQuestion.mcpForDa.EntraClientId.title": "Microsoft Entra 应用程序(客户端) ID",
1163
1120
  "core.createProjectQuestion.mcpForDa.EntraClientId.placeholder": "输入 Microsoft Entra 应用注册的应用程序(客户端) ID",
1164
1121
  "core.createProjectQuestion.mcpForDa.EntraClientId.required": "需要提供 Microsoft Entra 应用程序(客户端) ID。",
1122
+ "driver.oauth.error.supportedAccountTypesUnsupportedCloud": "仅在 Microsoft 365 商业云环境中支持 includePersonalMicrosoftAccounts 选项。",
1165
1123
  "core.createProjectQuestion.mcpForDa.File.title": "选择要更新的操作清单",
1166
1124
  "core.createProjectQuestion.mcpForDa.File.createNew.label": "创建新的 ai-plugin.json 文件",
1167
1125
  "core.createProjectQuestion.mcpForDa.File.createNew.title": "请为新的操作清单文件命名",
@@ -1183,9 +1141,9 @@
1183
1141
  "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "已成功搭建基架,但无法自动发现 OAuth 终结点。你的 MCP 服务器可访问,但未播发其 OAuth 终结点—ATK 会检查服务器的 OAuth 元数据(\".well-known/oauth-authorization-server\")并找到 \"none\"。在预配前,将 \"m365agents.yml\" 中的 \"wellKnownAuthorizationServer\" 占位符替换为正确的值。",
1184
1142
  "core.MCPForDA.mcpAuthOAuthPlaceholderWarning": "已成功搭建基架,但无法自动发现 OAuth 终结点。你的 MCP 服务器可访问,但未播发其 OAuth 终结点—ATK 会检查服务器的 OAuth 元数据(\".well-known/oauth-authorization-server\")并找到 \"none\"。在预配前,将 \"m365agents.yml\" 中的 \"authorizationUrl\" 和 \"tokenUrl\" 占位符替换为正确的值。",
1185
1143
  "core.v4.scaffold.existingFileSkipped": "“%s”已存在且未被覆盖。请删除或重命名它以重新生成文件。",
1186
- "core.v4.scaffold.languageOptionsInvalid": "The template package contains invalid language presentation metadata.",
1187
- "core.v4.scaffold.languageOptionsFailed": "Failed to load language choices from the template package.",
1188
- "core.v4.scaffold.openApiAuthYamlInvalid": "Cannot add OpenAPI authentication actions. The project YAML must be valid and contain a provision action list.",
1144
+ "core.v4.scaffold.languageOptionsInvalid": "模板包中包含无效的语言呈现元数据。",
1145
+ "core.v4.scaffold.languageOptionsFailed": "未能从模板包加载语言选项。",
1146
+ "core.v4.scaffold.openApiAuthYamlInvalid": "无法添加 OpenAPI 身份验证操作。项目 YAML 必须有效,并包含预配操作列表。",
1189
1147
  "core.MCPForDA.mcpAuthMetadataUrlNotFound": "无法从 MCP 服务器响应的 \"resource_metadata\" 属性中找到身份验证元数据。",
1190
1148
  "core.MCPForDA.mcpServerMetadataUrlNotFound": "无法从 MCP 服务器受保护资源元数据响应的 \"authorization_servers\" 属性中找到服务器元数据。",
1191
1149
  "core.MCPForDA.authUrlNotFound": "无法在 MCP 服务器的授权服务器元数据响应中找到身份验证 URL。已尝试: %s",
@@ -1202,26 +1160,26 @@
1202
1160
  "core.MCPForDA.authRequired": "位于 %s 的 MCP 服务器需要身份验证。无法自动提取工具。若要添加工具,请运行:\n %s",
1203
1161
  "core.MCPForDA.noToolsFetched": "未从位于 %s 的 MCP 服务器发现任何工具。若要稍后添加工具,请运行:\n %s",
1204
1162
  "core.MCPForDA.mcpServerUrlNotAnEndpoint": "%s 以 HTTP %s 响应了 MCP 初始化请求,因此它可能不是 MCP 服务器 URL。在预配前请验证 URL。",
1205
- "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.",
1206
- "core.openPluginImport.autoAuthOAuth": "Auto inferred OAuthPluginVault for MCP server '%s'. The generated reference ID is a placeholder and must be registered before use.",
1207
- "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.",
1208
- "core.openPluginImport.failed": "Failed to import the Agent Plugin.",
1209
- "core.openPluginImport.invalidManifest": "The mapped Teams manifest is invalid: %s",
1210
- "core.openPluginImport.invalidOutputPath": "The output path must not be a symbolic link or junction: %s.",
1211
- "core.openPluginImport.invalidPlugin": "The Agent Plugin is invalid: %s",
1212
- "core.openPluginImport.missingPluginPath": "The --path option is required.",
1213
- "core.openPluginImport.outputDirectoryNotEmpty": "The output directory is not empty: %s. Choose a different --output path or empty the directory.",
1214
- "core.openPluginImport.unresolvedMcpAuth": "Unable to resolve authentication for MCP server '%s' while --default-auth-type is Auto. Specify None, OAuthPluginVault, or ApiKeyPluginVault explicitly.",
1215
- "core.openPluginExport.failed": "Failed to export the Agent Plugin.",
1216
- "core.openPluginExport.invalidAgentPluginManifest": "The project cannot be exported as an Agent Plugins 1.0.0 manifest.",
1217
- "core.openPluginExport.invalidManifest": "The project manifest is invalid.",
1218
- "core.openPluginExport.invalidMcpServerUrl": "The project contains an MCP server URL that cannot be exported.",
1219
- "core.openPluginExport.invalidOutputPath": "The output path must not be a symbolic link or junction.",
1220
- "core.openPluginExport.invalidProjectPath": "The project path is invalid.",
1221
- "core.openPluginExport.invalidProjectStructure": "The project structure is invalid.",
1222
- "core.openPluginExport.manifestNotFound": "appPackage/manifest.json was not found in the project.",
1223
- "core.openPluginExport.missingProjectPath": "The --path option is required.",
1224
- "core.openPluginExport.outputDirectoryNotEmpty": "The output directory is not empty. Choose a different --output path or empty the directory.",
1163
+ "core.openPluginImport.autoAuthNone": "已为 MCP 服务器“%s”自动推断身份验证类型为 None。如果单个工具需要身份验证或使用 API 密钥,请验证此选择。",
1164
+ "core.openPluginImport.autoAuthOAuth": "自动推断的 MCP 服务器 OAuthPluginVault '%s'。生成的引用 ID 是占位符,必须在使用前注册。",
1165
+ "core.openPluginImport.authFallback": "在确认需要身份验证后,无法为 MCP 服务器“%s”解析 OAuth 元数据。自动回退到 OAuthPluginVault。请验证身份验证类型,并在使用前注册生成的引用 ID。",
1166
+ "core.openPluginImport.failed": "未能导入智能体插件。",
1167
+ "core.openPluginImport.invalidManifest": "映射的 Teams 清单无效: %s",
1168
+ "core.openPluginImport.invalidOutputPath": "输出路径不能是符号链接或交接点: %s。",
1169
+ "core.openPluginImport.invalidPlugin": "智能体插件无效: %s",
1170
+ "core.openPluginImport.missingPluginPath": "--path 选项是必需的。",
1171
+ "core.openPluginImport.outputDirectoryNotEmpty": "输出目录不为空: %s。选择其他 --output 路径或清空目录。",
1172
+ "core.openPluginImport.unresolvedMcpAuth": "当 --default-auth-type 为 Auto 时,无法为 MCP 服务器“%s”解析身份验证。请显式指定 None、OAuthPluginVault 或 ApiKeyPluginVault。",
1173
+ "core.openPluginExport.failed": "未能导出智能体插件。",
1174
+ "core.openPluginExport.invalidAgentPluginManifest": "无法将项目导出为 Agent Plugins 1.0.0 清单。",
1175
+ "core.openPluginExport.invalidManifest": "项目清单无效。",
1176
+ "core.openPluginExport.invalidMcpServerUrl": "项目包含无法导出的 MCP 服务器 URL。",
1177
+ "core.openPluginExport.invalidOutputPath": "输出路径不能是符号链接或交接点。",
1178
+ "core.openPluginExport.invalidProjectPath": "项目路径无效。",
1179
+ "core.openPluginExport.invalidProjectStructure": "项目结构无效。",
1180
+ "core.openPluginExport.manifestNotFound": "在项目中找不到 appPackage/manifest.json。",
1181
+ "core.openPluginExport.missingProjectPath": "--path 选项是必需的。",
1182
+ "core.openPluginExport.outputDirectoryNotEmpty": "输出目录不为空。选择其他 --output 路径或清空目录。",
1225
1183
  "core.MCPForDA.openYmlFile": "打开 m365agents.yml",
1226
1184
  "core.MCPForDA.fetchError": "未能从位于 %s 的 MCP 服务器提取工具。若要稍后添加工具,请运行:\n %s"
1227
1185
  }