@tangle-network/agent-runtime 0.319.10 → 0.320.1
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-OColGsfd.d.ts → activation-BSwcsNSQ.d.ts} +2 -2
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +1 -1
- package/dist/{coordination-driver-CE01_us_.js → coordination-driver-D85RWATT.js} +18 -2
- package/dist/{coordination-driver-CE01_us_.js.map → coordination-driver-D85RWATT.js.map} +1 -1
- package/dist/{delegate-BptW384t.js → delegate-BHRR-4hh.js} +2 -2
- package/dist/{delegate-BptW384t.js.map → delegate-BHRR-4hh.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +1 -1
- package/dist/{graph-Bkcora6P.js → graph-BGMcJJP1.js} +3 -3
- package/dist/{graph-Bkcora6P.js.map → graph-BGMcJJP1.js.map} +1 -1
- package/dist/{index-Da7w2H86.d.ts → index-t672ISFX.d.ts} +4 -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-DRw76sWb.js → loop-runner-bin-CFudOt5T.js} +2 -2
- package/dist/{loop-runner-bin-DRw76sWb.js.map → loop-runner-bin-CFudOt5T.js.map} +1 -1
- package/dist/{loop-runner-bin-CbBoLC9D.d.ts → loop-runner-bin-Fgmf_PQU.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 +2 -2
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +3 -3
- package/dist/{openai-tools-Cu9E1Bda.d.ts → openai-tools-DCfdg0UD.d.ts} +2 -2
- package/dist/profiles.d.ts +1 -1
- package/dist/{provision-supervisor-Bs698TqJ.js → provision-supervisor-BUMhF1yb.js} +2 -2
- package/dist/{provision-supervisor-Bs698TqJ.js.map → provision-supervisor-BUMhF1yb.js.map} +1 -1
- package/dist/{runtime-SioKh3r_.js → runtime-B47V5Omi.js} +7 -7
- package/dist/{runtime-SioKh3r_.js.map → runtime-B47V5Omi.js.map} +1 -1
- package/dist/{server-BfEwCD55.js → server-Gpgr0WP-.js} +2 -2
- package/dist/{server-BfEwCD55.js.map → server-Gpgr0WP-.js.map} +1 -1
- package/dist/{supervise-Bj8U345y.js → supervise-C2ThvLgZ.js} +33 -4
- package/dist/supervise-C2ThvLgZ.js.map +1 -0
- package/dist/supervisor-CCtmmmOz.js.map +1 -1
- 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/package.json +1 -1
- package/skills/profile-authoring/SKILL.md +1 -1
- package/dist/supervise-Bj8U345y.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Fi as AgentTurnUsage, Ii as CollectedAgentTurn, OC as WorkerSlots, f_ as SharedBoxPlacement, ix as OtelExportConfig, p_ as SharedBoxPlacementOptions, rw as BudgetPool, ug as ExecutorConfig } from "./index-
|
|
1
|
+
import { Fi as AgentTurnUsage, Ii as CollectedAgentTurn, OC as WorkerSlots, f_ as SharedBoxPlacement, ix as OtelExportConfig, p_ as SharedBoxPlacementOptions, rw as BudgetPool, ug as ExecutorConfig } from "./index-t672ISFX.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-BSwcsNSQ.d.ts.map
|
package/dist/agent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ST as RuntimeStreamEvent, Uw as SandboxClient, Vw as OutputAdapter, vw as AgentRunSpec } from "./index-
|
|
1
|
+
import { ST as RuntimeStreamEvent, Uw as SandboxClient, Vw as OutputAdapter, vw as AgentRunSpec } from "./index-t672ISFX.js";
|
|
2
2
|
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";
|
|
3
3
|
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-C5-t3HJ7.js";
|
|
4
4
|
import { AgentProfile, AgentProfileFileMount, AgentProfileMcpServer } from "@tangle-network/agent-interface";
|
package/dist/agent.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ai as promptOnlyProfileMaterialization, Ci as assertProfileMaterializes, Di as profileMaterializationAxes, Ei as fullProfileMaterialization, Ii as validateProfileMaterialization, Li as worktreeCliProfileMaterialization, Mi as renderProfileMaterializationIssues, Oi as promptControlProfileMaterialization, Pi as sandboxActProfileMaterialization, Si as assertProfileMaterialization, Ti as defineProfileMaterializationContract, ji as promptResourceProfileMaterialization, ki as promptModelProfileMaterialization, ma as mapSandboxEvent, mn as createSandboxForSpec, wi as controlProfileMaterialization, xi as AGENT_PROFILE_MATERIALIZATION_AXES } from "./supervisor-CCtmmmOz.js";
|
|
2
|
-
import "./runtime-
|
|
2
|
+
import "./runtime-B47V5Omi.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";
|
|
@@ -3967,6 +3967,22 @@ function deadlineWarningAt(deadlineMs, policy, warned, startedAtMs) {
|
|
|
3967
3967
|
if (warned || deadlineMs <= 0 || policy.deadlineWarningMs <= 0) return void 0;
|
|
3968
3968
|
return deadlineMs - Math.min(policy.deadlineWarningMs, Math.max(0, deadlineMs - startedAtMs) / 4);
|
|
3969
3969
|
}
|
|
3970
|
+
/**
|
|
3971
|
+
* A wake brought up to date at dispatch. A retained turn starts only after the previous turn's
|
|
3972
|
+
* workspace capture, which took 25.8 minutes in test-retained-root-wake-20261014c; the wake
|
|
3973
|
+
* composed before that wait omitted the child that settled during it and still called it running.
|
|
3974
|
+
* `later` is what arrived since `earlier` was taken, or undefined when no work is open.
|
|
3975
|
+
*/
|
|
3976
|
+
function refreshedWake(earlier, later, heldMs) {
|
|
3977
|
+
const events = [...earlier.events, ...later?.events ?? []];
|
|
3978
|
+
return {
|
|
3979
|
+
reason: earlier.reason === "deadline" ? "deadline" : events.length > 0 ? "events" : earlier.reason,
|
|
3980
|
+
events,
|
|
3981
|
+
live: later?.live ?? [],
|
|
3982
|
+
freeSlots: later?.freeSlots ?? earlier.freeSlots,
|
|
3983
|
+
idleMs: earlier.idleMs + Math.max(0, heldMs)
|
|
3984
|
+
};
|
|
3985
|
+
}
|
|
3970
3986
|
/** The input a woken manager's next turn receives. */
|
|
3971
3987
|
function composeWakeInput(wake, context) {
|
|
3972
3988
|
const span = (ms) => ms < 12e4 ? `${Math.max(0, Math.round(ms / 1e3))} s` : `${Math.round(ms / 6e4)} min`;
|
|
@@ -4883,6 +4899,6 @@ function safeJson(v) {
|
|
|
4883
4899
|
}
|
|
4884
4900
|
}
|
|
4885
4901
|
//#endregion
|
|
4886
|
-
export {
|
|
4902
|
+
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 };
|
|
4887
4903
|
|
|
4888
|
-
//# sourceMappingURL=coordination-driver-
|
|
4904
|
+
//# sourceMappingURL=coordination-driver-D85RWATT.js.map
|