René's URL Explorer Experiment


Title: improvement(search): search every folder, and document real API error bodies by waleedlatif1 · Pull Request #6861 · simstudioai/sim · GitHub

Open Graph Title: improvement(search): search every folder, and document real API error bodies by waleedlatif1 · Pull Request #6861 · simstudioai/sim

X Title: improvement(search): search every folder, and document real API error bodies by waleedlatif1 · Pull Request #6861 · simstudioai/sim

Description: Summary Search on Files, Tables, and Knowledge was ANDed with the open folder, so a query only ever matched that folder's direct children — you could not find a nested file from the root. A non-empty query now searches the whole workspace, at any depth. The query was not cleared when you entered a folder, so the folder you just opened stayed filtered to the previous search. Opening a folder now ends the search (Back restores the results). A Location column names each result's folder while searching, and is absent otherwise. A search or filter that matched nothing rendered a blank table with no explanation. There is now a real no-results state naming the query. GET /api/v2/files gains a recursive flag — defaults to true alongside a search, false otherwise, so listing a folder shows that folder while searching one looks through it. Surfaces as --recursive on sim files list. Every non-200 tab in the API reference showed the same BAD_REQUEST / "The request is invalid." body, because one shared example hung off the error schema. Each status now documents a real code and message, with details where the description promises it. Type of Change Bug fix Testing Tested manually. bun run check:audits (29/29), bun run type-check, and bun run lint all pass. 61 new tests across the search scope, drag-move pruning, recursive folder scoping, recursive query parsing, error-code mapping, and the OpenAPI generator; each verified to fail against the pre-fix behavior. OpenAPI and CLI artifacts regenerated. 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 Search on Files, Tables, and Knowledge was ANDed with the open folder, so a query only ever matched that folder's direct children — you could not find a nested file from the root. A no...

