offrouter-adapter-codex 0.3.0 → 0.4.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 +23 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,23 @@
1
+ # offrouter-adapter-codex
2
+
3
+ Codex CLI adapter for OffRouter. Installs profile-scoped configuration into Codex CLI's config system.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install offrouter-adapter-codex
9
+ ```
10
+
11
+ Then register with the CLI:
12
+
13
+ ```bash
14
+ offrouter install codex --profile codex-personal
15
+ ```
16
+
17
+ This integrates OffRouter into Codex CLI's config profile, enabling policy-based model routing through Codex's extension/plugin system.
18
+
19
+ ## Links
20
+
21
+ - [offrouter.com](https://offrouter.com)
22
+ - [GitHub](https://github.com/pooriaarab/offrouter)
23
+ - [Docs](https://offrouter.com/docs/quickstart.html)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "offrouter-adapter-codex",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -9,7 +9,7 @@
9
9
  "test": "vitest run --root ../.. packages/adapter-codex/src"
10
10
  },
11
11
  "dependencies": {
12
- "offrouter-core": "0.3.0",
12
+ "offrouter-core": "0.4.0",
13
13
  "smol-toml": "^1.7.0",
14
14
  "zod": "^3.23.0"
15
15
  },