File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9292 const packageManager = detectPackageManager ( ) ;
9393 const updateCommand =
9494 packageManager === "bun"
95- ? "bun install -g @loongphy/codex @latest"
96- : "npm install -g @loongphy/codex @latest" ;
95+ ? "bun install -g @loongphy/codext @latest"
96+ : "npm install -g @loongphy/codext @latest" ;
9797 throw new Error (
9898 `Missing optional dependency ${ platformPackage } . Reinstall Codex: ${ updateCommand } ` ,
9999 ) ;
@@ -104,8 +104,8 @@ if (!vendorRoot) {
104104 const packageManager = detectPackageManager ( ) ;
105105 const updateCommand =
106106 packageManager === "bun"
107- ? "bun install -g @loongphy/codex @latest"
108- : "npm install -g @loongphy/codex @latest" ;
107+ ? "bun install -g @loongphy/codext @latest"
108+ : "npm install -g @loongphy/codext @latest" ;
109109 throw new Error (
110110 `Missing optional dependency ${ platformPackage } . Reinstall Codex: ${ updateCommand } ` ,
111111 ) ;
Original file line number Diff line number Diff line change 11{
2- "name" : " @loongphy/codex " ,
2+ "name" : " @loongphy/codext " ,
33 "version" : " 0.0.0-dev" ,
44 "license" : " Apache-2.0" ,
55 "bin" : {
Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
2- """Stage and optionally package the @loongphy/codex npm module."""
2+ """Stage and optionally package the @loongphy/codext npm module."""
33
44import argparse
55import json
1414REPO_ROOT = CODEX_CLI_ROOT .parent
1515RESPONSES_API_PROXY_NPM_ROOT = REPO_ROOT / "codex-rs" / "responses-api-proxy" / "npm"
1616CODEX_SDK_ROOT = REPO_ROOT / "sdk" / "typescript"
17- CODEX_NPM_NAME = "@loongphy/codex "
17+ CODEX_NPM_NAME = "@loongphy/codext "
1818
1919# `npm_name` is the local optional-dependency alias consumed by `bin/codex.js`.
20- # The underlying package published to npm is always `@loongphy/codex `.
20+ # The underlying package published to npm is always `@loongphy/codext `.
2121CODEX_PLATFORM_PACKAGES : dict [str , dict [str , str ]] = {
2222 "codex-linux-x64" : {
2323 "npm_name" : "@openai/codex-linux-x64" ,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ if (-not (Get-Command npm -ErrorAction SilentlyContinue)) {
4141}
4242
4343$resolvedVersion = Normalize- Version - RawVersion $Version
44- $packageSpec = " @loongphy/codex "
44+ $packageSpec = " @loongphy/codext "
4545if ($resolvedVersion -ne " latest" ) {
4646 $packageSpec = " $packageSpec @$resolvedVersion "
4747}
Original file line number Diff line number Diff line change 33set -eu
44
55VERSION=" ${1:- latest} "
6- PACKAGE=" @loongphy/codex "
6+ PACKAGE=" @loongphy/codext "
77
88step () {
99 printf ' ==> %s\n' " $1 "
You can’t perform that action at this time.
0 commit comments