2026-01-15 11:34:29 +01:00
|
|
|
export interface MindnetSettings {
|
|
|
|
|
edgeVocabularyPath: string; // vault-relativ
|
|
|
|
|
graphSchemaPath: string; // vault-relativ (später)
|
|
|
|
|
maxHops: number;
|
|
|
|
|
strictMode: boolean;
|
2026-01-15 12:27:16 +01:00
|
|
|
showCanonicalHints: boolean;
|
|
|
|
|
chainDirection: "forward" | "backward" | "both";
|
2026-01-16 12:27:44 +01:00
|
|
|
interviewConfigPath: string; // vault-relativ
|
|
|
|
|
autoStartInterviewOnCreate: boolean;
|
|
|
|
|
interceptUnresolvedLinkClicks: boolean;
|
2026-01-15 11:34:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const DEFAULT_SETTINGS: MindnetSettings = {
|
|
|
|
|
edgeVocabularyPath: "_system/dictionary/edge_vocabulary.md",
|
|
|
|
|
graphSchemaPath: "_system/dictionary/graph_schema.md",
|
|
|
|
|
maxHops: 3,
|
|
|
|
|
strictMode: false,
|
2026-01-15 12:27:16 +01:00
|
|
|
showCanonicalHints: false,
|
|
|
|
|
chainDirection: "forward",
|
2026-01-16 12:27:44 +01:00
|
|
|
interviewConfigPath: "_system/dictionary/interview_config.yaml",
|
|
|
|
|
autoStartInterviewOnCreate: false,
|
|
|
|
|
interceptUnresolvedLinkClicks: true,
|
2026-01-15 11:34:29 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Optional helper: normalize to Obsidian vault paths (forward slashes).
|
|
|
|
|
*/
|
|
|
|
|
export function normalizeVaultPath(p: string): string {
|
|
|
|
|
return (p || "").trim().replace(/\\/g, "/");
|
|
|
|
|
}
|
|
|
|
|
|