Repository navigation
feat: add WarpGrep AI-powered codebase search tool #6685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 9 commits
e0baa7a
5c623aa
72b2bab
5c4f320
18c187d
870806b
5646d40
941efc5
4d66704
f076350
2ee083c
c28d1ea
da98f6e
160c9fc
08dbb3b
4adc1f0
fa8297f
aa2cd8f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,7 +43,16 @@ function createWorkerFetch(client: RpcClient): typeof fetch { | |
|
|
||
| function createEventSource(client: RpcClient): EventSource { | ||
| return { | ||
| on: (handler) => client.on<Event>("event", handler), | ||
| on: (handler) => { | ||
| const unsub1 = client.on<Event>("event", handler) | ||
| const unsub2 = client.on<{ directory: string; payload: Event }>("global.event", (evt) => | ||
| handler(evt.payload), | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Subscribing to both Useful? React with 👍 / 👎. |
||
| ) | ||
| return () => { | ||
| unsub1() | ||
| unsub2() | ||
| } | ||
| }, | ||
| } | ||
| } | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.