| 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:d6493fa7-2031-a521-8ea4-dc9975a7e9d6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 80F0:25245F:159BAE2:1D7E26D:6AFB79E7 |
| html-safe-nonce | 10e94a20d2f17698d227878fe22cc4d0dc5c25bbf0c0288177b448e211fe9622 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEYwOjI1MjQ1RjoxNTlCQUUyOjFEN0UyNkQ6NkFGQjc5RTciLCJ2aXNpdG9yX2lkIjoiODg3OTkzMzQ1Mjc5NTQ3NjQ1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9d114f190508fdae4585e83f5dbfe12c09f160ad4662cd603595291a221f7226 |
| hovercard-subject-tag | pull_request:3505933202 |
| 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/4062/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
Cleanup dead helpers for subscription state.
Type of Change
Bug fix
Other: Code quality improvement
Testing
Tested manually
Checklist
Code follows project style guidelines
Self-revie... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48 |
| 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 | 2e8872b770cc4d5d0cc1f2026afab747a268e2ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/4062/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4062%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%2F4062%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/4062/files |
| Reload | https://github.com/simstudioai/sim/pull/4062/files |
| Reload | https://github.com/simstudioai/sim/pull/4062/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/billing | https://github.com/simstudioai/sim/tree/fix/billing |
|
Conversation
10
| https://github.com/simstudioai/sim/pull/4062 |
|
Commits
4
| https://github.com/simstudioai/sim/pull/4062/commits |
|
Checks
11
| https://github.com/simstudioai/sim/pull/4062/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/4062/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/4062/files |
|
fix(subscription-state): remove dead code, change token route check
| https://github.com/simstudioai/sim/pull/4062/files#top |
|
Show all changes
4 commits
| https://github.com/simstudioai/sim/pull/4062/files |
|
5384452
fix(subscription-state): remove dead code, change token route check
Apr 8, 2026
| https://github.com/simstudioai/sim/pull/4062/commits/538445282e067648e1dfe617a96f1084526a2098 |
|
6ff9525
update tests
Apr 8, 2026
| https://github.com/simstudioai/sim/pull/4062/commits/6ff9525223829c25b5cc5a887a3c0baea2520972 |
|
a20688d
remove mock
Apr 8, 2026
| https://github.com/simstudioai/sim/pull/4062/commits/a20688ddb796ac06e722e123850b5c3ff7a5576e |
|
5b9a5c5
improve ux past usage limit
Apr 8, 2026
| https://github.com/simstudioai/sim/pull/4062/commits/5b9a5c5e4e5a82e7bd8e93eeb4760bbc6ed6f652 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/4062/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/4062/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/4062/files |
|
route.ts
| https://github.com/simstudioai/sim/pull/4062/files#diff-ccc69fabd0836100fb492649dc1fa5f9cc064e8803d32c5f4f39d79531f08ec2 |
|
user-input.tsx
| https://github.com/simstudioai/sim/pull/4062/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
use-speech-to-text.ts
| https://github.com/simstudioai/sim/pull/4062/files#diff-d4adf4899a91f6e26cba5844ac93d8663a3b24ac97d7245423b4dc197352fc69 |
|
subscription.ts
| https://github.com/simstudioai/sim/pull/4062/files#diff-ba28a867a18d2fec4e36fc5dea465c7dcfd8b755794a2e6ea72b0eec32fd99be |
|
index.ts
| https://github.com/simstudioai/sim/pull/4062/files#diff-7e618bf7ae9e7fd902caad102dcf958637d3709f85635fcec2fb050cf5357434 |
|
index.ts
| https://github.com/simstudioai/sim/pull/4062/files#diff-2c991739d046176f18f5bbca67c2876b4f55df57731c7a4f1b5ec1350ee7b45d |
|
chat-payload.test.ts
| https://github.com/simstudioai/sim/pull/4062/files#diff-10b6b7cbc51d0ac625c40ed9356221e5182ece201ab04f9f3a1b28175d5cbbef |
|
chat-payload.ts
| https://github.com/simstudioai/sim/pull/4062/files#diff-73ab03e3b309504005a2dd5e62ff85fe02b6617264c7814042a0cb694ffdfa60 |
|
billing.ts
| https://github.com/simstudioai/sim/pull/4062/files#diff-87f1d1816f8a5870b333edaad723cdc9473b1bf69dd99b30ea058b29e60b9cc1 |
| apps/sim/app/api/speech/token/route.ts | https://github.com/simstudioai/sim/pull/4062/files#diff-ccc69fabd0836100fb492649dc1fa5f9cc064e8803d32c5f4f39d79531f08ec2 |
|
View file
| https://github.com/simstudioai/sim/blob/5b9a5c5e4e5a82e7bd8e93eeb4760bbc6ed6f652/apps/sim/app/api/speech/token/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/4062/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-ccc69fabd0836100fb492649dc1fa5f9cc064e8803d32c5f4f39d79531f08ec2 |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-ccc69fabd0836100fb492649dc1fa5f9cc064e8803d32c5f4f39d79531f08ec2 |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-ccc69fabd0836100fb492649dc1fa5f9cc064e8803d32c5f4f39d79531f08ec2 |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-ccc69fabd0836100fb492649dc1fa5f9cc064e8803d32c5f4f39d79531f08ec2 |
| apps/sim/app/workspace/[workspaceId]/home/components/user-input/user-input.tsx | https://github.com/simstudioai/sim/pull/4062/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
View file
| https://github.com/simstudioai/sim/blob/5b9a5c5e4e5a82e7bd8e93eeb4760bbc6ed6f652/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/user-input/user-input.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/4062/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
| apps/sim/hooks/use-speech-to-text.ts | https://github.com/simstudioai/sim/pull/4062/files#diff-d4adf4899a91f6e26cba5844ac93d8663a3b24ac97d7245423b4dc197352fc69 |
|
View file
| https://github.com/simstudioai/sim/blob/5b9a5c5e4e5a82e7bd8e93eeb4760bbc6ed6f652/apps/sim/hooks/use-speech-to-text.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/4062/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-d4adf4899a91f6e26cba5844ac93d8663a3b24ac97d7245423b4dc197352fc69 |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-d4adf4899a91f6e26cba5844ac93d8663a3b24ac97d7245423b4dc197352fc69 |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-d4adf4899a91f6e26cba5844ac93d8663a3b24ac97d7245423b4dc197352fc69 |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-d4adf4899a91f6e26cba5844ac93d8663a3b24ac97d7245423b4dc197352fc69 |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-d4adf4899a91f6e26cba5844ac93d8663a3b24ac97d7245423b4dc197352fc69 |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-d4adf4899a91f6e26cba5844ac93d8663a3b24ac97d7245423b4dc197352fc69 |
| apps/sim/lib/billing/core/subscription.ts | https://github.com/simstudioai/sim/pull/4062/files#diff-ba28a867a18d2fec4e36fc5dea465c7dcfd8b755794a2e6ea72b0eec32fd99be |
|
View file
| https://github.com/simstudioai/sim/blob/5b9a5c5e4e5a82e7bd8e93eeb4760bbc6ed6f652/apps/sim/lib/billing/core/subscription.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/4062/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-ba28a867a18d2fec4e36fc5dea465c7dcfd8b755794a2e6ea72b0eec32fd99be |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-ba28a867a18d2fec4e36fc5dea465c7dcfd8b755794a2e6ea72b0eec32fd99be |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-ba28a867a18d2fec4e36fc5dea465c7dcfd8b755794a2e6ea72b0eec32fd99be |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-ba28a867a18d2fec4e36fc5dea465c7dcfd8b755794a2e6ea72b0eec32fd99be |
| apps/sim/lib/billing/index.ts | https://github.com/simstudioai/sim/pull/4062/files#diff-7e618bf7ae9e7fd902caad102dcf958637d3709f85635fcec2fb050cf5357434 |
|
View file
| https://github.com/simstudioai/sim/blob/5b9a5c5e4e5a82e7bd8e93eeb4760bbc6ed6f652/apps/sim/lib/billing/index.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/4062/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-7e618bf7ae9e7fd902caad102dcf958637d3709f85635fcec2fb050cf5357434 |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-7e618bf7ae9e7fd902caad102dcf958637d3709f85635fcec2fb050cf5357434 |
| apps/sim/lib/billing/types/index.ts | https://github.com/simstudioai/sim/pull/4062/files#diff-2c991739d046176f18f5bbca67c2876b4f55df57731c7a4f1b5ec1350ee7b45d |
|
View file
| https://github.com/simstudioai/sim/blob/5b9a5c5e4e5a82e7bd8e93eeb4760bbc6ed6f652/apps/sim/lib/billing/types/index.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/4062/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-2c991739d046176f18f5bbca67c2876b4f55df57731c7a4f1b5ec1350ee7b45d |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-2c991739d046176f18f5bbca67c2876b4f55df57731c7a4f1b5ec1350ee7b45d |
| apps/sim/lib/copilot/chat-payload.test.ts | https://github.com/simstudioai/sim/pull/4062/files#diff-10b6b7cbc51d0ac625c40ed9356221e5182ece201ab04f9f3a1b28175d5cbbef |
|
View file
| https://github.com/simstudioai/sim/blob/5b9a5c5e4e5a82e7bd8e93eeb4760bbc6ed6f652/apps/sim/lib/copilot/chat-payload.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/4062/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-10b6b7cbc51d0ac625c40ed9356221e5182ece201ab04f9f3a1b28175d5cbbef |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-10b6b7cbc51d0ac625c40ed9356221e5182ece201ab04f9f3a1b28175d5cbbef |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-10b6b7cbc51d0ac625c40ed9356221e5182ece201ab04f9f3a1b28175d5cbbef |
|
| https://github.com/simstudioai/sim/pull/4062/files#diff-10b6b7cbc51d0ac625c40ed9356221e5182ece201ab04f9f3a1b28175d5cbbef |
| Please reload this page | https://github.com/simstudioai/sim/pull/4062/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/4062/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 |