@byok-sdk/cloud-do 0.27.0 → 0.28.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 +16 -15
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -4,17 +4,18 @@ 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
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
[
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
The current stable release is 0.27.0, in the nine-package release set with
|
|
8
|
+
keys 0.12.0, published on npm `latest`. Complete registry readback and isolated
|
|
9
|
+
installation passed. See the
|
|
10
|
+
[publication record](../../docs/releases/v0.27.0-publication.md).
|
|
11
|
+
The `rc` channel remains 0.27.0-rc.2 / keys 0.12.0-rc.2.
|
|
12
|
+
See the [release notes](../../docs/releases/v0.27.0.md) for the Host upgrade
|
|
13
|
+
steps. Host acceptance (#195) remains separate and open.
|
|
14
|
+
|
|
15
|
+
The previous `latest` release was 0.26.1, in the nine-package release set with
|
|
15
16
|
keys 0.11.1. Registry readback and isolated installation passed on 2026-10-12.
|
|
16
17
|
See the [publication record](../../docs/releases/v0.26.1-publication.md).
|
|
17
|
-
The
|
|
18
|
+
The earlier stable release was 0.26.0 / keys 0.11.0; its
|
|
18
19
|
[publication record](../../docs/releases/v0.26.0-publication.md) remains historical.
|
|
19
20
|
The earlier published 0.26.0-rc.4 (see the
|
|
20
21
|
[rc.4 publication record](../../docs/releases/v0.26.0-rc.4-publication.md))
|
|
@@ -25,12 +26,12 @@ The package needs Node 24.15.0 or later for build tooling.
|
|
|
25
26
|
|
|
26
27
|
## Install and subclass
|
|
27
28
|
|
|
28
|
-
The following install example names the 0.
|
|
29
|
-
|
|
30
|
-
verify the consumer path.
|
|
29
|
+
The following install example names the unpublished 0.28.1 source candidate.
|
|
30
|
+
Use 0.27.0 until publication is confirmed.
|
|
31
|
+
Use an installed package to verify the consumer path.
|
|
31
32
|
|
|
32
33
|
~~~sh
|
|
33
|
-
npm install @byok-sdk/cloud-do@0.
|
|
34
|
+
npm install @byok-sdk/cloud-do@0.28.1
|
|
34
35
|
npm install --save-dev @cloudflare/workers-types
|
|
35
36
|
~~~
|
|
36
37
|
|
|
@@ -116,13 +117,13 @@ openDurableObjectStorage has the local structural factory type
|
|
|
116
117
|
(location: DurableObjectStorage) => Promise<Storage>.
|
|
117
118
|
Storage is pi-durable's native interface. The package does not import client
|
|
118
119
|
source or keys types. Its three runtime dependencies are pi-durable, pi-ai,
|
|
119
|
-
and chord, each pinned to 1.
|
|
120
|
+
and chord, each pinned to 1.3.0.
|
|
120
121
|
|
|
121
122
|
The Durable Object owns the physical connection. Closing the adapter
|
|
122
123
|
invalidates that adapter. It does not close the Durable Object database.
|
|
123
124
|
|
|
124
125
|
This follows the async adapter in [Cloudflare Agents d6656161](https://github.com/cloudflare/agents/blob/d6656161/packages/agents/src/harness/pi/session-store.ts).
|
|
125
|
-
Current upstream uses a different synchronous pi contract. Pinned pi 1.
|
|
126
|
+
Current upstream uses a different synchronous pi contract. Pinned pi 1.3.0 takes
|
|
126
127
|
async callbacks, so `transactionSync()` cannot host its transaction callback.
|
|
127
128
|
Cloudflare documents async SQL transactions on the
|
|
128
129
|
[SQLite storage API](https://developers.cloudflare.com/durable-objects/api/sqlite-storage-api/).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byok-sdk/cloud-do",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24.15.0"
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"test": "vitest run && node --test test/recovery-walltime.node.mjs test/wake-alarm-retry.node.mjs test/wake-events-walltime.node.mjs test/check-dist.node.mjs"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@earendil-works/pi-durable": "1.
|
|
16
|
-
"@earendil-works/pi-ai": "1.
|
|
17
|
-
"@earendil-works/chord": "1.
|
|
15
|
+
"@earendil-works/pi-durable": "1.3.0",
|
|
16
|
+
"@earendil-works/pi-ai": "1.3.0",
|
|
17
|
+
"@earendil-works/chord": "1.3.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@byok-sdk/keys": "0.
|
|
20
|
+
"@byok-sdk/keys": "0.13.1",
|
|
21
21
|
"@cloudflare/workers-types": "5.20260811.1",
|
|
22
22
|
"miniflare": "5.20260811.1-alpha",
|
|
23
23
|
"esbuild": "0.28.1",
|