foxfetch 0.1.4__tar.gz → 0.1.5__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.4 → foxfetch-0.1.5}/PKG-INFO +34 -36
- {foxfetch-0.1.4 → foxfetch-0.1.5}/README.md +33 -35
- {foxfetch-0.1.4 → foxfetch-0.1.5}/README.zh.md +33 -33
- {foxfetch-0.1.4 → foxfetch-0.1.5}/pyproject.toml +1 -1
- {foxfetch-0.1.4 → foxfetch-0.1.5}/src/foxfetch/__init__.py +1 -1
- {foxfetch-0.1.4 → foxfetch-0.1.5}/.gitignore +0 -0
- {foxfetch-0.1.4 → foxfetch-0.1.5}/INSTALL.md +0 -0
- {foxfetch-0.1.4 → foxfetch-0.1.5}/LICENSE +0 -0
- {foxfetch-0.1.4 → foxfetch-0.1.5}/dsh/README.md +0 -0
- {foxfetch-0.1.4 → foxfetch-0.1.5}/src/foxfetch/__main__.py +0 -0
- {foxfetch-0.1.4 → foxfetch-0.1.5}/src/foxfetch/cli.py +0 -0
- {foxfetch-0.1.4 → foxfetch-0.1.5}/src/foxfetch/config.py +0 -0
- {foxfetch-0.1.4 → foxfetch-0.1.5}/src/foxfetch/contexts.py +0 -0
- {foxfetch-0.1.4 → foxfetch-0.1.5}/src/foxfetch/doctor.py +0 -0
- {foxfetch-0.1.4 → foxfetch-0.1.5}/src/foxfetch/engine.py +0 -0
- {foxfetch-0.1.4 → foxfetch-0.1.5}/src/foxfetch/probe.py +0 -0
- {foxfetch-0.1.4 → foxfetch-0.1.5}/src/foxfetch/server.py +0 -0
- {foxfetch-0.1.4 → foxfetch-0.1.5}/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.5
|
|
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,49 +79,47 @@ pip install foxfetch
|
|
|
79
79
|
python -m foxfetch doctor
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
-
**3.
|
|
83
|
-
platforms:
|
|
82
|
+
**3. Install for your agent** — there are only two cases:
|
|
84
83
|
|
|
84
|
+
### If you use DeepSeek Harness (DSH)
|
|
85
|
+
|
|
86
|
+
Install command, run in this order:
|
|
87
|
+
|
|
88
|
+
```powershell
|
|
89
|
+
pip install foxfetch
|
|
90
|
+
cd "$env:USERPROFILE\.dsh\profiles\desktop"
|
|
91
|
+
pnpm add dsh-foxfetch
|
|
85
92
|
```
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
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)
|
|
93
|
+
|
|
94
|
+
Then add `"dsh-foxfetch"` to `dsh.profile.bundles` in that `package.json` and restart DSH.
|
|
95
|
+
Full steps with the exact file content: [DSH](#deepseek-harness).
|
|
96
|
+
|
|
97
|
+
### If you use anything else (Pi, Claude Code, Codex, other MCP clients)
|
|
98
|
+
|
|
99
|
+
Install command — the service only, there is nothing to add per client:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
pip install foxfetch
|
|
99
103
|
```
|
|
100
104
|
|
|
101
|
-
|
|
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** | **two things**: the service from step 1 **plus** `pnpm add dsh-foxfetch` → [steps](#deepseek-harness) |
|
|
107
|
-
| **Other MCP client** | MCP | `command: python`, `args: ["-m", "foxfetch", "serve"]` |
|
|
105
|
+
Then point that client at it:
|
|
108
106
|
|
|
109
|
-
|
|
107
|
+
| Client | What to do |
|
|
108
|
+
|---|---|
|
|
109
|
+
| **Pi** | `pi mcp add foxfetch -- python -m foxfetch serve` |
|
|
110
|
+
| **Claude Code** | `claude mcp add foxfetch -- python -m foxfetch serve` |
|
|
111
|
+
| **Codex** | add the `[mcp_servers.foxfetch]` table to `~/.codex/config.toml` → [steps](#codex) |
|
|
112
|
+
| **Any other MCP client** | `command: python`, `args: ["-m", "foxfetch", "serve"]` |
|
|
110
113
|
|
|
111
|
-
|
|
112
|
-
(the plugin). The plugin cannot work without the service; it fails with
|
|
113
|
-
`cannot start the Python service` if you skip step 1.
|
|
114
|
-
- Everyone else: **one** install — `pip install foxfetch`. Their "install" is just a config
|
|
115
|
-
entry pointing at `python -m foxfetch serve`, no package to add.
|
|
114
|
+
### Why the two differ
|
|
116
115
|
|
|
117
|
-
|
|
116
|
+
| | DSH | Everything else |
|
|
117
|
+
|---|---|---|
|
|
118
|
+
| Mechanism | native plugin, loaded by DSH | MCP config entry, read by the client |
|
|
119
|
+
| Package to install | `pip` **and** npm | `pip` only |
|
|
120
|
+
| Without it | plugin fails: `cannot start the Python service` | client sees no tools |
|
|
118
121
|
|
|
119
|
-
|
|
120
|
-
pip install foxfetch # 1. the service
|
|
121
|
-
cd "$env:USERPROFILE\.dsh\profiles\desktop"
|
|
122
|
-
pnpm add dsh-foxfetch # 2. the plugin
|
|
123
|
-
# then add "dsh-foxfetch" to dsh.profile.bundles and restart DSH ([details](#deepseek-harness))
|
|
124
|
-
```
|
|
122
|
+
The Python service is the same one in both cases — `pip install foxfetch` is never optional.
|
|
125
123
|
|
|
126
124
|
**4. Prove it works** — ask your agent:
|
|
127
125
|
|
|
@@ -30,49 +30,47 @@ pip install foxfetch
|
|
|
30
30
|
python -m foxfetch doctor
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
**3.
|
|
34
|
-
platforms:
|
|
33
|
+
**3. Install for your agent** — there are only two cases:
|
|
35
34
|
|
|
35
|
+
### If you use DeepSeek Harness (DSH)
|
|
36
|
+
|
|
37
|
+
Install command, run in this order:
|
|
38
|
+
|
|
39
|
+
```powershell
|
|
40
|
+
pip install foxfetch
|
|
41
|
+
cd "$env:USERPROFILE\.dsh\profiles\desktop"
|
|
42
|
+
pnpm add dsh-foxfetch
|
|
36
43
|
```
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
Pi: pi mcp add foxfetch cd ~/.dsh/profiles/desktop
|
|
48
|
-
-- python -m foxfetch pnpm add dsh-foxfetch
|
|
49
|
-
serve (+ add to dsh.profile.bundles)
|
|
44
|
+
|
|
45
|
+
Then add `"dsh-foxfetch"` to `dsh.profile.bundles` in that `package.json` and restart DSH.
|
|
46
|
+
Full steps with the exact file content: [DSH](#deepseek-harness).
|
|
47
|
+
|
|
48
|
+
### If you use anything else (Pi, Claude Code, Codex, other MCP clients)
|
|
49
|
+
|
|
50
|
+
Install command — the service only, there is nothing to add per client:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
pip install foxfetch
|
|
50
54
|
```
|
|
51
55
|
|
|
52
|
-
|
|
53
|
-
|---|---|---|
|
|
54
|
-
| **Pi** | MCP | `pi mcp add foxfetch -- python -m foxfetch serve` |
|
|
55
|
-
| **Claude Code** | MCP | `claude mcp add foxfetch -- python -m foxfetch serve` |
|
|
56
|
-
| **Codex** | MCP | a `[mcp_servers.foxfetch]` table in `~/.codex/config.toml` → [steps](#codex) |
|
|
57
|
-
| **DeepSeek Harness** | **npm plugin** | **two things**: the service from step 1 **plus** `pnpm add dsh-foxfetch` → [steps](#deepseek-harness) |
|
|
58
|
-
| **Other MCP client** | MCP | `command: python`, `args: ["-m", "foxfetch", "serve"]` |
|
|
56
|
+
Then point that client at it:
|
|
59
57
|
|
|
60
|
-
|
|
58
|
+
| Client | What to do |
|
|
59
|
+
|---|---|
|
|
60
|
+
| **Pi** | `pi mcp add foxfetch -- python -m foxfetch serve` |
|
|
61
|
+
| **Claude Code** | `claude mcp add foxfetch -- python -m foxfetch serve` |
|
|
62
|
+
| **Codex** | add the `[mcp_servers.foxfetch]` table to `~/.codex/config.toml` → [steps](#codex) |
|
|
63
|
+
| **Any other MCP client** | `command: python`, `args: ["-m", "foxfetch", "serve"]` |
|
|
61
64
|
|
|
62
|
-
|
|
63
|
-
(the plugin). The plugin cannot work without the service; it fails with
|
|
64
|
-
`cannot start the Python service` if you skip step 1.
|
|
65
|
-
- Everyone else: **one** install — `pip install foxfetch`. Their "install" is just a config
|
|
66
|
-
entry pointing at `python -m foxfetch serve`, no package to add.
|
|
65
|
+
### Why the two differ
|
|
67
66
|
|
|
68
|
-
|
|
67
|
+
| | DSH | Everything else |
|
|
68
|
+
|---|---|---|
|
|
69
|
+
| Mechanism | native plugin, loaded by DSH | MCP config entry, read by the client |
|
|
70
|
+
| Package to install | `pip` **and** npm | `pip` only |
|
|
71
|
+
| Without it | plugin fails: `cannot start the Python service` | client sees no tools |
|
|
69
72
|
|
|
70
|
-
|
|
71
|
-
pip install foxfetch # 1. the service
|
|
72
|
-
cd "$env:USERPROFILE\.dsh\profiles\desktop"
|
|
73
|
-
pnpm add dsh-foxfetch # 2. the plugin
|
|
74
|
-
# then add "dsh-foxfetch" to dsh.profile.bundles and restart DSH ([details](#deepseek-harness))
|
|
75
|
-
```
|
|
73
|
+
The Python service is the same one in both cases — `pip install foxfetch` is never optional.
|
|
76
74
|
|
|
77
75
|
**4. Prove it works** — ask your agent:
|
|
78
76
|
|
|
@@ -29,47 +29,47 @@ pip install foxfetch
|
|
|
29
29
|
python -m foxfetch doctor
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
**第 3
|
|
32
|
+
**第 3 步:按你的软件装** —— 只有两种情况:
|
|
33
33
|
|
|
34
|
+
### 用 DeepSeek Harness(DSH,全称 DeepSeek Harness)的
|
|
35
|
+
|
|
36
|
+
安装指令,按顺序执行:
|
|
37
|
+
|
|
38
|
+
```powershell
|
|
39
|
+
pip install foxfetch
|
|
40
|
+
cd "$env:USERPROFILE\.dsh\profiles\desktop"
|
|
41
|
+
pnpm add dsh-foxfetch
|
|
34
42
|
```
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
-- python -m foxfetch pnpm add dsh-foxfetch
|
|
46
|
-
serve (再登记到 dsh.profile.bundles)
|
|
43
|
+
|
|
44
|
+
然后把 `"dsh-foxfetch"` 加进那个 `package.json` 里的 `dsh.profile.bundles`,重启 DSH。
|
|
45
|
+
带完整文件内容的步骤:[DSH 详细安装](#deepseek-harness)。
|
|
46
|
+
|
|
47
|
+
### 用其它软件的(Pi、Claude Code、Codex、其它 MCP 客户端)
|
|
48
|
+
|
|
49
|
+
安装指令 —— **只装服务,客户端那边不用装任何包**:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
pip install foxfetch
|
|
47
53
|
```
|
|
48
54
|
|
|
49
|
-
|
|
50
|
-
|---|---|---|
|
|
51
|
-
| **Pi** | MCP | `pi mcp add foxfetch -- python -m foxfetch serve` |
|
|
52
|
-
| **Claude Code** | MCP | `claude mcp add foxfetch -- python -m foxfetch serve` |
|
|
53
|
-
| **Codex** | MCP | 在 `~/.codex/config.toml` 加一个 `[mcp_servers.foxfetch]` 表 → [步骤](#codex) |
|
|
54
|
-
| **DeepSeek Harness** | **npm 插件** | **装两样**:第 1 步的服务 **加上** `pnpm add dsh-foxfetch` → [步骤](#deepseek-harness) |
|
|
55
|
-
| **其它 MCP 客户端** | MCP | `command: python`,`args: ["-m", "foxfetch", "serve"]` |
|
|
55
|
+
然后让那个客户端指向它:
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
| 软件 | 要做什么 |
|
|
58
|
+
|---|---|
|
|
59
|
+
| **Pi** | `pi mcp add foxfetch -- python -m foxfetch serve` |
|
|
60
|
+
| **Claude Code** | `claude mcp add foxfetch -- python -m foxfetch serve` |
|
|
61
|
+
| **Codex** | 在 `~/.codex/config.toml` 加 `[mcp_servers.foxfetch]` 表 → [步骤](#codex) |
|
|
62
|
+
| **其它 MCP 客户端** | `command: python`,`args: ["-m", "foxfetch", "serve"]` |
|
|
58
63
|
|
|
59
|
-
|
|
60
|
-
插件只是个转发壳,没有服务就起不来 —— 跳过第 1 步会直接报
|
|
61
|
-
`cannot start the Python service`。
|
|
62
|
-
- **其它宿主:装一次。** 只要 `pip install foxfetch`。它们的"安装"其实就是写一段配置
|
|
63
|
-
指向 `python -m foxfetch serve`,**不需要额外装包**。
|
|
64
|
+
### 为什么两边不一样
|
|
64
65
|
|
|
65
|
-
|
|
66
|
+
| | DSH | 其它软件 |
|
|
67
|
+
|---|---|---|
|
|
68
|
+
| 靠什么加载 | 原生插件,DSH 自己加载 | MCP 配置,客户端自己读 |
|
|
69
|
+
| 要装什么包 | `pip` **和** npm | **只要** `pip` |
|
|
70
|
+
| 少装的后果 | 插件报 `cannot start the Python service` | 客户端看不到任何工具 |
|
|
66
71
|
|
|
67
|
-
|
|
68
|
-
pip install foxfetch # 1. 服务
|
|
69
|
-
cd "$env:USERPROFILE\.dsh\profiles\desktop"
|
|
70
|
-
pnpm add dsh-foxfetch # 2. 插件
|
|
71
|
-
# 然后把 "dsh-foxfetch" 加进 dsh.profile.bundles,重启 DSH([详细步骤](#deepseek-harness))
|
|
72
|
-
```
|
|
72
|
+
两种情况的 **Python 服务是同一个** —— `pip install foxfetch` 永远不能省。
|
|
73
73
|
|
|
74
74
|
**第 4 步:验证真的通了** —— 让你的 agent 调用
|
|
75
75
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "foxfetch"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.5"
|
|
8
8
|
description = "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."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|