fix: isolate and reset AI panel state per tab (#195)