You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
### Added
11
11
- Added ask sidebar to homepage. [#721](https://github.com/sourcebot-dev/sourcebot/pull/721)
12
+
- Added endpoint for searching commit history for a git repository. [#625](https://github.com/sourcebot-dev/sourcebot/pull/625)
12
13
13
14
## [4.10.17] - 2026-01-23
14
15
@@ -162,7 +163,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
162
163
## [4.10.0] - 2025-11-24
163
164
164
165
### Added
165
-
- Added temporal filtering to search and repository APIs with support for git branch/revision filtering and repository index date filtering (since/until parameters). Supports both ISO 8601 and relative date formats (e.g., "30 days ago", "last week").
166
166
- Added support for streaming code search results. [#623](https://github.com/sourcebot-dev/sourcebot/pull/623)
167
167
- Added buttons to toggle case sensitivity and regex patterns. [#623](https://github.com/sourcebot-dev/sourcebot/pull/623)
168
168
- Added counts to members, requets, and invites tabs in the members settings. [#621](https://github.com/sourcebot-dev/sourcebot/pull/621)
Copy file name to clipboardExpand all lines: packages/mcp/CHANGELOG.md
+2-14Lines changed: 2 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,20 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
## [Unreleased]
9
9
10
10
### Added
11
-
- Added comprehensive relative date support for all temporal parameters (e.g., "30 days ago", "last week", "yesterday")
12
-
- Added `search_commits` tool to search commits by actual commit time with full temporal filtering. Accepts both numeric database IDs (e.g., 123) and string repository names (e.g., "github.com/owner/repo") for the `repoId` parameter, allowing direct use of repository names from `list_repos` output
13
-
- Added `since`/`until` parameters to `search_code` (filters by index time - when Sourcebot indexed the repo)
14
-
- Added `gitRevision` parameter to `search_code`
15
-
- Added `activeAfter`/`activeBefore` parameters to `list_repos` (filters by index time - when Sourcebot indexed the repo)
16
-
- Added date range validation to prevent invalid date ranges (since > until)
17
-
- Added 30-second timeout for git operations to handle large repositories
18
-
- Added enhanced error messages for git operations (timeout, repository not found, invalid git repository, ambiguous arguments)
19
-
- Added clarification that repositories must be cloned on Sourcebot server disk for `search_commits` to work
20
-
- Added comprehensive temporal parameter documentation to README with clear distinction between index time and commit time filtering
21
-
- Added comprehensive unit tests for date parsing utilities (90+ test cases)
22
-
- Added unit tests for git commit search functionality with mocking
23
-
- Added integration tests for temporal parameter validation
24
-
- Added unit tests for repository identifier resolution (both string and number types)
11
+
- Added `search_commits` tool to search a repos commit history. [#625](https://github.com/sourcebot-dev/sourcebot/pull/625)
12
+
- Added `gitRevision` parameter to the `search_code` tool to allow for searching on different branches. [#625](https://github.com/sourcebot-dev/sourcebot/pull/625)
Copy file name to clipboardExpand all lines: packages/mcp/README.md
+6-30Lines changed: 6 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,8 +166,6 @@ For a more detailed guide, checkout [the docs](https://docs.sourcebot.dev/docs/f
166
166
167
167
Fetches code that matches the provided regex pattern in `query`.
168
168
169
-
**Temporal Filtering**: Use `since` and `until` to filter by repository index time (when Sourcebot last indexed the repo). This is different from commit time. See `search_commits` for commit-time filtering.
170
-
171
169
<details>
172
170
<summary>Parameters</summary>
173
171
@@ -178,9 +176,6 @@ Fetches code that matches the provided regex pattern in `query`.
178
176
| `filterByLanguages` | no | Restrict search to specific languages (GitHub linguist format, e.g., Python, JavaScript). |
179
177
| `caseSensitive` | no | Case sensitive search (default: false). |
180
178
| `includeCodeSnippets` | no | Include code snippets in results (default: false). |
181
-
| `gitRevision` | no | Git revision to search (e.g., 'main', 'develop', 'v1.0.0'). Defaults to HEAD. |
182
-
| `since` | no | Only search repos indexed after this date. Supports ISO 8601 or relative (e.g., "30 days ago"). |
183
-
| `until` | no | Only search repos indexed before this date. Supports ISO 8601 or relative (e.g., "yesterday"). |
184
179
| `maxTokens` | no | Max tokens to return (default: env.DEFAULT_MINIMUM_TOKENS). |
185
180
</details>
186
181
@@ -189,18 +184,14 @@ Fetches code that matches the provided regex pattern in `query`.
189
184
190
185
Lists repositories indexed by Sourcebot with optional filtering and pagination.
191
186
192
-
**Temporal Filtering**: Use `activeAfter` and `activeBefore` to filter by repository index time (when Sourcebot last indexed the repo). This is the same filtering behavior as `search_code`'s `since`/`until` parameters.
| `query` | no | Filter repositories by name (case-insensitive). |
193
+
| `pageNumber` | no | Page number (1-indexed, default: 1). |
194
+
| `limit` | no | Number of repositories per page (default: 50). |
204
195
205
196
</details>
206
197
@@ -219,11 +210,7 @@ Fetches the source code for a given file.
219
210
220
211
### search_commits
221
212
222
-
Searches for commits in a specific repository based on actual commit time (NOT index time).
223
-
224
-
**Requirements**: Repository must be cloned on the Sourcebot server disk. Sourcebot automatically clones repositories during indexing, but the cloning process may not be finished when this query is executed. Use `list_repos` first to get the repository ID.
225
-
226
-
**Date Formats**: Supports ISO 8601 dates (e.g., "2024-01-01") and relative formats (e.g., "30 days ago", "last week", "yesterday").
213
+
Searches for commits in a specific repository based on actual commit time.
227
214
228
215
<details>
229
216
<summary>Parameters</summary>
@@ -239,17 +226,6 @@ Searches for commits in a specific repository based on actual commit time (NOT i
0 commit comments