bce01ce0db
- Grouped `isRepository`, `workspaceRoot`, and `clearWorkspaceRootCache` under a `repo` namespace (`repo.is`, `repo.root`, `repo.clearRootCache`). - Promoted `diff` to a named export with a `changedFiles` sub-method via `Object.assign`. - Added `ensureAvailable` check and `nameOnly` support to `diff`. - Updated callers and tests to use the new API surface.