@tangle-network/agent-runtime 0.87.0 → 0.89.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 -3
- package/dist/analyst-loop.js +2 -2
- package/dist/{chunk-MHYF2LIP.js → chunk-5AVV7KAH.js} +2 -2
- package/dist/{chunk-FLVVVBWV.js → chunk-BQPFZE2C.js} +4 -4
- package/dist/{chunk-QUXZBZCS.js → chunk-FVJ7M3DA.js} +1 -1
- package/dist/chunk-FVJ7M3DA.js.map +1 -0
- package/dist/{chunk-6XCW3M7W.js → chunk-N7EJV7N3.js} +14 -10
- package/dist/chunk-N7EJV7N3.js.map +1 -0
- package/dist/{chunk-VKVNDNG4.js → chunk-PIPPLSOF.js} +6 -5
- package/dist/chunk-PIPPLSOF.js.map +1 -0
- package/dist/{chunk-LCXXIL3U.js → chunk-ZQZX77MM.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/loop-runner-bin.js +5 -5
- package/dist/loops.d.ts +25 -4
- package/dist/loops.js +3 -3
- package/dist/mcp/bin.js +2 -2
- package/dist/mcp/index.js +4 -4
- package/package.json +2 -2
- package/dist/chunk-6XCW3M7W.js.map +0 -1
- package/dist/chunk-QUXZBZCS.js.map +0 -1
- package/dist/chunk-VKVNDNG4.js.map +0 -1
- /package/dist/{chunk-MHYF2LIP.js.map → chunk-5AVV7KAH.js.map} +0 -0
- /package/dist/{chunk-FLVVVBWV.js.map → chunk-BQPFZE2C.js.map} +0 -0
- /package/dist/{chunk-LCXXIL3U.js.map → chunk-ZQZX77MM.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractLlmCallEvent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FVJ7M3DA.js";
|
|
4
4
|
import {
|
|
5
5
|
AnalystError
|
|
6
6
|
} from "./chunk-YEJR7IXO.js";
|
|
@@ -579,4 +579,4 @@ export {
|
|
|
579
579
|
iterationsToTraceStore,
|
|
580
580
|
runAnalystLoop
|
|
581
581
|
};
|
|
582
|
-
//# sourceMappingURL=chunk-
|
|
582
|
+
//# sourceMappingURL=chunk-ZQZX77MM.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mcpToolsForRuntimeMcp,
|
|
3
3
|
mcpToolsForRuntimeMcpSubset
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5AVV7KAH.js";
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_ROUTER_BASE_URL,
|
|
7
7
|
cleanModelId,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
runLoopRunnerCli,
|
|
21
21
|
selfImproveLoopRunner,
|
|
22
22
|
worktreeLoopRunner
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BQPFZE2C.js";
|
|
24
24
|
import "./chunk-SGKPNBXE.js";
|
|
25
25
|
import {
|
|
26
26
|
InMemoryRuntimeSessionStore,
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
normalizeBackendStreamEvent,
|
|
32
32
|
nowIso,
|
|
33
33
|
touchSession
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-PIPPLSOF.js";
|
|
35
35
|
import {
|
|
36
36
|
assertModelAllowed,
|
|
37
37
|
composeRuntimeHooks,
|
|
38
38
|
defineRuntimeHooks,
|
|
39
39
|
notifyRuntimeDecisionPoint,
|
|
40
40
|
notifyRuntimeHookEvent
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-N7EJV7N3.js";
|
|
42
42
|
import {
|
|
43
43
|
INTELLIGENCE_WIRE_VERSION,
|
|
44
44
|
buildLoopOtelSpans,
|
|
@@ -48,8 +48,8 @@ import {
|
|
|
48
48
|
loopEventToOtelSpan
|
|
49
49
|
} from "./chunk-UD4BHQMI.js";
|
|
50
50
|
import "./chunk-BZF3KQ6G.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-ZQZX77MM.js";
|
|
52
|
+
import "./chunk-FVJ7M3DA.js";
|
|
53
53
|
import {
|
|
54
54
|
agenticGenerator,
|
|
55
55
|
commandVerifier,
|
package/dist/loop-runner-bin.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
parseLoopRunnerArgv,
|
|
4
4
|
runLoopRunnerCli
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BQPFZE2C.js";
|
|
6
6
|
import "./chunk-SGKPNBXE.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-PIPPLSOF.js";
|
|
8
|
+
import "./chunk-N7EJV7N3.js";
|
|
9
9
|
import "./chunk-UD4BHQMI.js";
|
|
10
10
|
import "./chunk-BZF3KQ6G.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-ZQZX77MM.js";
|
|
12
|
+
import "./chunk-FVJ7M3DA.js";
|
|
13
13
|
import "./chunk-7LO5GMAO.js";
|
|
14
14
|
import "./chunk-YEJR7IXO.js";
|
|
15
15
|
import "./chunk-DPEUKJRO.js";
|
package/dist/loops.d.ts
CHANGED
|
@@ -679,6 +679,11 @@ interface DefinedLeaderboard<TCase, TArtifact = string> {
|
|
|
679
679
|
/** The same domain surface in the structural `BenchmarkAdapter` shape. */
|
|
680
680
|
toBenchmarkAdapter(): LeaderboardBenchmarkAdapter<TArtifact>;
|
|
681
681
|
}
|
|
682
|
+
/**
|
|
683
|
+
* Assemble a declarative spec (`cases` + `prompt` + `score`) into a runnable
|
|
684
|
+
* harness×model leaderboard — `run()` executes the matrix, `toBenchmarkAdapter()`
|
|
685
|
+
* exposes the same domain as a structural `BenchmarkAdapter`.
|
|
686
|
+
*/
|
|
682
687
|
declare function defineLeaderboard<TCase, TArtifact = string>(spec: LeaderboardSpec<TCase, TArtifact>): DefinedLeaderboard<TCase, TArtifact>;
|
|
683
688
|
|
|
684
689
|
/**
|
|
@@ -2120,7 +2125,12 @@ interface SandboxToolPartState {
|
|
|
2120
2125
|
/** Sequence for synthesized call ids when an event carries none. */
|
|
2121
2126
|
seq: number;
|
|
2122
2127
|
}
|
|
2123
|
-
/**
|
|
2128
|
+
/**
|
|
2129
|
+
* Fresh per-turn {@link SandboxToolPartState} for {@link mapSandboxToolEvent} — an
|
|
2130
|
+
* empty call-status map so each turn projects tool frames independently.
|
|
2131
|
+
*
|
|
2132
|
+
* @experimental
|
|
2133
|
+
*/
|
|
2124
2134
|
declare function createSandboxToolPartState(): SandboxToolPartState;
|
|
2125
2135
|
/**
|
|
2126
2136
|
* Project one `SandboxEvent` onto the `tool_call` / `tool_result` variants of
|
|
@@ -2236,7 +2246,7 @@ interface SandboxLineage {
|
|
|
2236
2246
|
* Acquire a fresh box and begin a new session on it. Returns the handle and
|
|
2237
2247
|
* the live `streamPrompt` iterable for the first turn (caller drains it).
|
|
2238
2248
|
*/
|
|
2239
|
-
start(spec: AgentRunSpec<unknown>, prompt: string, signal: AbortSignal): Promise<{
|
|
2249
|
+
start(spec: AgentRunSpec<unknown>, prompt: string, signal: AbortSignal, promptOptions?: Omit<PromptOptions, 'signal' | 'sessionId'>): Promise<{
|
|
2240
2250
|
handle: SandboxLineageHandle;
|
|
2241
2251
|
events: AsyncIterable<SandboxEvent>;
|
|
2242
2252
|
}>;
|
|
@@ -2247,7 +2257,7 @@ interface SandboxLineage {
|
|
|
2247
2257
|
* silently dropped the client-minted session id surfaces as an error instead
|
|
2248
2258
|
* of a contextless turn the caller mistakes for a real continuation.
|
|
2249
2259
|
*/
|
|
2250
|
-
continue(handle: SandboxLineageHandle, prompt: string, signal: AbortSignal): Promise<AsyncIterable<SandboxEvent>>;
|
|
2260
|
+
continue(handle: SandboxLineageHandle, prompt: string, signal: AbortSignal, promptOptions?: Omit<PromptOptions, 'signal' | 'sessionId'>): Promise<AsyncIterable<SandboxEvent>>;
|
|
2251
2261
|
/**
|
|
2252
2262
|
* Branch `count` children from `parent`. When the platform can fork, each
|
|
2253
2263
|
* child inherits `parent`'s checkpoint — and therefore the parent's IMAGE and
|
|
@@ -2414,6 +2424,14 @@ interface SandboxRun<Out> {
|
|
|
2414
2424
|
resume(prompt: string): Promise<TurnResult<Out>>;
|
|
2415
2425
|
close(): Promise<void>;
|
|
2416
2426
|
}
|
|
2427
|
+
/** Prompt options forwarded to every sandbox prompt turn in this run. The
|
|
2428
|
+
* runtime owns `sessionId` and `signal` so callers cannot accidentally break
|
|
2429
|
+
* resume or cancellation semantics while still setting backend-level prompt
|
|
2430
|
+
* controls such as `timeoutMs`.
|
|
2431
|
+
*
|
|
2432
|
+
* @experimental
|
|
2433
|
+
*/
|
|
2434
|
+
type OpenSandboxRunPromptOptions = Omit<PromptOptions, 'signal' | 'sessionId'>;
|
|
2417
2435
|
/** @experimental */
|
|
2418
2436
|
interface OpenSandboxRunOptions {
|
|
2419
2437
|
/** Profile + sandbox env/overrides. `sandboxOverrides.backend.type` is the harness. */
|
|
@@ -2425,6 +2443,9 @@ interface OpenSandboxRunOptions {
|
|
|
2425
2443
|
runId?: string;
|
|
2426
2444
|
/** Optional benchmark/scenario id carried into emitted hook events. */
|
|
2427
2445
|
scenarioId?: string;
|
|
2446
|
+
/** Per-prompt sandbox SDK options forwarded to both `start()` and `resume()`.
|
|
2447
|
+
* The runtime still owns the session id and abort signal for each turn. */
|
|
2448
|
+
promptOptions?: OpenSandboxRunPromptOptions;
|
|
2428
2449
|
/** Test seam for deterministic hook timestamps. Defaults to `Date.now`. */
|
|
2429
2450
|
now?: () => number;
|
|
2430
2451
|
/** Bounds box-creation bursts inside lineage fanout. Default from lineage. */
|
|
@@ -4068,4 +4089,4 @@ declare function runInWorkspace<T>(ws: Workspace, body: (cwd: string) => Promise
|
|
|
4068
4089
|
commitOnInvalid?: boolean;
|
|
4069
4090
|
}): Promise<WorkspaceRun<T>>;
|
|
4070
4091
|
|
|
4071
|
-
export { Agent, AgentRunSpec, type AgentTurnBackend, type AgentTurnUsage, type AgenticOptions, type AgenticRunResult, type AgenticSurface, type AgenticTask, type AgenticTool, AnalystRegistry, type AnytimeReport, type AnytimeStrategySummary, type AnytimeTaskCurve, type ApplyContinuation, type ArtifactHandle, AssertTraceDerivedFindings, type AuditIntentInput, type AuditIntentOptions, type AuthorStrategyOptions, type AuthoredProfile, type AuthoredStrategy, type BenchmarkCell, type BenchmarkConfig, type BenchmarkLift, type BenchmarkReport, type BenchmarkStrategySummary, type BenchmarkTaskRow, Budget, type BudgetPool, type BudgetReadout, type ChampionPick, type ChampionPolicy, type CheckpointCapableBox, type CollectedAgentTurn, CombinatorShape, type CompletionAnalyst, type CompletionEvidence, type CompletionPolicy, type CompletionVerdict, CoordinationEvent, type CoordinationMcpHandle, Corpus, CorpusFilter, CorpusRecord, type CreateScopeAnalystOptions, type CriuCapableClient, DefinePersonaInput, type DefinedLeaderboard, type DelegateOptions, type Deliverable, DeliverableSpec, type DriveHarness, Driver, type DriverAgentOptions, type DumbDriverOptions, type Environment, EqualKArm, EqualKOnCostOptions, EqualKVerdict, type EvolutionArchiveNode, type EvolutionAuthor, type EvolutionBandInfo, type EvolutionCandidate, type EvolutionGeneration, type EvolutionReport, ExecCtx, ExecutorConfig, ExecutorFactory, ExecutorRegistry, FanoutOptions, FanoutWinnerSelector, FileCorpus, type ForkCapableBox, type GitWorkspaceOptions, type HarvestCorpusOptions, type HarvestFailure, type HarvestReport, InMemoryCorpus, InMemoryResultBlobStore, type InMemoryRunContext, type InMemoryRunContextOptions, InMemorySpawnJournal, type InProcessOnPrompt, type InProcessPromptCtx, type InProcessSandboxClientOptions, type Inbox, type InboxMessage, type IntentAudit, type Interval, Iteration, type Leaderboard, type LeaderboardBenchScore, type LeaderboardBenchTask, type LeaderboardBenchmarkAdapter, type LeaderboardFlagSpec, type LeaderboardIterationInfo, type LeaderboardOptions, type LeaderboardRow, type LeaderboardRunContext, type LeaderboardScenario, type LeaderboardScore, type LeaderboardSpec, type LoopCampaignDispatchOptions, type LoopDispatchOptions, LoopLineageOptions, type LoopOptionsForDispatch, LoopResult, LoopShape, LoopTokenUsage, LoopUntilSpec, LoopWinner, MakeWorkerAgent, type McpEndpoint, type McpEnvironmentOptions, MountRecorder, type NaiveDriverOptions, type Observation, type ObserveInput, type ObserveOptions, type OpenSandboxRunOptions, Outcome, OutputAdapter, type PairwiseOptions, type PairwiseVerdict, PanelSpec, Persona, PipelineStage, type ProfileRichness, type ProfileRichnessThresholds, type PromotionGateOptions, type PromotionVerdict, type RegistryAnalyzeProjection, RenderCorpusToInstructionsOptions, type ReservationTicket, type ResolveSandboxClientOptions, ResultBlobStore, RouterConfig, type RunAgenticOptions, RunPersonifiedOptions, type SandboxCapabilities, SandboxClient, type SandboxLineage, type SandboxLineageHandle, type SandboxRun, SandboxRunAbortError, type SandboxToolPartState, Scope, ScopeAnalyst, ScopeAnalyzeInput, ScopeWidenGate, type SessionCapableBox, type SessionTraceBox, Settled, ShapeRegistry, type Shell, type ShotPersona, type ShotSpec, Spend, SteerContext, type SteeringDecision, type Strategy, type StrategyCtx, type StrategyEvolutionConfig, type StrategyResult, type StreamAgentTurnOptions, type SuperviseOptions, type SuperviseSurfaceOptions, type SuperviseSurfaceResult, SupervisedResult, Supervisor, type SupervisorAgentDeps, type SupervisorProfile, type SurfaceScore, type SurfaceWorkerConfig, type SurfaceWorkerOut, ToolLoopChat, ToolLoopCompactionOptions, type TraceSource, type TrajectoryAnalysis, TrajectoryReport, TrajectoryReportOptions, type TurnResult, UsageEvent, type UsageSink, Validator, type VerifierEnvironmentOptions, VerifySpec, type WatchTraceOptions, type WaterfallCollector, type WaterfallReport, type WaterfallSpan, WidenSpec, WinnerStrategy, type Workspace, type WorkspaceCommit, type WorkspaceRun, acquireSandbox, adaptiveRefine, analyzeTrace, anytimeReport, asAuthoredProfile, assertModelAllowed, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, auditIntent, authorStrategy, authoredWorker, breadthStrategy, buildSteerContext, builtinShapes, collectAgentTurn, completionAuthorizes, contentAddress, createBudgetPool, createInMemoryRunContext, createInbox, createMcpEnvironment, createPushTraceSource, createSandboxLineage, createSandboxToolPartState, createScope, createScopeAnalyst, createShapeRegistry, createSupervisor, createVerifierEnvironment, createWaterfallCollector, decodeToolPart, defaultAnalystInstruction, defaultAuditorInstruction, defaultDelegateBudget, defaultProfileRichnessThresholds, defaultSelectWinner, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, depthStrategy, deterministicCompletion, discriminatingMeans, driverAgent, dumbDriver, equalKOnCost, extractLlmCallEvent, failuresAnalyst, fanout, finalizeBestDelivered, flatWidenGate, gitWorkspace, harvestCorpus, inProcessSandboxClient, inlineSandboxClient, jjWorkspace, leaderboard, localShell, loopCampaignDispatch, loopDispatch, loopUntil, mapSandboxEvent, mapSandboxToolEvent, naiveDriver, observe, openSandboxRun, pairwiseSignificance, panel, pickChampion, pipeline, printBenchmarkReport, probeSandboxCapabilities, profileRichnessFinding, promotionGate, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, reportLoopUsage, resolveSandboxClient, runAgentic, runBenchmark, runInWorkspace, runLoop, runPersonified, runStrategyEvolution, sample, sampleThenRefine, sandboxSessionTraceSource, selectChampion, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, spendFromUsageEvents, stopSentinel, strategyAuthorContract, streamAgentTurn, sumSandboxUsage, supervise, superviseSurface, supervisorAgent, supervisorInstructions, trajectoryReport, verify, watchTrace, widen, workerFromBackend };
|
|
4092
|
+
export { Agent, AgentRunSpec, type AgentTurnBackend, type AgentTurnUsage, type AgenticOptions, type AgenticRunResult, type AgenticSurface, type AgenticTask, type AgenticTool, AnalystRegistry, type AnytimeReport, type AnytimeStrategySummary, type AnytimeTaskCurve, type ApplyContinuation, type ArtifactHandle, AssertTraceDerivedFindings, type AuditIntentInput, type AuditIntentOptions, type AuthorStrategyOptions, type AuthoredProfile, type AuthoredStrategy, type BenchmarkCell, type BenchmarkConfig, type BenchmarkLift, type BenchmarkReport, type BenchmarkStrategySummary, type BenchmarkTaskRow, Budget, type BudgetPool, type BudgetReadout, type ChampionPick, type ChampionPolicy, type CheckpointCapableBox, type CollectedAgentTurn, CombinatorShape, type CompletionAnalyst, type CompletionEvidence, type CompletionPolicy, type CompletionVerdict, CoordinationEvent, type CoordinationMcpHandle, Corpus, CorpusFilter, CorpusRecord, type CreateScopeAnalystOptions, type CriuCapableClient, DefinePersonaInput, type DefinedLeaderboard, type DelegateOptions, type Deliverable, DeliverableSpec, type DriveHarness, Driver, type DriverAgentOptions, type DumbDriverOptions, type Environment, EqualKArm, EqualKOnCostOptions, EqualKVerdict, type EvolutionArchiveNode, type EvolutionAuthor, type EvolutionBandInfo, type EvolutionCandidate, type EvolutionGeneration, type EvolutionReport, ExecCtx, ExecutorConfig, ExecutorFactory, ExecutorRegistry, FanoutOptions, FanoutWinnerSelector, FileCorpus, type ForkCapableBox, type GitWorkspaceOptions, type HarvestCorpusOptions, type HarvestFailure, type HarvestReport, InMemoryCorpus, InMemoryResultBlobStore, type InMemoryRunContext, type InMemoryRunContextOptions, InMemorySpawnJournal, type InProcessOnPrompt, type InProcessPromptCtx, type InProcessSandboxClientOptions, type Inbox, type InboxMessage, type IntentAudit, type Interval, Iteration, type Leaderboard, type LeaderboardBenchScore, type LeaderboardBenchTask, type LeaderboardBenchmarkAdapter, type LeaderboardFlagSpec, type LeaderboardIterationInfo, type LeaderboardOptions, type LeaderboardRow, type LeaderboardRunContext, type LeaderboardScenario, type LeaderboardScore, type LeaderboardSpec, type LoopCampaignDispatchOptions, type LoopDispatchOptions, LoopLineageOptions, type LoopOptionsForDispatch, LoopResult, LoopShape, LoopTokenUsage, LoopUntilSpec, LoopWinner, MakeWorkerAgent, type McpEndpoint, type McpEnvironmentOptions, MountRecorder, type NaiveDriverOptions, type Observation, type ObserveInput, type ObserveOptions, type OpenSandboxRunOptions, type OpenSandboxRunPromptOptions, Outcome, OutputAdapter, type PairwiseOptions, type PairwiseVerdict, PanelSpec, Persona, PipelineStage, type ProfileRichness, type ProfileRichnessThresholds, type PromotionGateOptions, type PromotionVerdict, type RegistryAnalyzeProjection, RenderCorpusToInstructionsOptions, type ReservationTicket, type ResolveSandboxClientOptions, ResultBlobStore, RouterConfig, type RunAgenticOptions, RunPersonifiedOptions, type SandboxCapabilities, SandboxClient, type SandboxLineage, type SandboxLineageHandle, type SandboxRun, SandboxRunAbortError, type SandboxToolPartState, Scope, ScopeAnalyst, ScopeAnalyzeInput, ScopeWidenGate, type SessionCapableBox, type SessionTraceBox, Settled, ShapeRegistry, type Shell, type ShotPersona, type ShotSpec, Spend, SteerContext, type SteeringDecision, type Strategy, type StrategyCtx, type StrategyEvolutionConfig, type StrategyResult, type StreamAgentTurnOptions, type SuperviseOptions, type SuperviseSurfaceOptions, type SuperviseSurfaceResult, SupervisedResult, Supervisor, type SupervisorAgentDeps, type SupervisorProfile, type SurfaceScore, type SurfaceWorkerConfig, type SurfaceWorkerOut, ToolLoopChat, ToolLoopCompactionOptions, type TraceSource, type TrajectoryAnalysis, TrajectoryReport, TrajectoryReportOptions, type TurnResult, UsageEvent, type UsageSink, Validator, type VerifierEnvironmentOptions, VerifySpec, type WatchTraceOptions, type WaterfallCollector, type WaterfallReport, type WaterfallSpan, WidenSpec, WinnerStrategy, type Workspace, type WorkspaceCommit, type WorkspaceRun, acquireSandbox, adaptiveRefine, analyzeTrace, anytimeReport, asAuthoredProfile, assertModelAllowed, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, auditIntent, authorStrategy, authoredWorker, breadthStrategy, buildSteerContext, builtinShapes, collectAgentTurn, completionAuthorizes, contentAddress, createBudgetPool, createInMemoryRunContext, createInbox, createMcpEnvironment, createPushTraceSource, createSandboxLineage, createSandboxToolPartState, createScope, createScopeAnalyst, createShapeRegistry, createSupervisor, createVerifierEnvironment, createWaterfallCollector, decodeToolPart, defaultAnalystInstruction, defaultAuditorInstruction, defaultDelegateBudget, defaultProfileRichnessThresholds, defaultSelectWinner, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, depthStrategy, deterministicCompletion, discriminatingMeans, driverAgent, dumbDriver, equalKOnCost, extractLlmCallEvent, failuresAnalyst, fanout, finalizeBestDelivered, flatWidenGate, gitWorkspace, harvestCorpus, inProcessSandboxClient, inlineSandboxClient, jjWorkspace, leaderboard, localShell, loopCampaignDispatch, loopDispatch, loopUntil, mapSandboxEvent, mapSandboxToolEvent, naiveDriver, observe, openSandboxRun, pairwiseSignificance, panel, pickChampion, pipeline, printBenchmarkReport, probeSandboxCapabilities, profileRichnessFinding, promotionGate, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, reportLoopUsage, resolveSandboxClient, runAgentic, runBenchmark, runInWorkspace, runLoop, runPersonified, runStrategyEvolution, sample, sampleThenRefine, sandboxSessionTraceSource, selectChampion, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, spendFromUsageEvents, stopSentinel, strategyAuthorContract, streamAgentTurn, sumSandboxUsage, supervise, superviseSurface, supervisorAgent, supervisorInstructions, trajectoryReport, verify, watchTrace, widen, workerFromBackend };
|
package/dist/loops.js
CHANGED
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
watchTrace,
|
|
90
90
|
widen,
|
|
91
91
|
worktreeFanout
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-PIPPLSOF.js";
|
|
93
93
|
import {
|
|
94
94
|
InMemoryResultBlobStore,
|
|
95
95
|
InMemorySpawnJournal,
|
|
@@ -131,7 +131,7 @@ import {
|
|
|
131
131
|
supervisorAgent,
|
|
132
132
|
supervisorInstructions,
|
|
133
133
|
workerFromBackend
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-N7EJV7N3.js";
|
|
135
135
|
import "./chunk-UD4BHQMI.js";
|
|
136
136
|
import {
|
|
137
137
|
createAgentEnvironmentProviderRegistry,
|
|
@@ -146,7 +146,7 @@ import {
|
|
|
146
146
|
mapSandboxEvent,
|
|
147
147
|
mapSandboxToolEvent,
|
|
148
148
|
sumSandboxUsage
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-FVJ7M3DA.js";
|
|
150
150
|
import "./chunk-7LO5GMAO.js";
|
|
151
151
|
import "./chunk-YEJR7IXO.js";
|
|
152
152
|
import "./chunk-DPEUKJRO.js";
|
package/dist/mcp/bin.js
CHANGED
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
DelegationTaskQueue,
|
|
10
10
|
FileDelegationStore,
|
|
11
11
|
createMcpServer
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-N7EJV7N3.js";
|
|
13
13
|
import "../chunk-UD4BHQMI.js";
|
|
14
14
|
import "../chunk-BZF3KQ6G.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-FVJ7M3DA.js";
|
|
16
16
|
import "../chunk-7LO5GMAO.js";
|
|
17
17
|
import "../chunk-YEJR7IXO.js";
|
|
18
18
|
import "../chunk-DPEUKJRO.js";
|
package/dist/mcp/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
mcpToolsForRuntimeMcp,
|
|
8
8
|
mcpToolsForRuntimeMcpSubset
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-5AVV7KAH.js";
|
|
10
10
|
import {
|
|
11
11
|
createKbGate
|
|
12
12
|
} from "../chunk-SGKPNBXE.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
assertTraceDerivedFindings,
|
|
15
15
|
runCoderChecks,
|
|
16
16
|
selectValidWinner
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-PIPPLSOF.js";
|
|
18
18
|
import {
|
|
19
19
|
DELEGATE_DESCRIPTION,
|
|
20
20
|
DELEGATE_FEEDBACK_DESCRIPTION,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
validateDelegateUiAuditArgs,
|
|
65
65
|
validateDelegationHistoryArgs,
|
|
66
66
|
validateDelegationStatusArgs
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-N7EJV7N3.js";
|
|
68
68
|
import "../chunk-UD4BHQMI.js";
|
|
69
69
|
import {
|
|
70
70
|
deleteBoxSafe,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
throwAbort,
|
|
73
73
|
throwIfAborted
|
|
74
74
|
} from "../chunk-BZF3KQ6G.js";
|
|
75
|
-
import "../chunk-
|
|
75
|
+
import "../chunk-FVJ7M3DA.js";
|
|
76
76
|
import {
|
|
77
77
|
runLocalHarness
|
|
78
78
|
} from "../chunk-7LO5GMAO.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.89.0",
|
|
4
4
|
"description": "Shared task-lifecycle skeleton for agents: a recursive loop kernel for chat turns, one-shot tasks, and multi-attempt loops, with trace capture and eval-gated self-improvement. Domain behavior lives in adapters; scoring and ship-gates in @tangle-network/agent-eval.",
|
|
5
5
|
"homepage": "https://github.com/tangle-network/agent-runtime#readme",
|
|
6
6
|
"repository": {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
96
|
"@biomejs/biome": "^2.4.15",
|
|
97
|
-
"@tangle-network/agent-eval": "^0.103.
|
|
97
|
+
"@tangle-network/agent-eval": "^0.103.2",
|
|
98
98
|
"@tangle-network/agent-interface": ">=0.14.0 <1.0.0",
|
|
99
99
|
"@tangle-network/sandbox": ">=0.8.0 <1.0.0",
|
|
100
100
|
"@types/node": "^25.9.3",
|