@picoflow/core 1.0.7 → 1.0.10

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/README.md CHANGED
@@ -29,10 +29,6 @@ We will be happy to provide a short term license key for evaluation purposes.
29
29
 
30
30
  For more detailed documentation, please refer to the [doc](./doc) folder.
31
31
 
32
- ## Keywords
33
-
34
- llm, langchain, flow, ai, chatbot , agent, purposeful, conversational
35
-
36
32
  ## License
37
33
 
38
34
  Proprietarily Licensed. Copyright (c) 2026 picoflow.io
@@ -1 +1 @@
1
- const a0_0x4a62af=a0_0x1a91;(function(_0x44b598,_0x332ff8){const _0x4790a5=a0_0x1a91,_0x271a65=_0x44b598();while(!![]){try{const _0x1686b8=-parseInt(_0x4790a5(0x11d))/0x1+parseInt(_0x4790a5(0xf6))/0x2*(-parseInt(_0x4790a5(0x10a))/0x3)+parseInt(_0x4790a5(0x11f))/0x4*(-parseInt(_0x4790a5(0x118))/0x5)+-parseInt(_0x4790a5(0x103))/0x6+-parseInt(_0x4790a5(0x130))/0x7+-parseInt(_0x4790a5(0xf9))/0x8*(parseInt(_0x4790a5(0x110))/0x9)+parseInt(_0x4790a5(0x109))/0xa;if(_0x1686b8===_0x332ff8)break;else _0x271a65['push'](_0x271a65['shift']());}catch(_0xc28b4a){_0x271a65['push'](_0x271a65['shift']());}}}(a0_0x5f43,0x5e802));const a0_0x19b31f=(function(){const _0x42e757=a0_0x1a91,_0x307f6a={'ZvQND':function(_0x50a95a,_0xcf0a2f){return _0x50a95a===_0xcf0a2f;},'gUehO':_0x42e757(0x115),'ECiGt':'KdZcz'};let _0x361bfb=!![];return function(_0xebe4d9,_0x4be6cd){const _0x26a541=_0x42e757;if(_0x307f6a[_0x26a541(0x114)](_0x307f6a[_0x26a541(0x129)],_0x307f6a[_0x26a541(0x10f)])){const _0x12c264=_0x2c8bd5[_0x26a541(0xf7)]?.[_0x26a541(0x127)]?.['message']||_0x48ba28[_0x26a541(0x128)];return _0x1da325[_0x26a541(0x107)](new _0x364d16(_0x12c264));}else{const _0x3bbfdf=_0x361bfb?function(){const _0x1f9b72=_0x26a541;if(_0x4be6cd){const _0x4f8eaf=_0x4be6cd[_0x1f9b72(0x136)](_0xebe4d9,arguments);return _0x4be6cd=null,_0x4f8eaf;}}:function(){};return _0x361bfb=![],_0x3bbfdf;}};}()),a0_0x26c1f4=a0_0x19b31f(this,function(){const _0x2f4860=a0_0x1a91,_0xe01f73={'WnDXp':_0x2f4860(0x10b)};return a0_0x26c1f4[_0x2f4860(0x11b)]()['search'](_0x2f4860(0x10b))['toString']()[_0x2f4860(0x121)](a0_0x26c1f4)[_0x2f4860(0x124)](_0xe01f73[_0x2f4860(0x104)]);});function a0_0x5f43(){const _0x5d046c=['105KjRkxb','create','DMsVq','toString','OmETy','619051QqFBEc','use','59308UNccBg','defineProperty','constructor','HAoCQ','mnvzC','search','HttpStatus','setup','data','message','gUehO','LMXsB','validateStatus','statusCode','ytAPO','MiCSQ','QjcKT','3836812jGzXCj','defaults','__esModule','sgbbB','znpai','sZfFO','apply','patch','HttpClient','34vqPbBG','response','DhSYH','11912QTvnCy','headers','MDXIA','hdhWt','removeHeader','wuGdN','VSyHV','OeLQV','axios','__importDefault','748962vnTrty','WnDXp','get','setHeader','reject','NWnLg','28242290aUilxc','51231CXbkma','(((.+)+)+)+$','interceptors','tYKUN','hBloX','ECiGt','3285SLazWD','kKCzJ','delete','client','ZvQND','PCeAM','put','Cxpqj'];a0_0x5f43=function(){return _0x5d046c;};return a0_0x5f43();}a0_0x26c1f4();'use strict';function a0_0x1a91(_0x26d188,_0xde5035){const _0x2ef29c=a0_0x5f43();return a0_0x1a91=function(_0x26c1f4,_0x19b31f){_0x26c1f4=_0x26c1f4-0xf4;let _0x5f43f0=_0x2ef29c[_0x26c1f4];return _0x5f43f0;},a0_0x1a91(_0x26d188,_0xde5035);}var __importDefault=this&&this[a0_0x4a62af(0x102)]||function(_0x2ef0dd){const _0x30be34=a0_0x4a62af;return _0x2ef0dd&&_0x2ef0dd[_0x30be34(0x132)]?_0x2ef0dd:{'default':_0x2ef0dd};};Object[a0_0x4a62af(0x120)](exports,'__esModule',{'value':!![]}),exports[a0_0x4a62af(0xf5)]=void 0x0;const common_1=require('@nestjs/common'),axios_1=__importDefault(require(a0_0x4a62af(0x101)));class HttpClient{constructor(_0x2a1259,_0x4bf24d={},_0x173fbc){const _0x3b2343=a0_0x4a62af,_0x197216={'hdhWt':function(_0xea2a21,_0x1072e1){return _0xea2a21!==_0x1072e1;},'NWnLg':_0x3b2343(0x12d)};this['client']=axios_1['default'][_0x3b2343(0x119)]({'baseURL':_0x2a1259,'timeout':_0x173fbc,'headers':_0x4bf24d}),this[_0x3b2343(0x113)][_0x3b2343(0x10c)]['request'][_0x3b2343(0x11e)](_0x582108=>{const _0x2aed2c=_0x3b2343;if(_0x197216[_0x2aed2c(0xfc)](_0x2aed2c(0x133),_0x197216[_0x2aed2c(0x108)]))return _0x582108;else{_0x3ce670['statusCode']=_0x9ae78b;throw _0x1d3d1e;}},_0x206971=>Promise[_0x3b2343(0x107)](_0x206971)),this[_0x3b2343(0x113)][_0x3b2343(0x10c)][_0x3b2343(0xf7)][_0x3b2343(0x11e)](_0x5c602c=>_0x5c602c[_0x3b2343(0x127)],_0x4dbce8=>{const _0x69ec7d=_0x3b2343,_0x4cc2b0=_0x4dbce8[_0x69ec7d(0xf7)]?.[_0x69ec7d(0x127)]?.[_0x69ec7d(0x128)]||_0x4dbce8['message'];return Promise['reject'](new Error(_0x4cc2b0));});}async[a0_0x4a62af(0x105)](_0x19b0e6,_0x86da87={},_0x577689){const _0x8d6980=a0_0x4a62af,_0x4cdf1e={'OmETy':function(_0x51df9d,_0x35586f){return _0x51df9d>=_0x35586f;},'OeLQV':_0x8d6980(0x10e)};let _0x42e587=common_1['HttpStatus']['OK'];const _0x2879ee=_0x577689??{};_0x2879ee[_0x8d6980(0x12b)]=_0x38466a=>{const _0x54f488=_0x8d6980;return _0x42e587=_0x38466a,_0x4cdf1e[_0x54f488(0x11c)](_0x38466a,common_1[_0x54f488(0x125)]['OK'])&&_0x38466a<0x12c;};try{if(_0x4cdf1e['OeLQV']===_0x4cdf1e[_0x8d6980(0x100)]){const _0x45e7c6=await this[_0x8d6980(0x113)][_0x8d6980(0x105)](_0x19b0e6,{'params':_0x86da87,..._0x2879ee});return _0x45e7c6;}else{if(_0x418ff2){const _0x3390c2=_0x4905eb[_0x8d6980(0x136)](_0x205f35,arguments);return _0x4c3d1c=null,_0x3390c2;}}}catch(_0x3917ff){_0x3917ff[_0x8d6980(0x12c)]=_0x42e587;throw _0x3917ff;}}async['post'](_0x32eb3b,_0x59c994={},_0x28fb8e){const _0x1fb549=a0_0x4a62af;return this[_0x1fb549(0x126)](this['client']['post'],_0x32eb3b,_0x59c994,_0x28fb8e);}async[a0_0x4a62af(0x116)](_0x396040,_0x1fa7c8={},_0x494630){const _0x29f1d1=a0_0x4a62af;return this[_0x29f1d1(0x126)](this[_0x29f1d1(0x113)][_0x29f1d1(0x116)],_0x396040,_0x1fa7c8,_0x494630);}async[a0_0x4a62af(0x112)](_0x40ad3c,_0x264357){const _0x54ad8c=a0_0x4a62af,_0x4443bb={'VSyHV':function(_0x242f55,_0x22b149){return _0x242f55>=_0x22b149;},'nwdIR':function(_0x260a52,_0x19dca4){return _0x260a52<_0x19dca4;},'MDXIA':function(_0x267f3b,_0x540dc2){return _0x267f3b??_0x540dc2;}};let _0x50c134=common_1['HttpStatus']['OK'];const _0x4bb9d0=_0x4443bb[_0x54ad8c(0xfb)](_0x264357,{});_0x4bb9d0[_0x54ad8c(0x12b)]=_0x35fb81=>{const _0x3b12be=_0x54ad8c;return _0x50c134=_0x35fb81,_0x4443bb[_0x3b12be(0xff)](_0x35fb81,common_1[_0x3b12be(0x125)]['OK'])&&_0x4443bb['nwdIR'](_0x35fb81,0x12c);};try{const _0x14882b=await this[_0x54ad8c(0x113)][_0x54ad8c(0x112)](_0x40ad3c,{..._0x264357});return _0x14882b;}catch(_0x3c7a63){_0x3c7a63[_0x54ad8c(0x12c)]=_0x50c134;throw _0x3c7a63;}}async['patch'](_0x31d1f5,_0x4831cc={},_0x3ab8e9){const _0x19477f=a0_0x4a62af;return this[_0x19477f(0x126)](this[_0x19477f(0x113)][_0x19477f(0xf4)],_0x31d1f5,_0x4831cc,_0x3ab8e9);}[a0_0x4a62af(0x106)](_0xaa82ee,_0x434107){const _0x44c1a0=a0_0x4a62af;this[_0x44c1a0(0x113)]['defaults'][_0x44c1a0(0xfa)]['common'][_0xaa82ee]=_0x434107;}[a0_0x4a62af(0xfd)](_0x164062){const _0x4173fb=a0_0x4a62af;delete this[_0x4173fb(0x113)][_0x4173fb(0x131)]['headers']['common'][_0x164062];}async[a0_0x4a62af(0x126)](_0x595fb9,_0x1e8df3,_0x19c1b4={},_0x32a45e){const _0x44a748=a0_0x4a62af,_0x51ba99={'Cxpqj':function(_0x29c490,_0x82ba48){return _0x29c490!==_0x82ba48;},'kKCzJ':_0x44a748(0x12f),'DhSYH':function(_0xdfaf8,_0x42bf1c){return _0xdfaf8>=_0x42bf1c;},'mnvzC':_0x44a748(0x10b),'sZfFO':function(_0x59e99d,_0x799252){return _0x59e99d??_0x799252;},'IWsiq':_0x44a748(0x10d),'MiCSQ':'JyVet','znpai':function(_0xf29e39,_0x47d8f3,_0x198c75,_0x36c78f){return _0xf29e39(_0x47d8f3,_0x198c75,_0x36c78f);},'wuGdN':function(_0xd542f2,_0x3b9528){return _0xd542f2!==_0x3b9528;},'DMsVq':_0x44a748(0x12a)};let _0x5905fd=common_1[_0x44a748(0x125)]['OK'];const _0xc8bcee=_0x51ba99[_0x44a748(0x135)](_0x32a45e,{});_0xc8bcee[_0x44a748(0x12b)]=_0x39f32b=>{const _0x78a89a=_0x44a748;if(_0x51ba99[_0x78a89a(0x117)](_0x51ba99[_0x78a89a(0x111)],_0x51ba99[_0x78a89a(0x111)]))delete this[_0x78a89a(0x113)][_0x78a89a(0x131)]['headers']['common'][_0x51dab8];else return _0x5905fd=_0x39f32b,_0x51ba99[_0x78a89a(0xf8)](_0x39f32b,common_1['HttpStatus']['OK'])&&_0x39f32b<0x12c;};try{if(_0x51ba99[_0x44a748(0x117)](_0x51ba99['IWsiq'],_0x51ba99[_0x44a748(0x12e)])){const _0x439ea8=await _0x51ba99[_0x44a748(0x134)](_0x595fb9,_0x1e8df3,_0x19c1b4,{..._0xc8bcee});return _0x439ea8;}else return this[_0x44a748(0x126)](this[_0x44a748(0x113)][_0x44a748(0xf4)],_0x4a668f,_0x478f75,_0x4e8325);}catch(_0x2608e8){if(_0x51ba99[_0x44a748(0xfe)](_0x44a748(0x122),_0x51ba99[_0x44a748(0x11a)])){_0x2608e8[_0x44a748(0x12c)]=_0x5905fd;throw _0x2608e8;}else return _0x17291d['toString']()['search'](nZdQkC['mnvzC'])[_0x44a748(0x11b)]()['constructor'](_0x2c754d)[_0x44a748(0x124)](nZdQkC[_0x44a748(0x123)]);}}}exports[a0_0x4a62af(0xf5)]=HttpClient;
1
+ const a0_0x3a4859=a0_0x337a;(function(_0x4c505f,_0x21fc62){const _0x150c75=a0_0x337a,_0x12bfd5=_0x4c505f();while(!![]){try{const _0x4346a1=parseInt(_0x150c75(0xe3))/0x1+parseInt(_0x150c75(0x126))/0x2*(parseInt(_0x150c75(0x110))/0x3)+parseInt(_0x150c75(0xe9))/0x4+-parseInt(_0x150c75(0x11f))/0x5*(parseInt(_0x150c75(0x10a))/0x6)+parseInt(_0x150c75(0x114))/0x7+parseInt(_0x150c75(0x10e))/0x8+parseInt(_0x150c75(0x10d))/0x9*(-parseInt(_0x150c75(0x111))/0xa);if(_0x4346a1===_0x21fc62)break;else _0x12bfd5['push'](_0x12bfd5['shift']());}catch(_0x5c852f){_0x12bfd5['push'](_0x12bfd5['shift']());}}}(a0_0x1478,0xd9389));const a0_0x33f1a9=(function(){const _0x42188e=a0_0x337a,_0x5a6604={'xtxRv':function(_0x3afd53,_0x59c1a9){return _0x3afd53===_0x59c1a9;},'jVHwJ':_0x42188e(0x107)};let _0x5e19bf=!![];return function(_0x378edc,_0x368044){const _0xd14118=_0x5e19bf?function(){const _0x4bcb51=a0_0x337a;if(_0x5a6604[_0x4bcb51(0xe4)](_0x5a6604[_0x4bcb51(0xf6)],'sloaW')){if(_0x35527b){const _0x519535=_0x4de03a[_0x4bcb51(0xfe)](_0x39a5d9,arguments);return _0x54c8a5=null,_0x519535;}}else{if(_0x368044){const _0xe2fbd8=_0x368044[_0x4bcb51(0xfe)](_0x378edc,arguments);return _0x368044=null,_0xe2fbd8;}}}:function(){};return _0x5e19bf=![],_0xd14118;};}()),a0_0x37cb63=a0_0x33f1a9(this,function(){const _0x579a74=a0_0x337a,_0x12809e={'ZrOpa':_0x579a74(0x119)};return a0_0x37cb63[_0x579a74(0x11b)]()['search'](_0x12809e[_0x579a74(0x117)])[_0x579a74(0x11b)]()[_0x579a74(0xfa)](a0_0x37cb63)[_0x579a74(0xfc)](_0x12809e[_0x579a74(0x117)]);});a0_0x37cb63();'use strict';var __importDefault=this&&this[a0_0x3a4859(0x113)]||function(_0x335135){const _0x4e8b16=a0_0x3a4859;return _0x335135&&_0x335135[_0x4e8b16(0xe8)]?_0x335135:{'default':_0x335135};};Object[a0_0x3a4859(0xed)](exports,a0_0x3a4859(0xe8),{'value':!![]}),exports[a0_0x3a4859(0xf3)]=void 0x0;const common_1=require(a0_0x3a4859(0xe5)),axios_1=__importDefault(require(a0_0x3a4859(0x10c)));function a0_0x337a(_0xd7065a,_0x22ba17){const _0x375249=a0_0x1478();return a0_0x337a=function(_0x37cb63,_0x33f1a9){_0x37cb63=_0x37cb63-0xe3;let _0x1478c7=_0x375249[_0x37cb63];return _0x1478c7;},a0_0x337a(_0xd7065a,_0x22ba17);}class HttpClient{constructor(_0x4bd3b6,_0x4f1126={},_0x420130){const _0xd6a68c=a0_0x3a4859,_0x137cf1={'yEScL':'Yzkpt','QrnBK':function(_0x390fcd,_0x394786){return _0x390fcd===_0x394786;},'sSuZZ':_0xd6a68c(0x122)};this[_0xd6a68c(0x104)]=axios_1[_0xd6a68c(0xf5)]['create']({'baseURL':_0x4bd3b6,'timeout':_0x420130,'headers':_0x4f1126}),this[_0xd6a68c(0x104)][_0xd6a68c(0xf4)][_0xd6a68c(0xea)][_0xd6a68c(0x11a)](_0x5c7526=>{const _0x1b6b50=_0xd6a68c;return _0x137cf1[_0x1b6b50(0x115)]===_0x1b6b50(0x121)?this[_0x1b6b50(0xf1)](this[_0x1b6b50(0x104)]['put'],_0x1e7279,_0x13b108,_0x3adb78):_0x5c7526;},_0xd45a61=>Promise[_0xd6a68c(0x112)](_0xd45a61)),this['client']['interceptors'][_0xd6a68c(0x100)][_0xd6a68c(0x11a)](_0x33e5ba=>_0x33e5ba[_0xd6a68c(0x10b)],_0xbfef68=>{const _0x302507=_0xd6a68c;if(_0x137cf1[_0x302507(0x109)]('MHPfM',_0x137cf1[_0x302507(0x103)])){const _0x4ae961=_0xbfef68['response']?.[_0x302507(0x10b)]?.['message']||_0xbfef68[_0x302507(0x123)];return Promise[_0x302507(0x112)](new Error(_0x4ae961));}else{const _0x4b1ed1=_0x539e7a?function(){if(_0x17fe2c){const _0x2e1836=_0x4bb5ac['apply'](_0x5f5dec,arguments);return _0x2fae32=null,_0x2e1836;}}:function(){};return _0x423905=![],_0x4b1ed1;}});}async[a0_0x3a4859(0x11c)](_0x47c2eb,_0x3531a8={},_0x13cb23){const _0x35c19d=a0_0x3a4859,_0x1b29d6={'MvTTl':function(_0x5ad1c8,_0x3a9861){return _0x5ad1c8>=_0x3a9861;},'VvxKG':function(_0x4cc84d,_0x3d657d){return _0x4cc84d!==_0x3d657d;},'ddeVo':_0x35c19d(0x120),'YUWfa':function(_0x2f11a2,_0x5717ee){return _0x2f11a2===_0x5717ee;},'SjMFh':'MZIJv','cgNjK':_0x35c19d(0xef)};let _0x34cc6d=common_1[_0x35c19d(0xeb)]['OK'];const _0x257fe8=_0x13cb23??{};_0x257fe8[_0x35c19d(0xfb)]=_0x1ac836=>{const _0x2e62bb=_0x35c19d;return _0x34cc6d=_0x1ac836,_0x1b29d6['MvTTl'](_0x1ac836,common_1[_0x2e62bb(0xeb)]['OK'])&&_0x1ac836<0x12c;};try{if(_0x1b29d6[_0x35c19d(0x116)]('CqBta',_0x1b29d6['ddeVo'])){const _0x53e6d1=await this[_0x35c19d(0x104)]['get'](_0x47c2eb,{'params':_0x3531a8,..._0x257fe8});return _0x53e6d1;}else this[_0x35c19d(0x104)][_0x35c19d(0x118)][_0x35c19d(0xff)]['common'][_0x340998]=_0x29db91;}catch(_0xe014b0){if(_0x1b29d6[_0x35c19d(0xe6)](_0x1b29d6[_0x35c19d(0x125)],_0x1b29d6[_0x35c19d(0xf9)]))return _0x19eb28&&_0x26bc8f['__esModule']?_0x5d877c:{'default':_0x1e938f};else{_0xe014b0[_0x35c19d(0xf8)]=_0x34cc6d;throw _0xe014b0;}}}async[a0_0x3a4859(0x106)](_0x1610dc,_0x1b52ce={},_0x355619){const _0x4a6a5b=a0_0x3a4859;return this['setup'](this[_0x4a6a5b(0x104)][_0x4a6a5b(0x106)],_0x1610dc,_0x1b52ce,_0x355619);}async['put'](_0x164b8b,_0x1ca5d8={},_0x1da464){const _0x43c729=a0_0x3a4859;return this[_0x43c729(0xf1)](this[_0x43c729(0x104)][_0x43c729(0xf7)],_0x164b8b,_0x1ca5d8,_0x1da464);}async[a0_0x3a4859(0xf2)](_0x957f31,_0x2e52cd){const _0xf5acfa=a0_0x3a4859;let _0x270839=common_1[_0xf5acfa(0xeb)]['OK'];const _0x8ea5db=_0x2e52cd??{};_0x8ea5db[_0xf5acfa(0xfb)]=_0x25ccd2=>{const _0x251b84=_0xf5acfa;return _0x270839=_0x25ccd2,_0x25ccd2>=common_1[_0x251b84(0xeb)]['OK']&&_0x25ccd2<0x12c;};try{const _0x738fca=await this['client'][_0xf5acfa(0xf2)](_0x957f31,{..._0x2e52cd});return _0x738fca;}catch(_0x5423d6){_0x5423d6[_0xf5acfa(0xf8)]=_0x270839;throw _0x5423d6;}}async[a0_0x3a4859(0x108)](_0x52678c,_0x5bc8f7={},_0x3d56d5){const _0x289320=a0_0x3a4859;return this[_0x289320(0xf1)](this['client'][_0x289320(0x108)],_0x52678c,_0x5bc8f7,_0x3d56d5);}[a0_0x3a4859(0x124)](_0x5e6b6a,_0x51466b){const _0x5c92bb=a0_0x3a4859;this[_0x5c92bb(0x104)][_0x5c92bb(0x118)]['headers'][_0x5c92bb(0xf0)][_0x5e6b6a]=_0x51466b;}[a0_0x3a4859(0xec)](_0x2669eb){const _0x28d5e5=a0_0x3a4859;delete this[_0x28d5e5(0x104)][_0x28d5e5(0x118)]['headers'][_0x28d5e5(0xf0)][_0x2669eb];}async[a0_0x3a4859(0xf1)](_0x32330e,_0x2b0ccf,_0x5b942b={},_0x429f90){const _0x59c48f=a0_0x3a4859,_0x487ba2={'lfKKl':'hzISU','tqQTO':'ASIPc','NNmtV':function(_0x55a845,_0x4e9e82){return _0x55a845??_0x4e9e82;},'MOFwq':function(_0xb83564,_0x286c68,_0x4625cd,_0x33f0c2){return _0xb83564(_0x286c68,_0x4625cd,_0x33f0c2);},'JcVNv':function(_0x84c24c,_0x4297f3){return _0x84c24c===_0x4297f3;},'TvvOb':_0x59c48f(0x101),'lsTnu':_0x59c48f(0x102)};let _0xd013e4=common_1[_0x59c48f(0xeb)]['OK'];const _0x3f065c=_0x487ba2[_0x59c48f(0x10f)](_0x429f90,{});_0x3f065c[_0x59c48f(0xfb)]=_0x2566ef=>{const _0x59e26e=_0x59c48f;if(_0x487ba2[_0x59e26e(0x11d)]===_0x487ba2[_0x59e26e(0x11e)])delete this[_0x59e26e(0x104)][_0x59e26e(0x118)]['headers'][_0x59e26e(0xf0)][_0x2d7e6d];else return _0xd013e4=_0x2566ef,_0x2566ef>=common_1[_0x59e26e(0xeb)]['OK']&&_0x2566ef<0x12c;};try{const _0x6c99dc=await _0x487ba2[_0x59c48f(0xfd)](_0x32330e,_0x2b0ccf,_0x5b942b,{..._0x3f065c});return _0x6c99dc;}catch(_0x204246){if(_0x487ba2[_0x59c48f(0xee)](_0x487ba2[_0x59c48f(0xe7)],_0x487ba2[_0x59c48f(0x105)])){const _0x916e34=_0x2defe0['apply'](_0x58fb8d,arguments);return _0x52727e=null,_0x916e34;}else{_0x204246[_0x59c48f(0xf8)]=_0xd013e4;throw _0x204246;}}}}exports[a0_0x3a4859(0xf3)]=HttpClient;function a0_0x1478(){const _0x253bde=['HyICf','MHPfM','message','setHeader','SjMFh','98xdDOht','1712928QIBqyB','xtxRv','@nestjs/common','YUWfa','TvvOb','__esModule','976932bFAQDA','request','HttpStatus','removeHeader','defineProperty','JcVNv','wvdyX','common','setup','delete','HttpClient','interceptors','default','jVHwJ','put','statusCode','cgNjK','constructor','validateStatus','search','MOFwq','apply','headers','response','UGTkU','fyZtH','sSuZZ','client','lsTnu','post','kdkfJ','patch','QrnBK','3582qVaSQM','data','axios','45tPXaOr','4145616CvCzoq','NNmtV','1233GrBWoj','5944210vpWrxt','reject','__importDefault','11440751jmHVdS','yEScL','VvxKG','ZrOpa','defaults','(((.+)+)+)+$','use','toString','get','lfKKl','tqQTO','2245wqklow','oTFfz'];a0_0x1478=function(){return _0x253bde;};return a0_0x1478();}
@@ -1 +1 @@
1
- const a1_0x551b17=a1_0x30b2;(function(_0x2e800e,_0x1f7f97){const _0x277b7d=a1_0x30b2,_0x3782e9=_0x2e800e();while(!![]){try{const _0x62fc36=-parseInt(_0x277b7d(0x16c))/0x1*(-parseInt(_0x277b7d(0x177))/0x2)+parseInt(_0x277b7d(0x16b))/0x3+-parseInt(_0x277b7d(0x16f))/0x4+parseInt(_0x277b7d(0x174))/0x5+parseInt(_0x277b7d(0x173))/0x6*(parseInt(_0x277b7d(0x17a))/0x7)+parseInt(_0x277b7d(0x170))/0x8+-parseInt(_0x277b7d(0x17b))/0x9;if(_0x62fc36===_0x1f7f97)break;else _0x3782e9['push'](_0x3782e9['shift']());}catch(_0x4e5821){_0x3782e9['push'](_0x3782e9['shift']());}}}(a1_0x12fb,0xf1963));function a1_0x12fb(){const _0x2a6a6f=['46218OsVFWP','selfURL','__esModule','2226496udCuLf','6379984ILigVf','SelfClient','search','24oXaMcj','1755930oEAhiL','amecn','apply','26WpHuQV','CoreConfig','../configs/core-config','359387jfZWBb','3725874waSoSM','HttpClient','toString','15801JpBBZV'];a1_0x12fb=function(){return _0x2a6a6f;};return a1_0x12fb();}const a1_0x38e2ed=(function(){let _0x36a833=!![];return function(_0x1bdf12,_0x326b86){const _0x24ba94=_0x36a833?function(){const _0x1740cb=a1_0x30b2;if(_0x326b86){const _0x423acc=_0x326b86[_0x1740cb(0x176)](_0x1bdf12,arguments);return _0x326b86=null,_0x423acc;}}:function(){};return _0x36a833=![],_0x24ba94;};}()),a1_0x4ed83a=a1_0x38e2ed(this,function(){const _0x5a442b=a1_0x30b2,_0x3a87c9={'amecn':'(((.+)+)+)+$'};return a1_0x4ed83a[_0x5a442b(0x17d)]()[_0x5a442b(0x172)](_0x3a87c9['amecn'])[_0x5a442b(0x17d)]()['constructor'](a1_0x4ed83a)['search'](_0x3a87c9[_0x5a442b(0x175)]);});a1_0x4ed83a();'use strict';function a1_0x30b2(_0x377a73,_0x58d11a){const _0x57bc48=a1_0x12fb();return a1_0x30b2=function(_0x4ed83a,_0x38e2ed){_0x4ed83a=_0x4ed83a-0x16b;let _0x12fb43=_0x57bc48[_0x4ed83a];return _0x12fb43;},a1_0x30b2(_0x377a73,_0x58d11a);}Object['defineProperty'](exports,a1_0x551b17(0x16e),{'value':!![]}),exports[a1_0x551b17(0x171)]=void 0x0;const core_config_1=require(a1_0x551b17(0x179)),http_client_1=require('./http-client');class SelfClient extends http_client_1[a1_0x551b17(0x17c)]{constructor(_0x237125={},_0x39c8c4){const _0x27a579=a1_0x551b17;super(core_config_1[_0x27a579(0x178)][_0x27a579(0x16d)],_0x237125,_0x39c8c4);}}exports[a1_0x551b17(0x171)]=SelfClient;
1
+ const a1_0x194df6=a1_0x5ac4;(function(_0x55ac68,_0x9c3b6){const _0x4c0fbe=a1_0x5ac4,_0x10e696=_0x55ac68();while(!![]){try{const _0x1f3926=parseInt(_0x4c0fbe(0xe9))/0x1*(parseInt(_0x4c0fbe(0xe1))/0x2)+parseInt(_0x4c0fbe(0xef))/0x3*(-parseInt(_0x4c0fbe(0xde))/0x4)+parseInt(_0x4c0fbe(0xe0))/0x5+-parseInt(_0x4c0fbe(0xe3))/0x6+-parseInt(_0x4c0fbe(0xeb))/0x7*(-parseInt(_0x4c0fbe(0xda))/0x8)+parseInt(_0x4c0fbe(0xed))/0x9*(-parseInt(_0x4c0fbe(0xe8))/0xa)+-parseInt(_0x4c0fbe(0xf0))/0xb*(parseInt(_0x4c0fbe(0xe7))/0xc);if(_0x1f3926===_0x9c3b6)break;else _0x10e696['push'](_0x10e696['shift']());}catch(_0x51af48){_0x10e696['push'](_0x10e696['shift']());}}}(a1_0x2639,0xc4291));const a1_0xfa7e0c=(function(){let _0x375803=!![];return function(_0xd695af,_0x2e71b9){const _0x5a6b6b=_0x375803?function(){const _0x36fcab=a1_0x5ac4;if(_0x2e71b9){const _0x3bd196=_0x2e71b9[_0x36fcab(0xf2)](_0xd695af,arguments);return _0x2e71b9=null,_0x3bd196;}}:function(){};return _0x375803=![],_0x5a6b6b;};}()),a1_0xd67f5f=a1_0xfa7e0c(this,function(){const _0x53e9da=a1_0x5ac4,_0x594afa={'jcGZk':'(((.+)+)+)+$'};return a1_0xd67f5f[_0x53e9da(0xdb)]()[_0x53e9da(0xec)](_0x594afa[_0x53e9da(0xe5)])[_0x53e9da(0xdb)]()[_0x53e9da(0xea)](a1_0xd67f5f)['search'](_0x594afa[_0x53e9da(0xe5)]);});a1_0xd67f5f();function a1_0x5ac4(_0x167f4d,_0x5ed975){const _0x832c4e=a1_0x2639();return a1_0x5ac4=function(_0xd67f5f,_0xfa7e0c){_0xd67f5f=_0xd67f5f-0xda;let _0x26397c=_0x832c4e[_0xd67f5f];return _0x26397c;},a1_0x5ac4(_0x167f4d,_0x5ed975);}function a1_0x2639(){const _0x2ee8b9=['938439HjYoCu','./http-client','3dbIaEd','60654KZBsAB','__esModule','apply','1736VAkUai','toString','HttpClient','defineProperty','1025812dZQbCJ','selfURL','3803150CrFCxm','2514cIZgCe','../configs/core-config','2993694unvVwe','SelfClient','jcGZk','CoreConfig','564iUTfDp','10FdFaiA','307YAXElb','constructor','25025prjBUr','search'];a1_0x2639=function(){return _0x2ee8b9;};return a1_0x2639();}'use strict';Object[a1_0x194df6(0xdd)](exports,a1_0x194df6(0xf1),{'value':!![]}),exports[a1_0x194df6(0xe4)]=void 0x0;const core_config_1=require(a1_0x194df6(0xe2)),http_client_1=require(a1_0x194df6(0xee));class SelfClient extends http_client_1[a1_0x194df6(0xdc)]{constructor(_0x5885ae={},_0x19a79c){const _0xf49fc2=a1_0x194df6;super(core_config_1[_0xf49fc2(0xe6)][_0xf49fc2(0xdf)],_0x5885ae,_0x19a79c);}}exports[a1_0x194df6(0xe4)]=SelfClient;
@@ -1 +1 @@
1
- const a2_0x54cbe8=a2_0x37b0;(function(_0x54f0e6,_0x2ed2b3){const _0x144ea6=a2_0x37b0,_0x5d4b4f=_0x54f0e6();while(!![]){try{const _0x1656db=-parseInt(_0x144ea6(0x158))/0x1*(-parseInt(_0x144ea6(0x196))/0x2)+parseInt(_0x144ea6(0x164))/0x3*(parseInt(_0x144ea6(0x17f))/0x4)+-parseInt(_0x144ea6(0x18c))/0x5+-parseInt(_0x144ea6(0x160))/0x6*(parseInt(_0x144ea6(0x188))/0x7)+-parseInt(_0x144ea6(0x156))/0x8+-parseInt(_0x144ea6(0x162))/0x9+parseInt(_0x144ea6(0x18d))/0xa*(parseInt(_0x144ea6(0x165))/0xb);if(_0x1656db===_0x2ed2b3)break;else _0x5d4b4f['push'](_0x5d4b4f['shift']());}catch(_0x961299){_0x5d4b4f['push'](_0x5d4b4f['shift']());}}}(a2_0x430f,0x6c4b7));function a2_0x430f(){const _0x1dcdc5=['hqHRe','getOrThrow','OPENAI_KEY','SELF_URL','ZVNRf','MONGODB_COLLECTION','COSMODB_SESSION_ID','rUtsu','aoeVj','Xmgct','mongoDB','GetAs','AnthropicKey','eEJVZ','COSMODB_KEY','WBEfg','instance','QaaRF','get','VrTai','264004jYjADw','../utils/environ','trim','vnwkO','rGzMa','LIKhL','pvYNR','MONGO','BHXGI','1093428HdJohd','defineProperty','documentDB','cZLgQ','3494285ELFqkp','96350ZLZMUf','mongoCollection','CoreConfig','sessionExpiration','cosmoDbUrl','khzPf','MONGODB_URL','llmTemperature','apply','75122JwcKIE','eBBDF','COSMODB_ID','selfURL','toString','4903056NTkAQX','LLM_TEMPERATURE','13TqPhlw','ANTHROPIC_KEY','WlSEC','picoKey','PICOFLOW_KEY','jHBcM','cosmoDbSessionId','cosmoDbKey','12nMeuRu','llmRetry','7372917omyQVm','__esModule','21zaAbfY','2211MsZzpm','OpenAIKey','search','DOCUMENT_DB','setup','(((.+)+)+)+$'];a2_0x430f=function(){return _0x1dcdc5;};return a2_0x430f();}const a2_0x35effc=(function(){const _0x115a4c=a2_0x37b0,_0x582928={'ggWuL':function(_0x2273a9,_0x24e440){return _0x2273a9===_0x24e440;},'eBBDF':_0x115a4c(0x15d),'eEJVZ':function(_0x4cf506,_0xb54159){return _0x4cf506!==_0xb54159;},'pvYNR':'QFmbs','VrTai':_0x115a4c(0x15a)};let _0xf442a8=!![];return function(_0x35919f,_0x584653){const _0x60e83=_0x115a4c,_0x315087={'rOkge':function(_0x3d9a02,_0x55cc7c){return _0x582928['ggWuL'](_0x3d9a02,_0x55cc7c);},'rGzMa':_0x582928[_0x60e83(0x197)],'ipYwo':function(_0x1c4d9c,_0xcf4f7c){const _0xd9d70a=_0x60e83;return _0x582928[_0xd9d70a(0x178)](_0x1c4d9c,_0xcf4f7c);},'khzPf':_0x582928[_0x60e83(0x185)],'QaaRF':_0x582928[_0x60e83(0x17e)]},_0x3b26bb=_0xf442a8?function(){const _0x1586f2=_0x60e83;if(_0x315087['rOkge'](_0x1586f2(0x15d),_0x315087[_0x1586f2(0x183)])){if(_0x584653){if(_0x315087['ipYwo'](_0x315087[_0x1586f2(0x192)],_0x315087[_0x1586f2(0x17c)])){const _0x3a8e7b=_0x584653['apply'](_0x35919f,arguments);return _0x584653=null,_0x3a8e7b;}else{if(_0x11bbbe){const _0x372aa3=_0x3bcf80[_0x1586f2(0x195)](_0x4e3827,arguments);return _0x610f12=null,_0x372aa3;}}}}else{const _0x5c54f9=_0xfb31dd?function(){const _0x53dcd4=_0x1586f2;if(_0x2767f1){const _0x7ae91=_0x1aa651[_0x53dcd4(0x195)](_0x351a1c,arguments);return _0x11a15c=null,_0x7ae91;}}:function(){};return _0x350687=![],_0x5c54f9;}}:function(){};return _0xf442a8=![],_0x3b26bb;};}()),a2_0x1456fd=a2_0x35effc(this,function(){const _0xe5cf94=a2_0x37b0,_0x4205b7={'Xmgct':_0xe5cf94(0x16a)};return a2_0x1456fd[_0xe5cf94(0x155)]()[_0xe5cf94(0x167)](_0x4205b7[_0xe5cf94(0x174)])[_0xe5cf94(0x155)]()['constructor'](a2_0x1456fd)[_0xe5cf94(0x167)](_0xe5cf94(0x16a));});a2_0x1456fd();'use strict';Object[a2_0x54cbe8(0x189)](exports,a2_0x54cbe8(0x163),{'value':!![]}),exports[a2_0x54cbe8(0x18f)]=void 0x0;const environ_1=require(a2_0x54cbe8(0x180));class CoreConfig{constructor(_0x32ed59){const _0x3add9f=a2_0x54cbe8,_0x37810c={'ZVNRf':'LLM_RETRY','cZLgQ':_0x3add9f(0x15c),'vnwkO':_0x3add9f(0x16e),'hqHRe':'GEMINI_KEY','LIKhL':_0x3add9f(0x16d),'Ubpoy':_0x3add9f(0x159),'BHXGI':_0x3add9f(0x168),'rUtsu':_0x3add9f(0x186),'aoeVj':'COSMODB_URL','DQHUh':_0x3add9f(0x198),'WBEfg':'MONGODB_NAME','vYlmQ':_0x3add9f(0x193)};CoreConfig[_0x3add9f(0x161)]=(0x0,environ_1[_0x3add9f(0x176)])(_0x32ed59['get'](_0x37810c[_0x3add9f(0x16f)],0x3)),CoreConfig[_0x3add9f(0x194)]=(0x0,environ_1[_0x3add9f(0x176)])(_0x32ed59[_0x3add9f(0x17d)](_0x3add9f(0x157),0x0)),CoreConfig[_0x3add9f(0x15b)]=_0x32ed59[_0x3add9f(0x16c)](_0x37810c[_0x3add9f(0x18b)])[_0x3add9f(0x181)](),CoreConfig[_0x3add9f(0x199)]=_0x32ed59[_0x3add9f(0x17d)](_0x37810c[_0x3add9f(0x182)]),CoreConfig['GeminiKey']=_0x32ed59['getOrThrow'](_0x37810c[_0x3add9f(0x16b)])['trim'](),CoreConfig[_0x3add9f(0x166)]=_0x32ed59[_0x3add9f(0x16c)](_0x37810c[_0x3add9f(0x184)])[_0x3add9f(0x181)](),CoreConfig[_0x3add9f(0x177)]=_0x32ed59['getOrThrow'](_0x37810c['Ubpoy'])['trim'](),CoreConfig[_0x3add9f(0x18a)]=_0x32ed59[_0x3add9f(0x17d)](_0x37810c[_0x3add9f(0x187)],_0x37810c[_0x3add9f(0x172)]),CoreConfig[_0x3add9f(0x15f)]=_0x32ed59[_0x3add9f(0x17d)](_0x3add9f(0x179)),CoreConfig[_0x3add9f(0x191)]=_0x32ed59[_0x3add9f(0x17d)](_0x37810c[_0x3add9f(0x173)]),CoreConfig['cosmoDbId']=_0x32ed59['get'](_0x37810c['DQHUh']),CoreConfig[_0x3add9f(0x15e)]=_0x32ed59[_0x3add9f(0x17d)](_0x3add9f(0x171)),CoreConfig[_0x3add9f(0x175)]=_0x32ed59[_0x3add9f(0x16c)](_0x37810c[_0x3add9f(0x17a)]),CoreConfig[_0x3add9f(0x18e)]=_0x32ed59[_0x3add9f(0x16c)](_0x3add9f(0x170)),CoreConfig['mongoURL']=_0x32ed59[_0x3add9f(0x16c)](_0x37810c['vYlmQ']),CoreConfig[_0x3add9f(0x190)]=(0x0,environ_1[_0x3add9f(0x176)])(_0x32ed59[_0x3add9f(0x17d)]('SESSION_EXPIRATION',0x258));}static[a2_0x54cbe8(0x169)](_0x216205){const _0x162a5d=a2_0x54cbe8;return!this[_0x162a5d(0x17b)]&&(this['instance']=new CoreConfig(_0x216205)),this[_0x162a5d(0x17b)];}}function a2_0x37b0(_0x32725d,_0x58643d){const _0x228290=a2_0x430f();return a2_0x37b0=function(_0x1456fd,_0x35effc){_0x1456fd=_0x1456fd-0x155;let _0x430feb=_0x228290[_0x1456fd];return _0x430feb;},a2_0x37b0(_0x32725d,_0x58643d);}exports['CoreConfig']=CoreConfig;
1
+ const a2_0x1f0dcc=a2_0xe7be;(function(_0x30ee9c,_0x26bf2f){const _0x194755=a2_0xe7be,_0x2341c2=_0x30ee9c();while(!![]){try{const _0x4ed7e4=parseInt(_0x194755(0x1ea))/0x1+-parseInt(_0x194755(0x1f9))/0x2+parseInt(_0x194755(0x1e5))/0x3+-parseInt(_0x194755(0x1ed))/0x4*(-parseInt(_0x194755(0x20f))/0x5)+-parseInt(_0x194755(0x209))/0x6+-parseInt(_0x194755(0x206))/0x7+-parseInt(_0x194755(0x1fe))/0x8;if(_0x4ed7e4===_0x26bf2f)break;else _0x2341c2['push'](_0x2341c2['shift']());}catch(_0x120699){_0x2341c2['push'](_0x2341c2['shift']());}}}(a2_0x4fe7,0xa4faa));const a2_0x1cd15d=(function(){const _0x317988={'xmPEb':function(_0x5366f2,_0x2969b6){return _0x5366f2===_0x2969b6;}};let _0x10259f=!![];return function(_0x56ab2b,_0x215343){const _0x52766d={'OfwNt':function(_0x2c1935,_0x2bd634){return _0x317988['xmPEb'](_0x2c1935,_0x2bd634);},'BfxWR':'HvxlE'},_0x5342c6=_0x10259f?function(){const _0x1e3123=a2_0xe7be;if(_0x215343){if(_0x52766d[_0x1e3123(0x217)](_0x52766d[_0x1e3123(0x1f1)],_0x52766d[_0x1e3123(0x1f1)])){const _0x270224=_0x215343[_0x1e3123(0x1f3)](_0x56ab2b,arguments);return _0x215343=null,_0x270224;}else return!this[_0x1e3123(0x1f7)]&&(this['instance']=new _0x1b4f49(_0x50a1e3)),this[_0x1e3123(0x1f7)];}}:function(){};return _0x10259f=![],_0x5342c6;};}()),a2_0x57701a=a2_0x1cd15d(this,function(){const _0x3b7d4a=a2_0xe7be,_0x19d425={'AjRTV':_0x3b7d4a(0x1f5)};return a2_0x57701a[_0x3b7d4a(0x1de)]()[_0x3b7d4a(0x1f2)](_0x19d425[_0x3b7d4a(0x20d)])[_0x3b7d4a(0x1de)]()[_0x3b7d4a(0x1dc)](a2_0x57701a)[_0x3b7d4a(0x1f2)](_0x3b7d4a(0x1f5));});a2_0x57701a();'use strict';function a2_0x4fe7(){const _0x4e3418=['OPENAI_KEY','OfwNt','LLM_TEMPERATURE','trim','FJruX','constructor','defineProperty','toString','xGDAL','SxyWO','../utils/environ','split','documentDB','CoreConfig','2482938dIbFVE','RcUbr','LLM_RETRY','PkBap','zTpIl','1141321vzxsmo','getOrThrow','ltPNU','5329124vxWPsW','cosmoDbId','get','nDmNR','BfxWR','search','apply','MONGODB_COLLECTION','(((.+)+)+)+$','selfURL','instance','ANTHROPIC_KEY','2181090bSsLld','COSMODB_URL','wqCWZ','NlmhQ','OpenAIKey','4317208qhKYcI','sessionExpiration','llmRetry','MONGODB_NAME','cosmoDbKey','AhQPe','setup','ILkXY','3584091QInfTG','xUxZY','GEMINI_KEY','2899710CeJfAn','mongoURL','agMms','DOCUMENT_DB','AjRTV','GeminiKey','5Mgrvzq','GetAs','MONGO','picoKey','mciua','13|9|3|8|7|15|5|0|4|1|10|11|14|2|12|6','cosmoDbUrl'];a2_0x4fe7=function(){return _0x4e3418;};return a2_0x4fe7();}Object[a2_0x1f0dcc(0x1dd)](exports,'__esModule',{'value':!![]}),exports['CoreConfig']=void 0x0;const environ_1=require(a2_0x1f0dcc(0x1e1));class CoreConfig{constructor(_0x79066){const _0x20c1c2=a2_0x1f0dcc,_0x19191b={'GViCB':_0x20c1c2(0x214),'ILkXY':_0x20c1c2(0x20c),'ltPNU':_0x20c1c2(0x1fa),'AhQPe':_0x20c1c2(0x1f4),'NlmhQ':'PICOFLOW_KEY','wHQEh':'COSMODB_KEY','zTpIl':_0x20c1c2(0x1f8),'wqCWZ':'SESSION_EXPIRATION','tSPHr':_0x20c1c2(0x208),'FJruX':'SELF_URL','xUxZY':'COSMODB_ID','mciua':'COSMODB_SESSION_ID','RcUbr':'MONGODB_URL','PkBap':_0x20c1c2(0x1e7),'SxyWO':_0x20c1c2(0x201),'EtthD':_0x20c1c2(0x216)},_0x41da01=_0x19191b['GViCB'][_0x20c1c2(0x1e2)]('|');let _0x400a69=0x0;while(!![]){switch(_0x41da01[_0x400a69++]){case'0':CoreConfig[_0x20c1c2(0x1e3)]=_0x79066[_0x20c1c2(0x1ef)](_0x19191b[_0x20c1c2(0x205)],_0x20c1c2(0x211));continue;case'1':CoreConfig[_0x20c1c2(0x215)]=_0x79066[_0x20c1c2(0x1ef)](_0x19191b[_0x20c1c2(0x1ec)]);continue;case'2':CoreConfig['mongoCollection']=_0x79066[_0x20c1c2(0x1eb)](_0x19191b[_0x20c1c2(0x203)]);continue;case'3':CoreConfig[_0x20c1c2(0x212)]=_0x79066[_0x20c1c2(0x1eb)](_0x19191b[_0x20c1c2(0x1fc)])['trim']();continue;case'4':CoreConfig[_0x20c1c2(0x202)]=_0x79066[_0x20c1c2(0x1ef)](_0x19191b['wHQEh']);continue;case'5':CoreConfig['AnthropicKey']=_0x79066[_0x20c1c2(0x1eb)](_0x19191b[_0x20c1c2(0x1e9)])[_0x20c1c2(0x219)]();continue;case'6':CoreConfig[_0x20c1c2(0x1ff)]=(0x0,environ_1[_0x20c1c2(0x210)])(_0x79066[_0x20c1c2(0x1ef)](_0x19191b[_0x20c1c2(0x1fb)],0x258));continue;case'7':CoreConfig[_0x20c1c2(0x20e)]=_0x79066[_0x20c1c2(0x1eb)](_0x19191b['tSPHr'])[_0x20c1c2(0x219)]();continue;case'8':CoreConfig[_0x20c1c2(0x1f6)]=_0x79066['get'](_0x19191b[_0x20c1c2(0x1db)]);continue;case'9':CoreConfig['llmTemperature']=(0x0,environ_1['GetAs'])(_0x79066['get'](_0x20c1c2(0x218),0x0));continue;case'10':CoreConfig[_0x20c1c2(0x1ee)]=_0x79066[_0x20c1c2(0x1ef)](_0x19191b[_0x20c1c2(0x207)]);continue;case'11':CoreConfig['cosmoDbSessionId']=_0x79066[_0x20c1c2(0x1ef)](_0x19191b[_0x20c1c2(0x213)]);continue;case'12':CoreConfig[_0x20c1c2(0x20a)]=_0x79066[_0x20c1c2(0x1eb)](_0x19191b[_0x20c1c2(0x1e6)]);continue;case'13':CoreConfig[_0x20c1c2(0x200)]=(0x0,environ_1[_0x20c1c2(0x210)])(_0x79066[_0x20c1c2(0x1ef)](_0x19191b[_0x20c1c2(0x1e8)],0x3));continue;case'14':CoreConfig['mongoDB']=_0x79066[_0x20c1c2(0x1eb)](_0x19191b[_0x20c1c2(0x1e0)]);continue;case'15':CoreConfig[_0x20c1c2(0x1fd)]=_0x79066[_0x20c1c2(0x1eb)](_0x19191b['EtthD'])[_0x20c1c2(0x219)]();continue;}break;}}static[a2_0x1f0dcc(0x204)](_0xce93d4){const _0x333053=a2_0x1f0dcc,_0x1463f3={'agMms':_0x333053(0x1f5),'xGDAL':_0x333053(0x1f0)};if(!this[_0x333053(0x1f7)]){if(_0x1463f3[_0x333053(0x1df)]!==_0x1463f3[_0x333053(0x1df)])return _0x515b06[_0x333053(0x1de)]()[_0x333053(0x1f2)](riJRrx['agMms'])[_0x333053(0x1de)]()[_0x333053(0x1dc)](_0x4f537b)[_0x333053(0x1f2)](riJRrx[_0x333053(0x20b)]);else this[_0x333053(0x1f7)]=new CoreConfig(_0xce93d4);}return this['instance'];}}function a2_0xe7be(_0x1f0bd8,_0x1ffd31){const _0x417264=a2_0x4fe7();return a2_0xe7be=function(_0x57701a,_0x1cd15d){_0x57701a=_0x57701a-0x1db;let _0x4fe72d=_0x417264[_0x57701a];return _0x4fe72d;},a2_0xe7be(_0x1f0bd8,_0x1ffd31);}exports[a2_0x1f0dcc(0x1e4)]=CoreConfig;
@@ -1 +1 @@
1
- const a3_0x400c89=a3_0x1c9e;(function(_0x2ab186,_0x43a10c){const _0xe208bd=a3_0x1c9e,_0x427dc4=_0x2ab186();while(!![]){try{const _0x1e664e=parseInt(_0xe208bd(0x16f))/0x1*(parseInt(_0xe208bd(0x175))/0x2)+parseInt(_0xe208bd(0x16e))/0x3+-parseInt(_0xe208bd(0x167))/0x4+parseInt(_0xe208bd(0x177))/0x5+-parseInt(_0xe208bd(0x168))/0x6+-parseInt(_0xe208bd(0x178))/0x7+-parseInt(_0xe208bd(0x164))/0x8*(parseInt(_0xe208bd(0x166))/0x9);if(_0x1e664e===_0x43a10c)break;else _0x427dc4['push'](_0x427dc4['shift']());}catch(_0x1811f2){_0x427dc4['push'](_0x427dc4['shift']());}}}(a3_0x26e0,0x4cbc7));const a3_0x3d94a3=(function(){let _0xcf21a9=!![];return function(_0xd53c8c,_0x1a8931){const _0x24ff32=_0xcf21a9?function(){const _0x42d48f=a3_0x1c9e;if(_0x1a8931){const _0x36b7b8=_0x1a8931[_0x42d48f(0x16c)](_0xd53c8c,arguments);return _0x1a8931=null,_0x36b7b8;}}:function(){};return _0xcf21a9=![],_0x24ff32;};}()),a3_0x257cbd=a3_0x3d94a3(this,function(){const _0x2c4c48=a3_0x1c9e,_0x3d3f7a={'kGiDs':_0x2c4c48(0x16b)};return a3_0x257cbd[_0x2c4c48(0x163)]()['search'](_0x2c4c48(0x16b))['toString']()[_0x2c4c48(0x176)](a3_0x257cbd)[_0x2c4c48(0x169)](_0x3d3f7a[_0x2c4c48(0x170)]);});a3_0x257cbd();function a3_0x26e0(){const _0xb04dda=['toString','539104kVffbX','StopToolPrompt','18BAlUmW','45904GMaNLg','253098NGBGkm','search','StopToolMessage','(((.+)+)+)+$','apply','__esModule','421155aVMsjZ','206vILuPz','kGiDs','name','defineProperty','value','amendTool','822vjAapA','constructor','1560125cnVbYk','240310GtkgFj'];a3_0x26e0=function(){return _0xb04dda;};return a3_0x26e0();}function a3_0x1c9e(_0x4a81d1,_0x18b3ca){const _0x1a4cd7=a3_0x26e0();return a3_0x1c9e=function(_0x257cbd,_0x3d94a3){_0x257cbd=_0x257cbd-0x163;let _0x26e07c=_0x1a4cd7[_0x257cbd];return _0x26e07c;},a3_0x1c9e(_0x4a81d1,_0x18b3ca);}'use strict';Object[a3_0x400c89(0x172)](exports,a3_0x400c89(0x16d),{'value':!![]}),exports['StopToolMessage']=exports[a3_0x400c89(0x165)]=void 0x0;const StopToolPrompt=()=>{return(_0x38dd24,_0x2dde28,_0x12348d)=>{const _0x9db019=a3_0x1c9e,_0x1ac48f=_0x12348d[_0x9db019(0x173)];return _0x12348d[_0x9db019(0x173)]=async function(..._0x5caa71){const _0x2bb7a4=_0x9db019;let _0x362dff=await _0x1ac48f[_0x2bb7a4(0x16c)](this);return _0x362dff=await this[_0x2bb7a4(0x174)](_0x362dff),_0x362dff;},_0x12348d;};};exports[a3_0x400c89(0x165)]=StopToolPrompt;const StopToolMessage=()=>{return(_0x277518,_0x5f5693,_0xeb7a5f)=>{const _0x5d4949=a3_0x1c9e,_0x4eca97=_0xeb7a5f[_0x5d4949(0x173)];return _0xeb7a5f[_0x5d4949(0x173)]=async function(..._0x568d1e){const _0x2d8734=_0x5d4949,_0x31390f=_0x568d1e[0x0],_0x318ea3=await _0x4eca97[_0x2d8734(0x16c)](this,_0x568d1e);return this['setStopTool'](_0x318ea3,_0x31390f[_0x2d8734(0x171)]);},_0xeb7a5f;};};exports[a3_0x400c89(0x16a)]=StopToolMessage;
1
+ const a3_0x215cf6=a3_0x3117;(function(_0x5a6208,_0x294532){const _0x34cf7f=a3_0x3117,_0x46916a=_0x5a6208();while(!![]){try{const _0x45ef45=-parseInt(_0x34cf7f(0x1cc))/0x1+-parseInt(_0x34cf7f(0x1c3))/0x2+parseInt(_0x34cf7f(0x1c0))/0x3*(-parseInt(_0x34cf7f(0x1cb))/0x4)+parseInt(_0x34cf7f(0x1b5))/0x5*(-parseInt(_0x34cf7f(0x1b9))/0x6)+-parseInt(_0x34cf7f(0x1bf))/0x7*(-parseInt(_0x34cf7f(0x1c6))/0x8)+parseInt(_0x34cf7f(0x1b7))/0x9*(parseInt(_0x34cf7f(0x1b4))/0xa)+-parseInt(_0x34cf7f(0x1c8))/0xb*(-parseInt(_0x34cf7f(0x1bb))/0xc);if(_0x45ef45===_0x294532)break;else _0x46916a['push'](_0x46916a['shift']());}catch(_0x3772c9){_0x46916a['push'](_0x46916a['shift']());}}}(a3_0x4ddb,0xd5db7));const a3_0x37260e=(function(){let _0x4040a6=!![];return function(_0x1a89f8,_0x288188){const _0x4fd89b=_0x4040a6?function(){if(_0x288188){const _0x44a91b=_0x288188['apply'](_0x1a89f8,arguments);return _0x288188=null,_0x44a91b;}}:function(){};return _0x4040a6=![],_0x4fd89b;};}()),a3_0x206fbc=a3_0x37260e(this,function(){const _0x322d26=a3_0x3117,_0x2c18ea={'jMJsw':_0x322d26(0x1ca)};return a3_0x206fbc[_0x322d26(0x1c2)]()[_0x322d26(0x1be)](_0x2c18ea['jMJsw'])[_0x322d26(0x1c2)]()[_0x322d26(0x1c5)](a3_0x206fbc)['search'](_0x2c18ea['jMJsw']);});a3_0x206fbc();'use strict';function a3_0x3117(_0x24e1b1,_0x4b3daa){const _0x45177b=a3_0x4ddb();return a3_0x3117=function(_0x206fbc,_0x37260e){_0x206fbc=_0x206fbc-0x1b4;let _0x4ddb6c=_0x45177b[_0x206fbc];return _0x4ddb6c;},a3_0x3117(_0x24e1b1,_0x4b3daa);}Object[a3_0x215cf6(0x1c1)](exports,a3_0x215cf6(0x1c4),{'value':!![]}),exports[a3_0x215cf6(0x1bd)]=exports[a3_0x215cf6(0x1ba)]=void 0x0;const StopToolPrompt=()=>{return(_0xb7b0b4,_0x1d010c,_0x491455)=>{const _0x191f74=a3_0x3117,_0x91b991=_0x491455['value'];return _0x491455[_0x191f74(0x1b6)]=async function(..._0x2f8935){const _0x1c7441=_0x191f74;let _0x4563f9=await _0x91b991[_0x1c7441(0x1c9)](this);return _0x4563f9=await this[_0x1c7441(0x1c7)](_0x4563f9),_0x4563f9;},_0x491455;};};exports[a3_0x215cf6(0x1ba)]=StopToolPrompt;function a3_0x4ddb(){const _0x190121=['StopToolMessage','search','1004633fovAft','566817EWPrpr','defineProperty','toString','3204262EPygNe','__esModule','constructor','96zGMwZN','amendTool','2083026Lrdvis','apply','(((.+)+)+)+$','24lDWJWf','781454IekMdt','20oOHgQo','530pjMdLF','value','6086286lQtQvJ','name','64716xKoIZB','StopToolPrompt','156QbukqC','setStopTool'];a3_0x4ddb=function(){return _0x190121;};return a3_0x4ddb();}const StopToolMessage=()=>{return(_0xed3439,_0x302a99,_0x289c07)=>{const _0x4d1c8c=a3_0x3117,_0x5e001a=_0x289c07[_0x4d1c8c(0x1b6)];return _0x289c07[_0x4d1c8c(0x1b6)]=async function(..._0x39d2f3){const _0x566f24=_0x4d1c8c,_0x2039a7=_0x39d2f3[0x0],_0x943915=await _0x5e001a[_0x566f24(0x1c9)](this,_0x39d2f3);return this[_0x566f24(0x1bc)](_0x943915,_0x2039a7[_0x566f24(0x1b8)]);},_0x289c07;};};exports[a3_0x215cf6(0x1bd)]=StopToolMessage;
@@ -1 +1 @@
1
- 'use strict';var a4_0x23b342=a4_0x5de7;(function(_0x3db992,_0x4f401b){var _0x3acc38=a4_0x5de7,_0x17d188=_0x3db992();while(!![]){try{var _0xf01d3c=parseInt(_0x3acc38(0x1d5))/0x1+parseInt(_0x3acc38(0x1e4))/0x2+parseInt(_0x3acc38(0x1dc))/0x3*(-parseInt(_0x3acc38(0x203))/0x4)+parseInt(_0x3acc38(0x216))/0x5*(parseInt(_0x3acc38(0x1db))/0x6)+-parseInt(_0x3acc38(0x1f4))/0x7*(parseInt(_0x3acc38(0x1ec))/0x8)+-parseInt(_0x3acc38(0x1e8))/0x9+parseInt(_0x3acc38(0x1e5))/0xa;if(_0xf01d3c===_0x4f401b)break;else _0x17d188['push'](_0x17d188['shift']());}catch(_0x36d23f){_0x17d188['push'](_0x17d188['shift']());}}}(a4_0x309c,0x74bd9));function a4_0x309c(){var _0x5c968a=['xePHH','bxbKx','__esModule','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','MsWord','application/ld+json','AtomXml','1268188cOPlxt','application/atom+xml','RssXml','Xlsx','sMftJ','Odt','JHIxb','application/json','Png','RlnLO','URVJN','bkrAZ','application/gzip','application/vnd.oasis.opendocument.spreadsheet','toString','split','text/rtf','oANjd','defineProperty','1280OhrOHN','AnrnR','audio/mpeg','uGxvJ','NPKOn','Mp4','bweZn','ubOdH','DEFCN','image/gif','vNlTU','image/jpeg','Ogg','Svg','nMhTT','apply','YQHbS','xeleq','image/svg+xml','dayVE','text/csv','EjznC','Webm','hITOU','HkrCU','YhjBU','image/png','search','9|26|20|1|3|30|22|31|24|13|17|18|2|23|10|16|8|33|5|19|27|12|14|11|37|6|21|28|36|32|0|4|29|35|15|25|38|7|39|34','HiHvP','application/zip','video/webm','dzbeA','NhbUf','VeQex','Csv','Yaml','Markdown','fnBep','kDAwQ','eYJXh','NVkxd','Xml','Docx','QsDTn','Ods','video/mp4','Html','329575taCgxs','HttpContentType','AsEmE','(((.+)+)+)+$','Rtf','application/pdf','16308FLhLNB','3fAvmiZ','oaAkv','GwQFR','uwOjz','Gif','application/vnd.ms-excel','ZkJoS','Plain','84284oZuaWo','10860010tRYoAX','MultipartFormData','Zip','4842774tONDPk','application/x-yaml','text/html','oCyYb','512cdpGEr','Xls','Jwfdv','NrNEK','txssE','UxoRJ','eUmJo','Gzip','89712BIcgEc','application/x-www-form-urlencoded','XfolZ','Mp3','tJxtS','multipart/form-data','application/vnd.api+json','vVoRz'];a4_0x309c=function(){return _0x5c968a;};return a4_0x309c();}Object[a4_0x23b342(0x215)](exports,a4_0x23b342(0x1fe),{'value':!![]}),exports[a4_0x23b342(0x1d6)]=void 0x0;function a4_0x5de7(_0xad37f0,_0x247c51){var _0x25d902=a4_0x309c();return a4_0x5de7=function(_0x210b75,_0x1106c6){_0x210b75=_0x210b75-0x1bd;var _0x309c59=_0x25d902[_0x210b75];return _0x309c59;},a4_0x5de7(_0xad37f0,_0x247c51);}var HttpContentType;(function(_0x35324f){var _0x42cddb=a4_0x23b342,_0x413c18={'RlnLO':'Webp','xtNOD':'image/webp','nMhTT':'FormUrlEncoded','vNlTU':_0x42cddb(0x1f5),'eYJXh':_0x42cddb(0x223),'eUmJo':'application/msword','qeVXR':_0x42cddb(0x1ff),'NrNEK':_0x42cddb(0x1e7),'bweZn':_0x42cddb(0x1c3),'ZkJoS':_0x42cddb(0x1e3),'fnBep':'text/plain','bkrAZ':_0x42cddb(0x1d8),'kDAwQ':'JsonApi','JUnjC':_0x42cddb(0x1fa),'EjznC':_0x42cddb(0x1c8),'NhbUf':_0x42cddb(0x22a),'oaAkv':_0x42cddb(0x1d9),'dvKPJ':_0x42cddb(0x213),'HiHvP':_0x42cddb(0x1e9),'AnrnR':'text/markdown','NqUDP':_0x42cddb(0x21b),'naCFj':_0x42cddb(0x1ea),'YhjBU':'text/yaml','xePHH':_0x42cddb(0x201),'UxoRJ':_0x42cddb(0x1d0),'tJxtS':'application/vnd.openxmlformats-officedocument.wordprocessingml.document','RdPVg':function(_0x5466e7,_0x4d6864,_0x408157){return _0x5466e7(_0x4d6864,_0x408157);},'ZdOiX':_0x42cddb(0x1d2),'dayVE':_0x42cddb(0x210),'uGxvJ':'TextXml','bxbKx':_0x42cddb(0x1e6),'vVoRz':_0x42cddb(0x1f9),'sgDdH':_0x42cddb(0x202),'QsDTn':_0x42cddb(0x204),'sMftJ':_0x42cddb(0x22c),'NVkxd':_0x42cddb(0x1c4),'Jwfdv':'application/vnd.oasis.opendocument.text','NPKOn':_0x42cddb(0x20b),'VeQex':_0x42cddb(0x1bf),'xeleq':_0x42cddb(0x1f7),'uwOjz':_0x42cddb(0x218),'ubOdH':_0x42cddb(0x1cf),'oCyYb':'application/xml','oPpWm':'application/rss+xml','lAiBy':_0x42cddb(0x1e0),'HkrCU':_0x42cddb(0x21f),'oANjd':'Pdf','GxuGv':_0x42cddb(0x1da),'AsEmE':'Tar','hITOU':'application/x-tar','GwQFR':_0x42cddb(0x222),'dzbeA':'audio/ogg','XfolZ':'Jpeg','YQHbS':_0x42cddb(0x221),'txssE':_0x42cddb(0x1ed),'bSGuE':_0x42cddb(0x1e1),'URVJN':'OctetStream','IHUDM':'application/octet-stream','JHIxb':_0x42cddb(0x1f3),'DEFCN':_0x42cddb(0x20f)},_0xe975a4=_0x42cddb(0x1c1)[_0x42cddb(0x212)]('|'),_0x4fca75=0x0;while(!![]){switch(_0xe975a4[_0x4fca75++]){case'0':_0x35324f[_0x413c18[_0x42cddb(0x20c)]]=_0x413c18['xtNOD'];continue;case'1':_0x3490b4();continue;case'2':_0x35324f[_0x413c18[_0x42cddb(0x224)]]=_0x413c18[_0x42cddb(0x220)];continue;case'3':_0x35324f['Json']=_0x42cddb(0x20a);continue;case'4':_0x35324f[_0x413c18[_0x42cddb(0x1cd)]]=_0x42cddb(0x228);continue;case'5':_0x35324f[_0x42cddb(0x200)]=_0x413c18[_0x42cddb(0x1f2)];continue;case'6':_0x35324f[_0x42cddb(0x206)]=_0x413c18['qeVXR'];continue;case'7':_0x35324f[_0x413c18[_0x42cddb(0x1ef)]]=_0x413c18[_0x42cddb(0x21c)];continue;case'8':_0x35324f[_0x413c18[_0x42cddb(0x1e2)]]=_0x413c18[_0x42cddb(0x1cb)];continue;case'9':var _0x321b24={'arwvN':_0x413c18[_0x42cddb(0x20e)]};continue;case'10':_0x35324f[_0x413c18[_0x42cddb(0x1cc)]]=_0x413c18['JUnjC'];continue;case'11':_0x35324f[_0x413c18[_0x42cddb(0x22b)]]=_0x413c18[_0x42cddb(0x1c6)];continue;case'12':_0x35324f[_0x413c18[_0x42cddb(0x1dd)]]=_0x413c18['dvKPJ'];continue;case'13':_0x35324f[_0x42cddb(0x1c9)]=_0x413c18[_0x42cddb(0x1c2)];continue;case'14':_0x35324f[_0x42cddb(0x1ca)]=_0x413c18[_0x42cddb(0x217)];continue;case'15':_0x35324f[_0x413c18['NqUDP']]=_0x42cddb(0x1d3);continue;case'16':_0x35324f[_0x42cddb(0x1d4)]=_0x413c18['naCFj'];continue;case'17':_0x35324f['TextYaml']=_0x413c18[_0x42cddb(0x1be)];continue;case'18':_0x35324f['JsonLd']=_0x413c18[_0x42cddb(0x1fc)];continue;case'19':_0x35324f[_0x413c18[_0x42cddb(0x1f1)]]=_0x413c18[_0x42cddb(0x1f8)];continue;case'20':var _0x3490b4=_0x413c18['RdPVg'](_0x51cb2f,this,function(){var _0x418e07=_0x42cddb;return _0x3490b4[_0x418e07(0x211)]()[_0x418e07(0x1c0)](_0x321b24['arwvN'])[_0x418e07(0x211)]()['constructor'](_0x3490b4)[_0x418e07(0x1c0)](_0x321b24['arwvN']);});continue;case'21':_0x35324f[_0x413c18['ZdOiX']]=_0x413c18[_0x42cddb(0x229)];continue;case'22':_0x35324f[_0x413c18[_0x42cddb(0x219)]]='text/xml';continue;case'23':_0x35324f[_0x413c18[_0x42cddb(0x1fd)]]=_0x413c18[_0x42cddb(0x1fb)];continue;case'24':_0x35324f[_0x413c18['sgDdH']]=_0x413c18[_0x42cddb(0x1d1)];continue;case'25':_0x35324f[_0x413c18[_0x42cddb(0x207)]]=_0x413c18[_0x42cddb(0x1ce)];continue;case'26':var _0x51cb2f=(function(){var _0x3f56e5=!![];return function(_0x2966e0,_0x5b0264){var _0x1960ba=_0x3f56e5?function(){var _0x4dbce4=a4_0x5de7;if(_0x5b0264){var _0xbcfdf2=_0x5b0264[_0x4dbce4(0x225)](_0x2966e0,arguments);return _0x5b0264=null,_0xbcfdf2;}}:function(){};return _0x3f56e5=![],_0x1960ba;};}());continue;case'27':_0x35324f[_0x42cddb(0x208)]=_0x413c18[_0x42cddb(0x1ee)];continue;case'28':_0x35324f[_0x413c18[_0x42cddb(0x21a)]]=_0x413c18[_0x42cddb(0x1c7)];continue;case'29':_0x35324f[_0x413c18[_0x42cddb(0x227)]]=_0x413c18[_0x42cddb(0x1df)];continue;case'30':_0x35324f[_0x413c18[_0x42cddb(0x21d)]]=_0x413c18[_0x42cddb(0x1eb)];continue;case'31':_0x35324f[_0x42cddb(0x205)]=_0x413c18['oPpWm'];continue;case'32':_0x35324f[_0x413c18['lAiBy']]=_0x413c18[_0x42cddb(0x1bd)];continue;case'33':_0x35324f[_0x413c18[_0x42cddb(0x214)]]=_0x413c18['GxuGv'];continue;case'34':_0x35324f[_0x413c18[_0x42cddb(0x1d7)]]=_0x413c18[_0x42cddb(0x22d)];continue;case'35':_0x35324f[_0x413c18[_0x42cddb(0x1de)]]=_0x413c18[_0x42cddb(0x1c5)];continue;case'36':_0x35324f[_0x413c18[_0x42cddb(0x1f6)]]=_0x413c18[_0x42cddb(0x226)];continue;case'37':_0x35324f[_0x413c18[_0x42cddb(0x1f0)]]=_0x413c18['bSGuE'];continue;case'38':_0x35324f[_0x413c18[_0x42cddb(0x20d)]]=_0x413c18['IHUDM'];continue;case'39':_0x35324f[_0x413c18[_0x42cddb(0x209)]]=_0x413c18[_0x42cddb(0x21e)];continue;}break;}}(HttpContentType||(exports[a4_0x23b342(0x1d6)]=HttpContentType={})));
1
+ 'use strict';function a4_0xd6e1(_0x4d64b2,_0x2c4e9a){var _0x14cee1=a4_0x5ccd();return a4_0xd6e1=function(_0x578c69,_0x249409){_0x578c69=_0x578c69-0x170;var _0x5ccd66=_0x14cee1[_0x578c69];return _0x5ccd66;},a4_0xd6e1(_0x4d64b2,_0x2c4e9a);}function a4_0x5ccd(){var _0x78ab22=['Gzip','Svg','dGFsz','623441ELoRYU','vCXBg','cMilS','video/webm','366944iBabQu','Zip','search','application/pdf','TPhOz','Tar','QIGEa','WIPVt','RssXml','12jbWTrE','bBnfz','text/csv','FUorZ','jlvRc','vwUYt','MultipartFormData','Pdf','xLrvh','TaFfL','iscrU','fGGQX','10ePeVgM','Yaml','Ogg','split','DFvxC','TFyLD','HVGXK','WAnGL','JsonLd','defineProperty','application/x-yaml','JXDBw','audio/ogg','TextYaml','rqMXk','USgem','DtzaR','Html','omaLr','MsWord','toString','358547HgLwHF','text/html','image/png','Xml','(((.+)+)+)+$','text/yaml','DmeZy','Reboy','Webp','Json','multipart/form-data','application/octet-stream','Odt','constructor','tXOOT','UNmvW','24|33|9|30|18|25|11|6|39|14|38|7|10|31|1|22|34|12|26|36|27|4|19|20|16|37|13|21|32|29|28|35|17|0|5|8|15|23|2|3','190kICKJF','Mp4','OctetStream','JsonApi','Ods','8SZcGAO','GVfHu','text/plain','Docx','EruDo','Umbmn','application/gzip','__esModule','application/zip','9880821DNVGQj','HttpContentType','JPJMb','vUDAT','Csv','Rtf','application/vnd.openxmlformats-officedocument.wordprocessingml.document','application/x-www-form-urlencoded','1375878HeFomo','application/rss+xml','tpKaj','image/gif','SCAIZ','application/x-tar','text/rtf','oTzSv','application/xml','bSlXp','145068ewFRiR','HZpFS','hgCgr','AtomXml','Webm','TextXml','FormUrlEncoded','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','image/webp','KluYO','mUVke','LKawT','audio/mpeg','application/atom+xml','Plain','JqCca','Xls','image/svg+xml','Markdown','IiGKq','6261519ljwoyy','application/msword','image/jpeg','Xlsx','Png','33CqDOWO'];a4_0x5ccd=function(){return _0x78ab22;};return a4_0x5ccd();}var a4_0x3b51d2=a4_0xd6e1;(function(_0x5be8b1,_0xe4e265){var _0x5b7945=a4_0xd6e1,_0x20f818=_0x5be8b1();while(!![]){try{var _0x309e37=-parseInt(_0x5b7945(0x1a3))/0x1+parseInt(_0x5b7945(0x17c))/0x2+parseInt(_0x5b7945(0x19f))/0x3*(-parseInt(_0x5b7945(0x1a7))/0x4)+-parseInt(_0x5b7945(0x1e2))/0x5*(-parseInt(_0x5b7945(0x186))/0x6)+-parseInt(_0x5b7945(0x1d1))/0x7*(-parseInt(_0x5b7945(0x1e7))/0x8)+parseInt(_0x5b7945(0x174))/0x9*(parseInt(_0x5b7945(0x1bc))/0xa)+parseInt(_0x5b7945(0x19a))/0xb*(-parseInt(_0x5b7945(0x1b0))/0xc);if(_0x309e37===_0xe4e265)break;else _0x20f818['push'](_0x20f818['shift']());}catch(_0x1b1e57){_0x20f818['push'](_0x20f818['shift']());}}}(a4_0x5ccd,0x8742b));Object[a4_0x3b51d2(0x1c5)](exports,a4_0x3b51d2(0x172),{'value':!![]}),exports[a4_0x3b51d2(0x175)]=void 0x0;var HttpContentType;(function(_0x5c07e9){var _0x70adf2=a4_0x3b51d2,_0xfa1715={'KluYO':_0x70adf2(0x1e1),'JXDBw':_0x70adf2(0x1be),'YeJRh':_0x70adf2(0x1c8),'UNmvW':_0x70adf2(0x1e5),'tpKaj':'application/vnd.api+json','TFyLD':_0x70adf2(0x1a0),'vwUYt':_0x70adf2(0x1ac),'LqWVy':_0x70adf2(0x179),'Gmlwt':_0x70adf2(0x182),'bBnfz':_0x70adf2(0x1e3),'USgem':'video/mp4','WAnGL':_0x70adf2(0x1af),'bOVZs':_0x70adf2(0x17d),'Reboy':_0x70adf2(0x1c4),'DmeZy':'application/ld+json','iscrU':function(_0x463e83,_0x5a91b3,_0x26a342){return _0x463e83(_0x5a91b3,_0x26a342);},'jCXyR':_0x70adf2(0x17b),'vCXBg':_0x70adf2(0x1e6),'EruDo':'application/vnd.oasis.opendocument.spreadsheet','FUorZ':_0x70adf2(0x1bd),'hgCgr':_0x70adf2(0x1c6),'QIGEa':_0x70adf2(0x1e4),'tXOOT':_0x70adf2(0x196),'aEEPK':'application/vnd.ms-excel','JqCca':_0x70adf2(0x192),'rqMXk':_0x70adf2(0x1da),'HZpFS':'application/json','EWQOB':'text/markdown','vUDAT':_0x70adf2(0x178),'LKawT':_0x70adf2(0x19e),'WIPVt':_0x70adf2(0x1d3),'dGFsz':_0x70adf2(0x1d2),'DFvxC':_0x70adf2(0x1a8),'ubkjO':_0x70adf2(0x173),'IQWzA':_0x70adf2(0x1cf),'bSlXp':_0x70adf2(0x19b),'QQbFf':_0x70adf2(0x1dd),'TPhOz':'application/vnd.oasis.opendocument.text','IiGKq':_0x70adf2(0x1d9),'oTzSv':_0x70adf2(0x18e),'omaLr':'Gif','fGGQX':_0x70adf2(0x17f),'TaFfL':function(_0x527e1f){return _0x527e1f();},'cMilS':_0x70adf2(0x1b6),'mUVke':_0x70adf2(0x1db),'xLrvh':'Jpeg','DtzaR':_0x70adf2(0x19c),'HVGXK':_0x70adf2(0x1a1),'bGAPR':_0x70adf2(0x197),'JPJMb':_0x70adf2(0x1ea),'GVfHu':_0x70adf2(0x17a),'Umbmn':_0x70adf2(0x18d),'ezvWs':_0x70adf2(0x1c9),'SCAIZ':_0x70adf2(0x1d6)},_0x10f865=_0xfa1715[_0x70adf2(0x18f)][_0x70adf2(0x1bf)]('|'),_0x3b1631=0x0;while(!![]){switch(_0x10f865[_0x3b1631++]){case'0':_0x5c07e9[_0xfa1715[_0x70adf2(0x1c7)]]=_0xfa1715['YeJRh'];continue;case'1':_0x5c07e9[_0xfa1715[_0x70adf2(0x1e0)]]=_0xfa1715[_0x70adf2(0x17e)];continue;case'2':_0x5c07e9[_0xfa1715[_0x70adf2(0x1c1)]]=_0x70adf2(0x171);continue;case'3':_0x5c07e9[_0xfa1715[_0x70adf2(0x1b5)]]=_0x70adf2(0x181);continue;case'4':_0x5c07e9[_0xfa1715['LqWVy']]=_0xfa1715['Gmlwt'];continue;case'5':_0x5c07e9[_0xfa1715[_0x70adf2(0x1b1)]]=_0xfa1715[_0x70adf2(0x1cb)];continue;case'6':_0x5c07e9[_0xfa1715[_0x70adf2(0x1c3)]]=_0xfa1715['bOVZs'];continue;case'7':_0x5c07e9[_0xfa1715[_0x70adf2(0x1d8)]]=_0xfa1715[_0x70adf2(0x1d7)];continue;case'8':_0x5c07e9[_0x70adf2(0x18a)]=_0x70adf2(0x1a6);continue;case'9':var _0x3794c5=_0xfa1715[_0x70adf2(0x1ba)](_0x2a7c5f,this,function(){var _0x29d350=_0x70adf2;return _0x3794c5[_0x29d350(0x1d0)]()[_0x29d350(0x1a9)](_0x2b91e6[_0x29d350(0x1b4)])[_0x29d350(0x1d0)]()[_0x29d350(0x1de)](_0x3794c5)[_0x29d350(0x1a9)](_0x2b91e6[_0x29d350(0x1b4)]);});continue;case'10':_0x5c07e9[_0x70adf2(0x18c)]=_0xfa1715['jCXyR'];continue;case'11':_0x5c07e9[_0x70adf2(0x18b)]='text/xml';continue;case'12':_0x5c07e9[_0x70adf2(0x1b7)]=_0x70adf2(0x1aa);continue;case'13':_0x5c07e9[_0xfa1715[_0x70adf2(0x1a4)]]=_0xfa1715[_0x70adf2(0x1eb)];continue;case'14':_0x5c07e9[_0xfa1715[_0x70adf2(0x1b3)]]=_0xfa1715[_0x70adf2(0x188)];continue;case'15':_0x5c07e9[_0xfa1715[_0x70adf2(0x1ad)]]=_0x70adf2(0x1dc);continue;case'16':_0x5c07e9[_0xfa1715[_0x70adf2(0x1df)]]=_0xfa1715['aEEPK'];continue;case'17':_0x5c07e9['Mp3']=_0xfa1715[_0x70adf2(0x195)];continue;case'18':_0x5c07e9[_0xfa1715[_0x70adf2(0x1ca)]]=_0xfa1715[_0x70adf2(0x187)];continue;case'19':_0x5c07e9[_0x70adf2(0x198)]=_0xfa1715['EWQOB'];continue;case'20':_0x5c07e9[_0xfa1715[_0x70adf2(0x177)]]=_0x70adf2(0x1b2);continue;case'21':_0x5c07e9[_0xfa1715[_0x70adf2(0x191)]]=_0xfa1715[_0x70adf2(0x1ae)];continue;case'22':_0x5c07e9[_0x70adf2(0x1cd)]=_0xfa1715[_0x70adf2(0x1a2)];continue;case'23':_0x5c07e9[_0xfa1715[_0x70adf2(0x1c0)]]=_0xfa1715['ubkjO'];continue;case'24':var _0x2b91e6={'jlvRc':_0x70adf2(0x1d5)};continue;case'25':_0x5c07e9[_0x70adf2(0x1d4)]=_0x70adf2(0x184);continue;case'26':_0x5c07e9[_0xfa1715['IQWzA']]=_0xfa1715[_0x70adf2(0x185)];continue;case'27':_0x5c07e9[_0xfa1715['QQbFf']]=_0xfa1715[_0x70adf2(0x1ab)];continue;case'28':_0x5c07e9[_0xfa1715[_0x70adf2(0x199)]]=_0xfa1715[_0x70adf2(0x183)];continue;case'29':_0x5c07e9[_0xfa1715[_0x70adf2(0x1ce)]]=_0xfa1715[_0x70adf2(0x1bb)];continue;case'30':_0xfa1715[_0x70adf2(0x1b9)](_0x3794c5);continue;case'31':_0x5c07e9[_0xfa1715[_0x70adf2(0x1a5)]]=_0xfa1715[_0x70adf2(0x190)];continue;case'32':_0x5c07e9[_0xfa1715[_0x70adf2(0x1b8)]]=_0xfa1715[_0x70adf2(0x1cc)];continue;case'33':var _0x2a7c5f=(function(){var _0x1374cd=!![];return function(_0x3a39ba,_0x7457d9){var _0x2b7f27=_0x1374cd?function(){if(_0x7457d9){var _0x4c06e0=_0x7457d9['apply'](_0x3a39ba,arguments);return _0x7457d9=null,_0x4c06e0;}}:function(){};return _0x1374cd=![],_0x2b7f27;};}());continue;case'34':_0x5c07e9[_0x70adf2(0x194)]=_0x70adf2(0x1e9);continue;case'35':_0x5c07e9[_0xfa1715[_0x70adf2(0x1c2)]]=_0xfa1715['bGAPR'];continue;case'36':_0x5c07e9[_0xfa1715[_0x70adf2(0x176)]]=_0xfa1715[_0x70adf2(0x1e8)];continue;case'37':_0x5c07e9[_0x70adf2(0x19d)]=_0xfa1715[_0x70adf2(0x170)];continue;case'38':_0x5c07e9[_0xfa1715['ezvWs']]=_0xfa1715[_0x70adf2(0x180)];continue;case'39':_0x5c07e9[_0x70adf2(0x189)]=_0x70adf2(0x193);continue;}break;}}(HttpContentType||(exports[a4_0x3b51d2(0x175)]=HttpContentType={})));
package/flow/end-step.js CHANGED
@@ -1 +1 @@
1
- const a5_0x5aced9=a5_0x28ef;(function(_0x4f4deb,_0x295261){const _0x38c1d2=a5_0x28ef,_0x4b3a7b=_0x4f4deb();while(!![]){try{const _0x4372a4=parseInt(_0x38c1d2(0x1e8))/0x1+parseInt(_0x38c1d2(0x1e5))/0x2*(-parseInt(_0x38c1d2(0x1f2))/0x3)+parseInt(_0x38c1d2(0x1e6))/0x4+parseInt(_0x38c1d2(0x1e3))/0x5+-parseInt(_0x38c1d2(0x1d3))/0x6*(-parseInt(_0x38c1d2(0x1ce))/0x7)+parseInt(_0x38c1d2(0x1ec))/0x8+-parseInt(_0x38c1d2(0x1d0))/0x9*(parseInt(_0x38c1d2(0x1d4))/0xa);if(_0x4372a4===_0x295261)break;else _0x4b3a7b['push'](_0x4b3a7b['shift']());}catch(_0x586126){_0x4b3a7b['push'](_0x4b3a7b['shift']());}}}(a5_0x4512,0x8a892));const a5_0x513edb=(function(){const _0x3122f7=a5_0x28ef,_0x554b03={'OQIIE':function(_0x29bd32,_0x5c28b1){return _0x29bd32!==_0x5c28b1;},'xOIaZ':_0x3122f7(0x1e1),'QIHjA':function(_0x33366d,_0x2d490f){return _0x33366d===_0x2d490f;},'qrXIW':_0x3122f7(0x1ee)};let _0x44f502=!![];return function(_0x129dea,_0x3eb562){const _0x33b025=_0x44f502?function(){const _0x284c15=a5_0x28ef;if(_0x554b03[_0x284c15(0x1e0)](_0x554b03[_0x284c15(0x1ca)],_0x554b03[_0x284c15(0x1ca)])){const _0x32155e=_0x30ac30['apply'](_0x31a6d3,arguments);return _0x34be7a=null,_0x32155e;}else{if(_0x3eb562){if(_0x554b03[_0x284c15(0x1dc)](_0x284c15(0x1ee),_0x554b03[_0x284c15(0x1cc)])){const _0x2f6945=_0x3eb562['apply'](_0x129dea,arguments);return _0x3eb562=null,_0x2f6945;}else return!![];}}}:function(){};return _0x44f502=![],_0x33b025;};}()),a5_0x3396f2=a5_0x513edb(this,function(){const _0x4e8e59=a5_0x28ef,_0x20a2e9={'PAhnU':_0x4e8e59(0x1d2)};return a5_0x3396f2[_0x4e8e59(0x1d8)]()['search'](_0x20a2e9[_0x4e8e59(0x1ea)])[_0x4e8e59(0x1d8)]()[_0x4e8e59(0x1ed)](a5_0x3396f2)[_0x4e8e59(0x1da)](_0x20a2e9['PAhnU']);});function a5_0x28ef(_0x5a74ac,_0x435660){const _0x1437b3=a5_0x4512();return a5_0x28ef=function(_0x3396f2,_0x513edb){_0x3396f2=_0x3396f2-0x1c9;let _0x45128b=_0x1437b3[_0x3396f2];return _0x45128b;},a5_0x28ef(_0x5a74ac,_0x435660);}a5_0x3396f2();'use strict';var __importDefault=this&&this[a5_0x5aced9(0x1cd)]||function(_0x22f170){const _0x4fa567=a5_0x5aced9;return _0x22f170&&_0x22f170[_0x4fa567(0x1f0)]?_0x22f170:{'default':_0x22f170};};Object[a5_0x5aced9(0x1d9)](exports,a5_0x5aced9(0x1f0),{'value':!![]}),exports[a5_0x5aced9(0x1df)]=void 0x0;const zod_1=__importDefault(require(a5_0x5aced9(0x1cf))),message_util_1=require('../utils/message-util'),step_1=require('./step'),AbruptEndPrompt='\x0aNicely\x20tell\x20the\x20user\x20this\x20is\x20the\x20end\x20of\x20conversation\x20as\x20they\x20requested,\x20you\x20MUST\x20NOT\x20talk\x20other\x20things!\x0a';function a5_0x4512(){const _0x298817=['QIHjA','zFSmF','end\x20the\x20chat\x20conversation','EndStep','OQIIE','SWdal','flow','862305mfcPZB','wMFur','2axrlkg','3342188zTvVHi','HumanMessageEx','746499RtrDor','zOvhd','PAhnU','end_chat','5421208NRuoJA','constructor','wzSXb','completed','__esModule','getPrompt','1507773uPUqkm','onEnter','getSessionDoc','default','IzEAs','xOIaZ','nzEDO','qrXIW','__importDefault','1394596rMaqDZ','zod','16803bMbNhW','Step','(((.+)+)+)+$','12rqAPwW','9430oKhAaY','onCrossing','describe','defineTool','toString','defineProperty','search','I\x27m\x20done\x20with\x20chat'];a5_0x4512=function(){return _0x298817;};return a5_0x4512();}class EndStep extends step_1[a5_0x5aced9(0x1d1)]{constructor(_0x3d08a1,_0x6ef6b7){super(EndStep,_0x3d08a1,_0x6ef6b7);}[a5_0x5aced9(0x1d5)](_0xbc1912,_0xfe8415){const _0x4afdd3=a5_0x5aced9,_0x1357d9={'PkdMF':_0x4afdd3(0x1db)};return new message_util_1[(_0x4afdd3(0x1e7))](this,_0x1357d9['PkdMF']);}['isEnd'](){return!![];}[a5_0x5aced9(0x1f3)](){const _0x5ec9e6=a5_0x5aced9,_0x3f4bfd={'zOvhd':_0x5ec9e6(0x1ef)},_0x5b6f90=this[_0x5ec9e6(0x1e2)][_0x5ec9e6(0x1f4)]();_0x5b6f90['runStatus']=_0x3f4bfd[_0x5ec9e6(0x1e9)];}[a5_0x5aced9(0x1f1)](){const _0x2ee449=a5_0x5aced9,_0x3e0796={'nzEDO':_0x2ee449(0x1dd)},_0x3da1b8=super[_0x2ee449(0x1f1)]();if(_0x3da1b8){if(_0x3e0796['nzEDO']===_0x3e0796[_0x2ee449(0x1cb)])return _0x3da1b8;else{const _0xd95c57=_0x33b7ef?function(){if(_0x594a79){const _0x359f37=_0x2e5d65['apply'](_0x9ed7e2,arguments);return _0xbeb957=null,_0x359f37;}}:function(){};return _0x1c9538=![],_0xd95c57;}}else return AbruptEndPrompt;}[a5_0x5aced9(0x1d7)](){const _0x2aceba=a5_0x5aced9,_0x5e9f8a={'IzEAs':_0x2aceba(0x1eb),'wMFur':'the\x20prompt\x20to\x20be\x20displayed\x20later'};return[{'name':_0x5e9f8a[_0x2aceba(0x1c9)],'description':_0x2aceba(0x1de),'schema':zod_1[_0x2aceba(0x1f5)]['object']({'prompt':zod_1['default']['string']()[_0x2aceba(0x1d6)](_0x5e9f8a[_0x2aceba(0x1e4)])})}];}async[a5_0x5aced9(0x1eb)](_0xed2ac5){return{'step':EndStep};}}exports[a5_0x5aced9(0x1df)]=EndStep;
1
+ const a5_0xb599f=a5_0x166e;(function(_0x3e7f68,_0x40a9bc){const _0xbd1921=a5_0x166e,_0x2e175f=_0x3e7f68();while(!![]){try{const _0x1f5c3c=parseInt(_0xbd1921(0x1c6))/0x1+parseInt(_0xbd1921(0x1ca))/0x2+parseInt(_0xbd1921(0x1b8))/0x3*(parseInt(_0xbd1921(0x1a3))/0x4)+parseInt(_0xbd1921(0x1aa))/0x5+parseInt(_0xbd1921(0x1b1))/0x6+-parseInt(_0xbd1921(0x1c0))/0x7+parseInt(_0xbd1921(0x1b7))/0x8*(-parseInt(_0xbd1921(0x1a2))/0x9);if(_0x1f5c3c===_0x40a9bc)break;else _0x2e175f['push'](_0x2e175f['shift']());}catch(_0x5875fb){_0x2e175f['push'](_0x2e175f['shift']());}}}(a5_0x1193,0x7bd2a));const a5_0x14c4af=(function(){const _0x2387e3=a5_0x166e,_0x2720ca={'TNKwJ':function(_0x460b54,_0x4bd343){return _0x460b54===_0x4bd343;},'MbNjM':_0x2387e3(0x19e),'xqfND':_0x2387e3(0x1c9),'ONeUf':function(_0x186ce3,_0x1fc61f){return _0x186ce3!==_0x1fc61f;},'MaazF':_0x2387e3(0x1b2)};let _0x2e445b=!![];return function(_0x715bf2,_0x4ab721){const _0x4f3907=_0x2387e3;if(_0x2720ca[_0x4f3907(0x1a0)](_0x2720ca[_0x4f3907(0x1bf)],_0x4f3907(0x1c3))){const _0x250226=_0x2e445b?function(){const _0x742a6e=_0x4f3907;if(_0x2720ca[_0x742a6e(0x19f)](_0x2720ca[_0x742a6e(0x1c2)],_0x2720ca['xqfND'])){if(_0x5f143b){const _0x231ff4=_0x3b1056[_0x742a6e(0x1ba)](_0x19466a,arguments);return _0x1cdb8c=null,_0x231ff4;}}else{if(_0x4ab721){const _0x1c0d9d=_0x4ab721['apply'](_0x715bf2,arguments);return _0x4ab721=null,_0x1c0d9d;}}}:function(){};return _0x2e445b=![],_0x250226;}else return!![];};}()),a5_0x3911eb=a5_0x14c4af(this,function(){const _0x43699d=a5_0x166e,_0x2440ba={'nMDbZ':_0x43699d(0x1ab)};return a5_0x3911eb[_0x43699d(0x1b6)]()[_0x43699d(0x1bd)](_0x2440ba[_0x43699d(0x1c4)])['toString']()[_0x43699d(0x1c8)](a5_0x3911eb)[_0x43699d(0x1bd)](_0x2440ba[_0x43699d(0x1c4)]);});a5_0x3911eb();'use strict';var __importDefault=this&&this['__importDefault']||function(_0x17acc3){return _0x17acc3&&_0x17acc3['__esModule']?_0x17acc3:{'default':_0x17acc3};};function a5_0x166e(_0x11279d,_0x14dc3e){const _0x5b39df=a5_0x1193();return a5_0x166e=function(_0x3911eb,_0x14c4af){_0x3911eb=_0x3911eb-0x19e;let _0x119383=_0x5b39df[_0x3911eb];return _0x119383;},a5_0x166e(_0x11279d,_0x14dc3e);}Object[a5_0xb599f(0x1bc)](exports,a5_0xb599f(0x1cb),{'value':!![]}),exports[a5_0xb599f(0x1a1)]=void 0x0;const zod_1=__importDefault(require('zod')),message_util_1=require('../utils/message-util'),step_1=require(a5_0xb599f(0x1cc)),AbruptEndPrompt=a5_0xb599f(0x1a5);function a5_0x1193(){const _0x1432e8=['HEGvB','constructor','NLkEN','289228ihHQTw','__esModule','./step','DNJeW','TNKwJ','ONeUf','EndStep','8334bRZplw','668azSYmr','I\x27m\x20done\x20with\x20chat','\x0aNicely\x20tell\x20the\x20user\x20this\x20is\x20the\x20end\x20of\x20conversation\x20as\x20they\x20requested,\x20you\x20MUST\x20NOT\x20talk\x20other\x20things!\x0a','the\x20prompt\x20to\x20be\x20displayed\x20later','string','Kmajr','hWyWN','1101995VAmyQl','(((.+)+)+)+$','getPrompt','end_chat','flow','onEnter','onCrossing','5154408vNdnnt','irEPr','joFnu','defineTool','Slnfs','toString','7016VouyxP','2613JmYXZb','end\x20the\x20chat\x20conversation','apply','oIsjq','defineProperty','search','runStatus','MaazF','779317eUCDEY','completed','MbNjM','vqKjs','nMDbZ','HumanMessageEx','61073rYCDjj'];a5_0x1193=function(){return _0x1432e8;};return a5_0x1193();}class EndStep extends step_1['Step']{constructor(_0x527aa9,_0x29b249){super(EndStep,_0x527aa9,_0x29b249);}[a5_0xb599f(0x1b0)](_0x32cbee,_0x4afc2a){const _0x451007=a5_0xb599f,_0x35b2c1={'Cbopr':_0x451007(0x1a4)};return new message_util_1[(_0x451007(0x1c5))](this,_0x35b2c1['Cbopr']);}['isEnd'](){return!![];}[a5_0xb599f(0x1af)](){const _0x434e69=a5_0xb599f,_0x3f7fa5={'oIsjq':_0x434e69(0x1c1)},_0x568495=this[_0x434e69(0x1ae)]['getSessionDoc']();_0x568495[_0x434e69(0x1be)]=_0x3f7fa5[_0x434e69(0x1bb)];}[a5_0xb599f(0x1ac)](){const _0x5afdf4=a5_0xb599f,_0x51aab0={'joFnu':function(_0x127f1e,_0x14296c){return _0x127f1e===_0x14296c;},'Slnfs':_0x5afdf4(0x1c7)},_0x493486=super['getPrompt']();if(_0x493486)return _0x493486;else{if(_0x51aab0[_0x5afdf4(0x1b3)](_0x51aab0[_0x5afdf4(0x1b5)],_0x5afdf4(0x1c7)))return AbruptEndPrompt;else{const _0x47bb19=_0x3afb56?function(){const _0x260a2f=_0x5afdf4;if(_0x2022c5){const _0x38d2ef=_0x47c9d2[_0x260a2f(0x1ba)](_0x32f4ac,arguments);return _0x56a4a0=null,_0x38d2ef;}}:function(){};return _0x4029eb=![],_0x47bb19;}}}[a5_0xb599f(0x1b4)](){const _0xb240d7=a5_0xb599f,_0x56576c={'hWyWN':'end_chat','Kmajr':_0xb240d7(0x1b9),'UwCVL':_0xb240d7(0x1a6)};return[{'name':_0x56576c[_0xb240d7(0x1a9)],'description':_0x56576c[_0xb240d7(0x1a8)],'schema':zod_1['default']['object']({'prompt':zod_1['default'][_0xb240d7(0x1a7)]()['describe'](_0x56576c['UwCVL'])})}];}async[a5_0xb599f(0x1ad)](_0x49a98a){return{'step':EndStep};}}exports['EndStep']=EndStep;
@@ -1 +1 @@
1
- const a6_0x3d4bd6=a6_0x12cc;(function(_0xe39341,_0x2e58d9){const _0x2ccba3=a6_0x12cc,_0x19ff6c=_0xe39341();while(!![]){try{const _0x54afa0=-parseInt(_0x2ccba3(0x109))/0x1*(parseInt(_0x2ccba3(0xfa))/0x2)+-parseInt(_0x2ccba3(0xf6))/0x3+parseInt(_0x2ccba3(0xf2))/0x4*(-parseInt(_0x2ccba3(0x101))/0x5)+-parseInt(_0x2ccba3(0x107))/0x6+parseInt(_0x2ccba3(0x114))/0x7*(-parseInt(_0x2ccba3(0x10b))/0x8)+parseInt(_0x2ccba3(0x10c))/0x9*(parseInt(_0x2ccba3(0xfe))/0xa)+-parseInt(_0x2ccba3(0xf5))/0xb*(-parseInt(_0x2ccba3(0x104))/0xc);if(_0x54afa0===_0x2e58d9)break;else _0x19ff6c['push'](_0x19ff6c['shift']());}catch(_0x32c002){_0x19ff6c['push'](_0x19ff6c['shift']());}}}(a6_0x4e48,0xeb3aa));const a6_0x122257=(function(){let _0x4e1adf=!![];return function(_0x143964,_0x39c73c){const _0x45c635=_0x4e1adf?function(){const _0x415503=a6_0x12cc;if(_0x39c73c){const _0x577ca6=_0x39c73c[_0x415503(0x113)](_0x143964,arguments);return _0x39c73c=null,_0x577ca6;}}:function(){};return _0x4e1adf=![],_0x45c635;};}()),a6_0x4d3130=a6_0x122257(this,function(){const _0x5313c7=a6_0x12cc,_0x10e854={'wxXOf':_0x5313c7(0x115)};return a6_0x4d3130[_0x5313c7(0x100)]()[_0x5313c7(0xfb)]('(((.+)+)+)+$')[_0x5313c7(0x100)]()[_0x5313c7(0x111)](a6_0x4d3130)['search'](_0x10e854['wxXOf']);});a6_0x4d3130();'use strict';var __importDefault=this&&this[a6_0x3d4bd6(0x10f)]||function(_0xe3ee8d){const _0x957094=a6_0x3d4bd6;return _0xe3ee8d&&_0xe3ee8d[_0x957094(0x105)]?_0xe3ee8d:{'default':_0xe3ee8d};};Object[a6_0x3d4bd6(0x11a)](exports,a6_0x3d4bd6(0x105),{'value':!![]}),exports[a6_0x3d4bd6(0x10d)]=void 0x0;const moment_1=__importDefault(require('moment')),uuid_1=require(a6_0x3d4bd6(0x106)),core_config_1=require(a6_0x3d4bd6(0x110)),memory_1=require(a6_0x3d4bd6(0xf9));function a6_0x4e48(){const _0x22e48f=['oaBQD','8831244JNEuvh','__esModule','uuid','8871438tMdEgY','running','719pxlbyi','\x27\x20not\x20registered.','12389672pWtVbr','387FQiBBn','FlowCreator','init','__importDefault','../configs/core-config','constructor','default','apply','7hitWUC','(((.+)+)+)+$','getFlow','FlowClass\x20\x20\x27','CoreConfig','collectSteps','defineProperty','4649860GVKday','NJeAV','Memory','99jDXzVn','4667355ieGTOZ','GwfXQ','createDoc','./memory','1488lUtqNS','search','toDate','create','144310EtBvrt','lyBtQ','toString','5ulKwjy','addContext'];a6_0x4e48=function(){return _0x22e48f;};return a6_0x4e48();}function a6_0x12cc(_0x3af945,_0x1e5dee){const _0x240ec8=a6_0x4e48();return a6_0x12cc=function(_0x4d3130,_0x122257){_0x4d3130=_0x4d3130-0xf2;let _0x4e488e=_0x240ec8[_0x4d3130];return _0x4e488e;},a6_0x12cc(_0x3af945,_0x1e5dee);}class FlowCreator{static async[a6_0x3d4bd6(0xfd)](_0x552c93,_0x5d1660,_0x51481e,_0x526e93){const _0x853d24=a6_0x3d4bd6,_0x50a3c6={'lyBtQ':function(_0x37895c,_0x4b46c1){return _0x37895c===_0x4b46c1;},'oaBQD':'DcoUV','NJeAV':function(_0x20360b,_0xca2dcc){return _0x20360b===_0xca2dcc;}},_0x36e629=_0x51481e[_0x853d24(0x116)](_0x552c93);if(_0x36e629){if(_0x50a3c6[_0x853d24(0xff)](_0x50a3c6[_0x853d24(0x103)],_0x50a3c6[_0x853d24(0x103)])){const _0x274cf4=new _0x36e629();return _0x274cf4[_0x853d24(0x102)](_0x526e93),_0x274cf4['setMemory'](new memory_1[(_0x853d24(0xf4))]()),await _0x274cf4[_0x853d24(0x10e)](),_0x274cf4[_0x853d24(0x119)](),await _0x274cf4['bootstrap'](_0x5d1660,_0x51481e),_0x274cf4;}else{if(_0x4b5191){const _0x2e5f82=_0x326d12[_0x853d24(0x113)](_0x12ab8c,arguments);return _0x34887e=null,_0x2e5f82;}}}else{if(_0x50a3c6[_0x853d24(0xf3)](_0x853d24(0xf7),_0x853d24(0xf7)))throw new Error(_0x853d24(0x117)+_0x552c93+_0x853d24(0x10a));else return _0x38fa1a&&_0x67ef83[_0x853d24(0x105)]?_0x27dcde:{'default':_0x335487};}}static async[a6_0x3d4bd6(0xf8)](){const _0x2e18bf=a6_0x3d4bd6,_0x261fe8={'Vrltf':_0x2e18bf(0x108)},_0x112fa1=(0x0,uuid_1['v4'])();return{'id':_0x112fa1,'version':0x1,'runStatus':_0x261fe8['Vrltf'],'createdOn':(0x0,moment_1[_0x2e18bf(0x112)])()[_0x2e18bf(0xfc)](),'saveOn':(0x0,moment_1['default'])()[_0x2e18bf(0xfc)](),'expireAfter':core_config_1[_0x2e18bf(0x118)]['sessionExpiration'],'tokens':{'inputTokens':0x0,'outputTokens':0x0,'totalTokens':0x0},'flows':[],'log':[],'error':[],'warn':[],'debug':[],'verbose':[]};}}exports[a6_0x3d4bd6(0x10d)]=FlowCreator;
1
+ const a6_0x4be0f8=a6_0x253e;(function(_0x23661b,_0xda7d98){const _0x301f6c=a6_0x253e,_0xd2978e=_0x23661b();while(!![]){try{const _0x5f4658=parseInt(_0x301f6c(0xb7))/0x1*(-parseInt(_0x301f6c(0xd6))/0x2)+-parseInt(_0x301f6c(0xac))/0x3+parseInt(_0x301f6c(0xd3))/0x4*(parseInt(_0x301f6c(0xb6))/0x5)+parseInt(_0x301f6c(0xab))/0x6*(parseInt(_0x301f6c(0xb5))/0x7)+-parseInt(_0x301f6c(0xcd))/0x8*(parseInt(_0x301f6c(0xcb))/0x9)+parseInt(_0x301f6c(0xb3))/0xa+-parseInt(_0x301f6c(0xc8))/0xb*(parseInt(_0x301f6c(0xc9))/0xc);if(_0x5f4658===_0xda7d98)break;else _0xd2978e['push'](_0xd2978e['shift']());}catch(_0x35d7f7){_0xd2978e['push'](_0xd2978e['shift']());}}}(a6_0x9139,0x60ce7));const a6_0x3934a6=(function(){const _0x8eb4c0=a6_0x253e,_0x51c076={'elxdP':_0x8eb4c0(0xcf),'Efavt':_0x8eb4c0(0xb9),'GiEsB':'AvJoy','xYTCb':_0x8eb4c0(0xd0)};let _0x255625=!![];return function(_0x5488b2,_0x2fd4b2){const _0x175245=_0x8eb4c0,_0x541069={'IIeYH':_0x51c076[_0x175245(0xbd)],'brjXl':_0x51c076[_0x175245(0xc7)],'KbBKg':_0x51c076[_0x175245(0xd5)]};if(_0x51c076['xYTCb']!=='aJffy'){const _0x2fabed=_0x255625?function(){const _0x38246c=_0x175245;if(_0x541069[_0x38246c(0xc1)]!==_0x541069[_0x38246c(0xa7)]){if(_0x2fd4b2){const _0x54cb6d=_0x2fd4b2[_0x38246c(0xa9)](_0x5488b2,arguments);return _0x2fd4b2=null,_0x54cb6d;}}else return _0x33ab3c[_0x38246c(0xbc)]()[_0x38246c(0xba)](_0x38246c(0xcf))[_0x38246c(0xbc)]()[_0x38246c(0xc6)](_0x328556)[_0x38246c(0xba)](_0x541069['IIeYH']);}:function(){};return _0x255625=![],_0x2fabed;}else{const _0x3c7da6=_0x908f4d?function(){const _0x1a8f25=_0x175245;if(_0xd6aaaf){const _0x1c292c=_0x4cf28e[_0x1a8f25(0xa9)](_0x2e37b1,arguments);return _0x245e17=null,_0x1c292c;}}:function(){};return _0x55023d=![],_0x3c7da6;}};}()),a6_0x42a28a=a6_0x3934a6(this,function(){const _0x3f0170=a6_0x253e,_0x49ec02={'GnoIy':'(((.+)+)+)+$'};return a6_0x42a28a[_0x3f0170(0xbc)]()['search'](_0x49ec02['GnoIy'])[_0x3f0170(0xbc)]()[_0x3f0170(0xc6)](a6_0x42a28a)[_0x3f0170(0xba)](_0x49ec02[_0x3f0170(0xb0)]);});a6_0x42a28a();'use strict';var __importDefault=this&&this[a6_0x4be0f8(0xc5)]||function(_0x3e8cbe){return _0x3e8cbe&&_0x3e8cbe['__esModule']?_0x3e8cbe:{'default':_0x3e8cbe};};Object[a6_0x4be0f8(0xca)](exports,a6_0x4be0f8(0xaa),{'value':!![]}),exports['FlowCreator']=void 0x0;const moment_1=__importDefault(require(a6_0x4be0f8(0xaf))),uuid_1=require(a6_0x4be0f8(0xd1)),core_config_1=require(a6_0x4be0f8(0xbb)),memory_1=require('./memory');function a6_0x9139(){const _0x44190f=['3317730hbEoFU','FlowCreator','1199989oFOucV','310525OpFDcV','107225iagyJX','fHAfE','dXeFh','search','../configs/core-config','toString','elxdP','Memory','YylIt','setMemory','brjXl','addContext','getFlow','toDate','__importDefault','constructor','Efavt','1394657DuXkSA','24ljGSaf','defineProperty','36hYMgSb','TbKWs','561448XTAGvo','running','(((.+)+)+)+$','eLbwP','uuid','CoreConfig','40qfdhfC','create','GiEsB','6Evvbrg','KbBKg','collectSteps','apply','__esModule','24EhpmDu','1158117bwSPjM','init','FGWMl','moment','GnoIy','default','FlowClass\x20\x20\x27'];a6_0x9139=function(){return _0x44190f;};return a6_0x9139();}class FlowCreator{static async[a6_0x4be0f8(0xd4)](_0x265daf,_0x596cef,_0xcf8d88,_0x1ecafc){const _0x1157de=a6_0x4be0f8,_0x4b34d0={'TbKWs':function(_0x598c2e,_0x320e11){return _0x598c2e!==_0x320e11;},'fHAfE':_0x1157de(0xae)},_0x306412=_0xcf8d88[_0x1157de(0xc3)](_0x265daf);if(_0x306412){if(_0x4b34d0[_0x1157de(0xcc)](_0x4b34d0[_0x1157de(0xb8)],_0x4b34d0[_0x1157de(0xb8)])){const _0xa73df9=_0x39821d[_0x1157de(0xa9)](_0x2e133c,arguments);return _0x10e3d6=null,_0xa73df9;}else{const _0x468f7a=new _0x306412();return _0x468f7a[_0x1157de(0xc2)](_0x1ecafc),_0x468f7a[_0x1157de(0xc0)](new memory_1[(_0x1157de(0xbe))]()),await _0x468f7a[_0x1157de(0xad)](),_0x468f7a[_0x1157de(0xa8)](),await _0x468f7a['bootstrap'](_0x596cef,_0xcf8d88),_0x468f7a;}}else throw new Error(_0x1157de(0xb2)+_0x265daf+'\x27\x20not\x20registered.');}static async['createDoc'](){const _0x2f3bd4=a6_0x4be0f8,_0x402643={'YylIt':_0x2f3bd4(0xce)},_0x3e4182=(0x0,uuid_1['v4'])();return{'id':_0x3e4182,'version':0x1,'runStatus':_0x402643[_0x2f3bd4(0xbf)],'createdOn':(0x0,moment_1[_0x2f3bd4(0xb1)])()['toDate'](),'saveOn':(0x0,moment_1['default'])()[_0x2f3bd4(0xc4)](),'expireAfter':core_config_1[_0x2f3bd4(0xd2)]['sessionExpiration'],'tokens':{'inputTokens':0x0,'outputTokens':0x0,'totalTokens':0x0},'flows':[],'log':[],'error':[],'warn':[],'debug':[],'verbose':[]};}}function a6_0x253e(_0x4d2450,_0x27cf76){const _0x35968c=a6_0x9139();return a6_0x253e=function(_0x42a28a,_0x3934a6){_0x42a28a=_0x42a28a-0xa7;let _0x913906=_0x35968c[_0x42a28a];return _0x913906;},a6_0x253e(_0x4d2450,_0x27cf76);}exports[a6_0x4be0f8(0xb4)]=FlowCreator;
@@ -1 +1 @@
1
- 'use strict';const a7_0xac78c6=a7_0x430f;(function(_0x2fbce8,_0x4b5182){const _0x5b889d=a7_0x430f,_0x10096b=_0x2fbce8();while(!![]){try{const _0x1be99d=-parseInt(_0x5b889d(0xdd))/0x1*(-parseInt(_0x5b889d(0xe1))/0x2)+-parseInt(_0x5b889d(0xc8))/0x3*(parseInt(_0x5b889d(0xde))/0x4)+parseInt(_0x5b889d(0xd8))/0x5+parseInt(_0x5b889d(0xcc))/0x6*(parseInt(_0x5b889d(0xd2))/0x7)+parseInt(_0x5b889d(0xd6))/0x8+parseInt(_0x5b889d(0xc0))/0x9+-parseInt(_0x5b889d(0xd5))/0xa;if(_0x1be99d===_0x4b5182)break;else _0x10096b['push'](_0x10096b['shift']());}catch(_0x43f6dc){_0x10096b['push'](_0x10096b['shift']());}}}(a7_0x8bfd,0x34ced));Object[a7_0xac78c6(0xdf)](exports,'__esModule',{'value':!![]}),exports['RunResponseDto']=exports['ToolStatus']=void 0x0;const zod_1=require(a7_0xac78c6(0xd7)),zod_nestjs_1=require(a7_0xac78c6(0xbd)),content_type_1=require(a7_0xac78c6(0xe4)),RoleEnum=zod_1['z'][a7_0xac78c6(0xd1)]([a7_0xac78c6(0xcf),a7_0xac78c6(0xdc),'ai','tool']),ToolStatusEnum=zod_1['z'][a7_0xac78c6(0xd1)]([a7_0xac78c6(0xc7),a7_0xac78c6(0xc3)]),AIToolMessageSchema=zod_1['z'][a7_0xac78c6(0xc6)]({'name':zod_1['z'][a7_0xac78c6(0xd3)](),'args':zod_1['z'][a7_0xac78c6(0xc6)]({}),'id':zod_1['z'][a7_0xac78c6(0xd3)]()}),ChatMessageSchema=zod_1['z'][a7_0xac78c6(0xc6)]({'id':zod_1['z']['string'](),'type':RoleEnum,'content':zod_1['z']['string'](),'timestamp':zod_1['z'][a7_0xac78c6(0xc9)](),'tool_call_id':zod_1['z']['string']()[a7_0xac78c6(0xbf)](),'name':zod_1['z']['string'](),'status':ToolStatusEnum[a7_0xac78c6(0xbf)](),'tool_calls':zod_1['z'][a7_0xac78c6(0xca)](AIToolMessageSchema)[a7_0xac78c6(0xbf)](),'additional_kwargs':zod_1['z']['record'](zod_1['z'][a7_0xac78c6(0xe3)]())['optional']()}),StepSchema=zod_1['z'][a7_0xac78c6(0xc6)]({'name':zod_1['z'][a7_0xac78c6(0xd3)](),'isActive':zod_1['z']['boolean'](),'state':zod_1['z']['object']({}),'modelName':zod_1['z'][a7_0xac78c6(0xd3)](),'temperature':zod_1['z'][a7_0xac78c6(0xc5)]()}),MemorySchema=zod_1['z'][a7_0xac78c6(0xc6)]({'nameSpace':zod_1['z'][a7_0xac78c6(0xd3)](),'history':zod_1['z'][a7_0xac78c6(0xca)](ChatMessageSchema)}),FlowSchema=zod_1['z'][a7_0xac78c6(0xc6)]({'name':zod_1['z'][a7_0xac78c6(0xd3)](),'memory':zod_1['z']['array'](MemorySchema),'steps':zod_1['z'][a7_0xac78c6(0xca)](StepSchema),'context':zod_1['z']['object']({}),'temperature':zod_1['z'][a7_0xac78c6(0xc5)](),'sequence':zod_1['z'][a7_0xac78c6(0xca)](zod_1['z'][a7_0xac78c6(0xd3)]())}),RunStatusSchema=zod_1['z'][a7_0xac78c6(0xd1)]([a7_0xac78c6(0xe2),a7_0xac78c6(0xc4),a7_0xac78c6(0xce)]),_SessionSchema=zod_1['z']['object']({'id':zod_1['z'][a7_0xac78c6(0xd3)]()['nonempty'](),'createdOn':zod_1['z'][a7_0xac78c6(0xc9)](),'saveOn':zod_1['z']['date'](),'runStatus':RunStatusSchema,'version':zod_1['z'][a7_0xac78c6(0xc5)](),'expireAfter':zod_1['z'][a7_0xac78c6(0xc5)](),'flows':zod_1['z'][a7_0xac78c6(0xca)](FlowSchema),'log':zod_1['z']['array'](zod_1['z'][a7_0xac78c6(0xc6)]({})),'error':zod_1['z']['array'](zod_1['z'][a7_0xac78c6(0xc6)]({})),'warn':zod_1['z'][a7_0xac78c6(0xca)](zod_1['z']['object']({})),'debug':zod_1['z']['array'](zod_1['z'][a7_0xac78c6(0xc6)]({})),'verbose':zod_1['z'][a7_0xac78c6(0xca)](zod_1['z'][a7_0xac78c6(0xc6)]({})),'tokens':zod_1['z'][a7_0xac78c6(0xc6)]({'inputTokens':zod_1['z']['number'](),'outputTokens':zod_1['z'][a7_0xac78c6(0xc5)](),'totalTokens':zod_1['z']['number']()})});var ToolStatus;(function(_0x4e966e){const _0x3845fd=a7_0xac78c6,_0x5ec84f={'ihsHm':_0x3845fd(0xd9),'PJnKk':function(_0x3a4ad6,_0x1be8fc,_0x5b16b4){return _0x3a4ad6(_0x1be8fc,_0x5b16b4);},'OyIHJ':function(_0x411693){return _0x411693();},'XTfeK':_0x3845fd(0xc7),'Tabnx':_0x3845fd(0xc3)},_0x46e1d8=(function(){let _0x3581e4=!![];return function(_0x6009b7,_0x14912e){const _0x55e225=_0x3581e4?function(){const _0x43da47=a7_0x430f;if(_0x14912e){const _0x45e9b=_0x14912e[_0x43da47(0xc2)](_0x6009b7,arguments);return _0x14912e=null,_0x45e9b;}}:function(){};return _0x3581e4=![],_0x55e225;};}()),_0x304eb4=_0x5ec84f['PJnKk'](_0x46e1d8,this,function(){const _0x164167=_0x3845fd;return _0x304eb4[_0x164167(0xdb)]()[_0x164167(0xe0)](_0x5ec84f[_0x164167(0xcd)])[_0x164167(0xdb)]()['constructor'](_0x304eb4)[_0x164167(0xe0)](_0x5ec84f['ihsHm']);});_0x5ec84f[_0x3845fd(0xd0)](_0x304eb4),_0x4e966e[_0x5ec84f[_0x3845fd(0xc1)]]=_0x5ec84f[_0x3845fd(0xc1)],_0x4e966e[_0x5ec84f[_0x3845fd(0xda)]]=_0x5ec84f['Tabnx'];}(ToolStatus||(exports[a7_0xac78c6(0xd4)]=ToolStatus={})));function a7_0x430f(_0x568978,_0x16f03a){const _0x5635e0=a7_0x8bfd();return a7_0x430f=function(_0x4f4eab,_0x47e5db){_0x4f4eab=_0x4f4eab-0xbc;let _0x8bfdff=_0x5635e0[_0x4f4eab];return _0x8bfdff;},a7_0x430f(_0x568978,_0x16f03a);}const _ToolSchema=zod_1['z']['object']({'name':zod_1['z'][a7_0xac78c6(0xd3)](),'description':zod_1['z'][a7_0xac78c6(0xd3)](),'schema':zod_1['z'][a7_0xac78c6(0xc6)]({})}),RunResponseSchema=zod_1['z'][a7_0xac78c6(0xc6)]({'success':zod_1['z']['boolean'](),'completed':zod_1['z'][a7_0xac78c6(0xbc)](),'message':zod_1['z'][a7_0xac78c6(0xd3)](),'session':zod_1['z'][a7_0xac78c6(0xd3)](),'contentType':zod_1['z'][a7_0xac78c6(0xbe)](content_type_1['HttpContentType'])});function a7_0x8bfd(){const _0x4c99e2=['112PLrASA','string','ToolStatus','7683540GNalKJ','1000312XCKaBb','zod','343985wMKRks','(((.+)+)+)+$','Tabnx','toString','human','743EezBqp','68dolAFM','defineProperty','search','1094edLiFk','completed','any','./content-type','boolean','@anatine/zod-nestjs','nativeEnum','optional','2701971UFGLKV','XTfeK','apply','error','aborted','number','object','success','20487DphDWg','date','array','createZodDto','75102YYyeYP','ihsHm','running','system','OyIHJ','enum'];a7_0x8bfd=function(){return _0x4c99e2;};return a7_0x8bfd();}class RunResponseDto extends(0x0,zod_nestjs_1[a7_0xac78c6(0xcb)])(RunResponseSchema){}exports['RunResponseDto']=RunResponseDto;
1
+ 'use strict';const a7_0x259ca9=a7_0xc44c;function a7_0xc44c(_0x2c47be,_0xb20496){const _0x3adad0=a7_0xd2ca();return a7_0xc44c=function(_0x4fbdae,_0x4c2e18){_0x4fbdae=_0x4fbdae-0x17c;let _0xd2ca29=_0x3adad0[_0x4fbdae];return _0xd2ca29;},a7_0xc44c(_0x2c47be,_0xb20496);}(function(_0x532389,_0x2e7985){const _0x222888=a7_0xc44c,_0x15b90f=_0x532389();while(!![]){try{const _0x192786=parseInt(_0x222888(0x194))/0x1+parseInt(_0x222888(0x1a0))/0x2+parseInt(_0x222888(0x186))/0x3+-parseInt(_0x222888(0x1a2))/0x4*(-parseInt(_0x222888(0x187))/0x5)+-parseInt(_0x222888(0x19c))/0x6+-parseInt(_0x222888(0x191))/0x7*(parseInt(_0x222888(0x19e))/0x8)+-parseInt(_0x222888(0x189))/0x9*(parseInt(_0x222888(0x196))/0xa);if(_0x192786===_0x2e7985)break;else _0x15b90f['push'](_0x15b90f['shift']());}catch(_0x1675df){_0x15b90f['push'](_0x15b90f['shift']());}}}(a7_0xd2ca,0xd72d2));function a7_0xd2ca(){const _0x44d583=['3365284UByvtT','zod','string','lYJAw','nativeEnum','number','human','@anatine/zod-nestjs','defineProperty','object','constructor','apply','(((.+)+)+)+$','978435pKuMXy','10pnMTjU','optional','620145nrcFwt','RunResponseDto','createZodDto','enum','aborted','date','running','success','7963025MTYoKh','toString','search','1154069odmoAw','XyoiL','260GAEwvn','boolean','record','array','any','tool','1291476rSrbTB','ToolStatus','8rtiNEJ','wjWfy','1725714FjqoTP','error'];a7_0xd2ca=function(){return _0x44d583;};return a7_0xd2ca();}Object[a7_0x259ca9(0x181)](exports,'__esModule',{'value':!![]}),exports[a7_0x259ca9(0x18a)]=exports[a7_0x259ca9(0x19d)]=void 0x0;const zod_1=require(a7_0x259ca9(0x1a3)),zod_nestjs_1=require(a7_0x259ca9(0x180)),content_type_1=require('./content-type'),RoleEnum=zod_1['z'][a7_0x259ca9(0x18c)](['system',a7_0x259ca9(0x17f),'ai',a7_0x259ca9(0x19b)]),ToolStatusEnum=zod_1['z'][a7_0x259ca9(0x18c)]([a7_0x259ca9(0x190),a7_0x259ca9(0x1a1)]),AIToolMessageSchema=zod_1['z'][a7_0x259ca9(0x182)]({'name':zod_1['z'][a7_0x259ca9(0x1a4)](),'args':zod_1['z'][a7_0x259ca9(0x182)]({}),'id':zod_1['z'][a7_0x259ca9(0x1a4)]()}),ChatMessageSchema=zod_1['z'][a7_0x259ca9(0x182)]({'id':zod_1['z'][a7_0x259ca9(0x1a4)](),'type':RoleEnum,'content':zod_1['z'][a7_0x259ca9(0x1a4)](),'timestamp':zod_1['z']['date'](),'tool_call_id':zod_1['z'][a7_0x259ca9(0x1a4)]()[a7_0x259ca9(0x188)](),'name':zod_1['z'][a7_0x259ca9(0x1a4)](),'status':ToolStatusEnum[a7_0x259ca9(0x188)](),'tool_calls':zod_1['z']['array'](AIToolMessageSchema)[a7_0x259ca9(0x188)](),'additional_kwargs':zod_1['z'][a7_0x259ca9(0x198)](zod_1['z'][a7_0x259ca9(0x19a)]())[a7_0x259ca9(0x188)]()}),StepSchema=zod_1['z'][a7_0x259ca9(0x182)]({'name':zod_1['z'][a7_0x259ca9(0x1a4)](),'isActive':zod_1['z'][a7_0x259ca9(0x197)](),'state':zod_1['z'][a7_0x259ca9(0x182)]({}),'modelName':zod_1['z'][a7_0x259ca9(0x1a4)](),'temperature':zod_1['z'][a7_0x259ca9(0x17e)]()}),MemorySchema=zod_1['z'][a7_0x259ca9(0x182)]({'nameSpace':zod_1['z']['string'](),'history':zod_1['z'][a7_0x259ca9(0x199)](ChatMessageSchema)}),FlowSchema=zod_1['z'][a7_0x259ca9(0x182)]({'name':zod_1['z'][a7_0x259ca9(0x1a4)](),'memory':zod_1['z'][a7_0x259ca9(0x199)](MemorySchema),'steps':zod_1['z'][a7_0x259ca9(0x199)](StepSchema),'context':zod_1['z']['object']({}),'temperature':zod_1['z'][a7_0x259ca9(0x17e)](),'sequence':zod_1['z'][a7_0x259ca9(0x199)](zod_1['z'][a7_0x259ca9(0x1a4)]())}),RunStatusSchema=zod_1['z'][a7_0x259ca9(0x18c)](['completed',a7_0x259ca9(0x18d),a7_0x259ca9(0x18f)]),_SessionSchema=zod_1['z']['object']({'id':zod_1['z'][a7_0x259ca9(0x1a4)]()['nonempty'](),'createdOn':zod_1['z'][a7_0x259ca9(0x18e)](),'saveOn':zod_1['z'][a7_0x259ca9(0x18e)](),'runStatus':RunStatusSchema,'version':zod_1['z'][a7_0x259ca9(0x17e)](),'expireAfter':zod_1['z']['number'](),'flows':zod_1['z'][a7_0x259ca9(0x199)](FlowSchema),'log':zod_1['z'][a7_0x259ca9(0x199)](zod_1['z'][a7_0x259ca9(0x182)]({})),'error':zod_1['z'][a7_0x259ca9(0x199)](zod_1['z'][a7_0x259ca9(0x182)]({})),'warn':zod_1['z'][a7_0x259ca9(0x199)](zod_1['z'][a7_0x259ca9(0x182)]({})),'debug':zod_1['z'][a7_0x259ca9(0x199)](zod_1['z'][a7_0x259ca9(0x182)]({})),'verbose':zod_1['z'][a7_0x259ca9(0x199)](zod_1['z'][a7_0x259ca9(0x182)]({})),'tokens':zod_1['z'][a7_0x259ca9(0x182)]({'inputTokens':zod_1['z']['number'](),'outputTokens':zod_1['z']['number'](),'totalTokens':zod_1['z'][a7_0x259ca9(0x17e)]()})});var ToolStatus;(function(_0x3f417b){const _0x3fb2f0=a7_0x259ca9,_0xdf6d2e={'QWZdv':_0x3fb2f0(0x185),'lYJAw':function(_0x3cdf9a,_0x51cdeb,_0xd23521){return _0x3cdf9a(_0x51cdeb,_0xd23521);},'wjWfy':'success','XyoiL':_0x3fb2f0(0x1a1)},_0x18a718=(function(){let _0x4912f5=!![];return function(_0x441479,_0x4f554c){const _0x469715=_0x4912f5?function(){const _0x4870cb=a7_0xc44c;if(_0x4f554c){const _0x1a736b=_0x4f554c[_0x4870cb(0x184)](_0x441479,arguments);return _0x4f554c=null,_0x1a736b;}}:function(){};return _0x4912f5=![],_0x469715;};}()),_0x528a19=_0xdf6d2e[_0x3fb2f0(0x17c)](_0x18a718,this,function(){const _0x5e31f7=_0x3fb2f0;return _0x528a19[_0x5e31f7(0x192)]()[_0x5e31f7(0x193)](_0x5e31f7(0x185))[_0x5e31f7(0x192)]()[_0x5e31f7(0x183)](_0x528a19)[_0x5e31f7(0x193)](_0xdf6d2e['QWZdv']);});_0x528a19(),_0x3f417b[_0xdf6d2e[_0x3fb2f0(0x19f)]]=_0xdf6d2e[_0x3fb2f0(0x19f)],_0x3f417b[_0xdf6d2e[_0x3fb2f0(0x195)]]=_0xdf6d2e[_0x3fb2f0(0x195)];}(ToolStatus||(exports[a7_0x259ca9(0x19d)]=ToolStatus={})));const _ToolSchema=zod_1['z']['object']({'name':zod_1['z'][a7_0x259ca9(0x1a4)](),'description':zod_1['z'][a7_0x259ca9(0x1a4)](),'schema':zod_1['z']['object']({})}),RunResponseSchema=zod_1['z'][a7_0x259ca9(0x182)]({'success':zod_1['z'][a7_0x259ca9(0x197)](),'completed':zod_1['z'][a7_0x259ca9(0x197)](),'message':zod_1['z'][a7_0x259ca9(0x1a4)](),'session':zod_1['z'][a7_0x259ca9(0x1a4)](),'contentType':zod_1['z'][a7_0x259ca9(0x17d)](content_type_1['HttpContentType'])});class RunResponseDto extends(0x0,zod_nestjs_1[a7_0x259ca9(0x18b)])(RunResponseSchema){}exports[a7_0x259ca9(0x18a)]=RunResponseDto;
package/flow/flow.js CHANGED
@@ -1 +1 @@
1
- const a8_0x3ae54d=a8_0x835a;(function(_0x101061,_0xeffd51){const _0x4d9fd8=a8_0x835a,_0x507206=_0x101061();while(!![]){try{const _0x4f59e5=parseInt(_0x4d9fd8(0x175))/0x1+parseInt(_0x4d9fd8(0x171))/0x2*(-parseInt(_0x4d9fd8(0x159))/0x3)+parseInt(_0x4d9fd8(0x151))/0x4*(parseInt(_0x4d9fd8(0x1db))/0x5)+parseInt(_0x4d9fd8(0x19b))/0x6+-parseInt(_0x4d9fd8(0x184))/0x7*(parseInt(_0x4d9fd8(0x163))/0x8)+parseInt(_0x4d9fd8(0x1a5))/0x9+-parseInt(_0x4d9fd8(0x1ba))/0xa*(parseInt(_0x4d9fd8(0x152))/0xb);if(_0x4f59e5===_0xeffd51)break;else _0x507206['push'](_0x507206['shift']());}catch(_0x24c926){_0x507206['push'](_0x507206['shift']());}}}(a8_0x5447,0x6dbec));const a8_0x476256=(function(){const _0x2d322e=a8_0x835a,_0x4fc72c={'njBQh':function(_0x247cca,_0x446edd){return _0x247cca!==_0x446edd;},'STogT':_0x2d322e(0x1d1)};let _0x593d0c=!![];return function(_0x37e92c,_0x61bc52){const _0xe6f44f=_0x593d0c?function(){const _0x16bd7d=a8_0x835a;if(_0x61bc52){if(_0x4fc72c[_0x16bd7d(0x170)](_0x4fc72c[_0x16bd7d(0x1b3)],_0x4fc72c[_0x16bd7d(0x1b3)])){for(const [_0x21cfdb,_0x5897d1]of this[_0x16bd7d(0x164)]){if(_0x5897d1[_0x16bd7d(0x169)])return _0x5897d1;}return null;}else{const _0xd0a161=_0x61bc52[_0x16bd7d(0x1ca)](_0x37e92c,arguments);return _0x61bc52=null,_0xd0a161;}}}:function(){};return _0x593d0c=![],_0xe6f44f;};}()),a8_0x7d5b3f=a8_0x476256(this,function(){const _0x2fb7b0=a8_0x835a,_0xf4296f={'pwivI':_0x2fb7b0(0x18a)};return a8_0x7d5b3f[_0x2fb7b0(0x1bd)]()[_0x2fb7b0(0x1b9)](_0x2fb7b0(0x18a))[_0x2fb7b0(0x1bd)]()['constructor'](a8_0x7d5b3f)['search'](_0xf4296f['pwivI']);});a8_0x7d5b3f();'use strict';function a8_0x5447(){const _0x5d69ae=['uwFVI','all','defineTool','cItAi','Flow','assignFlowDoc','1085yzwNjo','SiMdt','voQlr','getName','iRLEV','tallyToken','(((.+)+)+)+$','steps','iLWDK','defineSteps','PROVs','saveSession','spawnSteps','context','vvcFh','activateByName','concurrentSteps','Batch\x20','NFklr','SessionLogger','createDoc','getState','useModel','5325084HZNJbj','config._concurrent','jQaAQ','JsUbb','coWfb','totalTokens','oUgUz','temp','input_tokens','DynamicStructuredTool','1982574muBDKY','HXKuy','run','SelfClient','eglQT','Dubba','APWfL','YVgXJ','inputTokens','qTlOe','vrnKH','save','ceil','getActiveStep','STogT','./end-step','message','useMemory','hpwqM','cKVup','search','422640DPTUyK','HBEqc','setContext','toString','setMemory','saveState','readDoc','temperature','getStateAs','MCZta','FdiRJ','sRoMc','tools','log','NvDBG','Error\x20batch\x20process\x20flow:\x20','apply','set','getFlowSession','wNqki','../clients/self-client','tPkKk','ZfXmN','NVTIn','ETfIS','CdGBL','collectSteps','uBOsi','name','JVynd','MEtvb','defineProperty','cDOjN','550FnqcUJ','lDUKr','azvsY','iGPfD','\x20completed.','nIGxQ','FkQgh','floor','GMIHa','getMessages','map','memory','EndStep','init','flowDoc','error','getMemory','xzsul','bootstrap','qHjTE','createOoc','flowEngine','CvYIk','16052YXHcGM','308vkWyBB','getSessionDoc','sessionDoc','getSessionId','fXCRV','fetch','UBWed','339TYYUvB','flows','IGwDs','sequence','McEpi','exRCQ','length','WGXmm','jEyXT','get','29384kkLvpq','stepMap','merge','RXzlH','getStepStateAs','tokens','active','getFlowEngine','WhCvv','total_tokens','addContext','@langchain/core/tools','getStep','njBQh','2930LkeuKq','Ickrs','push','activate','818538wEfYQA','post','gMDDF','IBKLx','writeDoc','kXKfV','isEnd','lodash','getModel'];a8_0x5447=function(){return _0x5d69ae;};return a8_0x5447();}Object[a8_0x3ae54d(0x1d9)](exports,'__esModule',{'value':!![]}),exports[a8_0x3ae54d(0x182)]=void 0x0;function a8_0x835a(_0xe7a880,_0x25da65){const _0x24aa69=a8_0x5447();return a8_0x835a=function(_0x7d5b3f,_0x476256){_0x7d5b3f=_0x7d5b3f-0x142;let _0x544772=_0x24aa69[_0x7d5b3f];return _0x544772;},a8_0x835a(_0xe7a880,_0x25da65);}const tools_1=require(a8_0x3ae54d(0x16e)),lodash_1=require(a8_0x3ae54d(0x17c)),end_step_1=require(a8_0x3ae54d(0x1b4)),self_client_1=require(a8_0x3ae54d(0x1ce)),session_logger_1=require('../session/session-logger');class Flow{constructor(_0x899002){const _0x3fb4a9=a8_0x3ae54d;this[_0x3fb4a9(0x164)]=new Map(),this['tools']=new Map(),this[_0x3fb4a9(0x1a2)]=-0x1,this[_0x3fb4a9(0x1d6)]=_0x899002[_0x3fb4a9(0x1d6)],this[_0x3fb4a9(0x191)]={};}async[a8_0x3ae54d(0x147)](){}['getFlowEngine'](){const _0x1915df=a8_0x3ae54d;return this[_0x1915df(0x14f)];}async[a8_0x3ae54d(0x14c)](_0x711ecb,_0x309bb5){const _0x4271ca=a8_0x3ae54d,_0x1f239c={'Ickrs':function(_0x2dcfd9,_0x45e58f){return _0x2dcfd9===_0x45e58f;},'gMDDF':function(_0x299e18,_0x1a0679){return _0x299e18!==_0x1a0679;},'NFklr':_0x4271ca(0x1ac)};this[_0x4271ca(0x14f)]=_0x309bb5;for(const [,_0x314cca]of this[_0x4271ca(0x164)]){const _0x5ace14=_0x314cca[_0x4271ca(0x17d)]();if(!_0x5ace14){const _0x5f5d0e=this[_0x4271ca(0x16a)]()['getModelName']();_0x314cca[_0x4271ca(0x19a)](_0x5f5d0e);}}const _0x529b02=_0x309bb5[_0x4271ca(0x1cc)](),[_0x1f7f24,_0x2ad4ae]=await _0x529b02[_0x4271ca(0x157)](_0x711ecb);_0x1f7f24?(this[_0x4271ca(0x154)]=this[_0x4271ca(0x198)](_0x2ad4ae),this[_0x4271ca(0x183)](),this[_0x4271ca(0x18f)]()):(this[_0x4271ca(0x154)]=_0x2ad4ae,this[_0x4271ca(0x183)](),this[_0x4271ca(0x1c0)]());if(_0x1f239c[_0x4271ca(0x172)](this[_0x4271ca(0x148)][_0x4271ca(0x15c)][_0x4271ca(0x15f)],0x0)){const _0x3f49b4=this[_0x4271ca(0x1b2)]();if(_0x3f49b4){if(_0x1f239c[_0x4271ca(0x177)](_0x1f239c[_0x4271ca(0x196)],_0x1f239c[_0x4271ca(0x196)]))return _0x1e282b;else this['flowDoc'][_0x4271ca(0x15c)][_0x4271ca(0x173)](_0x3f49b4[_0x4271ca(0x187)]());}}this['composeTool']();}['assignFlowDoc'](){const _0x4c3d23=a8_0x3ae54d,_0x258409={'hpwqM':function(_0x1e011d,_0x3e770c){return _0x1e011d===_0x3e770c;}},_0x438361=this['sessionDoc']['flows']['filter'](_0x1e6e10=>{const _0x12a21a=a8_0x835a;if(_0x258409[_0x12a21a(0x1b7)](_0x1e6e10[_0x12a21a(0x1d6)],this['name']))return!![];return![];});this['flowDoc']=_0x438361[0x0],this[_0x4c3d23(0x148)][_0x4c3d23(0x15c)]=this[_0x4c3d23(0x148)][_0x4c3d23(0x15c)]||[];}[a8_0x3ae54d(0x189)](_0x47f8b3){const _0xb68f36=a8_0x3ae54d,_0x55dddf={'tPkKk':_0xb68f36(0x1a3),'RXzlH':'output_tokens','ZfXmN':_0xb68f36(0x16c),'azvsY':function(_0x37b76d,_0x3c0bc3){return _0x37b76d===_0x3c0bc3;},'cZakI':_0xb68f36(0x15b),'qTlOe':_0xb68f36(0x142),'foDvX':function(_0x20f8c5,_0x58944d){return _0x20f8c5!==_0x58944d;},'APWfL':_0xb68f36(0x17a),'eglQT':function(_0x196b6a,_0x11a513){return _0x196b6a!==_0x11a513;},'nIGxQ':_0xb68f36(0x1d8)};if(_0x47f8b3){const _0x586b41=_0x47f8b3[_0x55dddf['tPkKk']],_0x27e961=_0x47f8b3[_0x55dddf['RXzlH']],_0x139b8c=_0x47f8b3[_0x55dddf[_0xb68f36(0x1d0)]];if(_0x586b41){if(_0x55dddf[_0xb68f36(0x1dd)](_0x55dddf['cZakI'],_0x55dddf[_0xb68f36(0x1ae)]))return(0x0,_0x348a99[_0xb68f36(0x162)])(this[_0xb68f36(0x191)],_0xffd992);else this[_0xb68f36(0x154)]['tokens'][_0xb68f36(0x1ad)]+=_0x586b41;}_0x27e961&&(_0x55dddf['foDvX'](_0x55dddf[_0xb68f36(0x1ab)],_0x55dddf[_0xb68f36(0x1ab)])?this[_0xb68f36(0x145)]=_0x8f9d6f:this['sessionDoc'][_0xb68f36(0x168)]['outputTokens']+=_0x27e961);if(_0x139b8c){if(_0x55dddf[_0xb68f36(0x1a9)](_0x55dddf[_0xb68f36(0x1e0)],_0x55dddf['nIGxQ'])){const _0x37da34=_0x3dc65c[_0x55dddf[_0xb68f36(0x1cf)]],_0x4468a4=_0x456b54[_0x55dddf[_0xb68f36(0x166)]],_0x3a9917=_0x384451[_0xb68f36(0x16c)];_0x37da34&&(this[_0xb68f36(0x154)]['tokens'][_0xb68f36(0x1ad)]+=_0x37da34),_0x4468a4&&(this[_0xb68f36(0x154)][_0xb68f36(0x168)]['outputTokens']+=_0x4468a4),_0x3a9917&&(this[_0xb68f36(0x154)][_0xb68f36(0x168)][_0xb68f36(0x1a0)]+=_0x3a9917);}else this[_0xb68f36(0x154)][_0xb68f36(0x168)]['totalTokens']+=_0x139b8c;}}}[a8_0x3ae54d(0x1d4)](){const _0x433e24=a8_0x3ae54d,_0x388d4a={'PROVs':function(_0x23d24c,_0x48eee1){return _0x23d24c===_0x48eee1;},'voQlr':_0x433e24(0x1de),'sRoMc':_0x433e24(0x15e)},_0x317c42=this['defineSteps']();for(const _0x85810 of _0x317c42){if(_0x388d4a[_0x433e24(0x18e)](_0x388d4a[_0x433e24(0x186)],_0x388d4a[_0x433e24(0x1c5)])){const _0x1e70f4=this[_0x433e24(0x164)][_0x433e24(0x162)](_0x595ceb[_0x433e24(0x1d6)]);if(_0x1e70f4)return _0x1e70f4[_0x433e24(0x1bf)](_0x5c6f68);}else this['stepMap'][_0x433e24(0x1cb)](_0x85810[_0x433e24(0x187)](),_0x85810);}}[a8_0x3ae54d(0x18d)](){const _0x94dd5e=a8_0x3ae54d;return[new end_step_1[(_0x94dd5e(0x146))](this)[_0x94dd5e(0x1b6)](_0x94dd5e(0x1a2))];}[a8_0x3ae54d(0x198)](_0x3cb115){const _0x1ef754=a8_0x3ae54d,_0xc63a81=[];for(const [,_0x1f56a1]of this['stepMap']){_0xc63a81[_0x1ef754(0x173)](_0x1f56a1['createDoc']());}const _0x45ff77={'name':this[_0x1ef754(0x1d6)],'memory':this[_0x1ef754(0x145)][_0x1ef754(0x14e)](),'steps':_0xc63a81,'context':this[_0x1ef754(0x191)]};return _0x3cb115[_0x1ef754(0x15a)][_0x1ef754(0x173)](_0x45ff77),_0x3cb115;}['readDoc'](){const _0x19fbbd=a8_0x3ae54d,_0x187052={'JVynd':function(_0x3a4167,_0x680079){return _0x3a4167===_0x680079;},'cDOjN':_0x19fbbd(0x192),'fXCRV':_0x19fbbd(0x1e1)};this[_0x19fbbd(0x145)]['readDoc'](this[_0x19fbbd(0x148)][_0x19fbbd(0x145)]);for(const [,_0x34e925]of this['stepMap']){if(_0x187052[_0x19fbbd(0x1d7)](_0x187052[_0x19fbbd(0x1da)],_0x187052[_0x19fbbd(0x156)]))return this[_0x19fbbd(0x14f)];else _0x34e925[_0x19fbbd(0x1c0)](this[_0x19fbbd(0x148)][_0x19fbbd(0x18b)]);}this[_0x19fbbd(0x191)]=this[_0x19fbbd(0x148)][_0x19fbbd(0x191)];}[a8_0x3ae54d(0x155)](){const _0x2795b7=a8_0x3ae54d;return this[_0x2795b7(0x154)]['id'];}async[a8_0x3ae54d(0x18f)](){const _0x1a2833=a8_0x3ae54d,_0x580828={'CdGBL':function(_0x9bf7f7,_0x402fb7){return _0x9bf7f7===_0x402fb7;},'NvDBG':'QHLqK','LzqOV':_0x1a2833(0x185)};this[_0x1a2833(0x145)][_0x1a2833(0x179)](this['flowDoc'][_0x1a2833(0x145)]);for(const [,_0x44cd40]of this[_0x1a2833(0x164)]){_0x580828[_0x1a2833(0x1d3)](_0x580828[_0x1a2833(0x1c8)],_0x580828['LzqOV'])?this[_0x1a2833(0x154)][_0x1a2833(0x168)][_0x1a2833(0x1ad)]+=_0x1125b6:_0x44cd40[_0x1a2833(0x179)](this[_0x1a2833(0x148)]['steps']);}this[_0x1a2833(0x148)][_0x1a2833(0x191)]=this[_0x1a2833(0x191)],this[_0x1a2833(0x148)][_0x1a2833(0x1c1)]=this[_0x1a2833(0x1a2)],await this[_0x1a2833(0x14f)][_0x1a2833(0x1cc)]()[_0x1a2833(0x1b0)](this[_0x1a2833(0x154)]);}[a8_0x3ae54d(0x1b2)](){const _0x4b02ef=a8_0x3ae54d,_0x57be46={'JsUbb':function(_0x217a81,_0x5a8c31){return _0x217a81===_0x5a8c31;},'IBKLx':_0x4b02ef(0x1c4)};for(const [_0x1d7f82,_0x54fbac]of this['stepMap']){if(_0x54fbac[_0x4b02ef(0x169)]){if(_0x57be46[_0x4b02ef(0x19e)](_0x4b02ef(0x1c4),_0x57be46[_0x4b02ef(0x178)]))return _0x54fbac;else _0x59fad9[_0x4b02ef(0x179)](this[_0x4b02ef(0x148)][_0x4b02ef(0x18b)]);}}return null;}[a8_0x3ae54d(0x16f)](_0xa640db){const _0xe05fea=a8_0x3ae54d;return this[_0xe05fea(0x164)][_0xe05fea(0x162)](_0xa640db);}[a8_0x3ae54d(0x180)](){return null;}async['run'](_0x1e3532){const _0x368318=a8_0x3ae54d,_0x3ff73f={'iLWDK':function(_0x13e3f0,_0x4068dc){return _0x13e3f0!==_0x4068dc;},'WhCvv':_0x368318(0x19f)},_0x552f73=this['getContext'](_0x368318(0x19c));let _0x57a54d,_0x473b48;if(_0x552f73){if(_0x3ff73f[_0x368318(0x18c)](_0x368318(0x19f),_0x3ff73f[_0x368318(0x16b)])){const _0x1b6a66=this[_0x368318(0x164)][_0x368318(0x162)](_0x50d5b7['name']);return _0x1b6a66[_0x368318(0x199)](_0x44ba32);}else _0x57a54d=await this[_0x368318(0x190)]();}else _0x473b48=this[_0x368318(0x1b2)](),_0x57a54d=await _0x473b48[_0x368318(0x1a7)](_0x1e3532);return _0x473b48=this[_0x368318(0x1b2)](),{'success':!![],'completed':_0x473b48[_0x368318(0x17b)](),'message':_0x57a54d,'session':this['sessionDoc']['id'],'contentType':_0x473b48['contentType']};}async['spawnSteps'](){return'';}async[a8_0x3ae54d(0x194)]({items:_0x1a1b6c,batchSize:_0x15006c,onConfig:_0x4eacec,onBotResponse:_0x34f64b}){const _0x1c8a26=a8_0x3ae54d,_0x19b1a7={'cItAi':function(_0x5601dc,_0x4f94c3){return _0x5601dc(_0x4f94c3);},'ydzgx':function(_0x37de2a,_0x42af42,_0x523c35){return _0x37de2a(_0x42af42,_0x523c35);},'HBEqc':function(_0x34c56e,_0x253d78){return _0x34c56e===_0x253d78;},'CvYIk':_0x1c8a26(0x1c3),'uwFVI':_0x1c8a26(0x1b5),'IfuMp':function(_0x33cc91,_0x150e15){return _0x33cc91<_0x150e15;},'WGXmm':function(_0x4b8efb,_0x3aa6e4){return _0x4b8efb+_0x3aa6e4;},'HXKuy':function(_0x401fc5,_0x2743c5){return _0x401fc5/_0x2743c5;},'DtEmE':function(_0x52712e,_0x2e1725){return _0x52712e/_0x2e1725;}},_0x170b21=new self_client_1[(_0x1c8a26(0x1a8))]();for(let _0x3cd0b9=0x0;_0x19b1a7['IfuMp'](_0x3cd0b9,_0x1a1b6c[_0x1c8a26(0x15f)]);_0x3cd0b9+=_0x15006c){const _0x26ec91=_0x1a1b6c['slice'](_0x3cd0b9,_0x19b1a7['WGXmm'](_0x3cd0b9,_0x15006c)),_0x2b53d4='Processing\x20batch\x20'+_0x19b1a7['WGXmm'](Math[_0x1c8a26(0x1e2)](_0x19b1a7['HXKuy'](_0x3cd0b9,_0x15006c)),0x1)+'/'+Math[_0x1c8a26(0x1b1)](_0x19b1a7['DtEmE'](_0x1a1b6c[_0x1c8a26(0x15f)],_0x15006c))+'\x20(batch\x20size:'+_0x26ec91['length']+')';new session_logger_1[(_0x1c8a26(0x197))](this[_0x1c8a26(0x153)]())[_0x1c8a26(0x1c7)](_0x2b53d4),console[_0x1c8a26(0x1c7)](_0x2b53d4);const _0x178438=_0x26ec91[_0x1c8a26(0x144)](async _0x2ac5be=>{const _0x17a78d=_0x1c8a26,_0x4d1f1c={'flowName':this[_0x17a78d(0x1d6)],'config':{..._0x19b1a7[_0x17a78d(0x181)](_0x4eacec,_0x2ac5be)}};try{const _0x24fd31=await _0x170b21[_0x17a78d(0x176)]('',_0x4d1f1c);_0x19b1a7['ydzgx'](_0x34f64b,_0x2ac5be,_0x24fd31);}catch(_0x2359c6){if(_0x19b1a7[_0x17a78d(0x1bb)](_0x17a78d(0x161),_0x19b1a7[_0x17a78d(0x150)])){const _0x17e145=(0x0,_0x184896[_0x17a78d(0x165)])({},_0xb17cbe,{'func':null});this['tools'][_0x17a78d(0x1cb)](_0x4e09b9['name'],new _0x9b185f[(_0x17a78d(0x1a4))](_0x17e145));}else{const _0x3e2fec=_0x17a78d(0x1c9)+this[_0x17a78d(0x1d6)]+',\x20error:'+_0x2359c6[_0x19b1a7[_0x17a78d(0x17e)]];new session_logger_1[(_0x17a78d(0x197))](this[_0x17a78d(0x153)]())[_0x17a78d(0x149)](_0x3e2fec),console[_0x17a78d(0x149)](_0x3e2fec);}}});await Promise[_0x1c8a26(0x17f)](_0x178438);const _0x5a8eb9=_0x1c8a26(0x195)+_0x19b1a7[_0x1c8a26(0x160)](Math[_0x1c8a26(0x1e2)](_0x19b1a7[_0x1c8a26(0x1a6)](_0x3cd0b9,_0x15006c)),0x1)+_0x1c8a26(0x1df);new session_logger_1['SessionLogger'](this[_0x1c8a26(0x153)]())[_0x1c8a26(0x1c7)](_0x5a8eb9),console[_0x1c8a26(0x1c7)](_0x5a8eb9);}}[a8_0x3ae54d(0x1be)](_0x154b6d){const _0x5254c9=a8_0x3ae54d;this[_0x5254c9(0x145)]=_0x154b6d;}[a8_0x3ae54d(0x14a)](_0x59570c){const _0x3e9f80=a8_0x3ae54d;return this['memory'][_0x3e9f80(0x143)](_0x59570c);}[a8_0x3ae54d(0x1bc)](_0x5b1ff7){const _0xba3ad6=a8_0x3ae54d;this[_0xba3ad6(0x191)]=_0x5b1ff7;}[a8_0x3ae54d(0x16d)](_0x4ed4c8){const _0x2fa36d=a8_0x3ae54d;(0x0,lodash_1[_0x2fa36d(0x165)])(this['context'],_0x4ed4c8);}['getContext'](_0x4f5faf){const _0x434fd2=a8_0x3ae54d;return(0x0,lodash_1['get'])(this[_0x434fd2(0x191)],_0x4f5faf);}async[a8_0x3ae54d(0x174)](_0xdb3dfa){const _0x20ba45=a8_0x3ae54d;return await this[_0x20ba45(0x193)](_0xdb3dfa[_0x20ba45(0x1d6)]);}async['activateByName'](_0x5767f5){const _0x59f2c9=a8_0x3ae54d,_0x332ce8={'McEpi':function(_0x483da5,_0x2e0262){return _0x483da5===_0x2e0262;},'ZceQc':_0x59f2c9(0x158)},_0x37a74c=this[_0x59f2c9(0x164)][_0x59f2c9(0x162)](_0x5767f5);if(_0x332ce8['McEpi'](_0x37a74c[_0x59f2c9(0x187)](),_0x5767f5)&&_0x37a74c['active'])return _0x37a74c;else{for(const [_0x94f781,_0x1a05e2]of this[_0x59f2c9(0x164)]){if(_0x1a05e2[_0x59f2c9(0x169)]){if(_0x332ce8[_0x59f2c9(0x15d)](_0x332ce8['ZceQc'],_0x59f2c9(0x188)))return!![];else{_0x1a05e2['active']=![];break;}}}return this[_0x59f2c9(0x148)][_0x59f2c9(0x15c)][_0x59f2c9(0x173)](_0x5767f5),_0x37a74c[_0x59f2c9(0x169)]=!![],_0x37a74c;}}['getTool'](_0x5220f1){const _0x1b825c=a8_0x3ae54d;return this[_0x1b825c(0x1c6)][_0x1b825c(0x162)](_0x5220f1);}['composeTool'](){const _0x37467a=a8_0x3ae54d,_0x14590e={'jQaAQ':function(_0x46d149,_0xa3e3b){return _0x46d149!==_0xa3e3b;},'ETfIS':_0x37467a(0x14d),'oUgUz':_0x37467a(0x1dc),'ucQrd':function(_0x532acb,_0x41c94e){return _0x532acb===_0x41c94e;},'xzsul':_0x37467a(0x1d5),'vrnKH':_0x37467a(0x1b8)},_0x24cb3c=[];for(const [_0x1c6efa,_0xe9cc2c]of this[_0x37467a(0x164)]){if(_0x14590e[_0x37467a(0x19d)](_0x14590e[_0x37467a(0x1d2)],_0x14590e[_0x37467a(0x1a1)])){const _0x3fe976=_0xe9cc2c[_0x37467a(0x180)]();if(_0x3fe976){if(_0x37467a(0x1cd)==='yVweW')return this['sessionDoc'];else _0x24cb3c['push'](..._0x3fe976);}}else(0x0,_0x1b0d07[_0x37467a(0x165)])(this[_0x37467a(0x191)],_0x1ef8bd);}const _0x358d69=this['defineTool']();_0x358d69&&_0x24cb3c[_0x37467a(0x173)](..._0x358d69);for(const _0x458152 of _0x24cb3c){if(_0x14590e['ucQrd'](_0x14590e[_0x37467a(0x14b)],_0x14590e[_0x37467a(0x1af)])){const _0x4d4af3=_0x7f738?function(){const _0xfe5a47=_0x37467a;if(_0x564f8b){const _0x2cf34e=_0x41811a[_0xfe5a47(0x1ca)](_0x5c8426,arguments);return _0x44fde0=null,_0x2cf34e;}}:function(){};return _0x4b9bd8=![],_0x4d4af3;}else{const _0x5c2f73=(0x0,lodash_1['merge'])({},_0x458152,{'func':null});this[_0x37467a(0x1c6)][_0x37467a(0x1cb)](_0x458152[_0x37467a(0x1d6)],new tools_1['DynamicStructuredTool'](_0x5c2f73));}}}['getSessionDoc'](){const _0x51838b=a8_0x3ae54d;return this[_0x51838b(0x154)];}['getStepState'](_0x541c5b,_0x41d44d){const _0x44075b=a8_0x3ae54d,_0x9cd228=this[_0x44075b(0x164)][_0x44075b(0x162)](_0x541c5b[_0x44075b(0x1d6)]);return _0x9cd228[_0x44075b(0x199)](_0x41d44d);}[a8_0x3ae54d(0x167)](_0x5460d0,_0x5c4e2c){const _0x3f1c92=a8_0x3ae54d,_0x3df02d=this[_0x3f1c92(0x164)][_0x3f1c92(0x162)](_0x5460d0[_0x3f1c92(0x1d6)]);return _0x3df02d[_0x3f1c92(0x1c2)](_0x5c4e2c);}['saveStepState'](_0x345ab5,_0xc837a5){const _0x59ac21=a8_0x3ae54d,_0x36d38a=this[_0x59ac21(0x164)][_0x59ac21(0x162)](_0x345ab5['name']);if(_0x36d38a){if(_0x59ac21(0x1aa)==='Dubba')return _0x36d38a[_0x59ac21(0x1bf)](_0xc837a5);else this[_0x59ac21(0x164)]=new _0x4a2614(),this[_0x59ac21(0x1c6)]=new _0x5b9712(),this[_0x59ac21(0x1a2)]=-0x1,this[_0x59ac21(0x1d6)]=_0x475582['name'],this[_0x59ac21(0x191)]={};}}get[a8_0x3ae54d(0x1c1)](){const _0xdab9fe=a8_0x3ae54d;return this[_0xdab9fe(0x1a2)];}set[a8_0x3ae54d(0x1c1)](_0x3856f3){const _0x52762e=a8_0x3ae54d;this[_0x52762e(0x1a2)]=_0x3856f3;}}exports[a8_0x3ae54d(0x182)]=Flow;
1
+ const a8_0x358a3d=a8_0x1268;(function(_0x3b74aa,_0x144ab2){const _0x5e0de8=a8_0x1268,_0x25d220=_0x3b74aa();while(!![]){try{const _0x38d6f=-parseInt(_0x5e0de8(0x189))/0x1*(parseInt(_0x5e0de8(0x179))/0x2)+parseInt(_0x5e0de8(0x19e))/0x3+parseInt(_0x5e0de8(0x1e5))/0x4+-parseInt(_0x5e0de8(0x1b7))/0x5*(-parseInt(_0x5e0de8(0x18d))/0x6)+-parseInt(_0x5e0de8(0x169))/0x7+parseInt(_0x5e0de8(0x196))/0x8*(parseInt(_0x5e0de8(0x1dd))/0x9)+-parseInt(_0x5e0de8(0x1e1))/0xa;if(_0x38d6f===_0x144ab2)break;else _0x25d220['push'](_0x25d220['shift']());}catch(_0x2b5829){_0x25d220['push'](_0x25d220['shift']());}}}(a8_0x14a7,0x9bd0a));function a8_0x1268(_0x19c90c,_0x58d0ce){const _0x2d9d0e=a8_0x14a7();return a8_0x1268=function(_0x4ec022,_0xa76f38){_0x4ec022=_0x4ec022-0x144;let _0x14a78d=_0x2d9d0e[_0x4ec022];return _0x14a78d;},a8_0x1268(_0x19c90c,_0x58d0ce);}const a8_0xa76f38=(function(){const _0x41c5ea=a8_0x1268,_0x563ed4={'CvsEp':_0x41c5ea(0x18a)};let _0x360739=!![];return function(_0x2da7ae,_0x5856d9){const _0xa0aef0=_0x41c5ea;if(_0x563ed4[_0xa0aef0(0x1db)]===_0x563ed4[_0xa0aef0(0x1db)]){const _0x4f8a6c=_0x360739?function(){const _0x12c6eb=_0xa0aef0;if(_0x5856d9){const _0x5476e3=_0x5856d9[_0x12c6eb(0x1d4)](_0x2da7ae,arguments);return _0x5856d9=null,_0x5476e3;}}:function(){};return _0x360739=![],_0x4f8a6c;}else return'';};}()),a8_0x4ec022=a8_0xa76f38(this,function(){const _0xa1bab5=a8_0x1268,_0x413ca0={'OOHPZ':_0xa1bab5(0x17f)};return a8_0x4ec022['toString']()[_0xa1bab5(0x1c7)](_0x413ca0[_0xa1bab5(0x18c)])[_0xa1bab5(0x1cb)]()['constructor'](a8_0x4ec022)[_0xa1bab5(0x1c7)](_0x413ca0[_0xa1bab5(0x18c)]);});a8_0x4ec022();'use strict';Object[a8_0x358a3d(0x1bc)](exports,'__esModule',{'value':!![]}),exports[a8_0x358a3d(0x146)]=void 0x0;const tools_1=require(a8_0x358a3d(0x1c0)),lodash_1=require('lodash'),end_step_1=require(a8_0x358a3d(0x17e)),self_client_1=require('../clients/self-client'),session_logger_1=require(a8_0x358a3d(0x1aa));class Flow{constructor(_0x2bdcfd){const _0x1ef805=a8_0x358a3d,_0x1c7548=_0x1ef805(0x181)['split']('|');let _0x3da901=0x0;while(!![]){switch(_0x1c7548[_0x3da901++]){case'0':this[_0x1ef805(0x158)]=new Map();continue;case'1':this[_0x1ef805(0x168)]=_0x2bdcfd['name'];continue;case'2':this[_0x1ef805(0x1a0)]={};continue;case'3':this[_0x1ef805(0x14f)]=-0x1;continue;case'4':this['tools']=new Map();continue;}break;}}async[a8_0x358a3d(0x171)](){}[a8_0x358a3d(0x175)](){return this['flowEngine'];}async[a8_0x358a3d(0x18b)](_0x22c2ad,_0x298e03){const _0x1e52e5=a8_0x358a3d,_0x3b5fea={'gLRxw':function(_0x21944f,_0x267007){return _0x21944f===_0x267007;},'rkWUz':_0x1e52e5(0x197),'zQjEZ':_0x1e52e5(0x1d9),'jzzAg':function(_0x28f95f,_0x2f1d9e){return _0x28f95f!==_0x2f1d9e;},'skQSn':_0x1e52e5(0x19a),'afWEE':'rPjFT','tmJMD':function(_0x23ff74,_0x1f8289){return _0x23ff74===_0x1f8289;},'qWfWm':function(_0x3ab7d3,_0x5724be){return _0x3ab7d3!==_0x5724be;},'vgkmL':_0x1e52e5(0x1de),'MfBHL':_0x1e52e5(0x1ca)};this[_0x1e52e5(0x1cc)]=_0x298e03;for(const [,_0x2ec85a]of this['stepMap']){if(_0x3b5fea[_0x1e52e5(0x14e)](_0x3b5fea[_0x1e52e5(0x1b5)],_0x3b5fea['zQjEZ']))this[_0x1e52e5(0x17b)][_0x1e52e5(0x1b0)]['inputTokens']+=_0x3595ef;else{const _0x2ed85b=_0x2ec85a['getModel']();if(!_0x2ed85b){if(_0x3b5fea[_0x1e52e5(0x147)](_0x3b5fea['skQSn'],_0x3b5fea[_0x1e52e5(0x161)])){const _0x217810=this['getFlowEngine']()[_0x1e52e5(0x14a)]();_0x2ec85a['useModel'](_0x217810);}else{const _0x2a29b2=this['stepMap'][_0x1e52e5(0x1d5)](_0x5cf1f1[_0x1e52e5(0x168)]);return _0x2a29b2[_0x1e52e5(0x145)](_0x52a3a4);}}}}const _0x283ec7=_0x298e03[_0x1e52e5(0x1a3)](),[_0x255408,_0x381eb5]=await _0x283ec7[_0x1e52e5(0x1d2)](_0x22c2ad);_0x255408?(this['sessionDoc']=this['createDoc'](_0x381eb5),this[_0x1e52e5(0x187)](),this[_0x1e52e5(0x170)]()):(this[_0x1e52e5(0x17b)]=_0x381eb5,this['assignFlowDoc'](),this[_0x1e52e5(0x18f)]());if(_0x3b5fea[_0x1e52e5(0x178)](this[_0x1e52e5(0x185)][_0x1e52e5(0x151)]['length'],0x0)){const _0x5240d6=this['getActiveStep']();if(_0x5240d6){if(_0x3b5fea[_0x1e52e5(0x15c)](_0x3b5fea[_0x1e52e5(0x1d8)],_0x3b5fea[_0x1e52e5(0x1d0)]))this[_0x1e52e5(0x185)]['sequence'][_0x1e52e5(0x1e3)](_0x5240d6[_0x1e52e5(0x1d7)]());else{const _0x105653=this[_0x1e52e5(0x182)]();_0x105653&&this[_0x1e52e5(0x185)][_0x1e52e5(0x151)][_0x1e52e5(0x1e3)](_0x105653[_0x1e52e5(0x1d7)]());}}}this[_0x1e52e5(0x16d)]();}[a8_0x358a3d(0x187)](){const _0x269f77=a8_0x358a3d,_0x42d7d4={'XMiSf':_0x269f77(0x180),'WhUSA':'total_tokens','nbTjU':'(((.+)+)+)+$','owYOt':function(_0x2930ed,_0x10bc64){return _0x2930ed===_0x10bc64;},'qEGlW':_0x269f77(0x1c9),'fVvZE':function(_0x330957,_0x3280ca){return _0x330957===_0x3280ca;},'vEdrg':function(_0x4a01f9,_0x2ca4ea){return _0x4a01f9!==_0x2ca4ea;},'cKhWp':'SyFYm','WCbUK':_0x269f77(0x193)},_0xe693bc=this['sessionDoc'][_0x269f77(0x1a7)][_0x269f77(0x1bf)](_0x296029=>{const _0x5e9e09=_0x269f77;if(_0x42d7d4['owYOt'](_0x42d7d4[_0x5e9e09(0x15f)],_0x42d7d4[_0x5e9e09(0x15f)])){if(_0x42d7d4[_0x5e9e09(0x191)](_0x296029[_0x5e9e09(0x168)],this[_0x5e9e09(0x168)])){if(_0x42d7d4[_0x5e9e09(0x190)](_0x42d7d4[_0x5e9e09(0x148)],_0x42d7d4['WCbUK']))return!![];else{const _0x33a9d4=_0x1f7224[_0x42d7d4[_0x5e9e09(0x1a9)]],_0x4a17aa=_0xbea00d['output_tokens'],_0x5bdd94=_0x359b2b[_0x42d7d4[_0x5e9e09(0x1df)]];_0x33a9d4&&(this[_0x5e9e09(0x17b)]['tokens']['inputTokens']+=_0x33a9d4),_0x4a17aa&&(this[_0x5e9e09(0x17b)][_0x5e9e09(0x1b0)][_0x5e9e09(0x174)]+=_0x4a17aa),_0x5bdd94&&(this[_0x5e9e09(0x17b)]['tokens'][_0x5e9e09(0x16e)]+=_0x5bdd94);}}return![];}else return _0x2ede43[_0x5e9e09(0x1cb)]()[_0x5e9e09(0x1c7)](IPzqab[_0x5e9e09(0x1a8)])['toString']()['constructor'](_0xc7a998)[_0x5e9e09(0x1c7)](IPzqab[_0x5e9e09(0x1a8)]);});this[_0x269f77(0x185)]=_0xe693bc[0x0],this[_0x269f77(0x185)][_0x269f77(0x151)]=this['flowDoc'][_0x269f77(0x151)]||[];}[a8_0x358a3d(0x17c)](_0x4edc27){const _0x30ea34=a8_0x358a3d,_0x5b85a1={'efuQO':function(_0xc844f,_0x208f24){return _0xc844f===_0x208f24;},'lLkUD':'JTKGS','rRUKO':_0x30ea34(0x162),'RfzNw':_0x30ea34(0x1c5)};if(_0x4edc27){if(_0x5b85a1[_0x30ea34(0x16f)](_0x5b85a1['lLkUD'],_0x5b85a1[_0x30ea34(0x1be)]))_0x45b2d6[_0x30ea34(0x1e3)](..._0x7ede98);else{const _0x1099db=_0x4edc27[_0x30ea34(0x180)],_0x2a96fa=_0x4edc27[_0x30ea34(0x186)],_0x3ae993=_0x4edc27[_0x5b85a1[_0x30ea34(0x188)]];_0x1099db&&(this[_0x30ea34(0x17b)]['tokens']['inputTokens']+=_0x1099db),_0x2a96fa&&(this[_0x30ea34(0x17b)][_0x30ea34(0x1b0)][_0x30ea34(0x174)]+=_0x2a96fa),_0x3ae993&&(this[_0x30ea34(0x17b)][_0x30ea34(0x1b0)]['totalTokens']+=_0x3ae993);}}}[a8_0x358a3d(0x1b8)](){const _0x1e7704=a8_0x358a3d,_0xc0291d={'FoQlJ':function(_0x1cdd26,_0x5505da){return _0x1cdd26!==_0x5505da;},'cafZN':_0x1e7704(0x194),'dodxp':_0x1e7704(0x165)},_0x33c84=this[_0x1e7704(0x14b)]();for(const _0x49fcad of _0x33c84){if(_0xc0291d[_0x1e7704(0x17d)](_0xc0291d['cafZN'],_0xc0291d['dodxp']))this[_0x1e7704(0x158)]['set'](_0x49fcad[_0x1e7704(0x1d7)](),_0x49fcad);else return this[_0x1e7704(0x144)][_0x1e7704(0x1b6)](_0x344158);}}[a8_0x358a3d(0x14b)](){return[new end_step_1['EndStep'](this)['useMemory']('temp')];}['createDoc'](_0x525d31){const _0x50f333=a8_0x358a3d,_0x35aa19={'LWRJd':_0x50f333(0x155)},_0x5cf9fa=[];for(const [,_0x3ec501]of this[_0x50f333(0x158)]){if(_0x35aa19['LWRJd']!==_0x35aa19[_0x50f333(0x14c)]){const _0xe63c93=(0x0,_0x1b958c['merge'])({},_0x855c7f,{'func':null});this[_0x50f333(0x1ce)]['set'](_0x5daddf[_0x50f333(0x168)],new _0x21e50a[(_0x50f333(0x1ad))](_0xe63c93));}else _0x5cf9fa[_0x50f333(0x1e3)](_0x3ec501[_0x50f333(0x1cd)]());}const _0x27b51d={'name':this[_0x50f333(0x168)],'memory':this[_0x50f333(0x144)][_0x50f333(0x167)](),'steps':_0x5cf9fa,'context':this[_0x50f333(0x1a0)]};return _0x525d31[_0x50f333(0x1a7)][_0x50f333(0x1e3)](_0x27b51d),_0x525d31;}[a8_0x358a3d(0x18f)](){const _0x2e635b=a8_0x358a3d,_0x5d19a1={'QeDzs':function(_0x29e87b,_0x10f810){return _0x29e87b===_0x10f810;},'GMexv':_0x2e635b(0x1af)};this[_0x2e635b(0x144)][_0x2e635b(0x18f)](this[_0x2e635b(0x185)][_0x2e635b(0x144)]);for(const [,_0x138c5e]of this[_0x2e635b(0x158)]){if(_0x5d19a1[_0x2e635b(0x15a)](_0x5d19a1[_0x2e635b(0x1bd)],_0x5d19a1[_0x2e635b(0x1bd)]))_0x138c5e[_0x2e635b(0x18f)](this['flowDoc'][_0x2e635b(0x16b)]);else return _0x59272d[_0x2e635b(0x1b9)](_0x641244);}this['context']=this[_0x2e635b(0x185)][_0x2e635b(0x1a0)];}['getSessionId'](){return this['sessionDoc']['id'];}async[a8_0x358a3d(0x170)](){const _0x4ce008=a8_0x358a3d;this['memory'][_0x4ce008(0x1ba)](this[_0x4ce008(0x185)][_0x4ce008(0x144)]);for(const [,_0x8606cc]of this[_0x4ce008(0x158)]){_0x8606cc[_0x4ce008(0x1ba)](this[_0x4ce008(0x185)][_0x4ce008(0x16b)]);}this[_0x4ce008(0x185)][_0x4ce008(0x1a0)]=this[_0x4ce008(0x1a0)],this[_0x4ce008(0x185)][_0x4ce008(0x19b)]=this['temp'],await this[_0x4ce008(0x1cc)][_0x4ce008(0x1a3)]()[_0x4ce008(0x159)](this[_0x4ce008(0x17b)]);}[a8_0x358a3d(0x182)](){const _0x96c2f3=a8_0x358a3d,_0x553d0b={'GhDjA':_0x96c2f3(0x1cf)};for(const [_0x3219c7,_0x393d03]of this[_0x96c2f3(0x158)]){if(_0x393d03['active'])return _0x96c2f3(0x1d3)===_0x553d0b['GhDjA']?(0x0,_0x44ee8d[_0x96c2f3(0x1d5)])(this['context'],_0x294650):_0x393d03;}return null;}['getStep'](_0x22f37a){const _0x3fae60=a8_0x358a3d;return this[_0x3fae60(0x158)][_0x3fae60(0x1d5)](_0x22f37a);}['defineTool'](){return null;}async['run'](_0x5250ef){const _0x375475=a8_0x358a3d,_0x1c75e5={'aRxTr':_0x375475(0x156),'nYlid':function(_0x281be2,_0x4f9b19){return _0x281be2===_0x4f9b19;},'ZzQDp':_0x375475(0x177)},_0x1e6e1a=this[_0x375475(0x192)](_0x1c75e5[_0x375475(0x1c2)]);let _0x2adc7c,_0x365e84;if(_0x1e6e1a){if(_0x1c75e5[_0x375475(0x1d6)](_0x375475(0x19f),_0x1c75e5[_0x375475(0x1da)])){const _0x3c6f3c=_0x2a86bf[_0x375475(0x1c8)]();_0x3c6f3c&&_0x4c4a68['push'](..._0x3c6f3c);}else _0x2adc7c=await this['spawnSteps']();}else _0x365e84=this[_0x375475(0x182)](),_0x2adc7c=await _0x365e84['run'](_0x5250ef);return _0x365e84=this[_0x375475(0x182)](),{'success':!![],'completed':_0x365e84[_0x375475(0x1c3)](),'message':_0x2adc7c,'session':this[_0x375475(0x17b)]['id'],'contentType':_0x365e84[_0x375475(0x198)]};}async[a8_0x358a3d(0x199)](){return'';}async['concurrentSteps']({items:_0x543f8c,batchSize:_0x3da92b,onConfig:_0x2b602d,onBotResponse:_0x1c4d45}){const _0xef6907=a8_0x358a3d,_0x393c83={'KilBP':function(_0x5af186,_0x400b7e){return _0x5af186===_0x400b7e;},'GWKGk':function(_0x31506b,_0xf509e9){return _0x31506b(_0xf509e9);},'FqUON':_0xef6907(0x1b2),'QUfdZ':_0xef6907(0x1a2),'KioNZ':function(_0x40a242,_0x29eb76){return _0x40a242<_0x29eb76;},'UYorI':_0xef6907(0x1e0),'PKMvI':function(_0x5a8e93,_0x4bb874){return _0x5a8e93+_0x4bb874;},'JVLko':function(_0x3dab40,_0x393e76){return _0x3dab40/_0x393e76;}},_0x515852=new self_client_1[(_0xef6907(0x1c1))]();for(let _0x5da50a=0x0;_0x393c83[_0xef6907(0x152)](_0x5da50a,_0x543f8c['length']);_0x5da50a+=_0x3da92b){if(_0xef6907(0x1e0)===_0x393c83[_0xef6907(0x1c6)]){const _0x541a02=_0x543f8c[_0xef6907(0x1ae)](_0x5da50a,_0x5da50a+_0x3da92b),_0x162bd4=_0xef6907(0x150)+_0x393c83[_0xef6907(0x16a)](Math[_0xef6907(0x183)](_0x393c83['JVLko'](_0x5da50a,_0x3da92b)),0x1)+'/'+Math[_0xef6907(0x1a4)](_0x393c83[_0xef6907(0x176)](_0x543f8c['length'],_0x3da92b))+_0xef6907(0x1a6)+_0x541a02['length']+')';new session_logger_1[(_0xef6907(0x149))](this[_0xef6907(0x1ac)]())[_0xef6907(0x1e2)](_0x162bd4),console[_0xef6907(0x1e2)](_0x162bd4);const _0x4be601=_0x541a02[_0xef6907(0x18e)](async _0xc66b4d=>{const _0x167d46=_0xef6907,_0x2901a6={'flowName':this[_0x167d46(0x168)],'config':{..._0x393c83['GWKGk'](_0x2b602d,_0xc66b4d)}};try{if(_0x393c83['FqUON']===_0x393c83[_0x167d46(0x16c)]){const _0x581025=await _0x515852[_0x167d46(0x14d)]('',_0x2901a6);_0x1c4d45(_0xc66b4d,_0x581025);}else{const _0xdad543={'QerYQ':function(_0x5de0d3,_0x570ade){const _0x32a6b3=_0x167d46;return _0x393c83[_0x32a6b3(0x1b1)](_0x5de0d3,_0x570ade);}},_0x32f0b2=this['sessionDoc'][_0x167d46(0x1a7)][_0x167d46(0x1bf)](_0x49a7fa=>{const _0x58708d=_0x167d46;if(_0xdad543['QerYQ'](_0x49a7fa[_0x58708d(0x168)],this[_0x58708d(0x168)]))return!![];return![];});this[_0x167d46(0x185)]=_0x32f0b2[0x0],this[_0x167d46(0x185)][_0x167d46(0x151)]=this[_0x167d46(0x185)][_0x167d46(0x151)]||[];}}catch(_0x30dc0e){const _0x1e303e=_0x167d46(0x163)+this[_0x167d46(0x168)]+',\x20error:'+_0x30dc0e[_0x393c83[_0x167d46(0x160)]];new session_logger_1[(_0x167d46(0x149))](this[_0x167d46(0x1ac)]())['error'](_0x1e303e),console[_0x167d46(0x19d)](_0x1e303e);}});await Promise[_0xef6907(0x1a5)](_0x4be601);const _0x1889b8=_0xef6907(0x15e)+_0x393c83[_0xef6907(0x16a)](Math[_0xef6907(0x183)](_0x393c83['JVLko'](_0x5da50a,_0x3da92b)),0x1)+_0xef6907(0x15b);new session_logger_1[(_0xef6907(0x149))](this['getSessionDoc']())[_0xef6907(0x1e2)](_0x1889b8),console[_0xef6907(0x1e2)](_0x1889b8);}else return _0x20049d;}}[a8_0x358a3d(0x15d)](_0x162e6b){const _0x3b9026=a8_0x358a3d;this[_0x3b9026(0x144)]=_0x162e6b;}[a8_0x358a3d(0x153)](_0x2e04a4){const _0x2ec4f8=a8_0x358a3d;return this[_0x2ec4f8(0x144)][_0x2ec4f8(0x1b6)](_0x2e04a4);}[a8_0x358a3d(0x164)](_0x9990a5){const _0x5f3e78=a8_0x358a3d;this[_0x5f3e78(0x1a0)]=_0x9990a5;}[a8_0x358a3d(0x172)](_0x34c0d8){const _0x4cc7c3=a8_0x358a3d;(0x0,lodash_1[_0x4cc7c3(0x1d1)])(this[_0x4cc7c3(0x1a0)],_0x34c0d8);}[a8_0x358a3d(0x192)](_0x4e2c96){const _0x6cef72=a8_0x358a3d;return(0x0,lodash_1[_0x6cef72(0x1d5)])(this[_0x6cef72(0x1a0)],_0x4e2c96);}async['activate'](_0x52da43){const _0x32fd36=a8_0x358a3d;return await this[_0x32fd36(0x157)](_0x52da43[_0x32fd36(0x168)]);}async[a8_0x358a3d(0x157)](_0x544916){const _0x121033=a8_0x358a3d,_0x4b9c94={'xjblQ':function(_0x586146,_0xbce86a){return _0x586146===_0xbce86a;},'FGAWK':function(_0x4c4eac,_0x2a2410){return _0x4c4eac!==_0x2a2410;},'uAJcY':'HKzfO','tAEMD':_0x121033(0x1b3)},_0x1e4b48=this[_0x121033(0x158)][_0x121033(0x1d5)](_0x544916);if(_0x4b9c94[_0x121033(0x19c)](_0x1e4b48[_0x121033(0x1d7)](),_0x544916)&&_0x1e4b48[_0x121033(0x1a1)]){if(_0x4b9c94[_0x121033(0x1dc)](_0x4b9c94['uAJcY'],_0x4b9c94[_0x121033(0x173)]))_0x5e4110[_0x121033(0x18f)](this['flowDoc'][_0x121033(0x16b)]);else return _0x1e4b48;}else{for(const [_0x37df95,_0x1da89c]of this[_0x121033(0x158)]){if(_0x4b9c94[_0x121033(0x19c)](_0x4b9c94[_0x121033(0x1c4)],_0x4b9c94[_0x121033(0x1c4)])){if(_0x1da89c[_0x121033(0x1a1)]){_0x1da89c[_0x121033(0x1a1)]=![];break;}}else this[_0x121033(0x17b)][_0x121033(0x1b0)][_0x121033(0x16e)]+=_0x4caf2e;}return this[_0x121033(0x185)][_0x121033(0x151)][_0x121033(0x1e3)](_0x544916),_0x1e4b48['active']=!![],_0x1e4b48;}}['getTool'](_0x59f3f5){const _0x2f1b03=a8_0x358a3d;return this['tools'][_0x2f1b03(0x1d5)](_0x59f3f5);}['composeTool'](){const _0x1fb159=a8_0x358a3d,_0x516ec4={'oWCce':function(_0x35a5ef,_0xdfe093){return _0x35a5ef!==_0xdfe093;},'JXzfO':_0x1fb159(0x184),'yEUbL':function(_0x4761b9,_0x23096d){return _0x4761b9!==_0x23096d;},'ltVcU':_0x1fb159(0x195)},_0x63ab1f=[];for(const [_0x546699,_0x2d44bd]of this[_0x1fb159(0x158)]){const _0x28d9f8=_0x2d44bd[_0x1fb159(0x1c8)]();if(_0x28d9f8){if(_0x516ec4['oWCce'](_0x516ec4[_0x1fb159(0x1bb)],_0x1fb159(0x1ab)))_0x63ab1f['push'](..._0x28d9f8);else return this[_0x1fb159(0x14f)];}}const _0x1bf16f=this[_0x1fb159(0x1c8)]();_0x1bf16f&&_0x63ab1f[_0x1fb159(0x1e3)](..._0x1bf16f);for(const _0x44fba9 of _0x63ab1f){if(_0x516ec4[_0x1fb159(0x166)](_0x516ec4['ltVcU'],_0x1fb159(0x195))){const _0x11c465=this[_0x1fb159(0x158)]['get'](_0x474307['name']);return _0x11c465[_0x1fb159(0x154)](_0x5822fc);}else{const _0xb3044a=(0x0,lodash_1[_0x1fb159(0x1d1)])({},_0x44fba9,{'func':null});this['tools']['set'](_0x44fba9[_0x1fb159(0x168)],new tools_1[(_0x1fb159(0x1ad))](_0xb3044a));}}}[a8_0x358a3d(0x1ac)](){const _0x16e766=a8_0x358a3d;return this[_0x16e766(0x17b)];}[a8_0x358a3d(0x1e4)](_0x1b5243,_0x379763){const _0x561bbf=a8_0x358a3d,_0x441593=this[_0x561bbf(0x158)][_0x561bbf(0x1d5)](_0x1b5243[_0x561bbf(0x168)]);return _0x441593[_0x561bbf(0x154)](_0x379763);}['getStepStateAs'](_0x160e56,_0x283c99){const _0x30ffe8=a8_0x358a3d,_0x38f16d=this[_0x30ffe8(0x158)][_0x30ffe8(0x1d5)](_0x160e56[_0x30ffe8(0x168)]);return _0x38f16d[_0x30ffe8(0x145)](_0x283c99);}['saveStepState'](_0x397d49,_0x50a526){const _0x49936c=a8_0x358a3d,_0x56cf1d={'xRJPi':function(_0x375eed,_0x2ace18){return _0x375eed===_0x2ace18;},'StUOO':_0x49936c(0x17a)},_0x36de83=this[_0x49936c(0x158)]['get'](_0x397d49[_0x49936c(0x168)]);if(_0x36de83)return _0x56cf1d['xRJPi'](_0x56cf1d[_0x49936c(0x1b4)],_0x56cf1d[_0x49936c(0x1b4)])?_0x36de83[_0x49936c(0x1b9)](_0x50a526):this[_0x49936c(0x158)][_0x49936c(0x1d5)](_0x5e4cc7);}get['temperature'](){const _0x34f249=a8_0x358a3d;return this[_0x34f249(0x14f)];}set[a8_0x358a3d(0x19b)](_0x26877e){this['temp']=_0x26877e;}}function a8_0x14a7(){const _0x515687=['nwMiS','tmJMD','515758bvLbJI','pmmcA','sessionDoc','tallyToken','FoQlJ','./end-step','(((.+)+)+)+$','input_tokens','0|4|3|1|2','getActiveStep','floor','hEidH','flowDoc','output_tokens','assignFlowDoc','RfzNw','3FsapPk','SkirF','bootstrap','OOHPZ','702veshCe','map','readDoc','vEdrg','fVvZE','getContext','mPZEE','sXfYu','WWetW','1560872hrmDKP','JDsgZ','contentType','spawnSteps','pABJu','temperature','xjblQ','error','1036158JDBWRU','fNfvx','context','active','message','getFlowSession','ceil','all','\x20(batch\x20size:','flows','nbTjU','XMiSf','../session/session-logger','ueIxB','getSessionDoc','DynamicStructuredTool','slice','LMmNj','tokens','KilBP','NUlUt','VsDia','StUOO','rkWUz','getMessages','47970bheuaS','collectSteps','saveState','writeDoc','JXzfO','defineProperty','GMexv','rRUKO','filter','@langchain/core/tools','SelfClient','aRxTr','isEnd','tAEMD','total_tokens','UYorI','search','defineTool','sdFVz','mMgtc','toString','flowEngine','createDoc','tools','yoFVt','MfBHL','merge','fetch','YOuhd','apply','get','nYlid','getName','vgkmL','aaVDX','ZzQDp','CvsEp','FGAWK','36ReEsNB','LnmUd','WhUSA','OMHkj','4168300hFvwdp','log','push','getStepState','706896nLzPfX','memory','getStateAs','Flow','jzzAg','cKhWp','SessionLogger','getModelName','defineSteps','LWRJd','post','gLRxw','temp','Processing\x20batch\x20','sequence','KioNZ','getMemory','getState','Mxheb','config._concurrent','activateByName','stepMap','save','QeDzs','\x20completed.','qWfWm','setMemory','Batch\x20','qEGlW','QUfdZ','afWEE','SuLyS','Error\x20batch\x20process\x20flow:\x20','setContext','kZpbM','yEUbL','createOoc','name','4174513weuZHv','PKMvI','steps','FqUON','composeTool','totalTokens','efuQO','saveSession','init','addContext','uAJcY','outputTokens','getFlowEngine','JVLko'];a8_0x14a7=function(){return _0x515687;};return a8_0x14a7();}exports[a8_0x358a3d(0x146)]=Flow;