/** * init wizard — `astramem-local init` * * Interactive setup using @inquirer/prompts. * Non-TTY / CI mode: set ASTRA_MEMORY_INIT_NONINTERACTIVE=1 and supply * answers via env vars (see NON_INTERACTIVE_ENV below). * * Final actions: * 1. Write config.yaml → defaultConfigDir()/config.yaml * 2. Write secrets.env → defaultConfigDir()/secrets.env (mode 0600) * 3. Run migrations → ensure DB schema at dataDir/memory.sqlite * 4. Run doctor checks → print table (skip daemon-reachable check) * 5. Print next steps */ /** Default Ollama extraction/compaction model — used when no tier is chosen. * Swapped from qwen3.5:4b to qwen2.5:7b (2026-07-14) — qwen3.5:4b was * RETIRED because it under-extracts atoms in real conversational sessions * (see the LoCoMo conversational-profile A/B in CLAUDE.md); a fast, VRAM-safe * model that finds too little is not actually a safe default. qwen2.5:7b is * the recommended local model instead: F1 67%/precision 99% in the * 2026-07-08 extraction-bench A/B (beats qwen2.5-coder:7b's F1 59%). It is * ~4.7 GB and fits an 8 GB VRAM card with real headroom alongside the * mxbai-embed-large embedder's ~0.59 GB — unlike qwen3:8b (5.76 GB * resident), which exceeded the ceiling, spilled layers to CPU, and poisoned * distill jobs via timeout (see "Ollama 8GB VRAM ceiling" in CLAUDE.md). * This is a safety + measured-extraction-quality case, not a * measured-compaction-quality case — nobody has benchmarked either model as * a compactor specifically; see scripts/eval/extraction-bench. */ export declare const DEFAULT_OLLAMA_LLM_MODEL = "qwen2.5:7b"; /** * @param llmModel undefined when the LLM provider isn't actually Ollama — * only pass a value for the slot(s) assigned to the ollama provider, so a * mixed setup (e.g. llmProvider=azure-openai, embedProvider=ollama) never * ends up trying to `ollama pull gpt-4.1`. * @param confirmMissingBinary injection point for the missing-binary prompt * (default: a real inquirer confirm) — lets tests exercise both the * "user declines, init aborts" and "user continues, degraded" branches * without invoking a live TTY prompt. */ export declare function checkOllama(llmModel: string | undefined, embedModel: string | undefined, nonInteractive: boolean, confirmMissingBinary?: (message: string) => Promise): Promise; export declare function init(argv?: string[]): Promise;