@effect-agent/storage-cloudflare 0.1.0-beta.108 → 0.1.0-beta.109
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/PortProtocol.d.mts +36 -36
- package/package.json +1 -1
package/dist/PortProtocol.d.mts
CHANGED
|
@@ -654,11 +654,6 @@ export declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCa
|
|
|
654
654
|
readonly createdAt: string;
|
|
655
655
|
readonly deploymentId: string;
|
|
656
656
|
readonly payload: {
|
|
657
|
-
readonly _tag: "AbortRequested";
|
|
658
|
-
readonly submissionId: string;
|
|
659
|
-
readonly author: string;
|
|
660
|
-
readonly reason: string;
|
|
661
|
-
} | {
|
|
662
657
|
readonly _tag: "ThreadCreated";
|
|
663
658
|
readonly agentId: string;
|
|
664
659
|
readonly definitions: {
|
|
@@ -936,6 +931,11 @@ export declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCa
|
|
|
936
931
|
readonly runDisposition?: Schema.Json | undefined;
|
|
937
932
|
readonly finishReason?: "budget-exhausted" | undefined;
|
|
938
933
|
readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
|
|
934
|
+
} | {
|
|
935
|
+
readonly _tag: "AbortRequested";
|
|
936
|
+
readonly submissionId: string;
|
|
937
|
+
readonly author: string;
|
|
938
|
+
readonly reason: string;
|
|
939
939
|
} | {
|
|
940
940
|
readonly _tag: "SubmissionSettled";
|
|
941
941
|
readonly submissionId: string;
|
|
@@ -1447,11 +1447,6 @@ export declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCa
|
|
|
1447
1447
|
readonly createdAt: string;
|
|
1448
1448
|
readonly deploymentId: string;
|
|
1449
1449
|
readonly payload: {
|
|
1450
|
-
readonly _tag: "AbortRequested";
|
|
1451
|
-
readonly submissionId: string;
|
|
1452
|
-
readonly author: string;
|
|
1453
|
-
readonly reason: string;
|
|
1454
|
-
} | {
|
|
1455
1450
|
readonly _tag: "ThreadCreated";
|
|
1456
1451
|
readonly agentId: string;
|
|
1457
1452
|
readonly definitions: {
|
|
@@ -1729,6 +1724,11 @@ export declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCa
|
|
|
1729
1724
|
readonly runDisposition?: Schema.Json | undefined;
|
|
1730
1725
|
readonly finishReason?: "budget-exhausted" | undefined;
|
|
1731
1726
|
readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
|
|
1727
|
+
} | {
|
|
1728
|
+
readonly _tag: "AbortRequested";
|
|
1729
|
+
readonly submissionId: string;
|
|
1730
|
+
readonly author: string;
|
|
1731
|
+
readonly reason: string;
|
|
1732
1732
|
} | {
|
|
1733
1733
|
readonly _tag: "SubmissionSettled";
|
|
1734
1734
|
readonly submissionId: string;
|
|
@@ -2789,11 +2789,6 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
|
|
|
2789
2789
|
readonly createdAt: string;
|
|
2790
2790
|
readonly deploymentId: string;
|
|
2791
2791
|
readonly payload: {
|
|
2792
|
-
readonly _tag: "AbortRequested";
|
|
2793
|
-
readonly submissionId: string;
|
|
2794
|
-
readonly author: string;
|
|
2795
|
-
readonly reason: string;
|
|
2796
|
-
} | {
|
|
2797
2792
|
readonly _tag: "ThreadCreated";
|
|
2798
2793
|
readonly agentId: string;
|
|
2799
2794
|
readonly definitions: {
|
|
@@ -3071,6 +3066,11 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
|
|
|
3071
3066
|
readonly runDisposition?: Schema.Json | undefined;
|
|
3072
3067
|
readonly finishReason?: "budget-exhausted" | undefined;
|
|
3073
3068
|
readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
|
|
3069
|
+
} | {
|
|
3070
|
+
readonly _tag: "AbortRequested";
|
|
3071
|
+
readonly submissionId: string;
|
|
3072
|
+
readonly author: string;
|
|
3073
|
+
readonly reason: string;
|
|
3074
3074
|
} | {
|
|
3075
3075
|
readonly _tag: "SubmissionSettled";
|
|
3076
3076
|
readonly submissionId: string;
|
|
@@ -3604,11 +3604,6 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
|
|
|
3604
3604
|
readonly createdAt: string;
|
|
3605
3605
|
readonly deploymentId: string;
|
|
3606
3606
|
readonly payload: {
|
|
3607
|
-
readonly _tag: "AbortRequested";
|
|
3608
|
-
readonly submissionId: string;
|
|
3609
|
-
readonly author: string;
|
|
3610
|
-
readonly reason: string;
|
|
3611
|
-
} | {
|
|
3612
3607
|
readonly _tag: "ThreadCreated";
|
|
3613
3608
|
readonly agentId: string;
|
|
3614
3609
|
readonly definitions: {
|
|
@@ -3886,6 +3881,11 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
|
|
|
3886
3881
|
readonly runDisposition?: Schema.Json | undefined;
|
|
3887
3882
|
readonly finishReason?: "budget-exhausted" | undefined;
|
|
3888
3883
|
readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
|
|
3884
|
+
} | {
|
|
3885
|
+
readonly _tag: "AbortRequested";
|
|
3886
|
+
readonly submissionId: string;
|
|
3887
|
+
readonly author: string;
|
|
3888
|
+
readonly reason: string;
|
|
3889
3889
|
} | {
|
|
3890
3890
|
readonly _tag: "SubmissionSettled";
|
|
3891
3891
|
readonly submissionId: string;
|
|
@@ -4719,14 +4719,27 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
|
|
|
4719
4719
|
} | {
|
|
4720
4720
|
readonly _tag: "PortFailed";
|
|
4721
4721
|
readonly failure: {
|
|
4722
|
-
readonly _tag: "PortProtocolError";
|
|
4723
|
-
readonly message: string;
|
|
4724
|
-
} | {
|
|
4725
4722
|
readonly _tag: "MessageDeliveryError";
|
|
4726
4723
|
readonly cause?: import("effect-agent/failure-diagnostic").Diagnostic | undefined;
|
|
4727
4724
|
readonly stack?: string | undefined;
|
|
4728
4725
|
readonly reason: "capacity" | "conflict" | "corrupt" | "not-found" | "storage" | "validation";
|
|
4729
4726
|
readonly operation: string;
|
|
4727
|
+
} | {
|
|
4728
|
+
readonly _tag: "ThreadNotMaterialized";
|
|
4729
|
+
readonly threadId: string;
|
|
4730
|
+
} | {
|
|
4731
|
+
readonly _tag: "FenceRejected";
|
|
4732
|
+
readonly threadId: string;
|
|
4733
|
+
readonly actualEpoch: number;
|
|
4734
|
+
readonly attemptedEpoch: number;
|
|
4735
|
+
} | {
|
|
4736
|
+
readonly _tag: "ThreadStoreError";
|
|
4737
|
+
readonly operation: string;
|
|
4738
|
+
readonly message: string;
|
|
4739
|
+
readonly cause?: Schema.Json | undefined;
|
|
4740
|
+
} | {
|
|
4741
|
+
readonly _tag: "PortProtocolError";
|
|
4742
|
+
readonly message: string;
|
|
4730
4743
|
} | {
|
|
4731
4744
|
readonly _tag: "AdmissionConflict";
|
|
4732
4745
|
readonly threadId: string;
|
|
@@ -4753,14 +4766,6 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
|
|
|
4753
4766
|
readonly operation: string;
|
|
4754
4767
|
readonly message: string;
|
|
4755
4768
|
readonly cause?: import("effect-agent/failure-diagnostic").Diagnostic | undefined;
|
|
4756
|
-
} | {
|
|
4757
|
-
readonly _tag: "ThreadStoreError";
|
|
4758
|
-
readonly operation: string;
|
|
4759
|
-
readonly message: string;
|
|
4760
|
-
readonly cause?: Schema.Json | undefined;
|
|
4761
|
-
} | {
|
|
4762
|
-
readonly _tag: "ThreadNotMaterialized";
|
|
4763
|
-
readonly threadId: string;
|
|
4764
4769
|
} | {
|
|
4765
4770
|
readonly _tag: "AppendConflict";
|
|
4766
4771
|
readonly threadId: string;
|
|
@@ -4768,11 +4773,6 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
|
|
|
4768
4773
|
readonly reason: "batch-digest" | "record-identity" | "tail";
|
|
4769
4774
|
readonly actualTailSequence?: number | undefined;
|
|
4770
4775
|
readonly actualTailDigest?: string | undefined;
|
|
4771
|
-
} | {
|
|
4772
|
-
readonly _tag: "FenceRejected";
|
|
4773
|
-
readonly threadId: string;
|
|
4774
|
-
readonly actualEpoch: number;
|
|
4775
|
-
readonly attemptedEpoch: number;
|
|
4776
4776
|
};
|
|
4777
4777
|
}, Schema.SchemaError, never>;
|
|
4778
4778
|
export declare const decodePortResponse: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<PortFailed | PortSucceeded, Schema.SchemaError, never>;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@effect-agent/storage-cloudflare","version":"0.1.0-beta.
|
|
1
|
+
{"name":"@effect-agent/storage-cloudflare","version":"0.1.0-beta.109","dependencies":{"@effect/platform-browser":"4.0.0-rc.115","@effect/sql-sqlite-do":"4.0.0-rc.115","effect-agent":"0.1.0-beta.109"},"devDependencies":{"@cloudflare/vitest-pool-workers":"0.21.3","@cloudflare/workers-types":"5.20260825.1","@effect-agent/testing":"0.1.0-beta.109","@effect/vitest":"4.0.0-rc.115","effect":"4.0.0-rc.115","typescript":"7.0.2","vite-plus":"0.3.2","vitest":"4.1.11"},"peerDependencies":{"effect":"^4.0.0-rc.115"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./do-memory-store":{"types":"./dist/DoMemoryStore.d.mts","default":"./dist/DoMemoryStore.mjs"},"./do-schedule-store":{"types":"./dist/DoScheduleStore.d.mts","default":"./dist/DoScheduleStore.mjs"},"./do-storage-config":{"types":"./dist/DoStorageConfig.d.mts","default":"./dist/DoStorageConfig.mjs"},"./do-storage-error":{"types":"./dist/DoStorageError.d.mts","default":"./dist/DoStorageError.mjs"},"./do-storage-failpoint":{"types":"./dist/DoStorageFailpoint.d.mts","default":"./dist/DoStorageFailpoint.mjs"},"./do-storage-version":{"types":"./dist/DoStorageVersion.d.mts","default":"./dist/DoStorageVersion.mjs"},"./do-submission-ledger":{"types":"./dist/DoSubmissionLedger.d.mts","default":"./dist/DoSubmissionLedger.mjs"},"./do-subscription-store":{"types":"./dist/DoSubscriptionStore.d.mts","default":"./dist/DoSubscriptionStore.mjs"},"./do-thread-store":{"types":"./dist/DoThreadStore.d.mts","default":"./dist/DoThreadStore.mjs"},"./memory-protocol":{"types":"./dist/MemoryProtocol.d.mts","default":"./dist/MemoryProtocol.mjs"},"./port-protocol":{"types":"./dist/PortProtocol.d.mts","default":"./dist/PortProtocol.mjs"},"./port-routing":{"types":"./dist/PortRouting.d.mts","default":"./dist/PortRouting.mjs"},"./testing/do-storage-failpoint-testing":{"types":"./dist/DoStorageFailpointTesting.d.mts","default":"./dist/DoStorageFailpointTesting.mjs"},"./do-message-delivery-store":{"types":"./dist/DoMessageDeliveryStore.d.mts","default":"./dist/DoMessageDeliveryStore.mjs"}},"description":"Durable Object SQLite storage adapters and the routed port protocol for Effect Agent on Cloudflare.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/danieljvdm/effect-agent.git","directory":"packages/storage-cloudflare"},"files":["dist","src"],"type":"module","sideEffects":[],"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","check":"tsc --noEmit -p tsconfig.json"}}
|