@lovrabet/rabetbase-cli 2.2.4-beta.5 → 2.2.4-beta.6
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/lib/api/api-doc.js +1 -1
- package/lib/api/fetch-model-list.js +1 -1
- package/lib/api/generate-api-file.js +1 -1
- package/lib/auth/auth-server-ui.js +1 -1
- package/lib/auth/auth-server.js +1 -1
- package/lib/auth/constant.js +1 -1
- package/lib/auth/get-cookie.js +1 -1
- package/lib/auth/get-session-user.js +1 -1
- package/lib/auth/is-session-valid.js +1 -1
- package/lib/auth/login-success-html.js +1 -1
- package/lib/auth/logout.js +1 -1
- package/lib/cli-flags.js +1 -1
- package/lib/cli.js +1 -1
- package/lib/commands/api/generate.js +1 -1
- package/lib/commands/api/index.js +1 -1
- package/lib/commands/api/list.js +1 -1
- package/lib/commands/api/pull.js +1 -1
- package/lib/commands/api/shared.js +1 -1
- package/lib/commands/app/add.js +1 -1
- package/lib/commands/app/discover.js +1 -1
- package/lib/commands/app/index.js +1 -1
- package/lib/commands/app/list.js +1 -1
- package/lib/commands/app/remove.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app/use.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/bff/create.js +1 -1
- package/lib/commands/bff/delete.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/bff/list.js +1 -1
- package/lib/commands/bff/pull.js +1 -1
- package/lib/commands/bff/push.js +1 -1
- package/lib/commands/bff/status.js +1 -1
- package/lib/commands/cli-update.js +1 -1
- package/lib/commands/codegen/index.js +1 -1
- package/lib/commands/codegen/sdk.js +1 -1
- package/lib/commands/codegen/sql.js +1 -1
- package/lib/commands/common/app-selector.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/validate.js +1 -1
- package/lib/commands/config/get.js +1 -1
- package/lib/commands/config/index.js +1 -1
- package/lib/commands/config/list.js +1 -1
- package/lib/commands/config/set.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/data/filter.js +1 -1
- package/lib/commands/data/getOne.js +1 -1
- package/lib/commands/data/index.js +1 -1
- package/lib/commands/data/shared.js +1 -1
- package/lib/commands/dataset/capability.js +1 -1
- package/lib/commands/dataset/delete.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/extend-update.js +1 -1
- package/lib/commands/dataset/field-update.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/operations.js +1 -1
- package/lib/commands/dataset/relation-create.js +1 -1
- package/lib/commands/dataset/relation-delete.js +1 -1
- package/lib/commands/dataset/relation-shared.js +1 -1
- package/lib/commands/dataset/relation-update.js +1 -1
- package/lib/commands/dataset/relations.js +1 -1
- package/lib/commands/dataset/rename.js +1 -1
- package/lib/commands/db/analyze-cancel.js +1 -1
- package/lib/commands/db/analyze-start.js +1 -1
- package/lib/commands/db/analyze-status.js +1 -1
- package/lib/commands/db/create.js +1 -1
- package/lib/commands/db/delete.js +1 -1
- package/lib/commands/db/detail.js +1 -1
- package/lib/commands/db/diff.js +1 -1
- package/lib/commands/db/index.js +1 -1
- package/lib/commands/db/list.js +1 -1
- package/lib/commands/db/shared.js +1 -1
- package/lib/commands/db/tables.js +1 -1
- package/lib/commands/db/test.js +1 -1
- package/lib/commands/db/update.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/init/index.js +1 -1
- package/lib/commands/issue/index.js +1 -1
- package/lib/commands/issue/nudge.js +1 -1
- package/lib/commands/issue/report.js +1 -1
- package/lib/commands/issue/shared.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/menu/index.js +1 -1
- package/lib/commands/menu/list.js +1 -1
- package/lib/commands/menu/shared/compare-table.js +1 -1
- package/lib/commands/menu/shared/index.js +1 -1
- package/lib/commands/menu/shared/inquirer.js +1 -1
- package/lib/commands/menu/shared/local-pages.js +1 -1
- package/lib/commands/menu/shared/logic.js +1 -1
- package/lib/commands/menu/shared/service.js +1 -1
- package/lib/commands/menu/shared/sync-core.js +1 -1
- package/lib/commands/menu/shared/update-core.js +1 -1
- package/lib/commands/menu/shared/valid-url.js +1 -1
- package/lib/commands/menu/sync.js +1 -1
- package/lib/commands/menu/update.js +1 -1
- package/lib/commands/page/generate-start.js +1 -1
- package/lib/commands/page/generate-status.js +1 -1
- package/lib/commands/page/index.js +1 -1
- package/lib/commands/page/pull.js +1 -1
- package/lib/commands/page/push.js +1 -1
- package/lib/commands/page/relation-audit.js +1 -1
- package/lib/commands/page/shared.js +1 -1
- package/lib/commands/page/standard-page-status.js +1 -1
- package/lib/commands/page/sync.js +1 -1
- package/lib/commands/project/create/enhanced-guided-create.js +1 -1
- package/lib/commands/project/create/format-elapsed.js +1 -1
- package/lib/commands/project/create/main.js +1 -1
- package/lib/commands/project/create/non-interactive.js +1 -1
- package/lib/commands/project/create/project-template-path.js +1 -1
- package/lib/commands/project/create/use-copy-project-template.js +1 -1
- package/lib/commands/project/create/use-format-code.js +1 -1
- package/lib/commands/project/create/use-install-dependencies.js +1 -1
- package/lib/commands/project/index.js +1 -1
- package/lib/commands/project/init.js +1 -1
- package/lib/commands/project/upgrade.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/run/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/skill/index.js +1 -1
- package/lib/commands/sql/create.js +1 -1
- package/lib/commands/sql/delete.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/sql/list.js +1 -1
- package/lib/commands/sql/pull.js +1 -1
- package/lib/commands/sql/push.js +1 -1
- package/lib/commands/sql/save.js +1 -1
- package/lib/commands/sql/shared.js +1 -1
- package/lib/commands/sql/status.js +1 -1
- package/lib/commands/sql/validate.js +1 -1
- package/lib/commands/workspace/index.js +1 -0
- package/lib/config/schema.js +1 -1
- package/lib/constant/cdn.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/defaults.js +1 -1
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- package/lib/constant/paths.js +1 -1
- package/lib/constant/risk.js +1 -1
- package/lib/context/app-resolver.js +1 -1
- package/lib/context/auth-resolver.js +1 -1
- package/lib/context/config-loader.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/alias-resolver.js +1 -1
- package/lib/core/api-client.js +1 -1
- package/lib/core/bff/config.js +1 -1
- package/lib/core/bff/file-system.js +1 -1
- package/lib/core/bff/hash.js +1 -1
- package/lib/core/bff/lock.js +1 -1
- package/lib/core/bff/utils.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/page/file-system.js +1 -1
- package/lib/core/page/hash.js +1 -1
- package/lib/core/page/lock.js +1 -1
- package/lib/core/sql-sync/config.js +1 -1
- package/lib/core/sql-sync/file-system.js +1 -1
- package/lib/core/sql-sync/hash.js +1 -1
- package/lib/core/sql-sync/lock.js +1 -1
- package/lib/core/sql-sync/utils.js +1 -1
- package/lib/core/sql-validator.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/build-all-flags.js +1 -1
- package/lib/framework/flags.js +1 -1
- package/lib/framework/help.js +1 -1
- package/lib/framework/index.js +1 -1
- package/lib/framework/output.js +1 -1
- package/lib/framework/response.js +1 -1
- package/lib/framework/runner-alias.js +1 -1
- package/lib/framework/runner.js +1 -1
- package/lib/framework/schema-export.js +1 -1
- package/lib/framework/types.js +1 -1
- package/lib/generated/build-info.js +1 -1
- package/lib/help.js +1 -1
- package/lib/skills/main.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/telemetry/cli-command-trace.js +1 -1
- package/lib/telemetry/cli-help-trace.js +1 -1
- package/lib/telemetry/ensure-cli-otel-config.js +1 -1
- package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
- package/lib/telemetry/send-cli-trace-log.js +1 -1
- package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
- package/lib/utils/ai_config.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/cdn-config.js +1 -1
- package/lib/utils/check-sdk-version.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/cli-version-policy.js +1 -1
- package/lib/utils/config.js +1 -1
- package/lib/utils/copy-directory.js +1 -1
- package/lib/utils/entity-with-id.js +1 -1
- package/lib/utils/file-utils.js +1 -1
- package/lib/utils/guides-cdn.js +1 -1
- package/lib/utils/http-client.js +1 -1
- package/lib/utils/is-non-interactive.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/rules-cdn.js +1 -1
- package/lib/utils/sleep.js +1 -1
- package/lib/utils/template-replacer.js +1 -1
- package/lib/utils/update-notice.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/with-active-cookie.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a198_0x3b76(_0x3884ff,_0x161107){_0x3884ff=_0x3884ff-0x1b5;const _0x4f0cc9=a198_0x4f0c();let _0x3b7658=_0x4f0cc9[_0x3884ff];return _0x3b7658;}(function(_0x3e5d02,_0x58577b){const _0x98372d=a198_0x3b76,_0x59695e=_0x3e5d02();while(!![]){try{const _0x1f5275=-parseInt(_0x98372d(0x1c0))/0x1*(parseInt(_0x98372d(0x1bb))/0x2)+parseInt(_0x98372d(0x1be))/0x3*(-parseInt(_0x98372d(0x1b9))/0x4)+parseInt(_0x98372d(0x1b7))/0x5+parseInt(_0x98372d(0x1bd))/0x6*(-parseInt(_0x98372d(0x1c1))/0x7)+-parseInt(_0x98372d(0x1b8))/0x8*(-parseInt(_0x98372d(0x1ba))/0x9)+parseInt(_0x98372d(0x1bf))/0xa+parseInt(_0x98372d(0x1b6))/0xb;if(_0x1f5275===_0x58577b)break;else _0x59695e['push'](_0x59695e['shift']());}catch(_0x569c4b){_0x59695e['push'](_0x59695e['shift']());}}}(a198_0x4f0c,0x515e8));function toFiniteNumber(_0x28ea28){const _0x15ff29=a198_0x3b76;if(typeof _0x28ea28===_0x15ff29(0x1c2)&&Number[_0x15ff29(0x1c3)](_0x28ea28))return _0x28ea28;if(typeof _0x28ea28===_0x15ff29(0x1bc)){const _0x2b68fe=_0x28ea28['trim']();if(!_0x2b68fe)return undefined;const _0x366194=Number(_0x2b68fe);if(Number[_0x15ff29(0x1c3)](_0x366194))return _0x366194;}return undefined;}function a198_0x4f0c(){const _0x5ca161=['1MBeUJI','4837mLGWtI','number','isFinite','object','8311435qCFZXp','235445uHRpQM','48RfYZVP','4764nIlgSZ','680931sILwkF','1196522euLWZP','string','4824yTqmtm','654IHvBlD','4901230qSeEhh'];a198_0x4f0c=function(){return _0x5ca161;};return a198_0x4f0c();}export function normalizeEntityWithIdResponse(_0x43db08){const _0x52e3b4=a198_0x3b76,_0x36d94a=toFiniteNumber(_0x43db08);if(_0x36d94a!==undefined)return{'id':_0x36d94a,'entity':{'id':_0x36d94a}};if(!_0x43db08||typeof _0x43db08!==_0x52e3b4(0x1b5))return{'id':undefined,'entity':{}};const _0xce3e53={..._0x43db08},_0x27aebf=toFiniteNumber(_0xce3e53['id']);return _0x27aebf!==undefined&&(_0xce3e53['id']=_0x27aebf),{'id':_0x27aebf,'entity':_0xce3e53};}
|
package/lib/utils/file-utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x32f9fc,_0x1826fe){const _0x2fc058=a199_0x1a4f,_0x3f5698=_0x32f9fc();while(!![]){try{const _0x2c2f43=-parseInt(_0x2fc058(0x74))/0x1*(-parseInt(_0x2fc058(0x6d))/0x2)+parseInt(_0x2fc058(0x6e))/0x3*(parseInt(_0x2fc058(0x71))/0x4)+parseInt(_0x2fc058(0x76))/0x5*(-parseInt(_0x2fc058(0x73))/0x6)+parseInt(_0x2fc058(0x77))/0x7+parseInt(_0x2fc058(0x75))/0x8*(parseInt(_0x2fc058(0x79))/0x9)+-parseInt(_0x2fc058(0x72))/0xa*(-parseInt(_0x2fc058(0x78))/0xb)+-parseInt(_0x2fc058(0x6f))/0xc;if(_0x2c2f43===_0x1826fe)break;else _0x3f5698['push'](_0x3f5698['shift']());}catch(_0x1e9184){_0x3f5698['push'](_0x3f5698['shift']());}}}(a199_0x16d6,0x450bf));import{existsSync,mkdirSync,copyFileSync,readdirSync,statSync}from'node:fs';function a199_0x16d6(){const _0x31c7e4=['11733828eRKtKN','isDirectory','274348fAjCIk','1175290RkspFe','24hphKbK','39698FaWXeL','2624iyLRBf','265805qpSFeB','3799425pLSgOY','22QMPzpM','11754kOgNSK','10hBgSAW','3rfRpiK'];a199_0x16d6=function(){return _0x31c7e4;};return a199_0x16d6();}import{join}from'node:path';export async function copyDir(_0x3d3776,_0x3b60ff){const _0x34173e=a199_0x1a4f,_0xa3b5=statSync(_0x3d3776);if(_0xa3b5[_0x34173e(0x70)]()){!existsSync(_0x3b60ff)&&mkdirSync(_0x3b60ff,{'recursive':!![]});const _0x34469a=readdirSync(_0x3d3776);for(const _0x209db0 of _0x34469a){await copyDir(join(_0x3d3776,_0x209db0),join(_0x3b60ff,_0x209db0));}}else copyFileSync(_0x3d3776,_0x3b60ff);}function a199_0x1a4f(_0x119627,_0x235bcf){_0x119627=_0x119627-0x6d;const _0x16d6f2=a199_0x16d6();let _0x1a4ffb=_0x16d6f2[_0x119627];return _0x1a4ffb;}export function ensureDir(_0x4ebd52){!existsSync(_0x4ebd52)&&mkdirSync(_0x4ebd52,{'recursive':!![]});}export function pathExists(_0x46a641){return existsSync(_0x46a641);}
|
package/lib/utils/guides-cdn.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a200_0x331dfd=a200_0x5df4;(function(_0x11e193,_0x206c9a){const _0x273289=a200_0x5df4,_0x2e7206=_0x11e193();while(!![]){try{const _0xbd100f=-parseInt(_0x273289(0x1e7))/0x1*(parseInt(_0x273289(0x1e3))/0x2)+parseInt(_0x273289(0x1ee))/0x3+parseInt(_0x273289(0x1e9))/0x4*(parseInt(_0x273289(0x1d8))/0x5)+-parseInt(_0x273289(0x1dd))/0x6*(-parseInt(_0x273289(0x1d1))/0x7)+-parseInt(_0x273289(0x1ed))/0x8*(-parseInt(_0x273289(0x1ce))/0x9)+-parseInt(_0x273289(0x1e4))/0xa*(-parseInt(_0x273289(0x1cc))/0xb)+parseInt(_0x273289(0x1d3))/0xc*(-parseInt(_0x273289(0x1e5))/0xd);if(_0xbd100f===_0x206c9a)break;else _0x2e7206['push'](_0x2e7206['shift']());}catch(_0x10e297){_0x2e7206['push'](_0x2e7206['shift']());}}}(a200_0x58d8,0xdf83f));import{mkdirSync,writeFileSync}from'node:fs';import{dirname,join}from'node:path';import{homedir}from'node:os';import{getTemplateBaseUrl}from'../utils/config.js';function getGuidesCdnUrl(){const _0x187471=a200_0x5df4,_0x14d69b=getTemplateBaseUrl();return _0x14d69b+_0x187471(0x1f0);}const CACHE_DIR=join(homedir(),a200_0x331dfd(0x1eb),'cache');export async function fetchGuidesFromCDN(){const _0x1900c8=a200_0x331dfd,_0x9d13c9=getGuidesCdnUrl(),_0x3a7349=await fetch(_0x9d13c9,{'headers':{'Accept':'application/json'}});if(!_0x3a7349['ok'])throw new Error(_0x1900c8(0x1d6)+_0x3a7349[_0x1900c8(0x1d4)]+'\x20'+_0x3a7349[_0x1900c8(0x1e2)]);const _0x593278=await _0x3a7349[_0x1900c8(0x1da)]();if(!_0x593278[_0x1900c8(0x1d5)]||typeof _0x593278['guides']!=='object')throw new Error(_0x1900c8(0x1cf));return _0x593278;}export function writeGuidesToProject(_0x598d2f,_0x679cb9,_0x27139c=a200_0x331dfd(0x1d9),_0x46d729){const _0x11ea73=a200_0x331dfd,_0x2f9ce4=join(_0x679cb9,_0x27139c);mkdirSync(_0x2f9ce4,{'recursive':!![]});for(const [_0x58fd6e,_0x1e0019]of Object[_0x11ea73(0x1ef)](_0x598d2f[_0x11ea73(0x1d5)])){let _0x1e9613=_0x1e0019['content'];_0x1e0019[_0x11ea73(0x1d0)]&&(_0x1e9613=appendUpdateTime(_0x1e9613,_0x1e0019[_0x11ea73(0x1d0)])),writeFileSync(join(_0x2f9ce4,_0x58fd6e+_0x11ea73(0x1e0)),_0x1e9613,_0x11ea73(0x1f1));}}function a200_0x5df4(_0x1f03d8,_0x188a7d){_0x1f03d8=_0x1f03d8-0x1cc;const _0x58d839=a200_0x58d8();let _0x5df402=_0x58d839[_0x1f03d8];return _0x5df402;}export function appendUpdateTime(_0x3a4d1c,_0x15b730){const _0x8f55ee=a200_0x331dfd;return _0x3a4d1c=_0x3a4d1c[_0x8f55ee(0x1cd)](/\n*>更新时间:.*$/m,''),_0x3a4d1c[_0x8f55ee(0x1df)]()+(_0x8f55ee(0x1e8)+_0x15b730);}export function getSkillTemplate(_0x572993){const _0x5874fb=a200_0x331dfd;return _0x572993[_0x5874fb(0x1dc)]?.[_0x5874fb(0x1e1)]||'';}export function appendExtendContents(_0xdd1c13,_0x5d7015,_0x2ac4cd){const _0x5a73d6=a200_0x331dfd,_0x28f8d3=[];for(const [,_0x3bcf1e]of Object['entries'](_0x5d7015['guides'])){_0x3bcf1e[_0x5a73d6(0x1d7)]&&_0x28f8d3[_0x5a73d6(0x1ec)](_0x3bcf1e[_0x5a73d6(0x1d7)]['trimEnd']());}if(_0x28f8d3[_0x5a73d6(0x1db)]===0x0)return _0xdd1c13;return _0xdd1c13[_0x5a73d6(0x1df)]()+'\x0a\x0a'+_0x28f8d3[_0x5a73d6(0x1d2)]('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0x41dee1,_0x3f653b,_0x49a4b5){const _0x2f6104=a200_0x331dfd,_0x16b725=getSkillTemplate(_0x41dee1);if(!_0x16b725)throw new Error(_0x2f6104(0x1ea));const _0x2cf08d=dirname(_0x3f653b);mkdirSync(_0x2cf08d,{'recursive':!![]});let _0x2c01ef=_0x16b725['replace'](/\{\{IDE_NAME\}\}/g,_0x49a4b5);_0x2c01ef=appendExtendContents(_0x2c01ef,_0x41dee1),_0x41dee1['skillTemplate'][_0x2f6104(0x1d0)]&&(_0x2c01ef=appendUpdateTime(_0x2c01ef,_0x41dee1[_0x2f6104(0x1dc)][_0x2f6104(0x1d0)])),writeFileSync(_0x3f653b,_0x2c01ef,_0x2f6104(0x1f1));}function a200_0x58d8(){const _0x508c5d=['utf-8','77VTrIHx','replace','21258CVfOqr','CDN\x20返回数据格式错误','lastUpdated','112nubaFE','join','72AQIfSO','status','guides','CDN\x20请求失败:\x20','extendContent','10760EpyPUh','.lovrabet/skill/guides','json','length','skillTemplate','538638RPyEQu','keys','trimEnd','.md','content','statusText','20078hwCAye','875300qYoPJs','2513316rRVLTT','map','181usyOfr','\x0a\x0a>更新时间:','832tGlhxU','CDN\x20数据中缺少\x20skillTemplate','.lovrabet','push','56EXWvTn','4138026hXilbf','entries','/skills/guides.json'];a200_0x58d8=function(){return _0x508c5d;};return a200_0x58d8();}export async function installGuides(_0x556d93){const _0x24caac=a200_0x331dfd,_0x19bcc2=await fetchGuidesFromCDN();return writeGuidesToProject(_0x19bcc2,_0x556d93),Object[_0x24caac(0x1de)](_0x19bcc2['guides'])[_0x24caac(0x1db)];}export function getGuidesSummary(_0x1fde7a){const _0x2990d4=a200_0x331dfd;return Object[_0x2990d4(0x1ef)](_0x1fde7a[_0x2990d4(0x1d5)])[_0x2990d4(0x1e6)](([_0x2ac2bd,_0x1bd644])=>({'key':_0x2ac2bd,'title':_0x1bd644['title'],'path':_0x1bd644['path']}));}
|
package/lib/utils/http-client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5ac24c,_0x2bced9){const _0x53aa19=a201_0x4f6b,_0x177c8f=_0x5ac24c();while(!![]){try{const _0x57dedd=parseInt(_0x53aa19(0x17e))/0x1*(parseInt(_0x53aa19(0x184))/0x2)+-parseInt(_0x53aa19(0x177))/0x3*(parseInt(_0x53aa19(0x171))/0x4)+-parseInt(_0x53aa19(0x16c))/0x5+parseInt(_0x53aa19(0x172))/0x6+parseInt(_0x53aa19(0x16f))/0x7*(-parseInt(_0x53aa19(0x183))/0x8)+parseInt(_0x53aa19(0x181))/0x9*(parseInt(_0x53aa19(0x176))/0xa)+parseInt(_0x53aa19(0x17c))/0xb;if(_0x57dedd===_0x2bced9)break;else _0x177c8f['push'](_0x177c8f['shift']());}catch(_0x5efbf1){_0x177c8f['push'](_0x177c8f['shift']());}}}(a201_0x5a8c,0x7baf6));export async function httpRequest(_0x28dde4,_0x254ef4={}){const _0x52b7ee=a201_0x4f6b,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x254ef4;let _0x416096=null;for(let _0x49137b=0x0;_0x49137b<=retries;_0x49137b++){try{const _0x289743=new AbortController(),_0x5e1502=setTimeout(()=>_0x289743['abort'](),timeout),_0x61971c=await fetch(_0x28dde4,{'headers':headers,'signal':_0x289743[_0x52b7ee(0x174)]});clearTimeout(_0x5e1502);let _0x516bc5;const _0x46fe9b=_0x61971c[_0x52b7ee(0x16d)]['get'](_0x52b7ee(0x168));return _0x46fe9b?.[_0x52b7ee(0x16a)](_0x52b7ee(0x17f))?_0x516bc5=await _0x61971c[_0x52b7ee(0x175)]():_0x516bc5=await _0x61971c[_0x52b7ee(0x17a)](),{'ok':_0x61971c['ok'],'status':_0x61971c[_0x52b7ee(0x170)],'statusText':_0x61971c[_0x52b7ee(0x185)],'data':_0x516bc5,'headers':_0x61971c[_0x52b7ee(0x16d)],'url':_0x61971c[_0x52b7ee(0x182)],'text':()=>_0x61971c['text']()};}catch(_0x2b8ef9){_0x416096=_0x2b8ef9 instanceof Error?_0x2b8ef9:new Error(String(_0x2b8ef9));if(_0x49137b===retries)break;if(shouldRetry(_0x2b8ef9)){console[_0x52b7ee(0x173)](_0x52b7ee(0x16e)+retryDelay+'ms\x20后进行第\x20'+(_0x49137b+0x1)+_0x52b7ee(0x178)),await sleep(retryDelay);continue;}else break;}}throw _0x416096||new Error(_0x52b7ee(0x180));}function shouldRetry(_0x398e9f){const _0x24f76b=a201_0x4f6b;if(_0x398e9f instanceof Error){if(_0x398e9f['name']===_0x24f76b(0x16b))return![];if(_0x398e9f[_0x24f76b(0x179)]==='TypeError'&&_0x398e9f['message'][_0x24f76b(0x16a)](_0x24f76b(0x169)))return!![];if(_0x398e9f[_0x24f76b(0x17b)][_0x24f76b(0x16a)](_0x24f76b(0x17d)))return!![];if(_0x398e9f[_0x24f76b(0x17b)][_0x24f76b(0x16a)]('ENOTFOUND'))return![];}return![];}function a201_0x5a8c(){const _0x250e06=['2549245jfOmAb','headers','*\x20请求失败,','126gnMUrV','status','96dAnKZy','1527888kjIElt','log','signal','json','10AsSYLs','39972ZXXWMx','\x20次重试...','name','text','message','13197580MnmrXE','ECONNRESET','114442tntAQH','application/json','Request\x20failed','2108151ZWlDKR','url','309224IkJdIM','6IuOcTy','statusText','content-type','fetch','includes','AbortError'];a201_0x5a8c=function(){return _0x250e06;};return a201_0x5a8c();}function a201_0x4f6b(_0x26df39,_0x1924f9){_0x26df39=_0x26df39-0x168;const _0x5a8c4f=a201_0x5a8c();let _0x4f6b2c=_0x5a8c4f[_0x26df39];return _0x4f6b2c;}function sleep(_0x26c6fd){return new Promise(_0x25efec=>setTimeout(_0x25efec,_0x26c6fd));}export function validateUrl(_0x4c616f){try{return new URL(_0x4c616f),!![];}catch{return![];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a202_0x4b1c(_0x2bac2e,_0x4201c9){_0x2bac2e=_0x2bac2e-0xbb;const _0x20acb9=a202_0x20ac();let _0x4b1cc4=_0x20acb9[_0x2bac2e];return _0x4b1cc4;}function a202_0x20ac(){const _0x5a26cd=['11824QGycrQ','368821MFOABd','1782FKJTjg','isTTY','true','1094127BJElWX','10gfqRNb','isRaw','5668751DaljJM','setRawMode','nonInteractive','4CfMgEB','10qJhEop','stdin','1208580ZzHQkZ','368424yssqMG','1261218LeLJyO'];a202_0x20ac=function(){return _0x5a26cd;};return a202_0x20ac();}(function(_0x4a3dc1,_0x7867d){const _0x44635b=a202_0x4b1c,_0x24040e=_0x4a3dc1();while(!![]){try{const _0x48b493=-parseInt(_0x44635b(0xc3))/0x1+-parseInt(_0x44635b(0xbc))/0x2*(parseInt(_0x44635b(0xc7))/0x3)+parseInt(_0x44635b(0xbf))/0x4+parseInt(_0x44635b(0xbd))/0x5*(parseInt(_0x44635b(0xc1))/0x6)+-parseInt(_0x44635b(0xc0))/0x7+-parseInt(_0x44635b(0xc2))/0x8*(-parseInt(_0x44635b(0xc4))/0x9)+parseInt(_0x44635b(0xc8))/0xa*(parseInt(_0x44635b(0xca))/0xb);if(_0x48b493===_0x7867d)break;else _0x24040e['push'](_0x24040e['shift']());}catch(_0x141363){_0x24040e['push'](_0x24040e['shift']());}}}(a202_0x20ac,0x5cb11));function env(_0x2a8946){return process.env[`RABETBASE_${_0x2a8946}`]||process.env[`LOVRABET_${_0x2a8946}`]||undefined;}export function isNonInteractive(_0x296a4a){const _0x5af9da=a202_0x4b1c;return!!(_0x296a4a[_0x5af9da(0xbb)]||_0x296a4a['ci']||env('CI')==='true'||process.env.CI===_0x5af9da(0xc6)||!process['stdout'][_0x5af9da(0xc5)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x20ce8f=a202_0x4b1c;if(!process['stdin'][_0x20ce8f(0xc5)])return![];try{const _0x4e7354=process[_0x20ce8f(0xbe)][_0x20ce8f(0xc9)];return process[_0x20ce8f(0xbe)][_0x20ce8f(0xcb)](!![]),process[_0x20ce8f(0xbe)][_0x20ce8f(0xcb)](_0x4e7354??![]),!![];}catch{return![];}}
|
package/lib/utils/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a203_0x5154(_0x1809bc,_0x5e89a5){_0x1809bc=_0x1809bc-0xee;const _0x33f60d=a203_0x33f6();let _0x5154b2=_0x33f60d[_0x1809bc];return _0x5154b2;}const a203_0x3daee7=a203_0x5154;(function(_0x446a14,_0x72a305){const _0x97717e=a203_0x5154,_0x13f764=_0x446a14();while(!![]){try{const _0xc14ac3=parseInt(_0x97717e(0xf0))/0x1*(parseInt(_0x97717e(0x10c))/0x2)+parseInt(_0x97717e(0x11a))/0x3+parseInt(_0x97717e(0x121))/0x4+parseInt(_0x97717e(0x117))/0x5*(parseInt(_0x97717e(0xf9))/0x6)+parseInt(_0x97717e(0x11c))/0x7+-parseInt(_0x97717e(0x111))/0x8*(parseInt(_0x97717e(0x118))/0x9)+-parseInt(_0x97717e(0x122))/0xa;if(_0xc14ac3===_0x72a305)break;else _0x13f764['push'](_0x13f764['shift']());}catch(_0x1e0b1e){_0x13f764['push'](_0x13f764['shift']());}}}(a203_0x33f6,0xe4221));import a203_0x37d72c from'winston';import a203_0x29edb4 from'node:fs';import a203_0x489ed2 from'node:path';function a203_0x33f6(){const _0x22805d=['writeFileSync','36zYsFzo','yellow','.lovrabet.log','format','filter','createLogger','unknown','utf8','readLogs','addColors','now','clear','existsSync','info','失败:\x20','green','clearLogs','success','level','19982dywVtR','errors','split','readFileSync','log','620456Ucqall','transports','printf','trim','File','logFilePath','600085ozXtly','9quoNLw','rawCommand','308394LEcfiB','stringify','7462959VSgwvA','error','currentRawCommand','logTask','blue','4391908caztKx','19850150sqXMRI','parse','Failed\x20to\x20clear\x20logs:','winstonLogger','timestamp','message','1sVboGn','开始执行:\x20','Failed\x20to\x20read\x20logs:','initWinstonLogger','toISOString','duration','warn','red'];a203_0x33f6=function(){return _0x22805d;};return a203_0x33f6();}class Logger{[a203_0x3daee7(0x125)];[a203_0x3daee7(0x116)];[a203_0x3daee7(0x11e)]='';constructor(){const _0x53a2a2=a203_0x3daee7;this[_0x53a2a2(0x116)]='';}['setRawCommand'](_0x1606c9){const _0x12637b=a203_0x3daee7;this[_0x12637b(0x11e)]=_0x1606c9;}[a203_0x3daee7(0xf3)](){const _0x4d55d6=a203_0x3daee7,_0x3d5921=a203_0x489ed2['dirname'](this[_0x4d55d6(0x116)]);!a203_0x29edb4[_0x4d55d6(0x105)](_0x3d5921)&&a203_0x29edb4['mkdirSync'](_0x3d5921,{'recursive':!![]});const _0x334deb=a203_0x37d72c[_0x4d55d6(0xfc)]['combine'](a203_0x37d72c['format'][_0x4d55d6(0xee)](),a203_0x37d72c[_0x4d55d6(0xfc)][_0x4d55d6(0x10d)]({'stack':!![]}),a203_0x37d72c[_0x4d55d6(0xfc)][_0x4d55d6(0x113)](_0x20672b=>{const _0x24bd4c=_0x4d55d6,_0x401d34={'timestamp':_0x20672b[_0x24bd4c(0xee)]||new Date()[_0x24bd4c(0xf4)](),'level':_0x20672b[_0x24bd4c(0x10b)]||_0x24bd4c(0x106),'command':_0x20672b['command']||_0x24bd4c(0xff),'rawCommand':_0x20672b[_0x24bd4c(0x119)]||this[_0x24bd4c(0x11e)]||undefined,'message':_0x20672b[_0x24bd4c(0xef)]||'','duration':_0x20672b[_0x24bd4c(0xf5)]||undefined,'details':_0x20672b['details']||undefined};return JSON[_0x24bd4c(0x11b)](_0x401d34);}));this[_0x4d55d6(0x125)]=a203_0x37d72c[_0x4d55d6(0xfe)]({'level':'info','format':_0x334deb,'transports':[new a203_0x37d72c[(_0x4d55d6(0x112))][(_0x4d55d6(0x115))]({'filename':this['logFilePath'],'level':'info'})],'silent':![]}),a203_0x37d72c[_0x4d55d6(0x102)]({'success':_0x4d55d6(0x108),'error':_0x4d55d6(0xf7),'warn':_0x4d55d6(0xfa),'info':_0x4d55d6(0x120)});}['setLogPath'](_0x56a96d){const _0x54995e=a203_0x3daee7;this[_0x54995e(0x116)]=a203_0x489ed2['join'](_0x56a96d,_0x54995e(0xfb)),this[_0x54995e(0x125)]&&this[_0x54995e(0x125)][_0x54995e(0x104)](),this['initWinstonLogger']();}[a203_0x3daee7(0x106)](_0x25f07a,_0x5705df,_0xbe0620){const _0x4a467d=a203_0x3daee7;if(!this[_0x4a467d(0x116)]||!this[_0x4a467d(0x125)])return;this['winstonLogger'][_0x4a467d(0x106)](_0x5705df,{'command':_0x25f07a,'details':_0xbe0620});}[a203_0x3daee7(0x10a)](_0x1c0a1a,_0x209417,_0x4a030a,_0x55ba2f){const _0x28e87a=a203_0x3daee7;if(!this[_0x28e87a(0x116)]||!this['winstonLogger'])return;this[_0x28e87a(0x125)][_0x28e87a(0x110)](_0x28e87a(0x106),_0x209417,{'level':_0x28e87a(0x10a),'command':_0x1c0a1a,'duration':_0x4a030a,'details':_0x55ba2f});}[a203_0x3daee7(0x11d)](_0x53b3c5,_0x26a597,_0x322008){if(!this['logFilePath']||!this['winstonLogger'])return;this['winstonLogger']['error'](_0x26a597,{'command':_0x53b3c5,'details':_0x322008});}[a203_0x3daee7(0xf6)](_0x837dd,_0x1bfa58,_0x4c05d7){const _0x3c28ef=a203_0x3daee7;if(!this[_0x3c28ef(0x116)]||!this[_0x3c28ef(0x125)])return;this['winstonLogger'][_0x3c28ef(0xf6)](_0x1bfa58,{'command':_0x837dd,'details':_0x4c05d7});}async[a203_0x3daee7(0x11f)](_0x4a40c1,_0x438bbe,_0x3102a1){const _0x1840bb=a203_0x3daee7,_0x5de86f=Date[_0x1840bb(0x103)]();this[_0x1840bb(0x106)](_0x4a40c1,_0x1840bb(0xf1)+_0x438bbe);try{const _0x4c4dbf=await _0x3102a1(),_0x546ee8=Date['now']()-_0x5de86f;return this[_0x1840bb(0x10a)](_0x4a40c1,'完成:\x20'+_0x438bbe,_0x546ee8),_0x4c4dbf;}catch(_0x548753){const _0x49106c=Date['now']()-_0x5de86f;this[_0x1840bb(0x11d)](_0x4a40c1,_0x1840bb(0x107)+_0x438bbe,{'error':_0x548753 instanceof Error?_0x548753[_0x1840bb(0xef)]:String(_0x548753),'duration':_0x49106c});throw _0x548753;}}[a203_0x3daee7(0x101)](){const _0x550423=a203_0x3daee7;try{if(!a203_0x29edb4[_0x550423(0x105)](this[_0x550423(0x116)]))return[];const _0x1c1117=a203_0x29edb4[_0x550423(0x10f)](this[_0x550423(0x116)],'utf8');return _0x1c1117[_0x550423(0x10e)]('\x0a')[_0x550423(0xfd)](_0x4410f4=>_0x4410f4[_0x550423(0x114)]())['map'](_0x1d78e4=>JSON[_0x550423(0x123)](_0x1d78e4));}catch(_0x532632){return console[_0x550423(0xf6)](_0x550423(0xf2),_0x532632),[];}}[a203_0x3daee7(0x109)](){const _0x431e54=a203_0x3daee7;try{a203_0x29edb4['existsSync'](this[_0x431e54(0x116)])&&a203_0x29edb4[_0x431e54(0xf8)](this['logFilePath'],'',_0x431e54(0x100));}catch(_0x5335ab){console[_0x431e54(0xf6)](_0x431e54(0x124),_0x5335ab);}}['getWinstonInstance'](){const _0x117d6d=a203_0x3daee7;return this[_0x117d6d(0x125)];}}export const logger=new Logger();
|
package/lib/utils/params.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2bd7a8,_0x352b5d){const _0x25249a=a204_0x12dc,_0xd36c2d=_0x2bd7a8();while(!![]){try{const _0x2231c0=-parseInt(_0x25249a(0x19e))/0x1*(parseInt(_0x25249a(0x1a9))/0x2)+-parseInt(_0x25249a(0x1a7))/0x3*(-parseInt(_0x25249a(0x1a5))/0x4)+parseInt(_0x25249a(0x1a6))/0x5+-parseInt(_0x25249a(0x19d))/0x6*(-parseInt(_0x25249a(0x1a2))/0x7)+-parseInt(_0x25249a(0x19f))/0x8+-parseInt(_0x25249a(0x1a0))/0x9+-parseInt(_0x25249a(0x1a3))/0xa;if(_0x2231c0===_0x352b5d)break;else _0xd36c2d['push'](_0xd36c2d['shift']());}catch(_0x1d7273){_0xd36c2d['push'](_0xd36c2d['shift']());}}}(a204_0x273d,0x87eeb));function a204_0x273d(){const _0x551498=['Invalid\x20JSON\x20for\x20--params:\x20','validation','134226ebQcwB','42633MxGUYl','5992072Ikktrj','1095390clPOuv','parse','301wEYeqg','3584020qAWsxf','object','1656hlWvji','4379970DUyIRd','3639AvRhvU','isArray','26DgCNGq'];a204_0x273d=function(){return _0x551498;};return a204_0x273d();}function a204_0x12dc(_0x8b1476,_0x4fd32f){_0x8b1476=_0x8b1476-0x19d;const _0x273d75=a204_0x273d();let _0x12dcd5=_0x273d75[_0x8b1476];return _0x12dcd5;}import{CliErrors}from'../errors.js';export function parseJsonParams(_0x4ac9ce){const _0x3f3654=a204_0x12dc;if(!_0x4ac9ce)return undefined;let _0x3ea088;try{_0x3ea088=JSON[_0x3f3654(0x1a1)](_0x4ac9ce);}catch{throw CliErrors[_0x3f3654(0x1ab)](_0x3f3654(0x1aa)+_0x4ac9ce);}if(!_0x3ea088||typeof _0x3ea088!==_0x3f3654(0x1a4)||Array[_0x3f3654(0x1a8)](_0x3ea088))throw CliErrors[_0x3f3654(0x1ab)]('--params\x20must\x20be\x20a\x20JSON\x20object','Example:\x20--params\x20\x27{\x22id\x22:123}\x27');return _0x3ea088;}
|
package/lib/utils/platform.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a205_0x5918cd=a205_0x358f;(function(_0x440ced,_0x32eff5){const _0x109363=a205_0x358f,_0x551100=_0x440ced();while(!![]){try{const _0x1e07f1=-parseInt(_0x109363(0x12c))/0x1*(parseInt(_0x109363(0x126))/0x2)+-parseInt(_0x109363(0x125))/0x3+-parseInt(_0x109363(0x12e))/0x4+-parseInt(_0x109363(0x129))/0x5*(parseInt(_0x109363(0x130))/0x6)+-parseInt(_0x109363(0x131))/0x7*(parseInt(_0x109363(0x12d))/0x8)+-parseInt(_0x109363(0x128))/0x9+parseInt(_0x109363(0x12b))/0xa;if(_0x1e07f1===_0x32eff5)break;else _0x551100['push'](_0x551100['shift']());}catch(_0x416f6b){_0x551100['push'](_0x551100['shift']());}}}(a205_0x3b45,0x1ab5c));function a205_0x3b45(){const _0x3841c5=['300594vsakWw','6fsnHqh','win32','1076202xmPVlC','18075dRilZn','.cmd','6342260YSUEPw','22659SgZpHu','568UaOQTH','387692crskhZ','platform','150PcWRFi','4907StFDoq'];a205_0x3b45=function(){return _0x3841c5;};return a205_0x3b45();}export const isWindows=process[a205_0x5918cd(0x12f)]===a205_0x5918cd(0x127);function a205_0x358f(_0x57228f,_0x11c3f3){_0x57228f=_0x57228f-0x125;const _0x3b4548=a205_0x3b45();let _0x358f72=_0x3b4548[_0x57228f];return _0x358f72;}export function resolveNpmBin(_0x4e46a1){const _0x4c78c4=a205_0x5918cd;return isWindows?_0x4e46a1+_0x4c78c4(0x12a):_0x4e46a1;}
|
package/lib/utils/rules-cdn.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x23780d,_0x379c79){const _0x499392=a206_0x17b7,_0x56a456=_0x23780d();while(!![]){try{const _0x137c15=-parseInt(_0x499392(0x1e5))/0x1*(parseInt(_0x499392(0x1d9))/0x2)+-parseInt(_0x499392(0x1d8))/0x3*(-parseInt(_0x499392(0x1d2))/0x4)+parseInt(_0x499392(0x1e0))/0x5*(-parseInt(_0x499392(0x1d1))/0x6)+parseInt(_0x499392(0x1db))/0x7+-parseInt(_0x499392(0x1d3))/0x8+-parseInt(_0x499392(0x1e3))/0x9+-parseInt(_0x499392(0x1d6))/0xa*(-parseInt(_0x499392(0x1dc))/0xb);if(_0x137c15===_0x379c79)break;else _0x56a456['push'](_0x56a456['shift']());}catch(_0x5cb7f8){_0x56a456['push'](_0x56a456['shift']());}}}(a206_0x3ca3,0xee0c0));import{existsSync,mkdirSync,readFileSync,writeFileSync}from'node:fs';import{dirname,join,resolve}from'node:path';function a206_0x3ca3(){const _0x387987=['15342448fdQBgg','CDN\x20返回数据格式错误','content','10plAGlN','.cursor/rules','39ARPwtL','280XYFnOk','lastUpdated','10874052NPLiSu','29325538TZOAgL','status','utf-8','/rules/rules.json','155nSZzri','CDN\x20请求失败:\x20','agents.md','2787813uubcmm','json','7312mQqknY','本地模板文件不存在:\x20','lovrabet_rules.mdc','57378RihvuS','93336zKJyrN'];a206_0x3ca3=function(){return _0x387987;};return a206_0x3ca3();}function a206_0x17b7(_0x1b8e51,_0x3d7969){_0x1b8e51=_0x1b8e51-0x1cf;const _0x3ca34e=a206_0x3ca3();let _0x17b764=_0x3ca34e[_0x1b8e51];return _0x17b764;}import{fileURLToPath}from'node:url';import{getTemplateBaseUrl}from'../utils/config.js';import{appendUpdateTime}from'../utils/guides-cdn.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function getRulesCdnUrl(){const _0x3b8994=a206_0x17b7,_0x148cd3=getTemplateBaseUrl();return _0x148cd3+_0x3b8994(0x1df);}const LOCAL_TEMPLATE_PATH=resolve(__dirname,'../../templates/rules/lovrabet_rules.mdc.tpl');export async function fetchRulesFromCDN(){const _0x2ee8eb=a206_0x17b7,_0xd63d8c=getRulesCdnUrl(),_0x383c40=await fetch(_0xd63d8c,{'headers':{'Accept':'application/json'}});if(!_0x383c40['ok'])throw new Error(_0x2ee8eb(0x1e1)+_0x383c40[_0x2ee8eb(0x1dd)]+'\x20'+_0x383c40['statusText']);const _0x14478d=await _0x383c40[_0x2ee8eb(0x1e4)]();if(!_0x14478d['content']||typeof _0x14478d[_0x2ee8eb(0x1d5)]!=='string')throw new Error(_0x2ee8eb(0x1d4));return _0x14478d;}export async function getRulesContent(){const _0x4cad78=a206_0x17b7;try{const _0x553880=await fetchRulesFromCDN();return _0x553880[_0x4cad78(0x1d5)];}catch{return readLocalTemplate();}}export function readLocalTemplate(){const _0x14a382=a206_0x17b7;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0x14a382(0x1de));throw new Error(_0x14a382(0x1cf)+LOCAL_TEMPLATE_PATH);}export async function writeRulesFile(_0x18408c){const _0x4011a0=a206_0x17b7,_0xcf1500=await fetchRulesFromCDN()['catch'](()=>null);let _0x37109;_0xcf1500?(_0x37109=_0xcf1500[_0x4011a0(0x1d5)],_0xcf1500[_0x4011a0(0x1da)]&&(_0x37109=appendUpdateTime(_0x37109,_0xcf1500[_0x4011a0(0x1da)]))):_0x37109=readLocalTemplate();const _0x421157=dirname(_0x18408c);!existsSync(_0x421157)&&mkdirSync(_0x421157,{'recursive':!![]}),writeFileSync(_0x18408c,_0x37109,'utf-8');}export async function copyRulesToCursor(_0x30eb58){const _0x112a48=a206_0x17b7,_0x195342=join(_0x30eb58,_0x112a48(0x1d7)),_0x186efe=join(_0x195342,_0x112a48(0x1d0));if(existsSync(_0x186efe))return![];return await writeRulesFile(_0x186efe),!![];}export async function copyRulesToAgentsMd(_0x52562d){const _0x4c11fe=a206_0x17b7,_0x4696ae=join(_0x52562d,_0x4c11fe(0x1e2));if(existsSync(_0x4696ae))return![];return await writeRulesFile(_0x4696ae),!![];}
|
package/lib/utils/sleep.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export function sleep(
|
|
1
|
+
export function sleep(_0x64490c){return new Promise(_0x3f3711=>setTimeout(_0x3f3711,_0x64490c));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a208_0xc670f7=a208_0x55fb;(function(_0x52b923,_0x4a5726){const _0x15e5e6=a208_0x55fb,_0x2db3a2=_0x52b923();while(!![]){try{const _0x3a0f89=-parseInt(_0x15e5e6(0x95))/0x1*(-parseInt(_0x15e5e6(0xa4))/0x2)+parseInt(_0x15e5e6(0xca))/0x3*(-parseInt(_0x15e5e6(0xd3))/0x4)+-parseInt(_0x15e5e6(0xaf))/0x5+-parseInt(_0x15e5e6(0xcc))/0x6*(-parseInt(_0x15e5e6(0xcf))/0x7)+-parseInt(_0x15e5e6(0xb3))/0x8+parseInt(_0x15e5e6(0x99))/0x9*(parseInt(_0x15e5e6(0xc2))/0xa)+parseInt(_0x15e5e6(0xb5))/0xb*(parseInt(_0x15e5e6(0xc1))/0xc);if(_0x3a0f89===_0x4a5726)break;else _0x2db3a2['push'](_0x2db3a2['shift']());}catch(_0x44565c){_0x2db3a2['push'](_0x2db3a2['shift']());}}}(a208_0x2919,0x4b510));import a208_0x32996f from'node:fs';function a208_0x2919(){const _0x6c1176=['.css','getDate','.json','alias:\x20\x22','.scss','2937HqzXdU','endsWith','12KXIBLh','tableName:\x20\x22','processTemplate','841981qFmmjd','includes','join','.ts','2244HKqhYl','formatLocalTimestamp','now','\x0a\x20\x20\x20\x20{\x20','getMonth','processFile','YourModel','alias','199746sYxaYg','pop','readFile','模板内容替换失败','3114LFFDDS','slice','name','.md','message','replaceContent','toLowerCase','pad','default','toISOString','.js','2LbAfam','isFile','writeFile','getHours','error','.tpl','map','getFullYear','replace','promises','datasetCode:\x20\x22','2761225qDMCeH','success','charAt','template','361808HYYwzb','utf8','9416660sFOLME','toComponentName','readdir','processDirectory','name:\x20\x22','tableName','\x20},','.jsx','toUpperCase','模板内容替换完成','toDisplayTitle','mkdir','12TfUoEa','4590BKHggR','split','getSeconds'];a208_0x2919=function(){return _0x6c1176;};return a208_0x2919();}function a208_0x55fb(_0x1facf8,_0x2f2145){_0x1facf8=_0x1facf8-0x94;const _0x29197c=a208_0x2919();let _0x55fb4a=_0x29197c[_0x1facf8];return _0x55fb4a;}import a208_0x4b2379 from'node:path';import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a208_0xc670f7(0xa0)](_0x4f2a6e){return String(_0x4f2a6e)['padStart'](0x2,'0');}static[a208_0xc670f7(0xd4)](_0x319a9b){const _0x1fa13d=a208_0xc670f7,_0x32d690=_0x319a9b[_0x1fa13d(0xab)](),_0x375e81=this['pad'](_0x319a9b[_0x1fa13d(0xd7)]()+0x1),_0x28916c=this[_0x1fa13d(0xa0)](_0x319a9b[_0x1fa13d(0xc6)]()),_0x2f41fd=this[_0x1fa13d(0xa0)](_0x319a9b[_0x1fa13d(0xa7)]()),_0x34b647=this[_0x1fa13d(0xa0)](_0x319a9b['getMinutes']()),_0x1f9b6a=this[_0x1fa13d(0xa0)](_0x319a9b[_0x1fa13d(0xc4)]());return{'createdAt':_0x32d690+'-'+_0x375e81+'-'+_0x28916c+'\x20'+_0x2f41fd+':'+_0x34b647+':'+_0x1f9b6a,'createdDate':_0x32d690+'-'+_0x375e81+'-'+_0x28916c,'createdTime':_0x2f41fd+':'+_0x34b647+':'+_0x1f9b6a};}static[a208_0xc670f7(0xb6)](_0x141b61){const _0x443447=a208_0xc670f7,_0x3582ee=_0x141b61[_0x443447(0xc3)]('/')[_0x443447(0x96)]()||_0x141b61;return _0x3582ee[_0x443447(0xc3)]('-')[_0x443447(0xaa)](_0x566f73=>_0x566f73[_0x443447(0xb1)](0x0)[_0x443447(0xbd)]()+_0x566f73['slice'](0x1)['toLowerCase']())[_0x443447(0xd1)]('');}static[a208_0xc670f7(0xbf)](_0x437b8b){const _0x37fd8c=a208_0xc670f7,_0x142d38=_0x437b8b[_0x37fd8c(0xc3)]('/')[_0x37fd8c(0x96)]()||_0x437b8b;return _0x142d38[_0x37fd8c(0xc3)]('-')[_0x37fd8c(0xaa)](_0x53b640=>_0x53b640['charAt'](0x0)[_0x37fd8c(0xbd)]()+_0x53b640[_0x37fd8c(0x9a)](0x1)[_0x37fd8c(0x9f)]())['join']('\x20');}static[a208_0xc670f7(0x9e)](_0x3f7738,_0x4136a,_0x323a2c){const _0xc79425=a208_0xc670f7,_0x2b62a7=this[_0xc79425(0xb6)](_0x4136a),_0x33e23=this[_0xc79425(0xbf)](_0x4136a),{createdAt:_0x3044d5,createdDate:_0x2c3ca3,createdTime:_0xc27251}=this[_0xc79425(0xd4)](new Date());let _0x269369=_0x3f7738[_0xc79425(0xac)](/\{CliVersion\}/g,CLI_VERSION)[_0xc79425(0xac)](/\{ComponentName\}/g,_0x2b62a7)['replace'](/\{DisplayTitle\}/g,_0x33e23)[_0xc79425(0xac)](/\{PageName\}/g,_0x4136a)[_0xc79425(0xac)](/\{TemplateName\}/g,_0x323a2c)['replace'](/\{CreatedAt\}/g,_0x3044d5)[_0xc79425(0xac)](/\{CreatedDate\}/g,_0x2c3ca3)[_0xc79425(0xac)](/\{CreatedTime\}/g,_0xc27251);return _0x269369;}static['replaceApiContent'](_0x390bab,_0x508392,_0x301351,_0x2f22d9,_0x11074b,_0x566878,_0x3f7f8a,_0x10017){const _0xa28d0e=a208_0xc670f7,_0x2c2a63=new Date(),_0x49c9c5=_0x2c2a63[_0xa28d0e(0xa2)](),_0x2d387a=_0x301351[_0xa28d0e(0xaa)](_0x22013e=>{const _0x1bbc75=_0xa28d0e,_0x3327ca=[_0x1bbc75(0xae)+_0x22013e['datasetCode']+'\x22',_0x1bbc75(0xcd)+_0x22013e[_0x1bbc75(0xba)]+'\x22',_0x1bbc75(0xb9)+_0x22013e[_0x1bbc75(0x9b)]+'\x22'];return _0x22013e[_0x1bbc75(0x94)]&&_0x3327ca['push'](_0x1bbc75(0xc8)+_0x22013e['alias']+'\x22'),_0x1bbc75(0xd6)+_0x3327ca[_0x1bbc75(0xd1)](',\x20')+_0x1bbc75(0xbb);})[_0xa28d0e(0xd1)](''),_0x372679=_0x2f22d9||_0x301351[0x0]?.[_0xa28d0e(0x94)]||_0xa28d0e(0xd9);let _0x3073f6=_0x390bab[_0xa28d0e(0xac)](/\{AppCode\}/g,_0x508392)[_0xa28d0e(0xac)](/\{ModelConfigs\}/g,_0x2d387a)[_0xa28d0e(0xac)](/\{ExampleModelName\}/g,_0x372679)[_0xa28d0e(0xac)](/\{ApiFileName\}/g,_0x11074b||'api')[_0xa28d0e(0xac)](/\{ConfigName\}/g,_0x566878||_0xa28d0e(0xa1))[_0xa28d0e(0xac)](/\{ClientConfigParam\}/g,_0x3f7f8a||'')[_0xa28d0e(0xac)](/\{VarPrefix\}/g,_0x10017||'LOVRABET')[_0xa28d0e(0xac)](/\{CreatedAt\}/g,_0x49c9c5);return _0x3073f6;}static async[a208_0xc670f7(0xce)](_0x4b2684,_0x55572b,_0xdc1435,_0x1eb3fe,_0x3f42e0=!![]){const _0x36d2b4=a208_0xc670f7,_0x3fc2f1=Date[_0x36d2b4(0xd5)]();try{_0x3f42e0&&logger['info'](_0x36d2b4(0xb2),'开始处理模板内容替换',{'templatePath':_0x4b2684,'targetPath':_0x55572b,'pageName':_0xdc1435,'templateName':_0x1eb3fe});await a208_0x32996f[_0x36d2b4(0xad)][_0x36d2b4(0xc0)](_0x55572b,{'recursive':!![]}),await this['processDirectory'](_0x4b2684,_0x55572b,_0xdc1435,_0x1eb3fe);if(_0x3f42e0){const _0x44c3cc=Date[_0x36d2b4(0xd5)]()-_0x3fc2f1;logger[_0x36d2b4(0xb0)](_0x36d2b4(0xb2),_0x36d2b4(0xbe),_0x44c3cc,{'pageName':_0xdc1435,'templateName':_0x1eb3fe});}}catch(_0x4ca705){if(_0x3f42e0){const _0x3882f3=Date[_0x36d2b4(0xd5)]()-_0x3fc2f1;logger[_0x36d2b4(0xa8)](_0x36d2b4(0xb2),_0x36d2b4(0x98),{'templatePath':_0x4b2684,'targetPath':_0x55572b,'pageName':_0xdc1435,'templateName':_0x1eb3fe,'error':_0x4ca705 instanceof Error?_0x4ca705[_0x36d2b4(0x9d)]:String(_0x4ca705),'duration':_0x3882f3});}throw _0x4ca705;}}static async[a208_0xc670f7(0xb8)](_0x12824c,_0x2294b3,_0x1c5416,_0x22ac06){const _0x3ea478=a208_0xc670f7,_0x20d592=await a208_0x32996f['promises'][_0x3ea478(0xb7)](_0x12824c,{'withFileTypes':!![]});for(const _0x2f844d of _0x20d592){const _0x2999ea=a208_0x4b2379[_0x3ea478(0xd1)](_0x12824c,_0x2f844d[_0x3ea478(0x9b)]);let _0x1f0a98=a208_0x4b2379['join'](_0x2294b3,_0x2f844d['name']);_0x2f844d[_0x3ea478(0x9b)][_0x3ea478(0xcb)](_0x3ea478(0xa9))&&(_0x1f0a98=a208_0x4b2379['join'](_0x2294b3,_0x2f844d[_0x3ea478(0x9b)]['replace'](/\.tpl$/,'')));if(_0x2f844d['isDirectory']())await a208_0x32996f[_0x3ea478(0xad)]['mkdir'](_0x1f0a98,{'recursive':!![]}),await this[_0x3ea478(0xb8)](_0x2999ea,_0x1f0a98,_0x1c5416,_0x22ac06);else _0x2f844d[_0x3ea478(0xa5)]()&&await this[_0x3ea478(0xd8)](_0x2999ea,_0x1f0a98,_0x1c5416,_0x22ac06);}}static async[a208_0xc670f7(0xd8)](_0x3f6923,_0x765465,_0x18f3f6,_0x10c75c){const _0xef1465=a208_0xc670f7,_0x351ff2=a208_0x4b2379['extname'](_0x3f6923)['toLowerCase']();_0x3f6923[_0xef1465(0xcb)]('.tpl')&&(_0x765465=_0x765465[_0xef1465(0xac)](/\.tpl$/,''));const _0x1ba27b=['.tsx',_0xef1465(0xd2),_0xef1465(0xbc),_0xef1465(0xa3),_0xef1465(0xc7),_0xef1465(0x9c),_0xef1465(0xc5),_0xef1465(0xc9),_0xef1465(0xa9)];if(_0x1ba27b[_0xef1465(0xd0)](_0x351ff2)||_0x3f6923[_0xef1465(0xcb)](_0xef1465(0xa9))){const _0x4ffb2f=await a208_0x32996f[_0xef1465(0xad)][_0xef1465(0x97)](_0x3f6923,_0xef1465(0xb4)),_0x233db9=this[_0xef1465(0x9e)](_0x4ffb2f,_0x18f3f6,_0x10c75c);await a208_0x32996f['promises'][_0xef1465(0xa6)](_0x765465,_0x233db9,_0xef1465(0xb4));}else await a208_0x32996f[_0xef1465(0xad)]['copyFile'](_0x3f6923,_0x765465);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x52c425,_0x408522){const _0x332e6e=a209_0x1905,_0x266376=_0x52c425();while(!![]){try{const _0x427c0c=-parseInt(_0x332e6e(0x110))/0x1*(parseInt(_0x332e6e(0x10a))/0x2)+parseInt(_0x332e6e(0x102))/0x3+-parseInt(_0x332e6e(0x112))/0x4+parseInt(_0x332e6e(0x10e))/0x5+-parseInt(_0x332e6e(0x10b))/0x6*(parseInt(_0x332e6e(0x116))/0x7)+-parseInt(_0x332e6e(0xfa))/0x8+parseInt(_0x332e6e(0x10c))/0x9*(parseInt(_0x332e6e(0x113))/0xa);if(_0x427c0c===_0x408522)break;else _0x266376['push'](_0x266376['shift']());}catch(_0x5a3def){_0x266376['push'](_0x266376['shift']());}}}(a209_0x49d7,0x2bec2));function a209_0x1905(_0x33e83e,_0x447a3d){_0x33e83e=_0x33e83e-0xfa;const _0x49d732=a209_0x49d7();let _0x1905a1=_0x49d732[_0x33e83e];return _0x1905a1;}import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a209_0x3b48e6 from'semver';import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0x95bd99=a209_0x1905,_0x5548e5=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x95bd99(0x106)]()['toLowerCase']();return _0x5548e5==='1'||_0x5548e5===_0x95bd99(0xfc)||_0x5548e5===_0x95bd99(0xff);}function cacheRoot(){const _0x13cab1=a209_0x1905;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x13cab1(0x101));}export function getUpdateNoticeCachePath(){const _0x45ddd1=a209_0x1905;return join(cacheRoot(),_0x45ddd1(0x104),_0x45ddd1(0x111));}function a209_0x49d7(){const _0x396496=['object','rabetbase-cli','/v/','trim','lastNotifiedAt','checkedAt','stringify','221614MczxEZ','276UyfzJH','171ORubzb','latest','1358675pbpMhN',',\x20run:\x20','1TEJTeg','update-check.json','568576TPTMbx','227860xmjUKA','lastNotifiedVersion','https://www.npmjs.com/package/','19600yKgbqw','number','1876536ScSHEH','valid','true','parse','\x20update','yes','utf8','.cache','274665yhpsIP'];a209_0x49d7=function(){return _0x396496;};return a209_0x49d7();}async function readUpdateNoticeCache(){const _0x4233bf=a209_0x1905;try{const _0x2c0ca8=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x424ec3=JSON[_0x4233bf(0xfd)](_0x2c0ca8);if(!_0x424ec3||typeof _0x424ec3!==_0x4233bf(0x103))return{};return _0x424ec3;}catch{return{};}}async function writeUpdateNoticeCache(_0x828dee){const _0x147d38=a209_0x1905;try{const _0x283f93=getUpdateNoticeCachePath();await mkdir(dirname(_0x283f93),{'recursive':!![]}),await writeFile(_0x283f93,JSON[_0x147d38(0x109)](_0x828dee,null,0x2)+'\x0a',_0x147d38(0x100));}catch{}}function isFreshCheck(_0x34f614,_0x2821ee){const _0x3d13b5=a209_0x1905;return typeof _0x34f614[_0x3d13b5(0x108)]==='number'&&_0x2821ee-_0x34f614[_0x3d13b5(0x108)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x18c561,_0x336729,_0xbf5b2b){const _0x15d08d=a209_0x1905;return _0x18c561[_0x15d08d(0x114)]===_0x336729&&typeof _0x18c561[_0x15d08d(0x107)]===_0x15d08d(0x117)&&_0xbf5b2b-_0x18c561[_0x15d08d(0x107)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x95101e){const _0x1571c2=a209_0x1905;return _0x1571c2(0x115)+NPM_PACKAGE_NAME+_0x1571c2(0x105)+_0x95101e;}export async function resolveLatestUpdateNotice(){const _0x58c0fe=a209_0x1905;if(isUpdateNoticeDisabled())return null;try{const _0x49bd05=Date['now'](),_0x8d31f8=getCliVersion(),_0x38482c=await readUpdateNoticeCache();let _0x44372b=isFreshCheck(_0x38482c,_0x49bd05)?_0x38482c[_0x58c0fe(0x10d)]?.[_0x58c0fe(0x106)]():undefined;if(!_0x44372b&&!isFreshCheck(_0x38482c,_0x49bd05)){const _0x42a535=await getCliVersionPolicy();_0x44372b=_0x42a535?.['stableVersion']?.[_0x58c0fe(0x106)]()||undefined,await writeUpdateNoticeCache({..._0x38482c,'checkedAt':_0x49bd05,'latest':_0x44372b,'failed':!_0x44372b});}if(!_0x44372b||!a209_0x3b48e6[_0x58c0fe(0xfb)](_0x8d31f8)||!a209_0x3b48e6['valid'](_0x44372b))return null;if(a209_0x3b48e6['gte'](_0x8d31f8,_0x44372b))return null;if(isRecentlyNotified(_0x38482c,_0x44372b,_0x49bd05))return null;const _0x554ce5=CLI_BIN_NAME+_0x58c0fe(0xfe);return await writeUpdateNoticeCache({..._0x38482c,'checkedAt':isFreshCheck(_0x38482c,_0x49bd05)?_0x38482c[_0x58c0fe(0x108)]:_0x49bd05,'latest':_0x44372b,'failed':![],'lastNotifiedVersion':_0x44372b,'lastNotifiedAt':_0x49bd05}),{'command':_0x554ce5,'current':_0x8d31f8,'latest':_0x44372b,'url':buildNpmVersionUrl(_0x44372b),'message':CLI_BIN_NAME+'\x20'+_0x44372b+'\x20available,\x20current\x20'+_0x8d31f8+_0x58c0fe(0x10f)+_0x554ce5};}catch{return null;}}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5de02d,_0x58bc1b){var _0x506b1d=a210_0xa1ef,_0x3e3aa6=_0x5de02d();while(!![]){try{var _0x419b7b=-parseInt(_0x506b1d(0x83))/0x1+-parseInt(_0x506b1d(0x84))/0x2+-parseInt(_0x506b1d(0x80))/0x3+-parseInt(_0x506b1d(0x82))/0x4+-parseInt(_0x506b1d(0x81))/0x5+parseInt(_0x506b1d(0x85))/0x6*(parseInt(_0x506b1d(0x7e))/0x7)+-parseInt(_0x506b1d(0x86))/0x8*(-parseInt(_0x506b1d(0x7f))/0x9);if(_0x419b7b===_0x58bc1b)break;else _0x3e3aa6['push'](_0x3e3aa6['shift']());}catch(_0x2b59e8){_0x3e3aa6['push'](_0x3e3aa6['shift']());}}}(a210_0x443d,0xc9793));function a210_0x443d(){var _0x3391e7=['4626smDpig','2702526usiARa','5471420UbCbAJ','1830464XFPecN','538797QCJNrx','3196232nwoTVa','18792SLsGXJ','66632azBSAx','2534cbAxIv'];a210_0x443d=function(){return _0x3391e7;};return a210_0x443d();}function a210_0xa1ef(_0x203de6,_0x3f93e1){_0x203de6=_0x203de6-0x7e;var _0x443d3b=a210_0x443d();var _0xa1ef81=_0x443d3b[_0x203de6];return _0xa1ef81;}import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a211_0x2d3d(_0x2252f5,_0xb7cae2){_0x2252f5=_0x2252f5-0xaf;var _0x226749=a211_0x2267();var _0x2d3d70=_0x226749[_0x2252f5];return _0x2d3d70;}(function(_0xfbbc04,_0x54eff1){var _0x17fd2d=a211_0x2d3d,_0x5423b4=_0xfbbc04();while(!![]){try{var _0x4aa7be=-parseInt(_0x17fd2d(0xb4))/0x1+-parseInt(_0x17fd2d(0xb2))/0x2+parseInt(_0x17fd2d(0xaf))/0x3+-parseInt(_0x17fd2d(0xb0))/0x4+-parseInt(_0x17fd2d(0xb1))/0x5+-parseInt(_0x17fd2d(0xb3))/0x6+parseInt(_0x17fd2d(0xb5))/0x7;if(_0x4aa7be===_0x54eff1)break;else _0x5423b4['push'](_0x5423b4['shift']());}catch(_0x48aecd){_0x5423b4['push'](_0x5423b4['shift']());}}}(a211_0x2267,0x5a72b));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a211_0x2267(){var _0xa78510=['854392tVPSVo','3080820GQUcnl','248406FNJMdD','15315125VFCDXv','943410qABwGU','1601280NBYwDQ','2712390qGlvhY'];a211_0x2267=function(){return _0xa78510;};return a211_0x2267();}export async function withActiveCookie(_0x4d1ff6,_0x191085){setActiveCookie(_0x4d1ff6);try{return await _0x191085();}finally{clearActiveCookie();}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a212_0x3f73(_0x51a93c,_0x47b69d){_0x51a93c=_0x51a93c-0x122;var _0x129466=a212_0x1294();var _0x3f7307=_0x129466[_0x51a93c];return _0x3f7307;}(function(_0x47eb21,_0x145c2a){var _0x292325=a212_0x3f73,_0x1e8cb7=_0x47eb21();while(!![]){try{var _0x34ba16=-parseInt(_0x292325(0x12e))/0x1*(-parseInt(_0x292325(0x127))/0x2)+parseInt(_0x292325(0x12a))/0x3*(parseInt(_0x292325(0x124))/0x4)+-parseInt(_0x292325(0x12c))/0x5+parseInt(_0x292325(0x12d))/0x6*(parseInt(_0x292325(0x128))/0x7)+-parseInt(_0x292325(0x123))/0x8+parseInt(_0x292325(0x122))/0x9*(parseInt(_0x292325(0x12b))/0xa)+parseInt(_0x292325(0x126))/0xb*(parseInt(_0x292325(0x125))/0xc);if(_0x34ba16===_0x145c2a)break;else _0x1e8cb7['push'](_0x1e8cb7['shift']());}catch(_0x3d675c){_0x1e8cb7['push'](_0x1e8cb7['shift']());}}}(a212_0x1294,0xe7590));export function writeCliSideChannelLine(_0x30d0e7){var _0x1dc871=a212_0x3f73;process['stderr'][_0x1dc871(0x129)](_0x30d0e7+'\x0a');}function a212_0x1294(){var _0x16b0a4=['30aloCGI','7318HQeZQg','54uctWfk','10878272SJllqU','996ftWoIq','1011732xLbuPO','330IFzQBp','318gEkqDn','400694WZHNxN','write','1143ZGXPSA','23520iFVOwK','8903495BGoMPy'];a212_0x1294=function(){return _0x16b0a4;};return a212_0x1294();}
|