MCPcopy 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

1import { visibleWidth, type TUI } from '@moonshot-ai/pi-tui';
2import chalk from 'chalk';
3import { afterEach, describe, expect, it, vi } from 'vitest';
4

Callers

nothing calls this directly

Calls 15

visibleWidthFunction · 0.90
captureProcessWriteFunction · 0.90
setResultMethod · 0.80
appendLiveOutputMethod · 0.80
setPlanInfoMethod · 0.80
getReadSnapshotMethod · 0.80
onSubagentSpawnedMethod · 0.80
appendSubagentTextMethod · 0.80
appendSubToolCallMethod · 0.80
onSubagentCompletedMethod · 0.80
onSubagentStartedMethod · 0.80

Tested by

no test coverage detected