@microsoft/teamsfx-core 3.1.2 → 3.1.3-alpha.f04bf264d7.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 (152) hide show
  1. package/build/client/teamsDevPortalClient.d.ts +1 -1
  2. package/build/client/teamsDevPortalClient.d.ts.map +1 -1
  3. package/build/client/teamsDevPortalClient.js +4 -2
  4. package/build/client/teamsDevPortalClient.js.map +1 -1
  5. package/build/common/cancellation.d.ts +5 -0
  6. package/build/common/cancellation.d.ts.map +1 -0
  7. package/build/common/cancellation.js +17 -0
  8. package/build/common/cancellation.js.map +1 -0
  9. package/build/common/globalVars.d.ts.map +1 -1
  10. package/build/common/globalVars.js.map +1 -1
  11. package/build/common/mcpToolFetcher.d.ts +2 -2
  12. package/build/common/mcpToolFetcher.d.ts.map +1 -1
  13. package/build/common/mcpToolFetcher.js +27 -7
  14. package/build/common/mcpToolFetcher.js.map +1 -1
  15. package/build/common/permissionInterface.d.ts +12 -3
  16. package/build/common/permissionInterface.d.ts.map +1 -1
  17. package/build/common/permissionInterface.js +7 -1
  18. package/build/common/permissionInterface.js.map +1 -1
  19. package/build/common/templates-config.json +3 -3
  20. package/build/common/treatmentVariables.d.ts +5 -0
  21. package/build/common/treatmentVariables.d.ts.map +1 -0
  22. package/build/common/treatmentVariables.js +10 -0
  23. package/build/common/treatmentVariables.js.map +1 -0
  24. package/build/component/configManager/lifecycle.d.ts +2 -2
  25. package/build/component/configManager/lifecycle.d.ts.map +1 -1
  26. package/build/component/configManager/lifecycle.js +23 -9
  27. package/build/component/configManager/lifecycle.js.map +1 -1
  28. package/build/component/driver/botAadApp/create.js +1 -1
  29. package/build/component/driver/botAadApp/create.js.map +1 -1
  30. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js +1 -1
  31. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
  32. package/build/component/driver/deploy/azure/impl/azureDeployImpl.js +2 -2
  33. package/build/component/driver/deploy/azure/impl/azureDeployImpl.js.map +1 -1
  34. package/build/component/driver/interface/buildAndDeployArgs.d.ts +1 -1
  35. package/build/component/driver/interface/buildAndDeployArgs.d.ts.map +1 -1
  36. package/build/component/driver/interface/commonArgs.d.ts +2 -1
  37. package/build/component/driver/interface/commonArgs.d.ts.map +1 -1
  38. package/build/component/driver/script/baseBuildDriver.d.ts +1 -2
  39. package/build/component/driver/script/baseBuildDriver.d.ts.map +1 -1
  40. package/build/component/driver/script/baseBuildDriver.js +0 -2
  41. package/build/component/driver/script/baseBuildDriver.js.map +1 -1
  42. package/build/component/driver/teamsApp/teamsappMgr.d.ts +2 -0
  43. package/build/component/driver/teamsApp/teamsappMgr.d.ts.map +1 -1
  44. package/build/component/driver/teamsApp/teamsappMgr.js +32 -0
  45. package/build/component/driver/teamsApp/teamsappMgr.js.map +1 -1
  46. package/build/component/driver/teamsApp/validateAppPackage.d.ts +13 -0
  47. package/build/component/driver/teamsApp/validateAppPackage.d.ts.map +1 -1
  48. package/build/component/driver/teamsApp/validateAppPackage.js +53 -3
  49. package/build/component/driver/teamsApp/validateAppPackage.js.map +1 -1
  50. package/build/component/driver/util/utils.d.ts.map +1 -1
  51. package/build/component/driver/util/utils.js +1 -0
  52. package/build/component/driver/util/utils.js.map +1 -1
  53. package/build/component/feature/sso.js +2 -2
  54. package/build/component/feature/sso.js.map +1 -1
  55. package/build/component/generator/configFiles/configGenerator.js +1 -1
  56. package/build/component/generator/configFiles/configGenerator.js.map +1 -1
  57. package/build/component/generator/openApiSpec/common.js +1 -1
  58. package/build/component/generator/openApiSpec/common.js.map +1 -1
  59. package/build/component/generator/openApiSpec/helper.js +3 -3
  60. package/build/component/generator/openApiSpec/helper.js.map +1 -1
  61. package/build/component/generator/spfx/spfxGenerator.js +5 -5
  62. package/build/component/generator/spfx/spfxGenerator.js.map +1 -1
  63. package/build/component/m365/errors.d.ts +7 -0
  64. package/build/component/m365/errors.d.ts.map +1 -1
  65. package/build/component/m365/errors.js +16 -1
  66. package/build/component/m365/errors.js.map +1 -1
  67. package/build/component/m365/packageService.d.ts +4 -5
  68. package/build/component/m365/packageService.d.ts.map +1 -1
  69. package/build/component/m365/packageService.js +69 -112
  70. package/build/component/m365/packageService.js.map +1 -1
  71. package/build/component/m365/serviceConstant.d.ts.map +1 -1
  72. package/build/component/m365/serviceConstant.js +0 -10
  73. package/build/component/m365/serviceConstant.js.map +1 -1
  74. package/build/component/middleware/questionMW.d.ts.map +1 -1
  75. package/build/component/middleware/questionMW.js +3 -0
  76. package/build/component/middleware/questionMW.js.map +1 -1
  77. package/build/component/utils/envFunctionUtils.js +1 -1
  78. package/build/component/utils/envFunctionUtils.js.map +1 -1
  79. package/build/core/FxCore.d.ts +4 -3
  80. package/build/core/FxCore.d.ts.map +1 -1
  81. package/build/core/FxCore.declarativeAgent.d.ts.map +1 -1
  82. package/build/core/FxCore.declarativeAgent.js +11 -4
  83. package/build/core/FxCore.declarativeAgent.js.map +1 -1
  84. package/build/core/FxCore.js +54 -21
  85. package/build/core/FxCore.js.map +1 -1
  86. package/build/core/FxCoreClient.d.ts +96 -0
  87. package/build/core/FxCoreClient.d.ts.map +1 -0
  88. package/build/core/FxCoreClient.js +159 -0
  89. package/build/core/FxCoreClient.js.map +1 -0
  90. package/build/core/collaborator.d.ts +1 -0
  91. package/build/core/collaborator.d.ts.map +1 -1
  92. package/build/core/collaborator.js +37 -0
  93. package/build/core/collaborator.js.map +1 -1
  94. package/build/core/createFrontDoorAdapters.d.ts.map +1 -1
  95. package/build/core/createFrontDoorAdapters.js +38 -4
  96. package/build/core/createFrontDoorAdapters.js.map +1 -1
  97. package/build/core/createProjectFrontDoor.d.ts.map +1 -1
  98. package/build/core/createProjectFrontDoor.js +6 -41
  99. package/build/core/createProjectFrontDoor.js.map +1 -1
  100. package/build/core/modifyProjectFrontDoor.d.ts.map +1 -1
  101. package/build/core/modifyProjectFrontDoor.js +0 -1
  102. package/build/core/modifyProjectFrontDoor.js.map +1 -1
  103. package/build/index.d.ts +6 -5
  104. package/build/index.d.ts.map +1 -1
  105. package/build/index.js +13 -12
  106. package/build/index.js.map +1 -1
  107. package/build/question/other.d.ts.map +1 -1
  108. package/build/question/other.js +3 -0
  109. package/build/question/other.js.map +1 -1
  110. package/build/v4/buildTarget/parseSelector.d.ts.map +1 -1
  111. package/build/v4/buildTarget/parseSelector.js +2 -6
  112. package/build/v4/buildTarget/parseSelector.js.map +1 -1
  113. package/build/v4/buildTarget/resolveBuildTarget.d.ts +1 -4
  114. package/build/v4/buildTarget/resolveBuildTarget.d.ts.map +1 -1
  115. package/build/v4/buildTarget/resolveBuildTarget.js +6 -23
  116. package/build/v4/buildTarget/resolveBuildTarget.js.map +1 -1
  117. package/build/v4/surface/createSelectorWalk.d.ts.map +1 -1
  118. package/build/v4/surface/createSelectorWalk.js +0 -3
  119. package/build/v4/surface/createSelectorWalk.js.map +1 -1
  120. package/build/v4/surface/modifySelectorWalk.d.ts.map +1 -1
  121. package/build/v4/surface/modifySelectorWalk.js +0 -3
  122. package/build/v4/surface/modifySelectorWalk.js.map +1 -1
  123. package/package.json +6 -6
  124. package/resource/package.nls.cs.json +8 -3
  125. package/resource/package.nls.de.json +8 -3
  126. package/resource/package.nls.es.json +8 -3
  127. package/resource/package.nls.fr.json +8 -3
  128. package/resource/package.nls.it.json +8 -3
  129. package/resource/package.nls.ja.json +8 -3
  130. package/resource/package.nls.json +2 -0
  131. package/resource/package.nls.ko.json +8 -3
  132. package/resource/package.nls.pl.json +8 -3
  133. package/resource/package.nls.pt-BR.json +8 -3
  134. package/resource/package.nls.ru.json +8 -3
  135. package/resource/package.nls.tr.json +8 -3
  136. package/resource/package.nls.zh-Hans.json +8 -3
  137. package/resource/package.nls.zh-Hant.json +8 -3
  138. package/resource/yaml-schema/v1.13/yaml.schema.json +1 -1
  139. package/resource/yaml-schema/yaml.schema.json +1 -1
  140. package/templates/configs/remote/python/env/.env.dev +2 -1
  141. package/templates/configs/remote/python/m365agents.yml.tpl +1 -0
  142. package/templates/configs/remote/typescript/env/.env.dev +2 -1
  143. package/templates/configs/remote/typescript/m365agents.yml.tpl +1 -0
  144. package/templates/fallback/common.zip +0 -0
  145. package/templates/fallback/csharp.zip +0 -0
  146. package/templates/fallback/js.zip +0 -0
  147. package/templates/fallback/python.zip +0 -0
  148. package/templates/fallback/ts.zip +0 -0
  149. package/templates/metadata.zip +0 -0
  150. package/templates/v4/floor.json +1 -1
  151. package/templates/v4/templates-metadata.zip +0 -0
  152. package/templates/v4/templates.zip +0 -0
