@atlaskit/rovo-triggers 9.7.0 → 9.8.1

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-triggers
2
2
 
3
+ ## 9.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`c53637977225d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c53637977225d) -
8
+ Add Rovo Spaces impact instrumentation (gated behind the existing rovo_chat_spaces_fe flag) via a
9
+ new useSpacesAnalytics hook: space created (with createdFrom), source added (manual vs
10
+ recommendation, with recommendationId) / removed, source-recommendations shown, conversation added
11
+ (+ Rovo AI MAU), space landing viewed (with entryPoint), space search, starter clicked, and space
12
+ memory created / viewed.
13
+
14
+ ## 9.8.0
15
+
16
+ ### Minor Changes
17
+
18
+ - [`b3f696b268b88`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b3f696b268b88) -
19
+ Send ADF modify-plan feedback in confirmed tools
20
+
3
21
  ## 9.7.0
4
22
 
5
23
  ### Minor Changes
@@ -1,4 +1,4 @@
1
- import type { DocNode } from '@atlaskit/adf-schema';
1
+ import type { DocNode } from '@atlaskit/adf-schema/doc';
2
2
  import type { SolutionDraftAgentUpdatePayload } from './common/types/agent';
3
3
  import type { JsmJourneyBuilderActionsPayload } from './common/types/jsm-journey-builder';
4
4
  import type { SolutionArchitectAgentActivationFlowStoppedPayload, SolutionArchitectAgentActivationPayload, SolutionArchitectAgentActivationFlowStartedPayload, SolutionArchitectHandoffPayload, SolutionPlanStateUpdatePayload, StudioAutomationBuildUpdatePayload, StudioLandingPageRedirectPayload, UpdateAgentConfigurationPayload } from './common/types/solution-architect';
@@ -138,6 +138,7 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
138
138
  */
139
139
  tags?: string[];
140
140
  } & Partial<TargetAgentParam> & PlaceholderParam>;
141
+ export type RovoSpaceEntryPoint = 'leftNav' | 'sidebar' | 'zeroQuery' | 'typeahead' | 'inChatRecommendation';
141
142
  /**
142
143
  * Opens the Rovo conversation assistant and seeds a chat from a Rovo Insight,
143
144
  * reproducing the same experience as clicking an insight inside the in-panel
@@ -554,6 +555,7 @@ export type SpaceSelectedPayload = PayloadCore<'space-selected', {
554
555
  title: string;
555
556
  emoji: string;
556
557
  description?: string;
558
+ entryPoint?: RovoSpaceEntryPoint;
557
559
  }>;
558
560
  export type SpaceDeselectedPayload = PayloadCore<'space-deselected'>;
559
561
  /**
@@ -612,7 +614,7 @@ export type TaskModifyPlanRequestedPayload = PayloadCore<'task-modify-plan-reque
612
614
  export type TaskModifyPlanSubmittedPayload = PayloadCore<'task-modify-plan-submitted', {
613
615
  conversationId: string;
614
616
  invocationId: string;
615
- prompt: string;
617
+ prompt: DocNode;
616
618
  }>;
617
619
  export declare const JIRA_INLINE_AGENT_CREATION_AGENT_ASSIGNED_EVENT: "jira-inline-agent-creation-agent-assigned";
618
620
  export type JiraInlineAgentCreationAgentAssignedPayload = PayloadCore<typeof JIRA_INLINE_AGENT_CREATION_AGENT_ASSIGNED_EVENT, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "9.7.0",
3
+ "version": "9.8.1",
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": {
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "atlaskit:src": "src/index.ts",
30
30
  "dependencies": {
31
- "@atlaskit/adf-schema": "^56.0.0",
31
+ "@atlaskit/adf-schema": "^56.1.0",
32
32
  "@atlaskit/platform-feature-flags": "^2.0.0",
33
33
  "@atlaskit/react-compiler-gating": "^0.2.0",
34
34
  "@babel/runtime": "^7.0.0",
@@ -41,10 +41,10 @@
41
41
  "@af/integration-testing": "workspace:^",
42
42
  "@af/visual-regression": "workspace:^",
43
43
  "@atlaskit/css": "^1.0.0",
44
- "@atlaskit/primitives": "^20.3.0",
44
+ "@atlaskit/primitives": "^20.5.0",
45
45
  "@atlaskit/ssr": "workspace:^",
46
46
  "@atlassian/a11y-jest-testing": "^0.13.0",
47
- "@atlassian/feature-flags-test-utils": "^1.1.0",
47
+ "@atlassian/feature-flags-test-utils": "^1.2.0",
48
48
  "@testing-library/react": "^16.3.0",
49
49
  "react": "^18.2.0",
50
50
  "react-dom": "^18.2.0",