Commit Graph

2 Commits

Author SHA1 Message Date
2fc6ce3aa6 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>
2025-08-21 14:28:24 +09:00
bf0229c24a refactor: Extract basic type constructors from execute_new function
- Create objects_basic_constructors.rs with create_basic_box() method
- Handle StringBox, IntegerBox, BoolBox, ArrayBox, NullBox, FloatBox, MapBox
- Reduce execute_new function complexity by delegating basic types
- Start decomposing 875-line function into manageable modules
- All tests pass successfully
2025-08-21 12:28:47 +09:00