Skip to content

Commit b1323b7

Browse files
docs(core): update paths.ts top-comment for XDG resolution (T303)
T303 — Wave 1 of T299 v2026.4.11 epic. Stale top-of-file comment said "default: ~/.cleo" but the code resolves via env-paths XDG. Comment now lists per-OS examples (Linux/macOS/Windows). Also deletes the 0-byte stray .cleo/cleo.db (untracked, unreferenced). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 30dde2a commit b1323b7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/core/src/paths.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
/**
22
* XDG-compliant path resolution for CLEO V2.
33
*
4+
* Global data directory is resolved via env-paths (XDG on Linux, platform
5+
* conventions on macOS and Windows):
6+
* Linux: ~/.local/share/cleo
7+
* macOS: ~/Library/Application Support/cleo
8+
* Windows: %LOCALAPPDATA%\cleo
9+
*
410
* Environment variables:
5-
* CLEO_HOME - Global installation directory (default: ~/.cleo)
11+
* CLEO_HOME - Override global installation directory
612
* CLEO_DIR - Project data directory (default: .cleo)
713
*
814
* @epic T4454

0 commit comments

Comments
 (0)