skydive-cli 0.1.0-beta.218 → 0.1.0-beta.239

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 CHANGED
@@ -21,7 +21,7 @@ location is platform-conventional (resolved via `env-paths`), so it is **not**
21
21
  `skydive auth status` prints the real resolved path (`Config: …`) — trust that
22
22
  over this table if they ever disagree.
23
23
 
24
- - **API key** (`sky_live_…`). Mint one at `skydive.com/account`, then:
24
+ - **API key** (`sky_live_…`). Mint one at `skydive.com/settings/account`, then:
25
25
 
26
26
  ```sh
27
27
  skydive auth login # paste the key
@@ -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
@@ -31,7 +31,7 @@ var __exportAll = (all, no_symbols) => {
31
31
 
32
32
  //#endregion
33
33
  //#region package.json
34
- var version$1 = "0.1.0-beta.218";
34
+ var version$1 = "0.1.0-beta.239";
35
35
 
36
36
  //#endregion
37
37
  //#region src/types.ts
@@ -76,7 +76,7 @@ function resolveWebUrl(appUrl) {
76
76
  * standalone published package so it can't import the backend constant. */
77
77
  const API_KEY_PREFIX = "sky_live_";
78
78
  /** Where users mint and copy API keys. Shown in the login prompt. */
79
- const API_KEYS_URL = "skydive.com/account";
79
+ const API_KEYS_URL = "skydive.com/settings/account";
80
80
  const store = new Conf({
81
81
  projectName: process.env["SKYDIVE_CONFIG_NAME"] ?? "skydive",
82
82
  projectSuffix: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skydive-cli",
3
- "version": "0.1.0-beta.218",
3
+ "version": "0.1.0-beta.239",
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",