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 remote-tracking branch 'origin/org' into fix/org-remove-trusted-local-gating
Max545b11de3643
diff --cc tests/test_ui_remote_access_auth.pyindex 648ddca8d,ce548b205..cd4541ede--- a/tests/test_ui_remote_access_auth.py+++ b/tests/test_ui_remote_access_auth.py@@@ -1956,11 -1942,17 +1957,12 @@@ def test_active_org_config_preserves_ruassert response.status_code == 200assert len(observed) == 1assert observed[0]["language"] == "zh"+ assert observed[0]["agent_progress_style"] == "concise"- assert "agent_status_heartbeat_ms" not in observed[0]- assert observed[0]["ui"] == {- field: payload["ui"][field]- for field in ui_server._REMOTE_UI_CONFIG_MUTABLE_FIELDS- }- assert set(observed[0]).issubset(- ui_server._REMOTE_CONFIG_MUTABLE_FIELDS | {"ui"}- )- assert "runtime" not in observed[0]- assert "agents" not in observed[0]+ expected = dict(payload)+ expected.pop("remote_access")+ assert observed[0] == expected+ assert "runtime" in observed[0]+ assert "agents" in observed[0]assert "remote_access" not in observed[0]diff --cc ui/src/components/AppShell.tsxindex 1ad41208b,1306279c4..14f34910b--- a/ui/src/components/AppShell.tsx+++ b/ui/src/components/AppShell.tsx@@@ -38,8 -35,9 +38,9 @@@ import { useViewportHeightVar } from '.import { OrganizationShell } from '../features/organization/OrganizationShell';import {adminLandingPath,+ filterLocalSystemNavItems,isAdvancedSettingsPath,- isLocalSystemPath,+ isLocalSystemPathForAccess,isMemorySettingsPath,} from '../lib/adminNavigation';@@@ -476,20 -467,12 +477,13 @@@ export const AppShell: React.FC = () =},];- // Second half of the trusted-local gate: a page the redirect above withholds+ // Second half of the runtime-access gate: a page the redirect above withholds// must not still be advertised, or a remote owner taps a nav entry and lands- // back on the Workbench. Recurses into groups (平台凭据 is a child) and drops a- // group left with nothing to open.- const withoutLocalSystemEntries = (navItems: ShellNavItem[]): ShellNavItem[] =>- navItems- .filter((item) => !item.to || !isLocalSystemPathForAccess(item.to, canUseRuntimeSurfaces))- .map((item) =>- item.children ? { ...item, children: withoutLocalSystemEntries(item.children) } : item,- )- .filter((item) => item.to || item.onClick || (item.children?.length ?? 0) > 0);- // back on the Workbench.- const visibleAdminItems = capabilities.can_use_system++ // back on the Workbench. With the temporary Organization rollout every admin++ // surface except remote-access pairing is admitted, so the nav stays full.+ const visibleAdminItems = canUseRuntimeSurfaces || capabilities.can_use_system? adminItems- : withoutLocalSystemEntries(adminItems);+ : filterLocalSystemNavItems(adminItems);const items: ShellNavItem[] = shellMode === 'admin' ? visibleAdminItems : [];@@@ -511,9 -494,9 +505,9 @@@match: (pathname) => isAdvancedSettingsPath(pathname, memoryNavVisible),},];- const adminMobileTabs = capabilities.can_use_system+ const adminMobileTabs = canUseRuntimeSurfaces || capabilities.can_use_system? adminMobileTabsAll- : withoutLocalSystemEntries(adminMobileTabsAll);+ : filterLocalSystemNavItems(adminMobileTabsAll);// The More sheet shows the overflow: admin sections not already on the bottom// bar. Keep its filtering aligned with the currently visible primary tabs.const adminBottomBarPaths = new Set(diff --cc ui/src/lib/adminNavigation.test.tsindex a1f5a1582,8d332eb7d..9ad67a363--- a/ui/src/lib/adminNavigation.test.ts+++ b/ui/src/lib/adminNavigation.test.ts@@@ -35,9 -35,10 +36,10 @@@ describe('isAdvancedSettingsPath', () =});describe('isLocalSystemPath', () => {- it('covers every destination whose page runs entirely on local-only routes', () => {+ it('covers every destination with a historical trusted-local gate', () => {expect(isLocalSystemPath('/admin/dashboard')).toBe(true);expect(isLocalSystemPath('/admin/remote-access')).toBe(true);+ expect(isLocalSystemPath('/admin/groups')).toBe(true);expect(isLocalSystemPath('/admin/users')).toBe(true);expect(isLocalSystemPath('/admin/logs')).toBe(true);expect(isLocalSystemPath('/admin/settings/service')).toBe(true);diff --cc ui/src/lib/adminNavigation.tsindex 233d5423b,f03d41a8a..8ce534163--- a/ui/src/lib/adminNavigation.ts+++ b/ui/src/lib/adminNavigation.ts@@@ -41,19 -50,20 +42,50 @@@ const LOCAL_ONLY_MESSAGING_FIELDS = neexport const isLocalSystemPath = (pathname: string): boolean =>LOCAL_SYSTEM_ROUTES.some((route) => matchesRoute(pathname, route));+ export type LocalSystemNavItem = {+ to?: string;+ onClick?: () => void;+ children?: LocalSystemNavItem[];+ };++ export const filterLocalSystemNavItems = <T extends LocalSystemNavItem>(navItems: T[]): T[] =>+ navItems+ .filter((item) => !item.to || !isLocalSystemPath(item.to))+ .map((item) =>+ item.children ? ({ ...item, children: filterLocalSystemNavItems(item.children) } as T) : item,+ )+ .filter((item) => item.to || item.onClick || (item.children?.length ?? 0) > 0);++/**+ * Temporary rollout exception for authenticated active Organization members.+ * Remote-access pairing/tunnel management remains a control-plane boundary.+ */+export const isLocalSystemPathForAccess = (+ pathname: string,+ temporaryUnrestrictedOrgAccess: boolean,+): boolean => {+ if (!temporaryUnrestrictedOrgAccess) return isLocalSystemPath(pathname);+ // Remote Access pairing and tunnel management retain their control-plane gate.+ return matchesRoute(pathname, '/admin/remote-access');+};+++export const filterRuntimeAccessNavItems = <T extends LocalSystemNavItem>(++ navItems: T[],++ temporaryUnrestrictedOrgAccess: boolean,++): T[] => {++ if (temporaryUnrestrictedOrgAccess) {++ return navItems++ .filter((item) => !item.to || !matchesRoute(item.to, '/admin/remote-access'))++ .map((item) =>++ item.children++ ? { ...item, children: filterRuntimeAccessNavItems(item.children, true) }++ : item,++ )++ .filter((item) => item.to || item.onClick || (item.children?.length ?? 0) > 0);++ }++ return filterLocalSystemNavItems(navItems);++};++export const isLocalOnlyMessagingField = (field: string): boolean =>LOCAL_ONLY_MESSAGING_FIELDS.has(field);