@effect-agent/platform-cloudflare 0.0.1-beta.4 → 0.0.1-beta.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-agent/platform-cloudflare",
3
- "version": "0.0.1-beta.4",
3
+ "version": "0.0.1-beta.6",
4
4
  "description": "Class DC layer assembly for Effect Agent: SQLite-backed Conversation Durable Objects with alarm-driven recovery.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -28,20 +28,21 @@
28
28
  "test": "vitest run"
29
29
  },
30
30
  "dependencies": {
31
- "@effect-agent/core": "0.0.1-beta.4",
32
- "@effect-agent/session": "0.0.1-beta.4",
33
- "@effect-agent/storage-cloudflare": "0.0.1-beta.4",
34
- "@effect/platform-browser": "4.0.0-beta.102",
35
- "@effect/sql-sqlite-do": "4.0.0-beta.102",
36
- "effect": "4.0.0-beta.102"
31
+ "@effect-agent/core": "0.0.1-beta.6",
32
+ "@effect-agent/sandbox": "0.0.1-beta.5",
33
+ "@effect-agent/session": "0.0.1-beta.6",
34
+ "@effect-agent/storage-cloudflare": "0.0.1-beta.6",
35
+ "@effect/platform-browser": "4.0.0-beta.107",
36
+ "@effect/sql-sqlite-do": "4.0.0-beta.107",
37
+ "effect": "4.0.0-beta.107"
37
38
  },
38
39
  "devDependencies": {
39
40
  "@cloudflare/vitest-pool-workers": "0.21.3",
40
41
  "@cloudflare/workers-types": "5.20260813.1",
41
- "@effect-agent/capabilities": "0.0.1-beta.3",
42
- "@effect-agent/engine": "0.0.1-beta.3",
43
- "@effect-agent/testing": "0.0.1-beta.3",
44
- "@effect/vitest": "4.0.0-beta.102",
42
+ "@effect-agent/capabilities": "0.0.1-beta.5",
43
+ "@effect-agent/engine": "0.0.1-beta.5",
44
+ "@effect-agent/testing": "0.0.1-beta.5",
45
+ "@effect/vitest": "4.0.0-beta.107",
45
46
  "esbuild": "0.28.1",
46
47
  "miniflare": "4.20260730.0",
47
48
  "typescript": "7.0.2",
package/src/alarm.ts CHANGED
@@ -25,7 +25,7 @@ import { CloudflareDurableRuntimeConfig } from "./config.ts";
25
25
  */
26
26
 
27
27
  /** The Durable Object alarm API failed; surfaces on host entry points as a typed refusal. */
28
- export class DurableAlarmError extends Schema.TaggedErrorClass<DurableAlarmError>()(
28
+ export class DurableAlarmError extends Schema.TaggedError<DurableAlarmError>()(
29
29
  "DurableAlarmError",
30
30
  {
31
31
  operation: Schema.String,
package/src/bindings.ts CHANGED
@@ -10,7 +10,7 @@ import { Context, Effect, Layer, Schema } from "effect";
10
10
  */
11
11
 
12
12
  /** A Cloudflare platform binding was missing or carried the wrong shape (DEPLOY-003/010). */
13
- export class CloudflareBindingError extends Schema.TaggedErrorClass<CloudflareBindingError>()(
13
+ export class CloudflareBindingError extends Schema.TaggedError<CloudflareBindingError>()(
14
14
  "CloudflareBindingError",
15
15
  {
16
16
  binding: Schema.String,
package/src/client.ts CHANGED
@@ -59,7 +59,7 @@ export const boundHostDiagnostic = (value: string): string =>
59
59
  * The envelope itself could not be honored: the Object could not decode the request, or a
60
60
  * response could not be encoded/decoded. Never carries operation semantics.
61
61
  */
62
- export class HostProtocolError extends Schema.TaggedErrorClass<HostProtocolError>()(
62
+ export class HostProtocolError extends Schema.TaggedError<HostProtocolError>()(
63
63
  "HostProtocolError",
64
64
  {
65
65
  message: BoundedDiagnostic,
@@ -67,7 +67,7 @@ export class HostProtocolError extends Schema.TaggedErrorClass<HostProtocolError
67
67
  ) {}
68
68
 
69
69
  /** The Worker-side stub call itself failed (RPC rejection, overload, eviction mid-call). */
70
- export class ConversationClientError extends Schema.TaggedErrorClass<ConversationClientError>()(
70
+ export class ConversationClientError extends Schema.TaggedError<ConversationClientError>()(
71
71
  "ConversationClientError",
72
72
  {
73
73
  conversationId: Schema.String,