Adapt OCI reads from internal/infrastructure/signedoci and internal/infrastructure/storepkg. Keep the legacy readers while their callers still use them.
The replay budget was fixed at half of an assumed 128k window, so a small
local model was still handed more history than it accepts.
A model now carries the context window and output limit the published
catalogue gives it, read once into the state directory and cached on
disk. Chat holds its replay to the window minus the reply and an eighth
for the system prompt and tools, and keeps the assumed budget only for a
model the catalogue publishes nothing about.
A reply was replayed with a fixed twenty earlier turns, so a long
conversation either lost its older context or, with large replies, sent
more than the model accepts and failed the request. The replay now reads
up to two hundred turns and replaces the middle of what it cannot carry
with one summary message, keeping the newest twenty messages and always
the question being answered.
Carried from internal/gateway's compression.go before that package is
retired: the same conservative token estimate (four ASCII characters or
one non-ASCII rune), the same 50%-of-window budget, and a summary that
says what was dropped. The budget is fixed rather than derived from the
model because the module is told a model's name and nothing about its
window.
Both steps drew their actions in a bare row above a bare empty state, so
they looked like nothing else on the page. Each is now one card with its
actions in the header, and the Installed playbooks link is a button
rather than a stray underline beside one.
The list was keyed on the active kind, so every switch remounted it and
showed its skeleton before the same packages came back. The rows are
already filtered from one read, so the keys only threw work away.
KeepAlive removed the skeleton on a revisit but not on a first visit, so
tabbing through the steps still flashed. Every panel now mounts when the
page opens and only the active one is on screen, so a switch shows what
was already read. The wrapper is a single element because a panel whose
template is a fragment cannot be hidden with v-show.
usePoll goes back to reading only document.hidden, since nothing is kept
alive and deactivated any more.
Every other list that switches between a few states uses Tabs, such as
Proposals. Recent Runs was the only one built from ToggleGroup, which is
a form choice elsewhere.
Each switch remounted the panel under `<component :is>`'s key, so it
started with no data and showed its skeleton before the read landed.
KeepAlive keeps every visited step mounted, so returning shows what it
already read. A step that is only polled (Events) pauses while hidden.
The dashboard talks only to the modules/chat API, which sends no slash
commands, model list, voice support, attachments or any question other
than an approval, so the UI built on those could never appear:
- the slash command menu, Retry, Undo, Branch and Preview compression in
the More menu, and the /model, /update and /new handling
- the model picker, the update card and the api.update* calls
- voice recording and the task tags nothing ever added
- the questionnaire, picker and clarify cards, and the "Always this
session" answer, so components/ui/questionnaire loses its last user
- channel.ts, command-scroll.ts and turn.ts, which nothing imported
- the old dock-storage migration and the second capitalised spelling of
message and tool fields
Tasks are gone from the binary too, so chat links and prompts speak of
runs: the #N task-link step in the markdown renderer goes, since an agent
already links pages through dashboard_navigate.
state.ts keeps the shared state and actions; types.ts, stream.ts,
transcript.ts, escape.ts and dock-window.ts hold the types, the stream
reader, turn-to-message building, Escape layers and the dock's pointer
and keyboard handling. ChatDock.vue drops from 560 lines to 307.
A package is now a set of immutable versions with declared grants and a
default version that installations run unless they pin another. Adopting a
version is what accepts its grants, replacing the per-extension lifecycle
actions with version, pin and update-policy commands.
Fix every Google.Passive finding in the tracked tree: 161 reports across 24 files, including the AGENTS.md symlink duplicate. Vale at suggestion level now reports none. Every rule, invariant, prompt instruction, placeholder and technical claim is preserved.
Vale suggestion level is now clean for the file. The same pass replaced the e.g. abbreviations, removed the first-person asides, and replaced the anthropomorphic 'sees'.
Run Vale over every tracked Go, Markdown and template file and fix the remaining findings: long sentences, repetition, UI verbs, identifiers that should be backticked, and migration narration in comments.
AGENTS.md and CLAUDE.md keep their absolute rules; the prompt heuristic against repeated absolutes is disabled for rule files.
Packages are accepted once by the instance. Installations configure them at the instance, an organisation or a person; bindings and credentials resolve the person's, then their organisation's, then the instance's. Decisions, approval requests and held chat actions record the installation and scope that acted.
The dashboard lists packages separately from installations, shows every installation's scope, and creates, edits and disables installations at their scope.