buildwithnexus 0.7.1 → 0.7.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/bin.js +1830 -1646
- package/dist/deep-agents-bin.js +29 -6
- package/package.json +2 -1
package/dist/deep-agents-bin.js
CHANGED
|
@@ -209,13 +209,36 @@ import dotenv from "dotenv";
|
|
|
209
209
|
import path from "path";
|
|
210
210
|
import os from "os";
|
|
211
211
|
function loadApiKeys() {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
212
|
+
const keyNames = [
|
|
213
|
+
["ANTHROPIC_API_KEY", "anthropic"],
|
|
214
|
+
["OPENAI_API_KEY", "openai"],
|
|
215
|
+
["GOOGLE_API_KEY", "google"]
|
|
216
|
+
];
|
|
217
|
+
const result = {};
|
|
218
|
+
for (const [envName, key] of keyNames) {
|
|
219
|
+
const raw = process.env[envName];
|
|
220
|
+
if (raw !== void 0) {
|
|
221
|
+
if (raw.trim() === "") {
|
|
222
|
+
console.warn(`WARNING: ${envName} is set but empty - it will be treated as unconfigured`);
|
|
223
|
+
result[key] = void 0;
|
|
224
|
+
} else {
|
|
225
|
+
result[key] = raw;
|
|
226
|
+
}
|
|
227
|
+
} else {
|
|
228
|
+
result[key] = void 0;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
return result;
|
|
217
232
|
}
|
|
218
233
|
|
|
234
|
+
// src/core/models.ts
|
|
235
|
+
var MODELS = {
|
|
236
|
+
OPUS: "claude-opus-4-6",
|
|
237
|
+
SONNET: "claude-sonnet-4-6-20250929",
|
|
238
|
+
HAIKU: "claude-haiku-4-5-20251001",
|
|
239
|
+
DEFAULT: "claude-sonnet-4-6-20250929"
|
|
240
|
+
};
|
|
241
|
+
|
|
219
242
|
// src/deep-agents-bin.ts
|
|
220
243
|
import dotenv2 from "dotenv";
|
|
221
244
|
import path2 from "path";
|
|
@@ -307,5 +330,5 @@ Error: ${data.data["error"]}
|
|
|
307
330
|
}
|
|
308
331
|
}
|
|
309
332
|
program.name("deep-agents").description("Run Deep Agents workflows").version("0.5.17");
|
|
310
|
-
program.command("run <task>").description("Run a task with Deep Agents").option("-a, --agent <name>", "Agent role (engineer, researcher, etc)", "engineer").option("-g, --goal <goal>", "Agent goal").option("-m, --model <model>", "LLM model",
|
|
333
|
+
program.command("run <task>").description("Run a task with Deep Agents").option("-a, --agent <name>", "Agent role (engineer, researcher, etc)", "engineer").option("-g, --goal <goal>", "Agent goal").option("-m, --model <model>", "LLM model", MODELS.DEFAULT).action(runCommand);
|
|
311
334
|
program.parse();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "buildwithnexus",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "Interactive AI agent orchestrator with intent-based planning, execution, and brainstorming modes",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"inquirer": "^12.3.2",
|
|
58
58
|
"node-ssh": "^13.2.1",
|
|
59
59
|
"ora": "^8.1.1",
|
|
60
|
+
"string-width": "^8.2.0",
|
|
60
61
|
"yaml": "^2.7.0"
|
|
61
62
|
},
|
|
62
63
|
"devDependencies": {
|