Add host bootstrap and repair helpers
Add a dedicated pyro host surface for supported chat hosts so Claude Code, Codex, and OpenCode users can connect or repair the canonical MCP setup without hand-writing raw commands or config edits. Implement the shared host helper layer and wire it through the CLI with connect, print-config, doctor, and repair, all generated from the same canonical pyro mcp serve command shape and project-source flags. Update the docs, public contract, examples, changelog, and roadmap so the helper flow becomes the primary onramp while raw host-specific commands remain as reference material. Harden the verification path that this milestone exposed: temp git repos in tests now disable commit signing, socket-based port tests skip cleanly when the sandbox forbids those primitives, and make test still uses multiple cores by default but caps xdist workers to a stable value so make check stays fast and deterministic here. Validation: - uv lock - UV_OFFLINE=1 UV_CACHE_DIR=.uv-cache make check - UV_OFFLINE=1 UV_CACHE_DIR=.uv-cache make dist-check
This commit is contained in:
parent
535efc6919
commit
899a6760c4
25 changed files with 1658 additions and 58 deletions
|
|
@ -38,8 +38,35 @@ pyro mcp serve --repo-url https://github.com/example/project.git
|
|||
Use `--profile workspace-full` only when the chat truly needs shells, services,
|
||||
snapshots, secrets, network policy, or disk tools.
|
||||
|
||||
## Helper First
|
||||
|
||||
Use the helper flow before the raw host CLI commands:
|
||||
|
||||
```bash
|
||||
pyro host connect claude-code
|
||||
pyro host connect codex
|
||||
pyro host print-config opencode
|
||||
pyro host doctor
|
||||
pyro host repair opencode
|
||||
```
|
||||
|
||||
These helpers wrap the same `pyro mcp serve` entrypoint, preserve the current
|
||||
`workspace-core` default, and make it obvious how to repair drift later.
|
||||
|
||||
## Claude Code
|
||||
|
||||
Preferred:
|
||||
|
||||
```bash
|
||||
pyro host connect claude-code
|
||||
```
|
||||
|
||||
Repair:
|
||||
|
||||
```bash
|
||||
pyro host repair claude-code
|
||||
```
|
||||
|
||||
Package without install:
|
||||
|
||||
```bash
|
||||
|
|
@ -66,6 +93,18 @@ Reference:
|
|||
|
||||
## Codex
|
||||
|
||||
Preferred:
|
||||
|
||||
```bash
|
||||
pyro host connect codex
|
||||
```
|
||||
|
||||
Repair:
|
||||
|
||||
```bash
|
||||
pyro host repair codex
|
||||
```
|
||||
|
||||
Package without install:
|
||||
|
||||
```bash
|
||||
|
|
@ -92,6 +131,13 @@ Reference:
|
|||
|
||||
## OpenCode
|
||||
|
||||
Preferred:
|
||||
|
||||
```bash
|
||||
pyro host print-config opencode
|
||||
pyro host repair opencode
|
||||
```
|
||||
|
||||
Use the local MCP config shape from:
|
||||
|
||||
- [opencode_mcp_config.json](../examples/opencode_mcp_config.json)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue