@tangle-network/agent-runtime 0.54.0 → 0.56.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.
- package/dist/agent.js +3 -1
- package/dist/agent.js.map +1 -1
- package/dist/{chunk-KADIJAD4.js → chunk-3BI6PSP3.js} +75 -60
- package/dist/chunk-3BI6PSP3.js.map +1 -0
- package/dist/{chunk-2BDXWZUC.js → chunk-5ZOYQWEB.js} +2 -2
- package/dist/chunk-5ZOYQWEB.js.map +1 -0
- package/dist/{chunk-KJH62YEK.js → chunk-A265AJ2Q.js} +2 -2
- package/dist/{chunk-A73RADPB.js → chunk-GFDCNQRO.js} +6 -6
- package/dist/chunk-GFDCNQRO.js.map +1 -0
- package/dist/{chunk-GLR25NG7.js → chunk-GLMFBUKT.js} +28 -6
- package/dist/chunk-GLMFBUKT.js.map +1 -0
- package/dist/{chunk-FRBWCJLP.js → chunk-UIQTCS6H.js} +10 -89
- package/dist/chunk-UIQTCS6H.js.map +1 -0
- package/dist/{chunk-JTH2FPCK.js → chunk-ZADWPBOE.js} +392 -11
- package/dist/chunk-ZADWPBOE.js.map +1 -0
- package/dist/{coder-CEkUFv8h.d.ts → coder-CdsknxGF.d.ts} +54 -2
- package/dist/{coordination-BMzskrUR.d.ts → coordination-CfMk-RpQ.d.ts} +81 -2
- package/dist/{delegates-BPLIl8EC.d.ts → delegates-htF7l_H6.d.ts} +19 -1
- package/dist/improvement.d.ts +1 -1
- package/dist/improvement.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/{local-harness-KrdFTY5R.d.ts → local-harness-BE_h8szs.d.ts} +11 -0
- package/dist/{loop-runner-bin-BGpVVyXp.d.ts → loop-runner-bin-C4YyFGdT.d.ts} +2 -2
- package/dist/loop-runner-bin.d.ts +3 -3
- package/dist/loop-runner-bin.js +5 -4
- package/dist/loops.d.ts +6 -4
- package/dist/loops.js +13 -3
- package/dist/mcp/bin.js +7 -7
- package/dist/mcp/index.d.ts +8 -87
- package/dist/mcp/index.js +11 -11
- package/dist/profiles.d.ts +1 -1
- package/dist/profiles.js +4 -2
- package/dist/profiles.js.map +1 -1
- package/dist/runtime.d.ts +281 -5
- package/dist/runtime.js +13 -3
- package/dist/workflow.js +3 -1
- package/dist/workflow.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-2BDXWZUC.js.map +0 -1
- package/dist/chunk-A73RADPB.js.map +0 -1
- package/dist/chunk-FRBWCJLP.js.map +0 -1
- package/dist/chunk-GLR25NG7.js.map +0 -1
- package/dist/chunk-JTH2FPCK.js.map +0 -1
- package/dist/chunk-KADIJAD4.js.map +0 -1
- /package/dist/{chunk-KJH62YEK.js.map → chunk-A265AJ2Q.js.map} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AgentProfile } from '@tangle-network/sandbox';
|
|
2
2
|
import { O as OutputAdapter, V as Validator, A as AgentRunSpec, D as Driver } from './types-C8rNlxfV.js';
|
|
3
|
+
import { DefaultVerdict } from '@tangle-network/agent-eval';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* @experimental
|
|
@@ -102,13 +103,64 @@ interface MultiHarnessCoderFanoutOptions {
|
|
|
102
103
|
/** Optional per-harness model override. Indexed parallel to `harnesses`. */
|
|
103
104
|
models?: (string | undefined)[];
|
|
104
105
|
}
|
|
105
|
-
/**
|
|
106
|
+
/**
|
|
107
|
+
* @deprecated Prefer the generic recursive combinator `worktreeCoderFanout(...)`
|
|
108
|
+
* (`@tangle-network/agent-runtime/runtime`): a `fanout` of authored harness profiles on their
|
|
109
|
+
* own worktree-CLI leaves, each `gateOnDeliverable(coderDeliverable(...))`, winner via
|
|
110
|
+
* a valid-only `selectWinner` strategy (not `defaultSelectWinner`, whose non-valid fallback surfaces an ungated patch). This `runLoop`-driver form is retained as
|
|
111
|
+
* the SANDBOX-session topology `createDefaultCoderDelegate` drives and is re-exported for
|
|
112
|
+
* published consumers; it is not the canonical path for new code.
|
|
113
|
+
*
|
|
114
|
+
* @experimental
|
|
115
|
+
*/
|
|
106
116
|
declare function multiHarnessCoderFanout(options?: MultiHarnessCoderFanoutOptions): {
|
|
107
117
|
agentRuns: AgentRunSpec<CoderTask>[];
|
|
108
118
|
output: OutputAdapter<CoderOutput>;
|
|
109
119
|
validator: Validator<CoderOutput>;
|
|
110
120
|
driver: Driver<CoderTask, CoderOutput, 'pick-winner' | 'fail'>;
|
|
111
121
|
};
|
|
122
|
+
/** @experimental Inputs the mechanical coder gate decides on — a captured patch plus the
|
|
123
|
+
* test/typecheck PASS signals derived for it. Shared by `createCoderValidator` (sandbox-event
|
|
124
|
+
* shape) and the generic worktree-CLI deliverable (which derives `testsPassed`/`typecheckPassed`
|
|
125
|
+
* by running the commands in the worktree). */
|
|
126
|
+
interface CoderCheckInput {
|
|
127
|
+
/** The unified diff produced by the run. */
|
|
128
|
+
patch: string;
|
|
129
|
+
/** Did `testCmd` exit clean? */
|
|
130
|
+
testsPassed: boolean;
|
|
131
|
+
/** Did `typecheckCmd` exit clean? */
|
|
132
|
+
typecheckPassed: boolean;
|
|
133
|
+
}
|
|
134
|
+
/** @experimental The per-task constraints the mechanical gate enforces. */
|
|
135
|
+
interface CoderCheckConstraints {
|
|
136
|
+
/** Default 400. Hard cap; gate fails when exceeded. */
|
|
137
|
+
maxDiffLines?: number;
|
|
138
|
+
/** Literal path prefixes the patch must not touch. */
|
|
139
|
+
forbiddenPaths?: string[];
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* @experimental
|
|
143
|
+
*
|
|
144
|
+
* The pure mechanical coder gate — the SINGLE source of the no-op / secret-path floor /
|
|
145
|
+
* diff-size / forbidden-path / test / typecheck checks. No I/O: it scores a patch + its
|
|
146
|
+
* already-derived pass signals. Both the `createCoderValidator` shim (sandbox `CoderOutput`)
|
|
147
|
+
* and the generic worktree-CLI `coderDeliverable` (which runs the commands itself) call this,
|
|
148
|
+
* so the gate logic never forks.
|
|
149
|
+
*
|
|
150
|
+
* Checks in order: (1) no-op rejection, (2) always-on secret-path floor (independent of
|
|
151
|
+
* `forbiddenPaths`), (3) forbidden-path, (4) diff-size cap, (5) tests, (6) typecheck.
|
|
152
|
+
* Aggregate score: `0.5*tests + 0.3*typecheck + 0.2*(1 - diffLines/maxDiff)`; `valid` is the
|
|
153
|
+
* conjunction of all six.
|
|
154
|
+
*/
|
|
155
|
+
declare function runCoderChecks(input: CoderCheckInput, constraints?: CoderCheckConstraints): DefaultVerdict;
|
|
156
|
+
/**
|
|
157
|
+
* The sandbox `CoderOutput` validator. A thin shim over the shared {@link runCoderChecks} gate
|
|
158
|
+
* (the single source of the no-op / secret-floor / forbidden / diff-size / test / typecheck logic),
|
|
159
|
+
* adapting the sandbox-parsed `CoderOutput` into the gate inputs. On the generic recursive path the
|
|
160
|
+
* same gate is reached via `coderDeliverable(...)` over the worktree-CLI artifact.
|
|
161
|
+
*
|
|
162
|
+
* @experimental
|
|
163
|
+
*/
|
|
112
164
|
declare function createCoderValidator(task: CoderTask): Validator<CoderOutput>;
|
|
113
165
|
|
|
114
|
-
export { type CoderOutput as C, type MultiHarnessCoderFanoutOptions as M, type
|
|
166
|
+
export { type CoderOutput as C, type MultiHarnessCoderFanoutOptions as M, type CoderCheckConstraints as a, type CoderCheckInput as b, type CoderProfileOptions as c, type CoderTask as d, coderProfile as e, createCoderValidator as f, multiHarnessCoderFanout as m, runCoderChecks as r };
|
|
@@ -2,7 +2,7 @@ import { DefaultVerdict } from '@tangle-network/agent-eval';
|
|
|
2
2
|
import { AgentProfile, BackendType } from '@tangle-network/sandbox';
|
|
3
3
|
import { R as RuntimeHooks } from './runtime-hooks-C7JwKb9E.js';
|
|
4
4
|
import { d as LoopTokenUsage } from './types-C8rNlxfV.js';
|
|
5
|
-
import { b as DelegateFeedbackArgs, c as DelegationFeedbackSnapshot, d as DelegationTaskQueue, e as CoderDelegate, R as ResearcherDelegate, U as UiAuditorDelegate, T as TraceContext } from './delegates-
|
|
5
|
+
import { b as DelegateFeedbackArgs, c as DelegationFeedbackSnapshot, d as DelegationTaskQueue, e as CoderDelegate, R as ResearcherDelegate, U as UiAuditorDelegate, T as TraceContext } from './delegates-htF7l_H6.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @experimental
|
|
@@ -436,6 +436,85 @@ interface WidenGate<Out> {
|
|
|
436
436
|
readonly judgeExempt?: boolean;
|
|
437
437
|
}
|
|
438
438
|
|
|
439
|
+
/**
|
|
440
|
+
* @experimental
|
|
441
|
+
*
|
|
442
|
+
* Git worktree helpers for the in-process delegation executor. Each
|
|
443
|
+
* delegation runs in its own worktree so multiple parallel harness
|
|
444
|
+
* subprocesses (claude / codex / opencode in a 3-way fanout) don't clobber
|
|
445
|
+
* each other's edits on the shared workspace.
|
|
446
|
+
*
|
|
447
|
+
* Worktrees live under `<repoRoot>/.coder-variants/<runId>/`. After the
|
|
448
|
+
* harness exits + the diff is captured, the worktree is removed.
|
|
449
|
+
*
|
|
450
|
+
* All operations spawn `git` via `child_process.spawn` synchronously
|
|
451
|
+
* (via a `runGit` helper). Stays narrow on purpose: no working-tree
|
|
452
|
+
* staging, no commits, no rebases.
|
|
453
|
+
*/
|
|
454
|
+
/** @experimental */
|
|
455
|
+
interface WorktreeHandle {
|
|
456
|
+
/** Absolute path to the worktree directory. */
|
|
457
|
+
path: string;
|
|
458
|
+
/** SHA the worktree was created at. */
|
|
459
|
+
baseSha: string;
|
|
460
|
+
/** Branch name created for this worktree (typically `delegate/<runId>`). */
|
|
461
|
+
branch: string;
|
|
462
|
+
}
|
|
463
|
+
/** @experimental */
|
|
464
|
+
interface CreateWorktreeOptions {
|
|
465
|
+
/** Absolute path to the main git checkout. */
|
|
466
|
+
repoRoot: string;
|
|
467
|
+
/** Unique id for the worktree path + branch. Use the delegation run id. */
|
|
468
|
+
runId: string;
|
|
469
|
+
/** Parent directory the worktree lives under. Defaults to `.coder-variants`. */
|
|
470
|
+
variantsDir?: string;
|
|
471
|
+
/** Override the base ref (default `HEAD`). */
|
|
472
|
+
baseRef?: string;
|
|
473
|
+
/** Test seam — inject a custom git runner. */
|
|
474
|
+
runGit?: GitRunner;
|
|
475
|
+
}
|
|
476
|
+
/** @experimental */
|
|
477
|
+
interface DiffOptions {
|
|
478
|
+
/** Worktree to diff. */
|
|
479
|
+
worktree: WorktreeHandle;
|
|
480
|
+
/** What to compare against. Default `worktree.baseSha`. */
|
|
481
|
+
baseRef?: string;
|
|
482
|
+
/** Test seam. */
|
|
483
|
+
runGit?: GitRunner;
|
|
484
|
+
}
|
|
485
|
+
/** @experimental */
|
|
486
|
+
interface DiffResult {
|
|
487
|
+
patch: string;
|
|
488
|
+
stats: {
|
|
489
|
+
filesChanged: number;
|
|
490
|
+
insertions: number;
|
|
491
|
+
deletions: number;
|
|
492
|
+
};
|
|
493
|
+
}
|
|
494
|
+
/** @experimental */
|
|
495
|
+
interface RemoveWorktreeOptions {
|
|
496
|
+
worktree: WorktreeHandle;
|
|
497
|
+
repoRoot: string;
|
|
498
|
+
/** Force removal even if dirty (default true; the loser of a fanout has uncommitted changes). */
|
|
499
|
+
force?: boolean;
|
|
500
|
+
/** Test seam. */
|
|
501
|
+
runGit?: GitRunner;
|
|
502
|
+
}
|
|
503
|
+
/** Pluggable git runner (sync) — replaceable in tests. */
|
|
504
|
+
type GitRunner = (args: ReadonlyArray<string>, opts: {
|
|
505
|
+
cwd: string;
|
|
506
|
+
}) => {
|
|
507
|
+
stdout: string;
|
|
508
|
+
stderr: string;
|
|
509
|
+
exitCode: number;
|
|
510
|
+
};
|
|
511
|
+
/** @experimental */
|
|
512
|
+
declare function createWorktree(options: CreateWorktreeOptions): Promise<WorktreeHandle>;
|
|
513
|
+
/** @experimental */
|
|
514
|
+
declare function captureWorktreeDiff(options: DiffOptions): Promise<DiffResult>;
|
|
515
|
+
/** @experimental */
|
|
516
|
+
declare function removeWorktree(options: RemoveWorktreeOptions): Promise<void>;
|
|
517
|
+
|
|
439
518
|
/**
|
|
440
519
|
* @experimental
|
|
441
520
|
*
|
|
@@ -701,4 +780,4 @@ interface CoordinationTools {
|
|
|
701
780
|
/** Build the driver's MCP tools over a live scope. */
|
|
702
781
|
declare function createCoordinationTools(opts: CoordinationToolsOptions): CoordinationTools;
|
|
703
782
|
|
|
704
|
-
export { type AnalystRegistry as A, type Budget as B, type CoordinationEvent as C, type
|
|
783
|
+
export { type NodeSnapshot as $, type AnalystRegistry as A, type Budget as B, type CoordinationEvent as C, type DiffOptions as D, type ExecutorRegistry as E, type FeedbackStore as F, type GitRunner as G, type RootHandle as H, InMemoryFeedbackStore as I, type JsonRpcMessage as J, type SupervisedResult as K, type Spend as L, type MakeWorkerAgent as M, type NodeId as N, type Scope as O, type ExecutorFactory as P, type Question as Q, type RemoveWorktreeOptions as R, type SettledWorker as S, type TreeView as T, type Executor as U, type UsageEvent as V, type WorktreeHandle as W, type Supervisor as X, type ExecutorContext as Y, type ExecutorResult as Z, type Handle as _, type CoordinationTools as a, type NodeStatus as a0, type Restart as a1, type RootSignal as a2, type Runtime as a3, type SpawnOpts as a4, type SupervisorOpts as a5, type WidenGate as a6, type CoordinationToolsOptions as b, type CreateWorktreeOptions as c, type DiffResult as d, type FeedbackEvent as e, type JsonRpcResponse as f, type McpServer as g, type McpServerOptions as h, type McpToolDescriptor as i, type McpTransport as j, type QuestionDecision as k, type QuestionPolicy as l, type QuestionRecord as m, captureWorktreeDiff as n, createCoordinationTools as o, createInProcessTransport as p, createMcpServer as q, createWorktree as r, eventToSnapshot as s, removeWorktree as t, type ResultBlobStore as u, type SpawnJournal as v, type SpawnEvent as w, type Settled as x, type AgentSpec as y, type Agent as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CoderOutput,
|
|
1
|
+
import { C as CoderOutput, d as CoderTask } from './coder-CdsknxGF.js';
|
|
2
2
|
import { g as LoopTraceEmitter, e as LoopTraceEvent, S as SandboxClient, A as AgentRunSpec } from './types-C8rNlxfV.js';
|
|
3
3
|
import { SandboxEvent, SandboxInstance } from '@tangle-network/sandbox';
|
|
4
4
|
import { AgentEvalError } from '@tangle-network/agent-eval';
|
|
@@ -1459,6 +1459,18 @@ interface CreateDefaultCoderDelegateOptions {
|
|
|
1459
1459
|
* sandbox client + coder profile. When `args.variants > 1` it switches
|
|
1460
1460
|
* to the multi-harness fanout topology.
|
|
1461
1461
|
*
|
|
1462
|
+
* This is the SANDBOX-SESSION coder path: workers run the in-box harness via the
|
|
1463
|
+
* `SandboxClient`'s `streamPrompt`, and single-variant turns can dispatch DETACHED
|
|
1464
|
+
* (driveTurn ticks) so a durable queue resumes them across an MCP restart — a substrate
|
|
1465
|
+
* the recursive worktree-CLI leaf does not yet have a journal-replay equivalent for.
|
|
1466
|
+
*
|
|
1467
|
+
* @deprecated Prefer the generic recursive path for NEW local-repo coding work: author an
|
|
1468
|
+
* `AgentProfile` per harness and run `worktreeCoderFanout(...)` (the `fanout` of
|
|
1469
|
+
* `createWorktreeCliExecutor` leaves, each `gateOnDeliverable(coderDeliverable(...))`, winner
|
|
1470
|
+
* via a valid-only `selectWinner`) through `runPersonified`. This factory stays as the injection seam
|
|
1471
|
+
* `createMcpServer` consumes for SANDBOX-session delegation + detached resume; it will remain
|
|
1472
|
+
* until the worktree-CLI leaf grows the detached-tick resume equivalent.
|
|
1473
|
+
*
|
|
1462
1474
|
* @experimental
|
|
1463
1475
|
*/
|
|
1464
1476
|
declare function createDefaultCoderDelegate(options: CreateDefaultCoderDelegateOptions): CoderDelegate;
|
|
@@ -1489,6 +1501,12 @@ interface SettleDetachedCoderTurnOptions {
|
|
|
1489
1501
|
* then the optional reviewer. Throws when nothing survives — a resumed or
|
|
1490
1502
|
* detached run must not return an unvalidated patch.
|
|
1491
1503
|
*
|
|
1504
|
+
* SCOPE NOTE (detached/resume): the detached `driveTurn`-tick + cross-restart resume path is
|
|
1505
|
+
* bound to the `runLoop` + sandbox-session substrate. The recursive `Scope`/worktree-CLI leaf has
|
|
1506
|
+
* journal→replay but no driveTurn-over-a-detached-sandbox-session equivalent yet, so resume is NOT
|
|
1507
|
+
* advertised on the generic `worktreeCoderFanout` path. This helper (with `coderTaskFromArgs` and
|
|
1508
|
+
* `createDriveTurnResumeDriver`) stays as the resume seam `bin.ts` wires for in-flight records.
|
|
1509
|
+
*
|
|
1492
1510
|
* @experimental
|
|
1493
1511
|
*/
|
|
1494
1512
|
declare function settleDetachedCoderTurn(turn: DetachedTurn, options: SettleDetachedCoderTurnOptions): Promise<CoderOutput>;
|
package/dist/improvement.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnalystFinding } from '@tangle-network/agent-eval';
|
|
2
|
-
import { L as LocalHarness, r as runLocalHarness } from './local-harness-
|
|
2
|
+
import { L as LocalHarness, r as runLocalHarness } from './local-harness-BE_h8szs.js';
|
|
3
3
|
import { LabeledScenarioStore, WorktreeAdapter, ImprovementDriver } from '@tangle-network/agent-eval/campaign';
|
|
4
4
|
import { S as SurfaceImprovementEdit } from './improvement-adapter-BC4HhuAR.js';
|
|
5
5
|
import { I as ImprovementAdapter } from './types-p8dWBIXL.js';
|
package/dist/improvement.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -3,16 +3,16 @@ export { AgentEvalError, AgentEvalErrorCode, ConfigError, ControlBudget, Control
|
|
|
3
3
|
import { h as AgentBackendInput, i as AgentExecutionBackend, c as OpenAIChatTool, j as OpenAIChatToolChoice, k as AgentBackendContext, R as RuntimeStreamEvent, K as KnowledgeReadinessDecision, l as RunAgentTaskOptions, m as AgentTaskRunResult, n as RunAgentTaskStreamOptions, o as AgentRuntimeEvent, p as AgentTaskStatus, q as RuntimeSessionStore, r as RuntimeSession } from './types-C8rNlxfV.js';
|
|
4
4
|
export { s as AgentAdapter, t as AgentKnowledgeProvider, u as AgentRuntimeEventSink, v as AgentTaskContext, w as AgentTaskSpec, B as BackendErrorDetail, x as RuntimeRunHandle, y as RuntimeRunPersistenceAdapter, z as RuntimeRunRow, C as startRuntimeRun } from './types-C8rNlxfV.js';
|
|
5
5
|
import { Scenario, ProfileDispatchFn } from '@tangle-network/agent-eval/campaign';
|
|
6
|
-
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, h as auditLoopRunner, i as coderLoopRunner, j as isDelegatedLoopMode, p as parseLoopRunnerArgv, r as researchLoopRunner, k as reviewLoopRunner, l as runDelegatedLoop, m as runLoopRunnerCli, s as selfImproveLoopRunner } from './loop-runner-bin-
|
|
6
|
+
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, h as auditLoopRunner, i as coderLoopRunner, j as isDelegatedLoopMode, p as parseLoopRunnerArgv, r as researchLoopRunner, k as reviewLoopRunner, l as runDelegatedLoop, m as runLoopRunnerCli, s as selfImproveLoopRunner } from './loop-runner-bin-C4YyFGdT.js';
|
|
7
7
|
export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from './openai-tools-CoeLQ7Uo.js';
|
|
8
|
-
export { ax as EvalRunEvent, ay as EvalRunGeneration, az as EvalRunsExportConfig, aA as EvalRunsExportResult, aB as INTELLIGENCE_WIRE_VERSION, aC as LoopSpanNode, aD as OtelAttribute, aE as OtelExportConfig, aF as OtelExporter, aG as OtelSpan, aH as buildLoopOtelSpans, aI as buildLoopSpanNodes, aJ as createOtelExporter, aK as exportEvalRuns, aL as loopEventToOtelSpan } from './delegates-
|
|
8
|
+
export { ax as EvalRunEvent, ay as EvalRunGeneration, az as EvalRunsExportConfig, aA as EvalRunsExportResult, aB as INTELLIGENCE_WIRE_VERSION, aC as LoopSpanNode, aD as OtelAttribute, aE as OtelExportConfig, aF as OtelExporter, aG as OtelSpan, aH as buildLoopOtelSpans, aI as buildLoopSpanNodes, aJ as createOtelExporter, aK as exportEvalRuns, aL as loopEventToOtelSpan } from './delegates-htF7l_H6.js';
|
|
9
9
|
import { R as RuntimeHooks } from './runtime-hooks-C7JwKb9E.js';
|
|
10
10
|
export { b as RuntimeDecisionEvidenceRef, c as RuntimeDecisionKind, d as RuntimeDecisionPoint, e as RuntimeHookContext, f as RuntimeHookErrorContext, a as RuntimeHookEvent, g as RuntimeHookPhase, h as RuntimeHookTarget, i as composeRuntimeHooks, j as defineRuntimeHooks, n as notifyRuntimeDecisionPoint, k as notifyRuntimeHookEvent } from './runtime-hooks-C7JwKb9E.js';
|
|
11
11
|
import '@tangle-network/sandbox';
|
|
12
12
|
import '@tangle-network/agent-eval/contract';
|
|
13
13
|
import './types-p8dWBIXL.js';
|
|
14
14
|
import './kb-gate-CuzMYGYM.js';
|
|
15
|
-
import './coder-
|
|
15
|
+
import './coder-CdsknxGF.js';
|
|
16
16
|
import './substrate-CUgk7F7s.js';
|
|
17
17
|
|
|
18
18
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mcpToolsForRuntimeMcp,
|
|
3
3
|
mcpToolsForRuntimeMcpSubset
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A265AJ2Q.js";
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_ROUTER_BASE_URL,
|
|
7
7
|
cleanModelId,
|
|
@@ -21,17 +21,17 @@ import {
|
|
|
21
21
|
runDelegatedLoop,
|
|
22
22
|
runLoopRunnerCli,
|
|
23
23
|
selfImproveLoopRunner
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5ZOYQWEB.js";
|
|
25
25
|
import "./chunk-FNMGYYSS.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-KADIJAD4.js";
|
|
26
|
+
import "./chunk-GFDCNQRO.js";
|
|
28
27
|
import "./chunk-P5OKDSLB.js";
|
|
29
28
|
import {
|
|
30
29
|
composeRuntimeHooks,
|
|
31
30
|
defineRuntimeHooks,
|
|
32
31
|
notifyRuntimeDecisionPoint,
|
|
33
32
|
notifyRuntimeHookEvent
|
|
34
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ZADWPBOE.js";
|
|
34
|
+
import "./chunk-3BI6PSP3.js";
|
|
35
35
|
import "./chunk-WIR4HOOJ.js";
|
|
36
36
|
import {
|
|
37
37
|
AgentEvalError,
|
|
@@ -44,6 +44,7 @@ import {
|
|
|
44
44
|
SessionMismatchError,
|
|
45
45
|
ValidationError
|
|
46
46
|
} from "./chunk-VLF5RHEQ.js";
|
|
47
|
+
import "./chunk-GLMFBUKT.js";
|
|
47
48
|
import {
|
|
48
49
|
INTELLIGENCE_WIRE_VERSION,
|
|
49
50
|
buildLoopOtelSpans,
|