@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
28 lines (27 loc) • 943 B
JavaScript
import { fileURLToPath as __fileURLToPath } from 'url';
import { dirname as __pathDirname } from 'path';
const __filename = __fileURLToPath(import.meta.url);
const __dirname = __pathDirname(__filename);
export * from "./types.js";
export * from "./skill-storage.js";
export * from "./skill-matcher.js";
import {
SkillRegistry,
getSkillRegistry,
resetSkillRegistry
} from "./skill-registry.js";
import { getSkillRegistry as getSkillRegistry2 } from "./skill-registry.js";
import { matchPrompt as matchPromptFn } from "./skill-matcher.js";
function matchPromptFromRegistry(prompt) {
const registry = getSkillRegistry2();
const rules = registry.getAllRules();
const { config, scoring } = registry.getMatcherConfig();
const mappings = registry.getDirectoryMappings();
return matchPromptFn(prompt, rules, config, scoring, mappings);
}
export {
SkillRegistry,
getSkillRegistry,
matchPromptFromRegistry,
resetSkillRegistry
};