MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / shouldHideTranscriptMessage

Function shouldHideTranscriptMessage

ui/runtime.go:661–667  ·  view source on GitHub ↗
(message map[string]any)

Source from the content-addressed store, hash-verified

659 r.markDirty()
660}
661
662func FormatToolCallEntry(event UiEvent) string {
663 toolName := firstNonEmpty(event.Content, stringFromAny(event.Metadata["tool_name"]), "tool")
664 return fmt.Sprintf("[tool] %s", toolName)
665}
666
667func FormatToolResultEntry(event UiEvent) string {
668 if truthy(event.Metadata["denied"]) {
669 return "[tool denied]"
670 }

Callers 1

Calls 1

truthyFunction · 0.70

Tested by

no test coverage detected