| 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:15d83496-552d-5b8c-1020-60be69fdf38a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D7E2:38B2A2:4C3B54:6DBEA1:6AFB3C16 |
| html-safe-nonce | b73791af14ffc2a3b2eeb73c69bb67641d826b8b22bed1f34c5cc705b3d0aa2e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0UyOjM4QjJBMjo0QzNCNTQ6NkRCRUExOjZBRkIzQzE2IiwidmlzaXRvcl9pZCI6IjE3OTEyNTAzNDc3NzU5NjYyMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8c4128386e5a0e599dbcb71d98dad661e3ab010b58f06df33f0279a2ebb81ad8 |
| hovercard-subject-tag | pull_request:4130545247 |
| 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/5952/files |
| twitter:image | https://avatars.githubusercontent.com/u/96924014?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/96924014?s=400&v=4 |
| og:image:alt | Summary
The chat renderer pulls seven inline special tags out of the assistant's streamed text and turns them into interactive cards and chips: <workspace_resource> (a clickable workflow/... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2169b0dfbef67ed6b128074a5ed45bb7d5d1859783b10178b09a7765ad5f3693 |
| 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 | 3b4fc8df5ef1c6757e733a23e6b81b6725021823 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/5952/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5952%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%2F5952%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/5952/files |
| Reload | https://github.com/simstudioai/sim/pull/5952/files |
| Reload | https://github.com/simstudioai/sim/pull/5952/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 requests199 (199) | 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 |
| j15z | https://github.com/j15z |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/unclosed-special-tags | https://github.com/simstudioai/sim/tree/fix/unclosed-special-tags |
|
Conversation
55
| https://github.com/simstudioai/sim/pull/5952 |
|
Commits
34
| https://github.com/simstudioai/sim/pull/5952/commits |
|
Checks
26
| https://github.com/simstudioai/sim/pull/5952/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/5952/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/5952/files |
|
fix(copilot): stop the special-tag parser discarding text it cannot resolve
| https://github.com/simstudioai/sim/pull/5952/files#top |
|
Show all changes
34 commits
| https://github.com/simstudioai/sim/pull/5952/files |
|
287ae8e
fix(copilot): render unclosed special tags as text on completed messages
j15z Jul 25, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/287ae8e0665da424c9883971827e69e32303581b |
|
08c3d69
improvement(copilot): show text as soon as an unclosed tag cannot res…
j15z Jul 25, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/08c3d6974aa4fc0b8478117fa575810b855592fa |
|
936bf03
fix(copilot): ignore tag syntax quoted inside a JSON tag body
j15z Jul 25, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/936bf035bd38912c9d8ab36a2570119d791cf19b |
|
f1213c6
fix(copilot): keep prose a mispaired tag would swallow, and bail on d…
j15z Jul 25, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/f1213c63992e080868998b45617893ae9d233f26 |
|
e4ba2f6
fix(copilot): keep prose a tag wrapped instead of a JSON payload
j15z Jul 25, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/e4ba2f64332842ca9db0d66d5a5133b7917f1535 |
|
9492de4
refactor(copilot): resolve each special tag through four named outcomes
j15z Jul 25, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/9492de49cac2d53f49696975a8958f2ffc4c0dd5 |
|
ce1a898
test(copilot): pin the no-closing-tag case as lossless
j15z Jul 25, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/ce1a8985fbe7561076a07a09d095378ef3731a0a |
|
ea3a181
fix(copilot): stop the literal path flashing payloads and rescanning …
j15z Jul 25, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/ea3a181870d79032a1111fe6fc71a35bc4c0800b |
|
6945d80
refactor(copilot): drop the JSON-prefix wrapper the split orphaned
j15z Jul 27, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/6945d809272942b003f40f63a0889eb15363df42 |
|
e7adb0e
refactor(copilot): drop the nested-marker scan the JSON rule already …
j15z Jul 27, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/e7adb0e0a263d86102ad2ad83ee157bb80654efa |
|
c6d6368
fix(copilot): stop the rescan deleting quoted text, and bound its cost
j15z Jul 27, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/c6d63689d0ca99b3a6e69304e0e87041469cc91b |
|
600425b
test(copilot): assert what a reader sees, and pin the unclosed-thinki…
j15z Jul 27, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/600425b52a053eda40947bd453030384572e1d38 |
|
c469644
docs(copilot): name the scan window's blind spot instead of glossing it
j15z Jul 27, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/c46964442c03b1c6d3b08d9c15afda3e7cc49f0d |
|
6f9ae20
fix(copilot): make the indexOf cache correct for any call order
j15z Jul 28, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/6f9ae20239ebe4b7887cc142597a15240d756330 |
|
09366ee
fix(copilot): resume at the window edge, not past the close, on a tru…
j15z Jul 28, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/09366eebe3c8a0ca52fde3341fef01a73397dd55 |
|
fc03111
fix(copilot): only discard a body that actually parsed as JSON
j15z Jul 28, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/fc0311145faadfb785af9bf3c4bc6e02732936ff |
|
78f66c7
fix(copilot): apply the nesting rule to a prose body on the matched-p…
j15z Jul 28, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/78f66c7560cdde1a00d3e4d5e22ca5137d15bf13 |
|
018fb41
test(copilot): assert parser invariants over generated messages
j15z Jul 28, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/018fb413230d7b94724b8d66a2602956bf2b85c6 |
|
d48670c
fix(copilot): strip a stray null byte from the test file
j15z Jul 28, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/d48670cdbcfe87d124a072a730768036edcb5a45 |
|
75ec1f4
refactor(copilot): split resolveTagAt into budget, classification, an…
j15z Jul 28, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/75ec1f434e59b4c4c336f19a7dc25da23358c6fb |
|
3064101
fix(copilot): stop backtick stripping from unbalancing a whole message
j15z Jul 28, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/3064101dacce6b2e5f1158cc934c0357d879c751 |
|
3484875
fix(copilot): apply the same backtick guard to the balanced unwrap
j15z Jul 28, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/3484875eee22f02ff03bac8592cda21a1a0ce4e7 |
|
be6d47c
fix(copilot): pair backticks the way markdown does, and bound the scan
j15z Jul 28, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/be6d47cc050de0197055c0b81a8904f12db976f6 |
|
3996303
fix(copilot): address the confirmed review findings
j15z Jul 28, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/39963037d30ba21878357ca8a169aaa353bc7698 |
|
a3ba7a6
refactor(copilot): quality pass over the parser and its tests
j15z Jul 28, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/a3ba7a6f0dd87f350597ffd0726817b80409823c |
|
a6f7f7d
docs(copilot): reattach an orphaned docstring and cut comment noise
j15z Jul 28, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/a6f7f7da9715c0d9755a953c600e487d5c9a01e7 |
|
86fe480
fix(copilot): sanitize backticks in one pass so a flush code span sur…
j15z Jul 28, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/86fe480700051251ff61ba41ffebf93f666983b8 |
|
2a4c0f4
fix(copilot): rewind the scan-window resume so a straddling opener st…
j15z Jul 29, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/2a4c0f4c1a877676703924d6c05eec1b1c84d084 |
|
1943cfe
fix(copilot): trust the raw body for markers once it is known not to …
j15z Jul 29, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/1943cfe84f27f4ac4e9867128aacbee6e298d534 |
|
5066af1
refactor(copilot): share the scaling-ratio harness between the two pe…
j15z Jul 29, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/5066af168ea43e9b2b09465003f7f0ebfdf722f6 |
|
2972209
docs(copilot): correct a resume comment the rewind fix left inaccurate
j15z Jul 29, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/29722096033affd151587d4d8d871ccc909726f7 |
|
540667a
test(copilot): pin the blanking rule with a body staging cannot recover
j15z Jul 29, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/540667aab0f0b3b6d0c6231fef56d25f558788af |
|
47e1f2f
test(copilot): cover every tag in the property invariants, and pin th…
j15z Jul 29, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/47e1f2f9daac75d645a98c6bd5d28de7b90e432b |
|
6fbd399
docs(copilot): state the actual bound on the thinking nesting rule
j15z Jul 29, 2026
| https://github.com/simstudioai/sim/pull/5952/commits/6fbd3992d0ed042bc1f562bd84e99b017c1781ca |
|
Clear filters
| https://github.com/simstudioai/sim/pull/5952/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/5952/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/5952/files |
|
chat-content.test.ts
| https://github.com/simstudioai/sim/pull/5952/files#diff-ce9f35c0dbb882d7893e3e8e0684987bb00e0621f9965d4a40551207ec24c2e3 |
|
chat-sanitize.ts
| https://github.com/simstudioai/sim/pull/5952/files#diff-177b36b364853a9d8d60a920674114241bb2e90e10db95abed50d5859d922b63 |
|
scaling-test-helpers.ts
| https://github.com/simstudioai/sim/pull/5952/files#diff-f97063ba30401b0c231d3e9a85aa2db760d7b84e172a9a8d4971e3e5d36f82fb |
|
special-tags.test.ts
| https://github.com/simstudioai/sim/pull/5952/files#diff-d4a1f3a3998c7cf719632a1fcf5f43976344312dc97a97310e108f6cfaaf986b |
|
special-tags.tsx
| https://github.com/simstudioai/sim/pull/5952/files#diff-caf007604eef3e0b3740ee3570f53991d4cb26e2cd05d408592ce539e8c67dbe |
| ...workspaceId]/home/components/message-content/components/chat-content/chat-content.test.ts | https://github.com/simstudioai/sim/pull/5952/files#diff-ce9f35c0dbb882d7893e3e8e0684987bb00e0621f9965d4a40551207ec24c2e3 |
|
View file
| https://github.com/simstudioai/sim/blob/6fbd3992d0ed042bc1f562bd84e99b017c1781ca/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/message-content/components/chat-content/chat-content.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/5952/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/5952/files#diff-ce9f35c0dbb882d7893e3e8e0684987bb00e0621f9965d4a40551207ec24c2e3 |
|
| https://github.com/simstudioai/sim/pull/5952/files#diff-ce9f35c0dbb882d7893e3e8e0684987bb00e0621f9965d4a40551207ec24c2e3 |
| ...ce/[workspaceId]/home/components/message-content/components/chat-content/chat-sanitize.ts | https://github.com/simstudioai/sim/pull/5952/files#diff-177b36b364853a9d8d60a920674114241bb2e90e10db95abed50d5859d922b63 |
|
View file
| https://github.com/simstudioai/sim/blob/6fbd3992d0ed042bc1f562bd84e99b017c1781ca/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/message-content/components/chat-content/chat-sanitize.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/5952/{{ revealButtonHref }} |
| ...orkspace/[workspaceId]/home/components/message-content/components/scaling-test-helpers.ts | https://github.com/simstudioai/sim/pull/5952/files#diff-f97063ba30401b0c231d3e9a85aa2db760d7b84e172a9a8d4971e3e5d36f82fb |
|
View file
| https://github.com/simstudioai/sim/blob/6fbd3992d0ed042bc1f562bd84e99b017c1781ca/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/message-content/components/scaling-test-helpers.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/5952/{{ revealButtonHref }} |
| Please reload this page | https://github.com/simstudioai/sim/pull/5952/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/5952/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 |