@simosphere/tokenizer-speedup 0.9.0 → 0.10.1

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.
Files changed (49) hide show
  1. package/dist/cli/analyze.js +1 -1
  2. package/dist/cli/config-cmd.js +1 -1
  3. package/dist/cli/index.js +1 -1
  4. package/dist/cli/init-cmd.js +1 -1
  5. package/dist/cli/setup-cmd.js +1 -1
  6. package/dist/cloud/stripe-checkout.js +1 -1
  7. package/dist/cloud/stripe-config.js +1 -1
  8. package/dist/cloud/stripe-usage.js +1 -1
  9. package/dist/cloud/stripe-webhooks.js +1 -1
  10. package/dist/cloud/subscription-store.js +1 -1
  11. package/dist/manifest.json +49 -45
  12. package/dist/mcp/index.js +1 -1
  13. package/dist/mcp/resources.js +1 -1
  14. package/dist/mcp/session.js +1 -1
  15. package/dist/mcp/tools.js +1 -1
  16. package/dist/plugin/cli.js +1 -1
  17. package/dist/plugin/compression/anonymize.js +1 -0
  18. package/dist/plugin/compression/cache.js +1 -0
  19. package/dist/plugin/compression/chunked.js +1 -1
  20. package/dist/plugin/compression/dedup.js +1 -0
  21. package/dist/plugin/compression/format-optimizer.js +1 -0
  22. package/dist/plugin/compression/index.js +1 -1
  23. package/dist/plugin/compression/pipeline.js +1 -1
  24. package/dist/plugin/compression/quality.js +1 -1
  25. package/dist/plugin/compression/rule-based.js +1 -1
  26. package/dist/plugin/compression/structural.js +1 -1
  27. package/dist/plugin/compression/text-utils.js +1 -1
  28. package/dist/plugin/compression/token-budget.js +1 -1
  29. package/dist/plugin/config-loader.js +1 -1
  30. package/dist/plugin/context-compressor.js +1 -1
  31. package/dist/plugin/hook-dispatcher.js +1 -1
  32. package/dist/plugin/metering-client.js +1 -1
  33. package/dist/plugin/metrics-collector.js +1 -1
  34. package/dist/plugin/onboarding.js +1 -1
  35. package/dist/plugin/precompact-handler.js +1 -1
  36. package/dist/plugin/report.js +1 -1
  37. package/dist/plugin/rule-analytics-store.js +1 -1
  38. package/dist/plugin/rule-analytics.js +1 -1
  39. package/dist/plugin/rule-engine.js +1 -1
  40. package/dist/plugin/rule-sharing.js +1 -1
  41. package/dist/plugin/rule-suggest.js +1 -1
  42. package/dist/plugin/session-start.js +1 -1
  43. package/dist/plugin/smart-context.js +1 -1
  44. package/dist/shared/license.js +1 -1
  45. package/dist/shared/providers/claude-provider.js +1 -1
  46. package/dist/shared/providers/openai-provider.js +1 -1
  47. package/dist/shared/token-counter.js +1 -1
  48. package/dist/shared/token-provider.js +1 -1
  49. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x1dafbd,_0x249f3b){const _0x176255=_0x583d,_0xfdd4ec=_0x1dafbd();while(!![]){try{const _0x230ed1=-parseInt(_0x176255(0x13c))/0x1+parseInt(_0x176255(0x141))/0x2*(-parseInt(_0x176255(0x143))/0x3)+-parseInt(_0x176255(0x145))/0x4*(parseInt(_0x176255(0x139))/0x5)+parseInt(_0x176255(0x138))/0x6*(-parseInt(_0x176255(0x13b))/0x7)+parseInt(_0x176255(0x133))/0x8+-parseInt(_0x176255(0x13d))/0x9*(parseInt(_0x176255(0x147))/0xa)+parseInt(_0x176255(0x148))/0xb;if(_0x230ed1===_0x249f3b)break;else _0xfdd4ec['push'](_0xfdd4ec['shift']());}catch(_0x37b40c){_0xfdd4ec['push'](_0xfdd4ec['shift']());}}}(_0x3443,0xde6d0));function _0x3443(){const _0x5d4a3b=['error','features/*.md','664174zHsSQZ','map','15ufMVUH','dVXKb','4iVYEou','fix','1940hbFodr','68726339KGkIth','docsDir','docs/lessons-learned','2872560RfDHRx','rmGLC','lessons-learned/*.md','refactor','spec','72rOdObh','3131855EKgZcd','raark','891667qspTNE','403563QlVzeZ','68517cdqeuf','xVOSb'];_0x3443=function(){return _0x5d4a3b;};return _0x3443();}import{existsSync,readdirSync}from'node:fs';import{join}from'node:path';function _0x583d(_0x21f6f8,_0x2e3cc9){_0x21f6f8=_0x21f6f8-0x133;const _0x3443a5=_0x3443();let _0x583d5a=_0x3443a5[_0x21f6f8];return _0x583d5a;}import _0x2fae81 from'js-yaml';export function detectProjectDocs(_0x3dae34){const _0x53a459=_0x583d,_0x1ae237={'raark':function(_0x101e61,_0x149cfa){return _0x101e61(_0x149cfa);},'xVOSb':function(_0x368386,_0x3d782e,_0x2d6cfa){return _0x368386(_0x3d782e,_0x2d6cfa);},'merVL':_0x53a459(0x14a),'QZJbM':function(_0x52cb99,_0x7b969d,_0xfa0d34){return _0x52cb99(_0x7b969d,_0xfa0d34);}},_0x3a4f38=join(_0x3dae34,'docs'),_0x21864e=_0x1ae237[_0x53a459(0x13a)](existsSync,_0x3a4f38),_0x3d8bd6=existsSync(_0x1ae237[_0x53a459(0x13e)](join,_0x3dae34,'CLAUDE.md')),_0x1c2d7b=_0x1ae237[_0x53a459(0x13a)](existsSync,_0x1ae237[_0x53a459(0x13e)](join,_0x3dae34,_0x1ae237['merVL']));let _0x24f0bc=[];if(_0x21864e)try{_0x24f0bc=_0x1ae237['QZJbM'](readdirSync,_0x3a4f38,{'withFileTypes':!0x0})['filter'](_0x185fd1=>_0x185fd1['isDirectory']())[_0x53a459(0x142)](_0x13dd8c=>_0x13dd8c['name']);}catch{}return{'hasDocsDir':_0x21864e,'hasClaudeMd':_0x3d8bd6,'hasLessonsLearned':_0x1c2d7b,'docSubdirs':_0x24f0bc};}export function generateDefaultConfig(_0x17a789){const _0x5b5221=_0x583d,_0x5c0870={'WfRMe':_0x5b5221(0x146),'mCqaC':'bug','dVXKb':'design','kmlLF':_0x5b5221(0x137),'rmGLC':'requirement','xBjjC':'https://api.simosphereai.com/v1/meter'},_0x2ca492={'version':0x1,'rules':[{'trigger':[_0x5c0870['WfRMe'],_0x5c0870['mCqaC'],_0x5b5221(0x13f),'problem'],'load':_0x17a789[_0x5b5221(0x149)]+_0x5b5221(0x135),'max_tokens':0x7d0,'summary_only':!0x1},{'trigger':[_0x5c0870[_0x5b5221(0x144)],'architecture',_0x5b5221(0x136)],'load':_0x17a789['docsDir']+'decisions/*.md','max_tokens':0xbb8,'summary_only':!0x0},{'trigger':['feature',_0x5c0870['kmlLF'],_0x5c0870[_0x5b5221(0x134)]],'load':_0x17a789[_0x5b5221(0x149)]+_0x5b5221(0x140),'max_tokens':0xbb8,'summary_only':!0x0}],'context_limits':{'max_injected_tokens':0x1f40,'max_file_tokens':0xfa0,'compress_above':0xbb8},'metering':{'endpoint':_0x5c0870['xBjjC'],'batch_interval':0x3c,'send_content':!0x1}};return _0x2fae81['dump'](_0x2ca492,{'lineWidth':0x78});}
