Returns the oss-autopilot data directory path, creating it if it does not exist.
The directory is located at ~/.oss-autopilot/ and serves as the root for all persisted user data (state, backups, cache).
~/.oss-autopilot/
Absolute path to the data directory (e.g., /Users/you/.oss-autopilot)
/Users/you/.oss-autopilot
const dir = getDataDir();// "/Users/you/.oss-autopilot" Copy
const dir = getDataDir();// "/Users/you/.oss-autopilot"
Returns the oss-autopilot data directory path, creating it if it does not exist.
The directory is located at
~/.oss-autopilot/and serves as the root for all persisted user data (state, backups, cache).