nexus-agents 3.9.4 → 3.11.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/{chunk-JPMXFYKW.js → chunk-3UEZBTLV.js} +2 -2
- package/dist/{chunk-XBEED5SG.js → chunk-7H2AKJVR.js} +10 -7
- package/dist/{chunk-XBEED5SG.js.map → chunk-7H2AKJVR.js.map} +1 -1
- package/dist/{chunk-IAEZN2N4.js → chunk-R4ULM2GB.js} +2 -2
- package/dist/{chunk-KBX4JSBE.js → chunk-SCI6FKPM.js} +20 -5
- package/dist/chunk-SCI6FKPM.js.map +1 -0
- package/dist/{chunk-ABV3XE7D.js → chunk-TJAMRU4T.js} +72 -11
- package/dist/chunk-TJAMRU4T.js.map +1 -0
- package/dist/{chunk-XMNMIMR6.js → chunk-X2HMEG5F.js} +2 -2
- package/dist/{chunk-XMNMIMR6.js.map → chunk-X2HMEG5F.js.map} +1 -1
- package/dist/cli.js +7 -7
- package/dist/index.d.ts +80 -0
- package/dist/index.js +4 -4
- package/dist/{issue-triage-EBQFRWOQ.js → issue-triage-6STMHG7L.js} +3 -3
- package/dist/{pr-reviewer-helpers-RN35E43S.js → pr-reviewer-helpers-NXG7X3WB.js} +3 -3
- package/dist/{setup-command-QI3LDW4D.js → setup-command-GBCILO74.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-ABV3XE7D.js.map +0 -1
- package/dist/chunk-KBX4JSBE.js.map +0 -1
- /package/dist/{chunk-JPMXFYKW.js.map → chunk-3UEZBTLV.js.map} +0 -0
- /package/dist/{chunk-IAEZN2N4.js.map → chunk-R4ULM2GB.js.map} +0 -0
- /package/dist/{issue-triage-EBQFRWOQ.js.map → issue-triage-6STMHG7L.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-RN35E43S.js.map → pr-reviewer-helpers-NXG7X3WB.js.map} +0 -0
- /package/dist/{setup-command-QI3LDW4D.js.map → setup-command-GBCILO74.js.map} +0 -0
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
gateWithReputation,
|
|
13
13
|
resolveReputationGatingMode,
|
|
14
14
|
sanitizeInput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-X2HMEG5F.js";
|
|
16
16
|
import {
|
|
17
17
|
createLogger,
|
|
18
18
|
getTimeProvider
|
|
@@ -291,4 +291,4 @@ export {
|
|
|
291
291
|
formatReviewComment,
|
|
292
292
|
createFailedReview
|
|
293
293
|
};
|
|
294
|
-
//# sourceMappingURL=chunk-
|
|
294
|
+
//# sourceMappingURL=chunk-3UEZBTLV.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
24
24
|
clampTaskTtl
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-SCI6FKPM.js";
|
|
26
26
|
import {
|
|
27
27
|
executeExpert
|
|
28
28
|
} from "./chunk-KPYPJGSD.js";
|
|
@@ -56,11 +56,11 @@ import {
|
|
|
56
56
|
} from "./chunk-JBSL2HKV.js";
|
|
57
57
|
import {
|
|
58
58
|
IssueTriage
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-TJAMRU4T.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveEnvMode,
|
|
62
62
|
sanitizeInput
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-X2HMEG5F.js";
|
|
64
64
|
import {
|
|
65
65
|
withPrerequisite
|
|
66
66
|
} from "./chunk-JJZF37X2.js";
|
|
@@ -43973,7 +43973,7 @@ function classifyTask(task) {
|
|
|
43973
43973
|
const scores = calculateTypeScores(lower);
|
|
43974
43974
|
const pipelineType = selectBestType(scores);
|
|
43975
43975
|
const complexity = estimateComplexity2(lower);
|
|
43976
|
-
const maxScore = Math.max(...Object.values(scores)
|
|
43976
|
+
const maxScore = Math.max(...Object.values(scores));
|
|
43977
43977
|
const keywords = extractMatchedKeywords(lower, pipelineType);
|
|
43978
43978
|
return {
|
|
43979
43979
|
pipelineType,
|
|
@@ -44022,11 +44022,14 @@ var TRIAGE_CATEGORY_MAP = {
|
|
|
44022
44022
|
security: "audit",
|
|
44023
44023
|
research: "research"
|
|
44024
44024
|
};
|
|
44025
|
+
function llmClassificationEnabled() {
|
|
44026
|
+
return process.env["NEXUS_LLM_CLASSIFICATION"] === "1";
|
|
44027
|
+
}
|
|
44025
44028
|
async function tryIssueTriage(task) {
|
|
44026
44029
|
try {
|
|
44027
44030
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
44028
44031
|
if (issueMatch === null) return null;
|
|
44029
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
44032
|
+
const { createIssueTriage } = await import("./issue-triage-6STMHG7L.js");
|
|
44030
44033
|
const triage = createIssueTriage();
|
|
44031
44034
|
const owner = issueMatch[1] ?? "";
|
|
44032
44035
|
const num = issueMatch[2] ?? "";
|
|
@@ -44100,7 +44103,7 @@ async function runAdaptiveOrchestrator(task, options) {
|
|
|
44100
44103
|
enriched: enriched.pipelineType
|
|
44101
44104
|
});
|
|
44102
44105
|
classification = enriched;
|
|
44103
|
-
} else {
|
|
44106
|
+
} else if (llmClassificationEnabled()) {
|
|
44104
44107
|
const llmResult = await classifyWithLLM(cleanTask);
|
|
44105
44108
|
if (llmResult !== null) {
|
|
44106
44109
|
logger39.info("Classification refined via LLM", {
|
|
@@ -54456,4 +54459,4 @@ export {
|
|
|
54456
54459
|
shutdownFeedbackSubscriber,
|
|
54457
54460
|
createEventBusBridge
|
|
54458
54461
|
};
|
|
54459
|
-
//# sourceMappingURL=chunk-
|
|
54462
|
+
//# sourceMappingURL=chunk-7H2AKJVR.js.map
|