@christiandoxa/prodex 0.66.0 → 0.68.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.
Files changed (2) hide show
  1. package/README.md +22 -4
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  The main feature is auto rotate. If one OpenAI/Codex profile runs out of quota, `prodex` can route new work to another profile that is still available. You do not need to switch accounts manually.
6
6
 
7
+ For contributors, this repository is a Cargo workspace: the binary crate stays at the root, while reusable leaf crates live under `crates/` to reduce rebuild scope when those components change.
8
+
7
9
  ## Why use it
8
10
 
9
11
  Use `prodex` if you want to:
@@ -33,13 +35,13 @@ Depending on your setup, you may also need:
33
35
  npm install -g @christiandoxa/prodex
34
36
  ````
35
37
 
36
- ### Cargo
38
+ ### Source checkout
37
39
 
38
40
  ```bash
39
- cargo install prodex
41
+ cargo install --path .
40
42
  ```
41
43
 
42
- If you install with Cargo, make sure the `codex` binary in your `PATH` is already installed and up to date.
44
+ If you install from source, make sure the `codex` binary in your `PATH` is already installed and up to date.
43
45
 
44
46
  ## Quick start
45
47
 
@@ -69,6 +71,8 @@ Check your profiles and quota:
69
71
  ```bash
70
72
  prodex profile list
71
73
  prodex quota --all
74
+ prodex quota --all --auth no-auth --once
75
+ prodex session list
72
76
  ```
73
77
 
74
78
  Run through `prodex`:
@@ -132,12 +136,13 @@ prodex super 019c9e3d-45a0-7ad0-a6ee-b194ac2d44f9
132
136
  `prodex super` is a shortcut for `prodex caveman mem --full-access`.
133
137
 
134
138
  Use this when you want Caveman mode, Claude-Mem transcript watching, and launch-time full access together. Full access maps to Codex's sandbox-bypass launch flag, so use it only when you intentionally want Codex to run without the normal approval and sandbox protections.
139
+ Super uses Prodex's slim Claude-Mem Codex schema by default to avoid storing full assistant/tool output in recall context. Add `--mem-full` when you need the full transcript schema.
135
140
 
136
141
  Use `prodex super --url http://127.0.0.1:8131` when you want the same Super mode front end to talk directly to a local OpenAI-compatible server such as `llama-server`. Prodex injects a temporary `prodex-local` Codex provider, appends `/v1` when the URL has no path, disables non-function native tools that local servers commonly reject, advertises a conservative 16k local context window, and skips quota/proxy routing for that launch. The default local model id is `unsloth/qwen3.5-35b-a3b`; override it with `--model`, for example `prodex super --url http://127.0.0.1:8131 --model local/qwen`. Use `--context-window` and `--auto-compact-token-limit` if your local server is configured larger. See [LOCAL.md](./LOCAL.md) for self-hosted model setup and testing.
137
142
 
138
143
  Add `--dry-run` to run, Caveman, or Super launches to print the resolved provider, model, `CODEX_HOME`, proxy args, and launch env with secret-looking values redacted. Dry-run output is prelaunch only and does not start Codex or the TUI.
139
144
 
140
- Prodex respects system and environment proxy settings for upstream OpenAI quota/auth/runtime HTTP by default, including `HTTP_PROXY`, `HTTPS_PROXY`, and platform proxy configuration supported by reqwest. The local Codex-to-Prodex broker connection always receives `NO_PROXY` entries for `127.0.0.1`, `localhost`, and `::1` so a user proxy does not intercept the local runtime proxy. Use `--no-proxy` on `prodex run`, `prodex caveman`, `prodex super`, or `prodex claude` only when you explicitly want Prodex upstream requests to bypass proxy settings.
145
+ Prodex respects system and environment proxy settings for upstream OpenAI quota/auth/runtime HTTP by default, including `HTTP_PROXY`, `HTTPS_PROXY`, and platform proxy configuration supported by reqwest. Runtime WebSocket upstream connections also honor `HTTPS_PROXY`/`https_proxy` via HTTP CONNECT and respect `NO_PROXY`/`no_proxy`. The local Codex-to-Prodex broker connection always receives `NO_PROXY` entries for `127.0.0.1`, `localhost`, and `::1` so a user proxy does not intercept the local runtime proxy. Use `--no-proxy` on `prodex run`, `prodex caveman`, `prodex super`, or `prodex claude` only when you explicitly want Prodex upstream requests to bypass proxy settings.
141
146
 
142
147
  ### Run Claude Code
143
148
 
@@ -190,13 +195,26 @@ When you import a Copilot profile, Prodex does not move the Copilot token into P
190
195
  prodex profile export
191
196
  prodex quota --all
192
197
  prodex quota --all --once
198
+ prodex quota --all --auth no-auth --once
199
+ prodex session list
200
+ prodex session current
193
201
  prodex info
194
202
  prodex doctor --runtime
203
+ prodex context audit
204
+ prodex context compress ~/.codex/AGENTS.md --dry-run
195
205
  ```
196
206
 
197
207
  `prodex info` includes the effective runtime tuning values after environment, policy, and default resolution.
208
+ `prodex session list` shows shared Codex session metadata, and `prodex session current` filters that list to sessions started from the current directory.
209
+ `prodex context audit` reports approximate token weight for shared instruction and memory files. `prodex context compress` is deterministic, only touches Markdown/text files, skips `.original.md` backups, and writes an `.original.md` backup before replacing a file.
198
210
  For full policy keys, env overrides, and runtime log path resolution, see [docs/runtime-policy.md](./docs/runtime-policy.md).
199
211
 
212
+ ## Support
213
+
214
+ If you find `prodex` useful and want to support its development, you can donate here:
215
+
216
+ [<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" alt="Donate with PayPal" />](https://paypal.me/christiandoxa)
217
+
200
218
  ## More
201
219
 
202
220
  See [QUICKSTART.md](./QUICKSTART.md) for a longer walkthrough, [LOCAL.md](./LOCAL.md) for self-hosted local model setup, and [docs/runtime-policy.md](./docs/runtime-policy.md) for runtime policy keys.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@christiandoxa/prodex",
3
- "version": "0.66.0",
3
+ "version": "0.68.0",
4
4
  "description": "Safe multi-account auto-rotate for Codex CLI with isolated CODEX_HOME profiles",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -16,12 +16,12 @@
16
16
  "@openai/codex": "latest"
17
17
  },
18
18
  "optionalDependencies": {
19
- "@christiandoxa/prodex-linux-x64": "0.66.0",
20
- "@christiandoxa/prodex-linux-arm64": "0.66.0",
21
- "@christiandoxa/prodex-darwin-x64": "0.66.0",
22
- "@christiandoxa/prodex-darwin-arm64": "0.66.0",
23
- "@christiandoxa/prodex-win32-x64": "0.66.0",
24
- "@christiandoxa/prodex-win32-arm64": "0.66.0"
19
+ "@christiandoxa/prodex-linux-x64": "0.68.0",
20
+ "@christiandoxa/prodex-linux-arm64": "0.68.0",
21
+ "@christiandoxa/prodex-darwin-x64": "0.68.0",
22
+ "@christiandoxa/prodex-darwin-arm64": "0.68.0",
23
+ "@christiandoxa/prodex-win32-x64": "0.68.0",
24
+ "@christiandoxa/prodex-win32-arm64": "0.68.0"
25
25
  },
26
26
  "engines": {
27
27
  "node": ">=18"