Download lib/config.mjs from teddyoas/Asnip: direct link, hf CLI and curl.
- Browser
- Download file 727 Bytes
-
https://huggingface.co/teddyoas/Asnip/resolve/main/lib/config.mjs
- Command line
-
hf download hf://teddyoas/Asnip/lib/config.mjs
-
curl -L -o config.mjs https://huggingface.co/teddyoas/Asnip/resolve/main/lib/config.mjs
727 Bytes
| // 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"; | |