@tangle-network/agent-runtime 6.0.7 → 6.0.8

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 (71) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{activation-DPz8kGpT.d.ts → activation-CWx7I1PU.d.ts} +2 -2
  3. package/dist/{activation-Bb2ovvM5.js → activation-Cwy3_Qn_.js} +2 -2
  4. package/dist/{activation-Bb2ovvM5.js.map → activation-Cwy3_Qn_.js.map} +1 -1
  5. package/dist/agent.d.ts +1 -1
  6. package/dist/agent.js +3 -3
  7. package/dist/{coordination-manager-Cow3jgu1.js → coordination-manager-D9z7To7p.js} +4 -4
  8. package/dist/{coordination-manager-Cow3jgu1.js.map → coordination-manager-D9z7To7p.js.map} +1 -1
  9. package/dist/{delegate-zUOoWutU.js → delegate-ws-KBA2H.js} +2 -2
  10. package/dist/{delegate-zUOoWutU.js.map → delegate-ws-KBA2H.js.map} +1 -1
  11. package/dist/durable.d.ts +1 -1
  12. package/dist/durable.js +9 -9
  13. package/dist/{graph-BS9p0hHV.js → graph-2_nX4ib4.js} +6 -6
  14. package/dist/{graph-BS9p0hHV.js.map → graph-2_nX4ib4.js.map} +1 -1
  15. package/dist/{graph-registry-DbCwfHMY.js → graph-registry-7X2nrreR.js} +2 -2
  16. package/dist/{graph-registry-DbCwfHMY.js.map → graph-registry-7X2nrreR.js.map} +1 -1
  17. package/dist/{graph-registry-C4ASeL2P.js → graph-registry-gYbq4L5Z.js} +1 -1
  18. package/dist/{improve-Ca4PSA2z.js → improve-BxfqTsZy.js} +7 -7
  19. package/dist/{improve-Ca4PSA2z.js.map → improve-BxfqTsZy.js.map} +1 -1
  20. package/dist/index.d.ts +3 -3
  21. package/dist/index.js +9 -9
  22. package/dist/intelligence.d.ts +2 -2
  23. package/dist/intelligence.js +4 -4
  24. package/dist/{jsonl-file-BeUa5EDx.js → jsonl-file-DsxVI0E_.js} +5 -5
  25. package/dist/jsonl-file-DsxVI0E_.js.map +1 -0
  26. package/dist/kernel.d.ts +1 -1
  27. package/dist/kernel.js +13 -13
  28. package/dist/{loop-runner-B_K3oLGC.js → loop-runner-BmGZ4y1W.js} +2 -2
  29. package/dist/{loop-runner-B_K3oLGC.js.map → loop-runner-BmGZ4y1W.js.map} +1 -1
  30. package/dist/{loop-runner-9surW8mg.d.ts → loop-runner-CUMypgRw.d.ts} +2 -2
  31. package/dist/loop-runner-bin.d.ts +1 -1
  32. package/dist/loop-runner-bin.js +1 -1
  33. package/dist/mcp/bin.js +3 -3
  34. package/dist/mcp/index.d.ts +1 -1
  35. package/dist/mcp/index.js +5 -5
  36. package/dist/profiles.d.ts +1 -1
  37. package/dist/{provision-supervisor-ZG-ZxIe9.js → provision-supervisor-CeQTPHRr.js} +4 -4
  38. package/dist/{provision-supervisor-ZG-ZxIe9.js.map → provision-supervisor-CeQTPHRr.js.map} +1 -1
  39. package/dist/{run-cancellation-CqF01-zj.js → run-cancellation-D_4vJ522.js} +3 -3
  40. package/dist/{run-cancellation-CqF01-zj.js.map → run-cancellation-D_4vJ522.js.map} +1 -1
  41. package/dist/{run-state-CeMgqULw.js → run-state-CTZVngI_.js} +24 -18
  42. package/dist/run-state-CTZVngI_.js.map +1 -0
  43. package/dist/{runtime-CBt8PWn5.js → runtime-COm9uBBx.js} +16 -16
  44. package/dist/{runtime-CBt8PWn5.js.map → runtime-COm9uBBx.js.map} +1 -1
  45. package/dist/{scope-BF3RUg3U.js → scope-gIYQ5ZiL.js} +14 -9
  46. package/dist/{scope-BF3RUg3U.js.map → scope-gIYQ5ZiL.js.map} +1 -1
  47. package/dist/{search-executor-CoLgtigZ.js → search-executor-DTEIl58w.js} +3 -3
  48. package/dist/{search-executor-CoLgtigZ.js.map → search-executor-DTEIl58w.js.map} +1 -1
  49. package/dist/{server-Dv_wLT9_.js → server-zO9Nz9Nk.js} +3 -3
  50. package/dist/{server-Dv_wLT9_.js.map → server-zO9Nz9Nk.js.map} +1 -1
  51. package/dist/{settle-record-DTh0cvF-.js → settle-record-U7fkQEZa.js} +2 -2
  52. package/dist/{settle-record-DTh0cvF-.js.map → settle-record-U7fkQEZa.js.map} +1 -1
  53. package/dist/{structural-rollout-ccetqcnq.js → structural-rollout-BwTwTUXF.js} +3 -3
  54. package/dist/{structural-rollout-ccetqcnq.js.map → structural-rollout-BwTwTUXF.js.map} +1 -1
  55. package/dist/{supervise-BMqPWSv7.js → supervise-tmqDU6YT.js} +6 -6
  56. package/dist/{supervise-BMqPWSv7.js.map → supervise-tmqDU6YT.js.map} +1 -1
  57. package/dist/{supervision-discovery-mF3cWh36.js → supervision-discovery-CGbXayGv.js} +3 -3
  58. package/dist/{supervision-discovery-mF3cWh36.js.map → supervision-discovery-CGbXayGv.js.map} +1 -1
  59. package/dist/{supervisor-CigTbS9A.js → supervisor-1A27fE6k.js} +3 -3
  60. package/dist/{supervisor-CigTbS9A.js.map → supervisor-1A27fE6k.js.map} +1 -1
  61. package/dist/testing.d.ts +1 -1
  62. package/dist/testing.js +11 -11
  63. package/dist/{top-web-DBhkr1lN.js → top-web-CS4PD4ck.js} +6 -6
  64. package/dist/{top-web-DBhkr1lN.js.map → top-web-CS4PD4ck.js.map} +1 -1
  65. package/dist/tui/bin.js +3 -3
  66. package/dist/tui/index.d.ts +1 -1
  67. package/dist/tui/index.js +2 -2
  68. package/dist/{types-DmJTtmgm.d.ts → types-w3Oo1uRJ.d.ts} +4 -2
  69. package/package.json +1 -1
  70. package/dist/jsonl-file-BeUa5EDx.js.map +0 -1
  71. package/dist/run-state-CeMgqULw.js.map +0 -1
