@tangle-network/agent-runtime 0.191.0 → 0.192.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.
- package/dist/{activation-BpTEBhQR.js → activation-D9WGuwcK.js} +2 -2
- package/dist/{activation-BpTEBhQR.js.map → activation-D9WGuwcK.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{authoring-DV0fkyxx.js → authoring-BzMyFv9z.js} +2 -2
- package/dist/{authoring-DV0fkyxx.js.map → authoring-BzMyFv9z.js.map} +1 -1
- package/dist/{coordination-driver-Bw0Prnim.js → coordination-driver-_wzRdIK_.js} +2 -2
- package/dist/{coordination-driver-Bw0Prnim.js.map → coordination-driver-_wzRdIK_.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +1 -1
- package/dist/{graph-BzsMtBYp.js → graph-y0AW_Txn.js} +2 -2
- package/dist/{graph-BzsMtBYp.js.map → graph-y0AW_Txn.js.map} +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/graph.js +3 -3
- package/dist/{improvement-cycle-jC89uaRW.js → improvement-cycle-BPyj98Id.js} +3 -3
- package/dist/{improvement-cycle-jC89uaRW.js.map → improvement-cycle-BPyj98Id.js.map} +1 -1
- package/dist/{index-B2rVjcPT.d.ts → index-B_fEqr5V.d.ts} +18 -1
- package/dist/{index-Y14IrBuB.d.ts → index-COznK4kB.d.ts} +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +7 -7
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +1 -1
- package/dist/kernel.js +8 -8
- package/dist/{knowledge-BuXP5ynd.js → knowledge-BIo_3VwO.js} +3 -3
- package/dist/{knowledge-BuXP5ynd.js.map → knowledge-BIo_3VwO.js.map} +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.js +1 -1
- package/dist/{loop-runner-bin-B_Xh4jLi.js → loop-runner-bin-C-FnTrM8.js} +3 -3
- package/dist/{loop-runner-bin-B_Xh4jLi.js.map → loop-runner-bin-C-FnTrM8.js.map} +1 -1
- package/dist/{loop-runner-bin-C2Yw-RBc.d.ts → loop-runner-bin-DiiZMHw7.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 +3 -3
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +5 -5
- package/dist/{openai-tools-Dqg8IhKd.js → openai-tools-PzShuaP4.js} +2 -2
- package/dist/{openai-tools-Dqg8IhKd.js.map → openai-tools-PzShuaP4.js.map} +1 -1
- package/dist/{provision-supervisor-DAcTZDQG.js → provision-supervisor-DkVH1f9I.js} +3 -3
- package/dist/{provision-supervisor-DAcTZDQG.js.map → provision-supervisor-DkVH1f9I.js.map} +1 -1
- package/dist/{redact-BP8Xn2A3.js → redact-h5zAxyNV.js} +98 -10
- package/dist/redact-h5zAxyNV.js.map +1 -0
- package/dist/{runtime-Dm63BrGY.js → runtime-1JqxyKDI.js} +29 -19
- package/dist/runtime-1JqxyKDI.js.map +1 -0
- package/dist/{structural-rollout-ChpGSR0q.js → structural-rollout-CunhVUWJ.js} +2 -2
- package/dist/{structural-rollout-ChpGSR0q.js.map → structural-rollout-CunhVUWJ.js.map} +1 -1
- package/dist/{supervise-B89x7rgF.js → supervise-Bx1Ps8xQ.js} +3 -3
- package/dist/{supervise-B89x7rgF.js.map → supervise-Bx1Ps8xQ.js.map} +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +12 -12
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/package.json +3 -3
- package/dist/redact-BP8Xn2A3.js.map +0 -1
- package/dist/runtime-Dm63BrGY.js.map +0 -1
|
@@ -7,17 +7,17 @@ import { i as redactProtectedValue, r as redactProtectedReason } from "./protect
|
|
|
7
7
|
import { l as notifySandboxEventObserver } from "./sandbox-events-DWeQRWxg.js";
|
|
8
8
|
import { n as executableAgentSpecSnapshot, t as executableAgentProfileSnapshot } from "./executable-spec-DxuiDFAU.js";
|
|
9
9
|
import { c as profileModelExecutionSettings, i as concreteModelId, l as profileProviderModel, o as enforceTokenLimits, t as assertExecutableAgentProfile } from "./model-policy-Wf2MxXJ9.js";
|
|
10
|
-
import { Bt as defaultSelectWinner, Ht as runAgentRounds, J as rollingDispatch, Jt as routerBrain, Kt as assertBoxlessPromptOptions, S as settledToIteration, Ut as createSandboxLineage, Wt as probeSandboxCapabilities, Xt as
|
|
10
|
+
import { Bt as defaultSelectWinner, Ht as runAgentRounds, J as rollingDispatch, Jt as routerBrain, Kt as assertBoxlessPromptOptions, S as settledToIteration, Ut as createSandboxLineage, Wt as probeSandboxCapabilities, Xt as canonicalObservedModelParts, Yt as runBrainLoop, a as createSupervisor, ct as createExecutor, dt as createWorktreeCliExecutor, h as withDriverExecutor, lt as createExecutorRegistry, qt as readPromptOptions, yt as createPushTraceSource } from "./redact-h5zAxyNV.js";
|
|
11
11
|
import "./environment-provider-DEwsolvi.js";
|
|
12
12
|
import { i as notifyRuntimeHookEvent } from "./runtime-hooks-tXpAarhW.js";
|
|
13
|
-
import { C as observe, O as strategyAuthorMethod, T as profileChatClient, b as sample, v as refine, x as sampleThenRefine, y as runAgentic } from "./structural-rollout-
|
|
14
|
-
import "./coordination-driver-
|
|
15
|
-
import { n as supervise, vt as gateOnDeliverable, yt as mapExecutorResult } from "./supervise-
|
|
13
|
+
import { C as observe, O as strategyAuthorMethod, T as profileChatClient, b as sample, v as refine, x as sampleThenRefine, y as runAgentic } from "./structural-rollout-CunhVUWJ.js";
|
|
14
|
+
import "./coordination-driver-_wzRdIK_.js";
|
|
15
|
+
import { n as supervise, vt as gateOnDeliverable, yt as mapExecutorResult } from "./supervise-Bx1Ps8xQ.js";
|
|
16
16
|
import "./run-layout-B8I_LXN-.js";
|
|
17
|
-
import "./provision-supervisor-
|
|
17
|
+
import "./provision-supervisor-DkVH1f9I.js";
|
|
18
18
|
import { t as assertAuthoredCode } from "./authored-code-DzYtiflw.js";
|
|
19
|
-
import "./authoring-
|
|
20
|
-
import "./graph-
|
|
19
|
+
import "./authoring-BzMyFv9z.js";
|
|
20
|
+
import "./graph-y0AW_Txn.js";
|
|
21
21
|
import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
|
|
22
22
|
import { CODING_HARNESSES, DEFAULT_TRACE_ANALYST_KINDS, InMemoryTraceStore, OUTPUT_VALUE, benjaminiHochberg, buildTrajectory, computeFindingId as computeFindingId$1, confidenceInterval, createTraceAnalyst, expandProfileAxes, makeFinding as makeFinding$1, pairedBootstrap, paretoFrontier, wilcoxonSignedRank, wilson } from "@tangle-network/agent-eval";
|
|
23
23
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -1112,29 +1112,33 @@ function collectProviderModels(evidence, validate) {
|
|
|
1112
1112
|
if (attempt === null || typeof attempt !== "object" || !Array.isArray(attempt.observations) || attempt.observations.length === 0 || attempt.identityConflict === true) return { kind: "unknown" };
|
|
1113
1113
|
let attemptBase;
|
|
1114
1114
|
let attemptSnapshot;
|
|
1115
|
+
let attemptSnapshotKind;
|
|
1115
1116
|
let representative;
|
|
1116
1117
|
for (const model of attempt.observations) {
|
|
1117
1118
|
if (typeof model !== "string" || !validate(model)) return { kind: "unknown" };
|
|
1118
|
-
const identity =
|
|
1119
|
+
const identity = canonicalObservedModelParts(model);
|
|
1119
1120
|
if (identity === void 0) return { kind: "unknown" };
|
|
1120
|
-
const
|
|
1121
|
-
const
|
|
1122
|
-
const snapshot = at < 0 ? void 0 : identity.slice(at + 1);
|
|
1121
|
+
const base = identity.base;
|
|
1122
|
+
const snapshot = identity.snapshot;
|
|
1123
1123
|
if (attemptBase !== void 0 && attemptBase !== base) return {
|
|
1124
1124
|
kind: "mixed",
|
|
1125
|
-
models: [.../* @__PURE__ */ new Set([...attemptBase ? [attemptBase] : [], identity])]
|
|
1126
|
-
};
|
|
1127
|
-
if (attemptSnapshot !== void 0 && snapshot !== void 0 && attemptSnapshot !== snapshot) return {
|
|
1128
|
-
kind: "mixed",
|
|
1129
|
-
models: [`${attemptBase}@${attemptSnapshot}`, `${base}@${snapshot}`]
|
|
1125
|
+
models: [.../* @__PURE__ */ new Set([...attemptBase ? [attemptBase] : [], identity.canonical])]
|
|
1130
1126
|
};
|
|
1127
|
+
if (attemptSnapshot !== void 0 && snapshot !== void 0 && (attemptSnapshot !== snapshot || attemptSnapshotKind !== identity.snapshotKind)) {
|
|
1128
|
+
if (attemptBase === void 0 || attemptSnapshotKind === void 0) return { kind: "unknown" };
|
|
1129
|
+
return {
|
|
1130
|
+
kind: "mixed",
|
|
1131
|
+
models: [attemptIdentityText(attemptBase, attemptSnapshot, attemptSnapshotKind), identity.canonical]
|
|
1132
|
+
};
|
|
1133
|
+
}
|
|
1131
1134
|
attemptBase = base;
|
|
1132
1135
|
attemptSnapshot ??= snapshot;
|
|
1136
|
+
attemptSnapshotKind ??= identity.snapshotKind;
|
|
1133
1137
|
if (snapshot !== void 0) representative = model;
|
|
1134
1138
|
observedRaw.add(model);
|
|
1135
1139
|
}
|
|
1136
|
-
if (attemptBase === void 0 || attemptSnapshot === void 0 || representative === void 0) return { kind: "unknown" };
|
|
1137
|
-
const attemptIdentity =
|
|
1140
|
+
if (attemptBase === void 0 || attemptSnapshot === void 0 || attemptSnapshotKind === void 0 || representative === void 0) return { kind: "unknown" };
|
|
1141
|
+
const attemptIdentity = attemptIdentityText(attemptBase, attemptSnapshot, attemptSnapshotKind);
|
|
1138
1142
|
observed.push({
|
|
1139
1143
|
raw: representative,
|
|
1140
1144
|
canonical: attemptIdentity
|
|
@@ -1156,6 +1160,9 @@ function collectProviderModels(evidence, validate) {
|
|
|
1156
1160
|
observed
|
|
1157
1161
|
};
|
|
1158
1162
|
}
|
|
1163
|
+
function attemptIdentityText(base, snapshot, kind) {
|
|
1164
|
+
return kind === "date" ? `${base}-${snapshot}` : `${base}@${snapshot}`;
|
|
1165
|
+
}
|
|
1159
1166
|
/** The Eval receipt surface has no pre-admitted per-model recursive-tree receipt bundle yet. */
|
|
1160
1167
|
var SupervisedTreeModelIdentityError = class extends Error {
|
|
1161
1168
|
constructor(identity) {
|
|
@@ -2990,9 +2997,12 @@ async function runPersonified(options) {
|
|
|
2990
2997
|
journal: options.journal ?? new InMemorySpawnJournal(),
|
|
2991
2998
|
blobs: options.blobs ?? new InMemoryResultBlobStore(),
|
|
2992
2999
|
executors,
|
|
3000
|
+
...options.rootIdentity !== void 0 ? { rootIdentity: options.rootIdentity } : {},
|
|
2993
3001
|
...options.maxDepth !== void 0 ? { maxDepth: options.maxDepth } : {},
|
|
3002
|
+
...options.maxLiveWorkers !== void 0 ? { maxLiveWorkers: options.maxLiveWorkers } : {},
|
|
2994
3003
|
...options.maxRestarts !== void 0 ? { maxRestarts: options.maxRestarts } : {},
|
|
2995
3004
|
...options.withinMs !== void 0 ? { withinMs: options.withinMs } : {},
|
|
3005
|
+
...options.resume !== void 0 ? { resume: options.resume } : {},
|
|
2996
3006
|
...options.now ? { now: options.now } : {},
|
|
2997
3007
|
...options.signal ? { signal: options.signal } : {},
|
|
2998
3008
|
...options.hooks ? { hooks: options.hooks } : {}
|
|
@@ -6340,4 +6350,4 @@ function tail(s) {
|
|
|
6340
6350
|
//#endregion
|
|
6341
6351
|
export { InMemoryCorpus as $, chatWorkerSeam as A, renderLeaderboardSvg as At, SandboxRunAbortError as B, mcpSecretEnvMetadataKey as Bt, withUntrackedArtifacts as C, deterministicCompletion as Ct, codeModeSupervisorTools as D, pairwiseSignificance as Dt, runCoderChecks as E, leaderboard as Et, selectChampion as F, connectStdioMcp as Ft, equalKOnCost as G, printBenchmarkReport as H, resolveSecretEnv as Ht, assertStrategyContract as I, materializeLocalMcp as It, runPersonified as J, trajectoryReport as K, authorStrategy as L, createMcpEnvironment as Lt, discriminatingMeans as M, auditIntent as Mt, pickChampion as N, defaultAuditorInstruction as Nt, unsafeInProcessRunner as O, renderLeaderboardHtml as Ot, runStrategyEvolution as P, McpSpawnFault as Pt, FileCorpus as Q, strategyAuthorContract as R, sanitizeMcpToolSchema as Rt, copyUntrackedIntoClone as S, completionAuthorizes as St, patchDelivered as T, stopSentinel as Tt, runBenchmark as U, secretEnvOfMcpServer as Ut, openSandboxRun as V, resolveMcpServerLaunch as Vt, promotionGate as W, createShapeRegistry as X, builtinShapes as Y, registerShape as Z, NOTE_MAX_CHARS as _, localSandboxClient as _t, localShell as a, pipeline as at, composeWorkerEvidence as b, loopDispatch as bt, createVerifierEnvironment as c, widen as ct, harvestSurfaceDiffs as d, createScopeAnalyst as dt, renderCorpusToInstructions as et, analystsFromRegistry as f, registryScopeAnalyst as ft, EVIDENCE_MAX_CHARS as g, resolveSandboxClient as gt, worktreeFanout as h, defineLeaderboard as ht, jjWorkspace as i, panel as it, createChatSessionStore as j, renderPairwiseMarkdown as jt, chatTransportExecutor as k, renderLeaderboardMarkdown as kt, boxSurfaceReader as l, assertTraceDerivedFindings as lt, superviseSurface as m, harvestCorpus as mt, makeFinding$1 as n, flatWidenGate as nt, runInWorkspace as o, selectValidWinner as ot, failuresAnalyst as p, inProcessSandboxClient as pt, definePersona as q, gitWorkspace as r, loopUntil as rt, createWaterfallCollector as s, verify as st, computeFindingId$1 as t, fanout as tt, fsSurfaceReader as u, buildSteerContext as ut, VERIFY_TAIL_CHARS as v, inlineSandboxClient as vt, analyzeTrace as w, sentinelCompletion as wt, settledWorkerOut as x, superviseDispatch as xt, closingWorkerNote as y, loopCampaignDispatch as yt, strategyAuthorSystemPrompt as z, envKeyProvider as zt };
|
|
6342
6352
|
|
|
6343
|
-
//# sourceMappingURL=runtime-
|
|
6353
|
+
//# sourceMappingURL=runtime-1JqxyKDI.js.map
|