| 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:8961af89-f1f3-cba6-8987-27503d842e64 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8D38:19FA2E:94555C:D2453F:6AFB5190 |
| html-safe-nonce | 84aa69c6e2281be65df12f8341635a3182b2a7fe1441a4d275bfbd507b8c8686 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDM4OjE5RkEyRTo5NDU1NUM6RDI0NTNGOjZBRkI1MTkwIiwidmlzaXRvcl9pZCI6IjcxOTY3ODE5NjYxNjEzMDE5MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1c77fd43e73519239100bebbd58e5686a21a4b6692735a74f5ab40e589bcb4bf |
| hovercard-subject-tag | pull_request:4754361992 |
| 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/8666/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
Follow-ups to #8652, all serving "work keeps running when I leave a chat":
Local file tools keep running, and each turn's Stop reaches its own desktop tools.
Browser actions... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1 |
| 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 | cbf66c024bb6d10e6955baa7413c54cf13a201bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/8666/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8666%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%2F8666%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/8666/files |
| Reload | https://github.com/simstudioai/sim/pull/8666/files |
| Reload | https://github.com/simstudioai/sim/pull/8666/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 requests197 (197) | 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 |
| fix/desktop-tool-followups | https://github.com/simstudioai/sim/tree/fix/desktop-tool-followups |
|
Conversation
44
| https://github.com/simstudioai/sim/pull/8666 |
|
Commits
5
| https://github.com/simstudioai/sim/pull/8666/commits |
|
Checks
40
| https://github.com/simstudioai/sim/pull/8666/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/8666/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8666/files |
|
fix(mothership): keep local file tools running when the chat view changes
| https://github.com/simstudioai/sim/pull/8666/files#top |
|
Show all changes
5 commits
| https://github.com/simstudioai/sim/pull/8666/files |
|
03d9ebd
fix(mothership): keep local file tools running when the chat view cha…
waleedlatif1 Oct 6, 2026
| https://github.com/simstudioai/sim/pull/8666/commits/03d9ebdd36f20fb2d36734e22361ce5a6328ed6f |
|
4425571
fix(mothership): Stop reaches every desktop tool of the view, and res…
waleedlatif1 Oct 6, 2026
| https://github.com/simstudioai/sim/pull/8666/commits/44255714ba70a57e60d752be3715259407947c33 |
|
3a9bd01
fix(mothership): scope a desktop tool's Stop to its turn
waleedlatif1 Oct 6, 2026
| https://github.com/simstudioai/sim/pull/8666/commits/3a9bd010e5456824d6e367cfd2f4b6edf650f626 |
|
d8510e2
fix(mothership): hold a turn's Stop only while its desktop tools run
waleedlatif1 Oct 6, 2026
| https://github.com/simstudioai/sim/pull/8666/commits/d8510e27a9f0f315dccfc080a3a45cfc68e42f18 |
|
b609f82
test(mothership): import the lease registry by its absolute path
waleedlatif1 Oct 6, 2026
| https://github.com/simstudioai/sim/pull/8666/commits/b609f821705ebf5c9dcca96076b27df7ae85a1d9 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/8666/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8666/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8666/files |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-d4266de90811526cac807b27cb5287d59701900fcf22945eb3ea39f03dda6ddd |
|
route.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-313c8d66f5de9ec050dacd52e247241e4acb4f0163d8ca50bd009f7b3ecc29fc |
|
desktop-tool-lifetimes.test.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-ec382a9f2a2b37712b62d56d680bba9d315f67fe5274fb3d6430fb944267d1d2 |
|
desktop-tool-lifetimes.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-3574167671568f8f933fb8431cf1570cedb11cb8e345a2e2bfef5f91039057c3 |
|
handle-tool-event.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-29efcffd44cdd85babf6f9011ba407877c63779e3769d5b299aace99bd2e0627 |
|
use-chat.dom.test.tsx
| https://github.com/simstudioai/sim/pull/8666/files#diff-f13f1eaa18b785ec858b76bfef8952fc11d2c6730951634aad2c3bf4e167e62e |
|
use-chat.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-1a0584ccf9cc4bacd55ce19aeeea8d807c39f36c365fa5b6638587aad38c700d |
|
constants.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-3006a2807412edb7e9234dc3c5abd62fb755a80eadd17b7527846bd68dee47af |
|
desktop-wait.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-e2df558a43dd1bf254b678e7d3f6b5174e6388c6d8e4a8c5f322979c8bb8eff7 |
|
executor.test.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-5c0149489977e70711d949724f46e8bcd43162b7fbd3928da59a33aa935af5e7 |
|
executor.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-42b57bff4502cb04d3c049cc5137e7208b20a861400af267c0f15f773633f6ab |
|
client-executed-tools.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-4343b663eafafff43034464e945d663b80afe14691fff01de4848e82281e7513 |
|
browser-tool-execution.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-8f905f5e874cb0a596f2b1d94ccaaf419d995620aec1a4a5d7e677e6190cbd8d |
|
completion.test.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-6cea1a992ecaeec064c1c29f25f76afd4375676d1539b15085f5b0834a807fd9 |
|
completion.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-6684c6dc7670a1e2f7725b6e6f942bc6343c29d7fabecee3d3524e1d2dcd4296 |
|
desktop-tool-pickup.integration.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-cf1f574a63dc3e8cad3a7a5061a523005a2614c0252f1c584851b27131abeed1 |
|
local-filesystem.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-1acf2c4565b14ca6c1107b18bb418ad9d18ce37291e651f8c29071089cd3926a |
|
terminal-tool-execution.test.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-b47dbf3506ddcc83abed9c7bea6a302af92d33f18240533c9b127bb46abf65b0 |
|
terminal-tool-execution.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-6438c383d6536f6cddb7a4ab5b1e5e47ab06beae3732fb5c1fcafd19eadc75bc |
|
bun.lock
| https://github.com/simstudioai/sim/pull/8666/files#diff-bfd0ef82a01108fa1e836c2500b98b7de8a92bb1ae352a8efcbd9d6ffcaabd60 |
|
package.json
| https://github.com/simstudioai/sim/pull/8666/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 |
|
check-explicit-any.baseline.json
| https://github.com/simstudioai/sim/pull/8666/files#diff-780d04116ec981737479435cdb0364b49047711f2dfb93b671a9be50a1b0bb27 |
|
mothership-request-admission.ts
| https://github.com/simstudioai/sim/pull/8666/files#diff-b0d5802c31a12c81f0801db293e06655e0264272c4ef0c81e149ecafdf713001 |
| apps/sim/app/api/copilot/confirm/route.test.ts | https://github.com/simstudioai/sim/pull/8666/files#diff-d4266de90811526cac807b27cb5287d59701900fcf22945eb3ea39f03dda6ddd |
|
View file
| https://github.com/simstudioai/sim/blob/b609f821705ebf5c9dcca96076b27df7ae85a1d9/apps/sim/app/api/copilot/confirm/route.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8666/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-d4266de90811526cac807b27cb5287d59701900fcf22945eb3ea39f03dda6ddd |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-d4266de90811526cac807b27cb5287d59701900fcf22945eb3ea39f03dda6ddd |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-d4266de90811526cac807b27cb5287d59701900fcf22945eb3ea39f03dda6ddd |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-d4266de90811526cac807b27cb5287d59701900fcf22945eb3ea39f03dda6ddd |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-d4266de90811526cac807b27cb5287d59701900fcf22945eb3ea39f03dda6ddd |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-d4266de90811526cac807b27cb5287d59701900fcf22945eb3ea39f03dda6ddd |
| apps/sim/app/api/copilot/confirm/route.ts | https://github.com/simstudioai/sim/pull/8666/files#diff-313c8d66f5de9ec050dacd52e247241e4acb4f0163d8ca50bd009f7b3ecc29fc |
|
View file
| https://github.com/simstudioai/sim/blob/b609f821705ebf5c9dcca96076b27df7ae85a1d9/apps/sim/app/api/copilot/confirm/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8666/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-313c8d66f5de9ec050dacd52e247241e4acb4f0163d8ca50bd009f7b3ecc29fc |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-313c8d66f5de9ec050dacd52e247241e4acb4f0163d8ca50bd009f7b3ecc29fc |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-313c8d66f5de9ec050dacd52e247241e4acb4f0163d8ca50bd009f7b3ecc29fc |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-313c8d66f5de9ec050dacd52e247241e4acb4f0163d8ca50bd009f7b3ecc29fc |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-313c8d66f5de9ec050dacd52e247241e4acb4f0163d8ca50bd009f7b3ecc29fc |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-313c8d66f5de9ec050dacd52e247241e4acb4f0163d8ca50bd009f7b3ecc29fc |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-313c8d66f5de9ec050dacd52e247241e4acb4f0163d8ca50bd009f7b3ecc29fc |
| apps/sim/app/workspace/[workspaceId]/home/hooks/desktop-tool-lifetimes.test.ts | https://github.com/simstudioai/sim/pull/8666/files#diff-ec382a9f2a2b37712b62d56d680bba9d315f67fe5274fb3d6430fb944267d1d2 |
|
View file
| https://github.com/simstudioai/sim/blob/b609f821705ebf5c9dcca96076b27df7ae85a1d9/apps/sim/app/workspace/%5BworkspaceId%5D/home/hooks/desktop-tool-lifetimes.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8666/{{ revealButtonHref }} |
| apps/sim/app/workspace/[workspaceId]/home/hooks/desktop-tool-lifetimes.ts | https://github.com/simstudioai/sim/pull/8666/files#diff-3574167671568f8f933fb8431cf1570cedb11cb8e345a2e2bfef5f91039057c3 |
|
View file
| https://github.com/simstudioai/sim/blob/b609f821705ebf5c9dcca96076b27df7ae85a1d9/apps/sim/app/workspace/%5BworkspaceId%5D/home/hooks/desktop-tool-lifetimes.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8666/{{ revealButtonHref }} |
| apps/sim/app/workspace/[workspaceId]/home/hooks/stream/handle-tool-event.ts | https://github.com/simstudioai/sim/pull/8666/files#diff-29efcffd44cdd85babf6f9011ba407877c63779e3769d5b299aace99bd2e0627 |
|
View file
| https://github.com/simstudioai/sim/blob/b609f821705ebf5c9dcca96076b27df7ae85a1d9/apps/sim/app/workspace/%5BworkspaceId%5D/home/hooks/stream/handle-tool-event.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8666/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-29efcffd44cdd85babf6f9011ba407877c63779e3769d5b299aace99bd2e0627 |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-29efcffd44cdd85babf6f9011ba407877c63779e3769d5b299aace99bd2e0627 |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-29efcffd44cdd85babf6f9011ba407877c63779e3769d5b299aace99bd2e0627 |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-29efcffd44cdd85babf6f9011ba407877c63779e3769d5b299aace99bd2e0627 |
| apps/sim/app/workspace/[workspaceId]/home/hooks/use-chat.dom.test.tsx | https://github.com/simstudioai/sim/pull/8666/files#diff-f13f1eaa18b785ec858b76bfef8952fc11d2c6730951634aad2c3bf4e167e62e |
|
View file
| https://github.com/simstudioai/sim/blob/b609f821705ebf5c9dcca96076b27df7ae85a1d9/apps/sim/app/workspace/%5BworkspaceId%5D/home/hooks/use-chat.dom.test.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8666/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-f13f1eaa18b785ec858b76bfef8952fc11d2c6730951634aad2c3bf4e167e62e |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-f13f1eaa18b785ec858b76bfef8952fc11d2c6730951634aad2c3bf4e167e62e |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-f13f1eaa18b785ec858b76bfef8952fc11d2c6730951634aad2c3bf4e167e62e |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-f13f1eaa18b785ec858b76bfef8952fc11d2c6730951634aad2c3bf4e167e62e |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-f13f1eaa18b785ec858b76bfef8952fc11d2c6730951634aad2c3bf4e167e62e |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-f13f1eaa18b785ec858b76bfef8952fc11d2c6730951634aad2c3bf4e167e62e |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-f13f1eaa18b785ec858b76bfef8952fc11d2c6730951634aad2c3bf4e167e62e |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-f13f1eaa18b785ec858b76bfef8952fc11d2c6730951634aad2c3bf4e167e62e |
|
| https://github.com/simstudioai/sim/pull/8666/files#diff-f13f1eaa18b785ec858b76bfef8952fc11d2c6730951634aad2c3bf4e167e62e |
| Please reload this page | https://github.com/simstudioai/sim/pull/8666/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8666/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 |