Files
buzz/desktop
DuncanandWill Pfleger 060cfc13fd feat(desktop): let preset harnesses carry adapter auto-install
Preset (Tier-2) harnesses were docs-link only by construction:
`preset_catalog_entry` hardcoded `can_auto_install: false`, and the
installer resolved runtimes through the builtins-only
`known_acp_runtime_exact`, so `amp` returned "unknown runtime".

Install commands are now per-entry data on `PresetHarness`, with
`can_auto_install` and `node_required` derived from them — adding a
second preset later is one catalog line. `AcpInstallPlan` projects the
four things the installer consumes from either tier behind one lookup,
so neither static type grows the other's fields. Presets structurally
carry no CLI install commands: their `underlying_cli` is a status probe,
never an install target.

Only Amp is populated (`npm install -g amp-acp`). Tier-3 custom
harnesses resolve to no plan at all — their install hint is user-typed
text, and a one-click button on it would be arbitrary code execution.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-07-26 16:06:20 -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