@anyrouterdev/codex 0.2.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 +15 -0
- package/bin.mjs +7 -0
- package/package.json +38 -0
package/README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# @anyrouterdev/codex
|
|
2
|
+
|
|
3
|
+
Launch [Codex](https://developers.openai.com/codex/cli) through [AnyRouter](https://anyrouter.dev) — one key fronts every provider.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx @anyrouterdev/codex
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
First run sets you up: paste an AnyRouter API key, or log in at anyrouter.dev (a key is generated for you). The same stored key also powers [`@anyrouterdev/cc`](https://www.npmjs.com/package/@anyrouterdev/cc) for Claude Code.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx @anyrouterdev/codex --model auto --effort xhigh -- <codex args>
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Full docs: https://anyrouter.dev/docs/guides/cli
|
package/bin.mjs
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@anyrouterdev/codex",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Launch Codex through AnyRouter — one key, every provider. `npx @anyrouterdev/codex`",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"anyrouter-codex": "bin.mjs"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"bin.mjs",
|
|
11
|
+
"README.md"
|
|
12
|
+
],
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=18"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"anyrouter",
|
|
18
|
+
"codex",
|
|
19
|
+
"openai",
|
|
20
|
+
"llm",
|
|
21
|
+
"gateway",
|
|
22
|
+
"cli"
|
|
23
|
+
],
|
|
24
|
+
"homepage": "https://anyrouter.dev",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/duyet/anyrouter.git",
|
|
28
|
+
"directory": "cli/launchers/codex"
|
|
29
|
+
},
|
|
30
|
+
"author": "Duyet Le",
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@anyrouterdev/cli": "^0.2.0"
|
|
34
|
+
},
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public"
|
|
37
|
+
}
|
|
38
|
+
}
|