@effect-agent/platform-cloudflare 0.1.0-beta.102 → 0.1.0-beta.103
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.
|
@@ -617,6 +617,45 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
|
|
|
617
617
|
readonly createdAt: string;
|
|
618
618
|
readonly deploymentId: string;
|
|
619
619
|
readonly payload: {
|
|
620
|
+
readonly _tag: "ToolCallPrepared";
|
|
621
|
+
readonly runId: string;
|
|
622
|
+
readonly turnId: string;
|
|
623
|
+
readonly turn: number;
|
|
624
|
+
readonly toolCallId: string;
|
|
625
|
+
readonly toolName: string;
|
|
626
|
+
readonly parameters: Schema.Json;
|
|
627
|
+
readonly parametersDigest: string;
|
|
628
|
+
readonly executionKind?: "delegation" | "orchestration" | "ordinary" | undefined;
|
|
629
|
+
readonly executionClass?: "idempotent" | "readonly" | "uncertain" | undefined;
|
|
630
|
+
readonly replay?: string | undefined;
|
|
631
|
+
} | {
|
|
632
|
+
readonly _tag: "ToolCallUnknown";
|
|
633
|
+
readonly runId: string;
|
|
634
|
+
readonly turn: number;
|
|
635
|
+
readonly toolCallId: string;
|
|
636
|
+
readonly toolName: string;
|
|
637
|
+
readonly reason: string;
|
|
638
|
+
} | {
|
|
639
|
+
readonly _tag: "ToolApprovalDecided";
|
|
640
|
+
readonly runId: string;
|
|
641
|
+
readonly turn: number;
|
|
642
|
+
readonly toolCallId: string;
|
|
643
|
+
readonly decision: "approved" | "denied";
|
|
644
|
+
readonly resolver: string;
|
|
645
|
+
readonly reason: string;
|
|
646
|
+
} | {
|
|
647
|
+
readonly _tag: "ToolCallResolved";
|
|
648
|
+
readonly runId: string;
|
|
649
|
+
readonly toolCallId: string;
|
|
650
|
+
readonly resolution: "completed-with-result" | "failed-with-error" | "never-started" | "safe-retry";
|
|
651
|
+
readonly author: string;
|
|
652
|
+
readonly reason: string;
|
|
653
|
+
} | {
|
|
654
|
+
readonly _tag: "AbortRequested";
|
|
655
|
+
readonly submissionId: string;
|
|
656
|
+
readonly author: string;
|
|
657
|
+
readonly reason: string;
|
|
658
|
+
} | {
|
|
620
659
|
readonly _tag: "ThreadCreated";
|
|
621
660
|
readonly agentId: string;
|
|
622
661
|
readonly definitions: {
|
|
@@ -808,18 +847,6 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
|
|
|
808
847
|
readonly inputTokens?: number | undefined;
|
|
809
848
|
readonly outputTokens?: number | undefined;
|
|
810
849
|
readonly costMicrousd?: number | undefined;
|
|
811
|
-
} | {
|
|
812
|
-
readonly _tag: "ToolCallPrepared";
|
|
813
|
-
readonly runId: string;
|
|
814
|
-
readonly turnId: string;
|
|
815
|
-
readonly turn: number;
|
|
816
|
-
readonly toolCallId: string;
|
|
817
|
-
readonly toolName: string;
|
|
818
|
-
readonly parameters: Schema.Json;
|
|
819
|
-
readonly parametersDigest: string;
|
|
820
|
-
readonly executionKind?: "delegation" | "orchestration" | "ordinary" | undefined;
|
|
821
|
-
readonly executionClass?: "idempotent" | "readonly" | "uncertain" | undefined;
|
|
822
|
-
readonly replay?: string | undefined;
|
|
823
850
|
} | {
|
|
824
851
|
readonly _tag: "ToolCallSettled";
|
|
825
852
|
readonly toolSelection?: {
|
|
@@ -831,20 +858,6 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
|
|
|
831
858
|
readonly result: Schema.Json;
|
|
832
859
|
readonly isFailure: boolean;
|
|
833
860
|
readonly budgetRejected?: true | undefined;
|
|
834
|
-
} | {
|
|
835
|
-
readonly _tag: "ToolCallUnknown";
|
|
836
|
-
readonly runId: string;
|
|
837
|
-
readonly turn: number;
|
|
838
|
-
readonly toolCallId: string;
|
|
839
|
-
readonly toolName: string;
|
|
840
|
-
readonly reason: string;
|
|
841
|
-
} | {
|
|
842
|
-
readonly _tag: "ToolCallResolved";
|
|
843
|
-
readonly runId: string;
|
|
844
|
-
readonly toolCallId: string;
|
|
845
|
-
readonly resolution: "completed-with-result" | "failed-with-error" | "never-started" | "safe-retry";
|
|
846
|
-
readonly author: string;
|
|
847
|
-
readonly reason: string;
|
|
848
861
|
} | {
|
|
849
862
|
readonly _tag: "ToolStepSettled";
|
|
850
863
|
readonly runId: string;
|
|
@@ -860,14 +873,6 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
|
|
|
860
873
|
readonly toolCallId: string;
|
|
861
874
|
readonly toolName: string;
|
|
862
875
|
readonly parametersDigest: string;
|
|
863
|
-
} | {
|
|
864
|
-
readonly _tag: "ToolApprovalDecided";
|
|
865
|
-
readonly runId: string;
|
|
866
|
-
readonly turn: number;
|
|
867
|
-
readonly toolCallId: string;
|
|
868
|
-
readonly decision: "approved" | "denied";
|
|
869
|
-
readonly resolver: string;
|
|
870
|
-
readonly reason: string;
|
|
871
876
|
} | {
|
|
872
877
|
readonly _tag: "ModelResponseInterrupted";
|
|
873
878
|
readonly runId: string;
|
|
@@ -894,11 +899,6 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
|
|
|
894
899
|
readonly runDisposition?: Schema.Json | undefined;
|
|
895
900
|
readonly finishReason?: "budget-exhausted" | undefined;
|
|
896
901
|
readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
|
|
897
|
-
} | {
|
|
898
|
-
readonly _tag: "AbortRequested";
|
|
899
|
-
readonly submissionId: string;
|
|
900
|
-
readonly author: string;
|
|
901
|
-
readonly reason: string;
|
|
902
902
|
} | {
|
|
903
903
|
readonly _tag: "SubmissionSettled";
|
|
904
904
|
readonly submissionId: string;
|
|
@@ -1453,36 +1453,23 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
|
|
|
1453
1453
|
} | {
|
|
1454
1454
|
readonly _tag: "HostFailed";
|
|
1455
1455
|
readonly failure: {
|
|
1456
|
-
readonly _tag: "
|
|
1456
|
+
readonly _tag: "DurableAlarmError";
|
|
1457
1457
|
readonly operation: string;
|
|
1458
1458
|
readonly message: string;
|
|
1459
1459
|
readonly cause?: Schema.Json | undefined;
|
|
1460
1460
|
} | {
|
|
1461
|
-
readonly _tag: "
|
|
1462
|
-
readonly
|
|
1461
|
+
readonly _tag: "HostProtocolError";
|
|
1462
|
+
readonly message: string;
|
|
1463
|
+
} | {
|
|
1464
|
+
readonly _tag: "AdmissionLimitExceeded";
|
|
1465
|
+
readonly limit: "database-bytes" | "input-bytes" | "queue-depth";
|
|
1466
|
+
readonly actual: number;
|
|
1467
|
+
readonly maximum: number;
|
|
1463
1468
|
} | {
|
|
1464
1469
|
readonly _tag: "LedgerError";
|
|
1465
1470
|
readonly operation: string;
|
|
1466
1471
|
readonly message: string;
|
|
1467
1472
|
readonly cause?: Schema.Json | undefined;
|
|
1468
|
-
} | {
|
|
1469
|
-
readonly _tag: "AppendConflict";
|
|
1470
|
-
readonly threadId: string;
|
|
1471
|
-
readonly batchId: string;
|
|
1472
|
-
readonly reason: "batch-digest" | "record-identity" | "tail";
|
|
1473
|
-
readonly actualTailSequence?: number | undefined;
|
|
1474
|
-
readonly actualTailDigest?: string | undefined;
|
|
1475
|
-
} | {
|
|
1476
|
-
readonly _tag: "FenceRejected";
|
|
1477
|
-
readonly threadId: string;
|
|
1478
|
-
readonly actualEpoch: number;
|
|
1479
|
-
readonly attemptedEpoch: number;
|
|
1480
|
-
} | {
|
|
1481
|
-
readonly _tag: "OperationDenied";
|
|
1482
|
-
readonly operation: "abort" | "awaitSettlement" | "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
|
|
1483
|
-
readonly reason: string;
|
|
1484
|
-
readonly threadId?: string | undefined;
|
|
1485
|
-
readonly submissionId?: string | undefined;
|
|
1486
1473
|
} | {
|
|
1487
1474
|
readonly _tag: "AdmissionConflict";
|
|
1488
1475
|
readonly threadId: string;
|
|
@@ -1497,6 +1484,13 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
|
|
|
1497
1484
|
} | {
|
|
1498
1485
|
readonly _tag: "AgentInputError";
|
|
1499
1486
|
readonly message: string;
|
|
1487
|
+
} | {
|
|
1488
|
+
readonly _tag: "AppendConflict";
|
|
1489
|
+
readonly threadId: string;
|
|
1490
|
+
readonly batchId: string;
|
|
1491
|
+
readonly reason: "batch-digest" | "record-identity" | "tail";
|
|
1492
|
+
readonly actualTailSequence?: number | undefined;
|
|
1493
|
+
readonly actualTailDigest?: string | undefined;
|
|
1500
1494
|
} | {
|
|
1501
1495
|
readonly _tag: "DigestError";
|
|
1502
1496
|
readonly message: string;
|
|
@@ -1505,26 +1499,32 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
|
|
|
1505
1499
|
readonly _tag: "DurableRuntimeFailpointError";
|
|
1506
1500
|
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:after-unavailable-append" | "tools:before-prepared-append" | "tools:before-unavailable-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";
|
|
1507
1501
|
} | {
|
|
1508
|
-
readonly _tag: "
|
|
1509
|
-
readonly
|
|
1510
|
-
readonly
|
|
1502
|
+
readonly _tag: "FenceRejected";
|
|
1503
|
+
readonly threadId: string;
|
|
1504
|
+
readonly actualEpoch: number;
|
|
1505
|
+
readonly attemptedEpoch: number;
|
|
1511
1506
|
} | {
|
|
1512
|
-
readonly _tag: "
|
|
1513
|
-
readonly
|
|
1514
|
-
readonly hostSubmissionId: string;
|
|
1507
|
+
readonly _tag: "ThreadNotMaterialized";
|
|
1508
|
+
readonly threadId: string;
|
|
1515
1509
|
} | {
|
|
1516
|
-
readonly _tag: "
|
|
1510
|
+
readonly _tag: "ThreadStoreError";
|
|
1517
1511
|
readonly operation: string;
|
|
1518
1512
|
readonly message: string;
|
|
1519
1513
|
readonly cause?: Schema.Json | undefined;
|
|
1520
1514
|
} | {
|
|
1521
|
-
readonly _tag: "
|
|
1522
|
-
readonly
|
|
1523
|
-
readonly
|
|
1524
|
-
readonly
|
|
1515
|
+
readonly _tag: "OperationDenied";
|
|
1516
|
+
readonly operation: "abort" | "awaitSettlement" | "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
|
|
1517
|
+
readonly reason: string;
|
|
1518
|
+
readonly threadId?: string | undefined;
|
|
1519
|
+
readonly submissionId?: string | undefined;
|
|
1525
1520
|
} | {
|
|
1526
|
-
readonly _tag: "
|
|
1527
|
-
readonly
|
|
1521
|
+
readonly _tag: "SettlementConflict";
|
|
1522
|
+
readonly submissionId: string;
|
|
1523
|
+
readonly existingOutcome: "aborted" | "completed" | "failed";
|
|
1524
|
+
} | {
|
|
1525
|
+
readonly _tag: "JoinedToHost";
|
|
1526
|
+
readonly submissionId: string;
|
|
1527
|
+
readonly hostSubmissionId: string;
|
|
1528
1528
|
} | {
|
|
1529
1529
|
readonly _tag: "ApprovalConflict";
|
|
1530
1530
|
readonly submissionId: string;
|
|
@@ -705,18 +705,22 @@ declare const encodeAdminResponse: (input: AdminFailed | ExplainedRecovery | Obl
|
|
|
705
705
|
} | {
|
|
706
706
|
readonly _tag: "AdminFailed";
|
|
707
707
|
readonly failure: {
|
|
708
|
-
readonly _tag: "
|
|
708
|
+
readonly _tag: "DurableAlarmError";
|
|
709
709
|
readonly operation: string;
|
|
710
710
|
readonly message: string;
|
|
711
711
|
readonly cause?: Schema.Json | undefined;
|
|
712
712
|
} | {
|
|
713
|
-
readonly _tag: "
|
|
714
|
-
readonly
|
|
713
|
+
readonly _tag: "HostProtocolError";
|
|
714
|
+
readonly message: string;
|
|
715
715
|
} | {
|
|
716
716
|
readonly _tag: "LedgerError";
|
|
717
717
|
readonly operation: string;
|
|
718
718
|
readonly message: string;
|
|
719
719
|
readonly cause?: Schema.Json | undefined;
|
|
720
|
+
} | {
|
|
721
|
+
readonly _tag: "AdmissionPolicyError";
|
|
722
|
+
readonly reason: "occupied" | "refused" | "unavailable";
|
|
723
|
+
readonly code: string;
|
|
720
724
|
} | {
|
|
721
725
|
readonly _tag: "AppendConflict";
|
|
722
726
|
readonly threadId: string;
|
|
@@ -724,21 +728,6 @@ declare const encodeAdminResponse: (input: AdminFailed | ExplainedRecovery | Obl
|
|
|
724
728
|
readonly reason: "batch-digest" | "record-identity" | "tail";
|
|
725
729
|
readonly actualTailSequence?: number | undefined;
|
|
726
730
|
readonly actualTailDigest?: string | undefined;
|
|
727
|
-
} | {
|
|
728
|
-
readonly _tag: "FenceRejected";
|
|
729
|
-
readonly threadId: string;
|
|
730
|
-
readonly actualEpoch: number;
|
|
731
|
-
readonly attemptedEpoch: number;
|
|
732
|
-
} | {
|
|
733
|
-
readonly _tag: "OperationDenied";
|
|
734
|
-
readonly operation: "abort" | "awaitSettlement" | "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
|
|
735
|
-
readonly reason: string;
|
|
736
|
-
readonly threadId?: string | undefined;
|
|
737
|
-
readonly submissionId?: string | undefined;
|
|
738
|
-
} | {
|
|
739
|
-
readonly _tag: "AdmissionPolicyError";
|
|
740
|
-
readonly reason: "occupied" | "refused" | "unavailable";
|
|
741
|
-
readonly code: string;
|
|
742
731
|
} | {
|
|
743
732
|
readonly _tag: "DigestError";
|
|
744
733
|
readonly message: string;
|
|
@@ -747,31 +736,42 @@ declare const encodeAdminResponse: (input: AdminFailed | ExplainedRecovery | Obl
|
|
|
747
736
|
readonly _tag: "DurableRuntimeFailpointError";
|
|
748
737
|
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:after-unavailable-append" | "tools:before-prepared-append" | "tools:before-unavailable-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";
|
|
749
738
|
} | {
|
|
750
|
-
readonly _tag: "
|
|
751
|
-
readonly
|
|
752
|
-
readonly existingOutcome: "aborted" | "completed" | "failed";
|
|
753
|
-
} | {
|
|
754
|
-
readonly _tag: "OwnershipLost";
|
|
755
|
-
readonly submissionId: string;
|
|
739
|
+
readonly _tag: "FenceRejected";
|
|
740
|
+
readonly threadId: string;
|
|
756
741
|
readonly actualEpoch: number;
|
|
742
|
+
readonly attemptedEpoch: number;
|
|
757
743
|
} | {
|
|
758
|
-
readonly _tag: "
|
|
759
|
-
readonly
|
|
760
|
-
readonly cause?: Schema.Json | undefined;
|
|
744
|
+
readonly _tag: "ThreadNotMaterialized";
|
|
745
|
+
readonly threadId: string;
|
|
761
746
|
} | {
|
|
762
|
-
readonly _tag: "
|
|
747
|
+
readonly _tag: "ThreadStoreError";
|
|
763
748
|
readonly operation: string;
|
|
764
749
|
readonly message: string;
|
|
765
750
|
readonly cause?: Schema.Json | undefined;
|
|
766
751
|
} | {
|
|
767
|
-
readonly _tag: "
|
|
768
|
-
readonly
|
|
752
|
+
readonly _tag: "OperationDenied";
|
|
753
|
+
readonly operation: "abort" | "awaitSettlement" | "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
|
|
754
|
+
readonly reason: string;
|
|
755
|
+
readonly threadId?: string | undefined;
|
|
756
|
+
readonly submissionId?: string | undefined;
|
|
769
757
|
} | {
|
|
770
758
|
readonly _tag: "RetryRefused";
|
|
771
759
|
readonly submissionId: string;
|
|
772
760
|
readonly refusal: "await-approval-decision" | "await-unknown-resolution" | "settled";
|
|
773
761
|
readonly decisionTag: string;
|
|
774
762
|
readonly message: string;
|
|
763
|
+
} | {
|
|
764
|
+
readonly _tag: "RunJournalError";
|
|
765
|
+
readonly message: string;
|
|
766
|
+
readonly cause?: Schema.Json | undefined;
|
|
767
|
+
} | {
|
|
768
|
+
readonly _tag: "OwnershipLost";
|
|
769
|
+
readonly submissionId: string;
|
|
770
|
+
readonly actualEpoch: number;
|
|
771
|
+
} | {
|
|
772
|
+
readonly _tag: "SettlementConflict";
|
|
773
|
+
readonly submissionId: string;
|
|
774
|
+
readonly existingOutcome: "aborted" | "completed" | "failed";
|
|
775
775
|
};
|
|
776
776
|
}, Schema.SchemaError, never>;
|
|
777
777
|
declare const decodeAdminResponse: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<AdminFailed | ExplainedRecovery | ObligationsScanned | RetryExecuted | VerifiedIntegrity, Schema.SchemaError, never>;
|
|
@@ -824,4 +824,4 @@ interface Class<EventServices = never> {
|
|
|
824
824
|
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>;
|
|
825
825
|
//#endregion
|
|
826
826
|
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 };
|
|
827
|
-
//# sourceMappingURL=ThreadObject-
|
|
827
|
+
//# sourceMappingURL=ThreadObject-CMQiW2uX.d.mts.map
|
package/dist/ThreadObject.d.mts
CHANGED
|
@@ -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-
|
|
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-CMQiW2uX.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-
|
|
11
|
+
import { f as ThreadObject_d_exports } from "./ThreadObject-CMQiW2uX.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.
|
|
1
|
+
{"name":"@effect-agent/platform-cloudflare","version":"0.1.0-beta.103","dependencies":{"@effect-agent/storage-cloudflare":"0.1.0-beta.103","@effect/platform-browser":"4.0.0-rc.115","@effect/sql-sqlite-do":"4.0.0-rc.115","effect-agent":"0.1.0-beta.103"},"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.103","@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.2","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}}}
|