nexus-agents 2.50.0 → 2.53.0
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/{adaptive-memory-KY4NLMYE.js → adaptive-memory-MJCMOTPV.js} +3 -3
- package/dist/{chunk-364SPDIG.js → chunk-35IK52NC.js} +3 -3
- package/dist/{chunk-APQJV46Q.js → chunk-3JS6HWD7.js} +2353 -2188
- package/dist/chunk-3JS6HWD7.js.map +1 -0
- package/dist/{chunk-YR73KTXC.js → chunk-4JOCMGZ6.js} +6 -6
- package/dist/{chunk-YDCRFMFQ.js → chunk-AAOPPO76.js} +2 -2
- package/dist/{chunk-2TV2R2V4.js → chunk-AC4HF455.js} +2 -2
- package/dist/{chunk-H3A7KK6X.js → chunk-AY3ODG3N.js} +4 -4
- package/dist/{chunk-NAN7IILE.js → chunk-BWKIRUP7.js} +6 -6
- package/dist/{chunk-QFDXRHNX.js → chunk-FCNPYMZF.js} +2 -2
- package/dist/{chunk-XHQMMRW5.js → chunk-FF3KQEPK.js} +4 -4
- package/dist/{chunk-5XX5ROV6.js → chunk-H45G5663.js} +2 -2
- package/dist/{chunk-E24JT23A.js → chunk-JFAIDT6O.js} +5 -5
- package/dist/chunk-JFAIDT6O.js.map +1 -0
- package/dist/{chunk-6ETRQCTX.js → chunk-MS2S2GPC.js} +2 -2
- package/dist/{chunk-SOXQTSV6.js → chunk-NQ3TB7HC.js} +2 -2
- package/dist/{chunk-XXHVHW4K.js → chunk-PWXM3E2K.js} +3 -3
- package/dist/{chunk-MWLAUEG5.js → chunk-TI5SX3WI.js} +2 -2
- package/dist/{chunk-YRPOXUXI.js → chunk-VDP25LYJ.js} +7 -6
- package/dist/chunk-VDP25LYJ.js.map +1 -0
- package/dist/{chunk-YT52YZGW.js → chunk-VEBS5EYK.js} +2 -2
- package/dist/{chunk-KC3NUWZT.js → chunk-XEGXCMFJ.js} +59 -7
- package/dist/chunk-XEGXCMFJ.js.map +1 -0
- package/dist/{chunk-MWX2G6ZJ.js → chunk-XSW52RAB.js} +7 -7
- package/dist/{chunk-MWX2G6ZJ.js.map → chunk-XSW52RAB.js.map} +1 -1
- package/dist/{chunk-ULDKSIS7.js → chunk-ZLRFNBSV.js} +2 -2
- package/dist/{cli-circuit-breaker-OX4HUAVY.js → cli-circuit-breaker-TC6ABKU6.js} +4 -4
- package/dist/cli.js +38 -24
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-UZZLC7PL.js → composite-router-WEKJCAZV.js} +2 -2
- package/dist/{consensus-vote-N5RRFYER.js → consensus-vote-IAK5NOIH.js} +7 -7
- package/dist/{doctor-deep-POD6ZFJO.js → doctor-deep-I3SNBZWH.js} +3 -3
- package/dist/{expert-bridge-F4WTPCTH.js → expert-bridge-YIUJ2XXG.js} +3 -3
- package/dist/{factory-GIUXH64S.js → factory-TIZRZ57W.js} +5 -5
- package/dist/{factory-L6MS5P3G.js → factory-WLLQRHFZ.js} +4 -4
- package/dist/index.d.ts +9 -0
- package/dist/index.js +18 -18
- package/dist/index.js.map +1 -1
- package/dist/{issue-triage-VLP2PXR6.js → issue-triage-LX4BWDEA.js} +4 -4
- package/dist/{mcp-config-HPDTPYEW.js → mcp-config-KQHLEC7Q.js} +3 -3
- package/dist/{mobimem-3K22YOIL.js → mobimem-Q5QQCP5R.js} +2 -2
- package/dist/{repo-security-plan-B7R2VJVG.js → repo-security-plan-LCJF6USQ.js} +3 -3
- package/dist/research-helpers-synthesize-PDE4RPB5.js +10 -0
- package/dist/{routing-memory-FWHM4VEK.js → routing-memory-VHU2RXXE.js} +2 -2
- package/dist/{session-memory-7FJYLKYG.js → session-memory-LZS2LBAJ.js} +3 -3
- package/dist/{setup-command-SALY236Y.js → setup-command-RX5HTPUZ.js} +7 -7
- package/dist/{setup-config-HEPDA5LF.js → setup-config-7PPFTY4I.js} +3 -3
- package/dist/{weather-report-76ECJETR.js → weather-report-OSLN7MJH.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-APQJV46Q.js.map +0 -1
- package/dist/chunk-E24JT23A.js.map +0 -1
- package/dist/chunk-KC3NUWZT.js.map +0 -1
- package/dist/chunk-YRPOXUXI.js.map +0 -1
- package/dist/research-helpers-synthesize-PHXJELYZ.js +0 -10
- /package/dist/{adaptive-memory-KY4NLMYE.js.map → adaptive-memory-MJCMOTPV.js.map} +0 -0
- /package/dist/{chunk-364SPDIG.js.map → chunk-35IK52NC.js.map} +0 -0
- /package/dist/{chunk-YR73KTXC.js.map → chunk-4JOCMGZ6.js.map} +0 -0
- /package/dist/{chunk-YDCRFMFQ.js.map → chunk-AAOPPO76.js.map} +0 -0
- /package/dist/{chunk-2TV2R2V4.js.map → chunk-AC4HF455.js.map} +0 -0
- /package/dist/{chunk-H3A7KK6X.js.map → chunk-AY3ODG3N.js.map} +0 -0
- /package/dist/{chunk-NAN7IILE.js.map → chunk-BWKIRUP7.js.map} +0 -0
- /package/dist/{chunk-QFDXRHNX.js.map → chunk-FCNPYMZF.js.map} +0 -0
- /package/dist/{chunk-XHQMMRW5.js.map → chunk-FF3KQEPK.js.map} +0 -0
- /package/dist/{chunk-5XX5ROV6.js.map → chunk-H45G5663.js.map} +0 -0
- /package/dist/{chunk-6ETRQCTX.js.map → chunk-MS2S2GPC.js.map} +0 -0
- /package/dist/{chunk-SOXQTSV6.js.map → chunk-NQ3TB7HC.js.map} +0 -0
- /package/dist/{chunk-XXHVHW4K.js.map → chunk-PWXM3E2K.js.map} +0 -0
- /package/dist/{chunk-MWLAUEG5.js.map → chunk-TI5SX3WI.js.map} +0 -0
- /package/dist/{chunk-YT52YZGW.js.map → chunk-VEBS5EYK.js.map} +0 -0
- /package/dist/{chunk-ULDKSIS7.js.map → chunk-ZLRFNBSV.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-OX4HUAVY.js.map → cli-circuit-breaker-TC6ABKU6.js.map} +0 -0
- /package/dist/{composite-router-UZZLC7PL.js.map → composite-router-WEKJCAZV.js.map} +0 -0
- /package/dist/{consensus-vote-N5RRFYER.js.map → consensus-vote-IAK5NOIH.js.map} +0 -0
- /package/dist/{doctor-deep-POD6ZFJO.js.map → doctor-deep-I3SNBZWH.js.map} +0 -0
- /package/dist/{expert-bridge-F4WTPCTH.js.map → expert-bridge-YIUJ2XXG.js.map} +0 -0
- /package/dist/{factory-GIUXH64S.js.map → factory-TIZRZ57W.js.map} +0 -0
- /package/dist/{factory-L6MS5P3G.js.map → factory-WLLQRHFZ.js.map} +0 -0
- /package/dist/{issue-triage-VLP2PXR6.js.map → issue-triage-LX4BWDEA.js.map} +0 -0
- /package/dist/{mcp-config-HPDTPYEW.js.map → mcp-config-KQHLEC7Q.js.map} +0 -0
- /package/dist/{mobimem-3K22YOIL.js.map → mobimem-Q5QQCP5R.js.map} +0 -0
- /package/dist/{repo-security-plan-B7R2VJVG.js.map → repo-security-plan-LCJF6USQ.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-PHXJELYZ.js.map → research-helpers-synthesize-PDE4RPB5.js.map} +0 -0
- /package/dist/{routing-memory-FWHM4VEK.js.map → routing-memory-VHU2RXXE.js.map} +0 -0
- /package/dist/{session-memory-7FJYLKYG.js.map → session-memory-LZS2LBAJ.js.map} +0 -0
- /package/dist/{setup-command-SALY236Y.js.map → setup-command-RX5HTPUZ.js.map} +0 -0
- /package/dist/{setup-config-HEPDA5LF.js.map → setup-config-7PPFTY4I.js.map} +0 -0
- /package/dist/{weather-report-76ECJETR.js.map → weather-report-OSLN7MJH.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
getTimeProvider,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XSW52RAB.js";
|
|
8
8
|
|
|
9
9
|
// src/context/session-memory.ts
|
|
10
10
|
import * as fs from "fs";
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
SessionMemory,
|
|
352
352
|
createSessionMemory
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-ZLRFNBSV.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CliCircuitBreakerIntegration,
|
|
3
3
|
createCliCircuitBreakerIntegration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-35IK52NC.js";
|
|
5
|
+
import "./chunk-H45G5663.js";
|
|
6
|
+
import "./chunk-XSW52RAB.js";
|
|
7
7
|
import "./chunk-CLYZ7FWP.js";
|
|
8
8
|
import "./chunk-UP2VWCW5.js";
|
|
9
9
|
export {
|
|
10
10
|
CliCircuitBreakerIntegration,
|
|
11
11
|
createCliCircuitBreakerIntegration
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=cli-circuit-breaker-
|
|
13
|
+
//# sourceMappingURL=cli-circuit-breaker-TC6ABKU6.js.map
|
package/dist/cli.js
CHANGED
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
parseFindings,
|
|
13
13
|
sumFindings
|
|
14
14
|
} from "./chunk-6E3NMMEY.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-AAOPPO76.js";
|
|
16
16
|
import {
|
|
17
17
|
setupCommandAsync
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-AY3ODG3N.js";
|
|
19
|
+
import "./chunk-TI5SX3WI.js";
|
|
20
20
|
import {
|
|
21
21
|
AuthHandler,
|
|
22
22
|
CustomExpertDefinitionSchema,
|
|
@@ -151,10 +151,10 @@ import {
|
|
|
151
151
|
validateNexusEnv,
|
|
152
152
|
validateWorkflow,
|
|
153
153
|
wrapInMarkdownFence
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-3JS6HWD7.js";
|
|
155
155
|
import {
|
|
156
156
|
resolveToken
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-FCNPYMZF.js";
|
|
158
158
|
import {
|
|
159
159
|
CATEGORY_DISPLAY_NAMES,
|
|
160
160
|
DEFAULT_PR_REVIEW_CONFIG
|
|
@@ -170,22 +170,22 @@ import {
|
|
|
170
170
|
registerConsensusVoteTool,
|
|
171
171
|
shutdownToolMemory,
|
|
172
172
|
validateTimeout
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-XEGXCMFJ.js";
|
|
174
174
|
import {
|
|
175
175
|
loadPapersRegistry,
|
|
176
176
|
loadTechniquesRegistry,
|
|
177
177
|
savePapersRegistry,
|
|
178
178
|
synthesizeResearch
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-AC4HF455.js";
|
|
180
180
|
import {
|
|
181
181
|
classifyTrust,
|
|
182
182
|
createFullGitHubProvider,
|
|
183
183
|
evaluatePolicy,
|
|
184
184
|
parsePRUrl,
|
|
185
185
|
sanitizeInput
|
|
186
|
-
} from "./chunk-
|
|
187
|
-
import "./chunk-
|
|
188
|
-
import "./chunk-
|
|
186
|
+
} from "./chunk-JFAIDT6O.js";
|
|
187
|
+
import "./chunk-NQ3TB7HC.js";
|
|
188
|
+
import "./chunk-VDP25LYJ.js";
|
|
189
189
|
import "./chunk-BC3M4VLP.js";
|
|
190
190
|
import "./chunk-AP2FD37C.js";
|
|
191
191
|
import "./chunk-BQ4YXGGQ.js";
|
|
@@ -201,25 +201,25 @@ import {
|
|
|
201
201
|
doctorCommand,
|
|
202
202
|
initDataDirectories,
|
|
203
203
|
runDoctor
|
|
204
|
-
} from "./chunk-
|
|
205
|
-
import "./chunk-
|
|
204
|
+
} from "./chunk-BWKIRUP7.js";
|
|
205
|
+
import "./chunk-ZLRFNBSV.js";
|
|
206
206
|
import {
|
|
207
207
|
MemoryError
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-VEBS5EYK.js";
|
|
209
209
|
import {
|
|
210
210
|
capitalize,
|
|
211
211
|
capitalizeKebab,
|
|
212
212
|
truncateSentence
|
|
213
213
|
} from "./chunk-633WH2ML.js";
|
|
214
|
-
import "./chunk-
|
|
215
|
-
import "./chunk-
|
|
216
|
-
import "./chunk-
|
|
214
|
+
import "./chunk-MS2S2GPC.js";
|
|
215
|
+
import "./chunk-35IK52NC.js";
|
|
216
|
+
import "./chunk-4JOCMGZ6.js";
|
|
217
217
|
import {
|
|
218
218
|
createAllAdapters,
|
|
219
219
|
getAvailableClis,
|
|
220
220
|
isRecord
|
|
221
|
-
} from "./chunk-
|
|
222
|
-
import "./chunk-
|
|
221
|
+
} from "./chunk-PWXM3E2K.js";
|
|
222
|
+
import "./chunk-H45G5663.js";
|
|
223
223
|
import {
|
|
224
224
|
API_TIMEOUTS,
|
|
225
225
|
AgentCapability,
|
|
@@ -284,7 +284,7 @@ import {
|
|
|
284
284
|
toError,
|
|
285
285
|
writeEmptyLine,
|
|
286
286
|
writeLine
|
|
287
|
-
} from "./chunk-
|
|
287
|
+
} from "./chunk-XSW52RAB.js";
|
|
288
288
|
import "./chunk-CLYZ7FWP.js";
|
|
289
289
|
import "./chunk-UP2VWCW5.js";
|
|
290
290
|
|
|
@@ -14207,20 +14207,34 @@ var FitnessScoreCalculator = class {
|
|
|
14207
14207
|
// =========================================================================
|
|
14208
14208
|
// Individual Checks — real filesystem analysis
|
|
14209
14209
|
// =========================================================================
|
|
14210
|
-
/**
|
|
14210
|
+
/**
|
|
14211
|
+
* Check canonical paths: penalize duplicate router implementations.
|
|
14212
|
+
*
|
|
14213
|
+
* The current minimum is 6 (raised from 5 in #2063 after an audit):
|
|
14214
|
+
* 1. composite-router — pipeline orchestrator
|
|
14215
|
+
* 2. budget-router — budget/cost filtering
|
|
14216
|
+
* 3. zero-router — hard-constraint exclusion
|
|
14217
|
+
* 4. preference-router — user/task preference application
|
|
14218
|
+
* 5. topsis-router — TOPSIS multi-criteria scoring
|
|
14219
|
+
* 6. agreement-cascade-router — agreement-based cascade retry
|
|
14220
|
+
*
|
|
14221
|
+
* Each stage is distinct per CLAUDE.md's documented pipeline:
|
|
14222
|
+
* Task → BudgetRouter → ZeroRouter → PreferenceRouter → TopsisRouter → Agreement → Model
|
|
14223
|
+
*/
|
|
14211
14224
|
checkCanonicalPaths() {
|
|
14212
14225
|
const findings = [];
|
|
14213
14226
|
let score = 20;
|
|
14214
14227
|
const routerCount = countFiles(join14(SRC_ROOT, "cli-adapters"), /router\.ts$/);
|
|
14215
|
-
|
|
14216
|
-
|
|
14228
|
+
const ROUTER_COUNT_THRESHOLD = 6;
|
|
14229
|
+
if (routerCount > ROUTER_COUNT_THRESHOLD) {
|
|
14230
|
+
const excess = routerCount - ROUTER_COUNT_THRESHOLD;
|
|
14217
14231
|
const deduction = Math.min(5, excess);
|
|
14218
14232
|
score -= deduction;
|
|
14219
14233
|
findings.push(
|
|
14220
14234
|
this.finding(
|
|
14221
14235
|
"canonicalPaths",
|
|
14222
14236
|
"warning",
|
|
14223
|
-
`${String(routerCount)} router implementations found (target:
|
|
14237
|
+
`${String(routerCount)} router implementations found (target: <=${String(ROUTER_COUNT_THRESHOLD)})`,
|
|
14224
14238
|
deduction,
|
|
14225
14239
|
"Consolidate duplicate routers into CompositeRouter"
|
|
14226
14240
|
)
|
|
@@ -20502,7 +20516,7 @@ async function handleVerifyCommand(args) {
|
|
|
20502
20516
|
async function handleDoctorCommand(args) {
|
|
20503
20517
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
20504
20518
|
if (args.options.deep) {
|
|
20505
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
20519
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-I3SNBZWH.js");
|
|
20506
20520
|
const diag = runDeepDiagnostics2();
|
|
20507
20521
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
20508
20522
|
}
|