@byok-sdk/cloud-do 0.30.0 → 0.30.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.
- package/README.md +12 -11
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/session-runtime.d.ts +5 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -4,13 +4,14 @@ 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.
|
|
7
|
+
The current stable release is 0.30.0, 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-
|
|
10
|
-
packages. See the [release notes](../../docs/releases/v0.
|
|
11
|
-
The earlier stable releases were 0.
|
|
12
|
-
|
|
13
|
-
0.13.0 (published 2026-10-20, UTC); see the
|
|
9
|
+
registry read on 2026-10-24 at 07:39 UTC lists 0.30.0 as `latest` for all nine
|
|
10
|
+
packages. See the [release notes](../../docs/releases/v0.30.0.md).
|
|
11
|
+
The earlier stable releases were 0.29.0 (published 2026-10-23, UTC), 0.28.3
|
|
12
|
+
and 0.28.2 (published 2026-10-22, UTC), 0.28.1 / keys 0.13.1 (published
|
|
13
|
+
2026-10-21, UTC) and 0.28.0 / keys 0.13.0 (published 2026-10-20, UTC); see the
|
|
14
|
+
[0.29.0 release notes](../../docs/releases/v0.29.0.md), the
|
|
14
15
|
[0.28.3 release notes](../../docs/releases/v0.28.3.md), the
|
|
15
16
|
[0.28.2 release notes](../../docs/releases/v0.28.2.md), the
|
|
16
17
|
[0.28.1 release notes](../../docs/releases/v0.28.1.md) and the
|
|
@@ -37,12 +38,12 @@ The package needs Node 24.22.1 or later for build tooling.
|
|
|
37
38
|
|
|
38
39
|
## Install and subclass
|
|
39
40
|
|
|
40
|
-
The following install example names the unpublished 0.30.
|
|
41
|
-
Use 0.
|
|
41
|
+
The following install example names the unpublished 0.30.1 source candidate.
|
|
42
|
+
Use 0.30.0 until publication is confirmed.
|
|
42
43
|
Use an installed package to verify the consumer path.
|
|
43
44
|
|
|
44
45
|
~~~sh
|
|
45
|
-
npm install @byok-sdk/cloud-do@0.30.
|
|
46
|
+
npm install @byok-sdk/cloud-do@0.30.1
|
|
46
47
|
npm install --save-dev @cloudflare/workers-types
|
|
47
48
|
~~~
|
|
48
49
|
|
|
@@ -132,13 +133,13 @@ openDurableObjectStorage has the local structural factory type
|
|
|
132
133
|
(location: DurableObjectStorage) => Promise<Storage>.
|
|
133
134
|
Storage is pi-durable's native interface. The package does not import client
|
|
134
135
|
source or keys types. Its three runtime dependencies are pi-durable, pi-ai,
|
|
135
|
-
and chord, each pinned to 1.
|
|
136
|
+
and chord, each pinned to 1.4.0.
|
|
136
137
|
|
|
137
138
|
The Durable Object owns the physical connection. Closing the adapter
|
|
138
139
|
invalidates that adapter. It does not close the Durable Object database.
|
|
139
140
|
|
|
140
141
|
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.
|
|
142
|
+
Current upstream uses a different synchronous pi contract. Pinned pi 1.4.0 takes
|
|
142
143
|
async callbacks, so `transactionSync()` cannot host its transaction callback.
|
|
143
144
|
Cloudflare documents async SQL transactions on the
|
|
144
145
|
[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() {
|