@atlaskit/rovo-triggers 5.25.0 → 5.26.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 +9 -0
- package/dist/types/types.d.ts +9 -0
- package/dist/types-ts4.5/types.d.ts +9 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 5.26.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`ab89ee97c67c5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ab89ee97c67c5) -
|
|
8
|
+
Updates the ChatNewPayload data object to take in mode information since it is already supported
|
|
9
|
+
in the pubsub listener but was never added to the type definition which means typecheck failed for
|
|
10
|
+
consumers that wanted to set mode information.
|
|
11
|
+
|
|
3
12
|
## 5.25.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/dist/types/types.d.ts
CHANGED
|
@@ -37,6 +37,14 @@ type TargetAgentParam = {
|
|
|
37
37
|
type PlaceholderParam = {
|
|
38
38
|
placeholderType?: 'person' | 'link' | 'generic' | 'skill';
|
|
39
39
|
};
|
|
40
|
+
type ChatModeParam = {
|
|
41
|
+
deepResearchEnabled?: boolean;
|
|
42
|
+
thinkDeeperEnabled?: boolean;
|
|
43
|
+
fastModeEnabled?: boolean;
|
|
44
|
+
webSearchEnabled?: boolean;
|
|
45
|
+
useCurrentPageContext?: boolean;
|
|
46
|
+
appFilters?: unknown[];
|
|
47
|
+
};
|
|
40
48
|
export type ChatNewPayload = PayloadCore<'chat-new', {
|
|
41
49
|
name?: string;
|
|
42
50
|
dialogues: Array<{
|
|
@@ -57,6 +65,7 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
|
|
|
57
65
|
minionAlias?: string;
|
|
58
66
|
skipCreatingSeededConversation?: boolean;
|
|
59
67
|
resetActiveMenu?: boolean;
|
|
68
|
+
mode?: ChatModeParam;
|
|
60
69
|
} & Partial<TargetAgentParam> & PlaceholderParam>;
|
|
61
70
|
export type EditorContextPayloadData = {
|
|
62
71
|
document: {
|
|
@@ -37,6 +37,14 @@ type TargetAgentParam = {
|
|
|
37
37
|
type PlaceholderParam = {
|
|
38
38
|
placeholderType?: 'person' | 'link' | 'generic' | 'skill';
|
|
39
39
|
};
|
|
40
|
+
type ChatModeParam = {
|
|
41
|
+
deepResearchEnabled?: boolean;
|
|
42
|
+
thinkDeeperEnabled?: boolean;
|
|
43
|
+
fastModeEnabled?: boolean;
|
|
44
|
+
webSearchEnabled?: boolean;
|
|
45
|
+
useCurrentPageContext?: boolean;
|
|
46
|
+
appFilters?: unknown[];
|
|
47
|
+
};
|
|
40
48
|
export type ChatNewPayload = PayloadCore<'chat-new', {
|
|
41
49
|
name?: string;
|
|
42
50
|
dialogues: Array<{
|
|
@@ -57,6 +65,7 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
|
|
|
57
65
|
minionAlias?: string;
|
|
58
66
|
skipCreatingSeededConversation?: boolean;
|
|
59
67
|
resetActiveMenu?: boolean;
|
|
68
|
+
mode?: ChatModeParam;
|
|
60
69
|
} & Partial<TargetAgentParam> & PlaceholderParam>;
|
|
61
70
|
export type EditorContextPayloadData = {
|
|
62
71
|
document: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.26.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": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/adf-schema": "^52.
|
|
32
|
+
"@atlaskit/adf-schema": "^52.3.0",
|
|
33
33
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
34
34
|
"@babel/runtime": "^7.0.0",
|
|
35
35
|
"bind-event-listener": "^3.0.0"
|