@christiandoxa/prodex 0.285.0 → 0.287.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 +28 -0
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -17,6 +17,7 @@ Use multiple Codex accounts and supported provider backends from one command lin
17
17
  - [Daily command: `prodex s`](#daily-command-prodex-s)
18
18
  - [Commands](#commands)
19
19
  - [Modes](#modes)
20
+ - [Harness modes](#harness-modes)
20
21
  - [Profiles](#profiles)
21
22
  - [Local model support](#local-model-support)
22
23
  - [Utilities and diagnostics](#utilities-and-diagnostics)
@@ -734,6 +735,32 @@ prodex claude --profile second -- -p --output-format json "show the latest diff"
734
735
 
735
736
  </details>
736
737
 
738
+ ## Harness modes
739
+
740
+ A harness mode is model-facing request policy for a local provider bridge; it is separate from the
741
+ upstream provider and from the account profile used for credentials, quota rotation, and
742
+ continuation affinity. Harness selection never creates a second agent runtime: Codex still owns its
743
+ agent loop, tools, sandbox, approvals, skills, hooks, reconnect behavior, and TUI.
744
+
745
+ Version 1 supports `auto`, `native`, and `minimal`. The default `auto` resolves conservatively to
746
+ `native`, and Native preserves existing request bytes, headers, responses, and stream behavior.
747
+ Minimal is opt-in and only prepends a versioned Prodex instruction to ordinary canonical
748
+ `/v1/responses` inference requests. It preserves model, input, tools and schemas, tool choice,
749
+ reasoning, metadata, streaming controls, continuation IDs, and unknown fields. It does not apply to
750
+ compact, non-inference, admin, websocket, response, or stream-event paths.
751
+
752
+ ```bash
753
+ prodex s --provider anthropic --harness native
754
+ prodex s deepseek --harness minimal
755
+ prodex super --url http://127.0.0.1:8131 --harness minimal
756
+ prodex gateway --provider gemini --harness native
757
+ ```
758
+
759
+ The harness is fixed for the bridge or gateway lifetime. It does not change account affinity,
760
+ pre-commit rotation, retries, approvals, tools, or streaming semantics. See
761
+ [docs/harness-modes.md](./docs/harness-modes.md) for exact scope, diagnostics, non-goals, and the
762
+ unimplemented phase-2 design note.
763
+
737
764
  ## Profiles
738
765
 
739
766
  <details>
@@ -955,6 +982,7 @@ Contributor testing guidance lives in [docs/testing.md](./docs/testing.md), incl
955
982
  - [docs/state-model.md](./docs/state-model.md) — state ownership and persistence model
956
983
  - [docs/runtime-policy.md](./docs/runtime-policy.md) — runtime policy keys, environment overrides, and runtime log path resolution
957
984
  - [docs/deployment.md](./docs/deployment.md) — Docker Compose scaffold for the standalone gateway
985
+ - [docs/harness-modes.md](./docs/harness-modes.md) — Harness Mode semantics, scope, diagnostics, and future design note
958
986
  - [docs/testing.md](./docs/testing.md) — contributor testing guidance
959
987
 
960
988
  ## Support
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@christiandoxa/prodex",
3
- "version": "0.285.0",
3
+ "version": "0.287.0",
4
4
  "description": "Multi-provider Codex wrapper with OpenAI quota-aware routing and Claude Code support",
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.285.0",
20
- "@christiandoxa/prodex-linux-arm64": "0.285.0",
21
- "@christiandoxa/prodex-darwin-x64": "0.285.0",
22
- "@christiandoxa/prodex-darwin-arm64": "0.285.0",
23
- "@christiandoxa/prodex-win32-x64": "0.285.0",
24
- "@christiandoxa/prodex-win32-arm64": "0.285.0",
19
+ "@christiandoxa/prodex-linux-x64": "0.287.0",
20
+ "@christiandoxa/prodex-linux-arm64": "0.287.0",
21
+ "@christiandoxa/prodex-darwin-x64": "0.287.0",
22
+ "@christiandoxa/prodex-darwin-arm64": "0.287.0",
23
+ "@christiandoxa/prodex-win32-x64": "0.287.0",
24
+ "@christiandoxa/prodex-win32-arm64": "0.287.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",