buzz icon indicating copy to clipboard operation
buzz copied to clipboard

feat(desktop): autocomplete ACP slash commands

Open kevinmanase opened this issue 4 months ago • 0 comments

Summary

  • forward ACP available_commands_update notifications 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 check
  • pnpm --dir desktop typecheck
  • pnpm --dir desktop build
  • cargo test -p buzz-acp available_commands_update_emits_complete_semantic_snapshot
  • cargo clippy -p buzz-acp --all-targets -- -D warnings
  • cargo fmt --all -- --check

Fixes #2528

kevinmanase avatar Jul 24 '26 00:07 kevinmanase