forked from slkiser/opencode-quota
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 3.82 KB
/
Copy pathpackage.json
File metadata and controls
118 lines (118 loc) · 3.82 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
{
"name": "@slkiser/opencode-quota",
"version": "4.8.0",
"packageManager": "pnpm@11.0.0",
"description": "OpenCode quota & tokens usage with zero context window pollution. Supports GitHub Copilot, OpenAI (Plus/Pro), Qwen Code, Chutes AI, Synthetic, Google Antigravity, 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"
}
},
"oc-plugin": [
"server",
"tui"
],
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "node scripts/clean-dist.mjs && tsc && node scripts/copy-data.mjs && node scripts/prepare-tui-dist.mjs",
"build:check": "pnpm run build && pnpm pack --dry-run",
"check": "biome check .",
"format": "biome format --write .",
"format:check": "biome format .",
"lint": "biome lint .",
"pack:release-package": "node scripts/pack-release-package.mjs",
"pricing:refresh": "node scripts/refresh-modelsdev-pricing.mjs",
"pricing:refresh:if-stale": "node scripts/refresh-modelsdev-pricing-if-stale.mjs",
"upstream:check": "node scripts/check-upstream-plugin-updates.mjs",
"upstream:prepare-review": "node scripts/prepare-upstream-plugin-review.mjs",
"upstream:sync": "node scripts/sync-upstream-plugin-references.mjs",
"release:check": "pnpm verify && pnpm run verify:release-version",
"smoke:package": "node scripts/smoke-packed-package.mjs",
"test:four-surfaces": "vitest run tests/v4-phase5-cross-surface.test.ts",
"verify:package-contents": "node scripts/verify-package-contents.mjs",
"verify:release-package": "node scripts/verify-release-package.mjs",
"verify:release-version": "node scripts/verify-release-version.mjs",
"verify:typescript-version": "node scripts/verify-typescript-version.mjs",
"verify:v4-history": "node scripts/verify-v4-history.mjs",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"verify": "pnpm run check && pnpm run verify:typescript-version && pnpm run verify:v4-history && pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:four-surfaces && pnpm run verify:package-contents",
"prepublishOnly": "pnpm run build",
"prepare": "lefthook install"
},
"keywords": [
"opencode",
"plugin",
"quota",
"toast",
"github",
"copilot",
"google",
"antigravity",
"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.28.0",
"@babel/preset-typescript": "^7.27.1",
"@biomejs/biome": "2.3.11",
"@opencode-ai/plugin": "0.0.0-beta-18286",
"@opentelemetry/sdk-metrics": "2.10.0",
"@types/node": "^22.0.0",
"babel-preset-solid": "^1.9.12",
"lefthook": "2.0.15",
"typescript": "7.0.2",
"vitest": "^4.0.17",
"yaml": "^2.8.3"
},
"dependencies": {
"@clack/prompts": "^1.2.0",
"@opentelemetry/api": "^1.9.1",
"@opentui/core": "0.4.5",
"@opentui/solid": "0.4.5",
"comment-json": "^5.0.0",
"jsonc-parser": "^3.3.1",
"solid-js": "^1.9.12",
"xdg-basedir": "^5.1.0",
"zod": "4.1.8"
},
"optionalDependencies": {
"better-sqlite3": "^12.10.0"
},
"peerDependencies": {
"@opencode-ai/plugin": "0.0.0-beta-18286"
},
"engines": {
"node": ">=22.0.0"
}
}