UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

10 lines (9 loc) • 529 B
import { type SessionStore } from "../session.js"; import { type SessionChanges, type SessionChangesRequest } from "../session-changes.js"; import type { RunnerDeps } from "../types.js"; /** What the Runner lends the read: its current deps and its session store. No lock seat: the read takes none. */ export interface ReadSessionChangesSeats { deps: RunnerDeps; sessions: SessionStore; } export declare function readSessionChanges(seats: ReadSessionChangesSeats, request: SessionChangesRequest): Promise<SessionChanges>;