@byok-sdk/cloud-do 0.30.0 → 0.30.2

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/README.md CHANGED
@@ -4,13 +4,16 @@ This package hosts a pi-durable session in a Cloudflare Durable Object.
4
4
  It provides native SQLite storage, inline tools, wake and inbox processing,
5
5
  usage limits, settlement hooks, and transcript reads.
6
6
 
7
- The current stable release is 0.29.0, in the nine-package release set,
7
+ The current stable release is 0.30.1, in the nine-package release set,
8
8
  published on npm `latest`. From 0.28.2, keys carries the same version. The npm
9
- registry read on 2026-10-23 at 10:20 UTC lists 0.29.0 as `latest` for all nine
10
- packages. See the [release notes](../../docs/releases/v0.29.0.md).
11
- The earlier stable releases were 0.28.3 and 0.28.2 (published 2026-10-22,
12
- UTC), 0.28.1 / keys 0.13.1 (published 2026-10-21, UTC) and 0.28.0 / keys
13
- 0.13.0 (published 2026-10-20, UTC); see the
9
+ registry read on 2026-10-24 at 19:19 UTC lists 0.30.1 as `latest` for all nine
10
+ packages. See the [release notes](../../docs/releases/v0.30.1.md).
11
+ The earlier stable releases were 0.30.0 (published 2026-10-24, UTC), 0.29.0
12
+ (published 2026-10-23, UTC), 0.28.3 and 0.28.2 (published 2026-10-22, UTC),
13
+ 0.28.1 / keys 0.13.1 (published 2026-10-21, UTC) and 0.28.0 / keys 0.13.0
14
+ (published 2026-10-20, UTC); see the
15
+ [0.30.0 release notes](../../docs/releases/v0.30.0.md), the
16
+ [0.29.0 release notes](../../docs/releases/v0.29.0.md), the
14
17
  [0.28.3 release notes](../../docs/releases/v0.28.3.md), the
15
18
  [0.28.2 release notes](../../docs/releases/v0.28.2.md), the
16
19
  [0.28.1 release notes](../../docs/releases/v0.28.1.md) and the
@@ -37,12 +40,12 @@ The package needs Node 24.22.1 or later for build tooling.
37
40
 
38
41
  ## Install and subclass
39
42
 
40
- The following install example names the unpublished 0.30.0 source candidate.
41
- Use 0.29.0 until publication is confirmed.
43
+ The following install example names the unpublished 0.30.2 source candidate.
44
+ Use 0.30.1 until publication is confirmed.
42
45
  Use an installed package to verify the consumer path.
43
46
 
44
47
  ~~~sh
45
- npm install @byok-sdk/cloud-do@0.30.0
48
+ npm install @byok-sdk/cloud-do@0.30.2
46
49
  npm install --save-dev @cloudflare/workers-types
47
50
  ~~~
48
51
 
@@ -132,13 +135,13 @@ openDurableObjectStorage has the local structural factory type
132
135
  (location: DurableObjectStorage) => Promise<Storage>.
133
136
  Storage is pi-durable's native interface. The package does not import client
134
137
  source or keys types. Its three runtime dependencies are pi-durable, pi-ai,
135
- and chord, each pinned to 1.3.0.
138
+ and chord, each pinned to 1.4.0.
136
139
 
137
140
  The Durable Object owns the physical connection. Closing the adapter
138
141
  invalidates that adapter. It does not close the Durable Object database.
139
142
 
140
143
  This follows the async adapter in [Cloudflare Agents d6656161](https://github.com/cloudflare/agents/blob/d6656161/packages/agents/src/harness/pi/session-store.ts).
141
- Current upstream uses a different synchronous pi contract. Pinned pi 1.3.0 takes
144
+ Current upstream uses a different synchronous pi contract. Pinned pi 1.4.0 takes
142
145
  async callbacks, so `transactionSync()` cannot host its transaction callback.
143
146
  Cloudflare documents async SQL transactions on the
144
147
  [SQLite storage API](https://developers.cloudflare.com/durable-objects/api/sqlite-storage-api/).
package/dist/index.js CHANGED
@@ -2192,7 +2192,8 @@ var openDurableObjectStorage = (storage) => SqliteStorage.open(new DurableObject
2192
2192
  var CLOUD_HARNESS_SETTINGS = {
2193
2193
  compaction: { enabled: false },
2194
2194
  retry: { enabled: false, maxRetries: 0 },
2195
- stream: { maxRetries: 0 }
2195
+ stream: { maxRetries: 0 },
2196
+ restartLimit: Infinity
2196
2197
  };
2197
2198
  var StaleInvocationAttempt = class extends CloudDoError {
2198
2199
  constructor() {