diffctx 1.17.0 → 1.18.1

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.
package/README.md CHANGED
@@ -95,7 +95,7 @@ keeps its git meaning.
95
95
  | `--full` | false | Only the changed files, every fragment, no related-code context |
96
96
  | `--timeout` | 300 | Wall-clock deadline in seconds; on expiry the run stops cooperatively and emits a partial artifact whose `coverage` block names the limit (exit 0). 124 is the watchdog behind it, 30 s later, for a phase that could not stop |
97
97
  | `--with-raw-diff` | false | Also embed git's raw unified diff ahead of the selected fragments — additive (selection unchanged), not charged to `--budget`, lock/ignored/secret-like sections omitted. Python CLI only |
98
- | `--mode` | `pack` | `locate` emits the same ranked selection as compact `diffctx.locate.v1` JSON — path, lines, score, provenance reasons, a blast-radius `summary` and per-item impact `group` (`test`/`type`/`config`), NO source bodies. Adds a `coverage` block naming what the run could not see (`unparsed_files`, `zero_edge_files`, `ppr_truncated`, `next_up`, a heuristic `confidence`) and an `overflow` ranking of what the budget left behind — omitted entirely when there is nothing to disclose. `diffctx . --diff --mode locate` = impact of your uncommitted change. The MCP tool takes it as `mode="locate"` |
98
+ | `--mode` | `pack` | `locate` emits the same ranked selection as compact `diffctx.locate.v1` JSON — path, lines, score, provenance reasons, a blast-radius `summary` and per-item impact `group` (`test`/`type`/`config`), NO source bodies. Adds a `coverage` block naming what the run could not see (`unparsed_files`, `zero_edge_files`, `ppr_truncated`, `next_up`, a heuristic `confidence`) and an `overflow` ranking of what the budget left behind — omitted entirely when there is nothing to disclose. `impact` answers, under 2k tokens, what the change reaches outside its diff: callers in files the diff does not touch, whether a test guards each, cross-commit overlap, and the public API and schema changes (text by default, `diffctx.impact.v1` JSON with `-f json`). The MCP tool takes both as `mode` |
99
99
 
100
100
  Every JSON/YAML artifact opens with `schema: diffctx.context.v1` and validates
101
101
  against [`schemas/diffctx.context.v1.json`](schemas/diffctx.context.v1.json),
@@ -189,7 +189,10 @@ as `io.github.nikolay-e/diffctx`. One-line setup (zero-install via
189
189
  [uv](https://docs.astral.sh/uv/)):
190
190
 
191
191
  ```bash
192
- # Claude Code
192
+ # Claude Code plugin: the server plus /diffctx:diffctx and /diffctx:impact
193
+ claude plugin marketplace add nikolay-e/diffctx
194
+ claude plugin install diffctx@diffctx
195
+ # Claude Code, server only
193
196
  claude mcp add diffctx -- uvx --from 'diffctx[mcp]' diffctx-mcp
194
197
  # Codex CLI
195
198
  codex mcp add diffctx -- uvx --from 'diffctx[mcp]' diffctx-mcp
package/checksums.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
- "diffctx-1.17.0-aarch64-apple-darwin.tar.gz": "5e69dcea8229c8622bca301c40dcd21edbd1867f2be0b8f65bb321c37864aea3",
3
- "diffctx-1.17.0-aarch64-pc-windows-msvc.zip": "499d32a204a7e11e50009a9b244ca74eece0ca859c45257bb2060f5de797f4cd",
4
- "diffctx-1.17.0-aarch64-unknown-linux-gnu.tar.gz": "dfb3408e07dc89175327a742f856f6b915a7aefcd73dbe12779138fe10e53086",
5
- "diffctx-1.17.0-x86_64-apple-darwin.tar.gz": "6188aca98dae1bef57b1bdcb3602deb61c9b036a4e103c5681b058037e425663",
6
- "diffctx-1.17.0-x86_64-pc-windows-msvc.zip": "c774f09790f64b6a104029dcf41b49b37cecea3176c52231417f0ecb58f6c84b",
7
- "diffctx-1.17.0-x86_64-unknown-linux-gnu.tar.gz": "3106217351d1a7e00fbd1c29593814cf633be45931cb9a4a5eb9edb18910d74c"
2
+ "diffctx-1.18.1-aarch64-apple-darwin.tar.gz": "f87046b6ed5e18b940924701a444e779f7a8c31c9a07aae60e716ba62ca29819",
3
+ "diffctx-1.18.1-aarch64-pc-windows-msvc.zip": "3e691ba22c248040554e03bbc21eee06e4acfbd97c43806649857ff41db7b92a",
4
+ "diffctx-1.18.1-aarch64-unknown-linux-gnu.tar.gz": "90442ce2f810c29cf897d53ac664fdda3269763625276e61480ad277e170f550",
5
+ "diffctx-1.18.1-x86_64-apple-darwin.tar.gz": "b6ebf83e181afea0101a7bff587b2b5e720a42da835f68011aac55ec9d5f4b54",
6
+ "diffctx-1.18.1-x86_64-pc-windows-msvc.zip": "d0ee87ec9a7e3025fe3c72fe63c269b40fad486f57bd27aff5e11549c669fb24",
7
+ "diffctx-1.18.1-x86_64-unknown-linux-gnu.tar.gz": "366f97a431f567cf443c8135880d4590a9dfbdc985a1b79ab337cf5f55ba3843"
8
8
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "diffctx",
3
3
  "mcpName": "io.github.nikolay-e/diffctx",
4
- "version": "1.17.0",
4
+ "version": "1.18.1",
5
5
  "description": "Selects the minimum code an LLM needs to review a git diff",
6
6
  "keywords": [
7
7
  "git",