Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,18 @@ WCP ships two Python packages (both target **Python ≥ 3.10**, and both run on
> Publishing is wired via GitHub Actions trusted publishing and fires on a `v*` tag. Until the first release tag is pushed, install from source (below).

```bash
pip install wcpd # the reference server
pip install "wcpd[graph]" # + live SPARQL (rdflib) for wcp.graph.export
pip install wcp # the reference server
pip install "wcp[graph]" # + live SPARQL (rdflib) for wcp.graph.export
wcpd --help
```

Optional extras:

| Extra | Enables |
|---|---|
| `wcpd[graph]` | Live SPARQL queries in `wcp.graph.export` (via `rdflib`). Core graph build/query/traverse/export-to-N-Triples is always available with zero dependencies. |
| `wcpd[linux-ax]` | The pip half (`PyGObject`) of the Linux accessibility backend. `pyatspi` itself comes from your OS package manager (`python3-pyatspi` / `at-spi2-core`). |
| `wcpd[windows-ax]` | The COM binding (`comtypes`) for the Windows UI Automation accessibility backend. |
| `wcp[graph]` | Live SPARQL queries in `wcp.graph.export` (via `rdflib`). Core graph build/query/traverse/export-to-N-Triples is always available with zero dependencies. |
| `wcp[linux-ax]` | The pip half (`PyGObject`) of the Linux accessibility backend. `pyatspi` itself comes from your OS package manager (`python3-pyatspi` / `at-spi2-core`). |
| `wcp[windows-ax]` | The COM binding (`comtypes`) for the Windows UI Automation accessibility backend. |

### From source

Expand Down Expand Up @@ -107,7 +107,7 @@ wcpd stdio --allow-input --allow-osa --allow-browser-eval --allow-scheduler --al

```bash
python3 -m venv ~/.wcp/venv
~/.wcp/venv/bin/pip install wcpd # or: pip install -e /path/to/reference/wcpd
~/.wcp/venv/bin/pip install wcp # or: pip install -e /path/to/reference/wcpd
```

2. Add a server entry to `~/Library/Application Support/Claude/claude_desktop_config.json` (**merge** — don't clobber existing servers):
Expand Down
4 changes: 2 additions & 2 deletions reference/wcpd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ It exposes **35 capability families / 258 operations** — accessibility tree, w
## Install

```bash
pip install wcpd
pip install "wcpd[graph]" # + live SPARQL (rdflib) for wcp.graph.export
pip install wcp
pip install "wcp[graph]" # + live SPARQL (rdflib) for wcp.graph.export
```

Extras: `graph` (rdflib for live SPARQL), `linux-ax` (PyGObject for the Linux AT-SPI2 accessibility backend), `windows-ax` (comtypes for the Windows UI Automation backend).
Expand Down
2 changes: 1 addition & 1 deletion reference/wcpd/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "wcpd"
name = "wcp"
version = "0.1.0"
description = "wcpd: reference implementation of the Workstation Capability Protocol (WCP)"
readme = "README.md"
Expand Down
Loading