@songsid/agend 2.4.0-beta.22 → 2.4.0-beta.24

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 (284) hide show
  1. package/dist/agent-cli-instructions.md +4 -3
  2. package/dist/agent-cli.js +32 -2
  3. package/dist/agent-cli.js.map +1 -1
  4. package/dist/agent-file-read.js +2 -2
  5. package/dist/agent-file-read.js.map +1 -1
  6. package/dist/agent-whats-new.js +17 -1
  7. package/dist/agent-whats-new.js.map +1 -1
  8. package/dist/auth-api.d.ts +2 -0
  9. package/dist/auth-api.js +5 -2
  10. package/dist/auth-api.js.map +1 -1
  11. package/dist/authority/web-authority.d.ts +17 -3
  12. package/dist/authority/web-authority.js +56 -3
  13. package/dist/authority/web-authority.js.map +1 -1
  14. package/dist/backend/claude-code.d.ts +15 -0
  15. package/dist/backend/claude-code.js +8 -3
  16. package/dist/backend/claude-code.js.map +1 -1
  17. package/dist/backend/claude-mcp-carry.d.ts +63 -0
  18. package/dist/backend/claude-mcp-carry.js +242 -0
  19. package/dist/backend/claude-mcp-carry.js.map +1 -0
  20. package/dist/build-provenance.json +1 -1
  21. package/dist/channel/mcp-tools.js +15 -7
  22. package/dist/channel/mcp-tools.js.map +1 -1
  23. package/dist/classic-channel-manager.d.ts +1 -1
  24. package/dist/classic-channel-manager.js +2 -2
  25. package/dist/classic-channel-manager.js.map +1 -1
  26. package/dist/config-validator.js +6 -0
  27. package/dist/config-validator.js.map +1 -1
  28. package/dist/contact-auth-api.js +3 -1
  29. package/dist/contact-auth-api.js.map +1 -1
  30. package/dist/contact-auth-service.js +1 -1
  31. package/dist/contact-auth-service.js.map +1 -1
  32. package/dist/contact-auth-store.d.ts +28 -2
  33. package/dist/contact-auth-store.js +72 -4
  34. package/dist/contact-auth-store.js.map +1 -1
  35. package/dist/contact-change-proposals.d.ts +18 -1
  36. package/dist/contact-change-proposals.js +38 -4
  37. package/dist/contact-change-proposals.js.map +1 -1
  38. package/dist/contact-state-view.d.ts +103 -0
  39. package/dist/contact-state-view.js +80 -0
  40. package/dist/contact-state-view.js.map +1 -0
  41. package/dist/daemon.d.ts +11 -0
  42. package/dist/daemon.js +66 -15
  43. package/dist/daemon.js.map +1 -1
  44. package/dist/dashboard-permissions.d.ts +8 -0
  45. package/dist/dashboard-permissions.js +8 -0
  46. package/dist/dashboard-permissions.js.map +1 -1
  47. package/dist/delivery-outbox.d.ts +15 -1
  48. package/dist/delivery-outbox.js +60 -2
  49. package/dist/delivery-outbox.js.map +1 -1
  50. package/dist/fleet-manager.d.ts +157 -15
  51. package/dist/fleet-manager.js +522 -78
  52. package/dist/fleet-manager.js.map +1 -1
  53. package/dist/general-knowledge/skills/admin/SKILL.md +52 -0
  54. package/dist/general-knowledge/skills/concepts/SKILL.md +31 -21
  55. package/dist/general-knowledge/skills/credential-profiles/SKILL.md +6 -0
  56. package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +6 -3
  57. package/dist/general-knowledge/skills/fleet-config/SKILL.md +3 -3
  58. package/dist/general-knowledge/skills/hub/SKILL.md +6 -1
  59. package/dist/general-knowledge/skills/instance-lifecycle/SKILL.md +1 -1
  60. package/dist/general-knowledge/skills/task-board/SKILL.md +17 -0
  61. package/dist/general-knowledge/skills/web-appearance/SKILL.md +4 -0
  62. package/dist/general-knowledge/skills/web-dashboard/SKILL.md +75 -12
  63. package/dist/general-knowledge/skills/worker-collaboration/SKILL.md +1 -1
  64. package/dist/general-role.d.ts +1 -1
  65. package/dist/general-role.js +1 -0
  66. package/dist/general-role.js.map +1 -1
  67. package/dist/hub/client.js +6 -1
  68. package/dist/hub/client.js.map +1 -1
  69. package/dist/hub/compose/member.d.ts +2 -1
  70. package/dist/hub/compose/member.js +3 -2
  71. package/dist/hub/compose/member.js.map +1 -1
  72. package/dist/hub/compose/server.js +2 -1
  73. package/dist/hub/compose/server.js.map +1 -1
  74. package/dist/hub/http/compose.js +5 -0
  75. package/dist/hub/http/compose.js.map +1 -1
  76. package/dist/hub/protocol.d.ts +21 -0
  77. package/dist/hub/protocol.js +3 -0
  78. package/dist/hub/protocol.js.map +1 -1
  79. package/dist/hub/question-close-model.d.ts +17 -0
  80. package/dist/hub/question-close-model.js +7 -0
  81. package/dist/hub/question-close-model.js.map +1 -0
  82. package/dist/hub/representative.d.ts +5 -0
  83. package/dist/hub/representative.js +51 -1
  84. package/dist/hub/representative.js.map +1 -1
  85. package/dist/hub/rooms/direct-view.js +1 -0
  86. package/dist/hub/rooms/direct-view.js.map +1 -1
  87. package/dist/hub/rooms/types.d.ts +1 -1
  88. package/dist/hub/rooms.d.ts +3 -0
  89. package/dist/hub/rooms.js +27 -1
  90. package/dist/hub/rooms.js.map +1 -1
  91. package/dist/hub/server.js +6 -1
  92. package/dist/hub/server.js.map +1 -1
  93. package/dist/hub/types.d.ts +2 -2
  94. package/dist/human-delivery-receipts.d.ts +12 -2
  95. package/dist/human-delivery-receipts.js +19 -4
  96. package/dist/human-delivery-receipts.js.map +1 -1
  97. package/dist/instance-lifecycle.d.ts +2 -0
  98. package/dist/instance-lifecycle.js +29 -1
  99. package/dist/instance-lifecycle.js.map +1 -1
  100. package/dist/instructions.d.ts +1 -1
  101. package/dist/instructions.js +1 -1
  102. package/dist/instructions.js.map +1 -1
  103. package/dist/locale.js +110 -12
  104. package/dist/locale.js.map +1 -1
  105. package/dist/needs-you-hub.d.ts +3 -0
  106. package/dist/needs-you-hub.js +31 -5
  107. package/dist/needs-you-hub.js.map +1 -1
  108. package/dist/needs-you.d.ts +16 -1
  109. package/dist/needs-you.js +7 -1
  110. package/dist/needs-you.js.map +1 -1
  111. package/dist/office-share-page.js +2 -2
  112. package/dist/office-share-page.js.map +1 -1
  113. package/dist/office-share.js +2 -1
  114. package/dist/office-share.js.map +1 -1
  115. package/dist/outbound-handlers.d.ts +4 -0
  116. package/dist/outbound-handlers.js +69 -11
  117. package/dist/outbound-handlers.js.map +1 -1
  118. package/dist/outbound-schemas.d.ts +5 -1
  119. package/dist/outbound-schemas.js +10 -7
  120. package/dist/outbound-schemas.js.map +1 -1
  121. package/dist/public-web-gateway.js +21 -0
  122. package/dist/public-web-gateway.js.map +1 -1
  123. package/dist/reply-buttons-controller.d.ts +2 -1
  124. package/dist/reply-buttons-controller.js +1 -1
  125. package/dist/reply-buttons-controller.js.map +1 -1
  126. package/dist/request-context-compatibility.d.ts +20 -0
  127. package/dist/request-context-compatibility.js +74 -0
  128. package/dist/request-context-compatibility.js.map +1 -0
  129. package/dist/request-context-protocol.d.ts +137 -0
  130. package/dist/request-context-protocol.js +38 -0
  131. package/dist/request-context-protocol.js.map +1 -0
  132. package/dist/request-context-store.d.ts +25 -0
  133. package/dist/request-context-store.js +137 -0
  134. package/dist/request-context-store.js.map +1 -0
  135. package/dist/scheduler/db.js +26 -0
  136. package/dist/scheduler/db.js.map +1 -1
  137. package/dist/scheduler/task-board-text.d.ts +2 -0
  138. package/dist/scheduler/task-board-text.js +12 -0
  139. package/dist/scheduler/task-board-text.js.map +1 -1
  140. package/dist/scheduler/task-board.d.ts +102 -2
  141. package/dist/scheduler/task-board.js +242 -24
  142. package/dist/scheduler/task-board.js.map +1 -1
  143. package/dist/scheduler/task-files.d.ts +80 -0
  144. package/dist/scheduler/task-files.js +357 -0
  145. package/dist/scheduler/task-files.js.map +1 -0
  146. package/dist/settings-api.d.ts +2 -0
  147. package/dist/settings-api.js +6 -1
  148. package/dist/settings-api.js.map +1 -1
  149. package/dist/settings-baseline.d.ts +1 -0
  150. package/dist/settings-baseline.js +1 -1
  151. package/dist/settings-baseline.js.map +1 -1
  152. package/dist/settings-effect.d.ts +2 -0
  153. package/dist/settings-effect.js +5 -1
  154. package/dist/settings-effect.js.map +1 -1
  155. package/dist/task-attach-client.d.ts +43 -0
  156. package/dist/task-attach-client.js +125 -0
  157. package/dist/task-attach-client.js.map +1 -0
  158. package/dist/task-board-tool.d.ts +12 -0
  159. package/dist/task-board-tool.js +107 -6
  160. package/dist/task-board-tool.js.map +1 -1
  161. package/dist/task-file-limits.d.ts +15 -0
  162. package/dist/task-file-limits.js +21 -0
  163. package/dist/task-file-limits.js.map +1 -0
  164. package/dist/tool-permissions.d.ts +32 -0
  165. package/dist/tool-permissions.js +64 -1
  166. package/dist/tool-permissions.js.map +1 -1
  167. package/dist/types.d.ts +6 -0
  168. package/dist/ui/accounts-keepalive.js +2 -1
  169. package/dist/ui/agent-details-settings.js +7 -5
  170. package/dist/ui/agent-who-can-use-strings.js +125 -0
  171. package/dist/ui/agent-who-can-use.js +238 -0
  172. package/dist/ui/chat-activity.js +2 -1
  173. package/dist/ui/chat-pins.js +2 -1
  174. package/dist/ui/claude-credentials.js +2 -1
  175. package/dist/ui/contact-auth-strings.js +28 -17
  176. package/dist/ui/contact-authorizations.js +6 -4
  177. package/dist/ui/contact-needs.js +6 -1
  178. package/dist/ui/contact-permissions.js +6 -4
  179. package/dist/ui/contact-tool-groups.js +1 -1
  180. package/dist/ui/contact-verify-need.js +46 -0
  181. package/dist/ui/fleet-cache.js +2 -1
  182. package/dist/ui/fleet-office-card.js +23 -5
  183. package/dist/ui/fleet-office-editor.js +5 -5
  184. package/dist/ui/fleet-office-pack.d.ts +10 -0
  185. package/dist/ui/fleet-office-pack.js +65 -2
  186. package/dist/ui/fleet-office-skin.js +52 -14
  187. package/dist/ui/fleet-office-store.js +33 -2
  188. package/dist/ui/fleet-office-vehicles.js +130 -0
  189. package/dist/ui/fleet-office-zones.js +27 -10
  190. package/dist/ui/fleet-office.js +128 -40
  191. package/dist/ui/fleet-org.js +6 -1
  192. package/dist/ui/fleet-tab-icons.js +19 -0
  193. package/dist/ui/fleet-task-activity.js +11 -83
  194. package/dist/ui/fleet-task-archive.js +111 -0
  195. package/dist/ui/fleet-task-card.js +6 -4
  196. package/dist/ui/fleet-task-common.js +2 -2
  197. package/dist/ui/fleet-task-edit.js +8 -1
  198. package/dist/ui/fleet-task-files.js +196 -0
  199. package/dist/ui/fleet-task-md.js +98 -0
  200. package/dist/ui/fleet-task-menu.js +1 -1
  201. package/dist/ui/fleet-task-stats.js +2 -2
  202. package/dist/ui/fleet-task-view.js +14 -9
  203. package/dist/ui/fleet-tasks.js +42 -18
  204. package/dist/ui/fleet-usage.js +2 -1
  205. package/dist/ui/hub-admin-overview.js +2 -1
  206. package/dist/ui/hub-agent-intro.js +2 -1
  207. package/dist/ui/hub-assistant-admin.js +2 -1
  208. package/dist/ui/hub-directory-notices.js +2 -1
  209. package/dist/ui/hub-enrolment-code.js +2 -1
  210. package/dist/ui/hub-my-agents.js +2 -1
  211. package/dist/ui/hub-quick-pairing.js +2 -1
  212. package/dist/ui/hub-role-audit.js +2 -1
  213. package/dist/ui/hub-role-forms.js +3 -2
  214. package/dist/ui/hub-role-view.js +3 -2
  215. package/dist/ui/hub-roles.js +2 -1
  216. package/dist/ui/hub-room-agent-strings.js +2 -1
  217. package/dist/ui/hub-room-list.js +2 -1
  218. package/dist/ui/hub-room-owner-requests.js +2 -1
  219. package/dist/ui/hub-room-pins.js +2 -1
  220. package/dist/ui/hub-room-strings.js +2 -2
  221. package/dist/ui/hub-room-thread.js +1 -1
  222. package/dist/ui/log-row.js +4 -3
  223. package/dist/ui/office-share-dialog.js +2 -1
  224. package/dist/ui/office-share-page.js +2 -1
  225. package/dist/ui/page-share-dialog.js +3 -2
  226. package/dist/ui/panel-chat.js +2 -1
  227. package/dist/ui/panel-details.js +5 -2
  228. package/dist/ui/panel-fleet.js +10 -5
  229. package/dist/ui/panel-hub.js +2 -1
  230. package/dist/ui/panel-needs.js +34 -6
  231. package/dist/ui/panel-notices.js +2 -1
  232. package/dist/ui/panel-runtimes.js +2 -1
  233. package/dist/ui/panel-settings.js +15 -1
  234. package/dist/ui/panel-windows-cli.js +3 -2
  235. package/dist/ui/runtime-cli-install.js +2 -1
  236. package/dist/ui/settings-appearance.js +2 -1
  237. package/dist/ui/settings-guests.js +4 -3
  238. package/dist/ui/settings-hub-member-address.js +2 -1
  239. package/dist/ui/settings-hub-setup.js +2 -1
  240. package/dist/ui/settings-hub-web-address.js +2 -1
  241. package/dist/ui/settings-hub.js +2 -1
  242. package/dist/ui/settings-registry.js +1 -0
  243. package/dist/ui/settings-shared-strings.js +9 -0
  244. package/dist/ui/settings-shared.js +6 -1
  245. package/dist/ui/settings-update.js +2 -1
  246. package/dist/ui/settings-web-authority.js +2 -1
  247. package/dist/ui/shared/agent-sheet.js +2 -1
  248. package/dist/ui/shared/app-i18n.js +2 -2
  249. package/dist/ui/shared/app-needs.js +8 -1
  250. package/dist/ui/shared/app-session.js +4 -3
  251. package/dist/ui/shared/app-shell.js +6 -2
  252. package/dist/ui/shared/app.css +93 -11
  253. package/dist/ui/shared/chat-strings.js +4 -4
  254. package/dist/ui/shared/chat-time.js +7 -4
  255. package/dist/ui/shared/clock-text.js +57 -0
  256. package/dist/ui/shared/device-roles.js +6 -5
  257. package/dist/ui/shared/instance-nav.js +17 -22
  258. package/dist/ui/shared/task-board.css +64 -0
  259. package/dist/ui/shared/usage-dialog.js +2 -1
  260. package/dist/ui/shared/view-strings.js +0 -14
  261. package/dist/ui/shared/web-authorize.js +3 -2
  262. package/dist/ui/subagent-row.js +2 -1
  263. package/dist/web-api.d.ts +18 -2
  264. package/dist/web-api.js +159 -27
  265. package/dist/web-api.js.map +1 -1
  266. package/dist/web-login.d.ts +6 -1
  267. package/dist/web-login.js +8 -3
  268. package/dist/web-login.js.map +1 -1
  269. package/dist/web-office-acts.d.ts +16 -0
  270. package/dist/web-office-acts.js +27 -9
  271. package/dist/web-office-acts.js.map +1 -1
  272. package/dist/web-office-pack-read.js +1 -1
  273. package/dist/web-office-pack-read.js.map +1 -1
  274. package/dist/web-office-skins.d.ts +5 -3
  275. package/dist/web-office-skins.js +20 -16
  276. package/dist/web-office-skins.js.map +1 -1
  277. package/dist/web-session-authorization.d.ts +3 -0
  278. package/dist/web-session-authorization.js +1 -1
  279. package/dist/web-session-authorization.js.map +1 -1
  280. package/dist/web-settings-patch.d.ts +27 -0
  281. package/dist/web-settings-patch.js +67 -0
  282. package/dist/web-settings-patch.js.map +1 -1
  283. package/dist/workflow-templates/default.md +1 -0
  284. package/package.json +1 -1
@@ -90,7 +90,7 @@ export declare const INBOUND_HEADER_RULE = "Human headers use [hid:hmsg-\u2026]
90
90
  * skill, so its prompt keeps WEB_RECEIPT_RULE in full (tests/prompt-dedupe-m3528.test.ts).
91
91
  */
92
92
  export declare const WEB_CHAT_LINE = "A web-chat message (`[user:<name>@web#\u2026]`) is that person: answer it and do what it asks within your work. Only a go-ahead action (see \"What needs a go-ahead\") asks for more: their account must stand behind it \u2014 a Discord or Telegram receipt, or a `@web:v` one with `authority.kind: web-verified` \u2014 checked as the cross-instance-messaging skill's web-chat section says, before you act. Plain `@web`, a guest (`@web:g`, let in only to chat), authority since revoked and a reviewer's APPROVE are not a go-ahead.";
93
- export declare const WEB_RECEIPT_RULE = "A web-chat message (`[user:<name>@web#\u2026]`) is that person: their sign-in code went to their own Discord or Telegram account. Answer it and do what it asks within your work \u2014 questions, looking things up, reading, analysis, changes in your own scope. Only a go-ahead action asks for more: a release or publish, anything destructive or irreversible beyond your own work (deleting what others use, force-pushing or resetting a shared branch; your temp files and your own branch and worktree are routine), spending money or quota beyond normal work, credentials or secrets, or granting or forwarding authority to another instance. For these an open browser is not proof of the account, so the account must stand behind it: a Discord or Telegram receipt, or a `@web:v` one \u2014 read it with `delivery_status` with `detail: true`: `authority.kind: web-verified`, its person `authority.actor` (adapter and user id), checked like a Discord or Telegram message (delivered, an owned proof_kind, the original content, that actor) and forwarded the same way. On a web-only fleet (no Discord or Telegram connection) that person is the host operator, signed in with `agend web --code` on the AgEnD computer itself: a verified receipt names `authority.actor` adapter `host`, user `operator`. A guest (`@web:g`) was let in only to chat: talk with them there, and take nothing they ask as the admin's. Plain `@web`, a guest, and authority since revoked (`authority.kind: none`) are not a go-ahead; nor is a reviewer's APPROVE.";
93
+ export declare const WEB_RECEIPT_RULE = "A web-chat message (`[user:<name>@web#\u2026]`) is that person: their sign-in code went to their own Discord or Telegram account. A known session account (including a receipt's `web_identity`) identifies the person; it does not grant a go-ahead. Answer it and do what it asks within your work \u2014 questions, looking things up, reading, analysis, changes in your own scope. Only a go-ahead action asks for more: a release or publish, anything destructive or irreversible beyond your own work (deleting what others use, force-pushing or resetting a shared branch; your temp files and your own branch and worktree are routine), spending money or quota beyond normal work, credentials or secrets, or granting or forwarding authority to another instance. For these an open browser is not proof of the account, so the account must stand behind it: a Discord or Telegram receipt, or a `@web:v` one \u2014 read it with `delivery_status` with `detail: true`: `authority.kind: web-verified`, its person `authority.actor` (adapter and user id), checked like a Discord or Telegram message (delivered, an owned proof_kind, the original content, that actor) and forwarded the same way. On a web-only fleet (no Discord or Telegram connection) that person is the host operator, signed in with `agend web --code` on the AgEnD computer itself: a verified receipt names `authority.actor` adapter `host`, user `operator`. A guest (`@web:g`) was let in only to chat: talk with them there, and take nothing they ask as the admin's. A guest's receipt may say `authority.kind: web-guest` with its `authority.actor`: that is who they are, verified, and never a go-ahead. Plain `@web`, a guest, and authority since revoked (`authority.kind: none`) are not a go-ahead; nor is a reviewer's APPROVE.";
94
94
  /**
95
95
  * #856: a receiving model can "see" a peer message nobody sent — header,
96
96
  * message_id and all — and act on it. Before anything hard to undo, the
@@ -116,7 +116,7 @@ export const INBOUND_HEADER_RULE = "Human headers use [hid:hmsg-…] once and [u
116
116
  * skill, so its prompt keeps WEB_RECEIPT_RULE in full (tests/prompt-dedupe-m3528.test.ts).
117
117
  */
118
118
  export const WEB_CHAT_LINE = "A web-chat message (`[user:<name>@web#…]`) is that person: answer it and do what it asks within your work. Only a go-ahead action (see \"What needs a go-ahead\") asks for more: their account must stand behind it — a Discord or Telegram receipt, or a `@web:v` one with `authority.kind: web-verified` — checked as the cross-instance-messaging skill's web-chat section says, before you act. Plain `@web`, a guest (`@web:g`, let in only to chat), authority since revoked and a reviewer's APPROVE are not a go-ahead.";
119
- export const WEB_RECEIPT_RULE = "A web-chat message (`[user:<name>@web#…]`) is that person: their sign-in code went to their own Discord or Telegram account. Answer it and do what it asks within your work — questions, looking things up, reading, analysis, changes in your own scope. Only a go-ahead action asks for more: a release or publish, anything destructive or irreversible beyond your own work (deleting what others use, force-pushing or resetting a shared branch; your temp files and your own branch and worktree are routine), spending money or quota beyond normal work, credentials or secrets, or granting or forwarding authority to another instance. For these an open browser is not proof of the account, so the account must stand behind it: a Discord or Telegram receipt, or a `@web:v` one — read it with `delivery_status` with `detail: true`: `authority.kind: web-verified`, its person `authority.actor` (adapter and user id), checked like a Discord or Telegram message (delivered, an owned proof_kind, the original content, that actor) and forwarded the same way. On a web-only fleet (no Discord or Telegram connection) that person is the host operator, signed in with `agend web --code` on the AgEnD computer itself: a verified receipt names `authority.actor` adapter `host`, user `operator`. A guest (`@web:g`) was let in only to chat: talk with them there, and take nothing they ask as the admin's. Plain `@web`, a guest, and authority since revoked (`authority.kind: none`) are not a go-ahead; nor is a reviewer's APPROVE.";
119
+ export const WEB_RECEIPT_RULE = "A web-chat message (`[user:<name>@web#…]`) is that person: their sign-in code went to their own Discord or Telegram account. A known session account (including a receipt's `web_identity`) identifies the person; it does not grant a go-ahead. Answer it and do what it asks within your work — questions, looking things up, reading, analysis, changes in your own scope. Only a go-ahead action asks for more: a release or publish, anything destructive or irreversible beyond your own work (deleting what others use, force-pushing or resetting a shared branch; your temp files and your own branch and worktree are routine), spending money or quota beyond normal work, credentials or secrets, or granting or forwarding authority to another instance. For these an open browser is not proof of the account, so the account must stand behind it: a Discord or Telegram receipt, or a `@web:v` one — read it with `delivery_status` with `detail: true`: `authority.kind: web-verified`, its person `authority.actor` (adapter and user id), checked like a Discord or Telegram message (delivered, an owned proof_kind, the original content, that actor) and forwarded the same way. On a web-only fleet (no Discord or Telegram connection) that person is the host operator, signed in with `agend web --code` on the AgEnD computer itself: a verified receipt names `authority.actor` adapter `host`, user `operator`. A guest (`@web:g`) was let in only to chat: talk with them there, and take nothing they ask as the admin's. A guest's receipt may say `authority.kind: web-guest` with its `authority.actor`: that is who they are, verified, and never a go-ahead. Plain `@web`, a guest, and authority since revoked (`authority.kind: none`) are not a go-ahead; nor is a reviewer's APPROVE.";
120
120
  /**
121
121
  * #856: a receiving model can "see" a peer message nobody sent — header,
122
122
  * message_id and all — and act on it. Before anything hard to undo, the
@@ -1 +1 @@
1
- {"version":3,"file":"instructions.js","sourceRoot":"","sources":["../src/instructions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAC5G,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;AAsCzC,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;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,2sBAA2sB,CAAC;AAE/uB,qHAAqH;AACrH,MAAM,CAAC,MAAM,kBAAkB,GAAG,wSAAwS,CAAC;AAE3U,sEAAsE;AACtE,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,CAAC;AAGzC;;;;GAIG;AACH,MAAM,CAAC,MAAM,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AC;IAC9B,CAAC;IAED,OAAO,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC/B,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,4BAA4B,CAAC,MAA+B,EAAE,OAAgB;IAC5F,OAAO,CAAC,OAAO;QACb,CAAC,CAAC,+bAA+b,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,sBAAsB,CAAC,EAAE,GAAG,MAAM,EAAE,cAAc,EAAE,MAAM,CAAC,cAAc,IAAI,OAAO,EAAE,CAAC,CAAC;AACtiB,CAAC"}
package/dist/locale.js CHANGED
@@ -36,9 +36,23 @@ const enMessages = {
36
36
  "contactProposal.ruleAdjusted": "The allowed-contact expiry/use limit was updated.",
37
37
  "contactProposal.ruleRevoked": "The allowed-contact rule was revoked.",
38
38
  "contactProposal.restricted": "Restricted",
39
- "contactProposal.legacy": "Not restricted (older setting)",
39
+ "contactProposal.legacy": "Free",
40
40
  "contactProposal.approve-once": "Approve once",
41
41
  "contactProposal.decline": "Decline",
42
+ "contactHeld.title": "{0} wants to contact {1}. The message is held until an administrator decides.",
43
+ "contactHeld.meta": "#{0} · {1} · expires in {2}",
44
+ "contactHeld.minutes": "{0} min",
45
+ "contactHeld.hours": "about {0} h",
46
+ "contactHeld.hint": "Approve once lets this one message through. Fleet › Authorizations on the dashboard has the same request, with more choices.",
47
+ "contactHeld.approve": "Approve once",
48
+ "contactHeld.decline": "Decline",
49
+ "contactHeld.approved": "Approved once by {0}. The message was sent.",
50
+ "contactHeld.declined": "Declined by {0}. The agent is told.",
51
+ "contactHeld.approvedElsewhere": "Approved elsewhere (the dashboard or another card).",
52
+ "contactHeld.declinedElsewhere": "Declined elsewhere (the dashboard or another card).",
53
+ "contactHeld.closed": "This request is no longer waiting.",
54
+ "contactHeld.expired": "This card expired. The request may still wait in Fleet › Authorizations until its own expiry.",
55
+ "contactHeld.failed": "Couldn't decide it here. Open Fleet › Authorizations on the dashboard.",
42
56
  "contactProposal.title": "General proposes a contact-permission change. Nothing changes until an admin confirms.",
43
57
  "contactProposal.target": "Target: {0}",
44
58
  "contactProposal.ticket": "Request #{0} from {1}: {2}",
@@ -57,6 +71,22 @@ const enMessages = {
57
71
  "contactProposal.applied": "Contact-permission change applied.",
58
72
  "contactProposal.cancelled": "Proposal cancelled; nothing changed.",
59
73
  "contactProposal.failed": "Could not confirm the change. Check the current Permissions or Authorizations page before proposing again.",
74
+ "contactProposal.err_general-only": "Not proposed: only this fleet's configured General can propose a contact change.",
75
+ "contactProposal.err_hub-contact-restricted": "Not proposed: this turn is answering a Hub question, so General cannot propose changes now. Try again from the next turn.",
76
+ "contactProposal.err_contact-proposal-limit": "Not proposed: too many proposals are already waiting for an admin. Ask the admin to confirm or cancel the open cards first (they expire after five minutes).",
77
+ "contactProposal.err_contact-proposal-ticket-unavailable": "Not proposed: no pending held message has that ticket id. It may already be approved, declined or expired. Call contact_state to see what is held now and use the id shown there (the 9-character short id works).",
78
+ "contactProposal.err_contact-proposal-ticket-ambiguous": "Not proposed: more than one pending held message starts with that id. Call contact_state and use the full ticket id.",
79
+ "contactProposal.err_conflict": "Not proposed: the permissions changed while this was being prepared (a newer revision). Call contact_state again and propose with the current state.",
80
+ "contactProposal.err_stale-generation": "Not proposed: one of the agents was replaced or reset since this was held, so the old decision no longer applies. The sender can send again; a new held message can then be approved.",
81
+ "contactProposal.err_invalid-grant-origin": "Not proposed: a standing rule needs exactly the people the held message came from, and its origin is unknown or the people do not match. Propose approve-once without a rule instead.",
82
+ "contactProposal.err_contact-proposal-not-room": "Not proposed: that target is not a ClassicBot room, so it has no restricted/unrestricted mode. Mode changes apply to rooms only.",
83
+ "contactProposal.err_not-found": "Not proposed: that rule (grant id) is not on the target. Call contact_state to see its current rules and their ids.",
84
+ "contactProposal.err_invalid-grant": "Not proposed: the expiry must be in the future. Propose again with a later expires_at.",
85
+ "contactProposal.err_forbidden": "Not proposed: the person who would confirm is not allowed to decide this. An admin of the target must confirm it.",
86
+ "contactProposal.err_contact-proposal-use-web": "Not proposed: the target is not on Discord or Telegram, so no confirmation card can be posted. The admin approves it in the web dashboard: Fleet › Authorizations (on any link), or Needs you.",
87
+ "contactProposal.err_contact-proposal-route-unavailable": "Not proposed: there is not exactly one General on the target's Discord/Telegram connection to post the confirmation card. The admin approves it in the web dashboard: Fleet › Authorizations (on any link), or Needs you.",
88
+ "contactProposal.err_invalid": "Not proposed: {0}. Check the fields for this kind in the tool description.",
89
+ "contactProposal.err_other": "Not proposed ({0}). Call contact_state to check the current state, or ask the admin to use the web dashboard's Permissions / Authorizations page.",
60
90
  "host_cli.install_confirm": "Install {0} on the AgEnD host",
61
91
  "logs.capped_tail": "Capped at {0} lines; only the recent log tail is available here.",
62
92
  "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)",
@@ -136,7 +166,16 @@ const enMessages = {
136
166
  "classic.started": "✅ Agent started in this channel. Use `/chat <message>` or @mention to talk.",
137
167
  "classic.started.telegram": "✅ Agent started in this chat. @mention me to talk (or `/chat <message>`).",
138
168
  "classic.choose_backend": "Choose a backend for this agent:",
139
- "classic.restricted_start_notice": "New rooms start in restricted mode. Guard coverage is verified when the AI tool starts. If it is not covered, it runs with its normal permissions; only contact approval applies.",
169
+ "classic.backend_chosen": "Backend: {0}",
170
+ "classic.choose_mode": "Choose Free or Restricted. Free is recommended. Guard coverage is verified when the AI tool starts. If it is not covered, it runs with its normal permissions; only contact approval applies.",
171
+ "classic.choose_mode_fixed": "This room will use Restricted mode. Free mode is only for a fleet admin. Guard coverage is verified when the AI tool starts. If it is not covered, it runs with its normal permissions; only contact approval applies.",
172
+ "classic.mode_restricted": "Restricted",
173
+ "classic.mode_free": "Free",
174
+ "classic.mode_free_recommended": "Free (recommended)",
175
+ "classic.mode_free_admin_only": "Free mode is only for a fleet admin.",
176
+ "classic.mode_selection_expired": "⏰ Mode selection expired. Run /start again to choose.",
177
+ "classic.mode_menu_failed": "Couldn't show the mode choice. Run /start again. Nothing was created.",
178
+ "classic.backend_menu_failed": "Couldn't show the backend choice. Run /start again. Nothing was created.",
140
179
  "classic.restricted_backend_notice": "Guard coverage is verified when the AI tool starts. If it is not covered, it runs with its normal permissions; only contact approval applies.",
141
180
  "classic.backend_required": "Choose a backend in the `/start` command and try again. If no backend field is shown, refresh Discord and reopen the command.",
142
181
  "classic.selection_expired": "⏰ Backend selection expired. Run /start again to choose.",
@@ -188,6 +227,7 @@ const enMessages = {
188
227
  "web_auth.card_not_saved": "⚠️ {0} is signed out for now, but this couldn't be saved: a fleet restart may bring that browser's session back. Fix the permissions on ~/.agend/web-sessions.json, then run /web revoke.",
189
228
  "web_auth.card_ended": "⌛ The authorization for {0} has ended. Authorize it again from the dashboard, or sign in again with /web, if you still want it.",
190
229
  "web_auth.signed_in": "🔐 {0} · {1} signed in with the code sent to you, and is verified until {2}: its messages carry your authority. Not you? Press Not me: it is signed out at once.",
230
+ "web_auth.signed_in_guest": "🔐 {0} · {1} signed in as a guest with the code sent to you, and is verified as you until {2}: agents know its messages are yours. Not you? Press Not me: it is signed out at once.",
191
231
  "web_auth.signed_in_hint": "🔐 A browser signed in to the AgEnD dashboard with your code, but the notice couldn't be sent to you privately. If it wasn't you, run /web revoke.",
192
232
  "web_auth.general_hint": "🔐 A web authorization couldn't be sent to you privately. Open your DMs with this bot, then press Authorize again on the dashboard.",
193
233
  "web_auth.confirm": "Confirm",
@@ -414,6 +454,10 @@ const enMessages = {
414
454
  "needs.model_switch.turn": "turn", "needs.model_switch.session": "session", "needs.model_switch.unknown": "scope unknown",
415
455
  "needs.reason.usage_limit": "Usage limit reached · {0} · reset time unknown",
416
456
  "needs.reason.backend_missing": "AI CLI not installed",
457
+ "needs.reason.mcp_missing": "MCP servers missing after an AI account switch",
458
+ "needs.mcp_missing_line": "{0}: {1}",
459
+ "needs.mcp_missing_detail": "{0} ({1} → {2})",
460
+ "needs.mcp_missing_sep": ", ",
417
461
  "needs.reason.backend_signin": "AI account needs connecting",
418
462
  // #3292: Keep sign-in alive. {0}: the CLI, {1}: the account (a profile's name, or "default sign-in"), {2}: a date.
419
463
  "keepalive.default_name": "default sign-in",
@@ -432,19 +476,23 @@ const enMessages = {
432
476
  "hub.contactRefused": "Not sent: this turn is answering a Hub question, and an answer turn may not contact other agents, so what the asker shared stays with this agent. Put your whole answer in report_result to agend-hub; messages to other agents work again from your next turn.",
433
477
  "hub.contactRefusedFor": "Not sent: this turn is answering Hub question {0}, and an answer turn may not contact other agents, so what the asker shared stays with this agent. This is not stuck: it lifts when this answer turn ends. Put your whole answer in report_result to agend-hub with correlation_id {0}; messages to other agents work again from your next turn.",
434
478
  "contact.held": "Contact application awaiting approval. Do not resend it.",
479
+ "contact.heldAgent": "Contact application awaiting approval. Do not resend it. You get a notice when it is decided; to check, call delivery_status with held_requests: true.",
435
480
  "contact.originNonAdmin": "AgEnD: this request is from a room member, not an administrator. Contacting other agents needs approval.",
436
- "contact.originUnknown": "AgEnD: the originating person is unverified. Contacting other agents needs approval.",
437
- "contact.refusedEarlier": "Not sent: this agent's retained history includes non-admin input. Contact requires approval. Do not resend; an approver can approve this exact application.",
438
- "contact.refusedUnknown": "Not sent: the originating person could not be verified. Contact requires approval. Do not resend; an approver can approve this exact application.",
481
+ "contact.originUnknown": "AgEnD: the originating person is unidentified. Contacting other agents needs approval.",
482
+ "contact.refusedEarlier": "Not sent: this agent's retained history includes non-admin input. Contact requires approval. Do not resend; an approver can approve this exact application. You get a notice when it is decided; to check, call delivery_status with held_requests: true.",
483
+ "contact.refusedUnknown": "Not sent: this conversation has an unknown origin and needs contact approval. Do not resend. A verified managing admin can accept this conversation as their own work in the sending agent's Permissions → Clear retained origin. Existing applications still need a decision. You get a notice when it is decided; to check, call delivery_status with held_requests: true.",
439
484
  "contact.approved": "This contact application was approved for forwarding.",
440
485
  "contact.updated": "This contact application's status changed.",
441
486
  "contact.noticeDeclined": "Contact #{0} to {1} was declined. It was not forwarded; stop waiting. Status only, no permission granted.",
442
487
  "contact.noticeExpired": "Contact #{0} to {1} expired. It was not forwarded; stop waiting. Status only, no permission granted.",
488
+ "contact.noticeApproved_delivered": "Your held message #{0} was approved by {2} at {3} and delivered to {1}. Do not send it again; wait for {1} to answer.",
489
+ "contact.noticeApproved_queued": "Your held message #{0} was approved by {2} at {3}. It is queued for {1} and arrives when {1} can take it. Do not send it again.",
490
+ "contact.noticeApproved_unconfirmed": "Your held message #{0} was approved by {2} at {3}, but delivery to {1} is not confirmed. Check delivery_status with held_requests: true before you send anything again.",
443
491
  "contact.suggest": "Consider restricted mode: room chat continues, non-admin contact needs approval, and tools outside the room allowance stop. Review the tool impact in Permissions; nothing changes automatically.",
444
492
  "contact.mcpAccountWarning": "This tool may use the owner's API key or account, with its cost and identity. Review its configuration before allowing it.",
445
493
  "needs.reason.contact_request": "Contact application awaiting approval",
446
494
  "needs.reason.contact_restricted_suggestion": "Consider restricted mode for this room",
447
- "needs.contact_suggestions": "{0} existing ClassicBot room(s) can switch to restricted mode — to review: /web → Needs you, or a room's Details → Permissions. Nothing changes on its own.",
495
+ "needs.contact_suggestions": "{0} existing ClassicBot room(s) can switch to restricted mode — to review: /web → Needs you, or a room's Settings → Permissions. Nothing changes on its own.",
448
496
  "hub.hold.hub-incomplete": "This version of AgEnD doesn't include every part of the Hub yet, so it stays off.",
449
497
  "hub.browserCertificate.replace": "Replace the Hub browser certificate. The member transport identity stays the same.",
450
498
  "hub.browserCertificate.fingerprint": "SHA-256 fingerprint: {0}",
@@ -732,6 +780,7 @@ const enMessages = {
732
780
  "inst.claude_model_fallback": "The selected Claude model is unavailable. Claude Code is currently using {0}; use /model to choose a supported model.",
733
781
  "inst.claude_model_unavailable": "The selected Claude model is unavailable or unrecognized. Claude Code may be using a fallback; use /model to choose a supported model.",
734
782
  "inst.model_usage_limit": "Claude has reached its {0} usage limit — reset time unknown. Messages reach it but fail until the limit clears or the model is switched (/model).",
783
+ "inst.mcp_missing": "MCP servers missing after the Claude account switch ({0} → {1}): {2}. They were in your previous account's Claude settings and are not in this one, so their tools did not load. To add one back, run `claude mcp add -s local <name> …` in your shell (it writes this account's settings), then ask to be restarted. Ask the user if it needs a key.",
735
784
  "inst.quota_line": "⚠️ {0} {1} used up",
736
785
  "inst.quota_line_paused": "⚠️ {0} {1} used up — paused",
737
786
  "inst.quota_reset_at": "{0} (resets at {1})",
@@ -1927,9 +1976,23 @@ const zhTWMessages = {
1927
1976
  "contactProposal.ruleAdjusted": "已更新常用轉交的到期時間/次數。",
1928
1977
  "contactProposal.ruleRevoked": "已撤銷常用轉交規則。",
1929
1978
  "contactProposal.restricted": "受限模式",
1930
- "contactProposal.legacy": "未受限(舊設定)",
1979
+ "contactProposal.legacy": "自由模式",
1931
1980
  "contactProposal.approve-once": "核准這一次",
1932
1981
  "contactProposal.decline": "拒絕",
1982
+ "contactHeld.title": "{0} 想聯絡 {1}。訊息已暫留,等管理員決定。",
1983
+ "contactHeld.meta": "#{0} · {1} · {2}後到期",
1984
+ "contactHeld.minutes": "{0} 分鐘",
1985
+ "contactHeld.hours": "約 {0} 小時",
1986
+ "contactHeld.hint": "「核准這一次」只放行這一則訊息。網頁的 Fleet › 授權 也有這筆申請,選項更多。",
1987
+ "contactHeld.approve": "核准這一次",
1988
+ "contactHeld.decline": "拒絕",
1989
+ "contactHeld.approved": "{0} 已核准這一次,訊息已送出。",
1990
+ "contactHeld.declined": "{0} 已拒絕,已通知該 Agent。",
1991
+ "contactHeld.approvedElsewhere": "已在別處核准(網頁或另一張卡片)。",
1992
+ "contactHeld.declinedElsewhere": "已在別處拒絕(網頁或另一張卡片)。",
1993
+ "contactHeld.closed": "這筆申請已不在等待中。",
1994
+ "contactHeld.expired": "這張卡片已過期。申請在到期前仍可在 Fleet › 授權 處理。",
1995
+ "contactHeld.failed": "無法在這裡決定,請到網頁的 Fleet › 授權 處理。",
1933
1996
  "contactProposal.title": "General 提出聯絡權限變更。管理員確認前,不會套用。",
1934
1997
  "contactProposal.target": "目標:{0}",
1935
1998
  "contactProposal.ticket": "申請 #{0},來自 {1}:{2}",
@@ -1948,6 +2011,22 @@ const zhTWMessages = {
1948
2011
  "contactProposal.applied": "已套用聯絡權限變更。",
1949
2012
  "contactProposal.cancelled": "已取消提案,未變更設定。",
1950
2013
  "contactProposal.failed": "無法確認變更結果。請先查看目前的「權限」或「授權」頁,再重新提出。",
2014
+ "contactProposal.err_general-only": "沒有提出:只有這個 fleet 設定的 General 可以提出聯絡權限的變更。",
2015
+ "contactProposal.err_hub-contact-restricted": "沒有提出:這一輪正在回答 Hub 的提問,General 現在不能提出變更。請從下一輪再試。",
2016
+ "contactProposal.err_contact-proposal-limit": "沒有提出:已有太多提案在等管理員處理。請管理員先確認或取消現有的卡片(五分鐘後會到期)。",
2017
+ "contactProposal.err_contact-proposal-ticket-unavailable": "沒有提出:沒有符合這個票號、仍在等待的訊息,可能已經核准、拒絕或過期。請先呼叫 contact_state 看目前被擋住的訊息,再用那裡顯示的票號(9 碼短票號也可以)。",
2018
+ "contactProposal.err_contact-proposal-ticket-ambiguous": "沒有提出:有不只一則等待中的訊息以這個票號開頭。請呼叫 contact_state,改用完整票號。",
2019
+ "contactProposal.err_conflict": "沒有提出:準備期間權限已有更新(版本變了)。請重新呼叫 contact_state,依目前狀態再提出。",
2020
+ "contactProposal.err_stale-generation": "沒有提出:訊息被擋住之後,相關的 Agent 已被替換或重設,原本的決定不再適用。請寄件的 Agent 重新傳送,新的待核准訊息就可以核准。",
2021
+ "contactProposal.err_invalid-grant-origin": "沒有提出:長期規則必須正好對應這則訊息的來源人員,但來源不明或人員不符。請改成只核准這一次、不建立規則。",
2022
+ "contactProposal.err_contact-proposal-not-room": "沒有提出:這個對象不是 ClassicBot 房間,沒有「受限/自由」模式可以切換。模式只適用於房間。",
2023
+ "contactProposal.err_not-found": "沒有提出:對象上沒有這條規則(grant id)。請呼叫 contact_state 查看目前的規則與 id。",
2024
+ "contactProposal.err_invalid-grant": "沒有提出:到期時間必須在未來。請用較晚的 expires_at 再提出。",
2025
+ "contactProposal.err_forbidden": "沒有提出:要確認的人沒有權限決定這件事,必須由對象的管理員確認。",
2026
+ "contactProposal.err_contact-proposal-use-web": "沒有提出:對象不在 Discord 或 Telegram 上,無法貼出確認卡片。請管理員在網頁儀表板核准:Fleet ›「授權」(任何連結都可以),或「需要你」。",
2027
+ "contactProposal.err_contact-proposal-route-unavailable": "沒有提出:對象的 Discord/Telegram 連線上不是正好只有一個 General,無法貼出確認卡片。請管理員在網頁儀表板核准:Fleet ›「授權」(任何連結都可以),或「需要你」。",
2028
+ "contactProposal.err_invalid": "沒有提出:{0}。請依工具說明檢查這種類型需要的欄位。",
2029
+ "contactProposal.err_other": "沒有提出({0})。請呼叫 contact_state 確認目前狀態,或請管理員使用網頁儀表板的「權限」/「授權」頁。",
1951
2030
  "host_cli.install_confirm": "在 AgEnD 主機上安裝 {0}",
1952
2031
  "logs.capped_tail": "最多顯示 {0} 行;這裡僅提供最近的日誌末段。",
1953
2032
  "config.general_missing": "連線「{0}」沒有 general_topic Agent,因此不在 Agent 主題裡的訊息沒有分派器(請到「設定 → Agent → 該 Agent 的設定 → 進階」,啟用「General topic(fleet 分派器)」並選擇這個連線)",
@@ -2026,7 +2105,16 @@ const zhTWMessages = {
2026
2105
  "classic.started": "✅ Agent 已在此頻道啟動。用 `/chat <訊息>` 或 @mention 對話。",
2027
2106
  "classic.started.telegram": "✅ Agent 已在此聊天啟動。@我 就能對話(也可用 `/chat <訊息>`)。",
2028
2107
  "classic.choose_backend": "請選擇此 Agent 的後端:",
2029
- "classic.restricted_start_notice": "新房間預設使用受限模式。AI 工具啟動時會確認防護範圍;若不在防護範圍內,會以原本的權限執行,只有聯絡申請需要核准。",
2108
+ "classic.backend_chosen": "後端:{0}",
2109
+ "classic.choose_mode": "請選擇自由模式或受限模式。建議使用自由模式。AI 工具啟動時會確認防護範圍;若不在防護範圍內,會以原本的權限執行,只有聯絡申請需要核准。",
2110
+ "classic.choose_mode_fixed": "這個房間會使用受限模式。只有 Fleet 管理員可以選擇自由模式。AI 工具啟動時會確認防護範圍;若不在防護範圍內,會以原本的權限執行,只有聯絡申請需要核准。",
2111
+ "classic.mode_restricted": "受限模式",
2112
+ "classic.mode_free": "自由模式",
2113
+ "classic.mode_free_recommended": "自由模式(建議)",
2114
+ "classic.mode_free_admin_only": "只有 Fleet 管理員可以選擇自由模式。",
2115
+ "classic.mode_selection_expired": "⏰ 模式選擇逾時。請再次執行 /start。",
2116
+ "classic.mode_menu_failed": "無法顯示模式選擇。請再次執行 /start。尚未建立房間。",
2117
+ "classic.backend_menu_failed": "無法顯示後端選擇。請再次執行 /start。尚未建立房間。",
2030
2118
  "classic.restricted_backend_notice": "AI 工具啟動時會確認防護範圍;若不在防護範圍內,會以原本的權限執行,只有聯絡申請需要核准。",
2031
2119
  "classic.backend_required": "請在 `/start` 指令中選擇 `backend` 後重試。若沒有顯示 `backend` 欄位,請重新整理 Discord 再開啟指令。",
2032
2120
  "classic.selection_expired": "⏰ 選擇逾時。請再次執行 /start。",
@@ -2077,7 +2165,8 @@ const zhTWMessages = {
2077
2165
  "web_auth.card_revoked": "🚫 {0} 已被登出,授權已結束。",
2078
2166
  "web_auth.card_not_saved": "⚠️ {0} 目前已登出,但這個變更無法儲存:Fleet 重新啟動後,那個瀏覽器的登入可能會回來。請修正 ~/.agend/web-sessions.json 的權限,再執行 /web revoke。",
2079
2167
  "web_auth.card_ended": "⌛ {0} 的授權已到期。如果仍需要,請從儀表板再授權一次,或用 /web 重新登入。",
2080
- "web_auth.signed_in": "🔐 {0} · {1} 已用傳給你的登入碼登入,並已驗證到 {2}:它送出的訊息帶有你的授權。不是你嗎?按「不是我」會立即登出它。",
2168
+ "web_auth.signed_in": "🔐 {0} · {1} 已用傳給你的登入碼登入,驗證有效至 {2}:它送出的訊息帶有你的授權。不是你嗎?按「不是我」會立即登出它。",
2169
+ "web_auth.signed_in_guest": "🔐 {0} · {1} 已用傳給你的登入碼以訪客身分登入,已驗證為你本人,有效至 {2}:Agent 會知道它送出的訊息是你發的。不是你嗎?按「不是我」會立即登出它。",
2081
2170
  "web_auth.signed_in_hint": "🔐 有瀏覽器用你的登入碼登入了 AgEnD 儀表板,但通知無法私訊給你。如果不是你,請執行 /web revoke。",
2082
2171
  "web_auth.general_hint": "🔐 網頁授權無法私訊給你。請先開放與這個 bot 的私訊,再到儀表板按一次「授權」。",
2083
2172
  "web_auth.confirm": "確認",
@@ -2301,6 +2390,10 @@ const zhTWMessages = {
2301
2390
  "needs.model_switch.turn": "此回合", "needs.model_switch.session": "此工作階段", "needs.model_switch.unknown": "範圍未知",
2302
2391
  "needs.reason.usage_limit": "用量已達上限 · {0} · 恢復時間未知",
2303
2392
  "needs.reason.backend_missing": "AI CLI 沒有安裝",
2393
+ "needs.reason.mcp_missing": "切換 AI 帳號後缺少 MCP 伺服器",
2394
+ "needs.mcp_missing_line": "{0}:{1}",
2395
+ "needs.mcp_missing_detail": "{0}({1} → {2})",
2396
+ "needs.mcp_missing_sep": "、",
2304
2397
  "needs.reason.backend_signin": "需要連接 AI 帳號",
2305
2398
  "keepalive.default_name": "預設登入",
2306
2399
  "keepalive.needs_sign_in": "{0} · {1}:需要重新登入(保持登入失敗)",
@@ -2318,19 +2411,23 @@ const zhTWMessages = {
2318
2411
  "hub.contactRefused": "沒有送出:這一輪正在回答 Hub 的提問,回答的這一輪不能聯絡其他 Agent,提問者提供的內容只留在這個 Agent。請把完整回答用 report_result 交給 agend-hub;從下一輪起就能再聯絡其他 Agent。",
2319
2412
  "hub.contactRefusedFor": "沒有送出:這一輪正在回答 Hub 提問 {0},回答的這一輪不能聯絡其他 Agent,提問者提供的內容只留在這個 Agent。這不是卡住:這一輪回答結束就會解除。請把完整回答用 report_result 交給 agend-hub(correlation_id {0});從下一輪起就能再聯絡其他 Agent。",
2320
2413
  "contact.held": "聯絡申請正在等待核准,請勿重送。",
2414
+ "contact.heldAgent": "聯絡申請正在等待核准,請勿重送。核准或拒絕時你會收到通知;要查看,請呼叫 delivery_status(held_requests: true)。",
2321
2415
  "contact.originNonAdmin": "AgEnD:這個請求來自房間成員,並非管理員。聯絡其他 Agent 須先核准。",
2322
2416
  "contact.originUnknown": "AgEnD:無法確認最初提問者的身分。聯絡其他 Agent 須先核准。",
2323
- "contact.refusedEarlier": "沒有送出:這個 Agent 保留的歷史含有非管理員輸入,因此聯絡須先核准。請勿重送;核准人可以核准這筆原樣轉交的申請。",
2324
- "contact.refusedUnknown": "沒有送出:無法確認最初提問者的身分,因此聯絡須先核准。請勿重送;核准人可以核准這筆原樣轉交的申請。",
2417
+ "contact.refusedEarlier": "沒有送出:這個 Agent 保留的歷史含有非管理員輸入,因此聯絡須先核准。請勿重送;核准人可以核准這筆原樣轉交的申請。核准或拒絕時你會收到通知;要查看,請呼叫 delivery_status(held_requests: true)。",
2418
+ "contact.refusedUnknown": "沒有送出:目前對話的來源不明,聯絡須先核准,請勿重送。管理這個 Agent 的已驗證管理員,可到發送 Agent 的「權限」→「清除保留的來源」,確認接受目前對話作為自己的工作。既有申請仍須另行決定。核准或拒絕時你會收到通知;要查看,請呼叫 delivery_status(held_requests: true)。",
2325
2419
  "contact.approved": "這筆聯絡申請已核准轉交。",
2326
2420
  "contact.updated": "這筆聯絡申請的狀態已更新。",
2327
2421
  "contact.noticeDeclined": "聯絡申請 #{0}(目標:{1})已拒絕,沒有轉交,請停止等待。這只是狀態通知,未授予任何權限。",
2328
2422
  "contact.noticeExpired": "聯絡申請 #{0}(目標:{1})已到期,沒有轉交,請停止等待。這只是狀態通知,未授予任何權限。",
2423
+ "contact.noticeApproved_delivered": "你被擋住的訊息 #{0} 已由 {2} 在 {3} 核准,並已送達 {1}。請勿重送,等 {1} 回覆即可。",
2424
+ "contact.noticeApproved_queued": "你被擋住的訊息 #{0} 已由 {2} 在 {3} 核准,正在 {1} 的佇列中,{1} 能接收時就會送達。請勿重送。",
2425
+ "contact.noticeApproved_unconfirmed": "你被擋住的訊息 #{0} 已由 {2} 在 {3} 核准,但還無法確認已送達 {1}。重送任何內容之前,請先用 delivery_status(held_requests: true)查看。",
2329
2426
  "contact.suggest": "建議切換受限模式:房間仍可聊天,非管理員聯絡其他 Agent 先申請,房間允許清單以外的工具將停用。請在權限頁查看工具影響;不會自動切換。",
2330
2427
  "contact.mcpAccountWarning": "這個工具可能使用擁有者的 API key 或帳號,並以該帳號計費及執行。允許前請先確認設定。",
2331
2428
  "needs.reason.contact_request": "聯絡申請正在等待核准",
2332
2429
  "needs.reason.contact_restricted_suggestion": "建議將這個房間切換為受限模式",
2333
- "needs.contact_suggestions": "{0} 個既有 ClassicBot 房間可以切換為受限模式 — 查看方式:/web → 等你處理,或房間的詳細資料 → 權限。不會自動切換。",
2430
+ "needs.contact_suggestions": "{0} 個既有 ClassicBot 房間可以切換為受限模式 — 查看方式:/web → 等你處理,或房間的設定 → 權限。不會自動切換。",
2334
2431
  "hub.hold.hub-incomplete": "這個版本的 AgEnD 還沒有包含 Hub 的所有部分,所以 Hub 維持關閉。",
2335
2432
  "hub.browserCertificate.replace": "更換 Hub 瀏覽器憑證;成員傳輸身分保持不變。",
2336
2433
  "hub.browserCertificate.fingerprint": "SHA-256 指紋:{0}",
@@ -2618,6 +2715,7 @@ const zhTWMessages = {
2618
2715
  "inst.claude_model_fallback": "選擇的 Claude 模型無法使用。Claude Code 目前實際使用 {0};請用 /model 選擇支援的模型。",
2619
2716
  "inst.claude_model_unavailable": "選擇的 Claude 模型無法使用或無法辨識。Claude Code 可能已改用備援模型;請用 /model 選擇支援的模型。",
2620
2717
  "inst.model_usage_limit": "Claude 的 {0} 用量已達上限,恢復時間未知。訊息仍會送到,但在額度恢復或切換模型(/model)前都會失敗。",
2718
+ "inst.mcp_missing": "切換 Claude 帳號({0} → {1})後缺少這些 MCP 伺服器:{2}。它們在原帳號的 Claude 設定裡,新帳號沒有,所以這些工具沒有載入。要加回來,請在你的 shell 執行 `claude mcp add -s local <名稱> …`(會寫進這個帳號的設定),再請人重新啟動你。需要金鑰時請問使用者。",
2621
2719
  "inst.quota_line": "⚠️ {0} {1}用完",
2622
2720
  "inst.quota_line_paused": "⚠️ {0} {1}用完,已暫停",
2623
2721
  "inst.quota_reset_at": "{0}({1} 重置)",