MCPcopy Create free account
hub / github.com/IAmUnbounded/devctx / UserConfig

Interface UserConfig

devctx/src/utils/config.ts:5–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import { getDevCtxDir } from "../core/context";
4
5export 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
26const DEFAULT_CONFIG: UserConfig = {
27 defaultOutput: "clipboard",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected