@sarjallab09/figma-intelligence 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const _0x5a9fd8=_0x2335;function _0x5592(){const _0x43d6b7=['Ehztu2i','ugfLv2W','B3Pjz20','u0Lhvevstq','y0nethG','q29WAwXVDcbdteKGzgLYzwn0','Dg9gAxHLza','A0X3sw0','BvPUELm','4P2migzHAwW','mZCXodu2ofbuDvbZva','DgvZDa','uxr5zMC','qvrAu3e','lMXVy2fS','BwPZCKS','l29WDc9OB21LyNjLDY9IAw4Vy29WAwXVDa','C3rYAw5N','odG2nti0tMHvuwrp','uKPlD3e','CgfKrw5K','t2HWBMO','wwjcyMG','A2LSBa','icaGsw5ZDgfSBcb0AguGCMvHBcbdteK6ig5WBsbPBNn0ywXSic1NiebNAxrODwiVy29WAwXVDa','nte2ntqZnZb0A3LJEhi','vMvzAue','zxjYB3i','4PYuihbHC3m','4PYuihjLywr5','DgLTzwqGB3v0ihDHAxrPBMCGzM9YihrLEhrFzgvSDgeVzg9Uzq','kgvTChr5kq','DwrOwKq','uejwAue','BwvZC2fNzq','mtzyDvzJBKe','CMvZB2X2zq','icaGq29WAwXVDcbZBw9Rzsb0zxn0ignYyxnOzwq6','C2vUzcbMywLSzwq6ia','Aw5Xzgq','vNLLCvG','seTrCwi','D0f4Cw0','Bg9N','DhjPBq','DhLWzq','tufeDw8','mJm3nZLhv0DUqwO','ou16vNLNza','ywrKrxzLBNrmAxn0zw5LCG','CNvUigbJB3bPBg90ycb0AgvUic9SB2DPBIWGB3iGy2HLy2SGyh4VlMnVCgLSB3qVy29UzMLNlMPZB25G','mtqZnZC2mLfzBLfKwa','B2jQzwn0','su5Mzvi','Du5uBgK','CMvWBhK','mtG5odiWmKvMvvzQDG','r1LuDuG','icdIGjqG','teHtEuu','suXeuwG','Dw5RBM93BIbLCNjVCG','wuv2zgK','C3rYAw5NAwz5','uMvWBhKGD2L0AcbLEgfJDgX5ihrOzsbZAw5NBguGD29YzcbpsYbHBMqGBM90AgLUzYbLBhnLlG','AwDUB3jL','sNPqAva','rxPQuve','AxrhqK8','swXRywq','zNvSBfrLEhq','BhLzrwG','t2r3AeC','zxHPDa','AurwEwi','t25mz3C','y2HHDa','BM93','icaGq29WAwXVDcbZBw9Rzsb0zxn0ihnRAxbWzwqG4Ocuig5ViebNAxrODwiVy29WAwXVDcbdteKGzM91BMqGB24Guefusc4','C3rKB3v0','y1HOr2e','thDLs1y','mtCWodiYnxnvruT5uG','wM5nDNq','AwXmvgK','ww5ovNu','AM9PBG','zxHPDca','yMneBfu','BgvUz3rO','zgvSDge','yvDZDKi','EwDtEM0','lY5MAwDTys1ICMLKz2uTCMvSyxKUBg9NigfUzcbJB25MAxjTihjLBgf5igLZihj1BM5PBMCGB24GoJKWmde','l3vZCI9SB2nHBc9IAw4Vy29WAwXVDa','CgrmDui','wNDNqw8','y29WAwXVDc1ZBw9Rzs0','y3fzzKq','v2vIu29JA2v0','y29UBMvJDcbMywLSzwq6ia','Dg9tDhjPBMC','sgTLDKG','qwXdtLu','whPuufq','uNnewvy','y2HPBgrFChjVy2vZCW','BhPlzxO','zuPPvLy','y05Zy2q','D3mGCgfJA2fNzsbUB3qGAw5ZDgfSBgvKiokaLcbYDw4Gj2nKigzPz21HlwjYAwrNzs1WBhvNAw4GjIyGBNbTigLUC3rHBgWNigzPCNn0','CuLNyMy','wfzRyxu','CgLWzq','BKLwzvO','wwvgCNC','lM5WBs1NBg9IywW','yvfbthq','wenprui','r094EwK','CKzqBgG','BunIyve','zgf0yq','vwzgAum','AgTSsgS','D3m6lY9SB2nHBgHVC3q6otaWms9WBhvNAw4','rgjzAMS','B3bLBG','icaGq29WAwXVDcbZBw9Rzsb0zxn0ihnRAxbWzwqG4OcuihjLC29SDMvKihrVihrOzsbwuYbdB2rLihn0DwiGka','icaG','z2jVu1C','4P2mig5VDcbYzwfKEq','y2XVC2u','CgfYC2u','zwXHChnLze1Z','yMLU','rfzQDw0','Ag5MD3i','q29WAwXVDcb2AweGCMvSyxK','idOG','DeDpCu4','B3DiDLK','C2XPy2u','zLLKrxe','C2vNwwK','zMLNBweTyNjPzgDLlxbSDwDPBG','reLdsvG','vLLfCvO','ndj0tLLpCwC','DNLyteG','sffhCuS','DKjLrwy','ENDVy2G'];_0x5592=function(){return _0x43d6b7;};return _0x5592();}function _0x2335(_0x2963c2,_0x1764c5){_0x2963c2=_0x2963c2-0x1a9;const _0x5592cc=_0x5592();let _0x23358f=_0x5592cc[_0x2963c2];if(_0x2335['BpJUiU']===undefined){var _0x5022d4=function(_0x3396af){const _0x4e43ea='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4ae685='',_0x46bcc5='';for(let _0x9fce34=0x0,_0x5e94c7,_0x23c6d7,_0x2f2fef=0x0;_0x23c6d7=_0x3396af['charAt'](_0x2f2fef++);~_0x23c6d7&&(_0x5e94c7=_0x9fce34%0x4?_0x5e94c7*0x40+_0x23c6d7:_0x23c6d7,_0x9fce34++%0x4)?_0x4ae685+=String['fromCharCode'](0xff&_0x5e94c7>>(-0x2*_0x9fce34&0x6)):0x0){_0x23c6d7=_0x4e43ea['indexOf'](_0x23c6d7);}for(let _0x52650f=0x0,_0x8df976=_0x4ae685['length'];_0x52650f<_0x8df976;_0x52650f++){_0x46bcc5+='%'+('00'+_0x4ae685['charCodeAt'](_0x52650f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x46bcc5);};_0x2335['VYoCDc']=_0x5022d4,_0x2335['EcZNtr']={},_0x2335['BpJUiU']=!![];}const _0x160850=_0x5592cc[0x0],_0xe9a156=_0x2963c2+_0x160850,_0x38b049=_0x2335['EcZNtr'][_0xe9a156];return!_0x38b049?(_0x23358f=_0x2335['VYoCDc'](_0x23358f),_0x2335['EcZNtr'][_0xe9a156]=_0x23358f):_0x23358f=_0x38b049,_0x23358f;}(function(_0x1171b3,_0xbc4d2){const _0x389f6b=_0x2335,_0x553dc6=_0x1171b3();while(!![]){try{const _0x39ae55=-parseInt(_0x389f6b(0x1e4))/0x1+-parseInt(_0x389f6b(0x1e9))/0x2+parseInt(_0x389f6b(0x1c3))/0x3*(-parseInt(_0x389f6b(0x1d4))/0x4)+-parseInt(_0x389f6b(0x203))/0x5+parseInt(_0x389f6b(0x1ac))/0x6*(parseInt(_0x389f6b(0x1e0))/0x7)+-parseInt(_0x389f6b(0x1bb))/0x8+-parseInt(_0x389f6b(0x1e1))/0x9*(-parseInt(_0x389f6b(0x1ca))/0xa);if(_0x39ae55===_0xbc4d2)break;else _0x553dc6['push'](_0x553dc6['shift']());}catch(_0x408623){_0x553dc6['push'](_0x553dc6['shift']());}}}(_0x5592,0xc6b1f));const {spawn,spawnSync}=require(_0x5a9fd8(0x21b)),{existsSync}=require('fs'),{homedir}=require('os'),path=require('path'),REPO_DIR=path[_0x5a9fd8(0x1d5)](__dirname,'..'),RELAY_URL=_0x5a9fd8(0x22e),STAGE_A_TIMEOUT_MS=0x61a8,STAGE_B_TIMEOUT_MS=0xafc8,SMOKE_PROMPT=_0x5a9fd8(0x1f1),DEFAULT_MODEL='claude-sonnet-4.5';function resolveCopilotBin(){const _0x305a1d=_0x5a9fd8,_0x1b6224={'DVjum':function(_0xcc1285,_0x43633e){return _0xcc1285(_0x43633e);},'vyXLH':function(_0x5b7356,_0x1ce4f2){return _0x5b7356===_0x1ce4f2;},'udhZD':_0x305a1d(0x218),'TcFtK':function(_0x1f7072){return _0x1f7072();},'eaTof':_0x305a1d(0x225),'FRrTu':_0x305a1d(0x238),'XCOEB':'copilot','RJKwq':_0x305a1d(0x1c1),'KXpeH':_0x305a1d(0x20f),'OnLgw':function(_0x11f6a7,_0x24679d,_0x4caf34,_0x4edc5a){return _0x11f6a7(_0x24679d,_0x4caf34,_0x4edc5a);},'chmpt':_0x305a1d(0x222)};if(process.env.COPILOT_BIN_PATH&&_0x1b6224[_0x305a1d(0x239)](existsSync,process.env.COPILOT_BIN_PATH))return _0x1b6224[_0x305a1d(0x1ad)](_0x1b6224[_0x305a1d(0x1d1)],_0x1b6224['udhZD'])?process.env.COPILOT_BIN_PATH:_0x1b6224[_0x305a1d(0x239)](_0x1390a4,{'ok':![],'elapsedMs':_0x5addaf,'reply':'','error':'VS\x20Code\x20Copilot\x20Chat\x20stub\x20detected'});const _0xde4fc0=_0x1b6224['TcFtK'](homedir),_0x5a5fb5=[path['join'](_0xde4fc0,_0x1b6224['eaTof'],_0x1b6224['FRrTu'],_0x1b6224[_0x305a1d(0x227)]),_0x1b6224[_0x305a1d(0x1c4)],_0x1b6224['KXpeH'],path[_0x305a1d(0x207)](_0xde4fc0,_0x305a1d(0x1bf),_0x1b6224['FRrTu'],_0x1b6224[_0x305a1d(0x227)])];for(const _0x2c02e7 of _0x5a5fb5){if(_0x1b6224['DVjum'](existsSync,_0x2c02e7))return _0x2c02e7;}try{const _0x4a98b2=_0x1b6224[_0x305a1d(0x1fc)](spawnSync,'which',[_0x1b6224['XCOEB']],{'stdio':_0x1b6224['chmpt']}),_0x2ce03d=(_0x4a98b2['stdout']||'')[_0x305a1d(0x216)]()['trim']();if(_0x2ce03d)return _0x2ce03d;}catch{}return'';}function isVscodeStub(_0x20f905){const _0x569a7f=_0x5a9fd8;return/github\.copilot-chat\/copilotCli\/copilot$/[_0x569a7f(0x1bc)](_0x20f905)||/Code\/User\/globalStorage\/github\.copilot-chat/[_0x569a7f(0x1bc)](_0x20f905);}function runStageA(_0x3f9907){const _0xe13a2=_0x5a9fd8,_0x516e55={'xmVvz':function(_0x3619af,_0x37f948){return _0x3619af(_0x37f948);},'yavex':_0xe13a2(0x21c),'JzPiP':_0xe13a2(0x1f5),'mjsrK':'SIGKILL','VyeqX':function(_0x158f88,_0x3eeb0f,_0x5eb11f){return _0x158f88(_0x3eeb0f,_0x5eb11f);},'hklHk':function(_0x15c4a4,_0x539a3e){return _0x15c4a4===_0x539a3e;},'MADuo':_0xe13a2(0x23e),'PyZAX':function(_0x143b3d,_0x3cba09){return _0x143b3d+_0x3cba09;},'GELye':_0xe13a2(0x217),'nVQDU':_0xe13a2(0x1f2),'frmRN':'pipe','aQALt':function(_0x5b58de,_0x3eeb1b){return _0x5b58de-_0x3eeb1b;},'DbYjk':function(_0x425844,_0x12d2d2,_0x15dbf1){return _0x425844(_0x12d2d2,_0x15dbf1);},'RhOFO':_0xe13a2(0x1cc),'lQYpa':'close'};return new Promise(_0x45f3d0=>{const _0x26e048=_0xe13a2,_0x2f2b2c={'mTpqJ':function(_0x1419bb,_0x21bc76){return _0x516e55['xmVvz'](_0x1419bb,_0x21bc76);},'pBwfg':function(_0x18366b,_0x345742){return _0x516e55['PyZAX'](_0x18366b,_0x345742);},'KKncX':_0x516e55['GELye'],'upghb':'VS\x20Code\x20Copilot\x20Chat\x20stub\x20detected'},_0x367eb5=Date[_0x26e048(0x1fe)](),_0x513a93=['-p',SMOKE_PROMPT,'--model',DEFAULT_MODEL,'--no-color'];let _0x10cace;try{_0x10cace=spawn(_0x3f9907,_0x513a93,{'stdio':[_0x516e55['nVQDU'],_0x516e55['frmRN'],'pipe'],'cwd':REPO_DIR});}catch(_0x219063){return _0x45f3d0({'ok':![],'elapsedMs':_0x516e55[_0x26e048(0x226)](Date['now'](),_0x367eb5),'reply':'','error':_0x219063[_0x26e048(0x1d3)]});}let _0x41f30b='',_0x431be9='';const _0x4242bd=_0x516e55[_0x26e048(0x22f)](setTimeout,()=>{const _0x2e7664=_0x26e048,_0x56b51f={'cXhGa':function(_0xc1d8c8,_0x5a52c1){return _0xc1d8c8||_0x5a52c1;},'DToVa':function(_0x1a567d,_0x5bfdfe){return _0x516e55['xmVvz'](_0x1a567d,_0x5bfdfe);},'ygSzm':function(_0x3ed935,_0x414cce){return _0x3ed935!==_0x414cce;},'vWuLc':_0x516e55['yavex'],'xISxc':_0x516e55[_0x2e7664(0x1f3)],'GJVlD':_0x516e55[_0x2e7664(0x1c0)]};try{_0x10cace[_0x2e7664(0x1c8)](_0x2e7664(0x1b4));}catch{}_0x516e55[_0x2e7664(0x1d9)](setTimeout,()=>{const _0xd8c718=_0x2e7664,_0x4bd182={'ERLrA':function(_0x16dabd,_0x34b360){const _0xb887e5=_0x2335;return _0x56b51f[_0xb887e5(0x201)](_0x16dabd,_0x34b360);},'hnfwr':function(_0x595825,_0x46c291){return _0x56b51f['DToVa'](_0x595825,_0x46c291);},'sQNUw':_0xd8c718(0x1cf)};try{if(_0x56b51f[_0xd8c718(0x20d)](_0x56b51f['vWuLc'],_0x56b51f['xISxc']))_0x10cace['kill'](_0x56b51f['GJVlD']);else{const _0x4ae8b2=_0x30de25[_0xd8c718(0x1fe)]()-_0x235b85;_0x4bd182['ERLrA'](_0x57ce09,_0x2f6f21)?_0x4bd182[_0xd8c718(0x23a)](_0x1d2fa1,{'ok':!![],'elapsedMs':_0x4ae8b2,'reply':_0x4e096a['trim']()||'(empty)','error':''}):_0x4bd182[_0xd8c718(0x23a)](_0x19e6fc,{'ok':![],'elapsedMs':_0x4ae8b2,'reply':'','error':_0x4bd182['sQNUw']});}}catch{}},0x3e8);},STAGE_A_TIMEOUT_MS);_0x10cace[_0x26e048(0x200)]['on']('data',_0x5a9a56=>{const _0xe62f6a=_0x26e048;_0x516e55[_0xe62f6a(0x22d)]('esUbk',_0x516e55[_0xe62f6a(0x1df)])?_0x2ec300?_0x572aab=new _0x55ea6a(_0x2f5f54):_0x4e6674=new _0x132764[(_0xe62f6a(0x214))](_0x3ea6e9):_0x41f30b+=_0x5a9a56[_0xe62f6a(0x216)]();}),_0x10cace['stderr']['on']('data',_0x4e4b4c=>{const _0x48dd70=_0x26e048;_0x431be9+=_0x4e4b4c[_0x48dd70(0x216)]();}),_0x10cace['on'](_0x516e55['RhOFO'],_0x132fea=>{clearTimeout(_0x4242bd),_0x45f3d0({'ok':![],'elapsedMs':Date['now']()-_0x367eb5,'reply':'','error':_0x132fea['message']});}),_0x10cace['on'](_0x516e55['lQYpa'],_0x380eb8=>{const _0x253b4d=_0x26e048,_0x1b0e10={'NPMAD':function(_0x2f686e,_0x260af6){return _0x2f686e(_0x260af6);}};_0x2f2b2c['mTpqJ'](clearTimeout,_0x4242bd);const _0x2a49fa=Date[_0x253b4d(0x1fe)]()-_0x367eb5,_0x39ca0f=_0x41f30b['trim']();if(/cannot find github copilot/i['test'](_0x2f2b2c['pBwfg'](_0x41f30b,_0x431be9)))return _0x253b4d(0x217)!==_0x2f2b2c['KKncX']?_0x1b0e10['NPMAD'](_0x4a405d,_0x7c6abe[_0x253b4d(0x1d5)]('ws',{'paths':[_0x49d0e6['join'](_0x1bcce9,'figma-bridge-plugin')]})):_0x45f3d0({'ok':![],'elapsedMs':_0x2a49fa,'reply':'','error':_0x2f2b2c['upghb']});const _0xe4574c=_0x39ca0f['length']>=0x2||_0x380eb8===0x0,_0x56cf28=_0xe4574c?'':_0x431be9['trim']()||_0x253b4d(0x208)+_0x380eb8;_0x45f3d0({'ok':_0xe4574c,'elapsedMs':_0x2a49fa,'reply':_0x39ca0f,'error':_0x56cf28});});});}function loadWs(){const _0x2ae799=_0x5a9fd8,_0x5ad9fc={'QtrvB':function(_0x5b6506,_0x5bb12b){return _0x5b6506>_0x5bb12b;},'EfsXi':function(_0x3ae1e8,_0x5851a5){return _0x3ae1e8===_0x5851a5;}};try{if('XzTPT'===_0x2ae799(0x219))return require(require[_0x2ae799(0x1d5)]('ws',{'paths':[path[_0x2ae799(0x207)](REPO_DIR,_0x2ae799(0x1a9))]}));else{if(!_0x50bedc)return'(empty)';const _0x5a3be4=_0x3a662b['replace'](/\s+/g,'\x20')[_0x2ae799(0x1dd)]();return _0x5ad9fc['QtrvB'](_0x5a3be4[_0x2ae799(0x20a)],0x30)?'\x22'+_0x5a3be4['slice'](0x0,0x2d)+'…\x22':'\x22'+_0x5a3be4+'\x22';}}catch{}if(_0x5ad9fc['EfsXi'](typeof globalThis['WebSocket'],'function'))return null;return undefined;}function runStageB(){const _0x1a0f5f=_0x5a9fd8,_0x363087={'YnNVu':function(_0x299fb1,_0x396e22){return _0x299fb1-_0x396e22;},'PBViA':_0x1a0f5f(0x1d0),'ZnMvt':function(_0x1f80d4,_0x19f49c){return _0x1f80d4(_0x19f49c);},'OdwhG':function(_0x3b1914,_0x154f9f){return _0x3b1914+_0x154f9f;},'RsDYV':_0x1a0f5f(0x212),'lJGmy':function(_0x2ad89f,_0x424cee){return _0x2ad89f(_0x424cee);},'XVkau':_0x1a0f5f(0x223),'zwoch':'copilot','Ilkad':function(_0x4075f7,_0x499361,_0x428315){return _0x4075f7(_0x499361,_0x428315);},'xqWzZ':function(_0x2de1d9,_0x3c9a32){return _0x2de1d9!==_0x3c9a32;},'ATZSq':'cqYfD','PGjnt':function(_0x6baf96,_0x3d2967){return _0x6baf96===_0x3d2967;},'HrPcL':_0x1a0f5f(0x1b3),'qIgbf':function(_0x1382f8,_0xbc8722){return _0x1382f8===_0xbc8722;},'gboSW':'chat','lyYEh':_0x1a0f5f(0x1cc),'INfeR':function(_0x3d2c66,_0x23d111){return _0x3d2c66(_0x23d111);},'hMryW':function(_0x4aa118,_0xc95a33){return _0x4aa118/_0xc95a33;},'gWNqm':_0x1a0f5f(0x1ee),'MHRMW':function(_0x37577e,_0x2a2d05){return _0x37577e(_0x2a2d05);},'cWEyB':'YlWaK','xvSSb':function(_0x454b3e){return _0x454b3e();},'mZnzS':function(_0x1b7ba3,_0xb5dc92){return _0x1b7ba3(_0xb5dc92);},'HQGqK':_0x1a0f5f(0x21e),'ECmSp':function(_0xb04569,_0x518bf1){return _0xb04569(_0x518bf1);},'ILDQh':'function','aWsvB':'close','WeEnj':'message'};return new Promise(_0x1b5911=>{const _0x33b1a1=_0x1a0f5f,_0x250cee={'YEvdi':function(_0x385170,_0x3ebae9){return _0x363087['lJGmy'](_0x385170,_0x3ebae9);},'kLwIm':_0x363087[_0x33b1a1(0x1d2)],'LHSyE':function(_0x3a2e5e,_0x2ca282){return _0x363087['xqWzZ'](_0x3a2e5e,_0x2ca282);},'SsDEb':_0x363087[_0x33b1a1(0x1be)],'GOxyi':function(_0x525556,_0x5e3827){return _0x363087['PGjnt'](_0x525556,_0x5e3827);},'QuGlq':_0x363087['HrPcL'],'EzjQQ':function(_0x58f8b6,_0x3f81d6){const _0x5960ab=_0x33b1a1;return _0x363087[_0x5960ab(0x220)](_0x58f8b6,_0x3f81d6);},'DICIX':'AZiEE','jfwXo':function(_0x140d4e,_0x5e08d6){return _0x140d4e(_0x5e08d6);},'eJiVV':function(_0x4cd40d,_0x2f3597){return _0x4cd40d-_0x2f3597;},'HKQqb':'ULNQW','YbBbh':_0x363087[_0x33b1a1(0x233)],'pdLuB':function(_0x16ac8d,_0x31e08c){return _0x363087['OdwhG'](_0x16ac8d,_0x31e08c);},'Easdu':_0x33b1a1(0x212),'wAxqm':'string','Ohpnj':function(_0x2b244c,_0x3470a5){return _0x2b244c===_0x3470a5;},'lNMeH':'done','QzPHZ':function(_0x4a3dc3,_0x27615f){return _0x4a3dc3===_0x27615f;},'lyjmf':function(_0x2654d7,_0x32856f){return _0x2654d7>_0x32856f;},'fYdEq':function(_0x45b7b1,_0x1c5de7){const _0x16a1b4=_0x33b1a1;return _0x363087[_0x16a1b4(0x204)](_0x45b7b1,_0x1c5de7);},'fBvUH':'done\x20frame\x20with\x20empty\x20fullText','mRuBb':function(_0x2361d3,_0x1f4b70){return _0x2361d3===_0x1f4b70;},'segYi':_0x363087[_0x33b1a1(0x1f8)],'iDVyb':function(_0x2c44a4,_0x2efaec){return _0x363087['INfeR'](_0x2c44a4,_0x2efaec);},'koCGN':function(_0x4e5a28,_0x30c5f8){return _0x4e5a28-_0x30c5f8;},'SgQtt':function(_0x427549,_0x458583){return _0x363087['hMryW'](_0x427549,_0x458583);},'Bnfxn':_0x363087['gWNqm'],'GYTuH':function(_0x8c24f3,_0x2041de){return _0x8c24f3===_0x2041de;},'Pdiyv':'LweKV','UfFiC':function(_0xdc2846,_0x243eae){return _0xdc2846||_0x243eae;},'tGOqN':function(_0x52183f,_0x4b2b9e){return _0x363087['MHRMW'](_0x52183f,_0x4b2b9e);},'mCbaQ':_0x363087['cWEyB'],'ilLTi':function(_0x1ebf5e,_0x11ec97){const _0x2d058d=_0x33b1a1;return _0x363087[_0x2d058d(0x1e6)](_0x1ebf5e,_0x11ec97);},'rFPlh':function(_0x55599b,_0x7e8d){const _0x9cb31c=_0x33b1a1;return _0x363087[_0x9cb31c(0x206)](_0x55599b,_0x7e8d);}},_0x21d0c9=Date[_0x33b1a1(0x1fe)](),_0x525839=_0x363087[_0x33b1a1(0x1b1)](loadWs);if(_0x363087['qIgbf'](_0x525839,undefined))return _0x363087[_0x33b1a1(0x1b9)](_0x1b5911,{'ok':![],'elapsedMs':0x0,'reply':'','error':_0x33b1a1(0x21f)});let _0x5d92d2;try{_0x525839?_0x363087[_0x33b1a1(0x1ae)]==='cNscd'?_0x5d92d2=new _0x525839(RELAY_URL):_0x52f51c[_0x33b1a1(0x235)]():_0x33b1a1(0x1b5)==='cCDLx'?_0x5d92d2=new globalThis[(_0x33b1a1(0x214))](RELAY_URL):_0x174818({'ok':!![],'elapsedMs':_0x363087[_0x33b1a1(0x206)](_0x14c4d8[_0x33b1a1(0x1fe)](),_0x186cf4),'reply':_0x21afce[_0x33b1a1(0x1dd)]()||_0x363087['PBViA'],'error':''});}catch(_0x5245b5){return _0x363087['ECmSp'](_0x1b5911,{'ok':![],'elapsedMs':0x0,'reply':'','error':_0x33b1a1(0x215)+_0x5245b5['message']});}let _0x113139='',_0x5ae013=![],_0x1d3b97=![],_0x52cfc0=![];const _0x54dd45=_0x3526f2=>{const _0x1fda4f=_0x33b1a1;if(_0x52cfc0)return;_0x52cfc0=!![];try{_0x5d92d2[_0x1fda4f(0x235)]();}catch{}_0x363087[_0x1fda4f(0x204)](_0x1b5911,_0x3526f2);},_0x59faa8=setTimeout(()=>{const _0x3116ea=_0x33b1a1,_0x146874=Date['now']()-_0x21d0c9;_0x5ae013||_0x1d3b97?_0x250cee[_0x3116ea(0x1ef)](_0x54dd45,{'ok':!![],'elapsedMs':_0x146874,'reply':_0x113139[_0x3116ea(0x1dd)]()||_0x250cee[_0x3116ea(0x1b8)],'error':''}):_0x250cee[_0x3116ea(0x1ef)](_0x54dd45,{'ok':![],'elapsedMs':_0x146874,'reply':'','error':'timed\x20out\x20waiting\x20for\x20text_delta/done'});},STAGE_B_TIMEOUT_MS),_0x42ba3b=_0x3e89d1=>{const _0x41607f=_0x33b1a1;if(_0x250cee['LHSyE'](_0x41607f(0x213),_0x250cee['SsDEb']))try{_0x22d71f['send'](_0x54b7a9[_0x41607f(0x1f0)](_0xf7863e));}catch(_0x85f007){_0x562cde(_0x678bc4),_0x419fb8({'ok':![],'elapsedMs':_0x301746['now']()-_0x2cf295,'reply':'','error':_0x41607f(0x1d7)+_0x85f007[_0x41607f(0x1d3)]});}else try{_0x250cee[_0x41607f(0x228)](_0x250cee['QuGlq'],'DimzE')?_0x5f33ff({'ok':!![],'elapsedMs':_0xb6ab9b,'reply':_0x3a3566,'error':''}):_0x5d92d2['send'](JSON[_0x41607f(0x1f0)](_0x3e89d1));}catch(_0x335b67){_0x250cee[_0x41607f(0x1f4)](_0x250cee[_0x41607f(0x1aa)],_0x41607f(0x1bd))?_0x4cbcd2+=_0x53d279['toString']():(clearTimeout(_0x59faa8),_0x250cee['jfwXo'](_0x54dd45,{'ok':![],'elapsedMs':_0x250cee[_0x41607f(0x21d)](Date['now'](),_0x21d0c9),'reply':'','error':_0x41607f(0x1d7)+_0x335b67['message']}));}},_0x34b529=()=>{const _0x275c61=_0x33b1a1,_0x2b72c5={'PaeWl':_0x275c61(0x1fd),'qJUvW':function(_0x516de7,_0x230e42){const _0xe40b73=_0x275c61;return _0x363087[_0xe40b73(0x1f9)](_0x516de7,_0x230e42);},'YeFrw':_0x363087[_0x275c61(0x21a)],'KEFMl':function(_0x39d21d,_0x2129ca){return _0x363087['lJGmy'](_0x39d21d,_0x2129ca);}};'nIVeZ'===_0x363087[_0x275c61(0x221)]?(_0x363087['ZnMvt'](_0x42ba3b,{'type':'set-provider','provider':_0x363087[_0x275c61(0x1b0)]}),_0x363087[_0x275c61(0x1f6)](setTimeout,()=>{const _0x192990=_0x275c61;_0x250cee['LHSyE']('ULNQW',_0x250cee[_0x192990(0x1da)])?_0x27ae8d({'type':_0x2b72c5[_0x192990(0x1b2)],'id':_0x2b72c5['qJUvW'](_0x2b72c5[_0x192990(0x224)],_0x5e046a['now']()),'mode':_0x192990(0x1fd),'message':_0x10b21a,'model':_0x2e2499}):_0x42ba3b({'type':_0x250cee[_0x192990(0x1c7)],'id':_0x250cee[_0x192990(0x210)](_0x250cee['Easdu'],Date['now']()),'mode':_0x250cee[_0x192990(0x1c7)],'message':SMOKE_PROMPT,'model':DEFAULT_MODEL});},0x96)):ojqKsp['KEFMl'](_0x3addc2,{'ok':![],'elapsedMs':_0x501ca5,'reply':'','error':'timed\x20out\x20waiting\x20for\x20text_delta/done'});},_0x348aab=_0x316c24=>{const _0x1d62fe=_0x33b1a1,_0x4b65c3=_0x250cee['GOxyi'](typeof _0x316c24,_0x250cee[_0x1d62fe(0x1db)])?_0x316c24:_0x316c24&&_0x316c24['data']!==undefined?_0x250cee[_0x1d62fe(0x1ef)](String,_0x316c24[_0x1d62fe(0x22b)]):_0x316c24['toString']();let _0x1ac9f0;try{_0x1ac9f0=JSON[_0x1d62fe(0x236)](_0x4b65c3);}catch{if(_0x250cee[_0x1d62fe(0x1ec)](_0x1d62fe(0x1ab),'VYEqZ'))_0xfab4b7=_0x4e773c['parse'](_0x239aa6);else return;}if(!_0x1ac9f0||_0x250cee['LHSyE'](typeof _0x1ac9f0,_0x1d62fe(0x1e5)))return;if(_0x1ac9f0['type']==='text_delta'&&typeof _0x1ac9f0[_0x1d62fe(0x20b)]===_0x1d62fe(0x1c2))_0x5ae013=!![],_0x113139+=_0x1ac9f0[_0x1d62fe(0x20b)];else{if(_0x250cee[_0x1d62fe(0x1c6)](_0x1ac9f0[_0x1d62fe(0x1de)],_0x250cee['lNMeH'])){_0x1d3b97=!![];_0x250cee['QzPHZ'](typeof _0x1ac9f0[_0x1d62fe(0x1f7)],_0x250cee[_0x1d62fe(0x1db)])&&_0x250cee['lyjmf'](_0x1ac9f0['fullText']['length'],0x0)&&(_0x113139=_0x1ac9f0[_0x1d62fe(0x1f7)]);_0x250cee['YEvdi'](clearTimeout,_0x59faa8);const _0x4e8813=Date[_0x1d62fe(0x1fe)]()-_0x21d0c9,_0x2f7c50=_0x113139['trim']();_0x2f7c50[_0x1d62fe(0x20a)]>0x0?_0x250cee[_0x1d62fe(0x240)](_0x54dd45,{'ok':!![],'elapsedMs':_0x4e8813,'reply':_0x2f7c50,'error':''}):_0x250cee['fYdEq'](_0x54dd45,{'ok':![],'elapsedMs':_0x4e8813,'reply':'','error':_0x250cee['fBvUH']});}else _0x250cee['mRuBb'](_0x1ac9f0['type'],_0x250cee[_0x1d62fe(0x241)])&&(clearTimeout(_0x59faa8),_0x54dd45({'ok':![],'elapsedMs':_0x250cee['eJiVV'](Date['now'](),_0x21d0c9),'reply':'','error':_0x250cee[_0x1d62fe(0x1fb)](String,_0x1ac9f0[_0x1d62fe(0x1cc)]||'relay\x20error')}));}},_0x4408d1=_0x8c1a90=>{const _0x541a2a=_0x33b1a1;_0x250cee['fYdEq'](clearTimeout,_0x59faa8),_0x54dd45({'ok':![],'elapsedMs':_0x250cee['koCGN'](Date[_0x541a2a(0x1fe)](),_0x21d0c9),'reply':'','error':'relay\x20not\x20reachable\x20at\x20'+RELAY_URL+':\x20'+(_0x8c1a90&&_0x8c1a90['message']?_0x8c1a90['message']:_0x8c1a90)});},_0x17a8d2=()=>{const _0x466a1b=_0x33b1a1,_0x316dbe={'VeYiA':'SIGTERM'};if(_0x250cee[_0x466a1b(0x1ea)](_0x250cee['Pdiyv'],_0x466a1b(0x202))){if(_0x52cfc0)return;_0x250cee['fYdEq'](clearTimeout,_0x59faa8);if(_0x250cee[_0x466a1b(0x22c)](_0x5ae013,_0x1d3b97))_0x250cee[_0x466a1b(0x23d)](_0x54dd45,{'ok':!![],'elapsedMs':Date['now']()-_0x21d0c9,'reply':_0x113139['trim']()||'(empty)','error':''});else{if(_0x250cee['mCbaQ']!==_0x250cee[_0x466a1b(0x22a)]){const _0x26f81a=_0x16812c['ok']?_0x466a1b(0x1cd):'❌\x20fail',_0x4b8238=_0x250cee['SgQtt'](_0x2feaf7['elapsedMs'],0x3e8)[_0x466a1b(0x1b7)](0x1)+'s',_0x5cb876=_0x37ff54['ok']?_0x4b8238+',\x20'+_0x35a3ee(_0x4781f1[_0x466a1b(0x1e8)]):''+(_0x3cdc24[_0x466a1b(0x1cc)]||_0x250cee['Bnfxn']),_0x502447=_0x2f69e9['ok']?'':_0x466a1b(0x1eb)+_0x109e97;return'\x20\x20\x20'+_0x320d0d[_0x466a1b(0x1c5)](0x14)+'\x20:\x20'+_0x26f81a+'\x20('+_0x5cb876+')'+_0x502447;}else _0x250cee[_0x466a1b(0x205)](_0x54dd45,{'ok':![],'elapsedMs':_0x250cee[_0x466a1b(0x229)](Date[_0x466a1b(0x1fe)](),_0x21d0c9),'reply':'','error':'socket\x20closed\x20before\x20any\x20response'});}}else _0xeaacdc[_0x466a1b(0x1c8)](DGheMB[_0x466a1b(0x1cb)]);};typeof _0x5d92d2['on']===_0x363087[_0x33b1a1(0x1ed)]?(_0x5d92d2['on'](_0x33b1a1(0x230),_0x34b529),_0x5d92d2['on']('message',_0x348aab),_0x5d92d2['on'](_0x33b1a1(0x1cc),_0x4408d1),_0x5d92d2['on'](_0x363087[_0x33b1a1(0x20c)],_0x17a8d2)):(_0x5d92d2[_0x33b1a1(0x1e2)]('open',_0x34b529),_0x5d92d2[_0x33b1a1(0x1e2)](_0x363087['WeEnj'],_0x348aab),_0x5d92d2[_0x33b1a1(0x1e2)]('error',_0x4408d1),_0x5d92d2[_0x33b1a1(0x1e2)]('close',_0x17a8d2));});}function formatReply(_0x1cfb3e){const _0x32ffa1=_0x5a9fd8,_0x11f9be={'inqdd':'(empty)','wVAFt':function(_0x41d719,_0x3cf0f4){return _0x41d719>_0x3cf0f4;}};if(!_0x1cfb3e)return _0x11f9be[_0x32ffa1(0x1d8)];const _0x119073=_0x1cfb3e['replace'](/\s+/g,'\x20')[_0x32ffa1(0x1dd)]();return _0x11f9be['wVAFt'](_0x119073[_0x32ffa1(0x20a)],0x30)?'\x22'+_0x119073[_0x32ffa1(0x23f)](0x0,0x2d)+'…\x22':'\x22'+_0x119073+'\x22';}function formatLine(_0x46064c,_0x5a718e,_0x13443d){const _0x2f61c4=_0x5a9fd8,_0x26664a={'ZwgAo':_0x2f61c4(0x1cd),'gtvHQ':function(_0x1ac28e,_0x12d0a8){return _0x1ac28e+_0x12d0a8;}},_0x5ac512=_0x5a718e['ok']?_0x26664a[_0x2f61c4(0x211)]:_0x2f61c4(0x1ba),_0x565596=_0x26664a['gtvHQ']((_0x5a718e[_0x2f61c4(0x237)]/0x3e8)[_0x2f61c4(0x1b7)](0x1),'s'),_0x62f85c=_0x5a718e['ok']?_0x565596+',\x20'+formatReply(_0x5a718e['reply']):''+(_0x5a718e[_0x2f61c4(0x1cc)]||_0x2f61c4(0x1ee)),_0xfce2a0=_0x5a718e['ok']?'':'\x20\x20—\x20'+_0x13443d;return _0x2f61c4(0x232)+_0x46064c[_0x2f61c4(0x1c5)](0x14)+_0x2f61c4(0x23c)+_0x5ac512+'\x20('+_0x62f85c+')'+_0xfce2a0;}async function main(){const _0x251dec=_0x5a9fd8,_0x21313f={'qlRUj':_0x251dec(0x1ff),'ROEoI':function(_0x58513d,_0x229955){return _0x58513d(_0x229955);},'ViCOj':_0x251dec(0x1c9),'bcDlU':function(_0x438732,_0xe27def){return _0x438732(_0xe27def);},'uNTli':_0x251dec(0x1b6),'lYMey':function(_0x50f74d){return _0x50f74d();}},_0x4dcc2c=resolveCopilotBin();!_0x4dcc2c&&(console['log'](''),console[_0x251dec(0x1dc)](_0x21313f['qlRUj']),console['log']('\x20\x20\x20Install\x20with:\x20npm\x20install\x20-g\x20@github/copilot'),process[_0x251dec(0x1fa)](0x2));_0x21313f['ROEoI'](isVscodeStub,_0x4dcc2c)&&(console['log'](''),console['log'](_0x251dec(0x231)+_0x4dcc2c+').'),console['log'](_0x21313f['ViCOj']),process[_0x251dec(0x1fa)](0x2));console[_0x251dec(0x1dc)](''),console['log']('\x20\x20\x20Copilot\x20binary\x20\x20\x20\x20\x20\x20\x20\x20:\x20'+_0x4dcc2c);const _0x54d503=await _0x21313f[_0x251dec(0x209)](runStageA,_0x4dcc2c);console[_0x251dec(0x1dc)](formatLine(_0x21313f[_0x251dec(0x1e7)],_0x54d503,_0x251dec(0x1e3)));const _0x42c9b3=await _0x21313f['lYMey'](runStageB);console[_0x251dec(0x1dc)](formatLine(_0x251dec(0x23b),_0x42c9b3,'check\x20'+process.env.HOME+_0x251dec(0x20e)));const _0x10d0de=_0x54d503['ok']&&_0x42c9b3['ok'];console['log']('\x20\x20\x20'+'Copilot\x20end-to-end'[_0x251dec(0x1c5)](0x14)+'\x20:\x20'+(_0x10d0de?_0x251dec(0x1ce):_0x251dec(0x234))),console[_0x251dec(0x1dc)](''),process[_0x251dec(0x1fa)](_0x10d0de?0x0:0x1);}main()['catch'](_0x3027bc=>{const _0x390004=_0x5a9fd8,_0x9fe7d3={'vBeEf':_0x390004(0x1d6)};console['error'](_0x9fe7d3[_0x390004(0x1af)],_0x3027bc&&_0x3027bc[_0x390004(0x1d3)]?_0x3027bc['message']:_0x3027bc),process[_0x390004(0x1fa)](0x1);});
2
+ 'use strict';const _0x2b2759=_0x269f;(function(_0x8931fe,_0x21e898){const _0x4dfd42=_0x269f,_0x5cd658=_0x8931fe();while(!![]){try{const _0x6c8e5=-parseInt(_0x4dfd42(0x198))/0x1*(parseInt(_0x4dfd42(0x1d9))/0x2)+-parseInt(_0x4dfd42(0x1c4))/0x3*(-parseInt(_0x4dfd42(0x1c8))/0x4)+-parseInt(_0x4dfd42(0x1de))/0x5*(parseInt(_0x4dfd42(0x194))/0x6)+-parseInt(_0x4dfd42(0x19e))/0x7+-parseInt(_0x4dfd42(0x1d0))/0x8+-parseInt(_0x4dfd42(0x18a))/0x9*(parseInt(_0x4dfd42(0x1aa))/0xa)+parseInt(_0x4dfd42(0x1c2))/0xb;if(_0x6c8e5===_0x21e898)break;else _0x5cd658['push'](_0x5cd658['shift']());}catch(_0x3ea203){_0x5cd658['push'](_0x5cd658['shift']());}}}(_0x33f7,0x9c1d6));const {spawn,spawnSync}=require(_0x2b2759(0x182)),{existsSync}=require('fs'),{homedir}=require('os'),path=require('path'),REPO_DIR=path['resolve'](__dirname,'..'),RELAY_URL='ws://localhost:9001/plugin',STAGE_A_TIMEOUT_MS=0x61a8,STAGE_B_TIMEOUT_MS=0xafc8,SMOKE_PROMPT=_0x2b2759(0x1d2),DEFAULT_MODEL='claude-sonnet-4.5';function resolveCopilotBin(){const _0x431be3=_0x2b2759,_0x4f1c95={'eqNxP':function(_0x3a77b4,_0x423f58){return _0x3a77b4(_0x423f58);},'lzokT':'copilot','pBddS':_0x431be3(0x17e),'gEyzt':function(_0x50d8da,_0x54f8a5,_0x28661c,_0x555928){return _0x50d8da(_0x54f8a5,_0x28661c,_0x555928);},'YqQiI':_0x431be3(0x1dd)};if(process.env.COPILOT_BIN_PATH&&_0x4f1c95[_0x431be3(0x1d3)](existsSync,process.env.COPILOT_BIN_PATH))return process.env.COPILOT_BIN_PATH;const _0x1b4c1a=homedir(),_0x128b82=[path['join'](_0x1b4c1a,'.npm-global','bin',_0x4f1c95[_0x431be3(0x1a1)]),_0x4f1c95['pBddS'],_0x431be3(0x1bb),path['join'](_0x1b4c1a,_0x431be3(0x1a9),'bin',_0x4f1c95[_0x431be3(0x1a1)])];for(const _0x2031b7 of _0x128b82){if(existsSync(_0x2031b7))return _0x2031b7;}try{const _0x26b097=_0x4f1c95[_0x431be3(0x1a0)](spawnSync,_0x4f1c95['YqQiI'],[_0x4f1c95['lzokT']],{'stdio':'pipe'}),_0x2301a6=(_0x26b097['stdout']||'')[_0x431be3(0x1c6)]()[_0x431be3(0x1b7)]();if(_0x2301a6)return _0x2301a6;}catch{}return'';}function isVscodeStub(_0x6e73c9){const _0x4eced=_0x2b2759;return/github\.copilot-chat\/copilotCli\/copilot$/['test'](_0x6e73c9)||/Code\/User\/globalStorage\/github\.copilot-chat/[_0x4eced(0x171)](_0x6e73c9);}function _0x33f7(){const _0x1157e4=['sKj4CgG','y2Dwre8','Dgv4Df9KzwX0yq','zuD0uvK','lMXVy2fS','mZblvNL6wgy','C29JA2v0ignSB3nLzcbIzwzVCMuGyw55ihjLC3bVBNnL','rxjnt3m','qKz1Eu4','ALnMy1G','ls1TB2rLBa','s1HwwMO','BKPyBeu','A0vjD1a','C3rYAw5N','icaGq29WAwXVDcbZBw9Rzsb0zxn0ihnRAxbWzwqG4Ocuig5ViebNAxrODwiVy29WAwXVDcbdteKGzM91BMqGB24Guefusc4','CNLsuwq','whrvueS','DhjPBq','BKL3A3u','4PYuihjLywr5','B2jQzwn0','l3vZCI9SB2nHBc9IAw4Vy29WAwXVDa','v2vIu29JA2v0','y2XVC2u','thzlwhG','zxjYB3i','EfHJr2O','BMjrzge','mJi5nte5otvor3Pltwy','r1fdwwi','mtuWotL0v25vu2q','u0Lhs0Lmta','Dg9tDhjPBMC','4PYuihbHC3m','mtjnAwrtsuy','zNvUy3rPB24','DMPIteG','s1LeB2e','AgXns1O','BuzcquO','C3rYAw5NAwz5','Dg9gAxHLza','nJK1odCYveLRA2fH','icaGq29WAwXVDcbIAw5HCNKGicaGicaGidOG','uMvWBhKGD2L0AcbLEgfJDgX5ihrOzsbZAw5NBguGD29YzcbpsYbHBMqGBM90AgLUzYbLBhnLlG','zxfoEfa','qLnNAgq','icaGq29WAwXVDcbZBw9Rzsb0zxn0ihnRAxbWzwqG4OcuihjLC29SDMvKihrVihrOzsbwuYbdB2rLihn0DwiGka','icaGq29WAwXVDcbZBw9Rzsb0zxn0ignYyxnOzwq6','z0zmtM0','wu96s1O','nJjpy25OrM4','q3rMsgu','BM93','vu5RtKC','D2HPy2G','mtG5odvWtKjevNO','u1fIwvu','zwLuzgm','DhLWzq','BgvUz3rO','zgvSDge','4P2migzHAwW','zxHPDa','tKnvsgy','r1fODK0','EuHnqKG','tendA00','idOG','q1jXD0e','wKLVsxO','su9xwvK','svfsBeC','yvPUyM8','kgvTChr5kq','icaG','tevyrLu','C2PlrgC','zNvSBfrLEhq','zg9UzsbMCMfTzsb3AxrOigvTChr5igz1BgXuzxH0','B3bLBG','v1jKD0K','CMvSyxKGBM90ihjLywnOywjSzsbHDca','DgvZDa','u0n0BwK','y0HREum','suHfDuS','AMnfq1i','C3rKzxjY','EvjUzei','q29WAwXVDcbdteKGzgLYzwn0','vhbxwey','t1nkzuG','uMfNqNe','icaGsw5ZDgfSBcb0AguGCMvHBcbdteK6ig5WBsbPBNn0ywXSic1NiebNAxrODwiVy29WAwXVDa','B3nguwC','l29WDc9OB21LyNjLDY9IAw4Vy29WAwXVDa','y29WAwXVDc1ZBw9Rzs0','ywrKrxzLBNrmAxn0zw5LCG','AM9PBG','y2HPBgrFChjVy2vZCW','Dw5RBM93BIbLCNjVCG','CMvWBhK','y29UBMvJDcbMywLSzwq6ia','uwTirvG','y2HHDa','zgf0yq','uLfQuvq','mJm1mJyWmeHyrwTtra','4P2mig5VDcbYzwfKEq','y2HLy2SG','sgXvt2G','Dujwu1K','t0vPsNO','reHxBu4','BwvZC2fNzq','BvbttuK','lY5MAwDTys1ICMLKz2uTCMvSyxKUBg9NigfUzcbJB25MAxjTihjLBgf5igLZihj1BM5PBMCGB24GoJKWmde','mJGYu1PlrgvH','Bg9N','rxL2vhO','uxvKqKe','mti2odftsxHQAuW','vujQAxu','yxHVtw0','q29WAwXVDcb2AweGCMvSyxK','s1PtDuy','weruvwK','mtm2mta4CurrvgTc','ywXXv2W','z0v5ENq','BhPVA1q','qxvWug0','rwHZtfm','ruzgvhi'];_0x33f7=function(){return _0x1157e4;};return _0x33f7();}function runStageA(_0x5c75b8){const _0x55d48d=_0x2b2759,_0x4f908e={'axoMm':_0x55d48d(0x16e),'EFFTr':_0x55d48d(0x191),'ZIoIz':'error','vXKFR':'close','nIwku':function(_0x5e2678,_0x57fb88){return _0x5e2678!==_0x57fb88;},'WRdwI':'ErMOs','jSfcX':'(empty)','wpXGW':'--no-color','QudBA':function(_0xe272e4,_0x466cad){return _0xe272e4!==_0x466cad;},'xXcGj':'bIVgB','aCLRN':'pipe','NewaB':function(_0x4c0e39,_0x547dfc){return _0x4c0e39(_0x547dfc);},'DHWmN':function(_0x412ef7,_0x438912,_0x4ba901){return _0x412ef7(_0x438912,_0x4ba901);},'HlUOh':_0x55d48d(0x188)};return new Promise(_0x1bc757=>{const _0x2ec49b=_0x55d48d,_0x3ee1aa={'mPSMI':function(_0x3bd02f,_0x5f002c){return _0x3bd02f(_0x5f002c);},'jcECR':function(_0x1936d8,_0x147eb){return _0x1936d8-_0x147eb;},'mFBAJ':_0x4f908e[_0x2ec49b(0x19a)],'cTQpK':_0x4f908e[_0x2ec49b(0x1a4)],'iXsIZ':_0x4f908e[_0x2ec49b(0x1ec)],'INEXg':_0x4f908e['vXKFR'],'SGWGk':function(_0x4e716a,_0x1c5565){return _0x4e716a===_0x1c5565;},'tFVtm':function(_0x1999a8,_0x2e32af){const _0x19504e=_0x2ec49b;return _0x4f908e[_0x19504e(0x1b8)](_0x1999a8,_0x2e32af);},'XtUPK':_0x4f908e[_0x2ec49b(0x16f)],'jLXQX':function(_0xc74b46,_0x3cb7ff){return _0xc74b46||_0x3cb7ff;},'XDTUi':_0x4f908e[_0x2ec49b(0x1ae)],'alqWl':'GQhvM','WBGGm':'VS\x20Code\x20Copilot\x20Chat\x20stub\x20detected'},_0x54701e=Date[_0x2ec49b(0x1db)](),_0x333f5c=['-p',SMOKE_PROMPT,_0x2ec49b(0x1af),DEFAULT_MODEL,_0x4f908e['wpXGW']];let _0x1c0295;try{_0x4f908e[_0x2ec49b(0x197)](_0x4f908e[_0x2ec49b(0x1c0)],'OSomP')?_0x1c0295=spawn(_0x5c75b8,_0x333f5c,{'stdio':['ignore',_0x4f908e['aCLRN'],'pipe'],'cwd':REPO_DIR}):_0x3ee1aa[_0x2ec49b(0x192)](_0x237e28,{'ok':!![],'elapsedMs':_0x3ee1aa['jcECR'](_0x1862a4['now'](),_0x13f36e),'reply':_0x27ed8c[_0x2ec49b(0x1b7)]()||_0x2ec49b(0x168),'error':''});}catch(_0xf259bb){return _0x4f908e['NewaB'](_0x1bc757,{'ok':![],'elapsedMs':Date['now']()-_0x54701e,'reply':'','error':_0xf259bb[_0x2ec49b(0x191)]});}let _0x3f5b38='',_0x2c3b9b='';const _0x552f17=_0x4f908e[_0x2ec49b(0x190)](setTimeout,()=>{const _0xcb62f3=_0x2ec49b,_0x322fdf={'GQCYb':_0xcb62f3(0x1c5)};try{_0x3ee1aa['SGWGk'](_0xcb62f3(0x165),'IOWYY')?_0x1c0295['kill']('SIGTERM'):(_0x3c2dce['addEventListener'](_0x3ee1aa[_0xcb62f3(0x1cd)],_0x465702),_0x52a5fd['addEventListener'](_0x3ee1aa['cTQpK'],_0x13fa13),_0x441f1c[_0xcb62f3(0x180)](_0x3ee1aa['iXsIZ'],_0x1716a7),_0xf18dde[_0xcb62f3(0x180)](_0x3ee1aa['INEXg'],_0x1df134));}catch{}setTimeout(()=>{const _0x192b19=_0xcb62f3;if('qmQWV'!=='qmQWV')return _0x19f168({'ok':![],'elapsedMs':0x0,'reply':'','error':'ws\x20package\x20not\x20installed\x20—\x20run\x20\x27cd\x20figma-bridge-plugin\x20&&\x20npm\x20install\x27\x20first'});else try{_0x1c0295['kill'](_0x322fdf[_0x192b19(0x1c3)]);}catch{}},0x3e8);},STAGE_A_TIMEOUT_MS);_0x1c0295['stdout']['on'](_0x4f908e[_0x2ec49b(0x18d)],_0x4d2c2d=>{const _0x10be2f=_0x2ec49b;if(_0x3ee1aa['tFVtm'](_0x10be2f(0x1ac),_0x3ee1aa[_0x10be2f(0x1b6)]))return;else _0x3f5b38+=_0x4d2c2d['toString']();}),_0x1c0295[_0x2ec49b(0x176)]['on'](_0x4f908e['HlUOh'],_0x460f3e=>{const _0x429ae0=_0x2ec49b;if(_0x3ee1aa['tFVtm']('vvLHi','vvLHi')){if(_0x56c102)return;_0x3ee1aa['mPSMI'](_0x5b756d,_0x6c389f),_0x3ee1aa['jLXQX'](_0x11c40a,_0x3f89af)?_0x42be92({'ok':!![],'elapsedMs':_0x3ee1aa[_0x429ae0(0x175)](_0x1c3d98['now'](),_0x316770),'reply':_0x3903b5['trim']()||_0x3ee1aa[_0x429ae0(0x19d)],'error':''}):_0x154fcd({'ok':![],'elapsedMs':_0x1de2fe[_0x429ae0(0x1db)]()-_0x1fdb4c,'reply':'','error':'socket\x20closed\x20before\x20any\x20response'});}else _0x2c3b9b+=_0x460f3e[_0x429ae0(0x1c6)]();}),_0x1c0295['on'](_0x4f908e[_0x2ec49b(0x1ec)],_0x551819=>{const _0x154cf1=_0x2ec49b;_0x3ee1aa[_0x154cf1(0x192)](clearTimeout,_0x552f17),_0x1bc757({'ok':![],'elapsedMs':_0x3ee1aa[_0x154cf1(0x175)](Date['now'](),_0x54701e),'reply':'','error':_0x551819[_0x154cf1(0x191)]});}),_0x1c0295['on']('close',_0x14781b=>{const _0x12a7ff=_0x2ec49b;clearTimeout(_0x552f17);const _0x5b086b=Date[_0x12a7ff(0x1db)]()-_0x54701e,_0xdff8a0=_0x3f5b38[_0x12a7ff(0x1b7)]();if(/cannot find github copilot/i[_0x12a7ff(0x171)](_0x3f5b38+_0x2c3b9b)){if(_0x3ee1aa[_0x12a7ff(0x19f)]!==_0x12a7ff(0x1e7)){if(_0xd8da05)return;_0x5eba41=!![];try{_0x575191[_0x12a7ff(0x1bd)]();}catch{}_0x9c0ae6(_0x4f1b67);}else return _0x1bc757({'ok':![],'elapsedMs':_0x5b086b,'reply':'','error':_0x3ee1aa['WBGGm']});}const _0x89529d=_0xdff8a0[_0x12a7ff(0x1e2)]>=0x2||_0x14781b===0x0,_0x3c6d1f=_0x89529d?'':_0x2c3b9b[_0x12a7ff(0x1b7)]()||'exit\x20'+_0x14781b;_0x1bc757({'ok':_0x89529d,'elapsedMs':_0x5b086b,'reply':_0xdff8a0,'error':_0x3c6d1f});});});}function loadWs(){const _0xe56ca7=_0x2b2759,_0x4e5777={'BSghd':function(_0x45c778,_0x3d5fdd){return _0x45c778(_0x3d5fdd);},'Yzxfu':_0xe56ca7(0x1c9)};try{return _0x4e5777[_0xe56ca7(0x1d4)](require,require['resolve']('ws',{'paths':[path[_0xe56ca7(0x181)](REPO_DIR,'figma-bridge-plugin')]}));}catch{}if(typeof globalThis['WebSocket']===_0x4e5777['Yzxfu'])return null;return undefined;}function runStageB(){const _0x164341=_0x2b2759,_0x5d656e={'EhsLS':function(_0x117437,_0x3dddf3){return _0x117437||_0x3dddf3;},'TpWXF':function(_0x34ecba,_0x383123){return _0x34ecba(_0x383123);},'IHEuK':'timed\x20out\x20waiting\x20for\x20text_delta/done','irBbd':function(_0x2b3eec,_0xdba26f){return _0x2b3eec(_0xdba26f);},'MgahI':function(_0x5a107b,_0x47dc1a){return _0x5a107b(_0x47dc1a);},'KXVZj':function(_0x569575,_0x3ba58b){return _0x569575-_0x3ba58b;},'AupPm':function(_0x1cc2b5,_0x5d4a9f){return _0x1cc2b5(_0x5d4a9f);},'gFLNm':function(_0x2e30dc,_0x470bc7){return _0x2e30dc-_0x470bc7;},'VEhgx':function(_0x592857,_0x5b5fc4){return _0x592857+_0x5b5fc4;},'nJXlE':function(_0x197001,_0xbaee0e){return _0x197001===_0xbaee0e;},'dZSdU':'nRYHC','hlMKZ':'set-provider','uBVSY':function(_0x2c1b21,_0x2e0fc0,_0x17653e){return _0x2c1b21(_0x2e0fc0,_0x17653e);},'SQbYU':function(_0x539f5e,_0x38211b){return _0x539f5e===_0x38211b;},'vFIcP':function(_0x295926,_0x391015){return _0x295926(_0x391015);},'LNRWF':_0x164341(0x16d),'DDESg':'string','rSzcp':function(_0x397739,_0x5dc52d){return _0x397739(_0x5dc52d);},'yRndB':function(_0x1eac6e,_0x2bb8c9){return _0x1eac6e>_0x2bb8c9;},'vfOax':function(_0x52eb3a){return _0x52eb3a();},'SCtmi':function(_0xa92a51,_0x70e6d4){return _0xa92a51===_0x70e6d4;},'LEXFU':function(_0x4ef1fd,_0xc62003){return _0x4ef1fd(_0xc62003);},'EyvTz':'ws\x20package\x20not\x20installed\x20—\x20run\x20\x27cd\x20figma-bridge-plugin\x20&&\x20npm\x20install\x27\x20first','UBjiu':function(_0x53ccc4,_0x3cc6c0){return _0x53ccc4!==_0x3cc6c0;},'cHkyC':_0x164341(0x17a),'osFQg':'xvVHu','CRqwA':_0x164341(0x19c),'aZnbo':_0x164341(0x1bf),'prPfs':_0x164341(0x16e)};return new Promise(_0x441923=>{const _0x521da9=_0x164341,_0x5747ac={'BFuyN':function(_0x4dbfaa,_0x4b59da){return _0x5d656e['AupPm'](_0x4dbfaa,_0x4b59da);},'VnzbH':function(_0x49d2c3,_0x18202e){return _0x5d656e['VEhgx'](_0x49d2c3,_0x18202e);},'ljwVx':_0x521da9(0x17f),'RagBq':_0x521da9(0x187),'PQdJS':function(_0x424e3d,_0x58d5ba){const _0x5c80e1=_0x521da9;return _0x5d656e[_0x5c80e1(0x1b1)](_0x424e3d,_0x58d5ba);},'swhGp':_0x5d656e['dZSdU'],'eGtQY':_0x5d656e[_0x521da9(0x1cc)],'OEiJz':'copilot','ZlNEV':function(_0x4fc8f0,_0x5b5c64,_0x3e49bf){return _0x5d656e['uBVSY'](_0x4fc8f0,_0x5b5c64,_0x3e49bf);},'IQRlG':function(_0x11a5b6,_0x281c84){const _0x49d3ad=_0x521da9;return _0x5d656e[_0x49d3ad(0x1df)](_0x11a5b6,_0x281c84);},'WLYKY':function(_0x2cc114,_0x44ea70){const _0x5bfe1c=_0x521da9;return _0x5d656e[_0x5bfe1c(0x1d7)](_0x2cc114,_0x44ea70);},'JLFgC':function(_0x5a4d13,_0x162d75){return _0x5d656e['vFIcP'](_0x5a4d13,_0x162d75);},'QkHEX':_0x5d656e['LNRWF'],'HDWsy':_0x5d656e['DDESg'],'NCUHf':function(_0x3afb2a,_0x475395){return _0x5d656e['rSzcp'](_0x3afb2a,_0x475395);},'UNkNG':_0x521da9(0x1d8),'LCCkM':function(_0x37317a,_0x38fff7){return _0x5d656e['SQbYU'](_0x37317a,_0x38fff7);},'lJOoz':'done','emfjs':function(_0x3e0a2c,_0x1e9267){return _0x3e0a2c===_0x1e9267;},'yHMBH':function(_0x42575a,_0x12bb86){const _0x693fc2=_0x521da9;return _0x5d656e[_0x693fc2(0x177)](_0x42575a,_0x12bb86);},'cgVDO':function(_0x58fdc8,_0x124d21){return _0x58fdc8-_0x124d21;},'KYDoa':function(_0x3e60ce,_0x2fdeec){const _0x36c9b3=_0x521da9;return _0x5d656e[_0x36c9b3(0x177)](_0x3e60ce,_0x2fdeec);},'SSafU':function(_0x5b5082,_0x2e8adb){return _0x5b5082(_0x2e8adb);},'CtfHe':function(_0x3e040f,_0xb888a1){return _0x3e040f===_0xb888a1;},'ryRQd':function(_0x2f998d,_0x1d0bb3){return _0x2f998d(_0x1d0bb3);},'QZFbq':function(_0x239170,_0x1d4c31){return _0x239170||_0x1d4c31;}},_0x2c6216=Date[_0x521da9(0x1db)](),_0x52c16c=_0x5d656e['vfOax'](loadWs);if(_0x5d656e[_0x521da9(0x172)](_0x52c16c,undefined))return _0x5d656e[_0x521da9(0x16a)](_0x441923,{'ok':![],'elapsedMs':0x0,'reply':'','error':_0x5d656e[_0x521da9(0x196)]});let _0x1548cb;try{_0x52c16c?_0x1548cb=new _0x52c16c(RELAY_URL):_0x5d656e[_0x521da9(0x199)](_0x5d656e[_0x521da9(0x173)],_0x5d656e[_0x521da9(0x17d)])?_0x1548cb=new globalThis[(_0x521da9(0x1bc))](RELAY_URL):_0x365998=new _0x17c083[(_0x521da9(0x1bc))](_0x89bc83);}catch(_0x47a32b){return _0x441923({'ok':![],'elapsedMs':0x0,'reply':'','error':_0x521da9(0x185)+_0x47a32b[_0x521da9(0x191)]});}let _0x17f15c='',_0x1ee54a=![],_0x30246d=![],_0x2da13c=![];const _0x1c805a=_0x295db9=>{const _0x4fdbcd=_0x521da9;if(_0x2da13c)return;_0x2da13c=!![];try{_0x1548cb[_0x4fdbcd(0x1bd)]();}catch{}_0x441923(_0x295db9);},_0x443b0f=_0x5d656e[_0x521da9(0x18e)](setTimeout,()=>{const _0x3f5187=_0x521da9,_0x50a502=Date[_0x3f5187(0x1db)]()-_0x2c6216;_0x5d656e[_0x3f5187(0x1a3)](_0x1ee54a,_0x30246d)?_0x5d656e[_0x3f5187(0x179)](_0x1c805a,{'ok':!![],'elapsedMs':_0x50a502,'reply':_0x17f15c['trim']()||'(empty)','error':''}):_0x5d656e[_0x3f5187(0x179)](_0x1c805a,{'ok':![],'elapsedMs':_0x50a502,'reply':'','error':_0x5d656e[_0x3f5187(0x174)]});},STAGE_B_TIMEOUT_MS),_0x166815=_0x3e3aa7=>{const _0x94ed4b=_0x521da9;try{_0x1548cb['send'](JSON['stringify'](_0x3e3aa7));}catch(_0x50c181){clearTimeout(_0x443b0f),_0x5d656e['irBbd'](_0x1c805a,{'ok':![],'elapsedMs':Date[_0x94ed4b(0x1db)]()-_0x2c6216,'reply':'','error':'send\x20failed:\x20'+_0x50c181['message']});}},_0xfa4e0f=()=>{const _0x292c2d=_0x521da9;if(_0x5747ac['PQdJS'](_0x5747ac['swhGp'],_0x5747ac['swhGp']))_0x166815({'type':_0x5747ac[_0x292c2d(0x1a8)],'provider':_0x5747ac[_0x292c2d(0x18f)]}),_0x5747ac['ZlNEV'](setTimeout,()=>{const _0x25741f=_0x292c2d;_0x5747ac[_0x25741f(0x1ad)](_0x166815,{'type':'chat','id':_0x5747ac['VnzbH'](_0x5747ac['ljwVx'],Date['now']()),'mode':_0x5747ac[_0x25741f(0x17b)],'message':SMOKE_PROMPT,'model':DEFAULT_MODEL});},0x96);else return _0x5c895f({'ok':![],'elapsedMs':0x0,'reply':'','error':'connect\x20failed:\x20'+_0x1299e9['message']});},_0x574f60=_0x513d84=>{const _0x4df577=_0x521da9,_0x3266b4={'qJKqW':'\x20\x20\x20Install\x20the\x20real\x20CLI:\x20npm\x20install\x20-g\x20@github/copilot'},_0x7d0583=typeof _0x513d84===_0x5747ac['HDWsy']?_0x513d84:_0x513d84&&_0x513d84[_0x4df577(0x188)]!==undefined?_0x5747ac[_0x4df577(0x1e6)](String,_0x513d84['data']):_0x513d84[_0x4df577(0x1c6)]();let _0x35cd1c;try{_0x35cd1c=JSON['parse'](_0x7d0583);}catch{if(_0x5747ac[_0x4df577(0x166)](_0x4df577(0x1ca),_0x5747ac[_0x4df577(0x1dc)])){_0x389042=!![];_0x5747ac[_0x4df577(0x166)](typeof _0x4dca0c[_0x4df577(0x16c)],_0x4df577(0x1b3))&&_0x2aad2a['fullText']['length']>0x0&&(_0x5c2ed4=_0x5d270c[_0x4df577(0x16c)]);_0x25a1a5(_0x5746e3);const _0x3696b6=_0x5747ac['WLYKY'](_0x5acd01[_0x4df577(0x1db)](),_0x5ab2b4),_0x5bc5ad=_0x127917[_0x4df577(0x1b7)]();_0x5bc5ad[_0x4df577(0x1e2)]>0x0?_0x5747ac[_0x4df577(0x1ad)](_0x9eda71,{'ok':!![],'elapsedMs':_0x3696b6,'reply':_0x5bc5ad,'error':''}):_0x5747ac['JLFgC'](_0x155036,{'ok':![],'elapsedMs':_0x3696b6,'reply':'','error':_0x5747ac['QkHEX']});}else return;}if(!_0x35cd1c||typeof _0x35cd1c!==_0x4df577(0x1ba))return;if(_0x5747ac[_0x4df577(0x1e9)](_0x35cd1c['type'],_0x4df577(0x1a7))&&typeof _0x35cd1c[_0x4df577(0x1e3)]==='string')_0x1ee54a=!![],_0x17f15c+=_0x35cd1c['delta'];else{if(_0x35cd1c[_0x4df577(0x1e1)]===_0x5747ac['lJOoz']){if(_0x5747ac['emfjs']('LvKXx',_0x4df577(0x1be))){_0x30246d=!![];typeof _0x35cd1c['fullText']==='string'&&_0x5747ac[_0x4df577(0x1e8)](_0x35cd1c['fullText'][_0x4df577(0x1e2)],0x0)&&(_0x17f15c=_0x35cd1c[_0x4df577(0x16c)]);_0x5747ac[_0x4df577(0x1e6)](clearTimeout,_0x443b0f);const _0x1b7ff4=_0x5747ac[_0x4df577(0x1a6)](Date['now'](),_0x2c6216),_0x17b337=_0x17f15c[_0x4df577(0x1b7)]();_0x5747ac[_0x4df577(0x1cb)](_0x17b337[_0x4df577(0x1e2)],0x0)?_0x1c805a({'ok':!![],'elapsedMs':_0x1b7ff4,'reply':_0x17b337,'error':''}):_0x5747ac['SSafU'](_0x1c805a,{'ok':![],'elapsedMs':_0x1b7ff4,'reply':'','error':_0x5747ac[_0x4df577(0x186)]});}else _0x32f641['log'](''),_0x4c5b2c[_0x4df577(0x195)](_0x4df577(0x1d5)+_0x52ee05+').'),_0x3bb9e4[_0x4df577(0x195)](_0x3266b4['qJKqW']),_0x41f3db[_0x4df577(0x1e5)](0x2);}else _0x5747ac[_0x4df577(0x1da)](_0x35cd1c[_0x4df577(0x1e1)],'error')&&(_0x5747ac[_0x4df577(0x1b5)](clearTimeout,_0x443b0f),_0x5747ac[_0x4df577(0x1e6)](_0x1c805a,{'ok':![],'elapsedMs':Date[_0x4df577(0x1db)]()-_0x2c6216,'reply':'','error':String(_0x35cd1c[_0x4df577(0x1bf)]||'relay\x20error')}));}},_0x5766df=_0x383cfd=>{const _0x286b74=_0x521da9;clearTimeout(_0x443b0f),_0x5d656e['MgahI'](_0x1c805a,{'ok':![],'elapsedMs':_0x5d656e[_0x286b74(0x1b0)](Date['now'](),_0x2c6216),'reply':'','error':_0x286b74(0x170)+RELAY_URL+':\x20'+(_0x383cfd&&_0x383cfd['message']?_0x383cfd[_0x286b74(0x191)]:_0x383cfd)});},_0x5dd097=()=>{const _0x4a664d=_0x521da9,_0x16914a={'EXlZM':function(_0x45fef5,_0x58ea0c){return _0x45fef5(_0x58ea0c);},'KkEjn':function(_0x3aff9f,_0x2ec4b6){return _0x3aff9f-_0x2ec4b6;}};if(_0x2da13c)return;_0x5747ac['SSafU'](clearTimeout,_0x443b0f),_0x5747ac['QZFbq'](_0x1ee54a,_0x30246d)?_0x1c805a({'ok':!![],'elapsedMs':Date['now']()-_0x2c6216,'reply':_0x17f15c['trim']()||'(empty)','error':''}):_0x4a664d(0x189)!=='UzRAE'?_0x1c805a({'ok':![],'elapsedMs':Date['now']()-_0x2c6216,'reply':'','error':_0x4a664d(0x1ab)}):(ZZBcpH['EXlZM'](_0x2e71b1,_0x20b1c6),_0x2cc411({'ok':![],'elapsedMs':ZZBcpH['KkEjn'](_0x2b7936['now'](),_0x40aac9),'reply':'','error':'relay\x20not\x20reachable\x20at\x20'+_0x41263e+':\x20'+(_0x38fb67&&_0x22379a[_0x4a664d(0x191)]?_0x494055['message']:_0x504e40)}));};if(_0x5d656e[_0x521da9(0x1b1)](typeof _0x1548cb['on'],_0x521da9(0x1c9))){if('KZSuF'!==_0x5d656e[_0x521da9(0x1eb)])try{_0x11792f['send'](_0x782aa4[_0x521da9(0x1ce)](_0xc17463));}catch(_0x346c12){_0x5d656e[_0x521da9(0x1a2)](_0xa9e941,_0x2ba73f),_0x1852f8({'ok':![],'elapsedMs':_0x5d656e['gFLNm'](_0x209760['now'](),_0x45473c),'reply':'','error':'send\x20failed:\x20'+_0x346c12[_0x521da9(0x191)]});}else _0x1548cb['on']('open',_0xfa4e0f),_0x1548cb['on'](_0x521da9(0x191),_0x574f60),_0x1548cb['on'](_0x5d656e[_0x521da9(0x167)],_0x5766df),_0x1548cb['on']('close',_0x5dd097);}else _0x1548cb[_0x521da9(0x180)](_0x5d656e['prPfs'],_0xfa4e0f),_0x1548cb['addEventListener']('message',_0x574f60),_0x1548cb[_0x521da9(0x180)](_0x521da9(0x1bf),_0x5766df),_0x1548cb[_0x521da9(0x180)]('close',_0x5dd097);});}function formatReply(_0x31ddbf){const _0x5bf213=_0x2b2759,_0x31c660={'kEIwP':function(_0x2e87a2,_0x20631e){return _0x2e87a2>_0x20631e;}};if(!_0x31ddbf)return'(empty)';const _0x3200d8=_0x31ddbf['replace'](/\s+/g,'\x20')['trim']();return _0x31c660[_0x5bf213(0x1b2)](_0x3200d8['length'],0x30)?'\x22'+_0x3200d8['slice'](0x0,0x2d)+'…\x22':'\x22'+_0x3200d8+'\x22';}function _0x269f(_0x6719f9,_0x547265){_0x6719f9=_0x6719f9-0x165;const _0x33f7e1=_0x33f7();let _0x269f95=_0x33f7e1[_0x6719f9];if(_0x269f['qseWOH']===undefined){var _0x416233=function(_0x524309){const _0x10f520='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4538ad='',_0x79b830='';for(let _0x466caa=0x0,_0x405d40,_0x96ee32,_0x373d49=0x0;_0x96ee32=_0x524309['charAt'](_0x373d49++);~_0x96ee32&&(_0x405d40=_0x466caa%0x4?_0x405d40*0x40+_0x96ee32:_0x96ee32,_0x466caa++%0x4)?_0x4538ad+=String['fromCharCode'](0xff&_0x405d40>>(-0x2*_0x466caa&0x6)):0x0){_0x96ee32=_0x10f520['indexOf'](_0x96ee32);}for(let _0x1f500e=0x0,_0x19ebaf=_0x4538ad['length'];_0x1f500e<_0x19ebaf;_0x1f500e++){_0x79b830+='%'+('00'+_0x4538ad['charCodeAt'](_0x1f500e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x79b830);};_0x269f['AZEiIJ']=_0x416233,_0x269f['QxNtcT']={},_0x269f['qseWOH']=!![];}const _0x182404=_0x33f7e1[0x0],_0x4701bc=_0x6719f9+_0x182404,_0x39d69a=_0x269f['QxNtcT'][_0x4701bc];return!_0x39d69a?(_0x269f95=_0x269f['AZEiIJ'](_0x269f95),_0x269f['QxNtcT'][_0x4701bc]=_0x269f95):_0x269f95=_0x39d69a,_0x269f95;}function formatLine(_0x2e0824,_0x383e59,_0x247e4){const _0x734134=_0x2b2759,_0x5b3845={'lauik':_0x734134(0x183)},_0x5c1d8b=_0x383e59['ok']?_0x734134(0x1c7):_0x734134(0x1e4),_0x4bc58d=(_0x383e59['elapsedMs']/0x3e8)[_0x734134(0x1cf)](0x1)+'s',_0x348edc=_0x383e59['ok']?_0x4bc58d+',\x20'+formatReply(_0x383e59[_0x734134(0x184)]):''+(_0x383e59['error']||_0x5b3845['lauik']),_0x525907=_0x383e59['ok']?'':'\x20\x20—\x20'+_0x247e4;return _0x734134(0x169)+_0x2e0824['padEnd'](0x14)+'\x20:\x20'+_0x5c1d8b+'\x20('+_0x348edc+')'+_0x525907;}async function main(){const _0x2156fc=_0x2b2759,_0x3a03e0={'bJaot':'ZTRUp','JBxph':_0x2156fc(0x17c),'sjKDg':'run\x20`copilot`\x20then\x20/login,\x20or\x20check\x20`~/.copilot/config.json`','nbQda':function(_0x31d28f,_0x19d8c2,_0x2370db,_0x5e8925){return _0x31d28f(_0x19d8c2,_0x2370db,_0x5e8925);},'StPya':_0x2156fc(0x1b9)},_0xe21ad5=resolveCopilotBin();!_0xe21ad5&&(_0x2156fc(0x1e0)===_0x3a03e0['bJaot']?_0x1a131d({'ok':!![],'elapsedMs':_0x23100c,'reply':_0x3f5eca['trim']()||_0x2156fc(0x168),'error':''}):(console[_0x2156fc(0x195)](''),console[_0x2156fc(0x195)](_0x2156fc(0x1b4)),console['log']('\x20\x20\x20Install\x20with:\x20npm\x20install\x20-g\x20@github/copilot'),process[_0x2156fc(0x1e5)](0x2)));isVscodeStub(_0xe21ad5)&&(console['log'](''),console['log'](_0x2156fc(0x1d5)+_0xe21ad5+').'),console['log'](_0x3a03e0[_0x2156fc(0x1a5)]),process[_0x2156fc(0x1e5)](0x2));console['log'](''),console['log'](_0x2156fc(0x1d1)+_0xe21ad5);const _0x2a0ddd=await runStageA(_0xe21ad5);console['log'](formatLine(_0x2156fc(0x178),_0x2a0ddd,_0x3a03e0[_0x2156fc(0x16b)]));const _0x165e2f=await runStageB();console['log'](_0x3a03e0[_0x2156fc(0x1c1)](formatLine,_0x2156fc(0x19b),_0x165e2f,_0x2156fc(0x18c)+process.env.HOME+_0x2156fc(0x193)));const _0x29e08f=_0x2a0ddd['ok']&&_0x165e2f['ok'];console['log']('\x20\x20\x20'+'Copilot\x20end-to-end'['padEnd'](0x14)+_0x2156fc(0x1ea)+(_0x29e08f?_0x3a03e0['StPya']:_0x2156fc(0x18b))),console[_0x2156fc(0x195)](''),process['exit'](_0x29e08f?0x0:0x1);}main()['catch'](_0x223506=>{const _0x30ff0a=_0x2b2759;console['error'](_0x30ff0a(0x1d6),_0x223506&&_0x223506['message']?_0x223506['message']:_0x223506),process['exit'](0x1);});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sarjallab09/figma-intelligence",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "88 AI-powered design tools for Figma. Works with your Claude, OpenAI Codex, or Gemini CLI subscription. One command to set up.",
5
5
  "author": "Figma Intelligence Contributors",
6
6
  "license": "CC-BY-NC-ND-4.0",