@@ -1,16 +1,16 @@
1
- import { $r as linkAbort, At as scopeOwnerExecutorNodeContext, Bt as scopeRetainedOwnerRestorePoint, Ct as scopeRetainedOwnerResult, Dt as recordScopeOwnerMaterialization, En as WORKER_TRACE_PROPAGATION, Er as recordRuntimeOwnedDriveHarnessProviderEvidence, Et as noteScopeOwnerPlannedExecution, Fr as runtimeOwnedPendingExecutorMaterialization, Ft as beginScopeRetainedOwnerDrive, Gt as scopeRetainedOwnerContext, Hr as isRuntimeFlowBrain, In as createOtelExporter, K as assertRecursiveReservationPolicy, Kt as scopeRetainedOwnerJournalRoot, Lr as runtimeOwnedScopeOwnerRuntime, Lt as scopeRetainedOwnerTurnEnded, Mr as runtimeOwnedExecutorExecutionBinding, Mt as coordinationProfileToolPrefix, Nr as runtimeOwnedExecutorMaterialization, Nt as providerVisibleProfile, Ot as restoreScopeOwnerAcceptedExecution, Pr as runtimeOwnedExecutorProviderEvidence, Pt as runtimeGraphMetadataKey, Rn as generateSpanId, Rt as assertRetainedOwnerCoordinationRekey, St as scopeRetainedOwnerPriorSpend, Tr as providerAttemptEvidence, Ur as runtimeFlowAgent, Ut as bindScopeRetainedOwnerEnvironmentId, Vt as noteScopeRetainedOwnerCoordination, Wr as runtimeFlowBrain, Wt as bindScopeRetainedOwnerProvider, Xn as persistHarnessTranscript, Zn as readHarnessTranscript, Zr as RunCancellationReason, _r as attestRuntimeOwnedScopeOwner, a as readRootStream, an as executorObservationSeamKey, at as recordScopeOwnerPause, bt as consumeScopeRetainedOwnerResult, cr as SEAT_RECHECK_MS, dr as authoredSeatStages, ei as runAbortable, et as meterRuntimeOwnedAccounting, fr as seatExecutionProfile, gt as scopeRetainedOwnerResourceReader, ht as releaseScopeRetainedOwnerForSeatPause, it as recordScopeOwnerDriverAttempt, j as parseWorkerToolTraceArtifact, jr as runtimeOwnedDriveHarnessProviderEvidence, jt as coordinationMcpAlias, kt as scopeOwnerExecutionObservation, lr as SeatChain, mt as prepareScopeRetainedOwnerSeatSwitch, n as ROOT_STREAM_FILE, nt as pauseScopeSeatAdmission, or as isLiveNodeStatus, r as createRootStreamSink, rr as createActivityLog, rt as recordScopeOwnerBarrenPause, sr as isTerminalNodeStatus, tt as meterRuntimeOwnedProviderAttempt, ur as SeatPauseError, vr as authoredAgentIdentity, wt as beginScopeOwnerAttempt, xt as prepareScopeRetainedOwnerTask, yt as abandonScopeRetainedOwnerInvocation, zt as reconcileScopeRetainedOwnerEnvironment } from "./scope-BF3RUg3U.js";
1
+ import { $r as linkAbort, At as scopeOwnerExecutorNodeContext, Bt as scopeRetainedOwnerRestorePoint, Ct as scopeRetainedOwnerResult, Dt as recordScopeOwnerMaterialization, En as WORKER_TRACE_PROPAGATION, Er as recordRuntimeOwnedDriveHarnessProviderEvidence, Et as noteScopeOwnerPlannedExecution, Fr as runtimeOwnedPendingExecutorMaterialization, Ft as beginScopeRetainedOwnerDrive, Gt as scopeRetainedOwnerContext, Hr as isRuntimeFlowBrain, In as createOtelExporter, K as assertRecursiveReservationPolicy, Kt as scopeRetainedOwnerJournalRoot, Lr as runtimeOwnedScopeOwnerRuntime, Lt as scopeRetainedOwnerTurnEnded, Mr as runtimeOwnedExecutorExecutionBinding, Mt as coordinationProfileToolPrefix, Nr as runtimeOwnedExecutorMaterialization, Nt as providerVisibleProfile, Ot as restoreScopeOwnerAcceptedExecution, Pr as runtimeOwnedExecutorProviderEvidence, Pt as runtimeGraphMetadataKey, Rn as generateSpanId, Rt as assertRetainedOwnerCoordinationRekey, St as scopeRetainedOwnerPriorSpend, Tr as providerAttemptEvidence, Ur as runtimeFlowAgent, Ut as bindScopeRetainedOwnerEnvironmentId, Vt as noteScopeRetainedOwnerCoordination, Wr as runtimeFlowBrain, Wt as bindScopeRetainedOwnerProvider, Xn as persistHarnessTranscript, Zn as readHarnessTranscript, Zr as RunCancellationReason, _r as attestRuntimeOwnedScopeOwner, a as readRootStream, an as executorObservationSeamKey, at as recordScopeOwnerPause, bt as consumeScopeRetainedOwnerResult, cr as SEAT_RECHECK_MS, dr as authoredSeatStages, ei as runAbortable, et as meterRuntimeOwnedAccounting, fr as seatExecutionProfile, gt as scopeRetainedOwnerResourceReader, ht as releaseScopeRetainedOwnerForSeatPause, it as recordScopeOwnerDriverAttempt, j as parseWorkerToolTraceArtifact, jr as runtimeOwnedDriveHarnessProviderEvidence, jt as coordinationMcpAlias, kt as scopeOwnerExecutionObservation, lr as SeatChain, mt as prepareScopeRetainedOwnerSeatSwitch, n as ROOT_STREAM_FILE, nt as pauseScopeSeatAdmission, or as isLiveNodeStatus, r as createRootStreamSink, rr as createActivityLog, rt as recordScopeOwnerBarrenPause, sr as isTerminalNodeStatus, tt as meterRuntimeOwnedProviderAttempt, ur as SeatPauseError, vr as authoredAgentIdentity, wt as beginScopeOwnerAttempt, xt as prepareScopeRetainedOwnerTask, yt as abandonScopeRetainedOwnerInvocation, zt as reconcileScopeRetainedOwnerEnvironment } from "./scope-gIYQ5ZiL.js";
2
2
  import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } from "./errors-AzSuGI23.js";
