Repository navigation
Commit bb24ee3
committed
fix: route pnpm/yarn run through their own filters and fix doc drift
Two fixes:
1. Remove "run" from _TWO_TOKEN_PREFIXES["pnpm"] and ["yarn"]. Previously
"pnpm run dev" was stripped to ["dev"], which matched no filter and left
pnpm/yarn run output entirely uncompressed. PnpmFilter now handles
"pnpm run <script>" via _compress_run; YarnFilter handles
"yarn run <script>". pnpm exec/dlx still strip to the wrapped tool's
filter (e.g. ESLintFilter for "pnpm exec eslint"). Four dispatch
regression tests added.
2. compute_adaptive_budget docstring was missing the +15 web_history bonus
from its formula; added it.1 parent 4816f40 commit bb24ee3
3 files changed
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1517 | 1517 | | |
1518 | 1518 | | |
1519 | 1519 | | |
1520 | | - | |
1521 | | - | |
| 1520 | + | |
| 1521 | + | |
1522 | 1522 | | |
1523 | 1523 | | |
1524 | 1524 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3630 | 3630 | | |
3631 | 3631 | | |
3632 | 3632 | | |
| 3633 | + | |
3633 | 3634 | | |
3634 | 3635 | | |
3635 | 3636 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
568 | 579 | | |
569 | 580 | | |
570 | 581 | | |
571 | 582 | | |
572 | 583 | | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
573 | 590 | | |
574 | 591 | | |
575 | 592 | | |
| |||
0 commit comments