@oss-autopilot/core - v1.6.3
    Preparing search index...

    Function getDataDir

    • 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).

      Returns string

      Absolute path to the data directory (e.g., /Users/you/.oss-autopilot)

      const dir = getDataDir();
      // "/Users/you/.oss-autopilot"