You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by as...@apache.org on 2026/09/07 01:00:52 UTC
(maka) branch feat/providers-commandcode-goat created (now 7b57847812)
This is an automated email from the ASF dual-hosted git repository.
Astro-Han pushed a change to branch feat/providers-commandcode-goat
in repository https://gitbox.apache.org/repos/asf/maka.git
at 7b57847812 feat(desktop): add Command Code catalog copy
This branch includes the following new commits:
new 6774af4cc0 feat(core): register Command Code provider with GOAT baseline
new 7b57847812 feat(desktop): add Command Code catalog copy
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org
(maka) 02/02: feat(desktop): add Command Code catalog copy
Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
Astro-Han pushed a commit to branch feat/providers-commandcode-goat
in repository https://gitbox.apache.org/repos/asf/maka.git
commit 7b57847812c8fcf61c8fcf6c66c35dd085f32ce0
Author: AstroHan <le...@outlook.com>
AuthorDate: Mon Sep 7 08:59:05 2026 +0800
feat(desktop): add Command Code catalog copy
Bilingual (zh-CN/zh-TW/en) catalog card for the new Command Code
provider. The compile-time Record<ProviderType, ...> in
provider-display-copy.ts requires an entry for every registered provider,
so this ships with the registry change.
Generated-by: Maka
---
apps/desktop/src/renderer/settings/provider-display-copy.ts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/apps/desktop/src/renderer/settings/provider-display-copy.ts b/apps/desktop/src/renderer/settings/provider-display-copy.ts
index 14de01deda..7bc9a96ee2 100644
--- a/apps/desktop/src/renderer/settings/provider-display-copy.ts
+++ b/apps/desktop/src/renderer/settings/provider-display-copy.ts
@@ -294,6 +294,11 @@ export const PROVIDER_DISPLAY_COPY = {
'zh-TW': { name: 'OpenCode Free', description: '免費匿名 OpenCode Zen 模型,無需金鑰,按 IP 限速', badge: 'Free' },
en: { name: 'OpenCode Free', description: 'Free anonymous OpenCode Zen models — no API key, IP-limited.', badge: 'Free' },
},
+ commandcode: {
+ 'zh-CN': { name: 'Command Code', description: 'GOAT 套餐 · OpenAI 兼容', badge: 'Coding' },
+ 'zh-TW': { name: 'Command Code', description: 'GOAT 套餐 · OpenAI 相容', badge: 'Coding' },
+ en: { name: 'Command Code', description: 'Command Code GOAT plan · OpenAI-compatible.', badge: 'Coding' },
+ },
groq: {
'zh-CN': { name: 'Groq', description: 'LPU 高速推理托管开源模型', badge: 'API' },
'zh-TW': { name: 'Groq', description: 'LPU 高速推理託管開源模型', badge: 'API' },
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org
(maka) 01/02: feat(core): register Command Code provider with GOAT baseline
Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
Astro-Han pushed a commit to branch feat/providers-commandcode-goat
in repository https://gitbox.apache.org/repos/asf/maka.git
commit 6774af4cc06ba2ddefe7d7b5c14cdd6acd20ab4a
Author: AstroHan <le...@outlook.com>
AuthorDate: Mon Sep 7 08:59:05 2026 +0800
feat(core): register Command Code provider with GOAT baseline
Command Code (commandcode.ai) exposes every plan model through an
OpenAI-compatible provider API at https://api.commandcode.ai/provider/v1
auth'd with a bearer API key from Studio. GOAT and above include API
access; models list is served at /provider/v1/models, which this entry
uses as its discovery path once a key is saved.
Command Code is not on models.dev, so the shipped GOAT catalog from
commandcode.ai/models is the offline baseline. The runtime adapter is the
standard openai-compatible 'provider' profile (chat-completions wire),
same shape as zenmux/opencode; no per-model overrides or migration
impact — stored connections are unaffected.
Generated-by: Maka
---
packages/core/src/provider-registry.ts | 69 ++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/packages/core/src/provider-registry.ts b/packages/core/src/provider-registry.ts
index 0b9ae9897a..4cef0c0b5d 100644
--- a/packages/core/src/provider-registry.ts
+++ b/packages/core/src/provider-registry.ts
@@ -306,6 +306,62 @@ const zenmuxOpenAICompatibleMetadata = Object.fromEntries(
const zenmuxModelIds = toolCallingModelIds('ZenMux', zenmuxOpenAICompatibleMetadata, [
'moonshotai/kimi-k2.5',
]).filter((id) => GENERATED_MODELS_DEV_METADATA.zenmux[id]?.lifecycle !== 'deprecated');
+/**
+ * Command Code GOAT plan baseline, transcribed from the GOAT catalog on
+ * commandcode.ai/models. Command Code is not on models.dev, so this shipped
+ * list is the offline offer; the remote /provider/v1/models response becomes
+ * authoritative as soon as the user saves a plan credential.
+ */
+const commandcodeModelIds = [
+ 'deepseek-v4-flash',
+ 'deepseek-v4-flash-fast',
+ 'deepseek-v4-flash-vision-exp',
+ 'deepseek-v4-pro',
+ 'glm-5-3',
+ 'glm-5-3-flash',
+ 'glm-5-2',
+ 'glm-5-2-fast',
+ 'glm-5-1',
+ 'glm-5',
+ 'qwen3-8-max',
+ 'qwen3-8-max-0902',
+ 'qwen3-8-flash',
+ 'qwen3-8-27b',
+ 'qwen3-7-max',
+ 'qwen3-7-plus',
+ 'qwen3-7-flash',
+ 'qwen3-6-max-preview',
+ 'qwen3-6-plus',
+ 'kimi-k3',
+ 'kimi-k2-7-code',
+ 'kimi-k2-7-code-highspeed',
+ 'kimi-k2-6',
+ 'kimi-k2-5',
+ 'minimax-m3',
+ 'minimax-m2-7',
+ 'minimax-m2-5',
+ 'mimo-v2-5',
+ 'mimo-v2-5-pro',
+ 'gpt-5-6-sol',
+ 'gpt-5-6-luna',
+ 'grok-4-6',
+ 'grok-4-5',
+ 'gemini-3-8-flash',
+ 'gemini-3-7-flash',
+ 'step-3-7-flash',
+ 'step-3-5-flash',
+ 'tencent-hy3',
+ 'hy4-preview',
+ 'nemotron-3-ultra-550b-a55b',
+ 'inkling',
+ 'inkling-small',
+ 'muse-spark-1-3',
+ 'muse-spark-1-3-contributor',
+ 'muse-spark-1-2',
+ 'muse-spark-1-2-contributor',
+ 'longcat-2-0-free',
+ 'laguna-s-2-1-free',
+] as const;
const fireworks = GENERATED_MODELS_DEV_PROVIDER_FACTS['fireworks-ai'];
if (fireworks.id !== 'fireworks-ai') {
throw new Error('models.dev Fireworks AI provider facts are missing stable id fireworks-ai');
@@ -1464,6 +1520,19 @@ const providerRegistry = {
signupUrl: 'https://modelstudio.console.alibabacloud.com/',
catalogOrder: 41.4,
},
+ commandcode: {
+ label: 'Command Code',
+ baseUrl: 'https://api.commandcode.ai/provider/v1',
+ authKind: 'api_key',
+ fallbackModels: [...commandcodeModelIds],
+ status: 'ready',
+ runtimeAdapter: { kind: 'openai-compatible', name: 'provider' },
+ modelDiscovery: { kind: 'protocol' },
+ category: 'overseas',
+ catalogGroup: 'plans',
+ signupUrl: 'https://commandcode.ai/docs/plans/goat',
+ catalogOrder: 41.5,
+ },
'cloudflare-workers-ai': {
label: cloudflareWorkersAi.name,
baseUrl: '',
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org