Conversation
This was referenced Sep 29, 2026
Add ADR 0003 and the ABI v1 §File input contract. File input moves from the App v2 capabilities.fileInput manifest block to a runtime host_file_register call on the mediated-input lifecycle, with inline (8 MiB) and relaunch (128 MiB) delivery and host_file_info for the selected file's name, MIME type and size. The manifest keeps only an advisory top-level fileTypes hint. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
replghost
force-pushed
the
docs/runtime-file-handlers
branch
from
September 29, 2026 18:52
6fa4b77 to
c0b2825
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
host_file_registerregisters a handler on the shared mediated-input handle space;host_file_inforeturns the selected file's base name, MIME type, and size.inline(up to 8 MiB, read throughhost_input_read, counted against the per-update Host-call budget) andrelaunch(up to 128 MiB, the file replaces the asset at the handler'smountPathin a fresh execution).fileTypesmanifest list lets a Host suggest an App for a file before it runs. It grants nothing.media_typeis a kind-defined token, not a MIME type.The manifest side is in paritytech/trinity-user-agents#507. Implementation follows in a stacked PR.
🤖 Generated with Claude Code