ZIm/crates/collab/src
Marshall Bowers 598939d186
collab: Refresh the user's LLM token when their subscription changes (#19281)
This PR makes it so collab will trigger a refresh for a user's LLM token
whenever their subscription changes.

This allows us to proactively push down changes to their subscription.

In order to facilitate this, the Stripe event processing has been moved
from the `api` service to the `collab` service in order to access the
RPC server.

Release Notes:

- N/A
2024-10-16 10:58:28 -04:00
..
api collab: Refresh the user's LLM token when their subscription changes (#19281) 2024-10-16 10:58:28 -04:00
bin Fix .env.toml paths (#15645) 2024-08-01 15:43:29 -04:00
db ssh remoting: Forward LSP logs to client (#19212) 2024-10-15 16:04:29 +02:00
llm collab: Don't record billing events if billing is not enabled (#19102) 2024-10-11 17:54:10 -04:00
rpc Remove old project search code path, bump min-supported zed version for collaboration (#18404) 2024-09-26 12:10:39 -07:00
tests Allow formatting selections via LSP (#18752) 2024-10-16 15:58:37 +02:00
api.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
auth.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
cents.rs collab: Add a Cents type (#18935) 2024-10-09 14:22:32 -04:00
clickhouse.rs collab: Fix writing LLM rate limit events to Clickhouse (#16367) 2024-08-16 14:03:34 -04:00
completion.rs Supermaven (#10788) 2024-05-03 12:50:42 -07:00
db.rs collab: Add billing preferences for maximum LLM monthly spend (#18948) 2024-10-09 16:29:07 -04:00
env.rs collab: Add support for reading boolean values from .env.toml (#16317) 2024-08-15 17:07:17 -04:00
errors.rs Remove more unused code related to GitHub auth and errors 2022-04-21 08:57:49 -06:00
executor.rs Remove 2 suffix for collab, rope, settings, menu 2024-01-03 12:29:16 -08:00
lib.rs collab: Make the StripeBilling object long-lived (#19090) 2024-10-11 15:15:08 -04:00
llm.rs Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00
main.rs collab: Refresh the user's LLM token when their subscription changes (#19281) 2024-10-16 10:58:28 -04:00
migrations.rs collab: Remove unused parameter to run_database_migrations (#15883) 2024-08-06 17:31:52 -04:00
rate_limiter.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
rpc.rs Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00
seed.rs collab: Seed GitHub users from static data (#18301) 2024-09-24 16:35:09 -04:00
stripe_billing.rs Prevent deadlock when create a new meter/price on Stripe (#19196) 2024-10-14 17:31:51 +02:00
tests.rs Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
user_backfiller.rs collab: Require github_user_created_at at ingress points (#17180) 2024-08-30 17:09:59 -04:00