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(workbench): localize share guidance, show full link, gate on load
cyh59b53bfee3cf
diff --git a/ui/src/components/workbench/ShowPageShareControl.tsx b/ui/src/components/workbench/ShowPageShareControl.tsxindex b71974ed9..40deb981a 100644--- a/ui/src/components/workbench/ShowPageShareControl.tsx+++ b/ui/src/components/workbench/ShowPageShareControl.tsx@@ -8,7 +8,7 @@ import { Popover, PopoverContent, PopoverTrigger } from '../ui/popover';import { Switch } from '../ui/switch';import { useApi } from '../../context/ApiContext';import { copyTextToClipboard } from '../../lib/utils';-import { copyHref, displayLink, type ShowPageLinkInfo } from '../../lib/showPageLinks';+import { copyHref, type ShowPageLinkInfo } from '../../lib/showPageLinks';type ShowPagePayload = ShowPageLinkInfo & {url_available: boolean;@@ -44,9 +44,10 @@ export const ShowPageShareControl: React.FC<{const offline = payload?.visibility === 'offline' || payload?.offline === true;const isPublic = payload?.visibility === 'public';- // Falls back to the same-origin route when Avibe Cloud is off (payload urls null).+ // Absolute, copyable href; falls back to the same-origin route when Avibe+ // Cloud is off (payload urls null). The field shows this full url so a manual+ // select/copy yields the same link as the Copy button.const link = payload ? copyHref(payload) ?? '' : '';- const shownLink = payload ? displayLink(payload) ?? '' : '';const canNativeShare = typeof navigator !== 'undefined' && typeof navigator.share === 'function';// Re-fetch on every open so a visibility/share change made elsewhere (e.g. the@@ -122,6 +123,8 @@ export const ShowPageShareControl: React.FC<{<Loader2 className="size-4 animate-spin" />{t('common.loading')}</div>+ ) : !payload ? (+ <p className="py-1 text-sm text-muted">{t('chat.showPage.loadError')}</p>) : offline ? (<p className="py-1 text-sm text-muted">{t('chat.showPage.offlineNote')}</p>) : (@@ -130,7 +133,7 @@ export const ShowPageShareControl: React.FC<{<Inputid="show-share-link"readOnly- value={shownLink}+ value={link}onFocus={(e) => e.currentTarget.select()}className="h-8 flex-1 text-xs"/>@@ -179,9 +182,9 @@ export const ShowPageShareControl: React.FC<{/></div>- {isPublic && payload && !payload.url_available && payload.url_guidance && (+ {payload && isPublic && !payload.url_available && (<div className="rounded-md border border-border px-2.5 py-2 text-xs text-muted">- {payload.url_guidance}+ {t('chat.showPage.publicUnavailable')}</div>)}</>diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.jsonindex aeacd8979..695b7a7ab 100644--- a/ui/src/i18n/en.json+++ b/ui/src/i18n/en.json@@ -1771,7 +1771,9 @@"visibilityPrivate": "Private","publicDesc": "Anyone with the link can view","privateDesc": "Only you can view",- "offlineNote": "This Show Page is offline and can't be shared right now."+ "offlineNote": "This Show Page is offline and can't be shared right now.",+ "publicUnavailable": "Connect Avibe Cloud to get a public link others can open.",+ "loadError": "Couldn't load this Show Page."},"titlePlaceholder": "Session title","pickAgent": "Pick an agent",diff --git a/ui/src/i18n/zh.json b/ui/src/i18n/zh.jsonindex 782851579..e628e5a2a 100644--- a/ui/src/i18n/zh.json+++ b/ui/src/i18n/zh.json@@ -1770,7 +1770,9 @@"visibilityPrivate": "私有","publicDesc": "任何人都可以通过链接查看","privateDesc": "只有你能查看",- "offlineNote": "这个 Show Page 已离线,暂时无法分享。"+ "offlineNote": "这个 Show Page 已离线,暂时无法分享。",+ "publicUnavailable": "连接 Avibe Cloud 后才能获得别人可打开的公开链接。",+ "loadError": "无法加载这个 Show Page。"},"titlePlaceholder": "会话标题","pickAgent": "选择 Agent",