feat: Unified registry and major code cleanup by ChatGPT5
- Unified Box Registry: Replaced 600+ line match statement with clean factory pattern - Code cleanup: Removed unused imports, variables, and dead code - Import fixes: Fixed RangeBox, NullBox, MapBox imports - Transport Debug: Added Debug trait implementation for Transport interface - WASM build: Successfully tested with wasm_playground preset ready for integration - Performance: Build time stable, WASM package generated successfully (1.89MB) This commit represents a major architectural improvement with the unified registry system now fully operational, reducing code duplication and improving maintainability. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -131,8 +131,7 @@ pub mod http_server_box;
|
||||
|
||||
// P2P通信Box群 (NEW! - Completely rewritten)
|
||||
pub mod intent_box;
|
||||
// Temporarily commented out until transport/messaging import issues are fixed
|
||||
// pub mod p2p_box;
|
||||
pub mod p2p_box;
|
||||
|
||||
// null関数も再エクスポート
|
||||
pub use null_box::{NullBox, null};
|
||||
@ -153,5 +152,4 @@ pub use http_server_box::HTTPServerBox;
|
||||
|
||||
// P2P通信Boxの再エクスポート
|
||||
pub use intent_box::IntentBox;
|
||||
// Temporarily commented out until transport/messaging import issues are fixed
|
||||
// pub use p2p_box::P2PBox;
|
||||
pub use p2p_box::P2PBox;
|
||||
|
||||
Reference in New Issue
Block a user