Skip to content

feat(web): protocol fields: browser-encrypted secrets, asset uploads - #7826

Closed
tlgimenes wants to merge 8 commits into
split/26-content-protocol-apifrom
split/27-protocol-fields
Closed

tlgimenes wants to merge 8 commits into
split/26-content-protocol-apifrom
split/27-protocol-fields

Conversation

@tlgimenes

@tlgimenes tlgimenes commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Part of the v8 Studio stack, split from #7728, #7770 and #7766 (closed). Base: #7796. The top of the stack, #7843, has the same code as those three PRs combined.

Protocol-aware fields: secrets are encrypted in the browser with the server's secrets.pub, and file/image fields upload assets to a connected deco serve (Localhost, /site-editor) only; sandbox and hosted projects upload to Studio's S3 file storage, per the PO (2026-10-13; serveAssetUploadOrigin, 5bfb253). renderField routes secrets to the backend-aware field and edits Lazy<T> fields as their T (the schema-form.tsx hunks its tests exercise; the new-blocks-editor hunks of that file are in the next PR).

What to look at: Encryption with secrets.pub in the browser; upload size limit

Stack (web track, plan PR 27 of 20–41): previous #7822 · next #7827

🤖 Generated with Claude Code

https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig

Protocol-aware fields: secrets are encrypted in the browser with the
server's `secrets.pub`, and file/image fields upload assets to `deco
serve`. `renderField` routes secrets to the backend-aware field and
edits `Lazy<T>` fields as their `T` (the `schema-form.tsx` hunks its
tests exercise; the new-blocks-editor hunks of that file are in the
next PR).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
tlgimenes and others added 7 commits October 9, 2026 11:52
Only a connected `deco serve` (Localhost, the /site-editor play mode)
takes uploads into a filesystem. A sandbox no longer uploads through the
daemon; like a hosted project it uses Studio's file storage (S3), the
fallback image and file fields already have. The decision is a pure
`serveAssetUploadOrigin`, with tests for each source.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
@tlgimenes

Copy link
Copy Markdown
Contributor Author

Folded into #7887 (API) / #7888 (web, stacked on #7887). The tree of #7888 equals this stack's top (split/51-v8-per-site). The branch is kept.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig

@tlgimenes tlgimenes closed this Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude PR authored by a coding agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant