@lovrabet/lovrabet-cli 2.3.0-beta.4 → 2.3.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) 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/artifact/index.js +1 -1
  12. package/lib/commands/auth/device.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/init.js +1 -1
  25. package/lib/commands/config/shared.js +1 -1
  26. package/lib/commands/data/index.js +1 -1
  27. package/lib/commands/dataset/detail.js +1 -1
  28. package/lib/commands/dataset/index.js +1 -1
  29. package/lib/commands/dataset/list.js +1 -1
  30. package/lib/commands/dataset/sdk-doc.js +1 -1
  31. package/lib/commands/doctor.js +1 -1
  32. package/lib/commands/file/index.js +1 -1
  33. package/lib/commands/init.js +1 -1
  34. package/lib/commands/kb/index.js +1 -1
  35. package/lib/commands/logs/index.js +1 -1
  36. package/lib/commands/notification/config-list.js +1 -1
  37. package/lib/commands/notification/index.js +1 -1
  38. package/lib/commands/notification/shared.js +1 -1
  39. package/lib/commands/ocr/index.js +1 -1
  40. package/lib/commands/permit/dataset-get.js +1 -1
  41. package/lib/commands/permit/dataset-set.js +1 -1
  42. package/lib/commands/permit/index.js +1 -1
  43. package/lib/commands/permit/page-get.js +1 -1
  44. package/lib/commands/permit/page-set.js +1 -1
  45. package/lib/commands/permit/role-menus-set.js +1 -1
  46. package/lib/commands/permit/role-menus.js +1 -1
  47. package/lib/commands/permit/shared.js +1 -1
  48. package/lib/commands/personal-bff/index.js +1 -1
  49. package/lib/commands/registry.js +1 -1
  50. package/lib/commands/role/create.js +1 -1
  51. package/lib/commands/role/delete.js +1 -1
  52. package/lib/commands/role/detail.js +1 -1
  53. package/lib/commands/role/index.js +1 -1
  54. package/lib/commands/role/list.js +1 -1
  55. package/lib/commands/role/shared.js +1 -1
  56. package/lib/commands/role/update.js +1 -1
  57. package/lib/commands/role/user-add.js +1 -1
  58. package/lib/commands/role/user-remove.js +1 -1
  59. package/lib/commands/schedule/index.js +1 -1
  60. package/lib/commands/schema.js +1 -1
  61. package/lib/commands/service/dynamic.js +1 -1
  62. package/lib/commands/service/function-name-adapter.js +1 -1
  63. package/lib/commands/service/index.js +1 -1
  64. package/lib/commands/service/registry.js +1 -1
  65. package/lib/commands/skill/commands/create.js +1 -1
  66. package/lib/commands/skill/commands/diagram.js +1 -1
  67. package/lib/commands/skill/commands/install.js +1 -1
  68. package/lib/commands/skill/commands/list.js +1 -1
  69. package/lib/commands/skill/commands/push.js +1 -1
  70. package/lib/commands/skill/commands/validate.js +1 -1
  71. package/lib/commands/skill/diagram.js +1 -1
  72. package/lib/commands/skill/flags.js +1 -1
  73. package/lib/commands/skill/index.js +1 -1
  74. package/lib/commands/skill/manifest-helpers.js +1 -1
  75. package/lib/commands/skill/push-execute.js +1 -1
  76. package/lib/commands/skill/push-flow-helpers.js +1 -1
  77. package/lib/commands/skill/push-retarget.js +1 -1
  78. package/lib/commands/skill/scopes.js +1 -1
  79. package/lib/commands/skill/summary.js +1 -1
  80. package/lib/commands/skill/templates.js +1 -1
  81. package/lib/commands/skill/validate.js +1 -1
  82. package/lib/commands/sql/detail.js +1 -1
  83. package/lib/commands/sql/exec.js +1 -1
  84. package/lib/commands/sql/index.js +1 -1
  85. package/lib/commands/update.js +1 -1
  86. package/lib/commands/user-account/bind.js +1 -1
  87. package/lib/commands/user-account/index.js +1 -1
  88. package/lib/commands/workspace/index.js +1 -1
  89. package/lib/config/domain-config.js +1 -1
  90. package/lib/config/schema.d.ts +1 -1
  91. package/lib/config/schema.js +1 -1
  92. package/lib/constant/app.js +1 -1
  93. package/lib/constant/auth-mode.js +1 -1
  94. package/lib/constant/cli.js +1 -1
  95. package/lib/constant/defaults.js +1 -1
  96. package/lib/constant/distribution.js +1 -1
  97. package/lib/constant/domain.js +1 -1
  98. package/lib/constant/env.js +1 -1
  99. package/lib/constant/output.js +1 -1
  100. package/lib/constant/product.js +1 -1
  101. package/lib/constant/region.js +1 -1
  102. package/lib/constant/risk.js +1 -1
  103. package/lib/constant/url.js +1 -1
  104. package/lib/context.d.ts +2 -0
  105. package/lib/context.js +1 -1
  106. package/lib/core/api-client.js +1 -1
  107. package/lib/core/db-resolver.js +1 -1
  108. package/lib/core/sdk-client.js +1 -1
  109. package/lib/errors.d.ts +1 -0
  110. package/lib/errors.js +1 -1
  111. package/lib/framework/build-all-flags.js +1 -1
  112. package/lib/framework/dryrun.js +1 -1
  113. package/lib/framework/flags.js +1 -1
  114. package/lib/framework/help.js +1 -1
  115. package/lib/framework/index.js +1 -1
  116. package/lib/framework/output.js +1 -1
  117. package/lib/framework/preparse.js +1 -1
  118. package/lib/framework/rate-limit.js +1 -1
  119. package/lib/framework/raw-flags.js +1 -1
  120. package/lib/framework/response.js +1 -1
  121. package/lib/framework/runner-confirmation.js +1 -1
  122. package/lib/framework/runner-error.js +1 -1
  123. package/lib/framework/runner.d.ts +9 -7
  124. package/lib/framework/runner.js +1 -1
  125. package/lib/framework/schema-export.js +1 -1
  126. package/lib/framework/service-order.js +1 -1
  127. package/lib/framework/types.js +1 -1
  128. package/lib/generated/build-info.d.ts +4 -4
  129. package/lib/generated/build-info.js +1 -1
  130. package/lib/help.js +1 -1
  131. package/lib/postinstall.js +1 -1
  132. package/lib/runtime/confirmation.js +1 -1
  133. package/lib/runtime/event.js +1 -1
  134. package/lib/runtime/index.js +1 -1
  135. package/lib/runtime/queue.js +1 -1
  136. package/lib/runtime/resolve.js +1 -1
  137. package/lib/skills/builtin-skill.js +1 -1
  138. package/lib/skills/npx-skills-add.js +1 -1
  139. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  140. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  141. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  142. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  143. package/lib/skills/runtime-skill-sync/links.js +1 -1
  144. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  145. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  146. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  147. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  148. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  149. package/lib/skills/runtime-skill-sync/push.js +1 -1
  150. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  151. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  152. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  153. package/lib/skills/runtime-skill-sync.js +1 -1
  154. package/lib/skills/skill-presence.js +1 -1
  155. package/lib/utils/access-key-redaction.js +1 -1
  156. package/lib/utils/apply-jq-filter.js +1 -1
  157. package/lib/utils/cli-version-check.js +1 -1
  158. package/lib/utils/cli-version-policy.js +1 -1
  159. package/lib/utils/logger.js +1 -1
  160. package/lib/utils/lossless-json.js +1 -1
  161. package/lib/utils/params.js +1 -1
  162. package/lib/utils/platform.js +1 -1
  163. package/lib/utils/update-notice.js +1 -1
  164. package/lib/utils/version.js +1 -1
  165. package/lib/utils/write-cli-side-channel.js +1 -1
  166. package/package.json +1 -1
  167. package/skills/lovrabet/SKILL.md +1 -1
  168. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- (function(_0xbb95e6,_0x3b902b){const _0x5d77ef=a148_0x24e7,_0x21a741=_0xbb95e6();while(!![]){try{const _0xdc4128=parseInt(_0x5d77ef(0x1ab))/0x1+parseInt(_0x5d77ef(0x1ac))/0x2*(-parseInt(_0x5d77ef(0x1ae))/0x3)+parseInt(_0x5d77ef(0x1cf))/0x4*(parseInt(_0x5d77ef(0x1c0))/0x5)+parseInt(_0x5d77ef(0x1d0))/0x6*(-parseInt(_0x5d77ef(0x1b7))/0x7)+-parseInt(_0x5d77ef(0x1b0))/0x8*(parseInt(_0x5d77ef(0x1ca))/0x9)+-parseInt(_0x5d77ef(0x1be))/0xa*(parseInt(_0x5d77ef(0x1b9))/0xb)+parseInt(_0x5d77ef(0x1b1))/0xc;if(_0xdc4128===_0x3b902b)break;else _0x21a741['push'](_0x21a741['shift']());}catch(_0x5aefaa){_0x21a741['push'](_0x21a741['shift']());}}}(a148_0x39b7,0xc4eba));import{CliErrors}from'../../errors.js';import{SKILL_FILE}from'./constants.js';import{bufferSha256,fileHash,fileTreeHash}from'./hashing.js';import{fileContent,isSha256Hex,normalizeLocalFiles,normalizeManifestFiles}from'./local-files.js';import{createDeterministicZipPackage,parseZipPackage}from'./zip-codec.js';function a148_0x24e7(_0x2dbbb0,_0x10aaf6){_0x2dbbb0=_0x2dbbb0-0x1aa;const _0x39b730=a148_0x39b7();let _0x24e7a3=_0x39b730[_0x2dbbb0];return _0x24e7a3;}export function buildSkillPackage(_0x36934a){const _0x48f0ff=a148_0x24e7,_0x78efd3=normalizeLocalFiles(_0x36934a);if(!_0x78efd3[_0x48f0ff(0x1c3)](_0x201e9f=>_0x201e9f[_0x48f0ff(0x1b5)]===SKILL_FILE))throw CliErrors['validation']('Missing\x20'+SKILL_FILE+'\x20in\x20Skill\x20file\x20package.');const _0x578994=localFilesToManifestFiles(_0x78efd3),_0x1225a3=createDeterministicZipPackage(_0x78efd3);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x578994),'zipSha256':bufferSha256(_0x1225a3),'zipSize':_0x1225a3[_0x48f0ff(0x1b8)],'files':_0x578994},'packageBytes':_0x1225a3,'packageBase64':_0x1225a3[_0x48f0ff(0x1c9)](_0x48f0ff(0x1d2))};}export function verifyRuntimeSkillPackage(_0x2c8458,_0x4bc1b9){const _0x129d6b=a148_0x24e7,_0x558f66=normalizePackageManifest(_0x2c8458,{'requireOssPath':![]});if(!_0x558f66)throw CliErrors[_0x129d6b(0x1aa)](_0x129d6b(0x1d4));return extractAndVerifyPackage(_0x558f66,_0x4bc1b9);}export function verifyRuntimeSkillBundle(_0x2c820c,_0x500a4f){const _0x19b4a5=a148_0x24e7,_0x923aea=normalizePackageManifest(_0x2c820c,{'requireOssPath':![]});if(!_0x923aea)throw CliErrors[_0x19b4a5(0x1aa)](_0x19b4a5(0x1d4));return extractAndVerifyPackageFiles(_0x923aea,_0x500a4f);}export function tryNormalizePackageManifest(_0xb963ee){return normalizePackageManifest(_0xb963ee,{'requireOssPath':![]});}export function requirePackageBytes(_0x2b4e85,_0x1c08d4){const _0x1477d4=a148_0x24e7;if(!_0x1c08d4||_0x1c08d4['length']===0x0)throw CliErrors[_0x1477d4(0x1aa)]('Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20'+_0x2b4e85);return _0x1c08d4;}export function extractDownloadedPackage(_0xd5d2d8){const _0x4f4821=a148_0x24e7,_0x247fd4=parseZipPackage(_0xd5d2d8)[_0x4f4821(0x1c6)](_0x410540=>({'path':_0x410540[_0x4f4821(0x1b5)],'bytes':_0x410540[_0x4f4821(0x1cc)]}));if(!_0x247fd4[_0x4f4821(0x1c3)](_0x508629=>_0x508629[_0x4f4821(0x1b5)]===SKILL_FILE))throw CliErrors['validation']('Runtime\x20Skill\x20package\x20is\x20missing\x20'+SKILL_FILE+'.');return normalizeLocalFiles(_0x247fd4);}function a148_0x39b7(){const _0x35dda3=['1289580QMZNAC','10UEJAjC','has','913431LqRDbT','schemaVersion','84408SefimL','40921920pYVrqj','zipSha256','files','Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20','path','object','3913623MJeohF','length','22OpIsjT','Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.','requireOssPath','Duplicate\x20Skill\x20package\x20entry:\x20','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','3601970TScKRU','isSafeInteger','1465QGWQpa','treeSha256','toLowerCase','some','trim','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','map','Runtime\x20Skill\x20package\x20size\x20mismatch.','zipSize','toString','1341HliZbe','get','bytes','ossPath','string','6564kfMZCT','6kKEhec','Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20','base64','set','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','validation'];a148_0x39b7=function(){return _0x35dda3;};return a148_0x39b7();}export function localFilesToManifestFiles(_0x145738){const _0x324bb3=a148_0x24e7;return normalizeLocalFiles(_0x145738)[_0x324bb3(0x1c6)](_0x190694=>({'path':_0x190694['path'],'sha256':fileHash(_0x190694),'size':fileContent(_0x190694)[_0x324bb3(0x1b8)]}));}function normalizePackageManifest(_0x388ee4,_0x19f1bc){const _0x50f2f9=a148_0x24e7;if(!_0x388ee4||typeof _0x388ee4!==_0x50f2f9(0x1b6)||Array['isArray'](_0x388ee4))return undefined;const _0x5a4c5e=_0x388ee4,_0x2cd181=typeof _0x5a4c5e[_0x50f2f9(0x1cd)]===_0x50f2f9(0x1ce)?_0x5a4c5e[_0x50f2f9(0x1cd)][_0x50f2f9(0x1c4)]():undefined;if(_0x19f1bc[_0x50f2f9(0x1bb)]&&!_0x2cd181)return undefined;if(!Array['isArray'](_0x5a4c5e[_0x50f2f9(0x1b3)])||_0x5a4c5e[_0x50f2f9(0x1b3)]['length']===0x0)return undefined;if(!isSha256Hex(_0x5a4c5e['treeSha256']))throw CliErrors['validation'](_0x50f2f9(0x1ba));if(!isSha256Hex(_0x5a4c5e[_0x50f2f9(0x1b2)]))throw CliErrors['validation'](_0x50f2f9(0x1bd));if(!Number[_0x50f2f9(0x1bf)](_0x5a4c5e[_0x50f2f9(0x1c8)])||_0x5a4c5e['zipSize']<0x0)throw CliErrors['validation'](_0x50f2f9(0x1c5));const _0x477ba9=normalizeManifestFiles(_0x5a4c5e[_0x50f2f9(0x1b3)]);if(!_0x477ba9[_0x50f2f9(0x1c3)](_0x25699a=>_0x25699a[_0x50f2f9(0x1b5)]===SKILL_FILE))throw CliErrors[_0x50f2f9(0x1aa)]('Runtime\x20Skill\x20manifest\x20is\x20missing\x20'+SKILL_FILE+'.');const _0x341117=fileTreeHash(_0x477ba9);if(_0x341117!==_0x5a4c5e[_0x50f2f9(0x1c1)][_0x50f2f9(0x1c2)]())throw CliErrors['validation']('Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.');return{'schemaVersion':Number[_0x50f2f9(0x1bf)](_0x5a4c5e[_0x50f2f9(0x1af)])?_0x5a4c5e[_0x50f2f9(0x1af)]:0x2,'ossPath':_0x2cd181,'treeSha256':_0x341117,'zipSha256':_0x5a4c5e[_0x50f2f9(0x1b2)][_0x50f2f9(0x1c2)](),'zipSize':_0x5a4c5e['zipSize'],'files':_0x477ba9};}function extractAndVerifyPackage(_0x2f9012,_0x4f21ee){const _0x22f9e8=a148_0x24e7,_0x990d0d=normalizePackageManifest(_0x2f9012,{'requireOssPath':![]});if(!_0x990d0d)throw CliErrors[_0x22f9e8(0x1aa)]('Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.');if(_0x4f21ee[_0x22f9e8(0x1b8)]!==_0x990d0d['zipSize'])throw CliErrors[_0x22f9e8(0x1aa)](_0x22f9e8(0x1c7));const _0x38976d=bufferSha256(_0x4f21ee);if(_0x38976d!==_0x990d0d['zipSha256'])throw CliErrors[_0x22f9e8(0x1aa)]('Runtime\x20Skill\x20package\x20sha256\x20mismatch.');return extractAndVerifyPackageFiles(_0x990d0d,_0x4f21ee);}function extractAndVerifyPackageFiles(_0x3aee29,_0x34c875){const _0x48bc89=a148_0x24e7,_0x3151de=parseZipPackage(_0x34c875);if(_0x3151de[_0x48bc89(0x1b8)]!==_0x3aee29[_0x48bc89(0x1b3)]['length'])throw CliErrors[_0x48bc89(0x1aa)]('Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.');const _0x351837=new Map();for(const _0x5dff24 of _0x3151de){if(_0x351837[_0x48bc89(0x1ad)](_0x5dff24[_0x48bc89(0x1b5)]))throw CliErrors[_0x48bc89(0x1aa)](_0x48bc89(0x1bc)+_0x5dff24[_0x48bc89(0x1b5)]);_0x351837[_0x48bc89(0x1d3)](_0x5dff24[_0x48bc89(0x1b5)],_0x5dff24);}const _0xef56f1=[];for(const _0x42f3f5 of _0x3aee29[_0x48bc89(0x1b3)]){const _0x5bff27=_0x351837[_0x48bc89(0x1cb)](_0x42f3f5[_0x48bc89(0x1b5)]);if(!_0x5bff27)throw CliErrors[_0x48bc89(0x1aa)]('Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20'+_0x42f3f5[_0x48bc89(0x1b5)]);if(_0x5bff27[_0x48bc89(0x1cc)][_0x48bc89(0x1b8)]!==_0x42f3f5['size'])throw CliErrors[_0x48bc89(0x1aa)](_0x48bc89(0x1b4)+_0x42f3f5['path']);const _0xd4361=bufferSha256(_0x5bff27[_0x48bc89(0x1cc)]);if(_0xd4361!==_0x42f3f5['sha256'])throw CliErrors[_0x48bc89(0x1aa)](_0x48bc89(0x1d1)+_0x42f3f5['path']);_0xef56f1['push']({'path':_0x42f3f5[_0x48bc89(0x1b5)],'bytes':_0x5bff27[_0x48bc89(0x1cc)]});}return normalizeLocalFiles(_0xef56f1);}
