@atlaskit/rovo-triggers 10.25.0 → 10.26.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 +21 -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 +30 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 10.26.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0ee70433d8996`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0ee70433d8996) -
|
|
8
|
+
Pass inline editor content and creation context through to Rovo Chat for selected-agent
|
|
9
|
+
submissions behind the `platform_inline_rovo_agent_editor_context` experiment.
|
|
10
|
+
|
|
11
|
+
## 10.26.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`fd4a40c7ede95`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fd4a40c7ede95) -
|
|
16
|
+
Show the skills library modal from full-screen Rovo Chat and the Townsquare For You input when
|
|
17
|
+
rovo_chat_skills_library is enabled, targeting inserted skills to the invoking prompt without
|
|
18
|
+
opening the sidebar.
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 10.25.0
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
package/dist/cjs/types.js
CHANGED
|
@@ -24,6 +24,8 @@ var Topics = exports.Topics = {
|
|
|
24
24
|
* A test keeps it aligned with the assistance service contract.
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
|
+
/** Creation metadata forwarded when an editor surface launches Rovo Chat. */
|
|
28
|
+
|
|
27
29
|
/**
|
|
28
30
|
* Opens the Rovo conversation assistant and seeds a chat from a Rovo Insight,
|
|
29
31
|
* reproducing the same experience as clicking an insight inside the in-panel
|
package/dist/es2019/types.js
CHANGED
|
@@ -18,6 +18,8 @@ export const Topics = {
|
|
|
18
18
|
* A test keeps it aligned with the assistance service contract.
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
|
+
/** Creation metadata forwarded when an editor surface launches Rovo Chat. */
|
|
22
|
+
|
|
21
23
|
/**
|
|
22
24
|
* Opens the Rovo conversation assistant and seeds a chat from a Rovo Insight,
|
|
23
25
|
* reproducing the same experience as clicking an insight inside the in-panel
|
package/dist/esm/types.js
CHANGED
|
@@ -18,6 +18,8 @@ export var Topics = {
|
|
|
18
18
|
* A test keeps it aligned with the assistance service contract.
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
|
+
/** Creation metadata forwarded when an editor surface launches Rovo Chat. */
|
|
22
|
+
|
|
21
23
|
/**
|
|
22
24
|
* Opens the Rovo conversation assistant and seeds a chat from a Rovo Insight,
|
|
23
25
|
* reproducing the same experience as clicking an insight inside the in-panel
|
package/dist/types/types.d.ts
CHANGED
|
@@ -81,6 +81,31 @@ export type ResultAttributionContextPayload = {
|
|
|
81
81
|
*/
|
|
82
82
|
launchSource?: string;
|
|
83
83
|
};
|
|
84
|
+
type SerializableCreationContextValue = string | number | boolean | null | undefined | {
|
|
85
|
+
[key: string | number]: SerializableCreationContextValue;
|
|
86
|
+
} | SerializableCreationContextValue[];
|
|
87
|
+
/** Creation metadata forwarded when an editor surface launches Rovo Chat. */
|
|
88
|
+
export type ChatCreationContextParams = {
|
|
89
|
+
templateInput?: {
|
|
90
|
+
templateId: string;
|
|
91
|
+
templateType: string;
|
|
92
|
+
};
|
|
93
|
+
jiraContext?: unknown;
|
|
94
|
+
dynamicUiType?: string;
|
|
95
|
+
dynamicUiSubtype?: string;
|
|
96
|
+
dynamicUiSource?: unknown;
|
|
97
|
+
forcedContentType?: string;
|
|
98
|
+
contentMauiId?: string;
|
|
99
|
+
mediaFileId?: string;
|
|
100
|
+
source?: string;
|
|
101
|
+
shouldUseExistingContent?: boolean;
|
|
102
|
+
isViewMode?: boolean;
|
|
103
|
+
experience?: 'cwr' | 'cwr_type' | 'cwr_edit' | 'cwr_existing' | 'inline_edit' | 'remix' | 'remix_edit' | 'remix_object' | 'remix_custom' | 'chat_edit' | 'chat_view' | 'keep_existing_page_structure';
|
|
104
|
+
contentTypes?: string[];
|
|
105
|
+
blocks?: string[];
|
|
106
|
+
spaceKey?: string;
|
|
107
|
+
additionalContext?: Record<string, SerializableCreationContextValue>;
|
|
108
|
+
};
|
|
84
109
|
export type ChatNewPayload = PayloadCore<'chat-new', {
|
|
85
110
|
name?: string;
|
|
86
111
|
dialogues: Array<{
|
|
@@ -94,6 +119,10 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
|
|
|
94
119
|
};
|
|
95
120
|
}>;
|
|
96
121
|
prompt?: string | DocNode;
|
|
122
|
+
/** Content targeted by the prompt when an editor surface launches chat. */
|
|
123
|
+
contentId?: string | number;
|
|
124
|
+
/** Creation context supplied by the launching editor surface. */
|
|
125
|
+
creationContextParams?: ChatCreationContextParams;
|
|
97
126
|
/**
|
|
98
127
|
* Overrides the default auto-send behavior for prompts.
|
|
99
128
|
* Set this to true to insert prompts not containing backticks into the chat input for dynamic
|
|
@@ -414,6 +443,7 @@ export type InsertSkillPayload = PayloadCore<'insert-skill-into-prompt-input', {
|
|
|
414
443
|
color?: string;
|
|
415
444
|
};
|
|
416
445
|
skillSelectionSource?: string;
|
|
446
|
+
targetPromptDraftAndModeKey?: string;
|
|
417
447
|
}>;
|
|
418
448
|
/** Selects a conversation action by ID
|
|
419
449
|
* - Used to programmatically open a specific action in the conversation actions list
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.26.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": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
],
|
|
29
29
|
"atlaskit:src": "src/index.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@atlaskit/adf-schema": "^57.
|
|
31
|
+
"@atlaskit/adf-schema": "^57.3.0",
|
|
32
32
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
33
33
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
34
34
|
"@babel/runtime": "^7.0.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/primitives": "^22.5.0",
|
|
45
45
|
"@atlaskit/ssr": "workspace:^",
|
|
46
46
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
47
|
-
"@atlassian/conversation-assistant-service-api": "^17.
|
|
47
|
+
"@atlassian/conversation-assistant-service-api": "^17.5.0",
|
|
48
48
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
49
49
|
"@atlassian/testing-library": "^0.11.0",
|
|
50
50
|
"@testing-library/react": "^16.3.0",
|