entire session is also available as entire sessions.
Session Lifecycle
The diagram shows the paths through a session workflow.entire session info reports live sessions as active or ended. Stale, resumed, adopted, attached, and imported describe a session’s condition or how its context entered Entire:
session current
Show the session running this command, or the most recent one in this worktree. When an agent runs this command, Entire reports that agent’s own session, read from the session ID the agent publishes into the environment of the commands it runs. Failing that, it falls back to the most recently active session in this worktree, and then to the most recent one anywhere in the repository’s shared session store. The output says which one you got: theResolved line in text mode, or the resolution field with --json. Only caller-env and ancestry identify the session running the command; other-worktree can be any unrelated session, because every worktree of a repository shares one store. Check it before acting on the session.
session list
List all sessions tracked by Entire, including ended sessions.entire status.
session info
Show detailed information for a specific session.entire session info shows agent, model, status, worktree, timing, token usage, checkpoint linkage, and files touched.
session tokens
Show token usage and optimization recommendations for a session.session stop
Stop one or more active sessions.entire session stop marks sessions as ended. It does not create a checkpoint or flush pending work. Commit first when you want Entire to link session context to code changes.
session attach
Attach an existing agent session that Entire did not capture automatically.Entire-Checkpoint trailer, Entire adds the session to that checkpoint. Otherwise, Entire creates a checkpoint and offers to amend the commit with the trailer.
entire session attach requires at least one commit in the repository. If Entire cannot locate the transcript for the selected agent, it tries to detect the agent from known transcript locations.session adopt
Adopt an active session from another worktree into the current repository.session resume
Resume an agent session from a branch or interactive picker.- Checks out the specified branch.
- Finds the session ID from commits unique to the branch.
- Restores the session log if it does not exist locally.
- Asks whether to start the agent in an interactive terminal or prints the resume command in a terminal without interactive input.
If the branch exists on the remote but not locally, Entire prompts you to fetch it.