@effect-agent/platform-cloudflare 0.1.0-beta.101 → 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,13 +1453,21 @@ 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
|
+
readonly operation: string;
|
|
1457
1458
|
readonly message: string;
|
|
1459
|
+
readonly cause?: Schema.Json | undefined;
|
|
1458
1460
|
} | {
|
|
1459
|
-
readonly _tag: "
|
|
1461
|
+
readonly _tag: "HostProtocolError";
|
|
1460
1462
|
readonly message: string;
|
|
1461
1463
|
} | {
|
|
1462
|
-
readonly _tag: "
|
|
1464
|
+
readonly _tag: "AdmissionLimitExceeded";
|
|
1465
|
+
readonly limit: "database-bytes" | "input-bytes" | "queue-depth";
|
|
1466
|
+
readonly actual: number;
|
|
1467
|
+
readonly maximum: number;
|
|
1468
|
+
} | {
|
|
1469
|
+
readonly _tag: "LedgerError";
|
|
1470
|
+
readonly operation: string;
|
|
1463
1471
|
readonly message: string;
|
|
1464
1472
|
readonly cause?: Schema.Json | undefined;
|
|
1465
1473
|
} | {
|
|
@@ -1474,35 +1482,8 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
|
|
|
1474
1482
|
readonly reason: "occupied" | "refused" | "unavailable";
|
|
1475
1483
|
readonly code: string;
|
|
1476
1484
|
} | {
|
|
1477
|
-
readonly _tag: "
|
|
1478
|
-
readonly submissionId: string;
|
|
1479
|
-
readonly existingOutcome: "aborted" | "completed" | "failed";
|
|
1480
|
-
} | {
|
|
1481
|
-
readonly _tag: "ApprovalConflict";
|
|
1482
|
-
readonly submissionId: string;
|
|
1483
|
-
readonly toolCallId: string;
|
|
1484
|
-
readonly existingDecision: "approved" | "denied";
|
|
1485
|
-
} | {
|
|
1486
|
-
readonly _tag: "UnknownResolutionConflict";
|
|
1487
|
-
readonly submissionId: string;
|
|
1488
|
-
readonly toolCallId: string;
|
|
1489
|
-
} | {
|
|
1490
|
-
readonly _tag: "JoinedToHost";
|
|
1491
|
-
readonly submissionId: string;
|
|
1492
|
-
readonly hostSubmissionId: string;
|
|
1493
|
-
} | {
|
|
1494
|
-
readonly _tag: "LedgerError";
|
|
1495
|
-
readonly operation: string;
|
|
1496
|
-
readonly message: string;
|
|
1497
|
-
readonly cause?: Schema.Json | undefined;
|
|
1498
|
-
} | {
|
|
1499
|
-
readonly _tag: "ThreadStoreError";
|
|
1500
|
-
readonly operation: string;
|
|
1485
|
+
readonly _tag: "AgentInputError";
|
|
1501
1486
|
readonly message: string;
|
|
1502
|
-
readonly cause?: Schema.Json | undefined;
|
|
1503
|
-
} | {
|
|
1504
|
-
readonly _tag: "ThreadNotMaterialized";
|
|
1505
|
-
readonly threadId: string;
|
|
1506
1487
|
} | {
|
|
1507
1488
|
readonly _tag: "AppendConflict";
|
|
1508
1489
|
readonly threadId: string;
|
|
@@ -1510,21 +1491,23 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
|
|
|
1510
1491
|
readonly reason: "batch-digest" | "record-identity" | "tail";
|
|
1511
1492
|
readonly actualTailSequence?: number | undefined;
|
|
1512
1493
|
readonly actualTailDigest?: string | undefined;
|
|
1494
|
+
} | {
|
|
1495
|
+
readonly _tag: "DigestError";
|
|
1496
|
+
readonly message: string;
|
|
1497
|
+
readonly cause?: Schema.Json | undefined;
|
|
1498
|
+
} | {
|
|
1499
|
+
readonly _tag: "DurableRuntimeFailpointError";
|
|
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";
|
|
1513
1501
|
} | {
|
|
1514
1502
|
readonly _tag: "FenceRejected";
|
|
1515
1503
|
readonly threadId: string;
|
|
1516
1504
|
readonly actualEpoch: number;
|
|
1517
1505
|
readonly attemptedEpoch: number;
|
|
1518
1506
|
} | {
|
|
1519
|
-
readonly _tag: "
|
|
1520
|
-
readonly
|
|
1521
|
-
} | {
|
|
1522
|
-
readonly _tag: "AdmissionLimitExceeded";
|
|
1523
|
-
readonly limit: "database-bytes" | "input-bytes" | "queue-depth";
|
|
1524
|
-
readonly actual: number;
|
|
1525
|
-
readonly maximum: number;
|
|
1507
|
+
readonly _tag: "ThreadNotMaterialized";
|
|
1508
|
+
readonly threadId: string;
|
|
1526
1509
|
} | {
|
|
1527
|
-
readonly _tag: "
|
|
1510
|
+
readonly _tag: "ThreadStoreError";
|
|
1528
1511
|
readonly operation: string;
|
|
1529
1512
|
readonly message: string;
|
|
1530
1513
|
readonly cause?: Schema.Json | undefined;
|
|
@@ -1534,6 +1517,23 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
|
|
|
1534
1517
|
readonly reason: string;
|
|
1535
1518
|
readonly threadId?: string | undefined;
|
|
1536
1519
|
readonly submissionId?: string | undefined;
|
|
1520
|
+
} | {
|
|
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
|
+
} | {
|
|
1529
|
+
readonly _tag: "ApprovalConflict";
|
|
1530
|
+
readonly submissionId: string;
|
|
1531
|
+
readonly toolCallId: string;
|
|
1532
|
+
readonly existingDecision: "approved" | "denied";
|
|
1533
|
+
} | {
|
|
1534
|
+
readonly _tag: "UnknownResolutionConflict";
|
|
1535
|
+
readonly submissionId: string;
|
|
1536
|
+
readonly toolCallId: string;
|
|
1537
1537
|
};
|
|
1538
1538
|
}, Schema.SchemaError, never>;
|
|
1539
1539
|
export 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>;
|
|
@@ -705,33 +705,22 @@ declare const encodeAdminResponse: (input: AdminFailed | ExplainedRecovery | Obl
|
|
|
705
705
|
} | {
|
|
706
706
|
readonly _tag: "AdminFailed";
|
|
707
707
|
readonly failure: {
|
|
708
|
-
readonly _tag: "
|
|
709
|
-
readonly
|
|
710
|
-
} | {
|
|
711
|
-
readonly _tag: "DigestError";
|
|
708
|
+
readonly _tag: "DurableAlarmError";
|
|
709
|
+
readonly operation: string;
|
|
712
710
|
readonly message: string;
|
|
713
711
|
readonly cause?: Schema.Json | undefined;
|
|
714
712
|
} | {
|
|
715
|
-
readonly _tag: "
|
|
716
|
-
readonly reason: "occupied" | "refused" | "unavailable";
|
|
717
|
-
readonly code: string;
|
|
718
|
-
} | {
|
|
719
|
-
readonly _tag: "SettlementConflict";
|
|
720
|
-
readonly submissionId: string;
|
|
721
|
-
readonly existingOutcome: "aborted" | "completed" | "failed";
|
|
722
|
-
} | {
|
|
723
|
-
readonly _tag: "LedgerError";
|
|
724
|
-
readonly operation: string;
|
|
713
|
+
readonly _tag: "HostProtocolError";
|
|
725
714
|
readonly message: string;
|
|
726
|
-
readonly cause?: Schema.Json | undefined;
|
|
727
715
|
} | {
|
|
728
|
-
readonly _tag: "
|
|
716
|
+
readonly _tag: "LedgerError";
|
|
729
717
|
readonly operation: string;
|
|
730
718
|
readonly message: string;
|
|
731
719
|
readonly cause?: Schema.Json | undefined;
|
|
732
720
|
} | {
|
|
733
|
-
readonly _tag: "
|
|
734
|
-
readonly
|
|
721
|
+
readonly _tag: "AdmissionPolicyError";
|
|
722
|
+
readonly reason: "occupied" | "refused" | "unavailable";
|
|
723
|
+
readonly code: string;
|
|
735
724
|
} | {
|
|
736
725
|
readonly _tag: "AppendConflict";
|
|
737
726
|
readonly threadId: string;
|
|
@@ -739,16 +728,23 @@ declare const encodeAdminResponse: (input: AdminFailed | ExplainedRecovery | Obl
|
|
|
739
728
|
readonly reason: "batch-digest" | "record-identity" | "tail";
|
|
740
729
|
readonly actualTailSequence?: number | undefined;
|
|
741
730
|
readonly actualTailDigest?: string | undefined;
|
|
731
|
+
} | {
|
|
732
|
+
readonly _tag: "DigestError";
|
|
733
|
+
readonly message: string;
|
|
734
|
+
readonly cause?: Schema.Json | undefined;
|
|
735
|
+
} | {
|
|
736
|
+
readonly _tag: "DurableRuntimeFailpointError";
|
|
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";
|
|
742
738
|
} | {
|
|
743
739
|
readonly _tag: "FenceRejected";
|
|
744
740
|
readonly threadId: string;
|
|
745
741
|
readonly actualEpoch: number;
|
|
746
742
|
readonly attemptedEpoch: number;
|
|
747
743
|
} | {
|
|
748
|
-
readonly _tag: "
|
|
749
|
-
readonly
|
|
744
|
+
readonly _tag: "ThreadNotMaterialized";
|
|
745
|
+
readonly threadId: string;
|
|
750
746
|
} | {
|
|
751
|
-
readonly _tag: "
|
|
747
|
+
readonly _tag: "ThreadStoreError";
|
|
752
748
|
readonly operation: string;
|
|
753
749
|
readonly message: string;
|
|
754
750
|
readonly cause?: Schema.Json | undefined;
|
|
@@ -759,19 +755,23 @@ declare const encodeAdminResponse: (input: AdminFailed | ExplainedRecovery | Obl
|
|
|
759
755
|
readonly threadId?: string | undefined;
|
|
760
756
|
readonly submissionId?: string | undefined;
|
|
761
757
|
} | {
|
|
762
|
-
readonly _tag: "
|
|
758
|
+
readonly _tag: "RetryRefused";
|
|
763
759
|
readonly submissionId: string;
|
|
764
|
-
readonly
|
|
760
|
+
readonly refusal: "await-approval-decision" | "await-unknown-resolution" | "settled";
|
|
761
|
+
readonly decisionTag: string;
|
|
762
|
+
readonly message: string;
|
|
765
763
|
} | {
|
|
766
764
|
readonly _tag: "RunJournalError";
|
|
767
765
|
readonly message: string;
|
|
768
766
|
readonly cause?: Schema.Json | undefined;
|
|
769
767
|
} | {
|
|
770
|
-
readonly _tag: "
|
|
768
|
+
readonly _tag: "OwnershipLost";
|
|
771
769
|
readonly submissionId: string;
|
|
772
|
-
readonly
|
|
773
|
-
|
|
774
|
-
readonly
|
|
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}}}
|