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: correct the model-refresh changelog claim

Adam Eivy6d8f6083ead1
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 0e45a193bb..7d88a0bea8 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -16,7 +16,7 @@
## Fixed
- **A `--model` you baked into a TUI provider's own arguments is now honored instead of silently overridden.** The CoS-agent TUI spawn path respected a hand-pinned `--model` for OpenCode providers only; for every other TUI it appended the UI's model choice as a *second* `--model` flag, and last-flag-wins meant your pin was quietly discarded (or the CLI rejected the duplicate outright). It now honors the pin for every provider, matching what the one-shot TUI path and the CLI path already did, and what the rest of the app documents. This only affects providers whose saved arguments hand-pin a model — no shipped provider does.
-- **The AI Providers page no longer offers "Refresh Models" on providers the server can't refresh.** The button's visibility was decided by a deny-list of command names that had drifted from the server's actual dispatch, so Codex and Kimi Code — both shipped providers — showed the button and produced an error toast on every click. It also compared the exact command string, so pointing a provider at an absolute binary path (`/opt/homebrew/bin/gemini`) hid the button on a provider that refreshes fine. The check now mirrors the server's own name-or-command test and tolerates a path-configured binary.
+- **The AI Providers page no longer offers "Refresh Models" on providers the server can't refresh.** The button's visibility was decided by a deny-list of command names that had drifted from the server's actual dispatch, so Codex and Kimi Code — both shipped providers — showed the button and produced an error toast on every click. It is now an allowlist mirroring that dispatch's real shape: routed on provider type first, then the same per-vendor tests the server applies — including that its TUI path, unlike its CLI path, never consults the provider name. A test walks every shipped provider against a transcription of the server dispatch, so the next provider added without a matching client branch fails there rather than in the UI. (One deliberate non-change: the server matches `claude`/`gemini` on the *exact* command string, so a renamed provider pointed at an absolute binary path still shows no button — widening both sides is tracked separately in #3616 rather than making the client optimistically disagree.)
- **On a Bedrock box, a TUI provider that isn't Claude Code no longer has its model id rewritten.** Claude Code on AWS Bedrock needs region-prefixed model ids (`global.anthropic.claude-opus-5`), so PortOS rewrites bare Claude ids just-in-time when `CLAUDE_CODE_USE_BEDROCK` is set. That rewrite keyed only on the *model id* containing "claude" and was applied by default to every TUI provider — so any vendor that labels Anthropic models under its own ids got captured by it. Cursor is exactly that case: `claude-opus-5-thinking-high` would have been sent to Cursor's router as `global.anthropic.claude-opus-5-thinking-high`, an id it has never heard of. The rewrite now keys on the launch command actually being Claude Code, which is what it always meant. Two independent copies of that model-injection step (the one-shot TUI prompt path and the CoS-agent TUI spawn path) had already drifted apart on this; both now share one implementation, so the next provider can't be fixed in one and missed in the other. No shipped provider's behavior changes; a *custom* TUI provider running a non-`claude` binary against a claude-ish model id will stop being rewritten, which is the correct result for a non-Claude-Code binary.
- **The Antigravity card on the Usage page loads quota again after `agy` 1.1.x renamed its limit rows.** The `/usage` panel still groups Gemini / Claude+GPT windows the same way, but each window header grew a trailing "Remaining" (`Weekly Limit Remaining`, `Five Hour Limit Remaining`). The parser required the line to end on bare `Limit`, so it found the groups and returned zero meters — the card looked broken with "No quota data found." Both the new labels and the older bare-`Limit` form parse to the same keys.
- **Grok and Kimi agents now actually start, and an agent that fails to spawn says why.** Picking the Grok or Kimi provider for a CoS agent produced a task that never opened a shell: the durable agent runner keeps an allowlist of CLI commands it is permitted to spawn, and `grok` and `kimi` were never added to it even though both ship as selectable providers. Both are allowlisted now, and a test keeps that list in step with the shipped provider catalog so the next provider added without an entry fails in CI rather than in a silent agent. The reporting around it was the worse half of the bug: a rejected spawn was logged and dropped, never reaching the agent record. A TUI agent sat in "initializing" for a minute until the zombie sweeper finalized it as "Agent process terminated unexpectedly" — a message that named no cause — and the CLI equivalent was worse still, staying "working" indefinitely because the stale in-memory entry made every cleanup sweep skip it. Both paths now finalize immediately with the runner's actual error, the runner names the offending command instead of returning one opaque "missing or invalid fields", and an agent reaped without ever having recorded a process id is reported as never having started rather than as a crash.