@byok-sdk/client 0.8.0 → 0.8.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 +15 -0
- package/dist/agent-home.d.ts +24 -4
- package/dist/bin/byok-agent.js +2432 -1716
- package/dist/bin/byok-agent.js.map +1 -1
- package/dist/bin/byok-approval-mcp.js.map +1 -1
- package/dist/bin/commands/pair.d.ts +3 -0
- package/dist/daemon/auth-manager.d.ts +8 -0
- package/dist/daemon/control-protocol.d.ts +11 -0
- package/dist/daemon/create-daemon.d.ts +19 -2
- package/dist/daemon/daemon-owner.d.ts +9 -0
- package/dist/daemon/device-credential-store.d.ts +58 -0
- package/dist/daemon/device-proof-signer.d.ts +5 -4
- package/dist/daemon/path-mutation-gate.d.ts +25 -0
- package/dist/daemon/store.d.ts +45 -24
- package/dist/daemon/task-runner.d.ts +9 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3888 -2981
- package/dist/index.js.map +1 -1
- package/dist/local-state-relocation.d.ts +24 -0
- package/package.json +4 -4
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare class LocalStateRelocationError extends Error {
|
|
2
|
+
constructor(message: string);
|
|
3
|
+
}
|
|
4
|
+
export declare class LocalStateRelocationBusyError extends LocalStateRelocationError {
|
|
5
|
+
constructor(message: string);
|
|
6
|
+
}
|
|
7
|
+
export declare class LocalStateRelocationIntegrityError extends LocalStateRelocationError {
|
|
8
|
+
constructor(message: string);
|
|
9
|
+
}
|
|
10
|
+
export interface LocalStateRelocationInput {
|
|
11
|
+
readonly productId: string;
|
|
12
|
+
readonly sourceStoreDir: string;
|
|
13
|
+
readonly sourceHostStorageRoot: string;
|
|
14
|
+
readonly destinationStoreDir: string;
|
|
15
|
+
readonly destinationHostStorageRoot: string;
|
|
16
|
+
}
|
|
17
|
+
export interface LocalStateRelocationLease extends LocalStateRelocationInput {
|
|
18
|
+
release(): Promise<void>;
|
|
19
|
+
}
|
|
20
|
+
declare function acquire(input: LocalStateRelocationInput): Promise<LocalStateRelocationLease>;
|
|
21
|
+
export declare const localStateRelocation: Readonly<{
|
|
22
|
+
acquire: typeof acquire;
|
|
23
|
+
}>;
|
|
24
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byok-sdk/client",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "BYOK SDK client daemon: runs on the end user's machine, pairs with a SaaS server, and drives a local coding-agent runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"clean": "rm -rf dist"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@byok-sdk/core": "0.8.
|
|
59
|
-
"@byok-sdk/protocol": "0.8.
|
|
58
|
+
"@byok-sdk/core": "0.8.1",
|
|
59
|
+
"@byok-sdk/protocol": "0.8.1",
|
|
60
60
|
"@earendil-works/pi-coding-agent": "0.84.2",
|
|
61
61
|
"pi-mcp-adapter": "2.27.0",
|
|
62
62
|
"pi-web-access": "0.24.1",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@types/ws": "^8.18.1",
|
|
67
|
-
"@byok-sdk/server": "0.8.
|
|
67
|
+
"@byok-sdk/server": "0.8.1",
|
|
68
68
|
"@hono/node-server": "^2.0.10"
|
|
69
69
|
}
|
|
70
70
|
}
|