trimprompt 1.0.34 → 1.0.35

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.
package/file-watcher.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x19419e=a0_0x799b;(function(_0x3f1be8,_0x29242f){const _0x580b94=a0_0x799b,_0x3fb8d8=_0x3f1be8();while(!![]){try{const _0x379d4f=parseInt(_0x580b94(0x1f7))/0x1+-parseInt(_0x580b94(0x19e))/0x2+-parseInt(_0x580b94(0x1f3))/0x3+parseInt(_0x580b94(0x1b7))/0x4*(-parseInt(_0x580b94(0x203))/0x5)+parseInt(_0x580b94(0x1ae))/0x6*(-parseInt(_0x580b94(0x1a7))/0x7)+-parseInt(_0x580b94(0x1f8))/0x8+parseInt(_0x580b94(0x202))/0x9;if(_0x379d4f===_0x29242f)break;else _0x3fb8d8['push'](_0x3fb8d8['shift']());}catch(_0x39d3f1){_0x3fb8d8['push'](_0x3fb8d8['shift']());}}}(a0_0x23f4,0xb3e41));var __createBinding=this&&this[a0_0x19419e(0x199)]||(Object[a0_0x19419e(0x1f4)]?function(_0x1d9428,_0x299f45,_0x15b8c7,_0x241a6d){const _0x54b920=a0_0x19419e;if(_0x241a6d===undefined)_0x241a6d=_0x15b8c7;var _0x399f14=Object[_0x54b920(0x1d9)](_0x299f45,_0x15b8c7);(!_0x399f14||(_0x54b920(0x1e0)in _0x399f14?!_0x299f45[_0x54b920(0x19d)]:_0x399f14[_0x54b920(0x22e)]||_0x399f14[_0x54b920(0x1a4)]))&&(_0x399f14={'enumerable':!![],'get':function(){return _0x299f45[_0x15b8c7];}}),Object[_0x54b920(0x1ea)](_0x1d9428,_0x241a6d,_0x399f14);}:function(_0x54b573,_0x53cf74,_0x5cbf39,_0x1ce9fa){if(_0x1ce9fa===undefined)_0x1ce9fa=_0x5cbf39;_0x54b573[_0x1ce9fa]=_0x53cf74[_0x5cbf39];}),__setModuleDefault=this&&this[a0_0x19419e(0x1bb)]||(Object['create']?function(_0x2e5fb4,_0x434be9){const _0x294ca9=a0_0x19419e;Object[_0x294ca9(0x1ea)](_0x2e5fb4,_0x294ca9(0x230),{'enumerable':!![],'value':_0x434be9});}:function(_0x17a662,_0x5aee82){_0x17a662['default']=_0x5aee82;}),__importStar=this&&this[a0_0x19419e(0x19c)]||(function(){var _0x14c194=function(_0x49f43f){const _0xa8ecd9=a0_0x799b;return _0x14c194=Object[_0xa8ecd9(0x19b)]||function(_0x17e8b3){const _0x342c4d=_0xa8ecd9;var _0x4d089e=[];for(var _0x193b3e in _0x17e8b3)if(Object[_0x342c4d(0x246)][_0x342c4d(0x251)][_0x342c4d(0x1ee)](_0x17e8b3,_0x193b3e))_0x4d089e[_0x4d089e[_0x342c4d(0x248)]]=_0x193b3e;return _0x4d089e;},_0x14c194(_0x49f43f);};return function(_0x8e7a3c){const _0x1efadc=a0_0x799b;if(_0x8e7a3c&&_0x8e7a3c[_0x1efadc(0x19d)])return _0x8e7a3c;var _0x59e9ec={};if(_0x8e7a3c!=null){for(var _0x1a7288=_0x14c194(_0x8e7a3c),_0x462d34=0x0;_0x462d34<_0x1a7288[_0x1efadc(0x248)];_0x462d34++)if(_0x1a7288[_0x462d34]!==_0x1efadc(0x230))__createBinding(_0x59e9ec,_0x8e7a3c,_0x1a7288[_0x462d34]);}return __setModuleDefault(_0x59e9ec,_0x8e7a3c),_0x59e9ec;};}());Object['defineProperty'](exports,a0_0x19419e(0x19d),{'value':!![]}),exports[a0_0x19419e(0x1af)]=loadConfig,exports[a0_0x19419e(0x1d0)]=saveConfig,exports[a0_0x19419e(0x214)]=getAgentStoragePaths,exports[a0_0x19419e(0x1ff)]=getLatestSessionFile,exports[a0_0x19419e(0x220)]=loadSessionsState,exports[a0_0x19419e(0x237)]=saveSessionStateItem,exports[a0_0x19419e(0x236)]=processSessionFile,exports[a0_0x19419e(0x254)]=compactSessionCopy,exports[a0_0x19419e(0x1b2)]=compactLiveSession,exports[a0_0x19419e(0x233)]=installWindowsStartupService,exports[a0_0x19419e(0x1f1)]=startWatcherDaemon;const fs=__importStar(require('fs')),path=__importStar(require('path')),os=__importStar(require('os')),cache_manager_1=require('./cache-manager'),tracker_1=require(a0_0x19419e(0x219)),baseDir=path[a0_0x19419e(0x20f)](os[a0_0x19419e(0x1b0)](),'.trimprompt'),configPath=path['join'](baseDir,a0_0x19419e(0x1e8)),DEFAULT_CONFIG={'autostart_enabled':!![],'conversation_toggles':{'conv_claude':!![],'conv_codex':!![],'conv_cursor':!![],'conv_aider':!![],'conv_copilot':!![],'conv_openclaw':!![],'conv_opencode':!![],'conv_cortex':!![]},'custom_storage_paths':{'claude':null,'codex':null,'cursor':null,'aider':null,'copilot':null,'openclaw':null,'opencode':null,'cortex':null}};function a0_0x799b(_0x55c360,_0x1240ef){_0x55c360=_0x55c360-0x195;const _0x23f4b8=a0_0x23f4();let _0x799b0e=_0x23f4b8[_0x55c360];return _0x799b0e;}function loadConfig(){const _0x13d142=a0_0x19419e;try{if(!fs[_0x13d142(0x1c9)](baseDir))fs['mkdirSync'](baseDir,{'recursive':!![]});if(fs['existsSync'](configPath)){const _0x2b0c74=JSON[_0x13d142(0x1e2)](fs[_0x13d142(0x19a)](configPath,_0x13d142(0x1f0)));return{...DEFAULT_CONFIG,..._0x2b0c74,'conversation_toggles':{...DEFAULT_CONFIG[_0x13d142(0x1c6)],..._0x2b0c74[_0x13d142(0x1c6)]||{}},'custom_storage_paths':{...DEFAULT_CONFIG['custom_storage_paths'],..._0x2b0c74[_0x13d142(0x1c2)]||{}}};}}catch{}return DEFAULT_CONFIG;}function saveConfig(_0x3a0244){const _0x288e67=a0_0x19419e,_0x4abd3b=loadConfig(),_0x5a8066={..._0x4abd3b,..._0x3a0244,'conversation_toggles':{..._0x4abd3b['conversation_toggles'],..._0x3a0244[_0x288e67(0x1c6)]||{}},'custom_storage_paths':{..._0x4abd3b[_0x288e67(0x1c2)],..._0x3a0244[_0x288e67(0x1c2)]||{}}};try{if(!fs[_0x288e67(0x1c9)](baseDir))fs[_0x288e67(0x22b)](baseDir,{'recursive':!![]});fs[_0x288e67(0x22c)](configPath,JSON[_0x288e67(0x21f)](_0x5a8066,null,0x2),_0x288e67(0x1f0));}catch{}return _0x5a8066;}function getAgentStoragePaths(_0x7da94e){const _0x4ac033=a0_0x19419e,_0x18a7aa=loadConfig(),_0x167f63=_0x18a7aa[_0x4ac033(0x1c2)][_0x7da94e];if(_0x167f63&&fs['existsSync'](_0x167f63))return[_0x167f63];const _0x53ec10=os[_0x4ac033(0x1b0)](),_0x222abb=process['platform']==='win32',_0x1e8189=process[_0x4ac033(0x213)]===_0x4ac033(0x1a2);switch(_0x7da94e){case _0x4ac033(0x206):return[path[_0x4ac033(0x20f)](_0x53ec10,_0x4ac033(0x1b9),'projects'),path[_0x4ac033(0x20f)](_0x53ec10,_0x4ac033(0x1b9),_0x4ac033(0x1ba))];case'codex':return[path[_0x4ac033(0x20f)](_0x53ec10,_0x4ac033(0x1cd),_0x4ac033(0x24b)),path[_0x4ac033(0x20f)](_0x53ec10,_0x4ac033(0x1ca),_0x4ac033(0x21c),_0x4ac033(0x205))];case _0x4ac033(0x1a9):case _0x4ac033(0x196):return[path[_0x4ac033(0x20f)](_0x53ec10,'.gemini',_0x4ac033(0x196)),path[_0x4ac033(0x20f)](_0x53ec10,_0x4ac033(0x1e1)),path[_0x4ac033(0x20f)](_0x53ec10,_0x4ac033(0x1ca),'Roaming',_0x4ac033(0x22f)),path[_0x4ac033(0x20f)](_0x53ec10,_0x4ac033(0x223),_0x4ac033(0x1a9))];case'cursor':if(_0x222abb)return[path['join'](_0x53ec10,_0x4ac033(0x1ca),'Roaming',_0x4ac033(0x240),_0x4ac033(0x232),_0x4ac033(0x247))];if(_0x1e8189)return[path[_0x4ac033(0x20f)](_0x53ec10,'Library',_0x4ac033(0x1a1),_0x4ac033(0x240),'User',_0x4ac033(0x247))];return[path['join'](_0x53ec10,_0x4ac033(0x223),_0x4ac033(0x240),_0x4ac033(0x232),'workspaceStorage')];case _0x4ac033(0x1fa):return[process[_0x4ac033(0x1e5)](),path[_0x4ac033(0x20f)](_0x53ec10,_0x4ac033(0x20b))];case _0x4ac033(0x1b4):if(_0x222abb)return[path[_0x4ac033(0x20f)](_0x53ec10,_0x4ac033(0x1ca),_0x4ac033(0x1df),_0x4ac033(0x1ab))];return[path[_0x4ac033(0x20f)](_0x53ec10,_0x4ac033(0x223),'github-copilot-cli')];case _0x4ac033(0x259):return[path[_0x4ac033(0x20f)](_0x53ec10,_0x4ac033(0x23a),_0x4ac033(0x238)),path['join'](process[_0x4ac033(0x1e5)](),_0x4ac033(0x23a),_0x4ac033(0x21a))];case _0x4ac033(0x1a3):return[path[_0x4ac033(0x20f)](_0x53ec10,_0x4ac033(0x231),_0x4ac033(0x24b))];case _0x4ac033(0x1ac):return[path[_0x4ac033(0x20f)](_0x53ec10,_0x4ac033(0x225),_0x4ac033(0x256))];default:return[];}}function getLatestSessionFile(_0x11deb6){const _0x13669e=a0_0x19419e,_0x57045a=getAgentStoragePaths(_0x11deb6);let _0x555857=null,_0x43037d=0x0,_0x334236=null,_0x4d19ee=null;for(const _0x4499c3 of _0x57045a){if(fs[_0x13669e(0x1c9)](_0x4499c3)){if(!_0x4d19ee)_0x4d19ee=_0x4499c3;const _0x23aa76=(_0x65db8a,_0x25484e=0x0)=>{const _0x6e84b2=_0x13669e;if(_0x25484e>0x6)return;try{const _0x41b8e4=fs[_0x6e84b2(0x1e3)](_0x65db8a,{'withFileTypes':!![]});for(const _0x22483b of _0x41b8e4){const _0xdc23=path[_0x6e84b2(0x20f)](_0x65db8a,_0x22483b[_0x6e84b2(0x211)]);if(_0x22483b[_0x6e84b2(0x20a)]()){const _0x3b291c=_0x22483b['name'][_0x6e84b2(0x1b8)]();if(_0x3b291c==='node_modules'||_0x3b291c===_0x6e84b2(0x210)||_0x3b291c==='.venv'||_0x3b291c==='env'||_0x3b291c===_0x6e84b2(0x23f)||_0x3b291c==='__pycache__'||_0x3b291c===_0x6e84b2(0x1c5)||_0x3b291c==='dist'||_0x3b291c===_0x6e84b2(0x1b5)||_0x3b291c===_0x6e84b2(0x1d1)||_0x3b291c===_0x6e84b2(0x1ef))continue;_0x23aa76(_0xdc23,_0x25484e+0x1);}else{if(_0x22483b[_0x6e84b2(0x22d)]()&&!_0x22483b['name'][_0x6e84b2(0x23e)]('.')){const _0x122747=_0x22483b['name'][_0x6e84b2(0x1b8)]();if(_0x122747[_0x6e84b2(0x209)](_0x6e84b2(0x1de))||_0x122747[_0x6e84b2(0x1d8)](_0x6e84b2(0x1be))||_0x122747[_0x6e84b2(0x1d8)](_0x6e84b2(0x224))||_0x122747[_0x6e84b2(0x1d8)](_0x6e84b2(0x20c))||_0x122747[_0x6e84b2(0x1d8)](_0x6e84b2(0x1ec))||_0x122747[_0x6e84b2(0x1d8)](_0x6e84b2(0x221))||_0x122747[_0x6e84b2(0x1d8)]('.gif')||_0x122747['endsWith'](_0x6e84b2(0x1e9))||_0x122747[_0x6e84b2(0x1d8)](_0x6e84b2(0x1f6))||_0x122747['endsWith'](_0x6e84b2(0x1a0))||_0x122747['endsWith'](_0x6e84b2(0x1f5))||_0x122747[_0x6e84b2(0x1d8)](_0x6e84b2(0x250))||_0x122747[_0x6e84b2(0x1d8)](_0x6e84b2(0x239))||_0x122747[_0x6e84b2(0x1d8)](_0x6e84b2(0x24f))||_0x122747[_0x6e84b2(0x23e)](_0x6e84b2(0x23c))||_0x122747[_0x6e84b2(0x23e)](_0x6e84b2(0x1dd)))continue;const _0x17bfd8=fs[_0x6e84b2(0x1dc)](_0xdc23);_0x17bfd8[_0x6e84b2(0x200)]>_0x43037d&&(_0x43037d=_0x17bfd8[_0x6e84b2(0x200)],_0x555857=_0x22483b[_0x6e84b2(0x211)],_0x334236=_0xdc23,_0x4d19ee=_0x4499c3);}}}}catch{}};_0x23aa76(_0x4499c3);}}return{'fileName':_0x555857,'lastModified':_0x43037d>0x0?new Date(_0x43037d)[_0x13669e(0x1cc)]():null,'fullPath':_0x334236,'dirPath':_0x4d19ee};}const debounceTimers=new Map(),lastLoggedTimes=new Map(),OFFLOAD_THRESHOLD_CHARS=0x7d0;function compressMessageContent(_0x1b0791,_0x3abd55,_0x31651a){const _0x48cf98=a0_0x19419e;let _0xdc2a71=![],_0x15dd48=0x0;if(!_0x1b0791)return{'modified':_0xdc2a71,'savedTokens':_0x15dd48};const _0x1d9cc7=_0x2bfb93=>_0x2bfb93[_0x48cf98(0x1bc)](/\r\n/g,'\x0a')[_0x48cf98(0x1bc)](/\n{3,}/g,'\x0a\x0a');if(typeof _0x1b0791[_0x48cf98(0x249)]==='string'){let _0x149cb2=_0x1b0791[_0x48cf98(0x249)],_0x12480d=_0x1d9cc7(_0x149cb2);_0x12480d[_0x48cf98(0x248)]<_0x149cb2[_0x48cf98(0x248)]&&(_0x1b0791['content']=_0x12480d,_0xdc2a71=!![],_0x15dd48+=Math[_0x48cf98(0x244)]((_0x149cb2[_0x48cf98(0x248)]-_0x12480d[_0x48cf98(0x248)])/0x4));if(_0x1b0791[_0x48cf98(0x249)][_0x48cf98(0x248)]>OFFLOAD_THRESHOLD_CHARS&&!_0x1b0791[_0x48cf98(0x249)][_0x48cf98(0x209)](_0x48cf98(0x1ce))){const _0x172376=_0x48cf98(0x1c1)+Math[_0x48cf98(0x244)](_0x1b0791[_0x48cf98(0x249)]['length']/0x4)+_0x48cf98(0x1db),_0x3a7515=(0x0,cache_manager_1[_0x48cf98(0x227)])(_0x3abd55,_0x31651a,_0x1b0791[_0x48cf98(0x249)],_0x172376);_0x1b0791[_0x48cf98(0x249)]=_0x48cf98(0x24a)+_0x3a7515[_0x48cf98(0x1fe)]+_0x48cf98(0x1c4)+_0x3a7515[_0x48cf98(0x217)]+_0x48cf98(0x24d)+_0x3a7515['chunk_id']+'`\x0a',_0xdc2a71=!![],_0x15dd48+=Math[_0x48cf98(0x216)](0x0,_0x3a7515[_0x48cf98(0x1fe)]-_0x3a7515[_0x48cf98(0x257)]);}}else{if(Array[_0x48cf98(0x22a)](_0x1b0791[_0x48cf98(0x249)]))for(const _0x80aff of _0x1b0791['content']){if(_0x80aff&&typeof _0x80aff===_0x48cf98(0x212)){if(typeof _0x80aff[_0x48cf98(0x1d3)]===_0x48cf98(0x1d2)){let _0x356c4c=_0x80aff[_0x48cf98(0x1d3)],_0x565edf=_0x1d9cc7(_0x356c4c);_0x565edf['length']<_0x356c4c[_0x48cf98(0x248)]&&(_0x80aff[_0x48cf98(0x1d3)]=_0x565edf,_0xdc2a71=!![],_0x15dd48+=Math[_0x48cf98(0x244)]((_0x356c4c[_0x48cf98(0x248)]-_0x565edf['length'])/0x4));if(_0x80aff['text']['length']>OFFLOAD_THRESHOLD_CHARS&&!_0x80aff[_0x48cf98(0x1d3)]['includes'](_0x48cf98(0x1ce))){const _0x335d9c=_0x48cf98(0x245)+Math[_0x48cf98(0x244)](_0x80aff[_0x48cf98(0x1d3)]['length']/0x4)+_0x48cf98(0x1db),_0x2adfba=(0x0,cache_manager_1[_0x48cf98(0x227)])(_0x3abd55,_0x31651a,_0x80aff['text'],_0x335d9c);_0x80aff['text']=_0x48cf98(0x208)+_0x2adfba[_0x48cf98(0x217)]+_0x48cf98(0x1c7)+_0x2adfba[_0x48cf98(0x217)]+'`\x0a',_0xdc2a71=!![],_0x15dd48+=Math[_0x48cf98(0x216)](0x0,_0x2adfba['raw_tokens']-_0x2adfba[_0x48cf98(0x257)]);}}else{if(typeof _0x80aff['content']===_0x48cf98(0x1d2)){let _0x104ae6=_0x80aff[_0x48cf98(0x249)],_0x5061b2=_0x1d9cc7(_0x104ae6);_0x5061b2[_0x48cf98(0x248)]<_0x104ae6['length']&&(_0x80aff[_0x48cf98(0x249)]=_0x5061b2,_0xdc2a71=!![],_0x15dd48+=Math[_0x48cf98(0x244)]((_0x104ae6[_0x48cf98(0x248)]-_0x5061b2[_0x48cf98(0x248)])/0x4));if(_0x80aff['content']['length']>OFFLOAD_THRESHOLD_CHARS&&!_0x80aff[_0x48cf98(0x249)][_0x48cf98(0x209)](_0x48cf98(0x1ce))){const _0x4156ac=_0x48cf98(0x1b1)+Math[_0x48cf98(0x244)](_0x80aff[_0x48cf98(0x249)][_0x48cf98(0x248)]/0x4)+'\x20tokens).',_0x191344=(0x0,cache_manager_1[_0x48cf98(0x227)])(_0x3abd55,_0x31651a,_0x80aff[_0x48cf98(0x249)],_0x4156ac);_0x80aff[_0x48cf98(0x249)]=_0x48cf98(0x208)+_0x191344[_0x48cf98(0x217)]+'`\x0a>\x20Retrieve\x20with:\x20`trim\x20retrieve\x20'+_0x191344[_0x48cf98(0x217)]+'`\x0a',_0xdc2a71=!![],_0x15dd48+=Math['max'](0x0,_0x191344[_0x48cf98(0x1fe)]-_0x191344[_0x48cf98(0x257)]);}}}}}}return{'modified':_0xdc2a71,'savedTokens':_0x15dd48};}const sessionsStatePath=path[a0_0x19419e(0x20f)](baseDir,a0_0x19419e(0x215));let sessionsStateMemoryCache=null;function a0_0x23f4(){const _0x14263e=['compressed_tokens','prompt_turn','openclaw','messages','antigravity','split','tokens','__createBinding','readFileSync','getOwnPropertyNames','__importStar','__esModule','2942876gtWdCT','system','.wal','Application\x20Support','darwin','opencode','configurable','matchAll','compact_copy','120701UDmhLg','push','gemini','live-conv','github-copilot-cli','cortex','repeat','408SLravG','loadConfig','homedir','Summary:\x20Tool\x20result\x20offloaded\x20(','compactLiveSession','byteLength','copilot','build','type','4921196uWxmzT','toLowerCase','.claude','history','__setModuleDefault','replace','modified','.db','autoCompactSaved','set','Summary:\x20Content\x20offloaded\x20(','custom_storage_paths','conv_','\x20tokens)\x20was\x20moved\x20to\x20local\x20side-cache.\x0a>\x20**Chunk\x20Reference\x20ID:**\x20`','.next','conversation_toggles','`\x0a>\x20Retrieve\x20with:\x20`trim\x20retrieve\x20','lineCount','existsSync','AppData','./proxy-conv','toISOString','.codex','TrimPrompt\x20Cache\x20Engine','activeSavedTokens','saveConfig','out','string','text','.json','officialCompactSaved','cursor','role','endsWith','getOwnPropertyDescriptor','./hooks/claude-hook','\x20tokens).','statSync','image_','.compact','Local','get','.gemini','parse','readdirSync','TrimPromptDaemon.vbs','cwd','basename','renameSync','config.json','.webp','defineProperty','Microsoft','.jpg','cli.js','call','.agents','utf8','startWatcherDaemon','Windows','2841774QraGzn','create','.shm','.pb','999475UdvjYd','900784odoGcw','find','aider','compaction\x20failed','\x22\x20&\x20\x22\x22\x22\x20ui\x20--headless\x22,\x200,\x20False\x0a','message','raw_tokens','getLatestSessionFile','mtimeMs','logExecution','42043275UxNxEb','5kLgmMw','savedTokens','Codex','claude','size','\x0a>\x20[!IMPORTANT]\x0a>\x20**[TrimPrompt\x20Cache\x20Engine\x20—\x20Context\x20Offloaded]**\x0a>\x20**Chunk\x20Reference\x20ID:**\x20`','includes','isDirectory','.aider.chat.history.md','.png','.jsonl','has','join','.git','name','object','platform','getAgentStoragePaths','sessions_state.json','max','chunk_id','codex','./tracker','context','saved','Roaming','Set\x20WshShell\x20=\x20CreateObject(\x22WScript.Shell\x22)\x0aWshShell.Run\x20\x22node\x20\x22\x22\x22\x20&\x20\x22','hookSavedTokens','stringify','loadSessionsState','.jpeg','filter','.config','.vscdb','.cortex','assign','saveChunk','dirname','.json1','isArray','mkdirSync','writeFileSync','isFile','writable','Gemini','default','.opencode','User','installWindowsStartupService','tracker','compact:','processSessionFile','saveSessionStateItem','storage','.lock','.openclaw','none','media__','Startup','startsWith','venv','Cursor','fullPath','Unsupported\x20extension','sideCacheSaved','ceil','Summary:\x20Text\x20block\x20offloaded\x20(','prototype','workspaceStorage','length','content','\x0a>\x20[!IMPORTANT]\x0a>\x20**[TrimPrompt\x20Cache\x20Engine\x20—\x20Context\x20Offloaded]**\x0a>\x20The\x20raw\x20content\x20of\x20this\x20step\x20(','sessions','watch','`\x0a>\x20If\x20required,\x20execute:\x20`trim\x20retrieve\x20','Programs','.dat','.tmp','hasOwnProperty','extname','round','compactSessionCopy','trim','cache'];a0_0x23f4=function(){return _0x14263e;};return a0_0x23f4();}function loadSessionsState(){const _0x36be39=a0_0x19419e;try{if(fs[_0x36be39(0x1c9)](sessionsStatePath)){const _0x77e2db=JSON[_0x36be39(0x1e2)](fs[_0x36be39(0x19a)](sessionsStatePath,'utf8'));if(_0x77e2db&&typeof _0x77e2db==='object')return sessionsStateMemoryCache=_0x77e2db,_0x77e2db;}}catch{}return sessionsStateMemoryCache||{};}function saveSessionStateItem(_0x55f74e,_0x2f1d01,_0x42e22d,_0x29727e=0x0,_0x49bcd0=0x0,_0x892f0=0x0){const _0x5a5338=a0_0x19419e;try{const _0xa443a8=loadSessionsState(),_0x2552f3=_0xa443a8[_0x55f74e]||{},_0x4c3f41=_0x49bcd0||_0x2552f3[_0x5a5338(0x1bf)]||0x0,_0x2d0886=_0x892f0||_0x2552f3['hookSavedTokens']||0x0,_0x5699a0=_0x42e22d!==undefined?_0x42e22d:_0x2552f3['officialCompactSaved']||0x0;_0xa443a8[_0x55f74e]={'lineCount':_0x2f1d01||_0x2552f3[_0x5a5338(0x1c8)]||0x1,'activeSavedTokens':_0x5699a0+_0x4c3f41+_0x2d0886,'sideCacheSaved':_0x29727e||_0x2552f3[_0x5a5338(0x243)]||0x0,'officialCompactSaved':_0x5699a0,'autoCompactSaved':_0x4c3f41,'hookSavedTokens':_0x2d0886},sessionsStateMemoryCache=_0xa443a8;if(!fs[_0x5a5338(0x1c9)](baseDir))fs[_0x5a5338(0x22b)](baseDir,{'recursive':!![]});const _0x5967d1=sessionsStatePath+'.tmp';fs['writeFileSync'](_0x5967d1,JSON[_0x5a5338(0x21f)](_0xa443a8,null,0x2),'utf8'),fs[_0x5a5338(0x1e7)](_0x5967d1,sessionsStatePath);}catch{}}function processSessionFile(_0xec5c54,_0x5736b3){const _0x579a1a=a0_0x19419e;try{if(!fs[_0x579a1a(0x1c9)](_0xec5c54))return;const _0x302365=fs[_0x579a1a(0x1dc)](_0xec5c54);if(_0x302365[_0x579a1a(0x20a)]()||_0x302365[_0x579a1a(0x207)]===0x0)return;const _0x4ea476=loadConfig(),_0x140c95=_0x579a1a(0x1c3)+_0x5736b3;if(_0x4ea476[_0x579a1a(0x1c6)][_0x140c95]===![])return;const _0x1d0ea5=fs[_0x579a1a(0x19a)](_0xec5c54,_0x579a1a(0x1f0)),_0x590a19=path[_0x579a1a(0x252)](_0xec5c54)[_0x579a1a(0x1b8)]();let _0x171aa9=0x1;if(_0x590a19==='.jsonl'||_0x590a19===_0x579a1a(0x229))_0x171aa9=_0x1d0ea5['split']('\x0a')[_0x579a1a(0x222)](Boolean)['length'];else{if(_0x590a19===_0x579a1a(0x1d4))try{const _0x302b49=JSON[_0x579a1a(0x1e2)](_0x1d0ea5),_0x420e50=Array[_0x579a1a(0x22a)](_0x302b49[_0x579a1a(0x195)])?_0x302b49[_0x579a1a(0x195)]:Array[_0x579a1a(0x22a)](_0x302b49)?_0x302b49:null;if(_0x420e50)_0x171aa9=_0x420e50[_0x579a1a(0x248)];}catch{}}let _0x43e5fd=0x0;if((_0x590a19===_0x579a1a(0x20d)||_0x590a19===_0x579a1a(0x229))&&_0x1d0ea5[_0x579a1a(0x209)]('saved')&&_0x1d0ea5[_0x579a1a(0x209)](_0x579a1a(0x198))){const _0x470ab4=/(?:Compacted conversation\s*·\s*)?saved\s*([\d\.]+)k?\s*tokens/gi;for(const _0x58961c of _0x1d0ea5[_0x579a1a(0x197)]('\x0a')){if(!_0x58961c['includes'](_0x579a1a(0x21b))||!_0x58961c[_0x579a1a(0x209)](_0x579a1a(0x198)))continue;try{const _0x1fea2b=JSON[_0x579a1a(0x1e2)](_0x58961c);if(_0x1fea2b[_0x579a1a(0x1b6)]!==_0x579a1a(0x19f))continue;const _0xb22a1e=typeof _0x1fea2b[_0x579a1a(0x249)]===_0x579a1a(0x1d2)?_0x1fea2b[_0x579a1a(0x249)]:_0x1fea2b[_0x579a1a(0x1fd)]&&typeof _0x1fea2b[_0x579a1a(0x1fd)]['content']==='string'?_0x1fea2b[_0x579a1a(0x1fd)][_0x579a1a(0x249)]:'';if(!_0xb22a1e)continue;for(const _0x25fd15 of _0xb22a1e[_0x579a1a(0x1a5)](_0x470ab4)){let _0x4e2e08=parseFloat(_0x25fd15[0x1]);if(_0x25fd15[0x0][_0x579a1a(0x1b8)]()[_0x579a1a(0x209)]('k'))_0x4e2e08=_0x4e2e08*0x3e8;_0x43e5fd+=Math['round'](_0x4e2e08);}}catch{}}}const _0x40178a=loadSessionsState(),_0x3e4cb8=_0x40178a[_0xec5c54],_0xd00f35=_0x3e4cb8?_0x3e4cb8[_0x579a1a(0x1c8)]:0x0,_0x5364da=_0x3e4cb8?_0x3e4cb8[_0x579a1a(0x1cf)]||0x0:0x0;if(_0xd00f35>0x0&&_0x171aa9>_0xd00f35&&_0x5364da>0x0){const _0x37d718='conv:'+_0x5736b3;tracker_1[_0x579a1a(0x234)][_0x579a1a(0x201)](_0x37d718,'A'[_0x579a1a(0x1ad)](_0x5364da*0x4),'',0x0,undefined,[_0x579a1a(0x1c3)+_0x5736b3,_0x579a1a(0x1aa),_0x5736b3,_0x579a1a(0x258)]);}const _0x35adbc=_0x3e4cb8&&_0x3e4cb8['officialCompactSaved']!==undefined?_0x3e4cb8[_0x579a1a(0x1d5)]:0x0,_0x3acfe9=Math[_0x579a1a(0x216)](_0x35adbc,_0x43e5fd);saveSessionStateItem(_0xec5c54,_0x171aa9,_0x3acfe9,0x0,0x0,0x0);}catch{}}function compactSessionCopy(_0x447e00,_0x13399a){const _0x23dc86=a0_0x19419e;try{if(!fs[_0x23dc86(0x1c9)](_0x447e00))return{'ok':![],'reason':'Session\x20file\x20not\x20found'};const _0x6be111=path[_0x23dc86(0x252)](_0x447e00)['toLowerCase']();if(_0x6be111!=='.json'&&_0x6be111!==_0x23dc86(0x20d)&&_0x6be111!==_0x23dc86(0x229))return{'ok':![],'reason':'Unsupported\x20format\x20\x27'+(_0x6be111||_0x23dc86(0x23b))+'\x27\x20—\x20only\x20JSON/JSONL\x20sessions\x20can\x20be\x20compacted\x20(binary\x20.pb/.db\x20stores\x20are\x20not\x20supported)'};const _0x34d46e=fs[_0x23dc86(0x19a)](_0x447e00,_0x23dc86(0x1f0)),_0x471ccf=Buffer[_0x23dc86(0x1b3)](_0x34d46e,_0x23dc86(0x1f0)),_0x80b725=path['basename'](_0x447e00,_0x6be111);let _0x187713=_0x34d46e,_0x20686a=![];if(_0x6be111===_0x23dc86(0x1d4)){const _0x2ecebc=JSON[_0x23dc86(0x1e2)](_0x34d46e),_0x3c5a66=Array[_0x23dc86(0x22a)](_0x2ecebc[_0x23dc86(0x195)])?_0x2ecebc[_0x23dc86(0x195)]:Array['isArray'](_0x2ecebc)?_0x2ecebc:null;if(_0x3c5a66){for(const _0x5a1938 of _0x3c5a66){const _0x5179ed=compressMessageContent(_0x5a1938,_0x80b725,_0x13399a);if(_0x5179ed[_0x23dc86(0x1bd)])_0x20686a=!![];}if(_0x20686a)_0x187713=JSON[_0x23dc86(0x21f)](_0x2ecebc,null,0x2);}}else{const _0x5ef0de=_0x34d46e[_0x23dc86(0x197)]('\x0a'),_0x4f552b=[];for(let _0x4e69d0 of _0x5ef0de){if(!_0x4e69d0[_0x23dc86(0x255)]()){_0x4f552b['push'](_0x4e69d0);continue;}try{const _0x231550=JSON[_0x23dc86(0x1e2)](_0x4e69d0),_0x179928=_0x231550[_0x23dc86(0x1fd)]||_0x231550;if(_0x179928){const _0x1991e9=compressMessageContent(_0x179928,_0x80b725,_0x13399a);_0x1991e9[_0x23dc86(0x1bd)]&&(_0x20686a=!![],_0x4e69d0=JSON[_0x23dc86(0x21f)](_0x231550));}}catch{}_0x4f552b[_0x23dc86(0x1a8)](_0x4e69d0);}if(_0x20686a)_0x187713=_0x4f552b[_0x23dc86(0x20f)]('\x0a');}const _0x4dfe25=Buffer[_0x23dc86(0x1b3)](_0x187713,_0x23dc86(0x1f0)),_0x3eaa3a=path[_0x23dc86(0x20f)](path[_0x23dc86(0x228)](_0x447e00),_0x80b725+'.compact'+_0x6be111);fs[_0x23dc86(0x22c)](_0x3eaa3a,_0x187713,_0x23dc86(0x1f0));const _0x30ca71=Math[_0x23dc86(0x244)](_0x471ccf/0x4),_0x162256=Math[_0x23dc86(0x244)](_0x4dfe25/0x4),_0x47ffa8=Math['max'](0x0,_0x30ca71-_0x162256),_0x160fc4=_0x471ccf>0x0?Math[_0x23dc86(0x253)]((0x1-_0x4dfe25/_0x471ccf)*0x3e8)/0xa:0x0;return _0x47ffa8>0x0&&tracker_1['tracker'][_0x23dc86(0x201)]('compact:'+_0x13399a,_0x34d46e,_0x187713,_0x47ffa8,undefined,[_0x23dc86(0x1c3)+_0x13399a,'live-conv',_0x13399a,_0x23dc86(0x1a6)]),{'ok':!![],'compactPath':_0x3eaa3a,'rawBytes':_0x471ccf,'compressedBytes':_0x4dfe25,'rawTokens':_0x30ca71,'compressedTokens':_0x162256,'savedTokens':_0x47ffa8,'reductionPct':_0x160fc4};}catch(_0x299a1d){return{'ok':![],'reason':_0x299a1d?.['message']||_0x23dc86(0x1fb)};}}function compactLiveSession(_0x294cb7,_0x49cc01){const _0x516305=a0_0x19419e;try{if(!fs['existsSync'](_0x294cb7))return{'ok':![],'savedTokens':0x0,'reason':'File\x20not\x20found'};const _0x4b5028=path[_0x516305(0x252)](_0x294cb7)['toLowerCase']();if(_0x4b5028!==_0x516305(0x1d4)&&_0x4b5028!==_0x516305(0x20d)&&_0x4b5028!==_0x516305(0x229))return{'ok':![],'savedTokens':0x0,'reason':_0x516305(0x242)};const _0x3da27a=fs[_0x516305(0x19a)](_0x294cb7,_0x516305(0x1f0)),_0x4926da=Buffer[_0x516305(0x1b3)](_0x3da27a,'utf8'),_0x51a6d3=Math[_0x516305(0x244)](_0x4926da/0x4),_0x38f8e7=path[_0x516305(0x1e6)](_0x294cb7,_0x4b5028);let _0x30bd59=_0x3da27a,_0x321519=![];if(_0x4b5028===_0x516305(0x1d4)){const _0x1007e2=JSON[_0x516305(0x1e2)](_0x3da27a),_0x533f36=Array['isArray'](_0x1007e2['messages'])?_0x1007e2[_0x516305(0x195)]:Array[_0x516305(0x22a)](_0x1007e2)?_0x1007e2:null;if(_0x533f36){for(const _0x193b4d of _0x533f36){const _0xfbed88=compressMessageContent(_0x193b4d,_0x38f8e7,_0x49cc01);if(_0xfbed88['modified'])_0x321519=!![];}const {compressConversation:_0x6d04c}=require(_0x516305(0x1cb)),_0x34c091=_0x6d04c(_0x533f36,0x9c40);_0x34c091['savedTokens']>0x0&&(_0x321519=!![],Array[_0x516305(0x22a)](_0x1007e2[_0x516305(0x195)])?_0x1007e2[_0x516305(0x195)]=_0x34c091['messages']:_0x30bd59=JSON[_0x516305(0x21f)](_0x34c091[_0x516305(0x195)],null,0x2)),_0x321519&&!Array['isArray'](_0x1007e2)&&(_0x30bd59=JSON[_0x516305(0x21f)](_0x1007e2,null,0x2));}}else{const _0x58a0c3=_0x3da27a[_0x516305(0x197)]('\x0a'),_0x35b37a=[],_0xfb756d=[];for(const _0x2d9b3f of _0x58a0c3){if(!_0x2d9b3f[_0x516305(0x255)]())continue;try{const _0x29ced0=JSON[_0x516305(0x1e2)](_0x2d9b3f);_0x35b37a['push'](_0x29ced0);const _0x4d34ba=_0x29ced0[_0x516305(0x1fd)]||_0x29ced0;_0x4d34ba&&typeof _0x4d34ba['role']==='string'&&_0xfb756d[_0x516305(0x1a8)](_0x4d34ba);}catch{}}for(const _0x264867 of _0xfb756d){const _0x256893=compressMessageContent(_0x264867,_0x38f8e7,_0x49cc01);if(_0x256893[_0x516305(0x1bd)])_0x321519=!![];}const {compressConversation:_0x42eef1}=require(_0x516305(0x1cb)),_0x27f793=_0x42eef1(_0xfb756d,0x9c40);if(_0x27f793[_0x516305(0x204)]>0x0||_0x321519){const _0x71ed77=[];for(const _0x13f03d of _0x35b37a){const _0x5e308d=_0x13f03d['message']||_0x13f03d;if(_0x5e308d&&typeof _0x5e308d[_0x516305(0x1d7)]===_0x516305(0x1d2)){const _0xb12c0a=_0x27f793['messages'][_0x516305(0x1f9)](_0x2d2bbe=>_0x2d2bbe===_0x5e308d);_0xb12c0a?(_0x13f03d[_0x516305(0x1fd)]?_0x13f03d['message']=_0xb12c0a:Object[_0x516305(0x226)](_0x13f03d,_0xb12c0a),_0x71ed77['push'](JSON['stringify'](_0x13f03d))):_0x321519=!![];}else _0x71ed77['push'](JSON[_0x516305(0x21f)](_0x13f03d));}_0x30bd59=_0x71ed77[_0x516305(0x20f)]('\x0a'),_0x321519=!![];}}if(_0x321519){const _0x2cf736=Buffer[_0x516305(0x1b3)](_0x30bd59,_0x516305(0x1f0));fs[_0x516305(0x22c)](_0x294cb7,_0x30bd59,'utf8');const _0x4f2d63=Math[_0x516305(0x244)](_0x2cf736/0x4),_0x47386d=Math[_0x516305(0x216)](0x0,_0x51a6d3-_0x4f2d63);if(_0x47386d>0x0){const _0x2e8217=loadSessionsState(),_0x433b75=_0x2e8217[_0x294cb7]||{'lineCount':0x1,'activeSavedTokens':0x0,'sideCacheSaved':0x0,'officialCompactSaved':0x0,'autoCompactSaved':0x0},_0x1e3823=_0x433b75[_0x516305(0x1bf)]||0x0,_0x4318ea=_0x1e3823+_0x47386d;saveSessionStateItem(_0x294cb7,_0x433b75['lineCount'],_0x433b75[_0x516305(0x1d5)]||0x0,_0x433b75['sideCacheSaved']||0x0,_0x4318ea,_0x433b75[_0x516305(0x21e)]||0x0),tracker_1['tracker'][_0x516305(0x201)](_0x516305(0x235)+_0x49cc01,_0x3da27a,_0x30bd59,_0x47386d,undefined,[_0x516305(0x1c3)+_0x49cc01,_0x516305(0x1aa),_0x49cc01,_0x516305(0x1a6)]);}return{'ok':!![],'savedTokens':_0x47386d};}return{'ok':!![],'savedTokens':0x0};}catch(_0x2e00c7){return{'ok':![],'savedTokens':0x0,'reason':_0x2e00c7[_0x516305(0x1fd)]||'Compaction\x20failed'};}}function installWindowsStartupService(){const _0x50c7c1=a0_0x19419e;if(process[_0x50c7c1(0x213)]!=='win32')return;try{const _0x24fc87=path[_0x50c7c1(0x20f)](os[_0x50c7c1(0x1b0)](),_0x50c7c1(0x1ca),_0x50c7c1(0x21c),_0x50c7c1(0x1eb),_0x50c7c1(0x1f2),'Start\x20Menu',_0x50c7c1(0x24e),_0x50c7c1(0x23d));if(!fs[_0x50c7c1(0x1c9)](_0x24fc87))fs[_0x50c7c1(0x22b)](_0x24fc87,{'recursive':!![]});const _0x205533=path[_0x50c7c1(0x20f)](_0x24fc87,_0x50c7c1(0x1e4)),_0x435e20=path[_0x50c7c1(0x20f)](__dirname,_0x50c7c1(0x1ed)),_0x23bc8c=_0x435e20[_0x50c7c1(0x1bc)](/\\/g,'\x5c\x5c'),_0x41a010=_0x50c7c1(0x21d)+_0x23bc8c+_0x50c7c1(0x1fc);fs[_0x50c7c1(0x22c)](_0x205533,_0x41a010,'utf8');}catch{}}function startWatcherDaemon(){const _0x55b9e7=a0_0x19419e;installWindowsStartupService();try{const {installClaudeHooks:_0x47bdb0}=require(_0x55b9e7(0x1da));_0x47bdb0();}catch(_0x461317){}const _0x320dbc=[_0x55b9e7(0x206),_0x55b9e7(0x1a9),_0x55b9e7(0x218),_0x55b9e7(0x1d6),_0x55b9e7(0x1fa),_0x55b9e7(0x1b4),_0x55b9e7(0x259),_0x55b9e7(0x1a3),_0x55b9e7(0x1ac)];for(const _0x5269c2 of _0x320dbc){const _0x1c0a53=getAgentStoragePaths(_0x5269c2);for(const _0x572f8a of _0x1c0a53){if(fs[_0x55b9e7(0x1c9)](_0x572f8a))try{fs[_0x55b9e7(0x24c)](_0x572f8a,{'recursive':!![]},(_0x5bcdba,_0x4356b1)=>{const _0x481d1c=_0x55b9e7;if(!_0x4356b1)return;const _0xa6bc84=path[_0x481d1c(0x20f)](_0x572f8a,_0x4356b1);if(debounceTimers[_0x481d1c(0x20e)](_0xa6bc84))clearTimeout(debounceTimers['get'](_0xa6bc84));const _0x42419e=setTimeout(()=>processSessionFile(_0xa6bc84,_0x5269c2),0x1f4);debounceTimers[_0x481d1c(0x1c0)](_0xa6bc84,_0x42419e);});}catch{}}}setInterval(()=>{const _0x16f569=_0x55b9e7;for(const _0xb7b81c of _0x320dbc){try{const _0x10e837=getLatestSessionFile(_0xb7b81c);_0x10e837&&_0x10e837[_0x16f569(0x241)]&&processSessionFile(_0x10e837[_0x16f569(0x241)],_0xb7b81c);}catch{}}},0xbb8);const _0x1ee2ce=()=>{const _0x52873f=_0x55b9e7;for(const _0x29fd6d of _0x320dbc){try{const _0x2a431c=getLatestSessionFile(_0x29fd6d);_0x2a431c&&_0x2a431c['fullPath']&&compactLiveSession(_0x2a431c[_0x52873f(0x241)],_0x29fd6d);}catch{}}};setTimeout(_0x1ee2ce,0x7d0),setInterval(_0x1ee2ce,0x2bf20);}
1
+ 'use strict';const a0_0x208389=a0_0x5764;(function(_0x41396b,_0x544228){const _0x15517d=a0_0x5764,_0x44bf14=_0x41396b();while(!![]){try{const _0x534470=parseInt(_0x15517d(0x11e))/0x1+-parseInt(_0x15517d(0xb3))/0x2*(parseInt(_0x15517d(0xae))/0x3)+-parseInt(_0x15517d(0xf1))/0x4+parseInt(_0x15517d(0xd7))/0x5+parseInt(_0x15517d(0x118))/0x6*(parseInt(_0x15517d(0xa9))/0x7)+parseInt(_0x15517d(0xc9))/0x8+-parseInt(_0x15517d(0xc2))/0x9*(-parseInt(_0x15517d(0xcc))/0xa);if(_0x534470===_0x544228)break;else _0x44bf14['push'](_0x44bf14['shift']());}catch(_0x4265b6){_0x44bf14['push'](_0x44bf14['shift']());}}}(a0_0x4385,0xc57cf));function a0_0x5764(_0x3d90d7,_0x3ec3b8){_0x3d90d7=_0x3d90d7-0xa9;const _0x4385b5=a0_0x4385();let _0x576467=_0x4385b5[_0x3d90d7];return _0x576467;}var __createBinding=this&&this[a0_0x208389(0x15d)]||(Object[a0_0x208389(0x11a)]?function(_0x56f8e7,_0x13d6e1,_0x1d8022,_0x4c8aad){const _0x24d285=a0_0x208389;if(_0x4c8aad===undefined)_0x4c8aad=_0x1d8022;var _0x1a76e0=Object['getOwnPropertyDescriptor'](_0x13d6e1,_0x1d8022);(!_0x1a76e0||(_0x24d285(0xf8)in _0x1a76e0?!_0x13d6e1[_0x24d285(0x10f)]:_0x1a76e0[_0x24d285(0xe7)]||_0x1a76e0[_0x24d285(0xad)]))&&(_0x1a76e0={'enumerable':!![],'get':function(){return _0x13d6e1[_0x1d8022];}}),Object[_0x24d285(0x137)](_0x56f8e7,_0x4c8aad,_0x1a76e0);}:function(_0x29202a,_0x57a837,_0x1d380a,_0x508ec9){if(_0x508ec9===undefined)_0x508ec9=_0x1d380a;_0x29202a[_0x508ec9]=_0x57a837[_0x1d380a];}),__setModuleDefault=this&&this[a0_0x208389(0xb7)]||(Object[a0_0x208389(0x11a)]?function(_0x177aa,_0xc32d94){const _0x4bdbb9=a0_0x208389;Object[_0x4bdbb9(0x137)](_0x177aa,'default',{'enumerable':!![],'value':_0xc32d94});}:function(_0x3bd122,_0x416c6c){const _0x5cb8e0=a0_0x208389;_0x3bd122[_0x5cb8e0(0x130)]=_0x416c6c;}),__importStar=this&&this[a0_0x208389(0xed)]||(function(){var _0x1b6b99=function(_0x4d6831){return _0x1b6b99=Object['getOwnPropertyNames']||function(_0x598256){const _0x36128e=a0_0x5764;var _0x47cf5a=[];for(var _0x5dc021 in _0x598256)if(Object['prototype'][_0x36128e(0x12b)][_0x36128e(0x149)](_0x598256,_0x5dc021))_0x47cf5a[_0x47cf5a[_0x36128e(0x10a)]]=_0x5dc021;return _0x47cf5a;},_0x1b6b99(_0x4d6831);};return function(_0x307e56){const _0x5a0028=a0_0x5764;if(_0x307e56&&_0x307e56['__esModule'])return _0x307e56;var _0x10348e={};if(_0x307e56!=null){for(var _0x172a57=_0x1b6b99(_0x307e56),_0x17a4f4=0x0;_0x17a4f4<_0x172a57[_0x5a0028(0x10a)];_0x17a4f4++)if(_0x172a57[_0x17a4f4]!==_0x5a0028(0x130))__createBinding(_0x10348e,_0x307e56,_0x172a57[_0x17a4f4]);}return __setModuleDefault(_0x10348e,_0x307e56),_0x10348e;};}());Object[a0_0x208389(0x137)](exports,a0_0x208389(0x10f),{'value':!![]}),exports['loadConfig']=loadConfig,exports[a0_0x208389(0x114)]=saveConfig,exports[a0_0x208389(0xbb)]=getAgentStoragePaths,exports['getLatestSessionFile']=getLatestSessionFile,exports[a0_0x208389(0x12d)]=loadSessionsState,exports['saveSessionStateItem']=saveSessionStateItem,exports['processSessionFile']=processSessionFile,exports[a0_0x208389(0x121)]=compactSessionCopy,exports[a0_0x208389(0xdc)]=compactLiveSession,exports[a0_0x208389(0xdd)]=installWindowsStartupService,exports[a0_0x208389(0xf6)]=startWatcherDaemon;const fs=__importStar(require('fs')),path=__importStar(require(a0_0x208389(0xb6))),os=__importStar(require('os')),cache_manager_1=require(a0_0x208389(0x111)),tracker_1=require('./tracker'),baseDir=path[a0_0x208389(0x134)](os[a0_0x208389(0x13e)](),a0_0x208389(0x157)),configPath=path[a0_0x208389(0x134)](baseDir,a0_0x208389(0xd3)),DEFAULT_CONFIG={'autostart_enabled':!![],'conversation_toggles':{'conv_claude':!![],'conv_codex':!![],'conv_cursor':!![],'conv_aider':!![],'conv_copilot':!![],'conv_openclaw':!![],'conv_opencode':!![],'conv_cortex':!![]},'custom_storage_paths':{'claude':null,'codex':null,'cursor':null,'aider':null,'copilot':null,'openclaw':null,'opencode':null,'cortex':null}};function loadConfig(){const _0xe986a1=a0_0x208389;try{if(!fs[_0xe986a1(0x110)](baseDir))fs[_0xe986a1(0xf4)](baseDir,{'recursive':!![]});if(fs['existsSync'](configPath)){const _0x3b02cf=JSON[_0xe986a1(0x159)](fs[_0xe986a1(0x13a)](configPath,_0xe986a1(0x155)));return{...DEFAULT_CONFIG,..._0x3b02cf,'conversation_toggles':{...DEFAULT_CONFIG[_0xe986a1(0x129)],..._0x3b02cf[_0xe986a1(0x129)]||{}},'custom_storage_paths':{...DEFAULT_CONFIG[_0xe986a1(0xd9)],..._0x3b02cf[_0xe986a1(0xd9)]||{}}};}}catch{}return DEFAULT_CONFIG;}function saveConfig(_0x2c0ff6){const _0x18e71c=a0_0x208389,_0x36ccd5=loadConfig(),_0x5a8c0a={..._0x36ccd5,..._0x2c0ff6,'conversation_toggles':{..._0x36ccd5[_0x18e71c(0x129)],..._0x2c0ff6['conversation_toggles']||{}},'custom_storage_paths':{..._0x36ccd5[_0x18e71c(0xd9)],..._0x2c0ff6[_0x18e71c(0xd9)]||{}}};try{if(!fs['existsSync'](baseDir))fs[_0x18e71c(0xf4)](baseDir,{'recursive':!![]});fs[_0x18e71c(0x14c)](configPath,JSON[_0x18e71c(0x126)](_0x5a8c0a,null,0x2),_0x18e71c(0x155));}catch{}return _0x5a8c0a;}function getAgentStoragePaths(_0x4b785e){const _0x1cc23b=a0_0x208389,_0x489625=loadConfig(),_0x4932fd=_0x489625['custom_storage_paths'][_0x4b785e];if(_0x4932fd&&fs[_0x1cc23b(0x110)](_0x4932fd))return[_0x4932fd];const _0x48d03d=os[_0x1cc23b(0x13e)](),_0x1d00fd=process[_0x1cc23b(0xc3)]===_0x1cc23b(0xb1),_0x1d7954=process[_0x1cc23b(0xc3)]==='darwin';switch(_0x4b785e){case _0x1cc23b(0xd5):return[path[_0x1cc23b(0x134)](_0x48d03d,_0x1cc23b(0x117),_0x1cc23b(0xaf)),path['join'](_0x48d03d,_0x1cc23b(0x117),_0x1cc23b(0xef))];case _0x1cc23b(0x163):return[path[_0x1cc23b(0x134)](_0x48d03d,'.codex',_0x1cc23b(0x12a)),path['join'](_0x48d03d,'AppData',_0x1cc23b(0xee),_0x1cc23b(0x14e))];case _0x1cc23b(0xe9):case'antigravity':return[path[_0x1cc23b(0x134)](_0x48d03d,_0x1cc23b(0x11f),'antigravity'),path[_0x1cc23b(0x134)](_0x48d03d,_0x1cc23b(0x11f)),path[_0x1cc23b(0x134)](_0x48d03d,_0x1cc23b(0x139),_0x1cc23b(0xee),_0x1cc23b(0x106)),path['join'](_0x48d03d,_0x1cc23b(0xe5),_0x1cc23b(0xe9))];case _0x1cc23b(0xca):if(_0x1d00fd)return[path[_0x1cc23b(0x134)](_0x48d03d,_0x1cc23b(0x139),_0x1cc23b(0xee),_0x1cc23b(0xba),_0x1cc23b(0xd1),_0x1cc23b(0x15c))];if(_0x1d7954)return[path[_0x1cc23b(0x134)](_0x48d03d,_0x1cc23b(0x13d),_0x1cc23b(0x162),_0x1cc23b(0xba),_0x1cc23b(0xd1),'workspaceStorage')];return[path[_0x1cc23b(0x134)](_0x48d03d,'.config',_0x1cc23b(0xba),_0x1cc23b(0xd1),_0x1cc23b(0x15c))];case _0x1cc23b(0x10b):return[process['cwd'](),path[_0x1cc23b(0x134)](_0x48d03d,_0x1cc23b(0xb2))];case _0x1cc23b(0x138):if(_0x1d00fd)return[path['join'](_0x48d03d,_0x1cc23b(0x139),'Local',_0x1cc23b(0x116))];return[path['join'](_0x48d03d,_0x1cc23b(0xe5),_0x1cc23b(0x116))];case _0x1cc23b(0x11b):return[path[_0x1cc23b(0x134)](_0x48d03d,_0x1cc23b(0xfc),_0x1cc23b(0x152)),path[_0x1cc23b(0x134)](process['cwd'](),_0x1cc23b(0xfc),_0x1cc23b(0xea))];case _0x1cc23b(0x127):return[path[_0x1cc23b(0x134)](_0x48d03d,'.opencode','sessions')];case'cortex':return[path['join'](_0x48d03d,_0x1cc23b(0xeb),_0x1cc23b(0x151))];default:return[];}}function getLatestSessionFile(_0x307fcf){const _0x22b16c=a0_0x208389,_0x462054=getAgentStoragePaths(_0x307fcf);let _0x1f4c77=null,_0x1ae329=0x0,_0x4da9d7=null,_0x289eb7=null;for(const _0x2b8838 of _0x462054){if(fs[_0x22b16c(0x110)](_0x2b8838)){if(!_0x289eb7)_0x289eb7=_0x2b8838;const _0x800ce0=(_0x5ebba7,_0x49899f=0x0)=>{const _0x3b44b6=_0x22b16c;if(_0x49899f>0x6)return;try{const _0x5a7158=fs[_0x3b44b6(0x132)](_0x5ebba7,{'withFileTypes':!![]});for(const _0x194aed of _0x5a7158){const _0x3bf89b=path[_0x3b44b6(0x134)](_0x5ebba7,_0x194aed[_0x3b44b6(0x103)]);if(_0x194aed['isDirectory']()){const _0x4c8f23=_0x194aed[_0x3b44b6(0x103)]['toLowerCase']();if(_0x4c8f23==='node_modules'||_0x4c8f23===_0x3b44b6(0x145)||_0x4c8f23==='.venv'||_0x4c8f23==='env'||_0x4c8f23===_0x3b44b6(0x10c)||_0x4c8f23===_0x3b44b6(0x115)||_0x4c8f23===_0x3b44b6(0xf0)||_0x4c8f23===_0x3b44b6(0x144)||_0x4c8f23===_0x3b44b6(0xec)||_0x4c8f23===_0x3b44b6(0x13c)||_0x4c8f23===_0x3b44b6(0xc7))continue;_0x800ce0(_0x3bf89b,_0x49899f+0x1);}else{if(_0x194aed[_0x3b44b6(0xaa)]()&&!_0x194aed[_0x3b44b6(0x103)][_0x3b44b6(0xe8)]('.')){const _0x326e96=_0x194aed[_0x3b44b6(0x103)][_0x3b44b6(0x150)]();if(_0x326e96[_0x3b44b6(0x10d)](_0x3b44b6(0xdf))||_0x326e96[_0x3b44b6(0xd6)](_0x3b44b6(0xb9))||_0x326e96[_0x3b44b6(0xd6)](_0x3b44b6(0xe0))||_0x326e96['endsWith'](_0x3b44b6(0xcf))||_0x326e96['endsWith'](_0x3b44b6(0xc5))||_0x326e96[_0x3b44b6(0xd6)]('.jpeg')||_0x326e96[_0x3b44b6(0xd6)](_0x3b44b6(0x12e))||_0x326e96[_0x3b44b6(0xd6)](_0x3b44b6(0xf2))||_0x326e96[_0x3b44b6(0xd6)](_0x3b44b6(0x142))||_0x326e96[_0x3b44b6(0xd6)](_0x3b44b6(0xe6))||_0x326e96[_0x3b44b6(0xd6)](_0x3b44b6(0xb8))||_0x326e96['endsWith'](_0x3b44b6(0x13b))||_0x326e96[_0x3b44b6(0xd6)]('.lock')||_0x326e96['endsWith'](_0x3b44b6(0xfa))||_0x326e96[_0x3b44b6(0xe8)](_0x3b44b6(0xf5))||_0x326e96['startsWith']('image_'))continue;const _0x3980e7=fs['statSync'](_0x3bf89b);_0x3980e7[_0x3b44b6(0x156)]>_0x1ae329&&(_0x1ae329=_0x3980e7[_0x3b44b6(0x156)],_0x1f4c77=_0x194aed[_0x3b44b6(0x103)],_0x4da9d7=_0x3bf89b,_0x289eb7=_0x2b8838);}}}}catch{}};_0x800ce0(_0x2b8838);}}return{'fileName':_0x1f4c77,'lastModified':_0x1ae329>0x0?new Date(_0x1ae329)[_0x22b16c(0xe1)]():null,'fullPath':_0x4da9d7,'dirPath':_0x289eb7};}const debounceTimers=new Map(),lastLoggedTimes=new Map(),OFFLOAD_THRESHOLD_CHARS=0x7d0;function compressMessageContent(_0x1103d4,_0x4a3da9,_0x41d90c){const _0x4392ac=a0_0x208389;let _0x1543a3=![],_0x4639ec=0x0;if(!_0x1103d4)return{'modified':_0x1543a3,'savedTokens':_0x4639ec};const _0xf6f46f=_0x25bee4=>_0x25bee4[_0x4392ac(0x15f)](/\r\n/g,'\x0a')[_0x4392ac(0x15f)](/\n{3,}/g,'\x0a\x0a');if(typeof _0x1103d4['content']===_0x4392ac(0xfd)){let _0x126477=_0x1103d4['content'],_0x2914dc=_0xf6f46f(_0x126477);_0x2914dc['length']<_0x126477[_0x4392ac(0x10a)]&&(_0x1103d4['content']=_0x2914dc,_0x1543a3=!![],_0x4639ec+=Math[_0x4392ac(0x119)]((_0x126477[_0x4392ac(0x10a)]-_0x2914dc[_0x4392ac(0x10a)])/0x4));if(_0x1103d4[_0x4392ac(0x11c)]['length']>OFFLOAD_THRESHOLD_CHARS&&!_0x1103d4['content'][_0x4392ac(0x10d)](_0x4392ac(0xe2))){const _0x305620=_0x4392ac(0x128)+Math['ceil'](_0x1103d4['content'][_0x4392ac(0x10a)]/0x4)+_0x4392ac(0x131),_0x1fb667=(0x0,cache_manager_1[_0x4392ac(0xff)])(_0x4a3da9,_0x41d90c,_0x1103d4[_0x4392ac(0x11c)],_0x305620);_0x1103d4[_0x4392ac(0x11c)]=_0x4392ac(0x154)+_0x1fb667[_0x4392ac(0xc4)]+_0x4392ac(0xc1)+_0x1fb667[_0x4392ac(0xfe)]+_0x4392ac(0x104)+_0x1fb667[_0x4392ac(0xfe)]+'`\x0a',_0x1543a3=!![],_0x4639ec+=Math['max'](0x0,_0x1fb667[_0x4392ac(0xc4)]-_0x1fb667[_0x4392ac(0x107)]);}}else{if(Array['isArray'](_0x1103d4[_0x4392ac(0x11c)]))for(const _0x5d0df1 of _0x1103d4[_0x4392ac(0x11c)]){if(_0x5d0df1&&typeof _0x5d0df1===_0x4392ac(0xda)){if(typeof _0x5d0df1[_0x4392ac(0xd2)]==='string'){let _0x354bc9=_0x5d0df1[_0x4392ac(0xd2)],_0x2c970e=_0xf6f46f(_0x354bc9);_0x2c970e[_0x4392ac(0x10a)]<_0x354bc9[_0x4392ac(0x10a)]&&(_0x5d0df1[_0x4392ac(0xd2)]=_0x2c970e,_0x1543a3=!![],_0x4639ec+=Math[_0x4392ac(0x119)]((_0x354bc9[_0x4392ac(0x10a)]-_0x2c970e[_0x4392ac(0x10a)])/0x4));if(_0x5d0df1[_0x4392ac(0xd2)][_0x4392ac(0x10a)]>OFFLOAD_THRESHOLD_CHARS&&!_0x5d0df1['text']['includes'](_0x4392ac(0xe2))){const _0xb63d40=_0x4392ac(0x15a)+Math['ceil'](_0x5d0df1[_0x4392ac(0xd2)][_0x4392ac(0x10a)]/0x4)+_0x4392ac(0x131),_0x4e9e2e=(0x0,cache_manager_1[_0x4392ac(0xff)])(_0x4a3da9,_0x41d90c,_0x5d0df1[_0x4392ac(0xd2)],_0xb63d40);_0x5d0df1[_0x4392ac(0xd2)]=_0x4392ac(0x133)+_0x4e9e2e[_0x4392ac(0xfe)]+_0x4392ac(0xbc)+_0x4e9e2e[_0x4392ac(0xfe)]+'`\x0a',_0x1543a3=!![],_0x4639ec+=Math[_0x4392ac(0x14a)](0x0,_0x4e9e2e['raw_tokens']-_0x4e9e2e['compressed_tokens']);}}else{if(typeof _0x5d0df1[_0x4392ac(0x11c)]===_0x4392ac(0xfd)){let _0x5cb66a=_0x5d0df1[_0x4392ac(0x11c)],_0x27e982=_0xf6f46f(_0x5cb66a);_0x27e982[_0x4392ac(0x10a)]<_0x5cb66a[_0x4392ac(0x10a)]&&(_0x5d0df1[_0x4392ac(0x11c)]=_0x27e982,_0x1543a3=!![],_0x4639ec+=Math[_0x4392ac(0x119)]((_0x5cb66a[_0x4392ac(0x10a)]-_0x27e982[_0x4392ac(0x10a)])/0x4));if(_0x5d0df1['content'][_0x4392ac(0x10a)]>OFFLOAD_THRESHOLD_CHARS&&!_0x5d0df1[_0x4392ac(0x11c)][_0x4392ac(0x10d)](_0x4392ac(0xe2))){const _0x54ff04=_0x4392ac(0xe4)+Math['ceil'](_0x5d0df1[_0x4392ac(0x11c)]['length']/0x4)+'\x20tokens).',_0x4e8843=(0x0,cache_manager_1[_0x4392ac(0xff)])(_0x4a3da9,_0x41d90c,_0x5d0df1[_0x4392ac(0x11c)],_0x54ff04);_0x5d0df1[_0x4392ac(0x11c)]=_0x4392ac(0x133)+_0x4e8843['chunk_id']+_0x4392ac(0xbc)+_0x4e8843[_0x4392ac(0xfe)]+'`\x0a',_0x1543a3=!![],_0x4639ec+=Math[_0x4392ac(0x14a)](0x0,_0x4e8843[_0x4392ac(0xc4)]-_0x4e8843[_0x4392ac(0x107)]);}}}}}}return{'modified':_0x1543a3,'savedTokens':_0x4639ec};}const sessionsStatePath=path[a0_0x208389(0x134)](baseDir,a0_0x208389(0x122));let sessionsStateMemoryCache=null;function loadSessionsState(){const _0x34dd4e=a0_0x208389;try{if(fs[_0x34dd4e(0x110)](sessionsStatePath)){const _0x31c46b=JSON[_0x34dd4e(0x159)](fs[_0x34dd4e(0x13a)](sessionsStatePath,'utf8'));if(_0x31c46b&&typeof _0x31c46b==='object')return sessionsStateMemoryCache=_0x31c46b,_0x31c46b;}}catch{}return sessionsStateMemoryCache||{};}function saveSessionStateItem(_0x59c124,_0xe762ac,_0x8e25a9,_0xbd6dcf=0x0,_0x17b28a=0x0,_0x35639f=0x0){const _0x3d9531=a0_0x208389;try{const _0x1b319c=loadSessionsState(),_0x3dc88d=_0x1b319c[_0x59c124]||{},_0xa3d5a=_0x17b28a||_0x3dc88d[_0x3d9531(0x160)]||0x0,_0x17d374=_0x35639f||_0x3dc88d['hookSavedTokens']||0x0,_0x50f438=_0x8e25a9!==undefined?_0x8e25a9:_0x3dc88d[_0x3d9531(0xd8)]||0x0;_0x1b319c[_0x59c124]={'lineCount':_0xe762ac||_0x3dc88d[_0x3d9531(0x100)]||0x1,'activeSavedTokens':_0x50f438+_0xa3d5a+_0x17d374,'sideCacheSaved':_0xbd6dcf||_0x3dc88d[_0x3d9531(0x12f)]||0x0,'officialCompactSaved':_0x50f438,'autoCompactSaved':_0xa3d5a,'hookSavedTokens':_0x17d374},sessionsStateMemoryCache=_0x1b319c;if(!fs['existsSync'](baseDir))fs[_0x3d9531(0xf4)](baseDir,{'recursive':!![]});const _0x584607=sessionsStatePath+'.tmp';fs['writeFileSync'](_0x584607,JSON[_0x3d9531(0x126)](_0x1b319c,null,0x2),_0x3d9531(0x155)),fs['renameSync'](_0x584607,sessionsStatePath);}catch{}}function processSessionFile(_0x811667,_0x5bd5a2){const _0x1f6e25=a0_0x208389;try{if(!fs[_0x1f6e25(0x110)](_0x811667))return;const _0x744c1d=fs[_0x1f6e25(0x102)](_0x811667);if(_0x744c1d[_0x1f6e25(0x140)]()||_0x744c1d['size']===0x0)return;const _0x434462=loadConfig(),_0x2eadf7=_0x1f6e25(0xbd)+_0x5bd5a2;if(_0x434462[_0x1f6e25(0x129)][_0x2eadf7]===![])return;const _0x4b6280=fs[_0x1f6e25(0x13a)](_0x811667,_0x1f6e25(0x155)),_0x3032c0=path[_0x1f6e25(0x120)](_0x811667)[_0x1f6e25(0x150)]();let _0x5934f0=0x1;if(_0x3032c0==='.jsonl'||_0x3032c0==='.json1')_0x5934f0=_0x4b6280[_0x1f6e25(0xf9)]('\x0a')[_0x1f6e25(0x141)](Boolean)[_0x1f6e25(0x10a)];else{if(_0x3032c0===_0x1f6e25(0xbe))try{const _0x448dfb=JSON['parse'](_0x4b6280),_0x5b9474=Array[_0x1f6e25(0xc6)](_0x448dfb[_0x1f6e25(0x158)])?_0x448dfb['messages']:Array['isArray'](_0x448dfb)?_0x448dfb:null;if(_0x5b9474)_0x5934f0=_0x5b9474[_0x1f6e25(0x10a)];}catch{}}let _0x3fa8d1=0x0;if((_0x3032c0==='.jsonl'||_0x3032c0===_0x1f6e25(0x161))&&_0x4b6280[_0x1f6e25(0x10d)](_0x1f6e25(0x135))&&_0x4b6280[_0x1f6e25(0x10d)]('tokens')){const _0x4c7b4d=/(?:Compacted conversation\s*·\s*)?saved\s*([\d\.]+)k?\s*tokens/gi;for(const _0x2f7b5f of _0x4b6280['split']('\x0a')){if(!_0x2f7b5f['includes'](_0x1f6e25(0x135))||!_0x2f7b5f[_0x1f6e25(0x10d)](_0x1f6e25(0x109)))continue;try{const _0x3cb1de=JSON[_0x1f6e25(0x159)](_0x2f7b5f);if(_0x3cb1de[_0x1f6e25(0x123)]!==_0x1f6e25(0x14b))continue;const _0x35e93b=typeof _0x3cb1de[_0x1f6e25(0x11c)]==='string'?_0x3cb1de[_0x1f6e25(0x11c)]:_0x3cb1de[_0x1f6e25(0x112)]&&typeof _0x3cb1de[_0x1f6e25(0x112)][_0x1f6e25(0x11c)]===_0x1f6e25(0xfd)?_0x3cb1de['message'][_0x1f6e25(0x11c)]:'';if(!_0x35e93b)continue;for(const _0x26b29a of _0x35e93b[_0x1f6e25(0x113)](_0x4c7b4d)){let _0x4fb7ab=parseFloat(_0x26b29a[0x1]);if(_0x26b29a[0x0]['toLowerCase']()['includes']('k'))_0x4fb7ab=_0x4fb7ab*0x3e8;_0x3fa8d1+=Math['round'](_0x4fb7ab);}}catch{}}}const _0x12048c=loadSessionsState(),_0x37e08a=_0x12048c[_0x811667],_0x2e6f11=_0x37e08a?_0x37e08a[_0x1f6e25(0x100)]:0x0,_0x5f47f0=_0x37e08a?_0x37e08a[_0x1f6e25(0xce)]||0x0:0x0;if(_0x2e6f11>0x0&&_0x5934f0>_0x2e6f11&&_0x5f47f0>0x0){const _0x156d43=_0x1f6e25(0x148)+_0x5bd5a2;tracker_1[_0x1f6e25(0x14f)][_0x1f6e25(0xd0)](_0x156d43,'A'['repeat'](_0x5f47f0*0x4),'',0x0,undefined,[_0x1f6e25(0xbd)+_0x5bd5a2,'live-conv',_0x5bd5a2,_0x1f6e25(0x10e)]);}const _0xeb591e=_0x37e08a&&_0x37e08a[_0x1f6e25(0xd8)]!==undefined?_0x37e08a[_0x1f6e25(0xd8)]:0x0,_0x2e98a0=Math['max'](_0xeb591e,_0x3fa8d1);saveSessionStateItem(_0x811667,_0x5934f0,_0x2e98a0,0x0,0x0,0x0);}catch{}}function compactSessionCopy(_0x48edb7,_0x2639fe){const _0x74840d=a0_0x208389;try{if(!fs[_0x74840d(0x110)](_0x48edb7))return{'ok':![],'reason':_0x74840d(0x101)};const _0xfc5145=path[_0x74840d(0x120)](_0x48edb7)[_0x74840d(0x150)]();if(_0xfc5145!==_0x74840d(0xbe)&&_0xfc5145!==_0x74840d(0xcb)&&_0xfc5145!==_0x74840d(0x161))return{'ok':![],'reason':'Unsupported\x20format\x20\x27'+(_0xfc5145||'none')+'\x27\x20—\x20only\x20JSON/JSONL\x20sessions\x20can\x20be\x20compacted\x20(binary\x20.pb/.db\x20stores\x20are\x20not\x20supported)'};const _0x552fd7=fs['readFileSync'](_0x48edb7,_0x74840d(0x155)),_0x2de101=Buffer['byteLength'](_0x552fd7,_0x74840d(0x155)),_0x7a7d67=path[_0x74840d(0xc8)](_0x48edb7,_0xfc5145);let _0x43ec7d=_0x552fd7,_0xe8feca=![];if(_0xfc5145==='.json'){const _0x496537=JSON[_0x74840d(0x159)](_0x552fd7),_0x634436=Array[_0x74840d(0xc6)](_0x496537[_0x74840d(0x158)])?_0x496537[_0x74840d(0x158)]:Array[_0x74840d(0xc6)](_0x496537)?_0x496537:null;if(_0x634436){for(const _0xf066d0 of _0x634436){const _0x2b9d9f=compressMessageContent(_0xf066d0,_0x7a7d67,_0x2639fe);if(_0x2b9d9f['modified'])_0xe8feca=!![];}if(_0xe8feca)_0x43ec7d=JSON[_0x74840d(0x126)](_0x496537,null,0x2);}}else{const _0x833b9e=_0x552fd7['split']('\x0a'),_0x5d9b9d=[];for(let _0x21baad of _0x833b9e){if(!_0x21baad[_0x74840d(0x146)]()){_0x5d9b9d[_0x74840d(0x147)](_0x21baad);continue;}try{const _0x277a3b=JSON[_0x74840d(0x159)](_0x21baad),_0x1ccdeb=_0x277a3b[_0x74840d(0x112)]||_0x277a3b;if(_0x1ccdeb){const _0x4b1f7f=compressMessageContent(_0x1ccdeb,_0x7a7d67,_0x2639fe);_0x4b1f7f['modified']&&(_0xe8feca=!![],_0x21baad=JSON[_0x74840d(0x126)](_0x277a3b));}}catch{}_0x5d9b9d[_0x74840d(0x147)](_0x21baad);}if(_0xe8feca)_0x43ec7d=_0x5d9b9d[_0x74840d(0x134)]('\x0a');}const _0x1f9961=Buffer[_0x74840d(0x11d)](_0x43ec7d,_0x74840d(0x155)),_0x12859a=path[_0x74840d(0x134)](path[_0x74840d(0x124)](_0x48edb7),_0x7a7d67+_0x74840d(0xdf)+_0xfc5145);fs[_0x74840d(0x14c)](_0x12859a,_0x43ec7d,_0x74840d(0x155));const _0x16e76d=Math[_0x74840d(0x119)](_0x2de101/0x4),_0x232e2f=Math[_0x74840d(0x119)](_0x1f9961/0x4),_0x450886=Math[_0x74840d(0x14a)](0x0,_0x16e76d-_0x232e2f),_0x42a32c=_0x2de101>0x0?Math[_0x74840d(0xf7)]((0x1-_0x1f9961/_0x2de101)*0x3e8)/0xa:0x0;return _0x450886>0x0&&tracker_1['tracker']['logExecution'](_0x74840d(0x14d)+_0x2639fe,_0x552fd7,_0x43ec7d,_0x450886,undefined,[_0x74840d(0xbd)+_0x2639fe,_0x74840d(0xab),_0x2639fe,_0x74840d(0xcd)]),{'ok':!![],'compactPath':_0x12859a,'rawBytes':_0x2de101,'compressedBytes':_0x1f9961,'rawTokens':_0x16e76d,'compressedTokens':_0x232e2f,'savedTokens':_0x450886,'reductionPct':_0x42a32c};}catch(_0x185f98){return{'ok':![],'reason':_0x185f98?.[_0x74840d(0x112)]||_0x74840d(0xdb)};}}function a0_0x4385(){const _0x39dfaf=['mkdirSync','media__','startWatcherDaemon','round','get','split','.dat','Windows','.openclaw','string','chunk_id','saveChunk','lineCount','Session\x20file\x20not\x20found','statSync','name','`\x0a>\x20If\x20required,\x20execute:\x20`trim\x20retrieve\x20','assign','Gemini','compressed_tokens','./proxy-conv','tokens','length','aider','venv','includes','prompt_turn','__esModule','existsSync','./cache-manager','message','matchAll','saveConfig','__pycache__','github-copilot-cli','.claude','104034qQsrBd','ceil','create','openclaw','content','byteLength','523045LKmzMH','.gemini','extname','compactSessionCopy','sessions_state.json','type','dirname','cortex','stringify','opencode','Summary:\x20Content\x20offloaded\x20(','conversation_toggles','sessions','hasOwnProperty','./hooks/claude-hook','loadSessionsState','.gif','sideCacheSaved','default','\x20tokens).','readdirSync','\x0a>\x20[!IMPORTANT]\x0a>\x20**[TrimPrompt\x20Cache\x20Engine\x20—\x20Context\x20Offloaded]**\x0a>\x20**Chunk\x20Reference\x20ID:**\x20`','join','saved','fullPath','defineProperty','copilot','AppData','readFileSync','.tmp','out','Library','homedir','Compaction\x20failed','isDirectory','filter','.pb','role','dist','.git','trim','push','conv:','call','max','system','writeFileSync','compact:','Codex','tracker','toLowerCase','cache','storage','Microsoft','\x0a>\x20[!IMPORTANT]\x0a>\x20**[TrimPrompt\x20Cache\x20Engine\x20—\x20Context\x20Offloaded]**\x0a>\x20The\x20raw\x20content\x20of\x20this\x20step\x20(','utf8','mtimeMs','.trimprompt','messages','parse','Summary:\x20Text\x20block\x20offloaded\x20(','set','workspaceStorage','__createBinding','hookSavedTokens','replace','autoCompactSaved','.json1','Application\x20Support','codex','Start\x20Menu','525boIZwv','isFile','live-conv','watch','configurable','79161ALxYrn','projects','\x22\x20&\x20\x22\x22\x22\x20ui\x20--headless\x22,\x200,\x20False\x0a','win32','.aider.chat.history.md','98uOqNdg','savedTokens','TrimPromptDaemon.vbs','path','__setModuleDefault','.shm','.db','Cursor','getAgentStoragePaths','`\x0a>\x20Retrieve\x20with:\x20`trim\x20retrieve\x20','conv_','.json','Startup','Programs','\x20tokens)\x20was\x20moved\x20to\x20local\x20side-cache.\x0a>\x20**Chunk\x20Reference\x20ID:**\x20`','805509GtSLpM','platform','raw_tokens','.jpg','isArray','.agents','basename','7824240xlnboZ','cursor','.jsonl','10DoBsNu','compact_copy','activeSavedTokens','.png','logExecution','User','text','config.json','File\x20not\x20found','claude','endsWith','2777630BkGRPc','officialCompactSaved','custom_storage_paths','object','compaction\x20failed','compactLiveSession','installWindowsStartupService','modified','.compact','.vscdb','toISOString','TrimPrompt\x20Cache\x20Engine','Unsupported\x20extension','Summary:\x20Tool\x20result\x20offloaded\x20(','.config','.wal','writable','startsWith','gemini','context','.cortex','build','__importStar','Roaming','history','.next','5378612VXNfPU','.webp','Set\x20WshShell\x20=\x20CreateObject(\x22WScript.Shell\x22)\x0aWshShell.Run\x20\x22node\x20\x22\x22\x22\x20&\x20\x22'];a0_0x4385=function(){return _0x39dfaf;};return a0_0x4385();}function compactLiveSession(_0x536596,_0x316609){const _0x3f7024=a0_0x208389;try{if(!fs[_0x3f7024(0x110)](_0x536596))return{'ok':![],'savedTokens':0x0,'reason':_0x3f7024(0xd4)};const _0x373f9b=path[_0x3f7024(0x120)](_0x536596)[_0x3f7024(0x150)]();if(_0x373f9b!=='.json'&&_0x373f9b!==_0x3f7024(0xcb)&&_0x373f9b!==_0x3f7024(0x161))return{'ok':![],'savedTokens':0x0,'reason':_0x3f7024(0xe3)};const _0x5e139d=fs[_0x3f7024(0x13a)](_0x536596,_0x3f7024(0x155)),_0x4261aa=Buffer['byteLength'](_0x5e139d,_0x3f7024(0x155)),_0x44208f=Math[_0x3f7024(0x119)](_0x4261aa/0x4),_0x46b9cc=path[_0x3f7024(0xc8)](_0x536596,_0x373f9b);let _0x375df9=_0x5e139d,_0xb2def1=![];if(_0x373f9b===_0x3f7024(0xbe)){const _0x528270=JSON[_0x3f7024(0x159)](_0x5e139d),_0x3ebaf7=Array['isArray'](_0x528270[_0x3f7024(0x158)])?_0x528270[_0x3f7024(0x158)]:Array[_0x3f7024(0xc6)](_0x528270)?_0x528270:null;if(_0x3ebaf7){for(const _0x2ddbb3 of _0x3ebaf7){const _0x5033fd=compressMessageContent(_0x2ddbb3,_0x46b9cc,_0x316609);if(_0x5033fd[_0x3f7024(0xde)])_0xb2def1=!![];}const {compressConversation:_0x4f5023}=require(_0x3f7024(0x108)),_0x2c6143=_0x4f5023(_0x3ebaf7,0x9c40);_0x2c6143['savedTokens']>0x0&&(_0xb2def1=!![],Array[_0x3f7024(0xc6)](_0x528270[_0x3f7024(0x158)])?_0x528270['messages']=_0x2c6143['messages']:_0x375df9=JSON['stringify'](_0x2c6143[_0x3f7024(0x158)],null,0x2)),_0xb2def1&&!Array['isArray'](_0x528270)&&(_0x375df9=JSON[_0x3f7024(0x126)](_0x528270,null,0x2));}}else{const _0x40aed2=_0x5e139d[_0x3f7024(0xf9)]('\x0a'),_0x4cecd9=[],_0x3724e7=[];for(const _0x219d17 of _0x40aed2){if(!_0x219d17[_0x3f7024(0x146)]())continue;try{const _0x58eb37=JSON[_0x3f7024(0x159)](_0x219d17);_0x4cecd9[_0x3f7024(0x147)](_0x58eb37);const _0x5ab1e3=_0x58eb37['message']||_0x58eb37;_0x5ab1e3&&typeof _0x5ab1e3[_0x3f7024(0x143)]===_0x3f7024(0xfd)&&_0x3724e7[_0x3f7024(0x147)](_0x5ab1e3);}catch{}}for(const _0x9e849b of _0x3724e7){const _0x33aba1=compressMessageContent(_0x9e849b,_0x46b9cc,_0x316609);if(_0x33aba1[_0x3f7024(0xde)])_0xb2def1=!![];}const {compressConversation:_0x202d3e}=require(_0x3f7024(0x108)),_0x466d95=_0x202d3e(_0x3724e7,0x9c40);if(_0x466d95[_0x3f7024(0xb4)]>0x0||_0xb2def1){const _0x46a799=[];for(const _0x378171 of _0x4cecd9){const _0x456467=_0x378171[_0x3f7024(0x112)]||_0x378171;if(_0x456467&&typeof _0x456467[_0x3f7024(0x143)]===_0x3f7024(0xfd)){const _0x1be038=_0x466d95[_0x3f7024(0x158)]['find'](_0x487175=>_0x487175===_0x456467);_0x1be038?(_0x378171[_0x3f7024(0x112)]?_0x378171['message']=_0x1be038:Object[_0x3f7024(0x105)](_0x378171,_0x1be038),_0x46a799[_0x3f7024(0x147)](JSON[_0x3f7024(0x126)](_0x378171))):_0xb2def1=!![];}else _0x46a799[_0x3f7024(0x147)](JSON['stringify'](_0x378171));}_0x375df9=_0x46a799[_0x3f7024(0x134)]('\x0a'),_0xb2def1=!![];}}if(_0xb2def1){const _0x463566=Buffer[_0x3f7024(0x11d)](_0x375df9,_0x3f7024(0x155));fs[_0x3f7024(0x14c)](_0x536596,_0x375df9,_0x3f7024(0x155));const _0x14632b=Math[_0x3f7024(0x119)](_0x463566/0x4),_0x36b129=Math[_0x3f7024(0x14a)](0x0,_0x44208f-_0x14632b);if(_0x36b129>0x0){const _0x296e29=loadSessionsState(),_0x2cfc72=_0x296e29[_0x536596]||{'lineCount':0x1,'activeSavedTokens':0x0,'sideCacheSaved':0x0,'officialCompactSaved':0x0,'autoCompactSaved':0x0},_0x7a3ce1=_0x2cfc72[_0x3f7024(0x160)]||0x0,_0x246c95=_0x7a3ce1+_0x36b129;saveSessionStateItem(_0x536596,_0x2cfc72[_0x3f7024(0x100)],_0x2cfc72['officialCompactSaved']||0x0,_0x2cfc72[_0x3f7024(0x12f)]||0x0,_0x246c95,_0x2cfc72[_0x3f7024(0x15e)]||0x0),tracker_1[_0x3f7024(0x14f)][_0x3f7024(0xd0)](_0x3f7024(0x14d)+_0x316609,_0x5e139d,_0x375df9,_0x36b129,undefined,[_0x3f7024(0xbd)+_0x316609,'live-conv',_0x316609,'compact_copy']);}return{'ok':!![],'savedTokens':_0x36b129};}return{'ok':!![],'savedTokens':0x0};}catch(_0xb3e92){return{'ok':![],'savedTokens':0x0,'reason':_0xb3e92[_0x3f7024(0x112)]||_0x3f7024(0x13f)};}}function installWindowsStartupService(){const _0x1f3b0a=a0_0x208389;if(process[_0x1f3b0a(0xc3)]!==_0x1f3b0a(0xb1))return;try{const _0x1922b4=path[_0x1f3b0a(0x134)](os[_0x1f3b0a(0x13e)](),_0x1f3b0a(0x139),_0x1f3b0a(0xee),_0x1f3b0a(0x153),_0x1f3b0a(0xfb),_0x1f3b0a(0x164),_0x1f3b0a(0xc0),_0x1f3b0a(0xbf));if(!fs[_0x1f3b0a(0x110)](_0x1922b4))fs[_0x1f3b0a(0xf4)](_0x1922b4,{'recursive':!![]});const _0x43ca66=path[_0x1f3b0a(0x134)](_0x1922b4,_0x1f3b0a(0xb5)),_0x309113=path[_0x1f3b0a(0x134)](__dirname,'cli.js'),_0x9a454b=_0x309113[_0x1f3b0a(0x15f)](/\\/g,'\x5c\x5c'),_0xd8bd66=_0x1f3b0a(0xf3)+_0x9a454b+_0x1f3b0a(0xb0);fs['writeFileSync'](_0x43ca66,_0xd8bd66,_0x1f3b0a(0x155));}catch{}}function startWatcherDaemon(){const _0x5c5ce8=a0_0x208389;installWindowsStartupService();try{const {installClaudeHooks:_0x32390c}=require(_0x5c5ce8(0x12c));_0x32390c();}catch(_0x30da4e){}const _0x6aa350=[_0x5c5ce8(0xd5),_0x5c5ce8(0xe9),'codex',_0x5c5ce8(0xca),'aider',_0x5c5ce8(0x138),_0x5c5ce8(0x11b),_0x5c5ce8(0x127),_0x5c5ce8(0x125)];for(const _0x410eed of _0x6aa350){const _0x530d1f=getAgentStoragePaths(_0x410eed);for(const _0x431919 of _0x530d1f){if(fs['existsSync'](_0x431919))try{fs[_0x5c5ce8(0xac)](_0x431919,{'recursive':!![]},(_0x5aed5d,_0xb19c54)=>{const _0x14667a=_0x5c5ce8;if(!_0xb19c54)return;const _0x592e09=path[_0x14667a(0x134)](_0x431919,_0xb19c54);if(debounceTimers['has'](_0x592e09))clearTimeout(debounceTimers[_0x14667a(0xf8)](_0x592e09));const _0x4c7dab=setTimeout(()=>processSessionFile(_0x592e09,_0x410eed),0x1f4);debounceTimers[_0x14667a(0x15b)](_0x592e09,_0x4c7dab);});}catch{}}}setInterval(()=>{const _0x1de2ab=_0x5c5ce8;for(const _0x1701e8 of _0x6aa350){try{const _0x31cd70=getLatestSessionFile(_0x1701e8);_0x31cd70&&_0x31cd70[_0x1de2ab(0x136)]&&processSessionFile(_0x31cd70[_0x1de2ab(0x136)],_0x1701e8);}catch{}}},0xbb8);const _0x1c2f6e=()=>{const _0x1ca527=_0x5c5ce8;for(const _0x4527d8 of _0x6aa350){try{const _0xa9ca66=getLatestSessionFile(_0x4527d8);_0xa9ca66&&_0xa9ca66['fullPath']&&compactLiveSession(_0xa9ca66[_0x1ca527(0x136)],_0x4527d8);}catch{}}};setTimeout(_0x1c2f6e,0x7d0),setInterval(_0x1c2f6e,0x2bf20);}
package/filters/devops.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a0_0x4964(_0x1ccbfa,_0x5e770d){_0x1ccbfa=_0x1ccbfa-0x1b2;const _0x3cb952=a0_0x3cb9();let _0x4964cc=_0x3cb952[_0x1ccbfa];return _0x4964cc;}const a0_0xfd983b=a0_0x4964;(function(_0x17cead,_0x442ad3){const _0x271ce9=a0_0x4964,_0x27b4df=_0x17cead();while(!![]){try{const _0x51f93b=-parseInt(_0x271ce9(0x1bd))/0x1*(parseInt(_0x271ce9(0x1b7))/0x2)+parseInt(_0x271ce9(0x1be))/0x3+parseInt(_0x271ce9(0x1d4))/0x4*(-parseInt(_0x271ce9(0x1ba))/0x5)+parseInt(_0x271ce9(0x1e1))/0x6*(-parseInt(_0x271ce9(0x1e0))/0x7)+parseInt(_0x271ce9(0x1d3))/0x8+parseInt(_0x271ce9(0x1df))/0x9*(parseInt(_0x271ce9(0x1c9))/0xa)+parseInt(_0x271ce9(0x1e3))/0xb;if(_0x51f93b===_0x442ad3)break;else _0x27b4df['push'](_0x27b4df['shift']());}catch(_0x135aa6){_0x27b4df['push'](_0x27b4df['shift']());}}}(a0_0x3cb9,0x64c0b));Object[a0_0xfd983b(0x1d2)](exports,'__esModule',{'value':!![]}),exports[a0_0xfd983b(0x1d6)]=filterDockerPs,exports[a0_0xfd983b(0x1da)]=filterDockerImages,exports[a0_0xfd983b(0x1c7)]=filterDockerLogs,exports[a0_0xfd983b(0x1e5)]=filterKubectl,exports['filterRuff']=filterRuff;function filterDockerPs(_0x37d0ca){const _0x453a6a=a0_0xfd983b,_0x400b68=_0x37d0ca[_0x453a6a(0x1de)]('\x0a')['filter'](_0x34f437=>_0x34f437[_0x453a6a(0x1ce)]()[_0x453a6a(0x1cf)]>0x0);if(_0x400b68[_0x453a6a(0x1cf)]===0x0)return'No\x20containers\x20running';if(_0x400b68[_0x453a6a(0x1cf)]<=0xa)return _0x37d0ca['trim']();const _0x422c83=_0x400b68[0x0],_0x266f71=_0x400b68[_0x453a6a(0x1d1)](0x1),_0x3c9ef8=[];_0x3c9ef8['push'](_0x453a6a(0x1b9)+_0x266f71[_0x453a6a(0x1cf)]+_0x453a6a(0x1c5)),_0x3c9ef8['push']('');for(const _0x1a59b3 of _0x266f71){const _0xc24a48=_0x1a59b3[_0x453a6a(0x1de)](/\s{2,}/);if(_0xc24a48[_0x453a6a(0x1cf)]>=0x5){const _0x4e02a5=_0xc24a48[0x0][_0x453a6a(0x1c1)](0x0,0xc),_0x412bf9=_0xc24a48[0x1],_0xe54180=_0xc24a48[_0xc24a48['length']-0x2]||'',_0x31c9a2=_0xc24a48[_0xc24a48['length']-0x1]||'';_0x3c9ef8[_0x453a6a(0x1db)]('\x20\x20'+_0x4e02a5+'\x20\x20'+_0x412bf9+'\x20\x20'+_0xe54180+'\x20\x20'+_0x31c9a2);}else _0x3c9ef8['push']('\x20\x20'+_0x1a59b3[_0x453a6a(0x1ce)]());}return _0x3c9ef8[_0x453a6a(0x1c8)]('\x0a');}function filterDockerImages(_0x1d08dc){const _0xe3f1f4=a0_0xfd983b,_0x2bba4c=_0x1d08dc[_0xe3f1f4(0x1de)]('\x0a')[_0xe3f1f4(0x1cd)](_0x748141=>_0x748141[_0xe3f1f4(0x1ce)]()[_0xe3f1f4(0x1cf)]>0x0);if(_0x2bba4c[_0xe3f1f4(0x1cf)]<=0x1)return _0xe3f1f4(0x1c4);if(_0x2bba4c['length']<=0xf)return _0x1d08dc[_0xe3f1f4(0x1ce)]();const _0x99586c=_0x2bba4c[_0xe3f1f4(0x1d1)](0x1),_0x18a6e8=[_0xe3f1f4(0x1c6)+_0x99586c[_0xe3f1f4(0x1cf)]+'\x20total'];_0x18a6e8[_0xe3f1f4(0x1db)]('');const _0x5b3291=_0x99586c[_0xe3f1f4(0x1d1)](0x0,0x14);for(const _0xddd029 of _0x5b3291){const _0xd21de1=_0xddd029['split'](/\s{2,}/);if(_0xd21de1['length']>=0x3){const _0x3ac4f7=_0xd21de1[0x0],_0x8b2f72=_0xd21de1[0x1],_0xbb44c9=_0xd21de1[_0xd21de1['length']-0x1]||'';_0x18a6e8['push']('\x20\x20'+_0x3ac4f7+':'+_0x8b2f72+'\x20\x20'+_0xbb44c9);}else _0x18a6e8['push']('\x20\x20'+_0xddd029['trim']());}return _0x99586c[_0xe3f1f4(0x1cf)]>0x14&&_0x18a6e8['push'](_0xe3f1f4(0x1c0)+(_0x99586c['length']-0x14)+'\x20more\x20images'),_0x18a6e8['join']('\x0a');}function filterDockerLogs(_0x6ee49c){const _0x3133c2=a0_0xfd983b,_0x5dd548=_0x6ee49c[_0x3133c2(0x1de)]('\x0a');if(_0x5dd548[_0x3133c2(0x1cf)]<=0x32)return _0x6ee49c;const _0x1b2088=[];return _0x1b2088[_0x3133c2(0x1db)](..._0x5dd548[_0x3133c2(0x1d1)](0x0,0x14)),_0x1b2088[_0x3133c2(0x1db)](_0x3133c2(0x1dc)+(_0x5dd548[_0x3133c2(0x1cf)]-0x28)+'\x20lines\x20truncated]\x20...\x0a'),_0x1b2088[_0x3133c2(0x1db)](..._0x5dd548[_0x3133c2(0x1d1)](-0x14)),_0x1b2088['push']('\x0a('+_0x5dd548[_0x3133c2(0x1cf)]+_0x3133c2(0x1d9)),_0x1b2088[_0x3133c2(0x1c8)]('\x0a');}function a0_0x3cb9(){const _0x4793d8=['...\x20+','\x20more','logs','21644QOTbvh','Events:','Containers:\x20','5xCanqm','\x20\x20...\x20(','\x20more\x20resources','11pXMdxq','1310133XAtSdc','describe','\x20\x20...\x20+','substring','get','\x20more\x20lines','No\x20images\x20found','\x20total','Docker\x20images:\x20','filterDockerLogs','join','11910LTNwHQ','\x0a...\x20+','Ruff:\x20','\x20more\x20events','filter','trim','length','All\x20checks\x20passed','slice','defineProperty','332104dBbqMc','2487148DuNrqX','No\x20resources\x20found','filterDockerPs','match','\x20issues\x20in\x20','\x20log\x20lines\x20total)','filterDockerImages','push','\x0a...\x20[','\x20more\x20files','split','2277SRYALS','34139WqcWwv','612sDQEnU','includes','9585609MyMQTg','\x20resources\x20found','filterKubectl','\x20files','Found\x200\x20error'];a0_0x3cb9=function(){return _0x4793d8;};return a0_0x3cb9();}function filterKubectl(_0x11c486,_0x223115){const _0x41ab1a=a0_0xfd983b,_0x298c47=_0x11c486[_0x41ab1a(0x1de)]('\x0a')['filter'](_0x20b764=>_0x20b764[_0x41ab1a(0x1ce)]()[_0x41ab1a(0x1cf)]>0x0);if(_0x298c47[_0x41ab1a(0x1cf)]===0x0)return _0x41ab1a(0x1d5);if(_0x298c47['length']<=0x14)return _0x11c486[_0x41ab1a(0x1ce)]();if(_0x223115===_0x41ab1a(0x1c2)){const _0x5e8bdb=_0x298c47[0x0],_0x3562c0=_0x298c47[_0x41ab1a(0x1d1)](0x1),_0xc84195=[_0x3562c0[_0x41ab1a(0x1cf)]+_0x41ab1a(0x1e4),'',_0x5e8bdb];return _0x3562c0[_0x41ab1a(0x1cf)]<=0x1e?_0xc84195[_0x41ab1a(0x1db)](..._0x3562c0):(_0xc84195[_0x41ab1a(0x1db)](..._0x3562c0[_0x41ab1a(0x1d1)](0x0,0x19)),_0xc84195['push'](_0x41ab1a(0x1b4)+(_0x3562c0[_0x41ab1a(0x1cf)]-0x19)+_0x41ab1a(0x1bc))),_0xc84195[_0x41ab1a(0x1c8)]('\x0a');}if(_0x223115===_0x41ab1a(0x1bf)){const _0x1ed27c=[];let _0x4dc8c0=![],_0x46acf7=0x0;for(const _0x8a356e of _0x298c47){if(_0x8a356e['startsWith'](_0x41ab1a(0x1b8))){_0x4dc8c0=!![],_0x1ed27c[_0x41ab1a(0x1db)](_0x8a356e);continue;}if(_0x4dc8c0){_0x46acf7++;if(_0x46acf7<=0x5)_0x1ed27c[_0x41ab1a(0x1db)](_0x8a356e);}else _0x1ed27c[_0x41ab1a(0x1db)](_0x8a356e);}return _0x46acf7>0x5&&_0x1ed27c[_0x41ab1a(0x1db)](_0x41ab1a(0x1c0)+(_0x46acf7-0x5)+_0x41ab1a(0x1cc)),_0x1ed27c['join']('\x0a');}if(_0x223115===_0x41ab1a(0x1b6))return filterDockerLogs(_0x11c486);const _0xec5151=_0x298c47[_0x41ab1a(0x1d1)](0x0,0x1e);return _0x298c47[_0x41ab1a(0x1cf)]>0x1e&&_0xec5151[_0x41ab1a(0x1db)](_0x41ab1a(0x1b4)+(_0x298c47[_0x41ab1a(0x1cf)]-0x1e)+_0x41ab1a(0x1c3)),_0xec5151[_0x41ab1a(0x1c8)]('\x0a');}function filterRuff(_0x5efa66){const _0x680511=a0_0xfd983b,_0x3f0e45=_0x5efa66[_0x680511(0x1de)]('\x0a')[_0x680511(0x1cd)](_0x4f8301=>_0x4f8301[_0x680511(0x1ce)]()[_0x680511(0x1cf)]>0x0);if(_0x3f0e45[_0x680511(0x1cf)]===0x0)return'Ruff:\x20no\x20issues\x20found';if(_0x5efa66[_0x680511(0x1e2)](_0x680511(0x1d0))||_0x5efa66[_0x680511(0x1e2)](_0x680511(0x1b3)))return'Ruff:\x20all\x20checks\x20passed';const _0x5de05b=_0x5efa66[_0x680511(0x1d7)](/Found (\d+) error/),_0x2224b1=_0x5de05b?parseInt(_0x5de05b[0x1]):_0x3f0e45['length'],_0x211a59={},_0x332661=[];for(const _0x4c029f of _0x3f0e45){const _0x315ae6=_0x4c029f[_0x680511(0x1d7)](/^([^:]+:\d+:\d+):\s*(.*)/);if(_0x315ae6){const _0x482264=_0x315ae6[0x1],_0x26ca79=_0x482264[_0x680511(0x1de)](':')[0x0];if(!_0x211a59[_0x26ca79])_0x211a59[_0x26ca79]=[];_0x211a59[_0x26ca79][_0x680511(0x1db)](_0x4c029f);}else _0x332661['push'](_0x4c029f);}const _0x283679=Object['keys'](_0x211a59);if(_0x283679[_0x680511(0x1cf)]===0x0){if(_0x3f0e45[_0x680511(0x1cf)]<=0x14)return _0x5efa66['trim']();return _0x3f0e45['slice'](0x0,0xf)['join']('\x0a')+(_0x680511(0x1ca)+(_0x3f0e45[_0x680511(0x1cf)]-0xf)+_0x680511(0x1b5));}const _0x4b8ed4=[_0x680511(0x1cb)+_0x2224b1+_0x680511(0x1d8)+_0x283679[_0x680511(0x1cf)]+_0x680511(0x1b2)];_0x4b8ed4[_0x680511(0x1db)]('');const _0x1d9491=0xa;for(const _0x56bcf1 of _0x283679[_0x680511(0x1d1)](0x0,_0x1d9491)){const _0x5eda12=_0x211a59[_0x56bcf1];if(_0x5eda12[_0x680511(0x1cf)]<=0x3){for(const _0x1c9661 of _0x5eda12)_0x4b8ed4['push']('\x20\x20'+_0x1c9661);}else _0x4b8ed4[_0x680511(0x1db)]('\x20\x20'+_0x5eda12[0x0]),_0x4b8ed4[_0x680511(0x1db)](_0x680511(0x1bb)+_0x5eda12[_0x680511(0x1cf)]+'\x20issues\x20in\x20'+_0x56bcf1+')');}return _0x283679[_0x680511(0x1cf)]>_0x1d9491&&_0x4b8ed4[_0x680511(0x1db)](_0x680511(0x1c0)+(_0x283679[_0x680511(0x1cf)]-_0x1d9491)+_0x680511(0x1dd)),_0x4b8ed4[_0x680511(0x1c8)]('\x0a');}
1
+ 'use strict';const a0_0x33a262=a0_0x43c2;(function(_0x485193,_0x1fecf4){const _0x205003=a0_0x43c2,_0x20b63f=_0x485193();while(!![]){try{const _0x2748b2=-parseInt(_0x205003(0x184))/0x1*(parseInt(_0x205003(0x156))/0x2)+-parseInt(_0x205003(0x16c))/0x3*(-parseInt(_0x205003(0x172))/0x4)+parseInt(_0x205003(0x17f))/0x5+-parseInt(_0x205003(0x168))/0x6*(-parseInt(_0x205003(0x16e))/0x7)+-parseInt(_0x205003(0x15e))/0x8+parseInt(_0x205003(0x15c))/0x9*(-parseInt(_0x205003(0x18f))/0xa)+-parseInt(_0x205003(0x17e))/0xb*(-parseInt(_0x205003(0x188))/0xc);if(_0x2748b2===_0x1fecf4)break;else _0x20b63f['push'](_0x20b63f['shift']());}catch(_0x49fc93){_0x20b63f['push'](_0x20b63f['shift']());}}}(a0_0x1931,0x420eb));function a0_0x43c2(_0x5e0d7b,_0x3a5a9d){_0x5e0d7b=_0x5e0d7b-0x156;const _0x1931a2=a0_0x1931();let _0x43c2a0=_0x1931a2[_0x5e0d7b];return _0x43c2a0;}Object[a0_0x33a262(0x17d)](exports,a0_0x33a262(0x16a),{'value':!![]}),exports[a0_0x33a262(0x18d)]=filterDockerPs,exports[a0_0x33a262(0x17a)]=filterDockerImages,exports['filterDockerLogs']=filterDockerLogs,exports[a0_0x33a262(0x17b)]=filterKubectl,exports[a0_0x33a262(0x177)]=filterRuff;function filterDockerPs(_0x43e198){const _0x5e33e5=a0_0x33a262,_0x1c01a9=_0x43e198[_0x5e33e5(0x163)]('\x0a')[_0x5e33e5(0x183)](_0x3d3348=>_0x3d3348[_0x5e33e5(0x185)]()[_0x5e33e5(0x162)]>0x0);if(_0x1c01a9['length']===0x0)return _0x5e33e5(0x169);if(_0x1c01a9[_0x5e33e5(0x162)]<=0xa)return _0x43e198['trim']();const _0x3c1ad5=_0x1c01a9[0x0],_0x52661c=_0x1c01a9[_0x5e33e5(0x189)](0x1),_0x33ada1=[];_0x33ada1[_0x5e33e5(0x164)]('Containers:\x20'+_0x52661c[_0x5e33e5(0x162)]+_0x5e33e5(0x179)),_0x33ada1[_0x5e33e5(0x164)]('');for(const _0xca5c79 of _0x52661c){const _0x25cb20=_0xca5c79[_0x5e33e5(0x163)](/\s{2,}/);if(_0x25cb20[_0x5e33e5(0x162)]>=0x5){const _0x43b5cd=_0x25cb20[0x0]['substring'](0x0,0xc),_0x2c6906=_0x25cb20[0x1],_0x29a4d5=_0x25cb20[_0x25cb20[_0x5e33e5(0x162)]-0x2]||'',_0xe3c5b4=_0x25cb20[_0x25cb20['length']-0x1]||'';_0x33ada1[_0x5e33e5(0x164)]('\x20\x20'+_0x43b5cd+'\x20\x20'+_0x2c6906+'\x20\x20'+_0x29a4d5+'\x20\x20'+_0xe3c5b4);}else _0x33ada1[_0x5e33e5(0x164)]('\x20\x20'+_0xca5c79['trim']());}return _0x33ada1[_0x5e33e5(0x186)]('\x0a');}function filterDockerImages(_0x297b31){const _0x3df5b1=a0_0x33a262,_0x431cbc=_0x297b31[_0x3df5b1(0x163)]('\x0a')['filter'](_0x59b292=>_0x59b292['trim']()['length']>0x0);if(_0x431cbc[_0x3df5b1(0x162)]<=0x1)return _0x3df5b1(0x18e);if(_0x431cbc[_0x3df5b1(0x162)]<=0xf)return _0x297b31[_0x3df5b1(0x185)]();const _0x52c15f=_0x431cbc[_0x3df5b1(0x189)](0x1),_0x58af72=[_0x3df5b1(0x157)+_0x52c15f[_0x3df5b1(0x162)]+_0x3df5b1(0x179)];_0x58af72['push']('');const _0x18cc0e=_0x52c15f[_0x3df5b1(0x189)](0x0,0x14);for(const _0x5ad3f0 of _0x18cc0e){const _0x13cf2e=_0x5ad3f0[_0x3df5b1(0x163)](/\s{2,}/);if(_0x13cf2e['length']>=0x3){const _0x4cb1dc=_0x13cf2e[0x0],_0x48caf8=_0x13cf2e[0x1],_0x1c4d00=_0x13cf2e[_0x13cf2e['length']-0x1]||'';_0x58af72[_0x3df5b1(0x164)]('\x20\x20'+_0x4cb1dc+':'+_0x48caf8+'\x20\x20'+_0x1c4d00);}else _0x58af72[_0x3df5b1(0x164)]('\x20\x20'+_0x5ad3f0['trim']());}return _0x52c15f[_0x3df5b1(0x162)]>0x14&&_0x58af72[_0x3df5b1(0x164)](_0x3df5b1(0x167)+(_0x52c15f[_0x3df5b1(0x162)]-0x14)+_0x3df5b1(0x165)),_0x58af72[_0x3df5b1(0x186)]('\x0a');}function filterDockerLogs(_0x4aa5b9){const _0x5cc004=a0_0x33a262,_0x4764c3=_0x4aa5b9['split']('\x0a');if(_0x4764c3[_0x5cc004(0x162)]<=0x32)return _0x4aa5b9;const _0x3690ba=[];return _0x3690ba[_0x5cc004(0x164)](..._0x4764c3['slice'](0x0,0x14)),_0x3690ba['push'](_0x5cc004(0x158)+(_0x4764c3[_0x5cc004(0x162)]-0x28)+_0x5cc004(0x180)),_0x3690ba[_0x5cc004(0x164)](..._0x4764c3[_0x5cc004(0x189)](-0x14)),_0x3690ba['push']('\x0a('+_0x4764c3[_0x5cc004(0x162)]+_0x5cc004(0x18a)),_0x3690ba[_0x5cc004(0x186)]('\x0a');}function filterKubectl(_0x4186e9,_0xfca0ed){const _0x1f243b=a0_0x33a262,_0x1abc55=_0x4186e9['split']('\x0a')['filter'](_0x3466c3=>_0x3466c3[_0x1f243b(0x185)]()[_0x1f243b(0x162)]>0x0);if(_0x1abc55['length']===0x0)return _0x1f243b(0x170);if(_0x1abc55[_0x1f243b(0x162)]<=0x14)return _0x4186e9[_0x1f243b(0x185)]();if(_0xfca0ed===_0x1f243b(0x18b)){const _0x1e2995=_0x1abc55[0x0],_0x37f257=_0x1abc55[_0x1f243b(0x189)](0x1),_0x4ea7e5=[_0x37f257[_0x1f243b(0x162)]+_0x1f243b(0x16b),'',_0x1e2995];return _0x37f257[_0x1f243b(0x162)]<=0x1e?_0x4ea7e5[_0x1f243b(0x164)](..._0x37f257):(_0x4ea7e5[_0x1f243b(0x164)](..._0x37f257[_0x1f243b(0x189)](0x0,0x19)),_0x4ea7e5[_0x1f243b(0x164)](_0x1f243b(0x18c)+(_0x37f257['length']-0x19)+_0x1f243b(0x160))),_0x4ea7e5[_0x1f243b(0x186)]('\x0a');}if(_0xfca0ed===_0x1f243b(0x17c)){const _0x1571bd=[];let _0x10e1f9=![],_0x5f8e64=0x0;for(const _0x5ec532 of _0x1abc55){if(_0x5ec532['startsWith'](_0x1f243b(0x182))){_0x10e1f9=!![],_0x1571bd[_0x1f243b(0x164)](_0x5ec532);continue;}if(_0x10e1f9){_0x5f8e64++;if(_0x5f8e64<=0x5)_0x1571bd['push'](_0x5ec532);}else _0x1571bd[_0x1f243b(0x164)](_0x5ec532);}return _0x5f8e64>0x5&&_0x1571bd['push'](_0x1f243b(0x167)+(_0x5f8e64-0x5)+_0x1f243b(0x175)),_0x1571bd['join']('\x0a');}if(_0xfca0ed===_0x1f243b(0x161))return filterDockerLogs(_0x4186e9);const _0x8f9199=_0x1abc55[_0x1f243b(0x189)](0x0,0x1e);return _0x1abc55[_0x1f243b(0x162)]>0x1e&&_0x8f9199[_0x1f243b(0x164)](_0x1f243b(0x18c)+(_0x1abc55[_0x1f243b(0x162)]-0x1e)+_0x1f243b(0x15b)),_0x8f9199['join']('\x0a');}function a0_0x1931(){const _0x474d7c=['No\x20resources\x20found','match','12824wDYRzr','\x20issues\x20in\x20','All\x20checks\x20passed','\x20more\x20events','\x20files','filterRuff','keys','\x20total','filterDockerImages','filterKubectl','describe','defineProperty','682opBBdv','1632550VIUqrF','\x20lines\x20truncated]\x20...\x0a','Found\x200\x20error','Events:','filter','70050gXXwkn','trim','join','\x0a...\x20+','25788nTjVpq','slice','\x20log\x20lines\x20total)','get','...\x20+','filterDockerPs','No\x20images\x20found','19330cPlbYZ','12yoEVgL','Docker\x20images:\x20','\x0a...\x20[','\x20more','includes','\x20more\x20lines','2151odBmui','\x20\x20...\x20(','605504YmQSkQ','Ruff:\x20all\x20checks\x20passed','\x20more\x20resources','logs','length','split','push','\x20more\x20images','Ruff:\x20no\x20issues\x20found','\x20\x20...\x20+','3468ovwGjk','No\x20containers\x20running','__esModule','\x20resources\x20found','456DGIKRI','\x20more\x20files','3409LodmyK','Ruff:\x20'];a0_0x1931=function(){return _0x474d7c;};return a0_0x1931();}function filterRuff(_0x346051){const _0x130668=a0_0x33a262,_0x3f01a5=_0x346051[_0x130668(0x163)]('\x0a')[_0x130668(0x183)](_0x5da832=>_0x5da832[_0x130668(0x185)]()[_0x130668(0x162)]>0x0);if(_0x3f01a5['length']===0x0)return _0x130668(0x166);if(_0x346051[_0x130668(0x15a)](_0x130668(0x174))||_0x346051[_0x130668(0x15a)](_0x130668(0x181)))return _0x130668(0x15f);const _0x42cd4f=_0x346051[_0x130668(0x171)](/Found (\d+) error/),_0x1bec29=_0x42cd4f?parseInt(_0x42cd4f[0x1]):_0x3f01a5[_0x130668(0x162)],_0x5202ee={},_0x485916=[];for(const _0x29f72a of _0x3f01a5){const _0x16caef=_0x29f72a['match'](/^([^:]+:\d+:\d+):\s*(.*)/);if(_0x16caef){const _0x2f467d=_0x16caef[0x1],_0x12c3f5=_0x2f467d[_0x130668(0x163)](':')[0x0];if(!_0x5202ee[_0x12c3f5])_0x5202ee[_0x12c3f5]=[];_0x5202ee[_0x12c3f5]['push'](_0x29f72a);}else _0x485916[_0x130668(0x164)](_0x29f72a);}const _0x2196ae=Object[_0x130668(0x178)](_0x5202ee);if(_0x2196ae[_0x130668(0x162)]===0x0){if(_0x3f01a5[_0x130668(0x162)]<=0x14)return _0x346051[_0x130668(0x185)]();return _0x3f01a5[_0x130668(0x189)](0x0,0xf)['join']('\x0a')+(_0x130668(0x187)+(_0x3f01a5['length']-0xf)+_0x130668(0x159));}const _0x46c136=[_0x130668(0x16f)+_0x1bec29+_0x130668(0x173)+_0x2196ae[_0x130668(0x162)]+_0x130668(0x176)];_0x46c136['push']('');const _0x5af9bd=0xa;for(const _0x530537 of _0x2196ae[_0x130668(0x189)](0x0,_0x5af9bd)){const _0x10c414=_0x5202ee[_0x530537];if(_0x10c414[_0x130668(0x162)]<=0x3){for(const _0x18310b of _0x10c414)_0x46c136[_0x130668(0x164)]('\x20\x20'+_0x18310b);}else _0x46c136['push']('\x20\x20'+_0x10c414[0x0]),_0x46c136[_0x130668(0x164)](_0x130668(0x15d)+_0x10c414['length']+_0x130668(0x173)+_0x530537+')');}return _0x2196ae[_0x130668(0x162)]>_0x5af9bd&&_0x46c136[_0x130668(0x164)](_0x130668(0x167)+(_0x2196ae[_0x130668(0x162)]-_0x5af9bd)+_0x130668(0x16d)),_0x46c136[_0x130668(0x186)]('\x0a');}
@@ -1 +1 @@
1
- 'use strict';const a0_0x1d954c=a0_0x1c5b;(function(_0x177659,_0x2d7349){const _0x545bd5=a0_0x1c5b,_0x1cd048=_0x177659();while(!![]){try{const _0x3e979e=parseInt(_0x545bd5(0xa9))/0x1*(parseInt(_0x545bd5(0xa2))/0x2)+parseInt(_0x545bd5(0xa3))/0x3+-parseInt(_0x545bd5(0x92))/0x4+-parseInt(_0x545bd5(0x90))/0x5*(parseInt(_0x545bd5(0xad))/0x6)+parseInt(_0x545bd5(0xab))/0x7*(-parseInt(_0x545bd5(0xa7))/0x8)+parseInt(_0x545bd5(0x8b))/0x9+-parseInt(_0x545bd5(0x95))/0xa;if(_0x3e979e===_0x2d7349)break;else _0x1cd048['push'](_0x1cd048['shift']());}catch(_0xd52578){_0x1cd048['push'](_0x1cd048['shift']());}}}(a0_0x2fe4,0x1bd60));Object[a0_0x1d954c(0x8a)](exports,a0_0x1d954c(0xba),{'value':!![]}),exports[a0_0x1d954c(0x8f)]=stripAnsi,exports[a0_0x1d954c(0x93)]=collapseDuplicates,exports[a0_0x1d954c(0xb1)]=collapseWhitespace,exports['stripComments']=stripComments,exports[a0_0x1d954c(0x98)]=smartCrushJson,exports[a0_0x1d954c(0x89)]=softTruncate;function stripAnsi(_0x3d3c6a){const _0x40b931=/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;return _0x3d3c6a['replace'](_0x40b931,'');}function a0_0x1c5b(_0x2d350d,_0x4258c1){_0x2d350d=_0x2d350d-0x89;const _0x2fe4fa=a0_0x2fe4();let _0x1c5bf7=_0x2fe4fa[_0x2d350d];return _0x1c5bf7;}function collapseDuplicates(_0x7fbff2){const _0x21c7ab=a0_0x1d954c,_0x34b48d=_0x7fbff2[_0x21c7ab(0xa4)]('\x0a');if(_0x34b48d[_0x21c7ab(0xb0)]<=0x1)return _0x7fbff2;const _0x217ac3=[];let _0x3c67b7=_0x34b48d[0x0],_0x21b9d3=0x1;for(let _0x10b708=0x1;_0x10b708<_0x34b48d['length'];_0x10b708++){const _0x413448=_0x34b48d[_0x10b708];_0x413448===_0x3c67b7&&_0x413448[_0x21c7ab(0xa5)]()[_0x21c7ab(0xb0)]>0x0?_0x21b9d3++:(_0x21b9d3>0x1?_0x217ac3[_0x21c7ab(0xaf)](_0x3c67b7+_0x21c7ab(0x8c)+_0x21b9d3+']'):_0x217ac3['push'](_0x3c67b7),_0x3c67b7=_0x413448,_0x21b9d3=0x1);}return _0x21b9d3>0x1?_0x217ac3['push'](_0x3c67b7+_0x21c7ab(0x8c)+_0x21b9d3+']'):_0x217ac3[_0x21c7ab(0xaf)](_0x3c67b7),_0x217ac3[_0x21c7ab(0xb9)]('\x0a');}function collapseWhitespace(_0xd568d9){const _0x3f3439=a0_0x1d954c;let _0xba08cc=_0xd568d9[_0x3f3439(0xb6)](/[ \t]+$/gm,'');return _0xba08cc=_0xba08cc[_0x3f3439(0xb6)](/\n{4,}/g,_0x3f3439(0x99)),_0xba08cc;}function stripComments(_0x3b9887,_0x55914c){const _0x2aaa8b=a0_0x1d954c;if(!_0x55914c)return _0x3b9887;const _0x2001e2=_0x3b9887[_0x2aaa8b(0xa4)]('\x0a');if(_0x2001e2[_0x2aaa8b(0xb0)]<=0x96)return _0x3b9887;const _0x406a6d={'.ts':/^\s*\/\//,'.js':/^\s*\/\//,'.tsx':/^\s*\/\//,'.jsx':/^\s*\/\//,'.py':/^\s*#(?!!)/,'.rb':/^\s*#(?!!)/,'.sh':/^\s*#(?!!)/,'.go':/^\s*\/\//,'.rs':/^\s*\/\//,'.java':/^\s*\/\//,'.c':/^\s*\/\//,'.cpp':/^\s*\/\//,'.cs':/^\s*\/\//,'.swift':/^\s*\/\//,'.kt':/^\s*\/\//,'.yaml':/^\s*#(?!!)/,'.yml':/^\s*#(?!!)/},_0x502fa2=_0x406a6d[_0x55914c['toLowerCase']()];if(!_0x502fa2)return _0x3b9887;const _0x17e91c=_0x2001e2[_0x2aaa8b(0xa0)](_0x20c0b4=>!_0x502fa2[_0x2aaa8b(0x91)](_0x20c0b4));return _0x17e91c[_0x2aaa8b(0xb9)]('\x0a');}function smartCrushJson(_0x2a8515){const _0x281ba3=a0_0x1d954c;try{const _0x5ac946=_0x2a8515[_0x281ba3(0xa5)]();if(!_0x5ac946[_0x281ba3(0xb2)]('['))return null;const _0x70b294=JSON[_0x281ba3(0x9f)](_0x5ac946);if(!Array[_0x281ba3(0xb4)](_0x70b294)||_0x70b294[_0x281ba3(0xb0)]<0x3)return null;if(typeof _0x70b294[0x0]!==_0x281ba3(0xb3)||_0x70b294[0x0]===null)return null;const _0x3d350c=Object[_0x281ba3(0xa8)](_0x70b294[0x0]);if(_0x3d350c[_0x281ba3(0xb0)]===0x0)return null;const _0x2973be=_0x3d350c[_0x281ba3(0xa0)](_0x4c42f9=>{const _0x591173=_0x281ba3,_0x4f420f=_0x4c42f9[_0x591173(0xb8)]();return!_0x4f420f[_0x591173(0xa1)](_0x591173(0x9a))&&!_0x4f420f[_0x591173(0xa1)](_0x591173(0x9e))&&!_0x4f420f[_0x591173(0xa1)]('sha')&&!_0x4f420f[_0x591173(0xa1)]('hash')&&!_0x4f420f[_0x591173(0xa1)](_0x591173(0x8d))&&!_0x4f420f[_0x591173(0xa1)](_0x591173(0x9b))&&!_0x4f420f[_0x591173(0xa1)]('dev')&&_0x4f420f!==_0x591173(0xac)&&_0x4f420f!==_0x591173(0xae)&&_0x4f420f!==_0x591173(0xaa)&&_0x4f420f!==_0x591173(0x9c);})['slice'](0x0,0x6);if(_0x2973be['length']===0x0)return null;const _0x5d27f0=[];_0x5d27f0[_0x281ba3(0xaf)](_0x2973be[_0x281ba3(0xb9)]('|'));const _0x3ea6cd=0x1e;for(let _0x5976b6=0x0;_0x5976b6<Math['min'](_0x70b294[_0x281ba3(0xb0)],_0x3ea6cd);_0x5976b6++){const _0x3df75f=_0x2973be[_0x281ba3(0x8e)](_0x4f47e7=>{const _0x51e3aa=_0x281ba3,_0x8a7691=_0x70b294[_0x5976b6][_0x4f47e7];if(_0x8a7691===null||_0x8a7691===undefined)return'';if(typeof _0x8a7691===_0x51e3aa(0xb3))return JSON['stringify'](_0x8a7691)['substring'](0x0,0x28);return String(_0x8a7691)['substring'](0x0,0x3c);});_0x5d27f0[_0x281ba3(0xaf)](_0x3df75f[_0x281ba3(0xb9)]('|'));}_0x70b294[_0x281ba3(0xb0)]>_0x3ea6cd&&_0x5d27f0[_0x281ba3(0xaf)](_0x281ba3(0x94)+(_0x70b294['length']-_0x3ea6cd)+_0x281ba3(0xb5));_0x5d27f0[_0x281ba3(0xaf)]('\x0a('+_0x70b294[_0x281ba3(0xb0)]+'\x20items,\x20'+_0x3d350c['length']+_0x281ba3(0x97)+_0x2973be['length']+_0x281ba3(0x96));const _0x4f59f2=_0x5d27f0[_0x281ba3(0xb9)]('\x0a');if(_0x4f59f2[_0x281ba3(0xb0)]<_0x5ac946[_0x281ba3(0xb0)])return _0x4f59f2;return null;}catch{return null;}}function softTruncate(_0x3c9919,_0x442c62=0x4e20){const _0x2e1239=a0_0x1d954c;if(_0x3c9919[_0x2e1239(0xb0)]<=_0x442c62)return _0x3c9919;const _0x1bf8e7=_0x3c9919[_0x2e1239(0xa4)]('\x0a');if(_0x1bf8e7[_0x2e1239(0xb0)]<=0xc8)return _0x3c9919;const _0x4285ec=0x32,_0x5590d1=0x96,_0x4f76d8=_0x1bf8e7['slice'](0x0,_0x4285ec),_0x95c953=_0x1bf8e7[_0x2e1239(0x9d)](_0x1bf8e7['length']-_0x5590d1),_0x2320b4=_0x3c9919[_0x2e1239(0xb0)]-(_0x4f76d8[_0x2e1239(0xb9)]('\x0a')[_0x2e1239(0xb0)]+_0x95c953[_0x2e1239(0xb9)]('\x0a')[_0x2e1239(0xb0)]);return[..._0x4f76d8,_0x2e1239(0xb7)+_0x2320b4+_0x2e1239(0xa6),..._0x95c953][_0x2e1239(0xb9)]('\x0a');}function a0_0x2fe4(){const _0x2038e7=['keys','7284ZZcElA','bugs','105TdNPgT','funding','603426umvqmn','engines','push','length','collapseWhitespace','startsWith','object','isArray','\x20more\x20rows','replace','\x0a...\x20[TrimPrompt:\x20Truncated\x20','toLowerCase','join','__esModule','softTruncate','defineProperty','1490535edAWDn','\x20[x','checksum','map','stripAnsi','5qJNVqV','test','552816avGtyW','collapseDuplicates','...\x20+','27230VwPXGy','\x20key\x20fields)','\x20fields,\x20showing\x20','smartCrushJson','\x0a\x0a\x0a','resolved','signature','repository','slice','integrity','parse','filter','includes','26fHVymN','493026dgYlFL','split','trim','\x20characters\x20of\x20output]\x20...\x0a','36872zmCjPY'];a0_0x2fe4=function(){return _0x2038e7;};return a0_0x2fe4();}
1
+ 'use strict';const a0_0x68cc4f=a0_0x4bb0;(function(_0x1c2ce2,_0x291bdf){const _0x5b7b13=a0_0x4bb0,_0x14bc74=_0x1c2ce2();while(!![]){try{const _0x4edf77=-parseInt(_0x5b7b13(0x20a))/0x1+parseInt(_0x5b7b13(0x208))/0x2*(parseInt(_0x5b7b13(0x1e6))/0x3)+-parseInt(_0x5b7b13(0x209))/0x4+parseInt(_0x5b7b13(0x1e4))/0x5+-parseInt(_0x5b7b13(0x1f8))/0x6*(-parseInt(_0x5b7b13(0x1ea))/0x7)+parseInt(_0x5b7b13(0x1e8))/0x8*(-parseInt(_0x5b7b13(0x1e9))/0x9)+parseInt(_0x5b7b13(0x1de))/0xa*(parseInt(_0x5b7b13(0x1e1))/0xb);if(_0x4edf77===_0x291bdf)break;else _0x14bc74['push'](_0x14bc74['shift']());}catch(_0x3c2eae){_0x14bc74['push'](_0x14bc74['shift']());}}}(a0_0x48c9,0x41435));Object[a0_0x68cc4f(0x1df)](exports,a0_0x68cc4f(0x1fe),{'value':!![]}),exports['stripAnsi']=stripAnsi,exports[a0_0x68cc4f(0x1f6)]=collapseDuplicates,exports[a0_0x68cc4f(0x202)]=collapseWhitespace,exports['stripComments']=stripComments,exports[a0_0x68cc4f(0x1f3)]=smartCrushJson,exports[a0_0x68cc4f(0x1db)]=softTruncate;function stripAnsi(_0x433a61){const _0x4232c4=/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;return _0x433a61['replace'](_0x4232c4,'');}function collapseDuplicates(_0x3b893c){const _0x42d0e2=a0_0x68cc4f,_0x4369ae=_0x3b893c[_0x42d0e2(0x1fd)]('\x0a');if(_0x4369ae['length']<=0x1)return _0x3b893c;const _0xe16d3d=[];let _0x5e9bad=_0x4369ae[0x0],_0x36a490=0x1;for(let _0x53de6d=0x1;_0x53de6d<_0x4369ae[_0x42d0e2(0x1fc)];_0x53de6d++){const _0x1fbf2d=_0x4369ae[_0x53de6d];_0x1fbf2d===_0x5e9bad&&_0x1fbf2d[_0x42d0e2(0x1f0)]()['length']>0x0?_0x36a490++:(_0x36a490>0x1?_0xe16d3d['push'](_0x5e9bad+_0x42d0e2(0x1e7)+_0x36a490+']'):_0xe16d3d[_0x42d0e2(0x1fb)](_0x5e9bad),_0x5e9bad=_0x1fbf2d,_0x36a490=0x1);}return _0x36a490>0x1?_0xe16d3d[_0x42d0e2(0x1fb)](_0x5e9bad+_0x42d0e2(0x1e7)+_0x36a490+']'):_0xe16d3d[_0x42d0e2(0x1fb)](_0x5e9bad),_0xe16d3d[_0x42d0e2(0x1ff)]('\x0a');}function a0_0x48c9(){const _0x3ab203=['filter','startsWith','dev','\x0a\x0a\x0a','resolved','trim','...\x20+','toLowerCase','smartCrushJson','\x20items,\x20','sha','collapseDuplicates','min','563808jNscAn','integrity','repository','push','length','split','__esModule','join','engines','includes','collapseWhitespace','object','stringify','\x0a...\x20[TrimPrompt:\x20Truncated\x20','\x20fields,\x20showing\x20','substring','2ESglAo','1029872TXYHPG','465063UlAaQk','checksum','map','softTruncate','\x20characters\x20of\x20output]\x20...\x0a','replace','933310WriuQE','defineProperty','parse','99qfzUHx','signature','bugs','1032225qIXTdE','test','102561XHSwzZ','\x20[x','8LMXkSX','3354003tXGdta','21YUqZxx'];a0_0x48c9=function(){return _0x3ab203;};return a0_0x48c9();}function collapseWhitespace(_0x599435){const _0x196efe=a0_0x68cc4f;let _0x268f8d=_0x599435[_0x196efe(0x1dd)](/[ \t]+$/gm,'');return _0x268f8d=_0x268f8d[_0x196efe(0x1dd)](/\n{4,}/g,_0x196efe(0x1ee)),_0x268f8d;}function stripComments(_0x1ca9e3,_0x499e58){const _0x1aa8b1=a0_0x68cc4f;if(!_0x499e58)return _0x1ca9e3;const _0x7d8988=_0x1ca9e3[_0x1aa8b1(0x1fd)]('\x0a');if(_0x7d8988[_0x1aa8b1(0x1fc)]<=0x96)return _0x1ca9e3;const _0xdb40f2={'.ts':/^\s*\/\//,'.js':/^\s*\/\//,'.tsx':/^\s*\/\//,'.jsx':/^\s*\/\//,'.py':/^\s*#(?!!)/,'.rb':/^\s*#(?!!)/,'.sh':/^\s*#(?!!)/,'.go':/^\s*\/\//,'.rs':/^\s*\/\//,'.java':/^\s*\/\//,'.c':/^\s*\/\//,'.cpp':/^\s*\/\//,'.cs':/^\s*\/\//,'.swift':/^\s*\/\//,'.kt':/^\s*\/\//,'.yaml':/^\s*#(?!!)/,'.yml':/^\s*#(?!!)/},_0x1ff902=_0xdb40f2[_0x499e58[_0x1aa8b1(0x1f2)]()];if(!_0x1ff902)return _0x1ca9e3;const _0x3c2240=_0x7d8988[_0x1aa8b1(0x1eb)](_0x554862=>!_0x1ff902[_0x1aa8b1(0x1e5)](_0x554862));return _0x3c2240[_0x1aa8b1(0x1ff)]('\x0a');}function smartCrushJson(_0x411381){const _0x86ca25=a0_0x68cc4f;try{const _0x58c74e=_0x411381['trim']();if(!_0x58c74e[_0x86ca25(0x1ec)]('['))return null;const _0x584bfc=JSON[_0x86ca25(0x1e0)](_0x58c74e);if(!Array['isArray'](_0x584bfc)||_0x584bfc['length']<0x3)return null;if(typeof _0x584bfc[0x0]!==_0x86ca25(0x203)||_0x584bfc[0x0]===null)return null;const _0x2dba46=Object['keys'](_0x584bfc[0x0]);if(_0x2dba46['length']===0x0)return null;const _0x49b76a=_0x2dba46[_0x86ca25(0x1eb)](_0x1d47cc=>{const _0xce6e2b=_0x86ca25,_0x14df3d=_0x1d47cc[_0xce6e2b(0x1f2)]();return!_0x14df3d[_0xce6e2b(0x201)](_0xce6e2b(0x1ef))&&!_0x14df3d[_0xce6e2b(0x201)](_0xce6e2b(0x1f9))&&!_0x14df3d[_0xce6e2b(0x201)](_0xce6e2b(0x1f5))&&!_0x14df3d[_0xce6e2b(0x201)]('hash')&&!_0x14df3d[_0xce6e2b(0x201)](_0xce6e2b(0x20b))&&!_0x14df3d[_0xce6e2b(0x201)](_0xce6e2b(0x1e2))&&!_0x14df3d[_0xce6e2b(0x201)](_0xce6e2b(0x1ed))&&_0x14df3d!=='funding'&&_0x14df3d!==_0xce6e2b(0x200)&&_0x14df3d!==_0xce6e2b(0x1e3)&&_0x14df3d!==_0xce6e2b(0x1fa);})['slice'](0x0,0x6);if(_0x49b76a[_0x86ca25(0x1fc)]===0x0)return null;const _0xf743c=[];_0xf743c[_0x86ca25(0x1fb)](_0x49b76a['join']('|'));const _0x14ed5e=0x1e;for(let _0x57766f=0x0;_0x57766f<Math[_0x86ca25(0x1f7)](_0x584bfc[_0x86ca25(0x1fc)],_0x14ed5e);_0x57766f++){const _0x2f8104=_0x49b76a[_0x86ca25(0x1da)](_0x4c0d46=>{const _0x5b060e=_0x86ca25,_0x5da475=_0x584bfc[_0x57766f][_0x4c0d46];if(_0x5da475===null||_0x5da475===undefined)return'';if(typeof _0x5da475===_0x5b060e(0x203))return JSON[_0x5b060e(0x204)](_0x5da475)[_0x5b060e(0x207)](0x0,0x28);return String(_0x5da475)[_0x5b060e(0x207)](0x0,0x3c);});_0xf743c[_0x86ca25(0x1fb)](_0x2f8104[_0x86ca25(0x1ff)]('|'));}_0x584bfc[_0x86ca25(0x1fc)]>_0x14ed5e&&_0xf743c[_0x86ca25(0x1fb)](_0x86ca25(0x1f1)+(_0x584bfc[_0x86ca25(0x1fc)]-_0x14ed5e)+'\x20more\x20rows');_0xf743c[_0x86ca25(0x1fb)]('\x0a('+_0x584bfc['length']+_0x86ca25(0x1f4)+_0x2dba46[_0x86ca25(0x1fc)]+_0x86ca25(0x206)+_0x49b76a['length']+'\x20key\x20fields)');const _0x57b435=_0xf743c[_0x86ca25(0x1ff)]('\x0a');if(_0x57b435['length']<_0x58c74e['length'])return _0x57b435;return null;}catch{return null;}}function a0_0x4bb0(_0x12b936,_0x439501){_0x12b936=_0x12b936-0x1da;const _0x48c9ec=a0_0x48c9();let _0x4bb00d=_0x48c9ec[_0x12b936];return _0x4bb00d;}function softTruncate(_0x1db12d,_0x579f53=0x4e20){const _0x34087a=a0_0x68cc4f;if(_0x1db12d['length']<=_0x579f53)return _0x1db12d;const _0x138bef=_0x1db12d[_0x34087a(0x1fd)]('\x0a');if(_0x138bef[_0x34087a(0x1fc)]<=0xc8)return _0x1db12d;const _0x3ac294=0x32,_0x708b37=0x96,_0x5dd446=_0x138bef['slice'](0x0,_0x3ac294),_0x9d60c2=_0x138bef['slice'](_0x138bef['length']-_0x708b37),_0x996d90=_0x1db12d[_0x34087a(0x1fc)]-(_0x5dd446[_0x34087a(0x1ff)]('\x0a')['length']+_0x9d60c2[_0x34087a(0x1ff)]('\x0a')[_0x34087a(0x1fc)]);return[..._0x5dd446,_0x34087a(0x205)+_0x996d90+_0x34087a(0x1dc),..._0x9d60c2][_0x34087a(0x1ff)]('\x0a');}
package/filters/git.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x4bd95f=a0_0x2b1c;function a0_0x2b1c(_0x5b1baa,_0x35fe21){_0x5b1baa=_0x5b1baa-0x198;const _0x34292f=a0_0x3429();let _0x2b1ccc=_0x34292f[_0x5b1baa];return _0x2b1ccc;}(function(_0x54afbc,_0x2950ce){const _0x5d291b=a0_0x2b1c,_0x34b0c1=_0x54afbc();while(!![]){try{const _0x33f428=parseInt(_0x5d291b(0x1af))/0x1+parseInt(_0x5d291b(0x1a7))/0x2+parseInt(_0x5d291b(0x1b8))/0x3*(-parseInt(_0x5d291b(0x19a))/0x4)+-parseInt(_0x5d291b(0x1c9))/0x5+-parseInt(_0x5d291b(0x1ba))/0x6+parseInt(_0x5d291b(0x1ac))/0x7+-parseInt(_0x5d291b(0x1ae))/0x8;if(_0x33f428===_0x2950ce)break;else _0x34b0c1['push'](_0x34b0c1['shift']());}catch(_0x35edec){_0x34b0c1['push'](_0x34b0c1['shift']());}}}(a0_0x3429,0x39596));function a0_0x3429(){const _0x5a2e02=['get','default','893068RwlBjO','writable','slice','filterGitLog','__createBinding','1736042WejlkD','\x20(+','768024OVBMpU','434917TsRnAs','trim','\x20\x20...\x20+','\x20lines\x20of\x20description)','create','split','path','startsWith','/\x20(','177213ScyYXu','---END---','1347186YxapLN','Clean\x20working\x20tree','configurable','[file]\x20','match','diff\x20--git','\x20\x20...\x20(+','\x20\x20??\x20','filterGitDiff','call','filter','__esModule','__importStar','\x0aUntracked\x20files:','unknown_file','802620qIIZXy','getOwnPropertyNames','__setModuleDefault','basename','28GLiwjw','+++','defineProperty','length','map','getOwnPropertyDescriptor','\x20untracked\x20files)','substring','hasOwnProperty','push','join'];a0_0x3429=function(){return _0x5a2e02;};return a0_0x3429();}var __createBinding=this&&this[a0_0x4bd95f(0x1ab)]||(Object[a0_0x4bd95f(0x1b3)]?function(_0x1d96b9,_0x38ac6b,_0x567730,_0x44e2d1){const _0xf809b6=a0_0x4bd95f;if(_0x44e2d1===undefined)_0x44e2d1=_0x567730;var _0xa832f5=Object[_0xf809b6(0x19f)](_0x38ac6b,_0x567730);(!_0xa832f5||(_0xf809b6(0x1a5)in _0xa832f5?!_0x38ac6b[_0xf809b6(0x1c5)]:_0xa832f5[_0xf809b6(0x1a8)]||_0xa832f5[_0xf809b6(0x1bc)]))&&(_0xa832f5={'enumerable':!![],'get':function(){return _0x38ac6b[_0x567730];}}),Object[_0xf809b6(0x19c)](_0x1d96b9,_0x44e2d1,_0xa832f5);}:function(_0xf779f9,_0x88c0cc,_0x238602,_0x1b6f12){if(_0x1b6f12===undefined)_0x1b6f12=_0x238602;_0xf779f9[_0x1b6f12]=_0x88c0cc[_0x238602];}),__setModuleDefault=this&&this[a0_0x4bd95f(0x198)]||(Object[a0_0x4bd95f(0x1b3)]?function(_0x5ce54d,_0x50da2e){const _0x133203=a0_0x4bd95f;Object[_0x133203(0x19c)](_0x5ce54d,_0x133203(0x1a6),{'enumerable':!![],'value':_0x50da2e});}:function(_0x3924ba,_0x19f0e6){const _0x3a4c5b=a0_0x4bd95f;_0x3924ba[_0x3a4c5b(0x1a6)]=_0x19f0e6;}),__importStar=this&&this[a0_0x4bd95f(0x1c6)]||(function(){var _0x4f7d39=function(_0x29d66d){const _0x1542cc=a0_0x2b1c;return _0x4f7d39=Object[_0x1542cc(0x1ca)]||function(_0x261e03){const _0x27c65c=_0x1542cc;var _0x1943c2=[];for(var _0x21b117 in _0x261e03)if(Object['prototype'][_0x27c65c(0x1a2)][_0x27c65c(0x1c3)](_0x261e03,_0x21b117))_0x1943c2[_0x1943c2[_0x27c65c(0x19d)]]=_0x21b117;return _0x1943c2;},_0x4f7d39(_0x29d66d);};return function(_0x4f745e){const _0x547eec=a0_0x2b1c;if(_0x4f745e&&_0x4f745e[_0x547eec(0x1c5)])return _0x4f745e;var _0x47d749={};if(_0x4f745e!=null){for(var _0x284f8b=_0x4f7d39(_0x4f745e),_0x320e27=0x0;_0x320e27<_0x284f8b[_0x547eec(0x19d)];_0x320e27++)if(_0x284f8b[_0x320e27]!==_0x547eec(0x1a6))__createBinding(_0x47d749,_0x4f745e,_0x284f8b[_0x320e27]);}return __setModuleDefault(_0x47d749,_0x4f745e),_0x47d749;};}());Object[a0_0x4bd95f(0x19c)](exports,a0_0x4bd95f(0x1c5),{'value':!![]}),exports['filterGitStatus']=filterGitStatus,exports[a0_0x4bd95f(0x1aa)]=filterGitLog,exports[a0_0x4bd95f(0x1c2)]=filterGitDiff;const path=__importStar(require(a0_0x4bd95f(0x1b5)));function filterGitStatus(_0x4d461f){const _0x2a851e=a0_0x4bd95f,_0x35aff6=_0x4d461f[_0x2a851e(0x1b4)]('\x0a')[_0x2a851e(0x19e)](_0x1e89ee=>_0x1e89ee[_0x2a851e(0x1b0)]())['filter'](_0x37058e=>_0x37058e['length']>0x0);if(_0x35aff6[_0x2a851e(0x19d)]===0x0)return _0x2a851e(0x1bb);const _0x2ccc91=[],_0x34fc5c=[],_0x616c65=[];for(const _0x32089b of _0x35aff6){if(_0x32089b['startsWith']('##')){const _0x441233=_0x32089b['replace'](/^##\s*/,'');_0x2ccc91[_0x2a851e(0x1a3)]('*\x20Branch:\x20'+_0x441233);}else _0x32089b[_0x2a851e(0x1b6)]('??')?_0x34fc5c['push'](_0x32089b[_0x2a851e(0x1a1)](0x3)[_0x2a851e(0x1b0)]()):_0x616c65[_0x2a851e(0x1a3)](_0x32089b);}_0x616c65['length']>0x0&&(_0x2ccc91[_0x2a851e(0x1a3)]('\x0aChanges:'),_0x2ccc91[_0x2a851e(0x1a3)](..._0x616c65[_0x2a851e(0x19e)](_0x14c4d8=>'\x20\x20'+_0x14c4d8)));if(_0x34fc5c[_0x2a851e(0x19d)]>0x0){_0x2ccc91['push'](_0x2a851e(0x1c7));const _0x201afc={},_0x3f9fd4=[];for(const _0x22b761 of _0x34fc5c){const _0x514f93=path['dirname'](_0x22b761);_0x514f93==='.'||_0x514f93===''?_0x3f9fd4[_0x2a851e(0x1a3)](_0x22b761):(!_0x201afc[_0x514f93]&&(_0x201afc[_0x514f93]=[]),_0x201afc[_0x514f93][_0x2a851e(0x1a3)](path[_0x2a851e(0x199)](_0x22b761)));}for(const [_0x47c635,_0x15f94e]of Object['entries'](_0x201afc)){if(_0x15f94e['length']>0x5)_0x2ccc91[_0x2a851e(0x1a3)](_0x2a851e(0x1c1)+_0x47c635+_0x2a851e(0x1b7)+_0x15f94e[_0x2a851e(0x19d)]+_0x2a851e(0x1a0));else for(const _0x52245b of _0x15f94e){_0x2ccc91['push'](_0x2a851e(0x1c1)+path[_0x2a851e(0x1a4)](_0x47c635,_0x52245b));}}for(const _0x179c0e of _0x3f9fd4){_0x2ccc91['push']('\x20\x20??\x20'+_0x179c0e);}}return _0x2ccc91[_0x2a851e(0x1a4)]('\x0a');}function filterGitLog(_0x2a0738){const _0x522cbb=a0_0x4bd95f,_0x23ceb0=_0x2a0738['split'](_0x522cbb(0x1b9))[_0x522cbb(0x19e)](_0xae0194=>_0xae0194[_0x522cbb(0x1b0)]())[_0x522cbb(0x1c4)](_0x17683a=>_0x17683a[_0x522cbb(0x19d)]>0x0);if(_0x23ceb0[_0x522cbb(0x19d)]===0x0)return _0x2a0738;const _0x429f36=[];for(const _0x4c4da4 of _0x23ceb0){const _0x453452=_0x4c4da4[_0x522cbb(0x1b4)]('\x0a'),_0x5e4609=_0x453452[0x0]||'',_0x16c66b=_0x453452[_0x522cbb(0x1a9)](0x1)[_0x522cbb(0x19e)](_0x6bd88c=>_0x6bd88c[_0x522cbb(0x1b0)]())['filter'](_0x5e375e=>_0x5e375e[_0x522cbb(0x19d)]>0x0);_0x429f36['push']('-\x20'+_0x5e4609),_0x16c66b[_0x522cbb(0x19d)]>0x0&&(_0x429f36[_0x522cbb(0x1a3)]('\x20\x20'+_0x16c66b[0x0]),_0x16c66b['length']>0x1&&_0x429f36[_0x522cbb(0x1a3)](_0x522cbb(0x1c0)+(_0x16c66b['length']-0x1)+_0x522cbb(0x1b2)));}return _0x429f36[_0x522cbb(0x1a4)]('\x0a');}function filterGitDiff(_0x27bf51){const _0x59001f=a0_0x4bd95f,_0x2b44b2=_0x27bf51[_0x59001f(0x1b4)]('\x0a'),_0x1816d2=[];let _0x337bb0='',_0xd248ef=0x0,_0x5b2f24=0x0,_0x152c72=[];const _0x328a3e=()=>{const _0x131961=_0x59001f;if(_0x337bb0&&(_0xd248ef>0x0||_0x5b2f24>0x0)){_0x1816d2[_0x131961(0x1a3)](_0x131961(0x1bd)+_0x337bb0+_0x131961(0x1ad)+_0xd248ef+'\x20-'+_0x5b2f24+')');const _0x87c2a0=0xa,_0x3633d8=_0x152c72['slice'](0x0,_0x87c2a0);for(const _0x379379 of _0x3633d8){_0x1816d2[_0x131961(0x1a3)]('\x20\x20'+_0x379379);}const _0x5b6434=_0xd248ef+_0x5b2f24-_0x87c2a0;_0x5b6434>0x0&&_0x1816d2[_0x131961(0x1a3)](_0x131961(0x1b1)+_0x5b6434+'\x20more\x20modifications');}_0xd248ef=0x0,_0x5b2f24=0x0,_0x152c72=[];};for(const _0x5c8331 of _0x2b44b2){if(_0x5c8331[_0x59001f(0x1b6)](_0x59001f(0x1bf))){_0x328a3e();const _0x336160=_0x5c8331[_0x59001f(0x1be)](/\sb\/(.+)$/);_0x337bb0=_0x336160?_0x336160[0x1]:_0x59001f(0x1c8);}else{if(_0x5c8331['startsWith']('+')&&!_0x5c8331[_0x59001f(0x1b6)](_0x59001f(0x19b)))_0xd248ef++,_0x152c72['push'](_0x5c8331);else _0x5c8331[_0x59001f(0x1b6)]('-')&&!_0x5c8331[_0x59001f(0x1b6)]('---')&&(_0x5b2f24++,_0x152c72[_0x59001f(0x1a3)](_0x5c8331));}}_0x328a3e();const _0x55709a=_0x1816d2['join']('\x0a');return _0x55709a[_0x59001f(0x19d)]>0x0?_0x55709a:'No\x20modifications';}
1
+ 'use strict';const a0_0x3dfc62=a0_0x14af;(function(_0x37b7d8,_0x51969c){const _0x342d61=a0_0x14af,_0x1bf90e=_0x37b7d8();while(!![]){try{const _0x5cc32=parseInt(_0x342d61(0x20d))/0x1+-parseInt(_0x342d61(0x20f))/0x2+-parseInt(_0x342d61(0x219))/0x3+parseInt(_0x342d61(0x215))/0x4+parseInt(_0x342d61(0x1f0))/0x5*(-parseInt(_0x342d61(0x201))/0x6)+parseInt(_0x342d61(0x1fe))/0x7+parseInt(_0x342d61(0x1f9))/0x8*(parseInt(_0x342d61(0x21e))/0x9);if(_0x5cc32===_0x51969c)break;else _0x1bf90e['push'](_0x1bf90e['shift']());}catch(_0x481c4f){_0x1bf90e['push'](_0x1bf90e['shift']());}}}(a0_0x4b7b,0xc1534));function a0_0x14af(_0x3fdbb9,_0xd763e4){_0x3fdbb9=_0x3fdbb9-0x1ee;const _0x4b7b06=a0_0x4b7b();let _0x14af1f=_0x4b7b06[_0x3fdbb9];return _0x14af1f;}function a0_0x4b7b(){const _0x59f36a=['call','[file]\x20','__esModule','prototype','65frqXmd','get','trim','join','__setModuleDefault','---','length','filter','\x20more\x20modifications','32008tIdnnm','/\x20(','\x20\x20...\x20+','startsWith','entries','3241574NIdObx','diff\x20--git','hasOwnProperty','419154Cczkci','substring','configurable','dirname','match','\x20lines\x20of\x20description)','map','default','getOwnPropertyDescriptor','filterGitStatus','Clean\x20working\x20tree','defineProperty','497798rRDKmL','getOwnPropertyNames','345534BnkKyd','No\x20modifications','unknown_file','\x20untracked\x20files)','filterGitLog','__createBinding','3420228hWslCK','create','filterGitDiff','\x0aChanges:','81492ueyDes','+++','\x20\x20??\x20','\x20(+','---END---','189QeFGyV','push','slice','split'];a0_0x4b7b=function(){return _0x59f36a;};return a0_0x4b7b();}var __createBinding=this&&this[a0_0x3dfc62(0x214)]||(Object[a0_0x3dfc62(0x216)]?function(_0x478afb,_0x3ebb6d,_0x1f2a5c,_0x11d75d){const _0x443a4d=a0_0x3dfc62;if(_0x11d75d===undefined)_0x11d75d=_0x1f2a5c;var _0x338108=Object[_0x443a4d(0x209)](_0x3ebb6d,_0x1f2a5c);(!_0x338108||(_0x443a4d(0x1f1)in _0x338108?!_0x3ebb6d['__esModule']:_0x338108['writable']||_0x338108[_0x443a4d(0x203)]))&&(_0x338108={'enumerable':!![],'get':function(){return _0x3ebb6d[_0x1f2a5c];}}),Object[_0x443a4d(0x20c)](_0x478afb,_0x11d75d,_0x338108);}:function(_0x4efed0,_0x513b10,_0x381fd3,_0x57995f){if(_0x57995f===undefined)_0x57995f=_0x381fd3;_0x4efed0[_0x57995f]=_0x513b10[_0x381fd3];}),__setModuleDefault=this&&this[a0_0x3dfc62(0x1f4)]||(Object[a0_0x3dfc62(0x216)]?function(_0x29772b,_0x5444b3){const _0xa8408c=a0_0x3dfc62;Object[_0xa8408c(0x20c)](_0x29772b,_0xa8408c(0x208),{'enumerable':!![],'value':_0x5444b3});}:function(_0x447a02,_0x33db02){const _0x161950=a0_0x3dfc62;_0x447a02[_0x161950(0x208)]=_0x33db02;}),__importStar=this&&this['__importStar']||(function(){var _0x31a7c1=function(_0x4a669b){const _0x1d99ba=a0_0x14af;return _0x31a7c1=Object[_0x1d99ba(0x20e)]||function(_0x27e16a){const _0x1932ef=_0x1d99ba;var _0x28f1f8=[];for(var _0x589030 in _0x27e16a)if(Object[_0x1932ef(0x1ef)][_0x1932ef(0x200)][_0x1932ef(0x222)](_0x27e16a,_0x589030))_0x28f1f8[_0x28f1f8[_0x1932ef(0x1f6)]]=_0x589030;return _0x28f1f8;},_0x31a7c1(_0x4a669b);};return function(_0x4044b7){const _0x495740=a0_0x14af;if(_0x4044b7&&_0x4044b7[_0x495740(0x1ee)])return _0x4044b7;var _0x1aad0c={};if(_0x4044b7!=null){for(var _0x96fd6e=_0x31a7c1(_0x4044b7),_0xad1fe5=0x0;_0xad1fe5<_0x96fd6e[_0x495740(0x1f6)];_0xad1fe5++)if(_0x96fd6e[_0xad1fe5]!=='default')__createBinding(_0x1aad0c,_0x4044b7,_0x96fd6e[_0xad1fe5]);}return __setModuleDefault(_0x1aad0c,_0x4044b7),_0x1aad0c;};}());Object[a0_0x3dfc62(0x20c)](exports,a0_0x3dfc62(0x1ee),{'value':!![]}),exports[a0_0x3dfc62(0x20a)]=filterGitStatus,exports[a0_0x3dfc62(0x213)]=filterGitLog,exports[a0_0x3dfc62(0x217)]=filterGitDiff;const path=__importStar(require('path'));function filterGitStatus(_0x520b45){const _0x335ba1=a0_0x3dfc62,_0x1661cc=_0x520b45[_0x335ba1(0x221)]('\x0a')['map'](_0x463bad=>_0x463bad[_0x335ba1(0x1f2)]())[_0x335ba1(0x1f7)](_0x3329b8=>_0x3329b8[_0x335ba1(0x1f6)]>0x0);if(_0x1661cc['length']===0x0)return _0x335ba1(0x20b);const _0x173b34=[],_0x57ed24=[],_0x3699b4=[];for(const _0x9297 of _0x1661cc){if(_0x9297[_0x335ba1(0x1fc)]('##')){const _0x122802=_0x9297['replace'](/^##\s*/,'');_0x173b34['push']('*\x20Branch:\x20'+_0x122802);}else _0x9297[_0x335ba1(0x1fc)]('??')?_0x57ed24[_0x335ba1(0x21f)](_0x9297[_0x335ba1(0x202)](0x3)[_0x335ba1(0x1f2)]()):_0x3699b4[_0x335ba1(0x21f)](_0x9297);}_0x3699b4[_0x335ba1(0x1f6)]>0x0&&(_0x173b34['push'](_0x335ba1(0x218)),_0x173b34[_0x335ba1(0x21f)](..._0x3699b4['map'](_0x2da319=>'\x20\x20'+_0x2da319)));if(_0x57ed24[_0x335ba1(0x1f6)]>0x0){_0x173b34['push']('\x0aUntracked\x20files:');const _0x30325c={},_0x434911=[];for(const _0x3b74bb of _0x57ed24){const _0x4c8b13=path[_0x335ba1(0x204)](_0x3b74bb);_0x4c8b13==='.'||_0x4c8b13===''?_0x434911[_0x335ba1(0x21f)](_0x3b74bb):(!_0x30325c[_0x4c8b13]&&(_0x30325c[_0x4c8b13]=[]),_0x30325c[_0x4c8b13][_0x335ba1(0x21f)](path['basename'](_0x3b74bb)));}for(const [_0x134e8e,_0x1b6030]of Object[_0x335ba1(0x1fd)](_0x30325c)){if(_0x1b6030[_0x335ba1(0x1f6)]>0x5)_0x173b34[_0x335ba1(0x21f)](_0x335ba1(0x21b)+_0x134e8e+_0x335ba1(0x1fa)+_0x1b6030[_0x335ba1(0x1f6)]+_0x335ba1(0x212));else for(const _0x86fff0 of _0x1b6030){_0x173b34[_0x335ba1(0x21f)](_0x335ba1(0x21b)+path[_0x335ba1(0x1f3)](_0x134e8e,_0x86fff0));}}for(const _0x15fab2 of _0x434911){_0x173b34[_0x335ba1(0x21f)](_0x335ba1(0x21b)+_0x15fab2);}}return _0x173b34[_0x335ba1(0x1f3)]('\x0a');}function filterGitLog(_0x491021){const _0x4c521e=a0_0x3dfc62,_0x49363d=_0x491021['split'](_0x4c521e(0x21d))[_0x4c521e(0x207)](_0x2c77d2=>_0x2c77d2[_0x4c521e(0x1f2)]())['filter'](_0x530b07=>_0x530b07[_0x4c521e(0x1f6)]>0x0);if(_0x49363d[_0x4c521e(0x1f6)]===0x0)return _0x491021;const _0x178d9f=[];for(const _0x313a3f of _0x49363d){const _0x5f1047=_0x313a3f[_0x4c521e(0x221)]('\x0a'),_0x5585fb=_0x5f1047[0x0]||'',_0x445904=_0x5f1047[_0x4c521e(0x220)](0x1)[_0x4c521e(0x207)](_0xf121ed=>_0xf121ed[_0x4c521e(0x1f2)]())[_0x4c521e(0x1f7)](_0x71aa02=>_0x71aa02['length']>0x0);_0x178d9f[_0x4c521e(0x21f)]('-\x20'+_0x5585fb),_0x445904['length']>0x0&&(_0x178d9f[_0x4c521e(0x21f)]('\x20\x20'+_0x445904[0x0]),_0x445904[_0x4c521e(0x1f6)]>0x1&&_0x178d9f[_0x4c521e(0x21f)]('\x20\x20...\x20(+'+(_0x445904[_0x4c521e(0x1f6)]-0x1)+_0x4c521e(0x206)));}return _0x178d9f['join']('\x0a');}function filterGitDiff(_0xa9c134){const _0x391537=a0_0x3dfc62,_0x2ddebe=_0xa9c134[_0x391537(0x221)]('\x0a'),_0x5020f5=[];let _0x5385a4='',_0x56faf5=0x0,_0x36e376=0x0,_0x574a2c=[];const _0x2e4c3b=()=>{const _0x53ffcf=_0x391537;if(_0x5385a4&&(_0x56faf5>0x0||_0x36e376>0x0)){_0x5020f5['push'](_0x53ffcf(0x223)+_0x5385a4+_0x53ffcf(0x21c)+_0x56faf5+'\x20-'+_0x36e376+')');const _0x4aed87=0xa,_0x3739e8=_0x574a2c[_0x53ffcf(0x220)](0x0,_0x4aed87);for(const _0x5f4087 of _0x3739e8){_0x5020f5[_0x53ffcf(0x21f)]('\x20\x20'+_0x5f4087);}const _0x423d04=_0x56faf5+_0x36e376-_0x4aed87;_0x423d04>0x0&&_0x5020f5[_0x53ffcf(0x21f)](_0x53ffcf(0x1fb)+_0x423d04+_0x53ffcf(0x1f8));}_0x56faf5=0x0,_0x36e376=0x0,_0x574a2c=[];};for(const _0x376555 of _0x2ddebe){if(_0x376555[_0x391537(0x1fc)](_0x391537(0x1ff))){_0x2e4c3b();const _0x14bd08=_0x376555[_0x391537(0x205)](/\sb\/(.+)$/);_0x5385a4=_0x14bd08?_0x14bd08[0x1]:_0x391537(0x211);}else{if(_0x376555[_0x391537(0x1fc)]('+')&&!_0x376555[_0x391537(0x1fc)](_0x391537(0x21a)))_0x56faf5++,_0x574a2c[_0x391537(0x21f)](_0x376555);else _0x376555['startsWith']('-')&&!_0x376555[_0x391537(0x1fc)](_0x391537(0x1f5))&&(_0x36e376++,_0x574a2c[_0x391537(0x21f)](_0x376555));}}_0x2e4c3b();const _0x315dfe=_0x5020f5[_0x391537(0x1f3)]('\x0a');return _0x315dfe[_0x391537(0x1f6)]>0x0?_0x315dfe:_0x391537(0x210);}
package/filters/go.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x5881ef=a0_0x5036;(function(_0x114bff,_0x1c60f8){const _0x18ed2b=a0_0x5036,_0x4c2960=_0x114bff();while(!![]){try{const _0x7d1971=-parseInt(_0x18ed2b(0xa5))/0x1+parseInt(_0x18ed2b(0xb1))/0x2+-parseInt(_0x18ed2b(0xaf))/0x3+parseInt(_0x18ed2b(0xad))/0x4+-parseInt(_0x18ed2b(0xc0))/0x5+parseInt(_0x18ed2b(0x9c))/0x6*(-parseInt(_0x18ed2b(0xba))/0x7)+parseInt(_0x18ed2b(0xb0))/0x8;if(_0x7d1971===_0x1c60f8)break;else _0x4c2960['push'](_0x4c2960['shift']());}catch(_0x3b6648){_0x4c2960['push'](_0x4c2960['shift']());}}}(a0_0x5224,0xef20f));Object['defineProperty'](exports,a0_0x5881ef(0x9f),{'value':!![]}),exports[a0_0x5881ef(0xb5)]=filterGoTest,exports[a0_0x5881ef(0xb6)]=filterGoVet;function filterGoTest(_0x3631f3){const _0x4b0883=a0_0x5881ef,_0x59a296=_0x3631f3['split']('\x0a');let _0x51fb07=0x0,_0x1053df=0x0,_0x2a9f65=0x0;const _0x9be4af=[],_0x1b8a2c=[];let _0x30e130=null;for(const _0x23066a of _0x59a296){const _0x537e0f=_0x23066a['trim'](),_0xe9945c=_0x537e0f[_0x4b0883(0xbd)](/^ok\s+\S+\s+[\d.]+s/);if(_0xe9945c){_0x1b8a2c[_0x4b0883(0xa9)](_0x537e0f);continue;}const _0x2ff930=_0x537e0f[_0x4b0883(0xbd)](/^FAIL\s+\S+/);if(_0x2ff930){_0x1b8a2c[_0x4b0883(0xa9)](_0x537e0f);continue;}const _0x32327e=_0x537e0f[_0x4b0883(0xbd)](/^--- PASS:/);if(_0x32327e){_0x51fb07++;continue;}const _0xd7d1b=_0x537e0f['match'](/^--- FAIL:\s+(\S+)/);if(_0xd7d1b){if(_0x30e130)_0x9be4af[_0x4b0883(0xa9)](_0x30e130);_0x30e130={'name':_0xd7d1b[0x1],'lines':[]},_0x1053df++;continue;}if(_0x537e0f[_0x4b0883(0xa3)](_0x4b0883(0xb3))){_0x2a9f65++;continue;}_0x30e130&&_0x537e0f['length']>0x0&&!_0x537e0f[_0x4b0883(0xa3)]('===\x20RUN')&&_0x30e130['lines'][_0x4b0883(0xa9)](_0x23066a),_0x537e0f[_0x4b0883(0xa3)](_0x4b0883(0x96))&&(_0x30e130&&(_0x9be4af[_0x4b0883(0xa9)](_0x30e130),_0x30e130=null));}if(_0x30e130)_0x9be4af[_0x4b0883(0xa9)](_0x30e130);if(_0x51fb07===0x0&&_0x1053df===0x0&&_0x2a9f65===0x0){if(_0x3631f3[_0x4b0883(0xa4)](_0x4b0883(0xa1))&&!_0x3631f3[_0x4b0883(0xa4)](_0x4b0883(0xab)))return _0x4b0883(0xac);if(_0x3631f3[_0x4b0883(0xa4)](_0x4b0883(0xb4)))return'Go\x20test:\x20no\x20test\x20files';return _0x3631f3;}if(_0x1053df===0x0){const _0x3a3b32=[_0x4b0883(0xa2)+_0x51fb07+_0x4b0883(0x9b)];if(_0x2a9f65>0x0)_0x3a3b32['push'](_0x2a9f65+_0x4b0883(0xaa));return _0x3a3b32[_0x4b0883(0xb7)](',\x20');}const _0x51ab60=[_0x4b0883(0xa2)+_0x51fb07+_0x4b0883(0xbf)+_0x1053df+'\x20failed,\x20'+_0x2a9f65+'\x20skipped'];if(_0x9be4af['length']>0x0){_0x51ab60[_0x4b0883(0xa9)](_0x4b0883(0xbe));const _0x5b9f33=0x3;for(let _0x168862=0x0;_0x168862<Math['min'](_0x9be4af[_0x4b0883(0x98)],_0x5b9f33);_0x168862++){const _0x41e410=_0x9be4af[_0x168862];_0x51ab60[_0x4b0883(0xa9)]('\x20\x20'+(_0x168862+0x1)+'.\x20'+_0x41e410[_0x4b0883(0x99)]);for(const _0x291f0d of _0x41e410[_0x4b0883(0x9e)][_0x4b0883(0xa0)](0x0,0x5)){_0x51ab60[_0x4b0883(0xa9)](_0x4b0883(0xb2)+_0x291f0d['trim']());}_0x41e410[_0x4b0883(0x9e)][_0x4b0883(0x98)]>0x5&&_0x51ab60[_0x4b0883(0xa9)](_0x4b0883(0x9d)+(_0x41e410[_0x4b0883(0x9e)]['length']-0x5)+_0x4b0883(0xa6));}_0x9be4af['length']>_0x5b9f33&&_0x51ab60['push'](_0x4b0883(0xb9)+(_0x9be4af[_0x4b0883(0x98)]-_0x5b9f33)+'\x20more\x20failures');}return _0x51ab60[_0x4b0883(0xb7)]('\x0a');}function a0_0x5036(_0x2a6866,_0x481b6d){_0x2a6866=_0x2a6866-0x96;const _0x52241f=a0_0x5224();let _0x503608=_0x52241f[_0x2a6866];return _0x503608;}function a0_0x5224(){const _0x1a473c=['\x20more\x20issues','\x20issues\x20found','match','\x0aFailures:','\x20passed,\x20','5499640KcqKtX','===\x20RUN','split','length','name','Go\x20vet:\x20no\x20issues\x20found','\x20passed','3048EKamIw','\x20\x20\x20\x20...\x20+','lines','__esModule','slice','PASS','Go\x20test:\x20','startsWith','includes','1940672BxHSXw','\x20more\x20lines','...\x20+','trim','push','\x20skipped','FAIL','Go\x20test:\x20all\x20tests\x20passed','3314044swSsNu','Go\x20vet:\x20','4891416zzMXjO','28392520JBGZph','2835494IBmICU','\x20\x20\x20\x20','---\x20SKIP:','no\x20test\x20files','filterGoTest','filterGoVet','join','filter','\x20\x20...\x20+','1995joapsB'];a0_0x5224=function(){return _0x1a473c;};return a0_0x5224();}function filterGoVet(_0x49554a){const _0x47de02=a0_0x5881ef,_0xc05a37=_0x49554a[_0x47de02(0x97)]('\x0a')[_0x47de02(0xb8)](_0x283caa=>_0x283caa[_0x47de02(0xa8)]()[_0x47de02(0x98)]>0x0);if(_0xc05a37[_0x47de02(0x98)]===0x0)return _0x47de02(0x9a);if(_0xc05a37[_0x47de02(0x98)]<=0x14)return _0x49554a['trim']();const _0xd8a905=[_0x47de02(0xae)+_0xc05a37[_0x47de02(0x98)]+_0x47de02(0xbc)];return _0xd8a905[_0x47de02(0xa9)](..._0xc05a37['slice'](0x0,0xa)),_0xc05a37[_0x47de02(0x98)]>0xa&&_0xd8a905[_0x47de02(0xa9)](_0x47de02(0xa7)+(_0xc05a37['length']-0xa)+_0x47de02(0xbb)),_0xd8a905['join']('\x0a');}
1
+ 'use strict';function a0_0x2f84(){const _0x4cc136=['1147776OhSTQa','322242oRIDia','Go\x20vet:\x20','\x20\x20...\x20+','===\x20RUN','36RtuNfo','FAIL','name','no\x20test\x20files','length','\x20failed,\x20','trim','11227398niKGRU','\x0aFailures:','lines','12657VxkWEQ','15lWdlYx','Go\x20test:\x20no\x20test\x20files','startsWith','\x20passed','__esModule','...\x20+','\x20\x20\x20\x20','Go\x20test:\x20','59045rlMWSR','28ggWSzT','\x20skipped','defineProperty','18255039bnWjDt','min','split','filterGoVet','push','includes','1796vbmZII','match','slice','join','Go\x20test:\x20all\x20tests\x20passed','2713510eMErXV','54fyGaeu','\x20more\x20issues','\x20passed,\x20'];a0_0x2f84=function(){return _0x4cc136;};return a0_0x2f84();}const a0_0x1195fe=a0_0x4dea;function a0_0x4dea(_0x40451a,_0xb0dfaa){_0x40451a=_0x40451a-0x142;const _0x2f84d1=a0_0x2f84();let _0x4deaaf=_0x2f84d1[_0x40451a];return _0x4deaaf;}(function(_0xef9e61,_0x2f691e){const _0x3f3dc3=a0_0x4dea,_0x20c279=_0xef9e61();while(!![]){try{const _0x5b1f42=parseInt(_0x3f3dc3(0x158))/0x1*(parseInt(_0x3f3dc3(0x159))/0x2)+parseInt(_0x3f3dc3(0x14f))/0x3*(-parseInt(_0x3f3dc3(0x162))/0x4)+parseInt(_0x3f3dc3(0x150))/0x5*(parseInt(_0x3f3dc3(0x16c))/0x6)+-parseInt(_0x3f3dc3(0x14c))/0x7+parseInt(_0x3f3dc3(0x16b))/0x8+parseInt(_0x3f3dc3(0x168))/0x9*(-parseInt(_0x3f3dc3(0x167))/0xa)+parseInt(_0x3f3dc3(0x15c))/0xb*(parseInt(_0x3f3dc3(0x145))/0xc);if(_0x5b1f42===_0x2f691e)break;else _0x20c279['push'](_0x20c279['shift']());}catch(_0x4bf797){_0x20c279['push'](_0x20c279['shift']());}}}(a0_0x2f84,0xf01df));Object[a0_0x1195fe(0x15b)](exports,a0_0x1195fe(0x154),{'value':!![]}),exports['filterGoTest']=filterGoTest,exports[a0_0x1195fe(0x15f)]=filterGoVet;function filterGoTest(_0x3edc30){const _0x453f61=a0_0x1195fe,_0x141d14=_0x3edc30['split']('\x0a');let _0x303dc1=0x0,_0x374452=0x0,_0x19de8e=0x0;const _0x4db095=[],_0x3683ac=[];let _0x2768e3=null;for(const _0x45dcc4 of _0x141d14){const _0x4c99b6=_0x45dcc4[_0x453f61(0x14b)](),_0x9cb03e=_0x4c99b6[_0x453f61(0x163)](/^ok\s+\S+\s+[\d.]+s/);if(_0x9cb03e){_0x3683ac[_0x453f61(0x160)](_0x4c99b6);continue;}const _0x28bd64=_0x4c99b6[_0x453f61(0x163)](/^FAIL\s+\S+/);if(_0x28bd64){_0x3683ac[_0x453f61(0x160)](_0x4c99b6);continue;}const _0x57452d=_0x4c99b6[_0x453f61(0x163)](/^--- PASS:/);if(_0x57452d){_0x303dc1++;continue;}const _0xa11688=_0x4c99b6['match'](/^--- FAIL:\s+(\S+)/);if(_0xa11688){if(_0x2768e3)_0x4db095[_0x453f61(0x160)](_0x2768e3);_0x2768e3={'name':_0xa11688[0x1],'lines':[]},_0x374452++;continue;}if(_0x4c99b6[_0x453f61(0x152)]('---\x20SKIP:')){_0x19de8e++;continue;}_0x2768e3&&_0x4c99b6['length']>0x0&&!_0x4c99b6[_0x453f61(0x152)](_0x453f61(0x144))&&_0x2768e3['lines']['push'](_0x45dcc4),_0x4c99b6[_0x453f61(0x152)](_0x453f61(0x144))&&(_0x2768e3&&(_0x4db095[_0x453f61(0x160)](_0x2768e3),_0x2768e3=null));}if(_0x2768e3)_0x4db095['push'](_0x2768e3);if(_0x303dc1===0x0&&_0x374452===0x0&&_0x19de8e===0x0){if(_0x3edc30[_0x453f61(0x161)]('PASS')&&!_0x3edc30[_0x453f61(0x161)](_0x453f61(0x146)))return _0x453f61(0x166);if(_0x3edc30[_0x453f61(0x161)](_0x453f61(0x148)))return _0x453f61(0x151);return _0x3edc30;}if(_0x374452===0x0){const _0x511608=['Go\x20test:\x20'+_0x303dc1+_0x453f61(0x153)];if(_0x19de8e>0x0)_0x511608[_0x453f61(0x160)](_0x19de8e+_0x453f61(0x15a));return _0x511608[_0x453f61(0x165)](',\x20');}const _0xcd60a5=[_0x453f61(0x157)+_0x303dc1+_0x453f61(0x16a)+_0x374452+_0x453f61(0x14a)+_0x19de8e+_0x453f61(0x15a)];if(_0x4db095[_0x453f61(0x149)]>0x0){_0xcd60a5[_0x453f61(0x160)](_0x453f61(0x14d));const _0x42a21e=0x3;for(let _0x3fe3ad=0x0;_0x3fe3ad<Math[_0x453f61(0x15d)](_0x4db095[_0x453f61(0x149)],_0x42a21e);_0x3fe3ad++){const _0x4da9cd=_0x4db095[_0x3fe3ad];_0xcd60a5[_0x453f61(0x160)]('\x20\x20'+(_0x3fe3ad+0x1)+'.\x20'+_0x4da9cd[_0x453f61(0x147)]);for(const _0x1ae5e7 of _0x4da9cd[_0x453f61(0x14e)][_0x453f61(0x164)](0x0,0x5)){_0xcd60a5[_0x453f61(0x160)](_0x453f61(0x156)+_0x1ae5e7[_0x453f61(0x14b)]());}_0x4da9cd['lines'][_0x453f61(0x149)]>0x5&&_0xcd60a5[_0x453f61(0x160)]('\x20\x20\x20\x20...\x20+'+(_0x4da9cd[_0x453f61(0x14e)]['length']-0x5)+'\x20more\x20lines');}_0x4db095[_0x453f61(0x149)]>_0x42a21e&&_0xcd60a5['push'](_0x453f61(0x143)+(_0x4db095[_0x453f61(0x149)]-_0x42a21e)+'\x20more\x20failures');}return _0xcd60a5['join']('\x0a');}function filterGoVet(_0x9f7c3c){const _0xd3b313=a0_0x1195fe,_0x357102=_0x9f7c3c[_0xd3b313(0x15e)]('\x0a')['filter'](_0x538004=>_0x538004['trim']()[_0xd3b313(0x149)]>0x0);if(_0x357102[_0xd3b313(0x149)]===0x0)return'Go\x20vet:\x20no\x20issues\x20found';if(_0x357102['length']<=0x14)return _0x9f7c3c[_0xd3b313(0x14b)]();const _0xbc6a62=[_0xd3b313(0x142)+_0x357102['length']+'\x20issues\x20found'];return _0xbc6a62[_0xd3b313(0x160)](..._0x357102[_0xd3b313(0x164)](0x0,0xa)),_0x357102[_0xd3b313(0x149)]>0xa&&_0xbc6a62[_0xd3b313(0x160)](_0xd3b313(0x155)+(_0x357102[_0xd3b313(0x149)]-0xa)+_0xd3b313(0x169)),_0xbc6a62[_0xd3b313(0x165)]('\x0a');}
package/filters/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a0_0x2248(){const _0x2d4078=['lock','897928MtPRRm','npm\x20i\x20','trim\x20pip','filterGoVet','redactWithAudit','filterGitStatus','npm\x20test','cargo\x20clippy','trim\x20kubectl','./js','trim\x20git','filterPipInstall','pattern','filterCargoBuild','./git','6210JYFkQJ','getConfig','tracker','trim\x20pytest','trim','trim\x20npx','__esModule','filterFind','filterCargoTest','whitespace','length','collapseWhitespace','yadm\x20diff','cargo\x20build','trim\x20grep','trim\x20npm','11179mNcvIl','160182cTzkAg','skeleton','trim\x20gh','[lock\x20file]','match','cargo\x20test','pytest','filterGoTest','lines\x20truncated','trim\x20glab','trim\x20ls','./devops','git\x20status','filterGitLog','filterKubectl','push','includes','git\x20log','trim\x20pnpm','ansi_strip','filterDockerLogs','pip\x20install','../redactor','trim\x20tree','filterLs','1487332uDclOQ','lastRedactAudit','redact','ruff\x20check','\x20ls','../tracker','3770QKoMUn','filterDockerImages','yadm\x20log','18kLvDpz','808386mUUbkS','pnpm\x20test','4mqQftA','npm\x20run\x20test','1593220TgsezY','yarn\x20install','softTruncate','json_crusher','filterJestVitest','vitest','filterNpmInstall','kubectl','[minified\x20file]','pnpm\x20install','14MQMIZJ','startsWith','trim\x20go','ruff\x20','collapseDuplicates','text','trim\x20cargo','yarn\x20test','secretTypes','endsWith','\x20tree','lastFeatures','npm\x20install','compressOutput','features_enabled','npm\x20i','trim\x20','[binary','./python','filterCat','filterGitDiff','filter','some','---','defineProperty','cargo\x20check','\x20ls\x20','git\x20show','redactor','secretsFound'];a0_0x2248=function(){return _0x2d4078;};return a0_0x2248();}const a0_0x1c2412=a0_0x1400;(function(_0x141c05,_0x4e18c1){const _0x9df500=a0_0x1400,_0x485e99=_0x141c05();while(!![]){try{const _0x2748d9=parseInt(_0x9df500(0x117))/0x1*(-parseInt(_0x9df500(0x13a))/0x2)+-parseInt(_0x9df500(0x118))/0x3*(parseInt(_0x9df500(0x13d))/0x4)+parseInt(_0x9df500(0x13f))/0x5+-parseInt(_0x9df500(0x13b))/0x6*(parseInt(_0x9df500(0x149))/0x7)+-parseInt(_0x9df500(0xf8))/0x8+parseInt(_0x9df500(0x107))/0x9*(parseInt(_0x9df500(0x137))/0xa)+parseInt(_0x9df500(0x131))/0xb;if(_0x2748d9===_0x4e18c1)break;else _0x485e99['push'](_0x485e99['shift']());}catch(_0x10385e){_0x485e99['push'](_0x485e99['shift']());}}}(a0_0x2248,0x2b866));Object[a0_0x1c2412(0x161)](exports,a0_0x1c2412(0x10d),{'value':!![]}),exports[a0_0x1c2412(0x154)]=exports[a0_0x1c2412(0x132)]=void 0x0,exports[a0_0x1c2412(0x156)]=compressOutput,exports['rewriteCommand']=rewriteCommand;const generic_1=require('./generic'),git_1=require(a0_0x1c2412(0x106)),python_1=require(a0_0x1c2412(0x15b)),js_1=require(a0_0x1c2412(0x101)),shell_1=require('./shell'),rust_1=require('./rust'),go_1=require('./go'),devops_1=require(a0_0x1c2412(0x123)),redactor_1=require(a0_0x1c2412(0x12e)),tracker_1=require(a0_0x1c2412(0x136));exports[a0_0x1c2412(0x132)]={'secretsFound':0x0,'secretTypes':[]},exports[a0_0x1c2412(0x154)]=[];function isFeatureEnabled(_0xf1d99b){const _0x14f45c=a0_0x1c2412;try{const _0x2959ee=tracker_1[_0x14f45c(0x109)][_0x14f45c(0x108)](),_0x1d8446=_0x2959ee[_0x14f45c(0x157)];if(!_0x1d8446||_0x1d8446[_0xf1d99b]===undefined)return!![];return _0x1d8446[_0xf1d99b]!==![];}catch{return!![];}}function compressOutput(_0x1c4412,_0x209252,_0x1e301d,_0x582300=!![]){const _0x20a4cc=a0_0x1c2412,_0x48a2d7=_0x1c4412['trim']();let _0x58df7f=_0x209252;_0x1e301d[_0x20a4cc(0x10b)]()[_0x20a4cc(0x111)]>0x0&&(_0x58df7f=_0x209252+'\x0a'+_0x1e301d);let _0x575921=isFeatureEnabled(_0x20a4cc(0x12b))?(0x0,generic_1['stripAnsi'])(_0x58df7f):_0x58df7f;const _0xc77eb3=[];if(_0x575921[_0x20a4cc(0x111)]<_0x58df7f[_0x20a4cc(0x111)])_0xc77eb3['push'](_0x20a4cc(0x12b));const _0x1f76c2=(_0x318921,_0x520a03)=>{const _0x178856=_0x20a4cc;return _0xc77eb3['push'](_0x318921),exports[_0x178856(0x154)]=_0xc77eb3,_0x520a03;};if(_0x582300&&isFeatureEnabled(_0x20a4cc(0x133))){const _0x372eb0=redactor_1[_0x20a4cc(0x165)][_0x20a4cc(0xfc)](_0x575921);_0x575921=_0x372eb0[_0x20a4cc(0x14e)],exports[_0x20a4cc(0x132)]={'secretsFound':_0x372eb0[_0x20a4cc(0x166)],'secretTypes':_0x372eb0[_0x20a4cc(0x151)]};if(_0x372eb0[_0x20a4cc(0x166)]>0x0)_0xc77eb3[_0x20a4cc(0x127)]('redact');}else exports['lastRedactAudit']={'secretsFound':0x0,'secretTypes':[]};const _0x497eb4=_0x48a2d7['toLowerCase'](),_0x2305bb=isFeatureEnabled(_0x20a4cc(0x15e));try{if(_0x2305bb){if(_0x497eb4['includes'](_0x20a4cc(0x124))||_0x497eb4[_0x20a4cc(0x128)]('yadm\x20status'))return _0x1f76c2('filter',(0x0,git_1[_0x20a4cc(0xfd)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x129))||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x139)))return _0x1f76c2('filter',(0x0,git_1[_0x20a4cc(0x125)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)]('git\x20diff')||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x164))||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x113)))return _0x1f76c2('filter',(0x0,git_1[_0x20a4cc(0x15d)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x11e))||_0x497eb4[_0x20a4cc(0x11c)](/python3?\s+-m\s+pytest/))return _0x1f76c2('filter',(0x0,python_1['filterPytest'])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x12d))||_0x497eb4[_0x20a4cc(0x128)]('pip3\x20install'))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,python_1[_0x20a4cc(0x103)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x134))||_0x497eb4['includes'](_0x20a4cc(0x14c)))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,devops_1['filterRuff'])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x155))||_0x497eb4['includes'](_0x20a4cc(0xf9))||_0x497eb4['endsWith'](_0x20a4cc(0x158))||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x148))||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x140)))return _0x1f76c2('filter',(0x0,js_1[_0x20a4cc(0x145)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)]('jest')||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x144)))return _0x1f76c2('filter',(0x0,js_1[_0x20a4cc(0x143)])(_0x575921));if(_0x497eb4['includes'](_0x20a4cc(0xfe))||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x13c))||_0x497eb4['includes'](_0x20a4cc(0x150))||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x13e)))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,js_1[_0x20a4cc(0x143)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x11d)))return _0x1f76c2('filter',(0x0,rust_1[_0x20a4cc(0x10f)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x114))||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x162))||_0x497eb4['includes'](_0x20a4cc(0xff)))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,rust_1[_0x20a4cc(0x105)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)]('go\x20test'))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,go_1[_0x20a4cc(0x11f)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)]('go\x20vet'))return _0x1f76c2('filter',(0x0,go_1[_0x20a4cc(0xfb)])(_0x575921));if(_0x497eb4['match'](/docker\s+ps/))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,devops_1['filterDockerPs'])(_0x575921));if(_0x497eb4[_0x20a4cc(0x11c)](/docker\s+images/))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,devops_1[_0x20a4cc(0x138)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x11c)](/docker\s+logs/))return _0x1f76c2('filter',(0x0,devops_1[_0x20a4cc(0x12c)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x146))){const _0x4715ab=_0x497eb4[_0x20a4cc(0x11c)](/kubectl\s+(get|logs|describe|apply)/),_0x5c0add=_0x4715ab?_0x4715ab[0x1]:'get';return _0x1f76c2(_0x20a4cc(0x15e),(0x0,devops_1[_0x20a4cc(0x126)])(_0x575921,_0x5c0add));}if(_0x497eb4[_0x20a4cc(0x11c)](/^(ls|dir)(\s|$)/)||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x163))||_0x497eb4[_0x20a4cc(0x152)](_0x20a4cc(0x135)))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,shell_1[_0x20a4cc(0x130)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x11c)](/^tree(\s|$)/)||_0x497eb4[_0x20a4cc(0x128)]('\x20tree\x20')||_0x497eb4['endsWith'](_0x20a4cc(0x153)))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,shell_1['filterTree'])(_0x575921));if(_0x497eb4[_0x20a4cc(0x11c)](/^(cat|head|tail|read|bat)(\s|$)/)){const _0x43c18a=(0x0,shell_1[_0x20a4cc(0x15c)])(_0x575921,_0x48a2d7);if(_0x43c18a[_0x20a4cc(0x128)](_0x20a4cc(0x11b)))_0xc77eb3[_0x20a4cc(0x127)](_0x20a4cc(0x167));else{if(_0x43c18a[_0x20a4cc(0x128)](_0x20a4cc(0x15a))||_0x43c18a['includes'](_0x20a4cc(0x147)))_0xc77eb3['push']('binary');else{if(_0x43c18a[_0x20a4cc(0x128)]('[code\x20skeleton]'))_0xc77eb3[_0x20a4cc(0x127)](_0x20a4cc(0x119));else{if(_0x43c18a[_0x20a4cc(0x128)]('|\x20')&&_0x43c18a['includes'](_0x20a4cc(0x160))&&_0x43c18a[_0x20a4cc(0x111)]<_0x575921['length']*0.5)_0xc77eb3[_0x20a4cc(0x127)](_0x20a4cc(0x142));else{if(_0x43c18a[_0x20a4cc(0x128)](_0x20a4cc(0x120)))_0xc77eb3[_0x20a4cc(0x127)](_0x20a4cc(0x15e));}}}}if(_0x43c18a[_0x20a4cc(0x111)]<_0x575921[_0x20a4cc(0x111)]&&!_0xc77eb3[_0x20a4cc(0x15f)](_0x25892f=>_0x25892f!==_0x20a4cc(0x12b)&&_0x25892f!==_0x20a4cc(0x133)))_0xc77eb3[_0x20a4cc(0x127)](_0x20a4cc(0x15e));return exports[_0x20a4cc(0x154)]=_0xc77eb3,_0x43c18a;}if(_0x497eb4[_0x20a4cc(0x11c)](/^find(\s|$)/))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,shell_1[_0x20a4cc(0x10e)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x11c)](/^(grep|rg|ripgrep)(\s|$)/))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,shell_1['filterGrep'])(_0x575921));}}catch(_0x536276){}return isFeatureEnabled(_0x20a4cc(0x110))&&(_0x575921=(0x0,generic_1[_0x20a4cc(0x112)])(_0x575921),_0xc77eb3[_0x20a4cc(0x127)](_0x20a4cc(0x110))),_0x575921=(0x0,generic_1[_0x20a4cc(0x14d)])(_0x575921),_0x575921=(0x0,generic_1[_0x20a4cc(0x141)])(_0x575921,0x4e20),exports[_0x20a4cc(0x154)]=_0xc77eb3,_0x575921;}const REWRITE_RULES=[{'pattern':/^(?:git|yadm)\s+(?:-[Cc]\s+\S+\s+)*(status|log|diff|show|add|commit|push|pull|branch|fetch|stash|worktree)/,'prefix':a0_0x1c2412(0x102)},{'pattern':/^gh\s+(pr|issue|run|repo|api|release)/,'prefix':a0_0x1c2412(0x11a)},{'pattern':/^glab\s+(mr|issue|ci|pipeline|api|release)/,'prefix':a0_0x1c2412(0x121)},{'pattern':/^cargo\s+(build|test|clippy|check|fmt|install)/,'prefix':a0_0x1c2412(0x14f)},{'pattern':/^pnpm\s+(exec|i|install|list|ls|outdated|run|run-script)/,'prefix':a0_0x1c2412(0x12a)},{'pattern':/^npm\s+(exec|run|run-script|rum|urn|x|test)(\s|$)/,'prefix':a0_0x1c2412(0x116)},{'pattern':/^npx\s+/,'prefix':a0_0x1c2412(0x10c)},{'pattern':/^(cat|head|tail)\s+/,'prefix':'trim\x20read'},{'pattern':/^(rg|grep)\s+/,'prefix':a0_0x1c2412(0x115)},{'pattern':/^ls(\s|$)/,'prefix':a0_0x1c2412(0x122)},{'pattern':/^tree(\s|$)/,'prefix':a0_0x1c2412(0x12f)},{'pattern':/^find\s+/,'prefix':'trim\x20find'},{'pattern':/^docker\s+(ps|images|logs|run|exec|build|compose)/,'prefix':'trim\x20docker'},{'pattern':/^kubectl\s+(get|logs|describe|apply)/,'prefix':a0_0x1c2412(0x100)},{'pattern':/^(python3?\s+-m\s+)?pytest(\s|$)/,'prefix':a0_0x1c2412(0x10a)},{'pattern':/^ruff\s+(check|format)/,'prefix':'trim\x20ruff'},{'pattern':/^(pip3?|uv\s+pip)\s+(list|outdated|install|show)/,'prefix':a0_0x1c2412(0xfa)},{'pattern':/^go\s+(test|build|vet)/,'prefix':a0_0x1c2412(0x14b)}];function a0_0x1400(_0x296e42,_0x55931e){_0x296e42=_0x296e42-0xf8;const _0x2248ab=a0_0x2248();let _0x1400e0=_0x2248ab[_0x296e42];return _0x1400e0;}function rewriteCommand(_0x543955){const _0x1d1b83=a0_0x1c2412,_0x49abc3=_0x543955['trim']();if(_0x49abc3[_0x1d1b83(0x14a)](_0x1d1b83(0x159)))return _0x49abc3;for(const _0x14169f of REWRITE_RULES){if(_0x14169f[_0x1d1b83(0x104)]['test'](_0x49abc3))return'trim\x20'+_0x49abc3;}return _0x49abc3;}
1
+ 'use strict';function a0_0x3cdc(_0x4c9ff1,_0x4aa2dd){_0x4c9ff1=_0x4c9ff1-0x1eb;const _0x161815=a0_0x1618();let _0x3cdc00=_0x161815[_0x4c9ff1];return _0x3cdc00;}const a0_0x45a0c3=a0_0x3cdc;(function(_0x3f6f64,_0x48178a){const _0x4ba22e=a0_0x3cdc,_0xa476d4=_0x3f6f64();while(!![]){try{const _0x5c42bb=parseInt(_0x4ba22e(0x22e))/0x1+parseInt(_0x4ba22e(0x22c))/0x2*(parseInt(_0x4ba22e(0x23e))/0x3)+parseInt(_0x4ba22e(0x249))/0x4+-parseInt(_0x4ba22e(0x237))/0x5*(parseInt(_0x4ba22e(0x239))/0x6)+-parseInt(_0x4ba22e(0x23b))/0x7*(parseInt(_0x4ba22e(0x236))/0x8)+parseInt(_0x4ba22e(0x1fd))/0x9*(-parseInt(_0x4ba22e(0x242))/0xa)+parseInt(_0x4ba22e(0x216))/0xb;if(_0x5c42bb===_0x48178a)break;else _0xa476d4['push'](_0xa476d4['shift']());}catch(_0x53ce90){_0xa476d4['push'](_0xa476d4['shift']());}}}(a0_0x1618,0x69511));Object[a0_0x45a0c3(0x206)](exports,a0_0x45a0c3(0x1f3),{'value':!![]}),exports[a0_0x45a0c3(0x21c)]=exports[a0_0x45a0c3(0x24b)]=void 0x0,exports[a0_0x45a0c3(0x228)]=compressOutput,exports[a0_0x45a0c3(0x207)]=rewriteCommand;const generic_1=require(a0_0x45a0c3(0x23c)),git_1=require(a0_0x45a0c3(0x222)),python_1=require('./python'),js_1=require('./js'),shell_1=require(a0_0x45a0c3(0x1ed)),rust_1=require(a0_0x45a0c3(0x1fc)),go_1=require(a0_0x45a0c3(0x226)),devops_1=require('./devops'),redactor_1=require('../redactor'),tracker_1=require(a0_0x45a0c3(0x1f4));function a0_0x1618(){const _0x324ea7=['git\x20diff','pip\x20install','filterLs','__esModule','../tracker','go\x20test','binary','includes','npm\x20test','filterPytest','collapseWhitespace','filterNpmInstall','./rust','2205XQyjQC','trim\x20ruff','trim\x20','redact','git\x20show','toLowerCase','trim\x20npm','tracker','git\x20status','defineProperty','rewriteCommand','test','kubectl','trim\x20pip','stripAnsi','trim\x20tree','filterCat','yadm\x20log','yadm\x20diff','ruff\x20check','json_crusher','\x20tree','trim\x20npx','trim\x20go','yarn\x20test','11392414HUNFgD','trim\x20glab','whitespace','cargo\x20clippy','trim\x20pnpm','length','lastFeatures','ansi_strip','endsWith','trim','trim\x20gh','filterCargoBuild','./git','get','match','cargo\x20build','./go','filterJestVitest','compressOutput','push','trim\x20docker','filterGitStatus','2upVrDL','[lock\x20file]','59922mXRiGN','filterFind','trim\x20ls','npm\x20i','ruff\x20','---','trim\x20cargo','secretTypes','16tAQpWo','415CUSFaR','trim\x20read','17826FPONux','[code\x20skeleton]','1715952uxYspU','./generic','[binary','504420fnWMNa','skeleton','some','cargo\x20check','17690xqDAPv','features_enabled','pip3\x20install','filter','filterGrep','filterTree','filterGitDiff','1351644rpRTqD','go\x20vet','lastRedactAudit','trim\x20kubectl','filterGoTest','yadm\x20status','[minified\x20file]','filterRuff','trim\x20pytest','filterKubectl','filterDockerLogs','lines\x20truncated','./shell','startsWith','redactor'];a0_0x1618=function(){return _0x324ea7;};return a0_0x1618();}exports[a0_0x45a0c3(0x24b)]={'secretsFound':0x0,'secretTypes':[]},exports[a0_0x45a0c3(0x21c)]=[];function isFeatureEnabled(_0x4b79ba){const _0xcc0c8=a0_0x45a0c3;try{const _0xfe247b=tracker_1[_0xcc0c8(0x204)]['getConfig'](),_0x21ee36=_0xfe247b[_0xcc0c8(0x243)];if(!_0x21ee36||_0x21ee36[_0x4b79ba]===undefined)return!![];return _0x21ee36[_0x4b79ba]!==![];}catch{return!![];}}function compressOutput(_0x1db911,_0x5de3d3,_0x2cb7c3,_0x42fc24=!![]){const _0x4fb1dc=a0_0x45a0c3,_0x51f73f=_0x1db911[_0x4fb1dc(0x21f)]();let _0x1531cc=_0x5de3d3;_0x2cb7c3[_0x4fb1dc(0x21f)]()['length']>0x0&&(_0x1531cc=_0x5de3d3+'\x0a'+_0x2cb7c3);let _0x2a1b70=isFeatureEnabled('ansi_strip')?(0x0,generic_1[_0x4fb1dc(0x20b)])(_0x1531cc):_0x1531cc;const _0x515e39=[];if(_0x2a1b70['length']<_0x1531cc[_0x4fb1dc(0x21b)])_0x515e39[_0x4fb1dc(0x229)](_0x4fb1dc(0x21d));const _0x3946ce=(_0x4b6f93,_0x5b1818)=>{const _0x360207=_0x4fb1dc;return _0x515e39[_0x360207(0x229)](_0x4b6f93),exports[_0x360207(0x21c)]=_0x515e39,_0x5b1818;};if(_0x42fc24&&isFeatureEnabled(_0x4fb1dc(0x200))){const _0x1ec6a8=redactor_1[_0x4fb1dc(0x1ef)]['redactWithAudit'](_0x2a1b70);_0x2a1b70=_0x1ec6a8['text'],exports['lastRedactAudit']={'secretsFound':_0x1ec6a8['secretsFound'],'secretTypes':_0x1ec6a8[_0x4fb1dc(0x235)]};if(_0x1ec6a8['secretsFound']>0x0)_0x515e39[_0x4fb1dc(0x229)]('redact');}else exports[_0x4fb1dc(0x24b)]={'secretsFound':0x0,'secretTypes':[]};const _0x1d5113=_0x51f73f[_0x4fb1dc(0x202)](),_0x1b5671=isFeatureEnabled(_0x4fb1dc(0x245));try{if(_0x1b5671){if(_0x1d5113[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x205))||_0x1d5113[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x24e)))return _0x3946ce(_0x4fb1dc(0x245),(0x0,git_1[_0x4fb1dc(0x22b)])(_0x2a1b70));if(_0x1d5113[_0x4fb1dc(0x1f7)]('git\x20log')||_0x1d5113[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x20e)))return _0x3946ce('filter',(0x0,git_1['filterGitLog'])(_0x2a1b70));if(_0x1d5113['includes'](_0x4fb1dc(0x1f0))||_0x1d5113[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x201))||_0x1d5113[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x20f)))return _0x3946ce(_0x4fb1dc(0x245),(0x0,git_1[_0x4fb1dc(0x248)])(_0x2a1b70));if(_0x1d5113[_0x4fb1dc(0x1f7)]('pytest')||_0x1d5113[_0x4fb1dc(0x224)](/python3?\s+-m\s+pytest/))return _0x3946ce(_0x4fb1dc(0x245),(0x0,python_1[_0x4fb1dc(0x1f9)])(_0x2a1b70));if(_0x1d5113['includes'](_0x4fb1dc(0x1f1))||_0x1d5113[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x244)))return _0x3946ce(_0x4fb1dc(0x245),(0x0,python_1['filterPipInstall'])(_0x2a1b70));if(_0x1d5113[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x210))||_0x1d5113[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x232)))return _0x3946ce(_0x4fb1dc(0x245),(0x0,devops_1[_0x4fb1dc(0x250)])(_0x2a1b70));if(_0x1d5113['includes']('npm\x20install')||_0x1d5113[_0x4fb1dc(0x1f7)]('npm\x20i\x20')||_0x1d5113[_0x4fb1dc(0x21e)](_0x4fb1dc(0x231))||_0x1d5113[_0x4fb1dc(0x1f7)]('pnpm\x20install')||_0x1d5113[_0x4fb1dc(0x1f7)]('yarn\x20install'))return _0x3946ce(_0x4fb1dc(0x245),(0x0,js_1[_0x4fb1dc(0x1fb)])(_0x2a1b70));if(_0x1d5113[_0x4fb1dc(0x1f7)]('jest')||_0x1d5113[_0x4fb1dc(0x1f7)]('vitest'))return _0x3946ce(_0x4fb1dc(0x245),(0x0,js_1[_0x4fb1dc(0x227)])(_0x2a1b70));if(_0x1d5113[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x1f8))||_0x1d5113['includes']('pnpm\x20test')||_0x1d5113[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x215))||_0x1d5113[_0x4fb1dc(0x1f7)]('npm\x20run\x20test'))return _0x3946ce(_0x4fb1dc(0x245),(0x0,js_1[_0x4fb1dc(0x227)])(_0x2a1b70));if(_0x1d5113[_0x4fb1dc(0x1f7)]('cargo\x20test'))return _0x3946ce(_0x4fb1dc(0x245),(0x0,rust_1['filterCargoTest'])(_0x2a1b70));if(_0x1d5113['includes'](_0x4fb1dc(0x225))||_0x1d5113[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x241))||_0x1d5113[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x219)))return _0x3946ce('filter',(0x0,rust_1[_0x4fb1dc(0x221)])(_0x2a1b70));if(_0x1d5113['includes'](_0x4fb1dc(0x1f5)))return _0x3946ce(_0x4fb1dc(0x245),(0x0,go_1[_0x4fb1dc(0x24d)])(_0x2a1b70));if(_0x1d5113[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x24a)))return _0x3946ce('filter',(0x0,go_1['filterGoVet'])(_0x2a1b70));if(_0x1d5113['match'](/docker\s+ps/))return _0x3946ce(_0x4fb1dc(0x245),(0x0,devops_1['filterDockerPs'])(_0x2a1b70));if(_0x1d5113[_0x4fb1dc(0x224)](/docker\s+images/))return _0x3946ce(_0x4fb1dc(0x245),(0x0,devops_1['filterDockerImages'])(_0x2a1b70));if(_0x1d5113[_0x4fb1dc(0x224)](/docker\s+logs/))return _0x3946ce('filter',(0x0,devops_1[_0x4fb1dc(0x1eb)])(_0x2a1b70));if(_0x1d5113[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x209))){const _0x2f9a73=_0x1d5113[_0x4fb1dc(0x224)](/kubectl\s+(get|logs|describe|apply)/),_0x4fed39=_0x2f9a73?_0x2f9a73[0x1]:_0x4fb1dc(0x223);return _0x3946ce(_0x4fb1dc(0x245),(0x0,devops_1[_0x4fb1dc(0x252)])(_0x2a1b70,_0x4fed39));}if(_0x1d5113['match'](/^(ls|dir)(\s|$)/)||_0x1d5113[_0x4fb1dc(0x1f7)]('\x20ls\x20')||_0x1d5113[_0x4fb1dc(0x21e)]('\x20ls'))return _0x3946ce(_0x4fb1dc(0x245),(0x0,shell_1[_0x4fb1dc(0x1f2)])(_0x2a1b70));if(_0x1d5113[_0x4fb1dc(0x224)](/^tree(\s|$)/)||_0x1d5113[_0x4fb1dc(0x1f7)]('\x20tree\x20')||_0x1d5113['endsWith'](_0x4fb1dc(0x212)))return _0x3946ce(_0x4fb1dc(0x245),(0x0,shell_1[_0x4fb1dc(0x247)])(_0x2a1b70));if(_0x1d5113[_0x4fb1dc(0x224)](/^(cat|head|tail|read|bat)(\s|$)/)){const _0x34cbbe=(0x0,shell_1[_0x4fb1dc(0x20d)])(_0x2a1b70,_0x51f73f);if(_0x34cbbe[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x22d)))_0x515e39[_0x4fb1dc(0x229)]('lock');else{if(_0x34cbbe[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x23d))||_0x34cbbe[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x24f)))_0x515e39[_0x4fb1dc(0x229)](_0x4fb1dc(0x1f6));else{if(_0x34cbbe[_0x4fb1dc(0x1f7)](_0x4fb1dc(0x23a)))_0x515e39[_0x4fb1dc(0x229)](_0x4fb1dc(0x23f));else{if(_0x34cbbe[_0x4fb1dc(0x1f7)]('|\x20')&&_0x34cbbe['includes'](_0x4fb1dc(0x233))&&_0x34cbbe[_0x4fb1dc(0x21b)]<_0x2a1b70[_0x4fb1dc(0x21b)]*0.5)_0x515e39[_0x4fb1dc(0x229)](_0x4fb1dc(0x211));else{if(_0x34cbbe['includes'](_0x4fb1dc(0x1ec)))_0x515e39['push']('filter');}}}}if(_0x34cbbe[_0x4fb1dc(0x21b)]<_0x2a1b70[_0x4fb1dc(0x21b)]&&!_0x515e39[_0x4fb1dc(0x240)](_0x1d1a9a=>_0x1d1a9a!==_0x4fb1dc(0x21d)&&_0x1d1a9a!==_0x4fb1dc(0x200)))_0x515e39[_0x4fb1dc(0x229)](_0x4fb1dc(0x245));return exports[_0x4fb1dc(0x21c)]=_0x515e39,_0x34cbbe;}if(_0x1d5113[_0x4fb1dc(0x224)](/^find(\s|$)/))return _0x3946ce('filter',(0x0,shell_1[_0x4fb1dc(0x22f)])(_0x2a1b70));if(_0x1d5113[_0x4fb1dc(0x224)](/^(grep|rg|ripgrep)(\s|$)/))return _0x3946ce(_0x4fb1dc(0x245),(0x0,shell_1[_0x4fb1dc(0x246)])(_0x2a1b70));}}catch(_0x5df57d){}return isFeatureEnabled(_0x4fb1dc(0x218))&&(_0x2a1b70=(0x0,generic_1[_0x4fb1dc(0x1fa)])(_0x2a1b70),_0x515e39['push']('whitespace')),_0x2a1b70=(0x0,generic_1['collapseDuplicates'])(_0x2a1b70),_0x2a1b70=(0x0,generic_1['softTruncate'])(_0x2a1b70,0x4e20),exports[_0x4fb1dc(0x21c)]=_0x515e39,_0x2a1b70;}const REWRITE_RULES=[{'pattern':/^(?:git|yadm)\s+(?:-[Cc]\s+\S+\s+)*(status|log|diff|show|add|commit|push|pull|branch|fetch|stash|worktree)/,'prefix':'trim\x20git'},{'pattern':/^gh\s+(pr|issue|run|repo|api|release)/,'prefix':a0_0x45a0c3(0x220)},{'pattern':/^glab\s+(mr|issue|ci|pipeline|api|release)/,'prefix':a0_0x45a0c3(0x217)},{'pattern':/^cargo\s+(build|test|clippy|check|fmt|install)/,'prefix':a0_0x45a0c3(0x234)},{'pattern':/^pnpm\s+(exec|i|install|list|ls|outdated|run|run-script)/,'prefix':a0_0x45a0c3(0x21a)},{'pattern':/^npm\s+(exec|run|run-script|rum|urn|x|test)(\s|$)/,'prefix':a0_0x45a0c3(0x203)},{'pattern':/^npx\s+/,'prefix':a0_0x45a0c3(0x213)},{'pattern':/^(cat|head|tail)\s+/,'prefix':a0_0x45a0c3(0x238)},{'pattern':/^(rg|grep)\s+/,'prefix':'trim\x20grep'},{'pattern':/^ls(\s|$)/,'prefix':a0_0x45a0c3(0x230)},{'pattern':/^tree(\s|$)/,'prefix':a0_0x45a0c3(0x20c)},{'pattern':/^find\s+/,'prefix':'trim\x20find'},{'pattern':/^docker\s+(ps|images|logs|run|exec|build|compose)/,'prefix':a0_0x45a0c3(0x22a)},{'pattern':/^kubectl\s+(get|logs|describe|apply)/,'prefix':a0_0x45a0c3(0x24c)},{'pattern':/^(python3?\s+-m\s+)?pytest(\s|$)/,'prefix':a0_0x45a0c3(0x251)},{'pattern':/^ruff\s+(check|format)/,'prefix':a0_0x45a0c3(0x1fe)},{'pattern':/^(pip3?|uv\s+pip)\s+(list|outdated|install|show)/,'prefix':a0_0x45a0c3(0x20a)},{'pattern':/^go\s+(test|build|vet)/,'prefix':a0_0x45a0c3(0x214)}];function rewriteCommand(_0x31bc66){const _0x228f54=a0_0x45a0c3,_0x36e1bb=_0x31bc66[_0x228f54(0x21f)]();if(_0x36e1bb[_0x228f54(0x1ee)]('trim\x20'))return _0x36e1bb;for(const _0x27b243 of REWRITE_RULES){if(_0x27b243['pattern'][_0x228f54(0x208)](_0x36e1bb))return _0x228f54(0x1ff)+_0x36e1bb;}return _0x36e1bb;}
package/filters/js.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a0_0x409b(_0x44942d,_0x13be9b){_0x44942d=_0x44942d-0xc3;const _0x2d5e24=a0_0x2d5e();let _0x409b21=_0x2d5e24[_0x44942d];return _0x409b21;}const a0_0x95a2da=a0_0x409b;function a0_0x2d5e(){const _0x24f7a3=['4249vIfPct','removed\x20','added\x20','Tests:','found\x20','__esModule','PASS','11889GlEijA','305xkExRu','trim','includes','all','filterJestVitest','audited\x20','629256gVenxJ','filterNpmInstall','join','NPM:\x20Packages\x20verified/installed\x20successfully','Test\x20Runner:\x20','\x20passed','\x0aFailures:','slice','split','\x20lines\x20of\x20trace\x20details\x20truncated)','1898128RLsqLX','2634cgqrBj','Test\x20Files:','replace','878769pWvMJp','FAIL','length','push','137512aInBhO','startsWith','25388rPbnzL','up\x20to\x20date','Test\x20Suites:','match','4430GJFqSw'];a0_0x2d5e=function(){return _0x24f7a3;};return a0_0x2d5e();}(function(_0x2f05ec,_0x1f4aa3){const _0x461270=a0_0x409b,_0x42b8b6=_0x2f05ec();while(!![]){try{const _0x2ae56c=parseInt(_0x461270(0xe2))/0x1+-parseInt(_0x461270(0xd0))/0x2+-parseInt(_0x461270(0xde))/0x3+-parseInt(_0x461270(0xe4))/0x4*(parseInt(_0x461270(0xca))/0x5)+parseInt(_0x461270(0xdb))/0x6*(parseInt(_0x461270(0xe9))/0x7)+parseInt(_0x461270(0xda))/0x8+parseInt(_0x461270(0xc9))/0x9*(parseInt(_0x461270(0xe8))/0xa);if(_0x2ae56c===_0x1f4aa3)break;else _0x42b8b6['push'](_0x42b8b6['shift']());}catch(_0x50b220){_0x42b8b6['push'](_0x42b8b6['shift']());}}}(a0_0x2d5e,0x38938));Object['defineProperty'](exports,a0_0x95a2da(0xc7),{'value':!![]}),exports[a0_0x95a2da(0xd1)]=filterNpmInstall,exports[a0_0x95a2da(0xce)]=filterJestVitest;function filterNpmInstall(_0x5bee8a){const _0x5bc5a9=a0_0x95a2da,_0x1351bc=_0x5bee8a[_0x5bc5a9(0xdd)](/\r/g,'\x0a'),_0x4be4f4=_0x1351bc[_0x5bc5a9(0xd8)]('\x0a'),_0x2ea20d=[];for(const _0x30056d of _0x4be4f4){const _0xeeefc2=_0x30056d[_0x5bc5a9(0xcb)]();(_0xeeefc2[_0x5bc5a9(0xcc)](_0x5bc5a9(0xc4))||_0xeeefc2[_0x5bc5a9(0xcc)](_0x5bc5a9(0xc3))||_0xeeefc2[_0x5bc5a9(0xcc)](_0x5bc5a9(0xcf))||_0xeeefc2[_0x5bc5a9(0xcc)](_0x5bc5a9(0xe5))||_0xeeefc2[_0x5bc5a9(0xcc)](_0x5bc5a9(0xc6)))&&(!_0xeeefc2[_0x5bc5a9(0xcc)]('%')&&!_0xeeefc2[_0x5bc5a9(0xe3)]('⠋')&&!_0xeeefc2['startsWith']('⠙')&&_0x2ea20d[_0x5bc5a9(0xe1)](_0xeeefc2));}const _0x55dee6=_0x2ea20d[_0x5bc5a9(0xd2)]('\x0a')['trim']();return _0x55dee6[_0x5bc5a9(0xe0)]>0x0?_0x55dee6:_0x5bc5a9(0xd3);}function filterJestVitest(_0x3857b4){const _0x83605e=a0_0x95a2da,_0x34b7e9=_0x3857b4[_0x83605e(0xd8)]('\x0a');let _0x1cdfad=0x0,_0xc2d0a3=0x0,_0xa416d7=0x0;const _0xa2e9c6=[];let _0x5b53a6=![];for(const _0x4219b1 of _0x34b7e9){const _0x470897=_0x4219b1[_0x83605e(0xcb)]();if(_0x470897[_0x83605e(0xe3)](_0x83605e(0xc5))||_0x470897[_0x83605e(0xcc)](_0x83605e(0xdc))){const _0x5ada20=_0x470897[_0x83605e(0xe7)](/(\d+)\s+passed/),_0x4ca1e5=_0x470897[_0x83605e(0xe7)](/(\d+)\s+failed/),_0x5e2968=_0x470897[_0x83605e(0xe7)](/(\d+)\s+total/);if(_0x5ada20)_0x1cdfad=parseInt(_0x5ada20[0x1]);if(_0x4ca1e5)_0xc2d0a3=parseInt(_0x4ca1e5[0x1]);if(_0x5e2968)_0xa416d7=parseInt(_0x5e2968[0x1]);continue;}(_0x470897['startsWith']('❯')||_0x470897['startsWith']('●')||_0x470897[_0x83605e(0xe3)]('FAIL\x20\x20'))&&(_0x5b53a6=!![]),_0x5b53a6&&(_0x470897['length']>0x0&&!_0x470897['startsWith'](_0x83605e(0xe6))&&!_0x470897[_0x83605e(0xe3)](_0x83605e(0xc5))&&_0xa2e9c6[_0x83605e(0xe1)](_0x4219b1));}if(_0xa416d7===0x0&&_0x1cdfad===0x0&&_0xc2d0a3===0x0){if(_0x3857b4[_0x83605e(0xcc)](_0x83605e(0xc8))&&!_0x3857b4[_0x83605e(0xcc)](_0x83605e(0xdf))){const _0x1eb801=_0x3857b4[_0x83605e(0xe7)](/(\d+)\s+passed/),_0x20b196=_0x1eb801?_0x1eb801[0x1]:_0x83605e(0xcd);return'Test\x20Runner:\x20'+_0x20b196+'\x20passed';}return _0x3857b4;}if(_0xc2d0a3===0x0&&_0x1cdfad>0x0)return _0x83605e(0xd4)+_0x1cdfad+_0x83605e(0xd5);const _0x356ce8=[_0x83605e(0xd4)+_0x1cdfad+'\x20passed,\x20'+_0xc2d0a3+'\x20failed\x20('+_0xa416d7+'\x20total)'];if(_0xa2e9c6[_0x83605e(0xe0)]>0x0){_0x356ce8[_0x83605e(0xe1)](_0x83605e(0xd6));const _0x313070=0x19,_0xdc57c=_0xa2e9c6[_0x83605e(0xd7)](0x0,_0x313070);for(const _0x38151f of _0xdc57c){_0x356ce8[_0x83605e(0xe1)]('\x20\x20'+_0x38151f);}_0xa2e9c6[_0x83605e(0xe0)]>_0x313070&&_0x356ce8['push']('\x20\x20...\x20('+(_0xa2e9c6[_0x83605e(0xe0)]-_0x313070)+_0x83605e(0xd9));}return _0x356ce8[_0x83605e(0xd2)]('\x0a');}
1
+ 'use strict';const a0_0x571119=a0_0x5bbb;(function(_0x17f3a5,_0x576630){const _0x9f19ae=a0_0x5bbb,_0x29a228=_0x17f3a5();while(!![]){try{const _0xdf7647=parseInt(_0x9f19ae(0xa1))/0x1*(parseInt(_0x9f19ae(0xac))/0x2)+-parseInt(_0x9f19ae(0x96))/0x3+-parseInt(_0x9f19ae(0xa7))/0x4+parseInt(_0x9f19ae(0x92))/0x5+parseInt(_0x9f19ae(0xad))/0x6*(parseInt(_0x9f19ae(0x95))/0x7)+-parseInt(_0x9f19ae(0xb2))/0x8*(parseInt(_0x9f19ae(0x9a))/0x9)+parseInt(_0x9f19ae(0xa6))/0xa*(parseInt(_0x9f19ae(0x8f))/0xb);if(_0xdf7647===_0x576630)break;else _0x29a228['push'](_0x29a228['shift']());}catch(_0x4d277b){_0x29a228['push'](_0x29a228['shift']());}}}(a0_0xf5d3,0x3c8b1));Object['defineProperty'](exports,a0_0x571119(0xaf),{'value':!![]}),exports[a0_0x571119(0x98)]=filterNpmInstall,exports['filterJestVitest']=filterJestVitest;function filterNpmInstall(_0x45817f){const _0x9b45a9=a0_0x571119,_0x3b5e87=_0x45817f[_0x9b45a9(0xb3)](/\r/g,'\x0a'),_0x29a7cd=_0x3b5e87[_0x9b45a9(0xa9)]('\x0a'),_0x6a5262=[];for(const _0xf452c5 of _0x29a7cd){const _0x2d778e=_0xf452c5['trim']();(_0x2d778e['includes']('added\x20')||_0x2d778e['includes']('removed\x20')||_0x2d778e[_0x9b45a9(0x9c)](_0x9b45a9(0xb0))||_0x2d778e[_0x9b45a9(0x9c)](_0x9b45a9(0xa3))||_0x2d778e[_0x9b45a9(0x9c)]('found\x20'))&&(!_0x2d778e[_0x9b45a9(0x9c)]('%')&&!_0x2d778e['startsWith']('⠋')&&!_0x2d778e[_0x9b45a9(0xb4)]('⠙')&&_0x6a5262[_0x9b45a9(0x99)](_0x2d778e));}const _0x5cdbde=_0x6a5262[_0x9b45a9(0xaa)]('\x0a')[_0x9b45a9(0x97)]();return _0x5cdbde[_0x9b45a9(0x90)]>0x0?_0x5cdbde:_0x9b45a9(0xb1);}function a0_0x5bbb(_0x509738,_0x1ffb08){_0x509738=_0x509738-0x8d;const _0xf5d3d3=a0_0xf5d3();let _0x5bbb07=_0xf5d3d3[_0x509738];return _0x5bbb07;}function filterJestVitest(_0x28c6a0){const _0x2c72b5=a0_0x571119,_0x5f0a0d=_0x28c6a0[_0x2c72b5(0xa9)]('\x0a');let _0x4bc9ea=0x0,_0xe41823=0x0,_0x1132a8=0x0;const _0x307cef=[];let _0x24cc68=![];for(const _0x1b59f3 of _0x5f0a0d){const _0x15fdec=_0x1b59f3[_0x2c72b5(0x97)]();if(_0x15fdec[_0x2c72b5(0xb4)]('Tests:')||_0x15fdec[_0x2c72b5(0x9c)](_0x2c72b5(0x93))){const _0x49fe4b=_0x15fdec['match'](/(\d+)\s+passed/),_0x3824de=_0x15fdec[_0x2c72b5(0xae)](/(\d+)\s+failed/),_0x4b90a8=_0x15fdec[_0x2c72b5(0xae)](/(\d+)\s+total/);if(_0x49fe4b)_0x4bc9ea=parseInt(_0x49fe4b[0x1]);if(_0x3824de)_0xe41823=parseInt(_0x3824de[0x1]);if(_0x4b90a8)_0x1132a8=parseInt(_0x4b90a8[0x1]);continue;}(_0x15fdec[_0x2c72b5(0xb4)]('❯')||_0x15fdec[_0x2c72b5(0xb4)]('●')||_0x15fdec[_0x2c72b5(0xb4)](_0x2c72b5(0xa8)))&&(_0x24cc68=!![]),_0x24cc68&&(_0x15fdec[_0x2c72b5(0x90)]>0x0&&!_0x15fdec[_0x2c72b5(0xb4)](_0x2c72b5(0x9b))&&!_0x15fdec[_0x2c72b5(0xb4)](_0x2c72b5(0x94))&&_0x307cef[_0x2c72b5(0x99)](_0x1b59f3));}if(_0x1132a8===0x0&&_0x4bc9ea===0x0&&_0xe41823===0x0){if(_0x28c6a0[_0x2c72b5(0x9c)](_0x2c72b5(0xa5))&&!_0x28c6a0[_0x2c72b5(0x9c)](_0x2c72b5(0x9f))){const _0x139aeb=_0x28c6a0[_0x2c72b5(0xae)](/(\d+)\s+passed/),_0x37c56b=_0x139aeb?_0x139aeb[0x1]:_0x2c72b5(0x8d);return'Test\x20Runner:\x20'+_0x37c56b+_0x2c72b5(0x8e);}return _0x28c6a0;}if(_0xe41823===0x0&&_0x4bc9ea>0x0)return _0x2c72b5(0x9d)+_0x4bc9ea+_0x2c72b5(0x8e);const _0x2dd1bf=[_0x2c72b5(0x9d)+_0x4bc9ea+_0x2c72b5(0x9e)+_0xe41823+_0x2c72b5(0x91)+_0x1132a8+_0x2c72b5(0xa0)];if(_0x307cef[_0x2c72b5(0x90)]>0x0){_0x2dd1bf[_0x2c72b5(0x99)](_0x2c72b5(0xab));const _0x1b20d7=0x19,_0x5036c3=_0x307cef['slice'](0x0,_0x1b20d7);for(const _0x5996fc of _0x5036c3){_0x2dd1bf['push']('\x20\x20'+_0x5996fc);}_0x307cef[_0x2c72b5(0x90)]>_0x1b20d7&&_0x2dd1bf[_0x2c72b5(0x99)](_0x2c72b5(0xa4)+(_0x307cef[_0x2c72b5(0x90)]-_0x1b20d7)+_0x2c72b5(0xa2));}return _0x2dd1bf[_0x2c72b5(0xaa)]('\x0a');}function a0_0xf5d3(){const _0x10d553=['11nUBizS','length','\x20failed\x20(','1860320WPJWGK','Test\x20Files:','Tests:','98kHSFGr','194307bhzwLV','trim','filterNpmInstall','push','432exdWiY','Test\x20Suites:','includes','Test\x20Runner:\x20','\x20passed,\x20','FAIL','\x20total)','1FRXFvu','\x20lines\x20of\x20trace\x20details\x20truncated)','up\x20to\x20date','\x20\x20...\x20(','PASS','1837570nbsRFH','1361684msyddL','FAIL\x20\x20','split','join','\x0aFailures:','61288aDMdRQ','120318NTDWJU','match','__esModule','audited\x20','NPM:\x20Packages\x20verified/installed\x20successfully','35672IkYCHV','replace','startsWith','all','\x20passed'];a0_0xf5d3=function(){return _0x10d553;};return a0_0xf5d3();}
package/filters/python.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x156009=a0_0xba9f;(function(_0xa1cc72,_0x2880df){const _0x3f0cf4=a0_0xba9f,_0x41f13d=_0xa1cc72();while(!![]){try{const _0xf4f68b=parseInt(_0x3f0cf4(0x6a))/0x1*(parseInt(_0x3f0cf4(0x6b))/0x2)+-parseInt(_0x3f0cf4(0x87))/0x3+parseInt(_0x3f0cf4(0x7f))/0x4+-parseInt(_0x3f0cf4(0x74))/0x5*(-parseInt(_0x3f0cf4(0x85))/0x6)+-parseInt(_0x3f0cf4(0x8e))/0x7*(-parseInt(_0x3f0cf4(0x7c))/0x8)+-parseInt(_0x3f0cf4(0x82))/0x9+parseInt(_0x3f0cf4(0x90))/0xa*(-parseInt(_0x3f0cf4(0x93))/0xb);if(_0xf4f68b===_0x2880df)break;else _0x41f13d['push'](_0x41f13d['shift']());}catch(_0x7fc1d5){_0x41f13d['push'](_0x41f13d['shift']());}}}(a0_0x1b5e,0xda03a));function a0_0x1b5e(){const _0x4e80f6=['length','\x20xpassed\x20(warning!)','6QsReRK','startsWith','3093261lgKomf','Requirement\x20already\x20satisfied','join','\x20failed','filterPytest','Pytest:\x20','filter','7MDHhmY','includes','2929690NLrOsu','\x20passed','===\x20FAILURES\x20===','77VxUOrj','replace','split','\x20\x20...\x20+','1uqCEtl','1806594nzZWGN','\x0aFailures:','failed','defineProperty','slice','trim','===\x20short\x20test\x20summary\x20info\x20===','___','\x20skipped','5349695eLLBBK','Using\x20cached','push','\x20xfailed','\x20\x20\x20\x20...\x20(','Collecting','match','\x20lines\x20of\x20stacktrace\x20truncated)','7689312Dofisu','Successfully\x20installed','passed','4711040MUimUW','.\x20[FAIL]\x20','.py:','1235736XrqNhE'];a0_0x1b5e=function(){return _0x4e80f6;};return a0_0x1b5e();}function a0_0xba9f(_0x41d845,_0x297df8){_0x41d845=_0x41d845-0x67;const _0x1b5ea3=a0_0x1b5e();let _0xba9fa1=_0x1b5ea3[_0x41d845];return _0xba9fa1;}Object[a0_0x156009(0x6e)](exports,'__esModule',{'value':!![]}),exports[a0_0x156009(0x8b)]=filterPytest,exports['filterPipInstall']=filterPipInstall;function filterPytest(_0x1fc548){const _0x4b6b9c=a0_0x156009,_0x5ef9b6=_0x1fc548[_0x4b6b9c(0x68)]('\x0a');let _0x1044b0=0x0,_0x498ed9=0x0,_0x467523=0x0,_0x481c0c=0x0,_0x4e7fa4=0x0;const _0x499a46=[];let _0x11954a=[],_0x39c487=![];for(const _0xc0a4ef of _0x5ef9b6){const _0x5607b7=_0xc0a4ef['trim']();if(_0x5607b7['startsWith'](_0x4b6b9c(0x92))||_0x5607b7['startsWith']('===\x20ERRORS\x20===')){_0x39c487=!![];continue;}else(_0x5607b7[_0x4b6b9c(0x86)](_0x4b6b9c(0x71))||_0x5607b7['startsWith']('===')&&_0x5607b7[_0x4b6b9c(0x8f)](_0x4b6b9c(0x7e)))&&(_0x39c487=![],_0x11954a[_0x4b6b9c(0x83)]>0x0&&(_0x499a46[_0x4b6b9c(0x76)](_0x11954a),_0x11954a=[]));if(_0x39c487){if(_0x5607b7[_0x4b6b9c(0x86)](_0x4b6b9c(0x72)))_0x11954a['length']>0x0&&(_0x499a46['push'](_0x11954a),_0x11954a=[]),_0x11954a[_0x4b6b9c(0x76)](_0x5607b7);else _0x5607b7['length']>0x0&&_0x11954a[_0x4b6b9c(0x76)](_0xc0a4ef);continue;}if(_0x5607b7[_0x4b6b9c(0x86)]('===')&&_0x5607b7['includes']('\x20in\x20')){const _0x5dd694=_0x5607b7[_0x4b6b9c(0x7a)](/(\d+)\s+passed/),_0x1b97c2=_0x5607b7['match'](/(\d+)\s+failed/),_0x4500a9=_0x5607b7[_0x4b6b9c(0x7a)](/(\d+)\s+skipped/),_0x10b9d9=_0x5607b7[_0x4b6b9c(0x7a)](/(\d+)\s+xfailed/),_0x365c00=_0x5607b7[_0x4b6b9c(0x7a)](/(\d+)\s+xpassed/);if(_0x5dd694)_0x1044b0=parseInt(_0x5dd694[0x1]);if(_0x1b97c2)_0x498ed9=parseInt(_0x1b97c2[0x1]);if(_0x4500a9)_0x467523=parseInt(_0x4500a9[0x1]);if(_0x10b9d9)_0x481c0c=parseInt(_0x10b9d9[0x1]);if(_0x365c00)_0x4e7fa4=parseInt(_0x365c00[0x1]);}}_0x11954a['length']>0x0&&_0x499a46[_0x4b6b9c(0x76)](_0x11954a);if(_0x1044b0===0x0&&_0x498ed9===0x0&&_0x467523===0x0&&_0x481c0c===0x0&&_0x4e7fa4===0x0){if(_0x1fc548[_0x4b6b9c(0x8f)](_0x4b6b9c(0x7e))&&!_0x1fc548['includes'](_0x4b6b9c(0x6d)))return'Pytest:\x20All\x20tests\x20passed';return _0x1fc548;}if(_0x498ed9===0x0&&_0x1044b0>0x0&&_0x467523===0x0&&_0x481c0c===0x0&&_0x4e7fa4===0x0)return _0x4b6b9c(0x8c)+_0x1044b0+'\x20passed';const _0x3422e5=[];_0x3422e5['push'](_0x4b6b9c(0x8c)+_0x1044b0+_0x4b6b9c(0x91));if(_0x498ed9>0x0)_0x3422e5[_0x4b6b9c(0x76)](_0x498ed9+_0x4b6b9c(0x8a));if(_0x467523>0x0)_0x3422e5[_0x4b6b9c(0x76)](_0x467523+_0x4b6b9c(0x73));if(_0x481c0c>0x0)_0x3422e5['push'](_0x481c0c+_0x4b6b9c(0x77));if(_0x4e7fa4>0x0)_0x3422e5[_0x4b6b9c(0x76)](_0x4e7fa4+_0x4b6b9c(0x84));const _0x27b0b0=[_0x3422e5[_0x4b6b9c(0x89)](',\x20')];if(_0x499a46[_0x4b6b9c(0x83)]>0x0){_0x27b0b0[_0x4b6b9c(0x76)](_0x4b6b9c(0x6c));const _0x45196b=0x3,_0x30a02d=_0x499a46[_0x4b6b9c(0x6f)](0x0,_0x45196b);for(let _0x17110f=0x0;_0x17110f<_0x30a02d[_0x4b6b9c(0x83)];_0x17110f++){const _0x2e38a9=_0x30a02d[_0x17110f],_0x1ed29a=_0x2e38a9[0x0][_0x4b6b9c(0x67)](/_/g,'')[_0x4b6b9c(0x70)]();_0x27b0b0[_0x4b6b9c(0x76)]('\x20\x20'+(_0x17110f+0x1)+_0x4b6b9c(0x80)+_0x1ed29a);const _0x18109a=_0x2e38a9['slice'](0x1),_0x200a58=_0x18109a[_0x4b6b9c(0x8d)](_0x1f3526=>{const _0x37126c=_0x4b6b9c,_0x817dc3=_0x1f3526[_0x37126c(0x70)]();return _0x817dc3[_0x37126c(0x86)]('>')||_0x817dc3[_0x37126c(0x86)]('E\x20\x20\x20')||_0x817dc3[_0x37126c(0x8f)](_0x37126c(0x81))||_0x817dc3['includes']('AssertionError:');});for(const _0x1a5c4b of _0x200a58['slice'](0x0,0x8)){_0x27b0b0[_0x4b6b9c(0x76)]('\x20\x20\x20\x20'+_0x1a5c4b);}_0x200a58[_0x4b6b9c(0x83)]>0x8&&_0x27b0b0[_0x4b6b9c(0x76)](_0x4b6b9c(0x78)+(_0x200a58[_0x4b6b9c(0x83)]-0x8)+_0x4b6b9c(0x7b));}_0x499a46[_0x4b6b9c(0x83)]>_0x45196b&&_0x27b0b0[_0x4b6b9c(0x76)](_0x4b6b9c(0x69)+(_0x499a46['length']-_0x45196b)+'\x20more\x20failures\x20truncated');}return _0x27b0b0['join']('\x0a');}function filterPipInstall(_0x2e738e){const _0x18939d=a0_0x156009,_0x482009=_0x2e738e[_0x18939d(0x68)]('\x0a'),_0x130f65=[];for(const _0x4f31d3 of _0x482009){const _0x22938a=_0x4f31d3['trim']();_0x22938a[_0x18939d(0x86)](_0x18939d(0x7d))&&_0x130f65[_0x18939d(0x76)](_0x22938a);}if(_0x130f65['length']>0x0)return _0x130f65[_0x18939d(0x89)]('\x0a');return _0x482009['filter'](_0x3a58b5=>{const _0x23ce5e=_0x18939d,_0x18e3b7=_0x3a58b5[_0x23ce5e(0x70)]();return!_0x18e3b7[_0x23ce5e(0x86)](_0x23ce5e(0x79))&&!_0x18e3b7[_0x23ce5e(0x86)]('Downloading')&&!_0x18e3b7[_0x23ce5e(0x8f)](_0x23ce5e(0x75))&&!_0x18e3b7[_0x23ce5e(0x86)](_0x23ce5e(0x88));})[_0x18939d(0x89)]('\x0a')[_0x18939d(0x70)]();}
1
+ 'use strict';const a0_0x6f3cbc=a0_0x3034;(function(_0x315098,_0xd1bc68){const _0x515d62=a0_0x3034,_0x1f668d=_0x315098();while(!![]){try{const _0x1571b1=-parseInt(_0x515d62(0x1f2))/0x1+-parseInt(_0x515d62(0x1e3))/0x2+parseInt(_0x515d62(0x1fe))/0x3+-parseInt(_0x515d62(0x1dd))/0x4+parseInt(_0x515d62(0x1e6))/0x5*(parseInt(_0x515d62(0x1e5))/0x6)+-parseInt(_0x515d62(0x1f8))/0x7+parseInt(_0x515d62(0x1dc))/0x8*(parseInt(_0x515d62(0x1de))/0x9);if(_0x1571b1===_0xd1bc68)break;else _0x1f668d['push'](_0x1f668d['shift']());}catch(_0x1f45d1){_0x1f668d['push'](_0x1f668d['shift']());}}}(a0_0x1a79,0x8c00a));function a0_0x3034(_0x25948a,_0x384238){_0x25948a=_0x25948a-0x1d3;const _0x1a794e=a0_0x1a79();let _0x303467=_0x1a794e[_0x25948a];return _0x303467;}Object['defineProperty'](exports,a0_0x6f3cbc(0x1ea),{'value':!![]}),exports[a0_0x6f3cbc(0x1f6)]=filterPytest,exports[a0_0x6f3cbc(0x1d9)]=filterPipInstall;function filterPytest(_0x319072){const _0x296092=a0_0x6f3cbc,_0x370c7f=_0x319072[_0x296092(0x1e0)]('\x0a');let _0xc48bae=0x0,_0x4947dd=0x0,_0x3ea161=0x0,_0xc478d8=0x0,_0x195c7e=0x0;const _0x369dbc=[];let _0x24c019=[],_0x218124=![];for(const _0x5a1e3c of _0x370c7f){const _0x2642ff=_0x5a1e3c[_0x296092(0x1da)]();if(_0x2642ff[_0x296092(0x1f5)](_0x296092(0x1ef))||_0x2642ff[_0x296092(0x1f5)]('===\x20ERRORS\x20===')){_0x218124=!![];continue;}else(_0x2642ff[_0x296092(0x1f5)]('===\x20short\x20test\x20summary\x20info\x20===')||_0x2642ff[_0x296092(0x1f5)](_0x296092(0x1f7))&&_0x2642ff[_0x296092(0x1eb)](_0x296092(0x1fb)))&&(_0x218124=![],_0x24c019[_0x296092(0x1ff)]>0x0&&(_0x369dbc[_0x296092(0x1f1)](_0x24c019),_0x24c019=[]));if(_0x218124){if(_0x2642ff['startsWith'](_0x296092(0x1f4)))_0x24c019[_0x296092(0x1ff)]>0x0&&(_0x369dbc['push'](_0x24c019),_0x24c019=[]),_0x24c019['push'](_0x2642ff);else _0x2642ff[_0x296092(0x1ff)]>0x0&&_0x24c019['push'](_0x5a1e3c);continue;}if(_0x2642ff[_0x296092(0x1f5)]('===')&&_0x2642ff['includes'](_0x296092(0x1fd))){const _0x3ef353=_0x2642ff[_0x296092(0x1f3)](/(\d+)\s+passed/),_0x46036f=_0x2642ff['match'](/(\d+)\s+failed/),_0x54bf1a=_0x2642ff['match'](/(\d+)\s+skipped/),_0x225169=_0x2642ff['match'](/(\d+)\s+xfailed/),_0x25b95d=_0x2642ff[_0x296092(0x1f3)](/(\d+)\s+xpassed/);if(_0x3ef353)_0xc48bae=parseInt(_0x3ef353[0x1]);if(_0x46036f)_0x4947dd=parseInt(_0x46036f[0x1]);if(_0x54bf1a)_0x3ea161=parseInt(_0x54bf1a[0x1]);if(_0x225169)_0xc478d8=parseInt(_0x225169[0x1]);if(_0x25b95d)_0x195c7e=parseInt(_0x25b95d[0x1]);}}_0x24c019[_0x296092(0x1ff)]>0x0&&_0x369dbc[_0x296092(0x1f1)](_0x24c019);if(_0xc48bae===0x0&&_0x4947dd===0x0&&_0x3ea161===0x0&&_0xc478d8===0x0&&_0x195c7e===0x0){if(_0x319072[_0x296092(0x1eb)]('passed')&&!_0x319072[_0x296092(0x1eb)](_0x296092(0x1e4)))return'Pytest:\x20All\x20tests\x20passed';return _0x319072;}if(_0x4947dd===0x0&&_0xc48bae>0x0&&_0x3ea161===0x0&&_0xc478d8===0x0&&_0x195c7e===0x0)return'Pytest:\x20'+_0xc48bae+_0x296092(0x1ed);const _0x4ff386=[];_0x4ff386[_0x296092(0x1f1)](_0x296092(0x1fc)+_0xc48bae+'\x20passed');if(_0x4947dd>0x0)_0x4ff386[_0x296092(0x1f1)](_0x4947dd+_0x296092(0x1e7));if(_0x3ea161>0x0)_0x4ff386[_0x296092(0x1f1)](_0x3ea161+'\x20skipped');if(_0xc478d8>0x0)_0x4ff386[_0x296092(0x1f1)](_0xc478d8+_0x296092(0x1df));if(_0x195c7e>0x0)_0x4ff386[_0x296092(0x1f1)](_0x195c7e+_0x296092(0x1db));const _0x362a8e=[_0x4ff386['join'](',\x20')];if(_0x369dbc[_0x296092(0x1ff)]>0x0){_0x362a8e[_0x296092(0x1f1)](_0x296092(0x1d4));const _0x435a61=0x3,_0x4dda87=_0x369dbc[_0x296092(0x1ee)](0x0,_0x435a61);for(let _0x113d0a=0x0;_0x113d0a<_0x4dda87[_0x296092(0x1ff)];_0x113d0a++){const _0x57dc5a=_0x4dda87[_0x113d0a],_0x4b426b=_0x57dc5a[0x0]['replace'](/_/g,'')[_0x296092(0x1da)]();_0x362a8e[_0x296092(0x1f1)]('\x20\x20'+(_0x113d0a+0x1)+_0x296092(0x1d6)+_0x4b426b);const _0x3ab208=_0x57dc5a['slice'](0x1),_0x1c61bf=_0x3ab208['filter'](_0x329dda=>{const _0x4b025e=_0x296092,_0x4ad2dd=_0x329dda[_0x4b025e(0x1da)]();return _0x4ad2dd[_0x4b025e(0x1f5)]('>')||_0x4ad2dd['startsWith'](_0x4b025e(0x1d8))||_0x4ad2dd[_0x4b025e(0x1eb)](_0x4b025e(0x1e1))||_0x4ad2dd[_0x4b025e(0x1eb)](_0x4b025e(0x1d7));});for(const _0x3dfd66 of _0x1c61bf[_0x296092(0x1ee)](0x0,0x8)){_0x362a8e[_0x296092(0x1f1)](_0x296092(0x1f0)+_0x3dfd66);}_0x1c61bf['length']>0x8&&_0x362a8e[_0x296092(0x1f1)]('\x20\x20\x20\x20...\x20('+(_0x1c61bf[_0x296092(0x1ff)]-0x8)+'\x20lines\x20of\x20stacktrace\x20truncated)');}_0x369dbc[_0x296092(0x1ff)]>_0x435a61&&_0x362a8e[_0x296092(0x1f1)]('\x20\x20...\x20+'+(_0x369dbc['length']-_0x435a61)+_0x296092(0x1ec));}return _0x362a8e[_0x296092(0x1e9)]('\x0a');}function filterPipInstall(_0x5592b8){const _0x7d647f=a0_0x6f3cbc,_0x4b7902=_0x5592b8['split']('\x0a'),_0x54c002=[];for(const _0xe31965 of _0x4b7902){const _0x3a5198=_0xe31965[_0x7d647f(0x1da)]();_0x3a5198[_0x7d647f(0x1f5)](_0x7d647f(0x1e8))&&_0x54c002[_0x7d647f(0x1f1)](_0x3a5198);}if(_0x54c002['length']>0x0)return _0x54c002[_0x7d647f(0x1e9)]('\x0a');return _0x4b7902[_0x7d647f(0x1fa)](_0x11fda5=>{const _0x297323=_0x7d647f,_0xb79bc3=_0x11fda5[_0x297323(0x1da)]();return!_0xb79bc3[_0x297323(0x1f5)](_0x297323(0x1f9))&&!_0xb79bc3['startsWith'](_0x297323(0x1d5))&&!_0xb79bc3[_0x297323(0x1eb)](_0x297323(0x1d3))&&!_0xb79bc3[_0x297323(0x1f5)](_0x297323(0x1e2));})[_0x7d647f(0x1e9)]('\x0a')[_0x7d647f(0x1da)]();}function a0_0x1a79(){const _0x542c95=['match','___','startsWith','filterPytest','===','158809BTIJSp','Collecting','filter','passed','Pytest:\x20','\x20in\x20','1338636qzKdeS','length','Using\x20cached','\x0aFailures:','Downloading','.\x20[FAIL]\x20','AssertionError:','E\x20\x20\x20','filterPipInstall','trim','\x20xpassed\x20(warning!)','1084824NgQijT','135708LpuUge','45byNYlX','\x20xfailed','split','.py:','Requirement\x20already\x20satisfied','906676QCOZxC','failed','78qgNdHs','1765FCChoL','\x20failed','Successfully\x20installed','join','__esModule','includes','\x20more\x20failures\x20truncated','\x20passed','slice','===\x20FAILURES\x20===','\x20\x20\x20\x20','push','45414ZWMNtK'];a0_0x1a79=function(){return _0x542c95;};return a0_0x1a79();}