@lovrabet/lovrabet-cli 2.1.9-beta.3 → 2.1.9

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(_0x9a1476,_0x3e8fd8){const _0x2433a5=a108_0x9f7a,_0x3bd843=_0x9a1476();while(!![]){try{const _0x5de823=parseInt(_0x2433a5(0x1a9))/0x1*(-parseInt(_0x2433a5(0x19c))/0x2)+parseInt(_0x2433a5(0x189))/0x3*(parseInt(_0x2433a5(0x1a4))/0x4)+-parseInt(_0x2433a5(0x193))/0x5+-parseInt(_0x2433a5(0x1ab))/0x6*(-parseInt(_0x2433a5(0x1ad))/0x7)+-parseInt(_0x2433a5(0x198))/0x8+-parseInt(_0x2433a5(0x187))/0x9+parseInt(_0x2433a5(0x1b0))/0xa;if(_0x5de823===_0x3e8fd8)break;else _0x3bd843['push'](_0x3bd843['shift']());}catch(_0x3a4b74){_0x3bd843['push'](_0x3bd843['shift']());}}}(a108_0x5087,0xc27d1));function a108_0x5087(){const _0x58efff=['set','sha256','requireOssPath','Runtime\x20Skill\x20package\x20size\x20mismatch.','334fqfKoh','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','1213854tWFYJg','trim','28sqXGMs','toLowerCase','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','23383450xbiwiQ','map','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','push','isArray','Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20','string','13904937AdzPDF','treeSha256','2536023EZHgdj','get','Missing\x20','Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.','path','\x20in\x20Skill\x20file\x20package.','zipSize','schemaVersion','some','length','2267640DmATVn','Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20','zipSha256','isSafeInteger','size','4326384CfShwi','validation','files','Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.','3934ASEQaL','Runtime\x20Skill\x20package\x20sha256\x20mismatch.','Duplicate\x20Skill\x20package\x20entry:\x20','bytes','has','Runtime\x20Skill\x20manifest\x20is\x20missing\x20','Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20','ossPath','4rwLiSR'];a108_0x5087=function(){return _0x58efff;};return a108_0x5087();}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(_0x172c2e){const _0x4b22b2=a108_0x9f7a,_0x6c5b58=normalizeLocalFiles(_0x172c2e);if(!_0x6c5b58['some'](_0x3d262d=>_0x3d262d['path']===SKILL_FILE))throw CliErrors[_0x4b22b2(0x199)](_0x4b22b2(0x18b)+SKILL_FILE+_0x4b22b2(0x18e));const _0x55adcc=localFilesToManifestFiles(_0x6c5b58),_0x40a8a0=createDeterministicZipPackage(_0x6c5b58);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x55adcc),'zipSha256':bufferSha256(_0x40a8a0),'zipSize':_0x40a8a0['length'],'files':_0x55adcc},'packageBytes':_0x40a8a0,'packageBase64':_0x40a8a0['toString']('base64')};}export function verifyRuntimeSkillPackage(_0x3e4414,_0x3f406b){const _0x342262=a108_0x9f7a,_0xe6ad70=normalizePackageManifest(_0x3e4414,{'requireOssPath':![]});if(!_0xe6ad70)throw CliErrors[_0x342262(0x199)](_0x342262(0x1aa));return extractAndVerifyPackage(_0xe6ad70,_0x3f406b);}export function verifyRuntimeSkillBundle(_0x1302a8,_0x230ded){const _0x3d4ca2=normalizePackageManifest(_0x1302a8,{'requireOssPath':![]});if(!_0x3d4ca2)throw CliErrors['validation']('Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.');return extractAndVerifyPackageFiles(_0x3d4ca2,_0x230ded);}export function tryNormalizePackageManifest(_0x17a713){return normalizePackageManifest(_0x17a713,{'requireOssPath':![]});}export function requirePackageBytes(_0x4f6cb5,_0x5c82f0){const _0x4bc192=a108_0x9f7a;if(!_0x5c82f0||_0x5c82f0[_0x4bc192(0x192)]===0x0)throw CliErrors[_0x4bc192(0x199)](_0x4bc192(0x1b5)+_0x4f6cb5);return _0x5c82f0;}export function extractDownloadedPackage(_0x4f0974){const _0x1f33c9=a108_0x9f7a,_0x1e0167=parseZipPackage(_0x4f0974)[_0x1f33c9(0x1b1)](_0x301d22=>({'path':_0x301d22[_0x1f33c9(0x18d)],'bytes':_0x301d22['bytes']}));if(!_0x1e0167[_0x1f33c9(0x191)](_0x3d4e39=>_0x3d4e39[_0x1f33c9(0x18d)]===SKILL_FILE))throw CliErrors[_0x1f33c9(0x199)]('Runtime\x20Skill\x20package\x20is\x20missing\x20'+SKILL_FILE+'.');return normalizeLocalFiles(_0x1e0167);}export function localFilesToManifestFiles(_0x212093){const _0x54f3b5=a108_0x9f7a;return normalizeLocalFiles(_0x212093)[_0x54f3b5(0x1b1)](_0x1f734f=>({'path':_0x1f734f[_0x54f3b5(0x18d)],'sha256':fileHash(_0x1f734f),'size':fileContent(_0x1f734f)['length']}));}function normalizePackageManifest(_0x47c9a9,_0x2ee656){const _0x34f9b8=a108_0x9f7a;if(!_0x47c9a9||typeof _0x47c9a9!=='object'||Array[_0x34f9b8(0x1b4)](_0x47c9a9))return undefined;const _0x341a09=_0x47c9a9,_0x4d1e43=typeof _0x341a09[_0x34f9b8(0x1a3)]===_0x34f9b8(0x1b6)?_0x341a09[_0x34f9b8(0x1a3)][_0x34f9b8(0x1ac)]():undefined;if(_0x2ee656[_0x34f9b8(0x1a7)]&&!_0x4d1e43)return undefined;if(!Array[_0x34f9b8(0x1b4)](_0x341a09[_0x34f9b8(0x19a)])||_0x341a09[_0x34f9b8(0x19a)][_0x34f9b8(0x192)]===0x0)return undefined;if(!isSha256Hex(_0x341a09[_0x34f9b8(0x188)]))throw CliErrors[_0x34f9b8(0x199)](_0x34f9b8(0x19b));if(!isSha256Hex(_0x341a09[_0x34f9b8(0x195)]))throw CliErrors['validation'](_0x34f9b8(0x1af));if(!Number[_0x34f9b8(0x196)](_0x341a09['zipSize'])||_0x341a09['zipSize']<0x0)throw CliErrors[_0x34f9b8(0x199)](_0x34f9b8(0x1b2));const _0x44523c=normalizeManifestFiles(_0x341a09[_0x34f9b8(0x19a)]);if(!_0x44523c[_0x34f9b8(0x191)](_0x4faf68=>_0x4faf68['path']===SKILL_FILE))throw CliErrors['validation'](_0x34f9b8(0x1a1)+SKILL_FILE+'.');const _0x456d1e=fileTreeHash(_0x44523c);if(_0x456d1e!==_0x341a09[_0x34f9b8(0x188)][_0x34f9b8(0x1ae)]())throw CliErrors[_0x34f9b8(0x199)]('Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.');return{'schemaVersion':Number[_0x34f9b8(0x196)](_0x341a09[_0x34f9b8(0x190)])?_0x341a09[_0x34f9b8(0x190)]:0x2,'ossPath':_0x4d1e43,'treeSha256':_0x456d1e,'zipSha256':_0x341a09[_0x34f9b8(0x195)][_0x34f9b8(0x1ae)](),'zipSize':_0x341a09[_0x34f9b8(0x18f)],'files':_0x44523c};}function extractAndVerifyPackage(_0xb7ac31,_0x5b75b3){const _0x553d6c=a108_0x9f7a,_0xb30b16=normalizePackageManifest(_0xb7ac31,{'requireOssPath':![]});if(!_0xb30b16)throw CliErrors[_0x553d6c(0x199)](_0x553d6c(0x1aa));if(_0x5b75b3['length']!==_0xb30b16['zipSize'])throw CliErrors[_0x553d6c(0x199)](_0x553d6c(0x1a8));const _0x2ec7e3=bufferSha256(_0x5b75b3);if(_0x2ec7e3!==_0xb30b16[_0x553d6c(0x195)])throw CliErrors[_0x553d6c(0x199)](_0x553d6c(0x19d));return extractAndVerifyPackageFiles(_0xb30b16,_0x5b75b3);}function a108_0x9f7a(_0x376bc0,_0x5724b6){_0x376bc0=_0x376bc0-0x187;const _0x5087f3=a108_0x5087();let _0x9f7adf=_0x5087f3[_0x376bc0];return _0x9f7adf;}function extractAndVerifyPackageFiles(_0x4152f5,_0x56835c){const _0x235102=a108_0x9f7a,_0x5b320c=parseZipPackage(_0x56835c);if(_0x5b320c[_0x235102(0x192)]!==_0x4152f5[_0x235102(0x19a)][_0x235102(0x192)])throw CliErrors[_0x235102(0x199)](_0x235102(0x18c));const _0xc35e=new Map();for(const _0x47ecfc of _0x5b320c){if(_0xc35e[_0x235102(0x1a0)](_0x47ecfc[_0x235102(0x18d)]))throw CliErrors[_0x235102(0x199)](_0x235102(0x19e)+_0x47ecfc[_0x235102(0x18d)]);_0xc35e[_0x235102(0x1a5)](_0x47ecfc[_0x235102(0x18d)],_0x47ecfc);}const _0x3b11d8=[];for(const _0x59ae85 of _0x4152f5['files']){const _0x4bb2a4=_0xc35e[_0x235102(0x18a)](_0x59ae85[_0x235102(0x18d)]);if(!_0x4bb2a4)throw CliErrors[_0x235102(0x199)](_0x235102(0x1a2)+_0x59ae85['path']);if(_0x4bb2a4[_0x235102(0x19f)][_0x235102(0x192)]!==_0x59ae85[_0x235102(0x197)])throw CliErrors[_0x235102(0x199)](_0x235102(0x194)+_0x59ae85['path']);const _0x539a79=bufferSha256(_0x4bb2a4[_0x235102(0x19f)]);if(_0x539a79!==_0x59ae85[_0x235102(0x1a6)])throw CliErrors['validation']('Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20'+_0x59ae85[_0x235102(0x18d)]);_0x3b11d8[_0x235102(0x1b3)]({'path':_0x59ae85[_0x235102(0x18d)],'bytes':_0x4bb2a4[_0x235102(0x19f)]});}return normalizeLocalFiles(_0x3b11d8);}
1
+ (function(_0x242245,_0x56f275){const _0x4c5d15=a108_0x2586,_0x167fc9=_0x242245();while(!![]){try{const _0xc083b4=-parseInt(_0x4c5d15(0x15a))/0x1*(parseInt(_0x4c5d15(0x166))/0x2)+parseInt(_0x4c5d15(0x16e))/0x3+parseInt(_0x4c5d15(0x16d))/0x4*(-parseInt(_0x4c5d15(0x16c))/0x5)+parseInt(_0x4c5d15(0x173))/0x6+-parseInt(_0x4c5d15(0x164))/0x7*(parseInt(_0x4c5d15(0x157))/0x8)+parseInt(_0x4c5d15(0x172))/0x9*(parseInt(_0x4c5d15(0x150))/0xa)+-parseInt(_0x4c5d15(0x15c))/0xb*(-parseInt(_0x4c5d15(0x147))/0xc);if(_0xc083b4===_0x56f275)break;else _0x167fc9['push'](_0x167fc9['shift']());}catch(_0x1bae10){_0x167fc9['push'](_0x167fc9['shift']());}}}(a108_0x20a9,0xe59f3));import{CliErrors}from'../../errors.js';import{SKILL_FILE}from'./constants.js';import{bufferSha256,fileHash,fileTreeHash}from'./hashing.js';function a108_0x20a9(){const _0x5a9fe7=['Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.','string','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','ossPath','2477170ruKCNf','files','has','base64','Duplicate\x20Skill\x20package\x20entry:\x20','requireOssPath','map','56IAvGAF','toString','schemaVersion','1oUEuTw','zipSize','11wVIBYV','Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.','trim','object','get','toLowerCase','Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.','isArray','1696443kjjulM','validation','2760702YwlkvG','some','zipSha256','Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20','isSafeInteger','treeSha256','5HrhVFX','1805428VBGjIQ','5119725erGTAL','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','length','Runtime\x20Skill\x20package\x20size\x20mismatch.','36jwuxsX','2165856PSKzsN','Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20','Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','bytes','path','16923156qukhmt','Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20','sha256','Runtime\x20Skill\x20manifest\x20is\x20missing\x20','Missing\x20'];a108_0x20a9=function(){return _0x5a9fe7;};return a108_0x20a9();}import{fileContent,isSha256Hex,normalizeLocalFiles,normalizeManifestFiles}from'./local-files.js';import{createDeterministicZipPackage,parseZipPackage}from'./zip-codec.js';export function buildSkillPackage(_0x23262e){const _0x46b6de=a108_0x2586,_0x59e6a4=normalizeLocalFiles(_0x23262e);if(!_0x59e6a4[_0x46b6de(0x167)](_0x1c93ed=>_0x1c93ed[_0x46b6de(0x178)]===SKILL_FILE))throw CliErrors[_0x46b6de(0x165)](_0x46b6de(0x14b)+SKILL_FILE+'\x20in\x20Skill\x20file\x20package.');const _0x6b472a=localFilesToManifestFiles(_0x59e6a4),_0x5e41df=createDeterministicZipPackage(_0x59e6a4);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x6b472a),'zipSha256':bufferSha256(_0x5e41df),'zipSize':_0x5e41df['length'],'files':_0x6b472a},'packageBytes':_0x5e41df,'packageBase64':_0x5e41df[_0x46b6de(0x158)](_0x46b6de(0x153))};}export function verifyRuntimeSkillPackage(_0x8b6e6f,_0x585812){const _0x56a835=a108_0x2586,_0x39ceda=normalizePackageManifest(_0x8b6e6f,{'requireOssPath':![]});if(!_0x39ceda)throw CliErrors[_0x56a835(0x165)](_0x56a835(0x176));return extractAndVerifyPackage(_0x39ceda,_0x585812);}export function verifyRuntimeSkillBundle(_0x32c859,_0x542691){const _0x162867=a108_0x2586,_0x54afe0=normalizePackageManifest(_0x32c859,{'requireOssPath':![]});if(!_0x54afe0)throw CliErrors[_0x162867(0x165)](_0x162867(0x176));return extractAndVerifyPackageFiles(_0x54afe0,_0x542691);}export function tryNormalizePackageManifest(_0x248925){return normalizePackageManifest(_0x248925,{'requireOssPath':![]});}export function requirePackageBytes(_0x344f92,_0x37e958){const _0xe3807f=a108_0x2586;if(!_0x37e958||_0x37e958[_0xe3807f(0x170)]===0x0)throw CliErrors[_0xe3807f(0x165)](_0xe3807f(0x174)+_0x344f92);return _0x37e958;}export function extractDownloadedPackage(_0x5af25f){const _0x334703=a108_0x2586,_0x540896=parseZipPackage(_0x5af25f)[_0x334703(0x156)](_0x40dac6=>({'path':_0x40dac6['path'],'bytes':_0x40dac6['bytes']}));if(!_0x540896[_0x334703(0x167)](_0x3432a1=>_0x3432a1[_0x334703(0x178)]===SKILL_FILE))throw CliErrors['validation']('Runtime\x20Skill\x20package\x20is\x20missing\x20'+SKILL_FILE+'.');return normalizeLocalFiles(_0x540896);}function a108_0x2586(_0x192c7a,_0x21f8f6){_0x192c7a=_0x192c7a-0x147;const _0x20a952=a108_0x20a9();let _0x2586bd=_0x20a952[_0x192c7a];return _0x2586bd;}export function localFilesToManifestFiles(_0x16c8c4){const _0x31e088=a108_0x2586;return normalizeLocalFiles(_0x16c8c4)[_0x31e088(0x156)](_0x302949=>({'path':_0x302949[_0x31e088(0x178)],'sha256':fileHash(_0x302949),'size':fileContent(_0x302949)[_0x31e088(0x170)]}));}function normalizePackageManifest(_0x5caffe,_0x31c40d){const _0x4abcd8=a108_0x2586;if(!_0x5caffe||typeof _0x5caffe!==_0x4abcd8(0x15f)||Array[_0x4abcd8(0x163)](_0x5caffe))return undefined;const _0x546965=_0x5caffe,_0x38993e=typeof _0x546965[_0x4abcd8(0x14f)]===_0x4abcd8(0x14d)?_0x546965[_0x4abcd8(0x14f)][_0x4abcd8(0x15e)]():undefined;if(_0x31c40d[_0x4abcd8(0x155)]&&!_0x38993e)return undefined;if(!Array[_0x4abcd8(0x163)](_0x546965[_0x4abcd8(0x151)])||_0x546965[_0x4abcd8(0x151)]['length']===0x0)return undefined;if(!isSha256Hex(_0x546965[_0x4abcd8(0x16b)]))throw CliErrors[_0x4abcd8(0x165)](_0x4abcd8(0x15d));if(!isSha256Hex(_0x546965[_0x4abcd8(0x168)]))throw CliErrors[_0x4abcd8(0x165)](_0x4abcd8(0x16f));if(!Number[_0x4abcd8(0x16a)](_0x546965[_0x4abcd8(0x15b)])||_0x546965['zipSize']<0x0)throw CliErrors[_0x4abcd8(0x165)](_0x4abcd8(0x14e));const _0x3d5060=normalizeManifestFiles(_0x546965['files']);if(!_0x3d5060['some'](_0x47fd1e=>_0x47fd1e[_0x4abcd8(0x178)]===SKILL_FILE))throw CliErrors[_0x4abcd8(0x165)](_0x4abcd8(0x14a)+SKILL_FILE+'.');const _0xfa2d7c=fileTreeHash(_0x3d5060);if(_0xfa2d7c!==_0x546965[_0x4abcd8(0x16b)][_0x4abcd8(0x161)]())throw CliErrors[_0x4abcd8(0x165)](_0x4abcd8(0x162));return{'schemaVersion':Number[_0x4abcd8(0x16a)](_0x546965[_0x4abcd8(0x159)])?_0x546965['schemaVersion']:0x2,'ossPath':_0x38993e,'treeSha256':_0xfa2d7c,'zipSha256':_0x546965['zipSha256'][_0x4abcd8(0x161)](),'zipSize':_0x546965[_0x4abcd8(0x15b)],'files':_0x3d5060};}function extractAndVerifyPackage(_0x1bcc1b,_0xb27172){const _0x19eb0c=a108_0x2586,_0x22ce6f=normalizePackageManifest(_0x1bcc1b,{'requireOssPath':![]});if(!_0x22ce6f)throw CliErrors[_0x19eb0c(0x165)](_0x19eb0c(0x176));if(_0xb27172[_0x19eb0c(0x170)]!==_0x22ce6f[_0x19eb0c(0x15b)])throw CliErrors[_0x19eb0c(0x165)](_0x19eb0c(0x171));const _0x5599a6=bufferSha256(_0xb27172);if(_0x5599a6!==_0x22ce6f[_0x19eb0c(0x168)])throw CliErrors['validation']('Runtime\x20Skill\x20package\x20sha256\x20mismatch.');return extractAndVerifyPackageFiles(_0x22ce6f,_0xb27172);}function extractAndVerifyPackageFiles(_0x2fe97b,_0x14b901){const _0x267b61=a108_0x2586,_0x3f2f15=parseZipPackage(_0x14b901);if(_0x3f2f15[_0x267b61(0x170)]!==_0x2fe97b['files']['length'])throw CliErrors[_0x267b61(0x165)](_0x267b61(0x14c));const _0xd7801=new Map();for(const _0x1811f2 of _0x3f2f15){if(_0xd7801[_0x267b61(0x152)](_0x1811f2[_0x267b61(0x178)]))throw CliErrors[_0x267b61(0x165)](_0x267b61(0x154)+_0x1811f2[_0x267b61(0x178)]);_0xd7801['set'](_0x1811f2[_0x267b61(0x178)],_0x1811f2);}const _0x68e5db=[];for(const _0x231530 of _0x2fe97b['files']){const _0x7fdd7b=_0xd7801[_0x267b61(0x160)](_0x231530[_0x267b61(0x178)]);if(!_0x7fdd7b)throw CliErrors[_0x267b61(0x165)](_0x267b61(0x148)+_0x231530[_0x267b61(0x178)]);if(_0x7fdd7b[_0x267b61(0x177)][_0x267b61(0x170)]!==_0x231530['size'])throw CliErrors[_0x267b61(0x165)](_0x267b61(0x175)+_0x231530[_0x267b61(0x178)]);const _0x302d44=bufferSha256(_0x7fdd7b[_0x267b61(0x177)]);if(_0x302d44!==_0x231530[_0x267b61(0x149)])throw CliErrors[_0x267b61(0x165)](_0x267b61(0x169)+_0x231530['path']);_0x68e5db['push']({'path':_0x231530[_0x267b61(0x178)],'bytes':_0x7fdd7b[_0x267b61(0x177)]});}return normalizeLocalFiles(_0x68e5db);}
@@ -1 +1 @@
1
- (function(_0x4abe17,_0x144349){var _0x52feb2=a109_0x3a31,_0x76a644=_0x4abe17();while(!![]){try{var _0x487c53=parseInt(_0x52feb2(0x1d6))/0x1*(-parseInt(_0x52feb2(0x1da))/0x2)+parseInt(_0x52feb2(0x1d9))/0x3+-parseInt(_0x52feb2(0x1d4))/0x4*(-parseInt(_0x52feb2(0x1dc))/0x5)+parseInt(_0x52feb2(0x1d3))/0x6*(parseInt(_0x52feb2(0x1d5))/0x7)+parseInt(_0x52feb2(0x1dd))/0x8*(parseInt(_0x52feb2(0x1d7))/0x9)+parseInt(_0x52feb2(0x1d8))/0xa*(-parseInt(_0x52feb2(0x1db))/0xb)+-parseInt(_0x52feb2(0x1d1))/0xc*(parseInt(_0x52feb2(0x1d2))/0xd);if(_0x487c53===_0x144349)break;else _0x76a644['push'](_0x76a644['shift']());}catch(_0x28a809){_0x76a644['push'](_0x76a644['shift']());}}}(a109_0x1e6c,0xe1c77));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_0x1e6c(){var _0x39a0b8=['328396RfoNkV','44uQPgLx','2289565mxMWcT','71912Tgwrgs','6252ExmKVD','35347LfxvEb','366AOblTU','8oJknmk','174139OKhgcF','2VqirYf','423pGzYRZ','1203170pwTqzu','885744sqVTnG'];a109_0x1e6c=function(){return _0x39a0b8;};return a109_0x1e6c();}function a109_0x3a31(_0x3fcc03,_0x45c529){_0x3fcc03=_0x3fcc03-0x1d1;var _0x1e6cd3=a109_0x1e6c();var _0x3a31cf=_0x1e6cd3[_0x3fcc03];return _0x3a31cf;}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
+ (function(_0x40ce5b,_0x5dca35){var _0x5aad54=a109_0x1d5c,_0x16a7c1=_0x40ce5b();while(!![]){try{var _0x2f8c79=-parseInt(_0x5aad54(0xcb))/0x1+parseInt(_0x5aad54(0xc9))/0x2*(-parseInt(_0x5aad54(0xca))/0x3)+-parseInt(_0x5aad54(0xc5))/0x4+-parseInt(_0x5aad54(0xc6))/0x5+parseInt(_0x5aad54(0xc7))/0x6*(parseInt(_0x5aad54(0xcc))/0x7)+-parseInt(_0x5aad54(0xcd))/0x8*(-parseInt(_0x5aad54(0xc8))/0x9)+parseInt(_0x5aad54(0xce))/0xa;if(_0x2f8c79===_0x5dca35)break;else _0x16a7c1['push'](_0x16a7c1['shift']());}catch(_0x38f1cd){_0x16a7c1['push'](_0x16a7c1['shift']());}}}(a109_0x237d,0xedd90));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';function a109_0x237d(){var _0x490e2a=['3036680jyWywA','6qPXlOh','9bHBcbg','14UmEQIe','456447gewVft','1610565oWVXLw','12531694uilybs','14284784nhKDUC','20036900vEtJqx','5289448Mnbjca'];a109_0x237d=function(){return _0x490e2a;};return a109_0x237d();}function a109_0x1d5c(_0x4e2727,_0x263639){_0x4e2727=_0x4e2727-0xc5;var _0x237d2a=a109_0x237d();var _0x1d5cee=_0x237d2a[_0x4e2727];return _0x1d5cee;}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(_0x52d7a3,_0xce41d1){const _0x2061f9=a110_0x2d7b,_0x43eda3=_0x52d7a3();while(!![]){try{const _0x977dd3=parseInt(_0x2061f9(0x111))/0x1+-parseInt(_0x2061f9(0x118))/0x2*(parseInt(_0x2061f9(0x117))/0x3)+parseInt(_0x2061f9(0x113))/0x4*(-parseInt(_0x2061f9(0x115))/0x5)+parseInt(_0x2061f9(0x116))/0x6+parseInt(_0x2061f9(0x11a))/0x7+-parseInt(_0x2061f9(0x114))/0x8*(-parseInt(_0x2061f9(0x119))/0x9)+-parseInt(_0x2061f9(0x112))/0xa;if(_0x977dd3===_0xce41d1)break;else _0x43eda3['push'](_0x43eda3['shift']());}catch(_0x508d12){_0x43eda3['push'](_0x43eda3['shift']());}}}(a110_0x1754,0xcec03));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});function a110_0x2d7b(_0x463354,_0x281dad){_0x463354=_0x463354-0x111;const _0x175451=a110_0x1754();let _0x2d7b25=_0x175451[_0x463354];return _0x2d7b25;}function a110_0x1754(){const _0x118d1f=['2143953ylheSo','1557465lQdonR','1483584lUKhdT','13500930EOkAUx','4jLAwXj','56eDoroY','617305EyhPoZ','2371782USvVtB','2172735DcZhCH','4apNLXl'];a110_0x1754=function(){return _0x118d1f;};return a110_0x1754();}
1
+ function a110_0xf642(_0x299ed4,_0x52379c){_0x299ed4=_0x299ed4-0xa8;const _0x43fe4d=a110_0x43fe();let _0xf642f0=_0x43fe4d[_0x299ed4];return _0xf642f0;}(function(_0x3328fc,_0x113d1d){const _0x45c4f9=a110_0xf642,_0xf0d640=_0x3328fc();while(!![]){try{const _0x19911e=-parseInt(_0x45c4f9(0xaa))/0x1+-parseInt(_0x45c4f9(0xa8))/0x2+parseInt(_0x45c4f9(0xb0))/0x3+parseInt(_0x45c4f9(0xaf))/0x4+parseInt(_0x45c4f9(0xa9))/0x5*(-parseInt(_0x45c4f9(0xad))/0x6)+parseInt(_0x45c4f9(0xac))/0x7*(parseInt(_0x45c4f9(0xae))/0x8)+-parseInt(_0x45c4f9(0xab))/0x9;if(_0x19911e===_0x113d1d)break;else _0xf0d640['push'](_0xf0d640['shift']());}catch(_0xa16585){_0xf0d640['push'](_0xf0d640['shift']());}}}(a110_0x43fe,0x66b10));function a110_0x43fe(){const _0xc113a8=['1503843ZFrPao','1093040WYcQtO','1385RkipRj','90998OsDKfT','1188171qjZLCw','187313aAmRzw','12516daJLRn','208lAtJXP','2283872SMycel'];a110_0x43fe=function(){return _0xc113a8;};return a110_0x43fe();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- function a111_0x45ba(_0x1a4b2f,_0x187e38){_0x1a4b2f=_0x1a4b2f-0x1e3;const _0x37379b=a111_0x3737();let _0x45ba72=_0x37379b[_0x1a4b2f];return _0x45ba72;}const a111_0x31846=a111_0x45ba;function a111_0x3737(){const _0x238e04=['winstonLogger','unknown','addColors','31749750YZUPSA','setLogPath','success','mkdirSync','1169205TbGlda','errors','1086037YAeizl','rawCommand','parse','command','info','message','map','Failed\x20to\x20read\x20logs:','1241416bXIvpR','red','setRawCommand','existsSync','clearLogs','utf8','now','timestamp','logFilePath','createLogger','2973688BcQSYr','Failed:\x20','Failed\x20to\x20clear\x20logs:','logTask','error','details','combine','23615LklAAh','Completed:\x20','level','green','writeFileSync','format','duration','18rvUKIT','currentRawCommand','trim','split','readFileSync','filter','warn','dirname','812Vqcslr','242298iCldrC','File','join','logFileName','138zMUZCE','getWinstonInstance','Starting:\x20','toISOString','initWinstonLogger'];a111_0x3737=function(){return _0x238e04;};return a111_0x3737();}(function(_0x2af88c,_0x31314d){const _0x467c4c=a111_0x45ba,_0x466fe9=_0x2af88c();while(!![]){try{const _0x4539dd=parseInt(_0x467c4c(0x218))/0x1+parseInt(_0x467c4c(0x1e5))/0x2+-parseInt(_0x467c4c(0x216))/0x3+-parseInt(_0x467c4c(0x205))/0x4*(-parseInt(_0x467c4c(0x1f6))/0x5)+parseInt(_0x467c4c(0x20a))/0x6*(parseInt(_0x467c4c(0x206))/0x7)+-parseInt(_0x467c4c(0x1ef))/0x8*(-parseInt(_0x467c4c(0x1fd))/0x9)+-parseInt(_0x467c4c(0x212))/0xa;if(_0x4539dd===_0x31314d)break;else _0x466fe9['push'](_0x466fe9['shift']());}catch(_0x242e8e){_0x466fe9['push'](_0x466fe9['shift']());}}}(a111_0x3737,0x9c55c));import a111_0x413daa from'winston';import a111_0x1ecf40 from'node:fs';import a111_0x1d8765 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a111_0x31846(0x20f)];[a111_0x31846(0x1ed)]='';[a111_0x31846(0x1fe)]='';constructor(){}[a111_0x31846(0x1e7)](_0x64b8c7){const _0x4cfe9a=a111_0x31846;this[_0x4cfe9a(0x1fe)]=_0x64b8c7;}[a111_0x31846(0x213)](_0x37bad6){const _0x142d68=a111_0x31846;this[_0x142d68(0x1ed)]=a111_0x1d8765[_0x142d68(0x208)](_0x37bad6,PRODUCT_CONFIG[_0x142d68(0x209)]),this[_0x142d68(0x20f)]&&this[_0x142d68(0x20f)]['clear'](),this['initWinstonLogger']();}[a111_0x31846(0x20e)](){const _0x52f29f=a111_0x31846,_0x83df24=a111_0x1d8765[_0x52f29f(0x204)](this[_0x52f29f(0x1ed)]);!a111_0x1ecf40[_0x52f29f(0x1e8)](_0x83df24)&&a111_0x1ecf40[_0x52f29f(0x215)](_0x83df24,{'recursive':!![]});const _0x5dda97=a111_0x413daa[_0x52f29f(0x1fb)][_0x52f29f(0x1f5)](a111_0x413daa[_0x52f29f(0x1fb)][_0x52f29f(0x1ec)](),a111_0x413daa[_0x52f29f(0x1fb)][_0x52f29f(0x217)]({'stack':!![]}),a111_0x413daa[_0x52f29f(0x1fb)]['printf'](_0x47c0b6=>{const _0x364e03=_0x52f29f,_0x4fd052={'timestamp':_0x47c0b6[_0x364e03(0x1ec)]||new Date()[_0x364e03(0x20d)](),'level':_0x47c0b6[_0x364e03(0x1f8)]||_0x364e03(0x21c),'command':_0x47c0b6[_0x364e03(0x21b)]||_0x364e03(0x210),'rawCommand':_0x47c0b6[_0x364e03(0x219)]||this[_0x364e03(0x1fe)]||undefined,'message':_0x47c0b6['message']||'','duration':_0x47c0b6[_0x364e03(0x1fc)]||undefined,'details':_0x47c0b6[_0x364e03(0x1f4)]||undefined};return JSON['stringify'](_0x4fd052);}));this[_0x52f29f(0x20f)]=a111_0x413daa[_0x52f29f(0x1ee)]({'level':'info','format':_0x5dda97,'transports':[new a111_0x413daa['transports'][(_0x52f29f(0x207))]({'filename':this[_0x52f29f(0x1ed)],'level':'info'})],'silent':![]}),a111_0x413daa[_0x52f29f(0x211)]({'success':_0x52f29f(0x1f9),'error':_0x52f29f(0x1e6),'warn':'yellow','info':'blue'});}[a111_0x31846(0x21c)](_0x27eef0,_0x1ab693,_0x2b68c6){const _0x4826e8=a111_0x31846;if(!this[_0x4826e8(0x1ed)]||!this[_0x4826e8(0x20f)])return;this[_0x4826e8(0x20f)]['info'](_0x1ab693,{'command':_0x27eef0,'details':_0x2b68c6});}[a111_0x31846(0x214)](_0x493c49,_0x884b1e,_0x132db5,_0x12d1e5){const _0x2f1d71=a111_0x31846;if(!this[_0x2f1d71(0x1ed)]||!this[_0x2f1d71(0x20f)])return;this[_0x2f1d71(0x20f)]['log'](_0x2f1d71(0x21c),_0x884b1e,{'level':_0x2f1d71(0x214),'command':_0x493c49,'duration':_0x132db5,'details':_0x12d1e5});}[a111_0x31846(0x1f3)](_0x4d6169,_0x541217,_0x1a91b1){const _0x2f54ea=a111_0x31846;if(!this[_0x2f54ea(0x1ed)]||!this['winstonLogger'])return;this[_0x2f54ea(0x20f)][_0x2f54ea(0x1f3)](_0x541217,{'command':_0x4d6169,'details':_0x1a91b1});}[a111_0x31846(0x203)](_0x1bed23,_0x5eafc5,_0x52c8c2){const _0x4287d8=a111_0x31846;if(!this[_0x4287d8(0x1ed)]||!this[_0x4287d8(0x20f)])return;this['winstonLogger'][_0x4287d8(0x203)](_0x5eafc5,{'command':_0x1bed23,'details':_0x52c8c2});}async[a111_0x31846(0x1f2)](_0x96a17d,_0x2d8c1c,_0x44539d){const _0x46bfd4=a111_0x31846,_0x84d74e=Date[_0x46bfd4(0x1eb)]();this[_0x46bfd4(0x21c)](_0x96a17d,_0x46bfd4(0x20c)+_0x2d8c1c);try{const _0x208f79=await _0x44539d(),_0x3e9055=Date[_0x46bfd4(0x1eb)]()-_0x84d74e;return this[_0x46bfd4(0x214)](_0x96a17d,_0x46bfd4(0x1f7)+_0x2d8c1c,_0x3e9055),_0x208f79;}catch(_0x478b25){const _0x3b6e56=Date[_0x46bfd4(0x1eb)]()-_0x84d74e;this[_0x46bfd4(0x1f3)](_0x96a17d,_0x46bfd4(0x1f0)+_0x2d8c1c,{'error':_0x478b25 instanceof Error?_0x478b25[_0x46bfd4(0x21d)]:String(_0x478b25),'duration':_0x3b6e56});throw _0x478b25;}}['readLogs'](){const _0x443ac6=a111_0x31846;try{if(!a111_0x1ecf40['existsSync'](this[_0x443ac6(0x1ed)]))return[];const _0x1d1a08=a111_0x1ecf40[_0x443ac6(0x201)](this[_0x443ac6(0x1ed)],_0x443ac6(0x1ea));return _0x1d1a08[_0x443ac6(0x200)](/\r?\n/)[_0x443ac6(0x202)](_0x152394=>_0x152394[_0x443ac6(0x1ff)]())[_0x443ac6(0x1e3)](_0x14f21e=>JSON[_0x443ac6(0x21a)](_0x14f21e));}catch(_0xd37c5a){return console[_0x443ac6(0x203)](_0x443ac6(0x1e4),_0xd37c5a),[];}}[a111_0x31846(0x1e9)](){const _0x310f3b=a111_0x31846;try{a111_0x1ecf40['existsSync'](this['logFilePath'])&&a111_0x1ecf40[_0x310f3b(0x1fa)](this[_0x310f3b(0x1ed)],'',_0x310f3b(0x1ea));}catch(_0x279d46){console[_0x310f3b(0x203)](_0x310f3b(0x1f1),_0x279d46);}}[a111_0x31846(0x20b)](){const _0xd09d98=a111_0x31846;return this[_0xd09d98(0x20f)];}}export const logger=new Logger();
1
+ function a111_0x4113(_0x3f3fd0,_0x26af4c){_0x3f3fd0=_0x3f3fd0-0x158;const _0x192621=a111_0x1926();let _0x4113d0=_0x192621[_0x3f3fd0];return _0x4113d0;}const a111_0x53fe89=a111_0x4113;(function(_0x427fad,_0x2d3d0e){const _0x448149=a111_0x4113,_0x150997=_0x427fad();while(!![]){try{const _0x4b7f85=-parseInt(_0x448149(0x179))/0x1*(-parseInt(_0x448149(0x166))/0x2)+parseInt(_0x448149(0x187))/0x3+-parseInt(_0x448149(0x181))/0x4+-parseInt(_0x448149(0x17a))/0x5+-parseInt(_0x448149(0x17e))/0x6*(-parseInt(_0x448149(0x168))/0x7)+parseInt(_0x448149(0x18e))/0x8*(parseInt(_0x448149(0x182))/0x9)+-parseInt(_0x448149(0x188))/0xa;if(_0x4b7f85===_0x2d3d0e)break;else _0x150997['push'](_0x150997['shift']());}catch(_0xd317a4){_0x150997['push'](_0x150997['shift']());}}}(a111_0x1926,0xe69d5));import a111_0x33b4ff from'winston';import a111_0x1af243 from'node:fs';function a111_0x1926(){const _0x5edead=['8fQgmLA','createLogger','log','Failed\x20to\x20read\x20logs:','setRawCommand','details','combine','filter','duration','existsSync','message','readFileSync','now','stringify','error','4rinGMx','setLogPath','5129481GpdFpx','utf8','warn','clear','writeFileSync','winstonLogger','toISOString','getWinstonInstance','info','Failed:\x20','rawCommand','transports','split','currentRawCommand','initWinstonLogger','logTask','format','561595CwKmXk','373790JiZHYA','clearLogs','Completed:\x20','addColors','12KKSbTA','timestamp','join','7201848ZFjzVc','6043473QueGjx','Starting:\x20','logFileName','File','printf','3691161TagHPz','16708230ImaoES','red','success','errors','logFilePath','yellow'];a111_0x1926=function(){return _0x5edead;};return a111_0x1926();}import a111_0x43c973 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a111_0x53fe89(0x16d)];[a111_0x53fe89(0x18c)]='';[a111_0x53fe89(0x175)]='';constructor(){}[a111_0x53fe89(0x15b)](_0x220b2a){const _0x58fd1f=a111_0x53fe89;this[_0x58fd1f(0x175)]=_0x220b2a;}[a111_0x53fe89(0x167)](_0x2faf97){const _0x2d2376=a111_0x53fe89;this['logFilePath']=a111_0x43c973[_0x2d2376(0x180)](_0x2faf97,PRODUCT_CONFIG[_0x2d2376(0x184)]),this[_0x2d2376(0x16d)]&&this['winstonLogger'][_0x2d2376(0x16b)](),this['initWinstonLogger']();}[a111_0x53fe89(0x176)](){const _0x59c627=a111_0x53fe89,_0x40ac82=a111_0x43c973['dirname'](this[_0x59c627(0x18c)]);!a111_0x1af243[_0x59c627(0x160)](_0x40ac82)&&a111_0x1af243['mkdirSync'](_0x40ac82,{'recursive':!![]});const _0x5b46f6=a111_0x33b4ff[_0x59c627(0x178)][_0x59c627(0x15d)](a111_0x33b4ff['format'][_0x59c627(0x17f)](),a111_0x33b4ff[_0x59c627(0x178)][_0x59c627(0x18b)]({'stack':!![]}),a111_0x33b4ff[_0x59c627(0x178)][_0x59c627(0x186)](_0x5781bf=>{const _0x163430=_0x59c627,_0x19314e={'timestamp':_0x5781bf['timestamp']||new Date()[_0x163430(0x16e)](),'level':_0x5781bf['level']||_0x163430(0x170),'command':_0x5781bf['command']||'unknown','rawCommand':_0x5781bf[_0x163430(0x172)]||this[_0x163430(0x175)]||undefined,'message':_0x5781bf['message']||'','duration':_0x5781bf[_0x163430(0x15f)]||undefined,'details':_0x5781bf[_0x163430(0x15c)]||undefined};return JSON[_0x163430(0x164)](_0x19314e);}));this[_0x59c627(0x16d)]=a111_0x33b4ff[_0x59c627(0x158)]({'level':_0x59c627(0x170),'format':_0x5b46f6,'transports':[new a111_0x33b4ff[(_0x59c627(0x173))][(_0x59c627(0x185))]({'filename':this[_0x59c627(0x18c)],'level':_0x59c627(0x170)})],'silent':![]}),a111_0x33b4ff[_0x59c627(0x17d)]({'success':'green','error':_0x59c627(0x189),'warn':_0x59c627(0x18d),'info':'blue'});}[a111_0x53fe89(0x170)](_0x38efa6,_0x2aa521,_0x46b1b){const _0x7f5c8f=a111_0x53fe89;if(!this[_0x7f5c8f(0x18c)]||!this[_0x7f5c8f(0x16d)])return;this[_0x7f5c8f(0x16d)][_0x7f5c8f(0x170)](_0x2aa521,{'command':_0x38efa6,'details':_0x46b1b});}['success'](_0xe8566,_0x43b791,_0xe16843,_0x38c72a){const _0x5db4da=a111_0x53fe89;if(!this['logFilePath']||!this['winstonLogger'])return;this['winstonLogger'][_0x5db4da(0x159)]('info',_0x43b791,{'level':_0x5db4da(0x18a),'command':_0xe8566,'duration':_0xe16843,'details':_0x38c72a});}[a111_0x53fe89(0x165)](_0x348302,_0x483b03,_0x51eaaf){const _0x2e68d1=a111_0x53fe89;if(!this[_0x2e68d1(0x18c)]||!this[_0x2e68d1(0x16d)])return;this[_0x2e68d1(0x16d)][_0x2e68d1(0x165)](_0x483b03,{'command':_0x348302,'details':_0x51eaaf});}[a111_0x53fe89(0x16a)](_0x12420a,_0x39c08a,_0x37378e){const _0x2b7f50=a111_0x53fe89;if(!this['logFilePath']||!this[_0x2b7f50(0x16d)])return;this['winstonLogger'][_0x2b7f50(0x16a)](_0x39c08a,{'command':_0x12420a,'details':_0x37378e});}async[a111_0x53fe89(0x177)](_0x1babc8,_0x39f9b5,_0x5e1364){const _0x30dc40=a111_0x53fe89,_0x435421=Date[_0x30dc40(0x163)]();this[_0x30dc40(0x170)](_0x1babc8,_0x30dc40(0x183)+_0x39f9b5);try{const _0x5b81f9=await _0x5e1364(),_0x33fa64=Date['now']()-_0x435421;return this[_0x30dc40(0x18a)](_0x1babc8,_0x30dc40(0x17c)+_0x39f9b5,_0x33fa64),_0x5b81f9;}catch(_0x1fd8f0){const _0x3ab963=Date['now']()-_0x435421;this['error'](_0x1babc8,_0x30dc40(0x171)+_0x39f9b5,{'error':_0x1fd8f0 instanceof Error?_0x1fd8f0[_0x30dc40(0x161)]:String(_0x1fd8f0),'duration':_0x3ab963});throw _0x1fd8f0;}}['readLogs'](){const _0x18d548=a111_0x53fe89;try{if(!a111_0x1af243[_0x18d548(0x160)](this['logFilePath']))return[];const _0x1f966f=a111_0x1af243[_0x18d548(0x162)](this['logFilePath'],'utf8');return _0x1f966f[_0x18d548(0x174)](/\r?\n/)[_0x18d548(0x15e)](_0x3b3149=>_0x3b3149['trim']())['map'](_0x380397=>JSON['parse'](_0x380397));}catch(_0x10bbb7){return console[_0x18d548(0x16a)](_0x18d548(0x15a),_0x10bbb7),[];}}[a111_0x53fe89(0x17b)](){const _0x2ed102=a111_0x53fe89;try{a111_0x1af243[_0x2ed102(0x160)](this[_0x2ed102(0x18c)])&&a111_0x1af243[_0x2ed102(0x16c)](this[_0x2ed102(0x18c)],'',_0x2ed102(0x169));}catch(_0x2cbc02){console['warn']('Failed\x20to\x20clear\x20logs:',_0x2cbc02);}}[a111_0x53fe89(0x16f)](){const _0x28d258=a111_0x53fe89;return this[_0x28d258(0x16d)];}}export const logger=new Logger();
@@ -1 +1 @@
1
- (function(_0x38e7a6,_0x508778){const _0x28136c=a112_0x44e6,_0x1b13f9=_0x38e7a6();while(!![]){try{const _0x48eed5=-parseInt(_0x28136c(0x98))/0x1*(parseInt(_0x28136c(0x8e))/0x2)+-parseInt(_0x28136c(0x81))/0x3*(parseInt(_0x28136c(0x88))/0x4)+-parseInt(_0x28136c(0x8c))/0x5+-parseInt(_0x28136c(0x89))/0x6+-parseInt(_0x28136c(0x92))/0x7*(parseInt(_0x28136c(0x84))/0x8)+-parseInt(_0x28136c(0x80))/0x9+-parseInt(_0x28136c(0x8f))/0xa*(-parseInt(_0x28136c(0x93))/0xb);if(_0x48eed5===_0x508778)break;else _0x1b13f9['push'](_0x1b13f9['shift']());}catch(_0x346c5d){_0x1b13f9['push'](_0x1b13f9['shift']());}}}(a112_0x5aee,0x7bbde));import{CliErrors}from'../errors.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x2f97e1){const _0x219f7a=a112_0x44e6;if(!_0x2f97e1)return undefined;try{return JSON[_0x219f7a(0x87)](_0x2f97e1);}catch{throw CliErrors[_0x219f7a(0x9b)](_0x219f7a(0x8d)+_0x2f97e1);}}export function parseJsonParamsValue(_0x236037){const _0x44156c=a112_0x44e6;if(!_0x236037)return undefined;try{return JSON[_0x44156c(0x87)](_0x236037);}catch{throw CliErrors['validation'](_0x44156c(0x8d)+_0x236037);}}export function parseBatchCreateItemsFromParams(_0x488614){const _0xce8807=a112_0x44e6;if(Array['isArray'](_0x488614))return _0x488614;if(_0x488614!==null&&_0x488614!==undefined&&typeof _0x488614===_0xce8807(0x86)&&Array[_0xce8807(0x95)](_0x488614[_0xce8807(0x96)]))return _0x488614['items'];throw CliErrors[_0xce8807(0x9b)]('batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}',_0xce8807(0x85));}function a112_0x5aee(){const _0x483d0a=['string','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','8014887gDbeIq','447906QlOYei','data\x20update\x20--params.','length','98976ZgSgVf','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','object','parse','4tppWwm','2573004aDMflc','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','\x20records\x20per\x20call;\x20received\x20','2412970XIbJiN','Invalid\x20JSON\x20for\x20--params:\x20','465026CkmQYj','8489590afvLhn','data\x20update\x20can\x20update\x20at\x20most\x20','id[','399GFYtWG','44kOnDnx','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','isArray','items','join','1VFDyHF','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','number','validation','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.'];a112_0x5aee=function(){return _0x483d0a;};return a112_0x5aee();}function parseDataUpdateId(_0x447c15,_0x14c0ea){const _0x208097=a112_0x44e6;if(typeof _0x447c15===_0x208097(0x9a)&&Number['isSafeInteger'](_0x447c15)&&_0x447c15>0x0)return _0x447c15;if(typeof _0x447c15===_0x208097(0x9d)){if(/^[1-9]\d*$/['test'](_0x447c15))return _0x447c15;}throw CliErrors[_0x208097(0x9b)](_0x208097(0x82)+_0x14c0ea+_0x208097(0x8a));}export function parseUpdateIdsFromParams(_0x48667b){const _0x2eff43=a112_0x44e6;if(_0x48667b===null||_0x48667b===undefined||typeof _0x48667b!==_0x2eff43(0x86)||Array[_0x2eff43(0x95)](_0x48667b))throw CliErrors[_0x2eff43(0x9b)](_0x2eff43(0x9c),_0x2eff43(0x9e));const _0x5de42f=_0x48667b['id'];if(_0x5de42f===undefined||_0x5de42f===null)throw CliErrors[_0x2eff43(0x9b)](_0x2eff43(0x99),_0x2eff43(0x9e));const _0xd4b549=Array[_0x2eff43(0x95)](_0x5de42f)?_0x5de42f:[_0x5de42f];if(_0xd4b549['length']===0x0)throw CliErrors['validation'](_0x2eff43(0x94));if(_0xd4b549[_0x2eff43(0x83)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x2eff43(0x9b)](_0x2eff43(0x90)+MAX_DATA_UPDATE_IDS+_0x2eff43(0x8b)+_0xd4b549[_0x2eff43(0x83)]+'.');return _0xd4b549['map']((_0x40b89f,_0x4a870d)=>parseDataUpdateId(_0x40b89f,Array['isArray'](_0x5de42f)?_0x2eff43(0x91)+_0x4a870d+']':'id'));}function a112_0x44e6(_0x121794,_0x29c54f){_0x121794=_0x121794-0x80;const _0x5aee4f=a112_0x5aee();let _0x44e6f0=_0x5aee4f[_0x121794];return _0x44e6f0;}export function normalizeUpdateParamsForRuntime(_0x474592,_0x48b5b5){const _0x18f51c=a112_0x44e6;if(Array[_0x18f51c(0x95)](_0x474592['id'])&&_0x48b5b5['length']>0x1)return{..._0x474592,'id':_0x48b5b5[_0x18f51c(0x97)](',')};return _0x474592;}
1
+ (function(_0x4f1ca7,_0x100987){const _0x58db7c=a112_0x1a43,_0x2f87c5=_0x4f1ca7();while(!![]){try{const _0x1951f2=-parseInt(_0x58db7c(0x7c))/0x1*(-parseInt(_0x58db7c(0x69))/0x2)+parseInt(_0x58db7c(0x83))/0x3*(parseInt(_0x58db7c(0x6c))/0x4)+-parseInt(_0x58db7c(0x7d))/0x5+-parseInt(_0x58db7c(0x84))/0x6*(parseInt(_0x58db7c(0x80))/0x7)+-parseInt(_0x58db7c(0x77))/0x8*(parseInt(_0x58db7c(0x6b))/0x9)+-parseInt(_0x58db7c(0x7a))/0xa*(-parseInt(_0x58db7c(0x78))/0xb)+-parseInt(_0x58db7c(0x82))/0xc;if(_0x1951f2===_0x100987)break;else _0x2f87c5['push'](_0x2f87c5['shift']());}catch(_0x5ea634){_0x2f87c5['push'](_0x2f87c5['shift']());}}}(a112_0x5878,0x62521));import{CliErrors}from'../errors.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x54df34){const _0x5d6371=a112_0x1a43;if(!_0x54df34)return undefined;try{return JSON[_0x5d6371(0x6e)](_0x54df34);}catch{throw CliErrors[_0x5d6371(0x85)](_0x5d6371(0x7e)+_0x54df34);}}export function parseJsonParamsValue(_0x522bf9){const _0x2c4963=a112_0x1a43;if(!_0x522bf9)return undefined;try{return JSON[_0x2c4963(0x6e)](_0x522bf9);}catch{throw CliErrors['validation'](_0x2c4963(0x7e)+_0x522bf9);}}export function parseBatchCreateItemsFromParams(_0x3076c9){const _0x49aff3=a112_0x1a43;if(Array['isArray'](_0x3076c9))return _0x3076c9;if(_0x3076c9!==null&&_0x3076c9!==undefined&&typeof _0x3076c9==='object'&&Array['isArray'](_0x3076c9[_0x49aff3(0x75)]))return _0x3076c9['items'];throw CliErrors['validation']('batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}',_0x49aff3(0x79));}function a112_0x1a43(_0x117a4b,_0xaab2b9){_0x117a4b=_0x117a4b-0x69;const _0x5878cd=a112_0x5878();let _0x1a43ed=_0x5878cd[_0x117a4b];return _0x1a43ed;}function parseDataUpdateId(_0x216c00,_0x134c8e){const _0x22647c=a112_0x1a43;if(typeof _0x216c00===_0x22647c(0x76)&&Number[_0x22647c(0x71)](_0x216c00)&&_0x216c00>0x0)return _0x216c00;if(typeof _0x216c00==='string'){if(/^[1-9]\d*$/[_0x22647c(0x7b)](_0x216c00))return _0x216c00;}throw CliErrors['validation'](_0x22647c(0x7f)+_0x134c8e+_0x22647c(0x6d));}export function parseUpdateIdsFromParams(_0x623c4f){const _0x42716f=a112_0x1a43;if(_0x623c4f===null||_0x623c4f===undefined||typeof _0x623c4f!==_0x42716f(0x72)||Array[_0x42716f(0x81)](_0x623c4f))throw CliErrors['validation']('data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.',_0x42716f(0x6f));const _0x415402=_0x623c4f['id'];if(_0x415402===undefined||_0x415402===null)throw CliErrors['validation']('data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.',_0x42716f(0x6f));const _0x406bff=Array['isArray'](_0x415402)?_0x415402:[_0x415402];if(_0x406bff[_0x42716f(0x74)]===0x0)throw CliErrors[_0x42716f(0x85)]('data\x20update\x20id\x20array\x20cannot\x20be\x20empty.');if(_0x406bff[_0x42716f(0x74)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x42716f(0x85)]('data\x20update\x20can\x20update\x20at\x20most\x20'+MAX_DATA_UPDATE_IDS+_0x42716f(0x70)+_0x406bff[_0x42716f(0x74)]+'.');return _0x406bff[_0x42716f(0x73)]((_0x2dd40d,_0x5e6172)=>parseDataUpdateId(_0x2dd40d,Array[_0x42716f(0x81)](_0x415402)?'id['+_0x5e6172+']':'id'));}function a112_0x5878(){const _0x34f309=['100140HXfVWm','test','77JchKMy','3460620mmvwSM','Invalid\x20JSON\x20for\x20--params:\x20','data\x20update\x20--params.','1489922pLCOwP','isArray','435852iYegbu','1859727ZhtUYf','6QrQRPK','validation','9134GXbQAA','join','121878xzRPXy','4EyKawM','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','parse','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','\x20records\x20per\x20call;\x20received\x20','isSafeInteger','object','map','length','items','number','200PeXENQ','781GdYNXY','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27'];a112_0x5878=function(){return _0x34f309;};return a112_0x5878();}export function normalizeUpdateParamsForRuntime(_0x1d6dbb,_0x59e993){const _0xc7e8a9=a112_0x1a43;if(Array[_0xc7e8a9(0x81)](_0x1d6dbb['id'])&&_0x59e993[_0xc7e8a9(0x74)]>0x1)return{..._0x1d6dbb,'id':_0x59e993[_0xc7e8a9(0x6a)](',')};return _0x1d6dbb;}
@@ -1 +1 @@
1
- const a113_0x15a622=a113_0x51e1;(function(_0x1b9ae2,_0x3b47fd){const _0x2b90ba=a113_0x51e1,_0x3bbeab=_0x1b9ae2();while(!![]){try{const _0x3d3c0f=parseInt(_0x2b90ba(0x1cf))/0x1*(parseInt(_0x2b90ba(0x1cd))/0x2)+parseInt(_0x2b90ba(0x1d2))/0x3+parseInt(_0x2b90ba(0x1d0))/0x4*(-parseInt(_0x2b90ba(0x1d4))/0x5)+-parseInt(_0x2b90ba(0x1ca))/0x6+-parseInt(_0x2b90ba(0x1c9))/0x7+parseInt(_0x2b90ba(0x1cc))/0x8*(parseInt(_0x2b90ba(0x1cb))/0x9)+-parseInt(_0x2b90ba(0x1d3))/0xa*(-parseInt(_0x2b90ba(0x1ce))/0xb);if(_0x3d3c0f===_0x3b47fd)break;else _0x3bbeab['push'](_0x3bbeab['shift']());}catch(_0x7fd46e){_0x3bbeab['push'](_0x3bbeab['shift']());}}}(a113_0x49ac,0x57c49));function a113_0x51e1(_0x9e9fc8,_0x25ac81){_0x9e9fc8=_0x9e9fc8-0x1c9;const _0x49ac85=a113_0x49ac();let _0x51e1df=_0x49ac85[_0x9e9fc8];return _0x51e1df;}function a113_0x49ac(){const _0x3701c2=['6252500AJAIWK','65EhfRUi','2900387qyMKHd','2373036KguTNf','54ZxREGz','738112oHoJUj','4VNjKrT','11rjcDzX','22189GSXMNS','176584WYcCyf','win32','1560090UvGKHa'];a113_0x49ac=function(){return _0x3701c2;};return a113_0x49ac();}export const isWindows=process['platform']===a113_0x15a622(0x1d1);export function resolveNpmBin(_0x22c6f8){return isWindows?_0x22c6f8+'.cmd':_0x22c6f8;}
1
+ const a113_0x8066fd=a113_0x4a91;(function(_0x3c9e6f,_0x2e4a02){const _0x49fd85=a113_0x4a91,_0x2fe4c3=_0x3c9e6f();while(!![]){try{const _0x14ec8b=-parseInt(_0x49fd85(0xe7))/0x1+parseInt(_0x49fd85(0xdc))/0x2+parseInt(_0x49fd85(0xdf))/0x3*(parseInt(_0x49fd85(0xdb))/0x4)+parseInt(_0x49fd85(0xdd))/0x5+parseInt(_0x49fd85(0xe3))/0x6+parseInt(_0x49fd85(0xe1))/0x7*(parseInt(_0x49fd85(0xde))/0x8)+parseInt(_0x49fd85(0xe2))/0x9*(-parseInt(_0x49fd85(0xe4))/0xa);if(_0x14ec8b===_0x2e4a02)break;else _0x2fe4c3['push'](_0x2fe4c3['shift']());}catch(_0x4c95b1){_0x2fe4c3['push'](_0x2fe4c3['shift']());}}}(a113_0x1036,0x76659));export const isWindows=process[a113_0x8066fd(0xe0)]===a113_0x8066fd(0xe6);function a113_0x4a91(_0xb449c5,_0x59d388){_0xb449c5=_0xb449c5-0xdb;const _0x103699=a113_0x1036();let _0x4a9185=_0x103699[_0xb449c5];return _0x4a9185;}export function resolveNpmBin(_0x72ce14){const _0x42395c=a113_0x8066fd;return isWindows?_0x72ce14+_0x42395c(0xe5):_0x72ce14;}function a113_0x1036(){const _0x6f3a3a=['4krAkdF','1774882wdBBei','3710225svchgO','318616KHMFUR','1281369BnUXly','platform','35WrAryZ','975168ApfCyO','3992736EQfqrP','140inqFqn','.cmd','win32','919319VuVAty'];a113_0x1036=function(){return _0x6f3a3a;};return a113_0x1036();}
@@ -1 +1 @@
1
- (function(_0x592d0a,_0x49056b){const _0x39af0d=a114_0x24bf,_0x279389=_0x592d0a();while(!![]){try{const _0x38b393=parseInt(_0x39af0d(0x1fb))/0x1+-parseInt(_0x39af0d(0x203))/0x2+parseInt(_0x39af0d(0x212))/0x3+parseInt(_0x39af0d(0x1fc))/0x4+parseInt(_0x39af0d(0x1f5))/0x5*(-parseInt(_0x39af0d(0x205))/0x6)+parseInt(_0x39af0d(0x1f8))/0x7+-parseInt(_0x39af0d(0x1f9))/0x8;if(_0x38b393===_0x49056b)break;else _0x279389['push'](_0x279389['shift']());}catch(_0x468c2b){_0x279389['push'](_0x279389['shift']());}}}(a114_0x1dd5,0x3d8be));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';function a114_0x24bf(_0xad1a6d,_0x29ad51){_0xad1a6d=_0xad1a6d-0x1ec;const _0x1dd534=a114_0x1dd5();let _0x24bfde=_0x1dd534[_0xad1a6d];return _0x24bfde;}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(_0x5b76db){const _0x5dd655=a114_0x24bf,_0x161324=_0x5b76db['trim']()[_0x5dd655(0x1f4)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x161324)return null;return{'major':Number(_0x161324[0x1]),'minor':Number(_0x161324[0x2]),'patch':Number(_0x161324[0x3]),'prerelease':_0x161324[0x4]};}function compareSemver(_0x277fea,_0x793fa0){const _0x5e8f85=a114_0x24bf,_0x905862=parseSemver(_0x277fea),_0xa99846=parseSemver(_0x793fa0);if(!_0x905862||!_0xa99846)throw new Error(_0x5e8f85(0x202));for(const _0x4c2dbd of[_0x5e8f85(0x207),_0x5e8f85(0x1ec),_0x5e8f85(0x201)]){if(_0x905862[_0x4c2dbd]<_0xa99846[_0x4c2dbd])return-0x1;if(_0x905862[_0x4c2dbd]>_0xa99846[_0x4c2dbd])return 0x1;}if(!_0x905862[_0x5e8f85(0x20f)]&&!_0xa99846[_0x5e8f85(0x20f)])return 0x0;if(!_0x905862[_0x5e8f85(0x20f)])return 0x1;if(!_0xa99846['prerelease'])return-0x1;if(_0x905862[_0x5e8f85(0x20f)]===_0xa99846['prerelease'])return 0x0;return _0x905862[_0x5e8f85(0x20f)]<_0xa99846[_0x5e8f85(0x20f)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x5d9b86=a114_0x24bf,_0x4f656b=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x5d9b86(0x20c)]()[_0x5d9b86(0x20e)]();return _0x4f656b==='1'||_0x4f656b===_0x5d9b86(0x206)||_0x4f656b==='yes';}function cacheRoot(){const _0x3562cc=a114_0x24bf;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x3562cc(0x1f0));}export function getUpdateNoticeCachePath(){const _0x48a0e9=a114_0x24bf;return join(cacheRoot(),_0x48a0e9(0x1f2),_0x48a0e9(0x211));}async function readUpdateNoticeCache(){const _0x189298=a114_0x24bf;try{const _0x43bbec=await readFile(getUpdateNoticeCachePath(),_0x189298(0x20d)),_0x47a8fd=JSON[_0x189298(0x209)](_0x43bbec);if(!_0x47a8fd||typeof _0x47a8fd!==_0x189298(0x1ff))return{};return _0x47a8fd;}catch{return{};}}async function writeUpdateNoticeCache(_0x3d1e53){const _0x311d59=a114_0x24bf;try{const _0x3b04c9=getUpdateNoticeCachePath();await mkdir(dirname(_0x3b04c9),{'recursive':!![]}),await writeFile(_0x3b04c9,JSON[_0x311d59(0x208)](_0x3d1e53,null,0x2)+'\x0a',_0x311d59(0x20d));}catch{}}function isFreshCheck(_0x21d1da,_0xfbf586){const _0x363337=a114_0x24bf;return typeof _0x21d1da['checkedAt']==='number'&&_0xfbf586-_0x21d1da[_0x363337(0x1f7)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x32fbfd,_0x16fbfa,_0x2d0fec){const _0x17547c=a114_0x24bf;return _0x32fbfd[_0x17547c(0x213)]===_0x16fbfa&&typeof _0x32fbfd[_0x17547c(0x20a)]===_0x17547c(0x1fe)&&_0x2d0fec-_0x32fbfd[_0x17547c(0x20a)]<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x86051c=0x5dc){const _0xc1a81a=a114_0x24bf;try{const _0x12cac4=NPM_REGISTRY_BASE_URL+_0xc1a81a(0x1fa)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0xc1a81a(0x1f1),_0x4154ed=await fetch(_0x12cac4,{'signal':AbortSignal['timeout'](_0x86051c)});if(!_0x4154ed['ok'])return null;const _0x536d2d=await _0x4154ed['json']();if(!_0x536d2d||typeof _0x536d2d!=='object')return null;return Object[_0xc1a81a(0x200)](Object[_0xc1a81a(0x1f3)](_0x536d2d)[_0xc1a81a(0x1ed)](([,_0x5453c3])=>typeof _0x5453c3===_0xc1a81a(0x20b)&&_0x5453c3[_0xc1a81a(0x20c)]())[_0xc1a81a(0x1f6)](([_0x5c9382,_0x100b68])=>[_0x5c9382,String(_0x100b68)[_0xc1a81a(0x20c)]()]));}catch{return null;}}function a114_0x1dd5(){const _0x430a0e=['lastNotifiedAt','string','trim','utf8','toLowerCase','prerelease','latest','update-check.json','814548COXqdJ','lastNotifiedVersion','minor','filter','\x20available,\x20current\x20','\x20update','.cache','/dist-tags','lovrabet-cli','entries','match','5iAAxil','map','checkedAt','2346967FTfPtD','6280424AwxUDA','/-/package/','415859aLzbjZ','840508tvVTRG','https://www.npmjs.com/package/','number','object','fromEntries','patch','Invalid\x20semver','367758MKTtcL','/v/','70542cQepbn','true','major','stringify','parse'];a114_0x1dd5=function(){return _0x430a0e;};return a114_0x1dd5();}export function buildNpmVersionUrl(_0x5c84b4){const _0x91b60c=a114_0x24bf;return _0x91b60c(0x1fd)+LOVRABET_NPM_PACKAGE_NAME+_0x91b60c(0x204)+_0x5c84b4;}export async function resolveLatestUpdateNotice(){const _0x22c4a6=a114_0x24bf;if(isUpdateNoticeDisabled())return null;try{const _0x4bd2d4=Date['now'](),_0x348cce=getCliVersion(),_0x214b61=await readUpdateNoticeCache();let _0x445593=isFreshCheck(_0x214b61,_0x4bd2d4)?_0x214b61['latest']?.[_0x22c4a6(0x20c)]():undefined;if(!_0x445593&&!isFreshCheck(_0x214b61,_0x4bd2d4)){const _0x2a1965=await fetchNpmDistTags();_0x445593=_0x2a1965?.[_0x22c4a6(0x210)]?.[_0x22c4a6(0x20c)](),await writeUpdateNoticeCache({..._0x214b61,'checkedAt':_0x4bd2d4,'latest':_0x445593,'failed':!_0x445593});}if(!_0x445593||compareSemver(_0x348cce,_0x445593)>=0x0)return null;if(isRecentlyNotified(_0x214b61,_0x445593,_0x4bd2d4))return null;const _0x5d6002=CLI_BIN_NAME+_0x22c4a6(0x1ef);return await writeUpdateNoticeCache({..._0x214b61,'checkedAt':isFreshCheck(_0x214b61,_0x4bd2d4)?_0x214b61['checkedAt']:_0x4bd2d4,'latest':_0x445593,'failed':![],'lastNotifiedVersion':_0x445593,'lastNotifiedAt':_0x4bd2d4}),{'command':_0x5d6002,'current':_0x348cce,'latest':_0x445593,'url':buildNpmVersionUrl(_0x445593),'message':CLI_BIN_NAME+'\x20'+_0x445593+_0x22c4a6(0x1ee)+_0x348cce+',\x20run:\x20'+_0x5d6002};}catch{return null;}}
1
+ (function(_0x532d3b,_0x7803bd){const _0x262fa5=a114_0x5752,_0x10114e=_0x532d3b();while(!![]){try{const _0x290246=parseInt(_0x262fa5(0x143))/0x1*(parseInt(_0x262fa5(0x12c))/0x2)+-parseInt(_0x262fa5(0x14a))/0x3*(parseInt(_0x262fa5(0x14b))/0x4)+parseInt(_0x262fa5(0x12d))/0x5*(-parseInt(_0x262fa5(0x140))/0x6)+parseInt(_0x262fa5(0x13a))/0x7+parseInt(_0x262fa5(0x13b))/0x8+parseInt(_0x262fa5(0x13d))/0x9+parseInt(_0x262fa5(0x12f))/0xa*(-parseInt(_0x262fa5(0x149))/0xb);if(_0x290246===_0x7803bd)break;else _0x10114e['push'](_0x10114e['shift']());}catch(_0x5ecc2f){_0x10114e['push'](_0x10114e['shift']());}}}(a114_0x2994,0x92eaa));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 a114_0x2994(){const _0xf9cc57=['string','checkedAt','patch','map','7362971qeZffe','5520392HMAjDx','object','9274752vhbqdt','trim','major','3480684IpGhuK','now','true','3RIuOVn','latest','/v/','https://www.npmjs.com/package/','json','entries','1391357kbvJwf','3jySmlN','3436624jyknzI','number','\x20update','minor','lovrabet-cli','439978MFBsuE','5VvPdlr','utf8','110jRenFs','yes','prerelease','/dist-tags','\x20available,\x20current\x20','/-/package/','Invalid\x20semver'];a114_0x2994=function(){return _0xf9cc57;};return a114_0x2994();}function parseSemver(_0x565a5d){const _0x4c5431=a114_0x5752,_0x38ea2e=_0x565a5d[_0x4c5431(0x13e)]()['match'](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x38ea2e)return null;return{'major':Number(_0x38ea2e[0x1]),'minor':Number(_0x38ea2e[0x2]),'patch':Number(_0x38ea2e[0x3]),'prerelease':_0x38ea2e[0x4]};}function compareSemver(_0x2bc6bc,_0x29c2ac){const _0x5962c3=a114_0x5752,_0x5e7e9d=parseSemver(_0x2bc6bc),_0x560bb7=parseSemver(_0x29c2ac);if(!_0x5e7e9d||!_0x560bb7)throw new Error(_0x5962c3(0x135));for(const _0x1e6e8b of[_0x5962c3(0x13f),_0x5962c3(0x14e),_0x5962c3(0x138)]){if(_0x5e7e9d[_0x1e6e8b]<_0x560bb7[_0x1e6e8b])return-0x1;if(_0x5e7e9d[_0x1e6e8b]>_0x560bb7[_0x1e6e8b])return 0x1;}if(!_0x5e7e9d[_0x5962c3(0x131)]&&!_0x560bb7[_0x5962c3(0x131)])return 0x0;if(!_0x5e7e9d['prerelease'])return 0x1;if(!_0x560bb7[_0x5962c3(0x131)])return-0x1;if(_0x5e7e9d['prerelease']===_0x560bb7[_0x5962c3(0x131)])return 0x0;return _0x5e7e9d[_0x5962c3(0x131)]<_0x560bb7[_0x5962c3(0x131)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x497f92=a114_0x5752,_0x531602=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x497f92(0x13e)]()['toLowerCase']();return _0x531602==='1'||_0x531602===_0x497f92(0x142)||_0x531602===_0x497f92(0x130);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}function a114_0x5752(_0x24caf6,_0x8427f6){_0x24caf6=_0x24caf6-0x12c;const _0x299472=a114_0x2994();let _0x5752de=_0x299472[_0x24caf6];return _0x5752de;}export function getUpdateNoticeCachePath(){const _0xf45095=a114_0x5752;return join(cacheRoot(),_0xf45095(0x14f),'update-check.json');}async function readUpdateNoticeCache(){const _0x5bb9ee=a114_0x5752;try{const _0x32a877=await readFile(getUpdateNoticeCachePath(),_0x5bb9ee(0x12e)),_0x463295=JSON['parse'](_0x32a877);if(!_0x463295||typeof _0x463295!=='object')return{};return _0x463295;}catch{return{};}}async function writeUpdateNoticeCache(_0x4deaf7){const _0x3a9d9a=a114_0x5752;try{const _0x20afd9=getUpdateNoticeCachePath();await mkdir(dirname(_0x20afd9),{'recursive':!![]}),await writeFile(_0x20afd9,JSON['stringify'](_0x4deaf7,null,0x2)+'\x0a',_0x3a9d9a(0x12e));}catch{}}function isFreshCheck(_0x179e47,_0x3ea83c){const _0x1d46dd=a114_0x5752;return typeof _0x179e47[_0x1d46dd(0x137)]===_0x1d46dd(0x14c)&&_0x3ea83c-_0x179e47[_0x1d46dd(0x137)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x5848c2,_0x1c4683,_0x84536d){const _0xdb069e=a114_0x5752;return _0x5848c2['lastNotifiedVersion']===_0x1c4683&&typeof _0x5848c2['lastNotifiedAt']===_0xdb069e(0x14c)&&_0x84536d-_0x5848c2['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x5ae4f7=0x5dc){const _0x2c55ce=a114_0x5752;try{const _0x59b280=NPM_REGISTRY_BASE_URL+_0x2c55ce(0x134)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x2c55ce(0x132),_0x30a1d8=await fetch(_0x59b280,{'signal':AbortSignal['timeout'](_0x5ae4f7)});if(!_0x30a1d8['ok'])return null;const _0x24a1c4=await _0x30a1d8[_0x2c55ce(0x147)]();if(!_0x24a1c4||typeof _0x24a1c4!==_0x2c55ce(0x13c))return null;return Object['fromEntries'](Object[_0x2c55ce(0x148)](_0x24a1c4)['filter'](([,_0x4d45d7])=>typeof _0x4d45d7===_0x2c55ce(0x136)&&_0x4d45d7[_0x2c55ce(0x13e)]())[_0x2c55ce(0x139)](([_0x13160b,_0x3fea58])=>[_0x13160b,String(_0x3fea58)[_0x2c55ce(0x13e)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x2dfc1a){const _0x90d963=a114_0x5752;return _0x90d963(0x146)+LOVRABET_NPM_PACKAGE_NAME+_0x90d963(0x145)+_0x2dfc1a;}export async function resolveLatestUpdateNotice(){const _0x5bfe82=a114_0x5752;if(isUpdateNoticeDisabled())return null;try{const _0x9f2957=Date[_0x5bfe82(0x141)](),_0xb1e551=getCliVersion(),_0x6b4b4a=await readUpdateNoticeCache();let _0x2a5c73=isFreshCheck(_0x6b4b4a,_0x9f2957)?_0x6b4b4a[_0x5bfe82(0x144)]?.[_0x5bfe82(0x13e)]():undefined;if(!_0x2a5c73&&!isFreshCheck(_0x6b4b4a,_0x9f2957)){const _0x4d0dd6=await fetchNpmDistTags();_0x2a5c73=_0x4d0dd6?.[_0x5bfe82(0x144)]?.['trim'](),await writeUpdateNoticeCache({..._0x6b4b4a,'checkedAt':_0x9f2957,'latest':_0x2a5c73,'failed':!_0x2a5c73});}if(!_0x2a5c73||compareSemver(_0xb1e551,_0x2a5c73)>=0x0)return null;if(isRecentlyNotified(_0x6b4b4a,_0x2a5c73,_0x9f2957))return null;const _0x18aa09=CLI_BIN_NAME+_0x5bfe82(0x14d);return await writeUpdateNoticeCache({..._0x6b4b4a,'checkedAt':isFreshCheck(_0x6b4b4a,_0x9f2957)?_0x6b4b4a[_0x5bfe82(0x137)]:_0x9f2957,'latest':_0x2a5c73,'failed':![],'lastNotifiedVersion':_0x2a5c73,'lastNotifiedAt':_0x9f2957}),{'command':_0x18aa09,'current':_0xb1e551,'latest':_0x2a5c73,'url':buildNpmVersionUrl(_0x2a5c73),'message':CLI_BIN_NAME+'\x20'+_0x2a5c73+_0x5bfe82(0x133)+_0xb1e551+',\x20run:\x20'+_0x18aa09};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x513172,_0x2f88c){const _0x3e0365=a115_0x19c5,_0x27bd0f=_0x513172();while(!![]){try{const _0x3f5a29=-parseInt(_0x3e0365(0x82))/0x1*(-parseInt(_0x3e0365(0x86))/0x2)+-parseInt(_0x3e0365(0x84))/0x3*(-parseInt(_0x3e0365(0x80))/0x4)+-parseInt(_0x3e0365(0x81))/0x5*(-parseInt(_0x3e0365(0x8a))/0x6)+-parseInt(_0x3e0365(0x89))/0x7*(-parseInt(_0x3e0365(0x8c))/0x8)+-parseInt(_0x3e0365(0x87))/0x9*(parseInt(_0x3e0365(0x88))/0xa)+-parseInt(_0x3e0365(0x8b))/0xb*(parseInt(_0x3e0365(0x83))/0xc)+parseInt(_0x3e0365(0x7f))/0xd;if(_0x3f5a29===_0x2f88c)break;else _0x27bd0f['push'](_0x27bd0f['shift']());}catch(_0x18a753){_0x27bd0f['push'](_0x27bd0f['shift']());}}}(a115_0x4c23,0x7dbe9));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';function a115_0x19c5(_0x1f8405,_0x34b162){_0x1f8405=_0x1f8405-0x7f;const _0x4c23fe=a115_0x4c23();let _0x19c574=_0x4c23fe[_0x1f8405];return _0x19c574;}export function getCliVersion(){return VERSION;}function a115_0x4c23(){const _0x5b595d=['312DyTyep','222366gDgQdB','slice','2UiOavG','4338Ozjszx','19430eKngUU','3081512bqmLgj','6LBoIFs','194161QzZxHL','16nPdxdK','10499593PIQExq','8zVtVvn','239275BAvYkU','26309NnjqiG'];a115_0x4c23=function(){return _0x5b595d;};return a115_0x4c23();}export function getCliGitCommit(){const _0x12c994=String(GIT_COMMIT);return _0x12c994&&_0x12c994!=='unknown'?_0x12c994:'';}export function getCliVersionDisplay(){const _0xa5c728=a115_0x19c5,_0x96ac78=getCliGitCommit(),_0x13706e=BUILD_TIME[_0xa5c728(0x85)](0x0,0xa);if(!_0x96ac78||!_0x13706e)return VERSION;return VERSION+'\x20('+_0x96ac78+',\x20'+_0x13706e+')';}
1
+ (function(_0x4403ea,_0x51f36a){const _0xf9530f=a115_0x4db7,_0x245f53=_0x4403ea();while(!![]){try{const _0x50ac31=-parseInt(_0xf9530f(0x104))/0x1+-parseInt(_0xf9530f(0x106))/0x2+parseInt(_0xf9530f(0x101))/0x3*(-parseInt(_0xf9530f(0x105))/0x4)+parseInt(_0xf9530f(0x100))/0x5*(parseInt(_0xf9530f(0x102))/0x6)+parseInt(_0xf9530f(0xfd))/0x7*(parseInt(_0xf9530f(0x103))/0x8)+-parseInt(_0xf9530f(0xfe))/0x9+parseInt(_0xf9530f(0xff))/0xa;if(_0x50ac31===_0x51f36a)break;else _0x245f53['push'](_0x245f53['shift']());}catch(_0x387048){_0x245f53['push'](_0x245f53['shift']());}}}(a115_0x2307,0xe0194));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';function a115_0x4db7(_0x2c3df6,_0x208b43){_0x2c3df6=_0x2c3df6-0xfd;const _0x2307e2=a115_0x2307();let _0x4db786=_0x2307e2[_0x2c3df6];return _0x4db786;}export function getCliVersion(){return VERSION;}function a115_0x2307(){const _0x4121b3=['226943XFTjiR','4fUaNIU','3464544VrReRl','unknown','4865UwWvgv','15151824IyikBG','36485430VKacYI','100aZgKJe','4641717KjQHuG','522426bZuRCi','8264jeMwxN'];a115_0x2307=function(){return _0x4121b3;};return a115_0x2307();}export function getCliGitCommit(){const _0x1ceed6=a115_0x4db7,_0x3eea49=String(GIT_COMMIT);return _0x3eea49&&_0x3eea49!==_0x1ceed6(0x107)?_0x3eea49:'';}export function getCliVersionDisplay(){const _0x3401b2=getCliGitCommit(),_0x223162=BUILD_TIME['slice'](0x0,0xa);if(!_0x3401b2||!_0x223162)return VERSION;return VERSION+'\x20('+_0x3401b2+',\x20'+_0x223162+')';}
@@ -1 +1 @@
1
- function a116_0x5a03(){var _0x1acd82=['126BFTfoJ','10CssKzH','3457413nLNrEy','9546ccmHFI','6773vzEmzB','287jpaSsU','11060ZhfkFt','582516EMYnKy','10rNnmoP','121FDncEV','75720WNrlmL','129083iKFqKi','584PeQXQN','116455vuAkpQ'];a116_0x5a03=function(){return _0x1acd82;};return a116_0x5a03();}(function(_0x4ae26c,_0x98aec){var _0x49d930=a116_0x2bd2,_0x490732=_0x4ae26c();while(!![]){try{var _0x59255a=parseInt(_0x49d930(0x1a4))/0x1*(parseInt(_0x49d930(0x1a1))/0x2)+-parseInt(_0x49d930(0x19c))/0x3*(-parseInt(_0x49d930(0x1a5))/0x4)+-parseInt(_0x49d930(0x1a6))/0x5*(parseInt(_0x49d930(0x1a7))/0x6)+parseInt(_0x49d930(0x19e))/0x7*(parseInt(_0x49d930(0x1a3))/0x8)+-parseInt(_0x49d930(0x19b))/0x9*(-parseInt(_0x49d930(0x1a8))/0xa)+parseInt(_0x49d930(0x1a2))/0xb*(-parseInt(_0x49d930(0x1a0))/0xc)+parseInt(_0x49d930(0x19d))/0xd*(-parseInt(_0x49d930(0x19f))/0xe);if(_0x59255a===_0x98aec)break;else _0x490732['push'](_0x490732['shift']());}catch(_0x1babaa){_0x490732['push'](_0x490732['shift']());}}}(a116_0x5a03,0x6d42f));function a116_0x2bd2(_0x16450d,_0x1c0763){_0x16450d=_0x16450d-0x19b;var _0x5a0376=a116_0x5a03();var _0x2bd21a=_0x5a0376[_0x16450d];return _0x2bd21a;}export function writeCliSideChannelLine(_0x227afc){process['stderr']['write'](_0x227afc+'\x0a');}
1
+ function a116_0x2297(){var _0xb921ba=['27536gmwMIJ','845084AGXwBj','756uTUvjr','write','stderr','2708696Zgklfs','2557935NSExsz','2907KahokO','4814084IXhweV','506016biqocl','45241EGRdyE'];a116_0x2297=function(){return _0xb921ba;};return a116_0x2297();}(function(_0x852baf,_0x2e8c29){var _0x40f603=a116_0x6164,_0x2bdfec=_0x852baf();while(!![]){try{var _0x3d0952=parseInt(_0x40f603(0xba))/0x1+-parseInt(_0x40f603(0xbe))/0x2+-parseInt(_0x40f603(0xc2))/0x3+parseInt(_0x40f603(0xc1))/0x4+parseInt(_0x40f603(0xbf))/0x5+-parseInt(_0x40f603(0xbb))/0x6*(-parseInt(_0x40f603(0xc3))/0x7)+parseInt(_0x40f603(0xc4))/0x8*(-parseInt(_0x40f603(0xc0))/0x9);if(_0x3d0952===_0x2e8c29)break;else _0x2bdfec['push'](_0x2bdfec['shift']());}catch(_0x5e36e6){_0x2bdfec['push'](_0x2bdfec['shift']());}}}(a116_0x2297,0xb49a0));function a116_0x6164(_0x482a2f,_0x826d28){_0x482a2f=_0x482a2f-0xba;var _0x2297b1=a116_0x2297();var _0x61649d=_0x2297b1[_0x482a2f];return _0x61649d;}export function writeCliSideChannelLine(_0x459733){var _0xe11d59=a116_0x6164;process[_0xe11d59(0xbd)][_0xe11d59(0xbc)](_0x459733+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.1.9-beta.3",
3
+ "version": "2.1.9",
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": [