feat: Add VM statistics and fix compilation errors for plugin tests

- Add VM instruction statistics (--vm-stats, --vm-stats-json)
- Fix missing fields in ast.rs test code (public_fields, private_fields)
- Add CliConfig fields for VM statistics
- Enable TLV debug logging in plugin_loader_v2
- Successfully test FileBox handle passing and HTTP plugin creation

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Moe Charm
2025-08-23 04:51:24 +09:00
parent dd09e81018
commit 63749b683e
12 changed files with 360 additions and 7 deletions

View File

@ -958,6 +958,8 @@ mod tests {
let box_decl = ASTNode::BoxDeclaration {
name: "TestBox".to_string(),
fields: vec!["value".to_string()],
public_fields: vec![],
private_fields: vec![],
methods,
constructors: HashMap::new(),
init_fields: vec![],