MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / resetCapabilitiesCache

Function resetCapabilitiesCache

packages/pi-tui/src/terminal-image.ts:134–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134export function resetCapabilitiesCache(): void {
135 cachedCapabilities = null;
136}
137
138/** Override the cached capabilities. Useful in tests to exercise both code paths. */
139export function setCapabilities(caps: TerminalCapabilities): void {

Callers 7

withImageTerminalFunction · 0.90
markdown.test.tsFile · 0.90
tui-render.test.tsFile · 0.90

Calls

no outgoing calls

Tested by 1

withImageTerminalFunction · 0.72