@axlsdk/studio 0.19.1 → 0.20.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.
@@ -3,7 +3,7 @@ import { C as ConnectionManager, a as BufferCaps, S as StudioEnv, b as CostData
3
3
  export { B as BroadcastTarget } from '../connection-manager-DMjH2G5n.cjs';
4
4
  import * as hono_types from 'hono/types';
5
5
  import { Hono } from 'hono';
6
- import { AxlRuntime, AxlEvent, ExecutionInfo, EvalHistoryEntry } from '@axlsdk/axl';
6
+ import { AxlRuntime, HistoricalAxlEvent, HistoricalExecutionInfo, EvalHistoryEntry } from '@axlsdk/axl';
7
7
 
8
8
  /**
9
9
  * Pure reducer functions for each aggregate panel.
@@ -63,9 +63,19 @@ type WorkflowStatsData = {
63
63
  type TraceStatsData = {
64
64
  eventTypeCounts: Record<string, number>;
65
65
  byTool: Record<string, {
66
- calls: number;
66
+ accepted: number;
67
+ succeeded: number;
68
+ failed: number;
69
+ failedByPhase: Record<string, number>;
67
70
  denied: number;
71
+ cancelled: number;
72
+ rejected: number;
68
73
  approved: number;
74
+ legacy: {
75
+ calls: number;
76
+ denied: number;
77
+ approved: number;
78
+ };
69
79
  }>;
70
80
  retryByAgent: Record<string, {
71
81
  schema: number;
@@ -81,7 +91,7 @@ type AggregateBroadcast<State> = {
81
91
  updatedAt: number;
82
92
  };
83
93
 
84
- type TraceReducer<State> = (acc: State, event: AxlEvent) => State;
94
+ type TraceReducer<State> = (acc: State, event: HistoricalAxlEvent) => State;
85
95
  type TraceAggregatorOptions<State> = {
86
96
  runtime: AxlRuntime;
87
97
  connMgr: ConnectionManager;
@@ -112,7 +122,7 @@ declare class TraceAggregator<State> {
112
122
  close(): void;
113
123
  }
114
124
 
115
- type ExecutionReducer<State> = (acc: State, execution: ExecutionInfo) => State;
125
+ type ExecutionReducer<State> = (acc: State, execution: HistoricalExecutionInfo) => State;
116
126
  type ExecutionAggregatorOptions<State> = {
117
127
  runtime: AxlRuntime;
118
128
  connMgr: ConnectionManager;
@@ -3,7 +3,7 @@ import { C as ConnectionManager, a as BufferCaps, S as StudioEnv, b as CostData
3
3
  export { B as BroadcastTarget } from '../connection-manager-DMjH2G5n.js';
4
4
  import * as hono_types from 'hono/types';
5
5
  import { Hono } from 'hono';
6
- import { AxlRuntime, AxlEvent, ExecutionInfo, EvalHistoryEntry } from '@axlsdk/axl';
6
+ import { AxlRuntime, HistoricalAxlEvent, HistoricalExecutionInfo, EvalHistoryEntry } from '@axlsdk/axl';
7
7
 
8
8
  /**
9
9
  * Pure reducer functions for each aggregate panel.
@@ -63,9 +63,19 @@ type WorkflowStatsData = {
63
63
  type TraceStatsData = {
64
64
  eventTypeCounts: Record<string, number>;
65
65
  byTool: Record<string, {
66
- calls: number;
66
+ accepted: number;
67
+ succeeded: number;
68
+ failed: number;
69
+ failedByPhase: Record<string, number>;
67
70
  denied: number;
71
+ cancelled: number;
72
+ rejected: number;
68
73
  approved: number;
74
+ legacy: {
75
+ calls: number;
76
+ denied: number;
77
+ approved: number;
78
+ };
69
79
  }>;
70
80
  retryByAgent: Record<string, {
71
81
  schema: number;
@@ -81,7 +91,7 @@ type AggregateBroadcast<State> = {
81
91
  updatedAt: number;
82
92
  };
83
93
 
84
- type TraceReducer<State> = (acc: State, event: AxlEvent) => State;
94
+ type TraceReducer<State> = (acc: State, event: HistoricalAxlEvent) => State;
85
95
  type TraceAggregatorOptions<State> = {
86
96
  runtime: AxlRuntime;
87
97
  connMgr: ConnectionManager;
@@ -112,7 +122,7 @@ declare class TraceAggregator<State> {
112
122
  close(): void;
113
123
  }
114
124
 
115
- type ExecutionReducer<State> = (acc: State, execution: ExecutionInfo) => State;
125
+ type ExecutionReducer<State> = (acc: State, execution: HistoricalExecutionInfo) => State;
116
126
  type ExecutionAggregatorOptions<State> = {
117
127
  runtime: AxlRuntime;
118
128
  connMgr: ConnectionManager;
@@ -4,7 +4,7 @@ import {
4
4
  ExecutionAggregator,
5
5
  TraceAggregator,
6
6
  createServer
7
- } from "../chunk-AYUKXMYW.js";
7
+ } from "../chunk-KQ3HBRTC.js";
8
8
  export {
9
9
  ConnectionManager,
10
10
  EvalAggregator,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axlsdk/studio",
3
- "version": "0.19.1",
3
+ "version": "0.20.0",
4
4
  "description": "Local development UI for debugging, testing, and iterating on Axl agents and workflows",
5
5
  "type": "module",
6
6
  "main": "./dist/server/index.cjs",
@@ -40,7 +40,7 @@
40
40
  "hono": "^4.7.0",
41
41
  "tsx": "^4.19.0",
42
42
  "ws": "^8.0.0",
43
- "@axlsdk/axl": "0.19.1"
43
+ "@axlsdk/axl": "0.20.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@tailwindcss/vite": "^4.1.0",
@@ -65,10 +65,10 @@
65
65
  "vite": "^6.0.0",
66
66
  "vitest": "^3.0.0",
67
67
  "zod": "^4.0.0",
68
- "@axlsdk/testing": "0.19.1"
68
+ "@axlsdk/testing": "0.20.0"
69
69
  },
70
70
  "peerDependencies": {
71
- "@axlsdk/eval": "0.19.1"
71
+ "@axlsdk/eval": "0.20.0"
72
72
  },
73
73
  "peerDependenciesMeta": {
74
74
  "@axlsdk/eval": {