Features: - 30+ Custom Skills (cognitive, development, UI/UX, autonomous agents) - RalphLoop autonomous agent integration - Multi-AI consultation (Qwen) - Agent management system with sync capabilities - Custom hooks for session management - MCP servers integration - Plugin marketplace setup - Comprehensive installation script Components: - Skills: always-use-superpowers, ralph, brainstorming, ui-ux-pro-max, etc. - Agents: 100+ agents across engineering, marketing, product, etc. - Hooks: session-start-superpowers, qwen-consult, ralph-auto-trigger - Commands: /brainstorm, /write-plan, /execute-plan - MCP Servers: zai-mcp-server, web-search-prime, web-reader, zread - Binaries: ralphloop wrapper Installation: ./supercharge.sh
30 lines
921 B
JavaScript
30 lines
921 B
JavaScript
import { dim } from '../colors.js';
|
|
export function renderEnvironmentLine(ctx) {
|
|
const display = ctx.config?.display;
|
|
if (display?.showConfigCounts === false) {
|
|
return null;
|
|
}
|
|
const totalCounts = ctx.claudeMdCount + ctx.rulesCount + ctx.mcpCount + ctx.hooksCount;
|
|
const threshold = display?.environmentThreshold ?? 0;
|
|
if (totalCounts === 0 || totalCounts < threshold) {
|
|
return null;
|
|
}
|
|
const parts = [];
|
|
if (ctx.claudeMdCount > 0) {
|
|
parts.push(`${ctx.claudeMdCount} CLAUDE.md`);
|
|
}
|
|
if (ctx.rulesCount > 0) {
|
|
parts.push(`${ctx.rulesCount} rules`);
|
|
}
|
|
if (ctx.mcpCount > 0) {
|
|
parts.push(`${ctx.mcpCount} MCPs`);
|
|
}
|
|
if (ctx.hooksCount > 0) {
|
|
parts.push(`${ctx.hooksCount} hooks`);
|
|
}
|
|
if (parts.length === 0) {
|
|
return null;
|
|
}
|
|
return dim(parts.join(' | '));
|
|
}
|
|
//# sourceMappingURL=environment.js.map
|