config: ZypherAgentConfig
Get the configured agent configuration
isTaskRunning: boolean
Check if a task is currently running
loopInterceptor: LoopInterceptorManager
Get the loop interceptor manager for configuration
mcp: McpServerManager
Get the MCP server manager for configuration
applyCheckpoint(checkpointId: string): Promise<boolean>
Apply a checkpoint and update the message history This will discard messages beyond the checkpoint
clearMessages(): void
Clear all messages from the agent's history
runTask(taskDescription: string,model: string,fileAttachments?: FileAttachment[],options?: { maxIterations?: number; signal?: AbortSignal; },): Observable<TaskEvent>
Run a task with real time progress updates
This method provides real-time streaming of incremental content updates as they're generated, allowing for character-by-character updates as Claude produces them. This enables a more responsive user experience with immediate feedback.
Streaming behavior:
- Content is streamed in real-time as it's generated
- Tool usage is streamed as tools are invoked
- Complete messages are delivered when available
- Errors and code fixes are handled automatically
wait(options?: { signal?: AbortSignal; }): Promise<void>
Wait for the task to complete