@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
12 lines • 943 B
TypeScript
import type { CompiledLineMatcher } from "./matcher.ts";
import { type JobWidgetSampleLines } from "./source-types.ts";
import type { JobWidgetSpec } from "./spec-types.ts";
/**
* Rejects rules matching none of the non-empty samples, a field read as a number whose captures
* hold none, and rules reading the engine's tool-call marker lines. `compiled` holds one pattern
* per rule, in spec order; `numeric` maps each field read as a number to where it is read.
*/
export declare function dryRun(spec: JobWidgetSpec, compiled: CompiledLineMatcher, samples: readonly JobWidgetSampleLines[], numeric: ReadonlyMap<string, string>, errors: string[]): void;
/** Rejects a constant meter total or spark target that neither `brief` nor the samples state. */
export declare function checkStatedNumbers(spec: JobWidgetSpec, samples: readonly JobWidgetSampleLines[], brief: string, errors: string[]): void;
//# sourceMappingURL=spec-dry-run.d.ts.map