ai-sdk-harness
API reference

ai-sdk-harness-sessions

The options of the session manager, the shape of a session and of a store, generated from the source.

createSessionManager(options)

Returns a SessionManager, which runs the sessions of your application.

Prop

Type

SessionManager

Prop

Type

SendOptions

Prop

Type

ContinueOptions

Prop

Type

SessionTurn

Prop

Type

Sessions

SessionSummary

What list() gives of each session; SessionRecord adds its messages.

Prop

Type

PendingInput

What a session awaiting-input waits for.

Prop

Type

Prop

Type

SessionStore

Where sessions are kept. createMemorySessionStore() keeps them in memory.

Prop

Type

Sandboxes

sharedSandbox(options)

Prop

Type

sandboxPerSession(options)

Prop

Type

SessionSandboxes

What a strategy of your own implements.

Prop

Type

Prop

Type

On this page