@@ -1116,6 +1116,8 @@
1116
1116
  "error.kiotaClient.EmptyResult": "Pobierz pusty wynik podczas analizowania pliku opisu Interfejsu OpenAPI.",
1117
1117
  "core.createProjectQuestion.mcpForDa.ServerUrl.title": "Adres URL serwera MCP",
1118
1118
  "core.createProjectQuestion.mcpForDa.ServerUrl.placeholder": "Wprowadź adres URL serwera MCP (np. https://example-mcp.com)",
1119
+ "core.createProjectQuestion.mcpForDa.ServerUrl.notAnMcpEndpoint": "Couldn't reach an MCP server at this URL (returned 404 to the MCP 'initialize' request). Verify the URL, or confirm the server is running.",
1120
+ "core.createProjectQuestion.mcpForDa.ServerUrl.invalidUrl": "Enter an absolute URL that starts with https:// or http://.",
1119
1121
  "core.createProjectQuestion.mcpForDa.PreFetchTools.title": "Wybierz operacje, z którymi funkcja Copilot może wchodzić w interakcje",
1120
1122
  "core.createProjectQuestion.mcpForDa.AuthType.title": "Wybierz typ uwierzytelniania",
1121
1123
  "core.createProjectQuestion.mcpForDa.Auth.OAuth": "OAuth (z rejestracją statyczną)",
@@ -1155,11 +1157,12 @@
1155
1157
  "core.createProjectQuestion.mcpLocalServer.validationHelp": "Należy wybrać co najmniej jeden serwer MCP",
