skydive-cli 0.1.0-beta.218 → 0.1.0-beta.229
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 +16 -0
- package/dist/js/bin.mjs +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -258,3 +258,19 @@ them as a sticky screenshot comment on CLI PRs.
|
|
|
258
258
|
|
|
259
259
|
The pattern (stub `fetch`, seed the store, drive keys, assert on
|
|
260
260
|
`captureCharFrame()`) is in `src/chat/tui/screens/agent-picker.tui.test.tsx`.
|
|
261
|
+
|
|
262
|
+
## Building a standalone binary
|
|
263
|
+
|
|
264
|
+
`yarn build:binary` compiles the CLI into a single self-contained executable
|
|
265
|
+
(`dist/binaries/skydive-<target>`) with `bun build --compile` — no Node or
|
|
266
|
+
Bun needed on the machine that runs it, including for the OpenTUI chat
|
|
267
|
+
(`ensureBunAndReexec` no-ops because the binary _is_ Bun). Needs Bun ≥ 1.3.14
|
|
268
|
+
to build; pass `--target` for one of `bun-darwin-arm64`, `bun-darwin-x64`,
|
|
269
|
+
`bun-linux-x64`, `bun-linux-arm64` (defaults to the host, and the target's
|
|
270
|
+
`@opentui/core-*` optional dependency must be installed).
|
|
271
|
+
|
|
272
|
+
The script encodes three non-obvious constraints (older Bun emits unsignable
|
|
273
|
+
Mach-Os, OpenTUI's tree-sitter worker needs explicit embedding, and
|
|
274
|
+
`NODE_ENV=production` silently breaks highlight repaints) — see the header
|
|
275
|
+
comment in `scripts/build-binary.ts` before changing any of the flags it
|
|
276
|
+
passes.
|
package/dist/js/bin.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skydive-cli",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.229",
|
|
4
4
|
"description": "Skydive CLI — manage AI agents from the command line",
|
|
5
5
|
"homepage": "https://skydive.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"build": "tsdown --no-dts --out-dir dist/js",
|
|
23
|
+
"build:binary": "bun scripts/build-binary.ts",
|
|
23
24
|
"test:unit": "vitest run --passWithNoTests && yarn test:tui",
|
|
24
25
|
"test:ci": "vitest run --coverage --coverage.reporter=lcovonly --reporter=default --reporter=github-actions --minWorkers=1 --maxWorkers=2 --passWithNoTests && yarn test:tui",
|
|
25
26
|
"test:tui": "bun test .tui.test",
|