@prismshadow/penguin-cli · packages/cli/src/commands/ls.ts:1

penguin ls

cli-command

penguin session ls — list the project's sessions.

Registered via packages/cli/src/commands.

Subcommands (1)

penguin ls ls

Options (6)

--server <url>

penguin ls ls

--json

penguin ls ls

--days <n>

penguin ls ls

-a, --all

penguin ls ls

--agent-id <id>

penguin ls ls

--project-id <id>

penguin ls ls

Source Doc

penguin session ls — list the project's sessions.

penguin session ls [--project-id ] [--agent-id ] [-a|--all] [--days ] [--json] [--server ]

All agents of the project unless --agent-id narrows it (the API lists per agent, so the command iterates GET /agents then per-agent sessions). Columns: short id (the 8-hex tail the other session commands accept as a fragment), agent, title, running/idle, last active, workspace tail. Archived sessions appear only with -a. --days <n> keeps sessions whose lastActiveAt falls within the last n calendar days (today is day 1, so --days 2 covers yesterday and today — the cost --days calendar semantics); it combines with -a and --json. Docs: /docs/cli § "penguin session ls".