|
1 | 1 | { |
2 | | - "name": "codex-multi-auth", |
3 | | - "version": "0.1.7", |
4 | | - "description": "Multi-account OAuth manager and codex auth wrapper for the official @openai/codex CLI, with switching, health checks, and recovery tools", |
5 | | - "main": "./dist/index.js", |
6 | | - "types": "./dist/index.d.ts", |
7 | | - "type": "module", |
8 | | - "license": "MIT", |
9 | | - "author": "ndycode", |
10 | | - "repository": { |
11 | | - "type": "git", |
12 | | - "url": "git+https://github.com/ndycode/codex-multi-auth.git" |
13 | | - }, |
14 | | - "keywords": [ |
15 | | - "openai", |
16 | | - "codex", |
17 | | - "codex-cli", |
18 | | - "chatgpt", |
19 | | - "oauth2", |
20 | | - "pkce", |
21 | | - "multi-account", |
22 | | - "account-switching", |
23 | | - "oauth-manager", |
24 | | - "fault-tolerance", |
25 | | - "terminal-ui", |
26 | | - "cli-tool", |
27 | | - "typescript", |
28 | | - "nodejs", |
29 | | - "developer-tools", |
30 | | - "authentication", |
31 | | - "account-health", |
32 | | - "recovery-tools", |
33 | | - "project-scoped-storage" |
34 | | - ], |
35 | | - "homepage": "https://github.com/ndycode/codex-multi-auth#readme", |
36 | | - "bugs": { |
37 | | - "url": "https://github.com/ndycode/codex-multi-auth/issues" |
38 | | - }, |
39 | | - "scripts": { |
40 | | - "build": "tsc && node scripts/copy-oauth-success.js", |
41 | | - "typecheck": "tsc --noEmit", |
42 | | - "lint": "npm run lint:ts && npm run lint:scripts", |
43 | | - "lint:ts": "eslint . --ext .ts", |
44 | | - "lint:scripts": "eslint scripts --ext .js", |
45 | | - "lint:fix": "npm run lint:ts:fix && npm run lint:scripts:fix", |
46 | | - "lint:ts:fix": "eslint . --ext .ts --fix", |
47 | | - "lint:scripts:fix": "eslint scripts --ext .js --fix", |
48 | | - "test": "vitest run", |
49 | | - "test:watch": "vitest", |
50 | | - "test:ui": "vitest --ui", |
51 | | - "test:model-matrix": "node scripts/test-model-matrix.js", |
52 | | - "test:model-matrix:smoke": "node scripts/test-model-matrix.js --smoke", |
53 | | - "test:model-matrix:report": "node scripts/test-model-matrix.js --smoke --report-json=.tmp/model-matrix-report.json", |
54 | | - "clean:repo": "node scripts/repo-hygiene.js clean --mode aggressive", |
55 | | - "clean:repo:check": "node scripts/repo-hygiene.js check", |
56 | | - "bench:edit-formats": "node scripts/benchmark-edit-formats.mjs --preset=codex-core", |
57 | | - "bench:edit-formats:smoke": "node scripts/benchmark-edit-formats.mjs --smoke --preset=codex-core", |
58 | | - "bench:edit-formats:render": "node scripts/benchmark-render-dashboard.mjs", |
59 | | - "bench:runtime-path": "npm run build && node scripts/benchmark-runtime-path.mjs", |
60 | | - "bench:runtime-path:quick": "node scripts/benchmark-runtime-path.mjs", |
61 | | - "test:coverage": "vitest run --coverage", |
62 | | - "coverage": "npm run build && vitest run --coverage", |
63 | | - "audit:prod": "npm audit --omit=dev --audit-level=high", |
64 | | - "audit:all": "npm audit --audit-level=high", |
65 | | - "audit:dev:allowlist": "node scripts/audit-dev-allowlist.js", |
66 | | - "audit:ci": "npm run audit:prod && npm run audit:dev:allowlist", |
67 | | - "prepublishOnly": "npm run build", |
68 | | - "prepare": "husky" |
69 | | - }, |
70 | | - "bin": { |
71 | | - "codex": "scripts/codex.js", |
72 | | - "codex-multi-auth": "scripts/codex-multi-auth.js" |
73 | | - }, |
74 | | - "files": [ |
75 | | - "dist/", |
76 | | - "assets/", |
77 | | - "config/", |
78 | | - "scripts/", |
79 | | - "vendor/codex-ai-plugin/", |
80 | | - "vendor/codex-ai-sdk/", |
81 | | - "README.md", |
82 | | - "LICENSE" |
83 | | - ], |
84 | | - "bundleDependencies": [ |
85 | | - "@codex-ai/plugin" |
86 | | - ], |
87 | | - "lint-staged": { |
88 | | - "*.ts": [ |
89 | | - "eslint --max-warnings=0 --fix --no-warn-ignored" |
90 | | - ], |
91 | | - "scripts/**/*.js": [ |
92 | | - "eslint --max-warnings=0 --fix --no-warn-ignored" |
93 | | - ] |
94 | | - }, |
95 | | - "engines": { |
96 | | - "node": ">=18.0.0" |
97 | | - }, |
98 | | - "peerDependencies": { |
99 | | - "typescript": "^5" |
100 | | - }, |
101 | | - "devDependencies": { |
102 | | - "@fast-check/vitest": "^0.2.4", |
103 | | - "@codex-ai/sdk": "file:vendor/codex-ai-sdk", |
104 | | - "@types/node": "^25.3.0", |
105 | | - "@typescript-eslint/eslint-plugin": "^8.56.0", |
106 | | - "@typescript-eslint/parser": "^8.56.0", |
107 | | - "@vitest/coverage-v8": "^4.0.18", |
108 | | - "@vitest/ui": "^4.0.18", |
109 | | - "eslint": "^10.0.0", |
110 | | - "fast-check": "^4.5.3", |
111 | | - "husky": "^9.1.7", |
112 | | - "lint-staged": "^16.2.7", |
113 | | - "typescript": "^5.9.3", |
114 | | - "typescript-language-server": "^5.1.3", |
115 | | - "vitest": "^4.0.18" |
116 | | - }, |
117 | | - "dependencies": { |
118 | | - "@openauthjs/openauth": "^0.4.3", |
119 | | - "@codex-ai/plugin": "file:vendor/codex-ai-plugin", |
120 | | - "hono": "4.12.6", |
121 | | - "zod": "^4.3.6" |
122 | | - }, |
123 | | - "overrides": { |
124 | | - "hono": "4.12.6", |
125 | | - "minimatch": "10.2.4", |
126 | | - "rollup": "4.59.0", |
127 | | - "vite": "^7.3.1", |
128 | | - "@typescript-eslint/typescript-estree": { |
129 | | - "minimatch": "9.0.9" |
130 | | - } |
131 | | - } |
| 2 | + "name": "codex-multi-auth", |
| 3 | + "version": "0.1.8", |
| 4 | + "description": "Multi-account OAuth manager and codex auth wrapper for the official @openai/codex CLI, with switching, health checks, and recovery tools", |
| 5 | + "main": "./dist/index.js", |
| 6 | + "types": "./dist/index.d.ts", |
| 7 | + "type": "module", |
| 8 | + "license": "MIT", |
| 9 | + "author": "ndycode", |
| 10 | + "repository": { |
| 11 | + "type": "git", |
| 12 | + "url": "git+https://github.com/ndycode/codex-multi-auth.git" |
| 13 | + }, |
| 14 | + "keywords": [ |
| 15 | + "openai", |
| 16 | + "codex", |
| 17 | + "codex-cli", |
| 18 | + "chatgpt", |
| 19 | + "oauth2", |
| 20 | + "pkce", |
| 21 | + "multi-account", |
| 22 | + "account-switching", |
| 23 | + "oauth-manager", |
| 24 | + "fault-tolerance", |
| 25 | + "terminal-ui", |
| 26 | + "cli-tool", |
| 27 | + "typescript", |
| 28 | + "nodejs", |
| 29 | + "developer-tools", |
| 30 | + "authentication", |
| 31 | + "account-health", |
| 32 | + "recovery-tools", |
| 33 | + "project-scoped-storage" |
| 34 | + ], |
| 35 | + "homepage": "https://github.com/ndycode/codex-multi-auth#readme", |
| 36 | + "bugs": { |
| 37 | + "url": "https://github.com/ndycode/codex-multi-auth/issues" |
| 38 | + }, |
| 39 | + "scripts": { |
| 40 | + "build": "tsc && node scripts/copy-oauth-success.js", |
| 41 | + "typecheck": "tsc --noEmit", |
| 42 | + "lint": "npm run lint:ts && npm run lint:scripts", |
| 43 | + "lint:ts": "eslint . --ext .ts", |
| 44 | + "lint:scripts": "eslint scripts --ext .js", |
| 45 | + "lint:fix": "npm run lint:ts:fix && npm run lint:scripts:fix", |
| 46 | + "lint:ts:fix": "eslint . --ext .ts --fix", |
| 47 | + "lint:scripts:fix": "eslint scripts --ext .js --fix", |
| 48 | + "test": "vitest run", |
| 49 | + "test:watch": "vitest", |
| 50 | + "test:ui": "vitest --ui", |
| 51 | + "test:model-matrix": "node scripts/test-model-matrix.js", |
| 52 | + "test:model-matrix:smoke": "node scripts/test-model-matrix.js --smoke", |
| 53 | + "test:model-matrix:report": "node scripts/test-model-matrix.js --smoke --report-json=.tmp/model-matrix-report.json", |
| 54 | + "clean:repo": "node scripts/repo-hygiene.js clean --mode aggressive", |
| 55 | + "clean:repo:check": "node scripts/repo-hygiene.js check", |
| 56 | + "bench:edit-formats": "node scripts/benchmark-edit-formats.mjs --preset=codex-core", |
| 57 | + "bench:edit-formats:smoke": "node scripts/benchmark-edit-formats.mjs --smoke --preset=codex-core", |
| 58 | + "bench:edit-formats:render": "node scripts/benchmark-render-dashboard.mjs", |
| 59 | + "bench:runtime-path": "npm run build && node scripts/benchmark-runtime-path.mjs", |
| 60 | + "bench:runtime-path:quick": "node scripts/benchmark-runtime-path.mjs", |
| 61 | + "test:coverage": "vitest run --coverage", |
| 62 | + "coverage": "npm run build && vitest run --coverage", |
| 63 | + "audit:prod": "npm audit --omit=dev --audit-level=high", |
| 64 | + "audit:all": "npm audit --audit-level=high", |
| 65 | + "audit:dev:allowlist": "node scripts/audit-dev-allowlist.js", |
| 66 | + "audit:ci": "npm run audit:prod && npm run audit:dev:allowlist", |
| 67 | + "prepublishOnly": "npm run build", |
| 68 | + "prepare": "husky" |
| 69 | + }, |
| 70 | + "bin": { |
| 71 | + "codex": "scripts/codex.js", |
| 72 | + "codex-multi-auth": "scripts/codex-multi-auth.js" |
| 73 | + }, |
| 74 | + "files": [ |
| 75 | + "dist/", |
| 76 | + "assets/", |
| 77 | + "config/", |
| 78 | + "scripts/", |
| 79 | + "vendor/codex-ai-plugin/", |
| 80 | + "vendor/codex-ai-sdk/", |
| 81 | + "README.md", |
| 82 | + "LICENSE" |
| 83 | + ], |
| 84 | + "bundleDependencies": [ |
| 85 | + "@codex-ai/plugin" |
| 86 | + ], |
| 87 | + "lint-staged": { |
| 88 | + "*.ts": [ |
| 89 | + "eslint --max-warnings=0 --fix --no-warn-ignored" |
| 90 | + ], |
| 91 | + "scripts/**/*.js": [ |
| 92 | + "eslint --max-warnings=0 --fix --no-warn-ignored" |
| 93 | + ] |
| 94 | + }, |
| 95 | + "engines": { |
| 96 | + "node": ">=18.0.0" |
| 97 | + }, |
| 98 | + "peerDependencies": { |
| 99 | + "typescript": "^5" |
| 100 | + }, |
| 101 | + "devDependencies": { |
| 102 | + "@fast-check/vitest": "^0.2.4", |
| 103 | + "@codex-ai/sdk": "file:vendor/codex-ai-sdk", |
| 104 | + "@types/node": "^25.3.0", |
| 105 | + "@typescript-eslint/eslint-plugin": "^8.56.0", |
| 106 | + "@typescript-eslint/parser": "^8.56.0", |
| 107 | + "@vitest/coverage-v8": "^4.0.18", |
| 108 | + "@vitest/ui": "^4.0.18", |
| 109 | + "eslint": "^10.0.0", |
| 110 | + "fast-check": "^4.5.3", |
| 111 | + "husky": "^9.1.7", |
| 112 | + "lint-staged": "^16.2.7", |
| 113 | + "typescript": "^5.9.3", |
| 114 | + "typescript-language-server": "^5.1.3", |
| 115 | + "vitest": "^4.0.18" |
| 116 | + }, |
| 117 | + "dependencies": { |
| 118 | + "@openauthjs/openauth": "^0.4.3", |
| 119 | + "@codex-ai/plugin": "file:vendor/codex-ai-plugin", |
| 120 | + "hono": "4.12.6", |
| 121 | + "zod": "^4.3.6" |
| 122 | + }, |
| 123 | + "overrides": { |
| 124 | + "hono": "4.12.6", |
| 125 | + "minimatch": "10.2.4", |
| 126 | + "rollup": "4.59.0", |
| 127 | + "vite": "^7.3.1", |
| 128 | + "@typescript-eslint/typescript-estree": { |
| 129 | + "minimatch": "9.0.9" |
| 130 | + } |
| 131 | + } |
132 | 132 | } |
0 commit comments