Repository navigation
Rich UI: chunk queries for the manifest and stored templates (Occipital) - #1056
Merged
Merged
Conversation
Co-authored-by: alfonso-aft <289616620+alfonso-aft@users.noreply.github.com>
Co-authored-by: alfonso-aft <289616620+alfonso-aft@users.noreply.github.com>
Co-authored-by: alfonso-aft <289616620+alfonso-aft@users.noreply.github.com>
Co-authored-by: alfonso-aft <289616620+alfonso-aft@users.noreply.github.com>
Co-authored-by: alfonso-aft <289616620+alfonso-aft@users.noreply.github.com>
Co-authored-by: alfonso-aft <289616620+alfonso-aft@users.noreply.github.com>
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.
Rich UI campaign slice 5. Occipital can fetch the Rich UI manifest and stored templates in fixed-size chunks over its tool-provider routes:
rich_ui.manifest_chunkandrich_ui.template_chunk(op form and barename/argumentsform), 128 KiB chunks with total chunk and byte counts; reassembly is checked against the digest, including a two-byte UTF-8 character split across a chunk boundary.principal_not_allowedbefore any lookup.digest_unknown, out-of-range indexeschunk_index_out_of_range, and a held database lock reportsdatabase_busywithout waiting (never a miss). Refusals are typed protocol errors, never tool-result bodies.Route tests drive the real module frame loop (channel-0 RouteBind, routed requests). Build server: Windows target check with -D warnings passed.
Summary by cubic
Adds
rich_ui.manifest_chunkandrich_ui.template_chunkso Occipital can fetch the Rich UI manifest and stored templates in fixed-size chunks over its tool-provider routes.New Features
reserved:occipitalprincipal is admitted, scoped or unscoped; any other principal getsprincipal_not_allowedbefore a lookup.digest_unknown,chunk_index_out_of_range,database_busywithout waiting, anddatabase_unavailablefor a missing or poisoned handle.session_not_bound.manifest_chunkrefusesdigest_unknownuntil publication is enabled.Written for commit ea99096. Summary will update on new commits.