#!/usr/bin/env python3 import json import sys # 读取JSON文件 with open('/tmp/files_to_push.json', 'r', encoding='utf-8') as f: all_files = json.load(f) print(f"Total files: {len(all_files)}") print("\nFiles to push:") for i, file_info in enumerate(all_files, 1): print(f"{i}. {file_info['path']}") print("\n\nTo push these files, use the GitHub MCP push_files tool.") print("Due to the large number of files, they should be pushed in batches.")