@effect-agent/storage-cloudflare 0.1.0-beta.90 → 0.1.0-beta.92

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.
@@ -3752,26 +3752,14 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
3752
3752
  readonly failure: {
3753
3753
  readonly _tag: "PortProtocolError";
3754
3754
  readonly message: string;
3755
- } | {
3756
- readonly _tag: "FenceRejected";
3757
- readonly threadId: string;
3758
- readonly actualEpoch: number;
3759
- readonly attemptedEpoch: number;
3760
- } | {
3761
- readonly _tag: "ThreadStoreError";
3762
- readonly operation: string;
3763
- readonly message: string;
3764
- readonly cause?: Schema.Json | undefined;
3765
3755
  } | {
3766
3756
  readonly _tag: "ThreadNotMaterialized";
3767
3757
  readonly threadId: string;
3768
3758
  } | {
3769
- readonly _tag: "AppendConflict";
3759
+ readonly _tag: "FenceRejected";
3770
3760
  readonly threadId: string;
3771
- readonly batchId: string;
3772
- readonly reason: "batch-digest" | "record-identity" | "tail";
3773
- readonly actualTailSequence?: number | undefined;
3774
- readonly actualTailDigest?: string | undefined;
3761
+ readonly actualEpoch: number;
3762
+ readonly attemptedEpoch: number;
3775
3763
  } | {
3776
3764
  readonly _tag: "AdmissionConflict";
3777
3765
  readonly threadId: string;
@@ -3783,11 +3771,6 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
3783
3771
  readonly _tag: "AdmissionPolicyError";
3784
3772
  readonly reason: "occupied" | "refused" | "unavailable";
3785
3773
  readonly code: string;
3786
- } | {
3787
- readonly _tag: "LedgerError";
3788
- readonly operation: string;
3789
- readonly message: string;
3790
- readonly cause?: Schema.Json | undefined;
3791
3774
  } | {
3792
3775
  readonly _tag: "SettlementConflict";
3793
3776
  readonly submissionId: string;
@@ -3796,6 +3779,23 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
3796
3779
  readonly _tag: "JoinedToHost";
3797
3780
  readonly submissionId: string;
3798
3781
  readonly hostSubmissionId: string;
3782
+ } | {
3783
+ readonly _tag: "LedgerError";
3784
+ readonly operation: string;
3785
+ readonly message: string;
3786
+ readonly cause?: Schema.Json | undefined;
3787
+ } | {
3788
+ readonly _tag: "ThreadStoreError";
3789
+ readonly operation: string;
3790
+ readonly message: string;
3791
+ readonly cause?: Schema.Json | undefined;
3792
+ } | {
3793
+ readonly _tag: "AppendConflict";
3794
+ readonly threadId: string;
3795
+ readonly batchId: string;
3796
+ readonly reason: "batch-digest" | "record-identity" | "tail";
3797
+ readonly actualTailSequence?: number | undefined;
3798
+ readonly actualTailDigest?: string | undefined;
3799
3799
  };
3800
3800
  }, Schema.SchemaError, never>;
3801
3801
  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.90","dependencies":{"@effect/platform-browser":"4.0.0-rc.112","@effect/sql-sqlite-do":"4.0.0-rc.112","effect-agent":"0.1.0-beta.90"},"devDependencies":{"@cloudflare/vitest-pool-workers":"0.21.3","@cloudflare/workers-types":"5.20260825.1","@effect-agent/testing":"0.1.0-beta.90","@effect/vitest":"4.0.0-rc.112","effect":"4.0.0-rc.112","typescript":"7.0.2","vite-plus":"0.3.0","vitest":"4.1.11"},"peerDependencies":{"effect":"^4.0.0-rc.112"},"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"}}
1
+ {"name":"@effect-agent/storage-cloudflare","version":"0.1.0-beta.92","dependencies":{"@effect/platform-browser":"4.0.0-rc.115","@effect/sql-sqlite-do":"4.0.0-rc.115","effect-agent":"0.1.0-beta.92"},"devDependencies":{"@cloudflare/vitest-pool-workers":"0.21.3","@cloudflare/workers-types":"5.20260825.1","@effect-agent/testing":"0.1.0-beta.92","@effect/vitest":"4.0.0-rc.115","effect":"4.0.0-rc.115","typescript":"7.0.2","vite-plus":"0.3.0","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"}}