@synthetic-ai/ae-mcp 2.4.1 → 2.4.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/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 _0x2de630(_0x13ccbe,_0x19ff0e){const _0x42d179={_0x266721:0x201};return _0x7883(_0x13ccbe- -_0x42d179._0x266721,_0x19ff0e);}(function(_0x1c06ce,_0x169b7d){const _0x5a55b2={_0x8f005:0x3df,_0x1d058f:0x3f0,_0x858a2f:0x3e8,_0x10a80b:0x3e3,_0x587f0d:0x140,_0x551d0c:0x134,_0x1a9874:0x3f5,_0x164532:0x3de,_0x5c3b49:0x14c,_0x351416:0x145},_0x56c8dd={_0x3027ea:0x274},_0x55c0f8=_0x1c06ce();function _0x2b3afe(_0xd41f82,_0x31c003){return _0x7883(_0x31c003-_0x56c8dd._0x3027ea,_0xd41f82);}function _0x5464c4(_0x442e9f,_0x469c1b){return _0x7883(_0x442e9f- -0x43,_0x469c1b);}while(!![]){try{const _0x15ed89=-parseInt(_0x2b3afe(_0x5a55b2._0x8f005,_0x5a55b2._0x1d058f))/0x1+-parseInt(_0x5464c4(0x143,0x150))/0x2*(parseInt(_0x2b3afe(_0x5a55b2._0x858a2f,_0x5a55b2._0x10a80b))/0x3)+-parseInt(_0x5464c4(0x14b,0x13d))/0x4+parseInt(_0x5464c4(_0x5a55b2._0x587f0d,0x141))/0x5*(-parseInt(_0x5464c4(0x137,_0x5a55b2._0x551d0c))/0x6)+parseInt(_0x2b3afe(0x3ec,_0x5a55b2._0x1a9874))/0x7+-parseInt(_0x2b3afe(_0x5a55b2._0x164532,0x3ed))/0x8+parseInt(_0x5464c4(_0x5a55b2._0x5c3b49,_0x5a55b2._0x351416))/0x9;if(_0x15ed89===_0x169b7d)break;else _0x55c0f8['push'](_0x55c0f8['shift']());}catch(_0x40bf5d){_0x55c0f8['push'](_0x55c0f8['shift']());}}}(_0x4db2,0xbb502));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(),_0x2de630(-0x8f,-0x90));function _0x7883(_0x33efdf,_0x4ad092){_0x33efdf=_0x33efdf-0x16a;const _0x4db231=_0x4db2();let _0x788317=_0x4db231[_0x33efdf];if(_0x7883['cZcajy']===undefined){var _0x4e64b1=function(_0x369863){const _0x3c0625='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x196248='',_0x5c8e98='';for(let _0x14b4f6=0x0,_0x53b52c,_0x50d7a7,_0x2e59fc=0x0;_0x50d7a7=_0x369863['charAt'](_0x2e59fc++);~_0x50d7a7&&(_0x53b52c=_0x14b4f6%0x4?_0x53b52c*0x40+_0x50d7a7:_0x50d7a7,_0x14b4f6++%0x4)?_0x196248+=String['fromCharCode'](0xff&_0x53b52c>>(-0x2*_0x14b4f6&0x6)):0x0){_0x50d7a7=_0x3c0625['indexOf'](_0x50d7a7);}for(let _0x297a98=0x0,_0xb7657a=_0x196248['length'];_0x297a98<_0xb7657a;_0x297a98++){_0x5c8e98+='%'+('00'+_0x196248['charCodeAt'](_0x297a98)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5c8e98);};_0x7883['HiLvbN']=_0x4e64b1,_0x7883['pOHOLO']={},_0x7883['cZcajy']=!![];}const _0x2b5a6c=_0x4db231[0x0],_0x3bcb05=_0x33efdf+_0x2b5a6c,_0x100170=_0x7883['pOHOLO'][_0x3bcb05];return!_0x100170?(_0x788317=_0x7883['HiLvbN'](_0x788317),_0x7883['pOHOLO'][_0x3bcb05]=_0x788317):_0x788317=_0x100170,_0x788317;}export const JOURNAL_PATH=join(DATA_DIR,'journal.jsonl');export const WRAPPERS_PATH=join(DATA_DIR,_0x2de630(-0x78,-0x6e));function ensureDir(){if(!existsSync(DATA_DIR))mkdirSync(DATA_DIR,{'recursive':!![]});}export function appendJournal(_0x196248){const _0x238ba9={_0x5aaaaa:0x7a,_0x11ba51:0x82},_0xe44be2={_0x5bb4cc:0x6b};function _0x13c8bc(_0x439e1c,_0x4297d0){return _0xfbb018(_0x4297d0,_0x439e1c-0x3ee);}function _0x47ad4f(_0x55ca09,_0x225efe){return _0xfbb018(_0x55ca09,_0x225efe-_0xe44be2._0x5bb4cc);}try{ensureDir(),appendFileSync(JOURNAL_PATH,JSON[_0x47ad4f(0x6e,_0x238ba9._0x5aaaaa)](_0x196248)+'\x0a',_0x47ad4f(_0x238ba9._0x11ba51,_0x238ba9._0x11ba51));}catch(_0x5c8e98){}}export function readJournal(){const _0x4ee471={_0x4f8650:0xbf,_0x3e134c:0xcf,_0x501d1f:0xd6,_0x56fb4f:0x310,_0x2abb69:0xcc},_0x2ef850={_0x3a6cda:0x3a6},_0x4d07cf={_0x9bec27:0x14b};if(!existsSync(JOURNAL_PATH))return[];function _0x376f4f(_0x2d9a6c,_0x4b495b){return _0x2de630(_0x2d9a6c-_0x4d07cf._0x9bec27,_0x4b495b);}function _0x172128(_0x4cc575,_0x21c00d){return _0x2de630(_0x21c00d-_0x2ef850._0x3a6cda,_0x4cc575);}const _0x14b4f6=[];for(const _0x53b52c of readFileSync(JOURNAL_PATH,_0x376f4f(_0x4ee471._0x4f8650,0xc8))[_0x376f4f(_0x4ee471._0x3e134c,_0x4ee471._0x501d1f)]('\x0a')){const _0x50d7a7=_0x53b52c[_0x172128(0x317,_0x4ee471._0x56fb4f)]();if(!_0x50d7a7)continue;try{_0x14b4f6[_0x172128(0x329,0x323)](JSON[_0x376f4f(_0x4ee471._0x2abb69,0xc0)](_0x50d7a7));}catch(_0x2e59fc){}}return _0x14b4f6;}export function readWrappers(){const _0x4663e5={_0xcad195:0x127,_0x539c4d:0x120},_0x1bec71={_0x568cdf:0x97};function _0x5c6db9(_0x2226d8,_0x2c5855){return _0x2de630(_0x2c5855- -0xa4,_0x2226d8);}function _0x24e45d(_0x3a0d62,_0x5ca167){return _0x2de630(_0x3a0d62-_0x1bec71._0x568cdf,_0x5ca167);}if(!existsSync(WRAPPERS_PATH))return[];try{const _0x297a98=JSON['parse'](readFileSync(WRAPPERS_PATH,_0x5c6db9(-_0x4663e5._0xcad195,-0x130)));return Array[_0x5c6db9(-_0x4663e5._0x539c4d,-0x11a)](_0x297a98)?_0x297a98:[];}catch(_0xb7657a){return[];}}export function writeWrappers(_0x5a7bb4){const _0x184a01={_0xbd3488:0xbd,_0x40f0b9:0xc3,_0x21a7a5:0x39a};function _0x81830f(_0x277f7c,_0x310cd0){return _0x2de630(_0x277f7c-0x419,_0x310cd0);}function _0x507241(_0x2c9e1a,_0x456965){return _0x2de630(_0x456965-0x157,_0x2c9e1a);}ensureDir(),writeFileSync(WRAPPERS_PATH,JSON[_0x507241(_0x184a01._0xbd3488,_0x184a01._0x40f0b9)](_0x5a7bb4,null,0x2),_0x81830f(0x38d,_0x184a01._0x21a7a5));}const TYPE_TO_SCHEMA={'string':()=>({'type':_0x2de630(-0x74,-0x70)}),'number':()=>({'type':_0xfbb018(0x1e,0xe)}),'boolean':()=>({'type':'boolean'}),'array':()=>({'type':_0x2de630(-0x90,-0x85)}),'object':()=>({'type':_0x2de630(-0x91,-0x8a)}),'raw':()=>({'type':_0xfbb018(0x31,0x2f)})};function _0xfbb018(_0x3883cc,_0x162f87){return _0x7883(_0x162f87- -0x15e,_0x3883cc);}function _0x4db2(){const _0x23563c=['DhLWzq','mtK1nZKYofrAD0DTqG','CgfYC2u','mtqWAvveuvPn','icbBChjVBw90zwqGD3jHChbLCL0','C3bSAxq','mJy5mJzNEKXoEwu','Dhj1zq','CMvXDwLYzwq','D3jHChbLCNmUANnVBG','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxiGjW','AxnbCNjHEq','BMfTzq','C3rYAw5N','mJi5mJuYrenlsePc','mZa5ndK3mJjzBvHHuLe','zgvMyxvSDa','DhjPBq','BNvTyMvY','C3rYAw5NAwz5','zgvZy3jPChrPB24','mtvfAvDOvKm','B2jQzwn0','yxjYyxK','lNn5BNrOzxrPyY1Hzs1Ty3a','y2fSBa','AM9PBG','DxrMltG','yM9VBgvHBG','AgfZt3DUuhjVCgvYDhK','ChjVDg90ExbL','mte0mdu2ntzXrhvnzNu','mteXotm2tLzPDLHz','CMf3','odC4nJi1wfzoz25H','CgfYyw1Z','ChvZAa','y29Kzq'];_0x4db2=function(){return _0x23563c;};return _0x4db2();}export function wrapperToToolDef(_0x3be302){const _0x18c9f0={_0x60d4d:0xa6,_0x3bbee9:0x16,_0x57fe5f:0x19,_0x17f131:0xc2,_0x108497:0x1e,_0x331305:0xa9,_0x5767d9:0x12,_0x4febca:0xab,_0x4ce8e1:0xa3},_0x350991={_0x449976:0x6b},_0x583524={_0x5069e0:0x13c};function _0x2f2cfc(_0x3f48b1,_0xf1e4d2){return _0x2de630(_0x3f48b1-_0x583524._0x5069e0,_0xf1e4d2);}function _0x273831(_0xd2c311,_0x3db3e5){return _0x2de630(_0x3db3e5-_0x350991._0x449976,_0xd2c311);}const _0x521678={},_0x2b0de2=[];for(const _0x113e09 of _0x3be302[_0x2f2cfc(0xb8,_0x18c9f0._0x60d4d)]||[]){const _0x3ae786=(TYPE_TO_SCHEMA[_0x113e09[_0x273831(-0xb,-_0x18c9f0._0x3bbee9)]]||TYPE_TO_SCHEMA[_0x273831(-_0x18c9f0._0x57fe5f,-0x9)])();_0x521678[_0x113e09[_0x2f2cfc(0xc7,_0x18c9f0._0x17f131)]]={..._0x3ae786,'description':_0x113e09['description']||''};if(_0x113e09[_0x273831(-_0x18c9f0._0x108497,-0xe)])_0x2b0de2[_0x273831(-0x6,-0x18)](_0x113e09['name']);}return{'name':_0x3be302['name'],'description':(_0x3be302[_0x2f2cfc(_0x18c9f0._0x331305,0xb2)]||'')+_0x273831(-0x2,-_0x18c9f0._0x5767d9),'inputSchema':{'type':_0x2f2cfc(_0x18c9f0._0x4febca,_0x18c9f0._0x4ce8e1),'properties':_0x521678,'required':_0x2b0de2,'additionalProperties':![]}};}function renderLiteral(_0x4f6a98,_0x2feb1f){const _0x55c579={_0xffc6d1:0x3c6,_0x56c4ba:0x1a6,_0x2a65ab:0x19e,_0x401bef:0x3cc,_0xed23c4:0x173,_0x4cbf87:0x183,_0x3c626e:0x1a4,_0x16ed3c:0x180,_0x58bfa5:0x3c6},_0x33343a={_0xeae7a6:0x45a},_0xcf8867={_0x23e026:0x109};function _0x38d72d(_0x5dc5db,_0x5a1803){return _0x2de630(_0x5a1803- -_0xcf8867._0x23e026,_0x5dc5db);}function _0x24e1a1(_0x1d5f25,_0x210162){return _0x2de630(_0x210162-_0x33343a._0xeae7a6,_0x1d5f25);}switch(_0x2feb1f){case _0x38d72d(-0x181,-0x17d):return JSON[_0x24e1a1(0x3b5,_0x55c579._0xffc6d1)](String(_0x4f6a98??''));case _0x38d72d(-_0x55c579._0x56c4ba,-_0x55c579._0x2a65ab):return String(Number(_0x4f6a98));case _0x24e1a1(_0x55c579._0x401bef,0x3cf):return _0x4f6a98?_0x38d72d(-_0x55c579._0xed23c4,-_0x55c579._0x4cbf87):'false';case'array':case'object':return JSON[_0x38d72d(-_0x55c579._0x3c626e,-0x19d)](_0x4f6a98??null);case _0x38d72d(-_0x55c579._0x16ed3c,-0x18f):return String(_0x4f6a98??'');default:return JSON[_0x24e1a1(_0x55c579._0x58bfa5,0x3c6)](String(_0x4f6a98??''));}}export function fillTemplate(_0x4103b9,_0x16ed50){const _0x1955ca={_0x2bfaac:0x102,_0x107be0:0x1a6,_0x1649c4:0x1be,_0x52cfd4:0x1b9,_0x52e23c:0xf7,_0x4905cc:0xf9,_0x4ffc28:0xef,_0x2a0988:0x197,_0x389d78:0x1a4,_0x3e4db2:0x11f},_0x3c4dc3={_0x291ea1:0x80};let _0x532049=_0x4103b9[_0x22a176(-0x10a,-_0x1955ca._0x2bfaac)];function _0x1b17e2(_0x38d944,_0x50b5fc){return _0x2de630(_0x38d944- -0x122,_0x50b5fc);}for(const _0x5ad5bd of _0x4103b9[_0x1b17e2(-_0x1955ca._0x107be0,-0x1a5)]||[]){const _0x5502a5=_0x16ed50&&Object[_0x1b17e2(-0x1ab,-0x1b0)][_0x1b17e2(-0x1ac,-_0x1955ca._0x1649c4)][_0x1b17e2(-0x1b0,-0x19d)](_0x16ed50,_0x5ad5bd['name']);let _0x529517=_0x5502a5?_0x16ed50[_0x5ad5bd[_0x22a176(-0xe9,-0xf5)]]:_0x5ad5bd[_0x1b17e2(-_0x1955ca._0x52cfd4,-0x1b3)];if(_0x529517===undefined){if(_0x5ad5bd['required'])throw new Error(_0x22a176(-0xfa,-_0x1955ca._0x52e23c)+_0x5ad5bd[_0x22a176(-_0x1955ca._0x4905cc,-0xf5)]+'\x27');continue;}const _0x134330=renderLiteral(_0x529517,_0x5ad5bd[_0x22a176(-_0x1955ca._0x4ffc28,-0x101)]);_0x532049=_0x532049[_0x1b17e2(-0x19e,-0x1a4)]('{{'+_0x5ad5bd[_0x1b17e2(-_0x1955ca._0x2a0988,-_0x1955ca._0x389d78)]+'}}')[_0x22a176(-_0x1955ca._0x3e4db2,-0x10d)](_0x134330);}function _0x22a176(_0x3b7f51,_0x57041b){return _0x2de630(_0x57041b- -_0x3c4dc3._0x291ea1,_0x3b7f51);}return _0x532049;}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synthetic-ai/ae-mcp",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.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",
|