@lovrabet/rabetbase-cli 2.1.2-beta.3 → 2.1.2
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/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/new.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/dataset/detail.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/links.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/operations.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/logs/index.js +1 -1
- package/lib/commands/menu/index.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/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/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/save.js +1 -1
- package/lib/commands/sql/shared.js +1 -1
- package/lib/commands/sql/validate.js +1 -1
- package/lib/config/schema.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.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/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/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/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/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/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
package/lib/utils/rules-cdn.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x55fe5f,_0x3ea5b9){const _0x32dd72=a19_0x3d94,_0x22ab94=_0x55fe5f();while(!![]){try{const _0x516249=parseInt(_0x32dd72(0x1e5))/0x1*(-parseInt(_0x32dd72(0x1e6))/0x2)+-parseInt(_0x32dd72(0x1e3))/0x3+parseInt(_0x32dd72(0x1e7))/0x4+parseInt(_0x32dd72(0x1e8))/0x5*(parseInt(_0x32dd72(0x1da))/0x6)+parseInt(_0x32dd72(0x1db))/0x7*(-parseInt(_0x32dd72(0x1dd))/0x8)+-parseInt(_0x32dd72(0x1f0))/0x9*(parseInt(_0x32dd72(0x1ed))/0xa)+parseInt(_0x32dd72(0x1e4))/0xb*(parseInt(_0x32dd72(0x1f1))/0xc);if(_0x516249===_0x3ea5b9)break;else _0x22ab94['push'](_0x22ab94['shift']());}catch(_0x121632){_0x22ab94['push'](_0x22ab94['shift']());}}}(a19_0x3b73,0x18ae1));import{existsSync,mkdirSync,readFileSync,writeFileSync}from'node:fs';import{dirname,join,resolve}from'node:path';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 _0x3e9764=a19_0x3d94,_0x4b5de9=getTemplateBaseUrl();return _0x4b5de9+_0x3e9764(0x1de);}function a19_0x3d94(_0x23e7d6,_0x24ee9e){_0x23e7d6=_0x23e7d6-0x1da;const _0x3b7334=a19_0x3b73();let _0x3d9435=_0x3b7334[_0x23e7d6];return _0x3d9435;}const LOCAL_TEMPLATE_PATH=resolve(__dirname,'../../templates/rules/lovrabet_rules.mdc.tpl');export async function fetchRulesFromCDN(){const _0x432442=a19_0x3d94,_0x1c68e3=getRulesCdnUrl(),_0x229ac5=await fetch(_0x1c68e3,{'headers':{'Accept':'application/json'}});if(!_0x229ac5['ok'])throw new Error(_0x432442(0x1dc)+_0x229ac5[_0x432442(0x1eb)]+'\x20'+_0x229ac5[_0x432442(0x1ee)]);const _0xdbfedf=await _0x229ac5['json']();if(!_0xdbfedf[_0x432442(0x1e9)]||typeof _0xdbfedf['content']!=='string')throw new Error(_0x432442(0x1e0));return _0xdbfedf;}function a19_0x3b73(){const _0x56f28c=['773144BhMTZt','/rules/rules.json','catch','CDN\x20返回数据格式错误','lovrabet_rules.mdc','lastUpdated','477117eSMqtP','60467nGDtxU','12527oTAdMT','2vqDtNu','470132TkZOCc','55405yBoKhX','content','utf-8','status','本地模板文件不存在:\x20','80KdMVKs','statusText','agents.md','206289VcvsNB','708EdQCXC','60bRfwtp','7MgzpSX','CDN\x20请求失败:\x20'];a19_0x3b73=function(){return _0x56f28c;};return a19_0x3b73();}export async function getRulesContent(){const _0x4b19ad=a19_0x3d94;try{const _0x2b2305=await fetchRulesFromCDN();return _0x2b2305[_0x4b19ad(0x1e9)];}catch{return readLocalTemplate();}}export function readLocalTemplate(){const _0x50cb9f=a19_0x3d94;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0x50cb9f(0x1ea));throw new Error(_0x50cb9f(0x1ec)+LOCAL_TEMPLATE_PATH);}export async function writeRulesFile(_0x1ebaed){const _0x449bdc=a19_0x3d94,_0x455c5=await fetchRulesFromCDN()[_0x449bdc(0x1df)](()=>null);let _0x119170;_0x455c5?(_0x119170=_0x455c5[_0x449bdc(0x1e9)],_0x455c5[_0x449bdc(0x1e2)]&&(_0x119170=appendUpdateTime(_0x119170,_0x455c5[_0x449bdc(0x1e2)]))):_0x119170=readLocalTemplate();const _0x300f3d=dirname(_0x1ebaed);!existsSync(_0x300f3d)&&mkdirSync(_0x300f3d,{'recursive':!![]}),writeFileSync(_0x1ebaed,_0x119170,_0x449bdc(0x1ea));}export async function copyRulesToCursor(_0x27279c){const _0xf116f5=a19_0x3d94,_0x4dc37b=join(_0x27279c,'.cursor/rules'),_0x529b86=join(_0x4dc37b,_0xf116f5(0x1e1));if(existsSync(_0x529b86))return![];return await writeRulesFile(_0x529b86),!![];}export async function copyRulesToAgentsMd(_0x995cd7){const _0x10bbbf=a19_0x3d94,_0x1dc519=join(_0x995cd7,_0x10bbbf(0x1ef));if(existsSync(_0x1dc519))return![];return await writeRulesFile(_0x1dc519),!![];}
|
package/lib/utils/sleep.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export function sleep(
|
|
1
|
+
export function sleep(_0x31456f){return new Promise(_0x1d30cb=>setTimeout(_0x1d30cb,_0x31456f));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a7_0x1b5381=a7_0x5b15;(function(_0x545400,_0x546915){const _0x4638f4=a7_0x5b15,_0x58f89c=_0x545400();while(!![]){try{const _0x5ac94e=parseInt(_0x4638f4(0x1b2))/0x1*(parseInt(_0x4638f4(0x198))/0x2)+parseInt(_0x4638f4(0x1cb))/0x3*(-parseInt(_0x4638f4(0x1ae))/0x4)+parseInt(_0x4638f4(0x1bf))/0x5+-parseInt(_0x4638f4(0x19a))/0x6*(parseInt(_0x4638f4(0x1b5))/0x7)+parseInt(_0x4638f4(0x1c3))/0x8*(parseInt(_0x4638f4(0x1a5))/0x9)+-parseInt(_0x4638f4(0x19d))/0xa*(-parseInt(_0x4638f4(0x1c8))/0xb)+parseInt(_0x4638f4(0x1b0))/0xc;if(_0x5ac94e===_0x546915)break;else _0x58f89c['push'](_0x58f89c['shift']());}catch(_0x490ef0){_0x58f89c['push'](_0x58f89c['shift']());}}}(a7_0x4b5f,0xee8d0));function a7_0x5b15(_0x1a0bae,_0x4e4f85){_0x1a0bae=_0x1a0bae-0x18d;const _0x4b5fed=a7_0x4b5f();let _0x5b1560=_0x4b5fed[_0x1a0bae];return _0x5b1560;}import a7_0x5aa1bc from'node:fs';import a7_0x1af889 from'node:path';function a7_0x4b5f(){const _0x1ba8b2=['toUpperCase','.json','alias','slice','writeFile','pop','readFile','LOVRABET','toLowerCase','api','map','message','template','.tpl','pad','\x0a\x20\x20\x20\x20{\x20','processDirectory','getHours','.jsx','padStart','processFile','datasetCode','1324WOYIpE','extname','12KlrvUa','now','mkdir','2385210GxuFAe','.tsx','includes','info','tableName','name','join','\x20},','139419ImPojG','开始处理模板内容替换','.scss','模板内容替换失败','formatLocalTimestamp','tableName:\x20\x22','alias:\x20\x22','replaceContent','getFullYear','26132uKJbHX','getMonth','1916136MPoWJs','模板内容替换完成','1945vgVKWZ','.css','copyFile','2843869iABBef','YourModel','replaceApiContent','name:\x20\x22','success','.md','toComponentName','promises','error','replace','5084260JNUGFF','endsWith','split','.ts','48Ejagja','utf8','getSeconds','toISOString','toDisplayTitle','33QoUtXp','getDate','isFile','681OxgXde'];a7_0x4b5f=function(){return _0x1ba8b2;};return a7_0x4b5f();}import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a7_0x1b5381(0x190)](_0x1904aa){const _0x23cad1=a7_0x1b5381;return String(_0x1904aa)[_0x23cad1(0x195)](0x2,'0');}static[a7_0x1b5381(0x1a9)](_0x2faa50){const _0x1ac7d9=a7_0x1b5381,_0x102b4e=_0x2faa50[_0x1ac7d9(0x1ad)](),_0x7bb6f3=this['pad'](_0x2faa50[_0x1ac7d9(0x1af)]()+0x1),_0x1ba677=this[_0x1ac7d9(0x190)](_0x2faa50[_0x1ac7d9(0x1c9)]()),_0x39d33c=this[_0x1ac7d9(0x190)](_0x2faa50[_0x1ac7d9(0x193)]()),_0x1fd73c=this[_0x1ac7d9(0x190)](_0x2faa50['getMinutes']()),_0x299468=this['pad'](_0x2faa50[_0x1ac7d9(0x1c5)]());return{'createdAt':_0x102b4e+'-'+_0x7bb6f3+'-'+_0x1ba677+'\x20'+_0x39d33c+':'+_0x1fd73c+':'+_0x299468,'createdDate':_0x102b4e+'-'+_0x7bb6f3+'-'+_0x1ba677,'createdTime':_0x39d33c+':'+_0x1fd73c+':'+_0x299468};}static[a7_0x1b5381(0x1bb)](_0x40d1f3){const _0xcf29e2=a7_0x1b5381,_0x10f9ff=_0x40d1f3[_0xcf29e2(0x1c1)]('/')[_0xcf29e2(0x1d1)]()||_0x40d1f3;return _0x10f9ff['split']('-')[_0xcf29e2(0x1d6)](_0x2e99ce=>_0x2e99ce['charAt'](0x0)['toUpperCase']()+_0x2e99ce[_0xcf29e2(0x1cf)](0x1)[_0xcf29e2(0x1d4)]())[_0xcf29e2(0x1a3)]('');}static[a7_0x1b5381(0x1c7)](_0x1384b0){const _0x579d09=a7_0x1b5381,_0x1368cb=_0x1384b0['split']('/')[_0x579d09(0x1d1)]()||_0x1384b0;return _0x1368cb['split']('-')[_0x579d09(0x1d6)](_0xd0b4ec=>_0xd0b4ec['charAt'](0x0)[_0x579d09(0x1cc)]()+_0xd0b4ec['slice'](0x1)['toLowerCase']())['join']('\x20');}static[a7_0x1b5381(0x1ac)](_0x85219,_0xd9c0e4,_0x273694){const _0x200143=a7_0x1b5381,_0x2c23f3=this[_0x200143(0x1bb)](_0xd9c0e4),_0x4c3806=this[_0x200143(0x1c7)](_0xd9c0e4),{createdAt:_0x37a2a1,createdDate:_0x46467a,createdTime:_0x5e6b90}=this[_0x200143(0x1a9)](new Date());let _0x3b4279=_0x85219['replace'](/\{CliVersion\}/g,CLI_VERSION)['replace'](/\{ComponentName\}/g,_0x2c23f3)[_0x200143(0x1be)](/\{DisplayTitle\}/g,_0x4c3806)[_0x200143(0x1be)](/\{PageName\}/g,_0xd9c0e4)[_0x200143(0x1be)](/\{TemplateName\}/g,_0x273694)[_0x200143(0x1be)](/\{CreatedAt\}/g,_0x37a2a1)[_0x200143(0x1be)](/\{CreatedDate\}/g,_0x46467a)[_0x200143(0x1be)](/\{CreatedTime\}/g,_0x5e6b90);return _0x3b4279;}static[a7_0x1b5381(0x1b7)](_0x2ed87b,_0x2b8a7a,_0x6bf9b9,_0x58a440,_0x478b33,_0xf04f59,_0x5d6d64,_0x499d49){const _0x576d9a=a7_0x1b5381,_0x110701=new Date(),_0x4806ad=_0x110701[_0x576d9a(0x1c6)](),_0x4b512b=_0x6bf9b9[_0x576d9a(0x1d6)](_0x278cfd=>{const _0x111748=_0x576d9a,_0x4ee3ea=['datasetCode:\x20\x22'+_0x278cfd[_0x111748(0x197)]+'\x22',_0x111748(0x1aa)+_0x278cfd[_0x111748(0x1a1)]+'\x22',_0x111748(0x1b8)+_0x278cfd['name']+'\x22'];return _0x278cfd[_0x111748(0x1ce)]&&_0x4ee3ea['push'](_0x111748(0x1ab)+_0x278cfd[_0x111748(0x1ce)]+'\x22'),_0x111748(0x191)+_0x4ee3ea[_0x111748(0x1a3)](',\x20')+_0x111748(0x1a4);})[_0x576d9a(0x1a3)](''),_0x36c0b5=_0x58a440||_0x6bf9b9[0x0]?.[_0x576d9a(0x1ce)]||_0x576d9a(0x1b6);let _0x108851=_0x2ed87b['replace'](/\{AppCode\}/g,_0x2b8a7a)[_0x576d9a(0x1be)](/\{ModelConfigs\}/g,_0x4b512b)[_0x576d9a(0x1be)](/\{ExampleModelName\}/g,_0x36c0b5)['replace'](/\{ApiFileName\}/g,_0x478b33||_0x576d9a(0x1d5))[_0x576d9a(0x1be)](/\{ConfigName\}/g,_0xf04f59||'default')[_0x576d9a(0x1be)](/\{ClientConfigParam\}/g,_0x5d6d64||'')['replace'](/\{VarPrefix\}/g,_0x499d49||_0x576d9a(0x1d3))[_0x576d9a(0x1be)](/\{CreatedAt\}/g,_0x4806ad);return _0x108851;}static async['processTemplate'](_0x272036,_0x1ffc56,_0x133506,_0x2830cc,_0x176153=!![]){const _0x366350=a7_0x1b5381,_0x158931=Date[_0x366350(0x19b)]();try{_0x176153&&logger[_0x366350(0x1a0)](_0x366350(0x18e),_0x366350(0x1a6),{'templatePath':_0x272036,'targetPath':_0x1ffc56,'pageName':_0x133506,'templateName':_0x2830cc});await a7_0x5aa1bc['promises']['mkdir'](_0x1ffc56,{'recursive':!![]}),await this[_0x366350(0x192)](_0x272036,_0x1ffc56,_0x133506,_0x2830cc);if(_0x176153){const _0x117766=Date[_0x366350(0x19b)]()-_0x158931;logger[_0x366350(0x1b9)](_0x366350(0x18e),_0x366350(0x1b1),_0x117766,{'pageName':_0x133506,'templateName':_0x2830cc});}}catch(_0x59bab6){if(_0x176153){const _0x242a95=Date[_0x366350(0x19b)]()-_0x158931;logger[_0x366350(0x1bd)](_0x366350(0x18e),_0x366350(0x1a8),{'templatePath':_0x272036,'targetPath':_0x1ffc56,'pageName':_0x133506,'templateName':_0x2830cc,'error':_0x59bab6 instanceof Error?_0x59bab6[_0x366350(0x18d)]:String(_0x59bab6),'duration':_0x242a95});}throw _0x59bab6;}}static async['processDirectory'](_0x23c6e2,_0x4188f3,_0xdda36d,_0x189558){const _0x1c0e48=a7_0x1b5381,_0x2c25d9=await a7_0x5aa1bc['promises']['readdir'](_0x23c6e2,{'withFileTypes':!![]});for(const _0xf46474 of _0x2c25d9){const _0x1ac10b=a7_0x1af889[_0x1c0e48(0x1a3)](_0x23c6e2,_0xf46474[_0x1c0e48(0x1a2)]);let _0x56cce8=a7_0x1af889[_0x1c0e48(0x1a3)](_0x4188f3,_0xf46474['name']);_0xf46474[_0x1c0e48(0x1a2)][_0x1c0e48(0x1c0)]('.tpl')&&(_0x56cce8=a7_0x1af889[_0x1c0e48(0x1a3)](_0x4188f3,_0xf46474[_0x1c0e48(0x1a2)][_0x1c0e48(0x1be)](/\.tpl$/,'')));if(_0xf46474['isDirectory']())await a7_0x5aa1bc[_0x1c0e48(0x1bc)][_0x1c0e48(0x19c)](_0x56cce8,{'recursive':!![]}),await this[_0x1c0e48(0x192)](_0x1ac10b,_0x56cce8,_0xdda36d,_0x189558);else _0xf46474[_0x1c0e48(0x1ca)]()&&await this[_0x1c0e48(0x196)](_0x1ac10b,_0x56cce8,_0xdda36d,_0x189558);}}static async[a7_0x1b5381(0x196)](_0x21f041,_0x17cb6b,_0xdabc14,_0x5bd4f4){const _0x590247=a7_0x1b5381,_0x18d1ac=a7_0x1af889[_0x590247(0x199)](_0x21f041)[_0x590247(0x1d4)]();_0x21f041[_0x590247(0x1c0)](_0x590247(0x18f))&&(_0x17cb6b=_0x17cb6b[_0x590247(0x1be)](/\.tpl$/,''));const _0x19e790=[_0x590247(0x19e),_0x590247(0x1c2),_0x590247(0x194),'.js',_0x590247(0x1cd),_0x590247(0x1ba),_0x590247(0x1b3),_0x590247(0x1a7),_0x590247(0x18f)];if(_0x19e790[_0x590247(0x19f)](_0x18d1ac)||_0x21f041[_0x590247(0x1c0)](_0x590247(0x18f))){const _0x13c430=await a7_0x5aa1bc[_0x590247(0x1bc)][_0x590247(0x1d2)](_0x21f041,_0x590247(0x1c4)),_0x53e1fe=this[_0x590247(0x1ac)](_0x13c430,_0xdabc14,_0x5bd4f4);await a7_0x5aa1bc[_0x590247(0x1bc)][_0x590247(0x1d0)](_0x17cb6b,_0x53e1fe,_0x590247(0x1c4));}else await a7_0x5aa1bc[_0x590247(0x1bc)][_0x590247(0x1b4)](_0x21f041,_0x17cb6b);}}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x45dfe8,_0x29e3e8){var _0x115c76=a11_0x5c6f,_0x3387bc=_0x45dfe8();while(!![]){try{var _0x2e9a8c=parseInt(_0x115c76(0x1f4))/0x1*(parseInt(_0x115c76(0x1f0))/0x2)+-parseInt(_0x115c76(0x1f1))/0x3+-parseInt(_0x115c76(0x1f7))/0x4*(-parseInt(_0x115c76(0x1f3))/0x5)+parseInt(_0x115c76(0x1ef))/0x6+-parseInt(_0x115c76(0x1f2))/0x7+parseInt(_0x115c76(0x1f5))/0x8+-parseInt(_0x115c76(0x1f6))/0x9;if(_0x2e9a8c===_0x29e3e8)break;else _0x3387bc['push'](_0x3387bc['shift']());}catch(_0x234f38){_0x3387bc['push'](_0x3387bc['shift']());}}}(a11_0x17af,0x5af23));function a11_0x5c6f(_0xac09fd,_0x2f4b69){_0xac09fd=_0xac09fd-0x1ef;var _0x17af53=a11_0x17af();var _0x5c6f91=_0x17af53[_0xac09fd];return _0x5c6f91;}function a11_0x17af(){var _0x1ece9b=['4673389odobaW','35275KbgWre','1mTJgRn','2938904EzBIgm','2070963dEuIsA','24PiAqDj','2400180NyLGKl','1171000hXQHdh','374922dbNwzG'];a11_0x17af=function(){return _0x1ece9b;};return a11_0x17af();}import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a10_0x271f(){var _0x17282b=['3236002ozGgUa','961509SYiuYO','16KAHwix','8vzCuCS','33470KojyZp','17972052irRWUN','9330552HrJMRS','459DGXtIn','177875WedBMW','11lbkfGq','2201fJTcjw','1022sOPMAx'];a10_0x271f=function(){return _0x17282b;};return a10_0x271f();}(function(_0x33e36e,_0x3d9134){var _0x53951c=a10_0x3927,_0x41fb41=_0x33e36e();while(!![]){try{var _0x4c7552=parseInt(_0x53951c(0x12d))/0x1*(parseInt(_0x53951c(0x12e))/0x2)+parseInt(_0x53951c(0x130))/0x3*(parseInt(_0x53951c(0x132))/0x4)+-parseInt(_0x53951c(0x12b))/0x5+-parseInt(_0x53951c(0x129))/0x6+-parseInt(_0x53951c(0x12f))/0x7*(parseInt(_0x53951c(0x131))/0x8)+-parseInt(_0x53951c(0x12a))/0x9*(-parseInt(_0x53951c(0x133))/0xa)+parseInt(_0x53951c(0x12c))/0xb*(parseInt(_0x53951c(0x128))/0xc);if(_0x4c7552===_0x3d9134)break;else _0x41fb41['push'](_0x41fb41['shift']());}catch(_0x2096e5){_0x41fb41['push'](_0x41fb41['shift']());}}}(a10_0x271f,0xe053e));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a10_0x3927(_0x359d6e,_0x40422d){_0x359d6e=_0x359d6e-0x128;var _0x271f06=a10_0x271f();var _0x392799=_0x271f06[_0x359d6e];return _0x392799;}export async function withActiveCookie(_0x9b4687,_0x1fc8db){setActiveCookie(_0x9b4687);try{return await _0x1fc8db();}finally{clearActiveCookie();}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a4_0x29d4(_0x12ea76,_0x331668){_0x12ea76=_0x12ea76-0xdb;var _0x3b72fe=a4_0x3b72();var _0x29d446=_0x3b72fe[_0x12ea76];return _0x29d446;}function a4_0x3b72(){var _0x1c4a85=['2204576ebuInB','368457mgRACv','827710LcLunD','954380BzFeKs','write','34jvHvpV','2602422Ejrlsr','4901701zsWZEJ','18duuCrM','6774phrFlC'];a4_0x3b72=function(){return _0x1c4a85;};return a4_0x3b72();}(function(_0x3a16c5,_0x4d5d03){var _0x1e330b=a4_0x29d4,_0x13db1f=_0x3a16c5();while(!![]){try{var _0x7f2adf=-parseInt(_0x1e330b(0xdd))/0x1*(parseInt(_0x1e330b(0xe1))/0x2)+parseInt(_0x1e330b(0xe3))/0x3+-parseInt(_0x1e330b(0xdb))/0x4+-parseInt(_0x1e330b(0xe4))/0x5+-parseInt(_0x1e330b(0xde))/0x6+parseInt(_0x1e330b(0xdf))/0x7+-parseInt(_0x1e330b(0xe2))/0x8*(-parseInt(_0x1e330b(0xe0))/0x9);if(_0x7f2adf===_0x4d5d03)break;else _0x13db1f['push'](_0x13db1f['shift']());}catch(_0x2adf77){_0x13db1f['push'](_0x13db1f['shift']());}}}(a4_0x3b72,0x66d36));export function writeCliSideChannelLine(_0x5c1fb4){var _0x34b783=a4_0x29d4;process['stderr'][_0x34b783(0xdc)](_0x5c1fb4+'\x0a');}
|