@lovrabet/lovrabet-cli 2.1.9-beta.4 → 2.1.10

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 (117) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/api-doc/index.js +1 -1
  3. package/lib/commands/app/cache.js +1 -1
  4. package/lib/commands/app/definitions.js +1 -1
  5. package/lib/commands/app/eligibility.js +1 -1
  6. package/lib/commands/app/mock-loader.js +1 -1
  7. package/lib/commands/app/remote-source.js +1 -1
  8. package/lib/commands/app/shared.js +1 -1
  9. package/lib/commands/app-config/get.js +1 -1
  10. package/lib/commands/app-config/index.js +1 -1
  11. package/lib/commands/app-config/shared.js +1 -1
  12. package/lib/commands/artifact/index.js +1 -1
  13. package/lib/commands/auth/index.js +1 -1
  14. package/lib/commands/auth/prompt.js +1 -1
  15. package/lib/commands/bff/detail.js +1 -1
  16. package/lib/commands/bff/exec.js +1 -1
  17. package/lib/commands/bff/index.js +1 -1
  18. package/lib/commands/cli-skill/index.js +1 -1
  19. package/lib/commands/common/config-policy.js +1 -1
  20. package/lib/commands/common/constraints.js +1 -1
  21. package/lib/commands/common/flags.js +1 -1
  22. package/lib/commands/common/local-file.js +1 -1
  23. package/lib/commands/config/definitions.js +1 -1
  24. package/lib/commands/config/shared.js +1 -1
  25. package/lib/commands/data/index.js +1 -1
  26. package/lib/commands/dataset/detail.js +1 -1
  27. package/lib/commands/dataset/index.js +1 -1
  28. package/lib/commands/dataset/list.js +1 -1
  29. package/lib/commands/dataset/sdk-doc.js +1 -1
  30. package/lib/commands/doctor.js +1 -1
  31. package/lib/commands/file/index.js +1 -1
  32. package/lib/commands/init.js +1 -1
  33. package/lib/commands/kb/index.js +1 -1
  34. package/lib/commands/logs/index.js +1 -1
  35. package/lib/commands/ocr/index.js +1 -1
  36. package/lib/commands/personal-bff/index.js +1 -1
  37. package/lib/commands/registry.js +1 -1
  38. package/lib/commands/schema.js +1 -1
  39. package/lib/commands/service/dynamic.js +1 -1
  40. package/lib/commands/service/index.js +1 -1
  41. package/lib/commands/service/registry.js +1 -1
  42. package/lib/commands/skill/commands/create.js +1 -1
  43. package/lib/commands/skill/commands/install.js +1 -1
  44. package/lib/commands/skill/commands/list.js +1 -1
  45. package/lib/commands/skill/commands/push.js +1 -1
  46. package/lib/commands/skill/commands/validate.js +1 -1
  47. package/lib/commands/skill/flags.js +1 -1
  48. package/lib/commands/skill/index.js +1 -1
  49. package/lib/commands/skill/manifest-helpers.js +1 -1
  50. package/lib/commands/skill/push-execute.js +1 -1
  51. package/lib/commands/skill/push-flow-helpers.js +1 -1
  52. package/lib/commands/skill/push-retarget.js +1 -1
  53. package/lib/commands/skill/scopes.js +1 -1
  54. package/lib/commands/skill/summary.js +1 -1
  55. package/lib/commands/skill/templates.js +1 -1
  56. package/lib/commands/skill/validate.js +1 -1
  57. package/lib/commands/sql/detail.js +1 -1
  58. package/lib/commands/sql/exec.js +1 -1
  59. package/lib/commands/sql/index.js +1 -1
  60. package/lib/commands/update.js +1 -1
  61. package/lib/commands/workspace/index.js +1 -1
  62. package/lib/config/schema.js +1 -1
  63. package/lib/constant/app.js +1 -1
  64. package/lib/constant/auth-mode.js +1 -1
  65. package/lib/constant/cli.js +1 -1
  66. package/lib/constant/defaults.js +1 -1
  67. package/lib/constant/distribution.js +1 -1
  68. package/lib/constant/domain.js +1 -1
  69. package/lib/constant/env.js +1 -1
  70. package/lib/constant/output.js +1 -1
  71. package/lib/constant/product.js +1 -1
  72. package/lib/constant/risk.js +1 -1
  73. package/lib/constant/url.js +1 -1
  74. package/lib/context.js +1 -1
  75. package/lib/core/api-client.js +1 -1
  76. package/lib/core/db-resolver.js +1 -1
  77. package/lib/core/sdk-client.js +1 -1
  78. package/lib/errors.js +1 -1
  79. package/lib/framework/build-all-flags.js +1 -1
  80. package/lib/framework/dryrun.js +1 -1
  81. package/lib/framework/flags.js +1 -1
  82. package/lib/framework/help.js +1 -1
  83. package/lib/framework/index.js +1 -1
  84. package/lib/framework/output.js +1 -1
  85. package/lib/framework/preparse.js +1 -1
  86. package/lib/framework/response.js +1 -1
  87. package/lib/framework/runner-confirmation.js +1 -1
  88. package/lib/framework/runner-error.js +1 -1
  89. package/lib/framework/runner.js +1 -1
  90. package/lib/framework/schema-export.js +1 -1
  91. package/lib/framework/service-order.js +1 -1
  92. package/lib/framework/types.js +1 -1
  93. package/lib/generated/build-info.js +1 -1
  94. package/lib/help.js +1 -1
  95. package/lib/skills/npx-skills-add.js +1 -1
  96. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  97. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  98. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  99. package/lib/skills/runtime-skill-sync/links.js +1 -1
  100. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  101. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  102. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  103. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  104. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  105. package/lib/skills/runtime-skill-sync/push.js +1 -1
  106. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  107. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  108. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  109. package/lib/skills/runtime-skill-sync.js +1 -1
  110. package/lib/utils/apply-jq-filter.js +1 -1
  111. package/lib/utils/logger.js +1 -1
  112. package/lib/utils/params.js +1 -1
  113. package/lib/utils/platform.js +1 -1
  114. package/lib/utils/update-notice.js +1 -1
  115. package/lib/utils/version.js +1 -1
  116. package/lib/utils/write-cli-side-channel.js +1 -1
  117. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x290f6b,_0x2af809){const _0x287c30=a108_0x13d5,_0x292f36=_0x290f6b();while(!![]){try{const _0x393572=parseInt(_0x287c30(0x157))/0x1+parseInt(_0x287c30(0x153))/0x2+parseInt(_0x287c30(0x140))/0x3+-parseInt(_0x287c30(0x13d))/0x4+-parseInt(_0x287c30(0x141))/0x5+parseInt(_0x287c30(0x14c))/0x6+-parseInt(_0x287c30(0x13f))/0x7*(-parseInt(_0x287c30(0x148))/0x8);if(_0x393572===_0x2af809)break;else _0x292f36['push'](_0x292f36['shift']());}catch(_0x4aff37){_0x292f36['push'](_0x292f36['shift']());}}}(a108_0x5821,0x99d82));import{CliErrors}from'../../errors.js';import{SKILL_FILE}from'./constants.js';import{bufferSha256,fileHash,fileTreeHash}from'./hashing.js';import{fileContent,isSha256Hex,normalizeLocalFiles,normalizeManifestFiles}from'./local-files.js';import{createDeterministicZipPackage,parseZipPackage}from'./zip-codec.js';function a108_0x13d5(_0x53cf0b,_0x5b7b17){_0x53cf0b=_0x53cf0b-0x139;const _0x582101=a108_0x5821();let _0x13d58f=_0x582101[_0x53cf0b];return _0x13d58f;}export function buildSkillPackage(_0x4024d2){const _0x28032c=a108_0x13d5,_0x56acf0=normalizeLocalFiles(_0x4024d2);if(!_0x56acf0[_0x28032c(0x149)](_0x38cbd1=>_0x38cbd1[_0x28032c(0x158)]===SKILL_FILE))throw CliErrors[_0x28032c(0x13b)](_0x28032c(0x152)+SKILL_FILE+_0x28032c(0x162));const _0x5917e1=localFilesToManifestFiles(_0x56acf0),_0x2e6b32=createDeterministicZipPackage(_0x56acf0);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x5917e1),'zipSha256':bufferSha256(_0x2e6b32),'zipSize':_0x2e6b32[_0x28032c(0x143)],'files':_0x5917e1},'packageBytes':_0x2e6b32,'packageBase64':_0x2e6b32[_0x28032c(0x139)]('base64')};}export function verifyRuntimeSkillPackage(_0x566677,_0x475495){const _0x270dca=a108_0x13d5,_0x2600b1=normalizePackageManifest(_0x566677,{'requireOssPath':![]});if(!_0x2600b1)throw CliErrors['validation'](_0x270dca(0x14f));return extractAndVerifyPackage(_0x2600b1,_0x475495);}export function verifyRuntimeSkillBundle(_0x1c2d11,_0x3b3299){const _0x54a25b=a108_0x13d5,_0x47fbe0=normalizePackageManifest(_0x1c2d11,{'requireOssPath':![]});if(!_0x47fbe0)throw CliErrors['validation'](_0x54a25b(0x14f));return extractAndVerifyPackageFiles(_0x47fbe0,_0x3b3299);}function a108_0x5821(){const _0x55d581=['Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.','isSafeInteger','object','toString','files','validation','string','3559792IUqNHt','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','679SsnWXs','1631547tFHkNO','5672060baawPu','Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20','length','get','has','Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20','treeSha256','3256UtYJLh','some','Runtime\x20Skill\x20package\x20is\x20missing\x20','isArray','2132298CRYdFH','zipSize','Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','ossPath','Duplicate\x20Skill\x20package\x20entry:\x20','Missing\x20','2159888oqTGOg','toLowerCase','Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20','Runtime\x20Skill\x20package\x20sha256\x20mismatch.','635851xqGcAM','path','Runtime\x20Skill\x20package\x20size\x20mismatch.','sha256','schemaVersion','trim','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','zipSha256','bytes','map','Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.','\x20in\x20Skill\x20file\x20package.','size'];a108_0x5821=function(){return _0x55d581;};return a108_0x5821();}export function tryNormalizePackageManifest(_0x2b32bf){return normalizePackageManifest(_0x2b32bf,{'requireOssPath':![]});}export function requirePackageBytes(_0xaa53f4,_0xd15732){const _0x474306=a108_0x13d5;if(!_0xd15732||_0xd15732['length']===0x0)throw CliErrors['validation'](_0x474306(0x146)+_0xaa53f4);return _0xd15732;}export function extractDownloadedPackage(_0x5c7fac){const _0x184e5=a108_0x13d5,_0x4254d9=parseZipPackage(_0x5c7fac)[_0x184e5(0x160)](_0x2455db=>({'path':_0x2455db['path'],'bytes':_0x2455db[_0x184e5(0x15f)]}));if(!_0x4254d9[_0x184e5(0x149)](_0x2fde83=>_0x2fde83[_0x184e5(0x158)]===SKILL_FILE))throw CliErrors[_0x184e5(0x13b)](_0x184e5(0x14a)+SKILL_FILE+'.');return normalizeLocalFiles(_0x4254d9);}export function localFilesToManifestFiles(_0xdb294d){const _0xdc808e=a108_0x13d5;return normalizeLocalFiles(_0xdb294d)[_0xdc808e(0x160)](_0x33179e=>({'path':_0x33179e[_0xdc808e(0x158)],'sha256':fileHash(_0x33179e),'size':fileContent(_0x33179e)[_0xdc808e(0x143)]}));}function normalizePackageManifest(_0x4ee40d,_0x3a098f){const _0x1338ee=a108_0x13d5;if(!_0x4ee40d||typeof _0x4ee40d!==_0x1338ee(0x166)||Array[_0x1338ee(0x14b)](_0x4ee40d))return undefined;const _0x36f381=_0x4ee40d,_0x2ace7c=typeof _0x36f381['ossPath']===_0x1338ee(0x13c)?_0x36f381[_0x1338ee(0x150)][_0x1338ee(0x15c)]():undefined;if(_0x3a098f['requireOssPath']&&!_0x2ace7c)return undefined;if(!Array[_0x1338ee(0x14b)](_0x36f381['files'])||_0x36f381['files']['length']===0x0)return undefined;if(!isSha256Hex(_0x36f381[_0x1338ee(0x147)]))throw CliErrors['validation'](_0x1338ee(0x164));if(!isSha256Hex(_0x36f381[_0x1338ee(0x15e)]))throw CliErrors['validation'](_0x1338ee(0x13e));if(!Number[_0x1338ee(0x165)](_0x36f381[_0x1338ee(0x14d)])||_0x36f381[_0x1338ee(0x14d)]<0x0)throw CliErrors[_0x1338ee(0x13b)](_0x1338ee(0x15d));const _0x156bc1=normalizeManifestFiles(_0x36f381[_0x1338ee(0x13a)]);if(!_0x156bc1[_0x1338ee(0x149)](_0x5121c3=>_0x5121c3['path']===SKILL_FILE))throw CliErrors['validation']('Runtime\x20Skill\x20manifest\x20is\x20missing\x20'+SKILL_FILE+'.');const _0x1428ee=fileTreeHash(_0x156bc1);if(_0x1428ee!==_0x36f381[_0x1338ee(0x147)][_0x1338ee(0x154)]())throw CliErrors[_0x1338ee(0x13b)]('Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.');return{'schemaVersion':Number[_0x1338ee(0x165)](_0x36f381[_0x1338ee(0x15b)])?_0x36f381['schemaVersion']:0x2,'ossPath':_0x2ace7c,'treeSha256':_0x1428ee,'zipSha256':_0x36f381[_0x1338ee(0x15e)][_0x1338ee(0x154)](),'zipSize':_0x36f381[_0x1338ee(0x14d)],'files':_0x156bc1};}function extractAndVerifyPackage(_0x273abf,_0x4e91a7){const _0xcda647=a108_0x13d5,_0x2381fe=normalizePackageManifest(_0x273abf,{'requireOssPath':![]});if(!_0x2381fe)throw CliErrors['validation']('Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.');if(_0x4e91a7['length']!==_0x2381fe[_0xcda647(0x14d)])throw CliErrors[_0xcda647(0x13b)](_0xcda647(0x159));const _0x203797=bufferSha256(_0x4e91a7);if(_0x203797!==_0x2381fe[_0xcda647(0x15e)])throw CliErrors[_0xcda647(0x13b)](_0xcda647(0x156));return extractAndVerifyPackageFiles(_0x2381fe,_0x4e91a7);}function extractAndVerifyPackageFiles(_0x36ff95,_0x340cc7){const _0x286b38=a108_0x13d5,_0x22e6e8=parseZipPackage(_0x340cc7);if(_0x22e6e8['length']!==_0x36ff95[_0x286b38(0x13a)][_0x286b38(0x143)])throw CliErrors['validation'](_0x286b38(0x161));const _0x2d6d45=new Map();for(const _0x494029 of _0x22e6e8){if(_0x2d6d45[_0x286b38(0x145)](_0x494029['path']))throw CliErrors['validation'](_0x286b38(0x151)+_0x494029[_0x286b38(0x158)]);_0x2d6d45['set'](_0x494029[_0x286b38(0x158)],_0x494029);}const _0x16ce7d=[];for(const _0x8c50ce of _0x36ff95[_0x286b38(0x13a)]){const _0x159652=_0x2d6d45[_0x286b38(0x144)](_0x8c50ce[_0x286b38(0x158)]);if(!_0x159652)throw CliErrors[_0x286b38(0x13b)](_0x286b38(0x142)+_0x8c50ce[_0x286b38(0x158)]);if(_0x159652[_0x286b38(0x15f)]['length']!==_0x8c50ce[_0x286b38(0x163)])throw CliErrors['validation'](_0x286b38(0x14e)+_0x8c50ce[_0x286b38(0x158)]);const _0x3ab7de=bufferSha256(_0x159652[_0x286b38(0x15f)]);if(_0x3ab7de!==_0x8c50ce[_0x286b38(0x15a)])throw CliErrors['validation'](_0x286b38(0x155)+_0x8c50ce['path']);_0x16ce7d['push']({'path':_0x8c50ce[_0x286b38(0x158)],'bytes':_0x159652[_0x286b38(0x15f)]});}return normalizeLocalFiles(_0x16ce7d);}
