@microsoft/teamsfx-core 3.0.5-alpha.9b55c8b6b.0 → 3.0.5-alpha.cd5b2565b.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 (85) hide show
  1. package/build/common/constants.d.ts +1 -0
  2. package/build/common/constants.d.ts.map +1 -1
  3. package/build/common/constants.js +2 -1
  4. package/build/common/constants.js.map +1 -1
  5. package/build/common/templates-config.json +1 -1
  6. package/build/component/coordinator/index.d.ts +0 -1
  7. package/build/component/coordinator/index.d.ts.map +1 -1
  8. package/build/component/coordinator/index.js +52 -55
  9. package/build/component/coordinator/index.js.map +1 -1
  10. package/build/component/deps-checker/internal/funcToolChecker.js +1 -1
  11. package/build/component/deps-checker/internal/funcToolChecker.js.map +1 -1
  12. package/build/component/driver/share/utils.d.ts +5 -1
  13. package/build/component/driver/share/utils.d.ts.map +1 -1
  14. package/build/component/driver/share/utils.js +14 -15
  15. package/build/component/driver/share/utils.js.map +1 -1
  16. package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
  17. package/build/component/driver/teamsApp/createAppPackage.js +3 -5
  18. package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
  19. package/build/component/driver/teamsApp/validate.d.ts.map +1 -1
  20. package/build/component/driver/teamsApp/validate.js +3 -1
  21. package/build/component/driver/teamsApp/validate.js.map +1 -1
  22. package/build/component/generator/utils.js +1 -1
  23. package/build/component/generator/utils.js.map +1 -1
  24. package/build/component/m365/interface.d.ts +6 -5
  25. package/build/component/m365/interface.d.ts.map +1 -1
  26. package/build/component/m365/interface.js +6 -5
  27. package/build/component/m365/interface.js.map +1 -1
  28. package/build/component/m365/packageService.d.ts +7 -2
  29. package/build/component/m365/packageService.d.ts.map +1 -1
  30. package/build/component/m365/packageService.js +130 -7
  31. package/build/component/m365/packageService.js.map +1 -1
  32. package/build/core/FxCore.d.ts +0 -3
  33. package/build/core/FxCore.d.ts.map +1 -1
  34. package/build/core/FxCore.js +40 -40
  35. package/build/core/FxCore.js.map +1 -1
  36. package/build/core/collaborator.d.ts.map +1 -1
  37. package/build/core/collaborator.js +26 -0
  38. package/build/core/collaborator.js.map +1 -1
  39. package/build/core/middleware/utils/debug/taskMigrator.js +1 -1
  40. package/build/core/share.d.ts +9 -0
  41. package/build/core/share.d.ts.map +1 -0
  42. package/build/core/share.js +104 -0
  43. package/build/core/share.js.map +1 -0
  44. package/build/index.d.ts +1 -0
  45. package/build/index.d.ts.map +1 -1
  46. package/build/index.js +3 -1
  47. package/build/index.js.map +1 -1
  48. package/build/question/constants.d.ts +1 -0
  49. package/build/question/constants.d.ts.map +1 -1
  50. package/build/question/constants.js +2 -1
  51. package/build/question/constants.js.map +1 -1
  52. package/build/question/generator.d.ts.map +1 -1
  53. package/build/question/generator.js.map +1 -1
  54. package/build/question/index.d.ts.map +1 -1
  55. package/build/question/index.js +3 -2
  56. package/build/question/index.js.map +1 -1
  57. package/build/question/inputs/ShareInputs.d.ts +6 -4
  58. package/build/question/inputs/ShareInputs.d.ts.map +1 -1
  59. package/build/question/inputs/index.d.ts +12 -12
  60. package/build/question/inputs/index.d.ts.map +1 -1
  61. package/build/question/inputs/index.js +12 -12
  62. package/build/question/inputs/index.js.map +1 -1
  63. package/build/question/options/ShareOptions.d.ts.map +1 -1
  64. package/build/question/options/ShareOptions.js +12 -5
  65. package/build/question/options/ShareOptions.js.map +1 -1
  66. package/build/question/other.d.ts +1 -4
  67. package/build/question/other.d.ts.map +1 -1
  68. package/build/question/other.js +23 -135
  69. package/build/question/other.js.map +1 -1
  70. package/build/question/questionNames.d.ts +2 -4
  71. package/build/question/questionNames.d.ts.map +1 -1
  72. package/build/question/questionNames.js +2 -4
  73. package/build/question/questionNames.js.map +1 -1
  74. package/build/question/share.d.ts +24 -0
  75. package/build/question/share.d.ts.map +1 -0
  76. package/build/question/share.js +177 -0
  77. package/build/question/share.js.map +1 -0
  78. package/build/tsconfig.tsbuildinfo +1 -1
  79. package/package.json +4 -4
  80. package/resource/package.nls.json +19 -10
  81. package/templates/fallback/common.zip +0 -0
  82. package/templates/fallback/csharp.zip +0 -0
  83. package/templates/fallback/js.zip +0 -0
  84. package/templates/fallback/python.zip +0 -0
  85. package/templates/fallback/ts.zip +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/teamsfx-core",
