@atlaskit/rovo-triggers 9.5.0 → 9.7.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 +23 -0
- package/compass.yml +13 -4
- 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 +15 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 9.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`e4beedcb8b94c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e4beedcb8b94c) -
|
|
8
|
+
Add keep_existing_page_structure experience value to CreationContextParams
|
|
9
|
+
|
|
10
|
+
## 9.6.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`b6919a254df4f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b6919a254df4f) -
|
|
15
|
+
Wire skill selection from the skills modal directly into the chat prompt input.
|
|
16
|
+
|
|
17
|
+
Clicking a skill in the "See All Skills" modal now inserts a skill chip at the cursor position in
|
|
18
|
+
the chat input, instead of toggling selection. Adds `InsertSkillPayload` to rovo-triggers,
|
|
19
|
+
`isPressable` to `SkillCard`, `onSkillClick` to `SkillsList`/`AgentStudioSkills`, and handles the
|
|
20
|
+
new pubsub event in `ChatInputInternal`.
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
|
|
3
26
|
## 9.5.0
|
|
4
27
|
|
|
5
28
|
### Minor Changes
|
package/compass.yml
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
configVersion: 1
|
|
2
|
-
id:
|
|
2
|
+
id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/ca5b6629-85fe-442c-8946-01fc4e33a3d4
|
|
3
3
|
name: platform/conversation-assistant
|
|
4
4
|
description: rovo-chat-fe
|
|
5
|
-
ownerId:
|
|
5
|
+
ownerId: ari:cloud:identity::team/14c97034-d86b-45c9-8a6e-872e0cbbd69b # AI Mate Frontend
|
|
6
6
|
typeId: OTHER
|
|
7
7
|
fields:
|
|
8
8
|
tier: 3
|
|
9
9
|
lifecycle: Active
|
|
10
|
+
isMonorepoProject: true
|
|
10
11
|
labels:
|
|
11
12
|
- ai-mate
|
|
12
13
|
- rovo-chat-fe
|
|
13
14
|
- conversation-assistant
|
|
15
|
+
- platform-code
|
|
16
|
+
- platform-afm
|
|
14
17
|
customFields:
|
|
15
18
|
- name: Department
|
|
16
19
|
type: text
|
|
@@ -27,13 +30,19 @@ customFields:
|
|
|
27
30
|
- name: Trusted Reviewer Teams
|
|
28
31
|
type: text
|
|
29
32
|
value: ari:cloud:identity::team/7cfec967-4cef-4e5d-882a-9458a150a2df
|
|
33
|
+
- name: Technical Owner
|
|
34
|
+
type: user
|
|
35
|
+
value: ari:cloud:identity::user/557057:39edaad5-841d-4699-ac7c-527acd6a72ec # Peter Obara
|
|
30
36
|
links:
|
|
31
37
|
- name: Root Repository
|
|
32
38
|
type: REPOSITORY
|
|
33
39
|
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
|
|
34
40
|
- name: Where to log bugs with template
|
|
35
41
|
type: PROJECT
|
|
36
|
-
url:
|
|
42
|
+
url: https://product-fabric.atlassian.net/jira/software/projects/ROVOFE/boards/5135
|
|
37
43
|
- name: Slack Channel
|
|
38
44
|
type: CHAT_CHANNEL
|
|
39
|
-
url:
|
|
45
|
+
url: https://atlassian.enterprise.slack.com/archives/C0677M19GU9 # #ai-mate-frontend
|
|
46
|
+
- name: Rovo Triggers
|
|
47
|
+
type: REPOSITORY
|
|
48
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/ai-mate/rovo-triggers
|
package/dist/cjs/types.js
CHANGED
|
@@ -69,6 +69,8 @@ var Topics = exports.Topics = {
|
|
|
69
69
|
* - Supports multiple card types (Jira, Confluence, Trello, etc.)
|
|
70
70
|
*/
|
|
71
71
|
|
|
72
|
+
/** Inserts a skill chip into the chat input at the current cursor position. */
|
|
73
|
+
|
|
72
74
|
/** Selects a conversation action by ID
|
|
73
75
|
* - Used to programmatically open a specific action in the conversation actions list
|
|
74
76
|
* - The action screen must be already open, and the actions list populated
|
package/dist/es2019/types.js
CHANGED
|
@@ -63,6 +63,8 @@ export const Topics = {
|
|
|
63
63
|
* - Supports multiple card types (Jira, Confluence, Trello, etc.)
|
|
64
64
|
*/
|
|
65
65
|
|
|
66
|
+
/** Inserts a skill chip into the chat input at the current cursor position. */
|
|
67
|
+
|
|
66
68
|
/** Selects a conversation action by ID
|
|
67
69
|
* - Used to programmatically open a specific action in the conversation actions list
|
|
68
70
|
* - The action screen must be already open, and the actions list populated
|
package/dist/esm/types.js
CHANGED
|
@@ -63,6 +63,8 @@ export var Topics = {
|
|
|
63
63
|
* - Supports multiple card types (Jira, Confluence, Trello, etc.)
|
|
64
64
|
*/
|
|
65
65
|
|
|
66
|
+
/** Inserts a skill chip into the chat input at the current cursor position. */
|
|
67
|
+
|
|
66
68
|
/** Selects a conversation action by ID
|
|
67
69
|
* - Used to programmatically open a specific action in the conversation actions list
|
|
68
70
|
* - The action screen must be already open, and the actions list populated
|
package/dist/types/types.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ export type CreationContextParams = {
|
|
|
79
79
|
source?: string;
|
|
80
80
|
shouldUseExistingContent?: boolean;
|
|
81
81
|
isViewMode?: boolean;
|
|
82
|
-
experience?: 'cwr' | 'cwr_type' | 'cwr_edit' | 'cwr_existing' | 'inline_edit' | 'inline_view' | 'remix' | 'remix_edit' | 'remix_object' | 'remix_custom' | 'chat_edit' | 'chat_view';
|
|
82
|
+
experience?: 'cwr' | 'cwr_type' | 'cwr_edit' | 'cwr_existing' | 'inline_edit' | 'inline_view' | 'remix' | 'remix_edit' | 'remix_object' | 'remix_custom' | 'chat_edit' | 'chat_view' | 'keep_existing_page_structure';
|
|
83
83
|
contentTypes?: string[];
|
|
84
84
|
blocks?: string[];
|
|
85
85
|
spaceKey?: string;
|
|
@@ -354,6 +354,19 @@ export type InsertPromptPayload = PayloadCore<'insert-prompt', {
|
|
|
354
354
|
export type InsertUrlsPayload = PayloadCore<'insert-urls-into-prompt-input', {
|
|
355
355
|
urls: string[];
|
|
356
356
|
}>;
|
|
357
|
+
/** Inserts a skill chip into the chat input at the current cursor position. */
|
|
358
|
+
export type InsertSkillPayload = PayloadCore<'insert-skill-into-prompt-input', {
|
|
359
|
+
skill: {
|
|
360
|
+
id: string;
|
|
361
|
+
name: string;
|
|
362
|
+
slug: string;
|
|
363
|
+
description?: string;
|
|
364
|
+
product?: string;
|
|
365
|
+
iconName?: string;
|
|
366
|
+
color?: string;
|
|
367
|
+
};
|
|
368
|
+
skillSelectionSource?: string;
|
|
369
|
+
}>;
|
|
357
370
|
/** Selects a conversation action by ID
|
|
358
371
|
* - Used to programmatically open a specific action in the conversation actions list
|
|
359
372
|
* - The action screen must be already open, and the actions list populated
|
|
@@ -567,7 +580,7 @@ export type SmartlinksSubscriptionChangedPayload = PayloadCore<'smartlinks-subsc
|
|
|
567
580
|
openChat: false;
|
|
568
581
|
isActive: boolean;
|
|
569
582
|
};
|
|
570
|
-
export type Payload = MessageSendPayload | ChatClosePayload | SmartCreationModalOpenPayload | ChatNewPayload | InsightsOpenInChatPayload | InsightsChatExitedPayload | ChatDraftPayload | ChatSmartLink3PPostAuthLaunchPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | SmartlinksSubscriptionChangedPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | JiraCreateContextPayload | JiraInlineAgentCreationAgentAssignedPayload | JiraWorkItemsCreatingPayload | JiraWorkItemsCreatedPayload | JiraWorkItemsCreateFailedPayload | DatabaseContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | SelectActionPayload | AddChartToDashboardPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | SolutionArchitectAgentActivationFlowStartedPayload | SolutionArchitectAgentActivationFlowStoppedPayload | UpdateAgentConfigurationPayload | StudioLandingPageRedirectPayload | UploadAndInsertMediaPayload | SmartLinksContextPayload | SpaceSelectedPayload | SpaceDeselectedPayload | RecommendedSpacesSelectedPayload | CustomSkillUpdatePayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload;
|
|
583
|
+
export type Payload = MessageSendPayload | ChatClosePayload | SmartCreationModalOpenPayload | ChatNewPayload | InsightsOpenInChatPayload | InsightsChatExitedPayload | ChatDraftPayload | ChatSmartLink3PPostAuthLaunchPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | SmartlinksSubscriptionChangedPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | JiraCreateContextPayload | 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 | CustomSkillUpdatePayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload;
|
|
571
584
|
export type TaskPlanConfirmedPayload = PayloadCore<'task-plan-confirmed', {
|
|
572
585
|
conversationId: string;
|
|
573
586
|
planTitle: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.7.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": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@af/integration-testing": "workspace:^",
|
|
42
42
|
"@af/visual-regression": "workspace:^",
|
|
43
43
|
"@atlaskit/css": "^1.0.0",
|
|
44
|
-
"@atlaskit/primitives": "^20.
|
|
44
|
+
"@atlaskit/primitives": "^20.3.0",
|
|
45
45
|
"@atlaskit/ssr": "workspace:^",
|
|
46
46
|
"@atlassian/a11y-jest-testing": "^0.13.0",
|
|
47
47
|
"@atlassian/feature-flags-test-utils": "^1.1.0",
|