@atlaskit/rovo-agent-components 6.0.1 → 7.0.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,19 @@
1
1
  # @atlaskit/rovo-agent-components
2
2
 
3
+ ## 7.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`9ed7de31803c7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9ed7de31803c7) -
8
+ Updating rovo_hide_remote_a2a_agent_creator to be an experiment
9
+ rovo_hide_remote_a2a_agent_creator_exp instead of feature gate as per SPRT
10
+
11
+ ## 6.0.2
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 6.0.1
4
18
 
5
19
  ### Patch Changes
@@ -10,6 +10,7 @@ require("./index.compiled.css");
10
10
  var _runtime = require("@compiled/react/runtime");
11
11
  var _react = _interopRequireDefault(require("react"));
12
12
  var _reactIntl = require("react-intl");
13
+ var _featureGateJsClient = _interopRequireDefault(require("@atlaskit/feature-gate-js-client"));
13
14
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
14
15
  var _link = _interopRequireDefault(require("@atlaskit/link"));
15
16
  var _logo = require("@atlaskit/logo");
@@ -117,7 +118,7 @@ var AgentProfileCreator = exports.AgentProfileCreator = function AgentProfileCre
117
118
  });
118
119
  }
119
120
  if (creator.type === 'REMOTE_A2A') {
120
- if ((0, _platformFeatureFlags.fg)('rovo_hide_remote_a2a_agent_creator')) {
121
+ if (_featureGateJsClient.default.getExperimentValue('rovo_hide_remote_a2a_agent_creator_exp', 'isEnabled', false)) {
121
122
  return null;
122
123
  }
123
124
  return formatMessage(_messages.messages.remoteAgentCreatedBy, {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<5f16dd67db6269aad158fa98e85c76a4>>
8
+ * @generated SignedSource<<477fa8bbad45490f6a463fc28ad38d48>>
9
9
  * @relayHash c95a4b89f332b56ac41d44591442026c
10
10
  * @lightSyntaxTransform
11
11
  * @nogrep
@@ -71,8 +71,7 @@ var node = function () {
71
71
  }],
72
72
  "storageKey": "agentStudio_agentById(id:\"test-agent-id\")"
73
73
  },
74
- "action": "THROW",
75
- "path": "agentStudio_agentById"
74
+ "action": "THROW"
76
75
  }, {
77
76
  "args": v1 /*: any*/,
78
77
  "kind": "LinkedField",
@@ -3,6 +3,7 @@ import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
5
5
  import { useIntl } from 'react-intl';
6
+ import FeatureGates from '@atlaskit/feature-gate-js-client';
6
7
  import Heading from '@atlaskit/heading';
7
8
  import Link from '@atlaskit/link';
8
9
  import { AtlassianIcon, RovoIcon } from '@atlaskit/logo';
@@ -111,7 +112,7 @@ export const AgentProfileCreator = ({
111
112
  });
112
113
  }
113
114
  if (creator.type === 'REMOTE_A2A') {
114
- if (fg('rovo_hide_remote_a2a_agent_creator')) {
115
+ if (FeatureGates.getExperimentValue('rovo_hide_remote_a2a_agent_creator_exp', 'isEnabled', false)) {
115
116
  return null;
116
117
  }
117
118
  return formatMessage(messages.remoteAgentCreatedBy, {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<5f16dd67db6269aad158fa98e85c76a4>>
2
+ * @generated SignedSource<<477fa8bbad45490f6a463fc28ad38d48>>
3
3
  * @relayHash c95a4b89f332b56ac41d44591442026c
4
4
  * @lightSyntaxTransform
5
5
  * @nogrep
@@ -65,8 +65,7 @@ const node = function () {
65
65
  }],
66
66
  "storageKey": "agentStudio_agentById(id:\"test-agent-id\")"
67
67
  },
68
- "action": "THROW",
69
- "path": "agentStudio_agentById"
68
+ "action": "THROW"
70
69
  }, {
71
70
  "args": v1 /*: any*/,
72
71
  "kind": "LinkedField",
@@ -3,6 +3,7 @@ import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
5
5
  import { useIntl } from 'react-intl';
6
+ import FeatureGates from '@atlaskit/feature-gate-js-client';
6
7
  import Heading from '@atlaskit/heading';
7
8
  import Link from '@atlaskit/link';
8
9
  import { AtlassianIcon, RovoIcon } from '@atlaskit/logo';
@@ -110,7 +111,7 @@ export var AgentProfileCreator = function AgentProfileCreator(_ref2) {
110
111
  });
111
112
  }
112
113
  if (creator.type === 'REMOTE_A2A') {
113
- if (fg('rovo_hide_remote_a2a_agent_creator')) {
114
+ if (FeatureGates.getExperimentValue('rovo_hide_remote_a2a_agent_creator_exp', 'isEnabled', false)) {
114
115
  return null;
115
116
  }
116
117
  return formatMessage(messages.remoteAgentCreatedBy, {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<5f16dd67db6269aad158fa98e85c76a4>>
2
+ * @generated SignedSource<<477fa8bbad45490f6a463fc28ad38d48>>
3
3
  * @relayHash c95a4b89f332b56ac41d44591442026c
4
4
  * @lightSyntaxTransform
5
5
  * @nogrep
@@ -65,8 +65,7 @@ var node = function () {
65
65
  }],
66
66
  "storageKey": "agentStudio_agentById(id:\"test-agent-id\")"
67
67
  },
68
- "action": "THROW",
69
- "path": "agentStudio_agentById"
68
+ "action": "THROW"
70
69
  }, {
71
70
  "args": v1 /*: any*/,
72
71
  "kind": "LinkedField",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<5f16dd67db6269aad158fa98e85c76a4>>
2
+ * @generated SignedSource<<477fa8bbad45490f6a463fc28ad38d48>>
3
3
  * @relayHash c95a4b89f332b56ac41d44591442026c
4
4
  * @lightSyntaxTransform
5
5
  * @nogrep
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-agent-components",
3
- "version": "6.0.1",
3
+ "version": "7.0.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
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-monorepo",
6
6
  "atlassian": {
@@ -34,9 +34,10 @@
34
34
  "@atlaskit/afm-i18n-platform-ai-mate-rovo-agent-components": "2.10.0",
35
35
  "@atlaskit/analytics-next": "^12.0.0",
36
36
  "@atlaskit/avatar": "^26.0.0",
37
- "@atlaskit/button": "^24.0.0",
37
+ "@atlaskit/button": "^24.1.0",
38
38
  "@atlaskit/css": "^1.0.0",
39
39
  "@atlaskit/dropdown-menu": "^17.0.0",
40
+ "@atlaskit/feature-gate-js-client": "^6.0.0",
40
41
  "@atlaskit/flag": "^18.0.0",
41
42
  "@atlaskit/heading": "^6.0.0",
42
43
  "@atlaskit/icon": "^36.0.0",
@@ -44,7 +45,7 @@
44
45
  "@atlaskit/logo": "^21.0.0",
45
46
  "@atlaskit/platform-feature-flags": "^2.0.0",
46
47
  "@atlaskit/primitives": "^20.0.0",
47
- "@atlaskit/rovo-agent-analytics": "^4.1.0",
48
+ "@atlaskit/rovo-agent-analytics": "^5.0.0",
48
49
  "@atlaskit/skeleton": "^3.0.0",
49
50
  "@atlaskit/spinner": "^20.0.0",
50
51
  "@atlaskit/tokens": "^14.0.0",
@@ -134,9 +135,6 @@
134
135
  },
135
136
  "jira_browse_agents_modal": {
136
137
  "type": "boolean"
137
- },
138
- "rovo_hide_remote_a2a_agent_creator": {
139
- "type": "boolean"
140
138
  }
141
139
  }
142
140
  }