@familiar-ai/cloudflare 0.3.0 → 0.4.0-rc.1

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.
@@ -107,7 +107,7 @@ export class DurableWorkspace {
107
107
  onWake: (wake) => void this.#arm(wake).catch(() => { }),
108
108
  });
109
109
  void workspace.closed.then((end) => {
110
- if (end.reason === 'failed' && this.#runtime.status !== 'terminated') {
110
+ if (end.kind === 'failed' && this.#runtime.status !== 'terminated') {
111
111
  // Keep the recovery alarm: the next instance reopens persisted work.
112
112
  this.#ctx.abort('Workspace storage failed');
113
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@familiar-ai/cloudflare",
3
- "version": "0.3.0",
3
+ "version": "0.4.0-rc.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -18,16 +18,16 @@
18
18
  "access": "public"
19
19
  },
20
20
  "peerDependencies": {
21
- "@familiar-ai/core": "0.3.0"
21
+ "@familiar-ai/core": "0.4.0-rc.1"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@cloudflare/workers-types": "5.20261023.1",
25
25
  "vitest": "^5.0.5",
26
26
  "wrangler": "4.156.0",
27
- "@familiar-ai/core": "0.3.0"
27
+ "@familiar-ai/core": "0.4.0-rc.1"
28
28
  },
29
29
  "dependencies": {
30
- "@earendil-works/pi-durable": "1.4.0"
30
+ "@earendil-works/pi-durable": "1.5.2"
31
31
  },
32
32
  "scripts": {
33
33
  "typecheck": "tsc",