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

Function permissionPromptFromEvent

ui/runtime.go:781–789  ·  view source on GitHub ↗
(event UiEvent)

Source from the content-addressed store, hash-verified

779 return strings.Join(nonEmptyStrings(parts), "\n")
780 default:
781 return ""
782 }
783}
784
785func transcriptContentBlocks(content any) []map[string]any {
786 switch typed := content.(type) {
787 case []map[string]any:
788 return typed
789 case []any:
790 blocks := make([]map[string]any, 0, len(typed))
791 for _, raw := range typed {
792 if block, ok := raw.(map[string]any); ok {

Callers 1

HandlePermissionEventMethod · 0.85

Calls 3

skillShellRequestPartsFunction · 0.85
normalizeMCPTrustRequestFunction · 0.85
FormatMCPTrustTargetFunction · 0.85

Tested by

no test coverage detected