Commit 60b4a31
Eva
fix: add currentTokenCount to compact() type, use LeafTriggerResult import
- compact() wrapper now includes currentTokenCount in its input type
so TS excess-property checks pass and live counts flow through to
compactFullSweep
- engine.ts evaluateLeafTrigger uses imported LeafTriggerResult type
instead of duplicating the shape inline, preventing type drift1 parent 4f55a37 commit 60b4a31
2 files changed
Lines changed: 3 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
| 559 | + | |
559 | 560 | | |
560 | 561 | | |
561 | 562 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
2846 | 2846 | | |
2847 | 2847 | | |
2848 | 2848 | | |
2849 | | - | |
2850 | | - | |
2851 | | - | |
2852 | | - | |
2853 | | - | |
2854 | | - | |
2855 | | - | |
2856 | | - | |
2857 | | - | |
2858 | | - | |
2859 | | - | |
2860 | | - | |
2861 | | - | |
2862 | | - | |
| 2849 | + | |
2863 | 2850 | | |
2864 | 2851 | | |
2865 | 2852 | | |
| |||
0 commit comments