@nexus-cortex/cli 4.63.10 → 4.66.1
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/.env.example +80 -2
- package/package.json +3 -3
package/.env.example
CHANGED
|
@@ -213,11 +213,12 @@ MEMORY_ARCHIVE_MAX_BYTES=10000
|
|
|
213
213
|
# ============================================
|
|
214
214
|
|
|
215
215
|
# Maximum tool executions per turn
|
|
216
|
-
MAX_TOOL_ITERATIONS=
|
|
216
|
+
MAX_TOOL_ITERATIONS=1000
|
|
217
217
|
# Stop the turn after this many consecutive all-error iterations
|
|
218
218
|
MAX_CONSECUTIVE_ERRORS=3
|
|
219
219
|
# Soft per-turn tool-call budget (R29b brake: escalating reminders, hard cap at 2x)
|
|
220
|
-
|
|
220
|
+
# 0 disables budget pressure entirely (R64)
|
|
221
|
+
TOOL_BUDGET_SOFT=400
|
|
221
222
|
# Per-tool execution timeout in milliseconds (2 minutes)
|
|
222
223
|
TOOL_TIMEOUT_MS=120000
|
|
223
224
|
# Identical tool calls before loop detection breaks the turn
|
|
@@ -415,3 +416,80 @@ DASHBOARD_PORT=4001
|
|
|
415
416
|
YOLO=false
|
|
416
417
|
# Proactive mentorship discovery (runtime flag)
|
|
417
418
|
MENTORSHIP_ACTIVE_DISCOVERY=false
|
|
419
|
+
|
|
420
|
+
# ============================================
|
|
421
|
+
# SYSTEM PROMPT DELIVERY + COMPOSITION (R63/P6, 2026-08-18)
|
|
422
|
+
# ============================================
|
|
423
|
+
# R63 delivery: static system prompt on chat/completions + Responses paths.
|
|
424
|
+
# DEFAULT ON since 4.66.0 (P6e/P6f/P6g testing complete). The deepseek cards'
|
|
425
|
+
# boot-minimal promptPreset keeps that family cheaper than the promptless era.
|
|
426
|
+
# Set to false to opt out (restores the pre-R63 promptless behavior).
|
|
427
|
+
#CORTEX_DELIVER_SYSTEM_PROMPT=false
|
|
428
|
+
|
|
429
|
+
# Prompt-mass composition (BASH_PLUS_SPEC P6): full (default) | minimal (only
|
|
430
|
+
# the core system prompt; guides/CLAUDE.md/memory dropped) | defer (minimal on
|
|
431
|
+
# turn 1, full corpus appended once at the first tool-result boundary).
|
|
432
|
+
# Effective on providers only where delivery is ON (see flag above).
|
|
433
|
+
#CORTEX_PROMPT_MASS=minimal
|
|
434
|
+
|
|
435
|
+
# Replace the core SYSTEM_PROMPT.md with a file (e.g. the measured presets in
|
|
436
|
+
# docs/prompts/: boot-prompt.md = P6c winner, orient-prompt.md = runner-up).
|
|
437
|
+
#CORTEX_SYSTEM_PROMPT_FILE=./docs/prompts/boot-prompt.md
|
|
438
|
+
|
|
439
|
+
# ============================================
|
|
440
|
+
# FIRST-TURN TOOL ANCHORING (BASH_PLUS_SPEC P0/P1)
|
|
441
|
+
# ============================================
|
|
442
|
+
# Env override for the model card's anchorProfile (deepseek cards default to
|
|
443
|
+
# bash-edit). Values: lean | bash-only | bash-plus | bash-edit | none.
|
|
444
|
+
#CORTEX_TOOL_ANCHOR=bash-edit
|
|
445
|
+
# RL-entry cue line prepended as the first system line (refuted in P1 — do not
|
|
446
|
+
# ship; kept as an experiment lever).
|
|
447
|
+
#CORTEX_ANCHOR_CUE=
|
|
448
|
+
# Session-wide tool profile (independent of first-turn anchoring).
|
|
449
|
+
#CORTEX_TOOL_PROFILE=full
|
|
450
|
+
|
|
451
|
+
# ============================================
|
|
452
|
+
# CANON STORE (cross-harness session rail)
|
|
453
|
+
# ============================================
|
|
454
|
+
#CANON_REPO=
|
|
455
|
+
#CANON_STORE=
|
|
456
|
+
#CANON_AUTO_SYNC=false
|
|
457
|
+
#CANON_AUTO_SYNC_DEBOUNCE_MS=30000
|
|
458
|
+
|
|
459
|
+
# ============================================
|
|
460
|
+
# MISC
|
|
461
|
+
# ============================================
|
|
462
|
+
#CORTEX_UPDATE_POLICY=notify
|
|
463
|
+
|
|
464
|
+
# ============================================
|
|
465
|
+
# RUNTIME / CONNECTIVITY (documented by the R65 env-docs check)
|
|
466
|
+
# ============================================
|
|
467
|
+
# Route ALL provider calls through a proxy base (hosted-container mode).
|
|
468
|
+
#CORTEX_PROXY_BASE_URL=
|
|
469
|
+
# Server the CLI talks to (defaults to http://localhost:4000).
|
|
470
|
+
#CORTEX_URL=
|
|
471
|
+
# Explicit path to the server entry for auto-start.
|
|
472
|
+
#CORTEX_SERVER_PATH=
|
|
473
|
+
# Project root override for autoresearch/backlog tooling.
|
|
474
|
+
#CORTEX_ROOT=
|
|
475
|
+
# Verbose harness debug logging (coarser than DEBUG).
|
|
476
|
+
#CORTEX_DEBUG=false
|
|
477
|
+
# Auto-approve tool permissions in headless runs (YOLO-equivalent; use with care).
|
|
478
|
+
#CORTEX_HEADLESS_APPROVE=false
|
|
479
|
+
# Auto-connect configured MCP servers at session start.
|
|
480
|
+
#CORTEX_MCP_AUTOCONNECT=false
|
|
481
|
+
# Sub-agent sampling temperature override.
|
|
482
|
+
#CORTEX_SUBAGENT_TEMPERATURE=
|
|
483
|
+
# Fetch timeouts (ms) for bench runners / client HTTP.
|
|
484
|
+
#CORTEX_BENCH_FETCH_TIMEOUT_MS=
|
|
485
|
+
#CORTEX_CLIENT_FETCH_TIMEOUT_MS=
|
|
486
|
+
# P0 compliance gate: allows sk-ant-oat01 subscription tokens on the raw
|
|
487
|
+
# Messages path ONLY with Anthropic program approval. Leave unset otherwise.
|
|
488
|
+
#CORTEX_SUBSCRIPTION_AUTH_APPROVED=false
|
|
489
|
+
# Canon: redirect canon CLI log output to a file.
|
|
490
|
+
#CANON_LOG_FILE=
|
|
491
|
+
# Bench-runner stamps (usually set per-invocation by cortex autoresearch bench,
|
|
492
|
+
# not in .env): holdout-split marker, benchmark source label, experiment tag.
|
|
493
|
+
#CORTEX_BENCH_HOLDOUT=false
|
|
494
|
+
#CORTEX_BENCH_SOURCE=cortex-bench
|
|
495
|
+
#CORTEX_EXPERIMENT_TAG=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexus-cortex/cli",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.66.1",
|
|
4
4
|
"description": "Nexus Cortex CLI - Terminal interface for multi-provider LLM orchestration",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"prepack": "node ../../scripts/copy-pkg-cortex-scaffold.mjs"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@nexus-cortex/core": "4.
|
|
22
|
+
"@nexus-cortex/core": "4.66.1",
|
|
23
23
|
"chalk": "^4.1.2",
|
|
24
24
|
"cli-spinners": "^2.9.0",
|
|
25
25
|
"commander": "^11.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"marked-terminal": "^6.0.0",
|
|
32
32
|
"node-fetch": "^3.3.2",
|
|
33
33
|
"undici": "^7.28.0",
|
|
34
|
-
"nexus-canon": "1.9.
|
|
34
|
+
"nexus-canon": "1.9.3"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/diff": "^7.0.2",
|