@songsid/agend 2.3.5-alpha.10 → 2.3.5-alpha.11

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 (293) hide show
  1. package/dist/accounts-view.d.ts +14 -0
  2. package/dist/accounts-view.js +22 -6
  3. package/dist/accounts-view.js.map +1 -1
  4. package/dist/agent-cli-instructions.md +2 -2
  5. package/dist/auth-api.d.ts +48 -16
  6. package/dist/auth-api.js +99 -32
  7. package/dist/auth-api.js.map +1 -1
  8. package/dist/authority/settings-role.d.ts +56 -0
  9. package/dist/authority/settings-role.js +48 -0
  10. package/dist/authority/settings-role.js.map +1 -0
  11. package/dist/backend/claude-code.d.ts +2 -0
  12. package/dist/backend/claude-code.js +16 -3
  13. package/dist/backend/claude-code.js.map +1 -1
  14. package/dist/backend/cli-env-probe.js +6 -2
  15. package/dist/backend/cli-env-probe.js.map +1 -1
  16. package/dist/backend/codex.d.ts +5 -3
  17. package/dist/backend/codex.js +31 -13
  18. package/dist/backend/codex.js.map +1 -1
  19. package/dist/backend/credential-profile.d.ts +2 -0
  20. package/dist/backend/credential-profile.js +2 -0
  21. package/dist/backend/credential-profile.js.map +1 -1
  22. package/dist/backend/kiro.js +1 -1
  23. package/dist/backend/kiro.js.map +1 -1
  24. package/dist/backend/types.d.ts +5 -1
  25. package/dist/backend/types.js.map +1 -1
  26. package/dist/backend-availability.d.ts +15 -0
  27. package/dist/backend-availability.js +37 -1
  28. package/dist/backend-availability.js.map +1 -1
  29. package/dist/build-provenance.json +1 -1
  30. package/dist/bundled-tmux-guard.d.ts +4 -0
  31. package/dist/bundled-tmux-guard.js +7 -0
  32. package/dist/bundled-tmux-guard.js.map +1 -1
  33. package/dist/claude-auth-status.d.ts +20 -8
  34. package/dist/claude-auth-status.js +38 -22
  35. package/dist/claude-auth-status.js.map +1 -1
  36. package/dist/cli-audited.d.ts +60 -0
  37. package/dist/cli-audited.js +84 -0
  38. package/dist/cli-audited.js.map +1 -0
  39. package/dist/cli-capability.d.ts +36 -5
  40. package/dist/cli-capability.js +2 -2
  41. package/dist/cli-capability.js.map +1 -1
  42. package/dist/cli-caps-module.d.ts +5 -1
  43. package/dist/cli-caps-module.js +4 -2
  44. package/dist/cli-caps-module.js.map +1 -1
  45. package/dist/cli-registry-check.js +16 -2
  46. package/dist/cli-registry-check.js.map +1 -1
  47. package/dist/cli-registry.d.ts +56 -4
  48. package/dist/cli-registry.js +1 -1
  49. package/dist/cli-registry.js.map +1 -1
  50. package/dist/cli-spec-antigravity.d.ts +12 -1
  51. package/dist/cli-spec-antigravity.js +13 -1
  52. package/dist/cli-spec-antigravity.js.map +1 -1
  53. package/dist/cli-spec-claude-code.d.ts +9 -0
  54. package/dist/cli-spec-claude-code.js +4 -2
  55. package/dist/cli-spec-claude-code.js.map +1 -1
  56. package/dist/cli-spec-codex.d.ts +10 -1
  57. package/dist/cli-spec-codex.js +5 -3
  58. package/dist/cli-spec-codex.js.map +1 -1
  59. package/dist/cli-spec-grok.d.ts +5 -0
  60. package/dist/cli-spec-grok.js +6 -1
  61. package/dist/cli-spec-grok.js.map +1 -1
  62. package/dist/cli-spec-kiro-cli.d.ts +7 -1
  63. package/dist/cli-spec-kiro-cli.js +7 -3
  64. package/dist/cli-spec-kiro-cli.js.map +1 -1
  65. package/dist/cli-spec-muse.d.ts +2 -0
  66. package/dist/cli-spec-muse.js +3 -1
  67. package/dist/cli-spec-muse.js.map +1 -1
  68. package/dist/cli-spec-opencode.d.ts +11 -1
  69. package/dist/cli-spec-opencode.js +7 -2
  70. package/dist/cli-spec-opencode.js.map +1 -1
  71. package/dist/cli.js +28 -1
  72. package/dist/cli.js.map +1 -1
  73. package/dist/daemon.d.ts +3 -0
  74. package/dist/daemon.js +17 -2
  75. package/dist/daemon.js.map +1 -1
  76. package/dist/fleet-context.d.ts +5 -1
  77. package/dist/fleet-manager.d.ts +337 -69
  78. package/dist/fleet-manager.js +1247 -355
  79. package/dist/fleet-manager.js.map +1 -1
  80. package/dist/fleet-process-handlers.d.ts +1 -1
  81. package/dist/fleet-process-handlers.js +3 -2
  82. package/dist/fleet-process-handlers.js.map +1 -1
  83. package/dist/general-knowledge/skills/concepts/SKILL.md +21 -14
  84. package/dist/general-knowledge/skills/credential-profiles/SKILL.md +9 -8
  85. package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +9 -1
  86. package/dist/general-knowledge/skills/web-dashboard/SKILL.md +27 -20
  87. package/dist/instance-lifecycle.js +4 -2
  88. package/dist/instance-lifecycle.js.map +1 -1
  89. package/dist/instructions.js +29 -6
  90. package/dist/instructions.js.map +1 -1
  91. package/dist/locale.js +119 -75
  92. package/dist/locale.js.map +1 -1
  93. package/dist/login-manager.d.ts +2 -2
  94. package/dist/login-manager.js +3 -2
  95. package/dist/login-manager.js.map +1 -1
  96. package/dist/native-model-catalog.d.ts +20 -0
  97. package/dist/native-model-catalog.js +107 -2
  98. package/dist/native-model-catalog.js.map +1 -1
  99. package/dist/public-web-gateway.js +1 -1
  100. package/dist/public-web-gateway.js.map +1 -1
  101. package/dist/runtime-api.d.ts +1 -1
  102. package/dist/runtime-api.js +104 -12
  103. package/dist/runtime-api.js.map +1 -1
  104. package/dist/runtime-autostart.d.ts +61 -0
  105. package/dist/runtime-autostart.js +161 -0
  106. package/dist/runtime-autostart.js.map +1 -0
  107. package/dist/runtime-background.d.ts +200 -0
  108. package/dist/runtime-background.js +480 -0
  109. package/dist/runtime-background.js.map +1 -0
  110. package/dist/runtime-build-info.js +5 -5
  111. package/dist/runtime-build-info.js.map +1 -1
  112. package/dist/runtime-cli-background.d.ts +92 -0
  113. package/dist/runtime-cli-background.js +336 -0
  114. package/dist/runtime-cli-background.js.map +1 -0
  115. package/dist/runtime-cli-install.d.ts +148 -8
  116. package/dist/runtime-cli-install.js +253 -59
  117. package/dist/runtime-cli-install.js.map +1 -1
  118. package/dist/runtime-cli.d.ts +8 -1
  119. package/dist/runtime-cli.js +206 -44
  120. package/dist/runtime-cli.js.map +1 -1
  121. package/dist/runtime-client-store.d.ts +11 -0
  122. package/dist/runtime-client-store.js +20 -5
  123. package/dist/runtime-client-store.js.map +1 -1
  124. package/dist/runtime-client.d.ts +23 -1
  125. package/dist/runtime-client.js +92 -6
  126. package/dist/runtime-client.js.map +1 -1
  127. package/dist/runtime-connection.d.ts +1 -1
  128. package/dist/runtime-connection.js +1 -1
  129. package/dist/runtime-connection.js.map +1 -1
  130. package/dist/runtime-coordinator.d.ts +95 -1
  131. package/dist/runtime-coordinator.js +344 -10
  132. package/dist/runtime-coordinator.js.map +1 -1
  133. package/dist/runtime-enroll-notice.d.ts +4 -0
  134. package/dist/runtime-enroll-notice.js +21 -0
  135. package/dist/runtime-enroll-notice.js.map +1 -0
  136. package/dist/runtime-enrollment.d.ts +21 -0
  137. package/dist/runtime-enrollment.js +52 -0
  138. package/dist/runtime-enrollment.js.map +1 -0
  139. package/dist/runtime-pane-native.js +4 -4
  140. package/dist/runtime-pane-native.js.map +1 -1
  141. package/dist/runtime-protocol.d.ts +78 -1
  142. package/dist/runtime-protocol.js +95 -5
  143. package/dist/runtime-protocol.js.map +1 -1
  144. package/dist/runtime-remote-accounts.d.ts +12 -0
  145. package/dist/runtime-remote-accounts.js +56 -5
  146. package/dist/runtime-remote-accounts.js.map +1 -1
  147. package/dist/runtime-remote-setup.d.ts +4 -1
  148. package/dist/runtime-remote-setup.js +4 -1
  149. package/dist/runtime-remote-setup.js.map +1 -1
  150. package/dist/runtime-update-controller.d.ts +11 -0
  151. package/dist/runtime-update-controller.js +56 -4
  152. package/dist/runtime-update-controller.js.map +1 -1
  153. package/dist/settings-api.d.ts +13 -1
  154. package/dist/settings-api.js +39 -3
  155. package/dist/settings-api.js.map +1 -1
  156. package/dist/settings-change.d.ts +5 -13
  157. package/dist/settings-change.js.map +1 -1
  158. package/dist/settings-confirmation.d.ts +11 -13
  159. package/dist/settings-confirmation.js +2 -6
  160. package/dist/settings-confirmation.js.map +1 -1
  161. package/dist/settings-effect.d.ts +5 -0
  162. package/dist/settings-effect.js +76 -10
  163. package/dist/settings-effect.js.map +1 -1
  164. package/dist/settings-http-confirmation.d.ts +8 -1
  165. package/dist/settings-http-confirmation.js +39 -13
  166. package/dist/settings-http-confirmation.js.map +1 -1
  167. package/dist/settings-request-capability.d.ts +7 -0
  168. package/dist/settings-request-capability.js +3 -1
  169. package/dist/settings-request-capability.js.map +1 -1
  170. package/dist/setup-i18n.js +4 -4
  171. package/dist/setup-i18n.js.map +1 -1
  172. package/dist/subagent-records.d.ts +45 -0
  173. package/dist/subagent-records.js +214 -0
  174. package/dist/subagent-records.js.map +1 -0
  175. package/dist/subagent-service.d.ts +27 -0
  176. package/dist/subagent-service.js +199 -0
  177. package/dist/subagent-service.js.map +1 -0
  178. package/dist/tmux-manager.d.ts +2 -2
  179. package/dist/tmux-manager.js +5 -3
  180. package/dist/tmux-manager.js.map +1 -1
  181. package/dist/ui/account-identity.js +7 -5
  182. package/dist/ui/accounts-keepalive.js +17 -17
  183. package/dist/ui/accounts-manage.js +34 -34
  184. package/dist/ui/accounts-view.js +63 -21
  185. package/dist/ui/agent-runtime-settings.js +1 -1
  186. package/dist/ui/backend-signin.js +67 -67
  187. package/dist/ui/chat-msg-actions.js +50 -4
  188. package/dist/ui/chat-quote.js +256 -0
  189. package/dist/ui/chat-store.js +9 -4
  190. package/dist/ui/cli-caps.js +7 -7
  191. package/dist/ui/credential-profile-select.js +4 -4
  192. package/dist/ui/general-location.js +1 -1
  193. package/dist/ui/host-install.js +290 -0
  194. package/dist/ui/hub-company-join-strings.js +3 -0
  195. package/dist/ui/hub-company-join.js +20 -2
  196. package/dist/ui/hub-owner-strings.js +5 -4
  197. package/dist/ui/hub-pairing-progress-strings.js +1 -1
  198. package/dist/ui/hub-quick-strings.js +4 -4
  199. package/dist/ui/machine-signin.js +4 -4
  200. package/dist/ui/model-picker.js +68 -0
  201. package/dist/ui/panel-chat.js +73 -13
  202. package/dist/ui/panel-fleet.js +1 -1
  203. package/dist/ui/panel-hub.js +8 -4
  204. package/dist/ui/panel-needs.js +2 -2
  205. package/dist/ui/panel-runtimes.js +232 -33
  206. package/dist/ui/panel-windows-cli.js +1 -1
  207. package/dist/ui/runtime-cli-install.js +99 -20
  208. package/dist/ui/runtime-commands.d.ts +2 -0
  209. package/dist/ui/runtime-commands.js +34 -1
  210. package/dist/ui/runtime-update-status.js +2 -2
  211. package/dist/ui/search-dialog.js +1 -0
  212. package/dist/ui/settings-access-strings.js +1 -1
  213. package/dist/ui/settings-catalog.js +19 -3
  214. package/dist/ui/settings-confirm.js +2 -2
  215. package/dist/ui/settings-devices.js +59 -25
  216. package/dist/ui/settings-dialogs.js +12 -13
  217. package/dist/ui/settings-guests.js +1 -1
  218. package/dist/ui/settings-hub-company-join.js +10 -7
  219. package/dist/ui/settings-hub-connection.js +121 -0
  220. package/dist/ui/settings-hub-membership.js +1 -1
  221. package/dist/ui/settings-hub-run.js +5 -6
  222. package/dist/ui/settings-hub-section.js +3 -6
  223. package/dist/ui/settings-hub.js +12 -7
  224. package/dist/ui/settings-layout.js +6 -6
  225. package/dist/ui/settings-outside.js +87 -19
  226. package/dist/ui/settings-registry.js +2 -1
  227. package/dist/ui/settings-revoke-strings.js +28 -0
  228. package/dist/ui/settings-strings.js +19 -19
  229. package/dist/ui/settings-web-authority.js +11 -4
  230. package/dist/ui/shared/accounts.css +11 -1
  231. package/dist/ui/shared/agend-auth.js +8 -1
  232. package/dist/ui/shared/app-i18n.js +10 -12
  233. package/dist/ui/shared/app-session.js +13 -16
  234. package/dist/ui/shared/app-shell.js +36 -36
  235. package/dist/ui/shared/app.css +35 -2
  236. package/dist/ui/shared/chat-strings.js +4 -4
  237. package/dist/ui/shared/device-roles.js +27 -0
  238. package/dist/ui/shared/host-install.css +10 -0
  239. package/dist/ui/shared/hub-owner.css +6 -0
  240. package/dist/ui/shared/model-picker.css +21 -0
  241. package/dist/ui/shared/runtime-install.css +26 -1
  242. package/dist/ui/shared/setup-host-text.js +4 -4
  243. package/dist/ui/shared/signin-authenticator.js +60 -0
  244. package/dist/ui/shared/signin.js +45 -25
  245. package/dist/ui/shared/subagent-row.css +15 -0
  246. package/dist/ui/shared/usage-dialog.js +1 -1
  247. package/dist/ui/shared/view-strings.js +7 -7
  248. package/dist/ui/shared/web-authorize.js +53 -3
  249. package/dist/ui/signin-authenticator.html +60 -0
  250. package/dist/ui/structured-signin.js +30 -30
  251. package/dist/ui/subagent-row.js +72 -0
  252. package/dist/ui/web-terminal/terminal.js +9 -9
  253. package/dist/update-launch.js +4 -1
  254. package/dist/update-launch.js.map +1 -1
  255. package/dist/update-npm-env.d.ts +70 -0
  256. package/dist/update-npm-env.js +128 -0
  257. package/dist/update-npm-env.js.map +1 -0
  258. package/dist/usage/providers.js +2 -2
  259. package/dist/usage/providers.js.map +1 -1
  260. package/dist/web-api.d.ts +33 -4
  261. package/dist/web-api.js +312 -18
  262. package/dist/web-api.js.map +1 -1
  263. package/dist/web-auth.js +1 -1
  264. package/dist/web-auth.js.map +1 -1
  265. package/dist/web-channel-echo.js +3 -1
  266. package/dist/web-channel-echo.js.map +1 -1
  267. package/dist/web-commands.d.ts +9 -1
  268. package/dist/web-commands.js +7 -1
  269. package/dist/web-commands.js.map +1 -1
  270. package/dist/web-host-install.d.ts +127 -0
  271. package/dist/web-host-install.js +165 -0
  272. package/dist/web-host-install.js.map +1 -0
  273. package/dist/web-remote-access.d.ts +126 -11
  274. package/dist/web-remote-access.js +267 -34
  275. package/dist/web-remote-access.js.map +1 -1
  276. package/dist/web-session.d.ts +11 -3
  277. package/dist/web-session.js.map +1 -1
  278. package/dist/web-signin-device.d.ts +16 -0
  279. package/dist/web-signin-device.js +81 -0
  280. package/dist/web-signin-device.js.map +1 -0
  281. package/dist/web-update.js +3 -1
  282. package/dist/web-update.js.map +1 -1
  283. package/dist/windows-cli-api.js +2 -1
  284. package/dist/windows-cli-api.js.map +1 -1
  285. package/dist/windows-cli-worker.d.ts +14 -0
  286. package/dist/windows-cli-worker.js +145 -1
  287. package/dist/windows-cli-worker.js.map +1 -1
  288. package/dist/windows-cli.d.ts +4 -0
  289. package/dist/windows-cli.js +9 -1
  290. package/dist/windows-cli.js.map +1 -1
  291. package/launcher/agend-install.cjs +16 -3
  292. package/package.json +1 -1
  293. package/templates/runtime-install/install.ps1 +219 -12
