Skip to content

v0.5.1

Latest

Choose a tag to compare

@13luiz 13luiz released this 15 Jun 10:15

v0.5.1

Package ecosystem and process-adapter runtime: installable packages, manifest V2
[adapter] process adapters speaking the opi-extension-jsonl-v1 protocol, and
example adapter packages bridging tools/commands/hooks/events/state into the
extension API.

Added

  • opi-coding-agent: --fork <session-id> plus interactive /tree, /fork, and /clone session commands that copy the active branch into a new parented session without rewriting the source JSONL file.
  • opi-agent / opi-coding-agent: RPC/SDK extension_command support for dispatching correlated custom commands to registered extension registries.
  • opi-coding-agent: config-driven OpenAI-compatible provider profiles with model metadata, compatibility flags, runtime provider construction, and registry-backed --list-models output.
  • opi-web-ui: ConversationState now tracks resource metadata from session_info responses and the last successful compaction response payload.
  • opi-coding-agent: runtime session persistence now writes meaningful parent_id links and leaf pointers so continuing from a selected branch tip creates a same-file branch path.
  • opi-coding-agent: opi package add/remove/list/doctor now validates package manifests, writes lock entries, and reports installed package diagnostics.
  • opi-coding-agent: manifest V2 supports [adapter] process adapters with the opi-extension-jsonl-v1 JSONL protocol.
  • opi-coding-agent: installed package declarations are loaded during runtime startup so adapter tools, commands, hooks, events, state, and cancellation bridge into the extension API.
  • opi-coding-agent: example adapter packages demonstrate todo state, permission-gate example hooks, and protected path hooks through a runnable process adapter.

Changed

  • opi-agent: moved the core loop implementation out of lib.rs into an internal agent_loop module while preserving the public opi_agent::agent_loop export.

Fixed

  • opi-tui: SelectList and BranchPicker now account for selected-row markers and CJK display width when aligning labels with metadata.
  • opi-coding-agent: opi package doctor now rejects invalid manifest V2 adapter declarations and reports lock/source/resource/adapter diagnostics.
  • opi-coding-agent: Adapter state snapshots are persisted in session JSONL and restored on resume.
  • opi-coding-agent: Adapter event drops are diagnostic-visible, shutdown allows a bounded graceful exit, local package identity is canonicalized, SSH git source parsing is URL-aware, and relative adapter commands cannot escape package roots.
  • opi-coding-agent: Linux build and test correctness — removed a dead Unix-only import that failed clippy/test/doc under -D warnings, and test-binary locators no longer match cargo .d dep-info siblings (which lack the execute bit and caused EACCES when spawning adapters).

Install: cargo install opi-coding-agent