export declare const SERVER_NAME = "engram-mcp-server"; export declare const SERVER_VERSION: string; export declare const TOOL_PREFIX = "engram"; export declare const DB_DIR_NAME = ".engram"; export declare const DB_FILE_NAME = "memory.db"; export declare const DB_VERSION = 24; /** Maps canonical phase name strings (from task tags like `phase:planning`) to phase numbers 1-6. */ export declare const PHASE_MAP: Record; /** Keywords in task titles that indicate PM-heavy work and may trigger PM-Full offer. */ export declare const PM_KEYWORDS: ReadonlyArray; /** Maximum number of PM nudges that can be surfaced within a single session. */ export declare const PM_MAX_NUDGES = 5; /** Semantic version of the bundled PM knowledge base (principles, phases, checklists). */ export declare const KNOWLEDGE_BASE_VERSION = "1.0"; export declare const MAX_FILE_TREE_DEPTH = 5; export declare const MAX_FILE_TREE_ENTRIES = 500; export declare const MAX_SEARCH_RESULTS = 50; export declare const DEFAULT_SEARCH_LIMIT = 8; export declare const MAX_GIT_LOG_ENTRIES = 50; export declare const MAX_RESPONSE_LENGTH = 50000; export declare const DEFAULT_PAGINATION_LIMIT = 20; export declare const SNAPSHOT_TTL_MINUTES = 30; export declare const COMPACTION_THRESHOLD_SESSIONS = 50; export declare const BACKUP_DIR_NAME = "backups"; export declare const FOCUS_MAX_ITEMS_PER_CATEGORY = 15; export declare const FILE_MTIME_STALE_HOURS = 24; export declare const FILE_LOCK_DEFAULT_TIMEOUT_MINUTES = 30; export declare const DEFAULT_RETENTION_DAYS = 90; export declare const MAX_BACKUP_COUNT = 10; export declare const EXCLUDED_DIRS: Set; /** * STRONG markers: unambiguous project boundaries. Found → return immediately. * These never appear in IDE install directories or npm global dirs. */ export declare const STRONG_PROJECT_MARKERS: readonly [".git"]; /** * SOFT markers: typically present in real projects but also in Electron/Node * app install dirs. Only used after strong markers are exhausted, AND only if * the candidate path passes the BLOCKED_PATH_PATTERNS check. */ export declare const SOFT_PROJECT_MARKERS: string[]; /** * Legacy combined list kept for any external callers. * Prefer STRONG_PROJECT_MARKERS + SOFT_PROJECT_MARKERS directly. */ export declare const PROJECT_MARKERS: string[]; /** * Path-segment patterns that indicate an IDE install, npm global, or OS system * directory. A soft-marker candidate whose normalised path matches any of these * is rejected so we don't mistake an IDE's own install dir for a project root. */ export declare const BLOCKED_PATH_PATTERNS: RegExp[]; /** * Returns true if the given directory is the user's home directory. * The home dir is never a valid project root — no one's "project" is ~/. * This prevents the bootstrap trap where ~/.engram/ makes HOME look like a project. */ export declare function isHomeDirectory(dirPath: string): boolean; export declare const NPM_REGISTRY_URL = "https://registry.npmjs.org/engram-mcp-server/latest"; export declare const GITHUB_REPO = "keggan-std/Engram"; export declare const GITHUB_RELEASES_URL = "https://github.com/keggan-std/Engram/releases"; export declare const GITHUB_RELEASES_API_URL = "https://api.github.com/repos/keggan-std/Engram/releases/latest"; export declare const CFG_AUTO_UPDATE_CHECK = "auto_update_check"; export declare const CFG_AUTO_UPDATE_LAST_CHECK = "auto_update_last_check"; export declare const CFG_AUTO_UPDATE_AVAILABLE = "auto_update_available"; export declare const CFG_AUTO_UPDATE_CHANGELOG = "auto_update_changelog"; export declare const CFG_AUTO_UPDATE_SKIP_VERSION = "auto_update_skip_version"; export declare const CFG_AUTO_UPDATE_REMIND_AFTER = "auto_update_remind_after"; export declare const CFG_AUTO_UPDATE_NOTIFY_LEVEL = "auto_update_notify_level"; export declare const CFG_INSTANCE_ID = "instance_id"; export declare const CFG_INSTANCE_LABEL = "instance_label"; export declare const CFG_INSTANCE_CREATED_AT = "instance_created_at"; export declare const CFG_MACHINE_ID = "machine_id"; export declare const CFG_SHARING_MODE = "sharing_mode"; export declare const CFG_SHARING_TYPES = "sharing_types"; export declare const CFG_SENSITIVE_KEYS = "sensitive_keys"; export declare const CFG_HTTP_TOKEN = "http_token"; export declare const CFG_INSTANCE_VISIBLE = "instance_visible"; export declare const INSTANCE_REGISTRY_DIR = ".engram"; export declare const INSTANCE_REGISTRY_FILE = "instances.json"; export declare const HEARTBEAT_INTERVAL_MS = 60000; export declare const STALE_THRESHOLD_MS: number; export declare const PRUNE_THRESHOLD_MS: number; export declare const DEFAULT_SHARING_MODE = "none"; export declare const DEFAULT_SHARING_TYPES: string[]; export declare const LAYER_PATTERNS: Record; //# sourceMappingURL=constants.d.ts.map