@songsid/agend 2.3.0-beta.22 → 2.3.0-beta.23

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 (256) hide show
  1. package/README.md +2 -2
  2. package/README.zh-TW.md +2 -2
  3. package/dist/agent-cli.js +4 -2
  4. package/dist/agent-cli.js.map +1 -1
  5. package/dist/agent-endpoint.d.ts +1 -0
  6. package/dist/agent-endpoint.js +4 -0
  7. package/dist/agent-endpoint.js.map +1 -1
  8. package/dist/agent-whats-new.d.ts +5 -0
  9. package/dist/agent-whats-new.js +16 -1
  10. package/dist/agent-whats-new.js.map +1 -1
  11. package/dist/auth-api.d.ts +7 -0
  12. package/dist/auth-api.js +8 -2
  13. package/dist/auth-api.js.map +1 -1
  14. package/dist/backend/codex-package.d.ts +30 -0
  15. package/dist/backend/codex-package.js +133 -0
  16. package/dist/backend/codex-package.js.map +1 -0
  17. package/dist/backend/codex.d.ts +2 -0
  18. package/dist/backend/codex.js +9 -2
  19. package/dist/backend/codex.js.map +1 -1
  20. package/dist/backend/kiro.d.ts +9 -1
  21. package/dist/backend/kiro.js +102 -1
  22. package/dist/backend/kiro.js.map +1 -1
  23. package/dist/backend/opencode-permission.js +1 -1
  24. package/dist/backend/opencode-permission.js.map +1 -1
  25. package/dist/backend/opencode.js +2 -1
  26. package/dist/backend/opencode.js.map +1 -1
  27. package/dist/binary-probe.js +1 -1
  28. package/dist/bug-report-cli.js +1 -1
  29. package/dist/bundled-skills.d.ts +7 -3
  30. package/dist/bundled-skills.js +16 -7
  31. package/dist/bundled-skills.js.map +1 -1
  32. package/dist/channel/adapters/discord.js +3 -3
  33. package/dist/channel/adapters/discord.js.map +1 -1
  34. package/dist/channel/mcp-server.js +12 -4
  35. package/dist/channel/mcp-server.js.map +1 -1
  36. package/dist/channel/mcp-tools.d.ts +3 -1
  37. package/dist/channel/mcp-tools.js +36 -0
  38. package/dist/channel/mcp-tools.js.map +1 -1
  39. package/dist/child-process.d.ts +21 -0
  40. package/dist/child-process.js +54 -0
  41. package/dist/child-process.js.map +1 -0
  42. package/dist/cli.js +167 -182
  43. package/dist/cli.js.map +1 -1
  44. package/dist/command-table.d.ts +1 -1
  45. package/dist/command-table.js +1 -1
  46. package/dist/command-table.js.map +1 -1
  47. package/dist/config-validator.js +20 -1
  48. package/dist/config-validator.js.map +1 -1
  49. package/dist/config.js +3 -1
  50. package/dist/config.js.map +1 -1
  51. package/dist/daemon.d.ts +8 -0
  52. package/dist/daemon.js +31 -8
  53. package/dist/daemon.js.map +1 -1
  54. package/dist/darwin-memory.js +1 -1
  55. package/dist/doctor.d.ts +5 -0
  56. package/dist/doctor.js +42 -0
  57. package/dist/doctor.js.map +1 -1
  58. package/dist/export-import.js +1 -1
  59. package/dist/export-import.js.map +1 -1
  60. package/dist/fleet-level-config.d.ts +1 -1
  61. package/dist/fleet-level-config.js +2 -0
  62. package/dist/fleet-level-config.js.map +1 -1
  63. package/dist/fleet-manager.d.ts +45 -0
  64. package/dist/fleet-manager.js +301 -21
  65. package/dist/fleet-manager.js.map +1 -1
  66. package/dist/full-restart.d.ts +5 -5
  67. package/dist/full-restart.js +5 -5
  68. package/dist/full-restart.js.map +1 -1
  69. package/dist/general-knowledge/skills/fleet-config/SKILL.md +1 -1
  70. package/dist/general-knowledge/skills/fleet-restart/SKILL.md +7 -8
  71. package/dist/general-knowledge/skills/multi-channel/SKILL.md +1 -1
  72. package/dist/general-knowledge/skills/web-appearance/SKILL.canvas-worker-off.md +319 -0
  73. package/dist/general-knowledge/skills/web-dashboard/SKILL.canvas-worker-off.md +529 -0
  74. package/dist/general-knowledge/skills/web-dashboard/SKILL.md +16 -3
  75. package/dist/general-knowledge/steering/core-rules.md +1 -1
  76. package/dist/instance-config-impact.js +10 -3
  77. package/dist/instance-config-impact.js.map +1 -1
  78. package/dist/instance-lifecycle.js +4 -4
  79. package/dist/locale.js +118 -4
  80. package/dist/locale.js.map +1 -1
  81. package/dist/login-flows.js +1 -1
  82. package/dist/login-shell.js +3 -1
  83. package/dist/login-shell.js.map +1 -1
  84. package/dist/ls-rows.js +1 -1
  85. package/dist/needs-you-hub.d.ts +98 -1
  86. package/dist/needs-you-hub.js +313 -44
  87. package/dist/needs-you-hub.js.map +1 -1
  88. package/dist/needs-you-live.d.ts +5 -2
  89. package/dist/needs-you-live.js +6 -3
  90. package/dist/needs-you-live.js.map +1 -1
  91. package/dist/needs-you.d.ts +58 -3
  92. package/dist/needs-you.js +36 -3
  93. package/dist/needs-you.js.map +1 -1
  94. package/dist/outbound-schemas.d.ts +3 -3
  95. package/dist/public-link-progress.d.ts +12 -1
  96. package/dist/public-link-progress.js +5 -10
  97. package/dist/public-link-progress.js.map +1 -1
  98. package/dist/public-tunnel-config.d.ts +5 -0
  99. package/dist/public-tunnel-config.js +45 -1
  100. package/dist/public-tunnel-config.js.map +1 -1
  101. package/dist/public-web-link.js +6 -5
  102. package/dist/public-web-link.js.map +1 -1
  103. package/dist/quickstart.js +14 -8
  104. package/dist/quickstart.js.map +1 -1
  105. package/dist/resource-report.js +1 -1
  106. package/dist/scheduler/task-board.d.ts +41 -1
  107. package/dist/scheduler/task-board.js +150 -4
  108. package/dist/scheduler/task-board.js.map +1 -1
  109. package/dist/sd-notify.js +2 -1
  110. package/dist/sd-notify.js.map +1 -1
  111. package/dist/service-installer.d.ts +69 -0
  112. package/dist/service-installer.js +181 -0
  113. package/dist/service-installer.js.map +1 -1
  114. package/dist/service-owner.d.ts +44 -0
  115. package/dist/service-owner.js +48 -0
  116. package/dist/service-owner.js.map +1 -0
  117. package/dist/settings-api.d.ts +4 -0
  118. package/dist/settings-api.js +21 -3
  119. package/dist/settings-api.js.map +1 -1
  120. package/dist/settings-change.js +85 -2
  121. package/dist/settings-change.js.map +1 -1
  122. package/dist/settings-effect.js +2 -0
  123. package/dist/settings-effect.js.map +1 -1
  124. package/dist/settings-http-confirmation.d.ts +2 -0
  125. package/dist/settings-http-confirmation.js +3 -2
  126. package/dist/settings-http-confirmation.js.map +1 -1
  127. package/dist/settings-request-capability.d.ts +4 -1
  128. package/dist/settings-request-capability.js +11 -3
  129. package/dist/settings-request-capability.js.map +1 -1
  130. package/dist/setup-host.js +1 -1
  131. package/dist/setup-wizard.js +1 -1
  132. package/dist/setup-wizard.js.map +1 -1
  133. package/dist/task-board-summary.d.ts +101 -0
  134. package/dist/task-board-summary.js +177 -0
  135. package/dist/task-board-summary.js.map +1 -0
  136. package/dist/task-board-waker.d.ts +8 -1
  137. package/dist/task-board-waker.js +15 -6
  138. package/dist/task-board-waker.js.map +1 -1
  139. package/dist/tmux-control.js +1 -1
  140. package/dist/tmux-control.js.map +1 -1
  141. package/dist/tmux-exec-helper.d.ts +5 -1
  142. package/dist/tmux-exec-helper.js +13 -21
  143. package/dist/tmux-exec-helper.js.map +1 -1
  144. package/dist/tmux-manager.js +1 -1
  145. package/dist/tmux-read.js +1 -1
  146. package/dist/tmux-read.js.map +1 -1
  147. package/dist/topic-commands.d.ts +3 -0
  148. package/dist/topic-commands.js +29 -18
  149. package/dist/topic-commands.js.map +1 -1
  150. package/dist/transcript-monitor.js +5 -0
  151. package/dist/transcript-monitor.js.map +1 -1
  152. package/dist/transcript-sources.d.ts +2 -0
  153. package/dist/transcript-sources.js +4 -0
  154. package/dist/transcript-sources.js.map +1 -1
  155. package/dist/tunnel/cloudflared-install.js +3 -1
  156. package/dist/tunnel/cloudflared-install.js.map +1 -1
  157. package/dist/tunnel/cloudflared.d.ts +1 -1
  158. package/dist/tunnel/cloudflared.js +51 -10
  159. package/dist/tunnel/cloudflared.js.map +1 -1
  160. package/dist/tunnel/named-diagnostics.d.ts +13 -0
  161. package/dist/tunnel/named-diagnostics.js +52 -0
  162. package/dist/tunnel/named-diagnostics.js.map +1 -0
  163. package/dist/tunnel/types.d.ts +2 -1
  164. package/dist/tunnel/types.js.map +1 -1
  165. package/dist/types.d.ts +9 -0
  166. package/dist/ui/app-effects.js +10 -4
  167. package/dist/ui/chat-strings.js +3 -0
  168. package/dist/ui/chat-thread.js +14 -7
  169. package/dist/ui/effect-trial-offer.js +2 -31
  170. package/dist/ui/effects-waker.js +2 -70
  171. package/dist/ui/fleet-task-card.js +5 -5
  172. package/dist/ui/fleet-task-common.js +41 -7
  173. package/dist/ui/fleet-task-work.js +107 -0
  174. package/dist/ui/fleet-tasks.js +46 -12
  175. package/dist/ui/image-lightbox.js +39 -1
  176. package/dist/ui/image-zoom.js +242 -0
  177. package/dist/ui/panel-chat.js +24 -13
  178. package/dist/ui/panel-details.js +2 -0
  179. package/dist/ui/panel-fleet.js +6 -2
  180. package/dist/ui/panel-needs.js +21 -6
  181. package/dist/ui/panel-settings.js +35 -13
  182. package/dist/ui/preview-panel.js +2 -1
  183. package/dist/ui/search-dialog.js +2 -1
  184. package/dist/ui/settings-appearance.js +33 -8
  185. package/dist/ui/settings-dialogs.js +33 -17
  186. package/dist/ui/settings-discord.js +6 -2
  187. package/dist/ui/settings-guests.js +2 -1
  188. package/dist/ui/settings-model.js +2 -11
  189. package/dist/ui/settings-mods.js +6 -3
  190. package/dist/ui/settings-strings.js +2 -0
  191. package/dist/ui/settings-token.js +3 -1
  192. package/dist/ui/settings-web-authority.js +6 -3
  193. package/dist/ui/settings-wizard.js +13 -7
  194. package/dist/ui/shared/app-i18n.js +2 -2
  195. package/dist/ui/shared/app-needs.js +2 -2
  196. package/dist/ui/shared/app-store.js +2 -2
  197. package/dist/ui/shared/app.css +80 -9
  198. package/dist/ui/shared/app.js +5 -1
  199. package/dist/ui/shared/effect-app-runtime.js +7 -5
  200. package/dist/ui/shared/effect-chat-runtime.js +2 -7
  201. package/dist/ui/shared/effect-cursor.js +3 -2
  202. package/dist/ui/shared/effect-display-metadata.js +39 -0
  203. package/dist/ui/shared/effect-registry.js +4 -2
  204. package/dist/ui/shared/effect-runtime-loader.js +3 -1
  205. package/dist/ui/shared/effect-stock-trust.js +1 -1
  206. package/dist/ui/shared/feature-flags.js +127 -0
  207. package/dist/ui/shared/identity-color.js +6 -3
  208. package/dist/ui/shared/instance-nav.js +3 -2
  209. package/dist/ui/shared/text-undo.js +210 -0
  210. package/dist/ui/shared/ui-dialog.js +4 -3
  211. package/dist/ui/shared/ui-icons.js +2 -0
  212. package/dist/update-dispatch.js +1 -1
  213. package/dist/update-launch.d.ts +1 -1
  214. package/dist/update-launch.js +1 -2
  215. package/dist/update-launch.js.map +1 -1
  216. package/dist/usage/providers.js +1 -1
  217. package/dist/usage/providers.js.map +1 -1
  218. package/dist/view-api.js +1 -1
  219. package/dist/web-api.d.ts +6 -0
  220. package/dist/web-api.js +152 -14
  221. package/dist/web-api.js.map +1 -1
  222. package/dist/web-appearance-tools.d.ts +1 -0
  223. package/dist/web-appearance-tools.js +7 -3
  224. package/dist/web-appearance-tools.js.map +1 -1
  225. package/dist/web-appearance.d.ts +4 -10
  226. package/dist/web-appearance.js +4 -3
  227. package/dist/web-appearance.js.map +1 -1
  228. package/dist/web-chat-history.d.ts +14 -0
  229. package/dist/web-chat-history.js +26 -1
  230. package/dist/web-chat-history.js.map +1 -1
  231. package/dist/web-experimental-http.d.ts +2 -0
  232. package/dist/web-experimental-http.js +12 -0
  233. package/dist/web-experimental-http.js.map +1 -0
  234. package/dist/web-experimental.d.ts +11 -0
  235. package/dist/web-experimental.js +49 -0
  236. package/dist/web-experimental.js.map +1 -0
  237. package/dist/web-guest-access.d.ts +1 -0
  238. package/dist/web-guest-access.js +4 -2
  239. package/dist/web-guest-access.js.map +1 -1
  240. package/dist/web-mod-store.d.ts +2 -0
  241. package/dist/web-mod-store.js +10 -0
  242. package/dist/web-mod-store.js.map +1 -1
  243. package/dist/web-preview.d.ts +2 -0
  244. package/dist/web-preview.js +2 -0
  245. package/dist/web-preview.js.map +1 -1
  246. package/dist/web-settings-patch.d.ts +2 -1
  247. package/dist/web-settings-patch.js +5 -1
  248. package/dist/web-settings-patch.js.map +1 -1
  249. package/dist/web-settings-tools.d.ts +1 -0
  250. package/dist/web-settings-tools.js +14 -10
  251. package/dist/web-settings-tools.js.map +1 -1
  252. package/dist/web-terminal.js +1 -1
  253. package/dist/web-theme-store.d.ts +2 -2
  254. package/dist/web-theme-store.js +6 -3
  255. package/dist/web-theme-store.js.map +1 -1
  256. package/package.json +1 -1
