@songsid/agend 2.3.5-beta.2 → 2.3.5-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/dist/agent-cli-instructions.md +2 -2
  2. package/dist/auth-api.d.ts +2 -0
  3. package/dist/auth-api.js +5 -1
  4. package/dist/auth-api.js.map +1 -1
  5. package/dist/backend/claude-code.d.ts +2 -0
  6. package/dist/backend/claude-code.js +16 -3
  7. package/dist/backend/claude-code.js.map +1 -1
  8. package/dist/backend/cli-env-probe.js +6 -2
  9. package/dist/backend/cli-env-probe.js.map +1 -1
  10. package/dist/backend/codex.d.ts +5 -3
  11. package/dist/backend/codex.js +31 -13
  12. package/dist/backend/codex.js.map +1 -1
  13. package/dist/backend/kiro.js +1 -1
  14. package/dist/backend/kiro.js.map +1 -1
  15. package/dist/backend/types.d.ts +5 -1
  16. package/dist/backend/types.js.map +1 -1
  17. package/dist/bundled-tmux-guard.d.ts +4 -0
  18. package/dist/bundled-tmux-guard.js +7 -0
  19. package/dist/bundled-tmux-guard.js.map +1 -1
  20. package/dist/cache-service.d.ts +6 -0
  21. package/dist/cache-service.js +105 -0
  22. package/dist/cache-service.js.map +1 -1
  23. package/dist/channel/mcp-tools.js +2 -2
  24. package/dist/channel/mcp-tools.js.map +1 -1
  25. package/dist/daemon.d.ts +3 -0
  26. package/dist/daemon.js +17 -2
  27. package/dist/daemon.js.map +1 -1
  28. package/dist/fleet-manager.d.ts +71 -0
  29. package/dist/fleet-manager.js +393 -92
  30. package/dist/fleet-manager.js.map +1 -1
  31. package/dist/fleet-process-handlers.d.ts +1 -1
  32. package/dist/fleet-process-handlers.js +3 -2
  33. package/dist/fleet-process-handlers.js.map +1 -1
  34. package/dist/general-knowledge/skills/concepts/SKILL.md +11 -12
  35. package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +9 -1
  36. package/dist/general-knowledge/skills/fleet-config/SKILL.md +12 -0
  37. package/dist/general-knowledge/skills/fleet-health/SKILL.md +1 -1
  38. package/dist/general-knowledge/skills/instance-lifecycle/SKILL.md +4 -0
  39. package/dist/general-knowledge/skills/web-dashboard/SKILL.md +16 -11
  40. package/dist/instance-lifecycle.d.ts +1 -1
  41. package/dist/instance-lifecycle.js +16 -1
  42. package/dist/instance-lifecycle.js.map +1 -1
  43. package/dist/instructions.js +29 -6
  44. package/dist/instructions.js.map +1 -1
  45. package/dist/kiro-history-scan.d.ts +26 -0
  46. package/dist/kiro-history-scan.js +141 -0
  47. package/dist/kiro-history-scan.js.map +1 -0
  48. package/dist/kiro-history-worker.d.ts +1 -0
  49. package/dist/kiro-history-worker.js +9 -0
  50. package/dist/kiro-history-worker.js.map +1 -0
  51. package/dist/kiro-history.d.ts +20 -0
  52. package/dist/kiro-history.js +96 -0
  53. package/dist/kiro-history.js.map +1 -0
  54. package/dist/kiro-usage-run.d.ts +2 -0
  55. package/dist/kiro-usage-run.js +4 -1
  56. package/dist/kiro-usage-run.js.map +1 -1
  57. package/dist/locale.js +67 -67
  58. package/dist/locale.js.map +1 -1
  59. package/dist/login-flows.d.ts +4 -0
  60. package/dist/login-flows.js +8 -4
  61. package/dist/login-flows.js.map +1 -1
  62. package/dist/office-levels.d.ts +4 -3
  63. package/dist/office-levels.js +3 -3
  64. package/dist/office-levels.js.map +1 -1
  65. package/dist/outbound-handlers.js +32 -12
  66. package/dist/outbound-handlers.js.map +1 -1
  67. package/dist/outbound-schemas.d.ts +14 -0
  68. package/dist/outbound-schemas.js +4 -0
  69. package/dist/outbound-schemas.js.map +1 -1
  70. package/dist/setup-i18n.js +4 -4
  71. package/dist/setup-i18n.js.map +1 -1
  72. package/dist/subagent-records.d.ts +42 -0
  73. package/dist/subagent-records.js +159 -0
  74. package/dist/subagent-records.js.map +1 -0
  75. package/dist/subagent-service.d.ts +27 -0
  76. package/dist/subagent-service.js +199 -0
  77. package/dist/subagent-service.js.map +1 -0
  78. package/dist/tool-permissions.d.ts +2 -3
  79. package/dist/tool-permissions.js +3 -3
  80. package/dist/tool-permissions.js.map +1 -1
  81. package/dist/ui/backend-signin.js +62 -62
  82. package/dist/ui/chat-commands.js +7 -0
  83. package/dist/ui/chat-store.js +9 -4
  84. package/dist/ui/chat-strings.js +18 -18
  85. package/dist/ui/fleet-cache.js +3 -3
  86. package/dist/ui/fleet-canvas.js +2 -2
  87. package/dist/ui/fleet-office-editor.js +1 -1
  88. package/dist/ui/fleet-office.js +1 -1
  89. package/dist/ui/fleet-org.js +2 -2
  90. package/dist/ui/fleet-task-card.js +1 -1
  91. package/dist/ui/fleet-task-common.js +7 -7
  92. package/dist/ui/model-picker.js +64 -0
  93. package/dist/ui/panel-chat.js +47 -16
  94. package/dist/ui/panel-fleet.js +8 -8
  95. package/dist/ui/panel-needs.js +3 -3
  96. package/dist/ui/panel-settings.js +16 -6
  97. package/dist/ui/settings-catalog.js +19 -4
  98. package/dist/ui/settings-dialogs.js +25 -8
  99. package/dist/ui/settings-guests.js +1 -1
  100. package/dist/ui/settings-registry.js +3 -1
  101. package/dist/ui/settings-strings.js +30 -26
  102. package/dist/ui/settings-update.js +69 -0
  103. package/dist/ui/shared/app-i18n.js +8 -4
  104. package/dist/ui/shared/app-shell.js +2 -0
  105. package/dist/ui/shared/app-update.js +215 -0
  106. package/dist/ui/shared/app.css +48 -2
  107. package/dist/ui/shared/instance-nav.js +1 -1
  108. package/dist/ui/shared/model-picker.css +21 -0
  109. package/dist/ui/shared/setup-host-text.js +4 -4
  110. package/dist/ui/shared/signin.js +32 -16
  111. package/dist/ui/shared/subagent-row.css +15 -0
  112. package/dist/ui/shared/view-strings.js +17 -17
  113. package/dist/ui/structured-signin.js +26 -26
  114. package/dist/ui/subagent-row.js +64 -0
  115. package/dist/ui/web-terminal/terminal.js +9 -9
  116. package/dist/update-marker.d.ts +2 -2
  117. package/dist/update-marker.js +4 -3
  118. package/dist/update-marker.js.map +1 -1
  119. package/dist/usage/providers.js +2 -2
  120. package/dist/usage/providers.js.map +1 -1
  121. package/dist/usage-rollup.d.ts +3 -0
  122. package/dist/usage-rollup.js +2 -0
  123. package/dist/usage-rollup.js.map +1 -1
  124. package/dist/web-api.d.ts +14 -0
  125. package/dist/web-api.js +216 -2
  126. package/dist/web-api.js.map +1 -1
  127. package/dist/web-auth.js +2 -1
  128. package/dist/web-auth.js.map +1 -1
  129. package/dist/web-commands.d.ts +8 -0
  130. package/dist/web-commands.js +6 -0
  131. package/dist/web-commands.js.map +1 -1
  132. package/dist/web-update.d.ts +77 -0
  133. package/dist/web-update.js +102 -0
  134. package/dist/web-update.js.map +1 -0
  135. package/package.json +2 -2
