Purpose
Main Weave CLI and TUI covering trace, dSocial, Locus, Lens, Nexus, DHT, AgentFS, mirror, config, forum, gnosis, and basis commands. This page follows the real source shape for Weave and explains the workflow a developer is likely to use first.Developer workflow
Start from the smallest constructor or builder, perform one meaningful operation, inspect the returned state, then add the relevant policy, storage, or network integration. The examples below should be expanded whenever the crate API changes.Primary types to know
App— tools/weave/src/tui/app.rsCli— tools/weave/src/cli.rsNetworkConfig— tools/weave/src/config.rsPeerInfo— tools/weave/src/tui/app.rsStorageConfig— tools/weave/src/config.rsTuiConfig— tools/weave/src/config.rsWeaveConfig— tools/weave/src/config.rsAgentFsCommand— tools/weave/src/cli.rsBasisCommand— tools/weave/src/cli.rsCommand— tools/weave/src/cli.rsConfigCommand— tools/weave/src/cli.rsDhtCommand— tools/weave/src/cli.rs
Example shape
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.