feat: Phase 9.78b完了 - UnifiedBoxRegistry統合とビルド最適化

🏭 **Phase 9.78b: 統合レジストリ実装完了**

**主要な変更:**
- execute_new()に統合レジストリを統合、レガシーmatch文への自動フォールバック
- 全importエラー解決(RuntimeError, モジュールパス修正)
- runner.rs起動時に統合レジストリ初期化
- 20+種類のビルトインBoxが統合ファクトリ経由で作成可能

**ビルド時間最適化:**
- wasmtime/wabt依存を"wasm-backend"フィーチャーでオプション化
- デフォルトビルド 4分 → 43秒の劇的高速化達成

**技術的達成:**
- 600+行match文 → 30行ファクトリパターンへの移行基盤完成
- プラグイン・ユーザー定義・ビルトインBox統一アーキテクチャ確立
- Everything is Box哲学の実装レベル体現

**次のステップ:**
Phase 9.78c: プラグインBox統合、Phase 9.78d: ユーザー定義Box統合

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Moe Charm
2025-08-19 16:56:44 +09:00
parent fbb94aea17
commit 5b6cf828af
11 changed files with 25 additions and 12 deletions

View File

@ -17,6 +17,7 @@ gui = ["dep:egui", "dep:eframe", "dep:egui_extras", "dep:image"]
gui-examples = ["gui"]
all-examples = ["gui-examples"]
dynamic-file = []
wasm-backend = ["dep:wasmtime", "dep:wabt"]
# Note: LLVM feature requires inkwell dependency and LLVM development libraries
# llvm = ["dep:inkwell"]
@ -120,9 +121,9 @@ wasm-bindgen = "0.2"
console_error_panic_hook = "0.1"
js-sys = "0.3"
# WASM backend dependencies (Phase 8)
wabt = "0.10"
wasmtime = "35.0.0"
# WASM backend dependencies (Phase 8) - optional for faster builds
wabt = { version = "0.10", optional = true }
wasmtime = { version = "35.0.0", optional = true }
# GUI フレームワーク - only when gui feature is enabled
egui = { version = "0.29", optional = true }