| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8169d7de-1ee0-9c8d-4aec-4440d0bbac98 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A77E:267719:5D91C9:8106C5:6AFB3EBA |
| html-safe-nonce | 518d7fce3d9286a7749c577faa04a87eddcc90153b02763b7b2016c91599c9ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzdFOjI2NzcxOTo1RDkxQzk6ODEwNkM1OjZBRkIzRUJBIiwidmlzaXRvcl9pZCI6IjIxMTUzMzk2MjA2MzAzNDc0NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ec2f745f11e8e183dedfed183fa401f03431c74e4b2d2d8c647294815e5a21a6 |
| hovercard-subject-tag | pull_request:3045847397 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/2118/files |
| twitter:image | https://avatars.githubusercontent.com/u/17950982?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/17950982?s=400&v=4 |
| og:image:alt | Summary
Must track departed member usage so that is billed by the org.
Type of Change
Bug fix
Testing
Tested manually
Checklist
Code follows project style guidelines
Self-reviewed my changes
... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2169b0dfbef67ed6b128074a5ed45bb7d5d1859783b10178b09a7765ad5f3693 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b4fc8df5ef1c6757e733a23e6b81b6725021823 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/2118/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F2118%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F2118%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/2118/files |
| Reload | https://github.com/simstudioai/sim/pull/2118/files |
| Reload | https://github.com/simstudioai/sim/pull/2118/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests202 (202) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| icecrasher321 | https://github.com/icecrasher321 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/orgs-leave | https://github.com/simstudioai/sim/tree/fix/orgs-leave |
|
Conversation
3
| https://github.com/simstudioai/sim/pull/2118 |
|
Commits
12
| https://github.com/simstudioai/sim/pull/2118/commits |
|
Checks
8
| https://github.com/simstudioai/sim/pull/2118/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/2118/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/2118/files |
|
fix(team-plans): track departed member usage so value not lost
| https://github.com/simstudioai/sim/pull/2118/files#top |
|
Show all changes
12 commits
| https://github.com/simstudioai/sim/pull/2118/files |
|
8f0ef58
v0.5.7: combobox selectors, usage indicator, workflow loading race co…
icecrasher321 Nov 18, 2025
| https://github.com/simstudioai/sim/pull/2118/commits/8f0ef58056a9b291a8bc0db8dc57002722fbf870 |
|
31c34b2
v0.5.8: notifications, billing, ui changes, store loading state machine
icecrasher321 Nov 20, 2025
| https://github.com/simstudioai/sim/pull/2118/commits/31c34b2ea329134a52d03b3e8324a166eaded69a |
|
842ef27
v0.5.9: add backwards compatibility for agent messages array
waleedlatif1 Nov 20, 2025
| https://github.com/simstudioai/sim/pull/2118/commits/842ef27ed973ddae11613c0d5b79df806c7e4805 |
|
b7e814b
v0.5.10: copilot upgrade, preprocessor, logs search, UI, code hygiene
waleedlatif1 Nov 21, 2025
| https://github.com/simstudioai/sim/pull/2118/commits/b7e814b721e1d859f489b9e5b6740ee98cef565d |
|
ebcd243
v0.5.11: stt, videogen, vllm, billing fixes, new models
waleedlatif1 Nov 25, 2025
| https://github.com/simstudioai/sim/pull/2118/commits/ebcd243942e84956dc973784f5cb008cdf328be4 |
|
17050a9
fix(team-plans): track departed member usage so value not lost
Nov 26, 2025
| https://github.com/simstudioai/sim/pull/2118/commits/17050a9f402dfd3fc1addb4763744fba94c52b04 |
|
4bfe0aa
reset usage to 0 when they leave team
Nov 26, 2025
| https://github.com/simstudioai/sim/pull/2118/commits/4bfe0aa28fd195863451d6bce39618aa493e112e |
|
6ed462e
prep merge with stagig
Nov 30, 2025
| https://github.com/simstudioai/sim/pull/2118/commits/6ed462ee8c76250119de30486f989e83b1729840 |
|
69f53b5
Merge branch 'staging', remote-tracking branch 'origin' into fix/orgs…
Nov 30, 2025
| https://github.com/simstudioai/sim/pull/2118/commits/69f53b5994295be99ae42ce31965799b5ead356f |
|
b65ea19
Merge branch 'staging' into fix/orgs-leave
Nov 30, 2025
| https://github.com/simstudioai/sim/pull/2118/commits/b65ea19205baf769b432cb998197eb8ad0f05734 |
|
e9aea1b
regen migrations
Nov 30, 2025
| https://github.com/simstudioai/sim/pull/2118/commits/e9aea1b3433d582aee9c3dfe1eaff70b5c067b86 |
|
7b77604
fix org invite + ws selection'
Nov 30, 2025
| https://github.com/simstudioai/sim/pull/2118/commits/7b77604be87c662661f03a12ad24bf7553e1bc14 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/2118/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/2118/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/2118/files |
|
route.ts
| https://github.com/simstudioai/sim/pull/2118/files#diff-8205b4958735e09fb1107fdf14658f37910b3630405af4343c0fe9f41fb48409 |
|
team-management.tsx
| https://github.com/simstudioai/sim/pull/2118/files#diff-e1b6dc3b5d7970b378c7613553e2a6c22ee4c1e3a8515fc95a627d34e501051d |
|
organization.ts
| https://github.com/simstudioai/sim/pull/2118/files#diff-eca263c8433f31e546c7eee103fe8e5ec1d872317ba7c145bbad9b06f2120ae1 |
|
billing.ts
| https://github.com/simstudioai/sim/pull/2118/files#diff-8f738e7f1e712ec1d83df8990280101dbcade51209f4035b71d2e4ee805f9c81 |
|
seat-management.ts
| https://github.com/simstudioai/sim/pull/2118/files#diff-8a66703dcdfa1b3546e1482008a7a64fefd83cd98ddeb400b5aaf3ae3bcf39d8 |
|
invoices.ts
| https://github.com/simstudioai/sim/pull/2118/files#diff-cb16770e3a3f7d2310b9e577f462b86fa002021ebe8de3354280a114fdda92da |
|
0114_wise_sunfire.sql
| https://github.com/simstudioai/sim/pull/2118/files#diff-e912ffa209d7a0de739b98dacbc842d9db7e9af9a387ae1a64ce7aab568228ba |
|
0114_snapshot.json
| https://github.com/simstudioai/sim/pull/2118/files#diff-ad156c7a9f9e85c0dfac3b2bc537b22a6ce29e348eb18d3b0ef02d85a744df0e |
|
_journal.json
| https://github.com/simstudioai/sim/pull/2118/files#diff-37150cc65ad16ee6fbc5fa318fc096be7730e16d63eaf863e3df5521b7030649 |
|
schema.ts
| https://github.com/simstudioai/sim/pull/2118/files#diff-9a959e2ce3cb4c86957bbae021d06eae364f7b0cb18964f5873bab53220af928 |
| apps/sim/app/api/organizations/[id]/members/[memberId]/route.ts | https://github.com/simstudioai/sim/pull/2118/files#diff-8205b4958735e09fb1107fdf14658f37910b3630405af4343c0fe9f41fb48409 |
|
View file
| https://github.com/simstudioai/sim/blob/7b77604be87c662661f03a12ad24bf7553e1bc14/apps/sim/app/api/organizations/%5Bid%5D/members/%5BmemberId%5D/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/2118/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-8205b4958735e09fb1107fdf14658f37910b3630405af4343c0fe9f41fb48409 |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-8205b4958735e09fb1107fdf14658f37910b3630405af4343c0fe9f41fb48409 |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-8205b4958735e09fb1107fdf14658f37910b3630405af4343c0fe9f41fb48409 |
| ...ents/sidebar/components-new/settings-modal/components/team-management/team-management.tsx | https://github.com/simstudioai/sim/pull/2118/files#diff-e1b6dc3b5d7970b378c7613553e2a6c22ee4c1e3a8515fc95a627d34e501051d |
|
View file
| https://github.com/simstudioai/sim/blob/7b77604be87c662661f03a12ad24bf7553e1bc14/apps/sim/app/workspace/%5BworkspaceId%5D/w/components/sidebar/components-new/settings-modal/components/team-management/team-management.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/2118/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-e1b6dc3b5d7970b378c7613553e2a6c22ee4c1e3a8515fc95a627d34e501051d |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-e1b6dc3b5d7970b378c7613553e2a6c22ee4c1e3a8515fc95a627d34e501051d |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-e1b6dc3b5d7970b378c7613553e2a6c22ee4c1e3a8515fc95a627d34e501051d |
| apps/sim/hooks/queries/organization.ts | https://github.com/simstudioai/sim/pull/2118/files#diff-eca263c8433f31e546c7eee103fe8e5ec1d872317ba7c145bbad9b06f2120ae1 |
|
View file
| https://github.com/simstudioai/sim/blob/7b77604be87c662661f03a12ad24bf7553e1bc14/apps/sim/hooks/queries/organization.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/2118/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-eca263c8433f31e546c7eee103fe8e5ec1d872317ba7c145bbad9b06f2120ae1 |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-eca263c8433f31e546c7eee103fe8e5ec1d872317ba7c145bbad9b06f2120ae1 |
| apps/sim/lib/billing/core/billing.ts | https://github.com/simstudioai/sim/pull/2118/files#diff-8f738e7f1e712ec1d83df8990280101dbcade51209f4035b71d2e4ee805f9c81 |
|
View file
| https://github.com/simstudioai/sim/blob/7b77604be87c662661f03a12ad24bf7553e1bc14/apps/sim/lib/billing/core/billing.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/2118/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-8f738e7f1e712ec1d83df8990280101dbcade51209f4035b71d2e4ee805f9c81 |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-8f738e7f1e712ec1d83df8990280101dbcade51209f4035b71d2e4ee805f9c81 |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-8f738e7f1e712ec1d83df8990280101dbcade51209f4035b71d2e4ee805f9c81 |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-8f738e7f1e712ec1d83df8990280101dbcade51209f4035b71d2e4ee805f9c81 |
| apps/sim/lib/billing/validation/seat-management.ts | https://github.com/simstudioai/sim/pull/2118/files#diff-8a66703dcdfa1b3546e1482008a7a64fefd83cd98ddeb400b5aaf3ae3bcf39d8 |
|
View file
| https://github.com/simstudioai/sim/blob/7b77604be87c662661f03a12ad24bf7553e1bc14/apps/sim/lib/billing/validation/seat-management.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/2118/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-8a66703dcdfa1b3546e1482008a7a64fefd83cd98ddeb400b5aaf3ae3bcf39d8 |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-8a66703dcdfa1b3546e1482008a7a64fefd83cd98ddeb400b5aaf3ae3bcf39d8 |
| apps/sim/lib/billing/webhooks/invoices.ts | https://github.com/simstudioai/sim/pull/2118/files#diff-cb16770e3a3f7d2310b9e577f462b86fa002021ebe8de3354280a114fdda92da |
|
View file
| https://github.com/simstudioai/sim/blob/7b77604be87c662661f03a12ad24bf7553e1bc14/apps/sim/lib/billing/webhooks/invoices.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/2118/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-cb16770e3a3f7d2310b9e577f462b86fa002021ebe8de3354280a114fdda92da |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-cb16770e3a3f7d2310b9e577f462b86fa002021ebe8de3354280a114fdda92da |
|
| https://github.com/simstudioai/sim/pull/2118/files#diff-cb16770e3a3f7d2310b9e577f462b86fa002021ebe8de3354280a114fdda92da |
| packages/db/migrations/0114_wise_sunfire.sql | https://github.com/simstudioai/sim/pull/2118/files#diff-e912ffa209d7a0de739b98dacbc842d9db7e9af9a387ae1a64ce7aab568228ba |
|
View file
| https://github.com/simstudioai/sim/blob/7b77604be87c662661f03a12ad24bf7553e1bc14/packages/db/migrations/0114_wise_sunfire.sql |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/2118/{{ revealButtonHref }} |
| Please reload this page | https://github.com/simstudioai/sim/pull/2118/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |