@effect-agent/platform-cloudflare 0.0.1-beta.4 → 0.0.1-beta.6
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 +145 -47
- package/dist/index.mjs +906 -35
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -11
- package/src/alarm.ts +1 -1
- package/src/bindings.ts +1 -1
- package/src/client.ts +2 -2
- package/src/code-mode-executor.ts +710 -0
- package/src/config.ts +5 -2
- package/src/conversation-object.ts +159 -28
- package/src/index.ts +2 -0
- package/src/layers.ts +56 -19
- package/src/telemetry-internal.ts +432 -0
- package/src/telemetry.ts +37 -0
- package/src/wake-scheduler.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,8 @@ import { Context, Effect, Layer, Option, Schema } from "effect";
|
|
|
2
2
|
import { AbortCommand, AbortIntent, AdmissionConflict, AgentBindingResolver, AppendConflict, ApprovalConflict, ApprovalDecisionCommand, ApprovalDecisionIntent, CanonicalRecordEnvelope, CanonicalSequence, ConversationNotMaterialized, ConversationStore, ConversationStoreError, DefinitionDigests, DigestError, DurableAgentRuntime, DurableBindingFailure, DurableRuntimeConfig, DurableRuntimeFailpointError, DurableRuntimeFailpointHandler, DurableSubmitAgent, DurableSubmitOptions, DurableWorkerFailure, FenceRejected, IntegrityReport, JoinedToHost, LedgerError, ObligationReport, ObligationThresholds, OperationDenied, OwnershipLost, ProducerId, Receipt, RecoveryExplanation, RecoveryReport, ResolvedBinding, RetryCommand, RetryRefused, RunJournalError, Settlement, SettlementConflict, SubmissionLedger, ToolReconciler, UnknownResolutionCommand, UnknownResolutionConflict, UnknownResolutionIntent, WakeScheduler } from "@effect-agent/session";
|
|
3
3
|
import { ConversationPortTransport, DoStorageFailpointHandler, DoStorageInitializationError } from "@effect-agent/storage-cloudflare";
|
|
4
4
|
import { AgentInputError, ConversationId } from "@effect-agent/core";
|
|
5
|
-
import { DurableObject } from "cloudflare:workers";
|
|
5
|
+
import { DurableObject, WorkerEntrypoint } from "cloudflare:workers";
|
|
6
|
+
import { CodeExecutor, SandboxImplementation } from "@effect-agent/sandbox";
|
|
6
7
|
//#region src/bindings.d.ts
|
|
7
8
|
declare const CloudflareBindingError_base: Schema.Class<CloudflareBindingError, Schema.TaggedStruct<"CloudflareBindingError", {
|
|
8
9
|
readonly binding: Schema.String;
|
|
@@ -148,6 +149,8 @@ declare const CloudflareDurableRuntimeConfigValue_base: Schema.Class<CloudflareD
|
|
|
148
149
|
readonly abortPollInterval: Schema.Int;
|
|
149
150
|
/** Canonical observation poll cadence of the Durable Object store. */
|
|
150
151
|
readonly observationPollInterval: Schema.Int;
|
|
152
|
+
/** Cooperative background-export budget; native Object delivery never awaits the flush. */
|
|
153
|
+
readonly telemetryFlushTimeout: Schema.Int;
|
|
151
154
|
/** Per-value byte bound; must stay under the platform's 2 MB SQLite value limit. */
|
|
152
155
|
readonly maxStoredValueBytes: Schema.Int;
|
|
153
156
|
/** Opt-in full payload/digest-chain audit while opening the store. */
|
|
@@ -174,6 +177,7 @@ declare const CLOUDFLARE_RUNTIME_DEFAULTS: {
|
|
|
174
177
|
readonly leaseRenewalInterval: 10000;
|
|
175
178
|
readonly abortPollInterval: 500;
|
|
176
179
|
readonly observationPollInterval: 25;
|
|
180
|
+
readonly telemetryFlushTimeout: 2000;
|
|
177
181
|
readonly maxStoredValueBytes: 1900000;
|
|
178
182
|
readonly verifyOnOpen: false;
|
|
179
183
|
readonly maxQueueDepthPerLane: 256;
|
|
@@ -320,6 +324,36 @@ declare const cloudflareWakeSchedulerLayer: Layer.Layer<WakeScheduler, never, Du
|
|
|
320
324
|
*/
|
|
321
325
|
declare const conversationPortTransportLayer: Layer.Layer<ConversationPortTransport, never, ConversationObjectNamespace>;
|
|
322
326
|
//#endregion
|
|
327
|
+
//#region src/telemetry.d.ts
|
|
328
|
+
declare const CloudflareTelemetryExportError_base: Schema.Class<CloudflareTelemetryExportError, Schema.TaggedStruct<"CloudflareTelemetryExportError", {
|
|
329
|
+
/** The original exporter failure, retained for host-side diagnostics. */
|
|
330
|
+
readonly cause: Schema.Defect;
|
|
331
|
+
}>, import("effect/Cause").YieldableError>;
|
|
332
|
+
/** A host exporter failed during one coalesced background export attempt. */
|
|
333
|
+
declare class CloudflareTelemetryExportError extends CloudflareTelemetryExportError_base {}
|
|
334
|
+
declare const CloudflareRuntimeTelemetry_base: Context.ServiceClass<CloudflareRuntimeTelemetry, "@effect-agent/platform-cloudflare/CloudflareRuntimeTelemetry", {
|
|
335
|
+
readonly flush: Effect.Effect<void, CloudflareTelemetryExportError>;
|
|
336
|
+
}>;
|
|
337
|
+
/**
|
|
338
|
+
* Host-owned exporter lifecycle for one Cloudflare Conversation Object incarnation.
|
|
339
|
+
*
|
|
340
|
+
* The platform package creates measurements but deliberately does not select an exporter or
|
|
341
|
+
* vendor. Native entrypoint instrumentation consumes this service at the Worker composition edge;
|
|
342
|
+
* applications pass its provider as the second `makeConversationObjectClass` argument together
|
|
343
|
+
* with their Effect Logger, Tracer, and Metric layers. That provider may read `DurableObjectContext` or
|
|
344
|
+
* `ConversationObjectNamespace`, and its typed acquisition error remains visible in construction.
|
|
345
|
+
* `flush` must attempt to export every configured signal. After the native span closes, the
|
|
346
|
+
* Conversation Object reserves it into a shared post-settlement batch before `ctx.waitUntil` under
|
|
347
|
+
* a cooperative timeout. Only each pending/trailing/queued batch's first owner registers its
|
|
348
|
+
* shared Promise. Cycles remain capped at one first exporter attempt plus at most one trailing
|
|
349
|
+
* attempt, with one queued cycle while trailing runs; exporter completion never holds endpoint
|
|
350
|
+
* delivery open and exporter failure never replaces endpoint behavior.
|
|
351
|
+
*/
|
|
352
|
+
declare class CloudflareRuntimeTelemetry extends CloudflareRuntimeTelemetry_base {
|
|
353
|
+
/** Content-free default selected by `makeConversationObjectClass` when no host Layer is passed. */
|
|
354
|
+
static readonly layerNoop: Layer.Layer<CloudflareRuntimeTelemetry, never, never>;
|
|
355
|
+
}
|
|
356
|
+
//#endregion
|
|
323
357
|
//#region src/layers.d.ts
|
|
324
358
|
/**
|
|
325
359
|
* Raw (unvalidated) construction options for `CloudflareDurableRuntime.layer`, mirroring
|
|
@@ -347,6 +381,11 @@ interface CloudflareDurableRuntimeOptions {
|
|
|
347
381
|
readonly abortPollInterval?: number | undefined;
|
|
348
382
|
/** Milliseconds; default 25. */
|
|
349
383
|
readonly observationPollInterval?: number | undefined;
|
|
384
|
+
/**
|
|
385
|
+
* Milliseconds; default 2000. Cooperative budget for the background exporter flush registered
|
|
386
|
+
* after each native RPC, wake, or alarm span. Delivery never awaits the flush.
|
|
387
|
+
*/
|
|
388
|
+
readonly telemetryFlushTimeout?: number | undefined;
|
|
350
389
|
/** Bytes; default just under the 2 MB platform value limit. */
|
|
351
390
|
readonly maxStoredValueBytes?: number | undefined;
|
|
352
391
|
/** Default false. */
|
|
@@ -373,12 +412,25 @@ interface CloudflareDurableRuntimeOptions {
|
|
|
373
412
|
readonly toolReconciler?: Layer.Layer<ToolReconciler> | undefined;
|
|
374
413
|
/**
|
|
375
414
|
* Registered worker Bindings resolved at durable claim time (S2, spec/subagents.md §11):
|
|
376
|
-
* build each with `DurableWorkerBinding.make(binding, digests)`. An Effect form is
|
|
377
|
-
* because
|
|
378
|
-
*
|
|
415
|
+
* build each with `DurableWorkerBinding.make(binding, digests)`. An Effect or callback form is
|
|
416
|
+
* accepted because capture can be effectful. The callback receives the live Object context and
|
|
417
|
+
* derived identities and is evaluated once per incarnation during Layer construction. Defaults
|
|
418
|
+
* to the empty registration (every resolved claim fails closed).
|
|
379
419
|
*/
|
|
380
|
-
readonly bindings?:
|
|
420
|
+
readonly bindings?: CloudflareBindingSource | undefined;
|
|
381
421
|
}
|
|
422
|
+
/** Per-incarnation host values available while registered worker Bindings are captured. */
|
|
423
|
+
interface CloudflareBindingSourceContext {
|
|
424
|
+
readonly ctx: DurableObjectState;
|
|
425
|
+
readonly env: unknown;
|
|
426
|
+
readonly conversationId: ConversationId;
|
|
427
|
+
readonly producerId: ProducerId;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Registered worker Bindings, or a closed Effect/callback that captures them once for each
|
|
431
|
+
* Durable Object incarnation. Callback Effects cannot require services or fail typed.
|
|
432
|
+
*/
|
|
433
|
+
type CloudflareBindingSource = ReadonlyArray<ResolvedBinding> | Effect.Effect<ReadonlyArray<ResolvedBinding>, never, never> | ((context: CloudflareBindingSourceContext) => ReadonlyArray<ResolvedBinding> | Effect.Effect<ReadonlyArray<ResolvedBinding>, never, never>);
|
|
382
434
|
/** Every construction failure of the assembled Cloudflare durable runtime stack. */
|
|
383
435
|
type CloudflareDurableRuntimeInitializationError = CloudflarePlatformConfigError | DoStorageInitializationError;
|
|
384
436
|
/** The services `CloudflareDurableRuntime.layer` provides. */
|
|
@@ -406,9 +458,9 @@ declare class ConversationObjectPorts extends ConversationObjectPorts_base {}
|
|
|
406
458
|
* Storage compatibility is verified during construction: an incompatible database fails the
|
|
407
459
|
* Layer typed (`DoStorageCompatibilityError`) before anything is mutated (DEPLOY-008).
|
|
408
460
|
*
|
|
409
|
-
* Requires
|
|
410
|
-
*
|
|
411
|
-
* (DEPLOY-010).
|
|
461
|
+
* Requires the two binding services (`DurableObjectContext`, `ConversationObjectNamespace`).
|
|
462
|
+
* Host observability belongs to the Worker composition edge because native entrypoint lifecycle
|
|
463
|
+
* instrumentation, rather than this durable runtime assembly, consumes it (DEPLOY-010).
|
|
412
464
|
*/
|
|
413
465
|
declare class CloudflareDurableRuntime {
|
|
414
466
|
static layer(options: CloudflareDurableRuntimeOptions): Layer.Layer<CloudflareDurableRuntimeServices, CloudflareDurableRuntimeInitializationError, DurableObjectContext | ConversationObjectNamespace>;
|
|
@@ -579,14 +631,6 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
579
631
|
readonly createdAt: string;
|
|
580
632
|
readonly deploymentId: string;
|
|
581
633
|
readonly payload: {
|
|
582
|
-
readonly _tag: "SubagentStarted";
|
|
583
|
-
readonly runId: string;
|
|
584
|
-
readonly toolCallId: string;
|
|
585
|
-
readonly childConversationId: string;
|
|
586
|
-
readonly childSubmissionId: string;
|
|
587
|
-
readonly childReceiptId: string;
|
|
588
|
-
readonly childRunId: string;
|
|
589
|
-
} | {
|
|
590
634
|
readonly _tag: "ConversationCreated";
|
|
591
635
|
readonly agentId: string;
|
|
592
636
|
readonly definitions: {
|
|
@@ -717,6 +761,14 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
717
761
|
readonly childConversationId: string;
|
|
718
762
|
readonly childPrincipal: string;
|
|
719
763
|
readonly childIdempotencyKey: string;
|
|
764
|
+
} | {
|
|
765
|
+
readonly _tag: "SubagentStarted";
|
|
766
|
+
readonly runId: string;
|
|
767
|
+
readonly toolCallId: string;
|
|
768
|
+
readonly childConversationId: string;
|
|
769
|
+
readonly childSubmissionId: string;
|
|
770
|
+
readonly childReceiptId: string;
|
|
771
|
+
readonly childRunId: string;
|
|
720
772
|
} | {
|
|
721
773
|
readonly _tag: "SubagentJoined";
|
|
722
774
|
readonly runId: string;
|
|
@@ -911,7 +963,7 @@ declare class CloudflareConversationClient extends CloudflareConversationClient_
|
|
|
911
963
|
//#endregion
|
|
912
964
|
//#region src/conversation-object.d.ts
|
|
913
965
|
/**
|
|
914
|
-
* `makeConversationObjectClass(options)` — the Conversation Durable Object (plan §1.4,
|
|
966
|
+
* `makeConversationObjectClass(options, telemetry?)` — the Conversation Durable Object (plan §1.4,
|
|
915
967
|
* D-P6-1): a factory returning a class that applications export from their Worker entry.
|
|
916
968
|
* One SQLite-backed Object per Conversation is the serialized owner (durability §6); the
|
|
917
969
|
* Object never runs `runResolvedWorker`'s infinite loop — each ingress event or alarm runs
|
|
@@ -1384,21 +1436,38 @@ declare const encodeAdminResponse: (input: AdminFailed | ExplainedRecovery | Obl
|
|
|
1384
1436
|
} | {
|
|
1385
1437
|
readonly _tag: "AdminFailed";
|
|
1386
1438
|
readonly failure: {
|
|
1387
|
-
readonly _tag: "
|
|
1439
|
+
readonly _tag: "OperationDenied";
|
|
1440
|
+
readonly operation: "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
|
|
1441
|
+
readonly reason: string;
|
|
1442
|
+
readonly conversationId?: string | undefined;
|
|
1443
|
+
readonly submissionId?: string | undefined;
|
|
1444
|
+
} | {
|
|
1445
|
+
readonly _tag: "RetryRefused";
|
|
1446
|
+
readonly submissionId: string;
|
|
1447
|
+
readonly refusal: "await-approval-decision" | "await-unknown-resolution" | "settled";
|
|
1448
|
+
readonly decisionTag: string;
|
|
1449
|
+
readonly message: string;
|
|
1450
|
+
} | {
|
|
1451
|
+
readonly _tag: "LedgerError";
|
|
1452
|
+
readonly operation: string;
|
|
1453
|
+
readonly message: string;
|
|
1454
|
+
readonly cause?: Schema.Json | undefined;
|
|
1455
|
+
} | {
|
|
1456
|
+
readonly _tag: "RunJournalError";
|
|
1388
1457
|
readonly message: string;
|
|
1458
|
+
readonly cause?: Schema.Json | undefined;
|
|
1389
1459
|
} | {
|
|
1390
1460
|
readonly _tag: "DigestError";
|
|
1391
1461
|
readonly message: string;
|
|
1392
1462
|
readonly cause?: Schema.Json | undefined;
|
|
1463
|
+
} | {
|
|
1464
|
+
readonly _tag: "OwnershipLost";
|
|
1465
|
+
readonly submissionId: string;
|
|
1466
|
+
readonly actualEpoch: number;
|
|
1393
1467
|
} | {
|
|
1394
1468
|
readonly _tag: "SettlementConflict";
|
|
1395
1469
|
readonly submissionId: string;
|
|
1396
1470
|
readonly existingOutcome: "aborted" | "completed" | "failed";
|
|
1397
|
-
} | {
|
|
1398
|
-
readonly _tag: "LedgerError";
|
|
1399
|
-
readonly operation: string;
|
|
1400
|
-
readonly message: string;
|
|
1401
|
-
readonly cause?: Schema.Json | undefined;
|
|
1402
1471
|
} | {
|
|
1403
1472
|
readonly _tag: "ConversationStoreError";
|
|
1404
1473
|
readonly operation: string;
|
|
@@ -1428,25 +1497,8 @@ declare const encodeAdminResponse: (input: AdminFailed | ExplainedRecovery | Obl
|
|
|
1428
1497
|
readonly message: string;
|
|
1429
1498
|
readonly cause?: Schema.Json | undefined;
|
|
1430
1499
|
} | {
|
|
1431
|
-
readonly _tag: "
|
|
1432
|
-
readonly operation: "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
|
|
1433
|
-
readonly reason: string;
|
|
1434
|
-
readonly conversationId?: string | undefined;
|
|
1435
|
-
readonly submissionId?: string | undefined;
|
|
1436
|
-
} | {
|
|
1437
|
-
readonly _tag: "RetryRefused";
|
|
1438
|
-
readonly submissionId: string;
|
|
1439
|
-
readonly refusal: "await-approval-decision" | "await-unknown-resolution" | "settled";
|
|
1440
|
-
readonly decisionTag: string;
|
|
1441
|
-
readonly message: string;
|
|
1442
|
-
} | {
|
|
1443
|
-
readonly _tag: "RunJournalError";
|
|
1500
|
+
readonly _tag: "HostProtocolError";
|
|
1444
1501
|
readonly message: string;
|
|
1445
|
-
readonly cause?: Schema.Json | undefined;
|
|
1446
|
-
} | {
|
|
1447
|
-
readonly _tag: "OwnershipLost";
|
|
1448
|
-
readonly submissionId: string;
|
|
1449
|
-
readonly actualEpoch: number;
|
|
1450
1502
|
};
|
|
1451
1503
|
}, Schema.SchemaError, never>;
|
|
1452
1504
|
declare const decodeAdminResponse: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<AdminFailed | ExplainedRecovery | ObligationsScanned | RetryExecuted | VerifiedIntegrity, Schema.SchemaError, never>;
|
|
@@ -1471,12 +1523,58 @@ interface ConversationObjectClass {
|
|
|
1471
1523
|
new (ctx: DurableObjectState, env: Cloudflare.Env): ConversationObjectInstance;
|
|
1472
1524
|
}
|
|
1473
1525
|
/**
|
|
1474
|
-
* Build the application's Conversation Object class (export it from the
|
|
1475
|
-
*
|
|
1476
|
-
*
|
|
1477
|
-
*
|
|
1526
|
+
* Build the application's Conversation Object class (export it from the Worker entry).
|
|
1527
|
+
* `telemetry` is the host composition boundary: it may require the Object context/namespace and
|
|
1528
|
+
* retain a typed acquisition error, while any additional output services remain available to the
|
|
1529
|
+
* cached runtime. `TelemetryError` stays the first explicit generic for source compatibility;
|
|
1530
|
+
* additional outputs infer from the Layer. Omitting it installs the content-free no-op service.
|
|
1531
|
+
* The explicit return type is what makes declaration emit possible: the class body carries a
|
|
1532
|
+
* private runtime field, and TS4094 rejects inferring an exported anonymous class type around it.
|
|
1533
|
+
*/
|
|
1534
|
+
declare const makeConversationObjectClass: <TelemetryError = never, AdditionalTelemetryOutputs = never>(options: ConversationObjectOptions, telemetry?: Layer.Layer<CloudflareRuntimeTelemetry | AdditionalTelemetryOutputs, TelemetryError, DurableObjectContext | ConversationObjectNamespace>) => ConversationObjectClass;
|
|
1535
|
+
//#endregion
|
|
1536
|
+
//#region src/code-mode-executor.d.ts
|
|
1537
|
+
/**
|
|
1538
|
+
* The Cloudflare Dynamic Worker `CodeExecutor` adapter (C4 of ADR-0017;
|
|
1539
|
+
* DEPLOY-011). Each pass loads one fresh Worker through the Worker Loader
|
|
1540
|
+
* with `globalOutbound: null`, so generated code has no ambient network,
|
|
1541
|
+
* bindings, or secrets; its only authority is the pass-scoped host stub that
|
|
1542
|
+
* routes back to `CodeModeHostEntrypoint` and, from there, into the pass's
|
|
1543
|
+
* `CodeExecutionHost` service. Platform CPU limits stop synchronous runaway
|
|
1544
|
+
* programs; the executor-owned wall-clock deadline interrupts asynchronously
|
|
1545
|
+
* suspended passes. Deployment class `E` only: the adapter records no
|
|
1546
|
+
* persistent state and a later pass may run in a completely different
|
|
1547
|
+
* isolate.
|
|
1478
1548
|
*/
|
|
1479
|
-
declare const
|
|
1549
|
+
declare const dynamicWorkerImplementation: SandboxImplementation;
|
|
1550
|
+
/** The narrow host stub the dynamic worker receives (Workers RPC). */
|
|
1551
|
+
interface CodeModeHostStub {
|
|
1552
|
+
readonly call: (passId: string, hostCall: unknown) => Promise<unknown>;
|
|
1553
|
+
}
|
|
1554
|
+
/**
|
|
1555
|
+
* The host-side RPC target for dynamic workers. The application exposes it
|
|
1556
|
+
* from its Worker entry (`export { CodeModeHostEntrypoint }`) and hands the
|
|
1557
|
+
* adapter a same-instance stub — `ctx.exports.CodeModeHostEntrypoint()` in
|
|
1558
|
+
* production (a self service binding may reach a different instance and must
|
|
1559
|
+
* not be used there); tests bind it through Miniflare's `kCurrentWorker`.
|
|
1560
|
+
*/
|
|
1561
|
+
declare class CodeModeHostEntrypoint extends WorkerEntrypoint {
|
|
1562
|
+
call(passId: unknown, hostCall: unknown): Promise<unknown>;
|
|
1563
|
+
}
|
|
1564
|
+
interface DynamicWorkerCodeExecutorOptions {
|
|
1565
|
+
/** The `worker_loader` binding. */
|
|
1566
|
+
readonly loader: WorkerLoader;
|
|
1567
|
+
/**
|
|
1568
|
+
* A SAME-INSTANCE stub of `CodeModeHostEntrypoint`. In production create it
|
|
1569
|
+
* with `ctx.exports.CodeModeHostEntrypoint()`; a cross-instance stub would
|
|
1570
|
+
* dispatch host calls into an isolate without this pass's registry entry.
|
|
1571
|
+
*/
|
|
1572
|
+
readonly hostStub: CodeModeHostStub;
|
|
1573
|
+
/** Compatibility date for dynamic workers; defaults to `2025-05-01`. */
|
|
1574
|
+
readonly compatibilityDate?: string | undefined;
|
|
1575
|
+
}
|
|
1576
|
+
/** Layer building the Dynamic Worker `CodeExecutor` from resolved bindings. */
|
|
1577
|
+
declare const dynamicWorkerCodeExecutorLayer: (options: DynamicWorkerCodeExecutorOptions) => Layer.Layer<CodeExecutor>;
|
|
1480
1578
|
//#endregion
|
|
1481
|
-
export { AbortRecorded, AdminExplainRequest, AdminFailed, AdminFailure, AdminResponse, AdminVerifyRequest, AdmissionLimitExceeded, ApprovalRecorded, CLOUDFLARE_DATABASE_CAP_BYTES, CLOUDFLARE_RUNTIME_DEFAULTS, ClientAbortFailure, ClientApprovalFailure, ClientAwaitFailure, ClientObserveFailure, ClientSubmitFailure, ClientUnknownFailure, CloudflareAdmissionLimitsValue, CloudflareBindingError, CloudflareConversationClient, CloudflareDurableRuntime, CloudflareDurableRuntimeConfig, CloudflareDurableRuntimeConfigValue, CloudflareDurableRuntimeInitializationError, CloudflareDurableRuntimeOptions, CloudflareDurableRuntimeServices, CloudflarePlatformConfigError, ConversationClientError, ConversationMaintenance, ConversationObjectClass, ConversationObjectIdentity, ConversationObjectInstance, ConversationObjectNamespace, ConversationObjectOptions, ConversationObjectPorts, ConversationObjectRpc, DEFAULT_MAX_DATABASE_BYTES, DurableAlarmError, DurableAlarmService, DurableObjectContext, 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, encodeAbortCommand, encodeAdminResponse, encodeApprovalDecisionCommand, encodeHostResponse, encodeObservePageRequest, encodeReceipt, encodeSubmitRequest, encodeUnknownResolutionCommand, makeConversationObjectClass };
|
|
1579
|
+
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, CloudflareRuntimeTelemetry, CloudflareTelemetryExportError, 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 };
|
|
1482
1580
|
//# sourceMappingURL=index.d.mts.map
|