@lovrabet/lovrabet-cli 2.1.9-beta.1 → 2.1.9-beta.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.
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(_0x441f66,_0x77ae51){const _0x10939b=a108_0x10d2,_0x10817a=_0x441f66();while(!![]){try{const _0x191414=-parseInt(_0x10939b(0x166))/0x1*(parseInt(_0x10939b(0x174))/0x2)+-parseInt(_0x10939b(0x17c))/0x3*(parseInt(_0x10939b(0x15d))/0x4)+parseInt(_0x10939b(0x186))/0x5*(parseInt(_0x10939b(0x161))/0x6)+parseInt(_0x10939b(0x17b))/0x7+parseInt(_0x10939b(0x180))/0x8+parseInt(_0x10939b(0x182))/0x9+parseInt(_0x10939b(0x183))/0xa;if(_0x191414===_0x77ae51)break;else _0x10817a['push'](_0x10817a['shift']());}catch(_0x266234){_0x10817a['push'](_0x10817a['shift']());}}}(a108_0x2eb0,0x343f2));function a108_0x2eb0(){const _0x50fdd2=['6jiKmuL','Runtime\x20Skill\x20package\x20is\x20missing\x20','some','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','schemaVersion','409051iMzWOO','size','Runtime\x20Skill\x20package\x20sha256\x20mismatch.','Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.','isArray','validation','length','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','trim','base64','map','string','requireOssPath','has','2APAYzB','Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20','toLowerCase','Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','zipSha256','treeSha256','2722846oqAKCX','3freVBF','zipSize','isSafeInteger','files','1673224hPTOkL','object','1464669mPPrbu','1780020SYxQZe','Missing\x20','path','528115hkAWyT','Duplicate\x20Skill\x20package\x20entry:\x20','sha256','1685776ckwDYz','toString','set','Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20'];a108_0x2eb0=function(){return _0x50fdd2;};return a108_0x2eb0();}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(_0xea544d){const _0x406f36=a108_0x10d2,_0x2a23e6=normalizeLocalFiles(_0xea544d);if(!_0x2a23e6[_0x406f36(0x163)](_0xbb7310=>_0xbb7310[_0x406f36(0x185)]===SKILL_FILE))throw CliErrors[_0x406f36(0x16b)](_0x406f36(0x184)+SKILL_FILE+'\x20in\x20Skill\x20file\x20package.');const _0x3414f9=localFilesToManifestFiles(_0x2a23e6),_0x5551d4=createDeterministicZipPackage(_0x2a23e6);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x3414f9),'zipSha256':bufferSha256(_0x5551d4),'zipSize':_0x5551d4['length'],'files':_0x3414f9},'packageBytes':_0x5551d4,'packageBase64':_0x5551d4[_0x406f36(0x15e)](_0x406f36(0x16f))};}export function verifyRuntimeSkillPackage(_0x2a4fb4,_0x2c96a5){const _0x2a2d83=a108_0x10d2,_0x1406a9=normalizePackageManifest(_0x2a4fb4,{'requireOssPath':![]});if(!_0x1406a9)throw CliErrors['validation'](_0x2a2d83(0x178));return extractAndVerifyPackage(_0x1406a9,_0x2c96a5);}export function verifyRuntimeSkillBundle(_0x461eeb,_0x109ab1){const _0x1b730a=a108_0x10d2,_0x18527b=normalizePackageManifest(_0x461eeb,{'requireOssPath':![]});if(!_0x18527b)throw CliErrors[_0x1b730a(0x16b)](_0x1b730a(0x178));return extractAndVerifyPackageFiles(_0x18527b,_0x109ab1);}function a108_0x10d2(_0x1ad41b,_0x3b777b){_0x1ad41b=_0x1ad41b-0x15c;const _0x2eb0bf=a108_0x2eb0();let _0x10d2ef=_0x2eb0bf[_0x1ad41b];return _0x10d2ef;}export function tryNormalizePackageManifest(_0x518a1c){return normalizePackageManifest(_0x518a1c,{'requireOssPath':![]});}export function requirePackageBytes(_0x45e5dc,_0x5784bc){const _0x2fe2c7=a108_0x10d2;if(!_0x5784bc||_0x5784bc['length']===0x0)throw CliErrors[_0x2fe2c7(0x16b)](_0x2fe2c7(0x160)+_0x45e5dc);return _0x5784bc;}export function extractDownloadedPackage(_0x4cd8cd){const _0x46697f=a108_0x10d2,_0x1cb0f2=parseZipPackage(_0x4cd8cd)[_0x46697f(0x170)](_0x108906=>({'path':_0x108906[_0x46697f(0x185)],'bytes':_0x108906['bytes']}));if(!_0x1cb0f2['some'](_0x42fe14=>_0x42fe14[_0x46697f(0x185)]===SKILL_FILE))throw CliErrors[_0x46697f(0x16b)](_0x46697f(0x162)+SKILL_FILE+'.');return normalizeLocalFiles(_0x1cb0f2);}export function localFilesToManifestFiles(_0x2f3302){return normalizeLocalFiles(_0x2f3302)['map'](_0x375a79=>({'path':_0x375a79['path'],'sha256':fileHash(_0x375a79),'size':fileContent(_0x375a79)['length']}));}function normalizePackageManifest(_0x14870e,_0x4fd91e){const _0x4a5075=a108_0x10d2;if(!_0x14870e||typeof _0x14870e!==_0x4a5075(0x181)||Array['isArray'](_0x14870e))return undefined;const _0x208406=_0x14870e,_0x37b214=typeof _0x208406['ossPath']===_0x4a5075(0x171)?_0x208406['ossPath'][_0x4a5075(0x16e)]():undefined;if(_0x4fd91e[_0x4a5075(0x172)]&&!_0x37b214)return undefined;if(!Array[_0x4a5075(0x16a)](_0x208406[_0x4a5075(0x17f)])||_0x208406[_0x4a5075(0x17f)][_0x4a5075(0x16c)]===0x0)return undefined;if(!isSha256Hex(_0x208406[_0x4a5075(0x17a)]))throw CliErrors[_0x4a5075(0x16b)](_0x4a5075(0x169));if(!isSha256Hex(_0x208406[_0x4a5075(0x179)]))throw CliErrors[_0x4a5075(0x16b)](_0x4a5075(0x164));if(!Number[_0x4a5075(0x17e)](_0x208406[_0x4a5075(0x17d)])||_0x208406['zipSize']<0x0)throw CliErrors['validation'](_0x4a5075(0x16d));const _0x4a7b20=normalizeManifestFiles(_0x208406[_0x4a5075(0x17f)]);if(!_0x4a7b20[_0x4a5075(0x163)](_0x28f0c7=>_0x28f0c7[_0x4a5075(0x185)]===SKILL_FILE))throw CliErrors['validation']('Runtime\x20Skill\x20manifest\x20is\x20missing\x20'+SKILL_FILE+'.');const _0x35f67b=fileTreeHash(_0x4a7b20);if(_0x35f67b!==_0x208406[_0x4a5075(0x17a)]['toLowerCase']())throw CliErrors[_0x4a5075(0x16b)]('Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.');return{'schemaVersion':Number[_0x4a5075(0x17e)](_0x208406[_0x4a5075(0x165)])?_0x208406['schemaVersion']:0x2,'ossPath':_0x37b214,'treeSha256':_0x35f67b,'zipSha256':_0x208406[_0x4a5075(0x179)][_0x4a5075(0x176)](),'zipSize':_0x208406[_0x4a5075(0x17d)],'files':_0x4a7b20};}function extractAndVerifyPackage(_0x4d6445,_0x45e5b4){const _0x29f1d=a108_0x10d2,_0xc0ea96=normalizePackageManifest(_0x4d6445,{'requireOssPath':![]});if(!_0xc0ea96)throw CliErrors[_0x29f1d(0x16b)](_0x29f1d(0x178));if(_0x45e5b4[_0x29f1d(0x16c)]!==_0xc0ea96[_0x29f1d(0x17d)])throw CliErrors['validation']('Runtime\x20Skill\x20package\x20size\x20mismatch.');const _0x1818a2=bufferSha256(_0x45e5b4);if(_0x1818a2!==_0xc0ea96[_0x29f1d(0x179)])throw CliErrors[_0x29f1d(0x16b)](_0x29f1d(0x168));return extractAndVerifyPackageFiles(_0xc0ea96,_0x45e5b4);}function extractAndVerifyPackageFiles(_0x5a8907,_0x1ab082){const _0x13a82b=a108_0x10d2,_0x47deb9=parseZipPackage(_0x1ab082);if(_0x47deb9[_0x13a82b(0x16c)]!==_0x5a8907['files']['length'])throw CliErrors['validation']('Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.');const _0x392759=new Map();for(const _0x5b256d of _0x47deb9){if(_0x392759[_0x13a82b(0x173)](_0x5b256d[_0x13a82b(0x185)]))throw CliErrors['validation'](_0x13a82b(0x187)+_0x5b256d[_0x13a82b(0x185)]);_0x392759[_0x13a82b(0x15f)](_0x5b256d[_0x13a82b(0x185)],_0x5b256d);}const _0x3ef802=[];for(const _0x21267b of _0x5a8907[_0x13a82b(0x17f)]){const _0x2e308f=_0x392759['get'](_0x21267b[_0x13a82b(0x185)]);if(!_0x2e308f)throw CliErrors[_0x13a82b(0x16b)]('Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20'+_0x21267b[_0x13a82b(0x185)]);if(_0x2e308f['bytes']['length']!==_0x21267b[_0x13a82b(0x167)])throw CliErrors[_0x13a82b(0x16b)](_0x13a82b(0x177)+_0x21267b['path']);const _0x41d825=bufferSha256(_0x2e308f['bytes']);if(_0x41d825!==_0x21267b[_0x13a82b(0x15c)])throw CliErrors['validation'](_0x13a82b(0x175)+_0x21267b['path']);_0x3ef802['push']({'path':_0x21267b[_0x13a82b(0x185)],'bytes':_0x2e308f['bytes']});}return normalizeLocalFiles(_0x3ef802);}
1
+ (function(_0xa6a429,_0x10692d){const _0x1474e1=a108_0x4532,_0x3e76e8=_0xa6a429();while(!![]){try{const _0x5777ee=-parseInt(_0x1474e1(0x206))/0x1*(parseInt(_0x1474e1(0x1f6))/0x2)+-parseInt(_0x1474e1(0x213))/0x3*(-parseInt(_0x1474e1(0x1ea))/0x4)+parseInt(_0x1474e1(0x1f3))/0x5+-parseInt(_0x1474e1(0x20b))/0x6*(-parseInt(_0x1474e1(0x1e9))/0x7)+parseInt(_0x1474e1(0x1f7))/0x8*(-parseInt(_0x1474e1(0x1f4))/0x9)+-parseInt(_0x1474e1(0x1fd))/0xa+parseInt(_0x1474e1(0x1f1))/0xb*(parseInt(_0x1474e1(0x200))/0xc);if(_0x5777ee===_0x10692d)break;else _0x3e76e8['push'](_0x3e76e8['shift']());}catch(_0x3ff9e0){_0x3e76e8['push'](_0x3e76e8['shift']());}}}(a108_0x3d75,0x3adcd));import{CliErrors}from'../../errors.js';import{SKILL_FILE}from'./constants.js';function a108_0x4532(_0xd9c785,_0x13ba82){_0xd9c785=_0xd9c785-0x1e9;const _0x3d7522=a108_0x3d75();let _0x4532be=_0x3d7522[_0xd9c785];return _0x4532be;}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_0x3d75(){const _0x3b78c9=['Runtime\x20Skill\x20package\x20is\x20missing\x20','14172vhDjkT','files','\x20in\x20Skill\x20file\x20package.','size','push','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','74DkzVSv','get','path','bytes','Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.','24LfdvXO','Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.','zipSize','zipSha256','Runtime\x20Skill\x20package\x20sha256\x20mismatch.','Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20','isSafeInteger','requireOssPath','243jKjgmo','170919zWuxKo','16404HchzlP','Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','validation','Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','length','5137MSiyUO','has','388665VUbNps','9IsVuXo','isArray','9860OWjESC','2561480BcMrAS','map','schemaVersion','some','trim','base64','1330030pHrday','Runtime\x20Skill\x20package\x20size\x20mismatch.'];a108_0x3d75=function(){return _0x3b78c9;};return a108_0x3d75();}export function buildSkillPackage(_0x56699d){const _0xe7b5dd=a108_0x4532,_0x8a232c=normalizeLocalFiles(_0x56699d);if(!_0x8a232c[_0xe7b5dd(0x1fa)](_0x3fd37a=>_0x3fd37a[_0xe7b5dd(0x208)]===SKILL_FILE))throw CliErrors[_0xe7b5dd(0x1ed)]('Missing\x20'+SKILL_FILE+_0xe7b5dd(0x202));const _0xbfe1f=localFilesToManifestFiles(_0x8a232c),_0x182dff=createDeterministicZipPackage(_0x8a232c);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0xbfe1f),'zipSha256':bufferSha256(_0x182dff),'zipSize':_0x182dff[_0xe7b5dd(0x1f0)],'files':_0xbfe1f},'packageBytes':_0x182dff,'packageBase64':_0x182dff['toString'](_0xe7b5dd(0x1fc))};}export function verifyRuntimeSkillPackage(_0x551dff,_0xbbc962){const _0x3c0431=a108_0x4532,_0x44b793=normalizePackageManifest(_0x551dff,{'requireOssPath':![]});if(!_0x44b793)throw CliErrors[_0x3c0431(0x1ed)](_0x3c0431(0x1ec));return extractAndVerifyPackage(_0x44b793,_0xbbc962);}export function verifyRuntimeSkillBundle(_0x43367f,_0x1e640d){const _0x14273d=a108_0x4532,_0x4afbb2=normalizePackageManifest(_0x43367f,{'requireOssPath':![]});if(!_0x4afbb2)throw CliErrors['validation'](_0x14273d(0x1ec));return extractAndVerifyPackageFiles(_0x4afbb2,_0x1e640d);}export function tryNormalizePackageManifest(_0x1943a3){return normalizePackageManifest(_0x1943a3,{'requireOssPath':![]});}export function requirePackageBytes(_0x53e944,_0x55ed76){const _0x718617=a108_0x4532;if(!_0x55ed76||_0x55ed76['length']===0x0)throw CliErrors[_0x718617(0x1ed)](_0x718617(0x1eb)+_0x53e944);return _0x55ed76;}export function extractDownloadedPackage(_0x4c5db2){const _0x56ac51=a108_0x4532,_0x1213eb=parseZipPackage(_0x4c5db2)['map'](_0x54b8df=>({'path':_0x54b8df[_0x56ac51(0x208)],'bytes':_0x54b8df[_0x56ac51(0x209)]}));if(!_0x1213eb[_0x56ac51(0x1fa)](_0x2a156d=>_0x2a156d[_0x56ac51(0x208)]===SKILL_FILE))throw CliErrors[_0x56ac51(0x1ed)](_0x56ac51(0x1ff)+SKILL_FILE+'.');return normalizeLocalFiles(_0x1213eb);}export function localFilesToManifestFiles(_0x3d5424){const _0x546bd2=a108_0x4532;return normalizeLocalFiles(_0x3d5424)[_0x546bd2(0x1f8)](_0x14194c=>({'path':_0x14194c[_0x546bd2(0x208)],'sha256':fileHash(_0x14194c),'size':fileContent(_0x14194c)[_0x546bd2(0x1f0)]}));}function normalizePackageManifest(_0x2c6dc8,_0x1e9823){const _0x323ceb=a108_0x4532;if(!_0x2c6dc8||typeof _0x2c6dc8!=='object'||Array[_0x323ceb(0x1f5)](_0x2c6dc8))return undefined;const _0x40ba53=_0x2c6dc8,_0x49d4e5=typeof _0x40ba53['ossPath']==='string'?_0x40ba53['ossPath'][_0x323ceb(0x1fb)]():undefined;if(_0x1e9823[_0x323ceb(0x212)]&&!_0x49d4e5)return undefined;if(!Array[_0x323ceb(0x1f5)](_0x40ba53[_0x323ceb(0x201)])||_0x40ba53[_0x323ceb(0x201)]['length']===0x0)return undefined;if(!isSha256Hex(_0x40ba53['treeSha256']))throw CliErrors['validation'](_0x323ceb(0x20c));if(!isSha256Hex(_0x40ba53['zipSha256']))throw CliErrors[_0x323ceb(0x1ed)](_0x323ceb(0x1ef));if(!Number[_0x323ceb(0x211)](_0x40ba53[_0x323ceb(0x20d)])||_0x40ba53['zipSize']<0x0)throw CliErrors[_0x323ceb(0x1ed)](_0x323ceb(0x205));const _0xd34102=normalizeManifestFiles(_0x40ba53[_0x323ceb(0x201)]);if(!_0xd34102['some'](_0x34c7ec=>_0x34c7ec[_0x323ceb(0x208)]===SKILL_FILE))throw CliErrors['validation']('Runtime\x20Skill\x20manifest\x20is\x20missing\x20'+SKILL_FILE+'.');const _0x46f756=fileTreeHash(_0xd34102);if(_0x46f756!==_0x40ba53['treeSha256']['toLowerCase']())throw CliErrors[_0x323ceb(0x1ed)](_0x323ceb(0x1ee));return{'schemaVersion':Number['isSafeInteger'](_0x40ba53['schemaVersion'])?_0x40ba53[_0x323ceb(0x1f9)]:0x2,'ossPath':_0x49d4e5,'treeSha256':_0x46f756,'zipSha256':_0x40ba53[_0x323ceb(0x20e)]['toLowerCase'](),'zipSize':_0x40ba53[_0x323ceb(0x20d)],'files':_0xd34102};}function extractAndVerifyPackage(_0x3283ec,_0x398f46){const _0x26d2e4=a108_0x4532,_0x5a0249=normalizePackageManifest(_0x3283ec,{'requireOssPath':![]});if(!_0x5a0249)throw CliErrors[_0x26d2e4(0x1ed)](_0x26d2e4(0x1ec));if(_0x398f46[_0x26d2e4(0x1f0)]!==_0x5a0249[_0x26d2e4(0x20d)])throw CliErrors[_0x26d2e4(0x1ed)](_0x26d2e4(0x1fe));const _0x3c639a=bufferSha256(_0x398f46);if(_0x3c639a!==_0x5a0249['zipSha256'])throw CliErrors[_0x26d2e4(0x1ed)](_0x26d2e4(0x20f));return extractAndVerifyPackageFiles(_0x5a0249,_0x398f46);}function extractAndVerifyPackageFiles(_0x238a74,_0x3e2e87){const _0x3fea62=a108_0x4532,_0x1560ae=parseZipPackage(_0x3e2e87);if(_0x1560ae['length']!==_0x238a74[_0x3fea62(0x201)][_0x3fea62(0x1f0)])throw CliErrors[_0x3fea62(0x1ed)](_0x3fea62(0x20a));const _0x5cb483=new Map();for(const _0x4452f8 of _0x1560ae){if(_0x5cb483[_0x3fea62(0x1f2)](_0x4452f8[_0x3fea62(0x208)]))throw CliErrors[_0x3fea62(0x1ed)]('Duplicate\x20Skill\x20package\x20entry:\x20'+_0x4452f8[_0x3fea62(0x208)]);_0x5cb483['set'](_0x4452f8[_0x3fea62(0x208)],_0x4452f8);}const _0x1fbd18=[];for(const _0x2a5fd2 of _0x238a74[_0x3fea62(0x201)]){const _0x598cfa=_0x5cb483[_0x3fea62(0x207)](_0x2a5fd2['path']);if(!_0x598cfa)throw CliErrors[_0x3fea62(0x1ed)]('Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20'+_0x2a5fd2[_0x3fea62(0x208)]);if(_0x598cfa['bytes']['length']!==_0x2a5fd2[_0x3fea62(0x203)])throw CliErrors[_0x3fea62(0x1ed)]('Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20'+_0x2a5fd2[_0x3fea62(0x208)]);const _0x4498e4=bufferSha256(_0x598cfa[_0x3fea62(0x209)]);if(_0x4498e4!==_0x2a5fd2['sha256'])throw CliErrors[_0x3fea62(0x1ed)](_0x3fea62(0x210)+_0x2a5fd2[_0x3fea62(0x208)]);_0x1fbd18[_0x3fea62(0x204)]({'path':_0x2a5fd2['path'],'bytes':_0x598cfa[_0x3fea62(0x209)]});}return normalizeLocalFiles(_0x1fbd18);}
@@ -1 +1 @@
1
- function a109_0x4a8e(_0x4b4cc3,_0x5d4377){_0x4b4cc3=_0x4b4cc3-0x1a3;var _0x35e11a=a109_0x35e1();var _0x4a8eba=_0x35e11a[_0x4b4cc3];return _0x4a8eba;}function a109_0x35e1(){var _0x2cf736=['772023OuecBh','41874DsDYfi','4vPbkaF','594yjOIYB','45432NDEjjE','1016yukmSB','10704870pdXeco','884610OFvSRw','4147550BJKeky','2191986NDuVmZ'];a109_0x35e1=function(){return _0x2cf736;};return a109_0x35e1();}(function(_0x3380ca,_0x177955){var _0x5291ae=a109_0x4a8e,_0x243879=_0x3380ca();while(!![]){try{var _0x75bc08=-parseInt(_0x5291ae(0x1a4))/0x1+-parseInt(_0x5291ae(0x1ab))/0x2+parseInt(_0x5291ae(0x1a3))/0x3*(parseInt(_0x5291ae(0x1a6))/0x4)+parseInt(_0x5291ae(0x1ac))/0x5+parseInt(_0x5291ae(0x1a7))/0x6*(parseInt(_0x5291ae(0x1a5))/0x7)+-parseInt(_0x5291ae(0x1a9))/0x8*(-parseInt(_0x5291ae(0x1a8))/0x9)+-parseInt(_0x5291ae(0x1aa))/0xa;if(_0x75bc08===_0x177955)break;else _0x243879['push'](_0x243879['shift']());}catch(_0x5689b6){_0x243879['push'](_0x243879['shift']());}}}(a109_0x35e1,0x7c2ff));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}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
+ (function(_0x4f301a,_0x1cbe5c){var _0x5da5bb=a109_0x7c91,_0x2b9bbd=_0x4f301a();while(!![]){try{var _0x272205=parseInt(_0x5da5bb(0xb2))/0x1+parseInt(_0x5da5bb(0xaa))/0x2*(parseInt(_0x5da5bb(0xb0))/0x3)+-parseInt(_0x5da5bb(0xac))/0x4*(parseInt(_0x5da5bb(0xad))/0x5)+-parseInt(_0x5da5bb(0xab))/0x6*(parseInt(_0x5da5bb(0xa7))/0x7)+-parseInt(_0x5da5bb(0xa9))/0x8+-parseInt(_0x5da5bb(0xae))/0x9*(parseInt(_0x5da5bb(0xb1))/0xa)+parseInt(_0x5da5bb(0xa8))/0xb*(parseInt(_0x5da5bb(0xaf))/0xc);if(_0x272205===_0x1cbe5c)break;else _0x2b9bbd['push'](_0x2b9bbd['shift']());}catch(_0xf7ebca){_0x2b9bbd['push'](_0x2b9bbd['shift']());}}}(a109_0x2691,0xbd55e));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';function a109_0x7c91(_0x544d9c,_0x2d19e5){_0x544d9c=_0x544d9c-0xa7;var _0x269179=a109_0x2691();var _0x7c91a4=_0x269179[_0x544d9c];return _0x7c91a4;}export{readMetadataIfPresent}from'./runtime-skill-sync/metadata.js';export{getRuntimeSkillCacheRoot,getRuntimeSkillDir,resolveSkillSyncPaths,runtimeAgentSkillRoots}from'./runtime-skill-sync/paths.js';function a109_0x2691(){var _0x5c2a43=['9010312NHutvy','10wTZaDC','6HqzddA','8132Dparyp','3765uoCghv','9ikNLcs','273624JzwLMr','379275HqBWvw','11575250cpIOZk','321780WUOnPB','8224622UMMtEs','2321RFaodI'];a109_0x2691=function(){return _0x5c2a43;};return a109_0x2691();}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(_0xfbea80,_0x3dbfc8){const _0x3d313e=a110_0x1670,_0x4ce21d=_0xfbea80();while(!![]){try{const _0x1fabe4=-parseInt(_0x3d313e(0x8e))/0x1*(parseInt(_0x3d313e(0x96))/0x2)+-parseInt(_0x3d313e(0x94))/0x3*(-parseInt(_0x3d313e(0x95))/0x4)+parseInt(_0x3d313e(0x92))/0x5+parseInt(_0x3d313e(0x93))/0x6+-parseInt(_0x3d313e(0x8f))/0x7*(parseInt(_0x3d313e(0x90))/0x8)+-parseInt(_0x3d313e(0x91))/0x9*(-parseInt(_0x3d313e(0x8c))/0xa)+-parseInt(_0x3d313e(0x8d))/0xb;if(_0x1fabe4===_0x3dbfc8)break;else _0x4ce21d['push'](_0x4ce21d['shift']());}catch(_0x412762){_0x4ce21d['push'](_0x4ce21d['shift']());}}}(a110_0x2f2f,0x7356c));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});function a110_0x1670(_0x56bfd3,_0x323d89){_0x56bfd3=_0x56bfd3-0x8c;const _0x2f2f42=a110_0x2f2f();let _0x167050=_0x2f2f42[_0x56bfd3];return _0x167050;}function a110_0x2f2f(){const _0x10a08d=['12001nXEJFb','27041cKffEe','304qjkSXG','27wQcWOs','1389850hSdfJv','4491426WtBMFZ','33tiewYl','208748CweUPZ','38ahsxLe','2583550CFAKEX','16812642WgpPBr'];a110_0x2f2f=function(){return _0x10a08d;};return a110_0x2f2f();}
1
+ (function(_0x4ba075,_0x14ff44){const _0x5875ce=a110_0x3ae2,_0x270760=_0x4ba075();while(!![]){try{const _0x48b09f=-parseInt(_0x5875ce(0x11f))/0x1*(-parseInt(_0x5875ce(0x120))/0x2)+parseInt(_0x5875ce(0x122))/0x3*(parseInt(_0x5875ce(0x11b))/0x4)+parseInt(_0x5875ce(0x11c))/0x5+parseInt(_0x5875ce(0x11a))/0x6*(-parseInt(_0x5875ce(0x123))/0x7)+-parseInt(_0x5875ce(0x124))/0x8+parseInt(_0x5875ce(0x119))/0x9*(parseInt(_0x5875ce(0x11d))/0xa)+parseInt(_0x5875ce(0x121))/0xb*(-parseInt(_0x5875ce(0x11e))/0xc);if(_0x48b09f===_0x14ff44)break;else _0x270760['push'](_0x270760['shift']());}catch(_0x571188){_0x270760['push'](_0x270760['shift']());}}}(a110_0x28f7,0xdb5c5));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a110_0x28f7(){const _0x45ff49=['84469JkidTj','3837736SZgbBk','9oXAJtT','12oHOEOp','1113716zuydVk','359570YUDvSZ','9863310BLxmLX','36GZnlrZ','2833bCDPET','70lCQLdm','122749gRuqla','3hHDlgY'];a110_0x28f7=function(){return _0x45ff49;};return a110_0x28f7();}function a110_0x3ae2(_0x303b07,_0x5b0898){_0x303b07=_0x303b07-0x119;const _0x28f746=a110_0x28f7();let _0x3ae24c=_0x28f746[_0x303b07];return _0x3ae24c;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- const a111_0x159dbe=a111_0x1ddb;(function(_0x3a66e7,_0x107a75){const _0x57d723=a111_0x1ddb,_0x24ff23=_0x3a66e7();while(!![]){try{const _0x5b3b61=-parseInt(_0x57d723(0x139))/0x1+parseInt(_0x57d723(0x145))/0x2*(parseInt(_0x57d723(0x15e))/0x3)+-parseInt(_0x57d723(0x13d))/0x4+-parseInt(_0x57d723(0x13c))/0x5*(parseInt(_0x57d723(0x155))/0x6)+parseInt(_0x57d723(0x163))/0x7+-parseInt(_0x57d723(0x138))/0x8*(parseInt(_0x57d723(0x151))/0x9)+parseInt(_0x57d723(0x13e))/0xa;if(_0x5b3b61===_0x107a75)break;else _0x24ff23['push'](_0x24ff23['shift']());}catch(_0x14b15f){_0x24ff23['push'](_0x24ff23['shift']());}}}(a111_0x5538,0xbdaa1));import a111_0x241900 from'winston';import a111_0x550f93 from'node:fs';import a111_0x3eed8a from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a111_0x159dbe(0x14f)];[a111_0x159dbe(0x150)]='';[a111_0x159dbe(0x14e)]='';constructor(){}['setRawCommand'](_0x5b072c){const _0xdee408=a111_0x159dbe;this[_0xdee408(0x14e)]=_0x5b072c;}['setLogPath'](_0x40cd1a){const _0x214300=a111_0x159dbe;this['logFilePath']=a111_0x3eed8a[_0x214300(0x153)](_0x40cd1a,PRODUCT_CONFIG[_0x214300(0x161)]),this[_0x214300(0x14f)]&&this[_0x214300(0x14f)]['clear'](),this['initWinstonLogger']();}['initWinstonLogger'](){const _0x5553b6=a111_0x159dbe,_0x350c42=a111_0x3eed8a['dirname'](this['logFilePath']);!a111_0x550f93['existsSync'](_0x350c42)&&a111_0x550f93[_0x5553b6(0x149)](_0x350c42,{'recursive':!![]});const _0x11c136=a111_0x241900[_0x5553b6(0x166)]['combine'](a111_0x241900[_0x5553b6(0x166)][_0x5553b6(0x13f)](),a111_0x241900[_0x5553b6(0x166)][_0x5553b6(0x165)]({'stack':!![]}),a111_0x241900[_0x5553b6(0x166)]['printf'](_0x4c8f05=>{const _0x27bad8=_0x5553b6,_0x520ee5={'timestamp':_0x4c8f05[_0x27bad8(0x13f)]||new Date()['toISOString'](),'level':_0x4c8f05[_0x27bad8(0x147)]||'info','command':_0x4c8f05[_0x27bad8(0x167)]||_0x27bad8(0x14a),'rawCommand':_0x4c8f05[_0x27bad8(0x160)]||this[_0x27bad8(0x14e)]||undefined,'message':_0x4c8f05[_0x27bad8(0x152)]||'','duration':_0x4c8f05[_0x27bad8(0x13b)]||undefined,'details':_0x4c8f05[_0x27bad8(0x141)]||undefined};return JSON[_0x27bad8(0x157)](_0x520ee5);}));this[_0x5553b6(0x14f)]=a111_0x241900[_0x5553b6(0x158)]({'level':'info','format':_0x11c136,'transports':[new a111_0x241900[(_0x5553b6(0x154))]['File']({'filename':this[_0x5553b6(0x150)],'level':_0x5553b6(0x142)})],'silent':![]}),a111_0x241900['addColors']({'success':_0x5553b6(0x148),'error':'red','warn':_0x5553b6(0x159),'info':_0x5553b6(0x143)});}['info'](_0x4b5d1e,_0x33e2b7,_0x48f643){const _0x838db9=a111_0x159dbe;if(!this[_0x838db9(0x150)]||!this[_0x838db9(0x14f)])return;this[_0x838db9(0x14f)][_0x838db9(0x142)](_0x33e2b7,{'command':_0x4b5d1e,'details':_0x48f643});}[a111_0x159dbe(0x168)](_0x52c9e6,_0x265c34,_0x3d7343,_0x1f9dd7){const _0x5e9e08=a111_0x159dbe;if(!this[_0x5e9e08(0x150)]||!this['winstonLogger'])return;this[_0x5e9e08(0x14f)][_0x5e9e08(0x13a)]('info',_0x265c34,{'level':_0x5e9e08(0x168),'command':_0x52c9e6,'duration':_0x3d7343,'details':_0x1f9dd7});}[a111_0x159dbe(0x144)](_0x402b51,_0x42f133,_0x1f391f){const _0x31e7ec=a111_0x159dbe;if(!this[_0x31e7ec(0x150)]||!this[_0x31e7ec(0x14f)])return;this['winstonLogger']['error'](_0x42f133,{'command':_0x402b51,'details':_0x1f391f});}[a111_0x159dbe(0x146)](_0x1c7064,_0x3876e6,_0x2f2521){const _0x371178=a111_0x159dbe;if(!this[_0x371178(0x150)]||!this[_0x371178(0x14f)])return;this[_0x371178(0x14f)][_0x371178(0x146)](_0x3876e6,{'command':_0x1c7064,'details':_0x2f2521});}async['logTask'](_0x1f9893,_0x335f47,_0x552234){const _0x4a4c52=a111_0x159dbe,_0x56618f=Date[_0x4a4c52(0x164)]();this['info'](_0x1f9893,_0x4a4c52(0x14d)+_0x335f47);try{const _0x399ab5=await _0x552234(),_0x26dad7=Date['now']()-_0x56618f;return this['success'](_0x1f9893,_0x4a4c52(0x15d)+_0x335f47,_0x26dad7),_0x399ab5;}catch(_0x515049){const _0x342265=Date[_0x4a4c52(0x164)]()-_0x56618f;this[_0x4a4c52(0x144)](_0x1f9893,'Failed:\x20'+_0x335f47,{'error':_0x515049 instanceof Error?_0x515049['message']:String(_0x515049),'duration':_0x342265});throw _0x515049;}}['readLogs'](){const _0x171397=a111_0x159dbe;try{if(!a111_0x550f93[_0x171397(0x14b)](this['logFilePath']))return[];const _0x5d9083=a111_0x550f93[_0x171397(0x15b)](this[_0x171397(0x150)],_0x171397(0x15a));return _0x5d9083[_0x171397(0x15f)](/\r?\n/)[_0x171397(0x162)](_0x47357a=>_0x47357a[_0x171397(0x156)]())['map'](_0x562987=>JSON[_0x171397(0x14c)](_0x562987));}catch(_0x534dae){return console[_0x171397(0x146)]('Failed\x20to\x20read\x20logs:',_0x534dae),[];}}['clearLogs'](){const _0x5ad96b=a111_0x159dbe;try{a111_0x550f93['existsSync'](this['logFilePath'])&&a111_0x550f93['writeFileSync'](this['logFilePath'],'','utf8');}catch(_0x4885f5){console[_0x5ad96b(0x146)](_0x5ad96b(0x15c),_0x4885f5);}}[a111_0x159dbe(0x140)](){const _0x52ca3f=a111_0x159dbe;return this[_0x52ca3f(0x14f)];}}function a111_0x5538(){const _0xbc499a=['currentRawCommand','winstonLogger','logFilePath','48501iJsldT','message','join','transports','1344342mhTSed','trim','stringify','createLogger','yellow','utf8','readFileSync','Failed\x20to\x20clear\x20logs:','Completed:\x20','21891VYJxUN','split','rawCommand','logFileName','filter','4318391KiWXYD','now','errors','format','command','success','2000HZTzbZ','1366814QUYLud','log','duration','25ZlrAMD','3102192dkPZvi','34053100HWBOto','timestamp','getWinstonInstance','details','info','blue','error','374BADsyt','warn','level','green','mkdirSync','unknown','existsSync','parse','Starting:\x20'];a111_0x5538=function(){return _0xbc499a;};return a111_0x5538();}function a111_0x1ddb(_0x286e54,_0x13c6a3){_0x286e54=_0x286e54-0x138;const _0x5538e6=a111_0x5538();let _0x1ddb3e=_0x5538e6[_0x286e54];return _0x1ddb3e;}export const logger=new Logger();
1
+ const a111_0x3a70ee=a111_0x2e4e;(function(_0x57ad3d,_0x17a210){const _0x1725b6=a111_0x2e4e,_0x1ad3f8=_0x57ad3d();while(!![]){try{const _0x543f7f=parseInt(_0x1725b6(0x9b))/0x1+parseInt(_0x1725b6(0x97))/0x2+parseInt(_0x1725b6(0x8c))/0x3*(-parseInt(_0x1725b6(0x7f))/0x4)+parseInt(_0x1725b6(0xa8))/0x5*(-parseInt(_0x1725b6(0x7a))/0x6)+parseInt(_0x1725b6(0x99))/0x7+-parseInt(_0x1725b6(0xa0))/0x8+parseInt(_0x1725b6(0x88))/0x9;if(_0x543f7f===_0x17a210)break;else _0x1ad3f8['push'](_0x1ad3f8['shift']());}catch(_0x778098){_0x1ad3f8['push'](_0x1ad3f8['shift']());}}}(a111_0x14da,0xdd54e));import a111_0x41e5db from'winston';function a111_0x2e4e(_0x3acccc,_0x2108eb){_0x3acccc=_0x3acccc-0x78;const _0x14da54=a111_0x14da();let _0x2e4e69=_0x14da54[_0x3acccc];return _0x2e4e69;}import a111_0x4bffdf from'node:fs';function a111_0x14da(){const _0x438a9e=['red','format','error','utf8','winstonLogger','Completed:\x20','Failed\x20to\x20read\x20logs:','map','24162jlGMWz','split','8686776ZEbJxN','toISOString','1042341OWIKQc','setRawCommand','logFilePath','createLogger','rawCommand','6607656DnkAKe','trim','logTask','info','green','Starting:\x20','details','clearLogs','2593035fdPLlS','command','timestamp','success','12ddbTHZ','printf','File','dirname','now','292UjyNxc','getWinstonInstance','warn','readLogs','stringify','currentRawCommand','logFileName','message','initWinstonLogger','15419142DtzZhV','clear','errors','existsSync','50913uUwfnv','mkdirSync','log'];a111_0x14da=function(){return _0x438a9e;};return a111_0x14da();}import a111_0xe4d246 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a111_0x3a70ee(0x93)];[a111_0x3a70ee(0x9d)]='';[a111_0x3a70ee(0x84)]='';constructor(){}[a111_0x3a70ee(0x9c)](_0x5db1f6){const _0x4e9b63=a111_0x3a70ee;this[_0x4e9b63(0x84)]=_0x5db1f6;}['setLogPath'](_0x375089){const _0x57e1f5=a111_0x3a70ee;this[_0x57e1f5(0x9d)]=a111_0xe4d246['join'](_0x375089,PRODUCT_CONFIG[_0x57e1f5(0x85)]),this[_0x57e1f5(0x93)]&&this['winstonLogger'][_0x57e1f5(0x89)](),this[_0x57e1f5(0x87)]();}[a111_0x3a70ee(0x87)](){const _0x54dc5f=a111_0x3a70ee,_0x3e108c=a111_0xe4d246[_0x54dc5f(0x7d)](this[_0x54dc5f(0x9d)]);!a111_0x4bffdf[_0x54dc5f(0x8b)](_0x3e108c)&&a111_0x4bffdf[_0x54dc5f(0x8d)](_0x3e108c,{'recursive':!![]});const _0x33827f=a111_0x41e5db[_0x54dc5f(0x90)]['combine'](a111_0x41e5db['format']['timestamp'](),a111_0x41e5db['format'][_0x54dc5f(0x8a)]({'stack':!![]}),a111_0x41e5db['format'][_0x54dc5f(0x7b)](_0x5e1821=>{const _0x9c227=_0x54dc5f,_0x230262={'timestamp':_0x5e1821[_0x9c227(0x78)]||new Date()[_0x9c227(0x9a)](),'level':_0x5e1821['level']||_0x9c227(0xa3),'command':_0x5e1821[_0x9c227(0xa9)]||'unknown','rawCommand':_0x5e1821[_0x9c227(0x9f)]||this[_0x9c227(0x84)]||undefined,'message':_0x5e1821[_0x9c227(0x86)]||'','duration':_0x5e1821['duration']||undefined,'details':_0x5e1821[_0x9c227(0xa6)]||undefined};return JSON[_0x9c227(0x83)](_0x230262);}));this[_0x54dc5f(0x93)]=a111_0x41e5db[_0x54dc5f(0x9e)]({'level':'info','format':_0x33827f,'transports':[new a111_0x41e5db['transports'][(_0x54dc5f(0x7c))]({'filename':this[_0x54dc5f(0x9d)],'level':'info'})],'silent':![]}),a111_0x41e5db['addColors']({'success':_0x54dc5f(0xa4),'error':_0x54dc5f(0x8f),'warn':'yellow','info':'blue'});}[a111_0x3a70ee(0xa3)](_0xf06a48,_0x3a5a80,_0x1490d0){const _0x2ee13c=a111_0x3a70ee;if(!this[_0x2ee13c(0x9d)]||!this[_0x2ee13c(0x93)])return;this[_0x2ee13c(0x93)][_0x2ee13c(0xa3)](_0x3a5a80,{'command':_0xf06a48,'details':_0x1490d0});}[a111_0x3a70ee(0x79)](_0xeb5969,_0x49d92d,_0x4f0ab7,_0x387088){const _0xf09aae=a111_0x3a70ee;if(!this['logFilePath']||!this[_0xf09aae(0x93)])return;this[_0xf09aae(0x93)][_0xf09aae(0x8e)](_0xf09aae(0xa3),_0x49d92d,{'level':'success','command':_0xeb5969,'duration':_0x4f0ab7,'details':_0x387088});}['error'](_0x55a6cc,_0x4d228d,_0x196ea9){const _0x41c379=a111_0x3a70ee;if(!this[_0x41c379(0x9d)]||!this[_0x41c379(0x93)])return;this['winstonLogger'][_0x41c379(0x91)](_0x4d228d,{'command':_0x55a6cc,'details':_0x196ea9});}[a111_0x3a70ee(0x81)](_0x1f4510,_0x7f0a3b,_0x250cdc){const _0x367400=a111_0x3a70ee;if(!this[_0x367400(0x9d)]||!this['winstonLogger'])return;this['winstonLogger'][_0x367400(0x81)](_0x7f0a3b,{'command':_0x1f4510,'details':_0x250cdc});}async[a111_0x3a70ee(0xa2)](_0x2747dc,_0x44e665,_0x25183f){const _0x226070=a111_0x3a70ee,_0x5b86ea=Date[_0x226070(0x7e)]();this['info'](_0x2747dc,_0x226070(0xa5)+_0x44e665);try{const _0x40a157=await _0x25183f(),_0x202c95=Date[_0x226070(0x7e)]()-_0x5b86ea;return this[_0x226070(0x79)](_0x2747dc,_0x226070(0x94)+_0x44e665,_0x202c95),_0x40a157;}catch(_0x501eeb){const _0x45fc85=Date[_0x226070(0x7e)]()-_0x5b86ea;this[_0x226070(0x91)](_0x2747dc,'Failed:\x20'+_0x44e665,{'error':_0x501eeb instanceof Error?_0x501eeb['message']:String(_0x501eeb),'duration':_0x45fc85});throw _0x501eeb;}}[a111_0x3a70ee(0x82)](){const _0x27be7b=a111_0x3a70ee;try{if(!a111_0x4bffdf[_0x27be7b(0x8b)](this[_0x27be7b(0x9d)]))return[];const _0xc315b0=a111_0x4bffdf['readFileSync'](this['logFilePath'],_0x27be7b(0x92));return _0xc315b0[_0x27be7b(0x98)](/\r?\n/)['filter'](_0x2071b0=>_0x2071b0[_0x27be7b(0xa1)]())[_0x27be7b(0x96)](_0x5473ea=>JSON['parse'](_0x5473ea));}catch(_0x2d7685){return console[_0x27be7b(0x81)](_0x27be7b(0x95),_0x2d7685),[];}}[a111_0x3a70ee(0xa7)](){const _0x58eacc=a111_0x3a70ee;try{a111_0x4bffdf[_0x58eacc(0x8b)](this[_0x58eacc(0x9d)])&&a111_0x4bffdf['writeFileSync'](this[_0x58eacc(0x9d)],'','utf8');}catch(_0x75f52){console[_0x58eacc(0x81)]('Failed\x20to\x20clear\x20logs:',_0x75f52);}}[a111_0x3a70ee(0x80)](){const _0x4ea564=a111_0x3a70ee;return this[_0x4ea564(0x93)];}}export const logger=new Logger();
@@ -1 +1 @@
1
- function a112_0x28a6(_0x54c14c,_0x2d1bce){_0x54c14c=_0x54c14c-0x9a;const _0x4de4f4=a112_0x4de4();let _0x28a626=_0x4de4f4[_0x54c14c];return _0x28a626;}(function(_0x45fe91,_0x2b9156){const _0x4130e3=a112_0x28a6,_0x1f1487=_0x45fe91();while(!![]){try{const _0xf5650b=-parseInt(_0x4130e3(0xae))/0x1+parseInt(_0x4130e3(0xa8))/0x2*(parseInt(_0x4130e3(0x9b))/0x3)+parseInt(_0x4130e3(0x9c))/0x4*(parseInt(_0x4130e3(0x9a))/0x5)+parseInt(_0x4130e3(0xb1))/0x6+parseInt(_0x4130e3(0x9e))/0x7+parseInt(_0x4130e3(0xad))/0x8+-parseInt(_0x4130e3(0xb2))/0x9;if(_0xf5650b===_0x2b9156)break;else _0x1f1487['push'](_0x1f1487['shift']());}catch(_0x5be7da){_0x1f1487['push'](_0x1f1487['shift']());}}}(a112_0x4de4,0x80038));function a112_0x4de4(){const _0xfe39e6=['items','object','\x20records\x20per\x20call;\x20received\x20','8002408jjMaTc','975107QkCFsm','number','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','759288RAgUZq','8358813DZVgDs','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','parse','string','test','142700eWghDG','9426HhZkUO','72MVJAhY','data\x20update\x20--params.','4083863WBFPXD','length','validation','Invalid\x20JSON\x20for\x20--params:\x20','isSafeInteger','data\x20update\x20can\x20update\x20at\x20most\x20','isArray','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','map','130TYIWCw','id['];a112_0x4de4=function(){return _0xfe39e6;};return a112_0x4de4();}import{CliErrors}from'../errors.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x245ecb){const _0x3ffaf0=a112_0x28a6;if(!_0x245ecb)return undefined;try{return JSON[_0x3ffaf0(0xb5)](_0x245ecb);}catch{throw CliErrors[_0x3ffaf0(0xa0)](_0x3ffaf0(0xa1)+_0x245ecb);}}export function parseJsonParamsValue(_0x392eac){const _0x2f5843=a112_0x28a6;if(!_0x392eac)return undefined;try{return JSON[_0x2f5843(0xb5)](_0x392eac);}catch{throw CliErrors[_0x2f5843(0xa0)](_0x2f5843(0xa1)+_0x392eac);}}export function parseBatchCreateItemsFromParams(_0x4cbc03){const _0x57d132=a112_0x28a6;if(Array[_0x57d132(0xa4)](_0x4cbc03))return _0x4cbc03;if(_0x4cbc03!==null&&_0x4cbc03!==undefined&&typeof _0x4cbc03===_0x57d132(0xab)&&Array['isArray'](_0x4cbc03[_0x57d132(0xaa)]))return _0x4cbc03[_0x57d132(0xaa)];throw CliErrors[_0x57d132(0xa0)](_0x57d132(0xb4),_0x57d132(0xa5));}function parseDataUpdateId(_0x4dbfc4,_0x1989d6){const _0x2c5f62=a112_0x28a6;if(typeof _0x4dbfc4===_0x2c5f62(0xaf)&&Number[_0x2c5f62(0xa2)](_0x4dbfc4)&&_0x4dbfc4>0x0)return _0x4dbfc4;if(typeof _0x4dbfc4===_0x2c5f62(0xb6)){if(/^[1-9]\d*$/[_0x2c5f62(0xb7)](_0x4dbfc4))return _0x4dbfc4;}throw CliErrors[_0x2c5f62(0xa0)](_0x2c5f62(0x9d)+_0x1989d6+_0x2c5f62(0xa6));}export function parseUpdateIdsFromParams(_0x129ce8){const _0x1f1322=a112_0x28a6;if(_0x129ce8===null||_0x129ce8===undefined||typeof _0x129ce8!==_0x1f1322(0xab)||Array[_0x1f1322(0xa4)](_0x129ce8))throw CliErrors[_0x1f1322(0xa0)](_0x1f1322(0xb0),_0x1f1322(0xb3));const _0x4dc7a8=_0x129ce8['id'];if(_0x4dc7a8===undefined||_0x4dc7a8===null)throw CliErrors[_0x1f1322(0xa0)]('data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27');const _0x1bf2ea=Array[_0x1f1322(0xa4)](_0x4dc7a8)?_0x4dc7a8:[_0x4dc7a8];if(_0x1bf2ea[_0x1f1322(0x9f)]===0x0)throw CliErrors[_0x1f1322(0xa0)]('data\x20update\x20id\x20array\x20cannot\x20be\x20empty.');if(_0x1bf2ea[_0x1f1322(0x9f)]>MAX_DATA_UPDATE_IDS)throw CliErrors['validation'](_0x1f1322(0xa3)+MAX_DATA_UPDATE_IDS+_0x1f1322(0xac)+_0x1bf2ea[_0x1f1322(0x9f)]+'.');return _0x1bf2ea[_0x1f1322(0xa7)]((_0x38a45c,_0x35f3f4)=>parseDataUpdateId(_0x38a45c,Array['isArray'](_0x4dc7a8)?_0x1f1322(0xa9)+_0x35f3f4+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x37f695,_0x1ac99d){const _0x4b0ca7=a112_0x28a6;if(Array[_0x4b0ca7(0xa4)](_0x37f695['id'])&&_0x1ac99d['length']>0x1)return{..._0x37f695,'id':_0x1ac99d['join'](',')};return _0x37f695;}
1
+ (function(_0x12b1e9,_0xd8aeab){const _0x30634b=a112_0x1e60,_0x402b25=_0x12b1e9();while(!![]){try{const _0x16678e=parseInt(_0x30634b(0x160))/0x1+-parseInt(_0x30634b(0x155))/0x2*(-parseInt(_0x30634b(0x15c))/0x3)+parseInt(_0x30634b(0x166))/0x4*(parseInt(_0x30634b(0x14c))/0x5)+parseInt(_0x30634b(0x157))/0x6+-parseInt(_0x30634b(0x156))/0x7*(parseInt(_0x30634b(0x150))/0x8)+-parseInt(_0x30634b(0x14e))/0x9+-parseInt(_0x30634b(0x151))/0xa;if(_0x16678e===_0xd8aeab)break;else _0x402b25['push'](_0x402b25['shift']());}catch(_0x47918c){_0x402b25['push'](_0x402b25['shift']());}}}(a112_0x3f0e,0x61fba));import{CliErrors}from'../errors.js';function a112_0x3f0e(){const _0x552854=['1880850UqOcNP','Invalid\x20JSON\x20for\x20--params:\x20','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','isArray','7746YxnGbd','validation','test','id[','66391OIEQBv','isSafeInteger','number','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','data\x20update\x20--params.','parse','26900WgYagG','length','585SmmSyX','data\x20update\x20can\x20update\x20at\x20most\x20','2066148nstAAH','object','8wiyXkG','5090540KbbFvZ','items','map','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','122DWTTvt','1289603soQqlK'];a112_0x3f0e=function(){return _0x552854;};return a112_0x3f0e();}export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x1e634a){const _0x3cefa5=a112_0x1e60;if(!_0x1e634a)return undefined;try{return JSON[_0x3cefa5(0x165)](_0x1e634a);}catch{throw CliErrors['validation'](_0x3cefa5(0x158)+_0x1e634a);}}export function parseJsonParamsValue(_0x40dbd8){const _0x5b7b16=a112_0x1e60;if(!_0x40dbd8)return undefined;try{return JSON['parse'](_0x40dbd8);}catch{throw CliErrors[_0x5b7b16(0x15d)](_0x5b7b16(0x158)+_0x40dbd8);}}function a112_0x1e60(_0x2ff22a,_0x3bf307){_0x2ff22a=_0x2ff22a-0x14c;const _0x3f0e1a=a112_0x3f0e();let _0x1e6019=_0x3f0e1a[_0x2ff22a];return _0x1e6019;}export function parseBatchCreateItemsFromParams(_0x4637d3){const _0x5377ef=a112_0x1e60;if(Array[_0x5377ef(0x15b)](_0x4637d3))return _0x4637d3;if(_0x4637d3!==null&&_0x4637d3!==undefined&&typeof _0x4637d3===_0x5377ef(0x14f)&&Array[_0x5377ef(0x15b)](_0x4637d3[_0x5377ef(0x152)]))return _0x4637d3['items'];throw CliErrors[_0x5377ef(0x15d)](_0x5377ef(0x154),'Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27');}function parseDataUpdateId(_0x1c7082,_0x43420d){const _0x2f193d=a112_0x1e60;if(typeof _0x1c7082===_0x2f193d(0x162)&&Number[_0x2f193d(0x161)](_0x1c7082)&&_0x1c7082>0x0)return _0x1c7082;if(typeof _0x1c7082==='string'){if(/^[1-9]\d*$/[_0x2f193d(0x15e)](_0x1c7082))return _0x1c7082;}throw CliErrors[_0x2f193d(0x15d)](_0x2f193d(0x164)+_0x43420d+_0x2f193d(0x159));}export function parseUpdateIdsFromParams(_0x4c0ab3){const _0x595e26=a112_0x1e60;if(_0x4c0ab3===null||_0x4c0ab3===undefined||typeof _0x4c0ab3!==_0x595e26(0x14f)||Array[_0x595e26(0x15b)](_0x4c0ab3))throw CliErrors[_0x595e26(0x15d)](_0x595e26(0x15a),_0x595e26(0x163));const _0x330c01=_0x4c0ab3['id'];if(_0x330c01===undefined||_0x330c01===null)throw CliErrors[_0x595e26(0x15d)]('data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27');const _0x155581=Array['isArray'](_0x330c01)?_0x330c01:[_0x330c01];if(_0x155581[_0x595e26(0x167)]===0x0)throw CliErrors[_0x595e26(0x15d)]('data\x20update\x20id\x20array\x20cannot\x20be\x20empty.');if(_0x155581[_0x595e26(0x167)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x595e26(0x15d)](_0x595e26(0x14d)+MAX_DATA_UPDATE_IDS+'\x20records\x20per\x20call;\x20received\x20'+_0x155581[_0x595e26(0x167)]+'.');return _0x155581[_0x595e26(0x153)]((_0x4f8a0c,_0x40743f)=>parseDataUpdateId(_0x4f8a0c,Array['isArray'](_0x330c01)?_0x595e26(0x15f)+_0x40743f+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x13d98c,_0x1ba283){const _0x2aba5e=a112_0x1e60;if(Array[_0x2aba5e(0x15b)](_0x13d98c['id'])&&_0x1ba283[_0x2aba5e(0x167)]>0x1)return{..._0x13d98c,'id':_0x1ba283['join'](',')};return _0x13d98c;}
@@ -1 +1 @@
1
- const a113_0x32f01f=a113_0xf9d2;(function(_0x187f96,_0x3a0a66){const _0x5f4d0a=a113_0xf9d2,_0x59c354=_0x187f96();while(!![]){try{const _0x18bbf9=parseInt(_0x5f4d0a(0xb0))/0x1+-parseInt(_0x5f4d0a(0xab))/0x2+parseInt(_0x5f4d0a(0xb1))/0x3+-parseInt(_0x5f4d0a(0xaf))/0x4*(parseInt(_0x5f4d0a(0xb3))/0x5)+parseInt(_0x5f4d0a(0xb5))/0x6+parseInt(_0x5f4d0a(0xae))/0x7*(-parseInt(_0x5f4d0a(0xb6))/0x8)+parseInt(_0x5f4d0a(0xad))/0x9*(parseInt(_0x5f4d0a(0xb4))/0xa);if(_0x18bbf9===_0x3a0a66)break;else _0x59c354['push'](_0x59c354['shift']());}catch(_0x3b307d){_0x59c354['push'](_0x59c354['shift']());}}}(a113_0xe96b,0x81c51));function a113_0xe96b(){const _0x534dd1=['5BDOSdM','3788160BOIZxe','5762388qnFmub','848CMOaPZ','175108JBWSzU','win32','9QQBIJj','22071SHTznV','2315812NwQhPx','1997grTMqK','573153IgRmGu','.cmd'];a113_0xe96b=function(){return _0x534dd1;};return a113_0xe96b();}function a113_0xf9d2(_0x3d0971,_0x3488ae){_0x3d0971=_0x3d0971-0xab;const _0xe96b17=a113_0xe96b();let _0xf9d272=_0xe96b17[_0x3d0971];return _0xf9d272;}export const isWindows=process['platform']===a113_0x32f01f(0xac);export function resolveNpmBin(_0x42faf7){const _0x419b39=a113_0x32f01f;return isWindows?_0x42faf7+_0x419b39(0xb2):_0x42faf7;}
1
+ function a113_0x5095(_0x397c9c,_0xb9db21){_0x397c9c=_0x397c9c-0x88;const _0x310139=a113_0x3101();let _0x509510=_0x310139[_0x397c9c];return _0x509510;}const a113_0x4ab335=a113_0x5095;(function(_0x24773d,_0x1f7aa4){const _0x17407d=a113_0x5095,_0x2a6e3a=_0x24773d();while(!![]){try{const _0x2cbcc3=-parseInt(_0x17407d(0x8f))/0x1*(parseInt(_0x17407d(0x97))/0x2)+parseInt(_0x17407d(0x8a))/0x3*(parseInt(_0x17407d(0x92))/0x4)+parseInt(_0x17407d(0x90))/0x5*(parseInt(_0x17407d(0x96))/0x6)+parseInt(_0x17407d(0x95))/0x7*(parseInt(_0x17407d(0x8d))/0x8)+parseInt(_0x17407d(0x8c))/0x9+-parseInt(_0x17407d(0x88))/0xa*(parseInt(_0x17407d(0x94))/0xb)+parseInt(_0x17407d(0x8e))/0xc*(-parseInt(_0x17407d(0x91))/0xd);if(_0x2cbcc3===_0x1f7aa4)break;else _0x2a6e3a['push'](_0x2a6e3a['shift']());}catch(_0x786367){_0x2a6e3a['push'](_0x2a6e3a['shift']());}}}(a113_0x3101,0xab1be));export const isWindows=process[a113_0x4ab335(0x89)]===a113_0x4ab335(0x93);export function resolveNpmBin(_0x5f4813){const _0x173424=a113_0x4ab335;return isWindows?_0x5f4813+_0x173424(0x8b):_0x5f4813;}function a113_0x3101(){const _0x2f95d5=['32gBTRti','3252948BQucWh','2531wXoeJa','2750mcydVM','13NpsUZb','2724sjWbDB','win32','77cyOAsx','1371881qNkAeL','2424BlsmsQ','862OIZCHx','738790IMeYoN','platform','3243BFJgvd','.cmd','7538958BJbfsc'];a113_0x3101=function(){return _0x2f95d5;};return a113_0x3101();}
@@ -1 +1 @@
1
- (function(_0x2b13d5,_0xf00a){const _0x40fe00=a114_0x2a7c,_0x14998b=_0x2b13d5();while(!![]){try{const _0x55ac1f=parseInt(_0x40fe00(0xce))/0x1+parseInt(_0x40fe00(0xb2))/0x2*(parseInt(_0x40fe00(0xbe))/0x3)+-parseInt(_0x40fe00(0xc3))/0x4*(parseInt(_0x40fe00(0xb5))/0x5)+parseInt(_0x40fe00(0xd9))/0x6*(-parseInt(_0x40fe00(0xd8))/0x7)+-parseInt(_0x40fe00(0xb4))/0x8+-parseInt(_0x40fe00(0xdc))/0x9+-parseInt(_0x40fe00(0xc6))/0xa*(-parseInt(_0x40fe00(0xc0))/0xb);if(_0x55ac1f===_0xf00a)break;else _0x14998b['push'](_0x14998b['shift']());}catch(_0x24b4b2){_0x14998b['push'](_0x14998b['shift']());}}}(a114_0x2778,0xb6f85));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(_0x2b826c){const _0x2971ef=a114_0x2a7c,_0xb2f88b=_0x2b826c[_0x2971ef(0xbc)]()[_0x2971ef(0xb7)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0xb2f88b)return null;return{'major':Number(_0xb2f88b[0x1]),'minor':Number(_0xb2f88b[0x2]),'patch':Number(_0xb2f88b[0x3]),'prerelease':_0xb2f88b[0x4]};}function compareSemver(_0x5a0460,_0x25d86f){const _0x3cb5ee=a114_0x2a7c,_0x59932c=parseSemver(_0x5a0460),_0x4f9ff9=parseSemver(_0x25d86f);if(!_0x59932c||!_0x4f9ff9)throw new Error('Invalid\x20semver');for(const _0x55c012 of[_0x3cb5ee(0xc7),_0x3cb5ee(0xd7),_0x3cb5ee(0xbb)]){if(_0x59932c[_0x55c012]<_0x4f9ff9[_0x55c012])return-0x1;if(_0x59932c[_0x55c012]>_0x4f9ff9[_0x55c012])return 0x1;}if(!_0x59932c[_0x3cb5ee(0xc4)]&&!_0x4f9ff9[_0x3cb5ee(0xc4)])return 0x0;if(!_0x59932c['prerelease'])return 0x1;if(!_0x4f9ff9['prerelease'])return-0x1;if(_0x59932c[_0x3cb5ee(0xc4)]===_0x4f9ff9['prerelease'])return 0x0;return _0x59932c['prerelease']<_0x4f9ff9['prerelease']?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x4bf07d=a114_0x2a7c,_0x441105=process.env.LOVRABET_NO_UPDATE_NOTICE?.['trim']()[_0x4bf07d(0xda)]();return _0x441105==='1'||_0x441105===_0x4bf07d(0xd0)||_0x441105===_0x4bf07d(0xcd);}function cacheRoot(){const _0x401101=a114_0x2a7c;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x401101(0xdb));}function a114_0x2a7c(_0x3f3505,_0x558579){_0x3f3505=_0x3f3505-0xb2;const _0x277854=a114_0x2778();let _0x2a7c7b=_0x277854[_0x3f3505];return _0x2a7c7b;}export function getUpdateNoticeCachePath(){const _0x3826db=a114_0x2a7c;return join(cacheRoot(),'lovrabet-cli',_0x3826db(0xbd));}async function readUpdateNoticeCache(){const _0x50c217=a114_0x2a7c;try{const _0x191731=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x4fda41=JSON[_0x50c217(0xd5)](_0x191731);if(!_0x4fda41||typeof _0x4fda41!=='object')return{};return _0x4fda41;}catch{return{};}}async function writeUpdateNoticeCache(_0x19ef0e){const _0x5e6df1=a114_0x2a7c;try{const _0xe936a=getUpdateNoticeCachePath();await mkdir(dirname(_0xe936a),{'recursive':!![]}),await writeFile(_0xe936a,JSON[_0x5e6df1(0xcf)](_0x19ef0e,null,0x2)+'\x0a',_0x5e6df1(0xcc));}catch{}}function isFreshCheck(_0x7b41b3,_0x56d5df){const _0xcfc852=a114_0x2a7c;return typeof _0x7b41b3[_0xcfc852(0xc5)]===_0xcfc852(0xdd)&&_0x56d5df-_0x7b41b3[_0xcfc852(0xc5)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x1b08f1,_0x18871d,_0x362677){const _0x58f3b6=a114_0x2a7c;return _0x1b08f1['lastNotifiedVersion']===_0x18871d&&typeof _0x1b08f1['lastNotifiedAt']===_0x58f3b6(0xdd)&&_0x362677-_0x1b08f1[_0x58f3b6(0xb8)]<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x9be628=0x5dc){const _0x4772c2=a114_0x2a7c;try{const _0x33a485=NPM_REGISTRY_BASE_URL+'/-/package/'+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x4772c2(0xd1),_0x1ab307=await fetch(_0x33a485,{'signal':AbortSignal[_0x4772c2(0xc8)](_0x9be628)});if(!_0x1ab307['ok'])return null;const _0xc6248f=await _0x1ab307[_0x4772c2(0xcb)]();if(!_0xc6248f||typeof _0xc6248f!==_0x4772c2(0xb9))return null;return Object[_0x4772c2(0xd3)](Object[_0x4772c2(0xd4)](_0xc6248f)[_0x4772c2(0xc2)](([,_0x1beb73])=>typeof _0x1beb73===_0x4772c2(0xca)&&_0x1beb73['trim']())[_0x4772c2(0xba)](([_0x205268,_0x505d6e])=>[_0x205268,String(_0x505d6e)[_0x4772c2(0xbc)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x49ef6d){const _0x5d4d60=a114_0x2a7c;return _0x5d4d60(0xb6)+LOVRABET_NPM_PACKAGE_NAME+_0x5d4d60(0xd2)+_0x49ef6d;}function a114_0x2778(){const _0x5e1c42=['match','lastNotifiedAt','object','map','patch','trim','update-check.json','199431PaJlXS','\x20available,\x20current\x20','37629416ifecCF',',\x20run:\x20','filter','964VTxrdH','prerelease','checkedAt','10eJFvnm','major','timeout','latest','string','json','utf8','yes','553541sIrkpZ','stringify','true','/dist-tags','/v/','fromEntries','entries','parse','\x20update','minor','7vahQaN','5850318wBPtBY','toLowerCase','.cache','8709183gJVEWU','number','2AKEXEJ','now','1074320bACfHR','25195njZhfu','https://www.npmjs.com/package/'];a114_0x2778=function(){return _0x5e1c42;};return a114_0x2778();}export async function resolveLatestUpdateNotice(){const _0x572f95=a114_0x2a7c;if(isUpdateNoticeDisabled())return null;try{const _0xcfbd64=Date[_0x572f95(0xb3)](),_0x5f409b=getCliVersion(),_0x2fec99=await readUpdateNoticeCache();let _0x470b15=isFreshCheck(_0x2fec99,_0xcfbd64)?_0x2fec99[_0x572f95(0xc9)]?.[_0x572f95(0xbc)]():undefined;if(!_0x470b15&&!isFreshCheck(_0x2fec99,_0xcfbd64)){const _0x111d6f=await fetchNpmDistTags();_0x470b15=_0x111d6f?.[_0x572f95(0xc9)]?.['trim'](),await writeUpdateNoticeCache({..._0x2fec99,'checkedAt':_0xcfbd64,'latest':_0x470b15,'failed':!_0x470b15});}if(!_0x470b15||compareSemver(_0x5f409b,_0x470b15)>=0x0)return null;if(isRecentlyNotified(_0x2fec99,_0x470b15,_0xcfbd64))return null;const _0x2fbf5c=CLI_BIN_NAME+_0x572f95(0xd6);return await writeUpdateNoticeCache({..._0x2fec99,'checkedAt':isFreshCheck(_0x2fec99,_0xcfbd64)?_0x2fec99[_0x572f95(0xc5)]:_0xcfbd64,'latest':_0x470b15,'failed':![],'lastNotifiedVersion':_0x470b15,'lastNotifiedAt':_0xcfbd64}),{'command':_0x2fbf5c,'current':_0x5f409b,'latest':_0x470b15,'url':buildNpmVersionUrl(_0x470b15),'message':CLI_BIN_NAME+'\x20'+_0x470b15+_0x572f95(0xbf)+_0x5f409b+_0x572f95(0xc1)+_0x2fbf5c};}catch{return null;}}
1
+ (function(_0x5ca1d0,_0x1cf0b5){const _0x1cda6c=a114_0x3fbf,_0x5db9fc=_0x5ca1d0();while(!![]){try{const _0x5084bf=parseInt(_0x1cda6c(0xcb))/0x1+-parseInt(_0x1cda6c(0xbc))/0x2+parseInt(_0x1cda6c(0xd5))/0x3*(-parseInt(_0x1cda6c(0xbf))/0x4)+-parseInt(_0x1cda6c(0xc1))/0x5+-parseInt(_0x1cda6c(0xcd))/0x6*(parseInt(_0x1cda6c(0xc6))/0x7)+-parseInt(_0x1cda6c(0xd0))/0x8+-parseInt(_0x1cda6c(0xd8))/0x9*(-parseInt(_0x1cda6c(0xd6))/0xa);if(_0x5084bf===_0x1cf0b5)break;else _0x5db9fc['push'](_0x5db9fc['shift']());}catch(_0x10122f){_0x5db9fc['push'](_0x5db9fc['shift']());}}}(a114_0x30f7,0x7c17a));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(_0x386e49){const _0x15f5b1=a114_0x3fbf,_0x3e7790=_0x386e49[_0x15f5b1(0xd4)]()[_0x15f5b1(0xc5)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x3e7790)return null;return{'major':Number(_0x3e7790[0x1]),'minor':Number(_0x3e7790[0x2]),'patch':Number(_0x3e7790[0x3]),'prerelease':_0x3e7790[0x4]};}function compareSemver(_0x53d7cd,_0x32d8e0){const _0x434b98=a114_0x3fbf,_0x3a053e=parseSemver(_0x53d7cd),_0x451ee4=parseSemver(_0x32d8e0);if(!_0x3a053e||!_0x451ee4)throw new Error('Invalid\x20semver');for(const _0x3092fc of[_0x434b98(0xce),_0x434b98(0xd1),'patch']){if(_0x3a053e[_0x3092fc]<_0x451ee4[_0x3092fc])return-0x1;if(_0x3a053e[_0x3092fc]>_0x451ee4[_0x3092fc])return 0x1;}if(!_0x3a053e[_0x434b98(0xc9)]&&!_0x451ee4[_0x434b98(0xc9)])return 0x0;if(!_0x3a053e[_0x434b98(0xc9)])return 0x1;if(!_0x451ee4[_0x434b98(0xc9)])return-0x1;if(_0x3a053e[_0x434b98(0xc9)]===_0x451ee4[_0x434b98(0xc9)])return 0x0;return _0x3a053e[_0x434b98(0xc9)]<_0x451ee4['prerelease']?-0x1:0x1;}function a114_0x3fbf(_0x51f5e1,_0x33e4bf){_0x51f5e1=_0x51f5e1-0xb6;const _0x30f796=a114_0x30f7();let _0x3fbfc8=_0x30f796[_0x51f5e1];return _0x3fbfc8;}function isUpdateNoticeDisabled(){const _0x1134a7=a114_0x3fbf,_0xea4f41=process.env.LOVRABET_NO_UPDATE_NOTICE?.['trim']()[_0x1134a7(0xc2)]();return _0xea4f41==='1'||_0xea4f41===_0x1134a7(0xd3)||_0xea4f41===_0x1134a7(0xcc);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x209fba=a114_0x3fbf;return join(cacheRoot(),_0x209fba(0xba),_0x209fba(0xc7));}async function readUpdateNoticeCache(){const _0x454047=a114_0x3fbf;try{const _0xea589e=await readFile(getUpdateNoticeCachePath(),_0x454047(0xb7)),_0x34a83e=JSON['parse'](_0xea589e);if(!_0x34a83e||typeof _0x34a83e!==_0x454047(0xc4))return{};return _0x34a83e;}catch{return{};}}function a114_0x30f7(){const _0x395971=['minor','number','true','trim','831Mlvyfa','10dsSpKU','/-/package/','14194809kThxss','filter','utf8','\x20available,\x20current\x20','https://www.npmjs.com/package/','lovrabet-cli','\x20update','41674DZriQl','map','entries','7640cRNBmd','json','1035920ackjvS','toLowerCase','string','object','match','221081JSuZpJ','update-check.json','timeout','prerelease','/v/','160490mfBFfZ','yes','24BUYaeY','major','lastNotifiedAt','2767888OniHNP'];a114_0x30f7=function(){return _0x395971;};return a114_0x30f7();}async function writeUpdateNoticeCache(_0x100d04){const _0x331240=a114_0x3fbf;try{const _0x4d0f04=getUpdateNoticeCachePath();await mkdir(dirname(_0x4d0f04),{'recursive':!![]}),await writeFile(_0x4d0f04,JSON['stringify'](_0x100d04,null,0x2)+'\x0a',_0x331240(0xb7));}catch{}}function isFreshCheck(_0x447b6a,_0x155c0d){const _0x27ee52=a114_0x3fbf;return typeof _0x447b6a['checkedAt']===_0x27ee52(0xd2)&&_0x155c0d-_0x447b6a['checkedAt']<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0xb8b0ac,_0x5d182b,_0x444533){const _0xf8062f=a114_0x3fbf;return _0xb8b0ac['lastNotifiedVersion']===_0x5d182b&&typeof _0xb8b0ac['lastNotifiedAt']===_0xf8062f(0xd2)&&_0x444533-_0xb8b0ac[_0xf8062f(0xcf)]<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x147236=0x5dc){const _0xc5ec48=a114_0x3fbf;try{const _0x37aa9d=NPM_REGISTRY_BASE_URL+_0xc5ec48(0xd7)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+'/dist-tags',_0x9ca538=await fetch(_0x37aa9d,{'signal':AbortSignal[_0xc5ec48(0xc8)](_0x147236)});if(!_0x9ca538['ok'])return null;const _0x4cd9c7=await _0x9ca538[_0xc5ec48(0xc0)]();if(!_0x4cd9c7||typeof _0x4cd9c7!=='object')return null;return Object['fromEntries'](Object[_0xc5ec48(0xbe)](_0x4cd9c7)[_0xc5ec48(0xb6)](([,_0xf9555e])=>typeof _0xf9555e===_0xc5ec48(0xc3)&&_0xf9555e[_0xc5ec48(0xd4)]())[_0xc5ec48(0xbd)](([_0xdfb4fc,_0x50b88d])=>[_0xdfb4fc,String(_0x50b88d)[_0xc5ec48(0xd4)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x6d525c){const _0x33083f=a114_0x3fbf;return _0x33083f(0xb9)+LOVRABET_NPM_PACKAGE_NAME+_0x33083f(0xca)+_0x6d525c;}export async function resolveLatestUpdateNotice(){const _0x11150e=a114_0x3fbf;if(isUpdateNoticeDisabled())return null;try{const _0x3a2870=Date['now'](),_0x2dac55=getCliVersion(),_0x2d21c3=await readUpdateNoticeCache();let _0x4e1c69=isFreshCheck(_0x2d21c3,_0x3a2870)?_0x2d21c3['latest']?.['trim']():undefined;if(!_0x4e1c69&&!isFreshCheck(_0x2d21c3,_0x3a2870)){const _0x3c3146=await fetchNpmDistTags();_0x4e1c69=_0x3c3146?.['latest']?.['trim'](),await writeUpdateNoticeCache({..._0x2d21c3,'checkedAt':_0x3a2870,'latest':_0x4e1c69,'failed':!_0x4e1c69});}if(!_0x4e1c69||compareSemver(_0x2dac55,_0x4e1c69)>=0x0)return null;if(isRecentlyNotified(_0x2d21c3,_0x4e1c69,_0x3a2870))return null;const _0x396918=CLI_BIN_NAME+_0x11150e(0xbb);return await writeUpdateNoticeCache({..._0x2d21c3,'checkedAt':isFreshCheck(_0x2d21c3,_0x3a2870)?_0x2d21c3['checkedAt']:_0x3a2870,'latest':_0x4e1c69,'failed':![],'lastNotifiedVersion':_0x4e1c69,'lastNotifiedAt':_0x3a2870}),{'command':_0x396918,'current':_0x2dac55,'latest':_0x4e1c69,'url':buildNpmVersionUrl(_0x4e1c69),'message':CLI_BIN_NAME+'\x20'+_0x4e1c69+_0x11150e(0xb8)+_0x2dac55+',\x20run:\x20'+_0x396918};}catch{return null;}}
@@ -1 +1 @@
1
- function a115_0x3c77(){const _0x26da02=['1344gUWmUz','2149973ZwWuPR','6bEkzMr','10ABQoqL','4083720BzfplQ','307069wpGOlr','8281719abPpkg','2194060daoFto','3633vaKGIX','1091874fZSXsH','slice'];a115_0x3c77=function(){return _0x26da02;};return a115_0x3c77();}(function(_0x3536e4,_0x242b97){const _0x3e80c2=a115_0xe974,_0x50d69e=_0x3536e4();while(!![]){try{const _0xfad1a6=-parseInt(_0x3e80c2(0xfd))/0x1+parseInt(_0x3e80c2(0x101))/0x2+-parseInt(_0x3e80c2(0x100))/0x3*(-parseInt(_0x3e80c2(0x103))/0x4)+-parseInt(_0x3e80c2(0xff))/0x5+parseInt(_0x3e80c2(0x105))/0x6*(-parseInt(_0x3e80c2(0x104))/0x7)+-parseInt(_0x3e80c2(0xfc))/0x8+-parseInt(_0x3e80c2(0xfe))/0x9*(-parseInt(_0x3e80c2(0xfb))/0xa);if(_0xfad1a6===_0x242b97)break;else _0x50d69e['push'](_0x50d69e['shift']());}catch(_0x50f814){_0x50d69e['push'](_0x50d69e['shift']());}}}(a115_0x3c77,0x4b923));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';function a115_0xe974(_0x1ba53d,_0x40d40a){_0x1ba53d=_0x1ba53d-0xfb;const _0x3c7703=a115_0x3c77();let _0xe97487=_0x3c7703[_0x1ba53d];return _0xe97487;}export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x2c5509=String(GIT_COMMIT);return _0x2c5509&&_0x2c5509!=='unknown'?_0x2c5509:'';}export function getCliVersionDisplay(){const _0x4dc2d5=a115_0xe974,_0x4dbb94=getCliGitCommit(),_0x39d54d=BUILD_TIME[_0x4dc2d5(0x102)](0x0,0xa);if(!_0x4dbb94||!_0x39d54d)return VERSION;return VERSION+'\x20('+_0x4dbb94+',\x20'+_0x39d54d+')';}
1
+ function a115_0x4d64(){const _0x243a2a=['305756UqRVLF','6iEfsGf','9258907WSIZWH','631123nzZQFV','1240VGvvda','5611536uqmsiS','1640056kHKMDw','2wOjOXV','380024ZgnmDL','unknown','1510899tZtZyO','slice','40rmwFNm'];a115_0x4d64=function(){return _0x243a2a;};return a115_0x4d64();}(function(_0x2c747a,_0x2c9c24){const _0xdabca1=a115_0x3154,_0x2b10e8=_0x2c747a();while(!![]){try{const _0x31de69=parseInt(_0xdabca1(0x1e4))/0x1*(parseInt(_0xdabca1(0x1e8))/0x2)+-parseInt(_0xdabca1(0x1eb))/0x3+parseInt(_0xdabca1(0x1e9))/0x4*(-parseInt(_0xdabca1(0x1e0))/0x5)+-parseInt(_0xdabca1(0x1e2))/0x6*(parseInt(_0xdabca1(0x1e3))/0x7)+-parseInt(_0xdabca1(0x1e7))/0x8+-parseInt(_0xdabca1(0x1e6))/0x9+-parseInt(_0xdabca1(0x1e5))/0xa*(-parseInt(_0xdabca1(0x1e1))/0xb);if(_0x31de69===_0x2c9c24)break;else _0x2b10e8['push'](_0x2b10e8['shift']());}catch(_0x1baf7a){_0x2b10e8['push'](_0x2b10e8['shift']());}}}(a115_0x4d64,0xa1d96));function a115_0x3154(_0x3be12d,_0x41d026){_0x3be12d=_0x3be12d-0x1e0;const _0x4d6413=a115_0x4d64();let _0x31547d=_0x4d6413[_0x3be12d];return _0x31547d;}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x4dd482=a115_0x3154,_0x296c5a=String(GIT_COMMIT);return _0x296c5a&&_0x296c5a!==_0x4dd482(0x1ea)?_0x296c5a:'';}export function getCliVersionDisplay(){const _0x18ec7f=a115_0x3154,_0x2c7ac1=getCliGitCommit(),_0x2b0ac5=BUILD_TIME[_0x18ec7f(0x1ec)](0x0,0xa);if(!_0x2c7ac1||!_0x2b0ac5)return VERSION;return VERSION+'\x20('+_0x2c7ac1+',\x20'+_0x2b0ac5+')';}
@@ -1 +1 @@
1
- (function(_0x13efcb,_0x36fa94){var _0x7c20db=a116_0xddce,_0x1cbeda=_0x13efcb();while(!![]){try{var _0x50b6cd=parseInt(_0x7c20db(0x79))/0x1+-parseInt(_0x7c20db(0x77))/0x2+parseInt(_0x7c20db(0x74))/0x3+-parseInt(_0x7c20db(0x78))/0x4+parseInt(_0x7c20db(0x7b))/0x5*(-parseInt(_0x7c20db(0x73))/0x6)+-parseInt(_0x7c20db(0x75))/0x7+parseInt(_0x7c20db(0x7d))/0x8*(parseInt(_0x7c20db(0x7c))/0x9);if(_0x50b6cd===_0x36fa94)break;else _0x1cbeda['push'](_0x1cbeda['shift']());}catch(_0xbe920a){_0x1cbeda['push'](_0x1cbeda['shift']());}}}(a116_0x5817,0xca28f));function a116_0x5817(){var _0x56c75d=['5uDyamO','7533171FuCINC','8OUdKlh','4666680yMAKxT','2618709toNNLN','440251fzTzXA','stderr','873418cQyQyf','1270352hSyBzy','713095LVenEx','write'];a116_0x5817=function(){return _0x56c75d;};return a116_0x5817();}function a116_0xddce(_0x1923fa,_0x5499ac){_0x1923fa=_0x1923fa-0x73;var _0x581725=a116_0x5817();var _0xddce33=_0x581725[_0x1923fa];return _0xddce33;}export function writeCliSideChannelLine(_0x431f5d){var _0xad9bb=a116_0xddce;process[_0xad9bb(0x76)][_0xad9bb(0x7a)](_0x431f5d+'\x0a');}
1
+ function a116_0x2bf6(_0x44974b,_0x1a2cb4){_0x44974b=_0x44974b-0xf8;var _0x46e6aa=a116_0x46e6();var _0x2bf6b0=_0x46e6aa[_0x44974b];return _0x2bf6b0;}function a116_0x46e6(){var _0x5dbfb3=['101439eYKabZ','stderr','1172574USjDcv','write','19148uSXMnj','2950800XfoEPT','74343tjsgNC','547425TTFecd','1332373UYWfma','16usZSuO','2xDmJaA','75IjjYjn'];a116_0x46e6=function(){return _0x5dbfb3;};return a116_0x46e6();}(function(_0x42a858,_0x2c8e5a){var _0x2a9145=a116_0x2bf6,_0x5a687f=_0x42a858();while(!![]){try{var _0x54d659=-parseInt(_0x2a9145(0x103))/0x1*(-parseInt(_0x2a9145(0xfb))/0x2)+parseInt(_0x2a9145(0xf8))/0x3+-parseInt(_0x2a9145(0x101))/0x4*(parseInt(_0x2a9145(0xfc))/0x5)+-parseInt(_0x2a9145(0xff))/0x6+-parseInt(_0x2a9145(0xf9))/0x7+parseInt(_0x2a9145(0xfa))/0x8*(parseInt(_0x2a9145(0xfd))/0x9)+parseInt(_0x2a9145(0x102))/0xa;if(_0x54d659===_0x2c8e5a)break;else _0x5a687f['push'](_0x5a687f['shift']());}catch(_0x1b705a){_0x5a687f['push'](_0x5a687f['shift']());}}}(a116_0x46e6,0x1c883));export function writeCliSideChannelLine(_0x4e33cf){var _0x5db7cc=a116_0x2bf6;process[_0x5db7cc(0xfe)][_0x5db7cc(0x100)](_0x4e33cf+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.1.9-beta.1",
3
+ "version": "2.1.9-beta.2",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",