@tangle-network/agent-runtime 0.70.0 → 0.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/agent.d.ts +4 -4
  2. package/dist/agent.js +5 -3
  3. package/dist/agent.js.map +1 -1
  4. package/dist/analyst-loop.d.ts +51 -0
  5. package/dist/analyst-loop.js +11 -0
  6. package/dist/analyst-loop.js.map +1 -0
  7. package/dist/{chunk-EDCVUZZC.js → chunk-4KGQHS7U.js} +2 -2
  8. package/dist/{chunk-QXWGSDAQ.js → chunk-5ISW5JUF.js} +287 -286
  9. package/dist/chunk-5ISW5JUF.js.map +1 -0
  10. package/dist/{chunk-ZNQVMMR5.js → chunk-74UAWZXE.js} +4 -4
  11. package/dist/{chunk-L5ZFBVT6.js → chunk-INXDNX2W.js} +2 -2
  12. package/dist/chunk-K3RM4MPM.js +214 -0
  13. package/dist/chunk-K3RM4MPM.js.map +1 -0
  14. package/dist/chunk-P5OKDSLB.js +580 -0
  15. package/dist/chunk-P5OKDSLB.js.map +1 -0
  16. package/dist/chunk-VLF5RHEQ.js +143 -0
  17. package/dist/chunk-VLF5RHEQ.js.map +1 -0
  18. package/dist/{chunk-G3RGMA7C.js → chunk-VMNEQHJR.js} +6 -1
  19. package/dist/chunk-VMNEQHJR.js.map +1 -0
  20. package/dist/{coordination-C7WxwHXq.d.ts → coordination-BPQmuwv8.d.ts} +280 -2
  21. package/dist/{delegates-DqAgo32T.d.ts → delegates-CsXJPZDH.d.ts} +48 -2
  22. package/dist/{improvement-adapter-BVuMragr.d.ts → improvement-adapter-CioiEE2z.d.ts} +1 -1
  23. package/dist/index.d.ts +9 -9
  24. package/dist/index.js +20 -17
  25. package/dist/index.js.map +1 -1
  26. package/dist/intelligence.d.ts +1 -1
  27. package/dist/intelligence.js +1 -1
  28. package/dist/{loop-runner-bin-B0NeLTRd.d.ts → loop-runner-bin-DLM_bVQO.d.ts} +4 -4
  29. package/dist/loop-runner-bin.d.ts +5 -5
  30. package/dist/loop-runner-bin.js +6 -4
  31. package/dist/loops.d.ts +121 -242
  32. package/dist/loops.js +10 -4
  33. package/dist/mcp/bin.js +8 -7
  34. package/dist/mcp/bin.js.map +1 -1
  35. package/dist/mcp/index.d.ts +7 -6
  36. package/dist/mcp/index.js +23 -12
  37. package/dist/mcp/index.js.map +1 -1
  38. package/dist/{openai-tools-DPx9Gzvn.d.ts → openai-tools-kdCS-T12.d.ts} +1 -1
  39. package/dist/platform.d.ts +255 -0
  40. package/dist/platform.js +229 -0
  41. package/dist/platform.js.map +1 -0
  42. package/dist/profiles.d.ts +1 -1
  43. package/dist/{types-DJu6TBGp.d.ts → types-BC3bZpH0.d.ts} +15 -1
  44. package/dist/{types-BYa2ZOAx.d.ts → types-CdnEAE3U.d.ts} +1 -1
  45. package/dist/{worktree-fanout-gNfl0Byj.d.ts → worktree-fanout-CK2ypmEm.d.ts} +3 -45
  46. package/package.json +11 -1
  47. package/dist/chunk-BYZCXQHF.js +0 -474
  48. package/dist/chunk-BYZCXQHF.js.map +0 -1
  49. package/dist/chunk-G3RGMA7C.js.map +0 -1
  50. package/dist/chunk-QXWGSDAQ.js.map +0 -1
  51. /package/dist/{chunk-EDCVUZZC.js.map → chunk-4KGQHS7U.js.map} +0 -0
  52. /package/dist/{chunk-ZNQVMMR5.js.map → chunk-74UAWZXE.js.map} +0 -0
  53. /package/dist/{chunk-L5ZFBVT6.js.map → chunk-INXDNX2W.js.map} +0 -0
