@picoflow/core 1.0.11 → 1.0.13

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.
Files changed (46) hide show
  1. package/README.md +4 -3
  2. package/clients/http-client.js +1 -1
  3. package/clients/self-client.js +1 -1
  4. package/configs/core-config.js +1 -1
  5. package/decorators/stop-tool.js +1 -1
  6. package/flow/content-type.js +1 -1
  7. package/flow/end-step.js +1 -1
  8. package/flow/flow-creator.js +1 -1
  9. package/flow/flow-types.d.ts +33 -26
  10. package/flow/flow-types.js +1 -1
  11. package/flow/flow.d.ts +10 -3
  12. package/flow/flow.js +1 -1
  13. package/flow/llm-runner.js +1 -1
  14. package/flow/logic-runner.js +1 -1
  15. package/flow/logic-step.js +1 -1
  16. package/flow/memory.js +1 -1
  17. package/flow/step.d.ts +9 -5
  18. package/flow/step.js +1 -1
  19. package/index.js +45 -26
  20. package/models/default-models.d.ts +2 -0
  21. package/models/default-models.js +1 -0
  22. package/models/model-registry.d.ts +66 -0
  23. package/models/model-registry.js +1 -0
  24. package/package.json +1 -1
  25. package/prompt/flow-prompt.js +1 -1
  26. package/prompt/prompt-util.js +1 -1
  27. package/services/flow-engine.d.ts +6 -23
  28. package/services/flow-engine.js +1 -1
  29. package/session/cosmo-session.js +1 -1
  30. package/session/file-session.js +1 -1
  31. package/session/flow-session.js +1 -1
  32. package/session/mongo-session.js +1 -1
  33. package/session/session-adaptor.js +1 -1
  34. package/session/session-logger.js +1 -1
  35. package/utils/constants.js +1 -1
  36. package/utils/environ.js +1 -1
  37. package/utils/errors.js +1 -1
  38. package/utils/license-util.js +1 -1
  39. package/utils/llm-file.d.ts +4 -0
  40. package/utils/llm-file.js +1 -1
  41. package/utils/logic.js +1 -1
  42. package/utils/message-util.js +1 -1
  43. package/utils/retry.js +1 -1
  44. package/utils/string-util.js +1 -1
  45. package/utils/tool-util.js +1 -1
  46. package/utils/verify-license.js +1 -1
