Commit ba085a9
Mcp undefined filename bug (#718)
* fix(mcp): Use fileName.text as fallback when webUrl is undefined for local repos
For local repositories, the webUrl field is undefined since there's no
web hosting URL. This fix makes both search_code and list_repos tools
fallback to the fileName.text and repoCloneUrl respectively when webUrl
is not available.
* fix fields and changelog
* Move MCP changelog entry to MCP package changelog
Moved the changelog entry for PR #718 from the main CHANGELOG.md to
packages/mcp/CHANGELOG.md as requested.
Co-authored-by: brendan <brendan@sourcebot.dev>
* revert back to original changes
* fix changelog entry
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: brendan <brendan@sourcebot.dev>1 parent a14f0c2 commit ba085a9
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| 204 | + | |
203 | 205 | | |
204 | 206 | | |
205 | | - | |
| 207 | + | |
206 | 208 | | |
207 | 209 | | |
208 | 210 | | |
| |||
0 commit comments