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

Function showUndoLimitStatus

apps/kimi-code/src/tui/commands/undo.ts:362–370  ·  view source on GitHub ↗
(host: SlashCommandHost, message: string)

Source from the content-addressed store, hash-verified

360}
361
362function showUndoLimitStatus(host: SlashCommandHost, message: string): void {
363 host.appendTranscriptEntry({
364 id: nextTranscriptId(),
365 kind: 'status',
366 turnId: UNDO_LIMIT_STATUS_TURN_ID,
367 renderMode: 'plain',
368 content: message,
369 });
370}
371
372function undoLimitFromError(
373 error: unknown,

Callers 3

handleUndoCommandFunction · 0.85
undoByCountFunction · 0.85
showUndoSelectorFunction · 0.85

Calls 2

nextTranscriptIdFunction · 0.90
appendTranscriptEntryMethod · 0.65

Tested by

no test coverage detected