@tangle-network/agent-runtime 0.215.0 → 0.216.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-r96R8a7k.d.ts → activation-B5ssx8dt.d.ts} +2 -2
- package/dist/{activation-C3j9bpRf.js → activation-DKYeOZqa.js} +2 -2
- package/dist/{activation-C3j9bpRf.js.map → activation-DKYeOZqa.js.map} +1 -1
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-CBhPSKpm.js → coordination-driver-C2FneHgw.js} +2 -2
- package/dist/{coordination-driver-CBhPSKpm.js.map → coordination-driver-C2FneHgw.js.map} +1 -1
- package/dist/{delegate-BF6AsLV5.js → delegate-DpF6PLb3.js} +2 -2
- package/dist/{delegate-BF6AsLV5.js.map → delegate-DpF6PLb3.js.map} +1 -1
- package/dist/durable.d.ts +8 -2
- package/dist/durable.js +8 -2
- package/dist/durable.js.map +1 -1
- package/dist/{graph-DVWDJ5DJ.js → graph-BMJ-hMOB.js} +3 -3
- package/dist/{graph-DVWDJ5DJ.js.map → graph-BMJ-hMOB.js.map} +1 -1
- package/dist/{improvement-cycle-CKe5gF3i.js → improvement-cycle-BbGmeW9g.js} +3 -3
- package/dist/{improvement-cycle-CKe5gF3i.js.map → improvement-cycle-BbGmeW9g.js.map} +1 -1
- package/dist/{index-BxIucF40.d.ts → index-BIW3SWog.d.ts} +4 -4
- package/dist/index.d.ts +6 -6
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +3 -3
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +3 -3
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-ch9YJoIH.js → loop-runner-bin-DB10tHvj.js} +3 -3
- package/dist/{loop-runner-bin-ch9YJoIH.js.map → loop-runner-bin-DB10tHvj.js.map} +1 -1
- package/dist/{loop-runner-bin-Bz0RR-dg.d.ts → loop-runner-bin-kAFDA0CY.d.ts} +3 -3
- 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 +5 -5
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-CRQhVT_V.d.ts → openai-tools-HhRT1L1W.d.ts} +2 -2
- package/dist/profiles.d.ts +2 -2
- package/dist/{provision-supervisor-TQ8l6cE_.js → provision-supervisor-B8ViAmnR.js} +3 -3
- package/dist/{provision-supervisor-TQ8l6cE_.js.map → provision-supervisor-B8ViAmnR.js.map} +1 -1
- package/dist/{redact-Fngk47qa.js → redact-DyckXHLF.js} +9 -3
- package/dist/redact-DyckXHLF.js.map +1 -0
- package/dist/{runtime-C-pQoEnJ.js → runtime-DU3-YfpU.js} +8 -8
- package/dist/{runtime-C-pQoEnJ.js.map → runtime-DU3-YfpU.js.map} +1 -1
- package/dist/{server-BGd-jpIR.js → server-CrvRwD6b.js} +3 -3
- package/dist/{server-BGd-jpIR.js.map → server-CrvRwD6b.js.map} +1 -1
- package/dist/{stream-agent-turn-B7YnjmXV.d.ts → stream-agent-turn-uwQd_pqM.d.ts} +2 -2
- package/dist/{structural-rollout-BfgSgWof.js → structural-rollout-BlIso-lM.js} +2 -2
- package/dist/{structural-rollout-BfgSgWof.js.map → structural-rollout-BlIso-lM.js.map} +1 -1
- package/dist/{substrate-B4iT90Zv.d.ts → substrate-sWW5cDIe.d.ts} +2 -2
- package/dist/{supervise-C03W52y5.js → supervise-DVM_yQyh.js} +3 -3
- package/dist/{supervise-C03W52y5.js.map → supervise-DVM_yQyh.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-Q0PMagdm.d.ts → types-Ba5mJkyd.d.ts} +13 -1
- package/package.json +1 -1
- package/dist/redact-Fngk47qa.js.map +0 -1
package/dist/testing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $a as SuperviseTestOptions, $t as runGraphWithTestBrain, Ao as supervisorAgentWithTestBrain, Tn as driverAgent, Yt as RunGraphTestOptions, to as superviseWithTestBrain, wn as DriverAgentOptions, xo as SupervisorAgentTestDeps } from "./index-
|
|
2
|
-
import { En as ToolLoopChat, Tn as ToolLoopCallContext } from "./stream-agent-turn-
|
|
1
|
+
import { $a as SuperviseTestOptions, $t as runGraphWithTestBrain, Ao as supervisorAgentWithTestBrain, Tn as driverAgent, Yt as RunGraphTestOptions, to as superviseWithTestBrain, wn as DriverAgentOptions, xo as SupervisorAgentTestDeps } from "./index-BIW3SWog.js";
|
|
2
|
+
import { En as ToolLoopChat, Tn as ToolLoopCallContext } from "./stream-agent-turn-uwQd_pqM.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,14 +1,14 @@
|
|
|
1
|
-
import { f as verifyAgentImprovementProposal } from "./improvement-cycle-
|
|
1
|
+
import { f as verifyAgentImprovementProposal } from "./improvement-cycle-BbGmeW9g.js";
|
|
2
2
|
import { o as canonicalCandidateDigest$1, u as immutableCandidateValue } from "./protected-redaction-wGo44k2K.js";
|
|
3
3
|
import { M as parseExactAgentProfile, w as applyExactAgentProfileDiff } from "./prepare-Dc30WRB0.js";
|
|
4
|
-
import { p as supervisorAgentWithTestBrain, r as superviseWithTestBrain } from "./supervise-
|
|
5
|
-
import { r as driverAgent } from "./coordination-driver-
|
|
6
|
-
import { i as runGraphWithTestBrain } from "./graph-
|
|
4
|
+
import { p as supervisorAgentWithTestBrain, r as superviseWithTestBrain } from "./supervise-DVM_yQyh.js";
|
|
5
|
+
import { r as driverAgent } from "./coordination-driver-C2FneHgw.js";
|
|
6
|
+
import { i as runGraphWithTestBrain } from "./graph-BMJ-hMOB.js";
|
|
7
7
|
import { SANDBOX_SIZE_PRESET_NAMES } from "@tangle-network/agent-interface";
|
|
8
8
|
//#region src/testing/fixtures/agent-improvement-proposal.json
|
|
9
9
|
var agent_improvement_proposal_default = {
|
|
10
10
|
changedSurfaces: ["prompt"],
|
|
11
|
-
digest: "sha256:
|
|
11
|
+
digest: "sha256:cc5ee5b8cc2015ad99204d729011eb41a15d76fffd1d5fa5ef87e9d1ffc55d96",
|
|
12
12
|
evaluation: {
|
|
13
13
|
"decision": {
|
|
14
14
|
"contributingChecks": [
|
|
@@ -4579,7 +4579,7 @@ var agent_improvement_proposal_default = {
|
|
|
4579
4579
|
],
|
|
4580
4580
|
"metadata": {
|
|
4581
4581
|
"fixture": "agent-improvement-proposal",
|
|
4582
|
-
"runtimeVersion": "0.
|
|
4582
|
+
"runtimeVersion": "0.216.0"
|
|
4583
4583
|
},
|
|
4584
4584
|
"objectives": [
|
|
4585
4585
|
{
|
|
@@ -4690,8 +4690,8 @@ var agent_improvement_proposal_default = {
|
|
|
4690
4690
|
"baselineContentHash": "sha256:5c21ee53e513fc604cb09754e21c392b24a424da0ef37dbf8f1ee4a8a0b08f09",
|
|
4691
4691
|
"candidateContentHash": "sha256:60fcbb1c728194bd51d7d19cb732d1c3f1881dce7e0a6266b41c8b98cfd65693",
|
|
4692
4692
|
"kind": "agent-eval-loop",
|
|
4693
|
-
"recordDigest": "sha256:
|
|
4694
|
-
"runId": "agent-runtime-0.
|
|
4693
|
+
"recordDigest": "sha256:475bd7945cfe8c4d711f3a7d79fd44c8ee84ac73a3eb6a10ab769d7b74f34a05",
|
|
4694
|
+
"runId": "agent-runtime-0.216.0-proposal-fixture",
|
|
4695
4695
|
"schema": "agent-candidate-experiment"
|
|
4696
4696
|
}
|
|
4697
4697
|
},
|
|
@@ -4714,13 +4714,13 @@ var agent_improvement_proposal_default = {
|
|
|
4714
4714
|
}],
|
|
4715
4715
|
kind: "agent-improvement-proposal",
|
|
4716
4716
|
proposedAt: "2026-07-10T01:00:00.000Z",
|
|
4717
|
-
runId: "agent-runtime-0.
|
|
4717
|
+
runId: "agent-runtime-0.216.0-proposal-fixture"
|
|
4718
4718
|
};
|
|
4719
4719
|
//#endregion
|
|
4720
4720
|
//#region src/testing/fixtures/agent-profile-improvement-proposal.json
|
|
4721
4721
|
var agent_profile_improvement_proposal_default = {
|
|
4722
4722
|
changedSurfaces: ["prompt", "skills"],
|
|
4723
|
-
digest: "sha256:
|
|
4723
|
+
digest: "sha256:ca79a4342e47b309b84836b6deded31fb51520d41f4b839472af99784daa9eca",
|
|
4724
4724
|
evaluation: {
|
|
4725
4725
|
"decision": {
|
|
4726
4726
|
"contributingChecks": [
|
|
@@ -6354,7 +6354,7 @@ var agent_profile_improvement_proposal_default = {
|
|
|
6354
6354
|
],
|
|
6355
6355
|
"metadata": {
|
|
6356
6356
|
"fixture": "agent-profile-improvement-proposal",
|
|
6357
|
-
"runtimeVersion": "0.
|
|
6357
|
+
"runtimeVersion": "0.216.0"
|
|
6358
6358
|
},
|
|
6359
6359
|
"objectives": [
|
|
6360
6360
|
{
|
|
@@ -6465,7 +6465,7 @@ var agent_profile_improvement_proposal_default = {
|
|
|
6465
6465
|
"baselineContentHash": "sha256:21c495a37c418c10bde64fbaa188beddeed31f1f051ea60a6a6582a9ee0db704",
|
|
6466
6466
|
"candidateContentHash": "sha256:103f77bc8481601eef1ad5fe6ba84a40dffabc3a44f421f8c8559121edab84e9",
|
|
6467
6467
|
"kind": "agent-eval-loop",
|
|
6468
|
-
"recordDigest": "sha256:
|
|
6468
|
+
"recordDigest": "sha256:94e79e0bad096e4d0d5d9459f46f85589d00a584f9fde10cad2d0068bd9d3bc9",
|
|
6469
6469
|
"runId": "profile-improvement-1",
|
|
6470
6470
|
"schema": "agent-profile-improvement-experiment"
|
|
6471
6471
|
}
|
package/dist/tui/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as ProvisionedSupervisor, St as ProvisionSupervisorRequest, Tt as provisionSupervisor, wt as SupervisorCleanupReceipt, xt as ProvisionSupervisorConnection } from "../index-
|
|
1
|
+
import { Ct as ProvisionedSupervisor, St as ProvisionSupervisorRequest, Tt as provisionSupervisor, wt as SupervisorCleanupReceipt, xt as ProvisionSupervisorConnection } from "../index-BIW3SWog.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-B8ViAmnR.js";
|
|
2
2
|
import { a as renderTopFrameWithLayout, i as renderTopFrame, n as runTopApp, r as loadTopSnapshot, t as renderTopOnce } from "../top-app-CMMd8DgR.js";
|
|
3
3
|
export { loadTopSnapshot, provisionSupervisor, renderTopFrame, renderTopFrameWithLayout, renderTopOnce, runTopApp };
|
|
@@ -825,6 +825,15 @@ interface Iteration<Task, Output> {
|
|
|
825
825
|
costUsd: number;
|
|
826
826
|
/** False when `costUsd` is only the observed subtotal, not a complete bill. */
|
|
827
827
|
costUsdKnown?: false;
|
|
828
|
+
/**
|
|
829
|
+
* The part of `costUsd` that came from calls carrying no billing receipt, summed per call.
|
|
830
|
+
*
|
|
831
|
+
* `costUsdKnown` is an AND over the iteration, so it cannot say HOW MUCH of the total is
|
|
832
|
+
* unproven: one receiptless call marks the whole iteration unknown. This is the amount that
|
|
833
|
+
* belongs on `Spend.usdEstimated`, which keeps `usd - usdEstimated` reading as billed money on
|
|
834
|
+
* a settlement that mixed both kinds. Absent when every dollar here carried a receipt.
|
|
835
|
+
*/
|
|
836
|
+
unprovenCostUsd?: number;
|
|
828
837
|
/** Local/catalog estimates remain separate from billed spend. */
|
|
829
838
|
estimatedCostUsd?: number;
|
|
830
839
|
/** Provider-reported prompt-cache fields; absent fields remain unknown. */
|
|
@@ -919,6 +928,9 @@ interface LoopResult<Task, Output, Decision> {
|
|
|
919
928
|
costUsd: number;
|
|
920
929
|
/** False when `costUsd` is only the observed subtotal, not a complete bill. */
|
|
921
930
|
costUsdKnown?: false;
|
|
931
|
+
/** Sum of every iteration's `unprovenCostUsd` — the part of `costUsd` no billing receipt
|
|
932
|
+
* covers. Absent when every dollar in the loop carried one. */
|
|
933
|
+
unprovenCostUsd?: number;
|
|
922
934
|
/** Sum of separately-labelled local/catalog estimates. */
|
|
923
935
|
estimatedCostUsd?: number;
|
|
924
936
|
/** Aggregated provider-reported prompt-cache fields. */
|
|
@@ -1278,4 +1290,4 @@ interface ExecCtx {
|
|
|
1278
1290
|
}
|
|
1279
1291
|
//#endregion
|
|
1280
1292
|
export { OpenAIChatToolChoice as $, RuntimeRunCompleteInput as A, AgentBackendInput as B, MountRecorder as C, SelectionReceipt as D, SandboxClient as E, RuntimeRunRow as F, AgentTaskContext as G, AgentKnowledgeProvider as H, RuntimeRunStatus as I, AgentTaskStatus as J, AgentTaskRunResult as K, startRuntimeRun as L, RuntimeRunHandle as M, RuntimeRunOptions as N, ValidationCtx as O, RuntimeRunPersistenceAdapter as P, OpenAIChatTool as Q, AgentAdapter as R, MountManifestEntry as S, RunProvenance as T, AgentRuntimeEvent as U, AgentExecutionBackend as V, AgentRuntimeEventSink as W, KnowledgeReadinessDecision as X, BackendErrorDetail as Y, OpenAIChatResponseFormat as Z, LoopTeardownFailedPayload as _, Iteration as a, RuntimeStreamEvent as at, LoopTraceEvent as b, LoopIterationDispatchPayload as c, LoopLineageOptions as d, RunAgentTaskOptions as et, LoopPlanDescription as f, LoopStartedPayload as g, LoopSandboxPlacement as h, ExecCtx as i, RuntimeSessionStore as it, RuntimeRunCost as j, Validator as k, LoopIterationEndedPayload as l, LoopResult as m, DefaultVerdict as n, RuntimeCanonicalStreamEvent as nt, LoopDecisionPayload as o, LoopPlanPayload as p, AgentTaskSpec as q, Driver as r, RuntimeSession as rt, LoopEndedPayload as s, AgentRunSpec as t, RunAgentTaskStreamOptions as tt, LoopIterationStartedPayload as u, LoopTokenUsage as v, OutputAdapter as w, LoopWinner as x, LoopTraceEmitter as y, AgentBackendContext as z };
|
|
1281
|
-
//# sourceMappingURL=types-
|
|
1293
|
+
//# sourceMappingURL=types-Ba5mJkyd.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.216.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": {
|