@rulvar/testing 1.58.0 → 1.59.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/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as FAKE_MODEL, c as FakeAdapterOptions, d as FakeToolCallsValue, f as FakeWireErrorValue, i as createTestEngine, l as FakeCall, m as fakeWireError, n as TestEngine, o as FAKE_MODEL_REF, p as fakeToolCalls, r as TestRunHandle, s as FakeAdapter, t as CreateTestEngineOptions, u as FakeResponder } from "./test-engine
|
|
1
|
+
import { a as FAKE_MODEL, c as FakeAdapterOptions, d as FakeToolCallsValue, f as FakeWireErrorValue, i as createTestEngine, l as FakeCall, m as fakeWireError, n as TestEngine, o as FAKE_MODEL_REF, p as fakeToolCalls, r as TestRunHandle, s as FakeAdapter, t as CreateTestEngineOptions, u as FakeResponder } from "./test-engine-CVmHZlm-.js";
|
|
2
2
|
import { AgentProfile, ChatEvent, ChatRequest, InvocationRole, JournalEntry, JournalStore, ModelCaps, ModelSpec, ProviderAdapter, ResumePreview, RunOutcome, WireError, Workflow, createEngine } from "@rulvar/core";
|
|
3
3
|
|
|
4
4
|
//#region src/replay-strict.d.ts
|
package/dist/index.js
CHANGED
|
@@ -32,6 +32,7 @@ function createTestEngine(options) {
|
|
|
32
32
|
...options.budgetDefaults === void 0 ? {} : { budgetDefaults: options.budgetDefaults },
|
|
33
33
|
...options.concurrency === void 0 ? {} : { concurrency: options.concurrency },
|
|
34
34
|
...options.quota === void 0 ? {} : { quota: options.quota },
|
|
35
|
+
...options.executors === void 0 ? {} : { executors: options.executors },
|
|
35
36
|
...options.pricing === void 0 ? {} : { pricing: options.pricing }
|
|
36
37
|
});
|
|
37
38
|
return {
|
package/dist/matchers.d.ts
CHANGED
|
@@ -80,6 +80,8 @@ interface CreateTestEngineOptions {
|
|
|
80
80
|
concurrency?: CreateEngineOptions["concurrency"];
|
|
81
81
|
/** The shared quota limiter config, as in production (RV-215). */
|
|
82
82
|
quota?: CreateEngineOptions["quota"];
|
|
83
|
+
/** Isolated tool executors, as in production (RV-216). */
|
|
84
|
+
executors?: CreateEngineOptions["executors"];
|
|
83
85
|
/** Versioned price table; wins over adapter caps.pricing, as in production. */
|
|
84
86
|
pricing?: CreateEngineOptions["pricing"];
|
|
85
87
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rulvar/testing",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.59.0",
|
|
4
4
|
"description": "Rulvar test harness: createTestEngine, FakeAdapter, VCR cassettes, replay-strict runs, matchers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@rulvar/core": "1.
|
|
29
|
+
"@rulvar/core": "1.59.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.20.0",
|