@atlaskit/rovo-agent-analytics 0.20.0 → 1.0.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 +44 -29
- package/dist/cjs/actions/groups/agent-interactions.js +1 -51
- package/dist/cjs/actions/groups/debug.js +1 -42
- package/dist/cjs/actions/groups/editing.js +1 -28
- package/dist/cjs/actions/groups/tools.js +1 -36
- package/dist/cjs/actions/index.js +2 -43
- package/dist/cjs/common/types.js +5 -0
- package/dist/cjs/create/index.js +29 -13
- package/dist/es2019/actions/groups/agent-interactions.js +1 -50
- package/dist/es2019/actions/groups/debug.js +0 -37
- package/dist/es2019/actions/groups/editing.js +1 -27
- package/dist/es2019/actions/groups/tools.js +1 -37
- package/dist/es2019/actions/index.js +1 -47
- package/dist/es2019/common/types.js +5 -0
- package/dist/es2019/create/index.js +23 -11
- package/dist/esm/actions/groups/agent-interactions.js +1 -50
- package/dist/esm/actions/groups/debug.js +0 -37
- package/dist/esm/actions/groups/editing.js +1 -27
- package/dist/esm/actions/groups/tools.js +1 -37
- package/dist/esm/actions/index.js +1 -43
- package/dist/esm/common/types.js +5 -0
- package/dist/esm/create/index.js +24 -9
- package/dist/types/actions/groups/agent-interactions.d.ts +0 -26
- package/dist/types/actions/groups/debug.d.ts +0 -21
- package/dist/types/actions/groups/editing.d.ts +0 -13
- package/dist/types/actions/groups/tools.d.ts +0 -29
- package/dist/types/actions/index.d.ts +1 -20
- package/dist/types/common/types.d.ts +17 -5
- package/dist/types/create/index.d.ts +20 -17
- package/dist/types-ts4.5/actions/groups/agent-interactions.d.ts +0 -26
- package/dist/types-ts4.5/actions/groups/debug.d.ts +0 -21
- package/dist/types-ts4.5/actions/groups/editing.d.ts +0 -13
- package/dist/types-ts4.5/actions/groups/tools.d.ts +0 -29
- package/dist/types-ts4.5/actions/index.d.ts +1 -20
- package/dist/types-ts4.5/common/types.d.ts +17 -5
- package/dist/types-ts4.5/create/index.d.ts +20 -17
- package/package.json +1 -1
- package/actions/add-tools-prompt/package.json +0 -17
- package/actions/agent-interactions/package.json +0 -17
- package/actions/create-flow/package.json +0 -17
- package/actions/debug/package.json +0 -17
- package/actions/editing/package.json +0 -17
- package/actions/evaluation/package.json +0 -17
- package/actions/tool-actions/package.json +0 -17
- package/dist/cjs/actions/groups/add-tools-prompt.js +0 -43
- package/dist/cjs/actions/groups/create-flow.js +0 -51
- package/dist/cjs/actions/registry.js +0 -26
- package/dist/es2019/actions/groups/add-tools-prompt.js +0 -37
- package/dist/es2019/actions/groups/create-flow.js +0 -45
- package/dist/es2019/actions/registry.js +0 -20
- package/dist/esm/actions/groups/add-tools-prompt.js +0 -37
- package/dist/esm/actions/groups/create-flow.js +0 -45
- package/dist/esm/actions/registry.js +0 -20
- package/dist/types/actions/groups/add-tools-prompt.d.ts +0 -39
- package/dist/types/actions/groups/create-flow.d.ts +0 -65
- package/dist/types/actions/registry.d.ts +0 -23
- package/dist/types-ts4.5/actions/groups/add-tools-prompt.d.ts +0 -39
- package/dist/types-ts4.5/actions/groups/create-flow.d.ts +0 -65
- package/dist/types-ts4.5/actions/registry.d.ts +0 -23
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Action Group: addToolsPrompt
|
|
3
|
-
*
|
|
4
|
-
* Add tools prompt modal — shown when a user tries to activate/publish an agent that has no tools.
|
|
5
|
-
* The user can browse tools or dismiss and proceed without them.
|
|
6
|
-
*
|
|
7
|
-
* This group is intentionally flow-agnostic so the action values stay stable
|
|
8
|
-
* regardless of whether the prompt fires from the create flow or a future publish flow.
|
|
9
|
-
*
|
|
10
|
-
* ## Adding a new action
|
|
11
|
-
* 1. Add a new variant to the `AddToolsPromptEventPayload` union type below with a data-portal link
|
|
12
|
-
* 2. If this action doesn't fit this group, consider creating a new group file instead
|
|
13
|
-
* (see other files in this directory for the template)
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Discriminated union payload type for add tools prompt events.
|
|
18
|
-
* Use with `trackAgentEvent()`.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
// ============================================================================
|
|
22
|
-
// BACKWARDS COMPAT (deprecated): Keep enum and attributes for trackAgentAction() consumers
|
|
23
|
-
// ============================================================================
|
|
24
|
-
|
|
25
|
-
/** @deprecated Use AddToolsPromptEventPayload with trackAgentEvent() instead */
|
|
26
|
-
export var ACTION_GROUP = 'addToolsPrompt';
|
|
27
|
-
|
|
28
|
-
/** @deprecated Use AddToolsPromptEventPayload with trackAgentEvent() instead */
|
|
29
|
-
export var AddToolsPromptActions = /*#__PURE__*/function (AddToolsPromptActions) {
|
|
30
|
-
/* Add tools prompt shown (agent has no tools) - https://data-portal.internal.atlassian.com/analytics/registry/98106 */
|
|
31
|
-
AddToolsPromptActions["SHOWN"] = "addToolsPromptShown";
|
|
32
|
-
/* User clicked "Browse skills" on the add tools prompt - https://data-portal.internal.atlassian.com/analytics/registry/98107 */
|
|
33
|
-
AddToolsPromptActions["BROWSE"] = "addToolsPromptBrowse";
|
|
34
|
-
/* User dismissed the add tools prompt ("No thanks") and proceeded anyway - https://data-portal.internal.atlassian.com/analytics/registry/98108 */
|
|
35
|
-
AddToolsPromptActions["DISMISS"] = "addToolsPromptDismiss";
|
|
36
|
-
return AddToolsPromptActions;
|
|
37
|
-
}({});
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Action Group: createFlow
|
|
3
|
-
*
|
|
4
|
-
* Create agent funnel steps — from clicking "Create agent" through to activation or discard,
|
|
5
|
-
*
|
|
6
|
-
* ## Adding a new action
|
|
7
|
-
* 1. Add a new variant to the `CreateFlowEventPayload` union type below with a data-portal link
|
|
8
|
-
* 2. If this action doesn't fit this group, consider creating a new group file instead
|
|
9
|
-
* (see other files in this directory for the template)
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Discriminated union payload type for create flow events.
|
|
14
|
-
* Use with `trackAgentEvent()`.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
// ============================================================================
|
|
18
|
-
// BACKWARDS COMPAT (deprecated): Keep enum and attributes for trackAgentAction() consumers
|
|
19
|
-
// ============================================================================
|
|
20
|
-
|
|
21
|
-
/** @deprecated Use CreateFlowEventPayload with trackAgentEvent() instead */
|
|
22
|
-
export var ACTION_GROUP = 'createFlow';
|
|
23
|
-
|
|
24
|
-
/** @deprecated Use CreateFlowEventPayload with trackAgentEvent() instead */
|
|
25
|
-
export var CreateFlowActions = /*#__PURE__*/function (CreateFlowActions) {
|
|
26
|
-
/* Start create flow when user clicks on "Create agent" button - https://data-portal.internal.atlassian.com/analytics/registry/97089 */
|
|
27
|
-
CreateFlowActions["START"] = "createFlowStart";
|
|
28
|
-
/* Skip natural language - https://data-portal.internal.atlassian.com/analytics/registry/97127 */
|
|
29
|
-
CreateFlowActions["SKIP_NL"] = "createFlowSkipNL";
|
|
30
|
-
/* Review natural language - https://data-portal.internal.atlassian.com/analytics/registry/97124 */
|
|
31
|
-
CreateFlowActions["REVIEW_NL"] = "createFlowReviewNL";
|
|
32
|
-
/* Activate agent - https://data-portal.internal.atlassian.com/analytics/registry/97123 */
|
|
33
|
-
CreateFlowActions["ACTIVATE"] = "createFlowActivate";
|
|
34
|
-
/* Restart create flow - https://data-portal.internal.atlassian.com/analytics/registry/97131 */
|
|
35
|
-
CreateFlowActions["RESTART"] = "createFlowRestart";
|
|
36
|
-
/* Error occurred - https://data-portal.internal.atlassian.com/analytics/registry/97132 */
|
|
37
|
-
CreateFlowActions["ERROR"] = "createFlowError";
|
|
38
|
-
/* Land in studio - https://data-portal.internal.atlassian.com/analytics/registry/97136 */
|
|
39
|
-
CreateFlowActions["LAND"] = "createLandInStudio";
|
|
40
|
-
/* Discard agent - https://data-portal.internal.atlassian.com/analytics/registry/97137 */
|
|
41
|
-
CreateFlowActions["DISCARD"] = "createDiscard";
|
|
42
|
-
/* Draft created from solution architect plan card - https://data-portal.internal.atlassian.com/analytics/registry/97924 */
|
|
43
|
-
CreateFlowActions["SA_DRAFT"] = "saDraft";
|
|
44
|
-
return CreateFlowActions;
|
|
45
|
-
}({});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Action Registry (Backwards Compatibility)
|
|
3
|
-
*
|
|
4
|
-
* This file contains deprecated exports for backwards compatibility
|
|
5
|
-
* with consumers using `trackAgentAction()`.
|
|
6
|
-
*
|
|
7
|
-
* For new code, use the payload types from each group file directly
|
|
8
|
-
* with `trackAgentEvent()`.
|
|
9
|
-
*
|
|
10
|
-
* @deprecated The registry pattern is deprecated. Use EventPayload from types.ts instead.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
export var DefaultActionSubject = 'rovoAgent';
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Combined attribute map (union of all groups).
|
|
17
|
-
* Used by the backward-compatible `trackAgentAction` helper.
|
|
18
|
-
*
|
|
19
|
-
* @deprecated Use EventPayload with trackAgentEvent() instead
|
|
20
|
-
*/
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Action Group: addToolsPrompt
|
|
3
|
-
*
|
|
4
|
-
* Add tools prompt modal — shown when a user tries to activate/publish an agent that has no tools.
|
|
5
|
-
* The user can browse tools or dismiss and proceed without them.
|
|
6
|
-
*
|
|
7
|
-
* This group is intentionally flow-agnostic so the action values stay stable
|
|
8
|
-
* regardless of whether the prompt fires from the create flow or a future publish flow.
|
|
9
|
-
*
|
|
10
|
-
* ## Adding a new action
|
|
11
|
-
* 1. Add a new variant to the `AddToolsPromptEventPayload` union type below with a data-portal link
|
|
12
|
-
* 2. If this action doesn't fit this group, consider creating a new group file instead
|
|
13
|
-
* (see other files in this directory for the template)
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
* Discriminated union payload type for add tools prompt events.
|
|
17
|
-
* Use with `trackAgentEvent()`.
|
|
18
|
-
*/
|
|
19
|
-
export type AddToolsPromptEventPayload = {
|
|
20
|
-
actionSubject: 'rovoAgent';
|
|
21
|
-
action: 'addToolsPromptShown';
|
|
22
|
-
attributes: {};
|
|
23
|
-
} | {
|
|
24
|
-
actionSubject: 'rovoAgent';
|
|
25
|
-
action: 'addToolsPromptBrowse';
|
|
26
|
-
attributes: {};
|
|
27
|
-
} | {
|
|
28
|
-
actionSubject: 'rovoAgent';
|
|
29
|
-
action: 'addToolsPromptDismiss';
|
|
30
|
-
attributes: {};
|
|
31
|
-
};
|
|
32
|
-
/** @deprecated Use AddToolsPromptEventPayload with trackAgentEvent() instead */
|
|
33
|
-
export declare const ACTION_GROUP: "addToolsPrompt";
|
|
34
|
-
/** @deprecated Use AddToolsPromptEventPayload with trackAgentEvent() instead */
|
|
35
|
-
export declare enum AddToolsPromptActions {
|
|
36
|
-
SHOWN = "addToolsPromptShown",
|
|
37
|
-
BROWSE = "addToolsPromptBrowse",
|
|
38
|
-
DISMISS = "addToolsPromptDismiss"
|
|
39
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Action Group: createFlow
|
|
3
|
-
*
|
|
4
|
-
* Create agent funnel steps — from clicking "Create agent" through to activation or discard,
|
|
5
|
-
*
|
|
6
|
-
* ## Adding a new action
|
|
7
|
-
* 1. Add a new variant to the `CreateFlowEventPayload` union type below with a data-portal link
|
|
8
|
-
* 2. If this action doesn't fit this group, consider creating a new group file instead
|
|
9
|
-
* (see other files in this directory for the template)
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Discriminated union payload type for create flow events.
|
|
13
|
-
* Use with `trackAgentEvent()`.
|
|
14
|
-
*/
|
|
15
|
-
export type CreateFlowEventPayload = {
|
|
16
|
-
actionSubject: 'rovoAgent';
|
|
17
|
-
action: 'createFlowStart';
|
|
18
|
-
attributes: {};
|
|
19
|
-
} | {
|
|
20
|
-
actionSubject: 'rovoAgent';
|
|
21
|
-
action: 'createFlowSkipNL';
|
|
22
|
-
attributes: {};
|
|
23
|
-
} | {
|
|
24
|
-
actionSubject: 'rovoAgent';
|
|
25
|
-
action: 'createFlowReviewNL';
|
|
26
|
-
attributes: {};
|
|
27
|
-
} | {
|
|
28
|
-
actionSubject: 'rovoAgent';
|
|
29
|
-
action: 'createFlowActivate';
|
|
30
|
-
attributes: {};
|
|
31
|
-
} | {
|
|
32
|
-
actionSubject: 'rovoAgent';
|
|
33
|
-
action: 'createFlowRestart';
|
|
34
|
-
attributes: {};
|
|
35
|
-
} | {
|
|
36
|
-
actionSubject: 'rovoAgent';
|
|
37
|
-
action: 'createFlowError';
|
|
38
|
-
attributes: {};
|
|
39
|
-
} | {
|
|
40
|
-
actionSubject: 'rovoAgent';
|
|
41
|
-
action: 'createLandInStudio';
|
|
42
|
-
attributes: {};
|
|
43
|
-
} | {
|
|
44
|
-
actionSubject: 'rovoAgent';
|
|
45
|
-
action: 'createDiscard';
|
|
46
|
-
attributes: {};
|
|
47
|
-
} | {
|
|
48
|
-
actionSubject: 'rovoAgent';
|
|
49
|
-
action: 'saDraft';
|
|
50
|
-
attributes: {};
|
|
51
|
-
};
|
|
52
|
-
/** @deprecated Use CreateFlowEventPayload with trackAgentEvent() instead */
|
|
53
|
-
export declare const ACTION_GROUP: "createFlow";
|
|
54
|
-
/** @deprecated Use CreateFlowEventPayload with trackAgentEvent() instead */
|
|
55
|
-
export declare enum CreateFlowActions {
|
|
56
|
-
START = "createFlowStart",
|
|
57
|
-
SKIP_NL = "createFlowSkipNL",
|
|
58
|
-
REVIEW_NL = "createFlowReviewNL",
|
|
59
|
-
ACTIVATE = "createFlowActivate",
|
|
60
|
-
RESTART = "createFlowRestart",
|
|
61
|
-
ERROR = "createFlowError",
|
|
62
|
-
LAND = "createLandInStudio",
|
|
63
|
-
DISCARD = "createDiscard",
|
|
64
|
-
SA_DRAFT = "saDraft"
|
|
65
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Action Registry (Backwards Compatibility)
|
|
3
|
-
*
|
|
4
|
-
* This file contains deprecated exports for backwards compatibility
|
|
5
|
-
* with consumers using `trackAgentAction()`.
|
|
6
|
-
*
|
|
7
|
-
* For new code, use the payload types from each group file directly
|
|
8
|
-
* with `trackAgentEvent()`.
|
|
9
|
-
*
|
|
10
|
-
* @deprecated The registry pattern is deprecated. Use EventPayload from types.ts instead.
|
|
11
|
-
*/
|
|
12
|
-
import { type AgentInteractionAttributes } from './groups/agent-interactions';
|
|
13
|
-
import { type DebugActionAttributes } from './groups/debug';
|
|
14
|
-
import { type EditingActionAttributes } from './groups/editing';
|
|
15
|
-
import { type ToolsActionAttributes } from './groups/tools';
|
|
16
|
-
export declare const DefaultActionSubject = "rovoAgent";
|
|
17
|
-
/**
|
|
18
|
-
* Combined attribute map (union of all groups).
|
|
19
|
-
* Used by the backward-compatible `trackAgentAction` helper.
|
|
20
|
-
*
|
|
21
|
-
* @deprecated Use EventPayload with trackAgentEvent() instead
|
|
22
|
-
*/
|
|
23
|
-
export type ActionAttributes = AgentInteractionAttributes & EditingActionAttributes & DebugActionAttributes & ToolsActionAttributes;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Action Group: addToolsPrompt
|
|
3
|
-
*
|
|
4
|
-
* Add tools prompt modal — shown when a user tries to activate/publish an agent that has no tools.
|
|
5
|
-
* The user can browse tools or dismiss and proceed without them.
|
|
6
|
-
*
|
|
7
|
-
* This group is intentionally flow-agnostic so the action values stay stable
|
|
8
|
-
* regardless of whether the prompt fires from the create flow or a future publish flow.
|
|
9
|
-
*
|
|
10
|
-
* ## Adding a new action
|
|
11
|
-
* 1. Add a new variant to the `AddToolsPromptEventPayload` union type below with a data-portal link
|
|
12
|
-
* 2. If this action doesn't fit this group, consider creating a new group file instead
|
|
13
|
-
* (see other files in this directory for the template)
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
* Discriminated union payload type for add tools prompt events.
|
|
17
|
-
* Use with `trackAgentEvent()`.
|
|
18
|
-
*/
|
|
19
|
-
export type AddToolsPromptEventPayload = {
|
|
20
|
-
actionSubject: 'rovoAgent';
|
|
21
|
-
action: 'addToolsPromptShown';
|
|
22
|
-
attributes: {};
|
|
23
|
-
} | {
|
|
24
|
-
actionSubject: 'rovoAgent';
|
|
25
|
-
action: 'addToolsPromptBrowse';
|
|
26
|
-
attributes: {};
|
|
27
|
-
} | {
|
|
28
|
-
actionSubject: 'rovoAgent';
|
|
29
|
-
action: 'addToolsPromptDismiss';
|
|
30
|
-
attributes: {};
|
|
31
|
-
};
|
|
32
|
-
/** @deprecated Use AddToolsPromptEventPayload with trackAgentEvent() instead */
|
|
33
|
-
export declare const ACTION_GROUP: "addToolsPrompt";
|
|
34
|
-
/** @deprecated Use AddToolsPromptEventPayload with trackAgentEvent() instead */
|
|
35
|
-
export declare enum AddToolsPromptActions {
|
|
36
|
-
SHOWN = "addToolsPromptShown",
|
|
37
|
-
BROWSE = "addToolsPromptBrowse",
|
|
38
|
-
DISMISS = "addToolsPromptDismiss"
|
|
39
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Action Group: createFlow
|
|
3
|
-
*
|
|
4
|
-
* Create agent funnel steps — from clicking "Create agent" through to activation or discard,
|
|
5
|
-
*
|
|
6
|
-
* ## Adding a new action
|
|
7
|
-
* 1. Add a new variant to the `CreateFlowEventPayload` union type below with a data-portal link
|
|
8
|
-
* 2. If this action doesn't fit this group, consider creating a new group file instead
|
|
9
|
-
* (see other files in this directory for the template)
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Discriminated union payload type for create flow events.
|
|
13
|
-
* Use with `trackAgentEvent()`.
|
|
14
|
-
*/
|
|
15
|
-
export type CreateFlowEventPayload = {
|
|
16
|
-
actionSubject: 'rovoAgent';
|
|
17
|
-
action: 'createFlowStart';
|
|
18
|
-
attributes: {};
|
|
19
|
-
} | {
|
|
20
|
-
actionSubject: 'rovoAgent';
|
|
21
|
-
action: 'createFlowSkipNL';
|
|
22
|
-
attributes: {};
|
|
23
|
-
} | {
|
|
24
|
-
actionSubject: 'rovoAgent';
|
|
25
|
-
action: 'createFlowReviewNL';
|
|
26
|
-
attributes: {};
|
|
27
|
-
} | {
|
|
28
|
-
actionSubject: 'rovoAgent';
|
|
29
|
-
action: 'createFlowActivate';
|
|
30
|
-
attributes: {};
|
|
31
|
-
} | {
|
|
32
|
-
actionSubject: 'rovoAgent';
|
|
33
|
-
action: 'createFlowRestart';
|
|
34
|
-
attributes: {};
|
|
35
|
-
} | {
|
|
36
|
-
actionSubject: 'rovoAgent';
|
|
37
|
-
action: 'createFlowError';
|
|
38
|
-
attributes: {};
|
|
39
|
-
} | {
|
|
40
|
-
actionSubject: 'rovoAgent';
|
|
41
|
-
action: 'createLandInStudio';
|
|
42
|
-
attributes: {};
|
|
43
|
-
} | {
|
|
44
|
-
actionSubject: 'rovoAgent';
|
|
45
|
-
action: 'createDiscard';
|
|
46
|
-
attributes: {};
|
|
47
|
-
} | {
|
|
48
|
-
actionSubject: 'rovoAgent';
|
|
49
|
-
action: 'saDraft';
|
|
50
|
-
attributes: {};
|
|
51
|
-
};
|
|
52
|
-
/** @deprecated Use CreateFlowEventPayload with trackAgentEvent() instead */
|
|
53
|
-
export declare const ACTION_GROUP: "createFlow";
|
|
54
|
-
/** @deprecated Use CreateFlowEventPayload with trackAgentEvent() instead */
|
|
55
|
-
export declare enum CreateFlowActions {
|
|
56
|
-
START = "createFlowStart",
|
|
57
|
-
SKIP_NL = "createFlowSkipNL",
|
|
58
|
-
REVIEW_NL = "createFlowReviewNL",
|
|
59
|
-
ACTIVATE = "createFlowActivate",
|
|
60
|
-
RESTART = "createFlowRestart",
|
|
61
|
-
ERROR = "createFlowError",
|
|
62
|
-
LAND = "createLandInStudio",
|
|
63
|
-
DISCARD = "createDiscard",
|
|
64
|
-
SA_DRAFT = "saDraft"
|
|
65
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Action Registry (Backwards Compatibility)
|
|
3
|
-
*
|
|
4
|
-
* This file contains deprecated exports for backwards compatibility
|
|
5
|
-
* with consumers using `trackAgentAction()`.
|
|
6
|
-
*
|
|
7
|
-
* For new code, use the payload types from each group file directly
|
|
8
|
-
* with `trackAgentEvent()`.
|
|
9
|
-
*
|
|
10
|
-
* @deprecated The registry pattern is deprecated. Use EventPayload from types.ts instead.
|
|
11
|
-
*/
|
|
12
|
-
import { type AgentInteractionAttributes } from './groups/agent-interactions';
|
|
13
|
-
import { type DebugActionAttributes } from './groups/debug';
|
|
14
|
-
import { type EditingActionAttributes } from './groups/editing';
|
|
15
|
-
import { type ToolsActionAttributes } from './groups/tools';
|
|
16
|
-
export declare const DefaultActionSubject = "rovoAgent";
|
|
17
|
-
/**
|
|
18
|
-
* Combined attribute map (union of all groups).
|
|
19
|
-
* Used by the backward-compatible `trackAgentAction` helper.
|
|
20
|
-
*
|
|
21
|
-
* @deprecated Use EventPayload with trackAgentEvent() instead
|
|
22
|
-
*/
|
|
23
|
-
export type ActionAttributes = AgentInteractionAttributes & EditingActionAttributes & DebugActionAttributes & ToolsActionAttributes;
|