@simosphere/tokenizer-speedup 0.8.0 → 0.8.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 (41) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/README-plugin.md +17 -1
  3. package/README.de.md +41 -1
  4. package/README.md +41 -1
  5. package/dist/cli/analyze.js +1 -1
  6. package/dist/cli/config-cmd.js +1 -1
  7. package/dist/cli/index.js +1 -1
  8. package/dist/cli/init-cmd.js +1 -1
  9. package/dist/cli/setup-cmd.js +1 -1
  10. package/dist/cloud/stripe-checkout.js +1 -1
  11. package/dist/cloud/stripe-config.js +1 -1
  12. package/dist/cloud/stripe-usage.js +1 -1
  13. package/dist/cloud/stripe-webhooks.js +1 -1
  14. package/dist/cloud/subscription-store.js +1 -1
  15. package/dist/manifest.json +37 -37
  16. package/dist/mcp/index.js +1 -1
  17. package/dist/mcp/resources.js +1 -1
  18. package/dist/mcp/session.js +1 -1
  19. package/dist/mcp/tools.js +1 -1
  20. package/dist/plugin/cli.js +1 -1
  21. package/dist/plugin/config-loader.js +1 -1
  22. package/dist/plugin/context-compressor.js +1 -1
  23. package/dist/plugin/hook-dispatcher.js +1 -1
  24. package/dist/plugin/metering-client.js +1 -1
  25. package/dist/plugin/metrics-collector.js +1 -1
  26. package/dist/plugin/onboarding.js +1 -1
  27. package/dist/plugin/precompact-handler.js +1 -1
  28. package/dist/plugin/report.js +1 -1
  29. package/dist/plugin/rule-analytics-store.js +1 -1
  30. package/dist/plugin/rule-analytics.js +1 -1
  31. package/dist/plugin/rule-engine.js +1 -1
  32. package/dist/plugin/rule-sharing.js +1 -1
  33. package/dist/plugin/rule-suggest.js +1 -1
  34. package/dist/plugin/session-start.js +1 -1
  35. package/dist/plugin/smart-context.js +1 -1
  36. package/dist/shared/license.js +1 -1
  37. package/dist/shared/providers/claude-provider.js +1 -1
  38. package/dist/shared/providers/openai-provider.js +1 -1
  39. package/dist/shared/token-counter.js +1 -1
  40. package/dist/shared/token-provider.js +1 -1
  41. package/package.json +1 -1
