Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ tool-call.test.ts
File
tool-call.test.ts
apps/kimi-code/test/tui/components/messages/tool-call.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ visibleWidth,
type
TUI } from
'@moonshot-ai/pi-tui'
;
2
import
chalk from
'chalk'
;
3
import
{ afterEach, describe, expect, it, vi } from
'vitest'
;
4
Callers
nothing calls this directly
Calls
15
visibleWidth
Function · 0.90
captureProcessWrite
Function · 0.90
makeBackgroundAgentComponent
Function · 0.85
setResult
Method · 0.80
appendLiveOutput
Method · 0.80
setPlanInfo
Method · 0.80
getReadSnapshot
Method · 0.80
onSubagentSpawned
Method · 0.80
appendSubagentText
Method · 0.80
appendSubToolCall
Method · 0.80
onSubagentCompleted
Method · 0.80
onSubagentStarted
Method · 0.80
Tested by
no test coverage detected