@atlaskit/rovo-agent-analytics 1.8.0 → 1.9.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,14 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-analytics
|
|
2
2
|
|
|
3
|
+
## 1.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`5ad26dd7ae450`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5ad26dd7ae450) -
|
|
8
|
+
Make `agentType` optional and add required `subagentId: string | null` attribute to
|
|
9
|
+
`EditingEventPayload`. Use `subagentId` to differentiate events fired at the scenario/subagent
|
|
10
|
+
level vs the agent level.
|
|
11
|
+
|
|
3
12
|
## 1.8.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -14,7 +14,14 @@ export type EditingEventPayload = {
|
|
|
14
14
|
actionSubject: 'rovoAgent';
|
|
15
15
|
action: 'updated';
|
|
16
16
|
attributes: VersionedAgentAttributes & {
|
|
17
|
-
agentType
|
|
17
|
+
agentType?: string;
|
|
18
18
|
field: string;
|
|
19
|
+
/**
|
|
20
|
+
* Identifies the subagent (formerly "scenario") whose configuration was updated.
|
|
21
|
+
* Pass the scenario/subagent id when the analytics event is fired at the
|
|
22
|
+
* scenario/subagent level. Pass `null` when the event is fired at the agent
|
|
23
|
+
* level (i.e. not scoped to any specific subagent).
|
|
24
|
+
*/
|
|
25
|
+
subagentId: string | null;
|
|
19
26
|
};
|
|
20
27
|
};
|
|
@@ -14,7 +14,14 @@ export type EditingEventPayload = {
|
|
|
14
14
|
actionSubject: 'rovoAgent';
|
|
15
15
|
action: 'updated';
|
|
16
16
|
attributes: VersionedAgentAttributes & {
|
|
17
|
-
agentType
|
|
17
|
+
agentType?: string;
|
|
18
18
|
field: string;
|
|
19
|
+
/**
|
|
20
|
+
* Identifies the subagent (formerly "scenario") whose configuration was updated.
|
|
21
|
+
* Pass the scenario/subagent id when the analytics event is fired at the
|
|
22
|
+
* scenario/subagent level. Pass `null` when the event is fired at the agent
|
|
23
|
+
* level (i.e. not scoped to any specific subagent).
|
|
24
|
+
*/
|
|
25
|
+
subagentId: string | null;
|
|
19
26
|
};
|
|
20
27
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-analytics",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Rovo Agents analytics",
|
|
5
5
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-monorepo",
|
|
6
6
|
"atlassian": {
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"@atlaskit/ssr": "workspace:^",
|
|
51
51
|
"@atlassian/react-compiler-gating": "workspace:^",
|
|
52
52
|
"@testing-library/react": "^16.3.0",
|
|
53
|
+
"react": "^18.2.0",
|
|
53
54
|
"react-dom": "^18.2.0"
|
|
54
55
|
},
|
|
55
56
|
"peerDependencies": {
|