@@ -76,8 +76,8 @@ type UserContent = Array<
7676export class Cline {
7777 private static readonly outputChannelName = "Roo Code Stream Output"
7878 private static sharedOutputChannel : vscode . OutputChannel | undefined
79- private readonly enableStreamDebug : boolean
80- private readonly outputChannel ?: vscode . OutputChannel
79+ // private readonly enableStreamDebug: boolean
80+ // private readonly outputChannel?: vscode.OutputChannel
8181
8282 readonly taskId : string
8383 api : ApiHandler
@@ -135,15 +135,15 @@ export class Cline {
135135 historyItem ?: HistoryItem | undefined ,
136136 experiments ?: Record < string , boolean > ,
137137 ) {
138- const config = vscode . workspace . getConfiguration ( "roo-cline" )
139- this . enableStreamDebug = config . get < boolean > ( "enableApiStreamDebugOutput" , false )
140-
141- if ( this . enableStreamDebug ) {
142- if ( ! Cline . sharedOutputChannel ) {
143- Cline . sharedOutputChannel = vscode . window . createOutputChannel ( Cline . outputChannelName )
144- }
145- this . outputChannel = Cline . sharedOutputChannel
146- }
138+ // const config = vscode.workspace.getConfiguration("roo-cline")
139+ // this.enableStreamDebug = config.get<boolean>("enableApiStreamDebugOutput", false)
140+
141+ // if (this.enableStreamDebug) {
142+ // if (!Cline.sharedOutputChannel) {
143+ // Cline.sharedOutputChannel = vscode.window.createOutputChannel(Cline.outputChannelName)
144+ // }
145+ // this.outputChannel = Cline.sharedOutputChannel
146+ // }
147147
148148 if ( ! task && ! images && ! historyItem ) {
149149 throw new Error ( "Either historyItem or task/images must be provided" )
@@ -175,11 +175,11 @@ export class Cline {
175175 }
176176 }
177177
178- private logStreamDebug ( message : string ) {
179- if ( this . enableStreamDebug && this . outputChannel ) {
180- this . outputChannel . appendLine ( `[Stream Debug] ${ message } ` )
181- }
182- }
178+ // private logStreamDebug(message: string) {
179+ // if (this.enableStreamDebug && this.outputChannel) {
180+ // this.outputChannel.appendLine(`[Stream Debug] ${message}`)
181+ // }
182+ // }
183183
184184 // Add method to update diffStrategy
185185 async updateDiffStrategy ( experimentalDiffStrategy ?: boolean ) {
0 commit comments