Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/mux
/ agentSession.autoCompaction.test.ts
File
agentSession.autoCompaction.test.ts
src/node/services/agentSession.autoCompaction.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, describe, expect, mock, test } from
"bun:test"
;
2
import
{ EventEmitter } from
"events"
;
3
4
import
type
{
Callers
nothing calls this directly
Calls
15
Ok
Function · 0.90
createMuxMessage
Function · 0.90
createTestHistoryService
Function · 0.90
Err
Function · 0.90
resolve
Method · 0.80
getHistoryFromLatestBoundary
Method · 0.80
buildAutoCompactionFollowUp
Method · 0.80
appendToHistory
Method · 0.80
buildAutoCompactionRequest
Method · 0.80
onChatEvent
Method · 0.80
createSessionHarness
Function · 0.70
sendMessage
Method · 0.65
Tested by
no test coverage detected