Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
options.dir | string | undefined | Directory to list sessions for. When omitted, returns sessions across all projects |
options.limit | number | undefined | Maximum number of sessions to return |
options.includeWorktrees | boolean | true | When dir is inside a git repository, include sessions from all worktree paths |