Repository navigation
Fixes #1: list showed only the sessions tracked on this computer, and an empty first run gave no guidance.
list(and/cloud-list, MCPcloud_list) now shows the sessions of your account by default when you allowed the Claude Code login (cloud-sessions auth use-claude-login): title, state, repository, last activity and link, newest first. The routines of the account, with their newest runs, are a second section (routines).list --trackedkeeps the old view: only the sessions tracked on this computer, with no request to the API.list --unofficialstays accepted: the account view plus the raw API body (remote); it still fails when the account list fails.- Each state says what to do next, in a
hintfield and in the text output. Login not allowed: "cloud-sessions auth use-claude-login (asks for a typed yes)". No sessions: how to start one (/cloud-start,claude --cloud) or track one (/cloud-track). - When the account list cannot be read,
listshows the tracked sessions and onefallbackline with the reason and the fix. A routines failure isroutines_error; it does not fail the list. - The account list reads every page: the API sends 20 sessions a page with
next_cursor, andlistfollows it (?cursor=) up to a safety cap of 50 pages or 1000 sessions (truncatedsays when the cap was reached). An error on a later page keeps the pages read so far and adds onepartialline.routinesand the routines section follow pages the same way.list --unofficialreturns all pages inremote.data. - A tracked session that is also in the account list shows once, with its title. A tracked session without a title shows its short id (
session_plus 10 characters), never "(untitled)". - At a terminal,
listprints text for a person; scripts, pipes and--jsonget JSON. The JSON keepstracked(andremotewith--unofficial) for existing callers, and addsview,sessions,routines,hintandfallback. - No change to the login guarantees: without the opt-in,
listreads no token and makes no request. The token goes only tohttps://api.anthropic.com(or a loopback test server)./cloud-start,/cloud-send,/cloud-allowand/cloud-stopstay user-only (disable-model-invocation).