Skip to content

armgit / avibe

Public Imported from GitHub
0

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.

feat(ui): lead the Service page with a prominent remote-access card + reworked copy

cyh0c1620219c3b
diff --git a/ui/src/components/RemoteAccess.tsx b/ui/src/components/RemoteAccess.tsx
index 71adabbcb..284e18e2f 100644
--- a/ui/src/components/RemoteAccess.tsx
+++ b/ui/src/components/RemoteAccess.tsx
@@ -5,8 +5,10 @@ import { useApi } from '../context/ApiContext';
import { useToast } from '../context/ToastContext';
import { CompactField } from './settings/SettingsPrimitives';
import { Button } from './ui/button';
+import { Badge } from './ui/badge';
const VIBE_CLOUD_URL = 'https://avibe.bot';
+const VIBE_CLOUD_APP_URL = 'https://avibe.bot/app';
export const RemoteAccess: React.FC = () => {
const { t } = useTranslation();
@@ -124,33 +126,33 @@ export const RemoteAccess: React.FC = () => {
return (
<section
id="remote-access"
- className="scroll-mt-24 overflow-hidden rounded-xl border border-cyan/25 bg-surface-2/70 shadow-[0_18px_44px_-28px_rgba(63,224,229,0.55)]"
+ className="scroll-mt-24 overflow-hidden rounded-xl border border-cyan/45 bg-cyan/[0.06] shadow-[0_0_40px_-10px_rgba(63,224,229,0.45)]"
>
- <div className="flex items-start justify-between gap-4 border-b border-cyan/15 bg-cyan/[0.035] px-5 py-4">
+ <div className="flex items-start justify-between gap-4 border-b border-cyan/20 bg-cyan/[0.07] px-5 py-4">
<div className="min-w-0 space-y-2">
<h2 className="inline-flex items-center gap-2 text-[15px] font-semibold text-foreground">
- <span className="flex size-8 shrink-0 items-center justify-center rounded-full border border-cyan/25 bg-cyan/[0.08] text-cyan">
+ <span className="flex size-8 shrink-0 items-center justify-center rounded-full border border-cyan/30 bg-cyan/[0.12] text-cyan">
<Cloud className="size-4" strokeWidth={2.25} />
</span>
{t('remoteAccess.title')}
</h2>
- <p className="max-w-2xl text-[12px] leading-relaxed text-muted">
- <Trans
- i18nKey="remoteAccess.subtitleWithLink"
- components={{
- cloud: (
- <a
- href={VIBE_CLOUD_URL}
- target="_blank"
- rel="noreferrer"
- className="inline-flex items-center gap-0.5 font-medium text-cyan hover:underline"
- />
- ),
- }}
- />
- </p>
+ <p className="max-w-2xl text-[12px] leading-relaxed text-muted">{t('remoteAccess.subtitleWithLink')}</p>
<ol className="ml-4 list-decimal space-y-1 text-[12px] leading-relaxed text-muted">
- <li>{t('remoteAccess.flowStep1')}</li>
+ <li>
+ <Trans
+ i18nKey="remoteAccess.flowStep1"
+ components={{
+ console: (
+ <a
+ href={VIBE_CLOUD_APP_URL}
+ target="_blank"
+ rel="noreferrer"
+ className="inline-flex items-center gap-0.5 font-medium text-cyan hover:underline"
+ />
+ ),
+ }}
+ />
+ </li>
<li>{t('remoteAccess.flowStep2')}</li>
<li>{t('remoteAccess.flowStep3')}</li>
</ol>
@@ -170,7 +172,13 @@ export const RemoteAccess: React.FC = () => {
<div className="grid border-b border-border md:grid-cols-3">
<div className="border-b border-border px-5 py-3.5 md:border-b-0 md:border-r">
<div className="text-[12px] text-muted">{t('remoteAccess.paired')}</div>
- <div className="mt-1 text-[13px] font-medium text-foreground">{paired ? t('common.enabled') : t('common.disabled')}</div>
+ <div className="mt-1">
+ {paired ? (
+ <Badge variant="success">{t('common.enabled')}</Badge>
+ ) : (
+ <Badge variant="secondary">{t('common.disabled')}</Badge>
+ )}
+ </div>
</div>
<div className="border-b border-border px-5 py-3.5 md:border-b-0 md:border-r">
<div className="text-[12px] text-muted">{t('remoteAccess.connector')}</div>
diff --git a/ui/src/components/settings/SettingsServicePage.tsx b/ui/src/components/settings/SettingsServicePage.tsx
index ff68f9f93..8575cba19 100644
--- a/ui/src/components/settings/SettingsServicePage.tsx
+++ b/ui/src/components/settings/SettingsServicePage.tsx
@@ -119,6 +119,10 @@ export const SettingsServicePage: React.FC = () => {
title={t('settings.serviceTitle')}
subtitle={t('settings.serviceSubtitle')}
>
+ {/* Remote access leads the page: it's the primary thing users come here to
+ set up, so it sits at the top with a prominent cyan board + glow. */}
+ <RemoteAccess />
+
<SettingsPanel
title={
<span className="inline-flex items-center gap-2">
@@ -251,8 +255,6 @@ export const SettingsServicePage: React.FC = () => {
</div>
</div>
</SettingsPanel>
-
- <RemoteAccess />
</SettingsPageShell>
);
};
diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json
index 60dc00386..718d65c54 100644
--- a/ui/src/i18n/en.json
+++ b/ui/src/i18n/en.json
@@ -474,7 +474,7 @@
"badge": "Avibe Cloud provider",
"title": "Remote Access",
"subtitle": "Open this local Web UI from another device through a private avibe.bot URL. Your data and agents still run on this machine.",
- "subtitleWithLink": "Open this local Web UI from another device through a private <cloud>avibe.bot</cloud> URL. Your data and agents still run on this machine.",
+ "subtitleWithLink": "Reach your Avibe OS from anywhere through your own *-app.avibe.bot domain. Your data and agents stay under your control on this machine.",
"connectTitle": "Connect to Avibe Cloud",
"connectDesc": "First create a remote-access bot at avibe.bot and copy its one-time pairing key. Then paste it here to pair this device.",
"configuredTitle": "Avibe Cloud is configured",
@@ -498,9 +498,9 @@
"paired": "Pairing",
"connector": "Remote access",
"flowTitle": "Setup steps",
- "flowStep1": "Open avibe.bot, sign up or sign in, create a remote-access bot, and claim your personal domain.",
- "flowStep2": "Copy the one-time pairing key shown in the avibe.bot console.",
- "flowStep3": "Paste the key here. Avibe saves the connection credentials and starts remote access.",
+ "flowStep1": "Open <console>avibe.bot</console>, sign in, click \u201CPair an Avibe\u201D, and claim your own domain.",
+ "flowStep2": "Copy the pairing key shown there.",
+ "flowStep3": "Paste it here to finish pairing \u2014 then reach Avibe from anywhere.",
"actionNeeded": "Action needed",
"ready": "Ready",
"stateNeedsAttention": "Needs attention"
diff --git a/ui/src/i18n/zh.json b/ui/src/i18n/zh.json
index 53829d957..db3f127d7 100644
--- a/ui/src/i18n/zh.json
+++ b/ui/src/i18n/zh.json
@@ -474,7 +474,7 @@
"badge": "Avibe Cloud Provider",
"title": "远程访问",
"subtitle": "通过私有 avibe.bot 地址,从另一台设备打开这个本机 Web UI。你的数据和 Agent 仍然运行在这台机器上。",
- "subtitleWithLink": "通过私有 <cloud>avibe.bot</cloud> 地址,从另一台设备打开这个本机 Web UI。你的数据和 Agent 仍然运行在这台机器上。",
+ "subtitleWithLink": "通过专属 *-app.avibe.bot 域名,随时随地访问 Avibe OS。你的数据和 Agent 依然由你本机掌控。",
"connectTitle": "连接 Avibe Cloud",
"connectDesc": "先在 avibe.bot 创建 remote-access bot,并复制一次性 pairing key;然后粘贴到这里完成本机配对。",
"configuredTitle": "Avibe Cloud 已配置",
@@ -498,9 +498,9 @@
"paired": "配对状态",
"connector": "远程访问",
"flowTitle": "配置步骤",
- "flowStep1": "打开 avibe.bot,注册或登录,创建 remote-access bot,并领取个人域名。",
- "flowStep2": "复制 avibe.bot 控制台里显示的一次性 pairing key。",
- "flowStep3": "把 key 粘贴到这里。Avibe 会保存连接凭证并启动远程访问。",
+ "flowStep1": "访问 <console>avibe.bot</console>,登录后点击「配对 Avibe」,领取你的专属域名。",
+ "flowStep2": "复制显示的「配对密钥」。",
+ "flowStep3": "粘贴在这里完成配对,即可在任何地方访问 Avibe。",
"actionNeeded": "需要处理",
"ready": "已就绪",
"stateNeedsAttention": "需要检查"