@tangle-network/agent-runtime 0.262.0 → 0.263.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-CozZXBTg.d.ts → activation-DJlWM1JN.d.ts} +2 -2
- package/dist/{activation-C0AoYRgS.js → activation-D_sIIewf.js} +2 -2
- package/dist/{activation-C0AoYRgS.js.map → activation-D_sIIewf.js.map} +1 -1
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-COGC8FK2.js → coordination-driver-L9zH0kBx.js} +2 -2
- package/dist/{coordination-driver-COGC8FK2.js.map → coordination-driver-L9zH0kBx.js.map} +1 -1
- package/dist/{delegate-BC7Au73v.js → delegate-Cv-w2WgY.js} +2 -2
- package/dist/{delegate-BC7Au73v.js.map → delegate-Cv-w2WgY.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +2 -2
- package/dist/{graph-DgODOGWN.js → graph-Cusg4eAx.js} +3 -3
- package/dist/{graph-DgODOGWN.js.map → graph-Cusg4eAx.js.map} +1 -1
- package/dist/{improvement-cycle-DirqO-fX.js → improvement-cycle-_IPwoII2.js} +3 -3
- package/dist/{improvement-cycle-DirqO-fX.js.map → improvement-cycle-_IPwoII2.js.map} +1 -1
- package/dist/{index-B8tXCisZ.d.ts → index-DLYBQFyl.d.ts} +4 -4
- package/dist/index.d.ts +6 -6
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +3 -3
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +4 -4
- package/dist/kernel.js +9 -9
- package/dist/{loop-runner-bin-BaZd1XIm.d.ts → loop-runner-bin-BL8--Dzr.d.ts} +3 -3
- package/dist/{loop-runner-bin-C9P1ELVv.js → loop-runner-bin-NWPIxiix.js} +3 -3
- package/dist/{loop-runner-bin-C9P1ELVv.js.map → loop-runner-bin-NWPIxiix.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 +5 -5
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-CHwN_S24.d.ts → openai-tools-B9x50W9Y.d.ts} +2 -2
- package/dist/profiles.d.ts +2 -2
- package/dist/{provision-supervisor-9FMwo-Es.js → provision-supervisor-CIKvsWDa.js} +3 -3
- package/dist/{provision-supervisor-9FMwo-Es.js.map → provision-supervisor-CIKvsWDa.js.map} +1 -1
- package/dist/{runtime-BXWVW51r.js → runtime-4NuCVO6X.js} +8 -8
- package/dist/{runtime-BXWVW51r.js.map → runtime-4NuCVO6X.js.map} +1 -1
- package/dist/{server-6g6KFwUC.js → server-BnYImvnx.js} +3 -3
- package/dist/{server-6g6KFwUC.js.map → server-BnYImvnx.js.map} +1 -1
- package/dist/{stream-agent-turn-u28hoxuR.d.ts → stream-agent-turn-Y5rUc6Q-.d.ts} +2 -2
- package/dist/{structural-rollout-WEfWpjub.js → structural-rollout-Bq3PNAun.js} +2 -2
- package/dist/{structural-rollout-WEfWpjub.js.map → structural-rollout-Bq3PNAun.js.map} +1 -1
- package/dist/{substrate-BeQiXkpa.d.ts → substrate-Ce302oia.d.ts} +2 -2
- package/dist/{supervise-BeAI8-On.js → supervise-RF3_8PuR.js} +13 -4
- package/dist/supervise-RF3_8PuR.js.map +1 -0
- package/dist/{supervisor-BGGvnXvV.js → supervisor-BeW08Ncp.js} +179 -21
- package/dist/supervisor-BeW08Ncp.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/dist/{types-CP3iQ8Ji.d.ts → types-C-nszovv.d.ts} +72 -10
- package/package.json +1 -1
- package/dist/supervise-BeAI8-On.js.map +0 -1
- package/dist/supervisor-BGGvnXvV.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ci as
|
|
1
|
+
import { Ci as AgentRunSpec, Ki as OutputAdapter, Ti as Driver, Zi as Validator } from "./types-C-nszovv.js";
|
|
2
2
|
import { AgentProfile } from "@tangle-network/agent-interface";
|
|
3
3
|
//#region src/profiles/coder.d.ts
|
|
4
4
|
/**
|
|
@@ -281,4 +281,4 @@ interface UiFinding {
|
|
|
281
281
|
}
|
|
282
282
|
//#endregion
|
|
283
283
|
export { CoderTask as _, UiFindingSeverity as a, KnowledgeUpdate as c, ResearchSource as d, ResearchTask as f, researcherProfile as g, multiHarnessResearcherFanout as h, UiFindingScreenshot as i, MultiHarnessResearcherFanoutOptions as l, createResearcherValidator as m, UI_LENSES as n, UiLens as o, ResearcherProfileOptions as p, UiFinding as r, KnowledgeItem as s, UI_FINDING_SEVERITIES as t, ResearchOutput as u, coderTaskToPrompt as v };
|
|
284
|
-
//# sourceMappingURL=substrate-
|
|
284
|
+
//# sourceMappingURL=substrate-Ce302oia.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $n as runAbortable, B as prepareScopeRetainedOwnerTask, Bt as newUsageTotals, C as deriveNodeExecutionIdentity, Ci as runtimeOwnedScopeOwnerRuntime, Cr as toOtelAttributes, D as recordScopeOwnerPause, E as recordScopeOwnerMaterialization, G as scopeRetainedOwnerResult, Gr as fullProfileMaterialization, H as scopeRetainedOwnerContext, Hn as retainedExecutorSeamKey, Hr as assertProfileMaterialization, Ht as spendFromUsageTotals, In as resolveAgentEnvironmentProvider, Jr as promptModelProfileMaterialization, Kr as profileMaterializationAxes$1, L as bindScopeRetainedOwnerEnvironmentId, Lt as assertValidBudget, O as restoreScopeOwnerAcceptedExecution, On as routerBrain, Qi as sleep, Qn as linkAbort, Qr as renderUnsupported, Qt as createInbox, R as bindScopeRetainedOwnerProvider, Si as runtimeOwnedPendingExecutorMaterialization, T as meterRuntimeOwnedProviderAttempt, U as scopeRetainedOwnerPriorSpend, Ur as controlProfileMaterialization, Ut as WORKER_TRACE_PROPAGATION, V as reconcileScopeRetainedOwnerEnvironment, Vn as registerRetainedExecutorPreparation, W as scopeRetainedOwnerResourceReader, Wi as addSpend, Wr as defineProfileMaterializationContract, Xn as RunCancellationReason, _ as driverExecutorFactory, _i as recordRuntimeOwnedDriveHarnessProviderEvidence, _n as bridgeStopSignalKey, _t as snapshotExecutorConfig, aa as addResourceSpend, ai as prepareJsonlAppend, b as assertRecursiveReservationPolicy, bi as runtimeOwnedExecutorMaterialization, da as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, dn as bridgeModelRouteRefusal, dt as bindReusableExecutorExecutionId, ei as unsupportedProfileDimensions, f as defaultUnmetContractSteer, fi as inheritRuntimeOwnedExecutorAttestation, ft as captureReusableExecutorConfig, g as driverChild, gi as providerAttemptEvidence, gn as bridgeRuntimeAttachmentsKey, gr as createOtelExporter, ht as createExecutor, ia as zeroSpend, k as scopeOwnerExecutorNodeContext, ki as detachedSnapshot, li as attestRuntimeOwnedScopeOwner, ln as executorFailure, m as summarizeDriverAttempts, ma as teardownSurfaces, n as createSupervisor, na as unmeteredSpend, ni as worktreeCliProfileMaterialization, o as runFinalizer, oa as resourceTelemetry, oi as readCommittedJsonLines, or as contentAddress, ot as errMessage, p as runDriverWithRetry, pa as teardownExecutor, qr as promptControlProfileMaterialization, r as bestDelivered, ra as withTimeout, ri as isNoEntError, s as runTree, sa as withBudgetResources, t as createRootHandle, u as HarnessTurnFailedError, un as bridgeAdmissionRefusal, v as isDriverSpec, vi as runtimeOwnedDriveHarnessProviderEvidence, w as meterRuntimeOwnedAccounting, x as beginScopeOwnerAttempt, xi as runtimeOwnedExecutorProviderEvidence, yi as runtimeOwnedExecutorExecutionBinding, yr as generateSpanId, z as consumeScopeRetainedOwnerResult, zt as meterUsageEvent } from "./supervisor-BeW08Ncp.js";
|
|
2
2
|
import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } 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-BbSCSak0.js";
|
|
4
4
|
import { t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
|
|
5
5
|
import { n as assertNoSymlinkDescendant } from "./durable-file-DWQA4ooo.js";
|
|
6
6
|
import { n as createStdioToolServer, t as PROTOCOL_VERSION } from "./tool-server-x9NEhvHZ.js";
|
|
7
|
-
import { D as coordinationVerbNames, S as watchRunCancellation, c as createProgressTracker, d as progressStop, k as createCoordinationToolsForManager, n as createSteerAcknowledger, r as driverAgent, t as createCancelAcknowledger, v as createFileRunContext, w as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, x as applyRunCancellation, y as createInMemoryRunContext } from "./coordination-driver-
|
|
7
|
+
import { D as coordinationVerbNames, S as watchRunCancellation, c as createProgressTracker, d as progressStop, k as createCoordinationToolsForManager, n as createSteerAcknowledger, r as driverAgent, t as createCancelAcknowledger, v as createFileRunContext, w as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, x as applyRunCancellation, y as createInMemoryRunContext } from "./coordination-driver-L9zH0kBx.js";
|
|
8
8
|
import { k as writeRunCancellation, o as readRunCancelRequest, s as readRunCancellation } from "./run-layout-vwd4SwX_.js";
|
|
9
9
|
import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, canonicalCandidateJson, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
|
|
10
10
|
import { createHash, createHmac, randomBytes, randomUUID, timingSafeEqual } from "node:crypto";
|
|
@@ -1284,7 +1284,8 @@ function composeReentryTask(input) {
|
|
|
1284
1284
|
* only what to continue, spent all forty-five on the research.
|
|
1285
1285
|
*/
|
|
1286
1286
|
function whyLine(reentry) {
|
|
1287
|
-
|
|
1287
|
+
if (reentry.reason === "unmet-contract") return `Your previous turn ended with the completion check unmet (re-prompt ${reentry.reprompt}).`;
|
|
1288
|
+
return reentry.reason === "upstream-unavailable" ? "Your previous turn was interrupted before it finished; the run itself is intact." : `Your previous turn ended before it finished (retry ${reentry.retry}); the run itself is intact.`;
|
|
1288
1289
|
}
|
|
1289
1290
|
function environmentLine(continuity) {
|
|
1290
1291
|
if (continuity.environment === "same") return `You run in the same environment as before${continuity.environmentId === void 0 ? "" : ` (${continuity.environmentId})`}, and your files are where you left them.`;
|
|
@@ -2034,6 +2035,14 @@ function buildSupervisorAgent(profile, deps, testBrain) {
|
|
|
2034
2035
|
} } : {},
|
|
2035
2036
|
onAttempt: async (record) => {
|
|
2036
2037
|
loopRecords.push(record);
|
|
2038
|
+
if (record.classification === "unavailable" && record.retryInMs !== void 0) await recordScopeOwnerPause(scope, {
|
|
2039
|
+
attempt: record.attempt,
|
|
2040
|
+
signal: record.unavailableSignal ?? "unavailable",
|
|
2041
|
+
cause: record.error ?? "",
|
|
2042
|
+
attemptMs: record.durationMs,
|
|
2043
|
+
pauseMs: record.retryInMs,
|
|
2044
|
+
madeProgress: record.madeProgress
|
|
2045
|
+
});
|
|
2037
2046
|
await deps.onDriverAttempt?.(record);
|
|
2038
2047
|
}
|
|
2039
2048
|
});
|
|
@@ -4126,4 +4135,4 @@ function rootProviderModelEvidenceFromExecution(evidence) {
|
|
|
4126
4135
|
//#endregion
|
|
4127
4136
|
export { gateOnDeliverable as C, serveCoordinationMcp as S, readRootStream as _, superviseWithTestBrain as a, composeReentryTask as b, resolveWorkerSpawnRetry as c, assertCoordinationBinding as d, coordinationProfileToolPrefix as f, ROOT_STREAM_FILE as g, supervisorAgentWithTestBrain as h, superviseRootProfile as i, retryPreSpawnRefusals as l, supervisorAgent as m, profileGuidanceComposer as n, workerFromBackend as o, resolveSupervisorProfile as p, supervise as r, isPreSpawnExecutorFailure as s, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as t, withWorkerSpawnRetry as u, readRootStreamReceipt as v, mapExecutorResult as w, createSupervisorSpanRecorder as x, UNPROVEN_CONTINUITY as y };
|
|
4128
4137
|
|
|
4129
|
-
//# sourceMappingURL=supervise-
|
|
4138
|
+
//# sourceMappingURL=supervise-RF3_8PuR.js.map
|