@byok-sdk/client 0.1.0 → 0.2.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 -2
- package/dist/adapters/claude/resolve-bin.d.ts +2 -2
- package/dist/adapters/codex/codex-adapter.d.ts +4 -3
- package/dist/adapters/codex/resolve-bin.d.ts +3 -4
- package/dist/adapters/index.d.ts +9 -0
- package/dist/adapters/index.js +1956 -0
- package/dist/adapters/index.js.map +1 -0
- package/dist/adapters/pi/events.d.ts +10 -37
- package/dist/adapters/pi/permission-mapping.d.ts +4 -20
- package/dist/adapters/pi/resolve-bin.d.ts +16 -22
- package/dist/adapters/pi/rpc-client.d.ts +1 -4
- package/dist/bin/byok-agent.js +39 -29
- package/dist/bin/byok-agent.js.map +1 -1
- package/dist/index.js +39 -29
- package/dist/index.js.map +1 -1
- package/dist/lifecycle/create-service-lifecycle.d.ts +2 -2
- package/package.json +11 -9
|
@@ -34,8 +34,8 @@ export interface CreateServiceLifecycleOptions {
|
|
|
34
34
|
*
|
|
35
35
|
* Deliberately does NOT try to auto-resolve `ServiceDefinition.program`'s
|
|
36
36
|
* `command`/`agentBin` from `import.meta.resolve`/`import.meta.url`-style
|
|
37
|
-
* introspection the way `adapters/pi/resolve-bin.ts` does for pi's
|
|
38
|
-
*
|
|
37
|
+
* introspection the way `adapters/pi/resolve-bin.ts` does for pi's required
|
|
38
|
+
* package. That pattern is a genuinely hazardous fit here: a
|
|
39
39
|
* relative path from THIS source file to `bin/byok-agent.ts` (`../bin/...`,
|
|
40
40
|
* since `lifecycle/` and `bin/` are sibling directories under `src/`) does
|
|
41
41
|
* NOT survive tsup's bundling unchanged — `src/index.ts` and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byok-sdk/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
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",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/Ancienttwo/byok-sdk#readme",
|
|
16
16
|
"engines": {
|
|
17
|
-
"node": ">=
|
|
17
|
+
"node": ">=22.19.0"
|
|
18
18
|
},
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"main": "./dist/index.js",
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
"types": "./dist/index.d.ts",
|
|
30
30
|
"import": "./dist/index.js"
|
|
31
31
|
},
|
|
32
|
+
"./adapters": {
|
|
33
|
+
"types": "./dist/adapters/index.d.ts",
|
|
34
|
+
"import": "./dist/adapters/index.js"
|
|
35
|
+
},
|
|
32
36
|
"./package.json": "./package.json"
|
|
33
37
|
},
|
|
34
38
|
"files": [
|
|
@@ -40,20 +44,18 @@
|
|
|
40
44
|
"access": "public"
|
|
41
45
|
},
|
|
42
46
|
"dependencies": {
|
|
47
|
+
"@earendil-works/pi-coding-agent": "0.84.1",
|
|
43
48
|
"ws": "^8.21.1",
|
|
44
|
-
"@byok-sdk/core": "0.
|
|
45
|
-
"@byok-sdk/protocol": "0.
|
|
46
|
-
},
|
|
47
|
-
"optionalDependencies": {
|
|
48
|
-
"@earendil-works/pi-coding-agent": "^0.74.2"
|
|
49
|
+
"@byok-sdk/core": "0.2.0",
|
|
50
|
+
"@byok-sdk/protocol": "0.2.0"
|
|
49
51
|
},
|
|
50
52
|
"devDependencies": {
|
|
51
53
|
"@types/ws": "^8.18.1",
|
|
52
54
|
"@hono/node-server": "^2.0.10",
|
|
53
|
-
"@byok-sdk/server": "0.
|
|
55
|
+
"@byok-sdk/server": "0.2.0"
|
|
54
56
|
},
|
|
55
57
|
"scripts": {
|
|
56
|
-
"build": "tsup && tsc -p tsconfig.build.json",
|
|
58
|
+
"build": "tsup && tsc -p tsconfig.build.json && node scripts/check-adapters-entry.mjs",
|
|
57
59
|
"dev": "tsup --watch",
|
|
58
60
|
"test": "vitest run",
|
|
59
61
|
"test:watch": "vitest",
|