@synthetic-ai/ae-mcp 2.2.0 → 2.2.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/dist/store.mjs CHANGED
@@ -1 +1 @@
1
- function _0x9e93(_0x351e44,_0x4356cc){_0x351e44=_0x351e44-0x1eb;const _0x5b51c7=_0x5b51();let _0x9e931e=_0x5b51c7[_0x351e44];if(_0x9e93['wiSQpV']===undefined){var _0x18c31b=function(_0x1205fd){const _0x23951a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x11b221='',_0xdbe98b='';for(let _0x53dc5e=0x0,_0xfdc56,_0x5e3e9c,_0x9caf32=0x0;_0x5e3e9c=_0x1205fd['charAt'](_0x9caf32++);~_0x5e3e9c&&(_0xfdc56=_0x53dc5e%0x4?_0xfdc56*0x40+_0x5e3e9c:_0x5e3e9c,_0x53dc5e++%0x4)?_0x11b221+=String['fromCharCode'](0xff&_0xfdc56>>(-0x2*_0x53dc5e&0x6)):0x0){_0x5e3e9c=_0x23951a['indexOf'](_0x5e3e9c);}for(let _0x33b4e3=0x0,_0x2a76ff=_0x11b221['length'];_0x33b4e3<_0x2a76ff;_0x33b4e3++){_0xdbe98b+='%'+('00'+_0x11b221['charCodeAt'](_0x33b4e3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xdbe98b);};_0x9e93['xtOtVJ']=_0x18c31b,_0x9e93['mElCdH']={},_0x9e93['wiSQpV']=!![];}const _0x3926e1=_0x5b51c7[0x0],_0xda0da8=_0x351e44+_0x3926e1,_0x334daf=_0x9e93['mElCdH'][_0xda0da8];return!_0x334daf?(_0x9e931e=_0x9e93['xtOtVJ'](_0x9e931e),_0x9e93['mElCdH'][_0xda0da8]=_0x9e931e):_0x9e931e=_0x334daf,_0x9e931e;}(function(_0x58bf3d,_0xddc536){const _0x305584={_0x11f763:0x3d4,_0x3b38d9:0x3c0,_0x442a29:0x13,_0x26d185:0xf,_0x5afdeb:0x6,_0x3fa022:0x14,_0x5644bb:0xa,_0x18f079:0xa,_0x41462d:0x7,_0x245dfa:0x3b6},_0x3352ca={_0x57d41d:0x1fa},_0x24ffde={_0x3548f1:0x1c9},_0x149857=_0x58bf3d();function _0x4ca386(_0x430c1b,_0x4e6581){return _0x9e93(_0x4e6581-_0x24ffde._0x3548f1,_0x430c1b);}function _0x65db31(_0x5d3e98,_0x1dbe98){return _0x9e93(_0x5d3e98- -_0x3352ca._0x57d41d,_0x1dbe98);}while(!![]){try{const _0x288ac4=parseInt(_0x4ca386(0x3d1,_0x305584._0x11f763))/0x1*(-parseInt(_0x4ca386(0x3b8,_0x305584._0x3b38d9))/0x2)+-parseInt(_0x65db31(0x13,_0x305584._0x442a29))/0x3*(parseInt(_0x65db31(_0x305584._0x26d185,0x12))/0x4)+parseInt(_0x4ca386(0x3c7,0x3d7))/0x5+-parseInt(_0x65db31(_0x305584._0x5afdeb,_0x305584._0x3fa022))/0x6+parseInt(_0x65db31(_0x305584._0x5644bb,-_0x305584._0x18f079))/0x7+parseInt(_0x65db31(-_0x305584._0x26d185,-0x1d))/0x8*(-parseInt(_0x65db31(0xb,-_0x305584._0x41462d))/0x9)+-parseInt(_0x4ca386(0x3a4,_0x305584._0x245dfa))/0xa*(-parseInt(_0x4ca386(0x3d5,0x3cc))/0xb);if(_0x288ac4===_0xddc536)break;else _0x149857['push'](_0x149857['shift']());}catch(_0x54163f){_0x149857['push'](_0x149857['shift']());}}}(_0x5b51,0xdc394));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(),_0x521592(0x4af,0x4b0));export const JOURNAL_PATH=join(DATA_DIR,_0x521592(0x49f,0x49f));export const WRAPPERS_PATH=join(DATA_DIR,_0xc2b0dc(0x54c,0x542));function _0x521592(_0x1959af,_0x1f4893){return _0x9e93(_0x1959af-0x2b3,_0x1f4893);}function ensureDir(){if(!existsSync(DATA_DIR))mkdirSync(DATA_DIR,{'recursive':!![]});}export function appendJournal(_0x11b221){const _0x2b66f0={_0x1ac337:0x4a3},_0x540c69={_0x741234:0xc0};function _0x472992(_0x25f2c0,_0x2eac06){return _0xc2b0dc(_0x2eac06- -_0x540c69._0x741234,_0x25f2c0);}try{ensureDir(),appendFileSync(JOURNAL_PATH,JSON[_0x472992(0x4a0,_0x2b66f0._0x1ac337)](_0x11b221)+'\x0a','utf-8');}catch(_0xdbe98b){}}export function readJournal(){const _0xafe0db={_0x5cdf8:0x239,_0x252e62:0x23c},_0x5ecaba={_0x332fbb:0x275};if(!existsSync(JOURNAL_PATH))return[];const _0x53dc5e=[];function _0x5a7af0(_0x1d5613,_0x59b698){return _0x521592(_0x59b698- -0x1e,_0x1d5613);}function _0x362aee(_0x4c0723,_0x1aa160){return _0x521592(_0x1aa160- -_0x5ecaba._0x332fbb,_0x4c0723);}for(const _0xfdc56 of readFileSync(JOURNAL_PATH,_0x362aee(0x236,0x245))[_0x362aee(0x241,0x23c)]('\x0a')){const _0x5e3e9c=_0xfdc56[_0x362aee(0x233,_0xafe0db._0x5cdf8)]();if(!_0x5e3e9c)continue;try{_0x53dc5e[_0x5a7af0(0x499,0x48e)](JSON[_0x362aee(_0xafe0db._0x252e62,0x240)](_0x5e3e9c));}catch(_0x9caf32){}}return _0x53dc5e;}export function readWrappers(){const _0x5edd33={_0xb2bc1c:0x49f,_0x4beec9:0x4a2};function _0x1f595b(_0x353a9a,_0x205a0c){return _0xc2b0dc(_0x205a0c- -0xb9,_0x353a9a);}if(!existsSync(WRAPPERS_PATH))return[];function _0x5152ee(_0x101f20,_0x1aa483){return _0xc2b0dc(_0x101f20- -0x406,_0x1aa483);}try{const _0x33b4e3=JSON[_0x1f595b(0x48c,0x49d)](readFileSync(WRAPPERS_PATH,_0x1f595b(_0x5edd33._0xb2bc1c,_0x5edd33._0x4beec9)));return Array[_0x1f595b(0x481,0x48c)](_0x33b4e3)?_0x33b4e3:[];}catch(_0x2a76ff){return[];}}export function writeWrappers(_0x2035cc){const _0x97c7e8={_0x34030e:0xa3,_0x4fe4e2:0x8b},_0x4200fb={_0x12057d:0x5e};ensureDir();function _0xc799c8(_0xc70177,_0x25c3d9){return _0x521592(_0xc70177- -0x42f,_0x25c3d9);}function _0x239915(_0x324577,_0x258ebb){return _0x521592(_0x258ebb- -_0x4200fb._0x12057d,_0x324577);}writeFileSync(WRAPPERS_PATH,JSON[_0xc799c8(0x93,_0x97c7e8._0x34030e)](_0x2035cc,null,0x2),_0xc799c8(_0x97c7e8._0x4fe4e2,0x9a));}const TYPE_TO_SCHEMA={'string':()=>({'type':_0x521592(0x4a5,0x49b)}),'number':()=>({'type':_0xc2b0dc(0x560,0x564)}),'boolean':()=>({'type':_0xc2b0dc(0x548,0x54c)}),'array':()=>({'type':'array'}),'object':()=>({'type':_0x521592(0x4ad,0x4b0)}),'raw':()=>({'type':_0x521592(0x4a5,0x4af)})};function _0xc2b0dc(_0xf0333f,_0x4e1ffe){return _0x9e93(_0xf0333f-0x354,_0x4e1ffe);}export function wrapperToToolDef(_0x776f71){const _0x342db7={_0x3012c2:0x530,_0x4c0435:0x527,_0x383999:0x531,_0x19f8eb:0x15};function _0x3d2686(_0x24e007,_0x25d2cf){return _0xc2b0dc(_0x25d2cf- -0x540,_0x24e007);}const _0x33db8f={};function _0x18a145(_0x5a1324,_0x129d38){return _0xc2b0dc(_0x5a1324- -0x20,_0x129d38);}const _0xd76adb=[];for(const _0x562088 of _0x776f71[_0x18a145(0x53a,_0x342db7._0x3012c2)]||[]){const _0x4e2a66=(TYPE_TO_SCHEMA[_0x562088['type']]||TYPE_TO_SCHEMA[_0x18a145(0x526,_0x342db7._0x4c0435)])();_0x33db8f[_0x562088[_0x3d2686(0x21,0x25)]]={..._0x4e2a66,'description':_0x562088['description']||''};if(_0x562088[_0x18a145(0x535,_0x342db7._0x383999)])_0xd76adb['push'](_0x562088[_0x3d2686(_0x342db7._0x19f8eb,0x25)]);}return{'name':_0x776f71[_0x3d2686(0x1b,0x25)],'description':(_0x776f71['description']||'')+_0x3d2686(0x17,0x3),'inputSchema':{'type':'object','properties':_0x33db8f,'required':_0xd76adb,'additionalProperties':![]}};}function renderLiteral(_0x1139c5,_0x1f7c51){const _0x2154a5={_0x2bd976:0x14b,_0xb8b54d:0x12f,_0x5d7d40:0x5c5,_0x4e44d2:0x5d7,_0x19b067:0x5b7,_0xe2255:0x13a,_0x200f28:0x133,_0x19c9fa:0x147,_0x7012a:0x130,_0x2b4ea1:0x143,_0x31eb89:0x5e3,_0x374b51:0x146,_0x5a77d5:0x135},_0x5b0a87={_0x1103da:0x118},_0x53fbc9={_0x16bf17:0x5f0};function _0x5b747f(_0x11f1ce,_0x159f96){return _0x521592(_0x159f96- -_0x53fbc9._0x16bf17,_0x11f1ce);}function _0x28abbb(_0x34ca6a,_0x4cad8d){return _0x521592(_0x4cad8d-_0x5b0a87._0x1103da,_0x34ca6a);}switch(_0x1f7c51){case _0x5b747f(-0x13e,-_0x2154a5._0x2bd976):return JSON[_0x5b747f(-_0x2154a5._0xb8b54d,-0x12e)](String(_0x1139c5??''));case _0x28abbb(_0x2154a5._0x5d7d40,_0x2154a5._0x4e44d2):return String(Number(_0x1139c5));case _0x28abbb(_0x2154a5._0x19b067,0x5bf):return _0x1139c5?_0x5b747f(-_0x2154a5._0xe2255,-_0x2154a5._0x200f28):_0x5b747f(-0x142,-_0x2154a5._0x19c9fa);case _0x5b747f(-_0x2154a5._0x7012a,-0x140):case _0x5b747f(-0x135,-_0x2154a5._0x2b4ea1):return JSON[_0x28abbb(_0x2154a5._0x31eb89,0x5da)](_0x1139c5??null);case _0x5b747f(-_0x2154a5._0x374b51,-_0x2154a5._0x5a77d5):return String(_0x1139c5??'');default:return JSON['stringify'](String(_0x1139c5??''));}}function _0x5b51(){const _0x2272ff=['AM91CM5HBc5QC29UBa','mZuYmZu3meTtCvPQtW','y29Kzq','icbBChjVBw90zwqGD3jHChbLCL0','AgfZt3DUuhjVCgvYDhK','AxnbCNjHEq','C3rYAw5N','DhLWzq','yM9VBgvHBG','AM9PBG','zMfSC2u','mJKWntm2ngjsB25YvW','D3jHChbLCNmUANnVBG','ChvZAa','B2jQzwn0','DhjPBq','lNn5BNrOzxrPyY1Hzs1Ty3a','yxjYyxK','C3bSAxq','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxiGjW','mte4oduYmM91s21szW','CMvXDwLYzwq','CgfYC2u','nJzwww5oDhy','mte2ndK1ndbxsLLIAKi','mJK5nteXow9zse1rAq','CgfYyw1Z','DxrMltG','CMf3','mta4ntz1qvzrv0S','Dhj1zq','mxjxBvPnrq','BNvTyMvY','nZy4A3L6yK9o','nty2ntKXmgjmtgXysG','C3rYAw5NAwz5','ChjVDg90ExbL','BMfTzq','ndbOt2jPt1G'];_0x5b51=function(){return _0x2272ff;};return _0x5b51();}export function fillTemplate(_0x2e38cb,_0x102495){const _0x31c627={_0x17c059:0x21b,_0xbe3d67:0x24f,_0xdbccd7:0x13d,_0x5804a5:0x23d,_0x1ea7b5:0x24e,_0x5734ae:0x261,_0x5e2f04:0x12e,_0x1298b8:0x125,_0x371aa6:0x24a,_0x2cce10:0x230,_0x5921a0:0x232,_0x25182f:0x12b},_0x1cec1d={_0x2b69b6:0x386};let _0x1b02ac=_0x2e38cb[_0x57e102(0x22b,_0x31c627._0x17c059)];function _0x3df407(_0xb1a320,_0x4a5008){return _0x521592(_0x4a5008- -_0x1cec1d._0x2b69b6,_0xb1a320);}function _0x57e102(_0x2e474e,_0x568d6f){return _0x521592(_0x2e474e- -0x276,_0x568d6f);}for(const _0x3d8c8e of _0x2e38cb[_0x57e102(0x243,_0x31c627._0xbe3d67)]||[]){const _0x2417b5=_0x102495&&Object[_0x3df407(0x146,_0x31c627._0xdbccd7)][_0x57e102(0x22d,_0x31c627._0x5804a5)]['call'](_0x102495,_0x3d8c8e[_0x57e102(_0x31c627._0x1ea7b5,_0x31c627._0x5734ae)]);let _0x132307=_0x2417b5?_0x102495[_0x3d8c8e['name']]:_0x3d8c8e['default'];if(_0x132307===undefined){if(_0x3d8c8e[_0x3df407(0x126,_0x31c627._0x5e2f04)])throw new Error(_0x3df407(_0x31c627._0x1298b8,0x12c)+_0x3d8c8e[_0x57e102(_0x31c627._0x1ea7b5,_0x31c627._0x371aa6)]+'\x27');continue;}const _0x1dc0f4=renderLiteral(_0x132307,_0x3d8c8e[_0x57e102(_0x31c627._0x2cce10,_0x31c627._0x5921a0)]);_0x1b02ac=_0x1b02ac[_0x3df407(0x11a,_0x31c627._0x25182f)]('{{'+_0x3d8c8e['name']+'}}')[_0x3df407(0x124,0x122)](_0x1dc0f4);}return _0x1b02ac;}
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;}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synthetic-ai/ae-mcp",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
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",
@@ -22,6 +22,9 @@
22
22
  "synthetic"
23
23
  ],
24
24
  "main": "./dist/server.mjs",
25
+ "bin": {
26
+ "ae-mcp": "./dist/server.mjs"
27
+ },
25
28
  "files": [
26
29
  "dist/server.mjs",
27
30
  "dist/bridge.mjs",