| 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:855f30df-0536-69b5-39fa-586d0741d9ce |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ABFC:3680DC:20E432:2E6D0F:6AFB6F24 |
| html-safe-nonce | ed8bb30d859f6bf2ec0c6f8d7b9b01aa182a2402d0fe33a4c0143dde0bd6d42c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkZDOjM2ODBEQzoyMEU0MzI6MkU2RDBGOjZBRkI2RjI0IiwidmlzaXRvcl9pZCI6IjczMTQ0NDEzMzU3ODM3MDg1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6c3214fe236e4fd56d9b4eecce1ff2a5edd5febae9e27aaa88b59ac8e3c9d0a8 |
| hovercard-subject-tag | pull_request:3398949990 |
| 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/3576/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
Queue messages when the mothership is streaming instead of aborting the in-progress response
Auto-send queued messages when the current turn completes (drain via finalize() callback)
Colla... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700 |
| 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 | 88808b1fae5ab8a526a73e7ce5542a10eb9d6971 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/3576/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3576%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%2F3576%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/3576/files |
| Reload | https://github.com/simstudioai/sim/pull/3576/files |
| Reload | https://github.com/simstudioai/sim/pull/3576/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 requests198 (198) | 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 |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| improvemnet/queueing | https://github.com/simstudioai/sim/tree/improvemnet/queueing |
|
Conversation
43
| https://github.com/simstudioai/sim/pull/3576 |
|
Commits
10
| https://github.com/simstudioai/sim/pull/3576/commits |
|
Checks
11
| https://github.com/simstudioai/sim/pull/3576/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/3576/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/3576/files |
|
improvement(mothership): message queueing for home chat
| https://github.com/simstudioai/sim/pull/3576/files#top |
|
Show all changes
10 commits
| https://github.com/simstudioai/sim/pull/3576/files |
|
8610d67
improvement(mothership): message queueing for home chat
waleedlatif1 Mar 14, 2026
| https://github.com/simstudioai/sim/pull/3576/commits/8610d67fe3b6094bef65a12e07cdf762f39ee98a |
|
7456c3c
fix(mothership): address PR review — move FileAttachmentForApi to typ…
waleedlatif1 Mar 14, 2026
| https://github.com/simstudioai/sim/pull/3576/commits/7456c3c7a535f6e39b6ec12c7b28baafb511b14c |
|
84ad165
fix(mothership): replace updater side-effect with useEffect ref sync,…
waleedlatif1 Mar 14, 2026
| https://github.com/simstudioai/sim/pull/3576/commits/84ad16531fa26a60626a54c35f459f720026dc85 |
|
67d328d
fix(mothership): clear message queue on chat switch while sending
waleedlatif1 Mar 14, 2026
| https://github.com/simstudioai/sim/pull/3576/commits/67d328dbd7fb5ae8af8ca6ff513c3b687af4ee33 |
|
3f17446
fix(mothership): remove stale isSending from handleKeyDown deps
waleedlatif1 Mar 14, 2026
| https://github.com/simstudioai/sim/pull/3576/commits/3f1744618a918a16302c5af68153d27ab35240b8 |
|
d8ad8a4
fix(mothership): guard sendNow against double-click duplicate sends
waleedlatif1 Mar 14, 2026
| https://github.com/simstudioai/sim/pull/3576/commits/d8ad8a457719b9981b9346dda2f36b5c3536cb88 |
|
af7a2a8
fix(mothership): simplify queue callbacks — drop redundant deps and g…
waleedlatif1 Mar 14, 2026
| https://github.com/simstudioai/sim/pull/3576/commits/af7a2a8860b4e5e76554f005e5871185c7780a3a |
|
71a83af
fix(mothership): clear edit value on nav, stop queue drain on send fa…
waleedlatif1 Mar 14, 2026
| https://github.com/simstudioai/sim/pull/3576/commits/71a83afc2e35a6980b21ccb0657e4844c6bc7d56 |
|
8c0fe13
fix(mothership): eagerly update messageQueueRef in removeFromQueue
waleedlatif1 Mar 14, 2026
| https://github.com/simstudioai/sim/pull/3576/commits/8c0fe13c2a0aad93b96d11718c2f5487f3aaa66d |
|
ad0d418
fix(mothership): mark onSendNow as explicit fire-and-forget
waleedlatif1 Mar 14, 2026
| https://github.com/simstudioai/sim/pull/3576/commits/ad0d4184576a772ec73a98e8fb2c8c2e0b5bd5e9 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/3576/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/3576/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/3576/files |
|
index.ts
| https://github.com/simstudioai/sim/pull/3576/files#diff-8e6b2108ed109b29aafd11b7cac526532eb4600ef11e4d32a65ab85ec0526904 |
|
index.ts
| https://github.com/simstudioai/sim/pull/3576/files#diff-9b96d8dccc2357201506747a7cb81009940c966e7f5082adc095e1473a7ee57b |
|
queued-messages.tsx
| https://github.com/simstudioai/sim/pull/3576/files#diff-3b4ae747b2c4b2c89569b74d47b07e46a9706201c1a37c3ec37a3b9ded989e27 |
|
user-input.tsx
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
home.tsx
| https://github.com/simstudioai/sim/pull/3576/files#diff-eb66b9102ddc0010fd22549f03941b3c32eecdcef27b7ee4efc52a84e1c3ba83 |
|
use-chat.ts
| https://github.com/simstudioai/sim/pull/3576/files#diff-1a0584ccf9cc4bacd55ce19aeeea8d807c39f36c365fa5b6638587aad38c700d |
|
types.ts
| https://github.com/simstudioai/sim/pull/3576/files#diff-931d1911f7368f5ce57b8f771e28c8b424eb4353334860aa03e1963369a0f222 |
| apps/sim/app/workspace/[workspaceId]/home/components/index.ts | https://github.com/simstudioai/sim/pull/3576/files#diff-8e6b2108ed109b29aafd11b7cac526532eb4600ef11e4d32a65ab85ec0526904 |
|
View file
| https://github.com/simstudioai/sim/blob/ad0d4184576a772ec73a98e8fb2c8c2e0b5bd5e9/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/index.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/3576/{{ revealButtonHref }} |
| apps/sim/app/workspace/[workspaceId]/home/components/queued-messages/index.ts | https://github.com/simstudioai/sim/pull/3576/files#diff-9b96d8dccc2357201506747a7cb81009940c966e7f5082adc095e1473a7ee57b |
|
View file
| https://github.com/simstudioai/sim/blob/ad0d4184576a772ec73a98e8fb2c8c2e0b5bd5e9/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/queued-messages/index.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/3576/{{ revealButtonHref }} |
| apps/sim/app/workspace/[workspaceId]/home/components/queued-messages/queued-messages.tsx | https://github.com/simstudioai/sim/pull/3576/files#diff-3b4ae747b2c4b2c89569b74d47b07e46a9706201c1a37c3ec37a3b9ded989e27 |
|
View file
| https://github.com/simstudioai/sim/blob/ad0d4184576a772ec73a98e8fb2c8c2e0b5bd5e9/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/queued-messages/queued-messages.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/3576/{{ revealButtonHref }} |
| Please reload this page | https://github.com/simstudioai/sim/pull/3576/files |
| apps/sim/app/workspace/[workspaceId]/home/components/user-input/user-input.tsx | https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
View file
| https://github.com/simstudioai/sim/blob/ad0d4184576a772ec73a98e8fb2c8c2e0b5bd5e9/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/3576/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
| Please reload this page | https://github.com/simstudioai/sim/pull/3576/files |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
| Please reload this page | https://github.com/simstudioai/sim/pull/3576/files |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-a4d72576c5bd76f63419f4c296e3918e941f585f4ef74cd2d1a4443cc5db23b5 |
| apps/sim/app/workspace/[workspaceId]/home/home.tsx | https://github.com/simstudioai/sim/pull/3576/files#diff-eb66b9102ddc0010fd22549f03941b3c32eecdcef27b7ee4efc52a84e1c3ba83 |
|
View file
| https://github.com/simstudioai/sim/blob/ad0d4184576a772ec73a98e8fb2c8c2e0b5bd5e9/apps/sim/app/workspace/%5BworkspaceId%5D/home/home.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/3576/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-eb66b9102ddc0010fd22549f03941b3c32eecdcef27b7ee4efc52a84e1c3ba83 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-eb66b9102ddc0010fd22549f03941b3c32eecdcef27b7ee4efc52a84e1c3ba83 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-eb66b9102ddc0010fd22549f03941b3c32eecdcef27b7ee4efc52a84e1c3ba83 |
| Please reload this page | https://github.com/simstudioai/sim/pull/3576/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/3576/files |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-eb66b9102ddc0010fd22549f03941b3c32eecdcef27b7ee4efc52a84e1c3ba83 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-eb66b9102ddc0010fd22549f03941b3c32eecdcef27b7ee4efc52a84e1c3ba83 |
|
| https://github.com/simstudioai/sim/pull/3576/files#diff-eb66b9102ddc0010fd22549f03941b3c32eecdcef27b7ee4efc52a84e1c3ba83 |
| Please reload this page | https://github.com/simstudioai/sim/pull/3576/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/3576/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 |