返回 CodeWhale
facts.generated.ts
根目录 / web / lib / facts.generated.ts
1 // AUTO-GENERATED by web/scripts/derive-facts.mjs at prebuild.
2 // DO NOT EDIT — re-run `npm run prebuild` (or just `npm run build`) after changing the parent repo.
3 // Runtime KV snapshots must use this shape and include exact source provenance.
4
5 export interface ProviderFact { id: string; label: string; env: string }
6
7 export interface PublishedReleaseFact {
8 tag: string;
9 version: string;
10 publishedAt: string;
11 url: string;
12 }
13
14 export interface RepoFacts {
15 generatedAt: string;
16 sourceRevision: string | null;
17 sourceCommittedAt: string | null;
18 version: string | null;
19 crates: string[];
20 sandboxBackends: string[];
21 providers: ProviderFact[];
22 defaultModel: string | null;
23 nodeEngines: string | null;
24 toolCount: number | null;
25 license: string | null;
26 latestPublishedRelease: PublishedReleaseFact | null;
27 }
28
29 export const FACTS: RepoFacts = {
30 "generatedAt": "2026-08-06T09:57:04.729Z",
31 "sourceRevision": null,
32 "sourceCommittedAt": null,
33 "version": "0.9.4",
34 "crates": [
35 "agent",
36 "app-server",
37 "build-support",
38 "cli",
39 "config",
40 "core",
41 "execpolicy",
42 "hooks",
43 "lane",
44 "mcp",
45 "paths",
46 "protocol",
47 "release",
48 "secrets",
49 "state",
50 "telemetry",
51 "tools",
52 "tui",
53 "workflow",
54 "workflow-js"
55 ],
56 "sandboxBackends": [
57 "seatbelt (macOS, when available)",
58 "bubblewrap (Linux, opt-in when installed)"
59 ],
60 "providers": [
61 {
62 "id": "deepseek",
63 "label": "DeepSeek",
64 "env": "DEEPSEEK_API_KEY"
65 },
66 {
67 "id": "deepseek-anthropic",
68 "label": "DeepSeek Anthropic",
69 "env": "DEEPSEEK_API_KEY / ANTHROPIC_API_KEY"
70 },
71 {
72 "id": "nvidia-nim",
73 "label": "NVIDIA NIM",
74 "env": "NVIDIA_API_KEY / NVIDIA_NIM_API_KEY"
75 },
76 {
77 "id": "openai",
78 "label": "OpenAI-compatible",
79 "env": "OPENAI_API_KEY"
80 },
81 {
82 "id": "atlascloud",
83 "label": "AtlasCloud",
84 "env": "ATLASCLOUD_API_KEY"
85 },
86 {
87 "id": "wanjie-ark",
88 "label": "Wanjie Ark",
89 "env": "WANJIE_ARK_API_KEY / WANJIE_API_KEY / WANJIE_MAAS_API_KEY"
90 },
91 {
92 "id": "volcengine",
93 "label": "Volcengine Ark",
94 "env": "VOLCENGINE_API_KEY / VOLCENGINE_ARK_API_KEY / ARK_API_KEY"
95 },
96 {
97 "id": "openrouter",
98 "label": "OpenRouter",
99 "env": "OPENROUTER_API_KEY"
100 },
101 {
102 "id": "xiaomi-mimo",
103 "label": "Xiaomi MiMo",
104 "env": "XIAOMI_MIMO_TOKEN_PLAN_API_KEY / MIMO_TOKEN_PLAN_API_KEY / XIAOMI_MIMO_API_KEY / XIAOMI_API_KEY / MIMO_API_KEY"
105 },
106 {
107 "id": "novita",
108 "label": "Novita AI",
109 "env": "NOVITA_API_KEY"
110 },
111 {
112 "id": "fireworks",
113 "label": "Fireworks AI",
114 "env": "FIREWORKS_API_KEY"
115 },
116 {
117 "id": "siliconflow",
118 "label": "SiliconFlow",
119 "env": "SILICONFLOW_API_KEY"
120 },
121 {
122 "id": "siliconflow-CN",
123 "label": "SiliconFlow CN",
124 "env": "SILICONFLOW_API_KEY"
125 },
126 {
127 "id": "arcee",
128 "label": "Arcee AI",
129 "env": "ARCEE_API_KEY"
130 },
131 {
132 "id": "moonshot",
133 "label": "Moonshot/Kimi",
134 "env": "MOONSHOT_API_KEY / KIMI_API_KEY"
135 },
136 {
137 "id": "sglang",
138 "label": "SGLang",
139 "env": "SGLANG_API_KEY"
140 },
141 {
142 "id": "vllm",
143 "label": "vLLM",
144 "env": "VLLM_API_KEY"
145 },
146 {
147 "id": "ollama",
148 "label": "Ollama",
149 "env": "OLLAMA_API_KEY"
150 },
151 {
152 "id": "huggingface",
153 "label": "Hugging Face",
154 "env": "HUGGINGFACE_API_KEY / HF_TOKEN"
155 },
156 {
157 "id": "together",
158 "label": "Together AI",
159 "env": "TOGETHER_API_KEY"
160 },
161 {
162 "id": "qianfan",
163 "label": "Baidu Qianfan",
164 "env": "QIANFAN_API_KEY / BAIDU_QIANFAN_API_KEY"
165 },
166 {
167 "id": "openai-codex",
168 "label": "OpenAI Codex",
169 "env": "ChatGPT/Codex OAuth via `codex login` (OPENAI_CODEX_ACCESS_TOKEN / CODEX_ACCESS_TOKEN override)"
170 },
171 {
172 "id": "anthropic",
173 "label": "Anthropic",
174 "env": "ANTHROPIC_API_KEY"
175 },
176 {
177 "id": "openmodel",
178 "label": "OpenModel",
179 "env": "OPENMODEL_API_KEY"
180 },
181 {
182 "id": "zai",
183 "label": "Z.ai",
184 "env": "ZAI_API_KEY / Z_AI_API_KEY"
185 },
186 {
187 "id": "stepfun",
188 "label": "StepFun",
189 "env": "STEPFUN_API_KEY / STEP_API_KEY"
190 },
191 {
192 "id": "minimax",
193 "label": "MiniMax",
194 "env": "MINIMAX_API_KEY"
195 },
196 {
197 "id": "minimax-anthropic",
198 "label": "MiniMax (Anthropic-compatible)",
199 "env": "MINIMAX_API_KEY"
200 },
201 {
202 "id": "deepinfra",
203 "label": "DeepInfra",
204 "env": "DEEPINFRA_API_KEY / DEEPINFRA_TOKEN"
205 },
206 {
207 "id": "sakana",
208 "label": "Sakana AI",
209 "env": "FUGU_API_KEY / SAKANA_API_KEY"
210 },
211 {
212 "id": "longcat",
213 "label": "Meituan LongCat",
214 "env": "LONGCAT_API_KEY"
215 },
216 {
217 "id": "opencode-go",
218 "label": "OpenCode Go",
219 "env": "OPENCODE_GO_API_KEY"
220 },
221 {
222 "id": "opencode-zen",
223 "label": "OpenCode Zen",
224 "env": "OPENCODE_ZEN_API_KEY / OPENCODE_API_KEY"
225 },
226 {
227 "id": "meta",
228 "label": "Meta Model API",
229 "env": "META_MODEL_API_KEY / MODEL_API_KEY"
230 },
231 {
232 "id": "xai",
233 "label": "xAI",
234 "env": "XAI_API_KEY"
235 },
236 {
237 "id": "telecomjs",
238 "label": "TelecomJS TokenHub",
239 "env": "TELECOMJS_API_KEY"
240 },
241 {
242 "id": "modelstudio-token-plan",
243 "label": "Model Studio Token Plan",
244 "env": "MODELSTUDIO_API_KEY"
245 },
246 {
247 "id": "modelstudio-token-plan-anthropic",
248 "label": "Model Studio Token Plan (Anthropic-compatible)",
249 "env": "MODELSTUDIO_API_KEY"
250 },
251 {
252 "id": "modelstudio-coding-plan",
253 "label": "Model Studio Coding Plan",
254 "env": "MODELSTUDIO_API_KEY"
255 },
256 {
257 "id": "modelstudio-coding-plan-anthropic",
258 "label": "Model Studio Coding Plan (Anthropic-compatible)",
259 "env": "MODELSTUDIO_API_KEY"
260 }
261 ],
262 "defaultModel": "deepseek-v4-pro",
263 "nodeEngines": ">=18",
264 "toolCount": 69,
265 "license": "MIT",
266 "latestPublishedRelease": {
267 "tag": "v0.9.3",
268 "version": "0.9.3",
269 "publishedAt": "2026-07-31T15:04:14Z",
270 "url": "https://github.com/Hmbown/CodeWhale/releases/tag/v0.9.3"
271 }
272 };
273
273 lines TYPESCRIPT