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.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(routes): close two /api/* migration gaps
cyh56568b9ec1ee
diff --git a/ui/src/components/settings/BackendOAuthPanel.tsx b/ui/src/components/settings/BackendOAuthPanel.tsxindex 98e979c8f..b4b3614f8 100644--- a/ui/src/components/settings/BackendOAuthPanel.tsx+++ b/ui/src/components/settings/BackendOAuthPanel.tsx@@ -61,10 +61,10 @@ export type BackendOAuthPanelProps = {* Drives the Settings → Backends OAuth flow that mirrors the IM ``/setup``* command. Calls the four web endpoints added in PR #282 R5:*- * - POST /backend/<backend>/auth/oauth/start- * - GET /backend/<backend>/auth/oauth/status/<flow_id>- * - POST /backend/<backend>/auth/oauth/submit-code (Claude only)- * - POST /backend/<backend>/auth/oauth/cancel+ * - POST /api/backend/<backend>/auth/oauth/start+ * - GET /api/backend/<backend>/auth/oauth/status/<flow_id>+ * - POST /api/backend/<backend>/auth/oauth/submit-code (Claude only)+ * - POST /api/backend/<backend>/auth/oauth/cancel** Claude returns a manual auth URL + asks for a callback code; Codex* returns a device URL + device code and self-completes when the user@@ -255,7 +255,7 @@ export const BackendOAuthPanel: React.FC<BackendOAuthPanelProps> = ({const removeAuth = async () => {if (backend === 'opencode') {// OpenCode providers expose their own Remove-key affordance inline- // on the parent page (DELETE /backend/opencode/provider/<id>/auth);+ // on the parent page (DELETE /api/backend/opencode/provider/<id>/auth);// the OAuth panel just shouldn't render this button there.return;}diff --git a/ui/src/components/settings/SettingsOpencodeProviderPage.tsx b/ui/src/components/settings/SettingsOpencodeProviderPage.tsxindex e8645cfc6..7d10ec7bf 100644--- a/ui/src/components/settings/SettingsOpencodeProviderPage.tsx+++ b/ui/src/components/settings/SettingsOpencodeProviderPage.tsx@@ -918,7 +918,7 @@ export const SettingsOpencodeProviderPage: React.FC = () => {// same component Claude / Codex use,// configured for OpenCode's// per-provider HTTP flow. Drives the- // ``/backend/opencode/provider/<id>/auth/oauth/start``+ // ``/api/backend/opencode/provider/<id>/auth/oauth/start``// endpoint and polls for completion// — no terminal commands required.<BackendOAuthPaneldiff --git a/ui/src/context/ApiContext.tsx b/ui/src/context/ApiContext.tsxindex 5aeed226b..c39557133 100644--- a/ui/src/context/ApiContext.tsx+++ b/ui/src/context/ApiContext.tsx@@ -830,7 +830,7 @@ export const ApiProvider: React.FC<{ children: React.ReactNode }> = ({ childrencreateBindCode: (type, expiresAt) => postJson('/api/bind-codes', { type, expires_at: expiresAt }),deleteBindCode: (code) => apiFetch(`/api/bind-codes/${encodeURIComponent(code)}`, { method: 'DELETE' }).then(r => r.json()),getFirstBindCode: () => getJson('/api/setup/first-bind-code'),- detectCli: (binary) => getJson(`/cli/detect?binary=${encodeURIComponent(binary)}`),+ detectCli: (binary) => getJson(`/api/cli/detect?binary=${encodeURIComponent(binary)}`),installAgent: (name) => startAndPollAgentInstall(name),getBackendRuntime: (name) => getJson(`/api/backend/${encodeURIComponent(name)}/runtime`),restartBackend: (name) => postJson(`/api/backend/${encodeURIComponent(name)}/restart`, {}),diff --git a/vibe/ui_server.py b/vibe/ui_server.pyindex 7da7f07d7..7ab9c7d22 100644--- a/vibe/ui_server.py+++ b/vibe/ui_server.py@@ -2215,7 +2215,7 @@ async def backend_opencode_providers():@app.route(- "/backend/opencode/provider/<provider_id>/auth/oauth/start",+ "/api/backend/opencode/provider/<provider_id>/auth/oauth/start",methods=["POST"],)async def backend_opencode_provider_oauth_start(provider_id: str):@@ -2223,7 +2223,7 @@ async def backend_opencode_provider_oauth_start(provider_id: str):Body: ``{force_reset?: bool}``. Returns ``{flow_id, state, url?,device_code?}``. The status/cancel endpoints are the same generic- ``/backend/opencode/auth/oauth/status/<flow_id>`` etc.+ ``/api/backend/opencode/auth/oauth/status/<flow_id>`` etc."""from vibe import api