@nexus-cortex/cli 4.108.7 → 4.108.9
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 +24 -0
- package/package.json +2 -2
package/.env.defaults
CHANGED
|
@@ -756,6 +756,10 @@ CORTEX_ENDTURN_GATE=true
|
|
|
756
756
|
# ROLLED forward with the dropped messages (memorySource `rolled`); the rung RE-ARMS after each compaction so the last band before the
|
|
757
757
|
# threshold refires every cycle (one whole-conversation helper call per cycle). Live: 28 compactions / 28 fresh covering checkpoints /
|
|
758
758
|
# 0 stale replays (proof run 6). The v2 rule (token distance) replayed ONE stale memory into 27 compactions — never ship a reuse test on tokens.
|
|
759
|
+
# [LEDGER 2026-09-13 @4.108.8] R132 HB-COMPACTION-ESTIMATE: the estimator is now ANCHORED on the provider's last reported prompt_tokens
|
|
760
|
+
# (+ chars/4 of what was appended since; proportional shrink after a drop) — the chars/4-of-the-JSON-envelope heuristic (R129-scaled) is only
|
|
761
|
+
# the fallback before the first usage arrives. Field read on the TB4.0 definitive run (4.108.5): heat-pump-warranty compacted at "760K-1.0M"
|
|
762
|
+
# vs an API max of 151,763 prompt tokens (5-7x over). Compaction rows now bank estimateSource usage-anchored|heuristic + anchorTokens.
|
|
759
763
|
#CORTEX_COMPACTION_CHECKPOINT_PCT=
|
|
760
764
|
#CORTEX_COMPACTION_CHECKPOINT_STEP=
|
|
761
765
|
# CORTEX_COMPACTION_THRESHOLD_TOKENS — TEST/OPS OVERRIDE of the compaction threshold (4.108.3). Unset (default) = the threshold is derived
|
|
@@ -785,6 +789,18 @@ CORTEX_ENDTURN_GATE=true
|
|
|
785
789
|
# [LEDGER 2026-09-12 @4.108.1] BUILT + unit-tested (delegationHint.test.ts); DARK — prompt mass on the narrow door is a measured lever, so it
|
|
786
790
|
# needs an A/B on the long-horizon population (TB4.0) before any default. Field read = task_spawn count per session.
|
|
787
791
|
#CORTEX_DELEGATION_HINT=
|
|
792
|
+
# CORTEX_SUBAGENT_TIMEOUT_MS / CORTEX_SUBAGENT_TIMEOUT_MAX_MS — R133 HB-SUBAGENT-TIMEOUT (4.108.8). The Task sub-agent's wall-clock limit was a
|
|
793
|
+
# hardcoded 300 s regardless of the parent's budget: on the TB4.0 definitive run 3 of 6 delegates were cut at 300.0 s (one after 62 turns and
|
|
794
|
+
# 6 files modified, the parent redid the work). Now: the Task input `timeout_ms` wins (clamped to [60 s, remaining-30 s]); else a parent turn
|
|
795
|
+
# deadline (CORTEX_TURN_DEADLINE_MS, set per task by the bench adapter) gives 90% of the REMAINING budget minus 30 s, capped by
|
|
796
|
+
# CORTEX_SUBAGENT_TIMEOUT_MAX_MS if set; else CORTEX_SUBAGENT_TIMEOUT_MS; else 300000. The child receives the same limit as ITS turn deadline
|
|
797
|
+
# only when a real deadline exists. A TIMEOUT result still carries the partial response + Files Modified (inspect on-disk state, don't redo).
|
|
798
|
+
# The outer per-batch abort now honors the resolved Task/Browse limit (it was a Bash-only 150 s cap that killed delegates first).
|
|
799
|
+
# task_spawn decision rows bank timeoutMs[] + remainingMs. Unset = derived as above.
|
|
800
|
+
# [LEDGER 2026-09-13 @4.108.8] BUILT + unit-tested (subAgentTimeout.test.ts, outerToolTimeout.test.ts); validation cell = the 3 TB4.0 tasks
|
|
801
|
+
# whose delegates timed out (mp-checkpoint-consolidation, retro-console-soc, vllm-deepseek-streaming) — PENDING.
|
|
802
|
+
#CORTEX_SUBAGENT_TIMEOUT_MS=
|
|
803
|
+
#CORTEX_SUBAGENT_TIMEOUT_MAX_MS=
|
|
788
804
|
# Stage 4 (4.70.0, requires the gate ON): task-requirements attestation —
|
|
789
805
|
# enumerate each stated requirement with what satisfies it + how it was
|
|
790
806
|
# verified; mutating turns with no checks are challenged. Default OFF.
|
|
@@ -880,6 +896,10 @@ CHROMIUM_BIN=
|
|
|
880
896
|
# Alternate Chromium path honored by Playwright
|
|
881
897
|
PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=
|
|
882
898
|
# Override the tmux binary used by visual agent monitoring (auto-detected if unset)
|
|
899
|
+
# [LEDGER 2026-09-13 @4.108.8] R134 HB-TMUX-FALLBACK: when tmux is ABSENT, Bash `persistentSession` and CreateArtifactTool persistent/dev
|
|
900
|
+
# process artifacts no longer refuse — they degrade to a detached background process (BackgroundProcessRegistry; poll with BashOutput) with a
|
|
901
|
+
# `[WARN] tmux not available: ...` first line naming the lost semantics (state/cwd/env persistence, attach/reconnect, dashboard restart).
|
|
902
|
+
# Field read: TB4.0 ctr-optimization (no tmux in the image) lost its long-running monitor after 16 refused CreateArtifactTool calls.
|
|
883
903
|
TMUX_BIN=
|
|
884
904
|
# Google Vertex AI project (only when using Vertex instead of the Gemini API)
|
|
885
905
|
GOOGLE_CLOUD_PROJECT=
|
|
@@ -1106,6 +1126,10 @@ CORTEX_SURRENDER_NUDGE=true
|
|
|
1106
1126
|
# tracker AND the poll guard — observed x65 near-identical calls, max 4 consecutive).
|
|
1107
1127
|
# N-in-window → one diversify nudge; 2N → break. Default off; bench/serving arm it.
|
|
1108
1128
|
# [LEDGER 2026-09-02 @4.89.0] ON — guard stack; the retry-loop ladder (retry_loop = 65-74% of fails pre-guards). Code defaults NEARDUP_NUDGE_AT=12 (8 regressed rstan-class grinds) / NEARDUP_WINDOW=30 (break rung unreachable at 20).
|
|
1129
|
+
# [LEDGER 2026-09-13 @4.108.9] R128 HB-CHUNKED-READS: the near-dup lens, the loop ladder's approachHash/poll guard and the slice_read nudge/block
|
|
1130
|
+
# now recognize a RANGE PROGRESSION over one file (sed -n 'A,Bp' / head|tail / tail -n +A|head / awk NR / Read offset+limit with next.start >
|
|
1131
|
+
# prev.end) as new work, not a retry; an identical, overlapping or backwards range still counts. Field read (tb4-flash-v1): 25 of 92 loop-guard
|
|
1132
|
+
# events fired right after a chunk read (rs-archive-clone 5). Tests: chunkReadProgression.test.ts, LoopLadder.test.ts, sliceBlock.test.ts.
|
|
1109
1133
|
CORTEX_NEARDUP_BREAKER=true
|
|
1110
1134
|
# Slice-reader nudge: after the 3rd bash slice-read (sed -n N,Mp / head -n / tail -n) of the SAME file in a session,
|
|
1111
1135
|
# append a one-line reminder to read the file once with Read (offset/limit) instead. Event kind: slice_read.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexus-cortex/cli",
|
|
3
|
-
"version": "4.108.
|
|
3
|
+
"version": "4.108.9",
|
|
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.
|
|
22
|
+
"@nexus-cortex/core": "4.108.9",
|
|
23
23
|
"chalk": "^4.1.2",
|
|
24
24
|
"cli-spinners": "^2.9.0",
|
|
25
25
|
"commander": "^11.0.0",
|