3
3
  import { A as withBudgetResources, D as addResourceSpend, I as armDeadlineTimer, P as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, S as unmeteredSpend, T as zeroSpend, V as teardownExecutor, c as errorMessage, f as isAsyncIterable, i as chargedTokens, k as resourceTelemetry, m as promptCacheTokenClasses, n as addSpend, v as sleep, w as withTimeout, z as isDeadlineAbortReason } from "./util-C_cdPNC4.js";
4
4
  import { $ as assertValidBudget, C as jitteredMs, D as unavailableResumeAt, E as unavailablePauseMs, L as turnFailureOf, M as contentAddress, P as executorFailure, Q as spendFromUsageTotals, R as turnFailurePolicy, S as cappedDoublingMs, T as reportedResetAt, X as newUsageTotals, Y as meterUsageEvent, _ as registerRetainedExecutorPreparation, u as RetainedExecutionPendingError, wt as recordValue, y as retainedExecutorSeamKey } from "./failure-cause-BzjUUsRz.js";
5
5
  import { a as errMessage, c as errorText, i as causeChain, l as defaultRedactor, n as detachedSnapshot, o as errorHttpStatus } from "./snapshot-Cgj2Wzi6.js";
6
- import { $t as renderUnsupported, B as createRouterTranscript, C as createExecutor, Ct as bestComposite, F as codeModeArguments, Gt as assertProfileMaterialization, I as codeModeModelOutput, Jt as defineProfileMaterializationContract, L as createCodeModeTools, Lt as bridgeRuntimeAttachmentsKey, Ot as bridgeAdmissionRefusal, Qt as promptModelProfileMaterialization, Rt as bridgeStopSignalKey, S as captureReusableExecutorConfig, St as admitContinuationPolicy, Tt as createContinuationKeeper, U as resolveAgentEnvironmentProvider, V as routerBrain, X as createInbox, Xt as profileMaterializationAxes$1, Y as INBOX_RECEIPT_KEY, Yt as fullProfileMaterialization, Zt as promptControlProfileMaterialization, _t as gateFactoryOnDeliverable, a as assertRunParking, c as sleepScopeWait, ct as HarnessTurnFailedError, d as runFinalizer, dt as summarizeDriverAttempts, et as PEER_MAIL_WIRE_KEY, f as runTree, ft as transientFailureKind, g as isDriverSpec, gt as CheckUnavailableError, h as driverExecutorFactory, ht as preflightPublicCoordination, i as RunParkedError, kt as bridgeModelRouteRefusal, l as withRunParking, lt as abandonablePending, m as driverChild, mt as upstreamUnavailableSignal, n as createSupervisor, nn as unsupportedProfileDimensions, o as bindScopeParkingDrain, p as createRootHandle, pt as undispatchedCredentialExit, qt as controlProfileMaterialization, rn as worktreeCliProfileMaterialization, rt as isPeerMailEnvelope, st as DriverAttemptsExhaustedError, tn as sandboxProfileMaterialization, u as bestDelivered, ut as classifyDriverFailure, w as snapshotExecutorConfig, wt as checkVerdictOf, x as bindReusableExecutorExecutionId, xt as CONTINUATIONS_DIR, z as toolResultText } from "./supervisor-CigTbS9A.js";
6
+ import { $t as renderUnsupported, B as createRouterTranscript, C as createExecutor, Ct as bestComposite, F as codeModeArguments, Gt as assertProfileMaterialization, I as codeModeModelOutput, Jt as defineProfileMaterializationContract, L as createCodeModeTools, Lt as bridgeRuntimeAttachmentsKey, Ot as bridgeAdmissionRefusal, Qt as promptModelProfileMaterialization, Rt as bridgeStopSignalKey, S as captureReusableExecutorConfig, St as admitContinuationPolicy, Tt as createContinuationKeeper, U as resolveAgentEnvironmentProvider, V as routerBrain, X as createInbox, Xt as profileMaterializationAxes$1, Y as INBOX_RECEIPT_KEY, Yt as fullProfileMaterialization, Zt as promptControlProfileMaterialization, _t as gateFactoryOnDeliverable, a as assertRunParking, c as sleepScopeWait, ct as HarnessTurnFailedError, d as runFinalizer, dt as summarizeDriverAttempts, et as PEER_MAIL_WIRE_KEY, f as runTree, ft as transientFailureKind, g as isDriverSpec, gt as CheckUnavailableError, h as driverExecutorFactory, ht as preflightPublicCoordination, i as RunParkedError, kt as bridgeModelRouteRefusal, l as withRunParking, lt as abandonablePending, m as driverChild, mt as upstreamUnavailableSignal, n as createSupervisor, nn as unsupportedProfileDimensions, o as bindScopeParkingDrain, p as createRootHandle, pt as undispatchedCredentialExit, qt as controlProfileMaterialization, rn as worktreeCliProfileMaterialization, rt as isPeerMailEnvelope, st as DriverAttemptsExhaustedError, tn as sandboxProfileMaterialization, u as bestDelivered, ut as classifyDriverFailure, w as snapshotExecutorConfig, wt as checkVerdictOf, x as bindReusableExecutorExecutionId, xt as CONTINUATIONS_DIR, z as toolResultText } from "./supervisor-1A27fE6k.js";
7
7
  import { _ as agentHarness, a as concreteProfileModel, c as profileModelExecutionSettings, l as profileProviderModel, n as assertModelAllowed, o as enforceTokenLimits, r as assertProfileModelsAllowed, s as profileBridgeWireModel, t as assertExecutableAgentProfile, v as harnessRunsAgent } from "./model-policy-JOcg3NRs.js";
