@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.
- package/.claude-plugin/plugin.json +1 -1
- package/README-plugin.md +17 -1
- package/README.de.md +41 -1
- package/README.md +41 -1
- package/dist/cli/analyze.js +1 -1
- package/dist/cli/config-cmd.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli/init-cmd.js +1 -1
- package/dist/cli/setup-cmd.js +1 -1
- package/dist/cloud/stripe-checkout.js +1 -1
- package/dist/cloud/stripe-config.js +1 -1
- package/dist/cloud/stripe-usage.js +1 -1
- package/dist/cloud/stripe-webhooks.js +1 -1
- package/dist/cloud/subscription-store.js +1 -1
- package/dist/manifest.json +37 -37
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/resources.js +1 -1
- package/dist/mcp/session.js +1 -1
- package/dist/mcp/tools.js +1 -1
- package/dist/plugin/cli.js +1 -1
- package/dist/plugin/config-loader.js +1 -1
- package/dist/plugin/context-compressor.js +1 -1
- package/dist/plugin/hook-dispatcher.js +1 -1
- package/dist/plugin/metering-client.js +1 -1
- package/dist/plugin/metrics-collector.js +1 -1
- package/dist/plugin/onboarding.js +1 -1
- package/dist/plugin/precompact-handler.js +1 -1
- package/dist/plugin/report.js +1 -1
- package/dist/plugin/rule-analytics-store.js +1 -1
- package/dist/plugin/rule-analytics.js +1 -1
- package/dist/plugin/rule-engine.js +1 -1
- package/dist/plugin/rule-sharing.js +1 -1
- package/dist/plugin/rule-suggest.js +1 -1
- package/dist/plugin/session-start.js +1 -1
- package/dist/plugin/smart-context.js +1 -1
- package/dist/shared/license.js +1 -1
- package/dist/shared/providers/claude-provider.js +1 -1
- package/dist/shared/providers/openai-provider.js +1 -1
- package/dist/shared/token-counter.js +1 -1
- package/dist/shared/token-provider.js +1 -1
- package/package.json +1 -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')};}
|
package/dist/shared/license.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
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
|
|
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
|
|
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(
|
|
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
|
|
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();}
|