@synthetic-ai/ae-mcp 2.4.4 → 2.4.5

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 _0x2de630(_0x13ccbe,_0x19ff0e){const _0x42d179={_0x266721:0x201};return _0x7883(_0x13ccbe- -_0x42d179._0x266721,_0x19ff0e);}(function(_0x1c06ce,_0x169b7d){const _0x5a55b2={_0x8f005:0x3df,_0x1d058f:0x3f0,_0x858a2f:0x3e8,_0x10a80b:0x3e3,_0x587f0d:0x140,_0x551d0c:0x134,_0x1a9874:0x3f5,_0x164532:0x3de,_0x5c3b49:0x14c,_0x351416:0x145},_0x56c8dd={_0x3027ea:0x274},_0x55c0f8=_0x1c06ce();function _0x2b3afe(_0xd41f82,_0x31c003){return _0x7883(_0x31c003-_0x56c8dd._0x3027ea,_0xd41f82);}function _0x5464c4(_0x442e9f,_0x469c1b){return _0x7883(_0x442e9f- -0x43,_0x469c1b);}while(!![]){try{const _0x15ed89=-parseInt(_0x2b3afe(_0x5a55b2._0x8f005,_0x5a55b2._0x1d058f))/0x1+-parseInt(_0x5464c4(0x143,0x150))/0x2*(parseInt(_0x2b3afe(_0x5a55b2._0x858a2f,_0x5a55b2._0x10a80b))/0x3)+-parseInt(_0x5464c4(0x14b,0x13d))/0x4+parseInt(_0x5464c4(_0x5a55b2._0x587f0d,0x141))/0x5*(-parseInt(_0x5464c4(0x137,_0x5a55b2._0x551d0c))/0x6)+parseInt(_0x2b3afe(0x3ec,_0x5a55b2._0x1a9874))/0x7+-parseInt(_0x2b3afe(_0x5a55b2._0x164532,0x3ed))/0x8+parseInt(_0x5464c4(_0x5a55b2._0x5c3b49,_0x5a55b2._0x351416))/0x9;if(_0x15ed89===_0x169b7d)break;else _0x55c0f8['push'](_0x55c0f8['shift']());}catch(_0x40bf5d){_0x55c0f8['push'](_0x55c0f8['shift']());}}}(_0x4db2,0xbb502));import{homedir}from'node:os';import{join}from'node:path';import{existsSync,mkdirSync,appendFileSync,readFileSync,writeFileSync}from'node:fs';export const DATA_DIR=process.env.AE_MCP_DATA_DIR||join(homedir(),_0x2de630(-0x8f,-0x90));function _0x7883(_0x33efdf,_0x4ad092){_0x33efdf=_0x33efdf-0x16a;const _0x4db231=_0x4db2();let _0x788317=_0x4db231[_0x33efdf];if(_0x7883['cZcajy']===undefined){var _0x4e64b1=function(_0x369863){const _0x3c0625='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x196248='',_0x5c8e98='';for(let _0x14b4f6=0x0,_0x53b52c,_0x50d7a7,_0x2e59fc=0x0;_0x50d7a7=_0x369863['charAt'](_0x2e59fc++);~_0x50d7a7&&(_0x53b52c=_0x14b4f6%0x4?_0x53b52c*0x40+_0x50d7a7:_0x50d7a7,_0x14b4f6++%0x4)?_0x196248+=String['fromCharCode'](0xff&_0x53b52c>>(-0x2*_0x14b4f6&0x6)):0x0){_0x50d7a7=_0x3c0625['indexOf'](_0x50d7a7);}for(let _0x297a98=0x0,_0xb7657a=_0x196248['length'];_0x297a98<_0xb7657a;_0x297a98++){_0x5c8e98+='%'+('00'+_0x196248['charCodeAt'](_0x297a98)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5c8e98);};_0x7883['HiLvbN']=_0x4e64b1,_0x7883['pOHOLO']={},_0x7883['cZcajy']=!![];}const _0x2b5a6c=_0x4db231[0x0],_0x3bcb05=_0x33efdf+_0x2b5a6c,_0x100170=_0x7883['pOHOLO'][_0x3bcb05];return!_0x100170?(_0x788317=_0x7883['HiLvbN'](_0x788317),_0x7883['pOHOLO'][_0x3bcb05]=_0x788317):_0x788317=_0x100170,_0x788317;}export const JOURNAL_PATH=join(DATA_DIR,'journal.jsonl');export const WRAPPERS_PATH=join(DATA_DIR,_0x2de630(-0x78,-0x6e));function ensureDir(){if(!existsSync(DATA_DIR))mkdirSync(DATA_DIR,{'recursive':!![]});}export function appendJournal(_0x196248){const _0x238ba9={_0x5aaaaa:0x7a,_0x11ba51:0x82},_0xe44be2={_0x5bb4cc:0x6b};function _0x13c8bc(_0x439e1c,_0x4297d0){return _0xfbb018(_0x4297d0,_0x439e1c-0x3ee);}function _0x47ad4f(_0x55ca09,_0x225efe){return _0xfbb018(_0x55ca09,_0x225efe-_0xe44be2._0x5bb4cc);}try{ensureDir(),appendFileSync(JOURNAL_PATH,JSON[_0x47ad4f(0x6e,_0x238ba9._0x5aaaaa)](_0x196248)+'\x0a',_0x47ad4f(_0x238ba9._0x11ba51,_0x238ba9._0x11ba51));}catch(_0x5c8e98){}}export function readJournal(){const _0x4ee471={_0x4f8650:0xbf,_0x3e134c:0xcf,_0x501d1f:0xd6,_0x56fb4f:0x310,_0x2abb69:0xcc},_0x2ef850={_0x3a6cda:0x3a6},_0x4d07cf={_0x9bec27:0x14b};if(!existsSync(JOURNAL_PATH))return[];function _0x376f4f(_0x2d9a6c,_0x4b495b){return _0x2de630(_0x2d9a6c-_0x4d07cf._0x9bec27,_0x4b495b);}function _0x172128(_0x4cc575,_0x21c00d){return _0x2de630(_0x21c00d-_0x2ef850._0x3a6cda,_0x4cc575);}const _0x14b4f6=[];for(const _0x53b52c of readFileSync(JOURNAL_PATH,_0x376f4f(_0x4ee471._0x4f8650,0xc8))[_0x376f4f(_0x4ee471._0x3e134c,_0x4ee471._0x501d1f)]('\x0a')){const _0x50d7a7=_0x53b52c[_0x172128(0x317,_0x4ee471._0x56fb4f)]();if(!_0x50d7a7)continue;try{_0x14b4f6[_0x172128(0x329,0x323)](JSON[_0x376f4f(_0x4ee471._0x2abb69,0xc0)](_0x50d7a7));}catch(_0x2e59fc){}}return _0x14b4f6;}export function readWrappers(){const _0x4663e5={_0xcad195:0x127,_0x539c4d:0x120},_0x1bec71={_0x568cdf:0x97};function _0x5c6db9(_0x2226d8,_0x2c5855){return _0x2de630(_0x2c5855- -0xa4,_0x2226d8);}function _0x24e45d(_0x3a0d62,_0x5ca167){return _0x2de630(_0x3a0d62-_0x1bec71._0x568cdf,_0x5ca167);}if(!existsSync(WRAPPERS_PATH))return[];try{const _0x297a98=JSON['parse'](readFileSync(WRAPPERS_PATH,_0x5c6db9(-_0x4663e5._0xcad195,-0x130)));return Array[_0x5c6db9(-_0x4663e5._0x539c4d,-0x11a)](_0x297a98)?_0x297a98:[];}catch(_0xb7657a){return[];}}export function writeWrappers(_0x5a7bb4){const _0x184a01={_0xbd3488:0xbd,_0x40f0b9:0xc3,_0x21a7a5:0x39a};function _0x81830f(_0x277f7c,_0x310cd0){return _0x2de630(_0x277f7c-0x419,_0x310cd0);}function _0x507241(_0x2c9e1a,_0x456965){return _0x2de630(_0x456965-0x157,_0x2c9e1a);}ensureDir(),writeFileSync(WRAPPERS_PATH,JSON[_0x507241(_0x184a01._0xbd3488,_0x184a01._0x40f0b9)](_0x5a7bb4,null,0x2),_0x81830f(0x38d,_0x184a01._0x21a7a5));}const TYPE_TO_SCHEMA={'string':()=>({'type':_0x2de630(-0x74,-0x70)}),'number':()=>({'type':_0xfbb018(0x1e,0xe)}),'boolean':()=>({'type':'boolean'}),'array':()=>({'type':_0x2de630(-0x90,-0x85)}),'object':()=>({'type':_0x2de630(-0x91,-0x8a)}),'raw':()=>({'type':_0xfbb018(0x31,0x2f)})};function _0xfbb018(_0x3883cc,_0x162f87){return _0x7883(_0x162f87- -0x15e,_0x3883cc);}function _0x4db2(){const _0x23563c=['DhLWzq','mtK1nZKYofrAD0DTqG','CgfYC2u','mtqWAvveuvPn','icbBChjVBw90zwqGD3jHChbLCL0','C3bSAxq','mJy5mJzNEKXoEwu','Dhj1zq','CMvXDwLYzwq','D3jHChbLCNmUANnVBG','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxiGjW','AxnbCNjHEq','BMfTzq','C3rYAw5N','mJi5mJuYrenlsePc','mZa5ndK3mJjzBvHHuLe','zgvMyxvSDa','DhjPBq','BNvTyMvY','C3rYAw5NAwz5','zgvZy3jPChrPB24','mtvfAvDOvKm','B2jQzwn0','yxjYyxK','lNn5BNrOzxrPyY1Hzs1Ty3a','y2fSBa','AM9PBG','DxrMltG','yM9VBgvHBG','AgfZt3DUuhjVCgvYDhK','ChjVDg90ExbL','mte0mdu2ntzXrhvnzNu','mteXotm2tLzPDLHz','CMf3','odC4nJi1wfzoz25H','CgfYyw1Z','ChvZAa','y29Kzq'];_0x4db2=function(){return _0x23563c;};return _0x4db2();}export function wrapperToToolDef(_0x3be302){const _0x18c9f0={_0x60d4d:0xa6,_0x3bbee9:0x16,_0x57fe5f:0x19,_0x17f131:0xc2,_0x108497:0x1e,_0x331305:0xa9,_0x5767d9:0x12,_0x4febca:0xab,_0x4ce8e1:0xa3},_0x350991={_0x449976:0x6b},_0x583524={_0x5069e0:0x13c};function _0x2f2cfc(_0x3f48b1,_0xf1e4d2){return _0x2de630(_0x3f48b1-_0x583524._0x5069e0,_0xf1e4d2);}function _0x273831(_0xd2c311,_0x3db3e5){return _0x2de630(_0x3db3e5-_0x350991._0x449976,_0xd2c311);}const _0x521678={},_0x2b0de2=[];for(const _0x113e09 of _0x3be302[_0x2f2cfc(0xb8,_0x18c9f0._0x60d4d)]||[]){const _0x3ae786=(TYPE_TO_SCHEMA[_0x113e09[_0x273831(-0xb,-_0x18c9f0._0x3bbee9)]]||TYPE_TO_SCHEMA[_0x273831(-_0x18c9f0._0x57fe5f,-0x9)])();_0x521678[_0x113e09[_0x2f2cfc(0xc7,_0x18c9f0._0x17f131)]]={..._0x3ae786,'description':_0x113e09['description']||''};if(_0x113e09[_0x273831(-_0x18c9f0._0x108497,-0xe)])_0x2b0de2[_0x273831(-0x6,-0x18)](_0x113e09['name']);}return{'name':_0x3be302['name'],'description':(_0x3be302[_0x2f2cfc(_0x18c9f0._0x331305,0xb2)]||'')+_0x273831(-0x2,-_0x18c9f0._0x5767d9),'inputSchema':{'type':_0x2f2cfc(_0x18c9f0._0x4febca,_0x18c9f0._0x4ce8e1),'properties':_0x521678,'required':_0x2b0de2,'additionalProperties':![]}};}function renderLiteral(_0x4f6a98,_0x2feb1f){const _0x55c579={_0xffc6d1:0x3c6,_0x56c4ba:0x1a6,_0x2a65ab:0x19e,_0x401bef:0x3cc,_0xed23c4:0x173,_0x4cbf87:0x183,_0x3c626e:0x1a4,_0x16ed3c:0x180,_0x58bfa5:0x3c6},_0x33343a={_0xeae7a6:0x45a},_0xcf8867={_0x23e026:0x109};function _0x38d72d(_0x5dc5db,_0x5a1803){return _0x2de630(_0x5a1803- -_0xcf8867._0x23e026,_0x5dc5db);}function _0x24e1a1(_0x1d5f25,_0x210162){return _0x2de630(_0x210162-_0x33343a._0xeae7a6,_0x1d5f25);}switch(_0x2feb1f){case _0x38d72d(-0x181,-0x17d):return JSON[_0x24e1a1(0x3b5,_0x55c579._0xffc6d1)](String(_0x4f6a98??''));case _0x38d72d(-_0x55c579._0x56c4ba,-_0x55c579._0x2a65ab):return String(Number(_0x4f6a98));case _0x24e1a1(_0x55c579._0x401bef,0x3cf):return _0x4f6a98?_0x38d72d(-_0x55c579._0xed23c4,-_0x55c579._0x4cbf87):'false';case'array':case'object':return JSON[_0x38d72d(-_0x55c579._0x3c626e,-0x19d)](_0x4f6a98??null);case _0x38d72d(-_0x55c579._0x16ed3c,-0x18f):return String(_0x4f6a98??'');default:return JSON[_0x24e1a1(_0x55c579._0x58bfa5,0x3c6)](String(_0x4f6a98??''));}}export function fillTemplate(_0x4103b9,_0x16ed50){const _0x1955ca={_0x2bfaac:0x102,_0x107be0:0x1a6,_0x1649c4:0x1be,_0x52cfd4:0x1b9,_0x52e23c:0xf7,_0x4905cc:0xf9,_0x4ffc28:0xef,_0x2a0988:0x197,_0x389d78:0x1a4,_0x3e4db2:0x11f},_0x3c4dc3={_0x291ea1:0x80};let _0x532049=_0x4103b9[_0x22a176(-0x10a,-_0x1955ca._0x2bfaac)];function _0x1b17e2(_0x38d944,_0x50b5fc){return _0x2de630(_0x38d944- -0x122,_0x50b5fc);}for(const _0x5ad5bd of _0x4103b9[_0x1b17e2(-_0x1955ca._0x107be0,-0x1a5)]||[]){const _0x5502a5=_0x16ed50&&Object[_0x1b17e2(-0x1ab,-0x1b0)][_0x1b17e2(-0x1ac,-_0x1955ca._0x1649c4)][_0x1b17e2(-0x1b0,-0x19d)](_0x16ed50,_0x5ad5bd['name']);let _0x529517=_0x5502a5?_0x16ed50[_0x5ad5bd[_0x22a176(-0xe9,-0xf5)]]:_0x5ad5bd[_0x1b17e2(-_0x1955ca._0x52cfd4,-0x1b3)];if(_0x529517===undefined){if(_0x5ad5bd['required'])throw new Error(_0x22a176(-0xfa,-_0x1955ca._0x52e23c)+_0x5ad5bd[_0x22a176(-_0x1955ca._0x4905cc,-0xf5)]+'\x27');continue;}const _0x134330=renderLiteral(_0x529517,_0x5ad5bd[_0x22a176(-_0x1955ca._0x4ffc28,-0x101)]);_0x532049=_0x532049[_0x1b17e2(-0x19e,-0x1a4)]('{{'+_0x5ad5bd[_0x1b17e2(-_0x1955ca._0x2a0988,-_0x1955ca._0x389d78)]+'}}')[_0x22a176(-_0x1955ca._0x3e4db2,-0x10d)](_0x134330);}function _0x22a176(_0x3b7f51,_0x57041b){return _0x2de630(_0x57041b- -_0x3c4dc3._0x291ea1,_0x3b7f51);}return _0x532049;}
1
+ (function(_0x5b1bae,_0x42b756){const _0x2d6471={_0x57c027:0x5d,_0x2c9ada:0x4c,_0x25669d:0x243,_0x3b10cf:0x23e,_0x2ef655:0x58,_0x23139b:0x247,_0x4980c8:0x267,_0x4789ce:0x56,_0x49fa3c:0x67,_0x15d952:0x38,_0x4cc9f0:0x43},_0x1a39ba={_0x48772d:0x102},_0x36ce2c=_0x5b1bae();function _0x4f6ccc(_0x3ce708,_0x2bb06c){return _0x2bb2(_0x3ce708-_0x1a39ba._0x48772d,_0x2bb06c);}function _0x5e67db(_0x490e11,_0x2e28a8){return _0x2bb2(_0x490e11- -0x1a9,_0x2e28a8);}while(!![]){try{const _0x189bd6=parseInt(_0x5e67db(-_0x2d6471._0x57c027,-_0x2d6471._0x2c9ada))/0x1*(parseInt(_0x4f6ccc(_0x2d6471._0x25669d,0x240))/0x2)+parseInt(_0x4f6ccc(_0x2d6471._0x3b10cf,0x239))/0x3*(-parseInt(_0x5e67db(-0x69,-0x67))/0x4)+-parseInt(_0x5e67db(-_0x2d6471._0x2ef655,-0x60))/0x5*(parseInt(_0x4f6ccc(_0x2d6471._0x23139b,0x255))/0x6)+-parseInt(_0x5e67db(-0x6c,-0x76))/0x7*(-parseInt(_0x4f6ccc(0x258,_0x2d6471._0x4980c8))/0x8)+parseInt(_0x5e67db(-_0x2d6471._0x4789ce,-_0x2d6471._0x49fa3c))/0x9*(-parseInt(_0x5e67db(-0x57,-0x4c))/0xa)+parseInt(_0x5e67db(-0x4b,-_0x2d6471._0x15d952))/0xb+parseInt(_0x5e67db(-0x51,-_0x2d6471._0x4cc9f0))/0xc;if(_0x189bd6===_0x42b756)break;else _0x36ce2c['push'](_0x36ce2c['shift']());}catch(_0x231f4b){_0x36ce2c['push'](_0x36ce2c['shift']());}}}(_0x189f,0xea474));import{homedir}from'node:os';function _0x189f(){const _0x3f9d5c=['lNn5BNrOzxrPyY1Hzs1Ty3a','zgvMyxvSDa','mteZnNPZrLnHCG','yM9VBgvHBG','mJy0oteWmdH0ufLYtMS','zgvZy3jPChrPB24','y29Kzq','DhLWzq','C3bSAxq','BMfTzq','otq1nti0oejxExjwBa','B2jQzwn0','DxrMltG','ntKXodm3y1DQte1f','nti5ndfrrMv3sMm','Dhj1zq','y2fSBa','mJbWwgz5zve','mJK4AKjurff2','ChvZAa','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxiGjW','D3jHChbLCNmUANnVBG','mZbRCNLYzMO','CMvXDwLYzwq','AM9PBG','yxjYyxK','icbBChjVBw90zwqGD3jHChbLCL0','ChjVDg90ExbL','DhjPBq','mZa4ouLrweDRBW','AxnbCNjHEq','C3rYAw5NAwz5','C3rYAw5N','BNvTyMvY','mtyZnduYnuvvrvbbza','mZm0nZbgz1r4y0e','mJC0nxHcvMTxAq'];_0x189f=function(){return _0x3f9d5c;};return _0x189f();}import{join}from'node:path';import{existsSync,mkdirSync,appendFileSync,readFileSync,writeFileSync}from'node:fs';export const DATA_DIR=process.env.AE_MCP_DATA_DIR||join(homedir(),_0x5c4aca(0x1e5,0x1db));export const JOURNAL_PATH=join(DATA_DIR,'journal.jsonl');export const WRAPPERS_PATH=join(DATA_DIR,_0xa7a69f(0x394,0x395));function ensureDir(){if(!existsSync(DATA_DIR))mkdirSync(DATA_DIR,{'recursive':!![]});}export function appendJournal(_0x57c162){const _0x37cb56={_0xf4168b:0x17};function _0x1a5ce5(_0x2bcf8b,_0x3695ad){return _0x5c4aca(_0x3695ad,_0x2bcf8b- -0xf9);}function _0x429d44(_0x48b391,_0x26248e){return _0x5c4aca(_0x48b391,_0x26248e-_0x37cb56._0xf4168b);}try{ensureDir(),appendFileSync(JOURNAL_PATH,JSON[_0x1a5ce5(0xdc,0xd1)](_0x57c162)+'\x0a',_0x429d44(0x20c,0x1fe));}catch(_0x1b8193){}}export function readJournal(){const _0x17c0e9={_0x18c7a4:0x39b,_0x24ec9f:0xed,_0x118898:0x384},_0x56661e={_0x2e8906:0x20};function _0x1657f4(_0x1e9d11,_0x149a54){return _0xa7a69f(_0x1e9d11- -0x2c0,_0x149a54);}function _0x1d1daf(_0x2e6997,_0x4a97dd){return _0xa7a69f(_0x4a97dd- -_0x56661e._0x2e8906,_0x2e6997);}if(!existsSync(JOURNAL_PATH))return[];const _0x54da7b=[];for(const _0x27ca81 of readFileSync(JOURNAL_PATH,_0x1d1daf(0x398,0x390))[_0x1d1daf(_0x17c0e9._0x18c7a4,0x38c)]('\x0a')){const _0x113b0c=_0x27ca81[_0x1657f4(0xdb,_0x17c0e9._0x24ec9f)]();if(!_0x113b0c)continue;try{_0x54da7b[_0x1d1daf(_0x17c0e9._0x118898,0x372)](JSON['parse'](_0x113b0c));}catch(_0x4b05af){}}return _0x54da7b;}export function readWrappers(){const _0x4f00fc={_0x49d909:0x22e};if(!existsSync(WRAPPERS_PATH))return[];function _0x5dcb3d(_0x20f408,_0x13b435){return _0x5c4aca(_0x20f408,_0x13b435- -0x401);}try{const _0x1fd1d8=JSON['parse'](readFileSync(WRAPPERS_PATH,'utf-8'));return Array[_0x5dcb3d(-_0x4f00fc._0x49d909,-0x22d)](_0x1fd1d8)?_0x1fd1d8:[];}catch(_0xdbc554){return[];}}function _0x5c4aca(_0x44eec5,_0x152fb3){const _0x595422={_0x2b8c89:0x87};return _0x2bb2(_0x152fb3-_0x595422._0x2b8c89,_0x44eec5);}function _0x2bb2(_0x42f375,_0x28f264){_0x42f375=_0x42f375-0x13c;const _0x189fb3=_0x189f();let _0x2bb26e=_0x189fb3[_0x42f375];if(_0x2bb2['gPYFkm']===undefined){var _0x308267=function(_0x4743b4){const _0x4727ae='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x57c162='',_0x1b8193='';for(let _0x54da7b=0x0,_0x27ca81,_0x113b0c,_0x4b05af=0x0;_0x113b0c=_0x4743b4['charAt'](_0x4b05af++);~_0x113b0c&&(_0x27ca81=_0x54da7b%0x4?_0x27ca81*0x40+_0x113b0c:_0x113b0c,_0x54da7b++%0x4)?_0x57c162+=String['fromCharCode'](0xff&_0x27ca81>>(-0x2*_0x54da7b&0x6)):0x0){_0x113b0c=_0x4727ae['indexOf'](_0x113b0c);}for(let _0x1fd1d8=0x0,_0xdbc554=_0x57c162['length'];_0x1fd1d8<_0xdbc554;_0x1fd1d8++){_0x1b8193+='%'+('00'+_0x57c162['charCodeAt'](_0x1fd1d8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1b8193);};_0x2bb2['nbsEph']=_0x308267,_0x2bb2['LZVEsN']={},_0x2bb2['gPYFkm']=!![];}const _0x231b53=_0x189fb3[0x0],_0x4812aa=_0x42f375+_0x231b53,_0x5d3bc0=_0x2bb2['LZVEsN'][_0x4812aa];return!_0x5d3bc0?(_0x2bb26e=_0x2bb2['nbsEph'](_0x2bb26e),_0x2bb2['LZVEsN'][_0x4812aa]=_0x2bb26e):_0x2bb26e=_0x5d3bc0,_0x2bb26e;}export function writeWrappers(_0x2e38b4){const _0x33d59e={_0x31a038:0xea,_0x317fcc:0xf6};function _0x26e72f(_0x18be73,_0x14003a){return _0xa7a69f(_0x14003a-0x107,_0x18be73);}ensureDir();function _0x75887b(_0x106c6f,_0x4c56a6){return _0xa7a69f(_0x106c6f- -0x2c6,_0x4c56a6);}writeFileSync(WRAPPERS_PATH,JSON[_0x26e72f(0x499,0x4a5)](_0x2e38b4,null,0x2),_0x75887b(_0x33d59e._0x31a038,_0x33d59e._0x317fcc));}const TYPE_TO_SCHEMA={'string':()=>({'type':'string'}),'number':()=>({'type':_0xa7a69f(0x3a0,0x39c)}),'boolean':()=>({'type':'boolean'}),'array':()=>({'type':_0xa7a69f(0x398,0x3a8)}),'object':()=>({'type':'object'}),'raw':()=>({'type':_0x5c4aca(0x1cc,0x1d6)})};function _0xa7a69f(_0x513da2,_0x4f1c5b){const _0x16eb5a={_0x3266ae:0x250};return _0x2bb2(_0x513da2-_0x16eb5a._0x3266ae,_0x4f1c5b);}export function wrapperToToolDef(_0x5c2bd0){const _0x864c5e={_0x2635f4:0x479,_0x3fd91e:0x487,_0x4c5cee:0x490,_0x1722ec:0x48f,_0x1c9165:0x487,_0x315729:0x47e,_0x47182d:0x473,_0x4ba246:0x481};function _0x479132(_0x356c88,_0x2a2b66){return _0x5c4aca(_0x2a2b66,_0x356c88-0x2a3);}const _0x37c00c={},_0x58f1d8=[];for(const _0x130329 of _0x5c2bd0['params']||[]){const _0x1b4742=(TYPE_TO_SCHEMA[_0x130329['type']]||TYPE_TO_SCHEMA[_0x479132(_0x864c5e._0x2635f4,0x477)])();_0x37c00c[_0x130329[_0x479132(_0x864c5e._0x3fd91e,0x48e)]]={..._0x1b4742,'description':_0x130329[_0x479132(0x483,_0x864c5e._0x4c5cee)]||''};if(_0x130329['required'])_0x58f1d8['push'](_0x130329[_0x479132(_0x864c5e._0x3fd91e,_0x864c5e._0x1722ec)]);}function _0x568251(_0x910d03,_0x3ea2d9){return _0x5c4aca(_0x3ea2d9,_0x910d03- -0x468);}return{'name':_0x5c2bd0[_0x479132(_0x864c5e._0x1c9165,0x48b)],'description':(_0x5c2bd0[_0x479132(0x483,_0x864c5e._0x315729)]||'')+_0x479132(_0x864c5e._0x47182d,0x469),'inputSchema':{'type':_0x479132(0x489,_0x864c5e._0x4ba246),'properties':_0x37c00c,'required':_0x58f1d8,'additionalProperties':![]}};}function renderLiteral(_0x828af1,_0x1e7979){const _0x566b4e={_0x94787d:0xd0,_0x425537:0xc6,_0x1a9d9:0xd4,_0x4df487:0xe0,_0x2428b1:0xb3,_0x3744e2:0xd2,_0x2caf4b:0xd2},_0x2e551e={_0x133bfa:0x64};function _0xf47c1a(_0x2d0f0a,_0x38168e){return _0xa7a69f(_0x2d0f0a- -_0x2e551e._0x133bfa,_0x38168e);}function _0x47cfda(_0x47e453,_0x419d1f){return _0xa7a69f(_0x47e453- -0x2cc,_0x419d1f);}switch(_0x1e7979){case _0x47cfda(0xd3,_0x566b4e._0x94787d):return JSON[_0x47cfda(0xd2,_0x566b4e._0x425537)](String(_0x828af1??''));case _0x47cfda(_0x566b4e._0x1a9d9,0xcc):return String(Number(_0x828af1));case _0x47cfda(0xdb,_0x566b4e._0x4df487):return _0x828af1?_0x47cfda(0xc2,_0x566b4e._0x2428b1):'false';case _0x47cfda(0xcc,0xce):case _0xf47c1a(0x34b,0x352):return JSON[_0x47cfda(_0x566b4e._0x3744e2,0xd6)](_0x828af1??null);case'raw':return String(_0x828af1??'');default:return JSON[_0x47cfda(_0x566b4e._0x2caf4b,0xcd)](String(_0x828af1??''));}}export function fillTemplate(_0x1410ce,_0x2b0606){const _0xd250e8={_0x516e40:0x26b,_0x592489:0x277,_0x3cc36b:0x140,_0x5452d9:0x250,_0x4d02c1:0x26e,_0x51dd2c:0x267,_0x5e6027:0x144,_0x49bcd1:0x254,_0x4e1271:0x265,_0x13162c:0x128,_0x33e78c:0x258},_0x6ddb80={_0x43c78c:0x311};let _0x2f54f7=_0x1410ce[_0x3a3781(_0xd250e8._0x516e40,_0xd250e8._0x592489)];function _0x3a3781(_0x1ced4e,_0x252ed6){return _0x5c4aca(_0x252ed6,_0x1ced4e-0x8a);}for(const _0x579cf4 of _0x1410ce['params']||[]){const _0x1301d1=_0x2b0606&&Object[_0x38122e(-0x136,-_0xd250e8._0x3cc36b)]['hasOwnProperty'][_0x3a3781(_0xd250e8._0x5452d9,0x252)](_0x2b0606,_0x579cf4['name']);let _0x109a24=_0x1301d1?_0x2b0606[_0x579cf4[_0x3a3781(_0xd250e8._0x4d02c1,_0xd250e8._0x51dd2c)]]:_0x579cf4[_0x3a3781(0x266,0x263)];if(_0x109a24===undefined){if(_0x579cf4[_0x38122e(-0x155,-_0xd250e8._0x5e6027)])throw new Error(_0x3a3781(_0xd250e8._0x49bcd1,_0xd250e8._0x4e1271)+_0x579cf4['name']+'\x27');continue;}const _0x23eea1=renderLiteral(_0x109a24,_0x579cf4[_0x38122e(-_0xd250e8._0x13162c,-0x12f)]);_0x2f54f7=_0x2f54f7['split']('{{'+_0x579cf4['name']+'}}')[_0x3a3781(_0xd250e8._0x33e78c,0x24e)](_0x23eea1);}function _0x38122e(_0x27962a,_0x2b5b9b){return _0x5c4aca(_0x27962a,_0x2b5b9b- -_0x6ddb80._0x43c78c);}return _0x2f54f7;}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synthetic-ai/ae-mcp",
3
- "version": "2.4.4",
3
+ "version": "2.4.5",
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",