nexus-agents 2.145.0 → 2.146.0

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.
Files changed (31) hide show
  1. package/dist/{chunk-5QACHQ47.js → chunk-256RUC4U.js} +239 -200
  2. package/dist/{chunk-5QACHQ47.js.map → chunk-256RUC4U.js.map} +1 -1
  3. package/dist/{chunk-QKWS3REM.js → chunk-45QUEZNS.js} +2 -2
  4. package/dist/{chunk-I6JU4HEN.js → chunk-4XQE5A7P.js} +2 -2
  5. package/dist/{chunk-ZRRL3YB6.js → chunk-I5T7GUM7.js} +4 -194
  6. package/dist/chunk-I5T7GUM7.js.map +1 -0
  7. package/dist/chunk-RCQLUJY3.js +208 -0
  8. package/dist/chunk-RCQLUJY3.js.map +1 -0
  9. package/dist/{chunk-J2KMYVWA.js → chunk-RII4VXHO.js} +34 -1
  10. package/dist/{chunk-J2KMYVWA.js.map → chunk-RII4VXHO.js.map} +1 -1
  11. package/dist/{chunk-4IELVEVP.js → chunk-XZ4QHFCD.js} +3 -3
  12. package/dist/{chunk-AREFLH3S.js → chunk-Y4NDNQYU.js} +2 -2
  13. package/dist/cli.js +17 -10
  14. package/dist/cli.js.map +1 -1
  15. package/dist/{consensus-vote-6V3JNRXI.js → consensus-vote-IBT3C5YC.js} +4 -3
  16. package/dist/{improvement-review-K7YYYZCJ.js → improvement-review-WMDMS32T.js} +4 -3
  17. package/dist/index.d.ts +33 -1
  18. package/dist/index.js +19 -17
  19. package/dist/index.js.map +1 -1
  20. package/dist/{issue-triage-44OGWBDA.js → issue-triage-R7DMXIEN.js} +3 -2
  21. package/dist/{setup-command-FUT4W5P4.js → setup-command-BALYXSMI.js} +3 -3
  22. package/package.json +1 -1
  23. package/dist/chunk-ZRRL3YB6.js.map +0 -1
  24. /package/dist/{chunk-QKWS3REM.js.map → chunk-45QUEZNS.js.map} +0 -0
  25. /package/dist/{chunk-I6JU4HEN.js.map → chunk-4XQE5A7P.js.map} +0 -0
  26. /package/dist/{chunk-4IELVEVP.js.map → chunk-XZ4QHFCD.js.map} +0 -0
  27. /package/dist/{chunk-AREFLH3S.js.map → chunk-Y4NDNQYU.js.map} +0 -0
  28. /package/dist/{consensus-vote-6V3JNRXI.js.map → consensus-vote-IBT3C5YC.js.map} +0 -0
  29. /package/dist/{improvement-review-K7YYYZCJ.js.map → improvement-review-WMDMS32T.js.map} +0 -0
  30. /package/dist/{issue-triage-44OGWBDA.js.map → issue-triage-R7DMXIEN.js.map} +0 -0
  31. /package/dist/{setup-command-FUT4W5P4.js.map → setup-command-BALYXSMI.js.map} +0 -0
@@ -42,7 +42,7 @@ import {
42
42
  } from "./chunk-DHVMSIT5.js";
43
43
 
44
44
  // src/version.ts
45
- var VERSION = true ? "2.145.0" : "dev";
45
+ var VERSION = true ? "2.146.0" : "dev";
46
46
 
47
47
  // src/config/schemas-core.ts
48
48
  import { z } from "zod";
@@ -2132,7 +2132,7 @@ async function runDoctorFix(result) {
2132
2132
  writeLine2("\u2500".repeat(40));
2133
2133
  let fixCount = 0;
2134
2134
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2135
- const { runSetup } = await import("./setup-command-FUT4W5P4.js");
2135
+ const { runSetup } = await import("./setup-command-BALYXSMI.js");
2136
2136
  const setupResult = runSetup({
2137
2137
  skipMcp: true,
2138
2138
  skipRules: true,
@@ -2245,4 +2245,4 @@ export {
2245
2245
  startStdioServer,
2246
2246
  closeServer
2247
2247
  };
2248
- //# sourceMappingURL=chunk-4IELVEVP.js.map
2248
+ //# sourceMappingURL=chunk-XZ4QHFCD.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-J2KMYVWA.js";
10
+ } from "./chunk-RII4VXHO.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -2132,4 +2132,4 @@ export {
2132
2132
  runImprovementReview,
2133
2133
  registerImprovementReviewTool
2134
2134
  };
2135
- //# sourceMappingURL=chunk-AREFLH3S.js.map
2135
+ //# sourceMappingURL=chunk-Y4NDNQYU.js.map
package/dist/cli.js CHANGED
@@ -22,7 +22,7 @@ import "./chunk-UUEK5FP6.js";
22
22
  import {
23
23
  setupCommandAsync,
24
24
  verifyCommand
25
- } from "./chunk-I6JU4HEN.js";
25
+ } from "./chunk-4XQE5A7P.js";
26
26
  import "./chunk-LEUP55YB.js";
