@effect-agent/storage-cloudflare 0.1.0-beta.104 → 0.1.0-beta.106
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 +21 -1
- package/package.json +1 -1
package/dist/PortProtocol.d.mts
CHANGED
|
@@ -354,6 +354,7 @@ declare const MessageDeliveryListResult_base: Schema.Class<MessageDeliveryListRe
|
|
|
354
354
|
readonly lastAttemptAtMillis: Schema.NullOr<Schema.Int>;
|
|
355
355
|
readonly lastFailure: Schema.NullOr<Schema.Literals<readonly ["transport", "capacity", "storage", "host-closed", "timeout", "ambiguous"]>>;
|
|
356
356
|
}>;
|
|
357
|
+
readonly lastFailureDiagnostic: Schema.optionalKey<Schema.Codec<import("effect-agent/failure-diagnostic").Diagnostic, import("effect-agent/failure-diagnostic").Diagnostic, never, never>>;
|
|
357
358
|
}>>;
|
|
358
359
|
readonly next: Schema.NullOr<Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/IdempotencyKey">>;
|
|
359
360
|
}>;
|
|
@@ -4681,6 +4682,20 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
|
|
|
4681
4682
|
readonly failure?: {
|
|
4682
4683
|
readonly errorTag: string;
|
|
4683
4684
|
readonly message: string;
|
|
4685
|
+
readonly diagnostic?: import("effect-agent/failure-diagnostic").Diagnostic | undefined;
|
|
4686
|
+
readonly context?: {
|
|
4687
|
+
readonly agentId?: string | undefined;
|
|
4688
|
+
readonly threadId?: string | undefined;
|
|
4689
|
+
readonly runId?: string | undefined;
|
|
4690
|
+
readonly submissionId?: string | undefined;
|
|
4691
|
+
readonly attemptId?: string | undefined;
|
|
4692
|
+
readonly turnId?: string | undefined;
|
|
4693
|
+
readonly toolCallId?: string | undefined;
|
|
4694
|
+
readonly toolName?: string | undefined;
|
|
4695
|
+
readonly callId?: string | undefined;
|
|
4696
|
+
readonly check?: string | undefined;
|
|
4697
|
+
readonly operation?: string | undefined;
|
|
4698
|
+
} | undefined;
|
|
4684
4699
|
} | undefined;
|
|
4685
4700
|
readonly settledAt: string;
|
|
4686
4701
|
} | null;
|
|
@@ -4696,6 +4711,7 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
|
|
|
4696
4711
|
readonly lastAttemptAtMillis: number | null;
|
|
4697
4712
|
readonly lastFailure: "ambiguous" | "capacity" | "host-closed" | "storage" | "timeout" | "transport" | null;
|
|
4698
4713
|
};
|
|
4714
|
+
readonly lastFailureDiagnostic?: import("effect-agent/failure-diagnostic").Diagnostic | undefined;
|
|
4699
4715
|
}[];
|
|
4700
4716
|
readonly next: string | null;
|
|
4701
4717
|
};
|
|
@@ -4704,6 +4720,8 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
|
|
|
4704
4720
|
readonly _tag: "PortFailed";
|
|
4705
4721
|
readonly failure: {
|
|
4706
4722
|
readonly _tag: "MessageDeliveryError";
|
|
4723
|
+
readonly cause?: import("effect-agent/failure-diagnostic").Diagnostic | undefined;
|
|
4724
|
+
readonly stack?: string | undefined;
|
|
4707
4725
|
readonly reason: "capacity" | "conflict" | "corrupt" | "not-found" | "storage" | "validation";
|
|
4708
4726
|
readonly operation: string;
|
|
4709
4727
|
} | {
|
|
@@ -4733,6 +4751,8 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
|
|
|
4733
4751
|
readonly _tag: "AdmissionPolicyError";
|
|
4734
4752
|
readonly reason: "occupied" | "refused" | "unavailable";
|
|
4735
4753
|
readonly code: string;
|
|
4754
|
+
readonly cause?: import("effect-agent/failure-diagnostic").Diagnostic | undefined;
|
|
4755
|
+
readonly stack?: string | undefined;
|
|
4736
4756
|
} | {
|
|
4737
4757
|
readonly _tag: "SettlementConflict";
|
|
4738
4758
|
readonly submissionId: string;
|
|
@@ -4745,7 +4765,7 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
|
|
|
4745
4765
|
readonly _tag: "LedgerError";
|
|
4746
4766
|
readonly operation: string;
|
|
4747
4767
|
readonly message: string;
|
|
4748
|
-
readonly cause?:
|
|
4768
|
+
readonly cause?: import("effect-agent/failure-diagnostic").Diagnostic | undefined;
|
|
4749
4769
|
} | {
|
|
4750
4770
|
readonly _tag: "AppendConflict";
|
|
4751
4771
|
readonly threadId: string;
|
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.106","dependencies":{"@effect/platform-browser":"4.0.0-rc.115","@effect/sql-sqlite-do":"4.0.0-rc.115","effect-agent":"0.1.0-beta.106"},"devDependencies":{"@cloudflare/vitest-pool-workers":"0.21.3","@cloudflare/workers-types":"5.20260825.1","@effect-agent/testing":"0.1.0-beta.106","@effect/vitest":"4.0.0-rc.115","effect":"4.0.0-rc.115","typescript":"7.0.2","vite-plus":"0.3.2","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"}}
|