@tangle-network/agent-runtime 0.58.0 → 0.59.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 +1 -1
- package/dist/{chunk-MDFZSPHA.js → chunk-45D64J7B.js} +18 -11
- package/dist/chunk-45D64J7B.js.map +1 -0
- package/dist/{chunk-ISVIQDIX.js → chunk-4FEUFYOY.js} +2 -2
- package/dist/{chunk-ZGPQY6Z3.js → chunk-IN7WHMGZ.js} +2 -2
- package/dist/{chunk-E2L6PG5F.js → chunk-MMDIORZY.js} +3 -3
- package/dist/{chunk-VAGARXI5.js → chunk-ZWGEA722.js} +2 -2
- package/dist/{coordination-BydGBQCZ.d.ts → coordination-Biw19JzN.d.ts} +3 -2
- package/dist/index.js +4 -4
- package/dist/loop-runner-bin.js +3 -3
- package/dist/loops.d.ts +1 -1
- package/dist/loops.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +4 -4
- package/dist/runtime.d.ts +8 -4
- package/dist/runtime.js +1 -1
- package/dist/workflow.js +1 -1
- package/package.json +3 -1
- package/dist/chunk-MDFZSPHA.js.map +0 -1
- /package/dist/{chunk-ISVIQDIX.js.map → chunk-4FEUFYOY.js.map} +0 -0
- /package/dist/{chunk-ZGPQY6Z3.js.map → chunk-IN7WHMGZ.js.map} +0 -0
- /package/dist/{chunk-E2L6PG5F.js.map → chunk-MMDIORZY.js.map} +0 -0
- /package/dist/{chunk-VAGARXI5.js.map → chunk-ZWGEA722.js.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
parseDetachedSessionRef,
|
|
6
6
|
runDetachedTurn,
|
|
7
7
|
runLoop
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-45D64J7B.js";
|
|
9
9
|
import {
|
|
10
10
|
coderProfile,
|
|
11
11
|
multiHarnessCoderFanout
|
|
@@ -279,4 +279,4 @@ export {
|
|
|
279
279
|
coderTaskFromArgs,
|
|
280
280
|
settleDetachedCoderTurn
|
|
281
281
|
};
|
|
282
|
-
//# sourceMappingURL=chunk-
|
|
282
|
+
//# sourceMappingURL=chunk-4FEUFYOY.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-FNMGYYSS.js";
|
|
4
4
|
import {
|
|
5
5
|
createDefaultCoderDelegate
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4FEUFYOY.js";
|
|
7
7
|
import {
|
|
8
8
|
runAnalystLoop
|
|
9
9
|
} from "./chunk-P5OKDSLB.js";
|
|
@@ -171,4 +171,4 @@ export {
|
|
|
171
171
|
runLoopRunnerCli,
|
|
172
172
|
parseLoopRunnerArgv
|
|
173
173
|
};
|
|
174
|
-
//# sourceMappingURL=chunk-
|
|
174
|
+
//# sourceMappingURL=chunk-IN7WHMGZ.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createFleetWorkspaceExecutor,
|
|
3
3
|
createSiblingSandboxExecutor
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4FEUFYOY.js";
|
|
5
5
|
import {
|
|
6
6
|
runWorktreeHarness
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-45D64J7B.js";
|
|
8
8
|
import {
|
|
9
9
|
buildLoopOtelSpans,
|
|
10
10
|
createOtelExporter
|
|
@@ -294,4 +294,4 @@ export {
|
|
|
294
294
|
createPropagatingTraceEmitter,
|
|
295
295
|
traceContextToEnv
|
|
296
296
|
};
|
|
297
|
-
//# sourceMappingURL=chunk-
|
|
297
|
+
//# sourceMappingURL=chunk-MMDIORZY.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
DELEGATION_STATUS_DESCRIPTION,
|
|
15
15
|
DELEGATION_STATUS_INPUT_SCHEMA,
|
|
16
16
|
DELEGATION_STATUS_TOOL_NAME
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-45D64J7B.js";
|
|
18
18
|
|
|
19
19
|
// src/mcp/openai-tools.ts
|
|
20
20
|
function buildTool(name, description, parameters) {
|
|
@@ -61,4 +61,4 @@ export {
|
|
|
61
61
|
mcpToolsForRuntimeMcp,
|
|
62
62
|
mcpToolsForRuntimeMcpSubset
|
|
63
63
|
};
|
|
64
|
-
//# sourceMappingURL=chunk-
|
|
64
|
+
//# sourceMappingURL=chunk-ZWGEA722.js.map
|
|
@@ -495,8 +495,9 @@ interface WidenGate<Out> {
|
|
|
495
495
|
* harness exits + the diff is captured, the worktree is removed.
|
|
496
496
|
*
|
|
497
497
|
* All operations spawn `git` via `child_process.spawn` synchronously
|
|
498
|
-
* (via a `runGit` helper). Stays narrow on purpose: no
|
|
499
|
-
*
|
|
498
|
+
* (via a `runGit` helper). Stays narrow on purpose: no commits, no rebases.
|
|
499
|
+
* Diff capture stages all changes (`git add -A`) into the ephemeral worktree's
|
|
500
|
+
* index so created (untracked) files appear in the `--cached` diff.
|
|
500
501
|
*/
|
|
501
502
|
/** @experimental */
|
|
502
503
|
interface WorktreeHandle {
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mcpToolsForRuntimeMcp,
|
|
3
3
|
mcpToolsForRuntimeMcpSubset
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZWGEA722.js";
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_ROUTER_BASE_URL,
|
|
7
7
|
cleanModelId,
|
|
@@ -21,16 +21,16 @@ import {
|
|
|
21
21
|
runDelegatedLoop,
|
|
22
22
|
runLoopRunnerCli,
|
|
23
23
|
selfImproveLoopRunner
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IN7WHMGZ.js";
|
|
25
25
|
import "./chunk-FNMGYYSS.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-4FEUFYOY.js";
|
|
27
27
|
import "./chunk-P5OKDSLB.js";
|
|
28
28
|
import {
|
|
29
29
|
composeRuntimeHooks,
|
|
30
30
|
defineRuntimeHooks,
|
|
31
31
|
notifyRuntimeDecisionPoint,
|
|
32
32
|
notifyRuntimeHookEvent
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-45D64J7B.js";
|
|
34
34
|
import "./chunk-7QYOXFCD.js";
|
|
35
35
|
import "./chunk-WIR4HOOJ.js";
|
|
36
36
|
import {
|
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-IN7WHMGZ.js";
|
|
6
6
|
import "./chunk-FNMGYYSS.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-4FEUFYOY.js";
|
|
8
8
|
import "./chunk-P5OKDSLB.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-45D64J7B.js";
|
|
10
10
|
import "./chunk-7QYOXFCD.js";
|
|
11
11
|
import "./chunk-WIR4HOOJ.js";
|
|
12
12
|
import "./chunk-VLF5RHEQ.js";
|
package/dist/loops.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { AgentProfile, CreateSandboxOptions, SandboxEvent, SandboxInstance } fro
|
|
|
2
2
|
export { AgenticOptions, AgenticRunResult, AgenticSurface, AgenticTask, AgenticTool, AnytimeReport, AnytimeStrategySummary, AnytimeTaskCurve, ArtifactHandle, AssertTraceDerivedFindings, AuditIntentInput, AuditIntentOptions, AuthorStrategyOptions, AuthoredCoderHarness, AuthoredProfile, AuthoredStrategy, BenchmarkCell, BenchmarkConfig, BenchmarkLift, BenchmarkReport, BenchmarkStrategySummary, BenchmarkTaskRow, BridgeSeam, BudgetPool, BudgetReadout, ChampionPick, ChampionPolicy, CheckpointCapableBox, CliSeam, CliWorktreeSeam, CoderDeliverableOptions, CoderWinnerStrategy, CombinatorShape, CompletionAnalyst, CompletionEvidence, CompletionPolicy, CompletionVerdict, CoordinationDriverOptions, CoordinationMcpHandle, Corpus, CorpusFilter, CorpusRecord, CreateScopeAnalystOptions, CriuCapableClient, DefinePersona, DefinePersonaInput, Deliverable, DeliverableSpec, DriverChat, DriverMessage, DriverToolCall, DriverTurn, Environment, EqualKArm, EqualKOnCost, EqualKOnCostOptions, EqualKVerdict, EvolutionArchiveNode, EvolutionAuthor, EvolutionBandInfo, EvolutionCandidate, EvolutionGeneration, EvolutionReport, ExecutorConfig, Fanout, FanoutOptions, FanoutSynthesis, FanoutWinnerSelector, FileCorpus, FileResultBlobStore, FileSpawnJournal, FlatWidenGate, ForkCapableBox, GitWorkspaceOptions, HarvestCorpusOptions, HarvestFailure, HarvestReport, InMemoryCorpus, InMemoryResultBlobStore, InMemorySpawnJournal, Inbox, InboxMessage, IntentAudit, LoopDispatchOptions, LoopOptionsForDispatch, LoopShape, LoopUntil, LoopUntilSpec, LoopUntilState, McpEndpoint, McpEnvironmentOptions, NestedScopeSeam, Observation, ObserveInput, ObserveOptions, OpenSandboxRunOptions, Outcome, Panel, PanelJudge, PanelSpec, PanelVerdict, Persona, PersonaContext, PersonaExecutors, Pipeline, PipelineStage, PromotionGateOptions, PromotionVerdict, RegistryAnalyzeProjection, RenderCorpusToInstructions, RenderCorpusToInstructionsOptions, ReservationTicket, RouterSeam, RouterToolsSeam, RunAgenticOptions, RunPersonified, RunPersonifiedOptions, SandboxCapabilities, SandboxLineage, SandboxLineageHandle, SandboxRun, SandboxSeam, ScopeAnalyst, ScopeAnalyzeInput, ScopeWidenGate, SessionCapableBox, SessionMessageLike, SessionTraceBox, ShapeBudget, ShapeContext, ShapeRegistry, Shell, ShotPersona, ShotSpec, SteerContext, Strategy, StrategyCtx, StrategyEvolutionConfig, StrategyResult, SurfaceScore, ToolPartDecoder, ToolStepInput, TraceSource, TrajectoryAnalysis, TrajectoryNode, TrajectoryReport, TrajectoryReportFn, TrajectoryReportOptions, TurnResult, UsageSink, VerifierEnvironmentOptions, Verify, VerifySpec, WatchTraceOptions, WaterfallCollector, WaterfallReport, WaterfallSpan, Widen, WidenDecision, WidenLineage, WidenSpec, Workspace, WorkspaceCommit, WorkspaceRun, WorktreeCliExecutorOptions, WorktreeCoderFanoutOptions, WorktreeCommandResult, WorktreePatchArtifact, acquireSandbox, adaptiveRefine, analyzeTrace, anytimeReport, asAuthoredProfile, assertStrategyContract, assertTraceDerivedFindings, auditIntent, authorStrategy, authoredWorker, breadthDriver, buildSteerContext, builtinShapes, cliWorktreeExecutor, coderDeliverable, completionAuthorizes, contentAddress, coordinationDriverAgent, createBudgetPool, createExecutor, createExecutorRegistry, createInbox, createMcpEnvironment, createPartsTraceSource, createPushTraceSource, createRootHandle, createSandboxLineage, createScope, createScopeAnalyst, createShapeRegistry, createSupervisor, createVerifierEnvironment, createWaterfallCollector, createWorktreeCliExecutor, decodeAnthropicPart, decodeOpenAiPart, decodeOpencodePart, decodeToolPart, defaultAnalystInstruction, defaultAuditorInstruction, defaultToolDetectors, definePersona, defineStrategy, depthDriver, deterministicCompletion, discriminatingMeans, driverChild, driverExecutorFactory, driverRuntime, equalKOnCost, extractLlmCallEvent, fanout, flatWidenGate, gateOnDeliverable, gitWorkspace, harvestCorpus, inlineSandboxClient, isDriverSpec, jjWorkspace, localShell, loopDispatch, loopUntil, mapSandboxEvent, materializeTreeView, nestedScopeSeamKey, observe, openSandboxRun, panel, pickChampion, pipeline, printBenchmarkReport, probeSandboxCapabilities, promotionGate, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderReport, replaySpawnTree, reportLoopUsage, routerDriverChat, runAgentic, runBenchmark, runInWorkspace, runPersonified, runStrategyEvolution, sample, sampleThenRefine, sandboxSessionTraceSource, selectChampion, sentinelCompletion, serveCoordinationMcp, settledToIteration, spendFromUsageEvents, stopSentinel, strategyAuthorContract, supervisorSkill, toToolSpan, toolPartDecoders, trajectoryReport, verify, watchTrace, widen, withDriverExecutor, worktreeCoderFanout } from './runtime.js';
|
|
3
3
|
export { a as RouterChatResult, b as RouterChatToolsResult, R as RouterConfig, c as RouterToolCall, d as RouterToolLoopResult, T as ToolSpec, r as routerChatWithTools, e as routerChatWithUsage, f as routerToolLoop } from './router-client-30Y_pca8.js';
|
|
4
4
|
export { R as RunLoopOptions, c as createSandboxForSpec, d as defaultSelectWinner, r as runLoop } from './run-loop-CcqfR_gy.js';
|
|
5
|
-
export { z as Agent, y as AgentSpec, B as Budget, Y as BusEvent, Z as BusRecord, _ as BusStats, $ as EventBus, U as Executor, a0 as ExecutorContext, P as ExecutorFactory, E as ExecutorRegistry, a1 as ExecutorResult, a2 as Handle, N as NodeId, a3 as NodeSnapshot, a4 as NodeStatus, a5 as PublishOptions, a6 as Restart, u as ResultBlobStore, H as RootHandle, a7 as RootSignal, a8 as Runtime, O as Scope, x as Settled, w as SpawnEvent, v as SpawnJournal, a9 as SpawnOpts, L as Spend, K as SupervisedResult, X as Supervisor, aa as SupervisorOpts, T as TreeView, V as UsageEvent, ab as WidenGate, ac as createEventBus } from './coordination-
|
|
5
|
+
export { z as Agent, y as AgentSpec, B as Budget, Y as BusEvent, Z as BusRecord, _ as BusStats, $ as EventBus, U as Executor, a0 as ExecutorContext, P as ExecutorFactory, E as ExecutorRegistry, a1 as ExecutorResult, a2 as Handle, N as NodeId, a3 as NodeSnapshot, a4 as NodeStatus, a5 as PublishOptions, a6 as Restart, u as ResultBlobStore, H as RootHandle, a7 as RootSignal, a8 as Runtime, O as Scope, x as Settled, w as SpawnEvent, v as SpawnJournal, a9 as SpawnOpts, L as Spend, K as SupervisedResult, X as Supervisor, aa as SupervisorOpts, T as TreeView, V as UsageEvent, ab as WidenGate, ac as createEventBus } from './coordination-Biw19JzN.js';
|
|
6
6
|
export { A as AgentRunSpec, D as Driver, E as ExecCtx, I as Iteration, F as LoopDecisionPayload, G as LoopEndedPayload, H as LoopIterationDispatchPayload, J as LoopIterationEndedPayload, M as LoopIterationStartedPayload, a as LoopLineageOptions, N as LoopPlanDescription, P as LoopPlanPayload, b as LoopResult, f as LoopSandboxPlacement, Q as LoopStartedPayload, T as LoopTeardownFailedPayload, e as LoopTokenUsage, g as LoopTraceEmitter, d as LoopTraceEvent, L as LoopWinner, O as OutputAdapter, S as SandboxClient, U as ValidationCtx, V as Validator } from './types-CUzjRFZ3.js';
|
|
7
7
|
export { DefaultVerdict } from '@tangle-network/agent-eval';
|
|
8
8
|
import './runtime-hooks-C7JwKb9E.js';
|
package/dist/loops.js
CHANGED
package/dist/mcp/bin.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createPropagatingTraceEmitter,
|
|
4
4
|
detectExecutor,
|
|
5
5
|
readTraceContextFromEnv
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-MMDIORZY.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveRouterBaseUrl
|
|
9
9
|
} from "../chunk-GRAGM4MC.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
coderTaskFromArgs,
|
|
12
12
|
createDefaultCoderDelegate,
|
|
13
13
|
settleDetachedCoderTurn
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-4FEUFYOY.js";
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_SANDBOX_BASE_URL
|
|
17
17
|
} from "../chunk-XRYEZPR6.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
parseDetachedSessionRef,
|
|
27
27
|
runDetachedTurn,
|
|
28
28
|
runLoop
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-45D64J7B.js";
|
|
30
30
|
import {
|
|
31
31
|
coderProfile
|
|
32
32
|
} from "../chunk-7QYOXFCD.js";
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { S as SandboxClient, f as LoopSandboxPlacement } from '../types-CUzjRFZ3
|
|
|
2
2
|
import { F as FleetHandle, f as DelegationExecutor, d as DelegationTaskQueue, e as CoderDelegate, D as DelegateCodeArgs, g as DelegateCodeResult, h as DelegateFeedbackResult, b as DelegateFeedbackArgs, i as ResearchSource, R as ResearcherDelegate, j as DelegateResearchArgs, k as DelegateResearchResult, U as UiAuditorDelegate, l as DelegateUiAuditArgs, m as DelegateUiAuditResult, n as DelegationHistoryResult, o as DelegationHistoryArgs, p as DelegationStatusResult, q as DelegationStatusArgs } from '../delegates-C94qchkz.js';
|
|
3
3
|
export { r as CappedDelegationTrace, s as CoderReview, C as CoderReviewer, a as CoderWinnerSelection, t as CreateDefaultCoderDelegateOptions, u as DELEGATION_TRACE_MAX_BYTES, v as DELEGATION_TRACE_MAX_SPANS, w as DelegateCodeConfig, x as DelegateResearchConfig, y as DelegateRunCtx, z as DelegateUiAuditConfig, A as DelegateUiAuditRoute, B as DelegationError, c as DelegationFeedbackSnapshot, E as DelegationHistoryEntry, G as DelegationPersistenceError, H as DelegationProfile, I as DelegationProgress, J as DelegationRecord, K as DelegationResultPayload, L as DelegationResumeContext, M as DelegationResumeDriver, N as DelegationResumeTick, O as DelegationRunContext, P as DelegationStateCorruptError, Q as DelegationStatus, S as DelegationStore, V as DelegationTaskQueueOptions, W as DelegationTraceCaps, X as DelegationTraceCollector, Y as DelegationTraceSpan, Z as DetachedSessionRefParts, _ as DetachedTurn, $ as DriveTurnCapableBox, a0 as DriveTurnResumeDriverOptions, a1 as DriveTurnTick, a2 as FeedbackRating, a3 as FeedbackRefersTo, a4 as FileDelegationStore, a5 as FileDelegationStoreOptions, a6 as FleetWorkspaceExecutorOptions, a7 as InMemoryDelegationStore, a8 as ResearchOutputShape, a9 as RunDetachedTurnOptions, aa as SettleDetachedCoderTurnOptions, ab as SiblingSandboxExecutorOptions, ac as SubmitInput, ad as SubmitOutput, T as TraceContext, ae as UiAuditorDelegationOutput, af as buildDelegationTraceSpans, ag as capDelegationTrace, ah as coderTaskFromArgs, ai as composeLoopTraceEmitters, aj as createDefaultCoderDelegate, ak as createDelegationTraceCollector, al as createDriveTurnResumeDriver, am as createFleetWorkspaceExecutor, an as createPropagatingTraceEmitter, ao as createSiblingSandboxExecutor, ap as detachedTurnEvents, aq as formatDetachedSessionRef, ar as hashIdempotencyInput, as as parseDetachedSessionRef, at as readTraceContextFromEnv, au as runDetachedTurn, av as settleDetachedCoderTurn, aw as traceContextToEnv } from '../delegates-C94qchkz.js';
|
|
4
4
|
export { B as BuildDelegationMcpServerOptions, C as ComposeProductionAgentProfileOptions, D as DELEGATION_MCP_SERVER_KEY, b as buildDelegationMcpServer, c as composeProductionAgentProfile } from '../delegation-profile-Bvfro2m1.js';
|
|
5
|
-
import { G as GitRunner, F as FeedbackStore } from '../coordination-
|
|
6
|
-
export { A as AnalystRegistry, C as CoordinationEvent, a as CoordinationTools, b as CoordinationToolsOptions, c as CreateWorktreeOptions, D as DiffOptions, d as DiffResult, e as FeedbackEvent, I as InMemoryFeedbackStore, J as JsonRpcMessage, f as JsonRpcResponse, M as MakeWorkerAgent, g as McpServer, h as McpServerOptions, i as McpToolDescriptor, j as McpTransport, Q as Question, k as QuestionDecision, l as QuestionPolicy, m as QuestionRecord, R as RemoveWorktreeOptions, S as SettledWorker, W as WorktreeHandle, n as captureWorktreeDiff, o as createCoordinationTools, p as createInProcessTransport, q as createMcpServer, r as createWorktree, s as eventToSnapshot, t as removeWorktree } from '../coordination-
|
|
5
|
+
import { G as GitRunner, F as FeedbackStore } from '../coordination-Biw19JzN.js';
|
|
6
|
+
export { A as AnalystRegistry, C as CoordinationEvent, a as CoordinationTools, b as CoordinationToolsOptions, c as CreateWorktreeOptions, D as DiffOptions, d as DiffResult, e as FeedbackEvent, I as InMemoryFeedbackStore, J as JsonRpcMessage, f as JsonRpcResponse, M as MakeWorkerAgent, g as McpServer, h as McpServerOptions, i as McpToolDescriptor, j as McpTransport, Q as Question, k as QuestionDecision, l as QuestionPolicy, m as QuestionRecord, R as RemoveWorktreeOptions, S as SettledWorker, W as WorktreeHandle, n as captureWorktreeDiff, o as createCoordinationTools, p as createInProcessTransport, q as createMcpServer, r as createWorktree, s as eventToSnapshot, t as removeWorktree } from '../coordination-Biw19JzN.js';
|
|
7
7
|
import { L as LocalHarness, r as runLocalHarness } from '../local-harness-BE_h8szs.js';
|
|
8
8
|
export { a as LocalHarnessResult, R as RunLocalHarnessOptions } from '../local-harness-BE_h8szs.js';
|
|
9
9
|
export { C as CreateKbGateOptions, F as FactCandidate, a as FactJudge, b as FactJudgeVerdict, K as KbGateResult, c as createKbGate } from '../kb-gate-CuzMYGYM.js';
|
package/dist/mcp/index.js
CHANGED
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
detectExecutor,
|
|
5
5
|
readTraceContextFromEnv,
|
|
6
6
|
traceContextToEnv
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-MMDIORZY.js";
|
|
8
8
|
import {
|
|
9
9
|
mcpToolsForRuntimeMcp,
|
|
10
10
|
mcpToolsForRuntimeMcpSubset
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-ZWGEA722.js";
|
|
12
12
|
import {
|
|
13
13
|
createKbGate
|
|
14
14
|
} from "../chunk-FNMGYYSS.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
createFleetWorkspaceExecutor,
|
|
19
19
|
createSiblingSandboxExecutor,
|
|
20
20
|
settleDetachedCoderTurn
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-4FEUFYOY.js";
|
|
22
22
|
import {
|
|
23
23
|
DELEGATION_MCP_SERVER_KEY,
|
|
24
24
|
buildDelegationMcpServer,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
validateDelegateUiAuditArgs,
|
|
82
82
|
validateDelegationHistoryArgs,
|
|
83
83
|
validateDelegationStatusArgs
|
|
84
|
-
} from "../chunk-
|
|
84
|
+
} from "../chunk-45D64J7B.js";
|
|
85
85
|
import "../chunk-7QYOXFCD.js";
|
|
86
86
|
import "../chunk-WIR4HOOJ.js";
|
|
87
87
|
import "../chunk-VLF5RHEQ.js";
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AgentProfile, BackendType, CreateSandboxOptions, SandboxInstance, SandboxEvent } from '@tangle-network/sandbox';
|
|
2
2
|
export { AgentProfile, CreateSandboxOptions, SandboxEvent, SandboxInstance } from '@tangle-network/sandbox';
|
|
3
|
-
import { u as ResultBlobStore, v as SpawnJournal, N as NodeId, w as SpawnEvent, T as TreeView, x as Settled, y as AgentSpec, E as ExecutorRegistry, B as Budget, z as Agent, H as RootHandle, K as SupervisedResult, L as Spend, O as Scope, P as ExecutorFactory, U as Executor, V as UsageEvent, G as GitRunner, M as MakeWorkerAgent, a as CoordinationTools, A as AnalystRegistry, C as CoordinationEvent, l as QuestionPolicy, X as Supervisor } from './coordination-
|
|
4
|
-
export { Y as BusEvent, Z as BusRecord, _ as BusStats, $ as EventBus, a0 as ExecutorContext, a1 as ExecutorResult, a2 as Handle, a3 as NodeSnapshot, a4 as NodeStatus, a5 as PublishOptions, a6 as Restart, a7 as RootSignal, a8 as Runtime, a9 as SpawnOpts, aa as SupervisorOpts, ab as WidenGate, ac as createEventBus } from './coordination-
|
|
3
|
+
import { u as ResultBlobStore, v as SpawnJournal, N as NodeId, w as SpawnEvent, T as TreeView, x as Settled, y as AgentSpec, E as ExecutorRegistry, B as Budget, z as Agent, H as RootHandle, K as SupervisedResult, L as Spend, O as Scope, P as ExecutorFactory, U as Executor, V as UsageEvent, G as GitRunner, M as MakeWorkerAgent, a as CoordinationTools, A as AnalystRegistry, C as CoordinationEvent, l as QuestionPolicy, X as Supervisor } from './coordination-Biw19JzN.js';
|
|
4
|
+
export { Y as BusEvent, Z as BusRecord, _ as BusStats, $ as EventBus, a0 as ExecutorContext, a1 as ExecutorResult, a2 as Handle, a3 as NodeSnapshot, a4 as NodeStatus, a5 as PublishOptions, a6 as Restart, a7 as RootSignal, a8 as Runtime, a9 as SpawnOpts, aa as SupervisorOpts, ab as WidenGate, ac as createEventBus } from './coordination-Biw19JzN.js';
|
|
5
5
|
import { R as RuntimeHooks } from './runtime-hooks-C7JwKb9E.js';
|
|
6
6
|
import { ChatClient, AnalystFinding, DefaultVerdict, AgentProfile as AgentProfile$1, AnalystRunInputs, ToolSpan, StreamingDetector, DetectorSignal, buildTrajectory } from '@tangle-network/agent-eval';
|
|
7
7
|
export { DefaultVerdict } from '@tangle-network/agent-eval';
|
|
@@ -3421,8 +3421,12 @@ declare function toToolSpan(input: ToolStepInput, runId: string, seq: number, at
|
|
|
3421
3421
|
* call. ONE adapter per harness family — each owns its real wire shape; the flow downstream is
|
|
3422
3422
|
* identical. Add a harness = add a decoder + register it; no other code changes. */
|
|
3423
3423
|
type ToolPartDecoder = (part: Record<string, unknown>) => ToolStepInput | undefined;
|
|
3424
|
-
/** opencode
|
|
3425
|
-
*
|
|
3424
|
+
/** opencode parts ARE agent-interface's canonical `ToolPart` (`{ type:'tool', tool, callID?,
|
|
3425
|
+
* state: ToolState }`) — the shape every adc sdk-provider normalizes its harness output into. We
|
|
3426
|
+
* decode against that published type (single source of truth) rather than a re-derived shape; the
|
|
3427
|
+
* `ToolState` union drives the status mapping, so a status that adc adds/renames is a compile error
|
|
3428
|
+
* here, not a silent miss. The same call streams pending→running→terminal; only a terminal state
|
|
3429
|
+
* (`completed` / `error` / `failed`) is a finished call. */
|
|
3426
3430
|
declare const decodeOpencodePart: ToolPartDecoder;
|
|
3427
3431
|
/** Anthropic / claude-code (also kimi's tool_use variant): a `{ type:'tool_use', id|tool_use_id,
|
|
3428
3432
|
* name|tool, input }` content block. CONFIRMED against the cli-bridge's authoritative parsers
|
package/dist/runtime.js
CHANGED
package/dist/workflow.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.59.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": {
|
|
@@ -107,6 +107,7 @@
|
|
|
107
107
|
"devDependencies": {
|
|
108
108
|
"@biomejs/biome": "^2.4.15",
|
|
109
109
|
"@tangle-network/agent-eval": "^0.93.0",
|
|
110
|
+
"@tangle-network/agent-interface": "^0.4.0",
|
|
110
111
|
"@tangle-network/sandbox": "^0.6.0",
|
|
111
112
|
"@types/node": "^25.9.3",
|
|
112
113
|
"playwright": "^1.61.0",
|
|
@@ -118,6 +119,7 @@
|
|
|
118
119
|
"minimumReleaseAge": 4320,
|
|
119
120
|
"minimumReleaseAgeExclude": [
|
|
120
121
|
"@tangle-network/agent-eval",
|
|
122
|
+
"@tangle-network/agent-interface",
|
|
121
123
|
"@tangle-network/sandbox"
|
|
122
124
|
],
|
|
123
125
|
"onlyBuiltDependencies": [
|