foxfetch 0.1.3__tar.gz → 0.1.4__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.3
3
+ Version: 0.1.4
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
@@ -67,7 +67,7 @@ it earned to Chromium.
67
67
 
68
68
  ## Install in 30 seconds
69
69
 
70
- **1. Install the service** (once per machine):
70
+ **1. Install the service** (once per machine — **every host needs this, DSH included**):
71
71
 
72
72
  ```bash
73
73
  pip install foxfetch
@@ -103,11 +103,25 @@ platforms:
103
103
  | **Pi** | MCP | `pi mcp add foxfetch -- python -m foxfetch serve` |
104
104
  | **Claude Code** | MCP | `claude mcp add foxfetch -- python -m foxfetch serve` |
105
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) |
106
+ | **DeepSeek Harness** | **npm plugin** | **two things**: the service from step 1 **plus** `pnpm add dsh-foxfetch` → [steps](#deepseek-harness) |
107
107
  | **Other MCP client** | MCP | `command: python`, `args: ["-m", "foxfetch", "serve"]` |
108
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.
109
+ Read the table as: *step 1 is always required, step 3 adds whatever that host needs on top.*
110
+
111
+ - DSH: **two** installs — `pip install foxfetch` (the service) **and** `pnpm add dsh-foxfetch`
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.
116
+
117
+ **DSH only — the two commands together, in order:**
118
+
119
+ ```powershell
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
+ ```
111
125
 
112
126
  **4. Prove it works** — ask your agent:
113
127
 
@@ -198,8 +212,12 @@ args = ["-m", "foxfetch", "serve"]
198
212
  DSH has a native plugin API, so it gets a real plugin instead of an MCP entry. The plugin holds
199
213
  no logic — it starts the same Python service and reshapes results for the DSH UI.
200
214
 
215
+ > **DSH needs two installs, not one:** the service (`pip`, step 1) **and** the plugin (npm).
216
+ > The plugin is only a forwarder; without the service it fails immediately with
217
+ > `cannot start the Python service`.
218
+
201
219
  ```powershell
202
- # 1. service (same as everyone else)
220
+ # 1. service (same as everyone else — do not skip this)
203
221
  pip install foxfetch
204
222
 
205
223
  # 2. plugin, into the DSH profile
@@ -18,7 +18,7 @@ it earned to Chromium.
18
18
 
19
19
  ## Install in 30 seconds
20
20
 
21
- **1. Install the service** (once per machine):
21
+ **1. Install the service** (once per machine — **every host needs this, DSH included**):
22
22
 
23
23
  ```bash
24
24
  pip install foxfetch
@@ -54,11 +54,25 @@ platforms:
54
54
  | **Pi** | MCP | `pi mcp add foxfetch -- python -m foxfetch serve` |
55
55
  | **Claude Code** | MCP | `claude mcp add foxfetch -- python -m foxfetch serve` |
56
56
  | **Codex** | MCP | a `[mcp_servers.foxfetch]` table in `~/.codex/config.toml` → [steps](#codex) |
57
- | **DeepSeek Harness** | **npm plugin** | `pnpm add dsh-foxfetch` in the profile → [steps](#deepseek-harness) |
57
+ | **DeepSeek Harness** | **npm plugin** | **two things**: the service from step 1 **plus** `pnpm add dsh-foxfetch` → [steps](#deepseek-harness) |
58
58
  | **Other MCP client** | MCP | `command: python`, `args: ["-m", "foxfetch", "serve"]` |
59
59
 
60
- Only DSH needs the npm package. Every MCP client talks to the Python service directly, so
61
- `pip install foxfetch` is the **only** install they need.
60
+ Read the table as: *step 1 is always required, step 3 adds whatever that host needs on top.*
61
+
62
+ - DSH: **two** installs — `pip install foxfetch` (the service) **and** `pnpm add dsh-foxfetch`
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.
67
+
68
+ **DSH only — the two commands together, in order:**
69
+
70
+ ```powershell
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
+ ```
62
76
 
63
77
  **4. Prove it works** — ask your agent:
64
78
 
@@ -149,8 +163,12 @@ args = ["-m", "foxfetch", "serve"]
149
163
  DSH has a native plugin API, so it gets a real plugin instead of an MCP entry. The plugin holds
150
164
  no logic — it starts the same Python service and reshapes results for the DSH UI.
151
165
 
166
+ > **DSH needs two installs, not one:** the service (`pip`, step 1) **and** the plugin (npm).
167
+ > The plugin is only a forwarder; without the service it fails immediately with
168
+ > `cannot start the Python service`.
169
+
152
170
  ```powershell
