@myagentroam/node 0.9.28 → 0.9.30
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
|
-
|
|
2
|
+
function _0x59b3(_0x2e0926,_0x9a7043){_0x2e0926=_0x2e0926-(0x835*-0x1+-0x11c0+0x1a8e);const _0x1f7fcd=_0x4153();let _0x4b2279=_0x1f7fcd[_0x2e0926];if(_0x59b3['wbbizi']===undefined){var _0x1e1128=function(_0x1e2ba2){const _0x308632='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1fb4a9='',_0x16c029='';for(let _0x117c14=-0x439*0x2+0x11f*-0x10+0x1a62,_0x2c1061,_0x55c780,_0xd60717=0x1*0x1bb1+-0x7db+-0x13d6;_0x55c780=_0x1e2ba2['charAt'](_0xd60717++);~_0x55c780&&(_0x2c1061=_0x117c14%(0x7ba*-0x1+-0x122d+0x5*0x52f)?_0x2c1061*(-0x31*-0x77+0x84+-0x170b)+_0x55c780:_0x55c780,_0x117c14++%(0x151f+-0x1e1e+0x903))?_0x1fb4a9+=String['fromCharCode'](-0x16b8+0x16d0+-0xe7*-0x1&_0x2c1061>>(-(-0x1346+-0x238*0x11+0x3900)*_0x117c14&-0x1ba3+-0xb7*-0x17+0xb38)):0x1*-0x1fa5+0xafd*-0x1+-0x1551*-0x2){_0x55c780=_0x308632['indexOf'](_0x55c780);}for(let _0x3c11b5=0x68a+0x1*-0x181d+0x1193,_0x4de771=_0x1fb4a9['length'];_0x3c11b5<_0x4de771;_0x3c11b5++){_0x16c029+='%'+('00'+_0x1fb4a9['charCodeAt'](_0x3c11b5)['toString'](0x351*-0x8+-0x23cf*0x1+0x3e67))['slice'](-(0x7b*-0x1b+0x1*-0xeaa+0x1ba5));}return decodeURIComponent(_0x16c029);};_0x59b3['iYTiWX']=_0x1e1128,_0x59b3['tnBwLe']={},_0x59b3['wbbizi']=!![];}const _0x9ead90=_0x1f7fcd[-0x1*0xd45+-0x4*0x3ef+-0x37*-0x87];_0x59b3['alaKaf']!==_0x9ead90&&(_0x59b3['tnBwLe']={},_0x59b3['alaKaf']=_0x9ead90);const _0x30acaf=_0x59b3['tnBwLe'][_0x2e0926];return _0x30acaf===undefined?(_0x4b2279=_0x59b3['iYTiWX'](_0x4b2279),_0x59b3['tnBwLe'][_0x2e0926]=_0x4b2279):_0x4b2279=_0x30acaf,_0x4b2279;}const _0x4e8c11=_0x59b3;(function(_0x1c35bd,_0x4ba868){const _0x2b5708=_0x59b3,_0x246739=_0x1c35bd();while(!![]){try{const _0x53b4f7=-parseInt(_0x2b5708(0xa1))/(-0x1c*0x84+-0x11*0x1d2+0x2d63)*(-parseInt(_0x2b5708(0x9d))/(-0x389*0x7+0x4c*-0xa+0x1*0x1bb9))+parseInt(_0x2b5708(0x9b))/(-0x152+-0x35a+0x1*0x4af)+parseInt(_0x2b5708(0x9f))/(-0x3*0xad+-0x53b*0x1+0x746)+-parseInt(_0x2b5708(0x9e))/(-0x1*-0x1a05+-0x2*0x1003+0x6*0x101)+-parseInt(_0x2b5708(0xb3))/(-0x2*-0x737+0x1*-0x1f7+-0xc71)+-parseInt(_0x2b5708(0xae))/(-0x179e+-0x8*0x16e+0x2315)*(parseInt(_0x2b5708(0xb6))/(0xcdf+-0x6*-0x591+-0x59*0x85))+parseInt(_0x2b5708(0x9a))/(-0x32*0x45+0x56*-0x71+0x3379);if(_0x53b4f7===_0x4ba868)break;else _0x246739['push'](_0x246739['shift']());}catch(_0x3492b6){_0x246739['push'](_0x246739['shift']());}}}(_0x4153,-0x1248d0+-0x2*0x8574c+0x2d5ebe));import{conversationHostingEnableInputSchema,conversationHostingEnableResultSchema}from'@myagentroam/protocol';import{saveNodeConfig}from'../config.js';import{nodeOperationData}from'../util/node-operation-data.js';function _0x4153(){const _0x331e8a=['tK9erv9dt05gsuDFvu5bvKfjtefcteu','q09ovKvsu0fusu9ox0Hpu1rjtKDFueXbvezpuK1Fvu5tvvbqt1juruq','BgLUDxG','q09ovKvsu0fusu9ox0Hpu1rjtKDFvu5bvKfjtefcteu','Ag9ZDgvKlwnVBNzLCNnHDgLVBNm','zw5HyMXL','nJnXs1birwu','B3bLCMf0Aw9UCW','y29UzMLN','C3vJy2vZCW','C2fMzvbHCNnL','ndaZntyWmeHswgvYCG','y29UDMvYC2f0Aw9Usg9ZDgLUzW','y2fWywjPBgL0Eq','nJuZndy0CNbjEK12','CgfYC2u','q09ovKvsu0fusu9ox0Hpu1rjtKDFru5bqKXfx0Loufvux0LovKfmsuq','ChvIBgLZAenHCgfIAwXPDgLLCW','CgXHDgzVCM0','nJCZndqXmKXVEMzYtW','ntqXnJHPzwvZuum','Aw5PDgLHBgL6zq','mMDMAeT0sa','mZm1ndCWnwfss3zPyW','ndC5nJu3nK5zwgjfAG','C2v0q29UzMLN','nZK1mdm0vwnUywng','Aw5Hy3rPDMvszxrLBNrPB25eyxLZ','C3rVCMveAxjLy3rVCNK','CMvXDwLYzunHCgfIAwXPDhK','B3b0Aw9UCW','y29UzMLNugf0Aa','zw5HyMXLza'];_0x4153=function(){return _0x331e8a;};return _0x4153();}export class ConversationHostingEnablementService{[_0x4e8c11(0xa5)];constructor(_0x7b6605){const _0x3aa186=_0x4e8c11;this[_0x3aa186(0xa5)]=_0x7b6605;}[_0x4e8c11(0xaf)](){const _0x245e8f=_0x4e8c11;return{'conversation.hosting.enable':_0x126a44=>this[_0x245e8f(0xad)](_0x126a44)};}async[_0x4e8c11(0xad)](_0x26428d){const _0x35f612=_0x4e8c11,_0x1980b9=conversationHostingEnableInputSchema[_0x35f612(0xb2)](nodeOperationData(_0x26428d));if(!_0x1980b9[_0x35f612(0xb1)])throw new Error(_0x35f612(0xb8));if(this[_0x35f612(0xa5)][_0x35f612(0x99)]()!==_0x35f612(0xaa))throw new Error(_0x35f612(0xa9));const _0x317235=this[_0x35f612(0xa5)][_0x35f612(0xb0)]();if(_0x317235===undefined)throw new Error(_0x35f612(0xa8));if(_0x317235[_0x35f612(0xb4)]?.[_0x35f612(0xa7)]===!![])return conversationHostingEnableResultSchema[_0x35f612(0xb7)]({'capability':this[_0x35f612(0xa4)]()});const _0x5a70b9={..._0x317235,'conversationHosting':{..._0x317235[_0x35f612(0xb4)],'enabled':!![],'storeDirectory':_0x317235[_0x35f612(0xb4)]?.[_0x35f612(0xa3)]??_0x35f612(0xac),'inactiveRetentionDays':_0x317235[_0x35f612(0xb4)]?.[_0x35f612(0xa2)]??0x4d+-0x1*-0x1b25+0x2*-0xd9b}};await saveNodeConfig(_0x5a70b9,this[_0x35f612(0xa5)][_0x35f612(0xa6)]),this[_0x35f612(0xa5)][_0x35f612(0xa0)](_0x5a70b9),await this[_0x35f612(0xa5)][_0x35f612(0x9c)]();const _0xdb4545=conversationHostingEnableResultSchema[_0x35f612(0xb7)]({'capability':this[_0x35f612(0xa4)]()});return this[_0x35f612(0xa5)][_0x35f612(0xb9)](),_0xdb4545;}[_0x4e8c11(0xa4)](){const _0xc66833=_0x4e8c11,_0x33bd99=this[_0xc66833(0xa5)][_0xc66833(0xb5)]();if(_0x33bd99===undefined)throw new Error(_0xc66833(0xab));return _0x33bd99;}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* mar-release-protected */
|
|
2
|
-
const _0x4011ec=_0xb439;(function(_0x2b3709,_0xb6f06d){const _0x1ca386=_0xb439,_0x2b43b5=_0x2b3709();while(!![]){try{const _0x326f29=-parseInt(_0x1ca386(0x1e1))/(0x1*0xa8a+0x3e9+0x1*-0xe72)+parseInt(_0x1ca386(0x1a5))/(-0x1*-0x167d+0x6*0x3a5+0x1*-0x2c59)*(-parseInt(_0x1ca386(0x1cd))/(0x1*0x1415+-0x2669*0x1+0x3ab*0x5))+parseInt(_0x1ca386(0x1b3))/(-0xa*-0xa3+0x723+-0xd7d*0x1)+-parseInt(_0x1ca386(0x1ce))/(-0x1*0x236f+0x227f*-0x1+0x2f*0x17d)*(parseInt(_0x1ca386(0x1a8))/(-0x7*-0x49+-0xfb7+0xdbe))+-parseInt(_0x1ca386(0x1dc))/(-0x90c+0x5*0x3b3+0x6*-0x192)+parseInt(_0x1ca386(0x1e4))/(-0xe3*-0x27+0x3e0+-0x266d)*(parseInt(_0x1ca386(0x1cf))/(0x1*-0x16c3+-0x3*-0x3c4+-0x8*-0x170))+parseInt(_0x1ca386(0x1da))/(-0x12ff+-0x79*-0x1f+0x42*0x11);if(_0x326f29===_0xb6f06d)break;else _0x2b43b5['push'](_0x2b43b5['shift']());}catch(_0x1d75fe){_0x2b43b5['push'](_0x2b43b5['shift']());}}}(_0x1085,0x2*0xcc58+-0x29253+0x1*0x2f447));import{statfs}from'node:fs/promises';function _0x1085(){const _0xaf4730=['mtm4nti5AerwCvrm','yxv0B21HDgLJq2XLyw51Cfn0yxj0zwq','BgvUz3rO','og9rwvLrBG','Aw5Hy3rPDMvdBgvHBNvWq2fUzgLKyxrLCW','yMXVy2TZ','CMvSzwfZzunVBNzLCNnHDgLVBG','Aw5Hy3rPDMvszxrLBNrPB25eyxLZ','CNvUqxv0B21HDgLJq2XLyw51Ca','BgfZDefJDgL2Axr5qxq','ntiWB0LLzw9g','y2XLyw51CfrHAwW','CM9VDerPCMvJDg9YEq','nK9ID0ndBG','qvzbsuXbqKXf','CMvSzwfZzwrcExrLCW','x193B3jRC3bHy2vxyxrJAfnLC3nPB25iyxnO','Bwf4','yMvNAw5dB252zxjZyxrPB25dBgvHBNvW','Aw5Hy3rPDMveyxLZ','zMLUzenVBNzLCNnHDgLVBKj5swq','C3rVCMfNzunHCgfJAxr5','zgLZCg9Zzq','BM93','ndKXotzoB1f0BeW','y2f0y2G','CMvZB2X2zq','y29UDMvYC2f0Aw9Uu3rVCMfNzuj5DgvZ','rLvmta','yMf2ywLS','C3rVCMu','CgvYBwfUzw50rgvSzxrLq29UDMvYC2f0Aw9U','B25bDxrVBwf0AwndBgvHBNvWrxjYB3i','q09ovKvsu0fusu9ox0Hpu1rjtKDFu1rpuKfhrv9vtKfwquLmqujmrq','qunusvzf','AxndB252zxjZyxrPB25jBLvZzq','vvbhuKferv9qru5esu5h','B2jQzwn0','q09ovKvsu0fusu9ox0Hpu1rjtKDFu1rpuKfhrv9gvuXm','yxv0B21HDgLJq2XLyw51CfrPBwvY','Dg90ywXcExrLCW','AxntywzLsw50zwDLCG','Dw5Yzwy','AxnbCNjHEq','x19Yzxf1zxn0vxnLCKLK','zxHLy3v0zq','B3b0Aw9UCW','y2fWywnPDhK','B3bLCMf0Aw9UCW','ChjLDMLLDW','mJa0owryBvrQrG','odCYmZe1AxvzrLzA','mJKXota2wMDmrNzM','seLhsa','Ag9ZDgvKu3rVCMfNzvvZzwrcExrLCW','CgfYC2u','yxnZzxj0q2fUq3jLyxrL','CgvUzgLUz0nSzwfUDxbdB3vUDa','DgHLBG','DhjPz2DLCKf1Dg9TyxrPy0nSzwfUDxa','zMLSzxn5C3rLBunHCgfJAxr5','tufyx1nbrKvFsu5uruDfuG','C3rHCNq','ntC5otm4mhbmBKLTvW','yNnPEMu','mZa3otn1vMrvswy','yxzHAwXHyMXLqNL0zxm','CNvUq2XLyw51Cev4y2X1C2L2zq','zMLSDgvY','C3rHDhvZ'];_0x1085=function(){return _0xaf4730;};return _0x1085();}import{conversationHostingCleanupExecuteInputSchema,conversationHostingCleanupPreviewInputSchema,conversationHostingCleanupPreviewSchema,conversationHostingCleanupResultSchema,conversationHostingStorageCapacitySchema}from'@myagentroam/protocol';const DAY_MS=(0x266c+-0x2*0x1141+-0x3d2)*(-0x15e5+0x50*-0x49+-0x5*-0x8fd)*(-0x74a+0x1*0x1f4c+-0x17c6)*(-0xab2+0x5*0x65+0x1*0xca1),AUTOMATIC_CLEANUP_INTERVAL_MS=DAY_MS;export class ConversationHostingMaintenanceService{[_0x4011ec(0x1c9)];[_0x4011ec(0x1b2)];[_0x4011ec(0x1d7)];[_0x4011ec(0x1c2)];[_0x4011ec(0x1e2)]=![];[_0x4011ec(0x1a6)]=Promise[_0x4011ec(0x1b5)]();[_0x4011ec(0x1d4)]=-0x132f*-0x1+-0x79c+0xb93*-0x1;constructor(_0x3e4763){const _0x57b0b2=_0x4011ec;this[_0x57b0b2(0x1c9)]=_0x3e4763,this[_0x57b0b2(0x1b2)]=_0x3e4763[_0x57b0b2(0x1b2)]??Date[_0x57b0b2(0x1b2)],this[_0x57b0b2(0x1d7)]=_0x3e4763[_0x57b0b2(0x1d7)]??(()=>filesystemCapacity(_0x3e4763[_0x57b0b2(0x1b9)][_0x57b0b2(0x1a7)]));}[_0x4011ec(0x1cb)](){const _0x48c2cf=_0x4011ec;return{'conversation.hosting.storage.inspect':()=>this[_0x48c2cf(0x1b0)]()[_0x48c2cf(0x1d5)](_0x4bcca3=>({'storage':_0x4bcca3})),'conversation.hosting.cleanup.preview':_0x577596=>this[_0x48c2cf(0x1cc)](conversationHostingCleanupPreviewInputSchema[_0x48c2cf(0x1d2)](maintenanceOperationData(_0x577596))[_0x48c2cf(0x1ae)])[_0x48c2cf(0x1d5)](_0x2dcb23=>({'preview':_0x2dcb23})),'conversation.hosting.cleanup.execute':_0x481ae0=>this[_0x48c2cf(0x1de)](()=>this[_0x48c2cf(0x1c8)](conversationHostingCleanupExecuteInputSchema[_0x48c2cf(0x1d2)](maintenanceOperationData(_0x481ae0))[_0x48c2cf(0x1ae)]))[_0x48c2cf(0x1d5)](_0x3144fa=>({'result':_0x3144fa}))};}async[_0x4011ec(0x1b0)](){const _0x1e8141=_0x4011ec,_0x5039cb=this[_0x1e8141(0x1b2)](),_0x1d4e6b=await this[_0x1e8141(0x1d7)]();assertFilesystemCapacity(_0x1d4e6b);const _0x1000aa=_0x1d4e6b[_0x1e8141(0x1c3)]-_0x1d4e6b[_0x1e8141(0x1dd)],_0x1de0db=Number(BigInt(_0x1000aa)*0x2710n/BigInt(_0x1d4e6b[_0x1e8141(0x1c3)])),_0x3d263c=_0x1de0db>=-0x3e8e+0x204c*-0x1+-0x2*-0x41fb?_0x1e8141(0x1b7):_0x1de0db>=0x323*-0x14+-0x7*0x70d+0x914b?_0x1e8141(0x1d0):_0x1e8141(0x1a9);return conversationHostingStorageCapacitySchema[_0x1e8141(0x1d2)]({'hostedStorageUsedBytes':await this[_0x1e8141(0x1c9)][_0x1e8141(0x1b9)][_0x1e8141(0x1d1)](),'filesystemTotalBytes':_0x1d4e6b[_0x1e8141(0x1c3)],'filesystemAvailableBytes':_0x1d4e6b[_0x1e8141(0x1dd)],'filesystemUsageBasisPoints':_0x1de0db,'capacity':_0x3d263c,'acceptsNewConversations':_0x3d263c!==_0x1e8141(0x1b7),'automaticCleanupInactiveDays':this[_0x1e8141(0x1c9)][_0x1e8141(0x1a2)],'measuredAt':_0x5039cb});}async[_0x4011ec(0x1d3)](){const _0x18126f=_0x4011ec;if((await this[_0x18126f(0x1b0)]())[_0x18126f(0x1ca)]===_0x18126f(0x1b7))throw new Error(_0x18126f(0x1c1));}async[_0x4011ec(0x1a3)](){const _0x3f45cf=_0x4011ec;await this[_0x3f45cf(0x1de)](()=>this[_0x3f45cf(0x1c8)](this[_0x3f45cf(0x1c9)][_0x3f45cf(0x1a2)]));}async[_0x4011ec(0x1d9)](){const _0x19abd9=_0x4011ec;if(this[_0x19abd9(0x1e2)])return;this[_0x19abd9(0x1e2)]=!![],await this[_0x19abd9(0x1a3)]()[_0x19abd9(0x1b4)](_0x133fc6=>this[_0x19abd9(0x1c9)][_0x19abd9(0x1bb)]?.(_0x133fc6));if(!this[_0x19abd9(0x1e2)])return;this[_0x19abd9(0x1c2)]=setInterval(()=>{const _0x13317b=_0x19abd9;this[_0x13317b(0x1d6)]();},AUTOMATIC_CLEANUP_INTERVAL_MS),this[_0x19abd9(0x1c2)][_0x19abd9(0x1c5)]();}[_0x4011ec(0x1b1)](){const _0x12a57b=_0x4011ec;this[_0x12a57b(0x1e2)]=![];if(this[_0x12a57b(0x1c2)]!==undefined)clearInterval(this[_0x12a57b(0x1c2)]);return this[_0x12a57b(0x1c2)]=undefined,this[_0x12a57b(0x1d4)]===0x1*0x12ba+-0xf62+-0xd6*0x4?undefined:this[_0x12a57b(0x1a6)];}[_0x4011ec(0x1d6)](){const _0x125f92=_0x4011ec;void this[_0x125f92(0x1a3)]()[_0x125f92(0x1b4)](_0x3a2bb6=>this[_0x125f92(0x1c9)][_0x125f92(0x1bb)]?.(_0x3a2bb6));}[_0x4011ec(0x1de)](_0xf13498){const _0x4881f7=_0x4011ec;this[_0x4881f7(0x1d4)]+=-0x60+0x21*0x11b+-0x241a;const _0x19de45=this[_0x4881f7(0x1a6)][_0x4881f7(0x1d5)](_0xf13498,_0xf13498);return this[_0x4881f7(0x1a6)]=_0x19de45[_0x4881f7(0x1d5)](()=>{const _0x41f3dc=_0x4881f7;this[_0x41f3dc(0x1d4)]-=0x1d*0xba+0x1641+-0x2b52;},()=>{const _0x14b1e4=_0x4881f7;this[_0x14b1e4(0x1d4)]-=-0x5*-0x6c8+0x1*0x24bb+-0x46a2;}),_0x19de45;}async[_0x4011ec(0x1cc)](_0x338803){const _0x1370d7=_0x4011ec,_0x3a6cf3=this[_0x1370d7(0x1b2)](),_0x3f1040=cutoff(_0x3a6cf3,_0x338803),_0x5e5a6e=this[_0x1370d7(0x1c9)][_0x1370d7(0x1b9)][_0x1370d7(0x1e5)](_0x3f1040)[_0x1370d7(0x1df)](_0x53fa2a=>!this[_0x1370d7(0x1c9)][_0x1370d7(0x1be)](_0x53fa2a['id']));let _0xe766fc=0x9cd+0x89*0x36+-0x26b3;for(const _0x346228 of _0x5e5a6e)_0xe766fc+=await this[_0x1370d7(0x1c9)][_0x1370d7(0x1b9)][_0x1370d7(0x1b6)](_0x346228);return conversationHostingCleanupPreviewSchema[_0x1370d7(0x1d2)]({'inactiveDays':_0x338803,'cutoffAt':_0x3f1040,'candidateConversationCount':_0x5e5a6e[_0x1370d7(0x1e3)],'reclaimableBytes':_0xe766fc,'measuredAt':_0x3a6cf3});}async[_0x4011ec(0x1c8)](_0x11ab77){const _0x5f8312=_0x4011ec,_0x337409=this[_0x5f8312(0x1b2)](),_0x405382=cutoff(_0x337409,_0x11ab77);let _0x42bfe4=-0x13dd*-0x1+-0xf0*-0x12+-0xb*0x357,_0x539b32=0x6*0xbb+-0xfc1*0x1+0xb5f,_0x5aab03=-0x4dc*-0x4+-0x47a+-0xef6;for(const _0x1f791b of this[_0x5f8312(0x1c9)][_0x5f8312(0x1b9)][_0x5f8312(0x1e5)](_0x405382)){const _0xb92982=this[_0x5f8312(0x1c9)][_0x5f8312(0x1ad)](_0x1f791b['id']);if(_0xb92982===undefined){_0x5aab03+=-0x254+-0x704+0x959;continue;}try{const _0xeddfe3=this[_0x5f8312(0x1c9)][_0x5f8312(0x1b9)][_0x5f8312(0x1af)](_0x1f791b['id']);if(_0xeddfe3===undefined||_0xeddfe3[_0x5f8312(0x1a4)]>=_0x405382||_0xeddfe3[_0x5f8312(0x1e0)]!==_0x5f8312(0x1bd)&&_0xeddfe3[_0x5f8312(0x1e0)]!==_0x5f8312(0x1bf)){_0x5aab03+=-0x26e2+-0x13ac+-0x315*-0x13;continue;}await this[_0x5f8312(0x1c9)][_0x5f8312(0x1e7)](_0xeddfe3);const _0x28ece2=await this[_0x5f8312(0x1c9)][_0x5f8312(0x1b9)][_0x5f8312(0x1ba)](_0xeddfe3['id']);_0x42bfe4+=-0x1*-0x1faf+-0x1f02+-0xac,_0x539b32+=_0x28ece2[_0x5f8312(0x1aa)];}finally{_0xb92982();}}const _0x1dddc5=this[_0x5f8312(0x1b2)]();return conversationHostingCleanupResultSchema[_0x5f8312(0x1d2)]({'inactiveDays':_0x11ab77,'cutoffAt':_0x405382,'deletedConversationCount':_0x42bfe4,'releasedBytes':_0x539b32,'skippedConversationCount':_0x5aab03,'completedAt':_0x1dddc5});}}function maintenanceOperationData(_0x4c3859){const _0x12e7fb=_0x4011ec;if(_0x4c3859===null||typeof _0x4c3859!==_0x12e7fb(0x1c0)||Array[_0x12e7fb(0x1c6)](_0x4c3859))return _0x4c3859;const _0xdc3450={..._0x4c3859};return delete _0xdc3450[_0x12e7fb(0x1c7)],delete _0xdc3450[_0x12e7fb(0x1ab)],_0xdc3450;}function cutoff(_0xa29ded,_0x21587d){const _0x27d729=_0x4011ec;return Math[_0x27d729(0x1ac)](-0x25dc+0x1a3c+0xba0,_0xa29ded-_0x21587d*DAY_MS);}function _0xb439(_0x47ee83,_0x44491c){_0x47ee83=_0x47ee83-(-0x228c+0x1661+0xdcd);const _0x4fc94e=_0x1085();let _0x27fefb=_0x4fc94e[_0x47ee83];if(_0xb439['YlqVLX']===undefined){var _0x588171=function(_0x264070){const _0x350a2d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1c7557='',_0x483a2a='';for(let _0x39ddfb=-0xc86*0x1+0x221f*0x1+-0x1599,_0x3ef8f3,_0xa5e342,_0xd925ca=-0x28b+0x268c+-0x2401;_0xa5e342=_0x264070['charAt'](_0xd925ca++);~_0xa5e342&&(_0x3ef8f3=_0x39ddfb%(0x50*-0x49+-0x2*0x12b8+0x3c44)?_0x3ef8f3*(0x1*0x1f4c+-0x569+-0x19a3)+_0xa5e342:_0xa5e342,_0x39ddfb++%(0x5*0x65+0x6*-0x54e+-0x1*-0x1ddf))?_0x1c7557+=String['fromCharCode'](0xa53+0x8b*-0x41+0x19f7&_0x3ef8f3>>(-(0x1100*-0x1+-0x1*0xa8b+0x1b8d)*_0x39ddfb&0x1d09*-0x1+0x127f+0xa90)):0x1*0x12ba+-0xf62+-0xd6*0x4){_0xa5e342=_0x350a2d['indexOf'](_0xa5e342);}for(let _0x47691e=-0x60+0x21*0x11b+-0x241b,_0x2a39ff=_0x1c7557['length'];_0x47691e<_0x2a39ff;_0x47691e++){_0x483a2a+='%'+('00'+_0x1c7557['charCodeAt'](_0x47691e)['toString'](0x1d*0xba+0x1641+-0x2b43))['slice'](-(-0x5*-0x6c8+0x1*0x24bb+-0x46a1));}return decodeURIComponent(_0x483a2a);};_0xb439['ZxfWhQ']=_0x588171,_0xb439['bhCPxj']={},_0xb439['YlqVLX']=!![];}const _0xc01949=_0x4fc94e[0x9cd+0x89*0x36+-0x26b3];_0xb439['dDAmKZ']!==_0xc01949&&(_0xb439['bhCPxj']={},_0xb439['dDAmKZ']=_0xc01949);const _0x52553d=_0xb439['bhCPxj'][_0x47ee83];return _0x52553d===undefined?(_0x27fefb=_0xb439['ZxfWhQ'](_0x27fefb),_0xb439['bhCPxj'][_0x47ee83]=_0x27fefb):_0x27fefb=_0x52553d,_0x27fefb;}async function filesystemCapacity(_0x5675be){const _0x40599f=_0x4011ec,_0x3546c9=await statfs(_0x5675be);return{'totalBytes':safeFilesystemBytes(_0x3546c9[_0x40599f(0x1db)],_0x3546c9[_0x40599f(0x1e6)]),'availableBytes':safeFilesystemBytes(_0x3546c9[_0x40599f(0x1db)],_0x3546c9[_0x40599f(0x1b8)],!![])};}function safeFilesystemBytes(_0x43af70,_0x54d4b6,_0x400d73=![]){const _0x2e320c=_0x4011ec;if(!Number[_0x2e320c(0x1c4)](_0x43af70)||_0x43af70<=-0x2c*0x72+0xbfc+-0x79c*-0x1||!Number[_0x2e320c(0x1c4)](_0x54d4b6)||_0x54d4b6<-0xcb9+-0xf24+0x1bdd)throw new Error(_0x2e320c(0x1bc));const _0x515e8e=BigInt(_0x43af70)*BigInt(_0x54d4b6);if(!_0x400d73&&_0x515e8e===0x0n||_0x515e8e>BigInt(Number[_0x2e320c(0x1d8)]))throw new Error(_0x2e320c(0x1bc));return Number(_0x515e8e);}function assertFilesystemCapacity(_0x2bf578){const _0x272ed6=_0x4011ec;if(!Number[_0x272ed6(0x1c4)](_0x2bf578[_0x272ed6(0x1c3)])||_0x2bf578[_0x272ed6(0x1c3)]<=-0x8a0+0x4*-0x70f+0x24dc||!Number[_0x272ed6(0x1c4)](_0x2bf578[_0x272ed6(0x1dd)])||_0x2bf578[_0x272ed6(0x1dd)]<-0x1*-0xbef+0x167c+-0x9*0x3d3||_0x2bf578[_0x272ed6(0x1dd)]>_0x2bf578[_0x272ed6(0x1c3)])throw new Error(_0x272ed6(0x1bc));}
|
|
2
|
+
const _0x2c749f=_0x3d61;(function(_0x5319a2,_0x8a200){const _0x2d3563=_0x3d61,_0x3fef01=_0x5319a2();while(!![]){try{const _0x38b9b9=parseInt(_0x2d3563(0x168))/(0xd*0x5e+-0x2648+-0x175*-0x17)*(parseInt(_0x2d3563(0x173))/(0x21*-0x35+-0x196b+0x2042))+-parseInt(_0x2d3563(0x185))/(-0x557*0x4+0x62*0x5c+-0x2c5*0x5)*(parseInt(_0x2d3563(0x187))/(-0x1f96+0xff2+0xfa8))+-parseInt(_0x2d3563(0x163))/(0x4*0x31f+-0x1*-0x2cd+0x7a2*-0x2)+parseInt(_0x2d3563(0x183))/(-0x24b5*-0x1+-0x1b1d*-0x1+-0x3fcc)+parseInt(_0x2d3563(0x165))/(0x1495*0x1+0x1*-0x2113+0xc85)+parseInt(_0x2d3563(0x15b))/(0x6*0x56f+-0x1*-0x1b32+-0x3bc4)+parseInt(_0x2d3563(0x193))/(-0x15f4+-0x4a*-0x22+0xc29)*(-parseInt(_0x2d3563(0x191))/(0xad*-0x35+-0x1*0x1832+0x3c0d));if(_0x38b9b9===_0x8a200)break;else _0x3fef01['push'](_0x3fef01['shift']());}catch(_0x4d1431){_0x3fef01['push'](_0x3fef01['shift']());}}}(_0x3317,-0xad389+0xc7bd4+0x4eb*0x26b));function _0x3317(){const _0x6ae367=['zgLZCg9Zzq','yMXVy2TZ','C3rHCNq','C3rHDhvZ','zMLSzxn5C3rLBunHCgfJAxr5','Aw5Hy3rPDMvszxrLBNrPB25eyxLZ','ode1mdqWr0LxC2LP','DhjPz2DLCKf1Dg9TyxrPy0nSzwfUDxa','CMvSzwfZzwrcExrLCW','C3rVCMfNzunHCgfJAxr5','yxzHAwXHyMXLqNL0zxm','yMf2ywLS','AxntywzLsw50zwDLCG','CMvZB2X2zq','ntKZmZuYnuvItNbuCa','Dw5Yzwy','mtiZmdG3otngvfPwDKO','zxHLy3v0zq','Aw5Hy3rPDMveyxLZ','mZyXoxnsBe5WrW','B3bLCMf0Aw9UCW','BgvUz3rO','CgvYBwfUzw50rgvSzxrLq29UDMvYC2f0Aw9U','B25bDxrVBwf0AwndBgvHBNvWrxjYB3i','C3rVCMu','q09ovKvsu0fusu9ox0Hpu1rjtKDFu1rpuKfhrv9gvuXm','qvzbsuXbqKXf','y29UDMvYC2f0Aw9Uu3rVCMfNzuj5DgvZ','y2fWywnPDhK','y2XLyw51CfrHAwW','nJi2uK9ev252','DgHLBG','ChjLDMLLDW','CgvUzgLUz0nSzwfUDxbdB3vUDa','tufyx1nbrKvFsu5uruDfuG','y2f0y2G','vvbhuKferv9qru5esu5h','CMvSzwfZzunVBNzLCNnHDgLVBG','CNvUqxv0B21HDgLJq2XLyw51Ca','Aw5Hy3rPDMvdBgvHBNvWq2fUzgLKyxrLCW','CgfYC2u','qunusvzf','CNvUq2XLyw51Cev4y2X1C2L2zq','yNnPEMu','Dg90ywXcExrLCW','yMvNAw5dB252zxjZyxrPB25dBgvHBNvW','oda4nJG0ofHHDNvLra','BgfZDefJDgL2Axr5qxq','nNfrEgvbuW','yxnZzxj0q2fUq3jLyxrL','mtm3mdmXmMPWAKLTuW','B3b0Aw9UCW','zMLUzenVBNzLCNnHDgLVBKj5swq','Ag9ZDgvKu3rVCMfNzvvZzwrcExrLCW','zMLSDgvY','BM93','seLhsa','yxv0B21HDgLJq2XLyw51CfrPBwvY','AxndB252zxjZyxrPB25jBLvZzq','yxv0B21HDgLJq2XLyw51Cfn0yxj0zwq','mtbADgzzCxa','Bwf4','mtqYmJKYotD5whPLvvK','CM9VDerPCMvJDg9YEq','rLvmta','q09ovKvsu0fusu9ox0Hpu1rjtKDFu1rpuKfhrv9vtKfwquLmqujmrq'];_0x3317=function(){return _0x6ae367;};return _0x3317();}import{statfs}from'node:fs/promises';function _0x3d61(_0x84c471,_0x59c4cb){_0x84c471=_0x84c471-(0xb*-0x217+-0x353*-0x3+0xe5f);const _0x36b56e=_0x3317();let _0x391ad2=_0x36b56e[_0x84c471];if(_0x3d61['vNrfJo']===undefined){var _0x5a3440=function(_0x170500){const _0x53efc0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5a7aae='',_0xdce927='';for(let _0x174b1a=0xa8a+-0x206e+0x15e4,_0x2618e2,_0x1b7952,_0x568c4d=0x1840+-0x2a*-0x3e+-0x4*0x89b;_0x1b7952=_0x170500['charAt'](_0x568c4d++);~_0x1b7952&&(_0x2618e2=_0x174b1a%(0x20d5+0x3*-0x969+-0x24b*0x2)?_0x2618e2*(-0x7fa*0x1+-0x13*0xa1+0x142d)+_0x1b7952:_0x1b7952,_0x174b1a++%(-0x8d6*0x3+-0x1796+-0x1*-0x321c))?_0x5a7aae+=String['fromCharCode'](-0x1*-0x220+0x1900+-0x1a21&_0x2618e2>>(-(-0x1abf+-0xf5e+-0x1*-0x2a1f)*_0x174b1a&-0x17d*-0x12+-0x1134+0x18*-0x66)):-0x4*-0x706+-0x9*-0xea+-0x2452){_0x1b7952=_0x53efc0['indexOf'](_0x1b7952);}for(let _0x4365df=-0x1a00+0x32a*0x1+0x16d6*0x1,_0xed3c6d=_0x5a7aae['length'];_0x4365df<_0xed3c6d;_0x4365df++){_0xdce927+='%'+('00'+_0x5a7aae['charCodeAt'](_0x4365df)['toString'](0x1314+-0x1930+0x62c))['slice'](-(-0x2328+-0x6ed*-0x1+0x1c3d));}return decodeURIComponent(_0xdce927);};_0x3d61['OIUwUC']=_0x5a3440,_0x3d61['oiWlFH']={},_0x3d61['vNrfJo']=!![];}const _0x4cf942=_0x36b56e[-0x7d8+0xc0*-0x4+0x2*0x56c];_0x3d61['zGykfA']!==_0x4cf942&&(_0x3d61['oiWlFH']={},_0x3d61['zGykfA']=_0x4cf942);const _0x434bbf=_0x3d61['oiWlFH'][_0x84c471];return _0x434bbf===undefined?(_0x391ad2=_0x3d61['OIUwUC'](_0x391ad2),_0x3d61['oiWlFH'][_0x84c471]=_0x391ad2):_0x391ad2=_0x434bbf,_0x391ad2;}import{conversationHostingCleanupExecuteInputSchema,conversationHostingCleanupPreviewInputSchema,conversationHostingCleanupPreviewSchema,conversationHostingCleanupResultSchema,conversationHostingStorageCapacitySchema}from'@myagentroam/protocol';import{nodeOperationData}from'../util/node-operation-data.js';const DAY_MS=(0xd*-0x18b+-0x17a9+-0x10*-0x2bd)*(-0x13af*-0x1+-0xe33+0x4*-0x150)*(0x1cc2+-0x17dd+-0x4a9*0x1)*(0x967+-0xe8e+0x90f),AUTOMATIC_CLEANUP_INTERVAL_MS=DAY_MS;export class ConversationHostingMaintenanceService{[_0x2c749f(0x188)];[_0x2c749f(0x18c)];[_0x2c749f(0x19b)];[_0x2c749f(0x18e)];[_0x2c749f(0x190)]=![];[_0x2c749f(0x172)]=Promise[_0x2c749f(0x162)]();[_0x2c749f(0x176)]=0x1e9f+-0x1*0x226a+0x3cb*0x1;constructor(_0x1f80ff){const _0x3ab16f=_0x2c749f;this[_0x3ab16f(0x188)]=_0x1f80ff,this[_0x3ab16f(0x18c)]=_0x1f80ff[_0x3ab16f(0x18c)]??Date[_0x3ab16f(0x18c)],this[_0x3ab16f(0x19b)]=_0x1f80ff[_0x3ab16f(0x19b)]??(()=>filesystemCapacity(_0x1f80ff[_0x3ab16f(0x16d)][_0x3ab16f(0x194)]));}[_0x2c749f(0x169)](){const _0x4c9772=_0x2c749f;return{'conversation.hosting.storage.inspect':()=>this[_0x4c9772(0x15e)]()[_0x4c9772(0x174)](_0x21abb1=>({'storage':_0x21abb1})),'conversation.hosting.cleanup.preview':_0x36163d=>this[_0x4c9772(0x175)](conversationHostingCleanupPreviewInputSchema[_0x4c9772(0x17d)](nodeOperationData(_0x36163d))[_0x4c9772(0x167)])[_0x4c9772(0x174)](_0x15cde6=>({'preview':_0x15cde6})),'conversation.hosting.cleanup.execute':_0x28d63f=>this[_0x4c9772(0x17f)](()=>this[_0x4c9772(0x166)](conversationHostingCleanupExecuteInputSchema[_0x4c9772(0x17d)](nodeOperationData(_0x28d63f))[_0x4c9772(0x167)]))[_0x4c9772(0x174)](_0x1b9e4d=>({'result':_0x1b9e4d}))};}async[_0x2c749f(0x15e)](){const _0x39b843=_0x2c749f,_0x23326d=this[_0x39b843(0x18c)](),_0x2d8ac1=await this[_0x39b843(0x19b)]();assertFilesystemCapacity(_0x2d8ac1);const _0x3f2392=_0x2d8ac1[_0x39b843(0x181)]-_0x2d8ac1[_0x39b843(0x15f)],_0x27f0d2=Number(BigInt(_0x3f2392)*0x2710n/BigInt(_0x2d8ac1[_0x39b843(0x181)])),_0xee7119=_0x27f0d2>=0xddf+-0x166+0x18a3?_0x39b843(0x195):_0x27f0d2>=-0x1a1f+-0x1*0x12b+-0x59*-0xae?_0x39b843(0x18d):_0x39b843(0x16f);return conversationHostingStorageCapacitySchema[_0x39b843(0x17d)]({'hostedStorageUsedBytes':await this[_0x39b843(0x188)][_0x39b843(0x16d)][_0x39b843(0x18a)](),'filesystemTotalBytes':_0x2d8ac1[_0x39b843(0x181)],'filesystemAvailableBytes':_0x2d8ac1[_0x39b843(0x15f)],'filesystemUsageBasisPoints':_0x27f0d2,'capacity':_0xee7119,'acceptsNewConversations':_0xee7119!==_0x39b843(0x195),'automaticCleanupInactiveDays':this[_0x39b843(0x188)][_0x39b843(0x19c)],'measuredAt':_0x23326d});}async[_0x2c749f(0x186)](){const _0x534beb=_0x2c749f;if((await this[_0x534beb(0x15e)]())[_0x534beb(0x171)]===_0x534beb(0x195))throw new Error(_0x534beb(0x16e));}async[_0x2c749f(0x17b)](){const _0x35f18b=_0x2c749f;await this[_0x35f18b(0x17f)](()=>this[_0x35f18b(0x166)](this[_0x35f18b(0x188)][_0x35f18b(0x19c)]));}async[_0x2c749f(0x199)](){const _0x77842e=_0x2c749f;if(this[_0x77842e(0x190)])return;this[_0x77842e(0x190)]=!![],await this[_0x77842e(0x17b)]()[_0x77842e(0x178)](_0x546814=>this[_0x77842e(0x188)][_0x77842e(0x16c)]?.(_0x546814));if(!this[_0x77842e(0x190)])return;this[_0x77842e(0x18e)]=setInterval(()=>{const _0x5c6930=_0x77842e;this[_0x5c6930(0x15c)]();},AUTOMATIC_CLEANUP_INTERVAL_MS),this[_0x77842e(0x18e)][_0x77842e(0x164)]();}[_0x2c749f(0x197)](){const _0x37aa2e=_0x2c749f;this[_0x37aa2e(0x190)]=![];if(this[_0x37aa2e(0x18e)]!==undefined)clearInterval(this[_0x37aa2e(0x18e)]);return this[_0x37aa2e(0x18e)]=undefined,this[_0x37aa2e(0x176)]===0x24b8+0x19*-0x107+0x5*-0x235?undefined:this[_0x37aa2e(0x172)];}[_0x2c749f(0x15c)](){const _0x51d5da=_0x2c749f;void this[_0x51d5da(0x17b)]()[_0x51d5da(0x178)](_0x214f35=>this[_0x51d5da(0x188)][_0x51d5da(0x16c)]?.(_0x214f35));}[_0x2c749f(0x17f)](_0x6ea9e1){const _0x27292e=_0x2c749f;this[_0x27292e(0x176)]+=-0x3*-0xc3d+-0x5c5+-0x1ef1;const _0xee6a96=this[_0x27292e(0x172)][_0x27292e(0x174)](_0x6ea9e1,_0x6ea9e1);return this[_0x27292e(0x172)]=_0xee6a96[_0x27292e(0x174)](()=>{const _0xc923fd=_0x27292e;this[_0xc923fd(0x176)]-=0x32a*0x1+0x1760*-0x1+-0xcf*-0x19;},()=>{const _0x4fdaff=_0x27292e;this[_0x4fdaff(0x176)]-=-0x2382+-0x10cc+-0x1*-0x344f;}),_0xee6a96;}async[_0x2c749f(0x175)](_0x2392c0){const _0x4a519e=_0x2c749f,_0x308082=this[_0x4a519e(0x18c)](),_0x5add5e=cutoff(_0x308082,_0x2392c0),_0x1dddda=this[_0x4a519e(0x188)][_0x4a519e(0x16d)][_0x4a519e(0x17c)](_0x5add5e)[_0x4a519e(0x18b)](_0x4c6f70=>!this[_0x4a519e(0x188)][_0x4a519e(0x18f)](_0x4c6f70['id']));let _0x117d9e=0xd56+-0x234f+0x15f9;for(const _0xd6257c of _0x1dddda)_0x117d9e+=await this[_0x4a519e(0x188)][_0x4a519e(0x16d)][_0x4a519e(0x170)](_0xd6257c);return conversationHostingCleanupPreviewSchema[_0x4a519e(0x17d)]({'inactiveDays':_0x2392c0,'cutoffAt':_0x5add5e,'candidateConversationCount':_0x1dddda[_0x4a519e(0x16a)],'reclaimableBytes':_0x117d9e,'measuredAt':_0x308082});}async[_0x2c749f(0x166)](_0x5762fd){const _0x53fd18=_0x2c749f,_0x567777=this[_0x53fd18(0x18c)](),_0x193050=cutoff(_0x567777,_0x5762fd);let _0x1945e5=0x6b*-0x50+-0x22c3*-0x1+0x1*-0x153,_0x49b483=0x19*0x4f+0x22d6+0x2a8d*-0x1,_0x5d4cb5=-0x1bc3+-0x13fd+0x20*0x17e;for(const _0x2a968f of this[_0x53fd18(0x188)][_0x53fd18(0x16d)][_0x53fd18(0x17c)](_0x193050)){const _0x51f07b=this[_0x53fd18(0x188)][_0x53fd18(0x182)](_0x2a968f['id']);if(_0x51f07b===undefined){_0x5d4cb5+=-0x1aed+0x23*-0x4+0x1b7a*0x1;continue;}try{const _0x5e2a10=this[_0x53fd18(0x188)][_0x53fd18(0x16d)][_0x53fd18(0x189)](_0x2a968f['id']);if(_0x5e2a10===undefined||_0x5e2a10[_0x53fd18(0x184)]>=_0x193050||_0x5e2a10[_0x53fd18(0x19a)]!==_0x53fd18(0x17e)&&_0x5e2a10[_0x53fd18(0x19a)]!==_0x53fd18(0x179)){_0x5d4cb5+=-0x1840+-0x347*0x3+0x2216;continue;}await this[_0x53fd18(0x188)][_0x53fd18(0x17a)](_0x5e2a10);const _0x36bf1a=await this[_0x53fd18(0x188)][_0x53fd18(0x16d)][_0x53fd18(0x16b)](_0x5e2a10['id']);_0x1945e5+=-0x1d3f*0x1+0x1f8a+-0x24a,_0x49b483+=_0x36bf1a[_0x53fd18(0x15d)];}finally{_0x51f07b();}}const _0x9b9f63=this[_0x53fd18(0x18c)]();return conversationHostingCleanupResultSchema[_0x53fd18(0x17d)]({'inactiveDays':_0x5762fd,'cutoffAt':_0x193050,'deletedConversationCount':_0x1945e5,'releasedBytes':_0x49b483,'skippedConversationCount':_0x5d4cb5,'completedAt':_0x9b9f63});}}function cutoff(_0x257e10,_0x2c19a5){const _0x5a4f3a=_0x2c749f;return Math[_0x5a4f3a(0x192)](-0x77d+0x5*-0xcd+0x1*0xb7e,_0x257e10-_0x2c19a5*DAY_MS);}async function filesystemCapacity(_0x4f007d){const _0x50f91e=_0x2c749f,_0x625de=await statfs(_0x4f007d);return{'totalBytes':safeFilesystemBytes(_0x625de[_0x50f91e(0x180)],_0x625de[_0x50f91e(0x198)]),'availableBytes':safeFilesystemBytes(_0x625de[_0x50f91e(0x180)],_0x625de[_0x50f91e(0x160)],!![])};}function safeFilesystemBytes(_0x5255a1,_0x420c55,_0x51e83b=![]){const _0x16bea8=_0x2c749f;if(!Number[_0x16bea8(0x161)](_0x5255a1)||_0x5255a1<=-0xf9*-0x15+0x2d8*0x6+-0x257d||!Number[_0x16bea8(0x161)](_0x420c55)||_0x420c55<0x1dc6+0x1*0x1439+-0x31ff*0x1)throw new Error(_0x16bea8(0x196));const _0x5d69af=BigInt(_0x5255a1)*BigInt(_0x420c55);if(!_0x51e83b&&_0x5d69af===0x0n||_0x5d69af>BigInt(Number[_0x16bea8(0x177)]))throw new Error(_0x16bea8(0x196));return Number(_0x5d69af);}function assertFilesystemCapacity(_0x30b1ff){const _0x4bca8e=_0x2c749f;if(!Number[_0x4bca8e(0x161)](_0x30b1ff[_0x4bca8e(0x181)])||_0x30b1ff[_0x4bca8e(0x181)]<=-0x1309+0x1061+0x2a8||!Number[_0x4bca8e(0x161)](_0x30b1ff[_0x4bca8e(0x15f)])||_0x30b1ff[_0x4bca8e(0x15f)]<-0x68c*0x2+0x1*-0x1ee3+0x2bfb||_0x30b1ff[_0x4bca8e(0x15f)]>_0x30b1ff[_0x4bca8e(0x181)])throw new Error(_0x4bca8e(0x196));}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* mar-release-protected */
|
|
2
|
+
(function(_0x117c3d,_0x5b27fd){const _0x377c83=_0x4971,_0x32d53d=_0x117c3d();while(!![]){try{const _0x5e0df3=-parseInt(_0x377c83(0xa4))/(0x24ac+-0x1305+-0xfb*0x12)+-parseInt(_0x377c83(0xa5))/(-0x7a6+-0x63c+0xde4)*(parseInt(_0x377c83(0x9e))/(0x21af*-0x1+0x1cec+0x4c6))+parseInt(_0x377c83(0x9d))/(0x6a*0x1f+-0x42c+-0x8a6)*(parseInt(_0x377c83(0x98))/(0xf72+-0x200e+-0x63*-0x2b))+-parseInt(_0x377c83(0x9a))/(-0x26f5+0x1*-0x20d7+0x3a*0x13d)*(parseInt(_0x377c83(0xa0))/(-0xb3a+-0x953+0x1494))+-parseInt(_0x377c83(0xa2))/(-0x1ff+-0x68+-0x1*-0x26f)*(parseInt(_0x377c83(0xa3))/(0x21a7+-0x18e0+-0x8be))+parseInt(_0x377c83(0xa6))/(0x2*0x388+-0x1*0xe13+0x70d)+-parseInt(_0x377c83(0x99))/(0x8*0x24+0x21c6+-0x22db)*(-parseInt(_0x377c83(0xa7))/(-0x5*-0x1cd+-0x5*0x121+-0x350));if(_0x5e0df3===_0x5b27fd)break;else _0x32d53d['push'](_0x32d53d['shift']());}catch(_0x3cf4fd){_0x32d53d['push'](_0x32d53d['shift']());}}}(_0x273f,0xfb26c+-0xe5900+0x86e78));function _0x273f(){const _0x15569c=['mZq4wxPiDKrh','m2PcyMzqyG','B2jQzwn0','nZC0oxrUr3bZsq','x193B3jRC3bHy2vxyxrJAfnLC3nPB25iyxnO','mta5mZG0zKveuLzX','ndu5wKHkuhLf','otq3ntnUr0nXqKy','mJq3mtm2vMjizLHs','oti2mdmZmfHlAhzgrW','nZeYnti0y2f4ELD4','ndy5nvPkvfzcuG','mZa4vvz4ENH5','nJaZnK9RwK5osq','AxnbCNjHEq','x19Yzxf1zxn0vxnLCKLK'];_0x273f=function(){return _0x15569c;};return _0x273f();}function _0x4971(_0x2bdcdf,_0x2c5b73){_0x2bdcdf=_0x2bdcdf-(0x194d+0xa*0x2c7+-0x347b);const _0x507c54=_0x273f();let _0x1d58c7=_0x507c54[_0x2bdcdf];if(_0x4971['FczZom']===undefined){var _0x2b1c11=function(_0x2bf94a){const _0x5c729b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x187901='',_0x142efc='';for(let _0x2bbcd8=0x204e+0x169b+-0x1*0x36e9,_0x2fb6a3,_0x164642,_0x265a99=0x7e6+-0x2e3*0x1+-0x503;_0x164642=_0x2bf94a['charAt'](_0x265a99++);~_0x164642&&(_0x2fb6a3=_0x2bbcd8%(-0x1c38*-0x1+0x2e*-0x4f+-0x16*0xa3)?_0x2fb6a3*(0x198+-0x12*0x1b7+0x1d86)+_0x164642:_0x164642,_0x2bbcd8++%(0x929+0x6*0x99+-0xcbb*0x1))?_0x187901+=String['fromCharCode'](0x9f*0x11+-0x1ed4+-0x1544*-0x1&_0x2fb6a3>>(-(-0x1e86+-0x1*-0x16ac+-0x2*-0x3ee)*_0x2bbcd8&0x3*0x1de+0xa5d*0x1+0x173*-0xb)):0x133*0x12+0x7*-0x361+0x211){_0x164642=_0x5c729b['indexOf'](_0x164642);}for(let _0x2814d7=-0x12b2+0x959+-0x959*-0x1,_0x2c6da6=_0x187901['length'];_0x2814d7<_0x2c6da6;_0x2814d7++){_0x142efc+='%'+('00'+_0x187901['charCodeAt'](_0x2814d7)['toString'](0x6da*0x1+0x5dd+0x29*-0x4f))['slice'](-(0xe8d+0x17f9*0x1+-0x154*0x1d));}return decodeURIComponent(_0x142efc);};_0x4971['dTCTFf']=_0x2b1c11,_0x4971['PvwhpC']={},_0x4971['FczZom']=!![];}const _0x2e5423=_0x507c54[0x246*-0x3+-0x1*-0x7be+-0xec];_0x4971['QFzpus']!==_0x2e5423&&(_0x4971['PvwhpC']={},_0x4971['QFzpus']=_0x2e5423);const _0x591e26=_0x4971['PvwhpC'][_0x2bdcdf];return _0x591e26===undefined?(_0x1d58c7=_0x4971['dTCTFf'](_0x1d58c7),_0x4971['PvwhpC'][_0x2bdcdf]=_0x1d58c7):_0x1d58c7=_0x591e26,_0x1d58c7;}export function nodeOperationData(_0x480784){const _0x26e4e9=_0x4971;if(_0x480784===null||typeof _0x480784!==_0x26e4e9(0x9f)||Array[_0x26e4e9(0x9b)](_0x480784))return _0x480784;const _0x2f1feb={..._0x480784};return delete _0x2f1feb[_0x26e4e9(0x9c)],delete _0x2f1feb[_0x26e4e9(0xa1)],_0x2f1feb;}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myagentroam/node",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.30",
|
|
4
4
|
"description": "MyAgentRoam Node runtime CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"node-pty": "1.1.0",
|
|
26
26
|
"ws": "^8.21.3",
|
|
27
27
|
"zod": "4.4.3",
|
|
28
|
-
"@myagentroam/agent": "^0.9.
|
|
29
|
-
"@myagentroam/protocol": "^0.9.
|
|
28
|
+
"@myagentroam/agent": "^0.9.30",
|
|
29
|
+
"@myagentroam/protocol": "^0.9.30"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/ws": "^8.18.1"
|