MCPcopy Index your code
hub / github.com/anomalyco/opencode / compaction.test.ts

File compaction.test.ts

packages/opencode/test/session/compaction.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, describe, expect, mock, test } from "bun:test"
2import { ConfigV1 } from "@opencode-ai/core/v1/config/config"
3import { SessionV1 } from "@opencode-ai/core/v1/session"
4import { Database } from "@opencode-ai/core/database/database"

Callers

nothing calls this directly

Calls 15

testEffectFunction · 0.90
provideTmpdirInstanceFunction · 0.90
wideFunction · 0.85
processorLayerFunction · 0.85
createUserMessageFunction · 0.85
createAssistantMessageFunction · 0.85
withCompactionFunction · 0.85
createSummaryCompactionFunction · 0.85
readCompactionPartFunction · 0.85
autocontinueFunction · 0.85
basicUsageFunction · 0.85
createCompactionMarkerFunction · 0.85

Tested by

no test coverage detected