This commit is contained in:
Timothy Jaeryang Baek
2026-03-01 12:30:03 -06:00
parent 769ef856bc
commit 18865a9fef
5 changed files with 81 additions and 32 deletions
+6 -1
View File
@@ -33,7 +33,8 @@
channelId,
terminalServers,
showControls,
showFileNavPath
showFileNavPath,
showFileNavDir
} from '$lib/stores';
import { goto } from '$app/navigation';
import { page } from '$app/stores';
@@ -337,6 +338,10 @@
}
}
if (['write_file', 'replace_file_content'].includes(data?.name) && data?.params?.path) {
showFileNavDir.set(res?.path ?? data.params.path);
}
if (cb) {
cb(JSON.parse(JSON.stringify(res)));
}