@atlaskit/rovo-triggers 9.9.0 → 9.11.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,25 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 9.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`d663d38af3803`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d663d38af3803) -
8
+ Add optional launch source attribution for Home Agents for you Rovo Chat analytics.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 9.10.0
15
+
16
+ ### Minor Changes
17
+
18
+ - [`e93be45d5a13b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e93be45d5a13b) -
19
+ Send the current media's collectionId on Ask Rovo image-edit requests via
20
+ creationContext.additionalContext.mediaCollection, so the backend can resolve the media collection
21
+ when editing an existing image (image-create). Gated behind cc-maui-experiment / jira_maui_remix.
22
+
3
23
  ## 9.9.0
4
24
 
5
25
  ### Minor Changes
@@ -85,6 +85,12 @@ export type CreationContextParams = {
85
85
  spaceKey?: string;
86
86
  additionalContext?: Record<string, SerializableCreationContextValue>;
87
87
  };
88
+ export type ResultAttributionContextPayload = {
89
+ /**
90
+ * Source surface that launched the agent chat, appended to generated result analytics.
91
+ */
92
+ launchSource?: string;
93
+ };
88
94
  export type ChatNewPayload = PayloadCore<'chat-new', {
89
95
  name?: string;
90
96
  dialogues: Array<{
@@ -119,6 +125,11 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
119
125
  resetActiveMenu?: boolean;
120
126
  mode?: ChatModeParam;
121
127
  aiFeatureContext?: Record<string, unknown>;
128
+ /**
129
+ * Optional static analytics attribution for result events generated from this
130
+ * launched conversation.
131
+ */
132
+ resultAttributionContext?: ResultAttributionContextPayload;
122
133
  agentVersion?: {
123
134
  versionId?: string;
124
135
  versionType?: string;
@@ -186,6 +197,7 @@ export type EditorContextPayloadData = {
186
197
  selectionLocalIds?: string;
187
198
  contentMauiId?: string;
188
199
  mediaFileId?: string;
200
+ mediaCollection?: string;
189
201
  dynamicUiSource?: {
190
202
  contentType: string;
191
203
  startLocalId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "9.9.0",
3
+ "version": "9.11.0",
4
4
  "description": "Provides various trigger events to drive Rovo Chat functionality, such as a publish-subscribe and URL parameter hooks",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
@@ -41,7 +41,7 @@
41
41
  "@af/integration-testing": "workspace:^",
42
42
  "@af/visual-regression": "workspace:^",
43
43
  "@atlaskit/css": "^1.0.0",
44
- "@atlaskit/primitives": "^20.6.0",
44
+ "@atlaskit/primitives": "^21.0.0",
45
45
  "@atlaskit/ssr": "workspace:^",
46
46
  "@atlassian/a11y-jest-testing": "^0.13.0",
47
47
  "@atlassian/feature-flags-test-utils": "^1.2.0",