Files
buzz/desktop/src-tauri
npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67dandTyler Longwell bbf9959960 fix(desktop): surface BYOH availability truthfully — auth copy, install hints, adapter-missing presets
Three generic fixes for the #2773 hand-test bugs:

- Auth-required discovery errors (spec ErrorCode::AuthRequired text,
  e.g. signed-out cursor-agent) now render sign-in copy naming the
  agent, threaded from selectedRuntime.label. Matches the message
  text, never code -32000 (the catch-all fallback).
- The agent-definition dialog's not-installed warning now appends a
  non-empty install_hint (runtimeAvailabilityWarning helper) — presets
  always carried the right sentence; the requiresExternalCli render
  gate hid it.
- PresetHarness.underlying_cli (Amp: amp-acp wraps amp) feeds
  preset_catalog_entry, which consumes only the adapter-missing arm of
  the builtin predicate: CLI-present/adapter-absent now reads
  AdapterMissing instead of NotInstalled, while adapter-present/
  CLI-absent stays Available and selectable (full classify_runtime
  reuse would have regressed it to CliMissing with backwards copy).

Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
2026-07-26 14:56:53 -04:00
..
…