8
8
  import { n as createStdioToolServer } from "./tool-server-B9q2dtnW.js";
9
9
  import { t as composeRuntimeHooks } from "./runtime-hooks-CsW2pfFk.js";
10
- import { _ as workerAssignmentNamespace, c as writeRunCancellation, d as coordinationEventId, f as externalExecutionId, g as supervisionRunNamespace, h as rootCoordinationOwner, i as readRunCancellation, l as canonicalExecution, m as freezeDetachedProfile, p as freezeDetached, r as readRunCancelRequest, s as watchRunCancellation, t as applyRunCancellation, u as childCoordinationOwner } from "./run-cancellation-CqF01-zj.js";
11
- import { c as createSteerAcknowledger, d as coordinationVerbNames, f as createFileRunContext, l as budgetOverspendText, m as withRunContext, n as createCoordinationToolsForManager, p as createInMemoryRunContext, s as createCancelAcknowledger, t as createCoordinationTools, u as normalizeAnalyzeOnSettle } from "./coordination-manager-Cow3jgu1.js";
10
+ import { _ as workerAssignmentNamespace, c as writeRunCancellation, d as coordinationEventId, f as externalExecutionId, g as supervisionRunNamespace, h as rootCoordinationOwner, i as readRunCancellation, l as canonicalExecution, m as freezeDetachedProfile, p as freezeDetached, r as readRunCancelRequest, s as watchRunCancellation, t as applyRunCancellation, u as childCoordinationOwner } from "./run-cancellation-D_4vJ522.js";
11
+ import { c as createSteerAcknowledger, d as coordinationVerbNames, f as createFileRunContext, l as budgetOverspendText, m as withRunContext, n as createCoordinationToolsForManager, p as createInMemoryRunContext, s as createCancelAcknowledger, t as createCoordinationTools, u as normalizeAnalyzeOnSettle } from "./coordination-manager-D9z7To7p.js";
12
12
  import { o as safeJsonText } from "./coordination-map-routing-CKRNZSaV.js";
