@jeffreyjyz/opencode-command-code 0.5.23 → 0.5.25
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/dist/catalog.d.ts +4 -1
- package/dist/index.js +145 -59
- package/dist/tui.js +195 -52
- package/package.json +2 -2
package/dist/catalog.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface CatalogEntry {
|
|
|
15
15
|
/** Cheapest plan that serves the model; plans.md names this the access rule. */
|
|
16
16
|
minPlan: string | null;
|
|
17
17
|
}
|
|
18
|
-
export declare const CATALOG_VERSION: "1.
|
|
18
|
+
export declare const CATALOG_VERSION: "1.88.5";
|
|
19
19
|
/** Every model the CLI table carried, keyed by the API's model id. */
|
|
20
20
|
export declare const MODEL_CATALOG: Readonly<Record<string, CatalogEntry>>;
|
|
21
21
|
/** Text-only default for any id this table does not list. */
|
|
@@ -23,6 +23,9 @@ export declare const TEXT_ONLY: readonly InputModality[];
|
|
|
23
23
|
export declare function inputModalities(id: string): readonly InputModality[];
|
|
24
24
|
export declare function supportsImage(id: string): boolean;
|
|
25
25
|
export declare function modelCost(id: string): ModelCost | undefined;
|
|
26
|
+
/** Context window the table carries, or undefined for an unknown id. The static
|
|
27
|
+
* seed needs this: contextLength 0 becomes the 128k fallback at the host. */
|
|
28
|
+
export declare function modelContext(id: string): number | undefined;
|
|
26
29
|
export declare function minPlan(id: string): string | null;
|
|
27
30
|
/** Reasoning-capable when it advertises explicit effort levels. */
|
|
28
31
|
export declare function isReasoningModel(id: string): boolean;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
var NEVER = Object.freeze({
|
|
4
4
|
status: "aborted"
|
|
5
5
|
});
|
|
@@ -66,7 +66,7 @@ function config(newConfig) {
|
|
|
66
66
|
Object.assign(globalConfig, newConfig);
|
|
67
67
|
return globalConfig;
|
|
68
68
|
}
|
|
69
|
-
|
|
69
|
+
|
|
70
70
|
function jsonStringifyReplacer(_, value) {
|
|
71
71
|
if (typeof value === "bigint")
|
|
72
72
|
return value.toString();
|
|
@@ -240,7 +240,7 @@ function issue(...args) {
|
|
|
240
240
|
return { ...iss };
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
|
|
243
|
+
|
|
244
244
|
var initializer = (inst, def) => {
|
|
245
245
|
inst.name = "$ZodError";
|
|
246
246
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -309,7 +309,7 @@ function formatError(error, _mapper) {
|
|
|
309
309
|
return fieldErrors;
|
|
310
310
|
}
|
|
311
311
|
|
|
312
|
-
|
|
312
|
+
|
|
313
313
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
314
314
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
315
315
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -386,7 +386,7 @@ var _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
386
386
|
var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
387
387
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
388
388
|
};
|
|
389
|
-
|
|
389
|
+
|
|
390
390
|
var cuid = /^[cC][^\s-]{8,}$/;
|
|
391
391
|
var cuid2 = /^[0-9a-z]+$/;
|
|
392
392
|
var ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
|
|
@@ -440,7 +440,7 @@ var string = (params) => {
|
|
|
440
440
|
var lowercase = /^[^A-Z]*$/;
|
|
441
441
|
var uppercase = /^[^a-z]*$/;
|
|
442
442
|
|
|
443
|
-
|
|
443
|
+
|
|
444
444
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
445
445
|
var _a;
|
|
446
446
|
inst._zod ?? (inst._zod = {});
|
|
@@ -667,14 +667,14 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
667
667
|
};
|
|
668
668
|
});
|
|
669
669
|
|
|
670
|
-
|
|
670
|
+
|
|
671
671
|
var version = {
|
|
672
672
|
major: 4,
|
|
673
673
|
minor: 1,
|
|
674
674
|
patch: 8
|
|
675
675
|
};
|
|
676
676
|
|
|
677
|
-
|
|
677
|
+
|
|
678
678
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
679
679
|
var _a;
|
|
680
680
|
inst ?? (inst = {});
|
|
@@ -1515,7 +1515,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
1515
1515
|
payload.issues.push(issue(_iss));
|
|
1516
1516
|
}
|
|
1517
1517
|
}
|
|
1518
|
-
|
|
1518
|
+
|
|
1519
1519
|
var $output = Symbol("ZodOutput");
|
|
1520
1520
|
var $input = Symbol("ZodInput");
|
|
1521
1521
|
|
|
@@ -1566,7 +1566,7 @@ function registry() {
|
|
|
1566
1566
|
return new $ZodRegistry;
|
|
1567
1567
|
}
|
|
1568
1568
|
var globalRegistry = /* @__PURE__ */ registry();
|
|
1569
|
-
|
|
1569
|
+
|
|
1570
1570
|
function _string(Class, params) {
|
|
1571
1571
|
return new Class({
|
|
1572
1572
|
type: "string",
|
|
@@ -1940,7 +1940,7 @@ function _check(fn, params) {
|
|
|
1940
1940
|
ch._zod.check = fn;
|
|
1941
1941
|
return ch;
|
|
1942
1942
|
}
|
|
1943
|
-
|
|
1943
|
+
|
|
1944
1944
|
var ZodISODateTime = /* @__PURE__ */ $constructor("ZodISODateTime", (inst, def) => {
|
|
1945
1945
|
$ZodISODateTime.init(inst, def);
|
|
1946
1946
|
ZodStringFormat.init(inst, def);
|
|
@@ -1970,7 +1970,7 @@ function duration2(params) {
|
|
|
1970
1970
|
return _isoDuration(ZodISODuration, params);
|
|
1971
1971
|
}
|
|
1972
1972
|
|
|
1973
|
-
|
|
1973
|
+
|
|
1974
1974
|
var initializer2 = (inst, issues) => {
|
|
1975
1975
|
$ZodError.init(inst, issues);
|
|
1976
1976
|
inst.name = "ZodError";
|
|
@@ -2005,7 +2005,7 @@ var ZodRealError = $constructor("ZodError", initializer2, {
|
|
|
2005
2005
|
Parent: Error
|
|
2006
2006
|
});
|
|
2007
2007
|
|
|
2008
|
-
|
|
2008
|
+
|
|
2009
2009
|
var parse3 = /* @__PURE__ */ _parse(ZodRealError);
|
|
2010
2010
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
2011
2011
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -2019,7 +2019,7 @@ var safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
2019
2019
|
var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
2020
2020
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
2021
2021
|
|
|
2022
|
-
|
|
2022
|
+
|
|
2023
2023
|
var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
2024
2024
|
$ZodType.init(inst, def);
|
|
2025
2025
|
inst.def = def;
|
|
@@ -2414,7 +2414,7 @@ function superRefine(fn) {
|
|
|
2414
2414
|
// package.json
|
|
2415
2415
|
var package_default = {
|
|
2416
2416
|
name: "@jeffreyjyz/opencode-command-code",
|
|
2417
|
-
version: "0.5.
|
|
2417
|
+
version: "0.5.25",
|
|
2418
2418
|
description: "Command Code provider + usage dashboard for opencode: two providers (Anthropic wire for Claude, OpenAI wire for everything else) against api.commandcode.ai, live model list, plan gating, /cmd-usage. Requires the cmduse CLI for usage rendering.",
|
|
2419
2419
|
type: "module",
|
|
2420
2420
|
main: "dist/index.js",
|
|
@@ -2424,7 +2424,7 @@ var package_default = {
|
|
|
2424
2424
|
"./tui": "./dist/tui.js"
|
|
2425
2425
|
},
|
|
2426
2426
|
scripts: {
|
|
2427
|
-
build: "rm -rf dist && bun build src/index.ts --outdir dist --target bun --external @opencode-ai/plugin --external @opencode/plugin --external @opencode/plugin/tui && bun scripts/build-tui.ts && tsc -p tsconfig.build.json",
|
|
2427
|
+
build: "rm -rf dist && bun build src/index.ts --outdir dist --target bun --external @opencode-ai/plugin --external @opencode/plugin --external @opencode/plugin/tui && bun scripts/build-tui.ts && tsc -p tsconfig.build.json && bun scripts/strip-bundle-comments.ts",
|
|
2428
2428
|
test: "bun test",
|
|
2429
2429
|
lint: "biome lint --write .",
|
|
2430
2430
|
typecheck: "bun check",
|
|
@@ -2542,6 +2542,14 @@ var MODEL_CATALOG = {
|
|
|
2542
2542
|
modalities: ["text", "image"],
|
|
2543
2543
|
minPlan: "Pro"
|
|
2544
2544
|
},
|
|
2545
|
+
"claude-haiku-5-5": {
|
|
2546
|
+
name: "Claude Haiku 5.5",
|
|
2547
|
+
context: 1e6,
|
|
2548
|
+
efforts: ["low", "medium", "high", "xhigh", "max"],
|
|
2549
|
+
cost: { input: 0.1, output: 0.5, cacheRead: 0.01, cacheWrite: 0.125 },
|
|
2550
|
+
modalities: ["text", "image"],
|
|
2551
|
+
minPlan: "GOAT"
|
|
2552
|
+
},
|
|
2545
2553
|
"claude-opus-4-7": {
|
|
2546
2554
|
name: "Claude Opus 4.7",
|
|
2547
2555
|
context: 1e6,
|
|
@@ -2594,7 +2602,7 @@ var MODEL_CATALOG = {
|
|
|
2594
2602
|
name: "Claude Sonnet 5.5",
|
|
2595
2603
|
context: 1e6,
|
|
2596
2604
|
efforts: ["low", "medium", "high", "xhigh", "max"],
|
|
2597
|
-
cost: { input: 2, output: 10, cacheRead: 0.
|
|
2605
|
+
cost: { input: 2, output: 10, cacheRead: 0.1, cacheWrite: 2.5 },
|
|
2598
2606
|
modalities: ["text", "image"],
|
|
2599
2607
|
minPlan: "GOAT"
|
|
2600
2608
|
},
|
|
@@ -2631,7 +2639,7 @@ var MODEL_CATALOG = {
|
|
|
2631
2639
|
minPlan: "Go"
|
|
2632
2640
|
},
|
|
2633
2641
|
"deepseek/deepseek-v4.1-flash": {
|
|
2634
|
-
name: "DeepSeek V4.1 Flash",
|
|
2642
|
+
name: "DeepSeek V4.1 Flash (latest)",
|
|
2635
2643
|
context: 1e6,
|
|
2636
2644
|
efforts: ["off", "low", "high", "max"],
|
|
2637
2645
|
cost: { input: 0.15, output: 0.6, cacheRead: 0.003, cacheWrite: 0 },
|
|
@@ -2639,13 +2647,21 @@ var MODEL_CATALOG = {
|
|
|
2639
2647
|
minPlan: "Go"
|
|
2640
2648
|
},
|
|
2641
2649
|
"deepseek/deepseek-v4.1-flash-fast": {
|
|
2642
|
-
name: "DeepSeek V4.1 Flash Fast",
|
|
2650
|
+
name: "DeepSeek V4.1 Flash Fast (latest)",
|
|
2643
2651
|
context: 1e6,
|
|
2644
2652
|
efforts: ["off", "low", "high", "max"],
|
|
2645
2653
|
cost: { input: 0.16, output: 0.58, cacheRead: 0.016, cacheWrite: 0 },
|
|
2646
2654
|
modalities: ["text", "image"],
|
|
2647
2655
|
minPlan: "Go"
|
|
2648
2656
|
},
|
|
2657
|
+
"deepseek/deepseek-v4.1-flash-ultrafast": {
|
|
2658
|
+
name: "DeepSeek V4.1 Flash Ultrafast",
|
|
2659
|
+
context: 1050000,
|
|
2660
|
+
efforts: ["off", "low", "high", "max"],
|
|
2661
|
+
cost: { input: 2.4, output: 9.6, cacheRead: 0.048, cacheWrite: 0 },
|
|
2662
|
+
modalities: ["text", "image"],
|
|
2663
|
+
minPlan: "GOAT"
|
|
2664
|
+
},
|
|
2649
2665
|
"google/gemini-3.1-flash-lite": {
|
|
2650
2666
|
name: "Gemini 3.1 Flash Lite",
|
|
2651
2667
|
context: 1e6,
|
|
@@ -2694,6 +2710,14 @@ var MODEL_CATALOG = {
|
|
|
2694
2710
|
modalities: ["text", "image"],
|
|
2695
2711
|
minPlan: "GOAT"
|
|
2696
2712
|
},
|
|
2713
|
+
"google/gemini-4-argon": {
|
|
2714
|
+
name: "Gemini 4 Argon",
|
|
2715
|
+
context: 1e6,
|
|
2716
|
+
efforts: ["low", "medium", "high"],
|
|
2717
|
+
cost: { input: 2, output: 10, cacheRead: 0.1, cacheWrite: 0 },
|
|
2718
|
+
modalities: ["text", "image"],
|
|
2719
|
+
minPlan: "Pro"
|
|
2720
|
+
},
|
|
2697
2721
|
"gpt-5.3-codex": {
|
|
2698
2722
|
name: "GPT-5.3 Codex",
|
|
2699
2723
|
context: 400000,
|
|
@@ -2782,19 +2806,27 @@ var MODEL_CATALOG = {
|
|
|
2782
2806
|
modalities: ["text", "image"],
|
|
2783
2807
|
minPlan: "Max"
|
|
2784
2808
|
},
|
|
2785
|
-
"
|
|
2786
|
-
name: "
|
|
2809
|
+
"gpt-6.1-terra": {
|
|
2810
|
+
name: "GPT-6.1 Terra",
|
|
2811
|
+
context: 1050000,
|
|
2812
|
+
efforts: ["low", "medium", "high", "xhigh", "max"],
|
|
2813
|
+
cost: { input: 1, output: 5, cacheRead: 0.05, cacheWrite: 1.25 },
|
|
2814
|
+
modalities: ["text", "image"],
|
|
2815
|
+
minPlan: "Pro"
|
|
2816
|
+
},
|
|
2817
|
+
"inclusionai/ling-3.1-flash": {
|
|
2818
|
+
name: "Ling 3.1 Flash",
|
|
2787
2819
|
context: 262000,
|
|
2788
|
-
efforts:
|
|
2789
|
-
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
|
|
2820
|
+
efforts: ["low", "medium", "high"],
|
|
2821
|
+
cost: { input: 0.3, output: 0.9, cacheRead: 0.06, cacheWrite: 0 },
|
|
2790
2822
|
modalities: ["text"],
|
|
2791
2823
|
minPlan: "Go"
|
|
2792
2824
|
},
|
|
2793
|
-
"inclusionai/ling-3.1-flash
|
|
2794
|
-
name: "Ling 3.1 Flash",
|
|
2795
|
-
context:
|
|
2825
|
+
"inclusionai/ling-3.1-flash-1019": {
|
|
2826
|
+
name: "Ling 3.1 Flash 1019",
|
|
2827
|
+
context: 1e6,
|
|
2796
2828
|
efforts: ["low", "medium", "high"],
|
|
2797
|
-
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
|
|
2829
|
+
cost: { input: 0.3, output: 0.9, cacheRead: 0.06, cacheWrite: 0 },
|
|
2798
2830
|
modalities: ["text"],
|
|
2799
2831
|
minPlan: "Go"
|
|
2800
2832
|
},
|
|
@@ -2846,6 +2878,30 @@ var MODEL_CATALOG = {
|
|
|
2846
2878
|
modalities: ["text", "image"],
|
|
2847
2879
|
minPlan: "Go"
|
|
2848
2880
|
},
|
|
2881
|
+
"meta/muse-spark-open": {
|
|
2882
|
+
name: "Muse Spark Open",
|
|
2883
|
+
context: 1050000,
|
|
2884
|
+
efforts: ["low", "medium", "high"],
|
|
2885
|
+
cost: { input: 1.25, output: 4.25, cacheRead: 0.15, cacheWrite: 0 },
|
|
2886
|
+
modalities: ["text", "image"],
|
|
2887
|
+
minPlan: "Go"
|
|
2888
|
+
},
|
|
2889
|
+
"meta/muse-wonder-1.0": {
|
|
2890
|
+
name: "Muse Wonder",
|
|
2891
|
+
context: 1050000,
|
|
2892
|
+
efforts: ["low", "medium", "high", "xhigh"],
|
|
2893
|
+
cost: { input: 4, output: 20, cacheRead: 0.2, cacheWrite: 0 },
|
|
2894
|
+
modalities: ["text", "image"],
|
|
2895
|
+
minPlan: "Max"
|
|
2896
|
+
},
|
|
2897
|
+
"minimax/minimax-m3.1-flash": {
|
|
2898
|
+
name: "MiniMax M3.1 Flash",
|
|
2899
|
+
context: 1e6,
|
|
2900
|
+
efforts: ["low", "medium", "high", "xhigh", "max"],
|
|
2901
|
+
cost: { input: 0.15, output: 0.6, cacheRead: 0.015, cacheWrite: 0 },
|
|
2902
|
+
modalities: ["text", "image"],
|
|
2903
|
+
minPlan: "Go"
|
|
2904
|
+
},
|
|
2849
2905
|
"MiniMaxAI/MiniMax-M2.5": {
|
|
2850
2906
|
name: "MiniMax M2.5",
|
|
2851
2907
|
context: 200000,
|
|
@@ -2870,6 +2926,14 @@ var MODEL_CATALOG = {
|
|
|
2870
2926
|
modalities: ["text", "image"],
|
|
2871
2927
|
minPlan: "Go"
|
|
2872
2928
|
},
|
|
2929
|
+
"mistral/mistral-large-4": {
|
|
2930
|
+
name: "Mistral Large 4",
|
|
2931
|
+
context: 524000,
|
|
2932
|
+
efforts: ["low", "medium", "high"],
|
|
2933
|
+
cost: { input: 1.36, output: 4.18, cacheRead: 0.14, cacheWrite: 0 },
|
|
2934
|
+
modalities: ["text", "image"],
|
|
2935
|
+
minPlan: "Go"
|
|
2936
|
+
},
|
|
2873
2937
|
"moonshotai/Kimi-K2.5": {
|
|
2874
2938
|
name: "Kimi K2.5",
|
|
2875
2939
|
context: 256000,
|
|
@@ -2910,6 +2974,14 @@ var MODEL_CATALOG = {
|
|
|
2910
2974
|
modalities: ["text", "image"],
|
|
2911
2975
|
minPlan: "Go"
|
|
2912
2976
|
},
|
|
2977
|
+
"moonshotai/Kimi-K3.1-Pro": {
|
|
2978
|
+
name: "Kimi K3.1 Pro",
|
|
2979
|
+
context: 1050000,
|
|
2980
|
+
efforts: ["low", "high", "max"],
|
|
2981
|
+
cost: { input: 2, output: 10, cacheRead: 0.2, cacheWrite: 0 },
|
|
2982
|
+
modalities: ["text", "image"],
|
|
2983
|
+
minPlan: "Go"
|
|
2984
|
+
},
|
|
2913
2985
|
"nvidia/nemotron-3-ultra-550b-a55b": {
|
|
2914
2986
|
name: "Nemotron 3 Ultra",
|
|
2915
2987
|
context: 1e6,
|
|
@@ -2918,12 +2990,20 @@ var MODEL_CATALOG = {
|
|
|
2918
2990
|
modalities: ["text"],
|
|
2919
2991
|
minPlan: "Go"
|
|
2920
2992
|
},
|
|
2921
|
-
"
|
|
2922
|
-
name: "
|
|
2923
|
-
context:
|
|
2993
|
+
"nvidia/nemotron-3.5-super-vl": {
|
|
2994
|
+
name: "Nemotron 3.5 Super VL",
|
|
2995
|
+
context: 262000,
|
|
2996
|
+
efforts: ["low", "medium", "high"],
|
|
2997
|
+
cost: { input: 0.2, output: 0.5, cacheRead: 0.04, cacheWrite: 0 },
|
|
2998
|
+
modalities: ["text", "image"],
|
|
2999
|
+
minPlan: "Go"
|
|
3000
|
+
},
|
|
3001
|
+
"ornith/ornith-1.5-122b": {
|
|
3002
|
+
name: "Ornith 1.5 122B",
|
|
3003
|
+
context: 262000,
|
|
2924
3004
|
efforts: null,
|
|
2925
|
-
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
|
|
2926
|
-
modalities: ["text"],
|
|
3005
|
+
cost: { input: 0.16, output: 0.64, cacheRead: 0.02, cacheWrite: 0 },
|
|
3006
|
+
modalities: ["text", "image"],
|
|
2927
3007
|
minPlan: "Go"
|
|
2928
3008
|
},
|
|
2929
3009
|
"Qwen/Qwen3.6-Max-Preview": {
|
|
@@ -2946,12 +3026,7 @@ var MODEL_CATALOG = {
|
|
|
2946
3026
|
name: "Qwen 3.7 Flash",
|
|
2947
3027
|
context: 1e6,
|
|
2948
3028
|
efforts: null,
|
|
2949
|
-
cost: {
|
|
2950
|
-
input: 0.03,
|
|
2951
|
-
output: 0.13,
|
|
2952
|
-
cacheRead: 0.006,
|
|
2953
|
-
cacheWrite: 0.038
|
|
2954
|
-
},
|
|
3029
|
+
cost: { input: 0.03, output: 0.13, cacheRead: 0.006, cacheWrite: 0.038 },
|
|
2955
3030
|
modalities: ["text", "image"],
|
|
2956
3031
|
minPlan: "Go"
|
|
2957
3032
|
},
|
|
@@ -3003,6 +3078,14 @@ var MODEL_CATALOG = {
|
|
|
3003
3078
|
modalities: ["text", "image"],
|
|
3004
3079
|
minPlan: "Go"
|
|
3005
3080
|
},
|
|
3081
|
+
"Qwen/Qwen3.8-Max-Prime": {
|
|
3082
|
+
name: "Qwen 3.8 Max Prime",
|
|
3083
|
+
context: 1e6,
|
|
3084
|
+
efforts: ["low", "medium", "xhigh"],
|
|
3085
|
+
cost: { input: 4, output: 12, cacheRead: 0.5, cacheWrite: 5 },
|
|
3086
|
+
modalities: ["text", "image"],
|
|
3087
|
+
minPlan: "GOAT"
|
|
3088
|
+
},
|
|
3006
3089
|
"Qwen/Qwen3.8-Omni-Flash": {
|
|
3007
3090
|
name: "Qwen 3.8 Omni Flash",
|
|
3008
3091
|
context: 1e6,
|
|
@@ -3011,6 +3094,14 @@ var MODEL_CATALOG = {
|
|
|
3011
3094
|
modalities: ["text", "image"],
|
|
3012
3095
|
minPlan: "Go"
|
|
3013
3096
|
},
|
|
3097
|
+
"reflection/beam:free": {
|
|
3098
|
+
name: "Beam 1.0",
|
|
3099
|
+
context: 1050000,
|
|
3100
|
+
efforts: ["low", "medium", "high", "xhigh", "max"],
|
|
3101
|
+
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
|
|
3102
|
+
modalities: ["text"],
|
|
3103
|
+
minPlan: "Go"
|
|
3104
|
+
},
|
|
3014
3105
|
"sakana/fugu-ultra": {
|
|
3015
3106
|
name: "Fugu Ultra",
|
|
3016
3107
|
context: 1e6,
|
|
@@ -3019,14 +3110,22 @@ var MODEL_CATALOG = {
|
|
|
3019
3110
|
modalities: ["text", "image"],
|
|
3020
3111
|
minPlan: "Max"
|
|
3021
3112
|
},
|
|
3022
|
-
"stealth/
|
|
3023
|
-
name: "
|
|
3024
|
-
context:
|
|
3025
|
-
efforts: ["low", "medium", "high", "max"],
|
|
3113
|
+
"stealth/crouton-alpha": {
|
|
3114
|
+
name: "Crouton Alpha",
|
|
3115
|
+
context: 1050000,
|
|
3116
|
+
efforts: ["low", "medium", "high", "xhigh", "max"],
|
|
3026
3117
|
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
|
|
3027
3118
|
modalities: ["text", "image"],
|
|
3028
3119
|
minPlan: "Go"
|
|
3029
3120
|
},
|
|
3121
|
+
"stealth/glyph-cluster:free": {
|
|
3122
|
+
name: "Glyph Cluster",
|
|
3123
|
+
context: 256000,
|
|
3124
|
+
efforts: ["low", "medium", "high", "xhigh"],
|
|
3125
|
+
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
|
|
3126
|
+
modalities: ["text"],
|
|
3127
|
+
minPlan: "Go"
|
|
3128
|
+
},
|
|
3030
3129
|
"stepfun/Step-3.5-Flash": {
|
|
3031
3130
|
name: "Step 3.5 Flash",
|
|
3032
3131
|
context: 262000,
|
|
@@ -3107,22 +3206,6 @@ var MODEL_CATALOG = {
|
|
|
3107
3206
|
modalities: ["text", "image"],
|
|
3108
3207
|
minPlan: "GOAT"
|
|
3109
3208
|
},
|
|
3110
|
-
"xiaomi/mimo-v2.5": {
|
|
3111
|
-
name: "MiMo V2.5",
|
|
3112
|
-
context: 1e6,
|
|
3113
|
-
efforts: null,
|
|
3114
|
-
cost: { input: 0.14, output: 0.28, cacheRead: 0.0028, cacheWrite: 0 },
|
|
3115
|
-
modalities: ["text", "image"],
|
|
3116
|
-
minPlan: "Go"
|
|
3117
|
-
},
|
|
3118
|
-
"xiaomi/mimo-v2.5-pro": {
|
|
3119
|
-
name: "MiMo V2.5 Pro",
|
|
3120
|
-
context: 1e6,
|
|
3121
|
-
efforts: null,
|
|
3122
|
-
cost: { input: 0.435, output: 0.87, cacheRead: 0.0036, cacheWrite: 0 },
|
|
3123
|
-
modalities: ["text"],
|
|
3124
|
-
minPlan: "Go"
|
|
3125
|
-
},
|
|
3126
3209
|
"xiaomi/mimo-v2.6-flash": {
|
|
3127
3210
|
name: "MiMo V2.6 Flash",
|
|
3128
3211
|
context: 1050000,
|
|
@@ -3214,6 +3297,9 @@ function supportsImage(id) {
|
|
|
3214
3297
|
function modelCost(id) {
|
|
3215
3298
|
return MODEL_CATALOG[id]?.cost;
|
|
3216
3299
|
}
|
|
3300
|
+
function modelContext(id) {
|
|
3301
|
+
return MODEL_CATALOG[id]?.context;
|
|
3302
|
+
}
|
|
3217
3303
|
function reasoningVariants(id) {
|
|
3218
3304
|
const efforts = MODEL_CATALOG[id]?.efforts;
|
|
3219
3305
|
if (!efforts || efforts.length === 0)
|
|
@@ -4944,7 +5030,7 @@ function staticSeedModels() {
|
|
|
4944
5030
|
"command-code-openai": []
|
|
4945
5031
|
};
|
|
4946
5032
|
for (const lane of LANES) {
|
|
4947
|
-
const models = KNOWN_MODELS.filter((id) => isClaude(id) === (lane.reasoningField === undefined)).map((id) => toV2Model({ id, name: id, contextLength: 0 }, lane));
|
|
5033
|
+
const models = KNOWN_MODELS.filter((id) => isClaude(id) === (lane.reasoningField === undefined)).map((id) => toV2Model({ id, name: id, contextLength: modelContext(id) ?? 0 }, lane));
|
|
4948
5034
|
seed[lane.id] = models;
|
|
4949
5035
|
}
|
|
4950
5036
|
return seed;
|
package/dist/tui.js
CHANGED
|
@@ -1042,6 +1042,19 @@ var MODEL_CATALOG = {
|
|
|
1042
1042
|
modalities: ["text", "image"],
|
|
1043
1043
|
minPlan: "Pro"
|
|
1044
1044
|
},
|
|
1045
|
+
"claude-haiku-5-5": {
|
|
1046
|
+
name: "Claude Haiku 5.5",
|
|
1047
|
+
context: 1e6,
|
|
1048
|
+
efforts: ["low", "medium", "high", "xhigh", "max"],
|
|
1049
|
+
cost: {
|
|
1050
|
+
input: 0.1,
|
|
1051
|
+
output: 0.5,
|
|
1052
|
+
cacheRead: 0.01,
|
|
1053
|
+
cacheWrite: 0.125
|
|
1054
|
+
},
|
|
1055
|
+
modalities: ["text", "image"],
|
|
1056
|
+
minPlan: "GOAT"
|
|
1057
|
+
},
|
|
1045
1058
|
"claude-opus-4-7": {
|
|
1046
1059
|
name: "Claude Opus 4.7",
|
|
1047
1060
|
context: 1e6,
|
|
@@ -1127,7 +1140,7 @@ var MODEL_CATALOG = {
|
|
|
1127
1140
|
cost: {
|
|
1128
1141
|
input: 2,
|
|
1129
1142
|
output: 10,
|
|
1130
|
-
cacheRead: 0.
|
|
1143
|
+
cacheRead: 0.1,
|
|
1131
1144
|
cacheWrite: 2.5
|
|
1132
1145
|
},
|
|
1133
1146
|
modalities: ["text", "image"],
|
|
@@ -1186,7 +1199,7 @@ var MODEL_CATALOG = {
|
|
|
1186
1199
|
minPlan: "Go"
|
|
1187
1200
|
},
|
|
1188
1201
|
"deepseek/deepseek-v4.1-flash": {
|
|
1189
|
-
name: "DeepSeek V4.1 Flash",
|
|
1202
|
+
name: "DeepSeek V4.1 Flash (latest)",
|
|
1190
1203
|
context: 1e6,
|
|
1191
1204
|
efforts: ["off", "low", "high", "max"],
|
|
1192
1205
|
cost: {
|
|
@@ -1199,7 +1212,7 @@ var MODEL_CATALOG = {
|
|
|
1199
1212
|
minPlan: "Go"
|
|
1200
1213
|
},
|
|
1201
1214
|
"deepseek/deepseek-v4.1-flash-fast": {
|
|
1202
|
-
name: "DeepSeek V4.1 Flash Fast",
|
|
1215
|
+
name: "DeepSeek V4.1 Flash Fast (latest)",
|
|
1203
1216
|
context: 1e6,
|
|
1204
1217
|
efforts: ["off", "low", "high", "max"],
|
|
1205
1218
|
cost: {
|
|
@@ -1211,6 +1224,19 @@ var MODEL_CATALOG = {
|
|
|
1211
1224
|
modalities: ["text", "image"],
|
|
1212
1225
|
minPlan: "Go"
|
|
1213
1226
|
},
|
|
1227
|
+
"deepseek/deepseek-v4.1-flash-ultrafast": {
|
|
1228
|
+
name: "DeepSeek V4.1 Flash Ultrafast",
|
|
1229
|
+
context: 1050000,
|
|
1230
|
+
efforts: ["off", "low", "high", "max"],
|
|
1231
|
+
cost: {
|
|
1232
|
+
input: 2.4,
|
|
1233
|
+
output: 9.6,
|
|
1234
|
+
cacheRead: 0.048,
|
|
1235
|
+
cacheWrite: 0
|
|
1236
|
+
},
|
|
1237
|
+
modalities: ["text", "image"],
|
|
1238
|
+
minPlan: "GOAT"
|
|
1239
|
+
},
|
|
1214
1240
|
"google/gemini-3.1-flash-lite": {
|
|
1215
1241
|
name: "Gemini 3.1 Flash Lite",
|
|
1216
1242
|
context: 1e6,
|
|
@@ -1289,6 +1315,19 @@ var MODEL_CATALOG = {
|
|
|
1289
1315
|
modalities: ["text", "image"],
|
|
1290
1316
|
minPlan: "GOAT"
|
|
1291
1317
|
},
|
|
1318
|
+
"google/gemini-4-argon": {
|
|
1319
|
+
name: "Gemini 4 Argon",
|
|
1320
|
+
context: 1e6,
|
|
1321
|
+
efforts: ["low", "medium", "high"],
|
|
1322
|
+
cost: {
|
|
1323
|
+
input: 2,
|
|
1324
|
+
output: 10,
|
|
1325
|
+
cacheRead: 0.1,
|
|
1326
|
+
cacheWrite: 0
|
|
1327
|
+
},
|
|
1328
|
+
modalities: ["text", "image"],
|
|
1329
|
+
minPlan: "Pro"
|
|
1330
|
+
},
|
|
1292
1331
|
"gpt-5.3-codex": {
|
|
1293
1332
|
name: "GPT-5.3 Codex",
|
|
1294
1333
|
context: 400000,
|
|
@@ -1432,27 +1471,40 @@ var MODEL_CATALOG = {
|
|
|
1432
1471
|
modalities: ["text", "image"],
|
|
1433
1472
|
minPlan: "Max"
|
|
1434
1473
|
},
|
|
1435
|
-
"
|
|
1436
|
-
name: "
|
|
1474
|
+
"gpt-6.1-terra": {
|
|
1475
|
+
name: "GPT-6.1 Terra",
|
|
1476
|
+
context: 1050000,
|
|
1477
|
+
efforts: ["low", "medium", "high", "xhigh", "max"],
|
|
1478
|
+
cost: {
|
|
1479
|
+
input: 1,
|
|
1480
|
+
output: 5,
|
|
1481
|
+
cacheRead: 0.05,
|
|
1482
|
+
cacheWrite: 1.25
|
|
1483
|
+
},
|
|
1484
|
+
modalities: ["text", "image"],
|
|
1485
|
+
minPlan: "Pro"
|
|
1486
|
+
},
|
|
1487
|
+
"inclusionai/ling-3.1-flash": {
|
|
1488
|
+
name: "Ling 3.1 Flash",
|
|
1437
1489
|
context: 262000,
|
|
1438
|
-
efforts:
|
|
1490
|
+
efforts: ["low", "medium", "high"],
|
|
1439
1491
|
cost: {
|
|
1440
|
-
input: 0,
|
|
1441
|
-
output: 0,
|
|
1442
|
-
cacheRead: 0,
|
|
1492
|
+
input: 0.3,
|
|
1493
|
+
output: 0.9,
|
|
1494
|
+
cacheRead: 0.06,
|
|
1443
1495
|
cacheWrite: 0
|
|
1444
1496
|
},
|
|
1445
1497
|
modalities: ["text"],
|
|
1446
1498
|
minPlan: "Go"
|
|
1447
1499
|
},
|
|
1448
|
-
"inclusionai/ling-3.1-flash
|
|
1449
|
-
name: "Ling 3.1 Flash",
|
|
1450
|
-
context:
|
|
1500
|
+
"inclusionai/ling-3.1-flash-1019": {
|
|
1501
|
+
name: "Ling 3.1 Flash 1019",
|
|
1502
|
+
context: 1e6,
|
|
1451
1503
|
efforts: ["low", "medium", "high"],
|
|
1452
1504
|
cost: {
|
|
1453
|
-
input: 0,
|
|
1454
|
-
output: 0,
|
|
1455
|
-
cacheRead: 0,
|
|
1505
|
+
input: 0.3,
|
|
1506
|
+
output: 0.9,
|
|
1507
|
+
cacheRead: 0.06,
|
|
1456
1508
|
cacheWrite: 0
|
|
1457
1509
|
},
|
|
1458
1510
|
modalities: ["text"],
|
|
@@ -1536,6 +1588,45 @@ var MODEL_CATALOG = {
|
|
|
1536
1588
|
modalities: ["text", "image"],
|
|
1537
1589
|
minPlan: "Go"
|
|
1538
1590
|
},
|
|
1591
|
+
"meta/muse-spark-open": {
|
|
1592
|
+
name: "Muse Spark Open",
|
|
1593
|
+
context: 1050000,
|
|
1594
|
+
efforts: ["low", "medium", "high"],
|
|
1595
|
+
cost: {
|
|
1596
|
+
input: 1.25,
|
|
1597
|
+
output: 4.25,
|
|
1598
|
+
cacheRead: 0.15,
|
|
1599
|
+
cacheWrite: 0
|
|
1600
|
+
},
|
|
1601
|
+
modalities: ["text", "image"],
|
|
1602
|
+
minPlan: "Go"
|
|
1603
|
+
},
|
|
1604
|
+
"meta/muse-wonder-1.0": {
|
|
1605
|
+
name: "Muse Wonder",
|
|
1606
|
+
context: 1050000,
|
|
1607
|
+
efforts: ["low", "medium", "high", "xhigh"],
|
|
1608
|
+
cost: {
|
|
1609
|
+
input: 4,
|
|
1610
|
+
output: 20,
|
|
1611
|
+
cacheRead: 0.2,
|
|
1612
|
+
cacheWrite: 0
|
|
1613
|
+
},
|
|
1614
|
+
modalities: ["text", "image"],
|
|
1615
|
+
minPlan: "Max"
|
|
1616
|
+
},
|
|
1617
|
+
"minimax/minimax-m3.1-flash": {
|
|
1618
|
+
name: "MiniMax M3.1 Flash",
|
|
1619
|
+
context: 1e6,
|
|
1620
|
+
efforts: ["low", "medium", "high", "xhigh", "max"],
|
|
1621
|
+
cost: {
|
|
1622
|
+
input: 0.15,
|
|
1623
|
+
output: 0.6,
|
|
1624
|
+
cacheRead: 0.015,
|
|
1625
|
+
cacheWrite: 0
|
|
1626
|
+
},
|
|
1627
|
+
modalities: ["text", "image"],
|
|
1628
|
+
minPlan: "Go"
|
|
1629
|
+
},
|
|
1539
1630
|
"MiniMaxAI/MiniMax-M2.5": {
|
|
1540
1631
|
name: "MiniMax M2.5",
|
|
1541
1632
|
context: 200000,
|
|
@@ -1575,6 +1666,19 @@ var MODEL_CATALOG = {
|
|
|
1575
1666
|
modalities: ["text", "image"],
|
|
1576
1667
|
minPlan: "Go"
|
|
1577
1668
|
},
|
|
1669
|
+
"mistral/mistral-large-4": {
|
|
1670
|
+
name: "Mistral Large 4",
|
|
1671
|
+
context: 524000,
|
|
1672
|
+
efforts: ["low", "medium", "high"],
|
|
1673
|
+
cost: {
|
|
1674
|
+
input: 1.36,
|
|
1675
|
+
output: 4.18,
|
|
1676
|
+
cacheRead: 0.14,
|
|
1677
|
+
cacheWrite: 0
|
|
1678
|
+
},
|
|
1679
|
+
modalities: ["text", "image"],
|
|
1680
|
+
minPlan: "Go"
|
|
1681
|
+
},
|
|
1578
1682
|
"moonshotai/Kimi-K2.5": {
|
|
1579
1683
|
name: "Kimi K2.5",
|
|
1580
1684
|
context: 256000,
|
|
@@ -1640,6 +1744,19 @@ var MODEL_CATALOG = {
|
|
|
1640
1744
|
modalities: ["text", "image"],
|
|
1641
1745
|
minPlan: "Go"
|
|
1642
1746
|
},
|
|
1747
|
+
"moonshotai/Kimi-K3.1-Pro": {
|
|
1748
|
+
name: "Kimi K3.1 Pro",
|
|
1749
|
+
context: 1050000,
|
|
1750
|
+
efforts: ["low", "high", "max"],
|
|
1751
|
+
cost: {
|
|
1752
|
+
input: 2,
|
|
1753
|
+
output: 10,
|
|
1754
|
+
cacheRead: 0.2,
|
|
1755
|
+
cacheWrite: 0
|
|
1756
|
+
},
|
|
1757
|
+
modalities: ["text", "image"],
|
|
1758
|
+
minPlan: "Go"
|
|
1759
|
+
},
|
|
1643
1760
|
"nvidia/nemotron-3-ultra-550b-a55b": {
|
|
1644
1761
|
name: "Nemotron 3 Ultra",
|
|
1645
1762
|
context: 1e6,
|
|
@@ -1653,17 +1770,30 @@ var MODEL_CATALOG = {
|
|
|
1653
1770
|
modalities: ["text"],
|
|
1654
1771
|
minPlan: "Go"
|
|
1655
1772
|
},
|
|
1656
|
-
"
|
|
1657
|
-
name: "
|
|
1658
|
-
context:
|
|
1773
|
+
"nvidia/nemotron-3.5-super-vl": {
|
|
1774
|
+
name: "Nemotron 3.5 Super VL",
|
|
1775
|
+
context: 262000,
|
|
1776
|
+
efforts: ["low", "medium", "high"],
|
|
1777
|
+
cost: {
|
|
1778
|
+
input: 0.2,
|
|
1779
|
+
output: 0.5,
|
|
1780
|
+
cacheRead: 0.04,
|
|
1781
|
+
cacheWrite: 0
|
|
1782
|
+
},
|
|
1783
|
+
modalities: ["text", "image"],
|
|
1784
|
+
minPlan: "Go"
|
|
1785
|
+
},
|
|
1786
|
+
"ornith/ornith-1.5-122b": {
|
|
1787
|
+
name: "Ornith 1.5 122B",
|
|
1788
|
+
context: 262000,
|
|
1659
1789
|
efforts: null,
|
|
1660
1790
|
cost: {
|
|
1661
|
-
input: 0,
|
|
1662
|
-
output: 0,
|
|
1663
|
-
cacheRead: 0,
|
|
1791
|
+
input: 0.16,
|
|
1792
|
+
output: 0.64,
|
|
1793
|
+
cacheRead: 0.02,
|
|
1664
1794
|
cacheWrite: 0
|
|
1665
1795
|
},
|
|
1666
|
-
modalities: ["text"],
|
|
1796
|
+
modalities: ["text", "image"],
|
|
1667
1797
|
minPlan: "Go"
|
|
1668
1798
|
},
|
|
1669
1799
|
"Qwen/Qwen3.6-Max-Preview": {
|
|
@@ -1783,6 +1913,19 @@ var MODEL_CATALOG = {
|
|
|
1783
1913
|
modalities: ["text", "image"],
|
|
1784
1914
|
minPlan: "Go"
|
|
1785
1915
|
},
|
|
1916
|
+
"Qwen/Qwen3.8-Max-Prime": {
|
|
1917
|
+
name: "Qwen 3.8 Max Prime",
|
|
1918
|
+
context: 1e6,
|
|
1919
|
+
efforts: ["low", "medium", "xhigh"],
|
|
1920
|
+
cost: {
|
|
1921
|
+
input: 4,
|
|
1922
|
+
output: 12,
|
|
1923
|
+
cacheRead: 0.5,
|
|
1924
|
+
cacheWrite: 5
|
|
1925
|
+
},
|
|
1926
|
+
modalities: ["text", "image"],
|
|
1927
|
+
minPlan: "GOAT"
|
|
1928
|
+
},
|
|
1786
1929
|
"Qwen/Qwen3.8-Omni-Flash": {
|
|
1787
1930
|
name: "Qwen 3.8 Omni Flash",
|
|
1788
1931
|
context: 1e6,
|
|
@@ -1796,6 +1939,19 @@ var MODEL_CATALOG = {
|
|
|
1796
1939
|
modalities: ["text", "image"],
|
|
1797
1940
|
minPlan: "Go"
|
|
1798
1941
|
},
|
|
1942
|
+
"reflection/beam:free": {
|
|
1943
|
+
name: "Beam 1.0",
|
|
1944
|
+
context: 1050000,
|
|
1945
|
+
efforts: ["low", "medium", "high", "xhigh", "max"],
|
|
1946
|
+
cost: {
|
|
1947
|
+
input: 0,
|
|
1948
|
+
output: 0,
|
|
1949
|
+
cacheRead: 0,
|
|
1950
|
+
cacheWrite: 0
|
|
1951
|
+
},
|
|
1952
|
+
modalities: ["text"],
|
|
1953
|
+
minPlan: "Go"
|
|
1954
|
+
},
|
|
1799
1955
|
"sakana/fugu-ultra": {
|
|
1800
1956
|
name: "Fugu Ultra",
|
|
1801
1957
|
context: 1e6,
|
|
@@ -1809,10 +1965,10 @@ var MODEL_CATALOG = {
|
|
|
1809
1965
|
modalities: ["text", "image"],
|
|
1810
1966
|
minPlan: "Max"
|
|
1811
1967
|
},
|
|
1812
|
-
"stealth/
|
|
1813
|
-
name: "
|
|
1814
|
-
context:
|
|
1815
|
-
efforts: ["low", "medium", "high", "max"],
|
|
1968
|
+
"stealth/crouton-alpha": {
|
|
1969
|
+
name: "Crouton Alpha",
|
|
1970
|
+
context: 1050000,
|
|
1971
|
+
efforts: ["low", "medium", "high", "xhigh", "max"],
|
|
1816
1972
|
cost: {
|
|
1817
1973
|
input: 0,
|
|
1818
1974
|
output: 0,
|
|
@@ -1822,6 +1978,19 @@ var MODEL_CATALOG = {
|
|
|
1822
1978
|
modalities: ["text", "image"],
|
|
1823
1979
|
minPlan: "Go"
|
|
1824
1980
|
},
|
|
1981
|
+
"stealth/glyph-cluster:free": {
|
|
1982
|
+
name: "Glyph Cluster",
|
|
1983
|
+
context: 256000,
|
|
1984
|
+
efforts: ["low", "medium", "high", "xhigh"],
|
|
1985
|
+
cost: {
|
|
1986
|
+
input: 0,
|
|
1987
|
+
output: 0,
|
|
1988
|
+
cacheRead: 0,
|
|
1989
|
+
cacheWrite: 0
|
|
1990
|
+
},
|
|
1991
|
+
modalities: ["text"],
|
|
1992
|
+
minPlan: "Go"
|
|
1993
|
+
},
|
|
1825
1994
|
"stepfun/Step-3.5-Flash": {
|
|
1826
1995
|
name: "Step 3.5 Flash",
|
|
1827
1996
|
context: 262000,
|
|
@@ -1952,32 +2121,6 @@ var MODEL_CATALOG = {
|
|
|
1952
2121
|
modalities: ["text", "image"],
|
|
1953
2122
|
minPlan: "GOAT"
|
|
1954
2123
|
},
|
|
1955
|
-
"xiaomi/mimo-v2.5": {
|
|
1956
|
-
name: "MiMo V2.5",
|
|
1957
|
-
context: 1e6,
|
|
1958
|
-
efforts: null,
|
|
1959
|
-
cost: {
|
|
1960
|
-
input: 0.14,
|
|
1961
|
-
output: 0.28,
|
|
1962
|
-
cacheRead: 0.0028,
|
|
1963
|
-
cacheWrite: 0
|
|
1964
|
-
},
|
|
1965
|
-
modalities: ["text", "image"],
|
|
1966
|
-
minPlan: "Go"
|
|
1967
|
-
},
|
|
1968
|
-
"xiaomi/mimo-v2.5-pro": {
|
|
1969
|
-
name: "MiMo V2.5 Pro",
|
|
1970
|
-
context: 1e6,
|
|
1971
|
-
efforts: null,
|
|
1972
|
-
cost: {
|
|
1973
|
-
input: 0.435,
|
|
1974
|
-
output: 0.87,
|
|
1975
|
-
cacheRead: 0.0036,
|
|
1976
|
-
cacheWrite: 0
|
|
1977
|
-
},
|
|
1978
|
-
modalities: ["text"],
|
|
1979
|
-
minPlan: "Go"
|
|
1980
|
-
},
|
|
1981
2124
|
"xiaomi/mimo-v2.6-flash": {
|
|
1982
2125
|
name: "MiMo V2.6 Flash",
|
|
1983
2126
|
context: 1050000,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jeffreyjyz/opencode-command-code",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.25",
|
|
4
4
|
"description": "Command Code provider + usage dashboard for opencode: two providers (Anthropic wire for Claude, OpenAI wire for everything else) against api.commandcode.ai, live model list, plan gating, /cmd-usage. Requires the cmduse CLI for usage rendering.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"./tui": "./dist/tui.js"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
|
-
"build": "rm -rf dist && bun build src/index.ts --outdir dist --target bun --external @opencode-ai/plugin --external @opencode/plugin --external @opencode/plugin/tui && bun scripts/build-tui.ts && tsc -p tsconfig.build.json",
|
|
13
|
+
"build": "rm -rf dist && bun build src/index.ts --outdir dist --target bun --external @opencode-ai/plugin --external @opencode/plugin --external @opencode/plugin/tui && bun scripts/build-tui.ts && tsc -p tsconfig.build.json && bun scripts/strip-bundle-comments.ts",
|
|
14
14
|
"test": "bun test",
|
|
15
15
|
"lint": "biome lint --write .",
|
|
16
16
|
"typecheck": "bun check",
|