Files
PXL8D d1afeebad7 Major refactor: Clean up codebase to three-node architecture
✅ REMOVED unused code and nodes:
- MetaManLoadAndConvert (obsolete - replaced by Load Image + Extract Components)
- MetaManUniversalNodeV2 (obsolete - replaced by three-node architecture)
- MetaManWorkflowSaver (specialized node - not part of core)
- MetaManDependencyResolver (specialized node - not part of core)
- specialized_nodes.py (entire file removed)
- api_integration.py (only used by removed specialized nodes)
- metadata_parser.py (only used by removed specialized nodes)
- validation.py (testing file for removed features)
- templates/ directory (universal schema system not used by core nodes)
- test_installation.py (obsolete testing file)

✅ KEPT only three core nodes:
- MetaManLoadImage: Load images and extract metadata
- MetaManExtractComponents: Extract individual workflow parameters for reuse
- MetaManEmbedAndSave: Convert metadata formats and save with embedded metadata

✅ UPDATED configuration:
- __init__.py: Only registers three core nodes
- requirements.txt: Simplified to only essential dependencies
- metaman.py: Clean, self-contained implementation with all necessary functionality

✅ ENHANCED features maintained:
- Universal metadata extraction from any platform
- Tensor.AI EMS de-obfuscation
- Target service format conversion (A1111, ComfyUI, Civitai, Forge, etc.)
- Directory-based file organization
- Complete workflow component extraction

Result: Clean, focused codebase with 1,200+ lines of production-ready code
covering all essential metadata management functionality.
2025-08-13 13:46:15 -07:00

28 lines
842 B
Python

"""
MetaMan - ComfyUI Custom Node Package
Universal metadata management for AI image generation platforms
"""
from .metaman import MetaManLoadImage, MetaManExtractComponents, MetaManEmbedAndSave
# Core three-node architecture
NODE_CLASS_MAPPINGS = {
"MetaManLoadImage": MetaManLoadImage,
"MetaManExtractComponents": MetaManExtractComponents,
"MetaManEmbedAndSave": MetaManEmbedAndSave
}
NODE_DISPLAY_NAME_MAPPINGS = {
"MetaManLoadImage": "MetaMan Load Image",
"MetaManExtractComponents": "MetaMan Extract Components",
"MetaManEmbedAndSave": "MetaMan Embed & Save"
}
# Export for ComfyUI
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
# Package info
__version__ = "1.0.0"
__author__ = "MetaMan Development Team"
__description__ = "Universal metadata management for AI image generation platforms"