Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 4.1 KB
/
Copy pathpackage.json
File metadata and controls
120 lines (120 loc) · 4.1 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
111
112
113
114
115
116
117
118
119
120
{
"name": "@slkiser/opencode-quota",
"version": "6.2.2",
"packageManager": "pnpm@11.28.9",
"description": "OpenCode quota & tokens usage with zero context window pollution. Supports GitHub Copilot, OpenAI (Plus/Pro), Google AGY, Z.ai coding plan and more.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"opencode-quota": "./dist/bin/opencode-quota.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./server": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./tui": {
"types": "./dist/tui.d.ts",
"default": "./dist/tui.js"
},
"./gui-experimental": "./dist/gui-experimental.cjs"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "node .github/scripts/clean-dist.mjs && tsc && tsc -p src/gui && node .github/scripts/copy-data.mjs && node .github/scripts/prepare-tui-dist.mjs && node .github/scripts/build-gui.mjs",
"check": "vp check",
"format": "vp fmt",
"lint": "vp lint",
"pack:release-package": "node .github/scripts/pack-release-package.mjs",
"pricing:refresh": "node .github/scripts/refresh-modelsdev-pricing.mjs",
"pricing:refresh:if-stale": "node .github/scripts/refresh-modelsdev-pricing-if-stale.mjs",
"upstream:check": "node .github/scripts/check-upstream-plugin-updates.mjs",
"upstream:prepare-review": "node .github/scripts/prepare-upstream-plugin-review.mjs",
"upstream:sync": "node .github/scripts/sync-upstream-plugin-references.mjs",
"release:check": "pnpm verify && pnpm run verify:release-version",
"smoke:package": "node .github/scripts/smoke-packed-package.mjs",
"verify:package-contents": "node .github/scripts/verify-package-contents.mjs",
"verify:platform": "pnpm run build && pnpm test && pnpm run verify:package-contents",
"verify:release-package": "node .github/scripts/verify-release-package.mjs",
"verify:release-version": "node .github/scripts/verify-release-version.mjs",
"verify:typescript-version": "node .github/scripts/verify-typescript-version.mjs",
"verify:v4-history": "node .github/scripts/verify-v4-history.mjs",
"typecheck": "tsc --noEmit",
"test": "vp test run",
"test:docs": "vp test run tests/contribution-guidance.test.ts tests/google-gemini-cli-org-only-docs.test.ts tests/quota-providers-docs-consistency.test.ts tests/readme-provider-ledger.test.ts",
"test:watch": "vp test watch",
"verify": "pnpm run check && pnpm run verify:typescript-version && pnpm run verify:v4-history && pnpm run verify:platform",
"prepublishOnly": "pnpm run build",
"prepare": "vp config --no-agent --hooks-dir .github/hooks"
},
"keywords": [
"opencode",
"plugin",
"quota",
"toast",
"github",
"copilot",
"google",
"gemini",
"claude"
],
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/slkiser/opencode-quota.git"
},
"bugs": {
"url": "https://github.com/slkiser/opencode-quota/issues"
},
"homepage": "https://github.com/slkiser/opencode-quota#readme",
"devDependencies": {
"@babel/core": "^7.29.7",
"@babel/preset-typescript": "^7.29.7",
"@opencode/plugin": "2.2.5",
"@opentelemetry/sdk-metrics": "2.10.0",
"@opentui/core": "^0.8.1",
"@opentui/solid": "^0.8.1",
"@types/node": "^22.20.5",
"babel-preset-solid": "^1.9.12",
"solid-js": "^1.9.12",
"typescript": "7.0.2",
"vite": "npm:@voidzero-dev/vite-plus-core@1.4.0",
"vite-plugin-solid": "2.11.14",
"vite-plus": "1.4.0",
"yaml": "^2.9.1"
},
"dependencies": {
"@opentelemetry/api": "~1.9.1",
"jsonc-parser": "^3.3.1"
},
"peerDependencies": {
"@opencode/plugin": ">=2.0.28",
"@opentui/core": ">=0.5.17",
"@opentui/solid": ">=0.5.17",
"solid-js": ">=1.9.0"
},
"peerDependenciesMeta": {
"@opentui/core": {
"optional": true
},
"@opentui/solid": {
"optional": true
},
"solid-js": {
"optional": true
}
},
"engines": {
"node": "^22.13.0 || >=23.4.0"
}
}