Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

docs([issue-1802]): log OpenCode Ollama provider to changelog

Adam Eivy278898818656
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index d9fc106a61..1572b4a944 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -8,6 +8,7 @@
## AI Providers
- **[issue-1801] "Test" now finds your CLI provider on Windows.** Testing a CLI/TUI provider (e.g. `claude`) on Windows always failed with `Command 'claude' not found in PATH` even when the command worked fine from a terminal. The test resolved the command with the Unix-only `which` tool, which doesn't exist on Windows — so the check itself errored and was misreported as a missing command. It now uses `where` on Windows (and `which` elsewhere), and runs the version probe against the exact resolved executable, so the test correctly succeeds when your provider is installed. (Closes #1801)
+- **[issue-1802] Run local Ollama models that actually edit files with the new "OpenCode Ollama" provider (CLI + TUI).** Ollama models are trained against the OpenAI tool-calling format, so under the Claude harness they often *describe* a file edit as JSON without ever applying it — the model "responds" but nothing changes on disk. **OpenCode Ollama** drives the `opencode` agent against your local Ollama daemon instead, speaking the OpenAI-compatible protocol natively, so the same local models reliably read, write, and edit files. It ships in two variants — **OpenCode Ollama (local model)** (`cli`, headless agent tasks) and **OpenCode Ollama TUI (local model)** (`tui`, interactive) — both disabled by default; enable one, hit **Refresh Models** to pull your tool-use-capable Ollama models, pick a default model, and run. Tool approvals are auto-allowed for unattended execution, and the Ollama connection is configured for you (no `opencode.json` to hand-write). Both arrive on the AI Providers page after `./update.sh` (migration `148-opencode-ollama-providers.js` adds them to existing installs) and appear under **Load Samples** on fresh installs. Requires the `opencode` CLI on your PATH. (Closes #1802)
- **[issue-1776] Run CoS agent tasks on a local model with the new "Claude Ollama" provider (CLI + TUI).** If your only LLM is Ollama or LM Studio, you couldn't run file-writing agent tasks — those providers return plain text with no Read/Write/Edit harness. **Claude Ollama** runs the full Claude Code harness on top of your local model: it's a `claude` CLI/TUI pre-wired to your Ollama daemon, and its **Refresh Models** pulls the installed Ollama models filtered to the **tool-use-capable** ones the agent loop depends on. It now ships in **two variants** — **Claude Ollama (local model)** (`cli`, headless) and **Claude Ollama TUI (local model)** (`tui`, interactive) — and **both arrive on the AI Providers page after `./update.sh`** (migration `146-claude-ollama-providers.js` adds them to existing installs and renames the earlier "Clawed Ollama" sample, preserving your settings; previously it lived only in the toolkit sample and never reached the merge path). The task form offers **only coding providers** — raw Ollama / LM Studio / kimi are excluded (with an inline advisory pointing you to Claude Ollama when they're all you have), and a server-side guard rejects an API provider that slips into the spawn path instead of silently writing nothing. Includes a copy-ready global `~/.claude/settings.json` example and a setup guide with the tool-use model caveat. (`data.reference/providers.json`, `server/lib/aiToolkit/`, `scripts/migrations/146-claude-ollama-providers.js`, `docs/features/claude-ollama.md`, `docs/examples/`)
## Dashboard