MCPcopy
hub / github.com/HKUDS/DeepCode / show_history

Method show_history

cli/cli_interface.py:945–962  ·  view source on GitHub ↗

Display processing history

(self)

Source from the content-addressed store, hash-verified

943 self.processing_history.append(entry)
944
945 def show_history(self):
946 """Display processing history"""
947 if not self.processing_history:
948 self.print_status("No processing history available", "info")
949 return
950
951 print(f"\n{Colors.BOLD}{Colors.CYAN}📚 PROCESSING HISTORY{Colors.ENDC}")
952 self.print_separator("─", 79, Colors.CYAN)
953
954 for i, entry in enumerate(self.processing_history, 1):
955 status_icon = "✅" if entry["status"] == "success" else "❌"
956 source = entry["input_source"]
957 if len(source) > 50:
958 source = source[:47] + "..."
959
960 print(f"{i}. {status_icon} {entry['timestamp']} | {source}")
961
962 self.print_separator("─", 79, Colors.CYAN)
963
964 def show_configuration_menu(self):
965 """Show configuration options menu"""

Callers 1

Calls 2

print_statusMethod · 0.95
print_separatorMethod · 0.95

Tested by

no test coverage detected