What's Changed
Skills System
- TF-IDF skill discovery —
find_skills tool with scored search, skill tool to load on demand
- 65+ bundled skills — debugging, deployment, testing, collaboration, security, and more
- Evolving skills — auto-synthesized from session traces, saved to
~/.spectra/skills/, available in future sessions
- 3-tier precedence — user-defined > evolving > bundled (highest wins)
- Auto-tag extraction — tags from directory category, name segments, section headers, description keywords
- CRLF line ending support — skills from any OS parsed correctly
Pricing & Cost Tracking
- models.dev pricing — fetches per-model pricing with hardcoded fallbacks
- Cost display — real-time cost in prompt bar status bar next to context usage
- Cost dialog —
/cost opens detailed breakdown (model, tokens, rates, total)
- Token colors — teal-green input and amber-gold output in prompt bar
Slash Commands
/cost, /tokens, /stats, /context, /status — observability commands with real data
/save, /search, /export, /history, /compress — session management
/theme, /permissions, /settings — configuration dialogs
- Stubs show toast notifications instead of doing nothing
Agent System
- Blacklist-based tool gating — agents define blockedTools instead of allowed tools; new tools available automatically
- Hidden agents — hidden field on AgentDefinition for system agents
- Per-agent model override — model field on AgentDefinition
- Hidden title agent — generates session names using cheap model (deepseek-v4-flash)
- Terminal title — shows Spectra | session name on launch
- Split definitions — each agent in its own file
Bug Fixes
- Fix stderr bleed in TUI from glob/grep when commands fail (pipe stdio)
- Fix CRLF line endings breaking skill frontmatter parsing
- Fix scrollbar padding in chat area
- Fix session listing scoped to current directory
Testing
- 49 new tests: skill system, evolving skills, pricing, ACP updates
- All 277 tests passing
Infrastructure
- Build-binaries workflow for cross-platform releases
- Smoke test step in release workflow
- Linux x64 OpenTUI dependencies
Published Packages
| Package |
Version |
| @mohanscodex/spectra-ai |
0.5.0 |
| @mohanscodex/spectra-agent |
0.5.0 |
| @mohanscodex/spectra-app |
0.5.0 |
| @mohanscodex/spectra-code |
0.5.0 |
Install
# SDK packages
bun add @mohanscodex/spectra-ai@0.5.0
bun add @mohanscodex/spectra-agent@0.5.0
bun add @mohanscodex/spectra-app@0.5.0
# CLI (global install)
bun add -g @mohanscodex/spectra-code@0.5.0