René's URL Explorer Experiment


Title: feat(project-files): add public sharing and protected delivery by mzxchandra · Pull Request #9019 · simstudioai/sim · GitHub

Open Graph Title: feat(project-files): add public sharing and protected delivery by mzxchandra · Pull Request #9019 · simstudioai/sim

X Title: feat(project-files): add public sharing and protected delivery by mzxchandra · Pull Request #9019 · simstudioai/sim

Description: Summary Add Project file share management and shared bearer authorization for workspace and Project public delivery. Revalidate current share credentials, canonical ownership, file revisions, and referenced assets before returning bytes. Reuse the renderer-qualified compiled-document cache without compiling on public reads. Final backend slice of #8610, rebased onto staging after #9018. Project public API/CLI docs remain unpublished; runtime commands are available. Product integration continues in #9034. Type of Change Feature / refactor Testing 20 focused security unit tests and 10 disposable PostgreSQL sharing checks passed. Scoped TypeScript and changed-file formatting checks passed; cleanup review found no changes needed. 34 local HTTP/source-adapter checks passed: public delivery and credentials (22), sharing policy (7), and inline isolation/cache behavior (5). Hosted CI and bot reviews pending. Pre-deploy synthetic public/disabled share fixtures prepared; post-promotion verification pending. Projects remains disabled on shared staging. Checklist Code follows project style guidelines Self-reviewed my changes Focused tests added/updated and passing Full hosted CI passed I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Add Project file share management and shared bearer authorization for workspace and Project public delivery. Revalidate current share credentials, canonical ownership, file revisions, and ...

