@atlaskit/rovo-triggers 10.23.1 → 10.24.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 +8 -0
- package/README.md +2 -0
- package/dist/cjs/common/utils/params/constants.js +1 -1
- package/dist/es2019/common/utils/params/constants.js +1 -1
- package/dist/esm/common/utils/params/constants.js +1 -1
- package/dist/types/common/utils/params/types.d.ts +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 10.24.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`29d8ec2d556d5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/29d8ec2d556d5) -
|
|
8
|
+
Add rovoJourneyId to the Rovo Chat query parameter contract, serialized as rovoChatRovoJourneyId
|
|
9
|
+
for rovo_search_chat_convergence handoffs.
|
|
10
|
+
|
|
3
11
|
## 10.23.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -201,6 +201,8 @@ Here are some examples of how you might use `getRovoParams` resulting value:
|
|
|
201
201
|
- Open new chat and send message `{ pathway: 'chat', prompt: 'What should I work on next?' }`
|
|
202
202
|
- Open specific chat and send message
|
|
203
203
|
`{ pathway: 'chat', conversationId: '123', prompt: 'What should I work on next?' }`
|
|
204
|
+
- Open a chat with Rovo journey attribution
|
|
205
|
+
`{ pathway: 'chat', rovoJourneyId: '00000000-0000-4000-8000-000000000001' }`
|
|
204
206
|
- Open specific chat with specific agent and send message
|
|
205
207
|
`{ pathway: 'chat', conversationId: '123', agentId: '456', prompt: 'What should I work on next?' }`
|
|
206
208
|
- Browse agents `{ pathway: 'agents-browse' }`
|
|
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.ROVO_VALID_PARAMS = exports.ROVO_PARAM_PREFIX = void 0;
|
|
7
7
|
var ROVO_PARAM_PREFIX = exports.ROVO_PARAM_PREFIX = 'rovoChat';
|
|
8
|
-
var ROVO_VALID_PARAMS = exports.ROVO_VALID_PARAMS = ['pathway', 'agentId', 'conversationId', 'prompt', 'cloudId', 'triggerOpen', 'insertPrompt', 'stagingAreaOpen', 'messageIdSelectedForPreview', 'invocationIdSelectedForPreview', 'promptLibraryOpen', 'openChatMode'];
|
|
8
|
+
var ROVO_VALID_PARAMS = exports.ROVO_VALID_PARAMS = ['pathway', 'agentId', 'conversationId', 'prompt', 'cloudId', 'triggerOpen', 'insertPrompt', 'stagingAreaOpen', 'messageIdSelectedForPreview', 'invocationIdSelectedForPreview', 'promptLibraryOpen', 'openChatMode', 'rovoJourneyId'];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const ROVO_PARAM_PREFIX = 'rovoChat';
|
|
2
|
-
export const ROVO_VALID_PARAMS = ['pathway', 'agentId', 'conversationId', 'prompt', 'cloudId', 'triggerOpen', 'insertPrompt', 'stagingAreaOpen', 'messageIdSelectedForPreview', 'invocationIdSelectedForPreview', 'promptLibraryOpen', 'openChatMode'];
|
|
2
|
+
export const ROVO_VALID_PARAMS = ['pathway', 'agentId', 'conversationId', 'prompt', 'cloudId', 'triggerOpen', 'insertPrompt', 'stagingAreaOpen', 'messageIdSelectedForPreview', 'invocationIdSelectedForPreview', 'promptLibraryOpen', 'openChatMode', 'rovoJourneyId'];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var ROVO_PARAM_PREFIX = 'rovoChat';
|
|
2
|
-
export var ROVO_VALID_PARAMS = ['pathway', 'agentId', 'conversationId', 'prompt', 'cloudId', 'triggerOpen', 'insertPrompt', 'stagingAreaOpen', 'messageIdSelectedForPreview', 'invocationIdSelectedForPreview', 'promptLibraryOpen', 'openChatMode'];
|
|
2
|
+
export var ROVO_VALID_PARAMS = ['pathway', 'agentId', 'conversationId', 'prompt', 'cloudId', 'triggerOpen', 'insertPrompt', 'stagingAreaOpen', 'messageIdSelectedForPreview', 'invocationIdSelectedForPreview', 'promptLibraryOpen', 'openChatMode', 'rovoJourneyId'];
|
|
@@ -14,6 +14,7 @@ export interface BaseRovoChatParams {
|
|
|
14
14
|
invocationIdSelectedForPreview: string;
|
|
15
15
|
promptLibraryOpen: boolean;
|
|
16
16
|
openChatMode: RovoChatOpenMode;
|
|
17
|
+
rovoJourneyId: string;
|
|
17
18
|
}
|
|
18
19
|
export type ValidPrefix = 'rovoChat';
|
|
19
20
|
export type ValidParam = keyof BaseRovoChatParams;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.24.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
|
"atlaskit:src": "src/index.ts",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@atlaskit/adf-schema": "^57.2.0",
|
|
32
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
32
|
+
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
33
33
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
34
34
|
"@babel/runtime": "^7.0.0",
|
|
35
35
|
"bind-event-listener": "^3.0.0"
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"@af/integration-testing": "workspace:^",
|
|
42
42
|
"@af/visual-regression": "workspace:^",
|
|
43
43
|
"@atlaskit/css": "^1.1.0",
|
|
44
|
-
"@atlaskit/primitives": "^22.
|
|
44
|
+
"@atlaskit/primitives": "^22.5.0",
|
|
45
45
|
"@atlaskit/ssr": "workspace:^",
|
|
46
46
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
47
47
|
"@atlassian/conversation-assistant-service-api": "^17.2.0",
|
|
48
|
-
"@atlassian/feature-flags-test-utils": "^1.
|
|
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",
|
|
51
51
|
"react": "^18.2.0",
|