@lovrabet/lovrabet-cli 2.3.4-beta.2 → 2.3.4

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 (169) 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/approval/index.js +1 -1
  12. package/lib/commands/artifact/index.js +1 -1
  13. package/lib/commands/auth/device.js +1 -1
  14. package/lib/commands/auth/index.js +1 -1
  15. package/lib/commands/auth/prompt.js +1 -1
  16. package/lib/commands/bff/detail.js +1 -1
  17. package/lib/commands/bff/exec.js +1 -1
  18. package/lib/commands/bff/index.js +1 -1
  19. package/lib/commands/cli-skill/index.js +1 -1
  20. package/lib/commands/common/config-policy.js +1 -1
  21. package/lib/commands/common/constraints.js +1 -1
  22. package/lib/commands/common/flags.js +1 -1
  23. package/lib/commands/common/local-file.js +1 -1
  24. package/lib/commands/config/definitions.js +1 -1
  25. package/lib/commands/config/init.js +1 -1
  26. package/lib/commands/config/shared.js +1 -1
  27. package/lib/commands/data/index.js +1 -1
  28. package/lib/commands/dataset/detail.js +1 -1
  29. package/lib/commands/dataset/index.js +1 -1
  30. package/lib/commands/dataset/list.js +1 -1
  31. package/lib/commands/dataset/sdk-doc.js +1 -1
  32. package/lib/commands/doctor.js +1 -1
  33. package/lib/commands/file/index.js +1 -1
  34. package/lib/commands/init.js +1 -1
  35. package/lib/commands/kb/index.js +1 -1
  36. package/lib/commands/logs/index.js +1 -1
  37. package/lib/commands/notification/config-list.js +1 -1
  38. package/lib/commands/notification/index.js +1 -1
  39. package/lib/commands/notification/shared.js +1 -1
  40. package/lib/commands/ocr/index.js +1 -1
  41. package/lib/commands/permit/dataset-get.js +1 -1
  42. package/lib/commands/permit/dataset-set.js +1 -1
  43. package/lib/commands/permit/index.js +1 -1
  44. package/lib/commands/permit/page-get.js +1 -1
  45. package/lib/commands/permit/page-set.js +1 -1
  46. package/lib/commands/permit/role-menus-set.js +1 -1
  47. package/lib/commands/permit/role-menus.js +1 -1
  48. package/lib/commands/permit/shared.js +1 -1
  49. package/lib/commands/personal-bff/index.js +1 -1
  50. package/lib/commands/registry.js +1 -1
  51. package/lib/commands/role/create.js +1 -1
  52. package/lib/commands/role/delete.js +1 -1
  53. package/lib/commands/role/detail.js +1 -1
  54. package/lib/commands/role/index.js +1 -1
  55. package/lib/commands/role/list.js +1 -1
  56. package/lib/commands/role/shared.js +1 -1
  57. package/lib/commands/role/update.js +1 -1
  58. package/lib/commands/role/user-add.js +1 -1
  59. package/lib/commands/role/user-remove.js +1 -1
  60. package/lib/commands/schedule/index.js +1 -1
  61. package/lib/commands/schema.js +1 -1
  62. package/lib/commands/service/dynamic.js +1 -1
  63. package/lib/commands/service/function-name-adapter.js +1 -1
  64. package/lib/commands/service/index.js +1 -1
  65. package/lib/commands/service/registry.js +1 -1
  66. package/lib/commands/skill/commands/create.js +1 -1
  67. package/lib/commands/skill/commands/diagram.js +1 -1
  68. package/lib/commands/skill/commands/install.js +1 -1
  69. package/lib/commands/skill/commands/list.js +1 -1
  70. package/lib/commands/skill/commands/push.js +1 -1
  71. package/lib/commands/skill/commands/validate.js +1 -1
  72. package/lib/commands/skill/diagram.js +1 -1
  73. package/lib/commands/skill/flags.js +1 -1
  74. package/lib/commands/skill/index.js +1 -1
  75. package/lib/commands/skill/manifest-helpers.js +1 -1
  76. package/lib/commands/skill/push-execute.js +1 -1
  77. package/lib/commands/skill/push-flow-helpers.js +1 -1
  78. package/lib/commands/skill/push-retarget.js +1 -1
  79. package/lib/commands/skill/scopes.js +1 -1
  80. package/lib/commands/skill/summary.js +1 -1
  81. package/lib/commands/skill/templates.js +1 -1
  82. package/lib/commands/skill/validate.js +1 -1
  83. package/lib/commands/sql/detail.js +1 -1
  84. package/lib/commands/sql/exec.js +1 -1
  85. package/lib/commands/sql/index.js +1 -1
  86. package/lib/commands/update.js +1 -1
  87. package/lib/commands/user-account/bind.js +1 -1
  88. package/lib/commands/user-account/index.js +1 -1
  89. package/lib/commands/workspace/index.js +1 -1
  90. package/lib/config/domain-config.js +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.js +1 -1
  105. package/lib/core/api-client.js +1 -1
  106. package/lib/core/db-resolver.js +1 -1
  107. package/lib/core/kb-search-client.js +1 -1
  108. package/lib/core/sdk-client.js +1 -1
  109. package/lib/errors.js +1 -1
  110. package/lib/framework/build-all-flags.js +1 -1
  111. package/lib/framework/dryrun.js +1 -1
  112. package/lib/framework/flags.js +1 -1
  113. package/lib/framework/help.js +1 -1
  114. package/lib/framework/index.js +1 -1
  115. package/lib/framework/output.js +1 -1
  116. package/lib/framework/preparse.js +1 -1
  117. package/lib/framework/rate-limit.js +1 -1
  118. package/lib/framework/raw-flags.js +1 -1
  119. package/lib/framework/response.js +1 -1
  120. package/lib/framework/runner-confirmation.js +1 -1
  121. package/lib/framework/runner-error.js +1 -1
  122. package/lib/framework/runner.js +1 -1
  123. package/lib/framework/schema-export.js +1 -1
  124. package/lib/framework/service-order.js +1 -1
  125. package/lib/framework/types.js +1 -1
  126. package/lib/generated/build-info.d.ts +4 -4
  127. package/lib/generated/build-info.js +1 -1
  128. package/lib/generated/official-routing.js +1 -1
  129. package/lib/generated/routing-contract.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/positive-safe-integer.js +1 -1
  163. package/lib/utils/redaction.js +1 -1
  164. package/lib/utils/update-notice.js +1 -1
  165. package/lib/utils/version.js +1 -1
  166. package/lib/utils/write-cli-side-channel.js +1 -1
  167. package/package.json +1 -1
  168. package/skills/lovrabet/SKILL.md +1 -1
  169. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- function a149_0xbf05(){const _0x1bccc4=['personal','6999240mrfROh','builtin','547059nMWmyW','validation','company','push','1341764oFJMrl','length','5665751nOfgAP','6184764BpDXzY','1695sMdFyj','13104oKvVAr','1610310dlBPKU','includes'];a149_0xbf05=function(){return _0x1bccc4;};return a149_0xbf05();}(function(_0x4d81df,_0x3c1841){const _0x539035=a149_0x36f0,_0x14a3dd=_0x4d81df();while(!![]){try{const _0x16b3b1=parseInt(_0x539035(0xf3))/0x1+-parseInt(_0x539035(0xf7))/0x2+parseInt(_0x539035(0xee))/0x3+-parseInt(_0x539035(0xfc))/0x4*(-parseInt(_0x539035(0xfb))/0x5)+-parseInt(_0x539035(0xfa))/0x6+-parseInt(_0x539035(0xf9))/0x7+parseInt(_0x539035(0xf1))/0x8;if(_0x16b3b1===_0x3c1841)break;else _0x14a3dd['push'](_0x14a3dd['shift']());}catch(_0x28c8a6){_0x14a3dd['push'](_0x14a3dd['shift']());}}}(a149_0xbf05,0x88495));import{CliErrors}from'../../errors.js';export function normalizeRuntimeSkillScopes(_0x14e06b){const _0x4464a7=a149_0x36f0,_0x5cbe4f=_0x14e06b&&_0x14e06b[_0x4464a7(0xf8)]>0x0?_0x14e06b:[_0x4464a7(0xf0),_0x4464a7(0xf5),_0x4464a7(0xf2)],_0x5ef49d=[];for(const _0xb1a64d of _0x5cbe4f){if(!isRuntimeSkillScope(_0xb1a64d))throw CliErrors[_0x4464a7(0xf4)]('Unsupported\x20runtime\x20Skill\x20scope:\x20'+_0xb1a64d);!_0x5ef49d[_0x4464a7(0xef)](_0xb1a64d)&&_0x5ef49d[_0x4464a7(0xf6)](_0xb1a64d);}return _0x5ef49d;}function a149_0x36f0(_0x5c7f9b,_0x574086){_0x5c7f9b=_0x5c7f9b-0xee;const _0xbf0508=a149_0xbf05();let _0x36f039=_0xbf0508[_0x5c7f9b];return _0x36f039;}export function isRuntimeSkillScope(_0x19ab48){const _0x1c76ed=a149_0x36f0;return _0x19ab48===_0x1c76ed(0xf0)||_0x19ab48===_0x1c76ed(0xf5)||_0x19ab48===_0x1c76ed(0xf2);}
