nexus-agents 8.9.1 → 8.9.2
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-MYERGZK3.js → chunk-2ZOPJGMY.js} +13 -23
- package/dist/chunk-2ZOPJGMY.js.map +1 -0
- package/dist/{chunk-KE5IGD6G.js → chunk-6VGKI5QE.js} +3 -3
- package/dist/chunk-DQ5FYBSF.js +7 -0
- package/dist/{chunk-FMKEGR6N.js → chunk-I4TQ5VQ7.js} +2 -2
- package/dist/{chunk-P64GQUQW.js → chunk-JLCOIDJJ.js} +3 -3
- package/dist/{chunk-P2DV7PDG.js → chunk-MJHNCHJI.js} +2 -2
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-3FCOFDON.js → consensus-vote-T6D4XVUA.js} +4 -4
- package/dist/{improvement-review-RMDGMKIB.js → improvement-review-TGACR3DL.js} +4 -4
- package/dist/index.d.ts +12 -12
- package/dist/index.js +7 -7
- package/dist/{setup-data-dir-CWU367E6.js → setup-data-dir-KVIXN5DN.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-DJFYMDMD.js +0 -7
- package/dist/chunk-MYERGZK3.js.map +0 -1
- /package/dist/{chunk-KE5IGD6G.js.map → chunk-6VGKI5QE.js.map} +0 -0
- /package/dist/{chunk-DJFYMDMD.js.map → chunk-DQ5FYBSF.js.map} +0 -0
- /package/dist/{chunk-FMKEGR6N.js.map → chunk-I4TQ5VQ7.js.map} +0 -0
- /package/dist/{chunk-P64GQUQW.js.map → chunk-JLCOIDJJ.js.map} +0 -0
- /package/dist/{chunk-P2DV7PDG.js.map → chunk-MJHNCHJI.js.map} +0 -0
- /package/dist/{consensus-vote-3FCOFDON.js.map → consensus-vote-T6D4XVUA.js.map} +0 -0
- /package/dist/{improvement-review-RMDGMKIB.js.map → improvement-review-TGACR3DL.js.map} +0 -0
- /package/dist/{setup-data-dir-CWU367E6.js.map → setup-data-dir-KVIXN5DN.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-OQB3XC5O.js";
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DQ5FYBSF.js";
|
|
10
10
|
import {
|
|
11
11
|
capitalize
|
|
12
12
|
} from "./chunk-6T3EPABN.js";
|
|
@@ -1201,7 +1201,7 @@ async function runDoctorFix(result) {
|
|
|
1201
1201
|
writeLine2("\u2500".repeat(40));
|
|
1202
1202
|
let fixCount = 0;
|
|
1203
1203
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1204
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1204
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-KVIXN5DN.js");
|
|
1205
1205
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1206
1206
|
writeLine2(outcome.line);
|
|
1207
1207
|
if (outcome.counted) fixCount++;
|
|
@@ -1303,4 +1303,4 @@ export {
|
|
|
1303
1303
|
startStdioServer,
|
|
1304
1304
|
closeServer
|
|
1305
1305
|
};
|
|
1306
|
-
//# sourceMappingURL=chunk-
|
|
1306
|
+
//# sourceMappingURL=chunk-6VGKI5QE.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MJHNCHJI.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -2159,4 +2159,4 @@ export {
|
|
|
2159
2159
|
runImprovementReview,
|
|
2160
2160
|
registerImprovementReviewTool
|
|
2161
2161
|
};
|
|
2162
|
-
//# sourceMappingURL=chunk-
|
|
2162
|
+
//# sourceMappingURL=chunk-I4TQ5VQ7.js.map
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MJHNCHJI.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DQ5FYBSF.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
@@ -6972,4 +6972,4 @@ export {
|
|
|
6972
6972
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6973
6973
|
registerConsensusVoteTool
|
|
6974
6974
|
};
|
|
6975
|
-
//# sourceMappingURL=chunk-
|
|
6975
|
+
//# sourceMappingURL=chunk-JLCOIDJJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DQ5FYBSF.js";
|
|
4
4
|
import {
|
|
5
5
|
emitClawGuardViolation
|
|
6
6
|
} from "./chunk-46YGVSBD.js";
|
|
@@ -2246,4 +2246,4 @@ export {
|
|
|
2246
2246
|
VOTING_THRESHOLDS,
|
|
2247
2247
|
ConsensusMetricsSchema
|
|
2248
2248
|
};
|
|
2249
|
-
//# sourceMappingURL=chunk-
|
|
2249
|
+
//# sourceMappingURL=chunk-MJHNCHJI.js.map
|
package/dist/cli.js
CHANGED
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
validateNexusEnv,
|
|
155
155
|
validateWorkflow,
|
|
156
156
|
wrapInMarkdownFence
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-2ZOPJGMY.js";
|
|
158
158
|
import "./chunk-V7PXKAZD.js";
|
|
159
159
|
import "./chunk-DGWT7DXX.js";
|
|
160
160
|
import "./chunk-64GMIUM5.js";
|
|
@@ -174,7 +174,7 @@ import {
|
|
|
174
174
|
doctorCommand,
|
|
175
175
|
initDataDirectories,
|
|
176
176
|
runDoctor
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-6VGKI5QE.js";
|
|
178
178
|
import {
|
|
179
179
|
buildOpenAICompatAdapters,
|
|
180
180
|
readOpenAICompatEnv
|
|
@@ -193,7 +193,7 @@ import {
|
|
|
193
193
|
recordAuthenticVote,
|
|
194
194
|
registerConsensusVoteTool,
|
|
195
195
|
toRecordDecision
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-JLCOIDJJ.js";
|
|
197
197
|
import {
|
|
198
198
|
loadUsageEvents,
|
|
199
199
|
rollupByModel
|
|
@@ -230,15 +230,15 @@ import {
|
|
|
230
230
|
registerImprovementReviewTool,
|
|
231
231
|
runImprovementReview,
|
|
232
232
|
scanForSecrets
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-I4TQ5VQ7.js";
|
|
234
234
|
import {
|
|
235
235
|
createDefaultPolicyFirewall,
|
|
236
236
|
setGlobalPolicyFirewall,
|
|
237
237
|
stagePolicyFirewallForRollout
|
|
238
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-MJHNCHJI.js";
|
|
239
239
|
import {
|
|
240
240
|
VERSION
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-DQ5FYBSF.js";
|
|
242
242
|
import "./chunk-46YGVSBD.js";
|
|
243
243
|
import {
|
|
244
244
|
createUnifiedRegistry,
|
|
@@ -19684,7 +19684,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19684
19684
|
let running = false;
|
|
19685
19685
|
const runOnce = async () => {
|
|
19686
19686
|
try {
|
|
19687
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19687
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-TGACR3DL.js");
|
|
19688
19688
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19689
19689
|
const result = await runImprovementReview2(input, { logger: logger22 });
|
|
19690
19690
|
logger22.info("Scheduled improvement_review complete", {
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
resetCorrelationTracker,
|
|
12
12
|
runConsensusForGoal,
|
|
13
13
|
unwrapVoteOrThrow
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JLCOIDJJ.js";
|
|
15
15
|
import "./chunk-WANBZFP2.js";
|
|
16
16
|
import "./chunk-OQB3XC5O.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-MJHNCHJI.js";
|
|
18
|
+
import "./chunk-DQ5FYBSF.js";
|
|
19
19
|
import "./chunk-46YGVSBD.js";
|
|
20
20
|
import "./chunk-BTPPGHG3.js";
|
|
21
21
|
import "./chunk-SGOBMAZK.js";
|
|
@@ -50,4 +50,4 @@ export {
|
|
|
50
50
|
runConsensusForGoal,
|
|
51
51
|
unwrapVoteOrThrow
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=consensus-vote-
|
|
53
|
+
//# sourceMappingURL=consensus-vote-T6D4XVUA.js.map
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
loadSelfEvalSignals,
|
|
12
12
|
registerImprovementReviewTool,
|
|
13
13
|
runImprovementReview
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-I4TQ5VQ7.js";
|
|
15
|
+
import "./chunk-MJHNCHJI.js";
|
|
16
|
+
import "./chunk-DQ5FYBSF.js";
|
|
17
17
|
import "./chunk-46YGVSBD.js";
|
|
18
18
|
import "./chunk-AOBIUJX5.js";
|
|
19
19
|
import "./chunk-7WJGV5DN.js";
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
registerImprovementReviewTool,
|
|
34
34
|
runImprovementReview
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=improvement-review-
|
|
36
|
+
//# sourceMappingURL=improvement-review-TGACR3DL.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -35085,17 +35085,11 @@ type DelegatePipelineResult = {
|
|
|
35085
35085
|
/**
|
|
35086
35086
|
* Creates a compiled V2 pipeline for delegate_to_model from a TaskContract.
|
|
35087
35087
|
*
|
|
35088
|
-
* The pipeline has a single 'route' stage
|
|
35089
|
-
*
|
|
35090
|
-
*
|
|
35091
|
-
*
|
|
35092
|
-
*
|
|
35093
|
-
* `policyEnforcement` bundle, so the entry gate evaluates real policy at the
|
|
35094
|
-
* stage boundary in production. WARN mode never throws and never blocks — it
|
|
35095
|
-
* only logs + emits `policy.evaluated` events on a violation, generating the
|
|
35096
|
-
* autonomy-soak evidence #3653 needs. This is scoped to v2-delegate's own
|
|
35097
|
-
* compile call: the shared `compilePlan` default (no enforcement) is
|
|
35098
|
-
* unchanged, so every other `compilePlan` caller is unaffected.
|
|
35088
|
+
* The pipeline has a single 'route' stage and no policy gate (#4657), so the
|
|
35089
|
+
* compile call passes no `policyEnforcement` bundle: with zero gates there is
|
|
35090
|
+
* no node that would consult one, and supplying it read as "policy enforced
|
|
35091
|
+
* at the stage boundary" when nothing was. Routing logic lives in the stage
|
|
35092
|
+
* handler (placeholder here, real handler injected by the MCP tool).
|
|
35099
35093
|
*/
|
|
35100
35094
|
declare function createDelegatePipeline(task: TaskContract): DelegatePipelineResult;
|
|
35101
35095
|
/** Minimal input shape matching DelegateInput. Avoids circular mcp/tools import. */
|
|
@@ -35126,8 +35120,14 @@ interface DelegateContractOpts {
|
|
|
35126
35120
|
declare function delegateInputToTaskContract(input: DelegateInputLike, opts?: DelegateContractOpts): TaskContract;
|
|
35127
35121
|
/**
|
|
35128
35122
|
* Compiles and executes a V2 pipeline for the given TaskContract.
|
|
35129
|
-
* Evaluates policy before execution — block mode halts the pipeline.
|
|
35130
35123
|
* Returns metrics for observability — never throws.
|
|
35124
|
+
*
|
|
35125
|
+
* The pre-execution policy check evaluates stage type 'route' — the real type
|
|
35126
|
+
* of the only stage — which `trustTierRule` allows at every tier, so under the
|
|
35127
|
+
* current rule set this path never reports `policyBlocked` (#4657). The
|
|
35128
|
+
* execute-stage seams that can refuse are `v2-orchestrate.ts` and
|
|
35129
|
+
* `dev-pipeline.ts`; this graph is fire-and-forget instrumentation beside the
|
|
35130
|
+
* real delegation and must not claim a refusal it cannot perform.
|
|
35131
35131
|
*/
|
|
35132
35132
|
declare function executeDelegatePipeline(task: TaskContract): Promise<PipelineMetrics>;
|
|
35133
35133
|
/**
|
package/dist/index.js
CHANGED
|
@@ -552,7 +552,7 @@ import {
|
|
|
552
552
|
withLogging,
|
|
553
553
|
withRetry,
|
|
554
554
|
withRetryWrapper
|
|
555
|
-
} from "./chunk-
|
|
555
|
+
} from "./chunk-2ZOPJGMY.js";
|
|
556
556
|
import {
|
|
557
557
|
FALLBACK_SCANNER_DATA,
|
|
558
558
|
buildPlanFromAnalysis,
|
|
@@ -585,7 +585,7 @@ import {
|
|
|
585
585
|
connectTransport,
|
|
586
586
|
createServer,
|
|
587
587
|
startStdioServer
|
|
588
|
-
} from "./chunk-
|
|
588
|
+
} from "./chunk-6VGKI5QE.js";
|
|
589
589
|
import {
|
|
590
590
|
OPENAI_MODELS,
|
|
591
591
|
OPENAI_MODEL_ALIASES,
|
|
@@ -643,7 +643,7 @@ import {
|
|
|
643
643
|
generateProposalId,
|
|
644
644
|
parseAgentPairKey,
|
|
645
645
|
registerConsensusVoteTool
|
|
646
|
-
} from "./chunk-
|
|
646
|
+
} from "./chunk-JLCOIDJJ.js";
|
|
647
647
|
import "./chunk-WANBZFP2.js";
|
|
648
648
|
import {
|
|
649
649
|
allOf
|
|
@@ -701,7 +701,7 @@ import {
|
|
|
701
701
|
import {
|
|
702
702
|
ImprovementReviewInputSchema,
|
|
703
703
|
registerImprovementReviewTool
|
|
704
|
-
} from "./chunk-
|
|
704
|
+
} from "./chunk-I4TQ5VQ7.js";
|
|
705
705
|
import {
|
|
706
706
|
AgentPerformanceSchema,
|
|
707
707
|
ConsensusAlgorithmSchema,
|
|
@@ -737,10 +737,10 @@ import {
|
|
|
737
737
|
toolSuccess,
|
|
738
738
|
toolSuccessStructured,
|
|
739
739
|
validateToolInput
|
|
740
|
-
} from "./chunk-
|
|
740
|
+
} from "./chunk-MJHNCHJI.js";
|
|
741
741
|
import {
|
|
742
742
|
VERSION
|
|
743
|
-
} from "./chunk-
|
|
743
|
+
} from "./chunk-DQ5FYBSF.js";
|
|
744
744
|
import {
|
|
745
745
|
AuditTrail,
|
|
746
746
|
createAuditTrail,
|
|
@@ -4190,7 +4190,7 @@ function buildVotingInput(plan, config) {
|
|
|
4190
4190
|
}
|
|
4191
4191
|
async function executeSingleVote(plan, config, log) {
|
|
4192
4192
|
try {
|
|
4193
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
4193
|
+
const { executeVoting } = await import("./consensus-vote-T6D4XVUA.js");
|
|
4194
4194
|
const input = buildVotingInput(plan, config);
|
|
4195
4195
|
const result = await executeVoting(input, log);
|
|
4196
4196
|
return parseVotingResult(result);
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
NEXUS_DATA_DIR,
|
|
3
3
|
describeDataDirFix,
|
|
4
4
|
initDataDirectories
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6VGKI5QE.js";
|
|
6
6
|
import "./chunk-MZUUIMRQ.js";
|
|
7
7
|
import "./chunk-WANBZFP2.js";
|
|
8
8
|
import "./chunk-OQB3XC5O.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-DQ5FYBSF.js";
|
|
10
10
|
import "./chunk-6T3EPABN.js";
|
|
11
11
|
import "./chunk-OJSG734P.js";
|
|
12
12
|
import "./chunk-VQRXDFVF.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
describeDataDirFix,
|
|
27
27
|
initDataDirectories
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=setup-data-dir-
|
|
29
|
+
//# sourceMappingURL=setup-data-dir-KVIXN5DN.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexus-agents",
|
|
3
|
-
"version": "8.9.
|
|
3
|
+
"version": "8.9.2",
|
|
4
4
|
"description": "Governance substrate for AI coding agents — adversarial PR review, drift-detected rules, tamper-evident 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",
|