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(vaults): plain-language copy for the vault-request flow (小白-friendly) (#789)

Call White5bed76cd9626
diff --git a/tests/test_vault_request_im_notifications.py b/tests/test_vault_request_im_notifications.py
index 7c0b11ac4..2e01c02d0 100644
--- a/tests/test_vault_request_im_notifications.py
+++ b/tests/test_vault_request_im_notifications.py
@@ -129,7 +129,7 @@ def test_notifies_im_session_with_platform_link_format(tmp_path: Path) -> None:
assert context.thread_id == "1719990000.1"
assert context.platform_specific["agent_session_id"] == "ses_im"
assert "API_KEY" in emitted["text"]
- assert "<https://desk.avibe.bot/u/team/vaults?request_id=vrq_123|Review in Avibe>" in emitted["text"]
+ assert "<https://desk.avibe.bot/u/team/vaults?request_id=vrq_123|Review on the web>" in emitted["text"]
def test_notifies_wechat_with_plain_url_format(tmp_path: Path) -> None:
@@ -154,7 +154,7 @@ def test_notifies_wechat_with_plain_url_format(tmp_path: Path) -> None:
assert len(controller.emitted) == 1
text = controller.emitted[0]["text"]
- assert "Review in Avibe (https://desk.avibe.bot/vaults?request_id=vrq_wx)" in text
+ assert "Review on the web (https://desk.avibe.bot/vaults?request_id=vrq_wx)" in text
def test_provision_request_can_notify_from_secure_input_card(tmp_path: Path) -> None:
@@ -182,7 +182,7 @@ def test_provision_request_can_notify_from_secure_input_card(tmp_path: Path) ->
)
assert result["sent"] is True
- assert "Secret provision request" in controller.emitted[0]["text"]
+ assert "A secret to fill in" in controller.emitted[0]["text"]
assert "NEW_TOKEN" in controller.emitted[0]["text"]
diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json
index 2322a76e5..7bd5e7857 100644
--- a/ui/src/i18n/en.json
+++ b/ui/src/i18n/en.json
@@ -2309,7 +2309,7 @@
"signingRegenerate": "Generate a different key",
"signingImportPlaceholder": "Paste a 32-byte hex private key (64 hex chars)",
"signingAddresses": "Addresses",
- "signingAddressesLoading": "Deriving addresses…",
+ "signingAddressesLoading": "Generating addresses…",
"signingAddressesUnavailable": "Couldn't derive addresses for this key.",
"signingAddressesHint": "Derived from the key. Share an address to receive funds; the private key never leaves your vault, and the chain and signature scheme are chosen at signing time.",
"signingNeedsAvault": "Signing keys need avault {{version}} or newer installed.",
@@ -2330,14 +2330,14 @@
"fetchAuthHelp": "Defaults to Authorization: Bearer <value>. Use Header or Query for APIs that expect another credential placement.",
"tags": "Tags",
"tagsPlaceholder": "Type or pick a tag",
- "tagsHelp": "Labels to find secrets and select them by tag in runs and grants.",
+ "tagsHelp": "Labels to find and group your secrets.",
"removeChip": "Remove {{value}}",
- "protection": "Protection",
+ "protection": "Who can unlock this secret?",
"protectedProtection": "Protected",
"standardProtection": "Standard",
- "protectedHelp": "Unlocked in your browser. Survives machine theft. No headless.",
- "standardHelp": "Machine-encrypted. Headless use OK. For API keys.",
- "protectedCreatePending": "Protected web create is not available in this build yet. Choose Standard only for secrets that may be used headlessly.",
+ "protectedHelp": "You approve it in your browser before the agent can use it (Face ID / password). Safe even if this computer is stolen; the agent can't use it on its own.",
+ "standardHelp": "The agent can use it on its own. Best for API keys and most secrets.",
+ "protectedCreatePending": "Protected web create is not available in this build yet. Choose Standard only for secrets the agent may need to use on its own.",
"save": "Save",
"createSecret": "Create secret",
"cancel": "Cancel",
@@ -2369,22 +2369,22 @@
"sign": "Sign",
"provision": "Provide secret",
"approved": "Access approved",
- "signed": "Signature returned",
+ "signed": "Signed",
"denied": "Request denied"
},
"approval": {
"accessTitle": "Agent wants to use a secret",
- "accessSubtitle": "The value is never shown to the agent or the chat.",
+ "accessSubtitle": "You decide whether the agent may use it. Its value is never shown to the AI or the chat.",
"signTitle": "Agent wants to sign",
- "signSubtitle": "Signing is always per-use — it can't be pre-approved.",
+ "signSubtitle": "Each signature needs your approval — it can't be pre-approved.",
"secret": "Secret",
"key": "Key",
"session": "Session",
"command": "Command",
- "egress": "Egress",
+ "egress": "Connects to",
"signingAs": "Signing as",
- "digest": "Digest",
- "copyDigest": "Copy digest",
+ "digest": "Hash to sign",
+ "copyDigest": "Copy hash to sign",
"source": "Source",
"sourceTag": "Tag · {{name}}",
"sourceSkill": "Skill · {{name}}",
@@ -2398,7 +2398,7 @@
"close": "Close",
"ttlMinutes": "{{count}} min",
"ttlHours": "{{count}} h",
- "accessNote": "The secret is unlocked in your browser and delivered inside avault — Python never sees it.",
+ "accessNote": "Unlocked in your browser — the secret's value is never shown to the AI or the chat.",
"signNote": "The private key never leaves your browser — only the signature is returned.",
"errors": {
"failed": "Couldn't complete the approval. Please try again.",
@@ -2415,7 +2415,7 @@
"help": "Provide the value — it goes to the vault, never to the chat or model.",
"notSetYet": "not set yet",
"dismiss": "Dismiss",
- "saveAndWake": "Save & wake agent",
+ "saveAndWake": "Save & let the agent continue",
"ambiguousProvision": "Multiple pending requests need this secret. Open the request-specific Provide secret row in Vaults so the requested details are preserved.",
"saveFailed": "Couldn't save the secret. Please try again."
},
diff --git a/ui/src/i18n/zh.json b/ui/src/i18n/zh.json
index a63d62e3c..284ae5b6b 100644
--- a/ui/src/i18n/zh.json
+++ b/ui/src/i18n/zh.json
@@ -2308,7 +2308,7 @@
"signingRegenerate": "换一把新密钥",
"signingImportPlaceholder": "粘贴 32 字节十六进制私钥(64 个字符)",
"signingAddresses": "地址",
- "signingAddressesLoading": "正在推导地址…",
+ "signingAddressesLoading": "正在生成地址…",
"signingAddressesUnavailable": "无法为该密钥推导地址。",
"signingAddressesHint": "由密钥推导得到。收款时把地址发给对方即可;私钥始终留在你的保险库里,用哪条链、哪种签名方案在签名时再定。",
"signingNeedsAvault": "签名密钥需要安装 avault {{version}} 或更新版本。",
@@ -2329,13 +2329,13 @@
"fetchAuthHelp": "默认使用 Authorization: Bearer <value>。如果目标 API 要求其他位置,可改用 Header 或 Query。",
"tags": "标签",
"tagsPlaceholder": "输入或选择标签",
- "tagsHelp": "用于查找密钥,也可在运行和授权中按标签选择。",
+ "tagsHelp": "用来查找和归类你的密钥。",
"removeChip": "移除 {{value}}",
- "protection": "保护级别",
+ "protection": "谁能解锁这条密钥?",
"protectedProtection": "受保护",
"standardProtection": "标准",
- "protectedHelp": "在你的浏览器里解锁。机器被偷也安全。不支持无头使用。",
- "standardHelp": "机器加密。可无头使用。适合 API key。",
+ "protectedHelp": "用之前要你在浏览器里批准(Face ID / 密码)——AI 不能私自使用。就算电脑被偷也打不开。",
+ "standardHelp": "AI 可以自己使用。适合 API key 和大多数密钥。",
"protectedCreatePending": "当前构建尚不支持受保护的 Web 创建。需要 Agent 自动取用的密钥请选标准。",
"save": "保存",
"createSecret": "创建密钥",
@@ -2368,22 +2368,22 @@
"sign": "签名",
"provision": "填写密钥",
"approved": "已批准访问",
- "signed": "已返回签名",
+ "signed": "签名完成",
"denied": "已拒绝请求"
},
"approval": {
"accessTitle": "Agent 想使用一个密钥",
- "accessSubtitle": "密钥值绝不会展示给 Agent 或聊天。",
+ "accessSubtitle": "由你决定要不要让 AI 使用它。它的值绝不会展示给 AI 或聊天。",
"signTitle": "Agent 想要签名",
- "signSubtitle": "签名始终按次进行——无法预先批准。",
+ "signSubtitle": "每次签名都要你批准——无法预先批准。",
"secret": "密钥",
"key": "密钥",
"session": "会话",
"command": "命令",
- "egress": "出网",
+ "egress": "连接到",
"signingAs": "签名地址",
- "digest": "摘要",
- "copyDigest": "复制摘要",
+ "digest": "待签名哈希",
+ "copyDigest": "复制待签名哈希",
"source": "来源",
"sourceTag": "标签 · {{name}}",
"sourceSkill": "技能 · {{name}}",
@@ -2397,7 +2397,7 @@
"close": "关闭",
"ttlMinutes": "{{count}} 分钟",
"ttlHours": "{{count}} 小时",
- "accessNote": "密钥在你的浏览器中解锁、在 avault 内交付——Python 永远看不到它。",
+ "accessNote": "在你的浏览器里解锁——密钥的值绝不会展示给 AI 或聊天。",
"signNote": "私钥绝不会离开你的浏览器——只返回签名。",
"errors": {
"failed": "批准未能完成,请重试。",
@@ -2414,7 +2414,7 @@
"help": "提供这个值——它会进入保险库,绝不会进入聊天或模型。",
"notSetYet": "尚未设置",
"dismiss": "忽略",
- "saveAndWake": "保存并唤醒 Agent",
+ "saveAndWake": "保存并让 AI 继续",
"ambiguousProvision": "有多个待处理请求都需要这个密钥。请在 Vaults 里打开对应请求的填写行,这样才能保留请求里的详细设置。",
"saveFailed": "保存失败,请重试。"
},
diff --git a/vibe/i18n/en.json b/vibe/i18n/en.json
index 8000015f5..62236326e 100644
--- a/vibe/i18n/en.json
+++ b/vibe/i18n/en.json
@@ -51,17 +51,17 @@
},
"vault": {
"requestNotification": {
- "title": "Vault review needed",
+ "title": "A vault request needs your attention",
"requestLabel": "Request",
- "secretLabel": "Vault item",
+ "secretLabel": "Secret",
"sessionLabel": "Session",
- "action": "Review in Avibe",
+ "action": "Review on the web",
"noPublicLink": "Open Avibe Vaults in the web UI to review this request. A public Avibe link is not configured for this instance.",
"guidance": "For security, approve, sign, or fill Vault requests only in the Avibe web UI.",
"type": {
"access": "Access request",
"sign": "Signature request",
- "provision": "Secret provision request"
+ "provision": "A secret to fill in"
},
"secretSet": "selected secrets",
"secretNamesMore": "{names} +{count} more"
diff --git a/vibe/i18n/zh.json b/vibe/i18n/zh.json
index d6dd2242f..28523f1c3 100644
--- a/vibe/i18n/zh.json
+++ b/vibe/i18n/zh.json
@@ -51,17 +51,17 @@
},
"vault": {
"requestNotification": {
- "title": "需要处理 Vault 请求",
+ "title": "有一个密钥请求需要你处理",
"requestLabel": "请求",
- "secretLabel": "Vault 项目",
+ "secretLabel": "密钥",
"sessionLabel": "会话",
- "action": "在 Avibe 中查看",
+ "action": "去网页确认",
"noPublicLink": "请在 Web UI 打开 Avibe Vaults 处理此请求。当前实例尚未配置公开 Avibe 链接。",
"guidance": "出于安全原因,Vault 请求只能在 Avibe Web UI 中批准、签名或填写。",
"type": {
"access": "访问请求",
"sign": "签名请求",
- "provision": "密钥创建请求"
+ "provision": "需要你填写一个密钥"
},
"secretSet": "所选密钥",
"secretNamesMore": "{names} 另有 {count} 个"