Central registry defining supported AI runtimes, their labels, icons, colors, and resolution helpers. Reuse when adding or displaying runtime metadata consistently across UI surfaces.
// Source: https://github.com/WillNigri/Agentic-Tool-Optimization | License: MIT | Copyright 2026 ClaudeScope Contributors // Provided via justclaw.it.com; keep this notice with the code. // Single source of truth for every runtime the desktop knows about. // // Before this module: RUNTIME_COLORS was declared in 10 different // component files (drift waiting to happen — adding MiniMax meant // hand-editing 10 places); AgentRuntime was typed as // "claude" | "codex" | "openclaw" | "hermes" but the codebase // actively dispatches to gemini / minimax / grok / deepseek / qwen // / openrouter too; PromptBar's RUNTIME_OPTIONS picker only listed // the four CLI runtimes and never gained the API providers. // // One import. One canonical map. Adding a new runtime now means // one entry here + (if ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key