UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

8 lines (7 loc) • 716 B
/** What stands where a reader of a value did not read it — a member past a bound, a value nested past a depth, a value whose * members could not be listed, a gate record's member that is not data: `[not recorded: <why>]`, `why` in the engine's own * words. Not a redaction mark: nothing here was withheld for what it said (the marks' readers do not count it), it was not read. */ export declare function notRecordedMark(why: string): string; /** Where a cut of `s` at `at` lands so that no mark is split (half a mark is no mark): `at` itself, or the start of the mark it * would land inside. Reads the marks lazily, only up to the cut. */ export declare function markSafeCut(s: string, at: number): number;