nexus-agents 4.18.3 → 4.18.4

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.
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-7DTA52VT.js";
24
+ } from "./chunk-5NKKABGU.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-3VJ2MSUU.js";
@@ -55862,4 +55862,4 @@ export {
55862
55862
  shutdownFeedbackSubscriber,
55863
55863
  createEventBusBridge
55864
55864
  };
55865
- //# sourceMappingURL=chunk-76WTN2BX.js.map
55865
+ //# sourceMappingURL=chunk-NBWEGQNU.js.map
package/dist/cli.d.ts CHANGED
@@ -81,6 +81,8 @@ interface ParsedCliArgs {
81
81
  errorPolicy?: ErrorPolicy;
82
82
  /** #4135 — how the vote command maps a `no_quorum` decision. Default `fail`. */
83
83
  onNoQuorum?: NoQuorumPolicy;
84
+ /** #4472 / #4941 — repeatable `--option`, the named alternatives to tally. */
85
+ options?: string[];
84
86
  variant?: 'lite' | 'verified' | 'full';
85
87
  limit?: number;
86
88
  instance?: string[];
package/dist/cli.js CHANGED
@@ -153,7 +153,7 @@ import {
153
153
  validateNexusEnv,
154
154
  validateWorkflow,
155
155
  wrapInMarkdownFence
156
- } from "./chunk-76WTN2BX.js";
156
+ } from "./chunk-NBWEGQNU.js";
157
157
  import "./chunk-2D3KX7MD.js";
158
158
  import "./chunk-HFOQKCD2.js";
159
159
  import "./chunk-RSMG2DPB.js";
@@ -173,7 +173,7 @@ import {
173
173
  doctorCommand,
174
174
  initDataDirectories,
175
175
  runDoctor
176
- } from "./chunk-7DTA52VT.js";
176
+ } from "./chunk-5NKKABGU.js";
177
177
  import {
178
178
  buildOpenAICompatAdapters,
179
179
  readOpenAICompatEnv
@@ -22752,6 +22752,10 @@ async function handleVoteCommand(args) {
22752
22752
  const validErrorPolicy = errorPolicy !== void 0 && isValidErrorPolicy(errorPolicy) ? errorPolicy : void 0;
22753
22753
  const exitCode = await voteCommand({
22754
22754
  proposal,
22755
+ // #4963: this handler rebuilds VoteCommandOptions field by field, so a new
22756
+ // field is dropped unless it is named here. `--option` parsed, reached
22757
+ // `args.options.options`, and died at this line.
22758
+ ...args.options.options !== void 0 && { options: args.options.options },
22755
22759
  ...validThreshold !== void 0 && { threshold: validThreshold },
22756
22760
  ...validErrorPolicy !== void 0 && { errorPolicy: validErrorPolicy },
22757
22761
  ...args.options.onNoQuorum !== void 0 && { onNoQuorum: args.options.onNoQuorum },