Behind jackin❯ — crates
jackin-console
Canonical host-console surface: state, input planning, views, components, and effects-as-data for jackin console.
What this crate owns
- Console state + planning for workspaces, mounts, and services (
workspace,services,github_mounts). - Mount diff/info and the mount-info cache (
mount_diff,mount_info,mount_info_cache). - Console view composition + input (
tui), including the Usage route. Usage adapts the Rust-owned projection; it does not discover accounts or refresh providers. Seedocs/content/reference/tui/navigation.mdxfor the route contract.
Architecture tier and allowed dependencies
L3 presentation. Dependencies include jackin-config, jackin-oppicker, jackin-core, jackin-diagnostics, jackin-env, jackin-protocol, jackin-tui, and TermRock. Must NOT depend on jackin-runtime, jackin-launch, or jackin-capsule — console reaches runtime through effects-as-data.
Structure
| Module | Owns | Tests |
|---|---|---|
| crate root, re-exports | — |
· | console workspace state | |
· | services | — |
· | GitHub mounts | |
· | mount info | |
| mount-info cache | — |
| mount diff | — |
· | chrome/input using TermRock and shared operator-info UI | |
· | console manager state + bindings | |
· | concrete manager stage state | |
| shared form FieldRow / FormSection view models | — |
· | ? keyboard-help overlay entry builder over live console keymaps | |
Public API
State machine and view models consumed by the jackin console entry point.
How to verify
cargo nextest run -p jackin-console
cargo clippy -p jackin-console --all-targets -- -D warnings