| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:90b8c7b1-57e7-225d-5f2d-d531f3632ec9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C41C:3E4205:16D4CDF:1E81655:6B014308 |
| html-safe-nonce | 9f482d32e0dd2c219056541f9a4bc1619e29d915842331596e52295547c76653 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDFDOjNFNDIwNToxNkQ0Q0RGOjFFODE2NTU6NkIwMTQzMDgiLCJ2aXNpdG9yX2lkIjoiMzEyNzIyMjc1NzI0MzMwNjc2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c87b8bec55ef3fc01dc707a14df8952e2e8c0882820d70a7458b0d05718eda96 |
| hovercard-subject-tag | pull_request:3521089485 |
| 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/coder/coder/pull/24280/files |
| twitter:image | https://avatars.githubusercontent.com/u/39577870?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/39577870?s=400&v=4 |
| og:image:alt | Agents can already see workspace files and take screenshots, but users could not download those artifacts from chat. This PR adds durable chat attachments to chatd. attach_file, explicit computer s... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/coder/coder/pull/24280/changes#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F24280%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%2Fcoder%2Fcoder%2Fpull%2F24280%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=coder%2Fcoder |
| Reload | https://github.com/coder/coder/pull/24280/changes |
| Reload | https://github.com/coder/coder/pull/24280/changes |
| Reload | https://github.com/coder/coder/pull/24280/changes |
| coder | https://github.com/coder |
| coder | https://github.com/coder/coder |
| Code | https://github.com/coder/coder |
| Issues320 (320) | https://github.com/coder/coder/issues |
| Pull requests468 (468) | https://github.com/coder/coder/pulls |
| Discussions | https://github.com/coder/coder/discussions |
| Actions | https://github.com/coder/coder/actions |
| Projects | https://github.com/coder/coder/projects |
| Security and quality49 (49) | https://github.com/coder/coder/security |
| Insights | https://github.com/coder/coder/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fcoder%2Fcoder%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=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose |
| ethanndickson | https://github.com/ethanndickson |
| main | https://github.com/coder/coder/tree/main |
| ethan/chat-file-attachments | https://github.com/coder/coder/tree/ethan/chat-file-attachments |
|
Conversation
115
| https://github.com/coder/coder/pull/24280 |
|
Commits
1
| https://github.com/coder/coder/pull/24280/commits |
|
Checks
34
| https://github.com/coder/coder/pull/24280/checks |
|
Files changed
| https://github.com/coder/coder/pull/24280/files |
| Please reload this page | https://github.com/coder/coder/pull/24280/changes |
|
feat(coderd/x/chatd): agent-created file attachments in chat
| https://github.com/coder/coder/pull/24280/changes#top |
|
Show all changes
1 commit
| https://github.com/coder/coder/pull/24280/files |
|
cf835bc
feat(coderd): agent-created file attachments in chat
ethanndickson Apr 13, 2026
| https://github.com/coder/coder/pull/24280/commits/cf835bcac4fd4e6eaa5e9fafa1d26f47f4cdd8d4 |
|
Clear filters
| https://github.com/coder/coder/pull/24280/files |
| Please reload this page | https://github.com/coder/coder/pull/24280/changes |
| Please reload this page | https://github.com/coder/coder/pull/24280/changes |
|
mime.go
| https://github.com/coder/coder/pull/24280/changes#diff-40b0d2c2aef66f8d6c164fc3ef160f6c1333ec227903367774544f8497cb776d |
|
mime_test.go
| https://github.com/coder/coder/pull/24280/changes#diff-1c9077ccb707e09c92d0be4e3c2ef1be40980c3d709891ab8196a4537bdc4570 |
|
exp_chats.go
| https://github.com/coder/coder/pull/24280/changes#diff-8e955e7c41dead7f4247d5779fea96cbf0a3c829549375a423cdc808a3cb8a2f |
|
exp_chats_test.go
| https://github.com/coder/coder/pull/24280/changes#diff-7f0a3a4d3a58135df3e5c6658429ca020a5e473c7191760be6efcf490c7c5a63 |
|
attachments.go
| https://github.com/coder/coder/pull/24280/changes#diff-ce98d577e37acd3ed0f2f00a6a437e7a72c6a82ca7ec1cb551f8207d10192f80 |
|
attachments_test.go
| https://github.com/coder/coder/pull/24280/changes#diff-7bdd5b2e5329f51b8cc5eae5f080f04ed1532b919ffce47695c47a624248f847 |
|
chatd.go
| https://github.com/coder/coder/pull/24280/changes#diff-9760d93414fe0e308947af4c1e3dc773ad63bdb871f2ed8fd433fae1124637db |
|
chatprompt.go
| https://github.com/coder/coder/pull/24280/changes#diff-efbd4568862067ed2049ae1ab9e16722cd4911231a6da66ce132cf824b23e967 |
|
chatprompt_test.go
| https://github.com/coder/coder/pull/24280/changes#diff-72cb61d521a06e71b70798ea0fa9e16e43a7add8b92fa5f299445a1dd4637261 |
|
attachfile.go
| https://github.com/coder/coder/pull/24280/changes#diff-65f5f27f2f2a5bea858fc58ec7d016f96310c964b5f40476aac56b9e46942e59 |
|
attachfile_test.go
| https://github.com/coder/coder/pull/24280/changes#diff-d71b7caed6f8ec3b39e942e0016617b73ee86eda29e6c2e362c1ff4189b7b433 |
|
attachment.go
| https://github.com/coder/coder/pull/24280/changes#diff-df22a38f5d463eb786a578a32a4b4db70f7ab133e3c366d954792086e3e6d568 |
|
computeruse.go
| https://github.com/coder/coder/pull/24280/changes#diff-1a07d64d368320c5d042dc301cfd8cbdf559553c0d369fa2f2374d07a265586b |
|
computeruse_internal_test.go
| https://github.com/coder/coder/pull/24280/changes#diff-f9af163f5aa74321919159a5c012e6a6dfe8acaa8f18c2364843b361ec577cb1 |
|
computeruse_test.go
| https://github.com/coder/coder/pull/24280/changes#diff-e46fbe12e19bb7c9b0ffce63407296b1e25b749ee41bd6a6fcff0fb571041bfe |
|
proposeplan.go
| https://github.com/coder/coder/pull/24280/changes#diff-a90361ab7c51a2e4cff570043d0a602d339a140cc37731817be754352af1e80e |
|
proposeplan_test.go
| https://github.com/coder/coder/pull/24280/changes#diff-af79cb7b0e5138550a2099a025e925a89ea19cc049b929bfc948df070f3ba665 |
|
recording.go
| https://github.com/coder/coder/pull/24280/changes#diff-d9cc7f1300d8a25a128de8b0c78a0f14b3872ec28ab32f617372e1ca4da2cba8 |
|
recording_internal_test.go
| https://github.com/coder/coder/pull/24280/changes#diff-b344a2f64ff81ebf621b5a2b4b25f9ae4fe3b8206f2f52def92409c61c1e9170 |
|
store_chat_attachment.go
| https://github.com/coder/coder/pull/24280/changes#diff-906b246e4e7ef6a2f6cd1496375a849e45817e85cdf79e380589e56ebf4bea5e |
|
store_chat_attachment_test.go
| https://github.com/coder/coder/pull/24280/changes#diff-5145b76489f87409f098f140164a7a1e61376cd0f17bca03c3c35a9139acbabd |
|
subagent.go
| https://github.com/coder/coder/pull/24280/changes#diff-cdc0c9b50ef152b8c3271545d0e235809abee66ff64afa3833a2945d78bbaeac |
|
subagent_internal_test.go
| https://github.com/coder/coder/pull/24280/changes#diff-e04a883d6f5ab02b9267703ba983fde54b8f95e5cc96fa1aad94cbf09850d254 |
|
chats.go
| https://github.com/coder/coder/pull/24280/changes#diff-897877136a20fe9613cd72c761f37a0fe0d71f4cf020fe929369b2e944ceea98 |
|
go.mod
| https://github.com/coder/coder/pull/24280/changes#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6 |
|
typesGenerated.ts
| https://github.com/coder/coder/pull/24280/changes#diff-0db594bd57651eba54a837eab00864ea5f931dfdf058eb3dc3b9e2e211fa6e7a |
| coderd/chatfiles/mime.go | https://github.com/coder/coder/pull/24280/changes#diff-40b0d2c2aef66f8d6c164fc3ef160f6c1333ec227903367774544f8497cb776d |
|
View file
| https://github.com/coder/coder/blob/cf835bcac4fd4e6eaa5e9fafa1d26f47f4cdd8d4/coderd/chatfiles/mime.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/24280/{{ revealButtonHref }} |
| Please reload this page | https://github.com/coder/coder/pull/24280/changes |
| Please reload this page | https://github.com/coder/coder/pull/24280/changes |
| Please reload this page | https://github.com/coder/coder/pull/24280/changes |
| Please reload this page | https://github.com/coder/coder/pull/24280/changes |
| Please reload this page | https://github.com/coder/coder/pull/24280/changes |
| Please reload this page | https://github.com/coder/coder/pull/24280/changes |
| Please reload this page | https://github.com/coder/coder/pull/24280/changes |
| Please reload this page | https://github.com/coder/coder/pull/24280/changes |
|
| 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 |