1156
1158
  "core.MCPForDA.updatePluginManifest": "Operacje wybrane z serwera MCP zostały pomyślnie dodane dla funkcji Copilot na potrzeby interakcji. Możesz przejść do „%s”, aby sprawdzić szczegóły. Teraz możesz aprowizować agenta deklaratywnego, aby kontynuować.",
1157
1159
  "core.MCPForDA.mcpAuthMetadataMissingError": "Nie można odnaleźć metadanych uwierzytelniania na serwerze MCP. Upewnij się, że serwer MCP jest poprawnie skonfigurowany, i spróbuj ponownie. Szczegóły: %s",
1158
- "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "Nie można odnaleźć dobrze znanego adresu URL serwera autoryzacji OAuth dla serwera MCP „%s”. Akcja „dcr/register” została dodana do m365agents.yml z symbolem zastępczym przed aprowizowaniem zastąp ciąg „<PLEASE_FILL_IN_WELL_KNOWN_AUTHORIZATION_SERVER_URL>” poprawnym adresem URL.",
1160
+ "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "Scaffolding succeeded, but the OAuth endpoints couldn't be discovered automatically. Your MCP server is reachable, but it doesn't advertise its OAuth endpoints ATK checks the server's OAuth metadata ('.well-known/oauth-authorization-server') and found 'none'. Replace the 'wellKnownAuthorizationServer' placeholder in 'm365agents.yml' with the right value before provisioning.",
1161
+ "core.MCPForDA.mcpAuthOAuthPlaceholderWarning": "Scaffolding succeeded, but the OAuth endpoints couldn't be discovered automatically. Your MCP server is reachable, but it doesn't advertise its OAuth endpoints — ATK checks the server's OAuth metadata ('.well-known/oauth-authorization-server') and found 'none'. Replace the 'authorizationUrl' and 'tokenUrl' placeholders in 'm365agents.yml' with the right values before provisioning.",
1159
1162
  "core.v4.scaffold.existingFileSkipped": "Element „%s” istnieje i nie został zastąpiony. Usuń plik lub zmień jego nazwę, aby odbudować plik.",
1160
1163
  "core.MCPForDA.mcpAuthMetadataUrlNotFound": "Nie można odnaleźć metadanych uwierzytelniania z właściwości „resource_metadata” z odpowiedzi serwera MCP.",
1161
- "core.MCPForDA.mcpServerMetadataUrlNotFound": "Nie można odnaleźć metadanych serwera z właściwości authorization_servers z repozytorium chronionych metadanych zasobu serwera MCP.",
1162
- "core.MCPForDA.authUrlNotFound": "Nie można odnaleźć adresów URL uwierzytelniania z odpowiedzi na metadane serwera autoryzacji serwera MCP.",
1164
+ "core.MCPForDA.mcpServerMetadataUrlNotFound": "Unable to find the server metadata from property \"authorization_servers\" from response of the Protected Resource Metadata of the MCP server.",
1165
+ "core.MCPForDA.authUrlNotFound": "Unable to find the authentication URL(s) from response of Authorization Server Metadata of the MCP server. Attempted: %s",
1163
1166
  "core.MCPForDA.toolsFileNotFound": "nie znaleziono pliku narzędzi MCP: %s",
1164
1167
  "core.MCPForDA.toolsFileInvalidFormat": "Nieprawidłowy format pliku narzędzi MCP. Oczekiwano %s lub tablicę narzędzi JSON: %s",
1165
1168
  "core.MCPForDA.toolsFileMissingName": "Każde narzędzie w pliku narzędzi MCP musi mieć właściwość %s: %s",
@@ -1172,5 +1175,7 @@
1172
1175
  "core.MCPForDA.toolsFileReadError": "Nie można odczytać pliku narzędzi MCP: %s. Aby dodać narzędzia później, uruchom:\n %s",
1173
1176
  "core.MCPForDA.authRequired": "Serwer MCP w %s wymaga uwierzytelnienia. Nie można automatycznie pobrać narzędzi. Aby dodać narzędzia, uruchom:\n %s",
1174
1177
  "core.MCPForDA.noToolsFetched": "Nie odnaleziono żadnych narzędzi na serwerze MCP w %s. Aby dodać narzędzia później, uruchom:\n %s",
1178
+ "core.MCPForDA.mcpServerUrlNotAnEndpoint": "%s answered an MCP initialize request with HTTP %s, so it may not be an MCP server URL. Verify the URL before provisioning.",
1179
+ "core.MCPForDA.openYmlFile": "Open m365agents.yml",
1175
1180
  "core.MCPForDA.fetchError": "Nie można pobrać narzędzi z serwera MCP w %s. Aby dodać narzędzia później, uruchom:\n %s"
1176
1181
  }
@@ -1116,6 +1116,8 @@
1116
1116
  "error.kiotaClient.EmptyResult": "Obter resultado vazio ao analisar o arquivo de descrição OpenAPI.",
1117
1117
  "core.createProjectQuestion.mcpForDa.ServerUrl.title": "URL do Servidor MCP",
1118
1118
  "core.createProjectQuestion.mcpForDa.ServerUrl.placeholder": "Insira a URL do seu servidor MCP (por exemplo, https://example-mcp.com)",
1119
+ "core.createProjectQuestion.mcpForDa.ServerUrl.notAnMcpEndpoint": "Couldn't reach an MCP server at this URL (returned 404 to the MCP 'initialize' request). Verify the URL, or confirm the server is running.",
1120
+ "core.createProjectQuestion.mcpForDa.ServerUrl.invalidUrl": "Enter an absolute URL that starts with https:// or http://.",
1119
1121
  "core.createProjectQuestion.mcpForDa.PreFetchTools.title": "Selecione as operações com as quais o Copilot pode interagir",
1120
1122
  "core.createProjectQuestion.mcpForDa.AuthType.title": "Selecionar Tipo de Autenticação",
1121
1123
  "core.createProjectQuestion.mcpForDa.Auth.OAuth": "OAuth (com registro estático)",
@@ -1155,11 +1157,12 @@
1155
1157
  "core.createProjectQuestion.mcpLocalServer.validationHelp": "Pelo menos um servidor MCP deve ser selecionado",
