@christiandoxa/prodex 0.153.0 → 0.155.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 +29 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -363,11 +363,24 @@ Verify with Prodex:
|
|
|
363
363
|
```bash
|
|
364
364
|
prodex presidio doctor
|
|
365
365
|
prodex presidio redact --text "My name is John Smith and my phone is 212-555-1234."
|
|
366
|
+
prodex presidio redact --language-mode auto --languages en,id --text "Nama saya Budi dan nomor telepon saya adalah 0812-3456-7890."
|
|
367
|
+
prodex presidio redact --language id --text "Nomor telepon saya adalah 0812-3456-7890."
|
|
366
368
|
prodex presidio enable
|
|
369
|
+
prodex presidio redact --language-mode auto --languages en,id --text "Nama saya Budi dan nomor telepon saya adalah 0812-3456-7890."
|
|
370
|
+
prodex presidio enable --language-mode auto --languages en,id
|
|
371
|
+
prodex presidio status
|
|
372
|
+
prodex presidio doctor --json
|
|
373
|
+
prodex presidio redact --language-mode auto --languages en,id --text "Nama saya Budi dan nomor telepon saya adalah 0812-3456-7890."
|
|
374
|
+
prodex presidio enable --language-mode auto --languages en,id
|
|
375
|
+
prodex presidio redact --language-mode auto --languages en,id --text "Nama saya Budi dan nomor telepon saya adalah 0812-3456-7890."
|
|
376
|
+
prodex presidio enable --language-mode auto --languages en,id
|
|
377
|
+
prodex presidio status
|
|
378
|
+
prodex presidio doctor --json
|
|
379
|
+
prodex presidio status
|
|
380
|
+
prodex presidio doctor --json
|
|
367
381
|
```
|
|
368
382
|
|
|
369
383
|
When you answer `y` to the `prodex super` / `prodex s` Presidio prompt or pass `--presidio`, Super starts a dedicated runtime proxy that redacts UTF-8 HTTP request bodies and WebSocket text frames through the local Presidio Analyzer and Anonymizer before forwarding them upstream. This is equivalent to adding the `presidio` prefix to the Super stack. Use `--no-presidio` to skip the prompt and keep redaction disabled. 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"`.
|
|
370
|
-
|
|
371
384
|
</details>
|
|
372
385
|
|
|
373
386
|
## Quick start
|
|
@@ -743,6 +756,21 @@ Without `--api-key`, Prodex uses the Google OAuth profile created by `prodex log
|
|
|
743
756
|
|
|
744
757
|
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.
|
|
745
758
|
|
|
759
|
+
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"`.
|
|
760
|
+
|
|
761
|
+
Example `presidio.toml` with multi-language support (English and Indonesian):
|
|
762
|
+
|
|
763
|
+
```toml
|
|
764
|
+
enabled = true
|
|
765
|
+
analyzer_url = "http://localhost:5002"
|
|
766
|
+
anonymizer_url = "http://localhost:5001"
|
|
767
|
+
language_mode = "auto"
|
|
768
|
+
languages = ["en", "id"]
|
|
769
|
+
fail_mode = "open"
|
|
770
|
+
```
|
|
771
|
+
|
|
772
|
+
Note that the default Microsoft Presidio Docker images typically only support English (`en`). To support other languages like Indonesian (`id`), you must use a custom Presidio Analyzer image with the necessary language models and recognizers installed. Prodex routing and configuration support the languages, but the actual detection quality depends on your Analyzer.
|
|
773
|
+
|
|
746
774
|
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.
|
|
747
775
|
|
|
748
776
|
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, exposes `sqz` and `claw-compactor` wrappers when discoverable, routes compatible token-savior 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.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@christiandoxa/prodex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.155.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.155.0",
|
|
20
|
+
"@christiandoxa/prodex-linux-arm64": "0.155.0",
|
|
21
|
+
"@christiandoxa/prodex-darwin-x64": "0.155.0",
|
|
22
|
+
"@christiandoxa/prodex-darwin-arm64": "0.155.0",
|
|
23
|
+
"@christiandoxa/prodex-win32-x64": "0.155.0",
|
|
24
|
+
"@christiandoxa/prodex-win32-arm64": "0.155.0"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
27
27
|
"node": ">=18"
|