/** * The model-facing harness tools: `harness_refine` (plans small * evidence-backed edits through the agent's own model, applies them via the * store, or rolls back a prior refinement), `harness_wrapup` (mechanical * keep/promote/archive advice), and `harness_benchmark` (one explicit * action-dispatched tool for the validation layer: fixed cases, reference * snapshots, and same-round A/B runs). UI render intent is generic (JSON text * result). * @module dsh-continual-harness */ import type { Context } from '@deepseek-ai/cordis'; import type { RefineCoordinator } from './coordinator-types.ts'; import type { HarnessStore } from './store.ts'; /** Tool-facing options resolved by the plugin. */ export interface ToolOptions { /** Store the tool targets when the call omits `global`. */ defaultGlobal: boolean; } /** Register the `harness_wrapup` tool: mechanical keep/promote/archive advice. */ export declare function registerHarnessWrapup(ctx: Context, store: HarnessStore): void; /** Register the `harness_refine` tool as a pure adapter over the coordinator. */ export declare function registerHarnessTool(ctx: Context, coordinator: RefineCoordinator, options: ToolOptions): void; //# sourceMappingURL=tool.d.ts.map