@picoflow/core 1.0.7 → 1.0.9
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 +0 -4
- 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 +6 -2
- 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
|
@@ -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
|
package/clients/http-client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x5e97ff=a0_0x5356;(function(_0x544f1a,_0x40e91d){const _0x680a7a=a0_0x5356,_0x391e1f=_0x544f1a();while(!![]){try{const _0x48a12=-parseInt(_0x680a7a(0x145))/0x1+parseInt(_0x680a7a(0x138))/0x2+-parseInt(_0x680a7a(0x151))/0x3*(-parseInt(_0x680a7a(0x14d))/0x4)+-parseInt(_0x680a7a(0x11c))/0x5+-parseInt(_0x680a7a(0x12f))/0x6*(-parseInt(_0x680a7a(0x127))/0x7)+-parseInt(_0x680a7a(0x131))/0x8*(-parseInt(_0x680a7a(0x152))/0x9)+parseInt(_0x680a7a(0x11d))/0xa;if(_0x48a12===_0x40e91d)break;else _0x391e1f['push'](_0x391e1f['shift']());}catch(_0x5ac6a5){_0x391e1f['push'](_0x391e1f['shift']());}}}(a0_0x4d80,0x2abb9));const a0_0x44f626=(function(){const _0x46fce5=a0_0x5356,_0x59f4bb={'ZXFWt':function(_0x3a1a2c,_0x1ba94e){return _0x3a1a2c<_0x1ba94e;},'rfkOA':function(_0x1f62a1,_0x59eb9f){return _0x1f62a1===_0x59eb9f;},'Hkxmu':_0x46fce5(0x143),'ISrSw':_0x46fce5(0x115)};let _0x49f866=!![];return function(_0x452286,_0x33cd52){const _0xae4e0e=_0x46fce5,_0x1954b4={'ZvOoZ':function(_0x38831e,_0x54c135){return _0x59f4bb['ZXFWt'](_0x38831e,_0x54c135);},'zgWwP':function(_0x4415a2,_0xc67330){const _0x3ffe24=a0_0x5356;return _0x59f4bb[_0x3ffe24(0x132)](_0x4415a2,_0xc67330);},'LGqno':_0xae4e0e(0x121),'Wmuql':_0x59f4bb[_0xae4e0e(0x148)],'YjJEF':function(_0x4a9481,_0x232070){const _0x28675e=_0xae4e0e;return _0x59f4bb[_0x28675e(0x132)](_0x4a9481,_0x232070);},'GqdPb':_0x59f4bb[_0xae4e0e(0x122)]},_0x551809=_0x49f866?function(){const _0x12d176=_0xae4e0e,_0x21bf3b={'fbrPw':function(_0x397496,_0x400d5c){return _0x397496>=_0x400d5c;},'DcwJc':function(_0x319183,_0x3118f8){const _0xacc8bd=a0_0x5356;return _0x1954b4[_0xacc8bd(0x149)](_0x319183,_0x3118f8);}};if(_0x1954b4[_0x12d176(0x128)](_0x1954b4['LGqno'],_0x1954b4[_0x12d176(0x125)]))return _0x3d924a=_0x5876d7,_0x21bf3b[_0x12d176(0x12c)](_0x1e9823,_0x1202cb['HttpStatus']['OK'])&&_0x21bf3b[_0x12d176(0x135)](_0x6e41cb,0x12c);else{if(_0x33cd52){if(_0x1954b4['YjJEF'](_0x1954b4[_0x12d176(0x14e)],'uZvrz')){const _0x3a9d20=_0x33cd52[_0x12d176(0x14b)](_0x452286,arguments);return _0x33cd52=null,_0x3a9d20;}else{_0x192772[_0x12d176(0x14a)]=_0x4fcd47;throw _0x47c3d7;}}}}:function(){};return _0x49f866=![],_0x551809;};}()),a0_0x5dd41f=a0_0x44f626(this,function(){const _0x221b42=a0_0x5356,_0x27b494={'bYAEM':_0x221b42(0x13b)};return a0_0x5dd41f['toString']()['search'](_0x27b494['bYAEM'])['toString']()['constructor'](a0_0x5dd41f)['search'](_0x27b494[_0x221b42(0x113)]);});function a0_0x4d80(){const _0x3d2c99=['HttpClient','uZvrz','validateStatus','__importDefault','ccYLp','create','get','__esModule','1175RaDDvG','734550cqHAcJ','@nestjs/common','Ohnxi','lXrLP','LaFAk','ISrSw','axios','RcHXP','Wmuql','usvIq','5817lVlpwe','zgWwP','defaults','headers','put','fbrPw','setup','IVIJA','528mNfeHX','reject','8eGjVDP','rfkOA','patch','client','DcwJc','tImMZ','lmHrE','192902jdtkfw','use','delete','(((.+)+)+)+$','common','CAYSK','message','defineProperty','HttpStatus','interceptors','OMaNW','RxsUU','FbWTV','265224wYomyH','setHeader','data','Hkxmu','ZvOoZ','statusCode','apply','removeHeader','112yJZQnm','GqdPb','response','RwvXq','17094TQKIfY','341226ROhcVy','lbNVT','bYAEM'];a0_0x4d80=function(){return _0x3d2c99;};return a0_0x4d80();}function a0_0x5356(_0x1cd65a,_0x1c8af8){const _0x1657f5=a0_0x4d80();return a0_0x5356=function(_0x5dd41f,_0x44f626){_0x5dd41f=_0x5dd41f-0x112;let _0x4d8061=_0x1657f5[_0x5dd41f];return _0x4d8061;},a0_0x5356(_0x1cd65a,_0x1c8af8);}a0_0x5dd41f();'use strict';var __importDefault=this&&this[a0_0x5e97ff(0x117)]||function(_0x26c1ef){const _0x411ff7=a0_0x5e97ff;return _0x26c1ef&&_0x26c1ef[_0x411ff7(0x11b)]?_0x26c1ef:{'default':_0x26c1ef};};Object[a0_0x5e97ff(0x13f)](exports,'__esModule',{'value':!![]}),exports[a0_0x5e97ff(0x114)]=void 0x0;const common_1=require(a0_0x5e97ff(0x11e)),axios_1=__importDefault(require(a0_0x5e97ff(0x123)));class HttpClient{constructor(_0x3255f3,_0x5f2df2={},_0x60a72){const _0x5edd5b=a0_0x5e97ff,_0xec405c={'tImMZ':function(_0x4d9484,_0x534694){return _0x4d9484!==_0x534694;},'Ohnxi':'ungPB'};this[_0x5edd5b(0x134)]=axios_1['default'][_0x5edd5b(0x119)]({'baseURL':_0x3255f3,'timeout':_0x60a72,'headers':_0x5f2df2}),this[_0x5edd5b(0x134)][_0x5edd5b(0x141)]['request'][_0x5edd5b(0x139)](_0x47207a=>{const _0x21a391=_0x5edd5b;if(_0xec405c[_0x21a391(0x136)](_0xec405c['Ohnxi'],_0xec405c[_0x21a391(0x11f)])){if(_0x1597cb){const _0x3d3413=_0x297072[_0x21a391(0x14b)](_0x52104f,arguments);return _0x74fd22=null,_0x3d3413;}}else return _0x47207a;},_0x2a03c2=>Promise['reject'](_0x2a03c2)),this[_0x5edd5b(0x134)]['interceptors'][_0x5edd5b(0x14f)][_0x5edd5b(0x139)](_0x59463c=>_0x59463c[_0x5edd5b(0x147)],_0x5ce4f0=>{const _0x1bb956=_0x5edd5b,_0x4e1a19=_0x5ce4f0[_0x1bb956(0x14f)]?.[_0x1bb956(0x147)]?.[_0x1bb956(0x13e)]||_0x5ce4f0[_0x1bb956(0x13e)];return Promise[_0x1bb956(0x130)](new Error(_0x4e1a19));});}async['get'](_0x969fd5,_0x1d4631={},_0x37a109){const _0x3819f7=a0_0x5e97ff,_0x569fbe={'usvIq':function(_0x539fc3,_0x2f096b){return _0x539fc3!==_0x2f096b;},'lmHrE':_0x3819f7(0x124),'IVIJA':function(_0x4dbaa9,_0x556145){return _0x4dbaa9<_0x556145;},'CAYSK':function(_0x5c5df5,_0x5afd66){return _0x5c5df5??_0x5afd66;}};let _0x471805=common_1['HttpStatus']['OK'];const _0x143c25=_0x569fbe[_0x3819f7(0x13d)](_0x37a109,{});_0x143c25[_0x3819f7(0x116)]=_0x2ae030=>{const _0x247ae4=_0x3819f7;if(_0x569fbe[_0x247ae4(0x126)](_0x569fbe[_0x247ae4(0x137)],_0x247ae4(0x144)))return _0x471805=_0x2ae030,_0x2ae030>=common_1['HttpStatus']['OK']&&_0x569fbe[_0x247ae4(0x12e)](_0x2ae030,0x12c);else{const _0x23c7af=_0x388b90[_0x247ae4(0x14f)]?.[_0x247ae4(0x147)]?.['message']||_0x3fa20c[_0x247ae4(0x13e)];return _0x5e2789[_0x247ae4(0x130)](new _0x2f42a4(_0x23c7af));}};try{const _0x4142ba=await this['client'][_0x3819f7(0x11a)](_0x969fd5,{'params':_0x1d4631,..._0x143c25});return _0x4142ba;}catch(_0x329eee){_0x329eee[_0x3819f7(0x14a)]=_0x471805;throw _0x329eee;}}async['post'](_0x593be9,_0x3d316e={},_0x5042e8){const _0x267a77=a0_0x5e97ff;return this[_0x267a77(0x12d)](this[_0x267a77(0x134)]['post'],_0x593be9,_0x3d316e,_0x5042e8);}async[a0_0x5e97ff(0x12b)](_0x1e53ac,_0x3e8907={},_0x516e78){const _0x5029ba=a0_0x5e97ff;return this[_0x5029ba(0x12d)](this[_0x5029ba(0x134)][_0x5029ba(0x12b)],_0x1e53ac,_0x3e8907,_0x516e78);}async[a0_0x5e97ff(0x13a)](_0x409017,_0x1439b8){const _0x376bb1=a0_0x5e97ff,_0x3ed6fd={'RwvXq':function(_0x3359e9,_0x27635e){return _0x3359e9>=_0x27635e;},'VmjIC':function(_0x58f5ce,_0xe8ffe){return _0x58f5ce<_0xe8ffe;},'OMaNW':function(_0x57473a,_0x1f2aa4){return _0x57473a??_0x1f2aa4;}};let _0x440fba=common_1[_0x376bb1(0x140)]['OK'];const _0x171b12=_0x3ed6fd[_0x376bb1(0x142)](_0x1439b8,{});_0x171b12[_0x376bb1(0x116)]=_0x4fe5be=>{const _0x19a223=_0x376bb1;return _0x440fba=_0x4fe5be,_0x3ed6fd[_0x19a223(0x150)](_0x4fe5be,common_1['HttpStatus']['OK'])&&_0x3ed6fd['VmjIC'](_0x4fe5be,0x12c);};try{const _0x4b5f50=await this[_0x376bb1(0x134)]['delete'](_0x409017,{..._0x1439b8});return _0x4b5f50;}catch(_0x4c58a2){_0x4c58a2[_0x376bb1(0x14a)]=_0x440fba;throw _0x4c58a2;}}async[a0_0x5e97ff(0x133)](_0x1c9bda,_0x59d6e2={},_0x2ca93c){const _0x86619c=a0_0x5e97ff;return this[_0x86619c(0x12d)](this[_0x86619c(0x134)]['patch'],_0x1c9bda,_0x59d6e2,_0x2ca93c);}[a0_0x5e97ff(0x146)](_0x271f68,_0x1f1045){const _0x1a5bf2=a0_0x5e97ff;this[_0x1a5bf2(0x134)][_0x1a5bf2(0x129)][_0x1a5bf2(0x12a)][_0x1a5bf2(0x13c)][_0x271f68]=_0x1f1045;}[a0_0x5e97ff(0x14c)](_0xb9daa1){const _0x2de2d8=a0_0x5e97ff;delete this[_0x2de2d8(0x134)][_0x2de2d8(0x129)]['headers'][_0x2de2d8(0x13c)][_0xb9daa1];}async['setup'](_0x2e2b91,_0x3b1854,_0x505886={},_0x33f9ec){const _0x431efb=a0_0x5e97ff,_0x1e16bc={'ccYLp':function(_0x495c89,_0x4fc648){return _0x495c89<_0x4fc648;},'lbNVT':function(_0x1e7643,_0x10c8c5){return _0x1e7643!==_0x10c8c5;},'tCiYM':_0x431efb(0x120)};let _0x560b99=common_1[_0x431efb(0x140)]['OK'];const _0x50a4ab=_0x33f9ec??{};_0x50a4ab[_0x431efb(0x116)]=_0x183e20=>{const _0x5183b4=_0x431efb;return _0x560b99=_0x183e20,_0x183e20>=common_1['HttpStatus']['OK']&&_0x1e16bc[_0x5183b4(0x118)](_0x183e20,0x12c);};try{const _0x2b4479=await _0x2e2b91(_0x3b1854,_0x505886,{..._0x50a4ab});return _0x2b4479;}catch(_0xd5ff1c){if(_0x1e16bc[_0x431efb(0x112)](_0x431efb(0x120),_0x1e16bc['tCiYM'])){_0xf8b593[_0x431efb(0x14a)]=_0x11d135;throw _0x3e7bb4;}else{_0xd5ff1c[_0x431efb(0x14a)]=_0x560b99;throw _0xd5ff1c;}}}}exports[a0_0x5e97ff(0x114)]=HttpClient;
|
package/clients/self-client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a1_0x24f3(_0x4e6f8c,_0x27c79f){const _0x299436=a1_0x273c();return a1_0x24f3=function(_0x12497b,_0x4d66af){_0x12497b=_0x12497b-0x139;let _0x273cb2=_0x299436[_0x12497b];return _0x273cb2;},a1_0x24f3(_0x4e6f8c,_0x27c79f);}const a1_0x5a4362=a1_0x24f3;(function(_0x2389ff,_0x1e8b6a){const _0x797b79=a1_0x24f3,_0x2b0d50=_0x2389ff();while(!![]){try{const _0x36616a=-parseInt(_0x797b79(0x144))/0x1+-parseInt(_0x797b79(0x14e))/0x2*(parseInt(_0x797b79(0x13a))/0x3)+-parseInt(_0x797b79(0x148))/0x4+-parseInt(_0x797b79(0x13b))/0x5*(-parseInt(_0x797b79(0x13f))/0x6)+-parseInt(_0x797b79(0x13c))/0x7*(-parseInt(_0x797b79(0x142))/0x8)+-parseInt(_0x797b79(0x139))/0x9*(-parseInt(_0x797b79(0x140))/0xa)+parseInt(_0x797b79(0x13e))/0xb;if(_0x36616a===_0x1e8b6a)break;else _0x2b0d50['push'](_0x2b0d50['shift']());}catch(_0xe88001){_0x2b0d50['push'](_0x2b0d50['shift']());}}}(a1_0x273c,0x3a2da));const a1_0x4d66af=(function(){let _0x4ab454=!![];return function(_0x36eccc,_0x56b93b){const _0x501af4=_0x4ab454?function(){if(_0x56b93b){const _0x2c0078=_0x56b93b['apply'](_0x36eccc,arguments);return _0x56b93b=null,_0x2c0078;}}:function(){};return _0x4ab454=![],_0x501af4;};}()),a1_0x12497b=a1_0x4d66af(this,function(){const _0x28f634=a1_0x24f3,_0x559235={'GOUKU':_0x28f634(0x14a)};return a1_0x12497b[_0x28f634(0x13d)]()[_0x28f634(0x149)](_0x559235['GOUKU'])[_0x28f634(0x13d)]()[_0x28f634(0x141)](a1_0x12497b)[_0x28f634(0x149)](_0x559235[_0x28f634(0x143)]);});a1_0x12497b();'use strict';Object[a1_0x5a4362(0x14f)](exports,a1_0x5a4362(0x146),{'value':!![]}),exports[a1_0x5a4362(0x14d)]=void 0x0;function a1_0x273c(){const _0x523ba1=['toString','4255735qFJxlA','204STeoVo','2630PWWfQJ','constructor','1227496TILNVB','GOUKU','198684TczipI','selfURL','__esModule','HttpClient','460652ZeSvqK','search','(((.+)+)+)+$','../configs/core-config','./http-client','SelfClient','151172GMkswz','defineProperty','2547crEYjD','9fPRjGW','24140psoOHH','7ckvUzM'];a1_0x273c=function(){return _0x523ba1;};return a1_0x273c();}const core_config_1=require(a1_0x5a4362(0x14b)),http_client_1=require(a1_0x5a4362(0x14c));class SelfClient extends http_client_1[a1_0x5a4362(0x147)]{constructor(_0x5c42a6={},_0x307016){const _0x31ef8d=a1_0x5a4362;super(core_config_1['CoreConfig'][_0x31ef8d(0x145)],_0x5c42a6,_0x307016);}}exports[a1_0x5a4362(0x14d)]=SelfClient;
|
package/configs/core-config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a2_0x1cf1f7=a2_0xc555;(function(_0x4a3b65,_0xa15a48){const _0x4ee617=a2_0xc555,_0x21fdff=_0x4a3b65();while(!![]){try{const _0x3d8509=-parseInt(_0x4ee617(0xa5))/0x1+-parseInt(_0x4ee617(0xd3))/0x2*(-parseInt(_0x4ee617(0xbe))/0x3)+parseInt(_0x4ee617(0xda))/0x4*(-parseInt(_0x4ee617(0xaf))/0x5)+parseInt(_0x4ee617(0xbb))/0x6+-parseInt(_0x4ee617(0xd6))/0x7*(parseInt(_0x4ee617(0xb3))/0x8)+-parseInt(_0x4ee617(0xbd))/0x9+parseInt(_0x4ee617(0xbc))/0xa;if(_0x3d8509===_0xa15a48)break;else _0x21fdff['push'](_0x21fdff['shift']());}catch(_0x54dac8){_0x21fdff['push'](_0x21fdff['shift']());}}}(a2_0xd41f,0x2db85));function a2_0xd41f(){const _0x831fcd=['../utils/environ','EzkAI','93148lCiKMn','mongoURL','SESSION_EXPIRATION','MbFus','sessionExpiration','trim','JExPh','constructor','llmTemperature','pPPyg','50890Aprqzh','picoKey','llmRetry','QcCYf','8784DnZxQk','MONGO','GeminiKey','COSMODB_KEY','PICOFLOW_KEY','LLM_TEMPERATURE','__esModule','kOqrF','1559562lecLjn','2779840KqHWSN','84168bNVDda','155154wGVEKR','HhKJg','rXIwx','defineProperty','MONGODB_NAME','OpenAIKey','instance','dgtOe','selfURL','WKCMD','toString','setup','LVbyN','KwXZX','AnthropicKey','getOrThrow','GEMINI_KEY','GetAs','hWqZM','MONGODB_COLLECTION','TBqUW','10MBuytu','LGgYe','COSMODB_URL','2387eXbLRg','apply','LLM_RETRY','search','52KOnpUv','MONGODB_URL','get','cosmoDbUrl','CoreConfig','ANTHROPIC_KEY'];a2_0xd41f=function(){return _0x831fcd;};return a2_0xd41f();}function a2_0xc555(_0x492180,_0x14967a){const _0x45a679=a2_0xd41f();return a2_0xc555=function(_0x567a03,_0x2bb9a6){_0x567a03=_0x567a03-0xa1;let _0xd41f89=_0x45a679[_0x567a03];return _0xd41f89;},a2_0xc555(_0x492180,_0x14967a);}const a2_0x2bb9a6=(function(){let _0x1fc1db=!![];return function(_0x187388,_0x42b0b7){const _0x423c4a=_0x1fc1db?function(){if(_0x42b0b7){const _0x491796=_0x42b0b7['apply'](_0x187388,arguments);return _0x42b0b7=null,_0x491796;}}:function(){};return _0x1fc1db=![],_0x423c4a;};}()),a2_0x567a03=a2_0x2bb9a6(this,function(){const _0x24d429=a2_0xc555,_0x15bfbb={'MbFus':'(((.+)+)+)+$'};return a2_0x567a03['toString']()['search'](_0x15bfbb[_0x24d429(0xa8)])[_0x24d429(0xc8)]()[_0x24d429(0xac)](a2_0x567a03)[_0x24d429(0xd9)](_0x15bfbb['MbFus']);});a2_0x567a03();'use strict';Object[a2_0x1cf1f7(0xc1)](exports,a2_0x1cf1f7(0xb9),{'value':!![]}),exports['CoreConfig']=void 0x0;const environ_1=require(a2_0x1cf1f7(0xa3));class CoreConfig{constructor(_0x44b000){const _0x2a92bd=a2_0x1cf1f7,_0x46b4f9={'ixYWA':_0x2a92bd(0xd8),'sLYxx':_0x2a92bd(0xb8),'pPPyg':_0x2a92bd(0xb7),'JExPh':_0x2a92bd(0xce),'kOqrF':'OPENAI_KEY','LGgYe':_0x2a92bd(0xa2),'HhKJg':'DOCUMENT_DB','dgtOe':_0x2a92bd(0xb4),'WKCMD':_0x2a92bd(0xb6),'hOLOT':_0x2a92bd(0xd5),'KwXZX':'COSMODB_ID','EzkAI':_0x2a92bd(0xc2),'LVbyN':_0x2a92bd(0xd1),'hWqZM':_0x2a92bd(0xa7)};CoreConfig[_0x2a92bd(0xb1)]=(0x0,environ_1[_0x2a92bd(0xcf)])(_0x44b000['get'](_0x46b4f9['ixYWA'],0x3)),CoreConfig[_0x2a92bd(0xad)]=(0x0,environ_1[_0x2a92bd(0xcf)])(_0x44b000[_0x2a92bd(0xdc)](_0x46b4f9['sLYxx'],0x0)),CoreConfig[_0x2a92bd(0xb0)]=_0x44b000[_0x2a92bd(0xcd)](_0x46b4f9[_0x2a92bd(0xae)])[_0x2a92bd(0xaa)](),CoreConfig[_0x2a92bd(0xc6)]=_0x44b000[_0x2a92bd(0xdc)]('SELF_URL'),CoreConfig[_0x2a92bd(0xb5)]=_0x44b000[_0x2a92bd(0xcd)](_0x46b4f9[_0x2a92bd(0xab)])[_0x2a92bd(0xaa)](),CoreConfig[_0x2a92bd(0xc3)]=_0x44b000[_0x2a92bd(0xcd)](_0x46b4f9[_0x2a92bd(0xba)])[_0x2a92bd(0xaa)](),CoreConfig[_0x2a92bd(0xcc)]=_0x44b000[_0x2a92bd(0xcd)](_0x46b4f9[_0x2a92bd(0xd4)])[_0x2a92bd(0xaa)](),CoreConfig['documentDB']=_0x44b000[_0x2a92bd(0xdc)](_0x46b4f9[_0x2a92bd(0xbf)],_0x46b4f9[_0x2a92bd(0xc5)]),CoreConfig['cosmoDbKey']=_0x44b000[_0x2a92bd(0xdc)](_0x46b4f9[_0x2a92bd(0xc7)]),CoreConfig[_0x2a92bd(0xdd)]=_0x44b000['get'](_0x46b4f9['hOLOT']),CoreConfig['cosmoDbId']=_0x44b000[_0x2a92bd(0xdc)](_0x46b4f9[_0x2a92bd(0xcb)]),CoreConfig['cosmoDbSessionId']=_0x44b000[_0x2a92bd(0xdc)]('COSMODB_SESSION_ID'),CoreConfig['mongoDB']=_0x44b000[_0x2a92bd(0xcd)](_0x46b4f9[_0x2a92bd(0xa4)]),CoreConfig['mongoCollection']=_0x44b000[_0x2a92bd(0xcd)](_0x46b4f9[_0x2a92bd(0xca)]),CoreConfig[_0x2a92bd(0xa6)]=_0x44b000[_0x2a92bd(0xcd)](_0x2a92bd(0xdb)),CoreConfig[_0x2a92bd(0xa9)]=(0x0,environ_1['GetAs'])(_0x44b000[_0x2a92bd(0xdc)](_0x46b4f9[_0x2a92bd(0xd0)],0x258));}static[a2_0x1cf1f7(0xc9)](_0x328aea){const _0x176b87=a2_0x1cf1f7,_0x479d7e={'QcCYf':'fiXmj','TBqUW':_0x176b87(0xc0)};if(!this[_0x176b87(0xc4)]){if(_0x479d7e[_0x176b87(0xb2)]!==_0x479d7e[_0x176b87(0xd2)])this[_0x176b87(0xc4)]=new CoreConfig(_0x328aea);else{const _0x30ef44=_0x5ac04b[_0x176b87(0xd7)](_0x2db725,arguments);return _0x1fcbad=null,_0x30ef44;}}return this['instance'];}}exports[a2_0x1cf1f7(0xa1)]=CoreConfig;
|
package/decorators/stop-tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a3_0x2861(_0x54d9aa,_0x3c8047){const _0x27e52d=a3_0x45e5();return a3_0x2861=function(_0x16585f,_0x336456){_0x16585f=_0x16585f-0x190;let _0x45e5f5=_0x27e52d[_0x16585f];return _0x45e5f5;},a3_0x2861(_0x54d9aa,_0x3c8047);}const a3_0x4208e7=a3_0x2861;(function(_0x45f98f,_0x48a674){const _0x343a8c=a3_0x2861,_0x673f1c=_0x45f98f();while(!![]){try{const _0x3e79eb=-parseInt(_0x343a8c(0x195))/0x1+-parseInt(_0x343a8c(0x196))/0x2*(-parseInt(_0x343a8c(0x1a0))/0x3)+-parseInt(_0x343a8c(0x194))/0x4+parseInt(_0x343a8c(0x197))/0x5*(parseInt(_0x343a8c(0x192))/0x6)+-parseInt(_0x343a8c(0x19c))/0x7*(parseInt(_0x343a8c(0x19b))/0x8)+parseInt(_0x343a8c(0x193))/0x9+parseInt(_0x343a8c(0x19e))/0xa;if(_0x3e79eb===_0x48a674)break;else _0x673f1c['push'](_0x673f1c['shift']());}catch(_0x13862a){_0x673f1c['push'](_0x673f1c['shift']());}}}(a3_0x45e5,0xdd072));const a3_0x336456=(function(){let _0x8b5ec9=!![];return function(_0x36f711,_0x39d566){const _0xf161db=_0x8b5ec9?function(){const _0xb1cb23=a3_0x2861;if(_0x39d566){const _0x2151f5=_0x39d566[_0xb1cb23(0x1a4)](_0x36f711,arguments);return _0x39d566=null,_0x2151f5;}}:function(){};return _0x8b5ec9=![],_0xf161db;};}()),a3_0x16585f=a3_0x336456(this,function(){const _0x684bc2=a3_0x2861,_0x18bdcb={'gGpPy':_0x684bc2(0x1a1)};return a3_0x16585f[_0x684bc2(0x19a)]()[_0x684bc2(0x191)](_0x18bdcb['gGpPy'])[_0x684bc2(0x19a)]()[_0x684bc2(0x1a3)](a3_0x16585f)[_0x684bc2(0x191)](_0x18bdcb['gGpPy']);});a3_0x16585f();'use strict';Object[a3_0x4208e7(0x19f)](exports,'__esModule',{'value':!![]}),exports[a3_0x4208e7(0x199)]=exports[a3_0x4208e7(0x190)]=void 0x0;const StopToolPrompt=()=>{return(_0x44de2c,_0x9a4366,_0xae7f67)=>{const _0x41c142=a3_0x2861,_0x3fd0a3=_0xae7f67['value'];return _0xae7f67[_0x41c142(0x198)]=async function(..._0x3b48ac){const _0x4e8f99=_0x41c142;let _0x44d9d5=await _0x3fd0a3[_0x4e8f99(0x1a4)](this);return _0x44d9d5=await this['amendTool'](_0x44d9d5),_0x44d9d5;},_0xae7f67;};};exports[a3_0x4208e7(0x190)]=StopToolPrompt;const StopToolMessage=()=>{return(_0xee34ca,_0x2b0e33,_0x56cd31)=>{const _0x29ee2e=a3_0x2861,_0xe2d887=_0x56cd31['value'];return _0x56cd31[_0x29ee2e(0x198)]=async function(..._0x47d392){const _0x2d8820=_0x29ee2e,_0x498174=_0x47d392[0x0],_0x2cf77d=await _0xe2d887[_0x2d8820(0x1a4)](this,_0x47d392);return this[_0x2d8820(0x19d)](_0x2cf77d,_0x498174[_0x2d8820(0x1a2)]);},_0x56cd31;};};function a3_0x45e5(){const _0x528774=['search','170010pHSCXp','1215900iGjNlf','799200GPMIqW','1127925UXcYRI','1557662WEAWNq','265oHhgaB','value','StopToolMessage','toString','1208nXfJaQ','78428iZyLJO','setStopTool','15091730JrDFic','defineProperty','3kaAEHv','(((.+)+)+)+$','name','constructor','apply','StopToolPrompt'];a3_0x45e5=function(){return _0x528774;};return a3_0x45e5();}exports[a3_0x4208e7(0x199)]=StopToolMessage;
|
package/flow/content-type.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';function a4_0x54e0(_0x35f9b7,_0x50972d){var _0xcb9578=a4_0xb2eb();return a4_0x54e0=function(_0xa4a9f2,_0x1d31ff){_0xa4a9f2=_0xa4a9f2-0x195;var _0xb2ebe=_0xcb9578[_0xa4a9f2];return _0xb2ebe;},a4_0x54e0(_0x35f9b7,_0x50972d);}var a4_0x5f29ca=a4_0x54e0;(function(_0xbb13ad,_0x4cc541){var _0x1b7e16=a4_0x54e0,_0xca1c0a=_0xbb13ad();while(!![]){try{var _0x49f528=-parseInt(_0x1b7e16(0x1c8))/0x1*(parseInt(_0x1b7e16(0x1b1))/0x2)+parseInt(_0x1b7e16(0x1ae))/0x3*(parseInt(_0x1b7e16(0x200))/0x4)+-parseInt(_0x1b7e16(0x1be))/0x5*(-parseInt(_0x1b7e16(0x1b2))/0x6)+parseInt(_0x1b7e16(0x1c1))/0x7+-parseInt(_0x1b7e16(0x19b))/0x8*(-parseInt(_0x1b7e16(0x1ca))/0x9)+-parseInt(_0x1b7e16(0x1c6))/0xa+parseInt(_0x1b7e16(0x1f2))/0xb*(-parseInt(_0x1b7e16(0x1a6))/0xc);if(_0x49f528===_0x4cc541)break;else _0xca1c0a['push'](_0xca1c0a['shift']());}catch(_0x45dc91){_0xca1c0a['push'](_0xca1c0a['shift']());}}}(a4_0xb2eb,0x344ea));Object['defineProperty'](exports,a4_0x5f29ca(0x1ed),{'value':!![]}),exports[a4_0x5f29ca(0x1c7)]=void 0x0;function a4_0xb2eb(){var _0x1c507c=['text/plain','Pdf','application/xml','TmtlF','image/webp','application/x-tar','toString','Markdown','Gzip','JsonLd','ehZKd','cUlci','RssXml','application/vnd.oasis.opendocument.text','application/msword','Webp','text/xml','WimgP','pcYtv','Xml','MsWord','OtVcZ','application/vnd.openxmlformats-officedocument.wordprocessingml.document','rVcYZ','TextXml','wCwtb','hcfbG','spUtm','lFgUK','__esModule','image/svg+xml','mQUof','dHiaO','qlTeq','1547821hseAEs','Odt','ZglCu','umJcp','Docx','apply','aksXo','TextYaml','Xls','OctetStream','RuwoA','TRFfQ','FIUVT','application/rss+xml','672596WzWbhz','text/markdown','VzOWS','LgKIg','application/x-yaml','ZqcdX','QLYGZ','application/gzip','Rtf','audio/ogg','MXhMu','search','Xlsx','Plain','Mp3','multipart/form-data','XSAEt','VzEDk','34224VEBtbu','application/pdf','AtomXml','Ogg','XtrSD','Webm','application/octet-stream','audio/mpeg','split','video/webm','rRqVc','12tFHxoB','video/mp4','JcVVB','application/vnd.ms-excel','HoUxX','text/csv','oUxFT','Yaml','3kIKVso','(((.+)+)+)+$','Svg','90PHlBMZ','36QvjvGw','Csv','application/x-www-form-urlencoded','oUxlN','application/vnd.oasis.opendocument.spreadsheet','WUAgu','bxYbV','Tar','Zip','pHPaT','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','image/png','86610KtsBaq','hONvp','ecXXE','913199qlitoL','text/html','lgtZX','fBpIh','JsonApi','2656140oVpIYL','HttpContentType','1239DvJjBx','text/rtf','576zcsfwH','WSwZU','MultipartFormData','Ods','dkKvH','application/ld+json'];a4_0xb2eb=function(){return _0x1c507c;};return a4_0xb2eb();}var HttpContentType;(function(_0x492a5b){var _0x5da4ec=a4_0x5f29ca,_0x2a6c4c={'RuwoA':'22|19|0|1|16|39|38|18|10|7|20|26|15|29|4|36|11|8|28|27|12|17|25|13|34|31|30|9|6|21|23|14|37|33|2|3|5|24|35|32','oUxFT':function(_0xb20eb0,_0x3ff76c,_0xd51111){return _0xb20eb0(_0x3ff76c,_0xd51111);},'lFgUK':function(_0x235689){return _0x235689();},'rRqVc':'Mp4','cUlci':_0x5da4ec(0x1a0),'qlTeq':_0x5da4ec(0x1a4),'dkKvH':_0x5da4ec(0x1c5),'MXhMu':_0x5da4ec(0x1fb),'spUtm':'image/jpeg','FSfum':_0x5da4ec(0x1ad),'rVcYZ':_0x5da4ec(0x1d1),'ecXXE':_0x5da4ec(0x19c),'VzOWS':_0x5da4ec(0x1bd),'FIUVT':_0x5da4ec(0x19d),'wCwtb':'application/atom+xml','umJcp':_0x5da4ec(0x196),'aVHcj':_0x5da4ec(0x1d0),'WSwZU':_0x5da4ec(0x1f3),'pHPaT':_0x5da4ec(0x1dd),'lgtZX':_0x5da4ec(0x1b3),'XEufB':_0x5da4ec(0x1ab),'ZqcdX':_0x5da4ec(0x1b0),'XSAEt':_0x5da4ec(0x1ee),'OtVcZ':'FormUrlEncoded','oUxlN':'Json','Wuogu':_0x5da4ec(0x208),'ZglCu':_0x5da4ec(0x1c9),'bxYbV':_0x5da4ec(0x1dc),'TmtlF':_0x5da4ec(0x1f9),'aksXo':'Gif','WUAgu':'image/gif','hONvp':_0x5da4ec(0x1df),'ehZKd':_0x5da4ec(0x1d4),'hzmVt':'application/zip','JcVVB':_0x5da4ec(0x1d7),'jMmiR':_0x5da4ec(0x201),'fBpIh':_0x5da4ec(0x1d9),'mQUof':_0x5da4ec(0x1cf),'vajdF':_0x5da4ec(0x198),'ytGGc':_0x5da4ec(0x1cd),'vUNBv':_0x5da4ec(0x1b6),'JmmAx':_0x5da4ec(0x195),'pcYtv':_0x5da4ec(0x1bc),'DhSTe':_0x5da4ec(0x1b9),'LgKIg':_0x5da4ec(0x1d5),'rmKsu':_0x5da4ec(0x19e),'XtrSD':_0x5da4ec(0x209),'abPsv':_0x5da4ec(0x1fa),'QLYGZ':_0x5da4ec(0x1d8),'VzEDk':_0x5da4ec(0x1c2),'nbruj':_0x5da4ec(0x197),'dHiaO':_0x5da4ec(0x1a2),'TRFfQ':_0x5da4ec(0x1e8),'HoUxX':_0x5da4ec(0x1e0),'lpYjV':_0x5da4ec(0x1e3),'hcfbG':_0x5da4ec(0x1d2)},_0x3bc84c=_0x2a6c4c[_0x5da4ec(0x1fc)][_0x5da4ec(0x1a3)]('|'),_0x3b87e7=0x0;while(!![]){switch(_0x3bc84c[_0x3b87e7++]){case'0':var _0x18e8b5=_0x2a6c4c[_0x5da4ec(0x1ac)](_0x5ef934,this,function(){var _0x35026d=_0x5da4ec;return _0x18e8b5[_0x35026d(0x1d6)]()[_0x35026d(0x20b)](_0x7fa1ac[_0x35026d(0x1e1)])['toString']()['constructor'](_0x18e8b5)[_0x35026d(0x20b)](_0x7fa1ac[_0x35026d(0x1e1)]);});continue;case'1':_0x2a6c4c[_0x5da4ec(0x1ec)](_0x18e8b5);continue;case'2':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1a5)]]=_0x5da4ec(0x1a7);continue;case'3':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1db)]]=_0x2a6c4c[_0x5da4ec(0x1f1)];continue;case'4':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1ce)]]='application/vnd.api+json';continue;case'5':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x20a)]]=_0x5da4ec(0x1a1);continue;case'6':_0x492a5b['Jpeg']=_0x2a6c4c[_0x5da4ec(0x1eb)];continue;case'7':_0x492a5b[_0x2a6c4c['FSfum']]=_0x5da4ec(0x204);continue;case'8':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1e7)]]=_0x2a6c4c[_0x5da4ec(0x1c0)];continue;case'9':_0x492a5b['Png']=_0x2a6c4c[_0x5da4ec(0x202)];continue;case'10':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1fe)]]=_0x2a6c4c[_0x5da4ec(0x1e9)];continue;case'11':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1f5)]]=_0x2a6c4c['aVHcj'];continue;case'12':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1cb)]]=_0x2a6c4c[_0x5da4ec(0x1bb)];continue;case'13':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1c3)]]=_0x2a6c4c['XEufB'];continue;case'14':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x205)]]=_0x2a6c4c[_0x5da4ec(0x199)];continue;case'15':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1e5)]]=_0x5da4ec(0x1b4);continue;case'16':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1b5)]]='application/json';continue;case'17':_0x492a5b[_0x2a6c4c['Wuogu']]=_0x2a6c4c[_0x5da4ec(0x1f4)];continue;case'18':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1b8)]]=_0x5da4ec(0x1ff);continue;case'19':var _0x5ef934=(function(){var _0x33ffde=!![];return function(_0x4160d6,_0x4a707f){var _0x5979f4=_0x33ffde?function(){var _0x423bef=a4_0x54e0;if(_0x4a707f){var _0x3d37a5=_0x4a707f[_0x423bef(0x1f7)](_0x4160d6,arguments);return _0x4a707f=null,_0x3d37a5;}}:function(){};return _0x33ffde=![],_0x5979f4;};}());continue;case'20':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1d3)]]='text/yaml';continue;case'21':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1f8)]]=_0x2a6c4c[_0x5da4ec(0x1b7)];continue;case'22':var _0x7fa1ac={'WimgP':_0x5da4ec(0x1af)};continue;case'23':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1bf)]]=_0x2a6c4c[_0x5da4ec(0x1da)];continue;case'24':_0x492a5b[_0x5da4ec(0x1ba)]=_0x2a6c4c['hzmVt'];continue;case'25':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1a8)]]=_0x2a6c4c['jMmiR'];continue;case'26':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1c4)]]=_0x2a6c4c[_0x5da4ec(0x1ef)];continue;case'27':_0x492a5b[_0x5da4ec(0x1f6)]=_0x5da4ec(0x1e6);continue;case'28':_0x492a5b[_0x5da4ec(0x1e4)]=_0x5da4ec(0x1de);continue;case'29':_0x492a5b[_0x5da4ec(0x1cc)]=_0x2a6c4c['vajdF'];continue;case'30':_0x492a5b[_0x2a6c4c['ytGGc']]=_0x2a6c4c['vUNBv'];continue;case'31':_0x492a5b[_0x2a6c4c['JmmAx']]=_0x2a6c4c[_0x5da4ec(0x1e2)];continue;case'32':_0x492a5b[_0x2a6c4c['DhSTe']]=_0x2a6c4c[_0x5da4ec(0x203)];continue;case'33':_0x492a5b[_0x2a6c4c['rmKsu']]=_0x2a6c4c[_0x5da4ec(0x19f)];continue;case'34':_0x492a5b[_0x2a6c4c['abPsv']]=_0x5da4ec(0x1a9);continue;case'35':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x206)]]=_0x5da4ec(0x207);continue;case'36':_0x492a5b['Html']=_0x2a6c4c[_0x5da4ec(0x19a)];continue;case'37':_0x492a5b[_0x2a6c4c['nbruj']]=_0x2a6c4c[_0x5da4ec(0x1f0)];continue;case'38':_0x492a5b[_0x2a6c4c[_0x5da4ec(0x1fd)]]=_0x2a6c4c[_0x5da4ec(0x1aa)];continue;case'39':_0x492a5b[_0x2a6c4c['lpYjV']]=_0x2a6c4c[_0x5da4ec(0x1ea)];continue;}break;}}(HttpContentType||(exports[a4_0x5f29ca(0x1c7)]=HttpContentType={})));
|
package/flow/end-step.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a5_0x1362(){const _0x5c3629=['runStatus','11912uilSnL','(((.+)+)+)+$','4203lDFMEe','EndStep','3859350WPaheo','string','onCrossing','describe','\x0aNicely\x20tell\x20the\x20user\x20this\x20is\x20the\x20end\x20of\x20conversation\x20as\x20they\x20requested,\x20you\x20MUST\x20NOT\x20talk\x20other\x20things!\x0a','3994342lLwaPA','zod','constructor','end\x20the\x20chat\x20conversation','object','getSessionDoc','default','bsBSc','toString','defineProperty','SwQkp','I\x27m\x20done\x20with\x20chat','completed','wmuPv','__importDefault','onEnter','2cjlFCZ','1499862bvIVGr','getPrompt','search','the\x20prompt\x20to\x20be\x20displayed\x20later','30875YkbWwL','30UIPjic','TMUqV','end_chat','Step','../utils/message-util','qvPab','101499IeiDjb','./step','__esModule','apply','930827jqDfhQ','oMEba','4ITjqRa','WILps'];a5_0x1362=function(){return _0x5c3629;};return a5_0x1362();}const a5_0x28dd53=a5_0xc452;(function(_0x5d6849,_0x11c53f){const _0xeb2232=a5_0xc452,_0x391ea0=_0x5d6849();while(!![]){try{const _0xfe14b7=-parseInt(_0xeb2232(0x1ed))/0x1*(-parseInt(_0xeb2232(0x1dd))/0x2)+parseInt(_0xeb2232(0x1e9))/0x3+parseInt(_0xeb2232(0x1ef))/0x4*(parseInt(_0xeb2232(0x1e2))/0x5)+-parseInt(_0xeb2232(0x1c8))/0x6+-parseInt(_0xeb2232(0x1de))/0x7+parseInt(_0xeb2232(0x1f2))/0x8*(-parseInt(_0xeb2232(0x1f4))/0x9)+parseInt(_0xeb2232(0x1e3))/0xa*(parseInt(_0xeb2232(0x1cd))/0xb);if(_0xfe14b7===_0x11c53f)break;else _0x391ea0['push'](_0x391ea0['shift']());}catch(_0x443051){_0x391ea0['push'](_0x391ea0['shift']());}}}(a5_0x1362,0x7bdd3));const a5_0x4357fa=(function(){const _0x35031e={'SwQkp':'Xrtqf'};let _0x2354fa=!![];return function(_0x21bd4f,_0x318623){const _0x338ba6=a5_0xc452;if(_0x338ba6(0x1f0)!==_0x35031e[_0x338ba6(0x1d7)]){const _0x445807=_0x2354fa?function(){if(_0x318623){const _0x576b00=_0x318623['apply'](_0x21bd4f,arguments);return _0x318623=null,_0x576b00;}}:function(){};return _0x2354fa=![],_0x445807;}else{const _0xa4b018=_0x2779e2[_0x338ba6(0x1ec)](_0xb7c22a,arguments);return _0x5af463=null,_0xa4b018;}};}()),a5_0xa98c0b=a5_0x4357fa(this,function(){const _0x5d05f1=a5_0xc452,_0xbcfeb3={'bsBSc':_0x5d05f1(0x1f3)};return a5_0xa98c0b[_0x5d05f1(0x1d5)]()[_0x5d05f1(0x1e0)](_0xbcfeb3[_0x5d05f1(0x1d4)])[_0x5d05f1(0x1d5)]()[_0x5d05f1(0x1cf)](a5_0xa98c0b)['search'](_0xbcfeb3[_0x5d05f1(0x1d4)]);});a5_0xa98c0b();'use strict';function a5_0xc452(_0xd72c1,_0x328688){const _0x15cf20=a5_0x1362();return a5_0xc452=function(_0xa98c0b,_0x4357fa){_0xa98c0b=_0xa98c0b-0x1c8;let _0x1362a6=_0x15cf20[_0xa98c0b];return _0x1362a6;},a5_0xc452(_0xd72c1,_0x328688);}var __importDefault=this&&this[a5_0x28dd53(0x1db)]||function(_0x30f3b8){const _0x4f406f=a5_0x28dd53;return _0x30f3b8&&_0x30f3b8[_0x4f406f(0x1eb)]?_0x30f3b8:{'default':_0x30f3b8};};Object[a5_0x28dd53(0x1d6)](exports,a5_0x28dd53(0x1eb),{'value':!![]}),exports[a5_0x28dd53(0x1f5)]=void 0x0;const zod_1=__importDefault(require(a5_0x28dd53(0x1ce))),message_util_1=require(a5_0x28dd53(0x1e7)),step_1=require(a5_0x28dd53(0x1ea)),AbruptEndPrompt=a5_0x28dd53(0x1cc);class EndStep extends step_1[a5_0x28dd53(0x1e6)]{constructor(_0xc951ce,_0x5398bf){super(EndStep,_0xc951ce,_0x5398bf);}[a5_0x28dd53(0x1ca)](_0x23f338,_0x10e476){const _0x3ef0bf=a5_0x28dd53,_0x3357e1={'qvPab':_0x3ef0bf(0x1d8)};return new message_util_1['HumanMessageEx'](this,_0x3357e1[_0x3ef0bf(0x1e8)]);}['isEnd'](){return!![];}[a5_0x28dd53(0x1dc)](){const _0x45c956=a5_0x28dd53,_0x2f3c20={'TMUqV':_0x45c956(0x1d9)},_0x1cf8e0=this['flow'][_0x45c956(0x1d2)]();_0x1cf8e0[_0x45c956(0x1f1)]=_0x2f3c20[_0x45c956(0x1e4)];}['getPrompt'](){const _0x58f6f9=a5_0x28dd53,_0x4f0612=super[_0x58f6f9(0x1df)]();return _0x4f0612?_0x4f0612:AbruptEndPrompt;}['defineTool'](){const _0x3d7f9d=a5_0x28dd53,_0xd044eb={'wmuPv':'end_chat','oMEba':_0x3d7f9d(0x1d0)};return[{'name':_0xd044eb[_0x3d7f9d(0x1da)],'description':_0xd044eb[_0x3d7f9d(0x1ee)],'schema':zod_1[_0x3d7f9d(0x1d3)][_0x3d7f9d(0x1d1)]({'prompt':zod_1['default'][_0x3d7f9d(0x1c9)]()[_0x3d7f9d(0x1cb)](_0x3d7f9d(0x1e1))})}];}async[a5_0x28dd53(0x1e5)](_0x292c0f){return{'step':EndStep};}}exports[a5_0x28dd53(0x1f5)]=EndStep;
|
package/flow/flow-creator.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a6_0xcbd076=a6_0x4c3f;(function(_0x789d80,_0x547af8){const _0x2e080a=a6_0x4c3f,_0x3a26d2=_0x789d80();while(!![]){try{const _0xc29932=-parseInt(_0x2e080a(0x15b))/0x1+-parseInt(_0x2e080a(0x144))/0x2*(parseInt(_0x2e080a(0x140))/0x3)+parseInt(_0x2e080a(0x165))/0x4*(-parseInt(_0x2e080a(0x146))/0x5)+parseInt(_0x2e080a(0x164))/0x6*(parseInt(_0x2e080a(0x14f))/0x7)+-parseInt(_0x2e080a(0x153))/0x8*(parseInt(_0x2e080a(0x150))/0x9)+parseInt(_0x2e080a(0x15f))/0xa+parseInt(_0x2e080a(0x152))/0xb;if(_0xc29932===_0x547af8)break;else _0x3a26d2['push'](_0x3a26d2['shift']());}catch(_0x3bfbf8){_0x3a26d2['push'](_0x3a26d2['shift']());}}}(a6_0x2f8a,0x58169));const a6_0x5865a2=(function(){const _0x5f3c63=a6_0x4c3f,_0x46e556={'lrshA':_0x5f3c63(0x14d),'aQRgb':_0x5f3c63(0x163)};let _0x2cb8c2=!![];return function(_0x4bc8c3,_0x21be70){const _0x587837={'wCJWk':_0x46e556['aQRgb']},_0x58005d=_0x2cb8c2?function(){const _0x15db47=a6_0x4c3f;if(_0x21be70){if(_0x46e556[_0x15db47(0x160)]!==_0x46e556[_0x15db47(0x160)])return _0x5bbc53[_0x15db47(0x162)]()[_0x15db47(0x159)](_0x15db47(0x163))[_0x15db47(0x162)]()[_0x15db47(0x14b)](_0x4249ca)[_0x15db47(0x159)](_0x587837[_0x15db47(0x147)]);else{const _0x26f0e1=_0x21be70[_0x15db47(0x161)](_0x4bc8c3,arguments);return _0x21be70=null,_0x26f0e1;}}}:function(){};return _0x2cb8c2=![],_0x58005d;};}()),a6_0xe916e1=a6_0x5865a2(this,function(){const _0x5d5c08=a6_0x4c3f,_0x300b5a={'SKktk':'(((.+)+)+)+$'};return a6_0xe916e1[_0x5d5c08(0x162)]()['search'](_0x300b5a[_0x5d5c08(0x14a)])[_0x5d5c08(0x162)]()[_0x5d5c08(0x14b)](a6_0xe916e1)[_0x5d5c08(0x159)](_0x300b5a[_0x5d5c08(0x14a)]);});a6_0xe916e1();function a6_0x2f8a(){const _0x409eef=['running','\x27\x20not\x20registered.','SKktk','constructor','getFlow','vtVmY','FlowCreator','413TsiIko','225801HYGBSV','create','11102663HHnsPr','152PZunYt','addContext','Memory','moment','default','__esModule','search','./memory','133251FcCxqZ','defineProperty','__importDefault','uuid','4536870hbAffS','lrshA','apply','toString','(((.+)+)+)+$','30354THHIYU','77060GEjTNk','setMemory','toDate','createDoc','62445uqqyse','kmYDm','init','CoreConfig','26iUHJzA','ltDvL','135SwxXgt','wCJWk'];a6_0x2f8a=function(){return _0x409eef;};return a6_0x2f8a();}function a6_0x4c3f(_0x4fdcb5,_0x1c30ef){const _0x4ce0cc=a6_0x2f8a();return a6_0x4c3f=function(_0xe916e1,_0x5865a2){_0xe916e1=_0xe916e1-0x13d;let _0x2f8ade=_0x4ce0cc[_0xe916e1];return _0x2f8ade;},a6_0x4c3f(_0x4fdcb5,_0x1c30ef);}'use strict';var __importDefault=this&&this[a6_0xcbd076(0x15d)]||function(_0x5e9acf){const _0x3052d1=a6_0xcbd076;return _0x5e9acf&&_0x5e9acf[_0x3052d1(0x158)]?_0x5e9acf:{'default':_0x5e9acf};};Object[a6_0xcbd076(0x15c)](exports,a6_0xcbd076(0x158),{'value':!![]}),exports[a6_0xcbd076(0x14e)]=void 0x0;const moment_1=__importDefault(require(a6_0xcbd076(0x156))),uuid_1=require(a6_0xcbd076(0x15e)),core_config_1=require('../configs/core-config'),memory_1=require(a6_0xcbd076(0x15a));class FlowCreator{static async[a6_0xcbd076(0x151)](_0x45f140,_0x2d42bc,_0xd65421,_0x50baf1){const _0x44a278=a6_0xcbd076,_0x503d41={'kmYDm':_0x44a278(0x145)},_0x4c6082=_0xd65421[_0x44a278(0x14c)](_0x45f140);if(_0x4c6082){const _0x494498=new _0x4c6082();return _0x494498[_0x44a278(0x154)](_0x50baf1),_0x494498[_0x44a278(0x13d)](new memory_1[(_0x44a278(0x155))]()),await _0x494498[_0x44a278(0x142)](),_0x494498['collectSteps'](),await _0x494498['bootstrap'](_0x2d42bc,_0xd65421),_0x494498;}else{if(_0x503d41['kmYDm']!==_0x503d41[_0x44a278(0x141)]){if(_0x114321){const _0x231d20=_0x56a97a['apply'](_0x4c6a3c,arguments);return _0x2a989b=null,_0x231d20;}}else throw new Error('FlowClass\x20\x20\x27'+_0x45f140+_0x44a278(0x149));}}static async[a6_0xcbd076(0x13f)](){const _0x3858ea=a6_0xcbd076,_0x1aa2c2={'jLWqE':_0x3858ea(0x148)},_0x2eae70=(0x0,uuid_1['v4'])();return{'id':_0x2eae70,'version':0x1,'runStatus':_0x1aa2c2['jLWqE'],'createdOn':(0x0,moment_1[_0x3858ea(0x157)])()['toDate'](),'saveOn':(0x0,moment_1[_0x3858ea(0x157)])()[_0x3858ea(0x13e)](),'expireAfter':core_config_1[_0x3858ea(0x143)]['sessionExpiration'],'tokens':{'inputTokens':0x0,'outputTokens':0x0,'totalTokens':0x0},'flows':[],'log':[],'error':[],'warn':[],'debug':[],'verbose':[]};}}exports['FlowCreator']=FlowCreator;
|
package/flow/flow-types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a7_0x199735=a7_0x1e47;(function(_0x505c5f,_0x508c7f){const _0x4c118a=a7_0x1e47,_0x2ea7eb=_0x505c5f();while(!![]){try{const _0x1f7472=parseInt(_0x4c118a(0x1c6))/0x1+parseInt(_0x4c118a(0x1c3))/0x2*(-parseInt(_0x4c118a(0x1d0))/0x3)+parseInt(_0x4c118a(0x1da))/0x4+-parseInt(_0x4c118a(0x1b7))/0x5+-parseInt(_0x4c118a(0x1ce))/0x6+parseInt(_0x4c118a(0x1d1))/0x7*(-parseInt(_0x4c118a(0x1bc))/0x8)+parseInt(_0x4c118a(0x1cd))/0x9;if(_0x1f7472===_0x508c7f)break;else _0x2ea7eb['push'](_0x2ea7eb['shift']());}catch(_0x49e2a0){_0x2ea7eb['push'](_0x2ea7eb['shift']());}}}(a7_0xc984,0x1c0ac));function a7_0x1e47(_0x3b15bb,_0x4db94d){const _0x1bad14=a7_0xc984();return a7_0x1e47=function(_0x4594fa,_0x25e7a7){_0x4594fa=_0x4594fa-0x1b6;let _0xc9848f=_0x1bad14[_0x4594fa];return _0xc9848f;},a7_0x1e47(_0x3b15bb,_0x4db94d);}Object['defineProperty'](exports,a7_0x199735(0x1dc),{'value':!![]}),exports[a7_0x199735(0x1db)]=exports[a7_0x199735(0x1d3)]=void 0x0;const zod_1=require(a7_0x199735(0x1c4)),zod_nestjs_1=require(a7_0x199735(0x1c9)),content_type_1=require(a7_0x199735(0x1c8)),RoleEnum=zod_1['z'][a7_0x199735(0x1c1)](['system',a7_0x199735(0x1dd),'ai',a7_0x199735(0x1b6)]),ToolStatusEnum=zod_1['z'][a7_0x199735(0x1c1)]([a7_0x199735(0x1cf),a7_0x199735(0x1cb)]),AIToolMessageSchema=zod_1['z'][a7_0x199735(0x1b8)]({'name':zod_1['z'][a7_0x199735(0x1c5)](),'args':zod_1['z'][a7_0x199735(0x1b8)]({}),'id':zod_1['z'][a7_0x199735(0x1c5)]()}),ChatMessageSchema=zod_1['z'][a7_0x199735(0x1b8)]({'id':zod_1['z'][a7_0x199735(0x1c5)](),'type':RoleEnum,'content':zod_1['z'][a7_0x199735(0x1c5)](),'timestamp':zod_1['z'][a7_0x199735(0x1c2)](),'tool_call_id':zod_1['z'][a7_0x199735(0x1c5)]()['optional'](),'name':zod_1['z']['string'](),'status':ToolStatusEnum[a7_0x199735(0x1b9)](),'tool_calls':zod_1['z'][a7_0x199735(0x1d2)](AIToolMessageSchema)['optional'](),'additional_kwargs':zod_1['z']['record'](zod_1['z'][a7_0x199735(0x1be)]())['optional']()}),StepSchema=zod_1['z'][a7_0x199735(0x1b8)]({'name':zod_1['z'][a7_0x199735(0x1c5)](),'isActive':zod_1['z'][a7_0x199735(0x1d9)](),'state':zod_1['z'][a7_0x199735(0x1b8)]({}),'modelName':zod_1['z']['string'](),'temperature':zod_1['z']['number']()}),MemorySchema=zod_1['z'][a7_0x199735(0x1b8)]({'nameSpace':zod_1['z']['string'](),'history':zod_1['z'][a7_0x199735(0x1d2)](ChatMessageSchema)}),FlowSchema=zod_1['z'][a7_0x199735(0x1b8)]({'name':zod_1['z'][a7_0x199735(0x1c5)](),'memory':zod_1['z'][a7_0x199735(0x1d2)](MemorySchema),'steps':zod_1['z'][a7_0x199735(0x1d2)](StepSchema),'context':zod_1['z'][a7_0x199735(0x1b8)]({}),'temperature':zod_1['z'][a7_0x199735(0x1ba)](),'sequence':zod_1['z']['array'](zod_1['z'][a7_0x199735(0x1c5)]())}),RunStatusSchema=zod_1['z'][a7_0x199735(0x1c1)]([a7_0x199735(0x1cc),a7_0x199735(0x1d5),a7_0x199735(0x1ca)]),_SessionSchema=zod_1['z'][a7_0x199735(0x1b8)]({'id':zod_1['z'][a7_0x199735(0x1c5)]()['nonempty'](),'createdOn':zod_1['z'][a7_0x199735(0x1c2)](),'saveOn':zod_1['z'][a7_0x199735(0x1c2)](),'runStatus':RunStatusSchema,'version':zod_1['z']['number'](),'expireAfter':zod_1['z']['number'](),'flows':zod_1['z']['array'](FlowSchema),'log':zod_1['z'][a7_0x199735(0x1d2)](zod_1['z'][a7_0x199735(0x1b8)]({})),'error':zod_1['z'][a7_0x199735(0x1d2)](zod_1['z'][a7_0x199735(0x1b8)]({})),'warn':zod_1['z'][a7_0x199735(0x1d2)](zod_1['z'][a7_0x199735(0x1b8)]({})),'debug':zod_1['z']['array'](zod_1['z'][a7_0x199735(0x1b8)]({})),'verbose':zod_1['z'][a7_0x199735(0x1d2)](zod_1['z'][a7_0x199735(0x1b8)]({})),'tokens':zod_1['z'][a7_0x199735(0x1b8)]({'inputTokens':zod_1['z'][a7_0x199735(0x1ba)](),'outputTokens':zod_1['z'][a7_0x199735(0x1ba)](),'totalTokens':zod_1['z'][a7_0x199735(0x1ba)]()})});var ToolStatus;(function(_0x48bae3){const _0x36485b=a7_0x199735,_0x769acd={'AUHEc':function(_0xdfbd8f,_0x568efb,_0x33cda6){return _0xdfbd8f(_0x568efb,_0x33cda6);},'miGSh':'success','Jehpa':_0x36485b(0x1cb)},_0x1cd25c=(function(){let _0x2cec74=!![];return function(_0x249282,_0x4f953b){const _0x11b77b=_0x2cec74?function(){const _0x43ed35=a7_0x1e47;if(_0x4f953b){const _0x1304dc=_0x4f953b[_0x43ed35(0x1d7)](_0x249282,arguments);return _0x4f953b=null,_0x1304dc;}}:function(){};return _0x2cec74=![],_0x11b77b;};}()),_0x5e49de=_0x769acd[_0x36485b(0x1bb)](_0x1cd25c,this,function(){const _0x5be726=_0x36485b;return _0x5e49de[_0x5be726(0x1bf)]()[_0x5be726(0x1bd)](_0x5be726(0x1d4))[_0x5be726(0x1bf)]()[_0x5be726(0x1c0)](_0x5e49de)[_0x5be726(0x1bd)](_0x5be726(0x1d4));});_0x5e49de(),_0x48bae3[_0x769acd[_0x36485b(0x1d8)]]=_0x769acd['miGSh'],_0x48bae3[_0x769acd['Jehpa']]=_0x36485b(0x1cb);}(ToolStatus||(exports[a7_0x199735(0x1d3)]=ToolStatus={})));const _ToolSchema=zod_1['z']['object']({'name':zod_1['z'][a7_0x199735(0x1c5)](),'description':zod_1['z'][a7_0x199735(0x1c5)](),'schema':zod_1['z'][a7_0x199735(0x1b8)]({})}),RunResponseSchema=zod_1['z']['object']({'success':zod_1['z'][a7_0x199735(0x1d9)](),'completed':zod_1['z'][a7_0x199735(0x1d9)](),'message':zod_1['z'][a7_0x199735(0x1c5)](),'session':zod_1['z'][a7_0x199735(0x1c5)](),'contentType':zod_1['z'][a7_0x199735(0x1c7)](content_type_1['HttpContentType'])});class RunResponseDto extends(0x0,zod_nestjs_1[a7_0x199735(0x1d6)])(RunResponseSchema){}exports[a7_0x199735(0x1db)]=RunResponseDto;function a7_0xc984(){const _0x72a82d=['date','439038skrGWt','zod','string','220016ZFohIY','nativeEnum','./content-type','@anatine/zod-nestjs','running','error','completed','3948003eOGZkO','274320qNFdGx','success','3qTqDRV','982849qOyVoN','array','ToolStatus','(((.+)+)+)+$','aborted','createZodDto','apply','miGSh','boolean','208376tXLOfF','RunResponseDto','__esModule','human','tool','951355dwoQaT','object','optional','number','AUHEc','8DBwSwO','search','any','toString','constructor','enum'];a7_0xc984=function(){return _0x72a82d;};return a7_0xc984();}
|
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_0x3a04b3=a8_0x5233;function a8_0x5013(){const _0x5500f5=['getStepState','\x20completed.','Error\x20batch\x20process\x20flow:\x20','kmPAd','error','getModel','776265azUtku','nNkjy','stepMap','2060gearqD','input_tokens','assignFlowDoc','sessionDoc','4|3|0|1|2','VhZkW','DTlLk','slice','getSessionDoc','total_tokens','Pcxsn','GpQEo','output_tokens','eyLTn','defineSteps','YvnxN','ziWqp','RQqph','name','saveStepState','21554856fXHwdW','flowDoc','fetch','XKUlj','5127GntLlf','getModelName','NQHbO','getMessages','ITyzR','flows','blvNJ','tools','toString','UYZPU','floor','JYLPn','LrjlK','setMemory','getFlowEngine','getSessionId','mkGmE','message','search','merge','eoRLZ','split','all','totalTokens','getStep','bVslW','cjoIz','temp','ceil','xTJPH','active',',\x20error:','contentType','MhyEk','XSauo','getStateAs','readDoc','defineTool','saveState','./end-step','constructor','set','DynamicStructuredTool','config._concurrent','mZlBb','collectSteps','jhnpA','run','getName','Fxmmc','outputTokens','WmoKI','__esModule','context','getState','yTgBs','tallyToken','Processing\x20batch\x20','oAwym','get','ZHpQr','tokens','spawnSteps','setContext','SessionLogger','hSTdr','IrpFX','post','activateByName','bootstrap','lodash','EmROr','getTool','183317jWmBco','filter','xJrLp','hDtxH','1863835RHVsGb','inputTokens','@langchain/core/tools','getActiveStep','apply','kRGHJ','log','gmDIb','vObdv','rHliZ','save','1167446KLuele','memory','composeTool','rtsQY','getFlowSession','../clients/self-client','EndStep','temperature','(((.+)+)+)+$','YuXPF','fHbvS','XPjcH','length','useMemory','createDoc','writeDoc','flowEngine','ZTKyf','lsEiD','createOoc','getMemory','brhPE','JHNah','push','Flow','getContext','isEnd','yHQbb','\x20(batch\x20size:','QOiPT','QJUkW','Batch\x20','concurrentSteps','tmzRC','steps','sequence','7003884MmtKPd','../session/session-logger','mQSyC','useModel','map'];a8_0x5013=function(){return _0x5500f5;};return a8_0x5013();}(function(_0xc8ee53,_0x5e2a48){const _0x4c40eb=a8_0x5233,_0x4f8f73=_0xc8ee53();while(!![]){try{const _0x32e07b=parseInt(_0x4c40eb(0x11b))/0x1+parseInt(_0x4c40eb(0x12a))/0x2+parseInt(_0x4c40eb(0xd2))/0x3*(parseInt(_0x4c40eb(0xba))/0x4)+parseInt(_0x4c40eb(0x11f))/0x5+parseInt(_0x4c40eb(0xac))/0x6+parseInt(_0x4c40eb(0xb7))/0x7+-parseInt(_0x4c40eb(0xce))/0x8;if(_0x32e07b===_0x5e2a48)break;else _0x4f8f73['push'](_0x4f8f73['shift']());}catch(_0x5c1962){_0x4f8f73['push'](_0x4f8f73['shift']());}}}(a8_0x5013,0x93692));const a8_0x4d828e=(function(){const _0x572b9e=a8_0x5233,_0x35b2c0={'blvNJ':_0x572b9e(0xe3),'LEqcB':function(_0x144611,_0x1fc602){return _0x144611!==_0x1fc602;},'nNkjy':'gHsLD','LrjlK':function(_0x3bb0b0,_0x41f231){return _0x3bb0b0===_0x41f231;},'ITyzR':'jPvFF'};let _0x49c2b7=!![];return function(_0x4ea5ce,_0x7bb375){const _0x15aef8=_0x572b9e,_0x217cf7={'kmPAd':_0x35b2c0[_0x15aef8(0xd8)],'JHNah':function(_0x30adea,_0x13aab2){return _0x35b2c0['LEqcB'](_0x30adea,_0x13aab2);},'ZAVcy':_0x15aef8(0xae),'rHliZ':_0x35b2c0[_0x15aef8(0xb8)],'brhPE':'IrpFX'};if(_0x35b2c0[_0x15aef8(0xde)](_0x35b2c0[_0x15aef8(0xd6)],_0x35b2c0[_0x15aef8(0xd6)])){const _0x3dcd2d=_0x49c2b7?function(){const _0x3d4e50=_0x15aef8;if(_0x217cf7[_0x3d4e50(0x9e)](_0x217cf7['ZAVcy'],_0x217cf7[_0x3d4e50(0x128)])){if(_0x7bb375){if(_0x217cf7[_0x3d4e50(0x9d)]!==_0x3d4e50(0x114)){const _0x4e8042=_0x3d4e50(0xb3)+this[_0x3d4e50(0xcc)]+_0x3d4e50(0xf1)+_0x34457c[_0x217cf7[_0x3d4e50(0xb4)]];new _0x3d01bc[(_0x3d4e50(0x112))](this[_0x3d4e50(0xc2)]())['error'](_0x4e8042),_0x1b3ee0[_0x3d4e50(0xb5)](_0x4e8042);}else{const _0x23ac88=_0x7bb375[_0x3d4e50(0x123)](_0x4ea5ce,arguments);return _0x7bb375=null,_0x23ac88;}}}else this[_0x3d4e50(0xed)]=_0x3265ca;}:function(){};return _0x49c2b7=![],_0x3dcd2d;}else return(0x0,_0x4fc523[_0x15aef8(0x10d)])(this[_0x15aef8(0x107)],_0x4b202c);};}()),a8_0x2ed309=a8_0x4d828e(this,function(){const _0x5ce9b6=a8_0x5233,_0x315231={'lsEiD':_0x5ce9b6(0x90)};return a8_0x2ed309[_0x5ce9b6(0xda)]()[_0x5ce9b6(0xe4)](_0x315231[_0x5ce9b6(0x9a)])[_0x5ce9b6(0xda)]()[_0x5ce9b6(0xfa)](a8_0x2ed309)[_0x5ce9b6(0xe4)](_0x315231['lsEiD']);});a8_0x2ed309();'use strict';function a8_0x5233(_0x4b3f14,_0x1c6ac9){const _0xaccf2a=a8_0x5013();return a8_0x5233=function(_0x2ed309,_0x4d828e){_0x2ed309=_0x2ed309-0x8a;let _0x5013df=_0xaccf2a[_0x2ed309];return _0x5013df;},a8_0x5233(_0x4b3f14,_0x1c6ac9);}Object['defineProperty'](exports,a8_0x3a04b3(0x106),{'value':!![]}),exports[a8_0x3a04b3(0xa0)]=void 0x0;const tools_1=require(a8_0x3a04b3(0x121)),lodash_1=require(a8_0x3a04b3(0x118)),end_step_1=require(a8_0x3a04b3(0xf9)),self_client_1=require(a8_0x3a04b3(0x8d)),session_logger_1=require(a8_0x3a04b3(0xad));class Flow{constructor(_0x4688a1){const _0x3cc384=a8_0x3a04b3,_0x358a10={'tmzRC':_0x3cc384(0xbe)},_0x4990ae=_0x358a10[_0x3cc384(0xa9)][_0x3cc384(0xe7)]('|');let _0xbed75a=0x0;while(!![]){switch(_0x4990ae[_0xbed75a++]){case'0':this[_0x3cc384(0xed)]=-0x1;continue;case'1':this['name']=_0x4688a1[_0x3cc384(0xcc)];continue;case'2':this['context']={};continue;case'3':this[_0x3cc384(0xd9)]=new Map();continue;case'4':this[_0x3cc384(0xb9)]=new Map();continue;}break;}}async['init'](){}[a8_0x3a04b3(0xe0)](){const _0x46f147=a8_0x3a04b3;return this[_0x46f147(0x98)];}async[a8_0x3a04b3(0x117)](_0x1cedb9,_0x88db9b){const _0x5290e4=a8_0x3a04b3,_0x4fa3ca={'XSauo':function(_0x39ef35,_0x274b14){return _0x39ef35===_0x274b14;},'QVvmT':function(_0x2d3be6,_0x289396){return _0x2d3be6===_0x289396;},'BhAsw':_0x5290e4(0xd4)};this[_0x5290e4(0x98)]=_0x88db9b;for(const [,_0x1c71a3]of this[_0x5290e4(0xb9)]){const _0x58f34e=_0x1c71a3[_0x5290e4(0xb6)]();if(!_0x58f34e){const _0x81b651=this[_0x5290e4(0xe0)]()[_0x5290e4(0xd3)]();_0x1c71a3[_0x5290e4(0xaf)](_0x81b651);}}const _0x2078c6=_0x88db9b[_0x5290e4(0x8c)](),[_0x40e195,_0xacd103]=await _0x2078c6[_0x5290e4(0xd0)](_0x1cedb9);if(_0x40e195){if(_0x4fa3ca['QVvmT'](_0x5290e4(0x93),_0x4fa3ca['BhAsw'])){const _0x2b75c9=this['sessionDoc']['flows']['filter'](_0x356742=>{const _0x4d0dca=_0x5290e4;if(_0x4fa3ca[_0x4d0dca(0xf4)](_0x356742[_0x4d0dca(0xcc)],this[_0x4d0dca(0xcc)]))return!![];return![];});this[_0x5290e4(0xcf)]=_0x2b75c9[0x0],this[_0x5290e4(0xcf)][_0x5290e4(0xab)]=this['flowDoc']['sequence']||[];}else this[_0x5290e4(0xbd)]=this[_0x5290e4(0x96)](_0xacd103),this[_0x5290e4(0xbc)](),this['saveSession']();}else this['sessionDoc']=_0xacd103,this['assignFlowDoc'](),this[_0x5290e4(0xf6)]();if(this[_0x5290e4(0xcf)][_0x5290e4(0xab)]['length']===0x0){const _0x46dcdf=this[_0x5290e4(0x122)]();_0x46dcdf&&this[_0x5290e4(0xcf)][_0x5290e4(0xab)]['push'](_0x46dcdf[_0x5290e4(0x102)]());}this[_0x5290e4(0x8a)]();}['assignFlowDoc'](){const _0x983cd4=a8_0x3a04b3,_0x507abd={'xTJPH':function(_0x78ccc6,_0x4edda7){return _0x78ccc6===_0x4edda7;},'ZHpQr':_0x983cd4(0xa6),'GpQEo':function(_0x333bd8,_0x8b759b){return _0x333bd8===_0x8b759b;},'RQqph':function(_0x1798ce,_0x4990b4){return _0x1798ce!==_0x4990b4;},'hSTdr':_0x983cd4(0xa5)},_0x189ef3=this[_0x983cd4(0xbd)][_0x983cd4(0xd7)][_0x983cd4(0x11c)](_0x4c4af9=>{const _0x1b533c=_0x983cd4;if(_0x507abd[_0x1b533c(0xef)](_0x507abd[_0x1b533c(0x10e)],_0x507abd[_0x1b533c(0x10e)])){if(_0x507abd[_0x1b533c(0xc5)](_0x4c4af9[_0x1b533c(0xcc)],this[_0x1b533c(0xcc)]))return _0x507abd[_0x1b533c(0xcb)](_0x507abd[_0x1b533c(0x113)],_0x507abd[_0x1b533c(0x113)])?this[_0x1b533c(0x98)]:!![];return![];}else _0xf923be['push'](_0x8a9855['createDoc']());});this[_0x983cd4(0xcf)]=_0x189ef3[0x0],this[_0x983cd4(0xcf)][_0x983cd4(0xab)]=this[_0x983cd4(0xcf)][_0x983cd4(0xab)]||[];}[a8_0x3a04b3(0x10a)](_0x15ac2f){const _0x2dfd00=a8_0x3a04b3,_0x5308ad={'hDtxH':function(_0x1020e2,_0x420430){return _0x1020e2!==_0x420430;},'oAwym':_0x2dfd00(0xfe),'YuXPF':_0x2dfd00(0xc6)};if(_0x15ac2f){if(_0x5308ad[_0x2dfd00(0x11e)](_0x2dfd00(0x100),_0x5308ad[_0x2dfd00(0x10c)])){const _0x319b74=_0x15ac2f[_0x2dfd00(0xbb)],_0x3e37dc=_0x15ac2f[_0x5308ad[_0x2dfd00(0x91)]],_0x9db8bf=_0x15ac2f[_0x2dfd00(0xc3)];_0x319b74&&(this[_0x2dfd00(0xbd)]['tokens'][_0x2dfd00(0x120)]+=_0x319b74),_0x3e37dc&&(this[_0x2dfd00(0xbd)]['tokens']['outputTokens']+=_0x3e37dc),_0x9db8bf&&(this[_0x2dfd00(0xbd)][_0x2dfd00(0x10f)][_0x2dfd00(0xe9)]+=_0x9db8bf);}else{const _0xedbc5=_0x589be7[_0x2dfd00(0x123)](_0x5b446b,arguments);return _0x566752=null,_0xedbc5;}}}[a8_0x3a04b3(0xff)](){const _0x234c66=a8_0x3a04b3,_0x4a6d85=this[_0x234c66(0xc8)]();for(const _0xc0c537 of _0x4a6d85){this[_0x234c66(0xb9)]['set'](_0xc0c537[_0x234c66(0x102)](),_0xc0c537);}}[a8_0x3a04b3(0xc8)](){const _0x47c587=a8_0x3a04b3,_0x840700={'EmROr':_0x47c587(0xed)};return[new end_step_1[(_0x47c587(0x8e))](this)[_0x47c587(0x95)](_0x840700[_0x47c587(0x119)])];}[a8_0x3a04b3(0x96)](_0x3b8270){const _0x3512a4=a8_0x3a04b3,_0x32b50e={'fHbvS':_0x3512a4(0x124)},_0x56336d=[];for(const [,_0x287642]of this['stepMap']){if(_0x3512a4(0xdd)!==_0x32b50e[_0x3512a4(0x92)])_0x56336d[_0x3512a4(0x9f)](_0x287642[_0x3512a4(0x96)]());else return _0x3edca6[_0x3512a4(0xf8)](_0x23d579);}const _0x500122={'name':this[_0x3512a4(0xcc)],'memory':this[_0x3512a4(0x12b)]['createOoc'](),'steps':_0x56336d,'context':this[_0x3512a4(0x107)]};return _0x3b8270[_0x3512a4(0xd7)][_0x3512a4(0x9f)](_0x500122),_0x3b8270;}[a8_0x3a04b3(0xf6)](){const _0x39979f=a8_0x3a04b3;this[_0x39979f(0x12b)][_0x39979f(0xf6)](this['flowDoc'][_0x39979f(0x12b)]);for(const [,_0x2ea494]of this[_0x39979f(0xb9)]){_0x2ea494['readDoc'](this[_0x39979f(0xcf)][_0x39979f(0xaa)]);}this[_0x39979f(0x107)]=this[_0x39979f(0xcf)][_0x39979f(0x107)];}[a8_0x3a04b3(0xe1)](){const _0x594816=a8_0x3a04b3;return this[_0x594816(0xbd)]['id'];}async['saveSession'](){const _0x17a93c=a8_0x3a04b3,_0x3d9a21={'Pcxsn':function(_0x2971b2,_0x3f84d8){return _0x2971b2===_0x3f84d8;},'WmoKI':_0x17a93c(0xc7)};this[_0x17a93c(0x12b)][_0x17a93c(0x97)](this['flowDoc'][_0x17a93c(0x12b)]);for(const [,_0x52bedb]of this[_0x17a93c(0xb9)]){if(_0x3d9a21[_0x17a93c(0xc4)](_0x3d9a21[_0x17a93c(0x105)],_0x3d9a21[_0x17a93c(0x105)]))_0x52bedb['writeDoc'](this[_0x17a93c(0xcf)]['steps']);else{const _0x3361a5=[];for(const [,_0x1f328f]of this[_0x17a93c(0xb9)]){_0x3361a5['push'](_0x1f328f[_0x17a93c(0x96)]());}const _0x2354a8={'name':this[_0x17a93c(0xcc)],'memory':this['memory'][_0x17a93c(0x9b)](),'steps':_0x3361a5,'context':this[_0x17a93c(0x107)]};return _0x1d0a48['flows']['push'](_0x2354a8),_0x408ce1;}}this[_0x17a93c(0xcf)][_0x17a93c(0x107)]=this[_0x17a93c(0x107)],this[_0x17a93c(0xcf)]['temperature']=this[_0x17a93c(0xed)],await this[_0x17a93c(0x98)][_0x17a93c(0x8c)]()[_0x17a93c(0x129)](this[_0x17a93c(0xbd)]);}[a8_0x3a04b3(0x122)](){const _0x3494b5=a8_0x3a04b3,_0x162da1={'wMslr':function(_0x39befc,_0x56590f){return _0x39befc===_0x56590f;},'vObdv':'jbdkc'};for(const [_0x26f348,_0xb99bec]of this[_0x3494b5(0xb9)]){if(_0x162da1['wMslr'](_0x162da1[_0x3494b5(0x127)],_0x162da1[_0x3494b5(0x127)])){if(_0xb99bec['active'])return _0xb99bec;}else{const _0x17a157=(0x0,_0x17bd49['merge'])({},_0x292cca,{'func':null});this[_0x3494b5(0xd9)]['set'](_0x3253e8[_0x3494b5(0xcc)],new _0x133394[(_0x3494b5(0xfc))](_0x17a157));}}return null;}[a8_0x3a04b3(0xea)](_0x379246){const _0x41d585=a8_0x3a04b3;return this[_0x41d585(0xb9)][_0x41d585(0x10d)](_0x379246);}[a8_0x3a04b3(0xf7)](){return null;}async['run'](_0x46a025){const _0x3d0618=a8_0x3a04b3,_0x5684e4={'QkPRt':_0x3d0618(0xfd)},_0x307206=this['getContext'](_0x5684e4['QkPRt']);let _0x56d798,_0x2a0204;return _0x307206?_0x56d798=await this[_0x3d0618(0x110)]():(_0x2a0204=this[_0x3d0618(0x122)](),_0x56d798=await _0x2a0204[_0x3d0618(0x101)](_0x46a025)),_0x2a0204=this[_0x3d0618(0x122)](),{'success':!![],'completed':_0x2a0204[_0x3d0618(0xa2)](),'message':_0x56d798,'session':this[_0x3d0618(0xbd)]['id'],'contentType':_0x2a0204[_0x3d0618(0xf2)]};}async['spawnSteps'](){return'';}async[a8_0x3a04b3(0xa8)]({items:_0x12d1b9,batchSize:_0x58a26a,onConfig:_0x454168,onBotResponse:_0x3bde1c}){const _0x4c29fa=a8_0x3a04b3,_0x55f74b={'VhZkW':function(_0x737f5,_0x4496c9){return _0x737f5===_0x4496c9;},'xJrLp':'rkApz','XKUlj':function(_0xe41b21,_0x3dced8){return _0xe41b21(_0x3dced8);},'mkGmE':'message','KtKAD':function(_0x14945a,_0x356f41){return _0x14945a===_0x356f41;},'yTgBs':'jJeQg','bVslW':function(_0x1b1f6b,_0x1cabef){return _0x1b1f6b+_0x1cabef;},'yHQbb':function(_0x231f8e,_0x55f56d){return _0x231f8e/_0x55f56d;},'UYZPU':function(_0x41a074,_0x22b190){return _0x41a074+_0x22b190;}},_0x53c4c2=new self_client_1['SelfClient']();for(let _0x215437=0x0;_0x215437<_0x12d1b9[_0x4c29fa(0x94)];_0x215437+=_0x58a26a){if(_0x55f74b['KtKAD'](_0x55f74b[_0x4c29fa(0x109)],_0x55f74b[_0x4c29fa(0x109)])){const _0x44cf19=_0x12d1b9[_0x4c29fa(0xc1)](_0x215437,_0x215437+_0x58a26a),_0x35daed=_0x4c29fa(0x10b)+_0x55f74b[_0x4c29fa(0xeb)](Math['floor'](_0x55f74b[_0x4c29fa(0xa3)](_0x215437,_0x58a26a)),0x1)+'/'+Math[_0x4c29fa(0xee)](_0x55f74b['yHQbb'](_0x12d1b9[_0x4c29fa(0x94)],_0x58a26a))+_0x4c29fa(0xa4)+_0x44cf19[_0x4c29fa(0x94)]+')';new session_logger_1['SessionLogger'](this['getSessionDoc']())['log'](_0x35daed),console[_0x4c29fa(0x125)](_0x35daed);const _0x5a66a0=_0x44cf19[_0x4c29fa(0xb0)](async _0x249781=>{const _0x210d12=_0x4c29fa;if(_0x55f74b[_0x210d12(0xbf)]('rkApz',_0x55f74b[_0x210d12(0x11d)])){const _0x500710={'flowName':this[_0x210d12(0xcc)],'config':{..._0x55f74b[_0x210d12(0xd1)](_0x454168,_0x249781)}};try{const _0x2a6115=await _0x53c4c2[_0x210d12(0x115)]('',_0x500710);_0x3bde1c(_0x249781,_0x2a6115);}catch(_0x2bed89){const _0x5d2b4f=_0x210d12(0xb3)+this[_0x210d12(0xcc)]+_0x210d12(0xf1)+_0x2bed89[_0x55f74b[_0x210d12(0xe2)]];new session_logger_1[(_0x210d12(0x112))](this[_0x210d12(0xc2)]())[_0x210d12(0xb5)](_0x5d2b4f),console[_0x210d12(0xb5)](_0x5d2b4f);}}else this[_0x210d12(0xbd)][_0x210d12(0x10f)][_0x210d12(0x104)]+=_0x5170c1;});await Promise[_0x4c29fa(0xe8)](_0x5a66a0);const _0x1e9651=_0x4c29fa(0xa7)+_0x55f74b[_0x4c29fa(0xdb)](Math[_0x4c29fa(0xdc)](_0x215437/_0x58a26a),0x1)+_0x4c29fa(0xb2);new session_logger_1[(_0x4c29fa(0x112))](this[_0x4c29fa(0xc2)]())[_0x4c29fa(0x125)](_0x1e9651),console[_0x4c29fa(0x125)](_0x1e9651);}else this['flowDoc']['sequence'][_0x4c29fa(0x9f)](_0x1781ab[_0x4c29fa(0x102)]());}}[a8_0x3a04b3(0xdf)](_0x1d1b65){const _0x357f0b=a8_0x3a04b3;this[_0x357f0b(0x12b)]=_0x1d1b65;}[a8_0x3a04b3(0x9c)](_0x434695){const _0x1f7943=a8_0x3a04b3;return this[_0x1f7943(0x12b)][_0x1f7943(0xd5)](_0x434695);}[a8_0x3a04b3(0x111)](_0x50ef8a){const _0xbb9ef6=a8_0x3a04b3;this[_0xbb9ef6(0x107)]=_0x50ef8a;}['addContext'](_0x150679){const _0x1f0550=a8_0x3a04b3;(0x0,lodash_1[_0x1f0550(0xe5)])(this[_0x1f0550(0x107)],_0x150679);}[a8_0x3a04b3(0xa1)](_0xf09f8c){const _0x33205d=a8_0x3a04b3;return(0x0,lodash_1[_0x33205d(0x10d)])(this['context'],_0xf09f8c);}async['activate'](_0x3d1cd0){const _0x291256=a8_0x3a04b3;return await this[_0x291256(0x116)](_0x3d1cd0[_0x291256(0xcc)]);}async[a8_0x3a04b3(0x116)](_0x40d343){const _0x93e8d0=a8_0x3a04b3,_0x283165={'mLygx':function(_0x121e13,_0x23e146){return _0x121e13!==_0x23e146;},'cjoIz':_0x93e8d0(0x8b),'gmDIb':function(_0x442ae4,_0x2622cb){return _0x442ae4===_0x2622cb;},'DTlLk':'TTqdc','hJrUN':'ZZJXd','SOnIP':function(_0x1febda,_0x256ef7){return _0x1febda===_0x256ef7;},'MhyEk':'ziWqp'},_0x1c4449=this[_0x93e8d0(0xb9)]['get'](_0x40d343);if(_0x1c4449[_0x93e8d0(0x102)]()===_0x40d343&&_0x1c4449['active']){if(_0x283165['mLygx'](_0x93e8d0(0xe6),_0x283165[_0x93e8d0(0xec)]))return _0x1c4449;else this[_0x93e8d0(0x107)]=_0x1068c0;}else{if(_0x283165[_0x93e8d0(0x126)](_0x283165[_0x93e8d0(0xc0)],_0x283165['hJrUN']))return this['stepMap'][_0x93e8d0(0x10d)](_0x438aed);else{for(const [_0x3d2880,_0x57e4ac]of this['stepMap']){if(_0x283165['SOnIP'](_0x93e8d0(0xca),_0x283165[_0x93e8d0(0xf3)])){if(_0x57e4ac[_0x93e8d0(0xf0)]){_0x57e4ac[_0x93e8d0(0xf0)]=![];break;}}else{const _0x302765=this['stepMap']['get'](_0x35ea95[_0x93e8d0(0xcc)]);if(_0x302765)return _0x302765[_0x93e8d0(0xf8)](_0x2eee59);}}return this[_0x93e8d0(0xcf)][_0x93e8d0(0xab)][_0x93e8d0(0x9f)](_0x40d343),_0x1c4449[_0x93e8d0(0xf0)]=!![],_0x1c4449;}}}[a8_0x3a04b3(0x11a)](_0x2e7487){const _0x5239fc=a8_0x3a04b3;return this[_0x5239fc(0xd9)][_0x5239fc(0x10d)](_0x2e7487);}[a8_0x3a04b3(0x8a)](){const _0xa905b6=a8_0x3a04b3,_0x1cbf37={'YvnxN':function(_0xaa20b7,_0x1f12c9){return _0xaa20b7!==_0x1f12c9;},'Fxmmc':'zNDuv','ZTKyf':'PJpXz'},_0x2fbe08=[];for(const [_0x2fb944,_0x46dafa]of this[_0xa905b6(0xb9)]){const _0x7a3625=_0x46dafa['defineTool']();_0x7a3625&&_0x2fbe08['push'](..._0x7a3625);}const _0x330094=this[_0xa905b6(0xf7)]();_0x330094&&(_0x1cbf37[_0xa905b6(0xc9)]('KJQzr',_0x1cbf37[_0xa905b6(0x103)])?_0x2fbe08[_0xa905b6(0x9f)](..._0x330094):this['sessionDoc'][_0xa905b6(0x10f)]['totalTokens']+=_0x5ad3fb);for(const _0x2c1592 of _0x2fbe08){if(_0x1cbf37[_0xa905b6(0xc9)](_0x1cbf37[_0xa905b6(0x99)],_0x1cbf37['ZTKyf']))this[_0xa905b6(0x12b)]=_0x51d9c;else{const _0x5bb189=(0x0,lodash_1[_0xa905b6(0xe5)])({},_0x2c1592,{'func':null});this[_0xa905b6(0xd9)][_0xa905b6(0xfb)](_0x2c1592[_0xa905b6(0xcc)],new tools_1['DynamicStructuredTool'](_0x5bb189));}}}[a8_0x3a04b3(0xc2)](){const _0x17067=a8_0x3a04b3;return this[_0x17067(0xbd)];}[a8_0x3a04b3(0xb1)](_0x533c1b,_0x4539b9){const _0x5500b6=a8_0x3a04b3,_0x39d536=this[_0x5500b6(0xb9)][_0x5500b6(0x10d)](_0x533c1b['name']);return _0x39d536[_0x5500b6(0x108)](_0x4539b9);}['getStepStateAs'](_0xd6b4b1,_0x3edc3c){const _0x1d463d=a8_0x3a04b3,_0x5cea45=this[_0x1d463d(0xb9)][_0x1d463d(0x10d)](_0xd6b4b1[_0x1d463d(0xcc)]);return _0x5cea45[_0x1d463d(0xf5)](_0x3edc3c);}[a8_0x3a04b3(0xcd)](_0x3f7e31,_0x2a42fd){const _0x555410=a8_0x3a04b3,_0x1ee54e=this['stepMap'][_0x555410(0x10d)](_0x3f7e31[_0x555410(0xcc)]);if(_0x1ee54e)return _0x1ee54e[_0x555410(0xf8)](_0x2a42fd);}get[a8_0x3a04b3(0x8f)](){const _0x22e4a4=a8_0x3a04b3;return this[_0x22e4a4(0xed)];}set[a8_0x3a04b3(0x8f)](_0x269464){const _0x339b33=a8_0x3a04b3;this[_0x339b33(0xed)]=_0x269464;}}exports['Flow']=Flow;
|