X Description: Summary Add Project file share management and shared bearer authorization for workspace and Project public delivery. Revalidate current share credentials, canonical ownership, file revisions, and ...

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

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:7f7630ed-2e0d-0e57-3a04-ea5685fc5878
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCF6A:27514F:87F9D:BFC8B:6AFB4552
html-safe-nonce5de18c68565891161d650dec7c2b58c8270237642c85d43dc136e7ec49a73cd0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjZBOjI3NTE0Rjo4N0Y5RDpCRkM4Qjo2QUZCNDU1MiIsInZpc2l0b3JfaWQiOiI1Nzc2NTI2MDUwNDg1NTUyNDY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca7b6bbd2343a2da1322728b0c877c7d5080f3bd0b7bbdc3b7ea9384a963726c1
hovercard-subject-tagpull_request:4854977733
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/9019/files
twitter:imagehttps://avatars.githubusercontent.com/u/129460234?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/129460234?s=400&v=4
og:image:altSummary Add Project file share management and shared bearer authorization for workspace and Project public delivery. Revalidate current share credentials, canonical ownership, file revisions, and ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
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
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/9019/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9019%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%2F9019%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/9019/files
Reloadhttps://github.com/simstudioai/sim/pull/9019/files
Reloadhttps://github.com/simstudioai/sim/pull/9019/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)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
mzxchandrahttps://github.com/mzxchandra
staginghttps://github.com/simstudioai/sim/tree/staging
codex/project-files-sharinghttps://github.com/simstudioai/sim/tree/codex/project-files-sharing
Conversation 36 https://github.com/simstudioai/sim/pull/9019
Commits 6 https://github.com/simstudioai/sim/pull/9019/commits
Checks 51 https://github.com/simstudioai/sim/pull/9019/checks
Files changed https://github.com/simstudioai/sim/pull/9019/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9019/files
feat(project-files): add public sharing and protected delivery https://github.com/simstudioai/sim/pull/9019/files#top
Show all changes 6 commits https://github.com/simstudioai/sim/pull/9019/files
687e93f feat(project-files): add public sharing and protected delivery mzxchandra Oct 14, 2026 https://github.com/simstudioai/sim/pull/9019/commits/687e93fa7028283f122583d28d6466e71910cbcb
4e2b29d fix(project-files): align public sharing with current renderer contracts mzxchandra Oct 15, 2026 https://github.com/simstudioai/sim/pull/9019/commits/4e2b29dfec850a4074e9d59520fd2ae8a597adc5
8e82431 test(project-files): follow canonical inline cache policy mzxchandra Oct 15, 2026 https://github.com/simstudioai/sim/pull/9019/commits/8e824316fb911527ef1583fa2d4d8d1efb4368d0
b26996c fix(project-files): enforce public delivery and share policy safety mzxchandra Oct 15, 2026 https://github.com/simstudioai/sim/pull/9019/commits/b26996ced70dd5b325e965b56d9804e9da94220d
a4d98d7 test(project-files): explicitly retire fixture shares during teardown mzxchandra Oct 15, 2026 https://github.com/simstudioai/sim/pull/9019/commits/a4d98d795125494ee182ad19c05c5e57d2b88f49
4d685cf test(project-files): restore sharing suite environment mzxchandra Oct 15, 2026 https://github.com/simstudioai/sim/pull/9019/commits/4d685cfcea679d6cad52cdb2703bcec2649ac7be
Clear filters https://github.com/simstudioai/sim/pull/9019/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9019/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9019/files
utils.ts https://github.com/simstudioai/sim/pull/9019/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
route.test.ts https://github.com/simstudioai/sim/pull/9019/files#diff-0b8b5b815d6634b253f43b965c65bc9599734ed36ad06a5b8290de71d3cd8972
route.ts https://github.com/simstudioai/sim/pull/9019/files#diff-b704e2528964732584a9531941b7d7ff78da342a5e3db53f8dde7de069369837
route.test.ts https://github.com/simstudioai/sim/pull/9019/files#diff-47b8bb9bee115c4303ba63089977ff80048211c4b26d595d53f5d885ef241a66
route.ts https://github.com/simstudioai/sim/pull/9019/files#diff-72139ed47a6fe9576216eb2f23fdfb0698cd9c5b31f0ff0b30e8238a49521860
route.test.ts https://github.com/simstudioai/sim/pull/9019/files#diff-5207b98b78fbdb88eead0ab8d6111c508710b2a2423e46805f3ca0acd911a8a9
route.ts https://github.com/simstudioai/sim/pull/9019/files#diff-b1ae4efda8beb5d77719eb7ccfe6f33c25fbc84dbd2af9ac3d543c93e763f4e3
route.test.ts https://github.com/simstudioai/sim/pull/9019/files#diff-db270e3da14c6c692f7b652b88d68a6ceaed778c2789be926f518928baa278ca
route.ts https://github.com/simstudioai/sim/pull/9019/files#diff-b2039d821085869cd39c528e87b1a7e79fad21a7d41584369ab9d61bc75c579d
route.test.ts https://github.com/simstudioai/sim/pull/9019/files#diff-c23a3b234bde7f7621147ed2ddfeb67eb0d72c98853ee20c54b25591187d22b1
route.ts https://github.com/simstudioai/sim/pull/9019/files#diff-6f6c3db3308b3a8c2a21b647f365c2060d29f16948fb2b8239976b221e1cc353
serve-inline-image.ts https://github.com/simstudioai/sim/pull/9019/files#diff-a4f2343a06df534d37f508f3acbd284018536790a78c8f5bf1ff9dd34ffc460d
route.ts https://github.com/simstudioai/sim/pull/9019/files#diff-33757ff7757363b94b0f8a15fe5560bf180cd14b45a2277a246a0f1ad9dd5555
route.ts https://github.com/simstudioai/sim/pull/9019/files#diff-e6b85da4d09832e1354cd8152acfc48acc3ed2a2fbdf5c0f2e481de942732b11
opengraph-image.tsx https://github.com/simstudioai/sim/pull/9019/files#diff-cd1ac578bb733252e26a1a590fb8c068e22e3d9f6fc0a125b9587fafbd1d060c
page.tsx https://github.com/simstudioai/sim/pull/9019/files#diff-4eccb1dc351fa5aedc66034bfc314944dfe6b1152702b046ea596a984c9a1bdd
public-file-view.tsx https://github.com/simstudioai/sim/pull/9019/files#diff-9b86d2cfc6decbc02812caa17f9ef3a740cc097ed8e10e7e39eae89a8104f9bf
public-shares.ts https://github.com/simstudioai/sim/pull/9019/files#diff-0b0713d640f00ea1c463adfcebc2cbc20ad83e09393e6efdabd9e368185f5b35
project-file-shares.ts https://github.com/simstudioai/sim/pull/9019/files#diff-806eddf7afe904714d4259c2935e8c39b5b27e98a0c1d9498e45d1ed0725f78d
public-shares.ts https://github.com/simstudioai/sim/pull/9019/files#diff-103782426ac5574c0e62228a3030774048b52452585b96ef9f9a28a670b156be
project-file-shares.ts https://github.com/simstudioai/sim/pull/9019/files#diff-feac3ef060b069d8fb02fb1cba9457145e36b694e73588043882ebf9cc908ed1
unpublished-project-files.ts https://github.com/simstudioai/sim/pull/9019/files#diff-fe17420c5338f85f262e8ccd95f820289f7572608eb93dff8fcd662ee52d9dd9
project-file-shares.ts https://github.com/simstudioai/sim/pull/9019/files#diff-2997e50f49be485d6ecfd9b7dfd19e1e77f692fce68ab0f3fc54b3d89642f595
v2-route-table.generated.ts https://github.com/simstudioai/sim/pull/9019/files#diff-bb89e263add7c5eb4778158da61b6de5f31ea81866ae718e64a5a7f94ee0a31e
deployment-auth.ts https://github.com/simstudioai/sim/pull/9019/files#diff-2bcd1db2e92755d27076a9493cc099410b4c0d98b8a5dd3a40d06b8ca5f8a217
deployment-credentials.ts https://github.com/simstudioai/sim/pull/9019/files#diff-f061d2cc43efb222034ec8595b8f6abb343d77c2dd310c0232db5d63ef4e39b0
deployment.ts https://github.com/simstudioai/sim/pull/9019/files#diff-1634e62e54b822c14517ea3de8e24b01616e7048cb0509d47e99a69d09e98dcf
otp.ts https://github.com/simstudioai/sim/pull/9019/files#diff-01e8b7bcdb38e55e7190dee29cc6b722cdb479541a2cc02ce34139f55de01270
content-sharing.integration.ts https://github.com/simstudioai/sim/pull/9019/files#diff-246a1d9cc5d6365f46fac496407977a11971d39e827252e64b7f475b020aa4fa
index.ts https://github.com/simstudioai/sim/pull/9019/files#diff-c512489cc00cc5bc0163fd7196ee7ffd4b813e4cb74d688e3e0bdebca35bb572
shares.ts https://github.com/simstudioai/sim/pull/9019/files#diff-ef46e8271173fc78ad5d99d6a20b5897eb6e587e2555369a5202b818ada4f12f
credentials.ts https://github.com/simstudioai/sim/pull/9019/files#diff-c1e61155e2e4f6f73f7086db577c0c97205f28feb29a400770de8569a2d82e90
index.ts https://github.com/simstudioai/sim/pull/9019/files#diff-c0f109c3178439c2708f386ab0c2c6ecde8ca2a67c48a6009bcde074240c5a46
responses.ts https://github.com/simstudioai/sim/pull/9019/files#diff-8af8bd15b60bf1724121a61f162b73f14880338f1cb29e5fa498014dd47b9a93
social-metadata.ts https://github.com/simstudioai/sim/pull/9019/files#diff-46f30808add03d4bace94989e0f3665cdfaa5be2bc3b8aa9093358b7a8999fe6
authorization.ts https://github.com/simstudioai/sim/pull/9019/files#diff-6bb95da3091e22d75c46b4509083e3e19c8af4a90d856c483808ce531efc24dd
credentials.ts https://github.com/simstudioai/sim/pull/9019/files#diff-4dd76c8ca98cf5952e6a9e55e619898764a7eb3e2e059eb003301ecc865fe62e
index.ts https://github.com/simstudioai/sim/pull/9019/files#diff-90c2dc3e18ddc4ca1020ec618f2179f9d17a8ec0cfcb9a4cbf5407ff2d899b1b
operations.ts https://github.com/simstudioai/sim/pull/9019/files#diff-55e2f1e397a7fbffc43275fa52a101b8613ae0940419227fb53d8f32792503dd
owner-adapters.ts https://github.com/simstudioai/sim/pull/9019/files#diff-89a7ea6db7746f099e9aa54aaa3b20f83601b0c3a2792bbc0cfbffe2e2ebb3ed
read.ts https://github.com/simstudioai/sim/pull/9019/files#diff-12f8bf6cae115a2b824ae3efa6d8be10e4beb04201f8bb8e3898a4f86eee0ec5
manager.ts https://github.com/simstudioai/sim/pull/9019/files#diff-05da3c679e048a077f0f59e8fd5a307b1a71b8dea04909ed0ad0f3a3c6762624
test-project-file-inline-source-e2e.ts https://github.com/simstudioai/sim/pull/9019/files#diff-3884eabc406218d8bde9009f60acc4fa7ed4a076da6b4c506b55308f2893cd39
test-project-file-public-e2e.ts https://github.com/simstudioai/sim/pull/9019/files#diff-adb587ff348176c329595be2f9b2b3983daf7c16dd365a61fa18b82d5e632cd4
test-project-file-sharing-e2e.ts https://github.com/simstudioai/sim/pull/9019/files#diff-1d9ee29ae30610990769612eaa63dd3f51ffbafb553887b10d1dd95bf7c79fb2
test-project-files-e2e.ts https://github.com/simstudioai/sim/pull/9019/files#diff-0b724b0078606c258423d4fc0977830cf3c691dd2fcee4d49686fb71f0cb5bd9
knip.jsonc https://github.com/simstudioai/sim/pull/9019/files#diff-48d5ba4681726b42e98dae10c08bd94f7f9836644c8f183c6475d10dcf67ebf1
commands.ts https://github.com/simstudioai/sim/pull/9019/files#diff-5b27c3986f1d8efb7c666a86dc02bf70fe6c52509f71fba2df57e706b9bc729d
v2-api.ts https://github.com/simstudioai/sim/pull/9019/files#diff-e856e756b18965607efb943e85bad153871936ce3ee5180ec2e8073a28dd1dd7
client.test.ts https://github.com/simstudioai/sim/pull/9019/files#diff-a7bd98d04242cd3286ca5e6087ed418fa75fc612d089ee8956770c273aed690b
public-shares.mock.ts https://github.com/simstudioai/sim/pull/9019/files#diff-fad238a910cbe4f9a28c6def041a6e76a47ab5155040b79ee1bc294d30838bc3
check-unused-exports.baseline.json https://github.com/simstudioai/sim/pull/9019/files#diff-4b59a8526a4f226dffb0fbf6b8ec25d3082ab45da697f584eaaca4bd483c928f
apps/sim/app/api/chat/utils.tshttps://github.com/simstudioai/sim/pull/9019/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
View file https://github.com/simstudioai/sim/blob/4d685cfcea679d6cad52cdb2703bcec2649ac7be/apps/sim/app/api/chat/utils.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9019/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9019/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
https://github.com/simstudioai/sim/pull/9019/files#diff-c5e658d6a69bd95524894ce80a1f83c609d21b346a4e3ef0bb4df4766dacf751
apps/sim/app/api/files/public/[token]/content/route.test.tshttps://github.com/simstudioai/sim/pull/9019/files#diff-0b8b5b815d6634b253f43b965c65bc9599734ed36ad06a5b8290de71d3cd8972
View file https://github.com/simstudioai/sim/blob/e1451e9d1bf01f64b8d3eb227aebfe3cb801ed05/apps/sim/app/api/files/public/%5Btoken%5D/content/route.test.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/9019/files
apps/sim/app/api/files/public/[token]/content/route.tshttps://github.com/simstudioai/sim/pull/9019/files#diff-b704e2528964732584a9531941b7d7ff78da342a5e3db53f8dde7de069369837
View file https://github.com/simstudioai/sim/blob/4d685cfcea679d6cad52cdb2703bcec2649ac7be/apps/sim/app/api/files/public/%5Btoken%5D/content/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9019/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/9019/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9019/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.