1
+ (function(_0x5a206c,_0x133f6b){const _0x306504=a148_0x3a66,_0x3a206f=_0x5a206c();while(!![]){try{const _0x131ca2=-parseInt(_0x306504(0x153))/0x1+-parseInt(_0x306504(0x15a))/0x2+-parseInt(_0x306504(0x16d))/0x3*(parseInt(_0x306504(0x15e))/0x4)+-parseInt(_0x306504(0x178))/0x5+-parseInt(_0x306504(0x15d))/0x6*(parseInt(_0x306504(0x15c))/0x7)+-parseInt(_0x306504(0x14b))/0x8*(parseInt(_0x306504(0x14d))/0x9)+parseInt(_0x306504(0x163))/0xa;if(_0x131ca2===_0x133f6b)break;else _0x3a206f['push'](_0x3a206f['shift']());}catch(_0xeae04d){_0x3a206f['push'](_0x3a206f['shift']());}}}(a148_0x19be,0xb0ae1));function a148_0x3a66(_0x23a456,_0x2ae848){_0x23a456=_0x23a456-0x14b;const _0x19bec9=a148_0x19be();let _0x3a667f=_0x19bec9[_0x23a456];return _0x3a667f;}import{CliErrors}from'../../errors.js';import{SKILL_FILE}from'./constants.js';function a148_0x19be(){const _0x3e2325=['validation','27FhCeYV','Runtime\x20Skill\x20package\x20is\x20missing\x20','toLowerCase','files','Missing\x20','path','1392879nfszZf','base64','bytes','object','map','zipSha256','treeSha256','832204jJnGrd','requireOssPath','7dUSRUF','943182JQMEcd','8420tiQgXs','schemaVersion','toString','Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.','Duplicate\x20Skill\x20package\x20entry:\x20','57495720wGJpGd','Runtime\x20Skill\x20package\x20size\x20mismatch.','length','size','has','zipSize','isArray','Runtime\x20Skill\x20package\x20sha256\x20mismatch.','some','Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.','1662SzqUFm','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','sha256','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20','Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20','string','\x20in\x20Skill\x20file\x20package.','push','Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','6984660mhdvZh','trim','ossPath','1324296MKLzNb'];a148_0x19be=function(){return _0x3e2325;};return a148_0x19be();}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(_0x38814){const _0x5dcb61=a148_0x3a66,_0x14116b=normalizeLocalFiles(_0x38814);if(!_0x14116b[_0x5dcb61(0x16b)](_0x36fc8a=>_0x36fc8a[_0x5dcb61(0x152)]===SKILL_FILE))throw CliErrors[_0x5dcb61(0x14c)](_0x5dcb61(0x151)+SKILL_FILE+_0x5dcb61(0x174));const _0x5254c1=localFilesToManifestFiles(_0x14116b),_0x36446c=createDeterministicZipPackage(_0x14116b);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x5254c1),'zipSha256':bufferSha256(_0x36446c),'zipSize':_0x36446c['length'],'files':_0x5254c1},'packageBytes':_0x36446c,'packageBase64':_0x36446c[_0x5dcb61(0x160)](_0x5dcb61(0x154))};}export function verifyRuntimeSkillPackage(_0x1d6054,_0x3fa33f){const _0x422ca5=a148_0x3a66,_0x5cd70d=normalizePackageManifest(_0x1d6054,{'requireOssPath':![]});if(!_0x5cd70d)throw CliErrors['validation'](_0x422ca5(0x177));return extractAndVerifyPackage(_0x5cd70d,_0x3fa33f);}export function verifyRuntimeSkillBundle(_0xfce767,_0x4cedd3){const _0x2292ab=a148_0x3a66,_0x1b0903=normalizePackageManifest(_0xfce767,{'requireOssPath':![]});if(!_0x1b0903)throw CliErrors[_0x2292ab(0x14c)](_0x2292ab(0x177));return extractAndVerifyPackageFiles(_0x1b0903,_0x4cedd3);}export function tryNormalizePackageManifest(_0x1bd48b){return normalizePackageManifest(_0x1bd48b,{'requireOssPath':![]});}export function requirePackageBytes(_0x21cb36,_0x458c3d){const _0x1c69a7=a148_0x3a66;if(!_0x458c3d||_0x458c3d[_0x1c69a7(0x165)]===0x0)throw CliErrors[_0x1c69a7(0x14c)]('Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20'+_0x21cb36);return _0x458c3d;}export function extractDownloadedPackage(_0x42d55b){const _0x44154b=a148_0x3a66,_0x1f0912=parseZipPackage(_0x42d55b)[_0x44154b(0x157)](_0x3c0f4a=>({'path':_0x3c0f4a[_0x44154b(0x152)],'bytes':_0x3c0f4a[_0x44154b(0x155)]}));if(!_0x1f0912[_0x44154b(0x16b)](_0x3667f7=>_0x3667f7[_0x44154b(0x152)]===SKILL_FILE))throw CliErrors[_0x44154b(0x14c)](_0x44154b(0x14e)+SKILL_FILE+'.');return normalizeLocalFiles(_0x1f0912);}export function localFilesToManifestFiles(_0x4e9b66){const _0x27c62b=a148_0x3a66;return normalizeLocalFiles(_0x4e9b66)['map'](_0x198479=>({'path':_0x198479[_0x27c62b(0x152)],'sha256':fileHash(_0x198479),'size':fileContent(_0x198479)[_0x27c62b(0x165)]}));}function normalizePackageManifest(_0x4895f4,_0x4fe855){const _0x544ead=a148_0x3a66;if(!_0x4895f4||typeof _0x4895f4!==_0x544ead(0x156)||Array[_0x544ead(0x169)](_0x4895f4))return undefined;const _0x5daf3a=_0x4895f4,_0x2c3220=typeof _0x5daf3a[_0x544ead(0x17a)]===_0x544ead(0x173)?_0x5daf3a['ossPath'][_0x544ead(0x179)]():undefined;if(_0x4fe855[_0x544ead(0x15b)]&&!_0x2c3220)return undefined;if(!Array['isArray'](_0x5daf3a[_0x544ead(0x150)])||_0x5daf3a[_0x544ead(0x150)][_0x544ead(0x165)]===0x0)return undefined;if(!isSha256Hex(_0x5daf3a[_0x544ead(0x159)]))throw CliErrors['validation'](_0x544ead(0x176));if(!isSha256Hex(_0x5daf3a[_0x544ead(0x158)]))throw CliErrors[_0x544ead(0x14c)](_0x544ead(0x16e));if(!Number['isSafeInteger'](_0x5daf3a[_0x544ead(0x168)])||_0x5daf3a['zipSize']<0x0)throw CliErrors[_0x544ead(0x14c)](_0x544ead(0x170));const _0x163eb1=normalizeManifestFiles(_0x5daf3a['files']);if(!_0x163eb1[_0x544ead(0x16b)](_0x1b02bc=>_0x1b02bc['path']===SKILL_FILE))throw CliErrors[_0x544ead(0x14c)]('Runtime\x20Skill\x20manifest\x20is\x20missing\x20'+SKILL_FILE+'.');const _0x3cd450=fileTreeHash(_0x163eb1);if(_0x3cd450!==_0x5daf3a[_0x544ead(0x159)][_0x544ead(0x14f)]())throw CliErrors['validation'](_0x544ead(0x161));return{'schemaVersion':Number['isSafeInteger'](_0x5daf3a[_0x544ead(0x15f)])?_0x5daf3a['schemaVersion']:0x2,'ossPath':_0x2c3220,'treeSha256':_0x3cd450,'zipSha256':_0x5daf3a[_0x544ead(0x158)]['toLowerCase'](),'zipSize':_0x5daf3a['zipSize'],'files':_0x163eb1};}function extractAndVerifyPackage(_0x3a7858,_0x5b6356){const _0x23e8ec=a148_0x3a66,_0x37614a=normalizePackageManifest(_0x3a7858,{'requireOssPath':![]});if(!_0x37614a)throw CliErrors['validation']('Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.');if(_0x5b6356['length']!==_0x37614a[_0x23e8ec(0x168)])throw CliErrors[_0x23e8ec(0x14c)](_0x23e8ec(0x164));const _0x3b2c79=bufferSha256(_0x5b6356);if(_0x3b2c79!==_0x37614a['zipSha256'])throw CliErrors[_0x23e8ec(0x14c)](_0x23e8ec(0x16a));return extractAndVerifyPackageFiles(_0x37614a,_0x5b6356);}function extractAndVerifyPackageFiles(_0x4d9bd1,_0x542f94){const _0xf86b8f=a148_0x3a66,_0x6df19f=parseZipPackage(_0x542f94);if(_0x6df19f['length']!==_0x4d9bd1[_0xf86b8f(0x150)]['length'])throw CliErrors['validation'](_0xf86b8f(0x16c));const _0x29ef34=new Map();for(const _0x7ab26d of _0x6df19f){if(_0x29ef34[_0xf86b8f(0x167)](_0x7ab26d[_0xf86b8f(0x152)]))throw CliErrors['validation'](_0xf86b8f(0x162)+_0x7ab26d['path']);_0x29ef34['set'](_0x7ab26d['path'],_0x7ab26d);}const _0x1f393b=[];for(const _0x4c609b of _0x4d9bd1['files']){const _0x5be8d9=_0x29ef34['get'](_0x4c609b[_0xf86b8f(0x152)]);if(!_0x5be8d9)throw CliErrors[_0xf86b8f(0x14c)](_0xf86b8f(0x172)+_0x4c609b['path']);if(_0x5be8d9[_0xf86b8f(0x155)][_0xf86b8f(0x165)]!==_0x4c609b[_0xf86b8f(0x166)])throw CliErrors[_0xf86b8f(0x14c)]('Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20'+_0x4c609b[_0xf86b8f(0x152)]);const _0x4da738=bufferSha256(_0x5be8d9[_0xf86b8f(0x155)]);if(_0x4da738!==_0x4c609b[_0xf86b8f(0x16f)])throw CliErrors[_0xf86b8f(0x14c)](_0xf86b8f(0x171)+_0x4c609b[_0xf86b8f(0x152)]);_0x1f393b[_0xf86b8f(0x175)]({'path':_0x4c609b[_0xf86b8f(0x152)],'bytes':_0x5be8d9[_0xf86b8f(0x155)]});}return normalizeLocalFiles(_0x1f393b);}
@@ -1 +1 @@
1
- (function(_0x153acf,_0x2fa787){var _0x12673a=a149_0x42a3,_0x364a59=_0x153acf();while(!![]){try{var _0x2a193d=-parseInt(_0x12673a(0x14b))/0x1+parseInt(_0x12673a(0x14a))/0x2*(parseInt(_0x12673a(0x144))/0x3)+parseInt(_0x12673a(0x147))/0x4+parseInt(_0x12673a(0x149))/0x5*(-parseInt(_0x12673a(0x148))/0x6)+-parseInt(_0x12673a(0x146))/0x7+-parseInt(_0x12673a(0x145))/0x8*(parseInt(_0x12673a(0x14d))/0x9)+-parseInt(_0x12673a(0x14e))/0xa*(-parseInt(_0x12673a(0x14c))/0xb);if(_0x2a193d===_0x2fa787)break;else _0x364a59['push'](_0x364a59['shift']());}catch(_0x98f938){_0x364a59['push'](_0x364a59['shift']());}}}(a149_0x25bc,0x1903e));export{contentHash,fileTreeHash}from'./runtime-skill-sync/hashing.js';export{linkEffectiveRuntimeSkills,linkGlobalRuntimeSkills,pruneStaleRuntimeSkillCache,pruneStaleRuntimeSkillLinks}from'./runtime-skill-sync/links.js';function a149_0x25bc(){var _0x5ebdd8=['36sRcHjU','23570teVhVr','142011DXjfvj','151264hDNSrJ','461797buTXQc','806200hJAQgX','90QUTlyM','9505jdEZDr','4jSIlsy','30715HnZGrT','33OrtJgo'];a149_0x25bc=function(){return _0x5ebdd8;};return a149_0x25bc();}export{resolveRuntimeSkillInstallTarget}from'./runtime-skill-sync/install-target.js';export{listLocalRuntimeSkills}from'./runtime-skill-sync/list-local.js';export{materializeRuntimeSkill,reuseMaterializedRuntimeSkill}from'./runtime-skill-sync/materialize.js';function a149_0x42a3(_0x5dc5e3,_0x3dcc20){_0x5dc5e3=_0x5dc5e3-0x144;var _0x25bcce=a149_0x25bc();var _0x42a358=_0x25bcce[_0x5dc5e3];return _0x42a358;}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(_0x36cf4d,_0x11d4ea){var _0x5ed1bf=a149_0x100f,_0x411576=_0x36cf4d();while(!![]){try{var _0x1f9366=parseInt(_0x5ed1bf(0x14e))/0x1*(-parseInt(_0x5ed1bf(0x151))/0x2)+parseInt(_0x5ed1bf(0x150))/0x3*(parseInt(_0x5ed1bf(0x14c))/0x4)+-parseInt(_0x5ed1bf(0x14a))/0x5*(parseInt(_0x5ed1bf(0x152))/0x6)+-parseInt(_0x5ed1bf(0x153))/0x7*(-parseInt(_0x5ed1bf(0x14b))/0x8)+parseInt(_0x5ed1bf(0x14f))/0x9*(-parseInt(_0x5ed1bf(0x154))/0xa)+parseInt(_0x5ed1bf(0x149))/0xb*(-parseInt(_0x5ed1bf(0x155))/0xc)+parseInt(_0x5ed1bf(0x14d))/0xd*(parseInt(_0x5ed1bf(0x156))/0xe);if(_0x1f9366===_0x11d4ea)break;else _0x411576['push'](_0x411576['shift']());}catch(_0x5f56c6){_0x411576['push'](_0x411576['shift']());}}}(a149_0x3105,0x26670));export{contentHash,fileTreeHash}from'./runtime-skill-sync/hashing.js';export{linkEffectiveRuntimeSkills,linkGlobalRuntimeSkills,pruneStaleRuntimeSkillCache,pruneStaleRuntimeSkillLinks}from'./runtime-skill-sync/links.js';export{resolveRuntimeSkillInstallTarget}from'./runtime-skill-sync/install-target.js';export{listLocalRuntimeSkills}from'./runtime-skill-sync/list-local.js';export{materializeRuntimeSkill,reuseMaterializedRuntimeSkill}from'./runtime-skill-sync/materialize.js';function a149_0x3105(){var _0x4e3099=['4358FNIvDz','8676YikOrD','7jtWheO','184390GcIXQq','247716GeRIdY','96572OPCrRj','88tVfGov','595UGoqOT','303440BGGyQP','1720ZlrqXI','715gfLQdH','83emXNmu','9XCNUAp','1929HXrMOX'];a149_0x3105=function(){return _0x4e3099;};return a149_0x3105();}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';function a149_0x100f(_0x147fb6,_0x340be8){_0x147fb6=_0x147fb6-0x149;var _0x310570=a149_0x3105();var _0x100f94=_0x310570[_0x147fb6];return _0x100f94;}export{buildSkillPackage,verifyRuntimeSkillBundle,verifyRuntimeSkillPackage}from'./runtime-skill-sync/zip-package.js';
@@ -1 +1 @@
1
- const a150_0xe03b37=a150_0x4236;(function(_0x495909,_0x440e36){const _0x529ca7=a150_0x4236,_0x551490=_0x495909();while(!![]){try{const _0x3b99b8=parseInt(_0x529ca7(0xf3))/0x1*(-parseInt(_0x529ca7(0x104))/0x2)+parseInt(_0x529ca7(0xec))/0x3*(parseInt(_0x529ca7(0xf5))/0x4)+parseInt(_0x529ca7(0xe9))/0x5*(parseInt(_0x529ca7(0xf9))/0x6)+-parseInt(_0x529ca7(0x103))/0x7*(parseInt(_0x529ca7(0xee))/0x8)+parseInt(_0x529ca7(0x105))/0x9+-parseInt(_0x529ca7(0xf2))/0xa+-parseInt(_0x529ca7(0xfc))/0xb*(-parseInt(_0x529ca7(0xeb))/0xc);if(_0x3b99b8===_0x440e36)break;else _0x551490['push'](_0x551490['shift']());}catch(_0x1d99f7){_0x551490['push'](_0x551490['shift']());}}}(a150_0x1f17,0x78866));import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';function a150_0x1f17(){const _0x78fd0e=['29bbeoMj','lockFile','33244GgspCZ','.claude','unusable','join','688254txCEhv','.skill-lock.json','\x20uses\x20unsupported\x20version\x20','11BTuatx','version','recorded','absent','kind','.agents','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','58618WqLyDW','64894tlruzi','2972601eDYwCk','reason','not-recorded','skills','includes','\x20has\x20no\x20skills\x20map','\x20records\x20\x22','find','20oDQBQT','parse','13113636UNOiKM','141MyJeWA','globalSkillsDirs','576DcStPH','utf8','message','object','2349840EKEipc'];a150_0x1f17=function(){return _0x78fd0e;};return a150_0x1f17();}import{join}from'node:path';export const SKILL_LOCK_RELATIVE_PATH=join(a150_0xe03b37(0x101),a150_0xe03b37(0xfa));function a150_0x4236(_0x22181d,_0x5a3014){_0x22181d=_0x22181d-0xe3;const _0x1f1725=a150_0x1f17();let _0x423646=_0x1f1725[_0x22181d];return _0x423646;}export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join(a150_0xe03b37(0x101),a150_0xe03b37(0xe4)),join(a150_0xe03b37(0xf6),a150_0xe03b37(0xe4))];const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0x50ba6c,_0x30fb60){const _0x5efe48=a150_0xe03b37;if(!existsSync(_0x50ba6c))return{'kind':_0x5efe48(0xe3)};let _0x2f1df2;try{_0x2f1df2=JSON[_0x5efe48(0xea)](readFileSync(_0x50ba6c,_0x5efe48(0xef)));}catch(_0xb78e54){return{'kind':_0x5efe48(0xf7),'reason':_0x50ba6c+'\x20is\x20unreadable:\x20'+_0xb78e54[_0x5efe48(0xf0)]};}const _0x1047a9=_0x2f1df2;if(typeof _0x1047a9?.['version']!=='number'||!SUPPORTED_LOCK_VERSIONS[_0x5efe48(0xe5)](_0x1047a9[_0x5efe48(0xfd)]))return{'kind':'unusable','reason':_0x50ba6c+_0x5efe48(0xfb)+String(_0x1047a9?.[_0x5efe48(0xfd)])};if(!_0x1047a9['skills']||typeof _0x1047a9[_0x5efe48(0xe4)]!==_0x5efe48(0xf1))return{'kind':_0x5efe48(0xf7),'reason':_0x50ba6c+_0x5efe48(0xe6)};return _0x1047a9['skills'][_0x30fb60]?{'kind':_0x5efe48(0xfe)}:{'kind':'not-recorded'};}export function resolveInstalledSkill(_0x524141,_0x173317){const _0x5f2362=a150_0xe03b37,_0x4b7d63=_0x173317?.['home']??homedir(),_0x2aab9f=_0x173317?.[_0x5f2362(0xed)]??GLOBAL_SKILLS_DIR_RELATIVE_PATHS['map'](_0x4d433=>join(_0x4b7d63,_0x4d433)),_0x2a4a60=_0x173317?.[_0x5f2362(0xf4)]??join(_0x4b7d63,SKILL_LOCK_RELATIVE_PATH),_0x4cfaca=_0x2aab9f['map'](_0x2059d2=>join(_0x2059d2,_0x524141,'SKILL.md')),_0x56827a=_0x4cfaca[_0x5f2362(0xe8)](_0xeb2a62=>existsSync(_0xeb2a62));if(_0x56827a)return{'state':'present','path':_0x56827a};const _0x43788f=readLockLookup(_0x2a4a60,_0x524141);if(_0x43788f[_0x5f2362(0x100)]===_0x5f2362(0xf7))return{'state':'unverifiable','reason':_0x43788f[_0x5f2362(0x106)]};if(_0x43788f[_0x5f2362(0x100)]==='recorded')return{'state':'unverifiable','reason':_0x2a4a60+_0x5f2362(0xe7)+_0x524141+_0x5f2362(0x102)+('('+_0x4cfaca[_0x5f2362(0xf8)](',\x20')+')')};return{'state':_0x5f2362(0xff),'checked':_0x4cfaca};}
1
+ const a150_0xf05ca9=a150_0x172a;(function(_0xefb97b,_0x58e8c7){const _0x4964a6=a150_0x172a,_0x226c6d=_0xefb97b();while(!![]){try{const _0x18c42=-parseInt(_0x4964a6(0xd7))/0x1*(parseInt(_0x4964a6(0xe8))/0x2)+-parseInt(_0x4964a6(0xe2))/0x3+-parseInt(_0x4964a6(0xd1))/0x4*(parseInt(_0x4964a6(0xe5))/0x5)+parseInt(_0x4964a6(0xe0))/0x6+parseInt(_0x4964a6(0xcc))/0x7*(-parseInt(_0x4964a6(0xda))/0x8)+-parseInt(_0x4964a6(0xce))/0x9+-parseInt(_0x4964a6(0xdb))/0xa*(-parseInt(_0x4964a6(0xe1))/0xb);if(_0x18c42===_0x58e8c7)break;else _0x226c6d['push'](_0x226c6d['shift']());}catch(_0x371ff2){_0x226c6d['push'](_0x226c6d['shift']());}}}(a150_0x5d73,0xbc0ae));import{existsSync,readFileSync}from'node:fs';function a150_0x172a(_0x546f32,_0x3d1ff7){_0x546f32=_0x546f32-0xc9;const _0x5d7331=a150_0x5d73();let _0x172abd=_0x5d7331[_0x546f32];return _0x172abd;}import{homedir}from'node:os';import{join}from'node:path';function a150_0x5d73(){const _0x5c8c1c=['3791388JdoAEO','reason','map','5NpnjvG','version','unverifiable','2443942MFeLZV','recorded','not-recorded','join','.skill-lock.json','parse','SKILL.md','7AoRJdC','skills','3417273YWYfTZ','lockFile','utf8','4332356qdbxUJ','number','unusable','includes','.agents','kind','1NUKLkc','\x20records\x20\x22','present','7201496Qjvqdq','2090EVEpPe','\x20is\x20unreadable:\x20','absent','home','object','1854648EYxHJy','279466dMnmdG'];a150_0x5d73=function(){return _0x5c8c1c;};return a150_0x5d73();}export const SKILL_LOCK_RELATIVE_PATH=join(a150_0xf05ca9(0xd5),a150_0xf05ca9(0xc9));export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join(a150_0xf05ca9(0xd5),a150_0xf05ca9(0xcd)),join('.claude',a150_0xf05ca9(0xcd))];const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0x2f8e46,_0x418da8){const _0x221dec=a150_0xf05ca9;if(!existsSync(_0x2f8e46))return{'kind':_0x221dec(0xea)};let _0x1f10b6;try{_0x1f10b6=JSON[_0x221dec(0xca)](readFileSync(_0x2f8e46,_0x221dec(0xd0)));}catch(_0x43c8f6){return{'kind':_0x221dec(0xd3),'reason':_0x2f8e46+_0x221dec(0xdc)+_0x43c8f6['message']};}const _0x3f7821=_0x1f10b6;if(typeof _0x3f7821?.[_0x221dec(0xe6)]!==_0x221dec(0xd2)||!SUPPORTED_LOCK_VERSIONS[_0x221dec(0xd4)](_0x3f7821[_0x221dec(0xe6)]))return{'kind':'unusable','reason':_0x2f8e46+'\x20uses\x20unsupported\x20version\x20'+String(_0x3f7821?.[_0x221dec(0xe6)])};if(!_0x3f7821['skills']||typeof _0x3f7821[_0x221dec(0xcd)]!==_0x221dec(0xdf))return{'kind':'unusable','reason':_0x2f8e46+'\x20has\x20no\x20skills\x20map'};return _0x3f7821[_0x221dec(0xcd)][_0x418da8]?{'kind':'recorded'}:{'kind':_0x221dec(0xea)};}export function resolveInstalledSkill(_0x5a8153,_0x1d742f){const _0x3ef123=a150_0xf05ca9,_0x57d263=_0x1d742f?.[_0x3ef123(0xde)]??homedir(),_0x1522a3=_0x1d742f?.['globalSkillsDirs']??GLOBAL_SKILLS_DIR_RELATIVE_PATHS[_0x3ef123(0xe4)](_0x4f49c8=>join(_0x57d263,_0x4f49c8)),_0x12672a=_0x1d742f?.[_0x3ef123(0xcf)]??join(_0x57d263,SKILL_LOCK_RELATIVE_PATH),_0x1c8da6=_0x1522a3['map'](_0x5ac671=>join(_0x5ac671,_0x5a8153,_0x3ef123(0xcb))),_0x510cbc=_0x1c8da6['find'](_0x5412c3=>existsSync(_0x5412c3));if(_0x510cbc)return{'state':_0x3ef123(0xd9),'path':_0x510cbc};const _0x3242eb=readLockLookup(_0x12672a,_0x5a8153);if(_0x3242eb[_0x3ef123(0xd6)]===_0x3ef123(0xd3))return{'state':_0x3ef123(0xe7),'reason':_0x3242eb[_0x3ef123(0xe3)]};if(_0x3242eb[_0x3ef123(0xd6)]===_0x3ef123(0xe9))return{'state':_0x3ef123(0xe7),'reason':_0x12672a+_0x3ef123(0xd8)+_0x5a8153+'\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20'+('('+_0x1c8da6[_0x3ef123(0xeb)](',\x20')+')')};return{'state':_0x3ef123(0xdd),'checked':_0x1c8da6};}
@@ -1 +1 @@
1
- const a151_0x1a2389=a151_0x13a5;(function(_0x33ad27,_0x432575){const _0x575cc9=a151_0x13a5,_0x2ea8a9=_0x33ad27();while(!![]){try{const _0x5441df=parseInt(_0x575cc9(0x136))/0x1*(-parseInt(_0x575cc9(0x131))/0x2)+-parseInt(_0x575cc9(0x137))/0x3+parseInt(_0x575cc9(0x142))/0x4*(-parseInt(_0x575cc9(0x12d))/0x5)+parseInt(_0x575cc9(0x133))/0x6+parseInt(_0x575cc9(0x145))/0x7*(-parseInt(_0x575cc9(0x130))/0x8)+parseInt(_0x575cc9(0x143))/0x9+parseInt(_0x575cc9(0x141))/0xa*(parseInt(_0x575cc9(0x13d))/0xb);if(_0x5441df===_0x432575)break;else _0x2ea8a9['push'](_0x2ea8a9['shift']());}catch(_0x16e034){_0x2ea8a9['push'](_0x2ea8a9['shift']());}}}(a151_0x2703,0x34c70));const REDACTED_ACCESS_KEY=a151_0x1a2389(0x13c);function a151_0x13a5(_0x478c94,_0x1296ac){_0x478c94=_0x478c94-0x12d;const _0x270399=a151_0x2703();let _0x13a563=_0x270399[_0x478c94];return _0x13a563;}export function maskCliAccessKey(_0x287120){const _0x1ebe11=a151_0x1a2389;if(typeof _0x287120!==_0x1ebe11(0x12e)||_0x287120[_0x1ebe11(0x12f)]<=0x8)return REDACTED_ACCESS_KEY;return''+_0x287120[_0x1ebe11(0x132)](0x0,0x8)+'*'[_0x1ebe11(0x140)](_0x287120[_0x1ebe11(0x12f)]-0x8);}export function redactCliConfigCredentials(_0x5833e4){const _0x2674b4=a151_0x1a2389,_0x577c96={..._0x5833e4};return Object[_0x2674b4(0x13a)]['hasOwnProperty']['call'](_0x577c96,'accessKey')&&(_0x577c96[_0x2674b4(0x13f)]=maskCliAccessKey(_0x577c96['accessKey'])),_0x577c96[_0x2674b4(0x144)]&&typeof _0x577c96[_0x2674b4(0x144)]===_0x2674b4(0x13e)&&!Array[_0x2674b4(0x138)](_0x577c96[_0x2674b4(0x144)])&&(_0x577c96[_0x2674b4(0x144)]=redactLegacyAppCredentials(_0x577c96[_0x2674b4(0x144)])),_0x577c96;}export function redactCliConfigValue(_0x5a5f31,_0x26a993){const _0x2d0775=a151_0x1a2389;if(_0x5a5f31===_0x2d0775(0x13f)||/^apps\.[^.]+\.accessKey$/[_0x2d0775(0x134)](_0x5a5f31))return maskCliAccessKey(_0x26a993);if(_0x5a5f31===_0x2d0775(0x144)&&_0x26a993&&typeof _0x26a993===_0x2d0775(0x13e)&&!Array[_0x2d0775(0x138)](_0x26a993))return redactLegacyAppCredentials(_0x26a993);if(/^apps\.[^.]+$/[_0x2d0775(0x134)](_0x5a5f31)&&_0x26a993&&typeof _0x26a993==='object'&&!Array[_0x2d0775(0x138)](_0x26a993)){const _0x2d8291=_0x26a993;return Object[_0x2d0775(0x13a)]['hasOwnProperty']['call'](_0x2d8291,_0x2d0775(0x13f))?{..._0x2d8291,'accessKey':maskCliAccessKey(_0x2d8291['accessKey'])}:_0x26a993;}return _0x26a993;}function a151_0x2703(){const _0x53e0bd=['string','length','1437280fvYwNl','226HSNjgp','slice','863028hQfOaM','test','hasOwnProperty','3301XTwFfo','1259160aeuMAt','isArray','call','prototype','entries','<redacted>','33mYtyEG','object','accessKey','repeat','3770590tcLsnA','160MMrVGv','556866eRlwMU','apps','7FAzgKe','18540sGTFPG'];a151_0x2703=function(){return _0x53e0bd;};return a151_0x2703();}function redactLegacyAppCredentials(_0x1c5671){const _0x239a3f=a151_0x1a2389;return Object['fromEntries'](Object[_0x239a3f(0x13b)](_0x1c5671)['map'](([_0x2d5f82,_0x27d98e])=>{const _0x14ecf3=_0x239a3f;if(!_0x27d98e||typeof _0x27d98e!==_0x14ecf3(0x13e)||Array[_0x14ecf3(0x138)](_0x27d98e))return[_0x2d5f82,_0x27d98e];const _0x9c17f3={..._0x27d98e};return Object[_0x14ecf3(0x13a)][_0x14ecf3(0x135)][_0x14ecf3(0x139)](_0x9c17f3,'accessKey')&&(_0x9c17f3['accessKey']=maskCliAccessKey(_0x9c17f3[_0x14ecf3(0x13f)])),[_0x2d5f82,_0x9c17f3];}));}
1
+ const a151_0x427ded=a151_0x48fa;function a151_0x3471(){const _0x55bcad=['2982510klIbFZ','test','object','map','<redacted>','1192788smEkJd','repeat','prototype','412914BJqRKz','9LbzSOe','string','1004143NvswjS','3385941KnluYO','slice','entries','2ehxQns','accessKey','length','25258440LJHgDs','hasOwnProperty','7TTXfMb','12572840UrMxiB','call','apps','isArray','fromEntries'];a151_0x3471=function(){return _0x55bcad;};return a151_0x3471();}(function(_0x152632,_0x4536ef){const _0x31bbbe=a151_0x48fa,_0xc1c0ad=_0x152632();while(!![]){try{const _0xef3d9b=-parseInt(_0x31bbbe(0x10e))/0x1*(-parseInt(_0x31bbbe(0x112))/0x2)+parseInt(_0x31bbbe(0x10f))/0x3+parseInt(_0x31bbbe(0x108))/0x4+-parseInt(_0x31bbbe(0x103))/0x5+parseInt(_0x31bbbe(0x10b))/0x6*(parseInt(_0x31bbbe(0xfd))/0x7)+parseInt(_0x31bbbe(0xfe))/0x8*(parseInt(_0x31bbbe(0x10c))/0x9)+-parseInt(_0x31bbbe(0xfb))/0xa;if(_0xef3d9b===_0x4536ef)break;else _0xc1c0ad['push'](_0xc1c0ad['shift']());}catch(_0x2cf2a3){_0xc1c0ad['push'](_0xc1c0ad['shift']());}}}(a151_0x3471,0xe7b49));const REDACTED_ACCESS_KEY=a151_0x427ded(0x107);function a151_0x48fa(_0x3d6fdd,_0x434abc){_0x3d6fdd=_0x3d6fdd-0xf9;const _0x347158=a151_0x3471();let _0x48faff=_0x347158[_0x3d6fdd];return _0x48faff;}export function maskCliAccessKey(_0x1edbb7){const _0x1b5f0a=a151_0x427ded;if(typeof _0x1edbb7!==_0x1b5f0a(0x10d)||_0x1edbb7[_0x1b5f0a(0xfa)]<=0x8)return REDACTED_ACCESS_KEY;return''+_0x1edbb7[_0x1b5f0a(0x110)](0x0,0x8)+'*'[_0x1b5f0a(0x109)](_0x1edbb7[_0x1b5f0a(0xfa)]-0x8);}export function redactCliConfigCredentials(_0x5c27b5){const _0x487863=a151_0x427ded,_0x49e056={..._0x5c27b5};return Object[_0x487863(0x10a)]['hasOwnProperty']['call'](_0x49e056,'accessKey')&&(_0x49e056[_0x487863(0xf9)]=maskCliAccessKey(_0x49e056[_0x487863(0xf9)])),_0x49e056[_0x487863(0x100)]&&typeof _0x49e056[_0x487863(0x100)]==='object'&&!Array[_0x487863(0x101)](_0x49e056[_0x487863(0x100)])&&(_0x49e056[_0x487863(0x100)]=redactLegacyAppCredentials(_0x49e056[_0x487863(0x100)])),_0x49e056;}export function redactCliConfigValue(_0x585850,_0x268b6c){const _0xf55306=a151_0x427ded;if(_0x585850==='accessKey'||/^apps\.[^.]+\.accessKey$/[_0xf55306(0x104)](_0x585850))return maskCliAccessKey(_0x268b6c);if(_0x585850===_0xf55306(0x100)&&_0x268b6c&&typeof _0x268b6c===_0xf55306(0x105)&&!Array[_0xf55306(0x101)](_0x268b6c))return redactLegacyAppCredentials(_0x268b6c);if(/^apps\.[^.]+$/[_0xf55306(0x104)](_0x585850)&&_0x268b6c&&typeof _0x268b6c===_0xf55306(0x105)&&!Array[_0xf55306(0x101)](_0x268b6c)){const _0x384bf1=_0x268b6c;return Object[_0xf55306(0x10a)][_0xf55306(0xfc)]['call'](_0x384bf1,_0xf55306(0xf9))?{..._0x384bf1,'accessKey':maskCliAccessKey(_0x384bf1['accessKey'])}:_0x268b6c;}return _0x268b6c;}function redactLegacyAppCredentials(_0x9ad781){const _0x5b5634=a151_0x427ded;return Object[_0x5b5634(0x102)](Object[_0x5b5634(0x111)](_0x9ad781)[_0x5b5634(0x106)](([_0x438d70,_0x373c9e])=>{const _0x3bf704=_0x5b5634;if(!_0x373c9e||typeof _0x373c9e!==_0x3bf704(0x105)||Array[_0x3bf704(0x101)](_0x373c9e))return[_0x438d70,_0x373c9e];const _0x4e9982={..._0x373c9e};return Object[_0x3bf704(0x10a)][_0x3bf704(0xfc)][_0x3bf704(0xff)](_0x4e9982,'accessKey')&&(_0x4e9982['accessKey']=maskCliAccessKey(_0x4e9982['accessKey'])),[_0x438d70,_0x4e9982];}));}
@@ -1 +1 @@
1
- (function(_0x51d7f3,_0x26d5d0){const _0x402f63=a152_0x4d76,_0x36ec3d=_0x51d7f3();while(!![]){try{const _0x2f6c6b=-parseInt(_0x402f63(0x79))/0x1+-parseInt(_0x402f63(0x77))/0x2+parseInt(_0x402f63(0x7b))/0x3*(parseInt(_0x402f63(0x75))/0x4)+-parseInt(_0x402f63(0x73))/0x5+parseInt(_0x402f63(0x76))/0x6*(parseInt(_0x402f63(0x7a))/0x7)+-parseInt(_0x402f63(0x74))/0x8*(-parseInt(_0x402f63(0x78))/0x9)+-parseInt(_0x402f63(0x71))/0xa*(-parseInt(_0x402f63(0x72))/0xb);if(_0x2f6c6b===_0x26d5d0)break;else _0x36ec3d['push'](_0x36ec3d['shift']());}catch(_0x22877f){_0x36ec3d['push'](_0x36ec3d['shift']());}}}(a152_0x567c,0x1aeb1));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a152_0x567c(){const _0x270219=['25383FagQmu','10969gqgMmz','1713RTbzTa','1797800mwVFfU','11akSAko','498980QsQmpm','80344SgusrU','952CaqRWB','6mlKUwr','424736wjWOdu','117AOwkgU'];a152_0x567c=function(){return _0x270219;};return a152_0x567c();}function a152_0x4d76(_0x33656,_0x5d337d){_0x33656=_0x33656-0x71;const _0x567cab=a152_0x567c();let _0x4d761a=_0x567cab[_0x33656];return _0x4d761a;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x56d411,_0x2c5229){const _0x164885=a152_0x457f,_0x29d463=_0x56d411();while(!![]){try{const _0x3bd027=parseInt(_0x164885(0x15c))/0x1*(-parseInt(_0x164885(0x158))/0x2)+parseInt(_0x164885(0x15b))/0x3+-parseInt(_0x164885(0x159))/0x4+parseInt(_0x164885(0x155))/0x5*(parseInt(_0x164885(0x152))/0x6)+-parseInt(_0x164885(0x15a))/0x7+-parseInt(_0x164885(0x157))/0x8*(parseInt(_0x164885(0x154))/0x9)+-parseInt(_0x164885(0x153))/0xa*(-parseInt(_0x164885(0x156))/0xb);if(_0x3bd027===_0x2c5229)break;else _0x29d463['push'](_0x29d463['shift']());}catch(_0x27fbd7){_0x29d463['push'](_0x29d463['shift']());}}}(a152_0x213c,0x40f0f));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a152_0x457f(_0x570513,_0x288c35){_0x570513=_0x570513-0x152;const _0x213c00=a152_0x213c();let _0x457fcf=_0x213c00[_0x570513];return _0x457fcf;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});function a152_0x213c(){const _0x2b15eb=['8jVbWns','171286yGPTvi','1429736HKUPyE','2626743LxKLGa','728751Peemwm','2NCtwFV','318804LRzQzU','2080670QOxhGT','1537983AtfXxz','25iNNZum','44zzytry'];a152_0x213c=function(){return _0x2b15eb;};return a152_0x213c();}
@@ -1 +1 @@
1
- (function(_0x1e4616,_0x368b66){const _0x23d569=a153_0x1d5f,_0x21a9c1=_0x1e4616();while(!![]){try{const _0x292621=-parseInt(_0x23d569(0x95))/0x1+parseInt(_0x23d569(0x9c))/0x2+-parseInt(_0x23d569(0x8f))/0x3*(parseInt(_0x23d569(0x90))/0x4)+-parseInt(_0x23d569(0x9d))/0x5+-parseInt(_0x23d569(0x92))/0x6+parseInt(_0x23d569(0x97))/0x7+parseInt(_0x23d569(0xa2))/0x8;if(_0x292621===_0x368b66)break;else _0x21a9c1['push'](_0x21a9c1['shift']());}catch(_0x620c39){_0x21a9c1['push'](_0x21a9c1['shift']());}}}(a153_0x60b5,0x38f7f));import a153_0x59d83c from'semver';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';function a153_0x60b5(){const _0x4d90ef=['593134qmDKMW','1751905sXxHSR','stableVersion','upgradeMessage','validation','Current\x20version:\x20','6431736jDWSVR','Current\x20CLI\x20version\x20is\x20below\x20the\x20minimum\x20supported\x20version.','Minimum\x20supported:\x20','minimumVersionMessage','276vFOgtA','1912KurmKJ','belowMinimum','1732512IoshHA','currentVersion','Recommended\x20stable:\x20','376202zNdTNM','unavailable','1344840KTgWgd','npm\x20install\x20-g\x20','filter','latest','minimumVersion'];a153_0x60b5=function(){return _0x4d90ef;};return a153_0x60b5();}import{CliErrors}from'../errors.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';export function evaluateCliVersionPolicy(_0x32c960,_0x14d88b){const _0x49dd82=a153_0x1d5f,_0x4019e8=a153_0x59d83c['valid'](_0x32c960)===_0x32c960,_0x59b96a=_0x14d88b?.['stableVersion']??null,_0x20cd65=_0x14d88b?.[_0x49dd82(0x9b)]??null,_0x11a076=Boolean(_0x4019e8&&_0x59b96a&&a153_0x59d83c['lt'](_0x32c960,_0x59b96a)),_0x41545f=Boolean(_0x4019e8&&_0x20cd65&&a153_0x59d83c['lt'](_0x32c960,_0x20cd65));return{'currentVersion':_0x32c960,'stableVersion':_0x59b96a,'minimumVersion':_0x20cd65,'needsUpgrade':_0x11a076||_0x41545f,'belowMinimum':_0x41545f,'upgradeMessage':_0x14d88b?.[_0x49dd82(0x9f)],'minimumVersionMessage':_0x14d88b?.[_0x49dd82(0x8e)]};}function a153_0x1d5f(_0x3196d9,_0x1e28d3){_0x3196d9=_0x3196d9-0x8c;const _0x60b571=a153_0x60b5();let _0x1d5f34=_0x60b571[_0x3196d9];return _0x1d5f34;}export async function checkCliVersion(){return evaluateCliVersionPolicy(getCliVersion(),await getCliVersionPolicy());}export function getCliUpgradeCommand(_0x3d67ca){const _0x434ba1=a153_0x1d5f;return _0x434ba1(0x98)+LOVRABET_NPM_PACKAGE_NAME+'@'+(_0x3d67ca['stableVersion']??_0x434ba1(0x9a));}export function assertCliVersionSupported(_0x371cef){const _0xecc168=a153_0x1d5f;if(!_0x371cef[_0xecc168(0x91)])return;const _0x12d6b7=[_0x371cef[_0xecc168(0x8e)],_0xecc168(0xa1)+_0x371cef[_0xecc168(0x93)],_0xecc168(0x8d)+_0x371cef['minimumVersion'],_0xecc168(0x94)+(_0x371cef[_0xecc168(0x9e)]??_0xecc168(0x96)),'Upgrade\x20command:\x20'+getCliUpgradeCommand(_0x371cef)][_0xecc168(0x99)](Boolean)['join']('\x0a');throw CliErrors[_0xecc168(0xa0)](_0xecc168(0x8c),_0x12d6b7);}
1
+ (function(_0x431e30,_0x4b2fcf){const _0xa48910=a153_0x4fe6,_0x5b9e08=_0x431e30();while(!![]){try{const _0x1d6aa7=-parseInt(_0xa48910(0x1e2))/0x1*(-parseInt(_0xa48910(0x1d1))/0x2)+parseInt(_0xa48910(0x1e5))/0x3*(-parseInt(_0xa48910(0x1d6))/0x4)+-parseInt(_0xa48910(0x1da))/0x5*(-parseInt(_0xa48910(0x1d0))/0x6)+parseInt(_0xa48910(0x1db))/0x7*(parseInt(_0xa48910(0x1df))/0x8)+parseInt(_0xa48910(0x1e1))/0x9*(parseInt(_0xa48910(0x1e3))/0xa)+parseInt(_0xa48910(0x1e4))/0xb+-parseInt(_0xa48910(0x1d7))/0xc*(parseInt(_0xa48910(0x1d5))/0xd);if(_0x1d6aa7===_0x4b2fcf)break;else _0x5b9e08['push'](_0x5b9e08['shift']());}catch(_0x4738c1){_0x5b9e08['push'](_0x5b9e08['shift']());}}}(a153_0x1ca3,0x65fc0));import a153_0x78230d from'semver';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';import{CliErrors}from'../errors.js';function a153_0x1ca3(){const _0x3663f7=['currentVersion','minimumVersionMessage','upgradeMessage','14408PwMHhY','belowMinimum','100314jCORXK','169483bDJTzx','320iIaofr','1818212eoZGGx','885SbMANk','Current\x20CLI\x20version\x20is\x20below\x20the\x20minimum\x20supported\x20version.','valid','Current\x20version:\x20','stableVersion','Recommended\x20stable:\x20','2831574QoQaFG','4JohIig','npm\x20install\x20-g\x20','Upgrade\x20command:\x20','minimumVersion','10792600izEVVR','2104XCrcVY','12LpQMpj','validation','latest','5qSvcza','273ATdZlr'];a153_0x1ca3=function(){return _0x3663f7;};return a153_0x1ca3();}import{getCliVersionPolicy}from'../utils/cli-version-policy.js';function a153_0x4fe6(_0x584e9b,_0x2572ea){_0x584e9b=_0x584e9b-0x1cd;const _0x1ca3cc=a153_0x1ca3();let _0x4fe6b2=_0x1ca3cc[_0x584e9b];return _0x4fe6b2;}import{getCliVersion}from'../utils/version.js';export function evaluateCliVersionPolicy(_0x4347c9,_0x314dfd){const _0x3d6615=a153_0x4fe6,_0x4aba1f=a153_0x78230d[_0x3d6615(0x1e7)](_0x4347c9)===_0x4347c9,_0xcc6c0c=_0x314dfd?.[_0x3d6615(0x1ce)]??null,_0x4727b0=_0x314dfd?.['minimumVersion']??null,_0x42492b=Boolean(_0x4aba1f&&_0xcc6c0c&&a153_0x78230d['lt'](_0x4347c9,_0xcc6c0c)),_0x20e37c=Boolean(_0x4aba1f&&_0x4727b0&&a153_0x78230d['lt'](_0x4347c9,_0x4727b0));return{'currentVersion':_0x4347c9,'stableVersion':_0xcc6c0c,'minimumVersion':_0x4727b0,'needsUpgrade':_0x42492b||_0x20e37c,'belowMinimum':_0x20e37c,'upgradeMessage':_0x314dfd?.[_0x3d6615(0x1de)],'minimumVersionMessage':_0x314dfd?.[_0x3d6615(0x1dd)]};}export async function checkCliVersion(){return evaluateCliVersionPolicy(getCliVersion(),await getCliVersionPolicy());}export function getCliUpgradeCommand(_0x526461){const _0x4e2899=a153_0x4fe6;return _0x4e2899(0x1d2)+LOVRABET_NPM_PACKAGE_NAME+'@'+(_0x526461[_0x4e2899(0x1ce)]??_0x4e2899(0x1d9));}export function assertCliVersionSupported(_0xcffd60){const _0x5185b4=a153_0x4fe6;if(!_0xcffd60[_0x5185b4(0x1e0)])return;const _0x3f580c=[_0xcffd60[_0x5185b4(0x1dd)],_0x5185b4(0x1cd)+_0xcffd60[_0x5185b4(0x1dc)],'Minimum\x20supported:\x20'+_0xcffd60[_0x5185b4(0x1d4)],_0x5185b4(0x1cf)+(_0xcffd60[_0x5185b4(0x1ce)]??'unavailable'),_0x5185b4(0x1d3)+getCliUpgradeCommand(_0xcffd60)]['filter'](Boolean)['join']('\x0a');throw CliErrors[_0x5185b4(0x1d8)](_0x5185b4(0x1e6),_0x3f580c);}
@@ -1 +1 @@
1
- function a154_0x1e6e(){const _0x4913de=['now','minVersion','finally','then','409912BauYVO','32KjpmdV','2745736aPMHeL','valid','minimumVersionMessage','object','55HGQIND','trim','string','minimumVersion','application/json','3128139CBeVeQ','6719769mGDJWQ','timeout','latestVersion','81012uWWwTl','700106qzqwfx','cli','183928YviRqG'];a154_0x1e6e=function(){return _0x4913de;};return a154_0x1e6e();}(function(_0xc45949,_0x278560){const _0xec0427=a154_0x2db2,_0x2f7a85=_0xc45949();while(!![]){try{const _0x450d5b=-parseInt(_0xec0427(0x1a4))/0x1+parseInt(_0xec0427(0x1a2))/0x2+-parseInt(_0xec0427(0x19d))/0x3+parseInt(_0xec0427(0x1a9))/0x4*(-parseInt(_0xec0427(0x1af))/0x5)+-parseInt(_0xec0427(0x1a1))/0x6+-parseInt(_0xec0427(0x1ab))/0x7+-parseInt(_0xec0427(0x1aa))/0x8*(-parseInt(_0xec0427(0x19e))/0x9);if(_0x450d5b===_0x278560)break;else _0x2f7a85['push'](_0x2f7a85['shift']());}catch(_0x33c249){_0x2f7a85['push'](_0x2f7a85['shift']());}}}(a154_0x1e6e,0x8cdc8));import a154_0x4711fa from'semver';import{LOVRABET_CLI_VERSION_POLICY_URL}from'../constant/distribution.js';const SUCCESS_CACHE_TTL_MS=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL_MS=0x3c*0x3e8,FETCH_TIMEOUT_MS=0x5dc;function pickString(_0x5c3ecd){const _0x356f24=a154_0x2db2;return typeof _0x5c3ecd===_0x356f24(0x1b1)&&_0x5c3ecd[_0x356f24(0x1b0)]()?_0x5c3ecd[_0x356f24(0x1b0)]():null;}function pickStrictSemver(_0x2f0c89){const _0x490e3f=a154_0x2db2,_0x278c9d=pickString(_0x2f0c89);return _0x278c9d&&a154_0x4711fa[_0x490e3f(0x1ac)](_0x278c9d)===_0x278c9d?_0x278c9d:null;}export function normalizeCliVersionPolicy(_0x5a102d){const _0x3350bb=a154_0x2db2;if(!_0x5a102d||typeof _0x5a102d!==_0x3350bb(0x1ae))return null;const _0x2d8765=_0x5a102d,_0x4bee1d=_0x2d8765[_0x3350bb(0x1a3)]&&typeof _0x2d8765[_0x3350bb(0x1a3)]===_0x3350bb(0x1ae)?_0x2d8765[_0x3350bb(0x1a3)]:_0x2d8765,_0x2f21df=pickStrictSemver(_0x4bee1d['stableVersion']??_0x4bee1d[_0x3350bb(0x1a0)]??_0x4bee1d['recommendedVersion']),_0x2fbff2=pickStrictSemver(_0x4bee1d[_0x3350bb(0x1b2)]??_0x4bee1d[_0x3350bb(0x1a6)]);if(!_0x2f21df&&!_0x2fbff2)return null;if(_0x2f21df&&_0x2fbff2&&a154_0x4711fa['gt'](_0x2fbff2,_0x2f21df))return null;return{'stableVersion':_0x2f21df,'minimumVersion':_0x2fbff2,'upgradeMessage':pickString(_0x4bee1d['upgradeMessage'])??undefined,'minimumVersionMessage':pickString(_0x4bee1d[_0x3350bb(0x1ad)])??undefined};}export async function fetchCliVersionPolicy(){const _0x689b8e=a154_0x2db2;try{const _0x48ddc0=await fetch(LOVRABET_CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x689b8e(0x19c)},'signal':AbortSignal[_0x689b8e(0x19f)](FETCH_TIMEOUT_MS)});if(!_0x48ddc0['ok'])return null;return normalizeCliVersionPolicy(await _0x48ddc0['json']());}catch{return null;}}let cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;function a154_0x2db2(_0x38de56,_0x241b4f){_0x38de56=_0x38de56-0x19c;const _0x1e6e66=a154_0x1e6e();let _0x2db28a=_0x1e6e66[_0x38de56];return _0x2db28a;}export async function getCliVersionPolicy(){const _0x20048d=a154_0x2db2,_0x587dba=Date[_0x20048d(0x1a5)]();if(hasCachedPolicy){const _0x336f7d=cachedPolicy?SUCCESS_CACHE_TTL_MS:FAILURE_CACHE_TTL_MS;if(_0x587dba-cachedAt<_0x336f7d)return cachedPolicy;}if(pendingPolicy)return pendingPolicy;return pendingPolicy=fetchCliVersionPolicy()[_0x20048d(0x1a8)](_0x3d8952=>{const _0x59ed08=_0x20048d;return cachedPolicy=_0x3d8952,cachedAt=Date[_0x59ed08(0x1a5)](),hasCachedPolicy=!![],_0x3d8952;})[_0x20048d(0x1a7)](()=>{pendingPolicy=null;}),pendingPolicy;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;}
1
+ (function(_0x3da57c,_0x89c1bc){const _0x56804b=a154_0x387d,_0x2a38ad=_0x3da57c();while(!![]){try{const _0x50c0a5=-parseInt(_0x56804b(0xee))/0x1*(parseInt(_0x56804b(0xe2))/0x2)+parseInt(_0x56804b(0xf2))/0x3*(parseInt(_0x56804b(0xdc))/0x4)+-parseInt(_0x56804b(0xe6))/0x5+-parseInt(_0x56804b(0xe5))/0x6*(-parseInt(_0x56804b(0xe3))/0x7)+parseInt(_0x56804b(0xe1))/0x8+parseInt(_0x56804b(0xda))/0x9+parseInt(_0x56804b(0xe0))/0xa*(-parseInt(_0x56804b(0xe9))/0xb);if(_0x50c0a5===_0x89c1bc)break;else _0x2a38ad['push'](_0x2a38ad['shift']());}catch(_0x4c1a0b){_0x2a38ad['push'](_0x2a38ad['shift']());}}}(a154_0x5df3,0xd9a40));import a154_0x253c35 from'semver';import{LOVRABET_CLI_VERSION_POLICY_URL}from'../constant/distribution.js';const SUCCESS_CACHE_TTL_MS=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL_MS=0x3c*0x3e8,FETCH_TIMEOUT_MS=0x5dc;function pickString(_0x3c9027){const _0x487119=a154_0x387d;return typeof _0x3c9027==='string'&&_0x3c9027[_0x487119(0xdf)]()?_0x3c9027[_0x487119(0xdf)]():null;}function pickStrictSemver(_0x2e0638){const _0x30a610=a154_0x387d,_0x5a3fe9=pickString(_0x2e0638);return _0x5a3fe9&&a154_0x253c35[_0x30a610(0xea)](_0x5a3fe9)===_0x5a3fe9?_0x5a3fe9:null;}function a154_0x387d(_0x17b805,_0x2d89d0){_0x17b805=_0x17b805-0xda;const _0x5df34e=a154_0x5df3();let _0x387d96=_0x5df34e[_0x17b805];return _0x387d96;}export function normalizeCliVersionPolicy(_0x47b2f8){const _0x21a96d=a154_0x387d;if(!_0x47b2f8||typeof _0x47b2f8!==_0x21a96d(0xdb))return null;const _0xb7b14f=_0x47b2f8,_0x33e5b5=_0xb7b14f[_0x21a96d(0xed)]&&typeof _0xb7b14f[_0x21a96d(0xed)]===_0x21a96d(0xdb)?_0xb7b14f[_0x21a96d(0xed)]:_0xb7b14f,_0x5a9ae2=pickStrictSemver(_0x33e5b5[_0x21a96d(0xf0)]??_0x33e5b5[_0x21a96d(0xe4)]??_0x33e5b5[_0x21a96d(0xef)]),_0x427772=pickStrictSemver(_0x33e5b5[_0x21a96d(0xde)]??_0x33e5b5['minVersion']);if(!_0x5a9ae2&&!_0x427772)return null;if(_0x5a9ae2&&_0x427772&&a154_0x253c35['gt'](_0x427772,_0x5a9ae2))return null;return{'stableVersion':_0x5a9ae2,'minimumVersion':_0x427772,'upgradeMessage':pickString(_0x33e5b5['upgradeMessage'])??undefined,'minimumVersionMessage':pickString(_0x33e5b5[_0x21a96d(0xeb)])??undefined};}export async function fetchCliVersionPolicy(){const _0xd6c568=a154_0x387d;try{const _0x544b36=await fetch(LOVRABET_CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0xd6c568(0xdd)},'signal':AbortSignal[_0xd6c568(0xe7)](FETCH_TIMEOUT_MS)});if(!_0x544b36['ok'])return null;return normalizeCliVersionPolicy(await _0x544b36['json']());}catch{return null;}}function a154_0x5df3(){const _0x5432c9=['trim','509510GJrCGT','5982256fZviwT','25602hfsQqc','504539iTasQE','latestVersion','24uPGmEo','589605zcRJwU','timeout','then','11rFOkok','valid','minimumVersionMessage','finally','cli','115oVrqEG','recommendedVersion','stableVersion','now','249eKNzJu','11742354Iudlak','object','9236GjPulH','application/json','minimumVersion'];a154_0x5df3=function(){return _0x5432c9;};return a154_0x5df3();}let cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;export async function getCliVersionPolicy(){const _0x50b568=a154_0x387d,_0x398107=Date['now']();if(hasCachedPolicy){const _0x20f4c3=cachedPolicy?SUCCESS_CACHE_TTL_MS:FAILURE_CACHE_TTL_MS;if(_0x398107-cachedAt<_0x20f4c3)return cachedPolicy;}if(pendingPolicy)return pendingPolicy;return pendingPolicy=fetchCliVersionPolicy()[_0x50b568(0xe8)](_0x52305b=>{const _0xbf51c9=_0x50b568;return cachedPolicy=_0x52305b,cachedAt=Date[_0xbf51c9(0xf1)](),hasCachedPolicy=!![],_0x52305b;})[_0x50b568(0xec)](()=>{pendingPolicy=null;}),pendingPolicy;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;}
@@ -1 +1 @@
1
- const a155_0x381a03=a155_0x4048;(function(_0x3c4619,_0x2ef7d0){const _0x6fa872=a155_0x4048,_0x1eba11=_0x3c4619();while(!![]){try{const _0x5f496b=-parseInt(_0x6fa872(0x79))/0x1*(parseInt(_0x6fa872(0x82))/0x2)+-parseInt(_0x6fa872(0x90))/0x3*(-parseInt(_0x6fa872(0x88))/0x4)+-parseInt(_0x6fa872(0x7e))/0x5*(-parseInt(_0x6fa872(0x70))/0x6)+parseInt(_0x6fa872(0x65))/0x7+parseInt(_0x6fa872(0x7c))/0x8*(-parseInt(_0x6fa872(0x83))/0x9)+-parseInt(_0x6fa872(0x8e))/0xa*(parseInt(_0x6fa872(0x7b))/0xb)+parseInt(_0x6fa872(0x6e))/0xc;if(_0x5f496b===_0x2ef7d0)break;else _0x1eba11['push'](_0x1eba11['shift']());}catch(_0x40db50){_0x1eba11['push'](_0x1eba11['shift']());}}}(a155_0x29d4,0x95d5d));import a155_0x1f7441 from'winston';import a155_0x21b867 from'node:fs';import a155_0x70922c from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a155_0x381a03(0x95)];[a155_0x381a03(0xa0)]='';[a155_0x381a03(0x86)]='';constructor(){}[a155_0x381a03(0x6c)](_0x2bb6ac){const _0x54cfd4=a155_0x381a03;this[_0x54cfd4(0x86)]=_0x2bb6ac;}[a155_0x381a03(0x8b)](_0x52222b){const _0x1297f8=a155_0x381a03;this[_0x1297f8(0xa0)]=a155_0x70922c[_0x1297f8(0x78)](_0x52222b,PRODUCT_CONFIG[_0x1297f8(0x8f)]),this[_0x1297f8(0x95)]&&this[_0x1297f8(0x95)][_0x1297f8(0x8d)](),this[_0x1297f8(0x89)]();}[a155_0x381a03(0x89)](){const _0x3f7231=a155_0x381a03,_0x2c7659=a155_0x70922c[_0x3f7231(0x68)](this['logFilePath']);!a155_0x21b867[_0x3f7231(0x94)](_0x2c7659)&&a155_0x21b867[_0x3f7231(0x67)](_0x2c7659,{'recursive':!![]});const _0x28d314=a155_0x1f7441[_0x3f7231(0x69)][_0x3f7231(0x7a)](a155_0x1f7441[_0x3f7231(0x69)][_0x3f7231(0x9e)](),a155_0x1f7441[_0x3f7231(0x69)][_0x3f7231(0x6b)]({'stack':!![]}),a155_0x1f7441[_0x3f7231(0x69)][_0x3f7231(0x85)](_0x58d81f=>{const _0x423fba=_0x3f7231,_0x40bff3={'timestamp':_0x58d81f['timestamp']||new Date()[_0x423fba(0x81)](),'level':_0x58d81f['level']||'info','command':_0x58d81f['command']||_0x423fba(0x8c),'rawCommand':_0x58d81f[_0x423fba(0x77)]||this[_0x423fba(0x86)]||undefined,'message':_0x58d81f['message']||'','duration':_0x58d81f[_0x423fba(0x9c)]||undefined,'details':_0x58d81f[_0x423fba(0x6d)]||undefined};return JSON[_0x423fba(0x96)](_0x40bff3);}));this['winstonLogger']=a155_0x1f7441[_0x3f7231(0x76)]({'level':_0x3f7231(0x92),'format':_0x28d314,'transports':[new a155_0x1f7441[(_0x3f7231(0x75))][(_0x3f7231(0x71))]({'filename':this[_0x3f7231(0xa0)],'level':'info'})],'silent':![]}),a155_0x1f7441[_0x3f7231(0x80)]({'success':_0x3f7231(0x9d),'error':_0x3f7231(0x9a),'warn':_0x3f7231(0x97),'info':'blue'});}[a155_0x381a03(0x92)](_0x539f8f,_0x4e123b,_0x28a338){const _0x18370b=a155_0x381a03;if(!this[_0x18370b(0xa0)]||!this[_0x18370b(0x95)])return;this[_0x18370b(0x95)][_0x18370b(0x92)](_0x4e123b,{'command':_0x539f8f,'details':_0x28a338});}['success'](_0xfd98c3,_0x980b1f,_0x5dcda4,_0x2ab1a5){const _0x5bc860=a155_0x381a03;if(!this[_0x5bc860(0xa0)]||!this['winstonLogger'])return;this[_0x5bc860(0x95)][_0x5bc860(0x66)](_0x5bc860(0x92),_0x980b1f,{'level':_0x5bc860(0x9b),'command':_0xfd98c3,'duration':_0x5dcda4,'details':_0x2ab1a5});}['error'](_0x9bec4a,_0x4d2457,_0x245d2e){const _0x42ae9c=a155_0x381a03;if(!this[_0x42ae9c(0xa0)]||!this['winstonLogger'])return;this['winstonLogger'][_0x42ae9c(0x73)](_0x4d2457,{'command':_0x9bec4a,'details':_0x245d2e});}['warn'](_0x35627b,_0x59a4a9,_0x4a4bc1){const _0x5abcd9=a155_0x381a03;if(!this['logFilePath']||!this['winstonLogger'])return;this[_0x5abcd9(0x95)][_0x5abcd9(0x87)](_0x59a4a9,{'command':_0x35627b,'details':_0x4a4bc1});}async[a155_0x381a03(0x98)](_0x539a5f,_0x329189,_0x140b48){const _0x5b010e=a155_0x381a03,_0x50930b=Date[_0x5b010e(0x9f)]();this[_0x5b010e(0x92)](_0x539a5f,_0x5b010e(0x74)+_0x329189);try{const _0xd397b3=await _0x140b48(),_0x33af08=Date['now']()-_0x50930b;return this[_0x5b010e(0x9b)](_0x539a5f,_0x5b010e(0x72)+_0x329189,_0x33af08),_0xd397b3;}catch(_0x1d28c3){const _0x352cff=Date[_0x5b010e(0x9f)]()-_0x50930b;this[_0x5b010e(0x73)](_0x539a5f,_0x5b010e(0x6a)+_0x329189,{'error':_0x1d28c3 instanceof Error?_0x1d28c3['message']:String(_0x1d28c3),'duration':_0x352cff});throw _0x1d28c3;}}[a155_0x381a03(0x8a)](){const _0x7b4576=a155_0x381a03;try{if(!a155_0x21b867[_0x7b4576(0x94)](this[_0x7b4576(0xa0)]))return[];const _0x474a6f=a155_0x21b867[_0x7b4576(0x7f)](this['logFilePath'],_0x7b4576(0x6f));return _0x474a6f['split'](/\r?\n/)[_0x7b4576(0x93)](_0x3293c4=>_0x3293c4[_0x7b4576(0x84)]())['map'](_0x3367b3=>JSON['parse'](_0x3367b3));}catch(_0x2a9b4){return console['warn'](_0x7b4576(0x91),_0x2a9b4),[];}}[a155_0x381a03(0x7d)](){const _0x4b30e1=a155_0x381a03;try{a155_0x21b867[_0x4b30e1(0x94)](this['logFilePath'])&&a155_0x21b867['writeFileSync'](this[_0x4b30e1(0xa0)],'','utf8');}catch(_0x158528){console[_0x4b30e1(0x87)](_0x4b30e1(0x99),_0x158528);}}['getWinstonInstance'](){const _0x2b062c=a155_0x381a03;return this[_0x2b062c(0x95)];}}function a155_0x4048(_0x1ebe39,_0x103c67){_0x1ebe39=_0x1ebe39-0x65;const _0x29d4e9=a155_0x29d4();let _0x40485a=_0x29d4e9[_0x1ebe39];return _0x40485a;}export const logger=new Logger();function a155_0x29d4(){const _0x41351b=['createLogger','rawCommand','join','258ELjMXu','combine','72391VLcyQY','2653480HZbOWX','clearLogs','150AtYOPc','readFileSync','addColors','toISOString','8504OwqrNb','9yqyniA','trim','printf','currentRawCommand','warn','135404agDnUR','initWinstonLogger','readLogs','setLogPath','unknown','clear','1470sDbVzN','logFileName','63rGbiSO','Failed\x20to\x20read\x20logs:','info','filter','existsSync','winstonLogger','stringify','yellow','logTask','Failed\x20to\x20clear\x20logs:','red','success','duration','green','timestamp','now','logFilePath','6188154xOhIbj','log','mkdirSync','dirname','format','Failed:\x20','errors','setRawCommand','details','9498120CQzZnB','utf8','124686FfmTFC','File','Completed:\x20','error','Starting:\x20','transports'];a155_0x29d4=function(){return _0x41351b;};return a155_0x29d4();}
1
+ function a155_0x1319(){const _0x598f66=['readFileSync','errors','format','currentRawCommand','279963GSbWAV','56kcAdYG','yellow','trim','combine','winstonLogger','transports','rawCommand','level','error','Failed:\x20','info','log','red','details','initWinstonLogger','addColors','9550827IKvWaO','8GyDtwx','setLogPath','existsSync','createLogger','clear','warn','clearLogs','dirname','536724gqBMJt','success','2IcqmeD','Failed\x20to\x20read\x20logs:','filter','now','utf8','map','blue','writeFileSync','split','timestamp','toISOString','stringify','49epPjUH','parse','logFilePath','3561160qkjDLQ','message','printf','getWinstonInstance','File','setRawCommand','235909kYvxux','1701972EVYPAx','unknown','Failed\x20to\x20clear\x20logs:','join','261245CNVhcN','command','logFileName'];a155_0x1319=function(){return _0x598f66;};return a155_0x1319();}const a155_0x47bd5d=a155_0x36d2;(function(_0x2c29c5,_0x592de2){const _0x3fb9ba=a155_0x36d2,_0x34206e=_0x2c29c5();while(!![]){try{const _0x4a0bf3=parseInt(_0x3fb9ba(0x137))/0x1*(parseInt(_0x3fb9ba(0x15f))/0x2)+parseInt(_0x3fb9ba(0x138))/0x3+-parseInt(_0x3fb9ba(0x155))/0x4*(parseInt(_0x3fb9ba(0x13c))/0x5)+-parseInt(_0x3fb9ba(0x15d))/0x6*(-parseInt(_0x3fb9ba(0x12e))/0x7)+parseInt(_0x3fb9ba(0x144))/0x8*(parseInt(_0x3fb9ba(0x143))/0x9)+-parseInt(_0x3fb9ba(0x131))/0xa+-parseInt(_0x3fb9ba(0x154))/0xb;if(_0x4a0bf3===_0x592de2)break;else _0x34206e['push'](_0x34206e['shift']());}catch(_0x2a406b){_0x34206e['push'](_0x34206e['shift']());}}}(a155_0x1319,0x4db51));import a155_0x3c4acd from'winston';import a155_0x418d1a from'node:fs';function a155_0x36d2(_0x27fd25,_0x490b9a){_0x27fd25=_0x27fd25-0x123;const _0x1319f3=a155_0x1319();let _0x36d26e=_0x1319f3[_0x27fd25];return _0x36d26e;}import a155_0x4a822b from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a155_0x47bd5d(0x148)];[a155_0x47bd5d(0x130)]='';[a155_0x47bd5d(0x142)]='';constructor(){}[a155_0x47bd5d(0x136)](_0x5b6c2f){const _0x45ec79=a155_0x47bd5d;this[_0x45ec79(0x142)]=_0x5b6c2f;}[a155_0x47bd5d(0x156)](_0x199d73){const _0x56e205=a155_0x47bd5d;this['logFilePath']=a155_0x4a822b[_0x56e205(0x13b)](_0x199d73,PRODUCT_CONFIG[_0x56e205(0x13e)]),this[_0x56e205(0x148)]&&this[_0x56e205(0x148)][_0x56e205(0x159)](),this[_0x56e205(0x152)]();}['initWinstonLogger'](){const _0x254910=a155_0x47bd5d,_0x5daabf=a155_0x4a822b[_0x254910(0x15c)](this[_0x254910(0x130)]);!a155_0x418d1a['existsSync'](_0x5daabf)&&a155_0x418d1a['mkdirSync'](_0x5daabf,{'recursive':!![]});const _0xa4e502=a155_0x3c4acd[_0x254910(0x141)][_0x254910(0x147)](a155_0x3c4acd[_0x254910(0x141)][_0x254910(0x12b)](),a155_0x3c4acd['format'][_0x254910(0x140)]({'stack':!![]}),a155_0x3c4acd[_0x254910(0x141)][_0x254910(0x133)](_0x13c90c=>{const _0xd3a568=_0x254910,_0x5797a8={'timestamp':_0x13c90c[_0xd3a568(0x12b)]||new Date()[_0xd3a568(0x12c)](),'level':_0x13c90c[_0xd3a568(0x14b)]||_0xd3a568(0x14e),'command':_0x13c90c[_0xd3a568(0x13d)]||_0xd3a568(0x139),'rawCommand':_0x13c90c[_0xd3a568(0x14a)]||this[_0xd3a568(0x142)]||undefined,'message':_0x13c90c[_0xd3a568(0x132)]||'','duration':_0x13c90c['duration']||undefined,'details':_0x13c90c[_0xd3a568(0x151)]||undefined};return JSON[_0xd3a568(0x12d)](_0x5797a8);}));this['winstonLogger']=a155_0x3c4acd[_0x254910(0x158)]({'level':_0x254910(0x14e),'format':_0xa4e502,'transports':[new a155_0x3c4acd[(_0x254910(0x149))][(_0x254910(0x135))]({'filename':this['logFilePath'],'level':'info'})],'silent':![]}),a155_0x3c4acd[_0x254910(0x153)]({'success':'green','error':_0x254910(0x150),'warn':_0x254910(0x145),'info':_0x254910(0x128)});}['info'](_0x211997,_0x290da0,_0x41463d){const _0x256160=a155_0x47bd5d;if(!this[_0x256160(0x130)]||!this['winstonLogger'])return;this['winstonLogger'][_0x256160(0x14e)](_0x290da0,{'command':_0x211997,'details':_0x41463d});}[a155_0x47bd5d(0x15e)](_0x57ed55,_0x5e0888,_0x2cbb15,_0x50fc1a){const _0x398db5=a155_0x47bd5d;if(!this[_0x398db5(0x130)]||!this[_0x398db5(0x148)])return;this[_0x398db5(0x148)][_0x398db5(0x14f)]('info',_0x5e0888,{'level':'success','command':_0x57ed55,'duration':_0x2cbb15,'details':_0x50fc1a});}[a155_0x47bd5d(0x14c)](_0x2f78cc,_0xc8b308,_0x558c28){const _0x4e1cfe=a155_0x47bd5d;if(!this[_0x4e1cfe(0x130)]||!this[_0x4e1cfe(0x148)])return;this[_0x4e1cfe(0x148)][_0x4e1cfe(0x14c)](_0xc8b308,{'command':_0x2f78cc,'details':_0x558c28});}[a155_0x47bd5d(0x15a)](_0x3c2ae4,_0x57ff94,_0x49cc68){const _0x4ac478=a155_0x47bd5d;if(!this['logFilePath']||!this[_0x4ac478(0x148)])return;this['winstonLogger'][_0x4ac478(0x15a)](_0x57ff94,{'command':_0x3c2ae4,'details':_0x49cc68});}async['logTask'](_0x351263,_0x1a1f87,_0x2bb880){const _0x513e98=a155_0x47bd5d,_0x55022b=Date[_0x513e98(0x125)]();this[_0x513e98(0x14e)](_0x351263,'Starting:\x20'+_0x1a1f87);try{const _0x5d8a74=await _0x2bb880(),_0x36e933=Date[_0x513e98(0x125)]()-_0x55022b;return this[_0x513e98(0x15e)](_0x351263,'Completed:\x20'+_0x1a1f87,_0x36e933),_0x5d8a74;}catch(_0x13490a){const _0x5ebb88=Date['now']()-_0x55022b;this[_0x513e98(0x14c)](_0x351263,_0x513e98(0x14d)+_0x1a1f87,{'error':_0x13490a instanceof Error?_0x13490a[_0x513e98(0x132)]:String(_0x13490a),'duration':_0x5ebb88});throw _0x13490a;}}['readLogs'](){const _0x12df92=a155_0x47bd5d;try{if(!a155_0x418d1a['existsSync'](this[_0x12df92(0x130)]))return[];const _0x5ab62d=a155_0x418d1a[_0x12df92(0x13f)](this[_0x12df92(0x130)],_0x12df92(0x126));return _0x5ab62d[_0x12df92(0x12a)](/\r?\n/)[_0x12df92(0x124)](_0x5dc7ee=>_0x5dc7ee[_0x12df92(0x146)]())[_0x12df92(0x127)](_0x48b867=>JSON[_0x12df92(0x12f)](_0x48b867));}catch(_0x20dcca){return console['warn'](_0x12df92(0x123),_0x20dcca),[];}}[a155_0x47bd5d(0x15b)](){const _0x4d5d15=a155_0x47bd5d;try{a155_0x418d1a[_0x4d5d15(0x157)](this['logFilePath'])&&a155_0x418d1a[_0x4d5d15(0x129)](this['logFilePath'],'',_0x4d5d15(0x126));}catch(_0x3970b4){console[_0x4d5d15(0x15a)](_0x4d5d15(0x13a),_0x3970b4);}}[a155_0x47bd5d(0x134)](){const _0x2b0649=a155_0x47bd5d;return this[_0x2b0649(0x148)];}}export const logger=new Logger();
@@ -1 +1 @@
1
- const a156_0x2f2160=a156_0x4334;(function(_0x53bf00,_0x17a81c){const _0x59e002=a156_0x4334,_0x376fe0=_0x53bf00();while(!![]){try{const _0x3aa204=-parseInt(_0x59e002(0x1ab))/0x1*(parseInt(_0x59e002(0x1be))/0x2)+-parseInt(_0x59e002(0x1b0))/0x3+-parseInt(_0x59e002(0x1ba))/0x4*(parseInt(_0x59e002(0x1b6))/0x5)+parseInt(_0x59e002(0x1bf))/0x6+parseInt(_0x59e002(0x1bb))/0x7+parseInt(_0x59e002(0x1b7))/0x8*(parseInt(_0x59e002(0x1b1))/0x9)+parseInt(_0x59e002(0x1ac))/0xa*(-parseInt(_0x59e002(0x1b9))/0xb);if(_0x3aa204===_0x17a81c)break;else _0x376fe0['push'](_0x376fe0['shift']());}catch(_0x483e71){_0x376fe0['push'](_0x376fe0['shift']());}}}(a156_0x1c4a,0xcb06f));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a156_0x2f2160(0x1c0)]),MIN_SAFE_INTEGER=BigInt(Number[a156_0x2f2160(0x1b3)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x358aad){const _0x553fe7=a156_0x2f2160;if(_0x358aad['includes']('.')||_0x358aad[_0x553fe7(0x1af)]('e')||_0x358aad[_0x553fe7(0x1af)]('E'))return![];const _0x5b6b73=BigInt(_0x358aad);return _0x5b6b73>MAX_SAFE_INTEGER||_0x5b6b73<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x5f1625){const _0x5f0907=a156_0x2f2160;let _0x1d1f6c='',_0x8e2f25=![],_0x40db24=![];for(let _0x212240=0x0;_0x212240<_0x5f1625[_0x5f0907(0x1b5)];){const _0xe5d7f8=_0x5f1625[_0x212240];if(_0x8e2f25){_0x1d1f6c+=_0xe5d7f8,_0x212240+=0x1;if(_0x40db24)_0x40db24=![];else{if(_0xe5d7f8==='\x5c')_0x40db24=!![];else _0xe5d7f8==='\x22'&&(_0x8e2f25=![]);}continue;}if(_0xe5d7f8==='\x22'){_0x8e2f25=!![],_0x1d1f6c+=_0xe5d7f8,_0x212240+=0x1;continue;}if(_0xe5d7f8==='-'||_0xe5d7f8>='0'&&_0xe5d7f8<='9'){const _0x5a368f=JSON_NUMBER_PATTERN[_0x5f0907(0x1b2)](_0x5f1625[_0x5f0907(0x1bd)](_0x212240))?.[0x0];if(_0x5a368f){_0x1d1f6c+=isUnsafeIntegerLiteral(_0x5a368f)?'\x22'+_0x5a368f+'\x22':_0x5a368f,_0x212240+=_0x5a368f[_0x5f0907(0x1b5)];continue;}}_0x1d1f6c+=_0xe5d7f8,_0x212240+=0x1;}return _0x1d1f6c;}function a156_0x4334(_0x233ced,_0x5d13ac){_0x233ced=_0x233ced-0x1aa;const _0x1c4a86=a156_0x1c4a();let _0x43347f=_0x1c4a86[_0x233ced];return _0x43347f;}export function parseLosslessJson(_0x15bc5a){const _0xfabad=a156_0x2f2160;return JSON[_0xfabad(0x1c1)](quoteUnsafeIntegerLiterals(_0x15bc5a));}export function installLosslessJsonResponseParser(){const _0x1f824b=a156_0x2f2160;if(typeof Response===_0x1f824b(0x1ad))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x1f824b(0x1b4)],originalResponseJsonDescriptor=Object[_0x1f824b(0x1ae)](responseJsonPrototype,_0x1f824b(0x1bc)),Object[_0x1f824b(0x1aa)](responseJsonPrototype,'json',{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x29f542(){const _0x42dca0=_0x1f824b;return parseLosslessJson(await this[_0x42dca0(0x1b8)]());}}),restoreResponseJsonParser=()=>{const _0x338dc6=_0x1f824b;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x338dc6(0x1aa)](responseJsonPrototype,_0x338dc6(0x1bc),originalResponseJsonDescriptor):delete responseJsonPrototype['json'],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}function a156_0x1c4a(){const _0x29ec81=['6671064tRAOlS','text','11EfeqHg','121252TjZGag','10901275ODqxAk','json','slice','164PqsVZY','6458562CgiHeA','MAX_SAFE_INTEGER','parse','defineProperty','18253mYKGEi','22710AKzAbb','undefined','getOwnPropertyDescriptor','includes','773826nvoubE','9aOfdTh','exec','MIN_SAFE_INTEGER','prototype','length','145pZglsh'];a156_0x1c4a=function(){return _0x29ec81;};return a156_0x1c4a();}
1
+ const a156_0x106ec4=a156_0x532b;(function(_0x2e11ac,_0x50d7dd){const _0x22b659=a156_0x532b,_0x496ee7=_0x2e11ac();while(!![]){try{const _0x556354=-parseInt(_0x22b659(0xbd))/0x1*(-parseInt(_0x22b659(0xcf))/0x2)+-parseInt(_0x22b659(0xcb))/0x3+parseInt(_0x22b659(0xbe))/0x4+parseInt(_0x22b659(0xce))/0x5*(parseInt(_0x22b659(0xc3))/0x6)+-parseInt(_0x22b659(0xca))/0x7+-parseInt(_0x22b659(0xbf))/0x8+parseInt(_0x22b659(0xc8))/0x9;if(_0x556354===_0x50d7dd)break;else _0x496ee7['push'](_0x496ee7['shift']());}catch(_0x2b46c1){_0x496ee7['push'](_0x496ee7['shift']());}}}(a156_0x5936,0x98cb2));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number['MAX_SAFE_INTEGER']),MIN_SAFE_INTEGER=BigInt(Number[a156_0x106ec4(0xcc)]);function a156_0x532b(_0x1dab8d,_0xde9a04){_0x1dab8d=_0x1dab8d-0xbd;const _0x59364f=a156_0x5936();let _0x532bad=_0x59364f[_0x1dab8d];return _0x532bad;}let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x5a558c){const _0x5a7b41=a156_0x106ec4;if(_0x5a558c[_0x5a7b41(0xc7)]('.')||_0x5a558c[_0x5a7b41(0xc7)]('e')||_0x5a558c[_0x5a7b41(0xc7)]('E'))return![];const _0x58e20f=BigInt(_0x5a558c);return _0x58e20f>MAX_SAFE_INTEGER||_0x58e20f<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x38af3e){const _0x698beb=a156_0x106ec4;let _0x3cea86='',_0x576674=![],_0x308542=![];for(let _0x281162=0x0;_0x281162<_0x38af3e[_0x698beb(0xc2)];){const _0x2862d7=_0x38af3e[_0x281162];if(_0x576674){_0x3cea86+=_0x2862d7,_0x281162+=0x1;if(_0x308542)_0x308542=![];else{if(_0x2862d7==='\x5c')_0x308542=!![];else _0x2862d7==='\x22'&&(_0x576674=![]);}continue;}if(_0x2862d7==='\x22'){_0x576674=!![],_0x3cea86+=_0x2862d7,_0x281162+=0x1;continue;}if(_0x2862d7==='-'||_0x2862d7>='0'&&_0x2862d7<='9'){const _0x3e6f44=JSON_NUMBER_PATTERN['exec'](_0x38af3e[_0x698beb(0xc5)](_0x281162))?.[0x0];if(_0x3e6f44){_0x3cea86+=isUnsafeIntegerLiteral(_0x3e6f44)?'\x22'+_0x3e6f44+'\x22':_0x3e6f44,_0x281162+=_0x3e6f44[_0x698beb(0xc2)];continue;}}_0x3cea86+=_0x2862d7,_0x281162+=0x1;}return _0x3cea86;}export function parseLosslessJson(_0x55a554){const _0x176c98=a156_0x106ec4;return JSON[_0x176c98(0xc6)](quoteUnsafeIntegerLiterals(_0x55a554));}export function installLosslessJsonResponseParser(){const _0x48a740=a156_0x106ec4;if(typeof Response===_0x48a740(0xcd))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x48a740(0xc9)],originalResponseJsonDescriptor=Object['getOwnPropertyDescriptor'](responseJsonPrototype,_0x48a740(0xc0)),Object[_0x48a740(0xc4)](responseJsonPrototype,_0x48a740(0xc0),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x2fe0ef(){const _0x36b2c3=_0x48a740;return parseLosslessJson(await this[_0x36b2c3(0xc1)]());}}),restoreResponseJsonParser=()=>{const _0x1dd15b=_0x48a740;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object['defineProperty'](responseJsonPrototype,'json',originalResponseJsonDescriptor):delete responseJsonPrototype[_0x1dd15b(0xc0)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}function a156_0x5936(){const _0x5d83c9=['12UyBNxw','defineProperty','slice','parse','includes','5975190WoRxYz','prototype','65086WrbdbK','2462241uFTfCO','MIN_SAFE_INTEGER','undefined','1040490wTvagA','2BAWRIK','396969vdjtwI','3847984BFdTpp','7865472mmEach','json','text','length'];a156_0x5936=function(){return _0x5d83c9;};return a156_0x5936();}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
@@ -1 +1 @@
1
- (function(_0x3c9f4d,_0xb9201d){const _0x17e442=a157_0x714f,_0x20531e=_0x3c9f4d();while(!![]){try{const _0x21a6ca=-parseInt(_0x17e442(0xf7))/0x1+parseInt(_0x17e442(0xea))/0x2*(-parseInt(_0x17e442(0xe7))/0x3)+parseInt(_0x17e442(0xef))/0x4+parseInt(_0x17e442(0xec))/0x5*(-parseInt(_0x17e442(0xe3))/0x6)+parseInt(_0x17e442(0xf0))/0x7*(parseInt(_0x17e442(0xfa))/0x8)+-parseInt(_0x17e442(0xe4))/0x9+parseInt(_0x17e442(0xff))/0xa*(parseInt(_0x17e442(0xf8))/0xb);if(_0x21a6ca===_0xb9201d)break;else _0x20531e['push'](_0x20531e['shift']());}catch(_0x558f86){_0x20531e['push'](_0x20531e['shift']());}}}(a157_0x463a,0xcefd8));import{CliErrors}from'../errors.js';function a157_0x463a(){const _0x40102c=['10HXTyBE','number','8448GqyfuD','13942440jjZlGK','id[','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','51yvNHPY','map','string','159826kdlGsy','validation','1075qivKuL','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','isArray','3650912vDunPE','253799bNRzDm','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','items','\x20records\x20per\x20call;\x20received\x20','test','length','445979yWeKMp','23553244wRqPys','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','320lMODGX','Invalid\x20JSON\x20for\x20--params:\x20','data\x20update\x20can\x20update\x20at\x20most\x20','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','data\x20update\x20--params.'];a157_0x463a=function(){return _0x40102c;};return a157_0x463a();}import{parseLosslessJson}from'../utils/lossless-json.js';function a157_0x714f(_0x2e45db,_0x88dcd6){_0x2e45db=_0x2e45db-0xe3;const _0x463a95=a157_0x463a();let _0x714faa=_0x463a95[_0x2e45db];return _0x714faa;}export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x1d70fc){const _0x321f30=a157_0x714f;if(!_0x1d70fc)return undefined;try{return parseLosslessJson(_0x1d70fc);}catch{throw CliErrors[_0x321f30(0xeb)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x1d70fc);}}export function parseJsonParamsValue(_0x36d1d1){const _0x28e911=a157_0x714f;if(!_0x36d1d1)return undefined;try{return parseLosslessJson(_0x36d1d1);}catch{throw CliErrors[_0x28e911(0xeb)](_0x28e911(0xfb)+_0x36d1d1);}}export function parseBatchCreateItemsFromParams(_0x95ccf5){const _0x1dc160=a157_0x714f;if(Array[_0x1dc160(0xee)](_0x95ccf5))return _0x95ccf5;if(_0x95ccf5!==null&&_0x95ccf5!==undefined&&typeof _0x95ccf5==='object'&&Array[_0x1dc160(0xee)](_0x95ccf5[_0x1dc160(0xf3)]))return _0x95ccf5['items'];throw CliErrors[_0x1dc160(0xeb)](_0x1dc160(0xf9),_0x1dc160(0xe6));}function parseDataUpdateId(_0x5814a8,_0x2869af){const _0x142981=a157_0x714f;if(typeof _0x5814a8===_0x142981(0x100)&&Number['isSafeInteger'](_0x5814a8)&&_0x5814a8>0x0)return _0x5814a8;if(typeof _0x5814a8===_0x142981(0xe9)){if(/^[1-9]\d*$/[_0x142981(0xf5)](_0x5814a8))return _0x5814a8;}throw CliErrors[_0x142981(0xeb)](_0x142981(0xfe)+_0x2869af+'\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.');}export function parseUpdateIdsFromParams(_0x4423ae){const _0x5f2f02=a157_0x714f;if(_0x4423ae===null||_0x4423ae===undefined||typeof _0x4423ae!=='object'||Array[_0x5f2f02(0xee)](_0x4423ae))throw CliErrors[_0x5f2f02(0xeb)](_0x5f2f02(0xed),_0x5f2f02(0xf1));const _0x2d6fdb=_0x4423ae['id'];if(_0x2d6fdb===undefined||_0x2d6fdb===null)throw CliErrors[_0x5f2f02(0xeb)](_0x5f2f02(0xfd),_0x5f2f02(0xf1));const _0x4841cc=Array['isArray'](_0x2d6fdb)?_0x2d6fdb:[_0x2d6fdb];if(_0x4841cc[_0x5f2f02(0xf6)]===0x0)throw CliErrors[_0x5f2f02(0xeb)](_0x5f2f02(0xf2));if(_0x4841cc['length']>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x5f2f02(0xeb)](_0x5f2f02(0xfc)+MAX_DATA_UPDATE_IDS+_0x5f2f02(0xf4)+_0x4841cc[_0x5f2f02(0xf6)]+'.');return _0x4841cc[_0x5f2f02(0xe8)]((_0x1907f5,_0xf0eb51)=>parseDataUpdateId(_0x1907f5,Array['isArray'](_0x2d6fdb)?_0x5f2f02(0xe5)+_0xf0eb51+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x16d38a,_0x350ff4){const _0x2c9df2=a157_0x714f;if(Array[_0x2c9df2(0xee)](_0x16d38a['id'])&&_0x350ff4[_0x2c9df2(0xf6)]>0x1)return{..._0x16d38a,'id':_0x350ff4['join'](',')};return _0x16d38a;}
1
+ (function(_0x500bdf,_0x5296e8){const _0xb5cf4=a157_0x4e35,_0x2b5187=_0x500bdf();while(!![]){try{const _0x2e06fd=-parseInt(_0xb5cf4(0x1e3))/0x1*(-parseInt(_0xb5cf4(0x1e4))/0x2)+-parseInt(_0xb5cf4(0x1fb))/0x3+parseInt(_0xb5cf4(0x1ef))/0x4+parseInt(_0xb5cf4(0x1ee))/0x5*(-parseInt(_0xb5cf4(0x1f8))/0x6)+parseInt(_0xb5cf4(0x1f2))/0x7+parseInt(_0xb5cf4(0x1eb))/0x8+parseInt(_0xb5cf4(0x1ec))/0x9*(-parseInt(_0xb5cf4(0x1f0))/0xa);if(_0x2e06fd===_0x5296e8)break;else _0x2b5187['push'](_0x2b5187['shift']());}catch(_0x2b7cc6){_0x2b5187['push'](_0x2b5187['shift']());}}}(a157_0x53ef,0xcd1a6));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;function a157_0x53ef(){const _0x1d58e9=['399392PxuhaV','6059090ewCqAz','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','9777334Rytsym','length','validation','string','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','number','48flICNg','id[','map','2790582RmsJbJ','isArray','join','\x20records\x20per\x20call;\x20received\x20','Invalid\x20JSON\x20for\x20--params:\x20','32qNlfam','92402wzflDw','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','object','data\x20update\x20can\x20update\x20at\x20most\x20','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','items','data\x20update\x20--params.','4484632sZCFQk','9OZBnIo','isSafeInteger','724635RGzfzS'];a157_0x53ef=function(){return _0x1d58e9;};return a157_0x53ef();}function a157_0x4e35(_0xdadfde,_0x4ab8d8){_0xdadfde=_0xdadfde-0x1e2;const _0x53efae=a157_0x53ef();let _0x4e35d2=_0x53efae[_0xdadfde];return _0x4e35d2;}export function parseJsonParams(_0x3728a4){const _0x5ba939=a157_0x4e35;if(!_0x3728a4)return undefined;try{return parseLosslessJson(_0x3728a4);}catch{throw CliErrors[_0x5ba939(0x1f4)](_0x5ba939(0x1e2)+_0x3728a4);}}export function parseJsonParamsValue(_0x5b8da2){const _0x5335e6=a157_0x4e35;if(!_0x5b8da2)return undefined;try{return parseLosslessJson(_0x5b8da2);}catch{throw CliErrors[_0x5335e6(0x1f4)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x5b8da2);}}export function parseBatchCreateItemsFromParams(_0x24e2d6){const _0x1a0389=a157_0x4e35;if(Array[_0x1a0389(0x1fc)](_0x24e2d6))return _0x24e2d6;if(_0x24e2d6!==null&&_0x24e2d6!==undefined&&typeof _0x24e2d6===_0x1a0389(0x1e6)&&Array[_0x1a0389(0x1fc)](_0x24e2d6[_0x1a0389(0x1e9)]))return _0x24e2d6[_0x1a0389(0x1e9)];throw CliErrors[_0x1a0389(0x1f4)](_0x1a0389(0x1f6),_0x1a0389(0x1f1));}function parseDataUpdateId(_0x188a40,_0x263e80){const _0x1cc404=a157_0x4e35;if(typeof _0x188a40===_0x1cc404(0x1f7)&&Number[_0x1cc404(0x1ed)](_0x188a40)&&_0x188a40>0x0)return _0x188a40;if(typeof _0x188a40===_0x1cc404(0x1f5)){if(/^[1-9]\d*$/['test'](_0x188a40))return _0x188a40;}throw CliErrors[_0x1cc404(0x1f4)](_0x1cc404(0x1ea)+_0x263e80+'\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.');}export function parseUpdateIdsFromParams(_0x39924d){const _0x30640f=a157_0x4e35;if(_0x39924d===null||_0x39924d===undefined||typeof _0x39924d!==_0x30640f(0x1e6)||Array[_0x30640f(0x1fc)](_0x39924d))throw CliErrors[_0x30640f(0x1f4)]('data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.',_0x30640f(0x1e5));const _0x500229=_0x39924d['id'];if(_0x500229===undefined||_0x500229===null)throw CliErrors[_0x30640f(0x1f4)]('data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.',_0x30640f(0x1e5));const _0x4f7280=Array['isArray'](_0x500229)?_0x500229:[_0x500229];if(_0x4f7280[_0x30640f(0x1f3)]===0x0)throw CliErrors['validation'](_0x30640f(0x1e8));if(_0x4f7280[_0x30640f(0x1f3)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x30640f(0x1f4)](_0x30640f(0x1e7)+MAX_DATA_UPDATE_IDS+_0x30640f(0x1fe)+_0x4f7280[_0x30640f(0x1f3)]+'.');return _0x4f7280[_0x30640f(0x1fa)]((_0x1c8da6,_0x410e0b)=>parseDataUpdateId(_0x1c8da6,Array[_0x30640f(0x1fc)](_0x500229)?_0x30640f(0x1f9)+_0x410e0b+']':'id'));}export function normalizeUpdateParamsForRuntime(_0xae86d8,_0x2767cb){const _0x34676d=a157_0x4e35;if(Array[_0x34676d(0x1fc)](_0xae86d8['id'])&&_0x2767cb['length']>0x1)return{..._0xae86d8,'id':_0x2767cb[_0x34676d(0x1fd)](',')};return _0xae86d8;}
@@ -1 +1 @@
1
- const a158_0x27b719=a158_0x29a5;(function(_0x524e84,_0x12ed9c){const _0x1b3996=a158_0x29a5,_0x279441=_0x524e84();while(!![]){try{const _0x5b1cfb=-parseInt(_0x1b3996(0x87))/0x1*(parseInt(_0x1b3996(0x7d))/0x2)+-parseInt(_0x1b3996(0x88))/0x3+parseInt(_0x1b3996(0x82))/0x4*(-parseInt(_0x1b3996(0x85))/0x5)+-parseInt(_0x1b3996(0x7e))/0x6*(-parseInt(_0x1b3996(0x7f))/0x7)+-parseInt(_0x1b3996(0x86))/0x8+parseInt(_0x1b3996(0x84))/0x9+-parseInt(_0x1b3996(0x7c))/0xa*(-parseInt(_0x1b3996(0x80))/0xb);if(_0x5b1cfb===_0x12ed9c)break;else _0x279441['push'](_0x279441['shift']());}catch(_0x3eb47e){_0x279441['push'](_0x279441['shift']());}}}(a158_0x5bae,0x5fa2c));function a158_0x29a5(_0x3d7357,_0x22d725){_0x3d7357=_0x3d7357-0x7c;const _0x5bae0c=a158_0x5bae();let _0x29a5a9=_0x5bae0c[_0x3d7357];return _0x29a5a9;}function a158_0x5bae(){const _0x6b99bb=['1342137LLxJXm','3620xjACOA','405388HrLkjJ','6QeADqn','2755382YdqSmt','33451rPylAX','platform','4rxmyRj','.cmd','1160271yKxnJO','660815kgeXHL','1973864sLrqRX','2Tughyk'];a158_0x5bae=function(){return _0x6b99bb;};return a158_0x5bae();}export const isWindows=process[a158_0x27b719(0x81)]==='win32';export function resolveNpmBin(_0x18a414){const _0x3e7c62=a158_0x27b719;return isWindows?_0x18a414+_0x3e7c62(0x83):_0x18a414;}
1
+ const a158_0x476fe7=a158_0x52da;(function(_0x52122c,_0x152821){const _0x4bdf8d=a158_0x52da,_0x3f0c38=_0x52122c();while(!![]){try{const _0x2cca68=parseInt(_0x4bdf8d(0x12c))/0x1*(parseInt(_0x4bdf8d(0x125))/0x2)+-parseInt(_0x4bdf8d(0x12a))/0x3*(-parseInt(_0x4bdf8d(0x12e))/0x4)+-parseInt(_0x4bdf8d(0x128))/0x5*(parseInt(_0x4bdf8d(0x121))/0x6)+parseInt(_0x4bdf8d(0x124))/0x7+-parseInt(_0x4bdf8d(0x127))/0x8*(-parseInt(_0x4bdf8d(0x12d))/0x9)+parseInt(_0x4bdf8d(0x122))/0xa+-parseInt(_0x4bdf8d(0x12b))/0xb;if(_0x2cca68===_0x152821)break;else _0x3f0c38['push'](_0x3f0c38['shift']());}catch(_0x3305f8){_0x3f0c38['push'](_0x3f0c38['shift']());}}}(a158_0x57ab,0xd5c83));export const isWindows=process[a158_0x476fe7(0x129)]===a158_0x476fe7(0x123);export function resolveNpmBin(_0x29398e){const _0x1a4e88=a158_0x476fe7;return isWindows?_0x29398e+_0x1a4e88(0x126):_0x29398e;}function a158_0x52da(_0xdf6919,_0x532d1a){_0xdf6919=_0xdf6919-0x121;const _0x57abbf=a158_0x57ab();let _0x52da1d=_0x57abbf[_0xdf6919];return _0x52da1d;}function a158_0x57ab(){const _0x4161f5=['2467220JXJGZA','2aoOosM','.cmd','8kWcdUL','1255KMqYEt','platform','1003575JsgIlj','33561011nGOsJY','713419WxgDDy','12848193jxAqGt','12GuzHJE','19770zhzMfY','12566660ChJeSt','win32'];a158_0x57ab=function(){return _0x4161f5;};return a158_0x57ab();}
@@ -1 +1 @@
1
- (function(_0x5968a4,_0x456adf){const _0x46b498=a159_0x1a76,_0x3e15f3=_0x5968a4();while(!![]){try{const _0x145e0f=parseInt(_0x46b498(0x1f3))/0x1+-parseInt(_0x46b498(0x203))/0x2+parseInt(_0x46b498(0x1ed))/0x3*(parseInt(_0x46b498(0x1ef))/0x4)+parseInt(_0x46b498(0x206))/0x5*(-parseInt(_0x46b498(0x1f5))/0x6)+parseInt(_0x46b498(0x208))/0x7*(parseInt(_0x46b498(0x1ff))/0x8)+parseInt(_0x46b498(0x205))/0x9*(parseInt(_0x46b498(0x1f9))/0xa)+parseInt(_0x46b498(0x1fe))/0xb;if(_0x145e0f===_0x456adf)break;else _0x3e15f3['push'](_0x3e15f3['shift']());}catch(_0x2c8e49){_0x3e15f3['push'](_0x3e15f3['shift']());}}}(a159_0x31c8,0x3c68e));import{mkdir,readFile,writeFile}from'node:fs/promises';function a159_0x1a76(_0x3f543b,_0x3901b1){_0x3f543b=_0x3f543b-0x1ed;const _0x31c860=a159_0x31c8();let _0x1a767b=_0x31c860[_0x3f543b];return _0x1a767b;}import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{checkCliVersion,getCliUpgradeCommand}from'../utils/cli-version-check.js';const UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0x2ce960=a159_0x1a76,_0x1df4e7=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x2ce960(0x1f0)]()[_0x2ce960(0x1f4)]();return _0x1df4e7==='1'||_0x1df4e7===_0x2ce960(0x204)||_0x1df4e7===_0x2ce960(0x1fc);}function cacheRoot(){const _0x6a6826=a159_0x1a76;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x6a6826(0x1fd));}export function getUpdateNoticeCachePath(){const _0x18f2bb=a159_0x1a76;return join(cacheRoot(),_0x18f2bb(0x1f8),_0x18f2bb(0x1f1));}async function readUpdateNoticeCache(){const _0x519cbd=a159_0x1a76;try{const _0x24e72e=await readFile(getUpdateNoticeCachePath(),_0x519cbd(0x1f6)),_0x268d9f=JSON[_0x519cbd(0x1f7)](_0x24e72e);if(!_0x268d9f||typeof _0x268d9f!==_0x519cbd(0x1fa))return{};return _0x268d9f;}catch{return{};}}function a159_0x31c8(){const _0x5eac2c=['91607BaxvXL','toLowerCase','171474FxhFZn','utf8','parse','lovrabet-cli','4582190KFlDvr','object','lastNotifiedVersion','yes','.cache','970783jJbiOo','200dxKQLc','https://www.npmjs.com/package/','stableVersion','lastNotifiedAt','299430mZJyYQ','true','9LAAyzw','50hRdVEV','/v/','2044SxMFzh','number','3DdWoCe',',\x20run:\x20','150256DrQLJy','trim','update-check.json','\x20is\x20recommended,\x20current\x20'];a159_0x31c8=function(){return _0x5eac2c;};return a159_0x31c8();}async function writeUpdateNoticeCache(_0x4689ad){try{const _0x2c4999=getUpdateNoticeCachePath();await mkdir(dirname(_0x2c4999),{'recursive':!![]}),await writeFile(_0x2c4999,JSON['stringify'](_0x4689ad,null,0x2)+'\x0a','utf8');}catch{}}function isRecentlyNotified(_0x3f734b,_0x4e535f,_0x498c52){const _0x1984e8=a159_0x1a76;return _0x3f734b[_0x1984e8(0x1fb)]===_0x4e535f&&typeof _0x3f734b[_0x1984e8(0x202)]===_0x1984e8(0x209)&&_0x498c52-_0x3f734b[_0x1984e8(0x202)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x313a8c){const _0x189fdb=a159_0x1a76;return _0x189fdb(0x200)+LOVRABET_NPM_PACKAGE_NAME+_0x189fdb(0x207)+_0x313a8c;}export async function resolveLatestUpdateNotice(_0x4db25b){const _0x2baf5b=a159_0x1a76;if(isUpdateNoticeDisabled())return null;try{const _0x128f7d=Date['now'](),_0x32fe6b=_0x4db25b??await checkCliVersion(),_0xf60e50=_0x32fe6b['currentVersion'],_0x4863a2=_0x32fe6b[_0x2baf5b(0x201)],_0x380594=await readUpdateNoticeCache();if(!_0x4863a2||!_0x32fe6b['needsUpgrade']||_0x32fe6b['belowMinimum'])return null;if(isRecentlyNotified(_0x380594,_0x4863a2,_0x128f7d))return null;const _0x4a93dc=getCliUpgradeCommand(_0x32fe6b);return await writeUpdateNoticeCache({..._0x380594,'checkedAt':_0x128f7d,'latest':_0x4863a2,'failed':![],'lastNotifiedVersion':_0x4863a2,'lastNotifiedAt':_0x128f7d}),{'command':_0x4a93dc,'current':_0xf60e50,'latest':_0x4863a2,'url':buildNpmVersionUrl(_0x4863a2),'message':[_0x32fe6b['upgradeMessage'],CLI_BIN_NAME+'\x20'+_0x4863a2+_0x2baf5b(0x1f2)+_0xf60e50+_0x2baf5b(0x1ee)+_0x4a93dc]['filter'](Boolean)['join']('\x20')};}catch{return null;}}
1
+ (function(_0xf1805a,_0x302969){const _0x4f685e=a159_0x525b,_0x29d4cb=_0xf1805a();while(!![]){try{const _0x1960d3=-parseInt(_0x4f685e(0x129))/0x1+-parseInt(_0x4f685e(0x134))/0x2+parseInt(_0x4f685e(0x132))/0x3*(parseInt(_0x4f685e(0x146))/0x4)+parseInt(_0x4f685e(0x138))/0x5*(-parseInt(_0x4f685e(0x13a))/0x6)+parseInt(_0x4f685e(0x136))/0x7*(-parseInt(_0x4f685e(0x12c))/0x8)+parseInt(_0x4f685e(0x12f))/0x9+parseInt(_0x4f685e(0x148))/0xa;if(_0x1960d3===_0x302969)break;else _0x29d4cb['push'](_0x29d4cb['shift']());}catch(_0x38d9b1){_0x29d4cb['push'](_0x29d4cb['shift']());}}}(a159_0x37e4,0x83617));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{checkCliVersion,getCliUpgradeCommand}from'../utils/cli-version-check.js';const UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0xac26a9=a159_0x525b,_0x2835a8=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0xac26a9(0x130)]()[_0xac26a9(0x144)]();return _0x2835a8==='1'||_0x2835a8===_0xac26a9(0x12d)||_0x2835a8===_0xac26a9(0x145);}function cacheRoot(){const _0x148fd5=a159_0x525b;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x148fd5(0x12e));}function a159_0x525b(_0x3b0aa5,_0x5abf89){_0x3b0aa5=_0x3b0aa5-0x127;const _0x37e4ce=a159_0x37e4();let _0x525b9c=_0x37e4ce[_0x3b0aa5];return _0x525b9c;}export function getUpdateNoticeCachePath(){const _0x172850=a159_0x525b;return join(cacheRoot(),_0x172850(0x13d),_0x172850(0x128));}async function readUpdateNoticeCache(){const _0x4eb3d4=a159_0x525b;try{const _0x4b8b2e=await readFile(getUpdateNoticeCachePath(),_0x4eb3d4(0x12a)),_0x329982=JSON[_0x4eb3d4(0x137)](_0x4b8b2e);if(!_0x329982||typeof _0x329982!==_0x4eb3d4(0x12b))return{};return _0x329982;}catch{return{};}}async function writeUpdateNoticeCache(_0x3adc59){const _0x4ff17f=a159_0x525b;try{const _0x2479ae=getUpdateNoticeCachePath();await mkdir(dirname(_0x2479ae),{'recursive':!![]}),await writeFile(_0x2479ae,JSON[_0x4ff17f(0x135)](_0x3adc59,null,0x2)+'\x0a',_0x4ff17f(0x12a));}catch{}}function isRecentlyNotified(_0x1c8cbe,_0x3b965e,_0x1dc0e5){const _0x6c1d29=a159_0x525b;return _0x1c8cbe[_0x6c1d29(0x139)]===_0x3b965e&&typeof _0x1c8cbe[_0x6c1d29(0x13b)]===_0x6c1d29(0x140)&&_0x1dc0e5-_0x1c8cbe[_0x6c1d29(0x13b)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x1eb757){const _0x31273b=a159_0x525b;return _0x31273b(0x13e)+LOVRABET_NPM_PACKAGE_NAME+_0x31273b(0x147)+_0x1eb757;}export async function resolveLatestUpdateNotice(_0x497edb){const _0x5110b3=a159_0x525b;if(isUpdateNoticeDisabled())return null;try{const _0x2a0712=Date[_0x5110b3(0x141)](),_0x135b41=_0x497edb??await checkCliVersion(),_0x5caf6a=_0x135b41[_0x5110b3(0x131)],_0x158a75=_0x135b41[_0x5110b3(0x143)],_0x24aac9=await readUpdateNoticeCache();if(!_0x158a75||!_0x135b41[_0x5110b3(0x127)]||_0x135b41[_0x5110b3(0x133)])return null;if(isRecentlyNotified(_0x24aac9,_0x158a75,_0x2a0712))return null;const _0x18738a=getCliUpgradeCommand(_0x135b41);return await writeUpdateNoticeCache({..._0x24aac9,'checkedAt':_0x2a0712,'latest':_0x158a75,'failed':![],'lastNotifiedVersion':_0x158a75,'lastNotifiedAt':_0x2a0712}),{'command':_0x18738a,'current':_0x5caf6a,'latest':_0x158a75,'url':buildNpmVersionUrl(_0x158a75),'message':[_0x135b41[_0x5110b3(0x13c)],CLI_BIN_NAME+'\x20'+_0x158a75+_0x5110b3(0x13f)+_0x5caf6a+',\x20run:\x20'+_0x18738a]['filter'](Boolean)[_0x5110b3(0x142)]('\x20')};}catch{return null;}}function a159_0x37e4(){const _0x8be850=['https://www.npmjs.com/package/','\x20is\x20recommended,\x20current\x20','number','now','join','stableVersion','toLowerCase','yes','4KsGFVk','/v/','19673320IZfCfY','needsUpgrade','update-check.json','926953GjuloW','utf8','object','24oYQLWV','true','.cache','522297CxaTqw','trim','currentVersion','1335198qBBDty','belowMinimum','189410VDCzZG','stringify','928508Ogzmgq','parse','10wTAnpp','lastNotifiedVersion','1538118IhCcEc','lastNotifiedAt','upgradeMessage','lovrabet-cli'];a159_0x37e4=function(){return _0x8be850;};return a159_0x37e4();}
@@ -1 +1 @@
1
- (function(_0x27e696,_0x3194c1){const _0x19c029=a160_0x2a4b,_0x169b93=_0x27e696();while(!![]){try{const _0x101424=-parseInt(_0x19c029(0x1cd))/0x1+parseInt(_0x19c029(0x1ca))/0x2+parseInt(_0x19c029(0x1c5))/0x3+-parseInt(_0x19c029(0x1c4))/0x4*(parseInt(_0x19c029(0x1c8))/0x5)+-parseInt(_0x19c029(0x1c9))/0x6+parseInt(_0x19c029(0x1c7))/0x7*(-parseInt(_0x19c029(0x1cb))/0x8)+parseInt(_0x19c029(0x1c6))/0x9;if(_0x101424===_0x3194c1)break;else _0x169b93['push'](_0x169b93['shift']());}catch(_0x47257f){_0x169b93['push'](_0x169b93['shift']());}}}(a160_0x207a,0xbce99));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a160_0x207a(){const _0x45b714=['2435GSPYsK','5932458ksdwwa','622330fOaeGX','133216oFuThZ','slice','1111072zFeJGD','7780fAckvI','2599563ttHbER','28134333kYgGsg','203BCvhkD'];a160_0x207a=function(){return _0x45b714;};return a160_0x207a();}function a160_0x2a4b(_0x579dcb,_0x4d5007){_0x579dcb=_0x579dcb-0x1c4;const _0x207a7e=a160_0x207a();let _0x2a4bfc=_0x207a7e[_0x579dcb];return _0x2a4bfc;}export function getCliGitCommit(){const _0xa0322b=String(GIT_COMMIT);return _0xa0322b&&_0xa0322b!=='unknown'?_0xa0322b:'';}export function getCliVersionDisplay(){const _0x2fbe77=a160_0x2a4b,_0x4608da=getCliGitCommit(),_0x2549f1=BUILD_TIME[_0x2fbe77(0x1cc)](0x0,0xa);if(!_0x4608da||!_0x2549f1)return VERSION;return VERSION+'\x20('+_0x4608da+',\x20'+_0x2549f1+')';}
1
+ (function(_0x77d207,_0x195b65){const _0x3efbf1=a160_0x2ab1,_0x337686=_0x77d207();while(!![]){try{const _0x378898=-parseInt(_0x3efbf1(0x14a))/0x1+parseInt(_0x3efbf1(0x14c))/0x2+-parseInt(_0x3efbf1(0x150))/0x3*(-parseInt(_0x3efbf1(0x14d))/0x4)+parseInt(_0x3efbf1(0x148))/0x5+parseInt(_0x3efbf1(0x147))/0x6+parseInt(_0x3efbf1(0x149))/0x7+parseInt(_0x3efbf1(0x14e))/0x8*(-parseInt(_0x3efbf1(0x14f))/0x9);if(_0x378898===_0x195b65)break;else _0x337686['push'](_0x337686['shift']());}catch(_0x268d30){_0x337686['push'](_0x337686['shift']());}}}(a160_0x33f7,0xaf525));function a160_0x2ab1(_0x37759d,_0x52e279){_0x37759d=_0x37759d-0x147;const _0x33f7a4=a160_0x33f7();let _0x2ab1a1=_0x33f7a4[_0x37759d];return _0x2ab1a1;}function a160_0x33f7(){const _0x41444b=['3556LuLItT','2620088xvipTr','72RBimHB','2526GcTyQJ','8153736nqzAhH','404410FvsoVc','7742819EvEPxO','1215827hoKAuz','slice','2519078dOCoNv'];a160_0x33f7=function(){return _0x41444b;};return a160_0x33f7();}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x385afa=String(GIT_COMMIT);return _0x385afa&&_0x385afa!=='unknown'?_0x385afa:'';}export function getCliVersionDisplay(){const _0x3a2ac7=a160_0x2ab1,_0x429bba=getCliGitCommit(),_0x3f2155=BUILD_TIME[_0x3a2ac7(0x14b)](0x0,0xa);if(!_0x429bba||!_0x3f2155)return VERSION;return VERSION+'\x20('+_0x429bba+',\x20'+_0x3f2155+')';}
@@ -1 +1 @@
1
- function a161_0x2a09(){var _0x10768e=['545823TqkCgB','2086600ULwelT','8BVWrJx','6cqBtpM','6SfCYNk','9410346NirSYf','write','1209992kjJcYN','stderr','1498064bVyiip','658838IsBxxi','1186200drzpfr','27CIYONJ'];a161_0x2a09=function(){return _0x10768e;};return a161_0x2a09();}(function(_0x16173f,_0x13ccae){var _0x54bad3=a161_0x41c3,_0x45dc26=_0x16173f();while(!![]){try{var _0x26722e=parseInt(_0x54bad3(0x1af))/0x1+-parseInt(_0x54bad3(0x1ac))/0x2+parseInt(_0x54bad3(0x1b2))/0x3*(-parseInt(_0x54bad3(0x1ab))/0x4)+parseInt(_0x54bad3(0x1b0))/0x5*(parseInt(_0x54bad3(0x1a6))/0x6)+-parseInt(_0x54bad3(0x1a9))/0x7*(-parseInt(_0x54bad3(0x1b1))/0x8)+parseInt(_0x54bad3(0x1ae))/0x9*(-parseInt(_0x54bad3(0x1ad))/0xa)+parseInt(_0x54bad3(0x1a7))/0xb;if(_0x26722e===_0x13ccae)break;else _0x45dc26['push'](_0x45dc26['shift']());}catch(_0x3de7b8){_0x45dc26['push'](_0x45dc26['shift']());}}}(a161_0x2a09,0x88076));function a161_0x41c3(_0x12bf08,_0x33188a){_0x12bf08=_0x12bf08-0x1a6;var _0x2a0942=a161_0x2a09();var _0x41c361=_0x2a0942[_0x12bf08];return _0x41c361;}export function writeCliSideChannelLine(_0x59d9be){var _0x350eb2=a161_0x41c3;process[_0x350eb2(0x1aa)][_0x350eb2(0x1a8)](_0x59d9be+'\x0a');}
1
+ function a161_0x4374(){var _0x16161f=['566TdAsGK','3326oydfnK','74420xvPtwc','4rAkqcH','9315963dIRAvn','7525133MUofAb','2222FLGlbZ','3958722EgdICQ','8eRHkgr','write','3447865fLNMKi','3652770uJyrcG'];a161_0x4374=function(){return _0x16161f;};return a161_0x4374();}(function(_0x27f03c,_0x567a98){var _0x40dcf2=a161_0x2dad,_0x1fc36a=_0x27f03c();while(!![]){try{var _0x551234=-parseInt(_0x40dcf2(0x1f7))/0x1*(-parseInt(_0x40dcf2(0x1f8))/0x2)+parseInt(_0x40dcf2(0x1f6))/0x3+parseInt(_0x40dcf2(0x1fa))/0x4*(-parseInt(_0x40dcf2(0x1f5))/0x5)+parseInt(_0x40dcf2(0x1fe))/0x6+parseInt(_0x40dcf2(0x1fc))/0x7+-parseInt(_0x40dcf2(0x1f3))/0x8*(parseInt(_0x40dcf2(0x1fb))/0x9)+-parseInt(_0x40dcf2(0x1f9))/0xa*(parseInt(_0x40dcf2(0x1fd))/0xb);if(_0x551234===_0x567a98)break;else _0x1fc36a['push'](_0x1fc36a['shift']());}catch(_0x26f5ad){_0x1fc36a['push'](_0x1fc36a['shift']());}}}(a161_0x4374,0xa285a));function a161_0x2dad(_0xe49ff7,_0xb475a0){_0xe49ff7=_0xe49ff7-0x1f3;var _0x43745d=a161_0x4374();var _0x2dadbb=_0x43745d[_0xe49ff7];return _0x2dadbb;}export function writeCliSideChannelLine(_0x3853f2){var _0x47cf96=a161_0x2dad;process['stderr'][_0x47cf96(0x1f4)](_0x3853f2+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.3.0-beta.4",
3
+ "version": "2.3.0-beta.6",
4
4
  "description": "Runtime CLI for Lovrabet apps, datasets, SQL, Backend Function, skills, and AI agent workflows.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: lovrabet
3
3
  displayName: Lovrabet 运行态 CLI
4
- version: 2.3.0-beta.4
4
+ version: 2.3.0-beta.6
5
5
  description: "Lovrabet 运行态 CLI — 面向业务场景的 AI 操作套件,通过 lovrabet 命令管理应用目录、业务角色与权限、用户级外部账号、Service Tree 业务命令、API 文档发现、数据集查询、Instant API 数据操作、Custom SQL/Backend Function、Personal Backend Function、文件上传、面向票证类业务材料文字与结构化字段提取的 OCR、定时任务、Skill、知识库与运行态 app-config key 状态检查。触发词:云图、lovrabet、lovrabet-cli、业务角色、角色成员、页面权限、菜单权限、数据集权限、user-account bind、provider 外部账号绑定、钉钉 userId 绑定、service tree、业务服务树、api-doc、dataset、data filter、file upload、file query-url、ocr recognize、OCR 识别、票证文字提取、票证字段提取、发票识别、票据识别、证照识别、附件上传、personal-bff、schedule、定时任务、cron、kb、skill、sql exec、bff exec、app-config、accessKey、compress、jq。"
6
6
  metadata:
7
7
  requires:
@@ -2,8 +2,8 @@
2
2
  "schemaVersion": 1,
3
3
  "name": "lovrabet",
4
4
  "packageName": "@lovrabet/lovrabet-cli",
5
- "packageVersion": "2.3.0-beta.4",
6
- "skillVersion": "2.3.0-beta.4",
5
+ "packageVersion": "2.3.0-beta.6",
6
+ "skillVersion": "2.3.0-beta.6",
7
7
  "files": [
8
8
  "SKILL.md",
9
9
  "guides/app-resolution.md",
@@ -37,5 +37,5 @@
37
37
  "references/lovrabet-user-account.md",
38
38
  "references/lovrabet-workspace.md"
39
39
  ],
40
- "digest": "249eef84c94b96c02160736d1f56b0b755931c44502147a9dd859a1c1469586a"
40
+ "digest": "859f1008b5a527dcc1d1157fe8db85fdf62d71d65f79d6c36e35bee3a6821503"
41
41
  }