-
Added the ability to attach to a running subagent session from the terminal UI for interactive debugging. This feature allows users to inspect exactly what a subagent is doing in real-time, including streaming text and reasoning. You can press
Ctrl+Swhile a subagent is running to attach to it, cycle between multiple running subagents, and pressEscto detach. -
Added privacy-aware prompt scrubbing. A new
PrivacyContextscrubs sensitive content from prompts before they leave your machine, with tool-argument rehydration and privacy session support, a/privacycommand to inspect what is being scrubbed, and automated scrubbing telemetry notifications. Thanks to @akramcodez. -
Added an interactive questions system for plan mode, so the agent can ask structured questions while planning instead of guessing. Thanks to @akramcodez. Closes #96.
-
Added mode-specific provider and model configuration, so each development mode can use its own provider and model. Thanks to @akramcodez. Closes #277.
-
Added dual TUI screen modes, with a more reliable
/clearand graceful exit handling. Thanks to @llupRisinglll. -
Added multiline cursor navigation and word-jump in the input box. Thanks to @llupRisinglll.
-
Added
--resume/--continueCLI session flags.--continue(-c) resumes the most recent session for the current directory, and--resume [id](-r) resumes a session by id, list index, orlast, with a bare--resumeopening the session picker at startup. Thanks to @llupRisinglll. -
Added a fuzzy search filter to the
/modelpicker, with a capped, centered scrolling window so large model catalogs no longer overflow the terminal and the current model is preselected. Thanks to @rakshith1928. Closes #683. -
Added PDF and DOCX support to
read_filevia get-md, so those documents can be read directly. Thanks to @akramcodez. -
Added a
doctordiagnostic command that checks your setup and reports common configuration problems. Thanks to @Dhirenderchoudhary. Closes #609. -
Added a
retrycommand to re-run the last user turn. Thanks to @Dhirenderchoudhary. Closes #608. -
Added message queueing while the agent is busy so you can type ahead. Queued messages can be recalled before streaming, are truncated properly on narrow terminals, and no longer double-dispatch. Thanks to @Dhirenderchoudhary. Closes #597, #598.
-
Added estimated dollar cost tracking to
/usage, with a per-provider cost breakdown and a cumulative per-call cost history. Thanks to @rakshith1928. Closes #602. -
Added a
--jsonoutput flag to the non-interactive plain run path. Thanks to @OMEE-Y. -
Added a
diff_edittool for nano-profile models. Thanks to @Dhirenderchoudhary. Closes #604. -
Added automatic diagnostics after file edits, surfacing errors introduced by an edit right away. Thanks to @2409324124. Closes #538.
-
Added the foundation for semantic memory (storage layer and initial wiring), groundwork for upcoming memory features. Thanks to @Dhirenderchoudhary.
-
Reworked the client to a stateless API with history-boundary rehydration, improving conversation reliability. Thanks to @akramcodez.
-
Added a Together AI provider template and docs, and MiniMax Coding now defaults to MiniMax-M3. Thanks to @octo-patch. Added Atomic Chat local provider configuration docs. Thanks to @yanalialiuk.
-
Fix:
nanocoder.tuneloading and configuration precedence fromagents.config.jsonnow resolve correctly. Thanks to @rakshith1928. Closes #648. -
Fix: patch malformed SSE termination strings from providers, preventing stream parsing errors. Thanks to @akramcodez. Closes #614.
-
Fix: bound slash command completions so the menu no longer overflows. Thanks to @2409324124. Closes #624.
-
Fix: decouple console log verbosity from
NODE_ENVand quiet noisy LSP discovery logs. Thanks to @A-S-Manoj. Closes #606. -
Fix: removed the
strip-ansiruntime dependency. Thanks to @2409324124. Closes #643. -
Docs: added a Simplified Chinese README and Traditional Chinese translations, with fixes to the Simplified Chinese copy, plus a star-history chart. Thanks to @2409324124, @jason1015-coder, and @zerone0x.
-
Updated dependencies:
@ai-sdk/google,@ai-sdk/openai-compatible,undici,diff, andknip. -
The VS Code extension saw major work this cycle (ACP process manager and handshake, a chat sidebar webview with tool-permission and diff UI, session persistence, and Tailwind styling). It is versioned separately from the CLI. Thanks to @akramcodez and @Dhirenderchoudhary.
-
File tools now resolve relative paths against the shell's current working directory, and
cdin bash persists across commands — so relative reads and edits work after moving into a subdirectory or worktree. File tools also accept absolute paths that point inside the project, and can still reach the project root or a sibling worktree aftercd-ing into a subdirectory. -
Added a tabbed
/settingsdialog with searchable categories, so settings are easier to scan and filter from the TUI. Thanks to @llupRisinglll. Closes #471. -
Added a native VS Code GUI. The VS Code extension now ships a sidebar chat powered by the Agent Client Protocol (ACP): the extension spawns and manages
nanocoder --acpitself - nothing to run in a terminal. Responses stream with collapsible thinking sections, tool activity renders as live cards, and file edits open in VS Code's diff viewer. Thanks to @akramcodez. -
Sessions in the GUI: conversations persist to disk, with a New Chat action, a session history view with resume and delete, and full thread replay (including thinking and completed tool cards) on resume.
-
Provider, model, and mode switching from dropdowns in the chat header, with the model list refreshing on provider switch.
-
Slash commands in the GUI:
/help,/clear, and custom commands from.nanocoder/commands; CLI-only commands explain themselves, and messages starting with file paths are not mistaken for commands. -
Interactive tools in the GUI:
ask_userquestions render with one button per answer; tool approvals show Approve/Deny inline. -
Live progress: subagent runs stream token/tool counts onto their card, and the task tool (
write_tasks) renders as a live checklist via ACPplanupdates - which also lights up in other ACP clients like Zed. -
Cancellation: Stop ends the whole turn - the current tool aborts, queued tools are skipped, and no follow-up model request is issued.
-
Robust CLI spawning: the extension resolves the login shell's PATH (nvm-friendly when VS Code launches from the Dock), runs the CLI in the workspace folder, validates
nanocoder.cliPath, and surfaces the last stderr line in the crash dialog. Fixed a silent--acpstartup crash when the working directory was unwritable. -
Legacy WebSocket companion mode is now opt-in (
nanocoder.autoConnectdefaults to off); extension docs rewritten around the GUI. -
Fixed static vs. live content misalignment in
--alt-screen(fullscreen) mode. The chat transcript and the input/tools footer now share the same left column, so assistant messages, tool results, and the input line up cleanly. The fix moves the footer out to the transcript's padded column rather than pushing the transcript into the scroll viewport's clip window (which was clipping the first character of each line). -
Removed emoji badges from the
ask_usertool. Questions no longer render a question-type emoji next to the prompt, and the tool schema no longer advertises them to the model. -
ask_usernow always shows the answer. The tool result renders the full Question/Answer block even in compact tool display mode, instead of folding into the tool tally and hiding what was answered. -
Command suggestions now appear as soon as you type
/, and Tab selects the highlighted suggestion. Previously the menu was Tab-triggered and often failed to render, especially in alternate-screen mode. Recalling a/commandfrom history with the arrow keys no longer opens the menu, so ↑/↓ keep navigating history freely — the menu returns as soon as you type. -
Image attachments now leave an
[Image #N]placeholder in the message. Dragged or typed image paths are no longer silently stripped from the user message - each becomes a numbered[Image #N]placeholder (mirroring the[Paste #N]convention), numbered after any images already attached via Ctrl+V, and highlighted in the chat history like[@file]mentions. -
Fixed provider configuration loading so existing providers are preserved and startup falls back to a working provider instead of freezing. Thanks to @llupRisinglll.
-
Fixed Ctrl+S not cycling between multiple parallel subagent sessions. The attached-session transcript renders through Ink's append-only
<Static>, so switching agents never printed the new agent's messages; the view is now remounted per agent with a terminal wipe (same treatment as /clear), and rapid Ctrl+S presses cycle reliably. -
-adding typing svg in README.md showing "Meet Nanocoder" and "your private, local first ai coding assistant" Thanks to @jason1015-coder.
-
Added Thesean AI as a provider template. The
/setup-providerswizard now includes Thesean's Ship endpoint with Anthropic-compatible Claude models (ship-like/claude-opus-4-8,ship-like/claude-sonnet-5,ship-like/claude-haiku-4-5), plus a new docs page covering configuration and available models.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder.
-
Added image attachments on user messages. Paste an image from the clipboard with Ctrl+V (via
osascripton macOS,wl-paste/xclipon Linux, PowerShell on Windows), drag an image file into the terminal, or type a path - quoted, unquoted, and macOS backslash-escaped paths are all recognised, andhttp(s)URLs are left untouched. Attachments (PNG/JPEG/GIF/WebP, up to 10 MB) show above the input box and Ctrl+X removes the last one; references are stripped from the text and sent as image parts to vision-capable models. A missing clipboard tool now logs a debug breadcrumb instead of silently no-op'ing. Thanks to @ragini-pandey. Closes #572. -
Added skill promotion and demotion. Skills can now be promoted and demoted between project and personal scope, with a
--moveflag to relocate rather than copy the skill files. -
Fix: slash commands now run with their arguments. Once a space is typed after a slash command, the completion menu hides so Enter submits the full command with its arguments instead of selecting a completion and dropping everything after the command name.
-
Fix: the chat view no longer snaps to the bottom when a slash command completion menu opens. The completion and file-suggestion menus now render inside the bounded input layout, so the container expands without disrupting the window height calculation that previously forced the history to scroll in smaller terminals. Thanks to @Dhirenderchoudhary. Closes #581.
-
Fix: empty frontmatter blocks are recognised instead of leaking
---markers into the body or throwing.splitFrontmatternow matches an empty block, andextractRawFrontmatteruses the sharedparseYamlObjecthelper so an empty subagent frontmatter flows through to validation and surfaces a clearname is requirederror. Thanks to @Fadhlan. Closes #592. -
Fix:
ask_userunwraps label-as-key option objects, so options expressed as a{ label: value }map render as readable choices. -
Fix: surface real network errors instead of mislabeling them as context overflow. A failed request from a network error is no longer misreported as exceeding the context window.
-
Fix: size MoE models by total parameter count, not active count, when auto-resolving the tool profile, so mixture-of-experts models get the correct tune.
-
Fix: number formatting on the
/copycommand output. -
Docs: clarified MCP tool profile visibility and documented the image-attachments feature. Thanks to @zerone0x. Closes #593.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder.
-
Added Agent Client Protocol (ACP) support. Nanocoder can now run as an ACP agent (
nanocoder --acp), exposing its conversation, tool-calling, and permission flows over the protocol so it can be driven by ACP-compatible editors and clients (Zed and others). Newsource/acp/module covers the agent, server, session, conversation loop, content conversion, capability negotiation, and permission handling. Thanks to @Avtrkrb. Closes #529. Follow-up work added the missing ACP docs, kept the parallel tool-execution loop in sync with the plain shell, and madeNANOCODER_MAX_TURNSconfigurable (with a raised default) so long ACP and plain-mode runs are not cut short. -
Consolidated the built-in tool surface from 33 tools down to 19 and added automatic tool profiling. Tasks collapse from four tools into a single TodoWrite-style
write_tasks(replace-whole-list, no IDs for the model to juggle); file ops merge delete/move/copy/create_directory into onefile_op; git shrinks from eleven tools to six (status/diff/log/add/commit/pr) with rarer operations going throughexecute_bash. A newautotune profile - now the default - infersfull/minimal/nanofrom the model's parameter count, so small local models automatically get the slim tool set and prompt while large/cloud models are unchanged. The resolved profile re-resolves live on model switch and is surfaced in the input indicator (e.g.tune: nano (auto))./usageand the context indicator now rebuild from the live tune/mode/model with the profile-filtered tool count, so usage and context reporting are trustworthy. Roughly 6.3k lines removed. -
Added structured tool results and single-source validation. Tool arguments are now type-checked against each tool's JSON schema at the execution boundary (
schema-validate.ts), so malformed model output returns a clear field-level error the model can self-correct from, instead of being coerced at the render layer. Validation runs through the singlewithValidationseam shared by both the native and XML-fallback execution paths, ahead of any per-tool validator. Approval policy is likewise centralised and the old global mode context removed, so the current development mode (including a mid-run switch) is honoured consistently across the main loop and subagents. -
Added session resume with full history replay. Resuming a saved session now replays the message and tool-call history into the chat view via a new
session-history-renderer, so you pick up exactly where you left off with the conversation visible rather than an empty screen. Companion fixes resolved an autosave race, history-truncation, and resume edge cases, with regression coverage. Thanks to @akramcodez. Closes #545. -
Added the
/copycommand to copy the most recent assistant response to the system clipboard. Cross-platform viaclipboardy(pbcopy / xclip / clip.exe), with a clear warning when there is no assistant message and a surfaced error when the clipboard write fails. -
Added read-before-edit guards and tool-call loop detection for local models.
string_replaceandwrite_filenow require the file to have been read first, and a tool-signature tracker detects a model repeating the same tool call in a tight loop. Both make smaller local models materially safer to run unattended. -
Added a skill linter (
/skills check <name>and acheck_skilltool) that validates a bundle from disk with the same parsers the loader uses, so a PASS means it will load. It is wired into/skills createso the model verifies and self-corrects what it generates, and it lints member template bodies (unsupported mustache tags, unbalanced or unclosed sections, placeholders referencing undeclared parameters), not just frontmatter. Also added optional command arguments: inline defaults (name=default) and conditional sections ({{# name }},{{^ name }}) in command bodies, plus inverted-section support in custom-tool templates via a shared section engine. Fixed subagents ignoring the development mode (the executor capturednormalonce at startup and never updated it). -
Added Atlas Cloud as a first-class provider and sponsor, with a wizard onboarding template and a dedicated provider docs page.
-
Added the Requesty provider (https://requesty.ai) as a first-class OpenAI-compatible provider, mirroring the OpenRouter integration with a name matcher, app-attribution headers, a wizard onboarding template, and docs. Thanks to @Thibaultjaigu. Closes #589.
-
Added API-reported context usage with an estimate fallback. The
ctx: NN%indicator now reflects provider-accurate token counts when the model reports them (captured from the final step'susage, not the tool-loop-summedtotalUsage), falling back to client-side estimation otherwise. Estimated figures are marked with a leading~(ctx: ~42%); API-reported figures render bare. Thanks to @JimStenstrom. Refs #381. Follow-up work anchored the API figure across turns, counted real tool definitions in the auto-compact gate, and added a tiktoken-based generic fallback tokenizer for more accurate counts on models without a native tokenizer. -
Added git branch display in the boot summary and
/statuspanel, with a narrower-terminal-friendly rendering. Thanks to @ragini-pandey. Closes #539. -
Reworked provider model discovery UX in the wizard, surfacing real discovery errors instead of silently falling back, and showing model names in the selection list with long labels truncated by ellipsis. Thanks to @akramcodez and @Dhirenderchoudhary. Closes #554.
-
Added arrow-key navigation and highlighting for slash-command completion. The completion menu now navigates with the arrow keys, with the double-submit-on-select bug fixed (TextInput ignores Enter; UserInput handles select-then-submit behind a guard flag) and
customCompletionrestored. Thanks to @rakshith1928. Closes #578. -
Added a force-compact-and-retry fallback. When the LLM server rejects a request for exceeding its context window, nanocoder now compacts and nudges the conversation to continue instead of failing outright. Thanks to @lordoski. Closes #546.
-
Added timeout, output limits, and abort support to the bash executor, with regression tests covering the executor lifecycle. Thanks to @akramcodez. Closes #547.
-
Custom display: failed tool results condense to a one-liner in compact mode. Generic
Error:/Validation failed:results now render as a short red line (e.g.write_file failed.) in compact display mode, while the model still receives the full error in history and non-compact mode still shows it in full. -
Improved
ask_userprompt rendering: dropped the leading?from the header, fixed spacing and the hanging indent, added arrow-key navigation, and normalised object-shaped options to readable strings (preferring a label over a value id). -
Improved
@-file-mention handling: mention placeholders are kept in the chat instead of being expanded inline, and large-file inlining is capped to avoid blowing up the prompt. -
Fix: Copilot GPT-5 reasoning streams are now handled correctly via an
@ai-sdk/openaipatch and chat-handler changes, so reasoning content streams properly instead of breaking the response. Thanks to @EntropyParadigm. Closes #577. -
Fix: propagate
AbortSignalto streaming bash execution, so cancelling a turn actually stops a long-running streamed command. Thanks to @Dhirenderchoudhary. Closes #550. -
Fix: prevent silent overwrite of corrupted config files. A corrupted
agents.config.jsonno longer gets silently clobbered; the wizard now honours theprojectDirprop for config-path resolution and the infinite render loop on theexistingProvidersdefault param is resolved, all with regression coverage. Thanks to @Dhirenderchoudhary. Closes #551, #552. -
Fix:
read_filereturns an empty marker instead of throwing on empty files, including range and metadata-only reads, with theEMPTY_FILE_MARKERconstant extracted (later renamedEMPTY_CONTENT_MARKER) and tests for files containing only a newline. Thanks to @ragini-pandey. Closes #530. -
Fix: prevent orphaned tool results from breaking LLM compaction. A tool-aware boundary in the converter and summariser stops a recent-tail slice from splitting a tool-call group, which previously produced empty model output after compaction.
-
Fix:
/key no longer scrolls the chat view to the bottom. Thanks to @itsishant. Closes #590. -
Fix: close the chokidar watcher if daemon startup throws, and move the daemon stop-handler setup before resources start so a failed lockfile write calls
stop()and cleans up. Thanks to @OMEE-Y and @rakshith1928. Closes #553, #557. -
Fix: replaced a stray
console.loginmessage-queue.tsxwith the structured logger. Thanks to @A-S-Manoj. Closes #588. -
Fix: added subagent context window overrides so delegated agents can run with a different context limit than the main session, and resolve provider names case-insensitively with custom CA bundle support for provider TLS. Thanks to @zerone0x.
-
Added a
tmp >=0.2.6override to resolve a path-traversal advisory in a transitive dependency. Thanks to @ragini-pandey. -
Large refactor and dead-code sweep: unified tool-call ID generation, extracted a shared
useWizardFormhook, consolidated session-override managers, added message-factory helpers, deduped config loaders / git exec / command dispatch / conversation-loop flush, extractedStyledSelectInputandmakeSimpleToolFormatter, and deleted several dead modules and orphaned exports (includingfetch-local-modelsorphaned by an earlier removal). -
Updated the Nanocoder Battlemap competitive comparison and refreshed the README and docs.
-
Dependency updates:
ai6.0.174 -> 6.0.193,@ai-sdk/openai,@ai-sdk/openai-compatible,@ai-sdk/anthropic,@agentclientprotocol/sdk0.22.1 -> 0.25.0,undici,esbuild,@biomejs/biome2.5.0,lint-staged17,@types/node,@types/vscode, and other transitive bumps tracked through the lockfile. Addedclipboardy ^5.3.1for/copy.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder.
-
Added Skills, a unified extension primitive that brings commands, subagents, and tools under a single ergonomic surface. Two forms over one primitive: single-file (a
.mdin.nanocoder/commands|agents|tools/, fully backwards-compatible with the existing flat dirs) and bundle (a directory under.nanocoder/skills/<name>/withskill.yamlplus optionalcommands/,agents/,tools/subdirs). Bundles are for multi-piece features that need to ship and version together: a bundle's subagent automatically gets its sibling tools, scoped tools are hidden from the global tool list (default for bundles, opt-in for single-file), and bundle commands auto-namespace (commands/status.mdin bundlegitinvokes as/git:status). New/skillsslash command lists everything loaded, and bundled members fan out into the existingCustomCommandLoader,SubagentLoader, andToolManager.registryso downstream consumers keep using their familiar registries. Closes #515. -
Added event-triggered skill runs via a new per-project daemon. Skill members can declare
subscribe:blocks in frontmatter (or a bundle manifest) and the daemon wakes them onfile.changedandschedule.cronevents. The daemon (nanocoder daemon <start|stop|status|logs>) runs as a long-lived background process with a lockfile, Unix-socket IPC, and installers for launchd (macOS) and systemd user units (Linux). The interactive TUI never starts event sources, so file watching and cron only run when you opt in. Triggered runs execute in a new internal headless mode (noask_user, no foreground confirmations) which supersedes the legacyschedulermode. Per-subscriptionconfirm: trueopts intoplanmode instead. Backpressure caps per-subscription concurrency and trailing-debouncesfile.changedby 500ms so chatty save loops don't pile up. -
Removed the legacy
source/schedule/module (runner,storage,index,types). Schedules are now expressed asschedule.cronsubscriptions on a skill member and dispatched by the daemon. The olduseSchedulerModehook,scheduler-viewcomponent, and the.nanocoder/schedules.json/.nanocoder/schedules/*.mdstorage layout are gone. The/schedulecommand has been trimmed and refocused around the new model. Closes #524. -
Added Custom Tools: markdown-defined, model-callable tools that sit between custom commands (prompt injection only) and MCP servers (full external process). Drop a
.mdinto.nanocoder/tools/(project) or~/.config/nanocoder/tools/(personal), declare parameters in YAML frontmatter (with JSON Schema-styletype,required,pattern,maxLength, etc.), and write a shell command body using{{ name }}and{{# section }}template placeholders. All substitutions are shell-quoted to prevent injection. Includesapproval(always/never) andread_onlyflags that participate in mode policy: plan mode requiresapproval=never && read_only=true, scheduler/headless requiresapproval=never. New/tools create <name>scaffolds a template and asks the model to help fill it in. Project tools shadow personal ones byname, and they register into the sameToolManagerregistry as built-ins and MCP tools so/tools, subagents, and mode filtering see them through a single unified registry. Closes #520. -
Added LLM-based context compaction as the default
/compactstrategy. The active model writes a structured markdown summary of the compressible segment (Context / Decisions / Files modified / Tools used / Open questions) using a dedicated summariser prompt, replacing the older messages with one synthetic summary while recent messages are kept verbatim. Higher fidelity than mechanical truncation at the cost of one extra round-trip. Newstrategyfield inautoCompactconfig (llmdefault,mechanicallegacy), new CLI flags (--llm,--mechanical,--strategy <name>), and automatic fallback to mechanical compression on LLM failure (network error, empty response, summary larger than original). Auto-compact uses the same strategy. -
Added OpenRouter request configuration via a dedicated
openrouterblock on the provider config. Forwards OpenRouter-specific request body fields (providerrouting rules,reasoning,plugins,modelsfallback list,service_tier,route,user, etc.) on every request - always-on transport/routing concerns, not gated by/tune. Provider is detected by name (case-insensitive).tune.modelParameters.reasoningEffortpopulatesopenrouter.reasoning.effortwhen unset; explicit values on the provider config always win. Closes #519. -
Added config lint at startup. Surfaces common misconfigurations as warnings before they cause silent failures - e.g. an
openrouterblock on a provider that is not OpenRouter, unknown fields, type mismatches. Includes a full test suite. Closes #523. -
Reworked OpenRouter model selection in the provider wizard. Replaced the previous list with a paginated, searchable
ModelSelectionList(12 visible items, page navigation, multi-select with running counter, select-all, error state). Makes browsing OpenRouter's hundreds of models actually usable from the wizard. Closes #516. -
Added unified Session Service for key generation and session infrastructure. Consolidates the various ad-hoc keying strategies scattered across commands, handlers, and tool result display into one place. Touched 50 files across handlers, commands, hooks, and the chat handler, removing duplicated key-derivation logic and shrinking
useAppStateby ~38 lines. Fully closes #229. -
Added the Nanocoder Battlemap - a long-form competitive comparison doc covering Nanocoder against Claude Code, OpenAI Codex CLI, Gemini CLI, Aider, OpenCode, Crush, and Pi across twelve axes (license, pricing, local-model support, MCP, extensibility, tool-calling, subagents, surface, plain mode, stars, contributors, telemetry). Honest where Nanocoder leads, honest where it does not. Closes #423.
-
Made code blocks copyable without ASCII artifacts. Reworked the markdown parser and
AssistantMessagerendering so fenced code blocks render as plain selectable text without surrounding box borders that previously got copied into the clipboard. Thanks to @aravindinduri. -
Fix: streaming OOM on long responses.
StreamingMessagewas callingwrapWithTrimmedContinuations()on the entire growing assistant message on every ~150ms flush, allocating per-line arrays proportional to the full message size. A ~37k-token (~150 KB) response would overwhelm GC and crash the 4 GB Node heap. Now slices the message to a bounded tail (MAX_LINES * textWidth * 4chars, snapped to a newline boundary) before wrapping, so per-render work is constant in the visible window rather than linear in total streamed content. Thanks to @abhishekDeshmukh74. Closes #526. -
Fix: performance entry buffer OOM in long sessions. React 19's
react-reconciler(dev build) callsperformance.measure/performance.markon every render, and Node's built-in fetch (undici) pushes a resource-timing entry per HTTP request. Both write to the same global buffer, which nanocoder never drained. Over long subagent-heavy sessions the buffer accumulated millions of entries until V8 thrashed in mark-compact GC and crashed withIneffective mark-compacts near heap limit. Fix installs an unref'd 30s interval that callsperformance.clearMarks()/performance.clearMeasures()in the Ink render path. Thanks to @ragini-pandey. Closes #521. -
Fix: auto-compact ignored the per-provider
contextWindowoverride. The auto-compact threshold was computed against the model's default context window even when the provider config narrowed it, causing compaction to fire late (or not at all) on providers configured with a smaller usable window. Closes #525. -
Fix: surface real provider errors instead of
[object Object]. The error parser now extracts meaningful messages from AI SDK errors (status codes, body excerpts, nestedresponseBodyfields) before they reach the UI, so model and API failures show up as actionable text instead of an opaque stringified object. -
Fix: removed dead MCP server hosts from the wizard templates.
remote.mcpservers.organd a handful of other defunct discovery endpoints were still listed inmcp-templates.tsand would silently fail when selected. Companion dead-URL guard inmcp-clientprevents the wizard from surfacing entries it cannot reach. -
Fix: markdown parser regressions in fenced code extraction. Indented fenced code blocks (e.g. inside list items) now extract correctly, fenced blocks nested inside blockquotes are no longer split out (they belong to the quote), and indented list continuations are preserved as list text instead of being misparsed as indented code. Removed indented-code extraction from the shared markdown parser entirely - only fenced blocks split out for copyable rendering.
-
Fix: tightened the task management section of the system prompt to reduce over-eager task list creation on small jobs.
-
Minor: nudged the system prompt to avoid markdown tables in output. Tables render poorly in the terminal even though the markdown converter supports them, so the model is now steered toward bullet lists or short prose.
-
Fix: Nix packaging - reproducible pnpm 11 builds via
pkgs.pnpm_11now that nixpkgs PR #505103 has landed. Drops the version-override scaffolding, thechmod +x pnpm.cjspostInstall hack, and themanage-package-manager-versionsreplaceStringspatch from the previous release. Also documents and works around an upstreamfetch-pnpm-depsshell bug (export VAR valuewithout=) that caused non-deterministicv11/index.dbwrites whenside-effects-cachefell back to true. Re-enables theupdate-nix.ymlworkflow. Closes #511. -
Audit/security: updated
pnpm-workspace.yamlauditConfigandminimumReleaseAgeExcludeentries to align with the versions resolved in the lockfile, keepingpnpm auditoutput meaningful. Thanks to @aravindinduri. -
Chore: added
FUNDING.ymllinking the repo to Open Collective with a custom URL pointing at the/sponsorpage. -
Dependency updates: added
chokidar ^5.0.0for the daemon's file-watcher event source, plus assorted transitive bumps tracked through the lockfile.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder.
-
Bumped
@nanocollective/get-mdto^1.4.0, which makesnode-llama-cppan optional peer dependency. Drops the entirenode-llama-cpptransitive — including ~500 MB of platform-specific native binaries (CUDA, Vulkan, Metal, ARM variants) that pnpm fetched eagerly regardless of host — from the install graph and the Nix closure. Thefetch_urltool (the only consumer of get-md) uses the standard HTML→Markdown path which doesn't need the LLM converter, so there's no functional change. -
Patched
flake.nixfor pnpm 11 compat. Overrides nixpkgs's bundled pnpm (currently 10.x) to pnpm 11.0.9 to matchpackageManager, then handles two pnpm-11-specific quirks:chmod +xonbin/pnpm.cjs(a Corepack-compat shim shipped without the execute bit by upstream) and areplaceStringspatch onfetchPnpmDeps'sinstallPhaseto skip the now-rejectedpnpm config set manage-package-manager-versions falseglobal write. Unblocks theupdate-nix.ymlworkflow that's been failing onERR_PNPM_LOCKFILE_CONFIG_MISMATCH.
-
BREAKING: Removed redundant
nanocoderTools.alwaysAllowsetting. It duplicated the top-levelalwaysAllowwith no extra behaviour. Move any entries fromnanocoderTools.alwaysAllowto the top-levelalwaysAllowarray inagents.config.json. The deprecatedagents.config.example.jsonhas also been removed. -
Added nano mode — a third tool profile under
/tunedesigned for the smallest open-weights models or low-end hardware running larger models locally. Strictly more aggressive thanminimal: dropsfind_files,list_directory, andagent; trimsCORE PRINCIPLESandCODING PRACTICES; uses ≤4-lineTASK APPROACH,FILE OPERATIONS, andCONSTRAINTSsections; replaces the verboseSYSTEM INFORMATIONblock with a single-line## SYSTEMline; and omitsAGENTS.mdfrom the prompt by default. Brings the system prompt from ~500–700 tokens (minimal) down to ~150–250 tokens. Includes a new "Nano (low-end hardware)" preset and an Include AGENTS.md toggle. -
Added reasoning trace support. Reasoning content from models (Codex GPT-5, DeepSeek-R1-style, Anthropic extended thinking, etc.) now streams in real time, renders as a collapsible
Thoughtblock above the response, persists across history, and is included in logs. Toggle expansion withCtrl+R, configure default expansion via the new Display Settings panel, and pin per-session via the tuneexpandedReasoningoption.<think>tags are now stripped on the native tool-calling path so reasoning never leaks into rendered output. Thanks to @Daniel5055. Closes #457. -
Added refined non-interactive mode. A new
--plainflag streams output suitable for CI pipelines, scripts, and pipes — no Ink rendering, no interactive prompts, deterministic exit codes, and proper handling of stdin/stdout. Includes a dedicatednon-interactive-shellcomponent and full test coverage for the plain transport. -
Reworked VS Code extension integration. Removed the "Ask Nanocoder" command in favour of a more natural flow: highlighted text and the currently focused file are automatically pulled into Nanocoder as context. Backed by a rewritten extension protocol, a simplified extension entrypoint, a new
useVSCodeServerhook, and tighter UI hooks for the development mode indicator and chat input. -
Added
/renamecommand for renaming the current chat session. Accessible from the chat input and reflected in the development mode indicator. Thanks to @lordoski. -
Added
defaultModeconfig option for interactive sessions. Set a starting mode (normal,auto-accept,yolo,plan) inagents.config.jsoninstead of always launching in normal mode. Thanks to @lordoski. -
Added custom system prompt support via
agents.config.json. Define a project-level system prompt that replaces or augments the built-in prompt sections, with full validation and prompt-builder integration. Closes #487. -
Added per-provider and per-model context window overrides in
agents.config.jsonviacontextWindowandcontextWindows[model]. New resolution order: session override (/context-max,--context-max) → provider model override → provider default →NANOCODER_CONTEXT_LIMIT→ models.dev / Ollama fallback./usage, status bar, auto-compact, and context reporting all use the active provider config consistently. Closes #455. -
Added subagent context window overrides so delegated agents can run with a different context limit than the main session. Thanks to @zerone0x.
-
Added
disabledToolsconfig option inagents.config.jsonto disable specific built-in tools project-wide. Honoured by both the main agent and subagents. -
Added
--trust-directoryCLI flag to bypass the first-run directory trust prompt for automation. Yolo mode now also skips file path validators in line with its "auto-accept everything" semantics. -
Added JSON tool fallback mode for non-tool-calling open-weights models (Qwen, Kimi, GLM). The tune menu now cycles through Native ON / OFF (XML) / OFF (JSON), with
formatToolsForJSONPrompt()embedding literal JSON Schema and a JSON branch in the tool-call parser. Native path also gains JSON/XML hallucination recovery:parseToolCalls()is run against text content when the SDK reports notool_calls, andstripEmbeddedToolCallText()removes echoed tool-call text so Ghost Echo no longer leaks into the UI or history. Reference #500. -
Added
<function=...>format to the tool-call parser for models that emit OpenAI-style function tags. -
Added Display Settings panel under
/settings("Tool Results and Thinking") with two new toggles: Show Thinking by default (Ctrl+R) and Expand Tool Results by default (Ctrl+O), persisted tonanocoder-preferences.json. Thanks to @cleyesode. Closes #499. -
Added 12+ new themes to the bundled theme set.
-
Removed the in-repo release content generator workflow. Release content is now generated from another repo via ContentForest.
-
Bumped CI and devcontainer toolchain to Node.js 22 + pnpm 11 across
pr-checks.yml,release.yml,update-badges.yml, and.devcontainer/Dockerfile.engines.noderaised to>=22, with apackageManagerfield (pnpm@11.x.x) added topackage.jsonso Corepack pins the pnpm version automatically for both contributors and CI — no more drift, no per-workflowversion:lines.CONTRIBUTING.md/docs/getting-started/installation.md/.devcontainer/README.mdupdated to match. Fixes thenode:sqliteERR_UNKNOWN_BUILTIN_MODULEcrash hit by pnpm 11 on Node 20 runners. -
Migrated pnpm config from
package.jsontopnpm-workspace.yamlfor pnpm 11 compatibility:overrides,patchedDependencies, and the newallowBuildsblock now live in the workspace file. While migrating, audited and removed all 16 existing version overrides — every one was redundant under current dependency resolution (each transitive resolved to a version already exceeding the override's floor), and removing them leftpnpm auditoutput unchanged. -
Major spring-clean refactor across the codebase. Extracted shared
oauth-logincommand from the duplicatedcodex-loginandcopilot-loginflows; introduced shareditem-selectorcomponent used bymodel-selectorandprovider-selector; centralisedtool-needs-approvallogic; moved AI SDK error-handling specs into a dedicated subdirectory; tightened logging method factory; and trimmed redundant code paths inconversation-loop,subagent-executor, and the plain shell. -
Refactored
App.tsxand added missing test coverage for the app container and chat input components. -
Refactored settings theme selector UX. Replaced the scrollable
SelectInputwith arrow-key navigation, real-time theme preview, and a "Theme Name [n/N]" position indicator. Preferences are only persisted on Enter. -
Updated the system prompt to encourage subagent use more proactively for complex multi-step tasks.
-
Strip leading and trailing whitespace from assistant messages so blank lines and stray newlines from the model no longer push content around in the UI.
-
Fix: Empty model responses now trigger a capped auto-continue instead of crashing or burning tokens forever. Empty-response retry notices are coalesced into a single live counter so the chat history stays readable.
-
Fix: Surface context-size failures explicitly instead of silently retrying empty responses. Thanks to @zerone0x. Closes #501.
-
Fix: Persist compressed messages across recursive conversation turns. Auto-compact now also resets the streaming token count after compression, with regression coverage to keep it stable. Thanks to @lordoski. Closes #480.
-
Fix: Throw stream errors immediately during streaming instead of swallowing them and ending the response cleanly. Thanks to @alexbrjo.
-
Fix: Cap malformed-XML retries to prevent OOM when a model gets stuck emitting broken tool-call XML in a tight loop. Reference #500.
-
Fix: Stale
lastProviderafter running the config wizard mid-session — the next/providerinvocation picked up the old value. Includes regression coverage. Thanks to @electricwolfemarshmallowhypertext. Closes #477. -
Fix: Inaccurate tok/s reporting in the streaming status line.
-
Fix: File search, content search, and
@mentionautocomplete now work cross-platform. Replaced Unix-onlyfind/grep/whichshell-outs with pure Node.js implementations honouring.gitignoreandDEFAULT_IGNORE_DIRS, restored the 30s search timeout viaAbortSignal, and added Windows path normalisation. Thanks for the cross-platform report (#469). -
Fix: Read file tool description corrected.
-
Fix: Type
MCPTool.inputSchemaasJSONSchema7instead ofany, withisPlainObjectguard at the MCP protocol boundary so malformed server schemas resolve toundefinedrather than flowing through the system as a trusted type. Thanks to @ragini-pandey. Closes #467. -
Fix: Apply
caCertPathTLS configuration to Anthropic and Google providers (previously only OpenAI-compatible providers honoured it), with cert path validation. Companion fix for custom CA bundle support across all providers. Thanks to @zerone0x. Closes #491 (#380). -
Fix: Reject ambiguous provider names with case-insensitive duplicates (e.g. both
Ollamaandollamadefined). Provider names are now resolved case-insensitively throughout. Thanks to @zerone0x. Closes #488. -
Fix: Quoted custom command arguments (double, single, and backtick) are now parsed as a single parameter so multi-word values survive tokenisation. Closes #478.
-
Fix: Missing margin on the live sub-agent progress component.
-
Fix:
git_prtool still required approval in yolo mode. -
Fix:
bashmode no longer passes the currently selected file when not relevant. -
Fix: Incorrect passing of system prompt in some chat-handler paths.
-
Fix: Default missing
subagent_typeanddescriptionparameters on theagenttool to safe values to prevent a UI crash when the model omits them. -
Fix: Model context limits failed to resolve for
gemma4. -
Fix: Scheduler — clear the perf buffer between jobs to avoid an undici fetch leak that accumulated across long-lived scheduler sessions. Refresh the base system prompt for each scheduler execution so dynamic system info (current date, etc.) stays fresh.
-
Fix: Reasoning trace follow-ups — restore post-loop
flushBuffersafety net, persist reasoning onassistantMsgso it survives in history, default CodexreasoningSummary=autoandreasoningEffort=mediumso GPT-5 reasoning actually renders, and resolve a system-prompt cache race where "No subagents available." was cached before the subagent loader finished. -
Fix: Various test/CI breakages from merges and refactors.
-
Fix: Nix packaging — removed the unmaintained
snowfall-libdependency and improved overall packaging. Thanks to @PlasmaPower. Closes #459. -
Fix: Homebrew formula — switched the
nodedependency fromnode@20tonode@22to prevent thewebidl.util.markAsUncloneable is not a functionstartup crash. Thanks to @matthiasbolten. Closes #468. -
Fix: Repaired broken documentation references. Thanks to @breca.
-
Security: Address Semgrep findings flagged across the codebase.
-
Dependency updates:
ai6.0.116 → 6.0.174,@ai-sdk/openai3.0.41 → 3.0.53,@ai-sdk/google3.0.53 → 3.0.64,@ai-sdk/openai-compatible2.0.35 → 2.0.41,undici8.0.2 → 8.2.0,react19.2.4 → 19.2.6,yaml2.8.3 → 2.8.4,dotenv17.3.1 → 17.4.2,@nanocollective/get-md1.3.0 → 1.3.1, plus dev-dependency bumps for@biomejs/biome,knip,tsc-alias,@ava/typescript,@vscode/vsce,@types/vscode,eslint, andstrip-ansi.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder.
- Fixed Nix package: copy
themes.jsonand prompt section files into the Nix store sonix runno longer crashes at startup - Fixed Nix package: corrected wrapper script heredoc indentation that broke the shebang line
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder.
- Removed rogue document from
docs/
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder.
-
Added yolo mode — a new development mode that auto-accepts every tool without exception, including bash commands and destructive git operations (hard reset, force delete, stash drop/clear). Cycles between normal → auto-accept → yolo → plan via Shift+Tab. The status bar turns red when yolo mode is active.
-
Added subagents — isolated child conversations that the LLM can delegate work to. Ships with two built-in agents: Explore (read-only codebase investigation) and Reviewer (code review with actionable feedback). Subagents are defined as markdown files with YAML frontmatter specifying name, description, model, and allowed tools. User-defined subagents can be placed in
.nanocoder/agents/. Managed via the/agentscommand (show,create). Thanks to @brijeshkr for the initial subagent implementation. Closes #414. -
Added concurrent subagent execution. The LLM can launch multiple subagents in parallel, each with independent tool sets and live in-place progress rendering via the
AgentProgresscomponent. -
Added subagent tool approval matching main agent behaviour. Subagent write tools prompt for approval and bash always prompts unless in
alwaysAllow. Theagenttool itself no longer requires approval since internal tools have their own gates. -
Redesigned the system prompt into a modular, composable architecture. The monolithic
main-prompt.mdhas been replaced with individual section files undersource/app/prompts/sections/(identity, core principles, coding practices, file editing, tool rules, diagnostics, task management, etc.). The newprompt-builderassembles the prompt dynamically based on the current mode — normal, auto-accept, plan, and scheduler each get a tailored prompt with only the sections and tools relevant to that mode. Includes agenerate-system-promptsscript for offline token counting and prompt inspection. -
Made plan mode useful. Plan mode now enforces read-only tools at the policy level — all mutation tools (write, bash, git commit/push, task management) are blocked, leaving only exploration tools (read, search, find, list, git log/diff/status). The dedicated plan mode system prompt instructs the LLM to investigate thoroughly and produce a structured plan with summary, files to modify, step-by-step approach, dependencies/risks, and open questions — instead of trying to execute changes.
-
Added
/tunecommand for per-session prompt and tool customization. Includes a tune selector UI (Ctrl+T) with tool profiles (full, minimal), adisableNativeToolstoggle for forcing XML fallback, and aggressive compact mode. Tune state persists for the session and is reflected in the mode indicator. -
Centralized tool policy into
ToolManagerso prompt-time tool filtering and runtime approval use the same source of truth. Extractedtool-registry.tsfor cleaner separation of tool definitions from policy logic. -
Added ChatGPT Codex as a provider with OAuth device flow authentication (
/codex-login), streaming response support via a dedicatedStreamingMessagecomponent, and Codex-specific credential management. Includes provider template and setup wizard integration. -
Migrated
web_searchtool from Brave Search scraping to the official Brave Search API. Now requires awebSearch.apiKeyinagents.config.jsonundernanocoderTools. Removes thecheerioscraping dependency. -
Added
/setup-configcommand that lists all config files (project and globalagents.config.json,.mcp.json,nanocoder-preferences.json) with their paths and opens the selected one in your editor. -
Added configurable paste threshold for single-line paste handling, with tests for the configurable placeholder threshold. The threshold is a user preference in
nanocoder-preferences.json. Changed the default config file for paste settings fromagents.config.jsontonanocoder-preferences.json. Thanks to @grenkoca. -
Added live in-place task list display. Task progress now updates in place instead of appending repeated static lists to the conversation.
-
Improved tool output truncation across all tools. Every tool formatter now respects terminal width for cleaner output, including
execute_bash, file ops, git tools,search_file_contents, andweb_search. -
Redesigned the provider setup wizard with a unified model fetcher that auto-detects API compatibility (OpenAI-compatible, Ollama, Anthropic, Google) and fetches available models from the provider's endpoint. Simplified the provider step UI and added MiniMax and Kimi provider templates.
-
Fix:
alwaysAllowconfig not being respected forexecute_bash. Three interconnected bugs prevented it from working: top-levelalwaysAllowwas never loaded fromagents.config.json,isNanocoderToolAlwaysAllowedonly checkednanocoderTools.alwaysAllownot the top-level list, andnonInteractiveAlwaysAllowsetneedsApprovalon AI SDK tools but the conversation loop evaluated it from the original registry entries. Closes #431. -
Fix:
dimColormaking text inaccessible to reading on some screens. Closes #440. -
Fix: Tasks now clear when running
/clearcommand. -
Fix: Prevent edit flow from resolving MiniMax/Kimi to Anthropic template.
-
Fix: Set correct default model for MiniMax provider.
-
Fix:
/usageand context percentage showing stale system prompt length. AddedsetLastBuiltPromptand fixeduseContextPercentageoverwriting cache. -
Added debug logging to 15 silent catch blocks in git utilities that were swallowing errors invisibly. Operational catches now log at debug level for easier diagnosis while boolean probes (e.g.
isGitAvailable,branchExists) remain intentionally silent. Thanks to @ragini-pandey. Closes #452. -
Security: Address semgrep security finding in console.error. Thanks to @brijeshkr.
-
Security: Fixed vulnerable packages. Thanks to @brijeshkr.
-
Security: Replaced
exec()withexecFile()in VS Code extension installer to prevent command injection. Removes shell interpretation from CLI discovery and extension status checks. Thanks to @ragini-pandey. -
Added
/creditscommand showing project contributors (auto-generated from git history viapnpm run build:credits) and dependency versions. -
Added desktop notifications for tool confirmations, question prompts, and generation completions. Supports macOS (
terminal-notifierwith osascript fallback), Linux (notify-send), and Windows (PowerShell). Configurable per-event innanocoder-preferences.jsonand in/settingswith custom messages and optional sound. Includes a "Notifications" settings menu for preference management. -
Added CLI quality metrics framework (
benchmarks/measure.ts,benchmarks/report.ts) tracking correctness, performance (module count, boot time, bundle size), stability (tool/command counts, help text hash), and health (test counts, vulnerabilities). -
Reduced startup time by parallelizing and deferring non-critical initialization. LLM client and subagent init run in parallel on the critical path; update checks, MCP servers, and LSP servers now initialize in the background without blocking chat. Replaced the full Status box with a lightweight one-line
BootSummarycomponent. -
Fix: Scheduler mode memory leak — chat messages and components now clear before each scheduled job execution, preventing memory accumulation across repeated runs.
-
Fix: Updated agent documentation (
AGENTS.md,CLAUDE.md) with current project structure (766 files across 97 directories), added missing directory mappings, removed deprecated references, and documented the lazy-loading command system. -
Fix: Improved Ollama timeout handling for slow local models. Timeout errors are now detected case-insensitively, and IPv6 loopback addresses are correctly resolved. Thanks to @ragini-pandey.
-
Dependency updates
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder.
-
Added
--context-maxCLI flag for setting the context limit from the command line, complementing the existing/context-maxcommand andNANOCODER_CONTEXT_LIMITenv variable. -
Removed time from the system prompt to keep the KV cache more stable across requests. Thanks to @initialxy. Closes #415.
-
Task tool results are no longer displayed as compacted results during ensuring task progress remains visible in the conversation.
-
User input now uses the same text wrapping as assistant messages for a more consistent chat appearance.
-
Improved
search_file_contentstool robustness.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder.
-
BREAKING: Removed legacy
~/.agents.config.jsonconfig file support. Nanocoder no longer checks the home directory for a dot-prefixed config file. If you are still using this path, move your config to the platform-specific directory:~/Library/Preferences/nanocoder/agents.config.json(macOS),~/.config/nanocoder/agents.config.json(Linux), or%APPDATA%\nanocoder\agents.config.json(Windows). -
BREAKING: Removed legacy
~/.nanocoder-preferences.jsonpreferences file support. Preferences are now only loaded from the platform-specific directory (e.g.~/Library/Preferences/nanocoder/nanocoder-preferences.jsonon macOS) or a project-levelnanocoder-preferences.jsonin your working directory. To migrate, move your existing file:mv ~/.nanocoder-preferences.json ~/Library/Preferences/nanocoder/nanocoder-preferences.json -
BREAKING: Removed deprecated array format for MCP server configuration. Only the object format is now supported:
{ "mcpServers": { "serverName": { ... } } }. If you are using the array format in.mcp.json, convert each array entry to an object key using the server name. -
BREAKING: Removed
agents.config.jsonfallback for MCP server loading. Global MCP servers must now be configured in~/.config/nanocoder/.mcp.json(Linux),~/Library/Preferences/nanocoder/.mcp.json(macOS), or%APPDATA%\nanocoder\.mcp.json(Windows). Provider configuration still usesagents.config.json. -
BREAKING: Removed
authandreconnectfields from MCP server configuration. Theauthfield was never functional (both HTTP and WebSocket transports logged warnings that it was unsupported). Thereconnectfield was never implemented. Useheadersfor HTTP authentication instead (e.g."headers": { "Authorization": "Bearer $TOKEN" }). -
Added
/resumecommand for restoring previous chat sessions. Sessions are automatically saved and can be resumed from an interactive selector. Sessions are filtered by the current project directory by default, with an--allflag to show all sessions. Thanks to @yashksaini-coder. -
Added
--providerand--modelCLI flags for non-interactive provider and model specification, allowing CI/CD scripts and automation to skip the setup wizard. Closes #394. Thanks to @james2doyle. -
Added
NANOCODER_PROVIDERSenvironment variable support for configuring providers without config files, useful for Docker containers and CI environments. Closes #307. Thanks to @kaustubha07. -
Added GitHub Copilot as a provider template with OAuth device flow authentication and
/copilot-logincommand. Thanks to @yashksaini-coder. -
Added MLX Server provider template for local Apple Silicon inference. Closes #318.
-
Added parallel tool execution allowing the model to run multiple independent tool calls concurrently for faster task completion.
-
Added compact mode toggle via
Ctrl+Lin chat input to collapse the conversation view. -
Added VS Code fork support for IDE integration (Cursor, Windsurf, VSCodium, etc.). Thanks to @kapsner.
-
Added Aurora Borealis theme.
-
Added notice when the model falls back to XML tool calls, informing users they can switch to a model with native tool calling support.
-
Adopted AI SDK human-in-the-loop pattern for tool approval. Tool confirmation now uses the SDK's built-in
tool-approval-request/tool-approval-responseflow instead of manual tool-call splitting, improving reliability and reducing code complexity. -
Simplified tool processing by removing double XML parsing and the JSON tool call parser. Tool call parsing now happens in a single place and only on the XML fallback path for non-tool-calling models.
-
Restructured documentation into a Nextra-compatible
docs/folder structure with nested sections for getting-started, configuration, and features. The README is now a concise landing page linking to the full docs. -
Refactored app-utils into focused handler files, extracted shared utilities, unified mode state, and stubbed commands for cleaner architecture.
-
Fix:
alwaysAllowfield in MCP server configuration was silently dropped during config loading due to a missing field mapping. MCP tools configured withalwaysAllownow correctly skip confirmation prompts as documented. -
Fix: Provider timeouts are now respected in non-interactive mode. Thanks to @kaustubha07. Closes #402.
-
Fix: Non-interactive mode no longer exits prematurely when the prompt or response contains the word "error".
-
Fix: Invalid CLI arguments no longer trigger the setup wizard. Thanks to @james2doyle.
-
Fix: Installation detector no longer falsely reports Homebrew on macOS when
HOMEBREW_PREFIXis set but Nanocoder was installed via npm. Closes #392. -
Fix: Preserve draft message when navigating through history with arrow keys.
-
Fix:
fetch_urldisplay now truncates to fit terminal width. -
Fix: Validation failures no longer incorrectly prompt for tool confirmation.
-
Fix: Various error message and
execute_bashformatter improvements. -
Fix: Safe process metrics refactored into shared module to prevent duplicate declarations. Thanks to @cleyesode.
-
Security: Package audit failures resolved.
-
Dependency updates:
ai6.0.116,@ai-sdk/anthropic3.0.58,@ai-sdk/google3.0.33,@ai-sdk/openai-compatible2.0.30,@modelcontextprotocol/sdk1.27.1,undici7.24.0,cheerio1.2.0,dotenv17.3.1,wrap-ansi10.0.0.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder.
-
Added
ask_usertool for interactive question prompts. The LLM can now present the user with a question and selectable options during a conversation, returning their answer to guide the next step. Uses a global question-queue to bridge the tool's suspended Promise with the Ink UI component. -
Added per-project cron scheduler for running AI tasks on a schedule. Schedule files live in
.nanocoder/schedules/as markdown prompts with YAML frontmatter, managed via the/schedulecommand (create,add,remove,list,logs,start). Includes cron expression parsing, sequential job queue with deduplication, dedicated scheduler mode with auto-accept, and run history logging. -
Added centralized graceful shutdown system. A
ShutdownManagernow coordinates cleanup of all services (VS Code server, MCP client, LSP manager, health monitor, logger) on exit, preventing orphaned child processes and dangling connections. Configurable viaNANOCODER_DEFAULT_SHUTDOWN_TIMEOUTenv variable. Closes #239. -
Added file operation tools:
delete_file,move_file,create_directory, andcopy_file. Reorganized existing file tools into afile-ops/directory group. -
Added readline keybind support to text input. Replaces
ink-text-inputwith a customTextInputcomponent supporting Ctrl+W (delete word), Ctrl+U (kill to start), Ctrl+K (kill to end), Ctrl+A/E (jump to start/end), and Ctrl+B/F (move char). Closes #354. -
Added
/context-maxcommand andNANOCODER_CONTEXT_LIMITenv variable for manual context length override on models not listed on models.dev. Resolution order: session override > env variable > models.dev > null. Closes #379. -
Added
/idecommand matching the--vscodeflag for toggling VS Code integration from within a session. -
Added persistent context percentage display in the mode indicator, replacing the previous context checker component.
-
Added
includeandpathparameters tosearch_file_contentstool for scoping searches to specific file patterns and directories. -
Added Kanagawa theme.
-
Refactored the skills system into custom commands, eliminating redundant parsers, loaders, and test suites. Commands gain optional skill-like fields (
tags,triggers,estimated-tokens,resources) for auto-injection and relevance scoring. The/skillscommand is removed and its functionality absorbed into/commandswith new subcommands (show,refresh). Thanks to @yashksaini-coder for the initial skills implementation in PR #370. -
V2 type-safe tool system overhaul with defensive parsing. Implements a three-tiered defense system for handling chaotic LLM outputs, preventing crashes from non-string responses and enabling robust self-correction. Includes universal type safety with
ensureString(), response normalization, confidence system inversion, ghost echo deduplication, and AI SDK contract fixes. Local LLM experience is now significantly more stable. Thanks to @cleyesode. Closes #362. -
Fix: XML parser now uses optimistic matching for consistency with the JSON parser. Thanks to @cleyesode.
-
Fix: Bash tool now emits progress immediately on stdout/stderr data instead of waiting for the 500ms timer, so fast-completing commands show streaming output.
-
Fix: Recognize
127.0.0.1as a local server URL and tighten error classification. Ollama users configuring127.0.0.1instead oflocalhostno longer experience misleading connection errors. Replaced broadconnectsubstring match with specific error codes to prevent misclassifying "disconnect"/"reconnect". Closes #366. -
Fix: Skip loading git tools when not inside a git repository.
-
Fix: Strip ANSI escape codes before running regex matching in tool formatters.
-
Fix: Gap in layout during auto-compact.
-
Fix: Hardened
write_filevalidation and MCP client type safety. -
Fix: Use local
TextInputcomponent instead of the missingink-text-inputpackage. -
Fix(mcp): Use Python-based
mcp-server-fetchinstead of non-existent npm package. -
Security: Semgrep and audit fixes.
-
Dependency updates:
ai6.0.95,@ai-sdk/anthropic3.0.46,@ai-sdk/google3.0.30,undici7.22.0,sonic-boom4.2.1.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Added MiniMax Coding Plan and GLM-5 to provider templates in the configuration wizard.
-
Fix: Model context limit lookups now use models.dev as the primary source instead of the hardcoded fallback table. This prevents stale hardcoded values from overriding accurate upstream data. The hardcoded table remains as an offline-only fallback. Also fixes greedy key matching where shorter keys like
mixtralwould match beforemixtral:8x22b, and replaces first-match name lookups with scored matching for more accurate results. -
Fix: Binary and excessively large files tagged with
@no longer pollute the LLM context window with unreadable content. -
Fix: Diff preview panel no longer steals terminal focus from the active input.
-
Fix: Reduced verbosity of the
string_replaceerror formatter output. -
Fix: Reject null and non-object arguments in JSON tool calls, preventing formatter crashes from malformed tool call arguments. Thanks to @cleyesode.
-
Fix: Restored
formatErrorusage for validation and execution errors. -
Dependency updates:
ink-gradient4.0.0,react19.2.4,@nanocollective/get-md1.1.1,@ai-sdk/anthropic3.0.43,pino10.3.1,@types/react19.2.14.
-
Security: Tool validators now run inside the AI SDK's auto-execution loop. Previously, tools with
needsApproval: false(likeread_file) were auto-executed by the AI SDK'sgenerateTextwithout any path validation, allowing the model to read or write files outside the project directory using absolute or~paths. Validators are now wrapped into each tool'sexecutefunction at registration time, ensuring validation runs in all code paths. -
Security: Reject home directory shorthand (
~) in file path validation. Paths starting with~are not expanded by Node.js and could bypass project boundary checks. -
Fix: Tab characters in code blocks within assistant messages now render at 2-space width instead of the terminal default of 8 spaces. This prevents long lines from wrapping prematurely and eliminates the blocky visual effect on messages containing indented code.
-
Fix:
normalizeIndentationno longer short-circuits when the minimum indent is 0. Previously, if any line in the context window had zero indentation, raw tab characters passed through to the terminal unchanged, rendering at 8-space width instring_replacediff previews.
-
Fix: Removed tool call deduplication from JSON parser that silently dropped duplicate tool calls, breaking the 1:1 pairing between tool calls and results expected by AI SDK. This caused "Tool result is missing for tool call" errors that would end the agent's turn prematurely. Consolidated three overlapping regex patterns into a single comprehensive pattern to prevent duplicate matches. Thanks to @cleyesode.
-
Fix: Added missing capture group for arguments in the consolidated JSON tool call regex pattern, which caused inline tool calls to have empty arguments instead of actual parsed values.
-
Fix: When the model batched read-only and write tools in a single response (e.g.
read_file+string_replace), the auto-executed read tools would recurse into the next conversation turn, abandoning the confirmation-needed write tools. This left orphanedtool_useblocks without matchingtool_resultentries, triggering intermittent "Tool result is missing for tool call" errors with the Anthropic provider. -
Dependency updates:
@ai-sdk/openai-compatible2.0.27,undici7.21.0,@biomejs/biome2.3.14,@types/vscode1.109.0,@types/node25.2.1.
- Fix: Markdown tables in assistant messages were rendered at full terminal width instead of accounting for the message box border and padding, causing broken box-drawing characters when lines wrapped.
-
Added native Anthropic SDK support via
@ai-sdk/anthropicpackage. The Anthropic Claude provider template now usessdkProvider: 'anthropic'for direct API integration instead of the OpenAI-compatible wrapper. -
Fixed Kimi Code provider template to use the native
@ai-sdk/anthropicSDK with correct base URL and configuration passthrough. -
Fix: User message token count now reflects the full assembled content including pasted content and tagged file contents, instead of only counting the placeholder text.
-
Fix: Removed aggressive tool call deduplication that silently dropped duplicate tool call IDs and identical function signatures. This could cause "Tool result is missing for tool call" errors with providers like Anthropic that strictly validate tool call/result pairing.
-
Added
/explorercommand for interactive file browsing with tree view navigation, file preview with syntax highlighting, multi-file selection, search mode, and VS Code integration. Closes #298. -
Added task management tools (
create_task,list_tasks,update_task,delete_task) with/tasksslash command for models to track and manage progress on complex work. Tasks persist in.nanocoder/tasks.jsonand are automatically cleared on CLI boot and/clearcommand. -
Added
/settingscommand for interactive command menu to configure UI theme and shapes without editing config files directly. -
Added
sdkProviderconfiguration option for native Google Gemini support. This fixes the "missing thought_signature" error with Gemini 3 models by using the@ai-sdk/googlepackage. Closes #302. -
Added custom headers support in provider configuration. This enables authentication through tunnels like Cloudflare. Thanks to @nicolalamacchia.
-
Added Kimi Code provider template in configuration wizard.
-
Added new themes with updated user input and user message styling for better visual clarity and consistency.
-
Added token count display after messages and completion message to provide visibility into context usage throughout conversations.
-
Refactored git tools for better consistency, improved error handling, standardized parameter handling across all git operations, and enhanced user feedback messages.
-
Added line truncation in
write_fileandstring_replaceformatters to prevent excessive output from files with very long lines and neaten user experience on narrow terminals. -
Fix:
/usagecommand crash when context data is unavailable. -
Fix: String replace error handling for edge cases.
-
Fix: Multiple security audit issues resolved.
-
Fix: Various styling improvements across components.
-
Fix: Dependency lockfile issues resolved.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Added
/compactcommand for context compression with--restoreflag support to restore messages from backup. The command now includes auto-compact functionality, consistent token counting, and improved compression for very long messages. Thanks to @Pahari47. -
Added hierarchical configuration loading for both provider configs and MCP servers. Local project configurations now properly override global settings, and Claude Code's object-style MCP configuration format is now supported. Thanks to @Avtrkrb.
-
Added
alwaysAllowconfiguration option for MCP servers to auto-approve trusted tools without confirmation prompts. Thanks to @namar0x0309. -
Added automatic tool support error detection and retry mechanism. Models that don't support function calling are now detected and requests automatically retry without tools. Thanks to @ThomasBrugman.
-
Added
--versionand--helpCLI command options for quick reference. Thanks to @Avtrkrb. -
Added
/quitcommand as an alternative way to exit Nanocoder. Thanks to @Avtrkrb. -
Added
/nanocoder-shapecommand for selecting branding font styles. -
Added keyboard shortcuts documentation to README.
-
Renamed
/setup-configto/setup-providersfor clearer naming. -
Improved
/mcpcommand modal with better colors and title formatting. Thanks to @Avtrkrb. -
Improved
/helpcommand title heading styling. Thanks to @Avtrkrb. -
Added CLI test harness for non-interactive mode testing. Thanks to @akramcodez.
-
Added comprehensive test suite for tool error detection. Thanks to @ThomasBrugman.
-
Added
DisableToolModelsdocumentation to README. Thanks to @ThomasBrugman. -
Fix: Resolved bash tool keeping processes alive after command completion.
-
Fix: Corrected log directory paths and enabled file logging in production.
-
Fix: Improved deprecation message for MCP config to display correct config directory instead of hardcoded Linux path. Thanks to @Avtrkrb.
-
Fix: Resolved shell command security scanning alerts built from environment values. Thanks to @Avtrkrb.
-
Fix: Security audit dependencies updated.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Fixed configuration wizard blocking users from entering HTTP URLs for remote Ollama servers. The wizard now allows any valid HTTP/HTTPS URL without requiring local network addresses.
-
Fixed
@modelcontextprotocol/sdkdependency version to resolve npm audit security issue. -
Fixed TLS certificate errors when using
uvxMCP servers behind corporate proxies. Nanocoder now automatically adds--native-tlsto uvx commands to use system certificates instead of rustls.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Fixed
search_file_contentsreturning excessive tokens by truncating long matching lines to 300 characters. Previously, searching in files with long lines (minified JS, base64 data, etc.) could return ~100k tokens for just 30 matches. -
Added validation to
read_fileto reject minified/binary files (lines >10,000 characters). These files consume excessive tokens without providing useful information to the model. Usemetadata_only=trueto still check file properties. -
Fixed
web_searchresult count display showing mismatched values (e.g., "10 / 5 results"). The formatter now correctly uses the same default as the search execution. -
Improved
web_searchandfetch_urlformatter layouts to matchexecute_bashstyle with consistent column alignment and spacing.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Added preview generation to git workflow tools (
git-status-enhanced,git-smart-commit,git-create-pr) showing results before execution. -
Fixed
string-replaceline number display in result mode - now correctly shows line numbers of new content after replacement. -
Added hammer icon (⚒) to git tool formatters for visual consistency.
-
Improved formatting in
bash-progress,execute-bash, andread-filetools with better spacing and layout. -
Simplified
string-replacevalidation logic and removed redundant success messages. -
Fix: Running
/init --forceadded duplication toAGENTS.md.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
Fix: React Context Error - useTitleShape must be used within a TitleShapeProvider
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
Happy New Year! We all hope you had a great holidays and are feeling refreshed ready for 2026 🌟
-
Added Catpuccin themes (Latte, Frappe, Macchiato, Mocha) with gradient color support. Thanks to @Avtrkrb.
-
Added VS Code context menu integration - you can now right-click selected code and ask Nanocoder about it directly.
-
Added comprehensive testing achieving 90%+ code coverage across components, hooks, tools, and utilities. Tests now include unit and integration coverage for critical paths.
-
Added automated PR checks workflow with format, type, lint, and test validation. Pull requests now get automatic quality checks. Thanks to @Avtrkrb.
-
Added LSP support for Deno, GraphQL, Docker/Docker Compose, and Markdown language servers with automatic project detection. Thanks to @yashksaini-coder.
-
Added auto-fetch models feature in setup wizard - providers can now automatically fetch available models during configuration. Thanks to @JimStenstrom.
-
Added git workflow integration tools including smart commit message generation, PR template creation, branch naming suggestions, and enhanced status reporting. Thanks to @JimStenstrom.
-
Added file content caching to reduce tool confirmation delays and improve performance. Thanks to @JimStenstrom.
-
Added path boundary validation to file manipulation tools to prevent directory traversal attacks.
-
Added granular debug logging with structured pino logger throughout catch blocks for better error tracking. Thanks to @JimStenstrom and @abhisek1221.
-
Added devcontainer support for streamlined development environments. Thanks to @Avtrkrb.
-
Added stylized title boxes with powerline-style shapes and real-time preview in custom commands. Thanks to @Avtrkrb.
-
Added real-time bash output progress with live updates during command execution.
-
Added inline word-level highlighting to string_replace diff display for clearer change visualization.
-
Improved code exploration tools with better tool calling prompts and descriptions and new
list_directoriestool. Thanks to @DenizOkcu. -
Centralized token calculation in tools with consistent usage display in formatters. Thanks to @DenizOkcu.
-
Added AI SDK error types for better tool call error handling. Thanks to @DenizOkcu.
-
Centralized ignored file patterns usage throughout Nanocoder for consistency. Thanks to @DenizOkcu.
-
Refactored App component into focused modules (useAppState, useAppInitialization, useChatHandler, useToolHandler, useModeHandlers) for better maintainability.
-
Refactored message components to unify structure and fix memoization inconsistency. Thanks to @abhisek1221.
-
Refactored handleMessageSubmission into focused handler functions for better code organization. Thanks to @JimStenstrom.
-
Refactored health-monitor, log-query, and AISDKClient into smaller focused modules.
-
Renamed multiple files to kebab-case for consistency (AISDKClient.ts → ai-sdk-client.ts, appUtils.ts → app-util.ts, conversationState.ts → conversation-state.ts). Thanks to @JimStenstrom.
-
Replaced sync fs operations with async readFile for better performance. Thanks to @namar0x0309.
-
Improved tool formatter indentation for better readability.
-
Extracted magic numbers to named constants for better code clarity. Thanks to @JimStenstrom.
-
Enhanced validateRestorePath to check directory writability. Thanks to @yashksaini-coder.
-
Fix: Resolved "Interrupted by user" error appearing on empty model responses.
-
Fix: Command completion now prioritizes prefix matches over suffix matches for more intuitive autocomplete.
-
Fix: Resolved duplicate React keys issue by using useRef for component key counter. Thanks to @JimStenstrom.
-
Fix: Development mode context synchronization prevents autoaccept race conditions. Thanks to @JimStenstrom.
-
Fix: Bounded completedActions array to prevent memory growth during long sessions. Thanks to @JimStenstrom.
-
Fix: User input cycling now works correctly.
-
Fix: Slash + Tab now shows all available commands instead of subset.
-
Fix: Command injection vulnerabilities in shell commands resolved.
-
Fix: Large paste truncation in slow terminals resolved. Thanks to @Alvaro842DEV.
-
Fix: find_files tool now correctly recognizes all pattern types.
-
Fix: Tool over-fetching in find and search tools reduced for better performance. Thanks to @pulkitgarg04.
-
Fix: Prompt history handling improved with better state management.
-
Fix: Paragraphs now render correctly in user messages.
-
Fix: Added helpful error messages for missing MCP server commands. Thanks to @JimStenstrom.
-
Fix: Size limits added to unbounded caches to prevent memory issues.
-
Fix: Resolved several security scanning alerts for string escaping and encoding. Thanks to @Avtrkrb.
-
Fix: Switched to crypto.randomUUID and crypto.randomBytes for secure ID generation. Thanks to @JimStenstrom and @abhisek1221.
-
Fix: Broken pino logging documentation link in README.
-
Fix: Husky pre-commit hook configuration improved. Thanks to @Avtrkrb.
-
Fix: Silent configuration issues resolved. Thanks to @sanjeev55999999.
-
Fix: Added debug logging to empty catch blocks in LSP modules to improve error tracking and debugging. Thanks to @JimStenstrom.
-
Fix: Prevented process hang when exiting security disclaimer for better user experience. Thanks to @JimStenstrom.
-
Fix: Handled line wrap in read-file metadata test to ensure proper test reliability. Thanks to @JimStenstrom.
-
Fix: Use cmd.exe on Windows for command spawning to resolve cross-platform shell issues.
-
Fix: LSP diagnostics tool now properly handles non-existent files.
-
Fix: /clear command UI display restored.
-
Fix: Bun runtime detection added to LoggerProvider. Thanks to @JimStenstrom.
-
Fix: Resolved race conditions in singleton patterns and improved VS Code integration.
-
Fix: LoggerProvider async loading completion issues resolved.
-
Fix: Cleanup timeout leak in LSP client.
-
Fix: Duplicate SIGINT handler issues resolved.
-
Fix: High severity qs vulnerability patched via pnpm override. Thanks to @Pahari47.
-
Fix: Removed line numbers from tagging files and read_file tool as it confused models when pattern matching content changes.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Refactored file editing tools by replacing line-based tools with modern content-based editing for better reliability and context efficiency.
-
Replaced
create_filewithwrite_file- a tool for whole-file rewrites, ideal for generated code, config files, complete file replacements and the creation of new files. -
Optimized system prompt to be more concise and reduce token usage.
-
Fix: Tool call results were incorrectly being passed as user messages, causing hallucinations in model responses. This has caused great gains for models like GLM 4.6 which commonly struggles with context poisoning.
-
Fix:
/usagecommand now correctly displays context usage information.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
- Fix Nix releases.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Added non-interactive mode for running Nanocoder in CI/CD pipelines and scripts. Pass commands via CLI arguments and Nanocoder will execute and exit automatically. Thanks to @namar0x0309.
-
Added conversation checkpointing system with interactive loading for saving and restoring conversation state across sessions. Thanks to @akramcodez.
-
Added enterprise-grade Pino logging system with structured logging, request tracking, performance monitoring, and configurable log levels. Thanks to @Avtrkrb.
-
Switched to Biome for formatting and linting, replacing Prettier and ESLint for faster, more consistent code quality tooling. Thanks to @akramcodez.
-
Added Poe.com as a provider template in the configuration wizard. Closes issue #74.
-
Added Mistral AI as a provider template in the configuration wizard.
-
Updated Ollama model contexts.
-
Added
--forceflag to/initcommand for regenerating AGENTS.md without prompting. -
Removed
ink-titled-boxdependency and replaced it with a custom implementation. Closes issue #136. -
Fixed security vulnerabilities by addressing pnpm audit reports. Thanks to @spinualexandru.
-
Fixed README table of contents anchors for proper navigation on GitHub forks. Thanks to @Azd325.
-
Refactored GitHub Actions workflows to reduce duplication and improve maintainability.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Upgraded to AI SDK v6 beta to improve model and tool calling performance and introduce multi-step tool calls support. Thanks to @DenizOkcu.
-
Added
/debuggingcommand to toggle detailed tool call information for debugging purposes. Thanks to @DenizOkcu. -
Replaced
/recommendationscommand with/model-databasecommand that provides searchable model information from an up-to-date database, making model recommendations easier to maintain. -
Added GitHub issue templates for bug reports and feature requests to improve community contributions.
-
LSP and MCP server connection status is now displayed in the Status component, providing cleaner visibility and removing verbose connection messages from the main UI. Thanks to @Avtrkrb.
-
Various improvements to context management, error handling, and code refactoring for better maintainability.
-
Fixed locale-related test failures by setting test environment to en-US.UTF-8. Thanks to @DenizOkcu.
-
Removed streaming for now as it continued having issues with layouts, flickering and more, especially with the upgrade to AI SDK v6.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Added GitHub models as a provider addressing issue #67 with minimal code changes. Thanks to @JimStenstrom
-
Added
/lspcommand to list connected LSP servers. Thanks to @anithanarayanswamy -
Fix: Improve error handling for Ollama JSON parsing. Addresses issue #87. Thanks to @JimStenstrom
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
- Fix: Remote GitHub MCP Connection Fails with 401 Unauthorized.
- Fix: LSP Server Discovery Fails for Servers Without --version Flag.
- Fix: Model Context Protocol (MCP) Configuration Wizard Fails for Servers with No Input Fields.
^ Thanks to @Avtrkrb for finding and handling these fixes.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Fix: Use virtual documents instead of temp files to prevent linters running on diff previews within the VS Code plugin.
-
Fix: Restore terminal focus after showing diff in VS Code plugin.
-
Fix Close diff preview when user presses escape to cancel a tool in VS Code plugin.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
NEW VS Code extension - complete with live code diffs, diagnostics and more. This is version 1 of this with LSP support. There is a lot more room to expand and improve.
-
Several big overhauls and fixes within MCPs - thanks to @Avtrkrb for handling the bulk of this.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
/initno longer generates anagents.config.jsonfile as per new configuration setup. -
Refactoring code to reduce duplication. Thanks to @JimStenstrom.
-
Fix: Nix installation was broken. Fixed thanks to @Thomashighbaugh.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Decouple config vs data directories to introduce clear separation between configuration and application data directories. Thanks to @bowmanjd pushing this update.
-
Update checker now attempts to detect how you installed Nanocoder and uses that to update with CLI with. It all also presents, update steps to the user correctly to do manually. Thanks to @fabriziosalmi for doing this.
-
Added Dracula theme.
-
Fix: Command auto-complete would only work if there was just one command left to auto-complete to. Now whatever the top suggestion is is the one it autocompletes to.
-
Fix: Improved paste detection to create placeholders for any pasted content (removed 80-char minimum), fixed consecutive paste placeholder sizing, paste chunking for VSCode and other terminals.
-
Fix: Creating new lines in VSCode Terminal was broken. This has now been fixed.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Fix: Update checker used old rendering method so it appeared broken and always checking for an update. This has now been resolved.
-
Fix: Config files now correctly use
~/.config/nanocoder/(or platform equivalents) instead of~/.local/share/nanocoder/, restoring proper XDG semantic separation between configuration and data. Thanks to @bowmanjd for patching this. -
Fix: Many edge-case fixes in the markdown parser for assistant messages. Outputs are far cleaner now.
-
Removed message display limit, you can now see the entire session history. The message queue is very well optimised at this point so we can afford to.
-
Removed
read_many_filestool, it's rarely used by models overread_fileand provides little benefit. -
Removed
search_filestool as models often found it confusing for finding files and content.
In replacement:
-
Added the
find_filestool. The model provides a pattern and the tool returns matching files and directory paths. -
Added
search_file_contentstool. The model provides a pattern and the tool returns matching content and metadata for further use. -
Revised
read_filetool to reveal progressive information about a file. Called on its own, it'll return just file metadata, the model can also choose to pass line number ranges to get specific content. -
Update main prompt to reflect.
^ All of the above is in effort to better manage context when it comes to models using tools. Some smaller models, like Qwen 3 Coder 30B struggle from intense context rot so these improvements are the first in a set that'll help small models make more accurate and purposeful tool calls.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Fix: Models returning empty responses after tool execution now automatically reprompted.
-
Fix: HTML tags in responses no longer trigger false tool call detection errors.
-
search_filestool limited to 10 results (reduced from 50) to prevent large outputs -
execute_bashoutput truncated to 2,000 chars (reduced from 4,000) and returns plain string. -
Model context limit tests updated to match actual implementation
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
- Fix: Removed postinstall hook that caused installation failures due to missing scripts directory in published package. Models.dev data is now fetched on first use instead of during installation.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
New
/usagecommand! Visually see model context usage. Thanks to @spinualexandru for doing this. Closes issue #12. 🎉 -
Added new models to the recommendations database.
-
Fix: Model asked for permission to call tools that didn't exist. It now errors and loops back to the model to correct itself.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Fix: Sometimes Ollama returns tool calls without IDs, this caused empty responses occassionally. If no ID is detected, we now generate one.
-
Fix: Homebrew installer was not working correctly.
-
Fix: Node version requirement is now 20+.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Big: Switched backend architecture to use AI SDK over LangGraph. This is a better fit for Nanocoder for many reasons. Thanks to @DenizOkcu for doing this switch.
-
Tag files and their contents into messages directly use the
@symbol. Nanocoder will fuzzy search and allow to choose which files. -
New message streaming to see agent respond in realtime. Toggle stream mode on and off via the
/streamingcommand. -
Added Homebrew installation option.
-
Improved command auto-complete by adding fuzzy search.
-
Improved table rendering in CLI by switching out the custom renderer for the more robust
cli-table3library. -
Improved non-native tool call parsing by refining the XML/JSON parsing flow.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
- Added Nix package installation option. Thanks to @Lalit64 for closing issue #75.
- Chore: bumped
get-mdpackage version to the latest.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
- Fix: issue #71. Markdown tables and HTML entities are now rendering properly in model responses.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
- Switched out Jina.ai that fetched LLM optimised markdown from URLs to our own, on-device, private Nano Collective package: get-md.
search_filestool now ignores contents of.gitignoreover just a pre-defined set of common ignores.- If you use OpenRouter as a provider, it now logs "Nancoder" as the agent.
- Fix: Added
parallel_tool_callsto be equal tofalsein the LangGraph client. This helps bring some stability and flow to models especially when editing files.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
- Added
/setup-configcommand - an interactive wizard for configuring LLM providers and MCP servers with built-in templates for popular services. Includes real-time validation, manual editing support (Ctrl+E), and automatic configuration reload. - Revamped testing setup to now:
- Check formatting with Prettier
- Check types with tsc
- Check for linting errors with Eslint
- Run AVA tests
- Test for unnused code and dependencies with Knip
- The full test suite passes for version 1.14.0 with no errors or warnings. Nanocoder should feel and work more robustly than ever!
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
- Added Anthropic Claude Haiku 4.5 to model database.
- UI updates to welcome message, status and user input placeholder on narrow terminals.
- Updated
CONTRIBUTING.mdandpull_request_template.mdto reflect new testing requirements. - Fix: Declining a tool suggestion and then sending a follow up message caused an error.
- Fix: Removed duplicate
hooksdirectories and consolidated into one. - Fix: Removed unneccessary
ollamapackage.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
- Fix: Issue #55
- Rolling out testing to the release pipeline
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
-
Updated
LICENSE.mdto beMIT License with Attribution. This was done to keep the spirit of MIT but also ensure the technology built by contributors is properly credited. -
We added a new system prompt with better instructions, ordering, tool documentation and included system information.
- Old system prompts are dated using the following format:
yyyy-mm-dd-main-prompt.mdwhere the date is when the prompt was retired.
- Old system prompts are dated using the following format:
-
Fix: import aliases within the code now use
@/syntax without file extensions. This is an under-the-hood refactor to improve code readability and use more modern standards. -
Fix: All but the last message in the chat was made static through Ink. This still causes some terminal flicker if the last message was a long one. All messages are immediately made static now to further improve performance.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
- Added
CHANGELOG.mdand rolled out changelogs to releases. - Updated the
/clearcommand output UI to read "Chat Cleared." over "✔️ Chat Cleared..." - Refactored
langgraph-client.tsto removed old methods that are no longer needed. Rolled out this change touseChatHandler.tsx. This results in smaller, more tidy files. - Fix: LangGraph errors leaked through to UI display. This is now tidied to be from Nanocoder.
- Fix: Pressing Escape to cancel model responses was not instant and sometimes didn't work.