@nexus-cortex/cli 4.98.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.
Files changed (2) hide show
  1. package/.env.defaults +19 -2
  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 & mentorship
139
- HELPER_MODEL_ID=deepseek-v4-flash
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexus-cortex/cli",
3
- "version": "4.98.0",
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.98.0",
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",