@christiandoxa/prodex 0.21.0 → 0.23.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 +25 -3
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/christiandoxa/prodex/actions/workflows/ci.yml)
|
|
4
4
|
|
|
5
|
-
Run Codex, Claude Code, and
|
|
5
|
+
Run Codex, Claude Code, Caveman mode, and optional Claude-Mem-assisted sessions on top of one OpenAI profile pool.
|
|
6
6
|
|
|
7
7
|
`prodex` manages isolated `CODEX_HOME` profiles, checks quota before launch, rotates fresh work to another ready profile when needed, and keeps existing continuations attached to the profile that already owns them.
|
|
8
8
|
|
|
@@ -12,7 +12,9 @@ Run Codex, Claude Code, and their Caveman-mode variants on top of one OpenAI pro
|
|
|
12
12
|
- Built-in quota preflight and fresh-request rotation
|
|
13
13
|
- Continuation affinity for existing Codex sessions
|
|
14
14
|
- `prodex caveman` launches Codex with Caveman mode preloaded
|
|
15
|
+
- `prodex caveman mem` keeps Caveman mode while pointing Claude-Mem transcript watching at the active Prodex session path
|
|
15
16
|
- `prodex claude caveman` launches Claude Code with Caveman mode preloaded
|
|
17
|
+
- `prodex claude caveman mem` combines Caveman mode with an existing Claude-Mem Claude Code install
|
|
16
18
|
- `prodex claude` runs Claude Code through the same profile pool
|
|
17
19
|
|
|
18
20
|
## Requirements
|
|
@@ -20,9 +22,18 @@ Run Codex, Claude Code, and their Caveman-mode variants on top of one OpenAI pro
|
|
|
20
22
|
- At least one logged-in Prodex profile
|
|
21
23
|
- Codex CLI for `prodex` and `prodex caveman`
|
|
22
24
|
- Claude Code (`claude`) for `prodex claude` and `prodex claude caveman`
|
|
25
|
+
- Optional: `claude-mem` if you want to use `mem` prefixes such as `prodex caveman mem` or `prodex claude caveman mem`
|
|
23
26
|
|
|
24
27
|
Installing `@christiandoxa/prodex` from npm also installs the pinned Codex runtime dependency `@openai/codex@0.121.0` for you. Claude Code is still a separate CLI.
|
|
25
28
|
|
|
29
|
+
If you want the `mem` path, install Claude-Mem separately with the upstream installer:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npx claude-mem install --ide codex-cli
|
|
33
|
+
npx claude-mem install --ide claude-code
|
|
34
|
+
npx claude-mem start
|
|
35
|
+
```
|
|
36
|
+
|
|
26
37
|
## Install
|
|
27
38
|
|
|
28
39
|
### npm
|
|
@@ -40,8 +51,8 @@ cargo install prodex
|
|
|
40
51
|
Version-pinned install:
|
|
41
52
|
|
|
42
53
|
```bash
|
|
43
|
-
npm install -g @christiandoxa/prodex@0.
|
|
44
|
-
cargo install prodex --force --version 0.
|
|
54
|
+
npm install -g @christiandoxa/prodex@0.23.0
|
|
55
|
+
cargo install prodex --force --version 0.23.0
|
|
45
56
|
```
|
|
46
57
|
|
|
47
58
|
## Quick Start
|
|
@@ -72,9 +83,12 @@ Run through Prodex:
|
|
|
72
83
|
```bash
|
|
73
84
|
prodex
|
|
74
85
|
prodex caveman
|
|
86
|
+
prodex caveman mem
|
|
75
87
|
prodex exec "review this repo"
|
|
76
88
|
prodex claude -- -p "summarize this repo"
|
|
89
|
+
prodex claude mem -- -p "recall past work on this repo"
|
|
77
90
|
prodex claude caveman -- -p "summarize this repo briefly"
|
|
91
|
+
prodex claude caveman mem -- -p "summarize this repo briefly"
|
|
78
92
|
```
|
|
79
93
|
|
|
80
94
|
`prodex` without a subcommand is shorthand for `prodex run`.
|
|
@@ -109,6 +123,7 @@ printf 'context from stdin' | prodex run exec "summarize this"
|
|
|
109
123
|
|
|
110
124
|
```bash
|
|
111
125
|
prodex caveman
|
|
126
|
+
prodex caveman mem
|
|
112
127
|
prodex caveman --profile main
|
|
113
128
|
prodex caveman exec "review this repo in caveman mode"
|
|
114
129
|
prodex caveman 019c9e3d-45a0-7ad0-a6ee-b194ac2d44f9
|
|
@@ -116,12 +131,17 @@ prodex caveman 019c9e3d-45a0-7ad0-a6ee-b194ac2d44f9
|
|
|
116
131
|
|
|
117
132
|
`prodex caveman` uses the Caveman plugin from [JuliusBrussee/caveman](https://github.com/JuliusBrussee/caveman) and launches Codex from a temporary overlay `CODEX_HOME`, so the base profile home stays unchanged after the session ends.
|
|
118
133
|
|
|
134
|
+
Prefix Codex args with `mem` when you want an existing Claude-Mem Codex install to follow the selected Prodex session path instead of only watching the default `~/.codex/sessions` tree.
|
|
135
|
+
|
|
119
136
|
### Claude Code
|
|
120
137
|
|
|
121
138
|
```bash
|
|
122
139
|
prodex claude -- -p "summarize this repo"
|
|
140
|
+
prodex claude mem -- -p "recall past work on this repo"
|
|
123
141
|
prodex claude caveman
|
|
142
|
+
prodex claude caveman mem
|
|
124
143
|
prodex claude caveman -- -p "summarize this repo briefly"
|
|
144
|
+
prodex claude caveman mem -- -p "summarize this repo briefly"
|
|
125
145
|
prodex claude --profile second caveman -- -p "review the latest diff briefly"
|
|
126
146
|
prodex claude --profile second -- -p --output-format json "show the latest diff"
|
|
127
147
|
```
|
|
@@ -130,6 +150,8 @@ Use `prodex claude` for the normal Claude Code path, and use `prodex claude cave
|
|
|
130
150
|
|
|
131
151
|
Prefixing Claude args with `caveman` loads the Caveman plugin for that Claude session only while keeping Claude state under Prodex-managed `CLAUDE_CONFIG_DIR`, so the global `~/.claude` state is not the source of truth for the Prodex session.
|
|
132
152
|
|
|
153
|
+
Prefixing Claude args with `mem` loads an existing upstream Claude-Mem Claude Code plugin install through Claude's repeatable `--plugin-dir` support. `prodex claude caveman mem` combines both prefixes in one session.
|
|
154
|
+
|
|
133
155
|
### Export, Quota, and Debugging
|
|
134
156
|
|
|
135
157
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@christiandoxa/prodex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.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": "0.121.0"
|
|
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.23.0",
|
|
20
|
+
"@christiandoxa/prodex-linux-arm64": "0.23.0",
|
|
21
|
+
"@christiandoxa/prodex-darwin-x64": "0.23.0",
|
|
22
|
+
"@christiandoxa/prodex-darwin-arm64": "0.23.0",
|
|
23
|
+
"@christiandoxa/prodex-win32-x64": "0.23.0",
|
|
24
|
+
"@christiandoxa/prodex-win32-arm64": "0.23.0"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
27
27
|
"node": ">=18"
|