pawan-core v0.4.13
Core library for the Pawan CLI coding agent. Contains the agent engine, tool system, configuration, and healing/recovery logic.
What's New in v0.4.13
- Pure-Rust git engine — replaced
libgit2(C) withgix0.82 (gitoxide). No C toolchain dep.GitSessionStoreAPI unchanged; 789 tests pass. - mold linker + split-debuginfo — faster dev/test linking on Linux.
- Feature-gated heavy deps —
deagle,tasks,git-sessions,lancoroptional; all indefault. Faster cold builds when toggled off. - Workspace dep deduplication —
which,dirs,dotenvy,tempfilepromoted to workspace dependencies. - Module splits —
coordinator/types.rsextracted (796→459 lines);tools/git.rs→tools/git/(5 files);tools/native.rssplit intonative_search,mise,lsp_toolsubmodules. - Type deduplication —
MessageRoleremoved (dup ofagent::Role);to_definition()alias removed;FinishReasoncanonical withDisplay + Eq.
What's New in v0.4.8
- Shell-like command history navigation — Up/down arrow keys navigate through command history, matching bash/zsh/Claude Code/OMP behavior
- History persistence — Commands saved to history (excluding slash commands), accessible across sessions
What's New in v0.4.7
- Redesigned keyboard shortcuts — Ctrl+C always clears input, Ctrl+Q quits for cleaner separation of concerns
What's New in v0.4.6
- Redesigned Ctrl+C behavior — Clears input when non-empty, quits when empty (matching bash/zsh pattern)
What's New in v0.4.1
- Session tags UI — Visual green tags in status bar, manage via
/tagcommand - Fuzzy session search — Fuzzy matching with
[FUZZY]indicator in session browser - NVIDIA NIM catalog —
/modelscommand to browse available NIM models - Enhanced
/diff—--cachedflag support and colorized diff output - Improved
/loadand/resume— Opens session browser when called without arguments - Enhanced scrolling — PageUp/PageDown/Home/End keys and mouse wheel support in all popups (command palette, slash menu, session browser)
- Secure credential storage — API keys stored in OS-native credential store (Keychain/Credential Manager/libsecret)
- Test stability — All 789 library tests and 59 integration tests now pass consistently
Features
- Agent Engine — Multi-turn conversation with LLM backends (NVIDIA NIM, Ollama, OpenAI, MLX)
- Tool System — 34 tools in 3 tiers (Core/Standard/Extended) with tiered visibility
- Configuration — Pluggable config resolution via aegis or local files
- Healing — Auto-recovery from tool failures, context overflow, model errors
- Thinking Budget — Per-model thinking mode dispatch (Qwen, Gemma, Mistral, DeepSeek)
- Session Management — Save, load, and resume conversation sessions
- Model Selection — Dynamic model switching with search and filtering
Usage
use ;
use PathBuf;
let config = load?;
let _agent = new;
This crate is the foundation — use pawan (the CLI binary) for the full experience.
License
MIT