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.
Files changed (3) hide show
  1. package/README.md +18 -19
  2. package/dist/nex-code.js +214 -214
  3. 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-20 — run `/benchmark --discover` after new Ollama Cloud releases -->
122
+ <!-- Updated: 2026-03-26 — run `/benchmark --discover` after new Ollama Cloud releases -->
123
123
 
124
- | Rank | Model | Score | Avg Latency | Context | Best For |
125
- | ---- | ---------------------- | ------ | ----------- | ------- | ----------------------------------------------------- |
126
- | 🥇 | `devstral-2:123b` | **84** | 1.5s | 131K | Default — fastest + most reliable tool selection |
127
- | 🥈 | `qwen3-coder:480b` | 79 | 2.9s | 131K | Coding-heavy sessions, heavy sub-agents |
128
- | 🥉 | `kimi-k2:1t` | 79 | 2.7s | 256K | Large repos (>100K tokens) |
129
- | — | `minimax-m2.7:cloud` | 73 | 3.5s | 200K | Complex swarm / multi-agent sessions (Toolathon SOTA) |
130
- | — | `devstral-small-2:24b` | 73 | 1.0s | 131K | Fast sub-agents, simple lookups |
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` | Automatically use the multi-agent orchestrator when ≥3 goals are detected (also: `NEX_AUTO_ORCHESTRATE=true`) |
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
- **Trigger:**
967
+ **Auto-orchestration is on by default** for prompts with ≥3 goals.
969
968
 
970
969
  ```bash
971
- # One-off: pass flag on the CLI
972
- nex-code --auto-orchestrate --task "fix all type errors in src/, add JSDoc to utils/, update CHANGELOG"
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
- # Headless with custom orchestrator model
975
- nex-code --auto-orchestrate --orchestrator-model kimi-k2.5 --task "..."
973
+ # Custom orchestrator model
974
+ nex-code --orchestrator-model kimi-k2.5 --task "..."
976
975
 
977
- # Always-on via env var
978
- NEX_AUTO_ORCHESTRATE=true nex-code
976
+ # Disable auto-orchestration
977
+ NEX_AUTO_ORCHESTRATE=false nex-code
979
978
 
980
- # Set minimum goal count before orchestrator activates (default: 3)
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` | `false` | Set to `true` to always use the orchestrator |
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:**