Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Opencode-DCP/opencode-dynamic-context-pruning
/ index.ts
File
index.ts
index.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
type
{ Plugin } from
"@opencode-ai/plugin"
2
import
{ getConfig } from
"./lib/config"
3
import
{ createCompressMessageTool, createCompressRangeTool } from
"./lib/compress"
4
import
{
Callers
nothing calls this directly
Calls
15
getConfig
Function · 0.90
createSessionState
Function · 0.90
isSecureMode
Function · 0.90
configureClientAuth
Function · 0.90
startAutoUpdate
Function · 0.90
createSystemPromptHandler
Function · 0.90
createChatMessageTransformHandler
Function · 0.90
createTextCompleteHandler
Function · 0.90
createCommandExecuteHandler
Function · 0.90
createEventHandler
Function · 0.90
createCompressMessageTool
Function · 0.90
createCompressRangeTool
Function · 0.90
Tested by
no test coverage detected