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

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.
@@ -421,6 +421,11 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
421
421
  readonly createdAt: string;
422
422
  readonly deploymentId: string;
423
423
  readonly payload: {
424
+ readonly _tag: "AbortRequested";
425
+ readonly submissionId: string;
426
+ readonly author: string;
427
+ readonly reason: string;
428
+ } | {
424
429
  readonly _tag: "ThreadCreated";
425
430
  readonly agentId: string;
426
431
  readonly definitions: {
@@ -664,11 +669,6 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
664
669
  readonly runDisposition?: Schema.Json | undefined;
665
670
  readonly finishReason?: "budget-exhausted" | undefined;
666
671
  readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
667
- } | {
668
- readonly _tag: "AbortRequested";
669
- readonly submissionId: string;
670
- readonly author: string;
671
- readonly reason: string;
672
672
  } | {
673
673
  readonly _tag: "SubmissionSettled";
674
674
  readonly submissionId: string;
@@ -1130,6 +1130,11 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
1130
1130
  readonly createdAt: string;
1131
1131
  readonly deploymentId: string;
1132
1132
  readonly payload: {
1133
+ readonly _tag: "AbortRequested";
1134
+ readonly submissionId: string;
1135
+ readonly author: string;
1136
+ readonly reason: string;
1137
+ } | {
1133
1138
  readonly _tag: "ThreadCreated";
1134
1139
  readonly agentId: string;
1135
1140
  readonly definitions: {
@@ -1373,11 +1378,6 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
1373
1378
  readonly runDisposition?: Schema.Json | undefined;
1374
1379
  readonly finishReason?: "budget-exhausted" | undefined;
1375
1380
  readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
1376
- } | {
1377
- readonly _tag: "AbortRequested";
1378
- readonly submissionId: string;
1379
- readonly author: string;
1380
- readonly reason: string;
1381
1381
  } | {
1382
1382
  readonly _tag: "SubmissionSettled";
1383
1383
  readonly submissionId: string;
@@ -2310,6 +2310,11 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
2310
2310
  readonly createdAt: string;
2311
2311
  readonly deploymentId: string;
2312
2312
  readonly payload: {
2313
+ readonly _tag: "AbortRequested";
2314
+ readonly submissionId: string;
2315
+ readonly author: string;
2316
+ readonly reason: string;
2317
+ } | {
2313
2318
  readonly _tag: "ThreadCreated";
2314
2319
  readonly agentId: string;
2315
2320
  readonly definitions: {
@@ -2553,11 +2558,6 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
2553
2558
  readonly runDisposition?: Schema.Json | undefined;
2554
2559
  readonly finishReason?: "budget-exhausted" | undefined;
2555
2560
  readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
2556
- } | {
2557
- readonly _tag: "AbortRequested";
2558
- readonly submissionId: string;
2559
- readonly author: string;
2560
- readonly reason: string;
2561
2561
  } | {
2562
2562
  readonly _tag: "SubmissionSettled";
2563
2563
  readonly submissionId: string;
@@ -3041,6 +3041,11 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
3041
3041
  readonly createdAt: string;
3042
3042
  readonly deploymentId: string;
3043
3043
  readonly payload: {
3044
+ readonly _tag: "AbortRequested";
3045
+ readonly submissionId: string;
3046
+ readonly author: string;
3047
+ readonly reason: string;
3048
+ } | {
3044
3049
  readonly _tag: "ThreadCreated";
3045
3050
  readonly agentId: string;
3046
3051
  readonly definitions: {
@@ -3284,11 +3289,6 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
3284
3289
  readonly runDisposition?: Schema.Json | undefined;
3285
3290
  readonly finishReason?: "budget-exhausted" | undefined;
3286
3291
  readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
3287
- } | {
3288
- readonly _tag: "AbortRequested";
3289
- readonly submissionId: string;
3290
- readonly author: string;
3291
- readonly reason: string;
3292
3292
  } | {
3293
3293
  readonly _tag: "SubmissionSettled";
3294
3294
  readonly submissionId: string;
@@ -3750,6 +3750,9 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
3750
3750
  } | {
3751
3751
  readonly _tag: "PortFailed";
3752
3752
  readonly failure: {
3753
+ readonly _tag: "PortProtocolError";
3754
+ readonly message: string;
3755
+ } | {
3753
3756
  readonly _tag: "FenceRejected";
3754
3757
  readonly threadId: string;
3755
3758
  readonly actualEpoch: number;
@@ -3785,9 +3788,6 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
3785
3788
  readonly operation: string;
3786
3789
  readonly message: string;
3787
3790
  readonly cause?: Schema.Json | undefined;
3788
- } | {
3789
- readonly _tag: "PortProtocolError";
3790
- readonly message: string;
3791
3791
  } | {
3792
3792
  readonly _tag: "SettlementConflict";
3793
3793
  readonly submissionId: string;
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@effect-agent/storage-cloudflare","version":"0.1.0-beta.89","dependencies":{"@effect/platform-browser":"4.0.0-rc.112","@effect/sql-sqlite-do":"4.0.0-rc.112","effect-agent":"0.1.0-beta.89"},"devDependencies":{"@cloudflare/vitest-pool-workers":"0.21.3","@cloudflare/workers-types":"5.20260825.1","@effect-agent/testing":"0.1.0-beta.89","@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.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"}}