@synthetic-ai/ae-mcp 2.6.0 → 2.7.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(_0x666583,_0x1c3be9){const _0x5ba2bf={_0x11cc2a:0x1ae,_0x13314e:0x313,_0x1c83e3:0x326,_0x3b0d57:0x321,_0x47346e:0x30a,_0x5c8567:0x303,_0x2164d8:0x1bf,_0x8596f9:0x1c4,_0x380efa:0x1a5,_0x390fe9:0x305,_0x27a262:0x31e,_0x5bc0c1:0x1b1,_0x49bc8e:0x30c,_0x276c44:0x2f9,_0x45f06b:0x312,_0x568620:0x321};function _0x29d235(_0x2a9be6,_0x3f0fd4){return _0xcd7a(_0x2a9be6-0x271,_0x3f0fd4);}const _0x3b2f36=_0x666583();function _0x32ca86(_0x45cbbc,_0x17779e){return _0xcd7a(_0x45cbbc-0x107,_0x17779e);}while(!![]){try{const _0x2fcf45=-parseInt(_0x32ca86(0x1a4,_0x5ba2bf._0x11cc2a))/0x1*(parseInt(_0x29d235(_0x5ba2bf._0x13314e,_0x5ba2bf._0x1c83e3))/0x2)+-parseInt(_0x29d235(0x322,_0x5ba2bf._0x3b0d57))/0x3*(-parseInt(_0x29d235(_0x5ba2bf._0x47346e,_0x5ba2bf._0x5c8567))/0x4)+parseInt(_0x32ca86(_0x5ba2bf._0x2164d8,_0x5ba2bf._0x8596f9))/0x5+parseInt(_0x32ca86(0x19e,_0x5ba2bf._0x380efa))/0x6*(parseInt(_0x29d235(_0x5ba2bf._0x390fe9,_0x5ba2bf._0x13314e))/0x7)+parseInt(_0x29d235(_0x5ba2bf._0x27a262,_0x5ba2bf._0x47346e))/0x8*(parseInt(_0x32ca86(_0x5ba2bf._0x5bc0c1,0x19e))/0x9)+parseInt(_0x29d235(0x304,_0x5ba2bf._0x49bc8e))/0xa*(-parseInt(_0x29d235(0x306,_0x5ba2bf._0x276c44))/0xb)+-parseInt(_0x29d235(_0x5ba2bf._0x45f06b,_0x5ba2bf._0x568620))/0xc;if(_0x2fcf45===_0x1c3be9)break;else _0x3b2f36['push'](_0x3b2f36['shift']());}catch(_0x1b68c1){_0x3b2f36['push'](_0x3b2f36['shift']());}}}(_0x2e14,0xa921a));import{homedir}from'node:os';import{join}from'node:path';function _0xcd7a(_0x148267,_0x3f7325){_0x148267=_0x148267-0x92;const _0x2e141e=_0x2e14();let _0xcd7a47=_0x2e141e[_0x148267];if(_0xcd7a['ctSDGy']===undefined){var _0x1f5528=function(_0x22cc11){const _0x359406='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x170365='',_0x465056='';for(let _0x4d048b=0x0,_0x3b7098,_0x40b405,_0x4b795a=0x0;_0x40b405=_0x22cc11['charAt'](_0x4b795a++);~_0x40b405&&(_0x3b7098=_0x4d048b%0x4?_0x3b7098*0x40+_0x40b405:_0x40b405,_0x4d048b++%0x4)?_0x170365+=String['fromCharCode'](0xff&_0x3b7098>>(-0x2*_0x4d048b&0x6)):0x0){_0x40b405=_0x359406['indexOf'](_0x40b405);}for(let _0x350a7d=0x0,_0x5059cf=_0x170365['length'];_0x350a7d<_0x5059cf;_0x350a7d++){_0x465056+='%'+('00'+_0x170365['charCodeAt'](_0x350a7d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x465056);};_0xcd7a['lOwEHr']=_0x1f5528,_0xcd7a['ALTYRD']={},_0xcd7a['ctSDGy']=!![];}const _0x1f6943=_0x2e141e[0x0],_0x26ea62=_0x148267+_0x1f6943,_0x1dc0db=_0xcd7a['ALTYRD'][_0x26ea62];return!_0x1dc0db?(_0xcd7a47=_0xcd7a['lOwEHr'](_0xcd7a47),_0xcd7a['ALTYRD'][_0x26ea62]=_0xcd7a47):_0xcd7a47=_0x1dc0db,_0xcd7a47;}import{existsSync,mkdirSync,appendFileSync,readFileSync,writeFileSync}from'node:fs';export const DATA_DIR=process.env.AE_MCP_DATA_DIR||join(homedir(),_0x1020c0(-0x262,-0x271));export const JOURNAL_PATH=join(DATA_DIR,_0x1020c0(-0x24d,-0x252));export const WRAPPERS_PATH=join(DATA_DIR,_0x1020c0(-0x254,-0x242));function ensureDir(){if(!existsSync(DATA_DIR))mkdirSync(DATA_DIR,{'recursive':!![]});}export function appendJournal(_0x170365){const _0x142d1e={_0x3fb572:0x452,_0x45b671:0x91},_0x15a6ba={_0x1c4a61:0x2fb};function _0x39e707(_0x12421b,_0x37c22d){return _0x1020c0(_0x37c22d-_0x15a6ba._0x1c4a61,_0x12421b);}function _0x3645a9(_0x2e3633,_0x4b3d3d){return _0x1020c0(_0x4b3d3d-0x6a2,_0x2e3633);}try{ensureDir(),appendFileSync(JOURNAL_PATH,JSON[_0x3645a9(_0x142d1e._0x3fb572,_0x142d1e._0x3fb572)](_0x170365)+'\x0a',_0x39e707(0x84,_0x142d1e._0x45b671));}catch(_0x465056){}}export function readJournal(){const _0x244995={_0x50704c:0x1ff,_0x124f96:0x1fa,_0x123f5e:0x1e9,_0x2d5de6:0x1f9,_0x5610fd:0x1ed,_0x25469a:0x1e7,_0x676802:0x1e8};function _0x346191(_0x18cee4,_0xef743d){return _0x1020c0(_0x18cee4-0x5f,_0xef743d);}if(!existsSync(JOURNAL_PATH))return[];function _0x30b9e2(_0x1301c9,_0x2c1706){return _0x1020c0(_0x1301c9-0x596,_0x2c1706);}const _0x4d048b=[];for(const _0x3b7098 of readFileSync(JOURNAL_PATH,_0x346191(-0x20b,-_0x244995._0x50704c))[_0x346191(-_0x244995._0x124f96,-_0x244995._0x123f5e)]('\x0a')){const _0x40b405=_0x3b7098[_0x346191(-_0x244995._0x2d5de6,-0x1ed)]();if(!_0x40b405)continue;try{_0x4d048b[_0x346191(-_0x244995._0x5610fd,-0x1de)](JSON[_0x346191(-_0x244995._0x25469a,-_0x244995._0x676802)](_0x40b405));}catch(_0x4b795a){}}return _0x4d048b;}function _0x5f0a8d(_0x95b092,_0x545ee5){return _0xcd7a(_0x545ee5- -0x53,_0x95b092);}export function readWrappers(){const _0x5769e8={_0x1cfa00:0x171,_0x1e0dce:0x16d},_0x294f72={_0x4d04e3:0x1b0};function _0x409fd9(_0x220cf2,_0x57b813){return _0x5f0a8d(_0x57b813,_0x220cf2- -_0x294f72._0x4d04e3);}if(!existsSync(WRAPPERS_PATH))return[];function _0x17c004(_0x27cc90,_0x1a8034){return _0x5f0a8d(_0x1a8034,_0x27cc90-0x25a);}try{const _0x350a7d=JSON[_0x17c004(0x2bd,0x2af)](readFileSync(WRAPPERS_PATH,_0x409fd9(-_0x5769e8._0x1cfa00,-0x171)));return Array[_0x409fd9(-_0x5769e8._0x1e0dce,-0x15e)](_0x350a7d)?_0x350a7d:[];}catch(_0x5059cf){return[];}}export function writeWrappers(_0x22fb36){const _0x41579c={_0x17339f:0x20d,_0x126f0b:0x227},_0x10541f={_0x15727b:0x63b};function _0x56b4d4(_0xd85b24,_0x2c4e8a){return _0x1020c0(_0xd85b24-0x43,_0x2c4e8a);}ensureDir();function _0x541620(_0x501616,_0x54fc59){return _0x1020c0(_0x501616-_0x10541f._0x15727b,_0x54fc59);}writeFileSync(WRAPPERS_PATH,JSON[_0x56b4d4(-_0x41579c._0x17339f,-0x211)](_0x22fb36,null,0x2),_0x56b4d4(-_0x41579c._0x126f0b,-0x21a));}function _0x1020c0(_0x3507b9,_0x5ab0ae){return _0xcd7a(_0x3507b9- -0x2fc,_0x5ab0ae);}const TYPE_TO_SCHEMA={'string':()=>({'type':_0x1020c0(-0x261,-0x25f)}),'number':()=>({'type':'number'}),'boolean':()=>({'type':_0x1020c0(-0x253,-0x265)}),'array':()=>({'type':_0x5f0a8d(0x48,0x52)}),'object':()=>({'type':_0x1020c0(-0x249,-0x240)}),'raw':()=>({'type':_0x1020c0(-0x261,-0x253)})};export function wrapperToToolDef(_0x4dc467){const _0x461778={_0x551f5b:0x2fa,_0x2a61ae:0x2b7,_0x2ccc44:0x2bb,_0x4abf32:0x2fb,_0x42072f:0x302,_0x387498:0x2f3,_0x37f36f:0x309,_0x8ab561:0x31c,_0x2d0436:0x2aa},_0xdff2e4={_0x333f35:0x61},_0x665948={};function _0x37f887(_0x358efb,_0x3de83d){return _0x1020c0(_0x358efb- -_0xdff2e4._0x333f35,_0x3de83d);}const _0x38ff7e=[];function _0x23ba6b(_0x1ed488,_0x27d7c0){return _0x1020c0(_0x1ed488- -0xb3,_0x27d7c0);}for(const _0x9de0d2 of _0x4dc467[_0x23ba6b(-_0x461778._0x551f5b,-0x2f3)]||[]){const _0x5b39ed=(TYPE_TO_SCHEMA[_0x9de0d2[_0x23ba6b(-0x2fd,-0x2f9)]]||TYPE_TO_SCHEMA['string'])();_0x665948[_0x9de0d2[_0x37f887(-_0x461778._0x2a61ae,-_0x461778._0x2ccc44)]]={..._0x5b39ed,'description':_0x9de0d2[_0x23ba6b(-_0x461778._0x4abf32,-_0x461778._0x42072f)]||''};if(_0x9de0d2[_0x23ba6b(-0x310,-0x30b)])_0x38ff7e[_0x23ba6b(-0x2ff,-_0x461778._0x387498)](_0x9de0d2[_0x37f887(-0x2b7,-0x2c9)]);}return{'name':_0x4dc467[_0x23ba6b(-_0x461778._0x37f36f,-_0x461778._0x8ab561)],'description':(_0x4dc467[_0x37f887(-0x2a9,-0x2b3)]||'')+'\x20\x20[promoted\x20wrapper]','inputSchema':{'type':_0x37f887(-_0x461778._0x2d0436,-0x296),'properties':_0x665948,'required':_0x38ff7e,'additionalProperties':![]}};}function renderLiteral(_0x26d5f4,_0x585ef0){const _0x38f753={_0x240251:0x109,_0x4cce7b:0x445,_0x254d3b:0x438,_0x22d567:0x10e,_0x1d68e7:0x44f,_0x37b43c:0x102},_0x312770={_0x36a6a1:0x3ef};function _0x505e97(_0x383777,_0x36cbd2){return _0x5f0a8d(_0x36cbd2,_0x383777-_0x312770._0x36a6a1);}function _0xa69aa2(_0x2f213d,_0x4a5e39){return _0x5f0a8d(_0x4a5e39,_0x2f213d-0xb0);}switch(_0x585ef0){case'string':return JSON['stringify'](String(_0x26d5f4??''));case _0xa69aa2(0x114,_0x38f753._0x240251):return String(Number(_0x26d5f4));case _0x505e97(_0x38f753._0x4cce7b,_0x38f753._0x254d3b):return _0x26d5f4?'true':'false';case _0xa69aa2(0x102,_0x38f753._0x22d567):case _0x505e97(_0x38f753._0x1d68e7,0x45c):return JSON[_0x505e97(0x448,0x459)](_0x26d5f4??null);case'raw':return String(_0x26d5f4??'');default:return JSON[_0xa69aa2(0x109,_0x38f753._0x37b43c)](String(_0x26d5f4??''));}}export function fillTemplate(_0x2d6929,_0x4c79ea){const _0x1f48bf={_0x308c03:0x1eb,_0xb432db:0x1e4,_0x35ec45:0x1ef,_0x49f27d:0x1e7,_0x4aa426:0x1f6,_0x30600f:0xa7,_0x3efc00:0xa1,_0x38ed61:0xbb,_0x1804ad:0x1fc,_0x449f57:0x1f7},_0x3ccce5={_0x381303:0x242},_0x55a387={_0x387775:0xfa};function _0x3cae52(_0xb3bdf4,_0x33443e){return _0x5f0a8d(_0xb3bdf4,_0x33443e- -_0x55a387._0x387775);}let _0x4bd40f=_0x2d6929[_0x5da6ba(-_0x1f48bf._0x308c03,-0x1f9)];function _0x5da6ba(_0x309197,_0x484e0a){return _0x5f0a8d(_0x309197,_0x484e0a- -_0x3ccce5._0x381303);}for(const _0x2cf2af of _0x2d6929[_0x3cae52(-0x94,-0x98)]||[]){const _0x596f79=_0x4c79ea&&Object[_0x5da6ba(-_0x1f48bf._0xb432db,-0x1ee)][_0x3cae52(-0x9f,-0xa2)][_0x5da6ba(-0x1eb,-0x1fd)](_0x4c79ea,_0x2cf2af[_0x5da6ba(-0x1dd,-_0x1f48bf._0x35ec45)]);let _0x53625c=_0x596f79?_0x4c79ea[_0x2cf2af['name']]:_0x2cf2af[_0x5da6ba(-0x1fa,-_0x1f48bf._0x49f27d)];if(_0x53625c===undefined){if(_0x2cf2af[_0x5da6ba(-0x1e9,-_0x1f48bf._0x4aa426)])throw new Error(_0x5da6ba(-0x1e6,-0x1f5)+_0x2cf2af[_0x3cae52(-0xb8,-_0x1f48bf._0x30600f)]+'\x27');continue;}const _0x1c924d=renderLiteral(_0x53625c,_0x2cf2af[_0x3cae52(-_0x1f48bf._0x3efc00,-0x9b)]);_0x4bd40f=_0x4bd40f['split']('{{'+_0x2cf2af[_0x3cae52(-_0x1f48bf._0x38ed61,-0xa7)]+'}}')[_0x5da6ba(-_0x1f48bf._0x1804ad,-_0x1f48bf._0x449f57)](_0x1c924d);}return _0x4bd40f;}function _0x2e14(){const _0x57c6a3=['mti5mJaYmLnYvhHkrW','y2fSBa','nezrEgfVvW','lNn5BNrOzxrPyY1Hzs1Ty3a','C3rYAw5N','y29Kzq','nZu2mtm3yuDRsg5U','AM9PBG','CMvXDwLYzwq','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxiGjW','mtK0mtu4og9bzMHuyq','mNbiBg5puG','C3bSAxq','DhjPBq','yxjYyxK','BMfTzq','ChjVDg90ExbL','D3jHChbLCNmUANnVBG','yM9VBgvHBG','mta0otG0nZnvqwjKCMi','AgfZt3DUuhjVCgvYDhK','C3rYAw5NAwz5','oeHSqNHHBG','zgvMyxvSDa','AM91CM5HBc5QC29UBa','ChvZAa','mZqWnZuXmwH0Befwua','DhLWzq','B2jQzwn0','zgvZy3jPChrPB24','CgfYyw1Z','CgfYC2u','BNvTyMvY','mtiXmde2mhDkwwfgyq','DxrMltG','mtK0ota2mfjYrw1kAq','mtrtAejRsNu','nZDMvKHpzMC','AxnbCNjHEq'];_0x2e14=function(){return _0x57c6a3;};return _0x2e14();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synthetic-ai/ae-mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.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",
|
|
@@ -47,5 +47,8 @@
|
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"javascript-obfuscator": "^5.4.3"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"ag-psd": "^31.0.2"
|
|
50
53
|
}
|
|
51
54
|
}
|