@nexus-cortex/cli 4.108.21 → 4.108.22

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 +6 -0
  2. package/package.json +2 -2
package/.env.defaults CHANGED
@@ -852,6 +852,12 @@ CORTEX_ENDTURN_GATE=true
852
852
  # [LEDGER 2026-09-15 @4.108.21] BUILT + unit-tested (timeBudget.test.ts bands/line/levers; TurnEndGuards.test.ts open-items shapes).
853
853
  #CORTEX_BUDGET_VISIBILITY=
854
854
  #CORTEX_BUDGET_CONTINUE_MIN_REMAINING=
855
+ # (no lever) R152 HB-EMPTY-COMPLETION-RETRY (4.108.22, 2026-09-15): during a 27-min DeepSeek incident (1:30-1:57 AM PT) chat/completions
856
+ # returned bodies that parsed to null; the SDK handed them back, the translation layer dereferenced `.choices`, and the tool loop ended the turn
857
+ # on the TypeError — 30 sessions across tb21-a21 A/B + tb4-flash-v3 (largest-eigenval died at iteration 1). R150's ladder did not apply (a null
858
+ # body is a successful HTTP response). Now `completionBodyGuard.assertCompletionBody` throws EmptyCompletionBodyError (classified network) after
859
+ # `chat.completions.create`, so CORTEX_API_NETWORK_RETRY_MS's ladder retries it; the translation layer is null-safe.
860
+ # [LEDGER 2026-09-15 @4.108.22] BUILT + unit-tested (completionBodyGuard.test.ts incl. classifier hookup).
855
861
  # CORTEX_HERDR_REPORTING / CORTEX_HERDR_AGENT_NAME — R145 HB-HERDR-LIFECYCLE (4.108.14). Inside a herdr-managed pane (HERDR_ENV=1, HERDR_PANE_ID set,
856
862
  # `herdr` on PATH or HERDR_BIN) the orchestrator reports its lifecycle to herdr — `pane report-agent <pane> --source custom:nexus-cortex --agent
857
863
  # <name> --state working|idle|blocked` at turn start/end and around approval waits, `pane report-metadata … --token summary=turn:<n>|tool:<name>|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexus-cortex/cli",
3
- "version": "4.108.21",
3
+ "version": "4.108.22",
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.108.21",
22
+ "@nexus-cortex/core": "4.108.22",
23
23
  "chalk": "^4.1.2",
24
24
  "cli-spinners": "^2.9.0",
25
25
  "commander": "^11.0.0",