@byok-sdk/protocol 0.33.0 → 0.34.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/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/http-api.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/messages.d.ts +7 -7
- package/dist/version.d.ts +10 -4
- package/package.json +2 -2
package/dist/messages.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare const RuntimeCapabilitiesSchema: z.ZodObject<{
|
|
|
41
41
|
mcpToolsets: z.ZodOptional<z.ZodBoolean>;
|
|
42
42
|
messageDraft: z.ZodOptional<z.ZodBoolean>;
|
|
43
43
|
toolAuthorizationAuto: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
-
|
|
44
|
+
durableLane: z.ZodOptional<z.ZodBoolean>;
|
|
45
45
|
preparedLane: z.ZodOptional<z.ZodBoolean>;
|
|
46
46
|
isolation: z.ZodOptional<z.ZodObject<{
|
|
47
47
|
userContext: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -85,7 +85,7 @@ export declare const RuntimeInfoSchema: z.ZodObject<{
|
|
|
85
85
|
mcpToolsets: z.ZodOptional<z.ZodBoolean>;
|
|
86
86
|
messageDraft: z.ZodOptional<z.ZodBoolean>;
|
|
87
87
|
toolAuthorizationAuto: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
-
|
|
88
|
+
durableLane: z.ZodOptional<z.ZodBoolean>;
|
|
89
89
|
preparedLane: z.ZodOptional<z.ZodBoolean>;
|
|
90
90
|
isolation: z.ZodOptional<z.ZodObject<{
|
|
91
91
|
userContext: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -116,7 +116,7 @@ export declare const HarnessInfoSchema: z.ZodObject<{
|
|
|
116
116
|
mcpToolsets: z.ZodOptional<z.ZodBoolean>;
|
|
117
117
|
messageDraft: z.ZodOptional<z.ZodBoolean>;
|
|
118
118
|
toolAuthorizationAuto: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
-
|
|
119
|
+
durableLane: z.ZodOptional<z.ZodBoolean>;
|
|
120
120
|
preparedLane: z.ZodOptional<z.ZodBoolean>;
|
|
121
121
|
isolation: z.ZodOptional<z.ZodObject<{
|
|
122
122
|
userContext: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -144,7 +144,7 @@ export declare const HarnessInventorySchema: z.ZodArray<z.ZodObject<{
|
|
|
144
144
|
mcpToolsets: z.ZodOptional<z.ZodBoolean>;
|
|
145
145
|
messageDraft: z.ZodOptional<z.ZodBoolean>;
|
|
146
146
|
toolAuthorizationAuto: z.ZodOptional<z.ZodBoolean>;
|
|
147
|
-
|
|
147
|
+
durableLane: z.ZodOptional<z.ZodBoolean>;
|
|
148
148
|
preparedLane: z.ZodOptional<z.ZodBoolean>;
|
|
149
149
|
isolation: z.ZodOptional<z.ZodObject<{
|
|
150
150
|
userContext: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -246,7 +246,7 @@ export declare const ConnHelloPayloadSchema: z.ZodObject<{
|
|
|
246
246
|
mcpToolsets: z.ZodOptional<z.ZodBoolean>;
|
|
247
247
|
messageDraft: z.ZodOptional<z.ZodBoolean>;
|
|
248
248
|
toolAuthorizationAuto: z.ZodOptional<z.ZodBoolean>;
|
|
249
|
-
|
|
249
|
+
durableLane: z.ZodOptional<z.ZodBoolean>;
|
|
250
250
|
preparedLane: z.ZodOptional<z.ZodBoolean>;
|
|
251
251
|
isolation: z.ZodOptional<z.ZodObject<{
|
|
252
252
|
userContext: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -273,7 +273,7 @@ export declare const ConnHelloPayloadSchema: z.ZodObject<{
|
|
|
273
273
|
mcpToolsets: z.ZodOptional<z.ZodBoolean>;
|
|
274
274
|
messageDraft: z.ZodOptional<z.ZodBoolean>;
|
|
275
275
|
toolAuthorizationAuto: z.ZodOptional<z.ZodBoolean>;
|
|
276
|
-
|
|
276
|
+
durableLane: z.ZodOptional<z.ZodBoolean>;
|
|
277
277
|
preparedLane: z.ZodOptional<z.ZodBoolean>;
|
|
278
278
|
isolation: z.ZodOptional<z.ZodObject<{
|
|
279
279
|
userContext: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1641,7 +1641,7 @@ export declare const TaskClaimPayloadSchema: z.ZodObject<{
|
|
|
1641
1641
|
mcpToolsets: z.ZodOptional<z.ZodBoolean>;
|
|
1642
1642
|
messageDraft: z.ZodOptional<z.ZodBoolean>;
|
|
1643
1643
|
toolAuthorizationAuto: z.ZodOptional<z.ZodBoolean>;
|
|
1644
|
-
|
|
1644
|
+
durableLane: z.ZodOptional<z.ZodBoolean>;
|
|
1645
1645
|
preparedLane: z.ZodOptional<z.ZodBoolean>;
|
|
1646
1646
|
isolation: z.ZodOptional<z.ZodObject<{
|
|
1647
1647
|
userContext: z.ZodOptional<z.ZodBoolean>;
|
package/dist/version.d.ts
CHANGED
|
@@ -2,13 +2,19 @@
|
|
|
2
2
|
export declare const MAILBOX_READ_AHEAD_MAX_SEQS = 4096;
|
|
3
3
|
export declare const MAILBOX_READ_AHEAD_CAPABILITY = "mailbox-read-ahead";
|
|
4
4
|
/**
|
|
5
|
-
* Wire protocol version. Every
|
|
5
|
+
* Wire protocol version. Every v5 change is a version bump, a gated addition
|
|
6
6
|
* or a strip-safe addition: see docs/protocol.md "Freeze rule", which is the
|
|
7
7
|
* one statement of the rule, and `src/wire-additions.ts`, which declares the
|
|
8
|
-
* receiver-capability gates and additions. No
|
|
9
|
-
* yet, so `src/__tests__/compat.test.ts` has no published
|
|
8
|
+
* receiver-capability gates and additions. No v5 release has been published
|
|
9
|
+
* yet, so `src/__tests__/compat.test.ts` has no published v5 decoder to prove
|
|
10
10
|
* additions against; cross-release gates stay unproven until one exists.
|
|
11
11
|
*
|
|
12
|
+
* v5 renames the runtime capability `durablePi` to `durableLane`, beside
|
|
13
|
+
* `preparedLane`, on `conn.hello` runtimes and harnesses, `task.claim` and
|
|
14
|
+
* presence: the durable worker is a lane an adapter declares, not a Pi name
|
|
15
|
+
* on the wire. Nothing else changes. A v4 envelope is rejected; there is no
|
|
16
|
+
* v4 reader. Drain, then upgrade server and client together.
|
|
17
|
+
*
|
|
12
18
|
* v4 completes the ADR-034 cutover and retires the approval paths kept for
|
|
13
19
|
* pre-M5 peers. It removes the v3 handshake answer, the runtime-only offers
|
|
14
20
|
* (with and without toolsets) with their sealed twins, and the
|
|
@@ -42,7 +48,7 @@ export declare const MAILBOX_READ_AHEAD_CAPABILITY = "mailbox-read-ahead";
|
|
|
42
48
|
* attest tool executables. The artifact names its counted tools in
|
|
43
49
|
* `toolNames`.
|
|
44
50
|
*/
|
|
45
|
-
export declare const PROTOCOL_VERSION =
|
|
51
|
+
export declare const PROTOCOL_VERSION = 5;
|
|
46
52
|
/**
|
|
47
53
|
* The device runs `homeAccess: 'memory-reader'` Agent offers: each reader
|
|
48
54
|
* Attempt gets its own run directory under the Agent home, and readers are
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byok-sdk/protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"description": "BYOK SDK wire protocol: envelope schema, message types, and codec helpers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -56,6 +56,6 @@
|
|
|
56
56
|
"zod": "^4.6.6"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"byok-protocol-previous": "https://registry.npmjs.org/@byok-sdk/protocol/-/protocol-0.
|
|
59
|
+
"byok-protocol-previous": "https://registry.npmjs.org/@byok-sdk/protocol/-/protocol-0.33.0.tgz"
|
|
60
60
|
}
|
|
61
61
|
}
|