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

Function stringFromAny

ui/runtime.go:800–805  ·  view source on GitHub ↗
(value any)

Source from the content-addressed store, hash-verified

798 return nil
799 }
800}
801
802func permissionPromptFromEvent(event UiEvent) map[string]any {
803 if skillName, command, ok := skillShellRequestParts(event.Metadata["skill_shell_request"]); ok {
804 return map[string]any{"name": "skill-shell:" + skillName, "input": map[string]any{"command": command, "file_path": ""}}
805 }
806 if req, ok := normalizeMCPTrustRequest(event.Metadata["mcp_trust_request"]); ok {
807 return map[string]any{"name": "mcp-project-trust", "input": map[string]any{"command": FormatMCPTrustTarget(req), "file_path": ""}}
808 }

Callers 15

RenderEventMethod · 0.70
formatTranscriptBlockMethod · 0.70
syncTasksFromFrameMethod · 0.70
buildTaskBlocksMethod · 0.70
FormatFullscreenModalFunction · 0.70
fullscreenBlockSignatureFunction · 0.70
anyStringSliceFunction · 0.70
permissionModalStateMethod · 0.70
HandlePermissionEventMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected