@atlaskit/rovo-triggers 11.7.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,18 @@
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
+
3
16
  ## 11.7.0
4
17
 
5
18
  ### 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
  *
@@ -697,6 +697,24 @@ export type CustomSkillUpdatePayload = PayloadCore<'custom-skill-update', {
697
697
  type: string;
698
698
  }[];
699
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
+ }>;
700
718
  export type RecommendedSpacesSelectedPayload = PayloadCore<'recommended-spaces-selected'>;
701
719
  export type RecommendedSpacesFirstTimeSelectedPayload = PayloadCore<'recommended-spaces-first-time-selected'>;
702
720
  export type SmartlinksSubscriptionChangedPayload = PayloadCore<'smartlinks-subscription-changed'> & {
@@ -711,7 +729,7 @@ export type SmartlinksSubscriptionChangedPayload = PayloadCore<'smartlinks-subsc
711
729
  * is expected to be open at a time.
712
730
  */
713
731
  export type CloseInContextAifcModalPayload = PayloadCore<'close-in-context-aifc-modal'>;
714
- 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;
715
733
  export type TaskPlanConfirmedPayload = PayloadCore<'task-plan-confirmed', {
716
734
  conversationId: string;
717
735
  planTitle: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "11.7.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": {