We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3229a8e commit 2b0d1e9Copy full SHA for 2b0d1e9
1 file changed
src/index.ts
@@ -7,6 +7,12 @@ import {createJsonStream} from "./StdUtils";
7
import {isCodexAuthRequest} from "./CodexAuthMethod";
8
import {CodexAcpClient} from "./CodexAcpClient";
9
import {CodexAppServerClient} from "./CodexAppServerClient";
10
+import packageJson from "../package.json";
11
+
12
+if (process.argv.includes("--version")) {
13
+ console.log(`${packageJson.name} ${packageJson.version}`);
14
+ process.exit(0);
15
+}
16
17
const codexPath = process.env["CODEX_PATH"] ?? "codex";
18
const logPath = process.env["APP_SERVER_LOGS"];
0 commit comments