@simosphere/tokenizer-speedup 0.8.1 → 0.10.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 (51) 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 +50 -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/anonymize.js +1 -0
  19. package/dist/plugin/compression/cache.js +1 -0
  20. package/dist/plugin/compression/chunked.js +1 -0
  21. package/dist/plugin/compression/dedup.js +1 -0
  22. package/dist/plugin/compression/format-optimizer.js +1 -0
  23. package/dist/plugin/compression/index.js +1 -0
  24. package/dist/plugin/compression/pipeline.js +1 -0
  25. package/dist/plugin/compression/quality.js +1 -0
  26. package/dist/plugin/compression/rule-based.js +1 -0
  27. package/dist/plugin/compression/structural.js +1 -0
  28. package/dist/plugin/compression/text-utils.js +1 -0
  29. package/dist/plugin/compression/token-budget.js +1 -0
  30. package/dist/plugin/compression/types.js +1 -0
  31. package/dist/plugin/config-loader.js +1 -1
  32. package/dist/plugin/context-compressor.js +1 -1
  33. package/dist/plugin/hook-dispatcher.js +1 -1
  34. package/dist/plugin/metering-client.js +1 -1
  35. package/dist/plugin/metrics-collector.js +1 -1
  36. package/dist/plugin/onboarding.js +1 -1
  37. package/dist/plugin/precompact-handler.js +1 -1
  38. package/dist/plugin/report.js +1 -1
  39. package/dist/plugin/rule-analytics-store.js +1 -1
  40. package/dist/plugin/rule-analytics.js +1 -1
  41. package/dist/plugin/rule-engine.js +1 -1
  42. package/dist/plugin/rule-sharing.js +1 -1
  43. package/dist/plugin/rule-suggest.js +1 -1
  44. package/dist/plugin/session-start.js +1 -1
  45. package/dist/plugin/smart-context.js +1 -1
  46. package/dist/shared/license.js +1 -1
  47. package/dist/shared/providers/claude-provider.js +1 -1
  48. package/dist/shared/providers/openai-provider.js +1 -1
  49. package/dist/shared/token-counter.js +1 -1
  50. package/dist/shared/token-provider.js +1 -1
  51. package/package.json +1 -1
