agentsview

command
v0.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 40 Imported by: 0

Documentation

Overview

ABOUTME: session command group root — programmatic CLI ABOUTME: surface for the SessionService interface.

ABOUTME: `session export <id>` subcommand — streams the raw source ABOUTME: JSONL file for a locally-synced session. Local-only by ABOUTME: design; bypasses the SessionService layer.

ABOUTME: `session get <id>` subcommand — prints session detail ABOUTME: in human or JSON format.

ABOUTME: `session list` subcommand — lists sessions with the ABOUTME: full set of HTTP query-param equivalents as CLI flags.

ABOUTME: `session messages <id>` subcommand — prints a window of ABOUTME: messages in JSON or human format.

ABOUTME: `session sync` subcommand — triggers a one-off sync for ABOUTME: a single session, either by path or by id. Refuses ABOUTME: against read-only daemons (pg serve).

ABOUTME: `session tool-calls <id>` subcommand — flattens every ABOUTME: tool call in a session into a JSON list or tab-aligned ABOUTME: human table.

ABOUTME: `session watch <id>` subcommand — streams NDJSON events ABOUTME: describing session updates until the context is cancelled.

ABOUTME: `agentsview stats` top-level command — window-scoped ABOUTME: workspace analytics emitting the v1 SessionStats JSON schema.

ABOUTME: CLI subcommand that syncs session data into the database ABOUTME: without starting the HTTP server.

ABOUTME: terminal-output hardening for session CLI commands. ABOUTME: Strips C0/C1 control bytes before printing so session ABOUTME: text cannot spoof terminal state via escape sequences.

ABOUTME: CLI subcommand that returns token usage data for a ABOUTME: session, syncing on-demand if no server is running.

ABOUTME: detectTransport picks between the HTTP and direct-DB ABOUTME: SessionService backends based on whether a running ABOUTME: agentsview daemon is discoverable via its state file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL