@sema-agent/core
Version:
Stateless, task-oriented AI agent core
7 lines (6 loc) • 671 B
TypeScript
import type { RunnerDeps } from "../runner-deps.js";
import { type SessionRuleEntryField } from "../session-policy-store.js";
import { type RunTimeAnnounced } from "./announce-once-ledger.js";
/** The `onEarlierGrammar` seat of each session-rules layer, over a run's notice sink and the session's announced record: given the
* session whose rules the layer reads, the teller of one bucket's entries in the row's grammar. */
export declare function earlierGrammarNoticeSeat(onNotice: RunnerDeps["onNotice"], sessionId: string, announced: RunTimeAnnounced): (rulesSessionId: string) => (entries: readonly string[], field: SessionRuleEntryField, grammar: number) => void;