@effect-agent/storage-cloudflare 0.1.0-beta.83 → 0.1.0-beta.84
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 +39 -39
- package/package.json +1 -1
package/dist/PortProtocol.d.mts
CHANGED
|
@@ -350,6 +350,11 @@ 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
|
+
} | {
|
|
353
358
|
readonly _tag: "ThreadCreated";
|
|
354
359
|
readonly agentId: string;
|
|
355
360
|
readonly definitions: {
|
|
@@ -524,11 +529,6 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
|
|
|
524
529
|
readonly runDisposition?: Schema.Json | undefined;
|
|
525
530
|
readonly finishReason?: "budget-exhausted" | undefined;
|
|
526
531
|
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,6 +963,11 @@ 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
|
+
} | {
|
|
966
971
|
readonly _tag: "ThreadCreated";
|
|
967
972
|
readonly agentId: string;
|
|
968
973
|
readonly definitions: {
|
|
@@ -1137,11 +1142,6 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
|
|
|
1137
1142
|
readonly runDisposition?: Schema.Json | undefined;
|
|
1138
1143
|
readonly finishReason?: "budget-exhausted" | undefined;
|
|
1139
1144
|
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,6 +1905,11 @@ 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
|
+
} | {
|
|
1908
1913
|
readonly _tag: "ThreadCreated";
|
|
1909
1914
|
readonly agentId: string;
|
|
1910
1915
|
readonly definitions: {
|
|
@@ -2079,11 +2084,6 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
|
|
|
2079
2084
|
readonly runDisposition?: Schema.Json | undefined;
|
|
2080
2085
|
readonly finishReason?: "budget-exhausted" | undefined;
|
|
2081
2086
|
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,6 +2540,11 @@ 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
|
+
} | {
|
|
2543
2548
|
readonly _tag: "ThreadCreated";
|
|
2544
2549
|
readonly agentId: string;
|
|
2545
2550
|
readonly definitions: {
|
|
@@ -2714,11 +2719,6 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
|
|
|
2714
2719
|
readonly runDisposition?: Schema.Json | undefined;
|
|
2715
2720
|
readonly finishReason?: "budget-exhausted" | undefined;
|
|
2716
2721
|
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,14 +3153,6 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
|
|
|
3153
3153
|
} | {
|
|
3154
3154
|
readonly _tag: "PortFailed";
|
|
3155
3155
|
readonly failure: {
|
|
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
3156
|
readonly _tag: "AdmissionConflict";
|
|
3165
3157
|
readonly threadId: string;
|
|
3166
3158
|
readonly principal: string;
|
|
@@ -3176,6 +3168,25 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
|
|
|
3176
3168
|
readonly operation: string;
|
|
3177
3169
|
readonly message: string;
|
|
3178
3170
|
readonly cause?: Schema.Json | undefined;
|
|
3171
|
+
} | {
|
|
3172
|
+
readonly _tag: "PortProtocolError";
|
|
3173
|
+
readonly message: string;
|
|
3174
|
+
} | {
|
|
3175
|
+
readonly _tag: "SettlementConflict";
|
|
3176
|
+
readonly submissionId: string;
|
|
3177
|
+
readonly existingOutcome: "aborted" | "completed" | "failed";
|
|
3178
|
+
} | {
|
|
3179
|
+
readonly _tag: "JoinedToHost";
|
|
3180
|
+
readonly submissionId: string;
|
|
3181
|
+
readonly hostSubmissionId: string;
|
|
3182
|
+
} | {
|
|
3183
|
+
readonly _tag: "ThreadNotMaterialized";
|
|
3184
|
+
readonly threadId: string;
|
|
3185
|
+
} | {
|
|
3186
|
+
readonly _tag: "FenceRejected";
|
|
3187
|
+
readonly threadId: string;
|
|
3188
|
+
readonly actualEpoch: number;
|
|
3189
|
+
readonly attemptedEpoch: number;
|
|
3179
3190
|
} | {
|
|
3180
3191
|
readonly _tag: "ThreadStoreError";
|
|
3181
3192
|
readonly operation: string;
|
|
@@ -3188,17 +3199,6 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
|
|
|
3188
3199
|
readonly reason: "batch-digest" | "record-identity" | "tail";
|
|
3189
3200
|
readonly actualTailSequence?: number | undefined;
|
|
3190
3201
|
readonly actualTailDigest?: string | undefined;
|
|
3191
|
-
} | {
|
|
3192
|
-
readonly _tag: "PortProtocolError";
|
|
3193
|
-
readonly message: string;
|
|
3194
|
-
} | {
|
|
3195
|
-
readonly _tag: "SettlementConflict";
|
|
3196
|
-
readonly submissionId: string;
|
|
3197
|
-
readonly existingOutcome: "aborted" | "completed" | "failed";
|
|
3198
|
-
} | {
|
|
3199
|
-
readonly _tag: "JoinedToHost";
|
|
3200
|
-
readonly submissionId: string;
|
|
3201
|
-
readonly hostSubmissionId: string;
|
|
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.
|
|
1
|
+
{"name":"@effect-agent/storage-cloudflare","version":"0.1.0-beta.84","dependencies":{"@effect-agent/core":"0.1.0-beta.84","@effect-agent/thread":"0.1.0-beta.84","@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.84","@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"}}
|