@effect-agent/storage-cloudflare 0.1.0-beta.80 → 0.1.0-beta.81

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.
@@ -350,11 +350,6 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
350
350
  readonly createdAt: string;
351
351
  readonly deploymentId: string;
352
352
  readonly payload: {
353
- readonly _tag: "AbortRequested";
354
- readonly submissionId: string;
355
- readonly author: string;
356
- readonly reason: string;
357
- } | {
358
353
  readonly _tag: "ThreadCreated";
359
354
  readonly agentId: string;
360
355
  readonly definitions: {
@@ -529,6 +524,11 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
529
524
  readonly runDisposition?: Schema.Json | undefined;
530
525
  readonly finishReason?: "budget-exhausted" | undefined;
531
526
  readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
527
+ } | {
528
+ readonly _tag: "AbortRequested";
529
+ readonly submissionId: string;
530
+ readonly author: string;
531
+ readonly reason: string;
532
532
  } | {
533
533
  readonly _tag: "SubmissionSettled";
534
534
  readonly submissionId: string;
@@ -963,11 +963,6 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
963
963
  readonly createdAt: string;
964
964
  readonly deploymentId: string;
965
965
  readonly payload: {
966
- readonly _tag: "AbortRequested";
967
- readonly submissionId: string;
968
- readonly author: string;
969
- readonly reason: string;
970
- } | {
971
966
  readonly _tag: "ThreadCreated";
972
967
  readonly agentId: string;
973
968
  readonly definitions: {
@@ -1142,6 +1137,11 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
1142
1137
  readonly runDisposition?: Schema.Json | undefined;
1143
1138
  readonly finishReason?: "budget-exhausted" | undefined;
1144
1139
  readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
1140
+ } | {
1141
+ readonly _tag: "AbortRequested";
1142
+ readonly submissionId: string;
1143
+ readonly author: string;
1144
+ readonly reason: string;
1145
1145
  } | {
1146
1146
  readonly _tag: "SubmissionSettled";
1147
1147
  readonly submissionId: string;
@@ -1905,11 +1905,6 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
1905
1905
  readonly createdAt: string;
1906
1906
  readonly deploymentId: string;
1907
1907
  readonly payload: {
1908
- readonly _tag: "AbortRequested";
1909
- readonly submissionId: string;
1910
- readonly author: string;
1911
- readonly reason: string;
1912
- } | {
1913
1908
  readonly _tag: "ThreadCreated";
1914
1909
  readonly agentId: string;
1915
1910
  readonly definitions: {
@@ -2084,6 +2079,11 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
2084
2079
  readonly runDisposition?: Schema.Json | undefined;
2085
2080
  readonly finishReason?: "budget-exhausted" | undefined;
2086
2081
  readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
2082
+ } | {
2083
+ readonly _tag: "AbortRequested";
2084
+ readonly submissionId: string;
2085
+ readonly author: string;
2086
+ readonly reason: string;
2087
2087
  } | {
2088
2088
  readonly _tag: "SubmissionSettled";
2089
2089
  readonly submissionId: string;
@@ -2540,11 +2540,6 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
2540
2540
  readonly createdAt: string;
2541
2541
  readonly deploymentId: string;
2542
2542
  readonly payload: {
2543
- readonly _tag: "AbortRequested";
2544
- readonly submissionId: string;
2545
- readonly author: string;
2546
- readonly reason: string;
2547
- } | {
2548
2543
  readonly _tag: "ThreadCreated";
2549
2544
  readonly agentId: string;
2550
2545
  readonly definitions: {
@@ -2719,6 +2714,11 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
2719
2714
  readonly runDisposition?: Schema.Json | undefined;
2720
2715
  readonly finishReason?: "budget-exhausted" | undefined;
2721
2716
  readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
2717
+ } | {
2718
+ readonly _tag: "AbortRequested";
2719
+ readonly submissionId: string;
2720
+ readonly author: string;
2721
+ readonly reason: string;
2722
2722
  } | {
2723
2723
  readonly _tag: "SubmissionSettled";
2724
2724
  readonly submissionId: string;
@@ -3153,8 +3153,25 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
3153
3153
  } | {
3154
3154
  readonly _tag: "PortFailed";
3155
3155
  readonly failure: {
3156
- readonly _tag: "PortProtocolError";
3156
+ readonly _tag: "ThreadNotMaterialized";
3157
+ readonly threadId: string;
3158
+ } | {
3159
+ readonly _tag: "FenceRejected";
3160
+ readonly threadId: string;
3161
+ readonly actualEpoch: number;
3162
+ readonly attemptedEpoch: number;
3163
+ } | {
3164
+ readonly _tag: "ThreadStoreError";
3165
+ readonly operation: string;
3157
3166
  readonly message: string;
3167
+ readonly cause?: Schema.Json | undefined;
3168
+ } | {
3169
+ readonly _tag: "AppendConflict";
3170
+ readonly threadId: string;
3171
+ readonly batchId: string;
3172
+ readonly reason: "batch-digest" | "record-identity" | "tail";
3173
+ readonly actualTailSequence?: number | undefined;
3174
+ readonly actualTailDigest?: string | undefined;
3158
3175
  } | {
3159
3176
  readonly _tag: "AdmissionConflict";
3160
3177
  readonly threadId: string;
@@ -3176,29 +3193,12 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
3176
3193
  readonly submissionId: string;
3177
3194
  readonly existingOutcome: "aborted" | "completed" | "failed";
3178
3195
  } | {
3179
- readonly _tag: "ThreadNotMaterialized";
3180
- readonly threadId: string;
3181
- } | {
3182
- readonly _tag: "FenceRejected";
3183
- readonly threadId: string;
3184
- readonly actualEpoch: number;
3185
- readonly attemptedEpoch: number;
3196
+ readonly _tag: "PortProtocolError";
3197
+ readonly message: string;
3186
3198
  } | {
3187
3199
  readonly _tag: "JoinedToHost";
3188
3200
  readonly submissionId: string;
3189
3201
  readonly hostSubmissionId: string;
3190
- } | {
3191
- readonly _tag: "ThreadStoreError";
3192
- readonly operation: string;
3193
- readonly message: string;
3194
- readonly cause?: Schema.Json | undefined;
3195
- } | {
3196
- readonly _tag: "AppendConflict";
3197
- readonly threadId: string;
3198
- readonly batchId: string;
3199
- readonly reason: "batch-digest" | "record-identity" | "tail";
3200
- readonly actualTailSequence?: number | undefined;
3201
- readonly actualTailDigest?: string | undefined;
3202
3202
  };
3203
3203
  }, Schema.SchemaError, never>;
3204
3204
  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.80","dependencies":{"@effect-agent/core":"0.1.0-beta.80","@effect-agent/thread":"0.1.0-beta.80","@effect/platform-browser":"4.0.0-rc.112","@effect/sql-sqlite-do":"4.0.0-rc.112"},"devDependencies":{"@cloudflare/vitest-pool-workers":"0.21.3","@cloudflare/workers-types":"5.20260825.1","@effect-agent/testing":"0.1.0-beta.80","@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"},"./DoMemoryStore":{"types":"./dist/DoMemoryStore.d.mts","default":"./dist/DoMemoryStore.mjs"},"./DoScheduleStore":{"types":"./dist/DoScheduleStore.d.mts","default":"./dist/DoScheduleStore.mjs"},"./DoStorageConfig":{"types":"./dist/DoStorageConfig.d.mts","default":"./dist/DoStorageConfig.mjs"},"./DoStorageError":{"types":"./dist/DoStorageError.d.mts","default":"./dist/DoStorageError.mjs"},"./DoStorageFailpoint":{"types":"./dist/DoStorageFailpoint.d.mts","default":"./dist/DoStorageFailpoint.mjs"},"./DoStorageVersion":{"types":"./dist/DoStorageVersion.d.mts","default":"./dist/DoStorageVersion.mjs"},"./DoSubmissionLedger":{"types":"./dist/DoSubmissionLedger.d.mts","default":"./dist/DoSubmissionLedger.mjs"},"./DoSubscriptionStore":{"types":"./dist/DoSubscriptionStore.d.mts","default":"./dist/DoSubscriptionStore.mjs"},"./DoThreadStore":{"types":"./dist/DoThreadStore.d.mts","default":"./dist/DoThreadStore.mjs"},"./MemoryProtocol":{"types":"./dist/MemoryProtocol.d.mts","default":"./dist/MemoryProtocol.mjs"},"./PortProtocol":{"types":"./dist/PortProtocol.d.mts","default":"./dist/PortProtocol.mjs"},"./PortRouting":{"types":"./dist/PortRouting.d.mts","default":"./dist/PortRouting.mjs"},"./testing/DoStorageFailpointTesting":{"types":"./dist/DoStorageFailpointTesting.d.mts","default":"./dist/DoStorageFailpointTesting.mjs"},"./DoMessageDeliveryStore":{"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.81","dependencies":{"@effect-agent/core":"0.1.0-beta.81","@effect-agent/thread":"0.1.0-beta.81","@effect/platform-browser":"4.0.0-rc.112","@effect/sql-sqlite-do":"4.0.0-rc.112"},"devDependencies":{"@cloudflare/vitest-pool-workers":"0.21.3","@cloudflare/workers-types":"5.20260825.1","@effect-agent/testing":"0.1.0-beta.81","@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"},"./DoMemoryStore":{"types":"./dist/DoMemoryStore.d.mts","default":"./dist/DoMemoryStore.mjs"},"./DoScheduleStore":{"types":"./dist/DoScheduleStore.d.mts","default":"./dist/DoScheduleStore.mjs"},"./DoStorageConfig":{"types":"./dist/DoStorageConfig.d.mts","default":"./dist/DoStorageConfig.mjs"},"./DoStorageError":{"types":"./dist/DoStorageError.d.mts","default":"./dist/DoStorageError.mjs"},"./DoStorageFailpoint":{"types":"./dist/DoStorageFailpoint.d.mts","default":"./dist/DoStorageFailpoint.mjs"},"./DoStorageVersion":{"types":"./dist/DoStorageVersion.d.mts","default":"./dist/DoStorageVersion.mjs"},"./DoSubmissionLedger":{"types":"./dist/DoSubmissionLedger.d.mts","default":"./dist/DoSubmissionLedger.mjs"},"./DoSubscriptionStore":{"types":"./dist/DoSubscriptionStore.d.mts","default":"./dist/DoSubscriptionStore.mjs"},"./DoThreadStore":{"types":"./dist/DoThreadStore.d.mts","default":"./dist/DoThreadStore.mjs"},"./MemoryProtocol":{"types":"./dist/MemoryProtocol.d.mts","default":"./dist/MemoryProtocol.mjs"},"./PortProtocol":{"types":"./dist/PortProtocol.d.mts","default":"./dist/PortProtocol.mjs"},"./PortRouting":{"types":"./dist/PortRouting.d.mts","default":"./dist/PortRouting.mjs"},"./testing/DoStorageFailpointTesting":{"types":"./dist/DoStorageFailpointTesting.d.mts","default":"./dist/DoStorageFailpointTesting.mjs"},"./DoMessageDeliveryStore":{"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"}}