package/README.md CHANGED
@@ -11,8 +11,8 @@ yarn add @picoflow/core
11
11
  ```
12
12
 
13
13
  ## License Key
14
- Send a request to dev@picoflow.io to get a license key that you need to include in your .env file
15
- We will be happy to provide a short term license key for evaluation purposes.
14
+ You need a license key that you need to include in your .env file
15
+ A free key for personal use can be found at www.picoflow.io , the Q/A section.
16
16
 
17
17
  ## Features
18
18
  - **Agentic Flows**: Define complex conversational flows using flows/steps
@@ -31,4 +31,5 @@ For more detailed documentation, please refer to the [doc](./doc) folder.
31
31
 
32
32
  ## License
33
33
 
34
- Proprietarily Licensed. Copyright (c) 2026 picoflow.io
34
+ License info: [https://www.picoflow.io/picoflow-license]
35
+ Copyright (c) 2026 picoflow.io
@@ -1 +1 @@
1
- function a0_0x2ba9(){const _0x4abba1=['client','message','(((.+)+)+)+$','defaults','nAQxp','12hGIOxL','vyjZX','data','put','738684gTGDJe','GftSX','common','constructor','lMtUW','frWCF','__esModule','khyeH','FpObv','dzJrv','request','kHxRj','interceptors','search','IWEcP','reject','post','11497032LbPmCx','HTJKx','removeHeader','2243998gYCJQH','zOrrF','get','delete','__importDefault','DZLRM','HttpClient','pWqHX','MTZPj','toString','BSvtc','tLeRF','8IHEOIu','NfviL','1747630kwmpnh','response','ORqBm','NAvgY','setHeader','HttpStatus','@nestjs/common','patch','PJRUs','gqHWD','apply','bwtpy','2794380vlrKxC','sxBjq','statusCode','iVVGM','JiinG','setup','create','default','use','cRyFC','PYRSR','validateStatus','481353lVzTwk','qXBWF','27AOiDQA','zTzJg','LPyXW','10768513uUVbqM','headers','BgKkA'];a0_0x2ba9=function(){return _0x4abba1;};return a0_0x2ba9();}function a0_0x100b(_0x2883db,_0x3e69b6){const _0x1878ad=a0_0x2ba9();return a0_0x100b=function(_0xc122a8,_0x183435){_0xc122a8=_0xc122a8-0xc2;let _0x2ba94b=_0x1878ad[_0xc122a8];return _0x2ba94b;},a0_0x100b(_0x2883db,_0x3e69b6);}const a0_0x2aef86=a0_0x100b;(function(_0x220d1e,_0x4a2b3b){const _0x32bc6e=a0_0x100b,_0x258cc6=_0x220d1e();while(!![]){try{const _0x44cb8f=-parseInt(_0x32bc6e(0xe1))/0x1+parseInt(_0x32bc6e(0xf5))/0x2+-parseInt(_0x32bc6e(0xd0))/0x3*(-parseInt(_0x32bc6e(0xdd))/0x4)+-parseInt(_0x32bc6e(0x103))/0x5+-parseInt(_0x32bc6e(0xf2))/0x6+parseInt(_0x32bc6e(0xd5))/0x7*(parseInt(_0x32bc6e(0x101))/0x8)+parseInt(_0x32bc6e(0xd2))/0x9*(parseInt(_0x32bc6e(0xc4))/0xa);if(_0x44cb8f===_0x4a2b3b)break;else _0x258cc6['push'](_0x258cc6['shift']());}catch(_0x2be724){_0x258cc6['push'](_0x258cc6['shift']());}}}(a0_0x2ba9,0xee31b));const a0_0x183435=(function(){const _0x300d21=a0_0x100b,_0x448933={'frWCF':function(_0x4df700,_0x5d3930){return _0x4df700===_0x5d3930;},'zTzJg':_0x300d21(0xe8),'cRyFC':_0x300d21(0x105),'BSvtc':function(_0x2168d6,_0x2594ef){return _0x2168d6>=_0x2594ef;},'iVVGM':function(_0x7b703b,_0xf58da){return _0x7b703b<_0xf58da;},'qXBWF':_0x300d21(0xdc)};let _0x12dcae=!![];return function(_0x33ca64,_0x3f6ca2){const _0x571fcf=_0x300d21,_0x645197={'sxBjq':function(_0x2e792e,_0x1b7a16){const _0x3f5125=a0_0x100b;return _0x448933[_0x3f5125(0xff)](_0x2e792e,_0x1b7a16);},'pWqHX':function(_0x320f87,_0x5394bd){const _0x4fe2b7=a0_0x100b;return _0x448933[_0x4fe2b7(0xc7)](_0x320f87,_0x5394bd);},'NAvgY':function(_0x2e257a,_0xbab648){const _0x44b60f=a0_0x100b;return _0x448933[_0x44b60f(0xff)](_0x2e257a,_0xbab648);}};if(_0x448933[_0x571fcf(0xd1)]===_0x448933[_0x571fcf(0xd1)]){const _0x3bcc01=_0x12dcae?function(){const _0xf19935=_0x571fcf;if(_0x448933[_0xf19935(0xe6)](_0xf19935(0xe2),_0x448933[_0xf19935(0xd3)]))return _0x44754b=_0x545d35,_0x645197[_0xf19935(0xc5)](_0x288a5c,_0x261ff9[_0xf19935(0x108)]['OK'])&&_0x645197[_0xf19935(0xfc)](_0x585a21,0x12c);else{if(_0x3f6ca2){if(_0x448933[_0xf19935(0xcd)]===_0x448933['cRyFC']){const _0x3b334f=_0x3f6ca2[_0xf19935(0xc2)](_0x33ca64,arguments);return _0x3f6ca2=null,_0x3b334f;}else return this[_0xf19935(0xc9)](this[_0xf19935(0xd8)]['put'],_0x40dacb,_0x2f5fa6,_0x5640d2);}}}:function(){};return _0x12dcae=![],_0x3bcc01;}else return _0x2b88bb=_0x13d484,_0x645197[_0x571fcf(0x106)](_0x4b500f,_0x4f02a1[_0x571fcf(0x108)]['OK'])&&_0x645197['pWqHX'](_0x4ab392,0x12c);};}()),a0_0xc122a8=a0_0x183435(this,function(){const _0x2ff643=a0_0x100b,_0x396a83={'FpObv':_0x2ff643(0xda)};return a0_0xc122a8[_0x2ff643(0xfe)]()[_0x2ff643(0xee)](_0x396a83[_0x2ff643(0xe9)])[_0x2ff643(0xfe)]()[_0x2ff643(0xe4)](a0_0xc122a8)[_0x2ff643(0xee)](_0x396a83[_0x2ff643(0xe9)]);});a0_0xc122a8();'use strict';var __importDefault=this&&this[a0_0x2aef86(0xf9)]||function(_0x418029){return _0x418029&&_0x418029['__esModule']?_0x418029:{'default':_0x418029};};Object['defineProperty'](exports,a0_0x2aef86(0xe7),{'value':!![]}),exports['HttpClient']=void 0x0;const common_1=require(a0_0x2aef86(0x109)),axios_1=__importDefault(require('axios'));class HttpClient{constructor(_0x42e8fe,_0x43e191={},_0x47742b){const _0x3575a4=a0_0x2aef86;this[_0x3575a4(0xd8)]=axios_1[_0x3575a4(0xcb)]['create']({'baseURL':_0x42e8fe,'timeout':_0x47742b,'headers':_0x43e191}),this[_0x3575a4(0xd8)]['interceptors']['request'][_0x3575a4(0xcc)](_0x345684=>{return _0x345684;},_0x4a49db=>Promise[_0x3575a4(0xf0)](_0x4a49db)),this['client'][_0x3575a4(0xed)][_0x3575a4(0x104)][_0x3575a4(0xcc)](_0x28b42e=>_0x28b42e[_0x3575a4(0xdf)],_0x50aa40=>{const _0x511734=_0x3575a4,_0x380b3c=_0x50aa40[_0x511734(0x104)]?.['data']?.[_0x511734(0xd9)]||_0x50aa40[_0x511734(0xd9)];return Promise['reject'](new Error(_0x380b3c));});}async[a0_0x2aef86(0xf7)](_0x1f4c0e,_0x4ff2c0={},_0x2937bf){const _0x5513c7=a0_0x2aef86,_0xe178d4={'kHxRj':function(_0x216958,_0x31d5df){return _0x216958!==_0x31d5df;},'LPyXW':_0x5513c7(0xef),'PYRSR':function(_0x4dcf1a,_0x38a489){return _0x4dcf1a<_0x38a489;},'zOrrF':function(_0x2f7a2f,_0x40f66b){return _0x2f7a2f>=_0x40f66b;},'JDBAS':function(_0x242e18,_0x57635a){return _0x242e18??_0x57635a;},'CrOjP':'gqHWD'};let _0x48cc75=common_1[_0x5513c7(0x108)]['OK'];const _0x5cd3cf=_0xe178d4['JDBAS'](_0x2937bf,{});_0x5cd3cf['validateStatus']=_0x41096b=>{const _0x1c26ea=_0x5513c7;if(_0xe178d4[_0x1c26ea(0xec)](_0xe178d4[_0x1c26ea(0xd4)],_0x1c26ea(0xef)))this[_0x1c26ea(0xd8)]=_0x10a404[_0x1c26ea(0xcb)][_0x1c26ea(0xca)]({'baseURL':_0x301363,'timeout':_0x1de6fc,'headers':_0x5aa6ba}),this['client'][_0x1c26ea(0xed)][_0x1c26ea(0xeb)][_0x1c26ea(0xcc)](_0x1ea23f=>{return _0x1ea23f;},_0x22d7cd=>_0x56d53b[_0x1c26ea(0xf0)](_0x22d7cd)),this['client'][_0x1c26ea(0xed)]['response']['use'](_0x529a91=>_0x529a91[_0x1c26ea(0xdf)],_0x237d36=>{const _0x379a5b=_0x1c26ea,_0x414301=_0x237d36[_0x379a5b(0x104)]?.[_0x379a5b(0xdf)]?.['message']||_0x237d36[_0x379a5b(0xd9)];return _0x4bda80[_0x379a5b(0xf0)](new _0x3080cf(_0x414301));});else return _0x48cc75=_0x41096b,_0x41096b>=common_1['HttpStatus']['OK']&&_0xe178d4[_0x1c26ea(0xce)](_0x41096b,0x12c);};try{if(_0xe178d4[_0x5513c7(0xec)](_0xe178d4['CrOjP'],_0x5513c7(0x10c)))return _0x3656e4=_0x323914,_0xe178d4[_0x5513c7(0xf6)](_0x300722,_0x5ef3e0[_0x5513c7(0x108)]['OK'])&&_0xe178d4['PYRSR'](_0x43010d,0x12c);else{const _0x23ca95=await this[_0x5513c7(0xd8)][_0x5513c7(0xf7)](_0x1f4c0e,{'params':_0x4ff2c0,..._0x5cd3cf});return _0x23ca95;}}catch(_0x51999a){_0x51999a['statusCode']=_0x48cc75;throw _0x51999a;}}async[a0_0x2aef86(0xf1)](_0x9dcabb,_0x5cb64e={},_0xa28bd2){const _0x3b96e5=a0_0x2aef86;return this[_0x3b96e5(0xc9)](this['client'][_0x3b96e5(0xf1)],_0x9dcabb,_0x5cb64e,_0xa28bd2);}async[a0_0x2aef86(0xe0)](_0x295820,_0x46fdfc={},_0x5b3631){const _0x4b0d08=a0_0x2aef86;return this[_0x4b0d08(0xc9)](this[_0x4b0d08(0xd8)]['put'],_0x295820,_0x46fdfc,_0x5b3631);}async[a0_0x2aef86(0xf8)](_0x4b715a,_0x196611){const _0x339c92=a0_0x2aef86,_0x581efe={'JiinG':function(_0x17f832,_0x28d58a){return _0x17f832===_0x28d58a;},'HTJKx':_0x339c92(0xc3),'tLeRF':_0x339c92(0x102),'vyjZX':function(_0xfc4109,_0x5ad331){return _0xfc4109>=_0x5ad331;},'lMtUW':function(_0x168846,_0x88cfc2){return _0x168846<_0x88cfc2;}};let _0x52627d=common_1[_0x339c92(0x108)]['OK'];const _0x23b810=_0x196611??{};_0x23b810[_0x339c92(0xcf)]=_0x45c170=>{const _0x33e5c9=_0x339c92;if(_0x581efe[_0x33e5c9(0xc8)](_0x581efe[_0x33e5c9(0xf3)],_0x581efe[_0x33e5c9(0x100)])){const _0x560635=_0x589177[_0x33e5c9(0xc2)](_0x1bbdf1,arguments);return _0x4474dd=null,_0x560635;}else return _0x52627d=_0x45c170,_0x581efe[_0x33e5c9(0xde)](_0x45c170,common_1['HttpStatus']['OK'])&&_0x581efe[_0x33e5c9(0xe5)](_0x45c170,0x12c);};try{const _0x252d3a=await this[_0x339c92(0xd8)]['delete'](_0x4b715a,{..._0x196611});return _0x252d3a;}catch(_0x4caa7e){_0x4caa7e[_0x339c92(0xc6)]=_0x52627d;throw _0x4caa7e;}}async[a0_0x2aef86(0x10a)](_0x50022c,_0x30da34={},_0x54ca96){const _0x29e2ef=a0_0x2aef86;return this['setup'](this[_0x29e2ef(0xd8)][_0x29e2ef(0x10a)],_0x50022c,_0x30da34,_0x54ca96);}[a0_0x2aef86(0x107)](_0x34d18c,_0x652b1d){const _0x211a3f=a0_0x2aef86;this[_0x211a3f(0xd8)][_0x211a3f(0xdb)][_0x211a3f(0xd6)][_0x211a3f(0xe3)][_0x34d18c]=_0x652b1d;}[a0_0x2aef86(0xf4)](_0x37146f){const _0x24412a=a0_0x2aef86;delete this['client'][_0x24412a(0xdb)]['headers'][_0x24412a(0xe3)][_0x37146f];}async['setup'](_0x350f4c,_0x3ec2fd,_0x167875={},_0x1f2e4f){const _0x4e217=a0_0x2aef86,_0x3bc8b5={'DZLRM':function(_0x5c1b7c,_0xdff087){return _0x5c1b7c>=_0xdff087;},'BgKkA':function(_0x52cd0c,_0x164c09){return _0x52cd0c<_0x164c09;},'znEQz':function(_0x2551b2,_0x26242c){return _0x2551b2??_0x26242c;},'MTZPj':function(_0x132c77,_0x17326e,_0x4632b4,_0xe1c2ba){return _0x132c77(_0x17326e,_0x4632b4,_0xe1c2ba);},'PJRUs':function(_0x2ae9aa,_0x249cd4){return _0x2ae9aa===_0x249cd4;}};let _0x2cfe7d=common_1['HttpStatus']['OK'];const _0x5830b4=_0x3bc8b5['znEQz'](_0x1f2e4f,{});_0x5830b4['validateStatus']=_0x3c74b0=>{const _0x369c10=a0_0x100b;return _0x2cfe7d=_0x3c74b0,_0x3bc8b5[_0x369c10(0xfa)](_0x3c74b0,common_1[_0x369c10(0x108)]['OK'])&&_0x3bc8b5[_0x369c10(0xd7)](_0x3c74b0,0x12c);};try{const _0x2458d9=await _0x3bc8b5[_0x4e217(0xfd)](_0x350f4c,_0x3ec2fd,_0x167875,{..._0x5830b4});return _0x2458d9;}catch(_0x4bc126){if(_0x3bc8b5[_0x4e217(0x10b)]('dzJrv',_0x4e217(0xea))){_0x4bc126[_0x4e217(0xc6)]=_0x2cfe7d;throw _0x4bc126;}else{_0x64a8f1[_0x4e217(0xc6)]=_0x1a3b9b;throw _0x523cb6;}}}}exports[a0_0x2aef86(0xfb)]=HttpClient;
1
+ const a0_0x5e201d=a0_0xe2dc;function a0_0x3629(){const _0x1e18a7=['client','create','936258Uzjxjc','__esModule','apply','defineProperty','MSnGr','constructor','request','ObJsu','vaUVS','zhBxm','reject','UMelA','hOXZw','HttpClient','toString','data','xCjmv','removeHeader','1590374JJcPjD','4395860SGiJFD','wkwyc','DqWTw','get','diBlL','defaults','search','patch','4pLGjVf','default','678461PMpwDo','10kQzSYl','@nestjs/common','NxrgK','(((.+)+)+)+$','HttpStatus','validateStatus','interceptors','HFWby','qpcXP','delete','message','4024464rpMZej','rjHMZ','4213890qzThse','1801578vXdyax','common','upZjf','hHORE','lRFKV','yTdqn','use','post','response','statusCode','ULzpK','Mwiht','axios','BPpcX','dfrzm','setup','headers','put'];a0_0x3629=function(){return _0x1e18a7;};return a0_0x3629();}(function(_0x167898,_0xcc94f8){const _0x357955=a0_0xe2dc,_0x2c74a0=_0x167898();while(!![]){try{const _0x26ae7c=-parseInt(_0x357955(0x1eb))/0x1+parseInt(_0x357955(0x1e0))/0x2+parseInt(_0x357955(0x1ce))/0x3*(parseInt(_0x357955(0x1e9))/0x4)+-parseInt(_0x357955(0x1ec))/0x5*(parseInt(_0x357955(0x1fa))/0x6)+parseInt(_0x357955(0x1e1))/0x7+parseInt(_0x357955(0x1f7))/0x8+-parseInt(_0x357955(0x1f9))/0x9;if(_0x26ae7c===_0xcc94f8)break;else _0x2c74a0['push'](_0x2c74a0['shift']());}catch(_0xcaf031){_0x2c74a0['push'](_0x2c74a0['shift']());}}}(a0_0x3629,0x77e6a));const a0_0x9d6111=(function(){const _0x3fbb93=a0_0xe2dc,_0x5cdd57={'dfrzm':function(_0x460ea9,_0x48cf3d){return _0x460ea9<_0x48cf3d;},'kHcTd':function(_0x191998,_0x37ce44){return _0x191998===_0x37ce44;},'xCjmv':_0x3fbb93(0x1c5),'BPpcX':_0x3fbb93(0x1d6)};let _0x308ee5=!![];return function(_0x31f7cd,_0x5659cc){const _0x2eeabe=_0x3fbb93,_0x893fb={'xsTzs':function(_0x2e3e7e,_0x48c34e){return _0x5cdd57['kHcTd'](_0x2e3e7e,_0x48c34e);},'xBCUw':'vaYQb'};if(_0x5cdd57[_0x2eeabe(0x1de)]===_0x5cdd57[_0x2eeabe(0x1c7)])return _0x43f236=_0x3dc88f,_0x169a78>=_0x351cf3[_0x2eeabe(0x1f0)]['OK']&&_0x5cdd57[_0x2eeabe(0x1c8)](_0xd5f24a,0x12c);else{const _0x2ed600=_0x308ee5?function(){const _0x2a5e9e=_0x2eeabe;if(_0x5659cc){if(_0x893fb['xsTzs'](_0x2a5e9e(0x1f4),_0x893fb['xBCUw']))return this[_0x2a5e9e(0x1c9)](this[_0x2a5e9e(0x1cc)]['patch'],_0x2455b3,_0x47660d,_0x39c9e7);else{const _0x1feb1a=_0x5659cc['apply'](_0x31f7cd,arguments);return _0x5659cc=null,_0x1feb1a;}}}:function(){};return _0x308ee5=![],_0x2ed600;}};}()),a0_0x2931fe=a0_0x9d6111(this,function(){const _0x49b9a5=a0_0xe2dc,_0x356d7c={'rjHMZ':_0x49b9a5(0x1ef)};return a0_0x2931fe[_0x49b9a5(0x1dc)]()[_0x49b9a5(0x1e7)](_0x356d7c[_0x49b9a5(0x1f8)])[_0x49b9a5(0x1dc)]()[_0x49b9a5(0x1d3)](a0_0x2931fe)[_0x49b9a5(0x1e7)](_0x49b9a5(0x1ef));});a0_0x2931fe();function a0_0xe2dc(_0x3b77c4,_0x312e1e){const _0x339f6a=a0_0x3629();return a0_0xe2dc=function(_0x2931fe,_0x9d6111){_0x2931fe=_0x2931fe-0x1c2;let _0x3629af=_0x339f6a[_0x2931fe];return _0x3629af;},a0_0xe2dc(_0x3b77c4,_0x312e1e);}'use strict';var __importDefault=this&&this['__importDefault']||function(_0xc21c81){return _0xc21c81&&_0xc21c81['__esModule']?_0xc21c81:{'default':_0xc21c81};};Object[a0_0x5e201d(0x1d1)](exports,a0_0x5e201d(0x1cf),{'value':!![]}),exports['HttpClient']=void 0x0;const common_1=require(a0_0x5e201d(0x1ed)),axios_1=__importDefault(require(a0_0x5e201d(0x1c6)));class HttpClient{constructor(_0x2c1146,_0x3e62e1={},_0x474944){const _0x188456=a0_0x5e201d;this[_0x188456(0x1cc)]=axios_1[_0x188456(0x1ea)][_0x188456(0x1cd)]({'baseURL':_0x2c1146,'timeout':_0x474944,'headers':_0x3e62e1}),this[_0x188456(0x1cc)][_0x188456(0x1f2)][_0x188456(0x1d4)]['use'](_0x95c8a4=>{return _0x95c8a4;},_0xbf2c06=>Promise['reject'](_0xbf2c06)),this[_0x188456(0x1cc)][_0x188456(0x1f2)][_0x188456(0x1c2)][_0x188456(0x200)](_0x4879bf=>_0x4879bf['data'],_0x299058=>{const _0x1b8eae=_0x188456,_0x33a3f5=_0x299058[_0x1b8eae(0x1c2)]?.[_0x1b8eae(0x1dd)]?.['message']||_0x299058[_0x1b8eae(0x1f6)];return Promise[_0x1b8eae(0x1d8)](new Error(_0x33a3f5));});}async[a0_0x5e201d(0x1e4)](_0x498bcd,_0x3c71fe={},_0x2f6f52){const _0x5c0fcc=a0_0x5e201d,_0x182702={'LuLbH':function(_0x4255a3,_0x7114a7){return _0x4255a3===_0x7114a7;},'upZjf':'XJLLV','YruKN':function(_0x59ad9d,_0x309324){return _0x59ad9d>=_0x309324;},'koTgd':function(_0x2aa7f1,_0xc8e1d1){return _0x2aa7f1<_0xc8e1d1;},'bjaWA':function(_0xa4c30b,_0x42b64e){return _0xa4c30b??_0x42b64e;},'diBlL':function(_0x447a82,_0x35d2d9){return _0x447a82===_0x35d2d9;},'VIBAM':'vcOou'};let _0xefb930=common_1[_0x5c0fcc(0x1f0)]['OK'];const _0xbc75db=_0x182702['bjaWA'](_0x2f6f52,{});_0xbc75db[_0x5c0fcc(0x1f1)]=_0x3b5e00=>{const _0x508e06=_0x5c0fcc;return _0x182702['LuLbH'](_0x182702[_0x508e06(0x1fc)],_0x182702['upZjf'])?(_0xefb930=_0x3b5e00,_0x182702['YruKN'](_0x3b5e00,common_1[_0x508e06(0x1f0)]['OK'])&&_0x182702['koTgd'](_0x3b5e00,0x12c)):_0x3b5792&&_0x32f88b[_0x508e06(0x1cf)]?_0x59031e:{'default':_0x11aec2};};try{if(_0x182702[_0x5c0fcc(0x1e5)](_0x182702['VIBAM'],_0x182702['VIBAM'])){const _0x13f0ec=await this[_0x5c0fcc(0x1cc)][_0x5c0fcc(0x1e4)](_0x498bcd,{'params':_0x3c71fe,..._0xbc75db});return _0x13f0ec;}else this[_0x5c0fcc(0x1cc)][_0x5c0fcc(0x1e6)]['headers']['common'][_0x2dcc4f]=_0x4cccf6;}catch(_0x3848ca){_0x3848ca[_0x5c0fcc(0x1c3)]=_0xefb930;throw _0x3848ca;}}async[a0_0x5e201d(0x201)](_0x4591d4,_0x50a6be={},_0x1d14ee){const _0x4445ed=a0_0x5e201d;return this[_0x4445ed(0x1c9)](this[_0x4445ed(0x1cc)]['post'],_0x4591d4,_0x50a6be,_0x1d14ee);}async[a0_0x5e201d(0x1cb)](_0x29e53d,_0x24b680={},_0x371019){const _0x1c16b1=a0_0x5e201d;return this[_0x1c16b1(0x1c9)](this['client'][_0x1c16b1(0x1cb)],_0x29e53d,_0x24b680,_0x371019);}async[a0_0x5e201d(0x1f5)](_0x5852a6,_0x41803a){const _0x16efd9=a0_0x5e201d,_0x3833c9={'UMelA':function(_0x1f1b70,_0x2cf979){return _0x1f1b70<_0x2cf979;},'hOXZw':function(_0x30d219,_0x253b8b){return _0x30d219??_0x253b8b;},'lRFKV':function(_0x80c022,_0x2fa8ad){return _0x80c022!==_0x2fa8ad;},'hHORE':_0x16efd9(0x1e3)};let _0x385786=common_1[_0x16efd9(0x1f0)]['OK'];const _0x14c773=_0x3833c9[_0x16efd9(0x1da)](_0x41803a,{});_0x14c773[_0x16efd9(0x1f1)]=_0x2c8b1a=>{const _0x44f98f=_0x16efd9;return _0x385786=_0x2c8b1a,_0x2c8b1a>=common_1[_0x44f98f(0x1f0)]['OK']&&_0x3833c9[_0x44f98f(0x1d9)](_0x2c8b1a,0x12c);};try{const _0x2a150f=await this[_0x16efd9(0x1cc)]['delete'](_0x5852a6,{..._0x41803a});return _0x2a150f;}catch(_0x1bec56){if(_0x3833c9[_0x16efd9(0x1fe)](_0x16efd9(0x1e3),_0x3833c9[_0x16efd9(0x1fd)]))return _0x5d7b7c;else{_0x1bec56[_0x16efd9(0x1c3)]=_0x385786;throw _0x1bec56;}}}async['patch'](_0x23af5a,_0x3412f5={},_0x4fe868){const _0x199306=a0_0x5e201d;return this[_0x199306(0x1c9)](this['client'][_0x199306(0x1e8)],_0x23af5a,_0x3412f5,_0x4fe868);}['setHeader'](_0x1d3e67,_0x185bb9){const _0xf273e8=a0_0x5e201d;this[_0xf273e8(0x1cc)][_0xf273e8(0x1e6)]['headers'][_0xf273e8(0x1fb)][_0x1d3e67]=_0x185bb9;}[a0_0x5e201d(0x1df)](_0x2bead9){const _0x1f998c=a0_0x5e201d;delete this[_0x1f998c(0x1cc)][_0x1f998c(0x1e6)][_0x1f998c(0x1ca)][_0x1f998c(0x1fb)][_0x2bead9];}async['setup'](_0x2149fe,_0xa6c6e,_0x3fa5c7={},_0x1d3738){const _0x51f21e=a0_0x5e201d,_0x95a6b3={'NxrgK':function(_0x51ea02,_0x2b6071){return _0x51ea02!==_0x2b6071;},'ObJsu':_0x51f21e(0x1e2),'Kiexr':function(_0x4c8055,_0x198684){return _0x4c8055>=_0x198684;},'yTdqn':function(_0x36890b,_0x155329){return _0x36890b<_0x155329;},'ULzpK':function(_0x4a936e,_0x6d954d){return _0x4a936e??_0x6d954d;},'HFWby':function(_0x10fd14,_0x46e994,_0x87646b,_0xf44e60){return _0x10fd14(_0x46e994,_0x87646b,_0xf44e60);},'zhBxm':_0x51f21e(0x1d2)};let _0x4f5047=common_1[_0x51f21e(0x1f0)]['OK'];const _0x3bfb56=_0x95a6b3[_0x51f21e(0x1c4)](_0x1d3738,{});_0x3bfb56[_0x51f21e(0x1f1)]=_0x1bcb75=>{const _0x4ed8b8=_0x51f21e;if(_0x95a6b3[_0x4ed8b8(0x1ee)](_0x95a6b3['ObJsu'],_0x95a6b3[_0x4ed8b8(0x1d5)])){const _0xa6bb8c=_0x2aee4d?function(){const _0x34a47e=_0x4ed8b8;if(_0x290f35){const _0x2a5b8a=_0x564c8d[_0x34a47e(0x1d0)](_0x18f945,arguments);return _0x48bac1=null,_0x2a5b8a;}}:function(){};return _0x569ec1=![],_0xa6bb8c;}else return _0x4f5047=_0x1bcb75,_0x95a6b3['Kiexr'](_0x1bcb75,common_1[_0x4ed8b8(0x1f0)]['OK'])&&_0x1bcb75<0x12c;};try{const _0x5a875f=await _0x95a6b3[_0x51f21e(0x1f3)](_0x2149fe,_0xa6c6e,_0x3fa5c7,{..._0x3bfb56});return _0x5a875f;}catch(_0x532a7b){if(_0x95a6b3[_0x51f21e(0x1d7)]===_0x95a6b3[_0x51f21e(0x1d7)]){_0x532a7b[_0x51f21e(0x1c3)]=_0x4f5047;throw _0x532a7b;}else return _0x4faeff=_0x40cde0,_0x5ee1e6>=_0x4b809d['HttpStatus']['OK']&&_0x95a6b3[_0x51f21e(0x1ff)](_0x48c896,0x12c);}}}exports[a0_0x5e201d(0x1db)]=HttpClient;
@@ -1 +1 @@
1
- function a1_0xae06(){const _0x83a8a8=['./http-client','1859628mYzzst','HttpClient','5711340DlkuBU','5503680RTIqPE','27711nDuBFt','28Nlexcc','CoreConfig','13040720TeXExY','search','29642GYxOiG','defineProperty','2830mEUpAc','309033xVeiVV','4qghXeI','selfURL','toString','43dANhwT','(((.+)+)+)+$','../configs/core-config','constructor'];a1_0xae06=function(){return _0x83a8a8;};return a1_0xae06();}const a1_0x17c2a1=a1_0x4b41;(function(_0x39ee19,_0x3476a1){const _0x1f2380=a1_0x4b41,_0x3e9a7c=_0x39ee19();while(!![]){try{const _0x3605ab=-parseInt(_0x1f2380(0x83))/0x1*(parseInt(_0x1f2380(0x7c))/0x2)+parseInt(_0x1f2380(0x7f))/0x3*(-parseInt(_0x1f2380(0x80))/0x4)+parseInt(_0x1f2380(0x8a))/0x5+parseInt(_0x1f2380(0x88))/0x6*(parseInt(_0x1f2380(0x8d))/0x7)+-parseInt(_0x1f2380(0x8b))/0x8+parseInt(_0x1f2380(0x8c))/0x9*(parseInt(_0x1f2380(0x7e))/0xa)+-parseInt(_0x1f2380(0x8f))/0xb;if(_0x3605ab===_0x3476a1)break;else _0x3e9a7c['push'](_0x3e9a7c['shift']());}catch(_0x41e96a){_0x3e9a7c['push'](_0x3e9a7c['shift']());}}}(a1_0xae06,0x9c25f));const a1_0x5edfd4=(function(){let _0x2f4c2b=!![];return function(_0x59ee7c,_0x117791){const _0x80410e=_0x2f4c2b?function(){if(_0x117791){const _0x9cd08=_0x117791['apply'](_0x59ee7c,arguments);return _0x117791=null,_0x9cd08;}}:function(){};return _0x2f4c2b=![],_0x80410e;};}()),a1_0xf13a07=a1_0x5edfd4(this,function(){const _0x4fcc65=a1_0x4b41;return a1_0xf13a07[_0x4fcc65(0x82)]()[_0x4fcc65(0x7b)](_0x4fcc65(0x84))['toString']()[_0x4fcc65(0x86)](a1_0xf13a07)['search'](_0x4fcc65(0x84));});function a1_0x4b41(_0x2d67c0,_0x3a79c6){const _0x2e7253=a1_0xae06();return a1_0x4b41=function(_0xf13a07,_0x5edfd4){_0xf13a07=_0xf13a07-0x7b;let _0xae0626=_0x2e7253[_0xf13a07];return _0xae0626;},a1_0x4b41(_0x2d67c0,_0x3a79c6);}a1_0xf13a07();'use strict';Object[a1_0x17c2a1(0x7d)](exports,'__esModule',{'value':!![]}),exports['SelfClient']=void 0x0;const core_config_1=require(a1_0x17c2a1(0x85)),http_client_1=require(a1_0x17c2a1(0x87));class SelfClient extends http_client_1[a1_0x17c2a1(0x89)]{constructor(_0x34a563={},_0x137cc4){const _0xd004db=a1_0x17c2a1;super(core_config_1[_0xd004db(0x8e)][_0xd004db(0x81)],_0x34a563,_0x137cc4);}}exports['SelfClient']=SelfClient;
1
+ const a1_0x2cf354=a1_0x5a0b;(function(_0x28c3ee,_0xb92fe9){const _0x438725=a1_0x5a0b,_0x2f869e=_0x28c3ee();while(!![]){try{const _0x32208d=-parseInt(_0x438725(0x1dd))/0x1+parseInt(_0x438725(0x1df))/0x2+-parseInt(_0x438725(0x1da))/0x3*(parseInt(_0x438725(0x1e4))/0x4)+-parseInt(_0x438725(0x1d9))/0x5*(-parseInt(_0x438725(0x1dc))/0x6)+-parseInt(_0x438725(0x1ea))/0x7*(parseInt(_0x438725(0x1db))/0x8)+-parseInt(_0x438725(0x1e3))/0x9+-parseInt(_0x438725(0x1e1))/0xa*(-parseInt(_0x438725(0x1e0))/0xb);if(_0x32208d===_0xb92fe9)break;else _0x2f869e['push'](_0x2f869e['shift']());}catch(_0x659997){_0x2f869e['push'](_0x2f869e['shift']());}}}(a1_0x12c8,0x80ee9));const a1_0x3b3cea=(function(){let _0x2c9f28=!![];return function(_0x39b32a,_0x15f2aa){const _0x21ec10=_0x2c9f28?function(){if(_0x15f2aa){const _0x492e62=_0x15f2aa['apply'](_0x39b32a,arguments);return _0x15f2aa=null,_0x492e62;}}:function(){};return _0x2c9f28=![],_0x21ec10;};}()),a1_0x2ba7bf=a1_0x3b3cea(this,function(){const _0x4c6596=a1_0x5a0b,_0x4190a5={'lSnUO':'(((.+)+)+)+$'};return a1_0x2ba7bf[_0x4c6596(0x1e8)]()[_0x4c6596(0x1e2)](_0x4190a5[_0x4c6596(0x1e6)])['toString']()[_0x4c6596(0x1e7)](a1_0x2ba7bf)['search'](_0x4190a5[_0x4c6596(0x1e6)]);});a1_0x2ba7bf();function a1_0x12c8(){const _0x22e33b=['665076RdxSwh','selfURL','432666viFRKq','11fEBvvR','22470300hZqlSl','search','3900564IFCigZ','9764qroasE','SelfClient','lSnUO','constructor','toString','./http-client','289765erkcJm','../configs/core-config','5WcbFEw','753zGgicQ','136seDRNG','2877720Zqpllb'];a1_0x12c8=function(){return _0x22e33b;};return a1_0x12c8();}'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['SelfClient']=void 0x0;function a1_0x5a0b(_0x5c259c,_0x3b6e6f){const _0x4e6d77=a1_0x12c8();return a1_0x5a0b=function(_0x2ba7bf,_0x3b3cea){_0x2ba7bf=_0x2ba7bf-0x1d8;let _0x12c80a=_0x4e6d77[_0x2ba7bf];return _0x12c80a;},a1_0x5a0b(_0x5c259c,_0x3b6e6f);}const core_config_1=require(a1_0x2cf354(0x1d8)),http_client_1=require(a1_0x2cf354(0x1e9));class SelfClient extends http_client_1['HttpClient']{constructor(_0x336b7a={},_0x1a9b9f){const _0x3b2582=a1_0x2cf354;super(core_config_1['CoreConfig'][_0x3b2582(0x1de)],_0x336b7a,_0x1a9b9f);}}exports[a1_0x2cf354(0x1e5)]=SelfClient;
@@ -1 +1 @@
1
- const a2_0x52d655=a2_0x3d8d;(function(_0x3fd800,_0x2d9607){const _0x2f5813=a2_0x3d8d,_0x23e5e0=_0x3fd800();while(!![]){try{const _0x40b396=parseInt(_0x2f5813(0xbc))/0x1+parseInt(_0x2f5813(0x108))/0x2*(parseInt(_0x2f5813(0xc5))/0x3)+parseInt(_0x2f5813(0xfa))/0x4+-parseInt(_0x2f5813(0xee))/0x5*(parseInt(_0x2f5813(0xce))/0x6)+parseInt(_0x2f5813(0xb7))/0x7*(parseInt(_0x2f5813(0xde))/0x8)+parseInt(_0x2f5813(0x10d))/0x9*(-parseInt(_0x2f5813(0x101))/0xa)+parseInt(_0x2f5813(0xef))/0xb;if(_0x40b396===_0x2d9607)break;else _0x23e5e0['push'](_0x23e5e0['shift']());}catch(_0x370add){_0x23e5e0['push'](_0x23e5e0['shift']());}}}(a2_0x5404,0x4bd7e));function a2_0x5404(){const _0x422412=['8093635vjBwqn','__esModule','MEwGG','selfURL','MONGODB_COLLECTION','voHFN','documentDB','BYuWk','MONGO','MeMbi','ANTHROPIC_KEY','281700kLukFr','sESQp','../utils/environ','zAgMA','constructor','SELF_URL','llmRetry','2775840OMhkDI','mongoURL','SESSION_EXPIRATION','dYfGJ','ddBpL','KcfIf','JDOIt','143580CXjBGO','CifUx','LLM_TEMPERATURE','OIJqX','fizmB','18JEfDlj','OPENAI_KEY','JLnwJ','BHLqP','sessionExpiration','DgdsW','GSbZt','split','tCDBP','105aSArUM','GetAs','LbYgo','SJWlc','toString','25684MGklhG','klxfe','cosmoDbId','JvPaB','uffmX','eBBgG','2|6|3|10|5|8|4|0|1|7|13|12|11|14|15|9','mongoDB','GeminiKey','15nNJCCC','COSMODB_ID','cosmoDbUrl','mongoCollection','PXPWZ','GEMINI_KEY','cosmoDbSessionId','XbcEH','instance','3551502aKlwOn','COSMODB_KEY','search','byFdH','tjXai','PICOFLOW_KEY','zIgno','bGjBi','LLM_RETRY','OpenAIKey','DOCUMENT_DB','CoreConfig','apply','iXOQI','get','COSMODB_URL','142344ItEvKR','getOrThrow','MONGODB_NAME','COSMODB_SESSION_ID','llmTemperature','vvOxj','KTWvJ','MONGODB_URL','trim','rRgoP','Efggq','iCKbg','Vjrav','MQpOb','(((.+)+)+)+$','WNqUG','5kSpouF'];a2_0x5404=function(){return _0x422412;};return a2_0x5404();}const a2_0x30b8cd=(function(){const _0x497793=a2_0x3d8d,_0x4ccff5={'LbYgo':_0x497793(0xc2),'sESQp':_0x497793(0xd8),'DgdsW':_0x497793(0xf7),'KTWvJ':_0x497793(0xcf),'JvPaB':_0x497793(0xd3),'MEwGG':'LLM_TEMPERATURE','ExwdT':_0x497793(0xdd),'yqDxs':_0x497793(0xaf),'scFEz':_0x497793(0x103),'qHaRA':'COSMODB_SESSION_ID','rRgoP':_0x497793(0xf3),'zAgMA':function(_0xec55be,_0x3c936c){return _0xec55be!==_0x3c936c;},'tCDBP':'xixCy','byFdH':'WgjXR','eBBgG':function(_0x5e0793,_0x5147aa){return _0x5e0793===_0x5147aa;},'JDOIt':'tlrWF','uffmX':_0x497793(0xe3),'sFuqW':function(_0x1d1470,_0x39ece1){return _0x1d1470===_0x39ece1;},'OIJqX':_0x497793(0xb0),'XbcEH':_0x497793(0xdb)};let _0x2b785f=!![];return function(_0x56abbd,_0x11b190){const _0x311148=_0x497793,_0x5f47f6={'zIgno':_0x4ccff5[_0x311148(0xb9)],'dYfGJ':_0x4ccff5[_0x311148(0xfb)],'MQpOb':_0x4ccff5[_0x311148(0xb3)],'OHwAv':_0x4ccff5[_0x311148(0xe4)],'ddBpL':_0x311148(0xd6),'CifUx':_0x4ccff5[_0x311148(0xbf)],'Efggq':_0x4ccff5[_0x311148(0xf1)],'SJWlc':_0x4ccff5['ExwdT'],'rgrnT':_0x4ccff5['yqDxs'],'MeMbi':_0x4ccff5['scFEz'],'voHFN':_0x4ccff5['qHaRA'],'bGjBi':_0x311148(0xc6),'PGacK':_0x4ccff5[_0x311148(0xe7)],'GSbZt':function(_0x5705e1,_0x215bc5){const _0x25bfd8=_0x311148;return _0x4ccff5[_0x25bfd8(0xfd)](_0x5705e1,_0x215bc5);},'tjXai':_0x4ccff5[_0x311148(0xb6)],'KcfIf':_0x4ccff5[_0x311148(0xd1)],'WNqUG':function(_0x3fcdfd,_0x301c19){const _0x13cc90=_0x311148;return _0x4ccff5[_0x13cc90(0xc1)](_0x3fcdfd,_0x301c19);},'XrykA':_0x4ccff5[_0x311148(0x107)],'rTEqH':_0x4ccff5[_0x311148(0xc0)]};if(_0x4ccff5['sFuqW'](_0x4ccff5[_0x311148(0x10b)],_0x4ccff5[_0x311148(0xcc)])){const _0x255fef=_0x5f47f6[_0x311148(0xd4)][_0x311148(0xb5)]('|');let _0x48ddf9=0x0;while(!![]){switch(_0x255fef[_0x48ddf9++]){case'0':_0x148586['documentDB']=_0x923e[_0x311148(0xdc)](_0x5f47f6[_0x311148(0x104)],_0x5f47f6[_0x311148(0xeb)]);continue;case'1':_0x5615fb['cosmoDbKey']=_0x1d39bb['get'](_0x5f47f6['OHwAv']);continue;case'2':_0xb82cc0[_0x311148(0x100)]=(0x0,_0x611a95[_0x311148(0xb8)])(_0x1fad9d[_0x311148(0xdc)](_0x5f47f6[_0x311148(0x105)],0x3));continue;case'3':_0x261eda['picoKey']=_0x4195d9[_0x311148(0xdf)](_0x5f47f6[_0x311148(0x109)])[_0x311148(0xe6)]();continue;case'4':_0x509e10['AnthropicKey']=_0x1773d2[_0x311148(0xdf)](_0x311148(0xf9))['trim']();continue;case'5':_0x3b7f5a[_0x311148(0xc4)]=_0x1c6554['getOrThrow'](_0x311148(0xca))[_0x311148(0xe6)]();continue;case'6':_0x42eb1b[_0x311148(0xe2)]=(0x0,_0x12f745[_0x311148(0xb8)])(_0x16e3fb[_0x311148(0xdc)](_0x5f47f6[_0x311148(0xe8)],0x0));continue;case'7':_0x44e29d[_0x311148(0xc7)]=_0x205d4b['get'](_0x5f47f6[_0x311148(0xba)]);continue;case'8':_0x4845b6[_0x311148(0xd7)]=_0x5ec062[_0x311148(0xdf)](_0x5f47f6['rgrnT'])['trim']();continue;case'9':_0x4f5a81['sessionExpiration']=(0x0,_0x29b44a[_0x311148(0xb8)])(_0x32785a[_0x311148(0xdc)](_0x5f47f6[_0x311148(0xf8)],0x258));continue;case'10':_0x189140['selfURL']=_0x52ae18['get']('SELF_URL');continue;case'11':_0x217525['mongoDB']=_0x441dbf[_0x311148(0xdf)]('MONGODB_NAME');continue;case'12':_0x1746e4[_0x311148(0xcb)]=_0x51616d[_0x311148(0xdc)](_0x5f47f6[_0x311148(0xf4)]);continue;case'13':_0x127fe1[_0x311148(0xbe)]=_0x1912f1[_0x311148(0xdc)](_0x5f47f6[_0x311148(0xd5)]);continue;case'14':_0x1da943[_0x311148(0xc8)]=_0x14e533[_0x311148(0xdf)](_0x5f47f6['PGacK']);continue;case'15':_0x39e6e2[_0x311148(0x102)]=_0x47e6ff[_0x311148(0xdf)](_0x311148(0xe5));continue;}break;}}else{const _0x331094=_0x2b785f?function(){const _0x45aa50=_0x311148;if(_0x5f47f6[_0x45aa50(0xb4)](_0x5f47f6[_0x45aa50(0xd2)],_0x5f47f6[_0x45aa50(0x106)])){if(_0x11b190){if(_0x5f47f6[_0x45aa50(0xed)](_0x5f47f6['XrykA'],_0x5f47f6['rTEqH'])){if(_0x509494){const _0x26d464=_0x3655f7[_0x45aa50(0xda)](_0xb409da,arguments);return _0x1fea0b=null,_0x26d464;}}else{const _0x364bb1=_0x11b190[_0x45aa50(0xda)](_0x56abbd,arguments);return _0x11b190=null,_0x364bb1;}}}else this['instance']=new _0xd2373c(_0x2ae097);}:function(){};return _0x2b785f=![],_0x331094;}};}()),a2_0x3d773e=a2_0x30b8cd(this,function(){const _0x11b6e7=a2_0x3d8d,_0x4ed36b={'PXPWZ':_0x11b6e7(0xec)};return a2_0x3d773e[_0x11b6e7(0xbb)]()[_0x11b6e7(0xd0)](_0x4ed36b['PXPWZ'])[_0x11b6e7(0xbb)]()[_0x11b6e7(0xfe)](a2_0x3d773e)[_0x11b6e7(0xd0)](_0x4ed36b[_0x11b6e7(0xc9)]);});a2_0x3d773e();'use strict';function a2_0x3d8d(_0x326649,_0x3c7b3c){const _0xc0e339=a2_0x5404();return a2_0x3d8d=function(_0x3d773e,_0x30b8cd){_0x3d773e=_0x3d773e-0xaf;let _0x5404bf=_0xc0e339[_0x3d773e];return _0x5404bf;},a2_0x3d8d(_0x326649,_0x3c7b3c);}Object['defineProperty'](exports,a2_0x52d655(0xf0),{'value':!![]}),exports[a2_0x52d655(0xd9)]=void 0x0;const environ_1=require(a2_0x52d655(0xfc));class CoreConfig{constructor(_0x40a697){const _0x4c67c9=a2_0x52d655,_0x26bf8b={'klxfe':_0x4c67c9(0xd3),'UCqyo':_0x4c67c9(0xff),'YKOtb':_0x4c67c9(0xf9),'HCNyM':_0x4c67c9(0xd8),'LQRAN':_0x4c67c9(0xcf),'GuURu':_0x4c67c9(0xdd),'BMwXj':_0x4c67c9(0xc6),'BHLqP':_0x4c67c9(0xe1),'fizmB':_0x4c67c9(0xe0),'iCKbg':_0x4c67c9(0xf3),'Vjrav':'MONGODB_URL','BYuWk':_0x4c67c9(0x103)};CoreConfig[_0x4c67c9(0x100)]=(0x0,environ_1['GetAs'])(_0x40a697['get'](_0x4c67c9(0xd6),0x3)),CoreConfig['llmTemperature']=(0x0,environ_1[_0x4c67c9(0xb8)])(_0x40a697[_0x4c67c9(0xdc)](_0x4c67c9(0x10a),0x0)),CoreConfig['picoKey']=_0x40a697[_0x4c67c9(0xdf)](_0x26bf8b[_0x4c67c9(0xbd)])[_0x4c67c9(0xe6)](),CoreConfig[_0x4c67c9(0xf2)]=_0x40a697[_0x4c67c9(0xdc)](_0x26bf8b['UCqyo']),CoreConfig[_0x4c67c9(0xc4)]=_0x40a697[_0x4c67c9(0xdf)](_0x4c67c9(0xca))[_0x4c67c9(0xe6)](),CoreConfig['OpenAIKey']=_0x40a697[_0x4c67c9(0xdf)](_0x4c67c9(0xaf))['trim'](),CoreConfig['AnthropicKey']=_0x40a697[_0x4c67c9(0xdf)](_0x26bf8b['YKOtb'])['trim'](),CoreConfig[_0x4c67c9(0xf5)]=_0x40a697[_0x4c67c9(0xdc)](_0x26bf8b['HCNyM'],_0x4c67c9(0xf7)),CoreConfig['cosmoDbKey']=_0x40a697[_0x4c67c9(0xdc)](_0x26bf8b['LQRAN']),CoreConfig[_0x4c67c9(0xc7)]=_0x40a697[_0x4c67c9(0xdc)](_0x26bf8b['GuURu']),CoreConfig[_0x4c67c9(0xbe)]=_0x40a697[_0x4c67c9(0xdc)](_0x26bf8b['BMwXj']),CoreConfig['cosmoDbSessionId']=_0x40a697[_0x4c67c9(0xdc)](_0x26bf8b[_0x4c67c9(0xb1)]),CoreConfig[_0x4c67c9(0xc3)]=_0x40a697[_0x4c67c9(0xdf)](_0x26bf8b[_0x4c67c9(0x10c)]),CoreConfig['mongoCollection']=_0x40a697[_0x4c67c9(0xdf)](_0x26bf8b[_0x4c67c9(0xe9)]),CoreConfig[_0x4c67c9(0x102)]=_0x40a697[_0x4c67c9(0xdf)](_0x26bf8b[_0x4c67c9(0xea)]),CoreConfig[_0x4c67c9(0xb2)]=(0x0,environ_1[_0x4c67c9(0xb8)])(_0x40a697['get'](_0x26bf8b[_0x4c67c9(0xf6)],0x258));}static['setup'](_0x139fed){const _0x3d4fc1=a2_0x52d655;return!this['instance']&&(this['instance']=new CoreConfig(_0x139fed)),this[_0x3d4fc1(0xcd)];}}exports[a2_0x52d655(0xd9)]=CoreConfig;
1
+ const a2_0x4674df=a2_0x5381;(function(_0xb3688c,_0x5cf319){const _0x4cfa42=a2_0x5381,_0x44c6a5=_0xb3688c();while(!![]){try{const _0x41903e=parseInt(_0x4cfa42(0xae))/0x1*(-parseInt(_0x4cfa42(0xb2))/0x2)+parseInt(_0x4cfa42(0x9b))/0x3*(-parseInt(_0x4cfa42(0x96))/0x4)+-parseInt(_0x4cfa42(0xb8))/0x5+parseInt(_0x4cfa42(0xbb))/0x6*(-parseInt(_0x4cfa42(0xad))/0x7)+parseInt(_0x4cfa42(0xa4))/0x8+-parseInt(_0x4cfa42(0xb3))/0x9+parseInt(_0x4cfa42(0x9a))/0xa;if(_0x41903e===_0x5cf319)break;else _0x44c6a5['push'](_0x44c6a5['shift']());}catch(_0x1a1807){_0x44c6a5['push'](_0x44c6a5['shift']());}}}(a2_0x59c4,0xb24e9));function a2_0x5381(_0x377f2f,_0x2f1200){const _0x237598=a2_0x59c4();return a2_0x5381=function(_0x519757,_0x219a19){_0x519757=_0x519757-0x8a;let _0x59c423=_0x237598[_0x519757];return _0x59c423;},a2_0x5381(_0x377f2f,_0x2f1200);}const a2_0x219a19=(function(){let _0x32b570=!![];return function(_0x35d10e,_0x21392a){const _0x5b9f3a=_0x32b570?function(){const _0x4056f7=a2_0x5381;if(_0x21392a){const _0x38a0c0=_0x21392a[_0x4056f7(0x8f)](_0x35d10e,arguments);return _0x21392a=null,_0x38a0c0;}}:function(){};return _0x32b570=![],_0x5b9f3a;};}()),a2_0x519757=a2_0x219a19(this,function(){const _0x363e64=a2_0x5381,_0x2341ce={'OYtLz':_0x363e64(0xa7)};return a2_0x519757[_0x363e64(0xa8)]()[_0x363e64(0x9e)](_0x2341ce[_0x363e64(0xba)])[_0x363e64(0xa8)]()[_0x363e64(0xa0)](a2_0x519757)[_0x363e64(0x9e)](_0x363e64(0xa7));});a2_0x519757();'use strict';Object[a2_0x4674df(0xb1)](exports,'__esModule',{'value':!![]}),exports['CoreConfig']=void 0x0;const environ_1=require('../utils/environ');function a2_0x59c4(){const _0x11609b=['24bzGIFR','GeminiKey','fdbHf','MONGODB_COLLECTION','COSMODB_SESSION_ID','SELF_URL','PICOFLOW_KEY','CoreConfig','MONGO','MQXTA','getOrThrow','instance','apply','trim','MONGODB_URL','LLM_TEMPERATURE','cddJC','VKHTa','mongoDB','17452PdtXWi','mongoURL','COSMODB_ID','mongoCollection','42124480NUcivN','321QlxJxK','GEMINI_KEY','get','search','OPENAI_KEY','constructor','XtghY','GetAs','sessionExpiration','9107816irduGZ','llmTemperature','FSlqF','(((.+)+)+)+$','toString','JglOG','SESSION_EXPIRATION','DOCUMENT_DB','EHeXM','2020907QWHIqN','29ygxisq','selfURL','documentDB','defineProperty','66206HvSVXY','11162763uzqJGw','TaOwG','ANTHROPIC_KEY','cosmoDbId','cosmoDbKey','3993205FouDvN','cosmoDbUrl','OYtLz'];a2_0x59c4=function(){return _0x11609b;};return a2_0x59c4();}class CoreConfig{constructor(_0x1c88ea){const _0x28e762=a2_0x4674df,_0x24e237={'fdbHf':_0x28e762(0x91),'XtghY':_0x28e762(0x92),'TaOwG':_0x28e762(0xc0),'VKHTa':'COSMODB_URL','EHeXM':'COSMODB_KEY','cddJC':_0x28e762(0x9c),'JQaXC':_0x28e762(0xbf),'FSlqF':'LLM_RETRY','JglOG':_0x28e762(0xb5),'wcNwn':'MONGODB_NAME','JSWBt':_0x28e762(0x9f),'MQXTA':_0x28e762(0xbe),'HQiWD':_0x28e762(0xab),'oLsBd':_0x28e762(0x8b)},_0xb2e13d='10|1|4|2|6|13|11|15|5|3|8|7|12|14|0|9'['split']('|');let _0x116b57=0x0;while(!![]){switch(_0xb2e13d[_0x116b57++]){case'0':CoreConfig[_0x28e762(0x97)]=_0x1c88ea[_0x28e762(0x8d)](_0x24e237[_0x28e762(0xbd)]);continue;case'1':CoreConfig[_0x28e762(0xa5)]=(0x0,environ_1['GetAs'])(_0x1c88ea[_0x28e762(0x9d)](_0x24e237[_0x28e762(0xa1)],0x0));continue;case'2':CoreConfig[_0x28e762(0xaf)]=_0x1c88ea[_0x28e762(0x9d)](_0x24e237[_0x28e762(0xb4)]);continue;case'3':CoreConfig[_0x28e762(0xb9)]=_0x1c88ea[_0x28e762(0x9d)](_0x24e237[_0x28e762(0x94)]);continue;case'4':CoreConfig['picoKey']=_0x1c88ea[_0x28e762(0x8d)](_0x28e762(0xc1))[_0x28e762(0x90)]();continue;case'5':CoreConfig[_0x28e762(0xb7)]=_0x1c88ea[_0x28e762(0x9d)](_0x24e237[_0x28e762(0xac)]);continue;case'6':CoreConfig[_0x28e762(0xbc)]=_0x1c88ea[_0x28e762(0x8d)](_0x24e237[_0x28e762(0x93)])[_0x28e762(0x90)]();continue;case'7':CoreConfig['cosmoDbSessionId']=_0x1c88ea[_0x28e762(0x9d)](_0x24e237['JQaXC']);continue;case'8':CoreConfig[_0x28e762(0xb6)]=_0x1c88ea[_0x28e762(0x9d)](_0x28e762(0x98));continue;case'9':CoreConfig[_0x28e762(0xa3)]=(0x0,environ_1['GetAs'])(_0x1c88ea['get'](_0x28e762(0xaa),0x258));continue;case'10':CoreConfig['llmRetry']=(0x0,environ_1[_0x28e762(0xa2)])(_0x1c88ea[_0x28e762(0x9d)](_0x24e237[_0x28e762(0xa6)],0x3));continue;case'11':CoreConfig['AnthropicKey']=_0x1c88ea[_0x28e762(0x8d)](_0x24e237[_0x28e762(0xa9)])[_0x28e762(0x90)]();continue;case'12':CoreConfig[_0x28e762(0x95)]=_0x1c88ea[_0x28e762(0x8d)](_0x24e237['wcNwn']);continue;case'13':CoreConfig['OpenAIKey']=_0x1c88ea[_0x28e762(0x8d)](_0x24e237['JSWBt'])[_0x28e762(0x90)]();continue;case'14':CoreConfig[_0x28e762(0x99)]=_0x1c88ea[_0x28e762(0x8d)](_0x24e237[_0x28e762(0x8c)]);continue;case'15':CoreConfig[_0x28e762(0xb0)]=_0x1c88ea[_0x28e762(0x9d)](_0x24e237['HQiWD'],_0x24e237['oLsBd']);continue;}break;}}static['setup'](_0x33a64c){const _0x868b9e=a2_0x4674df;return!this[_0x868b9e(0x8e)]&&(this[_0x868b9e(0x8e)]=new CoreConfig(_0x33a64c)),this['instance'];}}exports[a2_0x4674df(0x8a)]=CoreConfig;
@@ -1 +1 @@
1
- const a3_0x23d919=a3_0x136d;(function(_0x6ac01a,_0x203bf6){const _0x30d240=a3_0x136d,_0x4f08f0=_0x6ac01a();while(!![]){try{const _0x5d44f4=parseInt(_0x30d240(0x107))/0x1*(parseInt(_0x30d240(0x10a))/0x2)+parseInt(_0x30d240(0x10c))/0x3+parseInt(_0x30d240(0x108))/0x4+parseInt(_0x30d240(0x112))/0x5*(-parseInt(_0x30d240(0x106))/0x6)+-parseInt(_0x30d240(0x10b))/0x7+parseInt(_0x30d240(0x11b))/0x8+-parseInt(_0x30d240(0x113))/0x9;if(_0x5d44f4===_0x203bf6)break;else _0x4f08f0['push'](_0x4f08f0['shift']());}catch(_0x590969){_0x4f08f0['push'](_0x4f08f0['shift']());}}}(a3_0x273f,0x27f7b));function a3_0x136d(_0x496804,_0x6d3392){const _0x254e16=a3_0x273f();return a3_0x136d=function(_0x118d5f,_0x19c40a){_0x118d5f=_0x118d5f-0x106;let _0x273f38=_0x254e16[_0x118d5f];return _0x273f38;},a3_0x136d(_0x496804,_0x6d3392);}const a3_0x19c40a=(function(){let _0x361165=!![];return function(_0x3ab681,_0x100e6a){const _0x7d2f05=_0x361165?function(){const _0x4d5cea=a3_0x136d;if(_0x100e6a){const _0x40cdf9=_0x100e6a[_0x4d5cea(0x10d)](_0x3ab681,arguments);return _0x100e6a=null,_0x40cdf9;}}:function(){};return _0x361165=![],_0x7d2f05;};}()),a3_0x118d5f=a3_0x19c40a(this,function(){const _0x309456=a3_0x136d,_0x12dda2={'kYKyR':_0x309456(0x118)};return a3_0x118d5f[_0x309456(0x111)]()[_0x309456(0x11a)](_0x12dda2[_0x309456(0x109)])[_0x309456(0x111)]()[_0x309456(0x10f)](a3_0x118d5f)['search'](_0x12dda2[_0x309456(0x109)]);});a3_0x118d5f();'use strict';Object[a3_0x23d919(0x117)](exports,a3_0x23d919(0x115),{'value':!![]}),exports['StopToolMessage']=exports['StopToolPrompt']=void 0x0;const StopToolPrompt=()=>{return(_0x597485,_0x30188f,_0x30a40c)=>{const _0x5c6247=a3_0x136d,_0x258cd4=_0x30a40c[_0x5c6247(0x10e)];return _0x30a40c[_0x5c6247(0x10e)]=async function(..._0xf86f7a){let _0x3e1553=await _0x258cd4['apply'](this);return _0x3e1553=await this['amendTool'](_0x3e1553),_0x3e1553;},_0x30a40c;};};exports[a3_0x23d919(0x114)]=StopToolPrompt;function a3_0x273f(){const _0x3b00c4=['243hCKoCh','1151264UnNiUG','kYKyR','1128GFGoeo','963872dNpAOp','750258ICYygw','apply','value','constructor','StopToolMessage','toString','225IFmiaG','4864716YBzESO','StopToolPrompt','__esModule','name','defineProperty','(((.+)+)+)+$','setStopTool','search','2000344VeGuYv','11076TQOjnL'];a3_0x273f=function(){return _0x3b00c4;};return a3_0x273f();}const StopToolMessage=()=>{return(_0x1653aa,_0x2b1c86,_0x214ebb)=>{const _0x4a4212=a3_0x136d,_0x4d0c48=_0x214ebb[_0x4a4212(0x10e)];return _0x214ebb[_0x4a4212(0x10e)]=async function(..._0x5c37e5){const _0xa44fa5=_0x4a4212,_0x364251=_0x5c37e5[0x0],_0xcf6197=await _0x4d0c48[_0xa44fa5(0x10d)](this,_0x5c37e5);return this[_0xa44fa5(0x119)](_0xcf6197,_0x364251[_0xa44fa5(0x116)]);},_0x214ebb;};};exports[a3_0x23d919(0x110)]=StopToolMessage;
1
+ const a3_0x54426e=a3_0x4e43;(function(_0x1d10c1,_0x21b582){const _0x46865b=a3_0x4e43,_0xe05d50=_0x1d10c1();while(!![]){try{const _0x1ca099=parseInt(_0x46865b(0x19e))/0x1+parseInt(_0x46865b(0x19f))/0x2*(-parseInt(_0x46865b(0x18f))/0x3)+parseInt(_0x46865b(0x198))/0x4*(-parseInt(_0x46865b(0x18d))/0x5)+parseInt(_0x46865b(0x19a))/0x6+-parseInt(_0x46865b(0x18e))/0x7+-parseInt(_0x46865b(0x199))/0x8*(-parseInt(_0x46865b(0x194))/0x9)+parseInt(_0x46865b(0x193))/0xa;if(_0x1ca099===_0x21b582)break;else _0xe05d50['push'](_0xe05d50['shift']());}catch(_0x20ad46){_0xe05d50['push'](_0xe05d50['shift']());}}}(a3_0x3d75,0xc21b5));const a3_0x44cb4d=(function(){let _0x3599af=!![];return function(_0x49996e,_0x5c4854){const _0x3219bb=_0x3599af?function(){const _0x475252=a3_0x4e43;if(_0x5c4854){const _0x519854=_0x5c4854[_0x475252(0x19d)](_0x49996e,arguments);return _0x5c4854=null,_0x519854;}}:function(){};return _0x3599af=![],_0x3219bb;};}()),a3_0xaf07cd=a3_0x44cb4d(this,function(){const _0xafc298=a3_0x4e43,_0x101af3={'AFUgS':'(((.+)+)+)+$'};return a3_0xaf07cd[_0xafc298(0x1a0)]()[_0xafc298(0x197)](_0x101af3[_0xafc298(0x190)])[_0xafc298(0x1a0)]()[_0xafc298(0x192)](a3_0xaf07cd)[_0xafc298(0x197)](_0x101af3[_0xafc298(0x190)]);});function a3_0x4e43(_0x342331,_0x7e8798){const _0x2653f7=a3_0x3d75();return a3_0x4e43=function(_0xaf07cd,_0x44cb4d){_0xaf07cd=_0xaf07cd-0x18d;let _0x3d758e=_0x2653f7[_0xaf07cd];return _0x3d758e;},a3_0x4e43(_0x342331,_0x7e8798);}a3_0xaf07cd();'use strict';Object['defineProperty'](exports,a3_0x54426e(0x19b),{'value':!![]}),exports[a3_0x54426e(0x195)]=exports[a3_0x54426e(0x19c)]=void 0x0;const StopToolPrompt=()=>{return(_0x56b77f,_0x43e2d4,_0x240e1e)=>{const _0x2531cf=a3_0x4e43,_0x40b74a=_0x240e1e[_0x2531cf(0x196)];return _0x240e1e[_0x2531cf(0x196)]=async function(..._0x24c24b){const _0x476c79=_0x2531cf;let _0x566732=await _0x40b74a[_0x476c79(0x19d)](this);return _0x566732=await this['amendTool'](_0x566732),_0x566732;},_0x240e1e;};};function a3_0x3d75(){const _0x15f3a0=['6473306guZRKJ','3120822jvRrvy','AFUgS','name','constructor','2738760gJTgZr','2207403xRHvph','StopToolMessage','value','search','5051680PsxdGu','48nNscew','4244652sbrPtE','__esModule','StopToolPrompt','apply','1570093PxlCWg','2cqCOER','toString','5QBbCyp'];a3_0x3d75=function(){return _0x15f3a0;};return a3_0x3d75();}exports[a3_0x54426e(0x19c)]=StopToolPrompt;const StopToolMessage=()=>{return(_0x351641,_0x19d125,_0x5426f5)=>{const _0x4433a9=a3_0x4e43,_0x1ec603=_0x5426f5[_0x4433a9(0x196)];return _0x5426f5['value']=async function(..._0x5d5003){const _0x1137ad=_0x4433a9,_0xc5932e=_0x5d5003[0x0],_0x3b580b=await _0x1ec603[_0x1137ad(0x19d)](this,_0x5d5003);return this['setStopTool'](_0x3b580b,_0xc5932e[_0x1137ad(0x191)]);},_0x5426f5;};};exports[a3_0x54426e(0x195)]=StopToolMessage;
@@ -1 +1 @@
1
- 'use strict';var a4_0xaff887=a4_0x46c8;(function(_0x42e18d,_0x14ad6a){var _0x16c704=a4_0x46c8,_0x22059a=_0x42e18d();while(!![]){try{var _0x165011=-parseInt(_0x16c704(0x1ba))/0x1+parseInt(_0x16c704(0x1d2))/0x2+-parseInt(_0x16c704(0x1e2))/0x3+parseInt(_0x16c704(0x1ac))/0x4*(parseInt(_0x16c704(0x1e8))/0x5)+-parseInt(_0x16c704(0x1f3))/0x6*(parseInt(_0x16c704(0x1d1))/0x7)+-parseInt(_0x16c704(0x19b))/0x8+parseInt(_0x16c704(0x19f))/0x9;if(_0x165011===_0x14ad6a)break;else _0x22059a['push'](_0x22059a['shift']());}catch(_0x3fd9eb){_0x22059a['push'](_0x22059a['shift']());}}}(a4_0x113f,0xe05a7));function a4_0x46c8(_0x40bc3f,_0x46c766){var _0x1e65d7=a4_0x113f();return a4_0x46c8=function(_0x3361dc,_0x139d79){_0x3361dc=_0x3361dc-0x18c;var _0x113f53=_0x1e65d7[_0x3361dc];return _0x113f53;},a4_0x46c8(_0x40bc3f,_0x46c766);}Object['defineProperty'](exports,a4_0xaff887(0x1df),{'value':!![]}),exports[a4_0xaff887(0x1fb)]=void 0x0;var HttpContentType;function a4_0x113f(){var _0x429605=['KChKt','Yaml','HttpContentType','12|37|7|2|0|8|24|3|13|19|28|17|26|18|35|16|15|31|20|6|22|30|5|4|21|1|10|29|32|33|39|23|25|9|38|27|14|34|36|11','Gzip','Docx','application/xml','FdsQF','Rtf','image/jpeg','Ebxlj','xfwFR','image/svg+xml','text/plain','application/x-yaml','vdJiL','application/ld+json','application/vnd.oasis.opendocument.spreadsheet','KQDJI','XaxXO','Ogg','ccYED','QPJne','6506376UfyfVa','split','application/json','Webp','25399791ITOEuF','bzGAE','BhaKT','RfLnz','apply','pWghq','toString','(((.+)+)+)+$','Webm','lRaeH','SvvfB','multipart/form-data','HlNmk','3866068OhbZIz','Plain','Ods','Xls','Markdown','CPqPd','oUFGd','Json','MultipartFormData','application/octet-stream','application/vnd.oasis.opendocument.text','CAnRY','oZdtG','mYDgm','537541BvvBYz','text/markdown','RssXml','Xlsx','FormUrlEncoded','Html','olOAo','Gif','LtdrO','Xml','application/pdf','ExDyU','Png','OctetStream','EXQjH','Zip','image/webp','Csv','audio/mpeg','AtomXml','jDpeC','xUvNm','OTioC','7MkBWtD','3253222iaQblV','StwiF','DigZV','RqCEX','JsonApi','text/xml','text/rtf','image/png','PBtan','MsWord','Jpeg','application/vnd.api+json','ojZNn','__esModule','search','SGhjI','4542171mOkEFQ','JEFVb','video/webm','video/mp4','dnpyo','NoTtp','5MzZWsm','text/csv','TextXml','oyUEk','application/rss+xml','sINIE','hyKHD','OIZlt','aVogB','text/html','application/x-www-form-urlencoded','9788886BmZcda','application/gzip','Pdf','Tar','TextYaml','oPQlE'];a4_0x113f=function(){return _0x429605;};return a4_0x113f();}(function(_0x53f2dc){var _0x157cc9=a4_0xaff887,_0xfe6d6d={'FdsQF':_0x157cc9(0x1fc),'JEFVb':_0x157cc9(0x1b3),'hEfQa':_0x157cc9(0x19d),'olOAo':_0x157cc9(0x1bd),'DigZV':'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','sINIE':function(_0x103e36){return _0x103e36();},'ojZNn':_0x157cc9(0x1ec),'XUaeH':_0x157cc9(0x1cb),'EXQjH':_0x157cc9(0x1b0),'NoTtp':_0x157cc9(0x1bb),'OTioC':_0x157cc9(0x1fe),'tizwd':'application/vnd.openxmlformats-officedocument.wordprocessingml.document','MIriJ':function(_0x19985a,_0x3af8b6,_0x506b38){return _0x19985a(_0x3af8b6,_0x506b38);},'oyUEk':_0x157cc9(0x1c3),'tUTVY':_0x157cc9(0x1ff),'dnpyo':_0x157cc9(0x198),'PBtan':_0x157cc9(0x1ae),'hyKHD':_0x157cc9(0x1f6),'LtdrO':_0x157cc9(0x1a6),'pWghq':_0x157cc9(0x1cd),'QPJne':_0x157cc9(0x1c7),'mYDgm':_0x157cc9(0x1b5),'EWGbR':_0x157cc9(0x1ad),'pmMAd':_0x157cc9(0x191),'ahtew':_0x157cc9(0x1bf),'CPqPd':'JsonLd','CAnRY':_0x157cc9(0x194),'kFzsu':_0x157cc9(0x1b4),'xfwFR':_0x157cc9(0x1aa),'OIZlt':_0x157cc9(0x1db),'BhaKT':'application/msword','sIxFj':_0x157cc9(0x1af),'oUFGd':'Odt','lRaeH':_0x157cc9(0x1b6),'jDpeC':'Svg','RfLnz':_0x157cc9(0x190),'SGhjI':_0x157cc9(0x1ea),'KQDJI':_0x157cc9(0x1d7),'KChKt':'Mp3','dFRXV':_0x157cc9(0x1cc),'vdJiL':_0x157cc9(0x1be),'Ebxlj':_0x157cc9(0x1f2),'aVogB':_0x157cc9(0x1a7),'ccYED':_0x157cc9(0x1e4),'RqCEX':_0x157cc9(0x1f7),'LwOPd':_0x157cc9(0x18c),'QhhaU':_0x157cc9(0x1c4),'XaxXO':_0x157cc9(0x1dc),'xUvNm':_0x157cc9(0x18d),'Ppnxd':_0x157cc9(0x1c1),'ExDyU':'image/gif','EjFSZ':_0x157cc9(0x1c9),'SvvfB':'application/zip','StwiF':_0x157cc9(0x1d6),'roZnG':_0x157cc9(0x1dd),'oPQlE':_0x157cc9(0x1fd),'oZdtG':_0x157cc9(0x1e5),'HlNmk':_0x157cc9(0x1ca)},_0x532cb3=_0xfe6d6d[_0x157cc9(0x200)][_0x157cc9(0x19c)]('|'),_0x3b79d8=0x0;while(!![]){switch(_0x532cb3[_0x3b79d8++]){case'0':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1e3)]]=_0xfe6d6d['hEfQa'];continue;case'1':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1c0)]]=_0xfe6d6d[_0x157cc9(0x1d4)];continue;case'2':_0xfe6d6d[_0x157cc9(0x1ed)](_0x553342);continue;case'3':_0x53f2dc[_0x157cc9(0x1bc)]=_0xfe6d6d[_0x157cc9(0x1de)];continue;case'4':_0x53f2dc[_0xfe6d6d['XUaeH']]=_0x157cc9(0x1e9);continue;case'5':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1c8)]]=_0xfe6d6d[_0x157cc9(0x1e7)];continue;case'6':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1d0)]]=_0xfe6d6d['tizwd'];continue;case'7':var _0x553342=_0xfe6d6d['MIriJ'](_0x999322,this,function(){var _0x2bf5bc=_0x157cc9;return _0x553342[_0x2bf5bc(0x1a5)]()[_0x2bf5bc(0x1e0)](_0x3e924f[_0x2bf5bc(0x1a0)])[_0x2bf5bc(0x1a5)]()['constructor'](_0x553342)[_0x2bf5bc(0x1e0)](_0x3e924f[_0x2bf5bc(0x1a0)]);});continue;case'8':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1eb)]]=_0xfe6d6d['tUTVY'];continue;case'9':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1e6)]]='audio/ogg';continue;case'10':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1da)]]=_0x157cc9(0x195);continue;case'11':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1ee)]]='application/x-tar';continue;case'12':var _0x3e924f={'bzGAE':_0xfe6d6d[_0x157cc9(0x1c2)]};continue;case'13':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1a4)]]='application/atom+xml';continue;case'14':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x19a)]]=_0xfe6d6d[_0x157cc9(0x1b9)];continue;case'15':_0x53f2dc[_0xfe6d6d['EWGbR']]=_0xfe6d6d['pmMAd'];continue;case'16':_0x53f2dc[_0xfe6d6d['ahtew']]=_0x157cc9(0x1f1);continue;case'17':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1b1)]]=_0xfe6d6d[_0x157cc9(0x1b7)];continue;case'18':_0x53f2dc[_0xfe6d6d['kFzsu']]=_0xfe6d6d[_0x157cc9(0x18f)];continue;case'19':_0x53f2dc[_0x157cc9(0x1fa)]=_0x157cc9(0x192);continue;case'20':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1ef)]]=_0xfe6d6d[_0x157cc9(0x1a1)];continue;case'21':_0x53f2dc[_0xfe6d6d['sIxFj']]='application/vnd.ms-excel';continue;case'22':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1b2)]]=_0xfe6d6d[_0x157cc9(0x1a8)];continue;case'23':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1ce)]]=_0xfe6d6d[_0x157cc9(0x1a2)];continue;case'24':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1e1)]]=_0xfe6d6d[_0x157cc9(0x196)];continue;case'25':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1f9)]]=_0xfe6d6d['dFRXV'];continue;case'26':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x193)]]=_0xfe6d6d[_0x157cc9(0x18e)];continue;case'27':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1f0)]]=_0xfe6d6d[_0x157cc9(0x199)];continue;case'28':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1d5)]]='text/yaml';continue;case'29':_0x53f2dc[_0x157cc9(0x1c6)]=_0x157cc9(0x1d9);continue;case'30':_0x53f2dc[_0xfe6d6d['LwOPd']]=_0x157cc9(0x1d8);continue;case'31':_0x53f2dc[_0x157cc9(0x1f5)]=_0xfe6d6d['QhhaU'];continue;case'32':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x197)]]=_0xfe6d6d[_0x157cc9(0x1cf)];continue;case'33':_0x53f2dc[_0xfe6d6d['Ppnxd']]=_0xfe6d6d[_0x157cc9(0x1c5)];continue;case'34':_0x53f2dc[_0xfe6d6d['EjFSZ']]=_0xfe6d6d[_0x157cc9(0x1a9)];continue;case'35':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1d3)]]=_0xfe6d6d['roZnG'];continue;case'36':_0x53f2dc[_0xfe6d6d[_0x157cc9(0x1f8)]]=_0x157cc9(0x1f4);continue;case'37':var _0x999322=(function(){var _0x2c83f5=!![];return function(_0x1a0faf,_0x44cfff){var _0x2ad9f5=_0x2c83f5?function(){var _0x3d4510=a4_0x46c8;if(_0x44cfff){var _0x3a1a11=_0x44cfff[_0x3d4510(0x1a3)](_0x1a0faf,arguments);return _0x44cfff=null,_0x3a1a11;}}:function(){};return _0x2c83f5=![],_0x2ad9f5;};}());continue;case'38':_0x53f2dc['Mp4']=_0xfe6d6d[_0x157cc9(0x1b8)];continue;case'39':_0x53f2dc[_0x157cc9(0x19e)]=_0xfe6d6d[_0x157cc9(0x1ab)];continue;}break;}}(HttpContentType||(exports[a4_0xaff887(0x1fb)]=HttpContentType={})));
1
+ 'use strict';var a4_0x414225=a4_0xa277;(function(_0x186531,_0x5008b1){var _0xa0498=a4_0xa277,_0x1ae543=_0x186531();while(!![]){try{var _0x4c400d=parseInt(_0xa0498(0xc5))/0x1*(-parseInt(_0xa0498(0x9c))/0x2)+parseInt(_0xa0498(0xb2))/0x3*(-parseInt(_0xa0498(0xae))/0x4)+-parseInt(_0xa0498(0xcc))/0x5+parseInt(_0xa0498(0xdf))/0x6+parseInt(_0xa0498(0x9b))/0x7*(parseInt(_0xa0498(0xc2))/0x8)+-parseInt(_0xa0498(0xa8))/0x9+parseInt(_0xa0498(0xd5))/0xa;if(_0x4c400d===_0x5008b1)break;else _0x1ae543['push'](_0x1ae543['shift']());}catch(_0x16a9ad){_0x1ae543['push'](_0x1ae543['shift']());}}}(a4_0x236b,0xd1871));function a4_0xa277(_0xf4e3cf,_0x485ddc){var _0x4d204f=a4_0x236b();return a4_0xa277=function(_0x5f18a3,_0x51e818){_0x5f18a3=_0x5f18a3-0x70;var _0x236b75=_0x4d204f[_0x5f18a3];return _0x236b75;},a4_0xa277(_0xf4e3cf,_0x485ddc);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a4_0x414225(0x85)]=void 0x0;var HttpContentType;function a4_0x236b(){var _0x9fa7a3=['Ogg','aCUPN','application/msword','OctetStream','Webm','Pdf','text/markdown','(((.+)+)+)+$','jkFdu','FormUrlEncoded','pGmtd','application/pdf','Mp4','image/svg+xml','428216OljMTb','HdEBP','application/gzip','9502lreASv','Ods','lyfTE','fDRTu','Odt','CyohF','EWVoT','3808285EMeodT','application/ld+json','23|24|36|3|30|26|28|2|33|27|6|35|11|13|12|25|4|29|20|38|5|39|37|34|14|10|32|22|18|0|31|17|8|9|19|15|1|7|21|16','application/rss+xml','Gif','application/vnd.ms-excel','Docx','JdVRv','NhNPg','26598000LdfeGA','Markdown','text/csv','Xml','Json','Tar','irWwd','Rtf','cTjPM','otyRt','1744314ZglCQR','Jpeg','CAQhh','text/xml','application/atom+xml','RssXml','Dhclt','constructor','JsonApi','yWTZs','application/vnd.oasis.opendocument.text','wPood','nQwMo','wOEFF','bAglD','AXXKj','ECPSL','TextYaml','Ubcwr','Webp','UVLCU','AtomXml','application/vnd.openxmlformats-officedocument.wordprocessingml.document','application/vnd.api+json','USWWF','HttpContentType','video/webm','EHhUu','MkZiM','application/x-yaml','ItLIF','abWPK','MultipartFormData','Mp3','application/zip','audio/ogg','application/x-tar','Plain','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','tTxUd','Yaml','toString','PJPCX','aAqim','Xlsx','QxZzj','search','28eMWnWW','2VOPCtr','Zip','bxqkF','JsonLd','RNUun','split','aFdej','JkGbw','ulVAn','MsWord','dCGIF','text/rtf','13795479EvXGNU','application/x-www-form-urlencoded','Csv','image/jpeg','TextXml','SJtUJ','536VarQMB','loEHn','YxIBN','CcHtF','54AVDKZW','eAGDr'];a4_0x236b=function(){return _0x9fa7a3;};return a4_0x236b();}(function(_0x19f6e2){var _0x1f0c9d=a4_0x414225,_0x318d5d={'otyRt':_0x1f0c9d(0xce),'lyfTE':_0x1f0c9d(0xd0),'PJPCX':'image/gif','CcHtF':_0x1f0c9d(0x71),'AXXKj':_0x1f0c9d(0xcf),'ZlyRs':function(_0x3352a4){return _0x3352a4();},'rSqqO':_0x1f0c9d(0x91),'YxIBN':'text/plain','HdEBP':_0x1f0c9d(0xc9),'ItLIF':_0x1f0c9d(0x76),'NodtN':_0x1f0c9d(0x7d),'irWwd':'text/yaml','wOEFF':_0x1f0c9d(0x8e),'ulVAn':_0x1f0c9d(0x8d),'CyohF':'audio/mpeg','sKhaE':_0x1f0c9d(0xb4),'BiMZk':_0x1f0c9d(0x8f),'tTxUd':_0x1f0c9d(0xbd),'JdVRv':_0x1f0c9d(0xa9),'abWPK':_0x1f0c9d(0x74),'SJtUJ':'multipart/form-data','dCGIF':_0x1f0c9d(0xd1),'EWVoT':_0x1f0c9d(0xb8),'XdOTw':_0x1f0c9d(0x86),'wPood':_0x1f0c9d(0xda),'aFdej':'Svg','NhNPg':_0x1f0c9d(0xe0),'ObIBK':_0x1f0c9d(0xc0),'pGmtd':'video/mp4','USWWF':_0x1f0c9d(0xa5),'zYCyz':_0x1f0c9d(0xb6),'Dhclt':_0x1f0c9d(0xc4),'bxqkF':_0x1f0c9d(0xbb),'cTjPM':'application/xml','EHhUu':_0x1f0c9d(0x94),'yWTZs':_0x1f0c9d(0x89),'loEHn':_0x1f0c9d(0xac),'UVLCU':_0x1f0c9d(0xe2),'MNAqA':_0x1f0c9d(0xb9),'QxZzj':_0x1f0c9d(0xbf),'ECPSL':_0x1f0c9d(0xd9),'nQwMo':_0x1f0c9d(0x7f),'bAglD':'image/webp','XEguQ':'application/vnd.oasis.opendocument.spreadsheet','aCUPN':_0x1f0c9d(0x81),'eAGDr':_0x1f0c9d(0x70),'KnGgk':_0x1f0c9d(0xaa),'JkGbw':_0x1f0c9d(0xd7),'MkZiM':_0x1f0c9d(0x9f),'KsJBu':_0x1f0c9d(0xcd),'CAQhh':function(_0x52890c,_0x4d0b3b,_0x2e8a4e){return _0x52890c(_0x4d0b3b,_0x2e8a4e);},'aAqim':_0x1f0c9d(0xba),'Ubcwr':_0x1f0c9d(0xd2),'RNUun':_0x1f0c9d(0x82),'jkFdu':_0x1f0c9d(0xdc)},_0x4a9633=_0x318d5d[_0x1f0c9d(0xde)][_0x1f0c9d(0xa1)]('|'),_0x22332f=0x0;while(!![]){switch(_0x4a9633[_0x22332f++]){case'0':_0x19f6e2[_0x318d5d[_0x1f0c9d(0xc7)]]=_0x318d5d[_0x1f0c9d(0x96)];continue;case'1':_0x19f6e2[_0x1f0c9d(0xb7)]='application/octet-stream';continue;case'2':_0x19f6e2[_0x318d5d[_0x1f0c9d(0xb1)]]=_0x318d5d[_0x1f0c9d(0x7b)];continue;case'3':_0x318d5d['ZlyRs'](_0x1f8f52);continue;case'4':_0x19f6e2[_0x318d5d['rSqqO']]=_0x318d5d[_0x1f0c9d(0xb0)];continue;case'5':_0x19f6e2[_0x318d5d[_0x1f0c9d(0xc3)]]=_0x318d5d[_0x1f0c9d(0x8a)];continue;case'6':_0x19f6e2[_0x318d5d['NodtN']]=_0x318d5d[_0x1f0c9d(0xdb)];continue;case'7':_0x19f6e2[_0x1f0c9d(0x9d)]=_0x318d5d[_0x1f0c9d(0x79)];continue;case'8':_0x19f6e2[_0x318d5d[_0x1f0c9d(0xa4)]]=_0x318d5d[_0x1f0c9d(0xca)];continue;case'9':_0x19f6e2[_0x318d5d['sKhaE']]=_0x318d5d['BiMZk'];continue;case'10':_0x19f6e2[_0x1f0c9d(0x98)]=_0x1f0c9d(0x92);continue;case'11':_0x19f6e2[_0x318d5d[_0x1f0c9d(0x93)]]=_0x318d5d[_0x1f0c9d(0xd3)];continue;case'12':_0x19f6e2[_0x318d5d[_0x1f0c9d(0x8b)]]=_0x1f0c9d(0x83);continue;case'13':_0x19f6e2[_0x1f0c9d(0x8c)]=_0x318d5d[_0x1f0c9d(0xad)];continue;case'14':_0x19f6e2['Xls']=_0x318d5d[_0x1f0c9d(0xa6)];continue;case'15':_0x19f6e2[_0x318d5d[_0x1f0c9d(0xcb)]]=_0x318d5d['XdOTw'];continue;case'16':_0x19f6e2[_0x318d5d[_0x1f0c9d(0x77)]]=_0x1f0c9d(0x90);continue;case'17':_0x19f6e2[_0x318d5d[_0x1f0c9d(0xa2)]]=_0x1f0c9d(0xc1);continue;case'18':_0x19f6e2[_0x318d5d[_0x1f0c9d(0xd4)]]=_0x1f0c9d(0xab);continue;case'19':_0x19f6e2[_0x318d5d['ObIBK']]=_0x318d5d[_0x1f0c9d(0xbe)];continue;case'20':_0x19f6e2[_0x318d5d[_0x1f0c9d(0x84)]]=_0x318d5d['zYCyz'];continue;case'21':_0x19f6e2['Gzip']=_0x318d5d[_0x1f0c9d(0x72)];continue;case'22':_0x19f6e2['Png']='image/png';continue;case'23':var _0x469981={'fDRTu':_0x318d5d[_0x1f0c9d(0x9e)]};continue;case'24':var _0x4f5c62=(function(){var _0x3f63e9=!![];return function(_0x1460b0,_0x164ee2){var _0x590dab=_0x3f63e9?function(){if(_0x164ee2){var _0x12ccba=_0x164ee2['apply'](_0x1460b0,arguments);return _0x164ee2=null,_0x12ccba;}}:function(){};return _0x3f63e9=![],_0x590dab;};}());continue;case'25':_0x19f6e2['Html']='text/html';continue;case'26':_0x19f6e2[_0x1f0c9d(0xd8)]=_0x318d5d[_0x1f0c9d(0xdd)];continue;case'27':_0x19f6e2[_0x318d5d[_0x1f0c9d(0x87)]]=_0x318d5d[_0x1f0c9d(0x75)];continue;case'28':_0x19f6e2[_0x318d5d[_0x1f0c9d(0xaf)]]=_0x318d5d[_0x1f0c9d(0x80)];continue;case'29':_0x19f6e2[_0x318d5d['MNAqA']]=_0x318d5d[_0x1f0c9d(0x99)];continue;case'30':_0x19f6e2[_0x318d5d[_0x1f0c9d(0x7c)]]='application/json';continue;case'31':_0x19f6e2[_0x318d5d[_0x1f0c9d(0x78)]]=_0x318d5d[_0x1f0c9d(0x7a)];continue;case'32':_0x19f6e2[_0x1f0c9d(0xc6)]=_0x318d5d['XEguQ'];continue;case'33':_0x19f6e2[_0x318d5d[_0x1f0c9d(0xb5)]]=_0x318d5d[_0x1f0c9d(0xb3)];continue;case'34':_0x19f6e2[_0x318d5d['KnGgk']]=_0x318d5d[_0x1f0c9d(0xa3)];continue;case'35':_0x19f6e2[_0x318d5d[_0x1f0c9d(0x88)]]=_0x318d5d['KsJBu'];continue;case'36':var _0x1f8f52=_0x318d5d[_0x1f0c9d(0xe1)](_0x4f5c62,this,function(){var _0x5d5c41=_0x1f0c9d;return _0x1f8f52[_0x5d5c41(0x95)]()[_0x5d5c41(0x9a)](_0x469981[_0x5d5c41(0xc8)])[_0x5d5c41(0x95)]()[_0x5d5c41(0x73)](_0x1f8f52)[_0x5d5c41(0x9a)](_0x469981[_0x5d5c41(0xc8)]);});continue;case'37':_0x19f6e2[_0x1f0c9d(0xd6)]=_0x318d5d[_0x1f0c9d(0x97)];continue;case'38':_0x19f6e2[_0x318d5d[_0x1f0c9d(0x7e)]]=_0x318d5d[_0x1f0c9d(0xa0)];continue;case'39':_0x19f6e2[_0x318d5d[_0x1f0c9d(0xbc)]]=_0x1f0c9d(0xa7);continue;}break;}}(HttpContentType||(exports['HttpContentType']=HttpContentType={})));
package/flow/end-step.js CHANGED
@@ -1 +1 @@
1
- const a5_0x1a3c29=a5_0x18ff;(function(_0x500d87,_0x30c850){const _0xf9b9af=a5_0x18ff,_0x2d7dd0=_0x500d87();while(!![]){try{const _0x4423d1=-parseInt(_0xf9b9af(0xa6))/0x1+parseInt(_0xf9b9af(0x91))/0x2+parseInt(_0xf9b9af(0xa9))/0x3*(parseInt(_0xf9b9af(0x89))/0x4)+-parseInt(_0xf9b9af(0x86))/0x5+parseInt(_0xf9b9af(0x8e))/0x6+parseInt(_0xf9b9af(0x9f))/0x7*(-parseInt(_0xf9b9af(0xad))/0x8)+-parseInt(_0xf9b9af(0xaa))/0x9*(-parseInt(_0xf9b9af(0x97))/0xa);if(_0x4423d1===_0x30c850)break;else _0x2d7dd0['push'](_0x2d7dd0['shift']());}catch(_0x3642e6){_0x2d7dd0['push'](_0x2d7dd0['shift']());}}}(a5_0x25a7,0xbfafe));const a5_0x5b34d0=(function(){const _0x26a6fb=a5_0x18ff,_0x1546e8={'ZgkMD':function(_0xd2d9d2,_0xb556c4){return _0xd2d9d2===_0xb556c4;},'gVmHz':_0x26a6fb(0x95)};let _0x12d856=!![];return function(_0x150595,_0x4f08a4){const _0x3c58e5=_0x12d856?function(){const _0x50df8b=a5_0x18ff;if(_0x1546e8['ZgkMD']('AgJjR',_0x1546e8[_0x50df8b(0x83)])){if(_0x4f08a4){const _0x412e16=_0x4f08a4[_0x50df8b(0x8c)](_0x150595,arguments);return _0x4f08a4=null,_0x412e16;}}else return!![];}:function(){};return _0x12d856=![],_0x3c58e5;};}()),a5_0x16f824=a5_0x5b34d0(this,function(){const _0x2f00f3=a5_0x18ff,_0x1c5074={'kztPO':_0x2f00f3(0x96)};return a5_0x16f824[_0x2f00f3(0x99)]()['search'](_0x1c5074[_0x2f00f3(0x94)])[_0x2f00f3(0x99)]()['constructor'](a5_0x16f824)[_0x2f00f3(0xae)](_0x1c5074[_0x2f00f3(0x94)]);});a5_0x16f824();'use strict';var __importDefault=this&&this[a5_0x1a3c29(0x88)]||function(_0x1c9953){return _0x1c9953&&_0x1c9953['__esModule']?_0x1c9953:{'default':_0x1c9953};};Object[a5_0x1a3c29(0x9e)](exports,a5_0x1a3c29(0x84),{'value':!![]}),exports['EndStep']=void 0x0;const zod_1=__importDefault(require('zod')),message_util_1=require(a5_0x1a3c29(0x8b)),step_1=require(a5_0x1a3c29(0x93)),AbruptEndPrompt=a5_0x1a3c29(0xa3);function a5_0x25a7(){const _0x1834e8=['search','gVmHz','__esModule','FivYQ','3523100bCxaPL','runStatus','__importDefault','152hNJJgF','end\x20the\x20chat\x20conversation','../utils/message-util','apply','I\x27m\x20done\x20with\x20chat','6993954aakMcY','defineTool','onEnter','606528vTEZDe','isEnd','./step','kztPO','AgJjR','(((.+)+)+)+$','60wqTqiV','end_chat','toString','completed','JYsCH','onCrossing','default','defineProperty','3290onwanY','DYCrI','string','getPrompt','\x0aNicely\x20tell\x20the\x20user\x20this\x20is\x20the\x20end\x20of\x20conversation\x20as\x20they\x20requested,\x20you\x20MUST\x20NOT\x20talk\x20other\x20things!\x0a','describe','XGQGD','125897plATKZ','the\x20prompt\x20to\x20be\x20displayed\x20later','cmUDv','40317GliUvv','1140453pDsots','hDALH','getSessionDoc','19136HSTQjq'];a5_0x25a7=function(){return _0x1834e8;};return a5_0x25a7();}class EndStep extends step_1['Step']{constructor(_0x292df5,_0x10ccae){super(EndStep,_0x292df5,_0x10ccae);}[a5_0x1a3c29(0x9c)](_0x240b26,_0x2cdf24){const _0x1503f4=a5_0x1a3c29,_0x570db9={'JYsCH':_0x1503f4(0x8d)};return new message_util_1['HumanMessageEx'](this,_0x570db9[_0x1503f4(0x9b)]);}[a5_0x1a3c29(0x92)](){return!![];}[a5_0x1a3c29(0x90)](){const _0x43d4d7=a5_0x1a3c29,_0x121747={'XGQGD':_0x43d4d7(0x9a)},_0x39f0dc=this['flow'][_0x43d4d7(0xac)]();_0x39f0dc[_0x43d4d7(0x87)]=_0x121747[_0x43d4d7(0xa5)];}[a5_0x1a3c29(0xa2)](){const _0xd2f5ad=a5_0x1a3c29,_0x513131={'FivYQ':function(_0x31a51d,_0x21c165){return _0x31a51d!==_0x21c165;},'hDALH':'ieKRo'},_0x1c6694=super[_0xd2f5ad(0xa2)]();if(_0x1c6694){if(_0x513131[_0xd2f5ad(0x85)](_0x513131[_0xd2f5ad(0xab)],_0x513131[_0xd2f5ad(0xab)])){if(_0xe2b3ff){const _0x3b2e4c=_0x409e22[_0xd2f5ad(0x8c)](_0x2d075a,arguments);return _0x2b6151=null,_0x3b2e4c;}}else return _0x1c6694;}else return AbruptEndPrompt;}[a5_0x1a3c29(0x8f)](){const _0x49a3a1=a5_0x1a3c29,_0x5f0c6c={'bEHPJ':_0x49a3a1(0x98),'DYCrI':_0x49a3a1(0x8a),'cmUDv':_0x49a3a1(0xa7)};return[{'name':_0x5f0c6c['bEHPJ'],'description':_0x5f0c6c[_0x49a3a1(0xa0)],'schema':zod_1[_0x49a3a1(0x9d)]['object']({'prompt':zod_1['default'][_0x49a3a1(0xa1)]()[_0x49a3a1(0xa4)](_0x5f0c6c[_0x49a3a1(0xa8)])})}];}async[a5_0x1a3c29(0x98)](_0x15ddcb){return{'step':EndStep};}}function a5_0x18ff(_0x3fd6f9,_0x54c063){const _0x24bba6=a5_0x25a7();return a5_0x18ff=function(_0x16f824,_0x5b34d0){_0x16f824=_0x16f824-0x83;let _0x25a7ed=_0x24bba6[_0x16f824];return _0x25a7ed;},a5_0x18ff(_0x3fd6f9,_0x54c063);}exports['EndStep']=EndStep;
1
+ const a5_0x334b15=a5_0x33e0;(function(_0x338e71,_0x320d4a){const _0x4e7ecf=a5_0x33e0,_0x137840=_0x338e71();while(!![]){try{const _0x360ee0=-parseInt(_0x4e7ecf(0x1f0))/0x1*(-parseInt(_0x4e7ecf(0x1f9))/0x2)+parseInt(_0x4e7ecf(0x1e8))/0x3*(-parseInt(_0x4e7ecf(0x1dc))/0x4)+-parseInt(_0x4e7ecf(0x1d3))/0x5+parseInt(_0x4e7ecf(0x1e1))/0x6*(parseInt(_0x4e7ecf(0x1f4))/0x7)+-parseInt(_0x4e7ecf(0x1fc))/0x8*(parseInt(_0x4e7ecf(0x1d8))/0x9)+-parseInt(_0x4e7ecf(0x1dd))/0xa*(parseInt(_0x4e7ecf(0x1fe))/0xb)+parseInt(_0x4e7ecf(0x1e4))/0xc*(parseInt(_0x4e7ecf(0x1f6))/0xd);if(_0x360ee0===_0x320d4a)break;else _0x137840['push'](_0x137840['shift']());}catch(_0xe28f5e){_0x137840['push'](_0x137840['shift']());}}}(a5_0x1e0d,0x5f3ac));const a5_0x410d8d=(function(){const _0x54beed=a5_0x33e0,_0x479984={'uQGAK':function(_0x38d4ea,_0x29ad4e){return _0x38d4ea!==_0x29ad4e;},'MQnCj':_0x54beed(0x1df),'sJslr':_0x54beed(0x1ee)};let _0x17d9c3=!![];return function(_0x53383a,_0x25cef4){const _0x1d9f21=_0x54beed;if(_0x479984['sJslr']!==_0x479984['sJslr'])return _0x166300&&_0x2dc199[_0x1d9f21(0x1eb)]?_0x48eb61:{'default':_0x391311};else{const _0x3c306d=_0x17d9c3?function(){const _0x3e4c35=_0x1d9f21;if(_0x25cef4){if(_0x479984[_0x3e4c35(0x1e3)](_0x479984[_0x3e4c35(0x1d5)],_0x3e4c35(0x1df)))return!![];else{const _0x576b3c=_0x25cef4[_0x3e4c35(0x1da)](_0x53383a,arguments);return _0x25cef4=null,_0x576b3c;}}}:function(){};return _0x17d9c3=![],_0x3c306d;}};}()),a5_0x4a3d5e=a5_0x410d8d(this,function(){const _0x2f9162=a5_0x33e0,_0x2f2dce={'PdetL':_0x2f9162(0x1e7)};return a5_0x4a3d5e[_0x2f9162(0x1f3)]()[_0x2f9162(0x1e9)](_0x2f2dce['PdetL'])[_0x2f9162(0x1f3)]()[_0x2f9162(0x1e6)](a5_0x4a3d5e)[_0x2f9162(0x1e9)](_0x2f9162(0x1e7));});a5_0x4a3d5e();'use strict';var __importDefault=this&&this[a5_0x334b15(0x1fd)]||function(_0x5554fe){const _0x3e4775=a5_0x334b15;return _0x5554fe&&_0x5554fe[_0x3e4775(0x1eb)]?_0x5554fe:{'default':_0x5554fe};};Object[a5_0x334b15(0x1d4)](exports,a5_0x334b15(0x1eb),{'value':!![]}),exports[a5_0x334b15(0x1f1)]=void 0x0;function a5_0x1e0d(){const _0x5e4a23=['IWABq','286866dcupIm','./step','apply','object','268iCQIVQ','90TwvRJg','../utils/message-util','AiJWF','runStatus','84JUjNpA','flow','uQGAK','4417896hKhDbn','getPrompt','constructor','(((.+)+)+)+$','741kFuVSN','search','\x0aNicely\x20tell\x20the\x20user\x20this\x20is\x20the\x20end\x20of\x20conversation\x20as\x20they\x20requested,\x20you\x20MUST\x20NOT\x20talk\x20other\x20things!\x0a','__esModule','describe','HumanMessageEx','Uaupl','seiAq','7XRyAHe','EndStep','completed','toString','24199DGRdzk','xtIUf','52huJmdZ','end_chat','isEnd','23578WZbMQV','string','onCrossing','128ZgryTm','__importDefault','286583sFBhbz','2262415JfiuhS','defineProperty','MQnCj','I\x27m\x20done\x20with\x20chat'];a5_0x1e0d=function(){return _0x5e4a23;};return a5_0x1e0d();}function a5_0x33e0(_0x3f9dd8,_0x563ecc){const _0x5b4823=a5_0x1e0d();return a5_0x33e0=function(_0x4a3d5e,_0x410d8d){_0x4a3d5e=_0x4a3d5e-0x1d3;let _0x1e0dca=_0x5b4823[_0x4a3d5e];return _0x1e0dca;},a5_0x33e0(_0x3f9dd8,_0x563ecc);}const zod_1=__importDefault(require('zod')),message_util_1=require(a5_0x334b15(0x1de)),step_1=require(a5_0x334b15(0x1d9)),AbruptEndPrompt=a5_0x334b15(0x1ea);class EndStep extends step_1['Step']{constructor(_0x5db230,_0x2d55ce){super(EndStep,_0x5db230,_0x2d55ce);}[a5_0x334b15(0x1fb)](_0xa0a85e,_0x544394){const _0xc14bc=a5_0x334b15;return new message_util_1[(_0xc14bc(0x1ed))](this,_0xc14bc(0x1d6));}[a5_0x334b15(0x1f8)](){return!![];}['onEnter'](){const _0x5e09f8=a5_0x334b15,_0x4faec4={'IWABq':_0x5e09f8(0x1f2)},_0x10afc6=this[_0x5e09f8(0x1e2)]['getSessionDoc']();_0x10afc6[_0x5e09f8(0x1e0)]=_0x4faec4[_0x5e09f8(0x1d7)];}[a5_0x334b15(0x1e5)](){const _0x29999f=a5_0x334b15,_0x4c2aca=super[_0x29999f(0x1e5)]();return _0x4c2aca?_0x4c2aca:AbruptEndPrompt;}['defineTool'](){const _0x5ab80e=a5_0x334b15,_0x1605ae={'xtIUf':'end\x20the\x20chat\x20conversation','seiAq':'the\x20prompt\x20to\x20be\x20displayed\x20later'};return[{'name':_0x5ab80e(0x1f7),'description':_0x1605ae[_0x5ab80e(0x1f5)],'schema':zod_1['default'][_0x5ab80e(0x1db)]({'prompt':zod_1['default'][_0x5ab80e(0x1fa)]()[_0x5ab80e(0x1ec)](_0x1605ae[_0x5ab80e(0x1ef)])})}];}async[a5_0x334b15(0x1f7)](_0x2c91e3){return{'step':EndStep};}}exports[a5_0x334b15(0x1f1)]=EndStep;
@@ -1 +1 @@
1
- const a6_0x4e92fa=a6_0x5a7a;(function(_0x1036d1,_0x1a572a){const _0x56c7a2=a6_0x5a7a,_0x50a226=_0x1036d1();while(!![]){try{const _0x2aee20=parseInt(_0x56c7a2(0x132))/0x1*(-parseInt(_0x56c7a2(0x12b))/0x2)+-parseInt(_0x56c7a2(0x12d))/0x3*(-parseInt(_0x56c7a2(0x12c))/0x4)+parseInt(_0x56c7a2(0x122))/0x5+-parseInt(_0x56c7a2(0x125))/0x6+-parseInt(_0x56c7a2(0x116))/0x7*(parseInt(_0x56c7a2(0x12a))/0x8)+-parseInt(_0x56c7a2(0x13a))/0x9+parseInt(_0x56c7a2(0x136))/0xa;if(_0x2aee20===_0x1a572a)break;else _0x50a226['push'](_0x50a226['shift']());}catch(_0x3fe162){_0x50a226['push'](_0x50a226['shift']());}}}(a6_0xc071,0x295c0));const a6_0x29f7d4=(function(){let _0x5996ca=!![];return function(_0x42fc49,_0x4a1d1e){const _0x51c1c4=_0x5996ca?function(){const _0x10367e=a6_0x5a7a;if(_0x4a1d1e){const _0x2124cf=_0x4a1d1e[_0x10367e(0x123)](_0x42fc49,arguments);return _0x4a1d1e=null,_0x2124cf;}}:function(){};return _0x5996ca=![],_0x51c1c4;};}()),a6_0x154a6d=a6_0x29f7d4(this,function(){const _0x530fea=a6_0x5a7a,_0x4fdbfa={'OebIM':_0x530fea(0x118)};return a6_0x154a6d[_0x530fea(0x11a)]()[_0x530fea(0x137)]('(((.+)+)+)+$')['toString']()[_0x530fea(0x113)](a6_0x154a6d)[_0x530fea(0x137)](_0x4fdbfa[_0x530fea(0x13b)]);});a6_0x154a6d();'use strict';var __importDefault=this&&this[a6_0x4e92fa(0x133)]||function(_0x58b044){return _0x58b044&&_0x58b044['__esModule']?_0x58b044:{'default':_0x58b044};};function a6_0x5a7a(_0x58f4b0,_0x51a58f){const _0x1635d2=a6_0xc071();return a6_0x5a7a=function(_0x154a6d,_0x29f7d4){_0x154a6d=_0x154a6d-0x113;let _0xc0714d=_0x1635d2[_0x154a6d];return _0xc0714d;},a6_0x5a7a(_0x58f4b0,_0x51a58f);}function a6_0xc071(){const _0x199219=['setMemory','toString','FlowCreator','default','uuid','ROdgs','bootstrap','sessionExpiration','\x27\x20not\x20registered.','1122880QFPEqo','apply','INCAY','46884MvHeZG','UdsJH','toDate','Ujdpx','moment','8wCDKaa','362gDAnYz','44TKYXlM','55317EmjahV','KciIO','FlowClass\x20\x20\x27','addContext','collectSteps','594mwLkfl','__importDefault','iXBXU','running','1881810aHPOXs','search','Memory','./memory','2963889cAqDDL','OebIM','constructor','__esModule','defineProperty','10703Ppscdr','CoreConfig','(((.+)+)+)+$'];a6_0xc071=function(){return _0x199219;};return a6_0xc071();}Object[a6_0x4e92fa(0x115)](exports,a6_0x4e92fa(0x114),{'value':!![]}),exports['FlowCreator']=void 0x0;const moment_1=__importDefault(require(a6_0x4e92fa(0x129))),uuid_1=require(a6_0x4e92fa(0x11d)),core_config_1=require('../configs/core-config'),memory_1=require(a6_0x4e92fa(0x139));class FlowCreator{static async['create'](_0x462412,_0x2469a8,_0x848723,_0x433739){const _0x294bcb=a6_0x4e92fa,_0x5e4927={'UdsJH':function(_0x1d0d45,_0x6023f1){return _0x1d0d45===_0x6023f1;},'KciIO':_0x294bcb(0x134)},_0x4be8a5=_0x848723['getFlow'](_0x462412);if(_0x4be8a5){if(_0x5e4927[_0x294bcb(0x126)]('sSMal',_0x294bcb(0x128))){const _0x4ce483=_0x468469[_0x294bcb(0x123)](_0x148d47,arguments);return _0x2cf01c=null,_0x4ce483;}else{const _0x5106ee=new _0x4be8a5();return _0x5106ee[_0x294bcb(0x130)](_0x433739),_0x5106ee[_0x294bcb(0x119)](new memory_1[(_0x294bcb(0x138))]()),await _0x5106ee['init'](),_0x5106ee[_0x294bcb(0x131)](),await _0x5106ee[_0x294bcb(0x11f)](_0x2469a8,_0x848723),_0x5106ee;}}else{if(_0x5e4927[_0x294bcb(0x12e)]!==_0x294bcb(0x124))throw new Error(_0x294bcb(0x12f)+_0x462412+_0x294bcb(0x121));else throw new _0x4762bd(_0x294bcb(0x12f)+_0x32d4a3+_0x294bcb(0x121));}}static async['createDoc'](){const _0x40c384=a6_0x4e92fa,_0x539f9e={'ROdgs':_0x40c384(0x135)},_0x555562=(0x0,uuid_1['v4'])();return{'id':_0x555562,'version':0x1,'runStatus':_0x539f9e[_0x40c384(0x11e)],'createdOn':(0x0,moment_1[_0x40c384(0x11c)])()[_0x40c384(0x127)](),'saveOn':(0x0,moment_1[_0x40c384(0x11c)])()['toDate'](),'expireAfter':core_config_1[_0x40c384(0x117)][_0x40c384(0x120)],'tokens':{'inputTokens':0x0,'outputTokens':0x0,'totalTokens':0x0},'flows':[],'log':[],'error':[],'warn':[],'debug':[],'verbose':[]};}}exports[a6_0x4e92fa(0x11b)]=FlowCreator;
1
+ const a6_0x442890=a6_0x32a9;(function(_0x11f5e1,_0x27643b){const _0x241286=a6_0x32a9,_0x3b1dc7=_0x11f5e1();while(!![]){try{const _0x3119f0=parseInt(_0x241286(0xdb))/0x1+-parseInt(_0x241286(0xde))/0x2+-parseInt(_0x241286(0xe0))/0x3*(parseInt(_0x241286(0xc1))/0x4)+parseInt(_0x241286(0xd7))/0x5*(-parseInt(_0x241286(0xcd))/0x6)+-parseInt(_0x241286(0xd9))/0x7*(-parseInt(_0x241286(0xd1))/0x8)+-parseInt(_0x241286(0xd4))/0x9*(parseInt(_0x241286(0xda))/0xa)+parseInt(_0x241286(0xdc))/0xb*(parseInt(_0x241286(0xc4))/0xc);if(_0x3119f0===_0x27643b)break;else _0x3b1dc7['push'](_0x3b1dc7['shift']());}catch(_0x39a64e){_0x3b1dc7['push'](_0x3b1dc7['shift']());}}}(a6_0x291e,0xd3635));const a6_0x10b538=(function(){let _0x1b6d07=!![];return function(_0x153e95,_0x29f44c){const _0x9addcb=_0x1b6d07?function(){if(_0x29f44c){const _0x331206=_0x29f44c['apply'](_0x153e95,arguments);return _0x29f44c=null,_0x331206;}}:function(){};return _0x1b6d07=![],_0x9addcb;};}()),a6_0x2b7f4f=a6_0x10b538(this,function(){const _0xfd600b=a6_0x32a9,_0x5b1f2c={'MuMST':'(((.+)+)+)+$'};return a6_0x2b7f4f[_0xfd600b(0xca)]()[_0xfd600b(0xd3)](_0x5b1f2c[_0xfd600b(0xd5)])[_0xfd600b(0xca)]()['constructor'](a6_0x2b7f4f)['search'](_0x5b1f2c['MuMST']);});a6_0x2b7f4f();'use strict';var __importDefault=this&&this[a6_0x442890(0xbf)]||function(_0x7dbdb6){const _0xc8c878=a6_0x442890;return _0x7dbdb6&&_0x7dbdb6[_0xc8c878(0xd8)]?_0x7dbdb6:{'default':_0x7dbdb6};};function a6_0x32a9(_0x267d75,_0x3da7bb){const _0x14ab55=a6_0x291e();return a6_0x32a9=function(_0x2b7f4f,_0x10b538){_0x2b7f4f=_0x2b7f4f-0xbf;let _0x291e8e=_0x14ab55[_0x2b7f4f];return _0x291e8e;},a6_0x32a9(_0x267d75,_0x3da7bb);}Object[a6_0x442890(0xc8)](exports,a6_0x442890(0xd8),{'value':!![]}),exports[a6_0x442890(0xc3)]=void 0x0;const moment_1=__importDefault(require(a6_0x442890(0xcf))),uuid_1=require('uuid'),core_config_1=require(a6_0x442890(0xe1)),memory_1=require(a6_0x442890(0xdd));class FlowCreator{static async[a6_0x442890(0xd6)](_0x50a2dd,_0x31f2f8,_0x244b17,_0x1c925b){const _0x5d07ca=a6_0x442890,_0xbbcfbe={'XkrRl':_0x5d07ca(0xc6)},_0xad4c75=_0x244b17[_0x5d07ca(0xce)](_0x50a2dd);if(_0xad4c75){if('koEru'===_0xbbcfbe['XkrRl']){const _0xbc216b=_0x53179f?function(){if(_0x3566ef){const _0x57b44e=_0x53615f['apply'](_0x59568e,arguments);return _0x16bb46=null,_0x57b44e;}}:function(){};return _0x4ec835=![],_0xbc216b;}else{const _0x5c2c28=new _0xad4c75();return _0x5c2c28[_0x5d07ca(0xd2)](_0x1c925b),_0x5c2c28[_0x5d07ca(0xcc)](new memory_1[(_0x5d07ca(0xdf))]()),await _0x5c2c28['init'](),_0x5c2c28['collectSteps'](),await _0x5c2c28[_0x5d07ca(0xc2)](_0x31f2f8,_0x244b17),_0x5c2c28;}}else throw new Error(_0x5d07ca(0xc9)+_0x50a2dd+'\x27\x20not\x20registered.');}static async['createDoc'](){const _0x431f14=a6_0x442890,_0x234a36={'pByCj':'running'},_0x1632b2=(0x0,uuid_1['v4'])();return{'id':_0x1632b2,'version':0x1,'runStatus':_0x234a36[_0x431f14(0xd0)],'createdOn':(0x0,moment_1['default'])()[_0x431f14(0xc5)](),'saveOn':(0x0,moment_1[_0x431f14(0xc7)])()[_0x431f14(0xc5)](),'expireAfter':core_config_1[_0x431f14(0xcb)][_0x431f14(0xc0)],'tokens':{'inputTokens':0x0,'outputTokens':0x0,'totalTokens':0x0},'flows':[],'log':[],'error':[],'warn':[],'debug':[],'verbose':[]};}}function a6_0x291e(){const _0x388e58=['2062132nWufUO','Memory','54CIwZNq','../configs/core-config','__importDefault','sessionExpiration','267496YlGCYy','bootstrap','FlowCreator','12RgCcVr','toDate','uvHKr','default','defineProperty','FlowClass\x20\x20\x27','toString','CoreConfig','setMemory','90GbeBCM','getFlow','moment','pByCj','1192vantil','addContext','search','424233ibPwie','MuMST','create','211805msBiGD','__esModule','78407Upykxb','60sNryOY','958006TRZOCj','15311175XIqmSM','./memory'];a6_0x291e=function(){return _0x388e58;};return a6_0x291e();}exports[a6_0x442890(0xc3)]=FlowCreator;
@@ -58,20 +58,23 @@ declare const StepSchema: z.ZodObject<{
58
58
  name: z.ZodString;
59
59
  isActive: z.ZodBoolean;
60
60
  state: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
61
- modelName: z.ZodString;
62
- temperature: z.ZodNumber;
61
+ modelName: z.ZodOptional<z.ZodString>;
62
+ modelParamsName: z.ZodOptional<z.ZodString>;
63
+ modelParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
63
64
  }, "strip", z.ZodTypeAny, {
64
65
  name?: string;
65
66
  isActive?: boolean;
66
67
  state?: {};
67
68
  modelName?: string;
68
- temperature?: number;
69
+ modelParamsName?: string;
70
+ modelParams?: Record<string, any>;
69
71
  }, {
70
72
  name?: string;
71
73
  isActive?: boolean;
72
74
  state?: {};
73
75
  modelName?: string;
74
- temperature?: number;
76
+ modelParamsName?: string;
77
+ modelParams?: Record<string, any>;
75
78
  }>;
76
79
  export type StepType = z.infer<typeof StepSchema>;
77
80
  declare const MemorySchema: z.ZodObject<{
@@ -257,23 +260,25 @@ declare const FlowSchema: z.ZodObject<{
257
260
  name: z.ZodString;
258
261
  isActive: z.ZodBoolean;
259
262
  state: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
260
- modelName: z.ZodString;
261
- temperature: z.ZodNumber;
263
+ modelName: z.ZodOptional<z.ZodString>;
264
+ modelParamsName: z.ZodOptional<z.ZodString>;
265
+ modelParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
262
266
  }, "strip", z.ZodTypeAny, {
263
267
  name?: string;
264
268
  isActive?: boolean;
265
269
  state?: {};
266
270
  modelName?: string;
267
- temperature?: number;
271
+ modelParamsName?: string;
272
+ modelParams?: Record<string, any>;
268
273
  }, {
269
274
  name?: string;
270
275
  isActive?: boolean;
271
276
  state?: {};
272
277
  modelName?: string;
273
- temperature?: number;
278
+ modelParamsName?: string;
279
+ modelParams?: Record<string, any>;
274
280
  }>, "many">;
275
281
  context: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
276
- temperature: z.ZodNumber;
277
282
  sequence: z.ZodArray<z.ZodString, "many">;
278
283
  }, "strip", z.ZodTypeAny, {
279
284
  name?: string;
@@ -300,9 +305,9 @@ declare const FlowSchema: z.ZodObject<{
300
305
  isActive?: boolean;
301
306
  state?: {};
302
307
  modelName?: string;
303
- temperature?: number;
308
+ modelParamsName?: string;
309
+ modelParams?: Record<string, any>;
304
310
  }[];
305
- temperature?: number;
306
311
  context?: {};
307
312
  sequence?: string[];
308
313
  }, {
@@ -330,9 +335,9 @@ declare const FlowSchema: z.ZodObject<{
330
335
  isActive?: boolean;
331
336
  state?: {};
332
337
  modelName?: string;
333
- temperature?: number;
338
+ modelParamsName?: string;
339
+ modelParams?: Record<string, any>;
334
340
  }[];
335
- temperature?: number;
336
341
  context?: {};
337
342
  sequence?: string[];
338
343
  }>;
@@ -438,23 +443,25 @@ declare const _SessionSchema: z.ZodObject<{
438
443
  name: z.ZodString;
439
444
  isActive: z.ZodBoolean;
440
445
  state: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
441
- modelName: z.ZodString;
442
- temperature: z.ZodNumber;
446
+ modelName: z.ZodOptional<z.ZodString>;
447
+ modelParamsName: z.ZodOptional<z.ZodString>;
448
+ modelParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
443
449
  }, "strip", z.ZodTypeAny, {
444
450
  name?: string;
445
451
  isActive?: boolean;
446
452
  state?: {};
447
453
  modelName?: string;
448
- temperature?: number;
454
+ modelParamsName?: string;
455
+ modelParams?: Record<string, any>;
449
456
  }, {
450
457
  name?: string;
451
458
  isActive?: boolean;
452
459
  state?: {};
453
460
  modelName?: string;
454
- temperature?: number;
461
+ modelParamsName?: string;
462
+ modelParams?: Record<string, any>;
455
463
  }>, "many">;
456
464
  context: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
457
- temperature: z.ZodNumber;
458
465
  sequence: z.ZodArray<z.ZodString, "many">;
459
466
  }, "strip", z.ZodTypeAny, {
460
467
  name?: string;
@@ -481,9 +488,9 @@ declare const _SessionSchema: z.ZodObject<{
481
488
  isActive?: boolean;
482
489
  state?: {};
483
490
  modelName?: string;
484
- temperature?: number;
491
+ modelParamsName?: string;
492
+ modelParams?: Record<string, any>;
485
493
  }[];
486
- temperature?: number;
487
494
  context?: {};
488
495
  sequence?: string[];
489
496
  }, {
@@ -511,9 +518,9 @@ declare const _SessionSchema: z.ZodObject<{
511
518
  isActive?: boolean;
512
519
  state?: {};
513
520
  modelName?: string;
514
- temperature?: number;
521
+ modelParamsName?: string;
522
+ modelParams?: Record<string, any>;
515
523
  }[];
516
- temperature?: number;
517
524
  context?: {};
518
525
  sequence?: string[];
519
526
  }>, "many">;
@@ -568,9 +575,9 @@ declare const _SessionSchema: z.ZodObject<{
568
575
  isActive?: boolean;
569
576
  state?: {};
570
577
  modelName?: string;
571
- temperature?: number;
578
+ modelParamsName?: string;
579
+ modelParams?: Record<string, any>;
572
580
  }[];
573
- temperature?: number;
574
581
  context?: {};
575
582
  sequence?: string[];
576
583
  }[];
@@ -616,9 +623,9 @@ declare const _SessionSchema: z.ZodObject<{
616
623
  isActive?: boolean;
617
624
  state?: {};
618
625
  modelName?: string;
619
- temperature?: number;
626
+ modelParamsName?: string;
627
+ modelParams?: Record<string, any>;
620
628
  }[];
621
- temperature?: number;
622
629
  context?: {};
623
630
  sequence?: string[];
624
631
  }[];
@@ -1 +1 @@
1
- 'use strict';function a7_0x411c(_0xf6e28e,_0x11d765){const _0x3bb8a7=a7_0x1428();return a7_0x411c=function(_0x202fd4,_0x3e534b){_0x202fd4=_0x202fd4-0x129;let _0x142819=_0x3bb8a7[_0x202fd4];return _0x142819;},a7_0x411c(_0xf6e28e,_0x11d765);}const a7_0x3dc346=a7_0x411c;(function(_0x54b7ce,_0x1d5e38){const _0x126b1f=a7_0x411c,_0x7435aa=_0x54b7ce();while(!![]){try{const _0x54decb=-parseInt(_0x126b1f(0x131))/0x1+parseInt(_0x126b1f(0x153))/0x2*(parseInt(_0x126b1f(0x147))/0x3)+parseInt(_0x126b1f(0x13d))/0x4*(-parseInt(_0x126b1f(0x148))/0x5)+parseInt(_0x126b1f(0x151))/0x6*(-parseInt(_0x126b1f(0x14a))/0x7)+parseInt(_0x126b1f(0x14d))/0x8*(-parseInt(_0x126b1f(0x136))/0x9)+-parseInt(_0x126b1f(0x142))/0xa+parseInt(_0x126b1f(0x12e))/0xb;if(_0x54decb===_0x1d5e38)break;else _0x7435aa['push'](_0x7435aa['shift']());}catch(_0x398528){_0x7435aa['push'](_0x7435aa['shift']());}}}(a7_0x1428,0xc3f17));function a7_0x1428(){const _0x22ff38=['ToolStatus','NKkmG','defineProperty','82116364SisYKM','human','enum','1029594LckrjT','number','string','running','date','9Ymknab','optional','nativeEnum','system','constructor','lRwxR','record','3124152YKnGfQ','aobnY','toString','search','array','15274210FMzOiz','RHPEc','error','boolean','__esModule','3VyQqwi','10GcPJmL','object','7rsmScF','RunResponseDto','success','11596072WNvRyw','nonempty','completed','./content-type','6795732mUyVgD','(((.+)+)+)+$','77362eHLdid','tool','SUDLU'];a7_0x1428=function(){return _0x22ff38;};return a7_0x1428();}Object[a7_0x3dc346(0x12d)](exports,a7_0x3dc346(0x146),{'value':!![]}),exports[a7_0x3dc346(0x14b)]=exports[a7_0x3dc346(0x12b)]=void 0x0;const zod_1=require('zod'),zod_nestjs_1=require('@anatine/zod-nestjs'),content_type_1=require(a7_0x3dc346(0x150)),RoleEnum=zod_1['z'][a7_0x3dc346(0x130)]([a7_0x3dc346(0x139),a7_0x3dc346(0x12f),'ai',a7_0x3dc346(0x129)]),ToolStatusEnum=zod_1['z'][a7_0x3dc346(0x130)]([a7_0x3dc346(0x14c),a7_0x3dc346(0x144)]),AIToolMessageSchema=zod_1['z'][a7_0x3dc346(0x149)]({'name':zod_1['z'][a7_0x3dc346(0x133)](),'args':zod_1['z']['object']({}),'id':zod_1['z'][a7_0x3dc346(0x133)]()}),ChatMessageSchema=zod_1['z'][a7_0x3dc346(0x149)]({'id':zod_1['z'][a7_0x3dc346(0x133)](),'type':RoleEnum,'content':zod_1['z']['string'](),'timestamp':zod_1['z'][a7_0x3dc346(0x135)](),'tool_call_id':zod_1['z']['string']()[a7_0x3dc346(0x137)](),'name':zod_1['z'][a7_0x3dc346(0x133)](),'status':ToolStatusEnum[a7_0x3dc346(0x137)](),'tool_calls':zod_1['z'][a7_0x3dc346(0x141)](AIToolMessageSchema)['optional'](),'additional_kwargs':zod_1['z'][a7_0x3dc346(0x13c)](zod_1['z']['any']())[a7_0x3dc346(0x137)]()}),StepSchema=zod_1['z'][a7_0x3dc346(0x149)]({'name':zod_1['z'][a7_0x3dc346(0x133)](),'isActive':zod_1['z']['boolean'](),'state':zod_1['z'][a7_0x3dc346(0x149)]({}),'modelName':zod_1['z'][a7_0x3dc346(0x133)](),'temperature':zod_1['z'][a7_0x3dc346(0x132)]()}),MemorySchema=zod_1['z'][a7_0x3dc346(0x149)]({'nameSpace':zod_1['z'][a7_0x3dc346(0x133)](),'history':zod_1['z'][a7_0x3dc346(0x141)](ChatMessageSchema)}),FlowSchema=zod_1['z'][a7_0x3dc346(0x149)]({'name':zod_1['z'][a7_0x3dc346(0x133)](),'memory':zod_1['z']['array'](MemorySchema),'steps':zod_1['z']['array'](StepSchema),'context':zod_1['z']['object']({}),'temperature':zod_1['z'][a7_0x3dc346(0x132)](),'sequence':zod_1['z']['array'](zod_1['z']['string']())}),RunStatusSchema=zod_1['z']['enum']([a7_0x3dc346(0x14f),'aborted',a7_0x3dc346(0x134)]),_SessionSchema=zod_1['z'][a7_0x3dc346(0x149)]({'id':zod_1['z'][a7_0x3dc346(0x133)]()[a7_0x3dc346(0x14e)](),'createdOn':zod_1['z'][a7_0x3dc346(0x135)](),'saveOn':zod_1['z'][a7_0x3dc346(0x135)](),'runStatus':RunStatusSchema,'version':zod_1['z'][a7_0x3dc346(0x132)](),'expireAfter':zod_1['z'][a7_0x3dc346(0x132)](),'flows':zod_1['z'][a7_0x3dc346(0x141)](FlowSchema),'log':zod_1['z'][a7_0x3dc346(0x141)](zod_1['z'][a7_0x3dc346(0x149)]({})),'error':zod_1['z'][a7_0x3dc346(0x141)](zod_1['z']['object']({})),'warn':zod_1['z'][a7_0x3dc346(0x141)](zod_1['z']['object']({})),'debug':zod_1['z'][a7_0x3dc346(0x141)](zod_1['z']['object']({})),'verbose':zod_1['z']['array'](zod_1['z']['object']({})),'tokens':zod_1['z'][a7_0x3dc346(0x149)]({'inputTokens':zod_1['z'][a7_0x3dc346(0x132)](),'outputTokens':zod_1['z']['number'](),'totalTokens':zod_1['z'][a7_0x3dc346(0x132)]()})});var ToolStatus;(function(_0x321d38){const _0x135bee=a7_0x3dc346,_0x5c69b3={'NKkmG':_0x135bee(0x152),'SUDLU':function(_0x15b243,_0x31550e,_0x4dc960){return _0x15b243(_0x31550e,_0x4dc960);},'aobnY':function(_0x17d7a4){return _0x17d7a4();},'lRwxR':'success','RHPEc':_0x135bee(0x144)},_0x2cf02b=(function(){let _0x4d633a=!![];return function(_0xec6430,_0x24ef26){const _0x10b7ef=_0x4d633a?function(){if(_0x24ef26){const _0x47fac1=_0x24ef26['apply'](_0xec6430,arguments);return _0x24ef26=null,_0x47fac1;}}:function(){};return _0x4d633a=![],_0x10b7ef;};}()),_0x4a874b=_0x5c69b3[_0x135bee(0x12a)](_0x2cf02b,this,function(){const _0x4f32da=_0x135bee;return _0x4a874b[_0x4f32da(0x13f)]()[_0x4f32da(0x140)](_0x5c69b3['NKkmG'])['toString']()[_0x4f32da(0x13a)](_0x4a874b)[_0x4f32da(0x140)](_0x5c69b3[_0x4f32da(0x12c)]);});_0x5c69b3[_0x135bee(0x13e)](_0x4a874b),_0x321d38[_0x5c69b3[_0x135bee(0x13b)]]='success',_0x321d38[_0x5c69b3[_0x135bee(0x143)]]='error';}(ToolStatus||(exports[a7_0x3dc346(0x12b)]=ToolStatus={})));const _ToolSchema=zod_1['z'][a7_0x3dc346(0x149)]({'name':zod_1['z'][a7_0x3dc346(0x133)](),'description':zod_1['z'][a7_0x3dc346(0x133)](),'schema':zod_1['z'][a7_0x3dc346(0x149)]({})}),RunResponseSchema=zod_1['z'][a7_0x3dc346(0x149)]({'success':zod_1['z']['boolean'](),'completed':zod_1['z'][a7_0x3dc346(0x145)](),'message':zod_1['z']['string'](),'session':zod_1['z'][a7_0x3dc346(0x133)](),'contentType':zod_1['z'][a7_0x3dc346(0x138)](content_type_1['HttpContentType'])});class RunResponseDto extends(0x0,zod_nestjs_1['createZodDto'])(RunResponseSchema){}exports[a7_0x3dc346(0x14b)]=RunResponseDto;
1
+ 'use strict';function a7_0x377c(){const _0x3a90a5=['4DFhfDz','enum','701286zhearC','object','array','boolean','nonempty','any','number','hfKrD','record','success','bDdaJ','wGahK','369FZLBir','HttpContentType','RunResponseDto','search','ToolStatus','__esModule','ZrEbE','apply','error','optional','49064UGGDEU','(((.+)+)+)+$','zod','human','299831gGPHJx','toString','5454DDTORG','777308fMWGrs','1240aOhurl','system','4491110aFmFza','string','540400cYUYPs','date','defineProperty'];a7_0x377c=function(){return _0x3a90a5;};return a7_0x377c();}const a7_0x5a6eae=a7_0x23d9;function a7_0x23d9(_0x4626df,_0x2179ee){const _0x2cc596=a7_0x377c();return a7_0x23d9=function(_0x107165,_0xe2da0a){_0x107165=_0x107165-0x93;let _0x377c83=_0x2cc596[_0x107165];return _0x377c83;},a7_0x23d9(_0x4626df,_0x2179ee);}(function(_0x4ee1c3,_0x3acd5c){const _0x1cb918=a7_0x23d9,_0x4c93f1=_0x4ee1c3();while(!![]){try{const _0x1c81af=parseInt(_0x1cb918(0xa1))/0x1+-parseInt(_0x1cb918(0xa4))/0x2*(parseInt(_0x1cb918(0xa6))/0x3)+-parseInt(_0x1cb918(0x9c))/0x4+parseInt(_0x1cb918(0x9d))/0x5*(parseInt(_0x1cb918(0x9b))/0x6)+parseInt(_0x1cb918(0x99))/0x7+-parseInt(_0x1cb918(0x95))/0x8*(parseInt(_0x1cb918(0xb2))/0x9)+parseInt(_0x1cb918(0x9f))/0xa;if(_0x1c81af===_0x3acd5c)break;else _0x4c93f1['push'](_0x4c93f1['shift']());}catch(_0x125a5e){_0x4c93f1['push'](_0x4c93f1['shift']());}}}(a7_0x377c,0x54198));Object[a7_0x5a6eae(0xa3)](exports,a7_0x5a6eae(0xb7),{'value':!![]}),exports[a7_0x5a6eae(0xb4)]=exports['ToolStatus']=void 0x0;const zod_1=require(a7_0x5a6eae(0x97)),zod_nestjs_1=require('@anatine/zod-nestjs'),content_type_1=require('./content-type'),RoleEnum=zod_1['z'][a7_0x5a6eae(0xa5)]([a7_0x5a6eae(0x9e),a7_0x5a6eae(0x98),'ai','tool']),ToolStatusEnum=zod_1['z'][a7_0x5a6eae(0xa5)]([a7_0x5a6eae(0xaf),a7_0x5a6eae(0x93)]),AIToolMessageSchema=zod_1['z']['object']({'name':zod_1['z'][a7_0x5a6eae(0xa0)](),'args':zod_1['z'][a7_0x5a6eae(0xa7)]({}),'id':zod_1['z'][a7_0x5a6eae(0xa0)]()}),ChatMessageSchema=zod_1['z']['object']({'id':zod_1['z']['string'](),'type':RoleEnum,'content':zod_1['z'][a7_0x5a6eae(0xa0)](),'timestamp':zod_1['z'][a7_0x5a6eae(0xa2)](),'tool_call_id':zod_1['z'][a7_0x5a6eae(0xa0)]()['optional'](),'name':zod_1['z'][a7_0x5a6eae(0xa0)](),'status':ToolStatusEnum['optional'](),'tool_calls':zod_1['z'][a7_0x5a6eae(0xa8)](AIToolMessageSchema)[a7_0x5a6eae(0x94)](),'additional_kwargs':zod_1['z']['record'](zod_1['z'][a7_0x5a6eae(0xab)]())['optional']()}),StepSchema=zod_1['z'][a7_0x5a6eae(0xa7)]({'name':zod_1['z'][a7_0x5a6eae(0xa0)](),'isActive':zod_1['z']['boolean'](),'state':zod_1['z']['object']({}),'modelName':zod_1['z'][a7_0x5a6eae(0xa0)]()[a7_0x5a6eae(0x94)](),'modelParamsName':zod_1['z'][a7_0x5a6eae(0xa0)]()[a7_0x5a6eae(0x94)](),'modelParams':zod_1['z'][a7_0x5a6eae(0xae)](zod_1['z'][a7_0x5a6eae(0xab)]())[a7_0x5a6eae(0x94)]()}),MemorySchema=zod_1['z'][a7_0x5a6eae(0xa7)]({'nameSpace':zod_1['z'][a7_0x5a6eae(0xa0)](),'history':zod_1['z']['array'](ChatMessageSchema)}),FlowSchema=zod_1['z'][a7_0x5a6eae(0xa7)]({'name':zod_1['z']['string'](),'memory':zod_1['z'][a7_0x5a6eae(0xa8)](MemorySchema),'steps':zod_1['z'][a7_0x5a6eae(0xa8)](StepSchema),'context':zod_1['z'][a7_0x5a6eae(0xa7)]({}),'sequence':zod_1['z'][a7_0x5a6eae(0xa8)](zod_1['z'][a7_0x5a6eae(0xa0)]())}),RunStatusSchema=zod_1['z']['enum'](['completed','aborted','running']),_SessionSchema=zod_1['z'][a7_0x5a6eae(0xa7)]({'id':zod_1['z'][a7_0x5a6eae(0xa0)]()[a7_0x5a6eae(0xaa)](),'createdOn':zod_1['z'][a7_0x5a6eae(0xa2)](),'saveOn':zod_1['z'][a7_0x5a6eae(0xa2)](),'runStatus':RunStatusSchema,'version':zod_1['z'][a7_0x5a6eae(0xac)](),'expireAfter':zod_1['z'][a7_0x5a6eae(0xac)](),'flows':zod_1['z'][a7_0x5a6eae(0xa8)](FlowSchema),'log':zod_1['z'][a7_0x5a6eae(0xa8)](zod_1['z'][a7_0x5a6eae(0xa7)]({})),'error':zod_1['z'][a7_0x5a6eae(0xa8)](zod_1['z'][a7_0x5a6eae(0xa7)]({})),'warn':zod_1['z'][a7_0x5a6eae(0xa8)](zod_1['z'][a7_0x5a6eae(0xa7)]({})),'debug':zod_1['z'][a7_0x5a6eae(0xa8)](zod_1['z'][a7_0x5a6eae(0xa7)]({})),'verbose':zod_1['z'][a7_0x5a6eae(0xa8)](zod_1['z']['object']({})),'tokens':zod_1['z'][a7_0x5a6eae(0xa7)]({'inputTokens':zod_1['z'][a7_0x5a6eae(0xac)](),'outputTokens':zod_1['z'][a7_0x5a6eae(0xac)](),'totalTokens':zod_1['z'][a7_0x5a6eae(0xac)]()})});var ToolStatus;(function(_0x777ff3){const _0x187b2c=a7_0x5a6eae,_0x1887f8={'bDdaJ':_0x187b2c(0x96),'wGahK':function(_0x3ee65a,_0x2c2c4b,_0x30cdca){return _0x3ee65a(_0x2c2c4b,_0x30cdca);},'hfKrD':function(_0x17a69d){return _0x17a69d();},'ZrEbE':_0x187b2c(0x93)},_0x47016c=(function(){let _0x13cd42=!![];return function(_0x4c16b9,_0x208abd){const _0xb42754=_0x13cd42?function(){const _0xcd0fe9=a7_0x23d9;if(_0x208abd){const _0x50d6df=_0x208abd[_0xcd0fe9(0xb9)](_0x4c16b9,arguments);return _0x208abd=null,_0x50d6df;}}:function(){};return _0x13cd42=![],_0xb42754;};}()),_0x466bd3=_0x1887f8[_0x187b2c(0xb1)](_0x47016c,this,function(){const _0x49b8cf=_0x187b2c;return _0x466bd3['toString']()[_0x49b8cf(0xb5)](_0x1887f8[_0x49b8cf(0xb0)])[_0x49b8cf(0x9a)]()['constructor'](_0x466bd3)[_0x49b8cf(0xb5)](_0x1887f8[_0x49b8cf(0xb0)]);});_0x1887f8[_0x187b2c(0xad)](_0x466bd3),_0x777ff3[_0x187b2c(0xaf)]=_0x187b2c(0xaf),_0x777ff3[_0x187b2c(0x93)]=_0x1887f8[_0x187b2c(0xb8)];}(ToolStatus||(exports[a7_0x5a6eae(0xb6)]=ToolStatus={})));const _ToolSchema=zod_1['z'][a7_0x5a6eae(0xa7)]({'name':zod_1['z'][a7_0x5a6eae(0xa0)](),'description':zod_1['z'][a7_0x5a6eae(0xa0)](),'schema':zod_1['z'][a7_0x5a6eae(0xa7)]({})}),RunResponseSchema=zod_1['z'][a7_0x5a6eae(0xa7)]({'success':zod_1['z'][a7_0x5a6eae(0xa9)](),'completed':zod_1['z']['boolean'](),'message':zod_1['z']['string'](),'session':zod_1['z'][a7_0x5a6eae(0xa0)](),'contentType':zod_1['z']['nativeEnum'](content_type_1[a7_0x5a6eae(0xb3)])});class RunResponseDto extends(0x0,zod_nestjs_1['createZodDto'])(RunResponseSchema){}exports[a7_0x5a6eae(0xb4)]=RunResponseDto;
package/flow/flow.d.ts CHANGED
@@ -4,19 +4,28 @@ import { MessageTypes } from '../utils/message-util';
4
4
  import { FlowEngine } from '../services/flow-engine';
5
5
  import { ClassType, RunResponseType, SessionType, ToolType } from './flow-types';
6
6
  import { Step } from './step';
7
+ import { ModelOverride } from '../models/model-registry';
7
8
  export declare abstract class Flow {
8
9
  protected stepMap: Map<string, Step>;
9
10
  protected tools: Map<string, DynamicStructuredTool>;
10
11
  protected name: string;
12
+ protected modelName: string;
13
+ protected modelParams: Record<string, any>;
14
+ protected modelParamsName?: string;
11
15
  protected sessionDoc: SessionType;
12
16
  private flowDoc;
13
17
  private memory;
14
18
  private flowEngine;
15
19
  private context;
16
- protected temp: number;
17
20
  protected constructor(flowClass: ClassType);
18
21
  init(): Promise<void>;
19
22
  getFlowEngine(): FlowEngine;
23
+ useModel<Name extends string>(modelName: Name, params?: ModelOverride<Name>): this;
24
+ getModel(): string;
25
+ useModelParams<Name extends string>(modelName: Name, params: ModelOverride<Name>): this;
26
+ useModelParams<Name extends string>(params: ModelOverride<Name>): this;
27
+ getModelParams(): Record<string, any>;
28
+ getModelParamsModelName(): string | undefined;
20
29
  bootstrap(sessionId: string, flowEngine: FlowEngine): Promise<void>;
21
30
  private assignFlowDoc;
22
31
  tallyToken(usageMetadata: any): void;
@@ -50,6 +59,4 @@ export declare abstract class Flow {
50
59
  getStepState(stepClass: ClassType, key?: string): object;
51
60
  getStepStateAs<T>(stepClass: ClassType, key?: string): T;
52
61
  saveStepState(stepClass: ClassType, json: object): void;
53
- get temperature(): number;
54
- set temperature(temperature: number);
55
62
  }