nexus-agents 15.0.0 → 15.1.1

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 (34) hide show
  1. package/dist/{chunk-AJST7QXP.js → chunk-AITILT7J.js} +14 -10
  2. package/dist/{chunk-AJST7QXP.js.map → chunk-AITILT7J.js.map} +1 -1
  3. package/dist/{chunk-AYBWB57O.js → chunk-LP6QCDJW.js} +2 -2
  4. package/dist/{chunk-QR4VTCYM.js → chunk-O26577RJ.js} +2 -2
  5. package/dist/{chunk-SSND5N4Q.js → chunk-TU2BTANX.js} +5 -1
  6. package/dist/chunk-TU2BTANX.js.map +1 -0
  7. package/dist/{chunk-7I5OCAIT.js → chunk-W4YUSHW6.js} +6 -6
  8. package/dist/{chunk-7I5OCAIT.js.map → chunk-W4YUSHW6.js.map} +1 -1
  9. package/dist/cli.js +6 -6
  10. package/dist/{consensus-vote-PCTJBHM5.js → consensus-vote-NZUFMVZ6.js} +3 -3
  11. package/dist/{expert-bridge-HLLWQB56.js → expert-bridge-HYKIYZXV.js} +2 -2
  12. package/dist/{improvement-review-HC4CD36W.js → improvement-review-K5IXVQBL.js} +3 -3
  13. package/dist/index.d.ts +5 -2
  14. package/dist/index.js +5 -5
  15. package/node_modules/qs/.editorconfig +1 -1
  16. package/node_modules/qs/CHANGELOG.md +45 -22
  17. package/node_modules/qs/README.md +26 -1
  18. package/node_modules/qs/dist/qs.js +27 -27
  19. package/node_modules/qs/eslint.config.mjs +61 -50
  20. package/node_modules/qs/lib/formats.js +7 -2
  21. package/node_modules/qs/lib/parse.js +13 -6
  22. package/node_modules/qs/lib/stringify.js +5 -3
  23. package/node_modules/qs/lib/utils.js +15 -7
  24. package/node_modules/qs/package.json +6 -6
  25. package/node_modules/qs/test/parse.js +266 -2
  26. package/node_modules/qs/test/stringify.js +222 -0
  27. package/node_modules/qs/test/utils.js +61 -3
  28. package/package.json +1 -1
  29. package/dist/chunk-SSND5N4Q.js.map +0 -1
  30. /package/dist/{chunk-AYBWB57O.js.map → chunk-LP6QCDJW.js.map} +0 -0
  31. /package/dist/{chunk-QR4VTCYM.js.map → chunk-O26577RJ.js.map} +0 -0
  32. /package/dist/{consensus-vote-PCTJBHM5.js.map → consensus-vote-NZUFMVZ6.js.map} +0 -0
  33. /package/dist/{expert-bridge-HLLWQB56.js.map → expert-bridge-HYKIYZXV.js.map} +0 -0
  34. /package/dist/{improvement-review-HC4CD36W.js.map → improvement-review-K5IXVQBL.js.map} +0 -0
@@ -64,7 +64,7 @@ import {
64
64
  updateStage,
65
65
  withFileLock,
66
66
  writeJobCancelled
67
- } from "./chunk-7I5OCAIT.js";
67
+ } from "./chunk-W4YUSHW6.js";
68
68
  import {
69
69
  allOf,
70
70
  anyOf
@@ -87,7 +87,7 @@ import {
87
87
  } from "./chunk-RYDTFPVI.js";
88
88
  import {
89
89
  withPrerequisite
90
- } from "./chunk-QR4VTCYM.js";
90
+ } from "./chunk-O26577RJ.js";
91
91
  import {
92
92
  NOOP_NOTIFIER,
93
93
  RateLimiter,
@@ -123,7 +123,7 @@ import {
123
123
  toolSuccess,
124
124
  withProgressHeartbeat,
125
125
  wrapToolWithTimeout
126
- } from "./chunk-AYBWB57O.js";
126
+ } from "./chunk-LP6QCDJW.js";
127
127
  import {
128
128
  generateSecurityPlan
129
129
  } from "./chunk-KMGKOF5P.js";
