@atlaskit/rovo-triggers 12.2.0 → 12.3.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 +17 -0
- package/dist/cjs/types.js +2 -0
- package/dist/es2019/types.js +2 -0
- package/dist/esm/types.js +2 -0
- package/dist/types/types.d.ts +4 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 12.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a63eccbebdfe9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a63eccbebdfe9) -
|
|
8
|
+
Allow chat-new mode payloads to carry an explicitly selected action approval mode.
|
|
9
|
+
|
|
10
|
+
## 12.3.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`f4c21293ec3ef`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f4c21293ec3ef) -
|
|
15
|
+
Add an Upload skill action to the shared skills-modal create menu and open the existing Skill
|
|
16
|
+
Builder upload dialog from Chat See all and Studio Browse skills. The action is gated by
|
|
17
|
+
`rovo_chat_skills_modal_create_menu`, `rovo_chat_build_skill_release`, and
|
|
18
|
+
`rovo_chat_upload_skill`.
|
|
19
|
+
|
|
3
20
|
## 12.2.0
|
|
4
21
|
|
|
5
22
|
### 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
|
package/dist/es2019/types.js
CHANGED
|
@@ -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
|
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
|
package/dist/types/types.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ type PlaceholderParam = {
|
|
|
66
66
|
*/
|
|
67
67
|
export type RovoChatSourceMode = 'GENERAL' | 'STRICT';
|
|
68
68
|
type ChatModeParam = {
|
|
69
|
+
autoActionApprovalMode?: 'ALWAYS_HUMAN' | 'SHADOW' | 'AUTO_APPROVE';
|
|
69
70
|
deepResearchEnabled?: boolean;
|
|
70
71
|
thinkDeeperEnabled?: boolean;
|
|
71
72
|
fastModeEnabled?: boolean;
|
|
@@ -439,6 +440,8 @@ export type InsertSkillPayload = PayloadCore<'insert-skill-into-prompt-input', {
|
|
|
439
440
|
skillSelectionSource?: string;
|
|
440
441
|
targetPromptDraftAndModeKey?: string;
|
|
441
442
|
}>;
|
|
443
|
+
/** Opens the chat upload dialog so SKILL.md can be reviewed by Skill Builder. */
|
|
444
|
+
export type OpenSkillUploadPayload = PayloadCore<'open-skill-upload', void>;
|
|
442
445
|
/** Selects a conversation action by ID
|
|
443
446
|
* - Used to programmatically open a specific action in the conversation actions list
|
|
444
447
|
* - The action screen must be already open, and the actions list populated
|
|
@@ -714,7 +717,7 @@ export type SmartlinksSubscriptionChangedPayload = PayloadCore<'smartlinks-subsc
|
|
|
714
717
|
* is expected to be open at a time.
|
|
715
718
|
*/
|
|
716
719
|
export type CloseInContextAifcModalPayload = PayloadCore<'close-in-context-aifc-modal'>;
|
|
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;
|
|
720
|
+
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;
|
|
718
721
|
export type TaskPlanConfirmedPayload = PayloadCore<'task-plan-confirmed', {
|
|
719
722
|
conversationId: string;
|
|
720
723
|
planTitle: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.3.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": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
53
53
|
"@atlassian/conversation-assistant-service-api": "^19.10.0",
|
|
54
54
|
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
55
|
-
"@atlassian/testing-library": "^0.
|
|
55
|
+
"@atlassian/testing-library": "^0.12.0",
|
|
56
56
|
"@atlassian/workbench": "workspace:*",
|
|
57
57
|
"@testing-library/react": "^16.3.0",
|
|
58
58
|
"react": "^18.2.0",
|