@tangle-network/agent-runtime 0.209.0 → 0.210.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/README.md +4 -0
- package/dist/{activation-tFdeirCa.d.ts → activation-4oMAHaQz.d.ts} +2 -2
- package/dist/{activation-Cjhm5Tds.js → activation-Bwyehqhg.js} +2 -2
- package/dist/{activation-Cjhm5Tds.js.map → activation-Bwyehqhg.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-C-hPz1zy.js → coordination-driver-Bp9a4LdC.js} +2 -2
- package/dist/{coordination-driver-C-hPz1zy.js.map → coordination-driver-Bp9a4LdC.js.map} +1 -1
- package/dist/{delegate-CB4CkJdV.js → delegate-Dmm9ITBZ.js} +2 -2
- package/dist/{delegate-CB4CkJdV.js.map → delegate-Dmm9ITBZ.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +2 -2
- package/dist/{graph-Ud2-Ytos.js → graph-D1QQu6lY.js} +3 -3
- package/dist/{graph-Ud2-Ytos.js.map → graph-D1QQu6lY.js.map} +1 -1
- package/dist/{improvement-cycle-B7ia6rTj.js → improvement-cycle-BlvbrKLq.js} +3 -3
- package/dist/{improvement-cycle-B7ia6rTj.js.map → improvement-cycle-BlvbrKLq.js.map} +1 -1
- package/dist/{index-0p5DiJoy.d.ts → index-lXtwqnQA.d.ts} +6 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +2 -2
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-q-xGzEK9.d.ts → loop-runner-bin-CpJtH4zl.d.ts} +3 -3
- package/dist/{loop-runner-bin-B30d3Yla.js → loop-runner-bin-QKH_nf8M.js} +3 -3
- package/dist/{loop-runner-bin-B30d3Yla.js.map → loop-runner-bin-QKH_nf8M.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 +2 -2
- package/dist/mcp/index.js +4 -4
- package/dist/{provision-supervisor-C-nLaaQ_.js → provision-supervisor-Dq81wDhU.js} +3 -3
- package/dist/{provision-supervisor-C-nLaaQ_.js.map → provision-supervisor-Dq81wDhU.js.map} +1 -1
- package/dist/{redact-va_1mmv8.js → redact-CE6Hfkrp.js} +6093 -6084
- package/dist/redact-CE6Hfkrp.js.map +1 -0
- package/dist/{runtime-D0_b9wFH.js → runtime-BgOCbw6N.js} +8 -8
- package/dist/{runtime-D0_b9wFH.js.map → runtime-BgOCbw6N.js.map} +1 -1
- package/dist/{server-pq1x3C2i.js → server-xYvBM-Te.js} +3 -3
- package/dist/{server-pq1x3C2i.js.map → server-xYvBM-Te.js.map} +1 -1
- package/dist/{stream-agent-turn-BaKYHbHg.d.ts → stream-agent-turn-BXZMQQ0K.d.ts} +367 -361
- package/dist/{structural-rollout-BaYBLUeI.js → structural-rollout-CcO70n6X.js} +2 -2
- package/dist/{structural-rollout-BaYBLUeI.js.map → structural-rollout-CcO70n6X.js.map} +1 -1
- package/dist/{supervise-CMWpmY_1.js → supervise-DNh1_cHO.js} +7 -3
- package/dist/supervise-DNh1_cHO.js.map +1 -0
- 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/package.json +1 -1
- package/dist/redact-va_1mmv8.js.map +0 -1
- package/dist/supervise-CMWpmY_1.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as captureReusableExecutorConfig, $r as inheritRuntimeOwnedExecutorAttestation, $t as bridgeRuntimeAttachmentsKey, A as consumeScopeRetainedOwnerResult, Ar as assertProfileMaterialization, Bn as registerRetainedExecutorPreparation, Br as renderUnsupported, Ct as contentAddress, Dt as WORKER_TRACE_PROPAGATION, Et as spendFromUsageEvents, Fn as resourceTelemetry, Fr as promptControlProfileMaterialization, Hn as RunCancellationReason, Hr as unsupportedProfileDimensions, In as withBudgetResources, Ir as promptModelProfileMaterialization, It as createInbox, Jt as bridgeModelRouteRefusal, M as scopeRetainedOwnerContext, Mn as unmeteredSpend, Mr as defineProfileMaterializationContract, N as scopeRetainedOwnerPriorSpend, Nn as zeroSpend, Nr as fullProfileMaterialization, P as scopeRetainedOwnerResult, Pn as addResourceSpend, Pr as profileMaterializationAxes$1, Q as bindReusableExecutorExecutionId, S as scopeOwnerExecutorNodeContext, Vn as retainedExecutorSeamKey, Wr as worktreeCliProfileMaterialization, X as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, Xr as attestRuntimeOwnedScopeOwner, Z as teardownExecutor, _ as deriveNodeExecutionIdentity, a as createSupervisor, ai as runtimeOwnedDriveHarnessProviderEvidence, ar as createOtelExporter, b as recordScopeOwnerMaterialization, bn as addSpend, ci as runtimeOwnedExecutorProviderEvidence, cr as generateSpanId, d as driverChild, dn as routerBrain, en as bridgeStopSignalKey, f as driverExecutorFactory, fr as toOtelAttributes, gi as detachedSnapshot, h as beginScopeOwnerAttempt, i as createRootHandle, ii as recordRuntimeOwnedDriveHarnessProviderEvidence, it as snapshotExecutorConfig, j as prepareScopeRetainedOwnerTask, jr as controlProfileMaterialization, l as runFinalizer, li as runtimeOwnedPendingExecutorMaterialization, nt as createExecutor, o as bestDelivered, oi as runtimeOwnedExecutorExecutionBinding, p as isDriverSpec, qt as bridgeAdmissionRefusal, ri as providerAttemptEvidence, si as runtimeOwnedExecutorMaterialization, u as runTree, ui as runtimeOwnedScopeOwnerRuntime, v as meterRuntimeOwnedAccounting, vn as resolveAgentEnvironmentProvider, wt as assertValidBudget, x as restoreScopeOwnerAcceptedExecution, y as meterRuntimeOwnedProviderAttempt } from "./redact-CE6Hfkrp.js";
|
|
2
2
|
import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError, r as BackendTransportError, t as AgentEvalError } from "./errors-DodWX-cb.js";
|
|
3
3
|
import { a as concreteProfileModel, c as profileModelExecutionSettings, d as agentHarness, f as harnessRunsAgent, n as assertModelAllowed, o as enforceTokenLimits, r as assertProfileModelsAllowed, s as profileBridgeWireModel, t as assertExecutableAgentProfile } from "./model-policy-DKDyr-fc.js";
|
|
4
4
|
import { t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
|
|
5
5
|
import { k as writeRunCancellation, o as readRunCancelRequest, s as readRunCancellation } from "./run-layout-hZREkcfu.js";
|
|
6
|
-
import { C as createCoordinationTools, F as watchRunCancellation, M as createInMemoryRunContext, P as applyRunCancellation, S as coordinationVerbNames, c as createProgressTracker, d as progressStop, j as createFileRunContext, r as driverAgent } from "./coordination-driver-
|
|
6
|
+
import { C as createCoordinationTools, F as watchRunCancellation, M as createInMemoryRunContext, P as applyRunCancellation, S as coordinationVerbNames, c as createProgressTracker, d as progressStop, j as createFileRunContext, r as driverAgent } from "./coordination-driver-Bp9a4LdC.js";
|
|
7
7
|
import { t as createStdioToolServer } from "./tool-server-BJbCPhoW.js";
|
|
8
8
|
import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
|
|
9
9
|
import { createHash, createHmac, randomBytes, randomUUID, timingSafeEqual } from "node:crypto";
|
|
@@ -1541,6 +1541,8 @@ function buildSupervisorAgent(profile, deps, testBrain) {
|
|
|
1541
1541
|
...deliver ? { deliver(message) {
|
|
1542
1542
|
return deliver(message);
|
|
1543
1543
|
} } : {},
|
|
1544
|
+
traceSource: () => driveHarness.traceSource?.(),
|
|
1545
|
+
progress: () => driveHarness.progress?.(),
|
|
1544
1546
|
async act(task, scope) {
|
|
1545
1547
|
const context = nodeContextSeed ? supervisorNodeContext(nodeContextSeed, stableProfile, task, scope) : void 0;
|
|
1546
1548
|
const priorCoordination = deps.loadPriorCoordination ? await deps.loadPriorCoordination() : deps.priorCoordination;
|
|
@@ -2728,6 +2730,8 @@ function driveHarnessFromBackend(backend, executionId, now = Date.now, maxTurns)
|
|
|
2728
2730
|
if (!deliver) return false;
|
|
2729
2731
|
return deliver.call(activeExecutor, message) !== false;
|
|
2730
2732
|
};
|
|
2733
|
+
drive.traceSource = () => activeExecutor?.traceSource?.();
|
|
2734
|
+
drive.progress = () => activeExecutor?.progress?.();
|
|
2731
2735
|
return attestRuntimeOwnedScopeOwner(drive, boundBackend.backend === "provider" ? boundBackend.runtime ?? resolveAgentEnvironmentProvider(boundBackend.provider, boundBackend.registry).name : "cli");
|
|
2732
2736
|
}
|
|
2733
2737
|
function isAsyncIterable(value) {
|
|
@@ -3535,4 +3539,4 @@ function rootProviderModelEvidenceFromExecution(evidence) {
|
|
|
3535
3539
|
//#endregion
|
|
3536
3540
|
export { serveCoordinationMcp as _, isPreSpawnExecutorFailure as a, mapExecutorResult as b, withWorkerSpawnRetry as c, resolveSupervisorProfile as d, supervisorAgent as f, defaultUnmetContractSteer as g, classifyDriverFailure as h, workerFromBackend as i, assertCoordinationBinding as l, DriverAttemptsExhaustedError as m, supervise as n, resolveWorkerSpawnRetry as o, supervisorAgentWithTestBrain as p, superviseWithTestBrain as r, retryPreSpawnRefusals as s, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as t, coordinationProfileToolPrefix as u, createSupervisorSpanRecorder as v, gateOnDeliverable as y };
|
|
3537
3541
|
|
|
3538
|
-
//# sourceMappingURL=supervise-
|
|
3542
|
+
//# sourceMappingURL=supervise-DNh1_cHO.js.map
|