@taazkareem/clickup-mcp-server
Version:
ClickUp MCP Server - Powering AI Agents with full ClickUp task, document, and chat management capabilities.
1 lines • 4.68 kB
JavaScript
const a0_0x2d1ea4=a0_0x50d4;(function(_0x3f6067,_0x500ab5){const _0x21192b=a0_0x50d4,_0x52f881=_0x3f6067();while(!![]){try{const _0x2d3b7f=-parseInt(_0x21192b(0xbe))/0x1*(parseInt(_0x21192b(0xbf))/0x2)+-parseInt(_0x21192b(0xe0))/0x3+-parseInt(_0x21192b(0xc5))/0x4+parseInt(_0x21192b(0xc9))/0x5+-parseInt(_0x21192b(0xbc))/0x6+-parseInt(_0x21192b(0xd8))/0x7+parseInt(_0x21192b(0xc0))/0x8*(parseInt(_0x21192b(0xc1))/0x9);if(_0x2d3b7f===_0x500ab5)break;else _0x52f881['push'](_0x52f881['shift']());}catch(_0x5898a4){_0x52f881['push'](_0x52f881['shift']());}}}(a0_0x33fc,0xde789));function a0_0x50d4(_0x312eec,_0x224071){_0x312eec=_0x312eec-0xba;const _0x33fc56=a0_0x33fc();let _0x50d434=_0x33fc56[_0x312eec];if(a0_0x50d4['nssxyw']===undefined){var _0x5b6d2a=function(_0x375706){const _0x117b8b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x20d121='',_0x1d9c04='';for(let _0x3d6ebe=0x0,_0x398918,_0x2ddc14,_0x40ecd4=0x0;_0x2ddc14=_0x375706['charAt'](_0x40ecd4++);~_0x2ddc14&&(_0x398918=_0x3d6ebe%0x4?_0x398918*0x40+_0x2ddc14:_0x2ddc14,_0x3d6ebe++%0x4)?_0x20d121+=String['fromCharCode'](0xff&_0x398918>>(-0x2*_0x3d6ebe&0x6)):0x0){_0x2ddc14=_0x117b8b['indexOf'](_0x2ddc14);}for(let _0x14eb62=0x0,_0x530cf8=_0x20d121['length'];_0x14eb62<_0x530cf8;_0x14eb62++){_0x1d9c04+='%'+('00'+_0x20d121['charCodeAt'](_0x14eb62)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1d9c04);};a0_0x50d4['HqrYuL']=_0x5b6d2a,a0_0x50d4['QcxwZo']={},a0_0x50d4['nssxyw']=!![];}const _0x48d76e=_0x33fc56[0x0],_0x27ef10=_0x312eec+_0x48d76e,_0x38bf78=a0_0x50d4['QcxwZo'][_0x27ef10];return!_0x38bf78?(_0x50d434=a0_0x50d4['HqrYuL'](_0x50d434),a0_0x50d4['QcxwZo'][_0x27ef10]=_0x50d434):_0x50d434=_0x38bf78,_0x50d434;}import{Logger}from'../logger.js';function a0_0x33fc(){const _0x4d3d08=['rxjYB3i','DxrPBMC','z2v0','BNvTyMu','C3rPBMC','mtG4mdy0svjHzvLb','Dg9VBhm','vg9VBfi','A2v5CW','z2v0vg8','z2H2r20','nJK0ody5nKPHvwLKEa','t3zLCNC','nNrPAMPIDq','nta5mJKWyvbJCfr6','mtznA1zMwMG','mtKYotaWodDZCLLmuuy','AgfUzgW','Bg9Nz2u','C2v0','ntqXndG1nLfptu9pyG','zxHLy3u','zgvIDwC','y29Kzq','nJu4ndC0mfLSAgreua','zcbUB3q','BMrSzxi','z2v0sge','AgfZvg8','zYbLEgK','AgfZ','DgvuB28','t0DQAuu','zxjYB3i','BwvZC2e','DgvY','ihrVB2W','Aw9Uigy','B3i6ia','ndeZmdaZnwHArujAEq','CMvNAxm','twv0Ag8'];a0_0x33fc=function(){return _0x4d3d08;};return a0_0x33fc();}export class ToolRegistry{constructor(){const _0x18a521=a0_0x50d4;this[_0x18a521(0xe1)]=new Map(),this[_0x18a521(0xc3)+'r']=new Logger(_0x18a521(0xe2)+'egist'+'ry');}[a0_0x2d1ea4(0xd9)+a0_0x2d1ea4(0xd4)](_0x5781e9,_0x49b16e){const _0x3f478f=a0_0x2d1ea4;this[_0x3f478f(0xe1)][_0x3f478f(0xcf)](_0x5781e9)&&this[_0x3f478f(0xc3)+'r']['warn'](_0x3f478f(0xbd)+'ritin'+_0x3f478f(0xce)+_0x3f478f(0xdf)+'\x20tool'+'\x20regi'+'strat'+_0x3f478f(0xd6)+_0x3f478f(0xd7)+_0x5781e9),this['tools'][_0x3f478f(0xc4)](_0x5781e9,{'name':_0x5781e9,'handler':_0x49b16e}),this[_0x3f478f(0xc3)+'r'][_0x3f478f(0xc7)]('Regis'+'tered'+_0x3f478f(0xd5)+':\x20'+_0x5781e9);}[a0_0x2d1ea4(0xcc)+a0_0x2d1ea4(0xcb)](_0x5708d7){const _0x2f1860=a0_0x2d1ea4;return this[_0x2f1860(0xe1)][_0x2f1860(0xdd)](_0x5708d7)?.[_0x2f1860(0xc2)+'er'];}async[a0_0x2d1ea4(0xc6)+a0_0x2d1ea4(0xd0)+'l'](_0x399eec,_0x41656c,_0xb1b05f){const _0x46dd95=a0_0x2d1ea4,_0x5550a4={'Nzkmh':function(_0x20f800,_0xe99abf){return _0x20f800(_0xe99abf);},'andKR':function(_0x5225ac,_0x32e14e){return _0x5225ac instanceof _0x32e14e;},'OGjiE':function(_0x122f8c,_0x4bd7dc){return _0x122f8c===_0x4bd7dc;},'ghvGm':function(_0x5fe434,_0x42ebb6){return _0x5fe434(_0x42ebb6);}},_0x3bae68=this[_0x46dd95(0xe1)][_0x46dd95(0xdd)](_0x399eec);if(!_0x3bae68)throw{'code':-0x7f59,'message':_0x46dd95(0xda)+_0x46dd95(0xca)+'\x20foun'+'d:\x20'+_0x399eec};try{return await _0x3bae68[_0x46dd95(0xc2)+'er'](_0x41656c,_0xb1b05f);}catch(_0x2060ac){this[_0x46dd95(0xc3)+'r'][_0x46dd95(0xd2)](_0x46dd95(0xdb)+'\x20exec'+_0x46dd95(0xdc)+_0x46dd95(0xd5)+':\x20'+_0x399eec,{'error':_0x2060ac instanceof Error?_0x2060ac[_0x46dd95(0xd3)+'ge']:_0x5550a4['Nzkmh'](String,_0x2060ac),'stack':_0x5550a4['andKR'](_0x2060ac,Error)?_0x2060ac['stack']:undefined});if(_0x2060ac[_0x46dd95(0xc8)]&&_0x5550a4[_0x46dd95(0xd1)](typeof _0x2060ac[_0x46dd95(0xc8)],_0x46dd95(0xde)+'r'))throw _0x2060ac;throw{'code':-0x7d00,'message':_0x46dd95(0xdb)+'\x20exec'+_0x46dd95(0xdc)+_0x46dd95(0xd5)+'\x20'+_0x399eec+':\x20'+(_0x2060ac[_0x46dd95(0xd3)+'ge']||_0x5550a4[_0x46dd95(0xbb)](String,_0x2060ac))};}}[a0_0x2d1ea4(0xcd)+'ol'](_0x338246){const _0x1d2a2a=a0_0x2d1ea4;return this[_0x1d2a2a(0xe1)][_0x1d2a2a(0xcf)](_0x338246);}[a0_0x2d1ea4(0xba)+'olNam'+'es'](){const _0x3fd752=a0_0x2d1ea4;return Array['from'](this[_0x3fd752(0xe1)][_0x3fd752(0xe3)]());}}