9 lines
562 B
Python
9 lines
562 B
Python
import json; d=json.load(open(r'C:\Users\Variet-Worker\.gemini\antigravity\bridge\deep-inspect-result.json', encoding='utf-8', errors='ignore')); print('Total Nodes:', len(d.get('nodes',[])));
|
|
for n in d.get('nodes', []):
|
|
if 'agent' in n.get('label','').lower() or n.get('buttons'):
|
|
print(f"\n[Node] {n.get('label')}")
|
|
for b in n.get('buttons', []):
|
|
print(f" BTN: '{b.get('text')}' class='{b.get('class')}' hidden={b.get('hidden')} disabled={b.get('disabled')}")
|
|
for b in n.get('roleBtns', []):
|
|
print(f" ROLE-BTN: '{b.get('text')}'")
|