@synthetic-ai/ae-mcp 2.2.1 → 2.4.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.
package/dist/store.mjs CHANGED
@@ -1 +1 @@
1
- (function(_0x24dde5,_0x1cda61){const _0x19481c={_0x10d13e:0x43c,_0x35fefe:0x445,_0x41ba33:0x43d,_0x272e23:0x436,_0x2893d6:0x52,_0x109779:0x5d},_0x50bdb1={_0x4a60b8:0x32e};function _0x1a69ca(_0x412d17,_0x4b2996){return _0x59cd(_0x412d17- -0x16e,_0x4b2996);}function _0x2d1f61(_0x5e444f,_0x7b94f4){return _0x59cd(_0x7b94f4-_0x50bdb1._0x4a60b8,_0x5e444f);}const _0x146021=_0x24dde5();while(!![]){try{const _0x4a8be3=parseInt(_0x1a69ca(-0x56,-0x53))/0x1+-parseInt(_0x2d1f61(_0x19481c._0x10d13e,_0x19481c._0x35fefe))/0x2+parseInt(_0x2d1f61(_0x19481c._0x41ba33,_0x19481c._0x272e23))/0x3+parseInt(_0x1a69ca(-_0x19481c._0x2893d6,-0x45))/0x4+-parseInt(_0x1a69ca(-0x54,-0x48))/0x5+-parseInt(_0x2d1f61(0x439,0x43e))/0x6*(-parseInt(_0x2d1f61(0x440,0x443))/0x7)+-parseInt(_0x1a69ca(-0x55,-_0x19481c._0x109779))/0x8;if(_0x4a8be3===_0x1cda61)break;else _0x146021['push'](_0x146021['shift']());}catch(_0x15b167){_0x146021['push'](_0x146021['shift']());}}}(_0x20f8,0x335df));import{homedir}from'node:os';import{join}from'node:path';function _0x59cd(_0x49f0dc,_0x259edf){_0x49f0dc=_0x49f0dc-0xfe;const _0x20f8d6=_0x20f8();let _0x59cd8d=_0x20f8d6[_0x49f0dc];if(_0x59cd['nwqwTB']===undefined){var _0x4109c0=function(_0x1e30e1){const _0xbe4562='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x12a600='',_0x35e180='';for(let _0x16cf42=0x0,_0x5767d3,_0x5801df,_0x531562=0x0;_0x5801df=_0x1e30e1['charAt'](_0x531562++);~_0x5801df&&(_0x5767d3=_0x16cf42%0x4?_0x5767d3*0x40+_0x5801df:_0x5801df,_0x16cf42++%0x4)?_0x12a600+=String['fromCharCode'](0xff&_0x5767d3>>(-0x2*_0x16cf42&0x6)):0x0){_0x5801df=_0xbe4562['indexOf'](_0x5801df);}for(let _0x317ec1=0x0,_0x384973=_0x12a600['length'];_0x317ec1<_0x384973;_0x317ec1++){_0x35e180+='%'+('00'+_0x12a600['charCodeAt'](_0x317ec1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x35e180);};_0x59cd['WvVbdc']=_0x4109c0,_0x59cd['zZeGsZ']={},_0x59cd['nwqwTB']=!![];}const _0x45cdd4=_0x20f8d6[0x0],_0x3b874d=_0x49f0dc+_0x45cdd4,_0xf1d09d=_0x59cd['zZeGsZ'][_0x3b874d];return!_0xf1d09d?(_0x59cd8d=_0x59cd['WvVbdc'](_0x59cd8d),_0x59cd['zZeGsZ'][_0x3b874d]=_0x59cd8d):_0x59cd8d=_0xf1d09d,_0x59cd8d;}import{existsSync,mkdirSync,appendFileSync,readFileSync,writeFileSync}from'node:fs';export const DATA_DIR=process.env.AE_MCP_DATA_DIR||join(homedir(),'.synthetic-ae-mcp');export const JOURNAL_PATH=join(DATA_DIR,_0x38fd92(0x454,0x462));export const WRAPPERS_PATH=join(DATA_DIR,_0x293213(0x103,0x104));function _0x293213(_0x1d3831,_0x3e8a08){return _0x59cd(_0x3e8a08- -0x7,_0x1d3831);}function ensureDir(){if(!existsSync(DATA_DIR))mkdirSync(DATA_DIR,{'recursive':!![]});}export function appendJournal(_0x12a600){const _0x1da5d8={_0x3c1e67:0x92,_0x5bdcdb:0x8c},_0x19bf7={_0x381331:0x69e},_0x56ddd7={_0x2e0ba1:0x500};function _0x48a00d(_0x13d16f,_0x14c4eb){return _0x38fd92(_0x14c4eb,_0x13d16f- -_0x56ddd7._0x2e0ba1);}function _0xeceb2a(_0x41868c,_0x16e9df){return _0x38fd92(_0x16e9df,_0x41868c- -_0x19bf7._0x381331);}try{ensureDir(),appendFileSync(JOURNAL_PATH,JSON[_0xeceb2a(-0x24b,-0x25b)](_0x12a600)+'\x0a',_0x48a00d(-_0x1da5d8._0x3c1e67,-_0x1da5d8._0x5bdcdb));}catch(_0x35e180){}}export function readJournal(){const _0x2e49e8={_0x9690da:0xf9,_0x1918a5:0x106,_0x1c2623:0xe7,_0x26b46d:0xd9,_0x16a7e8:0xda};if(!existsSync(JOURNAL_PATH))return[];const _0x16cf42=[];for(const _0x5767d3 of readFileSync(JOURNAL_PATH,_0x1d4c4c(_0x2e49e8._0x9690da,_0x2e49e8._0x1918a5))[_0x1d4c4c(_0x2e49e8._0x1c2623,0xe1)]('\x0a')){const _0x5801df=_0x5767d3[_0x1d4c4c(0xea,_0x2e49e8._0x26b46d)]();if(!_0x5801df)continue;try{_0x16cf42[_0x1d4c4c(0xf6,0xe9)](JSON[_0x37068e(-0xd6,-_0x2e49e8._0x16a7e8)](_0x5801df));}catch(_0x531562){}}function _0x1d4c4c(_0x205e3c,_0x12365c){return _0x293213(_0x12365c,_0x205e3c- -0x1e);}function _0x37068e(_0x5bea37,_0x4f0fe0){return _0x293213(_0x5bea37,_0x4f0fe0- -0x1da);}return _0x16cf42;}export function readWrappers(){const _0x5833fd={_0x1010e2:0x452,_0x1e8733:0x443,_0x3fa805:0x458,_0x292a67:0x457},_0x2b37a6={_0x3e8e7f:0x352},_0x926506={_0x5a5eff:0x20d};function _0x34c549(_0x312fc3,_0x149863){return _0x293213(_0x149863,_0x312fc3-_0x926506._0x5a5eff);}if(!existsSync(WRAPPERS_PATH))return[];function _0x3762d7(_0x3e7319,_0x314f6b){return _0x293213(_0x314f6b,_0x3e7319-_0x2b37a6._0x3e8e7f);}try{const _0x317ec1=JSON[_0x3762d7(_0x5833fd._0x1010e2,_0x5833fd._0x1e8733)](readFileSync(WRAPPERS_PATH,_0x34c549(0x324,0x31a)));return Array[_0x3762d7(_0x5833fd._0x3fa805,_0x5833fd._0x292a67)](_0x317ec1)?_0x317ec1:[];}catch(_0x384973){return[];}}export function writeWrappers(_0x206dce){const _0x15490f={_0x34018a:0x413},_0x135542={_0x2ee6f2:0x40};function _0x171933(_0x3faaee,_0x207493){return _0x38fd92(_0x3faaee,_0x207493- -_0x135542._0x2ee6f2);}ensureDir(),writeFileSync(WRAPPERS_PATH,JSON[_0x171933(0x41c,_0x15490f._0x34018a)](_0x206dce,null,0x2),'utf-8');}function _0x20f8(){const _0x1d3005=['CMf3','DhjPBq','mZe4mZaWz0Prqxfn','CgfYyw1Z','AM91CM5HBc5QC29UBa','B2jQzwn0','y2fSBa','ndLcB1vizNK','zMfSC2u','nJa0mtCWC0LLsM1W','mZiWndm3ugTfzKHm','mtC2mdCXmMvIuxPwEq','mtK1mta3mhrizND1CG','ChvZAa','mZCXnJy4zKPmwwLy','CMvXDwLYzwq','DxrMltG','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxiGjW','DhLWzq','AgfZt3DUuhjVCgvYDhK','y29Kzq','ChjVDg90ExbL','yxjYyxK','C3rYAw5N','C3rYAw5NAwz5','BMfTzq','AM9PBG','zgvZy3jPChrPB24','CgfYC2u','mtaXndi0ovvbCNjLyq','yM9VBgvHBG','BNvTyMvY','D3jHChbLCNmUANnVBG','C3bSAxq','AxnbCNjHEq'];_0x20f8=function(){return _0x1d3005;};return _0x20f8();}const TYPE_TO_SCHEMA={'string':()=>({'type':_0x293213(0xfd,0xfb)}),'number':()=>({'type':'number'}),'boolean':()=>({'type':_0x293213(0x108,0x102)}),'array':()=>({'type':_0x38fd92(0x45f,0x451)}),'object':()=>({'type':_0x293213(0x114,0x10c)}),'raw':()=>({'type':_0x293213(0xf2,0xfb)})};export function wrapperToToolDef(_0x5516c3){const _0xc60bea={_0x430601:0x3cb,_0x5382eb:0x107,_0x1bcd8b:0x3c6,_0x5c5958:0x11b,_0x53e843:0x3b1,_0x572d9f:0x3a2,_0x105612:0x3b5},_0x3d6af1={_0x405904:0x2b2},_0x11c38f={_0x28301a:0x212},_0x355646={},_0x273261=[];function _0x1e618e(_0x178f17,_0x4546e8){return _0x293213(_0x178f17,_0x4546e8- -_0x11c38f._0x28301a);}for(const _0x3572af of _0x5516c3['params']||[]){const _0x504117=(TYPE_TO_SCHEMA[_0x3572af[_0x57e0f2(_0xc60bea._0x430601,0x3c0)]]||TYPE_TO_SCHEMA[_0x1e618e(-_0xc60bea._0x5382eb,-0x117)])();_0x355646[_0x3572af[_0x57e0f2(0x3af,0x3bc)]]={..._0x504117,'description':_0x3572af['description']||''};if(_0x3572af[_0x57e0f2(0x3c8,0x3cd)])_0x273261[_0x57e0f2(_0xc60bea._0x1bcd8b,0x3d7)](_0x3572af['name']);}function _0x57e0f2(_0x2c6816,_0x565589){return _0x293213(_0x565589,_0x2c6816-_0x3d6af1._0x405904);}return{'name':_0x5516c3[_0x1e618e(-_0xc60bea._0x5c5958,-0x115)],'description':(_0x5516c3[_0x57e0f2(_0xc60bea._0x53e843,_0xc60bea._0x572d9f)]||'')+'\x20\x20[promoted\x20wrapper]','inputSchema':{'type':_0x57e0f2(0x3be,_0xc60bea._0x105612),'properties':_0x355646,'required':_0x273261,'additionalProperties':![]}};}function _0x38fd92(_0x406a75,_0x447416){const _0x3d2f21={_0x5aedbd:0x350};return _0x59cd(_0x447416-_0x3d2f21._0x5aedbd,_0x406a75);}function renderLiteral(_0x269648,_0x7e40c9){const _0x17a9c3={_0x13266b:0x22c,_0x1207c0:0x6e,_0x2bf747:0x71};function _0xfd3ac9(_0x3b12af,_0x173690){return _0x38fd92(_0x3b12af,_0x173690- -0x21c);}function _0x523413(_0x277ebf,_0x1dc35a){return _0x38fd92(_0x277ebf,_0x1dc35a- -0x3f8);}switch(_0x7e40c9){case _0xfd3ac9(_0x17a9c3._0x13266b,0x236):return JSON[_0xfd3ac9(0x241,0x237)](String(_0x269648??''));case _0x523413(0x5c,0x62):return String(Number(_0x269648));case'boolean':return _0x269648?'true':_0x523413(0x76,_0x17a9c3._0x1207c0);case _0xfd3ac9(0x245,0x235):case _0x523413(0x60,0x6b):return JSON['stringify'](_0x269648??null);case _0x523413(_0x17a9c3._0x2bf747,0x66):return String(_0x269648??'');default:return JSON[_0x523413(0x5d,0x5b)](String(_0x269648??''));}}export function fillTemplate(_0x535902,_0xcc0001){const _0x361165={_0x4268fa:0x90,_0x3ca536:0x8f,_0x394ceb:0x366,_0x1177b1:0x353,_0x38df14:0x369,_0x702b36:0x37a,_0x164380:0x359,_0x28def3:0x361,_0x95d617:0x359,_0x43a28c:0x358,_0x2940f6:0x35a,_0x2834ff:0x35c};let _0x177edf=_0x535902[_0x394883(_0x361165._0x4268fa,_0x361165._0x3ca536)];for(const _0x4f68d2 of _0x535902[_0x3b91bf(_0x361165._0x394ceb,0x36f)]||[]){const _0x489db9=_0xcc0001&&Object[_0x3b91bf(0x355,0x358)][_0x3b91bf(_0x361165._0x1177b1,0x342)][_0x3b91bf(_0x361165._0x38df14,_0x361165._0x702b36)](_0xcc0001,_0x4f68d2[_0x3b91bf(_0x361165._0x164380,0x364)]);let _0x3c6e84=_0x489db9?_0xcc0001[_0x4f68d2[_0x3b91bf(0x359,_0x361165._0x38df14)]]:_0x4f68d2['default'];if(_0x3c6e84===undefined){if(_0x4f68d2[_0x394883(0xae,0xa6)])throw new Error(_0x394883(0xb0,0xa6)+_0x4f68d2['name']+'\x27');continue;}const _0x2ee699=renderLiteral(_0x3c6e84,_0x4f68d2['type']);_0x177edf=_0x177edf[_0x3b91bf(_0x361165._0x28def3,0x35a)]('{{'+_0x4f68d2[_0x3b91bf(_0x361165._0x95d617,_0x361165._0x43a28c)]+'}}')[_0x3b91bf(_0x361165._0x2940f6,_0x361165._0x2834ff)](_0x2ee699);}function _0x3b91bf(_0x51f4db,_0x5c3c0e){return _0x38fd92(_0x5c3c0e,_0x51f4db- -0xfb);}function _0x394883(_0x44509c,_0x188dfe){return _0x38fd92(_0x188dfe,_0x44509c- -0x3bf);}return _0x177edf;}
1
+ (function(_0x52bf96,_0x161f8d){const _0x287c3c={_0xa6c91a:0x106,_0x4575bd:0xff,_0x4506f6:0x115,_0x46f113:0x548,_0x3d8dad:0x544,_0x529799:0x540,_0x27cd1b:0x550,_0x581180:0x53e},_0x2937cc={_0x5bc66c:0x37f},_0x1e3bfc={_0x737990:0x2ce},_0x3e896b=_0x52bf96();function _0x4363db(_0x46cd91,_0x50f083){return _0x3258(_0x50f083- -_0x1e3bfc._0x737990,_0x46cd91);}function _0x4502d8(_0x3b60aa,_0x480a09){return _0x3258(_0x480a09-_0x2937cc._0x5bc66c,_0x3b60aa);}while(!![]){try{const _0xf01cd5=-parseInt(_0x4363db(-0x107,-_0x287c3c._0xa6c91a))/0x1+parseInt(_0x4363db(-0x109,-_0x287c3c._0x4575bd))/0x2*(-parseInt(_0x4363db(-_0x287c3c._0x4506f6,-0x116))/0x3)+-parseInt(_0x4502d8(0x542,0x540))/0x4*(parseInt(_0x4363db(-0x100,-0xfb))/0x5)+parseInt(_0x4502d8(0x558,0x554))/0x6+-parseInt(_0x4502d8(_0x287c3c._0x46f113,_0x287c3c._0x3d8dad))/0x7*(-parseInt(_0x4502d8(_0x287c3c._0x529799,0x53a))/0x8)+parseInt(_0x4502d8(_0x287c3c._0x46f113,0x548))/0x9*(-parseInt(_0x4502d8(0x558,_0x287c3c._0x27cd1b))/0xa)+parseInt(_0x4502d8(0x542,_0x287c3c._0x581180))/0xb;if(_0xf01cd5===_0x161f8d)break;else _0x3e896b['push'](_0x3e896b['shift']());}catch(_0x28a8ce){_0x3e896b['push'](_0x3e896b['shift']());}}}(_0x5092,0x317d3));function _0x5092(){const _0x227226=['ntHwuLvoEvG','B2jQzwn0','ndiXmZeWv3DSww9g','CMvXDwLYzwq','nJvkyML4Eu4','BNvTyMvY','mZK5mJiYrxbZu3HA','C3rYAw5N','DxrMltG','C3bSAxq','zgvMyxvSDa','CgfYC2u','y2fSBa','DhLWzq','zgvZy3jPChrPB24','mZy4ndn4uw9LAMS','CgfYyw1Z','ChjVDg90ExbL','ogL1DerXCG','yxjYyxK','ChvZAa','zMfSC2u','nZqXnZKXnNj2v29lBa','CMf3','oti0oe9byuXAqW','AM91CM5HBc5QC29UBa','icbBChjVBw90zwqGD3jHChbLCL0','y29Kzq','mtq1nJa2m0XTr3bdza','C3rYAw5NAwz5','yM9VBgvHBG','mJmZntK3whPZAgzQ','mJDbBejbthe','BMfTzq','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxiGjW','D3jHChbLCNmUANnVBG','AxnbCNjHEq','DhjPBq'];_0x5092=function(){return _0x227226;};return _0x5092();}import{homedir}from'node:os';import{join}from'node:path';function _0x3258(_0x49dd90,_0x4c3e3d){_0x49dd90=_0x49dd90-0x1b5;const _0x509282=_0x5092();let _0x3258cc=_0x509282[_0x49dd90];if(_0x3258['pAdRlS']===undefined){var _0x2a39c2=function(_0x207168){const _0xa3b2f3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2e9b90='',_0x16fc45='';for(let _0x314be3=0x0,_0x50de8a,_0x2ac05d,_0x1d8c9b=0x0;_0x2ac05d=_0x207168['charAt'](_0x1d8c9b++);~_0x2ac05d&&(_0x50de8a=_0x314be3%0x4?_0x50de8a*0x40+_0x2ac05d:_0x2ac05d,_0x314be3++%0x4)?_0x2e9b90+=String['fromCharCode'](0xff&_0x50de8a>>(-0x2*_0x314be3&0x6)):0x0){_0x2ac05d=_0xa3b2f3['indexOf'](_0x2ac05d);}for(let _0x3bfe6d=0x0,_0x285ce5=_0x2e9b90['length'];_0x3bfe6d<_0x285ce5;_0x3bfe6d++){_0x16fc45+='%'+('00'+_0x2e9b90['charCodeAt'](_0x3bfe6d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x16fc45);};_0x3258['fhQeZL']=_0x2a39c2,_0x3258['kzcsdW']={},_0x3258['pAdRlS']=!![];}const _0x19fb29=_0x509282[0x0],_0x134548=_0x49dd90+_0x19fb29,_0x39524d=_0x3258['kzcsdW'][_0x134548];return!_0x39524d?(_0x3258cc=_0x3258['fhQeZL'](_0x3258cc),_0x3258['kzcsdW'][_0x134548]=_0x3258cc):_0x3258cc=_0x39524d,_0x3258cc;}import{existsSync,mkdirSync,appendFileSync,readFileSync,writeFileSync}from'node:fs';export const DATA_DIR=process.env.AE_MCP_DATA_DIR||join(homedir(),'.synthetic-ae-mcp');export const JOURNAL_PATH=join(DATA_DIR,_0x13e127(-0x4a,-0x5a));export const WRAPPERS_PATH=join(DATA_DIR,_0x453eca(0x23e,0x250));function _0x453eca(_0x3437bb,_0x2e12cc){return _0x3258(_0x2e12cc-0x84,_0x3437bb);}function ensureDir(){if(!existsSync(DATA_DIR))mkdirSync(DATA_DIR,{'recursive':!![]});}export function appendJournal(_0x2e9b90){const _0x2be8a5={_0x2365b6:0x1ba},_0x59b8f0={_0x2ffc36:0x123},_0x46966e={_0x19758b:0x403};function _0x111a47(_0x3bbdab,_0x3f6ec5){return _0x453eca(_0x3bbdab,_0x3f6ec5- -_0x46966e._0x19758b);}function _0x3ff1d8(_0xc24e4,_0x1601bb){return _0x453eca(_0x1601bb,_0xc24e4-_0x59b8f0._0x2ffc36);}try{ensureDir(),appendFileSync(JOURNAL_PATH,JSON[_0x3ff1d8(0x36d,0x36d)](_0x2e9b90)+'\x0a',_0x111a47(-_0x2be8a5._0x2365b6,-0x1a8));}catch(_0x16fc45){}}export function readJournal(){const _0x16f3d7={_0x23236e:0x3db,_0x4a5f29:0x57c,_0x27db94:0x56e,_0x122d90:0x587},_0x3cdced={_0x29024b:0x5c9},_0x484557={_0x539eb6:0x420};if(!existsSync(JOURNAL_PATH))return[];const _0x314be3=[];for(const _0x50de8a of readFileSync(JOURNAL_PATH,_0x57a806(_0x16f3d7._0x23236e,0x3cb))[_0x2f634b(0x585,_0x16f3d7._0x4a5f29)]('\x0a')){const _0x2ac05d=_0x50de8a[_0x2f634b(0x57b,_0x16f3d7._0x27db94)]();if(!_0x2ac05d)continue;try{_0x314be3['push'](JSON[_0x2f634b(_0x16f3d7._0x122d90,0x58f)](_0x2ac05d));}catch(_0x1d8c9b){}}function _0x57a806(_0x12e6e1,_0x226f1d){return _0x13e127(_0x226f1d,_0x12e6e1-_0x484557._0x539eb6);}function _0x2f634b(_0x34a1f7,_0xbfa53){return _0x13e127(_0xbfa53,_0x34a1f7-_0x3cdced._0x29024b);}return _0x314be3;}export function readWrappers(){const _0x54eaff={_0x364ef7:0x4a5,_0x33e1e2:0x4af,_0x3b09ee:0x548},_0x4c7279={_0x206800:0x4e7},_0x5c3a7b={_0x34a979:0x597};function _0x5ca1ba(_0x2b3699,_0xb56733){return _0x13e127(_0xb56733,_0x2b3699-_0x5c3a7b._0x34a979);}function _0x3c83a1(_0x45e074,_0xc8a18a){return _0x13e127(_0xc8a18a,_0x45e074-_0x4c7279._0x206800);}if(!existsSync(WRAPPERS_PATH))return[];try{const _0x3bfe6d=JSON[_0x3c83a1(_0x54eaff._0x364ef7,_0x54eaff._0x33e1e2)](readFileSync(WRAPPERS_PATH,_0x3c83a1(0x4a2,0x492)));return Array[_0x5ca1ba(_0x54eaff._0x3b09ee,0x53b)](_0x3bfe6d)?_0x3bfe6d:[];}catch(_0x285ce5){return[];}}export function writeWrappers(_0x394ef3){const _0x278324={_0x1cc74e:0x12f,_0x503b45:0x124};function _0x455777(_0x11af1e,_0x16c2cd){return _0x453eca(_0x11af1e,_0x16c2cd- -0x37f);}function _0x12800f(_0x3be3aa,_0x3be8d5){return _0x453eca(_0x3be3aa,_0x3be8d5- -0x242);}ensureDir(),writeFileSync(WRAPPERS_PATH,JSON[_0x455777(-_0x278324._0x1cc74e,-0x135)](_0x394ef3,null,0x2),_0x455777(-0x12f,-_0x278324._0x503b45));}const TYPE_TO_SCHEMA={'string':()=>({'type':_0x453eca(0x255,0x25a)}),'number':()=>({'type':'number'}),'boolean':()=>({'type':_0x453eca(0x24f,0x24b)}),'array':()=>({'type':_0x453eca(0x252,0x240)}),'object':()=>({'type':_0x453eca(0x262,0x254)}),'raw':()=>({'type':_0x453eca(0x26b,0x25a)})};export function wrapperToToolDef(_0x2fdd2d){const _0x403315={_0x5d4b94:0x1dd,_0x371fb6:0x28a,_0x248c62:0x282,_0x278451:0x261,_0x53be41:0x26d,_0x46b5a7:0x27a,_0x1af14e:0x268,_0x19162b:0x267,_0xa99dc:0x270,_0x3b52f1:0x273},_0x382862={_0x5860e5:0x16e};function _0x593372(_0x578211,_0x52179e){return _0x13e127(_0x52179e,_0x578211- -_0x382862._0x5860e5);}function _0x1a6145(_0x3b186c,_0x5475dc){return _0x13e127(_0x3b186c,_0x5475dc-0x2cc);}const _0x2ec806={},_0x4c9e2a=[];for(const _0x4c00ff of _0x2fdd2d['params']||[]){const _0xc929b=(TYPE_TO_SCHEMA[_0x4c00ff[_0x593372(-0x1d4,-_0x403315._0x5d4b94)]]||TYPE_TO_SCHEMA[_0x1a6145(_0x403315._0x371fb6,0x286)])();_0x2ec806[_0x4c00ff[_0x1a6145(0x283,0x27a)]]={..._0xc929b,'description':_0x4c00ff['description']||''};if(_0x4c00ff[_0x1a6145(0x271,_0x403315._0x248c62)])_0x4c9e2a[_0x1a6145(_0x403315._0x278451,_0x403315._0x53be41)](_0x4c00ff[_0x1a6145(0x28d,_0x403315._0x46b5a7)]);}return{'name':_0x2fdd2d['name'],'description':(_0x2fdd2d[_0x1a6145(_0x403315._0x1af14e,_0x403315._0x19162b)]||'')+_0x1a6145(_0x403315._0xa99dc,_0x403315._0x3b52f1),'inputSchema':{'type':_0x593372(-0x1ba,-0x1b4),'properties':_0x2ec806,'required':_0x4c9e2a,'additionalProperties':![]}};}function _0x13e127(_0xba7d66,_0x227dac){const _0x36b136={_0x3b8e97:0x21c};return _0x3258(_0x227dac- -_0x36b136._0x3b8e97,_0xba7d66);}function renderLiteral(_0x52c41d,_0x175342){const _0x33616d={_0xa04691:0x197,_0x5b9b50:0x56b,_0x294678:0x19b},_0x46d5ae={_0x4b3bcd:0x1f5};function _0x4c0625(_0x426142,_0x253ff5){return _0x13e127(_0x426142,_0x253ff5-_0x46d5ae._0x4b3bcd);}function _0x11fd21(_0x1126b3,_0x22b3b8){return _0x13e127(_0x22b3b8,_0x1126b3-0x5cb);}switch(_0x175342){case'string':return JSON[_0x4c0625(0x192,0x19f)](String(_0x52c41d??''));case _0x11fd21(0x583,0x579):return String(Number(_0x52c41d));case'boolean':return _0x52c41d?'true':_0x4c0625(0x19f,_0x33616d._0xa04691);case _0x11fd21(_0x33616d._0x5b9b50,0x55d):case'object':return JSON['stringify'](_0x52c41d??null);case _0x11fd21(0x56f,0x56a):return String(_0x52c41d??'');default:return JSON[_0x4c0625(_0x33616d._0x294678,0x19f)](String(_0x52c41d??''));}}export function fillTemplate(_0x314bd7,_0x689429){const _0x2442b7={_0x2eb281:0x120,_0x2e36b9:0x11d,_0x4c0e89:0x2ab,_0x57b317:0x132,_0x5eb327:0x129,_0x1c12cf:0x12c,_0x1d08f6:0x2bc,_0x57ac92:0x116,_0x1f29f5:0x2c6,_0x698f93:0x132,_0x426289:0x12b};let _0x1937e1=_0x314bd7[_0x339368(-_0x2442b7._0x2eb281,-_0x2442b7._0x2e36b9)];for(const _0x4f23cd of _0x314bd7[_0x540203(_0x2442b7._0x4c0e89,0x2a0)]||[]){const _0x30415a=_0x689429&&Object[_0x339368(-_0x2442b7._0x57b317,-0x127)]['hasOwnProperty'][_0x339368(-_0x2442b7._0x5eb327,-_0x2442b7._0x1c12cf)](_0x689429,_0x4f23cd[_0x540203(0x2bc,0x2b2)]);let _0x58c317=_0x30415a?_0x689429[_0x4f23cd[_0x540203(_0x2442b7._0x1d08f6,0x2c7)]]:_0x4f23cd[_0x540203(0x2cb,0x2cd)];if(_0x58c317===undefined){if(_0x4f23cd['required'])throw new Error(_0x339368(-0x10b,-_0x2442b7._0x57ac92)+_0x4f23cd[_0x540203(0x2bc,_0x2442b7._0x1f29f5)]+'\x27');continue;}const _0x222752=renderLiteral(_0x58c317,_0x4f23cd[_0x339368(-_0x2442b7._0x698f93,-_0x2442b7._0x426289)]);_0x1937e1=_0x1937e1['split']('{{'+_0x4f23cd[_0x540203(_0x2442b7._0x1d08f6,0x2c0)]+'}}')['join'](_0x222752);}function _0x540203(_0x5772a7,_0x76d544){return _0x453eca(_0x76d544,_0x5772a7-0x6e);}function _0x339368(_0x1f2fdb,_0x18d8c1){return _0x453eca(_0x1f2fdb,_0x18d8c1- -0x365);}return _0x1937e1;}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synthetic-ai/ae-mcp",
3
- "version": "2.2.1",
3
+ "version": "2.4.0",
4
4
  "type": "module",
5
5
  "description": "Control Adobe After Effects with 220+ AI tools via MCP. Two modes: Standalone (npx, no AE open) or Panel (CEP bridge, instant). By Synthetic (synthetic.com.ar).",
6
6
  "homepage": "https://synthetic.com.ar/ae-mcp",