@tangle-network/agent-runtime 10.0.24 → 10.0.25
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/CHANGELOG.md +12 -0
- package/dist/{activation-DLbBM2S0.js → activation-Cisx6g4A.js} +2 -2
- package/dist/{activation-DLbBM2S0.js.map → activation-Cisx6g4A.js.map} +1 -1
- package/dist/{activation-DUYtmQH_.d.ts → activation-oYJrqzpN.d.ts} +2 -2
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{delegate-Cz2GF_z7.js → delegate-CwMTrSRm.js} +2 -2
- package/dist/{delegate-Cz2GF_z7.js.map → delegate-CwMTrSRm.js.map} +1 -1
- package/dist/{driver-control-acknowledgers-pDEPMuML.js → driver-control-acknowledgers-B213ctJ9.js} +2 -2
- package/dist/{driver-control-acknowledgers-pDEPMuML.js.map → driver-control-acknowledgers-B213ctJ9.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +4 -4
- package/dist/{graph-D-LVPqrm.js → graph-DP8O_w3P.js} +4 -4
- package/dist/{graph-D-LVPqrm.js.map → graph-DP8O_w3P.js.map} +1 -1
- package/dist/{improve-BJW9OcEn.js → improve-WN8sqSH1.js} +5 -5
- package/dist/{improve-BJW9OcEn.js.map → improve-WN8sqSH1.js.map} +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +8 -8
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +2 -2
- package/dist/kernel.js +10 -10
- package/dist/{loop-runner-BZWObfqa.js → loop-runner-B4Vjh1p9.js} +2 -2
- package/dist/{loop-runner-BZWObfqa.js.map → loop-runner-B4Vjh1p9.js.map} +1 -1
- package/dist/{loop-runner-ClANio8o.d.ts → loop-runner-Dc-Vij6a.d.ts} +2 -2
- package/dist/loop-runner-bin.d.ts +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +2 -2
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +4 -4
- package/dist/profiles.d.ts +1 -1
- package/dist/{provision-supervisor-ChGKJz8s.js → provision-supervisor-CqPcPBTA.js} +3 -3
- package/dist/{provision-supervisor-ChGKJz8s.js.map → provision-supervisor-CqPcPBTA.js.map} +1 -1
- package/dist/{run-state-6jJzk6gB.js → run-state-DXePNDvP.js} +2 -2
- package/dist/{run-state-6jJzk6gB.js.map → run-state-DXePNDvP.js.map} +1 -1
- package/dist/{runtime-Ddkn1wRr.js → runtime-DdfY-j79.js} +54 -33
- package/dist/{runtime-Ddkn1wRr.js.map → runtime-DdfY-j79.js.map} +1 -1
- package/dist/{search-executor-D9E9q-Pv.js → search-executor-COdCsn9r.js} +2 -2
- package/dist/{search-executor-D9E9q-Pv.js.map → search-executor-COdCsn9r.js.map} +1 -1
- package/dist/{server-BhXz3JyW.js → server-WSOQ-lg5.js} +2 -2
- package/dist/{server-BhXz3JyW.js.map → server-WSOQ-lg5.js.map} +1 -1
- package/dist/{structural-rollout-BL8KLLw8.js → structural-rollout-kOx5PFfU.js} +2 -2
- package/dist/{structural-rollout-BL8KLLw8.js.map → structural-rollout-kOx5PFfU.js.map} +1 -1
- package/dist/{supervise-C7mDlK7S.js → supervise-DEHDPDDb.js} +14 -7
- package/dist/supervise-DEHDPDDb.js.map +1 -0
- package/dist/{supervisor-BQwg_3T0.js → supervisor-C2KuUDnF.js} +16 -8
- package/dist/supervisor-C2KuUDnF.js.map +1 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +11 -11
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-CByvdC7k.d.ts → types-CMSBna4M.d.ts} +9 -4
- package/package.json +1 -1
- package/dist/supervise-C7mDlK7S.js.map +0 -1
- package/dist/supervisor-BQwg_3T0.js.map +0 -1
|
@@ -2396,6 +2396,7 @@ function toToolSpan(input, runId, seq, at) {
|
|
|
2396
2396
|
args: input.args,
|
|
2397
2397
|
...input.argsCaptured === false ? { argsCaptured: false } : {},
|
|
2398
2398
|
...status === void 0 ? {} : { status },
|
|
2399
|
+
...input.callId === void 0 ? {} : { attributes: { toolCallId: input.callId } },
|
|
2399
2400
|
...input.error !== void 0 ? { error: input.error } : {},
|
|
2400
2401
|
startedAt,
|
|
2401
2402
|
endedAt,
|
|
@@ -2414,13 +2415,20 @@ const decodeOpencodePart = (raw) => {
|
|
|
2414
2415
|
if (str(raw.type)?.toLowerCase() !== "tool" || !str(raw.tool)) return void 0;
|
|
2415
2416
|
const part = raw;
|
|
2416
2417
|
const state = obj(part.state);
|
|
2417
|
-
|
|
2418
|
-
|
|
2418
|
+
if (!state || state.status !== "completed" && state.status !== "error" && state.status !== "failed") return void 0;
|
|
2419
|
+
const argsCaptured = state.metadata?.argsCaptured !== false;
|
|
2420
|
+
const result = state.metadata?.outputCaptured === false ? void 0 : state.output;
|
|
2421
|
+
const failure = state.status === "completed" ? void 0 : state.error;
|
|
2419
2422
|
return {
|
|
2420
2423
|
toolName: part.tool,
|
|
2421
|
-
args: state
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
+
args: argsCaptured ? defaultRedactor(state.input ?? {}) : void 0,
|
|
2425
|
+
...argsCaptured ? {} : { argsCaptured: false },
|
|
2426
|
+
status: state.status === "completed" ? "ok" : "error",
|
|
2427
|
+
...str(part.callID) ? { callId: part.callID } : {},
|
|
2428
|
+
...result === void 0 ? {} : { result: defaultRedactor(result) },
|
|
2429
|
+
...typeof failure === "string" ? { error: String(defaultRedactor(failure)) } : {},
|
|
2430
|
+
...Number.isFinite(state.time?.start) ? { startedAt: state.time?.start } : {},
|
|
2431
|
+
...Number.isFinite(state.time?.end) ? { endedAt: state.time?.end } : {}
|
|
2424
2432
|
};
|
|
2425
2433
|
};
|
|
2426
2434
|
/** Anthropic / claude-code (also kimi's tool_use variant): a `{ type:'tool_use', id|tool_use_id,
|
|
@@ -3508,8 +3516,8 @@ function naturalNumber(value) {
|
|
|
3508
3516
|
const ROUTER_PRICE_SOURCE = {
|
|
3509
3517
|
repository: "tangle-network/tangle-router",
|
|
3510
3518
|
path: "pricing/researched-provider-prices.json",
|
|
3511
|
-
commit: "
|
|
3512
|
-
committedAt: "2026-11-
|
|
3519
|
+
commit: "d4b47197727e78fed82d9c048ed3d19c04508ff1",
|
|
3520
|
+
committedAt: "2026-11-30T00:55:33Z"
|
|
3513
3521
|
};
|
|
3514
3522
|
/** USD per token for each model id the Router prices. */
|
|
3515
3523
|
const ROUTER_TOKEN_PRICES = {
|
|
@@ -16536,4 +16544,4 @@ async function noWinner(settled, rejection) {
|
|
|
16536
16544
|
}
|
|
16537
16545
|
export { failPendingAfter as $, readPromptOptions as A, defineProfileMaterializationContract as At, toolResultText as B, projectSandboxOutcome as Bt, captureReusableExecutorConfig as C, runWorktreeHarness as Ct, createSteerableSandboxSession as D, assertProfileMaterialization as Dt, DEFAULT_SANDBOX_STEERING_MAX_TURNS as E, terminateProcessTreeAndConfirm as Et, defaultSelectWinner as F, renderUnsupported as Ft, providerAsExecutor as G, routerBrain as H, codeModeArguments as I, sandboxActProfileMaterialization as It, providerAsSandboxClient as J, providerOutputOptions as K, codeModeModelOutput as L, sandboxProfileMaterialization as Lt, createSandboxLineage as M, profileMaterializationAxes$1 as Mt, acquireSandbox as N, promptControlProfileMaterialization as Nt, runAgentRounds as O, assertProfileMaterializes as Ot, TERMINAL_DECISIONS as P, promptModelProfileMaterialization as Pt, createInbox as Q, createCodeModeTools as R, unsupportedProfileDimensions as Rt, bindReusableExecutorExecutionId as S, runSettledCommand as St, snapshotExecutorConfig as T, harnessInvocation as Tt, createAgentEnvironmentProviderRegistry as U, createRouterTranscript as V, readSandboxOutcome as Vt, resolveAgentEnvironmentProvider as W, createInPlaceCliExecutor as X, createWorktreeCliExecutor as Y, INBOX_RECEIPT_KEY as Z, isDriverSpec as _, createPushTraceSource as _t, awaitRootWake as a, isPeerMailEnvelope as at, InMemorySpawnJournal as b, bridgeStopSignalKey as bt, readRunParking as c, taskToPrompt$1 as ct, bestDelivered as d, priceTokens as dt, AUTHORITY_MARKERS as et, runFinalizer as f, ROUTER_PRICE_SOURCE as ft, driverExecutorFactory as g, readCodexRolloutSession as gt, driverChild as h, harnessUsageIsEmpty as ht, assertRunParking as i, createPeerMailbox as it, createSandboxForSpec as j, fullProfileMaterialization as jt, assertBoxlessPromptOptions as k, controlProfileMaterialization as kt, sleepScopeWait as l, bridgeAdmissionRefusal as lt, createRootHandle as m, createCodexRolloutStoreReader as mt, createSupervisor as n, PEER_MAIL_WIRE_KEY as nt, bindScopeParkingDrain as o, peerMailTools as ot, runTree as p, addHarnessUsage as pt, LEAF_CONTINUATION_TASK as q, RunParkedError as r, claimsAuthority as rt, isRunParked as s, peerMailVerbNames as st, DEFAULT_MAX_DEPTH as t, DEFAULT_PEER_MAIL_LIMITS as tt, withRunParking as u, bridgeModelRouteRefusal as ut, withDriverExecutor as v, bridgeRuntimeAttachmentsKey as vt, createExecutor as w, LOCAL_HARNESSES as wt, createExecutorRegistry as x, defaultRunCommand as xt, InMemoryResultBlobStore as y, bridgeRuntimeEnvKey as yt, runCodeMode as z, worktreeCliProfileMaterialization as zt };
|
|
16538
16546
|
|
|
16539
|
-
//# sourceMappingURL=supervisor-
|
|
16547
|
+
//# sourceMappingURL=supervisor-C2KuUDnF.js.map
|