@microsoft/teamsfx-core 3.0.5-alpha.4dbe374ea.0 → 3.0.5-alpha.692dccecf.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 (113) hide show
  1. package/build/client/graphClient.d.ts +8 -4
  2. package/build/client/graphClient.d.ts.map +1 -1
  3. package/build/client/graphClient.js +35 -8
  4. package/build/client/graphClient.js.map +1 -1
  5. package/build/client/interfaces/GetGroupResponse.d.ts +6 -0
  6. package/build/client/interfaces/GetGroupResponse.d.ts.map +1 -0
  7. package/build/client/interfaces/GetGroupResponse.js +5 -0
  8. package/build/client/interfaces/GetGroupResponse.js.map +1 -0
  9. package/build/client/interfaces/GetUserResponse.d.ts +7 -0
  10. package/build/client/interfaces/GetUserResponse.d.ts.map +1 -0
  11. package/build/client/interfaces/GetUserResponse.js +5 -0
  12. package/build/client/interfaces/GetUserResponse.js.map +1 -0
  13. package/build/common/constants.d.ts +1 -0
  14. package/build/common/constants.d.ts.map +1 -1
  15. package/build/common/constants.js +2 -1
  16. package/build/common/constants.js.map +1 -1
  17. package/build/common/featureFlags.js +4 -4
  18. package/build/common/featureFlags.js.map +1 -1
  19. package/build/common/permissionInterface.d.ts +6 -0
  20. package/build/common/permissionInterface.d.ts.map +1 -1
  21. package/build/common/templates-config.json +1 -1
  22. package/build/component/configManager/validator.d.ts.map +1 -1
  23. package/build/component/configManager/validator.js +1 -0
  24. package/build/component/configManager/validator.js.map +1 -1
  25. package/build/component/coordinator/index.d.ts.map +1 -1
  26. package/build/component/coordinator/index.js +0 -1
  27. package/build/component/coordinator/index.js.map +1 -1
  28. package/build/component/deps-checker/constant/helpLink.d.ts +2 -0
  29. package/build/component/deps-checker/constant/helpLink.d.ts.map +1 -1
  30. package/build/component/deps-checker/constant/helpLink.js +3 -1
  31. package/build/component/deps-checker/constant/helpLink.js.map +1 -1
  32. package/build/component/deps-checker/internal/funcToolChecker.js +4 -4
  33. package/build/component/deps-checker/internal/funcToolChecker.js.map +1 -1
  34. package/build/component/deps-checker/internal/testToolChecker.js +4 -4
  35. package/build/component/deps-checker/internal/testToolChecker.js.map +1 -1
  36. package/build/component/driver/index.d.ts +19 -20
  37. package/build/component/driver/index.d.ts.map +1 -1
  38. package/build/component/driver/index.js +19 -20
  39. package/build/component/driver/index.js.map +1 -1
  40. package/build/component/driver/m365/acquire.d.ts +3 -0
  41. package/build/component/driver/m365/acquire.d.ts.map +1 -1
  42. package/build/component/driver/m365/acquire.js +29 -19
  43. package/build/component/driver/m365/acquire.js.map +1 -1
  44. package/build/component/driver/share/utils.d.ts.map +1 -1
  45. package/build/component/driver/share/utils.js +12 -10
  46. package/build/component/driver/share/utils.js.map +1 -1
  47. package/build/component/driver/teamsApp/utils/PluginManifestUtils.d.ts +1 -1
  48. package/build/component/driver/teamsApp/utils/PluginManifestUtils.d.ts.map +1 -1
  49. package/build/component/driver/teamsApp/utils/PluginManifestUtils.js +5 -2
  50. package/build/component/driver/teamsApp/utils/PluginManifestUtils.js.map +1 -1
  51. package/build/component/driver/util/utils.d.ts.map +1 -1
  52. package/build/component/driver/util/utils.js +6 -4
  53. package/build/component/driver/util/utils.js.map +1 -1
  54. package/build/component/feature/collaboration.d.ts +7 -1
  55. package/build/component/feature/collaboration.d.ts.map +1 -1
  56. package/build/component/feature/collaboration.js +84 -1
  57. package/build/component/feature/collaboration.js.map +1 -1
  58. package/build/component/generator/openApiSpec/helper.d.ts.map +1 -1
  59. package/build/component/generator/openApiSpec/helper.js +132 -98
  60. package/build/component/generator/openApiSpec/helper.js.map +1 -1
  61. package/build/component/m365/constants.d.ts +1 -0
  62. package/build/component/m365/constants.d.ts.map +1 -1
  63. package/build/component/m365/constants.js +2 -1
  64. package/build/component/m365/constants.js.map +1 -1
  65. package/build/component/m365/packageService.d.ts +6 -1
  66. package/build/component/m365/packageService.d.ts.map +1 -1
  67. package/build/component/m365/packageService.js +45 -8
  68. package/build/component/m365/packageService.js.map +1 -1
  69. package/build/core/FxCore.d.ts.map +1 -1
  70. package/build/core/FxCore.js +1 -29
  71. package/build/core/FxCore.js.map +1 -1
  72. package/build/core/collaborator.d.ts +1 -0
  73. package/build/core/collaborator.d.ts.map +1 -1
  74. package/build/core/collaborator.js +55 -29
  75. package/build/core/collaborator.js.map +1 -1
  76. package/build/core/share.d.ts.map +1 -1
  77. package/build/core/share.js +16 -2
  78. package/build/core/share.js.map +1 -1
  79. package/build/error/depCheck.js +1 -1
  80. package/build/error/depCheck.js.map +1 -1
  81. package/build/question/collaborator.d.ts +6 -0
  82. package/build/question/collaborator.d.ts.map +1 -0
  83. package/build/question/collaborator.js +166 -0
  84. package/build/question/collaborator.js.map +1 -0
  85. package/build/question/index.d.ts.map +1 -1
  86. package/build/question/index.js +3 -2
  87. package/build/question/index.js.map +1 -1
  88. package/build/question/inputs/ShareInputs.d.ts +2 -2
  89. package/build/question/inputs/ShareInputs.d.ts.map +1 -1
  90. package/build/question/options/ShareOptions.js +1 -1
  91. package/build/question/options/ShareOptions.js.map +1 -1
  92. package/build/question/other.d.ts +1 -4
  93. package/build/question/other.d.ts.map +1 -1
  94. package/build/question/other.js +2 -145
  95. package/build/question/other.js.map +1 -1
  96. package/build/question/share.d.ts +1 -3
  97. package/build/question/share.d.ts.map +1 -1
  98. package/build/question/share.js +2 -14
  99. package/build/question/share.js.map +1 -1
  100. package/build/tsconfig.tsbuildinfo +1 -1
  101. package/package.json +4 -4
  102. package/resource/package.nls.json +9 -8
  103. package/resource/yaml-schema/v1.10/yaml.schema.json +2058 -0
  104. package/resource/yaml-schema/yaml.schema.json +5 -54
  105. package/templates/fallback/common.zip +0 -0
  106. package/templates/fallback/csharp.zip +0 -0
  107. package/templates/fallback/js.zip +0 -0
  108. package/templates/fallback/python.zip +0 -0
  109. package/templates/fallback/ts.zip +0 -0
  110. package/build/component/driver/share/shareToOthers.d.ts +0 -17
  111. package/build/component/driver/share/shareToOthers.d.ts.map +0 -1
  112. package/build/component/driver/share/shareToOthers.js +0 -127
  113. package/build/component/driver/share/shareToOthers.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/teamsfx-core",
