buzz
buzz copied to clipboard
feat(desktop): autocomplete ACP slash commands
Summary
- forward ACP
available_commands_updatenotifications as encrypted semantic observer snapshots - persist the latest bounded command catalog per owner and agent, including trusted archive hydration
- add grouped slash-command autocomplete at message start or after leading agent mentions
- route start-of-message selections through the chosen agent mention and register its exact pubkey
Behavior
Typing / at the start of a message shows commands advertised by agent members in the channel. Typing / after one or more leading @Agent mentions narrows suggestions to those agents. Duplicate command names stay grouped by provider, empty updates remove stale commands, and catalogs survive app restarts.
Testing
pnpm --dir desktop test(3,466 passing)pnpm --dir desktop checkpnpm --dir desktop typecheckpnpm --dir desktop buildcargo test -p buzz-acp available_commands_update_emits_complete_semantic_snapshotcargo clippy -p buzz-acp --all-targets -- -D warningscargo fmt --all -- --check
Fixes #2528