Session commands

Usage and options for commands that manage sessions.

Syntax · Options · ExamplesEnglish
A session ID identifies an orke task

Get it from an actual list or create response. It is different from the AI provider’s conversation ID.

Basic session workflow

Terminal
orke session create --agentId chatgpt --cwd "WORKING_FOLDER" --json
orke session status --id "SESSION_ID_FROM_RESPONSE" --json

create registers a session without opening a window. It does not mean the task is complete.

Command list

13 commands · Select one to open its details.

orke session list

List live sessions and results retained by this daemon.

↗
orke session folders

Browse folders with the same runtime-specific providers as the picker. Omit path for the default folder. Return default, home, parent paths and entry metadata only, preserving the isolated home boundary. Does not create a session.

↗
orke session history

Read provider conversation history for a working folder using the same readers as the picker. Does not create a session. Continue with nextCursor; provider sessionId differs from an orke execution session id.

↗
orke session rename

Rename an execution session only if its observed title still matches. Empty title restores the default. Forward provider rename using the existing safe input and deferral rules; preserve partial outcomes.

↗
orke session create

Register a session without a window. runtime defaults to host; success does not mean its work is complete.

↗
orke session status

Observe the session state and available input revision.

↗
orke session output

Read output, resize and gap records after a cursor, or subscribe with --follow.

↗
orke session screen

Read the live or retained terminal screen grid and observable inputRevision.

↗
orke session result

Read retained result metadata, availability, cursors and truncation flags; use output for full records.

↗
orke session send

Send text to a session; --submit true writes Enter separately. A submission receipt is not execution success.

↗
orke session wait

Wait for a selected state or process completion. Cancelling this request does not end the session.

↗
orke session end

Explicitly terminate the session process.

↗
orke session forget

Forget an eligible retained result; live, unknown-outcome and failed-cleanup results are protected.

↗

Search documentation

The page could not be displayed. Reload ×