nexus-agents 8.44.0 → 8.44.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/{chunk-2U2CTX4Q.js → chunk-23MBJUHY.js} +21 -13
- package/dist/{chunk-2U2CTX4Q.js.map → chunk-23MBJUHY.js.map} +1 -1
- package/dist/{chunk-UDZBMHCX.js → chunk-2VDDZCVT.js} +3 -3
- package/dist/{chunk-K2A6LRLL.js → chunk-4WEBJR5L.js} +3 -3
- package/dist/{chunk-64GMIUM5.js → chunk-M7DUOIAK.js} +15 -2
- package/dist/chunk-M7DUOIAK.js.map +1 -0
- package/dist/{chunk-NJ2EUCSY.js → chunk-PFW4EQ2E.js} +2 -2
- package/dist/{chunk-QHBW7AS7.js → chunk-TPHY6M6D.js} +2 -2
- package/dist/{chunk-VOEKVO4Z.js → chunk-XYD2J2M5.js} +2 -2
- package/dist/cli.js +8 -8
- package/dist/{codebase-search-3D4TW3KR.js → codebase-search-XDAFN6XP.js} +2 -2
- package/dist/{consensus-vote-GFIIMQW4.js → consensus-vote-52SR6UJB.js} +4 -4
- package/dist/{improvement-review-5RWJT2SO.js → improvement-review-3VV4DBCJ.js} +4 -4
- package/dist/index.js +7 -7
- package/dist/{setup-data-dir-5WWOT3M7.js → setup-data-dir-WFISCBTQ.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-64GMIUM5.js.map +0 -1
- /package/dist/{chunk-UDZBMHCX.js.map → chunk-2VDDZCVT.js.map} +0 -0
- /package/dist/{chunk-K2A6LRLL.js.map → chunk-4WEBJR5L.js.map} +0 -0
- /package/dist/{chunk-NJ2EUCSY.js.map → chunk-PFW4EQ2E.js.map} +0 -0
- /package/dist/{chunk-QHBW7AS7.js.map → chunk-TPHY6M6D.js.map} +0 -0
- /package/dist/{chunk-VOEKVO4Z.js.map → chunk-XYD2J2M5.js.map} +0 -0
- /package/dist/{codebase-search-3D4TW3KR.js.map → codebase-search-XDAFN6XP.js.map} +0 -0
- /package/dist/{consensus-vote-GFIIMQW4.js.map → consensus-vote-52SR6UJB.js.map} +0 -0
- /package/dist/{improvement-review-5RWJT2SO.js.map → improvement-review-3VV4DBCJ.js.map} +0 -0
- /package/dist/{setup-data-dir-5WWOT3M7.js.map → setup-data-dir-WFISCBTQ.js.map} +0 -0
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
extractSymbolIndexResult,
|
|
13
13
|
extractSymbols,
|
|
14
14
|
findSourceFiles
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-M7DUOIAK.js";
|
|
16
16
|
import {
|
|
17
17
|
FINDING_SEVERITY_LEVELS,
|
|
18
18
|
SARIF_LEVEL_MAP,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4WEBJR5L.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-B5R7KEZR.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-2VDDZCVT.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "./chunk-ZSMK7RFK.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-XYD2J2M5.js";
|
|
79
79
|
import {
|
|
80
80
|
NOOP_NOTIFIER,
|
|
81
81
|
RateLimiter,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
withAuditTrail,
|
|
101
101
|
withProgressHeartbeat,
|
|
102
102
|
wrapToolWithTimeout
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-TPHY6M6D.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
@@ -43108,7 +43108,14 @@ function skippedDirsNote(index) {
|
|
|
43108
43108
|
|
|
43109
43109
|
Note: ${String(skippedDirs)} subdirector${skippedDirs === 1 ? "y was" : "ies were"} not indexed because maxDepth was exhausted. Pass a larger maxDepth (up to ${String(MAX_INDEX_MAX_DEPTH)}) to include them.`;
|
|
43110
43110
|
}
|
|
43111
|
-
function
|
|
43111
|
+
function truncationNote(total, shown, limit) {
|
|
43112
|
+
if (total <= shown) return "";
|
|
43113
|
+
return `
|
|
43114
|
+
|
|
43115
|
+
Note: showing the top ${String(shown)} of ${String(total)} matches (limit ${String(limit)}). ${String(total - shown)} further match(es) were omitted \u2014 this is not the complete match set. Raise \`limit\` to see more.`;
|
|
43116
|
+
}
|
|
43117
|
+
function formatSearchOutput(index, query, found, limit) {
|
|
43118
|
+
const results = found.results;
|
|
43112
43119
|
if (results.length === 0) {
|
|
43113
43120
|
return `No symbols matching "${query}" found in ${String(index.stats.files)} indexed files.${skippedDirsNote(index)}`;
|
|
43114
43121
|
}
|
|
@@ -43118,7 +43125,7 @@ function formatSearchOutput(index, query, results) {
|
|
|
43118
43125
|
}).join("\n");
|
|
43119
43126
|
return `${String(results.length)} results for "${query}":
|
|
43120
43127
|
|
|
43121
|
-
${output2}${skippedDirsNote(index)}`;
|
|
43128
|
+
${output2}${skippedDirsNote(index)}${truncationNote(found.total, results.length, limit)}`;
|
|
43122
43129
|
}
|
|
43123
43130
|
function formatListOutput(index) {
|
|
43124
43131
|
const files = index.listFiles();
|
|
@@ -43154,8 +43161,9 @@ async function searchCodebaseHandler(args, ctx) {
|
|
|
43154
43161
|
}
|
|
43155
43162
|
return toolSuccess(JSON.stringify(summary, null, 2));
|
|
43156
43163
|
}
|
|
43157
|
-
const
|
|
43158
|
-
|
|
43164
|
+
const effectiveLimit = limit ?? 20;
|
|
43165
|
+
const found = index.searchWithTotal(query, effectiveLimit);
|
|
43166
|
+
return toolSuccess(formatSearchOutput(index, query, found, effectiveLimit));
|
|
43159
43167
|
} catch (caught) {
|
|
43160
43168
|
const e = caught instanceof Error ? caught : new Error(String(caught));
|
|
43161
43169
|
ctx.logger.error("Codebase search failed", e);
|
|
@@ -46012,7 +46020,7 @@ function buildVotingInput(plan, config) {
|
|
|
46012
46020
|
}
|
|
46013
46021
|
async function executeSingleVote(plan, config, log) {
|
|
46014
46022
|
try {
|
|
46015
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46023
|
+
const { executeVoting } = await import("./consensus-vote-52SR6UJB.js");
|
|
46016
46024
|
const input = buildVotingInput(plan, config);
|
|
46017
46025
|
const result = await executeVoting(input, log);
|
|
46018
46026
|
return parseVotingResult(result);
|
|
@@ -47807,7 +47815,7 @@ ${contextBlock}`;
|
|
|
47807
47815
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47808
47816
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47809
47817
|
try {
|
|
47810
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47818
|
+
const { executeVoting } = await import("./consensus-vote-52SR6UJB.js");
|
|
47811
47819
|
const votingResult = await executeVoting(
|
|
47812
47820
|
{
|
|
47813
47821
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -48223,7 +48231,7 @@ function createScaffoldStageWrapper() {
|
|
|
48223
48231
|
}
|
|
48224
48232
|
async function searchCodebaseForTask(task) {
|
|
48225
48233
|
try {
|
|
48226
|
-
const { CodebaseIndex: CodebaseIndex2 } = await import("./codebase-search-
|
|
48234
|
+
const { CodebaseIndex: CodebaseIndex2 } = await import("./codebase-search-XDAFN6XP.js");
|
|
48227
48235
|
const index = new CodebaseIndex2(process.cwd());
|
|
48228
48236
|
const terms = task.toLowerCase().split(/\s+/).filter((w) => w.length > 4).slice(0, 3);
|
|
48229
48237
|
if (terms.length === 0) return null;
|
|
@@ -56534,4 +56542,4 @@ export {
|
|
|
56534
56542
|
startPipelineEventBridge,
|
|
56535
56543
|
shutdownPipelineEventBridge
|
|
56536
56544
|
};
|
|
56537
|
-
//# sourceMappingURL=chunk-
|
|
56545
|
+
//# sourceMappingURL=chunk-23MBJUHY.js.map
|