Skip to content
Open
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
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
_Notes on upcoming releases will be added here_
<!-- END PLACEHOLDER - ADD NEW CHANGELOG ENTRIES BELOW THIS LINE -->

### Documentation

- Troubleshooting: new section on `uv` `--exclude-newer` cooldowns — cache clearing, index pinning, and `UV_INDEX_URL` diagnostics. Cross-referenced from {ref}`installation`. (#31)

## libtmux-mcp 0.1.0a4 (2026-05-02)

_`respawn_pane`, single-object info reads, and the cross-CLI `mcp_swap` dev script._
Expand Down
4 changes: 4 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,7 @@ $ pip install --upgrade libtmux-mcp
`````

With `uvx` or `pipx run`, you always get the latest version automatically.

:::{tip}
If `uvx` fails to resolve dependencies or installs an unexpectedly old version, you may be hitting a cached index. See {ref}`troubleshooting` for `uv` cache and `--exclude-newer` workarounds.
:::
39 changes: 39 additions & 0 deletions docs/topics/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,45 @@ Symptom-based guide. Find your problem, follow the steps.
$ python --version
```

## uv exclude-newer cooldowns

**Symptoms**: `uvx libtmux-mcp` fails with resolution errors, or installs an unexpectedly old version of libtmux-mcp or its dependencies.

**Cause**: `uv` caches package metadata and may use stale index data. When a new version is published to PyPI, `uv`'s local cache may not see it immediately. Conversely, if a dependency publishes a broken release, `uv` may resolve to it before the index stabilizes.

**Check**:

1. Clear the `uv` cache and retry:

```console
$ uv cache clean
$ uvx libtmux-mcp
```

2. If a specific dependency version is causing issues, pin to a known-good version with `--exclude-newer`:

```console
$ uvx --exclude-newer 2026-05-01 libtmux-mcp
```

This tells `uv` to only consider package versions released before the given date, avoiding recently published (potentially broken) releases.

3. Check if the issue is upstream by testing the bare executor:

```console
$ uvx --exclude-newer 2026-05-01 libtmux-mcp --help
```

4. If you're behind a corporate proxy or mirror, ensure `UV_INDEX_URL` points to a valid index:

```console
$ echo $UV_INDEX_URL
```

**Workaround**: Until the index stabilizes, pin `--exclude-newer` to a date when libtmux-mcp was known to work. Remove the pin once the upstream issue is resolved.

**See also**: [uv docs on `--exclude-newer`](https://docs.astral.sh/uv/reference/cli/#uv-pip-install--exclude-newer).

## Safety tier blocking tools

**Symptoms**: Some tools are missing from the tool list, or return "blocked by safety tier" errors.
Expand Down