effect-agent 0.1.0-beta.97 → 0.1.0-beta.99
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/{AgentRuntime-B64362Id.d.mts → AgentRuntime-BMzrJos6.d.mts} +2 -2
- package/dist/{AgentRuntime-Cdvqw7l_.mjs → AgentRuntime-BWOnNc0d.mjs} +78 -42
- package/dist/AgentRuntime-BWOnNc0d.mjs.map +1 -0
- package/dist/{DurableAgentRuntime-DbUvZHDZ.mjs → DurableAgentRuntime-BE_OjQjz.mjs} +471 -252
- package/dist/DurableAgentRuntime-BE_OjQjz.mjs.map +1 -0
- package/dist/{DurableFailpoint-DQJet828.d.mts → DurableFailpoint-mx3-nsxU.d.mts} +3 -3
- package/dist/{EventSource-D6PAAEyK.d.mts → EventSource-BZ73J0s5.d.mts} +3 -3
- package/dist/{PreparedInputAdmission-omMbwd--.d.mts → PreparedInputAdmission-BkeI-Xvr.d.mts} +4 -4
- package/dist/{Records-CV49DgQK.d.mts → Records-BIiRLqlz.d.mts} +92 -128
- package/dist/{Records-BAutSSnJ.mjs → Records-DR1xtbXY.mjs} +35 -8
- package/dist/Records-DR1xtbXY.mjs.map +1 -0
- package/dist/{RunJournal-DRRRZmG7.mjs → RunJournal-DNs3PM4K.mjs} +80 -23
- package/dist/RunJournal-DNs3PM4K.mjs.map +1 -0
- package/dist/{RunOptions-Clj8cLsp.d.mts → RunOptions-Bruk54SE.d.mts} +13 -4
- package/dist/{Schedule-DePbGfgd.d.mts → Schedule-BNFlluAl.d.mts} +2 -2
- package/dist/{Scheduling-C3QpYn0W.mjs → Scheduling-HFH0pST1.mjs} +2 -2
- package/dist/{Scheduling-C3QpYn0W.mjs.map → Scheduling-HFH0pST1.mjs.map} +1 -1
- package/dist/{Subagent-Cbfzylz1.mjs → Subagent-C2s8PFrd.mjs} +2 -2
- package/dist/{Subagent-Cbfzylz1.mjs.map → Subagent-C2s8PFrd.mjs.map} +1 -1
- package/dist/{Subagent-Bm1dRecN.d.mts → Subagent-m7ywTCe4.d.mts} +3 -3
- package/dist/{Subscription-BR_8Cxh3.d.mts → Subscription-BCQ3L9Zp.d.mts} +3 -3
- package/dist/{SubscriptionInput-B95sQbuk.d.mts → SubscriptionInput-Cqu4_RW3.d.mts} +3 -3
- package/dist/{ToolReconciler-DQVaJfpE.d.mts → ToolReconciler-BmVRAHKs.d.mts} +8 -4
- package/dist/agent-registration-cXpB8cBU.mjs +199 -0
- package/dist/agent-registration-cXpB8cBU.mjs.map +1 -0
- package/dist/capabilities/Commands.d.mts +1 -1
- package/dist/capabilities/RunHooks.d.mts +1 -1
- package/dist/capabilities/Subagent.d.mts +1 -1
- package/dist/capabilities/Subagent.mjs +1 -1
- package/dist/durable/ActivityStore.d.mts +1 -1
- package/dist/durable/ActivityStore.mjs +1 -1
- package/dist/durable/Admin.d.mts +1 -1
- package/dist/durable/Admin.mjs +12 -10
- package/dist/durable/Admin.mjs.map +1 -1
- package/dist/durable/AgentRegistration.d.mts +2 -2
- package/dist/durable/AgentRegistration.mjs +4 -8
- package/dist/durable/AgentRegistration.mjs.map +1 -1
- package/dist/durable/Certification.d.mts +2 -2
- package/dist/durable/CommittedActivity.d.mts +1 -1
- package/dist/durable/CommittedActivity.mjs +1 -1
- package/dist/durable/Digest.d.mts +1 -1
- package/dist/durable/Digest.mjs +1 -1
- package/dist/durable/DurableAgentRuntime.d.mts +1 -1
- package/dist/durable/DurableAgentRuntime.mjs +1 -1
- package/dist/durable/DurableFailpoint.d.mts +1 -1
- package/dist/durable/DurableFailpoint.mjs +2 -0
- package/dist/durable/DurableFailpoint.mjs.map +1 -1
- package/dist/durable/DurableFailpointTestControl.d.mts +1 -1
- package/dist/durable/EventSource.d.mts +1 -1
- package/dist/durable/EventSource.mjs +1 -1
- package/dist/durable/GitHubWorkflowSource.d.mts +3 -3
- package/dist/durable/GitHubWorkflowSource.mjs +1 -1
- package/dist/durable/MessageDelivery.d.mts +3 -3
- package/dist/durable/MessageDelivery.mjs +1 -1
- package/dist/durable/MessageDeliveryStoreConformance.d.mts +39 -39
- package/dist/durable/MessageDeliveryStoreConformance.mjs +1 -1
- package/dist/durable/PersistentHistory.d.mts +1 -1
- package/dist/durable/PersistentHistory.mjs +2 -2
- package/dist/durable/PreparedInputAdmission.d.mts +1 -1
- package/dist/durable/Records.d.mts +2 -2
- package/dist/durable/Records.mjs +2 -2
- package/dist/durable/Recovery.d.mts +1 -1
- package/dist/durable/Recovery.mjs +9 -9
- package/dist/durable/Recovery.mjs.map +1 -1
- package/dist/durable/RunJournal.d.mts +2 -2
- package/dist/durable/RunJournal.mjs +2 -2
- package/dist/durable/Schedule.d.mts +1 -1
- package/dist/durable/Schedule.mjs +1 -1
- package/dist/durable/ScheduleStoreConformance.d.mts +1 -1
- package/dist/durable/ScheduleStoreConformance.mjs +1 -1
- package/dist/durable/ScheduleTransition.d.mts +1 -1
- package/dist/durable/ScheduleTransition.mjs +1 -1
- package/dist/durable/Scheduling.d.mts +2 -2
- package/dist/durable/Scheduling.mjs +1 -1
- package/dist/durable/SqlStorageV2Upgrade.d.mts +2 -2
- package/dist/durable/SqlStorageV2Upgrade.mjs +1 -1
- package/dist/durable/SqlSubscriptionStore.d.mts +2 -2
- package/dist/durable/SqlSubscriptionStore.mjs +1 -1
- package/dist/durable/SubmissionLedger.d.mts +1 -1
- package/dist/durable/SubmissionLedger.mjs +14 -13
- package/dist/durable/SubmissionLedger.mjs.map +1 -1
- package/dist/durable/SubmissionLedgerConformance.d.mts +1 -1
- package/dist/durable/SubmissionLedgerConformance.mjs +9 -2
- package/dist/durable/SubmissionLedgerConformance.mjs.map +1 -1
- package/dist/durable/SubmissionStatus.d.mts +1 -1
- package/dist/durable/Subscription.d.mts +1 -1
- package/dist/durable/Subscription.mjs +1 -1
- package/dist/durable/SubscriptionInput.d.mts +1 -1
- package/dist/durable/SubscriptionInput.mjs +2 -2
- package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
- package/dist/durable/SubscriptionStoreConformance.mjs +1 -1
- package/dist/durable/SubscriptionTools.d.mts +3 -3
- package/dist/durable/SubscriptionTransition.d.mts +1 -1
- package/dist/durable/SubscriptionTransition.mjs +1 -1
- package/dist/durable/Subscriptions.d.mts +5 -5
- package/dist/durable/Subscriptions.mjs +1 -1
- package/dist/durable/ThreadContextHistory.d.mts +1 -1
- package/dist/durable/ThreadContextHistory.mjs +1 -1
- package/dist/durable/ThreadContextHistoryProjection.d.mts +1 -1
- package/dist/durable/ThreadContextHistoryProjection.mjs +1 -1
- package/dist/durable/ThreadInvariants.d.mts +4 -2
- package/dist/durable/ThreadInvariants.mjs +49 -3
- package/dist/durable/ThreadInvariants.mjs.map +1 -1
- package/dist/durable/ThreadProjection.d.mts +1 -1
- package/dist/durable/ThreadProjection.mjs +1 -1
- package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
- package/dist/durable/ThreadStore.d.mts +1 -1
- package/dist/durable/ThreadStore.mjs +1 -1
- package/dist/durable/ThreadStoreConformance.d.mts +1 -1
- package/dist/durable/ThreadStoreConformance.mjs +1 -1
- package/dist/durable/ToolReconciler.d.mts +1 -1
- package/dist/durable/ToolReconciler.mjs +9 -5
- package/dist/durable/ToolReconciler.mjs.map +1 -1
- package/dist/durable/WorkerHost.d.mts +1 -1
- package/dist/engine/AgentRuntime.d.mts +1 -1
- package/dist/engine/AgentRuntime.mjs +1 -1
- package/dist/engine/RunOptions.d.mts +1 -1
- package/dist/engine/RunOptions.mjs.map +1 -1
- package/dist/index.d.mts +11 -11
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
- package/src/durable/Admin.ts +20 -11
- package/src/durable/AgentRegistration.ts +1 -5
- package/src/durable/DurableAgentRuntime.ts +947 -464
- package/src/durable/DurableFailpoint.ts +2 -0
- package/src/durable/Records.ts +30 -5
- package/src/durable/Recovery.ts +8 -8
- package/src/durable/RunJournal.ts +128 -51
- package/src/durable/SubmissionLedger.ts +13 -12
- package/src/durable/SubmissionLedgerConformance.ts +13 -2
- package/src/durable/ThreadInvariants.ts +70 -5
- package/src/durable/ToolReconciler.ts +7 -3
- package/src/durable/internal/agent-registration.ts +65 -414
- package/src/durable/internal/messaging-host.ts +0 -2
- package/src/durable/internal/worker-host.ts +34 -96
- package/src/engine/RunOptions.ts +13 -3
- package/src/engine/internal/agent-runtime.ts +160 -106
- package/dist/AgentRuntime-Cdvqw7l_.mjs.map +0 -1
- package/dist/DurableAgentRuntime-DbUvZHDZ.mjs.map +0 -1
- package/dist/Records-BAutSSnJ.mjs.map +0 -1
- package/dist/RunJournal-DRRRZmG7.mjs.map +0 -1
- package/dist/agent-registration-CXGDwvJH.mjs +0 -379
- package/dist/agent-registration-CXGDwvJH.mjs.map +0 -1
|
@@ -12,14 +12,14 @@ import { t as AgentPolicy } from "./AgentPolicy-BqDoSXO6.mjs";
|
|
|
12
12
|
import { T as RunDispositionDeclaration, _ as InstructionSource, c as Definition, m as InputPromptSource, n as Any, r as AnyDefinition, v as ModelServices } from "./Agent-CM6JubNX.mjs";
|
|
13
13
|
import { t as RunPolicyUsage } from "./RunPolicyUsage-ClZxyR46.mjs";
|
|
14
14
|
import { a as WorkerError } from "./Worker--j87JI__.mjs";
|
|
15
|
-
import { G as RunToolAuthorization, O as RunCostEstimator, h as RunApprovalHook, x as RunContextPreparation } from "./RunOptions-
|
|
15
|
+
import { G as RunToolAuthorization, O as RunCostEstimator, h as RunApprovalHook, x as RunContextPreparation } from "./RunOptions-Bruk54SE.mjs";
|
|
16
16
|
import { _ as MessagingError, f as InputMessage, t as MessagingHost } from "./MessagingHost-gAxs5gme.mjs";
|
|
17
17
|
import "./Messaging-QMYhp297.mjs";
|
|
18
18
|
import { c as WorkerReportPreparationFailure, i as SubagentHost, l as WorkerReporting } from "./SubagentHost-DaFMZnVR.mjs";
|
|
19
|
-
import { p as RuntimeBinding, r as AgentCompletionProjectionRequirements, s as AgentRuntimeRequirements } from "./AgentRuntime-
|
|
20
|
-
import { n as DurableRuntimeFailpoint, r as DurableRuntimeFailpointError } from "./DurableFailpoint-
|
|
19
|
+
import { p as RuntimeBinding, r as AgentCompletionProjectionRequirements, s as AgentRuntimeRequirements } from "./AgentRuntime-BMzrJos6.mjs";
|
|
20
|
+
import { n as DurableRuntimeFailpoint, r as DurableRuntimeFailpointError } from "./DurableFailpoint-mx3-nsxU.mjs";
|
|
21
21
|
import { o as OperationDenied } from "./OperationAuthorizer-TzcQtpX5.mjs";
|
|
22
|
-
import { s as ToolReconciler } from "./ToolReconciler-
|
|
22
|
+
import { s as ToolReconciler } from "./ToolReconciler-BmVRAHKs.mjs";
|
|
23
23
|
import { t as WakeScheduler } from "./WakeScheduler-EjUF-GhC.mjs";
|
|
24
24
|
import { Prompt, Tool } from "effect/unstable/ai";
|
|
25
25
|
import { Context, Crypto, DateTime, Duration, Effect, Layer, Option, Schema, Scope, Stream } from "effect";
|
|
@@ -44,12 +44,12 @@ type OwnershipToken = typeof OwnershipToken.Type;
|
|
|
44
44
|
* host Run's outcome.
|
|
45
45
|
* - `suspended` — durably waiting for explicit approval decisions; the ownership period has
|
|
46
46
|
* ended and the lane consumes no worker permit while the obligation stays owed.
|
|
47
|
-
* - `unknown` — at least one
|
|
48
|
-
*
|
|
49
|
-
* authorizes cleanup
|
|
47
|
+
* - `unknown` — at least one Tool Call has a durable Unknown Outcome; this Submission is
|
|
48
|
+
* parked until an authorized resolution covers every open call or a durable abort intent
|
|
49
|
+
* authorizes cleanup without Tool replay. Later eligible input may run (DUR-012/DUR-017).
|
|
50
50
|
*
|
|
51
|
-
* `claim` never grants a `joining`, `joined`, or `suspended` head.
|
|
52
|
-
*
|
|
51
|
+
* `claim` never grants or bypasses a `joining`, `joined`, or `suspended` head. It skips unknown
|
|
52
|
+
* work without an abort intent. Any live ownership in the Thread prevents another claim.
|
|
53
53
|
*/
|
|
54
54
|
declare const SubmissionState: Schema.Literals<readonly ["admitted", "ready", "joining", "joined", "running", "input-applied", "suspended", "unknown", "terminalizing", "settled"]>;
|
|
55
55
|
type SubmissionState = typeof SubmissionState.Type;
|
|
@@ -773,7 +773,7 @@ declare const MarkUnknownRequest_base: Schema.Class<MarkUnknownRequest, Schema.S
|
|
|
773
773
|
}>, {}>;
|
|
774
774
|
/**
|
|
775
775
|
* Durable Unknown marking for one Submission's open ordinary Tool Calls (DUR-009): state →
|
|
776
|
-
* `unknown`,
|
|
776
|
+
* `unknown`, parking that Submission without changing ownership or the Thread epoch. Idempotent.
|
|
777
777
|
*/
|
|
778
778
|
declare class MarkUnknownRequest extends MarkUnknownRequest_base {}
|
|
779
779
|
declare const ResolutionCompletedWithResult_base: Schema.Class<ResolutionCompletedWithResult, Schema.TaggedStruct<"CompletedWithResult", {
|
|
@@ -1020,10 +1020,10 @@ declare const SubmissionLedger_base: Context.ServiceClass<SubmissionLedger, "@ef
|
|
|
1020
1020
|
* Marking an already-ready (or later-state) Submission is a no-op.
|
|
1021
1021
|
* - `lookup` — read one Submission by identity or scoped idempotency key; strongly consistent
|
|
1022
1022
|
* with prior ledger writes.
|
|
1023
|
-
* - `claim` —
|
|
1024
|
-
*
|
|
1025
|
-
*
|
|
1026
|
-
*
|
|
1023
|
+
* - `claim` — claims the lowest unsettled `queueSequence` after skipping only unknown rows
|
|
1024
|
+
* without abort intent. Approval, joining and child-wait barriers remain ordered. Returns
|
|
1025
|
+
* `Option.none` when no eligible work exists or ANY lease in the Thread is live, including
|
|
1026
|
+
* a lease belonging to the same producer. A successful claim atomically bumps the Thread's producer
|
|
1027
1027
|
* epoch — fencing every stale Attempt out of canonical appends (DUR-006) — mints a fresh
|
|
1028
1028
|
* `attemptId` and `ownershipToken`, and starts the ownership lease (D5: adapters default to
|
|
1029
1029
|
* `DEFAULT_OWNERSHIP_LEASE_DURATION`, configurable). An expired lease makes the head
|
|
@@ -1106,8 +1106,9 @@ declare const SubmissionLedger_base: Context.ServiceClass<SubmissionLedger, "@ef
|
|
|
1106
1106
|
* with `ChildReservationConflict`. "A crash before release leaves budget unavailable until
|
|
1107
1107
|
* repair, never available twice" (spec §12).
|
|
1108
1108
|
* - `markUnknown` — idempotent, ownership-free (canonical evidence authorizes it): state →
|
|
1109
|
-
* `unknown`, the
|
|
1110
|
-
*
|
|
1109
|
+
* `unknown`, parking the Submission while its accepted settlement obligation stays visible.
|
|
1110
|
+
* Existing ownership must release or expire before another claim (DUR-009/DUR-017).
|
|
1111
|
+
* Fails with `SettlementConflict` once settled.
|
|
1111
1112
|
* - `recordUnknownResolution` — durable, idempotent per `(submissionId, toolCallId)`; a
|
|
1112
1113
|
* divergent re-resolution fails with `UnknownResolutionConflict`. Transitions
|
|
1113
1114
|
* `unknown → input-applied` once no open call remains, waking the lane. Fails with
|
|
@@ -1167,8 +1168,8 @@ declare const DeclaredPendingBatchEvidence_base: Schema.Class<DeclaredPendingBat
|
|
|
1167
1168
|
}>, {}>;
|
|
1168
1169
|
/**
|
|
1169
1170
|
* A committed tool-declaring response with ZERO prepared and ZERO settled records for its Turn:
|
|
1170
|
-
* the
|
|
1171
|
-
*
|
|
1171
|
+
* the durability §15 batch-resume window. Mutation preparation has not committed; readonly
|
|
1172
|
+
* handlers may already have run. The worker checks each unfinished operation before execution.
|
|
1172
1173
|
*/
|
|
1173
1174
|
declare class DeclaredPendingBatchEvidence extends DeclaredPendingBatchEvidence_base {}
|
|
1174
1175
|
declare const PendingApprovalEvidence_base: Schema.Class<PendingApprovalEvidence, Schema.Struct<{
|
|
@@ -1337,7 +1338,7 @@ declare const ResumePendingToolBatch_base: Schema.Class<ResumePendingToolBatch,
|
|
|
1337
1338
|
readonly turn: Schema.Int;
|
|
1338
1339
|
}>, {}>;
|
|
1339
1340
|
/** A committed tool-declaring response has zero prepared and zero settled records: a worker
|
|
1340
|
-
* resumes the declared batch
|
|
1341
|
+
* checks unfinished contracts and resumes the declared batch without model re-invocation. S2 also
|
|
1341
1342
|
* routes an open delegation call WITHOUT establishment evidence here (spec §13 row 1): the
|
|
1342
1343
|
* declared batch re-executes and the idempotent establishment converges on one child. */
|
|
1343
1344
|
declare class ResumePendingToolBatch extends ResumePendingToolBatch_base {}
|
|
@@ -1356,14 +1357,14 @@ declare class ResumeSuspended extends ResumeSuspended_base {}
|
|
|
1356
1357
|
declare const AwaitUnknownResolution_base: Schema.Class<AwaitUnknownResolution, Schema.TaggedStruct<"AwaitUnknownResolution", {
|
|
1357
1358
|
readonly submissionId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/SubmissionId">;
|
|
1358
1359
|
}>, {}>;
|
|
1359
|
-
/** Unknown Outcomes lack covering resolutions:
|
|
1360
|
+
/** Unknown Outcomes lack covering resolutions: this Submission stays parked awaiting the authorized
|
|
1360
1361
|
* DUR-017 resolution path; the obligation stays visible, nothing replays. */
|
|
1361
1362
|
declare class AwaitUnknownResolution extends AwaitUnknownResolution_base {}
|
|
1362
1363
|
declare const ApplyUnknownResolutions_base: Schema.Class<ApplyUnknownResolutions, Schema.TaggedStruct<"ApplyUnknownResolutions", {
|
|
1363
1364
|
readonly submissionId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/SubmissionId">;
|
|
1364
1365
|
}>, {}>;
|
|
1365
|
-
/** Durable resolution intents cover every open call:
|
|
1366
|
-
*
|
|
1366
|
+
/** Durable resolution intents cover every open call: wake the original Submission when its
|
|
1367
|
+
* required retry contract is supported. Canonical outcomes are applied by the next claim. */
|
|
1367
1368
|
declare class ApplyUnknownResolutions extends ApplyUnknownResolutions_base {}
|
|
1368
1369
|
declare const RevertJoining_base: Schema.Class<RevertJoining, Schema.TaggedStruct<"RevertJoining", {
|
|
1369
1370
|
readonly submissionId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/SubmissionId">;
|
|
@@ -1540,8 +1541,8 @@ type RecoveryDecision = typeof RecoveryDecision.Type;
|
|
|
1540
1541
|
* ApplyJoinAccounting → CompleteChildAdmission → RepairSubagentStartLink →
|
|
1541
1542
|
* AwaitChildAdmissionResolution → ResumePendingToolBatch (idempotent handler re-entry) →
|
|
1542
1543
|
* EnsureWaitingForChild → ResumeWaitingParent → ReleaseOrphanChildReservation.
|
|
1543
|
-
* 10. declared-but-unprepared tool batch → ResumePendingToolBatch —
|
|
1544
|
-
*
|
|
1544
|
+
* 10. declared-but-unprepared tool batch → ResumePendingToolBatch — the worker checks original
|
|
1545
|
+
* operation contracts; missing preparation proves no mutation dispatch, not readonly nonexecution (§15).
|
|
1545
1546
|
* 11. `admitted` → a parent-linked Submission whose Thread lacks the canonical lineage
|
|
1546
1547
|
* record defers (AwaitParentEstablishment: the parent's idempotent establishment
|
|
1547
1548
|
* completes it); otherwise
|
|
@@ -1580,70 +1581,17 @@ declare const BindingUnavailable_base: Schema.Class<BindingUnavailable, Schema.T
|
|
|
1580
1581
|
readonly agentId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/AgentId">;
|
|
1581
1582
|
readonly message: Schema.String;
|
|
1582
1583
|
}>, import("effect/Cause").YieldableError>;
|
|
1583
|
-
/**
|
|
1584
|
-
* No Agent Binding is registered for the requested stable identity. Recovery
|
|
1585
|
-
* fails closed: it never substitutes the latest Binding or runs different
|
|
1586
|
-
* code.
|
|
1587
|
-
*/
|
|
1584
|
+
/** No unique current executable is registered for the stable Agent identity. */
|
|
1588
1585
|
declare class BindingUnavailable extends BindingUnavailable_base {}
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
readonly message: Schema.String;
|
|
1592
|
-
}>, import("effect/Cause").YieldableError>;
|
|
1593
|
-
/**
|
|
1594
|
-
* A Binding is registered for the identity but neither the exact admission fingerprints
|
|
1595
|
-
* nor its declared replay contract support the retained pending operations. Refusal leaves
|
|
1596
|
-
* the original Submission pending until compatible code is available.
|
|
1597
|
-
*/
|
|
1598
|
-
declare class BindingDigestMismatch extends BindingDigestMismatch_base {}
|
|
1599
|
-
/** The typed refusal family of durable Binding resolution (spec §11, SUB-032). */
|
|
1600
|
-
type DurableBindingFailure = BindingUnavailable | BindingDigestMismatch;
|
|
1601
|
-
/** Byte-for-byte equality of two stored definition digest triples (SUB-023). */
|
|
1586
|
+
type DurableBindingFailure = BindingUnavailable;
|
|
1587
|
+
/** Exact immutable admission, lineage and delivery evidence; never an executable-code gate. */
|
|
1602
1588
|
declare const definitionDigestsEqual: (left: DefinitionDigests, right: DefinitionDigests) => boolean;
|
|
1603
|
-
/**
|
|
1604
|
-
* Host-owned semantic versions, independent of deployment and tool inventory. Change a version
|
|
1605
|
-
* when the meaning of an operation, its durable Step names or external idempotency keys changes.
|
|
1606
|
-
* Codecs and execution class are included automatically; JSON Schema alone cannot prove semantics.
|
|
1607
|
-
*/
|
|
1589
|
+
/** Change an operation version when its meaning, durable Steps or idempotency keys change. */
|
|
1608
1590
|
interface ReplayVersions {
|
|
1609
|
-
readonly agent: PersistedJson;
|
|
1610
1591
|
readonly tools: Readonly<Record<string, PersistedJson>>;
|
|
1611
1592
|
}
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
readonly definitions: typeof DefinitionDigestInput;
|
|
1615
|
-
readonly replay: typeof ReplayContract;
|
|
1616
|
-
readonly agentContract: Schema.optionalKey<Schema.Struct<{
|
|
1617
|
-
readonly version: Schema.declare<Schema.Json, Schema.Json>;
|
|
1618
|
-
readonly id: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/AgentId">;
|
|
1619
|
-
readonly input: Schema.declare<Schema.Json, Schema.Json>;
|
|
1620
|
-
readonly output: Schema.declare<Schema.Json, Schema.Json>;
|
|
1621
|
-
readonly updates: Schema.NullOr<Schema.declare<Schema.Json, Schema.Json>>;
|
|
1622
|
-
readonly completion: Schema.NullOr<Schema.Struct<{
|
|
1623
|
-
readonly tool: Schema.String;
|
|
1624
|
-
readonly required: Schema.Boolean;
|
|
1625
|
-
}>>;
|
|
1626
|
-
readonly completionFromTools: Schema.$Array<Schema.String>;
|
|
1627
|
-
readonly disposition: Schema.NullOr<Schema.declare<Schema.Json, Schema.Json>>;
|
|
1628
|
-
}>>;
|
|
1629
|
-
readonly toolContracts: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Struct<{
|
|
1630
|
-
readonly version: Schema.declare<Schema.Json, Schema.Json>;
|
|
1631
|
-
readonly parameters: Schema.declare<Schema.Json, Schema.Json>;
|
|
1632
|
-
readonly success: Schema.declare<Schema.Json, Schema.Json>;
|
|
1633
|
-
readonly failure: Schema.declare<Schema.Json, Schema.Json>;
|
|
1634
|
-
readonly failureMode: Schema.String;
|
|
1635
|
-
readonly needsApproval: Schema.Union<readonly [Schema.Boolean, Schema.Literal<"dynamic">]>;
|
|
1636
|
-
readonly executionClass: Schema.String;
|
|
1637
|
-
readonly executionKind: Schema.String;
|
|
1638
|
-
}>>>;
|
|
1639
|
-
}>, {}>;
|
|
1640
|
-
declare class BindingManifest extends BindingManifest_base {}
|
|
1641
|
-
declare const makeBindingManifest: (definition: Definition<Schema.Top, Schema.Top, unknown, import("effect/unstable/ai/Toolkit").Any, RunDispositionDeclaration<never, Schema.Top> | undefined, unknown, Schema.Top | undefined>, definitions: DefinitionDigestInput, versions: ReplayVersions) => Effect.Effect<BindingManifest, DigestError, Crypto.Crypto>;
|
|
1642
|
-
/** Compile audited declaration data once, without acquiring an executable or rewriting receipts.
|
|
1643
|
-
* Full input schemas stay in registration metadata, never in each admission's replay contract. */
|
|
1644
|
-
declare const compileBindingManifest: (definition: Definition<Schema.Top, Schema.Top, unknown, import("effect/unstable/ai/Toolkit").Any, RunDispositionDeclaration<never, Schema.Top> | undefined, unknown, Schema.Top | undefined>, definitions: DefinitionDigestInput, versions: ReplayVersions, retained?: readonly BindingManifest[] | undefined) => Effect.Effect<Pick<ResolvedBinding, "acceptsInput" | "digests" | "manifest" | "retainedManifests">, DigestError, Crypto.Crypto>;
|
|
1645
|
-
/** Resolve executable code only. Admission, delivery, lineage and receipt comparisons stay exact. */
|
|
1646
|
-
declare const bindingSupports: (binding: Pick<ResolvedBinding, "digests" | "retainedManifests" | "acceptsInput">, digests: DefinitionDigests, requiredTools?: ReadonlyArray<string>, input?: PersistedJson) => boolean;
|
|
1593
|
+
/** Compile current metadata without acquiring executable services. */
|
|
1594
|
+
declare const compileBindingContracts: (definition: Definition<Schema.Top, Schema.Top, unknown, import("effect/unstable/ai/Toolkit").Any, RunDispositionDeclaration<never, Schema.Top> | undefined, unknown, Schema.Top | undefined>, definitions: DefinitionDigestInput, versions?: ReplayVersions | undefined) => Effect.Effect<Pick<ResolvedBinding, "digests">, DigestError, Crypto.Crypto>;
|
|
1647
1595
|
type ExecutableDefinition = AnyDefinition & {
|
|
1648
1596
|
readonly instructions: InstructionSource<never, unknown, unknown>;
|
|
1649
1597
|
readonly inputPrompt?: InputPromptSource<never, unknown, unknown> | undefined;
|
|
@@ -1674,16 +1622,6 @@ type ReportRequirements<Reports> = Reports extends ReadonlyArray<WorkerReporting
|
|
|
1674
1622
|
/** One exact executable registration used by durable claim-time resolution. */
|
|
1675
1623
|
interface ResolvedBinding extends CapturedBinding {
|
|
1676
1624
|
readonly digests: DefinitionDigests;
|
|
1677
|
-
readonly manifest?: BindingManifest;
|
|
1678
|
-
/** Current encoded input guard, acquired without executable services. */
|
|
1679
|
-
readonly acceptsInput?: (input: PersistedJson) => boolean;
|
|
1680
|
-
readonly retainedManifests?: ReadonlyArray<{
|
|
1681
|
-
readonly digests: DefinitionDigests;
|
|
1682
|
-
readonly replay: ReplayContract;
|
|
1683
|
-
readonly compatibleTools?: Readonly<Record<string, string>>;
|
|
1684
|
-
/** Original declarations prove unchanged semantics and output/completion contracts. */
|
|
1685
|
-
readonly compatibleAgent?: string;
|
|
1686
|
-
}>;
|
|
1687
1625
|
}
|
|
1688
1626
|
/** Trusted claim identity for resolving per-Attempt application services. Not model input. */
|
|
1689
1627
|
interface AgentAttemptContext {
|
|
@@ -1713,10 +1651,9 @@ type AgentRegistration<A extends ExecutableAgentBinding = ExecutableAgentBinding
|
|
|
1713
1651
|
readonly model: A["model"];
|
|
1714
1652
|
readonly definitions: DefinitionDigestInput;
|
|
1715
1653
|
}) & {
|
|
1716
|
-
/**
|
|
1654
|
+
/** Explicit operation versions let unchanged unfinished handlers survive toolbox changes. */
|
|
1717
1655
|
readonly continuity?: {
|
|
1718
1656
|
readonly versions: ReplayVersions;
|
|
1719
|
-
readonly retainedManifests?: ReadonlyArray<BindingManifest>;
|
|
1720
1657
|
};
|
|
1721
1658
|
/**
|
|
1722
1659
|
* Source-owned reports capture services outside attemptLayer and open a fresh Scope per
|
|
@@ -1747,7 +1684,7 @@ type RegistrationRequirements<Entries extends ReadonlyArray<AgentRegistration>>
|
|
|
1747
1684
|
/** Compile heterogeneous Agent descriptors into exact, dependency-closed worker registrations. */
|
|
1748
1685
|
declare const compileRegistrations: <const Entries extends ReadonlyArray<AgentRegistration>>(entries: Entries) => Effect.Effect<ReadonlyArray<ResolvedBinding>, DigestError, Crypto.Crypto | RegistrationRequirements<Entries>>;
|
|
1749
1686
|
declare namespace AgentRegistration_d_exports {
|
|
1750
|
-
export { AgentAttemptContext, AgentRegistration,
|
|
1687
|
+
export { AgentAttemptContext, AgentRegistration, BindingUnavailable, DurableBindingFailure, DurableWorkerBinding, ExecutableAgentBinding, ReplayVersions, ResolvedBinding, compileBindingContracts, compileRegistrations, definitionDigestsEqual };
|
|
1751
1688
|
}
|
|
1752
1689
|
declare namespace Admin_d_exports {
|
|
1753
1690
|
export { ExplainedEvidence, ExplainedSubmission, ExplainedUnknownCall, IntegrityCheck, IntegrityCheckName, IntegrityCheckStatus, IntegrityReport, ObligationBlockedOn, ObligationEntry, ObligationReport, ObligationSeverity, ObligationThresholds, RECOVERY_DECISION_MEANINGS, RecoveryDisposition, RecoveryExplanation, RetryCommand, RetryRefusalReason, RetryRefused, obligationSeverityOf, predictRecoveryDisposition, recoveryDecisionMeaning, renderRecoveryExplanation };
|
|
@@ -1778,10 +1715,10 @@ declare const ExplainedUnknownCall_base: Schema.Class<ExplainedUnknownCall, Sche
|
|
|
1778
1715
|
readonly toolName: Schema.NonEmptyString;
|
|
1779
1716
|
readonly reason: Schema.String;
|
|
1780
1717
|
readonly recordedAt: Schema.DateTimeUtcFromString;
|
|
1781
|
-
/** A
|
|
1718
|
+
/** A real canonical ToolCallSettled closes this call; an intent alone is not an outcome. */
|
|
1782
1719
|
readonly resolved: Schema.Boolean;
|
|
1783
1720
|
}>, {}>;
|
|
1784
|
-
/** One durable Unknown Outcome and whether
|
|
1721
|
+
/** One durable Unknown Outcome and whether its result is canonical (DUR-017). */
|
|
1785
1722
|
declare class ExplainedUnknownCall extends ExplainedUnknownCall_base {}
|
|
1786
1723
|
declare const ExplainedEvidence_base: Schema.Class<ExplainedEvidence, Schema.Struct<{
|
|
1787
1724
|
readonly threadMaterialized: Schema.Boolean;
|
|
@@ -1790,6 +1727,8 @@ declare const ExplainedEvidence_base: Schema.Class<ExplainedEvidence, Schema.Str
|
|
|
1790
1727
|
readonly recordedSettlementOutcome: Schema.optionalKey<Schema.Literals<readonly ["completed", "failed", "aborted"]>>;
|
|
1791
1728
|
/** Prepared ordinary Tool Calls without a canonical outcome (DUR-009). */
|
|
1792
1729
|
readonly openToolCalls: Schema.$Array<typeof OpenToolCallEvidence>;
|
|
1730
|
+
/** Original prepared operation identities, arguments and recovery contracts; settled calls are excluded. */
|
|
1731
|
+
readonly pendingOperations: Schema.withConstructorDefault<Schema.$Array<typeof ToolCallPrepared>>;
|
|
1793
1732
|
/** Delegation Tool Calls with an open parent-side obligation. */
|
|
1794
1733
|
readonly openDelegationCalls: Schema.$Array<typeof OpenDelegationCallEvidence>;
|
|
1795
1734
|
/** Canonically requested approvals without a canonical decision. */
|
|
@@ -1932,8 +1871,8 @@ declare const RetryCommand_base: Schema.Class<RetryCommand, Schema.Struct<{
|
|
|
1932
1871
|
/**
|
|
1933
1872
|
* The mandatory-audit retry command (SEC-011): `author`/`reason` carry the same bounds as the
|
|
1934
1873
|
* canonical abort command so every mutating administrative operation stays attributable. The
|
|
1935
|
-
*
|
|
1936
|
-
*
|
|
1874
|
+
* operator and decision are logged. A repair with a claim also appends a best-effort
|
|
1875
|
+
* `RepairAnnotated` attempt using that claim's epoch; state-only repairs do not append audits.
|
|
1937
1876
|
*/
|
|
1938
1877
|
declare class RetryCommand extends RetryCommand_base {}
|
|
1939
1878
|
/** Why a retry was refused without executing anything. */
|
|
@@ -1946,7 +1885,7 @@ declare const RetryRefused_base: Schema.Class<RetryRefused, Schema.TaggedStruct<
|
|
|
1946
1885
|
readonly message: Schema.String;
|
|
1947
1886
|
}>, import("effect/Cause").YieldableError>;
|
|
1948
1887
|
/**
|
|
1949
|
-
* Typed refusal of `retry` (plan §3):
|
|
1888
|
+
* Typed refusal of `retry` (plan §3): Submissions waiting on `AwaitUnknownResolution` or
|
|
1950
1889
|
* `AwaitApprovalDecision` have their own authorized operations, and settled work is never
|
|
1951
1890
|
* re-driven. The refusal names the classifier decision so the operator sees WHY.
|
|
1952
1891
|
*/
|
|
@@ -2006,7 +1945,7 @@ interface JournalMetadata {
|
|
|
2006
1945
|
}>;
|
|
2007
1946
|
}
|
|
2008
1947
|
declare namespace RunJournal_d_exports {
|
|
2009
|
-
export { JournalBoundary, RunJournalError, RunJournalProjection, RunJournalUsage, TurnCommitInput, approvalDecisionBatchId, childIdempotencyKeyFor, childThreadIdFor, compactionBatchId, compactionRecordId, markUnknownBatchId, modelResponseInterruptedBatchId, modelResponseInterruptedRecordId, modelResponseRecordId, projectRunJournal, projectRunJournalStream, promptFromCanonicalRecords, runCompletedRecordId, runDurationBatchId, runDurationRecordId, runIdForSubmission, runStartedBatchId, runStartedRecordId, subagentJoinBatchId, subagentJoinedRecordId, subagentLineageBatchId, subagentLineageRecordId, subagentRequestedBatchId, subagentRequestedRecordId, subagentStartedBatchId, subagentStartedRecordId, toolApprovalDecisionRecordId, toolApprovalRequestRecordId, toolCallPreparedRecordId, toolCallResolutionBatchId, toolCallResolvedRecordId, toolCallResultBatchId, toolCallSettledRecordId, toolCallUnknownRecordId, toolStepSettledBatchId, toolStepSettledRecordId, turnApprovalsBatchId, turnBatchId, turnCanonicalBatch, turnIdForRun, turnPreparedBatchId, turnResponseBatch, turnResponseBatchId, turnResultsBatch, turnResultsBatchId };
|
|
1948
|
+
export { JournalBoundary, RunJournalError, RunJournalProjection, RunJournalUsage, TurnCommitInput, approvalDecisionBatchId, childIdempotencyKeyFor, childThreadIdFor, compactionBatchId, compactionRecordId, markUnknownBatchId, modelResponseInterruptedBatchId, modelResponseInterruptedRecordId, modelResponseRecordId, projectRunJournal, projectRunJournalStream, promptFromCanonicalRecords, runCompletedRecordId, runCompletionDigest, runDurationBatchId, runDurationRecordId, runIdForSubmission, runStartedBatchId, runStartedRecordId, subagentJoinBatchId, subagentJoinedRecordId, subagentLineageBatchId, subagentLineageRecordId, subagentRequestedBatchId, subagentRequestedRecordId, subagentStartedBatchId, subagentStartedRecordId, toolApprovalDecisionRecordId, toolApprovalRequestRecordId, toolCallPreparedRecordId, toolCallResolutionBatchId, toolCallResolvedRecordId, toolCallResultBatchId, toolCallSettledRecordId, toolCallUnknownRecordId, toolStepSettledBatchId, toolStepSettledRecordId, turnApprovalsBatchId, turnBatchId, turnCanonicalBatch, turnIdForRun, turnPreparedBatchId, turnResponseBatch, turnResponseBatchId, turnResultsBatch, turnResultsBatchId };
|
|
2010
1949
|
}
|
|
2011
1950
|
declare const RunJournalError_base: Schema.Class<RunJournalError, Schema.TaggedStruct<"RunJournalError", {
|
|
2012
1951
|
readonly message: Schema.String;
|
|
@@ -2183,7 +2122,7 @@ interface RunJournalProjection {
|
|
|
2183
2122
|
readonly policyUsage: RunPolicyUsage;
|
|
2184
2123
|
/** Canonical projection for the requested Run; may end at its resumable Tool declaration. */
|
|
2185
2124
|
readonly prompt: Prompt.Prompt;
|
|
2186
|
-
/**
|
|
2125
|
+
/** Prior-Run history with model-only unknown results closing incomplete application calls. */
|
|
2187
2126
|
readonly historyBefore: Prompt.Prompt;
|
|
2188
2127
|
/** Number of canonical Turns already committed for the projected Run. */
|
|
2189
2128
|
readonly committedTurns: number;
|
|
@@ -2198,9 +2137,8 @@ interface RunJournalProjection {
|
|
|
2198
2137
|
}
|
|
2199
2138
|
/**
|
|
2200
2139
|
* Pure projection: rebuild one Run's resume state from canonical records (DUR-015). Canonical
|
|
2201
|
-
* order is authoritative; the fold projects each
|
|
2202
|
-
* owning Run's resumable incomplete Tool Turn
|
|
2203
|
-
* Runs. It flushes each contiguous group of valid `ToolCallSettled` records into one Tool message,
|
|
2140
|
+
* order is authoritative; the fold projects each `ModelResponseRecorded` Turn and the
|
|
2141
|
+
* owning Run's resumable incomplete Tool Turn. It flushes each contiguous group of valid `ToolCallSettled` records into one Tool message,
|
|
2204
2142
|
* exactly mirroring the per-Turn commit shape produced by `turnCanonicalBatch` (no-tool Turns) and
|
|
2205
2143
|
* by the
|
|
2206
2144
|
* `turnResponseBatch`/`turnResultsBatch` split (tool-declaring Turns). The Phase 5 audit tags
|
|
@@ -2209,8 +2147,10 @@ interface RunJournalProjection {
|
|
|
2209
2147
|
*
|
|
2210
2148
|
* An incomplete application Tool turn remains visible while projecting its owning Run so active
|
|
2211
2149
|
* recovery can resume the declared batch. It is not a valid model-visible Turn boundary for a
|
|
2212
|
-
* later Run
|
|
2213
|
-
* are
|
|
2150
|
+
* later Run until model-only unknown results close its missing calls. Those explanatory results
|
|
2151
|
+
* are never canonical settlements or evidence for compaction, recovery or accounting. Real
|
|
2152
|
+
* results replace them at the original declaration, including results appended after another Run.
|
|
2153
|
+
* Prior user intent and assistant text remain visible; prior system instructions do not.
|
|
2214
2154
|
*/
|
|
2215
2155
|
/** @internal Lightweight canonical boundaries collected without retaining record payloads. */
|
|
2216
2156
|
interface JournalBoundary {
|
|
@@ -2242,6 +2182,7 @@ declare const projectRunJournal: (records: readonly CanonicalRecordEnvelope[], r
|
|
|
2242
2182
|
*/
|
|
2243
2183
|
declare const promptFromCanonicalRecords: (records: readonly CanonicalRecordEnvelope[]) => Effect.Effect<Prompt.Prompt, RunJournalError, never>;
|
|
2244
2184
|
interface TurnCommitInput {
|
|
2185
|
+
readonly toolOperations?: ModelResponseRecorded["toolOperations"] | undefined;
|
|
2245
2186
|
readonly toolParameterRejections?: ReadonlyArray<ToolParameterRejection> | undefined;
|
|
2246
2187
|
readonly toolExposure?: Snapshot | undefined;
|
|
2247
2188
|
readonly toolSelections?: ReadonlyMap<string, Selection> | undefined;
|
|
@@ -2278,6 +2219,8 @@ interface TurnCommitInput {
|
|
|
2278
2219
|
readonly modelUsage?: ReadonlyArray<ModelCallUsage> | undefined;
|
|
2279
2220
|
} | undefined;
|
|
2280
2221
|
}
|
|
2222
|
+
/** Integrity of the original validated terminal values; never a current-code projection. */
|
|
2223
|
+
declare const runCompletionDigest: (completion: Pick<RunCompleted, "runId" | "output" | "runDisposition" | "finishReason" | "exhausted">) => Effect.Effect<string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">, DigestError, Crypto.Crypto>;
|
|
2281
2224
|
/**
|
|
2282
2225
|
* Pure per-Turn canonical batch builder (TurnCompleted seam fold, D6/D8): one
|
|
2283
2226
|
* `ModelResponseRecorded` record plus one `ToolCallSettled` record per terminal Tool result, all
|
|
@@ -2307,7 +2250,7 @@ declare const turnResponseBatch: (input: TurnCommitInput) => Effect.Effect<Canon
|
|
|
2307
2250
|
* model-visible atomically. Non-tool messages in `appended` are ignored; a Turn without any
|
|
2308
2251
|
* terminal Tool result has no results batch and fails typed.
|
|
2309
2252
|
*/
|
|
2310
|
-
declare const turnResultsBatch: (input: TurnCommitInput) => Effect.Effect<CanonicalBatch, RunJournalError,
|
|
2253
|
+
declare const turnResultsBatch: (input: TurnCommitInput) => Effect.Effect<CanonicalBatch, DigestError | RunJournalError, Crypto.Crypto>;
|
|
2311
2254
|
declare namespace SubmissionStatus_d_exports {
|
|
2312
2255
|
export { PendingSubmission, SettledSubmission, SubmissionStatus };
|
|
2313
2256
|
}
|
|
@@ -2521,7 +2464,7 @@ declare const RecoveryReport_base: Schema.Class<RecoveryReport, Schema.Struct<{
|
|
|
2521
2464
|
readonly decision: Schema.Union<readonly [typeof CompleteMaterialization, typeof RepairReadiness, typeof ApplyInput, typeof RepairInputMarker, typeof ResumeFromTurnBoundary, typeof AppendReservedSettlement, typeof FinalizeLedgerFromHistory, typeof SettleAborted, typeof MarkUnknown, typeof ResumePendingToolBatch, typeof AwaitApprovalDecision, typeof ResumeSuspended, typeof AwaitUnknownResolution, typeof ApplyUnknownResolutions, typeof RevertJoining, typeof RepairJoinMarker, typeof SettleJoinedWithHost, typeof AwaitHostSettlement, typeof CompleteChildAdmission, typeof AwaitChildAdmissionResolution, typeof RepairSubagentStartLink, typeof EnsureWaitingForChild, typeof AwaitChildSettlement, typeof ResumeWaitingParent, typeof ApplyJoinAccounting, typeof PropagateChildAbort, typeof ReleaseOrphanChildReservation, typeof AwaitParentEstablishment, typeof NoAction]>;
|
|
2522
2465
|
/**
|
|
2523
2466
|
* `repaired` = executed; `deferred` = a claiming worker must finish it; `none` = settled;
|
|
2524
|
-
* `unknown` =
|
|
2467
|
+
* `unknown` = this Submission is parked on an Unknown Outcome awaiting the authorized
|
|
2525
2468
|
* DUR-017 resolution path — the settlement obligation stays visible while no worker permit
|
|
2526
2469
|
* is consumed (durability §16).
|
|
2527
2470
|
*/
|
|
@@ -2611,6 +2554,10 @@ declare const DurableApprovalResolver: Context.Reference<RunApprovalHook<never,
|
|
|
2611
2554
|
*/
|
|
2612
2555
|
type DurableWorkerRequirements<AgentValue extends Any, InstructionRequirements = never> = Exclude<AgentRuntimeRequirements<AgentValue, never, InstructionRequirements>, ThreadHistory | RunContextPreparation> | AgentCompletionProjectionRequirements<AgentValue>;
|
|
2613
2556
|
interface DurableRuntimeConfigOptions {
|
|
2557
|
+
/**
|
|
2558
|
+
* Deployment identity and the conservative operation version for direct execution without
|
|
2559
|
+
* a registered binding. Reuse asserts unchanged handler, Step, and idempotency semantics.
|
|
2560
|
+
*/
|
|
2614
2561
|
readonly deploymentId: DeploymentId;
|
|
2615
2562
|
readonly producerId: ProducerId;
|
|
2616
2563
|
/** `awaitSettlement` ledger re-check cadence when no wake arrives (default 500ms). */
|
|
@@ -2691,8 +2638,8 @@ declare const DurableAgentRuntime_base: Context.ServiceClass<DurableAgentRuntime
|
|
|
2691
2638
|
readonly verify: (threadId: ThreadId) => Effect.Effect<IntegrityReport, DurableVerifyFailure>;
|
|
2692
2639
|
/**
|
|
2693
2640
|
* Safe re-drive of one Submission's recovery decision with mandatory author/reason audit
|
|
2694
|
-
* (SEC-011): executes exactly the repair the classifier names
|
|
2695
|
-
*
|
|
2641
|
+
* (SEC-011): executes exactly the repair the classifier names; owned repair attempts
|
|
2642
|
+
* append a best-effort `RepairAnnotated` with their actual claim epoch (DUR-013). Typed `RetryRefused`
|
|
2696
2643
|
* for settled work and for lanes owned by the resolveUnknown/resolveApproval paths.
|
|
2697
2644
|
*/
|
|
2698
2645
|
readonly retry: (command: RetryCommand) => Effect.Effect<RecoveryReport, DurableRetryFailure>;
|
|
@@ -2760,19 +2707,16 @@ declare const DurableAgentRuntime_base: Context.ServiceClass<DurableAgentRuntime
|
|
|
2760
2707
|
* the next model request, reattaches through the prompt-coverage rule after a crash, and the
|
|
2761
2708
|
* joined Submissions settle with the host outcome (DUR-002/DUR-016).
|
|
2762
2709
|
* - `runWorker(agent)` — scan-seeded, wake-driven worker loop over every lane (WP4's host driver),
|
|
2763
|
-
*
|
|
2764
|
-
*
|
|
2765
|
-
* parent-linked head refused this way settles with the framework `ChildCompatibilityFailure`.
|
|
2710
|
+
* over a singleton current Binding: a claimed head belonging to a different Agent never
|
|
2711
|
+
* runs against this binding. Missing bindings leave accepted roots and children owed.
|
|
2766
2712
|
* - `processThreadResolved(threadId)` / `runResolvedWorker` — the
|
|
2767
|
-
*
|
|
2768
|
-
*
|
|
2769
|
-
*
|
|
2770
|
-
* `ChildCompatibilityFailure` (no application code, the child never executes), and an
|
|
2771
|
-
* unresolvable root surfaces the typed refusal after releasing the claim.
|
|
2713
|
+
* equivalents over registrations owned by the runtime Layer: each stable `agentId` selects
|
|
2714
|
+
* one current Binding. Unfinished operation contracts gate handler execution independently
|
|
2715
|
+
* of immutable admission evidence; missing bindings release the claim with a typed refusal.
|
|
2772
2716
|
* - `runRecovery()` — classify every nonterminal Submission with the pure `classifyRecovery` and
|
|
2773
|
-
* execute
|
|
2717
|
+
* execute repair decisions, annotating owned repair attempts with their granted epochs
|
|
2774
2718
|
* (DUR-013). Untouched ready input and model-resuming work are reported `deferred` for a
|
|
2775
|
-
* worker claim;
|
|
2719
|
+
* worker claim; Submissions parked on
|
|
2776
2720
|
* Unknown Outcomes are reported `unknown`. The S2 binding-free Subagent executors (admission
|
|
2777
2721
|
* completion, start-link repair, waiting restoration, wake replay, canonical join accounting,
|
|
2778
2722
|
* abort propagation, orphan reservation release) run here; the settlement join itself is
|
|
@@ -2823,7 +2767,7 @@ declare class DurableAgentRuntime extends DurableAgentRuntime_base {
|
|
|
2823
2767
|
static readonly layer: Layer.Layer<DurableAgentRuntime, never, SubmissionLedger | ThreadStore | WakeScheduler | DurableRuntimeFailpoint | DurableRuntimeConfig | ToolReconciler | Crypto.Crypto>;
|
|
2824
2768
|
}
|
|
2825
2769
|
declare namespace Records_d_exports {
|
|
2826
|
-
export { AbortRequested, AbortedSubmissionSettled, AgentUpdateEmitted, ApprovalDecision, BatchId, CURRENT_CANONICAL_SCHEMA_VERSION, CanonicalBatch, CanonicalRecord, CanonicalRecordEnvelope, CanonicalRecordPayload, CanonicalSequence, CompactionCreated, CompletedSubmissionSettled, DefinitionDigestInput, DefinitionDigests, DeploymentId, Digest, FailedSubmissionSettled, MAX_PERSISTED_JSON_BYTES, MAX_PERSISTED_JSON_COLLECTION_LENGTH, MAX_PERSISTED_JSON_DEPTH, MAX_PERSISTED_JSON_NODES, ModelCompleted, ModelResponseInterrupted, ModelResponseRecorded, ObservationOffset, PeerMessagePrepared, PersistedJson, ProducerEpoch, ProducerId, RecordEnvelope, RecordId, RepairAnnotated, ReplayContract, RunCompleted, RunDurationExhausted, RunFailed, RunPolicyUsageReserved, RunStartedRecord, SettlementFailureDiagnostic, SettlementOutcome, SubagentJoined, SubagentLineageRecorded, SubagentRequested, SubagentStarted, SubmissionSettled, SubmissionSettledRecord, SubtreeBudgetReserved, ThreadCreated, ToolApprovalDecided, ToolApprovalRequested, ToolCallPrepared, ToolCallResolution, ToolCallResolved, ToolCallSettled, ToolCallUnknown, ToolStepSettled, UserInputRecorded, WorkerAdmission, WorkerInputCompleted, WorkerInputRequested, WorkerOrigin, WorkerOriginRecorded, WorkerReportPrepared, WorkerReportRefused, WorkerReportingIntent };
|
|
2770
|
+
export { AbortRequested, AbortedSubmissionSettled, AgentUpdateEmitted, ApprovalDecision, BatchId, CURRENT_CANONICAL_SCHEMA_VERSION, CanonicalBatch, CanonicalRecord, CanonicalRecordEnvelope, CanonicalRecordPayload, CanonicalSequence, CompactionCreated, CompletedSubmissionSettled, DefinitionDigestInput, DefinitionDigests, DeploymentId, Digest, FailedSubmissionSettled, MAX_PERSISTED_JSON_BYTES, MAX_PERSISTED_JSON_COLLECTION_LENGTH, MAX_PERSISTED_JSON_DEPTH, MAX_PERSISTED_JSON_NODES, ModelCompleted, ModelResponseInterrupted, ModelResponseRecorded, ObservationOffset, PeerMessagePrepared, PersistedJson, ProducerEpoch, ProducerId, RecordEnvelope, RecordId, RepairAnnotated, ReplayContract, RunCompleted, RunDurationExhausted, RunFailed, RunPolicyUsageReserved, RunStartedRecord, SettlementFailureDiagnostic, SettlementOutcome, SubagentJoined, SubagentLineageRecorded, SubagentRequested, SubagentStarted, SubmissionSettled, SubmissionSettledRecord, SubtreeBudgetReserved, ThreadCreated, ToolApprovalDecided, ToolApprovalRequested, ToolCallPrepared, ToolCallResolution, ToolCallResolved, ToolCallSettled, ToolCallUnknown, ToolOperation, ToolStepSettled, ToolUnavailable, UserInputRecorded, WorkerAdmission, WorkerInputCompleted, WorkerInputRequested, WorkerOrigin, WorkerOriginRecorded, WorkerReportPrepared, WorkerReportRefused, WorkerReportingIntent };
|
|
2827
2771
|
}
|
|
2828
2772
|
/** Stable identity of one canonical record. */
|
|
2829
2773
|
declare const RecordId: Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/RecordId">;
|
|
@@ -2884,11 +2828,11 @@ declare const DefinitionDigestInput_base: Schema.Class<DefinitionDigestInput, Sc
|
|
|
2884
2828
|
declare class DefinitionDigestInput extends DefinitionDigestInput_base {}
|
|
2885
2829
|
declare const ReplayContract_base: Schema.Class<ReplayContract, Schema.Struct<{
|
|
2886
2830
|
readonly agent: Schema.brand<Schema.String, "@effect-agent/thread/Digest">;
|
|
2887
|
-
/**
|
|
2831
|
+
/** Retained for reading earlier admissions; never selects executable code. */
|
|
2888
2832
|
readonly agentBehavior: Schema.optionalKey<Schema.brand<Schema.String, "@effect-agent/thread/Digest">>;
|
|
2889
2833
|
readonly tools: Schema.$Record<Schema.String, Schema.brand<Schema.String, "@effect-agent/thread/Digest">>;
|
|
2890
2834
|
}>, {}>;
|
|
2891
|
-
/**
|
|
2835
|
+
/** Admission-time operation fingerprints. Agent fingerprints remain immutable evidence only. */
|
|
2892
2836
|
declare class ReplayContract extends ReplayContract_base {}
|
|
2893
2837
|
declare const DefinitionDigests_base: Schema.Class<DefinitionDigests, Schema.Struct<{
|
|
2894
2838
|
readonly agent: Schema.brand<Schema.String, "@effect-agent/thread/Digest">;
|
|
@@ -2896,7 +2840,7 @@ declare const DefinitionDigests_base: Schema.Class<DefinitionDigests, Schema.Str
|
|
|
2896
2840
|
readonly tools: Schema.brand<Schema.String, "@effect-agent/thread/Digest">;
|
|
2897
2841
|
readonly replay: Schema.optionalKey<typeof ReplayContract>;
|
|
2898
2842
|
}>, {}>;
|
|
2899
|
-
/** Digests identify admission exactly;
|
|
2843
|
+
/** Digests identify admission exactly; only an unfinished operation needs replay compatibility. */
|
|
2900
2844
|
declare class DefinitionDigests extends DefinitionDigests_base {}
|
|
2901
2845
|
declare const ThreadCreated_base: Schema.Class<ThreadCreated, Schema.TaggedStruct<"ThreadCreated", {
|
|
2902
2846
|
readonly agentId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/AgentId">;
|
|
@@ -3010,8 +2954,25 @@ declare const ToolCallSettled_base: Schema.Class<ToolCallSettled, Schema.TaggedS
|
|
|
3010
2954
|
readonly budgetRejected: Schema.optionalKey<Schema.Literal<true>>;
|
|
3011
2955
|
}>, {}>;
|
|
3012
2956
|
declare class ToolCallSettled extends ToolCallSettled_base {}
|
|
2957
|
+
declare const ToolOperation_base: Schema.Class<ToolOperation, Schema.Struct<{
|
|
2958
|
+
readonly toolCallId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ToolCallId">;
|
|
2959
|
+
readonly toolName: Schema.NonEmptyString;
|
|
2960
|
+
readonly executionClass: Schema.Literals<readonly ["readonly", "idempotent", "uncertain"]>;
|
|
2961
|
+
readonly executionKind: Schema.Literals<readonly ["ordinary", "delegation", "orchestration"]>;
|
|
2962
|
+
readonly replay: Schema.brand<Schema.String, "@effect-agent/thread/Digest">;
|
|
2963
|
+
}>, {}>;
|
|
2964
|
+
/** Compact execution evidence committed with a declaration, before any handler can start. */
|
|
2965
|
+
declare class ToolOperation extends ToolOperation_base {}
|
|
2966
|
+
declare const ToolUnavailable_base: Schema.Class<ToolUnavailable, Schema.TaggedStruct<"ToolUnavailable", {
|
|
2967
|
+
readonly toolName: Schema.NonEmptyString;
|
|
2968
|
+
readonly execution: Schema.Literals<readonly ["not-executed", "unavailable"]>;
|
|
2969
|
+
readonly message: Schema.String;
|
|
2970
|
+
}>, {}>;
|
|
2971
|
+
/** A retired call's runtime result. Unavailable readonly work may already have been observed. */
|
|
2972
|
+
declare class ToolUnavailable extends ToolUnavailable_base {}
|
|
3013
2973
|
declare const ModelResponseRecorded_base: Schema.Class<ModelResponseRecorded, Schema.Struct<{
|
|
3014
2974
|
readonly _tag: Schema.tag<"ModelResponseRecorded">;
|
|
2975
|
+
readonly toolOperations: Schema.optionalKey<Schema.$Array<typeof ToolOperation>>;
|
|
3015
2976
|
readonly toolParameterRejections: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3016
2977
|
readonly toolCallId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ToolCallId">;
|
|
3017
2978
|
readonly parameters: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
@@ -3046,6 +3007,8 @@ declare const ToolCallPrepared_base: Schema.Class<ToolCallPrepared, Schema.Tagge
|
|
|
3046
3007
|
readonly parametersDigest: Schema.brand<Schema.String, "@effect-agent/thread/Digest">;
|
|
3047
3008
|
/** Absent legacy evidence grants no delegation replay authority. */
|
|
3048
3009
|
readonly executionKind: Schema.optionalKey<Schema.Literals<readonly ["ordinary", "delegation", "orchestration"]>>;
|
|
3010
|
+
readonly executionClass: Schema.optionalKey<Schema.Literals<readonly ["readonly", "idempotent", "uncertain"]>>;
|
|
3011
|
+
readonly replay: Schema.optionalKey<Schema.brand<Schema.String, "@effect-agent/thread/Digest">>;
|
|
3049
3012
|
}>, {}>;
|
|
3050
3013
|
/**
|
|
3051
3014
|
* One approved uncertain/idempotent ordinary Tool Call made durable BEFORE any handler starts
|
|
@@ -3181,6 +3144,7 @@ declare const RunCompleted_base: Schema.Class<RunCompleted, Schema.Struct<{
|
|
|
3181
3144
|
readonly _tag: Schema.tag<"RunCompleted">;
|
|
3182
3145
|
readonly runId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/RunId">;
|
|
3183
3146
|
readonly output: Schema.declare<Schema.Json, Schema.Json>;
|
|
3147
|
+
readonly resultDigest: Schema.optionalKey<Schema.brand<Schema.String, "@effect-agent/thread/Digest">>;
|
|
3184
3148
|
readonly runDisposition: Schema.optionalKey<Schema.declare<Schema.Json, Schema.Json>>;
|
|
3185
3149
|
readonly finishReason: Schema.optionalKey<Schema.Literal<"budget-exhausted">>;
|
|
3186
3150
|
readonly exhausted: Schema.optionalKey<Schema.Literals<readonly ["tokens", "tool-calls", "turns"]>>;
|
|
@@ -3670,5 +3634,5 @@ declare const CanonicalRecordEnvelope_base: Schema.Class<CanonicalRecordEnvelope
|
|
|
3670
3634
|
declare class CanonicalRecordEnvelope extends CanonicalRecordEnvelope_base {}
|
|
3671
3635
|
declare const CURRENT_CANONICAL_SCHEMA_VERSION: 1;
|
|
3672
3636
|
//#endregion
|
|
3673
|
-
export { ToolCallPrepared as $,
|
|
3674
|
-
//# sourceMappingURL=Records-
|
|
3637
|
+
export { ToolCallPrepared as $, SubmissionLookupById as $a, ApprovalConflict as $i, toolCallResolvedRecordId as $n, digestDefinition as $r, ThreadExport as $t, ProducerId as A, ParentLinkage as Aa, RepairReadiness as Ai, modelResponseRecordId as An, RetryCommand as Ar, DurableSubmitAgent as At, RunStartedRecord as B, ResolutionNeverHappened as Ba, AbortCommand as Bi, runStartedRecordId as Bn, BindingUnavailable as Br, threadCreatedBatchId as Bt, ModelCompleted as C, MarkJoinedRequest as Ca, PropagateChildAbort as Ci, childIdempotencyKeyFor as Cn, ObligationEntry as Cr, DurableObligationFailure as Ct, PeerMessagePrepared as D, OwnershipRenewal as Da, ReleaseOrphanChildReservation as Di, markUnknownBatchId as Dn, RECOVERY_DECISION_MEANINGS as Dr, DurableRetryFailure as Dt, ObservationOffset as E, OwnershipLost as Ea, Recovery_d_exports as Ei, compactionRecordId as En, ObligationThresholds as Er, DurableResolveFailure as Et, ReplayContract as F, RenewOwnershipRequest as Fa, ResumeWaitingParent as Fi, runCompletionDigest as Fn, recoveryDecisionMeaning as Fr, DurableWorkerRequirements as Ft, SubagentRequested as G, SettlementFinalization as Ga, AdmissionFence as Gi, subagentRequestedBatchId as Gn, ResolvedBinding as Gr, FenceRejected as Gt, SettlementOutcome as H, RevertJoiningRequest as Ha, AbortIntentRequest as Hi, subagentJoinedRecordId as Hn, DurableWorkerBinding as Hr, AppendConflict as Ht, RunCompleted as I, ReservedChildBudget as Ia, RevertJoining as Ii, runDurationBatchId as In, renderRecoveryExplanation as Ir, RecoveryReport as It, SubmissionSettledRecord as J, SubmissionAdmissionFence as Ja, AdmissionNotAdmitted as Ji, subagentStartedRecordId as Jn, definitionDigestsEqual as Jr, MAX_THREAD_EXPORT_RECORDS as Jt, SubagentStarted as K, SettlementReservation as Ka, AdmissionGroup as Ki, subagentRequestedRecordId as Kn, compileBindingContracts as Kr, FencedAppendRequest as Kt, RunDurationExhausted as L, ReservedSettlement as La, SettleAborted as Li, runDurationRecordId as Ln, AgentRegistration_d_exports as Lr, childReservationIdFor as Lt, RecordId as M, RecoverySnapshotRequest as Ma, ResumeFromTurnBoundary as Mi, projectRunJournalStream as Mn, RetryRefused as Mr, DurableSubmitOptions as Mt, Records_d_exports as N, ReleaseChildBudgetRequest as Na, ResumePendingToolBatch as Ni, promptFromCanonicalRecords as Nn, obligationSeverityOf as Nr, DurableVerifyFailure as Nt, PersistedJson as O, OwnershipSnapshot as Oa, RepairInputMarker as Oi, modelResponseInterruptedBatchId as On, RecoveryDisposition as Or, DurableRuntimeConfig as Ot, RepairAnnotated as P, ReleaseOwnershipRequest as Pa, ResumeSuspended as Pi, runCompletedRecordId as Pn, predictRecoveryDisposition as Pr, DurableWorkerFailure as Pt, ToolApprovalRequested as Q, SubmissionLookup as Qa, AdmissionResult as Qi, toolCallResolutionBatchId as Qn, digestCanonicalBatch as Qr, ThreadCheckpoints as Qt, RunFailed as R, ResolutionAbortSubmission as Ra, SettleJoinedWithHost as Ri, runIdForSubmission as Rn, AgentAttemptContext as Rr, recoveryRepairBatchId as Rt, MAX_PERSISTED_JSON_NODES as S, MarkInputAppliedRequest as Sa, PendingApprovalEvidence as Si, approvalDecisionBatchId as Sn, ObligationBlockedOn as Sr, DurableExplainFailure as St, ModelResponseRecorded as T, MarkUnknownRequest as Ta, RecoveryEvidence as Ti, compactionBatchId as Tn, ObligationSeverity as Tr, DurableProgressFailure as Tt, SubagentJoined as U, Settlement as Ua, AdmissionAdmitted as Ui, subagentLineageBatchId as Un, ExecutableAgentBinding as Ur, AppendResult as Ut, SettlementFailureDiagnostic as V, ResolutionSafeToRetry as Va, AbortIntent as Vi, subagentJoinBatchId as Vn, DurableBindingFailure as Vr, threadCreatedRecordId as Vt, SubagentLineageRecorded as W, SettlementConflict as Wa, AdmissionConflict as Wi, subagentLineageRecordId as Wn, ReplayVersions as Wr, CheckpointRejected as Wt, ThreadCreated as X, SubmissionLedgerFailure as Xa, AdmissionRequest as Xi, toolApprovalRequestRecordId as Xn, Digest_d_exports as Xr, SaveRecoveryCheckpointRequest as Xt, SubtreeBudgetReserved as Y, SubmissionLedger as Ya, AdmissionPolicyError as Yi, toolApprovalDecisionRecordId as Yn, DigestError as Yr, SaveCheckpointRequest as Yt, ToolApprovalDecided as Z, SubmissionLedger_d_exports as Za, AdmissionResolution as Zi, toolCallPreparedRecordId as Zn, EMPTY_TAIL_DIGEST as Zr, ThreadCheckpoint as Zt, Digest as _, InputAppliedMarker as _a, FinalizeLedgerFromHistory as _i, RunJournalError as _n, submissionInputRecordId as _o, ExplainedUnknownCall as _r, DurableAgentRuntime as _t, BatchId as a, ChildAttachmentSnapshot as aa, ApplyUnknownResolutions as ai, ThreadRecoveryCheckpoints as an, SuspensionReason as ao, turnApprovalsBatchId as ar, ToolStepSettled as at, MAX_PERSISTED_JSON_COLLECTION_LENGTH as b, LedgerCapabilities as ba, OpenDelegationCallEvidence as bi, RunJournal_d_exports as bn, submissionSettlementRecordId as bo, IntegrityCheckStatus as br, DurableApprovalResolver as bt, CanonicalRecord as c, ChildReservationConflict as ca, AwaitChildSettlement as ci, ThreadStoreFailure as cn, UnknownResolutionCommand as co, turnIdForRun as cr, WorkerAdmission as ct, CanonicalSequence as d, ChildSettledNotification as da, AwaitUnknownResolution as di, ThreadTailRequest as dn, WaitingChild as do, turnResponseBatchId as dr, WorkerOrigin as dt, ApprovalDecisionCommand as ea, digestDefinitions as ei, ThreadExportRequest as en, SubmissionLookupByKey as eo, toolCallResultBatchId as er, ToolCallResolution as et, CompactionCreated as f, ChildSettledOutcome as fa, CompleteChildAdmission as fi, PendingSubmission as fn, WaitingForChildSuspension as fo, turnResultsBatch as fr, WorkerOriginRecorded as ft, DeploymentId as g, DEFAULT_OWNERSHIP_LEASE_DURATION as ga, EnsureWaitingForChild as gi, JournalBoundary as gn, submissionInputBatchId as go, ExplainedSubmission as gr, DurableAbortFailure as gt, DefinitionDigests as h, ClaimRequest as ha, DelegationAdmissionEvidence as hi, SubmissionStatus_d_exports as hn, submissionAbortRecordId as ho, ExplainedEvidence as hr, WorkerReportingIntent as ht, ApprovalDecision as i, BeginChildBudgetReleaseRequest as ia, ApplyJoinAccounting as ii, ThreadRead as in, SuspensionOutcome as io, toolStepSettledRecordId as ir, ToolOperation as it, RecordEnvelope as j, RecoverySnapshot as ja, RepairSubagentStartLink as ji, projectRunJournal as jn, RetryRefusalReason as jr, DurableSubmitFailure as jt, ProducerEpoch as k, OwnershipToken as ka, RepairJoinMarker as ki, modelResponseInterruptedRecordId as kn, RecoveryExplanation as kr, DurableRuntimeConfigOptions as kt, CanonicalRecordEnvelope as l, ChildReservationId as la, AwaitHostSettlement as li, ThreadStore_d_exports as ln, UnknownResolutionConflict as lo, turnPreparedBatchId as lr, WorkerInputCompleted as lt, DefinitionDigestInput as m, ClaimJoiningRequest as ma, DeclaredPendingBatchEvidence as mi, SubmissionStatus as mn, submissionAbortBatchId as mo, Admin_d_exports as mr, WorkerReportRefused as mt, AbortedSubmissionSettled as n, ApprovalPendingSuspension as na, AppendReservedSettlement as ni, ThreadNotMaterialized as nn, SubmissionState as no, toolCallUnknownRecordId as nr, ToolCallSettled as nt, CURRENT_CANONICAL_SCHEMA_VERSION as o, ChildBudgetReservationRequest as oa, AwaitApprovalDecision as oi, ThreadStore as on, SuspensionSnapshot as oo, turnBatchId as or, ToolUnavailable as ot, CompletedSubmissionSettled as p, Claim as pa, CompleteMaterialization as pi, SettledSubmission as pn, settlementFailureFromRecord as po, turnResultsBatchId as pr, WorkerReportPrepared as pt, SubmissionSettled as q, SettlementReservationSnapshot as qa, AdmissionIndeterminate as qi, subagentStartedBatchId as qn, compileRegistrations as qr, LoadCheckpointRequest as qt, AgentUpdateEmitted as r, AttachChildToReservationRequest as ra, ApplyInput as ri, ThreadObservation as rn, SuspendRequest as ro, toolStepSettledBatchId as rr, ToolCallUnknown as rt, CanonicalBatch as s, ChildBudgetReservationSnapshot as sa, AwaitChildAdmissionResolution as si, ThreadStoreError as sn, UnknownResolution as so, turnCanonicalBatch as sr, UserInputRecorded as st, AbortRequested as t, ApprovalDecisionIntent as ta, digestJson as ti, ThreadMaterialization as tn, SubmissionSnapshot as to, toolCallSettledRecordId as tr, ToolCallResolved as tt, CanonicalRecordPayload as u, ChildReservationStatus as ua, AwaitParentEstablishment as ui, ThreadTail as un, UnknownResolutionIntent as uo, turnResponseBatch as ur, WorkerInputRequested as ut, FailedSubmissionSettled as v, JoinSnapshot as va, MarkUnknown as vi, RunJournalProjection as vn, submissionSettlementBatchId as vo, IntegrityCheck as vr, DurableAgentRuntime_d_exports as vt, ModelResponseInterrupted as w, MarkReadyRequest as wa, RecoveryDecision as wi, childThreadIdFor as wn, ObligationReport as wr, DurableObserveOptions as wt, MAX_PERSISTED_JSON_DEPTH as x, LedgerError as xa, OpenToolCallEvidence as xi, TurnCommitInput as xn, IntegrityReport as xr, DurableAwaitFailure as xt, MAX_PERSISTED_JSON_BYTES as y, JoiningClaim as ya, NoAction as yi, RunJournalUsage as yn, submissionSettlementId as yo, IntegrityCheckName as yr, DurableApprovalFailure as yt, RunPolicyUsageReserved as z, ResolutionCompletedWithResult as za, classifyRecovery as zi, runStartedBatchId as zn, AgentRegistration as zr, recoveryRepairRecordId as zt };
|
|
3638
|
+
//# sourceMappingURL=Records-BIiRLqlz.d.mts.map
|