X Description: Summary Search on Files, Tables, and Knowledge was ANDed with the open folder, so a query only ever matched that folder's direct children — you could not find a nested file from the root. ...

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

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:669a5ccd-a9b0-c27c-2db1-f1e2645b7624
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB188:3BD2EB:64D0C3:8E1751:6AFB646D
html-safe-nonce9db5a9cfd404cdb963c071f1c92679d55a98167955e11f124716aa7c1d4379d5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTg4OjNCRDJFQjo2NEQwQzM6OEUxNzUxOjZBRkI2NDZEIiwidmlzaXRvcl9pZCI6Ijc1NTgyMzMxNzEzODIzNjUyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac99a0a9e0f2643959fc34b5c5b11cd5cc4c97b4aaf0db0ba81bee576f7183de01
hovercard-subject-tagpull_request:4317329450
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/6861/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 Search on Files, Tables, and Knowledge was ANDed with the open folder, so a query only ever matched that folder's direct children — you could not find a nested file from the root. A no...
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/6861/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6861%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%2F6861%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/6861/files
Reloadhttps://github.com/simstudioai/sim/pull/6861/files
Reloadhttps://github.com/simstudioai/sim/pull/6861/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
worktree-files-search-uxhttps://github.com/simstudioai/sim/tree/worktree-files-search-ux
Conversation 8 https://github.com/simstudioai/sim/pull/6861
Commits 2 https://github.com/simstudioai/sim/pull/6861/commits
Checks 30 https://github.com/simstudioai/sim/pull/6861/checks
Files changed https://github.com/simstudioai/sim/pull/6861/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6861/files
improvement(search): search every folder, and document real API error bodies https://github.com/simstudioai/sim/pull/6861/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/6861/files
ef3a80e improvement(search): search every folder, and document real API error… waleedlatif1 Aug 19, 2026 https://github.com/simstudioai/sim/pull/6861/commits/ef3a80e667161ac625d8f5fdb7427f409eac2812
16dd34b fix(search): discard the search term on clear instead of masking it waleedlatif1 Aug 19, 2026 https://github.com/simstudioai/sim/pull/6861/commits/16dd34b99309fbc0df94f0287fa3ceb55f78d430
Clear filters https://github.com/simstudioai/sim/pull/6861/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6861/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6861/files
files.mdx https://github.com/simstudioai/sim/pull/6861/files#diff-3c91d686088252df80dc2544eb7be08dbdbd8a924270e4829aeae2edb0e3442e
reference.mdx https://github.com/simstudioai/sim/pull/6861/files#diff-6d62ac33f713efb75155dd81dea38d4a65cc2450dbc7a9af1c2a85c1122da399
openapi-v2-billing.json https://github.com/simstudioai/sim/pull/6861/files#diff-d1a7579e3381b5f6f39f2f304f56201fbf944a23caa31b5ecc165988a85a6eb4
openapi-v2-files-audit.json https://github.com/simstudioai/sim/pull/6861/files#diff-c6918d7f933ec43ee8b8a4983d19f272b35962e2510bad721fc05d6d82b41b8d
openapi-v2-knowledge.json https://github.com/simstudioai/sim/pull/6861/files#diff-c15da3de30ec533f5aedd9a2862e8afdb8e2a58490fe681b97959638218bf99e
openapi-v2-logs.json https://github.com/simstudioai/sim/pull/6861/files#diff-303943bbe4957dfce964c583968a279a8fddba1850a9ada9273d00b5498f8a75
openapi-v2-resources.json https://github.com/simstudioai/sim/pull/6861/files#diff-17e168777a3b67e689dd8b24e28aaa217cb884843dccad31b1dbf22d5307e17f
openapi-v2-tables.json https://github.com/simstudioai/sim/pull/6861/files#diff-ce7e6e983230c870183cf99d3e224cd90a9b070ad038113d581d755a0386043b
openapi-v2-workflows.json https://github.com/simstudioai/sim/pull/6861/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b
route.ts https://github.com/simstudioai/sim/pull/6861/files#diff-fd3d80549f88f47c880a2eb988cf60c80e4b32ef4e566a10ace7a92a5efea16e
response.ts https://github.com/simstudioai/sim/pull/6861/files#diff-5846b44ffd25e5e2483dcdd64d5cbb796d06236d4e86bb0d7a670b32b8220851
route.ts https://github.com/simstudioai/sim/pull/6861/files#diff-252ea27fb82edabea096a178bbadb86ae68395d1d720c3855b3bbbdfe38251c7
route.ts https://github.com/simstudioai/sim/pull/6861/files#diff-4bd6a5503e309338d609407d7c7df8e28652cfa0f86c85538270e50afa13a469
drag-move-pruning.test.ts https://github.com/simstudioai/sim/pull/6861/files#diff-5dee0d08ef546cf734ddbed66edb22a4580329cc29d53cd278af9a3ae7df09e2
folder-search-scope.test.ts https://github.com/simstudioai/sim/pull/6861/files#diff-70d4aa2b055b796ebff4b2cf76b062f70e93db2743d75a40b75cfb717272caea
folder-search-scope.ts https://github.com/simstudioai/sim/pull/6861/files#diff-4a6c66544cfc80d203318be679560b503929bc18b337803bc7f2f7c2c93921f8
index.ts https://github.com/simstudioai/sim/pull/6861/files#diff-c4a245a2535d154a9859253f7aa12cd277a4df0a976d5a973d04cc308fbddb96
use-folder-navigation.ts https://github.com/simstudioai/sim/pull/6861/files#diff-09bab5ab24f100133c545663ee0105c640bde246cd15be0ef84f06fd0a8a52b7
use-folder-row-drag-drop.ts https://github.com/simstudioai/sim/pull/6861/files#diff-d1b8d8888d4ad0079637b118c40d2079336e2d645b0533ba0f8419a40184e823
index.ts https://github.com/simstudioai/sim/pull/6861/files#diff-cf629c9c117e79c29a199a88c1f887a4cc2448be93dda99bb99b13bea3561210
index.ts https://github.com/simstudioai/sim/pull/6861/files#diff-78f4301d7050a41c6e95e8fa60d8650e527d697a0854629628d5f43bf8b0c9d2
resource-no-results.tsx https://github.com/simstudioai/sim/pull/6861/files#diff-cce24ddfa4f0b529db096adb94e48d4ab4ae374ed7ab577fe10f76f364bf88f4
is-resource-list-empty.ts https://github.com/simstudioai/sim/pull/6861/files#diff-d24a46f17f4b44c2f5a2f49375866568e39bbe0d71196131aecbaa0c508f73c6
files.tsx https://github.com/simstudioai/sim/pull/6861/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
knowledge.tsx https://github.com/simstudioai/sim/pull/6861/files#diff-c94a1040beada0cc0b8033410cc00f26610a4d0a25eeb6123bbf3a2206021142
filter.ts https://github.com/simstudioai/sim/pull/6861/files#diff-0a7e7bca8bac197a8a0df3dda8a64836e4fa8cce5708dc92313c5ea5915b6d55
tables.tsx https://github.com/simstudioai/sim/pull/6861/files#diff-6f863f5398bd7eec36119c2c77deb2483dbe0374d1bb6909d3e6a279d857bbdc
use-search-filter-value.test.tsx https://github.com/simstudioai/sim/pull/6861/files#diff-f3ddf899ded20b640ebc6ab20427069438c717f8bba5a7bfef60a9a773b3e49b
use-search-filter-value.ts https://github.com/simstudioai/sim/pull/6861/files#diff-16851326b7c812c00be3d272880d8f937718dfa01a1819077afee5255747f7e9
files-recursive.test.ts https://github.com/simstudioai/sim/pull/6861/files#diff-45eef5627b066e18d85633a285cb11b166c7fe00a363d499d6e7304e043d4550
list-pagination.test.ts https://github.com/simstudioai/sim/pull/6861/files#diff-5327c2d14afe92642c98462f0ef8e4b14f7ee5d1ec4085548c8e240da9379d08
error-codes.test.ts https://github.com/simstudioai/sim/pull/6861/files#diff-f0c5b5dd6b091a8b1acf80ea7cde04939d324522100533d46c53f33c64ae7b5b
error-codes.ts https://github.com/simstudioai/sim/pull/6861/files#diff-4adf92a03b822395476ef25133cc571c940dbd68e41b3ecf0dd548c292f6b34c
files.ts https://github.com/simstudioai/sim/pull/6861/files#diff-615f44153f90418dc013f064e82e3f80f38bee63452ab7612e669651365c90b9
files-audit.ts https://github.com/simstudioai/sim/pull/6861/files#diff-97319965ae7aacfb970845624bee9f5e4374c04df6c9b9487ccc26900660ec63
knowledge.ts https://github.com/simstudioai/sim/pull/6861/files#diff-c7ab870eebc0406366d61a889822d9c2d4ba509e875e466d6b9001bffff2bf89
resources.ts https://github.com/simstudioai/sim/pull/6861/files#diff-950bda0ee70aa65034c8e1d522aa2ba2d0f18a6097c65d27b9796b1583c8205c
shared.ts https://github.com/simstudioai/sim/pull/6861/files#diff-de04a2f2a3526e0173b51672e735d59e9172fb12b2ac2cee63190fb5dfc777b1
tables.ts https://github.com/simstudioai/sim/pull/6861/files#diff-d25620b079cb7e6f5aca269f34a7cea4a5d2fd0027f26ffb36ef7ab13714f596
types.ts https://github.com/simstudioai/sim/pull/6861/files#diff-b0edc47b709ccb8b2fee0444c6a4aa0d6de6105095d5363131a9c8662159a6a3
subtree.ts https://github.com/simstudioai/sim/pull/6861/files#diff-6a765b12e55b07f3b38917b0e67f1493e7b98c8f8bfe68378a807160f871dc38
workspace-file-manager.ts https://github.com/simstudioai/sim/pull/6861/files#diff-fcf305d0b37403347596bca42fc6889e9038c9f8e2c69ba20676c0f0d8fead34
list-workspace-files.test.ts https://github.com/simstudioai/sim/pull/6861/files#diff-94a09bd616d4bb6019f502954fcd9c8d3d8a9c178e1e1274e6d95b2ef27893d5
list-workspace-files.ts https://github.com/simstudioai/sim/pull/6861/files#diff-c0043b079185e91389f3f511826ca09eada23b70ef9e58e3d610a012ac3396e6
v2-api.ts https://github.com/simstudioai/sim/pull/6861/files#diff-e856e756b18965607efb943e85bad153871936ce3ee5180ec2e8073a28dd1dd7
generator.test.ts https://github.com/simstudioai/sim/pull/6861/files#diff-fd10e1dc96de98645f35307f3fb23503c2ec9fb871886b82c8841339555b675c
generator.ts https://github.com/simstudioai/sim/pull/6861/files#diff-54399bf7cef4a8f08f448d4b4470aa195e0e908fe797b8353bcb7a449d1fb8a1
apps/docs/content/docs/en/cli/files.mdxhttps://github.com/simstudioai/sim/pull/6861/files#diff-3c91d686088252df80dc2544eb7be08dbdbd8a924270e4829aeae2edb0e3442e
View file https://github.com/simstudioai/sim/blob/16dd34b99309fbc0df94f0287fa3ceb55f78d430/apps/docs/content/docs/en/cli/files.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6861/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6861/files#diff-3c91d686088252df80dc2544eb7be08dbdbd8a924270e4829aeae2edb0e3442e
https://github.com/simstudioai/sim/pull/6861/files#diff-3c91d686088252df80dc2544eb7be08dbdbd8a924270e4829aeae2edb0e3442e
apps/docs/content/docs/en/cli/reference.mdxhttps://github.com/simstudioai/sim/pull/6861/files#diff-6d62ac33f713efb75155dd81dea38d4a65cc2450dbc7a9af1c2a85c1122da399
View file https://github.com/simstudioai/sim/blob/16dd34b99309fbc0df94f0287fa3ceb55f78d430/apps/docs/content/docs/en/cli/reference.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6861/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6861/files#diff-6d62ac33f713efb75155dd81dea38d4a65cc2450dbc7a9af1c2a85c1122da399
https://github.com/simstudioai/sim/pull/6861/files#diff-6d62ac33f713efb75155dd81dea38d4a65cc2450dbc7a9af1c2a85c1122da399
apps/docs/openapi-v2-billing.jsonhttps://github.com/simstudioai/sim/pull/6861/files#diff-d1a7579e3381b5f6f39f2f304f56201fbf944a23caa31b5ecc165988a85a6eb4
View file https://github.com/simstudioai/sim/blob/16dd34b99309fbc0df94f0287fa3ceb55f78d430/apps/docs/openapi-v2-billing.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6861/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6861/files#diff-d1a7579e3381b5f6f39f2f304f56201fbf944a23caa31b5ecc165988a85a6eb4
https://github.com/simstudioai/sim/pull/6861/files#diff-d1a7579e3381b5f6f39f2f304f56201fbf944a23caa31b5ecc165988a85a6eb4
https://github.com/simstudioai/sim/pull/6861/files#diff-d1a7579e3381b5f6f39f2f304f56201fbf944a23caa31b5ecc165988a85a6eb4
https://github.com/simstudioai/sim/pull/6861/files#diff-d1a7579e3381b5f6f39f2f304f56201fbf944a23caa31b5ecc165988a85a6eb4
https://github.com/simstudioai/sim/pull/6861/files#diff-d1a7579e3381b5f6f39f2f304f56201fbf944a23caa31b5ecc165988a85a6eb4
https://github.com/simstudioai/sim/pull/6861/files#diff-d1a7579e3381b5f6f39f2f304f56201fbf944a23caa31b5ecc165988a85a6eb4
https://github.com/simstudioai/sim/pull/6861/files#diff-d1a7579e3381b5f6f39f2f304f56201fbf944a23caa31b5ecc165988a85a6eb4
https://github.com/simstudioai/sim/pull/6861/files#diff-d1a7579e3381b5f6f39f2f304f56201fbf944a23caa31b5ecc165988a85a6eb4
Please reload this pagehttps://github.com/simstudioai/sim/pull/6861/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6861/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.