Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChatLab/ChatLab
/ compressor.test.ts
File
compressor.test.ts
packages/node-runtime/src/ai/compression/__tests__/compressor.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, it } from
'node:test'
2
import
assert from
'node:assert/strict'
3
import
{ mkdtempSync, rmSync } from
'node:fs'
4
import
{ tmpdir } from
'node:os'
Callers
nothing calls this directly
Calls
14
checkAndCompress
Function · 0.90
seedToolHeavyChat
Function · 0.85
bigToolResult
Function · 0.85
getLatestSummary
Method · 0.80
addSummaryMessage
Method · 0.80
createTempDir
Function · 0.70
createManager
Function · 0.70
createAdapter
Function · 0.70
cleanup
Function · 0.70
toolBlock
Function · 0.70
close
Method · 0.65
createAIChat
Method · 0.65
Tested by
no test coverage detected