@@ -0,0 +1,529 @@
1
+ ---
2
+ name: web-dashboard
3
+ description: Where things are on the AgEnD web dashboard and what they do — signing in, the chat, Needs you, Fleet (org chart, live traffic), usage and the cache report, the Log, schedules, every Settings tab and control with its config key, and troubleshooting. Use it to answer "where is X / what does Y do / how do I Z" about the web.
4
+ roles: [general, worker, classic]
5
+ ---
6
+
7
+ ## How to use this skill
8
+
9
+ Look the question up in the index, then relay the short answer in the user's words. The labels below are the
10
+ English UI labels (the page also has 中文). Before you state a value the user configured (a limit, a switch), read
11
+ it: `get_fleet_config` shows fleet.yaml; this skill gives defaults. Never invent a control that is not listed here.
12
+ Never tell anyone to kill `wslrelay` or run `wsl --shutdown` (see Troubleshooting).
13
+
14
+ For how *you* look on the dashboard (theme, identity card, colour, widgets and ambient effects), load `web-appearance`.
15
+
16
+ ## Index
17
+
18
+ | The user asks about… | Section |
19
+ |---|---|
20
+ | getting in, `/web`, codes, "Send me a new code", the public link, sessions, signing out, `/view`, guests | [Sign-in and access](#sign-in-and-access) |
21
+ | sending, files, buttons, polls, HTML previews, code, tables, slash commands, Stop, history, copies in Discord/Telegram | [Chat](#chat) |
22
+ | the red badge, prompts, failed deliveries, desktop notifications | [Needs you](#needs-you) |
23
+ | "which agent did I ask about X", Ctrl+K, Ctrl+F in a chat, search results, filters | [Search](#search) |
24
+ | Ctrl+Z / undo / redo in a text box, "undo did nothing", "undo changed another box" | [Undo and redo](#undo-and-redo) |
25
+ | tasks, schedules, teams, org chart, live traffic lines, cache, Config tab | [Fleet](#fleet) |
26
+ | the sidebar list, filters, favorites, Chat / View / Log / Details, the Details page | [Finding an instance](#finding-an-instance) |
27
+ | subscription meters, plan badges, profiles, keep-warm, prompt cache | [Usage and the cache report](#usage-and-the-cache-report) |
28
+ | what an agent did step by step | [The Log tab](#the-log-tab) |
29
+ | any Settings control | [Settings](#settings) |
30
+ | themes, cards, widgets, ambient effects (petals, click stars) | [Web appearance](#web-appearance) |
31
+ | blank page, preview refused, link fails, signed out, "live" missing | [Troubleshooting](#troubleshooting) |
32
+
33
+ Addresses: the dashboard is served on the host at `http://localhost:<health_port>` (default 19280), on 127.0.0.1
34
+ only. Pages: `/ui` chat, `/ui/fleet`, `/ui/needs`, `/view`, `/settings`.
35
+
36
+ ## Sign-in and access
37
+
38
+ **Getting a code (`/web`).** Only a fleet admin can — someone in the bot connection's `access.allowed_users`.
39
+ - Discord: send `/web` (alias of `/dashboard`) in the General channel. A menu offers **💻 AgEnD computer: get a
40
+ code** and, when `web.public_link.allow_public` is not `false`, **🌐 Other device (temporary public)**. Sent
41
+ anywhere else, `/web` answers privately (DM, else an ephemeral reply) with the local link and a code only.
42
+ - Telegram: `/web` works only in the General topic ("/web works in the General topic — please use it there"). In a
43
+ DM with the bot, `/start web` opens the same menu when one General is configured.
44
+ - On the host: `agend web` prints a code and opens the browser; `agend web --code` only prints it.
45
+ - If the bot has no admins: "⛔ /web disabled — this bot has no fleet admins: … is empty."
46
+
47
+ **The code.** 8 characters shown as `ABCD-EFGH` (case and the dash don't matter), valid 5 minutes, single use; asking
48
+ again replaces it. 5 wrong tries use it up; 20 failures in 15 minutes pause sign-in for 5 minutes ("Too many wrong
49
+ codes — sign-in is paused for a few minutes."). The sign-in page is **Sign in to AgEnD**: field **One-time code**,
50
+ button **Sign in**.
51
+
52
+ **Send me a new code.** On the sign-in page, for a browser that signed in before with a `/web` code (remembered 90
53
+ days). The code arrives by DM. Limits: one a minute and five an hour per browser; fleet-wide one per 20 s, 20 an hour.
54
+
55
+ **Local vs public link.** Local: the dashboard on the host itself (127.0.0.1; the address cannot be changed, only
56
+ `health_port`). Public: **🌐 Other device (temporary public)** starts a Cloudflare quick tunnel (an address under
57
+ `trycloudflare.com`), default 120 minutes (`web.public_link.ttl_minutes`, at most 480; `protocol` http2/quic/auto).
58
+ Close it with **Close public link** → **Close link (signs public browsers out)**, `/web revoke`, or let it expire.
59
+ A public link is limited on purpose: no live stream (the page polls), no custom CSS, and Settings → Web, appearance,
60
+ schedule edits and preference writes are refused. HTML previews work over it through a second tunnel
61
+ of their own (`web.preview_on_public_link`, default on).
62
+
63
+ **Sessions.**
64
+ - Local: 48 h from sign-in and 48 h unused (`web.session.local.absolute_hours` / `idle_hours`, 1–720). Background
65
+ polling and the live stream don't count as use. Sessions survive a fleet restart.
66
+ - Public link: always 4 h / 30 min unused, and they end when the link closes.
67
+ - At most 8 sessions; the least recently used is dropped.
68
+ - The session menu (sidebar): "Signed in · …", "Ends by <time> at the latest, or after <span> unused". With more than
69
+ one session it lists **Signed-in devices** (this one marked "· This device", others with **Sign out**) and **Sign
70
+ out everywhere**.
71
+ - `/web revoke` (in chat) signs every browser out, withdraws an unused code and closes the public link.
72
+
73
+ **`/view` without signing in.** `web.view_access`: `open` (default) or `session`. With `open`, anyone who can reach
74
+ the local address sees every instance's live terminal and the roster (status, context %, model, effort, backend,
75
+ tags, name, description, avatars, cards) and the usage meters — read only; editing says "Sign in to edit". Over a
76
+ public link `/view` always needs sign-in.
77
+
78
+ **Guests (#1920, 2.3 beta).** Off by default: `web.guests.enabled` (or Settings → Web → Guests). Then someone who is
79
+ not a fleet admin sends `/web` and gets a code privately, signing in as their own Discord or Telegram account. A guest
80
+ sees only the agents they can already use in chat: their connection's fleet topics and General (an `open` connection:
81
+ only `web.guests.open_instances`), their own Telegram private ClassicBot room, and ClassicBot group rooms while their
82
+ membership is verified, minus any `web.guests.narrow`. They can chat there unless `web.guests.chat` is false, never send
83
+ a command (text starting with `/` is refused), and the agent sees them as `via web (guest)`. A guest's app has no Fleet,
84
+ View, Settings or Needs you. To invite someone: turn it on, then tell them to send `/web`. The Guests card is not in
85
+ Settings over the public link.
86
+
87
+ **Web authority (#1939, 2.3 beta).** A signed-in fleet admin's browser can speak as their own Discord or Telegram
88
+ account. The one row under the composer (bottom left, before the Enter hint) says **Not verified · Authorize**; the
89
+ session menu says **Not verified · Authorize this browser**. Pressing it
90
+ sends a card to that account's DM, saying which browser (device, on this computer or the network, when, until when), with
91
+ **Confirm** and **Not me**. A card left for 5 minutes is marked expired on the card, and the line offers Authorize
92
+ again. Confirm within 5 minutes and the session menu says **Verified · speaks as you until …**; the composer's row says
93
+ just **✓ Verified**, with the until-when in its tooltip, its accessible name and a tap. That
94
+ browser's messages then carry the account's authority in their delivery receipt for `max_session_hours` (default 48).
95
+ Not me signs that browser out, also after Confirm, from the same card. At most one card waits per browser, and 3 an hour
96
+ per account. Never on the public link or for a guest; when a browser can't be authorized, the line says why (with a
97
+ link to Settings when the switch or "Only this computer" is the reason). Settings → Web → **Web authority**
98
+ (`web.verified_authority`, on by default) has the switch, **Only this computer can authorize** (`loopback_only`), the
99
+ hours, the authorized sessions, and **Revoke web authority** (or `/web revoke`). Every change there applies at once.
100
+ Agents then see that browser's messages as `via web (verified)` and check their receipt like a Discord or Telegram message.
101
+
102
+ ## Chat
103
+
104
+ A message to a paused agent wakes it through the same delivery path as Discord/Telegram, including ClassicBot. The composer shows **Waking…**; a refused wake explains why, keeps the draft/files and offers **Retry send**. No automatic resend. Stopped agents still require Start. Upload/history/Cancel do not wake agents. Existing guest/public-link send permissions are unchanged.
105
+
106
+ **Sending.** Type and press Enter. A message sent while the agent works waits its turn; `/steer <text>` goes into
107
+ the current turn, `/btw <question>` asks a side question. **Stop reply** (or Esc) interrupts the reply and drops
108
+ queued messages. Text is capped at 16,384 characters; a paste over 4,000 characters becomes a `pasted-….txt`
109
+ attachment (its chip has **As text** to undo that).
110
+
111
+ **Ticks** under your message: ◷ waiting behind another message · ✓ handed to the agent · ✓✓ the agent has it ·
112
+ ! not delivered · ⊘ dropped by Stop. There is no "read" tick. **Reactions** (#2305): an agent may answer a message that
113
+ only acknowledges ("OK", "thanks") with an emoji under the person's bubble instead of a reply — live, kept after a
114
+ reload, also on the message's Discord/Telegram copy when the fleet posted one; it counts as the turn's answer.
115
+
116
+ **Files.** 📎, drag and drop ("Drop files to attach them") or paste. Up to 5 files, 50 MB each, 100 MB per message
117
+ (`web.upload_max_file_mb` / `web.upload_max_total_mb`, 1–500; over a public link at most 95 MB per file). The type is
118
+ read from the bytes: PNG/JPEG/GIF/WebP are photos, PDF a document, UTF-8 a text file; anything else (archives,
119
+ binaries, `.html`/`.svg` and other markup) is stored as **download-only**. The agent receives the path in its
120
+ workspace `inbox/`; an unused upload is deleted after 30 minutes.
121
+
122
+ **Replying to a message (#2272).**
123
+ - **How:** the ↩ on hover, a right-click (Reply / Copy text / Copy link), a swipe left (as in Telegram; a swipe right still opens the drawer) or long-press on a phone, or R on a focused message. A bar above the composer shows what is answered; ✕ or Esc cancels.
124
+ - **The sent bubble** shows the quote, and clicking it jumps to the original.
125
+ - **The agent** gets `(reply_to: "…")`, exactly as from a Discord or Telegram reply, read by the server from the quoted message (one line, at most 500 characters). Nothing new for guests: they reply only to what they can see.
126
+ - **The channel echo** quotes only a message that was already in that channel.
127
+
128
+ **In replies.** Images inline; video and audio play inline; Markdown, CSV, JSON, code and text files get a **Show**
129
+ card (200 lines, then "Show all … lines"); other files download. Code blocks have a language tag, **Wrap** and
130
+ **Copy**, and fold after 30 lines. Each reply has **Copy this reply**. Markdown: headings, lists, quotes, bold/italic/
131
+ strike, links, and tables (header row plus separator, alignment, up to 20 columns). Discord mentions show as names;
132
+ a Discord server emoji (`<:name:id>`) of the fleet's servers shows as its picture, and any other (or one whose picture
133
+ can't load) as `:name:`. Unicode emoji are drawn by the system's colour emoji font under every theme font (boxes on
134
+ Linux mean no colour emoji font is installed). There is no @-autocomplete in the composer.
135
+
136
+ **Buttons and polls.** An agent's reply can carry up to 10 buttons ("Choices"); a click shows as a 🔘 chip and the
137
+ agent receives `[button] <label>` (with `(value: …)` when it differs). Buttons expire after 24 h ("Expired — reply in
138
+ text"). Polls show "Poll", "Time left", "🗳 N answered"; voter names only when it closes.
139
+
140
+ **HTML previews.** An agent's ` ```html ` block or `.html` file gets a card: **Preview**, **Stop**, **Download**,
141
+ **Open in panel** (side panel: **Page** / **Code** / **Reload** / **Close**). Previews need a one-time opt-in, **Allow
142
+ HTML previews** (also in Settings → Preferences); it is a host-wide preference, and you still press Preview each time.
143
+ The page runs in a sandboxed frame on a second port (`health_port + 1`, default 19281). "Never preview HTML on this
144
+ device" turns it off for this browser session. Cards are at most 1 MiB; a cut-off block says "Truncated — ask the
145
+ agent to send it as a .html file."
146
+
147
+ **Slash commands** (the **Commands** palette): `/ctx`, `/compact [instructions]`, `/clear` (asks first), `/model
148
+ [name]`, `/backend [backend] [model] [effort]` (asks first), `/effort [level]`, `/cancel`, `/btw`, `/steer`, `/pause`,
149
+ `/wake`, `/save <file>` (not on a public link). Anything else: "Not a command here — Enter sends it as a message."
150
+ At 70% context, quick actions **Compact** and **Clear…** appear. `/raw <text>` (local only) passes text to the CLI
151
+ unwrapped.
152
+
153
+ **History.** The server keeps the last 500 messages (about 1M characters) per instance in its workspace
154
+ `web-chat.json`; the page loads the last 200. There is no "load older". After a restart, buttons and ticks are not
155
+ restored; files that can't be served again show as unavailable.
156
+
157
+ **Copies in Discord/Telegram (web echo).** For a fleet topic instance, each web message is also posted to its topic as
158
+ `🌐 web · <name>: …` (the first 500 characters plus attachment names; longer text says "(full text in web chat)").
159
+ Turn it off with Settings → Web → **Web echo** (`web.echo_to_channel`). ClassicBot rooms: per room,
160
+ `classicBot.yaml` `channels.<key>.web_echo` (Settings → ClassicBot → the room → **Web echo**). From 2.3.0-beta.3
161
+ (#2054) a room echoes by default: an unset room follows `web.echo_to_channel`, `web_echo: false` keeps it off and
162
+ `web_echo: true` keeps it on. Before that, a room echoed only with `web_echo: true` — check the running version.
163
+
164
+ ## Needs you
165
+
166
+ `/ui/needs`, the sidebar row **Needs you** with a count, the phone tab of the same name, and "(N)" in the browser
167
+ tab title. Items, grouped by instance, oldest first:
168
+ - the CLI waiting: "Permission needed", "Dangerous command waiting", "Sign-in needed", "Waiting at a dialog", "May be
169
+ waiting for input", "Waiting at its terminal", "Not responding", "Exited";
170
+ - the instance: "Paused: sign-in needed", "Crashed";
171
+ - deliveries from the last 24 h: "Could not confirm delivery", "Delivery failed" (source → target · kind).
172
+
173
+ A prompt shows its own answer buttons (first answer wins); a delivery has **Acknowledge** (clears it everywhere);
174
+ "Paused: sign-in needed" has **Sign in** when the dashboard can run that login (#2233); every item has **Open chat**. **Notify me on this device** (Turn on / Turn off) gives desktop notifications while the
175
+ tab is hidden — per browser, not on phones or plain-HTTP addresses. Config: `needs_you.live_message` (default on),
176
+ `needs_you.dm` (default off).
177
+
178
+ ## Search
179
+
180
+ The sidebar row **Search** (under Needs you, with "Ctrl K" / "⌘K"), **Ctrl+K** / **⌘K** anywhere, the header's 🔍 when
181
+ the sidebar is hidden or on a phone; **Ctrl+F** in an agent's chat opens it narrowed to that agent (elsewhere Ctrl+F is
182
+ the browser's find). Not the sidebar's **Filter** box (that filters the agent list). It searches every agent's chat as
183
+ the fleet recorded it, messages between agents (send_to_instance, delegate_task, report_result, broadcast) and Task
184
+ Board tasks — never a CLI's own transcript (that is the Log). Results come as you type, grouped by agent, newest
185
+ first, badged Chat / Message / Task; 1–2 character words work (alone: the newest 5,000 entries, said in the dialog).
186
+ ↑↓ / Enter / Esc / click outside; **Filters**: agent, team, time, kinds, **Only mine**; recent searches when empty.
187
+ A chat result opens the chat at the message (flashed); a message between agents, a task or a chat row the history no
188
+ longer keeps opens as the index's copy. Admins only (no guests; over the public link there is no row, button or shortcut). Config: `web.search.enabled`
189
+ (default on), `web.search.retention_days` (default 90). Secrets are masked; a hidden `cross_instance_visibility`
190
+ agent's messages are not found. "Search is off or not available": `web.search.enabled: false`, or the index could not
191
+ open (the fleet log says why); "Still indexing": the first fill after an upgrade.
192
+
193
+ ## Undo and redo
194
+
195
+ Every text box has its own undo history (#2342): **Ctrl+Z** undoes, **Ctrl+Shift+Z** or **Ctrl+Y** redoes (**⌘Z** / **⌘⇧Z** on a
196
+ Mac), only while typing in a box. Undo never changes another box (the browser's own stack is page-wide). Typing undoes a
197
+ word (or a pause) at a time; an IME composition is one step. Undoable too: a Tab-completed `/command`, Put back, As
198
+ text, a recent search picked, the filter's Esc/× clear, a status-emoji pick, a widget example, a restored CSS version
199
+ (a colour swatch is a choice, not text: it starts the hex box afresh). The browser's own Edit-menu Undo goes through the
200
+ same history; its Redo is offered only after its own undo (use the keys). Not undoable on purpose: a sent message (never back into the composer), text cleared after Add/Send,
201
+ values reloaded after Save. Password fields keep the browser's behaviour.
202
+
203
+ ## Fleet
204
+
205
+ `/ui/fleet/<tab>`: **Tasks**, **Schedules**, **Teams**, **Org chart**, **Cache**, **Config**, plus a **Docs** link.
206
+ The sidebar's **Fleet** (zh "Fleet 概覽", at the top) and the phone's Fleet tab open the Fleet tab this device used last
207
+ (`agend_last_fleet_tab`; the Org chart the first time). The sidebar has no separate Fleet (Details) or View row.
208
+ - **Tasks** — the task board: Home lists **projects** (with % done) and what waits for the person (**Confirm** /
209
+ **Send back** finished work, **Answer** a blocked card); **No project** holds `task`-tool tasks. A project is a board
210
+ of main tasks (M-n) by status — To do, In progress, Blocked, Waiting for you, Done — with drag to move, an assignee
211
+ filter and each main task's sub tasks (S-n). A card opens in a dialog: every field editable, its sub tasks, comments,
212
+ progress log, history. **Search cards** in the header. Only a signed-in person confirms work in review (an
213
+ instance's `done` on such a card is review). No delete: cancel. Alt+arrows on a card's title move it (no drag
214
+ needed; the card's Position row on a phone). A main task's tile shows the sub task at work and who is on it; a card
215
+ waiting for review that is not wrapped up says **To fill in** and Confirm asks first. A card's **Dispatched by** row:
216
+ who handed it out (a blocked question goes to them first). Read-only over the public link.
217
+ - **Schedules** — every schedule (silent ones included): when it runs in words, "next …", the target. **New
218
+ schedule** (Repeat with a cron expression, or Once at a date and time; message, target, label, timezone),
219
+ **Edit** (with an **Enabled** box — that is how you pause one), **Delete**. There is no "run now", and silent can't
220
+ be set from the web. Read only on a public link.
221
+ - **Teams** — **New team**, **Edit** (members, description; no rename), **Delete**. Read only on a public link.
222
+ - **Org chart** — see below.
223
+ - **Cache** — see [the cache report](#usage-and-the-cache-report).
224
+ - **Config** — the main channel, access (Locked/Open, allowed users), default backend and project roots; **Save
225
+ changes** rewrites fleet.yaml (its comments are lost).
226
+
227
+ **Org chart (#1918).** **Canvas** or **List** (remembered per device). The canvas: General at the top, then teams in
228
+ fleet.yaml order, then "Not in a team". Drag to pan, wheel or pinch to zoom (0.2–2.5), **Zoom in / Zoom out / Fit to
229
+ screen**, keys `+` `-` `0` and arrows, Enter opens a chat. **Overview** (bottom right, desktop) — click to move there.
230
+ Click a team header to fold it. **Find** dims everything that doesn't match. A card shows the state dot, name, state
231
+ and backend; clicking it opens the chat. List mode adds the description, model, a link to the Discord thread or
232
+ Telegram topic, and **Open chat**.
233
+
234
+ **Live traffic** (**Live** switch, on by default; **Key** in the toolbar explains it, as a strip above the canvas): a line for each message between instances.
235
+ Colour by kind — task (delegate_task) purple, send/query/update teal, report pink, broadcast orange; between teams
236
+ (zoomed out) slate. Dotted = queued, dashed with a moving pulse = being delivered, grey fading for 12 s = delivered or
237
+ read. "×N" = several messages share a line; failed ones belong in Needs you. A `delegate_task` also draws the work: a
238
+ slow-moving purple line, delegator → worker, **in progress** until the worker's `report_result` with the same
239
+ correlation id comes back (then one pink line returns); none after 4 h fades as **no report yet**. Reloads and the
240
+ public link show the open ones. Every line ends on a card or a folded team's box. #2182: lines are routed card to card
241
+ by libavoid (libavoid-js 0.4.5, LGPL) in a worker — around cards, through gaps in team borders, never along a border or
242
+ across a team's name, lines sharing a stretch drawn apart; zoomed out, or where the router can't run (no WebAssembly,
243
+ an old browser), they follow the gaps between teams as before. The worker alone may run WebAssembly and reaches nothing
244
+ (its own CSP); the dashboard's CSP is unchanged. No message
245
+ text is ever shown; instances with `cross_instance_visibility: hidden` are left out. On a public link it refreshes
246
+ every 5 s.
247
+
248
+ ## Finding an instance
249
+
250
+ **The sidebar list.** Grouped by team (an instance in `teams.<name>.members` under its first team, whatever its tags), else by
251
+ its first tag ("#" before the heading), ClassicBot rooms under Classic, the rest under Other; Settings → Agents the same (#2172).
252
+ Each row (#2179): name and context % on the first line, the time of the agent's last reply to a person at the end of the
253
+ second ("2 min ago"; cross-instance messages don't count); a reply under 10 minutes old is highlighted, fading by itself
254
+ (nothing to mark read). The sort button beside Edit: **Custom** (default; a reply never moves a row) or **Recent replies**
255
+ (the rest by last reply, no groups, no dragging; favorites pinned in their order, or **Sorted by last reply too**); synced
256
+ as `nav.sort`. Guests and the anonymous View reader: no times, no sort (always Custom).
257
+ **Filter: name, model, backend** (Esc clears), facets **Status** and **CLI**, "N / M shown".
258
+ While a filter is on, the instance you have open stays on top under **Current**. **Favorites**: the star on a row;
259
+ **Edit** to reorder (at most 50; "Clear the filter to reorder favorites"). Drag to reorder the full list; groups fold.
260
+ Order, folding, filter and favorites follow you across devices. A row keeps you on the same kind of page (from a Log
261
+ to that instance's Log).
262
+
263
+ **Chat | View | Log | Details** switch at the top of an instance.
264
+ - **View** — the live terminal (read only).
265
+ - **Log** — [the Log tab](#the-log-tab).
266
+ - **Details** — Configuration (display name, description, directory, bound to, tags; "Read only — change it in
267
+ Settings." with **Edit in Settings**), Runtime (backend, model, effort, cost, context, 5 h and 7 d rate), Recent
268
+ activity, its identity card and widget. The ⋯ menu: Start / Restart / Stop instance, Pause / Wake, Colour…, **Page
269
+ colours** (#2196: the agent's choice / on the whole page / only its chat — host prefs `theme.pageByInstance`), and
270
+ the theme lock/reset.
271
+ - **Page colours (#2196):** an agent's theme with `page.on` (or a person's "on the whole page") colours the sidebar,
272
+ the header and the usage rail (a phone: drawer, header, tabs) while that agent's Chat/View/Log/Details is open —
273
+ colours only; status colours (Needs you count, state dots, errors, focus ring) never change. The header follows the
274
+ page, not the chat. Off with agents' themes off or `?safe=1`.
275
+
276
+ Phone layout: bottom tabs Chat, Needs you, Fleet, Settings. Chat is current on any of an agent's pages and goes to its
277
+ chat; View, Log and Details are the switch under the header.
278
+
279
+ ## Usage and the cache report
280
+
281
+ **Usage.** The **Usage** header button: a right-hand rail at 1200 px or wider (shown/hidden per device; on Chat,
282
+ View, Log, Details and Fleet), otherwise a dialog — **AI Subscription Usage**. One row per provider in use (Claude,
283
+ Codex, Muse, Grok, Kiro, Antigravity; every Claude login on the host, used or not — `Claude (default)` and each profile, #2236): Claude's **Session** (5-hour window) and **Weekly** (7-day), per-model weekly
284
+ rows, "binding" on the window that will stop you, **Extra usage** in dollars. "high" at 70%, "near limit" at 90%.
285
+ Refreshes every 60 s while open; **Refresh** forces it (at most once per 30 s); **Move up / Move down** reorders rows.
286
+ `web.usage_panel: false` hides the rail and dialog (the `/usage` chat command and `get_usage` still work).
287
+ **A failed read keeps the last numbers** (#2236 follow-up): an expired token, a rate limit, a network blip or any other
288
+ error shows the numbers from the last good read (up to a week old), greyed, with "expired · cached at 14:05" (or "not
289
+ updated" / "couldn't read") and what to do under it; a window that has reset since says "reset since …" with no number.
290
+ `get_usage` rows carry `stale: true`, `cachedAt`, `staleCause` (expired / transient / error) and `resetPassed` on such
291
+ metrics; read them as old. A provider never read successfully still shows its error. A good read clears the mark.
292
+
293
+ **Profiles and plan badges.** Each Claude credential profile has its own row: the card says "Claude" with the
294
+ profile on its own line (the API and chat call it "Claude (<profile>)"); a shared row appears only while some
295
+ instance uses the default login. The badge is the account's plan — e.g. **Pro**, **Max ×20**, **Team ×6.25** (the
296
+ multiplier is its rate-limit multiple; full name on hover). A setup-token login has no badge. A signed-out profile
297
+ says "Not logged in — sign in with /login claude-code <profile> …". More: the `credential-profiles` skill.
298
+
299
+ **The cache report** (Fleet → **Cache**; the `get_cache_report` tool). How often each instance's prompt cache
300
+ expires between turns and what that costs, read from transcripts (Claude Code, Codex; kiro is credit-billed: "Not
301
+ available"). Windows **24 h / 7 days / 30 days**. Fleet row: **Expiry cost**, **Keep-warm would save**,
302
+ **Recommended**, and **Switch to 1-hour cache** when an instance needs it. Per instance: requests, gaps past the TTL,
303
+ expired (rewrote), tokens rewritten, expiry cost, keep-warm pings and their cost, net, cache writes 5 min / 1 h, and
304
+ **Behaves as** — whether a "5m" cache really expires after 5 minutes (measured over 5–60 minute gaps of the last 7
305
+ days). Money is list price (date shown); quota effects are estimates. `get_cache_report` gives the fleet to General,
306
+ coordinators and full-profile instances, and each other instance only its own row.
307
+
308
+ **The usage report** (the `get_usage_report` tool, and Fleet → **Usage**, `/ui/fleet/usage`, #2122; the ◔ dialog's
309
+ **By agent →** opens it). Per instance (or backend,
310
+ model, credential profile, team): input, output, cache read and cache write tokens, requests, delivered messages,
311
+ and an amount, over today / 7d / month / all / custom days in the fleet's timezone. **Every amount is the
312
+ API-equivalent at list price — not money spent** (subscriptions aren't billed per token): say "API-equivalent", never
313
+ "spent". Measured for Claude Code and Codex. Marks to repeat in words:
314
+ - `cache_write_not_reported`: Codex records no cache writes, so they are neither shown as 0 nor priced.
315
+ - `not_priced`: the tokens are shown, the amount isn't.
316
+ - `source_unknown`: read before #2122, when which backend and profile read it was not recorded (backend and profile
317
+ "unknown" — never today's).
318
+
319
+ Each hour keeps the backend whose reader read it and the profile it was read under, so an instance that changes
320
+ backend or profile keeps its history as it was. `notMeasured` lists kiro and the other backends with their reason;
321
+ they are never a $0 row, and what such an instance measured before still shows. Messages are counted per instance, so
322
+ by backend they go under its backend now. Coverage only says "read" for a catch-up that listed and read every source
323
+ (an unreadable directory or transcript is not covered, never a 0). Scope as
324
+ `get_cache_report`. The dashboard reaches it over the public link only with `web.usage_report_on_public_link: true`
325
+ (Settings → Web → **Usage report over the public link**, applies at once; otherwise the page says "Not offered over
326
+ the public link" and links to that switch on the dashboard reached directly); guests never. The page adds a daily trend (top 5 and
327
+ others), a heatmap that tells a day read with nothing used from a day not collected, and **Download CSV** (the shown
328
+ answer's daily rows, with the basis). Claude subagent (sidechain) turns aren't counted yet. A long range whose daily rows
329
+ are too many says from which date the charts and the CSV start (the totals stay whole); a day used only by an unpriced
330
+ model is "used, not priced"; after a timezone change each day keeps the zone it was made in, and the page says so.
331
+
332
+ **Keep-warm** means sending a small turn before the cache expires so the next real turn reads it instead of
333
+ rewriting it. **Today it is only a simulation and a recommendation** — AgEnD sends no keep-warm pings (#1469 is
334
+ still being designed). If the report says **Switch to 1-hour cache**, the remedy is
335
+ `backend_options.claude-code.prompt_cache_ttl: "1h"` on that instance (takes effect on the next start).
336
+
337
+ ## The Log tab
338
+
339
+ What an agent was asked, its replies (never its thinking), each tool call (Read, Edit, Search, Run, Web, MCP,
340
+ Sub-agent…, with **Show output**), errors, turn ends, compactions and fleet events, on one timeline. Filters **All /
341
+ Tools / Errors**; **Live** while it updates. Opens with the newest 200 steps; **Load older steps** adds 100 at a time
342
+ (the page keeps 1000). Off by default: `web.log_tab` (Settings → Web → **Log tab: each agent's steps**; turning it on
343
+ from the tab itself needs a fleet admin's confirmation). Full for Claude Code (also after it stopped) and Codex while
344
+ running; kiro shows fleet events only; other backends say they have no readable transcript. Secrets are masked.
345
+
346
+ ## Settings
347
+
348
+ **Connections → Retry now** retries a disconnected connection without a fleet restart; a running login is reused. Startup retries continue with a five-minute cap. Local admin only, unavailable over public links. It changes no token or binding; refresh to read the later result.
349
+
350
+ Tabs (`/settings/<tab>`): **Preferences**, **Web appearance**, **Agents**, **Connections**, **ClassicBot**,
351
+ **General**, **Web**, **Developer**. Header: version, **Setup wizard**, **Help**.
352
+
353
+ **How changes apply.** Agents, Connections, ClassicBot, General, Web and Developer edits are *staged*: a dialog's
354
+ **Stage change** (General/Web: **Review changes**) adds it to the bar **Changes not applied yet**, which shows the
355
+ cost — **Immediately**, **Restart this Agent** or **Restart AgEnD** — then **Apply changes** or **Discard**.
356
+ Confirmations (e.g. opening access) are asked at Apply. A change that loosens access waits for a fleet admin to confirm
357
+ in the General chat ("Waiting for confirmation", **Withdraw**) — unless the browser is web-verified (#2170): an
358
+ account that is a fleet admin of every connection the change affects, on their platform, confirms it by its own Apply
359
+ ("Confirmed by your account"; General gets a notice; every check runs again at execution). Not for a guest, the public
360
+ link, an unverified browser or a change that needs the host CLI. After a failure, unapplied changes are staged again
361
+ (secrets must be re-entered). **Restart AgEnD** restarts every agent. Preferences and Web appearance save directly.
362
+
363
+ **Preferences** — follows you across devices unless marked:
364
+ | Control | What it does | Stored |
365
+ |---|---|---|
366
+ | Your name (**Save**, **Use web-user** / **Use <account>**) | the name agents see on your web messages | your profile |
367
+ | Theme: System / Light / Dark | page theme | host prefs `theme` |
368
+ | Language: English / 中文 | page language (not the bots' replies — that is General → Language) | host prefs `lang` |
369
+ | Names: Nickname first / Real name first | sidebar names | host prefs `names.primary` |
370
+ | Allow HTML previews | the preview opt-in | host prefs `preview.optIn` |
371
+ | Chat tour (this device) | replays the chat tour | browser |
372
+
373
+ **Web appearance** — see [Web appearance](#web-appearance) for the cards and what they mean.
374
+
375
+ **Signing a backend in (#2233)** — local admin sessions only (never a guest or the public link): Settings → Agents →
376
+ **Sign-ins** (each backend's login and each credential profile an agent uses: state, **Sign in** / **Sign in again**,
377
+ or the host command / install command where the dashboard cannot), the web `/backend` picker's **Sign in to
378
+ <backend>** on a "not signed in" choice, and Needs you's **Sign in**. The dialog: the pre-check's question (still
379
+ signed in? kiro logs out first; **Use a temporary public link** where allowed), then a device code, or **Open the
380
+ sign-in terminal** + its one-time access code (this browser only, no DM). While it runs every admin page shows
381
+ "Signing in to X (started on <device>)" with **Open**; another browser sees no code and may **Cancel sign-in**. Ends
382
+ when the browser session ends. A missing CLI is not installed here (the dialog says the install command). agy and
383
+ opencode: no dashboard sign-in. Config: `web_terminal.*` (as `/login`).
384
+
385
+ **Agents** — **New agent**; per agent **Settings**, **Pause / Wake**, **Start / Stop** (direct), ⋯ **Delete agent**
386
+ (staged; on Apply it waits for a fleet admin's confirmation in General, then the agent is stopped and removed, as
387
+ `delete_instance` does — no restart). The agent dialog writes `instances.<name>.*` (an "Inherit" box removes the key):
388
+ | Label | Key | Applies |
389
+ |---|---|---|
390
+ | Display name, Description | `display_name`, `description` | now |
391
+ | Backend, Model, Working directory | `backend`, `model`, `working_directory` | restarts the agent |
392
+ | Auto-pause after (minutes, 0 = off) | `auto_pause_after` | now |
393
+ | Channel binding | `channel_id` | restarts AgEnD |
394
+ | Stuck timeout (minutes) | `hang_detector.timeout_minutes` | agent |
395
+ | Agent mode, Tool set | `agent_mode`, `tool_set` | agent |
396
+ | Tool progress; Bot-to-bot messages in topics (full / summary / hidden); Log level | `tool_progress`, `cross_instance_visibility`, `log_level` | now |
397
+ | Require a delivered reply | `reply_completion_guard` | now |
398
+ | Lightweight mode, Fallback model | `lightweight`, `model_failover` | agent |
399
+ | System prompt | `systemPrompt` | agent |
400
+ | Tags | `tags` | now |
401
+ | General topic (fleet dispatcher) | `general_topic` | AgEnD |
402
+ | Status emojis (Received, Queued, Processing, Delivered, Failed, …) | `status_emojis` | agent |
403
+
404
+ **Connections** (the bots) — **New connection**: type, bot token (**Verify**), Discord server or Telegram group,
405
+ your user ID. It starts without a restart when AgEnD already runs another connection and nothing else at fleet level
406
+ changed; a fleet's first connection (or a change to an existing one) offers **Restart AgEnD**. Per bot: **Access mode** (locked / open / pairing) and **Allowed users** —
407
+ `channels[i].access.*`, staged, restarts AgEnD, asks before opening access; **Guild/Group id** and General channel /
408
+ forum topic with **Verify the new binding** (applies directly after a confirmation); **Status emojis**; Advanced →
409
+ **Replace** the token (saved to `~/.agend/.env`); **Delete this bot** (the token stays in `.env`). **Provider API keys**:
410
+ **Verify & apply**, used by new processes.
411
+
412
+ **ClassicBot** — per room **Settings**, **Pause / Wake**. The room dialog writes `classicBot.yaml`
413
+ `channels.<key>.*`: Backend, Model, Auto-pause after, **Collaboration mode** (`collab`), **Web echo** (`web_echo`),
414
+ Advanced **Context lines** (these restart the room's agent); Tool progress and Require a delivered reply (now).
415
+
416
+ **General** — fleet defaults (`defaults.*`): **Language (bot replies)** (`locale`: Auto / en / zh-TW), default
417
+ backend and model, auto-pause, tool progress, bot-to-bot visibility, reply guard; Advanced: tool set, agent mode, log
418
+ level, **Hang detector enabled** / **Stuck timeout** (`hang_detector.*`), **Startup concurrency** (1–20) and
419
+ **Stagger delay** (`startup.*`, restart AgEnD). ClassicBot card (`classicBot.yaml defaults.*`): default backend, tool
420
+ progress, reply guard, **ClassicBot admins**, **Allowed guilds**.
421
+
422
+ **Web** — all apply at once; loosening waits for an admin; disabled over a public link.
423
+ | Label | Key |
424
+ |---|---|
425
+ | Session length, hours (1–720) | `web.session.local.absolute_hours` |
426
+ | Sign out after unused for, hours (1–720) | `web.session.local.idle_hours` |
427
+ | Allow the browser terminal (the `/login` terminal) | `web_terminal.enabled` |
428
+ | Terminal session minutes (1–20) | `web_terminal.ttl_minutes` |
429
+ | Web echo | `web.echo_to_channel` |
430
+ | Log tab: each agent's steps | `web.log_tab` |
431
+ | Offer temporary public web links | `web.public_link.allow_public` |
432
+ | Public link minutes (1–480) | `web.public_link.ttl_minutes` |
433
+ | Tunnel protocol (http2 / quic / auto) | `web.public_link.protocol` |
434
+ Shown read-only ("Set in fleet.yaml"): `web.allowed_hosts`, `view_access`, `notify_login`, `preview`, `preview_port`,
435
+ `preview_origin`, `preview_on_public_link`, `usage_panel`, `provider_secrets`, `upload_max_file_mb`,
436
+ `upload_max_total_mb`, `web_terminal.bind`, `web_terminal.tunnel`.
437
+
438
+ **Developer** — fleet.yaml as **YAML / JSON**, **Edit / View**, **Copy**, **Download fleet.yaml**; **Apply & save**
439
+ (edit mode) applies at once, without the bar.
440
+
441
+ **Setup wizard** — agent (backend, directory, name) → platform → token and server/group, your user ID → preview →
442
+ **Create and start**.
443
+
444
+ ## Web appearance
445
+
446
+ For an agent changing its *own* look, the `web-appearance` skill has the tools and limits. What a person sees in
447
+ Settings → **Web appearance**, card by card:
448
+ - **Agents' themes** — **Show agents' themes, effects and widgets**; off, every chat looks the same and pictures and
449
+ ring colours fall back to the bots' own (all devices). **Effects: follow the system's reduced-motion setting** (this
450
+ device only, off by default): on, ambient effects stay still while the system asks for reduced
451
+ motion. Otherwise they play, with one shared one-time chat note and a local action to follow the system.
452
+ - **Ambient effects** — an agent's falling petals, snow, rising lanterns, twinkles or stars on a click, drawn behind
453
+ its chat by the dashboard (data only, no consent needed). They show by default, the public link too; the chat's ⋯
454
+ menu says why one is not showing (choosing the line fixes it there) and offers **Clear the ambient effect** /
455
+ **Clear the click effect**. With the system asking for reduced motion, the chat says once per device that effects
456
+ are on, with **Turn off here**. General can set or clear one for the user (`set_web_settings`, `what: "ambient"`).
457
+ - **Identity colours** — each agent's colour in the sidebar comes from, in order: a person's pick (⋯ menu →
458
+ Colour…), the agent's own, its bot's Discord role colour, or an automatic soft colour. Choose where it shows (Name /
459
+ Left bar / Ring) or **Turn off colours** (the picks are kept).
460
+ - **Identity cards** — Small / Medium / Large for all cards; a card's own S / M / L overrides it.
461
+ - **Your sidebar widget** — a small panel under the instance list built from JSON (no HTML or script), with live
462
+ values such as `fleet.working` and `fleet.needs_you`; agents can't change it.
463
+ - **Custom CSS (yours only)** — your own CSS on every device you sign in on, never on Settings, never others'; it
464
+ can't load from the internet (put pictures and fonts under Assets: PNG, WebP, JPEG, GIF, WOFF2, 1 MiB in total).
465
+ **Save and try**, then **Keep** within 15 s or it reverts; **Turn off (all devices)**; earlier versions **Use
466
+ this**. If something is hidden or broken, open the page with `?safe=1`, or tick **Turn off custom CSS on this
467
+ device**.
468
+ - **Identity card upload limits** — portrait and banner size limits and per-agent picture quota
469
+ (`web.appearance.*`); lowering applies at once, raising waits for an admin.
470
+ - **Restore defaults** — resets this host's appearance settings (it lists what it resets first).
471
+
472
+ **What an agent can change for the user.** A worker changes only its own look (the `web-appearance` tools); before
473
+ #2064 everything on this page was the person's. Since #2064 (2.3.0-beta.3; check the running version) General, coordinators and
474
+ full-profile instances get `get_web_settings` / `set_web_settings`, which go through the same checks as the page;
475
+ workers don't. The `web-appearance` skill's **For the user** section has the details. In short: General can change
476
+ the host's appearance settings, one agent's identity colour, ambient effects and Restore defaults; for custom CSS it can save a version **on trial**, keep or revert
477
+ the trial, switch to an earlier saved version, or turn CSS off — and it keeps a trial only once the user says they like
478
+ it (the user's decision, 2.3.0-beta.3). Still the person's own click on the page: choosing files from their computer
479
+ (upload CSS assets), the per-browser switches (custom CSS off on this device, Pause/Resume), and the
480
+ card upload limits. The docs' "Asking General to change it for you" says the same for people.
481
+
482
+ ## Troubleshooting
483
+
484
+ **Blank dashboard / can't connect (WSL).** The dashboard listens on 127.0.0.1:`health_port` inside WSL; Windows
485
+ reaches it through WSL's localhost forwarding. Compare the two sides:
486
+ - in WSL: `curl -sS -o /dev/null -w '%{http_code}\n' http://127.0.0.1:19280/health`
487
+ - in Windows PowerShell: `curl.exe -sS -o NUL -w "%{http_code}" http://127.0.0.1:19280/health`
488
+ Any HTTP code (200, or 503 when the fleet is degraded) means that side reaches the listener; `000` means no
489
+ connection. A 403 "Host not allowed" means the name used isn't localhost/127.0.0.1 — add it to `web.allowed_hosts`.
490
+ If WSL answers and Windows doesn't, the forwarding is the problem: try `http://localhost:19280` vs
491
+ `http://127.0.0.1:19280`, or the SSH tunnel in docs/web-dashboard.md. **Do not** tell the user to kill `wslrelay`
492
+ or run `wsl --shutdown` — that stops every WSL program, AgEnD included. Changing WSL's networking mode is the user's
493
+ own decision. If the port is taken by something else, chat says "Dashboard unavailable — health port … is already in
494
+ use".
495
+
496
+ **Preview "connection refused" / "did not answer within 3 s".** The preview frame comes from the second port
497
+ (`health_port + 1`). Over SSH, forward that port too (`-L 19281:127.0.0.1:19281`). Through a proxy or tunnel the two
498
+ names are kept apart: the **dashboard's** external name goes in `web.allowed_hosts`, and `web.preview_origin` must be
499
+ a **different** host name, mapped to the preview port, that is neither the dashboard's `hostname` nor in
500
+ `web.allowed_hosts` (the validator refuses a preview origin the dashboard answers to). "Something else answered on
501
+ the preview port": another program holds it — change `web.preview_port` (restart). If fleet.log says "Preview
502
+ listener unavailable", the port could not be bound (older versions' cards then wrongly said previews were turned
503
+ off).
504
+
505
+ **Public link fails at once.** Read the step list the bot posts and daemon.log's "Public web link … startup failed":
506
+ - "another tunnel is still running" — a `/login` link or an unconfirmed old tunnel; wait for it to end, or close it;
507
+ - "Cloudflare is limiting new temporary links from this machine" (HTTP 429) — try later; the local dashboard still
508
+ works;
509
+ - "cloudflared stopped before it gave a public address" / "could not be started" / "the download did not complete"
510
+ — the tunnel program failed or couldn't be fetched (network, proxy);
511
+ - "Cloudflare gave no public address in time" — only after a real 60 s wait;
512
+ - no steps at all: `web.public_link.allow_public: false`, or the sender is not a fleet admin.
513
+
514
+ **"Your session has ended."** It lasted its 48 h (or the idle limit), a public link closed or ran 4 h / 30 min idle,
515
+ or someone ran `/web revoke`, **Sign out everywhere** or `agend web-token rotate`. Get a new code: `/web`, **Send me
516
+ a new code**, or `agend web` on the host. "No session — open the dashboard link again" means the browser keeps no
517
+ cookies for the site.
518
+
519
+ **No live updates ("it only refreshes every few seconds").** The page normally keeps one live stream; if nothing
520
+ arrives within 15 s, it stays silent 30 s, or a proxy buffers it, the page polls every 5 s instead and retries the
521
+ stream in the background. Nothing is lost except immediacy (the Log tab may lag up to 30 s). A public link always
522
+ polls. "Can't reach AgEnD — it may be restarting" means even polling failed.
523
+
524
+ **Usage meters missing.** `web.usage_panel: false`, the window is narrower than 1200 px (use the Usage button), or
525
+ no instance uses that provider.
526
+
527
+ **Settings won't change something.** Over a public link, Web settings and appearance are read only; a loosening
528
+ change waits for an admin's confirmation in General chat; a value in the "Set in fleet.yaml" list must be edited in
529
+ fleet.yaml (Developer tab, or the file) and `agend reload`.
@@ -21,6 +21,7 @@ For how *you* look on the dashboard (theme, identity card, colour, widgets, ambi
21
21
  | sending, files, buttons, polls, HTML previews, code, tables, slash commands, Stop, history, copies in Discord/Telegram | [Chat](#chat) |
22
22
  | the red badge, prompts, failed deliveries, desktop notifications | [Needs you](#needs-you) |
23
23
  | "which agent did I ask about X", Ctrl+K, Ctrl+F in a chat, search results, filters | [Search](#search) |
24
+ | Ctrl+Z / undo / redo in a text box, "undo did nothing", "undo changed another box" | [Undo and redo](#undo-and-redo) |
24
25
  | tasks, schedules, teams, org chart, live traffic lines, cache, Config tab | [Fleet](#fleet) |
25
26
  | the sidebar list, filters, favorites, Chat / View / Log / Details, the Details page | [Finding an instance](#finding-an-instance) |
26
27
  | subscription meters, plan badges, profiles, keep-warm, prompt cache | [Usage and the cache report](#usage-and-the-cache-report) |
@@ -190,6 +191,16 @@ longer keeps opens as the index's copy. Admins only (no guests; over the public
190
191
  agent's messages are not found. "Search is off or not available": `web.search.enabled: false`, or the index could not
191
192
  open (the fleet log says why); "Still indexing": the first fill after an upgrade.
192
193
 
194
+ ## Undo and redo
195
+
196
+ Every text box has its own undo history (#2342): **Ctrl+Z** undoes, **Ctrl+Shift+Z** or **Ctrl+Y** redoes (**⌘Z** / **⌘⇧Z** on a
197
+ Mac), only while typing in a box. Undo never changes another box (the browser's own stack is page-wide). Typing undoes a
198
+ word (or a pause) at a time; an IME composition is one step. Undoable too: a Tab-completed `/command`, Put back, As
199
+ text, a recent search picked, the filter's Esc/× clear, a status-emoji pick, a widget example, a restored CSS version
200
+ (a colour swatch is a choice, not text: it starts the hex box afresh). The browser's own Edit-menu Undo goes through the
201
+ same history; its Redo is offered only after its own undo (use the keys). Not undoable on purpose: a sent message (never back into the composer), text cleared after Add/Send,
202
+ values reloaded after Save. Password fields keep the browser's behaviour.
203
+
193
204
  ## Fleet
194
205
 
195
206
  `/ui/fleet/<tab>`: **Tasks**, **Schedules**, **Teams**, **Org chart**, **Cache**, **Config**, plus a **Docs** link.
@@ -203,7 +214,9 @@ The sidebar's **Fleet** (zh "Fleet 概覽", at the top) and the phone's Fleet ta
203
214
  instance's `done` on such a card is review). No delete: cancel. Alt+arrows on a card's title move it (no drag
204
215
  needed; the card's Position row on a phone). A main task's tile shows the sub task at work and who is on it; a card
205
216
  waiting for review that is not wrapped up says **To fill in** and Confirm asks first. A card's **Dispatched by** row:
206
- who handed it out (a blocked question goes to them first). Read-only over the public link.
217
+ who handed it out (a blocked question goes to them first). Read-only over the public link. Cards waiting for
218
+ confirmation and blocked cards are also **Needs you** items: on the web they open the card; in each bot's live
219
+ message in General they have **Confirm** / **Send back** / **Answer** (the words are a reply to the bot's prompt).
207
220
  - **Schedules** — every schedule (silent ones included): when it runs in words, "next …", the target. **New
208
221
  schedule** (Repeat with a cron expression, or Once at a date and time; message, target, label, timezone),
209
222
  **Edit** (with an **Enabled** box — that is how you pause one), **Delete**. There is no "run now", and silent can't
@@ -403,10 +416,10 @@ forum topic with **Verify the new binding** (applies directly after a confirmati
403
416
  `channels.<key>.*`: Backend, Model, Auto-pause after, **Collaboration mode** (`collab`), **Web echo** (`web_echo`),
404
417
  Advanced **Context lines** (these restart the room's agent); Tool progress and Require a delivered reply (now).
405
418
 
406
- **General** — fleet defaults (`defaults.*`): **Language (bot replies)** (`locale`: Auto / en / zh-TW), default
419
+ **General** — fleet defaults (`defaults.*`): **Language (bot replies)** (`locale`: Auto / en / zh-TW; read at startup: restart AgEnD), default
407
420
  backend and model, auto-pause, tool progress, bot-to-bot visibility, reply guard; Advanced: tool set, agent mode, log
408
421
  level, **Hang detector enabled** / **Stuck timeout** (`hang_detector.*`), **Startup concurrency** (1–20) and
409
- **Stagger delay** (`startup.*`, restart AgEnD). ClassicBot card (`classicBot.yaml defaults.*`): default backend, tool
422
+ **Stagger delay** (`startup.*`, used from the next agent start, no restart). ClassicBot card (`classicBot.yaml defaults.*`): default backend, tool
410
423
  progress, reply guard, **ClassicBot admins**, **Allowed guilds**.
411
424
 
412
425
  **Web** — all apply at once; loosening waits for an admin; disabled over a public link.
@@ -23,7 +23,7 @@ When creating a new instance with `create_instance`:
23
23
  ## What NOT to Do (Dangerous Operations)
24
24
 
25
25
  - **Don't delete `~/.agend/fleet.yaml`** while fleet is running
26
- - **Don't delete `~/.agend/fleet.pid`** manually — use `agend fleet stop` (from a fleet session it needs `--yes`, and it stops every instance)
26
+ - **Don't delete `~/.agend/fleet.pid`** manually — use `agend stop` (from a fleet session it needs `--yes`, and it stops every instance)
27
27
  - **Don't kill tmux server** (`tmux kill-server`) — kills all agent sessions
28
28
  - **Don't edit instance output.log** — it's actively written by the daemon
29
29
  - **Don't run two fleet processes** on the same AGEND_HOME — port/socket conflicts