import pathlib,json
p=pathlib.Path(__file__).parent
for side in ['before','after']:
 root=p/side
 for d in ['opencode/storage/message/ses_synthetic1','codex/sessions','claude/projects','home']:(root/d).mkdir(parents=True,exist_ok=True)
 for n in range(1,4):
  (root/f'opencode/storage/message/ses_synthetic1/msg_synth{n}.json').write_text(json.dumps({'id':f'msg_synth{n}','sessionID':'ses_synthetic1','role':'assistant','modelID':'glm-5.3','providerID':'zai-coding-plan','cost':0,'tokens':{'input':12000,'output':800,'reasoning':0,'cache':{'read':4000,'write':0}},'time':{'created':1793059200000}}))
