@atlaskit/rovo-triggers 4.7.0 → 4.8.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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 4.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`4c2c97e4d5162`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4c2c97e4d5162) - -
8
+ Add a message action component for updating a solution draft agent
9
+ - Add a new type of pubsub event that refreshes the agent overview based on updated agent
10
+ information
11
+ - Use a specific minion alias for the agent builder when talking to Rovo Chat within the agent
12
+ routes in Studio V2.
13
+
3
14
  ## 4.7.0
4
15
 
5
16
  ### 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.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": {