refactor(proto): Align proto directory structure with package names to follow best practices (#5171)

* Reorganized proto directory structure to match package naming convention

Moved cline package protos from the proto directory to proto/cline/ directory
Host package protos remain in proto/host/ directory

Updated all import statements across codebase to reflect new proto paths

Removed proto linter exception for package/directory mismatch rule

Fix Vscode proto indexing errors by setting the proto path in the Vscode settings.

* Update imports to use new package

Update imports from @shared/proto/<thing> to @share/proto/cline/<thing>
This commit is contained in:
Sarah Fortune authored and GitHub committed 2025-07-26 00:58:16 -04:00
1 parent 5da75af616
commit a1bf1f95a3
198 files changed
+289 -281

No files matched your search

@@ -1,6 +1,6 @@
import { Controller } from ".."
import { StringRequest } from "../../../shared/proto/common"
import { OpenGraphData } from "../../../shared/proto/web"
import { StringRequest } from "@shared/proto/cline/common"
import { OpenGraphData } from "@shared/proto/cline/web"
import { fetchOpenGraphData as fetchOGData } from "../../../integrations/misc/link-preview"
import { convertDomainOpenGraphDataToProto } from "../../../shared/proto-conversions/web/open-graph-conversion"