@jeffreyjyz/opencode-command-code 0.3.3 → 0.3.5
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/index.js +74 -10
- package/dist/models.d.ts +4 -0
- package/dist/tui.js +60 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2692,12 +2692,14 @@ function reasoningVariants(id) {
|
|
|
2692
2692
|
}
|
|
2693
2693
|
// ../core/gating.json
|
|
2694
2694
|
var gating_default = {
|
|
2695
|
-
extractedAt: "2026-09-
|
|
2696
|
-
cliVersion: "1.
|
|
2695
|
+
extractedAt: "2026-09-27T06:27:06.878Z",
|
|
2696
|
+
cliVersion: "1.66.0",
|
|
2697
2697
|
categories: {
|
|
2698
2698
|
"claude-sonnet-5": "premium",
|
|
2699
2699
|
"claude-sonnet-4-6": "premium",
|
|
2700
|
+
"claude-fable-5-1": "premium",
|
|
2700
2701
|
"claude-fable-5": "premium",
|
|
2702
|
+
"claude-opus-5-5": "premium",
|
|
2701
2703
|
"claude-opus-5": "premium",
|
|
2702
2704
|
"claude-opus-4-8": "premium",
|
|
2703
2705
|
"claude-opus-4-7": "premium",
|
|
@@ -2705,6 +2707,9 @@ var gating_default = {
|
|
|
2705
2707
|
"gpt-5.6-sol": "opensource",
|
|
2706
2708
|
"gpt-5.6-terra": "premium",
|
|
2707
2709
|
"gpt-5.6-luna": "opensource",
|
|
2710
|
+
"gpt-6-astra": "premium",
|
|
2711
|
+
"gpt-6-sol": "premium",
|
|
2712
|
+
"gpt-6-luna": "opensource",
|
|
2708
2713
|
"gpt-5.5": "premium",
|
|
2709
2714
|
"gpt-5.4": "premium",
|
|
2710
2715
|
"gpt-5.3-codex": "premium",
|
|
@@ -2715,10 +2720,15 @@ var gating_default = {
|
|
|
2715
2720
|
"meta/muse-spark-1.1": "premium",
|
|
2716
2721
|
"meta/muse-spark-1.2": "opensource",
|
|
2717
2722
|
"meta/muse-spark-1.2-contributor": "opensource",
|
|
2723
|
+
"meta/muse-spark-1.3": "opensource",
|
|
2724
|
+
"meta/muse-spark-1.3-contributor": "opensource",
|
|
2718
2725
|
"xai/grok-4.5": "opensource",
|
|
2719
2726
|
"xai/grok-4.6": "opensource",
|
|
2727
|
+
"xai/grok-4.7": "opensource",
|
|
2720
2728
|
"google/gemini-3.7-flash": "opensource",
|
|
2729
|
+
"google/gemini-3.8-flash": "opensource",
|
|
2721
2730
|
"z-ai/glm-5.3-flash": "opensource",
|
|
2731
|
+
"z-ai/glm-5.3-flashx": "opensource",
|
|
2722
2732
|
"tencent/hy4-preview": "opensource",
|
|
2723
2733
|
"tencent/hy3-paid": "opensource",
|
|
2724
2734
|
"tencent/Hy3": "opensource",
|
|
@@ -2730,6 +2740,7 @@ var gating_default = {
|
|
|
2730
2740
|
"MiniMaxAI/MiniMax-M2.5": "opensource",
|
|
2731
2741
|
"deepseek/deepseek-v4-pro": "opensource",
|
|
2732
2742
|
"deepseek/deepseek-v4-flash": "opensource",
|
|
2743
|
+
"deepseek/deepseek-v4.1-flash": "opensource",
|
|
2733
2744
|
"moonshotai/Kimi-K3": "opensource",
|
|
2734
2745
|
"moonshotai/Kimi-K2.7-Code": "opensource",
|
|
2735
2746
|
"moonshotai/Kimi-K2.7-Code-Highspeed": "opensource",
|
|
@@ -2740,20 +2751,31 @@ var gating_default = {
|
|
|
2740
2751
|
"zai-org/GLM-5.2-Fast": "opensource",
|
|
2741
2752
|
"zai-org/GLM-5.1": "opensource",
|
|
2742
2753
|
"zai-org/GLM-5": "opensource",
|
|
2754
|
+
"xiaomi/mimo-v2.6-pro": "opensource",
|
|
2755
|
+
"xiaomi/mimo-v2.6-pro-ultraspeed": "opensource",
|
|
2756
|
+
"xiaomi/mimo-v2.6-flash": "opensource",
|
|
2743
2757
|
"xiaomi/mimo-v2.5-pro": "opensource",
|
|
2744
2758
|
"xiaomi/mimo-v2.5": "opensource",
|
|
2745
2759
|
"Qwen/Qwen3.6-Max-Preview": "opensource",
|
|
2746
2760
|
"Qwen/Qwen3.6-Plus": "opensource",
|
|
2747
2761
|
"Qwen/Qwen3.7-Max": "opensource",
|
|
2748
2762
|
"Qwen/Qwen3.7-Plus": "opensource",
|
|
2763
|
+
"Qwen/Qwen3.8-Omni-Flash": "opensource",
|
|
2764
|
+
"Qwen/Qwen3.8-Max-0902": "opensource",
|
|
2749
2765
|
"Qwen/Qwen3.8-Max": "opensource",
|
|
2750
2766
|
"Qwen/Qwen3.8-27B": "opensource",
|
|
2751
2767
|
"Qwen/Qwen3.8-Flash": "opensource",
|
|
2752
2768
|
"Qwen/Qwen3.7-Flash": "opensource",
|
|
2769
|
+
"meituan/LongCat-2.0": "opensource",
|
|
2770
|
+
"meituan/LongCat-2.0:free": "opensource",
|
|
2771
|
+
"inclusionai/ling-3.0-flash-sante:free": "opensource",
|
|
2772
|
+
"stepfun/Step-5-Preview": "opensource",
|
|
2753
2773
|
"stepfun/Step-3.7-Flash": "opensource",
|
|
2754
2774
|
"stepfun/Step-3.5-Flash": "opensource",
|
|
2755
2775
|
"nvidia/nemotron-3-ultra-550b-a55b": "opensource",
|
|
2756
|
-
"thinkingmachines/inkling": "opensource"
|
|
2776
|
+
"thinkingmachines/inkling": "opensource",
|
|
2777
|
+
"stealth/space-bunny-alpha": "opensource",
|
|
2778
|
+
"stealth/pixel-canary": "opensource"
|
|
2757
2779
|
},
|
|
2758
2780
|
plans: {
|
|
2759
2781
|
"individual-go": {
|
|
@@ -2762,8 +2784,12 @@ var gating_default = {
|
|
|
2762
2784
|
],
|
|
2763
2785
|
blockedModels: [
|
|
2764
2786
|
"vercel-ai-gateway:meta/muse-spark-1.2",
|
|
2787
|
+
"vercel-ai-gateway:meta/muse-spark-1.3",
|
|
2765
2788
|
"vercel-ai-gateway:xai/grok-4.6",
|
|
2789
|
+
"vercel-ai-gateway:xai/grok-4.7",
|
|
2790
|
+
"vercel-ai-gateway:xiaomi/mimo-v2.6-pro-ultraspeed",
|
|
2766
2791
|
"openrouter:google/gemini-3.7-flash",
|
|
2792
|
+
"vercel-ai-gateway:google/gemini-3.8-flash",
|
|
2767
2793
|
"vercel-ai-gateway:gpt-5.6-sol"
|
|
2768
2794
|
]
|
|
2769
2795
|
},
|
|
@@ -2779,12 +2805,15 @@ var gating_default = {
|
|
|
2779
2805
|
"opensource"
|
|
2780
2806
|
],
|
|
2781
2807
|
blockedModels: [
|
|
2808
|
+
"anthropic:claude-fable-5-1",
|
|
2782
2809
|
"anthropic:claude-fable-5",
|
|
2810
|
+
"anthropic:claude-opus-5-5",
|
|
2783
2811
|
"anthropic:claude-opus-5",
|
|
2784
2812
|
"anthropic:claude-opus-4-8",
|
|
2785
2813
|
"anthropic:claude-opus-4-7",
|
|
2786
2814
|
"anthropic:claude-opus-4-6",
|
|
2787
2815
|
"anthropic:claude-opus-4-5-20251101",
|
|
2816
|
+
"openai:gpt-6-astra",
|
|
2788
2817
|
"vercel-ai-gateway:sakana/fugu-ultra"
|
|
2789
2818
|
]
|
|
2790
2819
|
},
|
|
@@ -2794,12 +2823,15 @@ var gating_default = {
|
|
|
2794
2823
|
"opensource"
|
|
2795
2824
|
],
|
|
2796
2825
|
blockedModels: [
|
|
2826
|
+
"anthropic:claude-fable-5-1",
|
|
2797
2827
|
"anthropic:claude-fable-5",
|
|
2828
|
+
"anthropic:claude-opus-5-5",
|
|
2798
2829
|
"anthropic:claude-opus-5",
|
|
2799
2830
|
"anthropic:claude-opus-4-8",
|
|
2800
2831
|
"anthropic:claude-opus-4-7",
|
|
2801
2832
|
"anthropic:claude-opus-4-6",
|
|
2802
2833
|
"anthropic:claude-opus-4-5-20251101",
|
|
2834
|
+
"openai:gpt-6-astra",
|
|
2803
2835
|
"vercel-ai-gateway:sakana/fugu-ultra"
|
|
2804
2836
|
]
|
|
2805
2837
|
},
|
|
@@ -2834,11 +2866,16 @@ var gating_default = {
|
|
|
2834
2866
|
},
|
|
2835
2867
|
knownModels: [
|
|
2836
2868
|
"claude-sonnet-4-6",
|
|
2869
|
+
"claude-fable-5-1",
|
|
2837
2870
|
"claude-fable-5",
|
|
2871
|
+
"claude-opus-5-5",
|
|
2838
2872
|
"claude-opus-5",
|
|
2839
2873
|
"claude-opus-4-8",
|
|
2840
2874
|
"claude-opus-4-7",
|
|
2841
2875
|
"claude-haiku-4-5-20251001",
|
|
2876
|
+
"gpt-6-astra",
|
|
2877
|
+
"gpt-6-sol",
|
|
2878
|
+
"gpt-6-luna",
|
|
2842
2879
|
"gpt-5.6-sol",
|
|
2843
2880
|
"gpt-5.6-terra",
|
|
2844
2881
|
"gpt-5.6-luna",
|
|
@@ -2852,23 +2889,35 @@ var gating_default = {
|
|
|
2852
2889
|
"deepseek/deepseek-v4-pro",
|
|
2853
2890
|
"deepseek/deepseek-v4-flash",
|
|
2854
2891
|
"deepseek/deepseek-v4-flash-vision-exp",
|
|
2892
|
+
"deepseek/deepseek-v4-flash-fast",
|
|
2893
|
+
"deepseek/deepseek-v4.1-flash",
|
|
2855
2894
|
"moonshotai/Kimi-K2.7-Code",
|
|
2856
2895
|
"moonshotai/Kimi-K2.7-Code-Highspeed",
|
|
2857
2896
|
"moonshotai/Kimi-K2.6",
|
|
2858
2897
|
"moonshotai/Kimi-K2.5",
|
|
2859
2898
|
"zai-org/GLM-5.3",
|
|
2860
2899
|
"z-ai/glm-5.3-flash",
|
|
2900
|
+
"z-ai/glm-5.3-flashx",
|
|
2861
2901
|
"zai-org/GLM-5.2",
|
|
2862
2902
|
"zai-org/GLM-5.2-Fast",
|
|
2863
2903
|
"zai-org/GLM-5.1",
|
|
2864
2904
|
"zai-org/GLM-5",
|
|
2905
|
+
"minimax/minimax-m3-free",
|
|
2906
|
+
"minimax/minimax-m2.7-free",
|
|
2907
|
+
"xiaomi/mimo-v2.6-pro",
|
|
2908
|
+
"xiaomi/mimo-v2.6-pro-ultraspeed",
|
|
2909
|
+
"xiaomi/mimo-v2.6-flash",
|
|
2865
2910
|
"xiaomi/mimo-v2.5-pro",
|
|
2866
2911
|
"xiaomi/mimo-v2.5",
|
|
2912
|
+
"meituan/LongCat-2.0",
|
|
2913
|
+
"meituan/LongCat-2.0:free",
|
|
2914
|
+
"stepfun/Step-5-Preview",
|
|
2867
2915
|
"stepfun/Step-3.7-Flash",
|
|
2868
2916
|
"stepfun/Step-3.5-Flash",
|
|
2869
2917
|
"tencent/hy4-preview",
|
|
2870
2918
|
"tencent/hy3-paid",
|
|
2871
2919
|
"tencent/Hy3",
|
|
2920
|
+
"google/gemini-3.8-flash",
|
|
2872
2921
|
"google/gemini-3.7-flash",
|
|
2873
2922
|
"google/gemini-3.6-flash",
|
|
2874
2923
|
"google/gemini-3.5-flash",
|
|
@@ -2877,14 +2926,18 @@ var gating_default = {
|
|
|
2877
2926
|
"sakana/fugu-ultra",
|
|
2878
2927
|
"xai/grok-4.5",
|
|
2879
2928
|
"xai/grok-4.6",
|
|
2929
|
+
"xai/grok-4.7",
|
|
2880
2930
|
"meta/muse-spark-1.1",
|
|
2881
2931
|
"meta/muse-spark-1.2",
|
|
2882
2932
|
"meta/muse-spark-1.2-contributor",
|
|
2933
|
+
"meta/muse-spark-1.3",
|
|
2934
|
+
"meta/muse-spark-1.3-contributor",
|
|
2883
2935
|
"nvidia/nemotron-3-ultra-550b-a55b",
|
|
2884
2936
|
"poolside/laguna-s-2.1-free",
|
|
2885
2937
|
"inclusionai/ling-3.0-flash-free",
|
|
2886
|
-
"
|
|
2887
|
-
"
|
|
2938
|
+
"inclusionai/ling-3.0-flash-sante:free",
|
|
2939
|
+
"stealth/space-bunny-alpha",
|
|
2940
|
+
"stealth/pixel-canary",
|
|
2888
2941
|
"claude-sonnet-5",
|
|
2889
2942
|
"MiniMaxAI/MiniMax-M3-Free",
|
|
2890
2943
|
"MiniMaxAI/MiniMax-M3",
|
|
@@ -2894,6 +2947,8 @@ var gating_default = {
|
|
|
2894
2947
|
"Qwen/Qwen3.6-Plus",
|
|
2895
2948
|
"Qwen/Qwen3.7-Max",
|
|
2896
2949
|
"Qwen/Qwen3.7-Plus",
|
|
2950
|
+
"Qwen/Qwen3.8-Omni-Flash",
|
|
2951
|
+
"Qwen/Qwen3.8-Max-0902",
|
|
2897
2952
|
"Qwen/Qwen3.8-Max",
|
|
2898
2953
|
"Qwen/Qwen3.8-27B",
|
|
2899
2954
|
"Qwen/Qwen3.8-Flash",
|
|
@@ -3041,6 +3096,7 @@ async function loadModels(key) {
|
|
|
3041
3096
|
}
|
|
3042
3097
|
}
|
|
3043
3098
|
let plan = { planId: "", purchasedCredits: 0, freeCredits: 0 };
|
|
3099
|
+
let gated = true;
|
|
3044
3100
|
try {
|
|
3045
3101
|
const [sub, cr] = await Promise.all([subscriptions(key), credits(key)]);
|
|
3046
3102
|
plan = {
|
|
@@ -3048,10 +3104,12 @@ async function loadModels(key) {
|
|
|
3048
3104
|
purchasedCredits: cr.credits.purchasedCredits ?? 0,
|
|
3049
3105
|
freeCredits: cr.credits.freeCredits ?? 0
|
|
3050
3106
|
};
|
|
3051
|
-
} catch {
|
|
3107
|
+
} catch {
|
|
3108
|
+
gated = false;
|
|
3109
|
+
}
|
|
3052
3110
|
const allowed = models.filter((m) => evaluateModelAccess(m.id, plan).allowed);
|
|
3053
3111
|
const { claude, open } = splitModels(allowed);
|
|
3054
|
-
return { claude, open };
|
|
3112
|
+
return { claude, open, gated };
|
|
3055
3113
|
}
|
|
3056
3114
|
|
|
3057
3115
|
// src/provider/stream.ts
|
|
@@ -3940,6 +3998,7 @@ var commandCodeV2 = {
|
|
|
3940
3998
|
let refreshing = false;
|
|
3941
3999
|
let appliedClaude = cached?.claude ?? [];
|
|
3942
4000
|
let appliedOpen = cached?.open ?? [];
|
|
4001
|
+
let canTransform = false;
|
|
3943
4002
|
const logTimings = (refreshMs, modelCount) => void writeStartupLine(setupTimingLine({
|
|
3944
4003
|
key: keyMs,
|
|
3945
4004
|
register: registerMs,
|
|
@@ -3959,9 +4018,13 @@ var commandCodeV2 = {
|
|
|
3959
4018
|
const split = await loadModels(key);
|
|
3960
4019
|
if (controller.signal.aborted)
|
|
3961
4020
|
return;
|
|
3962
|
-
writeModelsCache({ fetchedAt: Date.now(), claude: split.claude, open: split.open });
|
|
3963
4021
|
const modelCount = split.claude.length + split.open.length;
|
|
3964
|
-
if (!
|
|
4022
|
+
if (!split.gated) {
|
|
4023
|
+
logTimings(Date.now() - refreshStart, modelCount);
|
|
4024
|
+
return;
|
|
4025
|
+
}
|
|
4026
|
+
writeModelsCache({ fetchedAt: Date.now(), claude: split.claude, open: split.open });
|
|
4027
|
+
if (!canTransform || !idsDiffer(split.claude, appliedClaude) && !idsDiffer(split.open, appliedOpen)) {
|
|
3965
4028
|
logTimings(Date.now() - refreshStart, modelCount);
|
|
3966
4029
|
return;
|
|
3967
4030
|
}
|
|
@@ -3976,6 +4039,7 @@ var commandCodeV2 = {
|
|
|
3976
4039
|
console.warn("[command-code] live model list unavailable, keeping the snapshot:", e);
|
|
3977
4040
|
} finally {
|
|
3978
4041
|
refreshing = false;
|
|
4042
|
+
canTransform = true;
|
|
3979
4043
|
}
|
|
3980
4044
|
};
|
|
3981
4045
|
const firstRefresh = setTimeout(() => void refresh(), 3000);
|
|
@@ -3990,7 +4054,7 @@ var commandCodeV2 = {
|
|
|
3990
4054
|
// package.json
|
|
3991
4055
|
var package_default = {
|
|
3992
4056
|
name: "@jeffreyjyz/opencode-command-code",
|
|
3993
|
-
version: "0.3.
|
|
4057
|
+
version: "0.3.5",
|
|
3994
4058
|
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.",
|
|
3995
4059
|
type: "module",
|
|
3996
4060
|
main: "dist/index.js",
|
package/dist/models.d.ts
CHANGED
|
@@ -6,6 +6,10 @@ export type CmdModel = {
|
|
|
6
6
|
export type ModelSplit = {
|
|
7
7
|
claude: CmdModel[];
|
|
8
8
|
open: CmdModel[];
|
|
9
|
+
/** True when the billing lookup succeeded and the plan gate really ran. A
|
|
10
|
+
* false here means "show everything", which is the API-enforced fallback —
|
|
11
|
+
* callers must not treat that as a new model list. */
|
|
12
|
+
gated: boolean;
|
|
9
13
|
};
|
|
10
14
|
export declare function isClaude(id: string): boolean;
|
|
11
15
|
export declare function splitModels(models: CmdModel[]): {
|
package/dist/tui.js
CHANGED
|
@@ -129,12 +129,14 @@ import { homedir } from "os";
|
|
|
129
129
|
import { dirname, join } from "path";
|
|
130
130
|
// ../core/gating.json
|
|
131
131
|
var gating_default = {
|
|
132
|
-
extractedAt: "2026-09-
|
|
133
|
-
cliVersion: "1.
|
|
132
|
+
extractedAt: "2026-09-27T06:27:06.878Z",
|
|
133
|
+
cliVersion: "1.66.0",
|
|
134
134
|
categories: {
|
|
135
135
|
"claude-sonnet-5": "premium",
|
|
136
136
|
"claude-sonnet-4-6": "premium",
|
|
137
|
+
"claude-fable-5-1": "premium",
|
|
137
138
|
"claude-fable-5": "premium",
|
|
139
|
+
"claude-opus-5-5": "premium",
|
|
138
140
|
"claude-opus-5": "premium",
|
|
139
141
|
"claude-opus-4-8": "premium",
|
|
140
142
|
"claude-opus-4-7": "premium",
|
|
@@ -142,6 +144,9 @@ var gating_default = {
|
|
|
142
144
|
"gpt-5.6-sol": "opensource",
|
|
143
145
|
"gpt-5.6-terra": "premium",
|
|
144
146
|
"gpt-5.6-luna": "opensource",
|
|
147
|
+
"gpt-6-astra": "premium",
|
|
148
|
+
"gpt-6-sol": "premium",
|
|
149
|
+
"gpt-6-luna": "opensource",
|
|
145
150
|
"gpt-5.5": "premium",
|
|
146
151
|
"gpt-5.4": "premium",
|
|
147
152
|
"gpt-5.3-codex": "premium",
|
|
@@ -152,10 +157,15 @@ var gating_default = {
|
|
|
152
157
|
"meta/muse-spark-1.1": "premium",
|
|
153
158
|
"meta/muse-spark-1.2": "opensource",
|
|
154
159
|
"meta/muse-spark-1.2-contributor": "opensource",
|
|
160
|
+
"meta/muse-spark-1.3": "opensource",
|
|
161
|
+
"meta/muse-spark-1.3-contributor": "opensource",
|
|
155
162
|
"xai/grok-4.5": "opensource",
|
|
156
163
|
"xai/grok-4.6": "opensource",
|
|
164
|
+
"xai/grok-4.7": "opensource",
|
|
157
165
|
"google/gemini-3.7-flash": "opensource",
|
|
166
|
+
"google/gemini-3.8-flash": "opensource",
|
|
158
167
|
"z-ai/glm-5.3-flash": "opensource",
|
|
168
|
+
"z-ai/glm-5.3-flashx": "opensource",
|
|
159
169
|
"tencent/hy4-preview": "opensource",
|
|
160
170
|
"tencent/hy3-paid": "opensource",
|
|
161
171
|
"tencent/Hy3": "opensource",
|
|
@@ -167,6 +177,7 @@ var gating_default = {
|
|
|
167
177
|
"MiniMaxAI/MiniMax-M2.5": "opensource",
|
|
168
178
|
"deepseek/deepseek-v4-pro": "opensource",
|
|
169
179
|
"deepseek/deepseek-v4-flash": "opensource",
|
|
180
|
+
"deepseek/deepseek-v4.1-flash": "opensource",
|
|
170
181
|
"moonshotai/Kimi-K3": "opensource",
|
|
171
182
|
"moonshotai/Kimi-K2.7-Code": "opensource",
|
|
172
183
|
"moonshotai/Kimi-K2.7-Code-Highspeed": "opensource",
|
|
@@ -177,20 +188,31 @@ var gating_default = {
|
|
|
177
188
|
"zai-org/GLM-5.2-Fast": "opensource",
|
|
178
189
|
"zai-org/GLM-5.1": "opensource",
|
|
179
190
|
"zai-org/GLM-5": "opensource",
|
|
191
|
+
"xiaomi/mimo-v2.6-pro": "opensource",
|
|
192
|
+
"xiaomi/mimo-v2.6-pro-ultraspeed": "opensource",
|
|
193
|
+
"xiaomi/mimo-v2.6-flash": "opensource",
|
|
180
194
|
"xiaomi/mimo-v2.5-pro": "opensource",
|
|
181
195
|
"xiaomi/mimo-v2.5": "opensource",
|
|
182
196
|
"Qwen/Qwen3.6-Max-Preview": "opensource",
|
|
183
197
|
"Qwen/Qwen3.6-Plus": "opensource",
|
|
184
198
|
"Qwen/Qwen3.7-Max": "opensource",
|
|
185
199
|
"Qwen/Qwen3.7-Plus": "opensource",
|
|
200
|
+
"Qwen/Qwen3.8-Omni-Flash": "opensource",
|
|
201
|
+
"Qwen/Qwen3.8-Max-0902": "opensource",
|
|
186
202
|
"Qwen/Qwen3.8-Max": "opensource",
|
|
187
203
|
"Qwen/Qwen3.8-27B": "opensource",
|
|
188
204
|
"Qwen/Qwen3.8-Flash": "opensource",
|
|
189
205
|
"Qwen/Qwen3.7-Flash": "opensource",
|
|
206
|
+
"meituan/LongCat-2.0": "opensource",
|
|
207
|
+
"meituan/LongCat-2.0:free": "opensource",
|
|
208
|
+
"inclusionai/ling-3.0-flash-sante:free": "opensource",
|
|
209
|
+
"stepfun/Step-5-Preview": "opensource",
|
|
190
210
|
"stepfun/Step-3.7-Flash": "opensource",
|
|
191
211
|
"stepfun/Step-3.5-Flash": "opensource",
|
|
192
212
|
"nvidia/nemotron-3-ultra-550b-a55b": "opensource",
|
|
193
|
-
"thinkingmachines/inkling": "opensource"
|
|
213
|
+
"thinkingmachines/inkling": "opensource",
|
|
214
|
+
"stealth/space-bunny-alpha": "opensource",
|
|
215
|
+
"stealth/pixel-canary": "opensource"
|
|
194
216
|
},
|
|
195
217
|
plans: {
|
|
196
218
|
"individual-go": {
|
|
@@ -199,8 +221,12 @@ var gating_default = {
|
|
|
199
221
|
],
|
|
200
222
|
blockedModels: [
|
|
201
223
|
"vercel-ai-gateway:meta/muse-spark-1.2",
|
|
224
|
+
"vercel-ai-gateway:meta/muse-spark-1.3",
|
|
202
225
|
"vercel-ai-gateway:xai/grok-4.6",
|
|
226
|
+
"vercel-ai-gateway:xai/grok-4.7",
|
|
227
|
+
"vercel-ai-gateway:xiaomi/mimo-v2.6-pro-ultraspeed",
|
|
203
228
|
"openrouter:google/gemini-3.7-flash",
|
|
229
|
+
"vercel-ai-gateway:google/gemini-3.8-flash",
|
|
204
230
|
"vercel-ai-gateway:gpt-5.6-sol"
|
|
205
231
|
]
|
|
206
232
|
},
|
|
@@ -216,12 +242,15 @@ var gating_default = {
|
|
|
216
242
|
"opensource"
|
|
217
243
|
],
|
|
218
244
|
blockedModels: [
|
|
245
|
+
"anthropic:claude-fable-5-1",
|
|
219
246
|
"anthropic:claude-fable-5",
|
|
247
|
+
"anthropic:claude-opus-5-5",
|
|
220
248
|
"anthropic:claude-opus-5",
|
|
221
249
|
"anthropic:claude-opus-4-8",
|
|
222
250
|
"anthropic:claude-opus-4-7",
|
|
223
251
|
"anthropic:claude-opus-4-6",
|
|
224
252
|
"anthropic:claude-opus-4-5-20251101",
|
|
253
|
+
"openai:gpt-6-astra",
|
|
225
254
|
"vercel-ai-gateway:sakana/fugu-ultra"
|
|
226
255
|
]
|
|
227
256
|
},
|
|
@@ -231,12 +260,15 @@ var gating_default = {
|
|
|
231
260
|
"opensource"
|
|
232
261
|
],
|
|
233
262
|
blockedModels: [
|
|
263
|
+
"anthropic:claude-fable-5-1",
|
|
234
264
|
"anthropic:claude-fable-5",
|
|
265
|
+
"anthropic:claude-opus-5-5",
|
|
235
266
|
"anthropic:claude-opus-5",
|
|
236
267
|
"anthropic:claude-opus-4-8",
|
|
237
268
|
"anthropic:claude-opus-4-7",
|
|
238
269
|
"anthropic:claude-opus-4-6",
|
|
239
270
|
"anthropic:claude-opus-4-5-20251101",
|
|
271
|
+
"openai:gpt-6-astra",
|
|
240
272
|
"vercel-ai-gateway:sakana/fugu-ultra"
|
|
241
273
|
]
|
|
242
274
|
},
|
|
@@ -271,11 +303,16 @@ var gating_default = {
|
|
|
271
303
|
},
|
|
272
304
|
knownModels: [
|
|
273
305
|
"claude-sonnet-4-6",
|
|
306
|
+
"claude-fable-5-1",
|
|
274
307
|
"claude-fable-5",
|
|
308
|
+
"claude-opus-5-5",
|
|
275
309
|
"claude-opus-5",
|
|
276
310
|
"claude-opus-4-8",
|
|
277
311
|
"claude-opus-4-7",
|
|
278
312
|
"claude-haiku-4-5-20251001",
|
|
313
|
+
"gpt-6-astra",
|
|
314
|
+
"gpt-6-sol",
|
|
315
|
+
"gpt-6-luna",
|
|
279
316
|
"gpt-5.6-sol",
|
|
280
317
|
"gpt-5.6-terra",
|
|
281
318
|
"gpt-5.6-luna",
|
|
@@ -289,23 +326,35 @@ var gating_default = {
|
|
|
289
326
|
"deepseek/deepseek-v4-pro",
|
|
290
327
|
"deepseek/deepseek-v4-flash",
|
|
291
328
|
"deepseek/deepseek-v4-flash-vision-exp",
|
|
329
|
+
"deepseek/deepseek-v4-flash-fast",
|
|
330
|
+
"deepseek/deepseek-v4.1-flash",
|
|
292
331
|
"moonshotai/Kimi-K2.7-Code",
|
|
293
332
|
"moonshotai/Kimi-K2.7-Code-Highspeed",
|
|
294
333
|
"moonshotai/Kimi-K2.6",
|
|
295
334
|
"moonshotai/Kimi-K2.5",
|
|
296
335
|
"zai-org/GLM-5.3",
|
|
297
336
|
"z-ai/glm-5.3-flash",
|
|
337
|
+
"z-ai/glm-5.3-flashx",
|
|
298
338
|
"zai-org/GLM-5.2",
|
|
299
339
|
"zai-org/GLM-5.2-Fast",
|
|
300
340
|
"zai-org/GLM-5.1",
|
|
301
341
|
"zai-org/GLM-5",
|
|
342
|
+
"minimax/minimax-m3-free",
|
|
343
|
+
"minimax/minimax-m2.7-free",
|
|
344
|
+
"xiaomi/mimo-v2.6-pro",
|
|
345
|
+
"xiaomi/mimo-v2.6-pro-ultraspeed",
|
|
346
|
+
"xiaomi/mimo-v2.6-flash",
|
|
302
347
|
"xiaomi/mimo-v2.5-pro",
|
|
303
348
|
"xiaomi/mimo-v2.5",
|
|
349
|
+
"meituan/LongCat-2.0",
|
|
350
|
+
"meituan/LongCat-2.0:free",
|
|
351
|
+
"stepfun/Step-5-Preview",
|
|
304
352
|
"stepfun/Step-3.7-Flash",
|
|
305
353
|
"stepfun/Step-3.5-Flash",
|
|
306
354
|
"tencent/hy4-preview",
|
|
307
355
|
"tencent/hy3-paid",
|
|
308
356
|
"tencent/Hy3",
|
|
357
|
+
"google/gemini-3.8-flash",
|
|
309
358
|
"google/gemini-3.7-flash",
|
|
310
359
|
"google/gemini-3.6-flash",
|
|
311
360
|
"google/gemini-3.5-flash",
|
|
@@ -314,14 +363,18 @@ var gating_default = {
|
|
|
314
363
|
"sakana/fugu-ultra",
|
|
315
364
|
"xai/grok-4.5",
|
|
316
365
|
"xai/grok-4.6",
|
|
366
|
+
"xai/grok-4.7",
|
|
317
367
|
"meta/muse-spark-1.1",
|
|
318
368
|
"meta/muse-spark-1.2",
|
|
319
369
|
"meta/muse-spark-1.2-contributor",
|
|
370
|
+
"meta/muse-spark-1.3",
|
|
371
|
+
"meta/muse-spark-1.3-contributor",
|
|
320
372
|
"nvidia/nemotron-3-ultra-550b-a55b",
|
|
321
373
|
"poolside/laguna-s-2.1-free",
|
|
322
374
|
"inclusionai/ling-3.0-flash-free",
|
|
323
|
-
"
|
|
324
|
-
"
|
|
375
|
+
"inclusionai/ling-3.0-flash-sante:free",
|
|
376
|
+
"stealth/space-bunny-alpha",
|
|
377
|
+
"stealth/pixel-canary",
|
|
325
378
|
"claude-sonnet-5",
|
|
326
379
|
"MiniMaxAI/MiniMax-M3-Free",
|
|
327
380
|
"MiniMaxAI/MiniMax-M3",
|
|
@@ -331,6 +384,8 @@ var gating_default = {
|
|
|
331
384
|
"Qwen/Qwen3.6-Plus",
|
|
332
385
|
"Qwen/Qwen3.7-Max",
|
|
333
386
|
"Qwen/Qwen3.7-Plus",
|
|
387
|
+
"Qwen/Qwen3.8-Omni-Flash",
|
|
388
|
+
"Qwen/Qwen3.8-Max-0902",
|
|
334
389
|
"Qwen/Qwen3.8-Max",
|
|
335
390
|
"Qwen/Qwen3.8-27B",
|
|
336
391
|
"Qwen/Qwen3.8-Flash",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jeffreyjyz/opencode-command-code",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
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",
|