1
+ (function(_0x4d1b6a,_0x3a7c25){const _0x15ed01=a108_0x1b1a,_0x31dd1b=_0x4d1b6a();while(!![]){try{const _0x13b236=parseInt(_0x15ed01(0x1fd))/0x1*(-parseInt(_0x15ed01(0x1e2))/0x2)+parseInt(_0x15ed01(0x1d9))/0x3*(-parseInt(_0x15ed01(0x1d4))/0x4)+-parseInt(_0x15ed01(0x1e8))/0x5*(-parseInt(_0x15ed01(0x1f8))/0x6)+-parseInt(_0x15ed01(0x1e7))/0x7+-parseInt(_0x15ed01(0x1fe))/0x8+parseInt(_0x15ed01(0x200))/0x9+parseInt(_0x15ed01(0x1d5))/0xa*(parseInt(_0x15ed01(0x1e9))/0xb);if(_0x13b236===_0x3a7c25)break;else _0x31dd1b['push'](_0x31dd1b['shift']());}catch(_0x5091cb){_0x31dd1b['push'](_0x31dd1b['shift']());}}}(a108_0x3fc5,0x66e8c));function a108_0x1b1a(_0x543e9b,_0x309dcb){_0x543e9b=_0x543e9b-0x1d4;const _0x3fc530=a108_0x3fc5();let _0x1b1ab6=_0x3fc530[_0x543e9b];return _0x1b1ab6;}import{CliErrors}from'../../errors.js';import{SKILL_FILE}from'./constants.js';import{bufferSha256,fileHash,fileTreeHash}from'./hashing.js';import{fileContent,isSha256Hex,normalizeLocalFiles,normalizeManifestFiles}from'./local-files.js';import{createDeterministicZipPackage,parseZipPackage}from'./zip-codec.js';export function buildSkillPackage(_0x11c5bf){const _0x190f72=a108_0x1b1a,_0x2856a7=normalizeLocalFiles(_0x11c5bf);if(!_0x2856a7[_0x190f72(0x1d7)](_0x298092=>_0x298092['path']===SKILL_FILE))throw CliErrors['validation'](_0x190f72(0x1d6)+SKILL_FILE+'\x20in\x20Skill\x20file\x20package.');const _0x133d18=localFilesToManifestFiles(_0x2856a7),_0x1857b2=createDeterministicZipPackage(_0x2856a7);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x133d18),'zipSha256':bufferSha256(_0x1857b2),'zipSize':_0x1857b2['length'],'files':_0x133d18},'packageBytes':_0x1857b2,'packageBase64':_0x1857b2[_0x190f72(0x1e4)]('base64')};}export function verifyRuntimeSkillPackage(_0x322471,_0x20f59e){const _0x3e35a7=a108_0x1b1a,_0x25921c=normalizePackageManifest(_0x322471,{'requireOssPath':![]});if(!_0x25921c)throw CliErrors[_0x3e35a7(0x1f5)](_0x3e35a7(0x1e5));return extractAndVerifyPackage(_0x25921c,_0x20f59e);}export function verifyRuntimeSkillBundle(_0x5176f6,_0x4ede85){const _0xffefb1=a108_0x1b1a,_0x300090=normalizePackageManifest(_0x5176f6,{'requireOssPath':![]});if(!_0x300090)throw CliErrors[_0xffefb1(0x1f5)](_0xffefb1(0x1e5));return extractAndVerifyPackageFiles(_0x300090,_0x4ede85);}export function tryNormalizePackageManifest(_0x17b46b){return normalizePackageManifest(_0x17b46b,{'requireOssPath':![]});}function a108_0x3fc5(){const _0x21d611=['1284NkMTdW','isSafeInteger','push','Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20','string','schemaVersion','size','isArray','files','50604gkRztf','Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20','toString','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','trim','5529125WgvBLS','8615DIQmZG','11DaPILy','Runtime\x20Skill\x20package\x20size\x20mismatch.','Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.','treeSha256','map','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','zipSha256','has','length','toLowerCase','Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','validation','bytes','requireOssPath','570lzCNsQ','Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20','get','set','path','19VQTBAh','4857912PFbkhJ','zipSize','4458384pdSTKZ','Duplicate\x20Skill\x20package\x20entry:\x20','Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20','656xyqoJC','17104990ymqXCM','Missing\x20','some','Runtime\x20Skill\x20manifest\x20is\x20missing\x20'];a108_0x3fc5=function(){return _0x21d611;};return a108_0x3fc5();}export function requirePackageBytes(_0x43fe4b,_0x1246fc){const _0x1e2998=a108_0x1b1a;if(!_0x1246fc||_0x1246fc[_0x1e2998(0x1f1)]===0x0)throw CliErrors[_0x1e2998(0x1f5)](_0x1e2998(0x1dc)+_0x43fe4b);return _0x1246fc;}export function extractDownloadedPackage(_0x1284e7){const _0x176c32=a108_0x1b1a,_0x61fcb2=parseZipPackage(_0x1284e7)[_0x176c32(0x1ed)](_0x4d0672=>({'path':_0x4d0672['path'],'bytes':_0x4d0672['bytes']}));if(!_0x61fcb2[_0x176c32(0x1d7)](_0x5d1f70=>_0x5d1f70[_0x176c32(0x1fc)]===SKILL_FILE))throw CliErrors['validation']('Runtime\x20Skill\x20package\x20is\x20missing\x20'+SKILL_FILE+'.');return normalizeLocalFiles(_0x61fcb2);}export function localFilesToManifestFiles(_0xa843a3){const _0x307ee1=a108_0x1b1a;return normalizeLocalFiles(_0xa843a3)[_0x307ee1(0x1ed)](_0xca3adc=>({'path':_0xca3adc[_0x307ee1(0x1fc)],'sha256':fileHash(_0xca3adc),'size':fileContent(_0xca3adc)[_0x307ee1(0x1f1)]}));}function normalizePackageManifest(_0x4c2735,_0x5f276a){const _0xbc918d=a108_0x1b1a;if(!_0x4c2735||typeof _0x4c2735!=='object'||Array['isArray'](_0x4c2735))return undefined;const _0x303ec0=_0x4c2735,_0x3520e4=typeof _0x303ec0['ossPath']===_0xbc918d(0x1dd)?_0x303ec0['ossPath'][_0xbc918d(0x1e6)]():undefined;if(_0x5f276a[_0xbc918d(0x1f7)]&&!_0x3520e4)return undefined;if(!Array[_0xbc918d(0x1e0)](_0x303ec0[_0xbc918d(0x1e1)])||_0x303ec0[_0xbc918d(0x1e1)][_0xbc918d(0x1f1)]===0x0)return undefined;if(!isSha256Hex(_0x303ec0[_0xbc918d(0x1ec)]))throw CliErrors[_0xbc918d(0x1f5)](_0xbc918d(0x1eb));if(!isSha256Hex(_0x303ec0[_0xbc918d(0x1ef)]))throw CliErrors['validation'](_0xbc918d(0x1f4));if(!Number[_0xbc918d(0x1da)](_0x303ec0[_0xbc918d(0x1ff)])||_0x303ec0[_0xbc918d(0x1ff)]<0x0)throw CliErrors[_0xbc918d(0x1f5)](_0xbc918d(0x1ee));const _0x1ecb64=normalizeManifestFiles(_0x303ec0[_0xbc918d(0x1e1)]);if(!_0x1ecb64[_0xbc918d(0x1d7)](_0x20bbc9=>_0x20bbc9[_0xbc918d(0x1fc)]===SKILL_FILE))throw CliErrors[_0xbc918d(0x1f5)](_0xbc918d(0x1d8)+SKILL_FILE+'.');const _0x403ae1=fileTreeHash(_0x1ecb64);if(_0x403ae1!==_0x303ec0['treeSha256']['toLowerCase']())throw CliErrors[_0xbc918d(0x1f5)]('Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.');return{'schemaVersion':Number[_0xbc918d(0x1da)](_0x303ec0['schemaVersion'])?_0x303ec0[_0xbc918d(0x1de)]:0x2,'ossPath':_0x3520e4,'treeSha256':_0x403ae1,'zipSha256':_0x303ec0['zipSha256'][_0xbc918d(0x1f2)](),'zipSize':_0x303ec0['zipSize'],'files':_0x1ecb64};}function extractAndVerifyPackage(_0x256d06,_0x20aa29){const _0x2e0d94=a108_0x1b1a,_0x308be9=normalizePackageManifest(_0x256d06,{'requireOssPath':![]});if(!_0x308be9)throw CliErrors['validation'](_0x2e0d94(0x1e5));if(_0x20aa29[_0x2e0d94(0x1f1)]!==_0x308be9[_0x2e0d94(0x1ff)])throw CliErrors['validation'](_0x2e0d94(0x1ea));const _0xebabf4=bufferSha256(_0x20aa29);if(_0xebabf4!==_0x308be9[_0x2e0d94(0x1ef)])throw CliErrors[_0x2e0d94(0x1f5)]('Runtime\x20Skill\x20package\x20sha256\x20mismatch.');return extractAndVerifyPackageFiles(_0x308be9,_0x20aa29);}function extractAndVerifyPackageFiles(_0x49a924,_0x5b579c){const _0x32bfea=a108_0x1b1a,_0x38992b=parseZipPackage(_0x5b579c);if(_0x38992b[_0x32bfea(0x1f1)]!==_0x49a924['files'][_0x32bfea(0x1f1)])throw CliErrors[_0x32bfea(0x1f5)](_0x32bfea(0x1f3));const _0x1e1df9=new Map();for(const _0x3f1a6d of _0x38992b){if(_0x1e1df9[_0x32bfea(0x1f0)](_0x3f1a6d[_0x32bfea(0x1fc)]))throw CliErrors[_0x32bfea(0x1f5)](_0x32bfea(0x201)+_0x3f1a6d[_0x32bfea(0x1fc)]);_0x1e1df9[_0x32bfea(0x1fb)](_0x3f1a6d[_0x32bfea(0x1fc)],_0x3f1a6d);}const _0x4a976e=[];for(const _0x1d6829 of _0x49a924[_0x32bfea(0x1e1)]){const _0x38543b=_0x1e1df9[_0x32bfea(0x1fa)](_0x1d6829[_0x32bfea(0x1fc)]);if(!_0x38543b)throw CliErrors['validation'](_0x32bfea(0x202)+_0x1d6829['path']);if(_0x38543b[_0x32bfea(0x1f6)][_0x32bfea(0x1f1)]!==_0x1d6829[_0x32bfea(0x1df)])throw CliErrors['validation'](_0x32bfea(0x1e3)+_0x1d6829[_0x32bfea(0x1fc)]);const _0x308d0c=bufferSha256(_0x38543b[_0x32bfea(0x1f6)]);if(_0x308d0c!==_0x1d6829['sha256'])throw CliErrors['validation'](_0x32bfea(0x1f9)+_0x1d6829[_0x32bfea(0x1fc)]);_0x4a976e[_0x32bfea(0x1db)]({'path':_0x1d6829[_0x32bfea(0x1fc)],'bytes':_0x38543b[_0x32bfea(0x1f6)]});}return normalizeLocalFiles(_0x4a976e);}
@@ -1 +1 @@
1
- (function(_0x3e16d0,_0x59c840){var _0x4e09cd=a109_0x1930,_0x3a897c=_0x3e16d0();while(!![]){try{var _0x417897=parseInt(_0x4e09cd(0xc9))/0x1+parseInt(_0x4e09cd(0xc6))/0x2*(-parseInt(_0x4e09cd(0xc5))/0x3)+-parseInt(_0x4e09cd(0xca))/0x4*(-parseInt(_0x4e09cd(0xcb))/0x5)+-parseInt(_0x4e09cd(0xc8))/0x6*(-parseInt(_0x4e09cd(0xc7))/0x7)+parseInt(_0x4e09cd(0xc3))/0x8+parseInt(_0x4e09cd(0xcc))/0x9+-parseInt(_0x4e09cd(0xc4))/0xa*(parseInt(_0x4e09cd(0xc2))/0xb);if(_0x417897===_0x59c840)break;else _0x3a897c['push'](_0x3a897c['shift']());}catch(_0x339830){_0x3a897c['push'](_0x3a897c['shift']());}}}(a109_0x4296,0x1ef30));export{contentHash,fileTreeHash}from'./runtime-skill-sync/hashing.js';export{linkEffectiveRuntimeSkills,linkGlobalRuntimeSkills,pruneStaleRuntimeSkillCache,pruneStaleRuntimeSkillLinks}from'./runtime-skill-sync/links.js';export{listLocalRuntimeSkills}from'./runtime-skill-sync/list-local.js';export{materializeRuntimeSkill}from'./runtime-skill-sync/materialize.js';export{readMetadataIfPresent}from'./runtime-skill-sync/metadata.js';export{getRuntimeSkillCacheRoot,getRuntimeSkillDir,resolveSkillSyncPaths,runtimeAgentSkillRoots}from'./runtime-skill-sync/paths.js';export{deriveSkillCodeFromDirectory,readPushDirectory,refreshPushDirectoryMetadataFromRemote,recordPushedRuntimeSkill,resolvePushDirectoryIdentity}from'./runtime-skill-sync/push.js';export{buildSkillPackage,verifyRuntimeSkillBundle,verifyRuntimeSkillPackage}from'./runtime-skill-sync/zip-package.js';function a109_0x1930(_0x5a4030,_0x46edc0){_0x5a4030=_0x5a4030-0xc2;var _0x429673=a109_0x4296();var _0x1930d9=_0x429673[_0x5a4030];return _0x1930d9;}function a109_0x4296(){var _0xa8bd80=['525oyscxu','13710llYtdt','64686ZGmkaG','4THBhGo','824905eqBZUx','1510290EjbRnA','6734387bRhxKn','1382480abDoUA','10xkvAMv','8031UZPCvu','2bRfGCv'];a109_0x4296=function(){return _0xa8bd80;};return a109_0x4296();}
1
+ (function(_0x46e290,_0x22a0d1){var _0x5b0a31=a109_0x28cf,_0x2ed309=_0x46e290();while(!![]){try{var _0x2f0273=-parseInt(_0x5b0a31(0x18f))/0x1*(parseInt(_0x5b0a31(0x190))/0x2)+parseInt(_0x5b0a31(0x18b))/0x3+parseInt(_0x5b0a31(0x18d))/0x4*(-parseInt(_0x5b0a31(0x191))/0x5)+-parseInt(_0x5b0a31(0x189))/0x6+parseInt(_0x5b0a31(0x188))/0x7+parseInt(_0x5b0a31(0x18e))/0x8+parseInt(_0x5b0a31(0x18a))/0x9*(parseInt(_0x5b0a31(0x18c))/0xa);if(_0x2f0273===_0x22a0d1)break;else _0x2ed309['push'](_0x2ed309['shift']());}catch(_0x151e1b){_0x2ed309['push'](_0x2ed309['shift']());}}}(a109_0x5719,0xbe475));export{contentHash,fileTreeHash}from'./runtime-skill-sync/hashing.js';function a109_0x28cf(_0x473a35,_0x59f34e){_0x473a35=_0x473a35-0x188;var _0x571995=a109_0x5719();var _0x28cfff=_0x571995[_0x473a35];return _0x28cfff;}function a109_0x5719(){var _0x30aa4d=['4470384ITJpJx','5kcdKHA','155426WKRmTN','8290dclFBO','7344876YZlswy','7379448kahadE','18YTjRQD','2815128KPyvHM','6966760bRUyVg','3720dUKIjD'];a109_0x5719=function(){return _0x30aa4d;};return a109_0x5719();}export{linkEffectiveRuntimeSkills,linkGlobalRuntimeSkills,pruneStaleRuntimeSkillCache,pruneStaleRuntimeSkillLinks}from'./runtime-skill-sync/links.js';export{listLocalRuntimeSkills}from'./runtime-skill-sync/list-local.js';export{materializeRuntimeSkill}from'./runtime-skill-sync/materialize.js';export{readMetadataIfPresent}from'./runtime-skill-sync/metadata.js';export{getRuntimeSkillCacheRoot,getRuntimeSkillDir,resolveSkillSyncPaths,runtimeAgentSkillRoots}from'./runtime-skill-sync/paths.js';export{deriveSkillCodeFromDirectory,readPushDirectory,refreshPushDirectoryMetadataFromRemote,recordPushedRuntimeSkill,resolvePushDirectoryIdentity}from'./runtime-skill-sync/push.js';export{buildSkillPackage,verifyRuntimeSkillBundle,verifyRuntimeSkillPackage}from'./runtime-skill-sync/zip-package.js';
@@ -1 +1 @@
1
- function a110_0x5b25(){const _0x26a1e1=['724785JlpbZI','9554625BmndPQ','203AeKdWj','4676448jzvaHF','54176hFgAuW','182255MjHghq','236190PPJMnY','162rXAJnq','325303RvjFvB','90oUhtpn','9QPZjoL'];a110_0x5b25=function(){return _0x26a1e1;};return a110_0x5b25();}(function(_0x13987d,_0x310eb2){const _0x4c9995=a110_0x49cc,_0x6b23bb=_0x13987d();while(!![]){try{const _0x56b406=parseInt(_0x4c9995(0xa2))/0x1*(-parseInt(_0x4c9995(0xa9))/0x2)+parseInt(_0x4c9995(0xa3))/0x3+parseInt(_0x4c9995(0xa6))/0x4+-parseInt(_0x4c9995(0xa8))/0x5*(-parseInt(_0x4c9995(0xaa))/0x6)+parseInt(_0x4c9995(0xa5))/0x7*(parseInt(_0x4c9995(0xa7))/0x8)+-parseInt(_0x4c9995(0xa4))/0x9+-parseInt(_0x4c9995(0xac))/0xa*(-parseInt(_0x4c9995(0xab))/0xb);if(_0x56b406===_0x310eb2)break;else _0x6b23bb['push'](_0x6b23bb['shift']());}catch(_0x4b4bd5){_0x6b23bb['push'](_0x6b23bb['shift']());}}}(a110_0x5b25,0xb2f15));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a110_0x49cc(_0x2f7db0,_0x4dff25){_0x2f7db0=_0x2f7db0-0xa2;const _0x5b2567=a110_0x5b25();let _0x49cc20=_0x5b2567[_0x2f7db0];return _0x49cc20;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x47770f,_0x4d11c2){const _0x84639c=a110_0x116a,_0x2e782c=_0x47770f();while(!![]){try{const _0x257e2f=parseInt(_0x84639c(0x1e7))/0x1+parseInt(_0x84639c(0x1ea))/0x2*(-parseInt(_0x84639c(0x1e9))/0x3)+-parseInt(_0x84639c(0x1e6))/0x4+-parseInt(_0x84639c(0x1e3))/0x5+parseInt(_0x84639c(0x1e4))/0x6+parseInt(_0x84639c(0x1e8))/0x7*(parseInt(_0x84639c(0x1eb))/0x8)+parseInt(_0x84639c(0x1e5))/0x9;if(_0x257e2f===_0x4d11c2)break;else _0x2e782c['push'](_0x2e782c['shift']());}catch(_0x2656c6){_0x2e782c['push'](_0x2e782c['shift']());}}}(a110_0x9273,0x5eaac));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a110_0x116a(_0x1fed26,_0x5c7e05){_0x1fed26=_0x1fed26-0x1e3;const _0x9273d4=a110_0x9273();let _0x116a14=_0x9273d4[_0x1fed26];return _0x116a14;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});function a110_0x9273(){const _0x33317d=['909972LYWSQr','410886fbBXQK','8QLJuyy','16gaSsWI','3731950ojiXaG','2836254UNBWTs','13380129sUwFvx','2472984AhClKB','80858HxmPIC'];a110_0x9273=function(){return _0x33317d;};return a110_0x9273();}
@@ -1 +1 @@
1
- const a111_0x1c0f6d=a111_0x37b5;function a111_0x4df3(){const _0x17b797=['11493370LuSxoP','readFileSync','Failed\x20to\x20read\x20logs:','dirname','10hpoCHa','435NWQzsx','2234826vIoYxR','success','getWinstonInstance','map','createLogger','blue','130383yuVKym','200057HdTZXZ','winstonLogger','errors','join','logFileName','command','log','parse','warn','trim','1289892mpQIeS','printf','filter','error','existsSync','808xoxhEP','message','details','info','stringify','setRawCommand','utf8','Completed:\x20','duration','toISOString','format','clearLogs','now','yellow','green','Failed\x20to\x20clear\x20logs:','logFilePath','rawCommand','initWinstonLogger','red','timestamp','23752kvJRLU','13923400NMAqzj','currentRawCommand'];a111_0x4df3=function(){return _0x17b797;};return a111_0x4df3();}(function(_0x53aacf,_0x64f503){const _0x3dbd27=a111_0x37b5,_0x1e3e60=_0x53aacf();while(!![]){try{const _0x44b610=-parseInt(_0x3dbd27(0x1d3))/0x1+parseInt(_0x3dbd27(0x1f7))/0x2*(parseInt(_0x3dbd27(0x1ff))/0x3)+parseInt(_0x3dbd27(0x1dd))/0x4+parseInt(_0x3dbd27(0x1fe))/0x5*(parseInt(_0x3dbd27(0x200))/0x6)+-parseInt(_0x3dbd27(0x1fa))/0x7+-parseInt(_0x3dbd27(0x1e2))/0x8*(parseInt(_0x3dbd27(0x1d2))/0x9)+parseInt(_0x3dbd27(0x1f8))/0xa;if(_0x44b610===_0x64f503)break;else _0x1e3e60['push'](_0x1e3e60['shift']());}catch(_0x18e5f3){_0x1e3e60['push'](_0x1e3e60['shift']());}}}(a111_0x4df3,0xd604d));import a111_0x2d56a8 from'winston';import a111_0x55628c from'node:fs';import a111_0x2523cd from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{['winstonLogger'];[a111_0x1c0f6d(0x1f2)]='';[a111_0x1c0f6d(0x1f9)]='';constructor(){}[a111_0x1c0f6d(0x1e7)](_0x4f4e2e){this['currentRawCommand']=_0x4f4e2e;}['setLogPath'](_0x1f5eb7){const _0x8e9891=a111_0x1c0f6d;this[_0x8e9891(0x1f2)]=a111_0x2523cd[_0x8e9891(0x1d6)](_0x1f5eb7,PRODUCT_CONFIG[_0x8e9891(0x1d7)]),this[_0x8e9891(0x1d4)]&&this[_0x8e9891(0x1d4)]['clear'](),this[_0x8e9891(0x1f4)]();}[a111_0x1c0f6d(0x1f4)](){const _0x37e275=a111_0x1c0f6d,_0xeac4a9=a111_0x2523cd[_0x37e275(0x1fd)](this[_0x37e275(0x1f2)]);!a111_0x55628c[_0x37e275(0x1e1)](_0xeac4a9)&&a111_0x55628c['mkdirSync'](_0xeac4a9,{'recursive':!![]});const _0x4500db=a111_0x2d56a8[_0x37e275(0x1ec)]['combine'](a111_0x2d56a8[_0x37e275(0x1ec)][_0x37e275(0x1f6)](),a111_0x2d56a8[_0x37e275(0x1ec)][_0x37e275(0x1d5)]({'stack':!![]}),a111_0x2d56a8[_0x37e275(0x1ec)][_0x37e275(0x1de)](_0x18457c=>{const _0x3eb234=_0x37e275,_0x54ba14={'timestamp':_0x18457c[_0x3eb234(0x1f6)]||new Date()[_0x3eb234(0x1eb)](),'level':_0x18457c['level']||'info','command':_0x18457c[_0x3eb234(0x1d8)]||'unknown','rawCommand':_0x18457c[_0x3eb234(0x1f3)]||this['currentRawCommand']||undefined,'message':_0x18457c[_0x3eb234(0x1e3)]||'','duration':_0x18457c[_0x3eb234(0x1ea)]||undefined,'details':_0x18457c[_0x3eb234(0x1e4)]||undefined};return JSON[_0x3eb234(0x1e6)](_0x54ba14);}));this[_0x37e275(0x1d4)]=a111_0x2d56a8[_0x37e275(0x1d0)]({'level':'info','format':_0x4500db,'transports':[new a111_0x2d56a8['transports']['File']({'filename':this[_0x37e275(0x1f2)],'level':_0x37e275(0x1e5)})],'silent':![]}),a111_0x2d56a8['addColors']({'success':_0x37e275(0x1f0),'error':_0x37e275(0x1f5),'warn':_0x37e275(0x1ef),'info':_0x37e275(0x1d1)});}[a111_0x1c0f6d(0x1e5)](_0x4a3622,_0x160784,_0x32fdcc){const _0x4150de=a111_0x1c0f6d;if(!this[_0x4150de(0x1f2)]||!this[_0x4150de(0x1d4)])return;this[_0x4150de(0x1d4)][_0x4150de(0x1e5)](_0x160784,{'command':_0x4a3622,'details':_0x32fdcc});}[a111_0x1c0f6d(0x1cd)](_0x2d8df7,_0x416db8,_0x22225a,_0x222f14){const _0x487fdf=a111_0x1c0f6d;if(!this['logFilePath']||!this[_0x487fdf(0x1d4)])return;this[_0x487fdf(0x1d4)][_0x487fdf(0x1d9)](_0x487fdf(0x1e5),_0x416db8,{'level':_0x487fdf(0x1cd),'command':_0x2d8df7,'duration':_0x22225a,'details':_0x222f14});}[a111_0x1c0f6d(0x1e0)](_0x260af1,_0x26889b,_0x18f87d){const _0x223b8f=a111_0x1c0f6d;if(!this['logFilePath']||!this[_0x223b8f(0x1d4)])return;this['winstonLogger'][_0x223b8f(0x1e0)](_0x26889b,{'command':_0x260af1,'details':_0x18f87d});}[a111_0x1c0f6d(0x1db)](_0x39d072,_0x3038f9,_0x4ebc16){const _0x3b389a=a111_0x1c0f6d;if(!this[_0x3b389a(0x1f2)]||!this['winstonLogger'])return;this[_0x3b389a(0x1d4)][_0x3b389a(0x1db)](_0x3038f9,{'command':_0x39d072,'details':_0x4ebc16});}async['logTask'](_0xdc679e,_0x3a2e03,_0x332e16){const _0x261598=a111_0x1c0f6d,_0x20683b=Date[_0x261598(0x1ee)]();this[_0x261598(0x1e5)](_0xdc679e,'Starting:\x20'+_0x3a2e03);try{const _0x3f37ec=await _0x332e16(),_0x4ddadf=Date['now']()-_0x20683b;return this[_0x261598(0x1cd)](_0xdc679e,_0x261598(0x1e9)+_0x3a2e03,_0x4ddadf),_0x3f37ec;}catch(_0x8e3601){const _0x3f7a88=Date[_0x261598(0x1ee)]()-_0x20683b;this['error'](_0xdc679e,'Failed:\x20'+_0x3a2e03,{'error':_0x8e3601 instanceof Error?_0x8e3601[_0x261598(0x1e3)]:String(_0x8e3601),'duration':_0x3f7a88});throw _0x8e3601;}}['readLogs'](){const _0x2affe5=a111_0x1c0f6d;try{if(!a111_0x55628c[_0x2affe5(0x1e1)](this[_0x2affe5(0x1f2)]))return[];const _0x563d09=a111_0x55628c[_0x2affe5(0x1fb)](this[_0x2affe5(0x1f2)],_0x2affe5(0x1e8));return _0x563d09['split'](/\r?\n/)[_0x2affe5(0x1df)](_0x1c4296=>_0x1c4296[_0x2affe5(0x1dc)]())[_0x2affe5(0x1cf)](_0xc92985=>JSON[_0x2affe5(0x1da)](_0xc92985));}catch(_0x269c51){return console[_0x2affe5(0x1db)](_0x2affe5(0x1fc),_0x269c51),[];}}[a111_0x1c0f6d(0x1ed)](){const _0x29aeb8=a111_0x1c0f6d;try{a111_0x55628c[_0x29aeb8(0x1e1)](this['logFilePath'])&&a111_0x55628c['writeFileSync'](this[_0x29aeb8(0x1f2)],'',_0x29aeb8(0x1e8));}catch(_0x35e945){console[_0x29aeb8(0x1db)](_0x29aeb8(0x1f1),_0x35e945);}}[a111_0x1c0f6d(0x1ce)](){const _0xe3e558=a111_0x1c0f6d;return this[_0xe3e558(0x1d4)];}}function a111_0x37b5(_0x5e5e34,_0x5b0070){_0x5e5e34=_0x5e5e34-0x1cd;const _0x4df375=a111_0x4df3();let _0x37b558=_0x4df375[_0x5e5e34];return _0x37b558;}export const logger=new Logger();
1
+ const a111_0x2c935f=a111_0x3bc3;function a111_0x54c8(){const _0x17969d=['9089110OOOzfZ','dirname','duration','transports','rawCommand','Failed:\x20','initWinstonLogger','combine','split','573424NGVmtC','success','green','printf','mkdirSync','clear','trim','14MTnvvk','setRawCommand','join','message','addColors','level','Failed\x20to\x20clear\x20logs:','3621648NmPrnO','readFileSync','2gZlhBC','error','blue','Completed:\x20','5727330rwMHXi','existsSync','map','filter','unknown','utf8','timestamp','currentRawCommand','334383ToTjVk','Failed\x20to\x20read\x20logs:','warn','parse','toISOString','logTask','now','setLogPath','command','writeFileSync','getWinstonInstance','111457ErOPKa','errors','createLogger','stringify','winstonLogger','64IpbdKt','info','red','54895QUOlBV','clearLogs','format','logFilePath'];a111_0x54c8=function(){return _0x17969d;};return a111_0x54c8();}function a111_0x3bc3(_0x7fc0b,_0x36d295){_0x7fc0b=_0x7fc0b-0x148;const _0x54c822=a111_0x54c8();let _0x3bc35c=_0x54c822[_0x7fc0b];return _0x3bc35c;}(function(_0x55e994,_0x596c18){const _0x2473f8=a111_0x3bc3,_0xe32ab3=_0x55e994();while(!![]){try{const _0x101c83=-parseInt(_0x2473f8(0x157))/0x1+-parseInt(_0x2473f8(0x17c))/0x2*(parseInt(_0x2473f8(0x14c))/0x3)+-parseInt(_0x2473f8(0x15c))/0x4*(parseInt(_0x2473f8(0x15f))/0x5)+-parseInt(_0x2473f8(0x17a))/0x6+-parseInt(_0x2473f8(0x173))/0x7*(parseInt(_0x2473f8(0x16c))/0x8)+parseInt(_0x2473f8(0x180))/0x9+parseInt(_0x2473f8(0x163))/0xa;if(_0x101c83===_0x596c18)break;else _0xe32ab3['push'](_0xe32ab3['shift']());}catch(_0x3d36d3){_0xe32ab3['push'](_0xe32ab3['shift']());}}}(a111_0x54c8,0x61977));import a111_0x235d39 from'winston';import a111_0x311192 from'node:fs';import a111_0x5ac49f from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a111_0x2c935f(0x15b)];[a111_0x2c935f(0x162)]='';[a111_0x2c935f(0x14b)]='';constructor(){}[a111_0x2c935f(0x174)](_0x5d98dc){const _0x48b82a=a111_0x2c935f;this[_0x48b82a(0x14b)]=_0x5d98dc;}[a111_0x2c935f(0x153)](_0x1acfc1){const _0x49843c=a111_0x2c935f;this['logFilePath']=a111_0x5ac49f[_0x49843c(0x175)](_0x1acfc1,PRODUCT_CONFIG['logFileName']),this[_0x49843c(0x15b)]&&this[_0x49843c(0x15b)][_0x49843c(0x171)](),this[_0x49843c(0x169)]();}[a111_0x2c935f(0x169)](){const _0x1926b8=a111_0x2c935f,_0x5bca1f=a111_0x5ac49f[_0x1926b8(0x164)](this[_0x1926b8(0x162)]);!a111_0x311192[_0x1926b8(0x181)](_0x5bca1f)&&a111_0x311192[_0x1926b8(0x170)](_0x5bca1f,{'recursive':!![]});const _0xd6dd52=a111_0x235d39[_0x1926b8(0x161)][_0x1926b8(0x16a)](a111_0x235d39[_0x1926b8(0x161)][_0x1926b8(0x14a)](),a111_0x235d39['format'][_0x1926b8(0x158)]({'stack':!![]}),a111_0x235d39[_0x1926b8(0x161)][_0x1926b8(0x16f)](_0x145c85=>{const _0x1109e3=_0x1926b8,_0x3a64e4={'timestamp':_0x145c85['timestamp']||new Date()[_0x1109e3(0x150)](),'level':_0x145c85[_0x1109e3(0x178)]||_0x1109e3(0x15d),'command':_0x145c85[_0x1109e3(0x154)]||_0x1109e3(0x148),'rawCommand':_0x145c85[_0x1109e3(0x167)]||this[_0x1109e3(0x14b)]||undefined,'message':_0x145c85[_0x1109e3(0x176)]||'','duration':_0x145c85[_0x1109e3(0x165)]||undefined,'details':_0x145c85['details']||undefined};return JSON[_0x1109e3(0x15a)](_0x3a64e4);}));this[_0x1926b8(0x15b)]=a111_0x235d39[_0x1926b8(0x159)]({'level':_0x1926b8(0x15d),'format':_0xd6dd52,'transports':[new a111_0x235d39[(_0x1926b8(0x166))]['File']({'filename':this['logFilePath'],'level':_0x1926b8(0x15d)})],'silent':![]}),a111_0x235d39[_0x1926b8(0x177)]({'success':_0x1926b8(0x16e),'error':_0x1926b8(0x15e),'warn':'yellow','info':_0x1926b8(0x17e)});}[a111_0x2c935f(0x15d)](_0xf6a749,_0x9dcc81,_0x582ba5){const _0x1fef43=a111_0x2c935f;if(!this[_0x1fef43(0x162)]||!this[_0x1fef43(0x15b)])return;this[_0x1fef43(0x15b)]['info'](_0x9dcc81,{'command':_0xf6a749,'details':_0x582ba5});}[a111_0x2c935f(0x16d)](_0xc92ae4,_0x2a959f,_0x22610d,_0x3b383b){const _0x4c61e1=a111_0x2c935f;if(!this[_0x4c61e1(0x162)]||!this[_0x4c61e1(0x15b)])return;this['winstonLogger']['log'](_0x4c61e1(0x15d),_0x2a959f,{'level':_0x4c61e1(0x16d),'command':_0xc92ae4,'duration':_0x22610d,'details':_0x3b383b});}['error'](_0xbc10fb,_0x417903,_0x37a4b2){const _0x19c857=a111_0x2c935f;if(!this[_0x19c857(0x162)]||!this['winstonLogger'])return;this[_0x19c857(0x15b)][_0x19c857(0x17d)](_0x417903,{'command':_0xbc10fb,'details':_0x37a4b2});}['warn'](_0x4f3575,_0x2859ee,_0x14aaec){const _0x5c6c2a=a111_0x2c935f;if(!this[_0x5c6c2a(0x162)]||!this[_0x5c6c2a(0x15b)])return;this[_0x5c6c2a(0x15b)]['warn'](_0x2859ee,{'command':_0x4f3575,'details':_0x14aaec});}async[a111_0x2c935f(0x151)](_0x2d91a2,_0x1db0ed,_0x236626){const _0x4bb6e2=a111_0x2c935f,_0xfee1aa=Date[_0x4bb6e2(0x152)]();this[_0x4bb6e2(0x15d)](_0x2d91a2,'Starting:\x20'+_0x1db0ed);try{const _0x59d819=await _0x236626(),_0x2311a1=Date['now']()-_0xfee1aa;return this[_0x4bb6e2(0x16d)](_0x2d91a2,_0x4bb6e2(0x17f)+_0x1db0ed,_0x2311a1),_0x59d819;}catch(_0x207c0e){const _0x214a96=Date[_0x4bb6e2(0x152)]()-_0xfee1aa;this['error'](_0x2d91a2,_0x4bb6e2(0x168)+_0x1db0ed,{'error':_0x207c0e instanceof Error?_0x207c0e['message']:String(_0x207c0e),'duration':_0x214a96});throw _0x207c0e;}}['readLogs'](){const _0x117486=a111_0x2c935f;try{if(!a111_0x311192[_0x117486(0x181)](this[_0x117486(0x162)]))return[];const _0x5e9e04=a111_0x311192[_0x117486(0x17b)](this['logFilePath'],'utf8');return _0x5e9e04[_0x117486(0x16b)](/\r?\n/)[_0x117486(0x183)](_0xa36048=>_0xa36048[_0x117486(0x172)]())[_0x117486(0x182)](_0x3a9b39=>JSON[_0x117486(0x14f)](_0x3a9b39));}catch(_0x2d8745){return console[_0x117486(0x14e)](_0x117486(0x14d),_0x2d8745),[];}}[a111_0x2c935f(0x160)](){const _0x174a61=a111_0x2c935f;try{a111_0x311192[_0x174a61(0x181)](this[_0x174a61(0x162)])&&a111_0x311192[_0x174a61(0x155)](this[_0x174a61(0x162)],'',_0x174a61(0x149));}catch(_0x5c87ce){console[_0x174a61(0x14e)](_0x174a61(0x179),_0x5c87ce);}}[a111_0x2c935f(0x156)](){return this['winstonLogger'];}}export const logger=new Logger();
@@ -1 +1 @@
1
- function a112_0x51f9(_0x234be9,_0xc89c97){_0x234be9=_0x234be9-0x17b;const _0x438475=a112_0x4384();let _0x51f978=_0x438475[_0x234be9];return _0x51f978;}(function(_0x541207,_0xba8b10){const _0x3c488f=a112_0x51f9,_0x23b3a0=_0x541207();while(!![]){try{const _0x378868=-parseInt(_0x3c488f(0x18b))/0x1+parseInt(_0x3c488f(0x189))/0x2*(-parseInt(_0x3c488f(0x190))/0x3)+parseInt(_0x3c488f(0x198))/0x4*(parseInt(_0x3c488f(0x18c))/0x5)+-parseInt(_0x3c488f(0x193))/0x6+-parseInt(_0x3c488f(0x183))/0x7+parseInt(_0x3c488f(0x194))/0x8+parseInt(_0x3c488f(0x18a))/0x9;if(_0x378868===_0xba8b10)break;else _0x23b3a0['push'](_0x23b3a0['shift']());}catch(_0x351853){_0x23b3a0['push'](_0x23b3a0['shift']());}}}(a112_0x4384,0x5f4b7));import{CliErrors}from'../errors.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x1f9f37){const _0x3ab099=a112_0x51f9;if(!_0x1f9f37)return undefined;try{return JSON[_0x3ab099(0x196)](_0x1f9f37);}catch{throw CliErrors[_0x3ab099(0x18d)](_0x3ab099(0x17e)+_0x1f9f37);}}export function parseJsonParamsValue(_0x145dcc){const _0xfb531c=a112_0x51f9;if(!_0x145dcc)return undefined;try{return JSON[_0xfb531c(0x196)](_0x145dcc);}catch{throw CliErrors['validation'](_0xfb531c(0x17e)+_0x145dcc);}}export function parseBatchCreateItemsFromParams(_0x397803){const _0xd8d3a8=a112_0x51f9;if(Array[_0xd8d3a8(0x17d)](_0x397803))return _0x397803;if(_0x397803!==null&&_0x397803!==undefined&&typeof _0x397803==='object'&&Array[_0xd8d3a8(0x17d)](_0x397803[_0xd8d3a8(0x188)]))return _0x397803[_0xd8d3a8(0x188)];throw CliErrors[_0xd8d3a8(0x18d)](_0xd8d3a8(0x197),_0xd8d3a8(0x186));}function parseDataUpdateId(_0x4b492e,_0x4e27e6){const _0xfcc7a7=a112_0x51f9;if(typeof _0x4b492e===_0xfcc7a7(0x18f)&&Number['isSafeInteger'](_0x4b492e)&&_0x4b492e>0x0)return _0x4b492e;if(typeof _0x4b492e===_0xfcc7a7(0x180)){if(/^[1-9]\d*$/[_0xfcc7a7(0x17c)](_0x4b492e))return _0x4b492e;}throw CliErrors['validation'](_0xfcc7a7(0x185)+_0x4e27e6+_0xfcc7a7(0x182));}function a112_0x4384(){const _0x56fb75=['id[','\x20records\x20per\x20call;\x20received\x20','1254174DaogGz','5931248XSNnGw','join','parse','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','10392gpMzru','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','map','test','isArray','Invalid\x20JSON\x20for\x20--params:\x20','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','string','length','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','3338671hEMYWj','data\x20update\x20can\x20update\x20at\x20most\x20','data\x20update\x20--params.','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','items','28676rzkHRQ','2711277VsrSzd','235194BrYzST','545kumBYq','validation','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','number','3VcayUm'];a112_0x4384=function(){return _0x56fb75;};return a112_0x4384();}export function parseUpdateIdsFromParams(_0x1c3c12){const _0x27ff57=a112_0x51f9;if(_0x1c3c12===null||_0x1c3c12===undefined||typeof _0x1c3c12!=='object'||Array[_0x27ff57(0x17d)](_0x1c3c12))throw CliErrors[_0x27ff57(0x18d)](_0x27ff57(0x199),_0x27ff57(0x18e));const _0x51af0b=_0x1c3c12['id'];if(_0x51af0b===undefined||_0x51af0b===null)throw CliErrors[_0x27ff57(0x18d)](_0x27ff57(0x17f),_0x27ff57(0x18e));const _0x5c0baa=Array[_0x27ff57(0x17d)](_0x51af0b)?_0x51af0b:[_0x51af0b];if(_0x5c0baa[_0x27ff57(0x181)]===0x0)throw CliErrors['validation'](_0x27ff57(0x187));if(_0x5c0baa['length']>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x27ff57(0x18d)](_0x27ff57(0x184)+MAX_DATA_UPDATE_IDS+_0x27ff57(0x192)+_0x5c0baa['length']+'.');return _0x5c0baa[_0x27ff57(0x17b)]((_0x1ab5a1,_0x235372)=>parseDataUpdateId(_0x1ab5a1,Array[_0x27ff57(0x17d)](_0x51af0b)?_0x27ff57(0x191)+_0x235372+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x2ec4cd,_0x2e4a5c){const _0x31a87=a112_0x51f9;if(Array[_0x31a87(0x17d)](_0x2ec4cd['id'])&&_0x2e4a5c['length']>0x1)return{..._0x2ec4cd,'id':_0x2e4a5c[_0x31a87(0x195)](',')};return _0x2ec4cd;}
1
+ (function(_0x4a5ce2,_0x217a55){const _0x35b0cd=a112_0x43ff,_0x359ce8=_0x4a5ce2();while(!![]){try{const _0x11e244=-parseInt(_0x35b0cd(0xc7))/0x1+-parseInt(_0x35b0cd(0xcc))/0x2*(parseInt(_0x35b0cd(0xb3))/0x3)+parseInt(_0x35b0cd(0xc5))/0x4*(-parseInt(_0x35b0cd(0xbc))/0x5)+-parseInt(_0x35b0cd(0xc0))/0x6*(-parseInt(_0x35b0cd(0xc3))/0x7)+parseInt(_0x35b0cd(0xd0))/0x8*(-parseInt(_0x35b0cd(0xc6))/0x9)+parseInt(_0x35b0cd(0xba))/0xa*(parseInt(_0x35b0cd(0xce))/0xb)+parseInt(_0x35b0cd(0xc4))/0xc;if(_0x11e244===_0x217a55)break;else _0x359ce8['push'](_0x359ce8['shift']());}catch(_0x2b9950){_0x359ce8['push'](_0x359ce8['shift']());}}}(a112_0x23e3,0x2f76a));import{CliErrors}from'../errors.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x332f62){const _0xb1b916=a112_0x43ff;if(!_0x332f62)return undefined;try{return JSON[_0xb1b916(0xb8)](_0x332f62);}catch{throw CliErrors[_0xb1b916(0xc2)](_0xb1b916(0xca)+_0x332f62);}}export function parseJsonParamsValue(_0x4fab4b){const _0x22d230=a112_0x43ff;if(!_0x4fab4b)return undefined;try{return JSON[_0x22d230(0xb8)](_0x4fab4b);}catch{throw CliErrors[_0x22d230(0xc2)](_0x22d230(0xca)+_0x4fab4b);}}function a112_0x23e3(){const _0x2e1864=['data\x20update\x20--params.','parse','map','20zCNYpk','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','154705FqJKri','number','items','isSafeInteger','19974Zrdxec','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','validation','616nFijft','3693300qGkfRM','24mPUDuy','140841QmnnwZ','217854uCXQOn','data\x20update\x20can\x20update\x20at\x20most\x20','object','Invalid\x20JSON\x20for\x20--params:\x20','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','240792WkznPM','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','2057110mlcTSU','length','8GuBYze','isArray','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','id[','9gHbbBX','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','\x20records\x20per\x20call;\x20received\x20','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.'];a112_0x23e3=function(){return _0x2e1864;};return a112_0x23e3();}function a112_0x43ff(_0x3c998c,_0x4a3113){_0x3c998c=_0x3c998c-0xb1;const _0x23e37c=a112_0x23e3();let _0x43ff5d=_0x23e37c[_0x3c998c];return _0x43ff5d;}export function parseBatchCreateItemsFromParams(_0x185126){const _0x15de53=a112_0x43ff;if(Array[_0x15de53(0xd1)](_0x185126))return _0x185126;if(_0x185126!==null&&_0x185126!==undefined&&typeof _0x185126===_0x15de53(0xc9)&&Array[_0x15de53(0xd1)](_0x185126[_0x15de53(0xbe)]))return _0x185126[_0x15de53(0xbe)];throw CliErrors[_0x15de53(0xc2)](_0x15de53(0xb1),_0x15de53(0xcd));}function parseDataUpdateId(_0x140884,_0x30df90){const _0x5e9a3b=a112_0x43ff;if(typeof _0x140884===_0x5e9a3b(0xbd)&&Number[_0x5e9a3b(0xbf)](_0x140884)&&_0x140884>0x0)return _0x140884;if(typeof _0x140884==='string'){if(/^[1-9]\d*$/['test'](_0x140884))return _0x140884;}throw CliErrors[_0x5e9a3b(0xc2)](_0x5e9a3b(0xb7)+_0x30df90+_0x5e9a3b(0xb6));}export function parseUpdateIdsFromParams(_0x36a1e8){const _0x34f233=a112_0x43ff;if(_0x36a1e8===null||_0x36a1e8===undefined||typeof _0x36a1e8!=='object'||Array[_0x34f233(0xd1)](_0x36a1e8))throw CliErrors[_0x34f233(0xc2)](_0x34f233(0xbb),_0x34f233(0xcb));const _0x3e8a9c=_0x36a1e8['id'];if(_0x3e8a9c===undefined||_0x3e8a9c===null)throw CliErrors[_0x34f233(0xc2)](_0x34f233(0xb4),_0x34f233(0xcb));const _0xc3efd6=Array[_0x34f233(0xd1)](_0x3e8a9c)?_0x3e8a9c:[_0x3e8a9c];if(_0xc3efd6[_0x34f233(0xcf)]===0x0)throw CliErrors['validation'](_0x34f233(0xc1));if(_0xc3efd6[_0x34f233(0xcf)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x34f233(0xc2)](_0x34f233(0xc8)+MAX_DATA_UPDATE_IDS+_0x34f233(0xb5)+_0xc3efd6[_0x34f233(0xcf)]+'.');return _0xc3efd6[_0x34f233(0xb9)]((_0x41d588,_0x13c877)=>parseDataUpdateId(_0x41d588,Array[_0x34f233(0xd1)](_0x3e8a9c)?_0x34f233(0xb2)+_0x13c877+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x2c17f9,_0x3b86c1){const _0x34406b=a112_0x43ff;if(Array[_0x34406b(0xd1)](_0x2c17f9['id'])&&_0x3b86c1[_0x34406b(0xcf)]>0x1)return{..._0x2c17f9,'id':_0x3b86c1['join'](',')};return _0x2c17f9;}
@@ -1 +1 @@
1
- function a113_0x2e37(){const _0x560aa7=['platform','71210KZydrA','6729iuoGYk','14SYpzeR','2203580lRaeIL','191232RjFbQv','60846460okZZmj','win32','3337772zDqQXx','3183546olhApl','2348ITqVLb','11AdMyTP','576hgHUlD'];a113_0x2e37=function(){return _0x560aa7;};return a113_0x2e37();}function a113_0x400b(_0x3d2fca,_0x50275e){_0x3d2fca=_0x3d2fca-0x165;const _0x2e37f2=a113_0x2e37();let _0x400b85=_0x2e37f2[_0x3d2fca];return _0x400b85;}const a113_0x6a9285=a113_0x400b;(function(_0x53ebeb,_0x23f6b7){const _0x355a12=a113_0x400b,_0x4a89d5=_0x53ebeb();while(!![]){try{const _0x5b6013=-parseInt(_0x355a12(0x166))/0x1+-parseInt(_0x355a12(0x16d))/0x2+-parseInt(_0x355a12(0x167))/0x3*(parseInt(_0x355a12(0x16f))/0x4)+parseInt(_0x355a12(0x169))/0x5+parseInt(_0x355a12(0x16e))/0x6*(-parseInt(_0x355a12(0x168))/0x7)+-parseInt(_0x355a12(0x16a))/0x8*(parseInt(_0x355a12(0x171))/0x9)+-parseInt(_0x355a12(0x16b))/0xa*(-parseInt(_0x355a12(0x170))/0xb);if(_0x5b6013===_0x23f6b7)break;else _0x4a89d5['push'](_0x4a89d5['shift']());}catch(_0x5715ca){_0x4a89d5['push'](_0x4a89d5['shift']());}}}(a113_0x2e37,0xd6413));export const isWindows=process[a113_0x6a9285(0x165)]===a113_0x6a9285(0x16c);export function resolveNpmBin(_0x3c04f3){return isWindows?_0x3c04f3+'.cmd':_0x3c04f3;}
1
+ const a113_0x28554b=a113_0x4f3d;(function(_0x8da323,_0x56a4a2){const _0x4ab96f=a113_0x4f3d,_0x8abe87=_0x8da323();while(!![]){try{const _0x2e1d7f=parseInt(_0x4ab96f(0x168))/0x1+-parseInt(_0x4ab96f(0x15d))/0x2*(-parseInt(_0x4ab96f(0x162))/0x3)+-parseInt(_0x4ab96f(0x161))/0x4+-parseInt(_0x4ab96f(0x164))/0x5+parseInt(_0x4ab96f(0x166))/0x6*(-parseInt(_0x4ab96f(0x15f))/0x7)+parseInt(_0x4ab96f(0x15e))/0x8*(-parseInt(_0x4ab96f(0x167))/0x9)+parseInt(_0x4ab96f(0x165))/0xa;if(_0x2e1d7f===_0x56a4a2)break;else _0x8abe87['push'](_0x8abe87['shift']());}catch(_0x23e090){_0x8abe87['push'](_0x8abe87['shift']());}}}(a113_0x5b9b,0xb6dd4));function a113_0x4f3d(_0x486800,_0x38f173){_0x486800=_0x486800-0x15d;const _0x5b9bf6=a113_0x5b9b();let _0x4f3d7=_0x5b9bf6[_0x486800];return _0x4f3d7;}export const isWindows=process['platform']===a113_0x28554b(0x160);export function resolveNpmBin(_0x188957){const _0x389818=a113_0x28554b;return isWindows?_0x188957+_0x389818(0x163):_0x188957;}function a113_0x5b9b(){const _0x590d7f=['8935157nbnRKz','win32','367548MEjrjf','3TZdUEl','.cmd','4766215LpKIyx','16132990RJtqqy','6ghzDIB','279HvVLPY','1161512dPBGvl','2786054HBsTGw','283160OCVrDI'];a113_0x5b9b=function(){return _0x590d7f;};return a113_0x5b9b();}
@@ -1 +1 @@
1
- (function(_0x406b57,_0x2f2101){const _0x4a648e=a114_0x16db,_0x9d22b1=_0x406b57();while(!![]){try{const _0x4516c7=parseInt(_0x4a648e(0x7c))/0x1*(-parseInt(_0x4a648e(0x81))/0x2)+-parseInt(_0x4a648e(0x76))/0x3*(-parseInt(_0x4a648e(0x93))/0x4)+parseInt(_0x4a648e(0x78))/0x5*(-parseInt(_0x4a648e(0x97))/0x6)+-parseInt(_0x4a648e(0x85))/0x7+-parseInt(_0x4a648e(0x82))/0x8+-parseInt(_0x4a648e(0x77))/0x9+-parseInt(_0x4a648e(0x96))/0xa*(-parseInt(_0x4a648e(0x83))/0xb);if(_0x4516c7===_0x2f2101)break;else _0x9d22b1['push'](_0x9d22b1['shift']());}catch(_0x49066b){_0x9d22b1['push'](_0x9d22b1['shift']());}}}(a114_0x1fed,0x1a92c));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';function a114_0x16db(_0x597b73,_0x45afdb){_0x597b73=_0x597b73-0x76;const _0x1fedb1=a114_0x1fed();let _0x16db42=_0x1fedb1[_0x597b73];return _0x16db42;}import{CLI_BIN_NAME}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';function a114_0x1fed(){const _0xad1ec9=['number','6GMyMOG','584685iYAxEI','21905XMsWUn','map','stringify','string','24943EIpmXW','/v/','fromEntries','\x20available,\x20current\x20','utf8','8jjsenS','326952gjLCLI','78243uGfslA','latest','771015EZwnmp','/-/package/','/dist-tags',',\x20run:\x20','minor','prerelease','Invalid\x20semver','lastNotifiedAt','update-check.json','https://www.npmjs.com/package/','lovrabet-cli','major','entries','yes','394252OOfzJe','true','timeout','560AqRRBz','234lbccdj','toLowerCase','now','trim','object','patch'];a114_0x1fed=function(){return _0xad1ec9;};return a114_0x1fed();}const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function parseSemver(_0x4d1959){const _0x4ab2e6=a114_0x16db,_0x395c57=_0x4d1959[_0x4ab2e6(0x9a)]()['match'](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x395c57)return null;return{'major':Number(_0x395c57[0x1]),'minor':Number(_0x395c57[0x2]),'patch':Number(_0x395c57[0x3]),'prerelease':_0x395c57[0x4]};}function compareSemver(_0x233527,_0x340501){const _0x3b3580=a114_0x16db,_0x573d62=parseSemver(_0x233527),_0x1b6975=parseSemver(_0x340501);if(!_0x573d62||!_0x1b6975)throw new Error(_0x3b3580(0x8b));for(const _0x537f5c of[_0x3b3580(0x90),_0x3b3580(0x89),_0x3b3580(0x9c)]){if(_0x573d62[_0x537f5c]<_0x1b6975[_0x537f5c])return-0x1;if(_0x573d62[_0x537f5c]>_0x1b6975[_0x537f5c])return 0x1;}if(!_0x573d62[_0x3b3580(0x8a)]&&!_0x1b6975[_0x3b3580(0x8a)])return 0x0;if(!_0x573d62[_0x3b3580(0x8a)])return 0x1;if(!_0x1b6975[_0x3b3580(0x8a)])return-0x1;if(_0x573d62[_0x3b3580(0x8a)]===_0x1b6975[_0x3b3580(0x8a)])return 0x0;return _0x573d62[_0x3b3580(0x8a)]<_0x1b6975['prerelease']?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x5611a4=a114_0x16db,_0x347099=process.env.LOVRABET_NO_UPDATE_NOTICE?.['trim']()[_0x5611a4(0x98)]();return _0x347099==='1'||_0x347099===_0x5611a4(0x94)||_0x347099===_0x5611a4(0x92);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x9d3e23=a114_0x16db;return join(cacheRoot(),_0x9d3e23(0x8f),_0x9d3e23(0x8d));}async function readUpdateNoticeCache(){const _0x5dec63=a114_0x16db;try{const _0x36f778=await readFile(getUpdateNoticeCachePath(),_0x5dec63(0x80)),_0x5c5dba=JSON['parse'](_0x36f778);if(!_0x5c5dba||typeof _0x5c5dba!==_0x5dec63(0x9b))return{};return _0x5c5dba;}catch{return{};}}async function writeUpdateNoticeCache(_0xf64239){const _0x3ae8d0=a114_0x16db;try{const _0x29d62a=getUpdateNoticeCachePath();await mkdir(dirname(_0x29d62a),{'recursive':!![]}),await writeFile(_0x29d62a,JSON[_0x3ae8d0(0x7a)](_0xf64239,null,0x2)+'\x0a',_0x3ae8d0(0x80));}catch{}}function isFreshCheck(_0x2e2c6c,_0x18871c){const _0x4612eb=a114_0x16db;return typeof _0x2e2c6c['checkedAt']===_0x4612eb(0x9d)&&_0x18871c-_0x2e2c6c['checkedAt']<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x2b441c,_0x3b6c4a,_0x5b0609){const _0x493d78=a114_0x16db;return _0x2b441c['lastNotifiedVersion']===_0x3b6c4a&&typeof _0x2b441c['lastNotifiedAt']===_0x493d78(0x9d)&&_0x5b0609-_0x2b441c[_0x493d78(0x8c)]<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x388d27=0x5dc){const _0x8d1b89=a114_0x16db;try{const _0x2687a1=NPM_REGISTRY_BASE_URL+_0x8d1b89(0x86)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x8d1b89(0x87),_0x390b84=await fetch(_0x2687a1,{'signal':AbortSignal[_0x8d1b89(0x95)](_0x388d27)});if(!_0x390b84['ok'])return null;const _0x470bbe=await _0x390b84['json']();if(!_0x470bbe||typeof _0x470bbe!==_0x8d1b89(0x9b))return null;return Object[_0x8d1b89(0x7e)](Object[_0x8d1b89(0x91)](_0x470bbe)['filter'](([,_0x272288])=>typeof _0x272288===_0x8d1b89(0x7b)&&_0x272288[_0x8d1b89(0x9a)]())[_0x8d1b89(0x79)](([_0x5a7c1f,_0x56608e])=>[_0x5a7c1f,String(_0x56608e)[_0x8d1b89(0x9a)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x2e3938){const _0x20c62=a114_0x16db;return _0x20c62(0x8e)+LOVRABET_NPM_PACKAGE_NAME+_0x20c62(0x7d)+_0x2e3938;}export async function resolveLatestUpdateNotice(){const _0x4e4bff=a114_0x16db;if(isUpdateNoticeDisabled())return null;try{const _0x455033=Date[_0x4e4bff(0x99)](),_0x40ed65=getCliVersion(),_0x17161b=await readUpdateNoticeCache();let _0x47fd10=isFreshCheck(_0x17161b,_0x455033)?_0x17161b['latest']?.[_0x4e4bff(0x9a)]():undefined;if(!_0x47fd10&&!isFreshCheck(_0x17161b,_0x455033)){const _0x83757e=await fetchNpmDistTags();_0x47fd10=_0x83757e?.[_0x4e4bff(0x84)]?.[_0x4e4bff(0x9a)](),await writeUpdateNoticeCache({..._0x17161b,'checkedAt':_0x455033,'latest':_0x47fd10,'failed':!_0x47fd10});}if(!_0x47fd10||compareSemver(_0x40ed65,_0x47fd10)>=0x0)return null;if(isRecentlyNotified(_0x17161b,_0x47fd10,_0x455033))return null;const _0x53bcc1=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0x17161b,'checkedAt':isFreshCheck(_0x17161b,_0x455033)?_0x17161b['checkedAt']:_0x455033,'latest':_0x47fd10,'failed':![],'lastNotifiedVersion':_0x47fd10,'lastNotifiedAt':_0x455033}),{'command':_0x53bcc1,'current':_0x40ed65,'latest':_0x47fd10,'url':buildNpmVersionUrl(_0x47fd10),'message':CLI_BIN_NAME+'\x20'+_0x47fd10+_0x4e4bff(0x7f)+_0x40ed65+_0x4e4bff(0x88)+_0x53bcc1};}catch{return null;}}
1
+ (function(_0x140c65,_0x360147){const _0x119ab8=a114_0x2301,_0x46af3=_0x140c65();while(!![]){try{const _0x57b9cd=parseInt(_0x119ab8(0x1f3))/0x1+parseInt(_0x119ab8(0x1f4))/0x2+parseInt(_0x119ab8(0x1ea))/0x3*(parseInt(_0x119ab8(0x1d2))/0x4)+-parseInt(_0x119ab8(0x1ce))/0x5*(-parseInt(_0x119ab8(0x1f0))/0x6)+-parseInt(_0x119ab8(0x1e4))/0x7*(-parseInt(_0x119ab8(0x1de))/0x8)+-parseInt(_0x119ab8(0x1d5))/0x9+parseInt(_0x119ab8(0x1dd))/0xa*(-parseInt(_0x119ab8(0x1df))/0xb);if(_0x57b9cd===_0x360147)break;else _0x46af3['push'](_0x46af3['shift']());}catch(_0x3ea5b8){_0x46af3['push'](_0x46af3['shift']());}}}(a114_0x3e67,0x8b75d));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.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 parseSemver(_0x355f25){const _0x465d36=a114_0x2301,_0xb9bbce=_0x355f25[_0x465d36(0x1db)]()[_0x465d36(0x1d7)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0xb9bbce)return null;return{'major':Number(_0xb9bbce[0x1]),'minor':Number(_0xb9bbce[0x2]),'patch':Number(_0xb9bbce[0x3]),'prerelease':_0xb9bbce[0x4]};}function a114_0x2301(_0x52ad20,_0x3b6ee5){_0x52ad20=_0x52ad20-0x1cd;const _0x3e677f=a114_0x3e67();let _0x230176=_0x3e677f[_0x52ad20];return _0x230176;}function compareSemver(_0x3fab74,_0x4a9d4a){const _0x2b4f84=a114_0x2301,_0x39ff0e=parseSemver(_0x3fab74),_0x28c113=parseSemver(_0x4a9d4a);if(!_0x39ff0e||!_0x28c113)throw new Error('Invalid\x20semver');for(const _0x4fa949 of[_0x2b4f84(0x1e8),_0x2b4f84(0x1ee),_0x2b4f84(0x1cd)]){if(_0x39ff0e[_0x4fa949]<_0x28c113[_0x4fa949])return-0x1;if(_0x39ff0e[_0x4fa949]>_0x28c113[_0x4fa949])return 0x1;}if(!_0x39ff0e[_0x2b4f84(0x1dc)]&&!_0x28c113[_0x2b4f84(0x1dc)])return 0x0;if(!_0x39ff0e['prerelease'])return 0x1;if(!_0x28c113[_0x2b4f84(0x1dc)])return-0x1;if(_0x39ff0e[_0x2b4f84(0x1dc)]===_0x28c113['prerelease'])return 0x0;return _0x39ff0e['prerelease']<_0x28c113[_0x2b4f84(0x1dc)]?-0x1:0x1;}function a114_0x3e67(){const _0x5de261=['true','entries','object','101542jAQxfb',',\x20run:\x20','number','/-/package/','major','stringify','113442RZjNUj','now','\x20available,\x20current\x20','.cache','minor','utf8','2034DtiiSS','string','\x20update','195137XnGVPd','284850mVdeoY','parse','patch','7115OJMQPN','lastNotifiedAt','update-check.json','filter','52AVsqcL','yes','/dist-tags','3805839stKHro','json','match','latest','https://www.npmjs.com/package/','checkedAt','trim','prerelease','270Bjeygi','368LRjaGN','401181mXjkTb','lovrabet-cli'];a114_0x3e67=function(){return _0x5de261;};return a114_0x3e67();}function isUpdateNoticeDisabled(){const _0x597e42=a114_0x2301,_0x5bec70=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x597e42(0x1db)]()['toLowerCase']();return _0x5bec70==='1'||_0x5bec70===_0x597e42(0x1e1)||_0x5bec70===_0x597e42(0x1d3);}function cacheRoot(){const _0x3fb6ca=a114_0x2301;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x3fb6ca(0x1ed));}export function getUpdateNoticeCachePath(){const _0x5ca6ad=a114_0x2301;return join(cacheRoot(),_0x5ca6ad(0x1e0),_0x5ca6ad(0x1d0));}async function readUpdateNoticeCache(){const _0x3902c4=a114_0x2301;try{const _0x2f084b=await readFile(getUpdateNoticeCachePath(),_0x3902c4(0x1ef)),_0x4a89ca=JSON[_0x3902c4(0x1f5)](_0x2f084b);if(!_0x4a89ca||typeof _0x4a89ca!==_0x3902c4(0x1e3))return{};return _0x4a89ca;}catch{return{};}}async function writeUpdateNoticeCache(_0x29fb04){const _0x14655b=a114_0x2301;try{const _0x20390d=getUpdateNoticeCachePath();await mkdir(dirname(_0x20390d),{'recursive':!![]}),await writeFile(_0x20390d,JSON[_0x14655b(0x1e9)](_0x29fb04,null,0x2)+'\x0a',_0x14655b(0x1ef));}catch{}}function isFreshCheck(_0x5e4b6b,_0x3dd774){const _0x3c5a20=a114_0x2301;return typeof _0x5e4b6b[_0x3c5a20(0x1da)]===_0x3c5a20(0x1e6)&&_0x3dd774-_0x5e4b6b[_0x3c5a20(0x1da)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x2b3074,_0x4b1bcc,_0x4e0616){const _0x257c87=a114_0x2301;return _0x2b3074['lastNotifiedVersion']===_0x4b1bcc&&typeof _0x2b3074[_0x257c87(0x1cf)]===_0x257c87(0x1e6)&&_0x4e0616-_0x2b3074['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x35a08c=0x5dc){const _0x11b56c=a114_0x2301;try{const _0x5801c5=NPM_REGISTRY_BASE_URL+_0x11b56c(0x1e7)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x11b56c(0x1d4),_0x355976=await fetch(_0x5801c5,{'signal':AbortSignal['timeout'](_0x35a08c)});if(!_0x355976['ok'])return null;const _0x2bd9bd=await _0x355976[_0x11b56c(0x1d6)]();if(!_0x2bd9bd||typeof _0x2bd9bd!==_0x11b56c(0x1e3))return null;return Object['fromEntries'](Object[_0x11b56c(0x1e2)](_0x2bd9bd)[_0x11b56c(0x1d1)](([,_0x44a06f])=>typeof _0x44a06f===_0x11b56c(0x1f1)&&_0x44a06f['trim']())['map'](([_0x14cf13,_0x8518fc])=>[_0x14cf13,String(_0x8518fc)[_0x11b56c(0x1db)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x12fa60){const _0x4191e5=a114_0x2301;return _0x4191e5(0x1d9)+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x12fa60;}export async function resolveLatestUpdateNotice(){const _0x32e46b=a114_0x2301;if(isUpdateNoticeDisabled())return null;try{const _0xcd4a0c=Date[_0x32e46b(0x1eb)](),_0x5362b1=getCliVersion(),_0x406d71=await readUpdateNoticeCache();let _0x27aca8=isFreshCheck(_0x406d71,_0xcd4a0c)?_0x406d71[_0x32e46b(0x1d8)]?.[_0x32e46b(0x1db)]():undefined;if(!_0x27aca8&&!isFreshCheck(_0x406d71,_0xcd4a0c)){const _0x794ea1=await fetchNpmDistTags();_0x27aca8=_0x794ea1?.[_0x32e46b(0x1d8)]?.[_0x32e46b(0x1db)](),await writeUpdateNoticeCache({..._0x406d71,'checkedAt':_0xcd4a0c,'latest':_0x27aca8,'failed':!_0x27aca8});}if(!_0x27aca8||compareSemver(_0x5362b1,_0x27aca8)>=0x0)return null;if(isRecentlyNotified(_0x406d71,_0x27aca8,_0xcd4a0c))return null;const _0x318ae3=CLI_BIN_NAME+_0x32e46b(0x1f2);return await writeUpdateNoticeCache({..._0x406d71,'checkedAt':isFreshCheck(_0x406d71,_0xcd4a0c)?_0x406d71['checkedAt']:_0xcd4a0c,'latest':_0x27aca8,'failed':![],'lastNotifiedVersion':_0x27aca8,'lastNotifiedAt':_0xcd4a0c}),{'command':_0x318ae3,'current':_0x5362b1,'latest':_0x27aca8,'url':buildNpmVersionUrl(_0x27aca8),'message':CLI_BIN_NAME+'\x20'+_0x27aca8+_0x32e46b(0x1ec)+_0x5362b1+_0x32e46b(0x1e5)+_0x318ae3};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x5460f7,_0x573c95){const _0x3d96f1=a115_0x5a28,_0x1feebd=_0x5460f7();while(!![]){try{const _0x31d700=-parseInt(_0x3d96f1(0x92))/0x1+-parseInt(_0x3d96f1(0x8e))/0x2*(parseInt(_0x3d96f1(0x90))/0x3)+-parseInt(_0x3d96f1(0x97))/0x4*(parseInt(_0x3d96f1(0x94))/0x5)+-parseInt(_0x3d96f1(0x93))/0x6+-parseInt(_0x3d96f1(0x91))/0x7+parseInt(_0x3d96f1(0x95))/0x8*(parseInt(_0x3d96f1(0x98))/0x9)+-parseInt(_0x3d96f1(0x8f))/0xa*(-parseInt(_0x3d96f1(0x8c))/0xb);if(_0x31d700===_0x573c95)break;else _0x1feebd['push'](_0x1feebd['shift']());}catch(_0x514228){_0x1feebd['push'](_0x1feebd['shift']());}}}(a115_0x53a2,0x747c7));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a115_0x53a2(){const _0x2002c8=['407pWHOwz','slice','553678emcElU','745100VPurKJ','6CAVCte','1269653WCrqNX','859399uREmqE','1061508eEYYCF','560hwLaMH','10376YxQLlx','unknown','29968ZDPQbW','2295WPslVY'];a115_0x53a2=function(){return _0x2002c8;};return a115_0x53a2();}function a115_0x5a28(_0x5f4fd1,_0xc79384){_0x5f4fd1=_0x5f4fd1-0x8c;const _0x53a211=a115_0x53a2();let _0x5a28ca=_0x53a211[_0x5f4fd1];return _0x5a28ca;}export function getCliGitCommit(){const _0x2db687=a115_0x5a28,_0x14abcb=String(GIT_COMMIT);return _0x14abcb&&_0x14abcb!==_0x2db687(0x96)?_0x14abcb:'';}export function getCliVersionDisplay(){const _0x4d507d=a115_0x5a28,_0x29623e=getCliGitCommit(),_0x3c741e=BUILD_TIME[_0x4d507d(0x8d)](0x0,0xa);if(!_0x29623e||!_0x3c741e)return VERSION;return VERSION+'\x20('+_0x29623e+',\x20'+_0x3c741e+')';}
1
+ function a115_0x15ad(){const _0x39dfc6=['374786tvnPTV','70QDFdNO','3851238SGvtGR','slice','784968ckiTRt','12753MFoxBD','1182384pJmTip','unknown','11030iDAadP','5EuIwQh','1591196cbPPhG','1040143QYSjyy'];a115_0x15ad=function(){return _0x39dfc6;};return a115_0x15ad();}(function(_0x138145,_0x25d841){const _0x14fff5=a115_0x3fd5,_0x944af8=_0x138145();while(!![]){try{const _0x5406f1=parseInt(_0x14fff5(0x1d7))/0x1+-parseInt(_0x14fff5(0x1d8))/0x2+parseInt(_0x14fff5(0x1dc))/0x3+parseInt(_0x14fff5(0x1d6))/0x4+parseInt(_0x14fff5(0x1d5))/0x5*(-parseInt(_0x14fff5(0x1da))/0x6)+-parseInt(_0x14fff5(0x1d9))/0x7*(-parseInt(_0x14fff5(0x1de))/0x8)+-parseInt(_0x14fff5(0x1dd))/0x9*(parseInt(_0x14fff5(0x1d4))/0xa);if(_0x5406f1===_0x25d841)break;else _0x944af8['push'](_0x944af8['shift']());}catch(_0x45b1bd){_0x944af8['push'](_0x944af8['shift']());}}}(a115_0x15ad,0xbfbd1));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a115_0x3fd5(_0x360876,_0x31e3c9){_0x360876=_0x360876-0x1d4;const _0x15adef=a115_0x15ad();let _0x3fd519=_0x15adef[_0x360876];return _0x3fd519;}export function getCliGitCommit(){const _0x45d05d=a115_0x3fd5,_0x484749=String(GIT_COMMIT);return _0x484749&&_0x484749!==_0x45d05d(0x1df)?_0x484749:'';}export function getCliVersionDisplay(){const _0x3c497a=a115_0x3fd5,_0x15d46=getCliGitCommit(),_0x38cabb=BUILD_TIME[_0x3c497a(0x1db)](0x0,0xa);if(!_0x15d46||!_0x38cabb)return VERSION;return VERSION+'\x20('+_0x15d46+',\x20'+_0x38cabb+')';}
@@ -1 +1 @@
1
- function a116_0x811e(_0xedae54,_0x114021){_0xedae54=_0xedae54-0x140;var _0x542c12=a116_0x542c();var _0x811e7c=_0x542c12[_0xedae54];return _0x811e7c;}(function(_0x4cc32e,_0x4f69b5){var _0x57d493=a116_0x811e,_0x4012f6=_0x4cc32e();while(!![]){try{var _0x507191=-parseInt(_0x57d493(0x147))/0x1+parseInt(_0x57d493(0x148))/0x2*(-parseInt(_0x57d493(0x140))/0x3)+-parseInt(_0x57d493(0x145))/0x4*(-parseInt(_0x57d493(0x14a))/0x5)+-parseInt(_0x57d493(0x141))/0x6+parseInt(_0x57d493(0x146))/0x7+parseInt(_0x57d493(0x142))/0x8+parseInt(_0x57d493(0x149))/0x9*(parseInt(_0x57d493(0x14b))/0xa);if(_0x507191===_0x4f69b5)break;else _0x4012f6['push'](_0x4012f6['shift']());}catch(_0x84f338){_0x4012f6['push'](_0x4012f6['shift']());}}}(a116_0x542c,0x68fe7));function a116_0x542c(){var _0xa96d=['10isPVNe','1150aXtjhw','9651IhSpPN','2688378fUVPUR','5250088IuUpos','stderr','write','127276gSsitm','1550073EcvrIc','80581pldVGI','534AeeIid','68580fHLxPP'];a116_0x542c=function(){return _0xa96d;};return a116_0x542c();}export function writeCliSideChannelLine(_0x31f4ed){var _0x468991=a116_0x811e;process[_0x468991(0x143)][_0x468991(0x144)](_0x31f4ed+'\x0a');}
1
+ function a116_0x2d4a(_0x407ae0,_0x3058e8){_0x407ae0=_0x407ae0-0x108;var _0xd49454=a116_0xd494();var _0x2d4add=_0xd49454[_0x407ae0];return _0x2d4add;}function a116_0xd494(){var _0x47c7fd=['1006448SEOKpv','34511jAfIMt','stderr','2639826UWUMFd','write','69200BetOiC','293523GvoYDH','4FYnQzR','207025toUtbV','8TXnpAN','2798484YKfMJp'];a116_0xd494=function(){return _0x47c7fd;};return a116_0xd494();}(function(_0x563e0c,_0x47fb02){var _0x3537eb=a116_0x2d4a,_0x168ea5=_0x563e0c();while(!![]){try{var _0x2a0181=-parseInt(_0x3537eb(0x10f))/0x1+parseInt(_0x3537eb(0x10a))/0x2*(-parseInt(_0x3537eb(0x109))/0x3)+parseInt(_0x3537eb(0x10e))/0x4+parseInt(_0x3537eb(0x108))/0x5+parseInt(_0x3537eb(0x10d))/0x6+-parseInt(_0x3537eb(0x10b))/0x7*(-parseInt(_0x3537eb(0x10c))/0x8)+-parseInt(_0x3537eb(0x111))/0x9;if(_0x2a0181===_0x47fb02)break;else _0x168ea5['push'](_0x168ea5['shift']());}catch(_0x40ab0c){_0x168ea5['push'](_0x168ea5['shift']());}}}(a116_0xd494,0x3a16e));export function writeCliSideChannelLine(_0x30235f){var _0x51d335=a116_0x2d4a;process[_0x51d335(0x110)][_0x51d335(0x112)](_0x30235f+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.1.9-beta.4",
3
+ "version": "2.1.10",
4
4
  "description": "Runtime CLI for Lovrabet apps, datasets, SQL, BFF, skills, and AI agent workflows.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [