Skip to content

v0.71.0 β€” Dispatch Macro

Choose a tag to compare

@github-actions github-actions released this 05 Apr 15:09

πŸ¦‹ 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() and finalize_run() extracted from 800-line run()
  • 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`