nex-code 0.4.16 → 0.4.17
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/README.md +18 -19
- package/dist/nex-code.js +214 -214
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -119,19 +119,18 @@ Rankings are based on nex-code's own `/benchmark` — 15 tool-calling tasks agai
|
|
|
119
119
|
### Flat-Rate / Pay-as-you-go
|
|
120
120
|
|
|
121
121
|
<!-- nex-benchmark-start -->
|
|
122
|
-
<!-- Updated: 2026-03-
|
|
122
|
+
<!-- Updated: 2026-03-26 — run `/benchmark --discover` after new Ollama Cloud releases -->
|
|
123
123
|
|
|
124
|
-
| Rank | Model
|
|
125
|
-
|
|
126
|
-
| 🥇
|
|
127
|
-
| 🥈
|
|
128
|
-
| 🥉
|
|
129
|
-
| —
|
|
130
|
-
| —
|
|
124
|
+
| Rank | Model | Score | Avg Latency | Context | Best For |
|
|
125
|
+
|---|---|---|---|---|---|
|
|
126
|
+
| 🥇 | `devstral-2:123b` | **82.5** | 1.7s | 131K | Default — fastest + most reliable tool selection |
|
|
127
|
+
| 🥈 | `devstral-small-2:24b` | 75 | 3.1s | 131K | Fast sub-agents, simple lookups |
|
|
128
|
+
| 🥉 | `qwen3-coder:480b` | 72.5 | 8.4s | 131K | Coding-heavy sessions, heavy sub-agents |
|
|
129
|
+
| — | `kimi-k2:1t` | 67.5 | 6.6s | 256K | Large repos (>100K tokens) |
|
|
130
|
+
| — | `minimax-m2.7:cloud` | 64.1 | 5.0s | 200K | Complex swarm / multi-agent sessions (Toolathon SOTA) |
|
|
131
131
|
|
|
132
132
|
> Rankings are nex-code-specific: tool name accuracy, argument validity, schema compliance.
|
|
133
133
|
> Toolathon (Minimax SOTA) measures different task types — run `/benchmark --discover` after model releases.
|
|
134
|
-
|
|
135
134
|
<!-- nex-benchmark-end -->
|
|
136
135
|
|
|
137
136
|
### Recommended `.env` for Ollama Cloud (Flat-Rate)
|
|
@@ -344,7 +343,7 @@ nex-code --prompt-file /tmp/task.txt --yolo --json
|
|
|
344
343
|
| `--max-turns <n>` | Override the agentic loop iteration limit |
|
|
345
344
|
| `--model <spec>` | Use a specific model (e.g. `anthropic:claude-sonnet-4-6`) |
|
|
346
345
|
| `--debug` | Show internal diagnostic messages (compression, loop detection, guards) |
|
|
347
|
-
| `--auto-orchestrate`
|
|
346
|
+
| `--no-auto-orchestrate` | Disable auto-orchestration for multi-goal prompts (on by default; also: `NEX_AUTO_ORCHESTRATE=false`) |
|
|
348
347
|
| `--orchestrator-model <m>` | Model for decomposition/synthesis step (default: `kimi-k2.5`) |
|
|
349
348
|
|
|
350
349
|
---
|
|
@@ -965,19 +964,19 @@ Spawn parallel sub-agents for independent tasks:
|
|
|
965
964
|
|
|
966
965
|
For complex tasks with multiple independent goals (e.g. "fix all TypeScript errors in auth/, add tests for utils/, and update the README"), the orchestrator decomposes the prompt into parallel sub-tasks, runs dedicated sub-agents on each, and synthesizes the results.
|
|
967
966
|
|
|
968
|
-
**
|
|
967
|
+
**Auto-orchestration is on by default** for prompts with ≥3 goals.
|
|
969
968
|
|
|
970
969
|
```bash
|
|
971
|
-
#
|
|
972
|
-
nex-code --
|
|
970
|
+
# Just use it — multi-goal prompts auto-decompose into parallel agents
|
|
971
|
+
nex-code --task "fix all type errors in src/, add JSDoc to utils/, update CHANGELOG"
|
|
973
972
|
|
|
974
|
-
#
|
|
975
|
-
nex-code --
|
|
973
|
+
# Custom orchestrator model
|
|
974
|
+
nex-code --orchestrator-model kimi-k2.5 --task "..."
|
|
976
975
|
|
|
977
|
-
#
|
|
978
|
-
NEX_AUTO_ORCHESTRATE=
|
|
976
|
+
# Disable auto-orchestration
|
|
977
|
+
NEX_AUTO_ORCHESTRATE=false nex-code
|
|
979
978
|
|
|
980
|
-
#
|
|
979
|
+
# Lower the goal threshold (default: 3)
|
|
981
980
|
NEX_ORCHESTRATE_THRESHOLD=2 nex-code
|
|
982
981
|
```
|
|
983
982
|
|
|
@@ -1013,7 +1012,7 @@ Suggested commit: fix: resolve auth type errors and add utility docs
|
|
|
1013
1012
|
|
|
1014
1013
|
| Variable | Default | Description |
|
|
1015
1014
|
| --------------------------- | ------- | ------------------------------------------------------- |
|
|
1016
|
-
| `NEX_AUTO_ORCHESTRATE` | `
|
|
1015
|
+
| `NEX_AUTO_ORCHESTRATE` | `true` | Set to `false` to disable auto-orchestration |
|
|
1017
1016
|
| `NEX_ORCHESTRATE_THRESHOLD` | `3` | Minimum number of detected goals before auto-triggering |
|
|
1018
1017
|
|
|
1019
1018
|
**Model roles in orchestration:**
|