@atlaskit/rovo-agent-analytics 2.3.2 → 2.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,16 @@
1
1
  # @atlaskit/rovo-agent-analytics
2
2
 
3
+ ## 2.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`a220a9993d915`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a220a9993d915) -
8
+ Consolidate tools and skills variants of the `rovoAgent updated` event payload: removed the legacy
9
+ `'tools' | 'actions'` and `'actionsAndMcpServers'` field variants in favour of a single `'tools'`
10
+ variant discriminated by `operation: 'remove' | 'change'`. The `'agenticSkills'` variant now also
11
+ requires `operation: 'remove' | 'change'`. `mcpServersCount` and `mcpToolsCount` are required on
12
+ the `'tools'` variant.
13
+
3
14
  ## 2.3.2
4
15
 
5
16
  ### Patch Changes
@@ -18,13 +18,13 @@ type FieldAttributes = {
18
18
  isWebSearchEnabled: boolean;
19
19
  } | {
20
20
  field: 'agenticSkills';
21
+ operation: 'remove' | 'change';
21
22
  skillCount: number;
22
23
  } | {
23
- field: 'tools' | 'actions';
24
- toolsCount: number;
25
- } | {
26
- field: 'actionsAndMcpServers';
24
+ field: 'tools';
25
+ operation: 'remove' | 'change';
27
26
  toolsCount: number;
27
+ toolsList: string;
28
28
  mcpServersCount: number;
29
29
  mcpToolsCount: number;
30
30
  } | {
@@ -18,13 +18,13 @@ type FieldAttributes = {
18
18
  isWebSearchEnabled: boolean;
19
19
  } | {
20
20
  field: 'agenticSkills';
21
+ operation: 'remove' | 'change';
21
22
  skillCount: number;
22
23
  } | {
23
- field: 'tools' | 'actions';
24
- toolsCount: number;
25
- } | {
26
- field: 'actionsAndMcpServers';
24
+ field: 'tools';
25
+ operation: 'remove' | 'change';
27
26
  toolsCount: number;
27
+ toolsList: string;
28
28
  mcpServersCount: number;
29
29
  mcpToolsCount: number;
30
30
  } | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-agent-analytics",
3
- "version": "2.3.2",
3
+ "version": "2.4.0",
4
4
  "description": "Rovo Agents analytics",
5
5
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-monorepo",
6
6
  "atlassian": {