153
- # 1. service (same as everyone else)
171
+ # 1. service (same as everyone else — do not skip this)
154
172
  pip install foxfetch
155
173
 
156
174
  # 2. plugin, into the DSH profile
@@ -17,7 +17,7 @@
17
17
 
18
18
  ## 30 秒装好
19
19
 
20
- **第 1 步:装服务**(每台机器装一次)
20
+ **第 1 步:装服务**(每台机器装一次 —— **所有宿主都要,DSH 也不例外**)
21
21
 
22
22
  ```bash
23
23
  pip install foxfetch
@@ -51,11 +51,25 @@ python -m foxfetch doctor
51
51
  | **Pi** | MCP | `pi mcp add foxfetch -- python -m foxfetch serve` |
52
52
  | **Claude Code** | MCP | `claude mcp add foxfetch -- python -m foxfetch serve` |
53
53
  | **Codex** | MCP | 在 `~/.codex/config.toml` 加一个 `[mcp_servers.foxfetch]` 表 → [步骤](#codex) |
54
- | **DeepSeek Harness** | **npm 插件** | 在 profile 里 `pnpm add dsh-foxfetch` → [步骤](#deepseek-harness) |
54
+ | **DeepSeek Harness** | **npm 插件** | **装两样**:第 1 步的服务 **加上** `pnpm add dsh-foxfetch` → [步骤](#deepseek-harness) |
55
55
  | **其它 MCP 客户端** | MCP | `command: python`,`args: ["-m", "foxfetch", "serve"]` |
56
56
 
57
- **只有 DSH 需要那个 npm 包。** 其它 MCP 客户端都是直接跟 Python 服务说话,所以
58
- `pip install foxfetch` 是它们**唯一**需要装的。
57
+ 这张表要这样读:**第 1 步永远要做,第 3 步只是在该宿主上再补它需要的东西。**
58
+
59
+ - **DSH:装两次。** `pip install foxfetch`(服务)**和** `pnpm add dsh-foxfetch`(插件)。
60
+ 插件只是个转发壳,没有服务就起不来 —— 跳过第 1 步会直接报
61
+ `cannot start the Python service`。
62
+ - **其它宿主:装一次。** 只要 `pip install foxfetch`。它们的"安装"其实就是写一段配置
63
+ 指向 `python -m foxfetch serve`,**不需要额外装包**。
64
+
65
+ **只有 DSH 的话,两条命令连起来就是全流程:**
66
+
67
+ ```powershell
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
+ ```
59
73
 
60
74
  **第 4 步:验证真的通了** —— 让你的 agent 调用
61
75
 
@@ -150,8 +164,11 @@ args = ["-m", "foxfetch", "serve"]
150
164
  DSH 有原生插件机制,所以给它装插件而不是 MCP 条目。插件里**没有任何逻辑** —— 它启动同一个
151
165
  Python 服务,只负责把结果整理成 DSH 的卡片样式。
152
166
 
167
+ > **DSH 要装两样,不是一样**:服务(`pip`,第 1 步)**加上**插件(npm)。
168
+ > 插件只是转发壳,没有服务会立刻报 `cannot start the Python service`。
169
+
153
170
  ```powershell
154
- # 1. 服务(和别的宿主一样)
171
+ # 1. 服务(和别的宿主一样 —— 这步不能跳)
155
172
  pip install foxfetch
156
173
 
157
174
  # 2. 插件,装进 DSH 的 profile
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "foxfetch"
7
- version = "0.1.3"
7
+ version = "0.1.4"
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"
@@ -1,5 +1,5 @@
1
1
  """foxfetch: read pages through a real Firefox engine when plain HTTP is not enough."""
2
2
 
3
- __version__ = "0.1.3"
3
+ __version__ = "0.1.4"
4
4
 
5
5
  __all__ = ["__version__"]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes