@byok-sdk/cloud-do 0.25.0-rc.1 → 0.25.0
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 +11 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,22 +4,23 @@ 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 source
|
|
8
|
-
release set with keys 0.10.0
|
|
9
|
-
0.24.0
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
The current source line is the stable candidate 0.25.0, in the nine-package
|
|
8
|
+
release set with keys 0.10.0, targeting npm's `latest` dist-tag. Publication
|
|
9
|
+
is pending; `latest` remains 0.24.0 and the published rc.2 remains on `rc`.
|
|
10
|
+
Confirm the exact registry version before installation. Source preparation
|
|
11
|
+
does not establish live Host acceptance. See the
|
|
12
|
+
[release notes](../../docs/releases/v0.25.0-stable.md#version-set-and-channel).
|
|
12
13
|
The package needs Node 24.15.0 or later for build tooling.
|
|
13
14
|
|
|
14
15
|
## Install and subclass
|
|
15
16
|
|
|
16
|
-
The following install example names the current source version
|
|
17
|
-
|
|
17
|
+
The following install example names the current source version. Install an exact
|
|
18
|
+
approved version only after registry readback, or
|
|
18
19
|
use verified accepted CI tarballs for pre-publication integration. Do not use a
|
|
19
20
|
workspace source import as installed-package acceptance evidence.
|
|
20
21
|
|
|
21
22
|
~~~sh
|
|
22
|
-
npm install @byok-sdk/cloud-do@0.25.0
|
|
23
|
+
npm install @byok-sdk/cloud-do@0.25.0
|
|
23
24
|
npm install --save-dev @cloudflare/workers-types
|
|
24
25
|
~~~
|
|
25
26
|
|
|
@@ -105,13 +106,13 @@ openDurableObjectStorage has the local structural factory type
|
|
|
105
106
|
(location: DurableObjectStorage) => Promise<Storage>.
|
|
106
107
|
Storage is pi-durable's native interface. The package does not import client
|
|
107
108
|
source or keys types. Its three runtime dependencies are pi-durable, pi-ai,
|
|
108
|
-
and chord, each pinned to 1.0.
|
|
109
|
+
and chord, each pinned to 1.1.0.
|
|
109
110
|
|
|
110
111
|
The Durable Object owns the physical connection. Closing the adapter
|
|
111
112
|
invalidates that adapter. It does not close the Durable Object database.
|
|
112
113
|
|
|
113
114
|
This follows the async adapter in [Cloudflare Agents d6656161](https://github.com/cloudflare/agents/blob/d6656161/packages/agents/src/harness/pi/session-store.ts).
|
|
114
|
-
Current upstream uses a different synchronous pi contract. Pinned pi 1.0
|
|
115
|
+
Current upstream uses a different synchronous pi contract. Pinned pi 1.1.0 takes
|
|
115
116
|
async callbacks, so `transactionSync()` cannot host its transaction callback.
|
|
116
117
|
Cloudflare documents async SQL transactions on the
|
|
117
118
|
[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.25.0
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24.15.0"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@earendil-works/chord": "1.1.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@byok-sdk/keys": "0.10.0
|
|
20
|
+
"@byok-sdk/keys": "0.10.0",
|
|
21
21
|
"@cloudflare/workers-types": "5.20260811.1",
|
|
22
22
|
"miniflare": "5.20260811.1-alpha",
|
|
23
23
|
"esbuild": "0.28.1",
|