trimprompt 1.0.27 → 1.0.28

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/tracker.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x2784c0=a0_0x33c4;(function(_0x295085,_0x3294dc){const _0x5b3ce1=a0_0x33c4,_0x336f84=_0x295085();while(!![]){try{const _0x2248d8=parseInt(_0x5b3ce1(0x17d))/0x1+parseInt(_0x5b3ce1(0x1b7))/0x2*(-parseInt(_0x5b3ce1(0x178))/0x3)+-parseInt(_0x5b3ce1(0x18d))/0x4+-parseInt(_0x5b3ce1(0x1ed))/0x5*(-parseInt(_0x5b3ce1(0x1de))/0x6)+parseInt(_0x5b3ce1(0x1df))/0x7+-parseInt(_0x5b3ce1(0x1d2))/0x8+parseInt(_0x5b3ce1(0x1cb))/0x9*(parseInt(_0x5b3ce1(0x18f))/0xa);if(_0x2248d8===_0x3294dc)break;else _0x336f84['push'](_0x336f84['shift']());}catch(_0x3af603){_0x336f84['push'](_0x336f84['shift']());}}}(a0_0xe16d,0xa97cc));function a0_0x33c4(_0x4106eb,_0x35976f){_0x4106eb=_0x4106eb-0x16e;const _0xe16d73=a0_0xe16d();let _0x33c47a=_0xe16d73[_0x4106eb];return _0x33c47a;}var __createBinding=this&&this[a0_0x2784c0(0x1d1)]||(Object[a0_0x2784c0(0x1d6)]?function(_0x2d6546,_0x5d99de,_0x4276a5,_0x3cbf9c){const _0x54ec9d=a0_0x2784c0;if(_0x3cbf9c===undefined)_0x3cbf9c=_0x4276a5;var _0x4f8b1f=Object[_0x54ec9d(0x16e)](_0x5d99de,_0x4276a5);(!_0x4f8b1f||(_0x54ec9d(0x1ee)in _0x4f8b1f?!_0x5d99de['__esModule']:_0x4f8b1f[_0x54ec9d(0x1db)]||_0x4f8b1f[_0x54ec9d(0x1d0)]))&&(_0x4f8b1f={'enumerable':!![],'get':function(){return _0x5d99de[_0x4276a5];}}),Object['defineProperty'](_0x2d6546,_0x3cbf9c,_0x4f8b1f);}:function(_0x42cada,_0x561a28,_0x2f59ee,_0x2eca52){if(_0x2eca52===undefined)_0x2eca52=_0x2f59ee;_0x42cada[_0x2eca52]=_0x561a28[_0x2f59ee];}),__setModuleDefault=this&&this[a0_0x2784c0(0x192)]||(Object[a0_0x2784c0(0x1d6)]?function(_0x22f51e,_0x3aadad){const _0x22c9f3=a0_0x2784c0;Object[_0x22c9f3(0x196)](_0x22f51e,_0x22c9f3(0x18b),{'enumerable':!![],'value':_0x3aadad});}:function(_0x5111c8,_0xdf05c2){const _0xe46dbc=a0_0x2784c0;_0x5111c8[_0xe46dbc(0x18b)]=_0xdf05c2;}),__importStar=this&&this[a0_0x2784c0(0x194)]||(function(){var _0x2d4c78=function(_0x395104){return _0x2d4c78=Object['getOwnPropertyNames']||function(_0x564911){var _0x1f3929=[];for(var _0x57bf74 in _0x564911)if(Object['prototype']['hasOwnProperty']['call'](_0x564911,_0x57bf74))_0x1f3929[_0x1f3929['length']]=_0x57bf74;return _0x1f3929;},_0x2d4c78(_0x395104);};return function(_0x4dc82a){const _0x4af1f9=a0_0x33c4;if(_0x4dc82a&&_0x4dc82a[_0x4af1f9(0x1fa)])return _0x4dc82a;var _0xf2d4f4={};if(_0x4dc82a!=null){for(var _0x197aa6=_0x2d4c78(_0x4dc82a),_0x5b9984=0x0;_0x5b9984<_0x197aa6['length'];_0x5b9984++)if(_0x197aa6[_0x5b9984]!=='default')__createBinding(_0xf2d4f4,_0x4dc82a,_0x197aa6[_0x5b9984]);}return __setModuleDefault(_0xf2d4f4,_0x4dc82a),_0xf2d4f4;};}());Object[a0_0x2784c0(0x196)](exports,'__esModule',{'value':!![]}),exports['tracker']=exports[a0_0x2784c0(0x1ce)]=exports[a0_0x2784c0(0x1ec)]=void 0x0,exports[a0_0x2784c0(0x1a3)]=detectSessionTool;const fs=__importStar(require('fs')),path=__importStar(require(a0_0x2784c0(0x1e7))),os=__importStar(require('os')),child_process_1=require(a0_0x2784c0(0x200));exports[a0_0x2784c0(0x1ec)]={'claude-fable-5':{'name':a0_0x2784c0(0x17f),'input_price_1m':0xa},'claude-mythos-5':{'name':a0_0x2784c0(0x172),'input_price_1m':0xa},'claude-opus-4-8':{'name':'Claude\x20Opus\x204.8','input_price_1m':0x5},'claude-opus-4-7':{'name':a0_0x2784c0(0x1c7),'input_price_1m':0x5},'claude-opus-4-5':{'name':a0_0x2784c0(0x1b5),'input_price_1m':0x5},'claude-opus-4-1':{'name':a0_0x2784c0(0x1e6),'input_price_1m':0xf},'claude-sonnet-4-6':{'name':a0_0x2784c0(0x185),'input_price_1m':0x3},'claude-sonnet-4-5':{'name':a0_0x2784c0(0x1e8),'input_price_1m':0x3},'claude-3-5-sonnet':{'name':a0_0x2784c0(0x1c1),'input_price_1m':0x3},'claude-haiku-4-5':{'name':a0_0x2784c0(0x1fe),'input_price_1m':0x1},'claude-haiku-3-5':{'name':a0_0x2784c0(0x1e3),'input_price_1m':0.8},'gpt-5-5':{'name':a0_0x2784c0(0x1d8),'input_price_1m':0x5},'gpt-5-4':{'name':a0_0x2784c0(0x1dd),'input_price_1m':2.5},'gpt-4o':{'name':'GPT-4o','input_price_1m':2.5},'gpt-5-4-mini':{'name':a0_0x2784c0(0x173),'input_price_1m':0.75},'gpt-5-4-nano':{'name':a0_0x2784c0(0x1f4),'input_price_1m':0.2},'gpt-4-1-mini':{'name':a0_0x2784c0(0x1bc),'input_price_1m':0.4},'gpt-4-1-nano':{'name':a0_0x2784c0(0x1fd),'input_price_1m':0.1},'gpt-4o-mini':{'name':a0_0x2784c0(0x1dc),'input_price_1m':0.15},'o1':{'name':'OpenAI\x20o1','input_price_1m':0xf},'o1-mini':{'name':a0_0x2784c0(0x1c2),'input_price_1m':0x3},'o3-mini':{'name':'OpenAI\x20o3-mini','input_price_1m':1.1},'cursor-small':{'name':'Cursor\x20Small','input_price_1m':0.1},'gemini-3-1-pro':{'name':'Gemini\x203.1\x20Pro','input_price_1m':0x2},'gemini-3-5-flash':{'name':'Gemini\x203.5\x20Flash','input_price_1m':1.5},'gemini-3-1-flash-lite':{'name':a0_0x2784c0(0x1d5),'input_price_1m':0.45},'gemini-3-5-live-translate':{'name':'Gemini\x203.5\x20Live\x20Translate','input_price_1m':3.5}};function detectSessionTool(){const _0x50f53d=a0_0x2784c0,_0x287245=process.env,_0x2ffcc0={'tool':'','model':_0x50f53d(0x180),'modelShort':''};if(_0x287245[_0x50f53d(0x1f1)]&&exports[_0x50f53d(0x1ec)][_0x287245['TRIMPROMPT_MODEL']])return{'tool':'','model':_0x287245['TRIMPROMPT_MODEL'],'modelShort':''};const _0x2f6ec9=(_0x287245[_0x50f53d(0x1c0)]||'')[_0x50f53d(0x186)]();if(_0x2f6ec9){if(_0x2f6ec9['includes'](_0x50f53d(0x1b0))||_0x2f6ec9['includes']('claude_code')){const _0x51db41=_0x287245[_0x50f53d(0x197)]==='high'?_0x50f53d(0x1d9):_0x50f53d(0x1f5),_0x2aba3b=_0x287245[_0x50f53d(0x197)]==='high'?_0x50f53d(0x1f7):_0x50f53d(0x180);return{'tool':_0x50f53d(0x1a2),'model':_0x2aba3b,'modelShort':_0x51db41};}if(_0x2f6ec9['includes']('cursor'))return{'tool':'cursor','model':_0x50f53d(0x180),'modelShort':_0x50f53d(0x1f5)};if(_0x2f6ec9[_0x50f53d(0x19a)](_0x50f53d(0x17b))||_0x2f6ec9[_0x50f53d(0x19a)]('copilot')){const _0x5ef691=_0x287245['COPILOT_MODEL']||'';if(_0x5ef691&&exports[_0x50f53d(0x1ec)][_0x5ef691])return{'tool':'copilot','model':_0x5ef691,'modelShort':_0x5ef691[_0x50f53d(0x1d4)]('-')[_0x50f53d(0x183)]()||''};return{'tool':_0x50f53d(0x1ad),'model':_0x50f53d(0x170),'modelShort':_0x50f53d(0x1f5)};}if(_0x2f6ec9['includes'](_0x50f53d(0x17e)))return{'tool':'gemini','model':'gemini-3-5-flash','modelShort':_0x50f53d(0x174)};if(_0x2f6ec9[_0x50f53d(0x19a)]('codex'))return{'tool':_0x50f53d(0x202),'model':_0x50f53d(0x177),'modelShort':_0x50f53d(0x1c5)};if(_0x2f6ec9[_0x50f53d(0x19a)](_0x50f53d(0x19f)))return{'tool':'devin','model':_0x50f53d(0x180),'modelShort':''};if(_0x2f6ec9['includes'](_0x50f53d(0x1a1)))return{'tool':_0x50f53d(0x1a1),'model':_0x50f53d(0x1a8),'modelShort':_0x50f53d(0x17e)};if(_0x2f6ec9[_0x50f53d(0x19a)](_0x50f53d(0x1c6))||_0x287245[_0x50f53d(0x1a0)])return{'tool':'replit','model':_0x50f53d(0x180),'modelShort':''};return{'tool':_0x2f6ec9[_0x50f53d(0x1d4)]('_')[0x0]['split']('-')[0x0],'model':_0x50f53d(0x180),'modelShort':''};}if(_0x287245['CLAUDECODE']==='1'||_0x287245[_0x50f53d(0x1da)]==='1'){const _0x34e9be=_0x287245[_0x50f53d(0x197)]===_0x50f53d(0x19b)?_0x50f53d(0x1d9):_0x50f53d(0x1f5),_0x25b174=_0x287245[_0x50f53d(0x197)]===_0x50f53d(0x19b)?_0x50f53d(0x1f7):_0x50f53d(0x180);return{'tool':_0x50f53d(0x1a2),'model':_0x25b174,'modelShort':_0x34e9be};}if(_0x287245[_0x50f53d(0x184)]==='1')return{'tool':'cursor','model':_0x50f53d(0x180),'modelShort':_0x50f53d(0x1f5)};if(_0x287245[_0x50f53d(0x1d7)]==='1')return{'tool':_0x50f53d(0x17e),'model':_0x50f53d(0x18e),'modelShort':'flash'};if(_0x287245[_0x50f53d(0x1ea)]||_0x287245[_0x50f53d(0x1e5)]){const _0x596fde=_0x287245[_0x50f53d(0x1ea)]||'';if(_0x596fde&&exports[_0x50f53d(0x1ec)][_0x596fde])return{'tool':_0x50f53d(0x1ad),'model':_0x596fde,'modelShort':_0x596fde['split']('-')[_0x50f53d(0x183)]()||''};return{'tool':_0x50f53d(0x1ad),'model':_0x50f53d(0x170),'modelShort':'sonnet'};}if(_0x287245['REPL_ID']||_0x287245[_0x50f53d(0x191)])return{'tool':_0x50f53d(0x1c6),'model':_0x50f53d(0x180),'modelShort':''};if(_0x287245[_0x50f53d(0x1b4)])return{'tool':'cline','model':_0x50f53d(0x180),'modelShort':''};if(_0x287245['CONTINUE_GLOBAL_DIR'])return{'tool':_0x50f53d(0x1ab),'model':_0x50f53d(0x180),'modelShort':''};if(_0x287245[_0x50f53d(0x175)]==='1')return{'tool':_0x50f53d(0x1a1),'model':_0x50f53d(0x1a8),'modelShort':'gemini'};if(_0x287245[_0x50f53d(0x197)]){const _0x276bb2=_0x287245[_0x50f53d(0x197)]===_0x50f53d(0x19b)?_0x50f53d(0x1d9):_0x50f53d(0x1f5),_0x549d96=_0x287245[_0x50f53d(0x197)]==='high'?'claude-opus-4-8':_0x50f53d(0x180);return{'tool':'','model':_0x549d96,'modelShort':''};}if(_0x287245[_0x50f53d(0x1ae)]&&exports[_0x50f53d(0x1ec)][_0x287245[_0x50f53d(0x1ae)]])return{'tool':_0x50f53d(0x1ff),'model':_0x287245[_0x50f53d(0x1ae)],'modelShort':''};if(_0x287245[_0x50f53d(0x204)]){const _0x388a74=(_0x287245[_0x50f53d(0x203)]||'')[_0x50f53d(0x186)]();if(_0x388a74[_0x50f53d(0x19a)](_0x50f53d(0x19c)))return{'tool':'cursor','model':_0x50f53d(0x180),'modelShort':_0x50f53d(0x1f5)};if(_0x388a74[_0x50f53d(0x19a)](_0x50f53d(0x1a7)))return{'tool':_0x50f53d(0x1a7),'model':'claude-sonnet-4-6','modelShort':_0x50f53d(0x1f5)};}const _0x20727e=process.env.TRIMPROMPT_MODEL||'';if(_0x20727e&&exports[_0x50f53d(0x1ec)][_0x20727e])return{'tool':'','model':_0x20727e,'modelShort':''};return _0x2ffcc0;}function a0_0xe16d(){const _0x57b5e4=['GPT-5.4','24JcxiEW','3857035hSxwnt','platform','toFixed','unknown','Claude\x20Haiku\x203.5','.trimprompt','COPILOT_GITHUB_TOKEN','Claude\x20Opus\x204.1\x20(deprecated)','path','Claude\x20Sonnet\x204.5','unref','COPILOT_MODEL','saveConfig','PRICING','322915kSsTJa','get','logExecution','logsDir','TRIMPROMPT_MODEL','configPath','push','GPT-5.4\x20Nano','sonnet','model_used','claude-opus-4-8','auto','ignore','__esModule','./redactor','execSync','GPT-4.1\x20Nano','Claude\x20Haiku\x204.5','aider','child_process','homedir','codex','PATH','VSCODE_PID','getOwnPropertyDescriptor','triggerBackgroundSync','claude-sonnet-4-5','saveLogs','Claude\x20Mythos\x205','GPT-5.4\x20Mini','flash','ANTIGRAVITY_AGENT','max','o3-mini','2737641BYdnoV','utf8','tool','github-copilot','estimated_raw_tokens','533838dMdJSn','gemini','Claude\x20Fable\x205','claude-sonnet-4-6','name','setConfig','pop','CURSOR_AGENT','Claude\x20Sonnet\x204.6','toLowerCase','getStatsSummary','spawn','writeFileSync','baseDir','default','init','1693704sWkJcA','gemini-3-5-flash','10240CXgsJf','stringify','REPLIT_ENVIRONMENT','__setModuleDefault','/api/security/alert','__importStar','1.0','defineProperty','CLAUDE_EFFORT','existsSync','sendSecurityAlert','includes','high','cursor','trim','claude-3-5-sonnet','devin','REPL_ID','antigravity','claude','detectSessionTool','toString','parse','tokens_saved','windsurf','gemini-3-1-pro','input_price_1m','execPath','continue','secretsFound','copilot','AIDER_MODEL',').protocol===\x27https:\x27?\x27https\x27:\x27http\x27);const\x20r=h.request(','claude-code','redact','getLogs','statsPath','CLINE_DATA_DIR','Claude\x20Opus\x204.5','logs','2bzKlss','pipe','telemetry_url','getConfig','modelShort','GPT-4.1\x20Mini','username',',{method:\x27POST\x27,headers:{\x27Content-Type\x27:\x27application/json\x27}},()=>{});r.on(\x27error\x27,()=>{});r.end(','tracker','AI_AGENT','Claude\x203.5\x20Sonnet','OpenAI\x20o1-mini','secretTypes','default_model','o3mini','replit','Claude\x20Opus\x204.7','git\x20config\x20user.email','join','config.json','13842BTocsq','config','ceil','Tracker','length','configurable','__createBinding','7103152zLcYeT','mkdirSync','split','Gemini\x203.1\x20Flash-Lite','create','GEMINI_CLI','GPT-5.5','opus','CLAUDE_CODE','writable','GPT-4o\x20Mini'];a0_0xe16d=function(){return _0x57b5e4;};return a0_0xe16d();}class Tracker{[a0_0x2784c0(0x18a)];[a0_0x2784c0(0x1f2)];[a0_0x2784c0(0x1b3)];[a0_0x2784c0(0x1f0)];['config'];constructor(){const _0x7f57c3=a0_0x2784c0;this['baseDir']=path[_0x7f57c3(0x1c9)](os[_0x7f57c3(0x201)](),_0x7f57c3(0x1e4)),this[_0x7f57c3(0x1f2)]=path[_0x7f57c3(0x1c9)](this[_0x7f57c3(0x18a)],_0x7f57c3(0x1ca)),this[_0x7f57c3(0x1b3)]=path[_0x7f57c3(0x1c9)](this[_0x7f57c3(0x18a)],'stats.json'),this[_0x7f57c3(0x1f0)]=path['join'](this[_0x7f57c3(0x18a)],_0x7f57c3(0x1b6)),this[_0x7f57c3(0x18c)]();}[a0_0x2784c0(0x18c)](){const _0x551579=a0_0x2784c0;!fs[_0x551579(0x198)](this[_0x551579(0x18a)])&&fs[_0x551579(0x1d3)](this[_0x551579(0x18a)],{'recursive':!![]});!fs[_0x551579(0x198)](this[_0x551579(0x1f0)])&&fs[_0x551579(0x1d3)](this[_0x551579(0x1f0)],{'recursive':!![]});const _0x38dcfa={'version':_0x551579(0x195),'telemetry_url':process.env.TRIMPROMPT_TELEMETRY_URL||'','max_output_tokens':0x1388,'redaction_enabled':!![],'default_model':_0x551579(0x1f7)};if(fs['existsSync'](this['configPath']))try{const _0x41e442=fs['readFileSync'](this[_0x551579(0x1f2)],_0x551579(0x179));this[_0x551579(0x1cc)]={..._0x38dcfa,...JSON[_0x551579(0x1a5)](_0x41e442)};}catch(_0x47c93c){this[_0x551579(0x1cc)]=_0x38dcfa;}else this[_0x551579(0x1cc)]=_0x38dcfa,this['saveConfig']();!fs[_0x551579(0x198)](this[_0x551579(0x1b3)])&&fs[_0x551579(0x189)](this[_0x551579(0x1b3)],JSON['stringify']([]),_0x551579(0x179));}[a0_0x2784c0(0x1ba)](){const _0x221f23=a0_0x2784c0;return process.env.TRIMPROMPT_TELEMETRY_URL&&(this[_0x221f23(0x1cc)][_0x221f23(0x1b9)]=process.env.TRIMPROMPT_TELEMETRY_URL),this[_0x221f23(0x1cc)];}[a0_0x2784c0(0x182)](_0xaecf48,_0xc2400){const _0x4ad893=a0_0x2784c0;this[_0x4ad893(0x1cc)][_0xaecf48]=_0xc2400,this[_0x4ad893(0x1eb)]();}['saveConfig'](){const _0x3cffec=a0_0x2784c0;fs[_0x3cffec(0x189)](this[_0x3cffec(0x1f2)],JSON[_0x3cffec(0x190)](this[_0x3cffec(0x1cc)],null,0x2),_0x3cffec(0x179));}['getLogs'](){const _0x1d21a2=a0_0x2784c0;try{if(!fs['existsSync'](this[_0x1d21a2(0x1b3)]))return[];const _0x2eb8f2=fs['readFileSync'](this['statsPath'],_0x1d21a2(0x179));return JSON['parse'](_0x2eb8f2);}catch{return[];}}[a0_0x2784c0(0x171)](_0x36bf0e){const _0x5f4906=a0_0x2784c0;fs[_0x5f4906(0x189)](this[_0x5f4906(0x1b3)],JSON[_0x5f4906(0x190)](_0x36bf0e,null,0x2),'utf8');}[a0_0x2784c0(0x1ef)](_0x511541,_0x127320,_0x17ad71,_0x5a7845,_0x1bdf23,_0x5a4f82){const _0x5b42de=a0_0x2784c0,_0x136652=this['getLogs'](),_0x169f34=_0x127320[_0x5b42de(0x1cf)],_0x13686c=_0x17ad71[_0x5b42de(0x1cf)],_0x1b761e=Math[_0x5b42de(0x1cd)](_0x169f34/0x4),_0x59413f=Math[_0x5b42de(0x1cd)](_0x13686c/0x4),_0x585b45=Math[_0x5b42de(0x176)](0x0,_0x1b761e-_0x59413f),_0x564135=detectSessionTool(),_0x348503=_0x564135['model'],_0x453b7b=Math['random']()[_0x5b42de(0x1a4)](0x24)['substring'](0x2,0xb);try{const {redactor:_0x11f1f6}=require(_0x5b42de(0x1fb)),_0x3f554c=_0x11f1f6?_0x11f1f6[_0x5b42de(0x1b1)](_0x127320):_0x127320;fs[_0x5b42de(0x189)](path[_0x5b42de(0x1c9)](this[_0x5b42de(0x1f0)],_0x453b7b+'.raw.txt'),_0x3f554c,_0x5b42de(0x179)),fs[_0x5b42de(0x189)](path[_0x5b42de(0x1c9)](this['logsDir'],_0x453b7b+'.comp.txt'),_0x17ad71,_0x5b42de(0x179));}catch{}const _0x2cea23=_0x511541[_0x5b42de(0x1d4)]('\x20')[0x0]||_0x5b42de(0x1e2),_0x2ae19c=_0x564135[_0x5b42de(0x17a)]?_0x564135[_0x5b42de(0x1bb)]?_0x564135[_0x5b42de(0x17a)]+'-'+_0x564135[_0x5b42de(0x1bb)]+'-'+_0x2cea23:_0x564135[_0x5b42de(0x17a)]+'-'+_0x2cea23:_0x2cea23,_0x530872={'id':_0x453b7b,'timestamp':new Date()['toISOString'](),'command':_0x2ae19c,'raw_chars':_0x169f34,'compressed_chars':_0x13686c,'estimated_raw_tokens':_0x1b761e,'estimated_compressed_tokens':_0x59413f,'tokens_saved':_0x585b45,'model_used':_0x348503,'exit_code':_0x5a7845,'synced':![],'ai_detected':!!_0x564135[_0x5b42de(0x17a)],'secrets_found':_0x1bdf23?.[_0x5b42de(0x1ac)]||0x0,'secret_types':_0x1bdf23?.[_0x5b42de(0x1c3)]||[],'features':_0x5a4f82||[]};_0x136652[_0x5b42de(0x1f3)](_0x530872),this[_0x5b42de(0x171)](_0x136652);const _0x3ff662=this[_0x5b42de(0x1ba)]()[_0x5b42de(0x1b9)];return _0x3ff662&&_0x3ff662[_0x5b42de(0x19d)]()[_0x5b42de(0x1cf)]>0x0&&this[_0x5b42de(0x16f)](),_0x1bdf23&&_0x1bdf23['secretsFound']>0x0&&this[_0x5b42de(0x199)](_0x530872,_0x1bdf23),_0x530872;}['sendSecurityAlert'](_0x3677bb,_0x382640){const _0x6c1d79=a0_0x2784c0;try{let _0x88575b=this[_0x6c1d79(0x1ba)]()['telemetry_url']||'';if(!_0x88575b)return;_0x88575b=_0x88575b['replace'](/\/api\/telemetry\/?$/,_0x6c1d79(0x193));if(!_0x88575b['includes']('/api/security/alert'))_0x88575b+='/api/security/alert';const {execSync:_0x289218}=require(_0x6c1d79(0x200));let _0x2e2d33=_0x6c1d79(0x1e2);try{_0x2e2d33=require(_0x6c1d79(0x200))[_0x6c1d79(0x1fc)](_0x6c1d79(0x1c8),{'stdio':['ignore',_0x6c1d79(0x1b8),'ignore']})[_0x6c1d79(0x1a4)]()['trim']();}catch{}if(!_0x2e2d33||!_0x2e2d33[_0x6c1d79(0x19a)]('@'))try{_0x2e2d33=require('os')['userInfo']()[_0x6c1d79(0x1bd)];}catch{}const _0x4abea2=JSON[_0x6c1d79(0x190)]({'developer_id':_0x2e2d33,'timestamp':_0x3677bb['timestamp'],'command':_0x3677bb['command'],'secrets_found':_0x382640[_0x6c1d79(0x1ac)],'secret_types':_0x382640[_0x6c1d79(0x1c3)],'os':require('os')[_0x6c1d79(0x1e0)]()}),_0x4b08cc='const\x20h=require(require(\x27url\x27).parse('+JSON['stringify'](_0x88575b)+_0x6c1d79(0x1af)+JSON['stringify'](_0x88575b)+_0x6c1d79(0x1be)+JSON[_0x6c1d79(0x190)](_0x4abea2)+')',_0x16ec11=(0x0,child_process_1[_0x6c1d79(0x188)])(process[_0x6c1d79(0x1aa)],['-e',_0x4b08cc],{'detached':!![],'stdio':_0x6c1d79(0x1f9)});_0x16ec11['unref']();}catch{}}[a0_0x2784c0(0x16f)](){const _0x2bf45c=a0_0x2784c0;try{const _0x1c9483=path[_0x2bf45c(0x1c9)](__dirname,'sync.js');if(fs[_0x2bf45c(0x198)](_0x1c9483)){const _0xcbd57a=(0x0,child_process_1[_0x2bf45c(0x188)])(process[_0x2bf45c(0x1aa)],[_0x1c9483],{'detached':!![],'stdio':_0x2bf45c(0x1f9)});_0xcbd57a[_0x2bf45c(0x1e9)]();}}catch{}}[a0_0x2784c0(0x187)](_0x1fc991=a0_0x2784c0(0x1f8)){const _0x335963=a0_0x2784c0,_0x243193=this[_0x335963(0x1b2)]();let _0x56cf1f=0x0,_0x3643bd=0x0,_0x35dad3=0x0;for(const _0x5be41a of _0x243193){_0x56cf1f+=_0x5be41a[_0x335963(0x17c)],_0x3643bd+=_0x5be41a['estimated_compressed_tokens'],_0x35dad3+=_0x5be41a[_0x335963(0x1a6)];}let _0x525d45=_0x1fc991;(!_0x525d45||_0x525d45===_0x335963(0x1f8)||!exports[_0x335963(0x1ec)][_0x525d45])&&(_0x243193[_0x335963(0x1cf)]>0x0&&_0x243193[_0x243193[_0x335963(0x1cf)]-0x1][_0x335963(0x1f6)]?_0x525d45=_0x243193[_0x243193[_0x335963(0x1cf)]-0x1][_0x335963(0x1f6)]:_0x525d45=this[_0x335963(0x1ba)]()[_0x335963(0x1c4)]||_0x335963(0x19e));const _0x39490d=exports[_0x335963(0x1ec)][_0x525d45]||exports[_0x335963(0x1ec)]['claude-3-5-sonnet'],_0x366cda=_0x35dad3*_0x39490d['input_price_1m']/0xf4240,_0x5e2a0d=_0x56cf1f*_0x39490d[_0x335963(0x1a9)]/0xf4240,_0x2e1202=_0x3643bd*_0x39490d[_0x335963(0x1a9)]/0xf4240,_0x2c2bfb=_0x56cf1f>0x0?_0x35dad3/_0x56cf1f*0x64:0x0;return{'total_raw_tokens':_0x56cf1f,'total_compressed_tokens':_0x3643bd,'total_tokens_saved':_0x35dad3,'savings_percentage':parseFloat(_0x2c2bfb['toFixed'](0x1)),'money_saved_usd':parseFloat(_0x366cda[_0x335963(0x1e1)](0x4)),'raw_cost_usd':parseFloat(_0x5e2a0d[_0x335963(0x1e1)](0x4)),'compressed_cost_usd':parseFloat(_0x2e1202[_0x335963(0x1e1)](0x4)),'model_name':_0x39490d[_0x335963(0x181)],'model_key':_0x525d45};}}exports[a0_0x2784c0(0x1ce)]=Tracker,exports[a0_0x2784c0(0x1bf)]=new Tracker();
1
+ 'use strict';const a0_0x43d4c3=a0_0x2a25;function a0_0x5cfb(){const _0x412c4f=['962606sFgnZE','userInfo','parse','prototype','Tracker','__setModuleDefault','TRIMPROMPT_MODEL','pop','logsDir','__esModule','CURSOR_AGENT','tool','GPT-4o\x20Mini','high','logExecution','./redactor','ANTIGRAVITY_AGENT','claude-3-5-sonnet','getLogs','claude-sonnet-4-6','writable','claude','sendSecurityAlert','claude-sonnet-4-5','unknown','flash','AIDER_MODEL','VSCODE_PID','split','antigravity','770022nRsLpu','config','includes','sync.js','random','36nxiRfg','length','default','telemetry_url','devin','saveConfig','getStatsSummary','Claude\x20Haiku\x203.5','configPath','Claude\x20Haiku\x204.5','path','.comp.txt','windsurf','gemini-3-1-pro','utf8','name','config.json','Cursor\x20Small','GPT-5.4','replit','claude-code','estimated_compressed_tokens','Claude\x20Fable\x205','/api/security/alert','970OAgAzo','8GsbriH','child_process',',{method:\x27POST\x27,headers:{\x27Content-Type\x27:\x27application/json\x27}},()=>{});r.on(\x27error\x27,()=>{});r.end(','ignore','OpenAI\x20o1','72142jdfmqi','const\x20h=require(require(\x27url\x27).parse(','GPT-4.1\x20Mini','cursor','stringify','CLINE_DATA_DIR','toFixed','GPT-4.1\x20Nano','145676IwdFMH','.trimprompt','hasOwnProperty','REPL_ID','Claude\x20Sonnet\x204.5','__createBinding','27ytQQnj','mkdirSync','secretsFound','triggerBackgroundSync','timestamp','gemini','tracker','modelShort','writeFileSync','execPath','Gemini\x203.1\x20Flash-Lite','username','COPILOT_GITHUB_TOKEN','existsSync','homedir','spawn','codex','gemini-3-5-flash','toLowerCase','init','baseDir','join','Claude\x20Opus\x204.1\x20(deprecated)','configurable','1.0','default_model','2287373iEsRZA','toString','model','328294hTDCqP','readFileSync','getOwnPropertyNames','aider','ceil','max','create','trim','Gemini\x203.1\x20Pro','15xaJSrN','cline','getConfig','pipe','unref','defineProperty','Gemini\x203.5\x20Live\x20Translate','sonnet','platform','Claude\x20Sonnet\x204.6','CLAUDE_EFFORT','GPT-4o','CLAUDECODE','estimated_raw_tokens','PRICING','logs','COPILOT_MODEL','getOwnPropertyDescriptor','47097cwOaCk','secretTypes','continue','input_price_1m','Claude\x20Opus\x204.5','command','Claude\x20Opus\x204.7','CONTINUE_GLOBAL_DIR','execSync','detectSessionTool','auto','copilot','Claude\x20Mythos\x205','claude_code','call','push','CLAUDE_CODE','Gemini\x203.5\x20Flash','OpenAI\x20o3-mini','opus','Claude\x20Opus\x204.8','saveLogs','statsPath','claude-opus-4-8','git\x20config\x20user.email'];a0_0x5cfb=function(){return _0x412c4f;};return a0_0x5cfb();}(function(_0x17f435,_0x3959fd){const _0x54de9f=a0_0x2a25,_0x322b54=_0x17f435();while(!![]){try{const _0xfed27c=-parseInt(_0x54de9f(0x235))/0x1+-parseInt(_0x54de9f(0x1c9))/0x2+-parseInt(_0x54de9f(0x218))/0x3*(-parseInt(_0x54de9f(0x212))/0x4)+parseInt(_0x54de9f(0x23e))/0x5*(-parseInt(_0x54de9f(0x1e7))/0x6)+-parseInt(_0x54de9f(0x20a))/0x7*(-parseInt(_0x54de9f(0x205))/0x8)+parseInt(_0x54de9f(0x1b0))/0x9*(parseInt(_0x54de9f(0x204))/0xa)+-parseInt(_0x54de9f(0x232))/0xb*(-parseInt(_0x54de9f(0x1ec))/0xc);if(_0xfed27c===_0x3959fd)break;else _0x322b54['push'](_0x322b54['shift']());}catch(_0x32900f){_0x322b54['push'](_0x322b54['shift']());}}}(a0_0x5cfb,0x431d3));var __createBinding=this&&this[a0_0x43d4c3(0x217)]||(Object[a0_0x43d4c3(0x23b)]?function(_0x212175,_0x39d91b,_0x4d53c5,_0x23809b){const _0x2a9ca2=a0_0x43d4c3;if(_0x23809b===undefined)_0x23809b=_0x4d53c5;var _0x1b284c=Object[_0x2a9ca2(0x1af)](_0x39d91b,_0x4d53c5);(!_0x1b284c||('get'in _0x1b284c?!_0x39d91b['__esModule']:_0x1b284c[_0x2a9ca2(0x1dd)]||_0x1b284c[_0x2a9ca2(0x22f)]))&&(_0x1b284c={'enumerable':!![],'get':function(){return _0x39d91b[_0x4d53c5];}}),Object[_0x2a9ca2(0x1a3)](_0x212175,_0x23809b,_0x1b284c);}:function(_0xd253be,_0x5673de,_0x5691a1,_0x37702c){if(_0x37702c===undefined)_0x37702c=_0x5691a1;_0xd253be[_0x37702c]=_0x5673de[_0x5691a1];}),__setModuleDefault=this&&this[a0_0x43d4c3(0x1ce)]||(Object[a0_0x43d4c3(0x23b)]?function(_0x18e947,_0x1f5a6b){const _0x3f7f98=a0_0x43d4c3;Object[_0x3f7f98(0x1a3)](_0x18e947,_0x3f7f98(0x1ee),{'enumerable':!![],'value':_0x1f5a6b});}:function(_0x50190e,_0x2d4197){_0x50190e['default']=_0x2d4197;}),__importStar=this&&this['__importStar']||(function(){var _0x3b5c11=function(_0x22e0dd){const _0x44e937=a0_0x2a25;return _0x3b5c11=Object[_0x44e937(0x237)]||function(_0x4448f5){const _0x564cf3=_0x44e937;var _0x1651b8=[];for(var _0xae4103 in _0x4448f5)if(Object[_0x564cf3(0x1cc)][_0x564cf3(0x214)][_0x564cf3(0x1be)](_0x4448f5,_0xae4103))_0x1651b8[_0x1651b8[_0x564cf3(0x1ed)]]=_0xae4103;return _0x1651b8;},_0x3b5c11(_0x22e0dd);};return function(_0x3e8762){const _0x1fe237=a0_0x2a25;if(_0x3e8762&&_0x3e8762['__esModule'])return _0x3e8762;var _0x522063={};if(_0x3e8762!=null){for(var _0x5488ef=_0x3b5c11(_0x3e8762),_0x4b4262=0x0;_0x4b4262<_0x5488ef[_0x1fe237(0x1ed)];_0x4b4262++)if(_0x5488ef[_0x4b4262]!=='default')__createBinding(_0x522063,_0x3e8762,_0x5488ef[_0x4b4262]);}return __setModuleDefault(_0x522063,_0x3e8762),_0x522063;};}());Object[a0_0x43d4c3(0x1a3)](exports,a0_0x43d4c3(0x1d2),{'value':!![]}),exports[a0_0x43d4c3(0x21e)]=exports['Tracker']=exports[a0_0x43d4c3(0x1ac)]=void 0x0,exports[a0_0x43d4c3(0x1b9)]=detectSessionTool;function a0_0x2a25(_0x1d3c40,_0x519e05){_0x1d3c40=_0x1d3c40-0x1a0;const _0x5cfb73=a0_0x5cfb();let _0x2a25a8=_0x5cfb73[_0x1d3c40];return _0x2a25a8;}const fs=__importStar(require('fs')),path=__importStar(require(a0_0x43d4c3(0x1f6))),os=__importStar(require('os')),child_process_1=require(a0_0x43d4c3(0x206));exports[a0_0x43d4c3(0x1ac)]={'claude-fable-5':{'name':a0_0x43d4c3(0x202),'input_price_1m':0xa},'claude-mythos-5':{'name':a0_0x43d4c3(0x1bc),'input_price_1m':0xa},'claude-opus-4-8':{'name':a0_0x43d4c3(0x1c4),'input_price_1m':0x5},'claude-opus-4-7':{'name':a0_0x43d4c3(0x1b6),'input_price_1m':0x5},'claude-opus-4-5':{'name':a0_0x43d4c3(0x1b4),'input_price_1m':0x5},'claude-opus-4-1':{'name':a0_0x43d4c3(0x22e),'input_price_1m':0xf},'claude-sonnet-4-6':{'name':a0_0x43d4c3(0x1a7),'input_price_1m':0x3},'claude-sonnet-4-5':{'name':a0_0x43d4c3(0x216),'input_price_1m':0x3},'claude-3-5-sonnet':{'name':'Claude\x203.5\x20Sonnet','input_price_1m':0x3},'claude-haiku-4-5':{'name':a0_0x43d4c3(0x1f5),'input_price_1m':0x1},'claude-haiku-3-5':{'name':a0_0x43d4c3(0x1f3),'input_price_1m':0.8},'gpt-5-5':{'name':'GPT-5.5','input_price_1m':0x5},'gpt-5-4':{'name':a0_0x43d4c3(0x1fe),'input_price_1m':2.5},'gpt-4o':{'name':a0_0x43d4c3(0x1a9),'input_price_1m':2.5},'gpt-5-4-mini':{'name':'GPT-5.4\x20Mini','input_price_1m':0.75},'gpt-5-4-nano':{'name':'GPT-5.4\x20Nano','input_price_1m':0.2},'gpt-4-1-mini':{'name':a0_0x43d4c3(0x20c),'input_price_1m':0.4},'gpt-4-1-nano':{'name':a0_0x43d4c3(0x211),'input_price_1m':0.1},'gpt-4o-mini':{'name':a0_0x43d4c3(0x1d5),'input_price_1m':0.15},'o1':{'name':a0_0x43d4c3(0x209),'input_price_1m':0xf},'o1-mini':{'name':'OpenAI\x20o1-mini','input_price_1m':0x3},'o3-mini':{'name':a0_0x43d4c3(0x1c2),'input_price_1m':1.1},'cursor-small':{'name':a0_0x43d4c3(0x1fd),'input_price_1m':0.1},'gemini-3-1-pro':{'name':a0_0x43d4c3(0x23d),'input_price_1m':0x2},'gemini-3-5-flash':{'name':a0_0x43d4c3(0x1c1),'input_price_1m':1.5},'gemini-3-1-flash-lite':{'name':a0_0x43d4c3(0x222),'input_price_1m':0.45},'gemini-3-5-live-translate':{'name':a0_0x43d4c3(0x1a4),'input_price_1m':3.5}};function detectSessionTool(){const _0x4857a9=a0_0x43d4c3,_0x355ce5=process.env,_0x56c9bd={'tool':'','model':_0x4857a9(0x1dc),'modelShort':''};if(_0x355ce5[_0x4857a9(0x1cf)]&&exports[_0x4857a9(0x1ac)][_0x355ce5['TRIMPROMPT_MODEL']])return{'tool':'','model':_0x355ce5[_0x4857a9(0x1cf)],'modelShort':''};const _0x29dc02=(_0x355ce5['AI_AGENT']||'')['toLowerCase']();if(_0x29dc02){if(_0x29dc02['includes'](_0x4857a9(0x200))||_0x29dc02[_0x4857a9(0x1e9)](_0x4857a9(0x1bd))){const _0x5787b4=_0x355ce5[_0x4857a9(0x1a8)]===_0x4857a9(0x1d6)?_0x4857a9(0x1c3):_0x4857a9(0x1a5),_0x16d131=_0x355ce5[_0x4857a9(0x1a8)]===_0x4857a9(0x1d6)?'claude-opus-4-8':_0x4857a9(0x1dc);return{'tool':_0x4857a9(0x1de),'model':_0x16d131,'modelShort':_0x5787b4};}if(_0x29dc02['includes'](_0x4857a9(0x20d)))return{'tool':'cursor','model':'claude-sonnet-4-6','modelShort':_0x4857a9(0x1a5)};if(_0x29dc02[_0x4857a9(0x1e9)]('github-copilot')||_0x29dc02[_0x4857a9(0x1e9)]('copilot')){const _0x1951af=_0x355ce5[_0x4857a9(0x1ae)]||'';if(_0x1951af&&exports['PRICING'][_0x1951af])return{'tool':_0x4857a9(0x1bb),'model':_0x1951af,'modelShort':_0x1951af[_0x4857a9(0x1e5)]('-')['pop']()||''};return{'tool':'copilot','model':_0x4857a9(0x1e0),'modelShort':_0x4857a9(0x1a5)};}if(_0x29dc02[_0x4857a9(0x1e9)](_0x4857a9(0x21d)))return{'tool':_0x4857a9(0x21d),'model':_0x4857a9(0x229),'modelShort':_0x4857a9(0x1e2)};if(_0x29dc02['includes'](_0x4857a9(0x228)))return{'tool':_0x4857a9(0x228),'model':'o3-mini','modelShort':'o3mini'};if(_0x29dc02[_0x4857a9(0x1e9)](_0x4857a9(0x1f0)))return{'tool':_0x4857a9(0x1f0),'model':_0x4857a9(0x1dc),'modelShort':''};if(_0x29dc02[_0x4857a9(0x1e9)](_0x4857a9(0x1e6)))return{'tool':_0x4857a9(0x1e6),'model':_0x4857a9(0x1f9),'modelShort':'gemini'};if(_0x29dc02[_0x4857a9(0x1e9)](_0x4857a9(0x1ff))||_0x355ce5[_0x4857a9(0x215)])return{'tool':_0x4857a9(0x1ff),'model':_0x4857a9(0x1dc),'modelShort':''};return{'tool':_0x29dc02[_0x4857a9(0x1e5)]('_')[0x0][_0x4857a9(0x1e5)]('-')[0x0],'model':_0x4857a9(0x1dc),'modelShort':''};}if(_0x355ce5[_0x4857a9(0x1aa)]==='1'||_0x355ce5[_0x4857a9(0x1c0)]==='1'){const _0x4bdb92=_0x355ce5[_0x4857a9(0x1a8)]===_0x4857a9(0x1d6)?_0x4857a9(0x1c3):_0x4857a9(0x1a5),_0x56694a=_0x355ce5[_0x4857a9(0x1a8)]===_0x4857a9(0x1d6)?_0x4857a9(0x1c7):'claude-sonnet-4-6';return{'tool':_0x4857a9(0x1de),'model':_0x56694a,'modelShort':_0x4bdb92};}if(_0x355ce5[_0x4857a9(0x1d3)]==='1')return{'tool':'cursor','model':_0x4857a9(0x1dc),'modelShort':_0x4857a9(0x1a5)};if(_0x355ce5['GEMINI_CLI']==='1')return{'tool':_0x4857a9(0x21d),'model':_0x4857a9(0x229),'modelShort':_0x4857a9(0x1e2)};if(_0x355ce5[_0x4857a9(0x1ae)]||_0x355ce5[_0x4857a9(0x224)]){const _0x1e8cd0=_0x355ce5[_0x4857a9(0x1ae)]||'';if(_0x1e8cd0&&exports['PRICING'][_0x1e8cd0])return{'tool':_0x4857a9(0x1bb),'model':_0x1e8cd0,'modelShort':_0x1e8cd0['split']('-')[_0x4857a9(0x1d0)]()||''};return{'tool':_0x4857a9(0x1bb),'model':'claude-sonnet-4-5','modelShort':'sonnet'};}if(_0x355ce5[_0x4857a9(0x215)]||_0x355ce5['REPLIT_ENVIRONMENT'])return{'tool':_0x4857a9(0x1ff),'model':_0x4857a9(0x1dc),'modelShort':''};if(_0x355ce5[_0x4857a9(0x20f)])return{'tool':_0x4857a9(0x23f),'model':_0x4857a9(0x1dc),'modelShort':''};if(_0x355ce5[_0x4857a9(0x1b7)])return{'tool':_0x4857a9(0x1b2),'model':_0x4857a9(0x1dc),'modelShort':''};if(_0x355ce5[_0x4857a9(0x1d9)]==='1')return{'tool':_0x4857a9(0x1e6),'model':'gemini-3-1-pro','modelShort':_0x4857a9(0x21d)};if(_0x355ce5[_0x4857a9(0x1a8)]){const _0x514373=_0x355ce5[_0x4857a9(0x1a8)]===_0x4857a9(0x1d6)?_0x4857a9(0x1c3):_0x4857a9(0x1a5),_0x292df2=_0x355ce5[_0x4857a9(0x1a8)]===_0x4857a9(0x1d6)?_0x4857a9(0x1c7):_0x4857a9(0x1dc);return{'tool':'','model':_0x292df2,'modelShort':''};}if(_0x355ce5[_0x4857a9(0x1e3)]&&exports['PRICING'][_0x355ce5[_0x4857a9(0x1e3)]])return{'tool':_0x4857a9(0x238),'model':_0x355ce5[_0x4857a9(0x1e3)],'modelShort':''};if(_0x355ce5[_0x4857a9(0x1e4)]){const _0x2613f3=(_0x355ce5['PATH']||'')[_0x4857a9(0x22a)]();if(_0x2613f3['includes'](_0x4857a9(0x20d)))return{'tool':_0x4857a9(0x20d),'model':_0x4857a9(0x1dc),'modelShort':_0x4857a9(0x1a5)};if(_0x2613f3['includes'](_0x4857a9(0x1f8)))return{'tool':_0x4857a9(0x1f8),'model':_0x4857a9(0x1dc),'modelShort':_0x4857a9(0x1a5)};}const _0x57fe27=process.env.TRIMPROMPT_MODEL||'';if(_0x57fe27&&exports['PRICING'][_0x57fe27])return{'tool':'','model':_0x57fe27,'modelShort':''};return _0x56c9bd;}class Tracker{['baseDir'];['configPath'];[a0_0x43d4c3(0x1c6)];[a0_0x43d4c3(0x1d1)];['config'];constructor(){const _0x31204d=a0_0x43d4c3;this['baseDir']=path[_0x31204d(0x22d)](os[_0x31204d(0x226)](),_0x31204d(0x213)),this[_0x31204d(0x1f4)]=path[_0x31204d(0x22d)](this[_0x31204d(0x22c)],_0x31204d(0x1fc)),this[_0x31204d(0x1c6)]=path['join'](this[_0x31204d(0x22c)],'stats.json'),this[_0x31204d(0x1d1)]=path[_0x31204d(0x22d)](this['baseDir'],_0x31204d(0x1ad)),this[_0x31204d(0x22b)]();}[a0_0x43d4c3(0x22b)](){const _0x31f31b=a0_0x43d4c3;!fs[_0x31f31b(0x225)](this[_0x31f31b(0x22c)])&&fs[_0x31f31b(0x219)](this[_0x31f31b(0x22c)],{'recursive':!![]});!fs[_0x31f31b(0x225)](this[_0x31f31b(0x1d1)])&&fs['mkdirSync'](this[_0x31f31b(0x1d1)],{'recursive':!![]});const _0x101253={'version':_0x31f31b(0x230),'telemetry_url':process.env.TRIMPROMPT_TELEMETRY_URL||'','max_output_tokens':0x1388,'redaction_enabled':!![],'default_model':_0x31f31b(0x1c7)};if(fs[_0x31f31b(0x225)](this[_0x31f31b(0x1f4)]))try{const _0x5d5514=fs[_0x31f31b(0x236)](this[_0x31f31b(0x1f4)],_0x31f31b(0x1fa));this[_0x31f31b(0x1e8)]={..._0x101253,...JSON[_0x31f31b(0x1cb)](_0x5d5514)};}catch(_0x365fd0){this['config']=_0x101253;}else this[_0x31f31b(0x1e8)]=_0x101253,this[_0x31f31b(0x1f1)]();!fs[_0x31f31b(0x225)](this[_0x31f31b(0x1c6)])&&fs[_0x31f31b(0x220)](this['statsPath'],JSON[_0x31f31b(0x20e)]([]),_0x31f31b(0x1fa));}[a0_0x43d4c3(0x1a0)](){const _0x5e32b8=a0_0x43d4c3;return process.env.TRIMPROMPT_TELEMETRY_URL&&(this[_0x5e32b8(0x1e8)][_0x5e32b8(0x1ef)]=process.env.TRIMPROMPT_TELEMETRY_URL),this[_0x5e32b8(0x1e8)];}['setConfig'](_0x3af589,_0x3b18c7){const _0x143923=a0_0x43d4c3;this[_0x143923(0x1e8)][_0x3af589]=_0x3b18c7,this[_0x143923(0x1f1)]();}['saveConfig'](){const _0x4a26e7=a0_0x43d4c3;fs[_0x4a26e7(0x220)](this[_0x4a26e7(0x1f4)],JSON[_0x4a26e7(0x20e)](this[_0x4a26e7(0x1e8)],null,0x2),'utf8');}[a0_0x43d4c3(0x1db)](){const _0x4e45a0=a0_0x43d4c3;try{if(!fs[_0x4e45a0(0x225)](this[_0x4e45a0(0x1c6)]))return[];const _0x32700a=fs[_0x4e45a0(0x236)](this[_0x4e45a0(0x1c6)],_0x4e45a0(0x1fa));return JSON[_0x4e45a0(0x1cb)](_0x32700a);}catch{return[];}}['saveLogs'](_0x54083f){const _0x2539ab=a0_0x43d4c3;fs[_0x2539ab(0x220)](this[_0x2539ab(0x1c6)],JSON[_0x2539ab(0x20e)](_0x54083f,null,0x2),_0x2539ab(0x1fa));}[a0_0x43d4c3(0x1d7)](_0xa3be7e,_0x5129fd,_0x24f5dc,_0x1347b4,_0x35b1c0,_0x310f1a){const _0x319d88=a0_0x43d4c3,_0x33371c=this['getLogs'](),_0x4f8ca4=_0x5129fd['length'],_0x47b10a=_0x24f5dc[_0x319d88(0x1ed)],_0x5280b7=Math['ceil'](_0x4f8ca4/0x4),_0x13e656=Math[_0x319d88(0x239)](_0x47b10a/0x4),_0x32455b=Math[_0x319d88(0x23a)](0x0,_0x5280b7-_0x13e656),_0x377d7e=detectSessionTool(),_0x814b24=_0x377d7e[_0x319d88(0x234)],_0x3dc6db=Math[_0x319d88(0x1eb)]()[_0x319d88(0x233)](0x24)['substring'](0x2,0xb);try{const {redactor:_0x37a4a1}=require(_0x319d88(0x1d8)),_0x1ac0a9=_0x37a4a1?_0x37a4a1['redact'](_0x5129fd):_0x5129fd;fs[_0x319d88(0x220)](path['join'](this[_0x319d88(0x1d1)],_0x3dc6db+'.raw.txt'),_0x1ac0a9,_0x319d88(0x1fa)),fs[_0x319d88(0x220)](path[_0x319d88(0x22d)](this[_0x319d88(0x1d1)],_0x3dc6db+_0x319d88(0x1f7)),_0x24f5dc,'utf8');}catch{}const _0x1a6a1c=_0xa3be7e[_0x319d88(0x1e5)]('\x20')[0x0]||_0x319d88(0x1e1),_0x5bf981=_0x377d7e[_0x319d88(0x1d4)]?_0x377d7e[_0x319d88(0x21f)]?_0x377d7e[_0x319d88(0x1d4)]+'-'+_0x377d7e[_0x319d88(0x21f)]+'-'+_0x1a6a1c:_0x377d7e[_0x319d88(0x1d4)]+'-'+_0x1a6a1c:_0x1a6a1c,_0x13297f={'id':_0x3dc6db,'timestamp':new Date()['toISOString'](),'command':_0x5bf981,'raw_chars':_0x4f8ca4,'compressed_chars':_0x47b10a,'estimated_raw_tokens':_0x5280b7,'estimated_compressed_tokens':_0x13e656,'tokens_saved':_0x32455b,'model_used':_0x814b24,'exit_code':_0x1347b4,'synced':![],'ai_detected':!!_0x377d7e[_0x319d88(0x1d4)],'secrets_found':_0x35b1c0?.[_0x319d88(0x21a)]||0x0,'secret_types':_0x35b1c0?.[_0x319d88(0x1b1)]||[],'features':_0x310f1a||[]};_0x33371c[_0x319d88(0x1bf)](_0x13297f),this[_0x319d88(0x1c5)](_0x33371c);const _0x235cd1=this[_0x319d88(0x1a0)]()['telemetry_url'];return _0x235cd1&&_0x235cd1[_0x319d88(0x23c)]()[_0x319d88(0x1ed)]>0x0&&this[_0x319d88(0x21b)](),_0x35b1c0&&_0x35b1c0['secretsFound']>0x0&&this[_0x319d88(0x1df)](_0x13297f,_0x35b1c0),_0x13297f;}['sendSecurityAlert'](_0xe69b8a,_0x546c47){const _0x17cd9c=a0_0x43d4c3;try{let _0x528027=this[_0x17cd9c(0x1a0)]()['telemetry_url']||'';if(!_0x528027)return;_0x528027=_0x528027['replace'](/\/api\/telemetry\/?$/,_0x17cd9c(0x203));if(!_0x528027['includes'](_0x17cd9c(0x203)))_0x528027+=_0x17cd9c(0x203);const {execSync:_0x39f731}=require(_0x17cd9c(0x206));let _0x5258ab='unknown';try{_0x5258ab=require(_0x17cd9c(0x206))[_0x17cd9c(0x1b8)](_0x17cd9c(0x1c8),{'stdio':['ignore',_0x17cd9c(0x1a1),_0x17cd9c(0x208)]})['toString']()[_0x17cd9c(0x23c)]();}catch{}if(!_0x5258ab||!_0x5258ab[_0x17cd9c(0x1e9)]('@'))try{_0x5258ab=require('os')[_0x17cd9c(0x1ca)]()[_0x17cd9c(0x223)];}catch{}const _0x430cc7=JSON['stringify']({'developer_id':_0x5258ab,'timestamp':_0xe69b8a[_0x17cd9c(0x21c)],'command':_0xe69b8a[_0x17cd9c(0x1b5)],'secrets_found':_0x546c47[_0x17cd9c(0x21a)],'secret_types':_0x546c47[_0x17cd9c(0x1b1)],'os':require('os')[_0x17cd9c(0x1a6)]()}),_0xeb880a=_0x17cd9c(0x20b)+JSON['stringify'](_0x528027)+').protocol===\x27https:\x27?\x27https\x27:\x27http\x27);const\x20r=h.request('+JSON['stringify'](_0x528027)+_0x17cd9c(0x207)+JSON['stringify'](_0x430cc7)+')',_0x2718df=(0x0,child_process_1[_0x17cd9c(0x227)])(process['execPath'],['-e',_0xeb880a],{'detached':!![],'stdio':_0x17cd9c(0x208)});_0x2718df[_0x17cd9c(0x1a2)]();}catch{}}[a0_0x43d4c3(0x21b)](){const _0x404f15=a0_0x43d4c3;try{const _0xd42cfb=path[_0x404f15(0x22d)](__dirname,_0x404f15(0x1ea));if(fs[_0x404f15(0x225)](_0xd42cfb)){const _0x47306d=(0x0,child_process_1['spawn'])(process[_0x404f15(0x221)],[_0xd42cfb],{'detached':!![],'stdio':'ignore'});_0x47306d[_0x404f15(0x1a2)]();}}catch{}}[a0_0x43d4c3(0x1f2)](_0x2359f5=a0_0x43d4c3(0x1ba)){const _0x3bef35=a0_0x43d4c3,_0x18a077=this['getLogs']();let _0x457ea3=0x0,_0x2ac22c=0x0,_0x4f753a=0x0;for(const _0x53b881 of _0x18a077){_0x457ea3+=_0x53b881[_0x3bef35(0x1ab)],_0x2ac22c+=_0x53b881[_0x3bef35(0x201)],_0x4f753a+=_0x53b881['tokens_saved'];}let _0xf448fd=_0x2359f5;(!_0xf448fd||_0xf448fd===_0x3bef35(0x1ba)||!exports[_0x3bef35(0x1ac)][_0xf448fd])&&(_0x18a077[_0x3bef35(0x1ed)]>0x0&&_0x18a077[_0x18a077[_0x3bef35(0x1ed)]-0x1]['model_used']?_0xf448fd=_0x18a077[_0x18a077[_0x3bef35(0x1ed)]-0x1]['model_used']:_0xf448fd=this[_0x3bef35(0x1a0)]()[_0x3bef35(0x231)]||_0x3bef35(0x1da));const _0x1fc50d=exports[_0x3bef35(0x1ac)][_0xf448fd]||exports['PRICING'][_0x3bef35(0x1da)],_0x4a50b4=_0x4f753a*_0x1fc50d[_0x3bef35(0x1b3)]/0xf4240,_0x2c0f80=_0x457ea3*_0x1fc50d[_0x3bef35(0x1b3)]/0xf4240,_0x9fb868=_0x2ac22c*_0x1fc50d[_0x3bef35(0x1b3)]/0xf4240,_0x4626d1=_0x457ea3>0x0?_0x4f753a/_0x457ea3*0x64:0x0;return{'total_raw_tokens':_0x457ea3,'total_compressed_tokens':_0x2ac22c,'total_tokens_saved':_0x4f753a,'savings_percentage':parseFloat(_0x4626d1['toFixed'](0x1)),'money_saved_usd':parseFloat(_0x4a50b4[_0x3bef35(0x210)](0x4)),'raw_cost_usd':parseFloat(_0x2c0f80[_0x3bef35(0x210)](0x4)),'compressed_cost_usd':parseFloat(_0x9fb868[_0x3bef35(0x210)](0x4)),'model_name':_0x1fc50d[_0x3bef35(0x1fb)],'model_key':_0xf448fd};}}exports[a0_0x43d4c3(0x1cd)]=Tracker,exports[a0_0x43d4c3(0x21e)]=new Tracker();
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x3f5da8=a0_0x123d;(function(_0x17f970,_0x5f3821){const _0x5574c9=a0_0x123d,_0xf999f9=_0x17f970();while(!![]){try{const _0xd56ef9=parseInt(_0x5574c9(0x100))/0x1+-parseInt(_0x5574c9(0xfd))/0x2+parseInt(_0x5574c9(0x11c))/0x3*(parseInt(_0x5574c9(0xf1))/0x4)+parseInt(_0x5574c9(0xec))/0x5+parseInt(_0x5574c9(0x101))/0x6+parseInt(_0x5574c9(0xd3))/0x7*(-parseInt(_0x5574c9(0x114))/0x8)+parseInt(_0x5574c9(0xc9))/0x9*(-parseInt(_0x5574c9(0xea))/0xa);if(_0xd56ef9===_0x5f3821)break;else _0xf999f9['push'](_0xf999f9['shift']());}catch(_0x46015b){_0xf999f9['push'](_0xf999f9['shift']());}}}(a0_0x5280,0xccb70));var __createBinding=this&&this[a0_0x3f5da8(0x112)]||(Object[a0_0x3f5da8(0xf5)]?function(_0x78ab81,_0x200fb2,_0x1bdd92,_0x80ccfa){const _0x25b6ce=a0_0x3f5da8;if(_0x80ccfa===undefined)_0x80ccfa=_0x1bdd92;var _0x4a1da0=Object[_0x25b6ce(0xf3)](_0x200fb2,_0x1bdd92);(!_0x4a1da0||(_0x25b6ce(0xfc)in _0x4a1da0?!_0x200fb2['__esModule']:_0x4a1da0['writable']||_0x4a1da0[_0x25b6ce(0xd5)]))&&(_0x4a1da0={'enumerable':!![],'get':function(){return _0x200fb2[_0x1bdd92];}}),Object[_0x25b6ce(0xe9)](_0x78ab81,_0x80ccfa,_0x4a1da0);}:function(_0x1839b0,_0x178bfc,_0x567711,_0x5816a3){if(_0x5816a3===undefined)_0x5816a3=_0x567711;_0x1839b0[_0x5816a3]=_0x178bfc[_0x567711];}),__setModuleDefault=this&&this[a0_0x3f5da8(0x10b)]||(Object['create']?function(_0x312811,_0x31a255){Object['defineProperty'](_0x312811,'default',{'enumerable':!![],'value':_0x31a255});}:function(_0x16147c,_0x40588c){const _0x2a228a=a0_0x3f5da8;_0x16147c[_0x2a228a(0xcf)]=_0x40588c;}),__importStar=this&&this[a0_0x3f5da8(0xde)]||(function(){var _0x596bc5=function(_0x1dff1f){const _0x51f331=a0_0x123d;return _0x596bc5=Object[_0x51f331(0xff)]||function(_0x4a0526){const _0x55fd88=_0x51f331;var _0x4ba14d=[];for(var _0x20dba1 in _0x4a0526)if(Object[_0x55fd88(0x10e)]['hasOwnProperty'][_0x55fd88(0x113)](_0x4a0526,_0x20dba1))_0x4ba14d[_0x4ba14d[_0x55fd88(0xd0)]]=_0x20dba1;return _0x4ba14d;},_0x596bc5(_0x1dff1f);};return function(_0x22d56e){const _0x55df24=a0_0x123d;if(_0x22d56e&&_0x22d56e[_0x55df24(0xce)])return _0x22d56e;var _0x5eae5e={};if(_0x22d56e!=null){for(var _0x440c2c=_0x596bc5(_0x22d56e),_0x21bd0e=0x0;_0x21bd0e<_0x440c2c['length'];_0x21bd0e++)if(_0x440c2c[_0x21bd0e]!==_0x55df24(0xcf))__createBinding(_0x5eae5e,_0x22d56e,_0x440c2c[_0x21bd0e]);}return __setModuleDefault(_0x5eae5e,_0x22d56e),_0x5eae5e;};}());Object[a0_0x3f5da8(0xe9)](exports,a0_0x3f5da8(0xce),{'value':!![]}),exports[a0_0x3f5da8(0xda)]=generateCaCertificate,exports[a0_0x3f5da8(0xe1)]=installSystemCaCert,exports[a0_0x3f5da8(0xe7)]=enableSystemProxy,exports[a0_0x3f5da8(0x107)]=disableSystemProxy,exports['startTrafficInterceptor']=startTrafficInterceptor;function a0_0x5280(){const _0x3830e9=['createCertificate','EADDRINUSE','1263amETXK','existsSync','ca.key','homedir','.trimprompt','write','application/json','5644845hsJSux','utf8','net','spki','pipe','__esModule','default','length','/CN=TrimPrompt\x20Root\x20CA/O=TrimPrompt\x20AI/OU=Security','ca.crt','2827454VymCOB','\x27\x20-Name\x20\x27ProxyEnable\x27\x20-Value\x201;\x20Set-ItemProperty\x20-Path\x20\x27','configurable','pem','createPrivateKey','http','createServer','generateCaCertificate','execSync','setSubject','\x27\x20-Name\x20\x27ProxyEnable\x27\x20-Value\x200','__importStar','sha256','code','installSystemCaCert','.\x20Retrying\x20listen...','\x27\x20-Name\x20\x27ProxyServer\x27\x20-Value\x20\x27','writeHead','split','message','enableSystemProxy','export','defineProperty','10zbDHMC','netstat\x20-ano\x20|\x20findstr\x20:','262700xYrwoj','stringify','writeFileSync','\x20is\x20occupied\x20by\x20existing\x20daemon.\x20Freeing\x20port...','TrimPrompt\x20Traffic\x20Interceptor\x20Active','11276tLwBYP','\x20is\x20in\x20use.\x20Run\x20\x27trim\x20proxy\x20stop\x27\x20first.','getOwnPropertyDescriptor','url','create','ignore','\x20/F','error','mkdirSync','powershell.exe\x20-NoProfile\x20-Command\x20\x22','\x20|\x20findstr\x20LISTENING','get','2844794KoOaFz','connect','getOwnPropertyNames','1489266grNbmd','5804118vvdCdN','listen','127.0.0.1:','certutil\x20-addstore\x20-f\x20\x22Root\x22\x20\x22','HTTP/1.1\x20200\x20Connection\x20Established\x0d\x0a\x0d\x0a','child_process','disableSystemProxy','log','request','Set-ItemProperty\x20-Path\x20\x27','__setModuleDefault','path','HKCU:\x5cSoftware\x5cMicrosoft\x5cWindows\x5cCurrentVersion\x5cInternet\x20Settings','prototype','generateKeyPairSync','platform','join','__createBinding','call','16CFbHFY','taskkill\x20/PID\x20','win32','createPublicKey','[TrimPrompt\x20Traffic\x20Engine]\x20Port\x20','readFileSync'];a0_0x5280=function(){return _0x3830e9;};return a0_0x5280();}const fs=__importStar(require('fs')),path=__importStar(require(a0_0x3f5da8(0x10c))),os=__importStar(require('os')),net=__importStar(require(a0_0x3f5da8(0xcb))),http=__importStar(require(a0_0x3f5da8(0xd8))),crypto=__importStar(require('crypto')),child_process_1=require(a0_0x3f5da8(0x106)),baseDir=path[a0_0x3f5da8(0x111)](os[a0_0x3f5da8(0xc5)](),a0_0x3f5da8(0xc6)),caCertPath=path[a0_0x3f5da8(0x111)](baseDir,a0_0x3f5da8(0xd2)),caKeyPath=path[a0_0x3f5da8(0x111)](baseDir,a0_0x3f5da8(0xc4));function a0_0x123d(_0x33f109,_0x4e183f){_0x33f109=_0x33f109-0xc3;const _0x52803d=a0_0x5280();let _0x123d8e=_0x52803d[_0x33f109];return _0x123d8e;}function ensureBaseDir(){const _0x5d671e=a0_0x3f5da8;if(!fs[_0x5d671e(0xc3)](baseDir))fs[_0x5d671e(0xf9)](baseDir,{'recursive':!![]});}function generateCaCertificate(){const _0x15bd3e=a0_0x3f5da8;ensureBaseDir();if(fs[_0x15bd3e(0xc3)](caCertPath)&&fs['existsSync'](caKeyPath))return{'cert':fs[_0x15bd3e(0x119)](caCertPath,_0x15bd3e(0xca)),'key':fs['readFileSync'](caKeyPath,_0x15bd3e(0xca))};const {privateKey:_0x8d8920,publicKey:_0x4f2f38}=crypto[_0x15bd3e(0x10f)]('rsa',{'modulusLength':0x800,'publicKeyEncoding':{'type':_0x15bd3e(0xcc),'format':'pem'},'privateKeyEncoding':{'type':'pkcs8','format':_0x15bd3e(0xd6)}}),_0x412bf8=crypto[_0x15bd3e(0x11a)]?crypto[_0x15bd3e(0x11a)]():null;let _0x3fb698='';return _0x412bf8?(_0x412bf8[_0x15bd3e(0xdc)](_0x15bd3e(0xd1)),_0x412bf8['setIssuer']('/CN=TrimPrompt\x20Root\x20CA/O=TrimPrompt\x20AI/OU=Security'),_0x412bf8['setPublicKey'](crypto[_0x15bd3e(0x117)](_0x4f2f38)),_0x412bf8['sign'](crypto[_0x15bd3e(0xd7)](_0x8d8920),_0x15bd3e(0xdf)),_0x3fb698=_0x412bf8[_0x15bd3e(0xe8)](_0x15bd3e(0xd6))['toString']()):_0x3fb698=_0x4f2f38,fs[_0x15bd3e(0xee)](caKeyPath,_0x8d8920,_0x15bd3e(0xca)),fs[_0x15bd3e(0xee)](caCertPath,_0x3fb698,_0x15bd3e(0xca)),{'cert':_0x3fb698,'key':_0x8d8920};}function installSystemCaCert(){const _0x4e3927=a0_0x3f5da8;if(process[_0x4e3927(0x110)]!==_0x4e3927(0x116))return![];try{return generateCaCertificate(),(0x0,child_process_1[_0x4e3927(0xdb)])(_0x4e3927(0x104)+caCertPath+'\x22',{'stdio':'ignore','timeout':0x1f40}),!![];}catch{return![];}}function enableSystemProxy(_0x1e3e25=0x1f90){const _0x26e58b=a0_0x3f5da8;if(process[_0x26e58b(0x110)]!=='win32')return![];try{const _0x2e1bc6=_0x26e58b(0x10d),_0x1be144=_0x26e58b(0x103)+_0x1e3e25,_0x28617c='Set-ItemProperty\x20-Path\x20\x27'+_0x2e1bc6+_0x26e58b(0xd4)+_0x2e1bc6+_0x26e58b(0xe3)+_0x1be144+'\x27';return(0x0,child_process_1[_0x26e58b(0xdb)])(_0x26e58b(0xfa)+_0x28617c['replace'](/"/g,'\x5c\x22')+'\x22',{'stdio':_0x26e58b(0xf6),'timeout':0x1f40}),!![];}catch{return![];}}function disableSystemProxy(){const _0x1d123f=a0_0x3f5da8;if(process[_0x1d123f(0x110)]!==_0x1d123f(0x116))return![];try{const _0x3184a3=_0x1d123f(0x10d),_0x1e7692=_0x1d123f(0x10a)+_0x3184a3+_0x1d123f(0xdd);return(0x0,child_process_1[_0x1d123f(0xdb)])(_0x1d123f(0xfa)+_0x1e7692['replace'](/"/g,'\x5c\x22')+'\x22',{'stdio':_0x1d123f(0xf6),'timeout':0x1f40}),!![];}catch{return![];}}function startTrafficInterceptor(_0x3c1f7c=0x1f90){const _0xdd338a=a0_0x3f5da8,_0x4be568=http[_0xdd338a(0xd9)]();_0x4be568['on'](_0xdd338a(0xf8),_0x3abc86=>{const _0x3b34b7=_0xdd338a;if(_0x3abc86[_0x3b34b7(0xe0)]===_0x3b34b7(0x11b)){console[_0x3b34b7(0x108)](_0x3b34b7(0x118)+_0x3c1f7c+_0x3b34b7(0xef));try{if(process['platform']==='win32'){const _0x4cde93=(0x0,child_process_1[_0x3b34b7(0xdb)])(_0x3b34b7(0xeb)+_0x3c1f7c+_0x3b34b7(0xfb),{'encoding':_0x3b34b7(0xca),'timeout':0xbb8}),_0xd2d7f2=_0x4cde93['trim']()[_0x3b34b7(0xe5)](/\s+/),_0x339f19=_0xd2d7f2[_0xd2d7f2[_0x3b34b7(0xd0)]-0x1];if(_0x339f19&&_0x339f19!==String(process['pid'])){(0x0,child_process_1[_0x3b34b7(0xdb)])(_0x3b34b7(0x115)+_0x339f19+_0x3b34b7(0xf7),{'stdio':'ignore','timeout':0xbb8}),console[_0x3b34b7(0x108)]('[TrimPrompt\x20Traffic\x20Engine]\x20Terminated\x20background\x20process\x20'+_0x339f19+_0x3b34b7(0xe2)),setTimeout(()=>_0x4be568[_0x3b34b7(0x102)](_0x3c1f7c,'127.0.0.1'),0x1f4);return;}}}catch{}console[_0x3b34b7(0xf8)](_0x3b34b7(0x118)+_0x3c1f7c+_0x3b34b7(0xf2));}else console[_0x3b34b7(0xf8)]('[TrimPrompt\x20Traffic\x20Engine]\x20Server\x20error:\x20'+_0x3abc86[_0x3b34b7(0xe6)]);}),_0x4be568['on'](_0xdd338a(0x109),(_0x3d1458,_0x2e301a)=>{const _0x22e0e4=_0xdd338a;_0x2e301a[_0x22e0e4(0xe4)](0xc8,{'Content-Type':_0x22e0e4(0xc8)}),_0x2e301a['end'](JSON[_0x22e0e4(0xed)]({'status':_0x22e0e4(0xf0),'url':_0x3d1458[_0x22e0e4(0xf4)]}));}),_0x4be568['on'](_0xdd338a(0xfe),(_0x4d10ed,_0x4b3a45,_0x1a2397)=>{const _0x392401=_0xdd338a,[_0x17f56d,_0x23a0e1]=(_0x4d10ed[_0x392401(0xf4)]||'')[_0x392401(0xe5)](':'),_0x32961e=parseInt(_0x23a0e1,0xa)||0x1bb,_0x3b646b=net['connect'](_0x32961e,_0x17f56d,()=>{const _0x495047=_0x392401;_0x4b3a45[_0x495047(0xc7)](_0x495047(0x105)),_0x3b646b[_0x495047(0xc7)](_0x1a2397),_0x3b646b[_0x495047(0xcd)](_0x4b3a45),_0x4b3a45[_0x495047(0xcd)](_0x3b646b);});_0x3b646b['on'](_0x392401(0xf8),()=>{try{_0x4b3a45['end']();}catch{}}),_0x4b3a45['on'](_0x392401(0xf8),()=>{try{_0x3b646b['end']();}catch{}});}),_0x4be568[_0xdd338a(0x102)](_0x3c1f7c,'127.0.0.1',()=>{const _0xae2d27=_0xdd338a;console[_0xae2d27(0x108)]('[TrimPrompt\x20Traffic\x20Engine]\x20Live\x20Traffic\x20Interceptor\x20listening\x20on\x20127.0.0.1:'+_0x3c1f7c);});}