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

15 lines (14 loc) 514 B
import { fileURLToPath as __fileURLToPath } from 'url'; import { dirname as __pathDirname } from 'path'; const __filename = __fileURLToPath(import.meta.url); const __dirname = __pathDirname(__filename); const DEFAULT_DIFFMEM_CONFIG = { endpoint: process.env.DIFFMEM_ENDPOINT || "http://localhost:8000", userId: process.env.DIFFMEM_USER_ID || "default", timeout: 5e3, maxRetries: 3, enabled: process.env.DIFFMEM_ENABLED === "true" || !!process.env.DIFFMEM_ENDPOINT }; export { DEFAULT_DIFFMEM_CONFIG };