nexus-agents 2.77.10 → 2.77.11

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.
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-C53AFVJB.js";
11
+ } from "./chunk-N4IYBHN6.js";
12
12
  import {
13
13
  probeAllClis
14
14
  } from "./chunk-MV4R2ZIJ.js";
@@ -1948,4 +1948,4 @@ export {
1948
1948
  setupCommand,
1949
1949
  setupCommandAsync
1950
1950
  };
1951
- //# sourceMappingURL=chunk-NZIYEOKC.js.map
1951
+ //# sourceMappingURL=chunk-CFTRFP3V.js.map
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-GOT7OAL5.js";
41
41
 
42
42
  // src/version.ts
43
- var VERSION = true ? "2.77.10" : "dev";
43
+ var VERSION = true ? "2.77.11" : "dev";
44
44
 
45
45
  // src/config/schemas-core.ts
46
46
  import { z } from "zod";
@@ -2121,7 +2121,7 @@ async function runDoctorFix(result) {
2121
2121
  writeLine2("\u2500".repeat(40));
2122
2122
  let fixCount = 0;
2123
2123
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2124
- const { runSetup } = await import("./setup-command-GKBNW3MV.js");
2124
+ const { runSetup } = await import("./setup-command-HBZ22QFQ.js");
2125
2125
  const setupResult = runSetup({
2126
2126
  skipMcp: true,
2127
2127
  skipRules: true,
@@ -2231,4 +2231,4 @@ export {
2231
2231
  startStdioServer,
2232
2232
  closeServer
2233
2233
  };
2234
- //# sourceMappingURL=chunk-C53AFVJB.js.map
2234
+ //# sourceMappingURL=chunk-N4IYBHN6.js.map
@@ -70,7 +70,7 @@ import {
70
70
  clampTaskTtl,
71
71
  getAvailabilityCache,
72
72
  resolveFallback
73
- } from "./chunk-C53AFVJB.js";
73
+ } from "./chunk-N4IYBHN6.js";
74
74
  import {
75
75
  DEFAULTS
76
76
  } from "./chunk-YQMQSJQK.js";
@@ -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] ?? xml;
36321
+ return entryMatch?.[1] ?? null;
36322
+ }
36323
+ function decodeXmlEntities(s) {
36324
+ return s.replace(/&amp;/g, "&").replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, '"').replace(/&apos;/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: [],
@@ -50029,4 +50033,4 @@ export {
50029
50033
  detectBackend,
50030
50034
  createTaskTracker
50031
50035
  };
50032
- //# sourceMappingURL=chunk-BEW2Z7M6.js.map
50036
+ //# sourceMappingURL=chunk-T22NR4Z4.js.map