nexus-agents 2.77.10 → 2.77.12
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-BEW2Z7M6.js → chunk-2IAWMNNB.js} +14 -10
- package/dist/{chunk-BEW2Z7M6.js.map → chunk-2IAWMNNB.js.map} +1 -1
- package/dist/{chunk-FYAQBYHM.js → chunk-3DH5SLFH.js} +2 -2
- package/dist/{chunk-C53AFVJB.js → chunk-L3TPDTP3.js} +4 -4
- package/dist/{chunk-MV4R2ZIJ.js → chunk-TDV5ALHY.js} +7 -14
- package/dist/chunk-TDV5ALHY.js.map +1 -0
- package/dist/{chunk-NZIYEOKC.js → chunk-XYA3DPWJ.js} +3 -3
- package/dist/{chunk-EEW7VFFF.js → chunk-Y2CP4Z5B.js} +3 -3
- package/dist/cli.js +6 -6
- package/dist/{consensus-vote-AWBFYF5S.js → consensus-vote-MUQ4HPIF.js} +3 -3
- package/dist/{expert-bridge-NX2MGOBQ.js → expert-bridge-ZPNVLJVN.js} +2 -2
- package/dist/{factory-JI6PSWGR.js → factory-X3VKIGKP.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/{setup-command-GKBNW3MV.js → setup-command-3ZTEPKDA.js} +4 -4
- package/package.json +1 -1
- package/dist/chunk-MV4R2ZIJ.js.map +0 -1
- /package/dist/{chunk-FYAQBYHM.js.map → chunk-3DH5SLFH.js.map} +0 -0
- /package/dist/{chunk-C53AFVJB.js.map → chunk-L3TPDTP3.js.map} +0 -0
- /package/dist/{chunk-NZIYEOKC.js.map → chunk-XYA3DPWJ.js.map} +0 -0
- /package/dist/{chunk-EEW7VFFF.js.map → chunk-Y2CP4Z5B.js.map} +0 -0
- /package/dist/{consensus-vote-AWBFYF5S.js.map → consensus-vote-MUQ4HPIF.js.map} +0 -0
- /package/dist/{expert-bridge-NX2MGOBQ.js.map → expert-bridge-ZPNVLJVN.js.map} +0 -0
- /package/dist/{factory-JI6PSWGR.js.map → factory-X3VKIGKP.js.map} +0 -0
- /package/dist/{setup-command-GKBNW3MV.js.map → setup-command-3ZTEPKDA.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-MGLWPN2I.js";
|
|
8
8
|
import {
|
|
9
9
|
executeExpert
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3DH5SLFH.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_RELEVANCE_CONFIG,
|
|
13
13
|
EventTopics,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
withAccessPolicy,
|
|
38
38
|
withProgressHeartbeat,
|
|
39
39
|
wrapToolWithTimeout
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-Y2CP4Z5B.js";
|
|
41
41
|
import {
|
|
42
42
|
REGISTRY_PATH,
|
|
43
43
|
getProjectRoot,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
clampTaskTtl,
|
|
71
71
|
getAvailabilityCache,
|
|
72
72
|
resolveFallback
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-L3TPDTP3.js";
|
|
74
74
|
import {
|
|
75
75
|
DEFAULTS
|
|
76
76
|
} from "./chunk-YQMQSJQK.js";
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
getAvailableClis,
|
|
85
85
|
sleep,
|
|
86
86
|
withTimeout
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-TDV5ALHY.js";
|
|
88
88
|
import {
|
|
89
89
|
BUILT_IN_EXPERTS,
|
|
90
90
|
BuiltInExpertTypeSchema,
|
|
@@ -36318,10 +36318,14 @@ async function addPaperToRegistry(options) {
|
|
|
36318
36318
|
var ARXIV_API_TIMEOUT_MS = API_TIMEOUTS.arxivMs;
|
|
36319
36319
|
function extractEntryXml(xml) {
|
|
36320
36320
|
const entryMatch = xml.match(/<entry>([\s\S]*?)<\/entry>/);
|
|
36321
|
-
return entryMatch?.[1] ??
|
|
36321
|
+
return entryMatch?.[1] ?? null;
|
|
36322
|
+
}
|
|
36323
|
+
function decodeXmlEntities(s) {
|
|
36324
|
+
return s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, '"').replace(/'/g, "'");
|
|
36322
36325
|
}
|
|
36323
36326
|
function parseArxivXml(arxivId, xml) {
|
|
36324
36327
|
const entryXml = extractEntryXml(xml);
|
|
36328
|
+
if (entryXml === null) return null;
|
|
36325
36329
|
const titleMatch = entryXml.match(/<title>([^<]+)<\/title>/);
|
|
36326
36330
|
const summaryMatch = entryXml.match(/<summary>([^<]+)<\/summary>/s);
|
|
36327
36331
|
const publishedMatch = entryXml.match(/<published>([^<]+)<\/published>/);
|
|
@@ -36329,10 +36333,10 @@ function parseArxivXml(arxivId, xml) {
|
|
|
36329
36333
|
if (titleContent === void 0 || titleContent === "") return null;
|
|
36330
36334
|
return {
|
|
36331
36335
|
id: arxivId,
|
|
36332
|
-
title: titleContent.trim().replace(/\s+/g, " "),
|
|
36336
|
+
title: decodeXmlEntities(titleContent.trim().replace(/\s+/g, " ")),
|
|
36333
36337
|
authors: [],
|
|
36334
36338
|
// Would need more complex parsing
|
|
36335
|
-
summary: summaryMatch?.[1]?.trim().replace(/\s+/g, " ") ?? "",
|
|
36339
|
+
summary: decodeXmlEntities(summaryMatch?.[1]?.trim().replace(/\s+/g, " ") ?? ""),
|
|
36336
36340
|
published: publishedMatch?.[1] ?? "",
|
|
36337
36341
|
updated: "",
|
|
36338
36342
|
categories: [],
|
|
@@ -41787,7 +41791,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
41787
41791
|
]);
|
|
41788
41792
|
async function classifyWithLLM(task) {
|
|
41789
41793
|
try {
|
|
41790
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
41794
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-ZPNVLJVN.js");
|
|
41791
41795
|
const prompt = [
|
|
41792
41796
|
"Classify this task into exactly one pipeline template.",
|
|
41793
41797
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -42788,7 +42792,7 @@ ${contextBlock}`;
|
|
|
42788
42792
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
42789
42793
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
42790
42794
|
try {
|
|
42791
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
42795
|
+
const { executeVoting } = await import("./consensus-vote-MUQ4HPIF.js");
|
|
42792
42796
|
const votingResult = await executeVoting(
|
|
42793
42797
|
{
|
|
42794
42798
|
proposal: plan.slice(0, 4e3),
|
|
@@ -50029,4 +50033,4 @@ export {
|
|
|
50029
50033
|
detectBackend,
|
|
50030
50034
|
createTaskTracker
|
|
50031
50035
|
};
|
|
50032
|
-
//# sourceMappingURL=chunk-
|
|
50036
|
+
//# sourceMappingURL=chunk-2IAWMNNB.js.map
|