@myagentroam/node 0.9.16 → 0.9.18

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
  /* mar-release-protected */
2
- function _0x1593(){const _0x55eb65=['qvvutW','CNvUBMvY','mM96CMH1DW','zM9Yz2v0tMf0AxzLqwXPyxm','CMvXDwLYzurHDgfIyxnL','DgL0BgvpCMLNAw4','mJi2ntm2rNrkyNvU','CNvUBMvYCW','CMvZB2X2zq','zxH0zxjUywXby3rPDML0Eq','zgvMyxvSDenVBMzPz3vYyxrPB24','CMvZDw1Lzej5rgLYzwn0swq','CMvUyw1LtMf0AxzL','mJHPEg1eC3C','Bwv0ywrHDge','D29YA3nWywnL','ChjVAMvJDgvKuNvUBMvYvgL0Bgu','BgfZDefJDgL2Axr5qxq','q1vtve9n','zgLZy292zxjdB2rLEa','ywXS','uLvotKvs','zgLYzwn0tMf0AxzL','CMvUyw1L','tK9erv9eqvrbqKftrv9vtKfwquLmqujmrq','BwfW','CMvTB3zLu2vZC2LVBG','BMf0AxzLq29UDhjVBa','ChjLC2vUDa','C3rYAw5N','ChjVAMvJDgLVBKzVCK5HDgL2zq','zwzMB3j0','CNvUDgLTzq','DxbKyxrLqwDLBNrtzxnZAw9Uq29UzMLNDxjHDgLVBG','CMvZDw1LrMfPBhvYzurLDgfPBhm','ChjVzhvJDa','BgLZDfDVCMTZCgfJzxm','B3b0Aw9UCW','CMvTzw1Izxi','zgLZy292zxjtzxnZAw9UCW','Bw9KzwW','Cgf0Aa','nZviz0Dgvgi','y3DK','z2v0','zw5ZDxjLuMvZDw1LzenVBMzPz3vYyxrPB24','BgLZDfnLC3nPB25szwnVCMrZ','zMfPBhvYzvrPBwvYCW','BMf0AxzLswrZ','zMLUzefNzw50u2vZC2LVBKj5rxH0zxjUywXtzxnZAw9U','ndK2mZuYzffYzefr','zgf0ywjHC2u','mJu4mZG5mg9wyNHLsG','BMfTzq','ywnJzxnZ','zMXHDe1HCa','z2v0qwDLBNrtzxnZAw9U','uLvotKvsx1voqvzbsuXbqKXf','C2v0','zgLZy292zxi','zM9Yz2v0','y3jLyxrLtwv0ywrHDgfqCM9Qzwn0Aw9U','zMLUza','y29TBwfUzhm','mtGWotiZnMTswevMsG','DgL0Bgu','tufsx01btKfhruq','yxzHAwXHyMXL','CNvUBMvYvgL0Bgu','y2fWywjPBgL0AwvZ','AgfZ','ywr2zxj0AxnLza','ChjVAMvJDa','D29YA3nWywnLswq','y29KzxG','BMf0AxzLqwXPyxnLC0zVCG','rvHurvjoquW','zMLSDgvY','CMvZDw1LzenVBMzPz3vYyxrPB24','BwfUywDLzefSAwfZswq','mtH5uuHgAg0','CMvTB3zLqwDLBNrtzxnZAw9U','zxH0zxjUywXtzxnZAw9Uswq','mtK0odeWmhHvveTsuW','CMvZDw1LrMfPBhvYzxm','v09ss1nqqunfx05pvf9gt1vora','CgLUt3jKzxi','zgLZy292zxjxB3jRC3bHy2u','BgLZDa','ywrK','CgLUBMvKqxq','zgvSzxrL','z2v0v29YA3nWywnL','BM9KzuLK','BwvZC2fNzvjLC3vTzuzHAwX1CMvZ','Axnnyw5Hz2vKuhjVAMvJDgLVBG','CMvZB2X2zun1CNjLBNq','BwfUywDLzezVCK5HDgL2zq','mtqWmdq2sunPEvvj','nJu2ote5Bfbsy09Y','CMvXDwLYzq','y3jLyxrLqwDLBNrtzxnZAw9U','z2v0tMf0AxzLu2vZC2LVBK1LDgfKyxrH','zMXHDa','y3vZDg9TvgL0Bgu','C3rHDgu','z2v0uNvUBMvYrgvMyxvSDhm'];_0x1593=function(){return _0x55eb65;};return _0x1593();}function _0x45d0(_0x300e17,_0x298f3c){_0x300e17=_0x300e17-(-0xa7a+-0x1fc2*0x1+0x26b*0x12);const _0x418717=_0x1593();let _0x31b649=_0x418717[_0x300e17];if(_0x45d0['erMMUO']===undefined){var _0x3869b4=function(_0x205dfe){const _0x5651a4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x42e793='',_0xe62729='';for(let _0x400dd8=-0x1*-0x1f75+-0xe54+-0x1121,_0x335646,_0x114c91,_0x502525=-0x1*-0x255f+-0x1fc0+0x59f*-0x1;_0x114c91=_0x205dfe['charAt'](_0x502525++);~_0x114c91&&(_0x335646=_0x400dd8%(0x13f3+-0x12e+-0x12c1)?_0x335646*(-0x81d+-0x1975+0x21d2)+_0x114c91:_0x114c91,_0x400dd8++%(-0x19ab+0x2203+0x52*-0x1a))?_0x42e793+=String['fromCharCode'](-0x3a7*0x3+-0x2*0xbe9+-0xf1*-0x26&_0x335646>>(-(-0x3*-0xbd1+0x13c*0xe+0xb*-0x4cb)*_0x400dd8&0x2*-0xfd3+0x1e0d+0x19f)):-0x1f85+-0x1*0xbeb+-0x2b70*-0x1){_0x114c91=_0x5651a4['indexOf'](_0x114c91);}for(let _0x367e1d=-0x1f0b*0x1+-0x1db5*0x1+-0x2*-0x1e60,_0x487d68=_0x42e793['length'];_0x367e1d<_0x487d68;_0x367e1d++){_0xe62729+='%'+('00'+_0x42e793['charCodeAt'](_0x367e1d)['toString'](0x4*-0x783+-0x3a*-0x16+-0x60*-0x43))['slice'](-(0x1f1b*-0x1+-0x1c86+0x3ba3));}return decodeURIComponent(_0xe62729);};_0x45d0['pgCiyk']=_0x3869b4,_0x45d0['fdtqkJ']={},_0x45d0['erMMUO']=!![];}const _0x41f651=_0x418717[-0x1c59*0x1+-0x1c86*-0x1+-0x2d];_0x45d0['zEydmS']!==_0x41f651&&(_0x45d0['fdtqkJ']={},_0x45d0['zEydmS']=_0x41f651);const _0x225103=_0x45d0['fdtqkJ'][_0x300e17];return _0x225103===undefined?(_0x31b649=_0x45d0['pgCiyk'](_0x31b649),_0x45d0['fdtqkJ'][_0x300e17]=_0x31b649):_0x31b649=_0x225103,_0x31b649;}const _0x59c779=_0x45d0;(function(_0x1bf4be,_0x1134ef){const _0x3bbd00=_0x45d0,_0x4f3506=_0x1bf4be();while(!![]){try{const _0x57493b=-parseInt(_0x3bbd00(0x14e))/(0x4*0x45e+0x18ed+-0x1*0x2a64)*(-parseInt(_0x3bbd00(0x158))/(0x59*0x6d+-0x541*-0x1+-0x2b24*0x1))+parseInt(_0x3bbd00(0x14d))/(0xd87+-0x2152*-0x1+-0x2ed6)*(parseInt(_0x3bbd00(0x163))/(-0x6f5*0x4+-0xdf*0x2+0x1d96))+-parseInt(_0x3bbd00(0x180))/(-0x23e6+0x7b6+-0x1c35*-0x1)*(parseInt(_0x3bbd00(0x15c))/(0x1*-0x36+-0x126d+-0x1*-0x12a9))+parseInt(_0x3bbd00(0x1a9))/(-0x66*0x22+-0xc31*-0x1+0x162)+parseInt(_0x3bbd00(0x188))/(0x1e90+-0xa*-0x38a+-0x1*0x41ec)+-parseInt(_0x3bbd00(0x1a6))/(0x7*0x3ab+0x2563+-0x5*0xc9b)*(parseInt(_0x3bbd00(0x18a))/(-0x29*-0xdf+0x158b+-0x3938))+parseInt(_0x3bbd00(0x196))/(-0x17d*0x19+-0x7*0x14b+0x2e4d);if(_0x57493b===_0x1134ef)break;else _0x4f3506['push'](_0x4f3506['shift']());}catch(_0x10b726){_0x4f3506['push'](_0x4f3506['shift']());}}}(_0x1593,-0x2*0xb006+-0x15*-0x79ef+-0x270fc));import{deduplicateDirectSessions}from'../util/runner-native-session-parsers.js';export class NativeSessionProjectionService{[_0x59c779(0x17b)];constructor(_0x16db76){const _0x255067=_0x59c779;this[_0x255067(0x17b)]=_0x16db76;}async[_0x59c779(0x191)](_0x1f9e70,_0x25c8b6){const _0x71c432=_0x59c779,_0x109eab=this[_0x71c432(0x15a)](),_0x10ed76=_0x25c8b6===undefined?undefined:_0x109eab[_0x71c432(0x1b2)](_0x25c8b6);if(_0x25c8b6!==undefined&&_0x10ed76===undefined)throw new Error(_0x71c432(0x1ab));const _0x424043=this[_0x71c432(0x17b)][_0x71c432(0x15d)][_0x71c432(0x179)](_0x1f9e70);if(_0x424043===undefined||!_0x424043[_0x71c432(0x199)](this[_0x71c432(0x17b)][_0x71c432(0x19b)]()))throw new Error(_0x71c432(0x18f));const _0x1639f3=await _0x424043[_0x71c432(0x17d)]({'workspaces':_0x109eab[_0x71c432(0x17a)](),'createProjection':_0x593325=>this[_0x71c432(0x19e)](_0x593325)},_0x10ed76),_0x105bc7=deduplicateDirectSessions(_0x1639f3);return this[_0x71c432(0x17c)](_0x105bc7),_0x105bc7;}async[_0x59c779(0x169)](_0x1072d4){const _0x23c420=_0x59c779,_0x1f8ca7=await this[_0x23c420(0x191)](_0x23c420(0x1a0),_0x1072d4);return{'sessions':_0x1f8ca7[_0x23c420(0x16f)](this[_0x23c420(0x17b)][_0x23c420(0x172)])};}async[_0x59c779(0x1ae)](){const _0x3d29ee=_0x59c779,_0x5978a3=await Promise[_0x3d29ee(0x16a)](this[_0x3d29ee(0x17b)][_0x3d29ee(0x15d)][_0x3d29ee(0x19d)]()[_0x3d29ee(0x1a3)](_0x225029=>_0x225029[_0x3d29ee(0x199)](this[_0x3d29ee(0x17b)][_0x3d29ee(0x19b)]()))[_0x3d29ee(0x16f)](_0x129d39=>this[_0x3d29ee(0x191)](_0x129d39[_0x3d29ee(0x18b)]))),_0x4f6866=deduplicateDirectSessions(_0x5978a3[_0x3d29ee(0x152)]());return this[_0x3d29ee(0x17c)](_0x4f6866),_0x4f6866[_0x3d29ee(0x16f)](this[_0x3d29ee(0x17b)][_0x3d29ee(0x172)]);}async[_0x59c779(0x1ad)](_0x432282){const _0x194174=_0x59c779,_0x56bf6c=await Promise[_0x194174(0x16a)](this[_0x194174(0x17b)][_0x194174(0x15d)][_0x194174(0x19d)]()[_0x194174(0x1a3)](_0x1adc15=>_0x1adc15[_0x194174(0x199)](this[_0x194174(0x17b)][_0x194174(0x19b)]()))[_0x194174(0x16f)](_0x5a3a59=>this[_0x194174(0x191)](_0x5a3a59[_0x194174(0x18b)],_0x432282))),_0x5d7166=deduplicateDirectSessions(_0x56bf6c[_0x194174(0x152)]());return this[_0x194174(0x17c)](_0x5d7166),_0x5d7166;}async[_0x59c779(0x15e)](_0x1208b7){const _0x5c9ad6=_0x59c779,_0x5af512=this[_0x5c9ad6(0x17b)][_0x5c9ad6(0x154)][_0x5c9ad6(0x16c)][_0x5c9ad6(0x182)](_0x1208b7);if(_0x5af512!==undefined)return _0x5af512;const _0x44c752=(await this[_0x5c9ad6(0x1ae)]())[_0x5c9ad6(0x194)](_0x4ff38f=>_0x4ff38f['id']===_0x1208b7);if(_0x44c752!==undefined)return _0x44c752;const _0x3fefaa=this[_0x5c9ad6(0x17b)][_0x5c9ad6(0x189)](),_0x2be98c=_0x3fefaa?.[_0x5c9ad6(0x17a)]()[_0x5c9ad6(0x18d)](_0x4376c8=>_0x3fefaa[_0x5c9ad6(0x184)](_0x4376c8['id']))[_0x5c9ad6(0x194)](_0x3e2cc1=>_0x3e2cc1['id']===_0x1208b7);if(_0x2be98c===undefined)return undefined;const _0x45f26a=_0x3fefaa?.[_0x5c9ad6(0x1b2)](_0x2be98c[_0x5c9ad6(0x19f)]);if(_0x45f26a===undefined)return undefined;return{'id':_0x2be98c['id'],'nodeId':this[_0x5c9ad6(0x17b)][_0x5c9ad6(0x1b3)](),'workspaceId':_0x2be98c[_0x5c9ad6(0x19f)],'runner':_0x2be98c[_0x5c9ad6(0x157)],'externalSessionId':_0x2be98c['id'],'nativeControl':_0x5c9ad6(0x1a2),'channelToken':null,'cwd':_0x45f26a[_0x5c9ad6(0x17f)],'model':_0x2be98c[_0x5c9ad6(0x164)][_0x5c9ad6(0x17e)],'effort':_0x2be98c[_0x5c9ad6(0x164)][_0x5c9ad6(0x175)],'access':_0x2be98c[_0x5c9ad6(0x164)][_0x5c9ad6(0x18c)],'customTitle':_0x2be98c[_0x5c9ad6(0x164)][_0x5c9ad6(0x153)],'runnerTitle':_0x2be98c[_0x5c9ad6(0x164)][_0x5c9ad6(0x19a)],'pinnedAt':_0x2be98c[_0x5c9ad6(0x1ac)]===null?null:-0x120+-0x22de*0x1+-0x1*-0x23ff,'pinOrder':_0x2be98c[_0x5c9ad6(0x1ac)],'externalDiscovered':![],'titleSource':_0x2be98c[_0x5c9ad6(0x164)][_0x5c9ad6(0x153)]===null?_0x5c9ad6(0x16b):_0x5c9ad6(0x168),'lastActivityAt':0x0,'createdAt':0x0};}async[_0x59c779(0x14b)](_0x90fd56){const _0x37e630=_0x59c779,_0x545dda=await this[_0x37e630(0x15e)](_0x90fd56);return _0x545dda===undefined?undefined:this[_0x37e630(0x174)](_0x545dda)??_0x545dda;}async[_0x59c779(0x193)](_0x5bc2b5){const _0x5c9525=_0x59c779,_0x431fad=await this[_0x5c9525(0x15e)](_0x5bc2b5);if(_0x431fad===undefined||_0x431fad[_0x5c9525(0x1a8)]===null)return undefined;const _0x255ff2=this[_0x5c9525(0x17b)][_0x5c9525(0x176)][_0x5c9525(0x187)](_0x431fad[_0x5c9525(0x157)],_0x431fad[_0x5c9525(0x1a8)]);if(_0x255ff2!==undefined&&_0x255ff2[_0x5c9525(0x19f)]===_0x431fad[_0x5c9525(0x19f)])return _0x255ff2;return this[_0x5c9525(0x17b)][_0x5c9525(0x176)][_0x5c9525(0x150)]({'workspaceId':_0x431fad[_0x5c9525(0x19f)],'runner':_0x431fad[_0x5c9525(0x157)],'externalSessionId':_0x431fad[_0x5c9525(0x1a8)],'nativeControl':_0x5c9525(0x1a2),'cwd':_0x431fad[_0x5c9525(0x181)],..._0x431fad[_0x5c9525(0x19a)]===null?{}:{'title':_0x431fad[_0x5c9525(0x19a)]}});}[_0x59c779(0x1a4)](_0x1c3ff3){const _0x2a0b47=_0x59c779,_0x93819a=this[_0x2a0b47(0x17b)][_0x2a0b47(0x189)]()?.[_0x2a0b47(0x1b2)](_0x1c3ff3[_0x2a0b47(0x19f)]),_0x212450={'runner':_0x1c3ff3[_0x2a0b47(0x157)],'model':_0x1c3ff3[_0x2a0b47(0x17e)],'effort':_0x1c3ff3[_0x2a0b47(0x175)],'access':_0x1c3ff3[_0x2a0b47(0x18c)]};if(typeof _0x212450[_0x2a0b47(0x17e)]===_0x2a0b47(0x173)&&typeof _0x212450[_0x2a0b47(0x175)]===_0x2a0b47(0x173)&&typeof _0x212450[_0x2a0b47(0x18c)]===_0x2a0b47(0x173))return _0x212450;const _0x2648f0=this[_0x2a0b47(0x17b)][_0x2a0b47(0x189)]()?.[_0x2a0b47(0x155)]()[_0x2a0b47(0x194)](_0x36ee66=>_0x36ee66[_0x2a0b47(0x157)]===_0x1c3ff3[_0x2a0b47(0x157)]);return _0x2648f0??this[_0x2a0b47(0x17b)][_0x2a0b47(0x15d)][_0x2a0b47(0x14f)](_0x1c3ff3[_0x2a0b47(0x157)])[_0x2a0b47(0x160)](_0x93819a);}[_0x59c779(0x183)](_0x2ca470){const _0x1789cb=_0x59c779,_0x307fa5=this[_0x1789cb(0x1a4)](_0x2ca470);if(_0x2ca470[_0x1789cb(0x17e)]===_0x307fa5[_0x1789cb(0x17e)]&&_0x2ca470[_0x1789cb(0x175)]===_0x307fa5[_0x1789cb(0x175)]&&_0x2ca470[_0x1789cb(0x18c)]===_0x307fa5[_0x1789cb(0x18c)])return _0x2ca470;return this[_0x1789cb(0x17b)][_0x1789cb(0x176)][_0x1789cb(0x177)]({'sessionId':_0x2ca470['id'],'model':_0x307fa5[_0x1789cb(0x17e)],'effort':_0x307fa5[_0x1789cb(0x175)],'access':_0x307fa5[_0x1789cb(0x18c)]});}async[_0x59c779(0x16d)](_0x196509,_0x9cd026){const _0x1262e9=_0x59c779;if(_0x196509[_0x1262e9(0x1a8)]===null)return;await this[_0x1262e9(0x17b)][_0x1262e9(0x15d)][_0x1262e9(0x14f)](_0x196509[_0x1262e9(0x157)])[_0x1262e9(0x162)](_0x196509,_0x9cd026,this[_0x1262e9(0x15a)]());}[_0x59c779(0x19e)](_0xb6ea83){const _0x52f7a0=_0x59c779,_0x3b653e=_0xb6ea83[_0x52f7a0(0x167)]??0x4b*-0x3c+0x26a0+-0x150c,_0x7c79d8=this[_0x52f7a0(0x17b)][_0x52f7a0(0x189)](),_0x36d91d=_0x7c79d8?.[_0x52f7a0(0x151)](_0xb6ea83[_0x52f7a0(0x157)],_0xb6ea83[_0x52f7a0(0x1a8)],_0xb6ea83[_0x52f7a0(0x165)]['id']),_0x28732a=this[_0x52f7a0(0x17b)][_0x52f7a0(0x15d)][_0x52f7a0(0x14f)](_0xb6ea83[_0x52f7a0(0x157)])[_0x52f7a0(0x166)](_0x36d91d,{'externalSessionId':_0xb6ea83[_0x52f7a0(0x1a8)],'workspaceId':_0xb6ea83[_0x52f7a0(0x165)]['id'],..._0xb6ea83[_0x52f7a0(0x197)]===undefined?{}:{'title':_0xb6ea83[_0x52f7a0(0x197)]},..._0xb6ea83[_0x52f7a0(0x15b)]===undefined?{}:{'titleOrigin':_0xb6ea83[_0x52f7a0(0x15b)]}},_0x7c79d8);return{'id':_0xb6ea83[_0x52f7a0(0x1a8)],'nodeId':this[_0x52f7a0(0x17b)][_0x52f7a0(0x1b3)](),'workspaceId':_0xb6ea83[_0x52f7a0(0x165)]['id'],'runner':_0xb6ea83[_0x52f7a0(0x157)],'externalSessionId':_0xb6ea83[_0x52f7a0(0x1a8)],'nativeControl':_0x52f7a0(0x1a2),'channelToken':null,'cwd':_0xb6ea83[_0x52f7a0(0x181)],'model':_0x36d91d?.[_0x52f7a0(0x17e)]??null,'effort':_0x36d91d?.[_0x52f7a0(0x175)]??null,'access':_0x36d91d?.[_0x52f7a0(0x18c)]??null,'customTitle':_0x36d91d?.[_0x52f7a0(0x153)]??null,'runnerTitle':_0x28732a,'pinnedAt':_0x36d91d?.[_0x52f7a0(0x1b0)]??null,'pinOrder':_0x36d91d?.[_0x52f7a0(0x1ac)]??null,'externalDiscovered':!![],'titleSource':_0x36d91d?.[_0x52f7a0(0x153)]===null||_0x36d91d?.[_0x52f7a0(0x153)]===undefined?_0x28732a===null?_0x52f7a0(0x156):_0x52f7a0(0x16b):_0x52f7a0(0x168),'lastActivityAt':_0x3b653e,'createdAt':_0x3b653e};}[_0x59c779(0x17c)](_0x381f84){const _0x382cba=_0x59c779;for(const _0x2de2c7 of _0x381f84)this[_0x382cba(0x17b)][_0x382cba(0x154)][_0x382cba(0x16c)][_0x382cba(0x190)](_0x2de2c7['id'],_0x2de2c7);}[_0x59c779(0x174)](_0xb04722){const _0x5381d0=_0x59c779;if(_0xb04722[_0x5381d0(0x1a8)]===null)return undefined;const _0x35c5e1=this[_0x5381d0(0x17b)][_0x5381d0(0x176)][_0x5381d0(0x187)](_0xb04722[_0x5381d0(0x157)],_0xb04722[_0x5381d0(0x1a8)]);if(_0x35c5e1!==undefined&&_0x35c5e1[_0x5381d0(0x157)]===_0xb04722[_0x5381d0(0x157)]&&_0x35c5e1[_0x5381d0(0x19f)]===_0xb04722[_0x5381d0(0x19f)]&&_0x35c5e1[_0x5381d0(0x1a8)]===_0xb04722[_0x5381d0(0x1a8)])return _0x35c5e1;return this[_0x5381d0(0x14c)](_0xb04722);}[_0x59c779(0x14c)](_0x3fe93f){const _0x40bd8e=_0x59c779;if(_0x3fe93f[_0x40bd8e(0x1a8)]===null)return undefined;const _0x3cc5d5=this[_0x40bd8e(0x17b)][_0x40bd8e(0x176)][_0x40bd8e(0x187)](_0x3fe93f[_0x40bd8e(0x157)],_0x3fe93f[_0x40bd8e(0x1a8)]);if(this[_0x40bd8e(0x14a)](_0x3cc5d5,_0x3fe93f,![]))return _0x3cc5d5;const _0x36baf9=this[_0x40bd8e(0x17b)][_0x40bd8e(0x15d)][_0x40bd8e(0x14f)](_0x3fe93f[_0x40bd8e(0x157)])[_0x40bd8e(0x1a5)](_0x3fe93f[_0x40bd8e(0x1a8)]),_0x10f24a=_0x36baf9===undefined?undefined:this[_0x40bd8e(0x17b)][_0x40bd8e(0x176)][_0x40bd8e(0x18e)](_0x36baf9);return this[_0x40bd8e(0x14a)](_0x10f24a,_0x3fe93f,!![])?_0x10f24a:undefined;}[_0x59c779(0x186)](_0x563a7a){const _0x4faaac=_0x59c779,_0x16f593=new Set();if(_0x563a7a[_0x4faaac(0x1a8)]!==null)_0x16f593[_0x4faaac(0x1af)](_0x563a7a[_0x4faaac(0x1a8)]);for(const _0x9b943c of this[_0x4faaac(0x17b)][_0x4faaac(0x15d)][_0x4faaac(0x14f)](_0x563a7a[_0x4faaac(0x157)])[_0x4faaac(0x1a1)](_0x563a7a['id']))_0x16f593[_0x4faaac(0x1af)](_0x9b943c);return _0x16f593;}[_0x59c779(0x192)](_0xce058f,_0x37e9c0){const _0x5bd55d=_0x59c779;if(_0xce058f[_0x5bd55d(0x1a8)]===null)return;const _0x555b89=new Set([_0xce058f['id']]),_0x1dc874=new Set(_0x37e9c0),_0x1ed5ca=this[_0x5bd55d(0x17b)][_0x5bd55d(0x15d)][_0x5bd55d(0x14f)](_0xce058f[_0x5bd55d(0x157)]);for(const _0xd16ec6 of _0x1ed5ca[_0x5bd55d(0x1a1)](_0xce058f['id'])){const _0x52805e=_0x1ed5ca[_0x5bd55d(0x1a5)](_0xd16ec6);_0x52805e!==undefined&&(_0x1dc874[_0x5bd55d(0x19c)](_0xd16ec6)||_0x52805e===_0xce058f['id'])&&(_0x555b89[_0x5bd55d(0x1af)](_0x52805e),_0x1dc874[_0x5bd55d(0x1af)](_0xd16ec6),_0x1ed5ca[_0x5bd55d(0x159)](_0xd16ec6));}for(const [_0x57d964,_0x86957]of this[_0x5bd55d(0x17b)][_0x5bd55d(0x154)][_0x5bd55d(0x16c)]){if(_0x86957[_0x5bd55d(0x157)]===_0xce058f[_0x5bd55d(0x157)]&&_0x86957[_0x5bd55d(0x181)]===_0xce058f[_0x5bd55d(0x181)]&&_0x86957[_0x5bd55d(0x1a8)]!==null&&_0x1dc874[_0x5bd55d(0x19c)](_0x86957[_0x5bd55d(0x1a8)])){this[_0x5bd55d(0x17b)][_0x5bd55d(0x154)][_0x5bd55d(0x16c)][_0x5bd55d(0x1b1)](_0x57d964),this[_0x5bd55d(0x17b)][_0x5bd55d(0x154)][_0x5bd55d(0x15f)][_0x5bd55d(0x1b1)](_0x57d964),this[_0x5bd55d(0x17b)][_0x5bd55d(0x154)][_0x5bd55d(0x161)][_0x5bd55d(0x1b1)](_0x57d964),this[_0x5bd55d(0x17b)][_0x5bd55d(0x154)][_0x5bd55d(0x1aa)][_0x5bd55d(0x1b1)](_0x57d964),this[_0x5bd55d(0x17b)][_0x5bd55d(0x154)][_0x5bd55d(0x1b4)][_0x5bd55d(0x1b1)](_0x57d964),this[_0x5bd55d(0x17b)][_0x5bd55d(0x154)][_0x5bd55d(0x178)][_0x5bd55d(0x1b1)](_0x57d964);const _0x324431=this[_0x5bd55d(0x17b)][_0x5bd55d(0x154)][_0x5bd55d(0x185)][_0x5bd55d(0x182)](_0x57d964);if(_0x324431!==undefined)clearTimeout(_0x324431);this[_0x5bd55d(0x17b)][_0x5bd55d(0x154)][_0x5bd55d(0x185)][_0x5bd55d(0x1b1)](_0x57d964);}}for(const [_0x5583bb,_0x7ace0e]of this[_0x5bd55d(0x17b)][_0x5bd55d(0x154)][_0x5bd55d(0x161)])if(_0x555b89[_0x5bd55d(0x19c)](_0x7ace0e))this[_0x5bd55d(0x17b)][_0x5bd55d(0x154)][_0x5bd55d(0x161)][_0x5bd55d(0x1b1)](_0x5583bb);for(const _0x300e17 of _0x555b89){if(this[_0x5bd55d(0x17b)][_0x5bd55d(0x176)][_0x5bd55d(0x18e)](_0x300e17)!==undefined)this[_0x5bd55d(0x17b)][_0x5bd55d(0x176)][_0x5bd55d(0x1a7)](_0x300e17);this[_0x5bd55d(0x17b)][_0x5bd55d(0x195)][_0x5bd55d(0x170)](_0x300e17),this[_0x5bd55d(0x17b)][_0x5bd55d(0x154)][_0x5bd55d(0x15f)][_0x5bd55d(0x1b1)](_0x300e17);}}[_0x59c779(0x14a)](_0x298f3c,_0x418717,_0x31b649){const _0x5f1452=_0x59c779,_0x3869b4=_0x298f3c?.[_0x5f1452(0x1a8)]===_0x418717[_0x5f1452(0x1a8)],_0x41f651=_0x31b649&&this[_0x5f1452(0x17b)][_0x5f1452(0x15d)][_0x5f1452(0x14f)](_0x418717[_0x5f1452(0x157)])[_0x5f1452(0x1a5)](_0x418717[_0x5f1452(0x1a8)]??'')===_0x298f3c?.['id'];return _0x298f3c!==undefined&&_0x298f3c[_0x5f1452(0x171)]===_0x5f1452(0x198)&&_0x298f3c[_0x5f1452(0x157)]===_0x418717[_0x5f1452(0x157)]&&_0x298f3c[_0x5f1452(0x19f)]===_0x418717[_0x5f1452(0x19f)]&&(_0x3869b4||_0x41f651);}[_0x59c779(0x15a)](){const _0x197ffb=_0x59c779,_0x225103=this[_0x197ffb(0x17b)][_0x197ffb(0x189)]();if(_0x225103===undefined)throw new Error(_0x197ffb(0x16e));return _0x225103;}}
2
+ const _0x21f6cf=_0x4e2c;(function(_0x69cee6,_0x1627c3){const _0x10bbd4=_0x4e2c,_0x446b53=_0x69cee6();while(!![]){try{const _0x1d7a40=parseInt(_0x10bbd4(0xfe))/(0xc1b*-0x2+-0x99a*-0x1+0xe9d)*(-parseInt(_0x10bbd4(0xca))/(0x1756*-0x1+0x13c*0x1f+-0xeec))+-parseInt(_0x10bbd4(0xbf))/(-0xd*-0x87+0xcd6+-0x13ae)+parseInt(_0x10bbd4(0xc8))/(0x62*0x60+0x1*0xadd+0x2f99*-0x1)+-parseInt(_0x10bbd4(0xf3))/(-0x899+-0x133*-0xe+-0x82c)+-parseInt(_0x10bbd4(0x10a))/(0x45a+0xc*-0x33f+0x22a0)*(parseInt(_0x10bbd4(0xf0))/(0x52*0x2c+0x1*-0x154c+0x73b))+-parseInt(_0x10bbd4(0xce))/(0xb3*-0x2e+0x3*-0x5c+0x10a3*0x2)+parseInt(_0x10bbd4(0xec))/(0x871+0x5*-0x2a1+-0x4bd*-0x1)*(parseInt(_0x10bbd4(0xb8))/(0x1*-0x23bb+0x409+0x1fbc));if(_0x1d7a40===_0x1627c3)break;else _0x446b53['push'](_0x446b53['shift']());}catch(_0x568e58){_0x446b53['push'](_0x446b53['shift']());}}}(_0x2ddc,-0x8b7bf*0x1+0x1d0a*-0x13+-0x7*-0x285a9));import{deduplicateDirectSessions}from'../util/runner-native-session-parsers.js';export class NativeSessionProjectionService{[_0x21f6cf(0xf2)];constructor(_0x1e6a53){const _0xe71ff6=_0x21f6cf;this[_0xe71ff6(0xf2)]=_0x1e6a53;}async[_0x21f6cf(0xfd)](_0x1f752e,_0x9f1e91){const _0x5eb031=_0x21f6cf,_0x2ce304=this[_0x5eb031(0xdb)](),_0x70aaf6=_0x9f1e91===undefined?undefined:_0x2ce304[_0x5eb031(0xf4)](_0x9f1e91);if(_0x9f1e91!==undefined&&_0x70aaf6===undefined)throw new Error(_0x5eb031(0xcf));const _0x3ef2d8=this[_0x5eb031(0xf2)][_0x5eb031(0xbc)][_0x5eb031(0x118)](_0x1f752e);if(_0x3ef2d8===undefined||!_0x3ef2d8[_0x5eb031(0xd8)](this[_0x5eb031(0xf2)][_0x5eb031(0x107)]()))throw new Error(_0x5eb031(0x11d));const _0x1cd8d0=await _0x3ef2d8[_0x5eb031(0x105)]({'workspaces':_0x2ce304[_0x5eb031(0x109)](),'createProjection':_0x1d4e03=>this[_0x5eb031(0xcb)](_0x1d4e03)},_0x70aaf6),_0x4cffc3=deduplicateDirectSessions(_0x1cd8d0);return this[_0x5eb031(0xba)](_0x4cffc3),_0x4cffc3;}async[_0x21f6cf(0x11e)](_0x582cb6){const _0xc4b2af=_0x21f6cf,_0x51cffb=await this[_0xc4b2af(0xfd)](_0xc4b2af(0x113),_0x582cb6);return{'sessions':_0x51cffb[_0xc4b2af(0xda)](this[_0xc4b2af(0xf2)][_0xc4b2af(0xe7)])};}async[_0x21f6cf(0xc0)](){const _0x1d7a29=_0x21f6cf,_0x2cf222=await Promise[_0x1d7a29(0xd1)](this[_0x1d7a29(0xf2)][_0x1d7a29(0xbc)][_0x1d7a29(0xf1)]()[_0x1d7a29(0x10e)](_0x2bc2da=>_0x2bc2da[_0x1d7a29(0xd8)](this[_0x1d7a29(0xf2)][_0x1d7a29(0x107)]()))[_0x1d7a29(0xda)](_0x1176e2=>this[_0x1d7a29(0xfd)](_0x1176e2[_0x1d7a29(0xd3)]))),_0x3a68df=deduplicateDirectSessions(_0x2cf222[_0x1d7a29(0xbd)]());return this[_0x1d7a29(0xba)](_0x3a68df),_0x3a68df[_0x1d7a29(0xda)](this[_0x1d7a29(0xf2)][_0x1d7a29(0xe7)]);}async[_0x21f6cf(0xe1)](_0x16e6bd){const _0x2ec26a=_0x21f6cf,_0x5136db=await Promise[_0x2ec26a(0xd1)](this[_0x2ec26a(0xf2)][_0x2ec26a(0xbc)][_0x2ec26a(0xf1)]()[_0x2ec26a(0x10e)](_0xc13c7c=>_0xc13c7c[_0x2ec26a(0xd8)](this[_0x2ec26a(0xf2)][_0x2ec26a(0x107)]()))[_0x2ec26a(0xda)](_0x19e4e1=>this[_0x2ec26a(0xfd)](_0x19e4e1[_0x2ec26a(0xd3)],_0x16e6bd))),_0x5cf071=deduplicateDirectSessions(_0x5136db[_0x2ec26a(0xbd)]());return this[_0x2ec26a(0xba)](_0x5cf071),_0x5cf071;}async[_0x21f6cf(0xdf)](_0x516556){const _0x327e53=_0x21f6cf,_0x48e994=this[_0x327e53(0xf2)][_0x327e53(0xcd)][_0x327e53(0xb6)][_0x327e53(0x10f)](_0x516556);if(_0x48e994!==undefined)return _0x48e994;const _0x2a8c53=(await this[_0x327e53(0xc0)]())[_0x327e53(0xf5)](_0x214415=>_0x214415['id']===_0x516556);if(_0x2a8c53!==undefined)return _0x2a8c53;const _0x679a38=this[_0x327e53(0xf2)][_0x327e53(0xe6)](),_0x493b84=_0x679a38?.[_0x327e53(0x109)]()[_0x327e53(0xe8)](_0x5bf8ff=>_0x679a38[_0x327e53(0xd6)](_0x5bf8ff['id']))[_0x327e53(0xf5)](_0x2cbbfb=>_0x2cbbfb['id']===_0x516556);if(_0x493b84===undefined)return undefined;const _0x30123c=_0x679a38?.[_0x327e53(0xf4)](_0x493b84[_0x327e53(0xeb)]);if(_0x30123c===undefined)return undefined;return{'id':_0x493b84['id'],'nodeId':this[_0x327e53(0xf2)][_0x327e53(0xfa)](),'workspaceId':_0x493b84[_0x327e53(0xeb)],'runner':_0x493b84[_0x327e53(0xf8)],'externalSessionId':_0x493b84['id'],'nativeControl':_0x327e53(0x11b),'channelToken':null,'cwd':_0x30123c[_0x327e53(0x10d)],'model':_0x493b84[_0x327e53(0x100)][_0x327e53(0x101)],'effort':_0x493b84[_0x327e53(0x100)][_0x327e53(0xb9)],'access':_0x493b84[_0x327e53(0x100)][_0x327e53(0xbe)],'customTitle':_0x493b84[_0x327e53(0x100)][_0x327e53(0xc2)],'runnerTitle':_0x493b84[_0x327e53(0x100)][_0x327e53(0x117)],'pinnedAt':_0x493b84[_0x327e53(0xc9)]===null?null:-0x1fb*0x1+0x189a+0x169e*-0x1,'pinOrder':_0x493b84[_0x327e53(0xc9)],'externalDiscovered':![],'titleSource':_0x493b84[_0x327e53(0x100)][_0x327e53(0xc2)]===null?_0x327e53(0xdc):_0x327e53(0x10c),'lastActivityAt':0x0,'createdAt':0x0};}async[_0x21f6cf(0xe5)](_0x19b499){const _0x5e0881=_0x21f6cf,_0x2db28a=await this[_0x5e0881(0xdf)](_0x19b499);return _0x2db28a===undefined?undefined:this[_0x5e0881(0xff)](_0x2db28a)??_0x2db28a;}async[_0x21f6cf(0xcc)](_0x566e2a){const _0x2ee983=_0x21f6cf,_0x5c9834=await this[_0x2ee983(0xdf)](_0x566e2a);if(_0x5c9834===undefined||_0x5c9834[_0x2ee983(0x11c)]===null)return undefined;const _0x203b70=this[_0x2ee983(0xf2)][_0x2ee983(0xbb)][_0x2ee983(0xc3)](_0x5c9834[_0x2ee983(0xf8)],_0x5c9834[_0x2ee983(0x11c)]);if(_0x203b70!==undefined&&_0x203b70[_0x2ee983(0xeb)]===_0x5c9834[_0x2ee983(0xeb)])return _0x203b70;return this[_0x2ee983(0xf2)][_0x2ee983(0xbb)][_0x2ee983(0x108)]({'workspaceId':_0x5c9834[_0x2ee983(0xeb)],'runner':_0x5c9834[_0x2ee983(0xf8)],'externalSessionId':_0x5c9834[_0x2ee983(0x11c)],'nativeControl':_0x2ee983(0x11b),'cwd':_0x5c9834[_0x2ee983(0x103)],..._0x5c9834[_0x2ee983(0x117)]===null?{}:{'title':_0x5c9834[_0x2ee983(0x117)]},..._0x5c9834[_0x2ee983(0xc2)]===null?{}:{'customTitle':_0x5c9834[_0x2ee983(0xc2)]}});}[_0x21f6cf(0xd5)](_0x33759d){const _0x34e4ab=_0x21f6cf,_0x45b1ca=this[_0x34e4ab(0xf2)][_0x34e4ab(0xe6)]()?.[_0x34e4ab(0xf4)](_0x33759d[_0x34e4ab(0xeb)]),_0x1d3b53={'runner':_0x33759d[_0x34e4ab(0xf8)],'model':_0x33759d[_0x34e4ab(0x101)],'effort':_0x33759d[_0x34e4ab(0xb9)],'access':_0x33759d[_0x34e4ab(0xbe)]};if(typeof _0x1d3b53[_0x34e4ab(0x101)]===_0x34e4ab(0xfb)&&typeof _0x1d3b53[_0x34e4ab(0xb9)]===_0x34e4ab(0xfb)&&typeof _0x1d3b53[_0x34e4ab(0xbe)]===_0x34e4ab(0xfb))return _0x1d3b53;const _0x48b3b1=this[_0x34e4ab(0xf2)][_0x34e4ab(0xe6)]()?.[_0x34e4ab(0xd4)]()[_0x34e4ab(0xf5)](_0x319158=>_0x319158[_0x34e4ab(0xf8)]===_0x33759d[_0x34e4ab(0xf8)]);return _0x48b3b1??this[_0x34e4ab(0xf2)][_0x34e4ab(0xbc)][_0x34e4ab(0xd9)](_0x33759d[_0x34e4ab(0xf8)])[_0x34e4ab(0xc7)](_0x45b1ca);}[_0x21f6cf(0xdd)](_0x12df76){const _0x654a7f=_0x21f6cf,_0x3a6469=this[_0x654a7f(0xd5)](_0x12df76);if(_0x12df76[_0x654a7f(0x101)]===_0x3a6469[_0x654a7f(0x101)]&&_0x12df76[_0x654a7f(0xb9)]===_0x3a6469[_0x654a7f(0xb9)]&&_0x12df76[_0x654a7f(0xbe)]===_0x3a6469[_0x654a7f(0xbe)])return _0x12df76;return this[_0x654a7f(0xf2)][_0x654a7f(0xbb)][_0x654a7f(0x114)]({'sessionId':_0x12df76['id'],'model':_0x3a6469[_0x654a7f(0x101)],'effort':_0x3a6469[_0x654a7f(0xb9)],'access':_0x3a6469[_0x654a7f(0xbe)]});}async[_0x21f6cf(0xee)](_0x3b31f3,_0x441908){const _0x19175e=_0x21f6cf;if(_0x3b31f3[_0x19175e(0x11c)]===null)return;await this[_0x19175e(0xf2)][_0x19175e(0xbc)][_0x19175e(0xd9)](_0x3b31f3[_0x19175e(0xf8)])[_0x19175e(0x102)](_0x3b31f3,_0x441908,this[_0x19175e(0xdb)]());}[_0x21f6cf(0xcb)](_0x4e7c82){const _0x6ad2ac=_0x21f6cf,_0x5bf0e1=_0x4e7c82[_0x6ad2ac(0x11a)]??0x1*0x8f6+-0x16ab+0xdb5,_0x366afd=this[_0x6ad2ac(0xf2)][_0x6ad2ac(0xe6)](),_0x43ea20=_0x366afd?.[_0x6ad2ac(0x112)](_0x4e7c82[_0x6ad2ac(0xf8)],_0x4e7c82[_0x6ad2ac(0x11c)],_0x4e7c82[_0x6ad2ac(0xd2)]['id']),_0x25a38d=this[_0x6ad2ac(0xf2)][_0x6ad2ac(0xbc)][_0x6ad2ac(0xd9)](_0x4e7c82[_0x6ad2ac(0xf8)])[_0x6ad2ac(0xd0)](_0x43ea20,{'externalSessionId':_0x4e7c82[_0x6ad2ac(0x11c)],'workspaceId':_0x4e7c82[_0x6ad2ac(0xd2)]['id'],..._0x4e7c82[_0x6ad2ac(0xe4)]===undefined?{}:{'title':_0x4e7c82[_0x6ad2ac(0xe4)]},..._0x4e7c82[_0x6ad2ac(0xc4)]===undefined?{}:{'titleOrigin':_0x4e7c82[_0x6ad2ac(0xc4)]}},_0x366afd);return{'id':_0x4e7c82[_0x6ad2ac(0x11c)],'nodeId':this[_0x6ad2ac(0xf2)][_0x6ad2ac(0xfa)](),'workspaceId':_0x4e7c82[_0x6ad2ac(0xd2)]['id'],'runner':_0x4e7c82[_0x6ad2ac(0xf8)],'externalSessionId':_0x4e7c82[_0x6ad2ac(0x11c)],'nativeControl':_0x6ad2ac(0x11b),'channelToken':null,'cwd':_0x4e7c82[_0x6ad2ac(0x103)],'model':_0x43ea20?.[_0x6ad2ac(0x101)]??null,'effort':_0x43ea20?.[_0x6ad2ac(0xb9)]??null,'access':_0x43ea20?.[_0x6ad2ac(0xbe)]??null,'customTitle':_0x43ea20?.[_0x6ad2ac(0xc2)]??null,'runnerTitle':_0x25a38d,'pinnedAt':_0x43ea20?.[_0x6ad2ac(0x110)]??null,'pinOrder':_0x43ea20?.[_0x6ad2ac(0xc9)]??null,'externalDiscovered':!![],'titleSource':_0x43ea20?.[_0x6ad2ac(0xc2)]===null||_0x43ea20?.[_0x6ad2ac(0xc2)]===undefined?_0x25a38d===null?_0x6ad2ac(0x111):_0x6ad2ac(0xdc):_0x6ad2ac(0x10c),'lastActivityAt':_0x5bf0e1,'createdAt':_0x5bf0e1};}[_0x21f6cf(0xba)](_0x484fce){const _0x5bf47f=_0x21f6cf;for(const _0x36d578 of _0x484fce)this[_0x5bf47f(0xf2)][_0x5bf47f(0xcd)][_0x5bf47f(0xb6)][_0x5bf47f(0xea)](_0x36d578['id'],_0x36d578);}[_0x21f6cf(0xff)](_0x471ca4){const _0xfb976=_0x21f6cf;if(_0x471ca4[_0xfb976(0x11c)]===null)return undefined;const _0x2407bc=this[_0xfb976(0xf2)][_0xfb976(0xbb)][_0xfb976(0xc3)](_0x471ca4[_0xfb976(0xf8)],_0x471ca4[_0xfb976(0x11c)]);if(_0x2407bc!==undefined&&_0x2407bc[_0xfb976(0xf8)]===_0x471ca4[_0xfb976(0xf8)]&&_0x2407bc[_0xfb976(0xeb)]===_0x471ca4[_0xfb976(0xeb)]&&_0x2407bc[_0xfb976(0x11c)]===_0x471ca4[_0xfb976(0x11c)])return _0x2407bc;return this[_0xfb976(0xde)](_0x471ca4);}[_0x21f6cf(0xde)](_0x161876){const _0x549c5e=_0x21f6cf;if(_0x161876[_0x549c5e(0x11c)]===null)return undefined;const _0x67693=this[_0x549c5e(0xf2)][_0x549c5e(0xbb)][_0x549c5e(0xc3)](_0x161876[_0x549c5e(0xf8)],_0x161876[_0x549c5e(0x11c)]);if(this[_0x549c5e(0xc5)](_0x67693,_0x161876,![]))return _0x67693;const _0xeeba5f=this[_0x549c5e(0xf2)][_0x549c5e(0xbc)][_0x549c5e(0xd9)](_0x161876[_0x549c5e(0xf8)])[_0x549c5e(0xf6)](_0x161876[_0x549c5e(0x11c)]),_0x2e9b52=_0xeeba5f===undefined?undefined:this[_0x549c5e(0xf2)][_0x549c5e(0xbb)][_0x549c5e(0xc6)](_0xeeba5f);return this[_0x549c5e(0xc5)](_0x2e9b52,_0x161876,!![])?_0x2e9b52:undefined;}[_0x21f6cf(0xef)](_0x125683){const _0x599039=_0x21f6cf,_0x5d27b6=new Set();if(_0x125683[_0x599039(0x11c)]!==null)_0x5d27b6[_0x599039(0x104)](_0x125683[_0x599039(0x11c)]);for(const _0x569d41 of this[_0x599039(0xf2)][_0x599039(0xbc)][_0x599039(0xd9)](_0x125683[_0x599039(0xf8)])[_0x599039(0xb7)](_0x125683['id']))_0x5d27b6[_0x599039(0x104)](_0x569d41);return _0x5d27b6;}[_0x21f6cf(0x106)](_0x2ef139,_0x5c7c46){const _0x13a83b=_0x21f6cf;if(_0x2ef139[_0x13a83b(0x11c)]===null)return;const _0x478b5b=new Set([_0x2ef139['id']]),_0x21aac3=new Set(_0x5c7c46),_0x3760d4=this[_0x13a83b(0xf2)][_0x13a83b(0xbc)][_0x13a83b(0xd9)](_0x2ef139[_0x13a83b(0xf8)]);for(const _0x270499 of _0x3760d4[_0x13a83b(0xb7)](_0x2ef139['id'])){const _0x4e7ff2=_0x3760d4[_0x13a83b(0xf6)](_0x270499);_0x4e7ff2!==undefined&&(_0x21aac3[_0x13a83b(0xc1)](_0x270499)||_0x4e7ff2===_0x2ef139['id'])&&(_0x478b5b[_0x13a83b(0x104)](_0x4e7ff2),_0x21aac3[_0x13a83b(0x104)](_0x270499),_0x3760d4[_0x13a83b(0x115)](_0x270499));}for(const [_0x1f38bb,_0x28b120]of this[_0x13a83b(0xf2)][_0x13a83b(0xcd)][_0x13a83b(0xb6)]){if(_0x28b120[_0x13a83b(0xf8)]===_0x2ef139[_0x13a83b(0xf8)]&&_0x28b120[_0x13a83b(0x103)]===_0x2ef139[_0x13a83b(0x103)]&&_0x28b120[_0x13a83b(0x11c)]!==null&&_0x21aac3[_0x13a83b(0xc1)](_0x28b120[_0x13a83b(0x11c)])){this[_0x13a83b(0xf2)][_0x13a83b(0xcd)][_0x13a83b(0xb6)][_0x13a83b(0xfc)](_0x1f38bb),this[_0x13a83b(0xf2)][_0x13a83b(0xcd)][_0x13a83b(0xe9)][_0x13a83b(0xfc)](_0x1f38bb),this[_0x13a83b(0xf2)][_0x13a83b(0xcd)][_0x13a83b(0x119)][_0x13a83b(0xfc)](_0x1f38bb),this[_0x13a83b(0xf2)][_0x13a83b(0xcd)][_0x13a83b(0xf9)][_0x13a83b(0xfc)](_0x1f38bb),this[_0x13a83b(0xf2)][_0x13a83b(0xcd)][_0x13a83b(0xd7)][_0x13a83b(0xfc)](_0x1f38bb),this[_0x13a83b(0xf2)][_0x13a83b(0xcd)][_0x13a83b(0xe0)][_0x13a83b(0xfc)](_0x1f38bb);const _0x59036a=this[_0x13a83b(0xf2)][_0x13a83b(0xcd)][_0x13a83b(0xf7)][_0x13a83b(0x10f)](_0x1f38bb);if(_0x59036a!==undefined)clearTimeout(_0x59036a);this[_0x13a83b(0xf2)][_0x13a83b(0xcd)][_0x13a83b(0xf7)][_0x13a83b(0xfc)](_0x1f38bb);}}for(const [_0x415c10,_0x1996b0]of this[_0x13a83b(0xf2)][_0x13a83b(0xcd)][_0x13a83b(0x119)])if(_0x478b5b[_0x13a83b(0xc1)](_0x1996b0))this[_0x13a83b(0xf2)][_0x13a83b(0xcd)][_0x13a83b(0x119)][_0x13a83b(0xfc)](_0x415c10);for(const _0xdabd73 of _0x478b5b){if(this[_0x13a83b(0xf2)][_0x13a83b(0xbb)][_0x13a83b(0xc6)](_0xdabd73)!==undefined)this[_0x13a83b(0xf2)][_0x13a83b(0xbb)][_0x13a83b(0x11f)](_0xdabd73);this[_0x13a83b(0xf2)][_0x13a83b(0xe2)][_0x13a83b(0x116)](_0xdabd73),this[_0x13a83b(0xf2)][_0x13a83b(0xcd)][_0x13a83b(0xe9)][_0x13a83b(0xfc)](_0xdabd73);}}[_0x21f6cf(0xc5)](_0x3064a6,_0x42b170,_0x1a630a){const _0xbc4e62=_0x21f6cf,_0x194eb7=_0x3064a6?.[_0xbc4e62(0x11c)]===_0x42b170[_0xbc4e62(0x11c)],_0x4aa0f5=_0x1a630a&&this[_0xbc4e62(0xf2)][_0xbc4e62(0xbc)][_0xbc4e62(0xd9)](_0x42b170[_0xbc4e62(0xf8)])[_0xbc4e62(0xf6)](_0x42b170[_0xbc4e62(0x11c)]??'')===_0x3064a6?.['id'];return _0x3064a6!==undefined&&_0x3064a6[_0xbc4e62(0xed)]===_0xbc4e62(0x10b)&&_0x3064a6[_0xbc4e62(0xf8)]===_0x42b170[_0xbc4e62(0xf8)]&&_0x3064a6[_0xbc4e62(0xeb)]===_0x42b170[_0xbc4e62(0xeb)]&&(_0x194eb7||_0x4aa0f5);}[_0x21f6cf(0xdb)](){const _0x118e98=_0x21f6cf,_0x55c67b=this[_0x118e98(0xf2)][_0x118e98(0xe6)]();if(_0x55c67b===undefined)throw new Error(_0x118e98(0xe3));return _0x55c67b;}}function _0x4e2c(_0x1996b0,_0xdabd73){_0x1996b0=_0x1996b0-(0x10c5+0x5*0x32b+-0x1fe6);const _0x3064a6=_0x2ddc();let _0x42b170=_0x3064a6[_0x1996b0];if(_0x4e2c['bxpOdv']===undefined){var _0x1a630a=function(_0x55c67b){const _0x24814f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x21f682='',_0x295d83='';for(let _0x5a834f=-0x1*0x144d+-0x1893+0x2*0x1670,_0xb50069,_0x234e55,_0x11b26e=0x267c*-0x1+-0x9*0x9+0x3*0xcef;_0x234e55=_0x55c67b['charAt'](_0x11b26e++);~_0x234e55&&(_0xb50069=_0x5a834f%(-0x8ad+-0x691+0xf42)?_0xb50069*(-0xe*0x2a+-0x31*0xae+0x2c2*0xd)+_0x234e55:_0x234e55,_0x5a834f++%(-0x23f+0x8c9+-0x686))?_0x21f682+=String['fromCharCode'](0x1b78+0x2513+0xa6*-0x62&_0xb50069>>(-(0x1*-0x436+-0x21c4+-0x2*-0x12fe)*_0x5a834f&-0x1203*0x1+-0x1a2+0x35*0x5f)):-0x4f*0x31+0x2*0xa3f+0x7d*-0xb){_0x234e55=_0x24814f['indexOf'](_0x234e55);}for(let _0x3add4b=-0xe*-0x297+0x1*0x583+-0x11*0x275,_0x3a7320=_0x21f682['length'];_0x3add4b<_0x3a7320;_0x3add4b++){_0x295d83+='%'+('00'+_0x21f682['charCodeAt'](_0x3add4b)['toString'](-0x14f8+-0x26be+0x3bc6))['slice'](-(0x2540+0x1fe5+-0x4523*0x1));}return decodeURIComponent(_0x295d83);};_0x4e2c['xCeWkG']=_0x1a630a,_0x4e2c['rAfKDO']={},_0x4e2c['bxpOdv']=!![];}const _0x194eb7=_0x3064a6[-0x1*-0x64d+-0x71b+-0xce*-0x1];_0x4e2c['sAIscS']!==_0x194eb7&&(_0x4e2c['rAfKDO']={},_0x4e2c['sAIscS']=_0x194eb7);const _0x4aa0f5=_0x4e2c['rAfKDO'][_0x1996b0];return _0x4aa0f5===undefined?(_0x42b170=_0x4e2c['xCeWkG'](_0x42b170),_0x4e2c['rAfKDO'][_0x1996b0]=_0x42b170):_0x42b170=_0x4aa0f5,_0x42b170;}function _0x2ddc(){const _0x3e65b5=['zgLZy292zxjtzxnZAw9UCW','zM9Yz2v0','y2fWywjPBgL0AwvZ','y3jLyxrLqwDLBNrtzxnZAw9U','BgLZDfDVCMTZCgfJzxm','mtjwBKLoCK0','tufsx01btKfhruq','q1vtve9n','Cgf0Aa','zMLSDgvY','z2v0','CgLUBMvKqxq','qvvutW','z2v0tMf0AxzLu2vZC2LVBK1LDgfKyxrH','y29KzxG','DxbKyxrLqwDLBNrtzxnZAw9Uq29UzMLNDxjHDgLVBG','zM9Yz2v0tMf0AxzLqwXPyxm','CMvTB3zLu2vZC2LVBG','CNvUBMvYvgL0Bgu','ChjVzhvJDa','CMvZDw1Lzej5rgLYzwn0swq','BgfZDefJDgL2Axr5qxq','rvHurvjoquW','zxH0zxjUywXtzxnZAw9Uswq','uLvotKvsx1voqvzbsuXbqKXf','zgLZy292zxjdB2rLEa','CMvTB3zLqwDLBNrtzxnZAw9U','zgLYzwn0tMf0AxzL','BMf0AxzLqwXPyxnLC0zVCG','mJa4mtyXmZb0C2POqKC','zwzMB3j0','CMvTzw1Izxi','CNvUDgLTzq','CNvUBMvYCW','zMXHDa','ywnJzxnZ','mZuZnJu4Euvmsfrn','BgLZDa','AgfZ','y3vZDg9TvgL0Bgu','zMLUzefNzw50u2vZC2LVBKj5rxH0zxjUywXtzxnZAw9U','DgL0BgvpCMLNAw4','Axnnyw5Hz2vKuhjVAMvJDgLVBG','z2v0qwDLBNrtzxnZAw9U','zgvMyxvSDenVBMzPz3vYyxrPB24','mZe5mZu4nhjpyLv0sq','CgLUt3jKzxi','mJeYmZC2t1bgBgrc','ChjVAMvJDa','y3jLyxrLtwv0ywrHDgfqCM9Qzwn0Aw9U','C3rHDgu','ndq3mZe2mgfzDu9nAG','v09ss1nqqunfx05pvf9gt1vora','ChjVAMvJDgvKuNvUBMvYvgL0Bgu','ywXS','D29YA3nWywnL','BMfTzq','z2v0uNvUBMvYrgvMyxvSDhm','CMvZDw1LzenVBMzPz3vYyxrPB24','BgLZDfnLC3nPB25szwnVCMrZ','BwvZC2fNzvjLC3vTzuzHAwX1CMvZ','yxzHAwXHyMXL','CMvXDwLYzq','BwfW','CMvXDwLYzurHDgfIyxnL','uLvotKvs','zw5ZDxjLuMvZDw1LzenVBMzPz3vYyxrPB24','BwfUywDLzezVCK5HDgL2zq','CMvZB2X2zq','CMvZDw1LrMfPBhvYzurLDgfPBhm','zgLZy292zxjxB3jRC3bHy2u','y29TBwfUzhm','tK9erv9eqvrbqKftrv9vtKfwquLmqujmrq','DgL0Bgu','CMvZB2X2zun1CNjLBNq','zgf0ywjHC2u','ChjLC2vUDa','zMXHDe1HCa','zxH0zxjUywXby3rPDML0Eq','C2v0','D29YA3nWywnLswq','ow5tBffZsq','BMf0AxzLq29UDhjVBa','CMvUyw1L','BMf0AxzLswrZ','oda3otGYzMnwDvfP','ywr2zxj0AxnLza','B3b0Aw9UCW','mZm5mdG2meTewKrRAq','z2v0v29YA3nWywnL','zMLUza','BwfUywDLzefSAwfZswq','zMfPBhvYzvrPBwvYCW','CNvUBMvY','CMvZDw1LrMfPBhvYzxm','BM9KzuLK','C3rYAw5N','zgvSzxrL','zgLZy292zxi','ohHHBhDXqq','ChjVAMvJDgLVBKzVCK5HDgL2zq','Bwv0ywrHDge','Bw9KzwW','CMvUyw1LtMf0AxzL','y3DK','ywrK'];_0x2ddc=function(){return _0x3e65b5;};return _0x2ddc();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/node",
3
- "version": "0.9.16",
3
+ "version": "0.9.18",
4
4
  "description": "MyAgentRoam Node runtime CLI.",
5
5
  "type": "module",
6
6
  "files": [
@@ -26,7 +26,7 @@
26
26
  "ws": "^8.21.3",
27
27
  "zod": "4.4.3",
28
28
  "@myagentroam/agent": "^0.9.16",
29
- "@myagentroam/protocol": "^0.9.16"
29
+ "@myagentroam/protocol": "^0.9.18"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/ws": "^8.18.1"