Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4339116
feat(desktop): add EffectiveAgentEnv resolver and agent_readiness pre…
Jun 30, 2026
f0bc528
feat(desktop): surface required credential env-key rows in Edit Agent…
Jun 30, 2026
055c261
feat(desktop,buzz-acp): add harness-agnostic setup-listener mode (Pha…
Jun 30, 2026
f3fceb0
refactor(desktop): derive required-dropdown state from runtime ID sta…
Jun 30, 2026
5ad9a2e
fix(desktop): restore config-surface-driven required dropdown marks
Jun 30, 2026
8d9ca85
fix(desktop,buzz-acp): close setup-payload handoff invariant defects
Jun 30, 2026
dda84a7
fix(buzz-acp): eliminate env-mutating tests via pure parser seam
Jun 30, 2026
6fd78ac
chore: apply rust fmt and biome format fixes
Jun 30, 2026
6c06a1f
chore: fmt tauri crate and bump file-size overrides
Jun 30, 2026
0b32f61
chore: replace raw text-[10px] with text-2xs token in EnvVarsEditor
Jun 30, 2026
c2cf906
feat(desktop): block save when dialog-fixable required fields are mis…
Jul 1, 2026
4a3025b
fix(desktop): align block-save gate and Rust readiness to empty-strin…
Jul 1, 2026
7daf39f
fix(desktop): key required-env-key gate on prospective runtime's prov…
Jul 1, 2026
c2bb006
feat(desktop): full parity create-path credential gate for local mode
Jul 1, 2026
ab30a78
fix(agents): close provider/model presence gate and surface required …
Jul 1, 2026
ea31868
test(e2e): satisfy buzz-agent readiness gate in smoke create-agent test
Jul 1, 2026
68c1c66
test(e2e): add screenshot spec for #1411 local-mode readiness gate
Jul 1, 2026
9f81629
feat(desktop,buzz-acp): render config nudge as rich card (Attachment …
Jul 1, 2026
9ba320c
test(e2e): extend toBeEnabled timeout for screenshot assertions
Jul 1, 2026
c526782
fix(desktop): address Thufir pass-1 findings on config-nudge card
Jul 1, 2026
3db75d2
fix(desktop): authenticate config-nudge card against raw event signer
Jul 1, 2026
d66aad9
test(desktop): pin config-nudge signer-auth seam with integration test
Jul 1, 2026
9232033
fix(desktop): suppress prose when nudge card renders; fix card trunca…
Jul 1, 2026
6c71816
fix(desktop): add render-level suppression guard test; fix card conta…
Jul 1, 2026
de4b241
fix(desktop): extract selectProseOrNudge helper to pin prose-suppress…
Jul 1, 2026
62d45a6
fix(desktop,buzz-acp): gate PersonaDialog on readiness; nudge every m…
Jul 1, 2026
1c151ab
style(buzz-acp): apply cargo fmt to setup_mode test call sites
Jul 1, 2026
f2228ef
fix(desktop): query goose config bridge at config time to silence sat…
Jul 2, 2026
aa0b686
fix(desktop): canonicalize flat DATABRICKS_HOST to env-key name in go…
Jul 2, 2026
691fce3
chore(desktop): bump file-size overrides after rebase onto main
Jul 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions crates/buzz-acp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ mod observer;
mod pool;
mod queue;
mod relay;
mod setup_mode;

use std::collections::{HashMap, HashSet};
use std::sync::Arc;
Expand Down Expand Up @@ -1091,6 +1092,19 @@ async fn tokio_main() -> Result<()> {
.init();

let mut config = Config::from_cli().map_err(|e| anyhow::anyhow!("configuration error: {e}"))?;

// ── Setup-mode early branch ───────────────────────────────────────────────
//
// When the desktop determines an agent is not ready (missing credentials,
// model, or provider), it spawns buzz-acp with BUZZ_ACP_SETUP_PAYLOAD set.
// We enter the minimal setup-listener path and never start the agent pool.
if let Some(payload) = setup_mode::SetupPayload::from_env()
.map_err(|e| anyhow::anyhow!("setup payload error: {e}"))?
{
tracing::info!("buzz-acp: setup payload present, entering setup-listener mode");
return setup_mode::run_setup_listener(config, payload).await;
}

tracing::info!("buzz-acp starting: {}", config.summary());

let observer = config
Expand Down
Loading
Loading