@lovrabet/lovrabet-cli 2.1.12-beta.1 → 2.1.12

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 (119) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/api-doc/index.js +1 -1
  3. package/lib/commands/app/cache.js +1 -1
  4. package/lib/commands/app/definitions.js +1 -1
  5. package/lib/commands/app/eligibility.js +1 -1
  6. package/lib/commands/app/mock-loader.js +1 -1
  7. package/lib/commands/app/remote-source.js +1 -1
  8. package/lib/commands/app/shared.js +1 -1
  9. package/lib/commands/app-config/get.js +1 -1
  10. package/lib/commands/app-config/index.js +1 -1
  11. package/lib/commands/app-config/shared.js +1 -1
  12. package/lib/commands/artifact/index.js +1 -1
  13. package/lib/commands/auth/index.js +1 -1
  14. package/lib/commands/auth/prompt.js +1 -1
  15. package/lib/commands/bff/detail.js +1 -1
  16. package/lib/commands/bff/exec.js +1 -1
  17. package/lib/commands/bff/index.js +1 -1
  18. package/lib/commands/cli-skill/index.js +1 -1
  19. package/lib/commands/common/config-policy.js +1 -1
  20. package/lib/commands/common/constraints.js +1 -1
  21. package/lib/commands/common/flags.js +1 -1
  22. package/lib/commands/common/local-file.js +1 -1
  23. package/lib/commands/config/definitions.js +1 -1
  24. package/lib/commands/config/shared.js +1 -1
  25. package/lib/commands/data/index.js +1 -1
  26. package/lib/commands/dataset/detail.js +1 -1
  27. package/lib/commands/dataset/index.js +1 -1
  28. package/lib/commands/dataset/list.js +1 -1
  29. package/lib/commands/dataset/sdk-doc.js +1 -1
  30. package/lib/commands/doctor.js +1 -1
  31. package/lib/commands/file/index.js +1 -1
  32. package/lib/commands/init.js +1 -1
  33. package/lib/commands/kb/index.js +1 -1
  34. package/lib/commands/logs/index.js +1 -1
  35. package/lib/commands/ocr/index.js +1 -1
  36. package/lib/commands/personal-bff/index.js +1 -1
  37. package/lib/commands/registry.js +1 -1
  38. package/lib/commands/schema.js +1 -1
  39. package/lib/commands/service/dynamic.js +1 -1
  40. package/lib/commands/service/index.js +1 -1
  41. package/lib/commands/service/registry.js +1 -1
  42. package/lib/commands/skill/commands/create.js +1 -1
  43. package/lib/commands/skill/commands/install.js +1 -1
  44. package/lib/commands/skill/commands/list.js +1 -1
  45. package/lib/commands/skill/commands/push.js +1 -1
  46. package/lib/commands/skill/commands/validate.js +1 -1
  47. package/lib/commands/skill/flags.js +1 -1
  48. package/lib/commands/skill/index.js +1 -1
  49. package/lib/commands/skill/manifest-helpers.js +1 -1
  50. package/lib/commands/skill/push-execute.js +1 -1
  51. package/lib/commands/skill/push-flow-helpers.js +1 -1
  52. package/lib/commands/skill/push-retarget.js +1 -1
  53. package/lib/commands/skill/scopes.js +1 -1
  54. package/lib/commands/skill/summary.js +1 -1
  55. package/lib/commands/skill/templates.js +1 -1
  56. package/lib/commands/skill/validate.js +1 -1
  57. package/lib/commands/sql/detail.js +1 -1
  58. package/lib/commands/sql/exec.js +1 -1
  59. package/lib/commands/sql/index.js +1 -1
  60. package/lib/commands/update.js +1 -1
  61. package/lib/commands/workspace/index.js +1 -1
  62. package/lib/config/schema.js +1 -1
  63. package/lib/constant/app.js +1 -1
  64. package/lib/constant/auth-mode.js +1 -1
  65. package/lib/constant/cli.js +1 -1
  66. package/lib/constant/defaults.js +1 -1
  67. package/lib/constant/distribution.js +1 -1
  68. package/lib/constant/domain.js +1 -1
  69. package/lib/constant/env.js +1 -1
  70. package/lib/constant/output.js +1 -1
  71. package/lib/constant/product.js +1 -1
  72. package/lib/constant/risk.js +1 -1
  73. package/lib/constant/url.js +1 -1
  74. package/lib/context.js +1 -1
  75. package/lib/core/api-client.js +1 -1
  76. package/lib/core/db-resolver.js +1 -1
  77. package/lib/core/sdk-client.js +1 -1
  78. package/lib/errors.js +1 -1
  79. package/lib/framework/build-all-flags.js +1 -1
  80. package/lib/framework/dryrun.js +1 -1
  81. package/lib/framework/flags.js +1 -1
  82. package/lib/framework/help.js +1 -1
  83. package/lib/framework/index.js +1 -1
  84. package/lib/framework/output.js +1 -1
  85. package/lib/framework/preparse.js +1 -1
  86. package/lib/framework/rate-limit.js +1 -1
  87. package/lib/framework/response.js +1 -1
  88. package/lib/framework/runner-confirmation.js +1 -1
  89. package/lib/framework/runner-error.js +1 -1
  90. package/lib/framework/runner.js +1 -1
  91. package/lib/framework/schema-export.js +1 -1
  92. package/lib/framework/service-order.js +1 -1
  93. package/lib/framework/types.js +1 -1
  94. package/lib/generated/build-info.js +1 -1
  95. package/lib/help.js +1 -1
  96. package/lib/skills/npx-skills-add.js +1 -1
  97. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  98. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  99. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  100. package/lib/skills/runtime-skill-sync/links.js +1 -1
  101. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  102. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  103. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  104. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  105. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  106. package/lib/skills/runtime-skill-sync/push.js +1 -1
  107. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  108. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  109. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  110. package/lib/skills/runtime-skill-sync.js +1 -1
  111. package/lib/utils/apply-jq-filter.js +1 -1
  112. package/lib/utils/logger.js +1 -1
  113. package/lib/utils/lossless-json.js +1 -1
  114. package/lib/utils/params.js +1 -1
  115. package/lib/utils/platform.js +1 -1
  116. package/lib/utils/update-notice.js +1 -1
  117. package/lib/utils/version.js +1 -1
  118. package/lib/utils/write-cli-side-channel.js +1 -1
  119. package/package.json +1 -1
