@effect-agent/storage-cloudflare 0.1.0-beta.74 → 0.1.0-beta.75

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: "SubmissionSettled";
359
354
  readonly submissionId: string;
360
355
  readonly settlementId: string;
@@ -604,6 +599,11 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
604
599
  readonly runDisposition?: Schema.Json | undefined;
605
600
  readonly finishReason?: "budget-exhausted" | undefined;
606
601
  readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
602
+ } | {
603
+ readonly _tag: "AbortRequested";
604
+ readonly submissionId: string;
605
+ readonly author: string;
606
+ readonly reason: string;
607
607
  } | {
608
608
  readonly _tag: "SubagentRequested";
609
609
  readonly runId: string;
@@ -945,11 +945,6 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
945
945
  readonly createdAt: string;
946
946
  readonly deploymentId: string;
947
947
  readonly payload: {
948
- readonly _tag: "AbortRequested";
949
- readonly submissionId: string;
950
- readonly author: string;
951
- readonly reason: string;
952
- } | {
953
948
  readonly _tag: "SubmissionSettled";
954
949
  readonly submissionId: string;
955
950
  readonly settlementId: string;
@@ -1199,6 +1194,11 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
1199
1194
  readonly runDisposition?: Schema.Json | undefined;
1200
1195
  readonly finishReason?: "budget-exhausted" | undefined;
1201
1196
  readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
1197
+ } | {
1198
+ readonly _tag: "AbortRequested";
1199
+ readonly submissionId: string;
1200
+ readonly author: string;
1201
+ readonly reason: string;
1202
1202
  } | {
1203
1203
  readonly _tag: "SubagentRequested";
1204
1204
  readonly runId: string;
@@ -1869,11 +1869,6 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
1869
1869
  readonly createdAt: string;
1870
1870
  readonly deploymentId: string;
1871
1871
  readonly payload: {
1872
- readonly _tag: "AbortRequested";
1873
- readonly submissionId: string;
1874
- readonly author: string;
1875
- readonly reason: string;
1876
- } | {
1877
1872
  readonly _tag: "SubmissionSettled";
1878
1873
  readonly submissionId: string;
1879
1874
  readonly settlementId: string;
@@ -2123,6 +2118,11 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
2123
2118
  readonly runDisposition?: Schema.Json | undefined;
2124
2119
  readonly finishReason?: "budget-exhausted" | undefined;
2125
2120
  readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
2121
+ } | {
2122
+ readonly _tag: "AbortRequested";
2123
+ readonly submissionId: string;
2124
+ readonly author: string;
2125
+ readonly reason: string;
2126
2126
  } | {
2127
2127
  readonly _tag: "SubagentRequested";
2128
2128
  readonly runId: string;
@@ -2486,11 +2486,6 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
2486
2486
  readonly createdAt: string;
2487
2487
  readonly deploymentId: string;
2488
2488
  readonly payload: {
2489
- readonly _tag: "AbortRequested";
2490
- readonly submissionId: string;
2491
- readonly author: string;
2492
- readonly reason: string;
2493
- } | {
2494
2489
  readonly _tag: "SubmissionSettled";
2495
2490
  readonly submissionId: string;
2496
2491
  readonly settlementId: string;
@@ -2740,6 +2735,11 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
2740
2735
  readonly runDisposition?: Schema.Json | undefined;
2741
2736
  readonly finishReason?: "budget-exhausted" | undefined;
2742
2737
  readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
2738
+ } | {
2739
+ readonly _tag: "AbortRequested";
2740
+ readonly submissionId: string;
2741
+ readonly author: string;
2742
+ readonly reason: string;
2743
2743
  } | {
2744
2744
  readonly _tag: "SubagentRequested";
2745
2745
  readonly runId: string;
@@ -3111,6 +3111,10 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
3111
3111
  readonly _tag: "SettlementConflict";
3112
3112
  readonly submissionId: string;
3113
3113
  readonly existingOutcome: "aborted" | "completed" | "failed";
3114
+ } | {
3115
+ readonly _tag: "JoinedToHost";
3116
+ readonly submissionId: string;
3117
+ readonly hostSubmissionId: string;
3114
3118
  } | {
3115
3119
  readonly _tag: "ThreadStoreError";
3116
3120
  readonly operation: string;
@@ -3123,10 +3127,6 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
3123
3127
  readonly reason: "batch-digest" | "record-identity" | "tail";
3124
3128
  readonly actualTailSequence?: number | undefined;
3125
3129
  readonly actualTailDigest?: string | undefined;
3126
- } | {
3127
- readonly _tag: "JoinedToHost";
3128
- readonly submissionId: string;
3129
- readonly hostSubmissionId: string;
3130
3130
  };
3131
3131
  }, Schema.SchemaError, never>;
3132
3132
  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.74","dependencies":{"@effect-agent/core":"0.1.0-beta.74","@effect-agent/thread":"0.1.0-beta.74","@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.74","@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.75","dependencies":{"@effect-agent/core":"0.1.0-beta.75","@effect-agent/thread":"0.1.0-beta.75","@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.75","@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"}}