Purpose

Tauri desktop browser with agent, browser, DNS, files, node, spaces, and wallet commands. This page follows the real source shape for Dbrowser and explains the workflow a developer is likely to use first.

Command surface

Use this page to understand the operational commands exposed by the tool. Prefer command groups that match the subsystem you are testing, then inspect the API surface page for the exact Rust enum or command handler.

Primary types to know

  • AgentAction — tools/dbrowser/src-tauri/src/commands/agent.rs
  • AgentMessage — tools/dbrowser/src-tauri/src/commands/agent.rs
  • AgentResponse — tools/dbrowser/src-tauri/src/commands/agent.rs
  • AgentStatus — tools/dbrowser/src-tauri/src/commands/agent.rs
  • AppState — tools/dbrowser/src-tauri/src/state.rs
  • AuditLog — tools/dbrowser/src-tauri/src/commands/agent.rs
  • AuditRecord — tools/dbrowser/src-tauri/src/commands/agent.rs
  • ChainBalance — tools/dbrowser/src-tauri/src/commands/wallet.rs
  • DnsRecord — tools/dbrowser/src-tauri/src/commands/dns.rs
  • DomainLookup — tools/dbrowser/src-tauri/src/commands/dns.rs
  • DomainSearchResult — tools/dbrowser/src-tauri/src/commands/dns.rs
  • FileEntry — tools/dbrowser/src-tauri/src/commands/files.rs

Example shape

use dbrowser::*;

// Minimal example skeleton. Replace placeholders with the concrete constructor
// listed on the API Surface page for this library.
async fn example() -> Result<(), Box<dyn std::error::Error>> {
    // 1. Build config or open storage.
    // 2. Execute one operation from this page.
    // 3. Assert the observable result before wiring peers or persistence.
    Ok(())
}

Release-quality documentation checklist

  • Every public type on the API Surface page has at least one sentence of behavior documentation.
  • Every fallible operation lists errors and recovery guidance.
  • Every networked example names the peer/session/topic lifecycle.
  • Every storage example names durability, repair, and deletion semantics.