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(setup): drop credential echo + require-mention from the wizard summary (#473)
Call White2d4ea67615c5
diff --git a/ui/src/components/steps/Summary.tsx b/ui/src/components/steps/Summary.tsxindex 3400ad120..de917cd04 100644--- a/ui/src/components/steps/Summary.tsx+++ b/ui/src/components/steps/Summary.tsx@@ -48,7 +48,10 @@ export const Summary: React.FC<SummaryProps> = ({ data, onBack }) => {: Array.isArray(data.discord?.guild_allowlist)? data.discord.guild_allowlist: [];- const [requireMentionByPlatform, setRequireMentionByPlatform] = useState<Record<string, boolean>>(+ // ``require_mention`` is no longer toggled on the summary (it's configured in+ // Settings); keep the data-derived defaults so buildConfigPayload still+ // persists them. No setter — the value is read-only here.+ const [requireMentionByPlatform] = useState<Record<string, boolean>>(Object.fromEntries(enabledPlatforms.map((platform) => [platform,@@ -178,25 +181,16 @@ export const Summary: React.FC<SummaryProps> = ({ data, onBack }) => {},];- if (enabledPlatforms.includes('slack')) {- recapRows.push({ label: t('summary.slackBotToken'), value: mask(data.slack?.bot_token || '') });- }+ // Credentials are intentionally NOT echoed back on the summary — the enabled+ // platforms are already listed above, and showing (even masked) tokens just+ // re-exposes secrets. The Discord guild allowlist is a routing setting, not a+ // credential, so it stays.if (enabledPlatforms.includes('discord')) {- recapRows.push({ label: t('summary.discordBotToken'), value: mask(data.discord?.bot_token || '') });recapRows.push({label: t('summary.discordGuild'),value: discordGuildAllowlist.join(', ') || t('summary.notSet'),});}- if (enabledPlatforms.includes('telegram')) {- recapRows.push({ label: t('summary.telegramBotToken'), value: mask(data.telegram?.bot_token || '') });- }- if (enabledPlatforms.includes('lark')) {- recapRows.push({ label: t('summary.larkAppId'), value: mask(data.lark?.app_id || '') });- }- if (enabledPlatforms.includes('wechat')) {- recapRows.push({ label: t('summary.wechatBotToken'), value: mask(data.wechat?.bot_token || '') });- }if (bindCode) {return (@@ -283,35 +277,6 @@ export const Summary: React.FC<SummaryProps> = ({ data, onBack }) => {))}</div>- {/* Require Mention */}- {enabledPlatforms.length > 0 && (- <div className="rounded-xl border border-border bg-background px-5 py-4">- <div className="mb-3">- <h3 className="text-[13px] font-semibold text-foreground">{t('summary.requireMention')}</h3>- <p className="mt-0.5 text-[11px] text-muted">{t('summary.requireMentionHint')}</p>- </div>- <div className="flex flex-col gap-2.5">- {enabledPlatforms.map((platform) => (- <div- key={platform}- className="flex items-center justify-between rounded-lg border border-border bg-surface-2 px-3 py-2"- >- <span className="text-[12px] font-medium text-foreground">{titleCase(platform)}</span>- <ToggleSwitch- enabled={!!requireMentionByPlatform[platform]}- onClick={() =>- setRequireMentionByPlatform((current) => ({- ...current,- [platform]: !current[platform],- }))- }- />- </div>- ))}- </div>- </div>- )}-{/* Auto Update */}<div className="flex items-center justify-between rounded-xl border border-border bg-background px-5 py-4"><div>@@ -403,8 +368,6 @@ const Tip: React.FC<{const titleCase = (value: string) => value.charAt(0).toUpperCase() + value.slice(1);-const mask = (value: string) => (value ? `${value.slice(0, 6)}...${value.slice(-4)}` : 'Not set');-const enabledAgents = (data: any) => {const agents = data.agents || {};return Object.keys(agents).filter((name) => agents[name]?.enabled);