@atlaskit/rovo-agent-components 3.36.0 → 3.36.1
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,12 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 3.36.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3828b60d0308e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3828b60d0308e) -
|
|
8
|
+
Profile card now supports A2A agent authors properly
|
|
9
|
+
|
|
3
10
|
## 3.36.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -19,6 +19,7 @@ var _skeleton = _interopRequireDefault(require("@atlaskit/skeleton"));
|
|
|
19
19
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
20
20
|
var _hiddenIcon = require("../../common/ui/hidden-icon");
|
|
21
21
|
var _starIconButton = require("../../common/ui/star-icon-button");
|
|
22
|
+
var _agentAvatar = require("../agent-avatar");
|
|
22
23
|
var _messages = require("./messages");
|
|
23
24
|
var styles = {
|
|
24
25
|
clickableItem: "_zulp1b66 _1e0c1txw _4cvr1h6o",
|
|
@@ -40,9 +41,8 @@ var getAgentCreator = exports.getAgentCreator = function getAgentCreator(_ref) {
|
|
|
40
41
|
type: 'SYSTEM'
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
if (creatorType === 'FORGE' || creatorType === 'THIRD_PARTY') {
|
|
44
|
+
if ((0, _platformFeatureFlags.fg)('rovo_agent_support_a2a_avatar') ? (0, _agentAvatar.isForgeAgentByCreatorType)(creatorType) : creatorType === 'FORGE' || creatorType === 'THIRD_PARTY' // THIRD_PARTY is deprecated in convo-ai, use FORGE instead
|
|
45
|
+
) {
|
|
46
46
|
return {
|
|
47
47
|
type: 'FORGE',
|
|
48
48
|
name: forgeCreator !== null && forgeCreator !== void 0 ? forgeCreator : ''
|
|
@@ -12,6 +12,7 @@ import Skeleton from '@atlaskit/skeleton';
|
|
|
12
12
|
import Tooltip from '@atlaskit/tooltip';
|
|
13
13
|
import { HiddenIcon } from '../../common/ui/hidden-icon';
|
|
14
14
|
import { StarIconButton } from '../../common/ui/star-icon-button';
|
|
15
|
+
import { isForgeAgentByCreatorType } from '../agent-avatar';
|
|
15
16
|
import { messages } from './messages';
|
|
16
17
|
const styles = {
|
|
17
18
|
clickableItem: "_zulp1b66 _1e0c1txw _4cvr1h6o",
|
|
@@ -34,9 +35,8 @@ export const getAgentCreator = ({
|
|
|
34
35
|
type: 'SYSTEM'
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
if (creatorType === 'FORGE' || creatorType === 'THIRD_PARTY') {
|
|
38
|
+
if (fg('rovo_agent_support_a2a_avatar') ? isForgeAgentByCreatorType(creatorType) : creatorType === 'FORGE' || creatorType === 'THIRD_PARTY' // THIRD_PARTY is deprecated in convo-ai, use FORGE instead
|
|
39
|
+
) {
|
|
40
40
|
return {
|
|
41
41
|
type: 'FORGE',
|
|
42
42
|
name: forgeCreator !== null && forgeCreator !== void 0 ? forgeCreator : ''
|
|
@@ -12,6 +12,7 @@ import Skeleton from '@atlaskit/skeleton';
|
|
|
12
12
|
import Tooltip from '@atlaskit/tooltip';
|
|
13
13
|
import { HiddenIcon } from '../../common/ui/hidden-icon';
|
|
14
14
|
import { StarIconButton } from '../../common/ui/star-icon-button';
|
|
15
|
+
import { isForgeAgentByCreatorType } from '../agent-avatar';
|
|
15
16
|
import { messages } from './messages';
|
|
16
17
|
var styles = {
|
|
17
18
|
clickableItem: "_zulp1b66 _1e0c1txw _4cvr1h6o",
|
|
@@ -33,9 +34,8 @@ export var getAgentCreator = function getAgentCreator(_ref) {
|
|
|
33
34
|
type: 'SYSTEM'
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
if (creatorType === 'FORGE' || creatorType === 'THIRD_PARTY') {
|
|
37
|
+
if (fg('rovo_agent_support_a2a_avatar') ? isForgeAgentByCreatorType(creatorType) : creatorType === 'FORGE' || creatorType === 'THIRD_PARTY' // THIRD_PARTY is deprecated in convo-ai, use FORGE instead
|
|
38
|
+
) {
|
|
39
39
|
return {
|
|
40
40
|
type: 'FORGE',
|
|
41
41
|
name: forgeCreator !== null && forgeCreator !== void 0 ? forgeCreator : ''
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "3.36.
|
|
3
|
+
"version": "3.36.1",
|
|
4
4
|
"description": "This package host public components related to rovo agents, the components here are needed for other public atlaskit packages",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/avatar": "^25.8.0",
|
|
38
38
|
"@atlaskit/button": "^23.9.0",
|
|
39
39
|
"@atlaskit/css": "^0.19.0",
|
|
40
|
-
"@atlaskit/dropdown-menu": "^16.
|
|
40
|
+
"@atlaskit/dropdown-menu": "^16.5.0",
|
|
41
41
|
"@atlaskit/flag": "^17.8.0",
|
|
42
42
|
"@atlaskit/heading": "^5.3.0",
|
|
43
43
|
"@atlaskit/icon": "^32.0.0",
|
|
@@ -133,6 +133,9 @@
|
|
|
133
133
|
},
|
|
134
134
|
"rovo_agents_agent_verification": {
|
|
135
135
|
"type": "boolean"
|
|
136
|
+
},
|
|
137
|
+
"rovo_agent_support_a2a_avatar": {
|
|
138
|
+
"type": "boolean"
|
|
136
139
|
}
|
|
137
140
|
}
|
|
138
141
|
}
|