docs: AG Native bundle reverse engineering analysis — plannerResponse/Whi renderer structure, V8 cache fix, known-issues update

This commit is contained in:
Variet Worker
2026-04-12 07:05:57 +09:00
parent eef59e6bb2
commit 353265bed8
25 changed files with 1236 additions and 33 deletions

12
test_view2.py Normal file
View File

@@ -0,0 +1,12 @@
import discord
from bot import ApprovalView
from models import ApprovalRequest
request = ApprovalRequest("id", "convo", "cmd", "desc", 0.0)
view = ApprovalView(request, buttons=[{"text":"yes","index":0}, {"text":"no","index":1}], hub=None)
print("View items:", view.children)
try:
print(view.to_components())
print("SUCCESS")
except Exception as e:
print("CRASH:", e)