ai-sdk-provider-codex-cli 1.0.0 → 1.0.1
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 +0 -1
- package/dist/index.cjs +0 -4
- package/dist/index.d.cts +0 -6
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -313,7 +313,6 @@ const model = codexCli('gpt-5.1-codex', {
|
|
|
313
313
|
modelVerbosity: 'high', // low | medium | high
|
|
314
314
|
|
|
315
315
|
// Advanced features
|
|
316
|
-
includePlanTool: true, // adds --include-plan-tool
|
|
317
316
|
profile: 'production', // adds --profile production
|
|
318
317
|
oss: false, // adds --oss when true
|
|
319
318
|
webSearch: true, // maps to -c tools.web_search=true
|
package/dist/index.cjs
CHANGED
|
@@ -117,7 +117,6 @@ var settingsSchema = zod.z.object({
|
|
|
117
117
|
reasoningSummaryFormat: zod.z.enum(["none", "experimental"]).optional(),
|
|
118
118
|
modelVerbosity: zod.z.enum(["low", "medium", "high"]).optional(),
|
|
119
119
|
// NEW: Advanced features
|
|
120
|
-
includePlanTool: zod.z.boolean().optional(),
|
|
121
120
|
profile: zod.z.string().optional(),
|
|
122
121
|
oss: zod.z.boolean().optional(),
|
|
123
122
|
webSearch: zod.z.boolean().optional(),
|
|
@@ -562,9 +561,6 @@ var CodexCliLanguageModel = class {
|
|
|
562
561
|
if (settings.modelVerbosity) {
|
|
563
562
|
args.push("-c", `model_verbosity=${settings.modelVerbosity}`);
|
|
564
563
|
}
|
|
565
|
-
if (settings.includePlanTool) {
|
|
566
|
-
args.push("--include-plan-tool");
|
|
567
|
-
}
|
|
568
564
|
if (settings.profile) {
|
|
569
565
|
args.push("--profile", settings.profile);
|
|
570
566
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -158,12 +158,6 @@ interface CodexCliSettings {
|
|
|
158
158
|
* Maps to: `-c features.rmcp_client=true`
|
|
159
159
|
*/
|
|
160
160
|
rmcpClient?: boolean;
|
|
161
|
-
/**
|
|
162
|
-
* Include experimental plan tool that the model can use to update its current plan.
|
|
163
|
-
*
|
|
164
|
-
* Maps to: `--include-plan-tool`
|
|
165
|
-
*/
|
|
166
|
-
includePlanTool?: boolean;
|
|
167
161
|
/**
|
|
168
162
|
* Configuration profile from config.toml to specify default options.
|
|
169
163
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -158,12 +158,6 @@ interface CodexCliSettings {
|
|
|
158
158
|
* Maps to: `-c features.rmcp_client=true`
|
|
159
159
|
*/
|
|
160
160
|
rmcpClient?: boolean;
|
|
161
|
-
/**
|
|
162
|
-
* Include experimental plan tool that the model can use to update its current plan.
|
|
163
|
-
*
|
|
164
|
-
* Maps to: `--include-plan-tool`
|
|
165
|
-
*/
|
|
166
|
-
includePlanTool?: boolean;
|
|
167
161
|
/**
|
|
168
162
|
* Configuration profile from config.toml to specify default options.
|
|
169
163
|
*
|
package/dist/index.js
CHANGED
|
@@ -114,7 +114,6 @@ var settingsSchema = z.object({
|
|
|
114
114
|
reasoningSummaryFormat: z.enum(["none", "experimental"]).optional(),
|
|
115
115
|
modelVerbosity: z.enum(["low", "medium", "high"]).optional(),
|
|
116
116
|
// NEW: Advanced features
|
|
117
|
-
includePlanTool: z.boolean().optional(),
|
|
118
117
|
profile: z.string().optional(),
|
|
119
118
|
oss: z.boolean().optional(),
|
|
120
119
|
webSearch: z.boolean().optional(),
|
|
@@ -559,9 +558,6 @@ var CodexCliLanguageModel = class {
|
|
|
559
558
|
if (settings.modelVerbosity) {
|
|
560
559
|
args.push("-c", `model_verbosity=${settings.modelVerbosity}`);
|
|
561
560
|
}
|
|
562
|
-
if (settings.includePlanTool) {
|
|
563
|
-
args.push("--include-plan-tool");
|
|
564
|
-
}
|
|
565
561
|
if (settings.profile) {
|
|
566
562
|
args.push("--profile", settings.profile);
|
|
567
563
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-sdk-provider-codex-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "AI SDK v6 provider for OpenAI Codex CLI (use ChatGPT Plus/Pro subscription)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-sdk",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"jsonc-parser": "^3.3.1"
|
|
65
65
|
},
|
|
66
66
|
"optionalDependencies": {
|
|
67
|
-
"@openai/codex": "^0.
|
|
67
|
+
"@openai/codex": "^0.77.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@eslint/js": "^9.14.0",
|