@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/store.mjs CHANGED
@@ -1 +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;}
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.2.0",
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",