Files
buzz/desktop
DuncanandWill Pfleger 14d186d898 fix(desktop): instance-level agents nav — relay URL race fix and e2e coverage
Fix relay URL race in inventory (Finding 2):
- get_owned_agent_inventory now derives api_base_url from scope.relay_url_override
  (same pattern as scoped_archive_operation) — never re-reads state.relay_url_override
  after epoch capture
- load_archive_snapshot accepts api_base_url: &str; uses query_relay_at +
  inline NIP-11 fetch at the scoped URL instead of fetch_relay_self(state)
  which read state independently
- Removes relay_ws_url_with_override from inventory imports

Add e2e bridge + Playwright spec (Finding 8):
- e2eBridge.ts: case 'get_owned_agent_inventory' returns mock inventory
- bridge.ts: MockBridgeOptions.ownedAgentInventory typed field
- InstancesSheet.tsx: data-testid='instances-sheet' on SheetContent
- agent-instances-sheet.spec.ts: 5 supplementary UI coverage tests
  - start-control safeguard opens Sheet on active relay instances
  - Sheet shows both relay instances when seeded
  - Archive button present for Verified instances with trusted state
  - Archive/Unarchive suppressed when archive state not trusted
  - No-third-mint: start intercepted when inventory is untrusted

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-05 16:43:18 -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