@atlaskit/rovo-triggers 12.1.0 → 12.3.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,27 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 12.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`f4c21293ec3ef`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f4c21293ec3ef) -
8
+ Add an Upload skill action to the shared skills-modal create menu and open the existing Skill
9
+ Builder upload dialog from Chat See all and Studio Browse skills. The action is gated by
10
+ `rovo_chat_skills_modal_create_menu`, `rovo_chat_build_skill_release`, and
11
+ `rovo_chat_upload_skill`.
12
+
13
+ ## 12.2.0
14
+
15
+ ### Minor Changes
16
+
17
+ - [`66f26dbd2efbe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/66f26dbd2efbe) -
18
+ Add a `custom-skill-create` payload, published by the Rovo chat custom skill card after a skill is
19
+ created, behind the `studio_sync_custom_skill_update_from_chat` gate.
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+
3
25
  ## 12.1.0
4
26
 
5
27
  ### Minor Changes
package/dist/cjs/types.js CHANGED
@@ -66,6 +66,8 @@ var Topics = exports.Topics = {
66
66
 
67
67
  /** Inserts a skill chip into the chat input at the current cursor position. */
68
68
 
69
+ /** Opens the chat upload dialog so SKILL.md can be reviewed by Skill Builder. */
70
+
69
71
  /** Selects a conversation action by ID
70
72
  * - Used to programmatically open a specific action in the conversation actions list
71
73
  * - The action screen must be already open, and the actions list populated
@@ -93,6 +95,12 @@ var Topics = exports.Topics = {
93
95
  * optimistically in the Relay store without refetching.
94
96
  */
95
97
 
98
+ /**
99
+ * Published by the Rovo chat custom-skill create action once a newly created skill has been
100
+ * finished successfully. The skill is not in any cached list yet, so subscribers such as the Studio
101
+ * custom skills page refetch their list.
102
+ */
103
+
96
104
  /**
97
105
  * Published once a Rovo agent draft has been created (e.g. by Smart Create or the inline
98
106
  * create-agent card). Lets hosts such as the Studio Agents landing page add the draft to
@@ -60,6 +60,8 @@ export const Topics = {
60
60
 
61
61
  /** Inserts a skill chip into the chat input at the current cursor position. */
62
62
 
63
+ /** Opens the chat upload dialog so SKILL.md can be reviewed by Skill Builder. */
64
+
63
65
  /** Selects a conversation action by ID
64
66
  * - Used to programmatically open a specific action in the conversation actions list
65
67
  * - The action screen must be already open, and the actions list populated
@@ -87,6 +89,12 @@ export const Topics = {
87
89
  * optimistically in the Relay store without refetching.
88
90
  */
89
91
 
92
+ /**
93
+ * Published by the Rovo chat custom-skill create action once a newly created skill has been
94
+ * finished successfully. The skill is not in any cached list yet, so subscribers such as the Studio
95
+ * custom skills page refetch their list.
96
+ */
97
+
90
98
  /**
91
99
  * Published once a Rovo agent draft has been created (e.g. by Smart Create or the inline
92
100
  * create-agent card). Lets hosts such as the Studio Agents landing page add the draft to
package/dist/esm/types.js CHANGED
@@ -60,6 +60,8 @@ export var Topics = {
60
60
 
61
61
  /** Inserts a skill chip into the chat input at the current cursor position. */
62
62
 
63
+ /** Opens the chat upload dialog so SKILL.md can be reviewed by Skill Builder. */
64
+
63
65
  /** Selects a conversation action by ID
64
66
  * - Used to programmatically open a specific action in the conversation actions list
65
67
  * - The action screen must be already open, and the actions list populated
@@ -87,6 +89,12 @@ export var Topics = {
87
89
  * optimistically in the Relay store without refetching.
88
90
  */
89
91
 
92
+ /**
93
+ * Published by the Rovo chat custom-skill create action once a newly created skill has been
94
+ * finished successfully. The skill is not in any cached list yet, so subscribers such as the Studio
95
+ * custom skills page refetch their list.
96
+ */
97
+
90
98
  /**
91
99
  * Published once a Rovo agent draft has been created (e.g. by Smart Create or the inline
92
100
  * create-agent card). Lets hosts such as the Studio Agents landing page add the draft to
@@ -439,6 +439,8 @@ export type InsertSkillPayload = PayloadCore<'insert-skill-into-prompt-input', {
439
439
  skillSelectionSource?: string;
440
440
  targetPromptDraftAndModeKey?: string;
441
441
  }>;
442
+ /** Opens the chat upload dialog so SKILL.md can be reviewed by Skill Builder. */
443
+ export type OpenSkillUploadPayload = PayloadCore<'open-skill-upload', void>;
442
444
  /** Selects a conversation action by ID
443
445
  * - Used to programmatically open a specific action in the conversation actions list
444
446
  * - The action screen must be already open, and the actions list populated
@@ -668,6 +670,12 @@ export type CustomSkillUpdatePayload = PayloadCore<'custom-skill-update', {
668
670
  type: string;
669
671
  }[];
670
672
  }>;
673
+ /**
674
+ * Published by the Rovo chat custom-skill create action once a newly created skill has been
675
+ * finished successfully. The skill is not in any cached list yet, so subscribers such as the Studio
676
+ * custom skills page refetch their list.
677
+ */
678
+ export type CustomSkillCreatePayload = PayloadCore<'custom-skill-create'>;
671
679
  /**
672
680
  * Published once a Rovo agent draft has been created (e.g. by Smart Create or the inline
673
681
  * create-agent card). Lets hosts such as the Studio Agents landing page add the draft to
@@ -708,7 +716,7 @@ export type SmartlinksSubscriptionChangedPayload = PayloadCore<'smartlinks-subsc
708
716
  * is expected to be open at a time.
709
717
  */
710
718
  export type CloseInContextAifcModalPayload = PayloadCore<'close-in-context-aifc-modal'>;
711
- export type Payload = MessageSendPayload | ChatClosePayload | CloseInContextAifcModalPayload | SmartCreationModalOpenPayload | ChatNewPayload | 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 | CustomSkillDeletedPayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload | ConfluenceContentFinalizedPayload;
719
+ export type Payload = MessageSendPayload | ChatClosePayload | CloseInContextAifcModalPayload | SmartCreationModalOpenPayload | ChatNewPayload | 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 | OpenSkillUploadPayload | SelectActionPayload | AddChartToDashboardPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | SolutionArchitectAgentActivationFlowStartedPayload | SolutionArchitectAgentActivationFlowStoppedPayload | UpdateAgentConfigurationPayload | StudioLandingPageRedirectPayload | UploadAndInsertMediaPayload | SmartLinksContextPayload | SpaceSelectedPayload | SpaceDeselectedPayload | RecommendedSpacesSelectedPayload | RecommendedSpacesFirstTimeSelectedPayload | CustomSkillUpdatePayload | CustomSkillCreatePayload | RovoAgentDraftCreatedPayload | RovoAgentPublishedPayload | CustomSkillDeletedPayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload | ConfluenceContentFinalizedPayload;
712
720
  export type TaskPlanConfirmedPayload = PayloadCore<'task-plan-confirmed', {
713
721
  conversationId: string;
714
722
  planTitle: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "12.1.0",
3
+ "version": "12.3.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": {