Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Opencode-DCP/opencode-dynamic-context-pruning
/ message-priority.test.ts
File
message-priority.test.ts
tests/message-priority.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
assert from
"node:assert/strict"
2
import
test from
"node:test"
3
import
type
{ PluginConfig } from
"../lib/config"
4
import
{ createTextCompleteHandler } from
"../lib/hooks"
Callers
nothing calls this directly
Calls
13
createSessionState
Function · 0.90
assignMessageRefs
Function · 0.90
buildPriorityMap
Function · 0.90
injectMessageIds
Function · 0.90
applyAnchoredNudges
Function · 0.90
prune
Function · 0.90
stripHallucinationsFromString
Function · 0.90
createTextCompleteHandler
Function · 0.90
textPart
Function · 0.70
repeatedWord
Function · 0.70
toolPart
Function · 0.70
buildConfig
Function · 0.70
Tested by
no test coverage detected