nexus-agents 2.96.0 → 2.97.1
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/{child-mcp-config-HZUEFKXB.js → child-mcp-config-WVPJIK2J.js} +2 -2
- package/dist/{chunk-23NNSR45.js → chunk-5F7LHFAU.js} +7 -7
- package/dist/{chunk-3ZROPKLV.js → chunk-5LGAPYX7.js} +2 -2
- package/dist/{chunk-SSHL5TAX.js → chunk-65LE457J.js} +2 -2
- package/dist/{chunk-EUUWRNDZ.js → chunk-674NONPG.js} +2 -2
- package/dist/{chunk-NJN5SGU2.js → chunk-6IN4MKDA.js} +7 -7
- package/dist/{chunk-THVTU2UG.js → chunk-7BLBXITB.js} +3 -3
- package/dist/{chunk-P7Y3KLKG.js → chunk-D3OT7TOA.js} +3 -3
- package/dist/{chunk-FHZUOIVC.js → chunk-E43RUPLP.js} +3 -3
- package/dist/{chunk-MVCJEIUU.js → chunk-EY7LL4F4.js} +2 -2
- package/dist/{chunk-7P3UIYJH.js → chunk-FB6AQ2SF.js} +30 -30
- package/dist/{chunk-OHGKVMT3.js → chunk-FDTIRCSL.js} +2 -2
- package/dist/{chunk-AW3HJHJT.js → chunk-GERVGPTF.js} +2 -2
- package/dist/{chunk-Z3XF5LRT.js → chunk-HIWO2WWP.js} +2 -2
- package/dist/{chunk-AJMHTC4J.js → chunk-HWCMNFIS.js} +3 -3
- package/dist/{chunk-AREIPUCD.js → chunk-HZGHPBTV.js} +2 -2
- package/dist/{chunk-ANH2A44T.js → chunk-IHKPGTF3.js} +4 -4
- package/dist/{chunk-2KHD2ANY.js → chunk-JTQLV374.js} +69 -5
- package/dist/chunk-JTQLV374.js.map +1 -0
- package/dist/{chunk-YSYBVLYS.js → chunk-JX6VL7JF.js} +3 -3
- package/dist/{chunk-ONIHS7K7.js → chunk-KKVH3PDK.js} +4 -4
- package/dist/{chunk-XMYJWMWN.js → chunk-ML4IF3PS.js} +4 -4
- package/dist/{chunk-YWIZ3UQ6.js → chunk-N5656LE3.js} +2 -2
- package/dist/{chunk-DTFM37IG.js → chunk-NTBVUWU4.js} +2 -2
- package/dist/{chunk-FPAUF3YB.js → chunk-OKRTOMKX.js} +2 -2
- package/dist/{chunk-ZBQXPP7M.js → chunk-OSHCOBDK.js} +2 -2
- package/dist/{chunk-SRSAMAPP.js → chunk-P2BKWVKF.js} +3 -3
- package/dist/{chunk-INFJH4JX.js → chunk-SAUBPHQ7.js} +4 -4
- package/dist/{chunk-R2KJ22LX.js → chunk-SZNNT2DH.js} +2 -2
- package/dist/{chunk-2472O6HR.js → chunk-T5TYWM5S.js} +2 -2
- package/dist/{chunk-Z7PILY4E.js → chunk-T7IIFT3B.js} +43 -15
- package/dist/chunk-T7IIFT3B.js.map +1 -0
- package/dist/{chunk-MMW4KIBH.js → chunk-UNOOL6EN.js} +2 -2
- package/dist/{chunk-JEK5CHK2.js → chunk-WXDWDGVL.js} +2 -2
- package/dist/{chunk-ICOHLRHT.js → chunk-Y4TTYQUK.js} +5 -5
- package/dist/{cli-circuit-breaker-L6SWUVOP.js → cli-circuit-breaker-STKW4DTL.js} +4 -4
- package/dist/cli.js +84 -39
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-HFBOUCXD.js → composite-router-POFAM7T4.js} +2 -2
- package/dist/{consensus-vote-YEZIP2JQ.js → consensus-vote-F6HORSU6.js} +13 -13
- package/dist/{context-retriever-PTRDEBBH.js → context-retriever-H22L3WFV.js} +6 -6
- package/dist/{doctor-deep-WHCDAV3Z.js → doctor-deep-HGAC6N5Y.js} +3 -3
- package/dist/{expert-bridge-N4L47MHU.js → expert-bridge-IAQPOJAQ.js} +4 -4
- package/dist/{factory-ZKGYCGDT.js → factory-P2SQS7UM.js} +5 -5
- package/dist/{factory-EFLOKY32.js → factory-ZIZYUDKH.js} +5 -5
- package/dist/{improvement-review-4MTIYCOZ.js → improvement-review-G2HAMGZP.js} +4 -4
- package/dist/index.d.ts +8 -1
- package/dist/index.js +28 -28
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-42GKRQDA.js → init-opencode-RHCYZDZW.js} +5 -5
- package/dist/{issue-triage-TEPE6VMA.js → issue-triage-VVNQIQW5.js} +5 -5
- package/dist/{pr-reviewer-helpers-G4O22XF6.js → pr-reviewer-helpers-UN7RDPDN.js} +4 -4
- package/dist/{registry-command-32PUZNNG.js → registry-command-OVRRKYHO.js} +2 -2
- package/dist/{repo-security-plan-XWUDQB34.js → repo-security-plan-X74TBYOV.js} +3 -3
- package/dist/{research-helpers-synthesize-YI6S7SN6.js → research-helpers-synthesize-OSP6FGNV.js} +3 -3
- package/dist/{routing-memory-Z3ZCTPFM.js → routing-memory-5T5QJF47.js} +2 -2
- package/dist/{session-memory-5ZZ2SXDE.js → session-memory-X7CJ6X4A.js} +3 -3
- package/dist/{setup-command-U3ILRY5H.js → setup-command-7KP3O3P3.js} +11 -11
- package/dist/{setup-config-WZYLXPDO.js → setup-config-YVIKUNOB.js} +3 -3
- package/dist/{setup-custom-api-K4EN47CP.js → setup-custom-api-FLV4SELI.js} +4 -4
- package/dist/{tool-memory-53Y2TUR3.js → tool-memory-QNEAKRKV.js} +5 -5
- package/dist/{weather-report-JOBWXWQ3.js → weather-report-SUVIXWKI.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-2KHD2ANY.js.map +0 -1
- package/dist/chunk-Z7PILY4E.js.map +0 -1
- /package/dist/{child-mcp-config-HZUEFKXB.js.map → child-mcp-config-WVPJIK2J.js.map} +0 -0
- /package/dist/{chunk-23NNSR45.js.map → chunk-5F7LHFAU.js.map} +0 -0
- /package/dist/{chunk-3ZROPKLV.js.map → chunk-5LGAPYX7.js.map} +0 -0
- /package/dist/{chunk-SSHL5TAX.js.map → chunk-65LE457J.js.map} +0 -0
- /package/dist/{chunk-EUUWRNDZ.js.map → chunk-674NONPG.js.map} +0 -0
- /package/dist/{chunk-NJN5SGU2.js.map → chunk-6IN4MKDA.js.map} +0 -0
- /package/dist/{chunk-THVTU2UG.js.map → chunk-7BLBXITB.js.map} +0 -0
- /package/dist/{chunk-P7Y3KLKG.js.map → chunk-D3OT7TOA.js.map} +0 -0
- /package/dist/{chunk-FHZUOIVC.js.map → chunk-E43RUPLP.js.map} +0 -0
- /package/dist/{chunk-MVCJEIUU.js.map → chunk-EY7LL4F4.js.map} +0 -0
- /package/dist/{chunk-7P3UIYJH.js.map → chunk-FB6AQ2SF.js.map} +0 -0
- /package/dist/{chunk-OHGKVMT3.js.map → chunk-FDTIRCSL.js.map} +0 -0
- /package/dist/{chunk-AW3HJHJT.js.map → chunk-GERVGPTF.js.map} +0 -0
- /package/dist/{chunk-Z3XF5LRT.js.map → chunk-HIWO2WWP.js.map} +0 -0
- /package/dist/{chunk-AJMHTC4J.js.map → chunk-HWCMNFIS.js.map} +0 -0
- /package/dist/{chunk-AREIPUCD.js.map → chunk-HZGHPBTV.js.map} +0 -0
- /package/dist/{chunk-ANH2A44T.js.map → chunk-IHKPGTF3.js.map} +0 -0
- /package/dist/{chunk-YSYBVLYS.js.map → chunk-JX6VL7JF.js.map} +0 -0
- /package/dist/{chunk-ONIHS7K7.js.map → chunk-KKVH3PDK.js.map} +0 -0
- /package/dist/{chunk-XMYJWMWN.js.map → chunk-ML4IF3PS.js.map} +0 -0
- /package/dist/{chunk-YWIZ3UQ6.js.map → chunk-N5656LE3.js.map} +0 -0
- /package/dist/{chunk-DTFM37IG.js.map → chunk-NTBVUWU4.js.map} +0 -0
- /package/dist/{chunk-FPAUF3YB.js.map → chunk-OKRTOMKX.js.map} +0 -0
- /package/dist/{chunk-ZBQXPP7M.js.map → chunk-OSHCOBDK.js.map} +0 -0
- /package/dist/{chunk-SRSAMAPP.js.map → chunk-P2BKWVKF.js.map} +0 -0
- /package/dist/{chunk-INFJH4JX.js.map → chunk-SAUBPHQ7.js.map} +0 -0
- /package/dist/{chunk-R2KJ22LX.js.map → chunk-SZNNT2DH.js.map} +0 -0
- /package/dist/{chunk-2472O6HR.js.map → chunk-T5TYWM5S.js.map} +0 -0
- /package/dist/{chunk-MMW4KIBH.js.map → chunk-UNOOL6EN.js.map} +0 -0
- /package/dist/{chunk-JEK5CHK2.js.map → chunk-WXDWDGVL.js.map} +0 -0
- /package/dist/{chunk-ICOHLRHT.js.map → chunk-Y4TTYQUK.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-L6SWUVOP.js.map → cli-circuit-breaker-STKW4DTL.js.map} +0 -0
- /package/dist/{composite-router-HFBOUCXD.js.map → composite-router-POFAM7T4.js.map} +0 -0
- /package/dist/{consensus-vote-YEZIP2JQ.js.map → consensus-vote-F6HORSU6.js.map} +0 -0
- /package/dist/{context-retriever-PTRDEBBH.js.map → context-retriever-H22L3WFV.js.map} +0 -0
- /package/dist/{doctor-deep-WHCDAV3Z.js.map → doctor-deep-HGAC6N5Y.js.map} +0 -0
- /package/dist/{expert-bridge-N4L47MHU.js.map → expert-bridge-IAQPOJAQ.js.map} +0 -0
- /package/dist/{factory-EFLOKY32.js.map → factory-P2SQS7UM.js.map} +0 -0
- /package/dist/{factory-ZKGYCGDT.js.map → factory-ZIZYUDKH.js.map} +0 -0
- /package/dist/{improvement-review-4MTIYCOZ.js.map → improvement-review-G2HAMGZP.js.map} +0 -0
- /package/dist/{init-opencode-42GKRQDA.js.map → init-opencode-RHCYZDZW.js.map} +0 -0
- /package/dist/{issue-triage-TEPE6VMA.js.map → issue-triage-VVNQIQW5.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-G4O22XF6.js.map → pr-reviewer-helpers-UN7RDPDN.js.map} +0 -0
- /package/dist/{registry-command-32PUZNNG.js.map → registry-command-OVRRKYHO.js.map} +0 -0
- /package/dist/{repo-security-plan-XWUDQB34.js.map → repo-security-plan-X74TBYOV.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-YI6S7SN6.js.map → research-helpers-synthesize-OSP6FGNV.js.map} +0 -0
- /package/dist/{routing-memory-Z3ZCTPFM.js.map → routing-memory-5T5QJF47.js.map} +0 -0
- /package/dist/{session-memory-5ZZ2SXDE.js.map → session-memory-X7CJ6X4A.js.map} +0 -0
- /package/dist/{setup-command-U3ILRY5H.js.map → setup-command-7KP3O3P3.js.map} +0 -0
- /package/dist/{setup-config-WZYLXPDO.js.map → setup-config-YVIKUNOB.js.map} +0 -0
- /package/dist/{setup-custom-api-K4EN47CP.js.map → setup-custom-api-FLV4SELI.js.map} +0 -0
- /package/dist/{tool-memory-53Y2TUR3.js.map → tool-memory-QNEAKRKV.js.map} +0 -0
- /package/dist/{weather-report-JOBWXWQ3.js.map → weather-report-SUVIXWKI.js.map} +0 -0
|
@@ -2057,12 +2057,69 @@ function loadModelsDevSnapshot(options) {
|
|
|
2057
2057
|
};
|
|
2058
2058
|
}
|
|
2059
2059
|
|
|
2060
|
+
// src/config/models-generated-loader.ts
|
|
2061
|
+
import { existsSync as existsSync3, readFileSync as readFileSync3 } from "fs";
|
|
2062
|
+
import { dirname as dirname2, join as join2 } from "path";
|
|
2063
|
+
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
2064
|
+
function defaultGeneratedPath() {
|
|
2065
|
+
const here = dirname2(fileURLToPath2(import.meta.url));
|
|
2066
|
+
return join2(here, "model-registry.generated.json");
|
|
2067
|
+
}
|
|
2068
|
+
function toModelEntry(rec) {
|
|
2069
|
+
if (typeof rec.id !== "string" || rec.id === "") return void 0;
|
|
2070
|
+
const id = rec.id;
|
|
2071
|
+
const base = deriveEntry(id, resolveModelIdentitySync(id));
|
|
2072
|
+
const pricing = rec.pricing !== void 0 && typeof rec.pricing.inputPer1M === "number" && typeof rec.pricing.outputPer1M === "number" ? { inputPer1M: rec.pricing.inputPer1M, outputPer1M: rec.pricing.outputPer1M } : void 0;
|
|
2073
|
+
return {
|
|
2074
|
+
...base,
|
|
2075
|
+
source: "generated",
|
|
2076
|
+
...typeof rec.displayName === "string" ? { displayName: rec.displayName } : {},
|
|
2077
|
+
...typeof rec.contextWindow === "number" ? { contextWindow: rec.contextWindow } : {},
|
|
2078
|
+
...typeof rec.maxOutputTokens === "number" ? { maxOutputTokens: rec.maxOutputTokens } : {},
|
|
2079
|
+
...pricing !== void 0 ? { pricing } : {}
|
|
2080
|
+
};
|
|
2081
|
+
}
|
|
2082
|
+
function loadGeneratedRegistryEntries(options) {
|
|
2083
|
+
const logger11 = createLogger({ component: "models-generated" });
|
|
2084
|
+
const path2 = options?.path ?? defaultGeneratedPath();
|
|
2085
|
+
let exists = false;
|
|
2086
|
+
try {
|
|
2087
|
+
exists = existsSync3(path2);
|
|
2088
|
+
} catch {
|
|
2089
|
+
return { entries: [], path: path2, status: "missing" };
|
|
2090
|
+
}
|
|
2091
|
+
if (!exists) return { entries: [], path: path2, status: "missing" };
|
|
2092
|
+
let parsed;
|
|
2093
|
+
try {
|
|
2094
|
+
parsed = JSON.parse(readFileSync3(path2, "utf-8"));
|
|
2095
|
+
} catch (e) {
|
|
2096
|
+
logger11.warn("generated registry parse failure; skipping", {
|
|
2097
|
+
path: path2,
|
|
2098
|
+
error: e instanceof Error ? e.message : String(e)
|
|
2099
|
+
});
|
|
2100
|
+
return { entries: [], path: path2, status: "malformed" };
|
|
2101
|
+
}
|
|
2102
|
+
if (!Array.isArray(parsed.entries)) {
|
|
2103
|
+
logger11.warn("generated registry missing entries array; skipping", { path: path2 });
|
|
2104
|
+
return { entries: [], path: path2, status: "malformed" };
|
|
2105
|
+
}
|
|
2106
|
+
const entries = [];
|
|
2107
|
+
for (const raw of parsed.entries) {
|
|
2108
|
+
const entry = toModelEntry(raw);
|
|
2109
|
+
if (entry !== void 0) entries.push(entry);
|
|
2110
|
+
}
|
|
2111
|
+
return { entries, path: path2, status: "loaded" };
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2060
2114
|
// src/config/model-registry.ts
|
|
2061
2115
|
var ModelRegistry = class {
|
|
2062
2116
|
byId = /* @__PURE__ */ new Map();
|
|
2063
2117
|
byAlias = /* @__PURE__ */ new Map();
|
|
2064
2118
|
// alias → canonical id
|
|
2065
2119
|
constructor(options = {}) {
|
|
2120
|
+
if (options.generatedEntries !== void 0) {
|
|
2121
|
+
this.loadEntries(options.generatedEntries);
|
|
2122
|
+
}
|
|
2066
2123
|
if (options.modelsDevEntries !== void 0) {
|
|
2067
2124
|
this.loadEntries(options.modelsDevEntries);
|
|
2068
2125
|
}
|
|
@@ -2079,7 +2136,9 @@ var ModelRegistry = class {
|
|
|
2079
2136
|
*/
|
|
2080
2137
|
getEntry(modelId, hints) {
|
|
2081
2138
|
const direct = this.lookupExact(modelId);
|
|
2082
|
-
if (direct !== void 0 && direct.source !== "models-dev"
|
|
2139
|
+
if (direct !== void 0 && direct.source !== "models-dev" && direct.source !== "generated") {
|
|
2140
|
+
return direct;
|
|
2141
|
+
}
|
|
2083
2142
|
const identity = resolveModelIdentitySync(modelId, augmentHints(hints, direct));
|
|
2084
2143
|
const derived = deriveEntry(modelId, identity);
|
|
2085
2144
|
if (direct !== void 0 && identity.vendor !== "unknown") {
|
|
@@ -2115,6 +2174,7 @@ var ModelRegistry = class {
|
|
|
2115
2174
|
if (entry.aliases !== void 0) {
|
|
2116
2175
|
for (const alias of entry.aliases) {
|
|
2117
2176
|
this.byAlias.set(alias, entry.id);
|
|
2177
|
+
if (alias !== entry.id) this.byId.delete(alias);
|
|
2118
2178
|
}
|
|
2119
2179
|
}
|
|
2120
2180
|
}
|
|
@@ -2152,6 +2212,7 @@ function getDefaultRegistry() {
|
|
|
2152
2212
|
function buildDefaultRegistry() {
|
|
2153
2213
|
const overlay = loadManifestOverlay();
|
|
2154
2214
|
const snapshot = loadModelsDevSnapshot();
|
|
2215
|
+
const generated = loadGeneratedRegistryEntries();
|
|
2155
2216
|
const inTree = buildInTreeEntries();
|
|
2156
2217
|
const options = { inTreeEntries: inTree };
|
|
2157
2218
|
if (overlay.status === "loaded" && overlay.entries.length > 0) {
|
|
@@ -2160,6 +2221,9 @@ function buildDefaultRegistry() {
|
|
|
2160
2221
|
if (snapshot.status === "loaded" && snapshot.entries.length > 0) {
|
|
2161
2222
|
options.modelsDevEntries = snapshot.entries;
|
|
2162
2223
|
}
|
|
2224
|
+
if (generated.status === "loaded" && generated.entries.length > 0) {
|
|
2225
|
+
options.generatedEntries = generated.entries;
|
|
2226
|
+
}
|
|
2163
2227
|
return new ModelRegistry(options);
|
|
2164
2228
|
}
|
|
2165
2229
|
function setDefaultRegistry(registry) {
|
|
@@ -11422,7 +11486,7 @@ var CompositeRouter = class _CompositeRouter {
|
|
|
11422
11486
|
*/
|
|
11423
11487
|
async consultUnifiedContext(task) {
|
|
11424
11488
|
try {
|
|
11425
|
-
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-
|
|
11489
|
+
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-H22L3WFV.js");
|
|
11426
11490
|
const ctx = await getContextForTask({
|
|
11427
11491
|
task: task.content,
|
|
11428
11492
|
category: inferTaskCategory(task.content),
|
|
@@ -11810,7 +11874,7 @@ var OrchestratorError = class extends Error {
|
|
|
11810
11874
|
|
|
11811
11875
|
// src/context/mobimem.ts
|
|
11812
11876
|
import Database from "better-sqlite3";
|
|
11813
|
-
import { dirname as
|
|
11877
|
+
import { dirname as dirname4 } from "path";
|
|
11814
11878
|
import { mkdirSync as mkdirSync2 } from "fs";
|
|
11815
11879
|
|
|
11816
11880
|
// src/context/mobimem-types.ts
|
|
@@ -12298,7 +12362,7 @@ var MobiMem = class {
|
|
|
12298
12362
|
if (validated.dbPath === ":memory:" || validated.dbPath === "") {
|
|
12299
12363
|
this.db = null;
|
|
12300
12364
|
} else {
|
|
12301
|
-
mkdirSync2(
|
|
12365
|
+
mkdirSync2(dirname4(validated.dbPath), { recursive: true });
|
|
12302
12366
|
const db = new Database(validated.dbPath);
|
|
12303
12367
|
db.pragma("journal_mode = WAL");
|
|
12304
12368
|
this.db = db;
|
|
@@ -12754,4 +12818,4 @@ export {
|
|
|
12754
12818
|
ParseError,
|
|
12755
12819
|
OrchestratorError
|
|
12756
12820
|
};
|
|
12757
|
-
//# sourceMappingURL=chunk-
|
|
12821
|
+
//# sourceMappingURL=chunk-JTQLV374.js.map
|