The contextBreakdown and contextPressure units carried the full priced surface, so each session's persisted projection checkpoint grew without bound. A surface replacement is now priced by the shadow-price event logged directly before it — compact/summary for compaction, the new compact/prune from tool-result pruning (priced through the injected token meter) — and the unit states shrink to a fixed handful of numbers. Regenerate the persistence/cordis/module/config catalogs.
19 lines
486 B
JSON
19 lines
486 B
JSON
{
|
|
"extends": "../../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"rootDir": "src",
|
|
"outDir": "lib/types"
|
|
},
|
|
"include": ["src"],
|
|
"references": [
|
|
{ "path": "../../../vendor/cosmokit" },
|
|
{ "path": "../../../vendor/cordis" },
|
|
{ "path": "../../../vendor/schemastery" },
|
|
{ "path": "../../llm/llm" },
|
|
{ "path": "../../llm/token-meter" },
|
|
{ "path": "../../core/session" },
|
|
{ "path": "../compact" },
|
|
{ "path": "../../support/invariants" }
|
|
]
|
|
}
|