Feature · Library
Code search
See how the fast agent finds code in a repository.
How it works
What it shows
Repositories is one page with two views: Profiles and Code search. Choose Code search, then pick a connected GitHub repository. Type the change or code you want to find. Results show the matching files, exact lines and how the search ranked them.
The repository index builds in your browser. Open the search details to inspect the map, indexing progress and retrieval steps.
Where the work happens
The platform streams the repository's code files from GitHub to your browser. Your browser builds the index and answers the searches. Large data files and build output are not sent. The index stays in your browser for the next visit.
Limits
- A repository must be connected through GitHub, and your browser needs about 2 GB of free memory for a repository of 7,000 files.
- Git history is not sent, so the "recently changed" signal is off here.
Who can do what
Members can open Code search. Each download of a repository's code is recorded in the audit log.
From the help article Code search, checked against the product on .
What you can do
The operations this feature's screens call. Each one is POST /api/<name>, and the badge says who may call it.
MemberlistLensRepositoriesA member's read of the org's GitHub repositories.
Types:
Record<string, never>returnsListLensRepositoriesResult
ViewerlistConnectOptionsLists connect options.
Types:
EmptyRequestreturnsListResponse<ConnectOptionDto>
AdminNo API tokensconnectStartConnects the start.
Types:
ConnectStartRequestreturnsConnectStartResponse
AdmingetConnectGets the connect.
Types:
ConnectIdRequestreturnsConnectSessionDto
AdminNo API tokenscompleteConnectCompletes the connect.
Types:
CompleteConnectRequestreturnsConnectSessionDto
MemberaskLensModelA member's model call that reads the map top view (purpose `codelens`, the org's budget).
Types:
AskLensModelRequestreturnsAskLensModelResult
MemberNo API tokenslensQueryLens query.
Types:
LensQueryCallRequestreturnsLensExplain
MemberNo API tokenslensMapLens map.
Types:
LensMapCallRequestreturnsLensMapCallResult
MemberNo API tokenslensFileLens file.
Types:
LensFileCallRequestreturnsLensFileCallResult
MemberNo API tokenslensModelViewLens model view.
Types:
LensIndexRefreturnsLensModelView
Signed inNo API tokenslistMyFeedbackThe feedback you sent, newest first, with its status and the note from the platform team.
Types:
EmptyRequestreturnsimport('./help.js').ListFeedbackResult
Signed inNo API tokenssubmitFeedbackSends feedback to the platform's developers: a feature request, bug, question, praise or other, with an optional screenshot and app version. At most 20 per person per hour.
Types:
import('./help.js').SubmitFeedbackRequestreturnsimport('./help.js').FeedbackDto
Screens
What it records
The feature writes these events to the audit log, the permanent record of what happened.
- Data exported
- Integration changed
- Integration connect failed
- Integration connect started
- Integration connected