@atlaskit/rovo-triggers 12.0.0 → 12.2.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 +20 -0
- package/compass.yml +1 -1
- package/dist/cjs/types.js +6 -0
- package/dist/es2019/types.js +6 -0
- package/dist/esm/types.js +6 -0
- package/dist/types/types.d.ts +11 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 12.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`66f26dbd2efbe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/66f26dbd2efbe) -
|
|
8
|
+
Add a `custom-skill-create` payload, published by the Rovo chat custom skill card after a skill is
|
|
9
|
+
created, behind the `studio_sync_custom_skill_update_from_chat` gate.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 12.1.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [`7cb363c54a0f7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7cb363c54a0f7) -
|
|
20
|
+
Preserve selected slide targets from content reads through conversation context and outgoing
|
|
21
|
+
service types.
|
|
22
|
+
|
|
3
23
|
## 12.0.0
|
|
4
24
|
|
|
5
25
|
### Major Changes
|
package/compass.yml
CHANGED
|
@@ -29,7 +29,7 @@ customFields:
|
|
|
29
29
|
value: 1
|
|
30
30
|
- name: Trusted Reviewer Teams
|
|
31
31
|
type: text
|
|
32
|
-
value: ari:cloud:identity::team/7cfec967-4cef-4e5d-882a-9458a150a2df
|
|
32
|
+
value: ari:cloud:identity::team/7cfec967-4cef-4e5d-882a-9458a150a2df,ari:cloud:identity::team/0ba7be15-f43b-46ff-9f2b-191c430689c8
|
|
33
33
|
- name: Technical Owner
|
|
34
34
|
type: user
|
|
35
35
|
value: ari:cloud:identity::user/557057:39edaad5-841d-4699-ac7c-527acd6a72ec # Peter Obara
|
package/dist/cjs/types.js
CHANGED
|
@@ -93,6 +93,12 @@ var Topics = exports.Topics = {
|
|
|
93
93
|
* optimistically in the Relay store without refetching.
|
|
94
94
|
*/
|
|
95
95
|
|
|
96
|
+
/**
|
|
97
|
+
* Published by the Rovo chat custom-skill create action once a newly created skill has been
|
|
98
|
+
* finished successfully. The skill is not in any cached list yet, so subscribers such as the Studio
|
|
99
|
+
* custom skills page refetch their list.
|
|
100
|
+
*/
|
|
101
|
+
|
|
96
102
|
/**
|
|
97
103
|
* Published once a Rovo agent draft has been created (e.g. by Smart Create or the inline
|
|
98
104
|
* create-agent card). Lets hosts such as the Studio Agents landing page add the draft to
|
package/dist/es2019/types.js
CHANGED
|
@@ -87,6 +87,12 @@ export const Topics = {
|
|
|
87
87
|
* optimistically in the Relay store without refetching.
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
|
+
/**
|
|
91
|
+
* Published by the Rovo chat custom-skill create action once a newly created skill has been
|
|
92
|
+
* finished successfully. The skill is not in any cached list yet, so subscribers such as the Studio
|
|
93
|
+
* custom skills page refetch their list.
|
|
94
|
+
*/
|
|
95
|
+
|
|
90
96
|
/**
|
|
91
97
|
* Published once a Rovo agent draft has been created (e.g. by Smart Create or the inline
|
|
92
98
|
* create-agent card). Lets hosts such as the Studio Agents landing page add the draft to
|
package/dist/esm/types.js
CHANGED
|
@@ -87,6 +87,12 @@ export var Topics = {
|
|
|
87
87
|
* optimistically in the Relay store without refetching.
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
|
+
/**
|
|
91
|
+
* Published by the Rovo chat custom-skill create action once a newly created skill has been
|
|
92
|
+
* finished successfully. The skill is not in any cached list yet, so subscribers such as the Studio
|
|
93
|
+
* custom skills page refetch their list.
|
|
94
|
+
*/
|
|
95
|
+
|
|
90
96
|
/**
|
|
91
97
|
* Published once a Rovo agent draft has been created (e.g. by Smart Create or the inline
|
|
92
98
|
* create-agent card). Lets hosts such as the Studio Agents landing page add the draft to
|
package/dist/types/types.d.ts
CHANGED
|
@@ -238,6 +238,10 @@ export type SlidesContextPayloadData = {
|
|
|
238
238
|
url: string;
|
|
239
239
|
selectedSlideIndex: number;
|
|
240
240
|
selectedElementIds: string[];
|
|
241
|
+
selectedTargets?: {
|
|
242
|
+
targetId: string;
|
|
243
|
+
owningElementId: string;
|
|
244
|
+
}[];
|
|
241
245
|
isViewMode?: boolean;
|
|
242
246
|
} | undefined;
|
|
243
247
|
export type DatabaseContextPayloadData = {
|
|
@@ -664,6 +668,12 @@ export type CustomSkillUpdatePayload = PayloadCore<'custom-skill-update', {
|
|
|
664
668
|
type: string;
|
|
665
669
|
}[];
|
|
666
670
|
}>;
|
|
671
|
+
/**
|
|
672
|
+
* Published by the Rovo chat custom-skill create action once a newly created skill has been
|
|
673
|
+
* finished successfully. The skill is not in any cached list yet, so subscribers such as the Studio
|
|
674
|
+
* custom skills page refetch their list.
|
|
675
|
+
*/
|
|
676
|
+
export type CustomSkillCreatePayload = PayloadCore<'custom-skill-create'>;
|
|
667
677
|
/**
|
|
668
678
|
* Published once a Rovo agent draft has been created (e.g. by Smart Create or the inline
|
|
669
679
|
* create-agent card). Lets hosts such as the Studio Agents landing page add the draft to
|
|
@@ -704,7 +714,7 @@ export type SmartlinksSubscriptionChangedPayload = PayloadCore<'smartlinks-subsc
|
|
|
704
714
|
* is expected to be open at a time.
|
|
705
715
|
*/
|
|
706
716
|
export type CloseInContextAifcModalPayload = PayloadCore<'close-in-context-aifc-modal'>;
|
|
707
|
-
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;
|
|
717
|
+
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 | CustomSkillCreatePayload | RovoAgentDraftCreatedPayload | RovoAgentPublishedPayload | CustomSkillDeletedPayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload | ConfluenceContentFinalizedPayload;
|
|
708
718
|
export type TaskPlanConfirmedPayload = PayloadCore<'task-plan-confirmed', {
|
|
709
719
|
conversationId: string;
|
|
710
720
|
planTitle: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.2.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": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/primitives": "^22.5.0",
|
|
51
51
|
"@atlaskit/ssr": "workspace:^",
|
|
52
52
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
53
|
-
"@atlassian/conversation-assistant-service-api": "^19.
|
|
53
|
+
"@atlassian/conversation-assistant-service-api": "^19.10.0",
|
|
54
54
|
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
55
55
|
"@atlassian/testing-library": "^0.11.0",
|
|
56
56
|
"@atlassian/workbench": "workspace:*",
|