chore: delete four modules nothing imports

Merged
SA
5d ago
+0-83

What & why

Nothing imports these four files. Each one is a delete-only change:

FileLinesEvidence
apps/desktop/src/renderer/react-query/workspaces/useImportExternalWorktrees.ts13#4113 removed its last caller. The barrel exports only useImportAllWorktrees.
apps/desktop/src/shared/workspace-error-types.ts30No importer of the file, WorkspaceErrorCause or isWorkspaceErrorCause
apps/desktop/src/main/lib/build-channel.ts12No importer. auto-updater.ts has its own private copy of isPrereleaseBuild.
packages/host-service/src/trpc/router/workspace-creation/shared/start-point.ts32No importer of the file or buildStartPointFromHint

The importExternalWorktrees tRPC procedure stays. This PR removes only the unused client hook, so there's no API change.

How I tested it

  • Grepped the symbol names and import paths across apps/ and packages/ (ts/tsx/json). The only hits are the files themselves.
  • apps/desktop and packages/host-service typecheck pass

Opened by the daily cleanup automation.


Summary by cubic

Deletes four modules that nothing imports, all delete-only with no behavior or API change. Each file's last caller was removed in earlier PRs, and the typecheck passes across apps/desktop and packages/host-service.

  • Removes useImportExternalWorktrees, whose only caller was removed by #4113; the importExternalWorktrees tRPC procedure stays.
  • Removes workspace-error-types.ts, build-channel.ts, and start-point.ts, whose types and functions have no importers.

Summary by CodeRabbit

  • Chores
    • Removed several internal workspace-related interfaces and build-channel checks. No direct changes to the app’s user-facing behavior are specified.