@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/bridge.mjs +1 -1
- package/dist/server.mjs +1 -1
- package/dist/store.mjs +1 -1
- package/package.json +4 -1
package/dist/store.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
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.
|
|
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",
|