Skip to content

Commit 0b7eb46

Browse files
lidge-junclaude
andcommitted
chore: rename npm package opencodex → opencx
opencodex can't be published (npm rejects it as too similar to the existing open-codex) and ocx is already taken, so publish as opencx. Renames only the npm-package identity: package.json name, all -g install commands (README x3, docs x3 langs), the ocx update self-update target (src/update.ts PKG), the release.yml npm-view smoke, and bun.lock root name. Product brand (opencodex GUI/prose, ~/.opencodex config dir, lidge-jun/opencodex repo) and the ocx/opencodex bin commands are unchanged. Also fixes a stale NPM_TOKEN note in scripts/release.ts (we publish via Trusted Publishing/OIDC now). Verified: tsc clean, npm pack --dry-run -> opencx-0.1.0.tgz (55 files). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent e46fde0 commit 0b7eb46

16 files changed

Lines changed: 23 additions & 23 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ jobs:
9090
if: ${{ inputs.dry-run != true }}
9191
run: |
9292
sleep 10
93-
npm view "opencodex@${{ inputs.version }}" version dist-tags
93+
npm view "opencx@${{ inputs.version }}" version dist-tags

README.ko.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Codex CLI / App / SDK ──/v1/responses──▶ opencodex ──▶ Any provi
3434

3535
```bash
3636
# Install
37-
bun install -g opencodex # or: npm install -g opencodex
37+
bun install -g opencx # or: npm install -g opencx
3838

3939
# Interactive setup (writes config + injects into Codex)
4040
ocx init
@@ -59,7 +59,7 @@ curl -fsSL https://bun.sh/install | bash
5959
powershell -c "irm bun.sh/install.ps1 | iex"
6060
```
6161

62-
설치 후 `bun install -g opencodex`를 다시 실행하세요. (`ocx` 바이너리는 bun 기반이라 bun이 `PATH`에 있어야 합니다.)
62+
설치 후 `bun install -g opencx`를 다시 실행하세요. (`ocx` 바이너리는 bun 기반이라 bun이 `PATH`에 있어야 합니다.)
6363

6464
</details>
6565

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Codex CLI / App / SDK ──/v1/responses──▶ opencodex ──▶ Any provi
3434

3535
```bash
3636
# Install
37-
bun install -g opencodex # or: npm install -g opencodex
37+
bun install -g opencx # or: npm install -g opencx
3838

3939
# Interactive setup (writes config + injects into Codex)
4040
ocx init
@@ -59,7 +59,7 @@ curl -fsSL https://bun.sh/install | bash
5959
powershell -c "irm bun.sh/install.ps1 | iex"
6060
```
6161

62-
Then re-run `bun install -g opencodex`. (The `ocx` binary is bun-native, so bun must be on your `PATH`.)
62+
Then re-run `bun install -g opencx`. (The `ocx` binary is bun-native, so bun must be on your `PATH`.)
6363

6464
</details>
6565

README.zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Codex CLI / App / SDK ──/v1/responses──▶ opencodex ──▶ Any provi
3434

3535
```bash
3636
# Install
37-
bun install -g opencodex # or: npm install -g opencodex
37+
bun install -g opencx # or: npm install -g opencx
3838

3939
# Interactive setup (writes config + injects into Codex)
4040
ocx init
@@ -59,7 +59,7 @@ curl -fsSL https://bun.sh/install | bash
5959
powershell -c "irm bun.sh/install.ps1 | iex"
6060
```
6161

62-
然后重新运行 `bun install -g opencodex`。(`ocx` 可执行文件是 bun 原生的,因此 bun 必须在你的 `PATH` 中。)
62+
然后重新运行 `bun install -g opencx`。(`ocx` 可执行文件是 bun 原生的,因此 bun 必须在你的 `PATH` 中。)
6363

6464
</details>
6565

bun.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs-site/src/content/docs/getting-started/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ sends your traffic anywhere except the provider you configure.
1818

1919
```bash
2020
# With Bun (recommended)
21-
bun install -g opencodex
21+
bun install -g opencx
2222

2323
# With npm
24-
npm install -g opencodex
24+
npm install -g opencx
2525
```
2626

2727
Verify the binary is on your `PATH`:

docs-site/src/content/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Codex CLI / App / SDK ──/v1/responses──▶ opencodex ──▶ Any provi
5757

5858
```bash
5959
# Install
60-
bun install -g opencodex # or: npm install -g opencodex
60+
bun install -g opencx # or: npm install -g opencx
6161

6262
# Interactive setup (writes config + injects into Codex)
6363
ocx init

docs-site/src/content/docs/ko/getting-started/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ opencodex는 단일 CLI인 `ocx`로 제공됩니다. 작은 로컬 HTTP 서버(B
1818

1919
```bash
2020
# With Bun (recommended)
21-
bun install -g opencodex
21+
bun install -g opencx
2222

2323
# With npm
24-
npm install -g opencodex
24+
npm install -g opencx
2525
```
2626

2727
바이너리가 `PATH`에 있는지 확인합니다:

docs-site/src/content/docs/ko/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Codex CLI / App / SDK ──/v1/responses──▶ opencodex ──▶ Any provi
5555

5656
```bash
5757
# Install
58-
bun install -g opencodex # or: npm install -g opencodex
58+
bun install -g opencx # or: npm install -g opencx
5959

6060
# Interactive setup (writes config + injects into Codex)
6161
ocx init

docs-site/src/content/docs/reference/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ ocx service uninstall
9393
### `ocx update`
9494

9595
Self-update opencodex to the latest version published on npm, using the package manager it was
96-
installed with (`bun add -g opencodex@latest` or `npm install -g opencodex@latest`). It detects a
96+
installed with (`bun add -g opencx@latest` or `npm install -g opencx@latest`). It detects a
9797
source checkout and tells you to `git pull && bun install` instead, and is a no-op if you're already
9898
on the newest version. Restart the proxy afterward (`ocx stop && ocx start`) to run the new build.
9999

0 commit comments

Comments
 (0)