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(ui+server): localize platform eyebrow; trust CGNAT setup peers
cyh3019a7fbb984
diff --git a/ui/src/components/steps/PlatformSelection.tsx b/ui/src/components/steps/PlatformSelection.tsxindex 9e971784d..0c6f316a5 100644--- a/ui/src/components/steps/PlatformSelection.tsx+++ b/ui/src/components/steps/PlatformSelection.tsx@@ -483,7 +483,7 @@ export const PlatformSelection: React.FC<PlatformSelectionProps> = ({ data, onNe<div className="flex w-full justify-center"><WizardCard className="gap-8"><div className="flex flex-col gap-3">- <EyebrowBadge tone="mint">03 — Platforms</EyebrowBadge>+ <EyebrowBadge tone="mint">{t('platform.eyebrow')}</EyebrowBadge><h2 className="text-[34px] font-bold leading-[1.1] tracking-[-0.6px] text-foreground">{t('platform.title')}</h2>diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.jsonindex c53404f31..98cc56dec 100644--- a/ui/src/i18n/en.json+++ b/ui/src/i18n/en.json@@ -185,6 +185,7 @@"selfHostDescription": "Use your own platform credentials and keep execution local."},"platform": {+ "eyebrow": "03 — Platforms","title": "Choose a Platform","subtitle": "Select one or more chat platforms to connect.","primary": "Primary",diff --git a/ui/src/i18n/zh.json b/ui/src/i18n/zh.jsonindex 21c11b5fe..3b3616a35 100644--- a/ui/src/i18n/zh.json+++ b/ui/src/i18n/zh.json@@ -185,6 +185,7 @@"selfHostDescription": "使用您自己的聊天应用 + Socket Mode 令牌"},"platform": {+ "eyebrow": "03 — 平台","title": "选择平台","subtitle": "选择一个或多个要连接的聊天平台。","primary": "主平台",diff --git a/vibe/ui_server.py b/vibe/ui_server.pyindex 5e635169b..be055f9cf 100644--- a/vibe/ui_server.py+++ b/vibe/ui_server.py@@ -228,6 +228,19 @@ def _is_loopback_host(value: str | None) -> bool:return False+# RFC 6598 shared address space (CGNAT). Python's ipaddress module classifies+# this range as neither private nor global, but in practice overlay networks+# such as Tailscale assign 100.x.y.z addresses that should be trusted as local+# setup-host peers when the request's Host header otherwise matches.+_SHARED_ADDRESS_SPACE = ipaddress.ip_network("100.64.0.0/10")+++def _is_private_address(address: ipaddress._BaseAddress) -> bool:+ if address.is_loopback or address.is_private or address.is_link_local:+ return True+ return isinstance(address, ipaddress.IPv4Address) and address in _SHARED_ADDRESS_SPACE++def _is_private_peer() -> bool:remote_addr = (request.remote_addr or "").strip()if not remote_addr or remote_addr == "localhost":@@ -236,11 +249,11 @@ def _is_private_peer() -> bool:address = ipaddress.ip_address(remote_addr)except ValueError:return False- if address.is_loopback or address.is_private or address.is_link_local:+ if _is_private_address(address):return Truemapped = getattr(address, "ipv4_mapped", None)if mapped is not None:- return mapped.is_loopback or mapped.is_private or mapped.is_link_local+ return _is_private_address(mapped)return False