27
27
  import {
28
28
  AuthHandler,
@@ -142,7 +142,7 @@ import {
142
142
  validateCommand,
143
143
  validateWorkflow,
144
144
  wrapInMarkdownFence
145
- } from "./chunk-5QACHQ47.js";
145
+ } from "./chunk-256RUC4U.js";
146
146
  import "./chunk-RPTEVESB.js";
147
147
  import "./chunk-JQZ5R3EM.js";
148
148
  import "./chunk-HFOQKCD2.js";
@@ -170,7 +170,7 @@ import {
170
170
  loadConfig,
171
171
  runDoctor,
172
172
  validateNexusEnv
173
- } from "./chunk-4IELVEVP.js";
173
+ } from "./chunk-XZ4QHFCD.js";
174
174
  import "./chunk-SOCIRTAC.js";
175
175
  import {
176
176
  shutdownExpertBridge
@@ -183,7 +183,7 @@ import {
183
183
  VoteThresholdSchema,
184
184
  executeVoting,
185
185
  registerConsensusVoteTool
186
- } from "./chunk-QKWS3REM.js";
186
+ } from "./chunk-45QUEZNS.js";
187
187
  import {
188
188
  loadUsageEvents,
189
189
  rollupByModel
@@ -196,7 +196,7 @@ import {
196
196
  createFullGitHubProvider,
197
197
  evaluatePolicy,
198
198
  parsePRUrl
199
- } from "./chunk-ZRRL3YB6.js";
199
+ } from "./chunk-I5T7GUM7.js";
200
200
  import "./chunk-SUGO2OSD.js";
201
201
  import {
202
202
  ReputationCache,
@@ -215,10 +215,11 @@ import {
215
215
  registerImprovementReviewTool,
216
216
  runImprovementReview,
217
217
  scanForSecrets
218
- } from "./chunk-AREFLH3S.js";
218
+ } from "./chunk-Y4NDNQYU.js";
219
219
  import {
220
220
  createDefaultPolicyFirewall
221
- } from "./chunk-J2KMYVWA.js";
221
+ } from "./chunk-RII4VXHO.js";
222
+ import "./chunk-RCQLUJY3.js";
222
223
  import {
223
224
  PaperStatusSchema,
224
225
  createResearchIssue,
@@ -17829,7 +17830,7 @@ function startImprovementReviewScheduler(options) {
17829
17830
  let running = false;
17830
17831
  const runOnce = async () => {
17831
17832
  try {
17832
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-K7YYYZCJ.js");
17833
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-WMDMS32T.js");
17833
17834
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
17834
17835
  const result = await runImprovementReview2(input, { logger: logger19 });
17835
17836
  logger19.info("Scheduled improvement_review complete", {
@@ -18144,7 +18145,10 @@ function registerExecuteExpert(ctx, shared) {
18144
18145
  logger: ctx.logger,
18145
18146
  rateLimiter: ctx.rateLimiterFactory.getForTool("execute_expert"),
18146
18147
  cliCache: getSharedCliCache(),
18147
- ...ctx.securityConfig !== void 0 && { security: ctx.securityConfig }
18148
+ ...ctx.securityConfig !== void 0 && { security: ctx.securityConfig },
18149
+ // #4097: thread the durable logger so ClawGuard AUDIT-mode violations during
18150
+ // the expert's nested tool calls are persisted to the shared hash chain.
18151
+ ...ctx.auditLogger !== void 0 && { auditLogger: ctx.auditLogger }
18148
18152
  });
18149
18153
  }
18150
18154
  function buildWorkflowEngine(ctx) {
@@ -18223,7 +18227,10 @@ function registerOrchestrateToolSafe(ctx) {
18223
18227
  rateLimiter: ctx.rateLimiterFactory.getForTool("orchestrate"),
18224
18228
  security: ctx.securityConfig,
18225
18229
  // Wire model adapter for fallback orchestration path (Issue #827)
18226
- modelAdapter: ctx.modelAdapter
18230
+ modelAdapter: ctx.modelAdapter,
18231
+ // #4097: thread the durable logger so ClawGuard AUDIT-mode violations
18232
+ // during nested tool calls are persisted to the shared hash chain.
18233
+ ...ctx.auditLogger !== void 0 && { auditLogger: ctx.auditLogger }
18227
18234
  });
18228
18235
  } catch (error) {
18229
18236
  const message = getErrorMessage(error);