Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ grep.test.ts
File
grep.test.ts
packages/agent-core/test/tools/grep.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Readable,
type
Writable } from
'node:stream'
;
2
3
import
type
{ KaosProcess, StatResult } from
'@moonshot-ai/kaos'
;
4
import
{ afterEach, describe, expect, it, vi } from
'vitest'
;
Callers
nothing calls this directly
Calls
14
createFakeKaos
Function · 0.90
executeTool
Function · 0.90
toolContentString
Function · 0.90
recordingTelemetry
Function · 0.90
nullRecord
Function · 0.85
processThatExitsOnKill
Function · 0.85
mock
Method · 0.80
raw
Method · 0.80
processWithOutput
Function · 0.70
context
Function · 0.70
statResult
Function · 0.70
rejectAbort
Function · 0.70
Tested by
no test coverage detected