@christiandoxa/prodex 0.105.0 → 0.107.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 +13 -41
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ If you install from source, make sure the `codex` binary in your `PATH` is alrea
|
|
|
68
68
|
|
|
69
69
|
## Optional tools
|
|
70
70
|
|
|
71
|
-
`prodex` can run without Claude-Mem, RTK, SQZ, token-savior, claw-compactor,
|
|
71
|
+
`prodex` can run without Claude-Mem, RTK, SQZ, token-savior, claw-compactor, or Presidio.
|
|
72
72
|
|
|
73
73
|
Install them only if you want to use commands such as:
|
|
74
74
|
|
|
@@ -82,7 +82,6 @@ prodex rtk
|
|
|
82
82
|
prodex sqz
|
|
83
83
|
prodex tokensavior
|
|
84
84
|
prodex clawcompactor
|
|
85
|
-
prodex llmmin
|
|
86
85
|
prodex presidio doctor
|
|
87
86
|
prodex presidio redact --text "My phone is 212-555-1234"
|
|
88
87
|
prodex s
|
|
@@ -245,12 +244,14 @@ token-savior is used by `prodex tokensavior` and by Super mode when the `token-s
|
|
|
245
244
|
Recommended isolated install:
|
|
246
245
|
|
|
247
246
|
```bash
|
|
248
|
-
git clone https://github.com/Mibayy/token-savior ~/.local/share/token-savior
|
|
249
|
-
python3 -m venv ~/.local/token-savior
|
|
250
|
-
~/.local/token-savior
|
|
251
|
-
ln -sf ~/.local/token-savior
|
|
247
|
+
git clone https://github.com/Mibayy/token-savior ~/.local/share/prodex-optimizers/token-savior
|
|
248
|
+
python3.12 -m venv ~/.local/share/prodex-optimizers/token-savior/.venv
|
|
249
|
+
~/.local/share/prodex-optimizers/token-savior/.venv/bin/pip install -e "$HOME/.local/share/prodex-optimizers/token-savior[mcp]"
|
|
250
|
+
ln -sf ~/.local/share/prodex-optimizers/token-savior/.venv/bin/token-savior ~/.local/bin/token-savior
|
|
252
251
|
```
|
|
253
252
|
|
|
253
|
+
Use a stable Python interpreter supported by token-savior dependencies, such as Python 3.11, 3.12, or 3.13. Avoid pointing this MCP server at experimental Python releases unless its native dependencies already support them.
|
|
254
|
+
|
|
254
255
|
Make sure `~/.local/bin` is on `PATH`:
|
|
255
256
|
|
|
256
257
|
```bash
|
|
@@ -308,34 +309,6 @@ python3 ~/.local/share/claw-compactor/scripts/mem_compress.py /path/to/workspace
|
|
|
308
309
|
|
|
309
310
|
</details>
|
|
310
311
|
|
|
311
|
-
<details>
|
|
312
|
-
<summary>Install or generate llm-min docs</summary>
|
|
313
|
-
|
|
314
|
-
`prodex llmmin` and Super mode look for checked-in `llm-min.txt`-style documentation. Prodex does not require the `llm-min` generator at runtime.
|
|
315
|
-
|
|
316
|
-
Install the upstream generator only when you want to create or refresh those docs:
|
|
317
|
-
|
|
318
|
-
```bash
|
|
319
|
-
python3 -m pip install llm-min
|
|
320
|
-
playwright install
|
|
321
|
-
```
|
|
322
|
-
|
|
323
|
-
`llm-min` uses Gemini for document compression, so set a Gemini API key before generating docs:
|
|
324
|
-
|
|
325
|
-
```bash
|
|
326
|
-
export GEMINI_API_KEY=your_api_key_here
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
Generate from local docs:
|
|
330
|
-
|
|
331
|
-
```bash
|
|
332
|
-
llm-min -i ./docs -o ./llm_min_docs -n project
|
|
333
|
-
```
|
|
334
|
-
|
|
335
|
-
Then check in or reference the generated `llm-min.txt`/`llm-full.txt` artifacts as appropriate for your repo. If you do not want remote model calls, skip the generator and provide hand-written or checked-in `llm-min.txt` files.
|
|
336
|
-
|
|
337
|
-
</details>
|
|
338
|
-
|
|
339
312
|
<details>
|
|
340
313
|
<summary>Install Presidio</summary>
|
|
341
314
|
|
|
@@ -459,7 +432,7 @@ It combines:
|
|
|
459
432
|
- RTK shell-command guidance
|
|
460
433
|
- full-access launch mode
|
|
461
434
|
- Smart Context Autopilot in the runtime proxy
|
|
462
|
-
- deterministic/local accommodation for `sqz`, `token-savior`, `claw-compactor
|
|
435
|
+
- deterministic/local accommodation for `sqz`, `token-savior`, and `claw-compactor` low-token workflows
|
|
463
436
|
|
|
464
437
|
```bash
|
|
465
438
|
prodex s
|
|
@@ -469,7 +442,7 @@ prodex s exec "review this repo"
|
|
|
469
442
|
`prodex super` expands to:
|
|
470
443
|
|
|
471
444
|
```bash
|
|
472
|
-
prodex caveman mem rtk sqz tokensavior clawcompactor
|
|
445
|
+
prodex caveman mem rtk sqz tokensavior clawcompactor --full-access
|
|
473
446
|
```
|
|
474
447
|
|
|
475
448
|
Before an interactive Super session starts, Prodex asks whether to enable Presidio:
|
|
@@ -481,12 +454,12 @@ Use Presidio for data safety? [y/N]
|
|
|
481
454
|
The default is `n`. Answering `y` is equivalent to adding the `presidio` prefix:
|
|
482
455
|
|
|
483
456
|
```bash
|
|
484
|
-
prodex caveman mem rtk sqz tokensavior clawcompactor
|
|
457
|
+
prodex caveman mem rtk sqz tokensavior clawcompactor presidio --full-access
|
|
485
458
|
```
|
|
486
459
|
|
|
487
460
|
Full access maps to Codex's sandbox-bypass launch flag. Use it only when you intentionally want Codex to run without the normal approval and sandbox protections.
|
|
488
461
|
|
|
489
|
-
Super's built-in optimization stack is deliberately local and deterministic. It preloads the existing Caveman, Claude-Mem, and RTK pieces, auto-registers `sqz-mcp` and `token-savior` MCP servers when those binaries are already on `PATH` or in a managed `prodex-optimizers` checkout, then uses Smart Context Autopilot plus low-token workflow accommodations for targets such as `claw-compactor
|
|
462
|
+
Super's built-in optimization stack is deliberately local and deterministic. It preloads the existing Caveman, Claude-Mem, and RTK pieces, auto-registers `sqz-mcp` and `token-savior` MCP servers when those binaries are already on `PATH` or in a managed `prodex-optimizers` checkout, then uses Smart Context Autopilot plus low-token workflow accommodations for targets such as `claw-compactor`.
|
|
490
463
|
|
|
491
464
|
RTK and SQZ split the token work across different sides of the flow:
|
|
492
465
|
|
|
@@ -630,7 +603,6 @@ prodex rtk
|
|
|
630
603
|
prodex sqz
|
|
631
604
|
prodex tokensavior
|
|
632
605
|
prodex clawcompactor
|
|
633
|
-
prodex llmmin
|
|
634
606
|
prodex caveman --dry-run
|
|
635
607
|
prodex caveman --profile main
|
|
636
608
|
prodex caveman exec "review this repo in caveman mode"
|
|
@@ -641,7 +613,7 @@ prodex caveman 019c9e3d-45a0-7ad0-a6ee-b194ac2d44f9
|
|
|
641
613
|
|
|
642
614
|
If you use the `mem` variant, Prodex points an existing Claude-Mem Codex setup to the active Prodex session path instead of the default `~/.codex/sessions`.
|
|
643
615
|
|
|
644
|
-
Add optimizer prefixes before Codex args when you want Prodex to inject a specific launch overlay for that session: `mem`, `rtk`, `sqz`, `tokensavior`,
|
|
616
|
+
Add optimizer prefixes before Codex args when you want Prodex to inject a specific launch overlay for that session: `mem`, `rtk`, `sqz`, `tokensavior`, or `clawcompactor`. Top-level shortcuts such as `prodex rtk` and `prodex sqz` map to `prodex caveman <prefix>`.
|
|
645
617
|
|
|
646
618
|
RTK is still an external binary. Install it separately if `rtk gain` is unavailable.
|
|
647
619
|
|
|
@@ -681,7 +653,7 @@ Super also enables Smart Context Autopilot in the runtime proxy.
|
|
|
681
653
|
|
|
682
654
|
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.
|
|
683
655
|
|
|
684
|
-
The Super optimization stack is meant to stay deterministic and local by default. It auto-registers `sqz-mcp` and `token-savior` MCP servers when those binaries are already on `PATH` or in a managed `prodex-optimizers` checkout, and accommodates `claw-compactor`
|
|
656
|
+
The Super optimization stack is meant to stay deterministic and local by default. It auto-registers `sqz-mcp` and `token-savior` MCP servers when those binaries are already on `PATH` or in a managed `prodex-optimizers` checkout, and accommodates `claw-compactor` workflows with local compaction, stable references, and lower-token context shaping rather than hidden remote summarization.
|
|
685
657
|
|
|
686
658
|
RTK handles upstream/input command output before it enters the context window. SQZ handles downstream/context reuse after content is already in the session, using `prodex-sqz` when the MCP server is available.
|
|
687
659
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@christiandoxa/prodex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.107.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.107.0",
|
|
20
|
+
"@christiandoxa/prodex-linux-arm64": "0.107.0",
|
|
21
|
+
"@christiandoxa/prodex-darwin-x64": "0.107.0",
|
|
22
|
+
"@christiandoxa/prodex-darwin-arm64": "0.107.0",
|
|
23
|
+
"@christiandoxa/prodex-win32-x64": "0.107.0",
|
|
24
|
+
"@christiandoxa/prodex-win32-arm64": "0.107.0"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
27
27
|
"node": ">=18"
|