Repository navigation
v1.1.0 — data-driven models.json + permission/quality fixes
Issue-cleanup release. Three small features and one bug fix, driven by GitHub issues #12 / #13 / #15 / #16.
Added
models.jsonis now the canonical provider registration. (#13)
Previously.pi/extensions/llama-cpp-provider/index.tshardcoded the model list andmodels.jsonwas decorative; editing it had no effect. Now the extension loads providers and models frommodels.jsonat startup and registers them dynamically. User override file (first match wins):$LITTLE_CODER_MODELS_FILE→$XDG_CONFIG_HOME/little-coder/models.json→~/.config/little-coder/models.json. Per-provider replace semantics — your override fully replaces a same-keyed provider in the shipped file. Diagnostics for missing/invalid sources surface viaconsole.error. The legacyLLAMACPP_BASE_URL/OLLAMA_BASE_URLenv vars still beat both files for those two providers. New unit-test module.pi/extensions/llama-cpp-provider/config.test.tscovers merge, env override, and resolution-order semantics. README has a new Configuring models section.LITTLE_CODER_BASH_ALLOWenv var (#15) — comma-separated extra prefixes merged with the built-inpermission-gatewhitelist, so deployments can allow extra bash commands without forking. Trailing whitespace is meaningful (acts as a word boundary, matching the built-in convention). README has a new Permissions section that also documents the existingLITTLE_CODER_PERMISSION_MODE=accept-allescape hatch (which was undocumented before).bun add -g little-coderinstall path documented (#12). Node ≥ 20.6 is still required at runtime because of the launcher shebang; users who want a fully node-less setup get a one-line shebang-swap recipe.qwen3.6-27bre-added tomodels.jsonso the data-driven extension preserves the four-model lineup (llamacpp/qwen3.6-27b,llamacpp/qwen3.6-35b-a3b,llamacpp/qwen3.5-9b,ollama/qwen3.5) that.pi/settings.jsonprofiles already reference.
Fixed
- Empty-response correction is no longer parked until the next user input. (#16)
quality-monitorwas sending its correction message viapi.sendUserMessage(..., { deliverAs: "followUp" }), which queued the message until the user typed something — by which point "your previous response was empty" had nothing to steer. Switched todeliverAs: "steer"so the correction injects into the in-flight loop. Same fix applies to the other quality-monitor reasons (unknown_tool,repeated_tool_call,malformed_args,empty_tool_name); they all benefit from prompt delivery for the same reason. Thethinking-budgetextension's deliberate use offollowUp(post-abort retry; see commit50becc3) is unchanged.
Changed
- README architecture diagram:
llama-cpp-provider/is now described as "data-driven provider registration from models.json (+ user override file)";models.jsonis now described as "canonical provider registration", reflecting the actual load path.
Notes for upgraders
- No CLI flag, settings.json, or skill-pack breaks. Existing
.pi/settings.jsonmodel_profileskeys (llamacpp/qwen3.6-27b,llamacpp/qwen3.6-35b-a3b,llamacpp/qwen3.5-9b,ollama/qwen3.5) all still match. - If you'd been editing the installed package's
models.jsonmanually, those edits will keep working — but they're erased on the nextnpm install -g little-coder@latest. Move them to~/.config/little-coder/models.jsonto make them survive upgrades.