Files
hakorune/test_nyash_v2.toml
Moe Charm 5f6f946179 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>
2025-08-19 03:48:44 +09:00

24 lines
668 B
TOML

# Nyash v2 configuration test file
# Legacy single-box plugins (for backward compatibility)
[plugins]
FileBox = "plugins/nyash-filebox-plugin/target/release/libnyash_filebox_plugin.so"
# New multi-box plugin libraries
[plugins.libraries]
"nyash-test-multibox" = { plugin_path = "plugins/nyash-test-multibox/target/release/libnyash_test_multibox.so", provides = ["TestBoxA", "TestBoxB"] }
# Box type definitions
[plugins.types.TestBoxA]
library = "nyash-test-multibox"
type_id = 200
[plugins.types.TestBoxA.methods]
hello = { args = [] }
[plugins.types.TestBoxB]
library = "nyash-test-multibox"
type_id = 201
[plugins.types.TestBoxB.methods]
greet = { args = [] }