Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexkit/magic-context
/ tools.test.ts
File
tools.test.ts
packages/plugin/src/tools/ctx-reduce/tools.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ beforeEach, describe, expect, it } from
"bun:test"
;
2
import
{ Database } from
"../../shared/sqlite"
;
3
import
{ createCtxReduceTools } from
"./tools"
;
4
Callers
nothing calls this directly
Calls
8
createCtxReduceTools
Function · 0.90
getLastNudgeTokens
Function · 0.85
createTestDb
Function · 0.70
toolContext
Function · 0.70
seedTags
Function · 0.70
getPendingOps
Function · 0.70
run
Method · 0.65
prepare
Method · 0.45
Tested by
no test coverage detected