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