Update README for CLI/MCP parity: daemon model, new commands, --json#119
Merged
obj-p merged 2 commits intocli-mcp-parityfrom Apr 16, 2026
Merged
Update README for CLI/MCP parity: daemon model, new commands, --json#119obj-p merged 2 commits intocli-mcp-parityfrom
obj-p merged 2 commits intocli-mcp-parityfrom
Conversation
The CLI section hadn't been updated since the parity stack landed. Expands it to cover: - All 12 subcommands grouped by purpose (previewing, snapshotting, inspecting, session management, enumeration/diagnostics). - The daemon model (auto-start, socket location, persistence, kill-daemon). - Magical session reuse for snapshot/variants. - --session / --file / sole-session resolution convention. - --json flag on 7 read-oriented commands with jq examples. - Separated "Project config" into its own section for scannability. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Subagent audit found several stale items after the parity migration. AGENTS.md: - Updated test count (~34 → ~100+) and added daemon-touching test examples. - Added "Daemon model" section documenting the architecture, key files, and how PreviewsMCPApp routes commands. - Added "CLI subcommands" table listing all 13 commands with purpose and daemon/local classification. - Added "Structured output (--json)" section documenting the convention and the structuredContent wire format. - Updated MCP tools list to include session_list. - Added note about structuredContent on tool responses. Help text: - SnapshotCommand and VariantsCommand had "(ephemeral session only)" qualifiers on --width, --height, --preview that were misleading post-migration. Changed to "(new session only; ignored when reusing a live session)" which is accurate. --json tests: - Added SimulatorsCommandTests.simulatorsJSON — asserts stdout is valid JSON with a "simulators" array. - Added ListCommandTests.listJSON — asserts stdout is valid JSON with "file" and "previews" fields, correct preview count. - These were the two commands with zero --json test coverage. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.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.
Summary
Wave 3 — documentation. The CLI section hadn't been updated since the parity stack landed. Covers all 12 subcommands, the daemon model, magical session reuse, session targeting,
--json, and project config.No code changes. README only.
🤖 Generated with Claude Code