@atlaskit/rovo-agent-selector 1.3.0 → 1.4.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/rovo-agent-selector
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`ebdb0137330d9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ebdb0137330d9) -
8
+ Support REMOTE_A2A agent exposing isForgeAgentByCreatorType to public repo and deprecating
9
+ isForgeAgent from private repo
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.3.0
4
16
 
5
17
  ### Minor Changes
@@ -82,7 +82,7 @@ function RovoAgentSelector(_ref) {
82
82
  value: (_agent$id = agent === null || agent === void 0 ? void 0 : agent.id) !== null && _agent$id !== void 0 ? _agent$id : '',
83
83
  externalConfigReference: (_agent$externalConfig = agent === null || agent === void 0 ? void 0 : agent.externalConfigReference) !== null && _agent$externalConfig !== void 0 ? _agent$externalConfig : undefined,
84
84
  identityAccountId: (_agent$identityAccoun = agent === null || agent === void 0 ? void 0 : agent.identityAccountId) !== null && _agent$identityAccoun !== void 0 ? _agent$identityAccoun : undefined,
85
- isForgeAgent: (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'FORGE'
85
+ isForgeAgent: (0, _platformFeatureFlags.fg)('rovo_agent_support_a2a_avatar') ? (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'THIRD_PARTY' || (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'FORGE' || (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'REMOTE_A2A' : (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'FORGE'
86
86
  };
87
87
  }).filter(function (option) {
88
88
  return option.label;
@@ -62,7 +62,7 @@ export function RovoAgentSelector({
62
62
  value: (_agent$id = agent === null || agent === void 0 ? void 0 : agent.id) !== null && _agent$id !== void 0 ? _agent$id : '',
63
63
  externalConfigReference: (_agent$externalConfig = agent === null || agent === void 0 ? void 0 : agent.externalConfigReference) !== null && _agent$externalConfig !== void 0 ? _agent$externalConfig : undefined,
64
64
  identityAccountId: (_agent$identityAccoun = agent === null || agent === void 0 ? void 0 : agent.identityAccountId) !== null && _agent$identityAccoun !== void 0 ? _agent$identityAccoun : undefined,
65
- isForgeAgent: (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'FORGE'
65
+ isForgeAgent: fg('rovo_agent_support_a2a_avatar') ? (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'THIRD_PARTY' || (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'FORGE' || (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'REMOTE_A2A' : (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'FORGE'
66
66
  };
67
67
  }).filter(option => option.label)) !== null && _data$agentStudio_get !== void 0 ? _data$agentStudio_get : [];
68
68
  }, [data === null || data === void 0 ? void 0 : (_data$agentStudio_get4 = data.agentStudio_getAgents) === null || _data$agentStudio_get4 === void 0 ? void 0 : _data$agentStudio_get4.edges]);
@@ -72,7 +72,7 @@ export function RovoAgentSelector(_ref) {
72
72
  value: (_agent$id = agent === null || agent === void 0 ? void 0 : agent.id) !== null && _agent$id !== void 0 ? _agent$id : '',
73
73
  externalConfigReference: (_agent$externalConfig = agent === null || agent === void 0 ? void 0 : agent.externalConfigReference) !== null && _agent$externalConfig !== void 0 ? _agent$externalConfig : undefined,
74
74
  identityAccountId: (_agent$identityAccoun = agent === null || agent === void 0 ? void 0 : agent.identityAccountId) !== null && _agent$identityAccoun !== void 0 ? _agent$identityAccoun : undefined,
75
- isForgeAgent: (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'FORGE'
75
+ isForgeAgent: fg('rovo_agent_support_a2a_avatar') ? (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'THIRD_PARTY' || (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'FORGE' || (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'REMOTE_A2A' : (agent === null || agent === void 0 ? void 0 : agent.creatorType) === 'FORGE'
76
76
  };
77
77
  }).filter(function (option) {
78
78
  return option.label;
package/package.json CHANGED
@@ -28,7 +28,7 @@
28
28
  "@atlaskit/form": "^15.3.0",
29
29
  "@atlaskit/platform-feature-flags": "^1.1.0",
30
30
  "@atlaskit/primitives": "^18.0.0",
31
- "@atlaskit/rovo-agent-components": "^3.32.0",
31
+ "@atlaskit/rovo-agent-components": "^3.33.0",
32
32
  "@atlaskit/select": "^21.7.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "@compiled/react": "^0.18.6",
@@ -88,7 +88,7 @@
88
88
  }
89
89
  },
90
90
  "name": "@atlaskit/rovo-agent-selector",
91
- "version": "1.3.0",
91
+ "version": "1.4.0",
92
92
  "description": "rovo agent selector",
93
93
  "author": "Atlassian Pty Ltd",
94
94
  "license": "Apache-2.0",
@@ -98,6 +98,9 @@
98
98
  "platform-feature-flags": {
99
99
  "jsm_help_center_one-click_rovo_agent": {
100
100
  "type": "boolean"
101
+ },
102
+ "rovo_agent_support_a2a_avatar": {
103
+ "type": "boolean"
101
104
  }
102
105
  }
103
106
  }