Repository navigation
docs(cli): escape <daemon> in pair.md so MDX builds - #1460
Merged
Merged
Conversation
The revoke paragraph quoted the client message with a bare <daemon>, which MDX parses as an unclosed JSX tag. That broke cli-site's static build of every doc page. Quote the message as inline code instead.
Contributor
There was a problem hiding this comment.
Summary
Docs-only fix: escapes the raw <daemon> placeholder in docs/cli/verbs/pair.md by wrapping the error message in inline code, preventing MDX from treating it as a JSX element and breaking builds.
Changeset
| package | bump | reason |
|---|---|---|
| (none) | — | docs-only change; no workspace package touched |
Findings
Docs
- docs/cli/verbs/pair.md:178 — Switching the client-facing error string to backticks both fixes the MDX build (
<daemon>is no longer parsed as a component) and better marks it as a literal message. Good.
Test coverage / packages
- No code paths changed; no tests affected, no changeset required.
Verdict
LGTM ✅ — trivial, well-scoped documentation fix that unblocks MDX builds with no risk to published packages.
🤖 @agentproto-bot — review · legacy fallback (api-key) · run 36280242176 · sha 6a52e23ca0b9be829285ad69ebeb8efc4ab1e83c
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.
#1450 added a bare
<daemon>in the revoke paragraph ofdocs/cli/verbs/pair.md. MDX parses it as an unclosed JSX tag (Expected a closing tag for <daemon> (179:6-179:14)), and cli-site'snext buildfails on it for the whole docs tree (found while building agentproto/cli-site#16).The fix quotes the client message as inline code.
@mdx-js/mdx3.1.1compile: pair.md fails on main, compiles after the fix.node scripts/agentflow/docs.mjs --check: exit 0.Docs-only.
🤖 @agentproto-bot — PR · session
sess_19e86cc3(rdv-browser-client) · claude-code / subscription · auth-profileClaude Subs Agentik· modelclaude-opus-5-5· $15.4089 (daemon) · hostmac.home· cwdagentproto/rdv-browser-core