Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

traces

Browse local agent sessions and check whether they are shared to your workspace. Run span without a command in an interactive terminal to open the same browser.

Usage

span traces [--cwd DIR] [--agent AGENT] [--json] span traces assign-agent --trace-agent UUID (--all | --session UUID [--session UUID ...]) [--project UUID] [--json]
Without filters, browse sessions across projects, including archived sessions, Claude subagents, history, and index entries. Interactive terminals open the browser. Piped output is a plain-text list; --json always returns JSON.

Options

OptionDescription
--cwd DIRFilter to a project directory. Omit to browse across projects.
--agent AGENTFilter by a supported agent. claude is an alias for claude-code.
--jsonPrint the trace catalog as JSON instead of opening the browser.
--help, -hPrint command help.

Examples

span traces span traces --cwd . --agent codex span traces --agent opencode --json

Persistent workspace agents

span agents list --json lists persistent workspace agents. Create one with span agents create --name NAME [--description TEXT] [--json], then use its UUID with span share --trace-agent UUID. The existing --agent option continues to filter the local harness, such as Tact or Codex. These commands use your saved workspace login.
Use span traces assign-agent --trace-agent UUID --all to associate every existing shared trace in the signed-in workspace. --project UUID limits the workspace project; repeated --session UUID selects explicit traces. Assignment reads the complete paginated selection before submitting one atomic update, with a maximum of 1,000 traces. The command fails without changing assignments if any selected trace is unavailable or you lack permission to manage it. It uploads no transcript content.

Terminal browser

The catalog shows local time in AM/PM, text-message and tool-call counts, and activity for visible traces. Active means a transcript has an open write handle reported by lsof, or the browser recently observed that session change. Idle means no current write activity was detected. A dash means the source does not provide the metric or it is still being checked. On narrow terminals, the selected trace’s counts and status appear below the list.
Sharing status and unshare actions use the signed-in workspace, including when a service credential is configured for uploads. Shared means the shared link is available. Unshared means there is no active shared copy. Status unknown means the CLI could not verify sharing. Press r to check again. The selected trace shows its status at every terminal width.
Press u and confirm to unshare a trace, or run span unshare --session UUID in a script. Add --json for machine-readable confirmation. The sharer and workspace admins can unshare a trace. For older traces without a recorded sharer, a workspace admin can unshare it. The local transcript stays on disk. To share it again, use s or span share while signed in.
Consecutive tool calls appear in a compact summary, with counts by tool name. Agent messages are labelled Agent. Press Enter to expand the group, select a call, and press Enter again to inspect its input and output.
Install sqlite3 on your PATH to read SQLite stores. Native adapters normalize records for browsing and sharing. Non-UUID native session identifiers map deterministically to agent-specific UUIDs; use the UUID printed by span traces --agent AGENT --json with span share --agent AGENT --session UUID. An explicit session selection searches across projects unless you pass --cwd.
See supported agents for storage and adapter limits, keyboard shortcuts for navigation, and unshare to remove a shared trace.