Add OpenCode CLI

This commit is contained in:
decolua 2026-03-03 10:10:03 +07:00
parent bfd9614fa2
commit 03fc685f72
12 changed files with 496 additions and 22 deletions

View file

@ -22,6 +22,14 @@ export const CLI_TOOLS = {
{ id: "haiku", name: "Claude Haiku", alias: "haiku", envKey: "ANTHROPIC_DEFAULT_HAIKU_MODEL", defaultValue: "cc/claude-haiku-4-5-20251001" },
],
},
openclaw: {
id: "openclaw",
name: "Open Claw",
image: "/providers/openclaw.png",
color: "#FF6B35",
description: "Open Claw AI Assistant",
configType: "custom",
},
codex: {
id: "codex",
name: "OpenAI Codex CLI",
@ -30,6 +38,14 @@ export const CLI_TOOLS = {
description: "OpenAI Codex CLI",
configType: "custom",
},
opencode: {
id: "opencode",
name: "OpenCode",
image: "/providers/opencode.png",
color: "#E87040",
description: "OpenCode AI Terminal Assistant",
configType: "custom",
},
antigravity: {
id: "antigravity",
name: "Antigravity",
@ -55,14 +71,6 @@ export const CLI_TOOLS = {
description: "Factory Droid AI Assistant",
configType: "custom",
},
openclaw: {
id: "openclaw",
name: "Open Claw",
image: "/providers/openclaw.png",
color: "#FF6B35",
description: "Open Claw AI Assistant",
configType: "custom",
},
cursor: {
id: "cursor",
name: "Cursor",
@ -70,10 +78,10 @@ export const CLI_TOOLS = {
color: "#000000",
description: "Cursor AI Code Editor",
configType: "guide",
requiresCloud: true,
requiresExternalUrl: true,
notes: [
{ type: "warning", text: "Requires Cursor Pro account to use this feature." },
{ type: "cloudCheck", text: "Cursor routes requests through its own server, so local endpoint is not supported. Please enable Cloud Endpoint in Settings." },
{ type: "cloudCheck", text: "Cursor routes requests through its own server, so local endpoint is not supported. Please enable Tunnel or Cloud Endpoint in Settings." },
],
guideSteps: [
{ step: 1, title: "Open Settings", desc: "Go to Settings → Models" },