Repository navigation
feat(support): Render semantic content for humans and agents - #58
Merged
Merged
Conversation
philprime
marked this pull request as ready for review
November 18, 2026 12:16
philprime
force-pushed
the
philprime/feat/support-content-output
branch
3 times, most recently
from
November 18, 2026 14:03
6757dcb to
901cb13
Compare
Base automatically changed from
philprime/feat/support-content-service
to
main
November 18, 2026 14:17
philprime
force-pushed
the
philprime/feat/support-content-output
branch
from
November 18, 2026 14:18
901cb13 to
5a34cfc
Compare
philprime
force-pushed
the
philprime/feat/support-content-output
branch
from
November 18, 2026 14:57
5a34cfc to
205a431
Compare
philprime
enabled stacked auto-merge (squash)
November 18, 2026 15:30
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.
Render support content through a shared semantic presentation with independent output format and audience selection. JSON preserves typed catalog hierarchy and rich document content, while human and agent text retain links, code, tables, definitions, and notices.
Inline images retain their source URL, alt text, and enclosing link in JSON and text output. Explicit paragraph breaks remain intact while human output wraps each line. Ordered-list numbering remains exact across machine-integer boundaries, so an extreme HTML start value cannot trap the renderer or silently wrap its numbering.
Agent Markdown escapes literal content, protects code-span and URL delimiters, and aligns nested list blocks with their item markers. It includes shell-quoted follow-up commands only for recognized destinations. PDFs and unsupported links remain ordinary references. Terminal rendering strips control characters from external page text.
This layer adds the output boundary. Command registration and composition follow in the top stack layer.