Repository navigation
feat(artifacts): serve immutable agent-generated MCP App views - #3715
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
5f870ae to
cabec48
Compare
cabec48 to
2f397be
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (143e97aca482ed1ee38248b6e88613589f557363). 1 advisory desktop↔den sync note(s) were posted as review comments; they do not affect clearance. Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
143e97a to
e64d01f
Compare
e64d01f to
977fda7
Compare
977fda7 to
47008ba
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (47008bae4fb586181ac367e87f2fbff1fb803c89). 1 advisory desktop↔den sync note(s) were posted as review comments; they do not affect clearance. Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Summary
Adds the provider-side lifecycle for agent-authored custom Artifact views on top of the saved Script/Dynamic Artifact foundation from #3689.
ui://openwork/artifacts/{artifactViewId}/views/{viewRevisionId}/index.htmlresources/readastext/html;profile=mcp-app_meta.ui.resourceUristructuredContentThe existing generic
ui://openwork/dynamic-artifact/v1/view.htmlrenderer remains as a universal fallback. This PR does not add a generic code-injection shell, mutablelatest.html, or a URI returned only after tool execution.Scope
This is the custom-view provider follow-up to #3689. Cross-origin sandboxed iframe hosting is supplied separately by #3700. Automations and ordinary cloud-agent execution are intentionally unchanged.
Security and compatibility
Compatibility with MCP Apps host (#3700)
The exact #3700 and #3715 heads are independently rebased onto the same current
devhead and merge without source conflicts. Together they cover agent authoring, server build, immutable storage, versionedui://resources, exact render-tool registration, sandbox-proxy iframe rendering, and revision activation/rollback.Verification
xlsxtarball integrity retained in the lockfilegit diff --checkThe opt-in live journey remains at
evals/specs/generated-artifact-views.slow.test.ts; a full deployed Den plus packaged Electron visual pass is broader follow-up proof, not claimed here.Base:
396a6e3141e302a230f2319afc45c2e855e79606Head:
47008bae4fb586181ac367e87f2fbff1fb803c89