3
- "version": "3.0.5-alpha.9b55c8b6b.0",
3
+ "version": "3.0.5-alpha.cd5b2565b.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.9b55c8b6b.0",
111
- "@microsoft/teamsfx-api": "0.23.9-alpha.9b55c8b6b.0",
110
+ "@microsoft/m365-spec-parser": "^0.2.9-alpha.cd5b2565b.0",
111
+ "@microsoft/teamsfx-api": "0.23.9-alpha.cd5b2565b.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": "0a4e6988cfee8e235742a6a66f5432c130dae96b",
234
+ "gitHead": "d1051be413a947b3b7c060462ef7c7309454d034",
235
235
  "publishConfig": {
236
236
  "access": "public"
237
237
  },
@@ -245,13 +245,13 @@
245
245
  "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
246
  "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
247
  "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 \"share\" config in the m365agents.yml",
248
+ "error.share.yamlConfigNotFound": "Unable to find the \"deploy\" config in the m365agents.yml",
249
249
  "error.share.shareActionConfigNotFound": "Unable to find the \"%s\" action config in the m365agents.yml",
250
250
  "error.share.appPackageConfigNotFound": "Unable to find the appPackagePath config in the m365agents.yml",
251
251
  "error.share.manifestFileNotFound": "Unable to find the manifest file in the app package",
252
252
  "error.share.manifestIdNotFound": "Unable to find the manifest ID in the app package",
253
253
  "error.share.sharedConfigNotFound": "Unable to find the \"titleId\" or \"appId\" config in the m365agents.yml",
254
- "error.share.sharedIdNotFound": "Unable to get shared title id or shared app id in the .env file. Shared title id: %s, shared app id: %s. You need to share the app first.",
254
+ "error.share.sharedIdNotFound": "Unable to get title id or app id in the .env file. Shared title id: %s, shared app id: %s. You need to deploy the agent before sharing.",
255
255
  "error.share.appPackageNotFound": "Unable to find the zip package in path: %s. You need to zip the package first.",
256
256
  "core.QuestionAppName.validation.pattern": "App name needs to begin with letters, include minimum two letters or digits, and exclude certain special characters.",
257
257
  "core.QuestionAppName.validation.maxlength": "App name is longer than the 30 characters.",
@@ -522,7 +522,6 @@
522
522
  "core.addKnowledge.success.vsc": "Capability source added to the project successfully.",
523
523
  "core.addKnowledge.success": "Capability source added to the project successfully. View agent manifest in \"%s\".",
524
524
  "core.addKnowledge.success.viewAgentManifest": "View agent manifest",
525
- "core.addUserQuestion.validation": "Invalid email address",
526
525
  "core.scaffold.warning.summary": "We have detected following issues:\n%s",
527
526
  "core.addPlugin.warning.manifestVariables": "Environment variables \"%s\" found in manifest of the added plugin. Ensure the values are set in .env file or system environment variables.",
528
527
  "core.addPlugin.warning.apiSpecVariables": "Environment variables \"%s\" found in API specification of the added plugin. Ensure the values are set in .env file or system environment variables.",
@@ -545,6 +544,7 @@
545
544
  "core.getUserEmailQuestion.title": "Add owner to Teams/Microsoft Entra app for the account under the same Microsoft 365 tenant (email)",
546
545
  "core.getUserEmailQuestion.validation1": "Enter email address",
547
546
  "core.getUserEmailQuestion.validation2": "Change [UserName] to the real user name",
