@christiandoxa/prodex 0.226.0 → 0.228.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.
- package/README.md +39 -4
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -144,7 +144,7 @@ If you install from source, make sure the `codex` binary in your `PATH` is alrea
|
|
|
144
144
|
|
|
145
145
|
## Optional tools
|
|
146
146
|
|
|
147
|
-
`prodex` can run without RTK, SQZ, token-savior, claw-compactor, Ponytail, Presidio, or prodex-memory. `prodex-inspect` is a built-in read-only MCP server for profile/runtime diagnostics and is auto-registered in Prodex overlay sessions. `prodex-memory` is built in and opt-in through the `mem` prefix or managed Mem0 Super prompt.
|
|
147
|
+
`prodex` can run without RTK, SQZ, token-savior, codebase-memory-mcp, claw-compactor, Ponytail, Presidio, or prodex-memory. `prodex-inspect` is a built-in read-only MCP server for profile/runtime diagnostics and is auto-registered in Prodex overlay sessions. `prodex-memory` is built in and opt-in through the `mem` prefix or managed Mem0 Super prompt.
|
|
148
148
|
|
|
149
149
|
Install them only if you want to use commands such as:
|
|
150
150
|
|
|
@@ -432,6 +432,40 @@ Prodex handles MCP registration for its own overlay session when it can find the
|
|
|
432
432
|
|
|
433
433
|
</details>
|
|
434
434
|
|
|
435
|
+
<details>
|
|
436
|
+
<summary>Install Codebase Memory MCP</summary>
|
|
437
|
+
|
|
438
|
+
Codebase Memory MCP is used by Super mode when the `codebase-memory-mcp` binary is available on `PATH` or under a managed optimizer checkout. Prodex auto-registers it as `codebase-memory-mcp` for `prodex s` / `prodex super` overlay sessions and routes its cache under `PRODEX_HOME`.
|
|
439
|
+
|
|
440
|
+
Install the upstream binary:
|
|
441
|
+
|
|
442
|
+
```bash
|
|
443
|
+
curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash -s -- --skip-config
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
Or use a managed checkout:
|
|
447
|
+
|
|
448
|
+
```bash
|
|
449
|
+
git clone https://github.com/DeusData/codebase-memory-mcp.git ~/.local/share/prodex-optimizers/codebase-memory-mcp
|
|
450
|
+
cd ~/.local/share/prodex-optimizers/codebase-memory-mcp
|
|
451
|
+
scripts/build.sh
|
|
452
|
+
```
|
|
453
|
+
|
|
454
|
+
Verify:
|
|
455
|
+
|
|
456
|
+
```bash
|
|
457
|
+
codebase-memory-mcp --help
|
|
458
|
+
prodex s doctor
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
Enable its own startup indexing if you want Codebase Memory to index automatically when the MCP server starts:
|
|
462
|
+
|
|
463
|
+
```bash
|
|
464
|
+
CBM_CACHE_DIR="${PRODEX_HOME:-$HOME/.prodex}/optimizer-state/codebase-memory/cache" codebase-memory-mcp config set auto_index true
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
</details>
|
|
468
|
+
|
|
435
469
|
<details>
|
|
436
470
|
<summary>Install claw-compactor</summary>
|
|
437
471
|
|
|
@@ -762,7 +796,7 @@ Use `prodex s expose` when you need to reach the live Super terminal from a brow
|
|
|
762
796
|
<details>
|
|
763
797
|
<summary>Super optimizer internals (advanced)</summary>
|
|
764
798
|
|
|
765
|
-
Super's built-in optimization stack is deliberately local and deterministic. It preloads Caveman, exposes a Prodex overlay `rtk` PATH wrapper plus RTK auto-wrappers for common noisy commands when RTK is installed, auto-registers built-in `prodex-inspect` plus discovered `sqz-mcp` and `
|
|
799
|
+
Super's built-in optimization stack is deliberately local and deterministic. It preloads Caveman, exposes a Prodex overlay `rtk` PATH wrapper plus RTK auto-wrappers for common noisy commands when RTK is installed, auto-registers built-in `prodex-inspect` plus discovered `sqz-mcp`, `token-savior`, and `codebase-memory-mcp` MCP servers, exposes `sqz` and `claw-compactor` wrapper commands when those commands/checkouts are discoverable, invokes a trusted one-shot `prodex-claw-compactor-sessionstart` SessionStart benchmark probe when Claw-Compactor is available, falls back to a temporary shadow `MEMORY.md` when the workspace has no Markdown memory files, then uses Smart Context Autopilot through a dedicated runtime proxy for lower-token request shaping. The probe delegates to `prodex-claw-compactor-auto "$(pwd)"` and uses a marker under `CODEX_HOME` so Codex conversation restarts do not replay it. Presidio redaction and prodex-memory are added only when you opt in. Prodex routes optional-tool state under `PRODEX_HOME` (default `~/.prodex`), including SQZ XDG state, token-savior cache/stats, Codebase Memory cache/config, claw-compactor HOME/XDG state, RTK analytics paths, and local memory, so compatible optimizer metadata stays out of worktrees.
|
|
766
800
|
|
|
767
801
|
Smart Context treats protocol and continuation metadata as exact control-plane data while allowing independent context payload segments to remain eligible for deterministic lossless or artifact-backed rewriting. Explicit exact mode still makes the complete request pass through. Missing artifact references are handled as segment-local rehydration failures: the dependent reference is preserved and recorded, budgets tighten, and unrelated payload segments may still be optimized when validation proves continuation identifiers, tool-call structure, critical signals, and JSON integrity are intact.
|
|
768
802
|
|
|
@@ -779,6 +813,7 @@ Super instructs Codex to use the available local optimizer stack where it fits t
|
|
|
779
813
|
- RTK works upstream/input-side. Use visible `rtk <cmd>` for noisy terminal commands before their output enters the model context, such as `git diff`, `cargo test`, `npm test`, build logs, and package-manager output. Prodex also auto-wraps common noisy commands as a fallback when RTK is installed, but that fallback does not make the TUI show an `rtk` prefix.
|
|
780
814
|
- SQZ works downstream/context-side through the auto-registered `prodex-sqz` MCP server when `sqz-mcp` is available. Use it for repeated workspace reads, large text blobs, long command outputs that need reuse, and long-session context compression instead of emitting the same full content again.
|
|
781
815
|
- token-savior handles symbol lookup, caller/context navigation, duplicate/dead-code checks, and API-impact searches before broad source reads when token-savior is available.
|
|
816
|
+
- codebase-memory-mcp handles structural codebase graph queries such as architecture, call chains, impact analysis, dead-code lookup, and cross-service links when the binary is available.
|
|
782
817
|
- prodex-inspect provides read-only MCP diagnostics for Prodex status, profiles, and latest runtime log tail.
|
|
783
818
|
- claw-compactor handles workspace-level summary or benchmark requests through `prodex-claw-compactor` / `prodex-claw-compactor-auto` when available; treat its output as overview context and reread exact source before edits.
|
|
784
819
|
- Ponytail loads the local `DietrichGebert/ponytail` Codex plugin into the temporary overlay when the checkout exists under a managed optimizer root, adding smallest-correct-implementation pressure without changing the base Codex profile.
|
|
@@ -854,7 +889,7 @@ prodex dashboard
|
|
|
854
889
|
|
|
855
890
|
The live `prodex quota --all --detail` view accepts `s` to cycle sort modes and `f` to cycle the provider filter through `all`, `openai`, `gemini`, `anthropic`, `copilot`, `deepseek`, and `local`. Add `--provider openai`, `--provider gemini`, `--provider anthropic`, `--provider copilot`, `--provider deepseek`, or `--provider local` to start locked to a single provider.
|
|
856
891
|
|
|
857
|
-
For OpenAI/Codex profiles, quota views also show earned rate-limit reset credits when the upstream usage API reports them
|
|
892
|
+
For OpenAI/Codex profiles, quota views also show earned rate-limit reset credits when the upstream usage API reports them. Use `prodex redeem <profile>` when you explicitly want to redeem one reset credit on a named profile, even if the 5h and weekly quota windows still have remaining quota. If either quota window resets within 1 hour, Prodex asks before consuming the credit; pass `--yes` to skip that prompt. Add `--auto-redeem` to a runtime launch when you want Prodex to consider a guarded automatic redeem after every OpenAI/Codex profile is weekly-exhausted.
|
|
858
893
|
|
|
859
894
|
`prodex dashboard` serves a local browser dashboard at `http://127.0.0.1:8765` by default. It shows profile/account settings, lets you switch or remove profile entries, and renders live usage from the same quota collectors used by `prodex quota`. Use `prodex dashboard --port 0` for an OS-selected free port, or pass `--base-url` for quota checks against a custom Codex-compatible backend. The dashboard has no password auth; keep it on localhost unless the network is trusted.
|
|
860
895
|
|
|
@@ -1100,7 +1135,7 @@ Note that the default Microsoft Presidio Docker images typically only support En
|
|
|
1100
1135
|
|
|
1101
1136
|
It keeps exact pass-through for continuation-sensitive requests. When safe, it uses adaptive token budgeting, artifact-backed large tool outputs, duplicate suppression, blob/noise detection, stable cache-friendly context framing, and critical-signal self-checks to reduce token load without dropping failure details.
|
|
1102
1137
|
|
|
1103
|
-
The Super optimization stack is meant to stay deterministic and local by default. It auto-registers `sqz-mcp` and `
|
|
1138
|
+
The Super optimization stack is meant to stay deterministic and local by default. It auto-registers `sqz-mcp`, `token-savior`, and `codebase-memory-mcp` MCP servers when those binaries are already on `PATH` or in a managed `prodex-optimizers` checkout, loads Ponytail from a managed checkout when available, exposes `sqz` and `claw-compactor` wrappers when discoverable, routes compatible optimizer cache/state under `PRODEX_HOME` instead of the workspace, and uses a dedicated runtime proxy for local compaction, stable references, and lower-token context shaping rather than hidden remote summarization.
|
|
1104
1139
|
|
|
1105
1140
|
RTK handles upstream/input command output before it enters the context window, using visible `rtk <cmd>` commands and overlay auto-wrappers when available. Auto-wrappers are only a backstop; write `rtk <cmd>` explicitly when you want the TUI/transcript to show RTK usage. SQZ handles downstream/context reuse after content is already in the session, using `prodex-sqz` when the MCP server is available.
|
|
1106
1141
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@christiandoxa/prodex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.228.0",
|
|
4
4
|
"description": "Multi-provider Codex wrapper with OpenAI quota-aware routing and Claude Code support",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"bin": {
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"@openai/codex": "latest"
|
|
17
17
|
},
|
|
18
18
|
"optionalDependencies": {
|
|
19
|
-
"@christiandoxa/prodex-linux-x64": "0.
|
|
20
|
-
"@christiandoxa/prodex-linux-arm64": "0.
|
|
21
|
-
"@christiandoxa/prodex-darwin-x64": "0.
|
|
22
|
-
"@christiandoxa/prodex-darwin-arm64": "0.
|
|
23
|
-
"@christiandoxa/prodex-win32-x64": "0.
|
|
24
|
-
"@christiandoxa/prodex-win32-arm64": "0.
|
|
19
|
+
"@christiandoxa/prodex-linux-x64": "0.228.0",
|
|
20
|
+
"@christiandoxa/prodex-linux-arm64": "0.228.0",
|
|
21
|
+
"@christiandoxa/prodex-darwin-x64": "0.228.0",
|
|
22
|
+
"@christiandoxa/prodex-darwin-arm64": "0.228.0",
|
|
23
|
+
"@christiandoxa/prodex-win32-x64": "0.228.0",
|
|
24
|
+
"@christiandoxa/prodex-win32-arm64": "0.228.0",
|
|
25
25
|
"@openai/codex-linux-x64": "npm:@openai/codex@linux-x64",
|
|
26
26
|
"@openai/codex-linux-arm64": "npm:@openai/codex@linux-arm64",
|
|
27
27
|
"@openai/codex-darwin-x64": "npm:@openai/codex@darwin-x64",
|