@@ -21,23 +21,29 @@ export function renderStatusEmojiAvoidList(workflow, statusEmojis) {
21
21
  function isClassicInstance(params) {
22
22
  return params.runtimeIdentity?.kind === "classic";
23
23
  }
24
+ // A returned result continues the channel human's request; ordinary peer traffic does not.
25
+ const CLASSIC_DELEGATED_RESULT_RULE = "For a result answering work you delegated for a channel human, match the worker and correlation_id to your own task; summarize it with `reply` in your bound ClassicBot channel, mentioning the original requester. No new explicit request is needed. Peer chatter and FYI stay quiet.";
26
+ // The compact MCP contract leaves recovery/compaction detail in the additive prompt.
27
+ const CLASSIC_COMPACT_RESULT_RULE = "For work you delegated for a channel human, match worker and correlation_id; summarize with `reply` in your bound ClassicBot channel, mentioning the original requester. No new explicit request is needed. Peer chatter and FYI stay quiet.";
28
+ const CLASSIC_OTHER_CHANNEL_RULE = "For other channel-facing work, use `reply` only when the request explicitly asks you to communicate with humans (ask, notify, follow up, or mention someone).";
29
+ const CLASSIC_REPLY_REQUIRED_RULE = "When the header says `reply required →`, also report the outcome to the sender.";
24
30
  function mcpCrossInstanceReplyRule(classic) {
25
31
  if (!classic) {
26
32
  return "- `[from:instance-name]` → answer with `send_to_instance`, or `report_result` with the correlation_id shown. Never `reply`. `reply required →` in its header means a reply is owed: report_result with that id. Otherwise answer only if you have something to add.";
27
33
  }
28
- return "- `[from:instance-name]` → answer the sender with `send_to_instance`/`report_result`. Only when the request explicitly asks you to communicate with humans in your bound ClassicBot channel (ask, notify, follow up, or mention someone), use `reply` for that channel-facing action. When the header says `reply required →`, also report the outcome to the sender.";
34
+ return `- \`[from:instance-name]\` → answer the sender with \`send_to_instance\`/\`report_result\`. ${CLASSIC_COMPACT_RESULT_RULE} For other channel-facing work, require an explicit peer request. ${CLASSIC_REPLY_REQUIRED_RULE}`;
29
35
  }
30
36
  function fullCrossInstanceMessageRule(classic) {
31
37
  if (!classic) {
32
38
  return "- `[from:instance-name]` — from another fleet instance → use `send_to_instance` or `report_result`, NOT the `reply` tool.";
33
39
  }
34
- return "- `[from:instance-name]` — from another fleet instance → answer the sender with `send_to_instance` or `report_result`. Only when the request explicitly asks you to communicate with humans in your bound ClassicBot channel (ask, notify, follow up, or mention someone), use `reply` for that channel-facing action. When the header says `reply required →`, also report the outcome to the sender.";
40
+ return `- \`[from:instance-name]\` — from another fleet instance → answer the sender with \`send_to_instance\` or \`report_result\`. ${CLASSIC_DELEGATED_RESULT_RULE} ${CLASSIC_OTHER_CHANNEL_RULE} ${CLASSIC_REPLY_REQUIRED_RULE}`;
35
41
  }
36
42
  function fullCrossInstanceCollaborationRule(classic) {
37
43
  if (!classic) {
38
44
  return "2. Cross-instance messages appear as `[from:instance-name]`. Reply via send_to_instance or report_result, NOT reply. `reply required →` in the header means a reply is owed: report_result with that id; without it, answer only if you have something to add.";
39
45
  }
40
- return "2. Cross-instance messages appear as `[from:instance-name]`. Answer the sender via send_to_instance or report_result. Use reply only to carry out an explicit request to communicate with humans in your bound ClassicBot channel; when the header says `reply required →`, separately report the outcome to the sender.";
46
+ return `2. Cross-instance messages appear as \`[from:instance-name]\`. Answer the sender via send_to_instance or report_result. ${CLASSIC_DELEGATED_RESULT_RULE} ${CLASSIC_OTHER_CHANNEL_RULE} ${CLASSIC_REPLY_REQUIRED_RULE}`;
41
47
  }
42
48
  function cliCrossInstanceRule(classic) {
43
49
  if (!classic) {
@@ -49,7 +55,9 @@ function cliCrossInstanceRule(classic) {
49
55
  return [
50
56
  "## Runtime Cross-instance Rule",
51
57
  "This is a ClassicBot instance. For `[from:INSTANCE]`, answer the sender with `agend-agent send` or `agend-agent report`.",
52
- "Only when the request explicitly asks you to communicate with humans in your bound ClassicBot channel (ask, notify, follow up, or mention someone), use `agend-agent reply` for that channel-facing action. When the header says `reply required →`, also report the outcome to the sender.",
58
+ CLASSIC_DELEGATED_RESULT_RULE.replace("`reply`", "`agend-agent reply`"),
59
+ CLASSIC_OTHER_CHANNEL_RULE.replace("`reply`", "`agend-agent reply`"),
60
+ CLASSIC_REPLY_REQUIRED_RULE,
53
61
  ].join("\n");
54
62
  }
55
63
  /**
@@ -87,7 +95,7 @@ export function buildMcpCoreInstructions(params) {
87
95
  ? ` Runtime: kind=${runtimeIdentity.kind}, backend=${runtimeIdentity.backend}, model=${runtimeIdentity.model}.`
88
96
  : "";
89
97
  const version = agendVersion ? ` (AgEnD ${agendVersion})` : "";
90
- return [
98
+ const sections = [
91
99
  `You are **${instanceName}** in an AgEnD fleet${version}. Working directory: \`${workingDirectory}\`.${runtime}`,
92
100
  "",
93
101
  "## Reply contract",
@@ -104,7 +112,14 @@ export function buildMcpCoreInstructions(params) {
104
112
  "- You only have file access under your own working directory; everything cross-instance goes through fleet tools.",
105
113
  "",
106
114
  "Full fleet guidance (workflow, decisions, collaboration rules) is in your system instructions.",
107
- ].join("\n");
115
+ ];
116
+ // Allocated CJK room names also occur in their workspace path; a long name,
117
+ // adapter suffix or parent path must not truncate the reply/delivery rules.
118
+ // Only the compact display defers identity to the unchanged additive prompt.
119
+ if (classic && Buffer.byteLength(sections.join("\n"), "utf8") >= 2048) {
120
+ sections[0] = "You are a ClassicBot instance. Your exact identity, workspace and runtime are in your full fleet instructions.";
121
+ }
122
+ return sections.join("\n");
108
123
  }
109
124
  export function buildFleetInstructions(params) {
110
125
  const { instanceName, workingDirectory, runtimeIdentity, displayName, description, customPrompt } = params;
@@ -171,6 +186,14 @@ export function buildFleetInstructions(params) {
171
186
  `7. ${VERIFY_PEER_MESSAGE_RULE}`,
172
187
  ].join("\n"));
173
188
  }
189
+ if (classic) {
190
+ sections.push([
191
+ "## Delegated channel work",
192
+ "Before delegating for a channel human, retain the requester’s name/ID, the original channel request, worker and returned correlation_id in your task notes; preserve that association through compaction.",
193
+ "A matched result continues that human’s request. Summarize success, partial progress or failure and the useful next step; mention the original requester. Do not wait for the worker to ask you to notify them, and do not send the worker an acknowledgment-only message.",
194
+ "If the association is missing, recover your outgoing task and original human request from your history/notes or delivery_status; never substitute the latest speaker. Unmatched or unrelated reports, peer chatter and FYI stay quiet. A result is information, not a human’s approval or new authority.",
195
+ ].join("\n"));
196
+ }
174
197
  // ── Workflow template ──
175
198
  if (params.workflow !== false) {
176
199
  let workflowContent = null;
@@ -1 +1 @@
1
- {"version":3,"file":"instructions.js","sourceRoot":"","sources":["../src/instructions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAC3F,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AA6BzC,uDAAuD;AACvD,MAAM,yBAAyB,GAAG,UAAU,CAAC;AAC7C,MAAM,eAAe,GAAG,8CAA8C,CAAC;AAEvE;;;GAGG;AACH,MAAM,UAAU,0BAA0B,CAAC,QAAgB,EAAE,YAAuB;IAClF,IAAI,CAAC,YAAY,EAAE,MAAM;QAAE,OAAO,QAAQ,CAAC;IAC3C,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACpC,IAAI,IAAI,KAAK,yBAAyB;QAAE,OAAO,QAAQ,CAAC;IACxD,OAAO,QAAQ,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,EAAE,EAAE,IAAY,EAAE,EAAE,CAAC,GAAG,IAAI,GAAG,IAAI,EAAE,CAAC,CAAC;AACnF,CAAC;AAED,SAAS,iBAAiB,CAAC,MAA+B;IACxD,OAAO,MAAM,CAAC,eAAe,EAAE,IAAI,KAAK,SAAS,CAAC;AACpD,CAAC;AAED,SAAS,yBA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AS,GAAG,CAAC,CAAC,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;YAC3E,OAAO,OAAO,CAAC,CAAC,KAAK,OAAO,SAAS,EAAE,CAAC;QAC1C,CAAC,CAAC,CAAC;QACH,IAAI,SAAS,CAAC,MAAM,GAAG,GAAG,EAAE,CAAC;YAC3B,KAAK,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,MAAM,GAAG,GAAG,6CAA6C,CAAC,CAAC;QACzF,CAAC;QACD,QAAQ,CAAC,IAAI,CAAC,0BAA0B,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED,2BAA2B;IAC3B,IAAI,YAAY,EAAE,CAAC;QACjB,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IAC9B,CAAC;IAED,OAAO,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC/B,CAAC;AAED,+GAA+G;AAC/G,MAAM,UAAU,4BAA4B,CAAC,MAA+B,EAAE,OAAgB;IAC5F,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,yBAAyB,GAAG,MAAM;UAChD,uZAAuZ,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,sBAAsB,CAAC,MAAM,CAAC,CAAC;AACrc,CAAC"}
package/dist/locale.js CHANGED
@@ -13,6 +13,7 @@ export function detectLocale(fleetConfig) {
13
13
  return detectTimezone() === 8 ? "zh-TW" : "en";
14
14
  }
15
15
  const enMessages = {
16
+ "host_cli.install_confirm": "Install {0} on the AgEnD host",
16
17
  "logs.capped_tail": "Capped at {0} lines; only the recent log tail is available here.",
17
18
  "config.general_missing": "no general_topic instance for connection \"{0}\" — messages there outside an agent’s topic have no dispatcher (in Settings → Agents, open an agent’s settings → Advanced, enable General topic (fleet dispatcher), and select this connection)",
18
19
  "general_location.offline": "General’s Windows PC is offline. AgEnD is still running here. Reconnect that PC, or switch General back to this host in Settings. Pending or uncertain requests will not be sent again automatically.",
@@ -163,6 +164,12 @@ const enMessages = {
163
164
  // #3008: connections from outside (a web-only fleet's Notices; the leader's approved wording, cid-alpha3-design).
164
165
  "outside.notice_signed_in": "Signed in from outside: {0}.",
165
166
  "outside.notice_paused": "Sign-in from outside is paused for {0} after {1} wrong codes.",
167
+ // #3486: a new browser signs in with an admin's own authenticator code.
168
+ "signin.totp_notice_signed_in": "🔐 {0} signed in from a new browser with their authenticator code ({1}, {2}). If this was not them, they can sign it out in Settings → Access & security, and remove or replace their authenticator app.",
169
+ "signin.totp_notice_paused": "🔐 Signing in with authenticator codes is paused for {0} after wrong codes. If this was not you, someone may be guessing codes. New devices are held; devices you have already signed in from are usually not affected.",
170
+ "signin.totp_notice_attempts": "🔐 Someone keeps trying to sign in with wrong authenticator codes. If this was not you, someone may be guessing codes; the sign-in will pause if it goes on.",
171
+ "signin.totp_where_direct": "direct connection",
172
+ "signin.totp_where_link": "through the public link",
166
173
  "outside.notice_ended": "The outside link has ended ({0}). Turn it on again on the AgEnD computer, in Settings → Access & security.",
167
174
  "outside.reason_expired": "its time ran out",
168
175
  "outside.reason_failed": "it could not be reopened",
@@ -291,7 +298,7 @@ const enMessages = {
291
298
  "needs.reason.question": "Asking you a question",
292
299
  "needs.reason.permission": "Permission needed",
293
300
  "needs.reason.dangerous_command": "Dangerous command waiting",
294
- "needs.reason.login": "Sign-in needed",
301
+ "needs.reason.login": "Waiting to connect its AI account",
295
302
  "needs.reason.dialog": "Waiting at a dialog",
296
303
  "needs.reason.kiro_choice": "Kiro needs your decision",
297
304
  "kiro3.readiness_classic": "Not ready for Kiro 3.x — migrate on Kiro 2.x first with migrate_kiro_instance.",
@@ -315,9 +322,9 @@ const enMessages = {
315
322
  "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.",
316
323
  "inst.session_oom_retry_busy": "This instance is finishing another restart. Wait for it to finish, then explicitly retry the stopped session.",
317
324
  "inst.session_oom_save_failed": "The stop could not be saved: fix storage before restarting the fleet.",
318
- "needs.reason.auth_paused": "Paused: sign-in needed",
325
+ "needs.reason.auth_paused": "Paused: AI account not connected",
319
326
  "needs.reason.usage_limit": "Usage limit reached · {0} · reset time unknown",
320
- "needs.reason.backend_signin": "Backend sign-in needed",
327
+ "needs.reason.backend_signin": "AI account needs connecting",
321
328
  // #3292: Keep sign-in alive. {0}: the CLI, {1}: the account (a profile's name, or "default sign-in"), {2}: a date.
322
329
  "keepalive.default_name": "default sign-in",
323
330
  "keepalive.needs_sign_in": "{0} · {1}: needs to sign in again (keeping it alive failed)",
@@ -344,8 +351,12 @@ const enMessages = {
344
351
  "hub.membership.disable": "Disable this fleet's Hub membership. New Hub work and answer disclosure stop; existing agent conversations remain.",
345
352
  "hub.retention.events": "Hub event records: keep {0} days",
346
353
  "hub.retention.purge": "Shorter periods can permanently remove older records at the next daily cleanup.",
354
+ "runtime_cli.install": "Install {0} {1} on the paired Windows computer {2}: the version AgEnD pins, checked on that computer (its pinned hashes, the registry's signatures, the publisher's signature). Only this CLI is installed; nothing the page sent is run. That computer's owner's own switch still has to allow it.",
355
+ "host_cli.update": "Update {0} on the AgEnD computer to {1}, the release AgEnD has audited (the registry's update command, run unattended). Only this CLI changes; nothing the page sent is run.",
356
+ "host_cli.update_latest": "Update {0} on the AgEnD computer to the LATEST release (not audited by AgEnD): the registry's update command for this CLI, run unattended; the CLI's own updater cannot choose a release. Only this CLI changes; nothing the page sent is run.",
357
+ "runtime_cli.update_latest": "If {0} is already on the paired Windows computer {1}, this updates it to the vendor's LATEST release (not audited by AgEnD): the Runtime downloads the release the vendor's own manifest names and checks its checksum and the publisher's signature on that computer before switching to it.",
347
358
  "hub.run.start": "Start this fleet's Hub. People can sign in to it again and chats with shared agents resume.",
348
- "hub.run.stop": "Stop this fleet's Hub. Everyone signed in to it is signed out and chats with shared agents stop until it runs again. Nothing is deleted.",
359
+ "hub.run.stop": "Stop this fleet's Hub and pause chats with shared agents. Valid sign-ins can resume when it runs again. Nothing is deleted.",
349
360
  "hub.preview.on": "Serve HTML previews on this Hub at port {0}.",
350
361
  "hub.preview.off": "Stop serving HTML previews on this Hub.",
351
362
  "hub.hold.hub-unsealed": "The Hub's settings no longer match its sealed initialization. The Hub remains held; this page cannot restore or seal its settings.",
@@ -786,6 +797,7 @@ const enMessages = {
786
797
  "update.progress.already_current": "✅ Already up to date — v{0} ({1}s)",
787
798
  "update.progress.failed": "❌ Update failed during {0}: {1} ({2}s)",
788
799
  "update.failure.shell": "AgEnD could not finish the update automatically. Manual repair is not available here.",
800
+ "update.failure.network": "Could not reach the update source, so nothing was changed and the current version keeps running. Try again once the network is back.",
789
801
  "update.failure.installed": "/update cannot verify the installed AgEnD ({0}).",
790
802
  "update.failure.independent": "/update cannot prepare an independent updater ({0}).",
791
803
  "update.failure.summary": "/update could not complete ({0}).",
@@ -837,42 +849,42 @@ const enMessages = {
837
849
  "login.profile_needs_backend": "A profile needs its backend too: `/login backend:claude-code profile:<name>`.",
838
850
  "login.install_cli_moved": "`/install-cli` was removed. Use `/login`.",
839
851
  "login.install_by_name": "not installed, and not offered here — `/login {0}` installs it.",
840
- "login.choose_backend": "Which backend should sign in again?",
852
+ "login.choose_backend": "Which AI account should be connected?",
841
853
  "fleet.label_line": "🖥 Fleet: {0}",
842
854
  "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}",
843
855
  "login.status_installed": "Installed",
844
856
  "login.status_configured": "Configured",
845
- "login.status_auth": "Auth",
857
+ "login.status_auth": "Connect",
846
858
  "login.status_unsupported": "Unsupported",
847
859
  "login.status_not_installed": "Not installed",
848
860
  "login.status_install": "Install",
849
- "login.status_install_then_auth": "Install + sign in",
861
+ "login.status_install_then_auth": "Install + connect",
850
862
  "login.install_on_host": "not installed, and there is no remote installer for it — install it on the host.",
851
863
  "login.host_only": "sign in on the host: run `{0}` there.",
852
864
  "login.none_available": "⚠️ No backend can be installed or signed in to remotely here.",
853
865
  "login.no_remote_flow": "⚠️ Backend \"{0}\" has no remote login flow. Run its CLI login command on the host.",
854
866
  "login.unsupported": "⚠️ No remote login flow for backend \"{0}\". OpenCode credentials are API keys — manage them with `opencode auth` in a trusted terminal.",
855
- "login.busy": "⚠️ A login session for {0} is already running. Use /login cancel first.",
856
- "login.started": "🔐 Login started for {0}. I will post the authorization link here — treat it like a password.",
857
- "login.auth_hint": "🔐 {0} login — open this link and approve. Anyone who completes it binds THEIR account, so do not forward it:",
858
- "login.auth_code": "One-time code: {0}",
859
- "login.completed": "✅ {0} login completed. Bringing the affected instances back so they pick up the new credentials…",
867
+ "login.busy": "⚠️ Your {0} account is already being connected. Use /login cancel first.",
868
+ "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.",
869
+ "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:",
870
+ "login.auth_code": "Authorization code: {0}",
871
+ "login.completed": "✅ Your {0} account is connected. Bringing the affected instances back so they pick up the new credentials…",
860
872
  "login.recovered": "✅ {0} is ready. Woke: {1}. Restarted (to reload credentials): {2}. You can talk to them again now.",
861
- "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.",
862
- "login.recover_failed": "✅ {0} login completed, but bringing the instances back failed: {1}. Use /restart if they do not return.",
863
- "login.offer": "Re-login to {0} from here:",
864
- "login.offer_action": "🔑 Log in to {0}",
873
+ "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.",
874
+ "login.recover_failed": "✅ Your {0} account is connected, but bringing the instances back failed: {1}. Use /restart if they do not return.",
875
+ "login.offer": "Connect your {0} account again from here:",
876
+ "login.offer_action": "🔑 Connect your {0} account",
865
877
  "login.none": "none",
866
- "login.failed": "❌ {0} login did not complete: {1}",
867
- "login.cancelled": "🛑 Login session for {0} cancelled.",
868
- "login.no_session": "No login session is running.",
869
- "login.starting_backend": "🔐 Starting {0} login…",
878
+ "login.failed": "❌ Your {0} account was not connected: {1}",
879
+ "login.cancelled": "🛑 Connecting your {0} account was cancelled.",
880
+ "login.no_session": "No AI account is being connected.",
881
+ "login.starting_backend": "🔐 Starting to connect your {0} account…",
870
882
  "login.relogin_cancel": "Cancel",
871
883
  "login.chooser_posted": "🔐 Backend chooser posted.",
872
- "login.confirm_posted": "⚠️ Authentication still works — confirmation buttons posted.",
884
+ "login.confirm_posted": "⚠️ The account is still connected — confirmation buttons posted.",
873
885
  "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?",
874
886
  "login.web_dashboard_notice": "🔐 A sign-in to {0} was started from the web dashboard ({1}, session {2}).",
875
- "login.web_dashboard_not_installed": "{0} is not installed on this computer. This page cannot install a local CLI.",
887
+ "login.web_dashboard_not_installed": "{0} is not installed on this computer. Press Install on its row in Settings → Agents → AI accounts and API keys, then connect an AI account.",
876
888
  "login.web_started": "🔐 {0} login started in a browser terminal. The link is posted here; the access token is sent to you privately — you need both.",
877
889
  "login.web_listener_failed": "the browser terminal listener stopped; run /login again. If it repeats, check fleet.log and the host's available resources",
878
890
  "login.web_listener_start_failed": "The browser terminal could not listen ({0}). Check web_terminal.bind is an address on this machine and the host allows a listening port, then run /login again.",
@@ -892,8 +904,8 @@ const enMessages = {
892
904
  "login.web_suggest_check_args": "→ Check the Start URL / Region you entered and run /login again.",
893
905
  "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?",
894
906
  "login.web_confirm_go": "I understand, open",
895
- "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.",
896
- "login.device_confirm_go": "Start device login",
907
+ "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.",
908
+ "login.device_confirm_go": "Start connecting",
897
909
  "login.web_confirm_failed": "could not post the confirmation buttons",
898
910
  "login.web_rate_limited": "⚠️ Too many login sessions: at most {0} per {1} minutes per admin. Try again later.",
899
911
  "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.",
@@ -1177,8 +1189,8 @@ const enMessages = {
1177
1189
  "usage.hint.grok_no_login": "auth.json has no usable login. Run `grok login`.",
1178
1190
  "usage.hint.login_kiro": "Log in with the Kiro CLI (`kiro-cli`).",
1179
1191
  "usage.hint.kiro_signed_out": "Signed out — run `kiro-cli` to log in.",
1180
- "usage.hint.claude_profile_signed_out": "Not logged in — sign in from Settings → Agents → AI sign-ins and API keys → Accounts.",
1181
- "usage.hint.claude_profile_signed_out_chat": "Not logged in — sign in from Settings → Agents → AI sign-ins and API keys → Accounts, or with `{0}`.",
1192
+ "usage.hint.claude_profile_signed_out": "Not connected — connect it in Settings → Agents → AI accounts and API keys → Accounts.",
1193
+ "usage.hint.claude_profile_signed_out_chat": "Not connected — connect it in Settings → Agents → AI accounts and API keys → Accounts, or with `{0}`.",
1182
1194
  "usage.hint.token_refreshing": "Token refreshing — try again in a moment.",
1183
1195
  "usage.hint.subscription_no_credit": "Subscription — no credit usage to report.",
1184
1196
  "usage.value.unlimited": "♾️ Unlimited",
@@ -1399,6 +1411,8 @@ const enMessages = {
1399
1411
  "fleet.reload_removed_all": "it removed every instance ({0} → 0)",
1400
1412
  "fleet.reload_removed_half": "it removed more than half the instances ({0} → {1})",
1401
1413
  "fleet.error_suppressed": "(plus {0} more in the last {1}m)",
1414
+ "runtime.enroll_folded": "⚠️ {0} more computers joined AgEnD with a one-time install-command token, with no approval step, and their individual notices could not be delivered. Open Settings → Runtime and revoke any computer you do not recognise.",
1415
+ "runtime.enroll_joined": "⚠️ A computer joined AgEnD with a one-time install-command token, with no approval step: {0} (host {1}, token {2}, computer {3}). Agent work can now be sent to it. If this is not yours, revoke it now: Settings → Runtime → the computer named above → Revoke connection (it disconnects at once), and treat that install command as leaked.",
1402
1416
  "dashboard.port_in_use": "⚠️ Dashboard unavailable — health port {0} is already in use. Stop the conflicting process or configure a different health_port.",
1403
1417
  "dashboard.server_failed": "⚠️ Dashboard unavailable — health server failed: {0}",
1404
1418
  "save.usage": "Usage: /save <filename>",
@@ -1614,12 +1628,21 @@ const enMessages = {
1614
1628
  "settings_confirm.cli_question": "Apply this exact change? [y/N] ",
1615
1629
  "settings_confirm.cli_interactive": "Interactive confirmation required; --yes explicitly confirms the printed diff.",
1616
1630
  "settings_confirm.web_verified_label": "{0} (web-verified)",
1617
- "settings_confirm.host_operator_label": "This computer's admin",
1631
+ "settings_confirm.host_operator_label": "This fleet's admin",
1618
1632
  "settings_confirm.totp_label": "Authenticator code",
1633
+ "settings_confirm.remote_notice": "🔔 A Settings change that {1} was confirmed from another device by {0}.\n{2}\nOutcome: {3}\nIf this was not you, sign that browser out of the dashboard.",
1634
+ "settings_confirm.remote_kind_link": "opens a public link",
1635
+ "settings_confirm.remote_kind_secret": "changes a secret",
1636
+ "outside.enrolled_notice_by": "🔔 {0} set up an authenticator app (their own). If this was not them, they can remove it, or any admin can ask them; on the computer running AgEnD it can be reset.",
1637
+ "outside.reenrolled_notice_by": "🔔 {0} replaced their authenticator app. Codes from the old one stop working. If this was not them, check their sessions.",
1638
+ "outside.removed_notice_by": "🔔 {0} removed their authenticator app.",
1639
+ "outside.strict_on_notice_by": "🔔 {0} turned on “ask for my authenticator code to confirm changes from other devices” for their own confirmations.",
1640
+ "outside.strict_off_notice_by": "🔔 {0} turned off “ask for my authenticator code to confirm changes from other devices”.",
1619
1641
  "settings_confirm.web_owner_required": "Only this fleet's owner, signed in on the AgEnD computer itself, can decide an agent's request here.",
1620
1642
  "settings_confirm.host_operator": "host operator",
1621
1643
  };
1622
1644
  const zhTWMessages = {
1645
+ "host_cli.install_confirm": "在 AgEnD 主機上安裝 {0}",
1623
1646
  "logs.capped_tail": "最多顯示 {0} 行;這裡僅提供最近的日誌末段。",
1624
1647
  "config.general_missing": "連線「{0}」沒有 general_topic Agent,因此不在 Agent 主題裡的訊息沒有分派器(請到「設定 → Agent → 該 Agent 的設定 → 進階」,啟用「General topic(fleet 分派器)」並選擇這個連線)",
1625
1648
  "general_location.offline": "General 所在的 Windows 電腦已離線。AgEnD 仍在這台主機運作。請重新連線那台電腦,或到設定把 General 切回這台主機。待處理或結果不明的請求不會自動重送。",
@@ -1729,11 +1752,11 @@ const zhTWMessages = {
1729
1752
  "dashboard.public_status": "公開連結:{0} · 剩餘 {1} 秒",
1730
1753
  "dashboard.public_until": " · 到 {0} 為止",
1731
1754
  "dashboard.public_status_no_expiry": "公開連結:{0} · 不會到期(直到關閉或 AgEnD 停止)",
1732
- "dashboard.code_next": "📋 登入碼也單獨放在下一則訊息裡,點一下或長按就能複製。",
1755
+ "dashboard.code_next": "📋 裝置登入碼也單獨放在下一則訊息裡,點一下或長按就能複製。",
1733
1756
  "dashboard.public_closed": "🔒 公開網頁入口已關閉。",
1734
1757
  "dashboard.public_cleanup": "⚠️ 公開網頁入口已關閉,但無法確認 tunnel 行程已停止。請先處理清理問題,再開新連結。",
1735
- "dashboard.private_local": "{0}\n登入碼:{1}(單次使用,{2} 分鐘有效)\n勿轉傳;/web revoke 可登出所有瀏覽器並關閉公開連結。",
1736
- "dashboard.private_public": "{0}\n登入碼:{1}(單次使用,{2} 分鐘有效)\n公開連結到期:{3}\n勿轉傳;/web revoke 可登出所有瀏覽器並關閉公開連結。",
1758
+ "dashboard.private_local": "{0}\n裝置登入碼:{1}(單次使用,{2} 分鐘有效)\n勿轉傳;/web revoke 可登出所有瀏覽器並關閉公開連結。",
1759
+ "dashboard.private_public": "{0}\n裝置登入碼:{1}(單次使用,{2} 分鐘有效)\n公開連結到期:{3}\n勿轉傳;/web revoke 可登出所有瀏覽器並關閉公開連結。",
1737
1760
  "dashboard.public_no_expiry": "不會到期——直到關閉或 AgEnD 停止",
1738
1761
  "dashboard.public_auto_failed": "⚠️ AgEnD 啟動後未能自動重新開啟公開連結(web.public_link.auto_open)。請執行 /web 開啟。",
1739
1762
  "dashboard.private_sent": "🔐 登入資訊已私送。",
@@ -1765,9 +1788,15 @@ const zhTWMessages = {
1765
1788
  "web_auth.refusal_not_admin_session": "它不是管理者的 session。",
1766
1789
  "web_auth.refusal_no_account": "它不是用帳號登入的。",
1767
1790
  "web_auth.refusal_host_sign_in": "這個瀏覽器已沒有這台電腦的管理者授權。這裡無法重新取得這個登入的授權。",
1768
- "web_auth.refusal_outside_sign_in": "它是從外面登入的,而從外面連線現在已關閉或授權已結束(請用新的代碼重新登入)。",
1791
+ "web_auth.refusal_outside_sign_in": "它是從外面登入的,而從外面連線現在已關閉或授權已結束(請用新的 6 位數驗證碼重新登入)。",
1769
1792
  "outside.notice_signed_in": "有人從外面登入:{0}。",
1770
1793
  "outside.notice_paused": "從外面登入連錯 {1} 次,已暫停 {0}。",
1794
+ // #3486:新瀏覽器用管理員自己的驗證器驗證碼登入。
1795
+ "signin.totp_notice_signed_in": "🔐 {0} 用驗證器驗證碼從新的瀏覽器登入({1},{2})。如果不是本人,請本人到「設定 → 存取與安全」登出該裝置,並移除或更換驗證器。",
1796
+ "signin.totp_notice_paused": "🔐 用驗證器驗證碼登入連續輸錯,已暫停 {0}。如果不是你,可能有人在猜驗證碼。新裝置被擋;已登入過的裝置通常不受影響。",
1797
+ "signin.totp_notice_attempts": "🔐 有人一直用錯誤的驗證器驗證碼嘗試登入。如果不是你,可能有人在猜驗證碼;再繼續下去登入會被暫停。",
1798
+ "signin.totp_where_direct": "直接連線",
1799
+ "signin.totp_where_link": "公開連結",
1771
1800
  "outside.notice_ended": "從外面連線的連結已結束({0})。請在 AgEnD 電腦上,到「設定 → 存取與安全」重新開啟。",
1772
1801
  "outside.reason_expired": "時間已到",
1773
1802
  "outside.reason_failed": "無法重新開啟",
@@ -1824,12 +1853,12 @@ const zhTWMessages = {
1824
1853
  "dashboard.private_sent_here": "🔐 bot 無法私訊你,登入資訊改貼在這裡,只有你看得到。",
1825
1854
  "dashboard.private_sending": "⏳ 正在私送登入資訊…",
1826
1855
  "dashboard.menu_failed": "⚠️ 無法顯示 /web 選單,請再執行一次 /web。",
1827
- "dashboard.private_failed": "無法確認私送登入資訊或啟動連結。請再傳 /web;登入碼不會貼到公開頻道。",
1856
+ "dashboard.private_failed": "無法確認私送登入資訊或啟動連結。請再傳 /web;裝置登入碼不會貼到公開頻道。",
1828
1857
  "dashboard.start_web_label": "開啟私訊",
1829
1858
  "dashboard.private_failed_tg": "按「開啟私訊」,在 Telegram 按「開始」,再選登入按鈕。",
1830
- "dashboard.private_failed_tg_nolink": "無法私送登入碼:你還沒開啟和這個 bot 的私訊,它無法傳訊息給你。① 開啟和這個 bot 的私訊 ② 傳送 /start web ③ 在那裡選擇連結,登入碼會送到那個私訊。此處不會貼出登入碼。",
1859
+ "dashboard.private_failed_tg_nolink": "無法私送裝置登入碼:你還沒開啟和這個 bot 的私訊,它無法傳訊息給你。① 開啟和這個 bot 的私訊 ② 傳送 /start web ③ 在那裡選擇連結,裝置登入碼會送到那個私訊。此處不會貼出裝置登入碼。",
1831
1860
  "dashboard.private_sent_below": "🔐 登入資訊在下方。",
1832
- "dashboard.link_failed": "⚠️ 無法啟動登入連結,所以沒有送出登入碼。請再執行一次 /web。",
1861
+ "dashboard.link_failed": "⚠️ 無法啟動登入連結,所以沒有送出裝置登入碼。請再執行一次 /web。",
1833
1862
  "dashboard.start_web_ack": "✅ 你現在可以在群組裡使用 /web 了。",
1834
1863
  "web.public_login_notice": "🔐 有新的網頁登入 · 公開入口:{0}(session {1})。如果不是你,請用 /web revoke。",
1835
1864
  "office_share.all": "所有辦公室",
@@ -1843,11 +1872,11 @@ const zhTWMessages = {
1843
1872
  "dashboard.title": "📊 AgEnD 儀表板",
1844
1873
  "dashboard.starting": "⏳ 儀表板啟動中,請稍後再試。",
1845
1874
  "dashboard.signin": "• 登入頁: {0}/signin",
1846
- "dashboard.code": "• 登入碼: {0}(只能用一次,{1} 分鐘內有效)",
1847
- "dashboard.menu_instruction": "按登入按鈕,取得僅傳給你的連結和登入碼。",
1848
- "dashboard.code_help": "請勿轉傳登入碼。/web revoke 可登出所有瀏覽器並關閉公開連結。",
1875
+ "dashboard.code": "• 裝置登入碼: {0}(只能用一次,{1} 分鐘內有效)",
1876
+ "dashboard.menu_instruction": "按登入按鈕,取得僅傳給你的連結和裝置登入碼。",
1877
+ "dashboard.code_help": "請勿轉傳裝置登入碼。/web revoke 可登出所有瀏覽器並關閉公開連結。",
1849
1878
  "dashboard.deprecated": "`/dashboard` 已棄用。請用 `/web`。",
1850
- "dashboard.revoked": "🔒 已登出 {0} 個網頁 session,並作廢尚未使用的登入碼。",
1879
+ "dashboard.revoked": "🔒 已登出 {0} 個網頁 session,並作廢尚未使用的裝置登入碼。",
1851
1880
  "dashboard.revoked_not_durable": "⚠️ 目前已登出 {0} 個網頁 session,但工作階段檔無法更新;請再執行一次 /web revoke。重新啟動可能會讓那些 session 回來。",
1852
1881
  "web.login_notice": "🔐 有新的網頁登入:{0}({1},session {2})。如果不是你,請傳 /web revoke。",
1853
1882
  "web.login_notice_web_only": "🔐 有新的網頁登入:{0}({1},session {2})。如果不是你,請用工作階段選單的「全部登出」。",
@@ -1857,15 +1886,15 @@ const zhTWMessages = {
1857
1886
  "web.guest_public_login_notice": "👤 訪客 {0} 透過公開連結登入了({1};可看到他在聊天中本來就能用的 {2} 個 agent;session {3})。關閉連結或傳 /web revoke 即可結束。",
1858
1887
  "web.guest_sent": "📬 已私訊你一組訪客登入碼。",
1859
1888
  "web.guest_dm_failed": "無法私訊你。請允許這個伺服器的成員私訊你,然後再傳一次 /web。",
1860
- "web.guest_dm_failed_link": "無法私訊你。請開啟和我的對話({0})並按「開始」,登入碼會送到那裡。",
1861
- "web.guest_wait": "不到一分鐘前已經寄出一組登入碼,請查看你的私訊。",
1889
+ "web.guest_dm_failed_link": "無法私訊你。請開啟和我的對話({0})並按「開始」,裝置登入碼會送到那裡。",
1890
+ "web.guest_wait": "不到一分鐘前已經寄出一組裝置登入碼,請查看你的私訊。",
1862
1891
  "web.guest_nothing": "網頁上目前沒有你能看的內容:訪客登入只會顯示你在聊天中本來就能用的 agent。",
1863
1892
  "web.guest_not_set_up": "這個群組還沒有設定訪客網頁登入,請洽管理者。",
1864
- "web.guest_paused": "訪客網頁登入暫停幾分鐘(錯誤的登入碼太多),請稍後再試。",
1893
+ "web.guest_paused": "訪客網頁登入暫停幾分鐘(錯誤的裝置登入碼太多),請稍後再試。",
1865
1894
  "web.guest_busy": "目前有太多訪客登入碼還沒被使用,請過幾分鐘再試。",
1866
1895
  "web.guest_revoked": "已登出你的 {0} 個訪客網頁 session。",
1867
1896
  "web.guest_revoked_not_durable": "⚠️ 目前已登出你的 {0} 個訪客網頁 session,但無法保存:fleet 重啟後可能會復活。請告訴管理者。",
1868
- "web.resend_code": "🔐 網頁登入碼:{0}(只能用一次,{1} 分鐘內有效;之前的登入碼已作廢)\n由登入頁面上的 {2}({3})要求。如果不是你,請忽略或傳 /web revoke。",
1897
+ "web.resend_code": "🔐 裝置登入碼:{0}(只能用一次,{1} 分鐘內有效;之前的裝置登入碼已作廢)\n由登入頁面上的 {2}({3})要求。如果不是你,請忽略或傳 /web revoke。",
1869
1898
  "web.resend_unknown_browser": "某個瀏覽器",
1870
1899
  "web.resend_public": "公開連結",
1871
1900
  "web.resend_local": "本機網路",
@@ -1896,7 +1925,7 @@ const zhTWMessages = {
1896
1925
  "needs.reason.question": "正在問你問題",
1897
1926
  "needs.reason.permission": "需要權限",
1898
1927
  "needs.reason.dangerous_command": "危險指令待確認",
1899
- "needs.reason.login": "需要登入",
1928
+ "needs.reason.login": "等待連接 AI 帳號",
1900
1929
  "needs.reason.dialog": "停在對話框",
1901
1930
  "needs.reason.kiro_choice": "Kiro 需要你決定",
1902
1931
  "kiro3.readiness_classic": "尚未準備好使用 Kiro 3.x:請先在 Kiro 2.x 用 migrate_kiro_instance 完成遷移。",
@@ -1920,9 +1949,9 @@ const zhTWMessages = {
1920
1949
  "inst.session_oom_evidence_unreadable": "無法安全讀取這個 Agent 的當機歷史或停止紀錄,已暫停自動啟動與訊息送入。請明確啟動、重啟或喚醒它以重試;原本的對話紀錄仍保留。",
1921
1950
  "inst.session_oom_retry_busy": "這個 Agent 正在完成另一次重啟。請等它結束後,再明確重試已停止的工作階段。",
1922
1951
  "inst.session_oom_save_failed": "無法儲存停止紀錄:請先修復儲存空間或權限,再重啟 fleet。",
1923
- "needs.reason.auth_paused": "已暫停:需要登入",
1952
+ "needs.reason.auth_paused": "已暫停:AI 帳號未連接",
1924
1953
  "needs.reason.usage_limit": "用量已達上限 · {0} · 恢復時間未知",
1925
- "needs.reason.backend_signin": "後端需要登入",
1954
+ "needs.reason.backend_signin": "需要連接 AI 帳號",
1926
1955
  "keepalive.default_name": "預設登入",
1927
1956
  "keepalive.needs_sign_in": "{0} · {1}:需要重新登入(保持登入失敗)",
1928
1957
  "keepalive.not_renewed": "{0} · {1}:每日檢查沒有續期這個登入,下次使用時就會失效。請重新登入,或在 設定 → 帳號 允許那一次小額的備援請求",
@@ -1948,8 +1977,12 @@ const zhTWMessages = {
1948
1977
  "hub.membership.disable": "停用這個 Fleet 的 Hub 成員功能。停止新的 Hub 工作與回答傳送;既有 Agent 對話會保留。",
1949
1978
  "hub.retention.events": "Hub 事件紀錄:保留 {0} 天",
1950
1979
  "hub.retention.purge": "縮短保留天數後,下次每日清理可能永久刪除較早的紀錄。",
1980
+ "runtime_cli.install": "在已配對的 Windows 電腦 {2} 上安裝 {0} {1}:AgEnD 固定的版本,並在那台電腦上檢查(固定的雜湊、registry 簽章、發行者簽章)。只會安裝這個 CLI;頁面送來的內容不會被執行。仍需要那台電腦主人自己的開關允許。",
1981
+ "host_cli.update": "在 AgEnD 這台電腦上把 {0} 更新到 {1}(AgEnD 稽核過的版本),使用登錄表裡的更新指令(無人值守執行)。只會更新這個 CLI;頁面送來的內容不會被執行。",
1982
+ "host_cli.update_latest": "在 AgEnD 這台電腦上把 {0} 更新到「最新版」(未經 AgEnD 稽核):使用登錄表裡這個 CLI 的更新指令(無人值守執行);這個 CLI 自己的更新器無法指定版本。只會更新這個 CLI;頁面送來的內容不會被執行。",
1983
+ "runtime_cli.update_latest": "如果已配對的 Windows 電腦 {1} 上已經有 {0},這會把它更新到廠商的「最新版」(未經 AgEnD 稽核):Runtime 會下載廠商自己的 manifest 指定的版本,並在那台電腦上檢查它的雜湊與發行者簽章,才會切換過去。",
1951
1984
  "hub.run.start": "啟動這個 Fleet 的 Hub。大家可以再次登入,與分享的 Agent 的對話會恢復。",
1952
- "hub.run.stop": "停止這個 Fleet 的 Hub。所有登入的人都會被登出,與分享的 Agent 的對話會暫停,直到再次執行。不會刪除任何資料。",
1985
+ "hub.run.stop": "停止這個 Fleet 的 Hub,暫停與分享的 Agent 的對話。再次執行後,仍有效的登入狀態可以恢復。不會刪除任何資料。",
1953
1986
  "hub.preview.on": "在這個 Hub 的連接埠 {0} 提供 HTML 預覽。",
1954
1987
  "hub.preview.off": "停止在這個 Hub 提供 HTML 預覽。",
1955
1988
  "hub.hold.hub-unsealed": "Hub 的設定已和初始化封存的內容不一致。Hub 仍會暫停;這個頁面無法還原或重新封存設定。",
@@ -2390,13 +2423,14 @@ const zhTWMessages = {
2390
2423
  "update.progress.already_current": "✅ 已是最新版本 — v{0} ({1}s)",
2391
2424
  "update.progress.failed": "❌ 更新在「{0}」階段失敗:{1} ({2}s)",
2392
2425
  "update.failure.shell": "AgEnD 無法自動完成更新。這裡尚無手動修復功能。",
2426
+ "update.failure.network": "連不上更新來源,沒有做任何變更,目前的版本仍在執行。網路恢復後再試一次。",
2393
2427
  "update.failure.installed": "/update 無法驗證已安裝的 AgEnD({0})。",
2394
2428
  "update.failure.independent": "/update 無法準備獨立的更新程序({0})。",
2395
2429
  "update.failure.summary": "/update 未完成({0})。",
2396
2430
  "update.failure.launch": "更新程序啟動失敗",
2397
2431
  "update.failure.interrupted": "更新程序遭中斷",
2398
- "update.failure.exit": "更新程序以代碼 {0} 結束",
2399
- "update.failure.no_status": "更新程序未提供結束代碼",
2432
+ "update.failure.exit": "更新程序結束,結束碼 {0}",
2433
+ "update.failure.no_status": "更新程序沒有回報結束碼",
2400
2434
  "update.failure.fix": "修復方式:{0}",
2401
2435
  "update.failure.log": "完整日誌:{0}。",
2402
2436
  "update.failure.cause": "原因:{0}。",
@@ -2441,42 +2475,42 @@ const zhTWMessages = {
2441
2475
  "login.profile_needs_backend": "指定 profile 時也要指定 backend:`/login backend:claude-code profile:<名稱>`。",
2442
2476
  "login.install_cli_moved": "`/install-cli` 已移除。請用 `/login`。",
2443
2477
  "login.install_by_name": "尚未安裝,選單也不提供——`/login {0}` 可以安裝它。",
2444
- "login.choose_backend": "要重新登入哪個 Backend?",
2478
+ "login.choose_backend": "要連接哪個 AI 帳號?",
2445
2479
  "fleet.label_line": "🖥 Fleet:{0}",
2446
2480
  "discord.slash_registration_failed": "⚠️ Discord 拒絕了 {0} 的 slash 指令註冊——指令選單會保留先前的指令,新增或變更的指令可能不會出現。Discord 的回應:{1}",
2447
2481
  "login.status_installed": "已安裝",
2448
2482
  "login.status_configured": "已設定",
2449
- "login.status_auth": "可登入",
2483
+ "login.status_auth": "可連接",
2450
2484
  "login.status_unsupported": "不支援",
2451
2485
  "login.status_not_installed": "未安裝",
2452
2486
  "login.status_install": "安裝",
2453
- "login.status_install_then_auth": "安裝並登入",
2487
+ "login.status_install_then_auth": "安裝並連接",
2454
2488
  "login.install_on_host": "尚未安裝,且沒有遠端安裝方式——請在主機上安裝。",
2455
2489
  "login.host_only": "請在主機上登入:在那裡執行 `{0}`。",
2456
2490
  "login.none_available": "⚠️ 這裡沒有可以遠端安裝或登入的 Backend。",
2457
2491
  "login.no_remote_flow": "⚠️ Backend「{0}」沒有遠端登入流程。請在主機上執行它自己的 CLI 登入指令。",
2458
2492
  "login.unsupported": "⚠️ Backend「{0}」沒有遠端登入流程。OpenCode 憑證是 API key——請在可信任的終端用 `opencode auth` 管理。",
2459
- "login.busy": "⚠️ {0} 的登入流程已在進行中,請先 /login cancel。",
2460
- "login.started": "🔐 已啟動 {0} 登入。授權連結會發在這裡——請視同密碼保管。",
2461
- "login.auth_hint": "🔐 {0} 登入——打開此連結完成授權。任何人完成授權都會綁定「他自己的」帳號,切勿轉傳:",
2462
- "login.auth_code": "一次性代碼:{0}",
2463
- "login.completed": "✅ {0} 登入完成。正在把受影響的 instance 帶回來,讓它們載入新憑證…",
2493
+ "login.busy": "⚠️ 正在連接 {0} 帳號,請先 /login cancel。",
2494
+ "login.started": "🔐 開始連接 {0} 帳號。授權連結會發在這裡,請前往官方網站完成授權——連結請視同密碼保管。",
2495
+ "login.auth_hint": "🔐 連接 {0} 帳號——打開此連結,前往官方網站完成授權。任何人完成授權都會連接「他自己的」帳號,切勿轉傳:",
2496
+ "login.auth_code": "授權碼:{0}",
2497
+ "login.completed": "✅ {0} 帳號已連接。正在把受影響的 instance 帶回來,讓它們載入新憑證…",
2464
2498
  "login.recovered": "✅ {0} 已就緒。已喚醒:{1}。已重啟(重新載入憑證):{2}。現在可以正常對話了。",
2465
- "login.recover_pending": "⏳ {0} 登入已完成,但這些還在重啟中(已等 {1} 秒):{2}。它們會自己回來,不需要手動重啟。",
2466
- "login.recover_failed": "✅ {0} 登入完成,但把 instance 帶回來時失敗了:{1}。若它們沒有回來,請用 /restart。",
2467
- "login.offer": "直接從這裡重新登入 {0}:",
2468
- "login.offer_action": "🔑 登入 {0}",
2499
+ "login.recover_pending": "⏳ {0} 帳號已連接,但這些還在重啟中(已等 {1} 秒):{2}。它們會自己回來,不需要手動重啟。",
2500
+ "login.recover_failed": "✅ {0} 帳號已連接,但把 instance 帶回來時失敗了:{1}。若它們沒有回來,請用 /restart。",
2501
+ "login.offer": "直接從這裡重新連接 {0} 帳號:",
2502
+ "login.offer_action": "🔑 連接 {0} 帳號",
2469
2503
  "login.none": "無",
2470
- "login.failed": "❌ {0} 登入未完成:{1}",
2471
- "login.cancelled": "🛑 已取消 {0} 的登入流程。",
2472
- "login.no_session": "目前沒有進行中的登入流程。",
2473
- "login.starting_backend": "🔐 正在啟動 {0} 登入…",
2504
+ "login.failed": "❌ {0} 帳號沒有連接成功:{1}",
2505
+ "login.cancelled": "🛑 已取消連接 {0} 帳號。",
2506
+ "login.no_session": "目前沒有正在連接的 AI 帳號。",
2507
+ "login.starting_backend": "🔐 正在開始連接 {0} 帳號…",
2474
2508
  "login.relogin_cancel": "取消",
2475
2509
  "login.chooser_posted": "🔐 已送出 Backend 選單。",
2476
- "login.confirm_posted": "⚠️ 登入仍有效——已送出確認按鈕。",
2510
+ "login.confirm_posted": "⚠️ 帳號仍是連接狀態——已送出確認按鈕。",
2477
2511
  "login.still_valid_precommand": "⚠️ {0} 目前的登入仍有效。重新登入會先執行 `{1}`,所有執行中的 {0} instance 會暫時失去登入,直到新登入完成(會自動重啟)。繼續?",
2478
2512
  "login.web_dashboard_notice": "🔐 已從網頁主控台啟動 {0} 的登入({1},session {2})。",
2479
- "login.web_dashboard_not_installed": "這台電腦還沒安裝 {0}。這個頁面無法安裝本機 CLI。",
2513
+ "login.web_dashboard_not_installed": "這台電腦還沒安裝 {0}。請先在「設定 → Agents → AI 帳號與 API 金鑰」該列按「安裝」,再連接 AI 帳號。",
2480
2514
  "login.web_started": "🔐 已在瀏覽器終端啟動 {0} 登入。連結發在這裡;存取 token 會私訊給你 —— 兩者都需要。",
2481
2515
  "login.web_listener_failed": "瀏覽器終端的監聽服務已停止;請重新執行 /login。若持續發生,請檢查 fleet.log 與主機可用資源",
2482
2516
  "login.web_listener_start_failed": "瀏覽器終端無法監聽({0})。請確認 web_terminal.bind 是本機擁有的位址,且主機允許監聽連接埠,再重新執行 /login。",
@@ -2496,8 +2530,8 @@ const zhTWMessages = {
2496
2530
  "login.web_suggest_check_args": "→ 檢查你輸入的 Start URL/Region,再執行一次 /login。",
2497
2531
  "login.web_confirm": "🔐 即將為 {0} 登入開一條瀏覽器終端:臨時連結(幾分鐘、指令結束即關),裡面只跑登入指令、沒有 shell。光有連結打不開任何東西;存取 token 會私訊給你。兩則訊息都請勿轉傳。繼續?",
2498
2532
  "login.web_confirm_go": "我了解,開啟",
2499
- "login.device_confirm": "🔐 開始 {0} 裝置碼登入?授權連結和一次性代碼會發在這裡。請開啟連結並輸入代碼完成登入,勿轉傳。",
2500
- "login.device_confirm_go": "開始裝置碼登入",
2533
+ "login.device_confirm": "🔐 要連接 {0} 帳號嗎?授權連結和授權碼會發在這裡。請開啟連結,在官方網站輸入授權碼完成授權,勿轉傳。",
2534
+ "login.device_confirm_go": "開始連接",
2501
2535
  "login.web_confirm_failed": "無法貼出確認按鈕",
2502
2536
  "login.web_rate_limited": "⚠️ 登入 session 太頻繁:每位 admin 每 {1} 分鐘最多 {0} 次。請稍後再試。",
2503
2537
  "login.web_flow_not_allowed": "⚠️ {0} 尚未核可使用瀏覽器終端(其登入畫面未經 shell 逃逸審查)。請設 login.mode: relay,或請維護者審查該 flow。",
@@ -2765,7 +2799,7 @@ const zhTWMessages = {
2765
2799
  "usage.note.busiest_model": "{0} 個模型中用量最高者",
2766
2800
  "usage.note.busiest_models": "{0} 個模型中用量最高者",
2767
2801
  "usage.note.used_limit_unit": "{0} / {1} {2}",
2768
- "usage.note.bonus_codes": "{0} / {1} {2} · {3} 組代碼",
2802
+ "usage.note.bonus_codes": "{0} / {1} {2} · {3} 組兌換碼",
2769
2803
  "usage.metric.agy_claude_others": "Claude 與其他模型",
2770
2804
  "usage.metric.agy_claude_others_session": "Claude 與其他模型(Session)",
2771
2805
  "usage.metric.agy_claude_others_weekly": "Claude 與其他模型(每週)",
@@ -2781,8 +2815,8 @@ const zhTWMessages = {
2781
2815
  "usage.hint.grok_no_login": "auth.json 沒有可用的登入資料。請執行 `grok login`。",
2782
2816
  "usage.hint.login_kiro": "請使用 Kiro CLI(`kiro-cli`)登入。",
2783
2817
  "usage.hint.kiro_signed_out": "目前已登出;請執行 `kiro-cli` 登入。",
2784
- "usage.hint.claude_profile_signed_out": "尚未登入;請到設定 → Agents →「AI 登入與 API 金鑰」→「帳號」。",
2785
- "usage.hint.claude_profile_signed_out_chat": "尚未登入;請到設定 → Agents →「AI 登入與 API 金鑰」→「帳號」,或用 `{0}` 登入。",
2818
+ "usage.hint.claude_profile_signed_out": "尚未連接;請到設定 → Agents →「AI 帳號與 API 金鑰」→「帳號」連接 AI 帳號。",
2819
+ "usage.hint.claude_profile_signed_out_chat": "尚未連接;請到設定 → Agents →「AI 帳號與 API 金鑰」→「帳號」連接 AI 帳號,或用 `{0}` 連接。",
2786
2820
  "usage.hint.token_refreshing": "Token 更新中 — 請稍候再試。",
2787
2821
  "usage.hint.subscription_no_credit": "訂閱方案沒有可回報的額度用量。",
2788
2822
  "usage.value.unlimited": "♾️ 無限",
@@ -3003,6 +3037,8 @@ const zhTWMessages = {
3003
3037
  "fleet.reload_removed_all": "這會移除所有 instance({0} → 0)",
3004
3038
  "fleet.reload_removed_half": "這會移除超過一半的 instance({0} → {1})",
3005
3039
  "fleet.error_suppressed": "(過去 {1} 分鐘內另有 {0} 次)",
3040
+ "runtime.enroll_folded": "⚠️ 另有 {0} 台電腦用一次性安裝指令 token 加入了 AgEnD,沒有經過核准步驟,而它們各自的通知無法送出。請開啟 設定 → Runtime,撤銷任何你不認得的電腦。",
3041
+ "runtime.enroll_joined": "⚠️ 有電腦用一次性安裝指令 token 加入了 AgEnD,沒有經過核准步驟:{0}(主機 {1},token {2},電腦 {3})。Agent 的工作現在可以派到它身上。如果不是你的電腦,請立刻撤銷:設定 → Runtime → 上面那台電腦 → 撤銷連線(會立刻斷線),並把那個安裝指令視為已外洩。",
3006
3042
  "dashboard.port_in_use": "⚠️ 儀表板無法使用 — health port {0} 已被占用。請停止衝突的 process,或設定其他 health_port。",
3007
3043
  "dashboard.server_failed": "⚠️ 儀表板無法使用 — health server 失敗:{0}",
3008
3044
  "save.usage": "用法:/save <檔名>",
@@ -3149,9 +3185,9 @@ const zhTWMessages = {
3149
3185
  "qs.agent_name_invalid": "只能使用英文字母、數字、「.」、「_」和「-」(不能只有點)。",
3150
3186
  "qs.agent_dir": "專案資料夾(直接按 Enter 使用它自己的工作區 {0}):",
3151
3187
  "qs.agent_dir_invalid": "請輸入絕對路徑,或直接按 Enter。",
3152
- "qs.web_signin_wait": "正在取得登入碼…",
3188
+ "qs.web_signin_wait": "正在取得裝置登入碼…",
3153
3189
  "qs.web_signin_title": "到網頁儀表板登入:",
3154
- "qs.web_signin_next": "fleet 啟動後,在這台電腦上用這個指令取得登入碼:{0}",
3190
+ "qs.web_signin_next": "fleet 啟動後,在這台電腦上用這個指令取得裝置登入碼:{0}",
3155
3191
  "qs.web_dashboard": "網頁儀表板:{0}",
3156
3192
  "qs.web_talk": "接著在儀表板的聊天和 {0} 對話。",
3157
3193
  "qs.env_tokens_retired": "已從 .env 移除舊的 bot token({0}),agent 不會再看到它們;原本的 .env 保留在 {1}。",
@@ -3216,8 +3252,16 @@ const zhTWMessages = {
3216
3252
  "settings_confirm.cli_question": "要套用這個變更嗎?[y/N] ",
3217
3253
  "settings_confirm.cli_interactive": "需要互動確認;--yes 表示明確確認上面列出的差異。",
3218
3254
  "settings_confirm.web_verified_label": "{0}(網頁驗證)",
3219
- "settings_confirm.host_operator_label": "這台電腦的管理者",
3220
- "settings_confirm.totp_label": "驗證器代碼",
3255
+ "settings_confirm.host_operator_label": "這個 fleet 的管理者",
3256
+ "settings_confirm.totp_label": "6 位數驗證碼(驗證器 App)",
3257
+ "settings_confirm.remote_notice": "🔔 {0} 從另一台裝置確認了一項{1}的設定變更。\n{2}\n結果:{3}\n如果不是你,請把那個瀏覽器從 dashboard 登出。",
3258
+ "settings_confirm.remote_kind_link": "會開放公開連結",
3259
+ "settings_confirm.remote_kind_secret": "會更改密鑰",
3260
+ "outside.enrolled_notice_by": "🔔 {0} 設定了自己的驗證器 App。如果不是本人,本人可以停用它;在執行 AgEnD 的那台電腦上也可以重設。",
3261
+ "outside.reenrolled_notice_by": "🔔 {0} 重新綁定了自己的驗證器 App,舊 App 的驗證碼不再有效。如果不是本人,請檢查他的登入裝置。",
3262
+ "outside.removed_notice_by": "🔔 {0} 停用了自己的驗證器 App。",
3263
+ "outside.strict_on_notice_by": "🔔 {0} 開啟了「從其他裝置確認變更時要我的驗證碼」(只約束他自己的確認)。",
3264
+ "outside.strict_off_notice_by": "🔔 {0} 關閉了「從其他裝置確認變更時要我的驗證碼」。",
3221
3265
  "settings_confirm.web_owner_required": "只有在 AgEnD 這台電腦上登入的 fleet 擁有者,才能在這裡決定 agent 的請求。",
3222
3266
  "settings_confirm.host_operator": "主機操作者",
3223
3267
  };