1156
1158
  "core.MCPForDA.updatePluginManifest": "As operações selecionadas do seu servidor MCP foram adicionadas com sucesso para que o Copilot possa interagir com elas. Você pode acessar “%s” para verificar os detalhes. Agora você pode provisionar seu agente declarativo para continuar.",
1157
1159
  "core.MCPForDA.mcpAuthMetadataMissingError": "Não foi possível localizar os metadados de autenticação no servidor MCP. Verifique se seu servidor MCP está configurado corretamente e tente novamente. Detalhes: %s",
1158
- "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "Não foi possível descobrir a URL conhecida do servidor de autorização OAuth para o servidor MCP '%s'. A ação 'dcr/register' foi adicionada ao m365agents.yml com um espaço reservado substitua '<PLEASE_FILL_IN_WELL_KNOWN_AUTHORIZATION_SERVER_URL>' pela URL correta antes do provisionamento.",
1160
+ "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "Scaffolding succeeded, but the OAuth endpoints couldn't be discovered automatically. Your MCP server is reachable, but it doesn't advertise its OAuth endpoints ATK checks the server's OAuth metadata ('.well-known/oauth-authorization-server') and found 'none'. Replace the 'wellKnownAuthorizationServer' placeholder in 'm365agents.yml' with the right value before provisioning.",
1161
+ "core.MCPForDA.mcpAuthOAuthPlaceholderWarning": "Scaffolding succeeded, but the OAuth endpoints couldn't be discovered automatically. Your MCP server is reachable, but it doesn't advertise its OAuth endpoints — ATK checks the server's OAuth metadata ('.well-known/oauth-authorization-server') and found 'none'. Replace the 'authorizationUrl' and 'tokenUrl' placeholders in 'm365agents.yml' with the right values before provisioning.",
1159
1162
  "core.v4.scaffold.existingFileSkipped": "''%s'' existe e não foi substituído. Exclua-o ou renomeie-o para recriar o arquivo.",
1160
1163
  "core.MCPForDA.mcpAuthMetadataUrlNotFound": "Não foi possível localizar os metadados de autenticação da propriedade \"resource_metadata\" da resposta do servidor MCP.",
1161
- "core.MCPForDA.mcpServerMetadataUrlNotFound": "Não foi possível encontrar os metadados do servidor na propriedade \"authorization_servers\" na resposta dos Metadados de Recurso Protegido do servidor MCP.",
1162
- "core.MCPForDA.authUrlNotFound": "Não foi possível localizar as URLs de autenticação da resposta dos Metadados do Servidor de Autorização do servidor MCP.",
1164
+ "core.MCPForDA.mcpServerMetadataUrlNotFound": "Unable to find the server metadata from property \"authorization_servers\" from response of the Protected Resource Metadata of the MCP server.",
1165
+ "core.MCPForDA.authUrlNotFound": "Unable to find the authentication URL(s) from response of Authorization Server Metadata of the MCP server. Attempted: %s",
1163
1166
  "core.MCPForDA.toolsFileNotFound": "Arquivo de ferramentas MCP não encontrado: %s",
1164
1167
  "core.MCPForDA.toolsFileInvalidFormat": "Formato de arquivo de ferramentas MCP inválido. Esperado %s ou uma matriz JSON de ferramentas: %s",
1165
1168
  "core.MCPForDA.toolsFileMissingName": "Cada ferramenta no arquivo de ferramentas MCP deve ter uma propriedade %s: %s",
@@ -1172,5 +1175,7 @@
1172
1175
  "core.MCPForDA.toolsFileReadError": "Falha ao ler o arquivo da ferramentas MCP: %s. Para adicionar ferramentas posteriormente, execute:\n %s",
1173
1176
  "core.MCPForDA.authRequired": "O servidor MCP em %s requer autenticação. Não foi possível buscar ferramentas automaticamente. Para adicionar ferramentas, execute:\n %s",
1174
1177
  "core.MCPForDA.noToolsFetched": "Nenhuma ferramenta foi detectada no servidor MCP em %s. Para adicionar ferramentas posteriormente, execute:\n %s",
1178
+ "core.MCPForDA.mcpServerUrlNotAnEndpoint": "%s answered an MCP initialize request with HTTP %s, so it may not be an MCP server URL. Verify the URL before provisioning.",
1179
+ "core.MCPForDA.openYmlFile": "Open m365agents.yml",
1175
1180
  "core.MCPForDA.fetchError": "Falha ao buscar ferramentas no servidor MCP em %s. Para adicionar ferramentas posteriormente, execute:\n %s"
1176
1181
  }
@@ -1116,6 +1116,8 @@
1116
1116
  "error.kiotaClient.EmptyResult": "Получите пустой результат при анализе файла описания OpenAPI.",
1117
1117
  "core.createProjectQuestion.mcpForDa.ServerUrl.title": "URL-адрес сервера MCP",
1118
1118
  "core.createProjectQuestion.mcpForDa.ServerUrl.placeholder": "Введите URL-адрес сервера MCP (например, https://example-mcp.com)",
1119
+ "core.createProjectQuestion.mcpForDa.ServerUrl.notAnMcpEndpoint": "Couldn't reach an MCP server at this URL (returned 404 to the MCP 'initialize' request). Verify the URL, or confirm the server is running.",
1120
+ "core.createProjectQuestion.mcpForDa.ServerUrl.invalidUrl": "Enter an absolute URL that starts with https:// or http://.",
1119
1121
  "core.createProjectQuestion.mcpForDa.PreFetchTools.title": "Выберите операции, с которыми может взаимодействовать Copilot",
1120
1122
  "core.createProjectQuestion.mcpForDa.AuthType.title": "Выберите тип проверки подлинности",
1121
1123
  "core.createProjectQuestion.mcpForDa.Auth.OAuth": "OAuth (со статической регистрацией)",
@@ -1155,11 +1157,12 @@
1155
1157
  "core.createProjectQuestion.mcpLocalServer.validationHelp": "Необходимо выбрать хотя бы один сервер MCP",
1156
1158
  "core.MCPForDA.updatePluginManifest": "Операции, выбранные на сервере MCP, добавлены для взаимодействия в Copilot. Вы можете перейти в \"%s\" для просмотра подробностей. Теперь можно подготовить декларативный агент для продолжения.",
