Releases: NickChuCode/orcarein
Releases · NickChuCode/orcarein
Release list
v0.3.0
The bulk of the v0.2 development line, which landed on main after the early
v0.2.0 tag and had not yet been packaged. A major terminal-UX overhaul plus an
MCP client, project memory, and live model switching.
Added
- Vim modal input editor — a self-built multiline editor (normal / insert /
visual modes, motions, operators, counts, undo/redo, OSC52 clipboard) that
replaces rustyline on capable terminals and degrades back to it otherwise. - Semantic color system — 8 named tokens with truecolor → 256 → 16 → NO_COLOR
degradation, applied across the header, streaming output, permission prompt,
help, modal editor, and pager. - Unified TUI header — a DeepSeek-blue box with an orca mascot and a labeled
model / cwd / session identity panel; one-line fallback on narrow / non-tty. - Markdown rendering in the pager (
/show,/history) — headings, bold /
italic / inline code, fenced code blocks, block quotes, lists, links, and
CJK-aware tables, parsed withpulldown-cmark(behind thetuifeature). - Code syntax highlighting — a hand-rolled zero-dependency lexer highlights
fenced code blocks and/showof standalone code files; the palette is
finalized via the design system and tiers across truecolor / 256 / 16. @-mention completion — an in-editor popup completes project files and
directories (gitignore-aware); at submit,@pathinjects the file content (or
a directory tree) so the model sees it without polluting the cached prefix.- Runtime model switching —
/modelswitches the model live, shows it on the
status bar, and persists the choice toconfig.toml. An in-editor picker popup
lists models fetched live from the provider'sGET /v1/models, so new models
appear and retired ones disappear automatically; unknown names are rejected. - More runtime commands —
/sessions,/resume,/new,/compact,
/init,/tools, plus context-window fill warnings. - Project memory —
AGENTS.mdis discovered (walk-up) and injected into the
REPL /run/issueprompts;/initgenerates one agentically. - MCP client — connect to stdio MCP servers and expose their tools alongside
the built-ins (mcpfeature, on by default). - gitignore-aware
searchtool and context compaction (/compact).
Changed
- HTTP TLS uses rustls (friendlier for aarch64 cross-compilation).
bashtool output is capped (32 KiB per stream) to prevent context overflow.
Fixed
- Numerous modal-editor fixes: inline-cursor origin offset, viewport clearing on
resize / exit, charwise multiline paste, and insert-mode arrow keys.
v0.2.0
First packaged release with prebuilt binaries for all platforms, including
aarch64 Linux for single-board computers (Raspberry Pi 4B/5, Orange Pi 5
Plus/5 Max).
Added
- Headless
orcarein run "<task>"— execute one task non-interactively and
exit (scriptable / CI-friendly). orcarein issue <number>— fetch a GitHub issue and work it end-to-end
(bring-your-own-key self-bootstrap loop).- Cost/usage meter: per-turn token + cache-hit + spend line, context-window
fill %, aneconomycache mode, and/usage(=/context) on demand. - Tool-call repair: malformed tool calls are corrected and surfaced as
self-correcting errors instead of aborting the turn. - Session management: interactive
session resumepicker,session delete,
and unambiguous short-id prefix matching for resume/delete. - Terminal UX: an alt-screen overlay + pager for
/show <file>and/history,
with/incremental search (n/N navigation, wrap-around, match highlighting);
a GPIO live monitor (orcarein hw monitor,hardwarefeature). All
capability-gated — degrades to plain output over SSH / serial / headless. - Cross-SoC hardware layer (
orcarein-hardware): board GPIO profiles for
Raspberry Pi 4B/5 and Orange Pi 5 Plus/5 Max (pinouts transcribed from the
official vendor docs), and agpiocdev-based GPIO backend that sets/reads
pins by logical name across Broadcom and Rockchip boards.
Changed
- HTTP client now uses rustls instead of OpenSSL — portable
cross-compilation to aarch64 and bundled roots (no system cert store needed
on minimal SBC images). - CI now lints and MSRV-checks the full feature matrix
(default /--all-features/--no-default-features). - Hardware GPIO backend migrated from the retired, Broadcom-only
rppalto the
SoC-agnostic Linux character device (gpiocdev).
v0.1.0
First MVP milestone (v0.1.0-mvp). A small, hackable terminal agent.
Added
- Streaming REPL agent harness over DeepSeek V4 and OpenAI-compatible providers
(token-by-token output, multi-turn context). Providertrait with DeepSeek, OpenAI, and aMockProviderimplementation,
sharing one OpenAI-compatible SSE parser.- Tool-use dispatch loop with a 5-tool suite:
read_file,write_file,
list_dir,bash,edit— each gated by a per-tool permission prompt. - Session model with JSON persistence: save, list, and resume conversations;
cumulative token-usage tracking. - Configuration system:
config.toml+ aSecretStore(secrets.toml,0600
on Unix); layered precedence (CLI flag > env var > TOML > default). API keys
never touchconfig.tomlor CLI flags. orcarein doctoroffline health checks; quiet-by-defaulttracingdiagnostics
(opt in viaRUST_LOG).clap-based CLI,directories-based cross-platform paths.