it.skip('should trigger chat compression with /compress command',async()=>{
awaitrig.setup('interactive-compress-test');
const{ptyProcess}=rig.runInteractive();
awaitrig.ensureReadyForInput(ptyProcess);
constlongPrompt=
'Dont do anything except returning a 1000 token long paragragh with the <name of the scientist who discovered theory of relativity> at the end to indicate end of response. This is a moderately long sentence.';
awaittype(ptyProcess,longPrompt);
awaittype(ptyProcess,'\r');
awaitrig.waitForText('einstein',25000);
awaittype(ptyProcess,'/compress');
// A small delay to allow React to re-render the command list.