nexus-agents 2.77.11 → 2.77.13
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-FYAQBYHM.js → chunk-3DH5SLFH.js} +2 -2
- package/dist/{chunk-T22NR4Z4.js → chunk-GFKGL2GQ.js} +19 -11
- package/dist/{chunk-T22NR4Z4.js.map → chunk-GFKGL2GQ.js.map} +1 -1
- package/dist/{chunk-N4IYBHN6.js → chunk-JX6OI4FS.js} +4 -4
- package/dist/{chunk-CFTRFP3V.js → chunk-RBZ4CDMY.js} +3 -3
- package/dist/{chunk-MV4R2ZIJ.js → chunk-TDV5ALHY.js} +7 -14
- package/dist/chunk-TDV5ALHY.js.map +1 -0
- 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-HBZ22QFQ.js → setup-command-W6UKPODL.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-N4IYBHN6.js.map → chunk-JX6OI4FS.js.map} +0 -0
- /package/dist/{chunk-CFTRFP3V.js.map → chunk-RBZ4CDMY.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-HBZ22QFQ.js.map → setup-command-W6UKPODL.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
createAllAdapters,
|
|
9
9
|
probeCli
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TDV5ALHY.js";
|
|
11
11
|
import {
|
|
12
12
|
capitalize
|
|
13
13
|
} from "./chunk-633WH2ML.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-GOT7OAL5.js";
|
|
41
41
|
|
|
42
42
|
// src/version.ts
|
|
43
|
-
var VERSION = true ? "2.77.
|
|
43
|
+
var VERSION = true ? "2.77.13" : "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-
|
|
2124
|
+
const { runSetup } = await import("./setup-command-W6UKPODL.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-
|
|
2234
|
+
//# sourceMappingURL=chunk-JX6OI4FS.js.map
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
checkSqlite,
|
|
9
9
|
defaultConfig,
|
|
10
10
|
initDataDirectories
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JX6OI4FS.js";
|
|
12
12
|
import {
|
|
13
13
|
probeAllClis
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TDV5ALHY.js";
|
|
15
15
|
import {
|
|
16
16
|
BUILT_IN_EXPERTS
|
|
17
17
|
} from "./chunk-ZM4O442V.js";
|
|
@@ -1948,4 +1948,4 @@ export {
|
|
|
1948
1948
|
setupCommand,
|
|
1949
1949
|
setupCommandAsync
|
|
1950
1950
|
};
|
|
1951
|
-
//# sourceMappingURL=chunk-
|
|
1951
|
+
//# sourceMappingURL=chunk-RBZ4CDMY.js.map
|
|
@@ -339,7 +339,6 @@ function shouldRetry(error, attempt, maxAttempts, circuitBreaker) {
|
|
|
339
339
|
|
|
340
340
|
// src/cli-adapters/base-adapter.ts
|
|
341
341
|
var execAsync = promisify(exec);
|
|
342
|
-
var DEFAULT_CAPACITY_FALLBACK = 1e5;
|
|
343
342
|
var DEFAULT_OPTIONS = {
|
|
344
343
|
timeoutMs: 6e4,
|
|
345
344
|
// 1 minute (reduced from 2 minutes per Issue #280)
|
|
@@ -484,19 +483,13 @@ var BaseCliAdapter = class {
|
|
|
484
483
|
*/
|
|
485
484
|
getCapacity() {
|
|
486
485
|
if (this.capacityTracker === null) {
|
|
487
|
-
this.
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
remainingTokens: DEFAULT_CAPACITY_FALLBACK,
|
|
493
|
-
remainingRequests: DEFAULT_CAPACITY_FALLBACK,
|
|
494
|
-
resetTime: new Date(getTimeProvider().now() + 36e5),
|
|
495
|
-
utilizationPercent: 0,
|
|
496
|
-
exhausted: false
|
|
497
|
-
});
|
|
486
|
+
this.initCapacityTracker();
|
|
487
|
+
}
|
|
488
|
+
const tracker = this.capacityTracker;
|
|
489
|
+
if (tracker === null) {
|
|
490
|
+
throw new Error(`Capacity tracker initialization failed for ${this.name}`);
|
|
498
491
|
}
|
|
499
|
-
return Promise.resolve(
|
|
492
|
+
return Promise.resolve(tracker.getCapacity());
|
|
500
493
|
}
|
|
501
494
|
/**
|
|
502
495
|
* Records usage from a response for capacity tracking.
|
|
@@ -3069,4 +3062,4 @@ export {
|
|
|
3069
3062
|
isCliAvailable,
|
|
3070
3063
|
getAvailableClis
|
|
3071
3064
|
};
|
|
3072
|
-
//# sourceMappingURL=chunk-
|
|
3065
|
+
//# sourceMappingURL=chunk-TDV5ALHY.js.map
|