@lovrabet/lovrabet-cli 2.3.0-beta.5 → 2.3.0

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(_0x485cee,_0x5e3cb0){const _0x50ad89=a144_0x2efd,_0x310104=_0x485cee();while(!![]){try{const _0xc173ab=-parseInt(_0x50ad89(0xa5))/0x1+-parseInt(_0x50ad89(0xce))/0x2+parseInt(_0x50ad89(0xb2))/0x3+parseInt(_0x50ad89(0xab))/0x4*(-parseInt(_0x50ad89(0xb8))/0x5)+parseInt(_0x50ad89(0xc9))/0x6+-parseInt(_0x50ad89(0xad))/0x7*(parseInt(_0x50ad89(0xc3))/0x8)+parseInt(_0x50ad89(0x9f))/0x9;if(_0xc173ab===_0x5e3cb0)break;else _0x310104['push'](_0x310104['shift']());}catch(_0xb3a52a){_0x310104['push'](_0x310104['shift']());}}}(a144_0x3352,0x4b3b1));import{existsSync,lstatSync,readFileSync,realpathSync}from'node:fs';import{basename,resolve}from'node:path';import{parse as a144_0x16b433}from'yaml';import{CliErrors}from'../../errors.js';import{METADATA_FILE,SKILL_FILE}from'./constants.js';import{writeJsonAtomic}from'./fs-utils.js';import{contentHash}from'./hashing.js';import{fileText,normalizeLocalFiles,scanSkillDirectory}from'./local-files.js';import{buildMetadata,readMetadataIfPresent}from'./metadata.js';import{buildSkillPackage,tryNormalizePackageManifest}from'./zip-package.js';export function resolvePushDirectoryIdentity(_0x283968,_0x21b9a3,_0x330455={}){const _0x8d0a89=a144_0x2efd,_0x534223=resolvePushDirectoryRoot(_0x283968),_0x27ace8=readPushMetadataIfPresent(resolve(_0x534223,METADATA_FILE),{'ignoreInvalidMetadata':_0x330455['ignoreInvalidMetadata']});if(_0x27ace8?.['appCode']&&_0x27ace8[_0x8d0a89(0xa6)]!==_0x21b9a3&&!_0x330455[_0x8d0a89(0xb9)]&&!_0x330455[_0x8d0a89(0x93)])throw CliErrors[_0x8d0a89(0x9c)](_0x8d0a89(0xb7)+_0x27ace8[_0x8d0a89(0xa6)]+'\x22\x20does\x20not\x20match\x20current\x20appCode\x20\x22'+_0x21b9a3+'\x22.');const _0x28e7f3=resolvePushSkillCode(_0x534223,_0x21b9a3,_0x27ace8,_0x330455);if(!_0x28e7f3)throw CliErrors['validation'](_0x8d0a89(0xaf)+SKILL_FILE+',\x20'+METADATA_FILE+_0x8d0a89(0xcc));return{'dir':_0x534223,'skillCode':_0x28e7f3,'metadata':_0x27ace8};}export function readPushDirectory(_0x229c57,_0x562ce2,_0x113c3e={}){const _0x338180=a144_0x2efd,_0x1ce42c=resolvePushDirectoryIdentity(_0x229c57,_0x562ce2,_0x113c3e),_0x4ee103=_0x1ce42c[_0x338180(0x96)],_0x16b7bc=resolve(_0x4ee103,SKILL_FILE);if(!existsSync(_0x16b7bc)||!lstatSync(_0x16b7bc)[_0x338180(0xac)]())throw CliErrors[_0x338180(0x9c)](_0x338180(0x91)+SKILL_FILE+':\x20'+_0x16b7bc);const _0x5424c7=_0x1ce42c['metadata'],_0x3b7aac=_0x113c3e[_0x338180(0xbf)]??_0x338180(0xc6);if(!_0x113c3e['ignoreMetadataScope']&&_0x5424c7?.[_0x338180(0xc2)]===_0x338180(0xc1))throw CliErrors[_0x338180(0x9c)](_0x338180(0xbb)+METADATA_FILE+'\x20has\x20scope=\x22'+_0x5424c7[_0x338180(0xc2)]+'\x22.');if(!_0x113c3e[_0x338180(0xca)]&&_0x3b7aac===_0x338180(0xc6)&&_0x5424c7?.[_0x338180(0xc2)]&&_0x5424c7[_0x338180(0xc2)]!=='personal')throw CliErrors[_0x338180(0x9c)](_0x338180(0xc7)+METADATA_FILE+_0x338180(0xa4)+_0x5424c7[_0x338180(0xc2)]+'\x22.','Use\x20lovrabet\x20skill\x20push\x20--scope\x20company\x20--dir\x20'+_0x4ee103+'\x20to\x20submit\x20company\x20Skills\x20for\x20review.');const _0x56d97a=scanSkillDirectory(_0x4ee103,{'excludedFilePaths':_0x113c3e['excludedFilePaths']}),_0x105584=buildSkillPackage(_0x56d97a),_0x59405e=readFileSync(_0x16b7bc,_0x338180(0xbc)),_0x58f920=_0x1ce42c[_0x338180(0xb6)],_0x940823=_0x113c3e['ignoreMetadataForPayload']?undefined:_0x5424c7,_0xf37d99=readSkillDisplayName(_0x59405e);return{'skillCode':_0x58f920,'metadata':_0x5424c7,'frontmatterDisplayName':_0xf37d99,'input':{'skillCode':_0x58f920,'skillName':_0xf37d99??_0x940823?.[_0x338180(0xbe)],'description':_0x940823?.['description'],'content':_0x59405e,'files':_0x105584[_0x338180(0xa0)],'packageBase64':_0x105584['packageBase64'],'tags':_0x940823?.['tags'],'version':_0x940823?.[_0x338180(0xa9)],'sourceSessionId':_0x940823?.[_0x338180(0xbd)]}};}export function refreshPushDirectoryMetadataFromRemote(_0x129cb9,_0x3eca3c,_0x28dced,_0x19b402={}){const _0x5549bf=a144_0x2efd,_0x2cf734=resolvePushDirectoryRoot(_0x129cb9),_0x4894a3=readPushMetadataIfPresent(resolve(_0x2cf734,METADATA_FILE),{'ignoreInvalidMetadata':!![]}),_0x31b43e=requireRemoteScope(_0x3eca3c),_0x5394f3=readLocalSkillContent(_0x2cf734),_0x595812={..._0x3eca3c,'appCode':_0x3eca3c[_0x5549bf(0xa6)]??_0x28dced,'skillName':_0x3eca3c['skillName']??_0x4894a3?.['skillName'],'description':_0x3eca3c[_0x5549bf(0x98)]??_0x4894a3?.[_0x5549bf(0x98)],'example':_0x3eca3c[_0x5549bf(0xcb)]??_0x4894a3?.[_0x5549bf(0xcb)],'tags':Array['isArray'](_0x3eca3c[_0x5549bf(0xa8)])?_0x3eca3c[_0x5549bf(0xa8)]:_0x4894a3?.[_0x5549bf(0xa8)],'sourceSessionId':_0x3eca3c[_0x5549bf(0xbd)]??_0x4894a3?.[_0x5549bf(0xbd)],'content':_0x3eca3c[_0x5549bf(0xc4)]??_0x5394f3},_0x1a6eda=buildMetadata(_0x595812,_0x31b43e,_0x28dced,contentHash(_0x5394f3),_0x19b402[_0x5549bf(0xaa)]);writeJsonAtomic(resolve(_0x2cf734,METADATA_FILE),_0x1a6eda);}export function recordPushedRuntimeSkill(_0x116602,_0xd83c17,_0xbb210e,_0x4f3152={}){const _0x341dcf=a144_0x2efd,_0x2c31c8=resolvePushDirectoryRoot(_0x116602),_0x97eba2=scanSkillDirectory(_0x2c31c8),_0x4580d2=_0x97eba2[_0x341dcf(0x9e)](_0x3261d7=>_0x3261d7[_0x341dcf(0x9b)]===SKILL_FILE),_0x5e0643=_0x4580d2?fileText(_0x4580d2):'',_0x33566a=tryNormalizePackageManifest(_0xd83c17[_0x341dcf(0xa1)]),_0x2858cc={..._0xd83c17,'content':_0xd83c17[_0x341dcf(0xc4)]??_0x5e0643,'files':_0x33566a},_0x10bd28=_0x33566a?normalizeLocalFiles(_0x97eba2)[_0x341dcf(0xb4)](_0xd60194=>_0x33566a[_0x341dcf(0xa1)]['some'](_0x4dc52c=>_0x4dc52c[_0x341dcf(0x9b)]===_0xd60194[_0x341dcf(0x9b)])):undefined,_0x44d26c=buildMetadata(_0x2858cc,_0x4f3152[_0x341dcf(0xc2)]??_0x341dcf(0xc6),_0xbb210e,contentHash(_0x2858cc[_0x341dcf(0xc4)]??''),_0x4f3152[_0x341dcf(0xae)],_0x10bd28);writeJsonAtomic(resolve(_0x2c31c8,METADATA_FILE),_0x44d26c);}export function deriveSkillCodeFromDirectory(_0x186138,_0x2f0de4){const _0x3d977f=a144_0x2efd,_0x3229b6=basename(resolve(_0x186138)),_0x68fd9b=_0x2f0de4+'--';return _0x3229b6[_0x3d977f(0xa7)](_0x68fd9b)?_0x3229b6[_0x3d977f(0xc8)](_0x68fd9b['length']):_0x3229b6;}function a144_0x3352(){const _0x3ff562=['isArray','67212PeUmXF','\x20has\x20unsupported\x20scope\x20\x22','filter','replace','skillCode','Skill\x20metadata\x20appCode\x20\x22','215uozFMz','allowAppCodeRetarget','toLowerCase','Builtin\x20Skills\x20cannot\x20be\x20pushed;\x20','utf8','sourceSessionId','skillName','targetScope','string','builtin','scope','128056kYQAyA','content','boolean','personal','Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20','slice','3691074iIxeUI','ignoreMetadataScope','example',',\x20or\x20directory\x20name.','trim','406652GKUgsb','ignoreMetadataSkillCode','company','Skill\x20directory\x20not\x20found:\x20','\x20name\x20for\x20SkillHub\x20slug\x20generation.','Missing\x20','object','ignoreMetadataAppCodeMismatch','isDirectory','number','dir','displayName','description','isSymbolicLink','(unknown)','path','validation','Remote\x20Skill\x20','find','5572431CGJdEO','manifest','files','match','ignoreInvalidMetadata','\x20has\x20scope=\x22','148868bRctIy','appCode','startsWith','tags','version','refreshedAt','33144IMHwCY','isFile','105wDHiYY','pushedAt','Unable\x20to\x20resolve\x20skillCode\x20from\x20','unknown'];a144_0x3352=function(){return _0x3ff562;};return a144_0x3352();}function a144_0x2efd(_0x4b89d9,_0x23fdbe){_0x4b89d9=_0x4b89d9-0x90;const _0x335292=a144_0x3352();let _0x2efd45=_0x335292[_0x4b89d9];return _0x2efd45;}function resolvePushSkillCode(_0x17d143,_0x250861,_0x349e37,_0x28b275){const _0x393e11=a144_0x2efd,_0xab18fc=deriveSkillCodeFromSkillFile(_0x17d143)||deriveSkillCodeFromDirectory(_0x17d143,_0x250861);if(_0x28b275[_0x393e11(0xcf)])return _0xab18fc;return _0x349e37?.[_0x393e11(0xb6)]?.['trim']()||_0xab18fc;}function deriveSkillCodeFromSkillFile(_0x2b8186){const _0x1d31cf=a144_0x2efd,_0x275c88=resolve(_0x2b8186,SKILL_FILE);if(!existsSync(_0x275c88)||!lstatSync(_0x275c88)[_0x1d31cf(0xac)]())return undefined;const _0x36e923=readFileSync(_0x275c88,_0x1d31cf(0xbc)),_0x37e722=_0x36e923[_0x1d31cf(0xa2)](/^---\r?\n([\s\S]*?)\r?\n---(?:\r?\n|$)/);if(!_0x37e722)return undefined;const _0x84809a=parseFrontmatterObject(_0x37e722[0x1]??''),_0xa71226=scalarToString(_0x84809a?.['name']);return _0xa71226?slugifySkillName(_0xa71226):undefined;}function readSkillDisplayName(_0x30c73e){const _0x2e0f6a=a144_0x2efd,_0x5c85e2=_0x30c73e[_0x2e0f6a(0xa2)](/^---\r?\n([\s\S]*?)\r?\n---(?:\r?\n|$)/);if(!_0x5c85e2)return undefined;const _0x3f3bc8=parseFrontmatterObject(_0x5c85e2[0x1]??'');return scalarToString(_0x3f3bc8?.[_0x2e0f6a(0x97)]);}function slugifySkillName(_0x34ee86){const _0x2a7f56=a144_0x2efd,_0x550b10=_0x34ee86[_0x2a7f56(0xcd)]()[_0x2a7f56(0xba)]()[_0x2a7f56(0xb5)](/[^\p{L}\p{N}\p{So}]+/gu,'-')[_0x2a7f56(0xb5)](/^-+/,'')[_0x2a7f56(0xb5)](/-+$/,'')[_0x2a7f56(0xb5)](/-{2,}/g,'-');if(!_0x550b10)throw CliErrors[_0x2a7f56(0x9c)]('Invalid\x20'+SKILL_FILE+_0x2a7f56(0x90));return _0x550b10;}function parseFrontmatterObject(_0x264ccd){const _0x58b229=a144_0x2efd;try{const _0x39ce89=a144_0x16b433(_0x264ccd);return _0x39ce89&&typeof _0x39ce89===_0x58b229(0x92)&&!Array[_0x58b229(0xb1)](_0x39ce89)?_0x39ce89:undefined;}catch{return undefined;}}function scalarToString(_0xe65c3c){const _0x2c67a3=a144_0x2efd;if(typeof _0xe65c3c===_0x2c67a3(0xc0))return _0xe65c3c[_0x2c67a3(0xcd)]();if(typeof _0xe65c3c===_0x2c67a3(0x95)||typeof _0xe65c3c===_0x2c67a3(0xc5))return String(_0xe65c3c);return undefined;}function resolvePushDirectoryRoot(_0x1cb14c){const _0x3b7beb=a144_0x2efd,_0x3498a7=resolve(_0x1cb14c);if(!existsSync(_0x3498a7))throw CliErrors[_0x3b7beb(0x9c)](_0x3b7beb(0xd1)+_0x1cb14c);const _0xa60b7e=lstatSync(_0x3498a7);if(_0xa60b7e[_0x3b7beb(0x94)]())return _0x3498a7;if(_0xa60b7e[_0x3b7beb(0x99)]()){const _0x345d16=realpathSync(_0x3498a7);if(lstatSync(_0x345d16)[_0x3b7beb(0x94)]())return _0x345d16;}throw CliErrors[_0x3b7beb(0x9c)]('Skill\x20directory\x20not\x20found:\x20'+_0x1cb14c);}function requireRemoteScope(_0x55d1ee){const _0x5ddf83=a144_0x2efd;if(_0x55d1ee['scope']===_0x5ddf83(0xc6)||_0x55d1ee['scope']===_0x5ddf83(0xd0)||_0x55d1ee['scope']==='builtin')return _0x55d1ee['scope'];throw CliErrors[_0x5ddf83(0x9c)](_0x5ddf83(0x9d)+(_0x55d1ee[_0x5ddf83(0xb6)]||_0x5ddf83(0x9a))+_0x5ddf83(0xb3)+(_0x55d1ee[_0x5ddf83(0xc2)]??_0x5ddf83(0xb0))+'\x22.');}function readLocalSkillContent(_0x55fd86){const _0x5386a5=a144_0x2efd,_0x4469f6=resolve(_0x55fd86,SKILL_FILE);return existsSync(_0x4469f6)&&lstatSync(_0x4469f6)[_0x5386a5(0xac)]()?readFileSync(_0x4469f6,'utf8'):'';}function readPushMetadataIfPresent(_0x10e433,_0x4222ab={}){const _0x27e5a8=a144_0x2efd;try{return readMetadataIfPresent(_0x10e433);}catch(_0x5d1f3e){if(_0x4222ab[_0x27e5a8(0xa3)])return undefined;throw _0x5d1f3e;}}
1
+ (function(_0x16ec4b,_0x2f98dc){const _0x10811c=a144_0x12ec,_0x4d6df0=_0x16ec4b();while(!![]){try{const _0x111812=-parseInt(_0x10811c(0x1fa))/0x1*(parseInt(_0x10811c(0x1cb))/0x2)+parseInt(_0x10811c(0x207))/0x3+-parseInt(_0x10811c(0x1fe))/0x4*(-parseInt(_0x10811c(0x205))/0x5)+parseInt(_0x10811c(0x1e3))/0x6*(-parseInt(_0x10811c(0x1dc))/0x7)+-parseInt(_0x10811c(0x203))/0x8+parseInt(_0x10811c(0x1d5))/0x9+parseInt(_0x10811c(0x206))/0xa;if(_0x111812===_0x2f98dc)break;else _0x4d6df0['push'](_0x4d6df0['shift']());}catch(_0x2629cf){_0x4d6df0['push'](_0x4d6df0['shift']());}}}(a144_0x2a1d,0xb2d55));import{existsSync,lstatSync,readFileSync,realpathSync}from'node:fs';import{basename,resolve}from'node:path';import{parse as a144_0x4a19ac}from'yaml';import{CliErrors}from'../../errors.js';import{METADATA_FILE,SKILL_FILE}from'./constants.js';function a144_0x2a1d(){const _0x28dca4=['\x20has\x20scope=\x22','scope','object','ignoreInvalidMetadata','validation','personal','28742WYemvv','startsWith','match','string','tags','appCode','Missing\x20','\x20name\x20for\x20SkillHub\x20slug\x20generation.','builtin','Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20','1190610EiOeIh','ignoreMetadataAppCodeMismatch','path','replace','utf8','number','skillCode','2523332AAfdVk','find','slice','isArray','sourceSessionId','Use\x20lovrabet\x20skill\x20push\x20--scope\x20company\x20--dir\x20','boolean','6KyrFgt','Remote\x20Skill\x20','name','isFile','dir','packageBase64','isDirectory','\x20to\x20submit\x20company\x20Skills\x20for\x20review.','company','ignoreMetadataScope','skillName','example','files','Builtin\x20Skills\x20cannot\x20be\x20pushed;\x20',',\x20or\x20directory\x20name.','refreshedAt','excludedFilePaths','Skill\x20directory\x20not\x20found:\x20','pushedAt','version','content','description','ignoreMetadataForPayload','59FEINNd','displayName','ignoreMetadataSkillCode','metadata','732616gfTUXz','Unable\x20to\x20resolve\x20skillCode\x20from\x20','targetScope','Invalid\x20','trim','7800152hIgsOR','manifest','35zgzoWA','5490990cKXmPl','2857254xdLNWI'];a144_0x2a1d=function(){return _0x28dca4;};return a144_0x2a1d();}import{writeJsonAtomic}from'./fs-utils.js';import{contentHash}from'./hashing.js';function a144_0x12ec(_0x430fbc,_0x129b61){_0x430fbc=_0x430fbc-0x1c9;const _0x2a1dd4=a144_0x2a1d();let _0x12ecfb=_0x2a1dd4[_0x430fbc];return _0x12ecfb;}import{fileText,normalizeLocalFiles,scanSkillDirectory}from'./local-files.js';import{buildMetadata,readMetadataIfPresent}from'./metadata.js';import{buildSkillPackage,tryNormalizePackageManifest}from'./zip-package.js';export function resolvePushDirectoryIdentity(_0x14e544,_0x5a9ee0,_0x4a9160={}){const _0x367009=a144_0x12ec,_0x2508c0=resolvePushDirectoryRoot(_0x14e544),_0x5a4e2d=readPushMetadataIfPresent(resolve(_0x2508c0,METADATA_FILE),{'ignoreInvalidMetadata':_0x4a9160[_0x367009(0x20b)]});if(_0x5a4e2d?.[_0x367009(0x1d0)]&&_0x5a4e2d['appCode']!==_0x5a9ee0&&!_0x4a9160['allowAppCodeRetarget']&&!_0x4a9160[_0x367009(0x1d6)])throw CliErrors[_0x367009(0x1c9)]('Skill\x20metadata\x20appCode\x20\x22'+_0x5a4e2d['appCode']+'\x22\x20does\x20not\x20match\x20current\x20appCode\x20\x22'+_0x5a9ee0+'\x22.');const _0xbb0d74=resolvePushSkillCode(_0x2508c0,_0x5a9ee0,_0x5a4e2d,_0x4a9160);if(!_0xbb0d74)throw CliErrors[_0x367009(0x1c9)](_0x367009(0x1ff)+SKILL_FILE+',\x20'+METADATA_FILE+_0x367009(0x1f1));return{'dir':_0x2508c0,'skillCode':_0xbb0d74,'metadata':_0x5a4e2d};}export function readPushDirectory(_0x546b5e,_0x19a699,_0x2f200e={}){const _0x3a7e2a=a144_0x12ec,_0x44520f=resolvePushDirectoryIdentity(_0x546b5e,_0x19a699,_0x2f200e),_0x3727be=_0x44520f[_0x3a7e2a(0x1e7)],_0x5d7b29=resolve(_0x3727be,SKILL_FILE);if(!existsSync(_0x5d7b29)||!lstatSync(_0x5d7b29)[_0x3a7e2a(0x1e6)]())throw CliErrors[_0x3a7e2a(0x1c9)](_0x3a7e2a(0x1d1)+SKILL_FILE+':\x20'+_0x5d7b29);const _0x2942d7=_0x44520f[_0x3a7e2a(0x1fd)],_0x567ebf=_0x2f200e[_0x3a7e2a(0x200)]??_0x3a7e2a(0x1ca);if(!_0x2f200e['ignoreMetadataScope']&&_0x2942d7?.['scope']===_0x3a7e2a(0x1d3))throw CliErrors['validation'](_0x3a7e2a(0x1f0)+METADATA_FILE+_0x3a7e2a(0x208)+_0x2942d7['scope']+'\x22.');if(!_0x2f200e[_0x3a7e2a(0x1ec)]&&_0x567ebf===_0x3a7e2a(0x1ca)&&_0x2942d7?.['scope']&&_0x2942d7[_0x3a7e2a(0x209)]!==_0x3a7e2a(0x1ca))throw CliErrors[_0x3a7e2a(0x1c9)](_0x3a7e2a(0x1d4)+METADATA_FILE+_0x3a7e2a(0x208)+_0x2942d7[_0x3a7e2a(0x209)]+'\x22.',_0x3a7e2a(0x1e1)+_0x3727be+_0x3a7e2a(0x1ea));const _0x36b896=scanSkillDirectory(_0x3727be,{'excludedFilePaths':_0x2f200e[_0x3a7e2a(0x1f3)]}),_0x3c42e6=buildSkillPackage(_0x36b896),_0x22378b=readFileSync(_0x5d7b29,'utf8'),_0x307769=_0x44520f[_0x3a7e2a(0x1db)],_0x5967a9=_0x2f200e[_0x3a7e2a(0x1f9)]?undefined:_0x2942d7,_0x48d3f1=readSkillDisplayName(_0x22378b);return{'skillCode':_0x307769,'metadata':_0x2942d7,'frontmatterDisplayName':_0x48d3f1,'input':{'skillCode':_0x307769,'skillName':_0x48d3f1??_0x5967a9?.[_0x3a7e2a(0x1ed)],'description':_0x5967a9?.[_0x3a7e2a(0x1f8)],'content':_0x22378b,'files':_0x3c42e6[_0x3a7e2a(0x204)],'packageBase64':_0x3c42e6[_0x3a7e2a(0x1e8)],'tags':_0x5967a9?.[_0x3a7e2a(0x1cf)],'version':_0x5967a9?.[_0x3a7e2a(0x1f6)],'sourceSessionId':_0x5967a9?.['sourceSessionId']}};}export function refreshPushDirectoryMetadataFromRemote(_0x3dc65f,_0x1251f1,_0xe75387,_0x2ece6b={}){const _0x5addbd=a144_0x12ec,_0x22e427=resolvePushDirectoryRoot(_0x3dc65f),_0xb21343=readPushMetadataIfPresent(resolve(_0x22e427,METADATA_FILE),{'ignoreInvalidMetadata':!![]}),_0x2b7fb6=requireRemoteScope(_0x1251f1),_0x5bbe18=readLocalSkillContent(_0x22e427),_0x36bd99={..._0x1251f1,'appCode':_0x1251f1['appCode']??_0xe75387,'skillName':_0x1251f1[_0x5addbd(0x1ed)]??_0xb21343?.[_0x5addbd(0x1ed)],'description':_0x1251f1[_0x5addbd(0x1f8)]??_0xb21343?.['description'],'example':_0x1251f1['example']??_0xb21343?.[_0x5addbd(0x1ee)],'tags':Array[_0x5addbd(0x1df)](_0x1251f1[_0x5addbd(0x1cf)])?_0x1251f1[_0x5addbd(0x1cf)]:_0xb21343?.[_0x5addbd(0x1cf)],'sourceSessionId':_0x1251f1[_0x5addbd(0x1e0)]??_0xb21343?.[_0x5addbd(0x1e0)],'content':_0x1251f1[_0x5addbd(0x1f7)]??_0x5bbe18},_0xfa6e9b=buildMetadata(_0x36bd99,_0x2b7fb6,_0xe75387,contentHash(_0x5bbe18),_0x2ece6b[_0x5addbd(0x1f2)]);writeJsonAtomic(resolve(_0x22e427,METADATA_FILE),_0xfa6e9b);}export function recordPushedRuntimeSkill(_0x1b1fb4,_0x23648f,_0x5c4944,_0x17760a={}){const _0x5848ce=a144_0x12ec,_0x5d1a59=resolvePushDirectoryRoot(_0x1b1fb4),_0x1365f5=scanSkillDirectory(_0x5d1a59),_0x4bcbfe=_0x1365f5[_0x5848ce(0x1dd)](_0x115533=>_0x115533[_0x5848ce(0x1d7)]===SKILL_FILE),_0x366376=_0x4bcbfe?fileText(_0x4bcbfe):'',_0x192804=tryNormalizePackageManifest(_0x23648f['files']),_0x14ffee={..._0x23648f,'content':_0x23648f[_0x5848ce(0x1f7)]??_0x366376,'files':_0x192804},_0xe22d0e=_0x192804?normalizeLocalFiles(_0x1365f5)['filter'](_0x4c9877=>_0x192804[_0x5848ce(0x1ef)]['some'](_0x32cdbf=>_0x32cdbf['path']===_0x4c9877['path'])):undefined,_0x4662a4=buildMetadata(_0x14ffee,_0x17760a[_0x5848ce(0x209)]??_0x5848ce(0x1ca),_0x5c4944,contentHash(_0x14ffee['content']??''),_0x17760a[_0x5848ce(0x1f5)],_0xe22d0e);writeJsonAtomic(resolve(_0x5d1a59,METADATA_FILE),_0x4662a4);}export function deriveSkillCodeFromDirectory(_0x94c70,_0x2f3d48){const _0x56dc96=a144_0x12ec,_0x1193e7=basename(resolve(_0x94c70)),_0x2955c2=_0x2f3d48+'--';return _0x1193e7[_0x56dc96(0x1cc)](_0x2955c2)?_0x1193e7[_0x56dc96(0x1de)](_0x2955c2['length']):_0x1193e7;}function resolvePushSkillCode(_0x9af777,_0x5e15d7,_0x1d8380,_0x5ed767){const _0x4e6058=a144_0x12ec,_0xc8fe64=deriveSkillCodeFromSkillFile(_0x9af777)||deriveSkillCodeFromDirectory(_0x9af777,_0x5e15d7);if(_0x5ed767[_0x4e6058(0x1fc)])return _0xc8fe64;return _0x1d8380?.[_0x4e6058(0x1db)]?.['trim']()||_0xc8fe64;}function deriveSkillCodeFromSkillFile(_0x3f1e1d){const _0x400f33=a144_0x12ec,_0x17b8ae=resolve(_0x3f1e1d,SKILL_FILE);if(!existsSync(_0x17b8ae)||!lstatSync(_0x17b8ae)['isFile']())return undefined;const _0x183b5e=readFileSync(_0x17b8ae,_0x400f33(0x1d9)),_0x1e8937=_0x183b5e[_0x400f33(0x1cd)](/^---\r?\n([\s\S]*?)\r?\n---(?:\r?\n|$)/);if(!_0x1e8937)return undefined;const _0x44b1cc=parseFrontmatterObject(_0x1e8937[0x1]??''),_0x43c12c=scalarToString(_0x44b1cc?.[_0x400f33(0x1e5)]);return _0x43c12c?slugifySkillName(_0x43c12c):undefined;}function readSkillDisplayName(_0x4f4903){const _0x2ca85e=a144_0x12ec,_0x1556fc=_0x4f4903['match'](/^---\r?\n([\s\S]*?)\r?\n---(?:\r?\n|$)/);if(!_0x1556fc)return undefined;const _0x2ce7f8=parseFrontmatterObject(_0x1556fc[0x1]??'');return scalarToString(_0x2ce7f8?.[_0x2ca85e(0x1fb)]);}function slugifySkillName(_0x46d4de){const _0x3fd966=a144_0x12ec,_0x53dc4c=_0x46d4de[_0x3fd966(0x202)]()['toLowerCase']()[_0x3fd966(0x1d8)](/[^\p{L}\p{N}\p{So}]+/gu,'-')[_0x3fd966(0x1d8)](/^-+/,'')[_0x3fd966(0x1d8)](/-+$/,'')['replace'](/-{2,}/g,'-');if(!_0x53dc4c)throw CliErrors[_0x3fd966(0x1c9)](_0x3fd966(0x201)+SKILL_FILE+_0x3fd966(0x1d2));return _0x53dc4c;}function parseFrontmatterObject(_0x24edeb){const _0x465b52=a144_0x12ec;try{const _0x172b6c=a144_0x4a19ac(_0x24edeb);return _0x172b6c&&typeof _0x172b6c===_0x465b52(0x20a)&&!Array['isArray'](_0x172b6c)?_0x172b6c:undefined;}catch{return undefined;}}function scalarToString(_0x990be6){const _0x297993=a144_0x12ec;if(typeof _0x990be6===_0x297993(0x1ce))return _0x990be6[_0x297993(0x202)]();if(typeof _0x990be6===_0x297993(0x1da)||typeof _0x990be6===_0x297993(0x1e2))return String(_0x990be6);return undefined;}function resolvePushDirectoryRoot(_0x51a7aa){const _0x5b0db6=a144_0x12ec,_0x16b586=resolve(_0x51a7aa);if(!existsSync(_0x16b586))throw CliErrors[_0x5b0db6(0x1c9)](_0x5b0db6(0x1f4)+_0x51a7aa);const _0xfe8cac=lstatSync(_0x16b586);if(_0xfe8cac[_0x5b0db6(0x1e9)]())return _0x16b586;if(_0xfe8cac['isSymbolicLink']()){const _0x2145e1=realpathSync(_0x16b586);if(lstatSync(_0x2145e1)['isDirectory']())return _0x2145e1;}throw CliErrors[_0x5b0db6(0x1c9)](_0x5b0db6(0x1f4)+_0x51a7aa);}function requireRemoteScope(_0x295242){const _0x60d77b=a144_0x12ec;if(_0x295242['scope']===_0x60d77b(0x1ca)||_0x295242[_0x60d77b(0x209)]===_0x60d77b(0x1eb)||_0x295242[_0x60d77b(0x209)]==='builtin')return _0x295242[_0x60d77b(0x209)];throw CliErrors['validation'](_0x60d77b(0x1e4)+(_0x295242[_0x60d77b(0x1db)]||'(unknown)')+'\x20has\x20unsupported\x20scope\x20\x22'+(_0x295242[_0x60d77b(0x209)]??'unknown')+'\x22.');}function readLocalSkillContent(_0x4b4f7b){const _0x3ad7fc=a144_0x12ec,_0x3abe3d=resolve(_0x4b4f7b,SKILL_FILE);return existsSync(_0x3abe3d)&&lstatSync(_0x3abe3d)[_0x3ad7fc(0x1e6)]()?readFileSync(_0x3abe3d,_0x3ad7fc(0x1d9)):'';}function readPushMetadataIfPresent(_0x12d74d,_0xc59146={}){const _0x36f881=a144_0x12ec;try{return readMetadataIfPresent(_0x12d74d);}catch(_0x34fb52){if(_0xc59146[_0x36f881(0x20b)])return undefined;throw _0x34fb52;}}
@@ -1 +1 @@
1
- (function(_0x369c0d,_0x3e0b94){const _0x5e679c=a145_0x4d09,_0x4dfa27=_0x369c0d();while(!![]){try{const _0x159ce3=parseInt(_0x5e679c(0x1ea))/0x1*(-parseInt(_0x5e679c(0x1ef))/0x2)+parseInt(_0x5e679c(0x1e9))/0x3+-parseInt(_0x5e679c(0x1e2))/0x4*(-parseInt(_0x5e679c(0x1df))/0x5)+parseInt(_0x5e679c(0x1e3))/0x6+parseInt(_0x5e679c(0x1e0))/0x7+parseInt(_0x5e679c(0x1ed))/0x8+-parseInt(_0x5e679c(0x1e8))/0x9*(parseInt(_0x5e679c(0x1e5))/0xa);if(_0x159ce3===_0x3e0b94)break;else _0x4dfa27['push'](_0x4dfa27['shift']());}catch(_0x17ae3f){_0x4dfa27['push'](_0x4dfa27['shift']());}}}(a145_0x5c52,0x27b7d));function a145_0x4d09(_0x14af3b,_0x153e9d){_0x14af3b=_0x14af3b-0x1df;const _0x5c52a2=a145_0x5c52();let _0x4d09d0=_0x5c52a2[_0x14af3b];return _0x4d09d0;}import{CliErrors}from'../../errors.js';export function normalizeRuntimeSkillScopes(_0x2130d7){const _0xdeaa99=a145_0x4d09,_0x12b6db=_0x2130d7&&_0x2130d7[_0xdeaa99(0x1ec)]>0x0?_0x2130d7:[_0xdeaa99(0x1e1),_0xdeaa99(0x1ee),_0xdeaa99(0x1e7)],_0x448722=[];for(const _0x3122ea of _0x12b6db){if(!isRuntimeSkillScope(_0x3122ea))throw CliErrors['validation'](_0xdeaa99(0x1e4)+_0x3122ea);!_0x448722[_0xdeaa99(0x1eb)](_0x3122ea)&&_0x448722[_0xdeaa99(0x1e6)](_0x3122ea);}return _0x448722;}function a145_0x5c52(){const _0x39e641=['company','46pAYEYv','10Ivfody','662319dUDkKk','personal','606720EDFNPc','764070DNKpQI','Unsupported\x20runtime\x20Skill\x20scope:\x20','55790oXbguZ','push','builtin','981uQAgVK','706977oUFgIr','818TnoHgs','includes','length','229032mUZQRl'];a145_0x5c52=function(){return _0x39e641;};return a145_0x5c52();}export function isRuntimeSkillScope(_0x4872aa){const _0x691e69=a145_0x4d09;return _0x4872aa===_0x691e69(0x1e1)||_0x4872aa===_0x691e69(0x1ee)||_0x4872aa===_0x691e69(0x1e7);}
1
+ (function(_0x174369,_0x531a43){const _0x460fea=a145_0x2ddb,_0x25eb2f=_0x174369();while(!![]){try{const _0xde1bf9=parseInt(_0x460fea(0x7a))/0x1+parseInt(_0x460fea(0x6f))/0x2*(-parseInt(_0x460fea(0x73))/0x3)+-parseInt(_0x460fea(0x6c))/0x4*(-parseInt(_0x460fea(0x6e))/0x5)+-parseInt(_0x460fea(0x79))/0x6+-parseInt(_0x460fea(0x77))/0x7*(parseInt(_0x460fea(0x72))/0x8)+parseInt(_0x460fea(0x75))/0x9+parseInt(_0x460fea(0x71))/0xa;if(_0xde1bf9===_0x531a43)break;else _0x25eb2f['push'](_0x25eb2f['shift']());}catch(_0x3bae84){_0x25eb2f['push'](_0x25eb2f['shift']());}}}(a145_0x54ee,0x949f7));import{CliErrors}from'../../errors.js';export function normalizeRuntimeSkillScopes(_0x599cf4){const _0xb0c86e=a145_0x2ddb,_0x4fca01=_0x599cf4&&_0x599cf4[_0xb0c86e(0x6b)]>0x0?_0x599cf4:[_0xb0c86e(0x70),_0xb0c86e(0x6d),_0xb0c86e(0x78)],_0x883ae1=[];for(const _0x43f8fa of _0x4fca01){if(!isRuntimeSkillScope(_0x43f8fa))throw CliErrors['validation'](_0xb0c86e(0x76)+_0x43f8fa);!_0x883ae1['includes'](_0x43f8fa)&&_0x883ae1[_0xb0c86e(0x74)](_0x43f8fa);}return _0x883ae1;}function a145_0x2ddb(_0x1653fd,_0x345176){_0x1653fd=_0x1653fd-0x6b;const _0x54ee79=a145_0x54ee();let _0x2ddb67=_0x54ee79[_0x1653fd];return _0x2ddb67;}function a145_0x54ee(){const _0x2db18d=['builtin','6552474XwkHmp','307962CgyBTA','length','4QdqNLg','company','1947415tfhVjQ','8psDNQN','personal','28909540QIpGKd','5758712AwDehj','897363VXVZzn','push','258858rJzLJW','Unsupported\x20runtime\x20Skill\x20scope:\x20','7hJHXkm'];a145_0x54ee=function(){return _0x2db18d;};return a145_0x54ee();}export function isRuntimeSkillScope(_0x520bde){const _0x566bf4=a145_0x2ddb;return _0x520bde===_0x566bf4(0x70)||_0x520bde===_0x566bf4(0x6d)||_0x520bde===_0x566bf4(0x78);}
@@ -1 +1 @@
1
- const a147_0xf95187=a147_0x3a88;(function(_0x16a9e9,_0x3e8387){const _0x215dfa=a147_0x3a88,_0x585f46=_0x16a9e9();while(!![]){try{const _0x343310=parseInt(_0x215dfa(0x9f))/0x1*(-parseInt(_0x215dfa(0x9c))/0x2)+-parseInt(_0x215dfa(0xab))/0x3*(-parseInt(_0x215dfa(0xa4))/0x4)+parseInt(_0x215dfa(0x99))/0x5*(parseInt(_0x215dfa(0xad))/0x6)+parseInt(_0x215dfa(0xac))/0x7+-parseInt(_0x215dfa(0xa3))/0x8+parseInt(_0x215dfa(0xa7))/0x9+parseInt(_0x215dfa(0xa9))/0xa;if(_0x343310===_0x3e8387)break;else _0x585f46['push'](_0x585f46['shift']());}catch(_0x197a96){_0x585f46['push'](_0x585f46['shift']());}}}(a147_0x5718,0x9141e));function a147_0x3a88(_0x58695c,_0x2b69ba){_0x58695c=_0x58695c-0x97;const _0x57181f=a147_0x5718();let _0x3a88a4=_0x57181f[_0x58695c];return _0x3a88a4;}import{unzipSync,zipSync}from'fflate';import{CliErrors}from'../../errors.js';import{compareSkillFiles,fileContent,normalizeLocalFiles,normalizeSkillRelativePath}from'./local-files.js';const ZIP_MTIME=new Date(a147_0xf95187(0xa2));export function createDeterministicZipPackage(_0x18ee8f){const _0x1d31b1=a147_0xf95187,_0x11b74c={};for(const _0x4e1957 of normalizeLocalFiles(_0x18ee8f)){_0x11b74c[_0x4e1957[_0x1d31b1(0xa6)]]=fileContent(_0x4e1957);}return Buffer['from'](zipSync(_0x11b74c,{'level':0x0,'mtime':ZIP_MTIME}));}export function parseZipPackage(_0x3e0474){const _0x1b419c=a147_0xf95187;if(_0x3e0474[_0x1b419c(0x9a)]<0x16)throw CliErrors[_0x1b419c(0xa1)](_0x1b419c(0xa5));let _0x225c92;try{_0x225c92=unzipSync(_0x3e0474,{'filter'(_0xe367ce){const _0x2069a8=_0x1b419c,_0x13cba3=normalizeSkillRelativePath(_0xe367ce[_0x2069a8(0x9e)]);if(_0x13cba3['endsWith']('/'))throw CliErrors[_0x2069a8(0xa1)](_0x2069a8(0x97)+_0x13cba3);return!![];}});}catch(_0x3863ed){if(isRuntimeSkillValidationError(_0x3863ed))throw _0x3863ed;throw CliErrors[_0x1b419c(0xa1)](_0x1b419c(0xa5));}return Object[_0x1b419c(0xa0)](_0x225c92)[_0x1b419c(0x9d)](([_0x294792,_0x18156e])=>({'path':normalizeSkillRelativePath(_0x294792),'bytes':Buffer[_0x1b419c(0xa8)](_0x18156e)}))[_0x1b419c(0x98)](compareSkillFiles);}function isRuntimeSkillValidationError(_0x192d68){const _0xf5b205=a147_0xf95187;return typeof _0x192d68===_0xf5b205(0x9b)&&_0x192d68!==null&&_0xf5b205(0xae)in _0x192d68&&_0x192d68[_0xf5b205(0xae)]===_0xf5b205(0xaa);}function a147_0x5718(){const _0x214aab=['Runtime\x20Skill\x20package\x20contains\x20directory\x20entry:\x20','sort','5jWADvi','length','object','2RehAzI','map','name','655831syTDxT','entries','validation','1980-01-01T00:00:00.000Z','7882512PvULvI','381688dVEJRq','Runtime\x20Skill\x20package\x20is\x20not\x20a\x20valid\x20zip\x20file.','path','3709170mYMwDH','from','435600fIGlDq','validation_error','6BWAawo','4528986IKvlvh','5655522AkzBnV','code'];a147_0x5718=function(){return _0x214aab;};return a147_0x5718();}
1
+ const a147_0x57ec36=a147_0x25b2;function a147_0x25b2(_0x825bfc,_0x333291){_0x825bfc=_0x825bfc-0xcd;const _0x1fe5e2=a147_0x1fe5();let _0x25b2d8=_0x1fe5e2[_0x825bfc];return _0x25b2d8;}function a147_0x1fe5(){const _0x30494f=['4852836hjEflJ','Runtime\x20Skill\x20package\x20is\x20not\x20a\x20valid\x20zip\x20file.','1980-01-01T00:00:00.000Z','642176zwHtiS','from','sort','30sOvbeU','map','11TYZBSe','endsWith','Runtime\x20Skill\x20package\x20contains\x20directory\x20entry:\x20','validation','59517GHMlgO','name','57916gmkKhL','1090718OktVLa','6FwnvjT','length','104126lhJMjq','7HXcCjg','path','1802230CnLUZR','21VsNMBk','object','code','entries'];a147_0x1fe5=function(){return _0x30494f;};return a147_0x1fe5();}(function(_0x918d93,_0x193df0){const _0x1de214=a147_0x25b2,_0x58c6f7=_0x918d93();while(!![]){try{const _0x31dddf=-parseInt(_0x1de214(0xd1))/0x1+parseInt(_0x1de214(0xce))/0x2+parseInt(_0x1de214(0xd5))/0x3*(-parseInt(_0x1de214(0xcd))/0x4)+-parseInt(_0x1de214(0xd4))/0x5*(parseInt(_0x1de214(0xcf))/0x6)+-parseInt(_0x1de214(0xd2))/0x7*(parseInt(_0x1de214(0xdc))/0x8)+parseInt(_0x1de214(0xe5))/0x9*(-parseInt(_0x1de214(0xdf))/0xa)+-parseInt(_0x1de214(0xe1))/0xb*(-parseInt(_0x1de214(0xd9))/0xc);if(_0x31dddf===_0x193df0)break;else _0x58c6f7['push'](_0x58c6f7['shift']());}catch(_0x5f12b0){_0x58c6f7['push'](_0x58c6f7['shift']());}}}(a147_0x1fe5,0x4544e));import{unzipSync,zipSync}from'fflate';import{CliErrors}from'../../errors.js';import{compareSkillFiles,fileContent,normalizeLocalFiles,normalizeSkillRelativePath}from'./local-files.js';const ZIP_MTIME=new Date(a147_0x57ec36(0xdb));export function createDeterministicZipPackage(_0x197aed){const _0x503d29=a147_0x57ec36,_0x121925={};for(const _0x4c63ef of normalizeLocalFiles(_0x197aed)){_0x121925[_0x4c63ef[_0x503d29(0xd3)]]=fileContent(_0x4c63ef);}return Buffer[_0x503d29(0xdd)](zipSync(_0x121925,{'level':0x0,'mtime':ZIP_MTIME}));}export function parseZipPackage(_0x80f1f7){const _0x4e020c=a147_0x57ec36;if(_0x80f1f7[_0x4e020c(0xd0)]<0x16)throw CliErrors[_0x4e020c(0xe4)](_0x4e020c(0xda));let _0x22aafa;try{_0x22aafa=unzipSync(_0x80f1f7,{'filter'(_0x5eae10){const _0x287c39=_0x4e020c,_0x3ffde9=normalizeSkillRelativePath(_0x5eae10[_0x287c39(0xe6)]);if(_0x3ffde9[_0x287c39(0xe2)]('/'))throw CliErrors[_0x287c39(0xe4)](_0x287c39(0xe3)+_0x3ffde9);return!![];}});}catch(_0xf1a8cb){if(isRuntimeSkillValidationError(_0xf1a8cb))throw _0xf1a8cb;throw CliErrors['validation'](_0x4e020c(0xda));}return Object[_0x4e020c(0xd8)](_0x22aafa)[_0x4e020c(0xe0)](([_0x1971b4,_0x25d74f])=>({'path':normalizeSkillRelativePath(_0x1971b4),'bytes':Buffer[_0x4e020c(0xdd)](_0x25d74f)}))[_0x4e020c(0xde)](compareSkillFiles);}function isRuntimeSkillValidationError(_0x5e39a5){const _0x440877=a147_0x57ec36;return typeof _0x5e39a5===_0x440877(0xd6)&&_0x5e39a5!==null&&_0x440877(0xd7)in _0x5e39a5&&_0x5e39a5['code']==='validation_error';}
@@ -1 +1 @@
1
- (function(_0x3bf6b6,_0x15a9b2){const _0x3c2e9d=a148_0x8991,_0x347b34=_0x3bf6b6();while(!![]){try{const _0x263826=parseInt(_0x3c2e9d(0xf8))/0x1+-parseInt(_0x3c2e9d(0xe7))/0x2+parseInt(_0x3c2e9d(0x111))/0x3+-parseInt(_0x3c2e9d(0x102))/0x4*(-parseInt(_0x3c2e9d(0x106))/0x5)+-parseInt(_0x3c2e9d(0xe5))/0x6+-parseInt(_0x3c2e9d(0xf5))/0x7*(parseInt(_0x3c2e9d(0xe9))/0x8)+parseInt(_0x3c2e9d(0xfa))/0x9;if(_0x263826===_0x15a9b2)break;else _0x347b34['push'](_0x347b34['shift']());}catch(_0x3b4760){_0x347b34['push'](_0x347b34['shift']());}}}(a148_0x484f,0x23fea));import{CliErrors}from'../../errors.js';import{SKILL_FILE}from'./constants.js';function a148_0x484f(){const _0xf102cc=['84604LMSnZl','isArray','196614UBzSuS','sha256','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','push','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','toLowerCase','Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20','bytes','4bejSYc','ossPath','base64','schemaVersion','1413235QVAAzS','requireOssPath','get','Runtime\x20Skill\x20manifest\x20is\x20missing\x20','trim','Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.','path','zipSha256','Runtime\x20Skill\x20package\x20size\x20mismatch.','string','Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20','165324ujkITs','351582EbffDn','Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20','313638fOkSyU','some','650840HwAORq','files','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','isSafeInteger','length','validation','Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.','\x20in\x20Skill\x20file\x20package.','zipSize','map','Runtime\x20Skill\x20package\x20is\x20missing\x20','set','7TxkhmQ','Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.','treeSha256'];a148_0x484f=function(){return _0xf102cc;};return a148_0x484f();}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(_0xa92a2c){const _0x884d83=a148_0x8991,_0x4f5c2d=normalizeLocalFiles(_0xa92a2c);if(!_0x4f5c2d[_0x884d83(0xe8)](_0x45fe38=>_0x45fe38[_0x884d83(0x10c)]===SKILL_FILE))throw CliErrors[_0x884d83(0xee)]('Missing\x20'+SKILL_FILE+_0x884d83(0xf0));const _0x491ae8=localFilesToManifestFiles(_0x4f5c2d),_0x578e42=createDeterministicZipPackage(_0x4f5c2d);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x491ae8),'zipSha256':bufferSha256(_0x578e42),'zipSize':_0x578e42[_0x884d83(0xed)],'files':_0x491ae8},'packageBytes':_0x578e42,'packageBase64':_0x578e42['toString'](_0x884d83(0x104))};}export function verifyRuntimeSkillPackage(_0x2dfaeb,_0x39d102){const _0x241486=a148_0x8991,_0x22cc59=normalizePackageManifest(_0x2dfaeb,{'requireOssPath':![]});if(!_0x22cc59)throw CliErrors[_0x241486(0xee)]('Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.');return extractAndVerifyPackage(_0x22cc59,_0x39d102);}export function verifyRuntimeSkillBundle(_0x467f1c,_0x297cea){const _0x23f481=a148_0x8991,_0x1298cf=normalizePackageManifest(_0x467f1c,{'requireOssPath':![]});if(!_0x1298cf)throw CliErrors[_0x23f481(0xee)](_0x23f481(0xeb));return extractAndVerifyPackageFiles(_0x1298cf,_0x297cea);}export function tryNormalizePackageManifest(_0x16a946){return normalizePackageManifest(_0x16a946,{'requireOssPath':![]});}export function requirePackageBytes(_0x3e1405,_0x16f8c8){const _0x444587=a148_0x8991;if(!_0x16f8c8||_0x16f8c8[_0x444587(0xed)]===0x0)throw CliErrors[_0x444587(0xee)](_0x444587(0xe6)+_0x3e1405);return _0x16f8c8;}export function extractDownloadedPackage(_0x195d63){const _0x120808=a148_0x8991,_0x2621ad=parseZipPackage(_0x195d63)[_0x120808(0xf2)](_0x258211=>({'path':_0x258211['path'],'bytes':_0x258211[_0x120808(0x101)]}));if(!_0x2621ad[_0x120808(0xe8)](_0x331a02=>_0x331a02[_0x120808(0x10c)]===SKILL_FILE))throw CliErrors[_0x120808(0xee)](_0x120808(0xf3)+SKILL_FILE+'.');return normalizeLocalFiles(_0x2621ad);}export function localFilesToManifestFiles(_0x2c6fca){const _0x3f215b=a148_0x8991;return normalizeLocalFiles(_0x2c6fca)[_0x3f215b(0xf2)](_0x2752bc=>({'path':_0x2752bc[_0x3f215b(0x10c)],'sha256':fileHash(_0x2752bc),'size':fileContent(_0x2752bc)['length']}));}function normalizePackageManifest(_0x35f1ab,_0x421f07){const _0x2d60c2=a148_0x8991;if(!_0x35f1ab||typeof _0x35f1ab!=='object'||Array[_0x2d60c2(0xf9)](_0x35f1ab))return undefined;const _0x5d4be3=_0x35f1ab,_0x26cdca=typeof _0x5d4be3[_0x2d60c2(0x103)]===_0x2d60c2(0x10f)?_0x5d4be3[_0x2d60c2(0x103)][_0x2d60c2(0x10a)]():undefined;if(_0x421f07[_0x2d60c2(0x107)]&&!_0x26cdca)return undefined;if(!Array[_0x2d60c2(0xf9)](_0x5d4be3[_0x2d60c2(0xea)])||_0x5d4be3[_0x2d60c2(0xea)]['length']===0x0)return undefined;if(!isSha256Hex(_0x5d4be3[_0x2d60c2(0xf7)]))throw CliErrors[_0x2d60c2(0xee)](_0x2d60c2(0xef));if(!isSha256Hex(_0x5d4be3[_0x2d60c2(0x10d)]))throw CliErrors[_0x2d60c2(0xee)](_0x2d60c2(0xfe));if(!Number['isSafeInteger'](_0x5d4be3[_0x2d60c2(0xf1)])||_0x5d4be3[_0x2d60c2(0xf1)]<0x0)throw CliErrors[_0x2d60c2(0xee)](_0x2d60c2(0xfc));const _0x4e42c3=normalizeManifestFiles(_0x5d4be3[_0x2d60c2(0xea)]);if(!_0x4e42c3['some'](_0x142b14=>_0x142b14[_0x2d60c2(0x10c)]===SKILL_FILE))throw CliErrors[_0x2d60c2(0xee)](_0x2d60c2(0x109)+SKILL_FILE+'.');const _0x4e1b48=fileTreeHash(_0x4e42c3);if(_0x4e1b48!==_0x5d4be3[_0x2d60c2(0xf7)][_0x2d60c2(0xff)]())throw CliErrors['validation'](_0x2d60c2(0xf6));return{'schemaVersion':Number[_0x2d60c2(0xec)](_0x5d4be3[_0x2d60c2(0x105)])?_0x5d4be3[_0x2d60c2(0x105)]:0x2,'ossPath':_0x26cdca,'treeSha256':_0x4e1b48,'zipSha256':_0x5d4be3[_0x2d60c2(0x10d)][_0x2d60c2(0xff)](),'zipSize':_0x5d4be3['zipSize'],'files':_0x4e42c3};}function extractAndVerifyPackage(_0xeb2b20,_0x2b6e1d){const _0x42db7e=a148_0x8991,_0x2f08fc=normalizePackageManifest(_0xeb2b20,{'requireOssPath':![]});if(!_0x2f08fc)throw CliErrors[_0x42db7e(0xee)](_0x42db7e(0xeb));if(_0x2b6e1d[_0x42db7e(0xed)]!==_0x2f08fc['zipSize'])throw CliErrors[_0x42db7e(0xee)](_0x42db7e(0x10e));const _0x25a1d8=bufferSha256(_0x2b6e1d);if(_0x25a1d8!==_0x2f08fc[_0x42db7e(0x10d)])throw CliErrors[_0x42db7e(0xee)]('Runtime\x20Skill\x20package\x20sha256\x20mismatch.');return extractAndVerifyPackageFiles(_0x2f08fc,_0x2b6e1d);}function a148_0x8991(_0x4dbcca,_0x5ad7d0){_0x4dbcca=_0x4dbcca-0xe5;const _0x484f1c=a148_0x484f();let _0x8991bb=_0x484f1c[_0x4dbcca];return _0x8991bb;}function extractAndVerifyPackageFiles(_0x50b67f,_0x29f0ee){const _0x3ff99f=a148_0x8991,_0x542e52=parseZipPackage(_0x29f0ee);if(_0x542e52[_0x3ff99f(0xed)]!==_0x50b67f[_0x3ff99f(0xea)][_0x3ff99f(0xed)])throw CliErrors['validation'](_0x3ff99f(0x10b));const _0x4494b1=new Map();for(const _0x369198 of _0x542e52){if(_0x4494b1['has'](_0x369198['path']))throw CliErrors[_0x3ff99f(0xee)]('Duplicate\x20Skill\x20package\x20entry:\x20'+_0x369198['path']);_0x4494b1[_0x3ff99f(0xf4)](_0x369198['path'],_0x369198);}const _0x2e2f21=[];for(const _0x141230 of _0x50b67f[_0x3ff99f(0xea)]){const _0x12d45b=_0x4494b1[_0x3ff99f(0x108)](_0x141230[_0x3ff99f(0x10c)]);if(!_0x12d45b)throw CliErrors[_0x3ff99f(0xee)]('Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20'+_0x141230['path']);if(_0x12d45b[_0x3ff99f(0x101)][_0x3ff99f(0xed)]!==_0x141230['size'])throw CliErrors[_0x3ff99f(0xee)](_0x3ff99f(0x100)+_0x141230[_0x3ff99f(0x10c)]);const _0x1e260a=bufferSha256(_0x12d45b['bytes']);if(_0x1e260a!==_0x141230[_0x3ff99f(0xfb)])throw CliErrors[_0x3ff99f(0xee)](_0x3ff99f(0x110)+_0x141230[_0x3ff99f(0x10c)]);_0x2e2f21[_0x3ff99f(0xfd)]({'path':_0x141230[_0x3ff99f(0x10c)],'bytes':_0x12d45b[_0x3ff99f(0x101)]});}return normalizeLocalFiles(_0x2e2f21);}
1
+ (function(_0x561d2d,_0x5354ad){const _0x7a3d6c=a148_0x4fcf,_0x1a3cfa=_0x561d2d();while(!![]){try{const _0x478d38=-parseInt(_0x7a3d6c(0xe4))/0x1+-parseInt(_0x7a3d6c(0xd5))/0x2+-parseInt(_0x7a3d6c(0xea))/0x3+-parseInt(_0x7a3d6c(0xd7))/0x4+-parseInt(_0x7a3d6c(0xd2))/0x5*(-parseInt(_0x7a3d6c(0xee))/0x6)+parseInt(_0x7a3d6c(0xef))/0x7+parseInt(_0x7a3d6c(0xf9))/0x8*(parseInt(_0x7a3d6c(0xf2))/0x9);if(_0x478d38===_0x5354ad)break;else _0x1a3cfa['push'](_0x1a3cfa['shift']());}catch(_0x250d42){_0x1a3cfa['push'](_0x1a3cfa['shift']());}}}(a148_0x2bb7,0xaecf7));function a148_0x2bb7(){const _0xaab651=['1705885OKZMIh','Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.','get','2853014kqMZHL','map','3561844nWkXBY','files','Runtime\x20Skill\x20package\x20size\x20mismatch.','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','bytes','requireOssPath','Runtime\x20Skill\x20package\x20is\x20missing\x20','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','toLowerCase','isSafeInteger','Missing\x20','Runtime\x20Skill\x20package\x20sha256\x20mismatch.','base64','1056159joPBqV','trim','string','Duplicate\x20Skill\x20package\x20entry:\x20','object','treeSha256','4147443lsJWhq','has','length','Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20','6HzxMGr','1079533VoRVXL','push','zipSha256','4455JErEOv','isArray','\x20in\x20Skill\x20file\x20package.','Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.','schemaVersion','zipSize','path','80424eDjsiu','ossPath','set','validation','Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.','Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20','some','Runtime\x20Skill\x20manifest\x20is\x20missing\x20'];a148_0x2bb7=function(){return _0xaab651;};return a148_0x2bb7();}import{CliErrors}from'../../errors.js';import{SKILL_FILE}from'./constants.js';import{bufferSha256,fileHash,fileTreeHash}from'./hashing.js';import{fileContent,isSha256Hex,normalizeLocalFiles,normalizeManifestFiles}from'./local-files.js';import{createDeterministicZipPackage,parseZipPackage}from'./zip-codec.js';export function buildSkillPackage(_0x25ae40){const _0x84685=a148_0x4fcf,_0x26dcc6=normalizeLocalFiles(_0x25ae40);if(!_0x26dcc6[_0x84685(0xd0)](_0x6f6b32=>_0x6f6b32[_0x84685(0xf8)]===SKILL_FILE))throw CliErrors[_0x84685(0xfc)](_0x84685(0xe1)+SKILL_FILE+_0x84685(0xf4));const _0x2dd307=localFilesToManifestFiles(_0x26dcc6),_0x4e4cf7=createDeterministicZipPackage(_0x26dcc6);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x2dd307),'zipSha256':bufferSha256(_0x4e4cf7),'zipSize':_0x4e4cf7['length'],'files':_0x2dd307},'packageBytes':_0x4e4cf7,'packageBase64':_0x4e4cf7['toString'](_0x84685(0xe3))};}export function verifyRuntimeSkillPackage(_0x4e16b1,_0x2235a6){const _0x290e9c=a148_0x4fcf,_0x54f652=normalizePackageManifest(_0x4e16b1,{'requireOssPath':![]});if(!_0x54f652)throw CliErrors[_0x290e9c(0xfc)](_0x290e9c(0xda));return extractAndVerifyPackage(_0x54f652,_0x2235a6);}export function verifyRuntimeSkillBundle(_0x4557b6,_0x50f24d){const _0x40db41=a148_0x4fcf,_0x36f24f=normalizePackageManifest(_0x4557b6,{'requireOssPath':![]});if(!_0x36f24f)throw CliErrors[_0x40db41(0xfc)]('Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.');return extractAndVerifyPackageFiles(_0x36f24f,_0x50f24d);}export function tryNormalizePackageManifest(_0x45c636){return normalizePackageManifest(_0x45c636,{'requireOssPath':![]});}export function requirePackageBytes(_0xd31f58,_0x550517){const _0x435813=a148_0x4fcf;if(!_0x550517||_0x550517[_0x435813(0xec)]===0x0)throw CliErrors[_0x435813(0xfc)]('Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20'+_0xd31f58);return _0x550517;}export function extractDownloadedPackage(_0x306167){const _0x39476d=a148_0x4fcf,_0x51d529=parseZipPackage(_0x306167)[_0x39476d(0xd6)](_0x221c33=>({'path':_0x221c33[_0x39476d(0xf8)],'bytes':_0x221c33['bytes']}));if(!_0x51d529['some'](_0x244797=>_0x244797[_0x39476d(0xf8)]===SKILL_FILE))throw CliErrors[_0x39476d(0xfc)](_0x39476d(0xdd)+SKILL_FILE+'.');return normalizeLocalFiles(_0x51d529);}export function localFilesToManifestFiles(_0xd98488){const _0x46c1fd=a148_0x4fcf;return normalizeLocalFiles(_0xd98488)[_0x46c1fd(0xd6)](_0x3220eb=>({'path':_0x3220eb[_0x46c1fd(0xf8)],'sha256':fileHash(_0x3220eb),'size':fileContent(_0x3220eb)[_0x46c1fd(0xec)]}));}function normalizePackageManifest(_0x37edef,_0x10499f){const _0x57c30e=a148_0x4fcf;if(!_0x37edef||typeof _0x37edef!==_0x57c30e(0xe8)||Array[_0x57c30e(0xf3)](_0x37edef))return undefined;const _0x5906e4=_0x37edef,_0x8e1f51=typeof _0x5906e4[_0x57c30e(0xfa)]===_0x57c30e(0xe6)?_0x5906e4[_0x57c30e(0xfa)][_0x57c30e(0xe5)]():undefined;if(_0x10499f[_0x57c30e(0xdc)]&&!_0x8e1f51)return undefined;if(!Array['isArray'](_0x5906e4[_0x57c30e(0xd8)])||_0x5906e4['files']['length']===0x0)return undefined;if(!isSha256Hex(_0x5906e4[_0x57c30e(0xe9)]))throw CliErrors[_0x57c30e(0xfc)](_0x57c30e(0xfd));if(!isSha256Hex(_0x5906e4['zipSha256']))throw CliErrors['validation'](_0x57c30e(0xde));if(!Number[_0x57c30e(0xe0)](_0x5906e4['zipSize'])||_0x5906e4[_0x57c30e(0xf7)]<0x0)throw CliErrors[_0x57c30e(0xfc)]('Runtime\x20Skill\x20package\x20size\x20is\x20invalid.');const _0x25de82=normalizeManifestFiles(_0x5906e4[_0x57c30e(0xd8)]);if(!_0x25de82['some'](_0x57fd12=>_0x57fd12[_0x57c30e(0xf8)]===SKILL_FILE))throw CliErrors[_0x57c30e(0xfc)](_0x57c30e(0xd1)+SKILL_FILE+'.');const _0x5b4ad9=fileTreeHash(_0x25de82);if(_0x5b4ad9!==_0x5906e4['treeSha256'][_0x57c30e(0xdf)]())throw CliErrors[_0x57c30e(0xfc)](_0x57c30e(0xf5));return{'schemaVersion':Number['isSafeInteger'](_0x5906e4[_0x57c30e(0xf6)])?_0x5906e4[_0x57c30e(0xf6)]:0x2,'ossPath':_0x8e1f51,'treeSha256':_0x5b4ad9,'zipSha256':_0x5906e4[_0x57c30e(0xf1)][_0x57c30e(0xdf)](),'zipSize':_0x5906e4[_0x57c30e(0xf7)],'files':_0x25de82};}function a148_0x4fcf(_0x13518f,_0x264c5a){_0x13518f=_0x13518f-0xd0;const _0x2bb76a=a148_0x2bb7();let _0x4fcf49=_0x2bb76a[_0x13518f];return _0x4fcf49;}function extractAndVerifyPackage(_0x30e88e,_0x2af6d1){const _0x233f81=a148_0x4fcf,_0x4fda98=normalizePackageManifest(_0x30e88e,{'requireOssPath':![]});if(!_0x4fda98)throw CliErrors[_0x233f81(0xfc)](_0x233f81(0xda));if(_0x2af6d1['length']!==_0x4fda98[_0x233f81(0xf7)])throw CliErrors[_0x233f81(0xfc)](_0x233f81(0xd9));const _0x49f632=bufferSha256(_0x2af6d1);if(_0x49f632!==_0x4fda98[_0x233f81(0xf1)])throw CliErrors['validation'](_0x233f81(0xe2));return extractAndVerifyPackageFiles(_0x4fda98,_0x2af6d1);}function extractAndVerifyPackageFiles(_0x1afa4d,_0x6120a0){const _0x10ba6f=a148_0x4fcf,_0x38d7f2=parseZipPackage(_0x6120a0);if(_0x38d7f2['length']!==_0x1afa4d[_0x10ba6f(0xd8)]['length'])throw CliErrors[_0x10ba6f(0xfc)](_0x10ba6f(0xd3));const _0x5cb372=new Map();for(const _0x4a40e0 of _0x38d7f2){if(_0x5cb372[_0x10ba6f(0xeb)](_0x4a40e0[_0x10ba6f(0xf8)]))throw CliErrors['validation'](_0x10ba6f(0xe7)+_0x4a40e0[_0x10ba6f(0xf8)]);_0x5cb372[_0x10ba6f(0xfb)](_0x4a40e0[_0x10ba6f(0xf8)],_0x4a40e0);}const _0x14e29d=[];for(const _0x3f5014 of _0x1afa4d[_0x10ba6f(0xd8)]){const _0x45b2a1=_0x5cb372[_0x10ba6f(0xd4)](_0x3f5014[_0x10ba6f(0xf8)]);if(!_0x45b2a1)throw CliErrors[_0x10ba6f(0xfc)](_0x10ba6f(0xed)+_0x3f5014[_0x10ba6f(0xf8)]);if(_0x45b2a1['bytes'][_0x10ba6f(0xec)]!==_0x3f5014['size'])throw CliErrors['validation'](_0x10ba6f(0xfe)+_0x3f5014[_0x10ba6f(0xf8)]);const _0x1d03e5=bufferSha256(_0x45b2a1[_0x10ba6f(0xdb)]);if(_0x1d03e5!==_0x3f5014['sha256'])throw CliErrors['validation']('Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20'+_0x3f5014[_0x10ba6f(0xf8)]);_0x14e29d[_0x10ba6f(0xf0)]({'path':_0x3f5014[_0x10ba6f(0xf8)],'bytes':_0x45b2a1[_0x10ba6f(0xdb)]});}return normalizeLocalFiles(_0x14e29d);}
@@ -1 +1 @@
1
- (function(_0x43f887,_0x2ff5d5){var _0x1f4625=a149_0x418f,_0x42e790=_0x43f887();while(!![]){try{var _0x3994ce=parseInt(_0x1f4625(0x1e4))/0x1*(-parseInt(_0x1f4625(0x1e1))/0x2)+-parseInt(_0x1f4625(0x1da))/0x3*(parseInt(_0x1f4625(0x1dd))/0x4)+parseInt(_0x1f4625(0x1dc))/0x5*(-parseInt(_0x1f4625(0x1e3))/0x6)+parseInt(_0x1f4625(0x1e2))/0x7*(-parseInt(_0x1f4625(0x1d9))/0x8)+-parseInt(_0x1f4625(0x1df))/0x9*(parseInt(_0x1f4625(0x1db))/0xa)+-parseInt(_0x1f4625(0x1de))/0xb+parseInt(_0x1f4625(0x1e0))/0xc;if(_0x3994ce===_0x2ff5d5)break;else _0x42e790['push'](_0x42e790['shift']());}catch(_0x4dfb91){_0x42e790['push'](_0x42e790['shift']());}}}(a149_0x29d0,0x52d3a));function a149_0x29d0(){var _0x1aad24=['35873316rRAkvI','922PmACJo','63bedbQx','6EIWsAE','712DIWaXC','587864iOnofz','83958pJoYpj','2727100jebgaT','2278025mGODlr','40YNPqee','7176741DJDJoX','9GGPoRa'];a149_0x29d0=function(){return _0x1aad24;};return a149_0x29d0();}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_0x418f(_0x3af997,_0x52891c){_0x3af997=_0x3af997-0x1d9;var _0x29d071=a149_0x29d0();var _0x418f78=_0x29d071[_0x3af997];return _0x418f78;}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(_0x519f74,_0x37ac7f){var _0x2a3b3c=a149_0x118b,_0x3ac2c3=_0x519f74();while(!![]){try{var _0x1781fb=parseInt(_0x2a3b3c(0x1eb))/0x1+parseInt(_0x2a3b3c(0x1ea))/0x2+-parseInt(_0x2a3b3c(0x1e7))/0x3*(parseInt(_0x2a3b3c(0x1e4))/0x4)+-parseInt(_0x2a3b3c(0x1e6))/0x5+parseInt(_0x2a3b3c(0x1e8))/0x6*(-parseInt(_0x2a3b3c(0x1e5))/0x7)+parseInt(_0x2a3b3c(0x1e3))/0x8+-parseInt(_0x2a3b3c(0x1e9))/0x9;if(_0x1781fb===_0x37ac7f)break;else _0x3ac2c3['push'](_0x3ac2c3['shift']());}catch(_0x5a85de){_0x3ac2c3['push'](_0x3ac2c3['shift']());}}}(a149_0x51e8,0x5a392));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';function a149_0x118b(_0x16f2d0,_0x21b772){_0x16f2d0=_0x16f2d0-0x1e3;var _0x51e877=a149_0x51e8();var _0x118bf9=_0x51e877[_0x16f2d0];return _0x118bf9;}export{listLocalRuntimeSkills}from'./runtime-skill-sync/list-local.js';export{materializeRuntimeSkill,reuseMaterializedRuntimeSkill}from'./runtime-skill-sync/materialize.js';export{readMetadataIfPresent}from'./runtime-skill-sync/metadata.js';export{getRuntimeSkillCacheRoot,getRuntimeSkillDir,resolveSkillSyncPaths,runtimeAgentSkillRoots}from'./runtime-skill-sync/paths.js';export{deriveSkillCodeFromDirectory,readPushDirectory,refreshPushDirectoryMetadataFromRemote,recordPushedRuntimeSkill,resolvePushDirectoryIdentity}from'./runtime-skill-sync/push.js';function a149_0x51e8(){var _0x335e5b=['536583fzKKOE','6JgsWMn','3246615SrnWmk','489320OXPbeX','487441oYIerV','5286528jIokpw','8QHEvll','1572613AlpaYG','401235BNTYSx'];a149_0x51e8=function(){return _0x335e5b;};return a149_0x51e8();}export{buildSkillPackage,verifyRuntimeSkillBundle,verifyRuntimeSkillPackage}from'./runtime-skill-sync/zip-package.js';
@@ -1 +1 @@
1
- const a150_0x23899d=a150_0x2d9e;(function(_0x54f626,_0x29ed8a){const _0x6a0e3=a150_0x2d9e,_0x2f9649=_0x54f626();while(!![]){try{const _0x406814=parseInt(_0x6a0e3(0x1a4))/0x1+-parseInt(_0x6a0e3(0x19f))/0x2*(parseInt(_0x6a0e3(0x19b))/0x3)+parseInt(_0x6a0e3(0x18f))/0x4+parseInt(_0x6a0e3(0x195))/0x5*(parseInt(_0x6a0e3(0x18e))/0x6)+parseInt(_0x6a0e3(0x19a))/0x7+parseInt(_0x6a0e3(0x1a5))/0x8+-parseInt(_0x6a0e3(0x1a2))/0x9;if(_0x406814===_0x29ed8a)break;else _0x2f9649['push'](_0x2f9649['shift']());}catch(_0x225079){_0x2f9649['push'](_0x2f9649['shift']());}}}(a150_0x13e4,0xa7c19));function a150_0x2d9e(_0x1e9e65,_0x1d736a){_0x1e9e65=_0x1e9e65-0x189;const _0x13e485=a150_0x13e4();let _0x2d9e59=_0x13e485[_0x1e9e65];return _0x2d9e59;}import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';import{join}from'node:path';function a150_0x13e4(){const _0xddb437=['.skill-lock.json','version','globalSkillsDirs','includes','\x20is\x20unreadable:\x20','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','parse','skills','866298ebDUUL','1307328aoKIea','SKILL.md','message','lockFile','.claude','kind','5UrrtYc','unverifiable','\x20has\x20no\x20skills\x20map','\x20records\x20\x22','recorded','8686622PvyjkG','9dGvwzT','not-recorded','\x20uses\x20unsupported\x20version\x20','absent','442678lzQstj','join','find','9871119WJGgzh','unusable','112161CPBlNl','4988920dMQcRn','map','reason','object','.agents'];a150_0x13e4=function(){return _0xddb437;};return a150_0x13e4();}export const SKILL_LOCK_RELATIVE_PATH=join('.agents',a150_0x23899d(0x1aa));export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join(a150_0x23899d(0x1a9),a150_0x23899d(0x18d)),join(a150_0x23899d(0x193),a150_0x23899d(0x18d))];const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0x255907,_0x165eaf){const _0x52dc4d=a150_0x23899d;if(!existsSync(_0x255907))return{'kind':_0x52dc4d(0x19c)};let _0x2a75f1;try{_0x2a75f1=JSON[_0x52dc4d(0x18c)](readFileSync(_0x255907,'utf8'));}catch(_0x1ad72e){return{'kind':_0x52dc4d(0x1a3),'reason':_0x255907+_0x52dc4d(0x18a)+_0x1ad72e[_0x52dc4d(0x191)]};}const _0x365f05=_0x2a75f1;if(typeof _0x365f05?.[_0x52dc4d(0x1ab)]!=='number'||!SUPPORTED_LOCK_VERSIONS[_0x52dc4d(0x189)](_0x365f05['version']))return{'kind':'unusable','reason':_0x255907+_0x52dc4d(0x19d)+String(_0x365f05?.[_0x52dc4d(0x1ab)])};if(!_0x365f05[_0x52dc4d(0x18d)]||typeof _0x365f05['skills']!==_0x52dc4d(0x1a8))return{'kind':_0x52dc4d(0x1a3),'reason':_0x255907+_0x52dc4d(0x197)};return _0x365f05['skills'][_0x165eaf]?{'kind':_0x52dc4d(0x199)}:{'kind':_0x52dc4d(0x19c)};}export function resolveInstalledSkill(_0xbbcc1,_0x5e9413){const _0x339e99=a150_0x23899d,_0x3eaa22=_0x5e9413?.['home']??homedir(),_0x3c4d67=_0x5e9413?.[_0x339e99(0x1ac)]??GLOBAL_SKILLS_DIR_RELATIVE_PATHS['map'](_0x3ee889=>join(_0x3eaa22,_0x3ee889)),_0x5ac305=_0x5e9413?.[_0x339e99(0x192)]??join(_0x3eaa22,SKILL_LOCK_RELATIVE_PATH),_0x27ba09=_0x3c4d67[_0x339e99(0x1a6)](_0x8d46d2=>join(_0x8d46d2,_0xbbcc1,_0x339e99(0x190))),_0x4726fc=_0x27ba09[_0x339e99(0x1a1)](_0x1de147=>existsSync(_0x1de147));if(_0x4726fc)return{'state':'present','path':_0x4726fc};const _0xe91676=readLockLookup(_0x5ac305,_0xbbcc1);if(_0xe91676[_0x339e99(0x194)]===_0x339e99(0x1a3))return{'state':'unverifiable','reason':_0xe91676[_0x339e99(0x1a7)]};if(_0xe91676['kind']===_0x339e99(0x199))return{'state':_0x339e99(0x196),'reason':_0x5ac305+_0x339e99(0x198)+_0xbbcc1+_0x339e99(0x18b)+('('+_0x27ba09[_0x339e99(0x1a0)](',\x20')+')')};return{'state':_0x339e99(0x19e),'checked':_0x27ba09};}
1
+ function a150_0x2b86(_0x2ba025,_0x6eed7d){_0x2ba025=_0x2ba025-0x19e;const _0x8f267e=a150_0x8f26();let _0x2b86e2=_0x8f267e[_0x2ba025];return _0x2b86e2;}const a150_0xaf92c7=a150_0x2b86;(function(_0x527efd,_0xa3ec4c){const _0x8f8188=a150_0x2b86,_0x274e1c=_0x527efd();while(!![]){try{const _0x16f6f0=parseInt(_0x8f8188(0x1ac))/0x1+-parseInt(_0x8f8188(0x1ae))/0x2+parseInt(_0x8f8188(0x19f))/0x3*(parseInt(_0x8f8188(0x1a7))/0x4)+parseInt(_0x8f8188(0x1b4))/0x5+-parseInt(_0x8f8188(0x1a8))/0x6*(-parseInt(_0x8f8188(0x1be))/0x7)+-parseInt(_0x8f8188(0x1a0))/0x8+-parseInt(_0x8f8188(0x1a1))/0x9;if(_0x16f6f0===_0xa3ec4c)break;else _0x274e1c['push'](_0x274e1c['shift']());}catch(_0x3b51c7){_0x274e1c['push'](_0x274e1c['shift']());}}}(a150_0x8f26,0x613f2));import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';function a150_0x8f26(){const _0x4108a5=['object','63496LDoZsO','6TqkWxn','\x20uses\x20unsupported\x20version\x20','.agents','unverifiable','565969nzZQRL','not-recorded','388926zSXAMp','number','message','\x20is\x20unreadable:\x20','skills','.claude','149535dIXgaf','recorded','reason','present','parse','unusable','absent','.skill-lock.json','includes','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','2441866xhkyRi','find','kind','\x20records\x20\x22','home','69wAaSsb','1069000KRQsKc','5250654StUzwK','lockFile','utf8','version','map'];a150_0x8f26=function(){return _0x4108a5;};return a150_0x8f26();}import{join}from'node:path';export const SKILL_LOCK_RELATIVE_PATH=join(a150_0xaf92c7(0x1aa),a150_0xaf92c7(0x1bb));export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join(a150_0xaf92c7(0x1aa),'skills'),join(a150_0xaf92c7(0x1b3),a150_0xaf92c7(0x1b2))];const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0x5ad599,_0x35d2b8){const _0x1c6e13=a150_0xaf92c7;if(!existsSync(_0x5ad599))return{'kind':_0x1c6e13(0x1ad)};let _0x4040a6;try{_0x4040a6=JSON[_0x1c6e13(0x1b8)](readFileSync(_0x5ad599,_0x1c6e13(0x1a3)));}catch(_0x5457c9){return{'kind':_0x1c6e13(0x1b9),'reason':_0x5ad599+_0x1c6e13(0x1b1)+_0x5457c9[_0x1c6e13(0x1b0)]};}const _0x340d3c=_0x4040a6;if(typeof _0x340d3c?.[_0x1c6e13(0x1a4)]!==_0x1c6e13(0x1af)||!SUPPORTED_LOCK_VERSIONS[_0x1c6e13(0x1bc)](_0x340d3c[_0x1c6e13(0x1a4)]))return{'kind':'unusable','reason':_0x5ad599+_0x1c6e13(0x1a9)+String(_0x340d3c?.['version'])};if(!_0x340d3c[_0x1c6e13(0x1b2)]||typeof _0x340d3c[_0x1c6e13(0x1b2)]!==_0x1c6e13(0x1a6))return{'kind':_0x1c6e13(0x1b9),'reason':_0x5ad599+'\x20has\x20no\x20skills\x20map'};return _0x340d3c[_0x1c6e13(0x1b2)][_0x35d2b8]?{'kind':_0x1c6e13(0x1b5)}:{'kind':_0x1c6e13(0x1ad)};}export function resolveInstalledSkill(_0x5c5402,_0x2df505){const _0x2ce168=a150_0xaf92c7,_0x317221=_0x2df505?.[_0x2ce168(0x19e)]??homedir(),_0x1ddce1=_0x2df505?.['globalSkillsDirs']??GLOBAL_SKILLS_DIR_RELATIVE_PATHS[_0x2ce168(0x1a5)](_0x5716a9=>join(_0x317221,_0x5716a9)),_0x14e7e2=_0x2df505?.[_0x2ce168(0x1a2)]??join(_0x317221,SKILL_LOCK_RELATIVE_PATH),_0x444059=_0x1ddce1['map'](_0x2fabd2=>join(_0x2fabd2,_0x5c5402,'SKILL.md')),_0x280805=_0x444059[_0x2ce168(0x1bf)](_0xc03a45=>existsSync(_0xc03a45));if(_0x280805)return{'state':_0x2ce168(0x1b7),'path':_0x280805};const _0xd3f472=readLockLookup(_0x14e7e2,_0x5c5402);if(_0xd3f472['kind']==='unusable')return{'state':_0x2ce168(0x1ab),'reason':_0xd3f472[_0x2ce168(0x1b6)]};if(_0xd3f472[_0x2ce168(0x1c0)]===_0x2ce168(0x1b5))return{'state':_0x2ce168(0x1ab),'reason':_0x14e7e2+_0x2ce168(0x1c1)+_0x5c5402+_0x2ce168(0x1bd)+('('+_0x444059['join'](',\x20')+')')};return{'state':_0x2ce168(0x1ba),'checked':_0x444059};}
@@ -1 +1 @@
1
- function a151_0x3be9(_0x4c6f81,_0x307b4d){_0x4c6f81=_0x4c6f81-0x1b7;const _0x52d8c5=a151_0x52d8();let _0x3be92f=_0x52d8c5[_0x4c6f81];return _0x3be92f;}function a151_0x52d8(){const _0x567fe8=['entries','repeat','slice','object','1076704icdBPd','30438924ZWdpNK','639420qAoIaV','fromEntries','map','hasOwnProperty','13HpvzTf','18jEdibn','2031286AdOlxF','10RhawMO','<redacted>','1vFWUXq','71403CeadNi','accessKey','string','apps','call','length','3034866gMTbVI','1345003tGfngP','14ExeEPQ','40LNeQmq','isArray','test','prototype'];a151_0x52d8=function(){return _0x567fe8;};return a151_0x52d8();}const a151_0x4bbcb9=a151_0x3be9;(function(_0x5bc91d,_0x3a6157){const _0x3df84c=a151_0x3be9,_0xacc663=_0x5bc91d();while(!![]){try{const _0x406ec4=parseInt(_0x3df84c(0x1cc))/0x1*(-parseInt(_0x3df84c(0x1c9))/0x2)+-parseInt(_0x3df84c(0x1cd))/0x3*(parseInt(_0x3df84c(0x1b9))/0x4)+parseInt(_0x3df84c(0x1c3))/0x5+parseInt(_0x3df84c(0x1d3))/0x6*(-parseInt(_0x3df84c(0x1b8))/0x7)+-parseInt(_0x3df84c(0x1c1))/0x8*(-parseInt(_0x3df84c(0x1c8))/0x9)+-parseInt(_0x3df84c(0x1ca))/0xa*(parseInt(_0x3df84c(0x1b7))/0xb)+parseInt(_0x3df84c(0x1c2))/0xc*(parseInt(_0x3df84c(0x1c7))/0xd);if(_0x406ec4===_0x3a6157)break;else _0xacc663['push'](_0xacc663['shift']());}catch(_0x495c89){_0xacc663['push'](_0xacc663['shift']());}}}(a151_0x52d8,0x85529));const REDACTED_ACCESS_KEY=a151_0x4bbcb9(0x1cb);export function maskCliAccessKey(_0x476db3){const _0x543e64=a151_0x4bbcb9;if(typeof _0x476db3!==_0x543e64(0x1cf)||_0x476db3[_0x543e64(0x1d2)]<=0x8)return REDACTED_ACCESS_KEY;return''+_0x476db3[_0x543e64(0x1bf)](0x0,0x8)+'*'[_0x543e64(0x1be)](_0x476db3[_0x543e64(0x1d2)]-0x8);}export function redactCliConfigCredentials(_0x1ed5c3){const _0x32668b=a151_0x4bbcb9,_0x4cd774={..._0x1ed5c3};return Object[_0x32668b(0x1bc)][_0x32668b(0x1c6)][_0x32668b(0x1d1)](_0x4cd774,'accessKey')&&(_0x4cd774['accessKey']=maskCliAccessKey(_0x4cd774[_0x32668b(0x1ce)])),_0x4cd774['apps']&&typeof _0x4cd774[_0x32668b(0x1d0)]===_0x32668b(0x1c0)&&!Array[_0x32668b(0x1ba)](_0x4cd774[_0x32668b(0x1d0)])&&(_0x4cd774['apps']=redactLegacyAppCredentials(_0x4cd774[_0x32668b(0x1d0)])),_0x4cd774;}export function redactCliConfigValue(_0x11cdf0,_0x38eeee){const _0x5f1ef7=a151_0x4bbcb9;if(_0x11cdf0===_0x5f1ef7(0x1ce)||/^apps\.[^.]+\.accessKey$/[_0x5f1ef7(0x1bb)](_0x11cdf0))return maskCliAccessKey(_0x38eeee);if(_0x11cdf0===_0x5f1ef7(0x1d0)&&_0x38eeee&&typeof _0x38eeee===_0x5f1ef7(0x1c0)&&!Array[_0x5f1ef7(0x1ba)](_0x38eeee))return redactLegacyAppCredentials(_0x38eeee);if(/^apps\.[^.]+$/[_0x5f1ef7(0x1bb)](_0x11cdf0)&&_0x38eeee&&typeof _0x38eeee===_0x5f1ef7(0x1c0)&&!Array[_0x5f1ef7(0x1ba)](_0x38eeee)){const _0xed23a=_0x38eeee;return Object[_0x5f1ef7(0x1bc)]['hasOwnProperty'][_0x5f1ef7(0x1d1)](_0xed23a,'accessKey')?{..._0xed23a,'accessKey':maskCliAccessKey(_0xed23a[_0x5f1ef7(0x1ce)])}:_0x38eeee;}return _0x38eeee;}function redactLegacyAppCredentials(_0x50a9ed){const _0x30833b=a151_0x4bbcb9;return Object[_0x30833b(0x1c4)](Object[_0x30833b(0x1bd)](_0x50a9ed)[_0x30833b(0x1c5)](([_0x19322d,_0x1b7b52])=>{const _0x46e055=_0x30833b;if(!_0x1b7b52||typeof _0x1b7b52!==_0x46e055(0x1c0)||Array[_0x46e055(0x1ba)](_0x1b7b52))return[_0x19322d,_0x1b7b52];const _0x4d89d1={..._0x1b7b52};return Object[_0x46e055(0x1bc)][_0x46e055(0x1c6)]['call'](_0x4d89d1,'accessKey')&&(_0x4d89d1[_0x46e055(0x1ce)]=maskCliAccessKey(_0x4d89d1[_0x46e055(0x1ce)])),[_0x19322d,_0x4d89d1];}));}
1
+ function a151_0x3df3(){const _0x5784db=['4193829hxIHfY','object','66EtpJNN','test','prototype','12513464nkeSge','repeat','9099937krrBwp','map','hasOwnProperty','apps','accessKey','call','isArray','453795mCfzqQ','slice','26225DSmKFU','60EJnEsa','5250688sPaxkL','7584777XNIzzg','length'];a151_0x3df3=function(){return _0x5784db;};return a151_0x3df3();}(function(_0x86d0bc,_0x2fa138){const _0x565501=a151_0x301a,_0x33b5b0=_0x86d0bc();while(!![]){try{const _0x43b496=parseInt(_0x565501(0x19c))/0x1*(-parseInt(_0x565501(0x19d))/0x2)+parseInt(_0x565501(0x1a1))/0x3+-parseInt(_0x565501(0x19e))/0x4+parseInt(_0x565501(0x19a))/0x5*(parseInt(_0x565501(0x1a3))/0x6)+parseInt(_0x565501(0x1a8))/0x7+-parseInt(_0x565501(0x1a6))/0x8+parseInt(_0x565501(0x19f))/0x9;if(_0x43b496===_0x2fa138)break;else _0x33b5b0['push'](_0x33b5b0['shift']());}catch(_0x1aab45){_0x33b5b0['push'](_0x33b5b0['shift']());}}}(a151_0x3df3,0xd5ba7));const REDACTED_ACCESS_KEY='<redacted>';function a151_0x301a(_0x30db30,_0x215160){_0x30db30=_0x30db30-0x195;const _0x3df346=a151_0x3df3();let _0x301a7d=_0x3df346[_0x30db30];return _0x301a7d;}export function maskCliAccessKey(_0x1f717f){const _0x1d51ec=a151_0x301a;if(typeof _0x1f717f!=='string'||_0x1f717f[_0x1d51ec(0x1a0)]<=0x8)return REDACTED_ACCESS_KEY;return''+_0x1f717f[_0x1d51ec(0x19b)](0x0,0x8)+'*'[_0x1d51ec(0x1a7)](_0x1f717f['length']-0x8);}export function redactCliConfigCredentials(_0x1bf3af){const _0x3c8e65=a151_0x301a,_0x56ac93={..._0x1bf3af};return Object[_0x3c8e65(0x1a5)][_0x3c8e65(0x195)][_0x3c8e65(0x198)](_0x56ac93,'accessKey')&&(_0x56ac93[_0x3c8e65(0x197)]=maskCliAccessKey(_0x56ac93['accessKey'])),_0x56ac93[_0x3c8e65(0x196)]&&typeof _0x56ac93[_0x3c8e65(0x196)]==='object'&&!Array[_0x3c8e65(0x199)](_0x56ac93[_0x3c8e65(0x196)])&&(_0x56ac93[_0x3c8e65(0x196)]=redactLegacyAppCredentials(_0x56ac93['apps'])),_0x56ac93;}export function redactCliConfigValue(_0xee96be,_0x42f120){const _0x30c92b=a151_0x301a;if(_0xee96be==='accessKey'||/^apps\.[^.]+\.accessKey$/[_0x30c92b(0x1a4)](_0xee96be))return maskCliAccessKey(_0x42f120);if(_0xee96be===_0x30c92b(0x196)&&_0x42f120&&typeof _0x42f120==='object'&&!Array[_0x30c92b(0x199)](_0x42f120))return redactLegacyAppCredentials(_0x42f120);if(/^apps\.[^.]+$/[_0x30c92b(0x1a4)](_0xee96be)&&_0x42f120&&typeof _0x42f120==='object'&&!Array['isArray'](_0x42f120)){const _0x5127ef=_0x42f120;return Object[_0x30c92b(0x1a5)]['hasOwnProperty']['call'](_0x5127ef,_0x30c92b(0x197))?{..._0x5127ef,'accessKey':maskCliAccessKey(_0x5127ef[_0x30c92b(0x197)])}:_0x42f120;}return _0x42f120;}function redactLegacyAppCredentials(_0x307f8c){const _0x31087f=a151_0x301a;return Object['fromEntries'](Object['entries'](_0x307f8c)[_0x31087f(0x1a9)](([_0x6fd02f,_0x1fbe2b])=>{const _0x2b5548=_0x31087f;if(!_0x1fbe2b||typeof _0x1fbe2b!==_0x2b5548(0x1a2)||Array[_0x2b5548(0x199)](_0x1fbe2b))return[_0x6fd02f,_0x1fbe2b];const _0x27e02c={..._0x1fbe2b};return Object[_0x2b5548(0x1a5)][_0x2b5548(0x195)][_0x2b5548(0x198)](_0x27e02c,_0x2b5548(0x197))&&(_0x27e02c['accessKey']=maskCliAccessKey(_0x27e02c[_0x2b5548(0x197)])),[_0x6fd02f,_0x27e02c];}));}
@@ -1 +1 @@
1
- function a152_0x5eba(_0x579edc,_0x4d6cf7){_0x579edc=_0x579edc-0xe1;const _0x104e99=a152_0x104e();let _0x5ebaa=_0x104e99[_0x579edc];return _0x5ebaa;}(function(_0x105a1d,_0x105f2f){const _0x53276f=a152_0x5eba,_0x5bbfb4=_0x105a1d();while(!![]){try{const _0x3a41e5=parseInt(_0x53276f(0xe1))/0x1+parseInt(_0x53276f(0xe7))/0x2*(-parseInt(_0x53276f(0xe5))/0x3)+parseInt(_0x53276f(0xe8))/0x4+-parseInt(_0x53276f(0xe2))/0x5*(-parseInt(_0x53276f(0xe9))/0x6)+-parseInt(_0x53276f(0xe4))/0x7*(parseInt(_0x53276f(0xeb))/0x8)+-parseInt(_0x53276f(0xea))/0x9+-parseInt(_0x53276f(0xe3))/0xa*(-parseInt(_0x53276f(0xe6))/0xb);if(_0x3a41e5===_0x105f2f)break;else _0x5bbfb4['push'](_0x5bbfb4['shift']());}catch(_0x151934){_0x5bbfb4['push'](_0x5bbfb4['shift']());}}}(a152_0x104e,0x46ab5));function a152_0x104e(){const _0x241bcf=['4MmZoTb','2072412UwWjTR','6rwYsch','4010850sLVrFp','171784EMupdM','151623zsCOjZ','65890puHabd','43740yuoiyY','7fbXJUa','158481vZiwFS','451OwvgGl'];a152_0x104e=function(){return _0x241bcf;};return a152_0x104e();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0xd5c205,_0x44412b){const _0x44c544=a152_0x4202,_0x273b62=_0xd5c205();while(!![]){try{const _0x5b5609=-parseInt(_0x44c544(0xd6))/0x1*(parseInt(_0x44c544(0xd5))/0x2)+-parseInt(_0x44c544(0xdd))/0x3+-parseInt(_0x44c544(0xda))/0x4+-parseInt(_0x44c544(0xdc))/0x5+-parseInt(_0x44c544(0xde))/0x6*(-parseInt(_0x44c544(0xd7))/0x7)+-parseInt(_0x44c544(0xdb))/0x8*(parseInt(_0x44c544(0xd8))/0x9)+-parseInt(_0x44c544(0xd9))/0xa*(-parseInt(_0x44c544(0xdf))/0xb);if(_0x5b5609===_0x44412b)break;else _0x273b62['push'](_0x273b62['shift']());}catch(_0x7db6f7){_0x273b62['push'](_0x273b62['shift']());}}}(a152_0x2d2f,0xf19be));function a152_0x2d2f(){const _0x4fcb27=['10558042ZGixZu','116342JWkTbX','2vJwFgM','7KEhqoR','9AXSfra','70zRCrim','6876120bHvjuY','13150064UJQYqQ','9260230eCNGRM','4342986DwHGVx','6298284xfbjYJ'];a152_0x2d2f=function(){return _0x4fcb27;};return a152_0x2d2f();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a152_0x4202(_0x5db4b6,_0x386348){_0x5db4b6=_0x5db4b6-0xd5;const _0x2d2fae=a152_0x2d2f();let _0x4202a5=_0x2d2fae[_0x5db4b6];return _0x4202a5;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- (function(_0x773537,_0x520442){const _0x1dc908=a153_0x3254,_0x290641=_0x773537();while(!![]){try{const _0x1c5aba=parseInt(_0x1dc908(0x18e))/0x1+-parseInt(_0x1dc908(0x182))/0x2*(-parseInt(_0x1dc908(0x177))/0x3)+parseInt(_0x1dc908(0x181))/0x4+parseInt(_0x1dc908(0x17c))/0x5*(parseInt(_0x1dc908(0x190))/0x6)+-parseInt(_0x1dc908(0x180))/0x7*(parseInt(_0x1dc908(0x178))/0x8)+parseInt(_0x1dc908(0x189))/0x9*(-parseInt(_0x1dc908(0x185))/0xa)+-parseInt(_0x1dc908(0x17d))/0xb;if(_0x1c5aba===_0x520442)break;else _0x290641['push'](_0x290641['shift']());}catch(_0x2be358){_0x290641['push'](_0x290641['shift']());}}}(a153_0x4d26,0xd9305));import a153_0x5987cf from'semver';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';import{CliErrors}from'../errors.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';export function evaluateCliVersionPolicy(_0x2feb09,_0x330b24){const _0x502b63=a153_0x3254,_0x2f7f77=a153_0x5987cf['valid'](_0x2feb09)===_0x2feb09,_0x1052a5=_0x330b24?.[_0x502b63(0x18b)]??null,_0xcbd494=_0x330b24?.[_0x502b63(0x187)]??null,_0x2596df=Boolean(_0x2f7f77&&_0x1052a5&&a153_0x5987cf['lt'](_0x2feb09,_0x1052a5)),_0x5f3a3b=Boolean(_0x2f7f77&&_0xcbd494&&a153_0x5987cf['lt'](_0x2feb09,_0xcbd494));return{'currentVersion':_0x2feb09,'stableVersion':_0x1052a5,'minimumVersion':_0xcbd494,'needsUpgrade':_0x2596df||_0x5f3a3b,'belowMinimum':_0x5f3a3b,'upgradeMessage':_0x330b24?.['upgradeMessage'],'minimumVersionMessage':_0x330b24?.[_0x502b63(0x184)]};}export async function checkCliVersion(){return evaluateCliVersionPolicy(getCliVersion(),await getCliVersionPolicy());}function a153_0x3254(_0x189705,_0x433107){_0x189705=_0x189705-0x177;const _0x4d2617=a153_0x4d26();let _0x325494=_0x4d2617[_0x189705];return _0x325494;}function a153_0x4d26(){const _0xf62e2f=['minimumVersion','latest','81ggACFf','Recommended\x20stable:\x20','stableVersion','npm\x20install\x20-g\x20','Current\x20CLI\x20version\x20is\x20below\x20the\x20minimum\x20supported\x20version.','577662WTRGhp','filter','186UcgdVv','1554303rWZhEP','8AJOyGi','Upgrade\x20command:\x20','join','belowMinimum','243025OhALXD','9620556uFUYXC','Current\x20version:\x20','unavailable','6091673WoKvXX','2918516jFqzFy','2QiPeaW','Minimum\x20supported:\x20','minimumVersionMessage','775230IwbgIp','currentVersion'];a153_0x4d26=function(){return _0xf62e2f;};return a153_0x4d26();}export function getCliUpgradeCommand(_0x46a459){const _0xe9d985=a153_0x3254;return _0xe9d985(0x18c)+LOVRABET_NPM_PACKAGE_NAME+'@'+(_0x46a459[_0xe9d985(0x18b)]??_0xe9d985(0x188));}export function assertCliVersionSupported(_0x1b0052){const _0x1c88d2=a153_0x3254;if(!_0x1b0052[_0x1c88d2(0x17b)])return;const _0x3698b8=[_0x1b0052[_0x1c88d2(0x184)],_0x1c88d2(0x17e)+_0x1b0052[_0x1c88d2(0x186)],_0x1c88d2(0x183)+_0x1b0052[_0x1c88d2(0x187)],_0x1c88d2(0x18a)+(_0x1b0052[_0x1c88d2(0x18b)]??_0x1c88d2(0x17f)),_0x1c88d2(0x179)+getCliUpgradeCommand(_0x1b0052)][_0x1c88d2(0x18f)](Boolean)[_0x1c88d2(0x17a)]('\x0a');throw CliErrors['validation'](_0x1c88d2(0x18d),_0x3698b8);}
1
+ (function(_0x21af4b,_0x53aded){const _0x4957a6=a153_0x310a,_0x3a6449=_0x21af4b();while(!![]){try{const _0x58d86b=-parseInt(_0x4957a6(0x12a))/0x1+-parseInt(_0x4957a6(0x131))/0x2+parseInt(_0x4957a6(0x13a))/0x3*(-parseInt(_0x4957a6(0x133))/0x4)+parseInt(_0x4957a6(0x132))/0x5+parseInt(_0x4957a6(0x138))/0x6+parseInt(_0x4957a6(0x13f))/0x7*(parseInt(_0x4957a6(0x13e))/0x8)+parseInt(_0x4957a6(0x13d))/0x9*(parseInt(_0x4957a6(0x140))/0xa);if(_0x58d86b===_0x53aded)break;else _0x3a6449['push'](_0x3a6449['shift']());}catch(_0x1fa3ef){_0x3a6449['push'](_0x3a6449['shift']());}}}(a153_0x1eb5,0x35d2c));import a153_0x48550f from'semver';function a153_0x310a(_0x4fca6c,_0x2f4fc3){_0x4fca6c=_0x4fca6c-0x127;const _0x1eb568=a153_0x1eb5();let _0x310a44=_0x1eb568[_0x4fca6c];return _0x310a44;}import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';import{CliErrors}from'../errors.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';export function evaluateCliVersionPolicy(_0x5b6504,_0x4307cc){const _0x255dbe=a153_0x310a,_0x31910c=a153_0x48550f['valid'](_0x5b6504)===_0x5b6504,_0x57298f=_0x4307cc?.[_0x255dbe(0x13b)]??null,_0xaff846=_0x4307cc?.['minimumVersion']??null,_0x578e09=Boolean(_0x31910c&&_0x57298f&&a153_0x48550f['lt'](_0x5b6504,_0x57298f)),_0x41b92a=Boolean(_0x31910c&&_0xaff846&&a153_0x48550f['lt'](_0x5b6504,_0xaff846));return{'currentVersion':_0x5b6504,'stableVersion':_0x57298f,'minimumVersion':_0xaff846,'needsUpgrade':_0x578e09||_0x41b92a,'belowMinimum':_0x41b92a,'upgradeMessage':_0x4307cc?.[_0x255dbe(0x139)],'minimumVersionMessage':_0x4307cc?.[_0x255dbe(0x12f)]};}export async function checkCliVersion(){return evaluateCliVersionPolicy(getCliVersion(),await getCliVersionPolicy());}export function getCliUpgradeCommand(_0x2f9683){const _0x39c5cc=a153_0x310a;return _0x39c5cc(0x127)+LOVRABET_NPM_PACKAGE_NAME+'@'+(_0x2f9683[_0x39c5cc(0x13b)]??_0x39c5cc(0x129));}export function assertCliVersionSupported(_0x3cc7a0){const _0x1072d1=a153_0x310a;if(!_0x3cc7a0[_0x1072d1(0x136)])return;const _0x4218ae=[_0x3cc7a0[_0x1072d1(0x12f)],_0x1072d1(0x135)+_0x3cc7a0[_0x1072d1(0x12c)],_0x1072d1(0x12e)+_0x3cc7a0[_0x1072d1(0x12b)],_0x1072d1(0x134)+(_0x3cc7a0[_0x1072d1(0x13b)]??_0x1072d1(0x13c)),_0x1072d1(0x12d)+getCliUpgradeCommand(_0x3cc7a0)][_0x1072d1(0x137)](Boolean)[_0x1072d1(0x130)]('\x0a');throw CliErrors['validation'](_0x1072d1(0x128),_0x4218ae);}function a153_0x1eb5(){const _0x570634=['minimumVersionMessage','join','701204ZtdSbo','1253620BYsBPz','12xmlCWz','Recommended\x20stable:\x20','Current\x20version:\x20','belowMinimum','filter','1632000aZFAQC','upgradeMessage','186387rLyGDe','stableVersion','unavailable','1791GNZHIq','1738504UMseSO','14kJIYYc','11810vzWGEJ','npm\x20install\x20-g\x20','Current\x20CLI\x20version\x20is\x20below\x20the\x20minimum\x20supported\x20version.','latest','434920unfhyn','minimumVersion','currentVersion','Upgrade\x20command:\x20','Minimum\x20supported:\x20'];a153_0x1eb5=function(){return _0x570634;};return a153_0x1eb5();}
@@ -1 +1 @@
1
- (function(_0x42b33b,_0x1e899e){const _0x5e5dd4=a154_0x5763,_0x3f9958=_0x42b33b();while(!![]){try{const _0x21327a=parseInt(_0x5e5dd4(0x1d4))/0x1+parseInt(_0x5e5dd4(0x1d7))/0x2+parseInt(_0x5e5dd4(0x1da))/0x3*(parseInt(_0x5e5dd4(0x1d1))/0x4)+-parseInt(_0x5e5dd4(0x1e1))/0x5+-parseInt(_0x5e5dd4(0x1df))/0x6*(-parseInt(_0x5e5dd4(0x1d3))/0x7)+parseInt(_0x5e5dd4(0x1cc))/0x8*(-parseInt(_0x5e5dd4(0x1cf))/0x9)+parseInt(_0x5e5dd4(0x1d0))/0xa;if(_0x21327a===_0x1e899e)break;else _0x3f9958['push'](_0x3f9958['shift']());}catch(_0x2051f9){_0x3f9958['push'](_0x3f9958['shift']());}}}(a154_0x15cd,0xcf9ff));import a154_0x28361e 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(_0x26acaf){const _0x5505b3=a154_0x5763;return typeof _0x26acaf==='string'&&_0x26acaf[_0x5505b3(0x1cd)]()?_0x26acaf[_0x5505b3(0x1cd)]():null;}function pickStrictSemver(_0xd38dc7){const _0x7bfcdc=pickString(_0xd38dc7);return _0x7bfcdc&&a154_0x28361e['valid'](_0x7bfcdc)===_0x7bfcdc?_0x7bfcdc:null;}export function normalizeCliVersionPolicy(_0x49d31e){const _0x3c049=a154_0x5763;if(!_0x49d31e||typeof _0x49d31e!==_0x3c049(0x1d5))return null;const _0xf9def3=_0x49d31e,_0x179096=_0xf9def3[_0x3c049(0x1d8)]&&typeof _0xf9def3[_0x3c049(0x1d8)]==='object'?_0xf9def3[_0x3c049(0x1d8)]:_0xf9def3,_0x4f2095=pickStrictSemver(_0x179096[_0x3c049(0x1e2)]??_0x179096[_0x3c049(0x1d2)]??_0x179096[_0x3c049(0x1dd)]),_0x288f73=pickStrictSemver(_0x179096['minimumVersion']??_0x179096[_0x3c049(0x1d6)]);if(!_0x4f2095&&!_0x288f73)return null;if(_0x4f2095&&_0x288f73&&a154_0x28361e['gt'](_0x288f73,_0x4f2095))return null;return{'stableVersion':_0x4f2095,'minimumVersion':_0x288f73,'upgradeMessage':pickString(_0x179096[_0x3c049(0x1e0)])??undefined,'minimumVersionMessage':pickString(_0x179096[_0x3c049(0x1dc)])??undefined};}export async function fetchCliVersionPolicy(){const _0x1c6a5d=a154_0x5763;try{const _0x5c2e46=await fetch(LOVRABET_CLI_VERSION_POLICY_URL,{'headers':{'Accept':'application/json'},'signal':AbortSignal['timeout'](FETCH_TIMEOUT_MS)});if(!_0x5c2e46['ok'])return null;return normalizeCliVersionPolicy(await _0x5c2e46[_0x1c6a5d(0x1ce)]());}catch{return null;}}let cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;export async function getCliVersionPolicy(){const _0x32c434=a154_0x5763,_0x89b9cf=Date[_0x32c434(0x1db)]();if(hasCachedPolicy){const _0x2a1e17=cachedPolicy?SUCCESS_CACHE_TTL_MS:FAILURE_CACHE_TTL_MS;if(_0x89b9cf-cachedAt<_0x2a1e17)return cachedPolicy;}if(pendingPolicy)return pendingPolicy;return pendingPolicy=fetchCliVersionPolicy()[_0x32c434(0x1de)](_0x5e5ad0=>{const _0x645c95=_0x32c434;return cachedPolicy=_0x5e5ad0,cachedAt=Date[_0x645c95(0x1db)](),hasCachedPolicy=!![],_0x5e5ad0;})[_0x32c434(0x1d9)](()=>{pendingPolicy=null;}),pendingPolicy;}function a154_0x5763(_0x46bf0e,_0x3e3d2c){_0x46bf0e=_0x46bf0e-0x1cc;const _0x15cdef=a154_0x15cd();let _0x5763dc=_0x15cdef[_0x46bf0e];return _0x5763dc;}function a154_0x15cd(){const _0x94fd4d=['stableVersion','16lcqMmV','trim','json','4728879YBWQni','11917330hjrJai','4YSWtvh','latestVersion','7gJMeSI','424888OokuYZ','object','minVersion','269372YERVRx','cli','finally','343065iLqdcd','now','minimumVersionMessage','recommendedVersion','then','7821102BpDcfS','upgradeMessage','6339430BHPVPO'];a154_0x15cd=function(){return _0x94fd4d;};return a154_0x15cd();}export function clearCliVersionPolicyCache(){cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;}
1
+ (function(_0x5d5817,_0x5cef44){const _0x551859=a154_0xb5ad,_0x5ace3c=_0x5d5817();while(!![]){try{const _0x3f2cf6=parseInt(_0x551859(0x11f))/0x1+parseInt(_0x551859(0x116))/0x2*(-parseInt(_0x551859(0x120))/0x3)+parseInt(_0x551859(0x11b))/0x4+-parseInt(_0x551859(0x115))/0x5+parseInt(_0x551859(0x118))/0x6+parseInt(_0x551859(0x119))/0x7*(parseInt(_0x551859(0x11d))/0x8)+-parseInt(_0x551859(0x11e))/0x9;if(_0x3f2cf6===_0x5cef44)break;else _0x5ace3c['push'](_0x5ace3c['shift']());}catch(_0x4f5785){_0x5ace3c['push'](_0x5ace3c['shift']());}}}(a154_0xf318,0xec88d));import a154_0x33698d from'semver';function a154_0xb5ad(_0x1ae2ed,_0x2d36b2){_0x1ae2ed=_0x1ae2ed-0x10f;const _0xf318d0=a154_0xf318();let _0xb5ad5=_0xf318d0[_0x1ae2ed];return _0xb5ad5;}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(_0x2b07cf){const _0x5c8041=a154_0xb5ad;return typeof _0x2b07cf===_0x5c8041(0x10f)&&_0x2b07cf['trim']()?_0x2b07cf['trim']():null;}function pickStrictSemver(_0x1ac4ac){const _0x5a9b19=pickString(_0x1ac4ac);return _0x5a9b19&&a154_0x33698d['valid'](_0x5a9b19)===_0x5a9b19?_0x5a9b19:null;}export function normalizeCliVersionPolicy(_0x2c650c){const _0x37147a=a154_0xb5ad;if(!_0x2c650c||typeof _0x2c650c!==_0x37147a(0x113))return null;const _0x104ebe=_0x2c650c,_0x2f1b16=_0x104ebe[_0x37147a(0x114)]&&typeof _0x104ebe[_0x37147a(0x114)]==='object'?_0x104ebe['cli']:_0x104ebe,_0x20396f=pickStrictSemver(_0x2f1b16[_0x37147a(0x11a)]??_0x2f1b16['latestVersion']??_0x2f1b16[_0x37147a(0x110)]),_0xd1b361=pickStrictSemver(_0x2f1b16[_0x37147a(0x121)]??_0x2f1b16[_0x37147a(0x111)]);if(!_0x20396f&&!_0xd1b361)return null;if(_0x20396f&&_0xd1b361&&a154_0x33698d['gt'](_0xd1b361,_0x20396f))return null;return{'stableVersion':_0x20396f,'minimumVersion':_0xd1b361,'upgradeMessage':pickString(_0x2f1b16['upgradeMessage'])??undefined,'minimumVersionMessage':pickString(_0x2f1b16[_0x37147a(0x112)])??undefined};}export async function fetchCliVersionPolicy(){const _0x39fce4=a154_0xb5ad;try{const _0x1d103f=await fetch(LOVRABET_CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x39fce4(0x117)},'signal':AbortSignal['timeout'](FETCH_TIMEOUT_MS)});if(!_0x1d103f['ok'])return null;return normalizeCliVersionPolicy(await _0x1d103f['json']());}catch{return null;}}function a154_0xf318(){const _0x24e099=['340748dbjjKo','application/json','4150362jQamtG','2437337MQrNfH','stableVersion','3024676GOOZBE','finally','32rcMvmH','16296120dikxgP','123540NsEPHF','3SMPYuL','minimumVersion','now','string','recommendedVersion','minVersion','minimumVersionMessage','object','cli','71505ZVYVFS'];a154_0xf318=function(){return _0x24e099;};return a154_0xf318();}let cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;export async function getCliVersionPolicy(){const _0x274f12=a154_0xb5ad,_0x471f02=Date['now']();if(hasCachedPolicy){const _0x569249=cachedPolicy?SUCCESS_CACHE_TTL_MS:FAILURE_CACHE_TTL_MS;if(_0x471f02-cachedAt<_0x569249)return cachedPolicy;}if(pendingPolicy)return pendingPolicy;return pendingPolicy=fetchCliVersionPolicy()['then'](_0x15266c=>{const _0x5c2bde=a154_0xb5ad;return cachedPolicy=_0x15266c,cachedAt=Date[_0x5c2bde(0x122)](),hasCachedPolicy=!![],_0x15266c;})[_0x274f12(0x11c)](()=>{pendingPolicy=null;}),pendingPolicy;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;}
@@ -1 +1 @@
1
- const a155_0x1815f4=a155_0x53bd;(function(_0x132902,_0x419610){const _0x2467f9=a155_0x53bd,_0x5bb205=_0x132902();while(!![]){try{const _0x4415f9=-parseInt(_0x2467f9(0x16a))/0x1+-parseInt(_0x2467f9(0x15e))/0x2*(-parseInt(_0x2467f9(0x17b))/0x3)+parseInt(_0x2467f9(0x15d))/0x4+-parseInt(_0x2467f9(0x179))/0x5*(-parseInt(_0x2467f9(0x181))/0x6)+parseInt(_0x2467f9(0x169))/0x7*(-parseInt(_0x2467f9(0x161))/0x8)+parseInt(_0x2467f9(0x17d))/0x9*(-parseInt(_0x2467f9(0x158))/0xa)+parseInt(_0x2467f9(0x167))/0xb;if(_0x4415f9===_0x419610)break;else _0x5bb205['push'](_0x5bb205['shift']());}catch(_0x57ad2d){_0x5bb205['push'](_0x5bb205['shift']());}}}(a155_0x2822,0x9b504));import a155_0x586b36 from'winston';import a155_0x65950a from'node:fs';import a155_0x22bfd1 from'node:path';function a155_0x53bd(_0x36b19b,_0x46d29e){_0x36b19b=_0x36b19b-0x153;const _0x28228f=a155_0x2822();let _0x53bd09=_0x28228f[_0x36b19b];return _0x53bd09;}import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{['winstonLogger'];[a155_0x1815f4(0x170)]='';['currentRawCommand']='';constructor(){}['setRawCommand'](_0x2e4048){const _0x4a1588=a155_0x1815f4;this[_0x4a1588(0x171)]=_0x2e4048;}[a155_0x1815f4(0x172)](_0x4adf59){const _0x13c47e=a155_0x1815f4;this[_0x13c47e(0x170)]=a155_0x22bfd1[_0x13c47e(0x15a)](_0x4adf59,PRODUCT_CONFIG[_0x13c47e(0x16d)]),this['winstonLogger']&&this[_0x13c47e(0x16b)][_0x13c47e(0x177)](),this['initWinstonLogger']();}[a155_0x1815f4(0x183)](){const _0x1906b8=a155_0x1815f4,_0x2bb4bb=a155_0x22bfd1[_0x1906b8(0x155)](this[_0x1906b8(0x170)]);!a155_0x65950a[_0x1906b8(0x175)](_0x2bb4bb)&&a155_0x65950a['mkdirSync'](_0x2bb4bb,{'recursive':!![]});const _0x3d1cc5=a155_0x586b36['format'][_0x1906b8(0x184)](a155_0x586b36['format']['timestamp'](),a155_0x586b36['format'][_0x1906b8(0x168)]({'stack':!![]}),a155_0x586b36[_0x1906b8(0x166)][_0x1906b8(0x164)](_0x511d0c=>{const _0x3e53f7=_0x1906b8,_0xe4d337={'timestamp':_0x511d0c[_0x3e53f7(0x163)]||new Date()['toISOString'](),'level':_0x511d0c[_0x3e53f7(0x160)]||_0x3e53f7(0x16c),'command':_0x511d0c['command']||_0x3e53f7(0x180),'rawCommand':_0x511d0c[_0x3e53f7(0x17f)]||this[_0x3e53f7(0x171)]||undefined,'message':_0x511d0c['message']||'','duration':_0x511d0c[_0x3e53f7(0x16f)]||undefined,'details':_0x511d0c[_0x3e53f7(0x15b)]||undefined};return JSON['stringify'](_0xe4d337);}));this['winstonLogger']=a155_0x586b36[_0x1906b8(0x174)]({'level':_0x1906b8(0x16c),'format':_0x3d1cc5,'transports':[new a155_0x586b36[(_0x1906b8(0x153))]['File']({'filename':this[_0x1906b8(0x170)],'level':'info'})],'silent':![]}),a155_0x586b36[_0x1906b8(0x173)]({'success':_0x1906b8(0x157),'error':'red','warn':_0x1906b8(0x189),'info':_0x1906b8(0x185)});}[a155_0x1815f4(0x16c)](_0x4eff5b,_0x292db2,_0x4319e1){const _0x98d2e3=a155_0x1815f4;if(!this[_0x98d2e3(0x170)]||!this[_0x98d2e3(0x16b)])return;this[_0x98d2e3(0x16b)][_0x98d2e3(0x16c)](_0x292db2,{'command':_0x4eff5b,'details':_0x4319e1});}['success'](_0x2bb083,_0x621046,_0x3edce6,_0x5c2085){const _0x3e1b08=a155_0x1815f4;if(!this[_0x3e1b08(0x170)]||!this[_0x3e1b08(0x16b)])return;this[_0x3e1b08(0x16b)][_0x3e1b08(0x182)](_0x3e1b08(0x16c),_0x621046,{'level':_0x3e1b08(0x16e),'command':_0x2bb083,'duration':_0x3edce6,'details':_0x5c2085});}[a155_0x1815f4(0x187)](_0x3b5ff3,_0x55ae31,_0x2034ee){const _0x44f9b3=a155_0x1815f4;if(!this['logFilePath']||!this[_0x44f9b3(0x16b)])return;this['winstonLogger'][_0x44f9b3(0x187)](_0x55ae31,{'command':_0x3b5ff3,'details':_0x2034ee});}[a155_0x1815f4(0x156)](_0x513016,_0x76afbb,_0x51bca7){const _0x7702d2=a155_0x1815f4;if(!this[_0x7702d2(0x170)]||!this['winstonLogger'])return;this[_0x7702d2(0x16b)][_0x7702d2(0x156)](_0x76afbb,{'command':_0x513016,'details':_0x51bca7});}async[a155_0x1815f4(0x17c)](_0x4c5bc9,_0x634e69,_0xc5f20a){const _0x1fefff=a155_0x1815f4,_0x482bff=Date[_0x1fefff(0x15f)]();this[_0x1fefff(0x16c)](_0x4c5bc9,_0x1fefff(0x178)+_0x634e69);try{const _0x501ee6=await _0xc5f20a(),_0x303780=Date[_0x1fefff(0x15f)]()-_0x482bff;return this[_0x1fefff(0x16e)](_0x4c5bc9,_0x1fefff(0x17e)+_0x634e69,_0x303780),_0x501ee6;}catch(_0x3ea5ef){const _0x19c472=Date[_0x1fefff(0x15f)]()-_0x482bff;this[_0x1fefff(0x187)](_0x4c5bc9,_0x1fefff(0x165)+_0x634e69,{'error':_0x3ea5ef instanceof Error?_0x3ea5ef['message']:String(_0x3ea5ef),'duration':_0x19c472});throw _0x3ea5ef;}}[a155_0x1815f4(0x186)](){const _0x1eae78=a155_0x1815f4;try{if(!a155_0x65950a['existsSync'](this[_0x1eae78(0x170)]))return[];const _0x32a352=a155_0x65950a[_0x1eae78(0x15c)](this[_0x1eae78(0x170)],_0x1eae78(0x154));return _0x32a352[_0x1eae78(0x18a)](/\r?\n/)[_0x1eae78(0x188)](_0x17baf9=>_0x17baf9['trim']())[_0x1eae78(0x176)](_0x90acf0=>JSON['parse'](_0x90acf0));}catch(_0x4bba58){return console[_0x1eae78(0x156)]('Failed\x20to\x20read\x20logs:',_0x4bba58),[];}}[a155_0x1815f4(0x159)](){const _0x3abfc4=a155_0x1815f4;try{a155_0x65950a[_0x3abfc4(0x175)](this[_0x3abfc4(0x170)])&&a155_0x65950a['writeFileSync'](this[_0x3abfc4(0x170)],'',_0x3abfc4(0x154));}catch(_0x44327d){console[_0x3abfc4(0x156)](_0x3abfc4(0x17a),_0x44327d);}}[a155_0x1815f4(0x162)](){const _0x4b1b0b=a155_0x1815f4;return this[_0x4b1b0b(0x16b)];}}export const logger=new Logger();function a155_0x2822(){const _0x1288ba=['format','8832142nQJLOV','errors','189NCKMzZ','984667oLETqc','winstonLogger','info','logFileName','success','duration','logFilePath','currentRawCommand','setLogPath','addColors','createLogger','existsSync','map','clear','Starting:\x20','3331820NtUXyi','Failed\x20to\x20clear\x20logs:','33zvBOia','logTask','9ZbykfW','Completed:\x20','rawCommand','unknown','6kGqFlo','log','initWinstonLogger','combine','blue','readLogs','error','filter','yellow','split','transports','utf8','dirname','warn','green','8758780HSEyMH','clearLogs','join','details','readFileSync','839652IjUPuP','188014YUzNsm','now','level','64168RTeGyf','getWinstonInstance','timestamp','printf','Failed:\x20'];a155_0x2822=function(){return _0x1288ba;};return a155_0x2822();}
1
+ const a155_0xab53fc=a155_0x3624;(function(_0x436503,_0x196934){const _0x25f7ad=a155_0x3624,_0x269d5e=_0x436503();while(!![]){try{const _0x2e8a98=-parseInt(_0x25f7ad(0xa9))/0x1*(-parseInt(_0x25f7ad(0xba))/0x2)+-parseInt(_0x25f7ad(0xc3))/0x3+-parseInt(_0x25f7ad(0xb4))/0x4+-parseInt(_0x25f7ad(0xd8))/0x5*(-parseInt(_0x25f7ad(0xd1))/0x6)+-parseInt(_0x25f7ad(0xbb))/0x7+-parseInt(_0x25f7ad(0xab))/0x8+parseInt(_0x25f7ad(0xb5))/0x9;if(_0x2e8a98===_0x196934)break;else _0x269d5e['push'](_0x269d5e['shift']());}catch(_0xdfa2e1){_0x269d5e['push'](_0x269d5e['shift']());}}}(a155_0x4b3e,0x2a1ac));import a155_0x14bacc from'winston';import a155_0x174792 from'node:fs';import a155_0x2c058d from'node:path';function a155_0x3624(_0xcfeb44,_0x448b23){_0xcfeb44=_0xcfeb44-0xa2;const _0x4b3eb3=a155_0x4b3e();let _0x3624b9=_0x4b3eb3[_0xcfeb44];return _0x3624b9;}import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a155_0xab53fc(0xc0)];['logFilePath']='';['currentRawCommand']='';constructor(){}[a155_0xab53fc(0xc6)](_0x1385d8){this['currentRawCommand']=_0x1385d8;}['setLogPath'](_0x26e328){const _0x416642=a155_0xab53fc;this['logFilePath']=a155_0x2c058d[_0x416642(0xd2)](_0x26e328,PRODUCT_CONFIG[_0x416642(0xbe)]),this['winstonLogger']&&this[_0x416642(0xc0)]['clear'](),this[_0x416642(0xb9)]();}[a155_0xab53fc(0xb9)](){const _0x471c69=a155_0xab53fc,_0x33a88e=a155_0x2c058d[_0x471c69(0xb6)](this[_0x471c69(0xd0)]);!a155_0x174792[_0x471c69(0xc2)](_0x33a88e)&&a155_0x174792[_0x471c69(0xc7)](_0x33a88e,{'recursive':!![]});const _0x12f6d0=a155_0x14bacc[_0x471c69(0xaf)][_0x471c69(0xd5)](a155_0x14bacc[_0x471c69(0xaf)][_0x471c69(0xc5)](),a155_0x14bacc['format'][_0x471c69(0xd3)]({'stack':!![]}),a155_0x14bacc[_0x471c69(0xaf)][_0x471c69(0xac)](_0x73a965=>{const _0x260ab3=_0x471c69,_0x3b7b6a={'timestamp':_0x73a965['timestamp']||new Date()[_0x260ab3(0xcc)](),'level':_0x73a965[_0x260ab3(0xc4)]||_0x260ab3(0xa2),'command':_0x73a965[_0x260ab3(0xcd)]||_0x260ab3(0xa5),'rawCommand':_0x73a965[_0x260ab3(0xb1)]||this[_0x260ab3(0xb7)]||undefined,'message':_0x73a965[_0x260ab3(0xbc)]||'','duration':_0x73a965[_0x260ab3(0xa4)]||undefined,'details':_0x73a965[_0x260ab3(0xc9)]||undefined};return JSON[_0x260ab3(0xb8)](_0x3b7b6a);}));this[_0x471c69(0xc0)]=a155_0x14bacc[_0x471c69(0xb2)]({'level':_0x471c69(0xa2),'format':_0x12f6d0,'transports':[new a155_0x14bacc[(_0x471c69(0xce))][(_0x471c69(0xad))]({'filename':this[_0x471c69(0xd0)],'level':_0x471c69(0xa2)})],'silent':![]}),a155_0x14bacc['addColors']({'success':_0x471c69(0xcb),'error':_0x471c69(0xbf),'warn':_0x471c69(0xd7),'info':_0x471c69(0xb0)});}[a155_0xab53fc(0xa2)](_0x4306fc,_0x414a43,_0x3474e0){const _0x1d4b8e=a155_0xab53fc;if(!this[_0x1d4b8e(0xd0)]||!this[_0x1d4b8e(0xc0)])return;this[_0x1d4b8e(0xc0)][_0x1d4b8e(0xa2)](_0x414a43,{'command':_0x4306fc,'details':_0x3474e0});}[a155_0xab53fc(0xa6)](_0x53058f,_0x1a2fd6,_0x797f76,_0x342616){const _0x2c500a=a155_0xab53fc;if(!this[_0x2c500a(0xd0)]||!this['winstonLogger'])return;this[_0x2c500a(0xc0)][_0x2c500a(0xa7)](_0x2c500a(0xa2),_0x1a2fd6,{'level':_0x2c500a(0xa6),'command':_0x53058f,'duration':_0x797f76,'details':_0x342616});}[a155_0xab53fc(0xca)](_0x22a58,_0x38ea14,_0x55a469){const _0x5c82de=a155_0xab53fc;if(!this[_0x5c82de(0xd0)]||!this['winstonLogger'])return;this[_0x5c82de(0xc0)][_0x5c82de(0xca)](_0x38ea14,{'command':_0x22a58,'details':_0x55a469});}[a155_0xab53fc(0xd6)](_0xe9fbf9,_0x45f1ba,_0x59c76a){const _0x4a1c87=a155_0xab53fc;if(!this[_0x4a1c87(0xd0)]||!this['winstonLogger'])return;this['winstonLogger'][_0x4a1c87(0xd6)](_0x45f1ba,{'command':_0xe9fbf9,'details':_0x59c76a});}async['logTask'](_0x300a93,_0xdadf10,_0xabb64c){const _0x44d246=a155_0xab53fc,_0x4042f9=Date[_0x44d246(0xc8)]();this['info'](_0x300a93,_0x44d246(0xd9)+_0xdadf10);try{const _0x2ce4c8=await _0xabb64c(),_0x3d752e=Date[_0x44d246(0xc8)]()-_0x4042f9;return this['success'](_0x300a93,'Completed:\x20'+_0xdadf10,_0x3d752e),_0x2ce4c8;}catch(_0x2d0c03){const _0x4e45e5=Date[_0x44d246(0xc8)]()-_0x4042f9;this[_0x44d246(0xca)](_0x300a93,_0x44d246(0xb3)+_0xdadf10,{'error':_0x2d0c03 instanceof Error?_0x2d0c03[_0x44d246(0xbc)]:String(_0x2d0c03),'duration':_0x4e45e5});throw _0x2d0c03;}}[a155_0xab53fc(0xa3)](){const _0x18b75e=a155_0xab53fc;try{if(!a155_0x174792[_0x18b75e(0xc2)](this['logFilePath']))return[];const _0x28cd72=a155_0x174792[_0x18b75e(0xd4)](this[_0x18b75e(0xd0)],_0x18b75e(0xaa));return _0x28cd72['split'](/\r?\n/)[_0x18b75e(0xc1)](_0x1b764b=>_0x1b764b[_0x18b75e(0xa8)]())['map'](_0x2fdafe=>JSON[_0x18b75e(0xcf)](_0x2fdafe));}catch(_0x2274eb){return console[_0x18b75e(0xd6)]('Failed\x20to\x20read\x20logs:',_0x2274eb),[];}}['clearLogs'](){const _0x1fc3d3=a155_0xab53fc;try{a155_0x174792[_0x1fc3d3(0xc2)](this[_0x1fc3d3(0xd0)])&&a155_0x174792[_0x1fc3d3(0xbd)](this[_0x1fc3d3(0xd0)],'',_0x1fc3d3(0xaa));}catch(_0x2a5596){console[_0x1fc3d3(0xd6)]('Failed\x20to\x20clear\x20logs:',_0x2a5596);}}[a155_0xab53fc(0xae)](){const _0x50f730=a155_0xab53fc;return this[_0x50f730(0xc0)];}}function a155_0x4b3e(){const _0x2ab7f6=['readLogs','duration','unknown','success','log','trim','17CeMbJs','utf8','318328sGQnjr','printf','File','getWinstonInstance','format','blue','rawCommand','createLogger','Failed:\x20','429296xFEaXF','4716522zfBGHg','dirname','currentRawCommand','stringify','initWinstonLogger','23786cJBCPO','2137499WACwEx','message','writeFileSync','logFileName','red','winstonLogger','filter','existsSync','913899MmHxWE','level','timestamp','setRawCommand','mkdirSync','now','details','error','green','toISOString','command','transports','parse','logFilePath','12JlnXmx','join','errors','readFileSync','combine','warn','yellow','508315Rljcgd','Starting:\x20','info'];a155_0x4b3e=function(){return _0x2ab7f6;};return a155_0x4b3e();}export const logger=new Logger();
@@ -1 +1 @@
1
- function a156_0x1d1d(){const _0x122859=['11dtDGcV','text','slice','24XkpKUU','1138629GFiWSV','undefined','prototype','1951425aaPnGE','15046884fUeile','includes','MIN_SAFE_INTEGER','642420tKwgCD','4NiAoLZ','defineProperty','MAX_SAFE_INTEGER','length','parse','json','741251KbCXGF','113865RFPNoD','18WhGauh','6fceOzR','217385vABpKE'];a156_0x1d1d=function(){return _0x122859;};return a156_0x1d1d();}const a156_0x5359b8=a156_0x3f00;function a156_0x3f00(_0x45518b,_0x26b672){_0x45518b=_0x45518b-0xa3;const _0x1d1d63=a156_0x1d1d();let _0x3f0003=_0x1d1d63[_0x45518b];return _0x3f0003;}(function(_0x4788ac,_0xd74aab){const _0x1745e3=a156_0x3f00,_0x849aed=_0x4788ac();while(!![]){try{const _0x422327=-parseInt(_0x1745e3(0xa4))/0x1*(parseInt(_0x1745e3(0xa6))/0x2)+parseInt(_0x1745e3(0xac))/0x3*(-parseInt(_0x1745e3(0xb4))/0x4)+-parseInt(_0x1745e3(0xa7))/0x5*(-parseInt(_0x1745e3(0xa5))/0x6)+parseInt(_0x1745e3(0xa3))/0x7*(-parseInt(_0x1745e3(0xab))/0x8)+-parseInt(_0x1745e3(0xaf))/0x9+parseInt(_0x1745e3(0xb3))/0xa+parseInt(_0x1745e3(0xa8))/0xb*(parseInt(_0x1745e3(0xb0))/0xc);if(_0x422327===_0xd74aab)break;else _0x849aed['push'](_0x849aed['shift']());}catch(_0x3f05c9){_0x849aed['push'](_0x849aed['shift']());}}}(a156_0x1d1d,0x2f1aa));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a156_0x5359b8(0xb6)]),MIN_SAFE_INTEGER=BigInt(Number[a156_0x5359b8(0xb2)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x43c46b){const _0x3de80e=a156_0x5359b8;if(_0x43c46b['includes']('.')||_0x43c46b[_0x3de80e(0xb1)]('e')||_0x43c46b[_0x3de80e(0xb1)]('E'))return![];const _0x2093c0=BigInt(_0x43c46b);return _0x2093c0>MAX_SAFE_INTEGER||_0x2093c0<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x4e69cc){const _0x5bd914=a156_0x5359b8;let _0x214f74='',_0x34ae51=![],_0xc6d9c2=![];for(let _0x323070=0x0;_0x323070<_0x4e69cc[_0x5bd914(0xb7)];){const _0x186fd5=_0x4e69cc[_0x323070];if(_0x34ae51){_0x214f74+=_0x186fd5,_0x323070+=0x1;if(_0xc6d9c2)_0xc6d9c2=![];else{if(_0x186fd5==='\x5c')_0xc6d9c2=!![];else _0x186fd5==='\x22'&&(_0x34ae51=![]);}continue;}if(_0x186fd5==='\x22'){_0x34ae51=!![],_0x214f74+=_0x186fd5,_0x323070+=0x1;continue;}if(_0x186fd5==='-'||_0x186fd5>='0'&&_0x186fd5<='9'){const _0x543f06=JSON_NUMBER_PATTERN['exec'](_0x4e69cc[_0x5bd914(0xaa)](_0x323070))?.[0x0];if(_0x543f06){_0x214f74+=isUnsafeIntegerLiteral(_0x543f06)?'\x22'+_0x543f06+'\x22':_0x543f06,_0x323070+=_0x543f06[_0x5bd914(0xb7)];continue;}}_0x214f74+=_0x186fd5,_0x323070+=0x1;}return _0x214f74;}export function parseLosslessJson(_0x4c2bd7){const _0x3b12a2=a156_0x5359b8;return JSON[_0x3b12a2(0xb8)](quoteUnsafeIntegerLiterals(_0x4c2bd7));}export function installLosslessJsonResponseParser(){const _0x193bf7=a156_0x5359b8;if(typeof Response===_0x193bf7(0xad))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x193bf7(0xae)],originalResponseJsonDescriptor=Object['getOwnPropertyDescriptor'](responseJsonPrototype,_0x193bf7(0xb9)),Object[_0x193bf7(0xb5)](responseJsonPrototype,_0x193bf7(0xb9),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x241e06(){const _0xbb833d=_0x193bf7;return parseLosslessJson(await this[_0xbb833d(0xa9)]());}}),restoreResponseJsonParser=()=>{const _0x5571c4=_0x193bf7;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x5571c4(0xb5)](responseJsonPrototype,'json',originalResponseJsonDescriptor):delete responseJsonPrototype['json'],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
1
+ const a156_0x12f3c3=a156_0x1f47;function a156_0x210a(){const _0x2a135e=['includes','defineProperty','3466445zTFeYT','18xKtsqJ','2425908TxUfjP','MIN_SAFE_INTEGER','undefined','length','slice','parse','33010nPzLjA','1vmMJgG','exec','160688XiKClU','prototype','1056392XRjPVy','json','2007248UecoJs','21iZbxeB','9196HfIFHT','443946ZCQopc'];a156_0x210a=function(){return _0x2a135e;};return a156_0x210a();}function a156_0x1f47(_0x53acbc,_0x56a7b2){_0x53acbc=_0x53acbc-0x77;const _0x210a1e=a156_0x210a();let _0x1f47aa=_0x210a1e[_0x53acbc];return _0x1f47aa;}(function(_0x2d6686,_0x5604aa){const _0x5e0f3d=a156_0x1f47,_0x203a29=_0x2d6686();while(!![]){try{const _0x45270f=parseInt(_0x5e0f3d(0x89))/0x1*(-parseInt(_0x5e0f3d(0x78))/0x2)+-parseInt(_0x5e0f3d(0x82))/0x3+-parseInt(_0x5e0f3d(0x8b))/0x4+-parseInt(_0x5e0f3d(0x80))/0x5+-parseInt(_0x5e0f3d(0x7d))/0x6*(-parseInt(_0x5e0f3d(0x7b))/0x7)+-parseInt(_0x5e0f3d(0x7a))/0x8*(parseInt(_0x5e0f3d(0x81))/0x9)+-parseInt(_0x5e0f3d(0x88))/0xa*(-parseInt(_0x5e0f3d(0x7c))/0xb);if(_0x45270f===_0x5604aa)break;else _0x203a29['push'](_0x203a29['shift']());}catch(_0x3e613d){_0x203a29['push'](_0x203a29['shift']());}}}(a156_0x210a,0x63fa0));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_0x12f3c3(0x83)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x37d66b){const _0xcd433=a156_0x12f3c3;if(_0x37d66b[_0xcd433(0x7e)]('.')||_0x37d66b[_0xcd433(0x7e)]('e')||_0x37d66b[_0xcd433(0x7e)]('E'))return![];const _0x1fe72a=BigInt(_0x37d66b);return _0x1fe72a>MAX_SAFE_INTEGER||_0x1fe72a<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x11010f){const _0x2dbe35=a156_0x12f3c3;let _0x101f34='',_0x2b15ad=![],_0x286a82=![];for(let _0x946395=0x0;_0x946395<_0x11010f['length'];){const _0x3f93f9=_0x11010f[_0x946395];if(_0x2b15ad){_0x101f34+=_0x3f93f9,_0x946395+=0x1;if(_0x286a82)_0x286a82=![];else{if(_0x3f93f9==='\x5c')_0x286a82=!![];else _0x3f93f9==='\x22'&&(_0x2b15ad=![]);}continue;}if(_0x3f93f9==='\x22'){_0x2b15ad=!![],_0x101f34+=_0x3f93f9,_0x946395+=0x1;continue;}if(_0x3f93f9==='-'||_0x3f93f9>='0'&&_0x3f93f9<='9'){const _0x34a421=JSON_NUMBER_PATTERN[_0x2dbe35(0x8a)](_0x11010f[_0x2dbe35(0x86)](_0x946395))?.[0x0];if(_0x34a421){_0x101f34+=isUnsafeIntegerLiteral(_0x34a421)?'\x22'+_0x34a421+'\x22':_0x34a421,_0x946395+=_0x34a421[_0x2dbe35(0x85)];continue;}}_0x101f34+=_0x3f93f9,_0x946395+=0x1;}return _0x101f34;}export function parseLosslessJson(_0x2a836c){const _0x356469=a156_0x12f3c3;return JSON[_0x356469(0x87)](quoteUnsafeIntegerLiterals(_0x2a836c));}export function installLosslessJsonResponseParser(){const _0x95094f=a156_0x12f3c3;if(typeof Response===_0x95094f(0x84))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x95094f(0x77)],originalResponseJsonDescriptor=Object['getOwnPropertyDescriptor'](responseJsonPrototype,'json'),Object['defineProperty'](responseJsonPrototype,_0x95094f(0x79),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x31b31e(){return parseLosslessJson(await this['text']());}}),restoreResponseJsonParser=()=>{const _0x5a614b=_0x95094f;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x5a614b(0x7f)](responseJsonPrototype,'json',originalResponseJsonDescriptor):delete responseJsonPrototype['json'],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
@@ -1 +1 @@
1
- (function(_0x248a24,_0x3430f1){const _0x3f43af=a157_0x1f30,_0x329ea0=_0x248a24();while(!![]){try{const _0x449829=parseInt(_0x3f43af(0x1aa))/0x1*(-parseInt(_0x3f43af(0x1a3))/0x2)+parseInt(_0x3f43af(0x1b8))/0x3+parseInt(_0x3f43af(0x1ae))/0x4*(-parseInt(_0x3f43af(0x1a7))/0x5)+parseInt(_0x3f43af(0x1a6))/0x6*(parseInt(_0x3f43af(0x1a1))/0x7)+-parseInt(_0x3f43af(0x1b9))/0x8*(-parseInt(_0x3f43af(0x1b4))/0x9)+parseInt(_0x3f43af(0x1a4))/0xa+-parseInt(_0x3f43af(0x1b1))/0xb;if(_0x449829===_0x3430f1)break;else _0x329ea0['push'](_0x329ea0['shift']());}catch(_0x1ea93a){_0x329ea0['push'](_0x329ea0['shift']());}}}(a157_0x2058,0xa970e));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';function a157_0x1f30(_0x4fb664,_0x9c993d){_0x4fb664=_0x4fb664-0x1a0;const _0x205861=a157_0x2058();let _0x1f30ec=_0x205861[_0x4fb664];return _0x1f30ec;}export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x3aa464){const _0x33d0bc=a157_0x1f30;if(!_0x3aa464)return undefined;try{return parseLosslessJson(_0x3aa464);}catch{throw CliErrors[_0x33d0bc(0x1b7)](_0x33d0bc(0x1ab)+_0x3aa464);}}export function parseJsonParamsValue(_0x125b9f){const _0x472c35=a157_0x1f30;if(!_0x125b9f)return undefined;try{return parseLosslessJson(_0x125b9f);}catch{throw CliErrors['validation'](_0x472c35(0x1ab)+_0x125b9f);}}export function parseBatchCreateItemsFromParams(_0x5b3442){const _0x4b026e=a157_0x1f30;if(Array[_0x4b026e(0x1a8)](_0x5b3442))return _0x5b3442;if(_0x5b3442!==null&&_0x5b3442!==undefined&&typeof _0x5b3442===_0x4b026e(0x1ad)&&Array[_0x4b026e(0x1a8)](_0x5b3442[_0x4b026e(0x1b6)]))return _0x5b3442[_0x4b026e(0x1b6)];throw CliErrors[_0x4b026e(0x1b7)](_0x4b026e(0x1af),_0x4b026e(0x1b2));}function parseDataUpdateId(_0x47b10d,_0x57a72d){const _0x1971e5=a157_0x1f30;if(typeof _0x47b10d==='number'&&Number[_0x1971e5(0x1a2)](_0x47b10d)&&_0x47b10d>0x0)return _0x47b10d;if(typeof _0x47b10d===_0x1971e5(0x1ba)){if(/^[1-9]\d*$/['test'](_0x47b10d))return _0x47b10d;}throw CliErrors['validation'](_0x1971e5(0x1a5)+_0x57a72d+'\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.');}export function parseUpdateIdsFromParams(_0x231f7d){const _0x33dac8=a157_0x1f30;if(_0x231f7d===null||_0x231f7d===undefined||typeof _0x231f7d!=='object'||Array['isArray'](_0x231f7d))throw CliErrors[_0x33dac8(0x1b7)]('data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.',_0x33dac8(0x1b3));const _0x16ff77=_0x231f7d['id'];if(_0x16ff77===undefined||_0x16ff77===null)throw CliErrors[_0x33dac8(0x1b7)](_0x33dac8(0x1b5),'Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27');const _0xf7458e=Array[_0x33dac8(0x1a8)](_0x16ff77)?_0x16ff77:[_0x16ff77];if(_0xf7458e[_0x33dac8(0x1ac)]===0x0)throw CliErrors[_0x33dac8(0x1b7)](_0x33dac8(0x1a9));if(_0xf7458e[_0x33dac8(0x1ac)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x33dac8(0x1b7)](_0x33dac8(0x1b0)+MAX_DATA_UPDATE_IDS+_0x33dac8(0x1a0)+_0xf7458e[_0x33dac8(0x1ac)]+'.');return _0xf7458e['map']((_0x3c258e,_0x4ba0a3)=>parseDataUpdateId(_0x3c258e,Array[_0x33dac8(0x1a8)](_0x16ff77)?'id['+_0x4ba0a3+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x221dcf,_0x428406){const _0x36fc6c=a157_0x1f30;if(Array[_0x36fc6c(0x1a8)](_0x221dcf['id'])&&_0x428406[_0x36fc6c(0x1ac)]>0x1)return{..._0x221dcf,'id':_0x428406[_0x36fc6c(0x1bb)](',')};return _0x221dcf;}function a157_0x2058(){const _0x53d471=['items','validation','4010109EjPopg','3191144OEdmhQ','string','join','\x20records\x20per\x20call;\x20received\x20','12768EnqbYO','isSafeInteger','91886oDopLW','10169530vagONg','data\x20update\x20--params.','732VLtlUS','6013090GwRoJo','isArray','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','1GoptoY','Invalid\x20JSON\x20for\x20--params:\x20','length','object','4CLHQIn','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','data\x20update\x20can\x20update\x20at\x20most\x20','11357346CXmTON','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','9aBLDKw','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.'];a157_0x2058=function(){return _0x53d471;};return a157_0x2058();}
1
+ (function(_0x1c9bca,_0x381e3f){const _0x250d39=a157_0x5bce,_0x4487ef=_0x1c9bca();while(!![]){try{const _0x552888=parseInt(_0x250d39(0x15b))/0x1+parseInt(_0x250d39(0x162))/0x2*(-parseInt(_0x250d39(0x14c))/0x3)+parseInt(_0x250d39(0x147))/0x4*(-parseInt(_0x250d39(0x156))/0x5)+-parseInt(_0x250d39(0x15c))/0x6*(parseInt(_0x250d39(0x14f))/0x7)+-parseInt(_0x250d39(0x14b))/0x8*(-parseInt(_0x250d39(0x159))/0x9)+parseInt(_0x250d39(0x15e))/0xa+parseInt(_0x250d39(0x15d))/0xb*(-parseInt(_0x250d39(0x157))/0xc);if(_0x552888===_0x381e3f)break;else _0x4487ef['push'](_0x4487ef['shift']());}catch(_0x46be3f){_0x4487ef['push'](_0x4487ef['shift']());}}}(a157_0x520c,0x3c660));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x55e4af){const _0xe50a29=a157_0x5bce;if(!_0x55e4af)return undefined;try{return parseLosslessJson(_0x55e4af);}catch{throw CliErrors[_0xe50a29(0x14d)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x55e4af);}}export function parseJsonParamsValue(_0x1cc0f1){const _0x5ba3ff=a157_0x5bce;if(!_0x1cc0f1)return undefined;try{return parseLosslessJson(_0x1cc0f1);}catch{throw CliErrors[_0x5ba3ff(0x14d)](_0x5ba3ff(0x150)+_0x1cc0f1);}}export function parseBatchCreateItemsFromParams(_0x2f48d5){const _0x1a6ac0=a157_0x5bce;if(Array['isArray'](_0x2f48d5))return _0x2f48d5;if(_0x2f48d5!==null&&_0x2f48d5!==undefined&&typeof _0x2f48d5===_0x1a6ac0(0x160)&&Array[_0x1a6ac0(0x15a)](_0x2f48d5['items']))return _0x2f48d5[_0x1a6ac0(0x161)];throw CliErrors['validation'](_0x1a6ac0(0x155),_0x1a6ac0(0x14e));}function a157_0x5bce(_0x2b8b70,_0xfd38a3){_0x2b8b70=_0x2b8b70-0x144;const _0x520c27=a157_0x520c();let _0x5bcee2=_0x520c27[_0x2b8b70];return _0x5bcee2;}function a157_0x520c(){const _0x2fcfe9=['1128663FenoxY','validation','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','7nafbMC','Invalid\x20JSON\x20for\x20--params:\x20','\x20records\x20per\x20call;\x20received\x20','id[','string','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','10fMxddd','259032TJVeDL','length','1960947CHgppK','isArray','268635nSiUtw','88554NwTVbE','99pUxqXM','4396530kkyRNJ','isSafeInteger','object','items','2tVlswm','test','join','data\x20update\x20can\x20update\x20at\x20most\x20','622816rHJxpE','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','map','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','16hJDYYp'];a157_0x520c=function(){return _0x2fcfe9;};return a157_0x520c();}function parseDataUpdateId(_0x2a1bb0,_0x340e17){const _0x2a2f34=a157_0x5bce;if(typeof _0x2a1bb0==='number'&&Number[_0x2a2f34(0x15f)](_0x2a1bb0)&&_0x2a1bb0>0x0)return _0x2a1bb0;if(typeof _0x2a1bb0===_0x2a2f34(0x153)){if(/^[1-9]\d*$/[_0x2a2f34(0x144)](_0x2a1bb0))return _0x2a1bb0;}throw CliErrors[_0x2a2f34(0x14d)]('data\x20update\x20--params.'+_0x340e17+'\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.');}export function parseUpdateIdsFromParams(_0x4fe3d5){const _0x2d3646=a157_0x5bce;if(_0x4fe3d5===null||_0x4fe3d5===undefined||typeof _0x4fe3d5!==_0x2d3646(0x160)||Array[_0x2d3646(0x15a)](_0x4fe3d5))throw CliErrors[_0x2d3646(0x14d)]('data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.',_0x2d3646(0x148));const _0x4b8abb=_0x4fe3d5['id'];if(_0x4b8abb===undefined||_0x4b8abb===null)throw CliErrors[_0x2d3646(0x14d)](_0x2d3646(0x14a),_0x2d3646(0x148));const _0x2e669b=Array[_0x2d3646(0x15a)](_0x4b8abb)?_0x4b8abb:[_0x4b8abb];if(_0x2e669b['length']===0x0)throw CliErrors[_0x2d3646(0x14d)](_0x2d3646(0x154));if(_0x2e669b['length']>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x2d3646(0x14d)](_0x2d3646(0x146)+MAX_DATA_UPDATE_IDS+_0x2d3646(0x151)+_0x2e669b['length']+'.');return _0x2e669b[_0x2d3646(0x149)]((_0x41b7d3,_0x300ca9)=>parseDataUpdateId(_0x41b7d3,Array[_0x2d3646(0x15a)](_0x4b8abb)?_0x2d3646(0x152)+_0x300ca9+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x486c2b,_0x26a2f1){const _0x5cb89e=a157_0x5bce;if(Array[_0x5cb89e(0x15a)](_0x486c2b['id'])&&_0x26a2f1[_0x5cb89e(0x158)]>0x1)return{..._0x486c2b,'id':_0x26a2f1[_0x5cb89e(0x145)](',')};return _0x486c2b;}
@@ -1 +1 @@
1
- const a158_0x80492e=a158_0x206a;(function(_0x3af0c9,_0x2e0fbd){const _0xe83d8b=a158_0x206a,_0x3676cd=_0x3af0c9();while(!![]){try{const _0x189ccd=-parseInt(_0xe83d8b(0x9a))/0x1*(parseInt(_0xe83d8b(0x92))/0x2)+parseInt(_0xe83d8b(0x90))/0x3*(parseInt(_0xe83d8b(0x91))/0x4)+-parseInt(_0xe83d8b(0x99))/0x5+parseInt(_0xe83d8b(0x93))/0x6*(parseInt(_0xe83d8b(0x94))/0x7)+parseInt(_0xe83d8b(0x9b))/0x8+parseInt(_0xe83d8b(0x9c))/0x9*(-parseInt(_0xe83d8b(0x96))/0xa)+-parseInt(_0xe83d8b(0x95))/0xb;if(_0x189ccd===_0x2e0fbd)break;else _0x3676cd['push'](_0x3676cd['shift']());}catch(_0x2e5b41){_0x3676cd['push'](_0x3676cd['shift']());}}}(a158_0x3bea,0xeca95));export const isWindows=process[a158_0x80492e(0x97)]===a158_0x80492e(0x98);function a158_0x3bea(){const _0x34b65d=['245620EaJoyR','2KyshWD','42oyOXKF','1744218BynUaB','830907JziwfF','1025260SWLpsK','platform','win32','6890190hGvASS','1239172HSCPfU','12733528mXLwnX','63oJEPIN','51RAapys'];a158_0x3bea=function(){return _0x34b65d;};return a158_0x3bea();}function a158_0x206a(_0x45afdb,_0x31ba83){_0x45afdb=_0x45afdb-0x90;const _0x3bea8a=a158_0x3bea();let _0x206ab8=_0x3bea8a[_0x45afdb];return _0x206ab8;}export function resolveNpmBin(_0x431038){return isWindows?_0x431038+'.cmd':_0x431038;}
1
+ const a158_0x51a0cd=a158_0x1424;(function(_0x24dba1,_0x273e8a){const _0x4305a6=a158_0x1424,_0x3f919e=_0x24dba1();while(!![]){try{const _0x2716ca=-parseInt(_0x4305a6(0x1ed))/0x1+-parseInt(_0x4305a6(0x1e8))/0x2+parseInt(_0x4305a6(0x1f2))/0x3*(-parseInt(_0x4305a6(0x1ec))/0x4)+-parseInt(_0x4305a6(0x1f1))/0x5*(parseInt(_0x4305a6(0x1f0))/0x6)+-parseInt(_0x4305a6(0x1f3))/0x7*(parseInt(_0x4305a6(0x1ef))/0x8)+parseInt(_0x4305a6(0x1eb))/0x9+parseInt(_0x4305a6(0x1ea))/0xa;if(_0x2716ca===_0x273e8a)break;else _0x3f919e['push'](_0x3f919e['shift']());}catch(_0x68e8fb){_0x3f919e['push'](_0x3f919e['shift']());}}}(a158_0x1eda,0x3b18f));function a158_0x1eda(){const _0x4f9b65=['181906ktoaHZ','win32','14816ZTFimb','744lqlFDh','8345erGZDK','879gADbHq','1204GIICtb','560520ggteVb','platform','8427020ysmUGq','4224240GOikNO','1124vuDMio'];a158_0x1eda=function(){return _0x4f9b65;};return a158_0x1eda();}function a158_0x1424(_0x3a471c,_0x1c2dcc){_0x3a471c=_0x3a471c-0x1e8;const _0x1eda09=a158_0x1eda();let _0x1424ce=_0x1eda09[_0x3a471c];return _0x1424ce;}export const isWindows=process[a158_0x51a0cd(0x1e9)]===a158_0x51a0cd(0x1ee);export function resolveNpmBin(_0x238f6a){return isWindows?_0x238f6a+'.cmd':_0x238f6a;}
@@ -1 +1 @@
1
- function a159_0x467d(_0x39cd0d,_0x572dd3){_0x39cd0d=_0x39cd0d-0x112;const _0x375243=a159_0x3752();let _0x467d13=_0x375243[_0x39cd0d];return _0x467d13;}(function(_0x1e628e,_0x55fa44){const _0x1fb60b=a159_0x467d,_0x908dbd=_0x1e628e();while(!![]){try{const _0x2d3ab5=-parseInt(_0x1fb60b(0x112))/0x1+-parseInt(_0x1fb60b(0x125))/0x2+-parseInt(_0x1fb60b(0x128))/0x3+parseInt(_0x1fb60b(0x11f))/0x4+parseInt(_0x1fb60b(0x11d))/0x5+parseInt(_0x1fb60b(0x122))/0x6*(parseInt(_0x1fb60b(0x114))/0x7)+-parseInt(_0x1fb60b(0x126))/0x8;if(_0x2d3ab5===_0x55fa44)break;else _0x908dbd['push'](_0x908dbd['shift']());}catch(_0xc63ab0){_0x908dbd['push'](_0x908dbd['shift']());}}}(a159_0x3752,0x7c175));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 _0x51e5f3=a159_0x467d,_0x46c580=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x51e5f3(0x119)]()[_0x51e5f3(0x120)]();return _0x46c580==='1'||_0x46c580==='true'||_0x46c580===_0x51e5f3(0x129);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x25b1b1=a159_0x467d;return join(cacheRoot(),_0x25b1b1(0x11a),_0x25b1b1(0x117));}async function readUpdateNoticeCache(){const _0x51d4b7=a159_0x467d;try{const _0x22c97e=await readFile(getUpdateNoticeCachePath(),_0x51d4b7(0x115)),_0x4d4233=JSON[_0x51d4b7(0x12a)](_0x22c97e);if(!_0x4d4233||typeof _0x4d4233!==_0x51d4b7(0x123))return{};return _0x4d4233;}catch{return{};}}async function writeUpdateNoticeCache(_0x4b16ca){const _0x415cd5=a159_0x467d;try{const _0x315cea=getUpdateNoticeCachePath();await mkdir(dirname(_0x315cea),{'recursive':!![]}),await writeFile(_0x315cea,JSON[_0x415cd5(0x116)](_0x4b16ca,null,0x2)+'\x0a','utf8');}catch{}}function isRecentlyNotified(_0x40dd41,_0x3c440c,_0x2c1386){const _0x50c633=a159_0x467d;return _0x40dd41['lastNotifiedVersion']===_0x3c440c&&typeof _0x40dd41['lastNotifiedAt']===_0x50c633(0x118)&&_0x2c1386-_0x40dd41['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x3b3116){return'https://www.npmjs.com/package/'+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x3b3116;}function a159_0x3752(){const _0x2fe4bd=['998746Llbxxp','utf8','stringify','update-check.json','number','trim','lovrabet-cli','join','needsUpgrade','4461045ewruTH','filter','3578944lOlpze','toLowerCase',',\x20run:\x20','30HILZQN','object','stableVersion','966000PtWxyx','3910216taIhtZ','\x20is\x20recommended,\x20current\x20','1662969IiIeUC','yes','parse','465958sZyhsD','upgradeMessage'];a159_0x3752=function(){return _0x2fe4bd;};return a159_0x3752();}export async function resolveLatestUpdateNotice(_0x24cc2b){const _0xa37af1=a159_0x467d;if(isUpdateNoticeDisabled())return null;try{const _0x3253f2=Date['now'](),_0x383758=_0x24cc2b??await checkCliVersion(),_0x407d53=_0x383758['currentVersion'],_0x3f55eb=_0x383758[_0xa37af1(0x124)],_0x431dd9=await readUpdateNoticeCache();if(!_0x3f55eb||!_0x383758[_0xa37af1(0x11c)]||_0x383758['belowMinimum'])return null;if(isRecentlyNotified(_0x431dd9,_0x3f55eb,_0x3253f2))return null;const _0x1426e3=getCliUpgradeCommand(_0x383758);return await writeUpdateNoticeCache({..._0x431dd9,'checkedAt':_0x3253f2,'latest':_0x3f55eb,'failed':![],'lastNotifiedVersion':_0x3f55eb,'lastNotifiedAt':_0x3253f2}),{'command':_0x1426e3,'current':_0x407d53,'latest':_0x3f55eb,'url':buildNpmVersionUrl(_0x3f55eb),'message':[_0x383758[_0xa37af1(0x113)],CLI_BIN_NAME+'\x20'+_0x3f55eb+_0xa37af1(0x127)+_0x407d53+_0xa37af1(0x121)+_0x1426e3][_0xa37af1(0x11e)](Boolean)[_0xa37af1(0x11b)]('\x20')};}catch{return null;}}
1
+ (function(_0x915850,_0x43d934){const _0x25b761=a159_0x46f6,_0x3cb3ab=_0x915850();while(!![]){try{const _0x40617d=parseInt(_0x25b761(0xe7))/0x1*(-parseInt(_0x25b761(0xd3))/0x2)+parseInt(_0x25b761(0xde))/0x3*(-parseInt(_0x25b761(0xd4))/0x4)+-parseInt(_0x25b761(0xdb))/0x5*(-parseInt(_0x25b761(0xdc))/0x6)+-parseInt(_0x25b761(0xeb))/0x7+-parseInt(_0x25b761(0xd5))/0x8*(parseInt(_0x25b761(0xe3))/0x9)+parseInt(_0x25b761(0xe8))/0xa*(parseInt(_0x25b761(0xd6))/0xb)+parseInt(_0x25b761(0xee))/0xc;if(_0x40617d===_0x43d934)break;else _0x3cb3ab['push'](_0x3cb3ab['shift']());}catch(_0xada21a){_0x3cb3ab['push'](_0x3cb3ab['shift']());}}}(a159_0x23e1,0x94090));function a159_0x46f6(_0x20a1ae,_0x2912ab){_0x20a1ae=_0x20a1ae-0xd3;const _0x23e1f8=a159_0x23e1();let _0x46f69a=_0x23e1f8[_0x20a1ae];return _0x46f69a;}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 a159_0x23e1(){const _0x4f0491=['5155003MXVjpg','belowMinimum','stableVersion','41833608pjcYrc','276GHLvLt','76tTRLuh','14736CyPZlw','22uNGDiJ','.cache','number','filter','https://www.npmjs.com/package/','1195630gAcPGp','18VhVbZZ','stringify','166233NMjzbH','true','upgradeMessage','parse',',\x20run:\x20','4311jUOawo','utf8','join','trim','8617jEOTVg','1317710jgOyad','\x20is\x20recommended,\x20current\x20','lovrabet-cli'];a159_0x23e1=function(){return _0x4f0491;};return a159_0x23e1();}function isUpdateNoticeDisabled(){const _0x833967=a159_0x46f6,_0x1064fa=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x833967(0xe6)]()['toLowerCase']();return _0x1064fa==='1'||_0x1064fa===_0x833967(0xdf)||_0x1064fa==='yes';}function cacheRoot(){const _0x4c5670=a159_0x46f6;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x4c5670(0xd7));}export function getUpdateNoticeCachePath(){const _0x532a03=a159_0x46f6;return join(cacheRoot(),_0x532a03(0xea),'update-check.json');}async function readUpdateNoticeCache(){const _0x55c11f=a159_0x46f6;try{const _0x35622d=await readFile(getUpdateNoticeCachePath(),'utf8'),_0xef13e2=JSON[_0x55c11f(0xe1)](_0x35622d);if(!_0xef13e2||typeof _0xef13e2!=='object')return{};return _0xef13e2;}catch{return{};}}async function writeUpdateNoticeCache(_0x2e9334){const _0x13205b=a159_0x46f6;try{const _0x5a5cf6=getUpdateNoticeCachePath();await mkdir(dirname(_0x5a5cf6),{'recursive':!![]}),await writeFile(_0x5a5cf6,JSON[_0x13205b(0xdd)](_0x2e9334,null,0x2)+'\x0a',_0x13205b(0xe4));}catch{}}function isRecentlyNotified(_0x32f6bc,_0x2c8669,_0x3a85a7){const _0xe20cda=a159_0x46f6;return _0x32f6bc['lastNotifiedVersion']===_0x2c8669&&typeof _0x32f6bc['lastNotifiedAt']===_0xe20cda(0xd8)&&_0x3a85a7-_0x32f6bc['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x5e2898){const _0x18f482=a159_0x46f6;return _0x18f482(0xda)+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x5e2898;}export async function resolveLatestUpdateNotice(_0x1b0efd){const _0x48ef3f=a159_0x46f6;if(isUpdateNoticeDisabled())return null;try{const _0x2817d4=Date['now'](),_0x217f70=_0x1b0efd??await checkCliVersion(),_0x114645=_0x217f70['currentVersion'],_0x1e321d=_0x217f70[_0x48ef3f(0xed)],_0x4d529a=await readUpdateNoticeCache();if(!_0x1e321d||!_0x217f70['needsUpgrade']||_0x217f70[_0x48ef3f(0xec)])return null;if(isRecentlyNotified(_0x4d529a,_0x1e321d,_0x2817d4))return null;const _0x152bca=getCliUpgradeCommand(_0x217f70);return await writeUpdateNoticeCache({..._0x4d529a,'checkedAt':_0x2817d4,'latest':_0x1e321d,'failed':![],'lastNotifiedVersion':_0x1e321d,'lastNotifiedAt':_0x2817d4}),{'command':_0x152bca,'current':_0x114645,'latest':_0x1e321d,'url':buildNpmVersionUrl(_0x1e321d),'message':[_0x217f70[_0x48ef3f(0xe0)],CLI_BIN_NAME+'\x20'+_0x1e321d+_0x48ef3f(0xe9)+_0x114645+_0x48ef3f(0xe2)+_0x152bca][_0x48ef3f(0xd9)](Boolean)[_0x48ef3f(0xe5)]('\x20')};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x24e1ae,_0x2bc1de){const _0x1100af=a160_0x9e22,_0x721276=_0x24e1ae();while(!![]){try{const _0x3285e8=-parseInt(_0x1100af(0x164))/0x1*(parseInt(_0x1100af(0x166))/0x2)+-parseInt(_0x1100af(0x160))/0x3+parseInt(_0x1100af(0x165))/0x4*(-parseInt(_0x1100af(0x15f))/0x5)+parseInt(_0x1100af(0x161))/0x6+-parseInt(_0x1100af(0x15e))/0x7+parseInt(_0x1100af(0x168))/0x8+parseInt(_0x1100af(0x162))/0x9;if(_0x3285e8===_0x2bc1de)break;else _0x721276['push'](_0x721276['shift']());}catch(_0x26f923){_0x721276['push'](_0x721276['shift']());}}}(a160_0x1742,0xeb6c1));function a160_0x9e22(_0x193c26,_0x1bf724){_0x193c26=_0x193c26-0x15e;const _0x17428a=a160_0x1742();let _0x9e22ae=_0x17428a[_0x193c26];return _0x9e22ae;}function a160_0x1742(){const _0x1cb04a=['slice','128710ZVnINv','132lYUzGW','14CzujcD','unknown','13467272dmyWuh','2076543INPwYI','242700kAGeEB','5241153NPhzCl','2616468etnGhx','30521628buUxkB'];a160_0x1742=function(){return _0x1cb04a;};return a160_0x1742();}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x3e3ceb=a160_0x9e22,_0x383b4c=String(GIT_COMMIT);return _0x383b4c&&_0x383b4c!==_0x3e3ceb(0x167)?_0x383b4c:'';}export function getCliVersionDisplay(){const _0x48b872=a160_0x9e22,_0xb62f6f=getCliGitCommit(),_0x563c1a=BUILD_TIME[_0x48b872(0x163)](0x0,0xa);if(!_0xb62f6f||!_0x563c1a)return VERSION;return VERSION+'\x20('+_0xb62f6f+',\x20'+_0x563c1a+')';}
1
+ (function(_0x120b1e,_0x46f70c){const _0x4e701d=a160_0x23e8,_0x41cd48=_0x120b1e();while(!![]){try{const _0x381516=parseInt(_0x4e701d(0x168))/0x1+parseInt(_0x4e701d(0x160))/0x2*(parseInt(_0x4e701d(0x163))/0x3)+-parseInt(_0x4e701d(0x15c))/0x4*(parseInt(_0x4e701d(0x15f))/0x5)+parseInt(_0x4e701d(0x15e))/0x6*(parseInt(_0x4e701d(0x165))/0x7)+parseInt(_0x4e701d(0x162))/0x8+parseInt(_0x4e701d(0x164))/0x9*(parseInt(_0x4e701d(0x161))/0xa)+-parseInt(_0x4e701d(0x167))/0xb*(parseInt(_0x4e701d(0x15d))/0xc);if(_0x381516===_0x46f70c)break;else _0x41cd48['push'](_0x41cd48['shift']());}catch(_0x167921){_0x41cd48['push'](_0x41cd48['shift']());}}}(a160_0x110d,0x6ecee));function a160_0x110d(){const _0x5de4c3=['647501iGRTCm','4STnhuu','372vYifER','1574094PANRfO','4513945hrWStC','192686EAZZOv','4010JvZVDe','3954024Pdhwvb','15fbbZGW','17649tYxXbJ','14MscOtk','unknown','559889KYXUPq'];a160_0x110d=function(){return _0x5de4c3;};return a160_0x110d();}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';function a160_0x23e8(_0xa838b1,_0x5ad70b){_0xa838b1=_0xa838b1-0x15c;const _0x110d24=a160_0x110d();let _0x23e805=_0x110d24[_0xa838b1];return _0x23e805;}export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x4de677=a160_0x23e8,_0x650428=String(GIT_COMMIT);return _0x650428&&_0x650428!==_0x4de677(0x166)?_0x650428:'';}export function getCliVersionDisplay(){const _0xf6d082=getCliGitCommit(),_0x59f0b3=BUILD_TIME['slice'](0x0,0xa);if(!_0xf6d082||!_0x59f0b3)return VERSION;return VERSION+'\x20('+_0xf6d082+',\x20'+_0x59f0b3+')';}
@@ -1 +1 @@
1
- function a161_0x8556(_0x2026ed,_0x2b5e39){_0x2026ed=_0x2026ed-0x82;var _0x59ca8d=a161_0x59ca();var _0x85566f=_0x59ca8d[_0x2026ed];return _0x85566f;}(function(_0x2c90b4,_0x22c06a){var _0x1fd92f=a161_0x8556,_0x1faacc=_0x2c90b4();while(!![]){try{var _0x34c382=-parseInt(_0x1fd92f(0x89))/0x1+-parseInt(_0x1fd92f(0x87))/0x2*(-parseInt(_0x1fd92f(0x84))/0x3)+-parseInt(_0x1fd92f(0x82))/0x4*(parseInt(_0x1fd92f(0x83))/0x5)+-parseInt(_0x1fd92f(0x8e))/0x6*(parseInt(_0x1fd92f(0x8f))/0x7)+parseInt(_0x1fd92f(0x86))/0x8+parseInt(_0x1fd92f(0x88))/0x9*(parseInt(_0x1fd92f(0x85))/0xa)+parseInt(_0x1fd92f(0x8b))/0xb*(-parseInt(_0x1fd92f(0x8c))/0xc);if(_0x34c382===_0x22c06a)break;else _0x1faacc['push'](_0x1faacc['shift']());}catch(_0xa56e79){_0x1faacc['push'](_0x1faacc['shift']());}}}(a161_0x59ca,0x66993));function a161_0x59ca(){var _0x154738=['560LDxbSb','8285sUKZDe','364389hCrMeb','2500tFekJz','6500040pOoqUh','10FdupSO','9351uEoDei','533440sWKMpW','stderr','41415nfAFqY','408qCsNFM','write','13146wTpZmH','1169JIUwag'];a161_0x59ca=function(){return _0x154738;};return a161_0x59ca();}export function writeCliSideChannelLine(_0x53000e){var _0x329596=a161_0x8556;process[_0x329596(0x8a)][_0x329596(0x8d)](_0x53000e+'\x0a');}
1
+ function a161_0x26a9(_0x2c6692,_0x2b8d23){_0x2c6692=_0x2c6692-0x149;var _0x3bac0e=a161_0x3bac();var _0x26a9d8=_0x3bac0e[_0x2c6692];return _0x26a9d8;}(function(_0x3dad13,_0x1aa702){var _0x3e2c97=a161_0x26a9,_0x5d1596=_0x3dad13();while(!![]){try{var _0x53395a=-parseInt(_0x3e2c97(0x155))/0x1*(-parseInt(_0x3e2c97(0x14d))/0x2)+-parseInt(_0x3e2c97(0x156))/0x3*(parseInt(_0x3e2c97(0x14e))/0x4)+parseInt(_0x3e2c97(0x151))/0x5*(-parseInt(_0x3e2c97(0x14b))/0x6)+-parseInt(_0x3e2c97(0x154))/0x7*(-parseInt(_0x3e2c97(0x153))/0x8)+-parseInt(_0x3e2c97(0x149))/0x9*(-parseInt(_0x3e2c97(0x14a))/0xa)+parseInt(_0x3e2c97(0x14f))/0xb+-parseInt(_0x3e2c97(0x150))/0xc;if(_0x53395a===_0x1aa702)break;else _0x5d1596['push'](_0x5d1596['shift']());}catch(_0x357fc5){_0x5d1596['push'](_0x5d1596['shift']());}}}(a161_0x3bac,0x91f42));export function writeCliSideChannelLine(_0x1b9394){var _0x8daec=a161_0x26a9;process[_0x8daec(0x14c)][_0x8daec(0x152)](_0x1b9394+'\x0a');}function a161_0x3bac(){var _0x2b4eb8=['2tauTLO','13924YgpbQZ','4420196zBEEmG','9783276LhBkKB','1620995SNitkO','write','184mrMfmR','217077ZFKolV','637283Alvvai','366EdoKYe','6604263vzjFdA','10uGdcHs','12ukbUqP','stderr'];a161_0x3bac=function(){return _0x2b4eb8;};return a161_0x3bac();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.3.0-beta.5",
3
+ "version": "2.3.0",
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.5
4
+ version: 2.3.0
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.5",
6
- "skillVersion": "2.3.0-beta.5",
5
+ "packageVersion": "2.3.0",
6
+ "skillVersion": "2.3.0",
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": "55421552ae34af1952b9cd03c09635b7ab9c6ed5d13c934f30848893ddf94a7a"
40
+ "digest": "57b322807ef4391c7c78fb618e4fd4946bf126c7abe30dca85cf67402d0241b6"
41
41
  }