Skip to content

fix(desktop): remove stale sprout-admin prereq, add sidecar tooling#371

Merged
wesbillman merged 1 commit into
mainfrom
bundle-sprout-admin
Apr 20, 2026
Merged

fix(desktop): remove stale sprout-admin prereq, add sidecar tooling#371
wesbillman merged 1 commit into
mainfrom
bundle-sprout-admin

Conversation

@wesbillman

@wesbillman wesbillman commented Apr 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Remove the stale sprout-admin prerequisite check that gated the mint toggle in the Create Agent dialog. Token minting uses mint_token_via_api() (NIP-98 HTTP) — the binary was never invoked, but the UI check prevented minting in release DMG builds where sprout-admin wasn't on PATH.
  • DRY up justfile sidecar stub creation into a shared _ensure-sidecar-stubs recipe.
  • Add scripts/bundle-sidecars.sh for copying release binaries into the Tauri sidecar directory.

Changes

Rust: Removed DEFAULT_ADMIN_COMMAND const and admin field from ManagedAgentPrereqsInfo
TypeScript: Removed admin from all type definitions, raw Tauri bridge mappings, and e2e mock data
UI: Removed "Token minting" from Doctor panel, removed isMintSupported gating from Create Agent dialog
Build: DRYed justfile sidecar stubs, added bundle-sidecars.sh

Test plan

  • cargo check passes
  • tsc --noEmit passes
  • biome check passes
  • just desktop-tauri-check compiles clean
  • Verify mint toggle is enabled by default in Create Agent dialog (no longer gated on sprout-admin)
  • Verify Doctor panel shows only ACP harness and MCP server checks (no Token minting row)

🤖 Generated with Claude Code

Token minting switched to mint_token_via_api() (NIP-98 HTTP) but the UI
still gated the mint toggle on sprout-admin binary availability. Remove
the dead prereq check from Rust types, TS types, Doctor panel, and
create-agent dialog. Minting now works in release DMG builds without
shipping an unused operator binary.

Also: DRY up justfile sidecar stubs into _ensure-sidecar-stubs recipe,
add scripts/bundle-sidecars.sh for release builds.
@wesbillman wesbillman merged commit 28bf8bf into main Apr 20, 2026
13 checks passed
@wesbillman wesbillman deleted the bundle-sprout-admin branch April 20, 2026 19:30
fsola-sq added a commit that referenced this pull request Apr 20, 2026
…-binding

* origin/main:
  fix(desktop): eliminate agent startup beachball (#374)
  fix(desktop): resolve agent command path for DMG builds (#372)
  fix(desktop): remove stale sprout-admin prereq, add sidecar tooling (#371)
  Add server cross-compile and macOS desktop build CI jobs (#369)
  Fix forum post card bugs on desktop and mobile (#370)
  fix(desktop): kill WebSocket flood and fix Markdown <p><div> nesting (#368)
  perf: caching, batched DM resolution, bounded audit, global kind index (#367)
  fix: staging to generate stubs as needed (#366)
  chore(deps): update rust crate axum to v0.8.9 (#365)
  chore(deps): update dependency @tanstack/react-router to v1.168.22 (#364)
  feat(desktop): autoscroll thread sidebar for new replies (#363)
  fix(desktop): eliminate 10+ second UI freeze on startup (#361)
  feat(desktop): bundle sprout-acp and sprout-mcp-server as Tauri sidecars (#362)
  Remove release pipeline from public repo (#360)

Amp-Thread-ID: https://ampcode.com/threads/T-019dab7a-5979-7401-83a1-509b9adfe4a0
Co-authored-by: Amp <amp@ampcode.com>

# Conflicts:
#	crates/sprout-relay/src/state.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant