@picoflow/core 1.0.6 → 1.0.7
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 +1 -1
- package/clients/http-client.js +1 -1
- package/clients/self-client.js +1 -1
- package/configs/core-config.js +1 -1
- package/decorators/stop-tool.js +1 -1
- package/flow/content-type.js +1 -1
- package/flow/end-step.js +1 -1
- package/flow/flow-creator.js +1 -1
- package/flow/flow-types.js +1 -1
- package/flow/flow.js +1 -1
- package/flow/llm-runner.js +1 -1
- package/flow/logic-runner.js +1 -1
- package/flow/logic-step.js +1 -1
- package/flow/memory.js +1 -1
- package/flow/step.js +1 -1
- package/package.json +1 -1
- package/prompt/flow-prompt.js +1 -1
- package/prompt/prompt-util.js +1 -1
- package/services/flow-engine.js +1 -1
- package/session/cosmo-session.js +1 -1
- package/session/file-session.js +1 -1
- package/session/flow-session.js +1 -1
- package/session/mongo-session.js +1 -1
- package/session/session-adaptor.js +1 -1
- package/session/session-logger.js +1 -1
- package/utils/constants.js +1 -1
- package/utils/environ.js +1 -1
- package/utils/errors.js +1 -1
- package/utils/license-util.js +1 -1
- package/utils/llm-file.js +1 -1
- package/utils/logic.js +1 -1
- package/utils/message-util.js +1 -1
- package/utils/retry.js +1 -1
- package/utils/string-util.js +1 -1
- package/utils/tool-util.js +1 -1
- package/utils/verify-license.js +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ We will be happy to provide a short term license key for evaluation purposes.
|
|
|
25
25
|
|
|
26
26
|
- **Main Website**: [https://www.picoflow.io](https://www.picoflow.io)
|
|
27
27
|
- **Tutorial**: [https://tutorial1.picoflow.io](https://tutorial1.picoflow.io)
|
|
28
|
-
- **GitHub Demo**: [https://github.com/
|
|
28
|
+
- **GitHub Demo**: [https://github.com/picoflowio/hotel-demo](https://github.com/picoflowio/hotel-demo)
|
|
29
29
|
|
|
30
30
|
For more detailed documentation, please refer to the [doc](./doc) folder.
|
|
31
31
|
|
package/clients/http-client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
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;
|
package/clients/self-client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
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;
|
package/configs/core-config.js
CHANGED
|
@@ -1 +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;
|
package/decorators/stop-tool.js
CHANGED
|
@@ -1 +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;
|
package/flow/content-type.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
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={})));
|
package/flow/end-step.js
CHANGED
|
@@ -1 +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;
|
package/flow/flow-creator.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
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;
|
package/flow/flow-types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
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;
|
package/flow/flow.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a8_0x293688=a8_0x161f;(function(_0x50c276,_0x1a14bb){const _0x43f268=a8_0x161f,_0x2bd194=_0x50c276();while(!![]){try{const _0xeaffb2=parseInt(_0x43f268(0x1dc))/0x1*(-parseInt(_0x43f268(0x198))/0x2)+-parseInt(_0x43f268(0x15b))/0x3+parseInt(_0x43f268(0x1b9))/0x4+parseInt(_0x43f268(0x178))/0x5*(-parseInt(_0x43f268(0x150))/0x6)+-parseInt(_0x43f268(0x1d0))/0x7*(-parseInt(_0x43f268(0x1ba))/0x8)+parseInt(_0x43f268(0x15f))/0x9+-parseInt(_0x43f268(0x175))/0xa;if(_0xeaffb2===_0x1a14bb)break;else _0x2bd194['push'](_0x2bd194['shift']());}catch(_0x689ba0){_0x2bd194['push'](_0x2bd194['shift']());}}}(a8_0xdeed,0x7691a));const a8_0x579930=(function(){let _0x2b03f8=!![];return function(_0x501223,_0x4aba09){const _0x119ccc=_0x2b03f8?function(){const _0x1f4e6b=a8_0x161f;if(_0x4aba09){const _0x119bc4=_0x4aba09[_0x1f4e6b(0x1ac)](_0x501223,arguments);return _0x4aba09=null,_0x119bc4;}}:function(){};return _0x2b03f8=![],_0x119ccc;};}()),a8_0x5244fd=a8_0x579930(this,function(){const _0x577910=a8_0x161f,_0x176711={'gfRnt':'(((.+)+)+)+$'};return a8_0x5244fd[_0x577910(0x19d)]()[_0x577910(0x146)](_0x176711[_0x577910(0x1ae)])['toString']()[_0x577910(0x1be)](a8_0x5244fd)[_0x577910(0x146)](_0x176711[_0x577910(0x1ae)]);});a8_0x5244fd();function a8_0x161f(_0x26b0c3,_0x4aceb9){const _0x5d322a=a8_0xdeed();return a8_0x161f=function(_0x5244fd,_0x579930){_0x5244fd=_0x5244fd-0x140;let _0xdeedde=_0x5d322a[_0x5244fd];return _0xdeedde;},a8_0x161f(_0x26b0c3,_0x4aceb9);}'use strict';Object[a8_0x293688(0x19a)](exports,a8_0x293688(0x180),{'value':!![]}),exports[a8_0x293688(0x156)]=void 0x0;function a8_0xdeed(){const _0x4a4e82=['AdQhM','QAnNW','getSessionDoc','post','150907vmKEOy','qKUxJ','getStateAs','dOuuX','HWSNx','jgizM','JtZIk','search','pgfDi','getModelName','activateByName','kspyL','fVJiO','push','input_tokens','waZaS','set','18cMbqgX','assignFlowDoc','saveStepState','suyTa','useModel','temp','Flow','name','JxqLJ','3|0|1|4|2','concurrentSteps','1358835vbNutP','\x20completed.','map','getFlowSession','8690319JhvNdA','auxSg','saveSession','active','CMIVh','FzHcs','getMemory','ExkUb','ceil','./end-step','CXwqY','NZqYf','readDoc','flowEngine','nWqon','EndStep','SessionLogger','writeDoc','merge','isEnd','getMessages','all','1483940yKfqxi','bootstrap','tools','1068950PbHAWD','setContext','XIAVC','spawnSteps','hPsOI','NaHZB','outputTokens','log','__esModule','getState','mARBh','BZtVi','get','dWIDA','saveState','context','CNpEP','dVpiM','tokens','zIPfs',',\x20error:','floor','WsQeb','CroyO','getTool','FXikF','KdLAu','message','setMemory','VfWif','RoQbF','contentType','6qEsIEJ','GFMai','defineProperty','inputTokens','memory','toString','CzJFQ','UNxyn','temperature','cSStB','getStep','ToqGV','save','getSessionId','useMemory','JiXpQ','YDcrQ','createDoc','IQZDG','wsXcq','apply','steps','gfRnt','rdsjI','BGylH','../session/session-logger','okuBd','getName','init','flows','pRKTN','addContext','sequence','1381028PeuItK','1568rJqiTe','JDAyS','woUPI','sessionDoc','constructor','NMLiK','getStepStateAs','MdYvV','composeTool','qarYe','../clients/self-client','total_tokens','defineSteps','lLcwf','getContext','sZhYl','collectSteps','Gedkg','getFlowEngine','length','getActiveStep','getModel','31080RKgRSC','stepMap','error','xIVCc','flowDoc','uYRVS','split','VUdjg'];a8_0xdeed=function(){return _0x4a4e82;};return a8_0xdeed();}const tools_1=require('@langchain/core/tools'),lodash_1=require('lodash'),end_step_1=require(a8_0x293688(0x168)),self_client_1=require(a8_0x293688(0x1c4)),session_logger_1=require(a8_0x293688(0x1b1));class Flow{constructor(_0xde2309){const _0x56e49d=a8_0x293688,_0x3cab0a={'zIPfs':_0x56e49d(0x159)},_0x4b0602=_0x3cab0a[_0x56e49d(0x18b)][_0x56e49d(0x1d6)]('|');let _0x4102d9=0x0;while(!![]){switch(_0x4b0602[_0x4102d9++]){case'0':this[_0x56e49d(0x177)]=new Map();continue;case'1':this[_0x56e49d(0x155)]=-0x1;continue;case'2':this[_0x56e49d(0x187)]={};continue;case'3':this['stepMap']=new Map();continue;case'4':this[_0x56e49d(0x157)]=_0xde2309[_0x56e49d(0x157)];continue;}break;}}async[a8_0x293688(0x1b4)](){}['getFlowEngine'](){return this['flowEngine'];}async[a8_0x293688(0x176)](_0x38cd93,_0x2e0d6a){const _0x17ad39=a8_0x293688,_0x109b30={'JxqLJ':function(_0x428bb6,_0x1340df){return _0x428bb6===_0x1340df;},'CzJFQ':_0x17ad39(0x1cb),'JDAyS':function(_0x53f880,_0x46f6ce){return _0x53f880===_0x46f6ce;},'lLcwf':_0x17ad39(0x17c),'kspyL':function(_0x51c8d9,_0x1fe3ed){return _0x51c8d9===_0x1fe3ed;}};this['flowEngine']=_0x2e0d6a;for(const [,_0x3b6b57]of this['stepMap']){const _0x47cc98=_0x3b6b57[_0x17ad39(0x1cf)]();if(!_0x47cc98){if(_0x109b30[_0x17ad39(0x158)](_0x109b30[_0x17ad39(0x19e)],_0x109b30[_0x17ad39(0x19e)])){const _0x47733a=this[_0x17ad39(0x1cc)]()[_0x17ad39(0x148)]();_0x3b6b57[_0x17ad39(0x154)](_0x47733a);}else return this['tools'][_0x17ad39(0x184)](_0x4c6551);}}const _0x3f62c0=_0x2e0d6a[_0x17ad39(0x15e)](),[_0x582af6,_0x30d1fc]=await _0x3f62c0['fetch'](_0x38cd93);if(_0x582af6){if(_0x109b30[_0x17ad39(0x1bb)](_0x109b30[_0x17ad39(0x1c7)],_0x109b30[_0x17ad39(0x1c7)]))this[_0x17ad39(0x1bd)]=this[_0x17ad39(0x1a9)](_0x30d1fc),this['assignFlowDoc'](),this[_0x17ad39(0x161)]();else return'';}else this[_0x17ad39(0x1bd)]=_0x30d1fc,this[_0x17ad39(0x151)](),this['readDoc']();if(_0x109b30[_0x17ad39(0x14a)](this[_0x17ad39(0x1d4)][_0x17ad39(0x1b8)]['length'],0x0)){const _0x3327ba=this[_0x17ad39(0x1ce)]();_0x3327ba&&this['flowDoc'][_0x17ad39(0x1b8)][_0x17ad39(0x14c)](_0x3327ba[_0x17ad39(0x1b3)]());}this[_0x17ad39(0x1c2)]();}['assignFlowDoc'](){const _0x99c003=a8_0x293688,_0x15d127={'BGylH':function(_0x1e5ab0,_0x695e6d){return _0x1e5ab0===_0x695e6d;},'pMMoj':_0x99c003(0x16a),'pgfDi':_0x99c003(0x1b2)},_0x204f31=this[_0x99c003(0x1bd)][_0x99c003(0x1b5)]['filter'](_0x79583=>{const _0x4effec=_0x99c003;if(_0x15d127[_0x4effec(0x1b0)](_0x15d127['pMMoj'],_0x15d127['pMMoj'])){if(_0x79583[_0x4effec(0x157)]===this[_0x4effec(0x157)]){if(_0x15d127[_0x4effec(0x147)]!==_0x15d127['pgfDi'])this[_0x4effec(0x1d4)][_0x4effec(0x1b8)][_0x4effec(0x14c)](_0x3f4b1b[_0x4effec(0x1b3)]());else return!![];}return![];}else return this[_0x4effec(0x16c)];});this[_0x99c003(0x1d4)]=_0x204f31[0x0],this[_0x99c003(0x1d4)]['sequence']=this[_0x99c003(0x1d4)][_0x99c003(0x1b8)]||[];}['tallyToken'](_0x45c8e4){const _0x20009c=a8_0x293688,_0x4df4c9={'VfWif':function(_0x2cae2d,_0x2aa2b8){return _0x2cae2d!==_0x2aa2b8;},'JiXpQ':'jLkyY','qarYe':'XeJKb','FzHcs':'output_tokens','woUPI':function(_0x377c1c,_0x1aa735){return _0x377c1c===_0x1aa735;},'QAnNW':_0x20009c(0x199),'MdYvV':_0x20009c(0x1bf)};if(_0x45c8e4){if(_0x4df4c9[_0x20009c(0x195)](_0x4df4c9[_0x20009c(0x1a7)],_0x4df4c9[_0x20009c(0x1c3)])){const _0xa010c2=_0x45c8e4[_0x20009c(0x14d)],_0x390e1d=_0x45c8e4[_0x4df4c9[_0x20009c(0x164)]],_0x331e81=_0x45c8e4[_0x20009c(0x1c5)];if(_0xa010c2){if(_0x4df4c9[_0x20009c(0x1bc)](_0x4df4c9['QAnNW'],_0x4df4c9[_0x20009c(0x1d9)]))this[_0x20009c(0x1bd)][_0x20009c(0x18a)][_0x20009c(0x19b)]+=_0xa010c2;else{if(_0x3f336a[_0x20009c(0x157)]===this['name'])return!![];return![];}}_0x390e1d&&(_0x4df4c9[_0x20009c(0x1bc)](_0x4df4c9['MdYvV'],_0x4df4c9[_0x20009c(0x1c1)])?this[_0x20009c(0x1bd)][_0x20009c(0x18a)][_0x20009c(0x17e)]+=_0x390e1d:this[_0x20009c(0x1d1)][_0x20009c(0x14f)](_0x25f4cc[_0x20009c(0x1b3)](),_0x55157e)),_0x331e81&&(this['sessionDoc'][_0x20009c(0x18a)]['totalTokens']+=_0x331e81);}else return[new _0x9a5e4c[(_0x20009c(0x16e))](this)[_0x20009c(0x1a6)](_0x20009c(0x155))];}}[a8_0x293688(0x1ca)](){const _0x192862=a8_0x293688,_0x30eaf6=this[_0x192862(0x1c6)]();for(const _0x5dd083 of _0x30eaf6){this[_0x192862(0x1d1)]['set'](_0x5dd083[_0x192862(0x1b3)](),_0x5dd083);}}[a8_0x293688(0x1c6)](){const _0x34cea3=a8_0x293688;return[new end_step_1[(_0x34cea3(0x16e))](this)['useMemory'](_0x34cea3(0x155))];}[a8_0x293688(0x1a9)](_0x3ef01c){const _0x31a3bb=a8_0x293688,_0x2c4de3=[];for(const [,_0x377021]of this[_0x31a3bb(0x1d1)]){_0x2c4de3[_0x31a3bb(0x14c)](_0x377021['createDoc']());}const _0x4b3c91={'name':this['name'],'memory':this[_0x31a3bb(0x19c)]['createOoc'](),'steps':_0x2c4de3,'context':this[_0x31a3bb(0x187)]};return _0x3ef01c[_0x31a3bb(0x1b5)][_0x31a3bb(0x14c)](_0x4b3c91),_0x3ef01c;}[a8_0x293688(0x16b)](){const _0x4e231d=a8_0x293688;this[_0x4e231d(0x19c)]['readDoc'](this['flowDoc'][_0x4e231d(0x19c)]);for(const [,_0x1c4645]of this['stepMap']){_0x1c4645[_0x4e231d(0x16b)](this[_0x4e231d(0x1d4)]['steps']);}this[_0x4e231d(0x187)]=this[_0x4e231d(0x1d4)][_0x4e231d(0x187)];}[a8_0x293688(0x1a5)](){const _0x260f6e=a8_0x293688;return this[_0x260f6e(0x1bd)]['id'];}async['saveSession'](){const _0xa605e5=a8_0x293688,_0x3d88bd={'CNpEP':function(_0x56734d,_0x37b622){return _0x56734d===_0x37b622;},'fVJiO':_0xa605e5(0x144)};this[_0xa605e5(0x19c)][_0xa605e5(0x170)](this['flowDoc']['memory']);for(const [,_0x2f93db]of this[_0xa605e5(0x1d1)]){_0x3d88bd[_0xa605e5(0x188)](_0xa605e5(0x160),_0x3d88bd[_0xa605e5(0x14b)])?this[_0xa605e5(0x187)]=_0x259a2b:_0x2f93db[_0xa605e5(0x170)](this['flowDoc'][_0xa605e5(0x1ad)]);}this[_0xa605e5(0x1d4)]['context']=this[_0xa605e5(0x187)],this[_0xa605e5(0x1d4)][_0xa605e5(0x1a0)]=this[_0xa605e5(0x155)],await this[_0xa605e5(0x16c)]['getFlowSession']()[_0xa605e5(0x1a4)](this[_0xa605e5(0x1bd)]);}['getActiveStep'](){const _0x403d07=a8_0x293688,_0x2b04ae={'YDcrQ':function(_0x3133ae,_0x49c15a){return _0x3133ae!==_0x49c15a;},'iIZzI':'SDgio','xIVCc':_0x403d07(0x1d8),'qKUxJ':function(_0x55ae54,_0x30493d){return _0x55ae54===_0x30493d;},'BZtVi':'xynYt'};for(const [_0x34b752,_0x589834]of this[_0x403d07(0x1d1)]){if(_0x2b04ae[_0x403d07(0x1a8)](_0x2b04ae['iIZzI'],_0x2b04ae[_0x403d07(0x1d3)])){if(_0x589834['active']){if(_0x2b04ae[_0x403d07(0x140)](_0x2b04ae[_0x403d07(0x183)],_0x403d07(0x185))){const _0x2cc5eb=this[_0x403d07(0x1cc)]()[_0x403d07(0x148)]();_0x1be318['useModel'](_0x2cc5eb);}else return _0x589834;}}else{const _0x355803=this[_0x403d07(0x1d1)]['get'](_0x3cfe2f[_0x403d07(0x157)]);return _0x355803[_0x403d07(0x141)](_0x3c4f65);}}return null;}[a8_0x293688(0x1a2)](_0x522ccf){const _0x495faf=a8_0x293688;return this[_0x495faf(0x1d1)]['get'](_0x522ccf);}['defineTool'](){return null;}async['run'](_0x2b34d3){const _0x53f764=a8_0x293688,_0x21994f=this[_0x53f764(0x1c8)]('config._concurrent');let _0x450180,_0x3bba1a;return _0x21994f?_0x450180=await this[_0x53f764(0x17b)]():(_0x3bba1a=this[_0x53f764(0x1ce)](),_0x450180=await _0x3bba1a['run'](_0x2b34d3)),_0x3bba1a=this['getActiveStep'](),{'success':!![],'completed':_0x3bba1a[_0x53f764(0x172)](),'message':_0x450180,'session':this[_0x53f764(0x1bd)]['id'],'contentType':_0x3bba1a[_0x53f764(0x197)]};}async[a8_0x293688(0x17b)](){return'';}async[a8_0x293688(0x15a)]({items:_0x2fcba3,batchSize:_0x37dcb2,onConfig:_0x3d1115,onBotResponse:_0x3cde29}){const _0x5d845e=a8_0x293688,_0x7cc067={'dVpiM':function(_0xe140f3,_0x1f885c){return _0xe140f3!==_0x1f885c;},'nWqon':_0x5d845e(0x1af),'KBedH':'dbeBX','sQxBj':function(_0x512526,_0x57038a){return _0x512526(_0x57038a);},'CroyO':function(_0x348a31,_0xfe7b15){return _0x348a31!==_0xfe7b15;},'FXikF':function(_0x2ff588,_0x31eef7,_0x8867eb){return _0x2ff588(_0x31eef7,_0x8867eb);},'ToqGV':function(_0x46a57b,_0x3c2d54){return _0x46a57b!==_0x3c2d54;},'IQZDG':_0x5d845e(0x193),'dOuuX':function(_0x1e5656,_0x26324d){return _0x1e5656<_0x26324d;},'sZhYl':function(_0x5896f8,_0xf41ed2){return _0x5896f8/_0xf41ed2;},'cSStB':function(_0x47dfdf,_0x4383d1){return _0x47dfdf/_0x4383d1;},'RoQbF':function(_0x4ec0b8,_0x56f656){return _0x4ec0b8+_0x56f656;}},_0x52d7a1=new self_client_1['SelfClient']();for(let _0x43a153=0x0;_0x7cc067[_0x5d845e(0x142)](_0x43a153,_0x2fcba3[_0x5d845e(0x1cd)]);_0x43a153+=_0x37dcb2){const _0x16740c=_0x2fcba3['slice'](_0x43a153,_0x43a153+_0x37dcb2),_0x76f839='Processing\x20batch\x20'+(Math[_0x5d845e(0x18d)](_0x7cc067[_0x5d845e(0x1c9)](_0x43a153,_0x37dcb2))+0x1)+'/'+Math[_0x5d845e(0x167)](_0x7cc067[_0x5d845e(0x1a1)](_0x2fcba3[_0x5d845e(0x1cd)],_0x37dcb2))+'\x20(batch\x20size:'+_0x16740c[_0x5d845e(0x1cd)]+')';new session_logger_1[(_0x5d845e(0x16f))](this['getSessionDoc']())[_0x5d845e(0x17f)](_0x76f839),console[_0x5d845e(0x17f)](_0x76f839);const _0x493b12=_0x16740c[_0x5d845e(0x15d)](async _0x35e600=>{const _0x14ec56=_0x5d845e;if(_0x7cc067[_0x14ec56(0x189)](_0x7cc067[_0x14ec56(0x16d)],_0x7cc067['KBedH'])){const _0x235c9e={'flowName':this[_0x14ec56(0x157)],'config':{..._0x7cc067['sQxBj'](_0x3d1115,_0x35e600)}};try{if(_0x7cc067[_0x14ec56(0x18f)](_0x14ec56(0x18e),_0x14ec56(0x18e))){const _0x172c87=this[_0x14ec56(0x1ce)]();_0x172c87&&this[_0x14ec56(0x1d4)]['sequence'][_0x14ec56(0x14c)](_0x172c87[_0x14ec56(0x1b3)]());}else{const _0x291867=await _0x52d7a1[_0x14ec56(0x1db)]('',_0x235c9e);_0x7cc067[_0x14ec56(0x191)](_0x3cde29,_0x35e600,_0x291867);}}catch(_0x48a56a){if(_0x7cc067[_0x14ec56(0x1a3)]('ExkUb',_0x14ec56(0x166))){const _0xf4f7dc=_0x234cfe[_0x14ec56(0x1cf)]();if(!_0xf4f7dc){const _0x29e0e6=this[_0x14ec56(0x1cc)]()[_0x14ec56(0x148)]();_0x445005[_0x14ec56(0x154)](_0x29e0e6);}}else{const _0x1c9091='Error\x20batch\x20process\x20flow:\x20'+this[_0x14ec56(0x157)]+_0x14ec56(0x18c)+_0x48a56a[_0x7cc067[_0x14ec56(0x1aa)]];new session_logger_1[(_0x14ec56(0x16f))](this[_0x14ec56(0x1da)]())[_0x14ec56(0x1d2)](_0x1c9091),console[_0x14ec56(0x1d2)](_0x1c9091);}}}else _0x10f26a[_0x14ec56(0x14c)](..._0x1030fb);});await Promise[_0x5d845e(0x174)](_0x493b12);const _0x635a0='Batch\x20'+_0x7cc067[_0x5d845e(0x196)](Math[_0x5d845e(0x18d)](_0x7cc067[_0x5d845e(0x1c9)](_0x43a153,_0x37dcb2)),0x1)+_0x5d845e(0x15c);new session_logger_1['SessionLogger'](this[_0x5d845e(0x1da)]())['log'](_0x635a0),console[_0x5d845e(0x17f)](_0x635a0);}}[a8_0x293688(0x194)](_0xf83472){const _0x355536=a8_0x293688;this[_0x355536(0x19c)]=_0xf83472;}[a8_0x293688(0x165)](_0xf000fc){const _0x17bcd2=a8_0x293688;return this['memory'][_0x17bcd2(0x173)](_0xf000fc);}[a8_0x293688(0x179)](_0x4db790){const _0xc4fa3d=a8_0x293688;this[_0xc4fa3d(0x187)]=_0x4db790;}[a8_0x293688(0x1b7)](_0x24455e){const _0x330bba=a8_0x293688;(0x0,lodash_1[_0x330bba(0x171)])(this[_0x330bba(0x187)],_0x24455e);}[a8_0x293688(0x1c8)](_0x29e59b){const _0x3c3bc9=a8_0x293688;return(0x0,lodash_1[_0x3c3bc9(0x184)])(this['context'],_0x29e59b);}async['activate'](_0xd737d6){const _0x36e9fd=a8_0x293688;return await this[_0x36e9fd(0x149)](_0xd737d6[_0x36e9fd(0x157)]);}async[a8_0x293688(0x149)](_0x554e9c){const _0x5570fc=a8_0x293688,_0x2f61e9={'wsXcq':function(_0x17e466,_0x3120f0){return _0x17e466===_0x3120f0;},'CMIVh':_0x5570fc(0x1d5),'JtZIk':_0x5570fc(0x17a)},_0x2cc2f8=this[_0x5570fc(0x1d1)]['get'](_0x554e9c);if(_0x2f61e9[_0x5570fc(0x1ab)](_0x2cc2f8[_0x5570fc(0x1b3)](),_0x554e9c)&&_0x2cc2f8['active'])return _0x2f61e9[_0x5570fc(0x1ab)](_0x2f61e9[_0x5570fc(0x163)],_0x5570fc(0x1d5))?_0x2cc2f8:_0x4657f2[_0x5570fc(0x186)](_0x1918f3);else{for(const [_0x27d5a3,_0x3a0f71]of this['stepMap']){if(_0x3a0f71[_0x5570fc(0x162)]){if('alQKQ'===_0x2f61e9[_0x5570fc(0x145)])return!![];else{_0x3a0f71[_0x5570fc(0x162)]=![];break;}}}return this[_0x5570fc(0x1d4)][_0x5570fc(0x1b8)][_0x5570fc(0x14c)](_0x554e9c),_0x2cc2f8[_0x5570fc(0x162)]=!![],_0x2cc2f8;}}[a8_0x293688(0x190)](_0x644d53){const _0x1d00f0=a8_0x293688;return this[_0x1d00f0(0x177)][_0x1d00f0(0x184)](_0x644d53);}[a8_0x293688(0x1c2)](){const _0x2eed5b=a8_0x293688,_0x52b6d4={'VUdjg':function(_0xc65dc8,_0x4f8b7d){return _0xc65dc8!==_0x4f8b7d;},'gwWdN':_0x2eed5b(0x192),'mARBh':_0x2eed5b(0x143),'suyTa':function(_0x1ab99c,_0x31820f){return _0x1ab99c!==_0x31820f;},'NaHZB':_0x2eed5b(0x19f),'pRKTN':_0x2eed5b(0x14e)},_0x14beb2=[];for(const [_0x3d17b7,_0x21fc50]of this['stepMap']){const _0x4c42f5=_0x21fc50['defineTool']();_0x4c42f5&&(_0x52b6d4[_0x2eed5b(0x1d7)](_0x52b6d4['gwWdN'],_0x52b6d4[_0x2eed5b(0x182)])?_0x14beb2['push'](..._0x4c42f5):(this[_0x2eed5b(0x1bd)]=_0x2d0bfa,this['assignFlowDoc'](),this[_0x2eed5b(0x16b)]()));}const _0x4a2f96=this['defineTool']();_0x4a2f96&&(_0x52b6d4[_0x2eed5b(0x153)](_0x2eed5b(0x169),_0x2eed5b(0x169))?this[_0x2eed5b(0x1bd)][_0x2eed5b(0x18a)]['outputTokens']+=_0x39c201:_0x14beb2[_0x2eed5b(0x14c)](..._0x4a2f96));for(const _0x278754 of _0x14beb2){if(_0x52b6d4[_0x2eed5b(0x17d)]!==_0x52b6d4[_0x2eed5b(0x1b6)]){const _0x30ccdc=(0x0,lodash_1[_0x2eed5b(0x171)])({},_0x278754,{'func':null});this[_0x2eed5b(0x177)][_0x2eed5b(0x14f)](_0x278754[_0x2eed5b(0x157)],new tools_1['DynamicStructuredTool'](_0x30ccdc));}else return(0x0,_0x2aa031['get'])(this[_0x2eed5b(0x187)],_0x10b350);}}[a8_0x293688(0x1da)](){const _0x3e77be=a8_0x293688;return this[_0x3e77be(0x1bd)];}['getStepState'](_0x52bdc1,_0xbba3bc){const _0x5a8a82=a8_0x293688,_0x5e47b8=this[_0x5a8a82(0x1d1)][_0x5a8a82(0x184)](_0x52bdc1[_0x5a8a82(0x157)]);return _0x5e47b8[_0x5a8a82(0x181)](_0xbba3bc);}[a8_0x293688(0x1c0)](_0xe16e3a,_0x1b5056){const _0x294c62=a8_0x293688,_0x47acd7=this['stepMap'][_0x294c62(0x184)](_0xe16e3a['name']);return _0x47acd7[_0x294c62(0x141)](_0x1b5056);}[a8_0x293688(0x152)](_0x17f833,_0x1c9c5f){const _0x108226=a8_0x293688,_0x35ad94=this[_0x108226(0x1d1)][_0x108226(0x184)](_0x17f833[_0x108226(0x157)]);if(_0x35ad94)return _0x35ad94[_0x108226(0x186)](_0x1c9c5f);}get[a8_0x293688(0x1a0)](){const _0x25cfe1=a8_0x293688;return this[_0x25cfe1(0x155)];}set[a8_0x293688(0x1a0)](_0x4a2152){const _0x5854a7=a8_0x293688;this[_0x5854a7(0x155)]=_0x4a2152;}}exports[a8_0x293688(0x156)]=Flow;
|
|
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;
|