1
+ (function(_0x144923,_0x4ad88a){const _0x25e62f=a149_0x5170,_0x3da734=_0x144923();while(!![]){try{const _0xd06809=-parseInt(_0x25e62f(0x1cb))/0x1+parseInt(_0x25e62f(0x1c3))/0x2+-parseInt(_0x25e62f(0x1cf))/0x3+-parseInt(_0x25e62f(0x1ca))/0x4+-parseInt(_0x25e62f(0x1c9))/0x5+parseInt(_0x25e62f(0x1d0))/0x6+parseInt(_0x25e62f(0x1cd))/0x7;if(_0xd06809===_0x4ad88a)break;else _0x3da734['push'](_0x3da734['shift']());}catch(_0x56d5e0){_0x3da734['push'](_0x3da734['shift']());}}}(a149_0x3feb,0xe3271));import{CliErrors}from'../../errors.js';function a149_0x5170(_0x38fbac,_0x507164){_0x38fbac=_0x38fbac-0x1c3;const _0x3febd2=a149_0x3feb();let _0x517091=_0x3febd2[_0x38fbac];return _0x517091;}function a149_0x3feb(){const _0x53a667=['543828TFSePg','2985808RlHgWD','validation','includes','push','builtin','personal','9425OagsqJ','573044zJxFBg','991759NPTCQJ','length','7666092yXDwxL','company','1834128MSXWwf'];a149_0x3feb=function(){return _0x53a667;};return a149_0x3feb();}export function normalizeRuntimeSkillScopes(_0x23cd7f){const _0x5bd787=a149_0x5170,_0x1d688b=_0x23cd7f&&_0x23cd7f[_0x5bd787(0x1cc)]>0x0?_0x23cd7f:[_0x5bd787(0x1c8),_0x5bd787(0x1ce),_0x5bd787(0x1c7)],_0x268fdd=[];for(const _0x1d0e93 of _0x1d688b){if(!isRuntimeSkillScope(_0x1d0e93))throw CliErrors[_0x5bd787(0x1c4)]('Unsupported\x20runtime\x20Skill\x20scope:\x20'+_0x1d0e93);!_0x268fdd[_0x5bd787(0x1c5)](_0x1d0e93)&&_0x268fdd[_0x5bd787(0x1c6)](_0x1d0e93);}return _0x268fdd;}export function isRuntimeSkillScope(_0x277a8d){const _0x596ae8=a149_0x5170;return _0x277a8d===_0x596ae8(0x1c8)||_0x277a8d===_0x596ae8(0x1ce)||_0x277a8d===_0x596ae8(0x1c7);}
@@ -1 +1 @@
1
- function a151_0x3ddb(_0x10ab98,_0x5a6bf6){_0x10ab98=_0x10ab98-0xce;const _0x5b2882=a151_0x5b28();let _0x3ddb91=_0x5b2882[_0x10ab98];return _0x3ddb91;}function a151_0x5b28(){const _0x347fd0=['length','9gpKOXF','path','3270378ykLcpy','endsWith','map','code','validation_error','5762608LPVfeR','69HVULLn','70005AExHPA','Runtime\x20Skill\x20package\x20is\x20not\x20a\x20valid\x20zip\x20file.','1318930kAYCJo','766889JtqwNG','39314hznlDK','validation','1065183xEQVHv','152dJfear','from','1980-01-01T00:00:00.000Z','name'];a151_0x5b28=function(){return _0x347fd0;};return a151_0x5b28();}const a151_0x177646=a151_0x3ddb;(function(_0x4135bb,_0x590d1e){const _0x1145b4=a151_0x3ddb,_0x23d091=_0x4135bb();while(!![]){try{const _0x3b180e=parseInt(_0x1145b4(0xdb))/0x1+-parseInt(_0x1145b4(0xdc))/0x2*(-parseInt(_0x1145b4(0xd7))/0x3)+-parseInt(_0x1145b4(0xdf))/0x4*(-parseInt(_0x1145b4(0xd8))/0x5)+-parseInt(_0x1145b4(0xd1))/0x6+-parseInt(_0x1145b4(0xde))/0x7+-parseInt(_0x1145b4(0xd6))/0x8+-parseInt(_0x1145b4(0xcf))/0x9*(-parseInt(_0x1145b4(0xda))/0xa);if(_0x3b180e===_0x590d1e)break;else _0x23d091['push'](_0x23d091['shift']());}catch(_0x1c9271){_0x23d091['push'](_0x23d091['shift']());}}}(a151_0x5b28,0x719dd));import{unzipSync,zipSync}from'fflate';import{CliErrors}from'../../errors.js';import{compareSkillFiles,fileContent,normalizeLocalFiles,normalizeSkillRelativePath}from'./local-files.js';const ZIP_MTIME=new Date(a151_0x177646(0xe1));export function createDeterministicZipPackage(_0x42bfa0){const _0x290368=a151_0x177646,_0xee25d7={};for(const _0x528ad8 of normalizeLocalFiles(_0x42bfa0)){_0xee25d7[_0x528ad8[_0x290368(0xd0)]]=fileContent(_0x528ad8);}return Buffer[_0x290368(0xe0)](zipSync(_0xee25d7,{'level':0x0,'mtime':ZIP_MTIME}));}export function parseZipPackage(_0x4c4703){const _0x380e46=a151_0x177646;if(_0x4c4703[_0x380e46(0xce)]<0x16)throw CliErrors[_0x380e46(0xdd)](_0x380e46(0xd9));let _0x37bfcd;try{_0x37bfcd=unzipSync(_0x4c4703,{'filter'(_0x42e0e1){const _0x2c6b27=_0x380e46,_0x25aaa3=normalizeSkillRelativePath(_0x42e0e1[_0x2c6b27(0xe2)]);if(_0x25aaa3[_0x2c6b27(0xd2)]('/'))throw CliErrors['validation']('Runtime\x20Skill\x20package\x20contains\x20directory\x20entry:\x20'+_0x25aaa3);return!![];}});}catch(_0x2febad){if(isRuntimeSkillValidationError(_0x2febad))throw _0x2febad;throw CliErrors[_0x380e46(0xdd)](_0x380e46(0xd9));}return Object['entries'](_0x37bfcd)[_0x380e46(0xd3)](([_0x7ff53d,_0x2645e0])=>({'path':normalizeSkillRelativePath(_0x7ff53d),'bytes':Buffer[_0x380e46(0xe0)](_0x2645e0)}))['sort'](compareSkillFiles);}function isRuntimeSkillValidationError(_0x567433){const _0x5ea5fe=a151_0x177646;return typeof _0x567433==='object'&&_0x567433!==null&&'code'in _0x567433&&_0x567433[_0x5ea5fe(0xd4)]===_0x5ea5fe(0xd5);}
1
+ const a151_0x143eb5=a151_0x363f;(function(_0x1ad54e,_0x203c72){const _0x931023=a151_0x363f,_0x3850c6=_0x1ad54e();while(!![]){try{const _0x5307e0=parseInt(_0x931023(0x1da))/0x1*(-parseInt(_0x931023(0x1e8))/0x2)+-parseInt(_0x931023(0x1e1))/0x3+parseInt(_0x931023(0x1e4))/0x4*(-parseInt(_0x931023(0x1e7))/0x5)+-parseInt(_0x931023(0x1df))/0x6+-parseInt(_0x931023(0x1e5))/0x7*(parseInt(_0x931023(0x1e9))/0x8)+parseInt(_0x931023(0x1d6))/0x9+parseInt(_0x931023(0x1e0))/0xa;if(_0x5307e0===_0x203c72)break;else _0x3850c6['push'](_0x3850c6['shift']());}catch(_0x308a04){_0x3850c6['push'](_0x3850c6['shift']());}}}(a151_0x1bb7,0xb9be2));import{unzipSync,zipSync}from'fflate';import{CliErrors}from'../../errors.js';function a151_0x1bb7(){const _0x5a3dc1=['276DtTKrN','99752YxsvAm','endsWith','5423526MFlkNW','length','validation_error','1980-01-01T00:00:00.000Z','5585CujUoi','map','from','object','sort','11454KwVfnQ','20815270YOewjI','215370kMIKSN','validation','Runtime\x20Skill\x20package\x20is\x20not\x20a\x20valid\x20zip\x20file.','4tlkGBn','294hPoEDU','path','2776060pZWWlo'];a151_0x1bb7=function(){return _0x5a3dc1;};return a151_0x1bb7();}import{compareSkillFiles,fileContent,normalizeLocalFiles,normalizeSkillRelativePath}from'./local-files.js';const ZIP_MTIME=new Date(a151_0x143eb5(0x1d9));export function createDeterministicZipPackage(_0x243178){const _0x50b4f8=a151_0x143eb5,_0xda121e={};for(const _0x294d83 of normalizeLocalFiles(_0x243178)){_0xda121e[_0x294d83[_0x50b4f8(0x1e6)]]=fileContent(_0x294d83);}return Buffer[_0x50b4f8(0x1dc)](zipSync(_0xda121e,{'level':0x0,'mtime':ZIP_MTIME}));}function a151_0x363f(_0x255d7c,_0x156146){_0x255d7c=_0x255d7c-0x1d5;const _0x1bb7fb=a151_0x1bb7();let _0x363f80=_0x1bb7fb[_0x255d7c];return _0x363f80;}export function parseZipPackage(_0xa1db86){const _0x575faa=a151_0x143eb5;if(_0xa1db86[_0x575faa(0x1d7)]<0x16)throw CliErrors[_0x575faa(0x1e2)](_0x575faa(0x1e3));let _0x24f826;try{_0x24f826=unzipSync(_0xa1db86,{'filter'(_0x21f8b7){const _0x1c5fd3=_0x575faa,_0x2467ad=normalizeSkillRelativePath(_0x21f8b7['name']);if(_0x2467ad[_0x1c5fd3(0x1d5)]('/'))throw CliErrors[_0x1c5fd3(0x1e2)]('Runtime\x20Skill\x20package\x20contains\x20directory\x20entry:\x20'+_0x2467ad);return!![];}});}catch(_0x3d7301){if(isRuntimeSkillValidationError(_0x3d7301))throw _0x3d7301;throw CliErrors[_0x575faa(0x1e2)](_0x575faa(0x1e3));}return Object['entries'](_0x24f826)[_0x575faa(0x1db)](([_0x2f6145,_0x4dec06])=>({'path':normalizeSkillRelativePath(_0x2f6145),'bytes':Buffer[_0x575faa(0x1dc)](_0x4dec06)}))[_0x575faa(0x1de)](compareSkillFiles);}function isRuntimeSkillValidationError(_0x5488dd){const _0x1473ac=a151_0x143eb5;return typeof _0x5488dd===_0x1473ac(0x1dd)&&_0x5488dd!==null&&'code'in _0x5488dd&&_0x5488dd['code']===_0x1473ac(0x1d8);}
@@ -1 +1 @@
1
- (function(_0x2c6600,_0x3c8e45){const _0x133d65=a152_0x2427,_0xfc069a=_0x2c6600();while(!![]){try{const _0x1fe171=parseInt(_0x133d65(0x1f4))/0x1*(-parseInt(_0x133d65(0x1f6))/0x2)+parseInt(_0x133d65(0x201))/0x3*(parseInt(_0x133d65(0x1df))/0x4)+-parseInt(_0x133d65(0x204))/0x5+parseInt(_0x133d65(0x1ef))/0x6*(parseInt(_0x133d65(0x1ec))/0x7)+-parseInt(_0x133d65(0x1f7))/0x8+-parseInt(_0x133d65(0x203))/0x9*(-parseInt(_0x133d65(0x206))/0xa)+-parseInt(_0x133d65(0x1f1))/0xb*(-parseInt(_0x133d65(0x1e4))/0xc);if(_0x1fe171===_0x3c8e45)break;else _0xfc069a['push'](_0xfc069a['shift']());}catch(_0x3e8aa1){_0xfc069a['push'](_0xfc069a['shift']());}}}(a152_0x312f,0xaeb81));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(_0x24a883){const _0x2e409a=a152_0x2427,_0x179ba5=normalizeLocalFiles(_0x24a883);if(!_0x179ba5['some'](_0x58f231=>_0x58f231[_0x2e409a(0x1e6)]===SKILL_FILE))throw CliErrors['validation'](_0x2e409a(0x202)+SKILL_FILE+_0x2e409a(0x1f2));const _0x2efc23=localFilesToManifestFiles(_0x179ba5),_0x51b4b2=createDeterministicZipPackage(_0x179ba5);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x2efc23),'zipSha256':bufferSha256(_0x51b4b2),'zipSize':_0x51b4b2['length'],'files':_0x2efc23},'packageBytes':_0x51b4b2,'packageBase64':_0x51b4b2[_0x2e409a(0x1ee)](_0x2e409a(0x1ed))};}function a152_0x312f(){const _0x1b8a34=['18dGDIRk','Missing\x20','7002TMqnjl','1515285juDylp','zipSha256','6730wplpsl','object','bytes','Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20','length','requireOssPath','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','files','Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20','schemaVersion','push','852356qHyLcx','zipSize','Runtime\x20Skill\x20package\x20size\x20mismatch.','some','Runtime\x20Skill\x20package\x20is\x20missing\x20','12Qdmlfv','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','path','Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20','isSafeInteger','validation','size','treeSha256','8762642bmKcsb','base64','toString','6UJddcK','Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.','788689QQalIL','\x20in\x20Skill\x20file\x20package.','Runtime\x20Skill\x20manifest\x20is\x20missing\x20','813041RWQplm','toLowerCase','2AxdDKP','10351088hlkruD','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','trim','string','Duplicate\x20Skill\x20package\x20entry:\x20','map','get','isArray','ossPath','Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.'];a152_0x312f=function(){return _0x1b8a34;};return a152_0x312f();}export function verifyRuntimeSkillPackage(_0x18c55d,_0x52c786){const _0x2b74b9=a152_0x2427,_0x396b8c=normalizePackageManifest(_0x18c55d,{'requireOssPath':![]});if(!_0x396b8c)throw CliErrors['validation'](_0x2b74b9(0x1e5));return extractAndVerifyPackage(_0x396b8c,_0x52c786);}export function verifyRuntimeSkillBundle(_0x49116d,_0x523717){const _0x52dc21=a152_0x2427,_0x3c5115=normalizePackageManifest(_0x49116d,{'requireOssPath':![]});if(!_0x3c5115)throw CliErrors[_0x52dc21(0x1e9)](_0x52dc21(0x1e5));return extractAndVerifyPackageFiles(_0x3c5115,_0x523717);}export function tryNormalizePackageManifest(_0x233557){return normalizePackageManifest(_0x233557,{'requireOssPath':![]});}export function requirePackageBytes(_0x2fe183,_0x23bedb){const _0x3eeddf=a152_0x2427;if(!_0x23bedb||_0x23bedb[_0x3eeddf(0x20a)]===0x0)throw CliErrors[_0x3eeddf(0x1e9)](_0x3eeddf(0x1dc)+_0x2fe183);return _0x23bedb;}export function extractDownloadedPackage(_0x497daa){const _0x349f4f=a152_0x2427,_0x332f22=parseZipPackage(_0x497daa)[_0x349f4f(0x1fc)](_0x5801f0=>({'path':_0x5801f0['path'],'bytes':_0x5801f0['bytes']}));if(!_0x332f22[_0x349f4f(0x1e2)](_0x31c1fd=>_0x31c1fd[_0x349f4f(0x1e6)]===SKILL_FILE))throw CliErrors[_0x349f4f(0x1e9)](_0x349f4f(0x1e3)+SKILL_FILE+'.');return normalizeLocalFiles(_0x332f22);}export function localFilesToManifestFiles(_0x218b7b){const _0x3f76d2=a152_0x2427;return normalizeLocalFiles(_0x218b7b)[_0x3f76d2(0x1fc)](_0x4f7b89=>({'path':_0x4f7b89[_0x3f76d2(0x1e6)],'sha256':fileHash(_0x4f7b89),'size':fileContent(_0x4f7b89)[_0x3f76d2(0x20a)]}));}function normalizePackageManifest(_0x2bf3b7,_0x9881c){const _0x418301=a152_0x2427;if(!_0x2bf3b7||typeof _0x2bf3b7!==_0x418301(0x207)||Array['isArray'](_0x2bf3b7))return undefined;const _0x3f073a=_0x2bf3b7,_0x4a24df=typeof _0x3f073a[_0x418301(0x1ff)]===_0x418301(0x1fa)?_0x3f073a[_0x418301(0x1ff)][_0x418301(0x1f9)]():undefined;if(_0x9881c[_0x418301(0x20b)]&&!_0x4a24df)return undefined;if(!Array[_0x418301(0x1fe)](_0x3f073a[_0x418301(0x1db)])||_0x3f073a[_0x418301(0x1db)]['length']===0x0)return undefined;if(!isSha256Hex(_0x3f073a[_0x418301(0x1eb)]))throw CliErrors[_0x418301(0x1e9)](_0x418301(0x200));if(!isSha256Hex(_0x3f073a[_0x418301(0x205)]))throw CliErrors[_0x418301(0x1e9)](_0x418301(0x1da));if(!Number[_0x418301(0x1e8)](_0x3f073a[_0x418301(0x1e0)])||_0x3f073a['zipSize']<0x0)throw CliErrors['validation'](_0x418301(0x1f8));const _0x27fb70=normalizeManifestFiles(_0x3f073a[_0x418301(0x1db)]);if(!_0x27fb70[_0x418301(0x1e2)](_0x1fe4ef=>_0x1fe4ef[_0x418301(0x1e6)]===SKILL_FILE))throw CliErrors[_0x418301(0x1e9)](_0x418301(0x1f3)+SKILL_FILE+'.');const _0x494e0e=fileTreeHash(_0x27fb70);if(_0x494e0e!==_0x3f073a[_0x418301(0x1eb)]['toLowerCase']())throw CliErrors[_0x418301(0x1e9)]('Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.');return{'schemaVersion':Number[_0x418301(0x1e8)](_0x3f073a[_0x418301(0x1dd)])?_0x3f073a[_0x418301(0x1dd)]:0x2,'ossPath':_0x4a24df,'treeSha256':_0x494e0e,'zipSha256':_0x3f073a['zipSha256'][_0x418301(0x1f5)](),'zipSize':_0x3f073a['zipSize'],'files':_0x27fb70};}function extractAndVerifyPackage(_0x10994a,_0x42ac94){const _0x5a741f=a152_0x2427,_0x51ab6d=normalizePackageManifest(_0x10994a,{'requireOssPath':![]});if(!_0x51ab6d)throw CliErrors[_0x5a741f(0x1e9)]('Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.');if(_0x42ac94[_0x5a741f(0x20a)]!==_0x51ab6d[_0x5a741f(0x1e0)])throw CliErrors['validation'](_0x5a741f(0x1e1));const _0x1a7153=bufferSha256(_0x42ac94);if(_0x1a7153!==_0x51ab6d[_0x5a741f(0x205)])throw CliErrors[_0x5a741f(0x1e9)]('Runtime\x20Skill\x20package\x20sha256\x20mismatch.');return extractAndVerifyPackageFiles(_0x51ab6d,_0x42ac94);}function a152_0x2427(_0xd98bad,_0xd41e51){_0xd98bad=_0xd98bad-0x1da;const _0x312f76=a152_0x312f();let _0x242728=_0x312f76[_0xd98bad];return _0x242728;}function extractAndVerifyPackageFiles(_0x36c7ec,_0x18fef9){const _0x24f845=a152_0x2427,_0x24b7f9=parseZipPackage(_0x18fef9);if(_0x24b7f9[_0x24f845(0x20a)]!==_0x36c7ec['files'][_0x24f845(0x20a)])throw CliErrors[_0x24f845(0x1e9)](_0x24f845(0x1f0));const _0x352632=new Map();for(const _0x568718 of _0x24b7f9){if(_0x352632['has'](_0x568718[_0x24f845(0x1e6)]))throw CliErrors[_0x24f845(0x1e9)](_0x24f845(0x1fb)+_0x568718['path']);_0x352632['set'](_0x568718[_0x24f845(0x1e6)],_0x568718);}const _0x4543b5=[];for(const _0x3eb92f of _0x36c7ec['files']){const _0xc2158e=_0x352632[_0x24f845(0x1fd)](_0x3eb92f[_0x24f845(0x1e6)]);if(!_0xc2158e)throw CliErrors['validation']('Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20'+_0x3eb92f[_0x24f845(0x1e6)]);if(_0xc2158e['bytes'][_0x24f845(0x20a)]!==_0x3eb92f[_0x24f845(0x1ea)])throw CliErrors[_0x24f845(0x1e9)](_0x24f845(0x209)+_0x3eb92f[_0x24f845(0x1e6)]);const _0x38dcc4=bufferSha256(_0xc2158e[_0x24f845(0x208)]);if(_0x38dcc4!==_0x3eb92f['sha256'])throw CliErrors[_0x24f845(0x1e9)](_0x24f845(0x1e7)+_0x3eb92f[_0x24f845(0x1e6)]);_0x4543b5[_0x24f845(0x1de)]({'path':_0x3eb92f[_0x24f845(0x1e6)],'bytes':_0xc2158e[_0x24f845(0x208)]});}return normalizeLocalFiles(_0x4543b5);}
1
+ (function(_0x36bf9c,_0x58297b){const _0x44a811=a152_0x3a1c,_0x5b869a=_0x36bf9c();while(!![]){try{const _0x59e2a5=-parseInt(_0x44a811(0x189))/0x1+parseInt(_0x44a811(0x171))/0x2+parseInt(_0x44a811(0x16f))/0x3+parseInt(_0x44a811(0x178))/0x4+parseInt(_0x44a811(0x184))/0x5+-parseInt(_0x44a811(0x194))/0x6*(-parseInt(_0x44a811(0x175))/0x7)+parseInt(_0x44a811(0x188))/0x8*(-parseInt(_0x44a811(0x197))/0x9);if(_0x59e2a5===_0x58297b)break;else _0x5b869a['push'](_0x5b869a['shift']());}catch(_0x50f630){_0x5b869a['push'](_0x5b869a['shift']());}}}(a152_0x45fb,0x635a6));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';function a152_0x3a1c(_0x378d94,_0x29f798){_0x378d94=_0x378d94-0x16f;const _0x45fb5e=a152_0x45fb();let _0x3a1ce6=_0x45fb5e[_0x378d94];return _0x3a1ce6;}import{createDeterministicZipPackage,parseZipPackage}from'./zip-codec.js';export function buildSkillPackage(_0x1356ec){const _0x3b3211=a152_0x3a1c,_0x47c65e=normalizeLocalFiles(_0x1356ec);if(!_0x47c65e[_0x3b3211(0x17f)](_0x54e3e8=>_0x54e3e8['path']===SKILL_FILE))throw CliErrors[_0x3b3211(0x17b)](_0x3b3211(0x17e)+SKILL_FILE+_0x3b3211(0x199));const _0x3d1f6f=localFilesToManifestFiles(_0x47c65e),_0x171135=createDeterministicZipPackage(_0x47c65e);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x3d1f6f),'zipSha256':bufferSha256(_0x171135),'zipSize':_0x171135['length'],'files':_0x3d1f6f},'packageBytes':_0x171135,'packageBase64':_0x171135[_0x3b3211(0x195)]('base64')};}export function verifyRuntimeSkillPackage(_0x397acb,_0x1940d3){const _0x2d8e4d=a152_0x3a1c,_0x396b18=normalizePackageManifest(_0x397acb,{'requireOssPath':![]});if(!_0x396b18)throw CliErrors[_0x2d8e4d(0x17b)]('Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.');return extractAndVerifyPackage(_0x396b18,_0x1940d3);}export function verifyRuntimeSkillBundle(_0x60bc3b,_0x22709d){const _0x1ff210=normalizePackageManifest(_0x60bc3b,{'requireOssPath':![]});if(!_0x1ff210)throw CliErrors['validation']('Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.');return extractAndVerifyPackageFiles(_0x1ff210,_0x22709d);}export function tryNormalizePackageManifest(_0x5c3e8d){return normalizePackageManifest(_0x5c3e8d,{'requireOssPath':![]});}export function requirePackageBytes(_0xb0b92b,_0x47b2a2){const _0x4067b2=a152_0x3a1c;if(!_0x47b2a2||_0x47b2a2['length']===0x0)throw CliErrors[_0x4067b2(0x17b)](_0x4067b2(0x19d)+_0xb0b92b);return _0x47b2a2;}export function extractDownloadedPackage(_0x2efeae){const _0x32c46c=a152_0x3a1c,_0x2c96f1=parseZipPackage(_0x2efeae)[_0x32c46c(0x18f)](_0x2540f4=>({'path':_0x2540f4[_0x32c46c(0x182)],'bytes':_0x2540f4[_0x32c46c(0x183)]}));if(!_0x2c96f1['some'](_0x1e4bc1=>_0x1e4bc1[_0x32c46c(0x182)]===SKILL_FILE))throw CliErrors['validation'](_0x32c46c(0x180)+SKILL_FILE+'.');return normalizeLocalFiles(_0x2c96f1);}export function localFilesToManifestFiles(_0x2189bd){const _0x553485=a152_0x3a1c;return normalizeLocalFiles(_0x2189bd)[_0x553485(0x18f)](_0x2fea53=>({'path':_0x2fea53[_0x553485(0x182)],'sha256':fileHash(_0x2fea53),'size':fileContent(_0x2fea53)[_0x553485(0x19c)]}));}function a152_0x45fb(){const _0x3b986b=['get','Runtime\x20Skill\x20package\x20sha256\x20mismatch.','validation','size','trim','Missing\x20','some','Runtime\x20Skill\x20package\x20is\x20missing\x20','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','path','bytes','658590AHxfJZ','object','zipSha256','Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.','152wfGPVm','422831SSWory','sha256','requireOssPath','push','isArray','Runtime\x20Skill\x20package\x20size\x20mismatch.','map','files','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','treeSha256','6PuApkU','toString','schemaVersion','338895tjoNom','Duplicate\x20Skill\x20package\x20entry:\x20','\x20in\x20Skill\x20file\x20package.','Runtime\x20Skill\x20manifest\x20is\x20missing\x20','string','length','Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20','192900kEbzVx','Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20','1420622TgRdYy','zipSize','Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20','Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20','1033613rEswan','Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.','toLowerCase','1964952ODgCll'];a152_0x45fb=function(){return _0x3b986b;};return a152_0x45fb();}function normalizePackageManifest(_0x3ea821,_0x55c5ed){const _0x36a097=a152_0x3a1c;if(!_0x3ea821||typeof _0x3ea821!==_0x36a097(0x185)||Array[_0x36a097(0x18d)](_0x3ea821))return undefined;const _0x53f169=_0x3ea821,_0x5cbf10=typeof _0x53f169['ossPath']===_0x36a097(0x19b)?_0x53f169['ossPath'][_0x36a097(0x17d)]():undefined;if(_0x55c5ed[_0x36a097(0x18b)]&&!_0x5cbf10)return undefined;if(!Array[_0x36a097(0x18d)](_0x53f169['files'])||_0x53f169['files'][_0x36a097(0x19c)]===0x0)return undefined;if(!isSha256Hex(_0x53f169[_0x36a097(0x193)]))throw CliErrors['validation'](_0x36a097(0x187));if(!isSha256Hex(_0x53f169[_0x36a097(0x186)]))throw CliErrors[_0x36a097(0x17b)](_0x36a097(0x181));if(!Number['isSafeInteger'](_0x53f169[_0x36a097(0x172)])||_0x53f169[_0x36a097(0x172)]<0x0)throw CliErrors[_0x36a097(0x17b)](_0x36a097(0x191));const _0x4905eb=normalizeManifestFiles(_0x53f169[_0x36a097(0x190)]);if(!_0x4905eb[_0x36a097(0x17f)](_0x4872cd=>_0x4872cd[_0x36a097(0x182)]===SKILL_FILE))throw CliErrors[_0x36a097(0x17b)](_0x36a097(0x19a)+SKILL_FILE+'.');const _0xcad3b4=fileTreeHash(_0x4905eb);if(_0xcad3b4!==_0x53f169[_0x36a097(0x193)][_0x36a097(0x177)]())throw CliErrors[_0x36a097(0x17b)]('Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.');return{'schemaVersion':Number['isSafeInteger'](_0x53f169[_0x36a097(0x196)])?_0x53f169['schemaVersion']:0x2,'ossPath':_0x5cbf10,'treeSha256':_0xcad3b4,'zipSha256':_0x53f169['zipSha256'][_0x36a097(0x177)](),'zipSize':_0x53f169[_0x36a097(0x172)],'files':_0x4905eb};}function extractAndVerifyPackage(_0x447250,_0x19b17c){const _0xfa6d60=a152_0x3a1c,_0xc810db=normalizePackageManifest(_0x447250,{'requireOssPath':![]});if(!_0xc810db)throw CliErrors[_0xfa6d60(0x17b)](_0xfa6d60(0x192));if(_0x19b17c[_0xfa6d60(0x19c)]!==_0xc810db['zipSize'])throw CliErrors[_0xfa6d60(0x17b)](_0xfa6d60(0x18e));const _0x33e79c=bufferSha256(_0x19b17c);if(_0x33e79c!==_0xc810db['zipSha256'])throw CliErrors[_0xfa6d60(0x17b)](_0xfa6d60(0x17a));return extractAndVerifyPackageFiles(_0xc810db,_0x19b17c);}function extractAndVerifyPackageFiles(_0x14e457,_0x46677c){const _0x33d791=a152_0x3a1c,_0x108f93=parseZipPackage(_0x46677c);if(_0x108f93[_0x33d791(0x19c)]!==_0x14e457['files'][_0x33d791(0x19c)])throw CliErrors[_0x33d791(0x17b)](_0x33d791(0x176));const _0x96c8c=new Map();for(const _0x26572e of _0x108f93){if(_0x96c8c['has'](_0x26572e[_0x33d791(0x182)]))throw CliErrors[_0x33d791(0x17b)](_0x33d791(0x198)+_0x26572e['path']);_0x96c8c['set'](_0x26572e[_0x33d791(0x182)],_0x26572e);}const _0x30f42f=[];for(const _0x5525c8 of _0x14e457['files']){const _0x72a0fa=_0x96c8c[_0x33d791(0x179)](_0x5525c8['path']);if(!_0x72a0fa)throw CliErrors[_0x33d791(0x17b)](_0x33d791(0x170)+_0x5525c8[_0x33d791(0x182)]);if(_0x72a0fa[_0x33d791(0x183)]['length']!==_0x5525c8[_0x33d791(0x17c)])throw CliErrors[_0x33d791(0x17b)](_0x33d791(0x173)+_0x5525c8[_0x33d791(0x182)]);const _0x21d687=bufferSha256(_0x72a0fa[_0x33d791(0x183)]);if(_0x21d687!==_0x5525c8[_0x33d791(0x18a)])throw CliErrors[_0x33d791(0x17b)](_0x33d791(0x174)+_0x5525c8[_0x33d791(0x182)]);_0x30f42f[_0x33d791(0x18c)]({'path':_0x5525c8[_0x33d791(0x182)],'bytes':_0x72a0fa[_0x33d791(0x183)]});}return normalizeLocalFiles(_0x30f42f);}
@@ -1 +1 @@
1
- (function(_0x130481,_0x3e16e8){var _0x18a23f=a153_0x2a02,_0x56ac1a=_0x130481();while(!![]){try{var _0x17325d=parseInt(_0x18a23f(0xe6))/0x1*(parseInt(_0x18a23f(0xe9))/0x2)+-parseInt(_0x18a23f(0xe3))/0x3+-parseInt(_0x18a23f(0xe4))/0x4*(parseInt(_0x18a23f(0xe7))/0x5)+parseInt(_0x18a23f(0xea))/0x6+-parseInt(_0x18a23f(0xe5))/0x7+-parseInt(_0x18a23f(0xe8))/0x8+-parseInt(_0x18a23f(0xec))/0x9*(-parseInt(_0x18a23f(0xeb))/0xa);if(_0x17325d===_0x3e16e8)break;else _0x56ac1a['push'](_0x56ac1a['shift']());}catch(_0x34b5df){_0x56ac1a['push'](_0x56ac1a['shift']());}}}(a153_0x2173,0xee0e8));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 a153_0x2a02(_0x66f5db,_0x37c2db){_0x66f5db=_0x66f5db-0xe3;var _0x21731c=a153_0x2173();var _0x2a0288=_0x21731c[_0x66f5db];return _0x2a0288;}export{listLocalRuntimeSkills}from'./runtime-skill-sync/list-local.js';function a153_0x2173(){var _0x146d6f=['2865435JazQID','8mQVvnS','2208143XwnulF','40531edgXHd','1871015OZhVbJ','513608TUlEMr','22neFujm','5358150CbpbPb','310ELbcFX','499185msoASI'];a153_0x2173=function(){return _0x146d6f;};return a153_0x2173();}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';export{buildSkillPackage,verifyRuntimeSkillBundle,verifyRuntimeSkillPackage}from'./runtime-skill-sync/zip-package.js';
1
+ (function(_0x5232cc,_0x5930c5){var _0xbbb465=a153_0x19bd,_0x26afec=_0x5232cc();while(!![]){try{var _0x99c0e1=parseInt(_0xbbb465(0xd4))/0x1+-parseInt(_0xbbb465(0xd1))/0x2*(parseInt(_0xbbb465(0xd5))/0x3)+-parseInt(_0xbbb465(0xd7))/0x4*(parseInt(_0xbbb465(0xd2))/0x5)+-parseInt(_0xbbb465(0xd6))/0x6*(-parseInt(_0xbbb465(0xd8))/0x7)+parseInt(_0xbbb465(0xd0))/0x8+parseInt(_0xbbb465(0xd3))/0x9+parseInt(_0xbbb465(0xda))/0xa*(-parseInt(_0xbbb465(0xd9))/0xb);if(_0x99c0e1===_0x5930c5)break;else _0x26afec['push'](_0x26afec['shift']());}catch(_0x183ecf){_0x26afec['push'](_0x26afec['shift']());}}}(a153_0x593e,0xd893a));export{contentHash,fileTreeHash}from'./runtime-skill-sync/hashing.js';export{linkEffectiveRuntimeSkills,linkGlobalRuntimeSkills,pruneStaleRuntimeSkillCache,pruneStaleRuntimeSkillLinks}from'./runtime-skill-sync/links.js';function a153_0x593e(){var _0x515fb4=['10oiYbuw','576448AqKPbq','4XgPyJq','60430VTtQjE','6338592AXlRke','1732857RrCqIn','1189080BfBDTk','6imOkmH','344kWqZUg','4777563PQodwo','5197456sbQbAB'];a153_0x593e=function(){return _0x515fb4;};return a153_0x593e();}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';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 a153_0x19bd(_0x3b5558,_0x413693){_0x3b5558=_0x3b5558-0xd0;var _0x593ed6=a153_0x593e();var _0x19bd73=_0x593ed6[_0x3b5558];return _0x19bd73;}export{buildSkillPackage,verifyRuntimeSkillBundle,verifyRuntimeSkillPackage}from'./runtime-skill-sync/zip-package.js';
@@ -1 +1 @@
1
- const a154_0x1fab0a=a154_0x5f4a;(function(_0x1564a6,_0x350218){const _0x2cc4da=a154_0x5f4a,_0x3fdd0f=_0x1564a6();while(!![]){try{const _0x57dc78=parseInt(_0x2cc4da(0x18d))/0x1+-parseInt(_0x2cc4da(0x181))/0x2*(parseInt(_0x2cc4da(0x17c))/0x3)+parseInt(_0x2cc4da(0x17d))/0x4+parseInt(_0x2cc4da(0x194))/0x5+parseInt(_0x2cc4da(0x196))/0x6+-parseInt(_0x2cc4da(0x17b))/0x7+-parseInt(_0x2cc4da(0x184))/0x8;if(_0x57dc78===_0x350218)break;else _0x3fdd0f['push'](_0x3fdd0f['shift']());}catch(_0x567660){_0x3fdd0f['push'](_0x3fdd0f['shift']());}}}(a154_0xc62f,0x326a0));import{existsSync,readFileSync}from'node:fs';function a154_0x5f4a(_0xf94536,_0x5c7e64){_0xf94536=_0xf94536-0x178;const _0xc62f58=a154_0xc62f();let _0x5f4a15=_0xc62f58[_0xf94536];return _0x5f4a15;}import{homedir}from'node:os';import{join}from'node:path';export const SKILL_LOCK_RELATIVE_PATH=join('.agents','.skill-lock.json');export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join('.agents',a154_0x1fab0a(0x18e)),join('.claude',a154_0x1fab0a(0x18e))];const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0x18cad7,_0x1403e1){const _0x533fa1=a154_0x1fab0a;if(!existsSync(_0x18cad7))return{'kind':'not-recorded'};let _0x2bebd1;try{_0x2bebd1=JSON[_0x533fa1(0x188)](readFileSync(_0x18cad7,'utf8'));}catch(_0x24979c){return{'kind':_0x533fa1(0x186),'reason':_0x18cad7+_0x533fa1(0x190)+_0x24979c[_0x533fa1(0x180)]};}const _0x1f98fa=_0x2bebd1;if(typeof _0x1f98fa?.['version']!==_0x533fa1(0x17a)||!SUPPORTED_LOCK_VERSIONS[_0x533fa1(0x183)](_0x1f98fa['version']))return{'kind':_0x533fa1(0x186),'reason':_0x18cad7+_0x533fa1(0x178)+String(_0x1f98fa?.[_0x533fa1(0x17e)])};if(!_0x1f98fa['skills']||typeof _0x1f98fa['skills']!=='object')return{'kind':_0x533fa1(0x186),'reason':_0x18cad7+'\x20has\x20no\x20skills\x20map'};return _0x1f98fa[_0x533fa1(0x18e)][_0x1403e1]?{'kind':_0x533fa1(0x18b)}:{'kind':'not-recorded'};}export function resolveInstalledSkill(_0x1cc783,_0x2ea46d){const _0x39c568=a154_0x1fab0a,_0x507e3a=_0x2ea46d?.[_0x39c568(0x189)]??homedir(),_0x521e89=_0x2ea46d?.[_0x39c568(0x187)]??GLOBAL_SKILLS_DIR_RELATIVE_PATHS['map'](_0x4b0662=>join(_0x507e3a,_0x4b0662)),_0x3c68ae=_0x2ea46d?.[_0x39c568(0x179)]??join(_0x507e3a,SKILL_LOCK_RELATIVE_PATH),_0x234d19=_0x521e89[_0x39c568(0x18a)](_0x5126ca=>join(_0x5126ca,_0x1cc783,_0x39c568(0x17f))),_0x1f86f8=_0x234d19[_0x39c568(0x182)](_0x68e1b5=>existsSync(_0x68e1b5));if(_0x1f86f8)return{'state':_0x39c568(0x193),'path':_0x1f86f8};const _0x45c3a5=readLockLookup(_0x3c68ae,_0x1cc783);if(_0x45c3a5[_0x39c568(0x195)]===_0x39c568(0x186))return{'state':'unverifiable','reason':_0x45c3a5[_0x39c568(0x18c)]};if(_0x45c3a5[_0x39c568(0x195)]===_0x39c568(0x18b))return{'state':_0x39c568(0x18f),'reason':_0x3c68ae+_0x39c568(0x192)+_0x1cc783+_0x39c568(0x185)+('('+_0x234d19['join'](',\x20')+')')};return{'state':_0x39c568(0x191),'checked':_0x234d19};}function a154_0xc62f(){const _0x5f5807=['3265528PvkdoP','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','unusable','globalSkillsDirs','parse','home','map','recorded','reason','285463TzeAVV','skills','unverifiable','\x20is\x20unreadable:\x20','absent','\x20records\x20\x22','present','1019505LnOQyo','kind','210096FZxMli','\x20uses\x20unsupported\x20version\x20','lockFile','number','224973KDdngC','3gyRAIx','1545564IEEKNr','version','SKILL.md','message','527890dxCinQ','find','includes'];a154_0xc62f=function(){return _0x5f5807;};return a154_0xc62f();}
1
+ const a154_0x317ff8=a154_0x44aa;(function(_0x17e972,_0x172b21){const _0x183b1a=a154_0x44aa,_0x4082ff=_0x17e972();while(!![]){try{const _0x1fb08b=-parseInt(_0x183b1a(0x155))/0x1*(-parseInt(_0x183b1a(0x156))/0x2)+-parseInt(_0x183b1a(0x143))/0x3+-parseInt(_0x183b1a(0x158))/0x4+parseInt(_0x183b1a(0x148))/0x5+-parseInt(_0x183b1a(0x14a))/0x6*(-parseInt(_0x183b1a(0x152))/0x7)+parseInt(_0x183b1a(0x14e))/0x8*(parseInt(_0x183b1a(0x139))/0x9)+-parseInt(_0x183b1a(0x154))/0xa;if(_0x1fb08b===_0x172b21)break;else _0x4082ff['push'](_0x4082ff['shift']());}catch(_0x1f120a){_0x4082ff['push'](_0x4082ff['shift']());}}}(a154_0x1721,0x24229));import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';import{join}from'node:path';export const SKILL_LOCK_RELATIVE_PATH=join(a154_0x317ff8(0x153),a154_0x317ff8(0x159));export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join(a154_0x317ff8(0x153),'skills'),join(a154_0x317ff8(0x146),a154_0x317ff8(0x141))];const SUPPORTED_LOCK_VERSIONS=[0x3];function a154_0x44aa(_0x34f3e1,_0x317351){_0x34f3e1=_0x34f3e1-0x138;const _0x172129=a154_0x1721();let _0x44aa04=_0x172129[_0x34f3e1];return _0x44aa04;}function a154_0x1721(){const _0x24e92d=['lockFile','globalSkillsDirs','map','absent','parse','unverifiable','skills','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','115590VyQCms','number','reason','.claude','\x20uses\x20unsupported\x20version\x20','1258875xokHQq','home','1403646kywSPU','SKILL.md','utf8','message','64tBhxCI','object','present','not-recorded','7YHLjKk','.agents','5522240RdSTBT','22969sPGoOb','18MDGKGW','includes','584104muzsbV','.skill-lock.json','\x20records\x20\x22','unusable','version','\x20has\x20no\x20skills\x20map','kind','216396CRKbgX','recorded'];a154_0x1721=function(){return _0x24e92d;};return a154_0x1721();}function readLockLookup(_0xcab5b9,_0xa338e8){const _0x3e04c6=a154_0x317ff8;if(!existsSync(_0xcab5b9))return{'kind':'not-recorded'};let _0x342002;try{_0x342002=JSON[_0x3e04c6(0x13f)](readFileSync(_0xcab5b9,_0x3e04c6(0x14c)));}catch(_0x15567c){return{'kind':'unusable','reason':_0xcab5b9+'\x20is\x20unreadable:\x20'+_0x15567c[_0x3e04c6(0x14d)]};}const _0x42a940=_0x342002;if(typeof _0x42a940?.[_0x3e04c6(0x15c)]!==_0x3e04c6(0x144)||!SUPPORTED_LOCK_VERSIONS[_0x3e04c6(0x157)](_0x42a940[_0x3e04c6(0x15c)]))return{'kind':_0x3e04c6(0x15b),'reason':_0xcab5b9+_0x3e04c6(0x147)+String(_0x42a940?.[_0x3e04c6(0x15c)])};if(!_0x42a940['skills']||typeof _0x42a940[_0x3e04c6(0x141)]!==_0x3e04c6(0x14f))return{'kind':_0x3e04c6(0x15b),'reason':_0xcab5b9+_0x3e04c6(0x15d)};return _0x42a940[_0x3e04c6(0x141)][_0xa338e8]?{'kind':'recorded'}:{'kind':_0x3e04c6(0x151)};}export function resolveInstalledSkill(_0x55567a,_0x38a741){const _0x407c26=a154_0x317ff8,_0x335161=_0x38a741?.[_0x407c26(0x149)]??homedir(),_0xcfb1cd=_0x38a741?.[_0x407c26(0x13c)]??GLOBAL_SKILLS_DIR_RELATIVE_PATHS['map'](_0x4c7be5=>join(_0x335161,_0x4c7be5)),_0x2b658c=_0x38a741?.[_0x407c26(0x13b)]??join(_0x335161,SKILL_LOCK_RELATIVE_PATH),_0x49f058=_0xcfb1cd[_0x407c26(0x13d)](_0x59beaf=>join(_0x59beaf,_0x55567a,_0x407c26(0x14b))),_0x21584d=_0x49f058['find'](_0x6832b1=>existsSync(_0x6832b1));if(_0x21584d)return{'state':_0x407c26(0x150),'path':_0x21584d};const _0x6e6a0c=readLockLookup(_0x2b658c,_0x55567a);if(_0x6e6a0c[_0x407c26(0x138)]===_0x407c26(0x15b))return{'state':_0x407c26(0x140),'reason':_0x6e6a0c[_0x407c26(0x145)]};if(_0x6e6a0c[_0x407c26(0x138)]===_0x407c26(0x13a))return{'state':_0x407c26(0x140),'reason':_0x2b658c+_0x407c26(0x15a)+_0x55567a+_0x407c26(0x142)+('('+_0x49f058['join'](',\x20')+')')};return{'state':_0x407c26(0x13e),'checked':_0x49f058};}
@@ -1 +1 @@
1
- const a155_0x662fe7=a155_0x4a97;(function(_0x493bdb,_0x59436c){const _0x336258=a155_0x4a97,_0x33dab8=_0x493bdb();while(!![]){try{const _0x206e6d=-parseInt(_0x336258(0xec))/0x1*(-parseInt(_0x336258(0xee))/0x2)+-parseInt(_0x336258(0xf3))/0x3*(parseInt(_0x336258(0xfd))/0x4)+parseInt(_0x336258(0xea))/0x5*(parseInt(_0x336258(0xef))/0x6)+-parseInt(_0x336258(0xf5))/0x7*(-parseInt(_0x336258(0xf1))/0x8)+parseInt(_0x336258(0xf0))/0x9+-parseInt(_0x336258(0xf9))/0xa+parseInt(_0x336258(0xff))/0xb*(-parseInt(_0x336258(0x100))/0xc);if(_0x206e6d===_0x59436c)break;else _0x33dab8['push'](_0x33dab8['shift']());}catch(_0x26d88d){_0x33dab8['push'](_0x33dab8['shift']());}}}(a155_0x2cf8,0xd22b5));function a155_0x4a97(_0x4c18e7,_0x3a3c6b){_0x4c18e7=_0x4c18e7-0xe8;const _0x2cf832=a155_0x2cf8();let _0x4a9790=_0x2cf832[_0x4c18e7];return _0x4a9790;}const REDACTED_ACCESS_KEY=a155_0x662fe7(0xfe);export function maskCliAccessKey(_0x239343){const _0x4cd667=a155_0x662fe7;if(typeof _0x239343!==_0x4cd667(0xe9)||_0x239343['length']<=0x8)return REDACTED_ACCESS_KEY;return''+_0x239343[_0x4cd667(0xed)](0x0,0x8)+'*'[_0x4cd667(0xf4)](_0x239343['length']-0x8);}export function redactCliConfigCredentials(_0x5d3c07){const _0x3a5841=a155_0x662fe7,_0xaafe76={..._0x5d3c07};return Object[_0x3a5841(0xfa)][_0x3a5841(0xfb)][_0x3a5841(0xe8)](_0xaafe76,'accessKey')&&(_0xaafe76[_0x3a5841(0xf2)]=maskCliAccessKey(_0xaafe76[_0x3a5841(0xf2)])),_0xaafe76[_0x3a5841(0xf8)]&&typeof _0xaafe76[_0x3a5841(0xf8)]===_0x3a5841(0xf7)&&!Array[_0x3a5841(0x101)](_0xaafe76[_0x3a5841(0xf8)])&&(_0xaafe76['apps']=redactLegacyAppCredentials(_0xaafe76[_0x3a5841(0xf8)])),_0xaafe76;}function a155_0x2cf8(){const _0x518327=['72330XgMxDs','prototype','hasOwnProperty','test','326604STjJwv','<redacted>','43967IIHLDN','8292LprsRH','isArray','call','string','140ZxvpIU','map','2dZtPOI','slice','1332348kekUgl','85962dOByPj','10161144MYvSgq','120uLnOTS','accessKey','6bznhWm','repeat','434371Zjobre','entries','object','apps'];a155_0x2cf8=function(){return _0x518327;};return a155_0x2cf8();}export function redactCliConfigValue(_0x4045b4,_0x46cef6){const _0x3e2eb3=a155_0x662fe7;if(_0x4045b4===_0x3e2eb3(0xf2)||/^apps\.[^.]+\.accessKey$/[_0x3e2eb3(0xfc)](_0x4045b4))return maskCliAccessKey(_0x46cef6);if(_0x4045b4==='apps'&&_0x46cef6&&typeof _0x46cef6==='object'&&!Array['isArray'](_0x46cef6))return redactLegacyAppCredentials(_0x46cef6);if(/^apps\.[^.]+$/[_0x3e2eb3(0xfc)](_0x4045b4)&&_0x46cef6&&typeof _0x46cef6===_0x3e2eb3(0xf7)&&!Array[_0x3e2eb3(0x101)](_0x46cef6)){const _0x381fc2=_0x46cef6;return Object[_0x3e2eb3(0xfa)][_0x3e2eb3(0xfb)][_0x3e2eb3(0xe8)](_0x381fc2,'accessKey')?{..._0x381fc2,'accessKey':maskCliAccessKey(_0x381fc2['accessKey'])}:_0x46cef6;}return _0x46cef6;}function redactLegacyAppCredentials(_0x465a50){const _0x1e6f39=a155_0x662fe7;return Object['fromEntries'](Object[_0x1e6f39(0xf6)](_0x465a50)[_0x1e6f39(0xeb)](([_0x2b4433,_0x14d4dd])=>{const _0x5122b6=_0x1e6f39;if(!_0x14d4dd||typeof _0x14d4dd!=='object'||Array[_0x5122b6(0x101)](_0x14d4dd))return[_0x2b4433,_0x14d4dd];const _0x1ed6d4={..._0x14d4dd};return Object[_0x5122b6(0xfa)]['hasOwnProperty'][_0x5122b6(0xe8)](_0x1ed6d4,'accessKey')&&(_0x1ed6d4['accessKey']=maskCliAccessKey(_0x1ed6d4[_0x5122b6(0xf2)])),[_0x2b4433,_0x1ed6d4];}));}
1
+ const a155_0x36b2a0=a155_0x1495;(function(_0x69324c,_0x14330c){const _0x161083=a155_0x1495,_0x39e412=_0x69324c();while(!![]){try{const _0x9d39e7=parseInt(_0x161083(0x1dc))/0x1+parseInt(_0x161083(0x1d2))/0x2+parseInt(_0x161083(0x1d4))/0x3*(parseInt(_0x161083(0x1de))/0x4)+-parseInt(_0x161083(0x1cf))/0x5*(-parseInt(_0x161083(0x1da))/0x6)+parseInt(_0x161083(0x1c8))/0x7*(parseInt(_0x161083(0x1d6))/0x8)+parseInt(_0x161083(0x1e1))/0x9+-parseInt(_0x161083(0x1d5))/0xa;if(_0x9d39e7===_0x14330c)break;else _0x39e412['push'](_0x39e412['shift']());}catch(_0x5bd7cb){_0x39e412['push'](_0x39e412['shift']());}}}(a155_0x539f,0x457a4));const REDACTED_ACCESS_KEY=a155_0x36b2a0(0x1d9);export function maskCliAccessKey(_0x20dcb4){const _0x4d2e34=a155_0x36b2a0;if(typeof _0x20dcb4!==_0x4d2e34(0x1ce)||_0x20dcb4['length']<=0x8)return REDACTED_ACCESS_KEY;return''+_0x20dcb4[_0x4d2e34(0x1ca)](0x0,0x8)+'*'[_0x4d2e34(0x1db)](_0x20dcb4[_0x4d2e34(0x1d1)]-0x8);}function a155_0x1495(_0x538658,_0x19f8fa){_0x538658=_0x538658-0x1c8;const _0x539f44=a155_0x539f();let _0x1495e9=_0x539f44[_0x538658];return _0x1495e9;}export function redactCliConfigCredentials(_0x30076b){const _0x44efc1=a155_0x36b2a0,_0x3072b6={..._0x30076b};return Object[_0x44efc1(0x1e0)][_0x44efc1(0x1df)]['call'](_0x3072b6,'accessKey')&&(_0x3072b6[_0x44efc1(0x1d8)]=maskCliAccessKey(_0x3072b6[_0x44efc1(0x1d8)])),_0x3072b6['apps']&&typeof _0x3072b6[_0x44efc1(0x1cd)]===_0x44efc1(0x1cb)&&!Array['isArray'](_0x3072b6[_0x44efc1(0x1cd)])&&(_0x3072b6['apps']=redactLegacyAppCredentials(_0x3072b6['apps'])),_0x3072b6;}export function redactCliConfigValue(_0x55e8e1,_0x2de258){const _0x1281ed=a155_0x36b2a0;if(_0x55e8e1===_0x1281ed(0x1d8)||/^apps\.[^.]+\.accessKey$/[_0x1281ed(0x1dd)](_0x55e8e1))return maskCliAccessKey(_0x2de258);if(_0x55e8e1==='apps'&&_0x2de258&&typeof _0x2de258===_0x1281ed(0x1cb)&&!Array[_0x1281ed(0x1c9)](_0x2de258))return redactLegacyAppCredentials(_0x2de258);if(/^apps\.[^.]+$/[_0x1281ed(0x1dd)](_0x55e8e1)&&_0x2de258&&typeof _0x2de258===_0x1281ed(0x1cb)&&!Array[_0x1281ed(0x1c9)](_0x2de258)){const _0x19c688=_0x2de258;return Object['prototype']['hasOwnProperty'][_0x1281ed(0x1d3)](_0x19c688,_0x1281ed(0x1d8))?{..._0x19c688,'accessKey':maskCliAccessKey(_0x19c688[_0x1281ed(0x1d8)])}:_0x2de258;}return _0x2de258;}function a155_0x539f(){const _0x2d8025=['isArray','slice','object','entries','apps','string','65TduwpT','map','length','427876bOnFrL','call','476001ECyoxw','21175590fhjTSB','16880wDmXcj','fromEntries','accessKey','<redacted>','177774DkDjpO','repeat','497817nlGFhJ','test','12ziesde','hasOwnProperty','prototype','4671324pVzAuH','1029RawNnx'];a155_0x539f=function(){return _0x2d8025;};return a155_0x539f();}function redactLegacyAppCredentials(_0x47ef63){const _0x3d922e=a155_0x36b2a0;return Object[_0x3d922e(0x1d7)](Object[_0x3d922e(0x1cc)](_0x47ef63)[_0x3d922e(0x1d0)](([_0x3f0812,_0x4ac143])=>{const _0x131f5d=_0x3d922e;if(!_0x4ac143||typeof _0x4ac143!==_0x131f5d(0x1cb)||Array[_0x131f5d(0x1c9)](_0x4ac143))return[_0x3f0812,_0x4ac143];const _0xa95801={..._0x4ac143};return Object[_0x131f5d(0x1e0)]['hasOwnProperty'][_0x131f5d(0x1d3)](_0xa95801,_0x131f5d(0x1d8))&&(_0xa95801[_0x131f5d(0x1d8)]=maskCliAccessKey(_0xa95801['accessKey'])),[_0x3f0812,_0xa95801];}));}
@@ -1 +1 @@
1
- (function(_0x595679,_0x10f0a6){const _0x31dd07=a156_0x38a8,_0x52be45=_0x595679();while(!![]){try{const _0x2e1b02=-parseInt(_0x31dd07(0x1cc))/0x1*(-parseInt(_0x31dd07(0x1cf))/0x2)+-parseInt(_0x31dd07(0x1cb))/0x3*(-parseInt(_0x31dd07(0x1cd))/0x4)+-parseInt(_0x31dd07(0x1ca))/0x5+parseInt(_0x31dd07(0x1d2))/0x6+-parseInt(_0x31dd07(0x1d3))/0x7*(parseInt(_0x31dd07(0x1d0))/0x8)+parseInt(_0x31dd07(0x1d1))/0x9+-parseInt(_0x31dd07(0x1ce))/0xa;if(_0x2e1b02===_0x10f0a6)break;else _0x52be45['push'](_0x52be45['shift']());}catch(_0x44addc){_0x52be45['push'](_0x52be45['shift']());}}}(a156_0x36f4,0xa364f));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a156_0x38a8(_0x4aaa9d,_0x25d2cd){_0x4aaa9d=_0x4aaa9d-0x1ca;const _0x36f409=a156_0x36f4();let _0x38a863=_0x36f409[_0x4aaa9d];return _0x38a863;}import{CliErrors}from'../errors.js';function a156_0x36f4(){const _0x2f7316=['6910002UCmMaT','7KIFvdO','5742570MOJhuN','1791AqEAXb','397HhKOBy','6988dZpuRC','9435720NrkbIE','622PSyNZp','769416BwztcG','4854897YSuGkw'];a156_0x36f4=function(){return _0x2f7316;};return a156_0x36f4();}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x5709e9,_0x5902db){const _0x419d75=a156_0x1129,_0x297045=_0x5709e9();while(!![]){try{const _0x51bde2=-parseInt(_0x419d75(0x1f0))/0x1+parseInt(_0x419d75(0x1ea))/0x2*(parseInt(_0x419d75(0x1eb))/0x3)+parseInt(_0x419d75(0x1ed))/0x4+parseInt(_0x419d75(0x1ef))/0x5*(parseInt(_0x419d75(0x1e6))/0x6)+-parseInt(_0x419d75(0x1e8))/0x7*(-parseInt(_0x419d75(0x1e5))/0x8)+-parseInt(_0x419d75(0x1e9))/0x9*(-parseInt(_0x419d75(0x1ee))/0xa)+parseInt(_0x419d75(0x1ec))/0xb*(-parseInt(_0x419d75(0x1e7))/0xc);if(_0x51bde2===_0x5902db)break;else _0x297045['push'](_0x297045['shift']());}catch(_0x31ef1b){_0x297045['push'](_0x297045['shift']());}}}(a156_0x3685,0xf320f));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a156_0x1129(_0x13d7a8,_0x5c6c77){_0x13d7a8=_0x13d7a8-0x1e5;const _0x36853f=a156_0x3685();let _0x112994=_0x36853f[_0x13d7a8];return _0x112994;}function a156_0x3685(){const _0x2c413b=['175Pywjcf','1258676OMceLC','324952XQxlTM','207558uIYdJJ','23542284MOXLhy','287tIrCEr','4539690jIiQlx','2UfKRDF','1127526HCdrwP','11QCAzmP','1840008RiKZLU','10aDweHy'];a156_0x3685=function(){return _0x2c413b;};return a156_0x3685();}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- (function(_0x3f69e8,_0x2f8480){const _0x37f54d=a157_0x47eb,_0x1e5f9d=_0x3f69e8();while(!![]){try{const _0x40f6ec=-parseInt(_0x37f54d(0x111))/0x1*(-parseInt(_0x37f54d(0x105))/0x2)+-parseInt(_0x37f54d(0x10b))/0x3*(parseInt(_0x37f54d(0x107))/0x4)+-parseInt(_0x37f54d(0x10f))/0x5*(parseInt(_0x37f54d(0x108))/0x6)+parseInt(_0x37f54d(0x101))/0x7+-parseInt(_0x37f54d(0x110))/0x8*(-parseInt(_0x37f54d(0xfa))/0x9)+-parseInt(_0x37f54d(0x10a))/0xa*(parseInt(_0x37f54d(0xf9))/0xb)+-parseInt(_0x37f54d(0x112))/0xc*(-parseInt(_0x37f54d(0x102))/0xd);if(_0x40f6ec===_0x2f8480)break;else _0x1e5f9d['push'](_0x1e5f9d['shift']());}catch(_0x44227f){_0x1e5f9d['push'](_0x1e5f9d['shift']());}}}(a157_0x50d8,0xd367e));import a157_0x3ac9d4 from'semver';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';function a157_0x47eb(_0xf5811,_0x59478b){_0xf5811=_0xf5811-0xf9;const _0x50d8a4=a157_0x50d8();let _0x47eb21=_0x50d8a4[_0xf5811];return _0x47eb21;}import{CliErrors}from'../errors.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';function a157_0x50d8(){const _0x31b019=['961474kqmASo','1704AxTWaI','11uvsFqK','9GzNjws','Recommended\x20stable:\x20','Current\x20CLI\x20version\x20is\x20below\x20the\x20minimum\x20supported\x20version.','stableVersion','latest','npm\x20install\x20-g\x20','currentVersion','1351616fmNxnw','205283onadPF','upgradeMessage','minimumVersionMessage','2ggdzhH','join','6250340SjruGT','15078xQzffZ','Current\x20version:\x20','15809870ZXzuqI','3tUnAIX','unavailable','Upgrade\x20command:\x20','minimumVersion','405IkyHnj','6529272GrmXoQ'];a157_0x50d8=function(){return _0x31b019;};return a157_0x50d8();}export function evaluateCliVersionPolicy(_0x326028,_0x144ee5){const _0x1b24f1=a157_0x47eb,_0x231218=a157_0x3ac9d4['valid'](_0x326028)===_0x326028,_0x14c696=_0x144ee5?.['stableVersion']??null,_0x369b5d=_0x144ee5?.['minimumVersion']??null,_0x185f9f=Boolean(_0x231218&&_0x14c696&&a157_0x3ac9d4['lt'](_0x326028,_0x14c696)),_0x4c64a7=Boolean(_0x231218&&_0x369b5d&&a157_0x3ac9d4['lt'](_0x326028,_0x369b5d));return{'currentVersion':_0x326028,'stableVersion':_0x14c696,'minimumVersion':_0x369b5d,'needsUpgrade':_0x185f9f||_0x4c64a7,'belowMinimum':_0x4c64a7,'upgradeMessage':_0x144ee5?.[_0x1b24f1(0x103)],'minimumVersionMessage':_0x144ee5?.['minimumVersionMessage']};}export async function checkCliVersion(){return evaluateCliVersionPolicy(getCliVersion(),await getCliVersionPolicy());}export function getCliUpgradeCommand(_0x56166f){const _0x1c2738=a157_0x47eb;return _0x1c2738(0xff)+LOVRABET_NPM_PACKAGE_NAME+'@'+(_0x56166f[_0x1c2738(0xfd)]??_0x1c2738(0xfe));}export function assertCliVersionSupported(_0x33df3b){const _0x2c997a=a157_0x47eb;if(!_0x33df3b['belowMinimum'])return;const _0x15ee0b=[_0x33df3b[_0x2c997a(0x104)],_0x2c997a(0x109)+_0x33df3b[_0x2c997a(0x100)],'Minimum\x20supported:\x20'+_0x33df3b[_0x2c997a(0x10e)],_0x2c997a(0xfb)+(_0x33df3b[_0x2c997a(0xfd)]??_0x2c997a(0x10c)),_0x2c997a(0x10d)+getCliUpgradeCommand(_0x33df3b)]['filter'](Boolean)[_0x2c997a(0x106)]('\x0a');throw CliErrors['validation'](_0x2c997a(0xfc),_0x15ee0b);}
1
+ (function(_0x435afe,_0x42f87b){const _0x2ad965=a157_0x5ab7,_0x11abe6=_0x435afe();while(!![]){try{const _0x4c93de=-parseInt(_0x2ad965(0x16b))/0x1*(parseInt(_0x2ad965(0x178))/0x2)+parseInt(_0x2ad965(0x16c))/0x3+parseInt(_0x2ad965(0x173))/0x4+-parseInt(_0x2ad965(0x172))/0x5*(parseInt(_0x2ad965(0x179))/0x6)+-parseInt(_0x2ad965(0x171))/0x7+-parseInt(_0x2ad965(0x170))/0x8+parseInt(_0x2ad965(0x169))/0x9;if(_0x4c93de===_0x42f87b)break;else _0x11abe6['push'](_0x11abe6['shift']());}catch(_0x19b3b9){_0x11abe6['push'](_0x11abe6['shift']());}}}(a157_0x4e09,0x42e32));import a157_0x570d74 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';function a157_0x5ab7(_0x2d02b9,_0x138219){_0x2d02b9=_0x2d02b9-0x167;const _0x4e09d8=a157_0x4e09();let _0x5ab708=_0x4e09d8[_0x2d02b9];return _0x5ab708;}export function evaluateCliVersionPolicy(_0x4810f3,_0x453a44){const _0x26b730=a157_0x5ab7,_0x3aaa0a=a157_0x570d74['valid'](_0x4810f3)===_0x4810f3,_0x74394f=_0x453a44?.[_0x26b730(0x167)]??null,_0x45e7ab=_0x453a44?.[_0x26b730(0x16f)]??null,_0x378733=Boolean(_0x3aaa0a&&_0x74394f&&a157_0x570d74['lt'](_0x4810f3,_0x74394f)),_0x42c1b6=Boolean(_0x3aaa0a&&_0x45e7ab&&a157_0x570d74['lt'](_0x4810f3,_0x45e7ab));return{'currentVersion':_0x4810f3,'stableVersion':_0x74394f,'minimumVersion':_0x45e7ab,'needsUpgrade':_0x378733||_0x42c1b6,'belowMinimum':_0x42c1b6,'upgradeMessage':_0x453a44?.['upgradeMessage'],'minimumVersionMessage':_0x453a44?.['minimumVersionMessage']};}export async function checkCliVersion(){return evaluateCliVersionPolicy(getCliVersion(),await getCliVersionPolicy());}function a157_0x4e09(){const _0x5a3283=['filter','minimumVersionMessage','13670yHARpG','103662hYGMSn','currentVersion','latest','Current\x20version:\x20','stableVersion','belowMinimum','6440328UQYhsj','Current\x20CLI\x20version\x20is\x20below\x20the\x20minimum\x20supported\x20version.','46FcyneJ','779481LwcEul','Recommended\x20stable:\x20','Minimum\x20supported:\x20','minimumVersion','3858112okjBtC','126721SInpzX','20MxwnRP','729744gkIRhB','unavailable','Upgrade\x20command:\x20'];a157_0x4e09=function(){return _0x5a3283;};return a157_0x4e09();}export function getCliUpgradeCommand(_0x3feb5a){const _0x18a51a=a157_0x5ab7;return'npm\x20install\x20-g\x20'+LOVRABET_NPM_PACKAGE_NAME+'@'+(_0x3feb5a[_0x18a51a(0x167)]??_0x18a51a(0x17b));}export function assertCliVersionSupported(_0x3209b4){const _0x46b322=a157_0x5ab7;if(!_0x3209b4[_0x46b322(0x168)])return;const _0xc6be05=[_0x3209b4[_0x46b322(0x177)],_0x46b322(0x17c)+_0x3209b4[_0x46b322(0x17a)],_0x46b322(0x16e)+_0x3209b4[_0x46b322(0x16f)],_0x46b322(0x16d)+(_0x3209b4[_0x46b322(0x167)]??_0x46b322(0x174)),_0x46b322(0x175)+getCliUpgradeCommand(_0x3209b4)][_0x46b322(0x176)](Boolean)['join']('\x0a');throw CliErrors['validation'](_0x46b322(0x16a),_0xc6be05);}
@@ -1 +1 @@
1
- (function(_0x4453b1,_0x16ae36){const _0x1b7157=a158_0x2423,_0x26699c=_0x4453b1();while(!![]){try{const _0x59bd0a=parseInt(_0x1b7157(0x156))/0x1+parseInt(_0x1b7157(0x161))/0x2*(parseInt(_0x1b7157(0x160))/0x3)+-parseInt(_0x1b7157(0x151))/0x4+parseInt(_0x1b7157(0x15f))/0x5*(-parseInt(_0x1b7157(0x162))/0x6)+-parseInt(_0x1b7157(0x157))/0x7*(parseInt(_0x1b7157(0x153))/0x8)+-parseInt(_0x1b7157(0x15e))/0x9*(parseInt(_0x1b7157(0x158))/0xa)+parseInt(_0x1b7157(0x163))/0xb*(parseInt(_0x1b7157(0x152))/0xc);if(_0x59bd0a===_0x16ae36)break;else _0x26699c['push'](_0x26699c['shift']());}catch(_0x39cf45){_0x26699c['push'](_0x26699c['shift']());}}}(a158_0x2bd0,0xb9ac7));import a158_0x319ffc 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 a158_0x2bd0(){const _0x1cb49c=['119065memnjL','7cxPLKm','4638320AZqIUC','minVersion','minimumVersionMessage','now','latestVersion','finally','18KlIpKQ','85xZacUf','2505369pyhWaA','2yOJhFq','437298eEvpdt','22RgLaya','cli','object','timeout','recommendedVersion','stableVersion','then','2979684NwWvtF','16437516vZGlha','173272rEAwEp','json','trim'];a158_0x2bd0=function(){return _0x1cb49c;};return a158_0x2bd0();}function a158_0x2423(_0x4fed6c,_0x3cee52){_0x4fed6c=_0x4fed6c-0x150;const _0x2bd035=a158_0x2bd0();let _0x242330=_0x2bd035[_0x4fed6c];return _0x242330;}function pickString(_0x3783f0){const _0x1d1f35=a158_0x2423;return typeof _0x3783f0==='string'&&_0x3783f0[_0x1d1f35(0x155)]()?_0x3783f0[_0x1d1f35(0x155)]():null;}function pickStrictSemver(_0x334e40){const _0x5573e7=pickString(_0x334e40);return _0x5573e7&&a158_0x319ffc['valid'](_0x5573e7)===_0x5573e7?_0x5573e7:null;}export function normalizeCliVersionPolicy(_0x2b7e65){const _0x3ccb20=a158_0x2423;if(!_0x2b7e65||typeof _0x2b7e65!==_0x3ccb20(0x165))return null;const _0x4feb65=_0x2b7e65,_0x17b309=_0x4feb65[_0x3ccb20(0x164)]&&typeof _0x4feb65[_0x3ccb20(0x164)]===_0x3ccb20(0x165)?_0x4feb65['cli']:_0x4feb65,_0x2c1f21=pickStrictSemver(_0x17b309[_0x3ccb20(0x168)]??_0x17b309[_0x3ccb20(0x15c)]??_0x17b309[_0x3ccb20(0x167)]),_0x3fa530=pickStrictSemver(_0x17b309['minimumVersion']??_0x17b309[_0x3ccb20(0x159)]);if(!_0x2c1f21&&!_0x3fa530)return null;if(_0x2c1f21&&_0x3fa530&&a158_0x319ffc['gt'](_0x3fa530,_0x2c1f21))return null;return{'stableVersion':_0x2c1f21,'minimumVersion':_0x3fa530,'upgradeMessage':pickString(_0x17b309['upgradeMessage'])??undefined,'minimumVersionMessage':pickString(_0x17b309[_0x3ccb20(0x15a)])??undefined};}export async function fetchCliVersionPolicy(){const _0x2ae9da=a158_0x2423;try{const _0x4b2e0e=await fetch(LOVRABET_CLI_VERSION_POLICY_URL,{'headers':{'Accept':'application/json'},'signal':AbortSignal[_0x2ae9da(0x166)](FETCH_TIMEOUT_MS)});if(!_0x4b2e0e['ok'])return null;return normalizeCliVersionPolicy(await _0x4b2e0e[_0x2ae9da(0x154)]());}catch{return null;}}let cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;export async function getCliVersionPolicy(){const _0x4bdafd=a158_0x2423,_0x91177b=Date[_0x4bdafd(0x15b)]();if(hasCachedPolicy){const _0xc83e9e=cachedPolicy?SUCCESS_CACHE_TTL_MS:FAILURE_CACHE_TTL_MS;if(_0x91177b-cachedAt<_0xc83e9e)return cachedPolicy;}if(pendingPolicy)return pendingPolicy;return pendingPolicy=fetchCliVersionPolicy()[_0x4bdafd(0x150)](_0x5c076e=>{const _0x4e90d3=_0x4bdafd;return cachedPolicy=_0x5c076e,cachedAt=Date[_0x4e90d3(0x15b)](),hasCachedPolicy=!![],_0x5c076e;})[_0x4bdafd(0x15d)](()=>{pendingPolicy=null;}),pendingPolicy;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;}
1
+ function a158_0x2a22(){const _0x39b9e2=['stableVersion','minimumVersionMessage','now','upgradeMessage','7hjvCoA','trim','finally','object','35009piLcrk','4181622pWXIQX','latestVersion','18502184yGyPdo','timeout','valid','cli','1598848aWhwyy','recommendedVersion','442892XpTxWI','json','1848755ZCnWxx','19089ZsInSe'];a158_0x2a22=function(){return _0x39b9e2;};return a158_0x2a22();}(function(_0x133c1a,_0x3e194e){const _0x206ce2=a158_0x5d4f,_0x2dbede=_0x133c1a();while(!![]){try{const _0x24e07b=parseInt(_0x206ce2(0x146))/0x1+-parseInt(_0x206ce2(0x14f))/0x2+-parseInt(_0x206ce2(0x13d))/0x3+-parseInt(_0x206ce2(0x14d))/0x4+-parseInt(_0x206ce2(0x151))/0x5+-parseInt(_0x206ce2(0x147))/0x6+parseInt(_0x206ce2(0x142))/0x7*(parseInt(_0x206ce2(0x149))/0x8);if(_0x24e07b===_0x3e194e)break;else _0x2dbede['push'](_0x2dbede['shift']());}catch(_0x1752bc){_0x2dbede['push'](_0x2dbede['shift']());}}}(a158_0x2a22,0x9f905));import a158_0x1b654d from'semver';import{LOVRABET_CLI_VERSION_POLICY_URL}from'../constant/distribution.js';function a158_0x5d4f(_0x57c202,_0x84e7d8){_0x57c202=_0x57c202-0x13d;const _0x2a2252=a158_0x2a22();let _0x5d4fd8=_0x2a2252[_0x57c202];return _0x5d4fd8;}const SUCCESS_CACHE_TTL_MS=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL_MS=0x3c*0x3e8,FETCH_TIMEOUT_MS=0x5dc;function pickString(_0x2fac29){const _0x47b818=a158_0x5d4f;return typeof _0x2fac29==='string'&&_0x2fac29[_0x47b818(0x143)]()?_0x2fac29[_0x47b818(0x143)]():null;}function pickStrictSemver(_0x30bdf5){const _0x2bdb03=a158_0x5d4f,_0xf2ebfc=pickString(_0x30bdf5);return _0xf2ebfc&&a158_0x1b654d[_0x2bdb03(0x14b)](_0xf2ebfc)===_0xf2ebfc?_0xf2ebfc:null;}export function normalizeCliVersionPolicy(_0x33412e){const _0x11b4f7=a158_0x5d4f;if(!_0x33412e||typeof _0x33412e!==_0x11b4f7(0x145))return null;const _0x425d6f=_0x33412e,_0x1b0b0e=_0x425d6f[_0x11b4f7(0x14c)]&&typeof _0x425d6f[_0x11b4f7(0x14c)]===_0x11b4f7(0x145)?_0x425d6f[_0x11b4f7(0x14c)]:_0x425d6f,_0x5cfff9=pickStrictSemver(_0x1b0b0e[_0x11b4f7(0x13e)]??_0x1b0b0e[_0x11b4f7(0x148)]??_0x1b0b0e[_0x11b4f7(0x14e)]),_0x3290e2=pickStrictSemver(_0x1b0b0e['minimumVersion']??_0x1b0b0e['minVersion']);if(!_0x5cfff9&&!_0x3290e2)return null;if(_0x5cfff9&&_0x3290e2&&a158_0x1b654d['gt'](_0x3290e2,_0x5cfff9))return null;return{'stableVersion':_0x5cfff9,'minimumVersion':_0x3290e2,'upgradeMessage':pickString(_0x1b0b0e[_0x11b4f7(0x141)])??undefined,'minimumVersionMessage':pickString(_0x1b0b0e[_0x11b4f7(0x13f)])??undefined};}export async function fetchCliVersionPolicy(){const _0x2de67f=a158_0x5d4f;try{const _0x359c51=await fetch(LOVRABET_CLI_VERSION_POLICY_URL,{'headers':{'Accept':'application/json'},'signal':AbortSignal[_0x2de67f(0x14a)](FETCH_TIMEOUT_MS)});if(!_0x359c51['ok'])return null;return normalizeCliVersionPolicy(await _0x359c51[_0x2de67f(0x150)]());}catch{return null;}}let cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;export async function getCliVersionPolicy(){const _0x20786a=a158_0x5d4f,_0x3c4299=Date[_0x20786a(0x140)]();if(hasCachedPolicy){const _0x434b3b=cachedPolicy?SUCCESS_CACHE_TTL_MS:FAILURE_CACHE_TTL_MS;if(_0x3c4299-cachedAt<_0x434b3b)return cachedPolicy;}if(pendingPolicy)return pendingPolicy;return pendingPolicy=fetchCliVersionPolicy()['then'](_0x374533=>{const _0x5a7145=_0x20786a;return cachedPolicy=_0x374533,cachedAt=Date[_0x5a7145(0x140)](),hasCachedPolicy=!![],_0x374533;})[_0x20786a(0x144)](()=>{pendingPolicy=null;}),pendingPolicy;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;}
@@ -1 +1 @@
1
- function a159_0x1c85(_0x30fe36,_0x3c40b9){_0x30fe36=_0x30fe36-0x141;const _0x2c321d=a159_0x2c32();let _0x1c856a=_0x2c321d[_0x30fe36];return _0x1c856a;}const a159_0x2da4e5=a159_0x1c85;(function(_0x1fb616,_0xdebbd2){const _0x2f444e=a159_0x1c85,_0x3e29d9=_0x1fb616();while(!![]){try{const _0x436a3e=-parseInt(_0x2f444e(0x159))/0x1*(-parseInt(_0x2f444e(0x14a))/0x2)+-parseInt(_0x2f444e(0x14f))/0x3*(parseInt(_0x2f444e(0x152))/0x4)+parseInt(_0x2f444e(0x145))/0x5*(-parseInt(_0x2f444e(0x143))/0x6)+parseInt(_0x2f444e(0x146))/0x7*(parseInt(_0x2f444e(0x164))/0x8)+-parseInt(_0x2f444e(0x16e))/0x9+-parseInt(_0x2f444e(0x14c))/0xa*(-parseInt(_0x2f444e(0x158))/0xb)+parseInt(_0x2f444e(0x169))/0xc;if(_0x436a3e===_0xdebbd2)break;else _0x3e29d9['push'](_0x3e29d9['shift']());}catch(_0x5e8e55){_0x3e29d9['push'](_0x3e29d9['shift']());}}}(a159_0x2c32,0xd7ace));import a159_0x587626 from'winston';import a159_0x35243b from'node:fs';import a159_0x304155 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';function a159_0x2c32(){const _0x4ca1a3=['printf','1401388cIuSEI','Failed\x20to\x20read\x20logs:','setLogPath','mkdirSync','existsSync','toISOString','231308sSpMnv','71647DDsFnS','red','now','Failed\x20to\x20clear\x20logs:','map','trim','error','clearLogs','createLogger','blue','split','8mGBIbm','logTask','transports','timestamp','join','24960420LszrzE','format','message','success','details','9094599SqXoWo','setRawCommand','stringify','initWinstonLogger','unknown','File','addColors','command','clear','logFileName','info','Completed:\x20','6nQcyPf','currentRawCommand','8689025JNKnJW','10118003BGrpFc','utf8','getWinstonInstance','logFilePath','10GVZwvH','readFileSync','380DQcmDT','winstonLogger','errors','9aTZqKY','Failed:\x20'];a159_0x2c32=function(){return _0x4ca1a3;};return a159_0x2c32();}class Logger{[a159_0x2da4e5(0x14d)];[a159_0x2da4e5(0x149)]='';[a159_0x2da4e5(0x144)]='';constructor(){}[a159_0x2da4e5(0x16f)](_0x2b9de3){const _0x4d3344=a159_0x2da4e5;this[_0x4d3344(0x144)]=_0x2b9de3;}[a159_0x2da4e5(0x154)](_0x15512a){const _0x2b6122=a159_0x2da4e5;this['logFilePath']=a159_0x304155[_0x2b6122(0x168)](_0x15512a,PRODUCT_CONFIG[_0x2b6122(0x177)]),this[_0x2b6122(0x14d)]&&this[_0x2b6122(0x14d)][_0x2b6122(0x176)](),this[_0x2b6122(0x171)]();}[a159_0x2da4e5(0x171)](){const _0x367a3c=a159_0x2da4e5,_0x11e374=a159_0x304155['dirname'](this[_0x367a3c(0x149)]);!a159_0x35243b[_0x367a3c(0x156)](_0x11e374)&&a159_0x35243b[_0x367a3c(0x155)](_0x11e374,{'recursive':!![]});const _0x2da7ec=a159_0x587626['format']['combine'](a159_0x587626[_0x367a3c(0x16a)][_0x367a3c(0x167)](),a159_0x587626[_0x367a3c(0x16a)][_0x367a3c(0x14e)]({'stack':!![]}),a159_0x587626[_0x367a3c(0x16a)][_0x367a3c(0x151)](_0x51eeb2=>{const _0x5b852c=_0x367a3c,_0x2872ac={'timestamp':_0x51eeb2[_0x5b852c(0x167)]||new Date()[_0x5b852c(0x157)](),'level':_0x51eeb2['level']||_0x5b852c(0x141),'command':_0x51eeb2[_0x5b852c(0x175)]||_0x5b852c(0x172),'rawCommand':_0x51eeb2['rawCommand']||this[_0x5b852c(0x144)]||undefined,'message':_0x51eeb2[_0x5b852c(0x16b)]||'','duration':_0x51eeb2['duration']||undefined,'details':_0x51eeb2[_0x5b852c(0x16d)]||undefined};return JSON[_0x5b852c(0x170)](_0x2872ac);}));this[_0x367a3c(0x14d)]=a159_0x587626[_0x367a3c(0x161)]({'level':_0x367a3c(0x141),'format':_0x2da7ec,'transports':[new a159_0x587626[(_0x367a3c(0x166))][(_0x367a3c(0x173))]({'filename':this[_0x367a3c(0x149)],'level':_0x367a3c(0x141)})],'silent':![]}),a159_0x587626[_0x367a3c(0x174)]({'success':'green','error':_0x367a3c(0x15a),'warn':'yellow','info':_0x367a3c(0x162)});}['info'](_0x292f47,_0x13f520,_0x13122d){const _0x3cb437=a159_0x2da4e5;if(!this[_0x3cb437(0x149)]||!this['winstonLogger'])return;this['winstonLogger']['info'](_0x13f520,{'command':_0x292f47,'details':_0x13122d});}['success'](_0x47db2f,_0xc6f2ae,_0x239f54,_0x489dab){const _0x128f57=a159_0x2da4e5;if(!this['logFilePath']||!this['winstonLogger'])return;this[_0x128f57(0x14d)]['log'](_0x128f57(0x141),_0xc6f2ae,{'level':_0x128f57(0x16c),'command':_0x47db2f,'duration':_0x239f54,'details':_0x489dab});}[a159_0x2da4e5(0x15f)](_0xc62a0d,_0x4dd79f,_0xee2a07){const _0xa52489=a159_0x2da4e5;if(!this['logFilePath']||!this[_0xa52489(0x14d)])return;this[_0xa52489(0x14d)][_0xa52489(0x15f)](_0x4dd79f,{'command':_0xc62a0d,'details':_0xee2a07});}['warn'](_0x40f387,_0x422032,_0x4bcc36){const _0x513e40=a159_0x2da4e5;if(!this[_0x513e40(0x149)]||!this[_0x513e40(0x14d)])return;this[_0x513e40(0x14d)]['warn'](_0x422032,{'command':_0x40f387,'details':_0x4bcc36});}async[a159_0x2da4e5(0x165)](_0x21b3ed,_0x348934,_0x157298){const _0x85f894=a159_0x2da4e5,_0x51aeb1=Date['now']();this['info'](_0x21b3ed,'Starting:\x20'+_0x348934);try{const _0x54d44b=await _0x157298(),_0x53980a=Date['now']()-_0x51aeb1;return this[_0x85f894(0x16c)](_0x21b3ed,_0x85f894(0x142)+_0x348934,_0x53980a),_0x54d44b;}catch(_0x128bef){const _0x220a6b=Date[_0x85f894(0x15b)]()-_0x51aeb1;this[_0x85f894(0x15f)](_0x21b3ed,_0x85f894(0x150)+_0x348934,{'error':_0x128bef instanceof Error?_0x128bef[_0x85f894(0x16b)]:String(_0x128bef),'duration':_0x220a6b});throw _0x128bef;}}['readLogs'](){const _0x1d9bf3=a159_0x2da4e5;try{if(!a159_0x35243b[_0x1d9bf3(0x156)](this[_0x1d9bf3(0x149)]))return[];const _0x5ec263=a159_0x35243b[_0x1d9bf3(0x14b)](this['logFilePath'],'utf8');return _0x5ec263[_0x1d9bf3(0x163)](/\r?\n/)['filter'](_0x280945=>_0x280945[_0x1d9bf3(0x15e)]())[_0x1d9bf3(0x15d)](_0x118848=>JSON['parse'](_0x118848));}catch(_0x2f68c4){return console['warn'](_0x1d9bf3(0x153),_0x2f68c4),[];}}[a159_0x2da4e5(0x160)](){const _0x2956c2=a159_0x2da4e5;try{a159_0x35243b['existsSync'](this[_0x2956c2(0x149)])&&a159_0x35243b['writeFileSync'](this[_0x2956c2(0x149)],'',_0x2956c2(0x147));}catch(_0x3e6ef9){console['warn'](_0x2956c2(0x15c),_0x3e6ef9);}}[a159_0x2da4e5(0x148)](){const _0x2ec83d=a159_0x2da4e5;return this[_0x2ec83d(0x14d)];}}export const logger=new Logger();
1
+ const a159_0x47f1b4=a159_0x3ed2;function a159_0x3098(){const _0x27cff7=['blue','winstonLogger','details','File','timestamp','clearLogs','success','23070120qHdDfZ','writeFileSync','807416gABVLQ','utf8','format','message','parse','6221156wtBqYz','warn','105bZnsHU','Failed\x20to\x20read\x20logs:','readFileSync','unknown','dirname','1970vkzalI','existsSync','yellow','213nEWYIl','addColors','logFileName','Completed:\x20','error','duration','green','4602774SPdwTA','Failed\x20to\x20clear\x20logs:','createLogger','red','join','info','setLogPath','initWinstonLogger','10709118KttLFV','toISOString','Failed:\x20','rawCommand','setRawCommand','19716todIIH','transports','errors','log','logFilePath','combine','level','currentRawCommand','clear','trim','map','2694LOZyPe','now','printf'];a159_0x3098=function(){return _0x27cff7;};return a159_0x3098();}(function(_0x516d5e,_0x33c10b){const _0x4ec9f=a159_0x3ed2,_0x56e30e=_0x516d5e();while(!![]){try{const _0x17fe55=parseInt(_0x4ec9f(0x107))/0x1*(parseInt(_0x4ec9f(0xec))/0x2)+-parseInt(_0x4ec9f(0x10e))/0x3+parseInt(_0x4ec9f(0xfd))/0x4+parseInt(_0x4ec9f(0x104))/0x5*(-parseInt(_0x4ec9f(0x11b))/0x6)+-parseInt(_0x4ec9f(0xff))/0x7*(parseInt(_0x4ec9f(0xf8))/0x8)+parseInt(_0x4ec9f(0x116))/0x9+parseInt(_0x4ec9f(0xf6))/0xa;if(_0x17fe55===_0x33c10b)break;else _0x56e30e['push'](_0x56e30e['shift']());}catch(_0x133eb0){_0x56e30e['push'](_0x56e30e['shift']());}}}(a159_0x3098,0xf33ab));import a159_0x2382bf from'winston';import a159_0x8a5713 from'node:fs';import a159_0x1fa9f2 from'node:path';function a159_0x3ed2(_0x56de45,_0x25dbc4){_0x56de45=_0x56de45-0xe2;const _0x309818=a159_0x3098();let _0x3ed2d5=_0x309818[_0x56de45];return _0x3ed2d5;}import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a159_0x47f1b4(0xf0)];[a159_0x47f1b4(0xe5)]='';[a159_0x47f1b4(0xe8)]='';constructor(){}[a159_0x47f1b4(0x11a)](_0x1d458c){const _0x324c55=a159_0x47f1b4;this[_0x324c55(0xe8)]=_0x1d458c;}[a159_0x47f1b4(0x114)](_0x279200){const _0x5ab11b=a159_0x47f1b4;this['logFilePath']=a159_0x1fa9f2[_0x5ab11b(0x112)](_0x279200,PRODUCT_CONFIG[_0x5ab11b(0x109)]),this['winstonLogger']&&this['winstonLogger'][_0x5ab11b(0xe9)](),this['initWinstonLogger']();}[a159_0x47f1b4(0x115)](){const _0x23547f=a159_0x47f1b4,_0x317dfc=a159_0x1fa9f2[_0x23547f(0x103)](this[_0x23547f(0xe5)]);!a159_0x8a5713[_0x23547f(0x105)](_0x317dfc)&&a159_0x8a5713['mkdirSync'](_0x317dfc,{'recursive':!![]});const _0x276d49=a159_0x2382bf[_0x23547f(0xfa)][_0x23547f(0xe6)](a159_0x2382bf[_0x23547f(0xfa)][_0x23547f(0xf3)](),a159_0x2382bf[_0x23547f(0xfa)][_0x23547f(0xe3)]({'stack':!![]}),a159_0x2382bf[_0x23547f(0xfa)][_0x23547f(0xee)](_0x21fa22=>{const _0x3f6abd=_0x23547f,_0x39817c={'timestamp':_0x21fa22['timestamp']||new Date()[_0x3f6abd(0x117)](),'level':_0x21fa22[_0x3f6abd(0xe7)]||'info','command':_0x21fa22['command']||_0x3f6abd(0x102),'rawCommand':_0x21fa22[_0x3f6abd(0x119)]||this['currentRawCommand']||undefined,'message':_0x21fa22[_0x3f6abd(0xfb)]||'','duration':_0x21fa22[_0x3f6abd(0x10c)]||undefined,'details':_0x21fa22[_0x3f6abd(0xf1)]||undefined};return JSON['stringify'](_0x39817c);}));this['winstonLogger']=a159_0x2382bf[_0x23547f(0x110)]({'level':_0x23547f(0x113),'format':_0x276d49,'transports':[new a159_0x2382bf[(_0x23547f(0xe2))][(_0x23547f(0xf2))]({'filename':this[_0x23547f(0xe5)],'level':_0x23547f(0x113)})],'silent':![]}),a159_0x2382bf[_0x23547f(0x108)]({'success':_0x23547f(0x10d),'error':_0x23547f(0x111),'warn':_0x23547f(0x106),'info':_0x23547f(0xef)});}[a159_0x47f1b4(0x113)](_0x5ea2bd,_0x16ed4b,_0x423d56){const _0x46a6f1=a159_0x47f1b4;if(!this['logFilePath']||!this[_0x46a6f1(0xf0)])return;this[_0x46a6f1(0xf0)]['info'](_0x16ed4b,{'command':_0x5ea2bd,'details':_0x423d56});}['success'](_0xcf0480,_0xf69705,_0x34c484,_0x24bdbc){const _0x1faeab=a159_0x47f1b4;if(!this[_0x1faeab(0xe5)]||!this[_0x1faeab(0xf0)])return;this[_0x1faeab(0xf0)][_0x1faeab(0xe4)](_0x1faeab(0x113),_0xf69705,{'level':'success','command':_0xcf0480,'duration':_0x34c484,'details':_0x24bdbc});}[a159_0x47f1b4(0x10b)](_0x12c528,_0x45c85d,_0x985dec){const _0x5f533f=a159_0x47f1b4;if(!this[_0x5f533f(0xe5)]||!this['winstonLogger'])return;this[_0x5f533f(0xf0)][_0x5f533f(0x10b)](_0x45c85d,{'command':_0x12c528,'details':_0x985dec});}['warn'](_0x5d7274,_0x277aa4,_0x38d91f){const _0x548e9c=a159_0x47f1b4;if(!this[_0x548e9c(0xe5)]||!this[_0x548e9c(0xf0)])return;this['winstonLogger'][_0x548e9c(0xfe)](_0x277aa4,{'command':_0x5d7274,'details':_0x38d91f});}async['logTask'](_0x45388d,_0x330f65,_0x5b976f){const _0x4ca164=a159_0x47f1b4,_0x233bd2=Date['now']();this[_0x4ca164(0x113)](_0x45388d,'Starting:\x20'+_0x330f65);try{const _0x4b8b35=await _0x5b976f(),_0x27af92=Date[_0x4ca164(0xed)]()-_0x233bd2;return this[_0x4ca164(0xf5)](_0x45388d,_0x4ca164(0x10a)+_0x330f65,_0x27af92),_0x4b8b35;}catch(_0x6af974){const _0x450990=Date[_0x4ca164(0xed)]()-_0x233bd2;this[_0x4ca164(0x10b)](_0x45388d,_0x4ca164(0x118)+_0x330f65,{'error':_0x6af974 instanceof Error?_0x6af974[_0x4ca164(0xfb)]:String(_0x6af974),'duration':_0x450990});throw _0x6af974;}}['readLogs'](){const _0x38276c=a159_0x47f1b4;try{if(!a159_0x8a5713[_0x38276c(0x105)](this['logFilePath']))return[];const _0x2ddccf=a159_0x8a5713[_0x38276c(0x101)](this[_0x38276c(0xe5)],_0x38276c(0xf9));return _0x2ddccf['split'](/\r?\n/)['filter'](_0x162b7c=>_0x162b7c[_0x38276c(0xea)]())[_0x38276c(0xeb)](_0x2fd447=>JSON[_0x38276c(0xfc)](_0x2fd447));}catch(_0x5b617e){return console[_0x38276c(0xfe)](_0x38276c(0x100),_0x5b617e),[];}}[a159_0x47f1b4(0xf4)](){const _0x4bc3e5=a159_0x47f1b4;try{a159_0x8a5713[_0x4bc3e5(0x105)](this[_0x4bc3e5(0xe5)])&&a159_0x8a5713[_0x4bc3e5(0xf7)](this[_0x4bc3e5(0xe5)],'',_0x4bc3e5(0xf9));}catch(_0x2de205){console['warn'](_0x4bc3e5(0x10f),_0x2de205);}}['getWinstonInstance'](){const _0x54b01b=a159_0x47f1b4;return this[_0x54b01b(0xf0)];}}export const logger=new Logger();
@@ -1 +1 @@
1
- function a160_0x15d4(_0x10b1d6,_0x183a1d){_0x10b1d6=_0x10b1d6-0x195;const _0x34791c=a160_0x3479();let _0x15d47f=_0x34791c[_0x10b1d6];return _0x15d47f;}const a160_0x37055b=a160_0x15d4;(function(_0xd9ba64,_0x3be902){const _0x59c5fe=a160_0x15d4,_0x40ebee=_0xd9ba64();while(!![]){try{const _0x4495a8=parseInt(_0x59c5fe(0x1a8))/0x1*(-parseInt(_0x59c5fe(0x19d))/0x2)+parseInt(_0x59c5fe(0x1a3))/0x3+-parseInt(_0x59c5fe(0x1ac))/0x4*(-parseInt(_0x59c5fe(0x19f))/0x5)+-parseInt(_0x59c5fe(0x1a7))/0x6*(-parseInt(_0x59c5fe(0x1a0))/0x7)+-parseInt(_0x59c5fe(0x199))/0x8*(parseInt(_0x59c5fe(0x1ab))/0x9)+-parseInt(_0x59c5fe(0x1a5))/0xa*(-parseInt(_0x59c5fe(0x1a9))/0xb)+parseInt(_0x59c5fe(0x1aa))/0xc*(parseInt(_0x59c5fe(0x1a1))/0xd);if(_0x4495a8===_0x3be902)break;else _0x40ebee['push'](_0x40ebee['shift']());}catch(_0x2a7ec8){_0x40ebee['push'](_0x40ebee['shift']());}}}(a160_0x3479,0xf20c2));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a160_0x37055b(0x195)]),MIN_SAFE_INTEGER=BigInt(Number[a160_0x37055b(0x1a4)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x4472b7){const _0x2572e8=a160_0x37055b;if(_0x4472b7[_0x2572e8(0x19a)]('.')||_0x4472b7[_0x2572e8(0x19a)]('e')||_0x4472b7[_0x2572e8(0x19a)]('E'))return![];const _0x36dc41=BigInt(_0x4472b7);return _0x36dc41>MAX_SAFE_INTEGER||_0x36dc41<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0xdff173){const _0x54d730=a160_0x37055b;let _0x56d01d='',_0x91d8c9=![],_0x5d6085=![];for(let _0x4ed5eb=0x0;_0x4ed5eb<_0xdff173[_0x54d730(0x19b)];){const _0x3bdffd=_0xdff173[_0x4ed5eb];if(_0x91d8c9){_0x56d01d+=_0x3bdffd,_0x4ed5eb+=0x1;if(_0x5d6085)_0x5d6085=![];else{if(_0x3bdffd==='\x5c')_0x5d6085=!![];else _0x3bdffd==='\x22'&&(_0x91d8c9=![]);}continue;}if(_0x3bdffd==='\x22'){_0x91d8c9=!![],_0x56d01d+=_0x3bdffd,_0x4ed5eb+=0x1;continue;}if(_0x3bdffd==='-'||_0x3bdffd>='0'&&_0x3bdffd<='9'){const _0x1b7d7c=JSON_NUMBER_PATTERN[_0x54d730(0x197)](_0xdff173[_0x54d730(0x196)](_0x4ed5eb))?.[0x0];if(_0x1b7d7c){_0x56d01d+=isUnsafeIntegerLiteral(_0x1b7d7c)?'\x22'+_0x1b7d7c+'\x22':_0x1b7d7c,_0x4ed5eb+=_0x1b7d7c['length'];continue;}}_0x56d01d+=_0x3bdffd,_0x4ed5eb+=0x1;}return _0x56d01d;}function a160_0x3479(){const _0xce613b=['476binKOP','33dbnFOR','144wOwwHL','1666845HFUgJi','307084sAKsyo','MAX_SAFE_INTEGER','slice','exec','defineProperty','40UqiuYu','includes','length','json','5204TukAjQ','text','105vcokLD','6706525kKEhVZ','59813zWtFyS','parse','665736Aceuwk','MIN_SAFE_INTEGER','1028710VnHWKV','getOwnPropertyDescriptor','6AWzFMf'];a160_0x3479=function(){return _0xce613b;};return a160_0x3479();}export function parseLosslessJson(_0x5a2c9e){const _0x43ed4a=a160_0x37055b;return JSON[_0x43ed4a(0x1a2)](quoteUnsafeIntegerLiterals(_0x5a2c9e));}export function installLosslessJsonResponseParser(){const _0x5127ac=a160_0x37055b;if(typeof Response==='undefined')return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response['prototype'],originalResponseJsonDescriptor=Object[_0x5127ac(0x1a6)](responseJsonPrototype,_0x5127ac(0x19c)),Object[_0x5127ac(0x198)](responseJsonPrototype,_0x5127ac(0x19c),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x1d9ee1(){const _0x3ddfa7=_0x5127ac;return parseLosslessJson(await this[_0x3ddfa7(0x19e)]());}}),restoreResponseJsonParser=()=>{const _0x4eb1dd=_0x5127ac;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object['defineProperty'](responseJsonPrototype,_0x4eb1dd(0x19c),originalResponseJsonDescriptor):delete responseJsonPrototype[_0x4eb1dd(0x19c)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
1
+ function a160_0x1a77(_0x3b8581,_0x688358){_0x3b8581=_0x3b8581-0x13b;const _0x5e4a59=a160_0x5e4a();let _0x1a774a=_0x5e4a59[_0x3b8581];return _0x1a774a;}const a160_0x536b9d=a160_0x1a77;(function(_0x1c65a1,_0x230a4b){const _0x2322fc=a160_0x1a77,_0x568296=_0x1c65a1();while(!![]){try{const _0x10577f=-parseInt(_0x2322fc(0x14e))/0x1*(-parseInt(_0x2322fc(0x150))/0x2)+parseInt(_0x2322fc(0x141))/0x3*(-parseInt(_0x2322fc(0x14b))/0x4)+-parseInt(_0x2322fc(0x140))/0x5*(parseInt(_0x2322fc(0x13e))/0x6)+parseInt(_0x2322fc(0x143))/0x7*(parseInt(_0x2322fc(0x14a))/0x8)+parseInt(_0x2322fc(0x13d))/0x9+-parseInt(_0x2322fc(0x142))/0xa*(parseInt(_0x2322fc(0x14f))/0xb)+parseInt(_0x2322fc(0x153))/0xc*(parseInt(_0x2322fc(0x13c))/0xd);if(_0x10577f===_0x230a4b)break;else _0x568296['push'](_0x568296['shift']());}catch(_0x18b8bb){_0x568296['push'](_0x568296['shift']());}}}(a160_0x5e4a,0xee093));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a160_0x536b9d(0x149)]),MIN_SAFE_INTEGER=BigInt(Number[a160_0x536b9d(0x146)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function a160_0x5e4a(){const _0x50c148=['56140SGsWeW','slice','text','MIN_SAFE_INTEGER','defineProperty','includes','MAX_SAFE_INTEGER','864JABTFU','6014996pFGjYn','getOwnPropertyDescriptor','length','169iIgmix','3610783PJSfah','9582WFvxRR','exec','parse','1920NDgFvI','undefined','87490WtgFbS','7401618CvLRbo','84ylSqqy','json','39835lVDMZJ','3HcrZWH','30BOKYFN'];a160_0x5e4a=function(){return _0x50c148;};return a160_0x5e4a();}function isUnsafeIntegerLiteral(_0xa009c5){const _0x5254b9=a160_0x536b9d;if(_0xa009c5['includes']('.')||_0xa009c5[_0x5254b9(0x148)]('e')||_0xa009c5[_0x5254b9(0x148)]('E'))return![];const _0xb0ad39=BigInt(_0xa009c5);return _0xb0ad39>MAX_SAFE_INTEGER||_0xb0ad39<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x4f893f){const _0x123070=a160_0x536b9d;let _0xf2a67e='',_0x524616=![],_0x471be1=![];for(let _0x7ac950=0x0;_0x7ac950<_0x4f893f['length'];){const _0x380798=_0x4f893f[_0x7ac950];if(_0x524616){_0xf2a67e+=_0x380798,_0x7ac950+=0x1;if(_0x471be1)_0x471be1=![];else{if(_0x380798==='\x5c')_0x471be1=!![];else _0x380798==='\x22'&&(_0x524616=![]);}continue;}if(_0x380798==='\x22'){_0x524616=!![],_0xf2a67e+=_0x380798,_0x7ac950+=0x1;continue;}if(_0x380798==='-'||_0x380798>='0'&&_0x380798<='9'){const _0x277130=JSON_NUMBER_PATTERN[_0x123070(0x151)](_0x4f893f[_0x123070(0x144)](_0x7ac950))?.[0x0];if(_0x277130){_0xf2a67e+=isUnsafeIntegerLiteral(_0x277130)?'\x22'+_0x277130+'\x22':_0x277130,_0x7ac950+=_0x277130[_0x123070(0x14d)];continue;}}_0xf2a67e+=_0x380798,_0x7ac950+=0x1;}return _0xf2a67e;}export function parseLosslessJson(_0x2b16c9){const _0x21861d=a160_0x536b9d;return JSON[_0x21861d(0x152)](quoteUnsafeIntegerLiterals(_0x2b16c9));}export function installLosslessJsonResponseParser(){const _0xd0e845=a160_0x536b9d;if(typeof Response===_0xd0e845(0x13b))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response['prototype'],originalResponseJsonDescriptor=Object[_0xd0e845(0x14c)](responseJsonPrototype,_0xd0e845(0x13f)),Object[_0xd0e845(0x147)](responseJsonPrototype,_0xd0e845(0x13f),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x135a20(){const _0x295c22=_0xd0e845;return parseLosslessJson(await this[_0x295c22(0x145)]());}}),restoreResponseJsonParser=()=>{const _0x18e712=_0xd0e845;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object['defineProperty'](responseJsonPrototype,'json',originalResponseJsonDescriptor):delete responseJsonPrototype[_0x18e712(0x13f)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
@@ -1 +1 @@
1
- (function(_0x9bc8e0,_0x1cccea){const _0x7f6cf4=a161_0x2890,_0x36c38d=_0x9bc8e0();while(!![]){try{const _0x3a9a28=parseInt(_0x7f6cf4(0xfe))/0x1*(-parseInt(_0x7f6cf4(0x10f))/0x2)+parseInt(_0x7f6cf4(0x10c))/0x3*(parseInt(_0x7f6cf4(0x10b))/0x4)+parseInt(_0x7f6cf4(0x105))/0x5*(-parseInt(_0x7f6cf4(0xff))/0x6)+parseInt(_0x7f6cf4(0x114))/0x7*(-parseInt(_0x7f6cf4(0x115))/0x8)+-parseInt(_0x7f6cf4(0xfb))/0x9+parseInt(_0x7f6cf4(0x10d))/0xa*(parseInt(_0x7f6cf4(0x10e))/0xb)+parseInt(_0x7f6cf4(0xfa))/0xc*(parseInt(_0x7f6cf4(0x113))/0xd);if(_0x3a9a28===_0x1cccea)break;else _0x36c38d['push'](_0x36c38d['shift']());}catch(_0x389912){_0x36c38d['push'](_0x36c38d['shift']());}}}(a161_0x21f6,0x3aa6a));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x53c52e){const _0x19e5c3=a161_0x2890;if(!_0x53c52e)return undefined;try{return parseLosslessJson(_0x53c52e);}catch{throw CliErrors[_0x19e5c3(0x111)](_0x19e5c3(0x110)+_0x53c52e);}}export function parseJsonParamsValue(_0x46f3a0){const _0x3f6f12=a161_0x2890;if(!_0x46f3a0)return undefined;try{return parseLosslessJson(_0x46f3a0);}catch{throw CliErrors[_0x3f6f12(0x111)](_0x3f6f12(0x110)+_0x46f3a0);}}function a161_0x21f6(){const _0x2bb1ea=['length','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','10dAPxNT','id[','string','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','isArray','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','32136QONlMn','3svDRGL','745880GrUVRa','11PPMqYF','166UDywHx','Invalid\x20JSON\x20for\x20--params:\x20','validation','\x20records\x20per\x20call;\x20received\x20','15341937cyRqFg','1182293CkDvjj','8OxtPzj','items','data\x20update\x20can\x20update\x20at\x20most\x20','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','object','12QDjstS','4039848inaqjs','isSafeInteger','join','1294HdMtEy','892092BeDjvY','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','map','test'];a161_0x21f6=function(){return _0x2bb1ea;};return a161_0x21f6();}function a161_0x2890(_0x1fab05,_0x88950e){_0x1fab05=_0x1fab05-0xf8;const _0x21f622=a161_0x21f6();let _0x2890a9=_0x21f622[_0x1fab05];return _0x2890a9;}export function parseBatchCreateItemsFromParams(_0x9dbaff){const _0x4b4a7d=a161_0x2890;if(Array[_0x4b4a7d(0x109)](_0x9dbaff))return _0x9dbaff;if(_0x9dbaff!==null&&_0x9dbaff!==undefined&&typeof _0x9dbaff===_0x4b4a7d(0xf9)&&Array[_0x4b4a7d(0x109)](_0x9dbaff['items']))return _0x9dbaff[_0x4b4a7d(0x116)];throw CliErrors[_0x4b4a7d(0x111)](_0x4b4a7d(0x100),'Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27');}function parseDataUpdateId(_0x2d1aae,_0x5604aa){const _0x35e731=a161_0x2890;if(typeof _0x2d1aae==='number'&&Number[_0x35e731(0xfc)](_0x2d1aae)&&_0x2d1aae>0x0)return _0x2d1aae;if(typeof _0x2d1aae===_0x35e731(0x107)){if(/^[1-9]\d*$/[_0x35e731(0x102)](_0x2d1aae))return _0x2d1aae;}throw CliErrors[_0x35e731(0x111)]('data\x20update\x20--params.'+_0x5604aa+_0x35e731(0x10a));}export function parseUpdateIdsFromParams(_0x1b80da){const _0x529b3f=a161_0x2890;if(_0x1b80da===null||_0x1b80da===undefined||typeof _0x1b80da!==_0x529b3f(0xf9)||Array['isArray'](_0x1b80da))throw CliErrors[_0x529b3f(0x111)](_0x529b3f(0x108),_0x529b3f(0x104));const _0x36154f=_0x1b80da['id'];if(_0x36154f===undefined||_0x36154f===null)throw CliErrors[_0x529b3f(0x111)](_0x529b3f(0x118),_0x529b3f(0x104));const _0x21bc8f=Array[_0x529b3f(0x109)](_0x36154f)?_0x36154f:[_0x36154f];if(_0x21bc8f[_0x529b3f(0x103)]===0x0)throw CliErrors[_0x529b3f(0x111)](_0x529b3f(0xf8));if(_0x21bc8f[_0x529b3f(0x103)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x529b3f(0x111)](_0x529b3f(0x117)+MAX_DATA_UPDATE_IDS+_0x529b3f(0x112)+_0x21bc8f[_0x529b3f(0x103)]+'.');return _0x21bc8f[_0x529b3f(0x101)]((_0x49b564,_0xd26daa)=>parseDataUpdateId(_0x49b564,Array[_0x529b3f(0x109)](_0x36154f)?_0x529b3f(0x106)+_0xd26daa+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x2e60ce,_0x13bfab){const _0x162c6c=a161_0x2890;if(Array['isArray'](_0x2e60ce['id'])&&_0x13bfab[_0x162c6c(0x103)]>0x1)return{..._0x2e60ce,'id':_0x13bfab[_0x162c6c(0xfd)](',')};return _0x2e60ce;}
1
+ (function(_0x185973,_0x2b5367){const _0x27b403=a161_0x58c7,_0x58b959=_0x185973();while(!![]){try{const _0xc75dfd=parseInt(_0x27b403(0xb5))/0x1+-parseInt(_0x27b403(0xb4))/0x2*(parseInt(_0x27b403(0xc8))/0x3)+parseInt(_0x27b403(0xc7))/0x4+-parseInt(_0x27b403(0xbf))/0x5*(parseInt(_0x27b403(0xb9))/0x6)+parseInt(_0x27b403(0xad))/0x7+parseInt(_0x27b403(0xb1))/0x8*(parseInt(_0x27b403(0xbc))/0x9)+parseInt(_0x27b403(0xc2))/0xa;if(_0xc75dfd===_0x2b5367)break;else _0x58b959['push'](_0x58b959['shift']());}catch(_0xc5f255){_0x58b959['push'](_0x58b959['shift']());}}}(a161_0x29d3,0x7c78f));import{CliErrors}from'../errors.js';function a161_0x58c7(_0x4aeb1c,_0x43adc7){_0x4aeb1c=_0x4aeb1c-0xad;const _0x29d34c=a161_0x29d3();let _0x58c751=_0x29d34c[_0x4aeb1c];return _0x58c751;}import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x20e85d){const _0x25c8fe=a161_0x58c7;if(!_0x20e85d)return undefined;try{return parseLosslessJson(_0x20e85d);}catch{throw CliErrors[_0x25c8fe(0xbb)](_0x25c8fe(0xbd)+_0x20e85d);}}export function parseJsonParamsValue(_0xec70aa){const _0x5280d0=a161_0x58c7;if(!_0xec70aa)return undefined;try{return parseLosslessJson(_0xec70aa);}catch{throw CliErrors[_0x5280d0(0xbb)](_0x5280d0(0xbd)+_0xec70aa);}}export function parseBatchCreateItemsFromParams(_0x59af1b){const _0x5ae362=a161_0x58c7;if(Array[_0x5ae362(0xaf)](_0x59af1b))return _0x59af1b;if(_0x59af1b!==null&&_0x59af1b!==undefined&&typeof _0x59af1b===_0x5ae362(0xbe)&&Array[_0x5ae362(0xaf)](_0x59af1b[_0x5ae362(0xca)]))return _0x59af1b[_0x5ae362(0xca)];throw CliErrors[_0x5ae362(0xbb)]('batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}',_0x5ae362(0xb7));}function parseDataUpdateId(_0x37a064,_0x14a17a){const _0x9600fd=a161_0x58c7;if(typeof _0x37a064===_0x9600fd(0xb3)&&Number[_0x9600fd(0xb2)](_0x37a064)&&_0x37a064>0x0)return _0x37a064;if(typeof _0x37a064===_0x9600fd(0xb8)){if(/^[1-9]\d*$/[_0x9600fd(0xc4)](_0x37a064))return _0x37a064;}throw CliErrors[_0x9600fd(0xbb)](_0x9600fd(0xba)+_0x14a17a+_0x9600fd(0xc0));}function a161_0x29d3(){const _0xac03a5=['962650aWOCDv','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','length','6708150SDMSol','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','test','data\x20update\x20can\x20update\x20at\x20most\x20','join','1475812iNeVoO','18804UwfggS','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','items','1471589rPBNxt','id[','isArray','\x20records\x20per\x20call;\x20received\x20','2368056kCaaZE','isSafeInteger','number','222nMBmMw','44645GJUeNY','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','string','12qwYZCJ','data\x20update\x20--params.','validation','9wFVORm','Invalid\x20JSON\x20for\x20--params:\x20','object'];a161_0x29d3=function(){return _0xac03a5;};return a161_0x29d3();}export function parseUpdateIdsFromParams(_0x5de0fa){const _0x480482=a161_0x58c7;if(_0x5de0fa===null||_0x5de0fa===undefined||typeof _0x5de0fa!==_0x480482(0xbe)||Array[_0x480482(0xaf)](_0x5de0fa))throw CliErrors[_0x480482(0xbb)](_0x480482(0xb6),'Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27');const _0x4a7449=_0x5de0fa['id'];if(_0x4a7449===undefined||_0x4a7449===null)throw CliErrors[_0x480482(0xbb)](_0x480482(0xc9),_0x480482(0xc3));const _0x3142bd=Array['isArray'](_0x4a7449)?_0x4a7449:[_0x4a7449];if(_0x3142bd[_0x480482(0xc1)]===0x0)throw CliErrors[_0x480482(0xbb)]('data\x20update\x20id\x20array\x20cannot\x20be\x20empty.');if(_0x3142bd['length']>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x480482(0xbb)](_0x480482(0xc5)+MAX_DATA_UPDATE_IDS+_0x480482(0xb0)+_0x3142bd['length']+'.');return _0x3142bd['map']((_0x402af0,_0x7cb52b)=>parseDataUpdateId(_0x402af0,Array[_0x480482(0xaf)](_0x4a7449)?_0x480482(0xae)+_0x7cb52b+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x3f191b,_0x4b7b88){const _0x437a8a=a161_0x58c7;if(Array[_0x437a8a(0xaf)](_0x3f191b['id'])&&_0x4b7b88[_0x437a8a(0xc1)]>0x1)return{..._0x3f191b,'id':_0x4b7b88[_0x437a8a(0xc6)](',')};return _0x3f191b;}
@@ -1 +1 @@
1
- (function(_0x285172,_0x1bd1fa){const _0x31b4bb=a162_0x58a0,_0x556956=_0x285172();while(!![]){try{const _0x5a69dd=parseInt(_0x31b4bb(0x1c1))/0x1+parseInt(_0x31b4bb(0x1c0))/0x2*(parseInt(_0x31b4bb(0x1b7))/0x3)+-parseInt(_0x31b4bb(0x1b8))/0x4*(-parseInt(_0x31b4bb(0x1bd))/0x5)+-parseInt(_0x31b4bb(0x1be))/0x6+-parseInt(_0x31b4bb(0x1bf))/0x7+-parseInt(_0x31b4bb(0x1bb))/0x8*(parseInt(_0x31b4bb(0x1c3))/0x9)+parseInt(_0x31b4bb(0x1c2))/0xa*(-parseInt(_0x31b4bb(0x1bc))/0xb);if(_0x5a69dd===_0x1bd1fa)break;else _0x556956['push'](_0x556956['shift']());}catch(_0x1d403d){_0x556956['push'](_0x556956['shift']());}}}(a162_0x4b21,0xc2bf4));export function normalizePositiveSafeInteger(_0x4cff63){const _0x492cee=a162_0x58a0;if(typeof _0x4cff63===_0x492cee(0x1ba))return Number[_0x492cee(0x1c4)](_0x4cff63)&&_0x4cff63>0x0?_0x4cff63:undefined;if(typeof _0x4cff63!=='string'||!/^\d+$/[_0x492cee(0x1b9)](_0x4cff63))return undefined;const _0x248d48=Number(_0x4cff63);return Number[_0x492cee(0x1c4)](_0x248d48)&&_0x248d48>0x0?_0x248d48:undefined;}function a162_0x58a0(_0x1e2665,_0x2ec3b5){_0x1e2665=_0x1e2665-0x1b7;const _0x4b21e4=a162_0x4b21();let _0x58a07c=_0x4b21e4[_0x1e2665];return _0x58a07c;}function a162_0x4b21(){const _0x4193dc=['532505DZCllE','5211222JRDjau','1984297nlemyQ','4574JQPvhu','647357GZXpuK','744950XXqDDO','768024MhVumX','isSafeInteger','1191TGISZz','52ZnypmC','test','number','16ZevVyX','121SoKqCJ'];a162_0x4b21=function(){return _0x4193dc;};return a162_0x4b21();}
1
+ function a162_0x2e1d(){const _0x434455=['string','16601032hXflSS','number','470508ZOKoyf','1555568wqXjxQ','isSafeInteger','1521018dgDPuN','1705311rwHTCQ','1235048NttPNb','2350710YCqZku'];a162_0x2e1d=function(){return _0x434455;};return a162_0x2e1d();}function a162_0x16c3(_0x28d1e9,_0x20dd37){_0x28d1e9=_0x28d1e9-0x14f;const _0x2e1d56=a162_0x2e1d();let _0x16c31b=_0x2e1d56[_0x28d1e9];return _0x16c31b;}(function(_0x44632,_0x84a36a){const _0x1b3d40=a162_0x16c3,_0x419917=_0x44632();while(!![]){try{const _0x141a1c=parseInt(_0x1b3d40(0x151))/0x1+parseInt(_0x1b3d40(0x156))/0x2+parseInt(_0x1b3d40(0x150))/0x3+parseInt(_0x1b3d40(0x157))/0x4+parseInt(_0x1b3d40(0x152))/0x5+parseInt(_0x1b3d40(0x14f))/0x6+-parseInt(_0x1b3d40(0x154))/0x7;if(_0x141a1c===_0x84a36a)break;else _0x419917['push'](_0x419917['shift']());}catch(_0x33f2a7){_0x419917['push'](_0x419917['shift']());}}}(a162_0x2e1d,0xbe5b4));export function normalizePositiveSafeInteger(_0x43b630){const _0x8db2f8=a162_0x16c3;if(typeof _0x43b630===_0x8db2f8(0x155))return Number[_0x8db2f8(0x158)](_0x43b630)&&_0x43b630>0x0?_0x43b630:undefined;if(typeof _0x43b630!==_0x8db2f8(0x153)||!/^\d+$/['test'](_0x43b630))return undefined;const _0x374036=Number(_0x43b630);return Number['isSafeInteger'](_0x374036)&&_0x374036>0x0?_0x374036:undefined;}
@@ -1 +1 @@
1
- const a163_0x35798b=a163_0x3137;(function(_0x3e663f,_0xcce76d){const _0x1da63f=a163_0x3137,_0x1637ec=_0x3e663f();while(!![]){try{const _0x4633ea=parseInt(_0x1da63f(0x10a))/0x1+-parseInt(_0x1da63f(0x10b))/0x2*(-parseInt(_0x1da63f(0xfb))/0x3)+-parseInt(_0x1da63f(0xfe))/0x4+parseInt(_0x1da63f(0x104))/0x5*(-parseInt(_0x1da63f(0x103))/0x6)+parseInt(_0x1da63f(0x111))/0x7+parseInt(_0x1da63f(0x10c))/0x8*(parseInt(_0x1da63f(0x10e))/0x9)+-parseInt(_0x1da63f(0x109))/0xa;if(_0x4633ea===_0xcce76d)break;else _0x1637ec['push'](_0x1637ec['shift']());}catch(_0x3caccb){_0x1637ec['push'](_0x1637ec['shift']());}}}(a163_0x54ef,0x1c9a5));const REDACTED_VALUE=a163_0x35798b(0x107),SENSITIVE_KEY_PATTERN=/(?:access.?key|api.?key|authorization|cookie|credential|password|passwd|private.?key|secret|token|webhook)/i,SENSITIVE_FLAG_NAMES=new Set(['comment','variables']),SENSITIVE_VALUE_KEYS=new Set([a163_0x35798b(0x110)]);function a163_0x54ef(){const _0x3d3c4f=['map','entries','[REDACTED]','match','1638470juBQjP','60790msasmS','2tbJAlk','72NSSuuU','object','130068dAMwap','push','comment','1039360QFniZK','replace','397446NsMROv','variables','has','352204FmymwI','test','fromEntries','isArray','toLowerCase','306SBnSmS','10075IEHXtY'];a163_0x54ef=function(){return _0x3d3c4f;};return a163_0x54ef();}export function isSensitiveKey(_0x4f9881){const _0x3c7d96=a163_0x35798b,_0x396ce0=_0x4f9881[_0x3c7d96(0xfa)](/_/g,'-')['toLowerCase']();return SENSITIVE_KEY_PATTERN[_0x3c7d96(0xff)](_0x396ce0);}export function isSensitiveFlagName(_0xad3a38){const _0x30b317=a163_0x35798b,_0x45035e=_0xad3a38[_0x30b317(0xfa)](/_/g,'-')[_0x30b317(0x102)]();return isSensitiveKey(_0x45035e)||SENSITIVE_FLAG_NAMES['has'](_0x45035e);}function redactVariableValues(_0x3d021c){const _0x17e59f=a163_0x35798b;if(Array[_0x17e59f(0x101)](_0x3d021c))return _0x3d021c['map'](_0x15b3bc=>redactVariableValues(_0x15b3bc));if(_0x3d021c&&typeof _0x3d021c===_0x17e59f(0x10d))return Object[_0x17e59f(0x100)](Object['entries'](_0x3d021c)[_0x17e59f(0x105)](([_0x12786a,_0x1de0cc])=>[_0x12786a,redactVariableValues(_0x1de0cc)]));return REDACTED_VALUE;}export function redactSensitiveValue(_0x5e6b0e){const _0x4001bd=a163_0x35798b;if(Array[_0x4001bd(0x101)](_0x5e6b0e))return _0x5e6b0e[_0x4001bd(0x105)](_0x3ae9dc=>redactSensitiveValue(_0x3ae9dc));if(!_0x5e6b0e||typeof _0x5e6b0e!==_0x4001bd(0x10d))return _0x5e6b0e;const _0x271989={};for(const [_0x37f551,_0x2775f8]of Object[_0x4001bd(0x106)](_0x5e6b0e)){const _0x1fc881=_0x37f551[_0x4001bd(0xfa)](/_/g,'-')[_0x4001bd(0x102)]();_0x271989[_0x37f551]=_0x1fc881===_0x4001bd(0xfc)?redactVariableValues(_0x2775f8):SENSITIVE_VALUE_KEYS[_0x4001bd(0xfd)](_0x1fc881)||isSensitiveKey(_0x37f551)?REDACTED_VALUE:redactSensitiveValue(_0x2775f8);}return _0x271989;}function a163_0x3137(_0x36e5fc,_0x451851){_0x36e5fc=_0x36e5fc-0xfa;const _0x54efc6=a163_0x54ef();let _0x313773=_0x54efc6[_0x36e5fc];return _0x313773;}export function redactCommandArgv(_0x3e35f4){const _0x51733c=a163_0x35798b,_0x3bcb2b=[];let _0x2aa7e7=![];for(const _0x1a822b of _0x3e35f4){if(_0x2aa7e7){_0x3bcb2b[_0x51733c(0x10f)](REDACTED_VALUE),_0x2aa7e7=![];continue;}const _0x4fcca2=_0x1a822b[_0x51733c(0x108)](/^--([^=]+)(?:=(.*))?$/);if(!_0x4fcca2||!isSensitiveFlagName(_0x4fcca2[0x1]??'')){_0x3bcb2b['push'](_0x1a822b);continue;}_0x3bcb2b[_0x51733c(0x10f)]('--'+_0x4fcca2[0x1]+(_0x4fcca2[0x2]===undefined?'':'='+REDACTED_VALUE)),_0x4fcca2[0x2]===undefined&&(_0x2aa7e7=!![]);}return _0x3bcb2b;}export{REDACTED_VALUE};
1
+ const a163_0x4a5acd=a163_0x5fa6;(function(_0x679cc1,_0x1f2b99){const _0x11be34=a163_0x5fa6,_0x3c24da=_0x679cc1();while(!![]){try{const _0x42f105=-parseInt(_0x11be34(0x16d))/0x1*(-parseInt(_0x11be34(0x17d))/0x2)+-parseInt(_0x11be34(0x17c))/0x3+-parseInt(_0x11be34(0x179))/0x4*(parseInt(_0x11be34(0x16c))/0x5)+parseInt(_0x11be34(0x172))/0x6*(-parseInt(_0x11be34(0x17a))/0x7)+-parseInt(_0x11be34(0x16e))/0x8*(parseInt(_0x11be34(0x16a))/0x9)+-parseInt(_0x11be34(0x177))/0xa*(-parseInt(_0x11be34(0x173))/0xb)+parseInt(_0x11be34(0x168))/0xc;if(_0x42f105===_0x1f2b99)break;else _0x3c24da['push'](_0x3c24da['shift']());}catch(_0x32ceab){_0x3c24da['push'](_0x3c24da['shift']());}}}(a163_0xbb80,0xbcaab));const REDACTED_VALUE='[REDACTED]',SENSITIVE_KEY_PATTERN=/(?:access.?key|api.?key|authorization|cookie|credential|password|passwd|private.?key|secret|token|webhook)/i,SENSITIVE_FLAG_NAMES=new Set([a163_0x4a5acd(0x16f),'variables']),SENSITIVE_VALUE_KEYS=new Set([a163_0x4a5acd(0x16f)]);function a163_0x5fa6(_0x430ed3,_0x458006){_0x430ed3=_0x430ed3-0x167;const _0xbb800c=a163_0xbb80();let _0x5fa60a=_0xbb800c[_0x430ed3];return _0x5fa60a;}export function isSensitiveKey(_0xba64ec){const _0x9b1a04=a163_0x4a5acd,_0x4fc4c2=_0xba64ec[_0x9b1a04(0x170)](/_/g,'-')['toLowerCase']();return SENSITIVE_KEY_PATTERN[_0x9b1a04(0x175)](_0x4fc4c2);}function a163_0xbb80(){const _0x216070=['object','1914621sreZBa','208612jBNWcu','isArray','toLowerCase','has','47635752TPuMTm','fromEntries','8026245YTpkwG','match','51335syhKAU','3kEKanx','8pbnkpN','comment','replace','map','846oLIgDb','11UhfDUC','variables','test','entries','3291950mzCQOh','push','528KinUEZ','47348cmnlPO'];a163_0xbb80=function(){return _0x216070;};return a163_0xbb80();}export function isSensitiveFlagName(_0x1bf7b3){const _0x34c38f=a163_0x4a5acd,_0x5da491=_0x1bf7b3[_0x34c38f(0x170)](/_/g,'-')[_0x34c38f(0x17f)]();return isSensitiveKey(_0x5da491)||SENSITIVE_FLAG_NAMES[_0x34c38f(0x167)](_0x5da491);}function redactVariableValues(_0xd88771){const _0x512328=a163_0x4a5acd;if(Array[_0x512328(0x17e)](_0xd88771))return _0xd88771[_0x512328(0x171)](_0x1b25b5=>redactVariableValues(_0x1b25b5));if(_0xd88771&&typeof _0xd88771===_0x512328(0x17b))return Object[_0x512328(0x169)](Object['entries'](_0xd88771)[_0x512328(0x171)](([_0x35a2b8,_0x369077])=>[_0x35a2b8,redactVariableValues(_0x369077)]));return REDACTED_VALUE;}export function redactSensitiveValue(_0x4c72fb){const _0xfad833=a163_0x4a5acd;if(Array[_0xfad833(0x17e)](_0x4c72fb))return _0x4c72fb[_0xfad833(0x171)](_0x42aaac=>redactSensitiveValue(_0x42aaac));if(!_0x4c72fb||typeof _0x4c72fb!==_0xfad833(0x17b))return _0x4c72fb;const _0x4ee778={};for(const [_0x124d57,_0x48f666]of Object[_0xfad833(0x176)](_0x4c72fb)){const _0x7f4ba3=_0x124d57[_0xfad833(0x170)](/_/g,'-')[_0xfad833(0x17f)]();_0x4ee778[_0x124d57]=_0x7f4ba3===_0xfad833(0x174)?redactVariableValues(_0x48f666):SENSITIVE_VALUE_KEYS[_0xfad833(0x167)](_0x7f4ba3)||isSensitiveKey(_0x124d57)?REDACTED_VALUE:redactSensitiveValue(_0x48f666);}return _0x4ee778;}export function redactCommandArgv(_0x5eb1e2){const _0x30772c=a163_0x4a5acd,_0x5e1538=[];let _0x58f5ab=![];for(const _0x5309b4 of _0x5eb1e2){if(_0x58f5ab){_0x5e1538[_0x30772c(0x178)](REDACTED_VALUE),_0x58f5ab=![];continue;}const _0xd8f643=_0x5309b4[_0x30772c(0x16b)](/^--([^=]+)(?:=(.*))?$/);if(!_0xd8f643||!isSensitiveFlagName(_0xd8f643[0x1]??'')){_0x5e1538[_0x30772c(0x178)](_0x5309b4);continue;}_0x5e1538['push']('--'+_0xd8f643[0x1]+(_0xd8f643[0x2]===undefined?'':'='+REDACTED_VALUE)),_0xd8f643[0x2]===undefined&&(_0x58f5ab=!![]);}return _0x5e1538;}export{REDACTED_VALUE};
@@ -1 +1 @@
1
- (function(_0x5d9e1d,_0x14aaa0){const _0x12b4d8=a164_0x102b,_0x4e5d72=_0x5d9e1d();while(!![]){try{const _0x1dec1f=parseInt(_0x12b4d8(0x1f5))/0x1*(parseInt(_0x12b4d8(0x203))/0x2)+parseInt(_0x12b4d8(0x1f0))/0x3+parseInt(_0x12b4d8(0x204))/0x4*(parseInt(_0x12b4d8(0x1ef))/0x5)+-parseInt(_0x12b4d8(0x1fe))/0x6+-parseInt(_0x12b4d8(0x1fc))/0x7*(-parseInt(_0x12b4d8(0x20d))/0x8)+-parseInt(_0x12b4d8(0x1f3))/0x9*(-parseInt(_0x12b4d8(0x1f8))/0xa)+parseInt(_0x12b4d8(0x20b))/0xb*(-parseInt(_0x12b4d8(0x20e))/0xc);if(_0x1dec1f===_0x14aaa0)break;else _0x4e5d72['push'](_0x4e5d72['shift']());}catch(_0x30c540){_0x4e5d72['push'](_0x4e5d72['shift']());}}}(a164_0x9055,0xee7b7));import{mkdir,readFile,writeFile}from'node:fs/promises';function a164_0x9055(){const _0x46317b=['1984521ntMtIf','trim','16QLCcay','204OpFRKk','/v/','needsUpgrade','.cache','50ZHOvvm','2319867wyzyEN','utf8','stableVersion','3699fBPbRS','update-check.json','14318rLFEMP',',\x20run:\x20','lovrabet-cli','22060fYHHUh','toLowerCase','yes','true','417459HUeTMn','\x20is\x20recommended,\x20current\x20','5037822aDpgOI','now','lastNotifiedVersion','https://www.npmjs.com/package/','currentVersion','162hZVmca','769784sxyxsi','number','upgradeMessage','lastNotifiedAt','object','stringify','join'];a164_0x9055=function(){return _0x46317b;};return a164_0x9055();}import{homedir}from'node:os';function a164_0x102b(_0xe4ab92,_0x116c19){_0xe4ab92=_0xe4ab92-0x1ee;const _0x90554e=a164_0x9055();let _0x102bec=_0x90554e[_0xe4ab92];return _0x102bec;}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 _0x1ff2fd=a164_0x102b,_0x1045e1=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x1ff2fd(0x20c)]()[_0x1ff2fd(0x1f9)]();return _0x1045e1==='1'||_0x1045e1===_0x1ff2fd(0x1fb)||_0x1045e1===_0x1ff2fd(0x1fa);}function cacheRoot(){const _0x1b0edf=a164_0x102b;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x1b0edf(0x1ee));}export function getUpdateNoticeCachePath(){const _0x5ecb9c=a164_0x102b;return join(cacheRoot(),_0x5ecb9c(0x1f7),_0x5ecb9c(0x1f4));}async function readUpdateNoticeCache(){const _0x37bf8d=a164_0x102b;try{const _0x509702=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x5443fc=JSON['parse'](_0x509702);if(!_0x5443fc||typeof _0x5443fc!==_0x37bf8d(0x208))return{};return _0x5443fc;}catch{return{};}}async function writeUpdateNoticeCache(_0x3f620e){const _0x334ef3=a164_0x102b;try{const _0x4ccc0f=getUpdateNoticeCachePath();await mkdir(dirname(_0x4ccc0f),{'recursive':!![]}),await writeFile(_0x4ccc0f,JSON[_0x334ef3(0x209)](_0x3f620e,null,0x2)+'\x0a',_0x334ef3(0x1f1));}catch{}}function isRecentlyNotified(_0x46452a,_0x1b70c4,_0x138719){const _0x53e95f=a164_0x102b;return _0x46452a[_0x53e95f(0x200)]===_0x1b70c4&&typeof _0x46452a['lastNotifiedAt']===_0x53e95f(0x205)&&_0x138719-_0x46452a[_0x53e95f(0x207)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x29a023){const _0x2577a0=a164_0x102b;return _0x2577a0(0x201)+LOVRABET_NPM_PACKAGE_NAME+_0x2577a0(0x20f)+_0x29a023;}export async function resolveLatestUpdateNotice(_0x3e9c24){const _0x3ead34=a164_0x102b;if(isUpdateNoticeDisabled())return null;try{const _0x6ccad1=Date[_0x3ead34(0x1ff)](),_0x2a6d3f=_0x3e9c24??await checkCliVersion(),_0x4433d3=_0x2a6d3f[_0x3ead34(0x202)],_0x2e9d8e=_0x2a6d3f[_0x3ead34(0x1f2)],_0x53dfd1=await readUpdateNoticeCache();if(!_0x2e9d8e||!_0x2a6d3f[_0x3ead34(0x210)]||_0x2a6d3f['belowMinimum'])return null;if(isRecentlyNotified(_0x53dfd1,_0x2e9d8e,_0x6ccad1))return null;const _0x267d64=getCliUpgradeCommand(_0x2a6d3f);return await writeUpdateNoticeCache({..._0x53dfd1,'checkedAt':_0x6ccad1,'latest':_0x2e9d8e,'failed':![],'lastNotifiedVersion':_0x2e9d8e,'lastNotifiedAt':_0x6ccad1}),{'command':_0x267d64,'current':_0x4433d3,'latest':_0x2e9d8e,'url':buildNpmVersionUrl(_0x2e9d8e),'message':[_0x2a6d3f[_0x3ead34(0x206)],CLI_BIN_NAME+'\x20'+_0x2e9d8e+_0x3ead34(0x1fd)+_0x4433d3+_0x3ead34(0x1f6)+_0x267d64]['filter'](Boolean)[_0x3ead34(0x20a)]('\x20')};}catch{return null;}}
1
+ function a164_0x30e1(){const _0x2f7fd3=['lastNotifiedAt','upgradeMessage','81vixpsf','893354tjgNwV','lastNotifiedVersion','lovrabet-cli','https://www.npmjs.com/package/','number','184840iCDwwk','now','utf8','88UqeFUu','parse','toLowerCase','belowMinimum','\x20is\x20recommended,\x20current\x20','update-check.json','123677IzHLwR','8IbzitW','filter','520925ZMisKt','41682zLIZTy','yes','60699REZmrj','currentVersion','.cache','stableVersion','427VWEgnd',',\x20run:\x20','762940CaWukg'];a164_0x30e1=function(){return _0x2f7fd3;};return a164_0x30e1();}(function(_0xb431f8,_0xd4bb10){const _0x56e5d4=a164_0xadc3,_0x2eee14=_0xb431f8();while(!![]){try{const _0x3619ae=-parseInt(_0x56e5d4(0x1ea))/0x1+parseInt(_0x56e5d4(0x1fa))/0x2+-parseInt(_0x56e5d4(0x1f0))/0x3*(-parseInt(_0x56e5d4(0x1eb))/0x4)+-parseInt(_0x56e5d4(0x1ed))/0x5+-parseInt(_0x56e5d4(0x1ee))/0x6*(parseInt(_0x56e5d4(0x1f4))/0x7)+-parseInt(_0x56e5d4(0x1ff))/0x8*(parseInt(_0x56e5d4(0x1f9))/0x9)+-parseInt(_0x56e5d4(0x1f6))/0xa*(-parseInt(_0x56e5d4(0x202))/0xb);if(_0x3619ae===_0xd4bb10)break;else _0x2eee14['push'](_0x2eee14['shift']());}catch(_0x39604a){_0x2eee14['push'](_0x2eee14['shift']());}}}(a164_0x30e1,0x3a161));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 a164_0xadc3(_0x2e17b2,_0x36a956){_0x2e17b2=_0x2e17b2-0x1e6;const _0x30e1d1=a164_0x30e1();let _0xadc34a=_0x30e1d1[_0x2e17b2];return _0xadc34a;}function isUpdateNoticeDisabled(){const _0x293a86=a164_0xadc3,_0x51c304=process.env.LOVRABET_NO_UPDATE_NOTICE?.['trim']()[_0x293a86(0x1e6)]();return _0x51c304==='1'||_0x51c304==='true'||_0x51c304===_0x293a86(0x1ef);}function cacheRoot(){const _0x417dad=a164_0xadc3;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x417dad(0x1f2));}export function getUpdateNoticeCachePath(){const _0x39e67c=a164_0xadc3;return join(cacheRoot(),_0x39e67c(0x1fc),_0x39e67c(0x1e9));}async function readUpdateNoticeCache(){const _0x2857dd=a164_0xadc3;try{const _0x598ffd=await readFile(getUpdateNoticeCachePath(),_0x2857dd(0x201)),_0x6f73f=JSON[_0x2857dd(0x203)](_0x598ffd);if(!_0x6f73f||typeof _0x6f73f!=='object')return{};return _0x6f73f;}catch{return{};}}async function writeUpdateNoticeCache(_0x4876cd){const _0x120ac0=a164_0xadc3;try{const _0x4ebfad=getUpdateNoticeCachePath();await mkdir(dirname(_0x4ebfad),{'recursive':!![]}),await writeFile(_0x4ebfad,JSON['stringify'](_0x4876cd,null,0x2)+'\x0a',_0x120ac0(0x201));}catch{}}function isRecentlyNotified(_0x4a2b31,_0x1bd679,_0x510c86){const _0x24a717=a164_0xadc3;return _0x4a2b31[_0x24a717(0x1fb)]===_0x1bd679&&typeof _0x4a2b31['lastNotifiedAt']===_0x24a717(0x1fe)&&_0x510c86-_0x4a2b31[_0x24a717(0x1f7)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x163223){const _0x55bfda=a164_0xadc3;return _0x55bfda(0x1fd)+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x163223;}export async function resolveLatestUpdateNotice(_0x454903){const _0x435814=a164_0xadc3;if(isUpdateNoticeDisabled())return null;try{const _0x44ec59=Date[_0x435814(0x200)](),_0x4f8031=_0x454903??await checkCliVersion(),_0x424bf3=_0x4f8031[_0x435814(0x1f1)],_0x5cd8e7=_0x4f8031[_0x435814(0x1f3)],_0x3090e4=await readUpdateNoticeCache();if(!_0x5cd8e7||!_0x4f8031['needsUpgrade']||_0x4f8031[_0x435814(0x1e7)])return null;if(isRecentlyNotified(_0x3090e4,_0x5cd8e7,_0x44ec59))return null;const _0x35b53a=getCliUpgradeCommand(_0x4f8031);return await writeUpdateNoticeCache({..._0x3090e4,'checkedAt':_0x44ec59,'latest':_0x5cd8e7,'failed':![],'lastNotifiedVersion':_0x5cd8e7,'lastNotifiedAt':_0x44ec59}),{'command':_0x35b53a,'current':_0x424bf3,'latest':_0x5cd8e7,'url':buildNpmVersionUrl(_0x5cd8e7),'message':[_0x4f8031[_0x435814(0x1f8)],CLI_BIN_NAME+'\x20'+_0x5cd8e7+_0x435814(0x1e8)+_0x424bf3+_0x435814(0x1f5)+_0x35b53a][_0x435814(0x1ec)](Boolean)['join']('\x20')};}catch{return null;}}
@@ -1 +1 @@
1
- function a165_0xa45a(){const _0x4d79ef=['385304SkiikS','2281215ZHSSgO','550589pwwcXb','5623263XbJcOk','2850yqbboM','112ZniMJw','unknown','1003214LEdkkb','1440696RUeKSk','820VNVgIY'];a165_0xa45a=function(){return _0x4d79ef;};return a165_0xa45a();}(function(_0x23a3a4,_0xc6fb93){const _0x335f72=a165_0x3d8b,_0x3380ef=_0x23a3a4();while(!![]){try{const _0x153325=parseInt(_0x335f72(0x17d))/0x1+-parseInt(_0x335f72(0x182))/0x2+-parseInt(_0x335f72(0x17c))/0x3+-parseInt(_0x335f72(0x179))/0x4+-parseInt(_0x335f72(0x17a))/0x5*(-parseInt(_0x335f72(0x17f))/0x6)+-parseInt(_0x335f72(0x180))/0x7*(-parseInt(_0x335f72(0x17b))/0x8)+parseInt(_0x335f72(0x17e))/0x9;if(_0x153325===_0xc6fb93)break;else _0x3380ef['push'](_0x3380ef['shift']());}catch(_0x3d689a){_0x3380ef['push'](_0x3380ef['shift']());}}}(a165_0xa45a,0x62136));function a165_0x3d8b(_0x22ab80,_0x5859ff){_0x22ab80=_0x22ab80-0x179;const _0xa45a5c=a165_0xa45a();let _0x3d8b28=_0xa45a5c[_0x22ab80];return _0x3d8b28;}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0xd0e186=a165_0x3d8b,_0x242994=String(GIT_COMMIT);return _0x242994&&_0x242994!==_0xd0e186(0x181)?_0x242994:'';}export function getCliVersionDisplay(){const _0x366d42=getCliGitCommit(),_0x55c3b0=BUILD_TIME['slice'](0x0,0xa);if(!_0x366d42||!_0x55c3b0)return VERSION;return VERSION+'\x20('+_0x366d42+',\x20'+_0x55c3b0+')';}
1
+ (function(_0x1e6af6,_0x308ca4){const _0x3843d9=a165_0xdce9,_0x5d4752=_0x1e6af6();while(!![]){try{const _0x4d187d=parseInt(_0x3843d9(0x101))/0x1*(-parseInt(_0x3843d9(0x10a))/0x2)+parseInt(_0x3843d9(0x10c))/0x3*(-parseInt(_0x3843d9(0x104))/0x4)+-parseInt(_0x3843d9(0x107))/0x5*(-parseInt(_0x3843d9(0x102))/0x6)+-parseInt(_0x3843d9(0x10d))/0x7*(parseInt(_0x3843d9(0x106))/0x8)+parseInt(_0x3843d9(0x105))/0x9+parseInt(_0x3843d9(0x10b))/0xa*(-parseInt(_0x3843d9(0x103))/0xb)+-parseInt(_0x3843d9(0x108))/0xc*(-parseInt(_0x3843d9(0x10e))/0xd);if(_0x4d187d===_0x308ca4)break;else _0x5d4752['push'](_0x5d4752['shift']());}catch(_0xace285){_0x5d4752['push'](_0x5d4752['shift']());}}}(a165_0x481a,0x9b597));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a165_0x481a(){const _0xca2b8d=['120882ZJJnLk','582593kOnsKC','759904fuMNoS','4041009iwPGFG','8jPBxoS','125UucfRU','16482696ZpDSIh','slice','327202BhobTI','70JlweBO','12dQxLEH','5513403cMHLDt','26xUQvUO','7DkwHcH'];a165_0x481a=function(){return _0xca2b8d;};return a165_0x481a();}export function getCliGitCommit(){const _0x566349=String(GIT_COMMIT);return _0x566349&&_0x566349!=='unknown'?_0x566349:'';}function a165_0xdce9(_0xf8bf72,_0x1a9664){_0xf8bf72=_0xf8bf72-0x101;const _0x481aaf=a165_0x481a();let _0xdce9d1=_0x481aaf[_0xf8bf72];return _0xdce9d1;}export function getCliVersionDisplay(){const _0x9b279d=a165_0xdce9,_0x49d841=getCliGitCommit(),_0x1082cb=BUILD_TIME[_0x9b279d(0x109)](0x0,0xa);if(!_0x49d841||!_0x1082cb)return VERSION;return VERSION+'\x20('+_0x49d841+',\x20'+_0x1082cb+')';}
@@ -1 +1 @@
1
- (function(_0x13ef68,_0x143537){var _0x443b07=a166_0x55d7,_0x37c350=_0x13ef68();while(!![]){try{var _0x50b32c=-parseInt(_0x443b07(0x1ab))/0x1*(parseInt(_0x443b07(0x1a8))/0x2)+-parseInt(_0x443b07(0x1ae))/0x3+parseInt(_0x443b07(0x1b0))/0x4*(-parseInt(_0x443b07(0x1a9))/0x5)+parseInt(_0x443b07(0x1af))/0x6*(parseInt(_0x443b07(0x1a6))/0x7)+-parseInt(_0x443b07(0x1a7))/0x8*(-parseInt(_0x443b07(0x1a5))/0x9)+-parseInt(_0x443b07(0x1b1))/0xa+-parseInt(_0x443b07(0x1ad))/0xb;if(_0x50b32c===_0x143537)break;else _0x37c350['push'](_0x37c350['shift']());}catch(_0x22bbff){_0x37c350['push'](_0x37c350['shift']());}}}(a166_0x2ddc,0x7f90c));function a166_0x55d7(_0x4f1627,_0x5e42c8){_0x4f1627=_0x4f1627-0x1a5;var _0x2ddc6a=a166_0x2ddc();var _0x55d735=_0x2ddc6a[_0x4f1627];return _0x55d735;}export function writeCliSideChannelLine(_0x86842a){var _0x3ad384=a166_0x55d7;process[_0x3ad384(0x1ac)][_0x3ad384(0x1aa)](_0x86842a+'\x0a');}function a166_0x2ddc(){var _0x415db2=['write','2519jzUxUi','stderr','557381bNJpAW','327183NuaqEp','6zRUQRk','164NtaULq','1285550NnUENr','198daQKID','6769651gZKiVC','303288OHXsMH','422RIDFNj','55955oxEMnj'];a166_0x2ddc=function(){return _0x415db2;};return a166_0x2ddc();}
1
+ (function(_0x21f923,_0xe4798c){var _0xbf78be=a166_0x1d2a,_0x30d6e6=_0x21f923();while(!![]){try{var _0x1f607e=-parseInt(_0xbf78be(0x152))/0x1+parseInt(_0xbf78be(0x154))/0x2+-parseInt(_0xbf78be(0x158))/0x3+-parseInt(_0xbf78be(0x159))/0x4*(parseInt(_0xbf78be(0x155))/0x5)+-parseInt(_0xbf78be(0x151))/0x6*(parseInt(_0xbf78be(0x150))/0x7)+-parseInt(_0xbf78be(0x156))/0x8+-parseInt(_0xbf78be(0x153))/0x9*(-parseInt(_0xbf78be(0x157))/0xa);if(_0x1f607e===_0xe4798c)break;else _0x30d6e6['push'](_0x30d6e6['shift']());}catch(_0x176b55){_0x30d6e6['push'](_0x30d6e6['shift']());}}}(a166_0x200e,0xbbe7c));export function writeCliSideChannelLine(_0x29c5c4){process['stderr']['write'](_0x29c5c4+'\x0a');}function a166_0x1d2a(_0xf23009,_0x292716){_0xf23009=_0xf23009-0x150;var _0x200ea9=a166_0x200e();var _0x1d2af1=_0x200ea9[_0xf23009];return _0x1d2af1;}function a166_0x200e(){var _0x172d19=['990fbKWTR','2678793sGYmSl','4SpugBO','7689801RfqBGy','6wZpbyf','1061035wmuBID','299097mPOhVB','2975992gNovnK','3975885uNZZYl','1285736saGjJy'];a166_0x200e=function(){return _0x172d19;};return a166_0x200e();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.3.4-beta.2",
3
+ "version": "2.3.4",
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.4-beta.2
4
+ version: 2.3.4
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、approval、审批、待办、approve、reject、transfer、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.4-beta.2",
6
- "skillVersion": "2.3.4-beta.2",
5
+ "packageVersion": "2.3.4",
6
+ "skillVersion": "2.3.4",
7
7
  "files": [
8
8
  "SKILL.md",
9
9
  "guides/app-resolution.md",
@@ -38,5 +38,5 @@
38
38
  "references/lovrabet-user-account.md",
39
39
  "references/lovrabet-workspace.md"
40
40
  ],
41
- "digest": "963cb8650980012a6e27f49478297c1ef7ada2dd47645085f5ac568248a4c80e"
41
+ "digest": "af5de9689f3abfc637223b4cb08dc45e1465a45a3feec512af0ffa2e78572de5"
42
42
  }