bkellam
d9ff676579
fix build
2025-11-22 13:25:05 -08:00
bkellam
ac19251cb5
feedback
2025-11-21 15:26:04 -08:00
bkellam
2f6fc04d3c
Support rev:* wildcard
2025-11-20 18:42:45 -08:00
bkellam
c477d760a7
style
2025-11-20 18:35:14 -08:00
bkellam
f52dfc77a7
type fix
2025-11-20 18:32:19 -08:00
bkellam
a6e40923c6
changelog wip
2025-11-20 17:29:29 -08:00
bkellam
93a3f89a70
update mcp
2025-11-20 17:27:35 -08:00
bkellam
55a3e9ef6a
error handling for stream path
2025-11-20 17:10:06 -08:00
bkellam
5c624cda4f
wip on better error handling
2025-11-20 16:47:54 -08:00
bkellam
1d1205f471
dev README
2025-11-20 16:09:57 -08:00
bkellam
ceee66ed46
refactor
2025-11-20 16:03:38 -08:00
bkellam
bddbb76a6a
refactor a bunch of stuff + add support for passing in Query IR to search api
2025-11-20 15:42:31 -08:00
bkellam
3fd5f49045
add repo_sets filter for repositories a user has access to
2025-11-20 12:40:20 -08:00
bkellam
aad3507cad
plumb file weburl
2025-11-19 22:14:55 -08:00
bkellam
696d06beeb
branch handling
2025-11-19 22:14:55 -08:00
bkellam
898c9097db
migrate blocking search over to grpc. Centralize everything in searchApi
2025-11-19 22:14:55 -08:00
bkellam
afcc30dca4
remove zoekt tenant enforcement
2025-11-19 22:14:55 -08:00
bkellam
d55dd13c1b
Add back posthog search_finished event
2025-11-19 22:14:55 -08:00
bkellam
9c9b6b9578
add isSearchExausted flag for flagging when a search captured all results
2025-11-19 22:14:55 -08:00
bkellam
5ab585c021
improved cancelation handling
2025-11-19 22:14:55 -08:00
bkellam
c7ba32f3bd
add client side caching
2025-11-19 22:14:55 -08:00
bkellam
74376c022a
Add skeletons to filter panel when search is streaming
2025-11-19 22:14:55 -08:00
bkellam
b09def9ddd
fix filter
2025-11-19 22:14:55 -08:00
bkellam
307e17e8d6
support search contexts
2025-11-19 22:14:55 -08:00
bkellam
e6859cbf5c
Improved type safety / cleanup for query lang
2025-11-19 22:14:55 -08:00
bkellam
69e0a1a101
Add case sensitivity and regexp toggles
2025-11-19 22:14:55 -08:00
bkellam
b966b63976
further wip on query language
2025-11-19 22:14:55 -08:00
bkellam
46c8d607e3
remove spammy log message
2025-11-19 22:14:55 -08:00
bkellam
8dce2aaac3
add lezer tree -> grpc transformer
2025-11-19 22:14:55 -08:00
bkellam
cfdadf29e0
wip on lezer parser grammar for query language
2025-11-19 22:14:55 -08:00
bkellam
9f66c458c4
fix scrolling issue
2025-11-19 22:14:55 -08:00
bkellam
9cd32362e8
wip: make stream search api follow existing schema. Modify UI to support streaming
2025-11-19 22:14:55 -08:00
bkellam
cca3d30b4a
stream poc over SSE
2025-11-19 22:14:55 -08:00
bkellam
a040ee1e07
generate protobuf types
2025-11-19 22:14:55 -08:00
Brendan Kellam
09507d3e89
fix(worker): Permission syncer fixes ( #624 )
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Has been cancelled
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Has been cancelled
Update Roadmap Released / update (push) Has been cancelled
Publish to ghcr / merge (push) Has been cancelled
2025-11-19 22:14:23 -08:00
Brendan Kellam
97dd54d48f
chore(web): Add count to members / requests / invites tabs in settings ( #621 )
Update Roadmap Released / update (push) Has been cancelled
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Has been cancelled
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Has been cancelled
Publish to ghcr / merge (push) Has been cancelled
2025-11-18 10:41:40 -08:00
bkellam
831197980c
release @sourcebot/mcp v1.0.9
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Waiting to run
Publish to ghcr / merge (push) Blocked by required conditions
Update Roadmap Released / update (push) Waiting to run
2025-11-17 17:11:03 -08:00
Teddy Reinert
9bee8c2c59
feat(mcp): Add pagination and filtering to list_repos tool ( #614 )
...
* feat(mcp): Add pagination and filtering to list_repos tool
Fixes #566
- Add query parameter to filter repositories by name
- Add pageNumber and limit parameters for pagination
- Include pagination info in response when applicable
- Add listReposRequestSchema for request validation
- Update README with new list_repos parameters
* feat(mcp): Sort repositories alphabetically for consistent pagination
Fixes #566
- Updated CHANGELOG.md with pagination and filtering changes
---------
Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
2025-11-17 17:08:20 -08:00
Jose Hernandez
e20d514569
feat(bitbucket): support glob patterns in repository exclusions ( #620 )
...
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Waiting to run
Publish to ghcr / merge (push) Blocked by required conditions
Update Roadmap Released / update (push) Waiting to run
* feat(bitbucket): support glob patterns in repository exclusions
Update Bitbucket Cloud and Server exclusion logic to support glob
patterns (e.g., "org/repo*") in the exclude.repos configuration,
matching the documented behavior and aligning with other providers
(GitHub, GitLab, Gitea, Azure DevOps).
Changes:
- Add micromatch import for pattern matching
- Replace Array.includes() with micromatch.isMatch() in
cloudShouldExcludeRepo and serverShouldExcludeRepo functions
- Add reason logging for exclusion decisions to match GitHub's pattern
This enables users to exclude repositories using wildcard patterns
as documented in the Bitbucket Cloud connection documentation.
* update changelog
---------
Co-authored-by: Jose Hernandez <jose.hernandez@emilabs.ai>
Co-authored-by: bkellam <bshizzle1234@gmail.com>
2025-11-17 14:33:39 -08:00
Michael Sukkarieh
1dff20d47a
fix(ee): Wipe search contexts on init if we no longer have the entitlement ( #618 )
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Has been cancelled
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Has been cancelled
Update Roadmap Released / update (push) Has been cancelled
Publish to ghcr / merge (push) Has been cancelled
2025-11-13 21:29:51 -08:00
Brendan Kellam
fbe1073d0e
fix(web): Fix loading issues with references / definitions list ( #617 )
2025-11-13 17:21:48 -08:00
Brendan Kellam
2e959b7d59
feat(web): Add env var to configure default max match count ( #616 )
2025-11-13 00:06:23 -08:00
Brendan Kellam
a814bd6f7e
fix(web): Search performance improvements ( #615 )
2025-11-12 23:20:26 -08:00
Brendan Kellam
06c84f0bf5
fix(worker): Fix issue where connections would always sync on startup ( #613 )
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Has been cancelled
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Has been cancelled
Update Roadmap Released / update (push) Has been cancelled
Publish to ghcr / merge (push) Has been cancelled
2025-11-11 20:31:08 -08:00
Brendan Kellam
903d15a2c5
fix(worker): Fix issues with gracefully shutting down ( #612 )
2025-11-11 20:11:59 -08:00
Brendan Kellam
18fad64baa
feat(web): Add force resync buttons for repo & connections ( #610 )
2025-11-11 15:16:40 -08:00
bkellam
2dfafdae41
release @sourcebot/mcp v1.0.8
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Waiting to run
Publish to ghcr / merge (push) Blocked by required conditions
Update Roadmap Released / update (push) Waiting to run
2025-11-10 15:32:32 -08:00
Wayne Sun
278c0dc556
fix: return truncated content when token limit exceeded in MCP search_code ( #604 )
...
When search results exceed maxTokens limit, now returns partial truncated
content instead of discarding the file completely.
Changes:
- Calculate remaining token budget before breaking
- Truncate file content to fit within remaining tokens (if > 100 tokens left)
- Append truncation marker to indicate content was cut off
- Still add truncation message at end of all results
Benefits:
- Users get partial data instead of nothing
- Better debugging and analysis experience
- More useful for AI-powered code analysis tasks
- Consistent with expected behavior when limits are reached
Example: If file would use 10K tokens but only 2K remain, return
first ~8K chars of content + truncation marker instead of dropping it.
Signed-off-by: Wayne Sun <gsun@redhat.com>
2025-11-10 15:23:56 -08:00
Brendan Kellam
6f64d5bb8d
fix(worker): Run setInterval as blocking ( #607 )
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Waiting to run
Publish to ghcr / merge (push) Blocked by required conditions
Update Roadmap Released / update (push) Waiting to run
2025-11-09 14:49:24 -08:00
Brendan Kellam
1be6e8842e
fix(worker): properly shutdown PostHog client ( #609 )
2025-11-09 14:30:01 -08:00