@nexus-cortex/cli 4.108.19 → 4.108.20

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 +13 -0
  2. package/package.json +2 -2
package/.env.defaults CHANGED
@@ -825,7 +825,20 @@ CORTEX_ENDTURN_GATE=true
825
825
  # launches in ctr-optimization). R133 made Task/Browse contribute their own limit; this lever floors everything else:
826
826
  # deadline = max(computed, floor) + grace. Unset = no floor (byte-identical to before). Bench COMMON under an 8-h budget: 600000.
827
827
  # [LEDGER 2026-09-13 @4.108.10] BUILT + unit-tested (outerToolTimeout.test.ts floor table; effectiveConfig registration). Not yet in a run.
828
+ # [LEDGER 2026-09-14 @4.108.20] FIELD-VALIDATED in tb4-flash-v2 (63 tasks @600000): 0 outer-abort kills (v1 without the floor: 5).
828
829
  #CORTEX_OUTER_TOOL_TIMEOUT_MS=
830
+ # CORTEX_API_NETWORK_RETRY_MS — R150 HB-API-CONNECTION-RESILIENCE (4.108.20): wall-clock BUDGET (ms) for retrying NETWORK-CLASS API faults
831
+ # (OpenAI-SDK "Connection error.", undici "terminated"/"other side closed", ECONNRESET, 5xx) on an exponential ladder capped at 60 s per wait.
832
+ # Before: those two SDK messages were not in ErrorClassificationMiddleware's network list → not retryable → RetryMiddleware threw on attempt 1 →
833
+ # the tool loop exited → the R29a synthesis also failed → `endturn_gate_fallback abnormal-exit-bypass` shipped the turn. tb4-flash-v2: a ~2-min
834
+ # transport blip at 8:36 AM PT 09-14 ended 3 lanes at once (wdm-design at iteration 141 mid-optimization — v1 PASSED it at 409 min; uefi-bootkit
835
+ # 255; vpp-loss-divergence 8) + formal-crypto earlier; v1 had zero. Even a retryable class was 3 attempts ≈ 7 s. Default 600000 (10 min);
836
+ # 0 = legacy attempt cap. Rate limits keep their own lower cap. The bypass event now banks the error text (detail.error).
837
+ # [LEDGER 2026-09-14 @4.108.20] BUILT + unit-tested (ErrorClassificationMiddleware.test.ts R150 shapes; RetryMiddleware.test.ts budget ladder).
838
+ # Companion R149 HB-COMPACTION-IMAGE-CHARS (same release, no lever): compactionResume approxCharsOf flattens base64 image payloads to
839
+ # IMAGE_BLOCK_CHARS (6000) — the chars/4 growth term counted a 1 MB screenshot as ~250K tokens → 3 false proactive compactions in tb4-flash-v2
840
+ # (estimates 826K–969K vs API 14K–318K; every one an image-heavy session). unit-tested (compactionResume.test.ts R149).
841
+ #CORTEX_API_NETWORK_RETRY_MS=
829
842
  # 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,
830
843
  # `herdr` on PATH or HERDR_BIN) the orchestrator reports its lifecycle to herdr — `pane report-agent <pane> --source custom:nexus-cortex --agent
831
844
  # <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.19",
3
+ "version": "4.108.20",
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.19",
22
+ "@nexus-cortex/core": "4.108.20",
23
23
  "chalk": "^4.1.2",
24
24
  "cli-spinners": "^2.9.0",
25
25
  "commander": "^11.0.0",