v0.71.0 β Dispatch Macro
π¦ Nika v0.71.0
Semantic YAML Workflow Engine for AI β Schema
nika/workflow@0.12
ποΈ Architecture
- nika-display crate β CLI display renderers extracted from nika-engine (303 tests, 11K LOC)
- runner.rs split β
init_run()andfinalize_run()extracted from 800-linerun() dispatch_rig!macro β Eliminates 7-arm provider repetition (-280 LOC)- Agent loop unification β Deleted 14 wrappers. Single struct, single dispatch
- Vault hardening β Atomic writes (tmp+rename), custom keys,
try_open_vault()
β¨ Added
- RAII
TokenReservationβ Budget guard auto-releases on drop - 4 telemetry events β TemplateResolutionFailed, RateLimitDelay, SchemaLoadFailed, VisionContentFailed
- CliRenderer exhaustive match β No more catch-all `_ => {}`
- CI: AI-powered release notes
- `fix_suggestion_for_code()` in nika-core β For LSP reuse
π Fixed
- 7 unused dependencies removed (indicatif, unicode-width, terminal_size, chrono, dirs, tokio-stream Γ2)
- Dead `_completed` counter removed
- `extended_thinking` provider warning
- Task panic capture with task_id
- MIGRATEABLE_PROVIDERS 7β14
- Stale TUI model names
π Security
- RigProvider Debug redaction β API keys masked
- Fail-fast missing API keys
π¦ Install
| Method | Command | |
|---|---|---|
| π | Quick | `curl -fsSL https://raw.githubusercontent.com/supernovae-st/nika/main/install.sh | sh` |
| πΊ | Homebrew | `brew install supernovae-st/tap/nika` |
| π¦ | npm | `npx @supernovae-st/nika` |
| π¦ | Cargo | `cargo install nika` |
| π³ | Docker | `docker run --rm ghcr.io/supernovae-st/nika:0.71.0` |