package/dist/locale.js CHANGED
@@ -250,7 +250,7 @@ const enMessages = {
250
250
  "needs.reason.question": "Asking you a question",
251
251
  "needs.reason.permission": "Permission needed",
252
252
  "needs.reason.dangerous_command": "Dangerous command waiting",
253
- "needs.reason.login": "Sign-in needed",
253
+ "needs.reason.login": "Waiting to connect its AI account",
254
254
  "needs.reason.dialog": "Waiting at a dialog",
255
255
  "needs.reason.kiro_choice": "Kiro needs your decision",
256
256
  "kiro3.readiness_classic": "Not ready for Kiro 3.x — migrate on Kiro 2.x first with migrate_kiro_instance.",
@@ -274,9 +274,9 @@ const enMessages = {
274
274
  "inst.session_oom_evidence_unreadable": "This instance's crash history or stop record could not be read safely. Automatic starts and deliveries are held; explicitly start, restart or wake it to retry. Its transcript is preserved.",
275
275
  "inst.session_oom_retry_busy": "This instance is finishing another restart. Wait for it to finish, then explicitly retry the stopped session.",
276
276
  "inst.session_oom_save_failed": "The stop could not be saved: fix storage before restarting the fleet.",
277
- "needs.reason.auth_paused": "Paused: sign-in needed",
277
+ "needs.reason.auth_paused": "Paused: AI account not connected",
278
278
  "needs.reason.usage_limit": "Usage limit reached · {0} · reset time unknown",
279
- "needs.reason.backend_signin": "Backend sign-in needed",
279
+ "needs.reason.backend_signin": "AI account needs connecting",
280
280
  "needs.reason.config_invalid": "Configuration file needs attention",
281
281
  "needs.reason.config_fallback": "Running on stored configuration",
282
282
  "config_history.edit": "{0}, line {1}, column {2}: {3}. AgEnD is still running on the previous settings. The next restart would use the stored valid copy from {4}. Correct the YAML error; the file has not been changed by AgEnD.",
@@ -750,39 +750,39 @@ const enMessages = {
750
750
  "login.profile_needs_backend": "A profile needs its backend too: `/login backend:claude-code profile:<name>`.",
751
751
  "login.install_cli_moved": "`/install-cli` was removed. Use `/login`.",
752
752
  "login.install_by_name": "not installed, and not offered here — `/login {0}` installs it.",
753
- "login.choose_backend": "Which backend should sign in again?",
753
+ "login.choose_backend": "Which AI account should be connected?",
754
754
  "fleet.label_line": "🖥 Fleet: {0}",
755
755
  "discord.slash_registration_failed": "⚠️ Discord rejected the slash command registration for {0} — the command menu keeps its previous commands, so new or changed ones may be missing. Discord said: {1}",
756
756
  "login.status_installed": "Installed",
757
757
  "login.status_configured": "Configured",
758
- "login.status_auth": "Auth",
758
+ "login.status_auth": "Connect",
759
759
  "login.status_unsupported": "Unsupported",
760
760
  "login.status_not_installed": "Not installed",
761
761
  "login.status_install": "Install",
762
- "login.status_install_then_auth": "Install + sign in",
762
+ "login.status_install_then_auth": "Install + connect",
763
763
  "login.install_on_host": "not installed, and there is no remote installer for it — install it on the host.",
764
764
  "login.host_only": "sign in on the host: run `{0}` there.",
765
765
  "login.none_available": "⚠️ No backend can be installed or signed in to remotely here.",
766
766
  "login.no_remote_flow": "⚠️ Backend \"{0}\" has no remote login flow. Run its CLI login command on the host.",
767
767
  "login.unsupported": "⚠️ No remote login flow for backend \"{0}\". OpenCode credentials are API keys — manage them with `opencode auth` in a trusted terminal.",
768
- "login.busy": "⚠️ A login session for {0} is already running. Use /login cancel first.",
769
- "login.started": "🔐 Login started for {0}. I will post the authorization link here — treat it like a password.",
770
- "login.auth_hint": "🔐 {0} login — open this link and approve. Anyone who completes it binds THEIR account, so do not forward it:",
771
- "login.auth_code": "One-time code: {0}",
772
- "login.completed": "✅ {0} login completed. Bringing the affected instances back so they pick up the new credentials…",
768
+ "login.busy": "⚠️ Your {0} account is already being connected. Use /login cancel first.",
769
+ "login.started": "🔐 Connecting your {0} account. I will post the authorization link here — finish on the provider's official website, and treat the link like a password.",
770
+ "login.auth_hint": "🔐 Connect your {0} account — open this link and finish the authorization on the provider's official website. Anyone who completes it connects THEIR account, so do not forward it:",
771
+ "login.auth_code": "Authorization code: {0}",
772
+ "login.completed": "✅ Your {0} account is connected. Bringing the affected instances back so they pick up the new credentials…",
773
773
  "login.recovered": "✅ {0} is ready. Woke: {1}. Restarted (to reload credentials): {2}. You can talk to them again now.",
774
- "login.recover_pending": "⏳ {0} login is done, but these are still restarting after {1}s: {2}. They will come back on their own — no need to restart anything by hand.",
775
- "login.recover_failed": "✅ {0} login completed, but bringing the instances back failed: {1}. Use /restart if they do not return.",
776
- "login.offer": "Re-login to {0} from here:",
777
- "login.offer_action": "🔑 Log in to {0}",
774
+ "login.recover_pending": "⏳ Your {0} account is connected, but these are still restarting after {1}s: {2}. They will come back on their own — no need to restart anything by hand.",
775
+ "login.recover_failed": "✅ Your {0} account is connected, but bringing the instances back failed: {1}. Use /restart if they do not return.",
776
+ "login.offer": "Connect your {0} account again from here:",
777
+ "login.offer_action": "🔑 Connect your {0} account",
778
778
  "login.none": "none",
779
- "login.failed": "❌ {0} login did not complete: {1}",
780
- "login.cancelled": "🛑 Login session for {0} cancelled.",
781
- "login.no_session": "No login session is running.",
782
- "login.starting_backend": "🔐 Starting {0} login…",
779
+ "login.failed": "❌ Your {0} account was not connected: {1}",
780
+ "login.cancelled": "🛑 Connecting your {0} account was cancelled.",
781
+ "login.no_session": "No AI account is being connected.",
782
+ "login.starting_backend": "🔐 Starting to connect your {0} account…",
783
783
  "login.relogin_cancel": "Cancel",
784
784
  "login.chooser_posted": "🔐 Backend chooser posted.",
785
- "login.confirm_posted": "⚠️ Authentication still works — confirmation buttons posted.",
785
+ "login.confirm_posted": "⚠️ The account is still connected — confirmation buttons posted.",
786
786
  "login.still_valid_precommand": "⚠️ {0} authentication currently works. Re-login runs `{1}` first, so every running {0} instance loses its sign-in until the new login completes (they restart automatically). Continue?",
787
787
  "login.web_dashboard_notice": "🔐 A sign-in to {0} was started from the web dashboard ({1}, session {2}).",
788
788
  "login.web_dashboard_not_installed": "{0} is not installed on this computer. This page cannot install a local CLI.",
@@ -804,8 +804,8 @@ const enMessages = {
804
804
  "login.web_suggest_check_args": "→ Check the Start URL / Region you entered and run /login again.",
805
805
  "login.web_confirm": "🔐 About to open a browser terminal for {0} login: a temporary link (a few minutes, closes when the command exits) that runs ONLY the login command — no shell. The link alone opens nothing; the access token is sent to you privately. Do not forward either message. Continue?",
806
806
  "login.web_confirm_go": "I understand, open",
807
- "login.device_confirm": "🔐 Start {0} device-code login? I will post the provider's authorization link and one-time code here. Open the link and enter the code to sign in. Do not forward them.",
808
- "login.device_confirm_go": "Start device login",
807
+ "login.device_confirm": "🔐 Connect your {0} account? I will post the provider's authorization link and authorization code here. Open the link and enter the code on the provider's official website to finish. Do not forward them.",
808
+ "login.device_confirm_go": "Start connecting",
809
809
  "login.web_confirm_failed": "could not post the confirmation buttons",
810
810
  "login.web_rate_limited": "⚠️ Too many login sessions: at most {0} per {1} minutes per admin. Try again later.",
811
811
  "login.web_flow_not_allowed": "⚠️ {0} is not cleared for the browser terminal (its login screen has not been reviewed for shell escapes). Set login.mode: relay, or ask a maintainer to review the flow.",
@@ -1089,8 +1089,8 @@ const enMessages = {
1089
1089
  "usage.hint.grok_no_login": "auth.json has no usable login. Run `grok login`.",
1090
1090
  "usage.hint.login_kiro": "Log in with the Kiro CLI (`kiro-cli`).",
1091
1091
  "usage.hint.kiro_signed_out": "Signed out — run `kiro-cli` to log in.",
1092
- "usage.hint.claude_profile_signed_out": "Not logged in — sign in from Settings → Agents → Sign-ins.",
1093
- "usage.hint.claude_profile_signed_out_chat": "Not logged in — sign in from Settings → Agents → Sign-ins, or with `{0}`.",
1092
+ "usage.hint.claude_profile_signed_out": "Not connected — connect it in Settings → Agents → AI accounts.",
1093
+ "usage.hint.claude_profile_signed_out_chat": "Not connected — connect it in Settings → Agents → AI accounts, or with `{0}`.",
1094
1094
  "usage.hint.token_refreshing": "Token refreshing — try again in a moment.",
1095
1095
  "usage.hint.subscription_no_credit": "Subscription — no credit usage to report.",
1096
1096
  "usage.value.unlimited": "♾️ Unlimited",
@@ -1608,11 +1608,11 @@ const zhTWMessages = {
1608
1608
  "dashboard.public_status": "公開連結:{0} · 剩餘 {1} 秒",
1609
1609
  "dashboard.public_until": " · 到 {0} 為止",
1610
1610
  "dashboard.public_status_no_expiry": "公開連結:{0} · 不會到期(直到關閉或 AgEnD 停止)",
1611
- "dashboard.code_next": "📋 登入碼也單獨放在下一則訊息裡,點一下或長按就能複製。",
1611
+ "dashboard.code_next": "📋 裝置登入碼也單獨放在下一則訊息裡,點一下或長按就能複製。",
1612
1612
  "dashboard.public_closed": "🔒 公開網頁入口已關閉。",
1613
1613
  "dashboard.public_cleanup": "⚠️ 公開網頁入口已關閉,但無法確認 tunnel 行程已停止。請先處理清理問題,再開新連結。",
1614
- "dashboard.private_local": "{0}\n登入碼:{1}(單次使用,{2} 分鐘有效)\n勿轉傳;/web revoke 可登出所有瀏覽器並關閉公開連結。",
1615
- "dashboard.private_public": "{0}\n登入碼:{1}(單次使用,{2} 分鐘有效)\n公開連結到期:{3}\n勿轉傳;/web revoke 可登出所有瀏覽器並關閉公開連結。",
1614
+ "dashboard.private_local": "{0}\n裝置登入碼:{1}(單次使用,{2} 分鐘有效)\n勿轉傳;/web revoke 可登出所有瀏覽器並關閉公開連結。",
1615
+ "dashboard.private_public": "{0}\n裝置登入碼:{1}(單次使用,{2} 分鐘有效)\n公開連結到期:{3}\n勿轉傳;/web revoke 可登出所有瀏覽器並關閉公開連結。",
1616
1616
  "dashboard.public_no_expiry": "不會到期——直到關閉或 AgEnD 停止",
1617
1617
  "dashboard.public_auto_failed": "⚠️ AgEnD 啟動後未能自動重新開啟公開連結(web.public_link.auto_open)。請執行 /web 開啟。",
1618
1618
  "dashboard.private_sent": "🔐 登入資訊已私送。",
@@ -1691,12 +1691,12 @@ const zhTWMessages = {
1691
1691
  "dashboard.private_sent_here": "🔐 bot 無法私訊你,登入資訊改貼在這裡,只有你看得到。",
1692
1692
  "dashboard.private_sending": "⏳ 正在私送登入資訊…",
1693
1693
  "dashboard.menu_failed": "⚠️ 無法顯示 /web 選單,請再執行一次 /web。",
1694
- "dashboard.private_failed": "無法確認私送登入資訊或啟動連結。請再傳 /web;登入碼不會貼到公開頻道。",
1694
+ "dashboard.private_failed": "無法確認私送登入資訊或啟動連結。請再傳 /web;裝置登入碼不會貼到公開頻道。",
1695
1695
  "dashboard.start_web_label": "開啟私訊",
1696
1696
  "dashboard.private_failed_tg": "按「開啟私訊」,在 Telegram 按「開始」,再選登入按鈕。",
1697
- "dashboard.private_failed_tg_nolink": "無法私送登入碼:你還沒開啟和這個 bot 的私訊,它無法傳訊息給你。① 開啟和這個 bot 的私訊 ② 傳送 /start web ③ 在那裡選擇連結,登入碼會送到那個私訊。此處不會貼出登入碼。",
1697
+ "dashboard.private_failed_tg_nolink": "無法私送裝置登入碼:你還沒開啟和這個 bot 的私訊,它無法傳訊息給你。① 開啟和這個 bot 的私訊 ② 傳送 /start web ③ 在那裡選擇連結,裝置登入碼會送到那個私訊。此處不會貼出裝置登入碼。",
1698
1698
  "dashboard.private_sent_below": "🔐 登入資訊在下方。",
1699
- "dashboard.link_failed": "⚠️ 無法啟動登入連結,所以沒有送出登入碼。請再執行一次 /web。",
1699
+ "dashboard.link_failed": "⚠️ 無法啟動登入連結,所以沒有送出裝置登入碼。請再執行一次 /web。",
1700
1700
  "dashboard.start_web_ack": "✅ 你現在可以在群組裡使用 /web 了。",
1701
1701
  "web.public_login_notice": "🔐 有新的網頁登入 · 公開入口:{0}(session {1})。如果不是你,請用 /web revoke。",
1702
1702
  "office_share.all": "所有辦公室",
@@ -1710,11 +1710,11 @@ const zhTWMessages = {
1710
1710
  "dashboard.title": "📊 AgEnD 儀表板",
1711
1711
  "dashboard.starting": "⏳ 儀表板啟動中,請稍後再試。",
1712
1712
  "dashboard.signin": "• 登入頁: {0}/signin",
1713
- "dashboard.code": "• 登入碼: {0}(只能用一次,{1} 分鐘內有效)",
1714
- "dashboard.menu_instruction": "按登入按鈕,取得僅傳給你的連結和登入碼。",
1715
- "dashboard.code_help": "請勿轉傳登入碼。/web revoke 可登出所有瀏覽器並關閉公開連結。",
1713
+ "dashboard.code": "• 裝置登入碼: {0}(只能用一次,{1} 分鐘內有效)",
1714
+ "dashboard.menu_instruction": "按登入按鈕,取得僅傳給你的連結和裝置登入碼。",
1715
+ "dashboard.code_help": "請勿轉傳裝置登入碼。/web revoke 可登出所有瀏覽器並關閉公開連結。",
1716
1716
  "dashboard.deprecated": "`/dashboard` 已棄用。請用 `/web`。",
1717
- "dashboard.revoked": "🔒 已登出 {0} 個網頁 session,並作廢尚未使用的登入碼。",
1717
+ "dashboard.revoked": "🔒 已登出 {0} 個網頁 session,並作廢尚未使用的裝置登入碼。",
1718
1718
  "dashboard.revoked_not_durable": "⚠️ 目前已登出 {0} 個網頁 session,但工作階段檔無法更新;請再執行一次 /web revoke。重新啟動可能會讓那些 session 回來。",
1719
1719
  "web.login_notice": "🔐 有新的網頁登入:{0}({1},session {2})。如果不是你,請傳 /web revoke。",
1720
1720
  "web.login_notice_web_only": "🔐 有新的網頁登入:{0}({1},session {2})。如果不是你,請用工作階段選單的「全部登出」。",
@@ -1724,15 +1724,15 @@ const zhTWMessages = {
1724
1724
  "web.guest_public_login_notice": "👤 訪客 {0} 透過公開連結登入了({1};可看到他在聊天中本來就能用的 {2} 個 agent;session {3})。關閉連結或傳 /web revoke 即可結束。",
1725
1725
  "web.guest_sent": "📬 已私訊你一組訪客登入碼。",
1726
1726
  "web.guest_dm_failed": "無法私訊你。請允許這個伺服器的成員私訊你,然後再傳一次 /web。",
1727
- "web.guest_dm_failed_link": "無法私訊你。請開啟和我的對話({0})並按「開始」,登入碼會送到那裡。",
1728
- "web.guest_wait": "不到一分鐘前已經寄出一組登入碼,請查看你的私訊。",
1727
+ "web.guest_dm_failed_link": "無法私訊你。請開啟和我的對話({0})並按「開始」,裝置登入碼會送到那裡。",
1728
+ "web.guest_wait": "不到一分鐘前已經寄出一組裝置登入碼,請查看你的私訊。",
1729
1729
  "web.guest_nothing": "網頁上目前沒有你能看的內容:訪客登入只會顯示你在聊天中本來就能用的 agent。",
1730
1730
  "web.guest_not_set_up": "這個群組還沒有設定訪客網頁登入,請洽管理者。",
1731
- "web.guest_paused": "訪客網頁登入暫停幾分鐘(錯誤的登入碼太多),請稍後再試。",
1731
+ "web.guest_paused": "訪客網頁登入暫停幾分鐘(錯誤的裝置登入碼太多),請稍後再試。",
1732
1732
  "web.guest_busy": "目前有太多訪客登入碼還沒被使用,請過幾分鐘再試。",
1733
1733
  "web.guest_revoked": "已登出你的 {0} 個訪客網頁 session。",
1734
1734
  "web.guest_revoked_not_durable": "⚠️ 目前已登出你的 {0} 個訪客網頁 session,但無法保存:fleet 重啟後可能會復活。請告訴管理者。",
1735
- "web.resend_code": "🔐 網頁登入碼:{0}(只能用一次,{1} 分鐘內有效;之前的登入碼已作廢)\n由登入頁面上的 {2}({3})要求。如果不是你,請忽略或傳 /web revoke。",
1735
+ "web.resend_code": "🔐 裝置登入碼:{0}(只能用一次,{1} 分鐘內有效;之前的裝置登入碼已作廢)\n由登入頁面上的 {2}({3})要求。如果不是你,請忽略或傳 /web revoke。",
1736
1736
  "web.resend_unknown_browser": "某個瀏覽器",
1737
1737
  "web.resend_public": "公開連結",
1738
1738
  "web.resend_local": "本機網路",
@@ -1762,7 +1762,7 @@ const zhTWMessages = {
1762
1762
  "needs.reason.question": "正在問你問題",
1763
1763
  "needs.reason.permission": "需要權限",
1764
1764
  "needs.reason.dangerous_command": "危險指令待確認",
1765
- "needs.reason.login": "需要登入",
1765
+ "needs.reason.login": "等待連接 AI 帳號",
1766
1766
  "needs.reason.dialog": "停在對話框",
1767
1767
  "needs.reason.kiro_choice": "Kiro 需要你決定",
1768
1768
  "kiro3.readiness_classic": "尚未準備好使用 Kiro 3.x:請先在 Kiro 2.x 用 migrate_kiro_instance 完成遷移。",
@@ -1786,9 +1786,9 @@ const zhTWMessages = {
1786
1786
  "inst.session_oom_evidence_unreadable": "無法安全讀取這個 Agent 的當機歷史或停止紀錄,已暫停自動啟動與訊息送入。請明確啟動、重啟或喚醒它以重試;原本的對話紀錄仍保留。",
1787
1787
  "inst.session_oom_retry_busy": "這個 Agent 正在完成另一次重啟。請等它結束後,再明確重試已停止的工作階段。",
1788
1788
  "inst.session_oom_save_failed": "無法儲存停止紀錄:請先修復儲存空間或權限,再重啟 fleet。",
1789
- "needs.reason.auth_paused": "已暫停:需要登入",
1789
+ "needs.reason.auth_paused": "已暫停:AI 帳號未連接",
1790
1790
  "needs.reason.usage_limit": "用量已達上限 · {0} · 恢復時間未知",
1791
- "needs.reason.backend_signin": "後端需要登入",
1791
+ "needs.reason.backend_signin": "需要連接 AI 帳號",
1792
1792
  "needs.reason.config_invalid": "設定檔需要處理",
1793
1793
  "needs.reason.config_fallback": "正在使用儲存的設定副本",
1794
1794
  "config_history.edit": "{0} 第 {1} 行、第 {2} 欄:{3}。AgEnD 仍使用先前的設定執行。下次重新啟動會改用 {4} 儲存的有效副本。請修正 YAML 錯誤;AgEnD 未更動此檔案。",
@@ -2216,8 +2216,8 @@ const zhTWMessages = {
2216
2216
  "update.failure.summary": "/update 未完成({0})。",
2217
2217
  "update.failure.launch": "更新程序啟動失敗",
2218
2218
  "update.failure.interrupted": "更新程序遭中斷",
2219
- "update.failure.exit": "更新程序以代碼 {0} 結束",
2220
- "update.failure.no_status": "更新程序未提供結束代碼",
2219
+ "update.failure.exit": "更新程序結束,結束碼 {0}",
2220
+ "update.failure.no_status": "更新程序沒有回報結束碼",
2221
2221
  "update.failure.fix": "修復方式:{0}",
2222
2222
  "update.failure.log": "完整日誌:{0}。",
2223
2223
  "update.failure.cause": "原因:{0}。",
@@ -2262,39 +2262,39 @@ const zhTWMessages = {
2262
2262
  "login.profile_needs_backend": "指定 profile 時也要指定 backend:`/login backend:claude-code profile:<名稱>`。",
2263
2263
  "login.install_cli_moved": "`/install-cli` 已移除。請用 `/login`。",
2264
2264
  "login.install_by_name": "尚未安裝,選單也不提供——`/login {0}` 可以安裝它。",
2265
- "login.choose_backend": "要重新登入哪個 Backend?",
2265
+ "login.choose_backend": "要連接哪個 AI 帳號?",
2266
2266
  "fleet.label_line": "🖥 Fleet:{0}",
2267
2267
  "discord.slash_registration_failed": "⚠️ Discord 拒絕了 {0} 的 slash 指令註冊——指令選單會保留先前的指令,新增或變更的指令可能不會出現。Discord 的回應:{1}",
2268
2268
  "login.status_installed": "已安裝",
2269
2269
  "login.status_configured": "已設定",
2270
- "login.status_auth": "可登入",
2270
+ "login.status_auth": "可連接",
2271
2271
  "login.status_unsupported": "不支援",
2272
2272
  "login.status_not_installed": "未安裝",
2273
2273
  "login.status_install": "安裝",
2274
- "login.status_install_then_auth": "安裝並登入",
2274
+ "login.status_install_then_auth": "安裝並連接",
2275
2275
  "login.install_on_host": "尚未安裝,且沒有遠端安裝方式——請在主機上安裝。",
2276
2276
  "login.host_only": "請在主機上登入:在那裡執行 `{0}`。",
2277
2277
  "login.none_available": "⚠️ 這裡沒有可以遠端安裝或登入的 Backend。",
2278
2278
  "login.no_remote_flow": "⚠️ Backend「{0}」沒有遠端登入流程。請在主機上執行它自己的 CLI 登入指令。",
2279
2279
  "login.unsupported": "⚠️ Backend「{0}」沒有遠端登入流程。OpenCode 憑證是 API key——請在可信任的終端用 `opencode auth` 管理。",
2280
- "login.busy": "⚠️ {0} 的登入流程已在進行中,請先 /login cancel。",
2281
- "login.started": "🔐 已啟動 {0} 登入。授權連結會發在這裡——請視同密碼保管。",
2282
- "login.auth_hint": "🔐 {0} 登入——打開此連結完成授權。任何人完成授權都會綁定「他自己的」帳號,切勿轉傳:",
2283
- "login.auth_code": "一次性代碼:{0}",
2284
- "login.completed": "✅ {0} 登入完成。正在把受影響的 instance 帶回來,讓它們載入新憑證…",
2280
+ "login.busy": "⚠️ 正在連接 {0} 帳號,請先 /login cancel。",
2281
+ "login.started": "🔐 開始連接 {0} 帳號。授權連結會發在這裡,請前往官方網站完成授權——連結請視同密碼保管。",
2282
+ "login.auth_hint": "🔐 連接 {0} 帳號——打開此連結,前往官方網站完成授權。任何人完成授權都會連接「他自己的」帳號,切勿轉傳:",
2283
+ "login.auth_code": "授權碼:{0}",
2284
+ "login.completed": "✅ {0} 帳號已連接。正在把受影響的 instance 帶回來,讓它們載入新憑證…",
2285
2285
  "login.recovered": "✅ {0} 已就緒。已喚醒:{1}。已重啟(重新載入憑證):{2}。現在可以正常對話了。",
2286
- "login.recover_pending": "⏳ {0} 登入已完成,但這些還在重啟中(已等 {1} 秒):{2}。它們會自己回來,不需要手動重啟。",
2287
- "login.recover_failed": "✅ {0} 登入完成,但把 instance 帶回來時失敗了:{1}。若它們沒有回來,請用 /restart。",
2288
- "login.offer": "直接從這裡重新登入 {0}:",
2289
- "login.offer_action": "🔑 登入 {0}",
2286
+ "login.recover_pending": "⏳ {0} 帳號已連接,但這些還在重啟中(已等 {1} 秒):{2}。它們會自己回來,不需要手動重啟。",
2287
+ "login.recover_failed": "✅ {0} 帳號已連接,但把 instance 帶回來時失敗了:{1}。若它們沒有回來,請用 /restart。",
2288
+ "login.offer": "直接從這裡重新連接 {0} 帳號:",
2289
+ "login.offer_action": "🔑 連接 {0} 帳號",
2290
2290
  "login.none": "無",
2291
- "login.failed": "❌ {0} 登入未完成:{1}",
2292
- "login.cancelled": "🛑 已取消 {0} 的登入流程。",
2293
- "login.no_session": "目前沒有進行中的登入流程。",
2294
- "login.starting_backend": "🔐 正在啟動 {0} 登入…",
2291
+ "login.failed": "❌ {0} 帳號沒有連接成功:{1}",
2292
+ "login.cancelled": "🛑 已取消連接 {0} 帳號。",
2293
+ "login.no_session": "目前沒有正在連接的 AI 帳號。",
2294
+ "login.starting_backend": "🔐 正在開始連接 {0} 帳號…",
2295
2295
  "login.relogin_cancel": "取消",
2296
2296
  "login.chooser_posted": "🔐 已送出 Backend 選單。",
2297
- "login.confirm_posted": "⚠️ 登入仍有效——已送出確認按鈕。",
2297
+ "login.confirm_posted": "⚠️ 帳號仍是連接狀態——已送出確認按鈕。",
2298
2298
  "login.still_valid_precommand": "⚠️ {0} 目前的登入仍有效。重新登入會先執行 `{1}`,所有執行中的 {0} instance 會暫時失去登入,直到新登入完成(會自動重啟)。繼續?",
2299
2299
  "login.web_dashboard_notice": "🔐 已從網頁主控台啟動 {0} 的登入({1},session {2})。",
2300
2300
  "login.web_dashboard_not_installed": "這台電腦還沒安裝 {0}。這個頁面無法安裝本機 CLI。",
@@ -2316,8 +2316,8 @@ const zhTWMessages = {
2316
2316
  "login.web_suggest_check_args": "→ 檢查你輸入的 Start URL/Region,再執行一次 /login。",
2317
2317
  "login.web_confirm": "🔐 即將為 {0} 登入開一條瀏覽器終端:臨時連結(幾分鐘、指令結束即關),裡面只跑登入指令、沒有 shell。光有連結打不開任何東西;存取 token 會私訊給你。兩則訊息都請勿轉傳。繼續?",
2318
2318
  "login.web_confirm_go": "我了解,開啟",
2319
- "login.device_confirm": "🔐 開始 {0} 裝置碼登入?授權連結和一次性代碼會發在這裡。請開啟連結並輸入代碼完成登入,勿轉傳。",
2320
- "login.device_confirm_go": "開始裝置碼登入",
2319
+ "login.device_confirm": "🔐 要連接 {0} 帳號嗎?授權連結和授權碼會發在這裡。請開啟連結,在官方網站輸入授權碼完成授權,勿轉傳。",
2320
+ "login.device_confirm_go": "開始連接",
2321
2321
  "login.web_confirm_failed": "無法貼出確認按鈕",
2322
2322
  "login.web_rate_limited": "⚠️ 登入 session 太頻繁:每位 admin 每 {1} 分鐘最多 {0} 次。請稍後再試。",
2323
2323
  "login.web_flow_not_allowed": "⚠️ {0} 尚未核可使用瀏覽器終端(其登入畫面未經 shell 逃逸審查)。請設 login.mode: relay,或請維護者審查該 flow。",
@@ -2585,7 +2585,7 @@ const zhTWMessages = {
2585
2585
  "usage.note.busiest_model": "{0} 個模型中用量最高者",
2586
2586
  "usage.note.busiest_models": "{0} 個模型中用量最高者",
2587
2587
  "usage.note.used_limit_unit": "{0} / {1} {2}",
2588
- "usage.note.bonus_codes": "{0} / {1} {2} · {3} 組代碼",
2588
+ "usage.note.bonus_codes": "{0} / {1} {2} · {3} 組兌換碼",
2589
2589
  "usage.metric.agy_claude_others": "Claude 與其他模型",
2590
2590
  "usage.metric.agy_claude_others_session": "Claude 與其他模型(Session)",
2591
2591
  "usage.metric.agy_claude_others_weekly": "Claude 與其他模型(每週)",
@@ -2601,8 +2601,8 @@ const zhTWMessages = {
2601
2601
  "usage.hint.grok_no_login": "auth.json 沒有可用的登入資料。請執行 `grok login`。",
2602
2602
  "usage.hint.login_kiro": "請使用 Kiro CLI(`kiro-cli`)登入。",
2603
2603
  "usage.hint.kiro_signed_out": "目前已登出;請執行 `kiro-cli` 登入。",
2604
- "usage.hint.claude_profile_signed_out": "尚未登入;請到設定 → Agents →「登入」。",
2605
- "usage.hint.claude_profile_signed_out_chat": "尚未登入;請到設定 → Agents →「登入」,或用 `{0}` 登入。",
2604
+ "usage.hint.claude_profile_signed_out": "尚未連接;請到設定 → Agents →「AI 帳號」連接 AI 帳號。",
2605
+ "usage.hint.claude_profile_signed_out_chat": "尚未連接;請到設定 → Agents →「AI 帳號」連接 AI 帳號,或用 `{0}` 連接。",
2606
2606
  "usage.hint.token_refreshing": "Token 更新中 — 請稍候再試。",
2607
2607
  "usage.hint.subscription_no_credit": "訂閱方案沒有可回報的額度用量。",
2608
2608
  "usage.value.unlimited": "♾️ 無限",
@@ -2965,9 +2965,9 @@ const zhTWMessages = {
2965
2965
  "qs.agent_name_invalid": "只能使用英文字母、數字、「.」、「_」和「-」(不能只有點)。",
2966
2966
  "qs.agent_dir": "專案資料夾(直接按 Enter 使用它自己的工作區 {0}):",
2967
2967
  "qs.agent_dir_invalid": "請輸入絕對路徑,或直接按 Enter。",
2968
- "qs.web_signin_wait": "正在取得登入碼…",
2968
+ "qs.web_signin_wait": "正在取得裝置登入碼…",
2969
2969
  "qs.web_signin_title": "到網頁儀表板登入:",
2970
- "qs.web_signin_next": "fleet 啟動後,在這台電腦上用這個指令取得登入碼:{0}",
2970
+ "qs.web_signin_next": "fleet 啟動後,在這台電腦上用這個指令取得裝置登入碼:{0}",
2971
2971
  "qs.web_dashboard": "網頁儀表板:{0}",
2972
2972
  "qs.web_talk": "接著在儀表板的聊天和 {0} 對話。",
2973
2973
  "qs.env_tokens_retired": "已從 .env 移除舊的 bot token({0}),agent 不會再看到它們;原本的 .env 保留在 {1}。",