Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Model Hub — F4 UI completeness
Closes the UI-side gaps the completeness audit
(model-hub-completeness-audit.md) found: shipped backend capabilities that the
live UI leaves unreachable or dishonest. Server side is F2's (#995); this lane
codes strictly against the frozen contracts (model-hub-contracts/), which are
already implemented on master (cf1b4314).
Scope (audit item → fix)
P0-03 / R38 — OAuth success → persisted Source. The live
OAuthConnectDialogonly toasted + refetched onsuccess; the mock hid the gap by appending a Source insidecompleteFlow. Fix: onsuccess, the dialog finalizes viaPOST /api/models/sourceswithoauth_flow_ref(the flow id) — the server'screate_source→_create_oauth_sourcepath (service.py:737,751). The mock is refactored to mirror the handoff:completeFlowno longer appends; a newcreateOAuthSourcematerializes the Source from the completed flow. Afinalizingstate holds the "Connected" banner until the Source is actually persisted, so no premature success is shown; a finalize failure surfaces honestly.P1-02 / R32,R42 — Source row actions + custom-model delete. New
SourceRowMenu(overflow menu, appears on row hover — quiet per the density rulings): rename (PATCH {display_name}), re-discover (POST /test, hub sources only —native_clitest is rejected server-side), delete (DELETE, with the only-supplier guard: amode_switch_blockedresponse escalates the confirm to a?force=1delete). Custom-model delete lives in the OpenCode drawer's edit dialog (DELETE /sources/<source_id>/models/<model_id>).P1-03 / R30 — Migration triggers. New self-contained
MigrationBanner(scans on mount, shows a dismissible strip when importable native configs exist, owns itsMigrationDialog, re-scans after apply). Mounted on the Models page (first-open-after-upgrade) and in the Setup Wizard's backend step (AgentDetection, wizard mode only — the Settings→Backends page already hasBackendSupplyModeCard's strip). Dismissal is persisted by a stable signature of the importable set's per-config identities (scan ids + action) so it is non-nagging but still resurfaces a genuinely new importable config.P1-06 / R46 — Honest Hub mode.
set_agent_modereturns a freshAgentSupplywhosecurrentis computed honestly (null when hub is selected but no eligible+available source can supply — exactly the "silent Direct" condition,service.py:935-958). "接入中枢" now reports success only when the round-trip yieldsmode==='hub' && current; otherwise it warns with the true state (both the Models-page button and the backend supply card). The Agent row shows a persistent honest note when a hub agent has no usable supply.
Out of scope: backend Python (F2/F3), contracts, design.pen. No workflows.
Evidence layers
- Contract types mirrored in
types.ts(client), no schema edits. - i18n en+zh parity for every new key.
npm run buildgreen; hermetic Vite preview screenshots per surface.- Live end-to-end is the post-merge Incus pass (as with prior lanes).