1157
1159
  "core.MCPForDA.mcpAuthMetadataMissingError": "Не удалось найти метаданные проверки подлинности на сервере MCP. Убедитесь, что сервер MCP настроен правильно, и повторите попытку. Сведения: %s",
1158
- "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "Не удалось обнаружить стандартный URL-адрес сервера авторизации OAuth для сервера MCP \"%s\". В файл m365agents.yml было добавлено действие \"dcr/register\" с заполнителем перед развертыванием замените \"<PLEASE_FILL_IN_WELL_KNOWN_AUTHORIZATION_SERVER_URL>\" на корректный URL.",
1160
+ "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "Scaffolding succeeded, but the OAuth endpoints couldn't be discovered automatically. Your MCP server is reachable, but it doesn't advertise its OAuth endpoints — ATK checks the server's OAuth metadata ('.well-known/oauth-authorization-server') and found 'none'. Replace the 'wellKnownAuthorizationServer' placeholder in 'm365agents.yml' with the right value before provisioning.",
1161
+ "core.MCPForDA.mcpAuthOAuthPlaceholderWarning": "Scaffolding succeeded, but the OAuth endpoints couldn't be discovered automatically. Your MCP server is reachable, but it doesn't advertise its OAuth endpoints — ATK checks the server's OAuth metadata ('.well-known/oauth-authorization-server') and found 'none'. Replace the 'authorizationUrl' and 'tokenUrl' placeholders in 'm365agents.yml' with the right values before provisioning.",
1159
1162
  "core.v4.scaffold.existingFileSkipped": "\"%s\" существует и не был перезаписан. Удалите или переименуйте его, чтобы заново создать файл.",
1160
1163
  "core.MCPForDA.mcpAuthMetadataUrlNotFound": "Не удалось найти метаданные проверки подлинности в свойстве \"resource_metadata\" в ответе сервера MCP.",
1161
- "core.MCPForDA.mcpServerMetadataUrlNotFound": "Не удалось найти метаданные сервера в свойстве \"authorization_servers\" в ответе метаданных защищенных ресурсов сервера MCP.",
1162
- "core.MCPForDA.authUrlNotFound": "Не удалось найти URL-адрес проверки подлинности в ответе метаданных сервера авторизации MCP.",
1164
+ "core.MCPForDA.mcpServerMetadataUrlNotFound": "Unable to find the server metadata from property \"authorization_servers\" from response of the Protected Resource Metadata of the MCP server.",
1165
+ "core.MCPForDA.authUrlNotFound": "Unable to find the authentication URL(s) from response of Authorization Server Metadata of the MCP server. Attempted: %s",
1163
1166
  "core.MCPForDA.toolsFileNotFound": "Файл инструментов MCP не найден: %s",
1164
1167
  "core.MCPForDA.toolsFileInvalidFormat": "Неверный формат файла инструментов MCP. Ожидается %s или JSON-массив инструментов: %s",
1165
1168
  "core.MCPForDA.toolsFileMissingName": "Каждый инструмент в файле инструментов MCP должен содержать свойство %s: %s",
@@ -1172,5 +1175,7 @@
1172
1175
  "core.MCPForDA.toolsFileReadError": "Не удалось прочитать файл инструментов MCP: %s. Чтобы добавить инструменты позже, выполните:\n %s",
1173
1176
  "core.MCPForDA.authRequired": "Сервер MCP в %s требует проверку подлинности. Не удалось автоматически получить инструменты. Чтобы добавить инструменты, выполните:\n %s",
1174
1177
  "core.MCPForDA.noToolsFetched": "Не обнаружены инструменты на сервере MCP в %s. Чтобы добавить инструменты позже, выполните:\n %s",
1178
+ "core.MCPForDA.mcpServerUrlNotAnEndpoint": "%s answered an MCP initialize request with HTTP %s, so it may not be an MCP server URL. Verify the URL before provisioning.",
1179
+ "core.MCPForDA.openYmlFile": "Open m365agents.yml",
1175
1180
  "core.MCPForDA.fetchError": "Не удалось получить инструменты с сервера MCP в %s. Чтобы добавить инструменты позже, выполните:\n %s"
1176
1181
  }
@@ -1116,6 +1116,8 @@
1116
1116
  "error.kiotaClient.EmptyResult": "OpenAPI açıklama dosyasını ayrıştırırken boş sonuç alındı.",
1117
1117
  "core.createProjectQuestion.mcpForDa.ServerUrl.title": "MCP Sunucusu URL'si",
1118
1118
  "core.createProjectQuestion.mcpForDa.ServerUrl.placeholder": "MCP sunucu URL'nizi girin (ör. https://example-mcp.com)",
1119
+ "core.createProjectQuestion.mcpForDa.ServerUrl.notAnMcpEndpoint": "Couldn't reach an MCP server at this URL (returned 404 to the MCP 'initialize' request). Verify the URL, or confirm the server is running.",
1120
+ "core.createProjectQuestion.mcpForDa.ServerUrl.invalidUrl": "Enter an absolute URL that starts with https:// or http://.",
1119
1121
  "core.createProjectQuestion.mcpForDa.PreFetchTools.title": "Copilot’ın etkileşim kurabileceği işlemleri seçin",
1120
1122
  "core.createProjectQuestion.mcpForDa.AuthType.title": "Kimlik Doğrulama Türünü seçin",
1121
1123
  "core.createProjectQuestion.mcpForDa.Auth.OAuth": "OAuth (statik kayıt ile)",
@@ -1155,11 +1157,12 @@
1155
1157
  "core.createProjectQuestion.mcpLocalServer.validationHelp": "En az bir MCP sunucusunun seçilmiş olması gerekir",
1156
1158
  "core.MCPForDA.updatePluginManifest": "MCP sunucunuzdan seçilen işlemler, Copilot'ın etkileşim kurması için başarıyla eklendi. Ayrıntıları kontrol etmek için '%s' sayfasına gidebilirsiniz. Artık bildirim aracınızı sağlama işlemi için devam edebilirsiniz.",
