ai-sdk-provider-codex-cli 2.0.0 → 2.1.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 CHANGED
@@ -64,7 +64,7 @@ npm i ai@^6 ai-sdk-provider-codex-cli@ai-sdk-v6
64
64
  npm i ai@^5.0.0 ai-sdk-provider-codex-cli@ai-sdk-v5
65
65
  ```
66
66
 
67
- > **⚠️ Codex CLI Version**: Requires the current stable Codex CLI **0.142.x** for full support of both provider modes (`codexExec` and `codexAppServer`). This package pins its optional `@openai/codex` dependency to `^0.142.5`, the latest non-alpha release validated for this release line. If you supply your own Codex CLI (global install or custom `codexPath`), check it with `codex --version` and upgrade if needed.
67
+ > **⚠️ Codex CLI Version**: Requires the current stable Codex CLI **0.144.x** for full support of both provider modes (`codexExec` and `codexAppServer`). This package pins its optional `@openai/codex` dependency to `^0.144.0`, the latest non-alpha release line validated for this release line. If you supply your own Codex CLI (global install or custom `codexPath`), check it with `codex --version` and upgrade if needed.
68
68
  >
69
69
  > ```bash
70
70
  > npm i -g @openai/codex@latest
@@ -100,7 +100,7 @@ import { createCodexAppServer } from 'ai-sdk-provider-codex-cli';
100
100
 
101
101
  const provider = createCodexAppServer({
102
102
  defaultSettings: {
103
- minCodexVersion: '0.142.5',
103
+ minCodexVersion: '0.144.0',
104
104
  autoApprove: false,
105
105
  personality: 'pragmatic',
106
106
  },
package/dist/index.d.ts CHANGED
@@ -854,7 +854,7 @@ interface CodexAppServerProvider extends ProviderV4 {
854
854
  * @example
855
855
  * ```ts
856
856
  * const provider = createCodexAppServer({
857
- * defaultSettings: { minCodexVersion: '0.142.5' },
857
+ * defaultSettings: { minCodexVersion: '0.144.0' },
858
858
  * });
859
859
  *
860
860
  * try {
package/dist/index.js CHANGED
@@ -4921,7 +4921,7 @@ var AppServerRpcClient = class extends EventEmitter {
4921
4921
  if (this.serverCapabilities?.modelList === false) {
4922
4922
  throw new UnsupportedFeatureError({
4923
4923
  feature: "model/list",
4924
- minCodexVersion: this.settings.minCodexVersion ?? "0.142.5",
4924
+ minCodexVersion: this.settings.minCodexVersion ?? "0.144.0",
4925
4925
  serverVersion: this.serverVersion
4926
4926
  });
4927
4927
  }
@@ -4934,7 +4934,7 @@ var AppServerRpcClient = class extends EventEmitter {
4934
4934
  if (error instanceof JsonRpcRequestError && error.code === -32601) {
4935
4935
  throw new UnsupportedFeatureError({
4936
4936
  feature: "model/list",
4937
- minCodexVersion: this.settings.minCodexVersion ?? "0.142.5",
4937
+ minCodexVersion: this.settings.minCodexVersion ?? "0.144.0",
4938
4938
  serverVersion: this.serverVersion
4939
4939
  });
4940
4940
  }
@@ -5091,7 +5091,7 @@ var AppServerRpcClient = class extends EventEmitter {
5091
5091
  const message = String(error?.message ?? error);
5092
5092
  if (message.includes("ENOENT") || message.includes("unknown subcommand")) {
5093
5093
  throw new Error(
5094
- "codex app-server requires codex CLI >= 0.142.5. Run 'codex --version' to check."
5094
+ "codex app-server requires codex CLI >= 0.144.0. Run 'codex --version' to check."
5095
5095
  );
5096
5096
  }
5097
5097
  throw createAPICallError({
@@ -5113,7 +5113,7 @@ var AppServerRpcClient = class extends EventEmitter {
5113
5113
  return;
5114
5114
  }
5115
5115
  this.serverVersion = detected;
5116
- const minVersion = this.settings.minCodexVersion ?? "0.142.5";
5116
+ const minVersion = this.settings.minCodexVersion ?? "0.144.0";
5117
5117
  const compared = compareSemver(detected, minVersion);
5118
5118
  if (compared === void 0) {
5119
5119
  this.logger.warn(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-sdk-provider-codex-cli",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "AI SDK v7 provider for OpenAI Codex CLI (use ChatGPT Plus/Pro subscription)",
5
5
  "keywords": [
6
6
  "ai-sdk",
@@ -61,7 +61,7 @@
61
61
  "jsonc-parser": "^3.3.1"
62
62
  },
63
63
  "optionalDependencies": {
64
- "@openai/codex": "^0.142.5"
64
+ "@openai/codex": "^0.144.0"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@eslint/js": "^9.14.0",