@effect-agent/testing 0.1.0-beta.35 → 0.1.0-beta.37
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-agent/testing",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.37",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./dist/index.d.mts",
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@effect-agent/capabilities": "0.1.0-beta.
|
|
12
|
-
"@effect-agent/core": "0.1.0-beta.
|
|
13
|
-
"@effect-agent/engine": "0.1.0-beta.
|
|
14
|
-
"@effect-agent/platform-node": "0.1.0-beta.
|
|
15
|
-
"@effect-agent/sandbox": "0.1.0-beta.
|
|
16
|
-
"@effect-agent/session": "0.1.0-beta.
|
|
17
|
-
"@effect-agent/storage-memory": "0.1.0-beta.
|
|
18
|
-
"@effect-agent/storage-sqlite": "0.1.0-beta.
|
|
11
|
+
"@effect-agent/capabilities": "0.1.0-beta.37",
|
|
12
|
+
"@effect-agent/core": "0.1.0-beta.37",
|
|
13
|
+
"@effect-agent/engine": "0.1.0-beta.37",
|
|
14
|
+
"@effect-agent/platform-node": "0.1.0-beta.37",
|
|
15
|
+
"@effect-agent/sandbox": "0.1.0-beta.37",
|
|
16
|
+
"@effect-agent/session": "0.1.0-beta.37",
|
|
17
|
+
"@effect-agent/storage-memory": "0.1.0-beta.37",
|
|
18
|
+
"@effect-agent/storage-sqlite": "0.1.0-beta.37",
|
|
19
19
|
"effect": "4.0.0-rc.111"
|
|
20
20
|
},
|
|
21
21
|
"description": "Scripted models, deterministic fixtures, and adapter conformance kits for testing Effect Agent applications.",
|
|
@@ -580,8 +580,8 @@ export const phase6ResearcherModel = promptAwareModel("destination-researcher-p6
|
|
|
580
580
|
// ---------------------------------------------------------------------------
|
|
581
581
|
|
|
582
582
|
/**
|
|
583
|
-
* Every phase-6 Travel Planner worker Binding, captured with its requirement Contexts
|
|
584
|
-
*
|
|
583
|
+
* Every phase-6 Travel Planner worker Binding, captured with its requirement Contexts:
|
|
584
|
+
* the P4 planner and its gated twin, the P5 booking agent over the
|
|
585
585
|
* shared supplier desk, and the S2 coordinator/researcher pair wired through the durable
|
|
586
586
|
* delegation Layer. A Conversation Object registers these via its `bindings` option; the
|
|
587
587
|
* capture runs once per incarnation, and everything stateful the assertions rely on (desk,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "./subagents.ts";
|
|
44
44
|
|
|
45
45
|
// ---------------------------------------------------------------------------
|
|
46
|
-
// S2 durability profile
|
|
46
|
+
// S2 durability profile: the S1 coordinator →
|
|
47
47
|
// destination-researcher delegation re-run as ACCEPTED WORK on the Node/SQLite
|
|
48
48
|
// runtime. The claim is `DN` durable attached Subagents only: establishment
|
|
49
49
|
// and join are replay-safe by construction (SUB-016/SUB-019), a completed
|
|
@@ -9,9 +9,8 @@ import { AirportCode } from "./definition.ts";
|
|
|
9
9
|
import { CatalogLifecycle } from "./deterministic-layers.ts";
|
|
10
10
|
|
|
11
11
|
// ---------------------------------------------------------------------------
|
|
12
|
-
// Destination Researcher: the S1 specialist child Agent
|
|
13
|
-
//
|
|
14
|
-
// delegation"). The researcher is a normal Agent with one deterministic
|
|
12
|
+
// Destination Researcher: the S1 specialist child Agent.
|
|
13
|
+
// The researcher is a normal Agent with one deterministic
|
|
15
14
|
// travel-service Tool; it never becomes a second child loop (SUB-001/003).
|
|
16
15
|
// ---------------------------------------------------------------------------
|
|
17
16
|
|
|
@@ -159,7 +158,7 @@ export const DestinationResearchSupportLayer = Layer.mergeAll(
|
|
|
159
158
|
);
|
|
160
159
|
|
|
161
160
|
// ---------------------------------------------------------------------------
|
|
162
|
-
// Delegation Definition
|
|
161
|
+
// Delegation Definition: the coordinator sees exactly
|
|
163
162
|
// one Effect AI Tool with explicit input/result projections and finite bounds.
|
|
164
163
|
// ---------------------------------------------------------------------------
|
|
165
164
|
|
|
@@ -189,7 +188,7 @@ export class DestinationResearchFailed extends Schema.TaggedError<DestinationRes
|
|
|
189
188
|
* this gate before the handler reserves budget or spawns, so tests can order
|
|
190
189
|
* concurrent delegation preflights without sleeps. It also keeps the
|
|
191
190
|
* projection's construction requirements honestly visible in the handler
|
|
192
|
-
* Layer's `R
|
|
191
|
+
* Layer's `R`. The open Layer never waits.
|
|
193
192
|
*/
|
|
194
193
|
export class ResearchDispatchGate extends Context.Service<
|
|
195
194
|
ResearchDispatchGate,
|