Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

style: simplify ACP connection details layout

tianma-if7867bf316d7b
diff --git a/apps/web/src/components/settings/DesktopAcpAgentCard.tsx b/apps/web/src/components/settings/DesktopAcpAgentCard.tsx
index efc15eb0..557c949a 100644
--- a/apps/web/src/components/settings/DesktopAcpAgentCard.tsx
+++ b/apps/web/src/components/settings/DesktopAcpAgentCard.tsx
@@ -153,7 +153,9 @@ const DesktopAcpAgentCardBody = ({ bridge }: { bridge: boolean }) => {
shown?.state === "not_installed" ||
shown?.state === "needs_login" ||
(shown?.state === "available" && authMethods.length > 0) ||
- shown?.updateError
+ shown?.updateError ||
+ adapterId === "openClaw" ||
+ (adapterId === "hermesAgent" && shown?.state === "failed")
);
const selectAdapter = (id: DesktopAcpAdapterId) => {
@@ -323,7 +325,7 @@ const DesktopAcpAgentCardBody = ({ bridge }: { bridge: boolean }) => {
</label>
) : null}
- <div className="space-y-2.5 pt-1">
+ <div className="space-y-2 rounded-lg bg-muted/40 p-3">
<div className="flex flex-wrap items-center justify-between gap-3">
<div className="flex min-w-0 flex-wrap items-center gap-2">
<span
@@ -377,20 +379,20 @@ const DesktopAcpAgentCardBody = ({ bridge }: { bridge: boolean }) => {
</div>
{hasDetails ? (
- <div className="space-y-2">
+ <div className="space-y-1.5 text-[11px] leading-4 text-slate-500">
{shown?.state === "not_installed" ? (
- <p className={adapterId === "claudeCode" ? "text-[11px] leading-4 text-slate-500" : "text-xs leading-relaxed text-slate-600"}>
+ <p>
{t(adapterId === "claudeCode" ? "aiAssistant.agentSource.claudeCodeMissingHint" : adapterId === "openClaw" ? "aiAssistant.agentSource.openClawMissingHint" : adapterId === "hermesAgent" ? "aiAssistant.agentSource.hermesAgentMissingHint" : adapterId === "grokBuild" ? "aiAssistant.agentSource.grokBuildMissingHint" : adapterId === "deepseekHarness" ? "aiAssistant.agentSource.deepseekHarnessMissingHint" : adapterId === "piAgent" ? shown.detail === "adapter_missing" ? "aiAssistant.agentSource.piAgentAdapterMissingHint" : "aiAssistant.agentSource.piAgentMissingHint" : adapterId === "workbuddyCn" || adapterId === "workbuddyIntl" ? "aiAssistant.agentSource.workbuddyMissingHint" : "aiAssistant.agentSource.installHint")}
</p>
) : null}
{shown?.state === "needs_login" && adapterId === "piAgent" ? (
- <p className="text-xs leading-relaxed text-slate-600">{t("aiAssistant.agentSource.piAgentLoginHint")}</p>
+ <p>{t("aiAssistant.agentSource.piAgentLoginHint")}</p>
) : null}
{(shown?.state === "needs_login" || shown?.state === "available") && isWorkBuddy ? (
- <p className="text-[11px] leading-4 text-slate-500">{t(adapterId === "workbuddyCn" ? "aiAssistant.agentSource.workbuddyCnLoginHint" : "aiAssistant.agentSource.workbuddyIntlLoginHint")}</p>
+ <p>{t(adapterId === "workbuddyCn" ? "aiAssistant.agentSource.workbuddyCnLoginHint" : "aiAssistant.agentSource.workbuddyIntlLoginHint")}</p>
) : null}
{shown?.state === "available" && !isWorkBuddy && authMethods.length ? (
- <p className="text-xs leading-relaxed text-slate-600">{t("aiAssistant.agentSource.authAvailableHint")}</p>
+ <p>{t("aiAssistant.agentSource.authAvailableHint")}</p>
) : null}
{(shown?.state === "needs_login" || shown?.state === "available") && authMethods.length ? (
<div className="flex flex-wrap gap-2 pt-0.5">
@@ -404,17 +406,17 @@ const DesktopAcpAgentCardBody = ({ bridge }: { bridge: boolean }) => {
{shown?.state === "needs_login" && !authMethods.length && adapterId !== "piAgent" ? (
<p className="text-xs text-amber-700" role="status">{t("aiAssistant.agentSource.loginUnavailable")}</p>
) : null}
+ {adapterId === "openClaw" ? (
+ <p>{t("aiAssistant.agentSource.openClawNoteAccessHint")}</p>
+ ) : null}
+ {adapterId === "hermesAgent" && (shown?.state === "failed" || shown?.state === "needs_login") ? (
+ <p>{t("aiAssistant.agentSource.hermesAgentSetupHint")}</p>
+ ) : null}
{shown?.updateError ? (
<p className="text-xs text-amber-700" role="status">{t("aiAssistant.agentSource.updateFailed")}</p>
) : null}
</div>
) : null}
- {adapterId === "openClaw" ? (
- <p className="text-xs leading-relaxed text-amber-700">{t("aiAssistant.agentSource.openClawNoteAccessHint")}</p>
- ) : null}
- {adapterId === "hermesAgent" && (shown?.state === "failed" || shown?.state === "needs_login") ? (
- <p className="text-xs leading-relaxed text-amber-700">{t("aiAssistant.agentSource.hermesAgentSetupHint")}</p>
- ) : null}
</div>
</div>
) : null}
diff --git a/packages/shared/src/i18n/en-US.ts b/packages/shared/src/i18n/en-US.ts
index bb5634f3..222eb158 100644
--- a/packages/shared/src/i18n/en-US.ts
+++ b/packages/shared/src/i18n/en-US.ts
@@ -1523,8 +1523,8 @@ export const enUS = {
claudeCodeNotFound: "Claude Code ACP connector not found",
claudeCodeMissingHint: "Click “Install connector” to let EdgeEver install it and check the connection.",
openClawNotFound: "OpenClaw CLI not found",
- openClawMissingHint: "Install the OpenClaw CLI and start its Gateway. EdgeEver connects using openclaw acp.",
- openClawNoteAccessHint: "OpenClaw ACP does not accept session MCP servers. To access EdgeEver notes, configure EdgeEver MCP in the OpenClaw Gateway and check the instance and account.",
+ openClawMissingHint: "Install OpenClaw CLI and start its Gateway, then check the connection.",
+ openClawNoteAccessHint: "To access notes, configure EdgeEver MCP in OpenClaw Gateway and confirm the instance and account.",
hermesAgentNotFound: "Hermes Agent CLI not found",
hermesAgentMissingHint: "Install Hermes Agent with its ACP extra and make sure hermes acp --check succeeds.",
hermesAgentSetupHint: "Configure a model provider and sign in through Hermes (for example, run hermes model), then check the connection again.",
diff --git a/packages/shared/src/i18n/ja.ts b/packages/shared/src/i18n/ja.ts
index 5214f1e0..79b88b49 100644
--- a/packages/shared/src/i18n/ja.ts
+++ b/packages/shared/src/i18n/ja.ts
@@ -1523,8 +1523,8 @@ export const ja = {
claudeCodeNotFound: "Claude Code ACP 接続コンポーネントが見つかりません",
claudeCodeMissingHint: "「接続コンポーネントをインストール」をクリックすると、EdgeEver がインストールして接続を確認します。",
openClawNotFound: "OpenClaw CLI が見つかりません",
- openClawMissingHint: "OpenClaw CLI をインストールして Gateway を起動してください。EdgeEver は openclaw acp で接続します。",
- openClawNoteAccessHint: "OpenClaw ACP はセッション MCP サーバーを受け付けません。EdgeEver のノートにアクセスするには、OpenClaw Gateway で EdgeEver MCP を別途設定し、インスタンスとアカウントを確認してください。",
+ openClawMissingHint: "OpenClaw CLI をインストールして Gateway を起動し、接続を確認してください。",
+ openClawNoteAccessHint: "ノートにアクセスするには、OpenClaw Gateway で EdgeEver MCP を設定し、インスタンスとアカウントを確認してください。",
hermesAgentNotFound: "Hermes Agent CLI が見つかりません",
hermesAgentMissingHint: "Hermes Agent と ACP 拡張機能をインストールし、hermes acp --check が成功することを確認してください。",
hermesAgentSetupHint: "Hermes でモデルサービスと認証情報を設定し(例: hermes model)、接続を再確認してください。",
diff --git a/packages/shared/src/i18n/pl.ts b/packages/shared/src/i18n/pl.ts
index de2f015f..8fb4b21e 100644
--- a/packages/shared/src/i18n/pl.ts
+++ b/packages/shared/src/i18n/pl.ts
@@ -1523,8 +1523,8 @@ export const pl = {
claudeCodeNotFound: "Nie znaleziono konektora Claude Code ACP",
claudeCodeMissingHint: "Kliknij „Zainstaluj konektor”, aby EdgeEver zainstalował go i sprawdził połączenie.",
openClawNotFound: "Nie znaleziono OpenClaw CLI",
- openClawMissingHint: "Zainstaluj OpenClaw CLI i uruchom jego Gateway. EdgeEver łączy się za pomocą openclaw acp.",
- openClawNoteAccessHint: "OpenClaw ACP nie akceptuje serwerów MCP sesji. Aby uzyskać dostęp do notatek EdgeEver, skonfiguruj EdgeEver MCP w OpenClaw Gateway i sprawdź instancję oraz konto.",
+ openClawMissingHint: "Zainstaluj OpenClaw CLI i uruchom Gateway, a następnie sprawdź połączenie.",
+ openClawNoteAccessHint: "Aby uzyskać dostęp do notatek, skonfiguruj EdgeEver MCP w OpenClaw Gateway i potwierdź instancję oraz konto.",
hermesAgentNotFound: "Nie znaleziono Hermes Agent CLI",
hermesAgentMissingHint: "Zainstaluj Hermes Agent z dodatkiem ACP i upewnij się, że hermes acp --check kończy się powodzeniem.",
hermesAgentSetupHint: "Skonfiguruj dostawcę modeli i zaloguj się przez Hermes (np. uruchom hermes model), a potem ponownie sprawdź połączenie.",
diff --git a/packages/shared/src/i18n/zh-CN.ts b/packages/shared/src/i18n/zh-CN.ts
index c59c87e7..3b2647d9 100644
--- a/packages/shared/src/i18n/zh-CN.ts
+++ b/packages/shared/src/i18n/zh-CN.ts
@@ -1523,8 +1523,8 @@ export const zhCN = {
claudeCodeNotFound: "未找到 Claude Code ACP 连接组件",
claudeCodeMissingHint: "点击“安装连接组件”,EdgeEver 会自动安装并检查连接。",
openClawNotFound: "未找到 OpenClaw CLI",
- openClawMissingHint: "请安装 OpenClaw CLI 并启动 Gateway。EdgeEver 使用 openclaw acp 连接。",
- openClawNoteAccessHint: "OpenClaw ACP 不接受会话级 MCP 服务;如需访问 EdgeEver 笔记,请在 OpenClaw Gateway 中单独配置 EdgeEver MCP,并核对实例和账号。",
+ openClawMissingHint: "请先安装 OpenClaw CLI 并启动 Gateway,再检查连接。",
+ openClawNoteAccessHint: "笔记访问需在 OpenClaw Gateway 中配置 EdgeEver MCP,并确认实例和账号。",
hermesAgentNotFound: "未找到 Hermes Agent CLI",
hermesAgentMissingHint: "请安装 Hermes Agent 及其 ACP 扩展,并确保 hermes acp --check 可运行。",
hermesAgentSetupHint: "请先在 Hermes 中配置模型服务与登录信息(例如运行 hermes model),再检查连接。",