@tangle-network/agent-runtime 0.336.0 → 0.337.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-BT3VoIpg.js → activation-BHFW1uEv.js} +3 -3
- package/dist/{activation-BT3VoIpg.js.map → activation-BHFW1uEv.js.map} +1 -1
- package/dist/{activation-DZbEj4oG.d.ts → activation-DMehb166.d.ts} +2 -2
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{bundle-CMGJKcl6.js → bundle-Cor5z_U9.js} +2 -2
- package/dist/{bundle-CMGJKcl6.js.map → bundle-Cor5z_U9.js.map} +1 -1
- package/dist/candidate-execution/index.d.ts +7 -2
- package/dist/candidate-execution/index.js +5 -5
- package/dist/{coordination-driver-rNoFHYmZ.js → coordination-driver-CMh1f0aW.js} +3 -3
- package/dist/{coordination-driver-rNoFHYmZ.js.map → coordination-driver-CMh1f0aW.js.map} +1 -1
- package/dist/{delegate-BdwThtY9.js → delegate-CCX9kVVr.js} +2 -2
- package/dist/{delegate-BdwThtY9.js.map → delegate-CCX9kVVr.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +5 -5
- package/dist/{graph-Bph_DX-z.js → graph-DdREcI4N.js} +4 -4
- package/dist/{graph-Bph_DX-z.js.map → graph-DdREcI4N.js.map} +1 -1
- package/dist/{improvement-cycle-Coj69usO.js → improvement-cycle-MY3fOdnr.js} +6 -6
- package/dist/{improvement-cycle-Coj69usO.js.map → improvement-cycle-MY3fOdnr.js.map} +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +9 -9
- package/dist/intelligence.d.ts +4 -4
- package/dist/intelligence.js +7 -7
- package/dist/kernel.d.ts +2 -2
- package/dist/kernel.js +9 -9
- package/dist/{loop-runner-bin-BTC2czoj.d.ts → loop-runner-bin-B86AiPBf.d.ts} +2 -2
- package/dist/{loop-runner-bin-9MtarSBu.js → loop-runner-bin-vk20OLHn.js} +3 -3
- package/dist/{loop-runner-bin-9MtarSBu.js.map → loop-runner-bin-vk20OLHn.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 +2 -2
- package/dist/mcp/index.js +5 -5
- package/dist/{openai-tools-DWuf9K9X.d.ts → openai-tools-DHO2QS1q.d.ts} +2 -2
- package/dist/{prepare-Ci9Wrle5.js → prepare-HgB1PE5H.js} +3 -3
- package/dist/{prepare-Ci9Wrle5.js.map → prepare-HgB1PE5H.js.map} +1 -1
- package/dist/{profile-BAwFYsOE.js → profile-hxqZn-p-.js} +2 -2
- package/dist/{profile-BAwFYsOE.js.map → profile-hxqZn-p-.js.map} +1 -1
- package/dist/profiles.d.ts +1 -1
- package/dist/{protected-model-port-DZUkB0cr.js → protected-model-port-BeJFGIjD.js} +4 -4
- package/dist/{protected-model-port-DZUkB0cr.js.map → protected-model-port-BeJFGIjD.js.map} +1 -1
- package/dist/{protected-model-port-CQg2gstJ.d.ts → protected-model-port-BhpQRTw-.d.ts} +2 -2
- package/dist/{provision-supervisor-Ced9EeHy.js → provision-supervisor-BXigA_iX.js} +4 -4
- package/dist/{provision-supervisor-Ced9EeHy.js.map → provision-supervisor-BXigA_iX.js.map} +1 -1
- package/dist/{runtime-DMVBv34m.js → runtime-DfU1_ndW.js} +75 -12
- package/dist/runtime-DfU1_ndW.js.map +1 -0
- package/dist/{sandbox-profile-compat-D_ZOL80S.js → sandbox-profile-compat-BpxJTqU8.js} +8 -3
- package/dist/sandbox-profile-compat-BpxJTqU8.js.map +1 -0
- package/dist/{search-executor-BNTeMygV.js → search-executor-SuQmYEil.js} +3 -3
- package/dist/{search-executor-BNTeMygV.js.map → search-executor-SuQmYEil.js.map} +1 -1
- package/dist/{server-z7xI_ItY.js → server-B6Ih0E-r.js} +4 -4
- package/dist/{server-z7xI_ItY.js.map → server-B6Ih0E-r.js.map} +1 -1
- package/dist/{supervise-ISaRiWVe.js → supervise-D9txxvz1.js} +32 -7
- package/dist/supervise-D9txxvz1.js.map +1 -0
- package/dist/{supervisor-B-bkXttM.js → supervisor-D3zrWAlw.js} +52 -8
- package/dist/supervisor-D3zrWAlw.js.map +1 -0
- 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-BO8kh52C.d.ts → types-CupCBY-j.d.ts} +48 -4
- package/dist/{workspace-streams-U6_UfOXu.d.ts → workspace-streams-JLjh5DC6.d.ts} +8 -1
- package/package.json +1 -1
- package/dist/runtime-DMVBv34m.js.map +0 -1
- package/dist/sandbox-profile-compat-D_ZOL80S.js.map +0 -1
- package/dist/supervise-ISaRiWVe.js.map +0 -1
- package/dist/supervisor-B-bkXttM.js.map +0 -1
|
@@ -879,6 +879,8 @@ async function verifyMaterializedProfileWorkspace(root, expected, fileRoot = "wo
|
|
|
879
879
|
}
|
|
880
880
|
async function walkWorkspace(root, options, keepBytes) {
|
|
881
881
|
const ignoredProtectedRootEntries = new Set(options.ignoredProtectedRootEntries ?? []);
|
|
882
|
+
const excluded = new Set(options.excludedPaths ?? []);
|
|
883
|
+
for (const path of excluded) if (!path || path.includes("\\") || path.includes("\0") || isAbsolute(path) || path.split("/").some((part) => !part || part === "." || part === "..")) throw new Error("workspace excluded path must be a safe relative path");
|
|
882
884
|
const limits = options.limits;
|
|
883
885
|
const selected = options.selectedPaths ? new Set(options.selectedPaths) : void 0;
|
|
884
886
|
const selectedDirectories = /* @__PURE__ */ new Set();
|
|
@@ -909,6 +911,7 @@ async function walkWorkspace(root, options, keepBytes) {
|
|
|
909
911
|
const absolute = resolve(directory, entry.name);
|
|
910
912
|
const relPath = relative(absoluteRoot, absolute).split(sep).join("/");
|
|
911
913
|
if (!relPath || relPath.startsWith("../") || relPath.includes("/../")) throw new Error(`workspace entry escapes root: ${relPath}`);
|
|
914
|
+
if (excluded.has(relPath)) continue;
|
|
912
915
|
if (selected && !selected.has(relPath) && !selectedDirectories.has(relPath)) continue;
|
|
913
916
|
const stats = await lstat(absolute);
|
|
914
917
|
if (stats.isSymbolicLink()) throw new Error(await symlinkRefusal(absolute, relPath, absoluteRoot));
|
|
@@ -2180,7 +2183,8 @@ async function captureAgentCandidateWorkspaceToArtifacts(rootInput, options) {
|
|
|
2180
2183
|
const limits = workspaceLimits(options.limits);
|
|
2181
2184
|
const material = await scanMaterializedWorkspaceManifest(rootInput, {
|
|
2182
2185
|
limits,
|
|
2183
|
-
signal
|
|
2186
|
+
signal,
|
|
2187
|
+
excludedPaths: options.excludedPaths
|
|
2184
2188
|
});
|
|
2185
2189
|
validateManifest(material, limits);
|
|
2186
2190
|
const root = await realpath(resolve(rootInput));
|
|
@@ -2219,7 +2223,8 @@ async function captureAgentCandidateWorkspaceTreeToArtifacts(rootInput, options)
|
|
|
2219
2223
|
const limits = workspaceLimits(options.limits);
|
|
2220
2224
|
const material = await scanMaterializedWorkspaceManifest(rootInput, {
|
|
2221
2225
|
limits,
|
|
2222
|
-
signal
|
|
2226
|
+
signal,
|
|
2227
|
+
excludedPaths: options.excludedPaths
|
|
2223
2228
|
});
|
|
2224
2229
|
validateManifest(material, limits);
|
|
2225
2230
|
const root = await realpath(resolve(rootInput));
|
|
@@ -2529,4 +2534,4 @@ function isRecord(value) {
|
|
|
2529
2534
|
//#endregion
|
|
2530
2535
|
export { isAsyncIterable as $, verifyMaterializedWorkspace as A, omitTopLevelDigest as B, candidateWorkspaceManifest as C, armDeadlineTimer as Ct, scanMaterializedWorkspaceManifest as D, singleFlightTeardown as Dt, readVerifiedArtifact as E, isDeadlineAbortReason as Et, canonicalCandidateDigest$1 as F, chargedTokens as G, verifyCanonicalCandidateDocument as H, canonicalCandidateDocument as I, deleteBoxSafe as J, cloneSpend as K, deepFreezeCandidate as L, markPutStreamVerified as M, verifiedArtifactChunks as N, verifyBytes as O, teardownExecutor as Ot, canonicalCandidateBytes$1 as P, isAbortError as Q, embeddedCandidateArtifact as R, artifactCacheKey as S, ROOT_DEADLINE_REASON as St, readMaterializedWorkspaceFiles as T, checkInIdleMs as Tt, addSpend as U, sha256Bytes$1 as V, addTokenUsage as W, fnv1a32Hex as X, errorMessage as Y, hasCompleteCacheBreakdown as Z, verifyTaskCheckout as _, ACCEPTED_RESULT_GRACE_MS as _t, materializeAgentCandidateWorkspaceFromArtifacts as a, sleep as at, isWellFormedUnicode as b, DEFAULT_CHECK_IN_IDLE_MS as bt, verifyAgentCandidateWorkspaceTree as c, throwIfAborted as ct, createAgentCandidateWorkspacePort as d, zeroSpend as dt, mapWithConcurrency as et, verifyAgentCandidateWorkspaceArchive as f, zeroTokenUsage as ft, verifyCandidateCode as g, withBudgetResources as gt, readCandidateGitHubResource as h, resourceTelemetry as ht, captureAgentCandidateWorkspaceTreeToArtifacts as i, roundBoxMinutes as it, verifyWorkspaceSnapshotArtifacts as j, verifyMaterializedProfileWorkspace as k, teardownSurfaces as kt, captureAgentCandidateWorkspace as l, unmeteredSpend as lt, persistCandidateOutputArtifact as m, assertResources as mt, refuseSandboxProfileField as n, randomSuffix as nt, readAgentCandidateWorkspaceArtifactFiles as o, stringifySafe as ot, workspaceLimits as p, addResourceSpend as pt, cloneTokenUsage as q, captureAgentCandidateWorkspaceToArtifacts as r, randomUuid as rt, verifyAgentCandidateWorkspaceArtifacts as s, throwAbort as st, assertSandboxProfileCompatibility as t, promptCacheTokenClasses as tt, captureAgentCandidateWorkspaceFiles as u, withTimeout as ut, verifyTaskOutcomePatch as v, CHILD_DEADLINE_REASON as vt, captureMaterializedWorkspace as w, boundedChildDeadlineAt as wt, WorkspaceScanLimitError as x, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as xt, assertExactObjectKeys as y, DEADLINE_CHECK_IN_MESSAGE as yt, immutableCandidateValue as z };
|
|
2531
2536
|
|
|
2532
|
-
//# sourceMappingURL=sandbox-profile-compat-
|
|
2537
|
+
//# sourceMappingURL=sandbox-profile-compat-BpxJTqU8.js.map
|