Brendan Kellam
3dc5019ea2
chore: revert @modelcontextprotocol/sdk ( #688 )
2025-12-22 15:44:25 -05:00
Brendan Kellam
496e066049
bump posthog deps ( #686 )
Update Roadmap Released / update (push) Has been cancelled
2025-12-18 21:24:54 -05:00
Brendan Kellam
dc1bd48919
bump deps ( #685 )
2025-12-18 21:24:28 -05:00
dependabot[bot]
a823acd09c
chore(deps): bump @modelcontextprotocol/sdk from 1.10.2 to 1.24.0 ( #683 )
...
Bumps [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk ) from 1.10.2 to 1.24.0.
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases )
- [Commits](https://github.com/modelcontextprotocol/typescript-sdk/compare/1.10.2...1.24.0 )
---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
dependency-version: 1.24.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
2025-12-18 20:58:19 -05:00
dependabot[bot]
7d999835c5
chore(deps): bump jws from 4.0.0 to 4.0.1 ( #684 )
...
Bumps [jws](https://github.com/brianloveswords/node-jws ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/brianloveswords/node-jws/releases )
- [Changelog](https://github.com/auth0/node-jws/blob/master/CHANGELOG.md )
- [Commits](https://github.com/brianloveswords/node-jws/compare/v4.0.0...v4.0.1 )
---
updated-dependencies:
- dependency-name: jws
dependency-version: 4.0.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-18 20:57:08 -05:00
dependabot[bot]
8f62c6551d
chore(deps): bump vite from 5.4.14 to 5.4.21 ( #682 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.4.14 to 5.4.21.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.21/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.21/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 5.4.21
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
2025-12-18 20:28:27 -05:00
dependabot[bot]
3a59a044a7
chore(deps): bump glob from 11.0.1 to 11.1.0 ( #681 )
...
Bumps [glob](https://github.com/isaacs/node-glob ) from 11.0.1 to 11.1.0.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v11.0.1...v11.1.0 )
---
updated-dependencies:
- dependency-name: glob
dependency-version: 11.1.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-18 20:27:54 -05:00
Brendan Kellam
693da36f0c
chore(web): Bump next to 15.5.9 to fix CVE-2025-55184 and CVE-2025-55183 ( #673 )
2025-12-12 12:42:58 -08:00
Brendan Kellam
bcca1d6d7d
chore(web): Fix mistake of upgrading to a breaking version of next ( #656 )
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-12-03 17:12:10 -08:00
Brendan Kellam
76dc2f5a12
chore(web): Server side search telemetry ( #652 )
2025-12-03 16:04:36 -08:00
Brendan Kellam
7fc068f8b2
fix(web): Fix CVE 2025-55182 ( #654 )
2025-12-03 15:59:43 -08:00
Brendan Kellam
f1dd16be82
fix(web): Ask sourcebot perf improvements ( #632 )
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-27 16:56:11 -08:00
Brendan Kellam
f3a8fa3dab
feat(web): Streamed code search ( #623 )
...
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
* generate protobuf types
* stream poc over SSE
* wip: make stream search api follow existing schema. Modify UI to support streaming
* fix scrolling issue
* Dockerfile
* wip on lezer parser grammar for query language
* add lezer tree -> grpc transformer
* remove spammy log message
* fix syntax highlighting by adding a module resolution for @lezer/common
* further wip on query language
* Add case sensitivity and regexp toggles
* Improved type safety / cleanup for query lang
* support search contexts
* update Dockerfile with query langauge package
* fix filter
* Add skeletons to filter panel when search is streaming
* add client side caching
* improved cancelation handling
* add isSearchExausted flag for flagging when a search captured all results
* Add back posthog search_finished event
* remove zoekt tenant enforcement
* migrate blocking search over to grpc. Centralize everything in searchApi
* branch handling
* plumb file weburl
* add repo_sets filter for repositories a user has access to
* refactor a bunch of stuff + add support for passing in Query IR to search api
* refactor
* dev README
* wip on better error handling
* error handling for stream path
* update mcp
* changelog wip
* type fix
* style
* Support rev:* wildcard
* changelog
* changelog nit
* feedback
* fix build
* update docs and remove uneeded test file
2025-11-22 15:33:31 -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
18fad64baa
feat(web): Add force resync buttons for repo & connections ( #610 )
2025-11-11 15:16:40 -08:00
Brendan Kellam
1908051daa
feat(web,worker): Environment overrides ( #597 )
2025-11-04 21:22:31 -08:00
Brendan Kellam
26ec7af7f0
feat(worker,web): Support google secrets as a token type ( #594 )
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-01 22:02:55 -07:00
Brian Phillips
58456d616b
add p-limit to GitHub API calls to avoid overwhelming the node process (or the API rate limits) ( #591 )
2025-10-31 14:49:43 -07:00
Brendan Kellam
384aa9ebe6
fix(web): Fix "The account is already associated with another user" errors when signing in with GitLab ( #584 )
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
2025-10-29 21:25:48 -07:00
Brendan Kellam
a167accd7e
feat(worker,web): Improved connection management ( #579 )
2025-10-28 21:31:28 -07:00
Michael Sukkarieh
c2299aa86b
feat(auth): github app ( #570 )
...
* properly handle emails for github app auth case
* add docs info for auth through github app
* more info in docs for user auth perms
* modify review agent env var names
* github app service auth
* coderabbit suggestions
* fixes
* fix build
2025-10-21 20:17:28 -07:00
Brendan Kellam
4ebe4e0475
chore(worker,web): Repo indexing stability improvements + perf improvements to web ( #563 )
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-10-18 16:31:22 -07:00
Michael Sukkarieh
e7fa4c4765
feat(connections): Add Azure Devops Support ( #514 )
...
* initial ado pol
* add support for ado logo
* default to main instead of HEAD when generating file url
* bump zoekt
* fix(web) Fix "At least one project, user, or group must be specified" for GitLab configs in web configurator (#512 )
* feat(ask_sb): Fallback on fromNodeProviderChain if access key or sessionToken are not provided (#513 )
* Quote branches argument in zoekt.ts to fix Pipe (#506 )
* remove connections settings page
* fix styling and remove additional components
* add changelog
* add docs
* fix build error
* bump zoekt
* fix broken links for ado docs
* fix HEAD support for ado
* changelog
---------
Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
Co-authored-by: Michael Dekoski <michaeldekoski@gmail.com>
2025-09-17 22:18:56 -07:00
Brendan Kellam
f73a425207
feat(ask_sb): Fallback on fromNodeProviderChain if access key or sessionToken are not provided ( #513 )
2025-09-17 13:07:45 -07:00
Brendan Kellam
c9e864d53a
fix(web): Fix carousel perf issue + improvements to withAuth middleware ( #507 )
2025-09-15 23:13:29 -07:00
Brendan Kellam
d9fa221d72
chore(web): Upgrade to NextJS 15 ( #477 )
2025-08-22 14:48:29 -04:00
Brendan Kellam
26c553c1c3
chore(ask_sb): Bump AI SDK libs ( #444 )
2025-08-07 13:16:53 -07:00
Brendan Kellam
65d3cd9dc6
feat(ask_sb): OpenAI compatible language models ( #424 )
...
* wip
* docs + add option for api key
* feedback
* nit
2025-08-04 17:25:54 -07:00
Brendan Kellam
14900e47e7
chore(ask_sb): Bump Vercel SDK to official V5 release 🎉 ( #417 )
2025-07-31 17:50:31 -07:00
dependabot[bot]
50dc59886a
chore(deps): bump form-data from 4.0.2 to 4.0.4 ( #407 )
...
* chore(deps): bump form-data from 4.0.2 to 4.0.4
Bumps [form-data](https://github.com/form-data/form-data ) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases )
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md )
- [Commits](https://github.com/form-data/form-data/compare/v4.0.2...v4.0.4 )
---
updated-dependencies:
- dependency-name: form-data
dependency-version: 4.0.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* changelog
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: bkellam <bshizzle1234@gmail.com>
2025-07-28 23:20:59 -07:00
dependabot[bot]
104c8a8416
chore(deps): bump next from 14.2.26 to 14.2.30 ( #406 )
...
* chore(deps): bump next from 14.2.26 to 14.2.30
Bumps [next](https://github.com/vercel/next.js ) from 14.2.26 to 14.2.30.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v14.2.26...v14.2.30 )
---
updated-dependencies:
- dependency-name: next
dependency-version: 14.2.30
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* changelog
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: bkellam <bshizzle1234@gmail.com>
2025-07-28 22:05:15 -07:00
Brendan Kellam
da6e913628
chore(ask_sb): Bump AI SDK dependencies ( #404 )
...
* w
* changelog
2025-07-28 20:38:16 -07:00
Brendan Kellam
3e50469cf7
fix(web): Fix multiple writes race condition on config file watcher ( #398 )
2025-07-26 16:42:25 -07:00
Brendan Kellam
41addb50a7
fix(ask_sb): Various improvements to the references system ( #396 )
2025-07-25 18:34:33 -07:00
bkellam
1cc23818c2
Update AI SDK dependencies
2025-07-24 16:14:59 -07:00
msukkari
da8d49f8d9
add additional model providers
2025-07-23 16:53:43 -07:00
Brendan Kellam
2b0dac4782
feat: Ask Sourcebot ( #392 )
...
Co-authored-by: msukkari <michael.sukkarieh@mail.mcgill.ca>
2025-07-23 11:25:15 -07:00
Michael Sukkarieh
1c790ec169
Adds code navigation and highlighting support for Tcl ( #362 )
...
* use new tcl codemirror package
* update to new tcl version:
* add changelog entry
2025-06-21 12:10:11 -07:00
Michael Sukkarieh
4bb93c9f3e
feat(analytics): Adds analytics dashboard ( #358 )
...
* add deps
* hook up dau from audit table to analytics page
* add audit event for code nav
* analytics dashboard
* add changelog entry
* add news entry
* smaller video and news data nit
* feedback
2025-06-20 14:57:05 -07:00
Brendan Kellam
22d548e171
fix(search-contexts): Fix issue where a repository would not appear in a search context if it was created after the search context was created ( #354 )
...
## Problem
If a repository is added **after** a search context (e.g., a new repository is synced from the code host), then it will never be added to the context even if it should be included. The workaround is to restart the instance.
## Solution
This PR adds a call to re-sync all search contexts whenever a connection is successfully synced. This PR adds the `@sourcebot/shared` package that contains `syncSearchContexts.ts` (previously in web) and it's dependencies (namely the entitlements system).
## Why another package?
Because the `syncSearchContexts` call is now called from:
1. `initialize.ts` in **web** - handles syncing search contexts on startup and whenever the config is modified in watch mode. This is the same as before.
2. `connectionManager.ts` in **backend** - syncs the search contexts whenever a connection is successfully synced.
## Follow-up devex work
Two things:
1. We have several very thin shared packages (i.e., `crypto`, `error`, and `logger`) that we can probably fold into this "general" shared package. `schemas` and `db` _feels_ like they should remain separate (mostly because they are "code-gen" packages).
2. When running `yarn dev`, any changes made to the shared package will only get picked if you `ctrl+c` and restart the instance. Would be nice if we have watch mode work across package dependencies in the monorepo.
2025-06-17 14:04:25 -07:00
Brendan Kellam
cf8fdd94f6
chore: Move bitbucket dependency to backend from workspace root ( #351 )
2025-06-13 16:53:05 -07:00
Brendan Kellam
27fb5ad294
feature: File explorer ( #336 )
2025-06-06 12:38:16 -07:00
Michael Sukkarieh
8dc41a22b9
Fix repo images in authed instance case and add manifest json ( #332 )
...
* wip fix repo images
* fix config imports
* add manifest json
* more logos for manifest
* add properly padded icon
* support old gitlab token case, simplify getImage action, feedback
* add changelog entry
* fix build error
2025-06-06 10:50:13 -07:00
Michael Sukkarieh
9227b3caba
Add support for GCP IAP JIT account provisioning ( #330 )
...
* initial gcp iap implementation
* gcp iap working
* add docs for gcp iap
* feedback
* changelog
2025-06-03 19:28:38 -07:00
Michael Sukkarieh
3b36ffa17e
Add support for structured logs ( #323 )
...
* wip on refactoring docs
* wip
* initial structured logs impl
* structured log docs
* create logger package
* add news entry for structured logging
* add logger package to dockerfile and cleanup
* add gh workflow for catching broken links
* further wip
* fix
* further wip on docs
* review feedback
* remove logger dep from mcp package
* fix build errors
* add back auth_url warning
* fix sidebar title consistency
---------
Co-authored-by: bkellam <bshizzle1234@gmail.com>
2025-06-02 11:16:01 -07:00
Michael Sukkarieh
60a3528394
V4 ( #311 )
...
Sourcebot V4 introduces authentication, performance improvements and code navigation. Checkout the [migration guide](https://docs.sourcebot.dev/self-hosting/upgrade/v3-to-v4-guide ) for information on upgrading your instance to v4.
### Changed
- [**Breaking Change**] Authentication is now required by default. Notes:
- When setting up your instance, email / password login will be the default authentication provider.
- The first user that logs into the instance is given the `owner` role. ([docs](https://docs.sourcebot.dev/docs/more/roles-and-permissions )).
- Subsequent users can request to join the instance. The `owner` can approve / deny requests to join the instance via `Settings` > `Members` > `Pending Requests`.
- If a user is approved to join the instance, they are given the `member` role.
- Additional login providers, including email links and SSO, can be configured with additional environment variables. ([docs](https://docs.sourcebot.dev/self-hosting/configuration/authentication )).
- Clicking on a search result now takes you to the `/browse` view. Files can still be previewed by clicking the "Preview" button or holding `Cmd` / `Ctrl` when clicking on a search result. [#315 ](https://github.com/sourcebot-dev/sourcebot/pull/315 )
### Added
- [Sourcebot EE] Added search-based code navigation, allowing you to jump between symbol definition and references when viewing source files. [Read the documentation](https://docs.sourcebot.dev/docs/search/code-navigation ). [#315 ](https://github.com/sourcebot-dev/sourcebot/pull/315 )
- Added collapsible filter panel. [#315 ](https://github.com/sourcebot-dev/sourcebot/pull/315 )
### Fixed
- Improved scroll performance for large numbers of search results. [#315 ](https://github.com/sourcebot-dev/sourcebot/pull/315 )
2025-05-28 16:08:42 -07:00
Brendan Kellam
1aafc228cf
feat: Generic git host support (local & remote) ( #307 )
2025-05-15 13:42:58 -07:00
Michael Sukkarieh
e64f37178a
Review Agent ( #298 )
...
* push review agent implementation
* feedback
* wip integrating review agent into monorepo
* move review agent to web
* feedback
* feedback
* add rate limit throttling to octokit
* configure agent ui in app
* docs
* add review command logic and add logging for review agent to data cache dir
* fix bug with llm returning multiple reviews in single invocation
* fix doc link bug
* feedback and improved docs for review agent
* review agent doc nits
* mcp doc nit
2025-05-12 12:10:01 -07:00
Brendan Kellam
873c9ef2a4
Sourcebot MCP ( #292 )
2025-05-07 16:21:05 -07:00
Brendan Kellam
eb10d599f3
chore: Sourcebot REST api surface ( #290 )
2025-05-03 11:33:58 -07:00