pantheon-opencode 1.6.2-beta.1 → 1.6.2-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/README.md +41 -29
- package/README.pt-BR.md +12 -1
- package/bin/pantheon-init.mjs +51 -13
- package/package.json +2 -1
- package/plugin.json +1 -1
- package/prompts/README.md +58 -0
- package/prompts/debug-issue.prompt.md +46 -0
- package/prompts/dynamic/agora-generated.txt +38 -0
- package/prompts/dynamic/orchestrate-generated.txt +51 -0
- package/prompts/focus.prompt.md +42 -0
- package/prompts/implement-feature.prompt.md +39 -0
- package/prompts/optimize-database.prompt.md +58 -0
- package/prompts/orchestrate-with-zeus.prompt.md +441 -0
- package/prompts/plan-architecture.prompt.md +59 -0
- package/prompts/quick-discovery-large-codebase.prompt.md +294 -0
- package/prompts/quick-plan-large-feature.prompt.md +197 -0
- package/prompts/semantic-summarize.md +50 -0
- package/prompts/sketch.prompt.md +91 -0
- package/prompts/subtask.prompt.md +131 -0
- package/pyproject.toml +1 -1
- package/scripts/install/component-selection.mjs +9 -4
- package/scripts/install/health-check.mjs +20 -11
- package/scripts/install/interactive.mjs +9 -16
- package/scripts/install/interrupt.mjs +4 -3
- package/scripts/install/migrate.mjs +123 -72
- package/scripts/install/opencode.mjs +150 -114
- package/scripts/install/plan.mjs +8 -1
- package/scripts/install/state.mjs +7 -0
- package/scripts/install/strings.mjs +6 -0
- package/scripts/install/venv.mjs +34 -17
- package/scripts/restore.mjs +22 -10
- package/scripts/test-opencode-v2-sandbox.sh +10 -6
- package/src/pantheon/cost-command.ts +30 -133
- package/src/pantheon/model-pricing.ts +1 -536
- package/src/plugins/tui/THIRD_PARTY_NOTICES.md +24 -0
- package/src/plugins/tui/dist/cost-data-CCZUs1aJ.js +749 -0
- package/src/plugins/tui/dist/cost-data-CCZUs1aJ.js.map +1 -0
- package/src/plugins/tui/dist/quota-adapters.d.ts.map +1 -1
- package/src/plugins/tui/dist/quota-adapters.js +1 -1
- package/src/plugins/tui/dist/{quota-rpc-UL2HuFRJ.js → quota-rpc-DMmXBhBe.js} +295 -1
- package/src/plugins/tui/dist/quota-rpc-DMmXBhBe.js.map +1 -0
- package/src/plugins/tui/dist/server-v2.d.ts.map +1 -1
- package/src/plugins/tui/dist/server-v2.js +135 -12
- package/src/plugins/tui/dist/server-v2.js.map +1 -1
- package/src/plugins/tui/dist/tui-v2.d.ts +132 -5
- package/src/plugins/tui/dist/tui-v2.d.ts.map +1 -1
- package/src/plugins/tui/dist/tui-v2.js +3720 -337
- package/src/plugins/tui/dist/tui-v2.js.map +1 -1
- package/src/plugins/tui/dist/tui.js +1 -1
- package/src/plugins/tui/dist/usage-history-contract-nt1rnBPE.js +118 -0
- package/src/plugins/tui/dist/usage-history-contract-nt1rnBPE.js.map +1 -0
- package/src/plugins/tui/dist/usage-history-worker.js +25 -0
- package/src/plugins/tui/dist/usage-history-worker.js.map +1 -0
- package/src/plugins/tui/package-lock.json +17 -2
- package/src/plugins/tui/package.json +4 -2
- package/src/plugins/tui/src/cost-data.ts +607 -0
- package/src/plugins/tui/src/index-v2.tsx +32 -0
- package/src/plugins/tui/src/model-pricing.ts +536 -0
- package/src/plugins/tui/src/quota-rpc.ts +164 -0
- package/src/plugins/tui/src/quota-v2-model.ts +2 -2
- package/src/plugins/tui/src/quota-v2.tsx +338 -86
- package/src/plugins/tui/src/server-v2.ts +159 -15
- package/src/plugins/tui/src/usage-history-contract.ts +217 -0
- package/src/plugins/tui/src/usage-history-validation.ts +104 -0
- package/src/plugins/tui/src/usage-history-view.tsx +236 -0
- package/src/plugins/tui/src/usage-history-worker.ts +25 -0
- package/src/plugins/tui/src/usage-view-model.ts +272 -0
- package/src/plugins/tui/tsconfig.typecheck.json +6 -1
- package/src/plugins/tui/tsdown.config.ts +36 -4
- package/src/plugins/tui/dist/quota-rpc-UL2HuFRJ.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as quotaRpc, t as QUOTA_PROVIDER_IDS } from "./quota-rpc-
|
|
1
|
+
import { n as quotaRpc, t as QUOTA_PROVIDER_IDS } from "./quota-rpc-DMmXBhBe.js";
|
|
2
2
|
import { createComponent, createElement, createTextNode, effect, insert, insertNode, memo, setProp } from "@opentui/solid";
|
|
3
3
|
import { readFile } from "node:fs/promises";
|
|
4
4
|
import { homedir } from "node:os";
|
|
@@ -59,6 +59,2511 @@ const MODEL_USAGE_VISIBLE_CEILING = 3;
|
|
|
59
59
|
const MODEL_USAGE_MESSAGE_LIMIT = 400;
|
|
60
60
|
const MODEL_USAGE_SESSION_LIMIT = 8;
|
|
61
61
|
//#endregion
|
|
62
|
+
//#region ../../../node_modules/@profullstack/hqtui/dist/capabilities.js
|
|
63
|
+
/**
|
|
64
|
+
* What the terminal can actually do. Detection is deliberately conservative:
|
|
65
|
+
* we degrade colors and glyphs rather than print mojibake on someone's console.
|
|
66
|
+
*/
|
|
67
|
+
function detectProgram(env) {
|
|
68
|
+
if (env.TERM_PROGRAM === "hqterm") return "hqterm";
|
|
69
|
+
if (env.KITTY_WINDOW_ID || env.TERM === "xterm-kitty") return "kitty";
|
|
70
|
+
if (env.WEZTERM_EXECUTABLE || env.TERM_PROGRAM === "WezTerm") return "wezterm";
|
|
71
|
+
if (env.GHOSTTY_RESOURCES_DIR || env.TERM === "xterm-ghostty") return "ghostty";
|
|
72
|
+
if (env.TERM_PROGRAM === "iTerm.app" || env.LC_TERMINAL === "iTerm2") return "iterm";
|
|
73
|
+
if (env.ALACRITTY_WINDOW_ID || env.TERM === "alacritty") return "alacritty";
|
|
74
|
+
if (env.TERM_PROGRAM === "vscode") return "vscode";
|
|
75
|
+
if (env.WT_SESSION) return "windows-terminal";
|
|
76
|
+
if (env.TERM_PROGRAM === "Apple_Terminal") return "apple-terminal";
|
|
77
|
+
if (env.KONSOLE_VERSION) return "konsole";
|
|
78
|
+
if ((env.TERM ?? "").startsWith("xterm")) return "xterm";
|
|
79
|
+
return "unknown";
|
|
80
|
+
}
|
|
81
|
+
function detectColors(env, tty) {
|
|
82
|
+
if (env.NO_COLOR !== void 0 && env.NO_COLOR !== "") return "none";
|
|
83
|
+
if (env.FORCE_COLOR === "0") return "none";
|
|
84
|
+
if (env.FORCE_COLOR === "1") return "ansi16";
|
|
85
|
+
if (env.FORCE_COLOR === "2") return "ansi256";
|
|
86
|
+
if (env.FORCE_COLOR === "3") return "truecolor";
|
|
87
|
+
if (env.FORCE_COLOR === "false") return "none";
|
|
88
|
+
const forced = env.FORCE_COLOR !== void 0 && env.FORCE_COLOR !== "";
|
|
89
|
+
if (!tty && !forced) return "none";
|
|
90
|
+
const term = env.TERM ?? "";
|
|
91
|
+
if (term === "dumb") return "none";
|
|
92
|
+
const colorterm = (env.COLORTERM ?? "").toLowerCase();
|
|
93
|
+
if (colorterm === "truecolor" || colorterm === "24bit") return "truecolor";
|
|
94
|
+
const program = detectProgram(env);
|
|
95
|
+
if ([
|
|
96
|
+
"kitty",
|
|
97
|
+
"wezterm",
|
|
98
|
+
"ghostty",
|
|
99
|
+
"iterm",
|
|
100
|
+
"vscode",
|
|
101
|
+
"windows-terminal",
|
|
102
|
+
"konsole"
|
|
103
|
+
].includes(program)) return "truecolor";
|
|
104
|
+
if (term.includes("256")) return "ansi256";
|
|
105
|
+
if (term === "") return "ansi16";
|
|
106
|
+
return "ansi16";
|
|
107
|
+
}
|
|
108
|
+
function detectUnicode(env) {
|
|
109
|
+
if ((env.TERM ?? "") === "dumb") return false;
|
|
110
|
+
const locale = env.LC_ALL || env.LC_CTYPE || env.LANG || "";
|
|
111
|
+
if (/UTF-?8/i.test(locale)) return true;
|
|
112
|
+
if (env.WT_SESSION || env.TERM_PROGRAM || env.KITTY_WINDOW_ID) return true;
|
|
113
|
+
return process.platform === "win32" ? Boolean(env.WT_SESSION) : locale === "";
|
|
114
|
+
}
|
|
115
|
+
function detectCapabilities(overrides = {}, env = process.env, stream = process.stdout) {
|
|
116
|
+
const tty = overrides.tty ?? Boolean(stream.isTTY);
|
|
117
|
+
const term = env.TERM ?? "";
|
|
118
|
+
const program = detectProgram(env);
|
|
119
|
+
const tmux = Boolean(env.TMUX) || term.startsWith("tmux") || term.startsWith("screen");
|
|
120
|
+
const screen = term.startsWith("screen") && !env.TMUX;
|
|
121
|
+
const ssh = Boolean(env.SSH_CLIENT || env.SSH_TTY || env.SSH_CONNECTION);
|
|
122
|
+
const colors = overrides.colors ?? detectColors(env, tty);
|
|
123
|
+
const unicode = overrides.unicode ?? detectUnicode(env);
|
|
124
|
+
const syncCapable = [
|
|
125
|
+
"kitty",
|
|
126
|
+
"wezterm",
|
|
127
|
+
"ghostty",
|
|
128
|
+
"iterm",
|
|
129
|
+
"windows-terminal",
|
|
130
|
+
"konsole",
|
|
131
|
+
"alacritty",
|
|
132
|
+
"hqterm"
|
|
133
|
+
].includes(program) || tmux;
|
|
134
|
+
return {
|
|
135
|
+
tty,
|
|
136
|
+
colors,
|
|
137
|
+
trueColor: colors === "truecolor",
|
|
138
|
+
unicode,
|
|
139
|
+
braille: overrides.braille ?? (unicode && program !== "apple-terminal" && term !== "linux"),
|
|
140
|
+
mouse: overrides.mouse ?? (tty && term !== "dumb" && term !== "linux"),
|
|
141
|
+
synchronizedOutput: overrides.synchronizedOutput ?? (tty && syncCapable),
|
|
142
|
+
bracketedPaste: tty && term !== "dumb",
|
|
143
|
+
focusEvents: tty && term !== "dumb" && !screen,
|
|
144
|
+
tmux,
|
|
145
|
+
screen,
|
|
146
|
+
ssh,
|
|
147
|
+
windows: process.platform === "win32",
|
|
148
|
+
program
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
let pack = {
|
|
152
|
+
name: "OpenIcon",
|
|
153
|
+
version: "2026-09-24",
|
|
154
|
+
icons: new Map([
|
|
155
|
+
[
|
|
156
|
+
"accessibility",
|
|
157
|
+
"",
|
|
158
|
+
"♿",
|
|
159
|
+
"a11y"
|
|
160
|
+
],
|
|
161
|
+
[
|
|
162
|
+
"activity",
|
|
163
|
+
"",
|
|
164
|
+
"📈",
|
|
165
|
+
"/\\/"
|
|
166
|
+
],
|
|
167
|
+
[
|
|
168
|
+
"add",
|
|
169
|
+
"",
|
|
170
|
+
"+",
|
|
171
|
+
"+"
|
|
172
|
+
],
|
|
173
|
+
[
|
|
174
|
+
"alarm",
|
|
175
|
+
"",
|
|
176
|
+
"⏰",
|
|
177
|
+
"(!)"
|
|
178
|
+
],
|
|
179
|
+
[
|
|
180
|
+
"align-center",
|
|
181
|
+
"",
|
|
182
|
+
"≡",
|
|
183
|
+
"="
|
|
184
|
+
],
|
|
185
|
+
[
|
|
186
|
+
"align-left",
|
|
187
|
+
"",
|
|
188
|
+
"⫷",
|
|
189
|
+
"|="
|
|
190
|
+
],
|
|
191
|
+
[
|
|
192
|
+
"align-right",
|
|
193
|
+
"",
|
|
194
|
+
"⫸",
|
|
195
|
+
"=|"
|
|
196
|
+
],
|
|
197
|
+
[
|
|
198
|
+
"amazon",
|
|
199
|
+
"",
|
|
200
|
+
"ⓐ",
|
|
201
|
+
"amz"
|
|
202
|
+
],
|
|
203
|
+
[
|
|
204
|
+
"anchor",
|
|
205
|
+
"",
|
|
206
|
+
"⚓",
|
|
207
|
+
"t"
|
|
208
|
+
],
|
|
209
|
+
[
|
|
210
|
+
"android",
|
|
211
|
+
"",
|
|
212
|
+
"🤖",
|
|
213
|
+
"and"
|
|
214
|
+
],
|
|
215
|
+
[
|
|
216
|
+
"anthropic",
|
|
217
|
+
"",
|
|
218
|
+
"Ⓐ",
|
|
219
|
+
"ant"
|
|
220
|
+
],
|
|
221
|
+
[
|
|
222
|
+
"api",
|
|
223
|
+
"",
|
|
224
|
+
"⚙",
|
|
225
|
+
"api"
|
|
226
|
+
],
|
|
227
|
+
[
|
|
228
|
+
"apple",
|
|
229
|
+
"",
|
|
230
|
+
"🍎",
|
|
231
|
+
"mac"
|
|
232
|
+
],
|
|
233
|
+
[
|
|
234
|
+
"apple-music",
|
|
235
|
+
"",
|
|
236
|
+
"🎵",
|
|
237
|
+
"am"
|
|
238
|
+
],
|
|
239
|
+
[
|
|
240
|
+
"archive",
|
|
241
|
+
"",
|
|
242
|
+
"🗄",
|
|
243
|
+
"[_]"
|
|
244
|
+
],
|
|
245
|
+
[
|
|
246
|
+
"arrow-down",
|
|
247
|
+
"",
|
|
248
|
+
"↓",
|
|
249
|
+
"v"
|
|
250
|
+
],
|
|
251
|
+
[
|
|
252
|
+
"arrow-left",
|
|
253
|
+
"",
|
|
254
|
+
"←",
|
|
255
|
+
"<-"
|
|
256
|
+
],
|
|
257
|
+
[
|
|
258
|
+
"arrow-right",
|
|
259
|
+
"",
|
|
260
|
+
"→",
|
|
261
|
+
"->"
|
|
262
|
+
],
|
|
263
|
+
[
|
|
264
|
+
"arrow-up",
|
|
265
|
+
"",
|
|
266
|
+
"↑",
|
|
267
|
+
"^"
|
|
268
|
+
],
|
|
269
|
+
[
|
|
270
|
+
"arrow-up-right",
|
|
271
|
+
"",
|
|
272
|
+
"↗",
|
|
273
|
+
"/^"
|
|
274
|
+
],
|
|
275
|
+
[
|
|
276
|
+
"at",
|
|
277
|
+
"",
|
|
278
|
+
"@",
|
|
279
|
+
"@"
|
|
280
|
+
],
|
|
281
|
+
[
|
|
282
|
+
"award",
|
|
283
|
+
"",
|
|
284
|
+
"🏅",
|
|
285
|
+
"(*)"
|
|
286
|
+
],
|
|
287
|
+
[
|
|
288
|
+
"bag",
|
|
289
|
+
"",
|
|
290
|
+
"🛍",
|
|
291
|
+
"[u]"
|
|
292
|
+
],
|
|
293
|
+
[
|
|
294
|
+
"ban",
|
|
295
|
+
"",
|
|
296
|
+
"🚫",
|
|
297
|
+
"(/)"
|
|
298
|
+
],
|
|
299
|
+
[
|
|
300
|
+
"bandcamp",
|
|
301
|
+
"",
|
|
302
|
+
"◢",
|
|
303
|
+
"bc"
|
|
304
|
+
],
|
|
305
|
+
[
|
|
306
|
+
"barcode",
|
|
307
|
+
"",
|
|
308
|
+
"▥",
|
|
309
|
+
"|||"
|
|
310
|
+
],
|
|
311
|
+
[
|
|
312
|
+
"battery",
|
|
313
|
+
"",
|
|
314
|
+
"🔋",
|
|
315
|
+
"[=="
|
|
316
|
+
],
|
|
317
|
+
[
|
|
318
|
+
"battery-charging",
|
|
319
|
+
"",
|
|
320
|
+
"🔌",
|
|
321
|
+
"[=~"
|
|
322
|
+
],
|
|
323
|
+
[
|
|
324
|
+
"behance",
|
|
325
|
+
"",
|
|
326
|
+
"Bē",
|
|
327
|
+
"be"
|
|
328
|
+
],
|
|
329
|
+
[
|
|
330
|
+
"bell",
|
|
331
|
+
"",
|
|
332
|
+
"🔔",
|
|
333
|
+
"(!)"
|
|
334
|
+
],
|
|
335
|
+
[
|
|
336
|
+
"bell-off",
|
|
337
|
+
"",
|
|
338
|
+
"🔕",
|
|
339
|
+
"(x)"
|
|
340
|
+
],
|
|
341
|
+
[
|
|
342
|
+
"bitbucket",
|
|
343
|
+
"",
|
|
344
|
+
"🪣",
|
|
345
|
+
"bb"
|
|
346
|
+
],
|
|
347
|
+
[
|
|
348
|
+
"bitcoin",
|
|
349
|
+
"",
|
|
350
|
+
"₿",
|
|
351
|
+
"btc"
|
|
352
|
+
],
|
|
353
|
+
[
|
|
354
|
+
"bluesky",
|
|
355
|
+
"",
|
|
356
|
+
"🦋",
|
|
357
|
+
"bsky"
|
|
358
|
+
],
|
|
359
|
+
[
|
|
360
|
+
"bluetooth",
|
|
361
|
+
"",
|
|
362
|
+
"ᛒ",
|
|
363
|
+
"B"
|
|
364
|
+
],
|
|
365
|
+
[
|
|
366
|
+
"bold",
|
|
367
|
+
"",
|
|
368
|
+
"𝐁",
|
|
369
|
+
"B"
|
|
370
|
+
],
|
|
371
|
+
[
|
|
372
|
+
"book",
|
|
373
|
+
"",
|
|
374
|
+
"📕",
|
|
375
|
+
"[B]"
|
|
376
|
+
],
|
|
377
|
+
[
|
|
378
|
+
"book-open",
|
|
379
|
+
"",
|
|
380
|
+
"📖",
|
|
381
|
+
"[]"
|
|
382
|
+
],
|
|
383
|
+
[
|
|
384
|
+
"bookmark",
|
|
385
|
+
"",
|
|
386
|
+
"🔖",
|
|
387
|
+
"[]>"
|
|
388
|
+
],
|
|
389
|
+
[
|
|
390
|
+
"braces",
|
|
391
|
+
"",
|
|
392
|
+
"{}",
|
|
393
|
+
"{}"
|
|
394
|
+
],
|
|
395
|
+
[
|
|
396
|
+
"brave",
|
|
397
|
+
"",
|
|
398
|
+
"🦁",
|
|
399
|
+
"brv"
|
|
400
|
+
],
|
|
401
|
+
[
|
|
402
|
+
"briefcase",
|
|
403
|
+
"",
|
|
404
|
+
"💼",
|
|
405
|
+
"[b]"
|
|
406
|
+
],
|
|
407
|
+
[
|
|
408
|
+
"brush",
|
|
409
|
+
"",
|
|
410
|
+
"🖌",
|
|
411
|
+
"/~"
|
|
412
|
+
],
|
|
413
|
+
[
|
|
414
|
+
"bug",
|
|
415
|
+
"",
|
|
416
|
+
"🐛",
|
|
417
|
+
"bug"
|
|
418
|
+
],
|
|
419
|
+
[
|
|
420
|
+
"building",
|
|
421
|
+
"",
|
|
422
|
+
"🏢",
|
|
423
|
+
"[#]"
|
|
424
|
+
],
|
|
425
|
+
[
|
|
426
|
+
"bun",
|
|
427
|
+
"",
|
|
428
|
+
"🥟",
|
|
429
|
+
"bun"
|
|
430
|
+
],
|
|
431
|
+
[
|
|
432
|
+
"buy-me-a-coffee",
|
|
433
|
+
"",
|
|
434
|
+
"☕",
|
|
435
|
+
"bmc"
|
|
436
|
+
],
|
|
437
|
+
[
|
|
438
|
+
"calendar",
|
|
439
|
+
"",
|
|
440
|
+
"📅",
|
|
441
|
+
"[=]"
|
|
442
|
+
],
|
|
443
|
+
[
|
|
444
|
+
"calendar-check",
|
|
445
|
+
"",
|
|
446
|
+
"📅",
|
|
447
|
+
"[v]"
|
|
448
|
+
],
|
|
449
|
+
[
|
|
450
|
+
"calendar-plus",
|
|
451
|
+
"",
|
|
452
|
+
"📅",
|
|
453
|
+
"[+]"
|
|
454
|
+
],
|
|
455
|
+
[
|
|
456
|
+
"camera",
|
|
457
|
+
"",
|
|
458
|
+
"📷",
|
|
459
|
+
"[o]"
|
|
460
|
+
],
|
|
461
|
+
[
|
|
462
|
+
"cart",
|
|
463
|
+
"",
|
|
464
|
+
"🛒",
|
|
465
|
+
"\\_/"
|
|
466
|
+
],
|
|
467
|
+
[
|
|
468
|
+
"cast",
|
|
469
|
+
"",
|
|
470
|
+
"📡",
|
|
471
|
+
"))"
|
|
472
|
+
],
|
|
473
|
+
[
|
|
474
|
+
"cell-signal",
|
|
475
|
+
"",
|
|
476
|
+
"📶",
|
|
477
|
+
".:|"
|
|
478
|
+
],
|
|
479
|
+
[
|
|
480
|
+
"chat",
|
|
481
|
+
"",
|
|
482
|
+
"💬",
|
|
483
|
+
"()"
|
|
484
|
+
],
|
|
485
|
+
[
|
|
486
|
+
"chat-dots",
|
|
487
|
+
"",
|
|
488
|
+
"💬",
|
|
489
|
+
"(..)"
|
|
490
|
+
],
|
|
491
|
+
[
|
|
492
|
+
"check",
|
|
493
|
+
"",
|
|
494
|
+
"✓",
|
|
495
|
+
"v"
|
|
496
|
+
],
|
|
497
|
+
[
|
|
498
|
+
"check-circle",
|
|
499
|
+
"",
|
|
500
|
+
"✅",
|
|
501
|
+
"(v)"
|
|
502
|
+
],
|
|
503
|
+
[
|
|
504
|
+
"checkbox",
|
|
505
|
+
"",
|
|
506
|
+
"☑",
|
|
507
|
+
"[x]"
|
|
508
|
+
],
|
|
509
|
+
[
|
|
510
|
+
"checkbox-empty",
|
|
511
|
+
"",
|
|
512
|
+
"☐",
|
|
513
|
+
"[ ]"
|
|
514
|
+
],
|
|
515
|
+
[
|
|
516
|
+
"chevron-down",
|
|
517
|
+
"",
|
|
518
|
+
"⌄",
|
|
519
|
+
"v"
|
|
520
|
+
],
|
|
521
|
+
[
|
|
522
|
+
"chevron-left",
|
|
523
|
+
"",
|
|
524
|
+
"‹",
|
|
525
|
+
"<"
|
|
526
|
+
],
|
|
527
|
+
[
|
|
528
|
+
"chevron-right",
|
|
529
|
+
"",
|
|
530
|
+
"›",
|
|
531
|
+
">"
|
|
532
|
+
],
|
|
533
|
+
[
|
|
534
|
+
"chevron-up",
|
|
535
|
+
"",
|
|
536
|
+
"⌃",
|
|
537
|
+
"^"
|
|
538
|
+
],
|
|
539
|
+
[
|
|
540
|
+
"chevrons-left",
|
|
541
|
+
"",
|
|
542
|
+
"«",
|
|
543
|
+
"<<"
|
|
544
|
+
],
|
|
545
|
+
[
|
|
546
|
+
"chevrons-right",
|
|
547
|
+
"",
|
|
548
|
+
"»",
|
|
549
|
+
">>"
|
|
550
|
+
],
|
|
551
|
+
[
|
|
552
|
+
"chrome",
|
|
553
|
+
"",
|
|
554
|
+
"◉",
|
|
555
|
+
"chr"
|
|
556
|
+
],
|
|
557
|
+
[
|
|
558
|
+
"claude",
|
|
559
|
+
"",
|
|
560
|
+
"✳",
|
|
561
|
+
"cl"
|
|
562
|
+
],
|
|
563
|
+
[
|
|
564
|
+
"clipboard",
|
|
565
|
+
"",
|
|
566
|
+
"📋",
|
|
567
|
+
"[=]"
|
|
568
|
+
],
|
|
569
|
+
[
|
|
570
|
+
"clipboard-check",
|
|
571
|
+
"",
|
|
572
|
+
"📋",
|
|
573
|
+
"[v]"
|
|
574
|
+
],
|
|
575
|
+
[
|
|
576
|
+
"clock",
|
|
577
|
+
"",
|
|
578
|
+
"🕒",
|
|
579
|
+
"(t)"
|
|
580
|
+
],
|
|
581
|
+
[
|
|
582
|
+
"close",
|
|
583
|
+
"",
|
|
584
|
+
"✕",
|
|
585
|
+
"x"
|
|
586
|
+
],
|
|
587
|
+
[
|
|
588
|
+
"cloud",
|
|
589
|
+
"",
|
|
590
|
+
"☁",
|
|
591
|
+
"(~)"
|
|
592
|
+
],
|
|
593
|
+
[
|
|
594
|
+
"cloud-download",
|
|
595
|
+
"",
|
|
596
|
+
"☁",
|
|
597
|
+
"(v)"
|
|
598
|
+
],
|
|
599
|
+
[
|
|
600
|
+
"cloud-upload",
|
|
601
|
+
"",
|
|
602
|
+
"☁",
|
|
603
|
+
"(^)"
|
|
604
|
+
],
|
|
605
|
+
[
|
|
606
|
+
"cloudflare",
|
|
607
|
+
"",
|
|
608
|
+
"☁",
|
|
609
|
+
"cf"
|
|
610
|
+
],
|
|
611
|
+
[
|
|
612
|
+
"code",
|
|
613
|
+
"",
|
|
614
|
+
"⟨⟩",
|
|
615
|
+
"</>"
|
|
616
|
+
],
|
|
617
|
+
[
|
|
618
|
+
"codeberg",
|
|
619
|
+
"",
|
|
620
|
+
"⛰",
|
|
621
|
+
"cb"
|
|
622
|
+
],
|
|
623
|
+
[
|
|
624
|
+
"codepen",
|
|
625
|
+
"",
|
|
626
|
+
"⬡",
|
|
627
|
+
"cpn"
|
|
628
|
+
],
|
|
629
|
+
[
|
|
630
|
+
"coffee",
|
|
631
|
+
"",
|
|
632
|
+
"☕",
|
|
633
|
+
"c[_]"
|
|
634
|
+
],
|
|
635
|
+
[
|
|
636
|
+
"coins",
|
|
637
|
+
"",
|
|
638
|
+
"🪙",
|
|
639
|
+
"(o)"
|
|
640
|
+
],
|
|
641
|
+
[
|
|
642
|
+
"command",
|
|
643
|
+
"",
|
|
644
|
+
"⌘",
|
|
645
|
+
"cmd"
|
|
646
|
+
],
|
|
647
|
+
[
|
|
648
|
+
"compass",
|
|
649
|
+
"",
|
|
650
|
+
"🧭",
|
|
651
|
+
"(N)"
|
|
652
|
+
],
|
|
653
|
+
[
|
|
654
|
+
"contact",
|
|
655
|
+
"",
|
|
656
|
+
"📇",
|
|
657
|
+
"[@]"
|
|
658
|
+
],
|
|
659
|
+
[
|
|
660
|
+
"container",
|
|
661
|
+
"",
|
|
662
|
+
"📦",
|
|
663
|
+
"[c]"
|
|
664
|
+
],
|
|
665
|
+
[
|
|
666
|
+
"copy",
|
|
667
|
+
"",
|
|
668
|
+
"⧉",
|
|
669
|
+
"cp"
|
|
670
|
+
],
|
|
671
|
+
[
|
|
672
|
+
"cpu",
|
|
673
|
+
"",
|
|
674
|
+
"🔲",
|
|
675
|
+
"[#]"
|
|
676
|
+
],
|
|
677
|
+
[
|
|
678
|
+
"credit-card",
|
|
679
|
+
"",
|
|
680
|
+
"💳",
|
|
681
|
+
"[=]"
|
|
682
|
+
],
|
|
683
|
+
[
|
|
684
|
+
"crop",
|
|
685
|
+
"",
|
|
686
|
+
"⌗",
|
|
687
|
+
"[_"
|
|
688
|
+
],
|
|
689
|
+
[
|
|
690
|
+
"crosshair",
|
|
691
|
+
"",
|
|
692
|
+
"⌖",
|
|
693
|
+
"-+-"
|
|
694
|
+
],
|
|
695
|
+
[
|
|
696
|
+
"cut",
|
|
697
|
+
"",
|
|
698
|
+
"✂",
|
|
699
|
+
"8<"
|
|
700
|
+
],
|
|
701
|
+
[
|
|
702
|
+
"database",
|
|
703
|
+
"",
|
|
704
|
+
"🛢",
|
|
705
|
+
"[=]"
|
|
706
|
+
],
|
|
707
|
+
[
|
|
708
|
+
"debian",
|
|
709
|
+
"",
|
|
710
|
+
"🌀",
|
|
711
|
+
"deb"
|
|
712
|
+
],
|
|
713
|
+
[
|
|
714
|
+
"delete",
|
|
715
|
+
"",
|
|
716
|
+
"🗑",
|
|
717
|
+
"del"
|
|
718
|
+
],
|
|
719
|
+
[
|
|
720
|
+
"deno",
|
|
721
|
+
"",
|
|
722
|
+
"🦕",
|
|
723
|
+
"deno"
|
|
724
|
+
],
|
|
725
|
+
[
|
|
726
|
+
"dev-to",
|
|
727
|
+
"",
|
|
728
|
+
"DEV",
|
|
729
|
+
"dev"
|
|
730
|
+
],
|
|
731
|
+
[
|
|
732
|
+
"discord",
|
|
733
|
+
"",
|
|
734
|
+
"🎮",
|
|
735
|
+
"dc"
|
|
736
|
+
],
|
|
737
|
+
[
|
|
738
|
+
"docker",
|
|
739
|
+
"",
|
|
740
|
+
"🐳",
|
|
741
|
+
"dkr"
|
|
742
|
+
],
|
|
743
|
+
[
|
|
744
|
+
"dollar",
|
|
745
|
+
"",
|
|
746
|
+
"$",
|
|
747
|
+
"$"
|
|
748
|
+
],
|
|
749
|
+
[
|
|
750
|
+
"download",
|
|
751
|
+
"",
|
|
752
|
+
"⤓",
|
|
753
|
+
"v_"
|
|
754
|
+
],
|
|
755
|
+
[
|
|
756
|
+
"dribbble",
|
|
757
|
+
"",
|
|
758
|
+
"🏀",
|
|
759
|
+
"drb"
|
|
760
|
+
],
|
|
761
|
+
[
|
|
762
|
+
"droplet",
|
|
763
|
+
"",
|
|
764
|
+
"💧",
|
|
765
|
+
"o"
|
|
766
|
+
],
|
|
767
|
+
[
|
|
768
|
+
"ebay",
|
|
769
|
+
"",
|
|
770
|
+
"ⓔ",
|
|
771
|
+
"ebay"
|
|
772
|
+
],
|
|
773
|
+
[
|
|
774
|
+
"edit",
|
|
775
|
+
"",
|
|
776
|
+
"✎",
|
|
777
|
+
"/e"
|
|
778
|
+
],
|
|
779
|
+
[
|
|
780
|
+
"element",
|
|
781
|
+
"",
|
|
782
|
+
"Ⓔ",
|
|
783
|
+
"el"
|
|
784
|
+
],
|
|
785
|
+
[
|
|
786
|
+
"enter",
|
|
787
|
+
"",
|
|
788
|
+
"↵",
|
|
789
|
+
"<-|"
|
|
790
|
+
],
|
|
791
|
+
[
|
|
792
|
+
"error",
|
|
793
|
+
"",
|
|
794
|
+
"⛔",
|
|
795
|
+
"!!"
|
|
796
|
+
],
|
|
797
|
+
[
|
|
798
|
+
"ethereum",
|
|
799
|
+
"",
|
|
800
|
+
"Ξ",
|
|
801
|
+
"eth"
|
|
802
|
+
],
|
|
803
|
+
[
|
|
804
|
+
"etsy",
|
|
805
|
+
"",
|
|
806
|
+
"Ⓔ",
|
|
807
|
+
"etsy"
|
|
808
|
+
],
|
|
809
|
+
[
|
|
810
|
+
"external-link",
|
|
811
|
+
"",
|
|
812
|
+
"↗",
|
|
813
|
+
"->]"
|
|
814
|
+
],
|
|
815
|
+
[
|
|
816
|
+
"eye",
|
|
817
|
+
"",
|
|
818
|
+
"👁",
|
|
819
|
+
"o"
|
|
820
|
+
],
|
|
821
|
+
[
|
|
822
|
+
"eye-off",
|
|
823
|
+
"",
|
|
824
|
+
"🙈",
|
|
825
|
+
"-o-"
|
|
826
|
+
],
|
|
827
|
+
[
|
|
828
|
+
"facebook",
|
|
829
|
+
"",
|
|
830
|
+
"ⓕ",
|
|
831
|
+
"fb"
|
|
832
|
+
],
|
|
833
|
+
[
|
|
834
|
+
"farcaster",
|
|
835
|
+
"",
|
|
836
|
+
"⛩",
|
|
837
|
+
"fc"
|
|
838
|
+
],
|
|
839
|
+
[
|
|
840
|
+
"fast-forward",
|
|
841
|
+
"",
|
|
842
|
+
"⏩",
|
|
843
|
+
">>"
|
|
844
|
+
],
|
|
845
|
+
[
|
|
846
|
+
"figma",
|
|
847
|
+
"",
|
|
848
|
+
"🎨",
|
|
849
|
+
"fig"
|
|
850
|
+
],
|
|
851
|
+
[
|
|
852
|
+
"file",
|
|
853
|
+
"",
|
|
854
|
+
"📄",
|
|
855
|
+
"[f]"
|
|
856
|
+
],
|
|
857
|
+
[
|
|
858
|
+
"file-code",
|
|
859
|
+
"",
|
|
860
|
+
"📄",
|
|
861
|
+
"[<>]"
|
|
862
|
+
],
|
|
863
|
+
[
|
|
864
|
+
"file-plus",
|
|
865
|
+
"",
|
|
866
|
+
"📄",
|
|
867
|
+
"[+]"
|
|
868
|
+
],
|
|
869
|
+
[
|
|
870
|
+
"file-text",
|
|
871
|
+
"",
|
|
872
|
+
"📄",
|
|
873
|
+
"[t]"
|
|
874
|
+
],
|
|
875
|
+
[
|
|
876
|
+
"film",
|
|
877
|
+
"",
|
|
878
|
+
"🎞",
|
|
879
|
+
"[#]"
|
|
880
|
+
],
|
|
881
|
+
[
|
|
882
|
+
"filter",
|
|
883
|
+
"",
|
|
884
|
+
"⏷",
|
|
885
|
+
"Y"
|
|
886
|
+
],
|
|
887
|
+
[
|
|
888
|
+
"fingerprint",
|
|
889
|
+
"",
|
|
890
|
+
"",
|
|
891
|
+
"(@)"
|
|
892
|
+
],
|
|
893
|
+
[
|
|
894
|
+
"firefox",
|
|
895
|
+
"",
|
|
896
|
+
"🦊",
|
|
897
|
+
"ff"
|
|
898
|
+
],
|
|
899
|
+
[
|
|
900
|
+
"flag",
|
|
901
|
+
"",
|
|
902
|
+
"⚑",
|
|
903
|
+
"|>"
|
|
904
|
+
],
|
|
905
|
+
[
|
|
906
|
+
"flask",
|
|
907
|
+
"",
|
|
908
|
+
"⚗",
|
|
909
|
+
"/_\\"
|
|
910
|
+
],
|
|
911
|
+
[
|
|
912
|
+
"folder",
|
|
913
|
+
"",
|
|
914
|
+
"📁",
|
|
915
|
+
"[d]"
|
|
916
|
+
],
|
|
917
|
+
[
|
|
918
|
+
"folder-open",
|
|
919
|
+
"",
|
|
920
|
+
"📂",
|
|
921
|
+
"[d]"
|
|
922
|
+
],
|
|
923
|
+
[
|
|
924
|
+
"folder-plus",
|
|
925
|
+
"",
|
|
926
|
+
"📁",
|
|
927
|
+
"[d+]"
|
|
928
|
+
],
|
|
929
|
+
[
|
|
930
|
+
"forward",
|
|
931
|
+
"",
|
|
932
|
+
"↪",
|
|
933
|
+
"->"
|
|
934
|
+
],
|
|
935
|
+
[
|
|
936
|
+
"frown",
|
|
937
|
+
"",
|
|
938
|
+
"🙁",
|
|
939
|
+
":("
|
|
940
|
+
],
|
|
941
|
+
[
|
|
942
|
+
"gauge",
|
|
943
|
+
"",
|
|
944
|
+
"⏲",
|
|
945
|
+
"(/)"
|
|
946
|
+
],
|
|
947
|
+
[
|
|
948
|
+
"ghost",
|
|
949
|
+
"",
|
|
950
|
+
"👻",
|
|
951
|
+
"gst"
|
|
952
|
+
],
|
|
953
|
+
[
|
|
954
|
+
"gift",
|
|
955
|
+
"",
|
|
956
|
+
"🎁",
|
|
957
|
+
"[+]"
|
|
958
|
+
],
|
|
959
|
+
[
|
|
960
|
+
"git-branch",
|
|
961
|
+
"",
|
|
962
|
+
"⎇",
|
|
963
|
+
"Y"
|
|
964
|
+
],
|
|
965
|
+
[
|
|
966
|
+
"git-commit",
|
|
967
|
+
"",
|
|
968
|
+
"⊸",
|
|
969
|
+
"-o-"
|
|
970
|
+
],
|
|
971
|
+
[
|
|
972
|
+
"git-merge",
|
|
973
|
+
"",
|
|
974
|
+
"⑂",
|
|
975
|
+
">-"
|
|
976
|
+
],
|
|
977
|
+
[
|
|
978
|
+
"git-pull-request",
|
|
979
|
+
"",
|
|
980
|
+
"⇄",
|
|
981
|
+
"PR"
|
|
982
|
+
],
|
|
983
|
+
[
|
|
984
|
+
"gitea",
|
|
985
|
+
"",
|
|
986
|
+
"🍵",
|
|
987
|
+
"gt"
|
|
988
|
+
],
|
|
989
|
+
[
|
|
990
|
+
"github",
|
|
991
|
+
"",
|
|
992
|
+
"🐙",
|
|
993
|
+
"gh"
|
|
994
|
+
],
|
|
995
|
+
[
|
|
996
|
+
"gitlab",
|
|
997
|
+
"",
|
|
998
|
+
"🦊",
|
|
999
|
+
"gl"
|
|
1000
|
+
],
|
|
1001
|
+
[
|
|
1002
|
+
"globe",
|
|
1003
|
+
"",
|
|
1004
|
+
"🌐",
|
|
1005
|
+
"(#)"
|
|
1006
|
+
],
|
|
1007
|
+
[
|
|
1008
|
+
"gmail",
|
|
1009
|
+
"",
|
|
1010
|
+
"✉",
|
|
1011
|
+
"gm"
|
|
1012
|
+
],
|
|
1013
|
+
[
|
|
1014
|
+
"go",
|
|
1015
|
+
"",
|
|
1016
|
+
"🐹",
|
|
1017
|
+
"go"
|
|
1018
|
+
],
|
|
1019
|
+
[
|
|
1020
|
+
"google",
|
|
1021
|
+
"",
|
|
1022
|
+
"Ⓖ",
|
|
1023
|
+
"g"
|
|
1024
|
+
],
|
|
1025
|
+
[
|
|
1026
|
+
"google-meet",
|
|
1027
|
+
"",
|
|
1028
|
+
"📹",
|
|
1029
|
+
"meet"
|
|
1030
|
+
],
|
|
1031
|
+
[
|
|
1032
|
+
"grid",
|
|
1033
|
+
"",
|
|
1034
|
+
"▦",
|
|
1035
|
+
"::"
|
|
1036
|
+
],
|
|
1037
|
+
[
|
|
1038
|
+
"grip",
|
|
1039
|
+
"",
|
|
1040
|
+
"⠿",
|
|
1041
|
+
"::"
|
|
1042
|
+
],
|
|
1043
|
+
[
|
|
1044
|
+
"hacker-news",
|
|
1045
|
+
"",
|
|
1046
|
+
"Ⓨ",
|
|
1047
|
+
"hn"
|
|
1048
|
+
],
|
|
1049
|
+
[
|
|
1050
|
+
"hard-drive",
|
|
1051
|
+
"",
|
|
1052
|
+
"🖴",
|
|
1053
|
+
"[o]"
|
|
1054
|
+
],
|
|
1055
|
+
[
|
|
1056
|
+
"hash",
|
|
1057
|
+
"",
|
|
1058
|
+
"#",
|
|
1059
|
+
"#"
|
|
1060
|
+
],
|
|
1061
|
+
[
|
|
1062
|
+
"hashnode",
|
|
1063
|
+
"",
|
|
1064
|
+
"#",
|
|
1065
|
+
"hn#"
|
|
1066
|
+
],
|
|
1067
|
+
[
|
|
1068
|
+
"heading",
|
|
1069
|
+
"",
|
|
1070
|
+
"H",
|
|
1071
|
+
"H"
|
|
1072
|
+
],
|
|
1073
|
+
[
|
|
1074
|
+
"headphones",
|
|
1075
|
+
"",
|
|
1076
|
+
"🎧",
|
|
1077
|
+
"hp"
|
|
1078
|
+
],
|
|
1079
|
+
[
|
|
1080
|
+
"heart",
|
|
1081
|
+
"",
|
|
1082
|
+
"♥",
|
|
1083
|
+
"<3"
|
|
1084
|
+
],
|
|
1085
|
+
[
|
|
1086
|
+
"help",
|
|
1087
|
+
"",
|
|
1088
|
+
"❓",
|
|
1089
|
+
"?"
|
|
1090
|
+
],
|
|
1091
|
+
[
|
|
1092
|
+
"history",
|
|
1093
|
+
"",
|
|
1094
|
+
"🕘",
|
|
1095
|
+
"<(t)"
|
|
1096
|
+
],
|
|
1097
|
+
[
|
|
1098
|
+
"home",
|
|
1099
|
+
"",
|
|
1100
|
+
"🏠",
|
|
1101
|
+
"~"
|
|
1102
|
+
],
|
|
1103
|
+
[
|
|
1104
|
+
"hourglass",
|
|
1105
|
+
"",
|
|
1106
|
+
"⏳",
|
|
1107
|
+
"8"
|
|
1108
|
+
],
|
|
1109
|
+
[
|
|
1110
|
+
"id-card",
|
|
1111
|
+
"",
|
|
1112
|
+
"🪪",
|
|
1113
|
+
"[id]"
|
|
1114
|
+
],
|
|
1115
|
+
[
|
|
1116
|
+
"image",
|
|
1117
|
+
"",
|
|
1118
|
+
"🖼",
|
|
1119
|
+
"[^]"
|
|
1120
|
+
],
|
|
1121
|
+
[
|
|
1122
|
+
"image-plus",
|
|
1123
|
+
"",
|
|
1124
|
+
"🖼",
|
|
1125
|
+
"[+]"
|
|
1126
|
+
],
|
|
1127
|
+
[
|
|
1128
|
+
"inbox",
|
|
1129
|
+
"",
|
|
1130
|
+
"📥",
|
|
1131
|
+
"[v]"
|
|
1132
|
+
],
|
|
1133
|
+
[
|
|
1134
|
+
"info",
|
|
1135
|
+
"",
|
|
1136
|
+
"ℹ",
|
|
1137
|
+
"i"
|
|
1138
|
+
],
|
|
1139
|
+
[
|
|
1140
|
+
"instagram",
|
|
1141
|
+
"",
|
|
1142
|
+
"📷",
|
|
1143
|
+
"ig"
|
|
1144
|
+
],
|
|
1145
|
+
[
|
|
1146
|
+
"italic",
|
|
1147
|
+
"",
|
|
1148
|
+
"𝐼",
|
|
1149
|
+
"/"
|
|
1150
|
+
],
|
|
1151
|
+
[
|
|
1152
|
+
"javascript",
|
|
1153
|
+
"",
|
|
1154
|
+
"JS",
|
|
1155
|
+
"js"
|
|
1156
|
+
],
|
|
1157
|
+
[
|
|
1158
|
+
"jira",
|
|
1159
|
+
"",
|
|
1160
|
+
"◈",
|
|
1161
|
+
"jira"
|
|
1162
|
+
],
|
|
1163
|
+
[
|
|
1164
|
+
"key",
|
|
1165
|
+
"",
|
|
1166
|
+
"🔑",
|
|
1167
|
+
"o-"
|
|
1168
|
+
],
|
|
1169
|
+
[
|
|
1170
|
+
"keybase",
|
|
1171
|
+
"",
|
|
1172
|
+
"🔑",
|
|
1173
|
+
"kb"
|
|
1174
|
+
],
|
|
1175
|
+
[
|
|
1176
|
+
"keyboard",
|
|
1177
|
+
"",
|
|
1178
|
+
"⌨",
|
|
1179
|
+
"[kb]"
|
|
1180
|
+
],
|
|
1181
|
+
[
|
|
1182
|
+
"kick",
|
|
1183
|
+
"",
|
|
1184
|
+
"Ⓚ",
|
|
1185
|
+
"kick"
|
|
1186
|
+
],
|
|
1187
|
+
[
|
|
1188
|
+
"ko-fi",
|
|
1189
|
+
"",
|
|
1190
|
+
"☕",
|
|
1191
|
+
"kofi"
|
|
1192
|
+
],
|
|
1193
|
+
[
|
|
1194
|
+
"kubernetes",
|
|
1195
|
+
"",
|
|
1196
|
+
"☸",
|
|
1197
|
+
"k8s"
|
|
1198
|
+
],
|
|
1199
|
+
[
|
|
1200
|
+
"laptop",
|
|
1201
|
+
"",
|
|
1202
|
+
"💻",
|
|
1203
|
+
"[_]"
|
|
1204
|
+
],
|
|
1205
|
+
[
|
|
1206
|
+
"layers",
|
|
1207
|
+
"",
|
|
1208
|
+
"☰",
|
|
1209
|
+
"="
|
|
1210
|
+
],
|
|
1211
|
+
[
|
|
1212
|
+
"leaf",
|
|
1213
|
+
"",
|
|
1214
|
+
"🍃",
|
|
1215
|
+
"~"
|
|
1216
|
+
],
|
|
1217
|
+
[
|
|
1218
|
+
"lemmy",
|
|
1219
|
+
"",
|
|
1220
|
+
"🐭",
|
|
1221
|
+
"lmy"
|
|
1222
|
+
],
|
|
1223
|
+
[
|
|
1224
|
+
"lightbulb",
|
|
1225
|
+
"",
|
|
1226
|
+
"💡",
|
|
1227
|
+
"i"
|
|
1228
|
+
],
|
|
1229
|
+
[
|
|
1230
|
+
"line",
|
|
1231
|
+
"",
|
|
1232
|
+
"💬",
|
|
1233
|
+
"line"
|
|
1234
|
+
],
|
|
1235
|
+
[
|
|
1236
|
+
"link",
|
|
1237
|
+
"",
|
|
1238
|
+
"🔗",
|
|
1239
|
+
"~"
|
|
1240
|
+
],
|
|
1241
|
+
[
|
|
1242
|
+
"linkedin",
|
|
1243
|
+
"",
|
|
1244
|
+
"ⓘ",
|
|
1245
|
+
"in"
|
|
1246
|
+
],
|
|
1247
|
+
[
|
|
1248
|
+
"linux",
|
|
1249
|
+
"",
|
|
1250
|
+
"🐧",
|
|
1251
|
+
"lnx"
|
|
1252
|
+
],
|
|
1253
|
+
[
|
|
1254
|
+
"list",
|
|
1255
|
+
"",
|
|
1256
|
+
"☷",
|
|
1257
|
+
"-="
|
|
1258
|
+
],
|
|
1259
|
+
[
|
|
1260
|
+
"list-bullet",
|
|
1261
|
+
"",
|
|
1262
|
+
"•",
|
|
1263
|
+
"*"
|
|
1264
|
+
],
|
|
1265
|
+
[
|
|
1266
|
+
"list-ordered",
|
|
1267
|
+
"",
|
|
1268
|
+
"⒈",
|
|
1269
|
+
"1."
|
|
1270
|
+
],
|
|
1271
|
+
[
|
|
1272
|
+
"loader",
|
|
1273
|
+
"",
|
|
1274
|
+
"◌",
|
|
1275
|
+
"..."
|
|
1276
|
+
],
|
|
1277
|
+
[
|
|
1278
|
+
"lock",
|
|
1279
|
+
"",
|
|
1280
|
+
"🔒",
|
|
1281
|
+
"[#]"
|
|
1282
|
+
],
|
|
1283
|
+
[
|
|
1284
|
+
"log-in",
|
|
1285
|
+
"",
|
|
1286
|
+
"⇥",
|
|
1287
|
+
"->|"
|
|
1288
|
+
],
|
|
1289
|
+
[
|
|
1290
|
+
"log-out",
|
|
1291
|
+
"",
|
|
1292
|
+
"⇤",
|
|
1293
|
+
"|->"
|
|
1294
|
+
],
|
|
1295
|
+
[
|
|
1296
|
+
"mail",
|
|
1297
|
+
"",
|
|
1298
|
+
"✉",
|
|
1299
|
+
"@"
|
|
1300
|
+
],
|
|
1301
|
+
[
|
|
1302
|
+
"mail-open",
|
|
1303
|
+
"",
|
|
1304
|
+
"📨",
|
|
1305
|
+
"@"
|
|
1306
|
+
],
|
|
1307
|
+
[
|
|
1308
|
+
"map",
|
|
1309
|
+
"",
|
|
1310
|
+
"🗺",
|
|
1311
|
+
"[#]"
|
|
1312
|
+
],
|
|
1313
|
+
[
|
|
1314
|
+
"map-pin",
|
|
1315
|
+
"",
|
|
1316
|
+
"📍",
|
|
1317
|
+
"@"
|
|
1318
|
+
],
|
|
1319
|
+
[
|
|
1320
|
+
"mastodon",
|
|
1321
|
+
"",
|
|
1322
|
+
"🐘",
|
|
1323
|
+
"mdn"
|
|
1324
|
+
],
|
|
1325
|
+
[
|
|
1326
|
+
"matrix",
|
|
1327
|
+
"",
|
|
1328
|
+
"Ⓜ",
|
|
1329
|
+
"[m]"
|
|
1330
|
+
],
|
|
1331
|
+
[
|
|
1332
|
+
"mattermost",
|
|
1333
|
+
"",
|
|
1334
|
+
"Ⓜ",
|
|
1335
|
+
"mm"
|
|
1336
|
+
],
|
|
1337
|
+
[
|
|
1338
|
+
"maximize",
|
|
1339
|
+
"",
|
|
1340
|
+
"⛶",
|
|
1341
|
+
"[ ]"
|
|
1342
|
+
],
|
|
1343
|
+
[
|
|
1344
|
+
"medium",
|
|
1345
|
+
"",
|
|
1346
|
+
"Ⓜ",
|
|
1347
|
+
"md"
|
|
1348
|
+
],
|
|
1349
|
+
[
|
|
1350
|
+
"megaphone",
|
|
1351
|
+
"",
|
|
1352
|
+
"📣",
|
|
1353
|
+
"<|"
|
|
1354
|
+
],
|
|
1355
|
+
[
|
|
1356
|
+
"menu",
|
|
1357
|
+
"",
|
|
1358
|
+
"☰",
|
|
1359
|
+
"="
|
|
1360
|
+
],
|
|
1361
|
+
[
|
|
1362
|
+
"messenger",
|
|
1363
|
+
"",
|
|
1364
|
+
"💬",
|
|
1365
|
+
"msg"
|
|
1366
|
+
],
|
|
1367
|
+
[
|
|
1368
|
+
"mic",
|
|
1369
|
+
"",
|
|
1370
|
+
"🎤",
|
|
1371
|
+
"mic"
|
|
1372
|
+
],
|
|
1373
|
+
[
|
|
1374
|
+
"mic-off",
|
|
1375
|
+
"",
|
|
1376
|
+
"🔇",
|
|
1377
|
+
"x-m"
|
|
1378
|
+
],
|
|
1379
|
+
[
|
|
1380
|
+
"microsoft",
|
|
1381
|
+
"",
|
|
1382
|
+
"⊞",
|
|
1383
|
+
"ms"
|
|
1384
|
+
],
|
|
1385
|
+
[
|
|
1386
|
+
"minimize",
|
|
1387
|
+
"",
|
|
1388
|
+
"⊡",
|
|
1389
|
+
"]["
|
|
1390
|
+
],
|
|
1391
|
+
[
|
|
1392
|
+
"minus",
|
|
1393
|
+
"",
|
|
1394
|
+
"−",
|
|
1395
|
+
"-"
|
|
1396
|
+
],
|
|
1397
|
+
[
|
|
1398
|
+
"minus-circle",
|
|
1399
|
+
"",
|
|
1400
|
+
"⊖",
|
|
1401
|
+
"(-)"
|
|
1402
|
+
],
|
|
1403
|
+
[
|
|
1404
|
+
"misskey",
|
|
1405
|
+
"",
|
|
1406
|
+
"Ⓜ",
|
|
1407
|
+
"mk"
|
|
1408
|
+
],
|
|
1409
|
+
[
|
|
1410
|
+
"monitor",
|
|
1411
|
+
"",
|
|
1412
|
+
"🖥",
|
|
1413
|
+
"[ ]"
|
|
1414
|
+
],
|
|
1415
|
+
[
|
|
1416
|
+
"moon",
|
|
1417
|
+
"",
|
|
1418
|
+
"🌙",
|
|
1419
|
+
"C"
|
|
1420
|
+
],
|
|
1421
|
+
[
|
|
1422
|
+
"more-horizontal",
|
|
1423
|
+
"",
|
|
1424
|
+
"⋯",
|
|
1425
|
+
"..."
|
|
1426
|
+
],
|
|
1427
|
+
[
|
|
1428
|
+
"more-vertical",
|
|
1429
|
+
"",
|
|
1430
|
+
"⋮",
|
|
1431
|
+
":"
|
|
1432
|
+
],
|
|
1433
|
+
[
|
|
1434
|
+
"mouse",
|
|
1435
|
+
"",
|
|
1436
|
+
"🖱",
|
|
1437
|
+
"(|)"
|
|
1438
|
+
],
|
|
1439
|
+
[
|
|
1440
|
+
"move",
|
|
1441
|
+
"",
|
|
1442
|
+
"✥",
|
|
1443
|
+
"+"
|
|
1444
|
+
],
|
|
1445
|
+
[
|
|
1446
|
+
"music",
|
|
1447
|
+
"",
|
|
1448
|
+
"🎵",
|
|
1449
|
+
"#"
|
|
1450
|
+
],
|
|
1451
|
+
[
|
|
1452
|
+
"navigation",
|
|
1453
|
+
"",
|
|
1454
|
+
"➶",
|
|
1455
|
+
">"
|
|
1456
|
+
],
|
|
1457
|
+
[
|
|
1458
|
+
"netlify",
|
|
1459
|
+
"",
|
|
1460
|
+
"◆",
|
|
1461
|
+
"ntl"
|
|
1462
|
+
],
|
|
1463
|
+
[
|
|
1464
|
+
"newspaper",
|
|
1465
|
+
"",
|
|
1466
|
+
"📰",
|
|
1467
|
+
"[n]"
|
|
1468
|
+
],
|
|
1469
|
+
[
|
|
1470
|
+
"nodejs",
|
|
1471
|
+
"",
|
|
1472
|
+
"⬢",
|
|
1473
|
+
"node"
|
|
1474
|
+
],
|
|
1475
|
+
[
|
|
1476
|
+
"notion",
|
|
1477
|
+
"",
|
|
1478
|
+
"Ⓝ",
|
|
1479
|
+
"ntn"
|
|
1480
|
+
],
|
|
1481
|
+
[
|
|
1482
|
+
"npm",
|
|
1483
|
+
"",
|
|
1484
|
+
"📦",
|
|
1485
|
+
"npm"
|
|
1486
|
+
],
|
|
1487
|
+
[
|
|
1488
|
+
"online",
|
|
1489
|
+
"",
|
|
1490
|
+
"🟢",
|
|
1491
|
+
"(o)"
|
|
1492
|
+
],
|
|
1493
|
+
[
|
|
1494
|
+
"openai",
|
|
1495
|
+
"",
|
|
1496
|
+
"✺",
|
|
1497
|
+
"oai"
|
|
1498
|
+
],
|
|
1499
|
+
[
|
|
1500
|
+
"package",
|
|
1501
|
+
"",
|
|
1502
|
+
"📦",
|
|
1503
|
+
"[#]"
|
|
1504
|
+
],
|
|
1505
|
+
[
|
|
1506
|
+
"palette",
|
|
1507
|
+
"",
|
|
1508
|
+
"🎨",
|
|
1509
|
+
"(:)"
|
|
1510
|
+
],
|
|
1511
|
+
[
|
|
1512
|
+
"paperclip",
|
|
1513
|
+
"",
|
|
1514
|
+
"📎",
|
|
1515
|
+
"0/"
|
|
1516
|
+
],
|
|
1517
|
+
[
|
|
1518
|
+
"patreon",
|
|
1519
|
+
"",
|
|
1520
|
+
"Ⓟ",
|
|
1521
|
+
"pat"
|
|
1522
|
+
],
|
|
1523
|
+
[
|
|
1524
|
+
"pause",
|
|
1525
|
+
"",
|
|
1526
|
+
"⏸",
|
|
1527
|
+
"||"
|
|
1528
|
+
],
|
|
1529
|
+
[
|
|
1530
|
+
"paypal",
|
|
1531
|
+
"",
|
|
1532
|
+
"Ⓟ",
|
|
1533
|
+
"pp"
|
|
1534
|
+
],
|
|
1535
|
+
[
|
|
1536
|
+
"peertube",
|
|
1537
|
+
"",
|
|
1538
|
+
"▶",
|
|
1539
|
+
"pt"
|
|
1540
|
+
],
|
|
1541
|
+
[
|
|
1542
|
+
"pen-tool",
|
|
1543
|
+
"",
|
|
1544
|
+
"✒",
|
|
1545
|
+
"_/"
|
|
1546
|
+
],
|
|
1547
|
+
[
|
|
1548
|
+
"percent",
|
|
1549
|
+
"",
|
|
1550
|
+
"%",
|
|
1551
|
+
"%"
|
|
1552
|
+
],
|
|
1553
|
+
[
|
|
1554
|
+
"phone",
|
|
1555
|
+
"",
|
|
1556
|
+
"☎",
|
|
1557
|
+
"tel"
|
|
1558
|
+
],
|
|
1559
|
+
[
|
|
1560
|
+
"phone-call",
|
|
1561
|
+
"",
|
|
1562
|
+
"📞",
|
|
1563
|
+
"tel"
|
|
1564
|
+
],
|
|
1565
|
+
[
|
|
1566
|
+
"phone-off",
|
|
1567
|
+
"",
|
|
1568
|
+
"📵",
|
|
1569
|
+
"x-t"
|
|
1570
|
+
],
|
|
1571
|
+
[
|
|
1572
|
+
"pin",
|
|
1573
|
+
"",
|
|
1574
|
+
"📌",
|
|
1575
|
+
"-|"
|
|
1576
|
+
],
|
|
1577
|
+
[
|
|
1578
|
+
"pinterest",
|
|
1579
|
+
"",
|
|
1580
|
+
"📌",
|
|
1581
|
+
"pin"
|
|
1582
|
+
],
|
|
1583
|
+
[
|
|
1584
|
+
"pixelfed",
|
|
1585
|
+
"",
|
|
1586
|
+
"🖼",
|
|
1587
|
+
"pxf"
|
|
1588
|
+
],
|
|
1589
|
+
[
|
|
1590
|
+
"play",
|
|
1591
|
+
"",
|
|
1592
|
+
"▶",
|
|
1593
|
+
">"
|
|
1594
|
+
],
|
|
1595
|
+
[
|
|
1596
|
+
"plug",
|
|
1597
|
+
"",
|
|
1598
|
+
"🔌",
|
|
1599
|
+
"-["
|
|
1600
|
+
],
|
|
1601
|
+
[
|
|
1602
|
+
"plus-circle",
|
|
1603
|
+
"",
|
|
1604
|
+
"⊕",
|
|
1605
|
+
"(+)"
|
|
1606
|
+
],
|
|
1607
|
+
[
|
|
1608
|
+
"power",
|
|
1609
|
+
"",
|
|
1610
|
+
"⏻",
|
|
1611
|
+
"(|)"
|
|
1612
|
+
],
|
|
1613
|
+
[
|
|
1614
|
+
"print",
|
|
1615
|
+
"",
|
|
1616
|
+
"🖨",
|
|
1617
|
+
"prn"
|
|
1618
|
+
],
|
|
1619
|
+
[
|
|
1620
|
+
"product-hunt",
|
|
1621
|
+
"",
|
|
1622
|
+
"Ⓟ",
|
|
1623
|
+
"ph"
|
|
1624
|
+
],
|
|
1625
|
+
[
|
|
1626
|
+
"proton-mail",
|
|
1627
|
+
"",
|
|
1628
|
+
"✉",
|
|
1629
|
+
"pm"
|
|
1630
|
+
],
|
|
1631
|
+
[
|
|
1632
|
+
"puzzle",
|
|
1633
|
+
"",
|
|
1634
|
+
"🧩",
|
|
1635
|
+
"[+]"
|
|
1636
|
+
],
|
|
1637
|
+
[
|
|
1638
|
+
"python",
|
|
1639
|
+
"",
|
|
1640
|
+
"🐍",
|
|
1641
|
+
"py"
|
|
1642
|
+
],
|
|
1643
|
+
[
|
|
1644
|
+
"qr-code",
|
|
1645
|
+
"",
|
|
1646
|
+
"▦",
|
|
1647
|
+
"[#]"
|
|
1648
|
+
],
|
|
1649
|
+
[
|
|
1650
|
+
"quote",
|
|
1651
|
+
"",
|
|
1652
|
+
"❝",
|
|
1653
|
+
"\""
|
|
1654
|
+
],
|
|
1655
|
+
[
|
|
1656
|
+
"radio",
|
|
1657
|
+
"",
|
|
1658
|
+
"📻",
|
|
1659
|
+
"(o)"
|
|
1660
|
+
],
|
|
1661
|
+
[
|
|
1662
|
+
"radio-off",
|
|
1663
|
+
"",
|
|
1664
|
+
"○",
|
|
1665
|
+
"( )"
|
|
1666
|
+
],
|
|
1667
|
+
[
|
|
1668
|
+
"radio-on",
|
|
1669
|
+
"",
|
|
1670
|
+
"◉",
|
|
1671
|
+
"(*)"
|
|
1672
|
+
],
|
|
1673
|
+
[
|
|
1674
|
+
"railway",
|
|
1675
|
+
"",
|
|
1676
|
+
"🚆",
|
|
1677
|
+
"rly"
|
|
1678
|
+
],
|
|
1679
|
+
[
|
|
1680
|
+
"receipt",
|
|
1681
|
+
"",
|
|
1682
|
+
"🧾",
|
|
1683
|
+
"[$]"
|
|
1684
|
+
],
|
|
1685
|
+
[
|
|
1686
|
+
"reddit",
|
|
1687
|
+
"",
|
|
1688
|
+
"👽",
|
|
1689
|
+
"rd"
|
|
1690
|
+
],
|
|
1691
|
+
[
|
|
1692
|
+
"redo",
|
|
1693
|
+
"",
|
|
1694
|
+
"↷",
|
|
1695
|
+
"->"
|
|
1696
|
+
],
|
|
1697
|
+
[
|
|
1698
|
+
"refresh",
|
|
1699
|
+
"",
|
|
1700
|
+
"⟳",
|
|
1701
|
+
"@"
|
|
1702
|
+
],
|
|
1703
|
+
[
|
|
1704
|
+
"repeat",
|
|
1705
|
+
"",
|
|
1706
|
+
"🔁",
|
|
1707
|
+
"<->"
|
|
1708
|
+
],
|
|
1709
|
+
[
|
|
1710
|
+
"reply",
|
|
1711
|
+
"",
|
|
1712
|
+
"↩",
|
|
1713
|
+
"<-"
|
|
1714
|
+
],
|
|
1715
|
+
[
|
|
1716
|
+
"rewind",
|
|
1717
|
+
"",
|
|
1718
|
+
"⏪",
|
|
1719
|
+
"<<"
|
|
1720
|
+
],
|
|
1721
|
+
[
|
|
1722
|
+
"rocket",
|
|
1723
|
+
"",
|
|
1724
|
+
"🚀",
|
|
1725
|
+
"^"
|
|
1726
|
+
],
|
|
1727
|
+
[
|
|
1728
|
+
"rocketchat",
|
|
1729
|
+
"",
|
|
1730
|
+
"🚀",
|
|
1731
|
+
"rc"
|
|
1732
|
+
],
|
|
1733
|
+
[
|
|
1734
|
+
"rss",
|
|
1735
|
+
"",
|
|
1736
|
+
"📡",
|
|
1737
|
+
"rss"
|
|
1738
|
+
],
|
|
1739
|
+
[
|
|
1740
|
+
"ruler",
|
|
1741
|
+
"",
|
|
1742
|
+
"📏",
|
|
1743
|
+
"|-|"
|
|
1744
|
+
],
|
|
1745
|
+
[
|
|
1746
|
+
"rust",
|
|
1747
|
+
"",
|
|
1748
|
+
"🦀",
|
|
1749
|
+
"rs"
|
|
1750
|
+
],
|
|
1751
|
+
[
|
|
1752
|
+
"safari",
|
|
1753
|
+
"",
|
|
1754
|
+
"🧭",
|
|
1755
|
+
"saf"
|
|
1756
|
+
],
|
|
1757
|
+
[
|
|
1758
|
+
"save",
|
|
1759
|
+
"",
|
|
1760
|
+
"💾",
|
|
1761
|
+
"[s]"
|
|
1762
|
+
],
|
|
1763
|
+
[
|
|
1764
|
+
"search",
|
|
1765
|
+
"",
|
|
1766
|
+
"🔍",
|
|
1767
|
+
"?"
|
|
1768
|
+
],
|
|
1769
|
+
[
|
|
1770
|
+
"send",
|
|
1771
|
+
"",
|
|
1772
|
+
"➤",
|
|
1773
|
+
">>"
|
|
1774
|
+
],
|
|
1775
|
+
[
|
|
1776
|
+
"server",
|
|
1777
|
+
"",
|
|
1778
|
+
"🖥",
|
|
1779
|
+
"[:]"
|
|
1780
|
+
],
|
|
1781
|
+
[
|
|
1782
|
+
"settings",
|
|
1783
|
+
"",
|
|
1784
|
+
"⚙",
|
|
1785
|
+
"*"
|
|
1786
|
+
],
|
|
1787
|
+
[
|
|
1788
|
+
"share",
|
|
1789
|
+
"",
|
|
1790
|
+
"⤴",
|
|
1791
|
+
"<"
|
|
1792
|
+
],
|
|
1793
|
+
[
|
|
1794
|
+
"share-out",
|
|
1795
|
+
"",
|
|
1796
|
+
"⇪",
|
|
1797
|
+
"^"
|
|
1798
|
+
],
|
|
1799
|
+
[
|
|
1800
|
+
"shield",
|
|
1801
|
+
"",
|
|
1802
|
+
"🛡",
|
|
1803
|
+
"[S]"
|
|
1804
|
+
],
|
|
1805
|
+
[
|
|
1806
|
+
"shield-check",
|
|
1807
|
+
"",
|
|
1808
|
+
"🛡",
|
|
1809
|
+
"[v]"
|
|
1810
|
+
],
|
|
1811
|
+
[
|
|
1812
|
+
"shopify",
|
|
1813
|
+
"",
|
|
1814
|
+
"🛍",
|
|
1815
|
+
"shp"
|
|
1816
|
+
],
|
|
1817
|
+
[
|
|
1818
|
+
"shuffle",
|
|
1819
|
+
"",
|
|
1820
|
+
"🔀",
|
|
1821
|
+
"><"
|
|
1822
|
+
],
|
|
1823
|
+
[
|
|
1824
|
+
"sidebar",
|
|
1825
|
+
"",
|
|
1826
|
+
"▥",
|
|
1827
|
+
"|="
|
|
1828
|
+
],
|
|
1829
|
+
[
|
|
1830
|
+
"signal",
|
|
1831
|
+
"",
|
|
1832
|
+
"💬",
|
|
1833
|
+
"sig"
|
|
1834
|
+
],
|
|
1835
|
+
[
|
|
1836
|
+
"skip-back",
|
|
1837
|
+
"",
|
|
1838
|
+
"⏮",
|
|
1839
|
+
"|<"
|
|
1840
|
+
],
|
|
1841
|
+
[
|
|
1842
|
+
"skip-forward",
|
|
1843
|
+
"",
|
|
1844
|
+
"⏭",
|
|
1845
|
+
">|"
|
|
1846
|
+
],
|
|
1847
|
+
[
|
|
1848
|
+
"skype",
|
|
1849
|
+
"",
|
|
1850
|
+
"Ⓢ",
|
|
1851
|
+
"sky"
|
|
1852
|
+
],
|
|
1853
|
+
[
|
|
1854
|
+
"slack",
|
|
1855
|
+
"",
|
|
1856
|
+
"#",
|
|
1857
|
+
"slk"
|
|
1858
|
+
],
|
|
1859
|
+
[
|
|
1860
|
+
"sliders",
|
|
1861
|
+
"",
|
|
1862
|
+
"🎚",
|
|
1863
|
+
"=|="
|
|
1864
|
+
],
|
|
1865
|
+
[
|
|
1866
|
+
"smartphone",
|
|
1867
|
+
"",
|
|
1868
|
+
"📱",
|
|
1869
|
+
"[.]"
|
|
1870
|
+
],
|
|
1871
|
+
[
|
|
1872
|
+
"smile",
|
|
1873
|
+
"",
|
|
1874
|
+
"🙂",
|
|
1875
|
+
":)"
|
|
1876
|
+
],
|
|
1877
|
+
[
|
|
1878
|
+
"sms",
|
|
1879
|
+
"",
|
|
1880
|
+
"💬",
|
|
1881
|
+
"sms"
|
|
1882
|
+
],
|
|
1883
|
+
[
|
|
1884
|
+
"snapchat",
|
|
1885
|
+
"",
|
|
1886
|
+
"👻",
|
|
1887
|
+
"snap"
|
|
1888
|
+
],
|
|
1889
|
+
[
|
|
1890
|
+
"sort",
|
|
1891
|
+
"",
|
|
1892
|
+
"⇅",
|
|
1893
|
+
"^v"
|
|
1894
|
+
],
|
|
1895
|
+
[
|
|
1896
|
+
"sort-asc",
|
|
1897
|
+
"",
|
|
1898
|
+
"↑",
|
|
1899
|
+
"a-z"
|
|
1900
|
+
],
|
|
1901
|
+
[
|
|
1902
|
+
"sort-desc",
|
|
1903
|
+
"",
|
|
1904
|
+
"↓",
|
|
1905
|
+
"z-a"
|
|
1906
|
+
],
|
|
1907
|
+
[
|
|
1908
|
+
"soundcloud",
|
|
1909
|
+
"",
|
|
1910
|
+
"☁",
|
|
1911
|
+
"sc"
|
|
1912
|
+
],
|
|
1913
|
+
[
|
|
1914
|
+
"sourcehut",
|
|
1915
|
+
"",
|
|
1916
|
+
"◯",
|
|
1917
|
+
"srht"
|
|
1918
|
+
],
|
|
1919
|
+
[
|
|
1920
|
+
"sparkles",
|
|
1921
|
+
"",
|
|
1922
|
+
"✨",
|
|
1923
|
+
"*+"
|
|
1924
|
+
],
|
|
1925
|
+
[
|
|
1926
|
+
"spotify",
|
|
1927
|
+
"",
|
|
1928
|
+
"🎵",
|
|
1929
|
+
"spot"
|
|
1930
|
+
],
|
|
1931
|
+
[
|
|
1932
|
+
"stack-overflow",
|
|
1933
|
+
"",
|
|
1934
|
+
"📚",
|
|
1935
|
+
"so"
|
|
1936
|
+
],
|
|
1937
|
+
[
|
|
1938
|
+
"star",
|
|
1939
|
+
"",
|
|
1940
|
+
"★",
|
|
1941
|
+
"*"
|
|
1942
|
+
],
|
|
1943
|
+
[
|
|
1944
|
+
"stop",
|
|
1945
|
+
"",
|
|
1946
|
+
"⏹",
|
|
1947
|
+
"[]"
|
|
1948
|
+
],
|
|
1949
|
+
[
|
|
1950
|
+
"store",
|
|
1951
|
+
"",
|
|
1952
|
+
"🏪",
|
|
1953
|
+
"[S]"
|
|
1954
|
+
],
|
|
1955
|
+
[
|
|
1956
|
+
"strikethrough",
|
|
1957
|
+
"",
|
|
1958
|
+
"S̶",
|
|
1959
|
+
"-s-"
|
|
1960
|
+
],
|
|
1961
|
+
[
|
|
1962
|
+
"stripe",
|
|
1963
|
+
"",
|
|
1964
|
+
"Ⓢ",
|
|
1965
|
+
"str"
|
|
1966
|
+
],
|
|
1967
|
+
[
|
|
1968
|
+
"substack",
|
|
1969
|
+
"",
|
|
1970
|
+
"✉",
|
|
1971
|
+
"ss"
|
|
1972
|
+
],
|
|
1973
|
+
[
|
|
1974
|
+
"sun",
|
|
1975
|
+
"",
|
|
1976
|
+
"☀",
|
|
1977
|
+
"*"
|
|
1978
|
+
],
|
|
1979
|
+
[
|
|
1980
|
+
"supabase",
|
|
1981
|
+
"",
|
|
1982
|
+
"⚡",
|
|
1983
|
+
"sb"
|
|
1984
|
+
],
|
|
1985
|
+
[
|
|
1986
|
+
"table",
|
|
1987
|
+
"",
|
|
1988
|
+
"▦",
|
|
1989
|
+
"[#]"
|
|
1990
|
+
],
|
|
1991
|
+
[
|
|
1992
|
+
"tablet",
|
|
1993
|
+
"",
|
|
1994
|
+
"📱",
|
|
1995
|
+
"[..]"
|
|
1996
|
+
],
|
|
1997
|
+
[
|
|
1998
|
+
"tag",
|
|
1999
|
+
"",
|
|
2000
|
+
"🏷",
|
|
2001
|
+
"#"
|
|
2002
|
+
],
|
|
2003
|
+
[
|
|
2004
|
+
"target",
|
|
2005
|
+
"",
|
|
2006
|
+
"🎯",
|
|
2007
|
+
"(o)"
|
|
2008
|
+
],
|
|
2009
|
+
[
|
|
2010
|
+
"telegram",
|
|
2011
|
+
"",
|
|
2012
|
+
"✈",
|
|
2013
|
+
"tg"
|
|
2014
|
+
],
|
|
2015
|
+
[
|
|
2016
|
+
"terminal",
|
|
2017
|
+
"",
|
|
2018
|
+
"⌨",
|
|
2019
|
+
">_"
|
|
2020
|
+
],
|
|
2021
|
+
[
|
|
2022
|
+
"theme",
|
|
2023
|
+
"",
|
|
2024
|
+
"◐",
|
|
2025
|
+
"(|)"
|
|
2026
|
+
],
|
|
2027
|
+
[
|
|
2028
|
+
"thermometer",
|
|
2029
|
+
"",
|
|
2030
|
+
"🌡",
|
|
2031
|
+
"|o"
|
|
2032
|
+
],
|
|
2033
|
+
[
|
|
2034
|
+
"threads",
|
|
2035
|
+
"",
|
|
2036
|
+
"@",
|
|
2037
|
+
"th"
|
|
2038
|
+
],
|
|
2039
|
+
[
|
|
2040
|
+
"thumbs-down",
|
|
2041
|
+
"",
|
|
2042
|
+
"👎",
|
|
2043
|
+
"-1"
|
|
2044
|
+
],
|
|
2045
|
+
[
|
|
2046
|
+
"thumbs-up",
|
|
2047
|
+
"",
|
|
2048
|
+
"👍",
|
|
2049
|
+
"+1"
|
|
2050
|
+
],
|
|
2051
|
+
[
|
|
2052
|
+
"tiktok",
|
|
2053
|
+
"",
|
|
2054
|
+
"♪",
|
|
2055
|
+
"tt"
|
|
2056
|
+
],
|
|
2057
|
+
[
|
|
2058
|
+
"timer",
|
|
2059
|
+
"",
|
|
2060
|
+
"⏱",
|
|
2061
|
+
"(:)"
|
|
2062
|
+
],
|
|
2063
|
+
[
|
|
2064
|
+
"toggle-off",
|
|
2065
|
+
"",
|
|
2066
|
+
"🔘",
|
|
2067
|
+
"[o=]"
|
|
2068
|
+
],
|
|
2069
|
+
[
|
|
2070
|
+
"toggle-on",
|
|
2071
|
+
"",
|
|
2072
|
+
"🔘",
|
|
2073
|
+
"[=o]"
|
|
2074
|
+
],
|
|
2075
|
+
[
|
|
2076
|
+
"tor",
|
|
2077
|
+
"",
|
|
2078
|
+
"🧅",
|
|
2079
|
+
"tor"
|
|
2080
|
+
],
|
|
2081
|
+
[
|
|
2082
|
+
"translate",
|
|
2083
|
+
"",
|
|
2084
|
+
"🌐",
|
|
2085
|
+
"A/a"
|
|
2086
|
+
],
|
|
2087
|
+
[
|
|
2088
|
+
"trello",
|
|
2089
|
+
"",
|
|
2090
|
+
"▤",
|
|
2091
|
+
"tr"
|
|
2092
|
+
],
|
|
2093
|
+
[
|
|
2094
|
+
"trophy",
|
|
2095
|
+
"",
|
|
2096
|
+
"🏆",
|
|
2097
|
+
"\\_/"
|
|
2098
|
+
],
|
|
2099
|
+
[
|
|
2100
|
+
"truck",
|
|
2101
|
+
"",
|
|
2102
|
+
"🚚",
|
|
2103
|
+
"[=o"
|
|
2104
|
+
],
|
|
2105
|
+
[
|
|
2106
|
+
"tumblr",
|
|
2107
|
+
"",
|
|
2108
|
+
"ⓣ",
|
|
2109
|
+
"tb"
|
|
2110
|
+
],
|
|
2111
|
+
[
|
|
2112
|
+
"tv",
|
|
2113
|
+
"",
|
|
2114
|
+
"📺",
|
|
2115
|
+
"[_]"
|
|
2116
|
+
],
|
|
2117
|
+
[
|
|
2118
|
+
"twitch",
|
|
2119
|
+
"",
|
|
2120
|
+
"📺",
|
|
2121
|
+
"ttv"
|
|
2122
|
+
],
|
|
2123
|
+
[
|
|
2124
|
+
"type",
|
|
2125
|
+
"",
|
|
2126
|
+
"T",
|
|
2127
|
+
"T"
|
|
2128
|
+
],
|
|
2129
|
+
[
|
|
2130
|
+
"typescript",
|
|
2131
|
+
"",
|
|
2132
|
+
"TS",
|
|
2133
|
+
"ts"
|
|
2134
|
+
],
|
|
2135
|
+
[
|
|
2136
|
+
"ubuntu",
|
|
2137
|
+
"",
|
|
2138
|
+
"◎",
|
|
2139
|
+
"ubu"
|
|
2140
|
+
],
|
|
2141
|
+
[
|
|
2142
|
+
"umbrella",
|
|
2143
|
+
"",
|
|
2144
|
+
"☂",
|
|
2145
|
+
"T"
|
|
2146
|
+
],
|
|
2147
|
+
[
|
|
2148
|
+
"underline",
|
|
2149
|
+
"",
|
|
2150
|
+
"U̲",
|
|
2151
|
+
"_"
|
|
2152
|
+
],
|
|
2153
|
+
[
|
|
2154
|
+
"undo",
|
|
2155
|
+
"",
|
|
2156
|
+
"↶",
|
|
2157
|
+
"<-"
|
|
2158
|
+
],
|
|
2159
|
+
[
|
|
2160
|
+
"unlink",
|
|
2161
|
+
"",
|
|
2162
|
+
"⛓",
|
|
2163
|
+
"~/"
|
|
2164
|
+
],
|
|
2165
|
+
[
|
|
2166
|
+
"unlock",
|
|
2167
|
+
"",
|
|
2168
|
+
"🔓",
|
|
2169
|
+
"[ ]"
|
|
2170
|
+
],
|
|
2171
|
+
[
|
|
2172
|
+
"upload",
|
|
2173
|
+
"",
|
|
2174
|
+
"⤒",
|
|
2175
|
+
"^_"
|
|
2176
|
+
],
|
|
2177
|
+
[
|
|
2178
|
+
"user",
|
|
2179
|
+
"",
|
|
2180
|
+
"👤",
|
|
2181
|
+
"@"
|
|
2182
|
+
],
|
|
2183
|
+
[
|
|
2184
|
+
"user-check",
|
|
2185
|
+
"",
|
|
2186
|
+
"👤",
|
|
2187
|
+
"@v"
|
|
2188
|
+
],
|
|
2189
|
+
[
|
|
2190
|
+
"user-circle",
|
|
2191
|
+
"",
|
|
2192
|
+
"👤",
|
|
2193
|
+
"(@)"
|
|
2194
|
+
],
|
|
2195
|
+
[
|
|
2196
|
+
"user-minus",
|
|
2197
|
+
"",
|
|
2198
|
+
"👤",
|
|
2199
|
+
"@-"
|
|
2200
|
+
],
|
|
2201
|
+
[
|
|
2202
|
+
"user-plus",
|
|
2203
|
+
"",
|
|
2204
|
+
"👤",
|
|
2205
|
+
"@+"
|
|
2206
|
+
],
|
|
2207
|
+
[
|
|
2208
|
+
"users",
|
|
2209
|
+
"",
|
|
2210
|
+
"👥",
|
|
2211
|
+
"@@"
|
|
2212
|
+
],
|
|
2213
|
+
[
|
|
2214
|
+
"vercel",
|
|
2215
|
+
"",
|
|
2216
|
+
"▲",
|
|
2217
|
+
"vc"
|
|
2218
|
+
],
|
|
2219
|
+
[
|
|
2220
|
+
"video",
|
|
2221
|
+
"",
|
|
2222
|
+
"📹",
|
|
2223
|
+
"[>"
|
|
2224
|
+
],
|
|
2225
|
+
[
|
|
2226
|
+
"vimeo",
|
|
2227
|
+
"",
|
|
2228
|
+
"ⓥ",
|
|
2229
|
+
"vm"
|
|
2230
|
+
],
|
|
2231
|
+
[
|
|
2232
|
+
"voicemail",
|
|
2233
|
+
"",
|
|
2234
|
+
"⌨",
|
|
2235
|
+
"oo"
|
|
2236
|
+
],
|
|
2237
|
+
[
|
|
2238
|
+
"volume",
|
|
2239
|
+
"",
|
|
2240
|
+
"🔊",
|
|
2241
|
+
"<))"
|
|
2242
|
+
],
|
|
2243
|
+
[
|
|
2244
|
+
"volume-low",
|
|
2245
|
+
"",
|
|
2246
|
+
"🔉",
|
|
2247
|
+
"<)"
|
|
2248
|
+
],
|
|
2249
|
+
[
|
|
2250
|
+
"volume-off",
|
|
2251
|
+
"",
|
|
2252
|
+
"🔇",
|
|
2253
|
+
"<x"
|
|
2254
|
+
],
|
|
2255
|
+
[
|
|
2256
|
+
"wallet",
|
|
2257
|
+
"",
|
|
2258
|
+
"👛",
|
|
2259
|
+
"[$]"
|
|
2260
|
+
],
|
|
2261
|
+
[
|
|
2262
|
+
"warning",
|
|
2263
|
+
"",
|
|
2264
|
+
"⚠",
|
|
2265
|
+
"!"
|
|
2266
|
+
],
|
|
2267
|
+
[
|
|
2268
|
+
"watch",
|
|
2269
|
+
"",
|
|
2270
|
+
"⌚",
|
|
2271
|
+
"(:)"
|
|
2272
|
+
],
|
|
2273
|
+
[
|
|
2274
|
+
"webhook",
|
|
2275
|
+
"",
|
|
2276
|
+
"🪝",
|
|
2277
|
+
"<~>"
|
|
2278
|
+
],
|
|
2279
|
+
[
|
|
2280
|
+
"wechat",
|
|
2281
|
+
"",
|
|
2282
|
+
"💬",
|
|
2283
|
+
"wx"
|
|
2284
|
+
],
|
|
2285
|
+
[
|
|
2286
|
+
"whatsapp",
|
|
2287
|
+
"",
|
|
2288
|
+
"📞",
|
|
2289
|
+
"wa"
|
|
2290
|
+
],
|
|
2291
|
+
[
|
|
2292
|
+
"wifi",
|
|
2293
|
+
"",
|
|
2294
|
+
"📶",
|
|
2295
|
+
"((."
|
|
2296
|
+
],
|
|
2297
|
+
[
|
|
2298
|
+
"wifi-off",
|
|
2299
|
+
"",
|
|
2300
|
+
"📵",
|
|
2301
|
+
"x(("
|
|
2302
|
+
],
|
|
2303
|
+
[
|
|
2304
|
+
"windows",
|
|
2305
|
+
"",
|
|
2306
|
+
"⊞",
|
|
2307
|
+
"win"
|
|
2308
|
+
],
|
|
2309
|
+
[
|
|
2310
|
+
"wordpress",
|
|
2311
|
+
"",
|
|
2312
|
+
"Ⓦ",
|
|
2313
|
+
"wp"
|
|
2314
|
+
],
|
|
2315
|
+
[
|
|
2316
|
+
"x",
|
|
2317
|
+
"",
|
|
2318
|
+
"𝕏",
|
|
2319
|
+
"x"
|
|
2320
|
+
],
|
|
2321
|
+
[
|
|
2322
|
+
"x-circle",
|
|
2323
|
+
"",
|
|
2324
|
+
"❎",
|
|
2325
|
+
"(x)"
|
|
2326
|
+
],
|
|
2327
|
+
[
|
|
2328
|
+
"xmpp",
|
|
2329
|
+
"",
|
|
2330
|
+
"💬",
|
|
2331
|
+
"xmpp"
|
|
2332
|
+
],
|
|
2333
|
+
[
|
|
2334
|
+
"y-combinator",
|
|
2335
|
+
"",
|
|
2336
|
+
"Ⓨ",
|
|
2337
|
+
"yc"
|
|
2338
|
+
],
|
|
2339
|
+
[
|
|
2340
|
+
"youtube",
|
|
2341
|
+
"",
|
|
2342
|
+
"▶",
|
|
2343
|
+
"yt"
|
|
2344
|
+
],
|
|
2345
|
+
[
|
|
2346
|
+
"zap",
|
|
2347
|
+
"",
|
|
2348
|
+
"⚡",
|
|
2349
|
+
"/"
|
|
2350
|
+
],
|
|
2351
|
+
[
|
|
2352
|
+
"zoom",
|
|
2353
|
+
"",
|
|
2354
|
+
"📹",
|
|
2355
|
+
"zm"
|
|
2356
|
+
],
|
|
2357
|
+
[
|
|
2358
|
+
"zoom-in",
|
|
2359
|
+
"",
|
|
2360
|
+
"🔎",
|
|
2361
|
+
"+?"
|
|
2362
|
+
],
|
|
2363
|
+
[
|
|
2364
|
+
"zoom-out",
|
|
2365
|
+
"",
|
|
2366
|
+
"🔎",
|
|
2367
|
+
"-?"
|
|
2368
|
+
],
|
|
2369
|
+
[
|
|
2370
|
+
"zulip",
|
|
2371
|
+
"",
|
|
2372
|
+
"Ⓩ",
|
|
2373
|
+
"zl"
|
|
2374
|
+
]
|
|
2375
|
+
].map(([key, nerd, unicode, ascii]) => [key, {
|
|
2376
|
+
nerd,
|
|
2377
|
+
unicode,
|
|
2378
|
+
ascii
|
|
2379
|
+
}])),
|
|
2380
|
+
aliases: /* @__PURE__ */ new Map([
|
|
2381
|
+
["a11y", "accessibility"],
|
|
2382
|
+
["account", "user"],
|
|
2383
|
+
["add-user", "user-plus"],
|
|
2384
|
+
["address-book", "contact"],
|
|
2385
|
+
["ai", "sparkles"],
|
|
2386
|
+
["alarm-clock", "alarm"],
|
|
2387
|
+
["alert-circle", "error"],
|
|
2388
|
+
["alert-triangle", "warning"],
|
|
2389
|
+
["announce", "megaphone"],
|
|
2390
|
+
["at-sign", "at"],
|
|
2391
|
+
["attach", "paperclip"],
|
|
2392
|
+
["attachment", "paperclip"],
|
|
2393
|
+
["bin", "delete"],
|
|
2394
|
+
["biometric", "fingerprint"],
|
|
2395
|
+
["blocked", "ban"],
|
|
2396
|
+
["bolt", "zap"],
|
|
2397
|
+
["box", "package"],
|
|
2398
|
+
["bullhorn", "megaphone"],
|
|
2399
|
+
["bullseye", "target"],
|
|
2400
|
+
["call", "phone"],
|
|
2401
|
+
["card", "credit-card"],
|
|
2402
|
+
["caution", "warning"],
|
|
2403
|
+
["cellphone", "smartphone"],
|
|
2404
|
+
["check-square", "checkbox"],
|
|
2405
|
+
["chip", "cpu"],
|
|
2406
|
+
["cli", "terminal"],
|
|
2407
|
+
["cmd", "command"],
|
|
2408
|
+
["cog", "settings"],
|
|
2409
|
+
["color", "palette"],
|
|
2410
|
+
["comment", "chat"],
|
|
2411
|
+
["company", "building"],
|
|
2412
|
+
["computer", "laptop"],
|
|
2413
|
+
["console", "terminal"],
|
|
2414
|
+
["contrast", "theme"],
|
|
2415
|
+
["curly-braces", "braces"],
|
|
2416
|
+
["currency", "dollar"],
|
|
2417
|
+
["dark-mode", "moon"],
|
|
2418
|
+
["date", "calendar"],
|
|
2419
|
+
["day", "sun"],
|
|
2420
|
+
["db", "database"],
|
|
2421
|
+
["delivery", "truck"],
|
|
2422
|
+
["deploy", "rocket"],
|
|
2423
|
+
["desktop", "monitor"],
|
|
2424
|
+
["directory", "folder"],
|
|
2425
|
+
["discount", "percent"],
|
|
2426
|
+
["dislike", "thumbs-down"],
|
|
2427
|
+
["display", "monitor"],
|
|
2428
|
+
["document", "file"],
|
|
2429
|
+
["duplicate", "copy"],
|
|
2430
|
+
["ellipsis", "more-horizontal"],
|
|
2431
|
+
["email", "mail"],
|
|
2432
|
+
["envelope", "mail"],
|
|
2433
|
+
["exit-fullscreen", "minimize"],
|
|
2434
|
+
["experiment", "flask"],
|
|
2435
|
+
["extension", "puzzle"],
|
|
2436
|
+
["faq", "help"],
|
|
2437
|
+
["favorite", "star"],
|
|
2438
|
+
["find", "search"],
|
|
2439
|
+
["floppy", "save"],
|
|
2440
|
+
["forbidden", "ban"],
|
|
2441
|
+
["fullscreen", "maximize"],
|
|
2442
|
+
["gear", "settings"],
|
|
2443
|
+
["goal", "target"],
|
|
2444
|
+
["golang", "go"],
|
|
2445
|
+
["hamburger", "menu"],
|
|
2446
|
+
["happy", "smile"],
|
|
2447
|
+
["hashtag", "hash"],
|
|
2448
|
+
["hide", "eye-off"],
|
|
2449
|
+
["house", "home"],
|
|
2450
|
+
["i18n", "translate"],
|
|
2451
|
+
["idea", "lightbulb"],
|
|
2452
|
+
["identity", "id-card"],
|
|
2453
|
+
["information", "info"],
|
|
2454
|
+
["integration", "plug"],
|
|
2455
|
+
["invite", "user-plus"],
|
|
2456
|
+
["invoice", "receipt"],
|
|
2457
|
+
["job", "briefcase"],
|
|
2458
|
+
["json", "braces"],
|
|
2459
|
+
["kebab", "more-vertical"],
|
|
2460
|
+
["lab", "flask"],
|
|
2461
|
+
["label", "tag"],
|
|
2462
|
+
["language", "translate"],
|
|
2463
|
+
["light-mode", "sun"],
|
|
2464
|
+
["lightning", "zap"],
|
|
2465
|
+
["like", "thumbs-up"],
|
|
2466
|
+
["loading", "loader"],
|
|
2467
|
+
["location", "map-pin"],
|
|
2468
|
+
["login", "log-in"],
|
|
2469
|
+
["logout", "log-out"],
|
|
2470
|
+
["love", "heart"],
|
|
2471
|
+
["magic", "sparkles"],
|
|
2472
|
+
["magnify", "search"],
|
|
2473
|
+
["marker", "map-pin"],
|
|
2474
|
+
["mention", "at"],
|
|
2475
|
+
["merge-request", "git-pull-request"],
|
|
2476
|
+
["message", "chat"],
|
|
2477
|
+
["microphone", "mic"],
|
|
2478
|
+
["mobile", "smartphone"],
|
|
2479
|
+
["movie", "film"],
|
|
2480
|
+
["mute", "volume-off"],
|
|
2481
|
+
["night", "moon"],
|
|
2482
|
+
["node", "nodejs"],
|
|
2483
|
+
["notification", "bell"],
|
|
2484
|
+
["office", "building"],
|
|
2485
|
+
["open-in-new", "external-link"],
|
|
2486
|
+
["paper-plane", "send"],
|
|
2487
|
+
["payment", "credit-card"],
|
|
2488
|
+
["pencil", "edit"],
|
|
2489
|
+
["pending", "hourglass"],
|
|
2490
|
+
["people", "users"],
|
|
2491
|
+
["person", "user"],
|
|
2492
|
+
["photo", "image"],
|
|
2493
|
+
["photo-camera", "camera"],
|
|
2494
|
+
["picture", "image"],
|
|
2495
|
+
["plugin", "puzzle"],
|
|
2496
|
+
["plus", "add"],
|
|
2497
|
+
["preferences", "settings"],
|
|
2498
|
+
["present", "gift"],
|
|
2499
|
+
["printer", "print"],
|
|
2500
|
+
["prize", "trophy"],
|
|
2501
|
+
["processor", "cpu"],
|
|
2502
|
+
["profile", "user"],
|
|
2503
|
+
["pull-request", "git-pull-request"],
|
|
2504
|
+
["qr", "qr-code"],
|
|
2505
|
+
["question", "help"],
|
|
2506
|
+
["recent", "history"],
|
|
2507
|
+
["reception", "cell-signal"],
|
|
2508
|
+
["reload", "refresh"],
|
|
2509
|
+
["scissors", "cut"],
|
|
2510
|
+
["shell", "terminal"],
|
|
2511
|
+
["shipping", "truck"],
|
|
2512
|
+
["shopping-bag", "bag"],
|
|
2513
|
+
["shopping-cart", "cart"],
|
|
2514
|
+
["show", "eye"],
|
|
2515
|
+
["sign-in", "log-in"],
|
|
2516
|
+
["sign-out", "log-out"],
|
|
2517
|
+
["song", "music"],
|
|
2518
|
+
["sound", "volume"],
|
|
2519
|
+
["source-code", "code"],
|
|
2520
|
+
["speaker", "volume"],
|
|
2521
|
+
["spinner", "loader"],
|
|
2522
|
+
["square", "checkbox-empty"],
|
|
2523
|
+
["stopwatch", "timer"],
|
|
2524
|
+
["storefront", "store"],
|
|
2525
|
+
["sync", "refresh"],
|
|
2526
|
+
["team", "users"],
|
|
2527
|
+
["telephone", "phone"],
|
|
2528
|
+
["television", "tv"],
|
|
2529
|
+
["thumbtack", "pin"],
|
|
2530
|
+
["times", "close"],
|
|
2531
|
+
["trash", "delete"],
|
|
2532
|
+
["twitter", "x"],
|
|
2533
|
+
["usd", "dollar"],
|
|
2534
|
+
["view", "eye"],
|
|
2535
|
+
["web", "globe"],
|
|
2536
|
+
["work", "briefcase"],
|
|
2537
|
+
["world", "globe"],
|
|
2538
|
+
["x-mark", "close"]
|
|
2539
|
+
])
|
|
2540
|
+
};
|
|
2541
|
+
let chosen;
|
|
2542
|
+
let detected;
|
|
2543
|
+
const isMode = (value) => value === "nerd" || value === "unicode" || value === "ascii";
|
|
2544
|
+
/** Which glyph family this environment gets, following the order at the top of this file. */
|
|
2545
|
+
function iconMode(env = process.env) {
|
|
2546
|
+
const named = env.OPENICON_GLYPHS || env.HQTUI_ICONS;
|
|
2547
|
+
if (isMode(named)) return named;
|
|
2548
|
+
if (env.NERD_FONT === "1" || env.NERD_FONTS === "1") return "nerd";
|
|
2549
|
+
return detectCapabilities({}, env).unicode ? "unicode" : "ascii";
|
|
2550
|
+
}
|
|
2551
|
+
/** The three glyphs of an icon, by key or alias, or undefined if the pack has no such icon. */
|
|
2552
|
+
function iconGlyphs(name) {
|
|
2553
|
+
return pack.icons.get(name) ?? pack.icons.get(pack.aliases.get(name) ?? "");
|
|
2554
|
+
}
|
|
2555
|
+
/**
|
|
2556
|
+
* The best glyph for an icon: `icon("mail")`, `icon("email")` (an alias), or
|
|
2557
|
+
* `icon("github", { mode: "ascii" })`. Unknown names return "".
|
|
2558
|
+
*/
|
|
2559
|
+
function icon(name, options = {}) {
|
|
2560
|
+
const glyphs = iconGlyphs(name);
|
|
2561
|
+
if (!glyphs) return "";
|
|
2562
|
+
const mode = options.mode ?? chosen ?? (detected ??= iconMode());
|
|
2563
|
+
if (mode === "nerd") return glyphs.nerd || glyphs.unicode;
|
|
2564
|
+
return mode === "unicode" ? glyphs.unicode : glyphs.ascii;
|
|
2565
|
+
}
|
|
2566
|
+
//#endregion
|
|
62
2567
|
//#region src/go-key-diagnostic-ui.ts
|
|
63
2568
|
const EXPLANATIONS = {
|
|
64
2569
|
not_run: "No request was sent. No eligible Go API key was available or the attempt was canceled.",
|
|
@@ -194,11 +2699,11 @@ const INITIAL_SNAPSHOT = {
|
|
|
194
2699
|
details: [],
|
|
195
2700
|
updatedAt: null
|
|
196
2701
|
};
|
|
197
|
-
function asRecord(value) {
|
|
2702
|
+
function asRecord$1(value) {
|
|
198
2703
|
return typeof value === "object" && value !== null ? value : void 0;
|
|
199
2704
|
}
|
|
200
2705
|
function modelID(ref) {
|
|
201
|
-
const record = asRecord(ref);
|
|
2706
|
+
const record = asRecord$1(ref);
|
|
202
2707
|
const id = typeof ref === "string" ? ref : record?.id ?? record?.modelID;
|
|
203
2708
|
return typeof id === "string" && id.trim() !== "" ? id : null;
|
|
204
2709
|
}
|
|
@@ -206,14 +2711,14 @@ function messageModelRef(message) {
|
|
|
206
2711
|
return message.model ?? message;
|
|
207
2712
|
}
|
|
208
2713
|
function modelProvider(ref, models) {
|
|
209
|
-
const direct = asRecord(ref)?.providerID;
|
|
2714
|
+
const direct = asRecord$1(ref)?.providerID;
|
|
210
2715
|
if (typeof direct === "string" && direct.trim() !== "") return direct.trim();
|
|
211
2716
|
const id = modelID(ref);
|
|
212
2717
|
if (id === null) return null;
|
|
213
2718
|
const segment = id.slice(id.lastIndexOf("/") + 1);
|
|
214
2719
|
const providers = /* @__PURE__ */ new Set();
|
|
215
2720
|
for (const candidate of models) {
|
|
216
|
-
const item = asRecord(candidate);
|
|
2721
|
+
const item = asRecord$1(candidate);
|
|
217
2722
|
if (!item) continue;
|
|
218
2723
|
if (item.id !== id && item.modelID !== id && item.id !== segment && item.modelID !== segment) continue;
|
|
219
2724
|
if (typeof item.providerID === "string" && item.providerID.trim() !== "") providers.add(item.providerID.trim());
|
|
@@ -235,9 +2740,9 @@ function modelIdentity(ref, models) {
|
|
|
235
2740
|
};
|
|
236
2741
|
}
|
|
237
2742
|
function tokenCount(message) {
|
|
238
|
-
const tokens = asRecord(message.tokens);
|
|
2743
|
+
const tokens = asRecord$1(message.tokens);
|
|
239
2744
|
if (!tokens) return null;
|
|
240
|
-
const cache = asRecord(tokens.cache);
|
|
2745
|
+
const cache = asRecord$1(tokens.cache);
|
|
241
2746
|
const reported = [
|
|
242
2747
|
tokens.input,
|
|
243
2748
|
tokens.output,
|
|
@@ -258,13 +2763,13 @@ function contextLimit(ref, models) {
|
|
|
258
2763
|
if (providerID === null) return null;
|
|
259
2764
|
const segment = id.slice(id.lastIndexOf("/") + 1);
|
|
260
2765
|
const matches = models.filter((value) => {
|
|
261
|
-
const model = asRecord(value);
|
|
2766
|
+
const model = asRecord$1(value);
|
|
262
2767
|
if (!model) return false;
|
|
263
2768
|
return (model.id === id || model.modelID === id || model.id === segment || model.modelID === segment) && model.providerID === providerID;
|
|
264
2769
|
});
|
|
265
2770
|
const limits = /* @__PURE__ */ new Set();
|
|
266
2771
|
for (const candidate of matches) {
|
|
267
|
-
const limit = asRecord(asRecord(candidate)?.limit)?.context;
|
|
2772
|
+
const limit = asRecord$1(asRecord$1(candidate)?.limit)?.context;
|
|
268
2773
|
if (typeof limit === "number" && Number.isFinite(limit) && limit > 0) limits.add(limit);
|
|
269
2774
|
}
|
|
270
2775
|
return limits.size === 1 ? [...limits][0] ?? null : null;
|
|
@@ -272,11 +2777,11 @@ function contextLimit(ref, models) {
|
|
|
272
2777
|
function liveTranscriptWindow(messages, revertMessageID) {
|
|
273
2778
|
let end = messages.length;
|
|
274
2779
|
if (revertMessageID) {
|
|
275
|
-
const boundary = messages.findIndex((message) => asRecord(message)?.id === revertMessageID);
|
|
2780
|
+
const boundary = messages.findIndex((message) => asRecord$1(message)?.id === revertMessageID);
|
|
276
2781
|
if (boundary >= 0) end = boundary;
|
|
277
2782
|
}
|
|
278
2783
|
let start = 0;
|
|
279
|
-
for (let index = end - 1; index >= 0; index -= 1) if (asRecord(messages[index])?.type === "compaction") {
|
|
2784
|
+
for (let index = end - 1; index >= 0; index -= 1) if (asRecord$1(messages[index])?.type === "compaction") {
|
|
280
2785
|
start = index + 1;
|
|
281
2786
|
break;
|
|
282
2787
|
}
|
|
@@ -292,7 +2797,7 @@ function latestContext(messages, modelRef, models, revertMessageID) {
|
|
|
292
2797
|
if (limit === null || limit <= 0) return null;
|
|
293
2798
|
const { start, end } = liveTranscriptWindow(messages, revertMessageID);
|
|
294
2799
|
for (let index = end - 1; index >= start; index -= 1) {
|
|
295
|
-
const message = asRecord(messages[index]);
|
|
2800
|
+
const message = asRecord$1(messages[index]);
|
|
296
2801
|
if (message?.type !== "assistant") continue;
|
|
297
2802
|
const identity = modelIdentity(messageModelRef(message), models);
|
|
298
2803
|
if (identity?.id !== target.id || identity.providerID !== target.providerID) continue;
|
|
@@ -315,7 +2820,7 @@ function resolveActiveModelRef(sessionModel, activeMessages, fallbackModel = nul
|
|
|
315
2820
|
if (modelID(sessionModel) !== null) return sessionModel;
|
|
316
2821
|
const firstMessage = Math.max(0, activeMessages.length - 400);
|
|
317
2822
|
for (let index = activeMessages.length - 1; index >= firstMessage; index -= 1) {
|
|
318
|
-
const message = asRecord(activeMessages[index]);
|
|
2823
|
+
const message = asRecord$1(activeMessages[index]);
|
|
319
2824
|
if (message?.type !== "assistant") continue;
|
|
320
2825
|
const ref = messageModelRef(message);
|
|
321
2826
|
if (modelID(ref) !== null) return ref;
|
|
@@ -338,7 +2843,7 @@ function collectRecentModelUsageRows(input) {
|
|
|
338
2843
|
const active = modelIdentity(input.activeModel, models);
|
|
339
2844
|
const totals = /* @__PURE__ */ new Map();
|
|
340
2845
|
for (const value of usageMessages) {
|
|
341
|
-
const message = asRecord(value);
|
|
2846
|
+
const message = asRecord$1(value);
|
|
342
2847
|
if (message?.type !== "assistant") continue;
|
|
343
2848
|
const identity = modelIdentity(messageModelRef(message), models);
|
|
344
2849
|
if (!identity) continue;
|
|
@@ -361,11 +2866,11 @@ function collectRecentModelUsageRows(input) {
|
|
|
361
2866
|
for (let index = start; index < end; index += 1) {
|
|
362
2867
|
const order = contextIndex;
|
|
363
2868
|
contextIndex += 1;
|
|
364
|
-
const message = asRecord(messages[index]);
|
|
2869
|
+
const message = asRecord$1(messages[index]);
|
|
365
2870
|
if (message?.type !== "assistant" || (tokenCount(message) ?? 0) <= 0) continue;
|
|
366
2871
|
const identity = modelIdentity(messageModelRef(message), models);
|
|
367
2872
|
if (!identity) continue;
|
|
368
|
-
const time = asRecord(message.time);
|
|
2873
|
+
const time = asRecord$1(message.time);
|
|
369
2874
|
const timestamp = typeof time?.created === "number" && Number.isFinite(time.created) ? time.created : null;
|
|
370
2875
|
const current = latestContextMessages.get(identity.key);
|
|
371
2876
|
if (current === void 0 || (timestamp !== null && current.timestamp !== null ? timestamp >= current.timestamp : order > current.index)) latestContextMessages.set(identity.key, {
|
|
@@ -403,7 +2908,7 @@ function collectRecentModelUsageRows(input) {
|
|
|
403
2908
|
})];
|
|
404
2909
|
}
|
|
405
2910
|
function normalizeQuotaPreferences(value) {
|
|
406
|
-
const settings = asRecord(value);
|
|
2911
|
+
const settings = asRecord$1(value);
|
|
407
2912
|
return {
|
|
408
2913
|
enabled: typeof settings?.enabled === "boolean" ? settings.enabled : DEFAULT_QUOTA_PREFERENCES.enabled,
|
|
409
2914
|
display: settings?.display === "used" ? "used" : "remaining"
|
|
@@ -413,7 +2918,7 @@ function providerLabel(id) {
|
|
|
413
2918
|
return id.split(/[._-]+/).filter((part) => part.length > 0).map((part) => `${part.charAt(0).toLocaleUpperCase()}${part.slice(1)}`).join(" ");
|
|
414
2919
|
}
|
|
415
2920
|
function providerStatus(value) {
|
|
416
|
-
const item = asRecord(value);
|
|
2921
|
+
const item = asRecord$1(value);
|
|
417
2922
|
if (typeof item?.provider !== "string" || typeof item.label !== "string" || item.scope !== "account" && item.scope !== "selected_key" && item.scope !== "team" && item.scope !== "session" || item.authentication !== "connected" && item.authentication !== "not_connected" && item.authentication !== "unavailable" || item.state !== "available" && item.state !== "needs_setup" && item.state !== "unavailable" || typeof item.reason !== "string" || item.route_kind !== void 0 && item.route_kind !== "api_key" && item.route_kind !== "console_oauth" && item.route_kind !== "none" && item.route_kind !== "unsupported" || !Array.isArray(item.metrics)) return;
|
|
418
2923
|
if (!QUOTA_PROVIDER_ID_SET.has(item.provider)) return void 0;
|
|
419
2924
|
return {
|
|
@@ -465,7 +2970,7 @@ function quotaSnapshotStatusLabel(status, error) {
|
|
|
465
2970
|
switch (status) {
|
|
466
2971
|
case "loading": return "Buscando status…";
|
|
467
2972
|
case "ready": return "Quota disponível";
|
|
468
|
-
case "partial": return "
|
|
2973
|
+
case "partial": return "Quota parcialmente disponível";
|
|
469
2974
|
case "connected_unavailable": return "Credencial local · dados indisponíveis";
|
|
470
2975
|
case "needs_setup": return "Nenhum provedor elegível";
|
|
471
2976
|
case "unavailable": return error !== void 0 ? `Erro: ${error}` : "Status indisponível";
|
|
@@ -489,7 +2994,7 @@ function quotaRpcFaultMessage(error) {
|
|
|
489
2994
|
}
|
|
490
2995
|
/** Map the current typed RPC status into a provider-neutral, data-only UI model. */
|
|
491
2996
|
function quotaSnapshotFromStatus(response, now = Date.now()) {
|
|
492
|
-
const statusResponse = asRecord(response);
|
|
2997
|
+
const statusResponse = asRecord$1(response);
|
|
493
2998
|
const credentialResolutionFailed = statusResponse?.credential_resolution_failed === true;
|
|
494
2999
|
const providersValue = statusResponse?.providers;
|
|
495
3000
|
const providerList = Array.isArray(providersValue) ? providersValue : void 0;
|
|
@@ -547,7 +3052,7 @@ function quotaProgress(metric) {
|
|
|
547
3052
|
remainingPercent: 100 - usedPercent
|
|
548
3053
|
};
|
|
549
3054
|
}
|
|
550
|
-
/** Connected-provider rows for the compact sidebar; only reported quota windows
|
|
3055
|
+
/** Connected-provider rows for the compact sidebar; only reported quota windows are shown. */
|
|
551
3056
|
function quotaSidebarEntries(snapshot) {
|
|
552
3057
|
const entries = [];
|
|
553
3058
|
for (const provider of snapshot.providers) {
|
|
@@ -919,11 +3424,539 @@ function cellWidth(value) {
|
|
|
919
3424
|
return width;
|
|
920
3425
|
}
|
|
921
3426
|
//#endregion
|
|
3427
|
+
//#region src/usage-history-validation.ts
|
|
3428
|
+
function asRecord(value) {
|
|
3429
|
+
return typeof value === "object" && value !== null ? value : null;
|
|
3430
|
+
}
|
|
3431
|
+
function isTotals(value) {
|
|
3432
|
+
const totals = asRecord(value);
|
|
3433
|
+
return totals !== null && [
|
|
3434
|
+
"input",
|
|
3435
|
+
"output",
|
|
3436
|
+
"cacheRead",
|
|
3437
|
+
"cacheWrite",
|
|
3438
|
+
"total"
|
|
3439
|
+
].every((key) => typeof totals[key] === "number" && Number.isSafeInteger(totals[key]) && totals[key] >= 0);
|
|
3440
|
+
}
|
|
3441
|
+
function isHistoryBucket(value) {
|
|
3442
|
+
const bucket = asRecord(value);
|
|
3443
|
+
return bucket !== null && typeof bucket.date === "string" && /^\d{4}-\d{2}-\d{2}$/.test(bucket.date) && isTotals(bucket) && typeof bucket.pricingComplete === "boolean" && (bucket.estimatedUsd === void 0 || typeof bucket.estimatedUsd === "number" && Number.isFinite(bucket.estimatedUsd));
|
|
3444
|
+
}
|
|
3445
|
+
function isHistoryModel(value) {
|
|
3446
|
+
const model = asRecord(value);
|
|
3447
|
+
return model !== null && typeof model.providerID === "string" && typeof model.modelID === "string" && isTotals(model.totals) && typeof model.pricingComplete === "boolean" && (model.estimatedUsd === void 0 || typeof model.estimatedUsd === "number" && Number.isFinite(model.estimatedUsd));
|
|
3448
|
+
}
|
|
3449
|
+
function isUsageHistoryRpcResult(value) {
|
|
3450
|
+
const result = asRecord(value);
|
|
3451
|
+
if (!result) return false;
|
|
3452
|
+
if (result.status === "unavailable") return [
|
|
3453
|
+
"invalid_period",
|
|
3454
|
+
"history_unavailable",
|
|
3455
|
+
"history_timeout"
|
|
3456
|
+
].includes(String(result.reason));
|
|
3457
|
+
if (result.status !== "available" && result.status !== "partial") return false;
|
|
3458
|
+
const pricing = asRecord(result.pricing);
|
|
3459
|
+
return [
|
|
3460
|
+
"7d",
|
|
3461
|
+
"15d",
|
|
3462
|
+
"30d",
|
|
3463
|
+
"total"
|
|
3464
|
+
].includes(String(result.period)) && (result.coverageStart === null || typeof result.coverageStart === "string") && typeof result.partial === "boolean" && typeof result.truncated === "boolean" && typeof result.rows === "number" && Number.isSafeInteger(result.rows) && result.rows >= 0 && Array.isArray(result.buckets) && result.buckets.every(isHistoryBucket) && isTotals(result.totals) && Array.isArray(result.models) && result.models.every(isHistoryModel) && pricing !== null && [
|
|
3465
|
+
"empty",
|
|
3466
|
+
"unavailable",
|
|
3467
|
+
"partial",
|
|
3468
|
+
"complete"
|
|
3469
|
+
].includes(String(pricing.status)) && typeof pricing.complete === "boolean" && pricing.billed === false && typeof pricing.unpricedModels === "number" && Number.isSafeInteger(pricing.unpricedModels) && pricing.unpricedModels >= 0 && (pricing.estimatedUsd === void 0 || typeof pricing.estimatedUsd === "number" && Number.isFinite(pricing.estimatedUsd));
|
|
3470
|
+
}
|
|
3471
|
+
function isActiveContextCostResult(value) {
|
|
3472
|
+
const result = asRecord(value);
|
|
3473
|
+
if (result?.billed !== false) return false;
|
|
3474
|
+
if (result.cacheDiscountApplied !== false) return false;
|
|
3475
|
+
if (result.basis !== "pre-cache-context-tokens-times-input-price") return false;
|
|
3476
|
+
if (result.status === "estimated") return typeof result.estimatedUsd === "number" && Number.isFinite(result.estimatedUsd);
|
|
3477
|
+
return result.status === "unavailable" && [
|
|
3478
|
+
"invalid-context-token-count",
|
|
3479
|
+
"missing-model-identity",
|
|
3480
|
+
"no-pricing",
|
|
3481
|
+
"unknown-model",
|
|
3482
|
+
"ambiguous-model",
|
|
3483
|
+
"missing-cache-price"
|
|
3484
|
+
].includes(String(result.reason));
|
|
3485
|
+
}
|
|
3486
|
+
//#endregion
|
|
3487
|
+
//#region src/usage-view-model.ts
|
|
3488
|
+
const HISTORY_PERIODS = [
|
|
3489
|
+
"7d",
|
|
3490
|
+
"15d",
|
|
3491
|
+
"30d",
|
|
3492
|
+
"total"
|
|
3493
|
+
];
|
|
3494
|
+
const USAGE_HISTORY_PERIOD_BINDINGS = [
|
|
3495
|
+
{
|
|
3496
|
+
period: "7d",
|
|
3497
|
+
bind: "7",
|
|
3498
|
+
label: "7d"
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
period: "15d",
|
|
3502
|
+
bind: "1",
|
|
3503
|
+
label: "15d"
|
|
3504
|
+
},
|
|
3505
|
+
{
|
|
3506
|
+
period: "30d",
|
|
3507
|
+
bind: "3",
|
|
3508
|
+
label: "30d"
|
|
3509
|
+
},
|
|
3510
|
+
{
|
|
3511
|
+
period: "total",
|
|
3512
|
+
bind: "t",
|
|
3513
|
+
label: "total"
|
|
3514
|
+
}
|
|
3515
|
+
];
|
|
3516
|
+
function wrapText(value, width) {
|
|
3517
|
+
const maxWidth = Number.isFinite(width) ? Math.max(1, Math.floor(width)) : 1;
|
|
3518
|
+
const lines = [];
|
|
3519
|
+
const segmenter = new Intl.Segmenter();
|
|
3520
|
+
let line = "";
|
|
3521
|
+
for (const word of value.trim().split(/\s+/)) {
|
|
3522
|
+
if (!word) continue;
|
|
3523
|
+
if (line && cellWidth(line) + 1 + cellWidth(word) > maxWidth) {
|
|
3524
|
+
lines.push(line);
|
|
3525
|
+
line = "";
|
|
3526
|
+
}
|
|
3527
|
+
if (line) line += " ";
|
|
3528
|
+
for (const { segment } of segmenter.segment(word)) {
|
|
3529
|
+
if (cellWidth(line) + cellWidth(segment) > maxWidth) {
|
|
3530
|
+
if (line) lines.push(line);
|
|
3531
|
+
line = "";
|
|
3532
|
+
}
|
|
3533
|
+
line += segment;
|
|
3534
|
+
}
|
|
3535
|
+
}
|
|
3536
|
+
if (line) lines.push(line);
|
|
3537
|
+
return lines;
|
|
3538
|
+
}
|
|
3539
|
+
function usageHistoryTextLines(value, width) {
|
|
3540
|
+
return wrapText(value, width);
|
|
3541
|
+
}
|
|
3542
|
+
function formatCount(value) {
|
|
3543
|
+
return Math.max(0, value).toLocaleString("en-US");
|
|
3544
|
+
}
|
|
3545
|
+
function formatUsd(value) {
|
|
3546
|
+
if (!Number.isFinite(value) || value < 0) return void 0;
|
|
3547
|
+
return `$${new Intl.NumberFormat("en-US", {
|
|
3548
|
+
minimumFractionDigits: 2,
|
|
3549
|
+
maximumFractionDigits: 8
|
|
3550
|
+
}).format(value)}`;
|
|
3551
|
+
}
|
|
3552
|
+
function chartBar(value, maxValue, width) {
|
|
3553
|
+
const cells = Math.max(0, Math.floor(width));
|
|
3554
|
+
if (cells === 0 || value <= 0 || maxValue <= 0) return "";
|
|
3555
|
+
return "#".repeat(Math.max(1, Math.min(cells, Math.round(value / maxValue * cells))));
|
|
3556
|
+
}
|
|
3557
|
+
function chartValueLine(value, maximum, width) {
|
|
3558
|
+
const count = `${formatCount(value)} tokens`;
|
|
3559
|
+
const barWidth = Math.max(0, width - cellWidth(count) - 3);
|
|
3560
|
+
const bar = chartBar(value, maximum, Math.min(12, barWidth));
|
|
3561
|
+
return wrapText(` ${bar ? `${bar} ` : ""}${count}`, width).join("\n");
|
|
3562
|
+
}
|
|
3563
|
+
function appendWrapped(target, value, width) {
|
|
3564
|
+
target.push(...wrapText(value, width));
|
|
3565
|
+
}
|
|
3566
|
+
function usageHistorySelectorLabel(selected) {
|
|
3567
|
+
return `Período: ${HISTORY_PERIODS.map((period) => {
|
|
3568
|
+
const label = period === "total" ? "Total" : period;
|
|
3569
|
+
return period === selected ? `[${label}]` : label;
|
|
3570
|
+
}).join(" · ")}`;
|
|
3571
|
+
}
|
|
3572
|
+
function usageHistorySelectorLines(selected, width) {
|
|
3573
|
+
return wrapText(usageHistorySelectorLabel(selected), width);
|
|
3574
|
+
}
|
|
3575
|
+
function usageHistoryPeriodForKey(key) {
|
|
3576
|
+
return USAGE_HISTORY_PERIOD_BINDINGS.find((binding) => binding.bind === key)?.period;
|
|
3577
|
+
}
|
|
3578
|
+
function usageHistoryControlsLines(width) {
|
|
3579
|
+
return wrapText("7 · 7d 1 · 15d 3 · 30d T · total", width);
|
|
3580
|
+
}
|
|
3581
|
+
function usageHistoryCoverageLabel(result) {
|
|
3582
|
+
return result.coverageStart === null ? "Início da cobertura indisponível" : `Cobertura desde ${result.coverageStart}`;
|
|
3583
|
+
}
|
|
3584
|
+
function usageHistoryPartialWarning(result) {
|
|
3585
|
+
if (result.partial && result.truncated) return "Histórico parcial e truncado pelo limite seguro.";
|
|
3586
|
+
if (result.partial) return "Histórico parcial segundo a consulta.";
|
|
3587
|
+
if (result.truncated) return "Histórico truncado pelo limite seguro.";
|
|
3588
|
+
return null;
|
|
3589
|
+
}
|
|
3590
|
+
function usageHistoryPricingLabel(result) {
|
|
3591
|
+
const amount = result.pricing.estimatedUsd === void 0 ? void 0 : formatUsd(result.pricing.estimatedUsd);
|
|
3592
|
+
const value = amount ? ` · ${amount}` : "";
|
|
3593
|
+
switch (result.pricing.status) {
|
|
3594
|
+
case "complete": return `Estimativa pelo catálogo${value} · não cobrada`;
|
|
3595
|
+
case "partial": return `Estimativa parcial pelo catálogo${value} · não cobrada · ${result.pricing.unpricedModels} modelo(s) sem preço`;
|
|
3596
|
+
case "unavailable": return "Estimativa de preço indisponível · nenhum valor cobrado";
|
|
3597
|
+
case "empty": return "Sem dados de preço para estimar · nenhum valor cobrado";
|
|
3598
|
+
}
|
|
3599
|
+
}
|
|
3600
|
+
function usageHistoryUnavailableMessage(result) {
|
|
3601
|
+
if (result.status !== "unavailable") return null;
|
|
3602
|
+
switch (result.reason) {
|
|
3603
|
+
case "invalid_period": return "Período de histórico inválido.";
|
|
3604
|
+
case "history_timeout": return "Consulta de histórico excedeu o tempo limite.";
|
|
3605
|
+
case "history_unavailable": return "Histórico indisponível neste momento.";
|
|
3606
|
+
}
|
|
3607
|
+
}
|
|
3608
|
+
function usageHistoryEmptyMessage() {
|
|
3609
|
+
return "Sem histórico neste período.";
|
|
3610
|
+
}
|
|
3611
|
+
function usageHistoryChartLines(result, width) {
|
|
3612
|
+
const maxWidth = Math.max(1, Math.floor(width));
|
|
3613
|
+
if (result.rows === 0 && result.buckets.length === 0 && result.models.length === 0) return wrapText(usageHistoryEmptyMessage(), maxWidth);
|
|
3614
|
+
const lines = [];
|
|
3615
|
+
appendWrapped(lines, `GERAL · ${formatCount(result.totals.total)} tokens`, maxWidth);
|
|
3616
|
+
if (result.buckets.length > 0) {
|
|
3617
|
+
lines.push("Uso diário");
|
|
3618
|
+
const maxBucket = Math.max(0, ...result.buckets.map((bucket) => bucket.total));
|
|
3619
|
+
for (const bucket of result.buckets) {
|
|
3620
|
+
appendWrapped(lines, bucket.date, maxWidth);
|
|
3621
|
+
lines.push(...chartValueLine(bucket.total, maxBucket, maxWidth).split("\n"));
|
|
3622
|
+
}
|
|
3623
|
+
} else lines.push("Sem buckets diários neste período.");
|
|
3624
|
+
lines.push("Modelos no período");
|
|
3625
|
+
if (result.models.length === 0) {
|
|
3626
|
+
lines.push("Sem totais por modelo.");
|
|
3627
|
+
return lines.flatMap((line) => wrapText(line, maxWidth));
|
|
3628
|
+
}
|
|
3629
|
+
const maxModel = Math.max(0, ...result.models.map((model) => model.totals.total));
|
|
3630
|
+
for (const model of result.models) {
|
|
3631
|
+
appendWrapped(lines, `${model.providerID}/${model.modelID}`, maxWidth);
|
|
3632
|
+
lines.push(...chartValueLine(model.totals.total, maxModel, maxWidth).split("\n"));
|
|
3633
|
+
}
|
|
3634
|
+
return lines.flatMap((line) => wrapText(line, maxWidth));
|
|
3635
|
+
}
|
|
3636
|
+
function activeModelIdentity(model) {
|
|
3637
|
+
if (model.providerID && model.modelID) return `${model.providerID}/${model.modelID}`;
|
|
3638
|
+
if (model.modelID) return model.modelID;
|
|
3639
|
+
return model.label || "identidade indisponível";
|
|
3640
|
+
}
|
|
3641
|
+
function sessionSpendLabel(cost) {
|
|
3642
|
+
if (!Number.isFinite(cost) || cost < 0) return null;
|
|
3643
|
+
return `Gasto da sessão (relatado) · $${cost.toFixed(2)}`;
|
|
3644
|
+
}
|
|
3645
|
+
function unavailableContextReason(reason) {
|
|
3646
|
+
switch (reason) {
|
|
3647
|
+
case "invalid-context-token-count": return "contagem de tokens de contexto inválida";
|
|
3648
|
+
case "missing-model-identity": return "identidade do modelo indisponível";
|
|
3649
|
+
case "no-pricing":
|
|
3650
|
+
case "missing-cache-price": return "preço de entrada indisponível";
|
|
3651
|
+
case "unknown-model":
|
|
3652
|
+
case "ambiguous-model": return "modelo não identificado na tabela de preços";
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3655
|
+
function activeContextEstimateLines(result, width) {
|
|
3656
|
+
const maxWidth = Math.max(1, Math.floor(width));
|
|
3657
|
+
if (result.status === "unavailable") return wrapText(`Estimativa de contexto (pré-cache) indisponível · ${unavailableContextReason(result.reason)}`, maxWidth);
|
|
3658
|
+
const amount = formatUsd(result.estimatedUsd);
|
|
3659
|
+
if (!amount) return wrapText("Estimativa de contexto (pré-cache) indisponível · valor inválido", maxWidth);
|
|
3660
|
+
return [...wrapText(`Estimativa de contexto (pré-cache) · ${amount}`, maxWidth), ...wrapText("Preço de entrada × tokens pré-cache; sem desconto de cache; não é valor cobrado.", maxWidth)];
|
|
3661
|
+
}
|
|
3662
|
+
function activeContextEstimatePendingLines(width) {
|
|
3663
|
+
return wrapText("Estimativa de contexto (pré-cache) · calculando…", width);
|
|
3664
|
+
}
|
|
3665
|
+
function activeContextEstimateMissingLines(width) {
|
|
3666
|
+
return wrapText("Estimativa de contexto (pré-cache) indisponível · contexto não reportado.", width);
|
|
3667
|
+
}
|
|
3668
|
+
function activeContextEstimateErrorLines(width) {
|
|
3669
|
+
return wrapText("Estimativa de contexto (pré-cache) indisponível · falha na consulta.", width);
|
|
3670
|
+
}
|
|
3671
|
+
//#endregion
|
|
3672
|
+
//#region src/usage-history-view.tsx
|
|
3673
|
+
/** @jsxImportSource @opentui/solid */
|
|
3674
|
+
function location(context) {
|
|
3675
|
+
return context.location ?? context.data.location.default();
|
|
3676
|
+
}
|
|
3677
|
+
function ActiveContextEstimate(props) {
|
|
3678
|
+
const [result, setResult] = createSignal(null);
|
|
3679
|
+
const [loading, setLoading] = createSignal(false);
|
|
3680
|
+
const [failed, setFailed] = createSignal(false);
|
|
3681
|
+
const client = props.context.client.rpc(quotaRpc);
|
|
3682
|
+
createEffect(() => {
|
|
3683
|
+
const providerID = props.providerID;
|
|
3684
|
+
const modelID = props.modelID;
|
|
3685
|
+
const contextTokens = props.contextTokens;
|
|
3686
|
+
if (contextTokens === null) {
|
|
3687
|
+
setResult(null);
|
|
3688
|
+
setFailed(false);
|
|
3689
|
+
setLoading(false);
|
|
3690
|
+
return;
|
|
3691
|
+
}
|
|
3692
|
+
if (!providerID || !modelID) {
|
|
3693
|
+
setResult({
|
|
3694
|
+
status: "unavailable",
|
|
3695
|
+
billed: false,
|
|
3696
|
+
basis: "pre-cache-context-tokens-times-input-price",
|
|
3697
|
+
cacheDiscountApplied: false,
|
|
3698
|
+
reason: "missing-model-identity"
|
|
3699
|
+
});
|
|
3700
|
+
setFailed(false);
|
|
3701
|
+
setLoading(false);
|
|
3702
|
+
return;
|
|
3703
|
+
}
|
|
3704
|
+
const controller = new AbortController();
|
|
3705
|
+
let current = true;
|
|
3706
|
+
setResult(null);
|
|
3707
|
+
setFailed(false);
|
|
3708
|
+
setLoading(true);
|
|
3709
|
+
try {
|
|
3710
|
+
client.active_context_cost({
|
|
3711
|
+
providerID,
|
|
3712
|
+
modelID,
|
|
3713
|
+
contextTokens
|
|
3714
|
+
}, {
|
|
3715
|
+
signal: controller.signal,
|
|
3716
|
+
location: location(props.context)
|
|
3717
|
+
}).then((response) => {
|
|
3718
|
+
if (!current) return;
|
|
3719
|
+
if (isActiveContextCostResult(response)) setResult(response);
|
|
3720
|
+
else setFailed(true);
|
|
3721
|
+
}).catch(() => {
|
|
3722
|
+
if (current) setFailed(true);
|
|
3723
|
+
}).finally(() => {
|
|
3724
|
+
if (current) setLoading(false);
|
|
3725
|
+
});
|
|
3726
|
+
} catch {
|
|
3727
|
+
setFailed(true);
|
|
3728
|
+
setLoading(false);
|
|
3729
|
+
}
|
|
3730
|
+
onCleanup(() => {
|
|
3731
|
+
current = false;
|
|
3732
|
+
controller.abort();
|
|
3733
|
+
});
|
|
3734
|
+
});
|
|
3735
|
+
const lines = () => {
|
|
3736
|
+
if (loading()) return activeContextEstimatePendingLines(props.width);
|
|
3737
|
+
if (failed()) return activeContextEstimateErrorLines(props.width);
|
|
3738
|
+
const current = result();
|
|
3739
|
+
if (current) return activeContextEstimateLines(current, props.width);
|
|
3740
|
+
return activeContextEstimateMissingLines(props.width);
|
|
3741
|
+
};
|
|
3742
|
+
return (() => {
|
|
3743
|
+
var _el$ = createElement("box");
|
|
3744
|
+
setProp(_el$, "flexDirection", "column");
|
|
3745
|
+
insert(_el$, createComponent(For, {
|
|
3746
|
+
get each() {
|
|
3747
|
+
return lines();
|
|
3748
|
+
},
|
|
3749
|
+
children: (line) => (() => {
|
|
3750
|
+
var _el$2 = createElement("text");
|
|
3751
|
+
insert(_el$2, line);
|
|
3752
|
+
return _el$2;
|
|
3753
|
+
})()
|
|
3754
|
+
}));
|
|
3755
|
+
return _el$;
|
|
3756
|
+
})();
|
|
3757
|
+
}
|
|
3758
|
+
function UsageHistorySection(props) {
|
|
3759
|
+
const [period, setPeriod] = createSignal("7d");
|
|
3760
|
+
const [result, setResult] = createSignal(null);
|
|
3761
|
+
const [loading, setLoading] = createSignal(true);
|
|
3762
|
+
const [requestFailed, setRequestFailed] = createSignal(false);
|
|
3763
|
+
const client = props.context.client.rpc(quotaRpc);
|
|
3764
|
+
const keymap = () => ({
|
|
3765
|
+
mode: "global",
|
|
3766
|
+
enabled: () => props.panel.focused === true,
|
|
3767
|
+
commands: USAGE_HISTORY_PERIOD_BINDINGS.map(({ period: selected, bind, label }) => ({
|
|
3768
|
+
id: `pantheon.quota.history.${selected}`,
|
|
3769
|
+
title: `Histórico de uso: ${label}`,
|
|
3770
|
+
bind,
|
|
3771
|
+
run: () => {
|
|
3772
|
+
if (props.panel.focused !== true) return false;
|
|
3773
|
+
setPeriod(selected);
|
|
3774
|
+
}
|
|
3775
|
+
}))
|
|
3776
|
+
});
|
|
3777
|
+
props.context.keymap.layer(keymap);
|
|
3778
|
+
createEffect(() => {
|
|
3779
|
+
const selectedPeriod = period();
|
|
3780
|
+
const controller = new AbortController();
|
|
3781
|
+
let current = true;
|
|
3782
|
+
setLoading(true);
|
|
3783
|
+
setRequestFailed(false);
|
|
3784
|
+
setResult(null);
|
|
3785
|
+
try {
|
|
3786
|
+
client.usage_history({ period: selectedPeriod }, {
|
|
3787
|
+
signal: controller.signal,
|
|
3788
|
+
location: location(props.context)
|
|
3789
|
+
}).then((response) => {
|
|
3790
|
+
if (!current) return;
|
|
3791
|
+
if (isUsageHistoryRpcResult(response)) setResult(response);
|
|
3792
|
+
else setRequestFailed(true);
|
|
3793
|
+
}).catch(() => {
|
|
3794
|
+
if (current) setRequestFailed(true);
|
|
3795
|
+
}).finally(() => {
|
|
3796
|
+
if (current) setLoading(false);
|
|
3797
|
+
});
|
|
3798
|
+
} catch {
|
|
3799
|
+
setRequestFailed(true);
|
|
3800
|
+
setLoading(false);
|
|
3801
|
+
}
|
|
3802
|
+
onCleanup(() => {
|
|
3803
|
+
current = false;
|
|
3804
|
+
controller.abort();
|
|
3805
|
+
});
|
|
3806
|
+
});
|
|
3807
|
+
const chartLines = () => {
|
|
3808
|
+
const current = result();
|
|
3809
|
+
return current?.status === "available" || current?.status === "partial" ? usageHistoryChartLines(current, props.width) : [];
|
|
3810
|
+
};
|
|
3811
|
+
const unavailable = () => {
|
|
3812
|
+
const current = result();
|
|
3813
|
+
return current ? usageHistoryUnavailableMessage(current) : null;
|
|
3814
|
+
};
|
|
3815
|
+
const available = () => {
|
|
3816
|
+
const current = result();
|
|
3817
|
+
return current?.status === "available" || current?.status === "partial" ? current : void 0;
|
|
3818
|
+
};
|
|
3819
|
+
const warning = () => {
|
|
3820
|
+
const current = result();
|
|
3821
|
+
if (current?.status !== "available" && current?.status !== "partial") return [];
|
|
3822
|
+
const message = usageHistoryPartialWarning(current);
|
|
3823
|
+
return message ? usageHistoryTextLines(message, props.width) : [];
|
|
3824
|
+
};
|
|
3825
|
+
return (() => {
|
|
3826
|
+
var _el$3 = createElement("box"), _el$4 = createElement("text");
|
|
3827
|
+
insertNode(_el$3, _el$4);
|
|
3828
|
+
setProp(_el$3, "flexDirection", "column");
|
|
3829
|
+
setProp(_el$3, "paddingTop", 1);
|
|
3830
|
+
insertNode(_el$4, createTextNode(`Histórico de uso`));
|
|
3831
|
+
setProp(_el$4, "attributes", 1);
|
|
3832
|
+
insert(_el$3, createComponent(For, {
|
|
3833
|
+
get each() {
|
|
3834
|
+
return usageHistorySelectorLines(period(), props.width);
|
|
3835
|
+
},
|
|
3836
|
+
children: (line) => (() => {
|
|
3837
|
+
var _el$8 = createElement("text");
|
|
3838
|
+
insert(_el$8, line);
|
|
3839
|
+
return _el$8;
|
|
3840
|
+
})()
|
|
3841
|
+
}), null);
|
|
3842
|
+
insert(_el$3, createComponent(For, {
|
|
3843
|
+
get each() {
|
|
3844
|
+
return usageHistoryControlsLines(props.width);
|
|
3845
|
+
},
|
|
3846
|
+
children: (line) => (() => {
|
|
3847
|
+
var _el$9 = createElement("text");
|
|
3848
|
+
insert(_el$9, line);
|
|
3849
|
+
return _el$9;
|
|
3850
|
+
})()
|
|
3851
|
+
}), null);
|
|
3852
|
+
insert(_el$3, createComponent(Show, {
|
|
3853
|
+
get when() {
|
|
3854
|
+
return loading();
|
|
3855
|
+
},
|
|
3856
|
+
get children() {
|
|
3857
|
+
var _el$6 = createElement("text");
|
|
3858
|
+
insertNode(_el$6, createTextNode(`Carregando histórico…`));
|
|
3859
|
+
return _el$6;
|
|
3860
|
+
}
|
|
3861
|
+
}), null);
|
|
3862
|
+
insert(_el$3, createComponent(Show, {
|
|
3863
|
+
get when() {
|
|
3864
|
+
return memo(() => !!!loading())() && requestFailed();
|
|
3865
|
+
},
|
|
3866
|
+
get children() {
|
|
3867
|
+
return createComponent(For, {
|
|
3868
|
+
get each() {
|
|
3869
|
+
return usageHistoryTextLines("Falha ao consultar o histórico.", props.width);
|
|
3870
|
+
},
|
|
3871
|
+
children: (line) => (() => {
|
|
3872
|
+
var _el$0 = createElement("text");
|
|
3873
|
+
insert(_el$0, line);
|
|
3874
|
+
return _el$0;
|
|
3875
|
+
})()
|
|
3876
|
+
});
|
|
3877
|
+
}
|
|
3878
|
+
}), null);
|
|
3879
|
+
insert(_el$3, createComponent(Show, {
|
|
3880
|
+
get when() {
|
|
3881
|
+
return memo(() => !!!loading())() && unavailable();
|
|
3882
|
+
},
|
|
3883
|
+
children: (message) => createComponent(For, {
|
|
3884
|
+
get each() {
|
|
3885
|
+
return usageHistoryTextLines(message(), props.width);
|
|
3886
|
+
},
|
|
3887
|
+
children: (line) => (() => {
|
|
3888
|
+
var _el$1 = createElement("text");
|
|
3889
|
+
insert(_el$1, line);
|
|
3890
|
+
return _el$1;
|
|
3891
|
+
})()
|
|
3892
|
+
})
|
|
3893
|
+
}), null);
|
|
3894
|
+
insert(_el$3, createComponent(Show, {
|
|
3895
|
+
get when() {
|
|
3896
|
+
return memo(() => !!(!loading() && !requestFailed()))() && available();
|
|
3897
|
+
},
|
|
3898
|
+
children: (history) => (() => {
|
|
3899
|
+
var _el$10 = createElement("box");
|
|
3900
|
+
setProp(_el$10, "flexDirection", "column");
|
|
3901
|
+
insert(_el$10, createComponent(For, {
|
|
3902
|
+
get each() {
|
|
3903
|
+
return usageHistoryTextLines(usageHistoryCoverageLabel(history()), props.width);
|
|
3904
|
+
},
|
|
3905
|
+
children: (line) => (() => {
|
|
3906
|
+
var _el$11 = createElement("text");
|
|
3907
|
+
insert(_el$11, line);
|
|
3908
|
+
return _el$11;
|
|
3909
|
+
})()
|
|
3910
|
+
}), null);
|
|
3911
|
+
insert(_el$10, createComponent(For, {
|
|
3912
|
+
get each() {
|
|
3913
|
+
return warning();
|
|
3914
|
+
},
|
|
3915
|
+
children: (line) => (() => {
|
|
3916
|
+
var _el$12 = createElement("text");
|
|
3917
|
+
insert(_el$12, line);
|
|
3918
|
+
return _el$12;
|
|
3919
|
+
})()
|
|
3920
|
+
}), null);
|
|
3921
|
+
insert(_el$10, createComponent(For, {
|
|
3922
|
+
get each() {
|
|
3923
|
+
return usageHistoryTextLines(usageHistoryPricingLabel(history()), props.width);
|
|
3924
|
+
},
|
|
3925
|
+
children: (line) => (() => {
|
|
3926
|
+
var _el$13 = createElement("text");
|
|
3927
|
+
insert(_el$13, line);
|
|
3928
|
+
return _el$13;
|
|
3929
|
+
})()
|
|
3930
|
+
}), null);
|
|
3931
|
+
insert(_el$10, createComponent(For, {
|
|
3932
|
+
get each() {
|
|
3933
|
+
return chartLines();
|
|
3934
|
+
},
|
|
3935
|
+
children: (line) => (() => {
|
|
3936
|
+
var _el$14 = createElement("text");
|
|
3937
|
+
insert(_el$14, line);
|
|
3938
|
+
return _el$14;
|
|
3939
|
+
})()
|
|
3940
|
+
}), null);
|
|
3941
|
+
return _el$10;
|
|
3942
|
+
})()
|
|
3943
|
+
}), null);
|
|
3944
|
+
return _el$3;
|
|
3945
|
+
})();
|
|
3946
|
+
}
|
|
3947
|
+
//#endregion
|
|
922
3948
|
//#region src/quota-v2.tsx
|
|
923
3949
|
/** @jsxImportSource @opentui/solid */
|
|
924
3950
|
const QUOTA_PANEL_NAME = "pantheon.quota";
|
|
925
3951
|
const QUOTA_OPEN_COMMAND_ID = "pantheon.quota.open";
|
|
926
|
-
|
|
3952
|
+
function quotaIcon(name, mode) {
|
|
3953
|
+
return icon(name, mode ? { mode } : void 0);
|
|
3954
|
+
}
|
|
3955
|
+
function iconInSlot(name, width, mode) {
|
|
3956
|
+
const glyph = quotaIcon(name, mode);
|
|
3957
|
+
return `${glyph}${" ".repeat(Math.max(0, width - cellWidth(glyph)))}`;
|
|
3958
|
+
}
|
|
3959
|
+
const QUOTA_ICON = quotaIcon("refresh");
|
|
927
3960
|
const QUOTA_PANEL_TOAST = "Abra uma sessão para ver os detalhes da quota.";
|
|
928
3961
|
const MODEL_USAGE_REFRESH_EVENTS = [
|
|
929
3962
|
"session.created",
|
|
@@ -956,9 +3989,9 @@ function snapshotSummary(snapshot, display) {
|
|
|
956
3989
|
const metric = metrics.find((item) => item.kind !== "provider_status") ?? metrics[0];
|
|
957
3990
|
if (metric) {
|
|
958
3991
|
const value = compactQuotaMetric(metric, display) ?? "quota indisponível";
|
|
959
|
-
return snapshot.status === "partial" ? `
|
|
3992
|
+
return snapshot.status === "partial" ? `quota parcialmente disponível · ${value}` : value;
|
|
960
3993
|
}
|
|
961
|
-
if (snapshot.status === "partial") return "
|
|
3994
|
+
if (snapshot.status === "partial") return "quota parcialmente disponível";
|
|
962
3995
|
if (snapshot.providers[0]?.message) return snapshot.providers[0].message;
|
|
963
3996
|
return "quota indisponível";
|
|
964
3997
|
}
|
|
@@ -1015,16 +4048,16 @@ function QuotaSidebarSummary(props) {
|
|
|
1015
4048
|
insertNode(_el$3, _el$4);
|
|
1016
4049
|
setProp(_el$3, "flexDirection", "column");
|
|
1017
4050
|
setProp(_el$3, "marginTop", 1);
|
|
1018
|
-
|
|
4051
|
+
insert(_el$4, `${QUOTA_ICON} Pantheon quota`);
|
|
1019
4052
|
insert(_el$3, createComponent(Show, {
|
|
1020
4053
|
get when() {
|
|
1021
4054
|
return props.runtime.snapshot().status !== "ready" || entries().length === 0;
|
|
1022
4055
|
},
|
|
1023
4056
|
get children() {
|
|
1024
|
-
var _el$
|
|
1025
|
-
insert(_el$
|
|
1026
|
-
effect((_$p) => setProp(_el$
|
|
1027
|
-
return _el$
|
|
4057
|
+
var _el$5 = createElement("text");
|
|
4058
|
+
insert(_el$5, () => quotaSnapshotStatusLabel(props.runtime.snapshot().status, props.runtime.snapshot().error));
|
|
4059
|
+
effect((_$p) => setProp(_el$5, "fg", muted(props.context), _$p));
|
|
4060
|
+
return _el$5;
|
|
1028
4061
|
}
|
|
1029
4062
|
}), null);
|
|
1030
4063
|
insert(_el$3, createComponent(For, {
|
|
@@ -1032,9 +4065,9 @@ function QuotaSidebarSummary(props) {
|
|
|
1032
4065
|
return props.runtime.snapshot().providers;
|
|
1033
4066
|
},
|
|
1034
4067
|
children: (provider) => (() => {
|
|
1035
|
-
var _el$
|
|
1036
|
-
setProp(_el$
|
|
1037
|
-
insert(_el$
|
|
4068
|
+
var _el$6 = createElement("box");
|
|
4069
|
+
setProp(_el$6, "flexDirection", "column");
|
|
4070
|
+
insert(_el$6, createComponent(Show, {
|
|
1038
4071
|
get when() {
|
|
1039
4072
|
return entries().some((entry) => entry.providerID === provider.id) || finance().some((entry) => entry.providerID === provider.id) || provider.metrics.some((metric) => metric.kind === "provider_status");
|
|
1040
4073
|
},
|
|
@@ -1044,15 +4077,15 @@ function QuotaSidebarSummary(props) {
|
|
|
1044
4077
|
return quotaTextLines(provider.label, 34, 0);
|
|
1045
4078
|
},
|
|
1046
4079
|
children: (line) => (() => {
|
|
1047
|
-
var _el$
|
|
1048
|
-
insert(_el$
|
|
1049
|
-
effect((_$p) => setProp(_el$
|
|
1050
|
-
return _el$
|
|
4080
|
+
var _el$7 = createElement("text");
|
|
4081
|
+
insert(_el$7, line);
|
|
4082
|
+
effect((_$p) => setProp(_el$7, "fg", muted(props.context), _$p));
|
|
4083
|
+
return _el$7;
|
|
1051
4084
|
})()
|
|
1052
4085
|
});
|
|
1053
4086
|
}
|
|
1054
4087
|
}), null);
|
|
1055
|
-
insert(_el$
|
|
4088
|
+
insert(_el$6, createComponent(For, {
|
|
1056
4089
|
get each() {
|
|
1057
4090
|
return entries().filter((entry) => entry.providerID === provider.id);
|
|
1058
4091
|
},
|
|
@@ -1069,7 +4102,7 @@ function QuotaSidebarSummary(props) {
|
|
|
1069
4102
|
}
|
|
1070
4103
|
})
|
|
1071
4104
|
}), null);
|
|
1072
|
-
insert(_el$
|
|
4105
|
+
insert(_el$6, createComponent(For, {
|
|
1073
4106
|
get each() {
|
|
1074
4107
|
return provider.metrics.filter((metric) => metric.kind === "provider_status");
|
|
1075
4108
|
},
|
|
@@ -1078,14 +4111,14 @@ function QuotaSidebarSummary(props) {
|
|
|
1078
4111
|
return quotaMetricLines(metric, 34);
|
|
1079
4112
|
},
|
|
1080
4113
|
children: (line) => (() => {
|
|
1081
|
-
var _el$
|
|
1082
|
-
insert(_el$
|
|
1083
|
-
effect((_$p) => setProp(_el$
|
|
1084
|
-
return _el$
|
|
4114
|
+
var _el$8 = createElement("text");
|
|
4115
|
+
insert(_el$8, line);
|
|
4116
|
+
effect((_$p) => setProp(_el$8, "fg", muted(props.context), _$p));
|
|
4117
|
+
return _el$8;
|
|
1085
4118
|
})()
|
|
1086
4119
|
})
|
|
1087
4120
|
}), null);
|
|
1088
|
-
insert(_el$
|
|
4121
|
+
insert(_el$6, createComponent(For, {
|
|
1089
4122
|
get each() {
|
|
1090
4123
|
return finance().filter((entry) => entry.providerID === provider.id);
|
|
1091
4124
|
},
|
|
@@ -1094,14 +4127,14 @@ function QuotaSidebarSummary(props) {
|
|
|
1094
4127
|
return financeMetricLines(entry.metric, 34);
|
|
1095
4128
|
},
|
|
1096
4129
|
children: (line) => (() => {
|
|
1097
|
-
var _el$
|
|
1098
|
-
insert(_el$
|
|
1099
|
-
effect((_$p) => setProp(_el$
|
|
1100
|
-
return _el$
|
|
4130
|
+
var _el$9 = createElement("text");
|
|
4131
|
+
insert(_el$9, line);
|
|
4132
|
+
effect((_$p) => setProp(_el$9, "fg", base(props.context), _$p));
|
|
4133
|
+
return _el$9;
|
|
1101
4134
|
})()
|
|
1102
4135
|
})
|
|
1103
4136
|
}), null);
|
|
1104
|
-
return _el$
|
|
4137
|
+
return _el$6;
|
|
1105
4138
|
})()
|
|
1106
4139
|
}), null);
|
|
1107
4140
|
effect((_$p) => setProp(_el$4, "fg", base(props.context), _$p));
|
|
@@ -1116,10 +4149,10 @@ function QuotaFooterSummary(props) {
|
|
|
1116
4149
|
return preferences().enabled;
|
|
1117
4150
|
},
|
|
1118
4151
|
get children() {
|
|
1119
|
-
var _el$
|
|
1120
|
-
insert(_el$
|
|
1121
|
-
effect((_$p) => setProp(_el$
|
|
1122
|
-
return _el$
|
|
4152
|
+
var _el$0 = createElement("text");
|
|
4153
|
+
insert(_el$0, () => `Quota · ${snapshotSummary(props.runtime.snapshot(), preferences().display)}`);
|
|
4154
|
+
effect((_$p) => setProp(_el$0, "fg", muted(props.context), _$p));
|
|
4155
|
+
return _el$0;
|
|
1123
4156
|
}
|
|
1124
4157
|
});
|
|
1125
4158
|
}
|
|
@@ -1181,19 +4214,9 @@ function quotaWindowLines(metric, display, width, now, sidebarPercent = false) {
|
|
|
1181
4214
|
const compact = ` ${title} ${value}`;
|
|
1182
4215
|
const prefix = cellWidth(padded) <= width ? padded : compact;
|
|
1183
4216
|
const suffix = reset ? ` ${reset}` : "";
|
|
1184
|
-
const rawBar = progress && (sidebarPercent || metric.unit.trim() === "%") ? contextBar(progress.usedPercent, 4) : void 0;
|
|
1185
|
-
const bar = rawBar ? {
|
|
1186
|
-
...rawBar,
|
|
1187
|
-
empty: "░".repeat(cellWidth(rawBar.empty))
|
|
1188
|
-
} : void 0;
|
|
1189
4217
|
const secondaryAmount = sidebarPercent ? void 0 : quotaAmount(display === "remaining" ? metric.used : metric.remaining, metric.unit);
|
|
1190
4218
|
const secondary = secondaryAmount ? quotaTextLines(`${display === "remaining" ? "Usado" : "Restante"} ${secondaryAmount}`, width, 4) : [];
|
|
1191
4219
|
if (!sidebarPercent && progress) secondary.push(...quotaTextLines(`${progress.remainingPercent}% restante`, width, 4));
|
|
1192
|
-
if (bar && cellWidth(prefix + suffix) + 5 <= width) return [
|
|
1193
|
-
`${prefix} ${bar.filled}${bar.empty}${suffix}`,
|
|
1194
|
-
...resetDateLines,
|
|
1195
|
-
...secondary
|
|
1196
|
-
];
|
|
1197
4220
|
if (cellWidth(prefix + suffix) <= width) return [
|
|
1198
4221
|
`${prefix}${suffix}`,
|
|
1199
4222
|
...resetDateLines,
|
|
@@ -1219,20 +4242,20 @@ function quotaWindowLines(metric, display, width, now, sidebarPercent = false) {
|
|
|
1219
4242
|
}
|
|
1220
4243
|
function QuotaWindow(props) {
|
|
1221
4244
|
return (() => {
|
|
1222
|
-
var _el$
|
|
1223
|
-
setProp(_el$
|
|
1224
|
-
insert(_el$
|
|
4245
|
+
var _el$1 = createElement("box");
|
|
4246
|
+
setProp(_el$1, "flexDirection", "column");
|
|
4247
|
+
insert(_el$1, createComponent(For, {
|
|
1225
4248
|
get each() {
|
|
1226
4249
|
return quotaWindowLines(props.metric, props.display, props.width, props.now);
|
|
1227
4250
|
},
|
|
1228
4251
|
children: (line) => (() => {
|
|
1229
|
-
var _el$
|
|
1230
|
-
insert(_el$
|
|
1231
|
-
effect((_$p) => setProp(_el$
|
|
1232
|
-
return _el$
|
|
4252
|
+
var _el$10 = createElement("text");
|
|
4253
|
+
insert(_el$10, line);
|
|
4254
|
+
effect((_$p) => setProp(_el$10, "fg", quotaColor(props.context, quotaProgress(props.metric)?.usedPercent), _$p));
|
|
4255
|
+
return _el$10;
|
|
1233
4256
|
})()
|
|
1234
4257
|
}));
|
|
1235
|
-
return _el$
|
|
4258
|
+
return _el$1;
|
|
1236
4259
|
})();
|
|
1237
4260
|
}
|
|
1238
4261
|
function metricRow(metric) {
|
|
@@ -1292,37 +4315,37 @@ function QuotaMetricLine(props) {
|
|
|
1292
4315
|
return row();
|
|
1293
4316
|
},
|
|
1294
4317
|
get children() {
|
|
1295
|
-
var _el$
|
|
1296
|
-
setProp(_el$
|
|
1297
|
-
insert(_el$
|
|
4318
|
+
var _el$11 = createElement("box");
|
|
4319
|
+
setProp(_el$11, "flexDirection", "column");
|
|
4320
|
+
insert(_el$11, createComponent(For, {
|
|
1298
4321
|
get each() {
|
|
1299
4322
|
return quotaMetricLines(props.metric, props.width);
|
|
1300
4323
|
},
|
|
1301
4324
|
children: (line) => (() => {
|
|
1302
|
-
var _el$
|
|
1303
|
-
insert(_el$
|
|
1304
|
-
effect((_$p) => setProp(_el$
|
|
1305
|
-
return _el$
|
|
4325
|
+
var _el$12 = createElement("text");
|
|
4326
|
+
insert(_el$12, line);
|
|
4327
|
+
effect((_$p) => setProp(_el$12, "fg", base(props.context), _$p));
|
|
4328
|
+
return _el$12;
|
|
1306
4329
|
})()
|
|
1307
4330
|
}));
|
|
1308
|
-
return _el$
|
|
4331
|
+
return _el$11;
|
|
1309
4332
|
}
|
|
1310
4333
|
});
|
|
1311
4334
|
}
|
|
1312
|
-
function providerState(provider) {
|
|
4335
|
+
function providerState(provider, mode) {
|
|
1313
4336
|
if (provider.authentication === "not_connected") return {
|
|
1314
|
-
label: "
|
|
4337
|
+
label: `${iconInSlot("settings", 2, mode)} Precisa configurar`,
|
|
1315
4338
|
tone: "warning"
|
|
1316
4339
|
};
|
|
1317
4340
|
if (provider.authentication === "unavailable") return {
|
|
1318
|
-
label: "
|
|
4341
|
+
label: `${iconInSlot("close", 2, mode)} Indisponível`,
|
|
1319
4342
|
tone: "error"
|
|
1320
4343
|
};
|
|
1321
4344
|
return provider.state === "available" ? {
|
|
1322
|
-
label: "
|
|
4345
|
+
label: `${iconInSlot("check", 2, mode)} Credencial local · há dados`,
|
|
1323
4346
|
tone: "success"
|
|
1324
4347
|
} : {
|
|
1325
|
-
label: "
|
|
4348
|
+
label: `${iconInSlot("warning", 2, mode)} Credencial local · sem dados`,
|
|
1326
4349
|
tone: "warning"
|
|
1327
4350
|
};
|
|
1328
4351
|
}
|
|
@@ -1404,34 +4427,85 @@ function recentModelUsage(context, sessionID) {
|
|
|
1404
4427
|
revertMessageID
|
|
1405
4428
|
});
|
|
1406
4429
|
}
|
|
1407
|
-
function
|
|
4430
|
+
function activeQuotaModelLabel(row) {
|
|
4431
|
+
return row ? `Modelo ativo · ${activeModelIdentity(row)}` : "Modelo ativo indisponível";
|
|
4432
|
+
}
|
|
4433
|
+
function quotaPanelStatusMessage(snapshot) {
|
|
4434
|
+
if (snapshot.status === "partial") return "Dados parciais";
|
|
4435
|
+
if (snapshot.status === "ready") return void 0;
|
|
4436
|
+
return quotaSnapshotStatusLabel(snapshot.status, snapshot.error);
|
|
4437
|
+
}
|
|
4438
|
+
function useRecentModelUsage(context, sessionID) {
|
|
1408
4439
|
const [revision, setRevision] = createSignal(0);
|
|
1409
4440
|
const rows = createMemo(() => {
|
|
1410
4441
|
revision();
|
|
1411
|
-
return recentModelUsage(
|
|
4442
|
+
return recentModelUsage(context, sessionID);
|
|
1412
4443
|
});
|
|
1413
4444
|
onMount(() => {
|
|
1414
4445
|
const unsubscribe = [];
|
|
1415
4446
|
for (const event of MODEL_USAGE_REFRESH_EVENTS) try {
|
|
1416
|
-
unsubscribe.push(
|
|
4447
|
+
unsubscribe.push(context.data.on(event, () => setRevision((value) => value + 1)));
|
|
1417
4448
|
} catch {}
|
|
1418
4449
|
onCleanup(() => {
|
|
1419
4450
|
for (const dispose of unsubscribe) dispose();
|
|
1420
4451
|
});
|
|
1421
4452
|
});
|
|
4453
|
+
return rows;
|
|
4454
|
+
}
|
|
4455
|
+
function ActiveModelHeader(props) {
|
|
4456
|
+
const rows = useRecentModelUsage(props.context, props.sessionID);
|
|
4457
|
+
const activeModel = createMemo(() => rows().find((row) => row.active));
|
|
4458
|
+
const status = () => props.snapshot.status;
|
|
4459
|
+
const message = () => quotaPanelStatusMessage(props.snapshot);
|
|
4460
|
+
const modelLine = () => activeQuotaModelLabel(activeModel());
|
|
4461
|
+
return (() => {
|
|
4462
|
+
var _el$13 = createElement("box");
|
|
4463
|
+
setProp(_el$13, "flexDirection", "column");
|
|
4464
|
+
insert(_el$13, createComponent(For, {
|
|
4465
|
+
get each() {
|
|
4466
|
+
return quotaTextLines(modelLine(), props.width, 0);
|
|
4467
|
+
},
|
|
4468
|
+
children: (line) => (() => {
|
|
4469
|
+
var _el$14 = createElement("text");
|
|
4470
|
+
insert(_el$14, line);
|
|
4471
|
+
effect((_$p) => setProp(_el$14, "fg", base(props.context), _$p));
|
|
4472
|
+
return _el$14;
|
|
4473
|
+
})()
|
|
4474
|
+
}), null);
|
|
4475
|
+
insert(_el$13, createComponent(Show, {
|
|
4476
|
+
get when() {
|
|
4477
|
+
return message();
|
|
4478
|
+
},
|
|
4479
|
+
children: (label) => createComponent(For, {
|
|
4480
|
+
get each() {
|
|
4481
|
+
return quotaTextLines(label(), props.width, 0);
|
|
4482
|
+
},
|
|
4483
|
+
children: (line) => (() => {
|
|
4484
|
+
var _el$15 = createElement("text");
|
|
4485
|
+
insert(_el$15, line);
|
|
4486
|
+
effect((_$p) => setProp(_el$15, "fg", status() === "partial" ? tone(props.context, "warning") : tone(props.context, status() === "unavailable" ? "error" : "info"), _$p));
|
|
4487
|
+
return _el$15;
|
|
4488
|
+
})()
|
|
4489
|
+
})
|
|
4490
|
+
}), null);
|
|
4491
|
+
return _el$13;
|
|
4492
|
+
})();
|
|
4493
|
+
}
|
|
4494
|
+
function ModelUsageDetails(props) {
|
|
4495
|
+
const rows = useRecentModelUsage(props.context, props.sessionID);
|
|
1422
4496
|
const contextTone = (percent) => tone(props.context, contextUsageTone(percent));
|
|
1423
4497
|
const contextCells = () => Math.max(4, Math.min(12, Math.floor((props.width - 30) / 2)));
|
|
1424
4498
|
const modelLabel = (row) => `${row.providerID ? `${row.providerID}/` : ""}${row.label}`;
|
|
1425
4499
|
return (() => {
|
|
1426
|
-
var _el$
|
|
1427
|
-
insertNode(_el$
|
|
1428
|
-
insertNode(_el$
|
|
1429
|
-
setProp(_el$
|
|
1430
|
-
setProp(_el$
|
|
1431
|
-
insertNode(_el$
|
|
1432
|
-
setProp(_el$
|
|
1433
|
-
insertNode(_el$
|
|
1434
|
-
insert(_el$
|
|
4500
|
+
var _el$16 = createElement("box"), _el$17 = createElement("text"), _el$19 = createElement("text");
|
|
4501
|
+
insertNode(_el$16, _el$17);
|
|
4502
|
+
insertNode(_el$16, _el$19);
|
|
4503
|
+
setProp(_el$16, "flexDirection", "column");
|
|
4504
|
+
setProp(_el$16, "paddingTop", 1);
|
|
4505
|
+
insertNode(_el$17, createTextNode(`Modelos em uso`));
|
|
4506
|
+
setProp(_el$17, "attributes", 1);
|
|
4507
|
+
insertNode(_el$19, createTextNode(`Mensagens recentes da sessão ativa e delegações.`));
|
|
4508
|
+
insert(_el$16, createComponent(For, {
|
|
1435
4509
|
get each() {
|
|
1436
4510
|
return rows();
|
|
1437
4511
|
},
|
|
@@ -1441,11 +4515,18 @@ function ModelUsageDetails(props) {
|
|
|
1441
4515
|
return row.active;
|
|
1442
4516
|
},
|
|
1443
4517
|
get children() {
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
4518
|
+
return createComponent(For, {
|
|
4519
|
+
get each() {
|
|
4520
|
+
return quotaTextLines(`MODELO ATUAL · ${activeModelIdentity(row)}`, props.width, 0);
|
|
4521
|
+
},
|
|
4522
|
+
children: (line) => (() => {
|
|
4523
|
+
var _el$31 = createElement("text");
|
|
4524
|
+
setProp(_el$31, "attributes", 1);
|
|
4525
|
+
insert(_el$31, line);
|
|
4526
|
+
effect((_$p) => setProp(_el$31, "fg", tone(props.context, "info"), _$p));
|
|
4527
|
+
return _el$31;
|
|
4528
|
+
})()
|
|
4529
|
+
});
|
|
1449
4530
|
}
|
|
1450
4531
|
}),
|
|
1451
4532
|
createComponent(Show, {
|
|
@@ -1474,10 +4555,10 @@ function ModelUsageDetails(props) {
|
|
|
1474
4555
|
},
|
|
1475
4556
|
get fallback() {
|
|
1476
4557
|
return (() => {
|
|
1477
|
-
var _el$
|
|
1478
|
-
insertNode(_el$
|
|
1479
|
-
effect((_$p) => setProp(_el$
|
|
1480
|
-
return _el$
|
|
4558
|
+
var _el$32 = createElement("text");
|
|
4559
|
+
insertNode(_el$32, createTextNode(`dados indisponíveis`));
|
|
4560
|
+
effect((_$p) => setProp(_el$32, "fg", muted(props.context), _$p));
|
|
4561
|
+
return _el$32;
|
|
1481
4562
|
})();
|
|
1482
4563
|
},
|
|
1483
4564
|
get children() {
|
|
@@ -1508,82 +4589,104 @@ function ModelUsageDetails(props) {
|
|
|
1508
4589
|
children: (usage) => {
|
|
1509
4590
|
const bar = () => contextBar(usage().percent, contextCells());
|
|
1510
4591
|
return (() => {
|
|
1511
|
-
var _el$
|
|
1512
|
-
insertNode(_el$33, _el$34);
|
|
1513
|
-
insertNode(_el$33, _el$38);
|
|
1514
|
-
setProp(_el$33, "flexDirection", "column");
|
|
1515
|
-
setProp(_el$33, "paddingTop", 1);
|
|
4592
|
+
var _el$34 = createElement("box"), _el$35 = createElement("box"), _el$36 = createElement("text"), _el$38 = createElement("text"), _el$39 = createElement("box"), _el$40 = createElement("text");
|
|
1516
4593
|
insertNode(_el$34, _el$35);
|
|
1517
|
-
insertNode(_el$34, _el$
|
|
1518
|
-
setProp(_el$34, "flexDirection", "
|
|
1519
|
-
setProp(_el$34, "
|
|
1520
|
-
|
|
1521
|
-
insertNode(_el$35,
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
setProp(_el$
|
|
1525
|
-
|
|
1526
|
-
insert(_el$38,
|
|
4594
|
+
insertNode(_el$34, _el$39);
|
|
4595
|
+
setProp(_el$34, "flexDirection", "column");
|
|
4596
|
+
setProp(_el$34, "paddingTop", 1);
|
|
4597
|
+
insertNode(_el$35, _el$36);
|
|
4598
|
+
insertNode(_el$35, _el$38);
|
|
4599
|
+
setProp(_el$35, "flexDirection", "row");
|
|
4600
|
+
setProp(_el$35, "justifyContent", "space-between");
|
|
4601
|
+
setProp(_el$35, "gap", 1);
|
|
4602
|
+
insertNode(_el$36, createTextNode(`Último contexto reportado`));
|
|
4603
|
+
insert(_el$38, () => `${formatTokenCount(usage().tokens) ?? "—"} tokens`);
|
|
4604
|
+
insertNode(_el$39, _el$40);
|
|
4605
|
+
setProp(_el$39, "flexDirection", "row");
|
|
4606
|
+
setProp(_el$39, "gap", 1);
|
|
4607
|
+
insert(_el$39, createComponent(Show, {
|
|
1527
4608
|
get when() {
|
|
1528
4609
|
return bar();
|
|
1529
4610
|
},
|
|
1530
4611
|
children: (cells) => [(() => {
|
|
1531
|
-
var _el$40 = createElement("text");
|
|
1532
|
-
insert(_el$40, () => cells().filled);
|
|
1533
|
-
effect((_$p) => setProp(_el$40, "fg", contextTone(usage().percent), _$p));
|
|
1534
|
-
return _el$40;
|
|
1535
|
-
})(), (() => {
|
|
1536
4612
|
var _el$41 = createElement("text");
|
|
1537
|
-
insert(_el$41, () => cells().
|
|
1538
|
-
effect((_$p) => setProp(_el$41, "fg",
|
|
4613
|
+
insert(_el$41, () => cells().filled);
|
|
4614
|
+
effect((_$p) => setProp(_el$41, "fg", contextTone(usage().percent), _$p));
|
|
1539
4615
|
return _el$41;
|
|
4616
|
+
})(), (() => {
|
|
4617
|
+
var _el$42 = createElement("text");
|
|
4618
|
+
insert(_el$42, () => cells().empty);
|
|
4619
|
+
effect((_$p) => setProp(_el$42, "fg", muted(props.context), _$p));
|
|
4620
|
+
return _el$42;
|
|
1540
4621
|
})()]
|
|
1541
|
-
}), _el$
|
|
1542
|
-
insert(_el$
|
|
4622
|
+
}), _el$40);
|
|
4623
|
+
insert(_el$40, () => `${usage().percent}% de ${formatContextWindow(usage().limit) ?? "—"}`);
|
|
1543
4624
|
effect((_p$) => {
|
|
1544
4625
|
var _v$5 = muted(props.context), _v$6 = contextTone(usage().percent), _v$7 = contextTone(usage().percent);
|
|
1545
|
-
_v$5 !== _p$.e && (_p$.e = setProp(_el$
|
|
1546
|
-
_v$6 !== _p$.t && (_p$.t = setProp(_el$
|
|
1547
|
-
_v$7 !== _p$.a && (_p$.a = setProp(_el$
|
|
4626
|
+
_v$5 !== _p$.e && (_p$.e = setProp(_el$36, "fg", _v$5, _p$.e));
|
|
4627
|
+
_v$6 !== _p$.t && (_p$.t = setProp(_el$38, "fg", _v$6, _p$.t));
|
|
4628
|
+
_v$7 !== _p$.a && (_p$.a = setProp(_el$40, "fg", _v$7, _p$.a));
|
|
1548
4629
|
return _p$;
|
|
1549
4630
|
}, {
|
|
1550
4631
|
e: void 0,
|
|
1551
4632
|
t: void 0,
|
|
1552
4633
|
a: void 0
|
|
1553
4634
|
});
|
|
1554
|
-
return _el$
|
|
4635
|
+
return _el$34;
|
|
1555
4636
|
})();
|
|
1556
4637
|
}
|
|
1557
4638
|
}), null);
|
|
1558
4639
|
insert(_el$23, createComponent(Show, {
|
|
1559
4640
|
get when() {
|
|
1560
|
-
return row.
|
|
4641
|
+
return memo(() => row.tokens !== null)() && row.context === null;
|
|
1561
4642
|
},
|
|
1562
4643
|
get children() {
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
children: (line) => (() => {
|
|
1568
|
-
var _el$42 = createElement("text");
|
|
1569
|
-
insert(_el$42, line);
|
|
1570
|
-
effect((_$p) => setProp(_el$42, "fg", muted(props.context), _$p));
|
|
1571
|
-
return _el$42;
|
|
1572
|
-
})()
|
|
1573
|
-
});
|
|
4644
|
+
var _el$29 = createElement("text");
|
|
4645
|
+
insertNode(_el$29, createTextNode(`Contexto indisponível`));
|
|
4646
|
+
effect((_$p) => setProp(_el$29, "fg", muted(props.context), _$p));
|
|
4647
|
+
return _el$29;
|
|
1574
4648
|
}
|
|
1575
4649
|
}), null);
|
|
1576
4650
|
insert(_el$23, createComponent(Show, {
|
|
1577
4651
|
get when() {
|
|
1578
|
-
return
|
|
4652
|
+
return row.active;
|
|
1579
4653
|
},
|
|
1580
4654
|
get children() {
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
4655
|
+
return createComponent(ActiveContextEstimate, {
|
|
4656
|
+
get context() {
|
|
4657
|
+
return props.context;
|
|
4658
|
+
},
|
|
4659
|
+
get providerID() {
|
|
4660
|
+
return row.providerID;
|
|
4661
|
+
},
|
|
4662
|
+
get modelID() {
|
|
4663
|
+
return row.modelID;
|
|
4664
|
+
},
|
|
4665
|
+
get contextTokens() {
|
|
4666
|
+
return row.context?.tokens ?? null;
|
|
4667
|
+
},
|
|
4668
|
+
get width() {
|
|
4669
|
+
return props.width - 2;
|
|
4670
|
+
}
|
|
4671
|
+
});
|
|
1585
4672
|
}
|
|
1586
4673
|
}), null);
|
|
4674
|
+
insert(_el$23, createComponent(Show, {
|
|
4675
|
+
get when() {
|
|
4676
|
+
return memo(() => row.cost === null)() ? null : sessionSpendLabel(row.cost);
|
|
4677
|
+
},
|
|
4678
|
+
children: (label) => createComponent(For, {
|
|
4679
|
+
get each() {
|
|
4680
|
+
return quotaTextLines(label(), props.width - 2, 0);
|
|
4681
|
+
},
|
|
4682
|
+
children: (line) => (() => {
|
|
4683
|
+
var _el$43 = createElement("text");
|
|
4684
|
+
insert(_el$43, line);
|
|
4685
|
+
effect((_$p) => setProp(_el$43, "fg", muted(props.context), _$p));
|
|
4686
|
+
return _el$43;
|
|
4687
|
+
})()
|
|
4688
|
+
})
|
|
4689
|
+
}), null);
|
|
1587
4690
|
effect((_$p) => setProp(_el$24, "fg", base(props.context), _$p));
|
|
1588
4691
|
return _el$23;
|
|
1589
4692
|
})()
|
|
@@ -1591,14 +4694,14 @@ function ModelUsageDetails(props) {
|
|
|
1591
4694
|
}), null);
|
|
1592
4695
|
effect((_p$) => {
|
|
1593
4696
|
var _v$ = tone(props.context, "info"), _v$2 = muted(props.context);
|
|
1594
|
-
_v$ !== _p$.e && (_p$.e = setProp(_el$
|
|
1595
|
-
_v$2 !== _p$.t && (_p$.t = setProp(_el$
|
|
4697
|
+
_v$ !== _p$.e && (_p$.e = setProp(_el$17, "fg", _v$, _p$.e));
|
|
4698
|
+
_v$2 !== _p$.t && (_p$.t = setProp(_el$19, "fg", _v$2, _p$.t));
|
|
1596
4699
|
return _p$;
|
|
1597
4700
|
}, {
|
|
1598
4701
|
e: void 0,
|
|
1599
4702
|
t: void 0
|
|
1600
4703
|
});
|
|
1601
|
-
return _el$
|
|
4704
|
+
return _el$16;
|
|
1602
4705
|
})();
|
|
1603
4706
|
}
|
|
1604
4707
|
function QuotaProviderDetails(props) {
|
|
@@ -1613,34 +4716,34 @@ function QuotaProviderDetails(props) {
|
|
|
1613
4716
|
return message && message !== "status indisponível" && message !== "dados de quota indisponíveis" && message !== "setup necessário" ? message : void 0;
|
|
1614
4717
|
};
|
|
1615
4718
|
return (() => {
|
|
1616
|
-
var _el$
|
|
1617
|
-
insertNode(_el$
|
|
1618
|
-
setProp(_el$
|
|
1619
|
-
setProp(_el$
|
|
1620
|
-
insert(_el$
|
|
4719
|
+
var _el$44 = createElement("box"), _el$49 = createElement("text");
|
|
4720
|
+
insertNode(_el$44, _el$49);
|
|
4721
|
+
setProp(_el$44, "flexDirection", "column");
|
|
4722
|
+
setProp(_el$44, "paddingBottom", 1);
|
|
4723
|
+
insert(_el$44, createComponent(For, {
|
|
1621
4724
|
get each() {
|
|
1622
4725
|
return quotaTextLines(props.provider.label, props.width, 0);
|
|
1623
4726
|
},
|
|
1624
4727
|
children: (line) => (() => {
|
|
1625
|
-
var _el$
|
|
1626
|
-
setProp(_el$
|
|
1627
|
-
insert(_el$
|
|
1628
|
-
effect((_$p) => setProp(_el$
|
|
1629
|
-
return _el$
|
|
4728
|
+
var _el$50 = createElement("text");
|
|
4729
|
+
setProp(_el$50, "attributes", 1);
|
|
4730
|
+
insert(_el$50, line);
|
|
4731
|
+
effect((_$p) => setProp(_el$50, "fg", tone(props.context, "info"), _$p));
|
|
4732
|
+
return _el$50;
|
|
1630
4733
|
})()
|
|
1631
|
-
}), _el$
|
|
1632
|
-
insert(_el$
|
|
4734
|
+
}), _el$49);
|
|
4735
|
+
insert(_el$44, createComponent(For, {
|
|
1633
4736
|
get each() {
|
|
1634
4737
|
return quotaTextLines(state().label, props.width, 0);
|
|
1635
4738
|
},
|
|
1636
4739
|
children: (line) => (() => {
|
|
1637
|
-
var _el$
|
|
1638
|
-
insert(_el$
|
|
1639
|
-
effect((_$p) => setProp(_el$
|
|
1640
|
-
return _el$
|
|
4740
|
+
var _el$51 = createElement("text");
|
|
4741
|
+
insert(_el$51, line);
|
|
4742
|
+
effect((_$p) => setProp(_el$51, "fg", tone(props.context, state().tone), _$p));
|
|
4743
|
+
return _el$51;
|
|
1641
4744
|
})()
|
|
1642
|
-
}), _el$
|
|
1643
|
-
insert(_el$
|
|
4745
|
+
}), _el$49);
|
|
4746
|
+
insert(_el$44, createComponent(Show, {
|
|
1644
4747
|
get when() {
|
|
1645
4748
|
return quotaMetrics().length > 0;
|
|
1646
4749
|
},
|
|
@@ -1666,17 +4769,17 @@ function QuotaProviderDetails(props) {
|
|
|
1666
4769
|
})
|
|
1667
4770
|
});
|
|
1668
4771
|
}
|
|
1669
|
-
}), _el$
|
|
1670
|
-
insert(_el$
|
|
4772
|
+
}), _el$49);
|
|
4773
|
+
insert(_el$44, createComponent(Show, {
|
|
1671
4774
|
get when() {
|
|
1672
4775
|
return financeMetrics().length > 0;
|
|
1673
4776
|
},
|
|
1674
4777
|
get children() {
|
|
1675
4778
|
return [(() => {
|
|
1676
|
-
var _el$
|
|
1677
|
-
insertNode(_el$
|
|
1678
|
-
effect((_$p) => setProp(_el$
|
|
1679
|
-
return _el$
|
|
4779
|
+
var _el$45 = createElement("text");
|
|
4780
|
+
insertNode(_el$45, createTextNode(`GASTOS & SALDO`));
|
|
4781
|
+
effect((_$p) => setProp(_el$45, "fg", muted(props.context), _$p));
|
|
4782
|
+
return _el$45;
|
|
1680
4783
|
})(), createComponent(For, {
|
|
1681
4784
|
get each() {
|
|
1682
4785
|
return financeMetrics();
|
|
@@ -1692,17 +4795,17 @@ function QuotaProviderDetails(props) {
|
|
|
1692
4795
|
})
|
|
1693
4796
|
})];
|
|
1694
4797
|
}
|
|
1695
|
-
}), _el$
|
|
1696
|
-
insert(_el$
|
|
4798
|
+
}), _el$49);
|
|
4799
|
+
insert(_el$44, createComponent(Show, {
|
|
1697
4800
|
get when() {
|
|
1698
4801
|
return otherMetrics().length > 0;
|
|
1699
4802
|
},
|
|
1700
4803
|
get children() {
|
|
1701
4804
|
return [(() => {
|
|
1702
|
-
var _el$
|
|
1703
|
-
insertNode(_el$
|
|
1704
|
-
effect((_$p) => setProp(_el$
|
|
1705
|
-
return _el$
|
|
4805
|
+
var _el$47 = createElement("text");
|
|
4806
|
+
insertNode(_el$47, createTextNode(`OUTRAS MÉTRICAS`));
|
|
4807
|
+
effect((_$p) => setProp(_el$47, "fg", muted(props.context), _$p));
|
|
4808
|
+
return _el$47;
|
|
1706
4809
|
})(), createComponent(For, {
|
|
1707
4810
|
get each() {
|
|
1708
4811
|
return otherMetrics();
|
|
@@ -1718,23 +4821,34 @@ function QuotaProviderDetails(props) {
|
|
|
1718
4821
|
})
|
|
1719
4822
|
})];
|
|
1720
4823
|
}
|
|
1721
|
-
}), _el$
|
|
1722
|
-
insert(_el$
|
|
4824
|
+
}), _el$49);
|
|
4825
|
+
insert(_el$44, createComponent(Show, {
|
|
1723
4826
|
get when() {
|
|
1724
4827
|
return safeError();
|
|
1725
4828
|
},
|
|
1726
4829
|
children: (message) => (() => {
|
|
1727
|
-
var _el$
|
|
1728
|
-
insert(_el$
|
|
1729
|
-
effect((_$p) => setProp(_el$
|
|
1730
|
-
return _el$
|
|
4830
|
+
var _el$52 = createElement("text");
|
|
4831
|
+
insert(_el$52, () => clipped(`! ${message()}`, props.width - 2));
|
|
4832
|
+
effect((_$p) => setProp(_el$52, "fg", tone(props.context, "warning"), _$p));
|
|
4833
|
+
return _el$52;
|
|
1731
4834
|
})()
|
|
1732
|
-
}), _el$
|
|
1733
|
-
insert(_el$
|
|
1734
|
-
effect((_$p) => setProp(_el$
|
|
1735
|
-
return _el$
|
|
4835
|
+
}), _el$49);
|
|
4836
|
+
insert(_el$49, () => "─".repeat(Math.max(8, Math.min(32, props.width - 4))));
|
|
4837
|
+
effect((_$p) => setProp(_el$49, "fg", muted(props.context), _$p));
|
|
4838
|
+
return _el$44;
|
|
1736
4839
|
})();
|
|
1737
4840
|
}
|
|
4841
|
+
const QUOTA_TABS = [
|
|
4842
|
+
"usage",
|
|
4843
|
+
"limits",
|
|
4844
|
+
"plugin",
|
|
4845
|
+
"settings"
|
|
4846
|
+
];
|
|
4847
|
+
const DEFAULT_QUOTA_TAB = "limits";
|
|
4848
|
+
function moveQuotaTab(current, direction) {
|
|
4849
|
+
const nextIndex = (QUOTA_TABS.indexOf(current) + direction + QUOTA_TABS.length) % QUOTA_TABS.length;
|
|
4850
|
+
return QUOTA_TABS[nextIndex] ?? "limits";
|
|
4851
|
+
}
|
|
1738
4852
|
const QUOTA_PANEL_COMMANDS = [
|
|
1739
4853
|
{
|
|
1740
4854
|
action: "toggle-enabled",
|
|
@@ -1772,17 +4886,37 @@ function runQuotaPanelCommand(action, panel, runtime) {
|
|
|
1772
4886
|
return;
|
|
1773
4887
|
}
|
|
1774
4888
|
}
|
|
1775
|
-
function quotaPanelKeymapLayer(panel, runtime) {
|
|
4889
|
+
function quotaPanelKeymapLayer(panel, runtime, onTabChange) {
|
|
1776
4890
|
const focused = () => panel.focused === true;
|
|
1777
4891
|
return {
|
|
1778
4892
|
mode: "global",
|
|
1779
4893
|
enabled: focused,
|
|
1780
|
-
commands:
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
4894
|
+
commands: [
|
|
4895
|
+
...QUOTA_PANEL_COMMANDS.map((command) => ({
|
|
4896
|
+
id: command.id,
|
|
4897
|
+
title: command.title,
|
|
4898
|
+
bind: command.bind,
|
|
4899
|
+
run: () => focused() ? runQuotaPanelCommand(command.action, panel, runtime) : false
|
|
4900
|
+
})),
|
|
4901
|
+
{
|
|
4902
|
+
id: "pantheon.quota.next-tab",
|
|
4903
|
+
title: "Quota: próxima aba",
|
|
4904
|
+
bind: "tab",
|
|
4905
|
+
run: () => {
|
|
4906
|
+
if (!focused()) return false;
|
|
4907
|
+
onTabChange?.(1);
|
|
4908
|
+
}
|
|
4909
|
+
},
|
|
4910
|
+
{
|
|
4911
|
+
id: "pantheon.quota.previous-tab",
|
|
4912
|
+
title: "Quota: aba anterior",
|
|
4913
|
+
bind: "shift+tab",
|
|
4914
|
+
run: () => {
|
|
4915
|
+
if (!focused()) return false;
|
|
4916
|
+
onTabChange?.(-1);
|
|
4917
|
+
}
|
|
4918
|
+
}
|
|
4919
|
+
]
|
|
1786
4920
|
};
|
|
1787
4921
|
}
|
|
1788
4922
|
function quotaOpenCommand(context) {
|
|
@@ -1817,180 +4951,429 @@ function openQuotaPanel(context) {
|
|
|
1817
4951
|
} catch {}
|
|
1818
4952
|
return false;
|
|
1819
4953
|
}
|
|
4954
|
+
const QUOTA_TAB_LABELS = {
|
|
4955
|
+
usage: "Usage",
|
|
4956
|
+
limits: "Limits",
|
|
4957
|
+
plugin: "Plugin",
|
|
4958
|
+
settings: "Settings"
|
|
4959
|
+
};
|
|
4960
|
+
const QUOTA_TAB_ICONS = {
|
|
4961
|
+
usage: "clock",
|
|
4962
|
+
limits: "gauge",
|
|
4963
|
+
plugin: "plug",
|
|
4964
|
+
settings: "settings"
|
|
4965
|
+
};
|
|
4966
|
+
function quotaTabLabel(tab, mode) {
|
|
4967
|
+
return `${iconInSlot(QUOTA_TAB_ICONS[tab], 3, mode)} ${QUOTA_TAB_LABELS[tab]}`;
|
|
4968
|
+
}
|
|
4969
|
+
function QuotaTabNavigation(props) {
|
|
4970
|
+
return (() => {
|
|
4971
|
+
var _el$53 = createElement("box");
|
|
4972
|
+
setProp(_el$53, "gap", 1);
|
|
4973
|
+
insert(_el$53, createComponent(For, {
|
|
4974
|
+
each: QUOTA_TABS,
|
|
4975
|
+
children: (tab) => (() => {
|
|
4976
|
+
var _el$54 = createElement("box"), _el$55 = createElement("text");
|
|
4977
|
+
insertNode(_el$54, _el$55);
|
|
4978
|
+
setProp(_el$54, "onMouseDown", () => props.onSelect(tab));
|
|
4979
|
+
insert(_el$55, () => `${props.selected === tab ? "› " : " "}${quotaTabLabel(tab)}`);
|
|
4980
|
+
effect((_p$) => {
|
|
4981
|
+
var _v$8 = props.selected === tab ? tone(props.context, "info") : muted(props.context), _v$9 = props.selected === tab ? 1 : 0;
|
|
4982
|
+
_v$8 !== _p$.e && (_p$.e = setProp(_el$55, "fg", _v$8, _p$.e));
|
|
4983
|
+
_v$9 !== _p$.t && (_p$.t = setProp(_el$55, "attributes", _v$9, _p$.t));
|
|
4984
|
+
return _p$;
|
|
4985
|
+
}, {
|
|
4986
|
+
e: void 0,
|
|
4987
|
+
t: void 0
|
|
4988
|
+
});
|
|
4989
|
+
return _el$54;
|
|
4990
|
+
})()
|
|
4991
|
+
}));
|
|
4992
|
+
effect((_$p) => setProp(_el$53, "flexDirection", props.width < 54 ? "column" : "row", _$p));
|
|
4993
|
+
return _el$53;
|
|
4994
|
+
})();
|
|
4995
|
+
}
|
|
4996
|
+
function QuotaCloseButton(props) {
|
|
4997
|
+
return (() => {
|
|
4998
|
+
var _el$56 = createElement("box"), _el$57 = createElement("text");
|
|
4999
|
+
insertNode(_el$56, _el$57);
|
|
5000
|
+
insert(_el$57, () => `${quotaIcon("close")} Fechar`);
|
|
5001
|
+
effect((_p$) => {
|
|
5002
|
+
var _v$0 = props.close, _v$1 = tone(props.context, "info");
|
|
5003
|
+
_v$0 !== _p$.e && (_p$.e = setProp(_el$56, "onMouseDown", _v$0, _p$.e));
|
|
5004
|
+
_v$1 !== _p$.t && (_p$.t = setProp(_el$57, "fg", _v$1, _p$.t));
|
|
5005
|
+
return _p$;
|
|
5006
|
+
}, {
|
|
5007
|
+
e: void 0,
|
|
5008
|
+
t: void 0
|
|
5009
|
+
});
|
|
5010
|
+
return _el$56;
|
|
5011
|
+
})();
|
|
5012
|
+
}
|
|
5013
|
+
function QuotaPluginDetails(props) {
|
|
5014
|
+
return (() => {
|
|
5015
|
+
var _el$58 = createElement("box"), _el$59 = createElement("text"), _el$61 = createElement("text"), _el$62 = createElement("text"), _el$64 = createElement("text"), _el$69 = createElement("text");
|
|
5016
|
+
insertNode(_el$58, _el$59);
|
|
5017
|
+
insertNode(_el$58, _el$61);
|
|
5018
|
+
insertNode(_el$58, _el$62);
|
|
5019
|
+
insertNode(_el$58, _el$64);
|
|
5020
|
+
insertNode(_el$58, _el$69);
|
|
5021
|
+
setProp(_el$58, "flexDirection", "column");
|
|
5022
|
+
setProp(_el$58, "paddingTop", 1);
|
|
5023
|
+
insertNode(_el$59, createTextNode(`Plugin`));
|
|
5024
|
+
setProp(_el$59, "attributes", 1);
|
|
5025
|
+
insert(_el$61, `Pantheon TUI v1.6.2-beta.3`);
|
|
5026
|
+
insertNode(_el$62, createTextNode(`Status de conexão consultado pelo OpenCode; segredos não são exibidos.`));
|
|
5027
|
+
insert(_el$64, () => `Status da quota: ${quotaSnapshotStatusLabel(props.snapshot.status, props.snapshot.error)}`);
|
|
5028
|
+
insert(_el$58, createComponent(Show, {
|
|
5029
|
+
get when() {
|
|
5030
|
+
return props.snapshot.details.length > 0;
|
|
5031
|
+
},
|
|
5032
|
+
get children() {
|
|
5033
|
+
return [(() => {
|
|
5034
|
+
var _el$65 = createElement("text");
|
|
5035
|
+
insertNode(_el$65, createTextNode(`PROVEDORES DETECTADOS`));
|
|
5036
|
+
effect((_$p) => setProp(_el$65, "fg", muted(props.context), _$p));
|
|
5037
|
+
return _el$65;
|
|
5038
|
+
})(), createComponent(For, {
|
|
5039
|
+
get each() {
|
|
5040
|
+
return props.snapshot.details;
|
|
5041
|
+
},
|
|
5042
|
+
children: (provider) => {
|
|
5043
|
+
const state = providerState(provider);
|
|
5044
|
+
return (() => {
|
|
5045
|
+
var _el$71 = createElement("text");
|
|
5046
|
+
insert(_el$71, () => `${provider.label} · ${state.label}`);
|
|
5047
|
+
effect((_$p) => setProp(_el$71, "fg", tone(props.context, state.tone), _$p));
|
|
5048
|
+
return _el$71;
|
|
5049
|
+
})();
|
|
5050
|
+
}
|
|
5051
|
+
})];
|
|
5052
|
+
}
|
|
5053
|
+
}), _el$69);
|
|
5054
|
+
insert(_el$58, createComponent(Show, {
|
|
5055
|
+
get when() {
|
|
5056
|
+
return props.snapshot.details.length === 0;
|
|
5057
|
+
},
|
|
5058
|
+
get children() {
|
|
5059
|
+
var _el$67 = createElement("text");
|
|
5060
|
+
insertNode(_el$67, createTextNode(`Nenhum provedor elegível foi confirmado nesta sessão.`));
|
|
5061
|
+
effect((_$p) => setProp(_el$67, "fg", muted(props.context), _$p));
|
|
5062
|
+
return _el$67;
|
|
5063
|
+
}
|
|
5064
|
+
}), _el$69);
|
|
5065
|
+
insertNode(_el$69, createTextNode(`Configure a conexão e credenciais pelo fluxo oficial do OpenCode; o painel não altera configurações.`));
|
|
5066
|
+
effect((_p$) => {
|
|
5067
|
+
var _v$10 = tone(props.context, "info"), _v$11 = base(props.context), _v$12 = muted(props.context), _v$13 = muted(props.context), _v$14 = muted(props.context);
|
|
5068
|
+
_v$10 !== _p$.e && (_p$.e = setProp(_el$59, "fg", _v$10, _p$.e));
|
|
5069
|
+
_v$11 !== _p$.t && (_p$.t = setProp(_el$61, "fg", _v$11, _p$.t));
|
|
5070
|
+
_v$12 !== _p$.a && (_p$.a = setProp(_el$62, "fg", _v$12, _p$.a));
|
|
5071
|
+
_v$13 !== _p$.o && (_p$.o = setProp(_el$64, "fg", _v$13, _p$.o));
|
|
5072
|
+
_v$14 !== _p$.i && (_p$.i = setProp(_el$69, "fg", _v$14, _p$.i));
|
|
5073
|
+
return _p$;
|
|
5074
|
+
}, {
|
|
5075
|
+
e: void 0,
|
|
5076
|
+
t: void 0,
|
|
5077
|
+
a: void 0,
|
|
5078
|
+
o: void 0,
|
|
5079
|
+
i: void 0
|
|
5080
|
+
});
|
|
5081
|
+
return _el$58;
|
|
5082
|
+
})();
|
|
5083
|
+
}
|
|
5084
|
+
function QuotaSettings(props) {
|
|
5085
|
+
const preferences = () => props.runtime.preferences();
|
|
5086
|
+
return (() => {
|
|
5087
|
+
var _el$72 = createElement("box"), _el$73 = createElement("text"), _el$75 = createElement("box"), _el$76 = createElement("text"), _el$77 = createElement("box"), _el$78 = createElement("text"), _el$79 = createElement("text");
|
|
5088
|
+
insertNode(_el$72, _el$73);
|
|
5089
|
+
insertNode(_el$72, _el$75);
|
|
5090
|
+
insertNode(_el$72, _el$77);
|
|
5091
|
+
insertNode(_el$72, _el$79);
|
|
5092
|
+
setProp(_el$72, "flexDirection", "column");
|
|
5093
|
+
setProp(_el$72, "paddingTop", 1);
|
|
5094
|
+
insertNode(_el$73, createTextNode(`Settings`));
|
|
5095
|
+
setProp(_el$73, "attributes", 1);
|
|
5096
|
+
insertNode(_el$75, _el$76);
|
|
5097
|
+
setProp(_el$75, "onMouseDown", () => void props.runtime.toggleEnabled());
|
|
5098
|
+
insert(_el$76, () => `${quotaIcon(preferences().enabled ? "check" : "close")} [E] Quota ${preferences().enabled ? "ativada" : "desativada"} · clique para alternar`);
|
|
5099
|
+
insertNode(_el$77, _el$78);
|
|
5100
|
+
setProp(_el$77, "onMouseDown", () => void props.runtime.toggleDisplay());
|
|
5101
|
+
insert(_el$78, () => `${quotaIcon("sliders")} [M] Exibir ${preferences().display === "remaining" ? "restante" : "usado"} · clique para alternar`);
|
|
5102
|
+
insertNode(_el$79, createTextNode(`Tab/Shift+Tab navega pelas abas; Esc fecha o painel.`));
|
|
5103
|
+
effect((_p$) => {
|
|
5104
|
+
var _v$15 = tone(props.context, "info"), _v$16 = base(props.context), _v$17 = base(props.context), _v$18 = muted(props.context);
|
|
5105
|
+
_v$15 !== _p$.e && (_p$.e = setProp(_el$73, "fg", _v$15, _p$.e));
|
|
5106
|
+
_v$16 !== _p$.t && (_p$.t = setProp(_el$76, "fg", _v$16, _p$.t));
|
|
5107
|
+
_v$17 !== _p$.a && (_p$.a = setProp(_el$78, "fg", _v$17, _p$.a));
|
|
5108
|
+
_v$18 !== _p$.o && (_p$.o = setProp(_el$79, "fg", _v$18, _p$.o));
|
|
5109
|
+
return _p$;
|
|
5110
|
+
}, {
|
|
5111
|
+
e: void 0,
|
|
5112
|
+
t: void 0,
|
|
5113
|
+
a: void 0,
|
|
5114
|
+
o: void 0
|
|
5115
|
+
});
|
|
5116
|
+
return _el$72;
|
|
5117
|
+
})();
|
|
5118
|
+
}
|
|
1820
5119
|
function QuotaPanel(props) {
|
|
1821
|
-
|
|
5120
|
+
const [selectedTab, setSelectedTab] = createSignal(DEFAULT_QUOTA_TAB);
|
|
5121
|
+
props.context.keymap.layer(() => quotaPanelKeymapLayer(props.panel, props.runtime, (direction) => setSelectedTab((tab) => moveQuotaTab(tab, direction))));
|
|
1822
5122
|
const preferences = () => props.runtime.preferences();
|
|
1823
5123
|
const snapshot = () => props.runtime.snapshot();
|
|
1824
|
-
const snapshotTone = () => {
|
|
1825
|
-
switch (snapshot().status) {
|
|
1826
|
-
case "ready": return "success";
|
|
1827
|
-
case "partial":
|
|
1828
|
-
case "connected_unavailable":
|
|
1829
|
-
case "needs_setup":
|
|
1830
|
-
case "stale": return "warning";
|
|
1831
|
-
case "unavailable": return "error";
|
|
1832
|
-
case "loading":
|
|
1833
|
-
case "disabled": return "info";
|
|
1834
|
-
}
|
|
1835
|
-
};
|
|
1836
5124
|
return (() => {
|
|
1837
|
-
var _el$
|
|
1838
|
-
insertNode(_el$
|
|
1839
|
-
insertNode(_el$
|
|
1840
|
-
setProp(_el$
|
|
1841
|
-
setProp(_el$
|
|
1842
|
-
setProp(_el$
|
|
1843
|
-
setProp(_el$
|
|
1844
|
-
insert(_el$
|
|
5125
|
+
var _el$81 = createElement("box"), _el$91 = createElement("scrollbox"), _el$92 = createElement("box"), _el$94 = createElement("box"), _el$95 = createElement("text"), _el$96 = createElement("text"), _el$97 = createElement("text"), _el$98 = createElement("text");
|
|
5126
|
+
insertNode(_el$81, _el$91);
|
|
5127
|
+
insertNode(_el$81, _el$94);
|
|
5128
|
+
setProp(_el$81, "flexDirection", "column");
|
|
5129
|
+
setProp(_el$81, "width", "100%");
|
|
5130
|
+
setProp(_el$81, "height", "100%");
|
|
5131
|
+
setProp(_el$81, "padding", 1);
|
|
5132
|
+
insert(_el$81, createComponent(Show, {
|
|
1845
5133
|
get when() {
|
|
1846
5134
|
return props.panel.width >= 54;
|
|
1847
5135
|
},
|
|
1848
5136
|
get fallback() {
|
|
1849
5137
|
return (() => {
|
|
1850
|
-
var _el$
|
|
1851
|
-
insertNode(_el$
|
|
1852
|
-
|
|
1853
|
-
setProp(_el$
|
|
1854
|
-
|
|
1855
|
-
setProp(_el$
|
|
1856
|
-
insert(_el$
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
return _el$
|
|
5138
|
+
var _el$100 = createElement("box"), _el$101 = createElement("text");
|
|
5139
|
+
insertNode(_el$100, _el$101);
|
|
5140
|
+
setProp(_el$100, "flexDirection", "row");
|
|
5141
|
+
setProp(_el$100, "justifyContent", "space-between");
|
|
5142
|
+
setProp(_el$100, "gap", 1);
|
|
5143
|
+
setProp(_el$101, "attributes", 1);
|
|
5144
|
+
insert(_el$101, `${QUOTA_ICON} Pantheon / Quota`);
|
|
5145
|
+
insert(_el$100, createComponent(QuotaCloseButton, {
|
|
5146
|
+
get context() {
|
|
5147
|
+
return props.context;
|
|
5148
|
+
},
|
|
5149
|
+
get close() {
|
|
5150
|
+
return props.panel.close;
|
|
5151
|
+
}
|
|
5152
|
+
}), null);
|
|
5153
|
+
effect((_$p) => setProp(_el$101, "fg", tone(props.context, "info"), _$p));
|
|
5154
|
+
return _el$100;
|
|
1867
5155
|
})();
|
|
1868
5156
|
},
|
|
1869
5157
|
get children() {
|
|
1870
|
-
var _el$
|
|
1871
|
-
insertNode(_el$
|
|
1872
|
-
|
|
1873
|
-
setProp(_el$
|
|
1874
|
-
setProp(_el$
|
|
1875
|
-
setProp(_el$
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
},
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
5158
|
+
var _el$82 = createElement("box"), _el$83 = createElement("text");
|
|
5159
|
+
insertNode(_el$82, _el$83);
|
|
5160
|
+
setProp(_el$82, "flexDirection", "row");
|
|
5161
|
+
setProp(_el$82, "justifyContent", "space-between");
|
|
5162
|
+
setProp(_el$82, "gap", 1);
|
|
5163
|
+
setProp(_el$83, "attributes", 1);
|
|
5164
|
+
insert(_el$83, `${QUOTA_ICON} Pantheon / Quota`);
|
|
5165
|
+
insert(_el$82, createComponent(QuotaCloseButton, {
|
|
5166
|
+
get context() {
|
|
5167
|
+
return props.context;
|
|
5168
|
+
},
|
|
5169
|
+
get close() {
|
|
5170
|
+
return props.panel.close;
|
|
5171
|
+
}
|
|
5172
|
+
}), null);
|
|
5173
|
+
effect((_$p) => setProp(_el$83, "fg", tone(props.context, "info"), _$p));
|
|
5174
|
+
return _el$82;
|
|
5175
|
+
}
|
|
5176
|
+
}), _el$91);
|
|
5177
|
+
insert(_el$81, createComponent(ActiveModelHeader, {
|
|
5178
|
+
get context() {
|
|
5179
|
+
return props.context;
|
|
5180
|
+
},
|
|
5181
|
+
get sessionID() {
|
|
5182
|
+
return props.panel.sessionID;
|
|
5183
|
+
},
|
|
5184
|
+
get width() {
|
|
5185
|
+
return props.panel.width - 4;
|
|
5186
|
+
},
|
|
5187
|
+
get snapshot() {
|
|
5188
|
+
return snapshot();
|
|
1889
5189
|
}
|
|
1890
|
-
}), _el$
|
|
1891
|
-
insert(_el$
|
|
5190
|
+
}), _el$91);
|
|
5191
|
+
insert(_el$81, createComponent(QuotaTabNavigation, {
|
|
5192
|
+
get context() {
|
|
5193
|
+
return props.context;
|
|
5194
|
+
},
|
|
5195
|
+
get selected() {
|
|
5196
|
+
return selectedTab();
|
|
5197
|
+
},
|
|
5198
|
+
get width() {
|
|
5199
|
+
return props.panel.width;
|
|
5200
|
+
},
|
|
5201
|
+
onSelect: setSelectedTab
|
|
5202
|
+
}), _el$91);
|
|
5203
|
+
insert(_el$81, createComponent(Show, {
|
|
1892
5204
|
get when() {
|
|
1893
5205
|
return memo(() => snapshot().error !== void 0)() && snapshot().status !== "ready";
|
|
1894
5206
|
},
|
|
1895
5207
|
get children() {
|
|
1896
|
-
var _el$
|
|
1897
|
-
insert(_el$
|
|
1898
|
-
effect((_$p) => setProp(_el$
|
|
1899
|
-
return _el$
|
|
5208
|
+
var _el$84 = createElement("text");
|
|
5209
|
+
insert(_el$84, () => `Último erro: ${snapshot().error}`);
|
|
5210
|
+
effect((_$p) => setProp(_el$84, "fg", muted(props.context), _$p));
|
|
5211
|
+
return _el$84;
|
|
1900
5212
|
}
|
|
1901
|
-
}), _el$
|
|
1902
|
-
insert(_el$
|
|
5213
|
+
}), _el$91);
|
|
5214
|
+
insert(_el$81, createComponent(Show, {
|
|
1903
5215
|
get when() {
|
|
1904
5216
|
return memo(() => snapshot().status === "needs_setup")() && snapshot().details.length === 0;
|
|
1905
5217
|
},
|
|
1906
5218
|
get children() {
|
|
1907
|
-
var _el$
|
|
1908
|
-
insertNode(_el$
|
|
1909
|
-
effect((_$p) => setProp(_el$
|
|
1910
|
-
return _el$
|
|
5219
|
+
var _el$85 = createElement("text");
|
|
5220
|
+
insertNode(_el$85, createTextNode(`Nenhum provedor elegível: verifique conexão ativa e credencial local compatível.`));
|
|
5221
|
+
effect((_$p) => setProp(_el$85, "fg", muted(props.context), _$p));
|
|
5222
|
+
return _el$85;
|
|
1911
5223
|
}
|
|
1912
|
-
}), _el$
|
|
1913
|
-
insert(_el$
|
|
5224
|
+
}), _el$91);
|
|
5225
|
+
insert(_el$81, createComponent(Show, {
|
|
1914
5226
|
get when() {
|
|
1915
5227
|
return snapshot().status === "unavailable";
|
|
1916
5228
|
},
|
|
1917
5229
|
get children() {
|
|
1918
|
-
var _el$
|
|
1919
|
-
insertNode(_el$
|
|
1920
|
-
effect((_$p) => setProp(_el$
|
|
1921
|
-
return _el$
|
|
5230
|
+
var _el$87 = createElement("text");
|
|
5231
|
+
insertNode(_el$87, createTextNode(`Não foi possível verificar o status da quota.`));
|
|
5232
|
+
effect((_$p) => setProp(_el$87, "fg", muted(props.context), _$p));
|
|
5233
|
+
return _el$87;
|
|
1922
5234
|
}
|
|
1923
|
-
}), _el$
|
|
1924
|
-
insert(_el$
|
|
5235
|
+
}), _el$91);
|
|
5236
|
+
insert(_el$81, createComponent(Show, {
|
|
1925
5237
|
get when() {
|
|
1926
5238
|
return snapshot().status === "stale";
|
|
1927
5239
|
},
|
|
1928
5240
|
get children() {
|
|
1929
|
-
var _el$
|
|
1930
|
-
insertNode(_el$
|
|
1931
|
-
effect((_$p) => setProp(_el$
|
|
1932
|
-
return _el$
|
|
5241
|
+
var _el$89 = createElement("text");
|
|
5242
|
+
insertNode(_el$89, createTextNode(`A última resposta continua visível; atualize para tentar novamente.`));
|
|
5243
|
+
effect((_$p) => setProp(_el$89, "fg", muted(props.context), _$p));
|
|
5244
|
+
return _el$89;
|
|
1933
5245
|
}
|
|
1934
|
-
}), _el$
|
|
1935
|
-
insertNode(_el$
|
|
1936
|
-
setProp(_el$
|
|
1937
|
-
setProp(_el$
|
|
1938
|
-
setProp(_el$
|
|
1939
|
-
setProp(_el$
|
|
1940
|
-
setProp(_el$
|
|
1941
|
-
setProp(_el$
|
|
1942
|
-
setProp(_el$
|
|
1943
|
-
setProp(_el$
|
|
1944
|
-
setProp(_el$
|
|
1945
|
-
setProp(_el$
|
|
1946
|
-
setProp(_el$
|
|
1947
|
-
insert(_el$
|
|
1948
|
-
get
|
|
1949
|
-
return
|
|
5246
|
+
}), _el$91);
|
|
5247
|
+
insertNode(_el$91, _el$92);
|
|
5248
|
+
setProp(_el$91, "flexGrow", 1);
|
|
5249
|
+
setProp(_el$91, "flexShrink", 1);
|
|
5250
|
+
setProp(_el$91, "flexBasis", 0);
|
|
5251
|
+
setProp(_el$91, "minHeight", 3);
|
|
5252
|
+
setProp(_el$91, "width", "100%");
|
|
5253
|
+
setProp(_el$91, "scrollY", true);
|
|
5254
|
+
setProp(_el$91, "focusable", true);
|
|
5255
|
+
setProp(_el$91, "border", true);
|
|
5256
|
+
setProp(_el$92, "flexDirection", "column");
|
|
5257
|
+
setProp(_el$92, "paddingX", 1);
|
|
5258
|
+
setProp(_el$92, "paddingY", 1);
|
|
5259
|
+
insert(_el$92, createComponent(Show, {
|
|
5260
|
+
get when() {
|
|
5261
|
+
return selectedTab() === "usage";
|
|
1950
5262
|
},
|
|
1951
|
-
children
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
5263
|
+
get children() {
|
|
5264
|
+
return [createComponent(UsageHistorySection, {
|
|
5265
|
+
get context() {
|
|
5266
|
+
return props.context;
|
|
5267
|
+
},
|
|
5268
|
+
get panel() {
|
|
5269
|
+
return props.panel;
|
|
5270
|
+
},
|
|
5271
|
+
get width() {
|
|
5272
|
+
return props.panel.width - 6;
|
|
5273
|
+
}
|
|
5274
|
+
}), createComponent(ModelUsageDetails, {
|
|
5275
|
+
get context() {
|
|
5276
|
+
return props.context;
|
|
5277
|
+
},
|
|
5278
|
+
get sessionID() {
|
|
5279
|
+
return props.panel.sessionID;
|
|
5280
|
+
},
|
|
5281
|
+
get width() {
|
|
5282
|
+
return props.panel.width - 6;
|
|
5283
|
+
}
|
|
5284
|
+
})];
|
|
5285
|
+
}
|
|
1963
5286
|
}), null);
|
|
1964
|
-
insert(_el$
|
|
1965
|
-
get
|
|
1966
|
-
return
|
|
5287
|
+
insert(_el$92, createComponent(Show, {
|
|
5288
|
+
get when() {
|
|
5289
|
+
return selectedTab() === "limits";
|
|
1967
5290
|
},
|
|
1968
|
-
get
|
|
1969
|
-
return
|
|
5291
|
+
get children() {
|
|
5292
|
+
return [createComponent(Show, {
|
|
5293
|
+
get when() {
|
|
5294
|
+
return snapshot().details.length > 0;
|
|
5295
|
+
},
|
|
5296
|
+
get children() {
|
|
5297
|
+
return createComponent(For, {
|
|
5298
|
+
get each() {
|
|
5299
|
+
return snapshot().details;
|
|
5300
|
+
},
|
|
5301
|
+
children: (provider) => createComponent(QuotaProviderDetails, {
|
|
5302
|
+
provider,
|
|
5303
|
+
get display() {
|
|
5304
|
+
return preferences().display;
|
|
5305
|
+
},
|
|
5306
|
+
get width() {
|
|
5307
|
+
return props.panel.width - 4;
|
|
5308
|
+
},
|
|
5309
|
+
get context() {
|
|
5310
|
+
return props.context;
|
|
5311
|
+
}
|
|
5312
|
+
})
|
|
5313
|
+
});
|
|
5314
|
+
}
|
|
5315
|
+
}), createComponent(Show, {
|
|
5316
|
+
get when() {
|
|
5317
|
+
return snapshot().details.length === 0;
|
|
5318
|
+
},
|
|
5319
|
+
get children() {
|
|
5320
|
+
var _el$93 = createElement("text");
|
|
5321
|
+
insert(_el$93, () => quotaSnapshotStatusLabel(snapshot().status, snapshot().error));
|
|
5322
|
+
effect((_$p) => setProp(_el$93, "fg", muted(props.context), _$p));
|
|
5323
|
+
return _el$93;
|
|
5324
|
+
}
|
|
5325
|
+
})];
|
|
5326
|
+
}
|
|
5327
|
+
}), null);
|
|
5328
|
+
insert(_el$92, createComponent(Show, {
|
|
5329
|
+
get when() {
|
|
5330
|
+
return selectedTab() === "plugin";
|
|
1970
5331
|
},
|
|
1971
|
-
get
|
|
1972
|
-
return
|
|
5332
|
+
get children() {
|
|
5333
|
+
return createComponent(QuotaPluginDetails, {
|
|
5334
|
+
get context() {
|
|
5335
|
+
return props.context;
|
|
5336
|
+
},
|
|
5337
|
+
get snapshot() {
|
|
5338
|
+
return snapshot();
|
|
5339
|
+
}
|
|
5340
|
+
});
|
|
5341
|
+
}
|
|
5342
|
+
}), null);
|
|
5343
|
+
insert(_el$92, createComponent(Show, {
|
|
5344
|
+
get when() {
|
|
5345
|
+
return selectedTab() === "settings";
|
|
5346
|
+
},
|
|
5347
|
+
get children() {
|
|
5348
|
+
return createComponent(QuotaSettings, {
|
|
5349
|
+
get context() {
|
|
5350
|
+
return props.context;
|
|
5351
|
+
},
|
|
5352
|
+
get runtime() {
|
|
5353
|
+
return props.runtime;
|
|
5354
|
+
}
|
|
5355
|
+
});
|
|
1973
5356
|
}
|
|
1974
5357
|
}), null);
|
|
1975
|
-
insertNode(_el$
|
|
1976
|
-
insertNode(_el$
|
|
1977
|
-
insertNode(_el$
|
|
1978
|
-
insertNode(_el$
|
|
1979
|
-
setProp(_el$
|
|
1980
|
-
setProp(_el$
|
|
1981
|
-
insert(_el$
|
|
1982
|
-
insert(_el$
|
|
1983
|
-
|
|
1984
|
-
insertNode(_el$
|
|
5358
|
+
insertNode(_el$94, _el$95);
|
|
5359
|
+
insertNode(_el$94, _el$96);
|
|
5360
|
+
insertNode(_el$94, _el$97);
|
|
5361
|
+
insertNode(_el$94, _el$98);
|
|
5362
|
+
setProp(_el$94, "flexDirection", "column");
|
|
5363
|
+
setProp(_el$94, "flexShrink", 0);
|
|
5364
|
+
insert(_el$95, () => `Quota ${preferences().enabled ? "ativada" : "desativada"} · exibição: ${preferences().display === "remaining" ? "restante" : "usado"}`);
|
|
5365
|
+
insert(_el$96, () => `E ${preferences().enabled ? "desativar" : "ativar"} · M alternar usado/restante`);
|
|
5366
|
+
insert(_el$97, () => `↑/↓ rolar · ${quotaIcon("refresh")} R atualizar`);
|
|
5367
|
+
insertNode(_el$98, createTextNode(`Tab/Shift+Tab abas · Esc/Q fechar`));
|
|
1985
5368
|
effect((_p$) => {
|
|
1986
|
-
var _v$
|
|
1987
|
-
_v$
|
|
1988
|
-
_v$
|
|
1989
|
-
_v$
|
|
1990
|
-
_v$
|
|
1991
|
-
_v$
|
|
1992
|
-
_v$
|
|
1993
|
-
_v$
|
|
5369
|
+
var _v$19 = props.panel.focused, _v$20 = muted(props.context), _v$21 = tone(props.context, "info"), _v$22 = muted(props.context), _v$23 = muted(props.context), _v$24 = muted(props.context), _v$25 = muted(props.context);
|
|
5370
|
+
_v$19 !== _p$.e && (_p$.e = setProp(_el$91, "focused", _v$19, _p$.e));
|
|
5371
|
+
_v$20 !== _p$.t && (_p$.t = setProp(_el$91, "borderColor", _v$20, _p$.t));
|
|
5372
|
+
_v$21 !== _p$.a && (_p$.a = setProp(_el$91, "focusedBorderColor", _v$21, _p$.a));
|
|
5373
|
+
_v$22 !== _p$.o && (_p$.o = setProp(_el$95, "fg", _v$22, _p$.o));
|
|
5374
|
+
_v$23 !== _p$.i && (_p$.i = setProp(_el$96, "fg", _v$23, _p$.i));
|
|
5375
|
+
_v$24 !== _p$.n && (_p$.n = setProp(_el$97, "fg", _v$24, _p$.n));
|
|
5376
|
+
_v$25 !== _p$.s && (_p$.s = setProp(_el$98, "fg", _v$25, _p$.s));
|
|
1994
5377
|
return _p$;
|
|
1995
5378
|
}, {
|
|
1996
5379
|
e: void 0,
|
|
@@ -2001,7 +5384,7 @@ function QuotaPanel(props) {
|
|
|
2001
5384
|
n: void 0,
|
|
2002
5385
|
s: void 0
|
|
2003
5386
|
});
|
|
2004
|
-
return _el$
|
|
5387
|
+
return _el$81;
|
|
2005
5388
|
})();
|
|
2006
5389
|
}
|
|
2007
5390
|
function QuotaCommandLayer(props) {
|
|
@@ -4917,7 +8300,7 @@ function Sidebar(props) {
|
|
|
4917
8300
|
setProp(_el$12, "width", "100%");
|
|
4918
8301
|
setProp(_el$12, "padding", 1);
|
|
4919
8302
|
setProp(_el$13, "attributes", 1);
|
|
4920
|
-
insert(_el$13, `Pantheon v1.6.2-beta.
|
|
8303
|
+
insert(_el$13, `Pantheon v1.6.2-beta.3`);
|
|
4921
8304
|
insert(_el$14, () => presetHeaderLine(model.preset().name ?? "", model.provider()));
|
|
4922
8305
|
insert(_el$12, createComponent(Show, {
|
|
4923
8306
|
get when() {
|
|
@@ -5644,7 +9027,7 @@ function HomeStatus(props) {
|
|
|
5644
9027
|
const muted = () => props.context.theme?.text?.muted ?? props.context.theme?.text?.base;
|
|
5645
9028
|
return (() => {
|
|
5646
9029
|
var _el$72 = createElement("text");
|
|
5647
|
-
insert(_el$72, () => `Pantheon v1.6.2-beta.
|
|
9030
|
+
insert(_el$72, () => `Pantheon v1.6.2-beta.3${preset().name ? ` ▸ ${preset().name}` : ""}`);
|
|
5648
9031
|
effect((_$p) => setProp(_el$72, "fg", muted(), _$p));
|
|
5649
9032
|
return _el$72;
|
|
5650
9033
|
})();
|
|
@@ -5766,6 +9149,6 @@ const plugin = Plugin.define({
|
|
|
5766
9149
|
}
|
|
5767
9150
|
});
|
|
5768
9151
|
//#endregion
|
|
5769
|
-
export { BLOCK_ICONS, CONTEXT_BAR_CELLS, CONTEXT_BAR_EMPTY_CELL, CONTEXT_BAR_FILLED_CELL, DEFAULT_QUOTA_PREFERENCES, DELEGATION_CHILD_STATUS_GRACE_MS, DISPATCH_AGENT_CEILING, DISPATCH_AGENT_WIDTH, DISPATCH_COST_WIDTH, DISPATCH_COUNT_WIDTH, DISPATCH_DONE_MARKER, DISPATCH_DURATION_WIDTH, DISPATCH_GROUP_COST_WIDTH, DISPATCH_KIND_ORIGIN_LABELS, DISPATCH_MAX_LINES, DISPATCH_MAX_WIDTH, DISPATCH_MIN_AGENT_WIDTH, DISPATCH_MODEL_WIDTH, DISPATCH_PANEL_AGENT_WIDTH, DISPATCH_PANEL_COMMANDS, DISPATCH_PANEL_COST_WIDTH, DISPATCH_PANEL_DASH, DISPATCH_PANEL_DURATION_WIDTH, DISPATCH_PANEL_EMPTY_TEXT, DISPATCH_PANEL_FULLSCREEN_BADGE, DISPATCH_PANEL_HEADER_MARKER, DISPATCH_PANEL_KIND_WIDTH, DISPATCH_PANEL_MIN_AGENT_WIDTH, DISPATCH_PANEL_NAME, DISPATCH_PANEL_PAGE_SIZE, DISPATCH_PANEL_RULE_CHAR, DISPATCH_PANEL_SELECTION_GUTTER, DISPATCH_PANEL_SELECTION_MARKER, DISPATCH_PANEL_TITLE_WIDTH, DISPATCH_PANEL_TOAST, DISPATCH_PANEL_WIDE_MIN_WIDTH, DISPATCH_RUNNING_CEILING, GIT_ARROW_DOWN, GIT_ARROW_UP, GIT_CHANGES_DEBOUNCE_MS, GIT_CLI_DEBOUNCE_MS, GIT_CLI_MAX_BUFFER, GIT_CLI_MIN_INTERVAL_MS, GIT_CLI_TIMEOUT_MS, HEADER_MAX_WIDTH, MODEL_USAGE_COST_WIDTH, MODEL_USAGE_DEBOUNCE_MS, MODEL_USAGE_MESSAGE_LIMIT, MODEL_USAGE_MODEL_WIDTH, MODEL_USAGE_SESSION_LIMIT, MODEL_USAGE_TOKEN_WIDTH, MODEL_USAGE_VISIBLE_CEILING, PRESET_MARKER, QUOTA_CLOCK_INTERVAL_MS, QUOTA_ICON, QUOTA_OPEN_COMMAND_ID, QUOTA_PANEL_COMMANDS, QUOTA_PANEL_NAME, SIDEBAR_REFRESH_EVENTS, SIDEBAR_WAITING_LABEL, SPEND_30D_LABEL, SPEND_30D_MS, SPEND_LINE_SEPARATOR, SPEND_PROBE_TOLERANCE_MS, SPEND_PROBE_WINDOW_MS, SPEND_REFRESH_DEBOUNCE_MS, SPEND_TODAY_LABEL, TODO_TEXT_WIDTH, TODO_VISIBLE_CEILING, UNKNOWN_AGENT, agentKey, buildDispatchBlock, cacheHitPercent, ceilingModelUsage, ceilingTodoItems, cellWidth, childAgentRowText, classifyDispatchKind, collectChildAgentUsage, collectDispatch, collectModelUsage, collectRecentModelUsageRows, collectSubagentCalls, collectWarmupTargets, compactQuotaMetric, completedSummaryText, computeContextUsage, contextBar, contextBarFilled, contextBlockRows, contextPerformanceLine, contextProgressColor, contextSpendLine, contextSpendLines, contextUsageTone, countGitChanges, createDispatchPanelModel, createFooterModel, createQuotaClock, createQuotaRuntime, createSidebarModel, plugin as default, defaultGitExec, delegationStateFromOutcome, delegationStateFromStatus, detectDelegationCompletions, dispatchAgentText, dispatchElapsed, dispatchHeaderSummary, dispatchKindFromAgent, dispatchKindFromPrefix, dispatchKindSuffix, dispatchModelText, dispatchPanelCell, dispatchPanelDetail, dispatchPanelFooter, dispatchPanelHeader, dispatchPanelKeymapLayer, dispatchPanelLayout, dispatchPanelMarker, dispatchPanelRangeText, dispatchPanelRowText, dispatchPanelRows, dispatchPanelRule, dispatchPanelTitle, dispatchPanelWindow, dispatchTokenLine, dispatchTokens, dispatchTotalCost, failedSuffixText, financeMetricLines, formatContextWindow, formatDispatchCost, formatDispatchDuration, formatGitChanges, formatGitSnapshot, formatQuotaCountdown, formatQuotaMetric, formatSpendUSD, formatSpent, formatTokenCount, formatUsageCost, formatUsageTokens, gitProbeAllowed, hiddenChildAgentsText, hiddenModelUsageText, hiddenTodoText, isTodoStatus, isValidSessionID, lastAssistantWithTokens, latestTodoItems, messageTokensTotal, modelRefID, modelUsageRowLines, modelUsageRowText, modelUsageRows, navigateToSession, normalizeQuotaPreferences, openDispatchPanel, openQuotaPanel, orderDispatchEntries, orderTodoItems, padCell, parseGitAheadBehind, parseGitStatusPorcelain, parsePresetOverrides, parseTodoItems, performDispatchPanelAction, presetFromEnv, presetHeaderLine, providerIDFromModels, providerIDFromRef, quotaClock, quotaGoCheckCommand, quotaMetricLines, quotaOpenCommand, quotaPanelKeymapLayer, quotaProgress, quotaSidebarEntries, quotaSnapshotFromStatus, quotaSnapshotStatusLabel, quotaTextLines, quotaUsageTone, quotaWindowLines, readGitSnapshot, resetSpendUnit, resolveActiveModelRef, resolveActivePresetForTui, resolveContextLimit, resolveModelContextSnapshot, resolvedSpendUnit, runDispatchPanelCommand, runQuotaPanelCommand, runningChildRowText, shortModelID, shortSessionID, sidebarFinanceEntries, sidebarMoneyLines, sidebarPlaceholder, sidebarTextLines, snapshotSummary, spendWindows, spinnerFrame, startOfLocalDay, statsCost, statsRangeMatches, toDelegationView, toDispatchEntry, todoRowText, todoTone, transcriptWindow, truncateLabel, turnTokensPerSecond, withBlockSpacers };
|
|
9152
|
+
export { BLOCK_ICONS, CONTEXT_BAR_CELLS, CONTEXT_BAR_EMPTY_CELL, CONTEXT_BAR_FILLED_CELL, DEFAULT_QUOTA_PREFERENCES, DEFAULT_QUOTA_TAB, DELEGATION_CHILD_STATUS_GRACE_MS, DISPATCH_AGENT_CEILING, DISPATCH_AGENT_WIDTH, DISPATCH_COST_WIDTH, DISPATCH_COUNT_WIDTH, DISPATCH_DONE_MARKER, DISPATCH_DURATION_WIDTH, DISPATCH_GROUP_COST_WIDTH, DISPATCH_KIND_ORIGIN_LABELS, DISPATCH_MAX_LINES, DISPATCH_MAX_WIDTH, DISPATCH_MIN_AGENT_WIDTH, DISPATCH_MODEL_WIDTH, DISPATCH_PANEL_AGENT_WIDTH, DISPATCH_PANEL_COMMANDS, DISPATCH_PANEL_COST_WIDTH, DISPATCH_PANEL_DASH, DISPATCH_PANEL_DURATION_WIDTH, DISPATCH_PANEL_EMPTY_TEXT, DISPATCH_PANEL_FULLSCREEN_BADGE, DISPATCH_PANEL_HEADER_MARKER, DISPATCH_PANEL_KIND_WIDTH, DISPATCH_PANEL_MIN_AGENT_WIDTH, DISPATCH_PANEL_NAME, DISPATCH_PANEL_PAGE_SIZE, DISPATCH_PANEL_RULE_CHAR, DISPATCH_PANEL_SELECTION_GUTTER, DISPATCH_PANEL_SELECTION_MARKER, DISPATCH_PANEL_TITLE_WIDTH, DISPATCH_PANEL_TOAST, DISPATCH_PANEL_WIDE_MIN_WIDTH, DISPATCH_RUNNING_CEILING, GIT_ARROW_DOWN, GIT_ARROW_UP, GIT_CHANGES_DEBOUNCE_MS, GIT_CLI_DEBOUNCE_MS, GIT_CLI_MAX_BUFFER, GIT_CLI_MIN_INTERVAL_MS, GIT_CLI_TIMEOUT_MS, HEADER_MAX_WIDTH, MODEL_USAGE_COST_WIDTH, MODEL_USAGE_DEBOUNCE_MS, MODEL_USAGE_MESSAGE_LIMIT, MODEL_USAGE_MODEL_WIDTH, MODEL_USAGE_SESSION_LIMIT, MODEL_USAGE_TOKEN_WIDTH, MODEL_USAGE_VISIBLE_CEILING, PRESET_MARKER, QUOTA_CLOCK_INTERVAL_MS, QUOTA_ICON, QUOTA_OPEN_COMMAND_ID, QUOTA_PANEL_COMMANDS, QUOTA_PANEL_NAME, QUOTA_TABS, QuotaPanel, SIDEBAR_REFRESH_EVENTS, SIDEBAR_WAITING_LABEL, SPEND_30D_LABEL, SPEND_30D_MS, SPEND_LINE_SEPARATOR, SPEND_PROBE_TOLERANCE_MS, SPEND_PROBE_WINDOW_MS, SPEND_REFRESH_DEBOUNCE_MS, SPEND_TODAY_LABEL, TODO_TEXT_WIDTH, TODO_VISIBLE_CEILING, UNKNOWN_AGENT, USAGE_HISTORY_PERIOD_BINDINGS, UsageHistorySection, activeContextEstimateErrorLines, activeContextEstimateLines, activeContextEstimateMissingLines, activeContextEstimatePendingLines, activeModelIdentity, activeQuotaModelLabel, agentKey, buildDispatchBlock, cacheHitPercent, ceilingModelUsage, ceilingTodoItems, cellWidth, childAgentRowText, classifyDispatchKind, collectChildAgentUsage, collectDispatch, collectModelUsage, collectRecentModelUsageRows, collectSubagentCalls, collectWarmupTargets, compactQuotaMetric, completedSummaryText, computeContextUsage, contextBar, contextBarFilled, contextBlockRows, contextPerformanceLine, contextProgressColor, contextSpendLine, contextSpendLines, contextUsageTone, countGitChanges, createDispatchPanelModel, createFooterModel, createQuotaClock, createQuotaRuntime, createSidebarModel, plugin as default, defaultGitExec, delegationStateFromOutcome, delegationStateFromStatus, detectDelegationCompletions, dispatchAgentText, dispatchElapsed, dispatchHeaderSummary, dispatchKindFromAgent, dispatchKindFromPrefix, dispatchKindSuffix, dispatchModelText, dispatchPanelCell, dispatchPanelDetail, dispatchPanelFooter, dispatchPanelHeader, dispatchPanelKeymapLayer, dispatchPanelLayout, dispatchPanelMarker, dispatchPanelRangeText, dispatchPanelRowText, dispatchPanelRows, dispatchPanelRule, dispatchPanelTitle, dispatchPanelWindow, dispatchTokenLine, dispatchTokens, dispatchTotalCost, failedSuffixText, financeMetricLines, formatContextWindow, formatDispatchCost, formatDispatchDuration, formatGitChanges, formatGitSnapshot, formatQuotaCountdown, formatQuotaMetric, formatSpendUSD, formatSpent, formatTokenCount, formatUsageCost, formatUsageTokens, gitProbeAllowed, hiddenChildAgentsText, hiddenModelUsageText, hiddenTodoText, isTodoStatus, isValidSessionID, lastAssistantWithTokens, latestTodoItems, messageTokensTotal, modelRefID, modelUsageRowLines, modelUsageRowText, modelUsageRows, moveQuotaTab, navigateToSession, normalizeQuotaPreferences, openDispatchPanel, openQuotaPanel, orderDispatchEntries, orderTodoItems, padCell, parseGitAheadBehind, parseGitStatusPorcelain, parsePresetOverrides, parseTodoItems, performDispatchPanelAction, presetFromEnv, presetHeaderLine, providerIDFromModels, providerIDFromRef, providerState, quotaClock, quotaGoCheckCommand, quotaIcon, quotaMetricLines, quotaOpenCommand, quotaPanelKeymapLayer, quotaPanelStatusMessage, quotaProgress, quotaSidebarEntries, quotaSnapshotFromStatus, quotaSnapshotStatusLabel, quotaTabLabel, quotaTextLines, quotaUsageTone, quotaWindowLines, readGitSnapshot, resetSpendUnit, resolveActiveModelRef, resolveActivePresetForTui, resolveContextLimit, resolveModelContextSnapshot, resolvedSpendUnit, runDispatchPanelCommand, runQuotaPanelCommand, runningChildRowText, sessionSpendLabel, shortModelID, shortSessionID, sidebarFinanceEntries, sidebarMoneyLines, sidebarPlaceholder, sidebarTextLines, snapshotSummary, spendWindows, spinnerFrame, startOfLocalDay, statsCost, statsRangeMatches, toDelegationView, toDispatchEntry, todoRowText, todoTone, transcriptWindow, truncateLabel, turnTokensPerSecond, usageHistoryChartLines, usageHistoryControlsLines, usageHistoryCoverageLabel, usageHistoryEmptyMessage, usageHistoryPartialWarning, usageHistoryPeriodForKey, usageHistoryPricingLabel, usageHistorySelectorLabel, usageHistorySelectorLines, usageHistoryTextLines, usageHistoryUnavailableMessage, withBlockSpacers };
|
|
5770
9153
|
|
|
5771
9154
|
//# sourceMappingURL=tui-v2.js.map
|