fix(worktree): import shared types from their real modules

Main dropped the src/shared/types barrel, so the retirement module's import
resolved locally but not against the PR's merge base.
This commit is contained in:
Brennan Benson
2026-08-13 23:06:31 -07:00
parent 9eebf38bcd
commit e2d0185176
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -3,7 +3,8 @@ import { mkdir, mkdtemp, rm } from 'node:fs/promises'
import { tmpdir } from 'node:os'
import { join } from 'node:path'
import { MARINE_CREATURES } from '../shared/marine-creatures'
import type { GlobalSettings, Repo } from '../shared/types'
import type { GlobalSettings } from '../shared/global-settings-types'
import type { Repo } from '../shared/repo-types'
import {
collectRetiredNamesFromLeafNames,
discoverRetiredWorktreeNames,
+2 -1
View File
@@ -4,7 +4,8 @@ import { join } from 'node:path'
import { MARINE_CREATURES } from '../shared/marine-creatures'
import { getRepoExecutionHostId } from '../shared/execution-host'
import { isFolderRepo } from '../shared/repo-kind'
import type { GlobalSettings, Repo } from '../shared/types'
import type { GlobalSettings } from '../shared/global-settings-types'
import type { Repo } from '../shared/repo-types'
import {
encodeClaudeProjectPath,
isClaudeProjectDirInScope