3.2 KiB
3.2 KiB
Created
Created by tickets.sh create.
Closed
id: 20260529-001326-rename-installed-binaries slug: rename-installed-binaries title: Rename installed binaries status: closed kind: task priority: P2 labels: [cli, packaging, tui, pod] created_at: 2026-05-29T00:13:26Z updated_at: 2026-05-29T00:39:08Z assignee: null legacy_ticket: null
Background
The workspace crate names tui and pod are useful internally, but the installed command names are too generic for user environments. tui does not identify the application, and pod collides with common terminology and other tooling.
Use application-specific binary names for installed commands:
insomnia: the main terminal UI / user entrypoint, currently built from thetuicrate.insomnia-pod: the Pod CLI/runtime command, currently built from thepodcrate.
This is a command name change, not a crate rename. Keep the Rust crate/package names tui and pod unless there is a separate design decision to rename crates.
Requirements
- Rename Cargo binary outputs:
crates/tuibinary name becomesinsomnia.crates/podbinary name becomesinsomnia-pod.
- Do not add legacy
tui/podinstalled aliases unless a concrete internal dependency requires it and is documented. - Update Nix packaging to install and check the new binary names.
$out/bin/insomnia$out/bin/insomnia-pod
- Update flake apps to use the new command names.
- default app should run
insomnia. - expose app entries for
insomniaandinsomnia-pod.
- default app should run
- Update docs that instruct users to run
tui/podas installed commands.- Keep references to crate/package names where they are explicitly Cargo package names, e.g.
cargo check -p tui. - Prefer
cargo run -p tui -- ...in development docs if referring to crate-based development invocation, but installed usage should useinsomnia.
- Keep references to crate/package names where they are explicitly Cargo package names, e.g.
- Audit code/tests/scripts for assumptions that installed binary names are
tuiorpod.- Internal runtime process spawning must still work.
- If code intentionally uses Cargo package names, leave them unchanged.
- Keep CLI semantics unchanged except for command names.
Acceptance criteria
cargo build -p tui -p podproduces runnable binaries namedinsomniaandinsomnia-pod.cargo run -p tui -- --helpandcargo run -p pod -- --helpstill work as development package invocations.- Installed/Nix package smoke checks look for
insomniaandinsomnia-pod, nottuiandpod. flake.nixapp outputs use the new binary names.- User-facing docs no longer tell users to run installed commands as
tui/pod. - No legacy aliases are installed unless explicitly justified.
cargo fmt --check- Focused cargo checks/tests for affected crates, at least
cargo check -p tui -p pod. - Nix validation that does not require network where possible, e.g.
nix flake check --no-build.
Out of scope
- Renaming crates/packages from
tui/pod. - Changing CLI argument semantics.
- Changing Pod protocol or socket behavior.
- Publishing or Home Manager module changes.