mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 00:03:47 +00:00
global-settings-types.ts sits at the 300-line max-lines ceiling; merging main's two new agent-state-rules settings with experimentalManagedServers put it at 301. The worktree visibility defaults type moves next to the other visibility types and is re-exported so its 38 importers are unchanged. Co-authored-by: m4air <m4air@Mac.localdomain>
16 lines
621 B
TypeScript
16 lines
621 B
TypeScript
import type {
|
|
CustomWorktreeVisibilitySource,
|
|
ExternalWorktreeVisibility,
|
|
WorktreeVisibilitySourcePreferences
|
|
} from '../repo-types'
|
|
|
|
/** Host-owned worktree visibility defaults, used when a repository has no explicit override. */
|
|
export type WorktreeVisibilityDefaults = {
|
|
/** Default for worktrees outside a recognized source. */
|
|
external?: ExternalWorktreeVisibility
|
|
/** Host-owned roots applied to every repository on that host. */
|
|
customSources?: CustomWorktreeVisibilitySource[]
|
|
/** Defaults for built-in and host-owned custom sources. */
|
|
sourcePreferences?: WorktreeVisibilitySourcePreferences
|
|
}
|