@tangle-network/agent-runtime 0.326.1 → 0.327.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-DKBSwzzM.d.ts → activation-D4kme3Oh.d.ts} +2 -2
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +1 -1
- package/dist/{coordination-driver-CwisRZNE.js → coordination-driver-Cd0KpYoT.js} +9 -5
- package/dist/coordination-driver-Cd0KpYoT.js.map +1 -0
- package/dist/{delegate-SNxVKolU.js → delegate-C6qiH8ti.js} +2 -2
- package/dist/{delegate-SNxVKolU.js.map → delegate-C6qiH8ti.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +2 -2
- package/dist/{graph-C4kRA087.js → graph-7DxUifPo.js} +3 -3
- package/dist/{graph-C4kRA087.js.map → graph-7DxUifPo.js.map} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/intelligence.d.ts +2 -2
- package/dist/kernel.d.ts +1 -1
- package/dist/kernel.js +6 -6
- package/dist/{loop-runner-bin-CF57Yt4o.d.ts → loop-runner-bin-DKkrGTge.d.ts} +2 -2
- package/dist/{loop-runner-bin-7QRTmVT4.js → loop-runner-bin-DLiEuQAt.js} +2 -2
- package/dist/{loop-runner-bin-7QRTmVT4.js.map → loop-runner-bin-DLiEuQAt.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 +2 -2
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +3 -3
- package/dist/{openai-tools-DLcMbjQ1.d.ts → openai-tools-BTq7nLhg.d.ts} +2 -2
- package/dist/profiles.d.ts +1 -1
- package/dist/{provision-supervisor-Dckc-egc.js → provision-supervisor-BCpumw87.js} +2 -2
- package/dist/{provision-supervisor-Dckc-egc.js.map → provision-supervisor-BCpumw87.js.map} +1 -1
- package/dist/{runtime-DtG9pERP.js → runtime-CfBB9gRz.js} +6 -6
- package/dist/{runtime-DtG9pERP.js.map → runtime-CfBB9gRz.js.map} +1 -1
- package/dist/{server-Bu-aEHwV.js → server-vyi-BhWC.js} +2 -2
- package/dist/{server-Bu-aEHwV.js.map → server-vyi-BhWC.js.map} +1 -1
- package/dist/{supervise-DZMOajvP.js → supervise-Bso1hco7.js} +3 -3
- package/dist/supervise-Bso1hco7.js.map +1 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +11 -11
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-BFDS9hpV.d.ts → types-loG2Pvmj.d.ts} +4 -1
- package/package.json +3 -3
- package/dist/coordination-driver-CwisRZNE.js.map +0 -1
- package/dist/supervise-DZMOajvP.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $s as AgentTurnUsage, Ih as ExecutorConfig, US as OtelExportConfig, Xg as SharedBoxPlacementOptions, Yg as SharedBoxPlacement, ec as CollectedAgentTurn, jw as BudgetPool, kw as WorkerSlots } from "./types-
|
|
1
|
+
import { $s as AgentTurnUsage, Ih as ExecutorConfig, US as OtelExportConfig, Xg as SharedBoxPlacementOptions, Yg as SharedBoxPlacement, ec as CollectedAgentTurn, jw as BudgetPool, kw as WorkerSlots } from "./types-loG2Pvmj.js";
|
|
2
2
|
import { AgentCandidateBundle, AgentImprovementActivation, AgentImprovementActivationOutcome, AgentImprovementActivationResult, AgentImprovementActivationTarget, AgentImprovementProposal, AgentImprovementReview, AgentImprovementSurface, AgentProfile, AgentProfileImprovementChange, AgentProfileImprovementExperiment, AgentTrainingReceipt, AgentTrainingTask, HarnessType, ReasoningEffort, Sha256Digest } from "@tangle-network/agent-interface";
|
|
3
3
|
import { CostLedgerHandle, CostReceiptInput, MaximumCharge, PairedPromotionDecision, PendingCostCallView, ProposalFinding, RunRecord } from "@tangle-network/agent-eval";
|
|
4
4
|
import { CampaignCellResult, CampaignScenarioIdentity, CampaignStorage, CompareOptimizationMethodsOptions, OptimizationMethod, OptimizationMethodComparison, Scenario, SearchAllocator, SearchCellResult, SearchCellStage, SearchClaim, SearchClaimVerification, SearchHistoryReceipt, SearchLane, SearchModelIdentity, SearchPolicy, SearchSourceRef, SearchSplit, SearchStateView, SurfaceProposer, WorktreeAdapter } from "@tangle-network/agent-eval/campaign";
|
|
@@ -1013,4 +1013,4 @@ declare function verifyAgentImprovementActivationResult(input: {
|
|
|
1013
1013
|
declare function executeAgentImprovementActivation(input: ExecuteAgentImprovementActivationInput, options: ExecuteAgentImprovementActivationOptions): Promise<AgentImprovementActivationResult>;
|
|
1014
1014
|
//#endregion
|
|
1015
1015
|
export { ImproveScenarioPartitions as $, createCommandProfileTrainer as A, AgenticGeneratorShotReceipt as At, ImproveMethodContext as B, ControlledTrainingCommand as C, subscriptionLane as Ct, ProfileTrainerRequest as D, AgenticGeneratorOptions as Dt, ProfileTrainer as E, AgenticGeneratorExecutorForWorktree as Et, ImproveCodeResult as F, defaultBuildPrompt as Ft, ImproveMethodSource as G, ImproveMethodLineage as H, ImproveCodeRunOptions as I, CandidateGenerator as It, ImproveProfileAgent as J, ImproveOptimizationRunOptions as K, ImproveCost as L, ImproveCandidateValidator as M, VerifyResult as Mt, ImproveCodeBaseOptions as N, agenticGenerator as Nt, TrainingBoundaryResult as O, AgenticGeneratorShotDisposition as Ot, ImproveCodeOptions as P, commandVerifier as Pt, ImproveRuntimeCodeGeneratorOptions as Q, ImproveCustomCodeGeneratorOptions as R, CheckpointServingPort as S, sharedBoxLane as St, ImproveTrainingResult as T, ReadonlyAgentProfile as Tt, ImproveMethodOptions as U, ImproveMethodFactory as V, ImproveMethodResult as W, ImproveProfileSurface as X, ImproveProfileComponents as Y, ImproveResult as Z, SearchMethodOptions as _, SearchTraceOptions as _t, AgentImprovementActivationTransitionInput as a, ImproveSkillsOptions as at, SearchImprovementDecision as b, isSearchEnvironmentFault as bt, CreateAgentImprovementActivationResultOptions as c, ImprovementCodeCandidate as ct, ProfileImprovementActivationTransitionInput as d, SearchPromotion as dt, ImproveSearchAgent as et, SealedCandidateActivationTransitionInput as f, SearchCellContext as ft, improve as g, SearchLaneOptions as gt, verifyAgentImprovementActivationResult as h, SearchLaneKind as ht, AgentImprovementActivationTransition as i, ImproveSearchResult as it, ImproveCandidateValidationInput as j, Verifier as jt, TrainingDatasetDocument as k, AgenticGeneratorShotExecution as kt, ExecuteAgentImprovementActivationInput as l, ImprovementProfileCandidate as lt, executeAgentImprovementActivation as m, SearchLane$1 as mt, AgentImprovementActivationResultStore as n, ImproveSearchMethod as nt, AgentProfileImprovementActivationOperation as o, ImproveSurface as ot, createAgentImprovementActivationResult as p, SearchEnvironmentFault as pt, ImproveOptions as q, AgentImprovementActivationTargetPlan as r, ImproveSearchOptions as rt, AgentProfileImprovementActivationTargetPlan as s, ImprovementCandidate as st, AgentImprovementActivationReconciliation as t, ImproveSearchIdentity as tt, ExecuteAgentImprovementActivationOptions as u, SearchDispatchContext as ut, searchMethod as v, SharedBoxSearchLane as vt, ImproveTrainingOptions as w, DeepReadonly as wt, decideSearchImprovement as x, routerLane as xt, DecideSearchImprovementOptions as y, dedicatedLane as yt, ImproveLineage as z };
|
|
1016
|
-
//# sourceMappingURL=activation-
|
|
1016
|
+
//# sourceMappingURL=activation-D4kme3Oh.d.ts.map
|
package/dist/agent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Kw as AgentRunSpec, S as RuntimeStreamEvent, _T as SandboxClient, hT as OutputAdapter } from "./types-
|
|
1
|
+
import { Kw as AgentRunSpec, S as RuntimeStreamEvent, _T as SandboxClient, hT as OutputAdapter } from "./types-loG2Pvmj.js";
|
|
2
2
|
import { C as worktreeCliProfileMaterialization, S as validateProfileMaterialization, _ as promptModelProfileMaterialization, a as DefineProfileMaterializationContractOptions, b as renderProfileMaterializationIssues, c as ProfileMaterializationIssue, d as assertProfileMaterializes, f as controlProfileMaterialization, g as promptControlProfileMaterialization, h as profileMaterializationAxes, i as CanonicalAgentProfileMaterializationAxis, l as ValidateProfileMaterializationOptions, m as fullProfileMaterialization, n as AgentProfileMaterializationAxis, o as KnownAgentProfileMaterializationAxis, p as defineProfileMaterializationContract, r as AssertProfileMaterializationOptions, s as ProfileMaterializationContract, t as AGENT_PROFILE_MATERIALIZATION_AXES, u as assertProfileMaterialization, v as promptOnlyProfileMaterialization, x as sandboxActProfileMaterialization, y as promptResourceProfileMaterialization } from "./profile-materialization-BnoEf1co.js";
|
|
3
3
|
import { a as createSurfaceImprovementProposer, c as SurfaceValidationIssue, d as validateSurfaces, i as SurfaceImprovementEdit, l as renderSurfaceIssues, n as DraftPatchInput, o as AgentSurfaces, r as DraftPatchOutput, s as ResolvedSurface, t as CreateSurfaceImprovementProposerOptions, u as resolveSubjectPath } from "./improvement-adapter-D5gwwoXQ.js";
|
|
4
4
|
import { AgentProfile, AgentProfileFileMount, AgentProfileMcpServer } from "@tangle-network/agent-interface";
|
package/dist/agent.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Gr as defineProfileMaterializationContract, Hr as assertProfileMaterialization, Jr as promptControlProfileMaterialization, Kr as fullProfileMaterialization, Qr as renderProfileMaterializationIssues, Ur as assertProfileMaterializes, Vr as AGENT_PROFILE_MATERIALIZATION_AXES, Wi as mapSandboxEvent, Wr as controlProfileMaterialization, Xr as promptOnlyProfileMaterialization, Yr as promptModelProfileMaterialization, Zr as promptResourceProfileMaterialization, ei as sandboxActProfileMaterialization, hn as createSandboxForSpec, ii as worktreeCliProfileMaterialization, qr as profileMaterializationAxes, ri as validateProfileMaterialization } from "./supervisor-hIpqcCJr.js";
|
|
2
|
-
import "./runtime-
|
|
2
|
+
import "./runtime-CfBB9gRz.js";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import { existsSync, readFileSync, statSync } from "node:fs";
|
|
5
5
|
import { isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
@@ -2290,7 +2290,7 @@ function createCoordinationToolsForManager(opts, lifetime) {
|
|
|
2290
2290
|
task: { description: "The task the worker should perform." },
|
|
2291
2291
|
label: {
|
|
2292
2292
|
type: "string",
|
|
2293
|
-
description: "Optional trace label."
|
|
2293
|
+
description: "Optional trace label; defaults to the profile name."
|
|
2294
2294
|
},
|
|
2295
2295
|
key: {
|
|
2296
2296
|
type: "string",
|
|
@@ -2389,7 +2389,7 @@ function createCoordinationToolsForManager(opts, lifetime) {
|
|
|
2389
2389
|
successorOf,
|
|
2390
2390
|
preflightProfile: () => opts.resolveSpawnProfile ? detachedFrozen(opts.resolveSpawnProfile(profile)) : profile,
|
|
2391
2391
|
resourcesFromPath: resourcePaths.resolved,
|
|
2392
|
-
defaultLabel: "worker"
|
|
2392
|
+
defaultLabel: typeof profile.name === "string" && profile.name.length > 0 ? profile.name : "worker"
|
|
2393
2393
|
});
|
|
2394
2394
|
}
|
|
2395
2395
|
},
|
|
@@ -3411,11 +3411,15 @@ function createCoordinationToolsForManager(opts, lifetime) {
|
|
|
3411
3411
|
type: "settled",
|
|
3412
3412
|
worker: node.id
|
|
3413
3413
|
}))],
|
|
3414
|
-
unacknowledged: deliveries.filter((delivery) => !delivery.acknowledged).map((delivery) => ({
|
|
3414
|
+
unacknowledged: deliveries.filter((delivery) => !delivery.acknowledged && delivery.attempt !== driverAttempt).map((delivery) => ({
|
|
3415
3415
|
seq: delivery.record.seq,
|
|
3416
3416
|
type: delivery.record.event.type,
|
|
3417
3417
|
...eventWorker(delivery.record.event) === void 0 ? {} : { worker: eventWorker(delivery.record.event) },
|
|
3418
|
-
...delivery.attempt === void 0 ? {} : { attempt: delivery.attempt }
|
|
3418
|
+
...delivery.attempt === void 0 ? {} : { attempt: delivery.attempt },
|
|
3419
|
+
event: {
|
|
3420
|
+
...projectEvent(delivery.record.event),
|
|
3421
|
+
eventSeq: delivery.record.seq
|
|
3422
|
+
}
|
|
3419
3423
|
})),
|
|
3420
3424
|
...lastRejection === void 0 ? {} : { lastRejection }
|
|
3421
3425
|
});
|
|
@@ -5118,4 +5122,4 @@ function safeJson(v) {
|
|
|
5118
5122
|
//#endregion
|
|
5119
5123
|
export { ANALYST_DEFINITION_BOUNDS as A, createEventBus as B, createFileRunContext as C, foldCoordinationRecords as D, FileCoordinationLog as E, createCoordinationToolsForManager as F, watchTrace as H, downMessageRefusalReasons as I, normalizeAnalyzeOnSettle as L, canonicalFindingEvent as M, coordinationVerbNames as N, applyRunCancellation as O, createCoordinationTools as P, parseAuthoredAnalystDefinition as R, renderAnytimeTable as S, withRunContext as T, defaultToolDetectors as V, sampleFromSettled as _, DEFAULT_DEADLINE_WARNING_MS as a, bestSoFar as b, refreshedWake as c, allWorkersStalled as d, anyOf as f, progressStop as g, plateau as h, finalizeBestDelivered as i, analystToolGroupNames as j, watchRunCancellation as k, resolveWakePolicy as l, noProgressFor as m, createSteerAcknowledger as n, composeWakeInput as o, createProgressTracker as p, driverAgent as r, deadlineWarningAt as s, createCancelAcknowledger as t, allOf as u, anytimeReport as v, createInMemoryRunContext as w, plateauLength as x, areaUnderCurve as y, questionEscalationTargets as z };
|
|
5120
5124
|
|
|
5121
|
-
//# sourceMappingURL=coordination-driver-
|
|
5125
|
+
//# sourceMappingURL=coordination-driver-Cd0KpYoT.js.map
|