Files
cline/proto/host
abeatrix 90ccd73b1f Implement textDocuments RPC method for VS Code host bridge
Adds the `textDocuments` RPC method to the VS Code host bridge. This method allows the client to retrieve a list of currently open text documents in the VS Code workspace, along with their paths, active status, and view column information.

The changes include:

- Adding `textDocuments` RPC method to `WorkspaceService` in `proto/host/workspace.proto`.
- Creating `src/hosts/vscode/hostbridge/workspace/textDocuments.ts` to implement the `textDocuments` method, which retrieves the list of open documents from `vscode.workspace.textDocuments` and their associated metadata.
- Updating `DiffViewProvider.ts` to use the new `textDocuments` RPC method to check if a file is already open and dirty before getting its contents. This ensures that the latest version of the file is used.
2025-07-15 21:46:20 -07:00
..
2025-06-04 15:41:30 -07:00