@byok-sdk/server 0.3.0 → 0.4.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 +5 -3
- package/dist/hub.d.ts +2 -2
- package/dist/index.js +49 -9
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +2 -0
- package/package.json +14 -14
package/dist/types.d.ts
CHANGED
|
@@ -190,6 +190,8 @@ export interface MachineInfo {
|
|
|
190
190
|
lastSeen?: string;
|
|
191
191
|
/** Runtimes detected on this device, as reported in its last `conn.hello` (M1: typed, replaces the old untyped `agents`). */
|
|
192
192
|
runtimes?: RuntimeInfo[];
|
|
193
|
+
/** Logical toolset IDs reported by the current daemon; omission means legacy/unknown. */
|
|
194
|
+
configuredToolsets?: ToolsetId[];
|
|
193
195
|
}
|
|
194
196
|
/** Snapshot of a task as tracked by the in-memory {@link TaskStore}. */
|
|
195
197
|
export interface TaskSnapshot {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byok-sdk/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "BYOK SDK server: in-memory M0 reference implementation of the SaaS-side coordinator",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/Ancienttwo/byok-sdk#readme",
|
|
16
16
|
"engines": {
|
|
17
|
-
"node": ">=22.
|
|
17
|
+
"node": ">=22.22.0"
|
|
18
18
|
},
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"main": "./dist/index.js",
|
|
@@ -35,17 +35,6 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"dependencies": {
|
|
39
|
-
"@hono/node-server": "^2.0.10",
|
|
40
|
-
"hono": "^4.12.30",
|
|
41
|
-
"jose": "^6.2.3",
|
|
42
|
-
"ws": "^8.21.1",
|
|
43
|
-
"@byok-sdk/core": "0.3.0",
|
|
44
|
-
"@byok-sdk/protocol": "0.3.0"
|
|
45
|
-
},
|
|
46
|
-
"devDependencies": {
|
|
47
|
-
"@types/ws": "^8.18.1"
|
|
48
|
-
},
|
|
49
38
|
"scripts": {
|
|
50
39
|
"build": "tsup && tsc -p tsconfig.build.json",
|
|
51
40
|
"dev": "tsup --watch",
|
|
@@ -53,5 +42,16 @@
|
|
|
53
42
|
"test:watch": "vitest",
|
|
54
43
|
"typecheck": "tsc --noEmit",
|
|
55
44
|
"clean": "rm -rf dist"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@byok-sdk/core": "0.4.0",
|
|
48
|
+
"@byok-sdk/protocol": "0.4.0",
|
|
49
|
+
"@hono/node-server": "^2.0.10",
|
|
50
|
+
"hono": "^4.12.30",
|
|
51
|
+
"jose": "^6.2.3",
|
|
52
|
+
"ws": "^8.21.1"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@types/ws": "^8.18.1"
|
|
56
56
|
}
|
|
57
|
-
}
|
|
57
|
+
}
|