@tangle-network/agent-runtime 0.218.1 → 0.218.2

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.
Files changed (51) hide show
  1. package/dist/{activation-DI04_3R-.js → activation-BLKHwI65.js} +2 -2
  2. package/dist/{activation-DI04_3R-.js.map → activation-BLKHwI65.js.map} +1 -1
  3. package/dist/{activation-D5bSCvRA.d.ts → activation-D-YAPCtn.d.ts} +2 -2
  4. package/dist/agent.d.ts +1 -1
  5. package/dist/agent.js +2 -2
  6. package/dist/{coordination-driver-rlM6lqtZ.js → coordination-driver-DVzm7Tlo.js} +2 -2
  7. package/dist/{coordination-driver-rlM6lqtZ.js.map → coordination-driver-DVzm7Tlo.js.map} +1 -1
  8. package/dist/{delegate-CVlTAKGU.js → delegate-DoejjUdz.js} +2 -2
  9. package/dist/{delegate-CVlTAKGU.js.map → delegate-DoejjUdz.js.map} +1 -1
  10. package/dist/durable.d.ts +8 -2
  11. package/dist/durable.js +4 -2
  12. package/dist/durable.js.map +1 -1
  13. package/dist/{graph-i9EWCOK7.js → graph-CAi1I_2o.js} +4 -3
  14. package/dist/graph-CAi1I_2o.js.map +1 -0
  15. package/dist/{improvement-cycle-DqfEWpFs.js → improvement-cycle-DAMh1H6T.js} +3 -3
  16. package/dist/{improvement-cycle-DqfEWpFs.js.map → improvement-cycle-DAMh1H6T.js.map} +1 -1
  17. package/dist/{index-DgDpB-HB.d.ts → index-DjgcOl1K.d.ts} +11 -3
  18. package/dist/index.d.ts +4 -4
  19. package/dist/index.js +7 -7
  20. package/dist/intelligence.d.ts +2 -2
  21. package/dist/intelligence.js +3 -3
  22. package/dist/kernel.d.ts +3 -3
  23. package/dist/kernel.js +9 -9
  24. package/dist/{loop-runner-bin-BiZuxoZW.js → loop-runner-bin-B0O51XXu.js} +3 -3
  25. package/dist/{loop-runner-bin-BiZuxoZW.js.map → loop-runner-bin-B0O51XXu.js.map} +1 -1
  26. package/dist/{loop-runner-bin-CDs3H8Ej.d.ts → loop-runner-bin-BACjC-lm.d.ts} +3 -3
  27. package/dist/loop-runner-bin.d.ts +1 -1
  28. package/dist/loop-runner-bin.js +1 -1
  29. package/dist/mcp/bin.js +3 -3
  30. package/dist/mcp/index.d.ts +2 -2
  31. package/dist/mcp/index.js +4 -4
  32. package/dist/{provision-supervisor-SvnQnnII.js → provision-supervisor-B7k56EGS.js} +3 -3
  33. package/dist/{provision-supervisor-SvnQnnII.js.map → provision-supervisor-B7k56EGS.js.map} +1 -1
  34. package/dist/{runtime-DGdRJN30.js → runtime-D7cA__Lw.js} +8 -8
  35. package/dist/{runtime-DGdRJN30.js.map → runtime-D7cA__Lw.js.map} +1 -1
  36. package/dist/{server-BNE25y3V.js → server-N09ZChmr.js} +3 -3
  37. package/dist/{server-BNE25y3V.js.map → server-N09ZChmr.js.map} +1 -1
  38. package/dist/{stream-agent-turn-DPv9w25U.d.ts → stream-agent-turn-DSrEMRwR.d.ts} +89 -2
  39. package/dist/{structural-rollout-Bb0d3o-X.js → structural-rollout-DLdNDY6d.js} +2 -2
  40. package/dist/{structural-rollout-Bb0d3o-X.js.map → structural-rollout-DLdNDY6d.js.map} +1 -1
  41. package/dist/{supervise-DV0dlkir.js → supervise-uUAqm_kQ.js} +5 -3
  42. package/dist/{supervise-DV0dlkir.js.map → supervise-uUAqm_kQ.js.map} +1 -1
  43. package/dist/{supervisor-DELeLQRJ.js → supervisor-CUlzJ5IO.js} +225 -42
  44. package/dist/supervisor-CUlzJ5IO.js.map +1 -0
  45. package/dist/testing.d.ts +2 -2
  46. package/dist/testing.js +12 -12
  47. package/dist/tui/index.d.ts +1 -1
  48. package/dist/tui/index.js +1 -1
  49. package/package.json +1 -1
  50. package/dist/graph-i9EWCOK7.js.map +0 -1
  51. package/dist/supervisor-DELeLQRJ.js.map +0 -1
