Skip to content

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

Clarify WorkBuddy ACP login state without standalone CLI

tianma-ifcd59e80803ac
diff --git a/apps/web/src/components/settings/DesktopAcpAgentCard.tsx b/apps/web/src/components/settings/DesktopAcpAgentCard.tsx
index beea8f6b..8c93693f 100644
--- a/apps/web/src/components/settings/DesktopAcpAgentCard.tsx
+++ b/apps/web/src/components/settings/DesktopAcpAgentCard.tsx
@@ -51,6 +51,7 @@ const statusKey = (adapter: DesktopAcpAdapter | undefined, probing: boolean) =>
if (adapter.id === "deepseekHarness" && adapter.state === "not_installed") return "aiAssistant.agentSource.deepseekHarnessNotFound";
if (adapter.id === "piAgent" && adapter.state === "not_installed") return adapter.detail === "adapter_missing" ? "aiAssistant.agentSource.piAgentAdapterMissing" : "aiAssistant.agentSource.piAgentNotFound";
if ((adapter.id === "workbuddyCn" || adapter.id === "workbuddyIntl") && adapter.state === "not_installed") return "aiAssistant.agentSource.workbuddyNotFound";
+ if ((adapter.id === "workbuddyCn" || adapter.id === "workbuddyIntl") && adapter.state === "available") return "aiAssistant.agentSource.workbuddyConnectionReady";
return `aiAssistant.agentSource.states.${adapter.state}`;
};
@@ -58,15 +59,18 @@ const getStatusTone = ({
probing,
installing,
installError,
+ handshakeOnly,
state,
}: {
probing: boolean;
installing: boolean;
installError: boolean;
+ handshakeOnly: boolean;
state?: DesktopAcpAdapter["state"];
}) => {
if (installing || probing) return "loading";
if (installError || state === "failed") return "error";
+ if (handshakeOnly) return "neutral";
if (state === "available") return "success";
if (state === "needs_login" || state === "not_installed") return "warning";
return "neutral";
@@ -124,6 +128,7 @@ const DesktopAcpAgentCardBody = ({ bridge }: { bridge: boolean }) => {
probing,
installing,
installError,
+ handshakeOnly: isWorkBuddy && shown?.state === "available",
state: shown?.state,
});
const authMethods = shown?.authMethods?.filter((method) => (
diff --git a/packages/shared/src/i18n/en-US.ts b/packages/shared/src/i18n/en-US.ts
index 6782dc52..9c9f4bf5 100644
--- a/packages/shared/src/i18n/en-US.ts
+++ b/packages/shared/src/i18n/en-US.ts
@@ -1363,7 +1363,7 @@ export const enUS = {
localMissing: "No local agent is available. Choose an adapter, or use the built-in assistant.",
noteAccessUnavailable: "Could not connect to this account's notes. Check the instance connection and sign-in status, then try again.",
localLoginRequired: "This local agent needs sign-in. Sign in under Settings → Models & Agents, then try again.",
- workbuddyLoginRequired: "WorkBuddy ACP sign-in is separate from the desktop app. Choose a sign-in method under Settings → Models & Agents, then try again.",
+ workbuddyLoginRequired: "WorkBuddy ACP could not use a saved sign-in. You do not need to install CodeBuddy separately. Choose an ACP sign-in method under Settings → Models & Agents, then try again.",
agentRefused: "The local agent refused this request. Check its sign-in status or model settings, then try again.",
unavailable: "Sign in to a personal account to send. Demo mode and signed-out sessions cannot use the built-in assistant.",
proposalConfirm: "Apply to note",
@@ -1431,9 +1431,10 @@ export const enUS = {
piAgentAdapterMissingHint: "pi agent is installed. EdgeEver installs pi-acp automatically, or you can select Install connector now.",
piAgentLoginHint: "Run pi in a terminal to sign in to your model provider or configure an API key, then check the connection again.",
workbuddyNotFound: "WorkBuddy ACP program not found",
- workbuddyMissingHint: "Install the WorkBuddy desktop app or CodeBuddy CLI. EdgeEver uses its built-in ACP; China and International accounts sign in separately.",
- workbuddyCnLoginHint: "ACP sign-in is separate from the WorkBuddy desktop app. Use WeChat or your organization's sign-in method for China.",
- workbuddyIntlLoginHint: "ACP sign-in is separate from the WorkBuddy desktop app. Use Google/GitHub or your organization's sign-in method for International.",
+ workbuddyMissingHint: "The WorkBuddy desktop app includes the ACP program; no separate CodeBuddy installation is needed. A standalone CodeBuddy CLI also works.",
+ workbuddyCnLoginHint: "No separate CodeBuddy installation is needed. ACP tries saved sign-in first. If chat still requires login, use WeChat or your organization's ACP sign-in method.",
+ workbuddyIntlLoginHint: "No separate CodeBuddy installation is needed. ACP tries saved sign-in first. If chat still requires login, use Google/GitHub or your organization's ACP sign-in method.",
+ workbuddyConnectionReady: "ACP connected; sign-in is checked during chat",
installing: "Installing and checking…",
installFailed: "Installation or connection check failed. The previous version was kept.",
updateFailed: "Automatic update failed. The previous version remains in use.",
diff --git a/packages/shared/src/i18n/ja.ts b/packages/shared/src/i18n/ja.ts
index 11dd5647..55e4aec5 100644
--- a/packages/shared/src/i18n/ja.ts
+++ b/packages/shared/src/i18n/ja.ts
@@ -1363,7 +1363,7 @@ export const ja = {
localMissing: "使えるローカル Agent がありません。アダプターを選ぶか、内蔵アシスタントを使ってください。",
noteAccessUnavailable: "このアカウントのノートに接続できません。インスタンスへの接続とログイン状態を確認して、再試行してください。",
localLoginRequired: "ローカル Agent へのログインが必要です。「設定 → モデルとエージェント」でログインしてから再試行してください。",
- workbuddyLoginRequired: "WorkBuddy の ACP ログインはデスクトップアプリとは別です。「設定 → モデルとエージェント」でログイン方法を選び、ログイン後に再試行してください。",
+ workbuddyLoginRequired: "WorkBuddy ACP は保存済みのログインを利用できませんでした。CodeBuddy の別途インストールは不要です。「設定 → モデルとエージェント」で ACP のログイン方法を選び、再試行してください。",
agentRefused: "ローカル Agent がこのリクエストを拒否しました。ログイン状態またはモデル設定を確認して再試行してください。",
unavailable: "送信するには個人アカウントでサインインしてください。デモモードや未ログインでは内蔵アシスタントを使えません。",
proposalConfirm: "ノートに適用",
@@ -1431,9 +1431,10 @@ export const ja = {
piAgentAdapterMissingHint: "pi agent が見つかりました。EdgeEver が pi-acp を自動インストールします。「接続コンポーネントをインストール」から今すぐ実行することもできます。",
piAgentLoginHint: "ターミナルで pi を実行し、モデルサービスへのログインまたは API キーの設定を済ませてから、接続を再確認してください。",
workbuddyNotFound: "WorkBuddy の ACP プログラムが見つかりません",
- workbuddyMissingHint: "WorkBuddy デスクトップアプリまたは CodeBuddy CLI をインストールしてください。内蔵 ACP を使用し、中国版と国際版は別々にログインします。",
- workbuddyCnLoginHint: "ACP ログインは WorkBuddy デスクトップアプリとは別です。中国版は WeChat または組織指定の方法を使用してください。",
- workbuddyIntlLoginHint: "ACP ログインは WorkBuddy デスクトップアプリとは別です。国際版は Google/GitHub または組織指定の方法を使用してください。",
+ workbuddyMissingHint: "WorkBuddy デスクトップアプリには ACP プログラムが含まれるため、CodeBuddy の別途インストールは不要です。単体の CodeBuddy CLI も利用できます。",
+ workbuddyCnLoginHint: "CodeBuddy の別途インストールは不要です。ACP は保存済みのログインを試します。チャットでログインが必要な場合は WeChat または組織指定の方法で ACP 認証を行ってください。",
+ workbuddyIntlLoginHint: "CodeBuddy の別途インストールは不要です。ACP は保存済みのログインを試します。チャットでログインが必要な場合は Google/GitHub または組織指定の方法で ACP 認証を行ってください。",
+ workbuddyConnectionReady: "ACP 接続済み・ログインはチャット時に確認",
installing: "インストールして確認中…",
installFailed: "インストールまたは接続確認に失敗しました。以前のバージョンは保持されています。",
updateFailed: "自動更新に失敗しました。以前のバージョンを継続して使用します。",
diff --git a/packages/shared/src/i18n/zh-CN.ts b/packages/shared/src/i18n/zh-CN.ts
index 6873f8c3..82c2c8b8 100644
--- a/packages/shared/src/i18n/zh-CN.ts
+++ b/packages/shared/src/i18n/zh-CN.ts
@@ -1363,7 +1363,7 @@ export const zhCN = {
localMissing: "还没有可用的本地 Agent。请先选择适配器,或改用内置助手。",
noteAccessUnavailable: "无法连接当前账号的笔记库。请检查实例连接和登录状态后重试。",
localLoginRequired: "本地 Agent 需要登录。请在“设置 → 模型与代理”中完成登录后重试。",
- workbuddyLoginRequired: "WorkBuddy 的 ACP 登录与桌面 App 登录分开。请在“设置 → 模型与代理”中选择登录方式,完成登录后重试。",
+ workbuddyLoginRequired: "WorkBuddy ACP 未能使用已有登录。无需另装 CodeBuddy;请在“设置 → 模型与代理”中选择 ACP 登录方式,完成后重试。",
agentRefused: "本地 Agent 拒绝了这次请求。请检查代理的登录状态或模型配置后重试。",
unavailable: "需要登录个人账户后才能发送。演示模式或未登录时不能使用内置助手。",
proposalConfirm: "应用到笔记",
@@ -1431,9 +1431,10 @@ export const zhCN = {
piAgentAdapterMissingHint: "已找到 pi agent。EdgeEver 会自动安装 pi-acp;也可以点击“安装连接组件”立即安装。",
piAgentLoginHint: "请先在终端运行 pi 并完成模型服务登录或 API Key 配置,然后重新检查连接。",
workbuddyNotFound: "未找到 WorkBuddy 的 ACP 程序",
- workbuddyMissingHint: "请安装 WorkBuddy 桌面版或 CodeBuddy CLI。EdgeEver 使用其内置 ACP,国内版和国际版分别登录。",
- workbuddyCnLoginHint: "ACP 登录与 WorkBuddy 桌面 App 的登录分开。国内版请使用微信或组织指定的登录方式。",
- workbuddyIntlLoginHint: "ACP 登录与 WorkBuddy 桌面 App 的登录分开。国际版请使用 Google/GitHub 或组织指定的登录方式。",
+ workbuddyMissingHint: "安装 WorkBuddy 桌面版即可使用其内置 ACP,无需另装 CodeBuddy;也可单独安装 CodeBuddy CLI。",
+ workbuddyCnLoginHint: "无需另装 CodeBuddy。ACP 会尝试使用已保存的登录;若聊天仍提示需要登录,请使用微信或组织指定方式完成 ACP 认证。",
+ workbuddyIntlLoginHint: "无需另装 CodeBuddy。ACP 会尝试使用已保存的登录;若聊天仍提示需要登录,请使用 Google/GitHub 或组织指定方式完成 ACP 认证。",
+ workbuddyConnectionReady: "ACP 已连接,聊天时验证登录",
installing: "正在安装并检查…",
installFailed: "安装或连接检查失败,原版本已保留。",
updateFailed: "自动更新失败,正在继续使用原版本。",