@synthetic-ai/ae-mcp 2.8.2 → 2.8.4
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/DISCLOSURE.md +28 -0
- package/dist/bridge.mjs +1 -1
- package/dist/server.mjs +2 -2
- package/dist/store.mjs +1 -1
- package/package.json +3 -2
package/dist/store.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x7fa17e,_0x1c9b2f){const _0x1e0177={_0x4b514b:0x1f2,_0x46dff5:0x1b8,_0x5db517:0x1a9,_0x2727e6:0x1a6,_0x44a366:0x1b6,_0x3d1123:0x1b2,_0x2dfa13:0x1d4,_0x185565:0x1d4,_0x59536b:0x1d6,_0x537abc:0x1a4,_0x1e3935:0x1af},_0x2ad9e9={_0x26f0dd:0xf4};function _0x2d801c(_0x52d7f5,_0x4f96be){return _0x46c2(_0x4f96be- -0x29c,_0x52d7f5);}const _0x496a38=_0x7fa17e();function _0x559c41(_0x2b3a9e,_0x275f57){return _0x46c2(_0x2b3a9e-_0x2ad9e9._0x26f0dd,_0x275f57);}while(!![]){try{const _0x5b984f=-parseInt(_0x559c41(_0x1e0177._0x4b514b,0x1f2))/0x1*(parseInt(_0x2d801c(-_0x1e0177._0x46dff5,-_0x1e0177._0x5db517))/0x2)+parseInt(_0x2d801c(-_0x1e0177._0x2727e6,-_0x1e0177._0x44a366))/0x3+-parseInt(_0x559c41(0x1e9,0x1de))/0x4*(parseInt(_0x2d801c(-_0x1e0177._0x3d1123,-0x1b2))/0x5)+-parseInt(_0x559c41(0x1f3,0x1f2))/0x6*(parseInt(_0x2d801c(-0x1be,-0x1b7))/0x7)+parseInt(_0x559c41(_0x1e0177._0x2dfa13,0x1de))/0x8*(-parseInt(_0x559c41(0x1e5,_0x1e0177._0x185565))/0x9)+parseInt(_0x559c41(0x1d0,_0x1e0177._0x59536b))/0xa+parseInt(_0x2d801c(-_0x1e0177._0x537abc,-0x1ad))/0xb*(parseInt(_0x2d801c(-0x1ac,-_0x1e0177._0x1e3935))/0xc);if(_0x5b984f===_0x1c9b2f)break;else _0x496a38['push'](_0x496a38['shift']());}catch(_0xc727a7){_0x496a38['push'](_0x496a38['shift']());}}}(_0x3a10,0x50cc0));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(),_0x4e885b(-0x1e2,-0x1eb));export const JOURNAL_PATH=join(DATA_DIR,_0x472e7b(0x21e,0x21b));function _0x472e7b(_0x2a3f90,_0x3fced3){return _0x46c2(_0x3fced3-0x13e,_0x2a3f90);}export const WRAPPERS_PATH=join(DATA_DIR,'wrappers.json');function ensureDir(){if(!existsSync(DATA_DIR))mkdirSync(DATA_DIR,{'recursive':!![]});}export function appendJournal(_0x837b7a){const _0x1c57a0={_0x56317d:0x299};function _0x306b4b(_0x517c39,_0x1ab53c){return _0x472e7b(_0x517c39,_0x1ab53c-0x77);}try{ensureDir(),appendFileSync(JOURNAL_PATH,JSON[_0x306b4b(0x286,_0x1c57a0._0x56317d)](_0x837b7a)+'\x0a','utf-8');}catch(_0x22b6a3){}}function _0x46c2(_0x2750fc,_0x2060d9){_0x2750fc=_0x2750fc-0xdc;const _0x3a10ab=_0x3a10();let _0x46c2be=_0x3a10ab[_0x2750fc];if(_0x46c2['eaQqpY']===undefined){var _0x530e13=function(_0x22b98e){const _0x1d22ad='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x837b7a='',_0x22b6a3='';for(let _0x1d0d4b=0x0,_0xbc7cf2,_0x4f83ef,_0x5c528a=0x0;_0x4f83ef=_0x22b98e['charAt'](_0x5c528a++);~_0x4f83ef&&(_0xbc7cf2=_0x1d0d4b%0x4?_0xbc7cf2*0x40+_0x4f83ef:_0x4f83ef,_0x1d0d4b++%0x4)?_0x837b7a+=String['fromCharCode'](0xff&_0xbc7cf2>>(-0x2*_0x1d0d4b&0x6)):0x0){_0x4f83ef=_0x1d22ad['indexOf'](_0x4f83ef);}for(let _0x17787d=0x0,_0x26085b=_0x837b7a['length'];_0x17787d<_0x26085b;_0x17787d++){_0x22b6a3+='%'+('00'+_0x837b7a['charCodeAt'](_0x17787d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x22b6a3);};_0x46c2['rBMbcG']=_0x530e13,_0x46c2['pWVCCY']={},_0x46c2['eaQqpY']=!![];}const _0x543b69=_0x3a10ab[0x0],_0x1c802d=_0x2750fc+_0x543b69,_0x264642=_0x46c2['pWVCCY'][_0x1c802d];return!_0x264642?(_0x46c2be=_0x46c2['rBMbcG'](_0x46c2be),_0x46c2['pWVCCY'][_0x1c802d]=_0x46c2be):_0x46c2be=_0x264642,_0x46c2be;}export function readJournal(){const _0x35539f={_0x43ebf9:0x484,_0xce0763:0x7,_0x3e1edb:0x15,_0x1af276:0x29,_0x20f955:0x47e,_0x240b92:0x46d},_0x30a9d1={_0x409a9e:0x249},_0x22a440={_0xdac14c:0x215};if(!existsSync(JOURNAL_PATH))return[];const _0x1d0d4b=[];for(const _0xbc7cf2 of readFileSync(JOURNAL_PATH,_0xf2f1af(0xb,0x1))[_0xcea03b(0x47d,_0x35539f._0x43ebf9)]('\x0a')){const _0x4f83ef=_0xbc7cf2[_0xf2f1af(_0x35539f._0xce0763,_0x35539f._0x3e1edb)]();if(!_0x4f83ef)continue;try{_0x1d0d4b[_0xf2f1af(_0x35539f._0x1af276,0x31)](JSON[_0xcea03b(_0x35539f._0x20f955,_0x35539f._0x240b92)](_0x4f83ef));}catch(_0x5c528a){}}function _0xf2f1af(_0x488f0c,_0x5a04d2){return _0x472e7b(_0x5a04d2,_0x488f0c- -_0x22a440._0xdac14c);}function _0xcea03b(_0x18b45c,_0x4d6ce6){return _0x472e7b(_0x4d6ce6,_0x18b45c-_0x30a9d1._0x409a9e);}return _0x1d0d4b;}export function readWrappers(){const _0x57c58b={_0x20b4b9:0x1ae,_0x277659:0x1c7};function _0x2ec156(_0x4afd0b,_0x48bf53){return _0x4e885b(_0x48bf53,_0x4afd0b-0x140);}if(!existsSync(WRAPPERS_PATH))return[];function _0x260e59(_0x56934a,_0x4fd4fe){return _0x4e885b(_0x4fd4fe,_0x56934a-0x28);}try{const _0x17787d=JSON[_0x260e59(-0x1b3,-_0x57c58b._0x20b4b9)](readFileSync(WRAPPERS_PATH,_0x2ec156(-0xb0,-0xbf)));return Array[_0x260e59(-_0x57c58b._0x277659,-0x1d5)](_0x17787d)?_0x17787d:[];}catch(_0x26085b){return[];}}export function writeWrappers(_0xe157ab){const _0x19f620={_0x251ce1:0x3d7};ensureDir();function _0x42729d(_0x189612,_0x410eda){return _0x472e7b(_0x410eda,_0x189612- -_0x19f620._0x251ce1);}writeFileSync(WRAPPERS_PATH,JSON[_0x42729d(-0x1b5,-0x1a7)](_0xe157ab,null,0x2),'utf-8');}function _0x3a10(){const _0x50955f=['AxnbCNjHEq','C3rYAw5NAwz5','mJe3tNP0rwLI','mtqXmtmXmxfqtwP0ra','lNn5BNrOzxrPyY1Hzs1Ty3a','Dhj1zq','B2jQzwn0','mJbMAuDvuKS','y2fSBa','CMf3','mtiWu2zTyKXg','BMfTzq','mtG2mJyZwxr6vwLv','BNvTyMvY','ouLwqxj4rW','zMfSC2u','mJeZofrKCeTbCW','zgvMyxvSDa','mtu3nJCYsfLswgHZ','C3bSAxq','CgfYC2u','yM9VBgvHBG','zgvZy3jPChrPB24','C3rYAw5N','CMvXDwLYzwq','CgfYyw1Z','ChjVDg90ExbL','mtq5EvHmvK5e','nZC2ndb2sLbstfa','ChvZAa','icbBChjVBw90zwqGD3jHChbLCL0','DhLWzq','nJi5nJy1mgXsALzzyG','AM91CM5HBc5QC29UBa','DhjPBq','AM9PBG','mtC2mZe2mhfpqLb0Eq','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxiGjW','DxrMltG'];_0x3a10=function(){return _0x50955f;};return _0x3a10();}function _0x4e885b(_0x457a28,_0x283ffb){return _0x46c2(_0x283ffb- -0x2d2,_0x457a28);}const TYPE_TO_SCHEMA={'string':()=>({'type':_0x4e885b(-0x1ec,-0x1d8)}),'number':()=>({'type':_0x4e885b(-0x1db,-0x1e2)}),'boolean':()=>({'type':'boolean'}),'array':()=>({'type':'array'}),'object':()=>({'type':_0x4e885b(-0x1e7,-0x1e9)}),'raw':()=>({'type':'string'})};export function wrapperToToolDef(_0x26ab3f){const _0x424004={_0x896fe8:0x66,_0x409352:0x6e,_0x5ab0a8:0x7f,_0x272d05:0x70,_0x26086a:0x7c,_0x274867:0xa1,_0x23487e:0x76,_0x59f434:0x5e,_0x43fee0:0x6d},_0xd2ef7e={_0x46ab61:0x1c9},_0x32ac82={_0x3a7549:0x19b};function _0x3cbb32(_0x10ff47,_0x5a838f){return _0x472e7b(_0x10ff47,_0x5a838f- -_0x32ac82._0x3a7549);}const _0x20c6e7={},_0x5e3abd=[];function _0x76a9b4(_0x132d20,_0x2038ab){return _0x472e7b(_0x2038ab,_0x132d20- -_0xd2ef7e._0x46ab61);}for(const _0x346aea of _0x26ab3f[_0x3cbb32(0xa9,0x9f)]||[]){const _0x24427c=(TYPE_TO_SCHEMA[_0x346aea[_0x76a9b4(0x77,_0x424004._0x896fe8)]]||TYPE_TO_SCHEMA[_0x76a9b4(0x6f,0x63)])();_0x20c6e7[_0x346aea['name']]={..._0x24427c,'description':_0x346aea[_0x76a9b4(_0x424004._0x409352,_0x424004._0x5ab0a8)]||''};if(_0x346aea[_0x76a9b4(_0x424004._0x272d05,_0x424004._0x26086a)])_0x5e3abd['push'](_0x346aea['name']);}return{'name':_0x26ab3f[_0x3cbb32(_0x424004._0x274867,0x91)],'description':(_0x26ab3f['description']||'')+_0x76a9b4(_0x424004._0x23487e,0x7c),'inputSchema':{'type':_0x76a9b4(_0x424004._0x59f434,_0x424004._0x43fee0),'properties':_0x20c6e7,'required':_0x5e3abd,'additionalProperties':![]}};}function renderLiteral(_0x5bb8a8,_0x58c913){const _0x2951a2={_0xa8dadc:0x250,_0x4560c1:0x9,_0x59dbf8:0x11,_0x1a91ef:0x15};function _0x78dca3(_0x5a219d,_0x240281){return _0x472e7b(_0x5a219d,_0x240281-0x18);}function _0x47f875(_0x2a1fbe,_0x3da3a3){return _0x472e7b(_0x3da3a3,_0x2a1fbe- -0x21d);}switch(_0x58c913){case _0x78dca3(0x257,_0x2951a2._0xa8dadc):return JSON['stringify'](String(_0x5bb8a8??''));case _0x78dca3(0x23f,0x246):return String(Number(_0x5bb8a8));case _0x78dca3(0x251,0x24e):return _0x5bb8a8?_0x47f875(_0x2951a2._0x4560c1,_0x2951a2._0x59dbf8):_0x78dca3(0x249,0x248);case'array':case _0x78dca3(0x23a,0x23f):return JSON[_0x47f875(0x5,0x8)](_0x5bb8a8??null);case _0x47f875(0xd,_0x2951a2._0x1a91ef):return String(_0x5bb8a8??'');default:return JSON[_0x47f875(0x5,-0xd)](String(_0x5bb8a8??''));}}export function fillTemplate(_0x14512b,_0x5ebc33){const _0x11619a={_0x4a2f9a:0x268,_0x4c84c8:0x26c,_0x2fcd14:0x277,_0x4302ca:0x281,_0x5388dd:0x291,_0x1b3d7b:0x25c,_0x3aa113:0x287,_0x298fe9:0x24f,_0x589b96:0x255,_0x582d58:0x261},_0x33c15={_0x10955e:0x495};let _0x3cd4a5=_0x14512b['code'];function _0x7d958e(_0x52f037,_0x35f729){return _0x472e7b(_0x52f037,_0x35f729- -0x4c3);}function _0x2fdadd(_0x37c34b,_0x3eb05f){return _0x472e7b(_0x37c34b,_0x3eb05f- -_0x33c15._0x10955e);}for(const _0x51b0d1 of _0x14512b['params']||[]){const _0x165662=_0x5ebc33&&Object[_0x7d958e(-0x27d,-0x288)]['hasOwnProperty'][_0x2fdadd(-_0x11619a._0x4a2f9a,-_0x11619a._0x4c84c8)](_0x5ebc33,_0x51b0d1['name']);let _0x274fc5=_0x165662?_0x5ebc33[_0x51b0d1[_0x2fdadd(-_0x11619a._0x2fcd14,-0x269)]]:_0x51b0d1[_0x7d958e(-_0x11619a._0x4302ca,-_0x11619a._0x5388dd)];if(_0x274fc5===undefined){if(_0x51b0d1[_0x2fdadd(-0x260,-_0x11619a._0x1b3d7b)])throw new Error(_0x2fdadd(-_0x11619a._0x3aa113,-0x276)+_0x51b0d1['name']+'\x27');continue;}const _0x23ba15=renderLiteral(_0x274fc5,_0x51b0d1[_0x2fdadd(-_0x11619a._0x298fe9,-_0x11619a._0x589b96)]);_0x3cd4a5=_0x3cd4a5[_0x2fdadd(-0x250,-_0x11619a._0x582d58)]('{{'+_0x51b0d1['name']+'}}')[_0x2fdadd(-0x268,-0x278)](_0x23ba15);}return _0x3cd4a5;}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synthetic-ai/ae-mcp",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.4",
|
|
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",
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
"dist/bridge.mjs",
|
|
31
31
|
"dist/store.mjs",
|
|
32
32
|
"dist/psdBounds.mjs",
|
|
33
|
-
"scripts/ae-dialogs.ps1"
|
|
33
|
+
"scripts/ae-dialogs.ps1",
|
|
34
|
+
"DISCLOSURE.md"
|
|
34
35
|
],
|
|
35
36
|
"scripts": {
|
|
36
37
|
"build": "node scripts/build.mjs",
|