@tangle-network/agent-runtime 0.177.1 → 0.178.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/{activation-XVI_z1g3.js → activation-BVTPfwty.js} +2 -2
- package/dist/{activation-XVI_z1g3.js.map → activation-BVTPfwty.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{authoring-bXmPNfCI.js → authoring-dQjU4WrH.js} +2 -2
- package/dist/{authoring-bXmPNfCI.js.map → authoring-dQjU4WrH.js.map} +1 -1
- package/dist/conversation.d.ts +1 -1
- package/dist/{coordination-driver-xO1tkxy-.js → coordination-driver-kN2_UQaP.js} +2 -2
- package/dist/{coordination-driver-xO1tkxy-.js.map → coordination-driver-kN2_UQaP.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +1 -1
- package/dist/{environment-provider-5E82esWE.d.ts → environment-provider-ykohtWSr.d.ts} +2 -2
- package/dist/environment-provider.d.ts +1 -1
- package/dist/{graph-DwJXa1Ph.js → graph-CseWAx9q.js} +2 -2
- package/dist/{graph-DwJXa1Ph.js.map → graph-CseWAx9q.js.map} +1 -1
- package/dist/graph.d.ts +3 -3
- package/dist/graph.js +3 -3
- package/dist/{improvement-cycle-eiSv6aH4.js → improvement-cycle-2QG2XXyK.js} +3 -3
- package/dist/{improvement-cycle-eiSv6aH4.js.map → improvement-cycle-2QG2XXyK.js.map} +1 -1
- package/dist/{index-C9XTLVP1.d.ts → index-BL5K-qBf.d.ts} +4 -4
- package/dist/{index-BnAiQVLD.d.ts → index-CKjkp9Uh.d.ts} +5 -5
- package/dist/{index-Bs0uhf-y.d.ts → index-DG48MraH.d.ts} +2 -2
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +4 -4
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +6 -6
- package/dist/kernel.js +8 -8
- package/dist/{knowledge-Bmtj_7u7.js → knowledge-Ycq1urlg.js} +3 -3
- package/dist/{knowledge-Bmtj_7u7.js.map → knowledge-Ycq1urlg.js.map} +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.js +1 -1
- package/dist/{loop-runner-bin-ChS5deJ0.d.ts → loop-runner-bin-Cv8_0WCC.d.ts} +3 -3
- package/dist/{loop-runner-bin-GTN5wqCt.js → loop-runner-bin-DkaB5edJ.js} +3 -3
- package/dist/{loop-runner-bin-GTN5wqCt.js.map → loop-runner-bin-DkaB5edJ.js.map} +1 -1
- package/dist/loop-runner-bin.d.ts +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/index.js +5 -5
- package/dist/{openai-tools-BBj1QGJp.js → openai-tools-Cv1ZVB-e.js} +2 -2
- package/dist/{openai-tools-BBj1QGJp.js.map → openai-tools-Cv1ZVB-e.js.map} +1 -1
- package/dist/primeintellect/index.d.ts +1 -1
- package/dist/{provision-supervisor-zA__ayUX.js → provision-supervisor-B4wOvmpW.js} +3 -3
- package/dist/{provision-supervisor-zA__ayUX.js.map → provision-supervisor-B4wOvmpW.js.map} +1 -1
- package/dist/{redact-DkRLcSiE.d.ts → redact-CptO2wfX.d.ts} +3 -3
- package/dist/{runtime-CJNlF5wM.js → runtime-7W9UYNMN.js} +8 -8
- package/dist/{runtime-CJNlF5wM.js.map → runtime-7W9UYNMN.js.map} +1 -1
- package/dist/{runtime-B2eZ76kG.d.ts → runtime-BhU1Bt3y.d.ts} +3 -3
- package/dist/{stream-agent-turn-ByY8po9W.d.ts → stream-agent-turn-CNyYxEc0.d.ts} +2 -2
- package/dist/{structural-rollout-BeAUK7Ta.js → structural-rollout-BSdSJ_Lr.js} +2 -2
- package/dist/{structural-rollout-BeAUK7Ta.js.map → structural-rollout-BSdSJ_Lr.js.map} +1 -1
- package/dist/{supervise-HsRKOlKY.js → supervise-DMgM9SYN.js} +3 -3
- package/dist/{supervise-HsRKOlKY.js.map → supervise-DMgM9SYN.js.map} +1 -1
- package/dist/{supervisor-ChLgoYhG.js → supervisor-DyDgxgpl.js} +175 -28
- package/dist/{supervisor-ChLgoYhG.js.map → supervisor-DyDgxgpl.js.map} +1 -1
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +12 -12
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-a2ZZUl80.d.ts → types-C6HjIpJ3.d.ts} +15 -3
- package/package.json +4 -4
package/dist/testing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ho as SuperviseTestOptions, Nn as runGraphWithTestBrain, Wo as superviseWithTestBrain, cr as driverAgent, ds as supervisorAgentWithTestBrain, kn as RunGraphTestOptions, ns as SupervisorAgentTestDeps, sr as DriverAgentOptions } from "./index-
|
|
2
|
-
import { bt as ToolLoopChat, yt as ToolLoopCallContext } from "./runtime-
|
|
1
|
+
import { Ho as SuperviseTestOptions, Nn as runGraphWithTestBrain, Wo as superviseWithTestBrain, cr as driverAgent, ds as supervisorAgentWithTestBrain, kn as RunGraphTestOptions, ns as SupervisorAgentTestDeps, sr as DriverAgentOptions } from "./index-CKjkp9Uh.js";
|
|
2
|
+
import { bt as ToolLoopChat, yt as ToolLoopCallContext } from "./runtime-BhU1Bt3y.js";
|
|
3
3
|
import { AgentImprovementProposal, AgentProfile, AgentProfileImprovementMeasuredComparison, SandboxSizePreset } from "@tangle-network/agent-interface";
|
|
4
4
|
//#region src/testing/index.d.ts
|
|
5
5
|
/** A proposal produced by Runtime's opaque profile-improvement path. */
|
package/dist/testing.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ct as immutableCandidateValue, et as parseExactAgentProfile, it as canonicalCandidateDigest$1, q as applyExactAgentProfileDiff } from "./prepare-Tip-2ZoZ.js";
|
|
2
|
-
import { f as verifyAgentImprovementProposal } from "./improvement-cycle-
|
|
3
|
-
import { r as driverAgent } from "./coordination-driver-
|
|
4
|
-
import { c as supervisorAgentWithTestBrain, r as superviseWithTestBrain } from "./supervise-
|
|
5
|
-
import { i as runGraphWithTestBrain } from "./graph-
|
|
2
|
+
import { f as verifyAgentImprovementProposal } from "./improvement-cycle-2QG2XXyK.js";
|
|
3
|
+
import { r as driverAgent } from "./coordination-driver-kN2_UQaP.js";
|
|
4
|
+
import { c as supervisorAgentWithTestBrain, r as superviseWithTestBrain } from "./supervise-DMgM9SYN.js";
|
|
5
|
+
import { i as runGraphWithTestBrain } from "./graph-CseWAx9q.js";
|
|
6
6
|
import { SANDBOX_SIZE_PRESET_NAMES } from "@tangle-network/agent-interface";
|
|
7
7
|
//#region src/testing/fixtures/agent-improvement-proposal.json
|
|
8
8
|
var agent_improvement_proposal_default = {
|
|
9
9
|
changedSurfaces: ["prompt"],
|
|
10
|
-
digest: "sha256:
|
|
10
|
+
digest: "sha256:f23d3533b259c6a1793d4b2bc631145443ff4be7176dba56f3172e00bf7a73bd",
|
|
11
11
|
evaluation: {
|
|
12
12
|
"decision": {
|
|
13
13
|
"contributingChecks": [
|
|
@@ -4578,7 +4578,7 @@ var agent_improvement_proposal_default = {
|
|
|
4578
4578
|
],
|
|
4579
4579
|
"metadata": {
|
|
4580
4580
|
"fixture": "agent-improvement-proposal",
|
|
4581
|
-
"runtimeVersion": "0.
|
|
4581
|
+
"runtimeVersion": "0.178.0"
|
|
4582
4582
|
},
|
|
4583
4583
|
"objectives": [
|
|
4584
4584
|
{
|
|
@@ -4689,8 +4689,8 @@ var agent_improvement_proposal_default = {
|
|
|
4689
4689
|
"baselineContentHash": "sha256:5c21ee53e513fc604cb09754e21c392b24a424da0ef37dbf8f1ee4a8a0b08f09",
|
|
4690
4690
|
"candidateContentHash": "sha256:60fcbb1c728194bd51d7d19cb732d1c3f1881dce7e0a6266b41c8b98cfd65693",
|
|
4691
4691
|
"kind": "agent-eval-loop",
|
|
4692
|
-
"recordDigest": "sha256:
|
|
4693
|
-
"runId": "agent-runtime-0.
|
|
4692
|
+
"recordDigest": "sha256:6ce3df7bd6877501f6c825ff4f70e45a8a83fc4b654253c3c1e5e4c6ec0ed11e",
|
|
4693
|
+
"runId": "agent-runtime-0.178.0-proposal-fixture",
|
|
4694
4694
|
"schema": "agent-candidate-experiment"
|
|
4695
4695
|
}
|
|
4696
4696
|
},
|
|
@@ -4713,13 +4713,13 @@ var agent_improvement_proposal_default = {
|
|
|
4713
4713
|
}],
|
|
4714
4714
|
kind: "agent-improvement-proposal",
|
|
4715
4715
|
proposedAt: "2026-07-10T01:00:00.000Z",
|
|
4716
|
-
runId: "agent-runtime-0.
|
|
4716
|
+
runId: "agent-runtime-0.178.0-proposal-fixture"
|
|
4717
4717
|
};
|
|
4718
4718
|
//#endregion
|
|
4719
4719
|
//#region src/testing/fixtures/agent-profile-improvement-proposal.json
|
|
4720
4720
|
var agent_profile_improvement_proposal_default = {
|
|
4721
4721
|
changedSurfaces: ["prompt", "skills"],
|
|
4722
|
-
digest: "sha256:
|
|
4722
|
+
digest: "sha256:499c21bc6f2781a11c748fee636da5798710ab4bd7296ec50b98b31fe4038ccd",
|
|
4723
4723
|
evaluation: {
|
|
4724
4724
|
"decision": {
|
|
4725
4725
|
"contributingChecks": [
|
|
@@ -6353,7 +6353,7 @@ var agent_profile_improvement_proposal_default = {
|
|
|
6353
6353
|
],
|
|
6354
6354
|
"metadata": {
|
|
6355
6355
|
"fixture": "agent-profile-improvement-proposal",
|
|
6356
|
-
"runtimeVersion": "0.
|
|
6356
|
+
"runtimeVersion": "0.178.0"
|
|
6357
6357
|
},
|
|
6358
6358
|
"objectives": [
|
|
6359
6359
|
{
|
|
@@ -6464,7 +6464,7 @@ var agent_profile_improvement_proposal_default = {
|
|
|
6464
6464
|
"baselineContentHash": "sha256:21c495a37c418c10bde64fbaa188beddeed31f1f051ea60a6a6582a9ee0db704",
|
|
6465
6465
|
"candidateContentHash": "sha256:103f77bc8481601eef1ad5fe6ba84a40dffabc3a44f421f8c8559121edab84e9",
|
|
6466
6466
|
"kind": "agent-eval-loop",
|
|
6467
|
-
"recordDigest": "sha256:
|
|
6467
|
+
"recordDigest": "sha256:78fa93adca59e42cbdd9f17ba877dda09b9f9c12393ece2f3a7637986f042dbe",
|
|
6468
6468
|
"runId": "profile-improvement-1",
|
|
6469
6469
|
"schema": "agent-profile-improvement-experiment"
|
|
6470
6470
|
}
|
package/dist/tui/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { an as provisionSupervisor, in as SupervisorCleanupReceipt, nn as ProvisionSupervisorRequest, rn as ProvisionedSupervisor, tn as ProvisionSupervisorConnection } from "../index-
|
|
1
|
+
import { an as provisionSupervisor, in as SupervisorCleanupReceipt, nn as ProvisionSupervisorRequest, rn as ProvisionedSupervisor, tn as ProvisionSupervisorConnection } from "../index-CKjkp9Uh.js";
|
|
2
2
|
//#region src/tui/top-app.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* The interactive side of the supervisor-run TUI: a keypress/mouse loop over the frames
|
package/dist/tui/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as provisionSupervisor } from "../provision-supervisor-
|
|
1
|
+
import { t as provisionSupervisor } from "../provision-supervisor-B4wOvmpW.js";
|
|
2
2
|
import { a as renderTopFrameWithLayout, i as renderTopFrame, n as runTopApp, r as loadTopSnapshot, t as renderTopOnce } from "../top-app-DIBApkt1.js";
|
|
3
3
|
export { loadTopSnapshot, provisionSupervisor, renderTopFrame, renderTopFrameWithLayout, renderTopOnce, runTopApp };
|
|
@@ -44,9 +44,20 @@ interface RetainedRunCancelOptions {
|
|
|
44
44
|
readonly signal?: AbortSignal;
|
|
45
45
|
}
|
|
46
46
|
/** Runtime controls plus the exact user turn bound into a continuation request. @stable */
|
|
47
|
-
type NativeContextContinuationInput = NativeContextContinuationTurn & Omit<AgentNativeContextContinuationOptions, 'turn'>;
|
|
47
|
+
type NativeContextContinuationInput = NativeContextContinuationTurn & Omit<AgentNativeContextContinuationOptions, 'turn' | 'onAdmission'>;
|
|
48
48
|
/** Result of one verified same-session continuation. @stable */
|
|
49
49
|
type NativeContextContinuationExecution = AgentNativeContextContinuationResult;
|
|
50
|
+
/**
|
|
51
|
+
* Admission and terminal result for one same-session continuation.
|
|
52
|
+
*
|
|
53
|
+
* The provider resolves `admission` after it durably owns the next exact run
|
|
54
|
+
* reference. `result` resolves when that run reaches its terminal result.
|
|
55
|
+
* @stable
|
|
56
|
+
*/
|
|
57
|
+
interface NativeContextContinuationHandle {
|
|
58
|
+
readonly admission: Promise<AgentExactRunControlRef>;
|
|
59
|
+
readonly result: Promise<NativeContextContinuationExecution>;
|
|
60
|
+
}
|
|
50
61
|
/** Reconstructable control of one provider-retained run. @stable */
|
|
51
62
|
interface RetainedRunHandle {
|
|
52
63
|
readonly controlRef: AgentExactRunControlRef;
|
|
@@ -64,6 +75,7 @@ interface RetainedRunHandle {
|
|
|
64
75
|
contextBoundary(options?: {
|
|
65
76
|
signal?: AbortSignal;
|
|
66
77
|
}): Promise<NativeContextBoundaryProof | null>;
|
|
78
|
+
beginNativeContinuation(request: NativeContextContinuationRequest, turn: NativeContextContinuationInput): NativeContextContinuationHandle;
|
|
67
79
|
continueNative(request: NativeContextContinuationRequest, turn: NativeContextContinuationInput): Promise<NativeContextContinuationExecution>;
|
|
68
80
|
cancel(options: RetainedRunCancelOptions): Promise<RetainedRunCancellation>;
|
|
69
81
|
}
|
|
@@ -2513,5 +2525,5 @@ interface WidenGate<Out> {
|
|
|
2513
2525
|
readonly judgeExempt?: boolean;
|
|
2514
2526
|
}
|
|
2515
2527
|
//#endregion
|
|
2516
|
-
export { TreeView as $,
|
|
2517
|
-
//# sourceMappingURL=types-
|
|
2528
|
+
export { TreeView as $, RetainedRunHandle as $n, sanitizeRuntimeStreamEvent as $t, ProviderModelExecutionEvidence as A, RetainedInteractiveEnvironmentInput as An, RuntimeEventOtelOptions as At, Settled as B, RecoverRetainedRunResult as Bn, padTraceId as Bt, NoWinnerError as C, ScopeProgressInput as Cn, EvalRunsExportResult as Ct, NodeStatus as D, ReconnectRetainedInteractiveRunOptions as Dn, OtelExportConfig as Dt, NodeSnapshot as E, readWorkerProgress as En, OtelAttribute as Et, RootMaterialization as F, NativeContextContinuationHandle as Fn, createOtelExporter as Ft, SpawnRejection as G, RetainedRunAdmission as Gn, RuntimeStreamEventSummary as Gt, SpawnJournal as H, RetainedInteractiveEnvironmentAdmission as Hn, RuntimeEventCollector as Ht, RootProviderModelEvidence as I, NativeContextContinuationInput as In, exportEvalRuns as It, SpendGap as J, RetainedRunCancellation as Jn, SanitizedKnowledgeRequirement as Jt, Spend as K, RetainedRunAdmissionHook as Kn, RuntimeTelemetryOptions as Kt, RootSignal as L, ReconnectRetainedRunOptions as Ln, generateSpanId as Lt, ResumedKeyState as M, RetainedInteractiveStartMaterial as Mn, buildLoopSpanNodes as Mt, ResumedWork as N, StartRetainedInteractiveRunOptions as Nn, buildRuntimeEventOtelSpans as Nt, ProfileMaterializationReceipt as O, RecoverRetainedInteractiveRunOptions as On, OtelExporter as Ot, RootHandle as P, NativeContextContinuationExecution as Pn, createOpenInferenceFileExporter as Pt, SupervisorOpts as Q, RetainedRunEventOptions as Qn, sanitizeKnowledgeReadinessReport as Qt, Runtime as R, RecoverRetainedRunIntentOptions as Rn, loopEventToOtelSpan as Rt, MaterializedModelIdentity as S, ExecutorProgress as Sn, EvalRunsExportConfig as St, NodeId as T, createActivityLog as Tn, LoopSpanNode as Tt, SpawnOpts as U, RetainedInteractiveIntentAdmission as Un, RuntimeStreamEventCollector as Ut, SpawnEvent as V, RetainedInteractiveAdmission as Vn, toOtelAttributes as Vt, SpawnPrior as W, RetainedInteractiveStartedAdmission as Wn, RuntimeStreamEventSink as Wt, SupervisedResult as X, RetainedRunEffect as Xn, createRuntimeStreamEventCollector as Xt, SteerableRootHandle as Y, RetainedRunDispatchedAdmission as Yn, createRuntimeEventCollector as Yt, Supervisor as Z, RetainedRunEnvironmentAdmission as Zn, sanitizeAgentRuntimeEvent as Zt, ExecutorRegistry as _, decodeToolPart as _n, mergeTraceEnv as _t, DefaultVerdict as a, WaitSpec as an, StartRetainedRunOptions as ar, WorkerInteractiveSession as at, Handle as b, ActivityNote as bn, EvalRunEvent as bt, ExecutorAccounting as c, pollFor as cn, WorkerTraceUnavailableReason as ct, ExecutorContext as d, waitUntil as dn, readWorkerTraceContext as dt, PendingWait as en, RetainedRunIntentAdmission as er, UnconfirmedTeardown as et, ExecutorExecutionBinding as f, SessionMessageLike as fn, workerTraceEnv as ft, ExecutorProgressEvent as g, createPushTraceSource as gn, createPropagatingTraceEmitter as gt, ExecutorNodeContext as h, TraceSource as hn, TraceContext as ht, Budget as i, WaitRejection as in, StartRetainedRunInEnvironmentOptions as ir, WidenGate as it, ResultBlobStore as j, RetainedInteractiveRunHandle as jn, buildLoopOtelSpans as jt, ProviderModelAttemptEvidence as k, RetainedInteractiveAdmissionHook as kn, OtelSpan as kt, ExecutorCancellation as l, timerAt as ln, WorkerTraceResolver as lt, ExecutorMaterialization as m, ToolStepInput as mn, workerTraceSeamKey as mt, AgentExecutionRef as n, WaitProbe as nn, RetainedRunSnapshot as nr, UsageEvent as nt, ExecutionBindingReceipt as o, createWaitProbes as on, WorkerInteractiveUnavailableReason as ot, ExecutorFactory as p, SessionTraceBox as pn, workerTraceHeaders as pt, SpendChannel as q, RetainedRunCancelOptions as qn, SanitizedKnowledgeReadinessReport as qt, AgentSpec as r, WaitProbeRegistry as rn, RetainedRunStartMaterial as rr, WaitOpts as rt, Executor as s, isWaitOutcome as sn, WorkerTraceEvidence as st, Agent as t, WaitOutcome as tn, RetainedRunReplayPoint as tr, UnknownMaterializationReason as tt, ExecutorCancellationRequest as u, validateWaitSpec as un, WorkerTraceSeamCarrier as ut, ExecutorResult as v, sandboxSessionTraceSource as vn, readTraceContextFromEnv as vt, NodeExecutionIdentity as w, WorkerProgress as wn, INTELLIGENCE_WIRE_VERSION as wt, MaterializedExecutionIdentity as x, DEFAULT_STALL_AFTER_MS as xn, EvalRunGeneration as xt, ExecutorToolCall as y, ActivityLog as yn, traceContextToEnv as yt, Scope as z, RecoverRetainedRunOptions as zn, padSpanId as zt };
|
|
2529
|
+
//# sourceMappingURL=types-C6HjIpJ3.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.178.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": {
|
|
@@ -121,10 +121,10 @@
|
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|
|
123
123
|
"@arethetypeswrong/cli": "0.18.5",
|
|
124
|
-
"@modelcontextprotocol/sdk": "1.30.0",
|
|
125
124
|
"@biomejs/biome": "^2.5.5",
|
|
125
|
+
"@modelcontextprotocol/sdk": "1.30.0",
|
|
126
126
|
"@tangle-network/agent-eval": ">=0.163.2 <0.171.0",
|
|
127
|
-
"@tangle-network/agent-interface": "^1.
|
|
127
|
+
"@tangle-network/agent-interface": "^1.8.0",
|
|
128
128
|
"@tangle-network/sandbox": ">=0.34.0 <0.35.0",
|
|
129
129
|
"@types/node": "26.1.1",
|
|
130
130
|
"@types/tar-stream": "3.1.4",
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"license": "MIT",
|
|
148
148
|
"peerDependencies": {
|
|
149
149
|
"@tangle-network/agent-eval": ">=0.163.2 <0.171.0",
|
|
150
|
-
"@tangle-network/agent-interface": "^1.
|
|
150
|
+
"@tangle-network/agent-interface": "^1.8.0",
|
|
151
151
|
"@tangle-network/sandbox": ">=0.34.0 <0.35.0"
|
|
152
152
|
},
|
|
153
153
|
"peerDependenciesMeta": {
|