Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Install the DocPull runtime, add the marketplace, and install the plugins you
need:

```bash
pipx install 'docpull[mcp]==6.5.1'
pipx install 'docpull[mcp]==6.5.3'
codex plugin marketplace add raintree-technology/plugins
codex plugin add docpull@raintree
codex plugin add hig-doctor@raintree
Expand All @@ -27,7 +27,8 @@ codex plugin add <plugin>@raintree
codex plugin remove <plugin>@raintree
```

DocPull 6.5.1 constrains its MCP runtime to the compatible major version. The
DocPull 6.5.3 constrains its MCP runtime to the compatible major version and
reports the exact setup command when its executable is missing. The
immutable `v0.1.0` tag records the withdrawn 6.5.0 bundle, and `v0.1.1` records
the rollback.

Expand Down
6 changes: 3 additions & 3 deletions plugins.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
{
"name": "docpull",
"repository": "https://github.com/raintree-technology/docpull.git",
"ref": "v6.5.1",
"commit": "ca55534347234990c361da83571472e00d6f33da",
"ref": "v6.5.3",
"commit": "cd9cc695974c64a6cb3be9c1436b0475db1c933e",
"sourcePaths": ["plugin"],
"version": "6.5.1"
"version": "6.5.3"
},
{
"name": "hig-doctor",
Expand Down
2 changes: 1 addition & 1 deletion plugins/docpull/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docpull",
"version": "6.5.1",
"version": "6.5.3",
"description": "Pull public web sources into Claude Code. Indexes static and server-rendered sites as local Markdown with conditional-GET caching, then exposes them as MCP tools. Local, browser-free, no API keys.",
"author": {
"name": "Raintree Technology",
Expand Down
4 changes: 2 additions & 2 deletions plugins/docpull/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "docpull",
"name": "docpull",
"version": "6.5.1",
"version": "6.5.3",
"description": "Pull public web sources into Codex as local, searchable Markdown through docpull's MCP server.",
"skills": "./skills/",
"mcpServers": "./.mcp.json",
Expand Down Expand Up @@ -44,6 +44,6 @@
"brandColor": "#0F6B5D",
"composerIcon": "./assets/logo.svg",
"logo": "./assets/logo.svg",
"defaultPrompt": "Use docpull when I ask about a specific library, framework, SDK, API, website, or public source URL. Prefer cached sources first, fetch only the requested source, and cite source paths when answering."
"defaultPrompt": "Use DocPull for a named library, framework, SDK, API, website, or public URL. Prefer cached sources and cite source paths."
}
}
5 changes: 3 additions & 2 deletions plugins/docpull/.mcp.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"mcpServers": {
"docpull": {
"command": "docpull",
"args": ["mcp"]
"command": "node",
"args": ["./scripts/launch-docpull-mcp.mjs"],
"cwd": "."
}
}
}
7 changes: 4 additions & 3 deletions plugins/docpull/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ for the boundary between the plugin's MCP tools and the broader CLI/SDK.
The plugin wraps the `docpull` CLI. Install the MCP extra first:

```bash
pip install 'docpull[mcp]' # or: pipx install 'docpull[mcp]'
docpull --version # should print 6.5.1 or newer
pipx install 'docpull[mcp]==6.5.3'
docpull --version # should print 6.5.3 or newer
docpull mcp --help
```

The plain `pip install docpull` does not include the MCP dependency.
The plain `pip install docpull` does not include the MCP dependency. If the
executable is missing, the plugin exits with the exact `pipx` setup command.

In Claude Code:

Expand Down
29 changes: 29 additions & 0 deletions plugins/docpull/scripts/launch-docpull-mcp.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/usr/bin/env node

import { spawn } from "node:child_process";

const child = spawn("docpull", ["mcp", ...process.argv.slice(2)], {
stdio: "inherit",
});

child.on("error", (error) => {
if (error.code === "ENOENT") {
console.error(
"DocPull is not installed. Run: pipx install 'docpull[mcp]==6.5.3'",
);
process.exitCode = 127;
return;
}

console.error(`DocPull could not start: ${error.message}`);
process.exitCode = 1;
});

child.on("exit", (code, signal) => {
if (signal) {
process.kill(process.pid, signal);
return;
}

process.exitCode = code ?? 1;
});