feat(cli-tools): update CLI tools and add new models
- Add Droid and OpenClaw tool cards to CLI tools - Enhance ClaudeToolCard and CodexToolCard to display current base URLs
This commit is contained in:
@@ -30,6 +30,22 @@ export const CLI_TOOLS = {
|
||||
description: "OpenAI Codex CLI",
|
||||
configType: "custom",
|
||||
},
|
||||
droid: {
|
||||
id: "droid",
|
||||
name: "Factory Droid",
|
||||
image: "/providers/droid.png",
|
||||
color: "#00D4FF",
|
||||
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",
|
||||
|
||||
@@ -2,6 +2,14 @@
|
||||
export { cn } from "./cn";
|
||||
export * as api from "./api";
|
||||
|
||||
import { v4 as uuidv4 } from "uuid";
|
||||
|
||||
/**
|
||||
* Generate unique ID (UUID v4)
|
||||
* @returns {string} UUID v4 string
|
||||
*/
|
||||
export const generateId = uuidv4;
|
||||
|
||||
/**
|
||||
* Extract error code from error message (401, 429, 503...)
|
||||
* @param {string} lastError - Error message
|
||||
|
||||
Reference in New Issue
Block a user