Documentation / @agentick/core / SessionRef
Interface: SessionRef
Defined in: core/src/app/types.ts:133
Narrow session reference for runner hooks.
Runner hooks receive this instead of the full Session interface. This avoids generic type friction (SessionImpl<P> vs Session) and exposes only what runners actually need: identity + state.
Properties
currentTick
readonlycurrentTick:number
Defined in: core/src/app/types.ts:139
Current tick number
id
readonlyid:string
Defined in: core/src/app/types.ts:135
Unique session ID
status
readonlystatus:SessionStatus
Defined in: core/src/app/types.ts:137
Current session status
Methods
snapshot()
snapshot():
SessionSnapshot
Defined in: core/src/app/types.ts:141
Export session state