arale-soft/ben-dsh-crawl4ai ↗★ 0
ben-dsh-crawl4ai
Crawl4AI-backed web fetch provider for DeepSeek Harness — web_fetch renders JavaScript-heavy pages through your own Crawl4AI server and returns clean Markdown.
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:arale-soft/ben-dsh-crawl4ai說明文件
閱讀完整 README ↗Configuration
Everything lives on Plugins → this package → the ben-crawl4ai row → Configure. The page
stages what you type and writes only on Save, through the shell's own settings surface
(ctx.configForms), so an edit reaches the next web_fetch without a restart.
| Field | Meaning |
|---|---|
| Crawl4AI URL | Server root, e.g. http://crawl4ai.internal:11235. Unset or not http(s) makes the provider report unavailable, and web_fetch says so instead of failing every call. |
| Auth header name | e.g. Authorization or X-API-Key. Blank sends no authenticating header. |
| Auth header value | Sent as that header's value. Rendered masked; blank sends no authenticating header — the name and the value take effect together. |
Both header fields are independent, so a deployment can use any header name or none at all.
The values are stored in the active profile's patch
($DSH_HOME/profiles/ /cordis.patch.yml), in plain text. This is a fetch back end
reading its own token, not a per-user credential, and the masked control keeps it off the screen
rather than out of the file. Two further fields stay off the page because they are deployment
concerns, edited in YAML instead:
| Key | Default | Meaning |
|---|---|---|
timeoutMs | 60000 | Resource backstop for one crawl. Keep it below the model-facing tool budget (tool-web's timeoutMs) so a slow server surfaces as a provider failure. |
maxContentChars | 200000 | Cap on the Markdown returned for one page; a longer page sets truncated. |
A patch row replaces the targeted row's whole config, so restate every key you want to
keep.