You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### Changed
11
+
- Increased `SOURCEBOT_CHAT_MAX_STEP_COUNT` default from 20 to 100 to allow agents to perform more autonomous steps. [#1017](https://github.com/sourcebot-dev/sourcebot/pull/1017)
12
+
13
+
## [4.15.9] - 2026-03-17
14
+
15
+
### Added
16
+
- Added read-only annotations to MCP tools for compatibility with Cursor Ask mode and other MCP clients that restrict tool usage based on behavior hints. [#1013](https://github.com/sourcebot-dev/sourcebot/pull/1013)
17
+
18
+
## [4.15.8] - 2026-03-17
19
+
20
+
### Added
21
+
- Added support for connecting to Redis over TLS via `REDIS_TLS_ENABLED` and related environment variables. [#1011](https://github.com/sourcebot-dev/sourcebot/pull/1011)
22
+
23
+
### Changed
24
+
-`filterByFilepaths` in the MCP `search_code` tool now accepts regular expressions matched against the full file path, instead of treating values as escaped literals. [#1008](https://github.com/sourcebot-dev/sourcebot/pull/1008)
25
+
26
+
### Fixed
27
+
- Connection sync job failures now log the actual error reason instead of a generic message. [#1012](https://github.com/sourcebot-dev/sourcebot/pull/1012)
28
+
29
+
## [4.15.7] - 2026-03-16
30
+
10
31
### Added
11
32
- Added AGENTS.md with Cursor Cloud development environment instructions. [#1001](https://github.com/sourcebot-dev/sourcebot/pull/1001)
12
33
- Added support for configuring SMTP via individual environment variables (SMTP_HOST, SMTP_PORT, SMTP_USERNAME, SMTP_PASSWORD) as an alternative to SMTP_CONNECTION_URL. [#1002](https://github.com/sourcebot-dev/sourcebot/pull/1002)
34
+
- Added `DISABLE_API_KEY_CREATION_FOR_NON_OWNER_USERS` and `DISABLE_API_KEY_USAGE_FOR_NON_OWNER_USERS` environment variables to restrict API key creation and usage to organization owners. [#1007](https://github.com/sourcebot-dev/sourcebot/pull/1007)
35
+
36
+
### Changed
37
+
- Deprecated `EXPERIMENT_DISABLE_API_KEY_CREATION_FOR_NON_ADMIN_USERS` in favour of `DISABLE_API_KEY_CREATION_FOR_NON_OWNER_USERS`. The old variable will continue to work as a fallback. [#1007](https://github.com/sourcebot-dev/sourcebot/pull/1007)
Copy file name to clipboardExpand all lines: docs/docs/configuration/environment-variables.mdx
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ The following environment variables allow you to configure your Sourcebot deploy
23
23
| `FORCE_ENABLE_ANONYMOUS_ACCESS` | `false` | <p>When enabled, [anonymous access](/docs/configuration/auth/access-settings#anonymous-access) to the organization will always be enabled</p>
24
24
| `REQUIRE_APPROVAL_NEW_MEMBERS` | - | <p>When set, controls whether new users require approval before accessing your deployment. If not set, the setting can be configured via the UI. See [member approval](/docs/configuration/auth/access-settings#member-approval) for more info.</p>
25
25
|`REDIS_DATA_DIR`|`$DATA_CACHE_DIR/redis`| <p>The data directory for the default Redis instance.</p> |
26
-
|`REDIS_URL`|`redis://localhost:6379`| <p>Connection string of your Redis instance. By default, a Redis database is automatically provisioned at startup within the container.</p> |
26
+
|`REDIS_URL`|`redis://localhost:6379`| <p>Connection string of your Redis instance. By default, a Redis database is automatically provisioned at startup within the container.</p><p>To enable TLS, see [this doc](/docs/deployment/infrastructure/redis#tls).</p>|
27
27
|`REDIS_REMOVE_ON_COMPLETE`|`0`| <p>Controls how many completed jobs are allowed to remain in Redis queues</p> |
28
28
|`REDIS_REMOVE_ON_FAIL`|`100`| <p>Controls how many failed jobs are allowed to remain in Redis queues</p> |
29
29
|`REPO_SYNC_RETRY_BASE_SLEEP_SECONDS`|`60`| <p>The base sleep duration (in seconds) for exponential backoff when retrying repository sync operations that fail</p> |
@@ -53,6 +53,9 @@ The following environment variables allow you to configure your Sourcebot deploy
53
53
|`PERMISSION_SYNC_REPO_DRIVEN_ENABLED`|`true`| <p>Enables/disables [repo-driven permission syncing](/docs/features/permission-syncing#how-it-works). Only applies when `PERMISSION_SYNC_ENABLED` is `true`.</p> |
54
54
|`EXPERIMENT_EE_PERMISSION_SYNC_ENABLED`**(deprecated)**|`false`| <p>Deprecated. Use `PERMISSION_SYNC_ENABLED` instead.</p> |
55
55
|`AUTH_EE_ALLOW_EMAIL_ACCOUNT_LINKING`|`true`| <p>When enabled, different SSO accounts with the same email address will automatically be linked.</p> |
56
+
|`DISABLE_API_KEY_CREATION_FOR_NON_OWNER_USERS`|`false`| <p>When enabled, only organization owners can create API keys. Non-owner members will receive a `403` error if they attempt to create one.</p> |
57
+
|`EXPERIMENT_DISABLE_API_KEY_CREATION_FOR_NON_ADMIN_USERS`**(deprecated)**|`false`| <p>Deprecated. Use `DISABLE_API_KEY_CREATION_FOR_NON_OWNER_USERS` instead.</p> |
58
+
|`DISABLE_API_KEY_USAGE_FOR_NON_OWNER_USERS`|`false`| <p>When enabled, only organization owners can create or use API keys. Non-owner members will receive a `403` error if they attempt to create or authenticate with an API key. If you only want to restrict creation (not usage), use `DISABLE_API_KEY_CREATION_FOR_NON_OWNER_USERS` instead.</p> |
Sourcebot uses Redis as a job queue for background indexing work.
7
+
8
+
## TLS
9
+
10
+
To enable TLS for your Redis connection, set `REDIS_TLS_ENABLED=true`. You can also enable TLS implicitly by using a `rediss://` connection string in `REDIS_URL`.
11
+
12
+
| Variable | Default | Description |
13
+
| :------- | :------ | :---------- |
14
+
|`REDIS_TLS_ENABLED`|`false`| Enable TLS for the Redis connection. Alternatively, enable tls via `rediss://` connection string. |
15
+
|`REDIS_TLS_CA_PATH`| - | Path to the CA certificate for the Redis connection. |
16
+
|`REDIS_TLS_CERT_PATH`| - | Path to the certificate for the Redis connection. |
17
+
|`REDIS_TLS_KEY_PATH`| - | Path to the private key for the Redis connection. |
18
+
|`REDIS_TLS_KEY_PASSPHRASE`| - | Passphrase for encrypted private keys. Required if your TLS private key is password-protected. |
19
+
|`REDIS_TLS_SERVERNAME`| - | Server name for SNI (Server Name Indication). Useful when connecting to Redis through a proxy or with custom certificates. |
20
+
|`REDIS_TLS_REJECT_UNAUTHORIZED`|`true`| Set to `false` to disable certificate validation. Not recommended for production. When not set, defaults to Node.js secure behavior. |
21
+
|`REDIS_TLS_CHECK_SERVER_IDENTITY`| - | Set to `false` to bypass server identity checking. Use with caution in enterprise environments with custom certificate setups. |
22
+
|`REDIS_TLS_SECURE_PROTOCOL`| - | TLS protocol version (e.g., `TLSv1_2_method`, `TLSv1_3_method`). Uses Node.js defaults when not set. |
23
+
|`REDIS_TLS_CIPHERS`| - | Custom cipher suite configuration. Allows specification of allowed TLS ciphers for enhanced security requirements. |
24
+
|`REDIS_TLS_HONOR_CIPHER_ORDER`| - | Set to `true` to use server’s cipher order preference instead of client’s. Useful for enforcing security policies. |
0 commit comments