@atlaskit/rovo-triggers 5.13.0 → 5.15.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 +19 -0
- package/dist/cjs/common/types/studio/index.js +5 -0
- package/dist/es2019/common/types/studio/index.js +1 -0
- package/dist/esm/common/types/studio/index.js +1 -0
- package/dist/types/common/types/studio/index.d.ts +2 -0
- package/dist/types/types.d.ts +5 -2
- package/dist/types-ts4.5/common/types/studio/index.d.ts +2 -0
- package/dist/types-ts4.5/types.d.ts +5 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 5.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`1b0bd17b0de4a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1b0bd17b0de4a) -
|
|
8
|
+
Add skipCreatingSeededConversation, resetActiveMenu options to 'chat-new' event, add
|
|
9
|
+
resetActiveMenu option to 'chat-open' event
|
|
10
|
+
|
|
11
|
+
## 5.14.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`9f5e9487c6e74`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9f5e9487c6e74) -
|
|
16
|
+
Fix insertPlaceholder issue on in product SA modal
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 5.13.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/types.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { DocNode } from '@atlaskit/adf-schema';
|
|
|
2
2
|
import type { SolutionDraftAgentUpdatePayload } from './common/types/agent';
|
|
3
3
|
import type { JsmJourneyBuilderActionsPayload } from './common/types/jsm-journey-builder';
|
|
4
4
|
import type { SolutionArchitectAgentActivationPayload, SolutionArchitectHandoffPayload, SolutionPlanStateUpdatePayload, StudioAutomationBuildUpdatePayload, UpdateAgentConfigurationPayload } from './common/types/solution-architect';
|
|
5
|
+
import type { StudioCloseRovoPanelPayload } from './common/types/studio';
|
|
5
6
|
import type { ChatContextPayload } from './common/utils/chat-context/types';
|
|
6
7
|
export declare const Topics: {
|
|
7
8
|
readonly AI_MATE: "ai-mate";
|
|
@@ -23,7 +24,6 @@ export type MessageSendPayload = PayloadCore<'message-send', {
|
|
|
23
24
|
prompt: string;
|
|
24
25
|
productKey?: string;
|
|
25
26
|
minionAlias?: string;
|
|
26
|
-
preselectEmptyConversation?: boolean;
|
|
27
27
|
files?: UploadedFile[];
|
|
28
28
|
}>;
|
|
29
29
|
export type ChatClosePayload = PayloadCore<'chat-close', {}>;
|
|
@@ -55,6 +55,8 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
|
|
|
55
55
|
contentContext?: 'staging-area' | 'global';
|
|
56
56
|
sourceId?: string;
|
|
57
57
|
minionAlias?: string;
|
|
58
|
+
skipCreatingSeededConversation?: boolean;
|
|
59
|
+
resetActiveMenu?: boolean;
|
|
58
60
|
} & Partial<TargetAgentParam> & PlaceholderParam>;
|
|
59
61
|
export type EditorContextPayloadData = {
|
|
60
62
|
document: {
|
|
@@ -120,6 +122,7 @@ export type EditorAgentChangedPayload = PayloadCore<'agent-changed', {
|
|
|
120
122
|
export type ChatOpenPayload = PayloadCore<'chat-open', {
|
|
121
123
|
channelId: string;
|
|
122
124
|
agentId?: string;
|
|
125
|
+
resetActiveMenu?: boolean;
|
|
123
126
|
}>;
|
|
124
127
|
export type ForgeAppAuthSuccess = PayloadCore<'forge-auth-success', {
|
|
125
128
|
is3pActionAuth?: boolean;
|
|
@@ -301,7 +304,7 @@ export type OpenChatDebugModalPayload = PayloadCore<'open-chat-debug-modal'>;
|
|
|
301
304
|
export type OpenChatFeedbackModalPayload = PayloadCore<'open-chat-feedback-modal', {
|
|
302
305
|
answerQuality: 'good' | 'bad' | 'general';
|
|
303
306
|
}>;
|
|
304
|
-
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | SelectActionPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | UpdateAgentConfigurationPayload;
|
|
307
|
+
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | SelectActionPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | UpdateAgentConfigurationPayload | StudioCloseRovoPanelPayload;
|
|
305
308
|
export type Callback = (payload: Payload) => void;
|
|
306
309
|
export type TopicEvents = {
|
|
307
310
|
[key in Topic]?: Array<{
|
|
@@ -2,6 +2,7 @@ import type { DocNode } from '@atlaskit/adf-schema';
|
|
|
2
2
|
import type { SolutionDraftAgentUpdatePayload } from './common/types/agent';
|
|
3
3
|
import type { JsmJourneyBuilderActionsPayload } from './common/types/jsm-journey-builder';
|
|
4
4
|
import type { SolutionArchitectAgentActivationPayload, SolutionArchitectHandoffPayload, SolutionPlanStateUpdatePayload, StudioAutomationBuildUpdatePayload, UpdateAgentConfigurationPayload } from './common/types/solution-architect';
|
|
5
|
+
import type { StudioCloseRovoPanelPayload } from './common/types/studio';
|
|
5
6
|
import type { ChatContextPayload } from './common/utils/chat-context/types';
|
|
6
7
|
export declare const Topics: {
|
|
7
8
|
readonly AI_MATE: "ai-mate";
|
|
@@ -23,7 +24,6 @@ export type MessageSendPayload = PayloadCore<'message-send', {
|
|
|
23
24
|
prompt: string;
|
|
24
25
|
productKey?: string;
|
|
25
26
|
minionAlias?: string;
|
|
26
|
-
preselectEmptyConversation?: boolean;
|
|
27
27
|
files?: UploadedFile[];
|
|
28
28
|
}>;
|
|
29
29
|
export type ChatClosePayload = PayloadCore<'chat-close', {}>;
|
|
@@ -55,6 +55,8 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
|
|
|
55
55
|
contentContext?: 'staging-area' | 'global';
|
|
56
56
|
sourceId?: string;
|
|
57
57
|
minionAlias?: string;
|
|
58
|
+
skipCreatingSeededConversation?: boolean;
|
|
59
|
+
resetActiveMenu?: boolean;
|
|
58
60
|
} & Partial<TargetAgentParam> & PlaceholderParam>;
|
|
59
61
|
export type EditorContextPayloadData = {
|
|
60
62
|
document: {
|
|
@@ -120,6 +122,7 @@ export type EditorAgentChangedPayload = PayloadCore<'agent-changed', {
|
|
|
120
122
|
export type ChatOpenPayload = PayloadCore<'chat-open', {
|
|
121
123
|
channelId: string;
|
|
122
124
|
agentId?: string;
|
|
125
|
+
resetActiveMenu?: boolean;
|
|
123
126
|
}>;
|
|
124
127
|
export type ForgeAppAuthSuccess = PayloadCore<'forge-auth-success', {
|
|
125
128
|
is3pActionAuth?: boolean;
|
|
@@ -301,7 +304,7 @@ export type OpenChatDebugModalPayload = PayloadCore<'open-chat-debug-modal'>;
|
|
|
301
304
|
export type OpenChatFeedbackModalPayload = PayloadCore<'open-chat-feedback-modal', {
|
|
302
305
|
answerQuality: 'good' | 'bad' | 'general';
|
|
303
306
|
}>;
|
|
304
|
-
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | SelectActionPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | UpdateAgentConfigurationPayload;
|
|
307
|
+
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | SelectActionPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | UpdateAgentConfigurationPayload | StudioCloseRovoPanelPayload;
|
|
305
308
|
export type Callback = (payload: Payload) => void;
|
|
306
309
|
export type TopicEvents = {
|
|
307
310
|
[key in Topic]?: Array<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.15.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": {
|