Repository navigation
Added
- Inkling 2 Mini 26B-A5B (Thinking Machines, Unsloth's quants pinned by
checksum): a looped MoE with about 5B active parameters and image input.
UD-Q4_K_XL 17.6 GB for 32 GB Macs and up, UD-Q8_K_XL 22.9 GB for 48 GB and
up; the picker lists every quant from 7.8 GB. Unsloth keeps the files that
standard llama.cpp reads in a subfolder under a.gguf_filename; LocalCode
lists that folder and saves them as.gguf. Its thinking is switched off
through the template's own effort setting, since the usual switch leaves it
thinking. Opt-in, never recommended automatically.
Changed
-
The bundled llama.cpp is rebased onto upstream v1.0.0 (b1b770d), 148
commits newer, with the patch series replayed. Upstream changes it brings:
Metal out-of-bounds fixes in flash attention and the triangular solver,
MTP drafting reads its states from GPU memory, Gemma 4 tool calls held to the tool's
schema, less memory for vision models, and llama-server security fixes.
The model server no longer gets--defrag-thold, which v1.0 removed. -
Inkling 2 Mini runs fully on the GPU. Unsloth's quants keep the experts in
NVFP4, which the Metal backend could not run, so about 11 GB of weights
stayed on the CPU while the log still said every layer was offloaded:
prompts were read about 5x slower and replies 1.5-3x slower. New patch 0014
adds Metal NVFP4 kernels (unslothai/llama.cpp#348). -
The bundled llama.cpp then moves to upstream 6792507 (2026-11-21), which
adds Inkling 2 Mini, plus upstream's still-open fix #32704 so the model's
repeated layers keep their weight scales on every pass. -
The interface runs on OpenCode upstream from 2026-11-15 (was 2026-10-17),
about 2,200 upstream commits newer. Everything localcode changed is kept: no cloud
features, no package downloads, the model picker, project trust, and the
approvals for paths outside the project. Upstream's new OpenCode Console,
OpenCode Go, usage-limit, /goal, service restart and MCP event tool features
are left out, and the transcript keeps its current grouped view. -
The UI patches 0009-0013 now live in the fork itself;
patches/uiis empty. -
Inkling 2 Mini is faster and lighter: banded attention for its distance
bias (Unsloth's llama.cpp work, including the Metal kernels) halves the GPU
working memory at 128K context (13.1 to 6.2 GB) and reads prompts about
20-30% faster; a fused SiTU op (with a new Metal kernel) trims 384 graph
operations per step. Generation is about 10% faster. Output is unchanged. -
/models: the maker column fits the longest maker name; "Thinking Machines"
ran into the state column. -
The command menu is now an allowlist: "/" and the palette offer only the
commands LocalCode chose, so an upstream UI update can no longer add new
ones unseen (an e2e test scrolls the whole menu against the list). Also
gone: /sessions and /continue (use /resume), /mode, /debug,
/toggle-console, the terminal pane, /plugins, prompt stash and queue,
/stats, /verbosity-medium and /toggle-thinking (use /thinking), /quit and
/q (use /exit), /say (use /speak), /copy, and /open, /project and /projects
(use /resume for sessions, /cd for folders). -
Underdog Saluki 27B is no longer in the catalog.
-
DiffusionGemma is listed as Gemma 4 Diffusion 26B-A4B, next to the other
Gemma 4 models. -
Inkling 2 Mini with thinking off now answers straight away: its template
opens the turn with an empty thought, so a coding prompt no longer spends
hundreds of tokens (sometimes the whole budget) thinking first. Tool calls
and images work as before. -
Inkling 2 Mini uses an f16 KV cache: its banded attention converted a q8_0
cache to f16 on every prompt chunk. Long prompts read 1.4 to 1.8x faster and
it needs 3.3 GB less memory at 128K context. Other models keep q8_0, which
measured smaller with no speed loss for them. -
The logo fits narrow terminals: the full wordmark, the same letters one
column narrower, or stacked, on the home screen and the exit summary. -
The interface uses your terminal's own background colour instead of
painting it near-black; panels and highlights are shaded from it.
Fixed
localcode <dir>with a relative path opened<dir>/<dir>.--modelwith a file whose name matches a different managed file loaded
the managed one; it now stops and names both paths.- Importing a split model from a Hugging Face snapshot kept only the first
shard. - Choosing a models folder deleted an existing
.localcode-write-testfile,
and reported success when saving the setting failed. - The picker starred a quant even when none fit; a failed listing fetch hid a
model's quants for a day instead of retrying. - An empty model file counted as downloaded.
- Voice dictation's cleanup removed code such as
items[0]andreset(). - A mistyped config section crashed startup;
decide --state-filewith
non-UTF-8 input printed a traceback; a denied port was reported as "no free
port". - Downloads rewrote the whole checksum record after every chunk; cancelling
during resume checks now stops at once. - The context budget and the /server diagnostics got slower in long sessions.
- The microphone reported recording before capture had started.
- A second window launched with
--modelagainst an idle server now says the
model was not applied; a long model load now says what it is loading. - The release gate blocks a clear drop in overall coding pass rate and a
collapse in prompt speed, not only a task going from all pass to all fail. - The model promotion check waits for the local gate instead of failing.
- Shorter command menu: /lsp (language servers were removed in 0.5.38),
/worktrees, /btw, /terminal, /variants and /effort, /reload, /redo,
/review, /close-tab, /reopen-closed-tab and the copy-session-ID and
copy-transcript entries are gone from "/" and the palette. - Launch tuning (threads, batch sizes, GPU layers, KV cache, run mode,
drafting) is worked out for the Mac at every launch and no longer read
from or written to config.toml, where an old value could stick across
upgrades. Threads count the cores that are not efficiency cores, at most 12. - The model is reminded to update its plan after 8 tool calls without one
while the plan has open items, so the sidebar plan keeps up with the
work (Qwen 3.8 updated it about once per 30 tool calls). Any other
LocalCode note resets the count, and none is sent once the loop
breaker has stepped in. - Downloading a model no longer locks LocalCode. The download runs in the
background: the loaded model keeps answering, other installed models can
still be picked, the prompt footer shows the progress, and a message says
when it is ready (with no model loaded yet, it loads right away). - Downloads show the time left, measured from the download's own speed.
On first run, while the first model downloads, the input box says what
is downloading and that chat starts once it is loaded. - The /models lists no longer jump the cursor back to the current row every
second while a download runs. - The footer showed 0.5.42 on the 0.5.43 candidates: the bundled UI was last
built before the version bump. It is rebuilt, and a test now fails whenever
the UI binary's version differs from the package version.