mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 15:03:31 +00:00
Refactor: move compaction code to src/core/compaction/
- Move compaction.ts to src/core/compaction/compaction.ts - Extract branch summarization to src/core/compaction/branch-summarization.ts - Add index.ts to re-export all compaction utilities - Update all imports across the codebase
This commit is contained in:
parent
aee61b1a6b
commit
fd13b53b1c
10 changed files with 142 additions and 109 deletions
|
|
@ -12,7 +12,7 @@ import {
|
|||
findCutPoint,
|
||||
getLastAssistantUsage,
|
||||
shouldCompact,
|
||||
} from "../src/core/compaction.js";
|
||||
} from "../src/core/compaction/index.js";
|
||||
import {
|
||||
buildSessionContext,
|
||||
type CompactionEntry,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue