|
1 | 1 | # @mohanscodex/spectra-app |
2 | 2 |
|
| 3 | +## 0.4.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- [`c39eedd`](https://github.com/codex-mohan/spectra/commit/c39eedd31f87c184c0036517a368d46a151d8ef4) Thanks [@codex-mohan](https://github.com/codex-mohan)! - **npm scope migration:** `@singularity-ai/*` → `@mohanscodex/*` — all packages now publish under the personal scope to resolve naming conflicts |
| 8 | + |
| 9 | + **Provider & Model Registry:** |
| 10 | + |
| 11 | + - New `generate-models` script: fetches 4039 models across 158 providers from OpenRouter and models.dev |
| 12 | + - Custom provider support via `registerProvider()` in the TUI and SDK |
| 13 | + - 17 new provider integrations (xAI, DeepSeek, Mistral, Cerebras, Google, Fireworks, Together, Perplexity, Cohere, Novita, Moonshot, Chutes, MiniMax, HuggingFace, NVIDIA, Z.AI) |
| 14 | + |
| 15 | + **Agent System:** |
| 16 | + |
| 17 | + - Mode-switching agent with subagent dispatch — task subagent tool, markdown subagent, and session hierarchy |
| 18 | + - Turn-level footer with revert, rollback, and filesystem checkpointing |
| 19 | + - Streaming stutter fix, focus bleed fix, thinking toggle in TUI |
| 20 | + |
| 21 | + **TUI (`spectra-code`):** |
| 22 | + |
| 23 | + - Full rewrite with `@opentui/react` (JSX components, yargs CLI) |
| 24 | + - Provider connection flow, model lifecycle, no-model state, per-message model tracking |
| 25 | + - Redesigned home layout with Spectra Void theme |
| 26 | + - Fixed autocomplete positioning, Escape dismissal, session list refresh |
| 27 | + - Fixed shell tool output, interrupt handling, and message persistence |
| 28 | + |
| 29 | + **Distributed Infrastructure (`spectra-app`):** |
| 30 | + |
| 31 | + - `SessionEngine` — full lifecycle orchestration with session load, rate limiting, agent execution, and persistence |
| 32 | + - `RedisRateLimiter` + `RedisSessionStore` — distributed sliding window rate limiting and session storage |
| 33 | + - `CompositeRateLimiter` — multi-dimensional (tenant + user + provider) |
| 34 | + - `CircuitBreaker` — three-state machine (Closed/Open/HalfOpen) |
| 35 | + - `SseBridge` — SSE-based connection bridge with heartbeat and graceful close |
| 36 | + - `HealthProbe` — Kubernetes-ready health checks (liveness + readiness) |
| 37 | + |
| 38 | + **Other:** |
| 39 | + |
| 40 | + - MCP support for file and shell tools |
| 41 | + - CLI refactored with proper subcommands and session actions |
| 42 | + - Circuit breaker in Rust SDK (`spectra-rs`) |
| 43 | + - GitHub Actions: docs deployment workflow, fixed release pipeline |
| 44 | + - Full docs sync with current SDK API surface |
| 45 | + |
| 46 | +### Patch Changes |
| 47 | + |
| 48 | +- Updated dependencies [[`c39eedd`](https://github.com/codex-mohan/spectra/commit/c39eedd31f87c184c0036517a368d46a151d8ef4)]: |
| 49 | + - @mohanscodex/spectra-ai@0.4.0 |
| 50 | + - @mohanscodex/spectra-agent@0.4.0 |
| 51 | + |
3 | 52 | ## 0.3.0 |
4 | 53 |
|
5 | 54 | ### Minor Changes |
|
0 commit comments