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

21 lines (20 loc) 697 B
#!/usr/bin/env node import { fileURLToPath as __fileURLToPath } from 'url'; import { dirname as __pathDirname } from 'path'; const __filename = __fileURLToPath(import.meta.url); const __dirname = __pathDirname(__filename); import { spawn } from "child_process"; import * as path from "path"; const claudeSmPath = path.join(__dirname, "claude-sm.js"); const args = ["--dangerously-skip-permissions", ...process.argv.slice(2)]; const child = spawn("node", [claudeSmPath, ...args], { stdio: "inherit", env: process.env }); child.on("exit", (code) => { process.exit(code || 0); }); child.on("error", (err) => { console.error("Failed to launch claude-sm:", err.message); process.exit(1); });