@@ -2,7 +2,7 @@ import { ChildProcess } from 'node:child_process';
2
2
  import { DefaultVerdict, AgentEvalError } from '@tangle-network/agent-eval';
3
3
  import { AgentProfile } from '@tangle-network/agent-interface';
4
4
  import { BackendType, SandboxEvent, SandboxInstance } from '@tangle-network/sandbox';
5
- import { d as LoopTokenUsage, b as RuntimeHooks, e as LoopTraceEmitter, L as LoopTraceEvent, S as SandboxClient, A as AgentRunSpec } from './types-BYa2ZOAx.js';
5
+ import { d as LoopTokenUsage, b as RuntimeHooks, e as LoopTraceEmitter, L as LoopTraceEvent, S as SandboxClient, A as AgentRunSpec } from './types-CdnEAE3U.js';
6
6
  import { a as UiLens, U as UiFinding, C as CoderTask } from './substrate-BoRXgvka.js';
7
7
 
8
8
  /**
@@ -535,6 +535,10 @@ type SupervisedResult<Out> = {
535
535
  reason: 'all-children-down' | 'budget-exhausted' | 'aborted';
536
536
  tree: TreeView;
537
537
  downCount: number;
538
+ /** The conserved spend incurred before the run failed — real cost is paid even when no
539
+ * worker delivers, so the caller always learns what the delegation actually spent. Summed
540
+ * off the same journal the `winner` path reads. */
541
+ spentTotal: Spend;
538
542
  };
539
543
  /** Live root handle — the substrate a chat/pi-viz client attaches to (Q2). `signal`
540
544
  * delivers an out-of-band message to the running root; `view()` materializes the tree. */
@@ -1656,6 +1660,48 @@ declare class DelegationTaskQueue {
1656
1660
  */
1657
1661
  declare function hashIdempotencyInput(value: unknown): string;
1658
1662
 
1663
+ /**
1664
+ * @experimental
1665
+ *
1666
+ * The completion-oracle: **settled ⟺ DELIVERED.**
1667
+ *
1668
+ * Foreman's one hard lesson (0/18 self-improvement deliverables) — "done" must mean a check
1669
+ * PASSED, not the agent's say-so. `gateOnDeliverable` wraps an `Executor` so its settlement
1670
+ * is `valid` ONLY when the deliverable check passes. The child still RUNS and settles (its
1671
+ * spend is conserved into the pool either way), but a child that ran WITHOUT delivering
1672
+ * settles `valid:false` — so a keep-best driver never counts it as done, and a gate never
1673
+ * inflates with self-judged wins.
1674
+ *
1675
+ * Dual-purpose by construction:
1676
+ * - product: the agent fleet only advances on real, checked deliverables.
1677
+ * - proof: the gate's `valid` is the honest settle — equal-k comparisons can't be gamed by an
1678
+ * arm that "ran" without producing the artifact.
1679
+ *
1680
+ * The check is a DEPLOYABLE oracle — a test command, a state verifier, the commit0 judge —
1681
+ * read off the child's output, never the model judging itself. A throwing check is
1682
+ * fail-closed (not delivered), never a crash.
1683
+ */
1684
+
1685
+ /**
1686
+ * The deployable completion oracle passed to {@link gateOnDeliverable}: a `check` that
1687
+ * decides DELIVERED (settles `valid` ⟺ it resolves true) plus an optional `describe` of
1688
+ * what the spawn was supposed to produce. The check reads the child's output — never the
1689
+ * model judging itself.
1690
+ */
1691
+ interface DeliverableSpec<Out = unknown> {
1692
+ /** The deployable check that decides DELIVERED. `settled.valid ⟺ this resolves true`. */
1693
+ check: (out: Out) => boolean | Promise<boolean>;
1694
+ /** What the spawn was supposed to produce — surfaced in traces/reports. */
1695
+ describe?: string;
1696
+ }
1697
+ /**
1698
+ * Wrap an `Executor` so its settlement `valid` reflects the deliverable check, not the
1699
+ * inner verdict. Handles both `execute` shapes (one-shot `Promise<ExecutorResult>` and
1700
+ * streaming `AsyncIterable<UsageEvent>` + `resultArtifact()`); the check runs once the inner
1701
+ * executor has produced its output. The inner `score` is preserved; only `valid` is gated.
1702
+ */
1703
+ declare function gateOnDeliverable<Out>(inner: Executor<Out>, deliverable: DeliverableSpec<Out>): Executor<Out>;
1704
+
1659
1705
  /**
1660
1706
  * @experimental
1661
1707
  *
@@ -2239,4 +2285,4 @@ interface SettleDetachedCoderTurnOptions {
2239
2285
  */
2240
2286
  declare function settleDetachedCoderTurn(turn: DetachedTurn, options: SettleDetachedCoderTurnOptions): Promise<CoderOutput>;
2241
2287
 
2242
- export { type DelegationProfile as $, type Agent as A, type Budget as B, type CoderReviewer as C, type DelegateCodeArgs as D, type ExecutorRegistry as E, type FleetHandle as F, type GitRunner as G, type DelegationStatusArgs as H, type CappedDelegationTrace as I, type CoderReview as J, type CreateWorktreeOptions as K, type LocalHarness as L, DELEGATION_TRACE_MAX_BYTES as M, type NodeId as N, DELEGATION_TRACE_MAX_SPANS as O, type DelegateCodeConfig as P, type DelegateResearchConfig as Q, type ResearcherDelegate as R, type Scope as S, type TraceContext as T, type UiAuditorDelegate as U, type DelegateRunCtx as V, type DelegateUiAuditConfig as W, type DelegateUiAuditRoute as X, type DelegationError as Y, type DelegationHistoryEntry as Z, DelegationPersistenceError as _, type DetachedWinnerSelection as a, type EvalRunsExportResult as a$, type DelegationProgress as a0, type DelegationRecord as a1, type DelegationResultPayload as a2, type DelegationResumeContext as a3, type DelegationResumeDriver as a4, type DelegationResumeTick as a5, type DelegationRunContext as a6, DelegationStateCorruptError as a7, type DelegationStatus as a8, type DelegationStore as a9, type SubmitOutput as aA, type UiAuditorDelegationOutput as aB, type WorktreeHandle as aC, buildDelegationTraceSpans as aD, capDelegationTrace as aE, captureWorktreeDiff as aF, coderTaskFromArgs as aG, composeLoopTraceEmitters as aH, createDelegationTraceCollector as aI, createDetachedTurnResumeDriver as aJ, createFleetWorkspaceExecutor as aK, createPropagatingTraceEmitter as aL, createSiblingSandboxExecutor as aM, createWorktree as aN, detachedSessionDelegate as aO, detachedTurnEvents as aP, formatDetachedSessionRef as aQ, hashIdempotencyInput as aR, parseDetachedSessionRef as aS, readTraceContextFromEnv as aT, removeWorktree as aU, runDetachedTurn as aV, settleDetachedCoderTurn as aW, traceContextToEnv as aX, type EvalRunEvent as aY, type EvalRunGeneration as aZ, type EvalRunsExportConfig as a_, type DelegationTaskQueueOptions as aa, type DelegationTraceCaps as ab, type DelegationTraceCollector as ac, type DelegationTraceSpan as ad, type DetachedSessionDelegateOptions as ae, type DetachedSessionRefParts as af, type DetachedTurn as ag, type DetachedTurnResumeDriverOptions as ah, type DiffOptions as ai, type DiffResult as aj, type DriveTurnCapableBox as ak, type DriveTurnTick as al, type FeedbackRating as am, type FeedbackRefersTo as an, FileDelegationStore as ao, type FileDelegationStoreOptions as ap, type FleetWorkspaceExecutorOptions as aq, InMemoryDelegationStore as ar, type LocalHarnessResult as as, type RemoveWorktreeOptions as at, type ResearchOutputShape as au, type RunDetachedTurnOptions as av, type RunLocalHarnessOptions as aw, type SettleDetachedCoderTurnOptions as ax, type SiblingSandboxExecutorOptions as ay, type SubmitInput as az, type CoderOutput as b, INTELLIGENCE_WIRE_VERSION as b0, type LoopSpanNode as b1, type OtelAttribute as b2, type OtelExportConfig as b3, type OtelExporter as b4, type OtelSpan as b5, buildLoopOtelSpans as b6, buildLoopSpanNodes as b7, createOtelExporter as b8, exportEvalRuns as b9, loopEventToOtelSpan as ba, type SpawnEvent as bb, type ExecutorFactory as bc, type UsageEvent as bd, type Supervisor as be, type ExecutorContext as bf, type ExecutorResult as bg, type SupervisorOpts as bh, type TreeView as bi, type WidenGate as bj, type DelegateFeedbackArgs as c, type DelegationFeedbackSnapshot as d, DelegationTaskQueue as e, type CoderDelegate as f, type ResultBlobStore as g, type AgentSpec as h, type SpawnJournal as i, type RootHandle as j, type SupervisedResult as k, type Settled as l, type Spend as m, type Executor as n, type DelegationExecutor as o, type DelegateCodeResult as p, type DelegateFeedbackResult as q, runLocalHarness as r, type ResearchSource as s, type DelegateResearchArgs as t, type DelegateResearchResult as u, type DelegateUiAuditArgs as v, type DelegateUiAuditResult as w, type DelegationHistoryResult as x, type DelegationHistoryArgs as y, type DelegationStatusResult as z };
2288
+ export { type DelegationHistoryEntry as $, type Agent as A, type Budget as B, type CoderReviewer as C, type DelegateCodeArgs as D, type ExecutorFactory as E, type FleetHandle as F, type GitRunner as G, type DelegationHistoryArgs as H, type DelegationStatusResult as I, type DelegationStatusArgs as J, type CappedDelegationTrace as K, type LocalHarness as L, type CoderReview as M, type NodeId as N, type CreateWorktreeOptions as O, DELEGATION_TRACE_MAX_BYTES as P, DELEGATION_TRACE_MAX_SPANS as Q, type ResearcherDelegate as R, type Spend as S, type TraceContext as T, type UiAuditorDelegate as U, type DelegateCodeConfig as V, type DelegateResearchConfig as W, type DelegateRunCtx as X, type DelegateUiAuditConfig as Y, type DelegateUiAuditRoute as Z, type DelegationError as _, type DetachedWinnerSelection as a, type EvalRunGeneration as a$, DelegationPersistenceError as a0, type DelegationProfile as a1, type DelegationProgress as a2, type DelegationRecord as a3, type DelegationResultPayload as a4, type DelegationResumeContext as a5, type DelegationResumeDriver as a6, type DelegationResumeTick as a7, type DelegationRunContext as a8, DelegationStateCorruptError as a9, type SiblingSandboxExecutorOptions as aA, type SubmitInput as aB, type SubmitOutput as aC, type UiAuditorDelegationOutput as aD, type WorktreeHandle as aE, buildDelegationTraceSpans as aF, capDelegationTrace as aG, captureWorktreeDiff as aH, coderTaskFromArgs as aI, composeLoopTraceEmitters as aJ, createDelegationTraceCollector as aK, createDetachedTurnResumeDriver as aL, createFleetWorkspaceExecutor as aM, createPropagatingTraceEmitter as aN, createSiblingSandboxExecutor as aO, createWorktree as aP, detachedSessionDelegate as aQ, detachedTurnEvents as aR, formatDetachedSessionRef as aS, hashIdempotencyInput as aT, parseDetachedSessionRef as aU, readTraceContextFromEnv as aV, removeWorktree as aW, runDetachedTurn as aX, settleDetachedCoderTurn as aY, traceContextToEnv as aZ, type EvalRunEvent as a_, type DelegationStatus as aa, type DelegationStore as ab, type DelegationTaskQueueOptions as ac, type DelegationTraceCaps as ad, type DelegationTraceCollector as ae, type DelegationTraceSpan as af, type DetachedSessionDelegateOptions as ag, type DetachedSessionRefParts as ah, type DetachedTurn as ai, type DetachedTurnResumeDriverOptions as aj, type DiffOptions as ak, type DiffResult as al, type DriveTurnCapableBox as am, type DriveTurnTick as an, type FeedbackRating as ao, type FeedbackRefersTo as ap, FileDelegationStore as aq, type FileDelegationStoreOptions as ar, type FleetWorkspaceExecutorOptions as as, InMemoryDelegationStore as at, type LocalHarnessResult as au, type RemoveWorktreeOptions as av, type ResearchOutputShape as aw, type RunDetachedTurnOptions as ax, type RunLocalHarnessOptions as ay, type SettleDetachedCoderTurnOptions as az, type CoderOutput as b, type EvalRunsExportConfig as b0, type EvalRunsExportResult as b1, INTELLIGENCE_WIRE_VERSION as b2, type LoopSpanNode as b3, type OtelAttribute as b4, type OtelExportConfig as b5, type OtelExporter as b6, type OtelSpan as b7, buildLoopOtelSpans as b8, buildLoopSpanNodes as b9, createOtelExporter as ba, exportEvalRuns as bb, loopEventToOtelSpan as bc, type SpawnEvent as bd, type UsageEvent as be, type Supervisor as bf, type ExecutorContext as bg, type ExecutorResult as bh, type SupervisorOpts as bi, type TreeView as bj, type WidenGate as bk, gateOnDeliverable as bl, type DelegateFeedbackArgs as c, type DelegationFeedbackSnapshot as d, type ExecutorRegistry as e, type DeliverableSpec as f, DelegationTaskQueue as g, type CoderDelegate as h, type Scope as i, type ResultBlobStore as j, type AgentSpec as k, type SpawnJournal as l, type RootHandle as m, type SupervisedResult as n, type Settled as o, type Executor as p, type DelegationExecutor as q, runLocalHarness as r, type DelegateCodeResult as s, type DelegateFeedbackResult as t, type ResearchSource as u, type DelegateResearchArgs as v, type DelegateResearchResult as w, type DelegateUiAuditArgs as x, type DelegateUiAuditResult as y, type DelegationHistoryResult as z };
@@ -1,5 +1,5 @@
1
1
  import { FindingSubject, AnalystFinding } from '@tangle-network/agent-eval';
2
- import { I as ImprovementAdapter } from './types-DJu6TBGp.js';
2
+ import { I as ImprovementAdapter } from './types-BC3bZpH0.js';
3
3
 
4
4
  /**
5
5
  * `AgentSurfaces` — declarative map of the mutable file/directory paths
package/dist/index.d.ts CHANGED
@@ -1,21 +1,21 @@
1
1
  import { AgentProfile, AgentEvalError, AnalystFinding, KnowledgeReadinessReport, RunRecord, ControlEvalResult, KnowledgeRequirement } from '@tangle-network/agent-eval';
2
2
  export { AgentEvalError, AgentEvalErrorCode, ConfigError, ControlBudget, ControlDecision, ControlEvalResult, ControlRunResult, ControlStep, DataAcquisitionPlan, JudgeError, KnowledgeReadinessReport, KnowledgeRequirement, NotFoundError, RunRecord, ValidationError } from '@tangle-network/agent-eval';
3
- import { f as AgentBackendInput, g as AgentExecutionBackend, O as OpenAIChatTool, h as OpenAIChatToolChoice, i as AgentBackendContext, R as RuntimeStreamEvent, K as KnowledgeReadinessDecision, j as RunAgentTaskOptions, k as AgentTaskRunResult, l as RunAgentTaskStreamOptions, m as AgentRuntimeEvent, n as AgentTaskStatus, o as RuntimeSessionStore, p as RuntimeSession, b as RuntimeHooks } from './types-BYa2ZOAx.js';
4
- export { q as AgentAdapter, r as AgentKnowledgeProvider, s as AgentRuntimeEventSink, t as AgentTaskContext, u as AgentTaskSpec, B as BackendErrorDetail, v as RuntimeDecisionEvidenceRef, w as RuntimeDecisionKind, x as RuntimeDecisionPoint, y as RuntimeHookContext, z as RuntimeHookErrorContext, C as RuntimeHookEvent, D as RuntimeHookPhase, E as RuntimeHookTarget, F as RuntimeRunHandle, G as RuntimeRunPersistenceAdapter, H as RuntimeRunRow, J as composeRuntimeHooks, M as defineRuntimeHooks, N as notifyRuntimeDecisionPoint, P as notifyRuntimeHookEvent, Q as startRuntimeRun } from './types-BYa2ZOAx.js';
3
+ import { f as AgentBackendInput, g as AgentExecutionBackend, O as OpenAIChatTool, h as OpenAIChatToolChoice, i as AgentBackendContext, R as RuntimeStreamEvent, K as KnowledgeReadinessDecision, j as RunAgentTaskOptions, k as AgentTaskRunResult, l as RunAgentTaskStreamOptions, m as AgentRuntimeEvent, n as AgentTaskStatus, o as RuntimeSessionStore, p as RuntimeSession, b as RuntimeHooks } from './types-CdnEAE3U.js';
4
+ export { q as AgentAdapter, r as AgentKnowledgeProvider, s as AgentRuntimeEventSink, t as AgentTaskContext, u as AgentTaskSpec, B as BackendErrorDetail, v as RuntimeDecisionEvidenceRef, w as RuntimeDecisionKind, x as RuntimeDecisionPoint, y as RuntimeHookContext, z as RuntimeHookErrorContext, C as RuntimeHookEvent, D as RuntimeHookPhase, F as RuntimeHookTarget, G as RuntimeRunHandle, H as RuntimeRunPersistenceAdapter, J as RuntimeRunRow, M as composeRuntimeHooks, N as defineRuntimeHooks, P as notifyRuntimeDecisionPoint, Q as notifyRuntimeHookEvent, T as startRuntimeRun } from './types-CdnEAE3U.js';
5
5
  import { AgentProfile as AgentProfile$1 } from '@tangle-network/agent-interface';
6
6
  import { Scenario, ProfileDispatchFn, LabeledScenarioStore, WorktreeAdapter, SurfaceProposer } from '@tangle-network/agent-eval/campaign';
7
- import { L as LocalHarness, r as runLocalHarness } from './delegates-DqAgo32T.js';
8
- export { aY as EvalRunEvent, aZ as EvalRunGeneration, a_ as EvalRunsExportConfig, a$ as EvalRunsExportResult, b0 as INTELLIGENCE_WIRE_VERSION, b1 as LoopSpanNode, b2 as OtelAttribute, b3 as OtelExportConfig, b4 as OtelExporter, b5 as OtelSpan, b6 as buildLoopOtelSpans, b7 as buildLoopSpanNodes, b8 as createOtelExporter, b9 as exportEvalRuns, ba as loopEventToOtelSpan } from './delegates-DqAgo32T.js';
7
+ import { L as LocalHarness, r as runLocalHarness } from './delegates-CsXJPZDH.js';
8
+ export { a_ as EvalRunEvent, a$ as EvalRunGeneration, b0 as EvalRunsExportConfig, b1 as EvalRunsExportResult, b2 as INTELLIGENCE_WIRE_VERSION, b3 as LoopSpanNode, b4 as OtelAttribute, b5 as OtelExportConfig, b6 as OtelExporter, b7 as OtelSpan, b8 as buildLoopOtelSpans, b9 as buildLoopSpanNodes, ba as createOtelExporter, bb as exportEvalRuns, bc as loopEventToOtelSpan } from './delegates-CsXJPZDH.js';
9
9
  import { Scenario as Scenario$1, SurfaceProposer as SurfaceProposer$1, JudgeConfig, MutableSurface, DispatchContext, SelfImproveBudget, SelfImproveLlm, SelfImproveResult } from '@tangle-network/agent-eval/contract';
10
- import { S as SurfaceImprovementEdit } from './improvement-adapter-BVuMragr.js';
11
- import { I as ImprovementAdapter } from './types-DJu6TBGp.js';
12
- export { C as CoderLoopRunnerOptions, D as DELEGATED_LOOP_MODES, a as DelegatedLoopMode, b as DelegatedLoopRegistry, c as DelegatedLoopResult, d as DelegatedLoopRunner, L as LoopRunnerCliArgs, e as LoopRunnerCliResult, R as ResearchLoopResult, f as ResearchLoopRunnerOptions, g as RunDelegatedLoopOptions, V as VetoedFact, W as WorktreeLoopRunnerOptions, h as auditLoopRunner, i as coderLoopRunner, j as isDelegatedLoopMode, p as parseLoopRunnerArgv, r as researchLoopRunner, k as runDelegatedLoop, l as runLoopRunnerCli, s as selfImproveLoopRunner, w as worktreeLoopRunner } from './loop-runner-bin-B0NeLTRd.js';
13
- export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from './openai-tools-DPx9Gzvn.js';
10
+ import { S as SurfaceImprovementEdit } from './improvement-adapter-CioiEE2z.js';
11
+ import { I as ImprovementAdapter } from './types-BC3bZpH0.js';
12
+ export { C as CoderLoopRunnerOptions, D as DELEGATED_LOOP_MODES, a as DelegatedLoopMode, b as DelegatedLoopRegistry, c as DelegatedLoopResult, d as DelegatedLoopRunner, L as LoopRunnerCliArgs, e as LoopRunnerCliResult, R as ResearchLoopResult, f as ResearchLoopRunnerOptions, g as RunDelegatedLoopOptions, V as VetoedFact, W as WorktreeLoopRunnerOptions, h as auditLoopRunner, i as coderLoopRunner, j as isDelegatedLoopMode, p as parseLoopRunnerArgv, r as researchLoopRunner, k as runDelegatedLoop, l as runLoopRunnerCli, s as selfImproveLoopRunner, w as worktreeLoopRunner } from './loop-runner-bin-DLM_bVQO.js';
13
+ export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from './openai-tools-kdCS-T12.js';
14
14
  import '@tangle-network/sandbox';
15
15
  import 'node:child_process';
16
16
  import './substrate-BoRXgvka.js';
17
17
  import './kb-gate-CuzMYGYM.js';
18
- import './worktree-fanout-gNfl0Byj.js';
18
+ import './worktree-fanout-CK2ypmEm.js';
19
19
 
20
20
  /**
21
21
  * @stable
package/dist/index.js CHANGED
@@ -1,7 +1,3 @@
1
- import {
2
- mcpToolsForRuntimeMcp,
3
- mcpToolsForRuntimeMcpSubset
4
- } from "./chunk-EDCVUZZC.js";
5
1
  import {
6
2
  DEFAULT_ROUTER_BASE_URL,
7
3
  cleanModelId,
@@ -21,26 +17,22 @@ import {
21
17
  runLoopRunnerCli,
22
18
  selfImproveLoopRunner,
23
19
  worktreeLoopRunner
24
- } from "./chunk-BYZCXQHF.js";
20
+ } from "./chunk-K3RM4MPM.js";
21
+ import "./chunk-P5OKDSLB.js";
22
+ import {
23
+ mcpToolsForRuntimeMcp,
24
+ mcpToolsForRuntimeMcpSubset
25
+ } from "./chunk-4KGQHS7U.js";
25
26
  import "./chunk-FNMGYYSS.js";
26
- import "./chunk-L5ZFBVT6.js";
27
+ import "./chunk-INXDNX2W.js";
27
28
  import {
28
- AgentEvalError,
29
- BackendTransportError,
30
- ConfigError,
31
- JudgeError,
32
- NotFoundError,
33
- PlannerError,
34
- RuntimeRunStateError,
35
- SessionMismatchError,
36
- ValidationError,
37
29
  assertModelAllowed,
38
30
  composeRuntimeHooks,
39
31
  defineRuntimeHooks,
40
32
  notifyRuntimeDecisionPoint,
41
33
  notifyRuntimeHookEvent,
42
34
  runLocalHarness
43
- } from "./chunk-QXWGSDAQ.js";
35
+ } from "./chunk-5ISW5JUF.js";
44
36
  import {
45
37
  INTELLIGENCE_WIRE_VERSION,
46
38
  buildLoopOtelSpans,
@@ -48,7 +40,18 @@ import {
48
40
  createOtelExporter,
49
41
  exportEvalRuns,
50
42
  loopEventToOtelSpan
51
- } from "./chunk-G3RGMA7C.js";
43
+ } from "./chunk-VMNEQHJR.js";
44
+ import {
45
+ AgentEvalError,
46
+ BackendTransportError,
47
+ ConfigError,
48
+ JudgeError,
49
+ NotFoundError,
50
+ PlannerError,
51
+ RuntimeRunStateError,
52
+ SessionMismatchError,
53
+ ValidationError
54
+ } from "./chunk-VLF5RHEQ.js";
52
55
  import "./chunk-DVQGYDN5.js";
53
56
  import "./chunk-WIR4HOOJ.js";
54
57
  import "./chunk-DGUM43GV.js";