Feature · Library

Code search

See how the fast agent finds code in a repository.

Last changed

Generated from commit 3cf1087 ·

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.

  • listLensRepositories

    Member

    A member's read of the org's GitHub repositories.

    Types: Record<string, never> returns ListLensRepositoriesResult

  • listConnectOptions

    Viewer

    Lists connect options.

    Types: EmptyRequest returns ListResponse<ConnectOptionDto>

  • connectStart

    AdminNo API tokens

    Connects the start.

    Types: ConnectStartRequest returns ConnectStartResponse

  • getConnect

    Admin

    Gets the connect.

    Types: ConnectIdRequest returns ConnectSessionDto

  • completeConnect

    AdminNo API tokens

    Completes the connect.

    Types: CompleteConnectRequest returns ConnectSessionDto

  • askLensModel

    Member

    A member's model call that reads the map top view (purpose `codelens`, the org's budget).

    Types: AskLensModelRequest returns AskLensModelResult

  • lensQuery

    MemberNo API tokens

    Lens query.

    Types: LensQueryCallRequest returns LensExplain

  • lensMap

    MemberNo API tokens

    Lens map.

    Types: LensMapCallRequest returns LensMapCallResult

  • lensFile

    MemberNo API tokens

    Lens file.

    Types: LensFileCallRequest returns LensFileCallResult

  • lensModelView

    MemberNo API tokens

    Lens model view.

    Types: LensIndexRef returns LensModelView

  • listMyFeedback

    Signed inNo API tokens

    The feedback you sent, newest first, with its status and the note from the platform team.

    Types: EmptyRequest returns import('./help.js').ListFeedbackResult

  • submitFeedback

    Signed inNo API tokens

    Sends 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').SubmitFeedbackRequest returns import('./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

Generated from code at commit 3cf1087 ·

Turn the numbers into shipped work.

Crewshal runs these choices for you: a persistent AI worker with memory and rules, on your Claude and Codex subscriptions.