nexus-agents 8.77.0 → 8.78.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 (28) hide show
  1. package/dist/{chunk-5XAJU5ZV.js → chunk-3K7OHJLM.js} +18 -11
  2. package/dist/{chunk-5XAJU5ZV.js.map → chunk-3K7OHJLM.js.map} +1 -1
  3. package/dist/{chunk-LZGSWYDX.js → chunk-5EXZHBAQ.js} +2 -2
  4. package/dist/{chunk-GS5OJHJJ.js → chunk-7ZMNE7U2.js} +3 -3
  5. package/dist/{chunk-I2MSRFXZ.js → chunk-ER76ZRBU.js} +3 -3
  6. package/dist/{chunk-QBZ6DBJL.js → chunk-MYF73MI3.js} +2 -2
  7. package/dist/{chunk-6IUAMO5M.js → chunk-NW5MCYOE.js} +2 -2
  8. package/dist/{chunk-VIVM7X76.js → chunk-OZFXXGGZ.js} +71 -8
  9. package/dist/chunk-OZFXXGGZ.js.map +1 -0
  10. package/dist/cli.js +25 -15
  11. package/dist/cli.js.map +1 -1
  12. package/dist/{consensus-vote-7JRI7YF6.js → consensus-vote-3ZA6SHMI.js} +4 -4
  13. package/dist/{improvement-review-JVI3RM7I.js → improvement-review-VC46AY77.js} +4 -4
  14. package/dist/index.d.ts +20 -1
  15. package/dist/index.js +7 -7
  16. package/dist/{issue-triage-6KIGFUFJ.js → issue-triage-M7XEMQZ7.js} +2 -2
  17. package/dist/{setup-data-dir-VCSQTZ6L.js → setup-data-dir-NQITBZYA.js} +3 -3
  18. package/package.json +1 -1
  19. package/dist/chunk-VIVM7X76.js.map +0 -1
  20. /package/dist/{chunk-LZGSWYDX.js.map → chunk-5EXZHBAQ.js.map} +0 -0
  21. /package/dist/{chunk-GS5OJHJJ.js.map → chunk-7ZMNE7U2.js.map} +0 -0
  22. /package/dist/{chunk-I2MSRFXZ.js.map → chunk-ER76ZRBU.js.map} +0 -0
  23. /package/dist/{chunk-QBZ6DBJL.js.map → chunk-MYF73MI3.js.map} +0 -0
  24. /package/dist/{chunk-6IUAMO5M.js.map → chunk-NW5MCYOE.js.map} +0 -0
  25. /package/dist/{consensus-vote-7JRI7YF6.js.map → consensus-vote-3ZA6SHMI.js.map} +0 -0
  26. /package/dist/{improvement-review-JVI3RM7I.js.map → improvement-review-VC46AY77.js.map} +0 -0
  27. /package/dist/{issue-triage-6KIGFUFJ.js.map → issue-triage-M7XEMQZ7.js.map} +0 -0
  28. /package/dist/{setup-data-dir-VCSQTZ6L.js.map → setup-data-dir-NQITBZYA.js.map} +0 -0
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-GS5OJHJJ.js";
24
+ } from "./chunk-7ZMNE7U2.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-GHNHZSDW.js";
@@ -71,7 +71,7 @@ import {
71
71
  updateStage,
72
72
  withWarnings,
73
73
  writeJobCancelled
74
- } from "./chunk-I2MSRFXZ.js";
74
+ } from "./chunk-ER76ZRBU.js";
75
75
  import {
76
76
  allOf,
77
77
  anyOf
@@ -86,14 +86,15 @@ import {
86
86
  createDurableAuditSink,
87
87
  createDurableAuditTrail,
88
88
  createGraphAuditBridge,
89
- emitPipelinePolicyEvent
90
- } from "./chunk-VIVM7X76.js";
89
+ emitPipelinePolicyEvent,
90
+ readActionRefusal
91
+ } from "./chunk-OZFXXGGZ.js";
91
92
  import {
92
93
  sanitizeInput
93
94
  } from "./chunk-F7R2E74V.js";
