From 01dbe2a8bfcb3b265995f01f905b218d5f576f7b Mon Sep 17 00:00:00 2001 From: Haileyesus <118998054+blackmammoth@users.noreply.github.com> Date: Mon, 8 Jun 2026 15:55:40 +0300 Subject: [PATCH] chore: add prism plugin --- server/utils/plugin-loader.js | 3 ++- src/components/plugins/view/PluginSettingsTab.tsx | 9 +++++++++ src/i18n/locales/en/settings.json | 6 ++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/server/utils/plugin-loader.js b/server/utils/plugin-loader.js index 9d91068f..b73e0391 100644 --- a/server/utils/plugin-loader.js +++ b/server/utils/plugin-loader.js @@ -1,7 +1,8 @@ import fs from 'fs'; import path from 'path'; import os from 'os'; -import { spawn } from 'child_process'; + +import { spawn } from 'cross-spawn'; const PLUGINS_DIR = path.join(os.homedir(), '.claude-code-ui', 'plugins'); const PLUGINS_CONFIG_PATH = path.join(os.homedir(), '.claude-code-ui', 'plugins.json'); diff --git a/src/components/plugins/view/PluginSettingsTab.tsx b/src/components/plugins/view/PluginSettingsTab.tsx index 72de671b..b3b5ac8d 100644 --- a/src/components/plugins/view/PluginSettingsTab.tsx +++ b/src/components/plugins/view/PluginSettingsTab.tsx @@ -26,6 +26,7 @@ const STARTER_PLUGIN_URL = 'https://github.com/cloudcli-ai/cloudcli-plugin-start const TERMINAL_PLUGIN_URL = 'https://github.com/cloudcli-ai/cloudcli-plugin-terminal'; const SCHEDULED_PROMPT_PLUGIN_URL = 'https://github.com/grostim/cloudcli-cron'; const CLAUDE_WATCH_PLUGIN_URL = 'https://github.com/satsuki19980613/cloudcli-claude-watch'; +const PRISM_CLOUDCLI = 'https://github.com/jakeefr/cloudcli-plugin-prism'; type PluginRecommendation = { id: string; @@ -72,6 +73,14 @@ const UNOFFICIAL_PLUGIN_RECOMMENDATIONS: PluginRecommendation[] = [ icon: Clock, source: 'unofficial', }, + { + id: 'prism-cloudcli', + translationKey: 'prismCloudCLI', + repoUrl: PRISM_CLOUDCLI, + installedNames: ['prism-cloudcli'], + icon: Activity, + source: 'unofficial' + } ]; function repoSlug(repoUrl: string) { diff --git a/src/i18n/locales/en/settings.json b/src/i18n/locales/en/settings.json index b80d17d2..6b550530 100644 --- a/src/i18n/locales/en/settings.json +++ b/src/i18n/locales/en/settings.json @@ -502,6 +502,12 @@ "description": "Watch long-running Claude Code sessions for hangs and expose process controls.", "install": "Install" }, + "prismCloudCLI": { + "name": "PRISM CloudCLI", + "badge": "unofficial", + "description": "Session intelligence for Claude Code, inside CloudCLI. See why your sessions are burning tokens without leaving the browser.", + "install": "Install" + }, "morePlugins": "More", "enable": "Enable", "disable": "Disable",