@wix/evalforge-types 0.94.0 → 0.95.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.
@@ -1,5 +1,6 @@
1
1
  import type { SkillWithLatestVersion } from '../target/skill.js';
2
2
  import type { TestScenario, TriggerPromptImage } from '../scenario/test-scenario.js';
3
+ import type { LiveTraceEvent } from '../evaluation/live-trace.js';
3
4
  import type { LLMTrace } from '../evaluation/metrics.js';
4
5
  import type { ConversationMessage } from '../evaluation/conversation.js';
5
6
  import type { MCPEntity } from '../common/mcp.js';
@@ -21,12 +22,12 @@ export interface TraceContext {
21
22
  targetId: string;
22
23
  /** The target name for display */
23
24
  targetName: string;
24
- /** URL to push trace events to (for remote job execution) */
25
- tracePushUrl?: string;
26
- /** Optional x-wix-route header for deploy preview routing */
27
- routeHeader?: string;
28
- /** Optional Bearer token for authenticating with public endpoints */
29
- authToken?: string;
25
+ /**
26
+ * Optional fire-and-forget callback that pushes the event to the backend
27
+ * (remote job execution, where stdout is not accessible). Absent for local
28
+ * runs, where trace events are only written to stdout. Must not throw.
29
+ */
30
+ pushEvent?: (event: LiveTraceEvent) => void;
30
31
  }
31
32
  /**
32
33
  * Agent-agnostic execution context.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/evalforge-types",
3
- "version": "0.94.0",
3
+ "version": "0.95.0",
4
4
  "description": "Unified types for EvalForge agent evaluation system",
5
5
  "files": [
6
6
  "build"
@@ -46,5 +46,5 @@
46
46
  "artifactId": "evalforge-types"
47
47
  }
48
48
  },
49
- "falconPackageHash": "39df1c31ea01aae8d29f2a80b58aa0135c684fbb7890eaafc67da629"
49
+ "falconPackageHash": "f31436ff3bc74a9ea6245c97ae4ad28d4473811ad6eb66f5a1b3e637"
50
50
  }