MCPcopy Create free account
hub / github.com/Louisym/MiniCC / _format_hook_message

Function _format_hook_message

mini_claude_code/runtime.py:508–512  ·  view source on GitHub ↗

源码: conversation.rs:400-406

(result: HookResult, fallback: str)

Source from the content-addressed store, hash-verified

506# ============================================================
507
508def _format_hook_message(result: HookResult, fallback: str) -> str:
509 """源码: conversation.rs:400-406"""
510 if not result.messages:
511 return fallback
512 return "\n".join(result.messages)

Callers 1

_process_tool_useMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected