@tangle-network/agent-runtime 0.80.1 → 0.81.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/{chunk-KNZ54YYO.js → chunk-5GCTCLKP.js} +3 -3
- package/dist/{chunk-KELG3Z5H.js → chunk-CA43KLZW.js} +2 -2
- package/dist/{chunk-XRKP3XW3.js → chunk-HUT4RXDJ.js} +2 -2
- package/dist/{chunk-XRKP3XW3.js.map → chunk-HUT4RXDJ.js.map} +1 -1
- package/dist/{chunk-3TAQW75Y.js → chunk-QWLUOITV.js} +78 -14
- package/dist/chunk-QWLUOITV.js.map +1 -0
- package/dist/{chunk-3RAXZ6LB.js → chunk-SN3XBTTH.js} +65 -195
- package/dist/chunk-SN3XBTTH.js.map +1 -0
- package/dist/{chunk-CR5MQUYO.js → chunk-Y47PMSZ7.js} +2 -2
- package/dist/index.js +5 -5
- package/dist/intelligence.js +1 -1
- package/dist/loop-runner-bin.js +4 -4
- package/dist/loops.d.ts +2 -19
- package/dist/loops.js +3 -5
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-3RAXZ6LB.js.map +0 -1
- package/dist/chunk-3TAQW75Y.js.map +0 -1
- /package/dist/{chunk-KNZ54YYO.js.map → chunk-5GCTCLKP.js.map} +0 -0
- /package/dist/{chunk-KELG3Z5H.js.map → chunk-CA43KLZW.js.map} +0 -0
- /package/dist/{chunk-CR5MQUYO.js.map → chunk-Y47PMSZ7.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildLoopOtelSpans,
|
|
3
3
|
createOtelExporter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HUT4RXDJ.js";
|
|
5
5
|
|
|
6
6
|
// src/mcp/trace-propagation.ts
|
|
7
7
|
function readTraceContextFromEnv() {
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
createPropagatingTraceEmitter,
|
|
50
50
|
traceContextToEnv
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=chunk-
|
|
52
|
+
//# sourceMappingURL=chunk-Y47PMSZ7.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-CA43KLZW.js";
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_ROUTER_BASE_URL,
|
|
7
7
|
cleanModelId,
|
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
runLoopRunnerCli,
|
|
21
21
|
selfImproveLoopRunner,
|
|
22
22
|
worktreeLoopRunner
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5GCTCLKP.js";
|
|
24
24
|
import "./chunk-FNMGYYSS.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-SN3XBTTH.js";
|
|
26
26
|
import {
|
|
27
27
|
assertModelAllowed,
|
|
28
28
|
composeRuntimeHooks,
|
|
29
29
|
defineRuntimeHooks,
|
|
30
30
|
notifyRuntimeDecisionPoint,
|
|
31
31
|
notifyRuntimeHookEvent
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-QWLUOITV.js";
|
|
33
33
|
import {
|
|
34
34
|
INTELLIGENCE_WIRE_VERSION,
|
|
35
35
|
buildLoopOtelSpans,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
createOtelExporter,
|
|
38
38
|
exportEvalRuns,
|
|
39
39
|
loopEventToOtelSpan
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-HUT4RXDJ.js";
|
|
41
41
|
import "./chunk-H7IBHAFT.js";
|
|
42
42
|
import "./chunk-C2FZ6GR6.js";
|
|
43
43
|
import "./chunk-4J6RBI3K.js";
|
package/dist/intelligence.js
CHANGED
package/dist/loop-runner-bin.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
parseLoopRunnerArgv,
|
|
4
4
|
runLoopRunnerCli
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5GCTCLKP.js";
|
|
6
6
|
import "./chunk-FNMGYYSS.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-SN3XBTTH.js";
|
|
8
|
+
import "./chunk-QWLUOITV.js";
|
|
9
|
+
import "./chunk-HUT4RXDJ.js";
|
|
10
10
|
import "./chunk-H7IBHAFT.js";
|
|
11
11
|
import "./chunk-C2FZ6GR6.js";
|
|
12
12
|
import "./chunk-4J6RBI3K.js";
|
package/dist/loops.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { d as ResultBlobStore, S as SpawnJournal, N as NodeId, j as SpawnEvent,
|
|
|
6
6
|
export { A as AgentSpec, a as Executor, l as ExecutorContext, m as ExecutorResult, R as Runtime, n as SupervisorOpts, T as TreeView, W as WidenGate } from './types-By9LXllv.js';
|
|
7
7
|
import { ak as MakeWorkerAgent, A as AnalystRegistry, o as CoordinationTools, n as CoordinationEvent, ar as QuestionPolicy, a$ as ExecutorConfig } from './coordination-BI9tpcmF.js';
|
|
8
8
|
export { b0 as BusEvent, b1 as BusRecord, b2 as BusStats, b3 as EventBus, b4 as ProviderSeam, b5 as PublishOptions, b6 as cliWorktreeExecutor, b7 as createEventBus, b8 as createExecutor, b9 as createExecutorRegistry } from './coordination-BI9tpcmF.js';
|
|
9
|
-
import { R as RuntimeHooks,
|
|
9
|
+
import { R as RuntimeHooks, I as Iteration, S as SandboxClient, W as Driver, A as AgentRunSpec, b as OutputAdapter, V as Validator, E as ExecCtx, X as LoopWinner, Y as LoopLineageOptions, Z as LoopResult, L as LoopTokenUsage, a as RuntimeStreamEvent, _ as MountRecorder } from './types-BF-MEsQB.js';
|
|
10
10
|
export { $ as LoopDecisionPayload, a0 as LoopEndedPayload, a1 as LoopIterationDispatchPayload, a2 as LoopIterationEndedPayload, a3 as LoopIterationStartedPayload, a4 as LoopPlanDescription, a5 as LoopPlanPayload, d as LoopSandboxPlacement, a6 as LoopStartedPayload, a7 as LoopTeardownFailedPayload, e as LoopTraceEmitter, c as LoopTraceEvent, a8 as MountManifestEntry, a9 as RunProvenance, aa as SelectionReceipt, ab as ValidationCtx } from './types-BF-MEsQB.js';
|
|
11
11
|
export { AgentEnvironmentProviderRef, AgentEnvironmentProviderRegistry, ProviderAsSandboxClientOptions, ProviderExecutorOptions, SandboxClientProviderOptions, createAgentEnvironmentProviderRegistry, providerAsExecutor, providerAsSandboxClient, resolveAgentEnvironmentProvider, sandboxClientAsProvider } from './environment-provider.js';
|
|
12
12
|
import { C as CorpusRecord, c as Corpus, O as Outcome, S as ScopeAnalyzeInput, d as AssertTraceDerivedFindings, e as SteerContext, f as ScopeAnalyst, F as FanoutOptions, g as CombinatorShape, h as ScopeWidenGate, L as LoopUntilSpec, P as PanelSpec, i as PipelineStage, W as WinnerStrategy, j as FanoutWinnerSelector, V as VerifySpec, k as WidenSpec, l as CorpusFilter, R as RenderCorpusToInstructionsOptions, D as DefinePersonaInput, m as Persona, n as RunPersonifiedOptions, o as ShapeRegistry, p as LoopShape, E as EqualKArm, q as EqualKOnCostOptions, r as EqualKVerdict, T as TrajectoryReportOptions, s as TrajectoryReport } from './worktree-fanout-D9Z2dMS9.js';
|
|
@@ -409,23 +409,6 @@ declare function renderLeaderboardSvg(report: Leaderboard): string;
|
|
|
409
409
|
* matrix as a table. Single file, no assets, opens in any browser. */
|
|
410
410
|
declare function renderLeaderboardHtml(report: Leaderboard): string;
|
|
411
411
|
|
|
412
|
-
interface CliBridgeConfig {
|
|
413
|
-
/** cli-bridge base URL. Defaults to `http://127.0.0.1:3355`. */
|
|
414
|
-
url?: string;
|
|
415
|
-
/** Bearer token the bridge requires (fail loud when empty). */
|
|
416
|
-
bearer: string;
|
|
417
|
-
/** Default harness when a `create({ backend })` override does not set one. */
|
|
418
|
-
harness?: string;
|
|
419
|
-
/** Default model when a `create({ backend })` override does not set one. */
|
|
420
|
-
model?: string;
|
|
421
|
-
}
|
|
422
|
-
/**
|
|
423
|
-
* A `SandboxClient` whose every prompt is one cli-bridge chat completion, metered
|
|
424
|
-
* and driven by the shared `runLoop` kernel. Pass a fixed `harness`/`model`, or omit
|
|
425
|
-
* them and set the target per cell via `create({ backend: { type, model: { model } } })`.
|
|
426
|
-
*/
|
|
427
|
-
declare function cliBridgeSandboxClient(cfg: CliBridgeConfig): SandboxClient;
|
|
428
|
-
|
|
429
412
|
/**
|
|
430
413
|
* @experimental
|
|
431
414
|
*
|
|
@@ -3536,4 +3519,4 @@ declare function runInWorkspace<T>(ws: Workspace, body: (cwd: string) => Promise
|
|
|
3536
3519
|
commitOnInvalid?: boolean;
|
|
3537
3520
|
}): Promise<WorkspaceRun<T>>;
|
|
3538
3521
|
|
|
3539
|
-
export { Agent, AgentRunSpec, 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,
|
|
3522
|
+
export { Agent, AgentRunSpec, 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, CombinatorShape, type CompletionAnalyst, type CompletionEvidence, type CompletionPolicy, type CompletionVerdict, CoordinationEvent, type CoordinationMcpHandle, Corpus, CorpusFilter, CorpusRecord, type CreateScopeAnalystOptions, type CriuCapableClient, DefinePersonaInput, 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 LeaderboardOptions, type LeaderboardRow, 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, ResultBlobStore, RouterConfig, type RunAgenticOptions, RunPersonifiedOptions, type SandboxCapabilities, SandboxClient, type SandboxLineage, type SandboxLineageHandle, type SandboxRun, SandboxRunAbortError, 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 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, completionAuthorizes, contentAddress, createBudgetPool, createInMemoryRunContext, createInbox, createMcpEnvironment, createPushTraceSource, createSandboxLineage, createScope, createScopeAnalyst, createShapeRegistry, createSupervisor, createVerifierEnvironment, createWaterfallCollector, decodeToolPart, defaultAnalystInstruction, defaultAuditorInstruction, defaultDelegateBudget, defaultProfileRichnessThresholds, defaultSelectWinner, defaultToolDetectors, 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, naiveDriver, observe, openSandboxRun, pairwiseSignificance, panel, pickChampion, pipeline, printBenchmarkReport, probeSandboxCapabilities, profileRichnessFinding, promotionGate, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, reportLoopUsage, runAgentic, runBenchmark, runInWorkspace, runLoop, runPersonified, runStrategyEvolution, sample, sampleThenRefine, sandboxSessionTraceSource, selectChampion, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, spendFromUsageEvents, stopSentinel, strategyAuthorContract, sumSandboxUsage, supervise, superviseSurface, supervisorAgent, supervisorInstructions, trajectoryReport, verify, watchTrace, widen, workerFromBackend };
|
package/dist/loops.js
CHANGED
|
@@ -12,7 +12,6 @@ import {
|
|
|
12
12
|
breadthStrategy,
|
|
13
13
|
buildSteerContext,
|
|
14
14
|
builtinShapes,
|
|
15
|
-
cliBridgeSandboxClient,
|
|
16
15
|
completionAuthorizes,
|
|
17
16
|
computeFindingId,
|
|
18
17
|
createMcpEnvironment,
|
|
@@ -86,7 +85,7 @@ import {
|
|
|
86
85
|
watchTrace,
|
|
87
86
|
widen,
|
|
88
87
|
worktreeFanout
|
|
89
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-SN3XBTTH.js";
|
|
90
89
|
import {
|
|
91
90
|
InMemoryResultBlobStore,
|
|
92
91
|
InMemorySpawnJournal,
|
|
@@ -128,8 +127,8 @@ import {
|
|
|
128
127
|
supervisorAgent,
|
|
129
128
|
supervisorInstructions,
|
|
130
129
|
workerFromBackend
|
|
131
|
-
} from "./chunk-
|
|
132
|
-
import "./chunk-
|
|
130
|
+
} from "./chunk-QWLUOITV.js";
|
|
131
|
+
import "./chunk-HUT4RXDJ.js";
|
|
133
132
|
import {
|
|
134
133
|
createAgentEnvironmentProviderRegistry,
|
|
135
134
|
providerAsExecutor,
|
|
@@ -167,7 +166,6 @@ export {
|
|
|
167
166
|
breadthStrategy,
|
|
168
167
|
buildSteerContext,
|
|
169
168
|
builtinShapes,
|
|
170
|
-
cliBridgeSandboxClient,
|
|
171
169
|
cliWorktreeExecutor,
|
|
172
170
|
completionAuthorizes,
|
|
173
171
|
computeFindingId,
|
package/dist/mcp/bin.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readTraceContextFromEnv
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-Y47PMSZ7.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveRouterBaseUrl
|
|
7
7
|
} from "../chunk-GRAGM4MC.js";
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
DelegationTaskQueue,
|
|
10
10
|
FileDelegationStore,
|
|
11
11
|
createMcpServer
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-QWLUOITV.js";
|
|
13
|
+
import "../chunk-HUT4RXDJ.js";
|
|
14
14
|
import "../chunk-H7IBHAFT.js";
|
|
15
15
|
import "../chunk-4J6RBI3K.js";
|
|
16
16
|
import "../chunk-5JAUQZQA.js";
|
package/dist/mcp/index.js
CHANGED
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
createPropagatingTraceEmitter,
|
|
3
3
|
readTraceContextFromEnv,
|
|
4
4
|
traceContextToEnv
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-Y47PMSZ7.js";
|
|
6
6
|
import {
|
|
7
7
|
mcpToolsForRuntimeMcp,
|
|
8
8
|
mcpToolsForRuntimeMcpSubset
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-CA43KLZW.js";
|
|
10
10
|
import {
|
|
11
11
|
createKbGate
|
|
12
12
|
} from "../chunk-FNMGYYSS.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
assertTraceDerivedFindings,
|
|
15
15
|
runCoderChecks,
|
|
16
16
|
selectValidWinner
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-SN3XBTTH.js";
|
|
18
18
|
import {
|
|
19
19
|
DELEGATE_DESCRIPTION,
|
|
20
20
|
DELEGATE_FEEDBACK_DESCRIPTION,
|
|
@@ -64,8 +64,8 @@ import {
|
|
|
64
64
|
validateDelegateUiAuditArgs,
|
|
65
65
|
validateDelegationHistoryArgs,
|
|
66
66
|
validateDelegationStatusArgs
|
|
67
|
-
} from "../chunk-
|
|
68
|
-
import "../chunk-
|
|
67
|
+
} from "../chunk-QWLUOITV.js";
|
|
68
|
+
import "../chunk-HUT4RXDJ.js";
|
|
69
69
|
import {
|
|
70
70
|
deleteBoxSafe,
|
|
71
71
|
sleep,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.81.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": {
|