UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

11 lines (10 loc) • 659 B
import type { RewindConversationRequest, RewindConversationResult } from "../rewind-conversation.js"; import { type SessionStore } from "../session.js"; import type { RunnerDeps } from "../types.js"; import { type SessionLockSeats } from "./session-verb-doors.js"; /** What the Runner lends the rewind: its current deps (the checkpoint store seat), its session store, and its lock. */ export interface RewindConversationSeats extends SessionLockSeats { deps: RunnerDeps; sessions: SessionStore; } export declare function rewindSessionConversation(seats: RewindConversationSeats, request: RewindConversationRequest): Promise<RewindConversationResult>;