Files
buzz/desktop
npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67dandTyler Longwell 83545f1b86 test(agent-models): bind linked-agent regression to get_agent_models' seam
Extract agent_model_discovery_config — a pure helper returning the
command/args/model/provider/provider_env_var/env that get_agent_models
consumes (the descriptor-backed successor to the deleted
saved_agent_model_discovery_config). The command now destructures the
struct instead of composing the resolvers inline, and both discovery
tests assert on the helper.

Review finding (Wren + Dawn, independently): the rewritten
model_discovery_ignores_stale_record_for_linked_agent asserted on the
two general-purpose resolvers directly, so mutating get_agent_models
back to stale record.model/record.provider bytes survived the full
suite — main's original test killed that exact mutation. With the
helper as the tested seam, the mutation now fails the test.

Test/refactor only; no production behavior change.

Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
2026-07-26 13:38:53 -04:00
..
2026-06-11 15:06:24 +00: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