@nexus-cortex/cli 4.97.0 → 4.99.0
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.defaults +29 -2
- package/package.json +2 -2
package/.env.defaults
CHANGED
|
@@ -135,8 +135,16 @@ CLAUDE_CODE_OAUTH_TOKEN=
|
|
|
135
135
|
# Optimal TB2 apprentice tier — pairs with the pro MENTORSHIP_HELPER_MODEL (stronger mentor).
|
|
136
136
|
# [LEDGER 2026-09-02 @4.89.0] ON — flash is the apprentice (cheap, ties/edges frontier under the narrow door); pro = leaderboard candidate (TB2.1 n=1 78.7% guardless, ~82% projected guarded).
|
|
137
137
|
DEFAULT_MODEL_ID=deepseek-v4-flash
|
|
138
|
-
# Cheaper model for context compaction &
|
|
139
|
-
|
|
138
|
+
# Cheaper model for context compaction & auxiliary helper calls (web-fetch summary, error guidance,
|
|
139
|
+
# the ReadImage/describeImage vision hand-off). VISION-CAPABLE default (2026-09-09): flash-vision-exp
|
|
140
|
+
# is SAME cost ($0.14/$0.28), near-identical text (bench-arm parity flash vs flash-vision), + adds
|
|
141
|
+
# vision so ONE helper card also serves the image hand-off (VISION_HELPER_MODEL can collapse into it).
|
|
142
|
+
# 🔴 LATENT: compaction + tool-result summarization currently FLATTEN image blocks to text before the
|
|
143
|
+
# helper (handleToolResultOverflow JSON.stringify's content; renderBlock has no image case → drops it),
|
|
144
|
+
# so vision only helps the explicit describeImage path TODAY. Realizing it for tool-results/compaction
|
|
145
|
+
# needs a follow-up that emits image parts (HelperMiddlewareAdapter already supports `image` blocks).
|
|
146
|
+
# Mentor roles override this via MENTORSHIP_HELPER_MODEL below (stay deepseek-v4-pro).
|
|
147
|
+
HELPER_MODEL_ID=deepseek-v4-flash-vision-exp
|
|
140
148
|
|
|
141
149
|
# Model that backs WebSearch / WebFetch tools. Provider auto-detected from ID prefix.
|
|
142
150
|
# When unset, auto-picks based on available API keys (Gemini > Anthropic > XAI),
|
|
@@ -267,6 +275,10 @@ CORTEX_EFFORT_TAIL=false
|
|
|
267
275
|
# tokens). PRO low≈medium too close (pe-lo/pe-md torn down at egress-rot). ⇒ flash-low confirmed at
|
|
268
276
|
# n=1 → card reasoning.effortByRole.action bake pending k=5; pro-track k=5 (low vs med, mentors@max)
|
|
269
277
|
# STILL OWED. Do NOT ship-on: n=1, k=5-gated. Stays dark/UNSET in production.
|
|
278
|
+
# 🔴 LADDER FACT (DS API docs, 2026-09-09): reasoning_effort = {low, high, max} ONLY. 'medium' is
|
|
279
|
+
# accepted but COERCED → 'high' server-side, so the card default 'medium' effectively runs HIGH.
|
|
280
|
+
# ⇒ the flash-low verdict was low-vs-HIGH (not low-vs-medium): ~30% cheaper at pass-rate WASH.
|
|
281
|
+
# Applies to the ACTION model here; the mentor roles run 'max' (top), the helper middleware runs 'none'.
|
|
270
282
|
#CORTEX_ACTION_EFFORT=
|
|
271
283
|
# Trigger helper-model review on tool errors (only applies when mentorship is enabled)
|
|
272
284
|
MENTORSHIP_TRIGGER_ON_ERROR=false
|
|
@@ -627,6 +639,11 @@ CORTEX_DECISIONS_MAX_BYTES=2097152
|
|
|
627
639
|
# agent/the user has since changed on disk). Lets two agents share one working tree safely.
|
|
628
640
|
# Default ON; set "false" to disable.
|
|
629
641
|
CORTEX_GIT_CONTEXT=true
|
|
642
|
+
# Turn-0 "Available Slash Commands" harness-note: lists the built-in /commands (grouped by category)
|
|
643
|
+
# so the model can SUGGEST them to a user when relevant. Interactive/workspace feature — there is no
|
|
644
|
+
# user in a headless/bench task, so it is pointless prompt mass there. Default ON; set "false" to drop
|
|
645
|
+
# it (the bench COMMON sets it false). [LEDGER 2026-09-09] added — headless/bench frame hygiene.
|
|
646
|
+
CORTEX_SLASH_COMMAND_HINT=true
|
|
630
647
|
|
|
631
648
|
# ============================================
|
|
632
649
|
# ORCHESTRATOR MODE
|
|
@@ -909,6 +926,16 @@ CORTEX_NEARDUP_BREAKER=true
|
|
|
909
926
|
# append a one-line reminder to read the file once with Read (offset/limit) instead. Event kind: slice_read.
|
|
910
927
|
# [LEDGER 2026-09-03 @4.91.0] ON — ✅ v5 CERTIFIED: slice_read fired (flash 3 / pro 4, on gcode/make-doom/train-fasttext/dna). Doctrine gap flagged 08-29 (A′ doctrine-mine) and recurring in v4 make-doom on BOTH models (5 sed slices of /app/vm.js each); the Bash description's Read-preference line alone does not hold under the bash-edit frame. Post-tool reminder = no turn-1 prompt mass.
|
|
911
928
|
CORTEX_SLICE_NUDGE=true
|
|
929
|
+
# HB-SLICE-BLOCK — coercive escalation of the slice-nudge (dark). Full-sample mining (k5 @4.91.1, 66 nudge-fires)
|
|
930
|
+
# proved the soft slice-nudge is IGNORED ~80% of re-tested cases (93% of ignored files are NEVER Read); harm
|
|
931
|
+
# concentrates in a 39% deep-grinder tail (up to 23 extra slices of one file). So after CORTEX_SLICE_BLOCK_AT
|
|
932
|
+
# slices of a STATIC/source file, BLOCK further slice-reads of it (force Read via an append-only redirect,
|
|
933
|
+
# cache-safe), bounded to CORTEX_SLICE_BLOCK_MAX/file; append-mostly logs (re-tailing) are EXEMPT. Banks slice_block.
|
|
934
|
+
# [LEDGER 2026-09-09 @unreleased] DARK/PENDING — built + 11 unit tests green; A/B on the slice-heavy source pop
|
|
935
|
+
# (gcode/make-doom/dna-*/fix-ocaml-gc/build-pmars/make-mips) owed. Spec: docs/HB-SLICE-BLOCK-SPEC.md.
|
|
936
|
+
#CORTEX_SLICE_BLOCK=
|
|
937
|
+
#CORTEX_SLICE_BLOCK_AT=5
|
|
938
|
+
#CORTEX_SLICE_BLOCK_MAX=2
|
|
912
939
|
# Orient bootstrap directive: when a bare box lacks the language/compiler/library the task needs, orient prints one
|
|
913
940
|
# principled "install what you need + install once + fast cached installer" line. GATED because it is UNPROVEN —
|
|
914
941
|
# the one bare-box pass we have (tp torch-tensor, 4.91.0) happened with ONLY orient's factual tooling line, no
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexus-cortex/cli",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.99.0",
|
|
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.99.0",
|
|
23
23
|
"chalk": "^4.1.2",
|
|
24
24
|
"cli-spinners": "^2.9.0",
|
|
25
25
|
"commander": "^11.0.0",
|