nexus-agents 4.15.1 → 4.15.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-DHKW65FK.js → chunk-227I7IM7.js} +3 -3
- package/dist/{chunk-Q22YNC7J.js → chunk-MEMPWKAD.js} +2 -2
- package/dist/cli.js +12 -8
- package/dist/cli.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/{setup-data-dir-BDTCPVZN.js → setup-data-dir-ZHLVXYUG.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-DHKW65FK.js.map → chunk-227I7IM7.js.map} +0 -0
- /package/dist/{chunk-Q22YNC7J.js.map → chunk-MEMPWKAD.js.map} +0 -0
- /package/dist/{setup-data-dir-BDTCPVZN.js.map → setup-data-dir-ZHLVXYUG.js.map} +0 -0
|
@@ -170,7 +170,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
170
170
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
171
171
|
|
|
172
172
|
// src/version.ts
|
|
173
|
-
var VERSION = true ? "4.15.
|
|
173
|
+
var VERSION = true ? "4.15.2" : "dev";
|
|
174
174
|
|
|
175
175
|
// src/mcp/task-store.ts
|
|
176
176
|
import { InMemoryTaskStore } from "@modelcontextprotocol/sdk/experimental/tasks";
|
|
@@ -1134,7 +1134,7 @@ async function runDoctorFix(result) {
|
|
|
1134
1134
|
writeLine2("\u2500".repeat(40));
|
|
1135
1135
|
let fixCount = 0;
|
|
1136
1136
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1137
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1137
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-ZHLVXYUG.js");
|
|
1138
1138
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1139
1139
|
writeLine2(outcome.line);
|
|
1140
1140
|
if (outcome.counted) fixCount++;
|
|
@@ -1237,4 +1237,4 @@ export {
|
|
|
1237
1237
|
startStdioServer,
|
|
1238
1238
|
closeServer
|
|
1239
1239
|
};
|
|
1240
|
-
//# sourceMappingURL=chunk-
|
|
1240
|
+
//# sourceMappingURL=chunk-227I7IM7.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-227I7IM7.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-VR76FPIN.js";
|
|
@@ -55776,4 +55776,4 @@ export {
|
|
|
55776
55776
|
shutdownFeedbackSubscriber,
|
|
55777
55777
|
createEventBusBridge
|
|
55778
55778
|
};
|
|
55779
|
-
//# sourceMappingURL=chunk-
|
|
55779
|
+
//# sourceMappingURL=chunk-MEMPWKAD.js.map
|
package/dist/cli.js
CHANGED
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
validateNexusEnv,
|
|
154
154
|
validateWorkflow,
|
|
155
155
|
wrapInMarkdownFence
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-MEMPWKAD.js";
|
|
157
157
|
import "./chunk-YMCIDGNP.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-
|
|
176
|
+
} from "./chunk-227I7IM7.js";
|
|
177
177
|
import {
|
|
178
178
|
buildOpenAICompatAdapters,
|
|
179
179
|
readOpenAICompatEnv
|
|
@@ -3818,9 +3818,12 @@ var PARSE_ARGS_CONFIG = {
|
|
|
3818
3818
|
type: "string",
|
|
3819
3819
|
short: "p"
|
|
3820
3820
|
},
|
|
3821
|
+
// No `short`. `parseArgs` takes one options object for every command, so
|
|
3822
|
+
// a short letter is global: `-t` was already `task`, which won, and
|
|
3823
|
+
// `vote -t supermajority` silently ran a simple-majority vote. Long form
|
|
3824
|
+
// only — `cli-types.test.ts` pins that no two options share a letter.
|
|
3821
3825
|
threshold: {
|
|
3822
|
-
type: "string"
|
|
3823
|
-
short: "t"
|
|
3826
|
+
type: "string"
|
|
3824
3827
|
},
|
|
3825
3828
|
quick: {
|
|
3826
3829
|
type: "boolean",
|
|
@@ -3895,9 +3898,10 @@ var PARSE_ARGS_CONFIG = {
|
|
|
3895
3898
|
default: false
|
|
3896
3899
|
},
|
|
3897
3900
|
// Learning-metrics command options
|
|
3901
|
+
// No `short` — `-p` is `proposal`, which was declared first and won. See
|
|
3902
|
+
// the note on `threshold`.
|
|
3898
3903
|
period: {
|
|
3899
|
-
type: "string"
|
|
3900
|
-
short: "p"
|
|
3904
|
+
type: "string"
|
|
3901
3905
|
},
|
|
3902
3906
|
export: {
|
|
3903
3907
|
type: "string"
|
|
@@ -22109,13 +22113,13 @@ var VOTE_HELP = {
|
|
|
22109
22113
|
command: "vote",
|
|
22110
22114
|
examples: [
|
|
22111
22115
|
'nexus-agents vote --proposal "Add caching layer"',
|
|
22112
|
-
'nexus-agents vote -p "Migrate to PostgreSQL"
|
|
22116
|
+
'nexus-agents vote -p "Migrate to PostgreSQL" --threshold supermajority',
|
|
22113
22117
|
'nexus-agents vote -p "Quick decision" --quick',
|
|
22114
22118
|
'nexus-agents vote -p "Test idea" --dry-run'
|
|
22115
22119
|
],
|
|
22116
22120
|
flags: [
|
|
22117
22121
|
{ flag: "-p, --proposal <text>", description: "Proposal text to vote on (required)" },
|
|
22118
|
-
{ flag: "
|
|
22122
|
+
{ flag: "--threshold <t>", description: "Threshold: majority, supermajority, unanimous" },
|
|
22119
22123
|
{ flag: "--quick", description: "Use 3 agents instead of the full 7 for faster votes" },
|
|
22120
22124
|
{ flag: "--dry-run", description: "Simulate votes without agent execution" },
|
|
22121
22125
|
{ flag: "--timeout=<seconds>", description: "Timeout per vote in seconds", defaultValue: "90" },
|