Repository navigation
Expand file tree
/
Copy pathusage-limits.jsonc
More file actions
144 lines (144 loc) · 4.69 KB
/
Copy pathusage-limits.jsonc
File metadata and controls
144 lines (144 loc) · 4.69 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"$schema": "https://raw.githubusercontent.com/mynameistito/opencode-plugins/main/packages/opencode-usage-limits/usage-limits.schema.json",
"enabled": true,
"refreshIntervalSeconds": 60,
"requestTimeoutMs": 10000,
"showErrors": true,
"providers": {
"alibaba-token-plan": {
"enabled": true,
"label": "Alibaba Token Plan",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"region": "international",
},
"codex": {
"enabled": true,
"label": "Codex",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"authPath": "~/.codex/auth.json",
"apiKey": "{env:OPENAI_API_KEY}",
"authorizationScheme": "bearer",
"baseUrl": "https://chatgpt.com/backend-api",
},
"deepseek": {
"enabled": true,
"label": "DeepSeek",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"authPath": "~/.config/opencode/auth.json",
"apiKey": "{env:DEEPSEEK_API_KEY}", // Optional fallback when OpenCode auth has no DeepSeek key
"baseUrl": "https://api.deepseek.com",
},
"novita-ai": {
"enabled": false,
"label": "Novita AI",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"apiKey": "{env:NOVITA_API_KEY}", // Optional fallback when OpenCode auth has no Novita AI key
"baseUrl": "https://api.novita.ai",
},
"openrouter": {
"enabled": false,
"label": "OpenRouter",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"apiKey": "{env:OPENROUTER_API_KEY}", // Optional explicit credential; normally OpenCode auth is discovered
"baseUrl": "https://openrouter.ai",
},
"zai": {
"enabled": true,
"label": "ZAI",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"authPath": "~/.config/opencode/auth.json",
"apiKey": "{env:OC_ZAI_API_KEY}", // Optional fallback when OpenCode auth has no ZAI key
"authorizationScheme": "raw",
},
"synthetic": {
"enabled": true,
"label": "Synthetic",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"authPath": "~/.config/opencode/auth.json",
"apiKey": "{env:OC_SYNTHETIC_API_KEY}", // Optional fallback when OpenCode auth has no Synthetic key
"baseUrl": "https://api.synthetic.new",
},
"minimax": {
"enabled": true,
"label": "MiniMax",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"authPath": "~/.config/opencode/auth.json",
"apiKey": "{env:OC_MINIMAX_TOKEN_PLAN_KEY}", // Optional fallback when OpenCode auth has no MiniMax key
"baseUrl": "https://www.minimax.io",
},
"moonshotai": {
"enabled": false,
"label": "Moonshot AI",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"apiKey": "{env:MOONSHOT_API_KEY}", // Optional; OpenCode moonshotai auth is discovered by default
"baseUrl": "https://api.moonshot.ai",
},
"moonshotai-cn": {
"enabled": false,
"label": "Moonshot AI CN",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"apiKey": "{env:MOONSHOT_API_KEY_CN}", // Optional; OpenCode moonshotai-cn auth is discovered by default
"baseUrl": "https://api.moonshot.cn",
},
"qwen": {
"enabled": false,
"label": "Qwen",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
},
"opencode-go": {
"enabled": true,
"label": "OpenCode GO",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"authPath": "~/.config/opencode/auth.json",
"apiKey": "{env:OPENCODE_API_KEY}", // Optional fallback when OpenCode auth has no key
"baseUrl": "https://opencode.ai/zen/go/v1",
},
"commandcode": {
"enabled": false,
"label": "Command Code",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"authPath": "~/.config/opencode/auth.json",
"apiKey": "{env:COMMANDCODE_API_KEY}", // Optional fallback when OpenCode auth has no key
"baseUrl": "https://api.commandcode.ai",
},
},
}