Files
buzz/desktop
Duncan eb81c7f437 fix(desktop): instance-level agents nav — fix round 3 corrections
- Add LocalAgentSummary struct to OwnedAgentInstance (pubkey, name, personaId)
  and merge local managed-agent records once by normalized pubkey in
  get_owned_agent_inventory; local-only instances (no relay row) are
  included in the merged model.
- InstancesSheet: relay-only badge keys on local === null (not personaId === null),
  badge stays visible when archived (drop && !isArchived gate).
  Add usePresenceQuery over all instance pubkeys (persona + unknown).
  Render unknown-persona section from relay inventory (not ManagedAgent[]).
- Absent archive snapshot → (false, empty); add HashSet::<String> type
  annotations to fix unit test inference errors.
- e2eBridge: mutable mockOwnedInventory with deep-clone reset; archive/unarchive
  handlers mutate exact-target instance and record payload via
  __BUZZ_E2E_COMMAND_PAYLOADS__; Object.values multi-line format fix.
- agent-instances-sheet.spec.ts: 9 tests covering local+relay merge, exact-target
  Archive/Unarchive/refetch flow, relay-only badge per row, unknown-persona
  section, and negative-control persona isolation.
- tests/helpers/bridge.ts: updated ownedAgentInventory type to byPersonaId/unknown
  shape with local field.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-06 12:24:57 -04: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