Skip to content
providerkit
GitHub

SessionStatus

type SessionStatus = object &
| {
revision: string;
status: "saved";
}
| {
status: "pending";
}
| {
error: RunFailure;
status: "unsaved";
};

Defined in: agents/src/types.ts:215

Whether the session has this run’s turn. pending: not appended yet, because the run is waiting, its last checkpoint failed, or it was resumed without its session.

id: string;