UNPKG

@stackmemoryai/stackmemory

Version:

Lossless, project-scoped memory for AI coding tools. Durable context across sessions with 56 MCP tools, FTS5 search, conductor orchestrator, loop/watch monitoring, snapshot capture, pre-flight overlap checks, Claude/Codex/OpenCode wrappers, Linear sync, a

25 lines (23 loc) 1.24 kB
import { fileURLToPath as __fileURLToPath } from 'url'; import { dirname as __pathDirname } from 'path'; const __filename = __fileURLToPath(import.meta.url); const __dirname = __pathDirname(__filename); const DEFAULT_PLANNER_MODEL = process.env.STACKMEMORY_MM_PLANNER_MODEL || "claude-sonnet-4-20250514"; const DEFAULT_REVIEWER_MODEL = process.env.STACKMEMORY_MM_REVIEWER_MODEL || DEFAULT_PLANNER_MODEL; const DEFAULT_IMPLEMENTER = process.env.STACKMEMORY_MM_IMPLEMENTER || "codex"; const DEFAULT_MAX_ITERS = Number( process.env.STACKMEMORY_MM_MAX_ITERS || 2 ); const STRUCTURED_RESPONSE_SUFFIX = ` Response Format: - When asking a question, ALWAYS end with structured choices: Yes/No, or numbered options (1, 2, 3, 4), or lettered options (A, B, C, D). - When completing a task, end with "Done." followed by suggested next steps as numbered options (1, 2, 3, 4). - Never leave responses open-ended. Always provide explicit options the user can select. - Keep options concise (one line each). Use the format that best fits: Yes/No for confirmations, 1-4 for action choices, A-D for category selections.`; export { DEFAULT_IMPLEMENTER, DEFAULT_MAX_ITERS, DEFAULT_PLANNER_MODEL, DEFAULT_REVIEWER_MODEL, STRUCTURED_RESPONSE_SUFFIX };