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.
- {foxfetch-0.1.2 → foxfetch-0.1.3}/PKG-INFO +35 -9
- {foxfetch-0.1.2 → foxfetch-0.1.3}/README.md +344 -318
- {foxfetch-0.1.2 → foxfetch-0.1.3}/README.zh.md +339 -316
- {foxfetch-0.1.2 → foxfetch-0.1.3}/pyproject.toml +1 -1
- {foxfetch-0.1.2 → foxfetch-0.1.3}/src/foxfetch/__init__.py +1 -1
- {foxfetch-0.1.2 → foxfetch-0.1.3}/.gitignore +0 -0
- {foxfetch-0.1.2 → foxfetch-0.1.3}/INSTALL.md +0 -0
- {foxfetch-0.1.2 → foxfetch-0.1.3}/LICENSE +0 -0
- {foxfetch-0.1.2 → foxfetch-0.1.3}/dsh/README.md +0 -0
- {foxfetch-0.1.2 → foxfetch-0.1.3}/src/foxfetch/__main__.py +0 -0
- {foxfetch-0.1.2 → foxfetch-0.1.3}/src/foxfetch/cli.py +0 -0
- {foxfetch-0.1.2 → foxfetch-0.1.3}/src/foxfetch/config.py +0 -0
- {foxfetch-0.1.2 → foxfetch-0.1.3}/src/foxfetch/contexts.py +0 -0
- {foxfetch-0.1.2 → foxfetch-0.1.3}/src/foxfetch/doctor.py +0 -0
- {foxfetch-0.1.2 → foxfetch-0.1.3}/src/foxfetch/engine.py +0 -0
- {foxfetch-0.1.2 → foxfetch-0.1.3}/src/foxfetch/probe.py +0 -0
- {foxfetch-0.1.2 → foxfetch-0.1.3}/src/foxfetch/server.py +0 -0
- {foxfetch-0.1.2 → foxfetch-0.1.3}/src/foxfetch/shapes.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: foxfetch
|
|
3
|
-
Version: 0.1.
|
|
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** —
|
|
82
|
+
**3. Connect your agent** — this step differs per host, because the hosts live on different
|
|
83
|
+
platforms:
|
|
83
84
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
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
|
|