aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authoruser <user@clank>2026-08-12 22:51:23 +0200
committeruser <user@clank>2026-08-12 22:51:23 +0200
commitf8f035713f29676348602246036aba840468cc5f (patch)
treec14f2298d9771cd9b6215f8a40743627c4412ca2 /docs
parentcli: init and doctor, and stop one bad project breaking a root (diff)
downloadsl0ppi-f8f035713f29676348602246036aba840468cc5f.tar.gz
sl0ppi-f8f035713f29676348602246036aba840468cc5f.tar.xz
sl0ppi-f8f035713f29676348602246036aba840468cc5f.zip
build: ship the sl0ppi CLI in the tarball
The artifact was stale twice over: it predated the protobuf fix and did not contain the CLI at all. Both fixed, and the whole chain re-verified from the tarball rather than assumed. The CLI ships as a single 31K file (`bun build --target=bun`) run by the bundled bun, rather than a source tree or a second `--compile`d binary that would embed another 90M copy of bun. `install.sh` generates the wrapper and pins SL0PPI_BIN to the sl0ppij it just installed, so the orchestrator can never end up driving some other zellij that happens to come first on PATH. Verified in a throwaway HOME with node, npm, bun, cargo, rustc and python3 all replaced by poison stubs that fail loudly if invoked: sl0ppij --version -> 0.45.0+sl0p1 (static musl, no libc dependency) pi --version -> 0.84.1 (bundled bun) sl0ppi doctor -> all good sl0ppi init x2 -> two projects scaffolded sl0ppi up -> session "dev", 2 tabs, agents suspended sl0ppi ls -> agent:suspended, 1 pane each sl0ppi up (again) -> "up to date" And the promise the whole thing exists for, end to end: attach a client, press Enter in the suspended agent pane, and pi starts on the bundled runtime -- while the other project's agent stays suspended, because only the focused pane got the key. `make test` now runs the CLI suite alongside the Rust ones, so the two halves cannot drift apart unnoticed.
Diffstat (limited to 'docs')
-rw-r--r--docs/roadmap.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/roadmap.md b/docs/roadmap.md
index c73a1dc..0c251b9 100644
--- a/docs/roadmap.md
+++ b/docs/roadmap.md
@@ -60,6 +60,9 @@ Left for later (both need work disproportionate to their value right now):
is effectively universal. If Alpine support is ever wanted, bun also
publishes `bun-linux-x64-musl.zip` -- a one-line change in
`fetch-vendor.sh`.
+- [x] the tarball now ships the `sl0ppi` CLI too, bundled to a single 31K file
+ by `bun build` and run on the bundled bun — no source tree, no extra
+ runtime. Re-cut after the protobuf fix, so the artifact is coherent again.
- [ ] optional: `bun build --compile` pi into a single executable instead of
shipping 183M of `node_modules` — but only if runtime-loaded `.ts`
extensions still work in a compiled bundle. Test before committing to it.