@@ -1 +1 @@
1
- function a106_0x4f65(_0x1e8a31,_0x5cd39a){_0x1e8a31=_0x1e8a31-0xf7;const _0x4e7ac3=a106_0x4e7a();let _0x4f655d=_0x4e7ac3[_0x1e8a31];return _0x4f655d;}(function(_0x10ead1,_0x151cd7){const _0x5eb61d=a106_0x4f65,_0x324be4=_0x10ead1();while(!![]){try{const _0x1295d2=-parseInt(_0x5eb61d(0xfd))/0x1*(parseInt(_0x5eb61d(0xfc))/0x2)+-parseInt(_0x5eb61d(0xfe))/0x3+parseInt(_0x5eb61d(0xf7))/0x4*(parseInt(_0x5eb61d(0x101))/0x5)+parseInt(_0x5eb61d(0x106))/0x6*(parseInt(_0x5eb61d(0xfa))/0x7)+parseInt(_0x5eb61d(0xfb))/0x8+parseInt(_0x5eb61d(0xf9))/0x9+-parseInt(_0x5eb61d(0x104))/0xa;if(_0x1295d2===_0x151cd7)break;else _0x324be4['push'](_0x324be4['shift']());}catch(_0xf74a8c){_0x324be4['push'](_0x324be4['shift']());}}}(a106_0x4e7a,0x69b67));import{CliErrors}from'../../errors.js';export function normalizeRuntimeSkillScopes(_0xd674dd){const _0x600167=a106_0x4f65,_0x1aca57=_0xd674dd&&_0xd674dd[_0x600167(0x102)]>0x0?_0xd674dd:[_0x600167(0x105),'company',_0x600167(0xf8)],_0x426c3c=[];for(const _0x59ebbf of _0x1aca57){if(!isRuntimeSkillScope(_0x59ebbf))throw CliErrors[_0x600167(0x107)](_0x600167(0x103)+_0x59ebbf);!_0x426c3c[_0x600167(0xff)](_0x59ebbf)&&_0x426c3c[_0x600167(0x100)](_0x59ebbf);}return _0x426c3c;}export function isRuntimeSkillScope(_0x53bfbe){const _0x3a863a=a106_0x4f65;return _0x53bfbe===_0x3a863a(0x105)||_0x53bfbe==='company'||_0x53bfbe==='builtin';}function a106_0x4e7a(){const _0x24331a=['6699920bhHYZN','personal','12lABLoR','validation','69916TnLdWL','builtin','6619977PnNlgJ','2454277AQmNtg','1561320ClzilX','38006RTjtbp','1szYROQ','2054208xkdlbZ','includes','push','50WWVMud','length','Unsupported\x20runtime\x20Skill\x20scope:\x20'];a106_0x4e7a=function(){return _0x24331a;};return a106_0x4e7a();}
1
+ (function(_0x341da7,_0x3dd1b4){const _0x5833c3=a106_0x3c3d,_0x4f7f63=_0x341da7();while(!![]){try{const _0x484f39=-parseInt(_0x5833c3(0xa7))/0x1*(parseInt(_0x5833c3(0xa8))/0x2)+-parseInt(_0x5833c3(0xaf))/0x3+parseInt(_0x5833c3(0xa5))/0x4+parseInt(_0x5833c3(0xa6))/0x5+parseInt(_0x5833c3(0xb2))/0x6*(parseInt(_0x5833c3(0xb0))/0x7)+parseInt(_0x5833c3(0xa2))/0x8*(-parseInt(_0x5833c3(0xac))/0x9)+-parseInt(_0x5833c3(0xab))/0xa*(-parseInt(_0x5833c3(0xa3))/0xb);if(_0x484f39===_0x3dd1b4)break;else _0x4f7f63['push'](_0x4f7f63['shift']());}catch(_0x2ebb18){_0x4f7f63['push'](_0x4f7f63['shift']());}}}(a106_0x2660,0x3d941));import{CliErrors}from'../../errors.js';function a106_0x3c3d(_0x130367,_0x51461a){_0x130367=_0x130367-0xa2;const _0x26601d=a106_0x2660();let _0x3c3d7a=_0x26601d[_0x130367];return _0x3c3d7a;}export function normalizeRuntimeSkillScopes(_0x2e6806){const _0x45b1e0=a106_0x3c3d,_0xc2eb55=_0x2e6806&&_0x2e6806['length']>0x0?_0x2e6806:[_0x45b1e0(0xa4),_0x45b1e0(0xae),_0x45b1e0(0xb1)],_0x536df6=[];for(const _0x2be332 of _0xc2eb55){if(!isRuntimeSkillScope(_0x2be332))throw CliErrors['validation'](_0x45b1e0(0xaa)+_0x2be332);!_0x536df6[_0x45b1e0(0xa9)](_0x2be332)&&_0x536df6[_0x45b1e0(0xad)](_0x2be332);}return _0x536df6;}export function isRuntimeSkillScope(_0x4da910){const _0x39e10a=a106_0x3c3d;return _0x4da910==='personal'||_0x4da910===_0x39e10a(0xae)||_0x4da910===_0x39e10a(0xb1);}function a106_0x2660(){const _0x1a8ecc=['628662dhwTWy','406NfZzea','builtin','1914LoRLNG','104hPvjDA','605dOufhM','personal','1071948omWIgq','765970fvMKMd','61FQaDSS','9854FEHSCj','includes','Unsupported\x20runtime\x20Skill\x20scope:\x20','147970FEWxhH','340056ySUBTh','push','company'];a106_0x2660=function(){return _0x1a8ecc;};return a106_0x2660();}
@@ -1 +1 @@
1
- function a108_0x531a(){const _0x2b8f1d=['name','Runtime\x20Skill\x20package\x20is\x20not\x20a\x20valid\x20zip\x20file.','496084SHOpPK','length','1980-01-01T00:00:00.000Z','endsWith','235478QahtlV','object','328nfsRqV','415pdlMvu','27OGhGIV','1424687ZhLnWU','36rJYWjq','Runtime\x20Skill\x20package\x20contains\x20directory\x20entry:\x20','code','9333506NnMSKu','13614EmhNpx','validation_error','11260ZNfNpk','176127oJlXdX','validation','5nIcfoR','from','1809xVXIrO','map'];a108_0x531a=function(){return _0x2b8f1d;};return a108_0x531a();}const a108_0x52284f=a108_0x5a79;function a108_0x5a79(_0x4b29ef,_0xcf199e){_0x4b29ef=_0x4b29ef-0xa5;const _0x531ade=a108_0x531a();let _0x5a79ae=_0x531ade[_0x4b29ef];return _0x5a79ae;}(function(_0x8b14,_0x217b37){const _0x46c1eb=a108_0x5a79,_0x32cf56=_0x8b14();while(!![]){try{const _0x90d53a=-parseInt(_0x46c1eb(0xb5))/0x1*(parseInt(_0x46c1eb(0xa6))/0x2)+parseInt(_0x46c1eb(0xaa))/0x3*(-parseInt(_0x46c1eb(0xbb))/0x4)+parseInt(_0x46c1eb(0xa9))/0x5*(parseInt(_0x46c1eb(0xb0))/0x6)+parseInt(_0x46c1eb(0xb3))/0x7*(parseInt(_0x46c1eb(0xa8))/0x8)+-parseInt(_0x46c1eb(0xb7))/0x9*(-parseInt(_0x46c1eb(0xb2))/0xa)+-parseInt(_0x46c1eb(0xab))/0xb*(-parseInt(_0x46c1eb(0xac))/0xc)+parseInt(_0x46c1eb(0xaf))/0xd;if(_0x90d53a===_0x217b37)break;else _0x32cf56['push'](_0x32cf56['shift']());}catch(_0xf881aa){_0x32cf56['push'](_0x32cf56['shift']());}}}(a108_0x531a,0xcf00b));import{unzipSync,zipSync}from'fflate';import{CliErrors}from'../../errors.js';import{compareSkillFiles,fileContent,normalizeLocalFiles,normalizeSkillRelativePath}from'./local-files.js';const ZIP_MTIME=new Date(a108_0x52284f(0xbd));export function createDeterministicZipPackage(_0x2a3e78){const _0x59c358={};for(const _0x56c6a5 of normalizeLocalFiles(_0x2a3e78)){_0x59c358[_0x56c6a5['path']]=fileContent(_0x56c6a5);}return Buffer['from'](zipSync(_0x59c358,{'level':0x0,'mtime':ZIP_MTIME}));}export function parseZipPackage(_0x2aeb09){const _0x50be65=a108_0x52284f;if(_0x2aeb09[_0x50be65(0xbc)]<0x16)throw CliErrors[_0x50be65(0xb4)](_0x50be65(0xba));let _0x3e4e21;try{_0x3e4e21=unzipSync(_0x2aeb09,{'filter'(_0x5c248d){const _0x501b43=_0x50be65,_0x24f1a1=normalizeSkillRelativePath(_0x5c248d[_0x501b43(0xb9)]);if(_0x24f1a1[_0x501b43(0xa5)]('/'))throw CliErrors[_0x501b43(0xb4)](_0x501b43(0xad)+_0x24f1a1);return!![];}});}catch(_0x538472){if(isRuntimeSkillValidationError(_0x538472))throw _0x538472;throw CliErrors[_0x50be65(0xb4)](_0x50be65(0xba));}return Object['entries'](_0x3e4e21)[_0x50be65(0xb8)](([_0x5dbc76,_0x30e3f0])=>({'path':normalizeSkillRelativePath(_0x5dbc76),'bytes':Buffer[_0x50be65(0xb6)](_0x30e3f0)}))['sort'](compareSkillFiles);}function isRuntimeSkillValidationError(_0x23329b){const _0x4b1d9b=a108_0x52284f;return typeof _0x23329b===_0x4b1d9b(0xa7)&&_0x23329b!==null&&_0x4b1d9b(0xae)in _0x23329b&&_0x23329b[_0x4b1d9b(0xae)]===_0x4b1d9b(0xb1);}
1
+ const a108_0x31366a=a108_0x89a6;(function(_0x2d981a,_0x5d04d0){const _0x3b220a=a108_0x89a6,_0x5570e8=_0x2d981a();while(!![]){try{const _0x466280=parseInt(_0x3b220a(0x1ef))/0x1*(-parseInt(_0x3b220a(0x1f6))/0x2)+-parseInt(_0x3b220a(0x1f1))/0x3+-parseInt(_0x3b220a(0x1f7))/0x4+-parseInt(_0x3b220a(0x1ed))/0x5*(-parseInt(_0x3b220a(0x1f2))/0x6)+-parseInt(_0x3b220a(0x1fd))/0x7+parseInt(_0x3b220a(0x1eb))/0x8+parseInt(_0x3b220a(0x1ec))/0x9;if(_0x466280===_0x5d04d0)break;else _0x5570e8['push'](_0x5570e8['shift']());}catch(_0x38b981){_0x5570e8['push'](_0x5570e8['shift']());}}}(a108_0x3373,0xa2a97));import{unzipSync,zipSync}from'fflate';import{CliErrors}from'../../errors.js';import{compareSkillFiles,fileContent,normalizeLocalFiles,normalizeSkillRelativePath}from'./local-files.js';const ZIP_MTIME=new Date(a108_0x31366a(0x1f8));export function createDeterministicZipPackage(_0x3c92c9){const _0x485370=a108_0x31366a,_0x3e33dd={};for(const _0x3cdfd8 of normalizeLocalFiles(_0x3c92c9)){_0x3e33dd[_0x3cdfd8[_0x485370(0x1fc)]]=fileContent(_0x3cdfd8);}return Buffer[_0x485370(0x1f4)](zipSync(_0x3e33dd,{'level':0x0,'mtime':ZIP_MTIME}));}export function parseZipPackage(_0x113185){const _0x327bc6=a108_0x31366a;if(_0x113185['length']<0x16)throw CliErrors[_0x327bc6(0x1ee)](_0x327bc6(0x1f3));let _0x2f52f0;try{_0x2f52f0=unzipSync(_0x113185,{'filter'(_0x3b2a21){const _0x5705a0=_0x327bc6,_0x18ffa9=normalizeSkillRelativePath(_0x3b2a21[_0x5705a0(0x1f9)]);if(_0x18ffa9['endsWith']('/'))throw CliErrors[_0x5705a0(0x1ee)](_0x5705a0(0x1fb)+_0x18ffa9);return!![];}});}catch(_0x1e32bd){if(isRuntimeSkillValidationError(_0x1e32bd))throw _0x1e32bd;throw CliErrors[_0x327bc6(0x1ee)](_0x327bc6(0x1f3));}return Object['entries'](_0x2f52f0)[_0x327bc6(0x1f0)](([_0x152012,_0x3d5dde])=>({'path':normalizeSkillRelativePath(_0x152012),'bytes':Buffer[_0x327bc6(0x1f4)](_0x3d5dde)}))[_0x327bc6(0x1fe)](compareSkillFiles);}function isRuntimeSkillValidationError(_0x44f914){const _0xbd01c1=a108_0x31366a;return typeof _0x44f914===_0xbd01c1(0x1fa)&&_0x44f914!==null&&_0xbd01c1(0x1f5)in _0x44f914&&_0x44f914[_0xbd01c1(0x1f5)]==='validation_error';}function a108_0x89a6(_0x2a8e4e,_0x5e9232){_0x2a8e4e=_0x2a8e4e-0x1eb;const _0x3373d7=a108_0x3373();let _0x89a649=_0x3373d7[_0x2a8e4e];return _0x89a649;}function a108_0x3373(){const _0x3848f0=['sort','1641048tSFPvK','21667473ezOVdK','3163855sHwwBj','validation','9OaNWMn','map','1293981pEiCcN','6wHZThh','Runtime\x20Skill\x20package\x20is\x20not\x20a\x20valid\x20zip\x20file.','from','code','177602bWCXun','3194860JBmIej','1980-01-01T00:00:00.000Z','name','object','Runtime\x20Skill\x20package\x20contains\x20directory\x20entry:\x20','path','3849195zuExdo'];a108_0x3373=function(){return _0x3848f0;};return a108_0x3373();}
@@ -1 +1 @@
1
- (function(_0x5ab866,_0x4575c1){const _0x4fabf6=a109_0x1a28,_0x340190=_0x5ab866();while(!![]){try{const _0x49a8b6=-parseInt(_0x4fabf6(0x116))/0x1*(parseInt(_0x4fabf6(0x10f))/0x2)+parseInt(_0x4fabf6(0x132))/0x3*(-parseInt(_0x4fabf6(0x12e))/0x4)+parseInt(_0x4fabf6(0x134))/0x5+parseInt(_0x4fabf6(0x12b))/0x6+parseInt(_0x4fabf6(0x12a))/0x7*(-parseInt(_0x4fabf6(0x137))/0x8)+-parseInt(_0x4fabf6(0x138))/0x9+parseInt(_0x4fabf6(0x11a))/0xa*(parseInt(_0x4fabf6(0x130))/0xb);if(_0x49a8b6===_0x4575c1)break;else _0x340190['push'](_0x340190['shift']());}catch(_0x28ed34){_0x340190['push'](_0x340190['shift']());}}}(a109_0x589f,0x6a0cc));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(_0x4a219b){const _0x263ba0=a109_0x1a28,_0x52a49a=normalizeLocalFiles(_0x4a219b);if(!_0x52a49a['some'](_0x2780cc=>_0x2780cc['path']===SKILL_FILE))throw CliErrors[_0x263ba0(0x123)](_0x263ba0(0x136)+SKILL_FILE+'\x20in\x20Skill\x20file\x20package.');const _0x58c68f=localFilesToManifestFiles(_0x52a49a),_0x2b6319=createDeterministicZipPackage(_0x52a49a);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x58c68f),'zipSha256':bufferSha256(_0x2b6319),'zipSize':_0x2b6319[_0x263ba0(0x11d)],'files':_0x58c68f},'packageBytes':_0x2b6319,'packageBase64':_0x2b6319['toString'](_0x263ba0(0x125))};}export function verifyRuntimeSkillPackage(_0x45bed7,_0x2f6d94){const _0x298035=a109_0x1a28,_0x4f5f9=normalizePackageManifest(_0x45bed7,{'requireOssPath':![]});if(!_0x4f5f9)throw CliErrors[_0x298035(0x123)](_0x298035(0x121));return extractAndVerifyPackage(_0x4f5f9,_0x2f6d94);}export function verifyRuntimeSkillBundle(_0x3da7cf,_0x59f7b2){const _0x2d671f=a109_0x1a28,_0x15d5d1=normalizePackageManifest(_0x3da7cf,{'requireOssPath':![]});if(!_0x15d5d1)throw CliErrors[_0x2d671f(0x123)]('Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.');return extractAndVerifyPackageFiles(_0x15d5d1,_0x59f7b2);}function a109_0x1a28(_0x15d332,_0x5f1057){_0x15d332=_0x15d332-0x10e;const _0x589f78=a109_0x589f();let _0x1a2828=_0x589f78[_0x15d332];return _0x1a2828;}export function tryNormalizePackageManifest(_0x231f8a){return normalizePackageManifest(_0x231f8a,{'requireOssPath':![]});}export function requirePackageBytes(_0x3ad43c,_0x5ca28f){const _0x130a41=a109_0x1a28;if(!_0x5ca28f||_0x5ca28f[_0x130a41(0x11d)]===0x0)throw CliErrors[_0x130a41(0x123)]('Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20'+_0x3ad43c);return _0x5ca28f;}export function extractDownloadedPackage(_0x58d74e){const _0x4a2302=a109_0x1a28,_0x17ff10=parseZipPackage(_0x58d74e)[_0x4a2302(0x139)](_0x3e81d4=>({'path':_0x3e81d4['path'],'bytes':_0x3e81d4[_0x4a2302(0x124)]}));if(!_0x17ff10['some'](_0x5c4917=>_0x5c4917[_0x4a2302(0x111)]===SKILL_FILE))throw CliErrors[_0x4a2302(0x123)](_0x4a2302(0x11c)+SKILL_FILE+'.');return normalizeLocalFiles(_0x17ff10);}export function localFilesToManifestFiles(_0x230731){const _0x120984=a109_0x1a28;return normalizeLocalFiles(_0x230731)[_0x120984(0x139)](_0x1ee253=>({'path':_0x1ee253[_0x120984(0x111)],'sha256':fileHash(_0x1ee253),'size':fileContent(_0x1ee253)[_0x120984(0x11d)]}));}function normalizePackageManifest(_0x2a67b1,_0x174a2d){const _0xb590df=a109_0x1a28;if(!_0x2a67b1||typeof _0x2a67b1!=='object'||Array['isArray'](_0x2a67b1))return undefined;const _0x4c987d=_0x2a67b1,_0x5afb18=typeof _0x4c987d[_0xb590df(0x128)]==='string'?_0x4c987d[_0xb590df(0x128)][_0xb590df(0x119)]():undefined;if(_0x174a2d[_0xb590df(0x117)]&&!_0x5afb18)return undefined;if(!Array[_0xb590df(0x133)](_0x4c987d['files'])||_0x4c987d['files'][_0xb590df(0x11d)]===0x0)return undefined;if(!isSha256Hex(_0x4c987d[_0xb590df(0x131)]))throw CliErrors[_0xb590df(0x123)](_0xb590df(0x11b));if(!isSha256Hex(_0x4c987d['zipSha256']))throw CliErrors[_0xb590df(0x123)](_0xb590df(0x135));if(!Number[_0xb590df(0x120)](_0x4c987d[_0xb590df(0x12f)])||_0x4c987d[_0xb590df(0x12f)]<0x0)throw CliErrors[_0xb590df(0x123)](_0xb590df(0x12d));const _0x43a3ce=normalizeManifestFiles(_0x4c987d[_0xb590df(0x11e)]);if(!_0x43a3ce[_0xb590df(0x126)](_0x3f1a0d=>_0x3f1a0d[_0xb590df(0x111)]===SKILL_FILE))throw CliErrors[_0xb590df(0x123)](_0xb590df(0x122)+SKILL_FILE+'.');const _0x2a10f1=fileTreeHash(_0x43a3ce);if(_0x2a10f1!==_0x4c987d['treeSha256'][_0xb590df(0x10e)]())throw CliErrors[_0xb590df(0x123)](_0xb590df(0x11f));return{'schemaVersion':Number[_0xb590df(0x120)](_0x4c987d[_0xb590df(0x13c)])?_0x4c987d[_0xb590df(0x13c)]:0x2,'ossPath':_0x5afb18,'treeSha256':_0x2a10f1,'zipSha256':_0x4c987d['zipSha256'][_0xb590df(0x10e)](),'zipSize':_0x4c987d[_0xb590df(0x12f)],'files':_0x43a3ce};}function a109_0x589f(){const _0x5f0452=['2505474MkmDej','Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','201944VHiVrO','zipSize','19470NIoGeM','treeSha256','27yuMfUa','isArray','238145orGjwj','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','Missing\x20','2643536WVEzTx','3559626pfEelF','map','Runtime\x20Skill\x20package\x20size\x20mismatch.','Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.','schemaVersion','toLowerCase','73954Rzohcz','get','path','zipSha256','push','Duplicate\x20Skill\x20package\x20entry:\x20','Runtime\x20Skill\x20package\x20sha256\x20mismatch.','4YMJiBE','requireOssPath','set','trim','7330tfxFsj','Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.','Runtime\x20Skill\x20package\x20is\x20missing\x20','length','files','Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.','isSafeInteger','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','Runtime\x20Skill\x20manifest\x20is\x20missing\x20','validation','bytes','base64','some','sha256','ossPath','Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20','7JNkmAV'];a109_0x589f=function(){return _0x5f0452;};return a109_0x589f();}function extractAndVerifyPackage(_0xc8ddd7,_0x1e0f11){const _0x215b82=a109_0x1a28,_0x1af001=normalizePackageManifest(_0xc8ddd7,{'requireOssPath':![]});if(!_0x1af001)throw CliErrors[_0x215b82(0x123)](_0x215b82(0x121));if(_0x1e0f11[_0x215b82(0x11d)]!==_0x1af001[_0x215b82(0x12f)])throw CliErrors[_0x215b82(0x123)](_0x215b82(0x13a));const _0x345f72=bufferSha256(_0x1e0f11);if(_0x345f72!==_0x1af001[_0x215b82(0x112)])throw CliErrors['validation'](_0x215b82(0x115));return extractAndVerifyPackageFiles(_0x1af001,_0x1e0f11);}function extractAndVerifyPackageFiles(_0x261569,_0x5327c3){const _0x3272b1=a109_0x1a28,_0x236360=parseZipPackage(_0x5327c3);if(_0x236360[_0x3272b1(0x11d)]!==_0x261569['files'][_0x3272b1(0x11d)])throw CliErrors[_0x3272b1(0x123)](_0x3272b1(0x13b));const _0x829b93=new Map();for(const _0x2e8ad3 of _0x236360){if(_0x829b93['has'](_0x2e8ad3[_0x3272b1(0x111)]))throw CliErrors[_0x3272b1(0x123)](_0x3272b1(0x114)+_0x2e8ad3['path']);_0x829b93[_0x3272b1(0x118)](_0x2e8ad3[_0x3272b1(0x111)],_0x2e8ad3);}const _0x4b7bf2=[];for(const _0x463d77 of _0x261569[_0x3272b1(0x11e)]){const _0x53975f=_0x829b93[_0x3272b1(0x110)](_0x463d77[_0x3272b1(0x111)]);if(!_0x53975f)throw CliErrors[_0x3272b1(0x123)](_0x3272b1(0x12c)+_0x463d77[_0x3272b1(0x111)]);if(_0x53975f[_0x3272b1(0x124)][_0x3272b1(0x11d)]!==_0x463d77['size'])throw CliErrors[_0x3272b1(0x123)](_0x3272b1(0x129)+_0x463d77['path']);const _0x5d58dd=bufferSha256(_0x53975f[_0x3272b1(0x124)]);if(_0x5d58dd!==_0x463d77[_0x3272b1(0x127)])throw CliErrors[_0x3272b1(0x123)]('Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20'+_0x463d77[_0x3272b1(0x111)]);_0x4b7bf2[_0x3272b1(0x113)]({'path':_0x463d77['path'],'bytes':_0x53975f[_0x3272b1(0x124)]});}return normalizeLocalFiles(_0x4b7bf2);}
1
+ (function(_0x1e2ae8,_0x38ee52){const _0x50706e=a109_0x4777,_0x5d4056=_0x1e2ae8();while(!![]){try{const _0x662a4b=parseInt(_0x50706e(0xa8))/0x1*(-parseInt(_0x50706e(0xc9))/0x2)+parseInt(_0x50706e(0xaa))/0x3*(-parseInt(_0x50706e(0xb7))/0x4)+-parseInt(_0x50706e(0xd5))/0x5+parseInt(_0x50706e(0xb8))/0x6*(-parseInt(_0x50706e(0xbc))/0x7)+parseInt(_0x50706e(0xbf))/0x8*(-parseInt(_0x50706e(0xd3))/0x9)+-parseInt(_0x50706e(0xca))/0xa*(parseInt(_0x50706e(0xac))/0xb)+parseInt(_0x50706e(0xb4))/0xc;if(_0x662a4b===_0x38ee52)break;else _0x5d4056['push'](_0x5d4056['shift']());}catch(_0x43fc1b){_0x5d4056['push'](_0x5d4056['shift']());}}}(a109_0x2609,0x9735f));import{CliErrors}from'../../errors.js';function a109_0x4777(_0x33af4d,_0x8b19bb){_0x33af4d=_0x33af4d-0xa6;const _0x2609bb=a109_0x2609();let _0x4777d6=_0x2609bb[_0x33af4d];return _0x4777d6;}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(_0x16edf3){const _0xd6d940=a109_0x4777,_0x246e17=normalizeLocalFiles(_0x16edf3);if(!_0x246e17['some'](_0x31c64d=>_0x31c64d[_0xd6d940(0xbd)]===SKILL_FILE))throw CliErrors[_0xd6d940(0xb1)](_0xd6d940(0xd4)+SKILL_FILE+_0xd6d940(0xb2));const _0xe784c5=localFilesToManifestFiles(_0x246e17),_0x1e8a4f=createDeterministicZipPackage(_0x246e17);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0xe784c5),'zipSha256':bufferSha256(_0x1e8a4f),'zipSize':_0x1e8a4f[_0xd6d940(0xbe)],'files':_0xe784c5},'packageBytes':_0x1e8a4f,'packageBase64':_0x1e8a4f[_0xd6d940(0xb6)](_0xd6d940(0xa9))};}export function verifyRuntimeSkillPackage(_0x11fb41,_0x5283f6){const _0x17501c=a109_0x4777,_0x454688=normalizePackageManifest(_0x11fb41,{'requireOssPath':![]});if(!_0x454688)throw CliErrors[_0x17501c(0xb1)](_0x17501c(0xc0));return extractAndVerifyPackage(_0x454688,_0x5283f6);}export function verifyRuntimeSkillBundle(_0x33fa4c,_0x551ad5){const _0x103cd3=a109_0x4777,_0x15b5fa=normalizePackageManifest(_0x33fa4c,{'requireOssPath':![]});if(!_0x15b5fa)throw CliErrors[_0x103cd3(0xb1)]('Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.');return extractAndVerifyPackageFiles(_0x15b5fa,_0x551ad5);}function a109_0x2609(){const _0x9d2c11=['5785745JNmWvC','Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.','has','get','zipSha256','2woOkPn','base64','706479DrIFwR','Runtime\x20Skill\x20package\x20size\x20mismatch.','22MGeBjN','ossPath','Runtime\x20Skill\x20package\x20sha256\x20mismatch.','bytes','requireOssPath','validation','\x20in\x20Skill\x20file\x20package.','isSafeInteger','53654016HcOwDy','toLowerCase','toString','16kYwczQ','6DvSZKH','set','schemaVersion','Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20','2069585PeXBub','path','length','8gqYGes','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','Runtime\x20Skill\x20package\x20is\x20missing\x20','string','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','object','trim','map','zipSize','Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20','213702WeNCbA','4730120nqcjbB','files','treeSha256','some','isArray','Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20','Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20','size','Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.','2675763qGOfjA','Missing\x20'];a109_0x2609=function(){return _0x9d2c11;};return a109_0x2609();}export function tryNormalizePackageManifest(_0x2eeb24){return normalizePackageManifest(_0x2eeb24,{'requireOssPath':![]});}export function requirePackageBytes(_0x38bc6f,_0x50124e){const _0x1662ae=a109_0x4777;if(!_0x50124e||_0x50124e[_0x1662ae(0xbe)]===0x0)throw CliErrors['validation'](_0x1662ae(0xcf)+_0x38bc6f);return _0x50124e;}export function extractDownloadedPackage(_0x39b796){const _0x330538=a109_0x4777,_0xe208ba=parseZipPackage(_0x39b796)[_0x330538(0xc6)](_0xc34a4d=>({'path':_0xc34a4d['path'],'bytes':_0xc34a4d[_0x330538(0xaf)]}));if(!_0xe208ba[_0x330538(0xcd)](_0x44208=>_0x44208[_0x330538(0xbd)]===SKILL_FILE))throw CliErrors[_0x330538(0xb1)](_0x330538(0xc1)+SKILL_FILE+'.');return normalizeLocalFiles(_0xe208ba);}export function localFilesToManifestFiles(_0xe525){const _0xf43ff2=a109_0x4777;return normalizeLocalFiles(_0xe525)[_0xf43ff2(0xc6)](_0x585389=>({'path':_0x585389[_0xf43ff2(0xbd)],'sha256':fileHash(_0x585389),'size':fileContent(_0x585389)['length']}));}function normalizePackageManifest(_0x3ce3b6,_0x2f6ae5){const _0x474e34=a109_0x4777;if(!_0x3ce3b6||typeof _0x3ce3b6!==_0x474e34(0xc4)||Array[_0x474e34(0xce)](_0x3ce3b6))return undefined;const _0x1eebd1=_0x3ce3b6,_0x459276=typeof _0x1eebd1[_0x474e34(0xad)]===_0x474e34(0xc2)?_0x1eebd1['ossPath'][_0x474e34(0xc5)]():undefined;if(_0x2f6ae5[_0x474e34(0xb0)]&&!_0x459276)return undefined;if(!Array[_0x474e34(0xce)](_0x1eebd1[_0x474e34(0xcb)])||_0x1eebd1[_0x474e34(0xcb)][_0x474e34(0xbe)]===0x0)return undefined;if(!isSha256Hex(_0x1eebd1[_0x474e34(0xcc)]))throw CliErrors[_0x474e34(0xb1)](_0x474e34(0xd6));if(!isSha256Hex(_0x1eebd1['zipSha256']))throw CliErrors['validation'](_0x474e34(0xc3));if(!Number['isSafeInteger'](_0x1eebd1[_0x474e34(0xc7)])||_0x1eebd1[_0x474e34(0xc7)]<0x0)throw CliErrors['validation']('Runtime\x20Skill\x20package\x20size\x20is\x20invalid.');const _0x20e078=normalizeManifestFiles(_0x1eebd1[_0x474e34(0xcb)]);if(!_0x20e078[_0x474e34(0xcd)](_0x2ed6c3=>_0x2ed6c3[_0x474e34(0xbd)]===SKILL_FILE))throw CliErrors[_0x474e34(0xb1)]('Runtime\x20Skill\x20manifest\x20is\x20missing\x20'+SKILL_FILE+'.');const _0xc8e468=fileTreeHash(_0x20e078);if(_0xc8e468!==_0x1eebd1['treeSha256'][_0x474e34(0xb5)]())throw CliErrors[_0x474e34(0xb1)](_0x474e34(0xd2));return{'schemaVersion':Number[_0x474e34(0xb3)](_0x1eebd1[_0x474e34(0xba)])?_0x1eebd1[_0x474e34(0xba)]:0x2,'ossPath':_0x459276,'treeSha256':_0xc8e468,'zipSha256':_0x1eebd1['zipSha256'][_0x474e34(0xb5)](),'zipSize':_0x1eebd1[_0x474e34(0xc7)],'files':_0x20e078};}function extractAndVerifyPackage(_0x519ac2,_0x6fde27){const _0x17ba3c=a109_0x4777,_0x589a55=normalizePackageManifest(_0x519ac2,{'requireOssPath':![]});if(!_0x589a55)throw CliErrors[_0x17ba3c(0xb1)](_0x17ba3c(0xc0));if(_0x6fde27[_0x17ba3c(0xbe)]!==_0x589a55[_0x17ba3c(0xc7)])throw CliErrors[_0x17ba3c(0xb1)](_0x17ba3c(0xab));const _0x404782=bufferSha256(_0x6fde27);if(_0x404782!==_0x589a55[_0x17ba3c(0xa7)])throw CliErrors[_0x17ba3c(0xb1)](_0x17ba3c(0xae));return extractAndVerifyPackageFiles(_0x589a55,_0x6fde27);}function extractAndVerifyPackageFiles(_0x1ac2f7,_0x2e2b3c){const _0x5924ad=a109_0x4777,_0x3c7e64=parseZipPackage(_0x2e2b3c);if(_0x3c7e64['length']!==_0x1ac2f7[_0x5924ad(0xcb)][_0x5924ad(0xbe)])throw CliErrors[_0x5924ad(0xb1)]('Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.');const _0x34dca9=new Map();for(const _0x35e056 of _0x3c7e64){if(_0x34dca9[_0x5924ad(0xd7)](_0x35e056[_0x5924ad(0xbd)]))throw CliErrors[_0x5924ad(0xb1)]('Duplicate\x20Skill\x20package\x20entry:\x20'+_0x35e056[_0x5924ad(0xbd)]);_0x34dca9[_0x5924ad(0xb9)](_0x35e056[_0x5924ad(0xbd)],_0x35e056);}const _0x2d5d5f=[];for(const _0xe4982b of _0x1ac2f7[_0x5924ad(0xcb)]){const _0x252cd1=_0x34dca9[_0x5924ad(0xa6)](_0xe4982b[_0x5924ad(0xbd)]);if(!_0x252cd1)throw CliErrors[_0x5924ad(0xb1)](_0x5924ad(0xbb)+_0xe4982b[_0x5924ad(0xbd)]);if(_0x252cd1[_0x5924ad(0xaf)][_0x5924ad(0xbe)]!==_0xe4982b[_0x5924ad(0xd1)])throw CliErrors['validation'](_0x5924ad(0xc8)+_0xe4982b['path']);const _0x337205=bufferSha256(_0x252cd1[_0x5924ad(0xaf)]);if(_0x337205!==_0xe4982b['sha256'])throw CliErrors['validation'](_0x5924ad(0xd0)+_0xe4982b[_0x5924ad(0xbd)]);_0x2d5d5f['push']({'path':_0xe4982b['path'],'bytes':_0x252cd1[_0x5924ad(0xaf)]});}return normalizeLocalFiles(_0x2d5d5f);}
@@ -1 +1 @@
1
- (function(_0x2d8056,_0x2eb1cd){var _0x42da3c=a110_0x102c,_0x1fdd7d=_0x2d8056();while(!![]){try{var _0x1b18ae=parseInt(_0x42da3c(0x177))/0x1*(parseInt(_0x42da3c(0x17c))/0x2)+parseInt(_0x42da3c(0x176))/0x3+-parseInt(_0x42da3c(0x17f))/0x4*(parseInt(_0x42da3c(0x17a))/0x5)+parseInt(_0x42da3c(0x17d))/0x6*(-parseInt(_0x42da3c(0x180))/0x7)+-parseInt(_0x42da3c(0x17b))/0x8*(parseInt(_0x42da3c(0x179))/0x9)+parseInt(_0x42da3c(0x17e))/0xa+parseInt(_0x42da3c(0x175))/0xb*(parseInt(_0x42da3c(0x178))/0xc);if(_0x1b18ae===_0x2eb1cd)break;else _0x1fdd7d['push'](_0x1fdd7d['shift']());}catch(_0x1cd462){_0x1fdd7d['push'](_0x1fdd7d['shift']());}}}(a110_0x21b6,0x73642));export{contentHash,fileTreeHash}from'./runtime-skill-sync/hashing.js';export{linkEffectiveRuntimeSkills,linkGlobalRuntimeSkills,pruneStaleRuntimeSkillCache,pruneStaleRuntimeSkillLinks}from'./runtime-skill-sync/links.js';export{listLocalRuntimeSkills}from'./runtime-skill-sync/list-local.js';export{materializeRuntimeSkill}from'./runtime-skill-sync/materialize.js';export{readMetadataIfPresent}from'./runtime-skill-sync/metadata.js';export{getRuntimeSkillCacheRoot,getRuntimeSkillDir,resolveSkillSyncPaths,runtimeAgentSkillRoots}from'./runtime-skill-sync/paths.js';function a110_0x102c(_0x567471,_0x3c236c){_0x567471=_0x567471-0x175;var _0x21b675=a110_0x21b6();var _0x102cbe=_0x21b675[_0x567471];return _0x102cbe;}export{deriveSkillCodeFromDirectory,readPushDirectory,refreshPushDirectoryMetadataFromRemote,recordPushedRuntimeSkill,resolvePushDirectoryIdentity}from'./runtime-skill-sync/push.js';function a110_0x21b6(){var _0x1dc930=['4557630oFTsyI','4VnXYdp','319851vSUFJz','99vqgJfO','138480aPqQhe','475312kePjIc','1124016lQUonh','834615rqANNO','1933515vBMfql','8WWkjcm','2FmjfwV','114SqHkOP'];a110_0x21b6=function(){return _0x1dc930;};return a110_0x21b6();}export{buildSkillPackage,verifyRuntimeSkillBundle,verifyRuntimeSkillPackage}from'./runtime-skill-sync/zip-package.js';
1
+ (function(_0x24d10d,_0x24dcbe){var _0x405f32=a110_0x1b96,_0x3d5e4e=_0x24d10d();while(!![]){try{var _0xcb9a7c=-parseInt(_0x405f32(0xbf))/0x1*(parseInt(_0x405f32(0xc5))/0x2)+parseInt(_0x405f32(0xbc))/0x3*(-parseInt(_0x405f32(0xbd))/0x4)+-parseInt(_0x405f32(0xc1))/0x5+parseInt(_0x405f32(0xbe))/0x6*(-parseInt(_0x405f32(0xc0))/0x7)+-parseInt(_0x405f32(0xc2))/0x8+-parseInt(_0x405f32(0xc3))/0x9*(-parseInt(_0x405f32(0xc7))/0xa)+parseInt(_0x405f32(0xc6))/0xb*(parseInt(_0x405f32(0xc4))/0xc);if(_0xcb9a7c===_0x24dcbe)break;else _0x3d5e4e['push'](_0x3d5e4e['shift']());}catch(_0x2616b6){_0x3d5e4e['push'](_0x3d5e4e['shift']());}}}(a110_0x5da4,0x647d9));export{contentHash,fileTreeHash}from'./runtime-skill-sync/hashing.js';export{linkEffectiveRuntimeSkills,linkGlobalRuntimeSkills,pruneStaleRuntimeSkillCache,pruneStaleRuntimeSkillLinks}from'./runtime-skill-sync/links.js';function a110_0x1b96(_0x4bc290,_0x1505eb){_0x4bc290=_0x4bc290-0xbc;var _0x5da400=a110_0x5da4();var _0x1b96aa=_0x5da400[_0x4bc290];return _0x1b96aa;}function a110_0x5da4(){var _0x4df373=['2044375hZoKDN','6341528ZYguyg','54153yNVHlD','4524wymueN','1096svxnFC','78639TbDIwx','150hUDtKM','67623QNiEsn','80xiKWmt','18FtEIsf','1159KCsOUc','201369vRAtZI'];a110_0x5da4=function(){return _0x4df373;};return a110_0x5da4();}export{listLocalRuntimeSkills}from'./runtime-skill-sync/list-local.js';export{materializeRuntimeSkill}from'./runtime-skill-sync/materialize.js';export{readMetadataIfPresent}from'./runtime-skill-sync/metadata.js';export{getRuntimeSkillCacheRoot,getRuntimeSkillDir,resolveSkillSyncPaths,runtimeAgentSkillRoots}from'./runtime-skill-sync/paths.js';export{deriveSkillCodeFromDirectory,readPushDirectory,refreshPushDirectoryMetadataFromRemote,recordPushedRuntimeSkill,resolvePushDirectoryIdentity}from'./runtime-skill-sync/push.js';export{buildSkillPackage,verifyRuntimeSkillBundle,verifyRuntimeSkillPackage}from'./runtime-skill-sync/zip-package.js';
@@ -1 +1 @@
1
- (function(_0x29e958,_0x29093f){const _0x5af330=a111_0x575f,_0x3bd8b7=_0x29e958();while(!![]){try{const _0x1c1d5d=parseInt(_0x5af330(0x16b))/0x1*(-parseInt(_0x5af330(0x165))/0x2)+-parseInt(_0x5af330(0x169))/0x3*(-parseInt(_0x5af330(0x164))/0x4)+parseInt(_0x5af330(0x168))/0x5+-parseInt(_0x5af330(0x166))/0x6+parseInt(_0x5af330(0x16a))/0x7+parseInt(_0x5af330(0x16e))/0x8*(parseInt(_0x5af330(0x167))/0x9)+-parseInt(_0x5af330(0x16c))/0xa*(parseInt(_0x5af330(0x16d))/0xb);if(_0x1c1d5d===_0x29093f)break;else _0x3bd8b7['push'](_0x3bd8b7['shift']());}catch(_0x4af840){_0x3bd8b7['push'](_0x3bd8b7['shift']());}}}(a111_0x1d0b,0x93702));function a111_0x1d0b(){const _0x195b71=['557532LpakpM','54yPgJPl','3677335fJisTv','3JCXxns','5229903iRJclV','1nFYhnj','631860znfwHY','154QYgvje','91808zwdLDP','585712oClKpU','232896YTApuh'];a111_0x1d0b=function(){return _0x195b71;};return a111_0x1d0b();}function a111_0x575f(_0x369120,_0x107765){_0x369120=_0x369120-0x164;const _0x1d0b1a=a111_0x1d0b();let _0x575ffa=_0x1d0b1a[_0x369120];return _0x575ffa;}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x5b2d02,_0x33d0b8){const _0x21cd17=a111_0x2057,_0x3a7eeb=_0x5b2d02();while(!![]){try{const _0xf51f9b=parseInt(_0x21cd17(0x9d))/0x1*(parseInt(_0x21cd17(0xa3))/0x2)+parseInt(_0x21cd17(0xa2))/0x3*(parseInt(_0x21cd17(0x9c))/0x4)+-parseInt(_0x21cd17(0x9f))/0x5*(parseInt(_0x21cd17(0x9b))/0x6)+-parseInt(_0x21cd17(0xa4))/0x7+-parseInt(_0x21cd17(0x9e))/0x8*(parseInt(_0x21cd17(0x99))/0x9)+-parseInt(_0x21cd17(0xa0))/0xa*(-parseInt(_0x21cd17(0xa1))/0xb)+parseInt(_0x21cd17(0x9a))/0xc;if(_0xf51f9b===_0x33d0b8)break;else _0x3a7eeb['push'](_0x3a7eeb['shift']());}catch(_0x106b1b){_0x3a7eeb['push'](_0x3a7eeb['shift']());}}}(a111_0x324d,0x5bcf3));function a111_0x324d(){const _0x6f4f51=['3828307bvxdVg','1753137lxwUCt','944136xVKfTQ','7134IGZRNP','4HOtcIW','274435pUHbEt','8XsYDrg','780CgeiFY','2430lnsPzM','13563vuWxje','1951491VBAKkq','2UKdULI'];a111_0x324d=function(){return _0x6f4f51;};return a111_0x324d();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a111_0x2057(_0x2f558c,_0x28371b){_0x2f558c=_0x2f558c-0x99;const _0x324dfe=a111_0x324d();let _0x20573c=_0x324dfe[_0x2f558c];return _0x20573c;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- const a112_0x54c6f9=a112_0x3bc1;(function(_0x3a202a,_0x5c531f){const _0x10322e=a112_0x3bc1,_0x450f79=_0x3a202a();while(!![]){try{const _0x37c331=-parseInt(_0x10322e(0xe9))/0x1*(parseInt(_0x10322e(0xea))/0x2)+-parseInt(_0x10322e(0xfe))/0x3*(parseInt(_0x10322e(0x10a))/0x4)+parseInt(_0x10322e(0x101))/0x5+-parseInt(_0x10322e(0xeb))/0x6*(-parseInt(_0x10322e(0xf7))/0x7)+parseInt(_0x10322e(0x102))/0x8+-parseInt(_0x10322e(0x103))/0x9+parseInt(_0x10322e(0xf5))/0xa;if(_0x37c331===_0x5c531f)break;else _0x450f79['push'](_0x450f79['shift']());}catch(_0x4233aa){_0x450f79['push'](_0x450f79['shift']());}}}(a112_0x19fa,0xbcd19));import a112_0x3070f7 from'winston';import a112_0x1aa785 from'node:fs';function a112_0x19fa(){const _0xba5093=['filter','details','red','1107714pOqGRg','setRawCommand','initWinstonLogger','355315TJPclV','1017976KBIGwD','1147149pepBtk','currentRawCommand','File','mkdirSync','timestamp','Failed\x20to\x20clear\x20logs:','trim','16ZtQySK','stringify','now','unknown','createLogger','log','winstonLogger','existsSync','logFilePath','format','error','map','Failed:\x20','success','command','level','blue','utf8','printf','logFileName','writeFileSync','Completed:\x20','info','Starting:\x20','939VVDVLh','2218rnryjd','342ZKuDXS','combine','clear','green','yellow','addColors','setLogPath','Failed\x20to\x20read\x20logs:','split','duration','20149060fdTaag','clearLogs','148099zVUfcP','warn','readFileSync','errors'];a112_0x19fa=function(){return _0xba5093;};return a112_0x19fa();}import a112_0xd22994 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a112_0x54c6f9(0x110)];[a112_0x54c6f9(0x112)]='';[a112_0x54c6f9(0x104)]='';constructor(){}[a112_0x54c6f9(0xff)](_0x4b477a){const _0x3a1ba3=a112_0x54c6f9;this[_0x3a1ba3(0x104)]=_0x4b477a;}[a112_0x54c6f9(0xf1)](_0x1683cc){const _0x1b8c96=a112_0x54c6f9;this[_0x1b8c96(0x112)]=a112_0xd22994['join'](_0x1683cc,PRODUCT_CONFIG[_0x1b8c96(0xe4)]),this[_0x1b8c96(0x110)]&&this['winstonLogger'][_0x1b8c96(0xed)](),this[_0x1b8c96(0x100)]();}[a112_0x54c6f9(0x100)](){const _0x31516d=a112_0x54c6f9,_0x56367b=a112_0xd22994['dirname'](this[_0x31516d(0x112)]);!a112_0x1aa785['existsSync'](_0x56367b)&&a112_0x1aa785[_0x31516d(0x106)](_0x56367b,{'recursive':!![]});const _0x274049=a112_0x3070f7[_0x31516d(0x113)][_0x31516d(0xec)](a112_0x3070f7[_0x31516d(0x113)]['timestamp'](),a112_0x3070f7[_0x31516d(0x113)][_0x31516d(0xfa)]({'stack':!![]}),a112_0x3070f7['format'][_0x31516d(0xe3)](_0x939835=>{const _0x30def6=_0x31516d,_0x537332={'timestamp':_0x939835[_0x30def6(0x107)]||new Date()['toISOString'](),'level':_0x939835[_0x30def6(0xe0)]||_0x30def6(0xe7),'command':_0x939835[_0x30def6(0xdf)]||_0x30def6(0x10d),'rawCommand':_0x939835['rawCommand']||this['currentRawCommand']||undefined,'message':_0x939835['message']||'','duration':_0x939835[_0x30def6(0xf4)]||undefined,'details':_0x939835[_0x30def6(0xfc)]||undefined};return JSON[_0x30def6(0x10b)](_0x537332);}));this[_0x31516d(0x110)]=a112_0x3070f7[_0x31516d(0x10e)]({'level':_0x31516d(0xe7),'format':_0x274049,'transports':[new a112_0x3070f7['transports'][(_0x31516d(0x105))]({'filename':this['logFilePath'],'level':_0x31516d(0xe7)})],'silent':![]}),a112_0x3070f7[_0x31516d(0xf0)]({'success':_0x31516d(0xee),'error':_0x31516d(0xfd),'warn':_0x31516d(0xef),'info':_0x31516d(0xe1)});}[a112_0x54c6f9(0xe7)](_0x1fb637,_0x3f74fd,_0x5921d7){const _0x4600e9=a112_0x54c6f9;if(!this[_0x4600e9(0x112)]||!this[_0x4600e9(0x110)])return;this[_0x4600e9(0x110)][_0x4600e9(0xe7)](_0x3f74fd,{'command':_0x1fb637,'details':_0x5921d7});}[a112_0x54c6f9(0xde)](_0x5a522e,_0x417526,_0x9ce7c7,_0x212eaf){const _0x6b6a45=a112_0x54c6f9;if(!this[_0x6b6a45(0x112)]||!this[_0x6b6a45(0x110)])return;this['winstonLogger'][_0x6b6a45(0x10f)]('info',_0x417526,{'level':'success','command':_0x5a522e,'duration':_0x9ce7c7,'details':_0x212eaf});}[a112_0x54c6f9(0x114)](_0x2e16ef,_0x5d9743,_0x1d4900){const _0x317971=a112_0x54c6f9;if(!this[_0x317971(0x112)]||!this['winstonLogger'])return;this[_0x317971(0x110)][_0x317971(0x114)](_0x5d9743,{'command':_0x2e16ef,'details':_0x1d4900});}['warn'](_0x5324f9,_0x1e7fc3,_0x19a72c){const _0x50aefe=a112_0x54c6f9;if(!this[_0x50aefe(0x112)]||!this[_0x50aefe(0x110)])return;this[_0x50aefe(0x110)][_0x50aefe(0xf8)](_0x1e7fc3,{'command':_0x5324f9,'details':_0x19a72c});}async['logTask'](_0x304547,_0xb5830,_0x31f5c4){const _0x184998=a112_0x54c6f9,_0x390419=Date[_0x184998(0x10c)]();this[_0x184998(0xe7)](_0x304547,_0x184998(0xe8)+_0xb5830);try{const _0x2e5b19=await _0x31f5c4(),_0xf2b888=Date[_0x184998(0x10c)]()-_0x390419;return this[_0x184998(0xde)](_0x304547,_0x184998(0xe6)+_0xb5830,_0xf2b888),_0x2e5b19;}catch(_0x13d5ce){const _0x3ede08=Date[_0x184998(0x10c)]()-_0x390419;this[_0x184998(0x114)](_0x304547,_0x184998(0xdd)+_0xb5830,{'error':_0x13d5ce instanceof Error?_0x13d5ce['message']:String(_0x13d5ce),'duration':_0x3ede08});throw _0x13d5ce;}}['readLogs'](){const _0x5cc5ac=a112_0x54c6f9;try{if(!a112_0x1aa785[_0x5cc5ac(0x111)](this[_0x5cc5ac(0x112)]))return[];const _0x2853d9=a112_0x1aa785[_0x5cc5ac(0xf9)](this[_0x5cc5ac(0x112)],_0x5cc5ac(0xe2));return _0x2853d9[_0x5cc5ac(0xf3)](/\r?\n/)[_0x5cc5ac(0xfb)](_0x559f44=>_0x559f44[_0x5cc5ac(0x109)]())[_0x5cc5ac(0xdc)](_0x5bc376=>JSON['parse'](_0x5bc376));}catch(_0x2b3344){return console['warn'](_0x5cc5ac(0xf2),_0x2b3344),[];}}[a112_0x54c6f9(0xf6)](){const _0x1bf321=a112_0x54c6f9;try{a112_0x1aa785[_0x1bf321(0x111)](this[_0x1bf321(0x112)])&&a112_0x1aa785[_0x1bf321(0xe5)](this[_0x1bf321(0x112)],'',_0x1bf321(0xe2));}catch(_0x22313f){console[_0x1bf321(0xf8)](_0x1bf321(0x108),_0x22313f);}}['getWinstonInstance'](){const _0x495032=a112_0x54c6f9;return this[_0x495032(0x110)];}}function a112_0x3bc1(_0x5d111d,_0x2d8a94){_0x5d111d=_0x5d111d-0xdc;const _0x19fa23=a112_0x19fa();let _0x3bc14a=_0x19fa23[_0x5d111d];return _0x3bc14a;}export const logger=new Logger();
1
+ const a112_0x14dc29=a112_0x406b;(function(_0x5d63c6,_0x547977){const _0x221c34=a112_0x406b,_0xce834b=_0x5d63c6();while(!![]){try{const _0x369bcf=-parseInt(_0x221c34(0xa2))/0x1*(-parseInt(_0x221c34(0x9f))/0x2)+parseInt(_0x221c34(0x95))/0x3*(parseInt(_0x221c34(0x8d))/0x4)+parseInt(_0x221c34(0x91))/0x5*(-parseInt(_0x221c34(0xb0))/0x6)+parseInt(_0x221c34(0xac))/0x7+parseInt(_0x221c34(0xb6))/0x8*(-parseInt(_0x221c34(0xbc))/0x9)+parseInt(_0x221c34(0x92))/0xa+-parseInt(_0x221c34(0xb4))/0xb*(parseInt(_0x221c34(0x90))/0xc);if(_0x369bcf===_0x547977)break;else _0xce834b['push'](_0xce834b['shift']());}catch(_0x4cb8c3){_0xce834b['push'](_0xce834b['shift']());}}}(a112_0x12fe,0x59f65));import a112_0xdf712d from'winston';import a112_0x3c41ed from'node:fs';import a112_0x139c51 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';function a112_0x406b(_0x42c6e7,_0x44cf62){_0x42c6e7=_0x42c6e7-0x89;const _0x12feef=a112_0x12fe();let _0x406b9a=_0x12feef[_0x42c6e7];return _0x406b9a;}class Logger{[a112_0x14dc29(0xa4)];[a112_0x14dc29(0xbe)]='';['currentRawCommand']='';constructor(){}[a112_0x14dc29(0xb9)](_0x196a7a){const _0x4501e3=a112_0x14dc29;this[_0x4501e3(0xae)]=_0x196a7a;}[a112_0x14dc29(0x8a)](_0x53479a){const _0x5d30c3=a112_0x14dc29;this[_0x5d30c3(0xbe)]=a112_0x139c51['join'](_0x53479a,PRODUCT_CONFIG[_0x5d30c3(0x9b)]),this[_0x5d30c3(0xa4)]&&this['winstonLogger'][_0x5d30c3(0x9e)](),this[_0x5d30c3(0xab)]();}[a112_0x14dc29(0xab)](){const _0x4fe5a3=a112_0x14dc29,_0x4b1639=a112_0x139c51[_0x4fe5a3(0x96)](this[_0x4fe5a3(0xbe)]);!a112_0x3c41ed[_0x4fe5a3(0x93)](_0x4b1639)&&a112_0x3c41ed['mkdirSync'](_0x4b1639,{'recursive':!![]});const _0x47d244=a112_0xdf712d[_0x4fe5a3(0xbb)]['combine'](a112_0xdf712d[_0x4fe5a3(0xbb)]['timestamp'](),a112_0xdf712d['format'][_0x4fe5a3(0x8c)]({'stack':!![]}),a112_0xdf712d[_0x4fe5a3(0xbb)]['printf'](_0x5e5811=>{const _0x377133=_0x4fe5a3,_0x3a1b4a={'timestamp':_0x5e5811[_0x377133(0xad)]||new Date()[_0x377133(0x9a)](),'level':_0x5e5811['level']||_0x377133(0xa6),'command':_0x5e5811[_0x377133(0xb2)]||_0x377133(0x97),'rawCommand':_0x5e5811[_0x377133(0xa7)]||this['currentRawCommand']||undefined,'message':_0x5e5811[_0x377133(0xa3)]||'','duration':_0x5e5811[_0x377133(0x8b)]||undefined,'details':_0x5e5811[_0x377133(0xa8)]||undefined};return JSON[_0x377133(0xb7)](_0x3a1b4a);}));this['winstonLogger']=a112_0xdf712d[_0x4fe5a3(0x89)]({'level':'info','format':_0x47d244,'transports':[new a112_0xdf712d[(_0x4fe5a3(0xa9))][(_0x4fe5a3(0x8f))]({'filename':this['logFilePath'],'level':_0x4fe5a3(0xa6)})],'silent':![]}),a112_0xdf712d[_0x4fe5a3(0xa1)]({'success':_0x4fe5a3(0x99),'error':'red','warn':'yellow','info':'blue'});}[a112_0x14dc29(0xa6)](_0x5e83b3,_0x8ae307,_0x4663ad){const _0x191128=a112_0x14dc29;if(!this[_0x191128(0xbe)]||!this['winstonLogger'])return;this[_0x191128(0xa4)][_0x191128(0xa6)](_0x8ae307,{'command':_0x5e83b3,'details':_0x4663ad});}[a112_0x14dc29(0xb3)](_0x7f1d2d,_0x51df9f,_0x1a4ded,_0x3cdffa){const _0x53251e=a112_0x14dc29;if(!this[_0x53251e(0xbe)]||!this['winstonLogger'])return;this[_0x53251e(0xa4)]['log'](_0x53251e(0xa6),_0x51df9f,{'level':'success','command':_0x7f1d2d,'duration':_0x1a4ded,'details':_0x3cdffa});}[a112_0x14dc29(0xaa)](_0xecfc66,_0x2c15e0,_0x238f3b){const _0x2c2d14=a112_0x14dc29;if(!this[_0x2c2d14(0xbe)]||!this[_0x2c2d14(0xa4)])return;this[_0x2c2d14(0xa4)][_0x2c2d14(0xaa)](_0x2c15e0,{'command':_0xecfc66,'details':_0x238f3b});}['warn'](_0x58095d,_0x534d2a,_0x9bc6bf){const _0x126ef6=a112_0x14dc29;if(!this[_0x126ef6(0xbe)]||!this[_0x126ef6(0xa4)])return;this['winstonLogger']['warn'](_0x534d2a,{'command':_0x58095d,'details':_0x9bc6bf});}async['logTask'](_0x39ac45,_0x36e6dd,_0x41aa55){const _0x564aa4=a112_0x14dc29,_0x4a46c9=Date[_0x564aa4(0x94)]();this[_0x564aa4(0xa6)](_0x39ac45,'Starting:\x20'+_0x36e6dd);try{const _0x44f99f=await _0x41aa55(),_0x4fd756=Date[_0x564aa4(0x94)]()-_0x4a46c9;return this[_0x564aa4(0xb3)](_0x39ac45,_0x564aa4(0xb8)+_0x36e6dd,_0x4fd756),_0x44f99f;}catch(_0x12a12d){const _0x192a56=Date[_0x564aa4(0x94)]()-_0x4a46c9;this[_0x564aa4(0xaa)](_0x39ac45,'Failed:\x20'+_0x36e6dd,{'error':_0x12a12d instanceof Error?_0x12a12d[_0x564aa4(0xa3)]:String(_0x12a12d),'duration':_0x192a56});throw _0x12a12d;}}['readLogs'](){const _0x1aa140=a112_0x14dc29;try{if(!a112_0x3c41ed[_0x1aa140(0x93)](this['logFilePath']))return[];const _0x31097f=a112_0x3c41ed[_0x1aa140(0x9d)](this[_0x1aa140(0xbe)],_0x1aa140(0xaf));return _0x31097f[_0x1aa140(0xb5)](/\r?\n/)[_0x1aa140(0x9c)](_0x50bd63=>_0x50bd63[_0x1aa140(0xbd)]())[_0x1aa140(0x98)](_0x3c9719=>JSON[_0x1aa140(0x8e)](_0x3c9719));}catch(_0x2868c7){return console[_0x1aa140(0xa0)]('Failed\x20to\x20read\x20logs:',_0x2868c7),[];}}[a112_0x14dc29(0xba)](){const _0x1f8144=a112_0x14dc29;try{a112_0x3c41ed[_0x1f8144(0x93)](this[_0x1f8144(0xbe)])&&a112_0x3c41ed[_0x1f8144(0xa5)](this[_0x1f8144(0xbe)],'',_0x1f8144(0xaf));}catch(_0x15b35a){console['warn'](_0x1f8144(0xb1),_0x15b35a);}}['getWinstonInstance'](){const _0x2ee0f1=a112_0x14dc29;return this[_0x2ee0f1(0xa4)];}}export const logger=new Logger();function a112_0x12fe(){const _0x3332a9=['4377737lGjwNO','timestamp','currentRawCommand','utf8','275880nbZLGn','Failed\x20to\x20clear\x20logs:','command','success','4708DWGLJi','split','6136wpgIsC','stringify','Completed:\x20','setRawCommand','clearLogs','format','5409bwWeTm','trim','logFilePath','createLogger','setLogPath','duration','errors','114040zncoMF','parse','File','2832ZKDqxC','25akSdEs','3565920eDzIjk','existsSync','now','6GUVZSI','dirname','unknown','map','green','toISOString','logFileName','filter','readFileSync','clear','2EbjDgp','warn','addColors','121357IxjJEj','message','winstonLogger','writeFileSync','info','rawCommand','details','transports','error','initWinstonLogger'];a112_0x12fe=function(){return _0x3332a9;};return a112_0x12fe();}
@@ -1 +1 @@
1
- const a113_0x4ea638=a113_0x211c;function a113_0x3baf(){const _0x2c748d=['json','405ljckSO','4386732kSMIQR','text','2626014jifvSq','exec','558588kDdTKR','16favMYc','undefined','447460JcTUXF','330130QfxiTL','11OlNEPt','8324UfnLAB','parse','MIN_SAFE_INTEGER','1OXTGQC','length','includes','slice','36221292lVVFgW','2965dkbdGd'];a113_0x3baf=function(){return _0x2c748d;};return a113_0x3baf();}(function(_0x34ed4c,_0x4accbd){const _0x522a7c=a113_0x211c,_0x52550b=_0x34ed4c();while(!![]){try{const _0x232aa7=parseInt(_0x522a7c(0x134))/0x1*(parseInt(_0x522a7c(0x143))/0x2)+-parseInt(_0x522a7c(0x13e))/0x3+parseInt(_0x522a7c(0x131))/0x4*(parseInt(_0x522a7c(0x139))/0x5)+-parseInt(_0x522a7c(0x140))/0x6+-parseInt(_0x522a7c(0x13c))/0x7*(parseInt(_0x522a7c(0x141))/0x8)+-parseInt(_0x522a7c(0x13b))/0x9*(parseInt(_0x522a7c(0x144))/0xa)+parseInt(_0x522a7c(0x130))/0xb*(parseInt(_0x522a7c(0x138))/0xc);if(_0x232aa7===_0x4accbd)break;else _0x52550b['push'](_0x52550b['shift']());}catch(_0x539eeb){_0x52550b['push'](_0x52550b['shift']());}}}(a113_0x3baf,0xbbb3f));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number['MAX_SAFE_INTEGER']),MIN_SAFE_INTEGER=BigInt(Number[a113_0x4ea638(0x133)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x50c48f){const _0x3488f7=a113_0x4ea638;if(_0x50c48f['includes']('.')||_0x50c48f[_0x3488f7(0x136)]('e')||_0x50c48f[_0x3488f7(0x136)]('E'))return![];const _0x51fe31=BigInt(_0x50c48f);return _0x51fe31>MAX_SAFE_INTEGER||_0x51fe31<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x38160b){const _0x506b86=a113_0x4ea638;let _0x2c72a5='',_0x3d6be3=![],_0x503d4a=![];for(let _0x4726f8=0x0;_0x4726f8<_0x38160b['length'];){const _0x54dc40=_0x38160b[_0x4726f8];if(_0x3d6be3){_0x2c72a5+=_0x54dc40,_0x4726f8+=0x1;if(_0x503d4a)_0x503d4a=![];else{if(_0x54dc40==='\x5c')_0x503d4a=!![];else _0x54dc40==='\x22'&&(_0x3d6be3=![]);}continue;}if(_0x54dc40==='\x22'){_0x3d6be3=!![],_0x2c72a5+=_0x54dc40,_0x4726f8+=0x1;continue;}if(_0x54dc40==='-'||_0x54dc40>='0'&&_0x54dc40<='9'){const _0x128d0b=JSON_NUMBER_PATTERN[_0x506b86(0x13f)](_0x38160b[_0x506b86(0x137)](_0x4726f8))?.[0x0];if(_0x128d0b){_0x2c72a5+=isUnsafeIntegerLiteral(_0x128d0b)?'\x22'+_0x128d0b+'\x22':_0x128d0b,_0x4726f8+=_0x128d0b[_0x506b86(0x135)];continue;}}_0x2c72a5+=_0x54dc40,_0x4726f8+=0x1;}return _0x2c72a5;}export function parseLosslessJson(_0xa1b23c){const _0x56efa1=a113_0x4ea638;return JSON[_0x56efa1(0x132)](quoteUnsafeIntegerLiterals(_0xa1b23c));}export function installLosslessJsonResponseParser(){const _0x3e9208=a113_0x4ea638;if(typeof Response===_0x3e9208(0x142))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response['prototype'],originalResponseJsonDescriptor=Object['getOwnPropertyDescriptor'](responseJsonPrototype,_0x3e9208(0x13a)),Object['defineProperty'](responseJsonPrototype,_0x3e9208(0x13a),{'configurable':!![],'enumerable':![],'value':async function _0x1a2ed6(){const _0x3302ee=_0x3e9208;return parseLosslessJson(await this[_0x3302ee(0x13d)]());},'writable':!![]}),restoreResponseJsonParser=()=>{const _0x3c46e9=_0x3e9208;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object['defineProperty'](responseJsonPrototype,_0x3c46e9(0x13a),originalResponseJsonDescriptor):delete responseJsonPrototype[_0x3c46e9(0x13a)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}function a113_0x211c(_0x32990f,_0x18fddc){_0x32990f=_0x32990f-0x130;const _0x3baf02=a113_0x3baf();let _0x211c72=_0x3baf02[_0x32990f];return _0x211c72;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
1
+ const a113_0x3caf3c=a113_0x9485;(function(_0x37dccf,_0x378c16){const _0x129540=a113_0x9485,_0x3c4ea7=_0x37dccf();while(!![]){try{const _0x57e060=-parseInt(_0x129540(0x1b5))/0x1+-parseInt(_0x129540(0x1b2))/0x2+-parseInt(_0x129540(0x1b7))/0x3+-parseInt(_0x129540(0x1af))/0x4*(parseInt(_0x129540(0x1b1))/0x5)+-parseInt(_0x129540(0x1bf))/0x6*(parseInt(_0x129540(0x1b3))/0x7)+-parseInt(_0x129540(0x1b9))/0x8*(-parseInt(_0x129540(0x1be))/0x9)+parseInt(_0x129540(0x1aa))/0xa*(parseInt(_0x129540(0x1bd))/0xb);if(_0x57e060===_0x378c16)break;else _0x3c4ea7['push'](_0x3c4ea7['shift']());}catch(_0x264f8e){_0x3c4ea7['push'](_0x3c4ea7['shift']());}}}(a113_0x15a9,0xb91de));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a113_0x3caf3c(0x1a9)]),MIN_SAFE_INTEGER=BigInt(Number[a113_0x3caf3c(0x1ae)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x5ee1ba){const _0x5c17b8=a113_0x3caf3c;if(_0x5ee1ba[_0x5c17b8(0x1b6)]('.')||_0x5ee1ba[_0x5c17b8(0x1b6)]('e')||_0x5ee1ba[_0x5c17b8(0x1b6)]('E'))return![];const _0x56ef63=BigInt(_0x5ee1ba);return _0x56ef63>MAX_SAFE_INTEGER||_0x56ef63<MIN_SAFE_INTEGER;}function a113_0x9485(_0x35d3ed,_0x307068){_0x35d3ed=_0x35d3ed-0x1a9;const _0x15a9d1=a113_0x15a9();let _0x948596=_0x15a9d1[_0x35d3ed];return _0x948596;}function quoteUnsafeIntegerLiterals(_0x450c7b){const _0x86e797=a113_0x3caf3c;let _0x2b6b30='',_0xd141fb=![],_0x524e4d=![];for(let _0x4d492d=0x0;_0x4d492d<_0x450c7b[_0x86e797(0x1ab)];){const _0x438bfc=_0x450c7b[_0x4d492d];if(_0xd141fb){_0x2b6b30+=_0x438bfc,_0x4d492d+=0x1;if(_0x524e4d)_0x524e4d=![];else{if(_0x438bfc==='\x5c')_0x524e4d=!![];else _0x438bfc==='\x22'&&(_0xd141fb=![]);}continue;}if(_0x438bfc==='\x22'){_0xd141fb=!![],_0x2b6b30+=_0x438bfc,_0x4d492d+=0x1;continue;}if(_0x438bfc==='-'||_0x438bfc>='0'&&_0x438bfc<='9'){const _0x250abe=JSON_NUMBER_PATTERN[_0x86e797(0x1bc)](_0x450c7b[_0x86e797(0x1ba)](_0x4d492d))?.[0x0];if(_0x250abe){_0x2b6b30+=isUnsafeIntegerLiteral(_0x250abe)?'\x22'+_0x250abe+'\x22':_0x250abe,_0x4d492d+=_0x250abe[_0x86e797(0x1ab)];continue;}}_0x2b6b30+=_0x438bfc,_0x4d492d+=0x1;}return _0x2b6b30;}export function parseLosslessJson(_0x5db5e1){const _0x5dfaf2=a113_0x3caf3c;return JSON[_0x5dfaf2(0x1ad)](quoteUnsafeIntegerLiterals(_0x5db5e1));}export function installLosslessJsonResponseParser(){const _0x2e6b07=a113_0x3caf3c;if(typeof Response==='undefined')return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x2e6b07(0x1bb)],originalResponseJsonDescriptor=Object[_0x2e6b07(0x1b0)](responseJsonPrototype,_0x2e6b07(0x1ac)),Object[_0x2e6b07(0x1b4)](responseJsonPrototype,_0x2e6b07(0x1ac),{'configurable':!![],'enumerable':![],'value':async function _0x4aa4a2(){const _0x14b118=_0x2e6b07;return parseLosslessJson(await this[_0x14b118(0x1b8)]());},'writable':!![]}),restoreResponseJsonParser=()=>{const _0x19b8ad=_0x2e6b07;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x19b8ad(0x1b4)](responseJsonPrototype,'json',originalResponseJsonDescriptor):delete responseJsonPrototype[_0x19b8ad(0x1ac)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}function a113_0x15a9(){const _0x4fd96f=['exec','2827IcicFo','2151BJPiqp','642ekrSyu','MAX_SAFE_INTEGER','165050JxAbPl','length','json','parse','MIN_SAFE_INTEGER','4VKHKgO','getOwnPropertyDescriptor','4180870bqwDQU','2545424ikRSMP','97370dqecVi','defineProperty','80854TJHgLL','includes','116820qTlCqu','text','7816nMUwac','slice','prototype'];a113_0x15a9=function(){return _0x4fd96f;};return a113_0x15a9();}
@@ -1 +1 @@
1
- (function(_0x3f2422,_0x3906ec){const _0x1dd56d=a114_0x4c98,_0x34fc01=_0x3f2422();while(!![]){try{const _0x23fa06=-parseInt(_0x1dd56d(0x142))/0x1*(parseInt(_0x1dd56d(0x150))/0x2)+-parseInt(_0x1dd56d(0x143))/0x3*(parseInt(_0x1dd56d(0x14b))/0x4)+parseInt(_0x1dd56d(0x146))/0x5+parseInt(_0x1dd56d(0x151))/0x6+parseInt(_0x1dd56d(0x149))/0x7+-parseInt(_0x1dd56d(0x13c))/0x8*(-parseInt(_0x1dd56d(0x13e))/0x9)+-parseInt(_0x1dd56d(0x141))/0xa;if(_0x23fa06===_0x3906ec)break;else _0x34fc01['push'](_0x34fc01['shift']());}catch(_0x46f53c){_0x34fc01['push'](_0x34fc01['shift']());}}}(a114_0x572a,0xe775c));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';function a114_0x4c98(_0x4b6b08,_0x13801c){_0x4b6b08=_0x4b6b08-0x13a;const _0x572a1b=a114_0x572a();let _0x4c98d1=_0x572a1b[_0x4b6b08];return _0x4c98d1;}export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x493713){const _0x4022bd=a114_0x4c98;if(!_0x493713)return undefined;try{return parseLosslessJson(_0x493713);}catch{throw CliErrors['validation'](_0x4022bd(0x14f)+_0x493713);}}export function parseJsonParamsValue(_0x3efebd){const _0x357bc4=a114_0x4c98;if(!_0x3efebd)return undefined;try{return parseLosslessJson(_0x3efebd);}catch{throw CliErrors[_0x357bc4(0x155)](_0x357bc4(0x14f)+_0x3efebd);}}export function parseBatchCreateItemsFromParams(_0x45a37e){const _0x40ec80=a114_0x4c98;if(Array['isArray'](_0x45a37e))return _0x45a37e;if(_0x45a37e!==null&&_0x45a37e!==undefined&&typeof _0x45a37e===_0x40ec80(0x13b)&&Array[_0x40ec80(0x145)](_0x45a37e[_0x40ec80(0x14c)]))return _0x45a37e[_0x40ec80(0x14c)];throw CliErrors['validation']('batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}',_0x40ec80(0x14d));}function parseDataUpdateId(_0x22d8d7,_0x490ee4){const _0xfe37d6=a114_0x4c98;if(typeof _0x22d8d7===_0xfe37d6(0x13a)&&Number[_0xfe37d6(0x147)](_0x22d8d7)&&_0x22d8d7>0x0)return _0x22d8d7;if(typeof _0x22d8d7==='string'){if(/^[1-9]\d*$/[_0xfe37d6(0x140)](_0x22d8d7))return _0x22d8d7;}throw CliErrors['validation']('data\x20update\x20--params.'+_0x490ee4+_0xfe37d6(0x154));}export function parseUpdateIdsFromParams(_0x57781a){const _0x3eb497=a114_0x4c98;if(_0x57781a===null||_0x57781a===undefined||typeof _0x57781a!==_0x3eb497(0x13b)||Array[_0x3eb497(0x145)](_0x57781a))throw CliErrors[_0x3eb497(0x155)](_0x3eb497(0x14a),_0x3eb497(0x156));const _0x19ebbc=_0x57781a['id'];if(_0x19ebbc===undefined||_0x19ebbc===null)throw CliErrors['validation'](_0x3eb497(0x13d),_0x3eb497(0x156));const _0x674097=Array[_0x3eb497(0x145)](_0x19ebbc)?_0x19ebbc:[_0x19ebbc];if(_0x674097[_0x3eb497(0x13f)]===0x0)throw CliErrors[_0x3eb497(0x155)](_0x3eb497(0x14e));if(_0x674097[_0x3eb497(0x13f)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x3eb497(0x155)](_0x3eb497(0x144)+MAX_DATA_UPDATE_IDS+'\x20records\x20per\x20call;\x20received\x20'+_0x674097['length']+'.');return _0x674097[_0x3eb497(0x153)]((_0x31ac15,_0x36e4c3)=>parseDataUpdateId(_0x31ac15,Array['isArray'](_0x19ebbc)?_0x3eb497(0x148)+_0x36e4c3+']':'id'));}function a114_0x572a(){const _0x4f665f=['validation','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','number','object','40wPgQNH','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','2567259XVFDCN','length','test','30729790gAsHlG','272515TkKtqa','116988ZhVWPm','data\x20update\x20can\x20update\x20at\x20most\x20','isArray','7986265fcouna','isSafeInteger','id[','10347911bhjHdC','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','180ULRJcs','items','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','Invalid\x20JSON\x20for\x20--params:\x20','2ZKWQAE','9279558IKplfy','join','map','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.'];a114_0x572a=function(){return _0x4f665f;};return a114_0x572a();}export function normalizeUpdateParamsForRuntime(_0x5231cd,_0x24bbd5){const _0x137887=a114_0x4c98;if(Array['isArray'](_0x5231cd['id'])&&_0x24bbd5[_0x137887(0x13f)]>0x1)return{..._0x5231cd,'id':_0x24bbd5[_0x137887(0x152)](',')};return _0x5231cd;}
1
+ (function(_0x44efce,_0x161d3a){const _0x3e1c7e=a114_0xe714,_0x1ab1db=_0x44efce();while(!![]){try{const _0x4c05c8=-parseInt(_0x3e1c7e(0x99))/0x1*(parseInt(_0x3e1c7e(0x96))/0x2)+-parseInt(_0x3e1c7e(0x95))/0x3*(-parseInt(_0x3e1c7e(0xa0))/0x4)+-parseInt(_0x3e1c7e(0x91))/0x5+parseInt(_0x3e1c7e(0xa4))/0x6+-parseInt(_0x3e1c7e(0x88))/0x7*(parseInt(_0x3e1c7e(0x9c))/0x8)+-parseInt(_0x3e1c7e(0x9b))/0x9+parseInt(_0x3e1c7e(0x8d))/0xa;if(_0x4c05c8===_0x161d3a)break;else _0x1ab1db['push'](_0x1ab1db['shift']());}catch(_0x4ef2a5){_0x1ab1db['push'](_0x1ab1db['shift']());}}}(a114_0x5563,0xb1545));function a114_0xe714(_0x5044ce,_0xb00d8a){_0x5044ce=_0x5044ce-0x86;const _0x55638e=a114_0x5563();let _0xe7141b=_0x55638e[_0x5044ce];return _0xe7141b;}import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0xeedf85){const _0x291a78=a114_0xe714;if(!_0xeedf85)return undefined;try{return parseLosslessJson(_0xeedf85);}catch{throw CliErrors[_0x291a78(0xa2)](_0x291a78(0x87)+_0xeedf85);}}export function parseJsonParamsValue(_0x502b51){const _0x5d6a62=a114_0xe714;if(!_0x502b51)return undefined;try{return parseLosslessJson(_0x502b51);}catch{throw CliErrors[_0x5d6a62(0xa2)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x502b51);}}function a114_0x5563(){const _0x3da17a=['id[','560616mAhezK','2LhkatY','items','test','1146793hETrVn','length','7326126HPwjQz','473864vagjjx','data\x20update\x20--params.','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','number','4zutVev','join','validation','map','8091738VJDdtl','string','Invalid\x20JSON\x20for\x20--params:\x20','49ZQxELe','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','object','20754990UeWFIx','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','\x20records\x20per\x20call;\x20received\x20','2546075sQJTqh','isArray','data\x20update\x20can\x20update\x20at\x20most\x20'];a114_0x5563=function(){return _0x3da17a;};return a114_0x5563();}export function parseBatchCreateItemsFromParams(_0x364280){const _0x738c33=a114_0xe714;if(Array[_0x738c33(0x92)](_0x364280))return _0x364280;if(_0x364280!==null&&_0x364280!==undefined&&typeof _0x364280==='object'&&Array['isArray'](_0x364280[_0x738c33(0x97)]))return _0x364280[_0x738c33(0x97)];throw CliErrors['validation'](_0x738c33(0x8b),_0x738c33(0x8a));}function parseDataUpdateId(_0x579842,_0x4918fe){const _0x1c91c0=a114_0xe714;if(typeof _0x579842===_0x1c91c0(0x9f)&&Number['isSafeInteger'](_0x579842)&&_0x579842>0x0)return _0x579842;if(typeof _0x579842===_0x1c91c0(0x86)){if(/^[1-9]\d*$/[_0x1c91c0(0x98)](_0x579842))return _0x579842;}throw CliErrors[_0x1c91c0(0xa2)](_0x1c91c0(0x9d)+_0x4918fe+'\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.');}export function parseUpdateIdsFromParams(_0x379f31){const _0x3fc4c4=a114_0xe714;if(_0x379f31===null||_0x379f31===undefined||typeof _0x379f31!==_0x3fc4c4(0x8c)||Array[_0x3fc4c4(0x92)](_0x379f31))throw CliErrors[_0x3fc4c4(0xa2)](_0x3fc4c4(0x9e),'Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27');const _0x453957=_0x379f31['id'];if(_0x453957===undefined||_0x453957===null)throw CliErrors[_0x3fc4c4(0xa2)](_0x3fc4c4(0x8e),_0x3fc4c4(0x89));const _0x4328a4=Array[_0x3fc4c4(0x92)](_0x453957)?_0x453957:[_0x453957];if(_0x4328a4[_0x3fc4c4(0x9a)]===0x0)throw CliErrors[_0x3fc4c4(0xa2)](_0x3fc4c4(0x8f));if(_0x4328a4[_0x3fc4c4(0x9a)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x3fc4c4(0xa2)](_0x3fc4c4(0x93)+MAX_DATA_UPDATE_IDS+_0x3fc4c4(0x90)+_0x4328a4['length']+'.');return _0x4328a4[_0x3fc4c4(0xa3)]((_0x3e4fe7,_0x3483e9)=>parseDataUpdateId(_0x3e4fe7,Array['isArray'](_0x453957)?_0x3fc4c4(0x94)+_0x3483e9+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x475758,_0x40ddee){const _0x2cd8fa=a114_0xe714;if(Array[_0x2cd8fa(0x92)](_0x475758['id'])&&_0x40ddee[_0x2cd8fa(0x9a)]>0x1)return{..._0x475758,'id':_0x40ddee[_0x2cd8fa(0xa1)](',')};return _0x475758;}
@@ -1 +1 @@
1
- function a115_0x27bd(){const _0x5fc36b=['8ZqQQBA','3168260QxUARp','5221884VkUsXx','265832QgJwVZ','win32','.cmd','552198xQZKaD','1112930PWaCso','8892674UnNfMa','2093502qtmSiH'];a115_0x27bd=function(){return _0x5fc36b;};return a115_0x27bd();}const a115_0x14c590=a115_0x31be;(function(_0x79c0ba,_0xc90244){const _0x10374d=a115_0x31be,_0x42d12e=_0x79c0ba();while(!![]){try{const _0x511da6=-parseInt(_0x10374d(0xe4))/0x1+parseInt(_0x10374d(0xeb))/0x2+parseInt(_0x10374d(0xe7))/0x3+parseInt(_0x10374d(0xe9))/0x4+-parseInt(_0x10374d(0xe5))/0x5+parseInt(_0x10374d(0xea))/0x6+-parseInt(_0x10374d(0xe6))/0x7*(parseInt(_0x10374d(0xe8))/0x8);if(_0x511da6===_0xc90244)break;else _0x42d12e['push'](_0x42d12e['shift']());}catch(_0x37476f){_0x42d12e['push'](_0x42d12e['shift']());}}}(a115_0x27bd,0x6d5db));export const isWindows=process['platform']===a115_0x14c590(0xec);function a115_0x31be(_0x2f10ad,_0x13cc86){_0x2f10ad=_0x2f10ad-0xe3;const _0x27bd35=a115_0x27bd();let _0x31be4d=_0x27bd35[_0x2f10ad];return _0x31be4d;}export function resolveNpmBin(_0x2735c6){const _0x26058b=a115_0x14c590;return isWindows?_0x2735c6+_0x26058b(0xe3):_0x2735c6;}
1
+ function a115_0x2009(){const _0x1624fe=['2002662IjXkPu','500938sKuWrQ','852276IqDqwr','win32','platform','16069608pPjcgV','6488447PBPBPz','.cmd','8RNRkEm','4259031BektbM','8iXbdeb','603715RZTRNs'];a115_0x2009=function(){return _0x1624fe;};return a115_0x2009();}function a115_0x7b20(_0x319149,_0x2719a3){_0x319149=_0x319149-0xb9;const _0x200932=a115_0x2009();let _0x7b2068=_0x200932[_0x319149];return _0x7b2068;}const a115_0x47ac9f=a115_0x7b20;(function(_0x166677,_0x2cca9b){const _0x46f7ae=a115_0x7b20,_0x112024=_0x166677();while(!![]){try{const _0xad47cc=-parseInt(_0x46f7ae(0xc2))/0x1+-parseInt(_0x46f7ae(0xc1))/0x2+-parseInt(_0x46f7ae(0xbd))/0x3+parseInt(_0x46f7ae(0xbc))/0x4*(parseInt(_0x46f7ae(0xbf))/0x5)+parseInt(_0x46f7ae(0xc0))/0x6+parseInt(_0x46f7ae(0xba))/0x7*(parseInt(_0x46f7ae(0xbe))/0x8)+parseInt(_0x46f7ae(0xb9))/0x9;if(_0xad47cc===_0x2cca9b)break;else _0x112024['push'](_0x112024['shift']());}catch(_0x57fb0c){_0x112024['push'](_0x112024['shift']());}}}(a115_0x2009,0xbad5a));export const isWindows=process[a115_0x47ac9f(0xc4)]===a115_0x47ac9f(0xc3);export function resolveNpmBin(_0x40e4aa){const _0x25aeae=a115_0x47ac9f;return isWindows?_0x40e4aa+_0x25aeae(0xbb):_0x40e4aa;}
@@ -1 +1 @@
1
- (function(_0x3d557d,_0x4b4af4){const _0x34d220=a116_0x4375,_0x32049b=_0x3d557d();while(!![]){try{const _0x3e65f3=parseInt(_0x34d220(0xcb))/0x1+-parseInt(_0x34d220(0xc8))/0x2+parseInt(_0x34d220(0xb3))/0x3+-parseInt(_0x34d220(0xb9))/0x4*(parseInt(_0x34d220(0xcd))/0x5)+-parseInt(_0x34d220(0xcf))/0x6*(parseInt(_0x34d220(0xbe))/0x7)+-parseInt(_0x34d220(0xb4))/0x8*(parseInt(_0x34d220(0xc3))/0x9)+-parseInt(_0x34d220(0xc9))/0xa*(-parseInt(_0x34d220(0xcc))/0xb);if(_0x3e65f3===_0x4b4af4)break;else _0x32049b['push'](_0x32049b['shift']());}catch(_0x197849){_0x32049b['push'](_0x32049b['shift']());}}}(a116_0xdf15,0xcf088));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';function a116_0x4375(_0x1d5685,_0x3d76d9){_0x1d5685=_0x1d5685-0xae;const _0xdf156=a116_0xdf15();let _0x4375b7=_0xdf156[_0x1d5685];return _0x4375b7;}import{CLI_BIN_NAME}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function parseSemver(_0x46908a){const _0x4313f9=a116_0x4375,_0x503ecb=_0x46908a['trim']()[_0x4313f9(0xb8)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x503ecb)return null;return{'major':Number(_0x503ecb[0x1]),'minor':Number(_0x503ecb[0x2]),'patch':Number(_0x503ecb[0x3]),'prerelease':_0x503ecb[0x4]};}function compareSemver(_0x3dcffd,_0x46f65e){const _0x1d7a81=a116_0x4375,_0x40c5ec=parseSemver(_0x3dcffd),_0x2eaea7=parseSemver(_0x46f65e);if(!_0x40c5ec||!_0x2eaea7)throw new Error(_0x1d7a81(0xbf));for(const _0x170724 of[_0x1d7a81(0xbb),_0x1d7a81(0xd1),_0x1d7a81(0xbd)]){if(_0x40c5ec[_0x170724]<_0x2eaea7[_0x170724])return-0x1;if(_0x40c5ec[_0x170724]>_0x2eaea7[_0x170724])return 0x1;}if(!_0x40c5ec[_0x1d7a81(0xd2)]&&!_0x2eaea7[_0x1d7a81(0xd2)])return 0x0;if(!_0x40c5ec['prerelease'])return 0x1;if(!_0x2eaea7['prerelease'])return-0x1;if(_0x40c5ec[_0x1d7a81(0xd2)]===_0x2eaea7[_0x1d7a81(0xd2)])return 0x0;return _0x40c5ec[_0x1d7a81(0xd2)]<_0x2eaea7['prerelease']?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0xdfdff4=a116_0x4375,_0x2c1ced=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0xdfdff4(0xaf)]()[_0xdfdff4(0xca)]();return _0x2c1ced==='1'||_0x2c1ced==='true'||_0x2c1ced===_0xdfdff4(0xc1);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x460fdf=a116_0x4375;return join(cacheRoot(),'lovrabet-cli',_0x460fdf(0xc2));}async function readUpdateNoticeCache(){const _0x2f0918=a116_0x4375;try{const _0x3c981e=await readFile(getUpdateNoticeCachePath(),_0x2f0918(0xc6)),_0x5956c5=JSON['parse'](_0x3c981e);if(!_0x5956c5||typeof _0x5956c5!==_0x2f0918(0xbc))return{};return _0x5956c5;}catch{return{};}}async function writeUpdateNoticeCache(_0x1173a0){const _0x35c9c7=a116_0x4375;try{const _0x253bb8=getUpdateNoticeCachePath();await mkdir(dirname(_0x253bb8),{'recursive':!![]}),await writeFile(_0x253bb8,JSON['stringify'](_0x1173a0,null,0x2)+'\x0a',_0x35c9c7(0xc6));}catch{}}function isFreshCheck(_0x1b91e3,_0x35acbc){const _0x4142d9=a116_0x4375;return typeof _0x1b91e3[_0x4142d9(0xc0)]===_0x4142d9(0xae)&&_0x35acbc-_0x1b91e3[_0x4142d9(0xc0)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x1bcdf0,_0x327da0,_0x4bcad0){const _0xf10820=a116_0x4375;return _0x1bcdf0[_0xf10820(0xd3)]===_0x327da0&&typeof _0x1bcdf0[_0xf10820(0xc4)]===_0xf10820(0xae)&&_0x4bcad0-_0x1bcdf0['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}function a116_0xdf15(){const _0x2e828a=['77Rvadzw','Invalid\x20semver','checkedAt','yes','update-check.json','863658hQtcmH','lastNotifiedAt','/v/','utf8','map','314054EaqyFc','1186180lYfCfW','toLowerCase','1499666hNNWGK','44qyxezc','5jxcfLh','latest','433182gCFqSi','timeout','minor','prerelease','lastNotifiedVersion','number','trim','/-/package/','entries','fromEntries','2206413OeXUpa','48ChUsYG','json','\x20available,\x20current\x20','https://www.npmjs.com/package/','match','1338540kZFhLo','/dist-tags','major','object','patch'];a116_0xdf15=function(){return _0x2e828a;};return a116_0xdf15();}async function fetchNpmDistTags(_0x3d9c43=0x5dc){const _0x2dcb08=a116_0x4375;try{const _0x192f8c=NPM_REGISTRY_BASE_URL+_0x2dcb08(0xb0)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x2dcb08(0xba),_0x1560c6=await fetch(_0x192f8c,{'signal':AbortSignal[_0x2dcb08(0xd0)](_0x3d9c43)});if(!_0x1560c6['ok'])return null;const _0x3623ea=await _0x1560c6[_0x2dcb08(0xb5)]();if(!_0x3623ea||typeof _0x3623ea!==_0x2dcb08(0xbc))return null;return Object[_0x2dcb08(0xb2)](Object[_0x2dcb08(0xb1)](_0x3623ea)['filter'](([,_0x935c2b])=>typeof _0x935c2b==='string'&&_0x935c2b[_0x2dcb08(0xaf)]())[_0x2dcb08(0xc7)](([_0x13e6af,_0x45bf39])=>[_0x13e6af,String(_0x45bf39)[_0x2dcb08(0xaf)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x70134){const _0x3515e7=a116_0x4375;return _0x3515e7(0xb7)+LOVRABET_NPM_PACKAGE_NAME+_0x3515e7(0xc5)+_0x70134;}export async function resolveLatestUpdateNotice(){const _0x262353=a116_0x4375;if(isUpdateNoticeDisabled())return null;try{const _0x580183=Date['now'](),_0x2f12d3=getCliVersion(),_0x30e92f=await readUpdateNoticeCache();let _0x3a91d6=isFreshCheck(_0x30e92f,_0x580183)?_0x30e92f[_0x262353(0xce)]?.['trim']():undefined;if(!_0x3a91d6&&!isFreshCheck(_0x30e92f,_0x580183)){const _0xfcac99=await fetchNpmDistTags();_0x3a91d6=_0xfcac99?.[_0x262353(0xce)]?.[_0x262353(0xaf)](),await writeUpdateNoticeCache({..._0x30e92f,'checkedAt':_0x580183,'latest':_0x3a91d6,'failed':!_0x3a91d6});}if(!_0x3a91d6||compareSemver(_0x2f12d3,_0x3a91d6)>=0x0)return null;if(isRecentlyNotified(_0x30e92f,_0x3a91d6,_0x580183))return null;const _0x17c614=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0x30e92f,'checkedAt':isFreshCheck(_0x30e92f,_0x580183)?_0x30e92f[_0x262353(0xc0)]:_0x580183,'latest':_0x3a91d6,'failed':![],'lastNotifiedVersion':_0x3a91d6,'lastNotifiedAt':_0x580183}),{'command':_0x17c614,'current':_0x2f12d3,'latest':_0x3a91d6,'url':buildNpmVersionUrl(_0x3a91d6),'message':CLI_BIN_NAME+'\x20'+_0x3a91d6+_0x262353(0xb6)+_0x2f12d3+',\x20run:\x20'+_0x17c614};}catch{return null;}}
1
+ (function(_0x2d1700,_0x1e603b){const _0x2988e5=a116_0x188e,_0x27a0be=_0x2d1700();while(!![]){try{const _0x4e654a=-parseInt(_0x2988e5(0x16c))/0x1*(-parseInt(_0x2988e5(0x181))/0x2)+-parseInt(_0x2988e5(0x17a))/0x3*(-parseInt(_0x2988e5(0x183))/0x4)+parseInt(_0x2988e5(0x18d))/0x5+-parseInt(_0x2988e5(0x16e))/0x6+parseInt(_0x2988e5(0x185))/0x7*(-parseInt(_0x2988e5(0x174))/0x8)+parseInt(_0x2988e5(0x188))/0x9+-parseInt(_0x2988e5(0x180))/0xa;if(_0x4e654a===_0x1e603b)break;else _0x27a0be['push'](_0x27a0be['shift']());}catch(_0x58291a){_0x27a0be['push'](_0x27a0be['shift']());}}}(a116_0x361c,0xcd7f6));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';function a116_0x188e(_0x22e2c6,_0x2ed0bb){_0x22e2c6=_0x22e2c6-0x16b;const _0x361c62=a116_0x361c();let _0x188ea5=_0x361c62[_0x22e2c6];return _0x188ea5;}import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function parseSemver(_0x45e00c){const _0xfe87d8=a116_0x188e,_0xb8527b=_0x45e00c[_0xfe87d8(0x18a)]()[_0xfe87d8(0x17b)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0xb8527b)return null;return{'major':Number(_0xb8527b[0x1]),'minor':Number(_0xb8527b[0x2]),'patch':Number(_0xb8527b[0x3]),'prerelease':_0xb8527b[0x4]};}function compareSemver(_0x1df8fb,_0x88f972){const _0xa53f1e=a116_0x188e,_0x73ebe4=parseSemver(_0x1df8fb),_0x3c3a5d=parseSemver(_0x88f972);if(!_0x73ebe4||!_0x3c3a5d)throw new Error('Invalid\x20semver');for(const _0x588227 of[_0xa53f1e(0x178),_0xa53f1e(0x18e),'patch']){if(_0x73ebe4[_0x588227]<_0x3c3a5d[_0x588227])return-0x1;if(_0x73ebe4[_0x588227]>_0x3c3a5d[_0x588227])return 0x1;}if(!_0x73ebe4[_0xa53f1e(0x17f)]&&!_0x3c3a5d[_0xa53f1e(0x17f)])return 0x0;if(!_0x73ebe4[_0xa53f1e(0x17f)])return 0x1;if(!_0x3c3a5d[_0xa53f1e(0x17f)])return-0x1;if(_0x73ebe4[_0xa53f1e(0x17f)]===_0x3c3a5d['prerelease'])return 0x0;return _0x73ebe4[_0xa53f1e(0x17f)]<_0x3c3a5d[_0xa53f1e(0x17f)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0xd2ec6=a116_0x188e,_0x7e7736=process.env.LOVRABET_NO_UPDATE_NOTICE?.['trim']()[_0xd2ec6(0x171)]();return _0x7e7736==='1'||_0x7e7736===_0xd2ec6(0x172)||_0x7e7736===_0xd2ec6(0x177);}function cacheRoot(){const _0xe91e9d=a116_0x188e;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0xe91e9d(0x17c));}export function getUpdateNoticeCachePath(){const _0x5dd6df=a116_0x188e;return join(cacheRoot(),'lovrabet-cli',_0x5dd6df(0x17d));}function a116_0x361c(){const _0x207b08=['yes','major','lastNotifiedVersion','161991IWxAbR','match','.cache','update-check.json',',\x20run:\x20','prerelease','9733740xvYodc','750666WCttGe','stringify','24ecJjGh','number','181748aZaHRf','map','\x20update','9581571lvljoN','/-/package/','trim','entries','utf8','743575ZzlBYX','minor','object','fromEntries','string','4HidzQS','\x20available,\x20current\x20','1733112xwpJNE','/v/','parse','toLowerCase','true','https://www.npmjs.com/package/','288UqbgRn','checkedAt','latest'];a116_0x361c=function(){return _0x207b08;};return a116_0x361c();}async function readUpdateNoticeCache(){const _0x48ce7e=a116_0x188e;try{const _0x525742=await readFile(getUpdateNoticeCachePath(),_0x48ce7e(0x18c)),_0x394f46=JSON[_0x48ce7e(0x170)](_0x525742);if(!_0x394f46||typeof _0x394f46!==_0x48ce7e(0x18f))return{};return _0x394f46;}catch{return{};}}async function writeUpdateNoticeCache(_0x5dfd14){const _0x50d212=a116_0x188e;try{const _0x4c6e81=getUpdateNoticeCachePath();await mkdir(dirname(_0x4c6e81),{'recursive':!![]}),await writeFile(_0x4c6e81,JSON[_0x50d212(0x182)](_0x5dfd14,null,0x2)+'\x0a','utf8');}catch{}}function isFreshCheck(_0x3160ca,_0x23e27a){const _0x3d55a1=a116_0x188e;return typeof _0x3160ca[_0x3d55a1(0x175)]===_0x3d55a1(0x184)&&_0x23e27a-_0x3160ca[_0x3d55a1(0x175)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0xcf6267,_0x497887,_0x47ad61){const _0x184710=a116_0x188e;return _0xcf6267[_0x184710(0x179)]===_0x497887&&typeof _0xcf6267['lastNotifiedAt']==='number'&&_0x47ad61-_0xcf6267['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x3b099b=0x5dc){const _0x496833=a116_0x188e;try{const _0x156c3a=NPM_REGISTRY_BASE_URL+_0x496833(0x189)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+'/dist-tags',_0x1cc14e=await fetch(_0x156c3a,{'signal':AbortSignal['timeout'](_0x3b099b)});if(!_0x1cc14e['ok'])return null;const _0x471388=await _0x1cc14e['json']();if(!_0x471388||typeof _0x471388!=='object')return null;return Object[_0x496833(0x190)](Object[_0x496833(0x18b)](_0x471388)['filter'](([,_0xc89c03])=>typeof _0xc89c03===_0x496833(0x16b)&&_0xc89c03['trim']())[_0x496833(0x186)](([_0x520d71,_0x254f8f])=>[_0x520d71,String(_0x254f8f)[_0x496833(0x18a)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x4fbe11){const _0x4ff134=a116_0x188e;return _0x4ff134(0x173)+LOVRABET_NPM_PACKAGE_NAME+_0x4ff134(0x16f)+_0x4fbe11;}export async function resolveLatestUpdateNotice(){const _0x1c743e=a116_0x188e;if(isUpdateNoticeDisabled())return null;try{const _0x81a2=Date['now'](),_0x2af76b=getCliVersion(),_0x310f58=await readUpdateNoticeCache();let _0x1d4cf7=isFreshCheck(_0x310f58,_0x81a2)?_0x310f58['latest']?.[_0x1c743e(0x18a)]():undefined;if(!_0x1d4cf7&&!isFreshCheck(_0x310f58,_0x81a2)){const _0x4c94ef=await fetchNpmDistTags();_0x1d4cf7=_0x4c94ef?.[_0x1c743e(0x176)]?.[_0x1c743e(0x18a)](),await writeUpdateNoticeCache({..._0x310f58,'checkedAt':_0x81a2,'latest':_0x1d4cf7,'failed':!_0x1d4cf7});}if(!_0x1d4cf7||compareSemver(_0x2af76b,_0x1d4cf7)>=0x0)return null;if(isRecentlyNotified(_0x310f58,_0x1d4cf7,_0x81a2))return null;const _0xaf2ecd=CLI_BIN_NAME+_0x1c743e(0x187);return await writeUpdateNoticeCache({..._0x310f58,'checkedAt':isFreshCheck(_0x310f58,_0x81a2)?_0x310f58['checkedAt']:_0x81a2,'latest':_0x1d4cf7,'failed':![],'lastNotifiedVersion':_0x1d4cf7,'lastNotifiedAt':_0x81a2}),{'command':_0xaf2ecd,'current':_0x2af76b,'latest':_0x1d4cf7,'url':buildNpmVersionUrl(_0x1d4cf7),'message':CLI_BIN_NAME+'\x20'+_0x1d4cf7+_0x1c743e(0x16d)+_0x2af76b+_0x1c743e(0x17e)+_0xaf2ecd};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0xbce80b,_0x53ba1b){const _0x1d9024=a117_0x3307,_0x1b08f1=_0xbce80b();while(!![]){try{const _0x4d9279=-parseInt(_0x1d9024(0x97))/0x1+-parseInt(_0x1d9024(0x99))/0x2*(parseInt(_0x1d9024(0x9a))/0x3)+parseInt(_0x1d9024(0x9e))/0x4*(-parseInt(_0x1d9024(0x98))/0x5)+-parseInt(_0x1d9024(0x9c))/0x6+parseInt(_0x1d9024(0x9d))/0x7*(parseInt(_0x1d9024(0x9b))/0x8)+-parseInt(_0x1d9024(0x95))/0x9+parseInt(_0x1d9024(0x96))/0xa;if(_0x4d9279===_0x53ba1b)break;else _0x1b08f1['push'](_0x1b08f1['shift']());}catch(_0x3a7a3){_0x1b08f1['push'](_0x1b08f1['shift']());}}}(a117_0x107d,0xf1391));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a117_0x3307(_0x5ec4d4,_0xafc90){_0x5ec4d4=_0x5ec4d4-0x93;const _0x107dad=a117_0x107d();let _0x3307d8=_0x107dad[_0x5ec4d4];return _0x3307d8;}export function getCliGitCommit(){const _0x28e0a3=a117_0x3307,_0x16e0e1=String(GIT_COMMIT);return _0x16e0e1&&_0x16e0e1!==_0x28e0a3(0x94)?_0x16e0e1:'';}function a117_0x107d(){const _0x1493eb=['21fqGjlf','1361944wCojcM','2548320orQkdB','35iPqnyS','1250336hJmrif','slice','unknown','10999476ZGsqrd','54201570nnRazP','1652822cwHOgM','5Qbftqg','477438eVTcPV'];a117_0x107d=function(){return _0x1493eb;};return a117_0x107d();}export function getCliVersionDisplay(){const _0x290e13=a117_0x3307,_0x3ed185=getCliGitCommit(),_0x5cf4ea=BUILD_TIME[_0x290e13(0x93)](0x0,0xa);if(!_0x3ed185||!_0x5cf4ea)return VERSION;return VERSION+'\x20('+_0x3ed185+',\x20'+_0x5cf4ea+')';}
1
+ (function(_0x736e9,_0x35e6b4){const _0x35b80b=a117_0x208b,_0x2ba9fe=_0x736e9();while(!![]){try{const _0xb2a5f2=parseInt(_0x35b80b(0x1bf))/0x1*(parseInt(_0x35b80b(0x1c1))/0x2)+parseInt(_0x35b80b(0x1c0))/0x3*(-parseInt(_0x35b80b(0x1bb))/0x4)+parseInt(_0x35b80b(0x1ba))/0x5+-parseInt(_0x35b80b(0x1c3))/0x6*(parseInt(_0x35b80b(0x1be))/0x7)+parseInt(_0x35b80b(0x1c5))/0x8*(parseInt(_0x35b80b(0x1c2))/0x9)+-parseInt(_0x35b80b(0x1bd))/0xa*(parseInt(_0x35b80b(0x1bc))/0xb)+parseInt(_0x35b80b(0x1b9))/0xc;if(_0xb2a5f2===_0x35e6b4)break;else _0x2ba9fe['push'](_0x2ba9fe['shift']());}catch(_0x50b624){_0x2ba9fe['push'](_0x2ba9fe['shift']());}}}(a117_0x16db,0x48e92));function a117_0x208b(_0x4fc2f1,_0x5b32ea){_0x4fc2f1=_0x4fc2f1-0x1b9;const _0x16db69=a117_0x16db();let _0x208bd5=_0x16db69[_0x4fc2f1];return _0x208bd5;}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x395756=String(GIT_COMMIT);return _0x395756&&_0x395756!=='unknown'?_0x395756:'';}export function getCliVersionDisplay(){const _0x3b26c9=a117_0x208b,_0x54adfe=getCliGitCommit(),_0x3e3186=BUILD_TIME[_0x3b26c9(0x1c4)](0x0,0xa);if(!_0x54adfe||!_0x3e3186)return VERSION;return VERSION+'\x20('+_0x54adfe+',\x20'+_0x3e3186+')';}function a117_0x16db(){const _0xb25f9d=['5085192wVdOYm','1674325igZAXr','1361500aalGAG','11eRzMPS','4629360UkTsjG','7cckEij','22216lIpKKs','3ifboQz','28nvYLoX','9LRIlHd','2506542FQJdrM','slice','3600440IdDLLR'];a117_0x16db=function(){return _0xb25f9d;};return a117_0x16db();}
@@ -1 +1 @@
1
- function a118_0xe53e(){var _0x328ac2=['2962842mDnoxT','4193478UwhkWe','177640okTSlD','175ckzwAD','stderr','88uRFzwY','12GUGUlc','76215PjNQEm','1945755rhwqaj','67903KyqxtK','2690190DLmsMD','write'];a118_0xe53e=function(){return _0x328ac2;};return a118_0xe53e();}function a118_0x20a8(_0x44ca94,_0x4f93c3){_0x44ca94=_0x44ca94-0x7a;var _0xe53e7e=a118_0xe53e();var _0x20a8af=_0xe53e7e[_0x44ca94];return _0x20a8af;}(function(_0x2a8e26,_0x4f3274){var _0x278e68=a118_0x20a8,_0x526cf8=_0x2a8e26();while(!![]){try{var _0x457b85=-parseInt(_0x278e68(0x80))/0x1*(parseInt(_0x278e68(0x7d))/0x2)+-parseInt(_0x278e68(0x7e))/0x3*(-parseInt(_0x278e68(0x7c))/0x4)+parseInt(_0x278e68(0x7f))/0x5+parseInt(_0x278e68(0x83))/0x6+-parseInt(_0x278e68(0x7a))/0x7*(parseInt(_0x278e68(0x85))/0x8)+-parseInt(_0x278e68(0x84))/0x9+parseInt(_0x278e68(0x81))/0xa;if(_0x457b85===_0x4f3274)break;else _0x526cf8['push'](_0x526cf8['shift']());}catch(_0x2db62b){_0x526cf8['push'](_0x526cf8['shift']());}}}(a118_0xe53e,0x44f22));export function writeCliSideChannelLine(_0x53e84f){var _0x5ad7fd=a118_0x20a8;process[_0x5ad7fd(0x7b)][_0x5ad7fd(0x82)](_0x53e84f+'\x0a');}
1
+ (function(_0x3cf712,_0x384589){var _0x208476=a118_0x2503,_0x350f64=_0x3cf712();while(!![]){try{var _0x34417e=parseInt(_0x208476(0x190))/0x1+-parseInt(_0x208476(0x194))/0x2+-parseInt(_0x208476(0x18d))/0x3+-parseInt(_0x208476(0x18f))/0x4+parseInt(_0x208476(0x18e))/0x5*(parseInt(_0x208476(0x191))/0x6)+parseInt(_0x208476(0x193))/0x7+parseInt(_0x208476(0x18b))/0x8*(parseInt(_0x208476(0x192))/0x9);if(_0x34417e===_0x384589)break;else _0x350f64['push'](_0x350f64['shift']());}catch(_0x1dfbaa){_0x350f64['push'](_0x350f64['shift']());}}}(a118_0x1a6b,0x4d506));export function writeCliSideChannelLine(_0x173c63){var _0x12f121=a118_0x2503;process[_0x12f121(0x18a)][_0x12f121(0x18c)](_0x173c63+'\x0a');}function a118_0x2503(_0x34c319,_0x1e08bd){_0x34c319=_0x34c319-0x18a;var _0x1a6b66=a118_0x1a6b();var _0x2503e0=_0x1a6b66[_0x34c319];return _0x2503e0;}function a118_0x1a6b(){var _0x52327b=['619158mOhRbq','5YzDiRH','1875616xiZaEG','412542fzCSgG','2091606XhrHfH','27olUIGl','1013873pEFjHz','713262zhskOo','stderr','1180312tUMjPv','write'];a118_0x1a6b=function(){return _0x52327b;};return a118_0x1a6b();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.1.12-beta.1",
3
+ "version": "2.1.12",
4
4
  "description": "Runtime CLI for Lovrabet apps, datasets, SQL, BFF, skills, and AI agent workflows.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [