@tangle-network/agent-runtime 0.325.7 → 0.325.9
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-BMsOQxMD.d.ts → activation-BZz9_4us.d.ts} +2 -2
- package/dist/{activation-CHJAawWa.js → activation-C86mtRRn.js} +3 -3
- package/dist/{activation-CHJAawWa.js.map → activation-C86mtRRn.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{bundle-KZGUQqRM.js → bundle-DqvlwhKP.js} +2 -2
- package/dist/{bundle-KZGUQqRM.js.map → bundle-DqvlwhKP.js.map} +1 -1
- package/dist/candidate-execution/index.js +5 -5
- package/dist/{coordination-driver-B2XzW5aV.js → coordination-driver-ByRQBBQ8.js} +3 -3
- package/dist/{coordination-driver-B2XzW5aV.js.map → coordination-driver-ByRQBBQ8.js.map} +1 -1
- package/dist/{delegate-9kDSjqbX.js → delegate-CBbwCU9w.js} +2 -2
- package/dist/{delegate-9kDSjqbX.js.map → delegate-CBbwCU9w.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +5 -5
- package/dist/{graph-CASFQmWd.js → graph-CK3QKy1-.js} +4 -4
- package/dist/{graph-CASFQmWd.js.map → graph-CK3QKy1-.js.map} +1 -1
- package/dist/{improvement-cycle-VPes2yY3.js → improvement-cycle-CdDFeDGF.js} +6 -6
- package/dist/{improvement-cycle-VPes2yY3.js.map → improvement-cycle-CdDFeDGF.js.map} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +9 -9
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +7 -7
- package/dist/kernel.d.ts +1 -1
- package/dist/kernel.js +9 -9
- package/dist/{loop-runner-bin-CzewdsxT.js → loop-runner-bin-CjIVrg_p.js} +3 -3
- package/dist/{loop-runner-bin-CzewdsxT.js.map → loop-runner-bin-CjIVrg_p.js.map} +1 -1
- package/dist/{loop-runner-bin-ECJA--ZN.d.ts → loop-runner-bin-UpYsI0iM.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 +2 -2
- package/dist/mcp/index.js +5 -5
- package/dist/{openai-tools-C_dJoluR.d.ts → openai-tools-BoHnTyO2.d.ts} +2 -2
- package/dist/{prepare-BrgoOJmU.js → prepare-0kTqt9qn.js} +3 -3
- package/dist/{prepare-BrgoOJmU.js.map → prepare-0kTqt9qn.js.map} +1 -1
- package/dist/{profile-ChWlsNCI.js → profile-DhZvQngF.js} +2 -2
- package/dist/{profile-ChWlsNCI.js.map → profile-DhZvQngF.js.map} +1 -1
- package/dist/profiles.d.ts +1 -1
- package/dist/{protected-model-port-CJzC-FRs.js → protected-model-port-CFQj32Lt.js} +4 -4
- package/dist/{protected-model-port-CJzC-FRs.js.map → protected-model-port-CFQj32Lt.js.map} +1 -1
- package/dist/{provision-supervisor-CN12VbBF.js → provision-supervisor-BfCUJugY.js} +4 -4
- package/dist/{provision-supervisor-CN12VbBF.js.map → provision-supervisor-BfCUJugY.js.map} +1 -1
- package/dist/{runtime-CpIVXSDx.js → runtime-BnRuJgCX.js} +109 -61
- package/dist/runtime-BnRuJgCX.js.map +1 -0
- package/dist/{sandbox-profile-compat-Dq7ujONv.js → sandbox-profile-compat-CVgQWb7T.js} +10 -7
- package/dist/{sandbox-profile-compat-Dq7ujONv.js.map → sandbox-profile-compat-CVgQWb7T.js.map} +1 -1
- package/dist/{search-executor-CWFISUJm.js → search-executor-Y4-qp_-x.js} +3 -3
- package/dist/{search-executor-CWFISUJm.js.map → search-executor-Y4-qp_-x.js.map} +1 -1
- package/dist/{server-C91JYr7S.js → server-Da3rQc8J.js} +4 -4
- package/dist/{server-C91JYr7S.js.map → server-Da3rQc8J.js.map} +1 -1
- package/dist/{supervise-ttbcgYgS.js → supervise-B2dC5dbY.js} +4 -4
- package/dist/{supervise-ttbcgYgS.js.map → supervise-B2dC5dbY.js.map} +1 -1
- package/dist/{supervisor-Crul0LFI.js → supervisor-BPbzMkTH.js} +2 -2
- package/dist/{supervisor-Crul0LFI.js.map → supervisor-BPbzMkTH.js.map} +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +14 -14
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-CTjiMrcF.d.ts → types-Ca5R4QXR.d.ts} +3 -1
- package/package.json +1 -1
- package/dist/runtime-CpIVXSDx.js.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { o as writeAtomicDurableFile } from "./durable-file-B_eJr6Mb.js";
|
|
2
|
-
import { $i as InMemoryResultBlobStore, Cn as assertBoxlessPromptOptions, En as runBrainLoop, Ft as createExecutorRegistry, Ki as notifySandboxEventObserver, Lt as createWorktreeCliExecutor, Pt as createExecutor, Ti as executableAgentSpecSnapshot, Tn as routerBrain, da as detachedFrozen, ea as InMemorySpawnJournal, fa as detachedSnapshot, gn as defaultSelectWinner, gt as mapExecutorResult, ht as gateOnDeliverable, j as settledToIteration, kt as verdictFromJudgeScore, mt as rollingDispatch, r as createSupervisor, rt as coordinationProfileToolPrefix, sa as isTraceAnalysisStore, ta as insideCursorNamespace, ua as contentAddress, v as withDriverExecutor, vn as runAgentRounds, wi as executableAgentProfileSnapshot, wn as readPromptOptions, yn as createSandboxLineage, yt as CheckUnavailableError } from "./supervisor-
|
|
2
|
+
import { $i as InMemoryResultBlobStore, Cn as assertBoxlessPromptOptions, En as runBrainLoop, Ft as createExecutorRegistry, Ki as notifySandboxEventObserver, Lt as createWorktreeCliExecutor, Pt as createExecutor, Ti as executableAgentSpecSnapshot, Tn as routerBrain, Yn as runAbortable, da as detachedFrozen, ea as InMemorySpawnJournal, fa as detachedSnapshot, gn as defaultSelectWinner, gt as mapExecutorResult, ht as gateOnDeliverable, j as settledToIteration, kt as verdictFromJudgeScore, mt as rollingDispatch, r as createSupervisor, rt as coordinationProfileToolPrefix, sa as isTraceAnalysisStore, ta as insideCursorNamespace, ua as contentAddress, v as withDriverExecutor, vn as runAgentRounds, wi as executableAgentProfileSnapshot, wn as readPromptOptions, yn as createSandboxLineage, yt as CheckUnavailableError } from "./supervisor-BPbzMkTH.js";
|
|
3
3
|
import { i as ConfigError, m as ValidationError, n as AnalystError, s as PlannerError } from "./errors-DodWX-cb.js";
|
|
4
|
-
import { B as runAgentic, G as observe, K as renderReport, U as ObservationError, V as sample, X as strategyAuthorMethod, a as reconcileInterruptedSearchCalls, c as searchExecutor, q as profileChatClient, r as dedicatedLane, x as runtimeShipDecision, z as refine } from "./search-executor-
|
|
5
|
-
import { $ as isAsyncIterable, Ct as armDeadlineTimer, F as canonicalCandidateDigest$1, G as chargedTokens, K as cloneSpend, M as markPutStreamVerified, Q as isAbortError, U as addSpend, V as sha256Bytes$1, X as fnv1a32Hex, Y as errorMessage, Z as hasCompleteCacheBreakdown, at as sleep, dt as zeroSpend, nt as randomSuffix, ot as stringifySafe, w as captureMaterializedWorkspace, x as WorkspaceScanLimitError, z as immutableCandidateValue } from "./sandbox-profile-compat-
|
|
4
|
+
import { B as runAgentic, G as observe, K as renderReport, U as ObservationError, V as sample, X as strategyAuthorMethod, a as reconcileInterruptedSearchCalls, c as searchExecutor, q as profileChatClient, r as dedicatedLane, x as runtimeShipDecision, z as refine } from "./search-executor-Y4-qp_-x.js";
|
|
5
|
+
import { $ as isAsyncIterable, Ct as armDeadlineTimer, F as canonicalCandidateDigest$1, G as chargedTokens, K as cloneSpend, M as markPutStreamVerified, Q as isAbortError, U as addSpend, V as sha256Bytes$1, X as fnv1a32Hex, Y as errorMessage, Z as hasCompleteCacheBreakdown, at as sleep, dt as zeroSpend, et as mapWithConcurrency, nt as randomSuffix, ot as stringifySafe, w as captureMaterializedWorkspace, x as WorkspaceScanLimitError, z as immutableCandidateValue } from "./sandbox-profile-compat-CVgQWb7T.js";
|
|
6
6
|
import { a as readCommittedJsonLines, i as readCommittedJsonFile, n as isNoEntError, o as upsertCommittedJsonLine, s as withJsonlFileLock, t as appendCommittedJsonLine } from "./jsonl-file-DBv31uPi.js";
|
|
7
7
|
import { c as profileModelExecutionSettings, i as concreteModelId, l as profileProviderModel, o as enforceTokenLimits, p as canonicalObservedModelParts, t as assertExecutableAgentProfile, v as harnessRunsAgent } from "./model-policy-CyCUwHed.js";
|
|
8
8
|
import { i as notifyRuntimeHookEvent } from "./runtime-hooks-tXpAarhW.js";
|
|
9
9
|
import { i as redactProtectedValue, r as redactProtectedReason } from "./protected-redaction-DFCeo4vg.js";
|
|
10
|
-
import { D as foldCoordinationRecords, w as createInMemoryRunContext } from "./coordination-driver-
|
|
11
|
-
import { r as supervise } from "./supervise-
|
|
10
|
+
import { D as foldCoordinationRecords, w as createInMemoryRunContext } from "./coordination-driver-ByRQBBQ8.js";
|
|
11
|
+
import { r as supervise } from "./supervise-B2dC5dbY.js";
|
|
12
12
|
import { a as graphRunsFor, d as recordGraphRun, i as graphRegistry, l as lookupGraph, p as taskShapeDigest, r as graphFromStored, t as digestOfGraph } from "./graph-registry-DAI6KNXB.js";
|
|
13
13
|
import "./run-layout-Cu8H7aeh.js";
|
|
14
|
-
import "./provision-supervisor-
|
|
15
|
-
import "./delegate-
|
|
16
|
-
import "./graph-
|
|
14
|
+
import "./provision-supervisor-BfCUJugY.js";
|
|
15
|
+
import "./delegate-CBbwCU9w.js";
|
|
16
|
+
import "./graph-CK3QKy1-.js";
|
|
17
17
|
import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, sha256Bytes, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
|
|
18
18
|
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";
|
|
19
19
|
import { createAgentRunOutcomeTracker } from "@tangle-network/sandbox/runtime";
|
|
@@ -4918,6 +4918,9 @@ const SHARD = /^[0-9a-f]{2}$/u;
|
|
|
4918
4918
|
const SAFE_NAMESPACE = /^[a-zA-Z0-9][a-zA-Z0-9._-]{0,127}$/u;
|
|
4919
4919
|
const RECEIPT_SCHEMA = "agent-runtime.private-cas-durable-receipt.v1";
|
|
4920
4920
|
const DURABLE_ATTEMPTS = 3;
|
|
4921
|
+
const DURABLE_STALL_MS = 12e4;
|
|
4922
|
+
const BUFFERED_BYTES_PER_MS = 256;
|
|
4923
|
+
const OFFLOAD_COPIES_AT_ONCE = 16;
|
|
4921
4924
|
async function realDirectory(path) {
|
|
4922
4925
|
const entry = await lstat(path);
|
|
4923
4926
|
if (!entry.isDirectory() || entry.isSymbolicLink()) throw new Error(`private CAS directory is not a real directory: ${path}`);
|
|
@@ -4972,7 +4975,8 @@ async function readLocal(path) {
|
|
|
4972
4975
|
function createPrivateCasArtifactPort(root, namespace, options = {}) {
|
|
4973
4976
|
if (!isAbsolute(root)) throw new Error("private CAS root must be absolute");
|
|
4974
4977
|
if (!SAFE_NAMESPACE.test(namespace) || namespace === "." || namespace === "..") throw new Error("private CAS namespace must be one safe identifier");
|
|
4975
|
-
const { durable, localBudgetBytes } = options;
|
|
4978
|
+
const { durable, localBudgetBytes, durableStallMs = DURABLE_STALL_MS } = options;
|
|
4979
|
+
if (!Number.isSafeInteger(durableStallMs) || durableStallMs <= 0) throw new Error("private CAS durableStallMs must be a positive integer");
|
|
4976
4980
|
if (localBudgetBytes !== void 0 && (durable === void 0 || !Number.isSafeInteger(localBudgetBytes) || localBudgetBytes < 0)) throw new Error("private CAS localBudgetBytes needs a durable store and a non-negative integer");
|
|
4977
4981
|
const store = join(resolve(root), "sha256");
|
|
4978
4982
|
const receipts = join(resolve(root), "durable", "sha256");
|
|
@@ -5014,23 +5018,42 @@ function createPrivateCasArtifactPort(root, namespace, options = {}) {
|
|
|
5014
5018
|
await rename(temporary, join(receipts, hex));
|
|
5015
5019
|
await syncDirectory(receipts);
|
|
5016
5020
|
};
|
|
5021
|
+
const watchAttempt = (idleMs, signal) => {
|
|
5022
|
+
const stall = new AbortController();
|
|
5023
|
+
let timer;
|
|
5024
|
+
const touch = () => {
|
|
5025
|
+
clearTimeout(timer);
|
|
5026
|
+
timer = setTimeout(() => stall.abort(/* @__PURE__ */ new Error(`durable copy moved no bytes for ${idleMs} ms`)), idleMs);
|
|
5027
|
+
};
|
|
5028
|
+
touch();
|
|
5029
|
+
const attempt = signal === void 0 ? stall.signal : AbortSignal.any([signal, stall.signal]);
|
|
5030
|
+
return {
|
|
5031
|
+
signal: attempt,
|
|
5032
|
+
touch,
|
|
5033
|
+
run: (act) => runAbortable(act, attempt, "private CAS durable copy was cancelled"),
|
|
5034
|
+
done: () => clearTimeout(timer)
|
|
5035
|
+
};
|
|
5036
|
+
};
|
|
5017
5037
|
const storeDurably = async (digest, bytes, signal) => {
|
|
5018
5038
|
let failure;
|
|
5019
5039
|
for (let attempt = 1; attempt <= DURABLE_ATTEMPTS; attempt++) {
|
|
5020
5040
|
signal?.throwIfAborted();
|
|
5041
|
+
const watch = watchAttempt(durableStallMs + Math.ceil(bytes.byteLength / BUFFERED_BYTES_PER_MS), signal);
|
|
5021
5042
|
try {
|
|
5022
|
-
await durable.put({
|
|
5043
|
+
await watch.run(() => durable.put({
|
|
5023
5044
|
namespace,
|
|
5024
5045
|
digest,
|
|
5025
5046
|
bytes,
|
|
5026
|
-
|
|
5027
|
-
});
|
|
5047
|
+
signal: watch.signal
|
|
5048
|
+
}));
|
|
5028
5049
|
await writeReceipt(digest, bytes.byteLength);
|
|
5029
5050
|
return;
|
|
5030
5051
|
} catch (error) {
|
|
5031
5052
|
failure = error;
|
|
5032
5053
|
if (signal?.aborted) throw error;
|
|
5033
5054
|
if (attempt < DURABLE_ATTEMPTS) await new Promise((settle) => setTimeout(settle, 1e3 * 4 ** (attempt - 1)));
|
|
5055
|
+
} finally {
|
|
5056
|
+
watch.done();
|
|
5034
5057
|
}
|
|
5035
5058
|
}
|
|
5036
5059
|
throw failure;
|
|
@@ -5074,15 +5097,22 @@ function createPrivateCasArtifactPort(root, namespace, options = {}) {
|
|
|
5074
5097
|
let failure;
|
|
5075
5098
|
for (let attempt = 1; attempt <= DURABLE_ATTEMPTS; attempt++) {
|
|
5076
5099
|
signal?.throwIfAborted();
|
|
5077
|
-
const
|
|
5100
|
+
const watch = watchAttempt(durableStallMs, signal);
|
|
5101
|
+
const chunks = readObject(path, ref, watch.signal);
|
|
5102
|
+
const pulled = (async function* () {
|
|
5103
|
+
for await (const chunk of chunks) {
|
|
5104
|
+
watch.touch();
|
|
5105
|
+
yield chunk;
|
|
5106
|
+
}
|
|
5107
|
+
})();
|
|
5078
5108
|
try {
|
|
5079
|
-
await durable.putStream({
|
|
5109
|
+
await watch.run(() => durable.putStream({
|
|
5080
5110
|
namespace,
|
|
5081
5111
|
digest,
|
|
5082
5112
|
byteLength,
|
|
5083
|
-
chunks,
|
|
5084
|
-
signal
|
|
5085
|
-
});
|
|
5113
|
+
chunks: pulled,
|
|
5114
|
+
signal: watch.signal
|
|
5115
|
+
}));
|
|
5086
5116
|
await writeReceipt(digest, byteLength);
|
|
5087
5117
|
return;
|
|
5088
5118
|
} catch (error) {
|
|
@@ -5090,6 +5120,7 @@ function createPrivateCasArtifactPort(root, namespace, options = {}) {
|
|
|
5090
5120
|
if (signal?.aborted) throw error;
|
|
5091
5121
|
if (attempt < DURABLE_ATTEMPTS) await new Promise((settle) => setTimeout(settle, 1e3 * 4 ** (attempt - 1)));
|
|
5092
5122
|
} finally {
|
|
5123
|
+
watch.done();
|
|
5093
5124
|
await chunks.return(void 0);
|
|
5094
5125
|
}
|
|
5095
5126
|
}
|
|
@@ -5108,10 +5139,13 @@ function createPrivateCasArtifactPort(root, namespace, options = {}) {
|
|
|
5108
5139
|
await offload(signal);
|
|
5109
5140
|
};
|
|
5110
5141
|
const uploading = /* @__PURE__ */ new Map();
|
|
5142
|
+
const waitFor = (copy, signal) => {
|
|
5143
|
+
const settled = copy.catch(() => void 0);
|
|
5144
|
+
return signal === void 0 ? settled : runAbortable(() => settled, signal, "private CAS wait for a copy in flight was cancelled");
|
|
5145
|
+
};
|
|
5111
5146
|
const copyOnce = async (sha, copy, signal) => {
|
|
5112
5147
|
for (let inflight = uploading.get(sha); inflight !== void 0; inflight = uploading.get(sha)) {
|
|
5113
|
-
await inflight
|
|
5114
|
-
signal?.throwIfAborted();
|
|
5148
|
+
await waitFor(inflight, signal);
|
|
5115
5149
|
if (await hasReceipt(sha)) return false;
|
|
5116
5150
|
}
|
|
5117
5151
|
const current = copy();
|
|
@@ -5125,52 +5159,66 @@ function createPrivateCasArtifactPort(root, namespace, options = {}) {
|
|
|
5125
5159
|
};
|
|
5126
5160
|
const sweep = async (signal) => {
|
|
5127
5161
|
const objects = await localObjects();
|
|
5128
|
-
const pending = [];
|
|
5129
|
-
let uploaded = 0;
|
|
5130
5162
|
let refusal;
|
|
5131
|
-
const
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
}
|
|
5139
|
-
if (durable === void 0)
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5163
|
+
const outcomes = await mapWithConcurrency(objects, durable === void 0 || durable.putStream && durable.getStream ? OFFLOAD_COPIES_AT_ONCE : 1, async ({ hex, path, size }) => {
|
|
5164
|
+
const inflight = uploading.get(hex);
|
|
5165
|
+
if (inflight !== void 0) await waitFor(inflight, signal);
|
|
5166
|
+
if (await hasReceipt(hex)) return {
|
|
5167
|
+
hex,
|
|
5168
|
+
durable: true,
|
|
5169
|
+
copied: false
|
|
5170
|
+
};
|
|
5171
|
+
if (durable === void 0) return {
|
|
5172
|
+
hex,
|
|
5173
|
+
durable: false
|
|
5174
|
+
};
|
|
5175
|
+
const digest = `sha256:${hex}`;
|
|
5176
|
+
if (refusal !== void 0) return {
|
|
5177
|
+
hex,
|
|
5178
|
+
durable: false,
|
|
5179
|
+
error: `not attempted after an earlier refusal: ${refusal}`
|
|
5180
|
+
};
|
|
5148
5181
|
try {
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5182
|
+
if (durable.putStream && durable.getStream) return {
|
|
5183
|
+
hex,
|
|
5184
|
+
durable: true,
|
|
5185
|
+
copied: await copyOnce(hex, () => streamDurably(digest, path, size, signal), signal)
|
|
5186
|
+
};
|
|
5187
|
+
const bytes = await readLocal(path);
|
|
5188
|
+
if (bytes === void 0) return {
|
|
5189
|
+
hex,
|
|
5190
|
+
durable: false
|
|
5191
|
+
};
|
|
5192
|
+
if (sha256(bytes) !== digest) return {
|
|
5193
|
+
hex,
|
|
5194
|
+
durable: false,
|
|
5195
|
+
error: "local object failed digest verification; it stays on the host"
|
|
5196
|
+
};
|
|
5197
|
+
return {
|
|
5198
|
+
hex,
|
|
5199
|
+
durable: true,
|
|
5200
|
+
copied: await copyOnce(hex, () => storeDurably(digest, bytes, signal), signal)
|
|
5201
|
+
};
|
|
5165
5202
|
} catch (error) {
|
|
5166
5203
|
if (signal?.aborted) throw error;
|
|
5167
|
-
refusal
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5204
|
+
refusal ??= message(error);
|
|
5205
|
+
return {
|
|
5206
|
+
hex,
|
|
5207
|
+
durable: false,
|
|
5208
|
+
error: message(error)
|
|
5209
|
+
};
|
|
5172
5210
|
}
|
|
5173
|
-
}
|
|
5211
|
+
});
|
|
5212
|
+
const pending = [];
|
|
5213
|
+
let uploaded = 0;
|
|
5214
|
+
const durableHex = /* @__PURE__ */ new Set();
|
|
5215
|
+
for (const outcome of outcomes) if (outcome.durable) {
|
|
5216
|
+
durableHex.add(outcome.hex);
|
|
5217
|
+
if (outcome.copied) uploaded++;
|
|
5218
|
+
} else if (outcome.error !== void 0) pending.push({
|
|
5219
|
+
digest: `sha256:${outcome.hex}`,
|
|
5220
|
+
error: outcome.error
|
|
5221
|
+
});
|
|
5174
5222
|
let localBytes = objects.reduce((total, object) => total + object.size, 0);
|
|
5175
5223
|
let evicted = 0;
|
|
5176
5224
|
if (localBudgetBytes !== void 0) for (const object of [...objects].sort((a, b) => a.modifiedMs - b.modifiedMs)) {
|
|
@@ -9302,4 +9350,4 @@ function tail(s) {
|
|
|
9302
9350
|
//#endregion
|
|
9303
9351
|
export { runBenchmark as $, McpSpawnFault as $t, connectRemoteSupervisor as A, inlineSandboxClient as At, chatTransportExecutor as B, runIsolatedCheck as Bt, analyzeTrace as C, observationFromRegistry as Ct, compileSearchSpec as D, defineLeaderboard as Dt, assertSearchSpec as E, harvestCorpus as Et, profileRunsForName as F, checkProgramDigest as Ft, assertStrategyContract as G, leaderboard as Gt, createChatSessionStore as H, deterministicCompletion as Ht, recordProfileRun as I, declaredCheckDeliverable as It, strategyAuthorSystemPrompt as J, renderLeaderboardMarkdown as Jt, authorStrategy as K, pairwiseSignificance as Kt, patchDelivered as L, declaredCheckDigest as Lt, loadProfile as M, loopDispatch as Mt, pickBestProfile as N, superviseDispatch as Nt, searchPresets as O, resolveSandboxClient as Ot, profileRegistry as P, assertDeclaredCheck as Pt, printBenchmarkReport as Q, openSqlRunStore as Qt, runCoderChecks as R, declaredCheckJudge as Rt, withUntrackedArtifacts as S, registryScopeAnalyst as St, SEARCH_SPEC_CORRELATION_KEY as T, HarvestError as Tt, runStrategyEvolution as U, sentinelCompletion as Ut, chatWorkerSeam as V, completionAuthorizes as Vt, strategyTournament as W, stopSentinel as Wt, openSandboxRun as X, renderPairwiseMarkdown as Xt, SandboxRunAbortError as Y, renderLeaderboardSvg as Yt, createS3PrivateCasStore as Z, SqlRunOwnershipError as Zt, VERIFY_TAIL_CHARS as _, verify as _t, localShell as a, mcpSecretEnvMetadataKey as an, builtinShapes as at, settledWorkerOut as b, buildSteerContext as bt, createVerifierEnvironment as c, secretEnvOfMcpServer as cn, FileCorpus as ct, harvestSurfaceDiffs as d, fanout as dt, connectStdioMcp as en, createPrivateCasArtifactPort as et, analystsFromRegistry as f, flatWidenGate as ft, NOTE_MAX_CHARS as g, selectValidWinner as gt, EVIDENCE_MAX_CHARS as h, pipeline as ht, jjWorkspace as i, envKeyProvider as in, runPersonified as it, bestProfileFor as j, loopCampaignDispatch as jt, searchSpecDigest as k, localSandboxClient as kt, boxSurfaceReader as l, createTangleSandboxExactProcessProvider as ln, InMemoryCorpus as lt, worktreeFanout as m, panel as mt, makeFinding$1 as n, createMcpEnvironment as nn, trajectoryReport as nt, runInWorkspace as o, resolveMcpServerLaunch as on, createShapeRegistry as ot, failuresAnalyst as p, loopUntil as pt, strategyAuthorContract as q, renderLeaderboardHtml as qt, gitWorkspace as r, sanitizeMcpToolSchema as rn, definePersona as rt, createWaterfallCollector as s, resolveSecretEnv as sn, registerShape as st, computeFindingId$1 as t, materializeLocalMcp as tn, equalKOnCost as tt, fsSurfaceReader as u, renderCorpusToInstructions as ut, closingWorkerNote as v, widen as vt, createFencedSqlRunContext as w, inProcessSandboxClient as wt, copyUntrackedIntoClone as x, createScopeAnalyst as xt, composeWorkerEvidence as y, assertTraceDerivedFindings as yt, graphDesignerExtraTools as z, readDeclaredCheck as zt };
|
|
9304
9352
|
|
|
9305
|
-
//# sourceMappingURL=runtime-
|
|
9353
|
+
//# sourceMappingURL=runtime-BnRuJgCX.js.map
|