nexus-agents 2.77.8 → 2.77.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/{chunk-M5NSVRK6.js → chunk-M36XZWG2.js} +17 -11
- package/dist/{chunk-M5NSVRK6.js.map → chunk-M36XZWG2.js.map} +1 -1
- package/dist/{chunk-ZHM23HEX.js → chunk-MZF4DKQJ.js} +2 -2
- package/dist/{chunk-35C7VCMT.js → chunk-OZLCOG3N.js} +3 -3
- package/dist/cli.js +6 -11
- package/dist/cli.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/{setup-command-AXJA4OGF.js → setup-command-R3HO5FXE.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-ZHM23HEX.js.map → chunk-MZF4DKQJ.js.map} +0 -0
- /package/dist/{chunk-35C7VCMT.js.map → chunk-OZLCOG3N.js.map} +0 -0
- /package/dist/{setup-command-AXJA4OGF.js.map → setup-command-R3HO5FXE.js.map} +0 -0
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
clampTaskTtl,
|
|
71
71
|
getAvailabilityCache,
|
|
72
72
|
resolveFallback
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-OZLCOG3N.js";
|
|
74
74
|
import {
|
|
75
75
|
DEFAULTS
|
|
76
76
|
} from "./chunk-YQMQSJQK.js";
|
|
@@ -24588,7 +24588,8 @@ var PaperStatusSchema = z43.enum([
|
|
|
24588
24588
|
"partial",
|
|
24589
24589
|
"in-progress",
|
|
24590
24590
|
"not-started",
|
|
24591
|
-
"rejected"
|
|
24591
|
+
"rejected",
|
|
24592
|
+
"deferred"
|
|
24592
24593
|
]);
|
|
24593
24594
|
var TechniquePrioritySchema = z43.enum(["P1", "P2", "P3", "P4"]).nullable();
|
|
24594
24595
|
var TechniqueComplexitySchema = z43.enum(["low", "medium", "high"]);
|
|
@@ -24835,6 +24836,17 @@ function computeSourceEvidenceTier(source) {
|
|
|
24835
24836
|
}
|
|
24836
24837
|
|
|
24837
24838
|
// src/indexer/research-index/research-index-parser.ts
|
|
24839
|
+
function buildValidationError(filePath, validationErr) {
|
|
24840
|
+
const zodErr = validationErr;
|
|
24841
|
+
const issues = zodErr.issues ?? [];
|
|
24842
|
+
const issuesPreview = issues.slice(0, 5).map((i) => `${i.path.slice(0, 4).join(".")}: ${i.message}`).join("; ");
|
|
24843
|
+
const more = issues.length > 5 ? ` (+${String(issues.length - 5)} more)` : "";
|
|
24844
|
+
return new ResearchIndexParseError(
|
|
24845
|
+
issuesPreview.length > 0 ? `Validation failed for ${filePath} \u2014 ${issuesPreview}${more}` : `Validation failed for ${filePath}`,
|
|
24846
|
+
filePath,
|
|
24847
|
+
validationErr
|
|
24848
|
+
);
|
|
24849
|
+
}
|
|
24838
24850
|
function readYamlFile(filePath, schema, defaultIfMissing) {
|
|
24839
24851
|
try {
|
|
24840
24852
|
if (!fs3.existsSync(filePath)) {
|
|
@@ -24853,14 +24865,7 @@ function readYamlFile(filePath, schema, defaultIfMissing) {
|
|
|
24853
24865
|
const parsed = yaml2.parse(content);
|
|
24854
24866
|
const result = schema.safeParse(parsed);
|
|
24855
24867
|
if (!result.success) {
|
|
24856
|
-
return {
|
|
24857
|
-
ok: false,
|
|
24858
|
-
error: new ResearchIndexParseError(
|
|
24859
|
-
`Validation failed for ${filePath}`,
|
|
24860
|
-
filePath,
|
|
24861
|
-
result.error
|
|
24862
|
-
)
|
|
24863
|
-
};
|
|
24868
|
+
return { ok: false, error: buildValidationError(filePath, result.error) };
|
|
24864
24869
|
}
|
|
24865
24870
|
return { ok: true, value: result.data };
|
|
24866
24871
|
} catch (error) {
|
|
@@ -49765,6 +49770,7 @@ export {
|
|
|
49765
49770
|
PROMPT_DEFINITIONS,
|
|
49766
49771
|
registerPrompts,
|
|
49767
49772
|
registerModelsResource,
|
|
49773
|
+
PaperStatusSchema,
|
|
49768
49774
|
registerResearchResource,
|
|
49769
49775
|
getSharedCliCache,
|
|
49770
49776
|
CreateExpertInputSchema,
|
|
@@ -50023,4 +50029,4 @@ export {
|
|
|
50023
50029
|
detectBackend,
|
|
50024
50030
|
createTaskTracker
|
|
50025
50031
|
};
|
|
50026
|
-
//# sourceMappingURL=chunk-
|
|
50032
|
+
//# sourceMappingURL=chunk-M36XZWG2.js.map
|