Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Opencode-DCP/opencode-dynamic-context-pruning
/ hooks-permission.test.ts
File
hooks-permission.test.ts
tests/hooks-permission.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
{
Callers
nothing calls this directly
Calls
12
createSessionState
Function · 0.90
createSystemPromptHandler
Function · 0.90
createChatMessageTransformHandler
Function · 0.90
createCommandExecuteHandler
Function · 0.90
createTextCompleteHandler
Function · 0.90
createEventHandler
Function · 0.90
saveSessionState
Function · 0.90
ensureSessionInitialized
Function · 0.90
saveManualModeSetting
Function · 0.90
refreshManualMode
Function · 0.90
buildConfig
Function · 0.70
buildMessage
Function · 0.70
Tested by
no test coverage detected