Files
buzz/desktop
bestie00 53bff286cc agents: full create/update/delete lifecycle from the CLI, SDK-first
Extend the persona-draft flow into a complete agent lifecycle that any
Buzz client can drive. Business logic now lives in buzz-sdk; the CLI and
Desktop are thin layers over it.

buzz-sdk
- New `agent_management` module: request/result frame shapes for
  create/update/delete (kind 30177 managed-agent fields, target by
  current name or pubkey, `review` flag, `MAX_PARALLELISM = 32`),
  origin classification, and result status enum
  (executed / pending_owner_review / dismissed / rejected / failed).
- `agent_definitions`: kind 30177 parse/build helpers shared by CLI
  and Desktop.

buzz-cli
- `buzz agents list|get|create|update|delete` with `--wait <secs>`
  (subscribes for the Desktop result frame before publishing) and
  `--review` to force the owner review form. `draft-create` /
  `draft-update` remain as `--review` aliases.
- Output reports `status` + `saved` honestly; rejected/failed exit
  non-zero with the Desktop's error.

desktop
- Rust re-exports the SDK shapes instead of duplicating them.
- New owner setting "Let my agents manage agents without review"
  (default off). When off, behaviour is unchanged: every request opens
  the existing review dialogs (delete now has an AlertDialog confirm).
  When on, `executeAgentManagementRequest` applies the change directly:
  create → persona + instance + channel attach + start; update →
  persona edit synced to linked agents; delete → managed-agent delete
  + removal from every channel. Refuses self-delete, team agents, and
  unavailable runtimes. Either path answers the requester with a result
  frame via the observer control channel.
- Origin trust is unchanged: sender must be an owned agent sharing the
  originating channel.

prompts
- base_prompt.md / nest skill (v2, NEST_SKILL_VERSION 6): teach the new
  commands, require a specific human directive before managing agents,
  and require honest reporting of executed vs pending review.

Verification: cargo test --workspace (buzz-pair-relay
`test_120s_timeout`/`test_cancellation_immediate` flake identically on
the untouched base commit), desktop/src-tauri cargo test (2465 pass),
clippy -D warnings clean for both, pnpm check / typecheck / test
(5004 pass).

Co-authored-by: Bradley Axen <baxen@squareup.com>
Signed-off-by: Bradley Axen <baxen@squareup.com>
2026-08-21 15:20:33 -07:00
..
2026-08-03 21:51:17 -04:00
…

Buzz

Desktop chat shell with:

  • Tauri + React + TypeScript + Vite
  • Tailwind CSS
  • shadcn/ui-ready shared components
  • Biome (lint/format/check)
  • Feature-driven frontend structure

Scripts

  • pnpm dev - run the web frontend
  • pnpm tauri dev - run the desktop app
  • pnpm build - typecheck and build frontend
  • pnpm typecheck - TypeScript checks
  • pnpm lint - Biome lint
  • pnpm format - Biome format (write)
  • pnpm check - Biome check

Structure

  • src/shared - reusable app-wide code (ui, lib, styles)
  • src/features - feature modules (vertical slices)
  • src/app - top-level app composition