1157
1159
  "core.MCPForDA.mcpAuthMetadataMissingError": "MCP sunucusunda kimlik doğrulama meta verileri bulunamadı. Lütfen MCP sunucusunun doğru yapılandırıldığından emin olun ve tekrar deneyin. Ayrıntılar: %s",
1158
- "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "“%s” MCP sunucusu için OAuth well-known yetkilendirme sunucusu URL’si bulunamıyor. 'dcr/register' eylemi, m365agents.yml dosyasına bir yer tutucuyla eklendisağlama işleminden önce '<PLEASE_FILL_IN_WELL_KNOWN_AUTHORIZATION_SERVER_URL>' ifadesini doğru URL ile değiştirin.",
1160
+ "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "Scaffolding succeeded, but the OAuth endpoints couldn't be discovered automatically. Your MCP server is reachable, but it doesn't advertise its OAuth endpoints ATK checks the server's OAuth metadata ('.well-known/oauth-authorization-server') and found 'none'. Replace the 'wellKnownAuthorizationServer' placeholder in 'm365agents.yml' with the right value before provisioning.",
1161
+ "core.MCPForDA.mcpAuthOAuthPlaceholderWarning": "Scaffolding succeeded, but the OAuth endpoints couldn't be discovered automatically. Your MCP server is reachable, but it doesn't advertise its OAuth endpoints — ATK checks the server's OAuth metadata ('.well-known/oauth-authorization-server') and found 'none'. Replace the 'authorizationUrl' and 'tokenUrl' placeholders in 'm365agents.yml' with the right values before provisioning.",
1159
1162
  "core.v4.scaffold.existingFileSkipped": "'%s' mevcut ve üzerine yazılmadı. Dosyayı yeniden oluşturmak için silin ya da yeniden adlandırın.",
1160
1163
  "core.MCPForDA.mcpAuthMetadataUrlNotFound": "MCP sunucusunun yanıtındaki \"resource_metadata\" özelliğinde kimlik doğrulama meta verileri bulunamadı.",
1161
- "core.MCPForDA.mcpServerMetadataUrlNotFound": "MCP sunucusunun Korumalı Kaynak Meta Verileri yanıtındaki \"authorization_servers\" özelliğinde sunucu meta verileri bulunamadı.",
1162
- "core.MCPForDA.authUrlNotFound": "MCP sunucusunun Yetkilendirme Sunucusu Meta Verileri yanıtında kimlik doğrulama URL'leri bulunamadı.",
1164
+ "core.MCPForDA.mcpServerMetadataUrlNotFound": "Unable to find the server metadata from property \"authorization_servers\" from response of the Protected Resource Metadata of the MCP server.",
1165
+ "core.MCPForDA.authUrlNotFound": "Unable to find the authentication URL(s) from response of Authorization Server Metadata of the MCP server. Attempted: %s",
1163
1166
  "core.MCPForDA.toolsFileNotFound": "MCP araçları dosyası bulunamadı: %s",
1164
1167
  "core.MCPForDA.toolsFileInvalidFormat": "Geçersiz MCP araçları dosya biçimi. %s veya araçların JSON dizisi bekleniyordu: %s",
1165
1168
  "core.MCPForDA.toolsFileMissingName": "MCP araçları dosyasındaki her aracın bir %s özelliği olmalıdır: %s",
@@ -1172,5 +1175,7 @@
1172
1175
  "core.MCPForDA.toolsFileReadError": "MCP araçları dosyası okunamadı: %s. Araçları daha sonra eklemek için şu komutu çalıştırın:\n %s",
1173
1176
  "core.MCPForDA.authRequired": "%s adresindeki MCP sunucusu kimlik doğrulaması gerektiriyor. Araçlar otomatik olarak getirilemedi. Araç eklemek için şu komutu çalıştırın:\n %s",
1174
1177
  "core.MCPForDA.noToolsFetched": "%s adresindeki MCP sunucusundan araç bulunamadı. Araçları daha sonra eklemek için şu komutu çalıştırın:\n %s",
1178
+ "core.MCPForDA.mcpServerUrlNotAnEndpoint": "%s answered an MCP initialize request with HTTP %s, so it may not be an MCP server URL. Verify the URL before provisioning.",
1179
+ "core.MCPForDA.openYmlFile": "Open m365agents.yml",
1175
1180
  "core.MCPForDA.fetchError": "%s adresindeki MCP sunucusundan araçlar getirilemedi. Araçları daha sonra eklemek için şu komutu çalıştırın:\n %s"
1176
1181
  }
@@ -1116,6 +1116,8 @@
1116
1116
  "error.kiotaClient.EmptyResult": "分析 OpenAPI 说明文件时获取空结果。",
1117
1117
  "core.createProjectQuestion.mcpForDa.ServerUrl.title": "MCP 服务器 URL",
1118
1118
  "core.createProjectQuestion.mcpForDa.ServerUrl.placeholder": "输入 MCP 服务器 URL (例如 https://example-mcp.com)",
1119
+ "core.createProjectQuestion.mcpForDa.ServerUrl.notAnMcpEndpoint": "Couldn't reach an MCP server at this URL (returned 404 to the MCP 'initialize' request). Verify the URL, or confirm the server is running.",
1120
+ "core.createProjectQuestion.mcpForDa.ServerUrl.invalidUrl": "Enter an absolute URL that starts with https:// or http://.",
1119
1121
  "core.createProjectQuestion.mcpForDa.PreFetchTools.title": "选择 Copilot 可与之交互的操作",
1120
1122
  "core.createProjectQuestion.mcpForDa.AuthType.title": "选择身份验证类型",
1121
1123
  "core.createProjectQuestion.mcpForDa.Auth.OAuth": "OAuth (带静态注册)",
@@ -1155,11 +1157,12 @@
1155
1157
  "core.createProjectQuestion.mcpLocalServer.validationHelp": "至少必须选择一个 MCP 服务器",
1156
1158
  "core.MCPForDA.updatePluginManifest": "已成功添加从 MCP 服务器选择的操作,供 Copilot 交互。可转到“%s”查看详细信息。现在你可预配声明性智能体以继续。",
