nex-code 0.4.15 → 0.4.16

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 +26 -26
  2. package/dist/nex-code.js +432 -429
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -19,7 +19,7 @@
19
19
  <img src="https://img.shields.io/badge/Ollama_Cloud-supported-brightgreen.svg" alt="Ollama Cloud: supported">
20
20
  <img src="https://img.shields.io/badge/node-%3E%3D18-brightgreen.svg" alt="Node >= 18">
21
21
  <img src="https://img.shields.io/badge/dependencies-2-green.svg" alt="Dependencies: 2">
22
- <img src="https://img.shields.io/badge/tests-3074-blue.svg" alt="Tests: 3074">
22
+ <img src="https://img.shields.io/badge/tests-3453-blue.svg" alt="Tests: 3453">
23
23
  <img src="https://img.shields.io/badge/VS_Code-extension-007ACC.svg" alt="VS Code extension">
24
24
  </p>
25
25
 
@@ -107,7 +107,7 @@ npm update -g nex-code
107
107
 
108
108
  **Extensible.** Plugin API (`registerTool` + lifecycle hooks), skill system (install from any git URL), MCP server support.
109
109
 
110
- **Tested.** 3074 tests, 85% coverage, CI on every push.
110
+ **Tested.** 3453 tests, 79% coverage, CI on every push.
111
111
 
112
112
  ---
113
113
 
@@ -332,20 +332,20 @@ nex-code --prompt-file /tmp/task.txt --yolo --json
332
332
  # → {"success":true,"response":"..."}
333
333
  ```
334
334
 
335
- | Flag | Description |
336
- | ---------------------- | ------------------------------------------------------------------------------------------------------------- |
337
- | `--task <prompt>` | Run a single prompt and exit |
338
- | `--prompt-file <path>` | Read prompt from a UTF-8 file and run headless |
339
- | `--delete-prompt-file` | Delete the prompt file after reading (use with `--prompt-file`) |
340
- | `--auto` | Skip confirmations (non-interactive, no REPL banner) |
341
- | `--yolo` | Skip all confirmations including dangerous commands (also configurable via `.nex/config.json` `"yolo": true`) |
342
- | `--server` | Start JSON-lines IPC server (used by the VS Code extension) |
343
- | `--json` | Output `{"success":true,"response":"..."}` to stdout |
344
- | `--max-turns <n>` | Override the agentic loop iteration limit |
345
- | `--model <spec>` | Use a specific model (e.g. `anthropic:claude-sonnet-4-6`) |
346
- | `--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`) |
348
- | `--orchestrator-model <m>` | Model for decomposition/synthesis step (default: `kimi-k2.5`) |
335
+ | Flag | Description |
336
+ | -------------------------- | ------------------------------------------------------------------------------------------------------------- |
337
+ | `--task <prompt>` | Run a single prompt and exit |
338
+ | `--prompt-file <path>` | Read prompt from a UTF-8 file and run headless |
339
+ | `--delete-prompt-file` | Delete the prompt file after reading (use with `--prompt-file`) |
340
+ | `--auto` | Skip confirmations (non-interactive, no REPL banner) |
341
+ | `--yolo` | Skip all confirmations including dangerous commands (also configurable via `.nex/config.json` `"yolo": true`) |
342
+ | `--server` | Start JSON-lines IPC server (used by the VS Code extension) |
343
+ | `--json` | Output `{"success":true,"response":"..."}` to stdout |
344
+ | `--max-turns <n>` | Override the agentic loop iteration limit |
345
+ | `--model <spec>` | Use a specific model (e.g. `anthropic:claude-sonnet-4-6`) |
346
+ | `--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`) |
348
+ | `--orchestrator-model <m>` | Model for decomposition/synthesis step (default: `kimi-k2.5`) |
349
349
 
350
350
  ---
351
351
 
@@ -1011,17 +1011,17 @@ Suggested commit: fix: resolve auth type errors and add utility docs
1011
1011
 
1012
1012
  **Env vars:**
1013
1013
 
1014
- | Variable | Default | Description |
1015
- | ------------------------- | ------------- | -------------------------------------------------------- |
1016
- | `NEX_AUTO_ORCHESTRATE` | `false` | Set to `true` to always use the orchestrator |
1017
- | `NEX_ORCHESTRATE_THRESHOLD` | `3` | Minimum number of detected goals before auto-triggering |
1014
+ | Variable | Default | Description |
1015
+ | --------------------------- | ------- | ------------------------------------------------------- |
1016
+ | `NEX_AUTO_ORCHESTRATE` | `false` | Set to `true` to always use the orchestrator |
1017
+ | `NEX_ORCHESTRATE_THRESHOLD` | `3` | Minimum number of detected goals before auto-triggering |
1018
1018
 
1019
1019
  **Model roles in orchestration:**
1020
1020
 
1021
- | Role | Default model | Purpose |
1022
- | -------------- | ------------------- | -------------------------------------------- |
1023
- | Orchestrator | `kimi-k2.5` | Decomposes prompt, synthesizes results |
1024
- | Worker | `devstral-2:123b` | Executes each sub-task (one agent per task) |
1021
+ | Role | Default model | Purpose |
1022
+ | ------------ | ----------------- | ------------------------------------------- |
1023
+ | Orchestrator | `kimi-k2.5` | Decomposes prompt, synthesizes results |
1024
+ | Worker | `devstral-2:123b` | Executes each sub-task (one agent per task) |
1025
1025
 
1026
1026
  Override via `--orchestrator-model` (orchestrator) or `DEFAULT_MODEL` / `NEX_STANDARD_MODEL` (workers).
1027
1027
 
@@ -1554,9 +1554,9 @@ npm test # Run all tests with coverage
1554
1554
  npm run test:watch # Watch mode
1555
1555
  ```
1556
1556
 
1557
- 57 test suites, 2059 tests, 84% statement / 77% branch coverage.
1557
+ 83 test suites, 3453 tests, 79% statement / 71% branch coverage.
1558
1558
 
1559
- CI runs on GitHub Actions (Node 18/20/22).
1559
+ CI runs on GitHub Actions (Node 20 LTS).
1560
1560
 
1561
1561
  ---
1562
1562