nexus-agents 2.77.11 → 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-T22NR4Z4.js → chunk-2IAWMNNB.js} +7 -7
- package/dist/{chunk-FYAQBYHM.js → chunk-3DH5SLFH.js} +2 -2
- package/dist/{chunk-N4IYBHN6.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-CFTRFP3V.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-HBZ22QFQ.js → setup-command-3ZTEPKDA.js} +4 -4
- package/package.json +1 -1
- package/dist/chunk-MV4R2ZIJ.js.map +0 -1
- /package/dist/{chunk-T22NR4Z4.js.map → chunk-2IAWMNNB.js.map} +0 -0
- /package/dist/{chunk-FYAQBYHM.js.map → chunk-3DH5SLFH.js.map} +0 -0
- /package/dist/{chunk-N4IYBHN6.js.map → chunk-L3TPDTP3.js.map} +0 -0
- /package/dist/{chunk-CFTRFP3V.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-HBZ22QFQ.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,
|
|
@@ -41791,7 +41791,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
41791
41791
|
]);
|
|
41792
41792
|
async function classifyWithLLM(task) {
|
|
41793
41793
|
try {
|
|
41794
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
41794
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-ZPNVLJVN.js");
|
|
41795
41795
|
const prompt = [
|
|
41796
41796
|
"Classify this task into exactly one pipeline template.",
|
|
41797
41797
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -42792,7 +42792,7 @@ ${contextBlock}`;
|
|
|
42792
42792
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
42793
42793
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
42794
42794
|
try {
|
|
42795
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
42795
|
+
const { executeVoting } = await import("./consensus-vote-MUQ4HPIF.js");
|
|
42796
42796
|
const votingResult = await executeVoting(
|
|
42797
42797
|
{
|
|
42798
42798
|
proposal: plan.slice(0, 4e3),
|
|
@@ -50033,4 +50033,4 @@ export {
|
|
|
50033
50033
|
detectBackend,
|
|
50034
50034
|
createTaskTracker
|
|
50035
50035
|
};
|
|
50036
|
-
//# sourceMappingURL=chunk-
|
|
50036
|
+
//# sourceMappingURL=chunk-2IAWMNNB.js.map
|
|
@@ -38,7 +38,7 @@ function adaptCompositeRouter(compositeRouter) {
|
|
|
38
38
|
}
|
|
39
39
|
async function getRouter() {
|
|
40
40
|
if (cachedRouter !== null) return cachedRouter;
|
|
41
|
-
const { createAllAdapters } = await import("./factory-
|
|
41
|
+
const { createAllAdapters } = await import("./factory-X3VKIGKP.js");
|
|
42
42
|
const { createCompositeRouter } = await import("./composite-router-S6E26BCI.js");
|
|
43
43
|
const adapters = createAllAdapters();
|
|
44
44
|
if (adapters.size === 0) return null;
|
|
@@ -136,4 +136,4 @@ ${prompt}`;
|
|
|
136
136
|
export {
|
|
137
137
|
executeExpert
|
|
138
138
|
};
|
|
139
|
-
//# sourceMappingURL=chunk-
|
|
139
|
+
//# sourceMappingURL=chunk-3DH5SLFH.js.map
|
|
@@ -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.12" : "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-3ZTEPKDA.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-L3TPDTP3.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
|