1157
1159
  "core.MCPForDA.mcpAuthMetadataMissingError": "无法在 MCP 服务器中找到身份验证元数据。请确保 MCP 服务器配置正确,然后重试。详细信息: %s",
1158
- "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "无法发现 MCP 服务器“%s”的 OAuth 已知授权服务器 URL。已将 \"dcr/register\" 操作添加到 m365agents.yml,并带有一个占位符 - 在预配前,请将 \"<PLEASE_FILL_IN_WELL_KNOWN_AUTHORIZATION_SERVER_URL>\" 替换为正确的 URL。",
1160
+ "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "Scaffolding succeeded, but the OAuth endpoints couldn't be discovered automatically. Your MCP server is reachable, but it doesn't advertise its OAuth endpoints — ATK checks the server's OAuth metadata ('.well-known/oauth-authorization-server') and found 'none'. Replace the 'wellKnownAuthorizationServer' placeholder in 'm365agents.yml' with the right value before provisioning.",
1161
+ "core.MCPForDA.mcpAuthOAuthPlaceholderWarning": "Scaffolding succeeded, but the OAuth endpoints couldn't be discovered automatically. Your MCP server is reachable, but it doesn't advertise its OAuth endpoints — ATK checks the server's OAuth metadata ('.well-known/oauth-authorization-server') and found 'none'. Replace the 'authorizationUrl' and 'tokenUrl' placeholders in 'm365agents.yml' with the right values before provisioning.",
1159
1162
  "core.v4.scaffold.existingFileSkipped": "“%s”已存在且未被覆盖。请删除或重命名它以重新生成文件。",
1160
1163
  "core.MCPForDA.mcpAuthMetadataUrlNotFound": "无法从 MCP 服务器响应的 \"resource_metadata\" 属性中找到身份验证元数据。",
1161
- "core.MCPForDA.mcpServerMetadataUrlNotFound": "无法从 MCP 服务器受保护资源元数据响应的 \"authorization_servers\" 属性中找到服务器元数据。",
1162
- "core.MCPForDA.authUrlNotFound": "无法在 MCP 服务器的授权服务器元数据响应中找到身份验证 URL。",
1164
+ "core.MCPForDA.mcpServerMetadataUrlNotFound": "Unable to find the server metadata from property \"authorization_servers\" from response of the Protected Resource Metadata of the MCP server.",
1165
+ "core.MCPForDA.authUrlNotFound": "Unable to find the authentication URL(s) from response of Authorization Server Metadata of the MCP server. Attempted: %s",
1163
1166
  "core.MCPForDA.toolsFileNotFound": "未找到 MCP 工具文件: %s",
1164
1167
  "core.MCPForDA.toolsFileInvalidFormat": "MCP 工具文件格式无效。应为 %s 或工具的 JSON 数组: %s",
1165
1168
  "core.MCPForDA.toolsFileMissingName": "MCP 工具文件中的每个工具均必须包含 %s 属性: %s",
@@ -1172,5 +1175,7 @@
1172
1175
  "core.MCPForDA.toolsFileReadError": "未能读取 MCP 工具文件: %s。若要稍后添加工具,请运行:\n %s",
1173
1176
  "core.MCPForDA.authRequired": "位于 %s 的 MCP 服务器需要身份验证。无法自动提取工具。若要添加工具,请运行:\n %s",
1174
1177
  "core.MCPForDA.noToolsFetched": "未从位于 %s 的 MCP 服务器发现任何工具。若要稍后添加工具,请运行:\n %s",
1178
+ "core.MCPForDA.mcpServerUrlNotAnEndpoint": "%s answered an MCP initialize request with HTTP %s, so it may not be an MCP server URL. Verify the URL before provisioning.",
1179
+ "core.MCPForDA.openYmlFile": "Open m365agents.yml",
1175
1180
  "core.MCPForDA.fetchError": "未能从位于 %s 的 MCP 服务器提取工具。若要稍后添加工具,请运行:\n %s"
1176
1181
  }
@@ -1116,6 +1116,8 @@
1116
1116
  "error.kiotaClient.EmptyResult": "剖析 OpenAPI 描述檔案時取得空白結果。",
1117
1117
  "core.createProjectQuestion.mcpForDa.ServerUrl.title": "MCP 伺服器 URL",
1118
1118
  "core.createProjectQuestion.mcpForDa.ServerUrl.placeholder": "輸入您的 MCP 伺服器 URL (例如 https://example-mcp.com)",
1119
+ "core.createProjectQuestion.mcpForDa.ServerUrl.notAnMcpEndpoint": "Couldn't reach an MCP server at this URL (returned 404 to the MCP 'initialize' request). Verify the URL, or confirm the server is running.",
1120
+ "core.createProjectQuestion.mcpForDa.ServerUrl.invalidUrl": "Enter an absolute URL that starts with https:// or http://.",
1119
1121
  "core.createProjectQuestion.mcpForDa.PreFetchTools.title": "選取 Copilot 可以互動的作業",
1120
1122
  "core.createProjectQuestion.mcpForDa.AuthType.title": "選取驗證類型",
1121
1123
  "core.createProjectQuestion.mcpForDa.Auth.OAuth": "OAuth (具有靜態註冊)",
@@ -1155,11 +1157,12 @@
1155
1157
  "core.createProjectQuestion.mcpLocalServer.validationHelp": "必須選取至少一個 MCP 伺服器",
1156
1158
  "core.MCPForDA.updatePluginManifest": "已順利新增從 MCP 伺服器選取的作業,讓 Copilot 與其互動。您可以前往 '%s' 來查看詳細資料。現在,您可以佈建宣告式代理程式以繼續。",
1157
1159
  "core.MCPForDA.mcpAuthMetadataMissingError": "在 MCP 伺服器中找不到驗證中繼資料。請確定您的 MCP 伺服器已正確設定,然後再試一次。詳細資料: %s",
