@simosphere/tokenizer-speedup 0.8.1 → 0.9.0

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 (47) hide show
  1. package/.claude-plugin/plugin.json +22 -14
  2. package/dist/cli/analyze.js +1 -1
  3. package/dist/cli/config-cmd.js +1 -1
  4. package/dist/cli/index.js +1 -1
  5. package/dist/cli/init-cmd.js +1 -1
  6. package/dist/cli/setup-cmd.js +1 -1
  7. package/dist/cloud/stripe-checkout.js +1 -1
  8. package/dist/cloud/stripe-config.js +1 -1
  9. package/dist/cloud/stripe-usage.js +1 -1
  10. package/dist/cloud/stripe-webhooks.js +1 -1
  11. package/dist/cloud/subscription-store.js +1 -1
  12. package/dist/manifest.json +46 -37
  13. package/dist/mcp/index.js +1 -1
  14. package/dist/mcp/resources.js +1 -1
  15. package/dist/mcp/session.js +1 -1
  16. package/dist/mcp/tools.js +1 -1
  17. package/dist/plugin/cli.js +1 -1
  18. package/dist/plugin/compression/chunked.js +1 -0
  19. package/dist/plugin/compression/index.js +1 -0
  20. package/dist/plugin/compression/pipeline.js +1 -0
  21. package/dist/plugin/compression/quality.js +1 -0
  22. package/dist/plugin/compression/rule-based.js +1 -0
  23. package/dist/plugin/compression/structural.js +1 -0
  24. package/dist/plugin/compression/text-utils.js +1 -0
  25. package/dist/plugin/compression/token-budget.js +1 -0
  26. package/dist/plugin/compression/types.js +1 -0
  27. package/dist/plugin/config-loader.js +1 -1
  28. package/dist/plugin/context-compressor.js +1 -1
  29. package/dist/plugin/hook-dispatcher.js +1 -1
  30. package/dist/plugin/metering-client.js +1 -1
  31. package/dist/plugin/metrics-collector.js +1 -1
  32. package/dist/plugin/onboarding.js +1 -1
  33. package/dist/plugin/precompact-handler.js +1 -1
  34. package/dist/plugin/report.js +1 -1
  35. package/dist/plugin/rule-analytics-store.js +1 -1
  36. package/dist/plugin/rule-analytics.js +1 -1
  37. package/dist/plugin/rule-engine.js +1 -1
  38. package/dist/plugin/rule-sharing.js +1 -1
  39. package/dist/plugin/rule-suggest.js +1 -1
  40. package/dist/plugin/session-start.js +1 -1
  41. package/dist/plugin/smart-context.js +1 -1
  42. package/dist/shared/license.js +1 -1
  43. package/dist/shared/providers/claude-provider.js +1 -1
  44. package/dist/shared/providers/openai-provider.js +1 -1
  45. package/dist/shared/token-counter.js +1 -1
  46. package/dist/shared/token-provider.js +1 -1
  47. package/package.json +1 -1
@@ -1 +1 @@
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
+ 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 +1 @@
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
+ 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 +1 @@
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
+ (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 +1 @@
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
+ 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 +1 @@
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
+ 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 +1 @@
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();}
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']());}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simosphere/tokenizer-speedup",
3
- "version": "0.8.1",
3
+ "version": "0.9.0",
4
4
  "description": "Intelligent context optimization for LLM sessions",
5
5
  "type": "module",
6
6
  "main": "dist/plugin/cli.js",