547
+ "core.getUserEmailQuestion.validation3": "Email address is invalid",
548
548
  "core.collaboration.error.failedToLoadDotEnvFile": "Unable to load your .env File. Reason: %s",
549
549
  "core.selectAadAppManifestQuestion.title": "Select Microsoft Entra manifest.json file",
550
550
  "core.selectTeamsAppManifestQuestion.title": "Select Teams manifest.json File",
@@ -639,8 +639,11 @@
639
639
  "core.common.ErrorFetchApiSpec": "Your OpenAPI description document should be accessible without authentication, otherwise download and start from a local copy.",
640
640
  "core.common.SendingApiRequest": "Sending API request: %s. Request body: %s",
641
641
  "core.common.ReceiveApiResponse": "Received API response: %s.",
642
- "core.common.shareToUser.success": "Successfully shared the app with users: %s.",
643
- "core.common.removeShareAccess.success": "Shared app access removed from the users: %s.",
642
+ "core.common.shareWithTenant.success": "Agent successfully shared with tenant.",
643
+ "core.common.shareWithUser.success": "Agent successfully shared with users: %s.",
644
+ "core.common.shareWithOwner.success": "Agent successfully shared with owners: %s.",
645
+ "core.common.removeOwnership.success": "Shared agent ownership removed from the users: %s.",
646
+ "core.common.removeShareAccess.success": "Shared access successfully removed from users: %s.",
644
647
  "core.envFunc.unsupportedFile.errorLog": "\"%s\" is an invalid file. Supported format: %s.",
645
648
  "core.envFunc.unsupportedFile.errorMessage": "Invalid file. %s",
646
649
  "core.envFunc.unsupportedFunction.errorLog": "\"%s\" is an invalid function. Supported function: \"%s\".",
@@ -696,11 +699,18 @@
696
699
  "core.uninstallQuestion.tdpOption": "App registration",
697
700
  "core.uninstallQuestion.botOption": "Bot framework registration",
698
701
  "core.uninstallQuestion.projectPath": "Project path",
699
- "core.shareOptionQuestion.share": "Share the app",
700
- "core.shareOptionQuestion.shareToUser": "Share with user(s)",
701
- "core.shareOptionQuestion.placeholder": "Select an option",
702
- "core.shareToUser.title": "Enter user emails (separated by commas)",
703
702
  "core.share.removeAccess.operator": "Cannot remove permission of the operator. Email: %s.",
703
+ "core.shareOperationQuestion.option.removeShareAccessFromUsers": "Remove access for selected user(s)",
704
+ "core.shareOperationQuestion.option.shareWithUsers": "Share access with selected user(s)",
705
+ "core.shareOptionQuestion.option.shareWithOwners": "Share agent ownership with selected user(s)",
706
+ "core.shareOptionQuestion.placeholder": "Select how to share the agent",
707
+ "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",
710
+ "core.shareScopeQuestion.option.shareWithTenant": "Share the agent with all tenant users",
711
+ "core.shareScopeQuestion.option.shareWithUsers": "Share the agent with selected user(s)",
712
+ "core.shareScopeQuestion.placeholder": "Select a sharing scope",
713
+ "core.shareScopeQuestion.title": "Share the agent with users",
704
714
  "core.syncManifest.projectPath": "Project path",
705
715
  "core.syncManifest.env": "Target Microsoft 365 Agents Toolkit Environment",
706
716
  "core.syncManifest.teamsAppId": "App ID (optional)",
@@ -737,7 +747,6 @@
737
747
  "error.aad.manifest.UnknownResourceAccessId": "Unknown resourceAccess id: %s, try to use permission id instead of resourceAccess id.",
738
748
  "core.addSsoFiles.emptyProjectPath": "Project path is empty",
739
749
  "core.addSsoFiles.FailedToCreateAuthFiles": "Unable to create files for add sso. Detail error: %s.",
740
- "core.getUserEmailQuestion.validation3": "Email address is invalid",
741
750
  "plugins.bot.ErrorSuggestions": "Suggestions: %s",
742
751
  "plugins.bot.InvalidValue": "%s is invalid with value: %s",
743
752
  "plugins.bot.SomethingIsMissing": "%s is not available.",
Binary file
Binary file
Binary file
Binary file
Binary file