@synthetic-ai/ae-mcp 2.7.1 → 2.8.2
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/psdBounds.mjs +78 -0
- package/dist/server.mjs +1 -1
- package/dist/store.mjs +1 -1
- package/package.json +2 -1
package/dist/store.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x37d7(){const _0x301a1d=['DhjPBq','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxiGjW','Dhj1zq','ndy1mZvmzvHMELy','zgvMyxvSDa','yM9VBgvHBG','y29Kzq','CgfYyw1Z','ChjVDg90ExbL','AM91CM5HBc5QC29UBa','C3bSAxq','mtC1nJeWmgLPEuDJuW','mtuXntjPyuLLzLa','zgvZy3jPChrPB24','nJq1mJi0zeL4s2LO','nJGXmZe3uM1rCufm','C3rYAw5NAwz5','mtm3mZm5mxDMtNjwBG','BNvTyMvY','mtGZAhvqugvq','C3rYAw5N','AgfZt3DUuhjVCgvYDhK','BMfTzq','CgfYC2u','DhLWzq','CMvXDwLYzwq','mtaYrxLrq1H5','DxrMltG','y2fSBa','icbBChjVBw90zwqGD3jHChbLCL0','D3jHChbLCNmUANnVBG','mtaYnZiYyLrUy0vU','neLjDNDVta','B2jQzwn0','yxjYyxK','ChvZAa'];_0x37d7=function(){return _0x301a1d;};return _0x37d7();}(function(_0x37c3a5,_0x121646){const _0x3625cb={_0x427190:0x503,_0x16addc:0x506,_0x509f8f:0x52f,_0x189232:0x4ed,_0x54f272:0x4fa,_0x45309e:0x4f3,_0x2ce61b:0x536,_0x47c2e2:0x524,_0x4a30dd:0x4f6,_0x358e33:0x4f5,_0x55a835:0x4f8,_0x1a8313:0x52b},_0x5ec05f=_0x37c3a5();function _0x4657d8(_0x155c30,_0x2fbea7){return _0x38e2(_0x2fbea7-0x322,_0x155c30);}function _0x3e9334(_0x1e06eb,_0x2e5551){return _0x38e2(_0x2e5551-0x2fa,_0x1e06eb);}while(!![]){try{const _0x2c0b5a=-parseInt(_0x3e9334(_0x3625cb._0x427190,_0x3625cb._0x16addc))/0x1*(-parseInt(_0x4657d8(0x540,_0x3625cb._0x509f8f))/0x2)+-parseInt(_0x3e9334(_0x3625cb._0x189232,0x4fa))/0x3*(parseInt(_0x3e9334(_0x3625cb._0x54f272,_0x3625cb._0x45309e))/0x4)+parseInt(_0x4657d8(0x52d,_0x3625cb._0x2ce61b))/0x5*(-parseInt(_0x4657d8(_0x3625cb._0x47c2e2,0x529))/0x6)+-parseInt(_0x3e9334(0x4f7,_0x3625cb._0x4a30dd))/0x7+parseInt(_0x3e9334(0x4e6,_0x3625cb._0x358e33))/0x8+parseInt(_0x3e9334(0x4fd,_0x3625cb._0x55a835))/0x9+parseInt(_0x4657d8(_0x3625cb._0x1a8313,0x51a))/0xa;if(_0x2c0b5a===_0x121646)break;else _0x5ec05f['push'](_0x5ec05f['shift']());}catch(_0x145a3c){_0x5ec05f['push'](_0x5ec05f['shift']());}}}(_0x37d7,0x1f2c8));import{homedir}from'node:os';import{join}from'node:path';import{existsSync,mkdirSync,appendFileSync,readFileSync,writeFileSync}from'node:fs';function _0x3afabd(_0x1a1446,_0x2bd84a){const _0x4b5b4a={_0x3a5b76:0x265};return _0x38e2(_0x1a1446- -_0x4b5b4a._0x3a5b76,_0x2bd84a);}function _0x348e96(_0x4669ab,_0x2507df){const _0x1cd58e={_0xdbd649:0x3e6};return _0x38e2(_0x4669ab-_0x1cd58e._0xdbd649,_0x2507df);}export const DATA_DIR=process.env.AE_MCP_DATA_DIR||join(homedir(),'.synthetic-ae-mcp');export const JOURNAL_PATH=join(DATA_DIR,_0x348e96(0x5dc,0x5e2));export const WRAPPERS_PATH=join(DATA_DIR,_0x3afabd(-0x5a,-0x4d));function ensureDir(){if(!existsSync(DATA_DIR))mkdirSync(DATA_DIR,{'recursive':!![]});}export function appendJournal(_0x428056){const _0x17d7c3={_0x5cb6bc:0x197},_0x1f409b={_0x1bb5a6:0x135};function _0x43d194(_0x48114e,_0x1eba9f){return _0x3afabd(_0x48114e- -_0x1f409b._0x1bb5a6,_0x1eba9f);}try{ensureDir(),appendFileSync(JOURNAL_PATH,JSON['stringify'](_0x428056)+'\x0a',_0x43d194(-0x192,-_0x17d7c3._0x5cb6bc));}catch(_0x3e0f6f){}}export function readJournal(){const _0x4e2bfd={_0x434045:0x2b5,_0x14c568:0x4b,_0x2e49a7:0x53,_0x133bf5:0x2b0},_0x4d23fb={_0x4e98e8:0x9};if(!existsSync(JOURNAL_PATH))return[];function _0x4d7dbf(_0x26762c,_0xbe4419){return _0x3afabd(_0x26762c-_0x4d23fb._0x4e98e8,_0xbe4419);}const _0x206ee6=[];function _0x2066fc(_0x2a5831,_0xe4c472){return _0x3afabd(_0xe4c472-0x312,_0x2a5831);}for(const _0xb7ccb of readFileSync(JOURNAL_PATH,_0x2066fc(0x2bb,_0x4e2bfd._0x434045))[_0x4d7dbf(-0x65,-0x60)]('\x0a')){const _0xa05c04=_0xb7ccb[_0x4d7dbf(-_0x4e2bfd._0x14c568,-_0x4e2bfd._0x2e49a7)]();if(!_0xa05c04)continue;try{_0x206ee6['push'](JSON[_0x2066fc(_0x4e2bfd._0x133bf5,0x2b1)](_0xa05c04));}catch(_0x44c01f){}}return _0x206ee6;}export function readWrappers(){const _0xd896ae={_0x3991f2:0x3c3},_0x4a2908={_0x452c4c:0x227};if(!existsSync(WRAPPERS_PATH))return[];function _0x2e1429(_0x12b416,_0x672f19){return _0x348e96(_0x12b416- -_0x4a2908._0x452c4c,_0x672f19);}function _0x8929e0(_0x3299a9,_0x311d2d){return _0x348e96(_0x3299a9- -0x2b3,_0x311d2d);}try{const _0xae9976=JSON[_0x2e1429(_0xd896ae._0x3991f2,0x3c1)](readFileSync(WRAPPERS_PATH,_0x2e1429(0x3c7,0x3ce)));return Array['isArray'](_0xae9976)?_0xae9976:[];}catch(_0x2a0d1e){return[];}}export function writeWrappers(_0x2cd06b){ensureDir();function _0xf9c5e0(_0x46d34e,_0x4f7f4b){return _0x3afabd(_0x4f7f4b- -0xd4,_0x46d34e);}writeFileSync(WRAPPERS_PATH,JSON[_0xf9c5e0(-0x13b,-0x13c)](_0x2cd06b,null,0x2),'utf-8');}const TYPE_TO_SCHEMA={'string':()=>({'type':'string'}),'number':()=>({'type':_0x3afabd(-0x66,-0x62)}),'boolean':()=>({'type':_0x348e96(0x5fc,0x5f2)}),'array':()=>({'type':_0x348e96(0x5f5,0x5f5)}),'object':()=>({'type':_0x348e96(0x5f4,0x5f5)}),'raw':()=>({'type':_0x348e96(0x5e7,0x5e5)})};function _0x38e2(_0x2b1f57,_0x4dbd4c){_0x2b1f57=_0x2b1f57-0x1f3;const _0x37d7d8=_0x37d7();let _0x38e28f=_0x37d7d8[_0x2b1f57];if(_0x38e2['itLqVD']===undefined){var _0x2a45f4=function(_0x123b5d){const _0x4bbe52='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x428056='',_0x3e0f6f='';for(let _0x206ee6=0x0,_0xb7ccb,_0xa05c04,_0x44c01f=0x0;_0xa05c04=_0x123b5d['charAt'](_0x44c01f++);~_0xa05c04&&(_0xb7ccb=_0x206ee6%0x4?_0xb7ccb*0x40+_0xa05c04:_0xa05c04,_0x206ee6++%0x4)?_0x428056+=String['fromCharCode'](0xff&_0xb7ccb>>(-0x2*_0x206ee6&0x6)):0x0){_0xa05c04=_0x4bbe52['indexOf'](_0xa05c04);}for(let _0xae9976=0x0,_0x2a0d1e=_0x428056['length'];_0xae9976<_0x2a0d1e;_0xae9976++){_0x3e0f6f+='%'+('00'+_0x428056['charCodeAt'](_0xae9976)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3e0f6f);};_0x38e2['Sejkjx']=_0x2a45f4,_0x38e2['VZRLhM']={},_0x38e2['itLqVD']=!![];}const _0xf54386=_0x37d7d8[0x0],_0x21c5f9=_0x2b1f57+_0xf54386,_0x329692=_0x38e2['VZRLhM'][_0x21c5f9];return!_0x329692?(_0x38e28f=_0x38e2['Sejkjx'](_0x38e28f),_0x38e2['VZRLhM'][_0x21c5f9]=_0x38e28f):_0x38e28f=_0x329692,_0x38e28f;}export function wrapperToToolDef(_0xb7edd1){const _0x2b245f={_0x38ce8c:0x533,_0x113c76:0x541,_0x2889d8:0x535,_0x5b5877:0x52c,_0x11e4b4:0x52e,_0x2d28eb:0x1a0,_0xe38a1c:0x19a,_0xee7daf:0x1b6,_0x1f33fe:0x53c},_0x525615={_0x14ac0b:0x14b},_0x187ab0={_0x20f64c:0x597};function _0x4c1187(_0x100f4e,_0x375f7c){return _0x3afabd(_0x100f4e-_0x187ab0._0x20f64c,_0x375f7c);}const _0x351e1b={},_0x174142=[];function _0x2a9824(_0x1abe9a,_0x6f6865){return _0x3afabd(_0x1abe9a- -_0x525615._0x14ac0b,_0x6f6865);}for(const _0x2176a5 of _0xb7edd1[_0x2a9824(-0x1bc,-0x1ba)]||[]){const _0x3a3bc3=(TYPE_TO_SCHEMA[_0x2176a5['type']]||TYPE_TO_SCHEMA[_0x4c1187(_0x2b245f._0x38ce8c,_0x2b245f._0x113c76)])();_0x351e1b[_0x2176a5[_0x4c1187(_0x2b245f._0x2889d8,0x547)]]={..._0x3a3bc3,'description':_0x2176a5[_0x4c1187(_0x2b245f._0x5b5877,_0x2b245f._0x11e4b4)]||''};if(_0x2176a5[_0x4c1187(0x538,0x52f)])_0x174142[_0x2a9824(-_0x2b245f._0x2d28eb,-_0x2b245f._0xe38a1c)](_0x2176a5[_0x4c1187(0x535,0x52e)]);}return{'name':_0xb7edd1[_0x2a9824(-0x1ad,-0x19d)],'description':(_0xb7edd1[_0x2a9824(-_0x2b245f._0xee7daf,-0x1ba)]||'')+_0x4c1187(_0x2b245f._0x1f33fe,0x52b),'inputSchema':{'type':_0x4c1187(0x540,0x54f),'properties':_0x351e1b,'required':_0x174142,'additionalProperties':![]}};}function renderLiteral(_0x24a806,_0x131b33){const _0x5e9abc={_0x1a10ef:0x422,_0x215176:0x426,_0xdface0:0x4f1,_0x327ffb:0x502,_0x4c521c:0x437,_0x3ee4ee:0x435,_0xcfc91c:0x4d8};function _0x222dae(_0x3e5625,_0x10b35a){return _0x3afabd(_0x3e5625-0x540,_0x10b35a);}function _0x1fa1ac(_0x308b60,_0x5cedde){return _0x3afabd(_0x5cedde-0x48c,_0x308b60);}switch(_0x131b33){case _0x1fa1ac(0x425,0x428):return JSON['stringify'](String(_0x24a806??''));case _0x1fa1ac(_0x5e9abc._0x1a10ef,_0x5e9abc._0x215176):return String(Number(_0x24a806));case _0x222dae(_0x5e9abc._0xdface0,_0x5e9abc._0x327ffb):return _0x24a806?_0x222dae(0x4ee,0x4fe):'false';case'array':case _0x1fa1ac(_0x5e9abc._0x4c521c,_0x5e9abc._0x3ee4ee):return JSON[_0x222dae(0x4d8,0x4d6)](_0x24a806??null);case'raw':return String(_0x24a806??'');default:return JSON[_0x222dae(_0x5e9abc._0xcfc91c,0x4e7)](String(_0x24a806??''));}}export function fillTemplate(_0x3023aa,_0x59d98e){const _0x35758d={_0x385069:0x141,_0xb9717d:0x3c,_0x319f67:0x168,_0x251f66:0x156,_0x42f0fa:0x2e,_0x47b2c6:0x35,_0x5743d6:0x165,_0x4b03a7:0x16a,_0x5eaa6b:0x171,_0x46db85:0x16c,_0x45704e:0x2e,_0x43d356:0x164,_0x8781fa:0x163},_0x27c180={_0x421227:0x487};function _0x2edeee(_0x30cd42,_0x870b91){return _0x348e96(_0x30cd42- -_0x27c180._0x421227,_0x870b91);}let _0x2c77c0=_0x3023aa[_0x2edeee(0x152,_0x35758d._0x385069)];function _0x6b24c5(_0x18e16d,_0x597f21){return _0x348e96(_0x18e16d- -0x617,_0x597f21);}for(const _0x5e7be8 of _0x3023aa[_0x2edeee(0x153,0x149)]||[]){const _0x1d3274=_0x59d98e&&Object[_0x6b24c5(-_0x35758d._0xb9717d,-0x3e)][_0x6b24c5(-0x2f,-0x3c)][_0x2edeee(_0x35758d._0x319f67,_0x35758d._0x251f66)](_0x59d98e,_0x5e7be8['name']);let _0x2a69fb=_0x1d3274?_0x59d98e[_0x5e7be8[_0x6b24c5(-_0x35758d._0x42f0fa,-_0x35758d._0x47b2c6)]]:_0x5e7be8[_0x6b24c5(-0x1c,-0x20)];if(_0x2a69fb===undefined){if(_0x5e7be8[_0x2edeee(_0x35758d._0x5743d6,_0x35758d._0x4b03a7)])throw new Error(_0x2edeee(_0x35758d._0x5eaa6b,_0x35758d._0x46db85)+_0x5e7be8[_0x6b24c5(-_0x35758d._0x45704e,-0x33)]+'\x27');continue;}const _0x1e8f08=renderLiteral(_0x2a69fb,_0x5e7be8[_0x2edeee(_0x35758d._0x43d356,_0x35758d._0x8781fa)]);_0x2c77c0=_0x2c77c0[_0x2edeee(0x156,0x157)]('{{'+_0x5e7be8[_0x6b24c5(-0x2e,-0x30)]+'}}')['join'](_0x1e8f08);}return _0x2c77c0;}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synthetic-ai/ae-mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.2",
|
|
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",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"dist/server.mjs",
|
|
30
30
|
"dist/bridge.mjs",
|
|
31
31
|
"dist/store.mjs",
|
|
32
|
+
"dist/psdBounds.mjs",
|
|
32
33
|
"scripts/ae-dialogs.ps1"
|
|
33
34
|
],
|
|
34
35
|
"scripts": {
|