diff --git a/src/core/checkpoints/index.ts b/src/core/checkpoints/index.ts index dcbe796eb7..941af44922 100644 --- a/src/core/checkpoints/index.ts +++ b/src/core/checkpoints/index.ts @@ -24,15 +24,12 @@ export function getCheckpointService(cline: Task) { } if (cline.checkpointServiceInitializing) { - console.log("[Task#getCheckpointService] checkpoint service is still initializing") return undefined } const provider = cline.providerRef.deref() const log = (message: string) => { - console.log(message) - try { provider?.log(message) } catch (err) { @@ -40,8 +37,6 @@ export function getCheckpointService(cline: Task) { } } - console.log("[Task#getCheckpointService] initializing checkpoints service") - try { const workspaceDir = getWorkspacePath() @@ -137,7 +132,6 @@ async function getInitializedCheckpointService( try { await pWaitFor( () => { - console.log("[Task#getCheckpointService] waiting for service to initialize") return service.isInitialized }, { interval, timeout }, diff --git a/src/core/task/Task.ts b/src/core/task/Task.ts index a67248e04a..0137cc51cc 100644 --- a/src/core/task/Task.ts +++ b/src/core/task/Task.ts @@ -741,8 +741,6 @@ export class Task extends EventEmitter { let imageBlocks: Anthropic.ImageBlockParam[] = formatResponse.imageBlocks(images) - console.log(`[subtasks] task ${this.taskId}.${this.instanceId} starting`) - await this.initiateTaskLoop([ { type: "text", @@ -1008,8 +1006,6 @@ export class Task extends EventEmitter { await this.overwriteApiConversationHistory(modifiedApiConversationHistory) - console.log(`[subtasks] task ${this.taskId}.${this.instanceId} resuming from history item`) - await this.initiateTaskLoop(newUserContent) } @@ -1289,7 +1285,6 @@ export class Task extends EventEmitter { // lastMessage.ts = Date.now() DO NOT update ts since it is used as a key for virtuoso list lastMessage.partial = false // instead of streaming partialMessage events, we do a save and post like normal to persist to disk - console.log("updating partial message", lastMessage) // await this.saveClineMessages() } diff --git a/src/core/tools/executeCommandTool.ts b/src/core/tools/executeCommandTool.ts index a3bd667559..a26300de81 100644 --- a/src/core/tools/executeCommandTool.ts +++ b/src/core/tools/executeCommandTool.ts @@ -27,7 +27,6 @@ export async function executeCommandTool( ) { let command: string | undefined = block.params.command const customCwd: string | undefined = block.params.cwd - console.log("executeCommandTool", command) try { if (block.partial) { diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index d158bfdd5c..cd2560b270 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -163,8 +163,6 @@ export class ClineProvider // The instance is pushed to the top of the stack (LIFO order). // When the task is completed, the top instance is removed, reactivating the previous task. async addClineToStack(cline: Task) { - console.log(`[subtasks] adding task ${cline.taskId}.${cline.instanceId} to stack`) - // Add this cline instance into the stack that represents the order of all the called tasks. this.clineStack.push(cline) @@ -187,7 +185,6 @@ export class ClineProvider let cline = this.clineStack.pop() if (cline) { - console.log(`[subtasks] removing task ${cline.taskId}.${cline.instanceId} from stack`) try { // Abort the running task and set isAbandoned to true so // all running promises will exit as well. @@ -226,7 +223,6 @@ export class ClineProvider // and resume the previous task/cline instance (if it exists) // this is used when a sub task is finished and the parent task needs to be resumed async finishSubTask(lastMessage: string) { - console.log(`[subtasks] finishing subtask ${lastMessage}`) // remove the last cline instance from the stack (this is the finished sub task) await this.removeClineFromStack() // resume the last cline instance in the stack (if it exists - this is the 'parent' calling task)