GeezerVison is showing github.com — Add update-pre for checksum-verified GitHub prerelease binaries · ar4ft/opencodex@41db97b
File treeExpand file treeCollapse file tree Open diff view settings docs-site/src/content/docs
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: README.md +5Lines changed: 5 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -116,6 +116,11 @@ when running a downloaded installer. Repeating the installer updates atomically | 116 | 116 | The default selects the newest published release, including prereleases. npm installs below | 117 | 117 | continue using npm for updates. | 118 | 118 |
| | 119 | +Run `ocx update-pre` (or `oxc update-pre`) to install the newest published GitHub prerelease | | 120 | +binary on Linux/macOS. It skips stable releases and verifies SHA-256 before replacement. | | 121 | +Existing standalone installations update in place; npm/source users bootstrap the standalone | | 122 | +commands under `~/.oxc` and can activate them with `. "$HOME/.oxc/env"`. | | 123 | + | 119 | 124 | ```bash | 120 | 125 | npm install -g @bitkyc08/opencodex | 121 | 126 | ocx start # or `ocx service` | |
Collapse file Copy file name to clipboardExpand all lines: docs-site/src/content/docs/fr/getting-started/installation.md +2-1Lines changed: 2 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -17,10 +17,11 @@ curl -fsSL https://raw.githubusercontent.com/ar4ft/opencodex/refs/heads/main/scr | 17 | 17 | . "$HOME/.oxc/env" | 18 | 18 | oxc --version | 19 | 19 | oxc update | | 20 | +oxc update-pre # GitHub prerelease | 20 | 21 | oxc restart | 21 | 22 | ``` | 22 | 23 |
| 23 | | -[Options: --version, --stable, --prefix, --no-modify-path](/getting-started/installation/#standalone-install-this-fork) | | 24 | +[Options: --version, --stable, --prerelease, --prefix, --no-modify-path](/getting-started/installation/#standalone-install-this-fork) | 24 | 25 |
| 25 | 26 | ## Prérequis npm | 26 | 27 |
| |
Collapse file Copy file name to clipboardExpand all lines: docs-site/src/content/docs/getting-started/installation.md +4-2Lines changed: 4 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -24,13 +24,15 @@ file to use the commands immediately. `oxc`, `ocx`, and `opencodex` are equivale | 24 | 24 | Requires curl and `sha256sum` or `shasum`. The default selects the newest published release, | 25 | 25 | including prereleases; macOS signing/notarization is not verified by the installer. | 26 | 26 |
| 27 | | -Download the script to use `--version 0.0.9` (bare and `v`-prefixed tags work), `--stable`, | | 27 | +Download the script to use `--version 0.0.9` (bare and `v`-prefixed tags work), `--stable`, `--prerelease`, | 28 | 28 | `--prefix /absolute/path`, or `--no-modify-path`. `OXC_INSTALL_DIR` and `OXC_VERSION` supply | 29 | | -the default prefix and version. `--stable` refuses prereleases and fails if release classification | | 29 | +the default prefix and version. `--prerelease` (also used by `ocx update-pre`) skips stable releases | | 30 | +and fails if the API cannot confirm a published prerelease. `--stable` refuses prereleases and fails if release classification | 30 | 31 | is unavailable. | 31 | 32 |
| 32 | 33 | ```sh | 33 | 34 | oxc update # latest GitHub release from ar4ft/opencodex | | 35 | +oxc update-pre # newest published prerelease only | 34 | 36 | oxc update --stable # production releases only | 35 | 37 | oxc update --version 0.0.9 # pin a release | 36 | 38 | oxc restart # refresh a proxy that was running during the update | |
Collapse file Copy file name to clipboardExpand all lines: docs-site/src/content/docs/ja/getting-started/installation.md +2-1Lines changed: 2 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -16,10 +16,11 @@ curl -fsSL https://raw.githubusercontent.com/ar4ft/opencodex/refs/heads/main/scr | 16 | 16 | . "$HOME/.oxc/env" | 17 | 17 | oxc --version | 18 | 18 | oxc update | | 19 | +oxc update-pre # GitHub prerelease | 19 | 20 | oxc restart | 20 | 21 | ``` | 21 | 22 |
| 22 | | -[Options: --version, --stable, --prefix, --no-modify-path](/getting-started/installation/#standalone-install-this-fork) | | 23 | +[Options: --version, --stable, --prerelease, --prefix, --no-modify-path](/getting-started/installation/#standalone-install-this-fork) | 23 | 24 |
| 24 | 25 | ## npm の前提条件 | 25 | 26 |
| |
Collapse file Copy file name to clipboardExpand all lines: docs-site/src/content/docs/ko/getting-started/installation.md +2-1Lines changed: 2 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -16,10 +16,11 @@ curl -fsSL https://raw.githubusercontent.com/ar4ft/opencodex/refs/heads/main/scr | 16 | 16 | . "$HOME/.oxc/env" | 17 | 17 | oxc --version | 18 | 18 | oxc update | | 19 | +oxc update-pre # GitHub prerelease | 19 | 20 | oxc restart | 20 | 21 | ``` | 21 | 22 |
| 22 | | -[Options: --version, --stable, --prefix, --no-modify-path](/getting-started/installation/#standalone-install-this-fork) | | 23 | +[Options: --version, --stable, --prerelease, --prefix, --no-modify-path](/getting-started/installation/#standalone-install-this-fork) | 23 | 24 |
| 24 | 25 | ## npm 사전 요구 사항 | 25 | 26 |
| |
Collapse file Copy file name to clipboardExpand all lines: docs-site/src/content/docs/reference/cli/lifecycle.md +10Lines changed: 10 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -416,6 +416,16 @@ if it is not running. | 416 | 416 |
| 417 | 417 | ## Updating | 418 | 418 |
| | 419 | +### `ocx update-pre [--no-modify-path]` | | 420 | + | | 421 | +Install the newest published GitHub prerelease binary from this fork on Linux/macOS, skipping | | 422 | +stable releases and drafts. Downloads are unsigned; the installer verifies SHA-256 and checks | | 423 | +startup before replacing the binary. Existing standalone aliases update their owned prefix. | | 424 | +From npm/source, this command installs standalone aliases under `OXC_INSTALL_DIR` or `~/.oxc`; | | 425 | +activate them with `. "$HOME/.oxc/env"`. Run `oxc restart` after updating a running proxy. | | 426 | + | | 427 | +You can also pass `--prerelease` to the [standalone installer](/getting-started/installation/#standalone-install-this-fork). | | 428 | + | 419 | 429 | ### `ocx update [--tag latest|preview]` | 420 | 430 |
| 421 | 431 | Standalone installations made by this fork's `install.sh` use `oxc update` (also available as | |
Collapse file Copy file name to clipboardExpand all lines: docs-site/src/content/docs/ru/getting-started/installation.md +2-1Lines changed: 2 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -17,10 +17,11 @@ curl -fsSL https://raw.githubusercontent.com/ar4ft/opencodex/refs/heads/main/scr | 17 | 17 | . "$HOME/.oxc/env" | 18 | 18 | oxc --version | 19 | 19 | oxc update | | 20 | +oxc update-pre # GitHub prerelease | 20 | 21 | oxc restart | 21 | 22 | ``` | 22 | 23 |
| 23 | | -[Options: --version, --stable, --prefix, --no-modify-path](/getting-started/installation/#standalone-install-this-fork) | | 24 | +[Options: --version, --stable, --prerelease, --prefix, --no-modify-path](/getting-started/installation/#standalone-install-this-fork) | 24 | 25 |
| 25 | 26 | ## Требования для npm | 26 | 27 |
| |
Collapse file Copy file name to clipboardExpand all lines: docs-site/src/content/docs/tr/getting-started/installation.md +2-1Lines changed: 2 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -17,10 +17,11 @@ curl -fsSL https://raw.githubusercontent.com/ar4ft/opencodex/refs/heads/main/scr | 17 | 17 | . "$HOME/.oxc/env" | 18 | 18 | oxc --version | 19 | 19 | oxc update | | 20 | +oxc update-pre # GitHub prerelease | 20 | 21 | oxc restart | 21 | 22 | ``` | 22 | 23 |
| 23 | | -[Options: --version, --stable, --prefix, --no-modify-path](/getting-started/installation/#standalone-install-this-fork) | | 24 | +[Options: --version, --stable, --prerelease, --prefix, --no-modify-path](/getting-started/installation/#standalone-install-this-fork) | 24 | 25 |
| 25 | 26 | ## npm Ön Koşulları | 26 | 27 |
| |
Collapse file Copy file name to clipboardExpand all lines: docs-site/src/content/docs/zh-cn/getting-started/installation.md +2-1Lines changed: 2 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -16,10 +16,11 @@ curl -fsSL https://raw.githubusercontent.com/ar4ft/opencodex/refs/heads/main/scr | 16 | 16 | . "$HOME/.oxc/env" | 17 | 17 | oxc --version | 18 | 18 | oxc update | | 19 | +oxc update-pre # GitHub prerelease | 19 | 20 | oxc restart | 20 | 21 | ``` | 21 | 22 |
| 22 | | -[Options: --version, --stable, --prefix, --no-modify-path](/getting-started/installation/#standalone-install-this-fork) | | 23 | +[Options: --version, --stable, --prerelease, --prefix, --no-modify-path](/getting-started/installation/#standalone-install-this-fork) | 23 | 24 |
| 24 | 25 | ## npm 前置条件 | 25 | 26 |
| |
Collapse file Copy file name to clipboardExpand all lines: docs-site/src/content/docs/zh-tw/getting-started/installation.md +2-1Lines changed: 2 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -16,10 +16,11 @@ curl -fsSL https://raw.githubusercontent.com/ar4ft/opencodex/refs/heads/main/scr | 16 | 16 | . "$HOME/.oxc/env" | 17 | 17 | oxc --version | 18 | 18 | oxc update | | 19 | +oxc update-pre # GitHub prerelease | 19 | 20 | oxc restart | 20 | 21 | ``` | 21 | 22 |
| 22 | | -[Options: --version, --stable, --prefix, --no-modify-path](/getting-started/installation/#standalone-install-this-fork) | | 23 | +[Options: --version, --stable, --prerelease, --prefix, --no-modify-path](/getting-started/installation/#standalone-install-this-fork) | 23 | 24 |
| 24 | 25 | ## npm 前置條件 | 25 | 26 |
| |
|