/** * tool-command-worker-config-pass — the ADR-0054 M4-E DEEP config validation pass * the dispatch worker runs against a tool's OWN config schema. * * Extracted from `tool-command-worker-entry.ts` to keep that file within the * file-length budget. The host coarse pass (pre-fork) validated only the * serializable manifest descriptor shape; this is the semantic, authoritative * validation the host (which must not import the tool's Zod) could not perform — * legitimate HERE, inside the worker isolation boundary, where the runtime is * already loaded. */ import { type Tool } from '@opensip-cli/core'; /** * Run the dispatched tool's OWN config schema against its coarse-validated config * namespace block. * * Returns `undefined` on success (or when there is nothing to validate); returns a * human-readable `Invalid configuration …` MESSAGE on a schema failure. The caller * (the worker entry) wraps the message in a `config-invalid` IPC error message — * the worker does NOT throw/crash; the supervisor maps it to the SAME typed config * error + exit code the host coarse pass uses (single config-error contract). */ export declare function runDeepConfigPass(tool: Tool, config: unknown): string | undefined; //# sourceMappingURL=tool-command-worker-config-pass.d.ts.map