/** * `createAdjudicatedAgent` — the provider-neutral message-loop orchestrator. * * Wires the planner, renderer, provider bridge, kernel, and Decision * translator into a single send/resume/confirm surface. * * Invariants the loop preserves: * - `pack.planner.plan(state, context)` is called every iteration. State * may change mid-turn (a refund executes, freeing a previously-locked * tool); the visible-tool surface MUST update accordingly. * - The Pack passed in MUST already be `safePlan` + `withBasisAudit` * wrapped (Pack-author convention). The loop does NOT double-wrap. * - Every intent envelope crosses `adjudicateAndAudit()` from * `@adjudicate/core/kernel`. The loop never bypasses the kernel, * never raises taint, and never short-circuits the guard ordering. * - First non-continue Decision wins: subsequent tool_use blocks in the * same assistant turn are surfaced as `not_processed_due_to_pause`. * - History `H` is opaque. The bridge is the only thing that knows the * conversation-history shape; the loop threads it. */ import type { AdjudicatedAgent, AdjudicatedAgentOptions } from "./types.js"; export declare function createAdjudicatedAgent(options: AdjudicatedAgentOptions): AdjudicatedAgent; //# sourceMappingURL=loop.d.ts.map