feat: 汎用プラグインBox生成システム実装とnyash.toml v2対応準備

- GenericPluginBoxを実装し、任意のプラグインBoxを動的に生成可能に
- FileBox決め打ちコードを削除(設計思想違反の解消)
- CURRENT_TASK.mdを更新し、nyash.toml v2対応の必要性を明確化
- 問題: プラグインテスターとNyash本体が古い単一Box型形式のまま

次のステップ:
1. nyash.tomlをv2形式(マルチBox型)に更新
2. プラグインテスターをv2対応に
3. Nyash本体のレジストリをv2対応に

🤖 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 03:48:44 +09:00
parent cc8553380c
commit 5f6f946179
28 changed files with 857 additions and 475 deletions

View File

@ -58,6 +58,7 @@ impl NyashRunner {
fn init_bid_plugins(&self) {
// Best-effort init; do not fail the program if missing
eprintln!("🔍 DEBUG: init_bid_plugins called");
if let Ok(()) = crate::bid::registry::init_global_from_config("nyash.toml") {
let reg = crate::bid::registry::global().unwrap();
// If FileBox plugin is present, try a birth/fini cycle as a smoke test