@@ -1 +1 @@
1
- const _0x59a96c=_0x13ad;(function(_0x1d7264,_0x4a168f){const _0x14c88e=_0x13ad,_0x4af852=_0x1d7264();while(!![]){try{const _0x3acfd7=parseInt(_0x14c88e(0x194))/0x1+-parseInt(_0x14c88e(0x19c))/0x2*(parseInt(_0x14c88e(0x18f))/0x3)+parseInt(_0x14c88e(0x1b6))/0x4+-parseInt(_0x14c88e(0x1aa))/0x5*(parseInt(_0x14c88e(0x19f))/0x6)+-parseInt(_0x14c88e(0x1b1))/0x7+parseInt(_0x14c88e(0x1a3))/0x8+parseInt(_0x14c88e(0x192))/0x9;if(_0x3acfd7===_0x4a168f)break;else _0x4af852['push'](_0x4af852['shift']());}catch(_0x3c34df){_0x4af852['push'](_0x4af852['shift']());}}}(_0x2d72,0x937ec));function _0x2d72(){const _0x177e9c=['tOkGI','1038670CNDDws','[Logo]\x20SIMO_CI_ROOT\x20nicht\x20konfiguriert.\x20Setze\x20Env-Variable\x20fuer\x20Logo-Pfade.','HhNlD','length','/04_Schriftarten/fontawesome-pro-7.1.0-web/','prompt','DyRjk','4291532nxrqKG','map','build','.md','slice','252748zKOIPr','3LpcNxj','[Firma]\x20','utf-8','7858485dhTieq','zCVdk','613883cYzAlC','join','---\x20','[DNA\x203]\x20NACH\x20Fix:\x20Root\x20Cause\x20in\x20docs/lessons-learned/\x20dokumentieren.','split','uOVVJ','[DNA\x203]\x20Lessons\x20Learned\x20pruefen:\x0a','trim','1176092LRglsW','/04_Schriftarten/Inter/\x20|\x20FA\x20Pro:\x20','/04_Schriftarten/Uni\x20Neue-Desktop/\x20|\x20Inter:\x20','12EMSBdr','[Strategie]\x20Gesetze\x201(Schmerz),3(Wahrnehmung),5(Werttausch)\x20beachten.\x0a','push','test','5363960aBBMxH','cwd','pattern','(SIMO_WORKSPACE_ROOT\x20nicht\x20gesetzt)','SQXeS','/01_SIMO-GmbH/Logos/\x20|\x20Favicon:\x20'];_0x2d72=function(){return _0x177e9c;};return _0x2d72();}import{readdirSync,readFileSync,existsSync}from'node:fs';import{join}from'node:path';function _0x13ad(_0x574e19,_0x2574cf){_0x574e19=_0x574e19-0x18f;const _0x2d728f=_0x2d72();let _0x13ad36=_0x2d728f[_0x574e19];return _0x13ad36;}const keywordRules=[{'pattern':/\b(fix|bug|error|fehler|problem|broken|kaputt|crash|fail)\b/i,'build':_0x26904d=>{const _0x328118=_0x13ad,_0x1e344f={'zYGtm':function(_0x41dc1d,_0x211878,_0x50535d){return _0x41dc1d(_0x211878,_0x50535d);},'SQXeS':'docs/lessons-learned','zCVdk':function(_0x9224ac,_0x129367){return _0x9224ac>_0x129367;},'tOkGI':_0x328118(0x197)},_0x3fcdd9=[];if(_0x26904d['cwd'])try{const _0x3d746e=_0x1e344f['zYGtm'](join,_0x26904d[_0x328118(0x1a4)],_0x1e344f[_0x328118(0x1a7)]),_0x268e7f=readdirSync(_0x3d746e)['filter'](_0xf0350b=>_0xf0350b['endsWith'](_0x328118(0x1b4))&&'_template.md'!==_0xf0350b);if(_0x1e344f[_0x328118(0x193)](_0x268e7f[_0x328118(0x1ad)],0x0)){const _0x17bca3=_0x268e7f[_0x328118(0x1b5)](0x0,0x5)[_0x328118(0x1b2)](_0xaabd46=>_0x328118(0x196)+_0xaabd46+':\x20'+readFileSync(join(_0x3d746e,_0xaabd46),_0x328118(0x191))[_0x328118(0x198)]('\x0a')[_0x328118(0x1b5)](0x0,0x5)['join']('\x20')[_0x328118(0x19b)]());_0x3fcdd9['push'](_0x328118(0x19a)+_0x17bca3['join']('\x0a'));}}catch{}return _0x3fcdd9[_0x328118(0x1a1)](_0x1e344f[_0x328118(0x1a9)]),_0x3fcdd9['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 _0x419a77=_0x13ad,_0x51dd58=process.env.SIMO_CI_ROOT||'';return _0x51dd58?'[Logo-Pfade]\x20SIMOSphere:\x20'+_0x51dd58+'/02_SIMOSphere-AI/Logos/\x20|\x20SIMO:\x20'+_0x51dd58+_0x419a77(0x1a8)+_0x51dd58+'/02_SIMOSphere-AI/Favicon/':_0x419a77(0x1ab);}},{'pattern':/\b(pricing|preis|angebot|pitch|proposal|kunde|customer|vertrieb|sales)\b/i,'build':_0x3d2729=>{const _0x26bc51=_0x13ad,_0x51a565={'xufxI':function(_0x2547e3,_0x596e67,_0x403598){return _0x2547e3(_0x596e67,_0x403598);},'lascC':function(_0x52250c,_0x23accd){return _0x52250c(_0x23accd);}};if(_0x3d2729['cwd']){const _0x4eb9ec=_0x51a565['xufxI'](join,_0x3d2729['cwd'],'docs/strategy/geschaeftsgrundsaetze.md');if(_0x51a565['lascC'](existsSync,_0x4eb9ec))return _0x26bc51(0x1a0)+readFileSync(_0x4eb9ec,'utf-8')[_0x26bc51(0x198)]('\x0a')[_0x26bc51(0x1b5)](0x0,0x28)['join']('\x0a');}return'[Strategie]\x20Gesetze\x201(Schmerz),3(Wahrnehmung),5(Werttausch)\x20beachten.';}},{'pattern':/\b(firma|impressum|vertrag|contract|legal|handelsregister|steuernummer|geschaeftsfuehr)\b/i,'build':_0x44c04e=>{const _0xd22c08=_0x13ad,_0x5b82b6={'SBklu':function(_0x1025d2,_0xca38bf){return _0x1025d2(_0xca38bf);},'HhNlD':function(_0x3618a9,_0x3d6df8,_0x1ea428){return _0x3618a9(_0x3d6df8,_0x1ea428);},'hjspo':'utf-8'};if(_0x44c04e['cwd']){const _0x1059af=join(_0x44c04e['cwd'],'docs/company/simo-gmbh-profil.md');if(_0x5b82b6['SBklu'](existsSync,_0x1059af))return _0xd22c08(0x190)+_0x5b82b6[_0xd22c08(0x1ac)](readFileSync,_0x1059af,_0x5b82b6['hjspo']);}return'[Firma]\x20SIMO\x20GmbH,\x20Aschaffenburg,\x20Bavaria,\x20Germany\x20|\x20info@simo-online.com';}},{'pattern':/\b(setup|init|bootstrap|template|neues.?projekt|new.?project)\b/i,'build':()=>'[Workspace]\x20Config:\x20'+(process.env.SIMO_WORKSPACE_ROOT||''||_0x59a96c(0x1a6))+'\x20|\x20Bootstrap:\x20./bootstrap.sh'},{'pattern':/\b(font|schrift|typo|woff|otf|uni.?neue|inter.?display)\b/i,'build':()=>{const _0x262b86=_0x59a96c,_0xdd1127={'DyRjk':'[Fonts]\x20SIMO_CI_ROOT\x20nicht\x20konfiguriert.'},_0x48dcbf=process.env.SIMO_CI_ROOT||'';return _0x48dcbf?'[Font-Pfade]\x20Uni\x20Neue:\x20'+_0x48dcbf+_0x262b86(0x19e)+_0x48dcbf+_0x262b86(0x19d)+_0x48dcbf+_0x262b86(0x1ae):_0xdd1127[_0x262b86(0x1b0)];}}];export function buildSmartContext(_0x11376e){const _0xd7bf41=_0x59a96c,_0x1237a8={'uOVVJ':function(_0x1d4744,_0x4c8db9){return _0x1d4744===_0x4c8db9;}},_0x439fbf=[];for(const _0x3201c8 of keywordRules)if(_0x3201c8[_0xd7bf41(0x1a5)][_0xd7bf41(0x1a2)](_0x11376e[_0xd7bf41(0x1af)])){const _0x232fc3=_0x3201c8[_0xd7bf41(0x1b3)](_0x11376e);_0x232fc3&&_0x439fbf['push'](_0x232fc3);}return _0x1237a8[_0xd7bf41(0x199)](0x0,_0x439fbf['length'])?{}:{'additionalContext':_0x439fbf[_0xd7bf41(0x195)]('\x0a')};}
1
+ (function(_0xdd263e,_0xb14002){const _0x47c552=_0x4ef4,_0x1e56d6=_0xdd263e();while(!![]){try{const _0x456f72=parseInt(_0x47c552(0xa0))/0x1+-parseInt(_0x47c552(0x96))/0x2+parseInt(_0x47c552(0x92))/0x3*(-parseInt(_0x47c552(0x9a))/0x4)+-parseInt(_0x47c552(0x8d))/0x5*(-parseInt(_0x47c552(0x8a))/0x6)+parseInt(_0x47c552(0x7e))/0x7+-parseInt(_0x47c552(0x93))/0x8*(parseInt(_0x47c552(0x98))/0x9)+-parseInt(_0x47c552(0x9d))/0xa;if(_0x456f72===_0xb14002)break;else _0x1e56d6['push'](_0x1e56d6['shift']());}catch(_0x426a7b){_0x1e56d6['push'](_0x1e56d6['shift']());}}}(_0x1945,0x8d0a0));import{readdirSync,readFileSync,existsSync}from'node:fs';function _0x1945(){const _0x4f1a7f=['[DNA\x203]\x20Lessons\x20Learned\x20pruefen:\x0a','length','endsWith','---\x20','.md','318iJVYzr','build','cwd','59275WLzMup','slice','[Strategie]\x20Gesetze\x201(Schmerz),3(Wahrnehmung),5(Werttausch)\x20beachten.','/02_SIMOSphere-AI/Favicon/','/02_SIMOSphere-AI/Logos/\x20|\x20SIMO:\x20','213ZIagHf','424XyjaPg','[Strategie]\x20Gesetze\x201(Schmerz),3(Wahrnehmung),5(Werttausch)\x20beachten.\x0a','lKqWm','467188wHWOKj','[Font-Pfade]\x20Uni\x20Neue:\x20','143469sNeLhs','push','22600ggiBeb','/04_Schriftarten/Inter/\x20|\x20FA\x20Pro:\x20','utf-8','6125240ORMXXF','/04_Schriftarten/Uni\x20Neue-Desktop/\x20|\x20Inter:\x20','zctWT','1120466rkVdnb','jZNIX','6447392iaTmhh','SGqVw','join','HKXqy','split','filter','[DNA\x203]\x20NACH\x20Fix:\x20Root\x20Cause\x20in\x20docs/lessons-learned/\x20dokumentieren.'];_0x1945=function(){return _0x4f1a7f;};return _0x1945();}import{join}from'node:path';const keywordRules=[{'pattern':/\b(fix|bug|error|fehler|problem|broken|kaputt|crash|fail)\b/i,'build':_0x125e8c=>{const _0x1bf760=_0x4ef4,_0x1f220c={'njGfB':function(_0x48e3f8,_0xbebd5c){return _0x48e3f8>_0xbebd5c;},'IzdfO':_0x1bf760(0x84)},_0x5cdb55=[];if(_0x125e8c['cwd'])try{const _0x750eee=join(_0x125e8c['cwd'],'docs/lessons-learned'),_0x2fd2ac=readdirSync(_0x750eee)[_0x1bf760(0x83)](_0x144b41=>_0x144b41[_0x1bf760(0x87)](_0x1bf760(0x89))&&'_template.md'!==_0x144b41);if(_0x1f220c['njGfB'](_0x2fd2ac[_0x1bf760(0x86)],0x0)){const _0x215533=_0x2fd2ac['slice'](0x0,0x5)['map'](_0x179f90=>_0x1bf760(0x88)+_0x179f90+':\x20'+readFileSync(join(_0x750eee,_0x179f90),_0x1bf760(0x9c))[_0x1bf760(0x82)]('\x0a')['slice'](0x0,0x5)['join']('\x20')['trim']());_0x5cdb55['push'](_0x1bf760(0x85)+_0x215533[_0x1bf760(0x80)]('\x0a'));}}catch{}return _0x5cdb55[_0x1bf760(0x99)](_0x1f220c['IzdfO']),_0x5cdb55[_0x1bf760(0x80)]('\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 _0x1bb3b6=_0x4ef4,_0x25d054=process.env.SIMO_CI_ROOT||'';return _0x25d054?'[Logo-Pfade]\x20SIMOSphere:\x20'+_0x25d054+_0x1bb3b6(0x91)+_0x25d054+'/01_SIMO-GmbH/Logos/\x20|\x20Favicon:\x20'+_0x25d054+_0x1bb3b6(0x90):'[Logo]\x20SIMO_CI_ROOT\x20nicht\x20konfiguriert.\x20Setze\x20Env-Variable\x20fuer\x20Logo-Pfade.';}},{'pattern':/\b(pricing|preis|angebot|pitch|proposal|kunde|customer|vertrieb|sales)\b/i,'build':_0x1ebb77=>{const _0x2a6ff2=_0x4ef4,_0x47955c={'HKXqy':'utf-8','GEDur':_0x2a6ff2(0x8f)};if(_0x1ebb77[_0x2a6ff2(0x8c)]){const _0x1adb4a=join(_0x1ebb77['cwd'],'docs/strategy/geschaeftsgrundsaetze.md');if(existsSync(_0x1adb4a))return _0x2a6ff2(0x94)+readFileSync(_0x1adb4a,_0x47955c[_0x2a6ff2(0x81)])['split']('\x0a')[_0x2a6ff2(0x8e)](0x0,0x28)[_0x2a6ff2(0x80)]('\x0a');}return _0x47955c['GEDur'];}},{'pattern':/\b(firma|impressum|vertrag|contract|legal|handelsregister|steuernummer|geschaeftsfuehr)\b/i,'build':_0x5b6ce9=>{const _0xd39467=_0x4ef4,_0x1e4c2a={'zctWT':'docs/company/simo-gmbh-profil.md','lKqWm':function(_0x269502,_0x5f4073){return _0x269502(_0x5f4073);},'jZNIX':'[Firma]\x20SIMO\x20GmbH,\x20Aschaffenburg,\x20Bavaria,\x20Germany\x20|\x20info@simo-online.com'};if(_0x5b6ce9[_0xd39467(0x8c)]){const _0x40ea36=join(_0x5b6ce9['cwd'],_0x1e4c2a[_0xd39467(0x9f)]);if(_0x1e4c2a[_0xd39467(0x95)](existsSync,_0x40ea36))return'[Firma]\x20'+readFileSync(_0x40ea36,'utf-8');}return _0x1e4c2a[_0xd39467(0xa1)];}},{'pattern':/\b(setup|init|bootstrap|template|neues.?projekt|new.?project)\b/i,'build':()=>'[Workspace]\x20Config:\x20'+(process.env.SIMO_WORKSPACE_ROOT||''||'(SIMO_WORKSPACE_ROOT\x20nicht\x20gesetzt)')+'\x20|\x20Bootstrap:\x20./bootstrap.sh'},{'pattern':/\b(font|schrift|typo|woff|otf|uni.?neue|inter.?display)\b/i,'build':()=>{const _0x2b486c=_0x4ef4,_0x2c4b06=process.env.SIMO_CI_ROOT||'';return _0x2c4b06?_0x2b486c(0x97)+_0x2c4b06+_0x2b486c(0x9e)+_0x2c4b06+_0x2b486c(0x9b)+_0x2c4b06+'/04_Schriftarten/fontawesome-pro-7.1.0-web/':'[Fonts]\x20SIMO_CI_ROOT\x20nicht\x20konfiguriert.';}}];function _0x4ef4(_0x509e18,_0x261f8d){_0x509e18=_0x509e18-0x7e;const _0x19456d=_0x1945();let _0x4ef41f=_0x19456d[_0x509e18];return _0x4ef41f;}export function buildSmartContext(_0x98f70c){const _0x28fcbf=_0x4ef4,_0x24b42d={'SGqVw':function(_0x126f2a,_0x39ecbf){return _0x126f2a===_0x39ecbf;}},_0x22402d=[];for(const _0x3d1845 of keywordRules)if(_0x3d1845['pattern']['test'](_0x98f70c['prompt'])){const _0x2efdcc=_0x3d1845[_0x28fcbf(0x8b)](_0x98f70c);_0x2efdcc&&_0x22402d[_0x28fcbf(0x99)](_0x2efdcc);}return _0x24b42d[_0x28fcbf(0x7f)](0x0,_0x22402d[_0x28fcbf(0x86)])?{}:{'additionalContext':_0x22402d['join']('\x0a')};}
@@ -1 +1 @@
1
- (function(_0x27b258,_0xbcc885){const _0xd4afe=_0x332a,_0x99b3da=_0x27b258();while(!![]){try{const _0xb327d6=parseInt(_0xd4afe(0xaa))/0x1*(parseInt(_0xd4afe(0xb2))/0x2)+-parseInt(_0xd4afe(0xac))/0x3*(-parseInt(_0xd4afe(0xb1))/0x4)+parseInt(_0xd4afe(0xb3))/0x5+parseInt(_0xd4afe(0xb4))/0x6+-parseInt(_0xd4afe(0xb5))/0x7*(parseInt(_0xd4afe(0xb0))/0x8)+parseInt(_0xd4afe(0xb6))/0x9*(parseInt(_0xd4afe(0xad))/0xa)+parseInt(_0xd4afe(0xae))/0xb*(-parseInt(_0xd4afe(0xab))/0xc);if(_0xb327d6===_0xbcc885)break;else _0x99b3da['push'](_0x99b3da['shift']());}catch(_0x21a463){_0x99b3da['push'](_0x99b3da['shift']());}}}(_0x6945,0x4a9b1));const LICENSE_KEY_REGEX=/^tsu_lic_(free|pro|team|enterprise)_[a-f0-9]{32}$/;function _0x6945(){const _0x2432ed=['5712WWLGxT','158643UpEtEV','1cvoNFr','31908mnxhNI','639GYHhyj','90KhvgsQ','979lkLYVv','test','4464BDognw','3672OpwgMs','447266jUpmqD','999455UPGUIS','1319178dVxvFq'];_0x6945=function(){return _0x2432ed;};return _0x6945();}function _0x332a(_0x21f8a0,_0x1cc4e7){_0x21f8a0=_0x21f8a0-0xaa;const _0x694500=_0x6945();let _0x332a1b=_0x694500[_0x21f8a0];return _0x332a1b;}export function validateLicenseFormat(_0x50a3cb){const _0x45d166=_0x332a;return LICENSE_KEY_REGEX[_0x45d166(0xaf)](_0x50a3cb);}export function parseLicenseKey(_0x38704d){const _0x5c64f1=_0x38704d['split']('_');return{'tier':_0x5c64f1[0x2],'hash':_0x5c64f1[0x3]};}export function isLicenseExpired(_0x28a719){const _0x3bd4d6={'MSQVZ':function(_0x557447,_0x1aa770){return _0x557447<_0x1aa770;}};return _0x3bd4d6['MSQVZ'](new Date(_0x28a719),new Date());}
1
+ (function(_0x1eb7d5,_0x2c9957){const _0x518b9d=_0x2bbb,_0x41d4a2=_0x1eb7d5();while(!![]){try{const _0x19bd46=-parseInt(_0x518b9d(0x9c))/0x1*(parseInt(_0x518b9d(0xa5))/0x2)+-parseInt(_0x518b9d(0x9a))/0x3+parseInt(_0x518b9d(0x9e))/0x4+-parseInt(_0x518b9d(0xa4))/0x5*(parseInt(_0x518b9d(0x9f))/0x6)+parseInt(_0x518b9d(0x9b))/0x7*(-parseInt(_0x518b9d(0xa2))/0x8)+parseInt(_0x518b9d(0xa0))/0x9+parseInt(_0x518b9d(0xa3))/0xa*(parseInt(_0x518b9d(0x9d))/0xb);if(_0x19bd46===_0x2c9957)break;else _0x41d4a2['push'](_0x41d4a2['shift']());}catch(_0x4ee3c5){_0x41d4a2['push'](_0x41d4a2['shift']());}}}(_0x2b37,0x700cb));const LICENSE_KEY_REGEX=/^tsu_lic_(free|pro|team|enterprise)_[a-f0-9]{32}$/;function _0x2b37(){const _0x3578c4=['10744WHtFxB','330JwmmnO','6750rTmjSu','2hJKJcp','1806705YGzuzR','1211syecNp','414418rhzpcm','528682OsVFay','3563580koFalG','3486BVfnyM','138204RJaUXW','test'];_0x2b37=function(){return _0x3578c4;};return _0x2b37();}export function validateLicenseFormat(_0x7e5106){const _0x591a14=_0x2bbb;return LICENSE_KEY_REGEX[_0x591a14(0xa1)](_0x7e5106);}export function parseLicenseKey(_0x1a3eb1){const _0x12054a=_0x1a3eb1['split']('_');return{'tier':_0x12054a[0x2],'hash':_0x12054a[0x3]};}function _0x2bbb(_0x42220c,_0x211efd){_0x42220c=_0x42220c-0x9a;const _0x2b3735=_0x2b37();let _0x2bbb37=_0x2b3735[_0x42220c];return _0x2bbb37;}export function isLicenseExpired(_0x4e78bf){return new Date(_0x4e78bf)<new Date();}
@@ -1 +1 @@
1
- const _0x1ed65c=_0x2013;(function(_0x413e2e,_0x13b9d1){const _0x5707ee=_0x2013,_0x3ae3c3=_0x413e2e();while(!![]){try{const _0x4dbf31=parseInt(_0x5707ee(0x153))/0x1*(parseInt(_0x5707ee(0x159))/0x2)+parseInt(_0x5707ee(0x158))/0x3*(-parseInt(_0x5707ee(0x15b))/0x4)+parseInt(_0x5707ee(0x15a))/0x5*(-parseInt(_0x5707ee(0x152))/0x6)+-parseInt(_0x5707ee(0x14f))/0x7*(parseInt(_0x5707ee(0x157))/0x8)+parseInt(_0x5707ee(0x150))/0x9*(-parseInt(_0x5707ee(0x154))/0xa)+parseInt(_0x5707ee(0x15c))/0xb*(-parseInt(_0x5707ee(0x14c))/0xc)+-parseInt(_0x5707ee(0x151))/0xd*(-parseInt(_0x5707ee(0x155))/0xe);if(_0x4dbf31===_0x13b9d1)break;else _0x3ae3c3['push'](_0x3ae3c3['shift']());}catch(_0x41eee8){_0x3ae3c3['push'](_0x3ae3c3['shift']());}}}(_0x9053,0xe47be));import{encode}from'gpt-tokenizer';import{registerProvider}from'../token-provider.js';function _0x2013(_0x5aa95d,_0x1fd60b){_0x5aa95d=_0x5aa95d-0x14b;const _0x9053d3=_0x9053();let _0x2013d1=_0x9053d3[_0x5aa95d];return _0x2013d1;}export function createClaudeProvider(_0x144bcd){return{'name':'claude','countTokens':_0x55b1bf=>_0x55b1bf?encode(_0x55b1bf)['length']:0x0,'estimateTokens'(_0x313664){const _0x475223=_0x2013;if(!_0x313664)return 0x0;const _0x4e3643=_0x313664[_0x475223(0x156)](/\s+/)[_0x475223(0x14e)](Boolean)['length'];return Math[_0x475223(0x14d)](1.4*_0x4e3643);}};}registerProvider(_0x1ed65c(0x14b),createClaudeProvider);function _0x9053(){const _0x5e635d=['filter','189HfjccV','9ZrsKyw','27434589RbzqcJ','11203998qmaTJk','212470ENmuSN','5994190qSpMXz','28ZRCFoH','split','260216hzcfWo','3125142YuNVTn','14njYWUW','5vIqCRm','4wgEeUk','1413247nWldeX','claude','36CZpMbr','ceil'];_0x9053=function(){return _0x5e635d;};return _0x9053();}
1
+ function _0x40e5(){const _0x457dca=['3745GIuMfs','length','ceil','claude','24QEfGZi','2196BBKhNu','222353LVPxRc','303022iJJtxw','813618UoWZrX','2230160NJqDga','split','420768fHszlI','181225Cxteao'];_0x40e5=function(){return _0x457dca;};return _0x40e5();}function _0x2020(_0x2ab643,_0x169270){_0x2ab643=_0x2ab643-0x142;const _0x40e5d4=_0x40e5();let _0x202082=_0x40e5d4[_0x2ab643];return _0x202082;}(function(_0x203eb9,_0x2f1d71){const _0x4ab166=_0x2020,_0x275217=_0x203eb9();while(!![]){try{const _0x33e65c=parseInt(_0x4ab166(0x14b))/0x1+-parseInt(_0x4ab166(0x14c))/0x2+-parseInt(_0x4ab166(0x143))/0x3+-parseInt(_0x4ab166(0x149))/0x4*(-parseInt(_0x4ab166(0x144))/0x5)+-parseInt(_0x4ab166(0x14a))/0x6*(parseInt(_0x4ab166(0x145))/0x7)+parseInt(_0x4ab166(0x14e))/0x8+-parseInt(_0x4ab166(0x14d))/0x9;if(_0x33e65c===_0x2f1d71)break;else _0x275217['push'](_0x275217['shift']());}catch(_0x330c99){_0x275217['push'](_0x275217['shift']());}}}(_0x40e5,0x22546));import{encode}from'gpt-tokenizer';import{registerProvider}from'../token-provider.js';export function createClaudeProvider(_0x1a698a){const _0x1b99d1=_0x2020,_0x1b2ae3={'bveTp':function(_0x22763f,_0x298f1f){return _0x22763f*_0x298f1f;},'muBvx':_0x1b99d1(0x148)};return{'name':_0x1b2ae3['muBvx'],'countTokens':_0x4bb618=>_0x4bb618?encode(_0x4bb618)[_0x1b99d1(0x146)]:0x0,'estimateTokens'(_0x535eee){const _0x45eb30=_0x1b99d1;if(!_0x535eee)return 0x0;const _0x475d4b=_0x535eee[_0x45eb30(0x142)](/\s+/)['filter'](Boolean)[_0x45eb30(0x146)];return Math[_0x45eb30(0x147)](_0x1b2ae3['bveTp'](1.4,_0x475d4b));}};}registerProvider('claude',createClaudeProvider);
@@ -1 +1 @@
1
- function _0x52b3(_0x356cd7,_0x1891fb){_0x356cd7=_0x356cd7-0x185;const _0x34c7d4=_0x34c7();let _0x52b3d4=_0x34c7d4[_0x356cd7];return _0x52b3d4;}function _0x34c7(){const _0x161ea5=['28UEgUvo','2124956LiMHnr','1621146PSlvta','429416vjlDAc','length','cVhsv','52sJTAMd','27SAUpIX','openai','filter','split','333777pvUljA','710058XfKsCn','1722095RxSbwV','Wahrt','6902200unfToj'];_0x34c7=function(){return _0x161ea5;};return _0x34c7();}const _0x53ed09=_0x52b3;(function(_0x51038b,_0x43d7b9){const _0x62aa22=_0x52b3,_0x4127ea=_0x51038b();while(!![]){try{const _0x153880=parseInt(_0x62aa22(0x187))/0x1+-parseInt(_0x62aa22(0x18c))/0x2+-parseInt(_0x62aa22(0x186))/0x3*(-parseInt(_0x62aa22(0x191))/0x4)+-parseInt(_0x62aa22(0x188))/0x5+parseInt(_0x62aa22(0x18d))/0x6*(parseInt(_0x62aa22(0x18b))/0x7)+parseInt(_0x62aa22(0x18e))/0x8*(-parseInt(_0x62aa22(0x192))/0x9)+-parseInt(_0x62aa22(0x18a))/0xa;if(_0x153880===_0x43d7b9)break;else _0x4127ea['push'](_0x4127ea['shift']());}catch(_0x46d823){_0x4127ea['push'](_0x4127ea['shift']());}}}(_0x34c7,0xef061));import{encode}from'gpt-tokenizer';import{registerProvider}from'../token-provider.js';export function createOpenAIProvider(_0xeaac01){const _0x441137=_0x52b3,_0x1ba7a4={'cVhsv':function(_0x53edbd,_0x3dd48b){return _0x53edbd*_0x3dd48b;},'Wahrt':'openai'};return{'name':_0x1ba7a4[_0x441137(0x189)],'countTokens':_0xee77cd=>_0xee77cd?encode(_0xee77cd)[_0x441137(0x18f)]:0x0,'estimateTokens'(_0xb2988c){const _0x5ee3c7=_0x441137;if(!_0xb2988c)return 0x0;const _0x4f98d2=_0xb2988c[_0x5ee3c7(0x185)](/\s+/)[_0x5ee3c7(0x194)](Boolean)[_0x5ee3c7(0x18f)];return Math['ceil'](_0x1ba7a4[_0x5ee3c7(0x190)](1.3,_0x4f98d2));}};}registerProvider(_0x53ed09(0x193),createOpenAIProvider);
1
+ function _0x4454(_0x15beb1,_0x5570fc){_0x15beb1=_0x15beb1-0x15a;const _0x348ef0=_0x348e();let _0x445465=_0x348ef0[_0x15beb1];return _0x445465;}(function(_0x430458,_0x1bc71b){const _0x26af99=_0x4454,_0x9b2b65=_0x430458();while(!![]){try{const _0x2b3b95=-parseInt(_0x26af99(0x15f))/0x1+parseInt(_0x26af99(0x15d))/0x2*(-parseInt(_0x26af99(0x166))/0x3)+-parseInt(_0x26af99(0x162))/0x4*(-parseInt(_0x26af99(0x164))/0x5)+parseInt(_0x26af99(0x15b))/0x6+parseInt(_0x26af99(0x165))/0x7+parseInt(_0x26af99(0x15e))/0x8*(-parseInt(_0x26af99(0x161))/0x9)+parseInt(_0x26af99(0x15a))/0xa;if(_0x2b3b95===_0x1bc71b)break;else _0x9b2b65['push'](_0x9b2b65['shift']());}catch(_0x2b7698){_0x9b2b65['push'](_0x9b2b65['shift']());}}}(_0x348e,0xef83a));import{encode}from'gpt-tokenizer';import{registerProvider}from'../token-provider.js';export function createOpenAIProvider(_0x3cfa26){const _0x3e16be={'wGpBR':'openai'};return{'name':_0x3e16be['wGpBR'],'countTokens':_0x5bbb3a=>_0x5bbb3a?encode(_0x5bbb3a)['length']:0x0,'estimateTokens'(_0x55f731){const _0x207ce1=_0x4454;if(!_0x55f731)return 0x0;const _0x24a4f1=_0x55f731[_0x207ce1(0x15c)](/\s+/)['filter'](Boolean)[_0x207ce1(0x163)];return Math[_0x207ce1(0x160)](1.3*_0x24a4f1);}};}registerProvider('openai',createOpenAIProvider);function _0x348e(){const _0x9a63a2=['5525926yJYNLB','195edMJcy','19808830xeuscF','2618346TnRcKY','split','59438eeFhfc','8yWApoz','1139460XEEEwW','ceil','6642423ZWlLhf','791800ciwOOK','length','40ZzegDj'];_0x348e=function(){return _0x9a63a2;};return _0x348e();}
@@ -1 +1 @@
1
- (function(_0x3d9ed9,_0x40f46d){const _0x221689=_0x1f5d,_0x236fbf=_0x3d9ed9();while(!![]){try{const _0x375a8f=-parseInt(_0x221689(0x187))/0x1+-parseInt(_0x221689(0x186))/0x2+-parseInt(_0x221689(0x185))/0x3+-parseInt(_0x221689(0x180))/0x4*(parseInt(_0x221689(0x18a))/0x5)+parseInt(_0x221689(0x188))/0x6*(parseInt(_0x221689(0x181))/0x7)+-parseInt(_0x221689(0x18b))/0x8*(-parseInt(_0x221689(0x189))/0x9)+parseInt(_0x221689(0x182))/0xa*(parseInt(_0x221689(0x184))/0xb);if(_0x375a8f===_0x40f46d)break;else _0x236fbf['push'](_0x236fbf['shift']());}catch(_0x336f96){_0x236fbf['push'](_0x236fbf['shift']());}}}(_0x25a9,0x2b4e7));function _0x25a9(){const _0x2d8445=['countTokens','224708mimDGY','532350dDvWhA','524544pqcKPp','64469wCtcvM','1398SWgNqn','47295XImKYf','1236555URNkZQ','88fKIWOF','4HLFkOV','8372ZghQcW','290dUBNmE'];_0x25a9=function(){return _0x2d8445;};return _0x25a9();}import'./providers/claude-provider.js';function _0x1f5d(_0xed96dd,_0x43f09d){_0xed96dd=_0xed96dd-0x180;const _0x25a99f=_0x25a9();let _0x1f5d31=_0x25a99f[_0xed96dd];return _0x1f5d31;}import{createTokenProvider}from'./token-provider.js';const defaultProvider=createTokenProvider('claude');export function countTokens(_0x148008){const _0x1f6d58=_0x1f5d;return defaultProvider[_0x1f6d58(0x183)](_0x148008);}export function estimateTokens(_0x226796){return defaultProvider['estimateTokens'](_0x226796);}
1
+ (function(_0x193347,_0xe61fa8){const _0x239f85=_0x1487,_0x315114=_0x193347();while(!![]){try{const _0x53b561=-parseInt(_0x239f85(0x102))/0x1*(parseInt(_0x239f85(0xf7))/0x2)+-parseInt(_0x239f85(0xf9))/0x3*(parseInt(_0x239f85(0xfc))/0x4)+-parseInt(_0x239f85(0x103))/0x5*(parseInt(_0x239f85(0xfa))/0x6)+-parseInt(_0x239f85(0x100))/0x7*(-parseInt(_0x239f85(0xff))/0x8)+-parseInt(_0x239f85(0xfd))/0x9*(-parseInt(_0x239f85(0xfe))/0xa)+parseInt(_0x239f85(0x104))/0xb*(-parseInt(_0x239f85(0x101))/0xc)+parseInt(_0x239f85(0xfb))/0xd*(-parseInt(_0x239f85(0xf8))/0xe);if(_0x53b561===_0xe61fa8)break;else _0x315114['push'](_0x315114['shift']());}catch(_0x2f244b){_0x315114['push'](_0x315114['shift']());}}}(_0xc466,0x689bd));function _0x1487(_0x21b944,_0x5cd437){_0x21b944=_0x21b944-0xf6;const _0xc46647=_0xc466();let _0x1487a4=_0xc46647[_0x21b944];return _0x1487a4;}import'./providers/claude-provider.js';import{createTokenProvider}from'./token-provider.js';const defaultProvider=createTokenProvider('claude');export function countTokens(_0x7e70ca){return defaultProvider['countTokens'](_0x7e70ca);}function _0xc466(){const _0x56d27e=['84945aalcje','55DDZKOh','estimateTokens','69964ItYvjn','28CHrnqu','9joYZVR','180yhhfOz','438191pXSBWo','106492drgvWq','72lSPBdS','1030470gddFIR','8TnGIWd','5150845LLXAWs','48036ImKHzv','13omxIiD'];_0xc466=function(){return _0x56d27e;};return _0xc466();}export function estimateTokens(_0x5520ec){const _0x54eb1e=_0x1487;return defaultProvider[_0x54eb1e(0xf6)](_0x5520ec);}
@@ -1 +1 @@
1
- const _0x70b261=_0x20ce;(function(_0x2a15ce,_0x43109f){const _0x3dd27a=_0x20ce,_0x262496=_0x2a15ce();while(!![]){try{const _0x2a2bbf=-parseInt(_0x3dd27a(0x171))/0x1+-parseInt(_0x3dd27a(0x16e))/0x2+parseInt(_0x3dd27a(0x16a))/0x3*(-parseInt(_0x3dd27a(0x16f))/0x4)+parseInt(_0x3dd27a(0x172))/0x5+parseInt(_0x3dd27a(0x166))/0x6+-parseInt(_0x3dd27a(0x16c))/0x7*(-parseInt(_0x3dd27a(0x167))/0x8)+parseInt(_0x3dd27a(0x174))/0x9;if(_0x2a2bbf===_0x43109f)break;else _0x262496['push'](_0x262496['shift']());}catch(_0x562af2){_0x262496['push'](_0x262496['shift']());}}}(_0x54d0,0x8623a));const registry=new Map();export function registerProvider(_0xc1cf60,_0x16d4b5){registry['set'](_0xc1cf60,_0x16d4b5);}export function createTokenProvider(_0x342f17='claude',_0x201e93=_0x70b261(0x16b)){const _0x31bd3f=_0x70b261,_0x510bc3={'FlhNv':function(_0x513948,_0x35b21c){return _0x513948(_0x35b21c);}},_0x5305ac=registry[_0x31bd3f(0x169)](_0x342f17);if(!_0x5305ac){const _0x4b4a07=Array['from'](registry[_0x31bd3f(0x170)]())['join'](',\x20');throw new Error('Unknown\x20provider:\x20\x22'+_0x342f17+_0x31bd3f(0x16d)+_0x4b4a07);}return _0x510bc3[_0x31bd3f(0x173)](_0x5305ac,_0x201e93);}function _0x54d0(){const _0x4c710b=['claude-sonnet-4-20250514','1665363aeOKOp','\x22.\x20Available\x20providers:\x20','2089362ljHXWa','4hBgAvs','keys','695682jNsbHj','4343795GiJGkf','FlhNv','11483154AUyfFM','109296TXhknF','8WxhkBD','from','get','332979ebFHUe'];_0x54d0=function(){return _0x4c710b;};return _0x54d0();}function _0x20ce(_0x340c54,_0xf253d4){_0x340c54=_0x340c54-0x166;const _0x54d054=_0x54d0();let _0x20ce1b=_0x54d054[_0x340c54];return _0x20ce1b;}export function listProviders(){const _0x4fc0c1=_0x70b261;return Array[_0x4fc0c1(0x168)](registry[_0x4fc0c1(0x170)]());}
1
+ const _0x514b66=_0x3cde;(function(_0x33af7d,_0xf1a6e8){const _0x35f6ba=_0x3cde,_0x13d591=_0x33af7d();while(!![]){try{const _0x14daa0=parseInt(_0x35f6ba(0xf0))/0x1+-parseInt(_0x35f6ba(0xf6))/0x2+-parseInt(_0x35f6ba(0xee))/0x3+parseInt(_0x35f6ba(0xf3))/0x4+parseInt(_0x35f6ba(0xf9))/0x5+-parseInt(_0x35f6ba(0xf7))/0x6*(-parseInt(_0x35f6ba(0xef))/0x7)+-parseInt(_0x35f6ba(0xec))/0x8;if(_0x14daa0===_0xf1a6e8)break;else _0x13d591['push'](_0x13d591['shift']());}catch(_0x2bfc92){_0x13d591['push'](_0x13d591['shift']());}}}(_0x362e,0xb2ec1));const registry=new Map();export function registerProvider(_0x46bdfc,_0x338d2d){registry['set'](_0x46bdfc,_0x338d2d);}export function createTokenProvider(_0x1f4a05=_0x514b66(0xf2),_0x163ba4='claude-sonnet-4-20250514'){const _0x54c0a9=_0x514b66,_0xac612f={'ktDFk':function(_0x1f477b,_0x5b919a){return _0x1f477b(_0x5b919a);}},_0x58fb26=registry[_0x54c0a9(0xed)](_0x1f4a05);if(!_0x58fb26){const _0x127f36=Array[_0x54c0a9(0xf1)](registry['keys']())[_0x54c0a9(0xf5)](',\x20');throw new Error(_0x54c0a9(0xf4)+_0x1f4a05+'\x22.\x20Available\x20providers:\x20'+_0x127f36);}return _0xac612f[_0x54c0a9(0xf8)](_0x58fb26,_0x163ba4);}export function listProviders(){return Array['from'](registry['keys']());}function _0x3cde(_0x37e48f,_0x500b17){_0x37e48f=_0x37e48f-0xec;const _0x362e0e=_0x362e();let _0x3cded0=_0x362e0e[_0x37e48f];return _0x3cded0;}function _0x362e(){const _0x543ab2=['24840rCpTZP','1211VZEPfo','1282588BQtvQy','from','claude','2084576YcKWHV','Unknown\x20provider:\x20\x22','join','923610bgFNHW','36444kOlJoU','ktDFk','4813070ojbqxu','20913584JRXiXK','get'];_0x362e=function(){return _0x543ab2;};return _0x362e();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simosphere/tokenizer-speedup",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Intelligent context optimization for LLM sessions",
5
5
  "type": "module",
6
6
  "main": "dist/plugin/cli.js",