v0.1.27
GitHubMendCode v0.1.27 improves TUI reliability, interrupt handling, prompt guidance, permission synchronization, and narrow-terminal rendering.
Highlights
- Clear the frontend working indicator immediately when a user interrupts a running command, even if a stale unfinished assistant message remains cached.
- Keep long Mermaid flowcharts within the terminal width and rotate layouts when the preferred orientation cannot fit.
- Reconcile session permission-mode synchronization across transient local-server reconnects.
Added
- Add compact, width-bounded Mermaid flowchart layouts for long vertical and horizontal diagrams, including automatic rotation when a horizontal diagram cannot fit.
- Add explicit MendCode prompt guidance for task lifecycle discipline, cost-aware model routing, loop activation consent, background-subagent consent, custom tools/pages/widgets, and the supported TUI rendering surface.
- Add regression coverage for interrupted prompt state, reconnecting permission synchronization, Agent View ordering, compact flowcharts, and the expanded prompt contract.
Changed
- Expand the full prompt mode description with TODO, Loop Workflow, cost, TUI, and extension context while preserving the provider-focused harness contract.
- Make loop activation and background delegation require explicit user intent when the request does not already provide it.
- Bound normal and advanced Usage Insights fetch sizes separately and adapt heatmap cell widths and labels for narrow terminals.
- Retry and reconcile session permission-mode synchronization across transient local-server reconnects instead of surfacing avoidable errors.
Fixed
- Clear the TUI working indicator immediately after a user interrupts a running command, even when a stale unfinished assistant message remains in the frontend cache.
- Order active Agent View rows by turn start time instead of later tool-update timestamps.
- Keep long Mermaid flowcharts within the terminal width and avoid the unreadable fallback layout when the preferred orientation is too wide.
Tests & quality
- Focused TUI, prompt-composition, permission-sync, and Markdown-rendering tests: 193 passed with 849 expectations.
- bun typecheck passed.
- Interactive queue/compaction smoke passed with 3 local mock requests and no external provider calls.
- PR #228 passed repository guards, dependency review, deep security scanners, CodeQL, and JavaScript/TypeScript analysis.
- Release builds passed artifact checks, SHA256 checksum generation, SBOM generation, and build-provenance attestation.