nexus-agents 2.102.5 → 2.102.6
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-3LC5NHC4.js → chunk-5VMCBHRX.js} +63 -8
- package/dist/chunk-5VMCBHRX.js.map +1 -0
- package/dist/{chunk-XY72JFG2.js → chunk-QM3WIUXB.js} +2 -2
- package/dist/{chunk-AQBPOBAT.js → chunk-W7JCGUTA.js} +3 -3
- package/dist/cli.js +3 -3
- package/dist/index.d.ts +15 -0
- package/dist/index.js +2 -2
- package/dist/{setup-command-QOEYR6YI.js → setup-command-E2WOYCXO.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-3LC5NHC4.js.map +0 -1
- /package/dist/{chunk-XY72JFG2.js.map → chunk-QM3WIUXB.js.map} +0 -0
- /package/dist/{chunk-AQBPOBAT.js.map → chunk-W7JCGUTA.js.map} +0 -0
- /package/dist/{setup-command-QOEYR6YI.js.map → setup-command-E2WOYCXO.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
checkSqlite,
|
|
9
9
|
defaultConfig,
|
|
10
10
|
initDataDirectories
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-W7JCGUTA.js";
|
|
12
12
|
import {
|
|
13
13
|
probeAllClis
|
|
14
14
|
} from "./chunk-3GF52QPA.js";
|
|
@@ -1987,4 +1987,4 @@ export {
|
|
|
1987
1987
|
setupCommand,
|
|
1988
1988
|
setupCommandAsync
|
|
1989
1989
|
};
|
|
1990
|
-
//# sourceMappingURL=chunk-
|
|
1990
|
+
//# sourceMappingURL=chunk-QM3WIUXB.js.map
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-CH7QIDHQ.js";
|
|
41
41
|
|
|
42
42
|
// src/version.ts
|
|
43
|
-
var VERSION = true ? "2.102.
|
|
43
|
+
var VERSION = true ? "2.102.6" : "dev";
|
|
44
44
|
|
|
45
45
|
// src/config/schemas-core.ts
|
|
46
46
|
import { z } from "zod";
|
|
@@ -2096,7 +2096,7 @@ async function runDoctorFix(result) {
|
|
|
2096
2096
|
writeLine2("\u2500".repeat(40));
|
|
2097
2097
|
let fixCount = 0;
|
|
2098
2098
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
2099
|
-
const { runSetup } = await import("./setup-command-
|
|
2099
|
+
const { runSetup } = await import("./setup-command-E2WOYCXO.js");
|
|
2100
2100
|
const setupResult = runSetup({
|
|
2101
2101
|
skipMcp: true,
|
|
2102
2102
|
skipRules: true,
|
|
@@ -2208,4 +2208,4 @@ export {
|
|
|
2208
2208
|
startStdioServer,
|
|
2209
2209
|
closeServer
|
|
2210
2210
|
};
|
|
2211
|
-
//# sourceMappingURL=chunk-
|
|
2211
|
+
//# sourceMappingURL=chunk-W7JCGUTA.js.map
|
package/dist/cli.js
CHANGED
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
setupCommandAsync,
|
|
26
26
|
verifyCommand
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QM3WIUXB.js";
|
|
28
28
|
import "./chunk-4L7FH53H.js";
|
|
29
29
|
import {
|
|
30
30
|
AuthHandler,
|
|
@@ -165,7 +165,7 @@ import {
|
|
|
165
165
|
validateCommand,
|
|
166
166
|
validateWorkflow,
|
|
167
167
|
wrapInMarkdownFence
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-5VMCBHRX.js";
|
|
169
169
|
import "./chunk-3ACDP4E6.js";
|
|
170
170
|
import {
|
|
171
171
|
resolveToken
|
|
@@ -250,7 +250,7 @@ import {
|
|
|
250
250
|
loadConfig,
|
|
251
251
|
runDoctor,
|
|
252
252
|
validateNexusEnv
|
|
253
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-W7JCGUTA.js";
|
|
254
254
|
import "./chunk-FLUC27DF.js";
|
|
255
255
|
import "./chunk-L2NPJRZZ.js";
|
|
256
256
|
import {
|
package/dist/index.d.ts
CHANGED
|
@@ -32411,6 +32411,14 @@ interface ExpertBridgeResult {
|
|
|
32411
32411
|
}
|
|
32412
32412
|
declare function executeExpert(expertType: BuiltInExpertType, prompt: string): Promise<ExpertBridgeResult>;
|
|
32413
32413
|
|
|
32414
|
+
/** Opt-in per-run budget configuration (absent → enforcement off). */
|
|
32415
|
+
interface AgentBudgetConfig {
|
|
32416
|
+
/** Hard token ceiling for the whole run. */
|
|
32417
|
+
readonly maxTokens: number;
|
|
32418
|
+
/** Fraction of `maxTokens` at which the circuit opens (default 0.95). */
|
|
32419
|
+
readonly criticalThreshold?: number;
|
|
32420
|
+
}
|
|
32421
|
+
|
|
32414
32422
|
/**
|
|
32415
32423
|
* Agent Executor — Connects pipeline stages to nexus-agents infrastructure (#1684)
|
|
32416
32424
|
*
|
|
@@ -32433,6 +32441,13 @@ interface AgentExecutorConfig {
|
|
|
32433
32441
|
readonly tracker?: ITaskTracker | undefined;
|
|
32434
32442
|
readonly issueNumber?: number | undefined;
|
|
32435
32443
|
readonly repo?: string | undefined;
|
|
32444
|
+
/**
|
|
32445
|
+
* Opt-in per-run token budget (#3395). When set, expert calls are metered
|
|
32446
|
+
* through a {@link BudgetGuard}: once cumulative usage crosses the ceiling,
|
|
32447
|
+
* further expert calls short-circuit to a failure result (stopping spend)
|
|
32448
|
+
* rather than aborting mid-pipeline. Absent → no enforcement (default).
|
|
32449
|
+
*/
|
|
32450
|
+
readonly budget?: AgentBudgetConfig | undefined;
|
|
32436
32451
|
}
|
|
32437
32452
|
/** Flush pipeline memory session. */
|
|
32438
32453
|
declare function flushPipelineMemory(): void;
|
package/dist/index.js
CHANGED
|
@@ -517,7 +517,7 @@ import {
|
|
|
517
517
|
validateWorkflow,
|
|
518
518
|
validateWorkflowDependencies,
|
|
519
519
|
withLogging
|
|
520
|
-
} from "./chunk-
|
|
520
|
+
} from "./chunk-5VMCBHRX.js";
|
|
521
521
|
import "./chunk-3ACDP4E6.js";
|
|
522
522
|
import {
|
|
523
523
|
getTokenEnvVars,
|
|
@@ -759,7 +759,7 @@ import {
|
|
|
759
759
|
getKnownNexusVarNames,
|
|
760
760
|
startStdioServer,
|
|
761
761
|
validateNexusEnv
|
|
762
|
-
} from "./chunk-
|
|
762
|
+
} from "./chunk-W7JCGUTA.js";
|
|
763
763
|
import {
|
|
764
764
|
AvailabilityCache,
|
|
765
765
|
filterAvailableModels,
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
runWizard,
|
|
9
9
|
setupCommand,
|
|
10
10
|
setupCommandAsync
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QM3WIUXB.js";
|
|
12
12
|
import "./chunk-4L7FH53H.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-W7JCGUTA.js";
|
|
14
14
|
import "./chunk-FLUC27DF.js";
|
|
15
15
|
import "./chunk-L2NPJRZZ.js";
|
|
16
16
|
import "./chunk-LVGYWJDX.js";
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
setupCommand,
|
|
35
35
|
setupCommandAsync
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=setup-command-
|
|
37
|
+
//# sourceMappingURL=setup-command-E2WOYCXO.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexus-agents",
|
|
3
|
-
"version": "2.102.
|
|
3
|
+
"version": "2.102.6",
|
|
4
4
|
"description": "Governance substrate for AI coding agents — adversarial PR review, drift-detected rules, immutable audit, and closed-loop outcome routing for Claude, Codex, Gemini, and OpenCode",
|
|
5
5
|
"mcpName": "io.github.nexus-substrate/nexus-agents",
|
|
6
6
|
"license": "MIT",
|