94
95
  import {
95
96
  withPrerequisite
96
- } from "./chunk-6IUAMO5M.js";
97
+ } from "./chunk-NW5MCYOE.js";
97
98
  import {
98
99
  NOOP_NOTIFIER,
99
100
  RateLimiter,
@@ -116,7 +117,7 @@ import {
116
117
  toolSuccessStructured,
117
118
  withProgressHeartbeat,
118
119
  wrapToolWithTimeout
119
- } from "./chunk-LZGSWYDX.js";
120
+ } from "./chunk-5EXZHBAQ.js";
120
121
  import {
121
122
  EventTopics,
122
123
  UNRESOLVED_MODEL_ID,
@@ -40935,6 +40936,11 @@ var IssueTriageInputSchema = z78.object({
40935
40936
  issueUrl: z78.string().min(1).refine((v) => /^https?:\/\//i.test(v), "Only HTTP/HTTPS URLs are allowed").describe("GitHub issue URL (e.g., https://github.com/owner/repo/issues/123)"),
40936
40937
  dryRun: z78.boolean().optional().default(true).describe("Read-only mode (default: true). When false, may apply labels.")
40937
40938
  });
40939
+ function refusalFields(action) {
40940
+ const refusal = readActionRefusal(action);
40941
+ if (!action.policyApproved) return refusal;
40942
+ return action.corroborated ? {} : { missingCorroboration: refusal.missingCorroboration };
40943
+ }
40938
40944
  function buildTriageResponse(value) {
40939
40945
  return {
40940
40946
  issueNumber: value.issueNumber,
@@ -40952,7 +40958,8 @@ function buildTriageResponse(value) {
40952
40958
  type: a.type,
40953
40959
  description: a.description,
40954
40960
  policyApproved: a.policyApproved,
40955
- corroborated: a.corroborated
40961
+ corroborated: a.corroborated,
40962
+ ...refusalFields(a)
40956
40963
  })),
40957
40964
  durationMs: value.totalDurationMs
40958
40965
  };
@@ -45479,7 +45486,7 @@ async function tryIssueTriage(task) {
45479
45486
  try {
45480
45487
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45481
45488
  if (issueMatch === null) return null;
45482
- const { createIssueTriage } = await import("./issue-triage-6KIGFUFJ.js");
45489
+ const { createIssueTriage } = await import("./issue-triage-M7XEMQZ7.js");
45483
45490
  const triage = createIssueTriage();
45484
45491
  const owner = issueMatch[1] ?? "";
45485
45492
  const num2 = issueMatch[2] ?? "";
@@ -45881,7 +45888,7 @@ function buildVotingInput(plan, config) {
45881
45888
  }
45882
45889
  async function executeSingleVote(plan, config, log) {
45883
45890
  try {
45884
- const { executeVoting } = await import("./consensus-vote-7JRI7YF6.js");
45891
+ const { executeVoting } = await import("./consensus-vote-3ZA6SHMI.js");
45885
45892
  const input = buildVotingInput(plan, config);
45886
45893
  const result = await executeVoting(input, log);
45887
45894
  return parseVotingResult(result);
@@ -46848,7 +46855,7 @@ function createVoteStage({ config, startStage }) {
46848
46855
  const strategy = config.votingStrategy ?? "higher_order";
46849
46856
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
46850
46857
  try {
46851
- const { executeVoting } = await import("./consensus-vote-7JRI7YF6.js");
46858
+ const { executeVoting } = await import("./consensus-vote-3ZA6SHMI.js");
46852
46859
  const votingResult = await executeVoting(
46853
46860
  {
46854
46861
  proposal: buildVoteProposal(plan, research),
@@ -57011,4 +57018,4 @@ export {
57011
57018
  startPipelineEventBridge,
57012
57019
  shutdownPipelineEventBridge
57013
57020
  };
57014
- //# sourceMappingURL=chunk-5XAJU5ZV.js.map
57021
+ //# sourceMappingURL=chunk-3K7OHJLM.js.map