offsite 0.0.31 → 0.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3795,6 +3795,7 @@ function claudeMode(value) {
3795
3795
  return mode;
3796
3796
  }
3797
3797
  function claudeOptions(accountId, cwd) {
3798
+ if (!statSync(cwd, { throwIfNoEntry: false })?.isDirectory()) throw new Error(`Project folder ${cwd} does not exist`);
3798
3799
  const configDir = storedAccount("claude", accountId).configDir ?? claudeBaseDir();
3799
3800
  const env = {
3800
3801
  ...process.env,