nexus-agents 2.117.1 → 2.117.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/{chunk-WHUPWMGD.js → chunk-KQB4RDAC.js} +3 -3
- package/dist/{chunk-C4PE66KX.js → chunk-NHPCBKC2.js} +32 -4
- package/dist/{chunk-C4PE66KX.js.map → chunk-NHPCBKC2.js.map} +1 -1
- package/dist/{chunk-PBGHWE2M.js → chunk-YMFYVCZP.js} +2 -2
- package/dist/cli.js +3 -3
- package/dist/index.js +2 -2
- package/dist/{setup-command-HZIEHUB7.js → setup-command-GKRDCYWG.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-WHUPWMGD.js.map → chunk-KQB4RDAC.js.map} +0 -0
- /package/dist/{chunk-PBGHWE2M.js.map → chunk-YMFYVCZP.js.map} +0 -0
- /package/dist/{setup-command-HZIEHUB7.js.map → setup-command-GKRDCYWG.js.map} +0 -0
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-CH7QIDHQ.js";
|
|
41
41
|
|
|
42
42
|
// src/version.ts
|
|
43
|
-
var VERSION = true ? "2.117.
|
|
43
|
+
var VERSION = true ? "2.117.2" : "dev";
|
|
44
44
|
|
|
45
45
|
// src/config/schemas-core.ts
|
|
46
46
|
import { z } from "zod";
|
|
@@ -2099,7 +2099,7 @@ async function runDoctorFix(result) {
|
|
|
2099
2099
|
writeLine2("\u2500".repeat(40));
|
|
2100
2100
|
let fixCount = 0;
|
|
2101
2101
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
2102
|
-
const { runSetup } = await import("./setup-command-
|
|
2102
|
+
const { runSetup } = await import("./setup-command-GKRDCYWG.js");
|
|
2103
2103
|
const setupResult = runSetup({
|
|
2104
2104
|
skipMcp: true,
|
|
2105
2105
|
skipRules: true,
|
|
@@ -2211,4 +2211,4 @@ export {
|
|
|
2211
2211
|
startStdioServer,
|
|
2212
2212
|
closeServer
|
|
2213
2213
|
};
|
|
2214
|
-
//# sourceMappingURL=chunk-
|
|
2214
|
+
//# sourceMappingURL=chunk-KQB4RDAC.js.map
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
DEFAULT_TASK_TTL_MS,
|
|
116
116
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
117
117
|
clampTaskTtl
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-KQB4RDAC.js";
|
|
119
119
|
import {
|
|
120
120
|
resolveInsideRoot
|
|
121
121
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -40429,7 +40429,11 @@ var logger33 = createLogger({ component: "pipeline-graph" });
|
|
|
40429
40429
|
function compilePipelineGraph(template, stages) {
|
|
40430
40430
|
const missing = findMissingStages(template, stages);
|
|
40431
40431
|
if (missing.length > 0) {
|
|
40432
|
-
|
|
40432
|
+
const available = [...stages.keys()].sort().join(", ");
|
|
40433
|
+
return {
|
|
40434
|
+
ok: false,
|
|
40435
|
+
error: `Pipeline template '${template.id}' references stage(s) with no implementation in the selected registry: ${missing.join(", ")}. Available stages: ${available || "(none)"}. Pick a different \`template\` whose stages are all implemented, or implement the missing stage(s).`
|
|
40436
|
+
};
|
|
40433
40437
|
}
|
|
40434
40438
|
const builder = new GraphBuilder();
|
|
40435
40439
|
registerStateFields(builder);
|
|
@@ -40870,7 +40874,7 @@ async function runAdaptiveOrchestrator(task, options) {
|
|
|
40870
40874
|
}
|
|
40871
40875
|
const templateId = options.templateId ?? classification.pipelineType;
|
|
40872
40876
|
const selectionMethod = options.templateId !== void 0 ? "explicit" : "auto-detected";
|
|
40873
|
-
const template = resolveTemplate(templateId);
|
|
40877
|
+
const template = ensureRunnableTemplate(resolveTemplate(templateId), options.stages);
|
|
40874
40878
|
logger35.info("Adaptive orchestrator routing", {
|
|
40875
40879
|
templateId: template.id,
|
|
40876
40880
|
selectionMethod,
|
|
@@ -40889,6 +40893,30 @@ function resolveTemplate(templateId) {
|
|
|
40889
40893
|
if (fallback !== void 0) return fallback;
|
|
40890
40894
|
return { id: "dev", name: "Development", stages: [] };
|
|
40891
40895
|
}
|
|
40896
|
+
var RUNNABLE_FALLBACK_TEMPLATES = ["general", "dev"];
|
|
40897
|
+
function ensureRunnableTemplate(template, stages) {
|
|
40898
|
+
const missing = findMissingStages(template, stages);
|
|
40899
|
+
if (missing.length === 0) return template;
|
|
40900
|
+
for (const id of RUNNABLE_FALLBACK_TEMPLATES) {
|
|
40901
|
+
const candidate = PIPELINE_TEMPLATES.get(id);
|
|
40902
|
+
if (candidate !== void 0 && findMissingStages(candidate, stages).length === 0) {
|
|
40903
|
+
logger35.warn("Selected template is not runnable in this registry \u2014 falling back", {
|
|
40904
|
+
requested: template.id,
|
|
40905
|
+
missingStages: missing,
|
|
40906
|
+
fallback: id
|
|
40907
|
+
});
|
|
40908
|
+
return candidate;
|
|
40909
|
+
}
|
|
40910
|
+
}
|
|
40911
|
+
logger35.warn(
|
|
40912
|
+
"No runnable fallback template for this registry; compile will report missing stages",
|
|
40913
|
+
{
|
|
40914
|
+
requested: template.id,
|
|
40915
|
+
missingStages: missing
|
|
40916
|
+
}
|
|
40917
|
+
);
|
|
40918
|
+
return template;
|
|
40919
|
+
}
|
|
40892
40920
|
|
|
40893
40921
|
// src/security/sarif-types.ts
|
|
40894
40922
|
import { z as z86 } from "zod";
|
|
@@ -48935,4 +48963,4 @@ export {
|
|
|
48935
48963
|
detectBackend,
|
|
48936
48964
|
createTaskTracker
|
|
48937
48965
|
};
|
|
48938
|
-
//# sourceMappingURL=chunk-
|
|
48966
|
+
//# sourceMappingURL=chunk-NHPCBKC2.js.map
|