1158
- "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "無法探索 MCP 伺服器 '%s' OAuth 已知授權伺服器 URL。'dcr/register' 動作已新增至具有預留位置的 m365agents.yml 在佈建之前,以正確的 URL 取代 '<PLEASE_FILL_IN_WELL_KNOWN_AUTHORIZATION_SERVER_URL>'。",
1160
+ "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "Scaffolding succeeded, but the OAuth endpoints couldn't be discovered automatically. Your MCP server is reachable, but it doesn't advertise its OAuth endpoints — ATK checks the server's OAuth metadata ('.well-known/oauth-authorization-server') and found 'none'. Replace the 'wellKnownAuthorizationServer' placeholder in 'm365agents.yml' with the right value before provisioning.",
1161
+ "core.MCPForDA.mcpAuthOAuthPlaceholderWarning": "Scaffolding succeeded, but the OAuth endpoints couldn't be discovered automatically. Your MCP server is reachable, but it doesn't advertise its OAuth endpoints — ATK checks the server's OAuth metadata ('.well-known/oauth-authorization-server') and found 'none'. Replace the 'authorizationUrl' and 'tokenUrl' placeholders in 'm365agents.yml' with the right values before provisioning.",
1159
1162
  "core.v4.scaffold.existingFileSkipped": "'%s' 已存在,且未被覆寫。請將其刪除或重新命名,以重新建置檔案。",
1160
1163
  "core.MCPForDA.mcpAuthMetadataUrlNotFound": "無法從 MCP 伺服器的回應中找到來自 \"resource_metadata\" 屬性的驗證中繼資料。",
1161
- "core.MCPForDA.mcpServerMetadataUrlNotFound": "無法從 MCP 伺服器的受保護資源中繼資料回應中找到來自 \"authorization_servers\" 屬性的伺服器中繼資料。",
1162
- "core.MCPForDA.authUrlNotFound": "無法從 MCP 伺服器的授權伺服器中繼資料回應中找到驗證 URL。",
1164
+ "core.MCPForDA.mcpServerMetadataUrlNotFound": "Unable to find the server metadata from property \"authorization_servers\" from response of the Protected Resource Metadata of the MCP server.",
1165
+ "core.MCPForDA.authUrlNotFound": "Unable to find the authentication URL(s) from response of Authorization Server Metadata of the MCP server. Attempted: %s",
1163
1166
  "core.MCPForDA.toolsFileNotFound": "找不到 MCP 工具檔案: %s",
1164
1167
  "core.MCPForDA.toolsFileInvalidFormat": "無效 MCP 工具檔案格式。預期為 %s 或工具的 JSON 陣列: %s",
1165
1168
  "core.MCPForDA.toolsFileMissingName": "MCP 工具檔案中的每個工具都必須具有 %s 屬性: %s",
@@ -1172,5 +1175,7 @@
1172
1175
  "core.MCPForDA.toolsFileReadError": "無法讀取 MCP 工具檔案: %s。若要稍後新增工具,請執行:\n %s",
1173
1176
  "core.MCPForDA.authRequired": "位於 %s 的 MCP 伺服器需要驗證。無法自動擷取工具。若要新增工具,請執行:\n %s",
1174
1177
  "core.MCPForDA.noToolsFetched": "從 %s 的 MCP 伺服器中未探索到任何工具。若要稍後新增工具,請執行:\n %s",
1178
+ "core.MCPForDA.mcpServerUrlNotAnEndpoint": "%s answered an MCP initialize request with HTTP %s, so it may not be an MCP server URL. Verify the URL before provisioning.",
1179
+ "core.MCPForDA.openYmlFile": "Open m365agents.yml",
1175
1180
  "core.MCPForDA.fetchError": "無法從 %s 的 MCP 伺服器擷取工具。若要稍後新增工具,請執行:\n %s"
1176
1181
  }
@@ -1402,7 +1402,7 @@
1402
1402
  },
1403
1403
  "scope": {
1404
1404
  "type": "string",
1405
- "description": "The scope of the app (only works for declarative agent). personal is only visible to the owners. shared can be visible to other users in the tenant. Default is personal"
1405
+ "description": "The scope of the app. personal is only visible to the owners. shared can be visible to other users in the tenant. Default is personal"
1406
1406
  }
1407
1407
  }
1408
1408
  },
@@ -1402,7 +1402,7 @@
1402
1402
  },
1403
1403
  "scope": {
1404
1404
  "type": "string",
1405
- "description": "The scope of the app (only works for declarative agent). personal is only visible to the owners. shared can be visible to other users in the tenant. Default is personal"
1405
+ "description": "The scope of the app. personal is only visible to the owners. shared can be visible to other users in the tenant. Default is personal"
1406
1406
  }
1407
1407
  }
1408
1408
  },
@@ -10,4 +10,5 @@ RESOURCE_SUFFIX=
10
10
  # Generated during provision, you can also add your own variables.
11
11
  TEAMS_APP_ID=
12
12
  BOT_ENDPOINT=
13
- BOT_DOMAIN=
13
+ BOT_DOMAIN=
14
+ AGENT_SCOPE=shared
@@ -65,6 +65,7 @@ provision:
65
65
  {{#hasCopilot}}
66
66
  - uses: teamsApp/extendToM365
67
67
  with:
68
+ scope: ${{AGENT_SCOPE}}
68
69
  # Relative path to the build app package.
69
70
  appPackagePath: ./appPackage/build/appPackage.$\{{TEAMSFX_ENV}}.zip
70
71
  # Write the information of created resources into environment file for
@@ -10,4 +10,5 @@ RESOURCE_SUFFIX=
10
10
  # Generated during provision, you can also add your own variables.
11
11
  TEAMS_APP_ID=
12
12
  BOT_ENDPOINT=
13
- BOT_DOMAIN=
13
+ BOT_DOMAIN=
14
+ AGENT_SCOPE=shared
@@ -65,6 +65,7 @@ provision:
65
65
  {{#hasCopilot}}
66
66
  - uses: teamsApp/extendToM365
67
67
  with:
68
+ scope: ${{AGENT_SCOPE}}
68
69
  # Relative path to the build app package.
69
70
  appPackagePath: ./appPackage/build/appPackage.$\{{TEAMSFX_ENV}}.zip
70
71
  # Write the information of created resources into environment file for
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "6.14.0"
2
+ "version": "6.14.1"
3
3
  }
Binary file
Binary file