@@ -1,9 +1,9 @@
1
- import { $ as createExecutor, A as scopeRetainedOwnerPriorSpend, An as withTimeout, Bn as RunCancellationReason, Ct as spendFromUsageEvents, D as consumeScopeRetainedOwnerResult, Fr as profileMaterializationAxes$1, Gr as worktreeCliProfileMaterialization, Gt as bridgeModelRouteRefusal, Ir as promptControlProfileMaterialization, J as teardownExecutor, Lr as promptModelProfileMaterialization, Mn as addResourceSpend, Mr as controlProfileMaterialization, Nn as resourceTelemetry, Nr as defineProfileMaterializationContract, Nt as createInbox, O as prepareScopeRetainedOwnerTask, Pn as withBudgetResources, Pr as fullProfileMaterialization, Rn as registerRetainedExecutorPreparation, Ur as unsupportedProfileDimensions, Vr as renderUnsupported, Wt as bridgeAdmissionRefusal, X as captureReusableExecutorConfig, Xt as bridgeRuntimeAttachmentsKey, Y as bindReusableExecutorExecutionId, Zr as attestRuntimeOwnedScopeOwner, Zt as bridgeStopSignalKey, _ as recordScopeOwnerMaterialization, _i as detachedSnapshot, _n as addSpend, ai as recordRuntimeOwnedDriveHarnessProviderEvidence, bt as contentAddress, c as driverChild, ci as runtimeOwnedExecutorMaterialization, cn as routerBrain, di as runtimeOwnedScopeOwnerRuntime, ei as inheritRuntimeOwnedExecutorAttestation, f as beginScopeOwnerAttempt, g as meterRuntimeOwnedProviderAttempt, h as meterRuntimeOwnedAccounting, hn as resolveAgentEnvironmentProvider, ii as providerAttemptEvidence, j as scopeRetainedOwnerResult, jn as zeroSpend, jr as assertProfileMaterialization, k as scopeRetainedOwnerContext, kn as unmeteredSpend, l as driverExecutorFactory, li as runtimeOwnedExecutorProviderEvidence, lr as generateSpanId, m as deriveNodeExecutionIdentity, n as createSupervisor, o as runFinalizer, oi as runtimeOwnedDriveHarnessProviderEvidence, or as createOtelExporter, pr as toOtelAttributes, q as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, r as bestDelivered, s as runTree, si as runtimeOwnedExecutorExecutionBinding, t as createRootHandle, tt as snapshotExecutorConfig, u as isDriverSpec, ui as runtimeOwnedPendingExecutorMaterialization, v as restoreScopeOwnerAcceptedExecution, wt as WORKER_TRACE_PROPAGATION, xt as assertValidBudget, y as scopeOwnerExecutorNodeContext, zn as retainedExecutorSeamKey } from "./supervisor-DELeLQRJ.js";
1
+ import { $ as createExecutor, A as scopeRetainedOwnerPriorSpend, An as unmeteredSpend, Bn as retainedExecutorSeamKey, Ct as spendFromUsageEvents, D as consumeScopeRetainedOwnerResult, Fn as withBudgetResources, Fr as fullProfileMaterialization, Gt as bridgeModelRouteRefusal, Hr as renderUnsupported, Ir as profileMaterializationAxes$1, J as teardownExecutor, Kr as worktreeCliProfileMaterialization, Lr as promptControlProfileMaterialization, Mn as zeroSpend, Mr as assertProfileMaterialization, Nn as addResourceSpend, Nr as controlProfileMaterialization, Nt as createInbox, O as prepareScopeRetainedOwnerTask, Pn as resourceTelemetry, Pr as defineProfileMaterializationContract, Qr as attestRuntimeOwnedScopeOwner, Rr as promptModelProfileMaterialization, Vn as RunCancellationReason, Wr as unsupportedProfileDimensions, Wt as bridgeAdmissionRefusal, X as captureReusableExecutorConfig, Xt as bridgeRuntimeAttachmentsKey, Y as bindReusableExecutorExecutionId, Zt as bridgeStopSignalKey, _ as recordScopeOwnerMaterialization, ai as providerAttemptEvidence, bt as contentAddress, c as driverChild, ci as runtimeOwnedExecutorExecutionBinding, cn as routerBrain, di as runtimeOwnedPendingExecutorMaterialization, f as beginScopeOwnerAttempt, fi as runtimeOwnedScopeOwnerRuntime, g as meterRuntimeOwnedProviderAttempt, gn as resolveAgentEnvironmentProvider, h as meterRuntimeOwnedAccounting, j as scopeRetainedOwnerResult, jn as withTimeout, k as scopeRetainedOwnerContext, l as driverExecutorFactory, li as runtimeOwnedExecutorMaterialization, m as deriveNodeExecutionIdentity, mr as toOtelAttributes, n as createSupervisor, o as runFinalizer, oi as recordRuntimeOwnedDriveHarnessProviderEvidence, q as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, r as bestDelivered, s as runTree, si as runtimeOwnedDriveHarnessProviderEvidence, sr as createOtelExporter, t as createRootHandle, ti as inheritRuntimeOwnedExecutorAttestation, tt as snapshotExecutorConfig, u as isDriverSpec, ui as runtimeOwnedExecutorProviderEvidence, ur as generateSpanId, v as restoreScopeOwnerAcceptedExecution, vi as detachedSnapshot, vn as addSpend, wt as WORKER_TRACE_PROPAGATION, xt as assertValidBudget, y as scopeOwnerExecutorNodeContext, zn as registerRetainedExecutorPreparation } from "./supervisor-CUlzJ5IO.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-rlM6lqtZ.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-DVzm7Tlo.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";
@@ -2875,6 +2875,7 @@ const superviseOptionKeySet = /* @__PURE__ */ new Set([
2875
2875
  "blobs",
2876
2876
  "budget",
2877
2877
  "childSettleGraceMs",
2878
+ "retainedAtSettlement",
2878
2879
  "compaction",
2879
2880
  "continuityByProfile",
2880
2881
  "coordination",
@@ -3597,6 +3598,7 @@ function superviseInternal(profile, task, opts, testBrain) {
3597
3598
  } },
3598
3599
  maxDepth: options.maxDepth ?? 8,
3599
3600
  ...options.childSettleGraceMs !== void 0 ? { childSettleGraceMs: options.childSettleGraceMs } : {},
3601
+ ...options.retainedAtSettlement !== void 0 ? { retainedAtSettlement: options.retainedAtSettlement } : {},
3600
3602
  ...options.maxLiveWorkers !== void 0 ? { maxLiveWorkers: options.maxLiveWorkers } : {},
3601
3603
  ...probes ? { probes } : {},
3602
3604
  ...ctx.resume === true ? { resume: true } : {},
@@ -3655,4 +3657,4 @@ function rootProviderModelEvidenceFromExecution(evidence) {
3655
3657
  //#endregion
3656
3658
  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 };
3657
3659
 
3658
- //# sourceMappingURL=supervise-DV0dlkir.js.map
3660
+ //# sourceMappingURL=supervise-uUAqm_kQ.js.map