@atlaskit/rovo-agent-analytics 0.17.0 → 0.18.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,13 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-analytics
|
|
2
2
|
|
|
3
|
+
## 0.18.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`c2adfceefe4d2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c2adfceefe4d2) -
|
|
8
|
+
Add scenarioId to chat; add more guardrail for rovo agent analytics; add single instrumentation id
|
|
9
|
+
for rovoAgent toolsExecutionResult; add trackAIMauAction
|
|
10
|
+
|
|
3
11
|
## 0.17.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseAgentAnalyticsAttributes, RemainingRequired } from '../common/types';
|
|
2
|
-
import type { AgentToolActions, ToolsExecutionAttributes } from './tool-actions';
|
|
2
|
+
import type { AgentToolActions, ToolsExecutionAttributes, ToolsExecutionResultAttributes } from './tool-actions';
|
|
3
3
|
export declare enum AgentDebugActions {
|
|
4
4
|
VIEW = "debugView",
|
|
5
5
|
COPY_ALL = "debugCopyAll",
|
|
@@ -42,7 +42,7 @@ type ActionAttributes = {
|
|
|
42
42
|
[AgentDebugActions.VIEW]: EmptyAttributes;
|
|
43
43
|
[AgentToolActions.TOOLS_EXECUTION_CONFIRMED]: ToolsExecutionAttributes;
|
|
44
44
|
[AgentToolActions.TOOLS_EXECUTION_STREAM_STOPPED]: ToolsExecutionAttributes;
|
|
45
|
-
[AgentToolActions.TOOLS_EXECUTION_RESULT_VIEWED]:
|
|
45
|
+
[AgentToolActions.TOOLS_EXECUTION_RESULT_VIEWED]: ToolsExecutionResultAttributes;
|
|
46
46
|
[AgentToolActions.TOOLS_EXECUTION_RESULT_ERROR]: ToolsExecutionAttributes;
|
|
47
47
|
};
|
|
48
48
|
export declare const useRovoAgentActionAnalytics: <T extends {}>(commonAttributes: T) => {
|
|
@@ -11,4 +11,8 @@ export type ToolsExecutionAttributes = BaseAgentAnalyticsAttributes & {
|
|
|
11
11
|
toolSource: string;
|
|
12
12
|
resolutionType: string;
|
|
13
13
|
}[];
|
|
14
|
+
singleInstrumentationId: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
export type ToolsExecutionResultAttributes = ToolsExecutionAttributes & {
|
|
17
|
+
scenarioId: string | null | undefined;
|
|
14
18
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseAgentAnalyticsAttributes, RemainingRequired } from '../common/types';
|
|
2
|
-
import type { AgentToolActions, ToolsExecutionAttributes } from './tool-actions';
|
|
2
|
+
import type { AgentToolActions, ToolsExecutionAttributes, ToolsExecutionResultAttributes } from './tool-actions';
|
|
3
3
|
export declare enum AgentDebugActions {
|
|
4
4
|
VIEW = "debugView",
|
|
5
5
|
COPY_ALL = "debugCopyAll",
|
|
@@ -42,7 +42,7 @@ type ActionAttributes = {
|
|
|
42
42
|
[AgentDebugActions.VIEW]: EmptyAttributes;
|
|
43
43
|
[AgentToolActions.TOOLS_EXECUTION_CONFIRMED]: ToolsExecutionAttributes;
|
|
44
44
|
[AgentToolActions.TOOLS_EXECUTION_STREAM_STOPPED]: ToolsExecutionAttributes;
|
|
45
|
-
[AgentToolActions.TOOLS_EXECUTION_RESULT_VIEWED]:
|
|
45
|
+
[AgentToolActions.TOOLS_EXECUTION_RESULT_VIEWED]: ToolsExecutionResultAttributes;
|
|
46
46
|
[AgentToolActions.TOOLS_EXECUTION_RESULT_ERROR]: ToolsExecutionAttributes;
|
|
47
47
|
};
|
|
48
48
|
export declare const useRovoAgentActionAnalytics: <T extends {}>(commonAttributes: T) => {
|
|
@@ -11,4 +11,8 @@ export type ToolsExecutionAttributes = BaseAgentAnalyticsAttributes & {
|
|
|
11
11
|
toolSource: string;
|
|
12
12
|
resolutionType: string;
|
|
13
13
|
}[];
|
|
14
|
+
singleInstrumentationId: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
export type ToolsExecutionResultAttributes = ToolsExecutionAttributes & {
|
|
17
|
+
scenarioId: string | null | undefined;
|
|
14
18
|
};
|