forked from floze-the-genius/opencode-multi-auth-codex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 3.31 KB
/
Copy pathpackage.json
File metadata and controls
110 lines (110 loc) · 3.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "@nguyenthdat/opencode-multi-auth-codex",
"version": "1.6.0",
"description": "Local OpenCode account routing, session controls, and reliability tooling for Codex OAuth",
"type": "module",
"packageManager": "bun@1.3.14",
"engines": {
"bun": ">=1.3.0",
"opencode": ">=1.18.4"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./server": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./tui": {
"types": "./dist/tui.d.ts",
"import": "./dist/tui.js"
}
},
"bin": {
"opencode-multi-auth": "dist/cli.js"
},
"scripts": {
"build": "tsc --noEmit && tsc -p web-ui/tsconfig.json --noEmit && tsc && bun build ./web-ui/main.tsx --target browser --format esm --production --sourcemap=external --outdir ./dist/web-ui --entry-naming 'dashboard.[ext]' --asset-naming 'dashboard.[ext]'",
"clean": "rm -rf dist",
"format": "prettier --write . && uvx --from ruff==0.15.20 ruff format auto-login",
"format:check": "prettier --check . && uvx --from ruff==0.15.20 ruff format --check auto-login",
"hooks:install": "git config --local core.hooksPath .git/hooks && lefthook install --force",
"web": "bun ./dist/cli.js web --port 3434 --host 127.0.0.1",
"test": "bun test",
"test:unit": "bun test tests/unit",
"test:integration": "bun test tests/integration",
"test:web:headless": "bun test tests/web-headless",
"test:failure": "bun test tests/failure",
"test:stress": "bun test tests/stress",
"test:sandbox": "bun test tests/sandbox",
"test:soak:48h": "bun test tests/soak",
"test:auto-login": "uv run --with 'python-dotenv>=1.2.1,<2' python -m unittest auto-login/test_auto_login.py",
"lint": "tsc --noEmit && tsc -p web-ui/tsconfig.json --noEmit"
},
"peerDependencies": {
"@opencode-ai/plugin": "^1.18.4",
"@opentui/solid": ">=0.4.5",
"solid-js": "1.9.12"
},
"peerDependenciesMeta": {
"@opencode-ai/plugin": {
"optional": true
},
"@opentui/solid": {
"optional": true
},
"solid-js": {
"optional": true
}
},
"overrides": {
"@babel/core": "7.29.7",
"brace-expansion": "2.1.4"
},
"devDependencies": {
"@opencode-ai/plugin": "^1.18.4",
"@opencode-ai/sdk": "^1.18.4",
"@opentui/solid": "0.4.5",
"@types/bun": "^1.3.14",
"@types/node": "^22.20.1",
"@types/react": "19.2.13",
"@types/react-dom": "19.2.3",
"lefthook": "2.1.10",
"prettier": "3.9.6",
"react": "19.2.7",
"react-dom": "19.2.7",
"solid-js": "1.9.12",
"typescript": "^5.9.3"
},
"files": [
"dist",
"auto-login/auto_login.py",
"auto-login/credentials.example.json",
"auto-login/accounts.example.txt",
"auto-login/requirements.txt"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nguyenthdat/opencode-multi-auth-codex.git"
},
"homepage": "https://github.com/nguyenthdat/opencode-multi-auth-codex#readme",
"bugs": {
"url": "https://github.com/nguyenthdat/opencode-multi-auth-codex/issues"
},
"keywords": [
"opencode",
"openai",
"codex",
"oauth",
"multi-account"
],
"author": "Dat Nguyen",
"license": "MIT"
}