René's URL Explorer Experiment


Title: improvement(mothership): message queueing for home chat by waleedlatif1 · Pull Request #3576 · simstudioai/sim · GitHub

Open Graph Title: improvement(mothership): message queueing for home chat by waleedlatif1 · Pull Request #3576 · simstudioai/sim

X Title: improvement(mothership): message queueing for home chat by waleedlatif1 · Pull Request #3576 · simstudioai/sim

Description: 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) Collapsible queue panel above the input with edit, send now, and remove actions Edit pops the message back into the input; send now stops the current stream and sends immediately Queue cleared on navigation/chat switch Type of Change New feature Testing Tested manually Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/simstudioai/sim/pull/3576

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actionfiles
fetch-noncev2:855f30df-0536-69b5-39fa-586d0741d9ce
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idABFC:3680DC:20E432:2E6D0F:6AFB6F24
html-safe-nonceed8bb30d859f6bf2ec0c6f8d7b9b01aa182a2402d0fe33a4c0143dde0bd6d42c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkZDOjM2ODBEQzoyMEU0MzI6MkU2RDBGOjZBRkI2RjI0IiwidmlzaXRvcl9pZCI6IjczMTQ0NDEzMzU3ODM3MDg1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6c3214fe236e4fd56d9b4eecce1ff2a5edd5febae9e27aaa88b59ac8e3c9d0a8
hovercard-subject-tagpull_request:3398949990
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/3576/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/3576/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3576%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3576%2Ffiles
Sign uphttps://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
Reloadhttps://github.com/simstudioai/sim/pull/3576/files
Reloadhttps://github.com/simstudioai/sim/pull/3576/files
Reloadhttps://github.com/simstudioai/sim/pull/3576/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests198 (198)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
improvemnet/queueinghttps://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 pagehttps://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 pagehttps://github.com/simstudioai/sim/pull/3576/files
Please reload this pagehttps://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.tshttps://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.tshttps://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.tsxhttps://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 pagehttps://github.com/simstudioai/sim/pull/3576/files
apps/sim/app/workspace/[workspaceId]/home/components/user-input/user-input.tsxhttps://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 pagehttps://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 pagehttps://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.tsxhttps://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 pagehttps://github.com/simstudioai/sim/pull/3576/files
Please reload this pagehttps://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 pagehttps://github.com/simstudioai/sim/pull/3576/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3576/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.