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

    Function getStatePath

    • Returns the path to the state file (~/.oss-autopilot/state.json).

      Implicitly creates the data directory via getDataDir if it does not exist.

      Returns string

      Absolute path to state.json

      const statePath = getStatePath();
      // "/Users/you/.oss-autopilot/state.json"