@synthetic-ai/ae-mcp 2.2.0 → 2.3.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 +4 -1
package/dist/store.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x13c822,_0x166b70){const _0xba8cf8={_0x3c7b55:0x104,_0x42161a:0x1ad,_0x3e3517:0xed,_0x11b1f1:0xef,_0x53d1ad:0xde,_0x31c63b:0xee,_0x380bd3:0x19b,_0x1cc034:0x19e,_0x3a522d:0xfd},_0x5dd45a={_0x3b2ae4:0x35},_0x4f743e={_0x5868ac:0x7d};function _0x9b4b24(_0x1d9621,_0xecf1fe){return _0x35a7(_0xecf1fe- -_0x4f743e._0x5868ac,_0x1d9621);}const _0x4bbf94=_0x13c822();function _0x194a05(_0x317c7c,_0x589978){return _0x35a7(_0x589978-_0x5dd45a._0x3b2ae4,_0x317c7c);}while(!![]){try{const _0x504d2c=parseInt(_0x194a05(0x1b6,0x1b8))/0x1+-parseInt(_0x9b4b24(_0xba8cf8._0x3c7b55,0x101))/0x2+-parseInt(_0x194a05(0x1a2,_0xba8cf8._0x42161a))/0x3*(parseInt(_0x9b4b24(_0xba8cf8._0x3e3517,_0xba8cf8._0x11b1f1))/0x4)+-parseInt(_0x194a05(0x191,0x1a2))/0x5*(parseInt(_0x9b4b24(0xfc,0xf6))/0x6)+-parseInt(_0x9b4b24(0xea,0xfa))/0x7*(-parseInt(_0x194a05(0x1b6,0x1a9))/0x8)+parseInt(_0x9b4b24(_0xba8cf8._0x53d1ad,_0xba8cf8._0x31c63b))/0x9*(-parseInt(_0x194a05(_0xba8cf8._0x380bd3,_0xba8cf8._0x1cc034))/0xa)+parseInt(_0x9b4b24(0xf4,_0xba8cf8._0x3a522d))/0xb;if(_0x504d2c===_0x166b70)break;else _0x4bbf94['push'](_0x4bbf94['shift']());}catch(_0x117e03){_0x4bbf94['push'](_0x4bbf94['shift']());}}}(_0x4635,0xe2429));import{homedir}from'node:os';function _0x4635(){const _0x45a377=['CgfYC2u','B2jQzwn0','DhjPBq','zMfSC2u','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxiGjW','DxrMltG','mtC3mtu5mdbZzwHsDvu','C3bSAxq','ouXNB0DMzq','mZG1odH6tgfdDNi','nJi0mtyXnufLA3HHCG','CMvXDwLYzwq','C3rYAw5NAwz5','CgfYyw1Z','AM9PBG','zgvZy3jPChrPB24','nNjAwwLZsq','mtiWAer2z0nl','ChvZAa','icbBChjVBw90zwqGD3jHChbLCL0','ndK4nda3AvbWqvvs','mJmXC21iD0nV','yxjYyxK','mJGYotKXotr1uxbdt04','BMfTzq','zgvMyxvSDa','BNvTyMvY','ota5mZy0Bu9ZEuH3','ChjVDg90ExbL','CMf3','C3rYAw5N','lNn5BNrOzxrPyY1Hzs1Ty3a','mtuWmZuWnLvlA3rwDW','DhLWzq'];_0x4635=function(){return _0x45a377;};return _0x4635();}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(),_0x3dde45(0xd3,0xdd));export const JOURNAL_PATH=join(DATA_DIR,'journal.jsonl');function _0x3dde45(_0x462e97,_0x3c4d93){const _0x446cad={_0x2d7e56:0xaf};return _0x35a7(_0x462e97- -_0x446cad._0x2d7e56,_0x3c4d93);}export const WRAPPERS_PATH=join(DATA_DIR,'wrappers.json');function ensureDir(){if(!existsSync(DATA_DIR))mkdirSync(DATA_DIR,{'recursive':!![]});}export function appendJournal(_0xf93a40){const _0x536ec9={_0x30b8f9:0x444,_0x2fc843:0x433},_0x33c95f={_0x3416cd:0x175},_0x5b2340={_0x4797b0:0x37a};function _0x25d225(_0x312c9e,_0x62c5b4){return _0x3dde45(_0x62c5b4-_0x5b2340._0x4797b0,_0x312c9e);}function _0x59a110(_0x370ce3,_0x59df78){return _0x3dde45(_0x370ce3- -_0x33c95f._0x3416cd,_0x59df78);}try{ensureDir(),appendFileSync(JOURNAL_PATH,JSON[_0x25d225(0x435,0x43a)](_0xf93a40)+'\x0a',_0x25d225(_0x536ec9._0x30b8f9,_0x536ec9._0x2fc843));}catch(_0xdda5f3){}}export function readJournal(){const _0x35b7d6={_0x4ac7d9:0x31c,_0x267b3a:0x15a,_0x5ed299:0x146},_0x3c4bb7={_0x2e6379:0x25b};if(!existsSync(JOURNAL_PATH))return[];function _0x566906(_0x2bd98a,_0x30539f){return _0x3dde45(_0x2bd98a-_0x3c4bb7._0x2e6379,_0x30539f);}const _0x53341b=[];for(const _0x2f7643 of readFileSync(JOURNAL_PATH,_0x566906(0x314,_0x35b7d6._0x4ac7d9))[_0x5ea648(-0x152,-_0x35b7d6._0x267b3a)]('\x0a')){const _0x407ddd=_0x2f7643[_0x5ea648(-_0x35b7d6._0x5ed299,-0x13d)]();if(!_0x407ddd)continue;try{_0x53341b[_0x566906(0x321,0x32c)](JSON['parse'](_0x407ddd));}catch(_0x514e88){}}function _0x5ea648(_0x5005fd,_0x1deffd){return _0x3dde45(_0x1deffd- -0x215,_0x5005fd);}return _0x53341b;}export function readWrappers(){const _0x188878={_0xaaff6a:0x2d5};if(!existsSync(WRAPPERS_PATH))return[];function _0x526a6f(_0x22e86a,_0x407e68){return _0x3dde45(_0x407e68-_0x188878._0xaaff6a,_0x22e86a);}try{const _0x213841=JSON[_0x526a6f(0x3b9,0x3ab)](readFileSync(WRAPPERS_PATH,'utf-8'));return Array['isArray'](_0x213841)?_0x213841:[];}catch(_0x31534f){return[];}}function _0x1a79a2(_0x2578d8,_0x24dff9){const _0x9c037f={_0x3fe6a3:0x1b1};return _0x35a7(_0x2578d8-_0x9c037f._0x3fe6a3,_0x24dff9);}function _0x35a7(_0x379472,_0x438a59){_0x379472=_0x379472-0x166;const _0x46358b=_0x4635();let _0x35a734=_0x46358b[_0x379472];if(_0x35a7['DkaRdj']===undefined){var _0x2b4a89=function(_0x394e6a){const _0x2787da='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xf93a40='',_0xdda5f3='';for(let _0x53341b=0x0,_0x2f7643,_0x407ddd,_0x514e88=0x0;_0x407ddd=_0x394e6a['charAt'](_0x514e88++);~_0x407ddd&&(_0x2f7643=_0x53341b%0x4?_0x2f7643*0x40+_0x407ddd:_0x407ddd,_0x53341b++%0x4)?_0xf93a40+=String['fromCharCode'](0xff&_0x2f7643>>(-0x2*_0x53341b&0x6)):0x0){_0x407ddd=_0x2787da['indexOf'](_0x407ddd);}for(let _0x213841=0x0,_0x31534f=_0xf93a40['length'];_0x213841<_0x31534f;_0x213841++){_0xdda5f3+='%'+('00'+_0xf93a40['charCodeAt'](_0x213841)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xdda5f3);};_0x35a7['NOZDGf']=_0x2b4a89,_0x35a7['pmbjtd']={},_0x35a7['DkaRdj']=!![];}const _0x1961f9=_0x46358b[0x0],_0x5c67d0=_0x379472+_0x1961f9,_0x5a9d9a=_0x35a7['pmbjtd'][_0x5c67d0];return!_0x5a9d9a?(_0x35a734=_0x35a7['NOZDGf'](_0x35a734),_0x35a7['pmbjtd'][_0x5c67d0]=_0x35a734):_0x35a734=_0x5a9d9a,_0x35a734;}export function writeWrappers(_0x51aac6){const _0x326720={_0x44c536:0x22c,_0x1335f7:0x21a,_0x1acad9:0x21b};function _0x2665f7(_0x530803,_0x4e882d){return _0x3dde45(_0x4e882d- -0x253,_0x530803);}ensureDir();function _0x5a5f51(_0xedd5e1,_0xa2e5bf){return _0x3dde45(_0xa2e5bf-0x162,_0xedd5e1);}writeFileSync(WRAPPERS_PATH,JSON[_0x5a5f51(_0x326720._0x44c536,0x222)](_0x51aac6,null,0x2),_0x5a5f51(_0x326720._0x1335f7,_0x326720._0x1acad9));}const TYPE_TO_SCHEMA={'string':()=>({'type':'string'}),'number':()=>({'type':_0x3dde45(0xce,0xd1)}),'boolean':()=>({'type':'boolean'}),'array':()=>({'type':_0x3dde45(0xca,0xcf)}),'object':()=>({'type':_0x3dde45(0xd7,0xcd)}),'raw':()=>({'type':_0x3dde45(0xd2,0xe3)})};export function wrapperToToolDef(_0x2e6ff9){const _0x4c99af={_0x2725af:0xd2,_0x5ab01c:0xda,_0x13bb12:0x38e,_0x28bc01:0x39c,_0x54e8e7:0x3a0,_0x57a55e:0xd4,_0x1c2445:0xc7,_0x178367:0x38d,_0x567b9d:0x391},_0x37c6c3={_0x3821c7:0x2ca},_0x22c6b4={_0x5e3530:0x193};function _0x58629b(_0x53cb78,_0x1852dd){return _0x3dde45(_0x53cb78- -_0x22c6b4._0x5e3530,_0x1852dd);}const _0x34c8f2={},_0x320469=[];function _0x2daa75(_0x106f83,_0x4b96ca){return _0x3dde45(_0x106f83-_0x37c6c3._0x3821c7,_0x4b96ca);}for(const _0x28cffb of _0x2e6ff9[_0x58629b(-_0x4c99af._0x2725af,-_0x4c99af._0x5ab01c)]||[]){const _0x5bac88=(TYPE_TO_SCHEMA[_0x28cffb[_0x2daa75(0x39f,_0x4c99af._0x13bb12)]]||TYPE_TO_SCHEMA[_0x2daa75(_0x4c99af._0x28bc01,_0x4c99af._0x54e8e7)])();_0x34c8f2[_0x28cffb['name']]={..._0x5bac88,'description':_0x28cffb[_0x58629b(-0xd0,-0xc4)]||''};if(_0x28cffb[_0x58629b(-_0x4c99af._0x57a55e,-0xd9)])_0x320469[_0x58629b(-0xcd,-0xbc)](_0x28cffb[_0x58629b(-_0x4c99af._0x1c2445,-0xd4)]);}return{'name':_0x2e6ff9['name'],'description':(_0x2e6ff9[_0x2daa75(_0x4c99af._0x178367,0x38f)]||'')+_0x2daa75(_0x4c99af._0x567b9d,0x383),'inputSchema':{'type':_0x2daa75(0x3a1,0x3a6),'properties':_0x34c8f2,'required':_0x320469,'additionalProperties':![]}};}function renderLiteral(_0xd58ebd,_0x2fb3aa){const _0x2e3643={_0x15fdb8:0x1cc,_0x3aedc3:0x1d0,_0x592a93:0xd3,_0x1860a3:0x1d3,_0x39ab1d:0xb4,_0x15916b:0x1ad,_0x1214e6:0x1b9,_0xbd23bb:0x1bf,_0x110d62:0x1d5,_0x884c2c:0x1d0};function _0x44b508(_0x54414c,_0x323bfe){return _0x3dde45(_0x323bfe- -0x290,_0x54414c);}function _0x2870f2(_0x1b69bc,_0x20234b){return _0x3dde45(_0x20234b- -0xc,_0x1b69bc);}switch(_0x2fb3aa){case _0x44b508(-0x1ba,-0x1be):return JSON[_0x44b508(-_0x2e3643._0x15fdb8,-_0x2e3643._0x3aedc3)](String(_0xd58ebd??''));case _0x2870f2(_0x2e3643._0x592a93,0xc2):return String(Number(_0xd58ebd));case'boolean':return _0xd58ebd?'true':_0x44b508(-_0x2e3643._0x1860a3,-0x1d9);case _0x2870f2(_0x2e3643._0x39ab1d,0xbe):case _0x44b508(-_0x2e3643._0x15916b,-_0x2e3643._0x1214e6):return JSON['stringify'](_0xd58ebd??null);case _0x44b508(-0x1ce,-_0x2e3643._0xbd23bb):return String(_0xd58ebd??'');default:return JSON[_0x44b508(-_0x2e3643._0x110d62,-_0x2e3643._0x884c2c)](String(_0xd58ebd??''));}}export function fillTemplate(_0x237983,_0x2fe820){const _0x27f8bc={_0x42723f:0xfe,_0x34a35f:0xf6,_0x517739:0xf3,_0x1bc222:0x47f,_0x4d8683:0x475,_0x320f7f:0x48f,_0x173308:0x488,_0x100878:0x489,_0x907c52:0x10b,_0x4444c2:0x484,_0x12b344:0x104};function _0x39ac47(_0x48199a,_0x103d50){return _0x3dde45(_0x48199a-0x3b3,_0x103d50);}let _0x3d7c08=_0x237983['code'];for(const _0x1e86b1 of _0x237983[_0x2a95d3(-0x105,-_0x27f8bc._0x42723f)]||[]){const _0x4f743f=_0x2fe820&&Object[_0x2a95d3(-_0x27f8bc._0x34a35f,-_0x27f8bc._0x517739)]['hasOwnProperty']['call'](_0x2fe820,_0x1e86b1[_0x39ac47(_0x27f8bc._0x1bc222,_0x27f8bc._0x4d8683)]);let _0x4947c6=_0x4f743f?_0x2fe820[_0x1e86b1[_0x39ac47(0x47f,_0x27f8bc._0x320f7f)]]:_0x1e86b1[_0x39ac47(0x480,0x483)];if(_0x4947c6===undefined){if(_0x1e86b1[_0x39ac47(0x472,0x47d)])throw new Error(_0x39ac47(0x46b,0x461)+_0x1e86b1['name']+'\x27');continue;}const _0xa03649=renderLiteral(_0x4947c6,_0x1e86b1[_0x39ac47(_0x27f8bc._0x173308,_0x27f8bc._0x100878)]);_0x3d7c08=_0x3d7c08[_0x2a95d3(-_0x27f8bc._0x907c52,-0x114)]('{{'+_0x1e86b1[_0x39ac47(0x47f,_0x27f8bc._0x4444c2)]+'}}')[_0x2a95d3(-_0x27f8bc._0x12b344,-0x10a)](_0xa03649);}function _0x2a95d3(_0x1db222,_0x21b135){return _0x3dde45(_0x1db222- -0x1c6,_0x21b135);}return _0x3d7c08;}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synthetic-ai/ae-mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.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",
|
|
@@ -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",
|