@myagent/my-agent 0.5.0 → 0.6.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.
@@ -0,0 +1 @@
1
+ const _0x3e7faff3_0x59cce8=_0x3e7faff3_0x1f1a,_0x3e7faff3_0xc4312a=_0x3e7faff3_0x1f1a;(function(_0x4c1e8d,_0xcc295b){const _0x3e7faff3_0x5e1fd8={_0x41b2fa:0x13a,_0x47aea1:0x17c,_0x3d9547:0x113,_0x1705da:0x134,_0x1e4a9f:0x148,_0x42da12:0x127},_0x58a276=_0x3e7faff3_0x1f1a,_0x3b8900=_0x3e7faff3_0x1f1a,_0x5c4a60=_0x4c1e8d();while(!![]){try{const _0x53205d=-parseInt(_0x58a276(0x124))/(0x31a+0x2495+0x27ae*-0x1)+-parseInt(_0x3b8900(_0x3e7faff3_0x5e1fd8._0x41b2fa))/(-0x1*0xb1c+0x2*0xb26+-0xb2e)*(-parseInt(_0x58a276(_0x3e7faff3_0x5e1fd8._0x47aea1))/(-0xe01+0x8a*0x18+0x114))+parseInt(_0x3b8900(_0x3e7faff3_0x5e1fd8._0x3d9547))/(-0x168a+0xdb*0xa+-0x40*-0x38)+parseInt(_0x58a276(_0x3e7faff3_0x5e1fd8._0x1705da))/(0x28f*0x9+-0x26af+-0x1*-0xfad)+parseInt(_0x58a276(0x103))/(-0x1c8*-0x4+-0x25bf+-0xf*-0x20b)*(parseInt(_0x58a276(0x126))/(-0x1577+-0x1a06+0x2f84))+parseInt(_0x58a276(_0x3e7faff3_0x5e1fd8._0x1e4a9f))/(0x221c+-0x1486+0xa*-0x15b)*(-parseInt(_0x58a276(_0x3e7faff3_0x5e1fd8._0x42da12))/(-0x1*0x3af+0x2*0xed9+-0x19fa))+-parseInt(_0x58a276(0x14d))/(0x1d23*0x1+0x1ca*0x1+-0x1ee3*0x1);if(_0x53205d===_0xcc295b)break;else _0x5c4a60['push'](_0x5c4a60['shift']());}catch(_0x1dcbc9){_0x5c4a60['push'](_0x5c4a60['shift']());}}}(_0x3e7faff3_0x2371,0x5332d+0x12bcad*0x1+0x6*-0x1cff3));const _0x3e7faff3_0x426d6f=(function(){const _0x3e7faff3_0x2fef2b={_0x5aa555:0x163,_0x4c08f2:0x141,_0x4ecfc9:0x12e,_0x4795a9:0x176,_0x825984:0x15e},_0x3e7faff3_0x520bbe={_0x240045:0x108,_0xb68dd6:0x163,_0x25f96e:0x118},_0x3326b5=_0x3e7faff3_0x1f1a,_0x5b7424=_0x3e7faff3_0x1f1a,_0x2ea195={'zxjNQ':function(_0x3418b2,_0x2fa801){return _0x3418b2(_0x2fa801);},'RZBgl':function(_0x393f8a,_0x21bde8){return _0x393f8a in _0x21bde8;},'xDxOS':_0x3326b5(_0x3e7faff3_0x2fef2b._0x5aa555),'lZfoo':_0x3326b5(0x10f)+'enerate'+_0x5b7424(0xfa)+_0x3326b5(0x10d)+_0x5b7424(0x12f)+_0x5b7424(0x162)+_0x5b7424(0x140)+'ware\x20to'+'ol','xSmua':function(_0x22aaee,_0x1d9a75){return _0x22aaee in _0x1d9a75;},'yLyhv':_0x3326b5(_0x3e7faff3_0x2fef2b._0x4c08f2),'gwalz':_0x5b7424(_0x3e7faff3_0x2fef2b._0x4ecfc9)+_0x5b7424(_0x3e7faff3_0x2fef2b._0x4795a9)+'ema\x20can'+_0x3326b5(0x16e)+_0x3326b5(0x102)+_0x3326b5(_0x3e7faff3_0x2fef2b._0x825984)+_0x5b7424(0x123)+_0x3326b5(0x10e),'rbUjt':function(_0x181ed6,_0x262e5b){return _0x181ed6!==_0x262e5b;},'cWQgh':_0x5b7424(0x157),'unvaL':'aljZz','UtKoL':function(_0x340e25,_0x509350){return _0x340e25!==_0x509350;},'wfLAM':_0x3326b5(0x137)};let _0x1f101d=!![];return function(_0x1b2023,_0x4408f0){const _0x3e7faff3_0x35eeb0={_0x1a3782:0x178,_0x5741b1:0x133,_0xdddb44:0x10a,_0x5c4753:0x154},_0x13b0e2=_0x5b7424,_0x27e425=_0x3326b5;if(_0x2ea195['UtKoL'](_0x2ea195[_0x13b0e2(0x15d)],'gbtjl')){if(!_0x2ea195[_0x27e425(0x11e)](_0x2c043f,_0x220d2c)||!_0x2ea195[_0x27e425(0x170)](_0x2ea195['xDxOS'],_0x1f8d82))throw new _0x339039(_0x2ea195[_0x13b0e2(_0x3e7faff3_0x520bbe._0x240045)]);const _0x3bc804=_0x137bfc[_0x27e425(_0x3e7faff3_0x520bbe._0xb68dd6)];if(_0x2ea195[_0x27e425(0x11e)](_0x4f37da,_0x3bc804)&&!_0x2ea195[_0x13b0e2(_0x3e7faff3_0x520bbe._0x25f96e)](_0x2ea195[_0x13b0e2(0x15c)],_0x3bc804))return _0x3bc804;try{return _0x4f7c66[_0x13b0e2(0x110)+_0x27e425(0x104)](_0x3bc804);}catch{throw new _0x3d4894(_0x2ea195[_0x13b0e2(0xfd)]);}}else{const _0x1f6720=_0x1f101d?function(){const _0x5cf638=_0x27e425,_0x406a6e=_0x27e425,_0x51ee47={'ZPHKT':_0x2ea195[_0x5cf638(0xfd)]};if(_0x4408f0){if(_0x2ea195[_0x5cf638(_0x3e7faff3_0x35eeb0._0x1a3782)](_0x2ea195[_0x5cf638(_0x3e7faff3_0x35eeb0._0x5741b1)],_0x2ea195['unvaL'])){const _0x18b92e=_0x4408f0[_0x406a6e(_0x3e7faff3_0x35eeb0._0xdddb44)](_0x1b2023,arguments);return _0x4408f0=null,_0x18b92e;}else throw new _0x55733b(_0x51ee47[_0x5cf638(_0x3e7faff3_0x35eeb0._0x5c4753)]);}}:function(){};return _0x1f101d=![],_0x1f6720;}};}()),_0x3e7faff3_0x3b07e5=_0x3e7faff3_0x426d6f(this,function(){const _0x3e7faff3_0x331536={_0x5518a1:0xff,_0x1f5384:0x12d,_0x117e2f:0x167,_0x4da0f3:0x177,_0x176967:0x147},_0x497c87=_0x3e7faff3_0x1f1a,_0x38dc0f=_0x3e7faff3_0x1f1a,_0x55ae1e={'JbFvR':_0x497c87(_0x3e7faff3_0x331536._0x5518a1)+_0x497c87(_0x3e7faff3_0x331536._0x1f5384)};return _0x3e7faff3_0x3b07e5[_0x497c87(0x11f)+'g']()[_0x38dc0f(_0x3e7faff3_0x331536._0x117e2f)](_0x55ae1e[_0x38dc0f(0x147)])[_0x38dc0f(0x11f)+'g']()[_0x497c87(0x171)+_0x497c87(_0x3e7faff3_0x331536._0x4da0f3)](_0x3e7faff3_0x3b07e5)[_0x497c87(0x167)](_0x55ae1e[_0x497c87(_0x3e7faff3_0x331536._0x176967)]);});_0x3e7faff3_0x3b07e5();import{ToolNode}from'@langchain/langgraph/prebuilt';import{z}from'zod/v4';import{ValueResolver,WorkflowNode}from'../base.js';function _0x3e7faff3_0x2371(){const _0x484d74=['zw1H','qwDLBNqTzW','Dg9ku09ouW','DdOG','BwX5Ee0','mJmXnJG4C0f1sMf5','svL1Aee','EMvKihDVCG','AM9PBG','ihzHCMLHyG','EfnTDwe','Dg9VBhm','zsbMywn0CW','BNrZ','q3vYCMvUDa','zgvMyxvSDa','ENHQtLe','Dg9tDhjPBG','rg8GBM90ia','BM9YBwfSAq','BgvZoIa','u09oifnJAa','mtaZoti3mwLPAuznEG','y2HLBweU','n0XsAuTpqW','odfPvvD3wvy','C3rYAw5NAq','zw50CYbMBW','C0nPvMW','B29tveO','C291CMnL','ksSPkYq','vg9VBcbPBG','DhmGCMvXDq','D2L0Aa','igfUzcb0Aa','Dhj1y3r1CG','y1Drz2G','nJa1nJCXmhrTzuTWzG','zNjVBuPttW','DhmGyxjLia','z2j0AMW','rMH5AhC','D29YA2zSBW','mJztq1nIuxG','CMvZDwX0','zsbHCMD1Bq','CgfYC2u','ihrVB2WGyq','tMDlDeS','y2HLBweTyq','x3PVza','yKDnqNG','zw1HignHBG','CMvZB2X2zq','ihrVB2WSia','Esb0AguGyW','sMjgDLi','ntqYmZjzu3njqKm','y3jLyxrL','ChDWzhm','Dgv4Da','Aw5WDxq','nZeWotq5mhnLwxrVwq','u3rLCcbNDq','DvrsExO','igLUChv0oG','Aw5WDxqGCW','CeTIzxm','ywDLBNq','wLbis1q','EhLtu1a','DMfYCW','wMPcCwq','B29Sihn0zq','A2zSB3CGDa','zufYz3vTzq','Bw9KzwW','EuX5Ahy','D2zmqu0','zwqGDg8GsG','vw5RBM93BG','AxnbCNjHEq','CMD1BwvUDa','AxjLigeGCW','C2nOzw1H','CIbLEgfJDa','zw5LCMf0zq','uhjLDMLVDq','C2vHCMnO','DgfUzgfYza','qMvnveK','BhKGB25Lia','B2jQzwn0','ig9YigLUDG','y3jLyxrLuW','BM90igjLia','Aw52B2TLuW','uLPcz2W','y29UC3rYDq','BM90igfUia','vxnLig9UBa','y29UzMLN','C3rHDgu','Chv0ihnJAa','y3rVCG','CMjvANq','Dg9VBa','ChjVBxb0','AgfZ','mtaWotKYwhfcsxbR','z2vUzxjHDa','Aw52B2TL','ChjVy2vZCW','u3rLCdOG','zsbZDgvWla','Bw9KzwXZ','zgLZCgXHEq','zcb0B29Sia','vg9VBe5Vza','DhLWzq','z3DHBhO','s3rWwuK','kcGOlISPkW','yw5VDgHLCG','EK1gDgS','y29UDMvYDa','ntC2mJyZng5rD0Pmta','y2HLBwe','DYbZDgf0zq','D2fYzsb0BW','De1Vzgu','BfPMB28','CMvXDwLYzq','yxbWBhK','y2HVB3nLia','DMfPBgfIBa','yxjNDw1LBG'];_0x3e7faff3_0x2371=function(){return _0x484d74;};return _0x3e7faff3_0x2371();}function _0x3e7faff3_0x1f1a(_0x310f84,_0x4ea644){const _0x35a7e1=_0x3e7faff3_0x2371();return _0x3e7faff3_0x1f1a=function(_0x35889e,_0x4d7144){_0x35889e=_0x35889e-(0x1*0x1315+-0x195*-0x1+-0x13b1);let _0x4d5ea0=_0x35a7e1[_0x35889e];if(_0x3e7faff3_0x1f1a['EGCDVf']===undefined){var _0x4ce280=function(_0x1eb2c1){const _0x1b040e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x51a062='',_0x5c7ade='',_0xa37fc0=_0x51a062+_0x4ce280;for(let _0x1b7ccc=-0x55d*0x6+0x1183*0x1+-0x1*-0xeab,_0xc571cc,_0x3af2e0,_0x56968e=-0x20e0+-0x9*0x315+0x3c9d;_0x3af2e0=_0x1eb2c1['charAt'](_0x56968e++);~_0x3af2e0&&(_0xc571cc=_0x1b7ccc%(0x462+0x1*0x17ef+-0x69*0x45)?_0xc571cc*(0xfc8+0x5*0x773+-0x34c7)+_0x3af2e0:_0x3af2e0,_0x1b7ccc++%(-0x163e+-0x1*-0x1ff6+-0x2*0x4da))?_0x51a062+=_0xa37fc0['charCodeAt'](_0x56968e+(-0x20d*0x1+-0x1*0x1459+0x167*0x10))-(-0x1*-0xe44+-0x15b*0x2+-0xb84)!==-0x6*-0x2b3+0x1fb5*0x1+-0x2fe7*0x1?String['fromCharCode'](-0x1*0x1845+0xb*0x266+-0x11e&_0xc571cc>>(-(-0x19c6+-0xbc3*0x2+0x1*0x314e)*_0x1b7ccc&0x2*-0xbd+0x1b61+0x1*-0x19e1)):_0x1b7ccc:0x1a92+-0xce8+0xdaa*-0x1){_0x3af2e0=_0x1b040e['indexOf'](_0x3af2e0);}for(let _0x3fbb00=-0x56*-0x45+0x1314+-0x2a42,_0x141eca=_0x51a062['length'];_0x3fbb00<_0x141eca;_0x3fbb00++){_0x5c7ade+='%'+('00'+_0x51a062['charCodeAt'](_0x3fbb00)['toString'](0x1957+0x3*0xa82+-0x38cd))['slice'](-(-0x955*0x4+0x178*-0x9+0x86d*0x6));}return decodeURIComponent(_0x5c7ade);};_0x3e7faff3_0x1f1a['gvnepQ']=_0x4ce280,_0x310f84=arguments,_0x3e7faff3_0x1f1a['EGCDVf']=!![];}const _0x211a8b=_0x35a7e1[0x475*0x2+0xb24+-0x140e],_0x2d1d08=_0x35889e+_0x211a8b,_0x549cbd=_0x310f84[_0x2d1d08];if(!_0x549cbd){const _0x123253=function(_0x2e46b1){this['LObKqI']=_0x2e46b1,this['EzwiLa']=[0x29*0x6c+-0x245a+0x130f,0xa66+0x257+-0xcbd,-0x1c82+0x1e28+-0xd3*0x2],this['MdFGNe']=function(){return'newState';},this['iboVrI']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['QRRliU']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x123253['prototype']['KCsQUx']=function(){const _0x2bab1c=new RegExp(this['iboVrI']+this['QRRliU']),_0x117b7b=_0x2bab1c['test'](this['MdFGNe']['toString']())?--this['EzwiLa'][0x2a5+-0xe38+0xb94]:--this['EzwiLa'][-0x1897+0xcdd*0x3+-0xe00];return this['LNTlSQ'](_0x117b7b);},_0x123253['prototype']['LNTlSQ']=function(_0x47ddc3){if(!Boolean(~_0x47ddc3))return _0x47ddc3;return this['rCyaIi'](this['LObKqI']);},_0x123253['prototype']['rCyaIi']=function(_0x4e7a74){for(let _0x3c139d=-0x53*-0x47+-0x1c1e+0x519,_0x8c8845=this['EzwiLa']['length'];_0x3c139d<_0x8c8845;_0x3c139d++){this['EzwiLa']['push'](Math['round'](Math['random']())),_0x8c8845=this['EzwiLa']['length'];}return _0x4e7a74(this['EzwiLa'][-0x1827+-0x1614+0x2e3b]);},new _0x123253(_0x3e7faff3_0x1f1a)['KCsQUx'](),_0x4d5ea0=_0x3e7faff3_0x1f1a['gvnepQ'](_0x4d5ea0),_0x310f84[_0x2d1d08]=_0x4d5ea0;}else _0x4d5ea0=_0x549cbd;return _0x4d5ea0;},_0x3e7faff3_0x1f1a(_0x310f84,_0x4ea644);}class ToolExecutionNode extends WorkflowNode{[_0x3e7faff3_0x59cce8(0x179)];[_0x3e7faff3_0xc4312a(0x15b)];constructor(_0x4d6cab,_0x504ac5,_0x4cd542){const _0x3e7faff3_0x3fd600={_0x5b6c69:0x179},_0x21c352=_0x3e7faff3_0x59cce8,_0x1028b8=_0x3e7faff3_0xc4312a;super(_0x4d6cab),this[_0x21c352(_0x3e7faff3_0x3fd600._0x5b6c69)]=_0x504ac5,this[_0x21c352(0x15b)]=_0x4cd542;}async[_0x3e7faff3_0x59cce8(0x17f)](_0x54cdea,_0x4ef3c4){const _0x3e7faff3_0x362a25={_0x25695f:0x130,_0x2c013f:0x12c,_0x4992e4:0x14c,_0x3217ba:0x15b,_0x24d31e:0x179},_0x30d960=_0x3e7faff3_0x59cce8,_0x5d51f0=_0x3e7faff3_0x59cce8,_0x358092=ValueResolver[_0x30d960(0x14b)](this[_0x30d960(0x174)][_0x30d960(_0x3e7faff3_0x362a25._0x25695f)][_0x5d51f0(_0x3e7faff3_0x362a25._0x2c013f)],_0x30d960(_0x3e7faff3_0x362a25._0x4992e4)),_0x2b63d0=this[_0x30d960(_0x3e7faff3_0x362a25._0x3217ba)]?await this[_0x30d960(0x17d)+_0x30d960(0x15a)+_0x30d960(0x11b)](_0x54cdea,_0x4ef3c4):ValueResolver[_0x30d960(0x144)](_0x54cdea,_0x358092);return{'result':await this[_0x5d51f0(_0x3e7faff3_0x362a25._0x24d31e)][_0x30d960(0x17e)](_0x2b63d0,_0x4ef3c4)};}async[_0x3e7faff3_0x59cce8(0x17d)+_0x3e7faff3_0xc4312a(0x15a)+_0x3e7faff3_0xc4312a(0x11b)](_0xcfe31f,_0x388e9e){const _0x3e7faff3_0x6d560d={_0x1b771e:0x139,_0x6fdb48:0x105,_0x364dd6:0x151,_0x4c8a69:0x125,_0x2fd117:0x10b,_0x68f863:0x100,_0x1fe5f6:0x145,_0x535697:0x11a,_0x6b5c13:0x155,_0x2c96f4:0x15b,_0x2346ed:0x16f,_0x430ae8:0x164,_0x14caf4:0x115,_0x3028f1:0x12b,_0x284973:0x11c,_0x35adcd:0x128,_0x1c2ed4:0x117,_0x53c1f0:0x111,_0xf78c14:0x13b,_0x4cbfec:0x10f,_0x5f6c51:0xfa,_0x1f7202:0x10d,_0x545cc6:0x136,_0x328149:0x172,_0x15cc13:0x174},_0x33dcdc=_0x3e7faff3_0xc4312a,_0x83e190=_0x3e7faff3_0x59cce8,_0x2939d1={'xySSP':function(_0x232b88,_0x535ddf){return _0x232b88(_0x535ddf);},'KtpYI':_0x33dcdc(0x173)+_0x33dcdc(0x146)+'urrent\x20'+_0x83e190(_0x3e7faff3_0x6d560d._0x1b771e)+_0x83e190(_0x3e7faff3_0x6d560d._0x6fdb48)+_0x83e190(0x131)+'e\x20tool\x20'+_0x33dcdc(_0x3e7faff3_0x6d560d._0x364dd6)+_0x83e190(_0x3e7faff3_0x6d560d._0x4c8a69),'ooSTJ':_0x33dcdc(0x120)+_0x83e190(_0x3e7faff3_0x6d560d._0x2fd117)+_0x83e190(_0x3e7faff3_0x6d560d._0x68f863)+_0x33dcdc(_0x3e7faff3_0x6d560d._0x1fe5f6)+'skip\x20th'+_0x83e190(0x181)+_0x83e190(0x16c)+'ent\x20una'+_0x33dcdc(0x10c)+_0x83e190(_0x3e7faff3_0x6d560d._0x535697)+'.'},_0x30c7f7=_0x2939d1[_0x83e190(_0x3e7faff3_0x6d560d._0x6b5c13)](toolInputSchema,this[_0x83e190(0x179)]),_0x24fadb=await this[_0x33dcdc(_0x3e7faff3_0x6d560d._0x2c96f4)][_0x33dcdc(_0x3e7faff3_0x6d560d._0x2346ed)+_0x33dcdc(0x132)+'ed'](['Generat'+_0x33dcdc(0x13c)+_0x83e190(0x129)+_0x83e190(_0x3e7faff3_0x6d560d._0x430ae8)+_0x83e190(0x16a)+_0x33dcdc(0x121)+_0x33dcdc(_0x3e7faff3_0x6d560d._0x14caf4)+_0x83e190(0x159)+_0x33dcdc(0x158)+'p.',_0x2939d1[_0x33dcdc(0xfe)],_0x2939d1[_0x33dcdc(_0x3e7faff3_0x6d560d._0x3028f1)],_0x83e190(0x180)+this[_0x83e190(0x174)]['id'],_0x33dcdc(0x14e)+'idance:'+'\x20'+ValueResolver[_0x33dcdc(0xf9)](this['config']['with'][_0x33dcdc(0x17a)]),_0x33dcdc(_0x3e7faff3_0x6d560d._0x284973)+_0x33dcdc(0x150)+'\x20'+JSON[_0x83e190(_0x3e7faff3_0x6d560d._0x35adcd)+'fy'](_0xcfe31f[_0x83e190(0x14c)]),'Current'+_0x33dcdc(_0x3e7faff3_0x6d560d._0x1c2ed4)+_0x33dcdc(0x122)+JSON[_0x33dcdc(0x128)+'fy'](_0xcfe31f[_0x83e190(0x156)]),_0x83e190(0x166)+'s\x20resul'+_0x33dcdc(_0x3e7faff3_0x6d560d._0x53c1f0)+JSON[_0x33dcdc(0x128)+'fy'](_0xcfe31f[_0x33dcdc(_0x3e7faff3_0x6d560d._0xf78c14)])][_0x33dcdc(0x116)]('\x0a'),_0x30c7f7,_0x388e9e),_0x1bf1c6=z[_0x83e190(0x135)+'NSchema'](_0x30c7f7)[_0x83e190(0x13d)](_0x24fadb);if(!_0x2939d1[_0x83e190(0x155)](isRecord,_0x1bf1c6))throw new Error(_0x33dcdc(_0x3e7faff3_0x6d560d._0x4cbfec)+_0x33dcdc(0x165)+_0x83e190(_0x3e7faff3_0x6d560d._0x5f6c51)+_0x83e190(_0x3e7faff3_0x6d560d._0x1f7202)+_0x83e190(_0x3e7faff3_0x6d560d._0x545cc6)+_0x83e190(_0x3e7faff3_0x6d560d._0x328149)+'object:'+'\x20'+this[_0x33dcdc(_0x3e7faff3_0x6d560d._0x15cc13)]['id']);return _0x1bf1c6;}}export class ToolExecutionNodeFactory{[_0x3e7faff3_0x59cce8(0xfc)];constructor(_0x3d2b07=_0x3e7faff3_0xc4312a(0x179)){const _0x34f801=_0x3e7faff3_0x59cce8;this[_0x34f801(0xfc)]=_0x3d2b07;}[_0x3e7faff3_0xc4312a(0x149)](_0x161fdc,_0xa0ed88){const _0x3e7faff3_0x27019f={_0x3e99a4:0x119,_0x24ddf3:0x182,_0x9299ec:0x11d,_0x41b470:0x179,_0x474715:0x175,_0x2ecb56:0x17b,_0x13e4d7:0x13e,_0x5e10e9:0x161,_0x241ee2:0x109,_0x400fb4:0x14a},_0x5739b7=_0x3e7faff3_0x59cce8,_0x3bd1f6=_0x3e7faff3_0xc4312a,_0x1fc824={'bGMBx':function(_0x59d817,_0x41c388){return _0x59d817(_0x41c388);},'pKbes':_0x5739b7(_0x3e7faff3_0x27019f._0x3e99a4),'wBvUD':function(_0x288514,_0x158ae0){return _0x288514===_0x158ae0;},'Fhyhw':_0x5739b7(0x153),'pwpds':_0x5739b7(_0x3e7faff3_0x27019f._0x24ddf3),'mlyxM':_0x3bd1f6(_0x3e7faff3_0x27019f._0x9299ec)},_0x5da054=_0x1fc824[_0x5739b7(0x142)](String,_0x161fdc[_0x3bd1f6(0x130)][_0x5739b7(_0x3e7faff3_0x27019f._0x41b470)]),_0x25353a=ValueResolver[_0x3bd1f6(0x14b)](_0x161fdc['with'][_0x3bd1f6(0x10d)+_0x5739b7(0x107)],_0x5739b7(_0x3e7faff3_0x27019f._0x474715));if(!new Set([_0x3bd1f6(_0x3e7faff3_0x27019f._0x474715),'agent'])[_0x3bd1f6(_0x3e7faff3_0x27019f._0x2ecb56)](_0x25353a))throw new Error(_0x3bd1f6(0x15f)+_0x3bd1f6(_0x3e7faff3_0x27019f._0x13e4d7)+_0x3bd1f6(_0x3e7faff3_0x27019f._0x5e10e9)+'Mode:\x20'+_0x25353a);const _0x586f37=new ToolExecutionNode(_0x161fdc,_0xa0ed88[_0x3bd1f6(_0x3e7faff3_0x27019f._0x241ee2)](_0x1fc824[_0x5739b7(0x152)],_0x5da054),_0x1fc824['wBvUD'](_0x25353a,_0x1fc824[_0x5739b7(0x138)])?_0xa0ed88[_0x3bd1f6(_0x3e7faff3_0x27019f._0x241ee2)](_0x1fc824[_0x5739b7(_0x3e7faff3_0x27019f._0x400fb4)],ValueResolver['text'](_0x161fdc['with'][_0x3bd1f6(0x15b)],_0x1fc824[_0x3bd1f6(0x112)])):undefined);return(_0x212381,_0x18102b)=>_0x586f37[_0x5739b7(0x17e)](_0x212381,_0x18102b);}[_0x3e7faff3_0x59cce8(0x16d)+_0x3e7faff3_0x59cce8(0x168)+_0x3e7faff3_0xc4312a(0xfb)+'e'](_0x2c0700){return new ToolNode(_0x2c0700);}}export function toolInputSchema(_0x5900cb){const _0x3e7faff3_0x269412={_0x446e8a:0x10f,_0x5ad95f:0x165,_0x549495:0x10d,_0x13b0d7:0x162,_0x1f8641:0x176,_0x390a78:0x143,_0x4ed38c:0x123,_0x4252ae:0x14f,_0x33e450:0x114,_0x22bc34:0x163,_0x60ec94:0x169},_0x4565a5=_0x3e7faff3_0xc4312a,_0x116cc5=_0x3e7faff3_0x59cce8,_0x3d3df9={'uTRyz':function(_0x43ceb2,_0x1a748b){return _0x43ceb2(_0x1a748b);},'zMFtk':function(_0xf2dec2,_0x4680ba){return _0xf2dec2 in _0x4680ba;},'IYuhA':_0x4565a5(0x163),'sCiVl':_0x116cc5(_0x3e7faff3_0x269412._0x446e8a)+_0x116cc5(_0x3e7faff3_0x269412._0x5ad95f)+'d\x20tool\x20'+_0x116cc5(_0x3e7faff3_0x269412._0x549495)+_0x4565a5(0x12f)+_0x116cc5(_0x3e7faff3_0x269412._0x13b0d7)+'chema-a'+_0x4565a5(0x106)+'ol','caFHN':_0x116cc5(0x141),'BeMTI':_0x4565a5(0x12e)+_0x4565a5(_0x3e7faff3_0x269412._0x1f8641)+_0x116cc5(_0x3e7faff3_0x269412._0x390a78)+_0x4565a5(0x16e)+_0x116cc5(0x102)+_0x116cc5(0x15e)+_0x116cc5(_0x3e7faff3_0x269412._0x4ed38c)+_0x4565a5(0x10e)};if(!_0x3d3df9[_0x4565a5(_0x3e7faff3_0x269412._0x4252ae)](isRecord,_0x5900cb)||!_0x3d3df9[_0x116cc5(0x101)](_0x3d3df9[_0x4565a5(_0x3e7faff3_0x269412._0x33e450)],_0x5900cb))throw new Error(_0x3d3df9[_0x4565a5(0x12a)]);const _0x409573=_0x5900cb[_0x4565a5(_0x3e7faff3_0x269412._0x22bc34)];if(isRecord(_0x409573)&&!(_0x3d3df9['caFHN']in _0x409573))return _0x409573;try{return z[_0x4565a5(0x110)+_0x4565a5(0x104)](_0x409573);}catch{throw new Error(_0x3d3df9[_0x4565a5(_0x3e7faff3_0x269412._0x60ec94)]);}}function isRecord(_0x56614e){const _0x3e7faff3_0x4f2826={_0x531152:0x16b,_0x508809:0x160},_0x42d12f=_0x3e7faff3_0x59cce8,_0x150a69=_0x3e7faff3_0x59cce8,_0x5ad5f9={'NgKtK':function(_0x2f580c,_0x49f81b){return _0x2f580c===_0x49f81b;}};return _0x5ad5f9[_0x42d12f(0x13f)](typeof _0x56614e,_0x150a69(_0x3e7faff3_0x4f2826._0x531152))&&_0x56614e!==null&&!Array[_0x42d12f(_0x3e7faff3_0x4f2826._0x508809)](_0x56614e);}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagent/my-agent",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "MyAgent CLI for compiling and running Skill-backed verified workflows",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1 +0,0 @@
1
- function _0xcb084fa6_0x3fc8(_0x36d475,_0xe2cae6){const _0x5d1a17=_0xcb084fa6_0x5832();return _0xcb084fa6_0x3fc8=function(_0x4d5755,_0x3defd6){_0x4d5755=_0x4d5755-(0x755+-0x25f3+0x201d*0x1);let _0x55c8c0=_0x5d1a17[_0x4d5755];if(_0xcb084fa6_0x3fc8['LnFzSS']===undefined){var _0xf0d6a3=function(_0x5a6d97){const _0x3f9296='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5e22dd='',_0xc29eed='',_0x40c5c4=_0x5e22dd+_0xf0d6a3;for(let _0x21c048=-0x2*-0x698+-0x1*0x150d+-0x3*-0x29f,_0x48e1bf,_0x2bdab6,_0x52271d=0x154*0xb+0x9a9*-0x1+0x7*-0xb5;_0x2bdab6=_0x5a6d97['charAt'](_0x52271d++);~_0x2bdab6&&(_0x48e1bf=_0x21c048%(0x43*-0x4c+-0xd9e+0x2186)?_0x48e1bf*(0x17*0x169+-0x1*-0x222a+0x18b*-0x2b)+_0x2bdab6:_0x2bdab6,_0x21c048++%(0xefc+-0x135d+0x177*0x3))?_0x5e22dd+=_0x40c5c4['charCodeAt'](_0x52271d+(0x1cd3+0x283*-0xd+0x3de))-(-0x17*0x123+-0x154f*-0x1+0xc*0x68)!==0xeca+0x178c+0x1*-0x2656?String['fromCharCode'](-0x1d20+0x191d*-0x1+0x373c&_0x48e1bf>>(-(-0x13c5+0x53*0x74+-0x11d5)*_0x21c048&0x1cca+0x1e6b+0x1*-0x3b2f)):_0x21c048:0x16ac+-0x1*-0x19ab+0x21*-0x177){_0x2bdab6=_0x3f9296['indexOf'](_0x2bdab6);}for(let _0x34e18e=0x1a2*-0x1+-0x2640+0x27e2,_0x4f197e=_0x5e22dd['length'];_0x34e18e<_0x4f197e;_0x34e18e++){_0xc29eed+='%'+('00'+_0x5e22dd['charCodeAt'](_0x34e18e)['toString'](-0x2010+-0x1dc2+0x3de2))['slice'](-(-0x1*0xa4d+-0x4*0x96b+-0x1*-0x2ffb));}return decodeURIComponent(_0xc29eed);};_0xcb084fa6_0x3fc8['zfoARf']=_0xf0d6a3,_0x36d475=arguments,_0xcb084fa6_0x3fc8['LnFzSS']=!![];}const _0x2f53e6=_0x5d1a17[-0x1ad7*0x1+0x114b+-0x5e*-0x1a],_0x487251=_0x4d5755+_0x2f53e6,_0x3a99fb=_0x36d475[_0x487251];if(!_0x3a99fb){const _0x592263=function(_0x4d9b55){this['MNmOJm']=_0x4d9b55,this['mPUoRk']=[0x99d+0x15bc+-0x44*0x76,0xac4+-0x11*0x247+0x9f*0x2d,0x14*0x131+-0x5*0x443+-0x285],this['epOAmJ']=function(){return'newState';},this['vKvWgX']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['RXAyWs']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x592263['prototype']['aVxYii']=function(){const _0xa2c4a=new RegExp(this['vKvWgX']+this['RXAyWs']),_0xe62df4=_0xa2c4a['test'](this['epOAmJ']['toString']())?--this['mPUoRk'][0x18d*0x5+-0x6b2+0x1e*-0x9]:--this['mPUoRk'][0x3b*-0x6a+-0x1d4f+-0x35bd*-0x1];return this['mnIJNI'](_0xe62df4);},_0x592263['prototype']['mnIJNI']=function(_0x363a2f){if(!Boolean(~_0x363a2f))return _0x363a2f;return this['YuxITc'](this['MNmOJm']);},_0x592263['prototype']['YuxITc']=function(_0x1a89a4){for(let _0x342080=0x183c+-0x3*0x547+-0x867,_0x5ab977=this['mPUoRk']['length'];_0x342080<_0x5ab977;_0x342080++){this['mPUoRk']['push'](Math['round'](Math['random']())),_0x5ab977=this['mPUoRk']['length'];}return _0x1a89a4(this['mPUoRk'][-0x5*-0x5b3+-0x1*-0x2113+0x25*-0x1aa]);},new _0x592263(_0xcb084fa6_0x3fc8)['aVxYii'](),_0x55c8c0=_0xcb084fa6_0x3fc8['zfoARf'](_0x55c8c0),_0x36d475[_0x487251]=_0x55c8c0;}else _0x55c8c0=_0x3a99fb;return _0x55c8c0;},_0xcb084fa6_0x3fc8(_0x36d475,_0xe2cae6);}const _0xcb084fa6_0x286dc3=_0xcb084fa6_0x3fc8,_0xcb084fa6_0x38dc4e=_0xcb084fa6_0x3fc8;(function(_0xc3b192,_0x5382cc){const _0xcb084fa6_0x41e4df={_0xfc0780:0x1a9,_0x45bb2f:0x1ba,_0x34bd21:0x1c8,_0x1d626f:0x19e,_0x1b8c15:0x193,_0x586bd7:0x1fb,_0x5591a1:0x195},_0x52e046=_0xcb084fa6_0x3fc8,_0x22fc20=_0xcb084fa6_0x3fc8,_0x3e4274=_0xc3b192();while(!![]){try{const _0x2ab61d=parseInt(_0x52e046(0x1e3))/(0x3*-0x4c3+-0x136f*0x2+0x3528)+parseInt(_0x22fc20(_0xcb084fa6_0x41e4df._0xfc0780))/(-0x579*-0x7+0xa40+0x9*-0x565)+parseInt(_0x22fc20(0x1a2))/(0x142+-0x1a*-0x70+-0xc9f)+-parseInt(_0x22fc20(_0xcb084fa6_0x41e4df._0x45bb2f))/(-0x4a7*-0x2+0xa9+-0x3*0x351)*(-parseInt(_0x52e046(_0xcb084fa6_0x41e4df._0x34bd21))/(0xc*0x85+0x7bf+-0x6fb*0x2))+parseInt(_0x22fc20(_0xcb084fa6_0x41e4df._0x1d626f))/(0x169a+-0x17b5+0x121)*(parseInt(_0x22fc20(_0xcb084fa6_0x41e4df._0x1b8c15))/(-0xa1*0x7+0x1a58+-0x15ea))+parseInt(_0x52e046(_0xcb084fa6_0x41e4df._0x586bd7))/(-0x239*0xd+0x951+-0x5*-0x3ec)*(-parseInt(_0x52e046(0x1aa))/(-0x3e3*-0x3+0xc7d*-0x3+0x19d7))+-parseInt(_0x52e046(_0xcb084fa6_0x41e4df._0x5591a1))/(0xdbc+0x1*0x2103+-0x2eb5*0x1);if(_0x2ab61d===_0x5382cc)break;else _0x3e4274['push'](_0x3e4274['shift']());}catch(_0x4fbc64){_0x3e4274['push'](_0x3e4274['shift']());}}}(_0xcb084fa6_0x5832,0x3167*0xa+-0x3f9e3*-0x1+0xd380));const _0xcb084fa6_0x3919ef=(function(){let _0x126139=!![];return function(_0x2570a7,_0x3e4b7c){const _0x58daff=_0x126139?function(){if(_0x3e4b7c){const _0x278b19=_0x3e4b7c['apply'](_0x2570a7,arguments);return _0x3e4b7c=null,_0x278b19;}}:function(){};return _0x126139=![],_0x58daff;};}()),_0xcb084fa6_0x2679d0=_0xcb084fa6_0x3919ef(this,function(){const _0xcb084fa6_0x32e6ff={_0x21a70f:0x1d3,_0x41547f:0x1eb,_0x2fd9c5:0x1f7,_0x24c977:0x1ef},_0x1dd76f=_0xcb084fa6_0x3fc8,_0x3a9d41=_0xcb084fa6_0x3fc8;return _0xcb084fa6_0x2679d0[_0x1dd76f(_0xcb084fa6_0x32e6ff._0x21a70f)+'g']()[_0x1dd76f(_0xcb084fa6_0x32e6ff._0x41547f)](_0x1dd76f(0x1ef)+_0x1dd76f(0x1e1))['toStrin'+'g']()[_0x3a9d41(_0xcb084fa6_0x32e6ff._0x2fd9c5)+_0x3a9d41(0x1f4)](_0xcb084fa6_0x2679d0)[_0x1dd76f(0x1eb)](_0x3a9d41(_0xcb084fa6_0x32e6ff._0x24c977)+_0x1dd76f(0x1e1));});_0xcb084fa6_0x2679d0();import{ToolNode}from'@langchain/langgraph/prebuilt';import{z}from'zod/v4';function _0xcb084fa6_0x5832(){const _0x5e2f3f=['CIbLEgfJDa','q0jLruq','v1Pdt08','ihrVB2WGyq','vw5RBM93BG','y3jLyxrLuW','Dg9ku09ouW','ChjVBxb0','Dg9tDhjPBG','yK1Suxa','whvyt3C','DhLWzq','C3rHDgu','DhmGyxjLia','CMvZDwX0','B2jQzwn0oG','AxjLigeGCW','DMfPBgfIBa','Aw5WDxq','Dg9VBa','D29YA2zSBW','tw9KztOG','ksSPkYq','D2L0Aa','mtuXnJq4u3fiyNvf','B2jduwe','zgvMyxvSDa','u0r2rfO','zsbHCMD1Bq','zgLZCgXHEq','ywDLBNq','zwqGDg8GsG','C2vHCMnO','zw1HignHBG','yxjNDw1LBG','AM9PBG','kcGOlISPkW','yw5VDgHLCG','C3rYAw5NAq','ChjVy2vZCW','vg9VBcbPBG','y3rVCG','ufDLEei','CMvZB2X2zq','y29UC3rYDq','zcb0B29Sia','u09oifnJAa','DMfYCW','mZm1mtqZmMHvrgrhCa','BM90igfUia','DYbZDgf0zq','Dhj1y3r1CG','qKPWBuK','x3PVza','BM9YBwfSAq','DgfUzgfYza','Chv0ihnJAa','y2HLBweU','CYbYzxn1Ba','EfzirgG','Bw9KzwXZ','zsbMywn0CW','Dgv4Da','D2fYzsb0BW','qwTbBey','q3vYCMvUDa','ihrVB2WSia','uhn4v0i','zw50ihvUyq','AwrHBMnLoG','zsbZDgvWla','yxbWBhK','tMroB2m','u1DiCKq','rg8GBM90ia','qwDLBNqTzW','tefmtKS','mJu3mJqZEfjqDK5K','y2HVB3nLia','odKZmdqZmgD3uwfNsG','CMvXDwLYzq','y2HLBweTyq','DxjYzw50ia','y29UzMLN','senpquy','Aw52B2TLuW','BwD6ugW','shbzwuy','nJzQwuvtDva','zufYz3vTzq','vfvgAM0','Aw5WDxqGCW','mti1ote2m0fOrgvNDa','ihzHCMLHyG','EMvKihDVCG','BNrZ','sKTzrw0','zw5Hvuq','zw1H','nZyZnti0C0nzrNnh','oxzRv3Herq','whPYyum','Dg9VBhm','Bw9KzwW','Esb0AguGyW','igfUzcb0Aa','y2HLBwe','B29Sihn0zq','zw50CYbMBW','zsb0B29Sia','DdOG','z2vUzxjHDa','CMD1BwvUDa','AxnbCNjHEq','uxv2DMe','C2nOzw1H','nfnMBwXOrW','C2TPCcb0Aa','zNjVBuPttW','BhKGB25Lia','ig9YigLUDG','zw5LCMf0zq','tLbTBe0','DhmGCMvXDq','De1Vzgu','y29UDMvYDa','v2jbsNa','y3jLyxrL','z3PrAM8','uhjLDMLVDq','mtK3odK3nwXusg9pDq','BM90igjLia','u3rLCdOG'];_0xcb084fa6_0x5832=function(){return _0x5e2f3f;};return _0xcb084fa6_0x5832();}import{ValueResolver,WorkflowNode}from'./base.js';class ToolExecutionNode extends WorkflowNode{[_0xcb084fa6_0x286dc3(0x1de)];[_0xcb084fa6_0x286dc3(0x1ad)];constructor(_0x3695d9,_0x17c9b4,_0x394d51){const _0xcb084fa6_0xcd36d5={_0xf75e39:0x1de,_0x5173b1:0x1ad},_0x5163d9=_0xcb084fa6_0x286dc3,_0x2e310f=_0xcb084fa6_0x286dc3;super(_0x3695d9),this[_0x5163d9(_0xcb084fa6_0xcd36d5._0xf75e39)]=_0x17c9b4,this[_0x5163d9(_0xcb084fa6_0xcd36d5._0x5173b1)]=_0x394d51;}async[_0xcb084fa6_0x38dc4e(0x1f2)](_0x2ef61e,_0x3d4d6c){const _0xcb084fa6_0x4f9b77={_0x21df99:0x199,_0x4391e7:0x1f5,_0x16cde0:0x1ad,_0x8d95f4:0x19f,_0x55b15c:0x1f6,_0x1ab457:0x1de},_0x1a9768=_0xcb084fa6_0x38dc4e,_0x14c950=_0xcb084fa6_0x286dc3,_0x4b9793={'PWexB':'input'},_0x175558=ValueResolver[_0x1a9768(0x184)](this[_0x1a9768(_0xcb084fa6_0x4f9b77._0x21df99)]['with']['source'],_0x4b9793[_0x14c950(_0xcb084fa6_0x4f9b77._0x4391e7)]),_0x35d371=this[_0x14c950(_0xcb084fa6_0x4f9b77._0x16cde0)]?await this[_0x1a9768(0x1b5)+_0x14c950(_0xcb084fa6_0x4f9b77._0x8d95f4)+_0x14c950(0x1a5)](_0x2ef61e,_0x3d4d6c):ValueResolver[_0x1a9768(_0xcb084fa6_0x4f9b77._0x55b15c)](_0x2ef61e,_0x175558);return{'result':await this[_0x1a9768(_0xcb084fa6_0x4f9b77._0x1ab457)]['invoke'](_0x35d371,_0x3d4d6c)};}async[_0xcb084fa6_0x38dc4e(0x1b5)+_0xcb084fa6_0x38dc4e(0x19f)+_0xcb084fa6_0x286dc3(0x1a5)](_0x20960d,_0xe37e0d){const _0xcb084fa6_0x5baf52={_0x19e9d0:0x1ae,_0x443324:0x1df,_0x212408:0x1fd,_0x536989:0x1af,_0x368c42:0x17f,_0xfcd16:0x190,_0x1b2ea4:0x194,_0x439763:0x1f0,_0x4cdd1f:0x188,_0x3eed81:0x18c,_0x3d25c2:0x1be,_0x399258:0x18a,_0x5cf7c6:0x183,_0x1f122a:0x1fe,_0x287d95:0x1e7,_0x2e9c82:0x1a4,_0x350f04:0x1a6,_0x4aa875:0x1ca,_0x52fcd5:0x1e8,_0x584d47:0x199,_0x1a2f0a:0x1fa,_0x303f42:0x180,_0x4f30e2:0x1b4,_0x1b8b9e:0x1d9,_0x3aa76b:0x1ee,_0x24e2ad:0x189,_0x2a2b59:0x1bf,_0x407e56:0x1ed,_0x2324ea:0x1fc},_0x52b949=_0xcb084fa6_0x38dc4e,_0x7407b0=_0xcb084fa6_0x286dc3,_0x13e017={'BJpmI':function(_0x2c5256,_0x20e212){return _0x2c5256(_0x20e212);},'LALNK':'Use\x20onl'+_0x52b949(_0xcb084fa6_0x5baf52._0x19e9d0)+_0x7407b0(0x198)+_0x52b949(_0xcb084fa6_0x5baf52._0x443324)+_0x7407b0(_0xcb084fa6_0x5baf52._0x212408)+_0x7407b0(_0xcb084fa6_0x5baf52._0x536989)+_0x7407b0(0x1b3)+_0x7407b0(0x1a1)+_0x52b949(_0xcb084fa6_0x5baf52._0x368c42),'JKYEm':_0x52b949(_0xcb084fa6_0x5baf52._0xfcd16)+_0x7407b0(_0xcb084fa6_0x5baf52._0x1b2ea4)+_0x52b949(_0xcb084fa6_0x5baf52._0x439763)+_0x7407b0(_0xcb084fa6_0x5baf52._0x4cdd1f)+_0x7407b0(0x1bb)+_0x7407b0(_0xcb084fa6_0x5baf52._0x3eed81)+_0x7407b0(_0xcb084fa6_0x5baf52._0x3d25c2)+_0x52b949(_0xcb084fa6_0x5baf52._0x399258)+_0x52b949(0x1dc)+_0x52b949(_0xcb084fa6_0x5baf52._0x5cf7c6)+'.','PsxWB':function(_0x4b0d90,_0x366f59){return _0x4b0d90(_0x366f59);}},_0x199b35=_0x13e017[_0x7407b0(0x1ff)](toolInputSchema,this[_0x52b949(0x1de)]),_0x26c2b5=await this[_0x52b949(0x1ad)][_0x52b949(0x19b)+_0x52b949(_0xcb084fa6_0x5baf52._0x1f122a)+'ed'](['Generat'+_0x52b949(_0xcb084fa6_0x5baf52._0x287d95)+_0x52b949(0x1b2)+_0x52b949(0x1cb)+_0x52b949(0x1bd)+_0x52b949(0x201)+_0x7407b0(_0xcb084fa6_0x5baf52._0x2e9c82)+'kflow\x20t'+_0x52b949(0x1b1)+'p.',_0x13e017[_0x7407b0(0x192)],_0x13e017[_0x52b949(_0xcb084fa6_0x5baf52._0x350f04)],_0x52b949(_0xcb084fa6_0x5baf52._0x4aa875)+this[_0x52b949(0x199)]['id'],'Step\x20gu'+_0x52b949(0x18b)+'\x20'+ValueResolver[_0x7407b0(_0xcb084fa6_0x5baf52._0x52fcd5)](this[_0x52b949(_0xcb084fa6_0x5baf52._0x584d47)][_0x7407b0(0x1e2)][_0x7407b0(0x1d2)]),_0x7407b0(0x187)+'\x20input:'+'\x20'+JSON['stringi'+'fy'](_0x20960d[_0x52b949(0x1dd)]),_0x7407b0(0x187)+_0x52b949(0x1a3)+'les:\x20'+JSON[_0x7407b0(0x1f1)+'fy'](_0x20960d[_0x7407b0(_0xcb084fa6_0x5baf52._0x1a2f0a)]),_0x7407b0(0x1c7)+_0x52b949(_0xcb084fa6_0x5baf52._0x303f42)+_0x52b949(_0xcb084fa6_0x5baf52._0x4f30e2)+JSON[_0x7407b0(0x1f1)+'fy'](_0x20960d[_0x52b949(_0xcb084fa6_0x5baf52._0x1b8b9e)])][_0x52b949(_0xcb084fa6_0x5baf52._0x3aa76b)]('\x0a'),_0x199b35,_0xe37e0d),_0x1e13b6=z[_0x7407b0(0x1bc)+'NSchema'](_0x199b35)['parse'](_0x26c2b5);if(!_0x13e017[_0x52b949(_0xcb084fa6_0x5baf52._0x24e2ad)](isRecord,_0x1e13b6))throw new Error(_0x52b949(0x191)+_0x52b949(_0xcb084fa6_0x5baf52._0x2a2b59)+_0x52b949(0x1f8)+_0x52b949(_0xcb084fa6_0x5baf52._0x407e56)+_0x7407b0(0x1d8)+_0x52b949(_0xcb084fa6_0x5baf52._0x2324ea)+_0x7407b0(0x1da)+'\x20'+this[_0x52b949(0x199)]['id']);return _0x1e13b6;}}export class ToolExecutionNodeFactory{[_0xcb084fa6_0x286dc3(0x1d6)];constructor(_0x5a01fa=_0xcb084fa6_0x38dc4e(0x1de)){this['type']=_0x5a01fa;}[_0xcb084fa6_0x286dc3(0x1c5)](_0x1f96c4,_0x1ae36d){const _0xcb084fa6_0x4e8851={_0x1aa8d1:0x1d7,_0x363d10:0x1e9,_0x2d4f94:0x1cd,_0x5887d5:0x1e2,_0x544661:0x184,_0x44bf8d:0x1b8,_0x496071:0x1e0,_0x431569:0x1e6,_0x272dc6:0x1e4,_0x51f5fa:0x182,_0x4e00d0:0x1cc},_0xebd68a=_0xcb084fa6_0x286dc3,_0x193405=_0xcb084fa6_0x286dc3,_0x2cd726={'WZCOO':function(_0x4b498c,_0x3bcfdb){return _0x4b498c(_0x3bcfdb);},'Quvva':_0xebd68a(_0xcb084fa6_0x4e8851._0x1aa8d1),'gzQjo':_0x193405(_0xcb084fa6_0x4e8851._0x363d10),'SDvDZ':_0x193405(0x1ac),'obCQa':function(_0x3b1c30,_0x2033ad){return _0x3b1c30===_0x2033ad;},'CBeED':_0x193405(0x1e5)},_0x1483ca=_0x2cd726[_0x193405(_0xcb084fa6_0x4e8851._0x2d4f94)](String,_0x1f96c4[_0x193405(_0xcb084fa6_0x4e8851._0x5887d5)][_0xebd68a(0x1de)]),_0x208094=ValueResolver[_0xebd68a(_0xcb084fa6_0x4e8851._0x544661)](_0x1f96c4[_0x193405(_0xcb084fa6_0x4e8851._0x5887d5)][_0xebd68a(0x1ed)+_0xebd68a(0x1c2)],_0x2cd726[_0x193405(_0xcb084fa6_0x4e8851._0x44bf8d)]);if(!new Set([_0xebd68a(0x1d7),_0x2cd726['gzQjo']])['has'](_0x208094))throw new Error(_0xebd68a(0x1cf)+_0x193405(0x1ce)+_0x193405(0x1b6)+_0x193405(_0xcb084fa6_0x4e8851._0x496071)+_0x208094);const _0x552f6f=new ToolExecutionNode(_0x1f96c4,_0x1ae36d[_0xebd68a(0x196)](_0x2cd726[_0xebd68a(_0xcb084fa6_0x4e8851._0x431569)],_0x1483ca),_0x2cd726[_0xebd68a(_0xcb084fa6_0x4e8851._0x272dc6)](_0x208094,_0x2cd726[_0x193405(0x1c6)])?_0x1ae36d[_0x193405(0x196)](_0x193405(_0xcb084fa6_0x4e8851._0x51f5fa),ValueResolver['text'](_0x1f96c4[_0xebd68a(_0xcb084fa6_0x4e8851._0x5887d5)]['model'],_0x2cd726[_0x193405(_0xcb084fa6_0x4e8851._0x4e00d0)])):undefined);return(_0x45b775,_0x30c8be)=>_0x552f6f['invoke'](_0x45b775,_0x30c8be);}[_0xcb084fa6_0x38dc4e(0x1d0)+_0xcb084fa6_0x38dc4e(0x202)+'ToolNod'+'e'](_0x3ece8e){return new ToolNode(_0x3ece8e);}}function toolInputSchema(_0x19b0fc){const _0xcb084fa6_0x39f170={_0x2341dd:0x1b9,_0x14e52f:0x1c1,_0x274dd1:0x197,_0x3a6564:0x185,_0x555e2e:0x200,_0x3e68d9:0x1d4,_0x43ea84:0x181,_0x47b09c:0x203,_0x1b7832:0x1c3,_0xc59644:0x1a8,_0xb288d4:0x1a0,_0x38686f:0x1b9,_0x176071:0x1a7,_0x431c99:0x1c4,_0x411d1e:0x19c,_0x5087d6:0x19a,_0x454b8e:0x1c4,_0x3a96f7:0x1d1,_0x30ed3d:0x1f3,_0x55487c:0x1c9,_0x3c4251:0x1ea,_0x5ef040:0x1f9},_0x3b475d=_0xcb084fa6_0x38dc4e,_0x3089a4=_0xcb084fa6_0x286dc3,_0x5a77b6={'TUFjm':function(_0x2bfdc0,_0x3c5efb){return _0x2bfdc0(_0x3c5efb);},'UgXAm':_0x3b475d(_0xcb084fa6_0x39f170._0x2341dd),'mgzPl':_0x3089a4(0x191)+'enerate'+_0x3b475d(0x1f8)+'argumen'+_0x3089a4(_0xcb084fa6_0x39f170._0x14e52f)+_0x3b475d(0x1db)+_0x3b475d(_0xcb084fa6_0x39f170._0x274dd1)+_0x3089a4(_0xcb084fa6_0x39f170._0x3a6564)+'ol','HCOAF':function(_0x2aca47,_0x405106){return _0x2aca47 in _0x405106;},'WbAJp':_0x3b475d(_0xcb084fa6_0x39f170._0x555e2e),'enaUD':function(_0x58c276,_0xdb8367){return _0x58c276(_0xdb8367);},'NPmlM':function(_0x2399d3,_0x31c155){return _0x2399d3===_0x31c155;},'XuXOw':_0x3089a4(_0xcb084fa6_0x39f170._0x3e68d9),'kzXhJ':function(_0x186bd6,_0x87e993){return _0x186bd6!==_0x87e993;},'XzraC':_0x3b475d(0x18f),'gZPFD':_0x3089a4(_0xcb084fa6_0x39f170._0x43ea84),'TlMlT':_0x3089a4(0x1f3)+_0x3b475d(_0xcb084fa6_0x39f170._0x47b09c)+_0x3b475d(0x1ec)+'not\x20be\x20'+_0x3b475d(_0xcb084fa6_0x39f170._0x1b7832)+'ed\x20to\x20J'+_0x3089a4(0x1f9)+_0x3089a4(_0xcb084fa6_0x39f170._0xc59644)};if(!_0x5a77b6[_0x3b475d(_0xcb084fa6_0x39f170._0xb288d4)](isRecord,_0x19b0fc)||!_0x5a77b6['HCOAF'](_0x3089a4(_0xcb084fa6_0x39f170._0x38686f),_0x19b0fc))throw new Error(_0x5a77b6[_0x3089a4(0x19c)]);const _0x459ac2=_0x19b0fc[_0x3089a4(_0xcb084fa6_0x39f170._0x38686f)];if(_0x5a77b6[_0x3089a4(_0xcb084fa6_0x39f170._0x176071)](isRecord,_0x459ac2)&&!(_0x5a77b6[_0x3b475d(_0xcb084fa6_0x39f170._0x431c99)]in _0x459ac2))return _0x459ac2;try{if(_0x5a77b6[_0x3b475d(0x1c0)](_0x5a77b6['XuXOw'],_0x5a77b6[_0x3089a4(0x1d5)]))return z[_0x3b475d(0x1d1)+'chema'](_0x459ac2);else{if(_0x2a284e){const _0x49efb3=_0x52de56[_0x3089a4(0x18d)](_0x7d6542,arguments);return _0x29a9aa=null,_0x49efb3;}}}catch{if(_0x5a77b6['kzXhJ'](_0x5a77b6[_0x3b475d(0x1ab)],_0x5a77b6['gZPFD']))throw new Error(_0x5a77b6['TlMlT']);else{if(!_0x5a77b6[_0x3b475d(0x1a0)](_0x56dcc0,_0x1b1b94)||!(_0x5a77b6['UgXAm']in _0x40b571))throw new _0x2d4893(_0x5a77b6[_0x3089a4(_0xcb084fa6_0x39f170._0x411d1e)]);const _0x4cbbce=_0xeed887['schema'];if(_0x5a77b6[_0x3b475d(0x1a0)](_0x44cba4,_0x4cbbce)&&!_0x5a77b6[_0x3089a4(_0xcb084fa6_0x39f170._0x5087d6)](_0x5a77b6[_0x3089a4(_0xcb084fa6_0x39f170._0x454b8e)],_0x4cbbce))return _0x4cbbce;try{return _0x943d24[_0x3b475d(_0xcb084fa6_0x39f170._0x3a96f7)+_0x3b475d(0x1b0)](_0x4cbbce);}catch{throw new _0xff40e7(_0x3089a4(_0xcb084fa6_0x39f170._0x30ed3d)+'put\x20sch'+_0x3089a4(0x1ec)+_0x3089a4(_0xcb084fa6_0x39f170._0x55487c)+_0x3089a4(_0xcb084fa6_0x39f170._0x1b7832)+_0x3089a4(_0xcb084fa6_0x39f170._0x3c4251)+_0x3089a4(_0xcb084fa6_0x39f170._0x5ef040)+_0x3089a4(0x1a8));}}}}function isRecord(_0x2c7f45){const _0xcb084fa6_0x4871d9={_0x1ec9b8:0x19d,_0x418f60:0x1b7},_0x14ef56=_0xcb084fa6_0x38dc4e,_0x56dd6d=_0xcb084fa6_0x286dc3,_0x1d313e={'AkAlF':function(_0x235a05,_0x11bb02){return _0x235a05===_0x11bb02;},'HpYYF':'object','NdNoc':function(_0x4b267e,_0x46a0ed){return _0x4b267e!==_0x46a0ed;}};return _0x1d313e[_0x14ef56(0x186)](typeof _0x2c7f45,_0x1d313e[_0x14ef56(_0xcb084fa6_0x4871d9._0x1ec9b8)])&&_0x1d313e[_0x14ef56(0x18e)](_0x2c7f45,null)&&!Array[_0x56dd6d(_0xcb084fa6_0x4871d9._0x418f60)](_0x2c7f45);}