@effect-agent/platform-cloudflare 0.1.0-beta.96 → 0.1.0-beta.97

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.
@@ -266,6 +266,7 @@ declare const encodeSubmitRequest: (input: SubmitRequest, options?: import("effe
266
266
  readonly tools: string;
267
267
  readonly replay?: {
268
268
  readonly agent: string;
269
+ readonly agentBehavior?: string | undefined;
269
270
  readonly tools: {
270
271
  readonly [x: string]: string;
271
272
  };
@@ -313,6 +314,7 @@ declare const encodeSubmitRequest: (input: SubmitRequest, options?: import("effe
313
314
  readonly tools: string;
314
315
  readonly replay?: {
315
316
  readonly agent: string;
317
+ readonly agentBehavior?: string | undefined;
316
318
  readonly tools: {
317
319
  readonly [x: string]: string;
318
320
  };
@@ -423,6 +425,7 @@ declare const encodeSubmitRequest: (input: SubmitRequest, options?: import("effe
423
425
  readonly tools: string;
424
426
  readonly replay?: {
425
427
  readonly agent: string;
428
+ readonly agentBehavior?: string | undefined;
426
429
  readonly tools: {
427
430
  readonly [x: string]: string;
428
431
  };
@@ -472,13 +475,13 @@ declare const encodeUnknownResolutionCommand: (input: UnknownResolutionCommand,
472
475
  readonly author: string;
473
476
  readonly reason: string;
474
477
  readonly resolution: {
475
- readonly _tag: "SafeToRetry";
476
- } | {
477
478
  readonly _tag: "CompletedWithResult";
478
479
  readonly result: Schema.Json;
479
480
  readonly isFailure: boolean;
480
481
  } | {
481
482
  readonly _tag: "NeverHappened";
483
+ } | {
484
+ readonly _tag: "SafeToRetry";
482
485
  } | {
483
486
  readonly _tag: "AbortSubmission";
484
487
  };
@@ -614,11 +617,6 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
614
617
  readonly createdAt: string;
615
618
  readonly deploymentId: string;
616
619
  readonly payload: {
617
- readonly _tag: "AbortRequested";
618
- readonly submissionId: string;
619
- readonly author: string;
620
- readonly reason: string;
621
- } | {
622
620
  readonly _tag: "ThreadCreated";
623
621
  readonly agentId: string;
624
622
  readonly definitions: {
@@ -627,6 +625,7 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
627
625
  readonly tools: string;
628
626
  readonly replay?: {
629
627
  readonly agent: string;
628
+ readonly agentBehavior?: string | undefined;
630
629
  readonly tools: {
631
630
  readonly [x: string]: string;
632
631
  };
@@ -885,6 +884,11 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
885
884
  readonly runDisposition?: Schema.Json | undefined;
886
885
  readonly finishReason?: "budget-exhausted" | undefined;
887
886
  readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
887
+ } | {
888
+ readonly _tag: "AbortRequested";
889
+ readonly submissionId: string;
890
+ readonly author: string;
891
+ readonly reason: string;
888
892
  } | {
889
893
  readonly _tag: "SubmissionSettled";
890
894
  readonly submissionId: string;
@@ -974,6 +978,7 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
974
978
  readonly tools: string;
975
979
  readonly replay?: {
976
980
  readonly agent: string;
981
+ readonly agentBehavior?: string | undefined;
977
982
  readonly tools: {
978
983
  readonly [x: string]: string;
979
984
  };
@@ -1073,6 +1078,7 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1073
1078
  readonly tools: string;
1074
1079
  readonly replay?: {
1075
1080
  readonly agent: string;
1081
+ readonly agentBehavior?: string | undefined;
1076
1082
  readonly tools: {
1077
1083
  readonly [x: string]: string;
1078
1084
  };
@@ -1138,6 +1144,7 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1138
1144
  readonly tools: string;
1139
1145
  readonly replay?: {
1140
1146
  readonly agent: string;
1147
+ readonly agentBehavior?: string | undefined;
1141
1148
  readonly tools: {
1142
1149
  readonly [x: string]: string;
1143
1150
  };
@@ -1185,6 +1192,7 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1185
1192
  readonly tools: string;
1186
1193
  readonly replay?: {
1187
1194
  readonly agent: string;
1195
+ readonly agentBehavior?: string | undefined;
1188
1196
  readonly tools: {
1189
1197
  readonly [x: string]: string;
1190
1198
  };
@@ -1228,6 +1236,7 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1228
1236
  readonly tools: string;
1229
1237
  readonly replay?: {
1230
1238
  readonly agent: string;
1239
+ readonly agentBehavior?: string | undefined;
1231
1240
  readonly tools: {
1232
1241
  readonly [x: string]: string;
1233
1242
  };
@@ -1275,6 +1284,7 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1275
1284
  readonly tools: string;
1276
1285
  readonly replay?: {
1277
1286
  readonly agent: string;
1287
+ readonly agentBehavior?: string | undefined;
1278
1288
  readonly tools: {
1279
1289
  readonly [x: string]: string;
1280
1290
  };
@@ -1316,6 +1326,7 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1316
1326
  readonly tools: string;
1317
1327
  readonly replay?: {
1318
1328
  readonly agent: string;
1329
+ readonly agentBehavior?: string | undefined;
1319
1330
  readonly tools: {
1320
1331
  readonly [x: string]: string;
1321
1332
  };
@@ -1415,13 +1426,13 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1415
1426
  readonly author: string;
1416
1427
  readonly reason: string;
1417
1428
  readonly resolution: {
1418
- readonly _tag: "SafeToRetry";
1419
- } | {
1420
1429
  readonly _tag: "CompletedWithResult";
1421
1430
  readonly result: Schema.Json;
1422
1431
  readonly isFailure: boolean;
1423
1432
  } | {
1424
1433
  readonly _tag: "NeverHappened";
1434
+ } | {
1435
+ readonly _tag: "SafeToRetry";
1425
1436
  } | {
1426
1437
  readonly _tag: "AbortSubmission";
1427
1438
  };
@@ -1431,10 +1442,36 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1431
1442
  } | {
1432
1443
  readonly _tag: "HostFailed";
1433
1444
  readonly failure: {
1434
- readonly _tag: "DurableAlarmError";
1445
+ readonly _tag: "LedgerError";
1435
1446
  readonly operation: string;
1436
1447
  readonly message: string;
1437
1448
  readonly cause?: Schema.Json | undefined;
1449
+ } | {
1450
+ readonly _tag: "AppendConflict";
1451
+ readonly threadId: string;
1452
+ readonly batchId: string;
1453
+ readonly reason: "batch-digest" | "record-identity" | "tail";
1454
+ readonly actualTailSequence?: number | undefined;
1455
+ readonly actualTailDigest?: string | undefined;
1456
+ } | {
1457
+ readonly _tag: "FenceRejected";
1458
+ readonly threadId: string;
1459
+ readonly actualEpoch: number;
1460
+ readonly attemptedEpoch: number;
1461
+ } | {
1462
+ readonly _tag: "ThreadNotMaterialized";
1463
+ readonly threadId: string;
1464
+ } | {
1465
+ readonly _tag: "ThreadStoreError";
1466
+ readonly operation: string;
1467
+ readonly message: string;
1468
+ readonly cause?: Schema.Json | undefined;
1469
+ } | {
1470
+ readonly _tag: "OperationDenied";
1471
+ readonly operation: "abort" | "awaitSettlement" | "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
1472
+ readonly reason: string;
1473
+ readonly threadId?: string | undefined;
1474
+ readonly submissionId?: string | undefined;
1438
1475
  } | {
1439
1476
  readonly _tag: "AdmissionConflict";
1440
1477
  readonly threadId: string;
@@ -1446,6 +1483,16 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1446
1483
  readonly _tag: "AdmissionPolicyError";
1447
1484
  readonly reason: "occupied" | "refused" | "unavailable";
1448
1485
  readonly code: string;
1486
+ } | {
1487
+ readonly _tag: "AgentInputError";
1488
+ readonly message: string;
1489
+ } | {
1490
+ readonly _tag: "DigestError";
1491
+ readonly message: string;
1492
+ readonly cause?: Schema.Json | undefined;
1493
+ } | {
1494
+ readonly _tag: "DurableRuntimeFailpointError";
1495
+ readonly location: "abort:after-intent" | "approval:after-request-append" | "approval:after-suspend" | "checkpoint:after-save" | "checkpoint:before-save" | "claim:after-claim" | "compaction:after-canonical-append" | "compaction:before-canonical-append" | "input:after-canonical-append" | "join:after-canonical-append" | "join:after-claim" | "policy:after-reservation-append" | "policy:before-reservation-append" | "resolve:after-intent" | "run:after-duration-append" | "run:after-start-append" | "run:before-duration-append" | "run:before-start-append" | "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" | "subagent:before-join-append" | "submit:after-admit" | "submit:after-materialize" | "terminalize:after-canonical-append" | "terminalize:after-reserve" | "tools:after-prepared-append" | "tools:before-prepared-append" | "turn:after-canonical-append" | "turn:after-response-append" | "turn:after-results-append" | "update:after-canonical-append" | "update:after-delivery-insert" | "update:before-canonical-append" | "update:before-delivery-insert" | "worker:after-completion-append" | "worker:after-origin-append" | "worker:after-report-append" | "worker:after-report-delivery" | "worker:after-source-append" | "worker:after-subtree-append" | "worker:before-completion-append" | "worker:before-origin-append" | "worker:before-report-append" | "worker:before-report-delivery" | "worker:before-source-append" | "worker:before-subtree-append";
1449
1496
  } | {
1450
1497
  readonly _tag: "SettlementConflict";
1451
1498
  readonly submissionId: string;
@@ -1455,40 +1502,18 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1455
1502
  readonly submissionId: string;
1456
1503
  readonly hostSubmissionId: string;
1457
1504
  } | {
1458
- readonly _tag: "LedgerError";
1459
- readonly operation: string;
1460
- readonly message: string;
1461
- readonly cause?: Schema.Json | undefined;
1462
- } | {
1463
- readonly _tag: "ThreadStoreError";
1505
+ readonly _tag: "DurableAlarmError";
1464
1506
  readonly operation: string;
1465
1507
  readonly message: string;
1466
1508
  readonly cause?: Schema.Json | undefined;
1467
1509
  } | {
1468
- readonly _tag: "ThreadNotMaterialized";
1469
- readonly threadId: string;
1470
- } | {
1471
- readonly _tag: "AppendConflict";
1472
- readonly threadId: string;
1473
- readonly batchId: string;
1474
- readonly reason: "batch-digest" | "record-identity" | "tail";
1475
- readonly actualTailSequence?: number | undefined;
1476
- readonly actualTailDigest?: string | undefined;
1477
- } | {
1478
- readonly _tag: "FenceRejected";
1479
- readonly threadId: string;
1480
- readonly actualEpoch: number;
1481
- readonly attemptedEpoch: number;
1510
+ readonly _tag: "AdmissionLimitExceeded";
1511
+ readonly limit: "database-bytes" | "input-bytes" | "queue-depth";
1512
+ readonly actual: number;
1513
+ readonly maximum: number;
1482
1514
  } | {
1483
1515
  readonly _tag: "HostProtocolError";
1484
1516
  readonly message: string;
1485
- } | {
1486
- readonly _tag: "AgentInputError";
1487
- readonly message: string;
1488
- } | {
1489
- readonly _tag: "DigestError";
1490
- readonly message: string;
1491
- readonly cause?: Schema.Json | undefined;
1492
1517
  } | {
1493
1518
  readonly _tag: "ApprovalConflict";
1494
1519
  readonly submissionId: string;
@@ -1498,20 +1523,6 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1498
1523
  readonly _tag: "UnknownResolutionConflict";
1499
1524
  readonly submissionId: string;
1500
1525
  readonly toolCallId: string;
1501
- } | {
1502
- readonly _tag: "DurableRuntimeFailpointError";
1503
- readonly location: "abort:after-intent" | "approval:after-request-append" | "approval:after-suspend" | "checkpoint:after-save" | "checkpoint:before-save" | "claim:after-claim" | "compaction:after-canonical-append" | "compaction:before-canonical-append" | "input:after-canonical-append" | "join:after-canonical-append" | "join:after-claim" | "policy:after-reservation-append" | "policy:before-reservation-append" | "resolve:after-intent" | "run:after-duration-append" | "run:after-start-append" | "run:before-duration-append" | "run:before-start-append" | "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" | "subagent:before-join-append" | "submit:after-admit" | "submit:after-materialize" | "terminalize:after-canonical-append" | "terminalize:after-reserve" | "tools:after-prepared-append" | "tools:before-prepared-append" | "turn:after-canonical-append" | "turn:after-response-append" | "turn:after-results-append" | "update:after-canonical-append" | "update:after-delivery-insert" | "update:before-canonical-append" | "update:before-delivery-insert" | "worker:after-completion-append" | "worker:after-origin-append" | "worker:after-report-append" | "worker:after-report-delivery" | "worker:after-source-append" | "worker:after-subtree-append" | "worker:before-completion-append" | "worker:before-origin-append" | "worker:before-report-append" | "worker:before-report-delivery" | "worker:before-source-append" | "worker:before-subtree-append";
1504
- } | {
1505
- readonly _tag: "AdmissionLimitExceeded";
1506
- readonly limit: "database-bytes" | "input-bytes" | "queue-depth";
1507
- readonly actual: number;
1508
- readonly maximum: number;
1509
- } | {
1510
- readonly _tag: "OperationDenied";
1511
- readonly operation: "abort" | "awaitSettlement" | "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
1512
- readonly reason: string;
1513
- readonly threadId?: string | undefined;
1514
- readonly submissionId?: string | undefined;
1515
1526
  };
1516
1527
  }, Schema.SchemaError, never>;
1517
1528
  declare const decodeHostResponse: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<AbortRecorded | ApprovalRecorded | HostFailed | ObservedPage | ProgressCancelled | ProgressObserved | SettlementReached | SubmissionStatusResponse | SubmitSucceeded | UnknownResolutionRecorded, Schema.SchemaError, never>;
@@ -692,6 +692,11 @@ declare const encodeAdminResponse: (input: AdminFailed | ExplainedRecovery | Obl
692
692
  } | {
693
693
  readonly _tag: "AdminFailed";
694
694
  readonly failure: {
695
+ readonly _tag: "DurableAlarmError";
696
+ readonly operation: string;
697
+ readonly message: string;
698
+ readonly cause?: Schema.Json | undefined;
699
+ } | {
695
700
  readonly _tag: "HostProtocolError";
696
701
  readonly message: string;
697
702
  } | {
@@ -714,11 +719,6 @@ declare const encodeAdminResponse: (input: AdminFailed | ExplainedRecovery | Obl
714
719
  readonly _tag: "DigestError";
715
720
  readonly message: string;
716
721
  readonly cause?: Schema.Json | undefined;
717
- } | {
718
- readonly _tag: "DurableAlarmError";
719
- readonly operation: string;
720
- readonly message: string;
721
- readonly cause?: Schema.Json | undefined;
722
722
  } | {
723
723
  readonly _tag: "DurableRuntimeFailpointError";
724
724
  readonly location: "abort:after-intent" | "approval:after-request-append" | "approval:after-suspend" | "checkpoint:after-save" | "checkpoint:before-save" | "claim:after-claim" | "compaction:after-canonical-append" | "compaction:before-canonical-append" | "input:after-canonical-append" | "join:after-canonical-append" | "join:after-claim" | "policy:after-reservation-append" | "policy:before-reservation-append" | "resolve:after-intent" | "run:after-duration-append" | "run:after-start-append" | "run:before-duration-append" | "run:before-start-append" | "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" | "subagent:before-join-append" | "submit:after-admit" | "submit:after-materialize" | "terminalize:after-canonical-append" | "terminalize:after-reserve" | "tools:after-prepared-append" | "tools:before-prepared-append" | "turn:after-canonical-append" | "turn:after-response-append" | "turn:after-results-append" | "update:after-canonical-append" | "update:after-delivery-insert" | "update:before-canonical-append" | "update:before-delivery-insert" | "worker:after-completion-append" | "worker:after-origin-append" | "worker:after-report-append" | "worker:after-report-delivery" | "worker:after-source-append" | "worker:after-subtree-append" | "worker:before-completion-append" | "worker:before-origin-append" | "worker:before-report-append" | "worker:before-report-delivery" | "worker:before-source-append" | "worker:before-subtree-append";
@@ -742,23 +742,23 @@ declare const encodeAdminResponse: (input: AdminFailed | ExplainedRecovery | Obl
742
742
  readonly threadId?: string | undefined;
743
743
  readonly submissionId?: string | undefined;
744
744
  } | {
745
- readonly _tag: "RetryRefused";
745
+ readonly _tag: "SettlementConflict";
746
746
  readonly submissionId: string;
747
- readonly refusal: "await-approval-decision" | "await-unknown-resolution" | "settled";
748
- readonly decisionTag: string;
749
- readonly message: string;
750
- } | {
751
- readonly _tag: "RunJournalError";
752
- readonly message: string;
753
- readonly cause?: Schema.Json | undefined;
747
+ readonly existingOutcome: "aborted" | "completed" | "failed";
754
748
  } | {
755
749
  readonly _tag: "OwnershipLost";
756
750
  readonly submissionId: string;
757
751
  readonly actualEpoch: number;
758
752
  } | {
759
- readonly _tag: "SettlementConflict";
753
+ readonly _tag: "RunJournalError";
754
+ readonly message: string;
755
+ readonly cause?: Schema.Json | undefined;
756
+ } | {
757
+ readonly _tag: "RetryRefused";
760
758
  readonly submissionId: string;
761
- readonly existingOutcome: "aborted" | "completed" | "failed";
759
+ readonly refusal: "await-approval-decision" | "await-unknown-resolution" | "settled";
760
+ readonly decisionTag: string;
761
+ readonly message: string;
762
762
  };
763
763
  }, Schema.SchemaError, never>;
764
764
  declare const decodeAdminResponse: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<AdminFailed | ExplainedRecovery | ObligationsScanned | RetryExecuted | VerifiedIntegrity, Schema.SchemaError, never>;
@@ -811,4 +811,4 @@ interface Class<EventServices = never> {
811
811
  declare const make: <ApplicationServices, ApplicationError, EventServices = never, EventLayerError = never>(applicationLayer: Layer.Layer<CloudflareDurableRuntimeServices | ApplicationServices, ApplicationError, CloudflareBootstrapServices | DurableObjectState$1.DurableObjectState | WorkerEnvironment | DurableObjectContext | ThreadObjectNamespace>, options: Options<ApplicationServices, EventServices, EventLayerError>) => Class<ApplicationServices | EventServices>;
812
812
  //#endregion
813
813
  export { ThreadPublicationOptions as A, portCall as C, CloudflareDurableRuntimeOptions as D, CloudflareDurableRuntimeInitializationError as E, layerConfig as M, layerHostConfig as N, CloudflareDurableRuntimeServices as O, layerInHost as P, make as S, CloudflareBootstrapServices as T, decodeAdminVerifyRequest as _, AdminVerifyRequest as a, encodeAdminResponse as b, Instance as c, RetryExecuted as d, ThreadObject_d_exports as f, decodeAdminResponse as g, decodeAdminExplainRequest as h, AdminResponse as i, layer as j, ThreadObjectPorts as k, ObligationsScanned as l, VerifiedIntegrity as m, AdminFailed as n, Class as o, ThreadRpcOperation as p, AdminFailure as r, ExplainedRecovery as s, AdminExplainRequest as t, Options as u, decodeObligationThresholds as v, submit as w, handleRpc as x, decodeRetryCommand as y };
814
- //# sourceMappingURL=ThreadObject-DiqVDdJE.d.mts.map
814
+ //# sourceMappingURL=ThreadObject-COli4r4g.d.mts.map
@@ -1,2 +1,2 @@
1
- import { A as ThreadPublicationOptions, C as portCall, D as CloudflareDurableRuntimeOptions, E as CloudflareDurableRuntimeInitializationError, M as layerConfig, N as layerHostConfig, O as CloudflareDurableRuntimeServices, P as layerInHost, S as make, T as CloudflareBootstrapServices, _ as decodeAdminVerifyRequest, a as AdminVerifyRequest, b as encodeAdminResponse, c as Instance, d as RetryExecuted, g as decodeAdminResponse, h as decodeAdminExplainRequest, i as AdminResponse, j as layer, k as ThreadObjectPorts, l as ObligationsScanned, m as VerifiedIntegrity, n as AdminFailed, o as Class, p as ThreadRpcOperation, r as AdminFailure, s as ExplainedRecovery, t as AdminExplainRequest, u as Options, v as decodeObligationThresholds, w as submit, x as handleRpc, y as decodeRetryCommand } from "./ThreadObject-DiqVDdJE.mjs";
1
+ import { A as ThreadPublicationOptions, C as portCall, D as CloudflareDurableRuntimeOptions, E as CloudflareDurableRuntimeInitializationError, M as layerConfig, N as layerHostConfig, O as CloudflareDurableRuntimeServices, P as layerInHost, S as make, T as CloudflareBootstrapServices, _ as decodeAdminVerifyRequest, a as AdminVerifyRequest, b as encodeAdminResponse, c as Instance, d as RetryExecuted, g as decodeAdminResponse, h as decodeAdminExplainRequest, i as AdminResponse, j as layer, k as ThreadObjectPorts, l as ObligationsScanned, m as VerifiedIntegrity, n as AdminFailed, o as Class, p as ThreadRpcOperation, r as AdminFailure, s as ExplainedRecovery, t as AdminExplainRequest, u as Options, v as decodeObligationThresholds, w as submit, x as handleRpc, y as decodeRetryCommand } from "./ThreadObject-COli4r4g.mjs";
2
2
  export { AdminExplainRequest, AdminFailed, AdminFailure, AdminResponse, AdminVerifyRequest, type CloudflareBootstrapServices as BootstrapServices, Class, ExplainedRecovery, type CloudflareDurableRuntimeInitializationError as InitializationError, Instance, ObligationsScanned, Options, type ThreadPublicationOptions as PublicationOptions, RetryExecuted, type CloudflareDurableRuntimeOptions as RuntimeOptions, type CloudflareDurableRuntimeServices as Services, ThreadObjectPorts, ThreadRpcOperation, VerifiedIntegrity, decodeAdminExplainRequest, decodeAdminResponse, decodeAdminVerifyRequest, decodeObligationThresholds, decodeRetryCommand, encodeAdminResponse, handleRpc, layer, layerConfig, layerHostConfig, layerInHost, make, portCall, submit };
package/dist/index.d.mts CHANGED
@@ -8,6 +8,6 @@ import { t as CloudflareMemory_d_exports } from "./CloudflareMemory.mjs";
8
8
  import { t as CloudflareScheduling_d_exports } from "./CloudflareScheduling.mjs";
9
9
  import { t as CloudflareSubscriptions_d_exports } from "./CloudflareSubscriptions.mjs";
10
10
  import { t as CloudflareThreadClient_d_exports } from "./CloudflareThreadClient.mjs";
11
- import { f as ThreadObject_d_exports } from "./ThreadObject-DiqVDdJE.mjs";
11
+ import { f as ThreadObject_d_exports } from "./ThreadObject-COli4r4g.mjs";
12
12
  import { t as WakeScheduler_d_exports } from "./WakeScheduler.mjs";
13
13
  export { Alarm_d_exports as Alarm, CloudflareAiGateway_d_exports as CloudflareAiGateway, CloudflareBindings_d_exports as CloudflareBindings, CloudflareBrowser_d_exports as CloudflareBrowser, CloudflareCodeMode_d_exports as CloudflareCodeMode, CloudflareConfig_d_exports as CloudflareConfig, CloudflareMemory_d_exports as CloudflareMemory, CloudflareScheduling_d_exports as CloudflareScheduling, CloudflareSubscriptions_d_exports as CloudflareSubscriptions, CloudflareThreadClient_d_exports as CloudflareThreadClient, ThreadObject_d_exports as ThreadObject, WakeScheduler_d_exports as WakeScheduler };
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@effect-agent/platform-cloudflare","version":"0.1.0-beta.96","dependencies":{"@effect-agent/storage-cloudflare":"0.1.0-beta.96","@effect/platform-browser":"4.0.0-rc.115","@effect/sql-sqlite-do":"4.0.0-rc.115","effect-agent":"0.1.0-beta.96"},"devDependencies":{"@cloudflare/puppeteer":"1.1.0","@cloudflare/vitest-pool-workers":"0.21.3","@cloudflare/workers-types":"5.20260825.1","@effect-agent/testing":"0.1.0-beta.96","@effect/platform-node":"4.0.0-rc.115","@effect/sql-d1":"4.0.0-rc.115","@effect/vitest":"4.0.0-rc.115","effect":"4.0.0-rc.115","effect-cf":"0.44.1","esbuild":"0.28.1","miniflare":"5.20260811.1-alpha","typescript":"7.0.2","vite-plus":"0.3.0","vitest":"4.1.11"},"peerDependencies":{"@cloudflare/puppeteer":"^1.1.0","effect":"^4.0.0-rc.115","effect-cf":"^0.44.1"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./alarm":{"types":"./dist/Alarm.d.mts","default":"./dist/Alarm.mjs"},"./browser-rest-capture":{"types":"./dist/BrowserRestCapture.d.mts","default":"./dist/BrowserRestCapture.mjs"},"./browser-rest-crawl":{"types":"./dist/BrowserRestCrawl.d.mts","default":"./dist/BrowserRestCrawl.mjs"},"./cloudflare-bindings":{"types":"./dist/CloudflareBindings.d.mts","default":"./dist/CloudflareBindings.mjs"},"./cloudflare-browser":{"types":"./dist/CloudflareBrowser.d.mts","default":"./dist/CloudflareBrowser.mjs"},"./cloudflare-code-mode":{"types":"./dist/CloudflareCodeMode.d.mts","default":"./dist/CloudflareCodeMode.mjs"},"./cloudflare-config":{"types":"./dist/CloudflareConfig.d.mts","default":"./dist/CloudflareConfig.mjs"},"./cloudflare-memory":{"types":"./dist/CloudflareMemory.d.mts","default":"./dist/CloudflareMemory.mjs"},"./cloudflare-scheduling":{"types":"./dist/CloudflareScheduling.d.mts","default":"./dist/CloudflareScheduling.mjs"},"./cloudflare-subscriptions":{"types":"./dist/CloudflareSubscriptions.d.mts","default":"./dist/CloudflareSubscriptions.mjs"},"./cloudflare-thread-client":{"types":"./dist/CloudflareThreadClient.d.mts","default":"./dist/CloudflareThreadClient.mjs"},"./interactive-browser":{"types":"./dist/InteractiveBrowser.d.mts","default":"./dist/InteractiveBrowser.mjs"},"./protected-browser":{"types":"./dist/ProtectedBrowser.d.mts","default":"./dist/ProtectedBrowser.mjs"},"./thread-object":{"types":"./dist/ThreadObject.d.mts","default":"./dist/ThreadObject.mjs"},"./wake-scheduler":{"types":"./dist/WakeScheduler.d.mts","default":"./dist/WakeScheduler.mjs"},"./cloudflare-ai-gateway":{"types":"./dist/CloudflareAiGateway.d.mts","default":"./dist/CloudflareAiGateway.mjs"}},"description":"Cloudflare Layer assembly for Effect Agent: Durable Objects and Browser Run adapters.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/danieljvdm/effect-agent.git","directory":"packages/platform-cloudflare"},"files":["dist","src"],"type":"module","sideEffects":[],"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","check":"tsc --noEmit -p tsconfig.json"},"peerDependenciesMeta":{"@cloudflare/puppeteer":{"optional":true}}}
1
+ {"name":"@effect-agent/platform-cloudflare","version":"0.1.0-beta.97","dependencies":{"@effect-agent/storage-cloudflare":"0.1.0-beta.97","@effect/platform-browser":"4.0.0-rc.115","@effect/sql-sqlite-do":"4.0.0-rc.115","effect-agent":"0.1.0-beta.97"},"devDependencies":{"@cloudflare/puppeteer":"1.1.0","@cloudflare/vitest-pool-workers":"0.21.3","@cloudflare/workers-types":"5.20260825.1","@effect-agent/testing":"0.1.0-beta.97","@effect/platform-node":"4.0.0-rc.115","@effect/sql-d1":"4.0.0-rc.115","@effect/vitest":"4.0.0-rc.115","effect":"4.0.0-rc.115","effect-cf":"0.44.1","esbuild":"0.28.1","miniflare":"5.20260811.1-alpha","typescript":"7.0.2","vite-plus":"0.3.0","vitest":"4.1.11"},"peerDependencies":{"@cloudflare/puppeteer":"^1.1.0","effect":"^4.0.0-rc.115","effect-cf":"^0.44.1"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./alarm":{"types":"./dist/Alarm.d.mts","default":"./dist/Alarm.mjs"},"./browser-rest-capture":{"types":"./dist/BrowserRestCapture.d.mts","default":"./dist/BrowserRestCapture.mjs"},"./browser-rest-crawl":{"types":"./dist/BrowserRestCrawl.d.mts","default":"./dist/BrowserRestCrawl.mjs"},"./cloudflare-bindings":{"types":"./dist/CloudflareBindings.d.mts","default":"./dist/CloudflareBindings.mjs"},"./cloudflare-browser":{"types":"./dist/CloudflareBrowser.d.mts","default":"./dist/CloudflareBrowser.mjs"},"./cloudflare-code-mode":{"types":"./dist/CloudflareCodeMode.d.mts","default":"./dist/CloudflareCodeMode.mjs"},"./cloudflare-config":{"types":"./dist/CloudflareConfig.d.mts","default":"./dist/CloudflareConfig.mjs"},"./cloudflare-memory":{"types":"./dist/CloudflareMemory.d.mts","default":"./dist/CloudflareMemory.mjs"},"./cloudflare-scheduling":{"types":"./dist/CloudflareScheduling.d.mts","default":"./dist/CloudflareScheduling.mjs"},"./cloudflare-subscriptions":{"types":"./dist/CloudflareSubscriptions.d.mts","default":"./dist/CloudflareSubscriptions.mjs"},"./cloudflare-thread-client":{"types":"./dist/CloudflareThreadClient.d.mts","default":"./dist/CloudflareThreadClient.mjs"},"./interactive-browser":{"types":"./dist/InteractiveBrowser.d.mts","default":"./dist/InteractiveBrowser.mjs"},"./protected-browser":{"types":"./dist/ProtectedBrowser.d.mts","default":"./dist/ProtectedBrowser.mjs"},"./thread-object":{"types":"./dist/ThreadObject.d.mts","default":"./dist/ThreadObject.mjs"},"./wake-scheduler":{"types":"./dist/WakeScheduler.d.mts","default":"./dist/WakeScheduler.mjs"},"./cloudflare-ai-gateway":{"types":"./dist/CloudflareAiGateway.d.mts","default":"./dist/CloudflareAiGateway.mjs"}},"description":"Cloudflare Layer assembly for Effect Agent: Durable Objects and Browser Run adapters.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/danieljvdm/effect-agent.git","directory":"packages/platform-cloudflare"},"files":["dist","src"],"type":"module","sideEffects":[],"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","check":"tsc --noEmit -p tsconfig.json"},"peerDependenciesMeta":{"@cloudflare/puppeteer":{"optional":true}}}