@@ -1 +1 @@
1
- function _0x6ab7(){const _0x192176=['dump','trigger','PlXAX','5797584JWoRzz','GczDA','1142616wxHzQH','length','2359494NotSJi','name','load','invalid\x20YAML','TwtVZ','217752ttOrvu','KpjYs','object','742096wuUniK','rules','isArray','hEUYf','custom-rules','ulwNf','imported','774775DTVGgG','133tdrTRU','238544qScNKM','summary_only','max_tokens','10lTPRgC'];_0x6ab7=function(){return _0x192176;};return _0x6ab7();}(function(_0x467f09,_0x358fba){const _0x4374e1=_0x54b4,_0x1a0ff1=_0x467f09();while(!![]){try{const _0x273c29=parseInt(_0x4374e1(0x1e3))/0x1+-parseInt(_0x4374e1(0x1f8))/0x2+-parseInt(_0x4374e1(0x1f0))/0x3+parseInt(_0x4374e1(0x1f5))/0x4+-parseInt(_0x4374e1(0x1e8))/0x5*(parseInt(_0x4374e1(0x1ee))/0x6)+parseInt(_0x4374e1(0x1e4))/0x7*(parseInt(_0x4374e1(0x1e5))/0x8)+parseInt(_0x4374e1(0x1ec))/0x9;if(_0x273c29===_0x358fba)break;else _0x1a0ff1['push'](_0x1a0ff1['shift']());}catch(_0x412afd){_0x1a0ff1['push'](_0x1a0ff1['shift']());}}}(_0x6ab7,0x7a709));function _0x54b4(_0x363a4b,_0x5e03a3){_0x363a4b=_0x363a4b-0x1e1;const _0x6ab70a=_0x6ab7();let _0x54b403=_0x6ab70a[_0x363a4b];return _0x54b403;}import _0x565d72 from'js-yaml';export function exportRuleBundle(_0x28bfc4,_0x59f2dd){const _0x50c3d7=_0x54b4,_0x4755c6={'TwtVZ':_0x50c3d7(0x1fc)},_0x2601dc={'name':_0x59f2dd[_0x50c3d7(0x1f1)]??_0x4755c6[_0x50c3d7(0x1f4)],'author':_0x59f2dd['author'],'description':_0x59f2dd['description'],'rules':_0x28bfc4};return _0x565d72[_0x50c3d7(0x1e9)](_0x2601dc,{'lineWidth':0x78});}export function importRuleBundle(_0x2604bf){const _0x938712=_0x54b4,_0x538043={'vjcYO':_0x938712(0x1e2),'SKuPx':'unknown'},_0x45f7de=_0x565d72[_0x938712(0x1f2)](_0x2604bf);return{'name':_0x45f7de['name']??_0x538043['vjcYO'],'author':_0x45f7de['author']??_0x538043['SKuPx'],'description':_0x45f7de['description']??'','rules':(_0x45f7de[_0x938712(0x1f9)]??[])['map'](_0x1fa68a=>({'trigger':_0x1fa68a['trigger'],'load':_0x1fa68a[_0x938712(0x1f2)],'max_tokens':_0x1fa68a[_0x938712(0x1e7)],'summary_only':_0x1fa68a[_0x938712(0x1e6)]}))};}export function validateRuleBundle(_0x10c140){const _0x52ed90=_0x54b4,_0x441c3b={'KpjYs':function(_0x534efb,_0x52254e){return _0x534efb!=_0x52254e;},'ulwNf':_0x52ed90(0x1f7),'hEUYf':'invalid\x20YAML\x20structure','PlXAX':'bundle\x20must\x20contain\x20rules\x20array','GczDA':_0x52ed90(0x1f3)};try{const _0x546778=_0x565d72['load'](_0x10c140);if(!_0x546778||_0x441c3b[_0x52ed90(0x1f6)](_0x441c3b[_0x52ed90(0x1e1)],typeof _0x546778))return{'valid':!0x1,'error':_0x441c3b[_0x52ed90(0x1fb)]};if(!Array[_0x52ed90(0x1fa)](_0x546778['rules'])||0x0===_0x546778[_0x52ed90(0x1f9)][_0x52ed90(0x1ef)])return{'valid':!0x1,'error':_0x441c3b[_0x52ed90(0x1eb)]};for(const _0x17f772 of _0x546778['rules'])if(!Array['isArray'](_0x17f772[_0x52ed90(0x1ea)])||!_0x17f772['load'])return{'valid':!0x1,'error':'each\x20rule\x20must\x20have\x20trigger\x20array\x20and\x20load\x20path'};return{'valid':!0x0};}catch{return{'valid':!0x1,'error':_0x441c3b[_0x52ed90(0x1ed)]};}}
1
+ function _0x1cc6(){const _0x1a616b=['128722JYzrCg','4002785oUUjtu','description','63628OUhLVU','1214775ToJeWW','imported','110CUbEQB','length','7352PDfenV','custom-rules','each\x20rule\x20must\x20have\x20trigger\x20array\x20and\x20load\x20path','rules','max_tokens','author','load','24AzrpJG','XHGuz','isArray','9264chhpiK','393drDkfV','UYqWz','name','14MiEJMo','332954cIUeXW','unknown','FhLtS'];_0x1cc6=function(){return _0x1a616b;};return _0x1cc6();}(function(_0x57cc0a,_0x5cf980){const _0x73e723=_0x4f7b,_0x19ad03=_0x57cc0a();while(!![]){try{const _0xa6bbab=-parseInt(_0x73e723(0x8f))/0x1+-parseInt(_0x73e723(0x95))/0x2+-parseInt(_0x73e723(0x8b))/0x3*(-parseInt(_0x73e723(0x9a))/0x4)+parseInt(_0x73e723(0x93))/0x5+-parseInt(_0x73e723(0x8a))/0x6*(-parseInt(_0x73e723(0x8e))/0x7)+parseInt(_0x73e723(0x87))/0x8*(-parseInt(_0x73e723(0x96))/0x9)+parseInt(_0x73e723(0x98))/0xa*(parseInt(_0x73e723(0x92))/0xb);if(_0xa6bbab===_0x5cf980)break;else _0x19ad03['push'](_0x19ad03['shift']());}catch(_0x3a2de6){_0x19ad03['push'](_0x19ad03['shift']());}}}(_0x1cc6,0x627fc));import _0x8ca647 from'js-yaml';export function exportRuleBundle(_0x544016,_0x5949bc){const _0x13dc88=_0x4f7b,_0x5ed8b8={'ichUQ':_0x13dc88(0x9b)},_0x3cab82={'name':_0x5949bc['name']??_0x5ed8b8['ichUQ'],'author':_0x5949bc[_0x13dc88(0x9f)],'description':_0x5949bc['description'],'rules':_0x544016};return _0x8ca647['dump'](_0x3cab82,{'lineWidth':0x78});}export function importRuleBundle(_0x89e170){const _0x2d400e=_0x4f7b,_0x2807e6={'uHhCC':_0x2d400e(0x90)},_0x5f016a=_0x8ca647[_0x2d400e(0x86)](_0x89e170);return{'name':_0x5f016a[_0x2d400e(0x8d)]??_0x2d400e(0x97),'author':_0x5f016a[_0x2d400e(0x9f)]??_0x2807e6['uHhCC'],'description':_0x5f016a[_0x2d400e(0x94)]??'','rules':(_0x5f016a['rules']??[])['map'](_0x309560=>({'trigger':_0x309560['trigger'],'load':_0x309560[_0x2d400e(0x86)],'max_tokens':_0x309560[_0x2d400e(0x9e)],'summary_only':_0x309560['summary_only']}))};}function _0x4f7b(_0x330716,_0x3337dd){_0x330716=_0x330716-0x86;const _0x1cc632=_0x1cc6();let _0x4f7ba0=_0x1cc632[_0x330716];return _0x4f7ba0;}export function validateRuleBundle(_0xee4274){const _0x3e27ee=_0x4f7b,_0x561ce9={'UYqWz':function(_0x268a09,_0x3f3002){return _0x268a09!=_0x3f3002;},'VuMSI':'object','FhLtS':function(_0x3c0e31,_0xd80687){return _0x3c0e31===_0xd80687;},'nwqYg':'bundle\x20must\x20contain\x20rules\x20array','XHGuz':'invalid\x20YAML'};try{const _0x4018d3=_0x8ca647[_0x3e27ee(0x86)](_0xee4274);if(!_0x4018d3||_0x561ce9[_0x3e27ee(0x8c)](_0x561ce9['VuMSI'],typeof _0x4018d3))return{'valid':!0x1,'error':'invalid\x20YAML\x20structure'};if(!Array[_0x3e27ee(0x89)](_0x4018d3[_0x3e27ee(0x9d)])||_0x561ce9[_0x3e27ee(0x91)](0x0,_0x4018d3['rules'][_0x3e27ee(0x99)]))return{'valid':!0x1,'error':_0x561ce9['nwqYg']};for(const _0x542f9e of _0x4018d3['rules'])if(!Array[_0x3e27ee(0x89)](_0x542f9e['trigger'])||!_0x542f9e['load'])return{'valid':!0x1,'error':_0x3e27ee(0x9c)};return{'valid':!0x0};}catch{return{'valid':!0x1,'error':_0x561ce9[_0x3e27ee(0x88)]};}}
@@ -1 +1 @@
1
- const _0x495877=_0x5112;function _0x5112(_0x30c489,_0x12cb71){_0x30c489=_0x30c489-0xef;const _0x16cad2=_0x16ca();let _0x511265=_0x16cad2[_0x30c489];return _0x511265;}function _0x16ca(){const _0x3e0f56=['split','4513384VsKdXZ','length','filter','123949AGENYY','set','that','34650HdGPpj','toLowerCase','was','the','9lLJvzK','not','2VDYeJh','820344JRSdcV','WwErW','adyxD','334872WjXNrO','replace','our','sort','add','has','get','885590XLVKPb','this','982122ngPfFU','for'];_0x16ca=function(){return _0x3e0f56;};return _0x16ca();}(function(_0x42069b,_0x17aead){const _0x38fc4e=_0x5112,_0x6a91ad=_0x42069b();while(!![]){try{const _0x375428=-parseInt(_0x38fc4e(0x102))/0x1*(parseInt(_0x38fc4e(0xef))/0x2)+parseInt(_0x38fc4e(0x105))/0x3+-parseInt(_0x38fc4e(0xf3))/0x4+-parseInt(_0x38fc4e(0xfa))/0x5+-parseInt(_0x38fc4e(0xfc))/0x6+parseInt(_0x38fc4e(0xf0))/0x7+-parseInt(_0x38fc4e(0xff))/0x8*(-parseInt(_0x38fc4e(0x109))/0x9);if(_0x375428===_0x17aead)break;else _0x6a91ad['push'](_0x6a91ad['shift']());}catch(_0x3ad184){_0x6a91ad['push'](_0x6a91ad['shift']());}}}(_0x16ca,0x2343b));const STOP_WORDS=new Set([_0x495877(0x108),'a','an','is','are',_0x495877(0x107),'were','be','been','to','of','in',_0x495877(0xfd),'on','with','at','by','from','it',_0x495877(0xfb),_0x495877(0x104),'and','or','but',_0x495877(0x10a),'no','i','my','me','we',_0x495877(0xf5),'you','your']);export function suggestRules(_0x310360,_0x428734,_0x28728e){const _0x335949=_0x495877,_0x4bd67c={'adyxD':function(_0x25e999,_0x5db473){return _0x25e999<_0x5db473;},'WwErW':function(_0x2bbb85,_0x2fc21b){return _0x2bbb85+_0x2fc21b;}},_0x41e486=new Set();for(const _0x2d52fa of _0x310360)for(const _0x38144a of _0x2d52fa['trigger'])_0x41e486[_0x335949(0xf7)](_0x38144a[_0x335949(0x106)]());const _0x1d87e8=new Map();for(const _0xca04b3 of _0x428734){const _0x381cc5=_0xca04b3[_0x335949(0x106)]()[_0x335949(0xfe)](/\s+/);for(const _0xb65396 of _0x381cc5){const _0x5cfed9=_0xb65396[_0x335949(0xf4)](/[^a-z0-9-]/g,'');_0x4bd67c[_0x335949(0xf2)](_0x5cfed9[_0x335949(0x100)],0x3)||STOP_WORDS['has'](_0x5cfed9)||_0x41e486[_0x335949(0xf8)](_0x5cfed9)||_0x1d87e8[_0x335949(0x103)](_0x5cfed9,_0x4bd67c[_0x335949(0xf1)](_0x1d87e8[_0x335949(0xf9)](_0x5cfed9)??0x0,0x1));}}return Array['from'](_0x1d87e8['entries']())[_0x335949(0x101)](([,_0x387310])=>_0x387310>=_0x28728e)[_0x335949(0xf6)](([,_0x2372d6],[,_0x481715])=>_0x481715-_0x2372d6)['map'](([_0x134e6e,_0x6b280d])=>({'keyword':_0x134e6e,'frequency':_0x6b280d,'suggestedLoad':'docs/'+_0x134e6e+'/*.md'}));}
1
+ function _0x14b1(_0x5b0593,_0x1008c1){_0x5b0593=_0x5b0593-0x65;const _0xd5693a=_0xd569();let _0x14b197=_0xd5693a[_0x5b0593];return _0x14b197;}const _0x184219=_0x14b1;(function(_0x5dbe21,_0x378d39){const _0x1cc4cc=_0x14b1,_0x105f06=_0x5dbe21();while(!![]){try{const _0x16d37c=-parseInt(_0x1cc4cc(0x71))/0x1*(-parseInt(_0x1cc4cc(0x66))/0x2)+parseInt(_0x1cc4cc(0x72))/0x3+parseInt(_0x1cc4cc(0x65))/0x4+-parseInt(_0x1cc4cc(0x6c))/0x5+-parseInt(_0x1cc4cc(0x7b))/0x6*(-parseInt(_0x1cc4cc(0x76))/0x7)+parseInt(_0x1cc4cc(0x7c))/0x8*(parseInt(_0x1cc4cc(0x77))/0x9)+-parseInt(_0x1cc4cc(0x67))/0xa;if(_0x16d37c===_0x378d39)break;else _0x105f06['push'](_0x105f06['shift']());}catch(_0x2edeae){_0x105f06['push'](_0x105f06['shift']());}}}(_0xd569,0x71e2f));const STOP_WORDS=new Set(['the','a','an','is','are','was',_0x184219(0x7d),'be',_0x184219(0x73),'to','of','in','for','on','with','at','by',_0x184219(0x78),'it',_0x184219(0x69),_0x184219(0x68),'and','or',_0x184219(0x75),'not','no','i','my','me','we','our','you','your']);function _0xd569(){const _0x283443=['toLowerCase','wJYrY','3794030CdKhhu','add','sort','length','map','30IPVWMK','2440443qMcZwc','been','/*.md','but','7uhCvNd','3305268ULzVeH','from','get','docs/','4742688CMKHaU','16gkEHSl','were','trigger','1248576xfVujT','13654JVGvJq','16301020TExglx','that','this'];_0xd569=function(){return _0x283443;};return _0xd569();}export function suggestRules(_0x1686b2,_0x5398f8,_0x367c61){const _0x2ab76f=_0x184219,_0x17b307={'wJYrY':function(_0x2abf7e,_0x3be8ac){return _0x2abf7e<_0x3be8ac;}},_0x47c0af=new Set();for(const _0x5471ab of _0x1686b2)for(const _0x4c0d4b of _0x5471ab[_0x2ab76f(0x7e)])_0x47c0af[_0x2ab76f(0x6d)](_0x4c0d4b[_0x2ab76f(0x6a)]());const _0xc3c5f2=new Map();for(const _0x493b2b of _0x5398f8){const _0x5d7953=_0x493b2b['toLowerCase']()['split'](/\s+/);for(const _0x552004 of _0x5d7953){const _0xb7d050=_0x552004['replace'](/[^a-z0-9-]/g,'');_0x17b307[_0x2ab76f(0x6b)](_0xb7d050[_0x2ab76f(0x6f)],0x3)||STOP_WORDS['has'](_0xb7d050)||_0x47c0af['has'](_0xb7d050)||_0xc3c5f2['set'](_0xb7d050,(_0xc3c5f2[_0x2ab76f(0x79)](_0xb7d050)??0x0)+0x1);}}return Array[_0x2ab76f(0x78)](_0xc3c5f2['entries']())['filter'](([,_0x51903b])=>_0x51903b>=_0x367c61)[_0x2ab76f(0x6e)](([,_0x203511],[,_0x4d394c])=>_0x4d394c-_0x203511)[_0x2ab76f(0x70)](([_0x844a7,_0x1f6c19])=>({'keyword':_0x844a7,'frequency':_0x1f6c19,'suggestedLoad':_0x2ab76f(0x7a)+_0x844a7+_0x2ab76f(0x74)}));}
@@ -1 +1 @@
1
- (function(_0x3143dd,_0x23b89f){const _0x369120=_0x221f,_0x4c7861=_0x3143dd();while(!![]){try{const _0x6e38bc=parseInt(_0x369120(0x105))/0x1*(parseInt(_0x369120(0x103))/0x2)+-parseInt(_0x369120(0xf3))/0x3*(parseInt(_0x369120(0xfc))/0x4)+parseInt(_0x369120(0x106))/0x5*(parseInt(_0x369120(0xf6))/0x6)+parseInt(_0x369120(0xf4))/0x7*(-parseInt(_0x369120(0x107))/0x8)+-parseInt(_0x369120(0x102))/0x9+-parseInt(_0x369120(0xfd))/0xa*(parseInt(_0x369120(0xfb))/0xb)+parseInt(_0x369120(0xef))/0xc;if(_0x6e38bc===_0x23b89f)break;else _0x4c7861['push'](_0x4c7861['shift']());}catch(_0x41c508){_0x4c7861['push'](_0x4c7861['shift']());}}}(_0x270b,0xeedb9));function _0x221f(_0xe052ba,_0x5d488c){_0xe052ba=_0xe052ba-0xee;const _0x270bd5=_0x270b();let _0x221f1d=_0x270bd5[_0xe052ba];return _0x221f1d;}import{execSync}from'node:child_process';import{readdirSync}from'node:fs';import{join}from'node:path';export function buildSessionStartContext(_0x1fcef8){const _0x410ae3=_0x221f,_0x5a3561={'xpcxW':function(_0x204e71,_0x1cf9c5,_0x2d6f2e){return _0x204e71(_0x1cf9c5,_0x2d6f2e);},'BMFzV':_0x410ae3(0xfe),'nPzAi':'pipe','XpBsA':_0x410ae3(0x101),'GKRpU':function(_0x26ce3a,_0x407d3,_0x1e5665){return _0x26ce3a(_0x407d3,_0x1e5665);},'jZMvT':'docs/lessons-learned','XwhXs':function(_0x2c3e31,_0x38ec71){return _0x2c3e31===_0x38ec71;}},{cwd:_0x522905}=_0x1fcef8;if(!_0x522905)return{};const _0x4bfb4a=[];try{const _0x4545d5=_0x5a3561[_0x410ae3(0xf9)](execSync,_0x410ae3(0xfa),{'cwd':_0x522905,'encoding':_0x5a3561[_0x410ae3(0xf8)],'stdio':[_0x410ae3(0xff),_0x5a3561[_0x410ae3(0x100)],_0x5a3561['nPzAi']]})['trim']()||_0x5a3561['XpBsA'],_0x5d1ed9=execSync('git\x20log\x20--oneline\x20-1',{'cwd':_0x522905,'encoding':_0x410ae3(0xfe),'stdio':['pipe','pipe',_0x410ae3(0xff)]})['trim']();_0x4bfb4a['push']('Git:\x20'+_0x4545d5+_0x410ae3(0xf7)+_0x5d1ed9);}catch{}try{const _0x19268d=_0x5a3561['GKRpU'](join,_0x522905,_0x5a3561['jZMvT']),_0x7392c9=readdirSync(_0x19268d)[_0x410ae3(0xf2)](_0x3619bc=>_0x3619bc[_0x410ae3(0xee)](_0x410ae3(0xf1))&&'_template.md'!==_0x3619bc);_0x7392c9[_0x410ae3(0xf0)]>0x0&&_0x4bfb4a[_0x410ae3(0xf5)](_0x410ae3(0x104)+_0x7392c9[_0x410ae3(0xf0)]+'\x20Lessons\x20Learned\x20vorhanden\x20in\x20docs/lessons-learned/');}catch{}return _0x5a3561['XwhXs'](0x0,_0x4bfb4a[_0x410ae3(0xf0)])?{}:{'additionalContext':_0x4bfb4a['join']('\x0a')};}function _0x270b(){const _0x41c24a=['DNA\x203:\x20','1393529Veibdm','8583915EApceJ','56dFDGmZ','endsWith','9129504KAlWeP','length','.md','filter','612ihfSOA','20181pyqGBW','push','6AXsarq','\x20|\x20','BMFzV','xpcxW','git\x20branch\x20--show-current','2261842ewzdZb','24664OdCJqQ','60FKSAJM','utf-8','pipe','nPzAi','detached','3428694CDunlW','2PkHtIm'];_0x270b=function(){return _0x41c24a;};return _0x270b();}
1
+ (function(_0x5c9aeb,_0x44367b){const _0x1bf152=_0x2470,_0x4d1f06=_0x5c9aeb();while(!![]){try{const _0x5bc6a0=parseInt(_0x1bf152(0xdb))/0x1*(parseInt(_0x1bf152(0xc8))/0x2)+-parseInt(_0x1bf152(0xd1))/0x3*(-parseInt(_0x1bf152(0xd9))/0x4)+parseInt(_0x1bf152(0xd0))/0x5+-parseInt(_0x1bf152(0xc9))/0x6*(parseInt(_0x1bf152(0xd7))/0x7)+-parseInt(_0x1bf152(0xce))/0x8+parseInt(_0x1bf152(0xc5))/0x9*(parseInt(_0x1bf152(0xcb))/0xa)+-parseInt(_0x1bf152(0xcf))/0xb;if(_0x5bc6a0===_0x44367b)break;else _0x4d1f06['push'](_0x4d1f06['shift']());}catch(_0x578b8f){_0x4d1f06['push'](_0x4d1f06['shift']());}}}(_0x15d8,0x532db));function _0x15d8(){const _0x465917=['.md','1186185JsNEQC','join','369836ZWJOjz','_template.md','466sDEFbi','pipe','trim','67995tpvOtg','length','\x20|\x20','2902oPWWHH','24GMmxJJ','git\x20branch\x20--show-current','770EFIuBq','docs/lessons-learned','DNA\x203:\x20','4683960iWlfMV','3496361RvKXyz','2857525ZnXiWl','3mhlPCv','sPAaK','filter','ceFrn','hCJrF'];_0x15d8=function(){return _0x465917;};return _0x15d8();}import{execSync}from'node:child_process';import{readdirSync}from'node:fs';function _0x2470(_0x1181ae,_0x1f038b){_0x1181ae=_0x1181ae-0xc5;const _0x15d8ce=_0x15d8();let _0x2470e2=_0x15d8ce[_0x1181ae];return _0x2470e2;}import{join}from'node:path';export function buildSessionStartContext(_0x54c495){const _0x258162=_0x2470,_0x10f76f={'ddvxD':function(_0x5c6c2a,_0x44970f,_0x359f6f){return _0x5c6c2a(_0x44970f,_0x359f6f);},'hCJrF':_0x258162(0xca),'sPAaK':_0x258162(0xdc),'kdNgc':'git\x20log\x20--oneline\x20-1','swEjt':_0x258162(0xcc),'ZFWyc':function(_0xe9ab49,_0x1feae7){return _0xe9ab49(_0x1feae7);},'ceFrn':function(_0x2d5297,_0x27fb4f){return _0x2d5297===_0x27fb4f;}},{cwd:_0x302ad6}=_0x54c495;if(!_0x302ad6)return{};const _0x8b74ca=[];try{const _0x546184=_0x10f76f['ddvxD'](execSync,_0x10f76f[_0x258162(0xd5)],{'cwd':_0x302ad6,'encoding':'utf-8','stdio':['pipe',_0x10f76f[_0x258162(0xd2)],_0x10f76f[_0x258162(0xd2)]]})[_0x258162(0xdd)]()||'detached',_0x3cd6e5=_0x10f76f['ddvxD'](execSync,_0x10f76f['kdNgc'],{'cwd':_0x302ad6,'encoding':'utf-8','stdio':[_0x258162(0xdc),_0x10f76f['sPAaK'],_0x10f76f[_0x258162(0xd2)]]})['trim']();_0x8b74ca['push']('Git:\x20'+_0x546184+_0x258162(0xc7)+_0x3cd6e5);}catch{}try{const _0x432dd8=join(_0x302ad6,_0x10f76f['swEjt']),_0x5787da=_0x10f76f['ZFWyc'](readdirSync,_0x432dd8)[_0x258162(0xd3)](_0x195256=>_0x195256['endsWith'](_0x258162(0xd6))&&_0x258162(0xda)!==_0x195256);_0x5787da[_0x258162(0xc6)]>0x0&&_0x8b74ca['push'](_0x258162(0xcd)+_0x5787da['length']+'\x20Lessons\x20Learned\x20vorhanden\x20in\x20docs/lessons-learned/');}catch{}return _0x10f76f[_0x258162(0xd4)](0x0,_0x8b74ca[_0x258162(0xc6)])?{}:{'additionalContext':_0x8b74ca[_0x258162(0xd8)]('\x0a')};}
@@ -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
+ const _0x1b94a5=_0x5347;(function(_0x4ebfff,_0x17561b){const _0x19ee26=_0x5347,_0x49a1cc=_0x4ebfff();while(!![]){try{const _0x3f5af9=-parseInt(_0x19ee26(0x9e))/0x1*(parseInt(_0x19ee26(0x99))/0x2)+-parseInt(_0x19ee26(0xa7))/0x3+-parseInt(_0x19ee26(0xaa))/0x4*(-parseInt(_0x19ee26(0xb3))/0x5)+parseInt(_0x19ee26(0xb2))/0x6+-parseInt(_0x19ee26(0x9c))/0x7*(parseInt(_0x19ee26(0xb6))/0x8)+parseInt(_0x19ee26(0xa8))/0x9+-parseInt(_0x19ee26(0xb7))/0xa*(parseInt(_0x19ee26(0xb1))/0xb);if(_0x3f5af9===_0x17561b)break;else _0x49a1cc['push'](_0x49a1cc['shift']());}catch(_0x143bc3){_0x49a1cc['push'](_0x49a1cc['shift']());}}}(_0x2965,0xa29bd));function _0x5347(_0x33c4b6,_0x47acd9){_0x33c4b6=_0x33c4b6-0x93;const _0x2965fc=_0x2965();let _0x53475c=_0x2965fc[_0x33c4b6];return _0x53475c;}import{readdirSync,readFileSync,existsSync}from'node:fs';function _0x2965(){const _0x14c4bd=['3498550EoJvbS','slice','/02_SIMOSphere-AI/Favicon/','[Fonts]\x20SIMO_CI_ROOT\x20nicht\x20konfiguriert.','lZyjt','\x20|\x20Bootstrap:\x20./bootstrap.sh','[Strategie]\x20Gesetze\x201(Schmerz),3(Wahrnehmung),5(Werttausch)\x20beachten.','filter','utf-8','push','[Workspace]\x20Config:\x20','530lrMsFk','---\x20','wZodJ','1454579ZMZHvT','/02_SIMOSphere-AI/Logos/\x20|\x20SIMO:\x20','1315qHPwPQ','[DNA\x203]\x20NACH\x20Fix:\x20Root\x20Cause\x20in\x20docs/lessons-learned/\x20dokumentieren.','nueEd','cwd','docs/strategy/geschaeftsgrundsaetze.md','endsWith','gjKQK','join','.md','112836ZlOofb','9612198SvjGgq','[CI]\x20Teal\x20#5EBFBF,\x20Dark\x20BG\x20#1A1A1A,\x20Uni\x20Neue\x20(Brand),\x20Inter\x20(App).\x20Fuer\x20Details:\x20simo-brand-guidelines\x20Skill\x20laden.','8ZRoUrB','pattern','[Font-Pfade]\x20Uni\x20Neue:\x20','JceLg','[Firma]\x20SIMO\x20GmbH,\x20Aschaffenburg,\x20Bavaria,\x20Germany\x20|\x20info@simo-online.com','[Firma]\x20','cBXZV','55fUFwBF','4072104QQMaJi','3156245mTVhls','docs/company/simo-gmbh-profil.md','length','8hEtpBE'];_0x2965=function(){return _0x14c4bd;};return _0x2965();}import{join}from'node:path';const keywordRules=[{'pattern':/\b(fix|bug|error|fehler|problem|broken|kaputt|crash|fail)\b/i,'build':_0x40e796=>{const _0x5bc79e=_0x5347,_0x28c4ac={'JceLg':'docs/lessons-learned','nueEd':function(_0x588cdd,_0x20da94){return _0x588cdd>_0x20da94;}},_0x1a75b3=[];if(_0x40e796[_0x5bc79e(0xa1)])try{const _0x55f316=join(_0x40e796['cwd'],_0x28c4ac[_0x5bc79e(0xad)]),_0x1bee95=readdirSync(_0x55f316)[_0x5bc79e(0x95)](_0x46875a=>_0x46875a[_0x5bc79e(0xa3)](_0x5bc79e(0xa6))&&'_template.md'!==_0x46875a);if(_0x28c4ac[_0x5bc79e(0xa0)](_0x1bee95[_0x5bc79e(0xb5)],0x0)){const _0x8afc12=_0x1bee95['slice'](0x0,0x5)['map'](_0x1952f3=>_0x5bc79e(0x9a)+_0x1952f3+':\x20'+readFileSync(join(_0x55f316,_0x1952f3),_0x5bc79e(0x96))['split']('\x0a')['slice'](0x0,0x5)['join']('\x20')['trim']());_0x1a75b3['push']('[DNA\x203]\x20Lessons\x20Learned\x20pruefen:\x0a'+_0x8afc12[_0x5bc79e(0xa5)]('\x0a'));}}catch{}return _0x1a75b3['push'](_0x5bc79e(0x9f)),_0x1a75b3[_0x5bc79e(0xa5)]('\x0a');}},{'pattern':/\b(design|ci|brand|farbe|color|theme|liquid.?glass|praesentation|marketing)\b/i,'build':()=>_0x1b94a5(0xa9)},{'pattern':/\b(logo|favicon|icon|wordmark|svg)\b/i,'build':()=>{const _0x34c7a2=_0x1b94a5,_0x2bbd34=process.env.SIMO_CI_ROOT||'';return _0x2bbd34?'[Logo-Pfade]\x20SIMOSphere:\x20'+_0x2bbd34+_0x34c7a2(0x9d)+_0x2bbd34+'/01_SIMO-GmbH/Logos/\x20|\x20Favicon:\x20'+_0x2bbd34+_0x34c7a2(0xb9):'[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':_0x429308=>{const _0xf024da=_0x1b94a5,_0x1e66eb={'cBXZV':function(_0x45257c,_0x45f651){return _0x45257c(_0x45f651);},'gjKQK':function(_0x5a9536,_0x3470c1,_0x510164){return _0x5a9536(_0x3470c1,_0x510164);}};if(_0x429308['cwd']){const _0x483ee1=join(_0x429308['cwd'],_0xf024da(0xa2));if(_0x1e66eb[_0xf024da(0xb0)](existsSync,_0x483ee1))return'[Strategie]\x20Gesetze\x201(Schmerz),3(Wahrnehmung),5(Werttausch)\x20beachten.\x0a'+_0x1e66eb[_0xf024da(0xa4)](readFileSync,_0x483ee1,'utf-8')['split']('\x0a')[_0xf024da(0xb8)](0x0,0x28)['join']('\x0a');}return _0xf024da(0x94);}},{'pattern':/\b(firma|impressum|vertrag|contract|legal|handelsregister|steuernummer|geschaeftsfuehr)\b/i,'build':_0x4781b0=>{const _0x56c948=_0x1b94a5,_0x3d7d3d={'zMCgz':_0x56c948(0x96),'lZyjt':_0x56c948(0xae)};if(_0x4781b0['cwd']){const _0x4353c3=join(_0x4781b0[_0x56c948(0xa1)],_0x56c948(0xb4));if(existsSync(_0x4353c3))return _0x56c948(0xaf)+readFileSync(_0x4353c3,_0x3d7d3d['zMCgz']);}return _0x3d7d3d[_0x56c948(0xbb)];}},{'pattern':/\b(setup|init|bootstrap|template|neues.?projekt|new.?project)\b/i,'build':()=>_0x1b94a5(0x98)+(process.env.SIMO_WORKSPACE_ROOT||''||'(SIMO_WORKSPACE_ROOT\x20nicht\x20gesetzt)')+_0x1b94a5(0x93)},{'pattern':/\b(font|schrift|typo|woff|otf|uni.?neue|inter.?display)\b/i,'build':()=>{const _0x503ba5=_0x1b94a5,_0x504777={'PDqTw':_0x503ba5(0xba)},_0x2319cd=process.env.SIMO_CI_ROOT||'';return _0x2319cd?_0x503ba5(0xac)+_0x2319cd+'/04_Schriftarten/Uni\x20Neue-Desktop/\x20|\x20Inter:\x20'+_0x2319cd+'/04_Schriftarten/Inter/\x20|\x20FA\x20Pro:\x20'+_0x2319cd+'/04_Schriftarten/fontawesome-pro-7.1.0-web/':_0x504777['PDqTw'];}}];export function buildSmartContext(_0x6248d){const _0x550f9c=_0x1b94a5,_0x2a0f53={'wZodJ':function(_0x32ebc4,_0x42b6a1){return _0x32ebc4===_0x42b6a1;}},_0x1feb3c=[];for(const _0x152eff of keywordRules)if(_0x152eff[_0x550f9c(0xab)]['test'](_0x6248d['prompt'])){const _0x3e4647=_0x152eff['build'](_0x6248d);_0x3e4647&&_0x1feb3c[_0x550f9c(0x97)](_0x3e4647);}return _0x2a0f53[_0x550f9c(0x9b)](0x0,_0x1feb3c[_0x550f9c(0xb5)])?{}:{'additionalContext':_0x1feb3c['join']('\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 _0x3603(_0x18193d,_0x2c40a0){_0x18193d=_0x18193d-0x1dd;const _0x271e4f=_0x271e();let _0x3603ba=_0x271e4f[_0x18193d];return _0x3603ba;}function _0x271e(){const _0x6bfc6=['23015080wBSzlO','8RHYQCn','split','2821402trYoCf','6229434zvyQHS','1464249HDTcfc','1145555TfUuIH','9944998TlVhaq','155971hWyaWJ'];_0x271e=function(){return _0x6bfc6;};return _0x271e();}(function(_0x264c4d,_0x3a3baa){const _0x43dd90=_0x3603,_0x3424c6=_0x264c4d();while(!![]){try{const _0x567fec=-parseInt(_0x43dd90(0x1e1))/0x1+parseInt(_0x43dd90(0x1e5))/0x2+-parseInt(_0x43dd90(0x1de))/0x3+-parseInt(_0x43dd90(0x1e3))/0x4*(parseInt(_0x43dd90(0x1df))/0x5)+-parseInt(_0x43dd90(0x1dd))/0x6+-parseInt(_0x43dd90(0x1e0))/0x7+parseInt(_0x43dd90(0x1e2))/0x8;if(_0x567fec===_0x3a3baa)break;else _0x3424c6['push'](_0x3424c6['shift']());}catch(_0x31aff8){_0x3424c6['push'](_0x3424c6['shift']());}}}(_0x271e,0xb1555));const LICENSE_KEY_REGEX=/^tsu_lic_(free|pro|team|enterprise)_[a-f0-9]{32}$/;export function validateLicenseFormat(_0x7c236c){return LICENSE_KEY_REGEX['test'](_0x7c236c);}export function parseLicenseKey(_0x52faaa){const _0x2b5a25=_0x3603,_0x383fc0=_0x52faaa[_0x2b5a25(0x1e4)]('_');return{'tier':_0x383fc0[0x2],'hash':_0x383fc0[0x3]};}export function isLicenseExpired(_0x59980b){return new Date(_0x59980b)<new Date();}
@@ -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(_0xd8d771,_0x55ff66){const _0x5d2443=_0x3a1b,_0x464fc4=_0xd8d771();while(!![]){try{const _0x53047f=-parseInt(_0x5d2443(0x6d))/0x1*(parseInt(_0x5d2443(0x71))/0x2)+-parseInt(_0x5d2443(0x73))/0x3+parseInt(_0x5d2443(0x6c))/0x4*(-parseInt(_0x5d2443(0x6a))/0x5)+parseInt(_0x5d2443(0x70))/0x6+parseInt(_0x5d2443(0x72))/0x7+parseInt(_0x5d2443(0x66))/0x8*(-parseInt(_0x5d2443(0x6f))/0x9)+-parseInt(_0x5d2443(0x68))/0xa*(-parseInt(_0x5d2443(0x67))/0xb);if(_0x53047f===_0x55ff66)break;else _0x464fc4['push'](_0x464fc4['shift']());}catch(_0x51c87e){_0x464fc4['push'](_0x464fc4['shift']());}}}(_0x223f,0xb0828));import{encode}from'gpt-tokenizer';import{registerProvider}from'../token-provider.js';export function createClaudeProvider(_0x219eb6){const _0x8f96cf=_0x3a1b,_0x2642e2={'eIdvR':'claude'};return{'name':_0x2642e2[_0x8f96cf(0x69)],'countTokens':_0xd37767=>_0xd37767?encode(_0xd37767)[_0x8f96cf(0x6b)]:0x0,'estimateTokens'(_0x558a83){const _0xdd4a0e=_0x8f96cf;if(!_0x558a83)return 0x0;const _0x3f5477=_0x558a83['split'](/\s+/)['filter'](Boolean)[_0xdd4a0e(0x6b)];return Math[_0xdd4a0e(0x6e)](1.4*_0x3f5477);}};}registerProvider('claude',createClaudeProvider);function _0x3a1b(_0x45738d,_0x5c3665){_0x45738d=_0x45738d-0x66;const _0x223ff7=_0x223f();let _0x3a1b3e=_0x223ff7[_0x45738d];return _0x3a1b3e;}function _0x223f(){const _0xccb927=['142181EhHLmN','ceil','30456bydUIp','5078946ZrYxmt','2yDTwnq','6894216RFDaqZ','3470436YEDytF','3160QbsAgI','3380322hjHCMb','80vGpPUD','eIdvR','5KeZtpH','length','3724552lVJNQj'];_0x223f=function(){return _0xccb927;};return _0x223f();}
@@ -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
+ function _0x588b(){const _0x4ccc07=['1168495jBlNsy','12828bgGaQU','filter','10681lCMZTt','407720gcjJqP','537467wSLWHO','47GiTuvj','12sCFvMi','531568xpwDsU','37094heoyfN','18EoxOkq','ceil','2158920qCEpDo','16upshWO','openai','length'];_0x588b=function(){return _0x4ccc07;};return _0x588b();}const _0x5e778b=_0x4c1a;(function(_0x58f63c,_0x5bb6a9){const _0xb5a1ff=_0x4c1a,_0x5b112e=_0x58f63c();while(!![]){try{const _0x14fa28=parseInt(_0xb5a1ff(0x1d8))/0x1*(parseInt(_0xb5a1ff(0x1db))/0x2)+parseInt(_0xb5a1ff(0x1d9))/0x3*(parseInt(_0xb5a1ff(0x1da))/0x4)+parseInt(_0xb5a1ff(0x1e2))/0x5+-parseInt(_0xb5a1ff(0x1de))/0x6+parseInt(_0xb5a1ff(0x1d7))/0x7*(parseInt(_0xb5a1ff(0x1df))/0x8)+-parseInt(_0xb5a1ff(0x1dc))/0x9*(-parseInt(_0xb5a1ff(0x1d6))/0xa)+parseInt(_0xb5a1ff(0x1d5))/0xb*(-parseInt(_0xb5a1ff(0x1e3))/0xc);if(_0x14fa28===_0x5bb6a9)break;else _0x5b112e['push'](_0x5b112e['shift']());}catch(_0x4096a4){_0x5b112e['push'](_0x5b112e['shift']());}}}(_0x588b,0x73c97));import{encode}from'gpt-tokenizer';import{registerProvider}from'../token-provider.js';export function createOpenAIProvider(_0x55e47c){const _0x5a5ee9=_0x4c1a;return{'name':_0x5a5ee9(0x1e0),'countTokens':_0x21d1c6=>_0x21d1c6?encode(_0x21d1c6)[_0x5a5ee9(0x1e1)]:0x0,'estimateTokens'(_0x251abb){const _0x3726c7=_0x5a5ee9;if(!_0x251abb)return 0x0;const _0x37d4ce=_0x251abb['split'](/\s+/)[_0x3726c7(0x1e4)](Boolean)[_0x3726c7(0x1e1)];return Math[_0x3726c7(0x1dd)](1.3*_0x37d4ce);}};}function _0x4c1a(_0x57b464,_0x369f45){_0x57b464=_0x57b464-0x1d5;const _0x588bb8=_0x588b();let _0x4c1a82=_0x588bb8[_0x57b464];return _0x4c1a82;}registerProvider(_0x5e778b(0x1e0),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(_0x2067bc,_0x48a048){const _0x23dbcd=_0x4323,_0x3532c1=_0x2067bc();while(!![]){try{const _0x129094=-parseInt(_0x23dbcd(0x1cb))/0x1+-parseInt(_0x23dbcd(0x1cf))/0x2*(-parseInt(_0x23dbcd(0x1d0))/0x3)+-parseInt(_0x23dbcd(0x1c7))/0x4*(parseInt(_0x23dbcd(0x1c5))/0x5)+parseInt(_0x23dbcd(0x1cc))/0x6*(-parseInt(_0x23dbcd(0x1c6))/0x7)+-parseInt(_0x23dbcd(0x1cd))/0x8+parseInt(_0x23dbcd(0x1c8))/0x9*(-parseInt(_0x23dbcd(0x1c9))/0xa)+parseInt(_0x23dbcd(0x1ce))/0xb*(parseInt(_0x23dbcd(0x1ca))/0xc);if(_0x129094===_0x48a048)break;else _0x3532c1['push'](_0x3532c1['shift']());}catch(_0x2043c1){_0x3532c1['push'](_0x3532c1['shift']());}}}(_0x8f8b,0xe80c7));import'./providers/claude-provider.js';import{createTokenProvider}from'./token-provider.js';const defaultProvider=createTokenProvider('claude');function _0x4323(_0x323d58,_0x4cd432){_0x323d58=_0x323d58-0x1c4;const _0x8f8b79=_0x8f8b();let _0x43236c=_0x8f8b79[_0x323d58];return _0x43236c;}function _0x8f8b(){const _0x4d22d8=['estimateTokens','5JIDOcy','63yfBOBf','2436532hGFDXE','9AGETGp','3438550bkhNql','4032WYpXic','140030lHQHez','18744clNKWA','8940352TNfAmL','94028KdmBlN','634042ZuaLva','3onnqrz'];_0x8f8b=function(){return _0x4d22d8;};return _0x8f8b();}export function countTokens(_0x296f08){return defaultProvider['countTokens'](_0x296f08);}export function estimateTokens(_0x355115){const _0x5ad44d=_0x4323;return defaultProvider[_0x5ad44d(0x1c4)](_0x355115);}
@@ -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
+ const _0x43aecb=_0x31e9;(function(_0x5eecf6,_0x1c89a4){const _0x3b36a6=_0x31e9,_0x50376b=_0x5eecf6();while(!![]){try{const _0x1e7165=-parseInt(_0x3b36a6(0xfd))/0x1+-parseInt(_0x3b36a6(0xfc))/0x2*(parseInt(_0x3b36a6(0xff))/0x3)+-parseInt(_0x3b36a6(0xfa))/0x4+parseInt(_0x3b36a6(0xfe))/0x5*(parseInt(_0x3b36a6(0x101))/0x6)+parseInt(_0x3b36a6(0x102))/0x7+-parseInt(_0x3b36a6(0xfb))/0x8+parseInt(_0x3b36a6(0xf8))/0x9;if(_0x1e7165===_0x1c89a4)break;else _0x50376b['push'](_0x50376b['shift']());}catch(_0x5e83e9){_0x50376b['push'](_0x50376b['shift']());}}}(_0x4e47,0xd38fe));function _0x31e9(_0x11cfd1,_0x57a4eb){_0x11cfd1=_0x11cfd1-0xf7;const _0x4e47be=_0x4e47();let _0x31e949=_0x4e47be[_0x11cfd1];return _0x31e949;}function _0x4e47(){const _0x4473ff=['keys','32969655VevySk','claude-sonnet-4-20250514','6054424YsxGbv','4242800lOSsVE','6HFmZIl','532180HOuDCQ','20rZLqKC','887631wCpxka','Unknown\x20provider:\x20\x22','776082FlAEUP','1047494JXXoDT','claude','from'];_0x4e47=function(){return _0x4473ff;};return _0x4e47();}const registry=new Map();export function registerProvider(_0x119a58,_0x99553e){registry['set'](_0x119a58,_0x99553e);}export function createTokenProvider(_0x47fa5b=_0x43aecb(0x103),_0x491f05=_0x43aecb(0xf9)){const _0x2e318a=_0x43aecb,_0x1fc8af=registry['get'](_0x47fa5b);if(!_0x1fc8af){const _0x55edad=Array[_0x2e318a(0x104)](registry['keys']())['join'](',\x20');throw new Error(_0x2e318a(0x100)+_0x47fa5b+'\x22.\x20Available\x20providers:\x20'+_0x55edad);}return _0x1fc8af(_0x491f05);}export function listProviders(){const _0xe7538=_0x43aecb;return Array[_0xe7538(0x104)](registry[_0xe7538(0xf7)]());}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simosphere/tokenizer-speedup",
3
- "version": "0.8.1",
3
+ "version": "0.10.0",
4
4
  "description": "Intelligent context optimization for LLM sessions",
5
5
  "type": "module",
6
6
  "main": "dist/plugin/cli.js",