File size: 727 Bytes
20f108c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Phantom — shared directory constants
// Zero-dep ESM. Imported by phantom.mjs and lib modules.
import { homedir } from "os";
import { resolve } from "path";

export const BASE_DIR = resolve(homedir(), ".config", "phantom");
export const MEMORY_DIR = resolve(BASE_DIR, "memory");
export const KNOWLEDGE_DIR = resolve(BASE_DIR, "knowledge");
export const BOOKS_DIR = resolve(BASE_DIR, "books");
export const TOOLS_DIR = resolve(BASE_DIR, "tools");
export const REPORTS_DIR = resolve(BASE_DIR, "reports");
export const PLAYBOOKS_DIR = resolve(BASE_DIR, "playbooks");
export const HACKBOOK_DIR = resolve(BASE_DIR, "hackbook");
export const MISSIONS_DIR = resolve(BASE_DIR, "missions");
export const PHANTOM_VERSION = "0.2.0";