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
2 changes: 1 addition & 1 deletion bench/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [6.5.4] - 2026-09-04

### Fixed
- Treat a non-executable `docpull` path as an unavailable runtime and return the
same actionable setup guidance as a missing executable.

## [6.5.3] - 2026-09-04

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion plugin/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docpull",
"version": "6.5.3",
"version": "6.5.4",
"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
2 changes: 1 addition & 1 deletion plugin/.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.3",
"version": "6.5.4",
"description": "Pull public web sources into Codex as local, searchable Markdown through docpull's MCP server.",
"skills": "./skills/",
"mcpServers": "./.mcp.json",
Expand Down
4 changes: 2 additions & 2 deletions plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ 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
pipx install 'docpull[mcp]==6.5.3'
docpull --version # should print 6.5.3 or newer
pipx install 'docpull[mcp]==6.5.4'
docpull --version # should print 6.5.4 or newer
docpull mcp --help
```

Expand Down
4 changes: 2 additions & 2 deletions plugin/scripts/launch-docpull-mcp.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ const child = spawn("docpull", ["mcp", ...process.argv.slice(2)], {
});

child.on("error", (error) => {
if (error.code === "ENOENT") {
if (error.code === "ENOENT" || error.code === "EACCES") {
console.error(
"DocPull is not installed. Run: pipx install 'docpull[mcp]==6.5.3'",
"DocPull is not installed or is not executable. Run: pipx install 'docpull[mcp]==6.5.4'",
);
process.exitCode = 127;
return;
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "docpull"
version = "6.5.3"
version = "6.5.4"
dynamic = []
description = "Declare, sync, diff, and lock context dependencies for AI agents"
readme = {file = "README.md", content-type = "text/markdown"}
Expand Down
2 changes: 1 addition & 1 deletion sdk/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@raintree-technology/docpull-sdk",
"version": "6.5.3",
"version": "6.5.4",
"description": "TypeScript SDK for reading docpull context packs and running the docpull CLI",
"license": "MIT",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions server.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"source": "github"
},
"websiteUrl": "https://github.com/raintree-technology/docpull",
"version": "6.5.3",
"version": "6.5.4",
"packages": [
{
"registryType": "pypi",
"identifier": "docpull",
"version": "6.5.3",
"version": "6.5.4",
"transport": {
"type": "stdio"
}
Expand Down
2 changes: 1 addition & 1 deletion src/docpull/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

from .surface import PUBLIC_SDK_EXPORTS

__version__ = "6.5.3"
__version__ = "6.5.4"

_LAZY_EXPORTS: dict[str, tuple[str, str]] = {
**{
Expand Down
30 changes: 26 additions & 4 deletions tests/test_ci_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,20 +310,42 @@ def test_plugin_manifest_versions_match_project_version() -> None:
assert manifest["version"] == project_version()


def test_plugin_launcher_reports_actionable_setup_when_docpull_is_missing() -> None:
def test_plugin_launcher_reports_actionable_setup_when_docpull_is_missing(
tmp_path: Path,
) -> None:
launcher = REPO_ROOT / "plugin" / "scripts" / "launch-docpull-mcp.mjs"
node = shutil.which("node")
assert node is not None
node_shim = shutil.which("node")
assert node_shim is not None
node = subprocess.run( # nosec B603
[node_shim, "-p", "process.execPath"],
check=True,
text=True,
capture_output=True,
).stdout.strip()
proc = subprocess.run( # nosec B603
[node, str(launcher)],
check=False,
text=True,
env={"PATH": ""},
capture_output=True,
cwd=tmp_path,
)

assert proc.returncode == 127
assert "pipx install 'docpull[mcp]==6.5.4'" in proc.stderr

(tmp_path / "docpull").mkdir()
proc = subprocess.run( # nosec B603
[node, str(launcher)],
check=False,
text=True,
env={"PATH": ""},
capture_output=True,
cwd=tmp_path,
)

assert proc.returncode == 127
assert "pipx install 'docpull[mcp]==6.5.3'" in proc.stderr
assert "pipx install 'docpull[mcp]==6.5.4'" in proc.stderr


def test_codex_plugin_default_prompt_fits_host_limit() -> None:
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading