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
Merge origin/master (f3cf80e0) into codex-integrate-org-into-master
Max43e84f1b319a
diff --cc core/session_turns.pyindex 775d67aed,e4115a758..821d7df7d--- a/core/session_turns.py+++ b/core/session_turns.py@@@ -27,12 -28,11 +28,15 @@@ from sqlalchemy import and_, exists, lifrom sqlalchemy.engine import Connection, Enginefrom sqlalchemy.exc import IntegrityError- from core.message_context import resolve_turn_sink_key-from core.web_push_notifications import WEB_PUSH_USER_KEY_METADATA, WEB_PUSH_USER_KEYS_METADATA+ from core.message_context import (+ SCHEDULED_DISPATCH_METADATA_APPLIED_KEY,+ resolve_turn_sink_key,+ )+from core.web_push_notifications import (+ WEB_PUSH_AUTHORIZATION_CONTEXTS_METADATA,+ WEB_PUSH_USER_KEY_METADATA,+ WEB_PUSH_USER_KEYS_METADATA,+)from core.native_dispatch_phase import backend_dispatch_attemptedfrom core.run_settlement import (NON_COMPLETING_TURN_SETTLEMENTS,diff --cc ui/src/components/AppShell.tsxindex 23cca1dda,a319709c9..27c842848--- a/ui/src/components/AppShell.tsx+++ b/ui/src/components/AppShell.tsx@@@ -293,10 -286,38 +294,44 @@@ export const AppShell: React.FC = () =setAppsDrawerOpen(false);}, [location.pathname]);+ // A single-app tab sitting on the app's own route (⌘/Ctrl-clicked Terminal / Files /+ // Editor, or that URL bookmarked): the tab exists to show ONE app, so it drops EVERY+ // piece of shell chrome — sidebar, mobile brand header, bottom tab bar, page padding —+ // and hands the whole viewport to the app. Both halves matter: the flag alone would+ // strip the chrome off any page such a tab later navigates to, and the route alone+ // would strip it inside the normal workbench.+ //+ // Route-scoped, and therefore LOCAL to the layout: what `StandaloneAppTabContext`+ // publishes is the mount-frozen document flag instead, because the window controls+ // that read it must stay decided for the tab's whole life (see the context doc). The+ // app pages read the same context and mount only on these routes, so for them the two+ // agree anyway.+ const chromeless = standaloneAppTab && isStandaloneAppRoutePath(location.pathname);++ // Keep the visible URL honest about standalone mode. An in-tab app-to-app navigation+ // (Files → "Open in Editor" / "Open Terminal Here") lands on `/apps/editor` WITHOUT the+ // marker, while the document is still the single-app tab — `standaloneAppTab` is frozen+ // at mount by design. Reloading, bookmarking, or copying that URL would otherwise bring+ // back the full workbench chrome and the restored window layout the tab exists to avoid.+ //+ // `history.replaceState` rather than a router navigate: this only corrects what the+ // address bar shows, and leaving the router's own location (and `location.key`) untouched+ // keeps launch effects keyed on it — the Terminal's "open one tab per launch" — from+ // firing a second time for the same navigation.+ useEffect(() => {+ if (!chromeless) return;+ const url = new URL(window.location.href);+ if (url.searchParams.get(APP_TAB_PARAM) === '1') return;+ url.searchParams.set(APP_TAB_PARAM, '1');+ window.history.replaceState(window.history.state, '', `${url.pathname}${url.search}${url.hash}`);+ }, [chromeless, location.pathname, location.search]);+++ // Organization takes over the whole shell, so it returns after every hook above++ // has run — an early return before them would make those hooks conditional.+ if (location.pathname.startsWith('/admin/organization')) {+ return <OrganizationShell />;+ }+const hasChannelPlatforms = enabledPlatforms.some((platform) => platformSupportsChannels(config, platform));const modelHubEnabled = modelHubEnabledFromConfig(config);const isRunning = status.state === 'running';@@@ -479,9 -453,17 +515,17 @@@// pans the locked page to lift the focused composer above the keyboard.// Desktop: normal document flow.<WindowManagerProvider standalone={standaloneAppTab}>+ <StandaloneAppTabContext.Provider value={standaloneAppTab}>- <DockProvider>+ <DockProvider enabled={capabilities.can_use_system}><ShowPageDragProvider>- <div className="flex h-[var(--app-shell-h)] flex-col overflow-hidden bg-background text-foreground md:block md:h-auto md:min-h-screen md:overflow-visible">+ {/* Chromeless (single-app tab): the locked full-viewport column applies on DESKTOP too —+ the app fills the browser area exactly, with nothing to scroll around it. */}+ <div+ className={clsx(+ 'flex h-[var(--app-shell-h)] flex-col overflow-hidden bg-background text-foreground',+ !chromeless && 'md:block md:h-auto md:min-h-screen md:overflow-visible'+ )}+ >{/* The sidebar forms its own stacking context BELOW the window layer (aside z-10 < windowlayer z-20), so a maximized window covers the WHOLE sidebar — including the Apps launcher.The Apps button no longer floats on top in full-screen (a Dock redesign comes later);@@@ -616,13 -587,11 +662,14 @@@{/* Chat and Search are fixed full-screen surfaces with their own headerbars, so the brand header is hidden there (otherwise it would sit- behind them). */}- {!isFullScreenMobile && (+ behind them). A chromeless single-app tab hides it for the same+ reason: the app owns the viewport. */}+ {!isFullScreenMobile && !chromeless && (<header className="sticky top-0 z-40 flex h-[calc(4rem+env(safe-area-inset-top))] shrink-0 items-center justify-between gap-2 border-b border-border bg-background/92 px-4 pt-[env(safe-area-inset-top)] backdrop-blur md:hidden">- <div className="flex min-w-0 items-center gap-2">+ <Link+ to="/"+ className="flex min-w-0 items-center gap-2 rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-mint/60"+ ><imgsrc={logoImg}alt="avibe logo"