@synthetic-ai/ae-mcp 2.0.0 → 2.2.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 -0
- package/dist/server.mjs +1 -1
- package/dist/store.mjs +1 -0
- package/package.json +4 -2
package/dist/store.mjs
ADDED
|
@@ -0,0 +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;}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synthetic-ai/ae-mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.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",
|
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
],
|
|
24
24
|
"main": "./dist/server.mjs",
|
|
25
25
|
"files": [
|
|
26
|
-
"dist/server.mjs"
|
|
26
|
+
"dist/server.mjs",
|
|
27
|
+
"dist/bridge.mjs",
|
|
28
|
+
"dist/store.mjs"
|
|
27
29
|
],
|
|
28
30
|
"scripts": {
|
|
29
31
|
"build": "node scripts/build.mjs",
|