v0.2.0
Summary
Phase 1 MVP: functional Anthropic-based coding assistant with six tools, basic TUI, TOML config, and mock-provider integration tests.
Added
- opi-ai: Provider-agnostic LLM streaming with
Providertrait, message/stream types, Anthropic SSE provider, provider registry, and sharedMockProvidertest harness - opi-agent: Agent loop with turn lifecycle,
Tooltrait with JSON Schema validation,Agentwrapper with prompt/continue/abort/subscribe, hooks and steering/follow-up queues - opi-coding-agent: Six built-in tools (
read,write,edit,bash,glob,grep) with workspace safety boundaries, system prompt builder, TOML config with 5-tier precedence, interactive TUI mode, and non-interactive mode with high-risk tool safety policy - opi-tui: TUI shell with message list, input editor, status bar, tool call view, markdown and code block rendering
Fixed
- SSE parser surfaces malformed events instead of silently dropping them
- SSE parser handles CRLF line endings for cross-platform robustness
BashToolusescmd.exeon Windows,shon Unix- Agent loop emits
ToolExecutionStartbefore parallel tool spawning AuthFailederror variant maps to exit code 3- Config: explicit
--configvalidation and env precedence fix - Agent loop uses
tokio::select!for responsive stream cancellation
Migration Notes
- Config format is TOML with
[defaults],[thinking],[providers.anthropic]sections - CLI flags:
-m(model),-c(config),-s(system prompt),--non-interactive,--allow-mutating,-v(verbose),-V(version) - Non-interactive mode blocks write/edit/bash tools by default; use
--allow-mutatingorallow_mutating_tools = truein config to enable
What's NOT Included
Sessions, compaction, JSON output mode, MCP, plugins, web UI, rich diff views, and syntax-highlighted code blocks are not in this release.