andy-stack_vaultkeeper-ai/Services/DebugService.ts
Andrew Beal 32c478249b housekeeping: remove unused execution agent code and clean up orchestration flow
- 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
2026-01-29 12:26:41 +00:00

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};`);
}
}