@tangle-network/agent-runtime 0.133.6 → 0.133.7
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-yW1CcPiM.js → activation-BeFr74qj.js} +2 -2
- package/dist/{activation-yW1CcPiM.js.map → activation-BeFr74qj.js.map} +1 -1
- package/dist/agent.js +2 -2
- package/dist/{authoring-Cbz3BYqD.js → authoring-CxnWFZVk.js} +2 -2
- package/dist/{authoring-Cbz3BYqD.js.map → authoring-CxnWFZVk.js.map} +1 -1
- package/dist/candidate-execution/index.js +1 -1
- package/dist/{candidate-execution-y946fuY1.js → candidate-execution-_u2HIWeX.js} +27 -2
- package/dist/candidate-execution-_u2HIWeX.js.map +1 -0
- package/dist/{graph-BcwxFLW_.js → graph-C_rMgoWQ.js} +2 -2
- package/dist/{graph-BcwxFLW_.js.map → graph-C_rMgoWQ.js.map} +1 -1
- package/dist/{improvement-cycle-DJQqqICz.js → improvement-cycle-BBH8oYiA.js} +3 -3
- package/dist/{improvement-cycle-DJQqqICz.js.map → improvement-cycle-BBH8oYiA.js.map} +1 -1
- package/dist/index.js +8 -8
- package/dist/intelligence.js +3 -3
- package/dist/kernel.js +6 -6
- package/dist/{knowledge-CD5Xx1J3.js → knowledge-DubRihOP.js} +3 -3
- package/dist/{knowledge-CD5Xx1J3.js.map → knowledge-DubRihOP.js.map} +1 -1
- package/dist/knowledge.js +1 -1
- package/dist/{loop-runner-bin-BrF0g950.js → loop-runner-bin-CMKMWSH6.js} +3 -3
- package/dist/{loop-runner-bin-BrF0g950.js.map → loop-runner-bin-CMKMWSH6.js.map} +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-BEeoh5i0.js → openai-tools-DrQwA-X_.js} +2 -2
- package/dist/{openai-tools-BEeoh5i0.js.map → openai-tools-DrQwA-X_.js.map} +1 -1
- package/dist/{runtime-BX5c47Qm.js → runtime-VwxvxGN7.js} +6 -6
- package/dist/{runtime-BX5c47Qm.js.map → runtime-VwxvxGN7.js.map} +1 -1
- package/dist/{structural-rollout-CHq3qJau.js → structural-rollout-eAj7HG0m.js} +2 -2
- package/dist/{structural-rollout-CHq3qJau.js.map → structural-rollout-eAj7HG0m.js.map} +1 -1
- package/dist/{supervise-D-e9RIuG.js → supervise-009CRDW1.js} +2 -2
- package/dist/{supervise-D-e9RIuG.js.map → supervise-009CRDW1.js.map} +1 -1
- package/dist/{supervisor-GBIOnjUo.js → supervisor-DNX8CXui.js} +15 -2
- package/dist/{supervisor-GBIOnjUo.js.map → supervisor-DNX8CXui.js.map} +1 -1
- package/dist/testing.js +11 -11
- package/package.json +1 -1
- package/dist/candidate-execution-y946fuY1.js.map +0 -1
|
@@ -7353,6 +7353,13 @@ async function* streamBridgeSession(args) {
|
|
|
7353
7353
|
let turnKnownCostSubtotal = 0;
|
|
7354
7354
|
let turnEstimatedCostSubtotal = 0;
|
|
7355
7355
|
let interrupted = false;
|
|
7356
|
+
let profileMaterializationPublished = false;
|
|
7357
|
+
const publishProfileMaterialization = () => {
|
|
7358
|
+
if (!profileMaterializationPublished && activeRun.terminal && activeRun.profileMaterialization !== void 0) {
|
|
7359
|
+
args.onProfileMaterialization(activeRun.profileMaterialization);
|
|
7360
|
+
profileMaterializationPublished = true;
|
|
7361
|
+
}
|
|
7362
|
+
};
|
|
7356
7363
|
try {
|
|
7357
7364
|
args.onProviderAttemptStart();
|
|
7358
7365
|
for await (const chunk of streamDurableBridgeRun({
|
|
@@ -7441,8 +7448,9 @@ async function* streamBridgeSession(args) {
|
|
|
7441
7448
|
sawEstimatedUsd = true;
|
|
7442
7449
|
}
|
|
7443
7450
|
}
|
|
7444
|
-
|
|
7451
|
+
publishProfileMaterialization();
|
|
7445
7452
|
} catch (error) {
|
|
7453
|
+
publishProfileMaterialization();
|
|
7446
7454
|
if (interruptSig.aborted && !args.signal.aborted && !args.controller.signal.aborted) {
|
|
7447
7455
|
if (!await cancelBridgeRunToTerminal(seam, activeRun, "infinity", external)) throw new ValidationError(`bridgeExecutor: interrupted run ${activeRun.id} did not reach terminal state`);
|
|
7448
7456
|
interrupted = true;
|
|
@@ -7464,6 +7472,11 @@ async function* streamBridgeSession(args) {
|
|
|
7464
7472
|
});
|
|
7465
7473
|
if (!sawTurnTokenUsage || !turnTokensKnown) tokensKnown = false;
|
|
7466
7474
|
if (!sawTurnCostStatus || !turnUsdKnown) usdKnown = false;
|
|
7475
|
+
if (!sawTurnCostStatus || !turnUsdKnown) yield {
|
|
7476
|
+
kind: "cost",
|
|
7477
|
+
usd: 0,
|
|
7478
|
+
usdKnown: false
|
|
7479
|
+
};
|
|
7467
7480
|
yield { kind: "iteration" };
|
|
7468
7481
|
if (!interrupted && turnText) lastText = turnText;
|
|
7469
7482
|
if (interrupted) {
|
|
@@ -12360,4 +12373,4 @@ function isNonEmptySpend(s) {
|
|
|
12360
12373
|
//#endregion
|
|
12361
12374
|
export { defaultSelectWinner as $, validateProfileMaterialization as $t, spendFromUsageEvents as A, runSettledCommand as At, workerTraceEnv as B, CodexExecutionDiagnosticError as Bt, freeSlots as C, padTraceId as Ct, teardownExecutor as D, sanitizeAgentRuntimeEvent as Dt, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as E, createRuntimeStreamEventCollector as Et, createExecutorRegistry as F, DEFAULT_LOCAL_HARNESS as Ft, createPushTraceSource as G, fullProfileMaterialization as Gt, workerTraceSeamKey as H, assertProfileMaterialization as Ht, snapshotExecutorConfig as I, LOCAL_HARNESSES as It, DEFAULT_STALL_AFTER_MS as J, promptModelProfileMaterialization as Jt, decodeToolPart as K, profileMaterializationAxes$1 as Kt, createWorktreeCliExecutor as L, harnessSupportsReasoningEffort as Lt, captureReusableExecutorConfig as M, captureWorktreeDiff as Mt, cliWorktreeExecutor as N, createWorktree as Nt, assertValidBudget as O, sanitizeKnowledgeReadinessReport as Ot, createExecutor as P, removeWorktree as Pt, createSandboxForSpec as Q, sandboxActProfileMaterialization as Qt, WORKER_TRACE_PROPAGATION as R, localHarnessExecutable as Rt, effectiveConcurrency as S, padSpanId as St, rollingDispatch as T, createRuntimeEventCollector as Tt, DEFAULT_SANDBOX_STEERING_MAX_TURNS as U, controlProfileMaterialization as Ut, workerTraceHeaders as V, AGENT_PROFILE_MATERIALIZATION_AXES as Vt, createSteerableSandboxSession as W, defineProfileMaterializationContract as Wt, readWorkerProgress as X, promptResourceProfileMaterialization as Xt, createActivityLog as Y, promptOnlyProfileMaterialization as Yt, createInbox as Z, renderProfileMaterializationIssues as Zt, isWaitOutcome as _, createOtelExporter as _t, pickBestDelivered as a, runBrainLoop as at, validateWaitSpec as b, generateSpanId as bt, driverChild as c, createPropagatingTraceEmitter as ct, deriveNodeExecutionIdentity as d, traceContextToEnv as dt, worktreeCliProfileMaterialization as en, runAgentRounds as et, meterRuntimeOwnedProviderAttempt as f, INTELLIGENCE_WIRE_VERSION as ft, createWaitProbes as g, createOpenInferenceFileExporter as gt, settledToIteration as h, buildRuntimeEventOtelSpans as ht, collectDelivered as i, routerBrain as it, bindReusableExecutorExecutionId as j, runWorktreeHarness as jt, createBudgetPool as k, sanitizeRuntimeStreamEvent as kt, withDriverExecutor as l, mergeTraceEnv as lt, scopeOwnerExecutorNodeContext as m, buildLoopSpanNodes as mt, createSupervisor as n, probeSandboxCapabilities as nt, runFinalizer as o, canonicalObservedModel as ot, recordScopeOwnerMaterialization as p, buildLoopOtelSpans as pt, sandboxSessionTraceSource as q, promptControlProfileMaterialization as qt, bestDelivered as r, acquireSandbox as rt, runTree as s, observedModelMatchesDeclared as st, createRootHandle as t, createSandboxLineage as tt, createScope as u, readTraceContextFromEnv as ut, pollFor as v, exportEvalRuns as vt, queueOf as w, toOtelAttributes as wt, waitUntil as x, loopEventToOtelSpan as xt, timerAt as y, flatOtelSpan as yt, readWorkerTraceContext as z, parseCodexTokenUsage as zt };
|
|
12362
12375
|
|
|
12363
|
-
//# sourceMappingURL=supervisor-
|
|
12376
|
+
//# sourceMappingURL=supervisor-DNX8CXui.js.map
|