ai-sdk-provider-codex-cli 0.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/package.json ADDED
@@ -0,0 +1,88 @@
1
+ {
2
+ "name": "ai-sdk-provider-codex-cli",
3
+ "version": "0.1.0",
4
+ "description": "AI SDK v5 provider for spawning OpenAI Codex CLI (gpt-5 via ChatGPT OAuth)",
5
+ "keywords": [
6
+ "ai-sdk",
7
+ "codex",
8
+ "openai",
9
+ "cli",
10
+ "language-model",
11
+ "gpt-5",
12
+ "provider"
13
+ ],
14
+ "homepage": "https://github.com/ben-vargas/ai-sdk-provider-codex-cli",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/ben-vargas/ai-sdk-provider-codex-cli.git"
18
+ },
19
+ "bugs": {
20
+ "url": "https://github.com/ben-vargas/ai-sdk-provider-codex-cli/issues"
21
+ },
22
+ "license": "MIT",
23
+ "author": "Ben Vargas",
24
+ "type": "module",
25
+ "sideEffects": false,
26
+ "main": "./dist/index.cjs",
27
+ "module": "./dist/index.js",
28
+ "types": "./dist/index.d.ts",
29
+ "exports": {
30
+ "./package.json": "./package.json",
31
+ ".": {
32
+ "types": "./dist/index.d.ts",
33
+ "import": "./dist/index.js",
34
+ "require": "./dist/index.cjs"
35
+ }
36
+ },
37
+ "files": [
38
+ "dist/**/*",
39
+ "README.md",
40
+ "LICENSE"
41
+ ],
42
+ "scripts": {
43
+ "build": "tsup",
44
+ "clean": "rm -rf dist",
45
+ "dev": "tsup --watch",
46
+ "prepare": "npm run build",
47
+ "prepublishOnly": "npm run clean && npm run build",
48
+ "typecheck": "tsc --noEmit",
49
+ "format": "prettier --check .",
50
+ "format:fix": "prettier --write .",
51
+ "lint": "eslint .",
52
+ "lint:fix": "eslint . --fix",
53
+ "validate": "npm run build && npm run typecheck && npm run format && npm run lint && npm run test",
54
+ "test": "vitest run",
55
+ "test:watch": "vitest",
56
+ "test:coverage": "vitest run --coverage"
57
+ },
58
+ "dependencies": {
59
+ "@ai-sdk/provider": "2.0.0",
60
+ "@ai-sdk/provider-utils": "3.0.3",
61
+ "jsonc-parser": "^3.3.1"
62
+ },
63
+ "optionalDependencies": {
64
+ "@openai/codex": "*"
65
+ },
66
+ "devDependencies": {
67
+ "@eslint/js": "^9.14.0",
68
+ "@types/node": "20.17.24",
69
+ "@vitest/coverage-v8": "^3.2.4",
70
+ "ai": "5.0.14",
71
+ "eslint": "^9.14.0",
72
+ "prettier": "^3.3.3",
73
+ "tsup": "8.5.0",
74
+ "typescript": "5.6.3",
75
+ "vitest": "^3.2.4",
76
+ "typescript-eslint": "^8.6.0",
77
+ "zod": "^4.0.17"
78
+ },
79
+ "peerDependencies": {
80
+ "zod": "^3.0.0 || ^4.0.0"
81
+ },
82
+ "engines": {
83
+ "node": ">=18"
84
+ },
85
+ "publishConfig": {
86
+ "access": "public"
87
+ }
88
+ }