Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v0.2.102 Home All releases olderv0.2.101 v0.2.103newer

Improved Directory Handling

The isDirEmptySync function now includes an existence check before checking if a directory is empty. This prevents errors when working with non-existent directories.

// Old behavior: Would error if directory doesn't exist
function isDirEmptySync(path) {
  return fs.isDirEmptySync(path);
}

// New behavior: Returns true for non-existent directories
function isDirEmptySync(path) {
  if (!fs.existsSync(path)) return true;
  return fs.isDirEmptySync(path);
}

See this entry in the whole of v0.2.102 →