| 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:20458be7-e50a-0d65-12a9-7de610428eb4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AB40:3EFFC5:994188:D8EEC2:6AFB5368 |
| html-safe-nonce | 159ee314e3b9944d15b5bca752976bab392a848f510391b0c8ed22e2998fe3b7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjQwOjNFRkZDNTo5OTQxODg6RDhFRUMyOjZBRkI1MzY4IiwidmlzaXRvcl9pZCI6Ijg2MDY4MDM5MzI1NDgzODc2ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 48fe46ab97f66ebdd052b5dc988d182b9318b243d777b488aa33bd7799f433ea |
| hovercard-subject-tag | pull_request:4207292949 |
| 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/6266/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
Preserve the invoking agent across Sim tool execution and replay paths
Attribute tool call, latency, and span telemetry to bounded agent names
Fall back to main and collapse unknown labels... |
| 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/6266/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6266%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%2F6266%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/6266/files |
| Reload | https://github.com/simstudioai/sim/pull/6266/files |
| Reload | https://github.com/simstudioai/sim/pull/6266/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 |
| j15z | https://github.com/j15z |
| staging | https://github.com/simstudioai/sim/tree/staging |
| feat/track-subagent-tool-use | https://github.com/simstudioai/sim/tree/feat/track-subagent-tool-use |
|
Conversation
8
| https://github.com/simstudioai/sim/pull/6266 |
|
Commits
6
| https://github.com/simstudioai/sim/pull/6266/commits |
|
Checks
30
| https://github.com/simstudioai/sim/pull/6266/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/6266/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6266/files |
|
feat(copilot): attribute tool metrics to invoking agents
| https://github.com/simstudioai/sim/pull/6266/files#top |
|
Show all changes
6 commits
| https://github.com/simstudioai/sim/pull/6266/files |
|
29fc796
feat(copilot): attribute Sim tool calls to agents
j15z Aug 3, 2026
| https://github.com/simstudioai/sim/pull/6266/commits/29fc7966c28794d570be688b6312e6d975b8ed34 |
|
f8e6144
fix(review): bound agent metric labels
j15z Aug 3, 2026
| https://github.com/simstudioai/sim/pull/6266/commits/f8e61448a94a58385c4bdedb667455fa6a5d2e4f |
|
8f6a08d
feat(copilot): attribute tool latency to agents
j15z Aug 4, 2026
| https://github.com/simstudioai/sim/pull/6266/commits/8f6a08da923fe078fb4f4bf0afb9f23122f38ed2 |
|
7903265
feat(copilot): attribute tool spans to agents
j15z Aug 4, 2026
| https://github.com/simstudioai/sim/pull/6266/commits/7903265d8651268d373906b4fdad2b34f990f41c |
|
f4703a9
refactor(copilot): simplify tool attribute naming
j15z Aug 4, 2026
| https://github.com/simstudioai/sim/pull/6266/commits/f4703a966a5aa4afdb188643b53d9afc3fdef28a |
|
560fa26
fix(copilot): bound tool span agent labels
j15z Aug 4, 2026
| https://github.com/simstudioai/sim/pull/6266/commits/560fa267c38779c68a9f8cc4ac47d0da5f14b02e |
|
Clear filters
| https://github.com/simstudioai/sim/pull/6266/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6266/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6266/files |
|
handlers.test.ts
| https://github.com/simstudioai/sim/pull/6266/files#diff-427b9c6830a8d4e75f56c36707391bc74cdf9e673017a5f6a93585c244db46ae |
|
tool.ts
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
metrics.test.ts
| https://github.com/simstudioai/sim/pull/6266/files#diff-018d9d9927f8861d1234bbe6aad6808b25acfe231af730d9ac8951f6e8f1526d |
|
metrics.ts
| https://github.com/simstudioai/sim/pull/6266/files#diff-24e7d6a511ce2a64d2fe47bc153ea90c9027262f2ac333e67b26acf32e6fa3d4 |
|
otel.ts
| https://github.com/simstudioai/sim/pull/6266/files#diff-97c0a939d33c855fe8ce60bb77af26ab5cdb3edf4df5f57b92410eab9f981d74 |
|
executor.test.ts
| https://github.com/simstudioai/sim/pull/6266/files#diff-7539d2e1e1a23e035c0b4aada8a99a35520a8afe81c7a358f94c7fb69cf96185 |
|
executor.ts
| https://github.com/simstudioai/sim/pull/6266/files#diff-055301ea08ccdebe72fc75f6a483db681d15088e4f77e56358000f3575e065d6 |
|
types.ts
| https://github.com/simstudioai/sim/pull/6266/files#diff-cda1d3c8d342e203a4cc8af4fea071c6c339afdd147d53336a71d3fb0b4909f5 |
| apps/sim/lib/copilot/request/handlers/handlers.test.ts | https://github.com/simstudioai/sim/pull/6266/files#diff-427b9c6830a8d4e75f56c36707391bc74cdf9e673017a5f6a93585c244db46ae |
|
View file
| https://github.com/simstudioai/sim/blob/560fa267c38779c68a9f8cc4ac47d0da5f14b02e/apps/sim/lib/copilot/request/handlers/handlers.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6266/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-427b9c6830a8d4e75f56c36707391bc74cdf9e673017a5f6a93585c244db46ae |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-427b9c6830a8d4e75f56c36707391bc74cdf9e673017a5f6a93585c244db46ae |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-427b9c6830a8d4e75f56c36707391bc74cdf9e673017a5f6a93585c244db46ae |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-427b9c6830a8d4e75f56c36707391bc74cdf9e673017a5f6a93585c244db46ae |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-427b9c6830a8d4e75f56c36707391bc74cdf9e673017a5f6a93585c244db46ae |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-427b9c6830a8d4e75f56c36707391bc74cdf9e673017a5f6a93585c244db46ae |
| apps/sim/lib/copilot/request/handlers/tool.ts | https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
View file
| https://github.com/simstudioai/sim/blob/560fa267c38779c68a9f8cc4ac47d0da5f14b02e/apps/sim/lib/copilot/request/handlers/tool.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6266/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-107038219f6fe0643c3b3d6b65aef176242e7ae24989bcac88cd8a64974c6315 |
| apps/sim/lib/copilot/request/metrics.test.ts | https://github.com/simstudioai/sim/pull/6266/files#diff-018d9d9927f8861d1234bbe6aad6808b25acfe231af730d9ac8951f6e8f1526d |
|
View file
| https://github.com/simstudioai/sim/blob/560fa267c38779c68a9f8cc4ac47d0da5f14b02e/apps/sim/lib/copilot/request/metrics.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6266/{{ revealButtonHref }} |
| apps/sim/lib/copilot/request/metrics.ts | https://github.com/simstudioai/sim/pull/6266/files#diff-24e7d6a511ce2a64d2fe47bc153ea90c9027262f2ac333e67b26acf32e6fa3d4 |
|
View file
| https://github.com/simstudioai/sim/blob/560fa267c38779c68a9f8cc4ac47d0da5f14b02e/apps/sim/lib/copilot/request/metrics.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6266/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-24e7d6a511ce2a64d2fe47bc153ea90c9027262f2ac333e67b26acf32e6fa3d4 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-24e7d6a511ce2a64d2fe47bc153ea90c9027262f2ac333e67b26acf32e6fa3d4 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-24e7d6a511ce2a64d2fe47bc153ea90c9027262f2ac333e67b26acf32e6fa3d4 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-24e7d6a511ce2a64d2fe47bc153ea90c9027262f2ac333e67b26acf32e6fa3d4 |
| apps/sim/lib/copilot/request/otel.ts | https://github.com/simstudioai/sim/pull/6266/files#diff-97c0a939d33c855fe8ce60bb77af26ab5cdb3edf4df5f57b92410eab9f981d74 |
|
View file
| https://github.com/simstudioai/sim/blob/560fa267c38779c68a9f8cc4ac47d0da5f14b02e/apps/sim/lib/copilot/request/otel.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6266/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-97c0a939d33c855fe8ce60bb77af26ab5cdb3edf4df5f57b92410eab9f981d74 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-97c0a939d33c855fe8ce60bb77af26ab5cdb3edf4df5f57b92410eab9f981d74 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-97c0a939d33c855fe8ce60bb77af26ab5cdb3edf4df5f57b92410eab9f981d74 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-97c0a939d33c855fe8ce60bb77af26ab5cdb3edf4df5f57b92410eab9f981d74 |
|
| https://github.com/simstudioai/sim/pull/6266/files#diff-97c0a939d33c855fe8ce60bb77af26ab5cdb3edf4df5f57b92410eab9f981d74 |
| Please reload this page | https://github.com/simstudioai/sim/pull/6266/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6266/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 |