@tangle-network/agent-runtime 0.218.2 → 0.219.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-BLKHwI65.js → activation-C-8VqFSN.js} +2 -2
- package/dist/{activation-BLKHwI65.js.map → activation-C-8VqFSN.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-DVzm7Tlo.js → coordination-driver-CvinSUI-.js} +2 -2
- package/dist/{coordination-driver-DVzm7Tlo.js.map → coordination-driver-CvinSUI-.js.map} +1 -1
- package/dist/{delegate-DoejjUdz.js → delegate-BH8r8hkQ.js} +2 -2
- package/dist/{delegate-DoejjUdz.js.map → delegate-BH8r8hkQ.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +2 -2
- package/dist/{graph-CAi1I_2o.js → graph-5N4gLnOt.js} +3 -3
- package/dist/{graph-CAi1I_2o.js.map → graph-5N4gLnOt.js.map} +1 -1
- package/dist/{improvement-cycle-DAMh1H6T.js → improvement-cycle-BIAKVZ3B.js} +3 -3
- package/dist/{improvement-cycle-DAMh1H6T.js.map → improvement-cycle-BIAKVZ3B.js.map} +1 -1
- package/dist/{index-DjgcOl1K.d.ts → index-CLDpu-bs.d.ts} +5 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -7
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +1 -1
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-B0O51XXu.js → loop-runner-bin-CTEJAcac.js} +3 -3
- package/dist/{loop-runner-bin-B0O51XXu.js.map → loop-runner-bin-CTEJAcac.js.map} +1 -1
- package/dist/{loop-runner-bin-BACjC-lm.d.ts → loop-runner-bin-Cn9DBrLv.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 +3 -3
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +4 -4
- package/dist/{provision-supervisor-B7k56EGS.js → provision-supervisor-40EOGn14.js} +3 -3
- package/dist/{provision-supervisor-B7k56EGS.js.map → provision-supervisor-40EOGn14.js.map} +1 -1
- package/dist/{runtime-D7cA__Lw.js → runtime-BDK_GOAd.js} +8 -8
- package/dist/{runtime-D7cA__Lw.js.map → runtime-BDK_GOAd.js.map} +1 -1
- package/dist/{server-N09ZChmr.js → server-DuvbSAVA.js} +3 -3
- package/dist/{server-N09ZChmr.js.map → server-DuvbSAVA.js.map} +1 -1
- package/dist/{structural-rollout-DLdNDY6d.js → structural-rollout-BAr61WjX.js} +2 -2
- package/dist/{structural-rollout-DLdNDY6d.js.map → structural-rollout-BAr61WjX.js.map} +1 -1
- package/dist/{supervise-uUAqm_kQ.js → supervise-W_mtzswa.js} +8 -6
- package/dist/supervise-W_mtzswa.js.map +1 -0
- package/dist/{supervisor-CUlzJ5IO.js → supervisor-WRrw0nlk.js} +2 -2
- package/dist/{supervisor-CUlzJ5IO.js.map → supervisor-WRrw0nlk.js.map} +1 -1
- package/dist/testing.d.ts +1 -1
- 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/supervise-uUAqm_kQ.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as createExecutor, A as scopeRetainedOwnerPriorSpend, An as unmeteredSpend, Bn as retainedExecutorSeamKey, Ct as spendFromUsageEvents, D as consumeScopeRetainedOwnerResult, Fn as withBudgetResources, Fr as
|
|
1
|
+
import { $ as createExecutor, $r as attestRuntimeOwnedScopeOwner, A as scopeRetainedOwnerPriorSpend, An as unmeteredSpend, Bn as retainedExecutorSeamKey, Ct as spendFromUsageEvents, D as consumeScopeRetainedOwnerResult, Fn as withBudgetResources, Fr as defineProfileMaterializationContract, Gr as unsupportedProfileDimensions, Gt as bridgeModelRouteRefusal, Ir as fullProfileMaterialization, J as teardownExecutor, Lr as profileMaterializationAxes$1, Mn as zeroSpend, Nn as addResourceSpend, Nr as assertProfileMaterialization, Nt as createInbox, O as prepareScopeRetainedOwnerTask, Pn as resourceTelemetry, Pr as controlProfileMaterialization, Rr as promptControlProfileMaterialization, Ur as renderUnsupported, Vn as RunCancellationReason, Wn as runAbortable, Wt as bridgeAdmissionRefusal, X as captureReusableExecutorConfig, Xt as bridgeRuntimeAttachmentsKey, Y as bindReusableExecutorExecutionId, Zt as bridgeStopSignalKey, _ as recordScopeOwnerMaterialization, bt as contentAddress, c as driverChild, ci as runtimeOwnedDriveHarnessProviderEvidence, cn as routerBrain, cr as createOtelExporter, di as runtimeOwnedExecutorProviderEvidence, dr as generateSpanId, f as beginScopeOwnerAttempt, fi as runtimeOwnedPendingExecutorMaterialization, g as meterRuntimeOwnedProviderAttempt, gn as resolveAgentEnvironmentProvider, h as meterRuntimeOwnedAccounting, hr as toOtelAttributes, j as scopeRetainedOwnerResult, jn as withTimeout, k as scopeRetainedOwnerContext, l as driverExecutorFactory, li as runtimeOwnedExecutorExecutionBinding, m as deriveNodeExecutionIdentity, n as createSupervisor, ni as inheritRuntimeOwnedExecutorAttestation, o as runFinalizer, oi as providerAttemptEvidence, pi as runtimeOwnedScopeOwnerRuntime, q as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, qr as worktreeCliProfileMaterialization, r as bestDelivered, s as runTree, si as recordRuntimeOwnedDriveHarnessProviderEvidence, t as createRootHandle, tt as snapshotExecutorConfig, u as isDriverSpec, ui as runtimeOwnedExecutorMaterialization, v as restoreScopeOwnerAcceptedExecution, vn as addSpend, wt as WORKER_TRACE_PROPAGATION, xt as assertValidBudget, y as scopeOwnerExecutorNodeContext, yi as detachedSnapshot, zn as registerRetainedExecutorPreparation, zr as promptModelProfileMaterialization } from "./supervisor-WRrw0nlk.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, y as DEFAULT_AWAIT_EVENT_TIMEOUT_MS } 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, y as DEFAULT_AWAIT_EVENT_TIMEOUT_MS } from "./coordination-driver-CvinSUI-.js";
|
|
7
7
|
import { t as createStdioToolServer } from "./tool-server-BJbCPhoW.js";
|
|
8
8
|
import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, canonicalCandidateJson, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
|
|
9
9
|
import { createHash, createHmac, randomBytes, randomUUID, timingSafeEqual } from "node:crypto";
|
|
@@ -957,11 +957,13 @@ async function serveCoordinationMcp(opts) {
|
|
|
957
957
|
const localUrl = `http://${host.includes(":") && !host.startsWith("[") ? `[${host}]` : host}:${port}/mcp`;
|
|
958
958
|
let url;
|
|
959
959
|
try {
|
|
960
|
-
const
|
|
960
|
+
const resolver = opts.publicUrl;
|
|
961
|
+
const configured = typeof resolver === "function" ? await runAbortable(async () => resolver({
|
|
961
962
|
host,
|
|
962
963
|
port,
|
|
963
|
-
...identity
|
|
964
|
-
|
|
964
|
+
...identity,
|
|
965
|
+
signal: opts.scope.signal
|
|
966
|
+
}), opts.scope.signal, "coordination public address resolution aborted") : resolver;
|
|
965
967
|
const publicAddress = new URL(configured ?? localUrl);
|
|
966
968
|
if (!["http:", "https:"].includes(publicAddress.protocol) || publicAddress.username || publicAddress.password || publicAddress.search || publicAddress.hash) throw new ConfigError("coordination publicUrl must be an HTTP endpoint without credentials, query, or fragment");
|
|
967
969
|
if (configured !== void 0 && publicAddress.protocol !== "https:" && !isLoopbackHost(publicAddress.hostname)) throw new ConfigError("remote coordination publicUrl must use HTTPS");
|
|
@@ -3657,4 +3659,4 @@ function rootProviderModelEvidenceFromExecution(evidence) {
|
|
|
3657
3659
|
//#endregion
|
|
3658
3660
|
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 };
|
|
3659
3661
|
|
|
3660
|
-
//# sourceMappingURL=supervise-
|
|
3662
|
+
//# sourceMappingURL=supervise-W_mtzswa.js.map
|