@@ -21,8 +21,6 @@ import { Checkpoint } from '../checkpoints-command/types'
2121import { CHECKPOINTS_STATE_KEY } from '@/constants/state-keys'
2222import { ResponseHistoryItem } from '@shared/types/response-history-item'
2323import { ApiManager } from '@/services/api-manager'
24- import { parse_response } from './utils/clipboard-parser/clipboard-parser'
25- import { t } from '@/i18n'
2624import {
2725 preview_document_provider ,
2826 CwcPreviewProvider
@@ -133,33 +131,6 @@ export const apply_chat_response_command = (params: {
133131 let saved_tab_groups : SavedTabGroups | undefined
134132
135133 try {
136- const is_single_root_folder_workspace =
137- vscode . workspace . workspaceFolders ?. length == 1
138-
139- const parsed_items = args ?. files_with_content
140- ? [ ]
141- : parse_response ( {
142- response : chat_response ,
143- is_single_root_folder_workspace
144- } )
145-
146- const file_count = args ?. files_with_content
147- ? args . files_with_content . length
148- : parsed_items . filter (
149- ( item ) =>
150- item . type == 'diff' ||
151- item . type == 'file' ||
152- item . type == 'code-at-cursor'
153- ) . length
154-
155- if ( file_count > 0 ) {
156- params . panel_provider . send_message ( {
157- command : 'SHOW_PROGRESS' ,
158- title : t ( 'command.apply-chat-response.progress.preparing-preview' ) ,
159- delay_visibility : file_count == 1
160- } )
161- }
162-
163134 // Save current tab groups before entering preview
164135 saved_tab_groups = {
165136 editors : [ ] ,
@@ -195,10 +166,6 @@ export const apply_chat_response_command = (params: {
195166 params . workspace_provider
196167 )
197168
198- params . panel_provider . send_message ( {
199- command : 'HIDE_PROGRESS'
200- } )
201-
202169 if ( preview_data ) {
203170 let created_at_for_preview = args ?. created_at
204171 if ( ! args ?. files_with_content ) {
@@ -410,9 +377,6 @@ export const apply_chat_response_command = (params: {
410377 dictionary . error_message . APPLYING_CHANGES_GENERIC_ERROR ( err . message )
411378 )
412379 } finally {
413- params . panel_provider . send_message ( {
414- command : 'HIDE_PROGRESS'
415- } )
416380 in_progress = false
417381 if ( before_checkpoint ) {
418382 delete_checkpoint ( {
0 commit comments