Releases: DevMando/MandoCode
Releases · DevMando/MandoCode
v0.9.6
Changelog
All notable changes to MandoCode will be documented in this file.
[0.9.6] - 2026-04-06
Added
- Unit test project with 65 tests covering
InputStateMachineandDiffService- Text input, cursor movement, backspace/delete, submit
- Command autocomplete filtering, dropdown navigation, accept/dismiss
- Command history navigation with saved input restoration
- Paste handling with newline-to-space conversion
- Static helper tests (
IsCommand,GetCommandName) using parameterized[Theory]tests - Diff computation for new files, modifications, deletions, identical content
- Line ending normalization (Windows
\r\n, old Mac\r) - Large file fallback with sampled diffs
- Context collapse with configurable context lines
- Empty response recovery — when the model returns blank (context overflow), MandoCode now shows a helpful message instead of freezing with a blank screen
- Rendering timeout guard — markdown rendering runs with a 30-second timeout and a "Rendering..." spinner after 1 second, preventing permanent freezes on large responses. Falls back to raw text if rendering exceeds the limit.
Fixed
- Timeout retry deadlock — when a request timed out (5-minute limit),
RetryPolicywas treating the timeout as a transient error and retrying the entire request including all file reads. With 2 retries, this could silently hang for up to 15 minutes. Now the cancellation token is properly passed toRetryPolicyso timeouts fail fast. - Silent exception suppression — replaced 6 bare
catch { }blocks withcatch (Exception ex)logging toDebug.WriteLineacrossTerminalThemeService,App.razor,FileSystemPlugin,FunctionInvocationFilter, andShellCommandHandler - Shell command injection surface —
ShellCommandHandlerandFileSystemPluginnow useProcessStartInfo.ArgumentListfor proper argument escaping instead of manual string concatenation withcmd.Replace("\"", "\\\"") - Inconsistent config validation —
Program.csaccepted anymaxTokens > 0whileValidateAndClamp()enforced[256, 131072]. All validation now uses centralized constants and helpers onMandoCodeConfig
Changed
- Config validation constants (
MinTemperature,MaxTemperature,MinMaxTokens,MaxMaxTokens) and helpers (IsValidTemperature,IsValidMaxTokens) are now defined once onMandoCodeConfigand referenced byProgram.cs,ConfigurationWizard.cs, andValidateAndClamp()
MandoCode v0.9.5 – Unified Input, Smarter Onboarding, Slicker UX
Highlights
- Unified input state machine – Both the VDOM prompt and the imperative console loop now share the same InputStateMachine, so autocomplete,
history, and paste behave identically everywhere. - Seamless autocomplete – / and @ dropdowns no longer glitch; selecting a file or command instantly snaps back to the VDOM prompt with your
text intact. - Robust paste handling – Windows’ “large paste” confirmation no longer injects stray Enter keystrokes; pasted text is normalized and
inserted safely.
VDOM & input pipeline
- Async PromptInput bridge – PromptInput now awaits the autocomplete hand-off, drains buffered keystrokes, and feeds them back into the
shared state machine, eliminating the “typing on an empty console” flash. - @ browsing polish – Accepting directories/files keeps the dropdown state and immediately repopulates the VDOM prompt, so you can chain
references without retyping.
Smarter onboarding
- Connection lifecycle – Clear “🔄 Connecting…” → “✅ MandoCode is ready!” flow with /retry at any time.
- Offline guidance – A yellow panel explains exactly how to start Ollama (install, ollama serve, pull a model) and keeps /config + /learn
accessible. - /retry command – Rechecks the endpoint, re-validates the model, and updates the UI without restarting the CLI.
UX & personality
- Modern banner – Clean gradient “MANDOCODE” figlet replaces the wolf animation for a sharper first impression.
- Help tweaks – /exit is the only exit command; /retry and an @file tip are surfaced in the help table.
- Spinner upgrades – Loading messages pull from a new hip-hop / 90s tech / Matrix / CS 1.6 list, and every Spectre spinner style auto-loads
so animations never break.
Token & output polish
- Session totals still print above the prompt for quick reference.
- Per-response summaries remain right-aligned ([~in, out: tok/s]) without cluttering the scrollback.
Docs
- Added VDOMArchitecture.md, RazorConsoleComponents.md, AutocompleteSkill.md, and TaskPlanner.md explaining the new state machine + VDOM
bridge and how the CLI renders messages.
dotnet tool update -g MandoCode
Update with and enjoy the smoother experience!
Thanks to everyone who tried v0.9.2 , it had quite a bit of major breaking bugs, I hope this version serves you better.
THANK YOU!
v0.9.2
What's New
- Arrow key navigation — move cursor left/right within your input with arrow keys, Home/End to jump to start/end, Delete key
support - Fixed paste detection — fast typing no longer falsely triggers paste mode
- Fixed cursor after paste — pasting long text no longer freezes input or breaks Enter submission
- Pasted text shown inline — no more [pasted N characters] summary, actual text is displayed
Install / Update
dotnet tool update -g MandoCode