René's URL Explorer Experiment


Title: fix(trace): normalize keyed tool names and show credits in trace view by waleedlatif1 · Pull Request #4344 · simstudioai/sim · GitHub

Open Graph Title: fix(trace): normalize keyed tool names and show credits in trace view by waleedlatif1 · Pull Request #4344 · simstudioai/sim

X Title: fix(trace): normalize keyed tool names and show credits in trace view by waleedlatif1 · Pull Request #4344 · simstudioai/sim

Description: Summary Normalize tool span names that have resource-id suffixes (e.g. `knowledge_search_`, `workflow_executor_`, `table_*_`) so they display cleanly and resolve to the correct block icon in the trace tree Export `normalizeToolId` from `tools/index.ts` so the display layer can reuse the same logic the runtime already uses Replace raw dollar amounts with credits in the trace header summary and agent span detail panel Type of Change Bug fix Testing Tested manually against production traces with knowledge search and workflow executor spans. 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 Normalize tool span names that have resource-id suffixes (e.g. `knowledge_search_`, `workflow_executor_`, `table_*_`) so they display cleanly and resolve to the correct block icon in the t...

X Description: Summary Normalize tool span names that have resource-id suffixes (e.g. `knowledge_search_`, `workflow_executor_`, `table_*_`) so they display cleanly and resolve to the correct block icon in the t...

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

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:467a2832-9da6-0de9-8bf3-3fb7c2f91df5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC720:2FE5F3:4F9AAC:6F8102:6AFB5DCD
html-safe-noncedf7aef0d831ca72c72f45507438b02b2334c806ea50e7c8eadc08e0358eda9e3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzIwOjJGRTVGMzo0RjlBQUM6NkY4MTAyOjZBRkI1RENEIiwidmlzaXRvcl9pZCI6IjYyODExMjczMDEyMzI2ODAzOTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc7444e28c4dcc7330d7c9e09bdd29496a9899b7b92431127b56871d40d9d21fe
hovercard-subject-tagpull_request:3604823038
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/4344/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 Normalize tool span names that have resource-id suffixes (e.g. `knowledge_search_`, `workflow_executor_`, `table_*_`) so they display cleanly and resolve to the correct block icon in the t...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
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
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/4344/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4344%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%2F4344%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/4344/files
Reloadhttps://github.com/simstudioai/sim/pull/4344/files
Reloadhttps://github.com/simstudioai/sim/pull/4344/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)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
fix/tracehttps://github.com/simstudioai/sim/tree/fix/trace
Conversation 29 https://github.com/simstudioai/sim/pull/4344
Commits 9 https://github.com/simstudioai/sim/pull/4344/commits
Checks 13 https://github.com/simstudioai/sim/pull/4344/checks
Files changed https://github.com/simstudioai/sim/pull/4344/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4344/files
fix(trace): normalize keyed tool names and show credits in trace view https://github.com/simstudioai/sim/pull/4344/files#top
Show all changes 9 commits https://github.com/simstudioai/sim/pull/4344/files
6be088d fix(trace): normalize keyed tool names and show credits in trace view waleedlatif1 Apr 29, 2026 https://github.com/simstudioai/sim/pull/4344/commits/6be088d1e1b4acc4df8b39b3a329f0c11122955f
ad5f50f fix(trace): fix sub-credit display, locale, and pluralization in form… waleedlatif1 Apr 29, 2026 https://github.com/simstudioai/sim/pull/4344/commits/ad5f50f3fd5a46d6b04f697ae367edc3ee396cf4
7ae61df fix(trace): extract normalizeToolId to client-safe module, consolidat… waleedlatif1 Apr 29, 2026 https://github.com/simstudioai/sim/pull/4344/commits/7ae61df9dba7332f120913c84ee11556d1c32e0b
00f8094 refactor(trace): consolidate shared span utilities into log-details/u… waleedlatif1 Apr 29, 2026 https://github.com/simstudioai/sim/pull/4344/commits/00f80940205e3f858160f798c4f23350c6f58edb
6a1a28c fix(tools): import normalizeToolId for internal use after extracting … waleedlatif1 Apr 29, 2026 https://github.com/simstudioai/sim/pull/4344/commits/6a1a28c49f59d7b2b54dcfcecd18236702dc92e9
005464e style(trace-spans): replace inline transform style with Tailwind rota… waleedlatif1 Apr 29, 2026 https://github.com/simstudioai/sim/pull/4344/commits/005464e210ca1f1a34ebd216195fb60f124291c2
669c35e fix(trace-spans): show credits instead of dollars for cost display waleedlatif1 Apr 29, 2026 https://github.com/simstudioai/sim/pull/4344/commits/669c35effaa55ed17d427d287c99a803b38a3fbb
e8f7139 refactor(trace): move formatCostAmount and getDisplayName to shared u… waleedlatif1 Apr 29, 2026 https://github.com/simstudioai/sim/pull/4344/commits/e8f7139068bc75ab10a6db654ecce9e46d832790
4c07eb9 fix(trace-spans): simplify formatCostSummary to show total credits only waleedlatif1 Apr 29, 2026 https://github.com/simstudioai/sim/pull/4344/commits/4c07eb9783c29ba738008751110122bf2edce38c
Clear filters https://github.com/simstudioai/sim/pull/4344/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4344/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4344/files
trace-spans.tsx https://github.com/simstudioai/sim/pull/4344/files#diff-ad555d9d3c51e5fffc9b260b93a3412ae252d942b2ed8d15379d2e1e16c324d7
trace-view.tsx https://github.com/simstudioai/sim/pull/4344/files#diff-f73fd911a20f3ad980b736fa14c8bb47bee1bb576ab40ec66cb8eba63065303c
utils.ts https://github.com/simstudioai/sim/pull/4344/files#diff-0f0bb90f98f9f4da0fd46de4ce401bc563186a6e6f1e360de1fb75a62eb26183
index.ts https://github.com/simstudioai/sim/pull/4344/files#diff-47ae0066fea628681d98d136239929a240a55aaf3d99ef293c83b3eca7e197c1
normalize.ts https://github.com/simstudioai/sim/pull/4344/files#diff-c8d34a70a4d0dfaafb65a12c1ce1a1a1ada5d5c2051e976a99e8c0b984e029d0
...orkspace/[workspaceId]/logs/components/log-details/components/trace-spans/trace-spans.tsxhttps://github.com/simstudioai/sim/pull/4344/files#diff-ad555d9d3c51e5fffc9b260b93a3412ae252d942b2ed8d15379d2e1e16c324d7
View file https://github.com/simstudioai/sim/blob/4c07eb9783c29ba738008751110122bf2edce38c/apps/sim/app/workspace/%5BworkspaceId%5D/logs/components/log-details/components/trace-spans/trace-spans.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4344/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4344/files#diff-ad555d9d3c51e5fffc9b260b93a3412ae252d942b2ed8d15379d2e1e16c324d7
https://github.com/simstudioai/sim/pull/4344/files#diff-ad555d9d3c51e5fffc9b260b93a3412ae252d942b2ed8d15379d2e1e16c324d7
Please reload this pagehttps://github.com/simstudioai/sim/pull/4344/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4344/files
https://github.com/simstudioai/sim/pull/4344/files#diff-ad555d9d3c51e5fffc9b260b93a3412ae252d942b2ed8d15379d2e1e16c324d7
https://github.com/simstudioai/sim/pull/4344/files#diff-ad555d9d3c51e5fffc9b260b93a3412ae252d942b2ed8d15379d2e1e16c324d7
https://github.com/simstudioai/sim/pull/4344/files#diff-ad555d9d3c51e5fffc9b260b93a3412ae252d942b2ed8d15379d2e1e16c324d7
Please reload this pagehttps://github.com/simstudioai/sim/pull/4344/files
https://github.com/simstudioai/sim/pull/4344/files#diff-ad555d9d3c51e5fffc9b260b93a3412ae252d942b2ed8d15379d2e1e16c324d7
https://github.com/simstudioai/sim/pull/4344/files#diff-ad555d9d3c51e5fffc9b260b93a3412ae252d942b2ed8d15379d2e1e16c324d7
https://github.com/simstudioai/sim/pull/4344/files#diff-ad555d9d3c51e5fffc9b260b93a3412ae252d942b2ed8d15379d2e1e16c324d7
Please reload this pagehttps://github.com/simstudioai/sim/pull/4344/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4344/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.