@effect-agent/platform-cloudflare 0.1.0-beta.13 → 0.1.0-beta.15
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 +107 -104
- package/dist/index.mjs +208 -90
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
- package/src/alarm.ts +330 -113
- package/src/conversation-object.ts +34 -35
- package/src/index.ts +3 -2
- package/src/layers.ts +21 -5
package/dist/index.d.mts
CHANGED
|
@@ -195,11 +195,10 @@ declare const DurableAlarmError_base: Schema.Class<DurableAlarmError, Schema.Tag
|
|
|
195
195
|
* and abort re-checks, retry backoff) multiplexes into one idempotent maintenance pass, and
|
|
196
196
|
* the slot always holds the EARLIEST deadline any caller asked for.
|
|
197
197
|
*
|
|
198
|
-
* The alarm invariant (plan §1.4): committed
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
* alarms are harmless by design: a pass over an all-settled lane simply deletes the slot.
|
|
198
|
+
* The alarm invariant (plan §1.4): every committed actionable mutation carries a newer durable
|
|
199
|
+
* maintenance generation and a committed alarm. Stable externally-driven waits may be
|
|
200
|
+
* nonterminal without retaining an alarm; their resolving mutation advances the generation and
|
|
201
|
+
* restores the alarm atomically.
|
|
203
202
|
*/
|
|
204
203
|
/** The Durable Object alarm API failed; surfaces on host entry points as a typed refusal. */
|
|
205
204
|
declare class DurableAlarmError extends DurableAlarmError_base {}
|
|
@@ -220,17 +219,16 @@ declare const DurableAlarmService_base: Context.ServiceClass<DurableAlarmService
|
|
|
220
219
|
* caused, and routing open uncertain-class Tool Calls into spurious Unknown Outcomes.
|
|
221
220
|
* Deferral is contract-safe: wakes are droppable hints, every mutating entry point
|
|
222
221
|
* pre-arms BEFORE its first durable mutation (the alarm invariant never rests on this
|
|
223
|
-
* call)
|
|
222
|
+
* call). The pass's durable generation check observes any racing mutation, so the
|
|
223
|
+
* in-memory hint does not need to be flushed after a stable wait is acknowledged.
|
|
224
224
|
*/
|
|
225
225
|
readonly scheduleNow: Effect.Effect<void, DurableAlarmError>;
|
|
226
226
|
/**
|
|
227
|
-
* Run one maintenance pass with wake deferral (see `scheduleNow`)
|
|
228
|
-
*
|
|
229
|
-
* pass — failures of the flush are logged and swallowed (hints are droppable; the pass's
|
|
230
|
-
* own re-arm policy already bounded the next delivery).
|
|
227
|
+
* Run one maintenance pass with wake deferral (see `scheduleNow`). Calls made while `body`
|
|
228
|
+
* executes are droppable promptness hints; correctness rests on the durable generation.
|
|
231
229
|
*/
|
|
232
230
|
readonly withWakesDeferred: <A, E, R>(body: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
233
|
-
/** Clear the slot;
|
|
231
|
+
/** Clear the slot; correctness-sensitive clears live in maintenance generation transactions. */
|
|
234
232
|
readonly cancel: Effect.Effect<void, DurableAlarmError>;
|
|
235
233
|
}>;
|
|
236
234
|
/** `ctx.storage` alarm slot as an Effect service; storage is truth, never a memory field. */
|
|
@@ -238,57 +236,60 @@ declare class DurableAlarmService extends DurableAlarmService_base {
|
|
|
238
236
|
static readonly layer: Layer.Layer<DurableAlarmService, never, DurableObjectContext>;
|
|
239
237
|
}
|
|
240
238
|
declare const MaintenancePassReport_base: Schema.Class<MaintenancePassReport, Schema.Struct<{
|
|
239
|
+
/** `caught-up` is generation-only; `actionable` ran recovery and one bounded drain. */
|
|
240
|
+
readonly phase: Schema.Literals<readonly ["caught-up", "actionable"]>;
|
|
241
241
|
/** Recovery decisions executed (or deferred) BEFORE any new claim in this pass. */
|
|
242
242
|
readonly recovered: Schema.Int;
|
|
243
243
|
/** Settlements the drain pass finalized. */
|
|
244
244
|
readonly settled: Schema.Int;
|
|
245
245
|
/** Submissions still nonterminal after the pass (suspended/unknown lanes stay honest). */
|
|
246
246
|
readonly nonterminal: Schema.Int;
|
|
247
|
-
/** `rearmed`
|
|
247
|
+
/** `rearmed` for dirty/autonomous work, `cleared` for stable waits or settlement. */
|
|
248
248
|
readonly alarm: Schema.Literals<readonly ["rearmed", "cleared"]>;
|
|
249
249
|
}>, {}>;
|
|
250
250
|
/** What one maintenance pass did — auditable evidence mirroring `NodeDurableHost`'s report. */
|
|
251
251
|
declare class MaintenancePassReport extends MaintenancePassReport_base {}
|
|
252
|
+
/** Fault boundaries around every maintenance-owned durable mutation. */
|
|
253
|
+
type ConversationMaintenanceFailpointLocation = "maintenance:dirty:before" | "maintenance:dirty:after" | "maintenance:mutation:armed" | "maintenance:mutation:finished" | "maintenance:ensure:before" | "maintenance:ensure:after" | "maintenance:begin:before" | "maintenance:begin:after" | "maintenance:finish:before" | "maintenance:finish:after";
|
|
254
|
+
type ConversationMaintenanceFailpointHandler = (location: ConversationMaintenanceFailpointLocation) => Effect.Effect<void>;
|
|
255
|
+
declare const ConversationMaintenanceFailpoint_base: Context.ServiceClass<ConversationMaintenanceFailpoint, "@effect-agent/platform-cloudflare/ConversationMaintenanceFailpoint", {
|
|
256
|
+
readonly hit: ConversationMaintenanceFailpointHandler;
|
|
257
|
+
}>;
|
|
258
|
+
/** Test-only fault authority; production uses the inert layer. */
|
|
259
|
+
declare class ConversationMaintenanceFailpoint extends ConversationMaintenanceFailpoint_base {
|
|
260
|
+
static readonly layer: Layer.Layer<ConversationMaintenanceFailpoint, never, never>;
|
|
261
|
+
}
|
|
252
262
|
type MaintenancePassFailure = DurableWorkerFailure | DurableBindingFailure | DurableAlarmError;
|
|
253
263
|
declare const ConversationMaintenance_base: Context.ServiceClass<ConversationMaintenance, "@effect-agent/platform-cloudflare/ConversationMaintenance", {
|
|
254
264
|
/** One idempotent maintenance pass; failures propagate so workerd retries the alarm. */
|
|
255
265
|
readonly pass: Effect.Effect<MaintenancePassReport, MaintenancePassFailure>;
|
|
256
266
|
/**
|
|
257
|
-
*
|
|
258
|
-
*
|
|
259
|
-
* Local-only (one ledger scan + the alarm slot) — never a recovery pass, never transport.
|
|
267
|
+
* Constructor gate: initialize/inspect only the O(1) maintenance record and ensure a dirty
|
|
268
|
+
* generation has an alarm. It never scans the ledger or canonical history.
|
|
260
269
|
*/
|
|
261
270
|
readonly ensureAlarm: Effect.Effect<void, MaintenancePassFailure>;
|
|
262
271
|
/**
|
|
263
|
-
*
|
|
264
|
-
* the alarm
|
|
265
|
-
*
|
|
272
|
+
* Serialize the pre-arm boundary with pass acknowledgement, advance the durable dirty
|
|
273
|
+
* generation and arm the alarm in one transaction BEFORE running the caller's mutation.
|
|
274
|
+
* A pass cannot acknowledge while that mutation remains in flight.
|
|
266
275
|
*/
|
|
267
|
-
readonly
|
|
276
|
+
readonly withMutation: <A, E, R>(body: Effect.Effect<A, E, R>) => Effect.Effect<A, E | DurableAlarmError, R>;
|
|
268
277
|
}>;
|
|
269
278
|
/**
|
|
270
|
-
*
|
|
271
|
-
*
|
|
272
|
-
* `pass` = pre-arm → `runRecovery` → `processConversationResolved` → re-arm-or-clear:
|
|
279
|
+
* Incremental, quiescent maintenance over a durable dirty/processed generation (issue #93).
|
|
273
280
|
*
|
|
274
|
-
*
|
|
275
|
-
* eviction (or thrown failure → workerd alarm retry) at any point of the pass leaves a
|
|
276
|
-
* committed alarm and the fresh incarnation converges without an incoming request.
|
|
277
|
-
* 2. **Reconcile before new work** (exit gate): every pass classifies and repairs every
|
|
278
|
-
* nonterminal Submission before the drain claims anything; the pure classifier and the
|
|
279
|
-
* repair executors are idempotent, so at-least-once alarm delivery re-runs them safely.
|
|
280
|
-
* 3. **Drain**: one bounded `processConversationResolved` pass over this Object's lane — the
|
|
281
|
-
* D-P6-1 shape; no infinite `runResolvedWorker` loop ever pins the Object.
|
|
282
|
-
* 4. **Re-arm policy**: nonterminal work re-arms at `now + min(backoff-with-jitter,
|
|
283
|
-
* wakeScanInterval)` — the scan interval bounds every wait (lease expiry of a dead
|
|
284
|
-
* incarnation included, since claims retry each pass) and the backoff (reset on progress,
|
|
285
|
-
* grown otherwise) keeps stuck lanes from busy-spinning; all settled clears the slot.
|
|
281
|
+
* `pass` = generation snapshot/pre-arm → recovery → bounded drain → generation acknowledgement:
|
|
286
282
|
*
|
|
287
|
-
*
|
|
288
|
-
*
|
|
283
|
+
* 1. One storage transaction reads dirty/processed and re-arms before work. A caught-up forced
|
|
284
|
+
* alarm takes an O(1) path without recovery, ledger scans, or canonical-history reads.
|
|
285
|
+
* 2. Recovery still strictly precedes a new claim, and one bounded drain advances the lane.
|
|
286
|
+
* 3. The final transaction acknowledges only the generation observed at pass start. A racing
|
|
287
|
+
* mutation therefore remains `dirty > processed` and retains its atomically-established alarm.
|
|
288
|
+
* 4. Stable external waits acknowledge and clear. Autonomous retry, indeterminate, and lease
|
|
289
|
+
* recovery states leave their generation dirty and retain bounded backoff rearming.
|
|
289
290
|
*/
|
|
290
291
|
declare class ConversationMaintenance extends ConversationMaintenance_base {
|
|
291
|
-
static readonly layer: Layer.Layer<ConversationMaintenance, never, DurableAgentRuntime | AgentBindingResolver | SubmissionLedger | DurableAlarmService | CloudflareDurableRuntimeConfig | ConversationObjectIdentity>;
|
|
292
|
+
static readonly layer: Layer.Layer<ConversationMaintenance, never, DurableAgentRuntime | AgentBindingResolver | SubmissionLedger | DurableAlarmService | ConversationMaintenanceFailpoint | CloudflareDurableRuntimeConfig | ConversationObjectIdentity | DurableObjectContext>;
|
|
292
293
|
}
|
|
293
294
|
//#endregion
|
|
294
295
|
//#region src/wake-scheduler.d.ts
|
|
@@ -367,6 +368,8 @@ interface CloudflareDurableRuntimeOptions {
|
|
|
367
368
|
readonly storageFailpoint?: ((ctx: DurableObjectState) => DoStorageFailpointHandler) | undefined;
|
|
368
369
|
/** Coordinator fault injection (`submit:*` / `terminalize:*` locations); default none. */
|
|
369
370
|
readonly runtimeFailpoint?: ((ctx: DurableObjectState) => DurableRuntimeFailpointHandler) | undefined;
|
|
371
|
+
/** Conversation-maintenance generation/alarm fault injection; default none. */
|
|
372
|
+
readonly maintenanceFailpoint?: ((ctx: DurableObjectState) => ConversationMaintenanceFailpointHandler) | undefined;
|
|
370
373
|
/**
|
|
371
374
|
* Reconciliation policy consulted for open ordinary Tool Calls before an Unknown Outcome
|
|
372
375
|
* is recorded (durability §10, DUR-009). Defaults to the fail-closed
|
|
@@ -629,14 +632,6 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
629
632
|
readonly submissionId: string;
|
|
630
633
|
readonly author: string;
|
|
631
634
|
readonly reason: string;
|
|
632
|
-
} | {
|
|
633
|
-
readonly _tag: "SubagentStarted";
|
|
634
|
-
readonly runId: string;
|
|
635
|
-
readonly toolCallId: string;
|
|
636
|
-
readonly childConversationId: string;
|
|
637
|
-
readonly childSubmissionId: string;
|
|
638
|
-
readonly childReceiptId: string;
|
|
639
|
-
readonly childRunId: string;
|
|
640
635
|
} | {
|
|
641
636
|
readonly _tag: "ConversationCreated";
|
|
642
637
|
readonly agentId: string;
|
|
@@ -740,6 +735,14 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
740
735
|
readonly childConversationId: string;
|
|
741
736
|
readonly childPrincipal: string;
|
|
742
737
|
readonly childIdempotencyKey: string;
|
|
738
|
+
} | {
|
|
739
|
+
readonly _tag: "SubagentStarted";
|
|
740
|
+
readonly runId: string;
|
|
741
|
+
readonly toolCallId: string;
|
|
742
|
+
readonly childConversationId: string;
|
|
743
|
+
readonly childSubmissionId: string;
|
|
744
|
+
readonly childReceiptId: string;
|
|
745
|
+
readonly childRunId: string;
|
|
743
746
|
} | {
|
|
744
747
|
readonly _tag: "SubagentJoined";
|
|
745
748
|
readonly runId: string;
|
|
@@ -821,18 +824,44 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
821
824
|
} | {
|
|
822
825
|
readonly _tag: "HostFailed";
|
|
823
826
|
readonly failure: {
|
|
824
|
-
readonly _tag: "
|
|
825
|
-
readonly
|
|
827
|
+
readonly _tag: "HostProtocolError";
|
|
828
|
+
readonly message: string;
|
|
829
|
+
} | {
|
|
830
|
+
readonly _tag: "AgentInputError";
|
|
826
831
|
readonly message: string;
|
|
827
|
-
readonly cause?: Schema.Json | undefined;
|
|
828
832
|
} | {
|
|
829
833
|
readonly _tag: "DigestError";
|
|
830
834
|
readonly message: string;
|
|
831
835
|
readonly cause?: Schema.Json | undefined;
|
|
836
|
+
} | {
|
|
837
|
+
readonly _tag: "AdmissionConflict";
|
|
838
|
+
readonly conversationId: string;
|
|
839
|
+
readonly principal: string;
|
|
840
|
+
readonly idempotencyKey: string;
|
|
841
|
+
readonly existingInputDigest: string;
|
|
842
|
+
readonly attemptedInputDigest: string;
|
|
832
843
|
} | {
|
|
833
844
|
readonly _tag: "SettlementConflict";
|
|
834
845
|
readonly submissionId: string;
|
|
835
846
|
readonly existingOutcome: "aborted" | "completed" | "failed";
|
|
847
|
+
} | {
|
|
848
|
+
readonly _tag: "ApprovalConflict";
|
|
849
|
+
readonly submissionId: string;
|
|
850
|
+
readonly toolCallId: string;
|
|
851
|
+
readonly existingDecision: "approved" | "denied";
|
|
852
|
+
} | {
|
|
853
|
+
readonly _tag: "UnknownResolutionConflict";
|
|
854
|
+
readonly submissionId: string;
|
|
855
|
+
readonly toolCallId: string;
|
|
856
|
+
} | {
|
|
857
|
+
readonly _tag: "JoinedToHost";
|
|
858
|
+
readonly submissionId: string;
|
|
859
|
+
readonly hostSubmissionId: string;
|
|
860
|
+
} | {
|
|
861
|
+
readonly _tag: "LedgerError";
|
|
862
|
+
readonly operation: string;
|
|
863
|
+
readonly message: string;
|
|
864
|
+
readonly cause?: Schema.Json | undefined;
|
|
836
865
|
} | {
|
|
837
866
|
readonly _tag: "ConversationStoreError";
|
|
838
867
|
readonly operation: string;
|
|
@@ -856,42 +885,16 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
856
885
|
} | {
|
|
857
886
|
readonly _tag: "DurableRuntimeFailpointError";
|
|
858
887
|
readonly location: "abort:after-intent" | "approval:after-request-append" | "approval:after-suspend" | "claim:after-claim" | "compaction:after-canonical-append" | "input:after-canonical-append" | "join:after-canonical-append" | "join:after-claim" | "resolve:after-intent" | "step:after-step-append" | "subagent:after-admit" | "subagent:after-child-abort-intent" | "subagent:after-child-ready" | "subagent:after-join-append" | "subagent:after-release" | "subagent:after-release-pending" | "subagent:after-request-append" | "subagent:after-reserve" | "subagent:after-sibling-settle" | "subagent:after-start-append" | "subagent:after-suspend" | "submit:after-admit" | "submit:after-materialize" | "terminalize:after-canonical-append" | "terminalize:after-reserve" | "tools:after-prepared-append" | "turn:after-canonical-append" | "turn:after-response-append" | "turn:after-results-append";
|
|
859
|
-
} | {
|
|
860
|
-
readonly _tag: "DurableAlarmError";
|
|
861
|
-
readonly operation: string;
|
|
862
|
-
readonly message: string;
|
|
863
|
-
readonly cause?: Schema.Json | undefined;
|
|
864
|
-
} | {
|
|
865
|
-
readonly _tag: "HostProtocolError";
|
|
866
|
-
readonly message: string;
|
|
867
|
-
} | {
|
|
868
|
-
readonly _tag: "AgentInputError";
|
|
869
|
-
readonly message: string;
|
|
870
|
-
} | {
|
|
871
|
-
readonly _tag: "AdmissionConflict";
|
|
872
|
-
readonly conversationId: string;
|
|
873
|
-
readonly principal: string;
|
|
874
|
-
readonly idempotencyKey: string;
|
|
875
|
-
readonly existingInputDigest: string;
|
|
876
|
-
readonly attemptedInputDigest: string;
|
|
877
|
-
} | {
|
|
878
|
-
readonly _tag: "ApprovalConflict";
|
|
879
|
-
readonly submissionId: string;
|
|
880
|
-
readonly toolCallId: string;
|
|
881
|
-
readonly existingDecision: "approved" | "denied";
|
|
882
|
-
} | {
|
|
883
|
-
readonly _tag: "UnknownResolutionConflict";
|
|
884
|
-
readonly submissionId: string;
|
|
885
|
-
readonly toolCallId: string;
|
|
886
|
-
} | {
|
|
887
|
-
readonly _tag: "JoinedToHost";
|
|
888
|
-
readonly submissionId: string;
|
|
889
|
-
readonly hostSubmissionId: string;
|
|
890
888
|
} | {
|
|
891
889
|
readonly _tag: "AdmissionLimitExceeded";
|
|
892
890
|
readonly limit: "database-bytes" | "input-bytes" | "queue-depth";
|
|
893
891
|
readonly actual: number;
|
|
894
892
|
readonly maximum: number;
|
|
893
|
+
} | {
|
|
894
|
+
readonly _tag: "DurableAlarmError";
|
|
895
|
+
readonly operation: string;
|
|
896
|
+
readonly message: string;
|
|
897
|
+
readonly cause?: Schema.Json | undefined;
|
|
895
898
|
};
|
|
896
899
|
}, Schema.SchemaError, never>;
|
|
897
900
|
declare const decodeHostResponse: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<AbortRecorded | ApprovalRecorded | HostFailed | ObservedPage | SettlementReached | SubmitSucceeded | UnknownResolutionRecorded, Schema.SchemaError, never>;
|
|
@@ -1408,38 +1411,21 @@ declare const encodeAdminResponse: (input: AdminFailed | ExplainedRecovery | Obl
|
|
|
1408
1411
|
} | {
|
|
1409
1412
|
readonly _tag: "AdminFailed";
|
|
1410
1413
|
readonly failure: {
|
|
1411
|
-
readonly _tag: "
|
|
1412
|
-
readonly operation: "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
|
|
1413
|
-
readonly reason: string;
|
|
1414
|
-
readonly conversationId?: string | undefined;
|
|
1415
|
-
readonly submissionId?: string | undefined;
|
|
1416
|
-
} | {
|
|
1417
|
-
readonly _tag: "RetryRefused";
|
|
1418
|
-
readonly submissionId: string;
|
|
1419
|
-
readonly refusal: "await-approval-decision" | "await-unknown-resolution" | "settled";
|
|
1420
|
-
readonly decisionTag: string;
|
|
1421
|
-
readonly message: string;
|
|
1422
|
-
} | {
|
|
1423
|
-
readonly _tag: "LedgerError";
|
|
1424
|
-
readonly operation: string;
|
|
1425
|
-
readonly message: string;
|
|
1426
|
-
readonly cause?: Schema.Json | undefined;
|
|
1427
|
-
} | {
|
|
1428
|
-
readonly _tag: "RunJournalError";
|
|
1414
|
+
readonly _tag: "HostProtocolError";
|
|
1429
1415
|
readonly message: string;
|
|
1430
|
-
readonly cause?: Schema.Json | undefined;
|
|
1431
1416
|
} | {
|
|
1432
1417
|
readonly _tag: "DigestError";
|
|
1433
1418
|
readonly message: string;
|
|
1434
1419
|
readonly cause?: Schema.Json | undefined;
|
|
1435
|
-
} | {
|
|
1436
|
-
readonly _tag: "OwnershipLost";
|
|
1437
|
-
readonly submissionId: string;
|
|
1438
|
-
readonly actualEpoch: number;
|
|
1439
1420
|
} | {
|
|
1440
1421
|
readonly _tag: "SettlementConflict";
|
|
1441
1422
|
readonly submissionId: string;
|
|
1442
1423
|
readonly existingOutcome: "aborted" | "completed" | "failed";
|
|
1424
|
+
} | {
|
|
1425
|
+
readonly _tag: "LedgerError";
|
|
1426
|
+
readonly operation: string;
|
|
1427
|
+
readonly message: string;
|
|
1428
|
+
readonly cause?: Schema.Json | undefined;
|
|
1443
1429
|
} | {
|
|
1444
1430
|
readonly _tag: "ConversationStoreError";
|
|
1445
1431
|
readonly operation: string;
|
|
@@ -1469,8 +1455,25 @@ declare const encodeAdminResponse: (input: AdminFailed | ExplainedRecovery | Obl
|
|
|
1469
1455
|
readonly message: string;
|
|
1470
1456
|
readonly cause?: Schema.Json | undefined;
|
|
1471
1457
|
} | {
|
|
1472
|
-
readonly _tag: "
|
|
1458
|
+
readonly _tag: "OperationDenied";
|
|
1459
|
+
readonly operation: "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
|
|
1460
|
+
readonly reason: string;
|
|
1461
|
+
readonly conversationId?: string | undefined;
|
|
1462
|
+
readonly submissionId?: string | undefined;
|
|
1463
|
+
} | {
|
|
1464
|
+
readonly _tag: "RetryRefused";
|
|
1465
|
+
readonly submissionId: string;
|
|
1466
|
+
readonly refusal: "await-approval-decision" | "await-unknown-resolution" | "settled";
|
|
1467
|
+
readonly decisionTag: string;
|
|
1473
1468
|
readonly message: string;
|
|
1469
|
+
} | {
|
|
1470
|
+
readonly _tag: "RunJournalError";
|
|
1471
|
+
readonly message: string;
|
|
1472
|
+
readonly cause?: Schema.Json | undefined;
|
|
1473
|
+
} | {
|
|
1474
|
+
readonly _tag: "OwnershipLost";
|
|
1475
|
+
readonly submissionId: string;
|
|
1476
|
+
readonly actualEpoch: number;
|
|
1474
1477
|
};
|
|
1475
1478
|
}, Schema.SchemaError, never>;
|
|
1476
1479
|
declare const decodeAdminResponse: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<AdminFailed | ExplainedRecovery | ObligationsScanned | RetryExecuted | VerifiedIntegrity, Schema.SchemaError, never>;
|
|
@@ -1546,5 +1549,5 @@ interface DynamicWorkerCodeExecutorOptions {
|
|
|
1546
1549
|
/** Layer building the Dynamic Worker `CodeExecutor` from resolved bindings. */
|
|
1547
1550
|
declare const dynamicWorkerCodeExecutorLayer: (options: DynamicWorkerCodeExecutorOptions) => Layer.Layer<CodeExecutor>;
|
|
1548
1551
|
//#endregion
|
|
1549
|
-
export { AbortRecorded, AdminExplainRequest, AdminFailed, AdminFailure, AdminResponse, AdminVerifyRequest, AdmissionLimitExceeded, ApprovalRecorded, CLOUDFLARE_DATABASE_CAP_BYTES, CLOUDFLARE_RUNTIME_DEFAULTS, ClientAbortFailure, ClientApprovalFailure, ClientAwaitFailure, ClientObserveFailure, ClientSubmitFailure, ClientUnknownFailure, CloudflareAdmissionLimitsValue, CloudflareBindingError, CloudflareBindingSource, CloudflareBindingSourceContext, CloudflareConversationClient, CloudflareDurableRuntime, CloudflareDurableRuntimeConfig, CloudflareDurableRuntimeConfigValue, CloudflareDurableRuntimeInitializationError, CloudflareDurableRuntimeOptions, CloudflareDurableRuntimeServices, CloudflarePlatformConfigError, CodeModeHostEntrypoint, CodeModeHostStub, ConversationClientError, ConversationMaintenance, ConversationObjectClass, ConversationObjectIdentity, ConversationObjectInstance, ConversationObjectNamespace, ConversationObjectOptions, ConversationObjectPorts, ConversationObjectRpc, DEFAULT_MAX_DATABASE_BYTES, DurableAlarmError, DurableAlarmService, DurableObjectContext, DynamicWorkerCodeExecutorOptions, ExplainedRecovery, HostFailed, HostFailure, HostProtocolError, HostResponse, MaintenancePassFailure, MaintenancePassReport, ObligationsScanned, ObservePageRequest, ObservedPage, RetryExecuted, SettlementReached, SubmitRequest, SubmitSucceeded, UnknownResolutionRecorded, VerifiedIntegrity, boundHostDiagnostic, cloudflareWakeSchedulerLayer, conversationNamespaceFromEnv, conversationNamespaceLayer, conversationPortTransportLayer, decodeAbortCommand, decodeAdminExplainRequest, decodeAdminResponse, decodeAdminVerifyRequest, decodeApprovalDecisionCommand, decodeHostResponse, decodeObligationThresholds, decodeObservePageRequest, decodeReceipt, decodeRetryCommand, decodeSubmitRequest, decodeUnknownResolutionCommand, dynamicWorkerCodeExecutorLayer, dynamicWorkerImplementation, encodeAbortCommand, encodeAdminResponse, encodeApprovalDecisionCommand, encodeHostResponse, encodeObservePageRequest, encodeReceipt, encodeSubmitRequest, encodeUnknownResolutionCommand, makeConversationObjectClass };
|
|
1552
|
+
export { AbortRecorded, AdminExplainRequest, AdminFailed, AdminFailure, AdminResponse, AdminVerifyRequest, AdmissionLimitExceeded, ApprovalRecorded, CLOUDFLARE_DATABASE_CAP_BYTES, CLOUDFLARE_RUNTIME_DEFAULTS, ClientAbortFailure, ClientApprovalFailure, ClientAwaitFailure, ClientObserveFailure, ClientSubmitFailure, ClientUnknownFailure, CloudflareAdmissionLimitsValue, CloudflareBindingError, CloudflareBindingSource, CloudflareBindingSourceContext, CloudflareConversationClient, CloudflareDurableRuntime, CloudflareDurableRuntimeConfig, CloudflareDurableRuntimeConfigValue, CloudflareDurableRuntimeInitializationError, CloudflareDurableRuntimeOptions, CloudflareDurableRuntimeServices, CloudflarePlatformConfigError, CodeModeHostEntrypoint, CodeModeHostStub, ConversationClientError, ConversationMaintenance, ConversationMaintenanceFailpoint, ConversationMaintenanceFailpointHandler, ConversationMaintenanceFailpointLocation, ConversationObjectClass, ConversationObjectIdentity, ConversationObjectInstance, ConversationObjectNamespace, ConversationObjectOptions, ConversationObjectPorts, ConversationObjectRpc, DEFAULT_MAX_DATABASE_BYTES, DurableAlarmError, DurableAlarmService, DurableObjectContext, DynamicWorkerCodeExecutorOptions, ExplainedRecovery, HostFailed, HostFailure, HostProtocolError, HostResponse, MaintenancePassFailure, MaintenancePassReport, ObligationsScanned, ObservePageRequest, ObservedPage, RetryExecuted, SettlementReached, SubmitRequest, SubmitSucceeded, UnknownResolutionRecorded, VerifiedIntegrity, boundHostDiagnostic, cloudflareWakeSchedulerLayer, conversationNamespaceFromEnv, conversationNamespaceLayer, conversationPortTransportLayer, decodeAbortCommand, decodeAdminExplainRequest, decodeAdminResponse, decodeAdminVerifyRequest, decodeApprovalDecisionCommand, decodeHostResponse, decodeObligationThresholds, decodeObservePageRequest, decodeReceipt, decodeRetryCommand, decodeSubmitRequest, decodeUnknownResolutionCommand, dynamicWorkerCodeExecutorLayer, dynamicWorkerImplementation, encodeAbortCommand, encodeAdminResponse, encodeApprovalDecisionCommand, encodeHostResponse, encodeObservePageRequest, encodeReceipt, encodeSubmitRequest, encodeUnknownResolutionCommand, makeConversationObjectClass };
|
|
1550
1553
|
//# sourceMappingURL=index.d.mts.map
|