v0.2.0
LocalAgent v0.2.0 Release Notes
Date: 2026-02-25
Highlights
- Runtime architecture refactor: major decomposition of
main.rsinto focused runtime modules. - Startup UX improvement: automatic
.localagent/initialization on first project use. - Planner/chat/task execution paths hardened with preserved deterministic behavior and full regression coverage.
- Documentation alignment for current behavior, especially init flow and in-chat timeout controls.
What Shipped
Runtime Modularization
The runtime surface was split into dedicated modules to reduce coupling and improve maintainability:
agent_runtimechat_tui_runtimechat_repl_runtimetasks_graph_runtimestartup_bootstrapstartup_detectstartup_initruntime_wiringruntime_pathsruntime_eventsruntime_flagstask_applytask_eval_profileops_helperssession_opsapprovals_opsinstruction_runtimeplanner_runtime
main.rs now primarily acts as command orchestration and entrypoint wiring.
Startup / Init Behavior
- LocalAgent now auto-initializes
.localagent/on first command use in a project when missing. localagent initremains available for explicit, deterministic scaffold generation.
Chat and Timeout UX
- Slash-command timeout behavior is documented and aligned with runtime behavior:
/timeout <seconds|+N|-N|off>/timeout offdisables request/stream-idle timeout (connect timeout unchanged)
Docs and Guidance Alignment
- Updated docs to reflect:
- auto-init behavior
.localagent/instructions.yamlas the canonical profile path- current timeout command semantics
Behavior Notes
- No intentional breaking CLI flag removals in this release.
- Runtime internals were substantially reorganized; integrations depending on internal module layout should update references accordingly.
Verification Summary
cargo checkpasses.cargo test --workspacepasses.- Regression harness remains green, including MCP/protocol guard tests.
Upgrade
cargo install --path . --force
localagent versionRecommended Post-Upgrade Checks
- Run
localagentin a fresh project dir to confirm auto-init behavior. - Validate provider connectivity via
localagent doctor --provider <provider>. - Run one coding-task prompt in chat TUI and verify tool/approval/log panes behave as expected.
- If using instruction profiles, verify path/config resolution under
.localagent/instructions.yaml.