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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
docs: changelog entry for Antigravity base model + effort selection (#3480)
[._.]/ Adam Eivy6fa5129aed71
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 9f9fc7fcc9..cefdbc5161 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -73,3 +73,5 @@- **`completeAgent` had three addresses, and the four callers that most needed one address were using the wrong one.** Continuing #3450's sequencing: `agentManagement.js`, `agentLifecycle.js`, `agentFinalization.js` and `agentCliSpawning.js` all reached the completion transition through the `cosAgents.js` barrel. These four are the callers the "move the caller above the facade" recipe cannot reach — the first two DEFINE transitions `agentOrchestrator.js` re-exports, so importing the facade from either is the cycle itself, and the other two are leaves those two must call to spawn and to finalize. So the rule they follow is the other half of the same property: above the facade's closure a transition comes from the facade, inside it from the module that DECLARES it (`cosAgentLifecycle.js`), and never from a barrel. `cleanupOrphanedAgents`'s `await import('./cos.js')` went with it — it was pulling `completeAgent` and `getAgents` through the `cos.js` re-export block while the module was already a static import three lines up, so the deferral bought no cycle protection at all. The new guard in `agentImportCycles.test.js` derives the transition names from the facade's export blocks and walks re-export edges to work out which modules forward them, so a barrel added later is covered without being named; it catches a named import, a renamed one, a namespace property read, a destructure off a namespace handle, and the three deferred spellings of the same reaches — including `const { completeAgent } = await import('./cos.js')`, the exact pattern this change deleted. Each bypass-probed.- **The "Pick from Gallery" picker could only be narrowed by typing, so finding one object in one universe meant recalling a word from its prompt.** It now carries two dropdowns beside the search box: a scope select that groups every universe and media collection under `<optgroup>`s, and a type select built from the `entryCategory`/`entryKind` tags the Universe Builder stamps onto sidecars, labelled through the same `humanizeCategory` the Builder uses. Those two are separate vocabularies — a user-authored bucket can legitimately be keyed `canon` — so the type options are prefixed by which field they filter and grouped under Categories/Entry kinds rather than flattened into one list where the bucket and the stage would silently match each other. All three filters AND-combine, and both dropdowns list only universes/collections/types that actually match an image currently in the picker — a scope that can only ever produce an empty grid isn't offered, and a selection that stops matching resets itself to "All" rather than silently blanking the grid. Collection membership is matched on the stored `{ kind, ref }` pair (the same `<kind>:<ref>` string `normalizeImage` puts on `item.key`), not on a bare filename, so a collection holding video refs alongside images filters correctly. Both option fetches are best-effort: if the collections or universes call fails the picker keeps working, falling back to the universe name stamped on each sidecar, and the fetched lists are dropped on close so a reopen can't filter fresh images against stale membership. Sidecars are unvalidated JSON that also arrive from peers, so a tag that isn't a usable string is skipped rather than crashing the render — which surfaced a latent bug in the shared `humanizeCategory`: its label lookup wasn't `hasOwn`-guarded, so a user-authored category keyed `constructor` or `toString` resolved to an inherited function and handed every caller a label that throws on the next string method (#3479).++- **The Antigravity model dropdown made you pick your reasoning effort inside the model name.** `agy models` enumerates the effort tiers as separate ids (`gemini-3.6-flash-low|-medium|-high`), so there was no way to set the base model and the effort independently — and the Three.js Model Generator, which builds its own prompt-runner invocation, had no effort control at all. The pickers now list base models with the suffixes stripped and deduped, and `ProviderModelSelector` grows optional `effort`/`onEffortChange` props that render a "Thinking effort" select for the effort-capable providers (Antigravity, Claude, Codex) and nothing for the rest, so callers need no guard of their own. Verified against the real binary before building it: `agy` takes `--effort` as its own session flag and accepts the base id — but it validates the PAIR, erroring with `gemini-3.1-pro has no "medium" effort (available: low, high)`. So the tiers offered for an Antigravity model are derived from that provider's own catalog rather than assumed to be the full ladder, and an out-of-range effort clamps down to the nearest tier the model really has instead of producing an invocation agy rejects. A stored suffixed id — still what older installs and federated peers persist — splits into base plus `--effort`, the equivalent invocation, rather than being orphaned, and the picker seeds both controls from its two halves; one that somehow can't be split stays visible as its own option instead of blanking the select. Threading the effort down to `runPromptThroughProvider` also closed a gap on that path generally: it rides the provider clone the arg builders already read, and until now `buildCliArgs`/`buildTuiInvocation` emitted no effort flag at all for claude or codex there (#3480).