@atlaskit/rovo-triggers 5.21.0 → 5.22.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,12 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 5.22.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`1f7b273265659`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1f7b273265659) -
|
|
8
|
+
[ux] Enable activate agent from outside agent view page in studio
|
|
9
|
+
|
|
3
10
|
## 5.21.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -2,20 +2,29 @@ import type { PayloadCore } from '../../../types';
|
|
|
2
2
|
type BaseHandoffPayload = {
|
|
3
3
|
conversationId: string;
|
|
4
4
|
};
|
|
5
|
-
export type
|
|
6
|
-
type: '
|
|
5
|
+
export type AutomationHandoffPayload = BaseHandoffPayload & {
|
|
6
|
+
type: 'AUTOMATION_RULE';
|
|
7
7
|
ari?: never;
|
|
8
8
|
buildId: string;
|
|
9
9
|
appBuilderAutoStart?: never;
|
|
10
|
+
shouldActivateAgent?: never;
|
|
11
|
+
};
|
|
12
|
+
export type AgentHandoffPayload = BaseHandoffPayload & {
|
|
13
|
+
type: 'ROVO_AGENT';
|
|
14
|
+
ari?: never;
|
|
15
|
+
buildId: string;
|
|
16
|
+
appBuilderAutoStart?: never;
|
|
17
|
+
shouldActivateAgent?: boolean;
|
|
10
18
|
};
|
|
11
19
|
export type AppHandoffPayload = BaseHandoffPayload & {
|
|
12
20
|
type: 'ECOSYSTEM_APP';
|
|
13
21
|
ari: string;
|
|
14
22
|
buildId?: never;
|
|
15
23
|
appBuilderAutoStart: boolean;
|
|
24
|
+
shouldActivateAgent?: never;
|
|
16
25
|
};
|
|
17
26
|
export type SolutionArchitectHandoffPayload = PayloadCore<'solution-architect-handoff'> & {
|
|
18
|
-
data:
|
|
27
|
+
data: AutomationHandoffPayload | AppHandoffPayload | AgentHandoffPayload;
|
|
19
28
|
};
|
|
20
29
|
export type SolutionPlanStateUpdatePayload = PayloadCore<'solution-plan-state-updated'>;
|
|
21
30
|
export type SolutionArchitectAgentActivationPayload = PayloadCore<'solution-architect-agent-activation', {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { usePublish, useSubscribe, useSubscribeAll, Subscriber } from './main';
|
|
2
2
|
export type { Payload, Callback, Topic, WorkflowContextPayloadData, EditorContextPayloadData, WhiteboardContextPayloadData, BrowserContextPayloadData, DatabaseContextPayloadData, DatabaseContextUpdatePayloadData, DatabaseContextPayload, AddStatusRovoPayload, UpdateStatusRovoPayload, DeleteStatusRovoPayload, AddNewTransitionRovoPayload, UpdateTransitionRovoPayload, DeleteTransitionRovoPayload, DeleteTransitionRovoPayloadOld, AddRuleRovoPayload, UpdateRuleRovoPayload, DeleteRuleRovoPayload, JiraWorkflowWizardAction, DashboardInsightsActionsPayload, DashboardInsightsActionsPayloadData, OpenChatDebugModalPayload, OpenChatFeedbackModalPayload, SelectActionPayload, } from './types';
|
|
3
|
-
export type { SolutionArchitectHandoffPayload,
|
|
3
|
+
export type { SolutionArchitectHandoffPayload, AutomationHandoffPayload, AgentHandoffPayload, AppHandoffPayload, SolutionArchitectAgentActivationPayload, StudioAutomationBuildUpdatePayload, } from './common/types/solution-architect';
|
|
4
4
|
export type { JsmJourneyBuilderActionsPayload, JsmJourneyBuilderAgentAction, } from './common/types/jsm-journey-builder';
|
|
5
5
|
export { getRovoParams, updatePageRovoParams, addRovoParamsToUrl, assertOnlySpecificFieldsDefined, encodeRovoParams, getListOfRovoParams, } from './common/utils/params';
|
|
6
6
|
export type { RovoChatParams, RovoChatPathway } from './common/utils/params/types';
|
|
@@ -2,20 +2,29 @@ import type { PayloadCore } from '../../../types';
|
|
|
2
2
|
type BaseHandoffPayload = {
|
|
3
3
|
conversationId: string;
|
|
4
4
|
};
|
|
5
|
-
export type
|
|
6
|
-
type: '
|
|
5
|
+
export type AutomationHandoffPayload = BaseHandoffPayload & {
|
|
6
|
+
type: 'AUTOMATION_RULE';
|
|
7
7
|
ari?: never;
|
|
8
8
|
buildId: string;
|
|
9
9
|
appBuilderAutoStart?: never;
|
|
10
|
+
shouldActivateAgent?: never;
|
|
11
|
+
};
|
|
12
|
+
export type AgentHandoffPayload = BaseHandoffPayload & {
|
|
13
|
+
type: 'ROVO_AGENT';
|
|
14
|
+
ari?: never;
|
|
15
|
+
buildId: string;
|
|
16
|
+
appBuilderAutoStart?: never;
|
|
17
|
+
shouldActivateAgent?: boolean;
|
|
10
18
|
};
|
|
11
19
|
export type AppHandoffPayload = BaseHandoffPayload & {
|
|
12
20
|
type: 'ECOSYSTEM_APP';
|
|
13
21
|
ari: string;
|
|
14
22
|
buildId?: never;
|
|
15
23
|
appBuilderAutoStart: boolean;
|
|
24
|
+
shouldActivateAgent?: never;
|
|
16
25
|
};
|
|
17
26
|
export type SolutionArchitectHandoffPayload = PayloadCore<'solution-architect-handoff'> & {
|
|
18
|
-
data:
|
|
27
|
+
data: AutomationHandoffPayload | AppHandoffPayload | AgentHandoffPayload;
|
|
19
28
|
};
|
|
20
29
|
export type SolutionPlanStateUpdatePayload = PayloadCore<'solution-plan-state-updated'>;
|
|
21
30
|
export type SolutionArchitectAgentActivationPayload = PayloadCore<'solution-architect-agent-activation', {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { usePublish, useSubscribe, useSubscribeAll, Subscriber } from './main';
|
|
2
2
|
export type { Payload, Callback, Topic, WorkflowContextPayloadData, EditorContextPayloadData, WhiteboardContextPayloadData, BrowserContextPayloadData, DatabaseContextPayloadData, DatabaseContextUpdatePayloadData, DatabaseContextPayload, AddStatusRovoPayload, UpdateStatusRovoPayload, DeleteStatusRovoPayload, AddNewTransitionRovoPayload, UpdateTransitionRovoPayload, DeleteTransitionRovoPayload, DeleteTransitionRovoPayloadOld, AddRuleRovoPayload, UpdateRuleRovoPayload, DeleteRuleRovoPayload, JiraWorkflowWizardAction, DashboardInsightsActionsPayload, DashboardInsightsActionsPayloadData, OpenChatDebugModalPayload, OpenChatFeedbackModalPayload, SelectActionPayload, } from './types';
|
|
3
|
-
export type { SolutionArchitectHandoffPayload,
|
|
3
|
+
export type { SolutionArchitectHandoffPayload, AutomationHandoffPayload, AgentHandoffPayload, AppHandoffPayload, SolutionArchitectAgentActivationPayload, StudioAutomationBuildUpdatePayload, } from './common/types/solution-architect';
|
|
4
4
|
export type { JsmJourneyBuilderActionsPayload, JsmJourneyBuilderAgentAction, } from './common/types/jsm-journey-builder';
|
|
5
5
|
export { getRovoParams, updatePageRovoParams, addRovoParamsToUrl, assertOnlySpecificFieldsDefined, encodeRovoParams, getListOfRovoParams, } from './common/utils/params';
|
|
6
6
|
export type { RovoChatParams, RovoChatPathway } from './common/utils/params/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.22.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
|
],
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/adf-schema": "^52.
|
|
32
|
+
"@atlaskit/adf-schema": "^52.2.0",
|
|
33
33
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
34
34
|
"@babel/runtime": "^7.0.0",
|
|
35
35
|
"bind-event-listener": "^3.0.0"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/css": "^0.19.0",
|
|
44
44
|
"@atlaskit/primitives": "^18.0.0",
|
|
45
45
|
"@atlaskit/ssr": "workspace:^",
|
|
46
|
-
"@atlassian/a11y-jest-testing": "^0.
|
|
46
|
+
"@atlassian/a11y-jest-testing": "^0.11.0",
|
|
47
47
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
48
48
|
"@testing-library/react": "^16.3.0",
|
|
49
49
|
"react-dom": "^18.2.0",
|
|
@@ -51,9 +51,6 @@
|
|
|
51
51
|
},
|
|
52
52
|
"techstack": {
|
|
53
53
|
"@atlassian/frontend": {
|
|
54
|
-
"code-structure": [
|
|
55
|
-
"tangerine-next"
|
|
56
|
-
],
|
|
57
54
|
"import-structure": [
|
|
58
55
|
"atlassian-conventions"
|
|
59
56
|
],
|