mirror of
https://github.com/andy-stack/vaultkeeper-ai.git
synced 2026-07-22 06:42:03 +00:00
- Remove unused agentExecutionDefinitions and gatedDefinitions methods - Delete obsolete CreatePlan.ts (replaced by ExecuteWorkflow.ts) - Rename PlanningAgentSystemPrompt to PlanningPrompt for consistency - Fix orchestration agent promise returns and replan flag handling - Make saveConversation calls async throughout AIController - Simplify vault cache delete event handling - Change debug logging from console.log to console.debug - Fix function name references in execution and main agents
15 lines
No EOL
376 B
TypeScript
15 lines
No EOL
376 B
TypeScript
import { DebugColor } from "Enums/DebugColor";
|
|
|
|
export class DebugService {
|
|
|
|
private debugColor: DebugColor = DebugColor.WHITE;
|
|
|
|
public setDebugColor(debugColor: DebugColor): void {
|
|
this.debugColor = debugColor;
|
|
}
|
|
|
|
public log(level: string, message: string): void {
|
|
console.debug(`%c${level}: ${message}`, `color:${this.debugColor};`);
|
|
}
|
|
|
|
} |