π File detail
utils/configConstants.ts
π§© .tsπ 22 linesπΎ 733 bytesπ text
β Back to all filesπ― Use case
This file lives under βutils/β, which covers cross-cutting helpers (shell, tempfiles, settings, messages, process input, β¦). On the API surface it exposes NOTIFICATION_CHANNELS, EDITOR_MODES, and TEAMMATE_MODES β mainly types, interfaces, or factory objects. What the file header says: These constants are in a separate file to avoid circular dependency issues. Do NOT add imports to this file - it must remain dependency-free.
Generated from folder role, exports, dependency roots, and inline comments β not hand-reviewed for every path.
π§ Inline summary
These constants are in a separate file to avoid circular dependency issues. Do NOT add imports to this file - it must remain dependency-free.
π€ Exports (heuristic)
NOTIFICATION_CHANNELSEDITOR_MODESTEAMMATE_MODES
π₯οΈ Source preview
// These constants are in a separate file to avoid circular dependency issues.
// Do NOT add imports to this file - it must remain dependency-free.
export const NOTIFICATION_CHANNELS = [
'auto',
'iterm2',
'iterm2_with_bell',
'terminal_bell',
'kitty',
'ghostty',
'notifications_disabled',
] as const
// Valid editor modes (excludes deprecated 'emacs' which is auto-migrated to 'normal')
export const EDITOR_MODES = ['normal', 'vim'] as const
// Valid teammate modes for spawning
// 'tmux' = traditional tmux-based teammates
// 'in-process' = in-process teammates running in same process
// 'auto' = automatically choose based on context (default)
export const TEAMMATE_MODES = ['auto', 'tmux', 'in-process'] as const