"""发布目录检查:只报告文件与问题类型,不输出密钥或个人标记原文。""" from __future__ import annotations import argparse import json import re from pathlib import Path ROOT = Path(__file__).resolve().parent.parent ALLOWED_DLLS = {'native/build_text/text_bridge.dll', 'native/build/selftest_bridge.dll'} SECRET_PATTERNS = { 'possible_api_key': re.compile(r'(?