Title: feat(billing): allow programmatic workflow execution on the free plan by waleedlatif1 · Pull Request #5678 · simstudioai/sim · GitHub
Open Graph Title: feat(billing): allow programmatic workflow execution on the free plan by waleedlatif1 · Pull Request #5678 · simstudioai/sim
X Title: feat(billing): allow programmatic workflow execution on the free plan by waleedlatif1 · Pull Request #5678 · simstudioai/sim
Description: Summary Lifts the free-plan restriction on programmatic workflow execution now that the bot-signup abuse it guarded against has been handled. This cleanly undoes #5036 (and the deploy-modal gating follow-up from #5055) across every gated surface. Server (gates removed): POST /api/workflows/[id]/execute — API-key + public-API 402 gate /api/mcp/serve/[serverId] — workspace entitlement 402 gate /api/webhooks/trigger/[path] — generic-webhook 402 gate (incl. the all-generic-all-free fan-out fallback) Chat embeds — assertChatEmbedAllowed + isFirstPartyOrigin removed from app/api/chat/utils.ts and both call sites Deleted lib/billing/core/api-access.ts (+ test, + barrel export) and the FREE_API_DEPLOYMENT_GATE_ENABLED env flag / isFreeApiDeploymentGateEnabled Client: Deleted the deploy-modal upgrade wall (DeployUpgradeGate, GatedTabContent, footer gating) Removed the now-consumerless useWorkspaceOwnerBilling hook/fetcher/query key; the /api/workspaces/[id]/owner-billing endpoint + contract stay as reusable billing infrastructure (mirrored by host-context) Restored pre-gate upgrade copy: Pro feature line back to 'Higher rate limits', free API-endpoint rate-limit column back to '30' (matches RATE_LIMITS.free.apiEndpoint) Intentionally kept: validatePublicApiAllowed in the execute route — a separate public-API permission check, not plan gating Free-tier rate limits (30/min API endpoint) still apply to free workspaces Testing tsc --noEmit clean 15 affected route suites (229 tests) + 46 billing/upgrade suites (420 tests) pass bun run check:api-validation passes Repo-wide sweep: zero remaining references to the gate, flag, or 402 paywall message
Open Graph Description: Summary Lifts the free-plan restriction on programmatic workflow execution now that the bot-signup abuse it guarded against has been handled. This cleanly undoes #5036 (and the deploy-modal gating ...
X Description: Summary Lifts the free-plan restriction on programmatic workflow execution now that the bot-signup abuse it guarded against has been handled. This cleanly undoes #5036 (and the deploy-modal gating ...
Opengraph URL: https://github.com/simstudioai/sim/pull/5678
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4635a175-c215-eaf6-e2fe-77650acda763 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 901E:12136E:529FB7:75288C:6A638031 |
| html-safe-nonce | 7c29f53a2a81cbc4b666383a6ad8f9fa84bcadfcd61b3490a98f3a376efe97ef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDFFOjEyMTM2RTo1MjlGQjc6NzUyODhDOjZBNjM4MDMxIiwidmlzaXRvcl9pZCI6IjQ1NDQ2MjEzMzQyNDU5MDAzMzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cf4cb82af5f7a0676b8669b2349954ec5a1b750b0931ade2a66f802eb22b0ce8 |
| hovercard-subject-tag | pull_request:4056460054 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5678/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary Lifts the free-plan restriction on programmatic workflow execution now that the bot-signup abuse it guarded against has been handled. This cleanly undoes #5036 (and the deploy-modal gating ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e4fb64aef87da454ec25b158147f7f5f14aef29216e5ca1612c2e48faa599d1f |
| 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 | e839936ba5faffb9c836dda1cf4729d50c88a32e |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width