Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
import { mkdirSync, writeFileSync } from 'node:fs';
import { join } from 'node:path';
export function mcpStatusMarkerPath(tmpHome: string): string {
return join(tmpHome, '.ok', 'mcp-status.json');
}
export function seedMcpConsentComplete(tmpHome: string): void {
mkdirSync(join(tmpHome, '.ok'), { recursive: true });
writeFileSync(
mcpStatusMarkerPath(tmpHome),
JSON.stringify({
configured: true,
configuredAt: new Date().toISOString(),
editors: [],
cliPath: '/usr/local/bin/ok',
}),
);
}