nexus-agents 2.102.5 → 2.102.7
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-AQBPOBAT.js → chunk-6CIEBFDV.js} +3 -3
- package/dist/{chunk-XY72JFG2.js → chunk-ECZLYZCI.js} +2 -2
- package/dist/{chunk-3LC5NHC4.js → chunk-FRAMV5DJ.js} +63 -8
- package/dist/chunk-FRAMV5DJ.js.map +1 -0
- package/dist/cli.js +12 -4
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.js +2 -2
- package/dist/{setup-command-QOEYR6YI.js → setup-command-G3Q3UKI5.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-3LC5NHC4.js.map +0 -1
- /package/dist/{chunk-AQBPOBAT.js.map → chunk-6CIEBFDV.js.map} +0 -0
- /package/dist/{chunk-XY72JFG2.js.map → chunk-ECZLYZCI.js.map} +0 -0
- /package/dist/{setup-command-QOEYR6YI.js.map → setup-command-G3Q3UKI5.js.map} +0 -0
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-FRAMV5DJ.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-6CIEBFDV.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-ECZLYZCI.js";
|
|
12
12
|
import "./chunk-4L7FH53H.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-6CIEBFDV.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-G3Q3UKI5.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.7",
|
|
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",
|