13
- import { a as graphRegistry, c as loadGraph } from "./graph-registry-DbCwfHMY.js";
13
+ import { a as graphRegistry, c as loadGraph } from "./graph-registry-7X2nrreR.js";
14
14
  import { ATTR, LINK_KIND_ATTR, agentIdentityAttributes } from "@tangle-network/agent-trace-contract";
15
15
  import { ProxySecretScopeSchema, ProxySecretsSchema, agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, canonicalCandidateJson, mergeProxySecretBindings, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
16
16
  import { toolSpansToTraceAnalysisStore } from "@tangle-network/agent-eval";
@@ -9407,4 +9407,4 @@ function superviseWithContext(profile, task, opts, brain) {
9407
9407
  }
9408
9408
  export { dumbContinuationPassPrompt as A, areaUnderCurve as B, defaultEdgeTraversalCap as C, createPromptRegistry as D, analyzesFindingsReportPrompt as E, allWorkersStalled as F, plateauLength as H, anyOf as I, noProgressFor as L, kernelPromptRegistry as M, naiveContinuationPrompt as N, delegatesWorkerBriefPrompt as O, promptHandle as P, plateau as R, validateFlowGraph as S, validateGraphTopology as T, renderAnytimeTable as U, bestSoFar as V, createSupervisorSpanRecorder as W, GraphRouteError as _, superviseRootProfile as a, journaledGateDecider as b, supervisorAgentWithTestBrain as c, composeReentryTask as d, serveCoordinationMcp as f, createGraphOverlay as g, runBrainLoop as h, profileGuidanceComposer as i, formatPromptHandle as j, dumbContinuationFailPrompt as k, runToolSpans as l, driverAgent as m, superviseFleetCapabilities as n, workerFromBackend as o, coordinationControlToolNames as p, superviseWithTestBrain as r, supervisorAgent as s, supervise as t, UNPROVEN_CONTINUITY as u, createFlowRun as v, graphRootProfile as w, routeFlowOf as x, flowRootProfile as y, anytimeReport as z };
9409
9409
 
9410
- //# sourceMappingURL=supervise-BMqPWSv7.js.map
9410
+ //# sourceMappingURL=supervise-tmqDU6YT.js.map