@effect-agent/testing 0.1.0-beta.23 → 0.1.0-beta.24
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.mts +3 -2
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
- package/src/certification.ts +10 -8
- package/src/fixtures/travel-planner/phase5.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { McpConnection, McpConnectionRequest, McpConnector, McpDiscovery, McpServerIdentity, McpToolkitMismatch, RedactionError, Redactor, SubagentPolicy } from "@effect-agent/capabilities";
|
|
2
2
|
import { ConversationId, IdGenerator } from "@effect-agent/core";
|
|
3
3
|
import { DurableStep, DurableStepError, RuntimeBinding } from "@effect-agent/engine";
|
|
4
|
-
import { CanonicalBatch, CanonicalRecordEnvelope,
|
|
4
|
+
import { CanonicalBatch, CanonicalRecordEnvelope, ConversationCheckpoint, ConversationProjection, ConversationStore, DefinitionDigests, DurableAgentRuntime, DurableRuntimeConfig, DurableRuntimeFailpointLocation, DurableRuntimeFailpointTestControl, DurableSubmitOptions, IdempotencyKey, ProducerId, Receipt, ResolvedBinding, SubmissionLedger, ToolReconciler, WakeScheduler } from "@effect-agent/session";
|
|
5
|
+
import { CertificationCaseResult, CertificationReport, CertificationScenario, CertificationSweepResult, CertificationTierThreeReport } from "@effect-agent/session/testing";
|
|
5
6
|
import { Cause, Context, Crypto, Duration, Effect, Layer, Option, Schema } from "effect";
|
|
6
7
|
import { AiError, LanguageModel, Model, Response, Tool, Toolkit } from "effect/unstable/ai";
|
|
7
8
|
import { CodeExecutor, SandboxImplementation } from "@effect-agent/sandbox";
|
|
@@ -2051,7 +2052,7 @@ declare const CancelBooking: Tool.Tool<"cancel_booking", {
|
|
|
2051
2052
|
}, SupplierBookingDesk>;
|
|
2052
2053
|
/**
|
|
2053
2054
|
* The Durable Tool: declaring `DurableStep` in `dependencies` is what makes it durable
|
|
2054
|
-
* (
|
|
2055
|
+
* (GLOSSARY.md). Its handler divides supplier mutation into three named Steps — `reserve-flight`,
|
|
2055
2056
|
* `reserve-lodging`, `issue-confirmation` — each deriving its supplier idempotency key from
|
|
2056
2057
|
* `(toolCallId, stepName)`, so re-entry after interruption replays recorded Step results and the
|
|
2057
2058
|
* supplier dedupes any honestly-repeated call. The Tool itself carries no execution-class
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { McpConnectionRequest, McpConnector, McpServerIdentity, McpToolkitMismatch, Redactor, Subagent, SubagentPolicy, SubagentReservationsMemoryLive, SubagentRuntime, connectMcp, delegationAllocationFromPolicy } from "@effect-agent/capabilities";
|
|
2
2
|
import { Agent, AgentId, AgentPolicy, ConversationId, IdGenerator, RunId, SubmissionId, ToolCallId, TurnId } from "@effect-agent/core";
|
|
3
3
|
import { DurableStep, DurableStepError, ToolExecutionClass } from "@effect-agent/engine";
|
|
4
|
-
import { AbortCommand, AgentBindingResolver, ApprovalDecisionCommand, BatchId, CanonicalBatch, CanonicalRecordEnvelope,
|
|
4
|
+
import { AbortCommand, AgentBindingResolver, ApprovalDecisionCommand, BatchId, CanonicalBatch, CanonicalRecordEnvelope, ConversationCheckpoint, ConversationExportRequest, ConversationProjection, ConversationStore, DEFAULT_OWNERSHIP_LEASE_DURATION, DefinitionDigests, DeploymentId, Digest, DurableAgentRuntime, DurableRuntimeConfig, DurableRuntimeFailpoint, DurableRuntimeFailpointError, DurableRuntimeFailpointLocation, DurableRuntimeFailpointTestControl, DurableWorkerBinding, IdempotencyKey, LoadCheckpointRequest, ObligationThresholds, PersistedJson, Principal, ProducerId, ReconciliationCompleted, ReconciliationSafeToRetry, ReconciliationUncertain, RecordEnvelope, RecordId, ResolutionAbortSubmission, ResolutionCompletedWithResult, ResolutionNeverHappened, ResolutionSafeToRetry, SubmissionLedger, SubmissionLookupById, ToolReconciler, ToolReconcilerError, UnknownResolutionCommand, WakeScheduler, childConversationIdFor, verifyConversationInvariants } from "@effect-agent/session";
|
|
5
|
+
import { CertificationReport, CertificationSweepResult, CertificationTierThreeReport, CertifiedAdapterIdentity, certifyPorts } from "@effect-agent/session/testing";
|
|
5
6
|
import { Cause, Clock, Context, DateTime, Deferred, Duration, Effect, Exit, Fiber, JsonSchema, Layer, Option, Queue, Ref, Schema, Stream } from "effect";
|
|
6
7
|
import { FastCheck, TestClock } from "effect/testing";
|
|
7
8
|
import { AiError, LanguageModel, Model, Response, Tool, Toolkit } from "effect/unstable/ai";
|
|
@@ -3308,7 +3309,7 @@ const CancelBooking = Tool.make("cancel_booking", {
|
|
|
3308
3309
|
}).annotate(ToolExecutionClass, "idempotent");
|
|
3309
3310
|
/**
|
|
3310
3311
|
* The Durable Tool: declaring `DurableStep` in `dependencies` is what makes it durable
|
|
3311
|
-
* (
|
|
3312
|
+
* (GLOSSARY.md). Its handler divides supplier mutation into three named Steps — `reserve-flight`,
|
|
3312
3313
|
* `reserve-lodging`, `issue-confirmation` — each deriving its supplier idempotency key from
|
|
3313
3314
|
* `(toolCallId, stepName)`, so re-entry after interruption replays recorded Step results and the
|
|
3314
3315
|
* supplier dedupes any honestly-repeated call. The Tool itself carries no execution-class
|