@nexus-cortex/cli 4.124.45 → 4.124.46

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 +41 -0
  2. package/package.json +2 -2
package/.env.defaults CHANGED
@@ -1936,6 +1936,47 @@ MENTORSHIP_ACTIVE_DISCOVERY=false
1936
1936
  # accepted stream_options (200; usage on the final chunk WITH finish_reason, not a separate choices:[] chunk). The prefix
1937
1937
  # harness cannot reach the streaming builders.
1938
1938
  #CORTEX_STREAM_USAGE=
1939
+ # CORTEX_OPENAI_TOOLS_REASONING — HB-OPENAI-TOOLS-REASONING (DARK, 2026-10-02; stack-portability N1). OpenAI reasoning cards never declare
1940
+ # reasoning.toggleable, so the gateway withheld the request/action effort (CORTEX_ACTION_EFFORT was a NOOP on every OpenAI path).
1941
+ # on: the gateway forwards the effort for OpenAI reasoning cards → Responses `reasoning.effort` (+ summary auto). Chat/completions is
1942
+ # UNCHANGED: R19b's drop stays — live probe 2026-10-03, gpt-5.4-nano + gpt-5.6-luna: chat reasoning_effort + function tools = 400
1943
+ # "use /v1/responses"; Responses + tools + reasoning.effort = 200 on both. So an OpenAI effort arm must use OPENAI_API_MODE=responses.
1944
+ # Values pass through verbatim. DeepSeek and every non-OpenAI request byte-identical. off: unchanged.
1945
+ # [LEDGER 2026-10-03 @4.124.46] DARK — BUILT; chat half REMOVED after the live probe (would have 400ed every OpenAI tool call);
1946
+ # Responses half live-verified (accepts effort with tools).
1947
+ #CORTEX_OPENAI_TOOLS_REASONING=
1948
+ # CORTEX_ANTHROPIC_EFFORT — HB-ANTHROPIC-EFFORT (DARK, 2026-10-02; stack-portability N1). Adaptive-thinking families (claude-4.7,
1949
+ # claude-4.8, claude-5, claude-fable-5) got thinking {type:adaptive} only — the action effort never reached the wire; budget
1950
+ # families mapped effort `max` to the 10000 fallback (not in the budget map). on: adaptive families send
1951
+ # `output_config: {effort}` = low|medium|high|xhigh|max (GA field, no beta header; none/unset → omitted = provider default);
1952
+ # budget families map `max` to budget_tokens = min(120000, max_tokens - 1024) (must stay < max_tokens and >= 1024; below
1953
+ # that the legacy 10000 stays). low/medium/high budgets unchanged. Send + stream paths. xAI Messages untouched. An effort
1954
+ # change mid-session invalidates Anthropic's messages cache (same as the existing budget ladder). off: unchanged.
1955
+ # [LEDGER 2026-10-02 @4.124.46] DARK — BUILT + unit-tested (adaptive + budget, send + stream, off = byte-identical) + prefix
1956
+ # harness (send a, ACTION_EFFORT=max: claude-sonnet-5 output_config none → {effort:max} on 6/7 main requests; sonnet-4.6 and
1957
+ # haiku-4.5 budget_tokens 10000 → 62976 (max_tokens 64000) on 6/7; pair verdicts unchanged). No live Claude probe.
1958
+ #CORTEX_ANTHROPIC_EFFORT=
1959
+ # CORTEX_GEMINI_TOOLS_THINKING — HB-GEMINI-TOOLS-THINKING (DARK, 2026-10-02; stack-portability N1). The @google/genai builders
1960
+ # skipped thinkingConfig whenever tools were attached ("cannot coexist", a Gemini 2.0-era observation) and the REST builder only
1961
+ # sent a card-level thinkingLevel, so CORTEX_ACTION_EFFORT never reached Gemini. on: the gateway maps the request/action effort
1962
+ # to generationConfig.thinkingConfig on REST + SDK, with or without tools — Gemini 3.x thinkingLevel (low|medium|high;
1963
+ # xhigh/max → high), 2.5 and older thinkingBudget (low 2048, medium 8192, high 16384, xhigh/max 24576); the request effort
1964
+ # replaces a card-level thinkingLevel. SDK + tools with no effort → thinkingBudget 10000 (the no-tools default). Streaming SDK
1965
+ # adds includeThoughts; non-streaming does not (the message-level adapter would render thought parts as visible text). Visible
1966
+ # reasoning (wall levers) is NOT enabled by this flag. off: unchanged.
1967
+ # [LEDGER 2026-10-02 @4.124.46] DARK — BUILT + unit-tested (REST 3.x level + 2.5 budget, SDK send + stream, off =
1968
+ # byte-identical) + prefix harness (send a, ACTION_EFFORT=max: gemini-3.7-flash REST thinkingLevel "high", gemini-2.5-flash
1969
+ # REST + SDK thinkingBudget 24576 on 6/7 main requests; pair verdicts unchanged). No live Gemini probe of thinking + tools.
1970
+ #CORTEX_GEMINI_TOOLS_THINKING=
1971
+ #
1972
+ # CORTEX_ACTION_EFFORT_FIRST — HB-ACTION-EFFORT-FIRST (DARK, 2026-10-03; found by the effort-gap build). CORTEX_ACTION_EFFORT is filled
1973
+ # into the request params AFTER request 0 of each user turn is built, so request 0 ran at the model card's default effort and requests 1+
1974
+ # at the action effort. DeepSeek: harmless (card 'medium' = 'high' server-side; the anchor-lift bust is on the same boundary). Other
1975
+ # providers: request 0 runs at the wrong effort and the effort flip costs one extra cache break per user turn (Anthropic output_config,
1976
+ # Gemini thinkingConfig, OpenAI reasoning_effort are all prefix-relevant). on = request 0 also gets CORTEX_ACTION_EFFORT (a ramp or an
1977
+ # explicit request param still wins). off = unchanged (byte-identical).
1978
+ # [LEDGER 2026-10-03 @4.124.46] DARK — BUILT (unit tests; turn it on in every non-DeepSeek cross-provider arm).
1979
+ #CORTEX_ACTION_EFFORT_FIRST=
1939
1980
 
1940
1981
  # Prompt-mass composition (BASH_PLUS_SPEC P6): full (default) | minimal (only
1941
1982
  # the core system prompt; guides/CLAUDE.md/memory dropped) | defer (minimal on
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexus-cortex/cli",
3
- "version": "4.124.45",
3
+ "version": "4.124.46",
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.124.45",
22
+ "@nexus-cortex/core": "4.124.46",
23
23
  "chalk": "^4.1.2",
24
24
  "cli-spinners": "^2.9.0",
25
25
  "commander": "^11.0.0",