@picoflow/core 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/clients/http-client.js +1 -1
- package/clients/self-client.js +1 -1
- package/configs/core-config.js +1 -1
- package/decorators/stop-tool.js +1 -1
- package/flow/content-type.js +1 -1
- package/flow/end-step.js +1 -1
- package/flow/flow-creator.js +1 -1
- package/flow/flow-types.js +1 -1
- package/flow/flow.js +1 -1
- package/flow/llm-runner.js +1 -1
- package/flow/logic-runner.js +1 -1
- package/flow/logic-step.js +1 -1
- package/flow/memory.js +1 -1
- package/flow/step.js +1 -1
- package/index.js +5 -2
- package/models/default-models.js +1 -1
- package/models/model-registry.js +1 -1
- package/package.json +7 -5
- package/prompt/flow-prompt.js +1 -1
- package/prompt/prompt-util.js +1 -1
- package/services/flow-engine.js +1 -1
- package/session/cosmo-session.js +1 -1
- package/session/file-session.js +1 -1
- package/session/flow-session.js +1 -1
- package/session/mongo-session.js +1 -1
- package/session/session-adaptor.js +1 -1
- package/session/session-logger.js +1 -1
- package/session/sqlite-session.js +1 -1
- package/utils/constants.js +1 -1
- package/utils/environ.js +1 -1
- package/utils/errors.js +1 -1
- package/utils/license-util.js +1 -1
- package/utils/llm-file.js +1 -1
- package/utils/logic.js +1 -1
- package/utils/message-util.js +1 -1
- package/utils/retry.js +1 -1
- package/utils/string-util.js +1 -1
- package/utils/tool-util.js +1 -1
- package/utils/verify-license.js +1 -1
package/utils/verify-license.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a36_0x7ac556=a36_0x4a60;(function(_0x44c7f6,_0x20e9fe){const _0x3ac597=a36_0x4a60,_0x19262d=_0x44c7f6();while(!![]){try{const _0x4a672=-parseInt(_0x3ac597(0x1f3))/0x1*(parseInt(_0x3ac597(0x1fc))/0x2)+parseInt(_0x3ac597(0x1e2))/0x3+parseInt(_0x3ac597(0x206))/0x4*(parseInt(_0x3ac597(0x1f0))/0x5)+parseInt(_0x3ac597(0x1eb))/0x6*(-parseInt(_0x3ac597(0x1e9))/0x7)+parseInt(_0x3ac597(0x1f6))/0x8+parseInt(_0x3ac597(0x1f1))/0x9*(-parseInt(_0x3ac597(0x204))/0xa)+parseInt(_0x3ac597(0x1e8))/0xb;if(_0x4a672===_0x20e9fe)break;else _0x19262d['push'](_0x19262d['shift']());}catch(_0x43dab4){_0x19262d['push'](_0x19262d['shift']());}}}(a36_0x50c3,0x19112));const a36_0x307ec7=(function(){let _0x18a8b4=!![];return function(_0x35550d,_0x3d1fe0){const _0x549b23=_0x18a8b4?function(){const _0x347c65=a36_0x4a60;if(_0x3d1fe0){const _0x1672c0=_0x3d1fe0[_0x347c65(0x1f2)](_0x35550d,arguments);return _0x3d1fe0=null,_0x1672c0;}}:function(){};return _0x18a8b4=![],_0x549b23;};}()),a36_0x4b2002=a36_0x307ec7(this,function(){const _0x208307=a36_0x4a60,_0x5cd4be={'uhUaU':_0x208307(0x1e4)};return a36_0x4b2002[_0x208307(0x1e6)]()['search'](_0x5cd4be[_0x208307(0x1ee)])['toString']()[_0x208307(0x1fb)](a36_0x4b2002)['search'](_0x5cd4be[_0x208307(0x1ee)]);});a36_0x4b2002();'use strict';function a36_0x50c3(){const _0x36f01d=['IxByW','LzpbP','constructor','320816NGUUeN','HKmSV','part1','tweetnacl','Invalid\x20license\x20signature','readUInt16BE','CyjOJ','defineProperty','10yeyZcy','length','542284KTmDgp','string','readUInt8','part3','License\x20expired','sign','subarray','detached','__importDefault','162099HIibKN','readUInt32BE','(((.+)+)+)+$','default','toString','YiWlr','3310516cTsLdq','28DoIQXx','Unsupported\x20license\x20version','250104uBoCsa','__esModule','License\x20token\x20missing','uhUaU','from','5xINorp','769491gCwehu','apply','1GOfyOH','Invalid\x20license\x20length','verify','198056LDuCos','verifyLicense','zbqdf'];a36_0x50c3=function(){return _0x36f01d;};return a36_0x50c3();}var __importDefault=this&&this[a36_0x7ac556(0x1e1)]||function(_0xa4289f){const _0x4b577e=a36_0x7ac556;return _0xa4289f&&_0xa4289f[_0x4b577e(0x1ec)]?_0xa4289f:{'default':_0xa4289f};};Object[a36_0x7ac556(0x203)](exports,a36_0x7ac556(0x1ec),{'value':!![]}),exports[a36_0x7ac556(0x1f7)]=verifyLicense;function a36_0x4a60(_0xf237b3,_0x327a0f){const _0x1e1913=a36_0x50c3();return a36_0x4a60=function(_0x4b2002,_0x307ec7){_0x4b2002=_0x4b2002-0x1da;let _0x50c396=_0x1e1913[_0x4b2002];return _0x50c396;},a36_0x4a60(_0xf237b3,_0x327a0f);}const tweetnacl_1=__importDefault(require(a36_0x7ac556(0x1ff))),license_util_1=require('./license-util'),PUBLIC_KEY=Buffer[a36_0x7ac556(0x1ef)]((0x0,license_util_1[a36_0x7ac556(0x1fe)])()+(0x0,license_util_1['part2'])()+(0x0,license_util_1[a36_0x7ac556(0x1dc)])(),'base64');let cached=null;function verifyLicense(_0x480121){const _0x1f6453=a36_0x7ac556,_0x1fdec3={'CyjOJ':function(_0x350b95,_0x1fcf72){return _0x350b95!==_0x1fcf72;},'YiWlr':_0x1f6453(0x1da),'IxByW':_0x1f6453(0x1ed),'HKmSV':_0x1f6453(0x1f4),'LzpbP':_0x1f6453(0x200),'DWFTp':_0x1f6453(0x1ea),'zbqdf':_0x1f6453(0x1dd)};if(cached)return cached;if(_0x1fdec3[_0x1f6453(0x202)](typeof _0x480121,_0x1fdec3[_0x1f6453(0x1e7)]))throw new Error(_0x1fdec3[_0x1f6453(0x1f9)]);const _0x525298=(0x0,license_util_1['base64UrlDecode'])(_0x480121);if(_0x1fdec3['CyjOJ'](_0x525298[_0x1f6453(0x205)],0x54))throw new Error(_0x1fdec3[_0x1f6453(0x1fd)]);const _0x2462ba=_0x525298['subarray'](0x0,0x14),_0x5c33de=_0x525298[_0x1f6453(0x1df)](0x14),_0x4068e1=tweetnacl_1[_0x1f6453(0x1e5)][_0x1f6453(0x1de)][_0x1f6453(0x1e0)][_0x1f6453(0x1f5)](_0x2462ba,_0x5c33de,PUBLIC_KEY);if(!_0x4068e1)throw new Error(_0x1fdec3[_0x1f6453(0x1fa)]);const _0x1d11db=_0x2462ba['readUInt8'](0x0);if(_0x1fdec3[_0x1f6453(0x202)](_0x1d11db,license_util_1['LICENSE_VERSION']))throw new Error(_0x1fdec3['DWFTp']);const _0x570216=_0x2462ba[_0x1f6453(0x1db)](0x1),_0x405626=_0x2462ba[_0x1f6453(0x1e3)](0x2),_0x2fb026=_0x2462ba['readUInt32BE'](0x6),_0xa24318=_0x2462ba[_0x1f6453(0x201)](0xa),_0x8e2801=Math['floor'](Date['now']()/0x3e8);if(_0x8e2801>_0x2fb026)throw new Error(_0x1fdec3[_0x1f6453(0x1f8)]);return cached={'licenseType':_0x570216,'issuedAt':_0x405626,'expiresAt':_0x2fb026,'features':_0xa24318},cached;}
|