3
- "version": "3.0.5-alpha.4dbe374ea.0",
3
+ "version": "3.0.5-alpha.692dccecf.0",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "license": "MIT",
@@ -107,8 +107,8 @@
107
107
  "@microsoft/dev-tunnels-contracts": "1.1.9",
108
108
  "@microsoft/dev-tunnels-management": "1.1.9",
109
109
  "@microsoft/kiota": "1.26.1",
110
- "@microsoft/m365-spec-parser": "^0.2.9-alpha.4dbe374ea.0",
111
- "@microsoft/teamsfx-api": "0.23.9-alpha.4dbe374ea.0",
110
+ "@microsoft/m365-spec-parser": "^0.2.9-alpha.692dccecf.0",
111
+ "@microsoft/teamsfx-api": "0.23.9-alpha.692dccecf.0",
112
112
  "adm-zip": "^0.5.10",
113
113
  "ajv": "^8.5.0",
114
114
  "axios": "^1.8.3",
@@ -231,7 +231,7 @@
231
231
  "resource/**/*",
232
232
  "templates/**/*"
233
233
  ],
234
- "gitHead": "4cf17d66c3ff85ba52005240a51ab8eb6a8e020f",
234
+ "gitHead": "387ad5b90eb65131eb06595efc2c782501c4bee5",
235
235
  "publishConfig": {
236
236
  "access": "public"
237
237
  },
@@ -64,15 +64,20 @@
64
64
  "core.collaboration.AccountUsedToCheck": "Account used to check: ",
65
65
  "core.collaboration.StartingListAllTeamsAppOwners": "\nStarting to list all app owners for environment: ",
66
66
  "core.collaboration.StartingListAllAadAppOwners": "\nStarting to list all Microsoft Entra app owners for environment: ",
67
+ "core.collaboration.StartingListAllAgentOwners": "\nStarting to list all agent owners for environment: ",
67
68
  "core.collaboration.M365TeamsAppId": "App (ID: ",
68
69
  "core.collaboration.SsoAadAppId": "SSO Microsoft Entra App (ID: ",
70
+ "core.collaboration.AgentTitleId": "Agent (ID: ",
69
71
  "core.collaboration.TeamsAppOwner": "App Owner: ",
70
72
  "core.collaboration.AadAppOwner": "Microsoft Entra App Owner: ",
73
+ "core.collaboration.AgentOwner": "Agent Owner: ",
71
74
  "core.collaboration.StaringCheckPermission": "Starting to check permission for environment: ",
72
75
  "core.collaboration.CheckPermissionResourceId": "Resource ID: ",
73
76
  "core.collaboration.Undefined": "undefined",
74
77
  "core.collaboration.ResourceName": ", Resource Name: ",
