diffctx 1.13.0 → 1.14.0
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 +2 -2
- package/checksums.json +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -84,7 +84,7 @@ keeps its git meaning.
|
|
|
84
84
|
| `--scoring` | `ego` | `ego` = bounded expansion around changed nodes (fast, predictable radius); `ppr` = Personalized PageRank (global, smoother decay, slower); `bm25` = lexical retrieval against the diff hunks (baseline for sparse graphs); `rrf` = reciprocal-rank fusion of `ego` and `bm25` (widest recall, no scale calibration between the two signals) |
|
|
85
85
|
| `--budget` | auto | Hard cap in o200k_base tokens (see [Token counting](docs/product/token-budget.md)): `N` enforces a fixed cap, `-1` disables it, `0` is a strict-zero floor (empty selection; use `--full` for changed files only) |
|
|
86
86
|
| `--alpha` | 0.60 | PPR damping; higher = context clusters tighter around changes (`--scoring ppr` only) |
|
|
87
|
-
| `--tau` | 0.
|
|
87
|
+
| `--tau` | 0.05 | Relevance threshold for full fragment content; lower-scoring fragments are stubbed or dropped (lower = more context) |
|
|
88
88
|
| `--full` | false | Only the changed files, every fragment, no related-code context |
|
|
89
89
|
| `--timeout` | 300 | Wall-clock deadline in seconds; on expiry diffctx exits 124 instead of hanging |
|
|
90
90
|
| `--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 |
|
|
@@ -143,7 +143,7 @@ ctx = build_diff_context(
|
|
|
143
143
|
"HEAD~1..HEAD",
|
|
144
144
|
budget_tokens=None, # None = auto; 0 = strict-zero floor (empty); -1 = uncapped; N = hard cap
|
|
145
145
|
alpha=0.6,
|
|
146
|
-
tau=0.
|
|
146
|
+
tau=0.05,
|
|
147
147
|
full=False,
|
|
148
148
|
scoring_mode="ego",
|
|
149
149
|
timeout=300,
|
package/checksums.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"diffctx-1.
|
|
3
|
-
"diffctx-1.
|
|
4
|
-
"diffctx-1.
|
|
5
|
-
"diffctx-1.
|
|
2
|
+
"diffctx-1.14.0-aarch64-apple-darwin.tar.gz": "20223d07e8f304b631eff3556386564918037359dbbf12c2ca18335381c129fd",
|
|
3
|
+
"diffctx-1.14.0-aarch64-unknown-linux-gnu.tar.gz": "3922b1460a1f5e8f4f79a2c7c2dcc3d3da5dc9a9174719b44bf936cf57b86a6a",
|
|
4
|
+
"diffctx-1.14.0-x86_64-pc-windows-msvc.zip": "07b67a9da0c4331f75bb821ba3404bce349ca6c8063ff5f412c30dcc993bc6bf",
|
|
5
|
+
"diffctx-1.14.0-x86_64-unknown-linux-gnu.tar.gz": "2125f363fae2439162e4403e20bc90bc366bed098332c32714867273376b38a1"
|
|
6
6
|
}
|