@effect-agent/testing 0.1.0-beta.84 → 0.1.0-beta.85
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/Certification.d.mts +3 -3
- package/dist/Certification.mjs +8 -4
- package/dist/Certification.mjs.map +1 -1
- package/dist/Chaos.d.mts +1 -1
- package/dist/DocsResearcher.d.mts +11 -5
- package/dist/ScriptedModel.mjs +1 -1
- package/dist/ScriptedModel.mjs.map +1 -1
- package/dist/TravelPlanner.d.mts +27 -11
- package/dist/TravelPlanner.mjs +3 -3
- package/dist/TravelPlanner.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Certification.ts +12 -3
- package/src/ScriptedModel.ts +3 -4
- package/src/fixtures/travel-planner/phase6.ts +3 -3
package/dist/TravelPlanner.mjs
CHANGED
|
@@ -1344,7 +1344,7 @@ const awaitPlannerGate = (marker) => Effect.gen(function* () {
|
|
|
1344
1344
|
});
|
|
1345
1345
|
const gateMarkerFromPrompt = (promptJson) => /\[gate:([^\]]+)\]/.exec(promptJson)?.[1] ?? "unknown-gate";
|
|
1346
1346
|
/** A trip whose request text carries the gate marker the gated model waits on. */
|
|
1347
|
-
const phase6GatedTrip = (marker) => Schema.
|
|
1347
|
+
const phase6GatedTrip = (marker) => Schema.decodeSync(TripRequest)({
|
|
1348
1348
|
request: `Plan a review-only London trip, but wait for the concierge. [gate:${marker}]`,
|
|
1349
1349
|
origin: "SFO",
|
|
1350
1350
|
destination: "LHR",
|
|
@@ -1384,7 +1384,7 @@ const phase6BookingToolCallId = (marker) => `book-${marker}`;
|
|
|
1384
1384
|
/** The bookingRef the supplier desk mints for one marker's approved booking. */
|
|
1385
1385
|
const phase6BookingRef = (marker) => supplierBookingRefFor(bookFlightIdempotencyKey(phase6BookingToolCallId(marker)));
|
|
1386
1386
|
/** A trip whose request text carries the per-lane booking case marker. */
|
|
1387
|
-
const phase6BookingTrip = (marker) => Schema.
|
|
1387
|
+
const phase6BookingTrip = (marker) => Schema.decodeSync(TripRequest)({
|
|
1388
1388
|
request: `Book the approved London flight for the traveler. [case:${marker}]`,
|
|
1389
1389
|
origin: "SFO",
|
|
1390
1390
|
destination: "LHR",
|
|
@@ -1450,7 +1450,7 @@ const countingGuideLayer = Layer.succeed(DestinationGuide, DestinationGuide.of({
|
|
|
1450
1450
|
return destinationLookup(query);
|
|
1451
1451
|
}) }));
|
|
1452
1452
|
/** The one-candidate research mission of the DC delegation slice. */
|
|
1453
|
-
const phase6ResearchMission = Schema.
|
|
1453
|
+
const phase6ResearchMission = Schema.decodeSync(ResearchMission)({
|
|
1454
1454
|
request: "Shortlist one September culture city for the DC delegation slice.",
|
|
1455
1455
|
candidates: ["LHR"]
|
|
1456
1456
|
});
|