@christiandoxa/prodex 0.194.0 → 0.196.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 +15 -11
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -143,7 +143,7 @@ If you install from source, make sure the `codex` binary in your `PATH` is alrea
|
|
|
143
143
|
|
|
144
144
|
## Optional tools
|
|
145
145
|
|
|
146
|
-
`prodex` can run without RTK, SQZ, token-savior, claw-compactor, or
|
|
146
|
+
`prodex` can run without RTK, SQZ, token-savior, claw-compactor, Presidio, or prodex-memory. `prodex-memory` is built in and opt-in through the `mem` prefix or managed Mem0 Super prompt.
|
|
147
147
|
|
|
148
148
|
Install them only if you want to use commands such as:
|
|
149
149
|
|
|
@@ -176,20 +176,20 @@ prodex caveman mem
|
|
|
176
176
|
prodex s doctor
|
|
177
177
|
```
|
|
178
178
|
|
|
179
|
-
`prodex s`
|
|
179
|
+
`prodex s` leaves `prodex-memory` disabled unless you opt in.
|
|
180
180
|
The base Codex profile stays unchanged; memory state is owned by Prodex.
|
|
181
181
|
Use `prodex caveman mem` when you want only Caveman plus the local memory MCP overlay, without the full Super stack.
|
|
182
182
|
|
|
183
183
|
`prodex-memory` provides Mem0-style local memory without Mem0 Cloud, Mem0 CLI, or `MEM0_API_KEY`.
|
|
184
|
-
|
|
184
|
+
The local `mem` prefix stores memories in a SQLite database under `PRODEX_HOME`:
|
|
185
185
|
|
|
186
186
|
```text
|
|
187
187
|
$PRODEX_HOME/memory/prodex-memory.sqlite
|
|
188
188
|
```
|
|
189
189
|
|
|
190
|
-
`prodex s` asks the Presidio prompt first, then asks whether to
|
|
190
|
+
`prodex s` asks the Presidio prompt first, then asks whether to enable prodex-memory through managed Mem0 Docker. Empty input or `n` leaves the memory MCP disabled. Answer `y` or pass `--mem0` to start the managed Mem0 OSS Docker server. Use `--no-mem0` to skip that prompt non-interactively, or `prodex caveman mem` / `prodex mem` for the lightweight SQLite backend.
|
|
191
191
|
|
|
192
|
-
The
|
|
192
|
+
The SQLite path remains the fastest OOTB memory path when you request memory:
|
|
193
193
|
|
|
194
194
|
- no Mem0 Cloud endpoint
|
|
195
195
|
- no `MEM0_API_KEY`
|
|
@@ -591,18 +591,18 @@ prodex s expose
|
|
|
591
591
|
`prodex super` expands to:
|
|
592
592
|
|
|
593
593
|
```bash
|
|
594
|
-
prodex caveman rtk sqz tokensavior clawcompactor
|
|
594
|
+
prodex caveman rtk sqz tokensavior clawcompactor --full-access
|
|
595
595
|
```
|
|
596
596
|
|
|
597
597
|
Before launch, Super asks whether to add Presidio redaction. Empty input or `n` keeps the expansion above. If you answer `y`, it is equivalent to:
|
|
598
598
|
|
|
599
599
|
```bash
|
|
600
|
-
prodex caveman rtk sqz tokensavior clawcompactor
|
|
600
|
+
prodex caveman rtk sqz tokensavior clawcompactor presidio --full-access
|
|
601
601
|
```
|
|
602
602
|
|
|
603
603
|
Use `prodex super --presidio` to enable Presidio without prompting, or `prodex super --no-presidio` to skip the prompt and keep Presidio disabled. Presidio enables runtime request-body and WebSocket text redaction through local Presidio for the session. The runtime uses `presidio.toml` endpoints when configured, falls back to `http://localhost:5002` and `http://localhost:5001`, and honors `fail_mode = "open"` or `"closed"`.
|
|
604
604
|
|
|
605
|
-
After the Presidio prompt, Super asks whether to
|
|
605
|
+
After the Presidio prompt, Super asks whether to enable prodex-memory through managed Mem0 Docker. Empty input or `n` leaves `prodex-memory` disabled, so Codex will not wait for that MCP server. Answer `y` or pass `--mem0` to start the managed Mem0 OSS Docker server, route its OpenAI-compatible calls through a session-local Prodex gateway, and inject the local Mem0 API key into the temporary Codex MCP config. Use `--no-mem0` to skip the prompt. Use the `mem` optimizer prefix for local SQLite memory. This path does not use Mem0 Cloud or `MEM0_API_KEY`; Docker Compose is required, and Prodex falls back to local embeddings when no upstream provider API key is available.
|
|
606
606
|
|
|
607
607
|
Super prints prelaunch progress for runtime proxy setup, Presidio auto-start/checks, and managed Mem0 Docker startup. The output happens before Codex starts; runtime notices still go to logs once the TUI is running.
|
|
608
608
|
|
|
@@ -612,7 +612,7 @@ Use `prodex s doctor` to inspect the Super optimizer stack without launching Cod
|
|
|
612
612
|
|
|
613
613
|
Use `prodex s expose` when you need to reach the live Super terminal from a browser. Prodex starts a local PTY bridge protected by a high-entropy access token, launches `cloudflared tunnel --protocol http2 --url ...` when `cloudflared` is available, and prints both the loopback and Cloudflare quick-tunnel URLs. The browser tab can close without stopping the session; reopening the same token URL reconnects to the existing PTY and replays recent scrollback. Add `--no-tunnel` for local-only access, `--max-clients N` to cap simultaneous browsers, or `--command 'prodex s --no-presidio'` to choose the initial terminal command.
|
|
614
614
|
|
|
615
|
-
Super's built-in optimization stack is deliberately local and deterministic. It preloads Caveman, exposes an overlay `rtk` wrapper plus RTK auto-wrappers for common noisy commands when RTK is installed, auto-registers `sqz-mcp
|
|
615
|
+
Super's built-in optimization stack is deliberately local and deterministic. It preloads Caveman, exposes an overlay `rtk` wrapper plus RTK auto-wrappers for common noisy commands when RTK is installed, auto-registers `sqz-mcp` and `token-savior` MCP servers, exposes `sqz` and `claw-compactor` wrappers 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 passes token-savior cache, stats paths, and local memory under `PRODEX_HOME` (default `~/.prodex`) so compatible token-savior versions and memory state stay out of worktrees.
|
|
616
616
|
|
|
617
617
|
Super instructs Codex to use the whole local optimizer stack where it fits the task, not just RTK:
|
|
618
618
|
|
|
@@ -620,7 +620,7 @@ Super instructs Codex to use the whole local optimizer stack where it fits the t
|
|
|
620
620
|
- SQZ works downstream/context-side through the auto-registered `prodex-sqz` MCP server. 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.
|
|
621
621
|
- token-savior handles symbol lookup, caller/context navigation, duplicate/dead-code checks, and API-impact searches before broad source reads.
|
|
622
622
|
- claw-compactor handles workspace-level summary or benchmark requests through `prodex-claw-compactor` / `prodex-claw-compactor-auto`; treat its output as overview context and reread exact source before edits.
|
|
623
|
-
- prodex-memory provides local Mem0-style memory through the
|
|
623
|
+
- prodex-memory provides local Mem0-style memory through the `mem` prefix with SQLite, or through managed Mem0 OSS Docker when you opt in with the Super prompt or `--mem0`; neither path uses Mem0 Cloud auth or `MEM0_API_KEY`.
|
|
624
624
|
- Presidio stays optional and only runs when you opt in with the Super prompt or `--presidio`.
|
|
625
625
|
|
|
626
626
|
Managed optimizer checkouts are discovered from `PRODEX_OPTIMIZERS_HOME`, `$XDG_DATA_HOME/prodex-optimizers`, then `~/.local/share/prodex-optimizers`.
|
|
@@ -867,7 +867,7 @@ Gemini Live realtime websocket translation remains available for compatible call
|
|
|
867
867
|
|
|
868
868
|
Run `npm run test:gemini-schema` after changing Gemini request, response, SSE, semantic compact, exact-output, tool-schema, or Live translation. Run `PRODEX_LIVE_GEMINI=1 npm run test:gemini-live` for a credentialed end-to-end Gemini adapter smoke request; set `PRODEX_BIN` or `PRODEX_LIVE_GEMINI_MODEL` to override the binary or model. Add `PRODEX_LIVE_GEMINI_EXTENDED=1` for command-output-only, file edit, `apply_patch`, reference-repo clone/inspection, optional-tool update discipline, semantic compact, and explicit `exec resume` checks. Add `PRODEX_LIVE_GEMINI_MCP=1` and/or `PRODEX_LIVE_GEMINI_MULTIMODAL=1` when the local environment should also exercise MCP and image-input paths.
|
|
869
869
|
|
|
870
|
-
Before launch, Super asks whether to add Presidio redaction. Empty input or `n` keeps Presidio disabled; answer `y` or pass `--presidio` to add the `presidio` prefix. Use `--no-presidio` to make the disabled choice explicit for non-interactive use. Super then asks whether to
|
|
870
|
+
Before launch, Super asks whether to add Presidio redaction. Empty input or `n` keeps Presidio disabled; answer `y` or pass `--presidio` to add the `presidio` prefix. Use `--no-presidio` to make the disabled choice explicit for non-interactive use. Super then asks whether to enable prodex-memory through managed Mem0 Docker. Empty input or `n` leaves prodex-memory disabled; answer `y` or pass `--mem0` to start the managed Mem0 OSS Docker server and route its OpenAI-compatible calls through Prodex gateway. Use `--no-mem0` to skip that prompt, or the `mem` prefix for local SQLite memory.
|
|
871
871
|
|
|
872
872
|
Prodex now supports multi-language Presidio redaction, including automatic detection and multi-language merging. The runtime uses `presidio.toml` endpoints and language configuration when available, falling back to `http://localhost:5002` and `http://localhost:5001` for Analyzer/Anonymizer URLs, and English (`en`) for language if not specified. It honors `fail_mode = "open"` or `"closed"`.
|
|
873
873
|
|
|
@@ -993,6 +993,8 @@ See [LOCAL.md](./LOCAL.md) for self-hosted model setup and testing.
|
|
|
993
993
|
|
|
994
994
|
```bash
|
|
995
995
|
prodex info
|
|
996
|
+
prodex log
|
|
997
|
+
prodex log stream
|
|
996
998
|
prodex doctor --install
|
|
997
999
|
prodex doctor --runtime
|
|
998
1000
|
prodex doctor --bundle ./prodex-doctor.json --redacted
|
|
@@ -1006,6 +1008,8 @@ git diff | prodex context compact-output --kind git-diff
|
|
|
1006
1008
|
| Command | Description |
|
|
1007
1009
|
|---|---|
|
|
1008
1010
|
| `prodex info` | Shows provider route/quota shapes plus effective runtime tuning values after environment, policy, and default resolution. |
|
|
1011
|
+
| `prodex log` | Shows the latest runtime token event: tokens sent (`input_tokens`), cache hits, tokens received (`output_tokens`), and reasoning tokens. |
|
|
1012
|
+
| `prodex log stream` | Follows all active runtime logs and prints token events live. Add `--json` for JSON Lines output. |
|
|
1009
1013
|
| `prodex doctor --install` | Adds install and embedded asset checks to doctor output. |
|
|
1010
1014
|
| `prodex doctor --runtime` | Runs runtime diagnostics. |
|
|
1011
1015
|
| `prodex doctor --bundle PATH --redacted` | Writes a shareable JSON diagnostic bundle without stored auth tokens or headers. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@christiandoxa/prodex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.196.0",
|
|
4
4
|
"description": "Safe multi-account auto-rotate for Codex CLI with isolated CODEX_HOME profiles",
|
|
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.196.0",
|
|
20
|
+
"@christiandoxa/prodex-linux-arm64": "0.196.0",
|
|
21
|
+
"@christiandoxa/prodex-darwin-x64": "0.196.0",
|
|
22
|
+
"@christiandoxa/prodex-darwin-arm64": "0.196.0",
|
|
23
|
+
"@christiandoxa/prodex-win32-x64": "0.196.0",
|
|
24
|
+
"@christiandoxa/prodex-win32-arm64": "0.196.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",
|