2.4 KiB
2.4 KiB
Implementation report: Yoi rename
Implemented a clean public rename from Insomnia to Yoi.
Scope completed
- Renamed the main Cargo package/crate/binary from
insomniatoyoi:crates/insomnia/->crates/yoi/- workspace package/dependency metadata updated
- CLI help and tests now use
yoi
- Updated Nix packaging:
- package
pnameisyoi - flake package/app output points at
bin/yoi cargoHashrefreshed after the lock/vendor input changed
- package
- Updated CLI/runtime command surfaces:
insomnia pod->yoi podINSOMNIA_POD_RUNTIME_COMMAND->YOI_POD_RUNTIME_COMMANDINSOMNIA-READY->YOI-READY- runtime fallback command now targets
yoi
- Updated path/env authority:
.insomnia->.yoi~/.insomnia->~/.yoi- config/runtime/data env prefixes use
YOI_*
- Updated prompt/profile namespace:
$insomnia->$yoirequire("insomnia")->require("yoi")- Lua profile API/version strings updated to Yoi naming
- Updated active docs, prompt resources, tests, diagnostics, examples, and help strings.
- Kept old-name references only where they are rationale or historical records, such as
docs/branding.md, historical reports, and work-item history.
Compatibility decision
No old command aliases, old environment-variable aliases, old prompt/profile aliases, or old search roots are implemented. Yoi paths are the active paths.
Residual old-name references in active surfaces
The active non-historical residual grep should not include old product/runtime identifiers. Remaining old-name references are expected only in rationale/historical records.
Validation
Passed before the correction to remove compatibility remnants:
cargo fmt --checkcargo check --workspacecargo test -p manifestcargo test -p yoicargo test -p client runtime_commandcargo test -p pod entrypointcargo test -p pod prompt::loadercargo test -p manifest profiletarget/debug/yoi --helptarget/debug/yoi pod --helpnix eval .#packages.x86_64-linux.default.pname --rawnix eval .#apps.x86_64-linux.default.program --rawnix build .#yoi --no-linkgit diff --check
Additional validation after removing compatibility remnants:
cargo fmt --checkcargo test -p manifest pathscargo test -p pod spawn_profile_selector_accepts_default_inherit_and_registry
Run the final full validation set again before closing this work item.