1
+ (function(_0x2188a6,_0x22f963){const _0x3dbb17=_0x10a9,_0x38688b=_0x2188a6();while(!![]){try{const _0xee1788=parseInt(_0x3dbb17(0xed))/0x1+-parseInt(_0x3dbb17(0xec))/0x2*(-parseInt(_0x3dbb17(0xfa))/0x3)+parseInt(_0x3dbb17(0xf7))/0x4*(-parseInt(_0x3dbb17(0xf5))/0x5)+-parseInt(_0x3dbb17(0xef))/0x6*(parseInt(_0x3dbb17(0xf4))/0x7)+-parseInt(_0x3dbb17(0x102))/0x8+parseInt(_0x3dbb17(0xf6))/0x9+-parseInt(_0x3dbb17(0xff))/0xa;if(_0xee1788===_0x22f963)break;else _0x38688b['push'](_0x38688b['shift']());}catch(_0xe16cd3){_0x38688b['push'](_0x38688b['shift']());}}}(_0x3539,0xc3ab5));function _0x3539(){const _0x14ec76=['2386770dNxstg','yHbKS','fix','5020984xAToqq','lessons-learned/*.md','dump','2dhjHAk','723977gMBduz','lruip','78VKVTqL','error','XYQdX','isDirectory','filter','506177zhmBNh','1590985CKBtIv','14136786zCanPF','16NyzdAn','features/*.md','requirement','4757583bwQMZd','refactor','ILuob','docsDir','decisions/*.md'];_0x3539=function(){return _0x14ec76;};return _0x3539();}import{existsSync,readdirSync}from'node:fs';function _0x10a9(_0x45a680,_0x1b6cfe){_0x45a680=_0x45a680-0xea;const _0x353997=_0x3539();let _0x10a9cc=_0x353997[_0x45a680];return _0x10a9cc;}import{join}from'node:path';import _0x7515c3 from'js-yaml';export function detectProjectDocs(_0x28110e){const _0x5e4676=_0x10a9,_0x3d20b4={'ILuob':function(_0x53bf2b,_0x40632e,_0x460b84){return _0x53bf2b(_0x40632e,_0x460b84);},'yHbKS':function(_0x3ebede,_0x426478){return _0x3ebede(_0x426478);},'XnliP':'CLAUDE.md','iZhNk':function(_0x507c4e,_0x4768a6,_0x1aa412){return _0x507c4e(_0x4768a6,_0x1aa412);}},_0x4d67cb=_0x3d20b4[_0x5e4676(0xfc)](join,_0x28110e,'docs'),_0x1b36a1=_0x3d20b4[_0x5e4676(0x100)](existsSync,_0x4d67cb),_0x4ddc96=existsSync(join(_0x28110e,_0x3d20b4['XnliP'])),_0x3639c3=existsSync(join(_0x28110e,'docs/lessons-learned'));let _0x50c869=[];if(_0x1b36a1)try{_0x50c869=_0x3d20b4['iZhNk'](readdirSync,_0x4d67cb,{'withFileTypes':!0x0})[_0x5e4676(0xf3)](_0x47faf0=>_0x47faf0[_0x5e4676(0xf2)]())['map'](_0x4b65e0=>_0x4b65e0['name']);}catch{}return{'hasDocsDir':_0x1b36a1,'hasClaudeMd':_0x4ddc96,'hasLessonsLearned':_0x3639c3,'docSubdirs':_0x50c869};}export function generateDefaultConfig(_0x23775f){const _0x40f1fa=_0x10a9,_0x34374c={'PxrFi':_0x40f1fa(0x101),'hqGIi':'bug','XYQdX':'problem','XQovM':_0x40f1fa(0xfb),'lruip':'feature','fBRXD':'spec'},_0x46a58f={'version':0x1,'rules':[{'trigger':[_0x34374c['PxrFi'],_0x34374c['hqGIi'],_0x40f1fa(0xf0),_0x34374c[_0x40f1fa(0xf1)]],'load':_0x23775f['docsDir']+_0x40f1fa(0xea),'max_tokens':0x7d0,'summary_only':!0x1},{'trigger':['design','architecture',_0x34374c['XQovM']],'load':_0x23775f[_0x40f1fa(0xfd)]+_0x40f1fa(0xfe),'max_tokens':0xbb8,'summary_only':!0x0},{'trigger':[_0x34374c[_0x40f1fa(0xee)],_0x34374c['fBRXD'],_0x40f1fa(0xf9)],'load':_0x23775f[_0x40f1fa(0xfd)]+_0x40f1fa(0xf8),'max_tokens':0xbb8,'summary_only':!0x0}],'context_limits':{'max_injected_tokens':0x1f40,'max_file_tokens':0xfa0,'compress_above':0xbb8},'metering':{'endpoint':'https://api.simosphereai.com/v1/meter','batch_interval':0x3c,'send_content':!0x1}};return _0x7515c3[_0x40f1fa(0xeb)](_0x46a58f,{'lineWidth':0x78});}
@@ -1 +1 @@
1
- function _0x34d6(_0x3ff355,_0x495754){_0x3ff355=_0x3ff355-0x1ef;const _0x172937=_0x1729();let _0x34d6a6=_0x172937[_0x3ff355];return _0x34d6a6;}function _0x1729(){const _0x70cd3f=['slice','8nqNKrX','text','compressedTokens','role','10582398JntqMH','filter','10CZuOeN','push','4395126bIKooY','length','max_injected_tokens','iVdEx','812839kzUwQk','4262570AvsbJd','turnIndex','2313366FUkiQS','2771139OAmAzo','1839636nCRtRP','2XsUkIl','result','originalTokens'];_0x1729=function(){return _0x70cd3f;};return _0x1729();}(function(_0x53be08,_0x2f20c6){const _0x33ad41=_0x34d6,_0x31d11e=_0x53be08();while(!![]){try{const _0xd651ec=parseInt(_0x33ad41(0x1f6))/0x1+-parseInt(_0x33ad41(0x1fc))/0x2*(-parseInt(_0x33ad41(0x1f2))/0x3)+parseInt(_0x33ad41(0x1fb))/0x4+parseInt(_0x33ad41(0x1f0))/0x5*(-parseInt(_0x33ad41(0x1f9))/0x6)+parseInt(_0x33ad41(0x1fa))/0x7+parseInt(_0x33ad41(0x200))/0x8*(-parseInt(_0x33ad41(0x204))/0x9)+-parseInt(_0x33ad41(0x1f7))/0xa;if(_0xd651ec===_0x2f20c6)break;else _0x31d11e['push'](_0x31d11e['shift']());}catch(_0x4c99f7){_0x31d11e['push'](_0x31d11e['shift']());}}}(_0x1729,0xb9a92));import{compressContextBudget}from'./context-compressor.js';import{countTokens}from'../shared/token-counter.js';export function prioritizeContext(_0x5b5383,_0x54d17f,_0x40d19b=0x4){const _0x36aaa6=_0x34d6,_0x278282={'CjxKh':function(_0xa5047b,_0x3241de){return _0xa5047b===_0x3241de;},'NpQXP':function(_0x1afce0,_0x4fc0fd){return _0x1afce0(_0x4fc0fd);},'iVdEx':function(_0x13b3b2,_0x4977f7){return _0x13b3b2>_0x4977f7;},'EQvPL':function(_0x2d9145,_0x27af81,_0x376ba2){return _0x2d9145(_0x27af81,_0x376ba2);}};if(_0x278282['CjxKh'](0x0,_0x5b5383[_0x36aaa6(0x1f3)]))return{'prioritized':[],'totalOriginalTokens':0x0,'totalCompressedTokens':0x0,'segmentsDropped':0x0};const _0x3fcda9=_0x54d17f[_0x36aaa6(0x1f4)],_0x144ec6=_0x5b5383[_0x36aaa6(0x1ef)](_0x266c48=>'system'===_0x266c48['role']),_0x3dc27b=_0x5b5383['filter'](_0xfcabd=>'system'!==_0xfcabd[_0x36aaa6(0x203)]),_0x7b8350=Math['max'](0x0,_0x3dc27b[_0x36aaa6(0x1f3)]-_0x40d19b),_0x577c8b=_0x3dc27b[_0x36aaa6(0x1ff)](_0x7b8350),_0x1b6b64=_0x3dc27b[_0x36aaa6(0x1ff)](0x0,_0x7b8350),_0x335a30=[];let _0x40b11f=0x0,_0x5163aa=0x0,_0x161c5d=0x0;for(const _0x2c2f71 of _0x144ec6){const _0x44f8b0=_0x278282['NpQXP'](countTokens,_0x2c2f71['content']);_0x40b11f+=_0x44f8b0,_0x5163aa+=_0x44f8b0,_0x335a30[_0x36aaa6(0x1f1)]({'role':_0x2c2f71['role'],'content':_0x2c2f71['content'],'turnIndex':_0x2c2f71[_0x36aaa6(0x1f8)],'compressed':!0x1});}for(const _0x1980ca of _0x577c8b){const _0x33178e=countTokens(_0x1980ca['content']);_0x40b11f+=_0x33178e,_0x5163aa+=_0x33178e,_0x335a30[_0x36aaa6(0x1f1)]({'role':_0x1980ca[_0x36aaa6(0x203)],'content':_0x1980ca['content'],'turnIndex':_0x1980ca[_0x36aaa6(0x1f8)],'compressed':!0x1});}if(_0x278282[_0x36aaa6(0x1f5)](_0x1b6b64['length'],0x0)){const _0x330591=_0x5163aa,_0x4506c5=Math['max'](0x0,_0x3fcda9-_0x330591);if(_0x278282[_0x36aaa6(0x1f5)](_0x4506c5,0x0)){const _0x253170=_0x1b6b64['map'](_0x34d49e=>({'label':'turn-'+_0x34d49e[_0x36aaa6(0x1f8)],'text':_0x34d49e['content']})),_0x53df67=_0x278282['EQvPL'](compressContextBudget,_0x253170,_0x4506c5);for(let _0x5e5378=0x0;_0x5e5378<_0x1b6b64['length'];_0x5e5378++){const _0x10a2e2=_0x1b6b64[_0x5e5378],_0x3559c0=_0x53df67[_0x5e5378][_0x36aaa6(0x1fd)];_0x40b11f+=_0x3559c0[_0x36aaa6(0x1fe)],_0x3559c0[_0x36aaa6(0x202)]>0x0?(_0x5163aa+=_0x3559c0['compressedTokens'],_0x335a30['push']({'role':_0x10a2e2[_0x36aaa6(0x203)],'content':_0x3559c0[_0x36aaa6(0x201)],'turnIndex':_0x10a2e2['turnIndex'],'compressed':_0x3559c0['wasTruncated']})):(_0x161c5d++,_0x40b11f+=0x0);}}else{for(const _0x29ec30 of _0x1b6b64)_0x40b11f+=countTokens(_0x29ec30['content']),_0x161c5d++;}}return _0x335a30['sort']((_0x2f7a6c,_0xd44d3d)=>_0x2f7a6c[_0x36aaa6(0x1f8)]-_0xd44d3d[_0x36aaa6(0x1f8)]),{'prioritized':_0x335a30,'totalOriginalTokens':_0x40b11f,'totalCompressedTokens':_0x5163aa,'segmentsDropped':_0x161c5d};}
1
+ function _0x1824(){const _0x22ccac=['12033XTPETL','max_injected_tokens','turnIndex','326Gkjrji','113612tuZLFE','18uYPGoJ','compressedTokens','slice','filter','content','6097553qGjrhk','7988672iZUzZE','145knIbgF','2652fOZHAX','4722320MiRGYT','originalTokens','RpPpD','2238FuTxnV','209271ktvUZj','result','SrWQj','system','push','role','length'];_0x1824=function(){return _0x22ccac;};return _0x1824();}(function(_0x84e1c7,_0x5d2e82){const _0x42e427=_0x26c9,_0x5276ea=_0x84e1c7();while(!![]){try{const _0x207296=-parseInt(_0x42e427(0xb5))/0x1*(-parseInt(_0x42e427(0xc3))/0x2)+parseInt(_0x42e427(0xc4))/0x3+parseInt(_0x42e427(0xb6))/0x4*(parseInt(_0x42e427(0xbe))/0x5)+-parseInt(_0x42e427(0xbf))/0x6*(-parseInt(_0x42e427(0xcb))/0x7)+-parseInt(_0x42e427(0xbd))/0x8+-parseInt(_0x42e427(0xb7))/0x9*(parseInt(_0x42e427(0xc0))/0xa)+parseInt(_0x42e427(0xbc))/0xb;if(_0x207296===_0x5d2e82)break;else _0x5276ea['push'](_0x5276ea['shift']());}catch(_0xa75fe2){_0x5276ea['push'](_0x5276ea['shift']());}}}(_0x1824,0x99a3f));import{compressContextBudget}from'./context-compressor.js';function _0x26c9(_0x2ab16e,_0xb8e82b){_0x2ab16e=_0x2ab16e-0xb4;const _0x182478=_0x1824();let _0x26c9c6=_0x182478[_0x2ab16e];return _0x26c9c6;}import{countTokens}from'../shared/token-counter.js';export function prioritizeContext(_0x202179,_0xd50d3e,_0x5e1c5e=0x4){const _0x1238c1=_0x26c9,_0x4c2b85={'SrWQj':function(_0x50e5f2,_0x22c93d){return _0x50e5f2===_0x22c93d;},'RpPpD':function(_0x184dab,_0x2cc253){return _0x184dab(_0x2cc253);}};if(_0x4c2b85[_0x1238c1(0xc6)](0x0,_0x202179['length']))return{'prioritized':[],'totalOriginalTokens':0x0,'totalCompressedTokens':0x0,'segmentsDropped':0x0};const _0x239d15=_0xd50d3e[_0x1238c1(0xcc)],_0x3c966c=_0x202179['filter'](_0x5997bc=>'system'===_0x5997bc['role']),_0x51ce85=_0x202179[_0x1238c1(0xba)](_0x5b4478=>_0x1238c1(0xc7)!==_0x5b4478['role']),_0xff326e=Math['max'](0x0,_0x51ce85[_0x1238c1(0xca)]-_0x5e1c5e),_0x8e762=_0x51ce85[_0x1238c1(0xb9)](_0xff326e),_0x314915=_0x51ce85['slice'](0x0,_0xff326e),_0x1698bc=[];let _0x22e537=0x0,_0x4ee9ac=0x0,_0x52ebbe=0x0;for(const _0x1a5219 of _0x3c966c){const _0x510586=_0x4c2b85['RpPpD'](countTokens,_0x1a5219[_0x1238c1(0xbb)]);_0x22e537+=_0x510586,_0x4ee9ac+=_0x510586,_0x1698bc['push']({'role':_0x1a5219[_0x1238c1(0xc9)],'content':_0x1a5219['content'],'turnIndex':_0x1a5219['turnIndex'],'compressed':!0x1});}for(const _0x3a9241 of _0x8e762){const _0x211086=countTokens(_0x3a9241[_0x1238c1(0xbb)]);_0x22e537+=_0x211086,_0x4ee9ac+=_0x211086,_0x1698bc[_0x1238c1(0xc8)]({'role':_0x3a9241[_0x1238c1(0xc9)],'content':_0x3a9241[_0x1238c1(0xbb)],'turnIndex':_0x3a9241[_0x1238c1(0xb4)],'compressed':!0x1});}if(_0x314915['length']>0x0){const _0x3aa08a=_0x4ee9ac,_0x1d3aad=Math['max'](0x0,_0x239d15-_0x3aa08a);if(_0x1d3aad>0x0){const _0x10ee50=_0x314915['map'](_0x4f1511=>({'label':'turn-'+_0x4f1511[_0x1238c1(0xb4)],'text':_0x4f1511[_0x1238c1(0xbb)]})),_0xc5e49=compressContextBudget(_0x10ee50,_0x1d3aad);for(let _0x43aa35=0x0;_0x43aa35<_0x314915['length'];_0x43aa35++){const _0x590d62=_0x314915[_0x43aa35],_0x54cbdd=_0xc5e49[_0x43aa35][_0x1238c1(0xc5)];_0x22e537+=_0x54cbdd[_0x1238c1(0xc1)],_0x54cbdd[_0x1238c1(0xb8)]>0x0?(_0x4ee9ac+=_0x54cbdd[_0x1238c1(0xb8)],_0x1698bc[_0x1238c1(0xc8)]({'role':_0x590d62['role'],'content':_0x54cbdd['text'],'turnIndex':_0x590d62['turnIndex'],'compressed':_0x54cbdd['wasTruncated']})):(_0x52ebbe++,_0x22e537+=0x0);}}else{for(const _0x4e7517 of _0x314915)_0x22e537+=_0x4c2b85[_0x1238c1(0xc2)](countTokens,_0x4e7517['content']),_0x52ebbe++;}}return _0x1698bc['sort']((_0x48904b,_0x5a3506)=>_0x48904b['turnIndex']-_0x5a3506['turnIndex']),{'prioritized':_0x1698bc,'totalOriginalTokens':_0x22e537,'totalCompressedTokens':_0x4ee9ac,'segmentsDropped':_0x52ebbe};}
@@ -1 +1 @@
1
- function _0xdc71(){const _0x20f228=['9nckRGO','1575567ekDEGM','parse','total_baseline','20403493tQTxAl','16452SWqeKQ','1604FPVtsK','12hKgpxz','fVvig','rules_triggered','2518168VVibLF','qAkOL','185131RIkVqp','1939RmwNmf','map','8BTnKDI','DlwHs','reduce','11075NwdgUz','sort','7405410iTTSED'];_0xdc71=function(){return _0x20f228;};return _0xdc71();}(function(_0xa7e1ac,_0x2193dd){const _0x14299b=_0x483e,_0x386932=_0xa7e1ac();while(!![]){try{const _0x2f8a85=-parseInt(_0x14299b(0x193))/0x1*(-parseInt(_0x14299b(0x181))/0x2)+parseInt(_0x14299b(0x188))/0x3+-parseInt(_0x14299b(0x18d))/0x4*(-parseInt(_0x14299b(0x184))/0x5)+-parseInt(_0x14299b(0x18c))/0x6*(parseInt(_0x14299b(0x194))/0x7)+-parseInt(_0x14299b(0x191))/0x8*(-parseInt(_0x14299b(0x187))/0x9)+parseInt(_0x14299b(0x186))/0xa+parseInt(_0x14299b(0x18b))/0xb*(-parseInt(_0x14299b(0x18e))/0xc);if(_0x2f8a85===_0x2193dd)break;else _0x386932['push'](_0x386932['shift']());}catch(_0x2c007e){_0x386932['push'](_0x386932['shift']());}}}(_0xdc71,0x9139b));import{readdirSync,readFileSync}from'node:fs';import{join}from'node:path';function _0x483e(_0x3e9e6b,_0x215cd2){_0x3e9e6b=_0x3e9e6b-0x181;const _0xdc7118=_0xdc71();let _0x483ede=_0xdc7118[_0x3e9e6b];return _0x483ede;}const METRICS_DIR='.tokenizer-speedup',COST_PER_MILLION_TOKENS=0x3;export function generateReport(_0x2c9f0f){const _0x5c63ff=_0x483e,_0x2957c2={'drIPh':function(_0x3a55b0,_0x56172b){return _0x3a55b0(_0x56172b);},'asVOY':function(_0x3b4436,_0x562c03){return _0x3b4436-_0x562c03;},'jDRJY':function(_0x4e7920,_0xc31322){return _0x4e7920+_0xc31322;},'qAkOL':function(_0x4cbc86,_0x467d05){return _0x4cbc86>_0x467d05;},'fVvig':function(_0x46c7fb,_0x21550f){return _0x46c7fb*_0x21550f;},'DlwHs':function(_0x1cc5b4,_0x5bcfa9){return _0x1cc5b4/_0x5bcfa9;}},_0x3a5375=join(_0x2c9f0f,METRICS_DIR),_0xba947b=_0x2957c2['drIPh'](readdirSync,_0x3a5375)['filter'](_0x41d647=>_0x41d647['endsWith']('.json'))['map'](_0x570503=>JSON[_0x5c63ff(0x189)](readFileSync(join(_0x3a5375,_0x570503),'utf-8'))['summary']),_0x251e17=_0xba947b[_0x5c63ff(0x183)]((_0x51d9ed,_0x2b1f47)=>_0x51d9ed+_0x2b1f47[_0x5c63ff(0x18a)],0x0),_0x55bb08=_0xba947b[_0x5c63ff(0x183)]((_0x5596ba,_0x4fc0f3)=>_0x5596ba+_0x4fc0f3['total_optimized'],0x0),_0x265964=_0x2957c2['asVOY'](_0x251e17,_0x55bb08),_0x4cd46d={};for(const _0x2588fc of _0xba947b)for(const [_0x113590,_0x39eb71]of Object['entries'](_0x2588fc[_0x5c63ff(0x190)]))_0x4cd46d[_0x113590]=_0x2957c2['jDRJY'](_0x4cd46d[_0x113590]||0x0,_0x39eb71);const _0xf6c087=_0xba947b[_0x5c63ff(0x195)](_0x412acd=>_0x412acd['started_at'])[_0x5c63ff(0x185)]();return{'sessions_count':_0xba947b['length'],'total_baseline':_0x251e17,'total_optimized':_0x55bb08,'total_delta':_0x265964,'savings_percent':_0x2957c2[_0x5c63ff(0x192)](_0x251e17,0x0)?_0x2957c2[_0x5c63ff(0x18f)](_0x2957c2[_0x5c63ff(0x182)](_0x265964,_0x251e17),0x64):0x0,'total_prompts':_0xba947b['reduce']((_0x56e25d,_0x32d046)=>_0x56e25d+_0x32d046['prompts_count'],0x0),'rules_triggered':_0x4cd46d,'estimated_cost_saved_usd':_0x2957c2[_0x5c63ff(0x182)](_0x265964,0xf4240)*0x3,'period_start':_0xf6c087[0x0]||'','period_end':_0xf6c087[_0xf6c087['length']-0x1]||''};}
1
+ (function(_0x350355,_0x44706f){const _0x20512a=_0x1b54,_0x80e8c5=_0x350355();while(!![]){try{const _0x54c0ea=-parseInt(_0x20512a(0xee))/0x1*(-parseInt(_0x20512a(0xe2))/0x2)+-parseInt(_0x20512a(0xf4))/0x3*(-parseInt(_0x20512a(0xec))/0x4)+-parseInt(_0x20512a(0xf6))/0x5*(parseInt(_0x20512a(0xf3))/0x6)+parseInt(_0x20512a(0xf2))/0x7*(-parseInt(_0x20512a(0xea))/0x8)+-parseInt(_0x20512a(0xe9))/0x9*(-parseInt(_0x20512a(0xf7))/0xa)+-parseInt(_0x20512a(0xef))/0xb+-parseInt(_0x20512a(0xf1))/0xc*(-parseInt(_0x20512a(0xed))/0xd);if(_0x54c0ea===_0x44706f)break;else _0x80e8c5['push'](_0x80e8c5['shift']());}catch(_0x3b2c73){_0x80e8c5['push'](_0x80e8c5['shift']());}}}(_0x4f02,0x5ba77));function _0x1b54(_0x2e6b0a,_0x3bd76c){_0x2e6b0a=_0x2e6b0a-0xe2;const _0x4f0221=_0x4f02();let _0x1b541c=_0x4f0221[_0x2e6b0a];return _0x1b541c;}import{readdirSync,readFileSync}from'node:fs';function _0x4f02(){const _0x4be3a1=['XfIPf','parse','4790817LpYXKI','7304UeGNbJ','diTjj','4TZVNeh','533221GRhiQP','22ULXddT','8158931vezQNm','zwbju','12ezYSFI','917EdIixu','1829202GKRCGq','1891635ZSuZYD','endsWith','10MUQXST','10GagOIF','AQtbC','58418nDIyoQ','.json','length','ITjxj','total_baseline'];_0x4f02=function(){return _0x4be3a1;};return _0x4f02();}import{join}from'node:path';const METRICS_DIR='.tokenizer-speedup',COST_PER_MILLION_TOKENS=0x3;export function generateReport(_0x531eea){const _0x3980a1=_0x1b54,_0x18ab93={'XfIPf':function(_0x2ddf5c,_0x1f0093,_0x3fa2a1){return _0x2ddf5c(_0x1f0093,_0x3fa2a1);},'lglBX':function(_0x843ed4,_0x371db6){return _0x843ed4(_0x371db6);},'zwbju':function(_0x39c05f,_0x49863c){return _0x39c05f>_0x49863c;},'AQtbC':function(_0x34c7cf,_0x5554e5){return _0x34c7cf*_0x5554e5;},'ITjxj':function(_0xd3a9fb,_0x304fb8){return _0xd3a9fb/_0x304fb8;},'diTjj':function(_0x3ea8ed,_0x4378a3){return _0x3ea8ed-_0x4378a3;}},_0x4adf71=_0x18ab93[_0x3980a1(0xe7)](join,_0x531eea,METRICS_DIR),_0x53f811=_0x18ab93['lglBX'](readdirSync,_0x4adf71)['filter'](_0x410acf=>_0x410acf[_0x3980a1(0xf5)](_0x3980a1(0xe3)))['map'](_0x4f6815=>JSON[_0x3980a1(0xe8)](readFileSync(join(_0x4adf71,_0x4f6815),'utf-8'))['summary']),_0x3a2e15=_0x53f811['reduce']((_0x34872d,_0x3be725)=>_0x34872d+_0x3be725[_0x3980a1(0xe6)],0x0),_0x2bf7ee=_0x53f811['reduce']((_0x5a1eef,_0x49e083)=>_0x5a1eef+_0x49e083['total_optimized'],0x0),_0x569d03=_0x3a2e15-_0x2bf7ee,_0x3b2dc9={};for(const _0x53d133 of _0x53f811)for(const [_0x2ae3fa,_0x5d579c]of Object['entries'](_0x53d133['rules_triggered']))_0x3b2dc9[_0x2ae3fa]=(_0x3b2dc9[_0x2ae3fa]||0x0)+_0x5d579c;const _0xe63595=_0x53f811['map'](_0x10f17a=>_0x10f17a['started_at'])['sort']();return{'sessions_count':_0x53f811['length'],'total_baseline':_0x3a2e15,'total_optimized':_0x2bf7ee,'total_delta':_0x569d03,'savings_percent':_0x18ab93[_0x3980a1(0xf0)](_0x3a2e15,0x0)?_0x18ab93[_0x3980a1(0xf8)](_0x18ab93[_0x3980a1(0xe5)](_0x569d03,_0x3a2e15),0x64):0x0,'total_prompts':_0x53f811['reduce']((_0x2e6fe3,_0x16f9d5)=>_0x2e6fe3+_0x16f9d5['prompts_count'],0x0),'rules_triggered':_0x3b2dc9,'estimated_cost_saved_usd':_0x569d03/0xf4240*0x3,'period_start':_0xe63595[0x0]||'','period_end':_0xe63595[_0x18ab93[_0x3980a1(0xeb)](_0xe63595[_0x3980a1(0xe4)],0x1)]||''};}
@@ -1 +1 @@
1
- (function(_0x3ea71e,_0x2f6696){const _0x14560d=_0x240f,_0x319bb3=_0x3ea71e();while(!![]){try{const _0x109946=parseInt(_0x14560d(0x172))/0x1*(-parseInt(_0x14560d(0x16d))/0x2)+-parseInt(_0x14560d(0x174))/0x3*(parseInt(_0x14560d(0x165))/0x4)+-parseInt(_0x14560d(0x167))/0x5*(parseInt(_0x14560d(0x171))/0x6)+-parseInt(_0x14560d(0x16f))/0x7*(parseInt(_0x14560d(0x16a))/0x8)+-parseInt(_0x14560d(0x170))/0x9+parseInt(_0x14560d(0x168))/0xa*(parseInt(_0x14560d(0x16b))/0xb)+parseInt(_0x14560d(0x16c))/0xc;if(_0x109946===_0x2f6696)break;else _0x319bb3['push'](_0x319bb3['shift']());}catch(_0x212de1){_0x319bb3['push'](_0x319bb3['shift']());}}}(_0x9234,0xc62ae));function _0x240f(_0xe7a8f1,_0x4c8431){_0xe7a8f1=_0xe7a8f1-0x164;const _0x9234ca=_0x9234();let _0x240f19=_0x9234ca[_0xe7a8f1];return _0x240f19;}function _0x9234(){const _0x1c0671=['getRanking','3736lQyqTF','838387hSZtkI','24693696rnmfNs','64DyivHJ','fires','4613LkskVI','6662052mBanqc','338562yceEnc','24021WeOsMB','totalTokensSaved','24JdyMRX','rule','80440LeofVv','stringify','50TpGPPC','170qVzTbU'];_0x9234=function(){return _0x1c0671;};return _0x9234();}import{RuleAnalytics}from'./rule-analytics.js';export function serializeAnalytics(_0x5e4777){const _0x55fbd2=_0x240f,_0x52182c=_0x5e4777[_0x55fbd2(0x169)]()['map'](_0x50c0b9=>({'rule':_0x50c0b9[_0x55fbd2(0x164)],'fires':_0x50c0b9[_0x55fbd2(0x16e)],'totalTokensSaved':_0x50c0b9['totalTokensSaved']}));return JSON[_0x55fbd2(0x166)](_0x52182c);}export function deserializeAnalytics(_0x2f014e){const _0x3d94c2=_0x240f,_0x5d7144={'kDaDn':function(_0x5afcad,_0x486d85){return _0x5afcad>_0x486d85;}},_0x5d6f53=new RuleAnalytics();try{const _0x5bf5c0=JSON['parse'](_0x2f014e);for(const _0xf874ca of _0x5bf5c0){const _0x4c4716=_0x5d7144['kDaDn'](_0xf874ca[_0x3d94c2(0x16e)],0x0)?Math['round'](_0xf874ca[_0x3d94c2(0x173)]/_0xf874ca['fires']):0x0;for(let _0x696041=0x0;_0x696041<_0xf874ca[_0x3d94c2(0x16e)];_0x696041++)_0x5d6f53['recordFire'](_0xf874ca[_0x3d94c2(0x164)],_0x4c4716);}}catch{}return _0x5d6f53;}
1
+ (function(_0x2bb920,_0x5513dc){const _0x356664=_0x2741,_0x5b18de=_0x2bb920();while(!![]){try{const _0x32f413=-parseInt(_0x356664(0x1c6))/0x1*(parseInt(_0x356664(0x1c5))/0x2)+parseInt(_0x356664(0x1ce))/0x3+parseInt(_0x356664(0x1ca))/0x4+-parseInt(_0x356664(0x1cb))/0x5*(parseInt(_0x356664(0x1cc))/0x6)+parseInt(_0x356664(0x1c9))/0x7+-parseInt(_0x356664(0x1c8))/0x8*(parseInt(_0x356664(0x1c7))/0x9)+parseInt(_0x356664(0x1cd))/0xa*(parseInt(_0x356664(0x1d2))/0xb);if(_0x32f413===_0x5513dc)break;else _0x5b18de['push'](_0x5b18de['shift']());}catch(_0x1cbabe){_0x5b18de['push'](_0x5b18de['shift']());}}}(_0x2009,0x77845));import{RuleAnalytics}from'./rule-analytics.js';export function serializeAnalytics(_0x25c7b0){const _0xd6d6c8=_0x2741,_0x7fbb28=_0x25c7b0['getRanking']()['map'](_0xda7353=>({'rule':_0xda7353[_0xd6d6c8(0x1c4)],'fires':_0xda7353['fires'],'totalTokensSaved':_0xda7353[_0xd6d6c8(0x1c3)]}));return JSON[_0xd6d6c8(0x1d1)](_0x7fbb28);}function _0x2741(_0x54d28f,_0x586d2a){_0x54d28f=_0x54d28f-0x1c1;const _0x200973=_0x2009();let _0x2741eb=_0x200973[_0x54d28f];return _0x2741eb;}export function deserializeAnalytics(_0x78ef66){const _0x1dd5fc=_0x2741,_0x248523={'FVWST':function(_0x27bd05,_0x475a6e){return _0x27bd05/_0x475a6e;}},_0x499b94=new RuleAnalytics();try{const _0x5abcf9=JSON['parse'](_0x78ef66);for(const _0x5c76ea of _0x5abcf9){const _0x14eab5=_0x5c76ea[_0x1dd5fc(0x1c1)]>0x0?Math[_0x1dd5fc(0x1cf)](_0x248523[_0x1dd5fc(0x1c2)](_0x5c76ea[_0x1dd5fc(0x1c3)],_0x5c76ea[_0x1dd5fc(0x1c1)])):0x0;for(let _0x4bdd82=0x0;_0x4bdd82<_0x5c76ea['fires'];_0x4bdd82++)_0x499b94[_0x1dd5fc(0x1d0)](_0x5c76ea['rule'],_0x14eab5);}}catch{}return _0x499b94;}function _0x2009(){const _0x3c6e4f=['30aXkLud','1727910KwCFDc','round','recordFire','stringify','535898RwhuOq','fires','FVWST','totalTokensSaved','rule','4tcGUZE','229253MwWQSb','3932757NqBACH','8DbsiDV','6026412ZjpluR','1962696rEOHyA','10GRkcYW','2066082mSlHqN'];_0x2009=function(){return _0x3c6e4f;};return _0x2009();}
@@ -1 +1 @@
1
- function _0x3c51(_0x5d951a,_0x5cafb5){_0x5d951a=_0x5d951a-0x16c;const _0x501d58=_0x501d();let _0x3c51a1=_0x501d58[_0x5d951a];return _0x3c51a1;}const _0x13cc4a=_0x3c51;(function(_0x2276f3,_0x2d6243){const _0x45839e=_0x3c51,_0x417a7d=_0x2276f3();while(!![]){try{const _0x20a496=parseInt(_0x45839e(0x17b))/0x1+parseInt(_0x45839e(0x17a))/0x2+parseInt(_0x45839e(0x177))/0x3+parseInt(_0x45839e(0x173))/0x4*(-parseInt(_0x45839e(0x170))/0x5)+parseInt(_0x45839e(0x17c))/0x6*(-parseInt(_0x45839e(0x16f))/0x7)+-parseInt(_0x45839e(0x16c))/0x8*(-parseInt(_0x45839e(0x171))/0x9)+-parseInt(_0x45839e(0x174))/0xa;if(_0x20a496===_0x2d6243)break;else _0x417a7d['push'](_0x417a7d['shift']());}catch(_0x55e157){_0x417a7d['push'](_0x417a7d['shift']());}}}(_0x501d,0x8ae03));function _0x501d(){const _0x48c6fb=['getStats','1485784bpGply','13394390IYCEpg','avgTokensSaved','getRanking','906858ttHCdP','map','round','1182180oQtIor','941668lxjhkf','208914mTtbtd','7921736RJzoOT','totalTokensSaved','data','35xBsgCm','10gbpIBm','9IIMaSg'];_0x501d=function(){return _0x48c6fb;};return _0x501d();}export class RuleAnalytics{['data']=new Map();['recordFire'](_0x33ab27,_0x11cf55){const _0x5ba9ad=_0x3c51,_0x3367f1=this[_0x5ba9ad(0x16e)]['get'](_0x33ab27)??{'fires':0x0,'totalTokensSaved':0x0};_0x3367f1['fires']++,_0x3367f1[_0x5ba9ad(0x16d)]+=_0x11cf55,this['data']['set'](_0x33ab27,_0x3367f1);}[_0x13cc4a(0x172)](_0x38a312){const _0xf25522=_0x13cc4a,_0x36d9a9=this[_0xf25522(0x16e)]['get'](_0x38a312);return _0x36d9a9?{'rule':_0x38a312,'fires':_0x36d9a9['fires'],'totalTokensSaved':_0x36d9a9[_0xf25522(0x16d)],'avgTokensSaved':Math[_0xf25522(0x179)](_0x36d9a9[_0xf25522(0x16d)]/_0x36d9a9['fires'])}:{'rule':_0x38a312,'fires':0x0,'totalTokensSaved':0x0,'avgTokensSaved':0x0};}[_0x13cc4a(0x176)](){const _0x2105d6=_0x13cc4a;return Array['from'](this['data']['keys']())[_0x2105d6(0x178)](_0x3b5fa9=>this['getStats'](_0x3b5fa9))['sort']((_0x3414f7,_0x21ad7f)=>_0x21ad7f[_0x2105d6(0x175)]-_0x3414f7['avgTokensSaved']);}}
1
+ const _0x21ef14=_0x1b29;(function(_0x225a8f,_0x3027d8){const _0x451ec3=_0x1b29,_0x4fb444=_0x225a8f();while(!![]){try{const _0x6d09=parseInt(_0x451ec3(0xfb))/0x1+-parseInt(_0x451ec3(0xf0))/0x2+parseInt(_0x451ec3(0xf3))/0x3*(-parseInt(_0x451ec3(0xf8))/0x4)+-parseInt(_0x451ec3(0xfc))/0x5+parseInt(_0x451ec3(0xf7))/0x6*(parseInt(_0x451ec3(0xef))/0x7)+parseInt(_0x451ec3(0xf5))/0x8+-parseInt(_0x451ec3(0xfa))/0x9*(-parseInt(_0x451ec3(0xf4))/0xa);if(_0x6d09===_0x3027d8)break;else _0x4fb444['push'](_0x4fb444['shift']());}catch(_0x238259){_0x4fb444['push'](_0x4fb444['shift']());}}}(_0x7f97,0x47948));function _0x7f97(){const _0x435ae1=['414656IfCiBS','data','totalTokensSaved','48570RItdDw','174410ayYrWm','2090688HWkvhV','set','234Iryfsz','24MmrUAU','from','162xLEtKj','89560HJskma','2894465rmjAfK','avgTokensSaved','recordFire','91847oFyGSp'];_0x7f97=function(){return _0x435ae1;};return _0x7f97();}function _0x1b29(_0x506e57,_0x1a29dd){_0x506e57=_0x506e57-0xee;const _0x7f976=_0x7f97();let _0x1b2993=_0x7f976[_0x506e57];return _0x1b2993;}export class RuleAnalytics{[_0x21ef14(0xf1)]=new Map();[_0x21ef14(0xee)](_0x570e10,_0x2eadaa){const _0x14d1b0=_0x21ef14,_0x21cdae=this[_0x14d1b0(0xf1)]['get'](_0x570e10)??{'fires':0x0,'totalTokensSaved':0x0};_0x21cdae['fires']++,_0x21cdae[_0x14d1b0(0xf2)]+=_0x2eadaa,this['data'][_0x14d1b0(0xf6)](_0x570e10,_0x21cdae);}['getStats'](_0x398c86){const _0x163cb8=_0x21ef14,_0x5d4a50=this[_0x163cb8(0xf1)]['get'](_0x398c86);return _0x5d4a50?{'rule':_0x398c86,'fires':_0x5d4a50['fires'],'totalTokensSaved':_0x5d4a50[_0x163cb8(0xf2)],'avgTokensSaved':Math['round'](_0x5d4a50['totalTokensSaved']/_0x5d4a50['fires'])}:{'rule':_0x398c86,'fires':0x0,'totalTokensSaved':0x0,'avgTokensSaved':0x0};}['getRanking'](){const _0x30a5d6=_0x21ef14;return Array[_0x30a5d6(0xf9)](this[_0x30a5d6(0xf1)]['keys']())['map'](_0x124922=>this['getStats'](_0x124922))['sort']((_0xac534b,_0x504bf7)=>_0x504bf7['avgTokensSaved']-_0xac534b[_0x30a5d6(0xfd)]);}}
@@ -1 +1 @@
1
- const _0x557596=_0x58fc;function _0x58fc(_0x3e24d8,_0x12d4ba){_0x3e24d8=_0x3e24d8-0x1f4;const _0x478cb4=_0x478c();let _0x58fc03=_0x478cb4[_0x3e24d8];return _0x58fc03;}function _0x478c(){const _0x51006d=['8413668XUbbmi','metering','228SbkOla','config','6083526tsJRkr','1449738yNsReM','rules','filter','5696586DYrktM','includes','limits','1ivjjeg','4169992WxKyzB','meteringConfig','36715DssgVM','145846LWqbRw','toLowerCase'];_0x478c=function(){return _0x51006d;};return _0x478c();}(function(_0x501cd1,_0x242132){const _0x338d31=_0x58fc,_0x10c62f=_0x501cd1();while(!![]){try{const _0x19d692=parseInt(_0x338d31(0x1fa))/0x1*(-parseInt(_0x338d31(0x1fe))/0x2)+parseInt(_0x338d31(0x1f4))/0x3+-parseInt(_0x338d31(0x202))/0x4*(-parseInt(_0x338d31(0x1fd))/0x5)+parseInt(_0x338d31(0x204))/0x6+-parseInt(_0x338d31(0x1f7))/0x7+parseInt(_0x338d31(0x1fb))/0x8+-parseInt(_0x338d31(0x200))/0x9;if(_0x19d692===_0x242132)break;else _0x10c62f['push'](_0x10c62f['shift']());}catch(_0x1596e1){_0x10c62f['push'](_0x10c62f['shift']());}}}(_0x478c,0x963e2));export class RuleEngine{[_0x557596(0x1f5)];[_0x557596(0x1f9)];['config'];constructor(_0x33dda1){const _0x3aac32=_0x557596;this[_0x3aac32(0x203)]=_0x33dda1,this['rules']=_0x33dda1[_0x3aac32(0x1f5)],this['limits']=_0x33dda1['context_limits'];}['match'](_0x871ce0){const _0x3c52b6=_0x557596,_0x13d74a=_0x871ce0[_0x3c52b6(0x1ff)]();return this[_0x3c52b6(0x1f5)][_0x3c52b6(0x1f6)](_0x29b796=>_0x29b796['trigger']['some'](_0x506c56=>_0x13d74a[_0x3c52b6(0x1f8)](_0x506c56['toLowerCase']())));}get[_0x557596(0x1fc)](){const _0x519bfc=_0x557596;return this[_0x519bfc(0x203)][_0x519bfc(0x201)];}}
1
+ function _0x3a04(_0x2e9810,_0x5d159b){_0x2e9810=_0x2e9810-0xd9;const _0x29636b=_0x2963();let _0x3a0484=_0x29636b[_0x2e9810];return _0x3a0484;}const _0x5b99f4=_0x3a04;function _0x2963(){const _0x38206b=['limits','55660680aBCLLG','config','filter','some','4726530xgAhcv','toLowerCase','1604568VeMzCM','932035sXxxem','10315932spWxki','230sLAWYb','metering','9qnjUbL','rules','8OOzeuz','meteringConfig','includes','context_limits','1714afdxlf','5156165KJqQjc','30hHkieG','8mKsCIu'];_0x2963=function(){return _0x38206b;};return _0x2963();}(function(_0x2c56db,_0x51c67a){const _0x3bf0a3=_0x3a04,_0x46524c=_0x2c56db();while(!![]){try{const _0x37cc2e=parseInt(_0x3bf0a3(0xdc))/0x1*(parseInt(_0x3bf0a3(0xea))/0x2)+parseInt(_0x3bf0a3(0xe7))/0x3*(-parseInt(_0x3bf0a3(0xee))/0x4)+parseInt(_0x3bf0a3(0xe8))/0x5*(-parseInt(_0x3bf0a3(0xde))/0x6)+-parseInt(_0x3bf0a3(0xdd))/0x7*(parseInt(_0x3bf0a3(0xdf))/0x8)+-parseInt(_0x3bf0a3(0xec))/0x9*(parseInt(_0x3bf0a3(0xe5))/0xa)+-parseInt(_0x3bf0a3(0xe9))/0xb+parseInt(_0x3bf0a3(0xe1))/0xc;if(_0x37cc2e===_0x51c67a)break;else _0x46524c['push'](_0x46524c['shift']());}catch(_0xdb971d){_0x46524c['push'](_0x46524c['shift']());}}}(_0x2963,0xa7a65));export class RuleEngine{[_0x5b99f4(0xed)];[_0x5b99f4(0xe0)];[_0x5b99f4(0xe2)];constructor(_0x35e388){const _0x25d525=_0x5b99f4;this[_0x25d525(0xe2)]=_0x35e388,this['rules']=_0x35e388['rules'],this['limits']=_0x35e388[_0x25d525(0xdb)];}['match'](_0x1773d7){const _0x4062f=_0x5b99f4,_0x17ae8e=_0x1773d7[_0x4062f(0xe6)]();return this['rules'][_0x4062f(0xe3)](_0x4276d0=>_0x4276d0['trigger'][_0x4062f(0xe4)](_0x3474b9=>_0x17ae8e[_0x4062f(0xda)](_0x3474b9['toLowerCase']())));}get[_0x5b99f4(0xd9)](){const _0x37d720=_0x5b99f4;return this[_0x37d720(0xe2)][_0x37d720(0xeb)];}}
@@ -1 +1 @@
1
- function _0xf142(_0x6e23b9,_0x371336){_0x6e23b9=_0x6e23b9-0x19b;const _0x44b650=_0x44b6();let _0xf14256=_0x44b650[_0x6e23b9];return _0xf14256;}(function(_0x5eb719,_0x590b12){const _0x4e736d=_0xf142,_0x2b4fa5=_0x5eb719();while(!![]){try{const _0x3d51d9=-parseInt(_0x4e736d(0x1ab))/0x1+-parseInt(_0x4e736d(0x1aa))/0x2+parseInt(_0x4e736d(0x1b3))/0x3+parseInt(_0x4e736d(0x19b))/0x4+parseInt(_0x4e736d(0x1b0))/0x5*(-parseInt(_0x4e736d(0x1a7))/0x6)+parseInt(_0x4e736d(0x1a0))/0x7*(parseInt(_0x4e736d(0x1b2))/0x8)+parseInt(_0x4e736d(0x1a2))/0x9;if(_0x3d51d9===_0x590b12)break;else _0x2b4fa5['push'](_0x2b4fa5['shift']());}catch(_0x29c8f2){_0x2b4fa5['push'](_0x2b4fa5['shift']());}}}(_0x44b6,0x5468d));import _0x374778 from'js-yaml';function _0x44b6(){const _0x6f8000=['535413ZcccGc','922388zHvSaD','object','Zeaix','NdZQC','length','7PMSOII','IrdHl','3079701mWYSpt','dump','invalid\x20YAML\x20structure','bundle\x20must\x20contain\x20rules\x20array','imported','2328CsFjya','name','load','843814jCwjcN','364833vVAQtd','summary_only','description','rules','map','2125czixWu','author','4368992jEVbfO'];_0x44b6=function(){return _0x6f8000;};return _0x44b6();}export function exportRuleBundle(_0x4c178e,_0x30888b){const _0x5e6ae3=_0xf142,_0x3cdd60={'Zeaix':'custom-rules'},_0x12bb82={'name':_0x30888b[_0x5e6ae3(0x1a8)]??_0x3cdd60[_0x5e6ae3(0x19d)],'author':_0x30888b[_0x5e6ae3(0x1b1)],'description':_0x30888b['description'],'rules':_0x4c178e};return _0x374778[_0x5e6ae3(0x1a3)](_0x12bb82,{'lineWidth':0x78});}export function importRuleBundle(_0x4b9908){const _0x249b06=_0xf142,_0x5c64d2={'NdZQC':_0x249b06(0x1a6)},_0x23e04f=_0x374778['load'](_0x4b9908);return{'name':_0x23e04f['name']??_0x5c64d2[_0x249b06(0x19e)],'author':_0x23e04f['author']??'unknown','description':_0x23e04f[_0x249b06(0x1ad)]??'','rules':(_0x23e04f['rules']??[])[_0x249b06(0x1af)](_0x569d63=>({'trigger':_0x569d63['trigger'],'load':_0x569d63['load'],'max_tokens':_0x569d63['max_tokens'],'summary_only':_0x569d63[_0x249b06(0x1ac)]}))};}export function validateRuleBundle(_0x2481a3){const _0x2ed2d5=_0xf142,_0x2fd87b={'IrdHl':_0x2ed2d5(0x19c),'pDfZz':_0x2ed2d5(0x1a4),'bNXuW':function(_0x2be51d,_0x2283c2){return _0x2be51d===_0x2283c2;}};try{const _0x1b3239=_0x374778[_0x2ed2d5(0x1a9)](_0x2481a3);if(!_0x1b3239||_0x2fd87b[_0x2ed2d5(0x1a1)]!=typeof _0x1b3239)return{'valid':!0x1,'error':_0x2fd87b['pDfZz']};if(!Array['isArray'](_0x1b3239['rules'])||_0x2fd87b['bNXuW'](0x0,_0x1b3239['rules'][_0x2ed2d5(0x19f)]))return{'valid':!0x1,'error':_0x2ed2d5(0x1a5)};for(const _0x5b897e of _0x1b3239[_0x2ed2d5(0x1ae)])if(!Array['isArray'](_0x5b897e['trigger'])||!_0x5b897e['load'])return{'valid':!0x1,'error':'each\x20rule\x20must\x20have\x20trigger\x20array\x20and\x20load\x20path'};return{'valid':!0x0};}catch{return{'valid':!0x1,'error':'invalid\x20YAML'};}}
1
+ (function(_0x5d4e84,_0xb7d47c){const _0x47b847=_0x5dd6,_0x4cf3fe=_0x5d4e84();while(!![]){try{const _0xab0e6e=-parseInt(_0x47b847(0x1df))/0x1+-parseInt(_0x47b847(0x1ef))/0x2*(parseInt(_0x47b847(0x1dd))/0x3)+parseInt(_0x47b847(0x1e4))/0x4+parseInt(_0x47b847(0x1e6))/0x5+-parseInt(_0x47b847(0x1eb))/0x6+parseInt(_0x47b847(0x1da))/0x7*(-parseInt(_0x47b847(0x1e9))/0x8)+parseInt(_0x47b847(0x1d9))/0x9;if(_0xab0e6e===_0xb7d47c)break;else _0x4cf3fe['push'](_0x4cf3fe['shift']());}catch(_0x489b53){_0x4cf3fe['push'](_0x4cf3fe['shift']());}}}(_0x4170,0xc12ea));import _0x162ec6 from'js-yaml';export function exportRuleBundle(_0x3b6d21,_0x3a0ff5){const _0x507be6=_0x5dd6,_0x83e4e1={'rkHgw':_0x507be6(0x1f2)},_0x29ec0c={'name':_0x3a0ff5[_0x507be6(0x1db)]??_0x83e4e1[_0x507be6(0x1dc)],'author':_0x3a0ff5['author'],'description':_0x3a0ff5['description'],'rules':_0x3b6d21};return _0x162ec6[_0x507be6(0x1de)](_0x29ec0c,{'lineWidth':0x78});}function _0x5dd6(_0x56cad6,_0x5ea0df){_0x56cad6=_0x56cad6-0x1d9;const _0x4170e3=_0x4170();let _0x5dd67a=_0x4170e3[_0x56cad6];return _0x5dd67a;}export function importRuleBundle(_0x5b2e8c){const _0x54abc4=_0x5dd6,_0x39fbd6={'FSDMu':'unknown'},_0x1d2361=_0x162ec6[_0x54abc4(0x1ec)](_0x5b2e8c);return{'name':_0x1d2361[_0x54abc4(0x1db)]??'imported','author':_0x1d2361['author']??_0x39fbd6[_0x54abc4(0x1ea)],'description':_0x1d2361['description']??'','rules':(_0x1d2361['rules']??[])['map'](_0x11cb17=>({'trigger':_0x11cb17[_0x54abc4(0x1e7)],'load':_0x11cb17['load'],'max_tokens':_0x11cb17[_0x54abc4(0x1f0)],'summary_only':_0x11cb17[_0x54abc4(0x1e2)]}))};}export function validateRuleBundle(_0x5ec3ff){const _0x5e0a3e=_0x5dd6,_0x16e126={'MIxOk':_0x5e0a3e(0x1ed),'XzUdc':_0x5e0a3e(0x1e8),'TTSqw':function(_0x26873e,_0x4a961a){return _0x26873e===_0x4a961a;},'OdlAA':_0x5e0a3e(0x1f1),'VNBYW':'each\x20rule\x20must\x20have\x20trigger\x20array\x20and\x20load\x20path','yfLcB':_0x5e0a3e(0x1e3)};try{const _0x19515c=_0x162ec6[_0x5e0a3e(0x1ec)](_0x5ec3ff);if(!_0x19515c||_0x16e126['MIxOk']!=typeof _0x19515c)return{'valid':!0x1,'error':_0x16e126['XzUdc']};if(!Array[_0x5e0a3e(0x1e5)](_0x19515c[_0x5e0a3e(0x1ee)])||_0x16e126['TTSqw'](0x0,_0x19515c['rules'][_0x5e0a3e(0x1e1)]))return{'valid':!0x1,'error':_0x16e126['OdlAA']};for(const _0x3a55e2 of _0x19515c[_0x5e0a3e(0x1ee)])if(!Array[_0x5e0a3e(0x1e5)](_0x3a55e2[_0x5e0a3e(0x1e7)])||!_0x3a55e2['load'])return{'valid':!0x1,'error':_0x16e126[_0x5e0a3e(0x1e0)]};return{'valid':!0x0};}catch{return{'valid':!0x1,'error':_0x16e126['yfLcB']};}}function _0x4170(){const _0x1577ab=['36854lrQVgL','max_tokens','bundle\x20must\x20contain\x20rules\x20array','custom-rules','26593488hfdKMV','28HNMFhl','name','rkHgw','150xRxpHJ','dump','1369661jjeMOE','VNBYW','length','summary_only','invalid\x20YAML','5357744PhafNL','isArray','5296785fsvOhP','trigger','invalid\x20YAML\x20structure','2277976RPtqfE','FSDMu','6794112tywpRA','load','object','rules'];_0x4170=function(){return _0x1577ab;};return _0x4170();}
@@ -1 +1 @@
1
- const _0x31ccd8=_0x442f;(function(_0x589817,_0xad791d){const _0x746b5d=_0x442f,_0x3dd5b7=_0x589817();while(!![]){try{const _0x2103ea=-parseInt(_0x746b5d(0x158))/0x1+parseInt(_0x746b5d(0x153))/0x2*(-parseInt(_0x746b5d(0x164))/0x3)+parseInt(_0x746b5d(0x14b))/0x4+-parseInt(_0x746b5d(0x161))/0x5+parseInt(_0x746b5d(0x159))/0x6+parseInt(_0x746b5d(0x149))/0x7*(parseInt(_0x746b5d(0x15d))/0x8)+parseInt(_0x746b5d(0x165))/0x9;if(_0x2103ea===_0xad791d)break;else _0x3dd5b7['push'](_0x3dd5b7['shift']());}catch(_0xede086){_0x3dd5b7['push'](_0x3dd5b7['shift']());}}}(_0xee6d,0x91d3f));function _0xee6d(){const _0x3e480e=['56odXKBj','was','/*.md','and','sort','1068091wliEGa','2001432fEbHvN','set','add','are','13712RmYQpa','from','that','docs/','4682020BiJqTf','the','our','8658UWrhks','7771068FANeWj','4438ftcTYB','were','1595656SNmOnJ','has','for','toLowerCase','entries','replace','but','get'];_0xee6d=function(){return _0x3e480e;};return _0xee6d();}const STOP_WORDS=new Set([_0x31ccd8(0x162),'a','an','is',_0x31ccd8(0x15c),_0x31ccd8(0x154),_0x31ccd8(0x14a),'be','been','to','of','in',_0x31ccd8(0x14d),'on','with','at','by',_0x31ccd8(0x15e),'it','this',_0x31ccd8(0x15f),_0x31ccd8(0x156),'or',_0x31ccd8(0x151),'not','no','i','my','me','we',_0x31ccd8(0x163),'you','your']);function _0x442f(_0x20b415,_0x317a7e){_0x20b415=_0x20b415-0x149;const _0xee6d28=_0xee6d();let _0x442fc5=_0xee6d28[_0x20b415];return _0x442fc5;}export function suggestRules(_0x242608,_0x241aaf,_0x26afae){const _0x13f65a=_0x31ccd8,_0x688244={'ZREgD':function(_0xc468a0,_0x3ba436){return _0xc468a0<_0x3ba436;}},_0x19d4be=new Set();for(const _0x20017f of _0x242608)for(const _0x21d886 of _0x20017f['trigger'])_0x19d4be[_0x13f65a(0x15b)](_0x21d886[_0x13f65a(0x14e)]());const _0x21be4b=new Map();for(const _0x4cc551 of _0x241aaf){const _0x55dc8b=_0x4cc551['toLowerCase']()['split'](/\s+/);for(const _0x22e0e5 of _0x55dc8b){const _0x33c048=_0x22e0e5[_0x13f65a(0x150)](/[^a-z0-9-]/g,'');_0x688244['ZREgD'](_0x33c048['length'],0x3)||STOP_WORDS['has'](_0x33c048)||_0x19d4be[_0x13f65a(0x14c)](_0x33c048)||_0x21be4b[_0x13f65a(0x15a)](_0x33c048,(_0x21be4b[_0x13f65a(0x152)](_0x33c048)??0x0)+0x1);}}return Array['from'](_0x21be4b[_0x13f65a(0x14f)]())['filter'](([,_0xdf34a1])=>_0xdf34a1>=_0x26afae)[_0x13f65a(0x157)](([,_0x5198f1],[,_0x415a7b])=>_0x415a7b-_0x5198f1)['map'](([_0x5f39c0,_0x9b1d42])=>({'keyword':_0x5f39c0,'frequency':_0x9b1d42,'suggestedLoad':_0x13f65a(0x160)+_0x5f39c0+_0x13f65a(0x155)}));}
1
+ const _0x8803b1=_0x1965;(function(_0x2271b1,_0xf21d76){const _0x49e6f3=_0x1965,_0x5edb51=_0x2271b1();while(!![]){try{const _0x1a0f47=-parseInt(_0x49e6f3(0x16f))/0x1+parseInt(_0x49e6f3(0x169))/0x2*(parseInt(_0x49e6f3(0x17b))/0x3)+parseInt(_0x49e6f3(0x178))/0x4*(-parseInt(_0x49e6f3(0x174))/0x5)+-parseInt(_0x49e6f3(0x17d))/0x6*(parseInt(_0x49e6f3(0x16b))/0x7)+-parseInt(_0x49e6f3(0x170))/0x8*(-parseInt(_0x49e6f3(0x17a))/0x9)+parseInt(_0x49e6f3(0x176))/0xa+-parseInt(_0x49e6f3(0x175))/0xb*(parseInt(_0x49e6f3(0x168))/0xc);if(_0x1a0f47===_0xf21d76)break;else _0x5edb51['push'](_0x5edb51['shift']());}catch(_0x4141c2){_0x5edb51['push'](_0x5edb51['shift']());}}}(_0x5e33,0xaeba2));const STOP_WORDS=new Set([_0x8803b1(0x171),'a','an','is','are',_0x8803b1(0x16d),'were','be',_0x8803b1(0x184),'to','of','in',_0x8803b1(0x17c),'on',_0x8803b1(0x183),'at','by',_0x8803b1(0x167),'it','this','that',_0x8803b1(0x185),'or',_0x8803b1(0x180),_0x8803b1(0x16a),'no','i','my','me','we','our','you',_0x8803b1(0x17f)]);export function suggestRules(_0x443145,_0x259d32,_0x1e2fbf){const _0xe45a11=_0x8803b1,_0x3f7257=new Set();for(const _0xbe350e of _0x443145)for(const _0x1f3c8e of _0xbe350e[_0xe45a11(0x179)])_0x3f7257['add'](_0x1f3c8e['toLowerCase']());const _0x3f6cde=new Map();for(const _0xbb8756 of _0x259d32){const _0x3c3034=_0xbb8756[_0xe45a11(0x181)]()['split'](/\s+/);for(const _0x43ef07 of _0x3c3034){const _0x279d34=_0x43ef07['replace'](/[^a-z0-9-]/g,'');_0x279d34['length']<0x3||STOP_WORDS[_0xe45a11(0x172)](_0x279d34)||_0x3f7257['has'](_0x279d34)||_0x3f6cde[_0xe45a11(0x177)](_0x279d34,(_0x3f6cde[_0xe45a11(0x16e)](_0x279d34)??0x0)+0x1);}}return Array[_0xe45a11(0x167)](_0x3f6cde[_0xe45a11(0x173)]())['filter'](([,_0x1d9851])=>_0x1d9851>=_0x1e2fbf)[_0xe45a11(0x16c)](([,_0x234251],[,_0x21a944])=>_0x21a944-_0x234251)['map'](([_0x4776ba,_0x230643])=>({'keyword':_0x4776ba,'frequency':_0x230643,'suggestedLoad':_0xe45a11(0x17e)+_0x4776ba+_0xe45a11(0x182)}));}function _0x1965(_0x1a740b,_0x2fcc1f){_0x1a740b=_0x1a740b-0x167;const _0x5e3311=_0x5e33();let _0x196542=_0x5e3311[_0x1a740b];return _0x196542;}function _0x5e33(){const _0xd0b565=['set','11212ZGuXQQ','trigger','63EoXNGV','3977445aVVNNm','for','4374498kPjcfG','docs/','your','but','toLowerCase','/*.md','with','been','and','from','12CaOmmN','2TCAOtT','not','7LlIGFC','sort','was','get','1409373JIjtsx','1419216cVWlSu','the','has','entries','540kUpXwE','2637349aRWsyh','8289920LDGEAh'];_0x5e33=function(){return _0xd0b565;};return _0x5e33();}
@@ -1 +1 @@
1
- (function(_0x307964,_0x38ede7){const _0x51bfb5=_0x2a2c,_0x4b1a6a=_0x307964();while(!![]){try{const _0x44b6ea=parseInt(_0x51bfb5(0x180))/0x1*(-parseInt(_0x51bfb5(0x171))/0x2)+parseInt(_0x51bfb5(0x17a))/0x3+-parseInt(_0x51bfb5(0x167))/0x4*(parseInt(_0x51bfb5(0x181))/0x5)+-parseInt(_0x51bfb5(0x17d))/0x6+parseInt(_0x51bfb5(0x173))/0x7*(-parseInt(_0x51bfb5(0x169))/0x8)+-parseInt(_0x51bfb5(0x17f))/0x9+parseInt(_0x51bfb5(0x16a))/0xa*(parseInt(_0x51bfb5(0x177))/0xb);if(_0x44b6ea===_0x38ede7)break;else _0x4b1a6a['push'](_0x4b1a6a['shift']());}catch(_0x391934){_0x4b1a6a['push'](_0x4b1a6a['shift']());}}}(_0x1b74,0x341ba));import{execSync}from'node:child_process';function _0x1b74(){const _0x1c6ec7=['4iCOJIS','pipe','1125166EuukbN','DNA\x203:\x20','git\x20branch\x20--show-current','XOrlp','10799371mCgxfr','MUjrl','\x20|\x20','259446kRMCeD','push','dzBZT','838938mhCRfn','_template.md','921150jUAOOh','115969uboLdC','2350HjUGiM','1872zNxWRT','utf-8','8QvwHih','10EsIwxU','qUCSp','git\x20log\x20--oneline\x20-1','filter','length','SuOPl','trim'];_0x1b74=function(){return _0x1c6ec7;};return _0x1b74();}function _0x2a2c(_0xd250b2,_0x380b5a){_0xd250b2=_0xd250b2-0x167;const _0x1b7484=_0x1b74();let _0x2a2cd6=_0x1b7484[_0xd250b2];return _0x2a2cd6;}import{readdirSync}from'node:fs';import{join}from'node:path';export function buildSessionStartContext(_0x2a4ee9){const _0x3d3501=_0x2a2c,_0x57428f={'MUjrl':function(_0xb8168e,_0x26e47b,_0x4890a4){return _0xb8168e(_0x26e47b,_0x4890a4);},'QZCGu':_0x3d3501(0x175),'QenqS':_0x3d3501(0x168),'SuOPl':'pipe','dzBZT':'detached','qUCSp':function(_0x4dee89,_0x250d8a,_0xc50afc){return _0x4dee89(_0x250d8a,_0xc50afc);},'ujStN':'docs/lessons-learned','XOrlp':function(_0xb391db,_0x300485){return _0xb391db>_0x300485;}},{cwd:_0x451eb0}=_0x2a4ee9;if(!_0x451eb0)return{};const _0x586864=[];try{const _0xdc62d3=_0x57428f[_0x3d3501(0x178)](execSync,_0x57428f['QZCGu'],{'cwd':_0x451eb0,'encoding':_0x57428f['QenqS'],'stdio':[_0x57428f['SuOPl'],_0x3d3501(0x172),_0x3d3501(0x172)]})[_0x3d3501(0x170)]()||_0x57428f[_0x3d3501(0x17c)],_0x1128c8=_0x57428f['MUjrl'](execSync,_0x3d3501(0x16c),{'cwd':_0x451eb0,'encoding':'utf-8','stdio':[_0x3d3501(0x172),_0x57428f[_0x3d3501(0x16f)],_0x57428f[_0x3d3501(0x16f)]]})[_0x3d3501(0x170)]();_0x586864[_0x3d3501(0x17b)]('Git:\x20'+_0xdc62d3+_0x3d3501(0x179)+_0x1128c8);}catch{}try{const _0x4ab543=_0x57428f[_0x3d3501(0x16b)](join,_0x451eb0,_0x57428f['ujStN']),_0x232b98=readdirSync(_0x4ab543)[_0x3d3501(0x16d)](_0x168a66=>_0x168a66['endsWith']('.md')&&_0x3d3501(0x17e)!==_0x168a66);_0x57428f[_0x3d3501(0x176)](_0x232b98['length'],0x0)&&_0x586864[_0x3d3501(0x17b)](_0x3d3501(0x174)+_0x232b98['length']+'\x20Lessons\x20Learned\x20vorhanden\x20in\x20docs/lessons-learned/');}catch{}return 0x0===_0x586864[_0x3d3501(0x16e)]?{}:{'additionalContext':_0x586864['join']('\x0a')};}
1
+ (function(_0xab915,_0x294b41){const _0x41cfbb=_0x104a,_0x3a4966=_0xab915();while(!![]){try{const _0x1048b0=-parseInt(_0x41cfbb(0x1ab))/0x1*(-parseInt(_0x41cfbb(0x1a6))/0x2)+parseInt(_0x41cfbb(0x1ae))/0x3+-parseInt(_0x41cfbb(0x1b0))/0x4+parseInt(_0x41cfbb(0x1a4))/0x5+-parseInt(_0x41cfbb(0x1a9))/0x6+-parseInt(_0x41cfbb(0x1b3))/0x7+-parseInt(_0x41cfbb(0x1b2))/0x8*(-parseInt(_0x41cfbb(0x1a7))/0x9);if(_0x1048b0===_0x294b41)break;else _0x3a4966['push'](_0x3a4966['shift']());}catch(_0x3e272c){_0x3a4966['push'](_0x3a4966['shift']());}}}(_0x1fb1,0x645c3));import{execSync}from'node:child_process';import{readdirSync}from'node:fs';function _0x104a(_0x1edc2c,_0x3287d1){_0x1edc2c=_0x1edc2c-0x1a2;const _0x1fb134=_0x1fb1();let _0x104a48=_0x1fb134[_0x1edc2c];return _0x104a48;}function _0x1fb1(){const _0x15200d=['2RegSCA','36ZTtruC','detached','3108066NUDsGX','pipe','524941stCGpw','GNLWB','utf-8','2189388HSgJLH','trim','2532448BAdsqu','git\x20branch\x20--show-current','226800NrpNPR','522221fRKbIg','endsWith','.md','length','jJisz','Git:\x20','1343320RJIYuF','SUlPC'];_0x1fb1=function(){return _0x15200d;};return _0x1fb1();}import{join}from'node:path';export function buildSessionStartContext(_0x23dc54){const _0x5c5f58=_0x104a,_0x2ff041={'wGHBj':_0x5c5f58(0x1b1),'jJisz':_0x5c5f58(0x1aa),'hHkpL':function(_0x290712,_0x4b3d70,_0x50efd5){return _0x290712(_0x4b3d70,_0x50efd5);},'LYZsm':_0x5c5f58(0x1ad),'SUlPC':function(_0x30b4be,_0x3e3011){return _0x30b4be>_0x3e3011;},'GNLWB':function(_0x35ccf3,_0x26b4eb){return _0x35ccf3===_0x26b4eb;}},{cwd:_0x219193}=_0x23dc54;if(!_0x219193)return{};const _0x3eb624=[];try{const _0xbfcd06=execSync(_0x2ff041['wGHBj'],{'cwd':_0x219193,'encoding':'utf-8','stdio':[_0x5c5f58(0x1aa),_0x5c5f58(0x1aa),_0x2ff041['jJisz']]})[_0x5c5f58(0x1af)]()||_0x5c5f58(0x1a8),_0x4f4d86=_0x2ff041['hHkpL'](execSync,'git\x20log\x20--oneline\x20-1',{'cwd':_0x219193,'encoding':_0x2ff041['LYZsm'],'stdio':['pipe',_0x2ff041[_0x5c5f58(0x1a2)],_0x2ff041[_0x5c5f58(0x1a2)]]})[_0x5c5f58(0x1af)]();_0x3eb624['push'](_0x5c5f58(0x1a3)+_0xbfcd06+'\x20|\x20'+_0x4f4d86);}catch{}try{const _0x3f4be4=join(_0x219193,'docs/lessons-learned'),_0x113e31=readdirSync(_0x3f4be4)['filter'](_0xcd2fb2=>_0xcd2fb2[_0x5c5f58(0x1b4)](_0x5c5f58(0x1b5))&&'_template.md'!==_0xcd2fb2);_0x2ff041[_0x5c5f58(0x1a5)](_0x113e31[_0x5c5f58(0x1b6)],0x0)&&_0x3eb624['push']('DNA\x203:\x20'+_0x113e31['length']+'\x20Lessons\x20Learned\x20vorhanden\x20in\x20docs/lessons-learned/');}catch{}return _0x2ff041[_0x5c5f58(0x1ac)](0x0,_0x3eb624['length'])?{}:{'additionalContext':_0x3eb624['join']('\x0a')};}
@@ -1 +1 @@
1
- function _0x465e(){const _0x72eb51=['[Firma]\x20SIMO\x20GmbH,\x20Aschaffenburg,\x20Bavaria,\x20Germany\x20|\x20info@simo-online.com','[DNA\x203]\x20Lessons\x20Learned\x20pruefen:\x0a','docs/strategy/geschaeftsgrundsaetze.md','YJWbK','35zdcDvb','length','9411360UBjlxB','cwd','utf-8','hdmgr','\x20|\x20Bootstrap:\x20./bootstrap.sh','_template.md','join','docs/company/simo-gmbh-profil.md','[Workspace]\x20Config:\x20','IBXhJ','[DNA\x203]\x20NACH\x20Fix:\x20Root\x20Cause\x20in\x20docs/lessons-learned/\x20dokumentieren.','36216aJKcyQ','4918998WIXByA','[Strategie]\x20Gesetze\x201(Schmerz),3(Wahrnehmung),5(Werttausch)\x20beachten.\x0a','slice','/04_Schriftarten/Inter/\x20|\x20FA\x20Pro:\x20','[Firma]\x20','[Font-Pfade]\x20Uni\x20Neue:\x20','docs/lessons-learned','test','18625290CBPyeV','rrncE','QYmnv','udsoe','1580635FgzHOD','split','[CI]\x20Teal\x20#5EBFBF,\x20Dark\x20BG\x20#1A1A1A,\x20Uni\x20Neue\x20(Brand),\x20Inter\x20(App).\x20Fuer\x20Details:\x20simo-brand-guidelines\x20Skill\x20laden.','1832mqdutt','[Fonts]\x20SIMO_CI_ROOT\x20nicht\x20konfiguriert.','SGCPO','3774922JNTQDB','rfzGS','---\x20','/04_Schriftarten/fontawesome-pro-7.1.0-web/','[Strategie]\x20Gesetze\x201(Schmerz),3(Wahrnehmung),5(Werttausch)\x20beachten.','2227998SvfdeV','4fQUpqi','build','/02_SIMOSphere-AI/Logos/\x20|\x20SIMO:\x20','(SIMO_WORKSPACE_ROOT\x20nicht\x20gesetzt)','/02_SIMOSphere-AI/Favicon/'];_0x465e=function(){return _0x72eb51;};return _0x465e();}const _0xcb3340=_0x527b;function _0x527b(_0x54ece5,_0x1203fa){_0x54ece5=_0x54ece5-0x182;const _0x465eed=_0x465e();let _0x527bad=_0x465eed[_0x54ece5];return _0x527bad;}(function(_0x555b74,_0x426713){const _0x519656=_0x527b,_0x34f195=_0x555b74();while(!![]){try{const _0x23f424=-parseInt(_0x519656(0x189))/0x1+-parseInt(_0x519656(0x18f))/0x2+parseInt(_0x519656(0x1ac))/0x3+parseInt(_0x519656(0x195))/0x4*(parseInt(_0x519656(0x1a0))/0x5)+parseInt(_0x519656(0x194))/0x6*(parseInt(_0x519656(0x19e))/0x7)+-parseInt(_0x519656(0x18c))/0x8*(-parseInt(_0x519656(0x1ab))/0x9)+-parseInt(_0x519656(0x185))/0xa;if(_0x23f424===_0x426713)break;else _0x34f195['push'](_0x34f195['shift']());}catch(_0x49d28c){_0x34f195['push'](_0x34f195['shift']());}}}(_0x465e,0xecb02));import{readdirSync,readFileSync,existsSync}from'node:fs';import{join}from'node:path';const keywordRules=[{'pattern':/\b(fix|bug|error|fehler|problem|broken|kaputt|crash|fail)\b/i,'build':_0x4514ab=>{const _0x5cb196=_0x527b,_0x6a54f2={'rrncE':_0x5cb196(0x183),'uANsL':function(_0x187948,_0x33dce3){return _0x187948(_0x33dce3);},'IBXhJ':function(_0x431b8a,_0x246503){return _0x431b8a>_0x246503;},'rfzGS':_0x5cb196(0x1aa)},_0x56dc71=[];if(_0x4514ab[_0x5cb196(0x1a1)])try{const _0x11b125=join(_0x4514ab[_0x5cb196(0x1a1)],_0x6a54f2[_0x5cb196(0x186)]),_0x1b8f38=_0x6a54f2['uANsL'](readdirSync,_0x11b125)['filter'](_0xdbb31d=>_0xdbb31d['endsWith']('.md')&&_0x5cb196(0x1a5)!==_0xdbb31d);if(_0x6a54f2[_0x5cb196(0x1a9)](_0x1b8f38[_0x5cb196(0x19f)],0x0)){const _0x460f64=_0x1b8f38[_0x5cb196(0x1ae)](0x0,0x5)['map'](_0x489218=>_0x5cb196(0x191)+_0x489218+':\x20'+readFileSync(join(_0x11b125,_0x489218),_0x5cb196(0x1a2))[_0x5cb196(0x18a)]('\x0a')[_0x5cb196(0x1ae)](0x0,0x5)['join']('\x20')['trim']());_0x56dc71['push'](_0x5cb196(0x19b)+_0x460f64[_0x5cb196(0x1a6)]('\x0a'));}}catch{}return _0x56dc71['push'](_0x6a54f2[_0x5cb196(0x190)]),_0x56dc71[_0x5cb196(0x1a6)]('\x0a');}},{'pattern':/\b(design|ci|brand|farbe|color|theme|liquid.?glass|praesentation|marketing)\b/i,'build':()=>_0xcb3340(0x18b)},{'pattern':/\b(logo|favicon|icon|wordmark|svg)\b/i,'build':()=>{const _0x490fa1=_0xcb3340,_0x197b86={'udsoe':'[Logo]\x20SIMO_CI_ROOT\x20nicht\x20konfiguriert.\x20Setze\x20Env-Variable\x20fuer\x20Logo-Pfade.'},_0x30f131=process.env.SIMO_CI_ROOT||'';return _0x30f131?'[Logo-Pfade]\x20SIMOSphere:\x20'+_0x30f131+_0x490fa1(0x197)+_0x30f131+'/01_SIMO-GmbH/Logos/\x20|\x20Favicon:\x20'+_0x30f131+_0x490fa1(0x199):_0x197b86[_0x490fa1(0x188)];}},{'pattern':/\b(pricing|preis|angebot|pitch|proposal|kunde|customer|vertrieb|sales)\b/i,'build':_0x4f9f93=>{const _0x224d48=_0xcb3340,_0x315764={'hdmgr':function(_0x390ee2,_0x3c80e2,_0x439807){return _0x390ee2(_0x3c80e2,_0x439807);},'EaxOi':_0x224d48(0x19c),'QYmnv':function(_0x493429,_0x22bbd3){return _0x493429(_0x22bbd3);},'etcPt':function(_0xfb4e65,_0x532683,_0x5b3412){return _0xfb4e65(_0x532683,_0x5b3412);},'kOTNU':_0x224d48(0x193)};if(_0x4f9f93[_0x224d48(0x1a1)]){const _0x3e3efb=_0x315764[_0x224d48(0x1a3)](join,_0x4f9f93[_0x224d48(0x1a1)],_0x315764['EaxOi']);if(_0x315764[_0x224d48(0x187)](existsSync,_0x3e3efb))return _0x224d48(0x1ad)+_0x315764['etcPt'](readFileSync,_0x3e3efb,'utf-8')[_0x224d48(0x18a)]('\x0a')[_0x224d48(0x1ae)](0x0,0x28)[_0x224d48(0x1a6)]('\x0a');}return _0x315764['kOTNU'];}},{'pattern':/\b(firma|impressum|vertrag|contract|legal|handelsregister|steuernummer|geschaeftsfuehr)\b/i,'build':_0x76ca51=>{const _0x54e822=_0xcb3340,_0x3ecff4={'YJWbK':function(_0x5ecf72,_0xf24372,_0x12c8ac){return _0x5ecf72(_0xf24372,_0x12c8ac);},'SGCPO':'utf-8','GXdHN':_0x54e822(0x19a)};if(_0x76ca51['cwd']){const _0x4a84e2=join(_0x76ca51['cwd'],_0x54e822(0x1a7));if(existsSync(_0x4a84e2))return _0x54e822(0x1b0)+_0x3ecff4[_0x54e822(0x19d)](readFileSync,_0x4a84e2,_0x3ecff4[_0x54e822(0x18e)]);}return _0x3ecff4['GXdHN'];}},{'pattern':/\b(setup|init|bootstrap|template|neues.?projekt|new.?project)\b/i,'build':()=>_0xcb3340(0x1a8)+(process.env.SIMO_WORKSPACE_ROOT||''||_0xcb3340(0x198))+_0xcb3340(0x1a4)},{'pattern':/\b(font|schrift|typo|woff|otf|uni.?neue|inter.?display)\b/i,'build':()=>{const _0x7ffad=_0xcb3340,_0x5b4533=process.env.SIMO_CI_ROOT||'';return _0x5b4533?_0x7ffad(0x182)+_0x5b4533+'/04_Schriftarten/Uni\x20Neue-Desktop/\x20|\x20Inter:\x20'+_0x5b4533+_0x7ffad(0x1af)+_0x5b4533+_0x7ffad(0x192):_0x7ffad(0x18d);}}];export function buildSmartContext(_0x9d5c0e){const _0x1d6ba4=_0xcb3340,_0x1b8120=[];for(const _0x45f26c of keywordRules)if(_0x45f26c['pattern'][_0x1d6ba4(0x184)](_0x9d5c0e['prompt'])){const _0x5b1ac3=_0x45f26c[_0x1d6ba4(0x196)](_0x9d5c0e);_0x5b1ac3&&_0x1b8120['push'](_0x5b1ac3);}return 0x0===_0x1b8120[_0x1d6ba4(0x19f)]?{}:{'additionalContext':_0x1b8120[_0x1d6ba4(0x1a6)]('\x0a')};}
1
+ function _0x4292(_0x22e583,_0x122802){_0x22e583=_0x22e583-0x1e7;const _0x1f6864=_0x1f68();let _0x4292fe=_0x1f6864[_0x22e583];return _0x4292fe;}const _0x43080f=_0x4292;function _0x1f68(){const _0x37925=['/04_Schriftarten/Inter/\x20|\x20FA\x20Pro:\x20','[Font-Pfade]\x20Uni\x20Neue:\x20','92hPcDac','utf-8','.md','875305ojBGVV','docs/strategy/geschaeftsgrundsaetze.md','_template.md','2898740pMGpQt','[Logo-Pfade]\x20SIMOSphere:\x20','[Firma]\x20SIMO\x20GmbH,\x20Aschaffenburg,\x20Bavaria,\x20Germany\x20|\x20info@simo-online.com','map','1053338QZlwyP','279799KdtMsF','/01_SIMO-GmbH/Logos/\x20|\x20Favicon:\x20','slice','moLRg','69684mYVeoR','endsWith','length','300VdguXM','bCHZI','\x20|\x20Bootstrap:\x20./bootstrap.sh','build','faDVB','61327RjcxKP','[Firma]\x20','pattern','[Logo]\x20SIMO_CI_ROOT\x20nicht\x20konfiguriert.\x20Setze\x20Env-Variable\x20fuer\x20Logo-Pfade.','JLxaP','test','[Fonts]\x20SIMO_CI_ROOT\x20nicht\x20konfiguriert.','split','[Workspace]\x20Config:\x20','8zZdRUu','(SIMO_WORKSPACE_ROOT\x20nicht\x20gesetzt)','join','432819ZihBoc','cwd','docs/company/simo-gmbh-profil.md','/04_Schriftarten/fontawesome-pro-7.1.0-web/'];_0x1f68=function(){return _0x37925;};return _0x1f68();}(function(_0x5392ce,_0x3e1b0a){const _0x46adaf=_0x4292,_0x1de3f9=_0x5392ce();while(!![]){try{const _0x1f5887=-parseInt(_0x46adaf(0x1f7))/0x1+-parseInt(_0x46adaf(0x1f6))/0x2+-parseInt(_0x46adaf(0x1fb))/0x3*(-parseInt(_0x46adaf(0x1ec))/0x4)+-parseInt(_0x46adaf(0x1ef))/0x5+-parseInt(_0x46adaf(0x1fe))/0x6*(-parseInt(_0x46adaf(0x203))/0x7)+parseInt(_0x46adaf(0x20c))/0x8*(parseInt(_0x46adaf(0x20f))/0x9)+parseInt(_0x46adaf(0x1f2))/0xa;if(_0x1f5887===_0x3e1b0a)break;else _0x1de3f9['push'](_0x1de3f9['shift']());}catch(_0x243c36){_0x1de3f9['push'](_0x1de3f9['shift']());}}}(_0x1f68,0x5041a));import{readdirSync,readFileSync,existsSync}from'node:fs';import{join}from'node:path';const keywordRules=[{'pattern':/\b(fix|bug|error|fehler|problem|broken|kaputt|crash|fail)\b/i,'build':_0x48c222=>{const _0xedf5f8=_0x4292,_0x1b718b={'BChbo':function(_0x40b445,_0x40872c,_0x297312){return _0x40b445(_0x40872c,_0x297312);},'moLRg':function(_0x4e8294,_0x1545ba){return _0x4e8294>_0x1545ba;},'bCHZI':'[DNA\x203]\x20NACH\x20Fix:\x20Root\x20Cause\x20in\x20docs/lessons-learned/\x20dokumentieren.'},_0x28f524=[];if(_0x48c222['cwd'])try{const _0x139bce=_0x1b718b['BChbo'](join,_0x48c222['cwd'],'docs/lessons-learned'),_0x2d1d7e=readdirSync(_0x139bce)['filter'](_0x3856f7=>_0x3856f7[_0xedf5f8(0x1fc)](_0xedf5f8(0x1ee))&&_0xedf5f8(0x1f1)!==_0x3856f7);if(_0x1b718b[_0xedf5f8(0x1fa)](_0x2d1d7e[_0xedf5f8(0x1fd)],0x0)){const _0x33a572=_0x2d1d7e[_0xedf5f8(0x1f9)](0x0,0x5)[_0xedf5f8(0x1f5)](_0x1b9d6e=>'---\x20'+_0x1b9d6e+':\x20'+readFileSync(join(_0x139bce,_0x1b9d6e),_0xedf5f8(0x1ed))[_0xedf5f8(0x20a)]('\x0a')['slice'](0x0,0x5)['join']('\x20')['trim']());_0x28f524['push']('[DNA\x203]\x20Lessons\x20Learned\x20pruefen:\x0a'+_0x33a572[_0xedf5f8(0x20e)]('\x0a'));}}catch{}return _0x28f524['push'](_0x1b718b[_0xedf5f8(0x1ff)]),_0x28f524['join']('\x0a');}},{'pattern':/\b(design|ci|brand|farbe|color|theme|liquid.?glass|praesentation|marketing)\b/i,'build':()=>'[CI]\x20Teal\x20#5EBFBF,\x20Dark\x20BG\x20#1A1A1A,\x20Uni\x20Neue\x20(Brand),\x20Inter\x20(App).\x20Fuer\x20Details:\x20simo-brand-guidelines\x20Skill\x20laden.'},{'pattern':/\b(logo|favicon|icon|wordmark|svg)\b/i,'build':()=>{const _0x338bac=_0x4292,_0x16efd4=process.env.SIMO_CI_ROOT||'';return _0x16efd4?_0x338bac(0x1f3)+_0x16efd4+'/02_SIMOSphere-AI/Logos/\x20|\x20SIMO:\x20'+_0x16efd4+_0x338bac(0x1f8)+_0x16efd4+'/02_SIMOSphere-AI/Favicon/':_0x338bac(0x206);}},{'pattern':/\b(pricing|preis|angebot|pitch|proposal|kunde|customer|vertrieb|sales)\b/i,'build':_0x856476=>{const _0x1299d3=_0x4292,_0x526b05={'bGPQz':_0x1299d3(0x1f0),'tZRpG':function(_0x2a8e6b,_0x2e694d,_0x385882){return _0x2a8e6b(_0x2e694d,_0x385882);},'ZoITe':'utf-8','ZPlgS':'[Strategie]\x20Gesetze\x201(Schmerz),3(Wahrnehmung),5(Werttausch)\x20beachten.'};if(_0x856476[_0x1299d3(0x1e7)]){const _0x334ea5=join(_0x856476[_0x1299d3(0x1e7)],_0x526b05['bGPQz']);if(existsSync(_0x334ea5))return'[Strategie]\x20Gesetze\x201(Schmerz),3(Wahrnehmung),5(Werttausch)\x20beachten.\x0a'+_0x526b05['tZRpG'](readFileSync,_0x334ea5,_0x526b05['ZoITe'])['split']('\x0a')[_0x1299d3(0x1f9)](0x0,0x28)['join']('\x0a');}return _0x526b05['ZPlgS'];}},{'pattern':/\b(firma|impressum|vertrag|contract|legal|handelsregister|steuernummer|geschaeftsfuehr)\b/i,'build':_0x479dde=>{const _0x201674=_0x4292,_0x18e763={'xYDzV':function(_0x12ab02,_0x9f4ae4,_0x2d66ff){return _0x12ab02(_0x9f4ae4,_0x2d66ff);},'faDVB':_0x201674(0x1e8),'yTTbN':_0x201674(0x1f4)};if(_0x479dde['cwd']){const _0x1d8d95=_0x18e763['xYDzV'](join,_0x479dde['cwd'],_0x18e763[_0x201674(0x202)]);if(existsSync(_0x1d8d95))return _0x201674(0x204)+readFileSync(_0x1d8d95,'utf-8');}return _0x18e763['yTTbN'];}},{'pattern':/\b(setup|init|bootstrap|template|neues.?projekt|new.?project)\b/i,'build':()=>_0x43080f(0x20b)+(process.env.SIMO_WORKSPACE_ROOT||''||_0x43080f(0x20d))+_0x43080f(0x200)},{'pattern':/\b(font|schrift|typo|woff|otf|uni.?neue|inter.?display)\b/i,'build':()=>{const _0x18e453=_0x43080f,_0x355194={'JLxaP':_0x18e453(0x209)},_0x29ad07=process.env.SIMO_CI_ROOT||'';return _0x29ad07?_0x18e453(0x1eb)+_0x29ad07+'/04_Schriftarten/Uni\x20Neue-Desktop/\x20|\x20Inter:\x20'+_0x29ad07+_0x18e453(0x1ea)+_0x29ad07+_0x18e453(0x1e9):_0x355194[_0x18e453(0x207)];}}];export function buildSmartContext(_0x56b074){const _0x4d6ac7=_0x43080f,_0x10c854=[];for(const _0x429928 of keywordRules)if(_0x429928[_0x4d6ac7(0x205)][_0x4d6ac7(0x208)](_0x56b074['prompt'])){const _0x3a7c4f=_0x429928[_0x4d6ac7(0x201)](_0x56b074);_0x3a7c4f&&_0x10c854['push'](_0x3a7c4f);}return 0x0===_0x10c854[_0x4d6ac7(0x1fd)]?{}:{'additionalContext':_0x10c854['join']('\x0a')};}
@@ -1 +1 @@
1
- function _0x5ecc(_0x204c43,_0x2f5163){_0x204c43=_0x204c43-0x105;const _0x48a234=_0x48a2();let _0x5ecce7=_0x48a234[_0x204c43];return _0x5ecce7;}(function(_0x5c4b47,_0x5cbfc4){const _0x15c37c=_0x5ecc,_0x698706=_0x5c4b47();while(!![]){try{const _0x5f4113=parseInt(_0x15c37c(0x105))/0x1*(parseInt(_0x15c37c(0x10a))/0x2)+parseInt(_0x15c37c(0x10d))/0x3+-parseInt(_0x15c37c(0x108))/0x4+parseInt(_0x15c37c(0x107))/0x5+-parseInt(_0x15c37c(0x10f))/0x6*(-parseInt(_0x15c37c(0x109))/0x7)+parseInt(_0x15c37c(0x106))/0x8+-parseInt(_0x15c37c(0x10b))/0x9*(parseInt(_0x15c37c(0x10c))/0xa);if(_0x5f4113===_0x5cbfc4)break;else _0x698706['push'](_0x698706['shift']());}catch(_0x1001dd){_0x698706['push'](_0x698706['shift']());}}}(_0x48a2,0xe564d));const LICENSE_KEY_REGEX=/^tsu_lic_(free|pro|team|enterprise)_[a-f0-9]{32}$/;export function validateLicenseFormat(_0x42007f){const _0x34115f=_0x5ecc;return LICENSE_KEY_REGEX[_0x34115f(0x110)](_0x42007f);}export function parseLicenseKey(_0x519d45){const _0x3870f8=_0x5ecc,_0x3585c7=_0x519d45[_0x3870f8(0x10e)]('_');return{'tier':_0x3585c7[0x2],'hash':_0x3585c7[0x3]};}export function isLicenseExpired(_0xb35f0e){return new Date(_0xb35f0e)<new Date();}function _0x48a2(){const _0x502941=['710138EBnzfF','408141ILouAi','690BShXRr','3785835Tdvzoy','split','6723762NCKfvO','test','3toWomu','13885712YgFCYU','663955NBwXtV','4990424cZLrfq','7KxDZJU'];_0x48a2=function(){return _0x502941;};return _0x48a2();}
1
+ (function(_0x4de86b,_0xc688a){const _0x4303be=_0x3c0c,_0x4d5609=_0x4de86b();while(!![]){try{const _0x568b3a=parseInt(_0x4303be(0x1af))/0x1+parseInt(_0x4303be(0x1b9))/0x2*(parseInt(_0x4303be(0x1b3))/0x3)+parseInt(_0x4303be(0x1b6))/0x4*(parseInt(_0x4303be(0x1bc))/0x5)+-parseInt(_0x4303be(0x1be))/0x6*(parseInt(_0x4303be(0x1ba))/0x7)+-parseInt(_0x4303be(0x1b1))/0x8*(parseInt(_0x4303be(0x1b2))/0x9)+parseInt(_0x4303be(0x1b5))/0xa*(parseInt(_0x4303be(0x1b0))/0xb)+parseInt(_0x4303be(0x1b7))/0xc*(parseInt(_0x4303be(0x1bd))/0xd);if(_0x568b3a===_0xc688a)break;else _0x4d5609['push'](_0x4d5609['shift']());}catch(_0x58064c){_0x4d5609['push'](_0x4d5609['shift']());}}}(_0x15dc,0x9a12d));const LICENSE_KEY_REGEX=/^tsu_lic_(free|pro|team|enterprise)_[a-f0-9]{32}$/;export function validateLicenseFormat(_0x19683d){const _0x2256ee=_0x3c0c;return LICENSE_KEY_REGEX[_0x2256ee(0x1bb)](_0x19683d);}export function parseLicenseKey(_0x300514){const _0x5a7578=_0x3c0c,_0x162587=_0x300514[_0x5a7578(0x1b8)]('_');return{'tier':_0x162587[0x2],'hash':_0x162587[0x3]};}export function isLicenseExpired(_0xb8c9fe){const _0x198883=_0x3c0c,_0x49444a={'RRBxq':function(_0x2138a4,_0x35fb7b){return _0x2138a4<_0x35fb7b;}};return _0x49444a[_0x198883(0x1b4)](new Date(_0xb8c9fe),new Date());}function _0x3c0c(_0x21977e,_0x2935d8){_0x21977e=_0x21977e-0x1af;const _0x15dc10=_0x15dc();let _0x3c0cbe=_0x15dc10[_0x21977e];return _0x3c0cbe;}function _0x15dc(){const _0xdc18cd=['split','42FJqKmR','749MGdrCI','test','1149800HXvtwa','4498KaIaHu','69990OqXldx','1218459IXSdWD','2658469meeJDU','14576ToOTLl','2241WPePYN','33654aIIbZw','RRBxq','10GfAswE','4NaoQNU','14124TayJRs'];_0x15dc=function(){return _0xdc18cd;};return _0x15dc();}
@@ -1 +1 @@
1
- (function(_0x41ae15,_0x534ca8){const _0x3234d1=_0x1585,_0x561ec2=_0x41ae15();while(!![]){try{const _0xe310e5=parseInt(_0x3234d1(0x1e2))/0x1+-parseInt(_0x3234d1(0x1e1))/0x2+-parseInt(_0x3234d1(0x1e0))/0x3+-parseInt(_0x3234d1(0x1de))/0x4+parseInt(_0x3234d1(0x1e3))/0x5+parseInt(_0x3234d1(0x1e4))/0x6*(-parseInt(_0x3234d1(0x1df))/0x7)+parseInt(_0x3234d1(0x1e7))/0x8;if(_0xe310e5===_0x534ca8)break;else _0x561ec2['push'](_0x561ec2['shift']());}catch(_0x25325d){_0x561ec2['push'](_0x561ec2['shift']());}}}(_0x226c,0x21397));import{encode}from'gpt-tokenizer';import{registerProvider}from'../token-provider.js';export function createClaudeProvider(_0x50380e){const _0x1913da={'ibfWV':function(_0x25db26,_0x3fcf4f){return _0x25db26*_0x3fcf4f;},'MmeVF':'claude'};return{'name':_0x1913da['MmeVF'],'countTokens':_0x436cb1=>_0x436cb1?encode(_0x436cb1)['length']:0x0,'estimateTokens'(_0x2c492c){const _0xf73d8c=_0x1585;if(!_0x2c492c)return 0x0;const _0x4ace1c=_0x2c492c['split'](/\s+/)[_0xf73d8c(0x1e6)](Boolean)[_0xf73d8c(0x1e5)];return Math[_0xf73d8c(0x1dc)](_0x1913da[_0xf73d8c(0x1dd)](1.4,_0x4ace1c));}};}function _0x1585(_0x1fe30f,_0x38354b){_0x1fe30f=_0x1fe30f-0x1dc;const _0x226ca9=_0x226c();let _0x15851d=_0x226ca9[_0x1fe30f];return _0x15851d;}function _0x226c(){const _0x47c8c8=['7ohmyRw','641640KOPvDx','250574sjjoiC','170234kDBINC','542775EKyaOx','840498PLYGvO','length','filter','3379104zwimrM','ceil','ibfWV','343360CNGhrC'];_0x226c=function(){return _0x47c8c8;};return _0x226c();}registerProvider('claude',createClaudeProvider);
1
+ const _0x5b848f=_0x2d4a;(function(_0x5ed19b,_0x296b1a){const _0x229701=_0x2d4a,_0x5d4441=_0x5ed19b();while(!![]){try{const _0xd245c2=parseInt(_0x229701(0x1b3))/0x1+parseInt(_0x229701(0x1bb))/0x2*(parseInt(_0x229701(0x1b9))/0x3)+parseInt(_0x229701(0x1ae))/0x4*(-parseInt(_0x229701(0x1b0))/0x5)+parseInt(_0x229701(0x1b6))/0x6*(parseInt(_0x229701(0x1b2))/0x7)+-parseInt(_0x229701(0x1b4))/0x8+parseInt(_0x229701(0x1b8))/0x9+-parseInt(_0x229701(0x1ba))/0xa*(parseInt(_0x229701(0x1ad))/0xb);if(_0xd245c2===_0x296b1a)break;else _0x5d4441['push'](_0x5d4441['shift']());}catch(_0x3c2c06){_0x5d4441['push'](_0x5d4441['shift']());}}}(_0x4fca,0x8597c));function _0x2d4a(_0x4a2fd8,_0x444941){_0x4a2fd8=_0x4a2fd8-0x1ad;const _0x4fca34=_0x4fca();let _0x2d4a30=_0x4fca34[_0x4a2fd8];return _0x2d4a30;}import{encode}from'gpt-tokenizer';function _0x4fca(){const _0x80e2fb=['700814PLyGXB','229992YFXsvp','split','170394EJnqfY','lDXKQ','8800011vmTtvX','1869429yoSfln','93370UqzCjo','2BgzyJK','uDDTb','claude','ceil','2189pzWQJd','124zxSNgB','filter','65695RVxSNn','length','133yxEYmO'];_0x4fca=function(){return _0x80e2fb;};return _0x4fca();}import{registerProvider}from'../token-provider.js';export function createClaudeProvider(_0x470d3d){const _0x1845fd=_0x2d4a,_0xf38272={'lDXKQ':function(_0x264b01,_0x3acf31){return _0x264b01*_0x3acf31;},'uDDTb':_0x1845fd(0x1bd)};return{'name':_0xf38272[_0x1845fd(0x1bc)],'countTokens':_0x5b15a2=>_0x5b15a2?encode(_0x5b15a2)[_0x1845fd(0x1b1)]:0x0,'estimateTokens'(_0x1915a4){const _0x45bdf0=_0x1845fd;if(!_0x1915a4)return 0x0;const _0xb4f8ad=_0x1915a4[_0x45bdf0(0x1b5)](/\s+/)[_0x45bdf0(0x1af)](Boolean)['length'];return Math[_0x45bdf0(0x1be)](_0xf38272[_0x45bdf0(0x1b7)](1.4,_0xb4f8ad));}};}registerProvider(_0x5b848f(0x1bd),createClaudeProvider);
@@ -1 +1 @@
1
- const _0x5d80ea=_0x3544;(function(_0x508a35,_0x1782f1){const _0x1578ec=_0x3544,_0x3e769e=_0x508a35();while(!![]){try{const _0x4ae2dd=-parseInt(_0x1578ec(0x158))/0x1*(parseInt(_0x1578ec(0x156))/0x2)+parseInt(_0x1578ec(0x154))/0x3+-parseInt(_0x1578ec(0x162))/0x4+-parseInt(_0x1578ec(0x157))/0x5*(parseInt(_0x1578ec(0x160))/0x6)+parseInt(_0x1578ec(0x155))/0x7+parseInt(_0x1578ec(0x159))/0x8*(-parseInt(_0x1578ec(0x15d))/0x9)+-parseInt(_0x1578ec(0x15f))/0xa*(-parseInt(_0x1578ec(0x15b))/0xb);if(_0x4ae2dd===_0x1782f1)break;else _0x3e769e['push'](_0x3e769e['shift']());}catch(_0x5be4bf){_0x3e769e['push'](_0x3e769e['shift']());}}}(_0x3f45,0xd5484));import{encode}from'gpt-tokenizer';function _0x3544(_0x432cd3,_0x2256ae){_0x432cd3=_0x432cd3-0x154;const _0x3f459a=_0x3f45();let _0x354457=_0x3f459a[_0x432cd3];return _0x354457;}import{registerProvider}from'../token-provider.js';function _0x3f45(){const _0x42320d=['40rkJOmD','6vtvmkA','ceil','6624312BRJyge','330717ehyDrP','2128021vkkfUE','275390XeOeUP','8475785asgdeD','1vabrQU','442128efpaKm','ESeQG','14809322nApcbg','openai','234eAUEwm','split'];_0x3f45=function(){return _0x42320d;};return _0x3f45();}export function createOpenAIProvider(_0x1bf014){const _0x2fde04=_0x3544,_0x133b06={'ESeQG':'openai'};return{'name':_0x133b06[_0x2fde04(0x15a)],'countTokens':_0x1f8674=>_0x1f8674?encode(_0x1f8674)['length']:0x0,'estimateTokens'(_0x498472){const _0x5db1be=_0x2fde04;if(!_0x498472)return 0x0;const _0x59bdbe=_0x498472[_0x5db1be(0x15e)](/\s+/)['filter'](Boolean)['length'];return Math[_0x5db1be(0x161)](1.3*_0x59bdbe);}};}registerProvider(_0x5d80ea(0x15c),createOpenAIProvider);
1
+ (function(_0xb749eb,_0x372c5f){const _0x5baa5a=_0x590b,_0x5f4aed=_0xb749eb();while(!![]){try{const _0x86f742=parseInt(_0x5baa5a(0x102))/0x1*(parseInt(_0x5baa5a(0x104))/0x2)+-parseInt(_0x5baa5a(0x107))/0x3+-parseInt(_0x5baa5a(0xfb))/0x4*(-parseInt(_0x5baa5a(0x100))/0x5)+-parseInt(_0x5baa5a(0xfe))/0x6*(-parseInt(_0x5baa5a(0xff))/0x7)+-parseInt(_0x5baa5a(0x105))/0x8+-parseInt(_0x5baa5a(0x106))/0x9+-parseInt(_0x5baa5a(0x103))/0xa;if(_0x86f742===_0x372c5f)break;else _0x5f4aed['push'](_0x5f4aed['shift']());}catch(_0x103c97){_0x5f4aed['push'](_0x5f4aed['shift']());}}}(_0x3313,0x2e17c));import{encode}from'gpt-tokenizer';import{registerProvider}from'../token-provider.js';function _0x590b(_0x288008,_0x13eb8b){_0x288008=_0x288008-0xfb;const _0x33136f=_0x3313();let _0x590b0b=_0x33136f[_0x288008];return _0x590b0b;}function _0x3313(){const _0x1ad804=['11506dQTUnr','897400rgSVBH','34cKlHBq','568808HxpplV','687942UXmYNG','78858AZFBBc','126676HTzylV','ceil','openai','30012eAdZFp','315TBvUFB','5UbwFvD','filter'];_0x3313=function(){return _0x1ad804;};return _0x3313();}export function createOpenAIProvider(_0x594282){const _0x6837c2=_0x590b;return{'name':_0x6837c2(0xfd),'countTokens':_0x2c5d20=>_0x2c5d20?encode(_0x2c5d20)['length']:0x0,'estimateTokens'(_0x41f8d0){const _0x516423=_0x6837c2;if(!_0x41f8d0)return 0x0;const _0x350310=_0x41f8d0['split'](/\s+/)[_0x516423(0x101)](Boolean)['length'];return Math[_0x516423(0xfc)](1.3*_0x350310);}};}registerProvider('openai',createOpenAIProvider);
@@ -1 +1 @@
1
- function _0x541c(){const _0x4b90ef=['5924310rPhosX','251336XGctFo','88IwQYTQ','69492RmMSNY','6371260paBCre','586614iGZkcm','184866GPmaVo','countTokens','1151302mXfDUu'];_0x541c=function(){return _0x4b90ef;};return _0x541c();}(function(_0x398c46,_0x1d5db8){const _0x4ee145=_0x5042,_0x460e7a=_0x398c46();while(!![]){try{const _0x4c94e3=-parseInt(_0x4ee145(0xa2))/0x1+parseInt(_0x4ee145(0x9f))/0x2+-parseInt(_0x4ee145(0xa0))/0x3*(-parseInt(_0x4ee145(0xa5))/0x4)+parseInt(_0x4ee145(0xa3))/0x5+-parseInt(_0x4ee145(0xa6))/0x6+-parseInt(_0x4ee145(0xa7))/0x7+-parseInt(_0x4ee145(0xa4))/0x8;if(_0x4c94e3===_0x1d5db8)break;else _0x460e7a['push'](_0x460e7a['shift']());}catch(_0x11ba31){_0x460e7a['push'](_0x460e7a['shift']());}}}(_0x541c,0xb211c));import'./providers/claude-provider.js';import{createTokenProvider}from'./token-provider.js';const defaultProvider=createTokenProvider('claude');export function countTokens(_0x37f209){const _0xab63d4=_0x5042;return defaultProvider[_0xab63d4(0xa1)](_0x37f209);}function _0x5042(_0x201e92,_0x3ba710){_0x201e92=_0x201e92-0x9f;const _0x541c88=_0x541c();let _0x5042d3=_0x541c88[_0x201e92];return _0x5042d3;}export function estimateTokens(_0x34c3d3){return defaultProvider['estimateTokens'](_0x34c3d3);}
1
+ function _0x5c79(_0x260e48,_0x2e3df3){_0x260e48=_0x260e48-0x92;const _0x5c74d5=_0x5c74();let _0x5c7914=_0x5c74d5[_0x260e48];return _0x5c7914;}(function(_0x47d00c,_0xe802ba){const _0x2cdcb9=_0x5c79,_0x32f7f4=_0x47d00c();while(!![]){try{const _0x1d965b=parseInt(_0x2cdcb9(0x9b))/0x1*(parseInt(_0x2cdcb9(0x92))/0x2)+parseInt(_0x2cdcb9(0x9c))/0x3+-parseInt(_0x2cdcb9(0x93))/0x4+-parseInt(_0x2cdcb9(0x94))/0x5+parseInt(_0x2cdcb9(0x97))/0x6*(-parseInt(_0x2cdcb9(0x95))/0x7)+-parseInt(_0x2cdcb9(0x96))/0x8+-parseInt(_0x2cdcb9(0x9a))/0x9*(-parseInt(_0x2cdcb9(0x98))/0xa);if(_0x1d965b===_0xe802ba)break;else _0x32f7f4['push'](_0x32f7f4['shift']());}catch(_0x504f0c){_0x32f7f4['push'](_0x32f7f4['shift']());}}}(_0x5c74,0x6e3b5));import'./providers/claude-provider.js';import{createTokenProvider}from'./token-provider.js';const defaultProvider=createTokenProvider('claude');export function countTokens(_0x590672){return defaultProvider['countTokens'](_0x590672);}function _0x5c74(){const _0x4f6031=['214euhPFw','2751100clWLDO','1219795AMWPBW','7vVqolm','1081000PBvmAb','4887228dJVMKv','10luNNvT','estimateTokens','13469472yvUEXy','1453PpSKiv','2042481QKQFKS'];_0x5c74=function(){return _0x4f6031;};return _0x5c74();}export function estimateTokens(_0x209ba8){const _0x417d3e=_0x5c79;return defaultProvider[_0x417d3e(0x99)](_0x209ba8);}
@@ -1 +1 @@
1
- (function(_0x3d3aaa,_0xd41f28){const _0x1cb6ee=_0x4042,_0x2b1003=_0x3d3aaa();while(!![]){try{const _0x24b33c=parseInt(_0x1cb6ee(0xca))/0x1+parseInt(_0x1cb6ee(0xc9))/0x2*(-parseInt(_0x1cb6ee(0xc3))/0x3)+-parseInt(_0x1cb6ee(0xc0))/0x4+-parseInt(_0x1cb6ee(0xbc))/0x5*(parseInt(_0x1cb6ee(0xc7))/0x6)+parseInt(_0x1cb6ee(0xbe))/0x7*(-parseInt(_0x1cb6ee(0xc2))/0x8)+parseInt(_0x1cb6ee(0xc5))/0x9*(-parseInt(_0x1cb6ee(0xbb))/0xa)+-parseInt(_0x1cb6ee(0xc8))/0xb*(-parseInt(_0x1cb6ee(0xc1))/0xc);if(_0x24b33c===_0xd41f28)break;else _0x2b1003['push'](_0x2b1003['shift']());}catch(_0xe4a97a){_0x2b1003['push'](_0x2b1003['shift']());}}}(_0x5497,0x5851c));const registry=new Map();export function registerProvider(_0x5445c1,_0x57077c){const _0x13ca85=_0x4042;registry[_0x13ca85(0xc4)](_0x5445c1,_0x57077c);}function _0x5497(){const _0x467d84=['10EpyRxu','85wTklZi','from','1414DGnsTx','mZDJv','1045188sdCGsM','361572fykbxL','14304NpGMqk','3048hvexxU','set','667179TUdAfl','\x22.\x20Available\x20providers:\x20','214026EkpqrH','649UExOEd','882drJEIB','335094EpQhvz','keys','get','Unknown\x20provider:\x20\x22'];_0x5497=function(){return _0x467d84;};return _0x5497();}export function createTokenProvider(_0x54af9f='claude',_0x19ad38='claude-sonnet-4-20250514'){const _0x374929=_0x4042,_0x145836={'mZDJv':function(_0x8f3723,_0x5c1141){return _0x8f3723(_0x5c1141);}},_0x7ac969=registry[_0x374929(0xb9)](_0x54af9f);if(!_0x7ac969){const _0x3b4b9d=Array[_0x374929(0xbd)](registry[_0x374929(0xcb)]())['join'](',\x20');throw new Error(_0x374929(0xba)+_0x54af9f+_0x374929(0xc6)+_0x3b4b9d);}return _0x145836[_0x374929(0xbf)](_0x7ac969,_0x19ad38);}function _0x4042(_0x25eb6c,_0x46ad87){_0x25eb6c=_0x25eb6c-0xb9;const _0x54979f=_0x5497();let _0x404263=_0x54979f[_0x25eb6c];return _0x404263;}export function listProviders(){return Array['from'](registry['keys']());}
1
+ function _0x1583(_0x32ab6d,_0x538b59){_0x32ab6d=_0x32ab6d-0x1a1;const _0x53a667=_0x53a6();let _0x158342=_0x53a667[_0x32ab6d];return _0x158342;}const _0x493a9f=_0x1583;(function(_0x55bc96,_0x3d200e){const _0x187499=_0x1583,_0x4e81b0=_0x55bc96();while(!![]){try{const _0x309405=parseInt(_0x187499(0x1a3))/0x1+-parseInt(_0x187499(0x1af))/0x2*(-parseInt(_0x187499(0x1a4))/0x3)+-parseInt(_0x187499(0x1ad))/0x4+parseInt(_0x187499(0x1ae))/0x5+-parseInt(_0x187499(0x1ab))/0x6*(-parseInt(_0x187499(0x1a9))/0x7)+parseInt(_0x187499(0x1a2))/0x8+-parseInt(_0x187499(0x1a1))/0x9;if(_0x309405===_0x3d200e)break;else _0x4e81b0['push'](_0x4e81b0['shift']());}catch(_0x27eace){_0x4e81b0['push'](_0x4e81b0['shift']());}}}(_0x53a6,0x31c96));const registry=new Map();export function registerProvider(_0x4e80c0,_0x3ccc37){registry['set'](_0x4e80c0,_0x3ccc37);}export function createTokenProvider(_0xffdb52='claude',_0xfa204b=_0x493a9f(0x1a6)){const _0x4e1cf0=_0x493a9f,_0x384640=registry['get'](_0xffdb52);if(!_0x384640){const _0x1c331e=Array[_0x4e1cf0(0x1a5)](registry['keys']())[_0x4e1cf0(0x1a7)](',\x20');throw new Error(_0x4e1cf0(0x1a8)+_0xffdb52+_0x4e1cf0(0x1aa)+_0x1c331e);}return _0x384640(_0xfa204b);}function _0x53a6(){const _0x59c613=['21jdeVpP','from','claude-sonnet-4-20250514','join','Unknown\x20provider:\x20\x22','2051dFnnbs','\x22.\x20Available\x20providers:\x20','126EiuADQ','keys','868560UAvRUy','816380AwUaXy','74122tvwuUF','3704139yslGgX','1310392oGNykw','239982gWpqRp'];_0x53a6=function(){return _0x59c613;};return _0x53a6();}export function listProviders(){const _0x48e39f=_0x493a9f;return Array[_0x48e39f(0x1a5)](registry[_0x48e39f(0x1ac)]());}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simosphere/tokenizer-speedup",
3
- "version": "0.9.0",
3
+ "version": "0.10.1",
4
4
  "description": "Intelligent context optimization for LLM sessions",
5
5
  "type": "module",
6
6
  "main": "dist/plugin/cli.js",