@wix/evalforge-types 0.99.0 → 0.100.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.
@@ -73,6 +73,19 @@ export declare const CostConfigSchema: z.ZodObject<{
73
73
  maxCostUsd: z.ZodNumber;
74
74
  }, z.core.$strict>;
75
75
  export type CostConfig = z.infer<typeof CostConfigSchema>;
76
+ /** A primitive expected-param value (substring-matched against the actual argument). */
77
+ export declare const ExpectedParamPrimitiveSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
78
+ /**
79
+ * A single expected-param value: a primitive, or an array of primitives.
80
+ * Arrays are matched by containment (every element must appear in the actual
81
+ * argument). Nested objects and arrays of objects/arrays are intentionally
82
+ * unsupported — substring/containment matching has no meaning for them.
83
+ */
84
+ export declare const ExpectedParamValueSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
85
+ /** Parsed shape of the `expectedParams` JSON string. */
86
+ export declare const ExpectedParamsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
87
+ export type ExpectedParamValue = z.infer<typeof ExpectedParamValueSchema>;
88
+ export type ExpectedParams = z.infer<typeof ExpectedParamsSchema>;
76
89
  /** Configuration for tool_called_with_param assertion type.
77
90
  * Uses strictObject to reject objects with unknown keys.
78
91
  * When expectedParams is omitted, the assertion checks only that the tool was called (or not, if negated).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/evalforge-types",
3
- "version": "0.99.0",
3
+ "version": "0.100.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": "6b8138c73365b7465e5b8f6b2d1db6125084044776d247c432471945"
49
+ "falconPackageHash": "8f996db7f4aabfe06bacadb545c162a0fa1f2f5b90c2ee328959c810"
50
50
  }