@atlaskit/rovo-agent-components 3.32.4 → 3.33.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,23 @@
1
1
  # @atlaskit/rovo-agent-components
2
2
 
3
+ ## 3.33.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
+
15
+ ## 3.32.5
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 3.32.4
4
22
 
5
23
  ### Patch Changes
@@ -6,7 +6,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
6
6
  Object.defineProperty(exports, "__esModule", {
7
7
  value: true
8
8
  });
9
- exports.AgentAvatar = exports.AGENT_AVATAR_CLIP_PATH = void 0;
9
+ exports.isForgeAgentByCreatorType = exports.AgentAvatar = exports.AGENT_AVATAR_CLIP_PATH = void 0;
10
10
  require("./index.compiled.css");
11
11
  var React = _interopRequireWildcard(require("react"));
12
12
  var _runtime = require("@compiled/react/runtime");
@@ -85,4 +85,8 @@ var AgentAvatar = exports.AgentAvatar = function AgentAvatar(_ref) {
85
85
  isRovoDev: isRovoDev,
86
86
  size: size
87
87
  }))));
88
+ };
89
+ // BE will deprecate THIRD_PARTY and use FORGE instead
90
+ var isForgeAgentByCreatorType = exports.isForgeAgentByCreatorType = function isForgeAgentByCreatorType(creatorType) {
91
+ return creatorType === 'THIRD_PARTY' || creatorType === 'FORGE' || creatorType === 'REMOTE_A2A';
88
92
  };
@@ -77,4 +77,6 @@ export const AgentAvatar = ({
77
77
  isRovoDev: isRovoDev,
78
78
  size: size
79
79
  }))));
80
- };
80
+ };
81
+ // BE will deprecate THIRD_PARTY and use FORGE instead
82
+ export const isForgeAgentByCreatorType = creatorType => creatorType === 'THIRD_PARTY' || creatorType === 'FORGE' || creatorType === 'REMOTE_A2A';
@@ -76,4 +76,8 @@ export var AgentAvatar = function AgentAvatar(_ref) {
76
76
  isRovoDev: isRovoDev,
77
77
  size: size
78
78
  }))));
79
+ };
80
+ // BE will deprecate THIRD_PARTY and use FORGE instead
81
+ export var isForgeAgentByCreatorType = function isForgeAgentByCreatorType(creatorType) {
82
+ return creatorType === 'THIRD_PARTY' || creatorType === 'FORGE' || creatorType === 'REMOTE_A2A';
79
83
  };
@@ -21,4 +21,6 @@ type AgentAvatarProps = {
21
21
  * @param agentId - This is agent.id
22
22
  */
23
23
  export declare const AgentAvatar: ({ imageUrl, size, label, name, agentId, agentIdentityAccountId, agentNamedId, showBorder, isRovoDev, isForgeAgent, forgeAgentIconUrl, }: AgentAvatarProps) => JSX.Element;
24
+ export type AgentCreatorType = 'SYSTEM' | 'CUSTOMER' | 'THIRD_PARTY' | 'FORGE' | 'OOTB' | 'REMOTE_A2A';
25
+ export declare const isForgeAgentByCreatorType: (creatorType: AgentCreatorType) => boolean;
24
26
  export {};
@@ -21,4 +21,6 @@ type AgentAvatarProps = {
21
21
  * @param agentId - This is agent.id
22
22
  */
23
23
  export declare const AgentAvatar: ({ imageUrl, size, label, name, agentId, agentIdentityAccountId, agentNamedId, showBorder, isRovoDev, isForgeAgent, forgeAgentIconUrl, }: AgentAvatarProps) => JSX.Element;
24
+ export type AgentCreatorType = 'SYSTEM' | 'CUSTOMER' | 'THIRD_PARTY' | 'FORGE' | 'OOTB' | 'REMOTE_A2A';
25
+ export declare const isForgeAgentByCreatorType: (creatorType: AgentCreatorType) => boolean;
24
26
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-agent-components",
3
- "version": "3.32.4",
3
+ "version": "3.33.0",
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",
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/logo": "^19.10.0",
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
47
  "@atlaskit/primitives": "^18.0.0",
48
- "@atlaskit/rovo-agent-analytics": "^0.13.0",
48
+ "@atlaskit/rovo-agent-analytics": "^0.15.0",
49
49
  "@atlaskit/skeleton": "^2.1.0",
50
50
  "@atlaskit/tokens": "^11.0.0",
51
51
  "@atlaskit/tooltip": "^20.14.0",