File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed
Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ export {
7373 ideEscapeKeyPressed ,
7474 ideIsChatStreaming ,
7575 ideIsChatReady ,
76- ideToolEdit ,
7776} from "../hooks/useEventBusForIDE" ;
7877
7978export const fim = {
Original file line number Diff line number Diff line change @@ -38,14 +38,9 @@ export const ideEscapeKeyPressed = createAction<string>("ide/escapeKeyPressed");
3838export const ideIsChatStreaming = createAction < boolean > ( "ide/isChatStreaming" ) ;
3939export const ideIsChatReady = createAction < boolean > ( "ide/isChatReady" ) ;
4040
41- export const ideToolEdit = createAction < { path : string ; edit : ToolEditResult } > (
42- "ide/toolEdit" ,
43- ) ;
44-
4541import { pathApi } from "../services/refact/path" ;
4642
4743import { telemetryApi } from "../services/refact/telemetry" ;
48- import { ToolEditResult } from "../services/refact" ;
4944
5045export const useEventsBusForIDE = ( ) => {
5146 const [ sendTelemetryEvent ] =
@@ -217,14 +212,6 @@ export const useEventsBusForIDE = () => {
217212 const openBringYourOwnKeyFile = ( ) =>
218213 openFileFromPathQuery ( getBringYourOwnKeyPath ) ;
219214
220- const sendToolEditToIde = useCallback (
221- ( path : string , edit : ToolEditResult ) => {
222- const action = ideToolEdit ( { path, edit } ) ;
223- postMessage ( action ) ;
224- } ,
225- [ postMessage ] ,
226- ) ;
227-
228215 return {
229216 diffPasteBack,
230217 openSettings,
@@ -244,6 +231,5 @@ export const useEventsBusForIDE = () => {
244231 escapeKeyPressed,
245232 setIsChatStreaming,
246233 setIsChatReady,
247- sendToolEditToIde,
248234 } ;
249235} ;
You can’t perform that action at this time.
0 commit comments