TUI Wizard
xript-wiz is an interactive terminal wizard for working with xript manifests. Built in Rust, it dogfoods the xript ecosystem; its UI is rendered via xript-ratatui, the same fragment renderer available to any Rust host application.
Install
Section titled “Install”cargo install xript-wizOr build from source:
cd tools/wizcargo build --releaseThe home screen is a menu of six actions. Use arrow keys or j/k to navigate, Enter to select, q to quit.
The selected item is highlighted with colored borders. Validate, Scaffold, and Sanitize are interactive versions of the corresponding CLI subcommands. Audit and Diff are unique to the wizard.
Analyzes a manifest’s capability coverage and identifies security gaps. Enter a path to a manifest file (with tab completion), then the wizard produces a report.
The report covers:
- Capabilities summary — count and risk distribution (low, medium, high)
- Ungated bindings and hooks — entries without capability gates (potential security surface)
- Unused capabilities — defined but never referenced (dead weight)
- Capability gaps — referenced in bindings or hooks but never defined (incomplete manifest)
The report border is green when clean, yellow when issues are found, red on errors.
The wizard’s Audit is a fast, in-tool security read of a single manifest. For the canonical analysis surfaces, reach for the CLI: xript score reports moddability capacity (how much extension surface the host exposes against a ceiling of exposing all of it), xript score-diff reports the capacity delta against a baseline, and xript lint is the findings-based reviewer that flags unused or deprecated surface. Those analyzers live in @xriptjs/validate and are also reachable over Model Context Protocol via xript mcp.
Compares the current manifest against the version at the last git tag, surfacing what changed in bindings, capabilities, and slots.
The wizard runs git describe --tags --abbrev=0 to find the last tag, retrieves the old manifest via git show, and diffs the two. Sections with no changes are omitted. If nothing changed, the report reads “No changes since last tag.”
Keybindings
Section titled “Keybindings”| Key | Action |
|---|---|
↑ / k | Navigate up |
↓ / j | Navigate down |
Enter | Select / submit |
Tab | Apply completion suggestion |
Esc | Back to home (or quit from home) |
q | Quit (from home) |
Ctrl+C | Force quit |