| 3 | import { getDevCtxDir } from "../core/context"; |
| 4 | |
| 5 | export interface UserConfig { |
| 6 | /** Default output mode for resume: "clipboard" | "stdout" */ |
| 7 | defaultOutput: "clipboard" | "stdout"; |
| 8 | /** Whether to auto-detect and include git info */ |
| 9 | autoGitCapture: boolean; |
| 10 | /** Number of recent commits to capture */ |
| 11 | recentCommitCount: number; |
| 12 | /** Default number of log entries to show */ |
| 13 | defaultLogCount: number; |
| 14 | /** Watch mode auto-save interval in minutes */ |
| 15 | watchInterval: number; |
| 16 | /** Whether git hook is auto-installed on init */ |
| 17 | autoHook: boolean; |
| 18 | /** AI provider base URL (OpenAI-compatible) */ |
| 19 | aiProvider: string; |
| 20 | /** AI model name */ |
| 21 | aiModel: string; |
| 22 | /** AI API key (prefer DEVCTX_AI_KEY env var) */ |
| 23 | aiApiKey?: string; |
| 24 | } |
| 25 | |
| 26 | const DEFAULT_CONFIG: UserConfig = { |
| 27 | defaultOutput: "clipboard", |
nothing calls this directly
no outgoing calls
no test coverage detected