75
78
  "core.collaboration.Permission": ", Permission: ",
79
+ "core.collaboration.agent.label": "Agent",
80
+ "core.collaboration.agent.description": "Microsoft 365 Agent",
76
81
  "core.developerPortal.scaffold.CannotFindManifest": "Manifest not found from the downloaded package for app %s.",
77
82
  "plugins.spfx.questions.framework.title": "Framework",
78
83
  "plugins.spfx.questions.webpartName": "Name for SharePoint Framework Web Part",
@@ -245,7 +250,8 @@
245
250
  "error.apime.noExtraAPICanBeAdded": "Unable to add API because only GET and POST methods are supported, with a maximum of 5 required parameters and no authentication. Also, methods defined in the manifest are not listed.",
246
251
  "error.copilot.noExtraAPICanBeAdded": "Unable to add API because no authentication is supported. Also, methods defined in the current OpenAPI description document are not listed.",
247
252
  "error.m365.NotExtendedToM365Error": "Unable to extend the app to Microsoft 365. Use 'teamsApp/extendToM365' action to extend the app to Microsoft 365.",
248
- "error.share.yamlConfigNotFound": "Unable to find the \"deploy\" config in the m365agents.yml",
253
+ "error.m365.SharedScopeAdvancedDADisabled": "Deployment blocked: Advanced declarative agent can't be deployed due to tenant permission settings. Get more info: [Manage agents for Microsoft 365 Copilot in the Microsoft 365 admin center - Microsoft 365 admin | Microsoft Learn](%s)",
254
+ "error.share.yamlConfigNotFound": "Unable to find the \"provision\" or \"deploy\" config in the m365agents.yml",
249
255
  "error.share.shareActionConfigNotFound": "Unable to find the \"%s\" action config in the m365agents.yml",
250
256
  "error.share.appPackageConfigNotFound": "Unable to find the appPackagePath config in the m365agents.yml",
251
257
  "error.share.manifestFileNotFound": "Unable to find the manifest file in the app package",
@@ -641,7 +647,6 @@
641
647
  "core.common.ReceiveApiResponse": "Received API response: %s.",
642
648
  "core.common.shareWithTenant.success": "Agent successfully shared with tenant.",
643
649
  "core.common.shareWithUser.success": "Agent successfully shared with users: %s.",
644
- "core.common.shareWithOwner.success": "Agent successfully shared with owners: %s.",
645
650
  "core.common.removeOwnership.success": "Shared agent ownership removed from the users: %s.",
646
651
  "core.common.removeShareAccess.success": "Shared access successfully removed from users: %s.",
647
652
  "core.envFunc.unsupportedFile.errorLog": "\"%s\" is an invalid file. Supported format: %s.",
@@ -702,11 +707,10 @@
702
707
  "core.share.removeAccess.operator": "Cannot remove permission of the operator. Email: %s.",
703
708
  "core.shareOperationQuestion.option.removeShareAccessFromUsers": "Remove access for selected user(s)",
704
709
  "core.shareOperationQuestion.option.shareWithUsers": "Share access with selected user(s)",
705
- "core.shareOptionQuestion.option.shareWithOwners": "Share agent ownership with selected user(s)",
706
710
  "core.shareOptionQuestion.placeholder": "Select how to share the agent",
707
711
  "core.shareOptionQuestion.title": "Share the agent",
708
- "core.shareOptionQuestion.unshare.emails.title": "Email addresses of users for agent access removal",
709
- "core.shareScopeQuestion.emails.title": "Email addresses of users for agent sharing",
712
+ "core.shareOptionQuestion.unshare.emails.title": "Email addresses of users or groups for agent access removal",
713
+ "core.shareScopeQuestion.emails.title": "Email addresses of users or groups for agent sharing",
710
714
  "core.shareScopeQuestion.option.shareWithTenant": "Share the agent with all tenant users",
711
715
  "core.shareScopeQuestion.option.shareWithUsers": "Share the agent with selected user(s)",
712
716
  "core.shareScopeQuestion.placeholder": "Select a sharing scope",
@@ -928,9 +932,6 @@
928
932
  "driver.teamsApp.summary.validateWithTestCases.result.detail": "%s Validation title: %s. Message: %s",
929
933
  "driver.teamsApp.validate.result": "Microsoft 365 Agents Toolkit has completed checking your app package against validation rules. %s.",
930
934
  "driver.teamsApp.validate.result.display": "Microsoft 365 Agents Toolkit has completed checking your app package against validation rules. %s. Check [Output panel](command:fx-extension.showOutputChannel) for details.",
931
- "driver.shareToOthers.description": "share your app to others",
932
- "driver.shareToOthers.progress.message": "Sharing your app...",
933
- "driver.shareToOthers.summary": "Shared apps successfully (%s).",
934
935
  "error.teamsApp.validate.apiFailed": "app package validation failed due to %s",
935
936
  "error.teamsApp.validate.apiFailed.display": "App pacakge validation failed. Check [Output panel](command:fx-extension.showOutputChannel) for details.",
936
937
  "error.teamsApp.validate.details": "File path: %s, title: %s",