@myagent/my-agent 0.4.0 → 0.4.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x9c690cc6_0x13dbb3=_0x9c690cc6_0x3378,_0x9c690cc6_0x9ea423=_0x9c690cc6_0x3378;(function(_0xd96fcd,_0x5a67f5){const _0x9c690cc6_0x14fd26={_0xf148ed:0xf7,_0x3bd27e:0xd1,_0x2d650d:0x107,_0x2c6190:0x10a,_0x2ca76a:0x111},_0x486316=_0x9c690cc6_0x3378,_0x2c8150=_0x9c690cc6_0x3378,_0x436b21=_0xd96fcd();while(!![]){try{const _0xd01370=parseInt(_0x486316(0xed))/(-0xc7*-0x7+-0xf2*-0x14+0x13*-0x148)*(parseInt(_0x486316(0xdc))/(-0x25e6+0x3f8+0x21f0))+-parseInt(_0x2c8150(_0x9c690cc6_0x14fd26._0xf148ed))/(0x1753+-0x9e*-0x1a+-0x275c)+parseInt(_0x2c8150(_0x9c690cc6_0x14fd26._0x3bd27e))/(0x294+0x1a58+-0x1ce8)*(-parseInt(_0x2c8150(0x121))/(0x1*-0x4a9+0x2*-0x27f+0x4d6*0x2))+parseInt(_0x2c8150(0x112))/(-0xf*0x149+0x14*0xe2+0x1a5)+-parseInt(_0x2c8150(_0x9c690cc6_0x14fd26._0x2d650d))/(-0x1e2+0x87e*0x1+-0x695)+-parseInt(_0x486316(0xe9))/(-0x2219+0x22a*-0x4+0x2ac9*0x1)*(-parseInt(_0x486316(_0x9c690cc6_0x14fd26._0x2c6190))/(-0x1d96+0x1*0x1db3+-0x14))+parseInt(_0x486316(_0x9c690cc6_0x14fd26._0x2ca76a))/(0x18f*0x16+-0x25c4+-0x4*-0xe1);if(_0xd01370===_0x5a67f5)break;else _0x436b21['push'](_0x436b21['shift']());}catch(_0x34dd4a){_0x436b21['push'](_0x436b21['shift']());}}}(_0x9c690cc6_0x2623,-0x5*0xd122+-0x94425+0x1bfe*0xd1));const _0x9c690cc6_0x2dd11c=(function(){let _0x2d1f12=!![];return function(_0x2b1ca6,_0x4f0baa){const _0x3dc0ab=_0x2d1f12?function(){const _0x389394=_0x9c690cc6_0x3378;if(_0x4f0baa){const _0x49abce=_0x4f0baa[_0x389394(0x10e)](_0x2b1ca6,arguments);return _0x4f0baa=null,_0x49abce;}}:function(){};return _0x2d1f12=![],_0x3dc0ab;};}()),_0x9c690cc6_0x405cee=_0x9c690cc6_0x2dd11c(this,function(){const _0x9c690cc6_0x1b0be5={_0x2d0553:0x102,_0x8653b6:0x103,_0x3784f4:0xdf,_0x28f7f7:0x11d},_0x442a91=_0x9c690cc6_0x3378,_0x46baed=_0x9c690cc6_0x3378,_0x11cd46={'jAOYg':_0x442a91(0xd9)+')+)+$'};return _0x9c690cc6_0x405cee[_0x46baed(_0x9c690cc6_0x1b0be5._0x2d0553)+'g']()[_0x442a91(0x115)](_0x11cd46[_0x46baed(_0x9c690cc6_0x1b0be5._0x8653b6)])[_0x442a91(0x102)+'g']()[_0x442a91(_0x9c690cc6_0x1b0be5._0x3784f4)+_0x46baed(_0x9c690cc6_0x1b0be5._0x28f7f7)](_0x9c690cc6_0x405cee)['search'](_0x11cd46[_0x442a91(_0x9c690cc6_0x1b0be5._0x8653b6)]);});_0x9c690cc6_0x405cee();import{ValueResolver,WorkflowNode}from'./base.js';class AgentNode extends WorkflowNode{[_0x9c690cc6_0x13dbb3(0x11a)];[_0x9c690cc6_0x9ea423(0xf3)+'ations'];constructor(_0x1cdf00,_0x448be1,_0x49f939){const _0x9c690cc6_0x1b3444={_0x832c3d:0x11a,_0x3ede71:0xef},_0x2d37b1=_0x9c690cc6_0x13dbb3,_0x2da7aa=_0x9c690cc6_0x13dbb3;super(_0x1cdf00),this[_0x2d37b1(_0x9c690cc6_0x1b3444._0x832c3d)]=_0x448be1,this[_0x2d37b1(0xf3)+_0x2d37b1(_0x9c690cc6_0x1b3444._0x3ede71)]=_0x49f939;}async[_0x9c690cc6_0x9ea423(0x10c)](_0x5a1284,_0x32bd9f){const _0x9c690cc6_0x56b767={_0x3df36b:0xf4,_0x4e1d00:0x11a,_0xa308dc:0xec,_0x41bac8:0xdd,_0x1e2aba:0xcf,_0x303ce9:0xe5,_0x425bed:0xf3,_0x527c93:0xef},_0x4627fb=_0x9c690cc6_0x13dbb3,_0x42b870=_0x9c690cc6_0x9ea423,_0x5382b6={'ZwxJW':_0x4627fb(_0x9c690cc6_0x56b767._0x3df36b),'CVbtF':function(_0x3097fe,_0x3721a5){return _0x3097fe(_0x3721a5);}},_0x304972=await this[_0x4627fb(_0x9c690cc6_0x56b767._0x4e1d00)][_0x42b870(_0x9c690cc6_0x56b767._0xa308dc)]({'messages':_0x5a1284[_0x42b870(_0x9c690cc6_0x56b767._0x41bac8)+'s']['length']?_0x5a1284[_0x4627fb(0xdd)+'s']:[{'role':_0x5382b6[_0x4627fb(0xdb)],'content':JSON[_0x42b870(_0x9c690cc6_0x56b767._0x1e2aba)+'fy'](_0x5a1284[_0x4627fb(_0x9c690cc6_0x56b767._0x303ce9)])}]},{..._0x32bd9f,'recursionLimit':this[_0x4627fb(_0x9c690cc6_0x56b767._0x425bed)+_0x4627fb(_0x9c690cc6_0x56b767._0x527c93)]});return{'result':_0x5382b6[_0x42b870(0x11c)](agentResult,_0x304972)};}}function agentResult(_0x524a9d){const _0x9c690cc6_0x466ccf={_0x25af72:0xf6,_0xe8deb4:0xde},_0x4e5e80=_0x9c690cc6_0x13dbb3,_0x186c9c=_0x9c690cc6_0x9ea423,_0x277dc7={'Bdorh':function(_0x2a2a29,_0x5e011d){return _0x2a2a29(_0x5e011d);},'GhVrZ':function(_0x2dc438,_0x426dc7){return _0x2dc438 in _0x426dc7;},'EQnSX':_0x4e5e80(0x10b)+_0x4e5e80(_0x9c690cc6_0x466ccf._0x25af72)+_0x4e5e80(_0x9c690cc6_0x466ccf._0xe8deb4)};return _0x277dc7['Bdorh'](isRecord,_0x524a9d)&&_0x277dc7[_0x4e5e80(0xda)](_0x277dc7[_0x4e5e80(0x11f)],_0x524a9d)?_0x524a9d[_0x186c9c(0x10b)+_0x4e5e80(_0x9c690cc6_0x466ccf._0x25af72)+'onse']:_0x524a9d;}export class AgentNodeFactory{[_0x9c690cc6_0x9ea423(0xe2)]='agent';[_0x9c690cc6_0x13dbb3(0xfd)](_0x2a8c47,_0x2836bd){const _0x9c690cc6_0x50dcd2={_0x192745:0x11b},_0x49d09d=_0x9c690cc6_0x13dbb3,_0x1af547=_0x9c690cc6_0x13dbb3,_0x5ed53b={'XvaTA':function(_0x2b0f7f,_0x3e7415,_0xe7b8c,_0x119f3d,_0xf82fbb){return _0x2b0f7f(_0x3e7415,_0xe7b8c,_0x119f3d,_0xf82fbb);},'tVUyH':'Agent','kYfqs':function(_0x2621a9,_0xfec5b5,_0x18a6c3,_0x143a8f){return _0x2621a9(_0xfec5b5,_0x18a6c3,_0x143a8f);}},_0x404817=_0x5ed53b['XvaTA'](agentConstraints,_0x2a8c47,_0x5ed53b[_0x49d09d(0xd0)],0x4*0x317+-0x26*0x4c+-0x8*0x21,-0x482*-0x7+0x26ea+-0x4672),_0x266f99=ValueResolver[_0x1af547(0xeb)](_0x2a8c47[_0x1af547(_0x9c690cc6_0x50dcd2._0x192745)][_0x1af547(0x106)+'r'],''),_0xa27b07=_0x266f99?_0x2836bd[_0x1af547(0xf0)](_0x1af547(0x116),_0x266f99)[_0x1af547(0xfd)](_0x404817):_0x5ed53b[_0x1af547(0x119)](trustedRunnable,_0x2a8c47,_0x2836bd,_0x5ed53b[_0x49d09d(0xd0)]),_0x443040=new AgentNode(_0x2a8c47,_0xa27b07,_0x404817['maxIter'+'ations']);return(_0x49db56,_0x478a61)=>_0x443040['invoke'](_0x49db56,_0x478a61);}}function _0x9c690cc6_0x3378(_0x4ae479,_0x4f2ffe){const _0x25d0bf=_0x9c690cc6_0x2623();return _0x9c690cc6_0x3378=function(_0x4195ed,_0x105bb9){_0x4195ed=_0x4195ed-(-0x3a5+-0x1*0x14e8+0x195a);let _0x7c5eb9=_0x25d0bf[_0x4195ed];if(_0x9c690cc6_0x3378['ZKrTHg']===undefined){var _0x3b3c82=function(_0x19d347){const _0x35f4ec='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x287226='',_0x54c3ce='',_0x523ac2=_0x287226+_0x3b3c82;for(let _0x49f0a7=0x2*0x18d+-0x3d*-0x72+0x2*-0xf22,_0x46ef07,_0x14f6cf,_0x5ea3d7=0x4ce+-0x676*-0x3+-0x1830;_0x14f6cf=_0x19d347['charAt'](_0x5ea3d7++);~_0x14f6cf&&(_0x46ef07=_0x49f0a7%(-0x195d+-0x87f+0x21e0)?_0x46ef07*(-0x1*0x1eb3+0xbf*0x1+-0x1e34*-0x1)+_0x14f6cf:_0x14f6cf,_0x49f0a7++%(-0x926+0xe*-0x91+0x1*0x1118))?_0x287226+=_0x523ac2['charCodeAt'](_0x5ea3d7+(0xc8d+-0x4a*-0x37+-0x40f*0x7))-(0x1*0x1c08+0x1*-0xd38+-0xec6)!==0x7*0x197+0x1135+-0x1c56?String['fromCharCode'](0x1*-0x2336+0xf24+0x1511&_0x46ef07>>(-(0x219d+0xc4+-0x225f)*_0x49f0a7&-0x21a1+-0x10e+0x22b5)):_0x49f0a7:0x3*0x8d+-0x17cc*-0x1+-0x517*0x5){_0x14f6cf=_0x35f4ec['indexOf'](_0x14f6cf);}for(let _0x5a783d=-0x188f+-0xe25*0x1+0x26b4,_0x22226b=_0x287226['length'];_0x5a783d<_0x22226b;_0x5a783d++){_0x54c3ce+='%'+('00'+_0x287226['charCodeAt'](_0x5a783d)['toString'](0x6*-0x291+-0x2201*-0x1+-0x1*0x128b))['slice'](-(0x97*-0x1d+-0x1*-0x55b+-0x5e1*-0x2));}return decodeURIComponent(_0x54c3ce);};_0x9c690cc6_0x3378['JtCRJr']=_0x3b3c82,_0x4ae479=arguments,_0x9c690cc6_0x3378['ZKrTHg']=!![];}const _0xf2d93=_0x25d0bf[0x2646+0x47*-0x29+-0x1ae7],_0x409e4e=_0x4195ed+_0xf2d93,_0x22278f=_0x4ae479[_0x409e4e];if(!_0x22278f){const _0x7a74e3=function(_0x10b944){this['dTAAVj']=_0x10b944,this['JrUXsJ']=[-0x1*-0xe6b+0xf03+-0x1d6d,-0x1*-0x380+-0x2*-0xad5+-0xc95*0x2,0x2411+0x74c*-0x1+-0x1cc5],this['ObeXxD']=function(){return'newState';},this['lxuauD']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['Ylbcvp']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x7a74e3['prototype']['BpxAyE']=function(){const _0x375737=new RegExp(this['lxuauD']+this['Ylbcvp']),_0x4cd3ca=_0x375737['test'](this['ObeXxD']['toString']())?--this['JrUXsJ'][-0x90c+-0xbeb+0x14f8*0x1]:--this['JrUXsJ'][0xfe8+0x1be+-0x8d3*0x2];return this['uTRQTP'](_0x4cd3ca);},_0x7a74e3['prototype']['uTRQTP']=function(_0x3e0766){if(!Boolean(~_0x3e0766))return _0x3e0766;return this['cOsrGs'](this['dTAAVj']);},_0x7a74e3['prototype']['cOsrGs']=function(_0x171316){for(let _0x59c34=0x1a7e+-0x1*0x305+-0x1779,_0x1507d7=this['JrUXsJ']['length'];_0x59c34<_0x1507d7;_0x59c34++){this['JrUXsJ']['push'](Math['round'](Math['random']())),_0x1507d7=this['JrUXsJ']['length'];}return _0x171316(this['JrUXsJ'][0x6c6*-0x3+0xb7b*0x2+0x34*-0xd]);},new _0x7a74e3(_0x9c690cc6_0x3378)['BpxAyE'](),_0x7c5eb9=_0x9c690cc6_0x3378['JtCRJr'](_0x7c5eb9),_0x4ae479[_0x409e4e]=_0x7c5eb9;}else _0x7c5eb9=_0x22278f;return _0x7c5eb9;},_0x9c690cc6_0x3378(_0x4ae479,_0x4f2ffe);}export function agentConstraints(_0x24527b,_0xc93ad5,_0x284586,_0x131f01){const _0x9c690cc6_0xe65b={_0x12ee14:0xe0,_0x3e5081:0x11b,_0x3f8257:0xeb,_0xc65e28:0xe4,_0x22a3a5:0xd8,_0x58b142:0xfe,_0x4807a3:0xcd,_0x2fee9d:0x113,_0x4f011c:0x100,_0x179c79:0x104,_0x469605:0x123,_0xb78131:0x109,_0x4da2c9:0xd4,_0x1d108d:0xd2,_0x4de76b:0xee,_0xd5495f:0xfa,_0x411f0e:0xcf,_0x2d12b5:0xf5,_0x5102ed:0xce},_0x352969=_0x9c690cc6_0x9ea423,_0x131ab3=_0x9c690cc6_0x13dbb3,_0x18d568={'TIwJm':function(_0xae8433,_0x4b9ded){return _0xae8433(_0x4b9ded);},'FOBkO':function(_0x724c05,_0x21eed4,_0x1ae045){return _0x724c05(_0x21eed4,_0x1ae045);},'JkrjK':function(_0x33953f,_0x478b55){return _0x33953f<_0x478b55;},'etauO':function(_0x295fbd,_0x59bb77,_0x3fa7fb){return _0x295fbd(_0x59bb77,_0x3fa7fb);},'HFwBR':function(_0x43c638,_0x5770e7){return _0x43c638<_0x5770e7;},'ISDIy':function(_0x24d914,_0x3debba){return _0x24d914(_0x3debba);}},_0x138287=_0x18d568['TIwJm'](isRecord,_0x24527b['with'][_0x352969(_0x9c690cc6_0xe65b._0x12ee14)])?_0x24527b[_0x131ab3(_0x9c690cc6_0xe65b._0x3e5081)][_0x352969(0xe0)]:{},_0x5ea331=_0x18d568['TIwJm'](isRecord,_0x24527b['with'][_0x131ab3(0x117)])?_0x24527b[_0x131ab3(_0x9c690cc6_0xe65b._0x3e5081)]['output']:{},_0x5e7316=ValueResolver[_0x131ab3(_0x9c690cc6_0xe65b._0x3f8257)](_0x24527b[_0x352969(0x11b)]['prompt'],'');if(!_0x5e7316)throw new Error(_0xc93ad5+(_0x352969(_0x9c690cc6_0xe65b._0xc65e28)+_0x352969(_0x9c690cc6_0xe65b._0x22a3a5)+_0x352969(_0x9c690cc6_0xe65b._0x58b142)));const _0x1289be=_0x18d568[_0x352969(0xd7)](numberValue,_0x138287[_0x352969(_0x9c690cc6_0xe65b._0x4807a3)+_0x131ab3(_0x9c690cc6_0xe65b._0x2fee9d)],_0x284586);if(_0x18d568[_0x352969(_0x9c690cc6_0xe65b._0x4f011c)](_0x1289be,0x83*0x1+0x13a+-0x1bc))throw new Error(_0xc93ad5+(_0x131ab3(0x11e)+_0x131ab3(_0x9c690cc6_0xe65b._0x179c79)+'get\x20mus'+_0x352969(_0x9c690cc6_0xe65b._0x469605)+_0x131ab3(0xd3)));const _0x384a70=_0x18d568[_0x352969(_0x9c690cc6_0xe65b._0xb78131)](numberValue,_0x138287[_0x131ab3(0xf3)+_0x131ab3(0xef)],_0x131f01);if(_0x18d568[_0x352969(_0x9c690cc6_0xe65b._0x4da2c9)](_0x384a70,-0x1711+0x7*-0x443+0x34e7))throw new Error(_0xc93ad5+(_0x352969(_0x9c690cc6_0xe65b._0x1d108d)+_0x352969(0x120)+_0x131ab3(0x114)+_0x131ab3(0x123)+_0x352969(0xd3)));const _0x53f661=isRecord(_0x24527b[_0x131ab3(0x11b)][_0x352969(0xfa)+_0x352969(_0x9c690cc6_0xe65b._0x4de76b)])?_0x24527b['with'][_0x352969(_0x9c690cc6_0xe65b._0xd5495f)+_0x352969(_0x9c690cc6_0xe65b._0x4de76b)]:undefined,_0x5e8cd4=_0x53f661?JSON[_0x352969(_0x9c690cc6_0xe65b._0x411f0e)+'fy'](_0x53f661):ValueResolver['text'](_0x5ea331[_0x352969(_0x9c690cc6_0xe65b._0x2d12b5)],'');return{'prompt':_0x5e7316,'toolAllowlist':_0x18d568[_0x352969(0xd5)](stringArray,_0x24527b[_0x131ab3(_0x9c690cc6_0xe65b._0x3e5081)][_0x131ab3(_0x9c690cc6_0xe65b._0x5102ed)]),'maxToolCalls':_0x1289be,'maxIterations':_0x384a70,..._0x5e8cd4?{'responseFormat':_0x5e8cd4}:{}};}export function trustedRunnable(_0x5ddd0d,_0x20fbb7,_0x34a33e){const _0x9c690cc6_0x43abf7={_0x41e6d3:0x118,_0x1a6a15:0x11b,_0x53492d:0xea,_0x2ab2f8:0xfc,_0x28c567:0x105,_0x2f7548:0xf2,_0x13179b:0xff,_0x178cb9:0xf9},_0x310551=_0x9c690cc6_0x9ea423,_0x3cb36b=_0x9c690cc6_0x13dbb3,_0x2a7c75={'lqRrA':_0x310551(_0x9c690cc6_0x43abf7._0x41e6d3),'clGtS':_0x310551(0xff)+'es'};if(_0x5ddd0d[_0x310551(_0x9c690cc6_0x43abf7._0x1a6a15)][_0x3cb36b(_0x9c690cc6_0x43abf7._0x53492d)+_0x310551(0xe7)+'e']!==!![])throw new Error(_0x34a33e+('\x20requir'+_0x310551(0xe1)+_0x310551(0xfb)+_0x310551(_0x9c690cc6_0x43abf7._0x2ab2f8)+_0x3cb36b(0xf8)+_0x310551(0xd6)+_0x3cb36b(_0x9c690cc6_0x43abf7._0x28c567)+_0x3cb36b(0x10f)+_0x3cb36b(_0x9c690cc6_0x43abf7._0x2f7548)+_0x3cb36b(0xea)+_0x310551(0xe7)+_0x3cb36b(0x108)));const _0x1836b2=ValueResolver[_0x310551(0xeb)](_0x5ddd0d[_0x3cb36b(0x11b)][_0x310551(_0x9c690cc6_0x43abf7._0x13179b)+'e'],_0x2a7c75[_0x310551(_0x9c690cc6_0x43abf7._0x178cb9)]);return _0x20fbb7[_0x310551(0xf0)](_0x2a7c75['clGtS'],_0x1836b2);}function stringArray(_0x150c97){const _0x9c690cc6_0x12a972={_0x35635d:0xe3},_0x2293fc=_0x9c690cc6_0x9ea423,_0x12b7eb=_0x9c690cc6_0x13dbb3;return Array[_0x2293fc(0x101)](_0x150c97)?_0x150c97[_0x12b7eb(_0x9c690cc6_0x12a972._0x35635d)](String):[];}function numberValue(_0x2e490c,_0x448b00){const _0x9c690cc6_0x46ce01={_0x184f29:0x110,_0x2a9f3a:0x122},_0x498487=_0x9c690cc6_0x13dbb3,_0x394be0=_0x9c690cc6_0x9ea423,_0x332ee5={'ipWJU':function(_0x116e1f,_0x5c3d68){return _0x116e1f===_0x5c3d68;},'GCHnk':_0x498487(0xe8)};return _0x332ee5[_0x394be0(_0x9c690cc6_0x46ce01._0x184f29)](typeof _0x2e490c,_0x332ee5[_0x394be0(_0x9c690cc6_0x46ce01._0x2a9f3a)])?_0x2e490c:_0x448b00;}function isRecord(_0x329418){const _0x9c690cc6_0x3c2397={_0x2cf4f0:0x10d,_0x27b352:0x101},_0x1745e6=_0x9c690cc6_0x13dbb3,_0x5b988d=_0x9c690cc6_0x9ea423,_0x453213={'tmmuD':_0x1745e6(0xf1),'gBPjK':function(_0x6320d3,_0x50e7a9){return _0x6320d3!==_0x50e7a9;}};return typeof _0x329418===_0x453213[_0x5b988d(_0x9c690cc6_0x3c2397._0x2cf4f0)]&&_0x453213[_0x5b988d(0xe6)](_0x329418,null)&&!Array[_0x1745e6(_0x9c690cc6_0x3c2397._0x27b352)](_0x329418);}function _0x9c690cc6_0x2623(){const _0x21012d=['zgvMyxvSDa','A1LMCxm','ywDLBNq','D2L0Aa','q1zIDey','y3rVCG','ihrVB2WTyW','rvfUu1G','Aw9Uigj1za','mJm1uLH6ANHr','r0niBMS','DcbIzsbWBW','Bwf4vg9VBa','Dg9VBhm','C3rYAw5NAq','DfzvEuG','nZy2nJHrqLnYBvy','igL0zxjHDa','C2L0AxzL','sez3qLi','svnesxK','AxjLy3qGuG','rK9cA08','igLZihjLCq','kcGOlISPkW','r2HwCLO','wND4sLC','ndG0mdzWrhrMA2q','BwvZC2fNzq','B25Zzq','y29UC3rYDq','BgLTAxrZ','zxmGysbJBW','DhLWzq','BwfW','ihbYB21WDa','Aw5WDxq','z0jqAKS','uNvUBMfIBa','BNvTyMvY','mtuXndG4AwLJAefm','Dhj1C3rLza','Dgv4Da','Aw52B2TL','mJHWquXTCM0','y2HLBwe','yxrPB25Z','CMvXDwLYzq','B2jQzwn0','CxvPCMvZia','Bwf4sxrLCG','DxnLCG','C2nOzw1H','CMvKuMvZCa','nZm1mdi0DeHqtfPk','AwrLCJSGza','BhfsCKe','B3v0Chv0uW','BNn0CMfPBG','zwqGChjVDG','y3jLyxrL','DwLYzwq','CNvUBMfIBa','sMTYAKS','AxnbCNjHEq','Dg9tDhjPBG','AKfpwwC','ywXSigj1za','Dw5UywjSzq','ChjVDMLKzq','ndaZmZeYmhjzrw1wAa','ztOGDhj1zq','zxrHDu8','mtG5A0jPrgLn','C3rYDwn0Dq','ChjVy2vZCW','Dg1TDuq','yxbWBhK','ihvZzsbYzq','AxbxsLu','ndmWndiXmePUAwfJtG','ntaZmZK0nM5huLPtrq','q2fSBhm','z2v0ig11CW','C2vHCMnO','ywDLBNrZ','B3v0Chv0'];_0x9c690cc6_0x2623=function(){return _0x21012d;};return _0x9c690cc6_0x2623();}
|
|
1
|
+
function _0x9c690cc6_0xe58a(_0x91f8ca,_0x51e0e4){const _0xbfa4f5=_0x9c690cc6_0x470a();return _0x9c690cc6_0xe58a=function(_0x438839,_0x1a53c0){_0x438839=_0x438839-(0x5*-0x5bf+-0x892+-0x174*-0x1a);let _0x1079bc=_0xbfa4f5[_0x438839];if(_0x9c690cc6_0xe58a['ACQWVL']===undefined){var _0x14cbfb=function(_0x245eba){const _0xaa2e0f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x23bcc7='',_0x36b67e='',_0xed53d5=_0x23bcc7+_0x14cbfb;for(let _0x5cfcac=0x355*0x1+-0x15*-0x187+-0x2368,_0x5f4838,_0x30ef12,_0x2cd840=-0x14f5+0x1*0x2075+-0x5c*0x20;_0x30ef12=_0x245eba['charAt'](_0x2cd840++);~_0x30ef12&&(_0x5f4838=_0x5cfcac%(-0xeba+0x2150+-0x1292)?_0x5f4838*(0x1*0x119+0x134a+-0x1*0x1423)+_0x30ef12:_0x30ef12,_0x5cfcac++%(0x3*-0x301+-0x2*0x9f3+0x5c9*0x5))?_0x23bcc7+=_0xed53d5['charCodeAt'](_0x2cd840+(0x1ae*-0x17+-0x472*-0x2+0x1dc8))-(-0x26+0x1ad4*-0x1+0x1b04)!==0x5*0x244+0x541+-0x1*0x1095?String['fromCharCode'](0x886+-0x1224+0xa9d&_0x5f4838>>(-(-0x141+-0x1f75*-0x1+-0x5*0x60a)*_0x5cfcac&0x1069+0x1909+-0x296c)):_0x5cfcac:-0xf07+0x2*-0x3cb+0x169d){_0x30ef12=_0xaa2e0f['indexOf'](_0x30ef12);}for(let _0x558b03=0x21e7+-0xbe5+0x139*-0x12,_0x1a9eac=_0x23bcc7['length'];_0x558b03<_0x1a9eac;_0x558b03++){_0x36b67e+='%'+('00'+_0x23bcc7['charCodeAt'](_0x558b03)['toString'](0x2*-0x5ba+0x107*-0x3+0x65*0x25))['slice'](-(-0xd3*0x19+-0x6ce*-0x1+0xdcf));}return decodeURIComponent(_0x36b67e);};_0x9c690cc6_0xe58a['GJXvpE']=_0x14cbfb,_0x91f8ca=arguments,_0x9c690cc6_0xe58a['ACQWVL']=!![];}const _0x191cff=_0xbfa4f5[0x1*-0x6d7+0x2124+-0x1a4d],_0x5df2cc=_0x438839+_0x191cff,_0x5c881d=_0x91f8ca[_0x5df2cc];if(!_0x5c881d){const _0x3543cd=function(_0x50564e){this['xbDQaU']=_0x50564e,this['nnqUdi']=[-0xf*0x1f3+0x10*-0x5f+0x232e,0x26e9+0x16db+-0x3dc4,0x29*-0x1+-0x38*0x25+0x841],this['DKGbke']=function(){return'newState';},this['fyGnzS']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['uDeslT']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x3543cd['prototype']['pqQpTc']=function(){const _0x166cdc=new RegExp(this['fyGnzS']+this['uDeslT']),_0x54340c=_0x166cdc['test'](this['DKGbke']['toString']())?--this['nnqUdi'][-0x206f+-0x2*0xcbb+0x39e6]:--this['nnqUdi'][0x1*-0x2105+0x1*0xe1f+0x973*0x2];return this['ZvhoRB'](_0x54340c);},_0x3543cd['prototype']['ZvhoRB']=function(_0x3d1fce){if(!Boolean(~_0x3d1fce))return _0x3d1fce;return this['RhDvPS'](this['xbDQaU']);},_0x3543cd['prototype']['RhDvPS']=function(_0x5d80ac){for(let _0x40304f=-0x203+0xf89*-0x1+-0x4*-0x463,_0x24bac6=this['nnqUdi']['length'];_0x40304f<_0x24bac6;_0x40304f++){this['nnqUdi']['push'](Math['round'](Math['random']())),_0x24bac6=this['nnqUdi']['length'];}return _0x5d80ac(this['nnqUdi'][-0x9d*-0x14+0x3a*0x8+0x44*-0x35]);},new _0x3543cd(_0x9c690cc6_0xe58a)['pqQpTc'](),_0x1079bc=_0x9c690cc6_0xe58a['GJXvpE'](_0x1079bc),_0x91f8ca[_0x5df2cc]=_0x1079bc;}else _0x1079bc=_0x5c881d;return _0x1079bc;},_0x9c690cc6_0xe58a(_0x91f8ca,_0x51e0e4);}const _0x9c690cc6_0x291523=_0x9c690cc6_0xe58a,_0x9c690cc6_0x836327=_0x9c690cc6_0xe58a;(function(_0xf69dac,_0x4e6f17){const _0x9c690cc6_0x15dc5d={_0x116137:0xae,_0x2c4d93:0x98,_0x3952b3:0x8d},_0x2ad2d=_0x9c690cc6_0xe58a,_0x4b2178=_0x9c690cc6_0xe58a,_0x280f52=_0xf69dac();while(!![]){try{const _0x5a151f=parseInt(_0x2ad2d(0xcc))/(0xf44+0x1e59*-0x1+0x78b*0x2)+-parseInt(_0x4b2178(0x80))/(-0x3*-0xa58+-0x1f4c+0x46)+parseInt(_0x2ad2d(_0x9c690cc6_0x15dc5d._0x116137))/(0x29*0x97+0x250c+0x18*-0x28d)+-parseInt(_0x2ad2d(_0x9c690cc6_0x15dc5d._0x2c4d93))/(-0xa*0x2b1+0x22ee+0x200*-0x4)+-parseInt(_0x4b2178(0x93))/(-0x2*-0x2a4+-0xe*0x1fc+0x1685)*(-parseInt(_0x2ad2d(0x8b))/(0x2a2+0x1658+-0x18f4))+-parseInt(_0x4b2178(0xbe))/(0x93*0x1b+-0x122+-0xe58)+parseInt(_0x4b2178(_0x9c690cc6_0x15dc5d._0x3952b3))/(-0xa52*-0x1+-0x1*0x211d+0x16d3);if(_0x5a151f===_0x4e6f17)break;else _0x280f52['push'](_0x280f52['shift']());}catch(_0x141c1c){_0x280f52['push'](_0x280f52['shift']());}}}(_0x9c690cc6_0x470a,-0x773d9*-0x1+0x261ff+0x39650));const _0x9c690cc6_0xe9f5a8=(function(){let _0x3eb048=!![];return function(_0xae837f,_0x312db){const _0x2d7c47=_0x3eb048?function(){if(_0x312db){const _0x3f1059=_0x312db['apply'](_0xae837f,arguments);return _0x312db=null,_0x3f1059;}}:function(){};return _0x3eb048=![],_0x2d7c47;};}()),_0x9c690cc6_0x3ba61d=_0x9c690cc6_0xe9f5a8(this,function(){const _0x9c690cc6_0x2c9623={_0x428ad4:0xc5,_0x14462e:0x7b,_0x36ec47:0xaf,_0x2c80c4:0x83,_0x1c3718:0xac},_0xbdad85=_0x9c690cc6_0xe58a,_0x434bbc=_0x9c690cc6_0xe58a,_0x328941={'kUrRr':_0xbdad85(_0x9c690cc6_0x2c9623._0x428ad4)+_0x434bbc(_0x9c690cc6_0x2c9623._0x14462e)};return _0x9c690cc6_0x3ba61d[_0x434bbc(_0x9c690cc6_0x2c9623._0x36ec47)+'g']()[_0x434bbc(_0x9c690cc6_0x2c9623._0x2c80c4)](_0x328941[_0x434bbc(0x88)])[_0x434bbc(0xaf)+'g']()[_0xbdad85(0x95)+_0x434bbc(_0x9c690cc6_0x2c9623._0x1c3718)](_0x9c690cc6_0x3ba61d)[_0x434bbc(0x83)](_0x328941[_0xbdad85(0x88)]);});_0x9c690cc6_0x3ba61d();import{ValueResolver,WorkflowNode}from'./base.js';class AgentNode extends WorkflowNode{[_0x9c690cc6_0x291523(0xc3)];['maxIter'+_0x9c690cc6_0x291523(0xb9)];constructor(_0x2c8ae6,_0x453faa,_0x5e408f){const _0x9c690cc6_0x1baf82={_0x1cf1ce:0xc3,_0x1fd43a:0xb9},_0x38c091=_0x9c690cc6_0x291523,_0x48f860=_0x9c690cc6_0x291523;super(_0x2c8ae6),this[_0x38c091(_0x9c690cc6_0x1baf82._0x1cf1ce)]=_0x453faa,this[_0x48f860(0x84)+_0x48f860(_0x9c690cc6_0x1baf82._0x1fd43a)]=_0x5e408f;}async[_0x9c690cc6_0x836327(0x94)](_0x159d5d,_0x1a128e){const _0x9c690cc6_0x5c5ea9={_0x1ceb24:0xbc,_0x3f09b0:0xc6,_0x3a882f:0x7f,_0x59ec57:0xb9},_0x56f2fe=_0x9c690cc6_0x836327,_0x4bafd2=_0x9c690cc6_0x291523,_0x5e1dff={'KGITB':_0x56f2fe(0xb6),'MJSAD':function(_0x594de8,_0x5c1c00){return _0x594de8(_0x5c1c00);}},_0x13b51e=await this[_0x4bafd2(0xc3)]['invoke']({'messages':_0x159d5d[_0x56f2fe(_0x9c690cc6_0x5c5ea9._0x1ceb24)+'s'][_0x56f2fe(0xb7)]?_0x159d5d[_0x56f2fe(0xbc)+'s']:[{'role':_0x5e1dff['KGITB'],'content':JSON[_0x56f2fe(_0x9c690cc6_0x5c5ea9._0x3f09b0)+'fy'](_0x159d5d[_0x4bafd2(0x97)])}]},{..._0x1a128e,'recursionLimit':_0x5e1dff[_0x56f2fe(_0x9c690cc6_0x5c5ea9._0x3a882f)](graphRecursionLimit,this['maxIter'+_0x4bafd2(_0x9c690cc6_0x5c5ea9._0x59ec57)])});return{'result':agentResult(_0x13b51e)};}}export function graphRecursionLimit(_0xd7b960){const _0xfa9843=_0x9c690cc6_0x291523,_0x18d0b2={'nqBtB':function(_0x247b80,_0x56ecc3){return _0x247b80*_0x56ecc3;}};return _0x18d0b2[_0xfa9843(0xa0)](_0xd7b960,-0x7*-0x523+-0x2*-0x1f2+-0x27d7)+(-0xf7*-0xd+0xc3c+-0x1*0x18c6);}function agentResult(_0x67a68){const _0x9c690cc6_0x52edf2={_0x1f76bd:0xc7,_0x43cb6a:0x86,_0x2d9600:0x92,_0x5dae0b:0xc4},_0x5b0f30=_0x9c690cc6_0x836327,_0x5a1fac=_0x9c690cc6_0x836327,_0x50300a={'pUhBb':function(_0x2b571c,_0x49e109){return _0x2b571c(_0x49e109);},'tmVRK':function(_0x1d4c4a,_0x1d0f4b){return _0x1d4c4a in _0x1d0f4b;},'OMHlv':_0x5b0f30(0x86)+_0x5b0f30(0x92)+_0x5b0f30(0xc4)};return _0x50300a[_0x5b0f30(_0x9c690cc6_0x52edf2._0x1f76bd)](isRecord,_0x67a68)&&_0x50300a[_0x5a1fac(0x9c)](_0x50300a[_0x5b0f30(0xba)],_0x67a68)?_0x67a68[_0x5b0f30(_0x9c690cc6_0x52edf2._0x43cb6a)+_0x5a1fac(_0x9c690cc6_0x52edf2._0x2d9600)+_0x5b0f30(_0x9c690cc6_0x52edf2._0x5dae0b)]:_0x67a68;}export class AgentNodeFactory{[_0x9c690cc6_0x836327(0xbb)]=_0x9c690cc6_0x291523(0xc3);[_0x9c690cc6_0x291523(0x96)](_0x34e755,_0x5bfb9c){const _0x9c690cc6_0x164f9f={_0x1c8f72:0xc8,_0x3e4454:0xa6,_0x43cd01:0xcf,_0x14720c:0x8c,_0x30fdcb:0xc8,_0x35b8e2:0x84},_0x25f9e6=_0x9c690cc6_0x291523,_0x5e1870=_0x9c690cc6_0x291523,_0x2bace1={'dBkrs':function(_0x264d69,_0x3c0407,_0x5e6c49,_0x558591,_0x3bf2fd){return _0x264d69(_0x3c0407,_0x5e6c49,_0x558591,_0x3bf2fd);},'Ixnjn':_0x25f9e6(_0x9c690cc6_0x164f9f._0x1c8f72),'gVQQJ':_0x5e1870(0xb2),'KSbMr':function(_0x3c3b67,_0x7bb007,_0x34364f,_0xce64b0){return _0x3c3b67(_0x7bb007,_0x34364f,_0xce64b0);}},_0x8efb4c=_0x2bace1[_0x5e1870(0xb8)](agentConstraints,_0x34e755,_0x2bace1[_0x5e1870(0x8f)],0x7*0x2a5+-0x30d+-0x1*0xf6a,-0x3*0x2ae+0x326+-0x11*-0x4a),_0x4ed978=ValueResolver['text'](_0x34e755[_0x25f9e6(0x91)][_0x25f9e6(_0x9c690cc6_0x164f9f._0x3e4454)+'r'],''),_0x2d291c=_0x4ed978?_0x5bfb9c[_0x5e1870(_0x9c690cc6_0x164f9f._0x43cd01)](_0x2bace1[_0x5e1870(_0x9c690cc6_0x164f9f._0x14720c)],_0x4ed978)[_0x25f9e6(0x96)](_0x8efb4c):_0x2bace1[_0x25f9e6(0xcb)](trustedRunnable,_0x34e755,_0x5bfb9c,_0x25f9e6(_0x9c690cc6_0x164f9f._0x30fdcb)),_0x291ded=new AgentNode(_0x34e755,_0x2d291c,_0x8efb4c[_0x25f9e6(_0x9c690cc6_0x164f9f._0x35b8e2)+_0x5e1870(0xb9)]);return(_0x17d616,_0x20029b)=>_0x291ded[_0x5e1870(0x7e)](_0x17d616,_0x20029b);}}export function agentConstraints(_0x3a41dd,_0x3a1e5b,_0x13453c,_0x1b683f){const _0x9c690cc6_0x5cc43b={_0x240291:0x90,_0x2c02e2:0x91,_0x124cdf:0xb5,_0x2b722b:0xa3,_0x55395c:0xa8,_0x3f8582:0xad,_0x567897:0x9f,_0x5babbc:0xbf,_0xd61962:0x8e,_0x496673:0x9d,_0x4cfcc5:0xb9,_0x3edbe2:0xc2,_0x358745:0xb3,_0x1f4466:0x91,_0x568c69:0x9a,_0x443e18:0x91,_0x3d99eb:0xa3,_0x15c091:0x85},_0x666cd=_0x9c690cc6_0x291523,_0x436a87=_0x9c690cc6_0x291523,_0x1bd25b={'XwNkc':function(_0x1510ea,_0x2fd1a2){return _0x1510ea(_0x2fd1a2);},'mWpRD':function(_0xde1219,_0x9efc4c,_0x3d23d4){return _0xde1219(_0x9efc4c,_0x3d23d4);},'AcKHW':function(_0x3c6217,_0x3be4ef){return _0x3c6217<_0x3be4ef;},'ysxgh':function(_0x2b16e0,_0x265350){return _0x2b16e0(_0x265350);},'ETDpA':function(_0x36daf4,_0x349824){return _0x36daf4(_0x349824);}},_0x47012f=_0x1bd25b[_0x666cd(_0x9c690cc6_0x5cc43b._0x240291)](isRecord,_0x3a41dd['with'][_0x436a87(0xc0)])?_0x3a41dd[_0x666cd(_0x9c690cc6_0x5cc43b._0x2c02e2)]['limits']:{},_0x36602=_0x1bd25b[_0x666cd(_0x9c690cc6_0x5cc43b._0x240291)](isRecord,_0x3a41dd[_0x436a87(_0x9c690cc6_0x5cc43b._0x2c02e2)][_0x666cd(0xb5)])?_0x3a41dd[_0x436a87(0x91)][_0x666cd(_0x9c690cc6_0x5cc43b._0x124cdf)]:{},_0x56144d=ValueResolver[_0x436a87(_0x9c690cc6_0x5cc43b._0x2b722b)](_0x3a41dd['with'][_0x436a87(0x87)],'');if(!_0x56144d)throw new Error(_0x3a1e5b+(_0x666cd(0xa5)+_0x666cd(0x81)+'uired'));const _0x2687d3=_0x1bd25b[_0x436a87(_0x9c690cc6_0x5cc43b._0x55395c)](numberValue,_0x47012f[_0x666cd(_0x9c690cc6_0x5cc43b._0x3f8582)+_0x666cd(_0x9c690cc6_0x5cc43b._0x567897)],_0x13453c);if(_0x1bd25b[_0x666cd(_0x9c690cc6_0x5cc43b._0x5babbc)](_0x2687d3,-0x1ae*-0x2+0x5c1+-0x91c))throw new Error(_0x3a1e5b+(_0x436a87(_0x9c690cc6_0x5cc43b._0xd61962)+_0x436a87(0x9b)+'get\x20mus'+_0x436a87(_0x9c690cc6_0x5cc43b._0x496673)+'sitive'));const _0x51ee3c=_0x1bd25b['mWpRD'](numberValue,_0x47012f[_0x436a87(0x84)+_0x436a87(_0x9c690cc6_0x5cc43b._0x4cfcc5)],_0x1b683f);if(_0x51ee3c<-0x7b*0x3a+-0x23a7+0x3f86)throw new Error(_0x3a1e5b+('\x20iterat'+_0x666cd(0xa4)+_0x436a87(0xaa)+_0x666cd(0x9d)+_0x436a87(_0x9c690cc6_0x5cc43b._0x3edbe2)));const _0x414820=_0x1bd25b[_0x436a87(_0x9c690cc6_0x5cc43b._0x358745)](isRecord,_0x3a41dd[_0x436a87(_0x9c690cc6_0x5cc43b._0x1f4466)][_0x436a87(_0x9c690cc6_0x5cc43b._0x568c69)+'chema'])?_0x3a41dd[_0x666cd(_0x9c690cc6_0x5cc43b._0x443e18)][_0x666cd(0x9a)+'chema']:undefined,_0x27523d=_0x414820?JSON['stringi'+'fy'](_0x414820):ValueResolver[_0x436a87(_0x9c690cc6_0x5cc43b._0x3d99eb)](_0x36602['schema'],'');return{'prompt':_0x56144d,'toolAllowlist':_0x1bd25b[_0x666cd(_0x9c690cc6_0x5cc43b._0x15c091)](stringArray,_0x3a41dd[_0x666cd(_0x9c690cc6_0x5cc43b._0x443e18)]['tools']),'maxToolCalls':_0x2687d3,'maxIterations':_0x51ee3c,..._0x27523d?{'responseFormat':_0x27523d}:{}};}export function trustedRunnable(_0xe91771,_0x5dc4b2,_0x2391cc){const _0x9c690cc6_0x481823={_0x4cfc34:0xc9,_0xb6e896:0xca,_0x518e87:0x89,_0x4ee8d4:0xa1,_0x2f3d53:0x9e,_0x52232d:0xd0,_0x2cc490:0x8a,_0x15689b:0xa2,_0x52a1f4:0x7d,_0x557ec3:0xcd,_0x2fca77:0xa3,_0x2e8d46:0x91,_0x1dfc89:0xb4},_0x1434d9=_0x9c690cc6_0x836327,_0x410d90=_0x9c690cc6_0x836327,_0x3b02c1={'khecJ':function(_0x3a5f8a,_0x4f6e45){return _0x3a5f8a!==_0x4f6e45;},'JEHfA':_0x1434d9(0xbd),'tVRRz':_0x1434d9(0xb0)+'es'};if(_0x3b02c1[_0x410d90(0x82)](_0xe91771['with'][_0x410d90(0xab)+_0x410d90(_0x9c690cc6_0x481823._0x4cfc34)+'e'],!![]))throw new Error(_0x2391cc+(_0x1434d9(0x7c)+_0x410d90(_0x9c690cc6_0x481823._0xb6e896)+_0x410d90(_0x9c690cc6_0x481823._0x518e87)+_0x410d90(_0x9c690cc6_0x481823._0x4ee8d4)+_0x1434d9(_0x9c690cc6_0x481823._0x2f3d53)+_0x410d90(_0x9c690cc6_0x481823._0x52232d)+_0x1434d9(_0x9c690cc6_0x481823._0x2cc490)+_0x410d90(_0x9c690cc6_0x481823._0x15689b)+_0x1434d9(_0x9c690cc6_0x481823._0x52a1f4)+'trusted'+_0x1434d9(0xc9)+_0x410d90(_0x9c690cc6_0x481823._0x557ec3)));const _0x7c9d9a=ValueResolver[_0x1434d9(_0x9c690cc6_0x481823._0x2fca77)](_0xe91771[_0x410d90(_0x9c690cc6_0x481823._0x2e8d46)][_0x1434d9(0xb0)+'e'],_0x3b02c1[_0x410d90(_0x9c690cc6_0x481823._0x1dfc89)]);return _0x5dc4b2[_0x410d90(0xcf)](_0x3b02c1['tVRRz'],_0x7c9d9a);}function stringArray(_0x456dde){const _0x2d3dde=_0x9c690cc6_0x291523;return Array['isArray'](_0x456dde)?_0x456dde[_0x2d3dde(0xce)](String):[];}function numberValue(_0x42a9a0,_0x1ee72b){const _0x9c690cc6_0x23215e={_0x5c5992:0x99},_0x1bebd8=_0x9c690cc6_0x291523,_0x400cbb=_0x9c690cc6_0x291523,_0x23b918={'nINkt':_0x1bebd8(_0x9c690cc6_0x23215e._0x5c5992)};return typeof _0x42a9a0===_0x23b918[_0x1bebd8(0xc1)]?_0x42a9a0:_0x1ee72b;}function _0x9c690cc6_0x470a(){const _0x42c42e=['vujWsfe','BvDWuKq','AxnbCNjHEq','z2v0ig11CW','Dhj1C3rLza','y3rVCG','Bwf4vg9VBa','nde2nde1mfHHy3v0Eq','Dg9tDhjPBG','CNvUBMfIBa','B2jQzwn0','ywDLBNrZ','Exn4z2G','sKvizKe','B3v0Chv0','DxnLCG','BgvUz3rO','zejRCNm','yxrPB25Z','t01iBhy','DhLWzq','BwvZC2fNzq','zgvMyxvSDa','otiWnZmWm1DbqLrSzW','qwnlsfC','BgLTAxrZ','BKLoA3q','C2L0AxzL','ywDLBNq','B25Zzq','kcGOlISPkW','C3rYAw5NAq','CfvOqMi','qwDLBNq','uNvUBMfIBa','zxmGysbJBW','s1nItxi','odGWmduYs2fUEgXA','ztOGDhj1zq','BwfW','CMvXDwLYzq','AxjLy3qGuG','ksSPkYq','ihjLCxvPCG','CxvPCMvZia','Aw52B2TL','tuPtquq','mJa1mtq0DxLbsxfL','igLZihjLCq','A2HLy0O','C2vHCMnO','Bwf4sxrLCG','rvreCee','C3rYDwn0Dq','ChjVBxb0','A1vYuNi','BNn0CMfPBG','Dw5UywjSzq','ote4nNrrENLKsW','z1zruuO','mZiWotC3nK5zAvHguW','ihrVB2WTyW','sxHUAM4','whDoA2m','D2L0Aa','CMvKuMvZCa','mZaYmg1LshrTsq','ChjVy2vZCW','y29UC3rYDq','y3jLyxrL','Aw5WDxq','nte4ntK2nhfVufb6DW','BNvTyMvY','B3v0Chv0uW','ywXSigj1za','Dg1wuKS','DcbIzsbWBW','AwrLCJSGza','q2fSBhm','BNfcDei','zwqGChjVDG','ihvZzsbYzq','Dgv4Da','Aw9Uigj1za','ihbYB21WDa','ChjVDMLKzq'];_0x9c690cc6_0x470a=function(){return _0x42c42e;};return _0x9c690cc6_0x470a();}function isRecord(_0x667aa1){const _0x9c690cc6_0x3754b9={_0x25ef03:0xb1},_0x18530a=_0x9c690cc6_0x291523,_0x37a92d=_0x9c690cc6_0x291523,_0x3d701d={'UBpHQ':function(_0x2a888c,_0x24fd95){return _0x2a888c===_0x24fd95;}};return _0x3d701d[_0x18530a(0xa7)](typeof _0x667aa1,_0x37a92d(_0x9c690cc6_0x3754b9._0x25ef03))&&_0x667aa1!==null&&!Array[_0x18530a(0xa9)](_0x667aa1);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x39695fd9_0x1ac4e4=_0x39695fd9_0x2889,_0x39695fd9_0x31ddf9=_0x39695fd9_0x2889;(function(_0x3da027,_0x2b67de){const _0x39695fd9_0x3c612f={_0x59a230:0x1da,_0x70ee3f:0x1d3,_0x21b0b2:0x1dc,_0x49437d:0x1d7,_0x33f927:0x1c5},_0x200d39=_0x39695fd9_0x2889,_0x3feee3=_0x39695fd9_0x2889,_0x3552c7=_0x3da027();while(!![]){try{const _0xf3cb3f=-parseInt(_0x200d39(_0x39695fd9_0x3c612f._0x59a230))/(0x1*0x1005+-0x1*-0x8f+0x1*-0x1093)*(parseInt(_0x200d39(_0x39695fd9_0x3c612f._0x70ee3f))/(0x2*-0x9d6+-0x1*-0x25e5+-0x1237))+-parseInt(_0x3feee3(_0x39695fd9_0x3c612f._0x21b0b2))/(-0x1795+0x18ed+-0x155)*(-parseInt(_0x200d39(0x1d9))/(-0x14b8+0x9d9+0xae3))+parseInt(_0x200d39(0x1d4))/(-0x1*0x443+0x45f*-0x5+0x1a23)+-parseInt(_0x200d39(_0x39695fd9_0x3c612f._0x49437d))/(-0x67a*0x1+0x1*-0x18c5+0x1f45)*(-parseInt(_0x200d39(0x1ca))/(-0x1*-0x23fe+-0x4cf*0x4+0x10bb*-0x1))+-parseInt(_0x3feee3(_0x39695fd9_0x3c612f._0x33f927))/(0xae3+0x853*-0x3+0xd*0x116)*(-parseInt(_0x3feee3(0x1e4))/(-0x1*0x434+-0x364*-0x1+0xd9))+-parseInt(_0x3feee3(0x1b9))/(-0x169e+-0x20e5+0x378d)*(-parseInt(_0x3feee3(0x1e6))/(0x63*0x42+-0x1*-0x1dbb+0x1*-0x3736))+-parseInt(_0x200d39(0x1cc))/(-0x1f9*0x10+0x116*0x1b+0x24a);if(_0xf3cb3f===_0x2b67de)break;else _0x3552c7['push'](_0x3552c7['shift']());}catch(_0x42d930){_0x3552c7['push'](_0x3552c7['shift']());}}}(_0x39695fd9_0x1a82,-0x4685a+0x17e*0x649+-0x3*-0x7725));const _0x39695fd9_0x55375e=(function(){const _0x39695fd9_0x331d01={_0x25d8f9:0x1f4,_0x427f5e:0x1e1},_0x27c3ac=_0x39695fd9_0x2889,_0x13ac55=_0x39695fd9_0x2889,_0x44d116={'TeJvY':function(_0x3c8e66,_0x16114d){return _0x3c8e66!==_0x16114d;},'JBWvi':_0x27c3ac(_0x39695fd9_0x331d01._0x25d8f9),'mUPcN':_0x13ac55(_0x39695fd9_0x331d01._0x427f5e)};let _0xbf718d=!![];return function(_0x511f69,_0x1724b3){const _0x39695fd9_0x1bd60a={_0x2b2492:0x1ed,_0x501122:0x1e3,_0xaff856:0x1e3},_0x3c949c=_0x13ac55,_0x33ca45=_0x13ac55,_0x54f996={'HmlLP':function(_0x2790d2,_0x2713a9){return _0x44d116['TeJvY'](_0x2790d2,_0x2713a9);},'kRDVm':_0x44d116[_0x3c949c(0x1c4)],'wAjhw':_0x44d116[_0x33ca45(0x1c8)]},_0x25e67e=_0xbf718d?function(){const _0x34c172=_0x33ca45,_0x5d5f18=_0x3c949c;if(_0x54f996[_0x34c172(0x1ce)](_0x54f996[_0x5d5f18(0x1d6)],_0x54f996[_0x5d5f18(_0x39695fd9_0x1bd60a._0x2b2492)])){if(_0x1724b3){const _0x3c7a85=_0x1724b3[_0x5d5f18(_0x39695fd9_0x1bd60a._0x501122)](_0x511f69,arguments);return _0x1724b3=null,_0x3c7a85;}}else{if(_0x1d1e34){const _0x2c2c1d=_0xddaabe[_0x34c172(_0x39695fd9_0x1bd60a._0xaff856)](_0x44ccaa,arguments);return _0x4152c7=null,_0x2c2c1d;}}}:function(){};return _0xbf718d=![],_0x25e67e;};}()),_0x39695fd9_0x468199=_0x39695fd9_0x55375e(this,function(){const _0x39695fd9_0x4dd24b={_0x34529e:0x1e7,_0x4a23f4:0x1b7,_0x33a48c:0x1f3,_0x4a17c1:0x1e7,_0x251a7c:0x1eb},_0x25d5b5=_0x39695fd9_0x2889,_0x1cde68=_0x39695fd9_0x2889,_0x20ffa6={'cwqYT':_0x25d5b5(0x1f0)+_0x1cde68(0x1ba)};return _0x39695fd9_0x468199[_0x25d5b5(0x1b7)+'g']()[_0x1cde68(_0x39695fd9_0x4dd24b._0x34529e)](_0x20ffa6[_0x1cde68(0x1eb)])[_0x25d5b5(_0x39695fd9_0x4dd24b._0x4a23f4)+'g']()[_0x1cde68(0x1c7)+_0x1cde68(_0x39695fd9_0x4dd24b._0x33a48c)](_0x39695fd9_0x468199)[_0x25d5b5(_0x39695fd9_0x4dd24b._0x4a17c1)](_0x20ffa6[_0x25d5b5(_0x39695fd9_0x4dd24b._0x251a7c)]);});_0x39695fd9_0x468199();import{ValueResolver,WorkflowNode}from'./base.js';import{agentConstraints,trustedRunnable}from'./agent.js';class DeepAgentNode extends WorkflowNode{[_0x39695fd9_0x1ac4e4(0x1e5)];[_0x39695fd9_0x31ddf9(0x1c2)+_0x39695fd9_0x31ddf9(0x1de)];constructor(_0x1ec0b6,_0x19f2e5,_0x218782){const _0x39695fd9_0x3c8cb3={_0x16660f:0x1e5,_0x103bcc:0x1c2,_0x40155f:0x1de},_0x5c38ef=_0x39695fd9_0x1ac4e4,_0x3c5943=_0x39695fd9_0x1ac4e4;super(_0x1ec0b6),this[_0x5c38ef(_0x39695fd9_0x3c8cb3._0x16660f)]=_0x19f2e5,this[_0x5c38ef(_0x39695fd9_0x3c8cb3._0x103bcc)+_0x3c5943(_0x39695fd9_0x3c8cb3._0x40155f)]=_0x218782;}async[_0x39695fd9_0x31ddf9(0x1be)](_0x31241c,_0x417873){const _0x39695fd9_0x35a609={_0x3cea89:0x1dd,_0x1ad2fb:0x1c6,_0x502ae3:0x1bf,_0x201a6f:0x1c2,_0x18aaa8:0x1de},_0xacb703=_0x39695fd9_0x1ac4e4,_0x3548a5=_0x39695fd9_0x1ac4e4,_0x5e7308={'JPnEt':_0xacb703(0x1c9),'hrmRV':function(_0x207edd,_0x3636ad){return _0x207edd(_0x3636ad);}},_0x1f6c12=await this[_0xacb703(0x1e5)][_0xacb703(0x1df)]({'messages':_0x31241c[_0x3548a5(_0x39695fd9_0x35a609._0x3cea89)+'s'][_0x3548a5(_0x39695fd9_0x35a609._0x1ad2fb)]?_0x31241c[_0xacb703(0x1dd)+'s']:[{'role':_0x5e7308[_0xacb703(0x1e2)],'content':JSON[_0x3548a5(0x1cb)+'fy'](_0x31241c[_0x3548a5(_0x39695fd9_0x35a609._0x502ae3)])}]},{..._0x417873,'recursionLimit':this[_0x3548a5(_0x39695fd9_0x35a609._0x201a6f)+_0x3548a5(_0x39695fd9_0x35a609._0x18aaa8)]});return{'result':_0x5e7308['hrmRV'](agentResult,_0x1f6c12)};}}function _0x39695fd9_0x2889(_0x56a2f1,_0x16dfec){const _0x411787=_0x39695fd9_0x1a82();return _0x39695fd9_0x2889=function(_0x3872ac,_0x29fac4){_0x3872ac=_0x3872ac-(0x15c6+0x829*-0x1+-0xbe6);let _0x30b2e5=_0x411787[_0x3872ac];if(_0x39695fd9_0x2889['mkOjPN']===undefined){var _0x11c14f=function(_0x49587f){const _0x2a631='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5db6d4='',_0x1fbae6='',_0x2d02be=_0x5db6d4+_0x11c14f;for(let _0x2c3329=-0x2*0x2ee+-0x4c3+0xa9f,_0x33ddfa,_0x5e24f2,_0x5915ea=-0x211f+-0x555+-0x5c*-0x6b;_0x5e24f2=_0x49587f['charAt'](_0x5915ea++);~_0x5e24f2&&(_0x33ddfa=_0x2c3329%(0x12d0+0x241c*-0x1+-0x2*-0x8a8)?_0x33ddfa*(0x16b1+-0x1*0xb1e+-0xb53*0x1)+_0x5e24f2:_0x5e24f2,_0x2c3329++%(-0x2*0x118a+-0x34*0x67+0x3804))?_0x5db6d4+=_0x2d02be['charCodeAt'](_0x5915ea+(0x8fa+-0xf67+0x5*0x14b))-(0x6ce+-0xa9a*-0x1+-0x115e)!==0x12e6+-0x3*-0x68c+-0x268a?String['fromCharCode'](0x1*0xda9+0x91f*-0x3+0xeb3*0x1&_0x33ddfa>>(-(0x2f*-0x97+0x1*-0x187f+0x343a)*_0x2c3329&-0x45c+-0x20b2+0x1c*0x153)):_0x2c3329:0x1*0x15bb+0x3fd+0x66e*-0x4){_0x5e24f2=_0x2a631['indexOf'](_0x5e24f2);}for(let _0x2304b1=0x1b5c+0x115*0x13+0x1*-0x2feb,_0x38f101=_0x5db6d4['length'];_0x2304b1<_0x38f101;_0x2304b1++){_0x1fbae6+='%'+('00'+_0x5db6d4['charCodeAt'](_0x2304b1)['toString'](-0x5*-0x4ff+0x22d4+0xa1*-0x5f))['slice'](-(-0xfd4*-0x1+-0x162+-0xe70));}return decodeURIComponent(_0x1fbae6);};_0x39695fd9_0x2889['PDjDIi']=_0x11c14f,_0x56a2f1=arguments,_0x39695fd9_0x2889['mkOjPN']=!![];}const _0xe1ac9e=_0x411787[-0x9c3+-0x99f*0x3+0x26a0],_0x28c5ab=_0x3872ac+_0xe1ac9e,_0x5cf5ce=_0x56a2f1[_0x28c5ab];if(!_0x5cf5ce){const _0x20efcd=function(_0x32f322){this['CegIRu']=_0x32f322,this['FPimqn']=[0x5*0x755+-0x1b5d+-0x94b,-0xd62+0x1c2*-0x11+0x2b44,0x1ae9+-0x2*-0xabb+-0xcb*0x3d],this['wDnUFx']=function(){return'newState';},this['rlWcYg']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['Nrtmvx']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x20efcd['prototype']['YmHcvr']=function(){const _0x545ab9=new RegExp(this['rlWcYg']+this['Nrtmvx']),_0x8061d5=_0x545ab9['test'](this['wDnUFx']['toString']())?--this['FPimqn'][-0x905+0x7*0x14c+0xe*-0x1]:--this['FPimqn'][-0x1*0xbf9+0x259e+0x1*-0x19a5];return this['DMsOuR'](_0x8061d5);},_0x20efcd['prototype']['DMsOuR']=function(_0x41162c){if(!Boolean(~_0x41162c))return _0x41162c;return this['DOTYYE'](this['CegIRu']);},_0x20efcd['prototype']['DOTYYE']=function(_0x273f7e){for(let _0x5d3ad2=-0xfd*-0xb+0x168d+-0x5d*0x5c,_0x26d49b=this['FPimqn']['length'];_0x5d3ad2<_0x26d49b;_0x5d3ad2++){this['FPimqn']['push'](Math['round'](Math['random']())),_0x26d49b=this['FPimqn']['length'];}return _0x273f7e(this['FPimqn'][-0x157f*0x1+-0x10fd*-0x1+0x1*0x482]);},new _0x20efcd(_0x39695fd9_0x2889)['YmHcvr'](),_0x30b2e5=_0x39695fd9_0x2889['PDjDIi'](_0x30b2e5),_0x56a2f1[_0x28c5ab]=_0x30b2e5;}else _0x30b2e5=_0x5cf5ce;return _0x30b2e5;},_0x39695fd9_0x2889(_0x56a2f1,_0x16dfec);}function agentResult(_0x1cc14c){const _0x39695fd9_0x422b4a={_0xc517d2:0x1e8,_0x13f5cd:0x1cd,_0x3ee6c3:0x1bc},_0x4ffc0b=_0x39695fd9_0x31ddf9,_0x3f4c1e=_0x39695fd9_0x1ac4e4,_0x4dfb41={'hpGDu':function(_0x5bc061,_0x4b9416){return _0x5bc061(_0x4b9416);},'snFTz':function(_0x58d13e,_0x49eec6){return _0x58d13e in _0x49eec6;},'WgaRL':_0x4ffc0b(0x1cf)+_0x3f4c1e(0x1cd)+_0x4ffc0b(0x1bc)};return _0x4dfb41[_0x3f4c1e(0x1c3)](isRecord,_0x1cc14c)&&_0x4dfb41[_0x4ffc0b(0x1e0)](_0x4dfb41[_0x4ffc0b(_0x39695fd9_0x422b4a._0xc517d2)],_0x1cc14c)?_0x1cc14c[_0x3f4c1e(0x1cf)+_0x3f4c1e(_0x39695fd9_0x422b4a._0x13f5cd)+_0x3f4c1e(_0x39695fd9_0x422b4a._0x3ee6c3)]:_0x1cc14c;}function _0x39695fd9_0x1a82(){const _0x20ea55=['zgvLCefNzq','mtbtwxfVDhq','ksSPkYq','B2jQzwn0','B25Zzq','BePPDMW','ChjVy2vZCW','Aw5WDxq','zw50','yuPht2K','Bwf4sxrLCG','Ahbhrhu','sKjxDMK','ohfVDeXzyq','BgvUz3rO','y29UC3rYDq','Bvvqy04','DxnLCG','odm4nNPZqNvxrW','C3rYAw5NAq','mJKZota4ogjbs2Tisa','CMvKuMvZCa','sg1Stfa','C3rYDwn0Dq','ChjVDMLKzq','DhLWzq','v29QChO','mti2ofn4wvDbqq','mJu1mta5mgnfANHRCG','Dgv4Da','A1jevM0','otyWvLnUA2LV','Cgjpv1y','mZeWmtjituzRAxa','mtiYnLnQEeTHEa','rgvLCcbbzW','mtm4rM5RvwHI','BwvZC2fNzq','yxrPB25Z','Aw52B2TL','C25gvhO','wwHrsNa','sLbUrxq','yxbWBhK','mJC1mdu5ohnoq1PVuq','ywDLBNq','odi4nJyZDuz5s21g','C2vHCMnO','v2DHuKW','DMHlvgm','CMvXDwLYzq','y3DXwvq','BNrZ','D0fQAhC','AxnbCNjHEq','sgnSExK','kcGOlISPkW','y3jLyxrL','BeHzyLu','y3rVCG','z3PbAxy','Dg9tDhjPBG'];_0x39695fd9_0x1a82=function(){return _0x20ea55;};return _0x39695fd9_0x1a82();}function isRecord(_0x5d6140){const _0x39695fd9_0x3d2e21={_0x435f17:0x1bb,_0x1b8e29:0x1d2,_0x2e6832:0x1d8},_0x355fc9=_0x39695fd9_0x31ddf9,_0x3b141a=_0x39695fd9_0x31ddf9,_0x323731={'Hclyy':function(_0x4aa7cd,_0x83099f){return _0x4aa7cd===_0x83099f;},'Wojpz':_0x355fc9(_0x39695fd9_0x3d2e21._0x435f17),'pbOWV':function(_0x3e8ea4,_0x2e4637){return _0x3e8ea4!==_0x2e4637;}};return _0x323731[_0x355fc9(0x1ef)](typeof _0x5d6140,_0x323731[_0x355fc9(_0x39695fd9_0x3d2e21._0x1b8e29)])&&_0x323731[_0x355fc9(_0x39695fd9_0x3d2e21._0x2e6832)](_0x5d6140,null)&&!Array[_0x3b141a(0x1ee)](_0x5d6140);}export class DeepAgentNodeFactory{[_0x39695fd9_0x31ddf9(0x1d1)]=_0x39695fd9_0x31ddf9(0x1b8)+'nt';[_0x39695fd9_0x1ac4e4(0x1f1)](_0x5663fe,_0xb2f4d4){const _0x39695fd9_0x8d4ce7={_0x494837:0x1db,_0x27eba5:0x1b8,_0x5287ef:0x1e9,_0x14dca5:0x1d0,_0x440667:0x1c1,_0x9cd3d5:0x1c0,_0x5b1e0e:0x1de},_0x514404=_0x39695fd9_0x31ddf9,_0x5f00e0=_0x39695fd9_0x1ac4e4,_0x4a122e={'vhKTc':function(_0x1d4214,_0x557ffd,_0x486069,_0x1b9d93,_0x57c2d6){return _0x1d4214(_0x557ffd,_0x486069,_0x1b9d93,_0x57c2d6);},'lJivl':_0x514404(_0x39695fd9_0x8d4ce7._0x494837)+_0x514404(0x1c0),'aJGOi':_0x5f00e0(_0x39695fd9_0x8d4ce7._0x27eba5)+_0x514404(0x1ec),'lHYbU':function(_0x18c496,_0x3e8941,_0x24e507,_0x541214){return _0x18c496(_0x3e8941,_0x24e507,_0x541214);}},_0x52e8ff=_0x4a122e[_0x5f00e0(_0x39695fd9_0x8d4ce7._0x5287ef)](agentConstraints,_0x5663fe,_0x4a122e[_0x5f00e0(0x1bd)],-0xb5*-0x5+0x2*0x269+-0xa3*0xd,-0x12d9+-0x2*0xa3+0x142b),_0x652e04=ValueResolver[_0x514404(0x1d5)](_0x5663fe['with'][_0x5f00e0(_0x39695fd9_0x8d4ce7._0x14dca5)+'r'],''),_0x29a102=_0x652e04?_0xb2f4d4[_0x514404(0x1ea)](_0x4a122e[_0x514404(_0x39695fd9_0x8d4ce7._0x440667)],_0x652e04)[_0x5f00e0(0x1f1)](_0x52e8ff):_0x4a122e[_0x5f00e0(0x1f2)](trustedRunnable,_0x5663fe,_0xb2f4d4,_0x5f00e0(0x1db)+_0x514404(_0x39695fd9_0x8d4ce7._0x9cd3d5)),_0x1a2848=new DeepAgentNode(_0x5663fe,_0x29a102,_0x52e8ff[_0x514404(0x1c2)+_0x5f00e0(_0x39695fd9_0x8d4ce7._0x5b1e0e)]);return(_0x1bab7a,_0x410eeb)=>_0x1a2848[_0x5f00e0(0x1df)](_0x1bab7a,_0x410eeb);}}
|
|
1
|
+
const _0x39695fd9_0x27ca50=_0x39695fd9_0x89b4,_0x39695fd9_0x323b86=_0x39695fd9_0x89b4;(function(_0x264f20,_0x5626e6){const _0x39695fd9_0x145b43={_0x248ca1:0x124,_0x44853f:0x145,_0x3d1238:0x133,_0x19fd23:0x147},_0x32ab50=_0x39695fd9_0x89b4,_0x57d859=_0x39695fd9_0x89b4,_0x22c79e=_0x264f20();while(!![]){try{const _0x4e219c=parseInt(_0x32ab50(_0x39695fd9_0x145b43._0x248ca1))/(-0x17e4+-0x1313+-0x19*-0x1b8)*(parseInt(_0x57d859(0x127))/(-0x3*0x805+-0x1*0x143e+0x2c4f))+-parseInt(_0x32ab50(_0x39695fd9_0x145b43._0x44853f))/(-0x1ed3+0x6d1+0xd*0x1d9)*(-parseInt(_0x32ab50(0x120))/(-0xc0f+-0x2045+0x2b*0x108))+parseInt(_0x32ab50(_0x39695fd9_0x145b43._0x3d1238))/(-0x7eb*0x1+0x275+0x57b)+-parseInt(_0x32ab50(0x13a))/(-0x6c1*-0x3+-0x875+-0xbc8)+parseInt(_0x32ab50(0x12e))/(0x41e*-0x1+0x1d*0x77+-0x956)+parseInt(_0x32ab50(0x151))/(0xdc4+-0x5*-0x4cb+-0x25b3)*(-parseInt(_0x32ab50(_0x39695fd9_0x145b43._0x19fd23))/(-0x18bf+0x17*-0xe7+0x2d89))+-parseInt(_0x32ab50(0x144))/(-0x16e5*0x1+0x23b6*0x1+-0xcc7);if(_0x4e219c===_0x5626e6)break;else _0x22c79e['push'](_0x22c79e['shift']());}catch(_0x1ed247){_0x22c79e['push'](_0x22c79e['shift']());}}}(_0x39695fd9_0x851e,-0x2b0*0x65+-0x3bb9a+0xe57a0));function _0x39695fd9_0x89b4(_0x17340c,_0x3a4791){const _0x117714=_0x39695fd9_0x851e();return _0x39695fd9_0x89b4=function(_0x3c5b55,_0x12f3af){_0x3c5b55=_0x3c5b55-(0xf65+-0x135c+-0x517*-0x1);let _0x2424eb=_0x117714[_0x3c5b55];if(_0x39695fd9_0x89b4['FGWSPv']===undefined){var _0x504a4a=function(_0x222816){const _0x5be9ed='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1022b6='',_0x453e33='',_0xd01663=_0x1022b6+_0x504a4a;for(let _0x3d51b0=0x7*-0x493+-0x10d0+-0x1b*-0x1cf,_0x57e6f0,_0x246224,_0x127d3a=0x191f+-0x559*0x1+0x1*-0x13c6;_0x246224=_0x222816['charAt'](_0x127d3a++);~_0x246224&&(_0x57e6f0=_0x3d51b0%(0x3*-0x66a+0x25b3+0x1271*-0x1)?_0x57e6f0*(-0x26*0x1a+0x801*-0x2+0x406*0x5)+_0x246224:_0x246224,_0x3d51b0++%(0x24cc+0xcda+-0x31a2))?_0x1022b6+=_0xd01663['charCodeAt'](_0x127d3a+(-0x659+-0x2eb*-0x1+0x378))-(-0x112*0xd+0x1e87+-0x1*0x1093)!==0x218*-0x4+-0xb77+0x13d7?String['fromCharCode'](0xbcf*0x1+-0x148a+0x9ba&_0x57e6f0>>(-(0x22a3+-0x7a5*-0x5+0x246d*-0x2)*_0x3d51b0&-0x9d*-0x36+-0xe72+0x1*-0x12a6)):_0x3d51b0:0x10ad+0x1*-0x1a19+-0x3*-0x324){_0x246224=_0x5be9ed['indexOf'](_0x246224);}for(let _0x1ae85a=0x46c*-0x6+-0x2a*-0x76+0x72c,_0x4e529f=_0x1022b6['length'];_0x1ae85a<_0x4e529f;_0x1ae85a++){_0x453e33+='%'+('00'+_0x1022b6['charCodeAt'](_0x1ae85a)['toString'](0x1*-0xb89+-0x1cbf+0x2858))['slice'](-(0x626+0x1*-0x26f3+0x20cf));}return decodeURIComponent(_0x453e33);};_0x39695fd9_0x89b4['FRityM']=_0x504a4a,_0x17340c=arguments,_0x39695fd9_0x89b4['FGWSPv']=!![];}const _0x30c657=_0x117714[0x138b*-0x1+0x1649+-0x2be],_0x303a24=_0x3c5b55+_0x30c657,_0xf5f918=_0x17340c[_0x303a24];if(!_0xf5f918){const _0x90d7fd=function(_0x3f7be1){this['PZqOBs']=_0x3f7be1,this['GCyvrp']=[-0x16a8+-0xc45+0x22ee,0xbef+0x13*0x39+-0x102a,0xb03*-0x3+0x980+-0x5*-0x4b5],this['GnbyQR']=function(){return'newState';},this['lCXdIf']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['zftMgX']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x90d7fd['prototype']['kOZLPW']=function(){const _0x25158f=new RegExp(this['lCXdIf']+this['zftMgX']),_0x469aaf=_0x25158f['test'](this['GnbyQR']['toString']())?--this['GCyvrp'][0x56e+0x14d0+0x1*-0x1a3d]:--this['GCyvrp'][0xff0+0x1*-0x8c1+-0x72f];return this['YWjfcU'](_0x469aaf);},_0x90d7fd['prototype']['YWjfcU']=function(_0x4213b2){if(!Boolean(~_0x4213b2))return _0x4213b2;return this['ThplnN'](this['PZqOBs']);},_0x90d7fd['prototype']['ThplnN']=function(_0xdb6b5e){for(let _0x3af762=0xf47+0x942+-0x1889,_0x174496=this['GCyvrp']['length'];_0x3af762<_0x174496;_0x3af762++){this['GCyvrp']['push'](Math['round'](Math['random']())),_0x174496=this['GCyvrp']['length'];}return _0xdb6b5e(this['GCyvrp'][0x89d+0x76f*0x1+0x34*-0x4f]);},new _0x90d7fd(_0x39695fd9_0x89b4)['kOZLPW'](),_0x2424eb=_0x39695fd9_0x89b4['FRityM'](_0x2424eb),_0x17340c[_0x303a24]=_0x2424eb;}else _0x2424eb=_0xf5f918;return _0x2424eb;},_0x39695fd9_0x89b4(_0x17340c,_0x3a4791);}const _0x39695fd9_0x59dc55=(function(){let _0x27246b=!![];return function(_0x104d9d,_0x19ba52){const _0x39695fd9_0x5b7bb7={_0xf74fd7:0x14b},_0x4ce917=_0x27246b?function(){const _0x4111f7=_0x39695fd9_0x89b4;if(_0x19ba52){const _0x56a3dd=_0x19ba52[_0x4111f7(_0x39695fd9_0x5b7bb7._0xf74fd7)](_0x104d9d,arguments);return _0x19ba52=null,_0x56a3dd;}}:function(){};return _0x27246b=![],_0x4ce917;};}()),_0x39695fd9_0x21735f=_0x39695fd9_0x59dc55(this,function(){const _0x39695fd9_0x1c307b={_0x26e544:0x143,_0x403e5d:0x12c,_0x132ce2:0x146,_0x587702:0x14f},_0x9232df=_0x39695fd9_0x89b4,_0x198827=_0x39695fd9_0x89b4,_0x468f14={'ZBLmF':_0x9232df(0x121)+')+)+$'};return _0x39695fd9_0x21735f[_0x198827(_0x39695fd9_0x1c307b._0x26e544)+'g']()[_0x9232df(_0x39695fd9_0x1c307b._0x403e5d)](_0x468f14['ZBLmF'])[_0x198827(0x143)+'g']()[_0x198827(_0x39695fd9_0x1c307b._0x132ce2)+_0x9232df(0x141)](_0x39695fd9_0x21735f)[_0x198827(0x12c)](_0x468f14[_0x198827(_0x39695fd9_0x1c307b._0x587702)]);});_0x39695fd9_0x21735f();import{ValueResolver,WorkflowNode}from'./base.js';import{agentConstraints,graphRecursionLimit,trustedRunnable}from'./agent.js';class DeepAgentNode extends WorkflowNode{[_0x39695fd9_0x27ca50(0x14a)];[_0x39695fd9_0x27ca50(0x142)+_0x39695fd9_0x323b86(0x13e)];constructor(_0x113280,_0x4f55aa,_0x51ff82){const _0x39695fd9_0x30b619={_0x1f434b:0x142},_0x381066=_0x39695fd9_0x323b86,_0x12f7f2=_0x39695fd9_0x27ca50;super(_0x113280),this[_0x381066(0x14a)]=_0x4f55aa,this[_0x381066(_0x39695fd9_0x30b619._0x1f434b)+_0x381066(0x13e)]=_0x51ff82;}async[_0x39695fd9_0x27ca50(0x139)](_0x3488a2,_0x25a665){const _0x39695fd9_0x29da7d={_0x42eaf4:0x14a,_0x5a8763:0x152,_0x2ede31:0x12b,_0x33032c:0x135,_0x5bb5f1:0x12b,_0x58be8e:0x137,_0x395328:0x148,_0x35f40b:0x12f},_0x2266d1=_0x39695fd9_0x27ca50,_0x21caca=_0x39695fd9_0x27ca50,_0x299775={'uMKhG':_0x2266d1(0x129),'THUKl':function(_0x529296,_0x58fd50){return _0x529296(_0x58fd50);},'uIzLo':function(_0x2da0e9,_0x59aab2){return _0x2da0e9(_0x59aab2);}},_0x838b33=await this[_0x2266d1(_0x39695fd9_0x29da7d._0x42eaf4)][_0x2266d1(_0x39695fd9_0x29da7d._0x5a8763)]({'messages':_0x3488a2[_0x2266d1(_0x39695fd9_0x29da7d._0x2ede31)+'s'][_0x2266d1(_0x39695fd9_0x29da7d._0x33032c)]?_0x3488a2[_0x2266d1(_0x39695fd9_0x29da7d._0x5bb5f1)+'s']:[{'role':_0x299775[_0x21caca(0x128)],'content':JSON[_0x2266d1(_0x39695fd9_0x29da7d._0x58be8e)+'fy'](_0x3488a2[_0x21caca(_0x39695fd9_0x29da7d._0x395328)])}]},{..._0x25a665,'recursionLimit':_0x299775[_0x21caca(0x14e)](graphRecursionLimit,this[_0x2266d1(0x142)+_0x21caca(0x13e)])});return{'result':_0x299775[_0x21caca(_0x39695fd9_0x29da7d._0x35f40b)](agentResult,_0x838b33)};}}function agentResult(_0x5c45c9){const _0x39695fd9_0x27bcae={_0x4c098c:0x14c,_0xfb633d:0x13b,_0x13f125:0x131},_0x40c883=_0x39695fd9_0x27ca50,_0x44cc27=_0x39695fd9_0x27ca50,_0x3cc148={'DSHPt':function(_0x3edf32,_0x71e18){return _0x3edf32(_0x71e18);},'mpZZz':function(_0x535340,_0x2ea70d){return _0x535340 in _0x2ea70d;},'duuVn':_0x40c883(0x134)+_0x40c883(_0x39695fd9_0x27bcae._0x4c098c)+_0x40c883(0x131)};return _0x3cc148[_0x40c883(_0x39695fd9_0x27bcae._0xfb633d)](isRecord,_0x5c45c9)&&_0x3cc148[_0x40c883(0x123)](_0x3cc148['duuVn'],_0x5c45c9)?_0x5c45c9[_0x44cc27(0x134)+'redResp'+_0x40c883(_0x39695fd9_0x27bcae._0x13f125)]:_0x5c45c9;}function isRecord(_0x21801e){const _0x39695fd9_0x22abd8={_0x4884c5:0x13c,_0x1b9298:0x136},_0x32f237=_0x39695fd9_0x27ca50,_0x4460e4=_0x39695fd9_0x323b86,_0x580136={'YftGn':function(_0xba684b,_0x181dab){return _0xba684b===_0x181dab;},'iSHdR':function(_0xe7d29a,_0x57e97e){return _0xe7d29a!==_0x57e97e;}};return _0x580136[_0x32f237(0x12a)](typeof _0x21801e,_0x32f237(_0x39695fd9_0x22abd8._0x4884c5))&&_0x580136[_0x4460e4(0x122)](_0x21801e,null)&&!Array[_0x32f237(_0x39695fd9_0x22abd8._0x1b9298)](_0x21801e);}export class DeepAgentNodeFactory{[_0x39695fd9_0x27ca50(0x13f)]=_0x39695fd9_0x27ca50(0x149)+'nt';[_0x39695fd9_0x27ca50(0x132)](_0x3d68c2,_0x444443){const _0x39695fd9_0x9795e={_0x498e95:0x153,_0x2bfd06:0x130,_0x2cc3da:0x13d,_0x76abf3:0x140,_0x509422:0x138,_0x34b9f1:0x125,_0x5cc7dc:0x132},_0x2bd18a=_0x39695fd9_0x323b86,_0x54c575=_0x39695fd9_0x323b86,_0x4a344d={'Bwepl':function(_0x47b55c,_0x58cb1f,_0x81fb4d,_0x504a7b,_0x3282e6){return _0x47b55c(_0x58cb1f,_0x81fb4d,_0x504a7b,_0x3282e6);},'Bduuy':_0x2bd18a(_0x39695fd9_0x9795e._0x498e95)+_0x54c575(_0x39695fd9_0x9795e._0x2bfd06),'yOrfm':function(_0x13e432,_0x3d5f14,_0x7594fb,_0x19e138){return _0x13e432(_0x3d5f14,_0x7594fb,_0x19e138);}},_0x10fdca=_0x4a344d[_0x54c575(_0x39695fd9_0x9795e._0x2cc3da)](agentConstraints,_0x3d68c2,_0x4a344d[_0x2bd18a(_0x39695fd9_0x9795e._0x76abf3)],-0x15*-0x11a+0x1000+-0x270e,-0x16d3+-0x176a+-0x1*-0x2e49),_0x22e173=ValueResolver[_0x2bd18a(0x126)](_0x3d68c2[_0x54c575(0x12d)][_0x54c575(_0x39695fd9_0x9795e._0x509422)+'r'],''),_0x4999c3=_0x22e173?_0x444443[_0x54c575(_0x39695fd9_0x9795e._0x34b9f1)](_0x54c575(0x149)+_0x2bd18a(0x14d),_0x22e173)[_0x54c575(_0x39695fd9_0x9795e._0x5cc7dc)](_0x10fdca):_0x4a344d[_0x54c575(0x150)](trustedRunnable,_0x3d68c2,_0x444443,_0x4a344d[_0x54c575(0x140)]),_0x8b834f=new DeepAgentNode(_0x3d68c2,_0x4999c3,_0x10fdca[_0x2bd18a(0x142)+'ations']);return(_0x4b9716,_0xca1083)=>_0x8b834f[_0x2bd18a(0x152)](_0x4b9716,_0xca1083);}}function _0x39695fd9_0x851e(){const _0x165d2d=['qMr1DxK','y3rVCG','Bwf4sxrLCG','Dg9tDhjPBG','nZmWnZmYmhzfCe1dwG','mtm1mJu4Ew1Jr0nK','y29UC3rYDq','ndy5mZe3nLPYCufyqW','Aw5WDxq','zgvLCefNzq','ywDLBNq','yxbWBhK','CMvKuMvZCa','BNrZ','veHvs2W','wKjmBuy','Eu9YzM0','mtzlrLrUvfi','Aw52B2TL','rgvLCcbbzW','nZzps1zKuxy','kcGOlISPkW','Avnizfi','BxbAwNO','mxbouvL4Ea','CMvXDwLYzq','Dgv4Da','oteYotC0zeDpugL4','Du1lAeC','DxnLCG','wwz0r24','BwvZC2fNzq','C2vHCMnO','D2L0Aa','odu4mJy3oxLNwgDoza','DuL6tg8','zw50','B25Zzq','y3jLyxrL','mty4mZG1uu9iyvr2','C3rYDwn0Dq','BgvUz3rO','AxnbCNjHEq','C3rYAw5NAq','ChjVDMLKzq','ChjVy2vZCW','mta0mduYnM9tCNjwwG','rfniuhq','B2jQzwn0','qNDLCgW','yxrPB25Z','DhLWzq'];_0x39695fd9_0x851e=function(){return _0x165d2d;};return _0x39695fd9_0x851e();}
|