@atlaskit/rovo-triggers 4.7.0 → 4.8.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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 4.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e3779b75fdeca`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e3779b75fdeca) -
8
+ EDITOR-1643 Promote syncBlock and bodiedSyncBlock to full schema
9
+
10
+ ## 4.8.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`4c2c97e4d5162`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4c2c97e4d5162) - -
15
+ Add a message action component for updating a solution draft agent
16
+ - Add a new type of pubsub event that refreshes the agent overview based on updated agent
17
+ information
18
+ - Use a specific minion alias for the agent builder when talking to Rovo Chat within the agent
19
+ routes in Studio V2.
20
+
3
21
  ## 4.7.0
4
22
 
5
23
  ### Minor Changes
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ import type { PayloadCore } from '../../../types';
2
+ export type SolutionDraftAgentUpdatePayload = PayloadCore<'solution-draft-agent-update'> & {
3
+ data: {
4
+ buildId: string;
5
+ draftContent: string;
6
+ };
7
+ };
@@ -1,4 +1,5 @@
1
1
  import type { DocNode } from '@atlaskit/adf-schema';
2
+ import type { SolutionDraftAgentUpdatePayload } from './common/types/agent';
2
3
  import type { SolutionArchitectAgentActivationPayload, SolutionArchitectHandoffPayload, SolutionPlanStateUpdatePayload } from './common/types/solution-architect';
3
4
  import type { ChatContextPayload } from './common/utils/chat-context';
4
5
  export declare const Topics: {
@@ -254,7 +255,7 @@ export type DashboardInsightsActionsPayloadData = {
254
255
  content: string;
255
256
  } | undefined;
256
257
  export type SetChatContextPayload = PayloadCore<'set-message-context', ChatContextPayload>;
257
- export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericExternalActionErrorPayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionArchitectAgentActivationPayload;
258
+ export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericExternalActionErrorPayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload;
258
259
  export type Callback = (payload: Payload) => void;
259
260
  export type TopicEvents = {
260
261
  [key in Topic]?: Array<{
@@ -0,0 +1,7 @@
1
+ import type { PayloadCore } from '../../../types';
2
+ export type SolutionDraftAgentUpdatePayload = PayloadCore<'solution-draft-agent-update'> & {
3
+ data: {
4
+ buildId: string;
5
+ draftContent: string;
6
+ };
7
+ };
@@ -1,4 +1,5 @@
1
1
  import type { DocNode } from '@atlaskit/adf-schema';
2
+ import type { SolutionDraftAgentUpdatePayload } from './common/types/agent';
2
3
  import type { SolutionArchitectAgentActivationPayload, SolutionArchitectHandoffPayload, SolutionPlanStateUpdatePayload } from './common/types/solution-architect';
3
4
  import type { ChatContextPayload } from './common/utils/chat-context';
4
5
  export declare const Topics: {
@@ -254,7 +255,7 @@ export type DashboardInsightsActionsPayloadData = {
254
255
  content: string;
255
256
  } | undefined;
256
257
  export type SetChatContextPayload = PayloadCore<'set-message-context', ChatContextPayload>;
257
- export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericExternalActionErrorPayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionArchitectAgentActivationPayload;
258
+ export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | GenericExternalActionErrorPayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload;
258
259
  export type Callback = (payload: Payload) => void;
259
260
  export type TopicEvents = {
260
261
  [key in Topic]?: Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "4.7.0",
3
+ "version": "4.8.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": {
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/adf-schema": "^51.4.0",
32
+ "@atlaskit/adf-schema": "^51.5.1",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "bind-event-listener": "^3.0.0"
35
35
  },