🎉 FileBox v2 plugin system fully working with TLV encoding fix

Major achievements:
- Fixed TLV encoding format to match plugin expectations
  - Header: version(2 bytes) + argc(2 bytes)
  - Entry: tag(1) + reserved(1) + size(2) + data
- Removed duplicate implementation in method_dispatch.rs
- All FileBox methods working: open/read/write/close
- Successfully tested file I/O operations

This completes the v2 plugin system integration for FileBox.

🤖 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 13:57:17 +09:00
parent ecc7062e4b
commit 519560b64b
6 changed files with 349 additions and 564 deletions

View File

@ -0,0 +1,9 @@
// Debug test for FileBox type checking
local file
file = new FileBox()
print("Created FileBox")
// Try method call
local result
result = file.open("test.txt", "w")
print("Open result: " + result)