@@ -213,7 +213,7 @@ import {
213
213
  } from "./chunk-MZWHXERV.js";
214
214
  import {
215
215
  executeExpert
216
- } from "./chunk-SSND5N4Q.js";
216
+ } from "./chunk-TU2BTANX.js";
217
217
  import {
218
218
  CliDetectionCache,
219
219
  EventTopics,
@@ -38829,7 +38829,7 @@ ${text}` : text;
38829
38829
  }
38830
38830
  function servedCallOf(adapter, response) {
38831
38831
  return {
38832
- model: response.model,
38832
+ model: validatedModelIdentity(response.reportedModel),
38833
38833
  ...isGatewayModelAdapter(adapter) && { gatewayArm: adapter.gatewayArm },
38834
38834
  ...response.usage !== void 0 && {
38835
38835
  inputTokens: response.usage.inputTokens,
@@ -47432,6 +47432,10 @@ var TOOL_NAME_BY_PREFIX = {
47432
47432
  // two-segment prefix to stay distinct.
47433
47433
  "job-rw": "run_workflow",
47434
47434
  "job-vote": "consensus_vote",
47435
+ // Idempotency-keyed runAsJob dispatches use `job-${toolName}-<hash>` ids.
47436
+ "job-orchestrate": "orchestrate",
47437
+ "job-run_workflow": "run_workflow",
47438
+ "job-consensus_vote": "consensus_vote",
47435
47439
  // #3726: run_dev_pipeline async jobs mint `dp-<uuid>` ids (or reuse the
47436
47440
  // caller's sessionId — which has no fixed prefix, so the dual-read reader
47437
47441
  // resolves those from the sidecar via toolName recorded at writeJobPending).
@@ -50100,7 +50104,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
50100
50104
  ]);
50101
50105
  async function classifyWithLLM(task) {
50102
50106
  try {
50103
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-HLLWQB56.js");
50107
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-HYKIYZXV.js");
50104
50108
  const prompt = [
50105
50109
  "Classify this task into exactly one pipeline template.",
50106
50110
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -51099,7 +51103,7 @@ function buildVotingInput(plan, config) {
51099
51103
  }
51100
51104
  async function executeSingleVote(plan, config, log) {
51101
51105
  try {
51102
- const { executeVoting } = await import("./consensus-vote-PCTJBHM5.js");
51106
+ const { executeVoting } = await import("./consensus-vote-NZUFMVZ6.js");
51103
51107
  const input = buildVotingInput(plan, config);
51104
51108
  const result = await executeVoting(input, log);
51105
51109
  return parseVotingResult(result);
@@ -53327,7 +53331,7 @@ function outcomeFieldsFromBridge(r) {
53327
53331
  requestedAccessMode: r.requestedAccessMode,
53328
53332
  // #6624: the model that answered, priced by its gateway when one served it.
53329
53333
  served: {
53330
- model: r.model,
53334
+ model: validatedModelIdentity(r.reportedModel),
53331
53335
  gatewayArm: r.gatewayArm,
53332
53336
  inputTokens: r.tokensIn,
53333
53337
  outputTokens: r.tokensOut
@@ -53851,7 +53855,7 @@ async function prepareCompletePlanVote(plan, research, config, signal, acceptanc
53851
53855
  }
53852
53856
  async function executePlanVote(plan, research, deps, strategy, signal) {
53853
53857
  const { config, acceptanceRun } = deps;
53854
- const { executeVoting } = await import("./consensus-vote-PCTJBHM5.js");
53858
+ const { executeVoting } = await import("./consensus-vote-NZUFMVZ6.js");
53855
53859
  const { proposal, suffix, roleAdapters } = await prepareCompletePlanVote(
53856
53860
  plan,
53857
53861
  research,
@@ -64553,4 +64557,4 @@ export {
64553
64557
  initializeSandbox,
64554
64558
  getSandboxMode
64555
64559
  };
64556
- //# sourceMappingURL=chunk-AJST7QXP.js.map
64560
+ //# sourceMappingURL=chunk-AITILT7J.js.map