chore(vscode-ide-companion): refactor directory structure

This commit is contained in:
yiliang114
2025-12-08 00:54:26 +08:00
parent e47263f7c9
commit be71976a1f
81 changed files with 409 additions and 1540 deletions

View File

@@ -6,7 +6,7 @@
* Shared utilities for handling diff operations in the webview
*/
import type { WebviewApi } from 'vscode-webview';
import type { VSCodeAPI } from '../hooks/useVSCode.js';
/**
* Handle opening a diff view for a file
@@ -16,7 +16,7 @@ import type { WebviewApi } from 'vscode-webview';
* @param newText New content (right side)
*/
export const handleOpenDiff = (
vscode: WebviewApi<unknown>,
vscode: VSCodeAPI,
path: string | undefined,
oldText: string | null | undefined,
newText: string | undefined,