AnyBot/src
王性驊 4506cc149b Clippy is clean on macOS and Linux, for the app and the relay
Every warning `cargo clippy --all-targets` gave (50 on macOS, 8 more only on
Linux, 1 in the relay), fixed without changing what anything does:
- long types get a name (Peer, Members, Imported, Joining, Mention, Stream…);
- the two big enum variants are boxed (the vault's login plan, joining an
  account);
- a test now waits for the copy it relaunched (it left a zombie behind);
- a hint's format had a dead `if` whose two branches were both "";
- the rest is what clippy suggests: sort_by_key, as_chunks, is_none_or,
  is_multiple_of, while let, from_ref, next_back, struct init, no casts to
  the same type.

Checked: cargo test (177 macOS, 181 Linux), relay tests (11), remote_e2e
28/28, and the live Linux test (X11; Wayland clicks, keys, Chinese typing,
scroll and screenshots).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uirha2RVfSYmrhqNnqx9Z4
2026-11-07 10:10:28 +08:00
..
app Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
agent.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
app.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
appctl.rs A step on a skill or a memory says which one 2026-11-07 00:36:24 +08:00
attach.rs Real-use fixes: the person sees the screens the bot shows, files reach the phone, no blank-tab loops 2026-11-06 19:37:45 +08:00
avatar.rs AnyBot: first commit of the working desktop app 2026-11-04 16:51:51 +08:00
axread.rs Mac permissions: ask at most every ten minutes; one fixed signing key keeps them across updates; open apps by their shown name 2026-11-05 16:57:44 +08:00
botbrowser.rs Each job works on its own tabs; a Lima VM the box lives in is started when it's down 2026-11-07 00:50:29 +08:00
browser.rs Each job works on its own tabs; a Lima VM the box lives in is started when it's down 2026-11-07 00:50:29 +08:00
channels.rs Routines follow the clock in each timezone; channels resume where they stopped; pages find checks the bot 2026-11-05 15:48:22 +08:00
cloudbox.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
computer.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
desk.rs Bots click by number: every control on the screen is boxed and numbered, on every computer 2026-11-06 00:47:01 +08:00
desktop.rs Real-use fixes: the person sees the screens the bot shows, files reach the phone, no blank-tab loops 2026-11-06 19:37:45 +08:00
diagram.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
egress.rs Remote: per-IP login lock, egress peers and timeouts narrowed; brain-mirror link covered by tests 2026-11-05 15:48:20 +08:00
httpd.rs Remove what nothing uses and keep one copy of what was written several times 2026-11-05 23:21:47 +08:00
i18n.rs Replies in Traditional Chinese when that is the setting; a cloud brain's browser is the person's 2026-11-05 14:46:42 +08:00
i18n_table.rs 需要處理: a bot hands a step to the person with its computer's live screen in the chat; the window fills to the top; the 電腦 card and viewer keep their text in place 2026-11-05 17:29:55 +08:00
icons.rs Remove what nothing uses and keep one copy of what was written several times 2026-11-05 23:21:47 +08:00
macapps.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
main.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
marks.rs Bots click by number: every control on the screen is boxed and numbered, on every computer 2026-11-06 00:47:01 +08:00
mcp.rs Compaction keeps tool pairs; MCP locks per server; the chosen computer needs whole words to move 2026-11-05 15:48:20 +08:00
memory.rs Bots learn from what they did; the box's browser works with the box's own disk 2026-11-06 23:12:53 +08:00
mic.rs Demo recording keeps its last events off the UI thread; dialogs, screensaver probe and installer traps fixed 2026-11-05 15:48:22 +08:00
model.rs Every computer goes by its own name; a server brain works on the computer the person uses 2026-11-05 16:47:28 +08:00
notify.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
pages.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
phone.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
platform.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
policy.rs AnyBot: first commit of the working desktop app 2026-11-04 16:51:51 +08:00
portal.rs Stream deltas keep tool-call slots; chunked bodies accepted; portal sessions race-safe 2026-11-05 15:48:20 +08:00
preview.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
providers.rs Bots learn from what they did; the box's browser works with the box's own disk 2026-11-06 23:12:53 +08:00
remote.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
routines.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
setup.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
share.rs Export drops threads; a broken keyring stops with the secret recoverable 2026-11-05 15:48:20 +08:00
teach.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
teams.rs Remove what nothing uses and keep one copy of what was written several times 2026-11-05 23:21:47 +08:00
theme.rs Remove what nothing uses and keep one copy of what was written several times 2026-11-05 23:21:47 +08:00
tools.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
triggers.rs Routines follow the clock in each timezone; channels resume where they stopped; pages find checks the bot 2026-11-05 15:48:22 +08:00
tunnel.rs Remove what nothing uses and keep one copy of what was written several times 2026-11-05 23:21:47 +08:00
vault.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
vault_store.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
vnc.rs Whole control flow checked against real chats: what the bot sees is what is there, every step lands, nothing done twice 2026-11-06 17:44:59 +08:00
voice.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
web.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
wire.rs Remove what nothing uses and keep one copy of what was written several times 2026-11-05 23:21:47 +08:00
wl.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00
x11.rs Clippy is clean on macOS and Linux, for the app and the relay 2026-11-07 10:10:28 +08:00