foxfetch 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: foxfetch
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Fetch pages through a real Firefox engine (ruyijs) for AI agents: pass bot checks, run the page's own JavaScript, then hand the identity to Chromium when a screenshot is needed.
5
5
  Project-URL: Homepage, https://github.com/zhuchongba-01/foxfetch
6
6
  Project-URL: Repository, https://github.com/zhuchongba-01/foxfetch
@@ -79,15 +79,35 @@ pip install foxfetch
79
79
  python -m foxfetch doctor
80
80
  ```
81
81
 
82
- **3. Connect your agent** — pick one line, copy it:
82
+ **3. Connect your agent** — this step differs per host, because the hosts live on different
83
+ platforms:
83
84
 
84
- | Your agent | Run this |
85
- |---|---|
86
- | **Pi** | `pi mcp add foxfetch -- python -m foxfetch serve` |
87
- | **Claude Code** | `claude mcp add foxfetch -- python -m foxfetch serve` |
88
- | **Codex** | see [`[mcp_servers.foxfetch]` below](#codex) |
89
- | **DeepSeek Harness** | see [DSH below](#deepseek-harness) |
90
- | **Other MCP client** | `command: python`, `args: ["-m", "foxfetch", "serve"]` |
85
+ ```
86
+ the service (one, shared)
87
+ python -m foxfetch serve ← pip install foxfetch
88
+ ▲
89
+ ┌───────────────┴────────────────┐
90
+ │ │
91
+ MCP clients (Pi, Claude Code, DeepSeek Harness
92
+ Codex, anything else) (native plugin API)
93
+ → a config entry pointing → an npm plugin that forwards
94
+ at the command above to the command above
95
+ │ │
96
+ Pi: pi mcp add foxfetch cd ~/.dsh/profiles/desktop
97
+ -- python -m foxfetch pnpm add dsh-foxfetch
98
+ serve (+ add to dsh.profile.bundles)
99
+ ```
100
+
101
+ | Your agent | Platform | What you install for it |
102
+ |---|---|---|
103
+ | **Pi** | MCP | `pi mcp add foxfetch -- python -m foxfetch serve` |
104
+ | **Claude Code** | MCP | `claude mcp add foxfetch -- python -m foxfetch serve` |
105
+ | **Codex** | MCP | a `[mcp_servers.foxfetch]` table in `~/.codex/config.toml` → [steps](#codex) |
106
+ | **DeepSeek Harness** | **npm plugin** | `pnpm add dsh-foxfetch` in the profile → [steps](#deepseek-harness) |
107
+ | **Other MCP client** | MCP | `command: python`, `args: ["-m", "foxfetch", "serve"]` |
108
+
109
+ Only DSH needs the npm package. Every MCP client talks to the Python service directly, so
110
+ `pip install foxfetch` is the **only** install they need.
91
111
 
92
112
  **4. Prove it works** — ask your agent:
93
113
 
@@ -107,6 +127,12 @@ agent is not talking to the engine — nothing else will work until you fix it.
107
127
 
108
128
  ### Requirements
109
129
 
130
+ There are two platforms involved, and it matters:
131
+
132
+ - **the service** — one Python package, `pip install foxfetch`, shared by every host.
133
+ - **the host entry** — a different mechanism per host: an MCP config entry for Pi / Claude
134
+ Code / Codex, an npm plugin for DSH.
135
+
110
136
  - **Python 3.10+** — that is all. Chromium is optional (screenshots only).
111
137
  - The `ruyijs` engine (44 MB wheel) comes in automatically as a dependency.
112
138