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
18 lines
672 B
TypeScript
18 lines
672 B
TypeScript
/**
|
|
* Sanitize session ID to prevent path traversal attacks.
|
|
* Returns null if the session ID is invalid.
|
|
* @internal Exported for testing
|
|
*/
|
|
export declare function sanitizeSessionIdForFilename(sessionId: string): string | null;
|
|
/**
|
|
* Write an audit log entry for a denied command.
|
|
* Logs are written to ~/.cc-safety-net/logs/<session_id>.jsonl
|
|
*/
|
|
export declare function writeAuditLog(sessionId: string, command: string, segment: string, reason: string, cwd: string | null, options?: {
|
|
homeDir?: string;
|
|
}): void;
|
|
/**
|
|
* Redact secrets from text to avoid leaking sensitive information in logs.
|
|
*/
|
|
export declare function redactSecrets(text: string): string;
|