@atlaskit/rovo-triggers 11.6.0 → 11.8.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,26 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 11.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`3958e1faeb4f6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3958e1faeb4f6) -
8
+ Add `rovo-agent-draft-created` and `rovo-agent-published` rovo-triggers events, published behind
9
+ `sltns-1529-draft-agent-non-consequential` when Rovo agents are created or published from Smart
10
+ Create or the inline create-agent card.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
16
+ ## 11.7.0
17
+
18
+ ### Minor Changes
19
+
20
+ - [`c69547551921c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c69547551921c) -
21
+ Pass the invoking Confluence comment context to Rovo on each message so comment thread replies can
22
+ reuse one session.
23
+
3
24
  ## 11.6.0
4
25
 
5
26
  ### Minor Changes
package/dist/cjs/types.js CHANGED
@@ -113,6 +113,18 @@ var Topics = exports.Topics = {
113
113
  * optimistically in the Relay store without refetching.
114
114
  */
115
115
 
116
+ /**
117
+ * Published once a Rovo agent draft has been created (e.g. by Smart Create or the inline
118
+ * create-agent card). Lets hosts such as the Studio Agents landing page add the draft to
119
+ * their cached lists without refetching.
120
+ */
121
+
122
+ /**
123
+ * Published once a Rovo agent has been published from a Rovo surface (e.g. the Smart Create
124
+ * modal or the inline create-agent card). Lets hosts such as the Studio Agents landing page
125
+ * move the agent into their published lists without refetching.
126
+ */
127
+
116
128
  /**
117
129
  * Requests that the currently mounted in-context AIFC modal close.
118
130
  *
@@ -107,6 +107,18 @@ export const Topics = {
107
107
  * optimistically in the Relay store without refetching.
108
108
  */
109
109
 
110
+ /**
111
+ * Published once a Rovo agent draft has been created (e.g. by Smart Create or the inline
112
+ * create-agent card). Lets hosts such as the Studio Agents landing page add the draft to
113
+ * their cached lists without refetching.
114
+ */
115
+
116
+ /**
117
+ * Published once a Rovo agent has been published from a Rovo surface (e.g. the Smart Create
118
+ * modal or the inline create-agent card). Lets hosts such as the Studio Agents landing page
119
+ * move the agent into their published lists without refetching.
120
+ */
121
+
110
122
  /**
111
123
  * Requests that the currently mounted in-context AIFC modal close.
112
124
  *
package/dist/esm/types.js CHANGED
@@ -107,6 +107,18 @@ export var Topics = {
107
107
  * optimistically in the Relay store without refetching.
108
108
  */
109
109
 
110
+ /**
111
+ * Published once a Rovo agent draft has been created (e.g. by Smart Create or the inline
112
+ * create-agent card). Lets hosts such as the Studio Agents landing page add the draft to
113
+ * their cached lists without refetching.
114
+ */
115
+
116
+ /**
117
+ * Published once a Rovo agent has been published from a Rovo surface (e.g. the Smart Create
118
+ * modal or the inline create-agent card). Lets hosts such as the Studio Agents landing page
119
+ * move the agent into their published lists without refetching.
120
+ */
121
+
110
122
  /**
111
123
  * Requests that the currently mounted in-context AIFC modal close.
112
124
  *
@@ -173,6 +173,12 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
173
173
  * and comment:<commentId> so the backend can create a SessionAssociationPublic record.
174
174
  */
175
175
  tags?: string[];
176
+ /** Current Confluence comment invocation context for thread-level session reuse. */
177
+ commentMentionContext?: {
178
+ pageAri: string;
179
+ commentAri: string;
180
+ commentType: 'INLINE' | 'FOOTER';
181
+ };
176
182
  /**
177
183
  * Optimistic agent metadata for the editor agent mention flow.
178
184
  * Allows showing the agent avatar telepointer immediately during AI streaming
@@ -691,6 +697,24 @@ export type CustomSkillUpdatePayload = PayloadCore<'custom-skill-update', {
691
697
  type: string;
692
698
  }[];
693
699
  }>;
700
+ /**
701
+ * Published once a Rovo agent draft has been created (e.g. by Smart Create or the inline
702
+ * create-agent card). Lets hosts such as the Studio Agents landing page add the draft to
703
+ * their cached lists without refetching.
704
+ */
705
+ export type RovoAgentDraftCreatedPayload = PayloadCore<'rovo-agent-draft-created', {
706
+ agentAri: string;
707
+ cloudId: string;
708
+ }>;
709
+ /**
710
+ * Published once a Rovo agent has been published from a Rovo surface (e.g. the Smart Create
711
+ * modal or the inline create-agent card). Lets hosts such as the Studio Agents landing page
712
+ * move the agent into their published lists without refetching.
713
+ */
714
+ export type RovoAgentPublishedPayload = PayloadCore<'rovo-agent-published', {
715
+ agentAri: string;
716
+ cloudId: string;
717
+ }>;
694
718
  export type RecommendedSpacesSelectedPayload = PayloadCore<'recommended-spaces-selected'>;
695
719
  export type RecommendedSpacesFirstTimeSelectedPayload = PayloadCore<'recommended-spaces-first-time-selected'>;
696
720
  export type SmartlinksSubscriptionChangedPayload = PayloadCore<'smartlinks-subscription-changed'> & {
@@ -705,7 +729,7 @@ export type SmartlinksSubscriptionChangedPayload = PayloadCore<'smartlinks-subsc
705
729
  * is expected to be open at a time.
706
730
  */
707
731
  export type CloseInContextAifcModalPayload = PayloadCore<'close-in-context-aifc-modal'>;
708
- export type Payload = MessageSendPayload | ChatClosePayload | CloseInContextAifcModalPayload | SmartCreationModalOpenPayload | ChatNewPayload | InsightsOpenInChatPayload | InsightsChatExitedPayload | ChatDraftPayload | ChatSmartLink3PPostAuthLaunchPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | SmartlinksSubscriptionChangedPayload | OpenBrowseAgentSidebarPayload | OpenRovoRemixSidebarPayload | UpdateRovoRemixPresetPayload | SubmitRovoRemixPayload | RovoRemixHandoffFailedPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | JiraCreateContextPayload | ArtifactContextPayload | JiraInlineAgentCreationAgentAssignedPayload | JiraWorkItemsCreatingPayload | JiraWorkItemsCreatedPayload | JiraWorkItemsCreateFailedPayload | DatabaseContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | InsertSkillPayload | SelectActionPayload | AddChartToDashboardPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | SolutionArchitectAgentActivationFlowStartedPayload | SolutionArchitectAgentActivationFlowStoppedPayload | UpdateAgentConfigurationPayload | StudioLandingPageRedirectPayload | UploadAndInsertMediaPayload | SmartLinksContextPayload | SpaceSelectedPayload | SpaceDeselectedPayload | RecommendedSpacesSelectedPayload | RecommendedSpacesFirstTimeSelectedPayload | CustomSkillUpdatePayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload | ConfluenceContentFinalizedPayload;
732
+ export type Payload = MessageSendPayload | ChatClosePayload | CloseInContextAifcModalPayload | SmartCreationModalOpenPayload | ChatNewPayload | InsightsOpenInChatPayload | InsightsChatExitedPayload | ChatDraftPayload | ChatSmartLink3PPostAuthLaunchPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | SmartlinksSubscriptionChangedPayload | OpenBrowseAgentSidebarPayload | OpenRovoRemixSidebarPayload | UpdateRovoRemixPresetPayload | SubmitRovoRemixPayload | RovoRemixHandoffFailedPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | JiraCreateContextPayload | ArtifactContextPayload | JiraInlineAgentCreationAgentAssignedPayload | JiraWorkItemsCreatingPayload | JiraWorkItemsCreatedPayload | JiraWorkItemsCreateFailedPayload | DatabaseContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | InsertSkillPayload | SelectActionPayload | AddChartToDashboardPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | SolutionArchitectAgentActivationFlowStartedPayload | SolutionArchitectAgentActivationFlowStoppedPayload | UpdateAgentConfigurationPayload | StudioLandingPageRedirectPayload | UploadAndInsertMediaPayload | SmartLinksContextPayload | SpaceSelectedPayload | SpaceDeselectedPayload | RecommendedSpacesSelectedPayload | RecommendedSpacesFirstTimeSelectedPayload | CustomSkillUpdatePayload | RovoAgentDraftCreatedPayload | RovoAgentPublishedPayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload | ConfluenceContentFinalizedPayload;
709
733
  export type TaskPlanConfirmedPayload = PayloadCore<'task-plan-confirmed', {
710
734
  conversationId: string;
711
735
  planTitle: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "11.6.0",
3
+ "version": "11.8.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": {
@@ -9,7 +9,8 @@
9
9
  "atlassian": {
10
10
  "website": {
11
11
  "tags": [
12
- "platform-labs"
12
+ "platform-labs",
13
+ "rovo-components"
13
14
  ]
14
15
  },
15
16
  "react-compiler": {
@@ -49,7 +50,7 @@
49
50
  "@atlaskit/primitives": "^22.5.0",
50
51
  "@atlaskit/ssr": "workspace:^",
51
52
  "@atlassian/a11y-jest-testing": "^0.17.0",
52
- "@atlassian/conversation-assistant-service-api": "^19.5.0",
53
+ "@atlassian/conversation-assistant-service-api": "^19.6.0",
53
54
  "@atlassian/experiment-test-utils": "^0.2.0",
54
55
  "@atlassian/testing-library": "^0.11.0",
55
56
  "@atlassian/workbench": "workspace:*",