mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-08 13:52:16 +00:00
feat(dashboard): add support for Goose, Gemini, and Antigravity platforms
- Update `src/utils.mjs` to detect `gemini` and `antigravity` platforms via environment variables. - Update `dashboard/styles.css` with new color utilities for purple and pink themes. - Update `dashboard/app.js` to map Goose, Gemini, and Antigravity platforms to distinct badge colors. - Update `test/utils.test.mjs` to include unit tests for the new platform detection logic. This ensures all active agent platforms are correctly identified and labeled in the TORCH dashboard. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
b956f9f7f6
commit
abb4cc4361
4 files changed
+53
No files matched your search
@@ -35,6 +35,8 @@ export function detectPlatform() {
|
||||
if (process.env.CODEX_API_KEY || process.env.CODEX_SESSION_ID) return 'codex';
|
||||
if (process.env.GOOSE_API_KEY || process.env.GOOSE_SESSION_ID) return 'goose';
|
||||
if (process.env.CLAUDE_API_KEY || process.env.ANTHROPIC_API_KEY || process.env.CLAUDE_SESSION_ID) return 'claude';
|
||||
if (process.env.GEMINI_API_KEY || process.env.GOOGLE_API_KEY) return 'gemini';
|
||||
if (process.env.ANTIGRAVITY_API_KEY || process.env.ANTIGRAVITY_SESSION_ID) return 'antigravity';
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user