@atlaskit/rovo-triggers 10.3.0 → 10.4.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 +12 -0
- package/dist/cjs/types.js +7 -0
- package/dist/es2019/types.js +7 -0
- package/dist/esm/types.js +7 -0
- package/dist/types/types.d.ts +8 -0
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 10.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`d42ba7ed56112`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d42ba7ed56112) -
|
|
8
|
+
Add the public and transport contracts for gated Rovo Space source mode.
|
|
9
|
+
|
|
10
|
+
```ts
|
|
11
|
+
const sourceMode: RovoChatSourceMode = 'STRICT';
|
|
12
|
+
await assistanceService.sendMessageStream({ sourceMode });
|
|
13
|
+
```
|
|
14
|
+
|
|
3
15
|
## 10.3.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/cjs/types.js
CHANGED
|
@@ -14,6 +14,13 @@ var Topics = exports.Topics = {
|
|
|
14
14
|
|
|
15
15
|
// Can only specify either `agentId` or `agentExternalConfigReference`, not both
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Source-selection behavior requested when opening a chat.
|
|
19
|
+
*
|
|
20
|
+
* This public package owns the transport type so consumers do not depend on an internal package.
|
|
21
|
+
* A test keeps it aligned with the assistance service contract.
|
|
22
|
+
*/
|
|
23
|
+
|
|
17
24
|
/**
|
|
18
25
|
* Opens the Rovo conversation assistant and seeds a chat from a Rovo Insight,
|
|
19
26
|
* reproducing the same experience as clicking an insight inside the in-panel
|
package/dist/es2019/types.js
CHANGED
|
@@ -8,6 +8,13 @@ export const Topics = {
|
|
|
8
8
|
|
|
9
9
|
// Can only specify either `agentId` or `agentExternalConfigReference`, not both
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Source-selection behavior requested when opening a chat.
|
|
13
|
+
*
|
|
14
|
+
* This public package owns the transport type so consumers do not depend on an internal package.
|
|
15
|
+
* A test keeps it aligned with the assistance service contract.
|
|
16
|
+
*/
|
|
17
|
+
|
|
11
18
|
/**
|
|
12
19
|
* Opens the Rovo conversation assistant and seeds a chat from a Rovo Insight,
|
|
13
20
|
* reproducing the same experience as clicking an insight inside the in-panel
|
package/dist/esm/types.js
CHANGED
|
@@ -8,6 +8,13 @@ export var Topics = {
|
|
|
8
8
|
|
|
9
9
|
// Can only specify either `agentId` or `agentExternalConfigReference`, not both
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Source-selection behavior requested when opening a chat.
|
|
13
|
+
*
|
|
14
|
+
* This public package owns the transport type so consumers do not depend on an internal package.
|
|
15
|
+
* A test keeps it aligned with the assistance service contract.
|
|
16
|
+
*/
|
|
17
|
+
|
|
11
18
|
/**
|
|
12
19
|
* Opens the Rovo conversation assistant and seeds a chat from a Rovo Insight,
|
|
13
20
|
* reproducing the same experience as clicking an insight inside the in-panel
|
package/dist/types/types.d.ts
CHANGED
|
@@ -53,12 +53,20 @@ type TargetAgentParam = {
|
|
|
53
53
|
type PlaceholderParam = {
|
|
54
54
|
placeholderType?: 'person' | 'link' | 'generic' | 'skill';
|
|
55
55
|
};
|
|
56
|
+
/**
|
|
57
|
+
* Source-selection behavior requested when opening a chat.
|
|
58
|
+
*
|
|
59
|
+
* This public package owns the transport type so consumers do not depend on an internal package.
|
|
60
|
+
* A test keeps it aligned with the assistance service contract.
|
|
61
|
+
*/
|
|
62
|
+
export type RovoChatSourceMode = 'GENERAL' | 'STRICT';
|
|
56
63
|
type ChatModeParam = {
|
|
57
64
|
deepResearchEnabled?: boolean;
|
|
58
65
|
thinkDeeperEnabled?: boolean;
|
|
59
66
|
fastModeEnabled?: boolean;
|
|
60
67
|
taskModeEnabled?: boolean;
|
|
61
68
|
webSearchEnabled?: boolean;
|
|
69
|
+
sourceMode?: RovoChatSourceMode;
|
|
62
70
|
useCurrentPageContext?: boolean;
|
|
63
71
|
appFilters?: unknown[];
|
|
64
72
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.4.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": {
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"@atlaskit/primitives": "^22.2.0",
|
|
45
45
|
"@atlaskit/ssr": "workspace:^",
|
|
46
46
|
"@atlassian/a11y-jest-testing": "^0.14.0",
|
|
47
|
+
"@atlassian/conversation-assistant-service-api": "^15.1.0",
|
|
47
48
|
"@atlassian/feature-flags-test-utils": "^1.2.0",
|
|
48
49
|
"@testing-library/react": "^16.3.0",
|
|
49
50
|
"react": "^18.2.0",
|