@lovrabet/lovrabet-cli 2.1.22-beta.1 → 2.1.22-beta.2

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 (136) hide show
  1. package/README.md +1 -1
  2. package/lib/cli.js +1 -1
  3. package/lib/commands/api-doc/index.js +1 -1
  4. package/lib/commands/app/cache.js +1 -1
  5. package/lib/commands/app/definitions.js +1 -1
  6. package/lib/commands/app/eligibility.js +1 -1
  7. package/lib/commands/app/mock-loader.js +1 -1
  8. package/lib/commands/app/remote-source.js +1 -1
  9. package/lib/commands/app/shared.js +1 -1
  10. package/lib/commands/app-config/get.js +1 -1
  11. package/lib/commands/app-config/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/shared.js +1 -1
  26. package/lib/commands/data/index.js +1 -1
  27. package/lib/commands/dataset/detail.js +1 -1
  28. package/lib/commands/dataset/index.js +1 -1
  29. package/lib/commands/dataset/list.js +1 -1
  30. package/lib/commands/dataset/sdk-doc.js +1 -1
  31. package/lib/commands/doctor.js +1 -1
  32. package/lib/commands/file/index.js +1 -1
  33. package/lib/commands/init.js +1 -1
  34. package/lib/commands/kb/index.js +1 -1
  35. package/lib/commands/logs/index.js +1 -1
  36. package/lib/commands/ocr/index.js +1 -1
  37. package/lib/commands/personal-bff/index.js +1 -1
  38. package/lib/commands/registry.js +1 -1
  39. package/lib/commands/schedule/index.js +1 -1
  40. package/lib/commands/schema.js +1 -1
  41. package/lib/commands/service/dynamic.js +1 -1
  42. package/lib/commands/service/function-name-adapter.js +1 -1
  43. package/lib/commands/service/index.js +1 -1
  44. package/lib/commands/service/registry.js +1 -1
  45. package/lib/commands/skill/commands/create.js +1 -1
  46. package/lib/commands/skill/commands/diagram.d.ts +4 -0
  47. package/lib/commands/skill/commands/diagram.js +1 -0
  48. package/lib/commands/skill/commands/install.js +1 -1
  49. package/lib/commands/skill/commands/list.js +1 -1
  50. package/lib/commands/skill/commands/push.js +1 -1
  51. package/lib/commands/skill/commands/validate.js +1 -1
  52. package/lib/commands/skill/diagram.d.ts +5 -0
  53. package/lib/commands/skill/diagram.js +1 -0
  54. package/lib/commands/skill/flags.d.ts +6 -0
  55. package/lib/commands/skill/flags.js +1 -1
  56. package/lib/commands/skill/index.js +1 -1
  57. package/lib/commands/skill/manifest-helpers.js +1 -1
  58. package/lib/commands/skill/push-execute.d.ts +4 -0
  59. package/lib/commands/skill/push-execute.js +1 -1
  60. package/lib/commands/skill/push-flow-helpers.js +1 -1
  61. package/lib/commands/skill/push-retarget.js +1 -1
  62. package/lib/commands/skill/scopes.js +1 -1
  63. package/lib/commands/skill/summary.js +1 -1
  64. package/lib/commands/skill/templates.js +1 -1
  65. package/lib/commands/skill/validate.js +1 -1
  66. package/lib/commands/sql/detail.js +1 -1
  67. package/lib/commands/sql/exec.js +1 -1
  68. package/lib/commands/sql/index.js +1 -1
  69. package/lib/commands/update.js +1 -1
  70. package/lib/commands/workspace/index.js +1 -1
  71. package/lib/config/schema.js +1 -1
  72. package/lib/constant/app.js +1 -1
  73. package/lib/constant/auth-mode.js +1 -1
  74. package/lib/constant/cli.js +1 -1
  75. package/lib/constant/defaults.js +1 -1
  76. package/lib/constant/distribution.js +1 -1
  77. package/lib/constant/domain.js +1 -1
  78. package/lib/constant/env.js +1 -1
  79. package/lib/constant/output.js +1 -1
  80. package/lib/constant/product.js +1 -1
  81. package/lib/constant/risk.js +1 -1
  82. package/lib/constant/url.js +1 -1
  83. package/lib/context.js +1 -1
  84. package/lib/core/api-client.d.ts +52 -0
  85. package/lib/core/api-client.js +1 -1
  86. package/lib/core/db-resolver.js +1 -1
  87. package/lib/core/sdk-client.js +1 -1
  88. package/lib/errors.js +1 -1
  89. package/lib/framework/build-all-flags.js +1 -1
  90. package/lib/framework/dryrun.js +1 -1
  91. package/lib/framework/flags.js +1 -1
  92. package/lib/framework/help.js +1 -1
  93. package/lib/framework/index.js +1 -1
  94. package/lib/framework/output.js +1 -1
  95. package/lib/framework/preparse.js +1 -1
  96. package/lib/framework/rate-limit.js +1 -1
  97. package/lib/framework/raw-flags.js +1 -1
  98. package/lib/framework/response.js +1 -1
  99. package/lib/framework/runner-confirmation.js +1 -1
  100. package/lib/framework/runner-error.js +1 -1
  101. package/lib/framework/runner.js +1 -1
  102. package/lib/framework/schema-export.js +1 -1
  103. package/lib/framework/service-order.js +1 -1
  104. package/lib/framework/types.js +1 -1
  105. package/lib/generated/build-info.d.ts +4 -4
  106. package/lib/generated/build-info.js +1 -1
  107. package/lib/help.js +1 -1
  108. package/lib/runtime/event.js +1 -1
  109. package/lib/runtime/index.js +1 -1
  110. package/lib/runtime/queue.js +1 -1
  111. package/lib/runtime/resolve.js +1 -1
  112. package/lib/skills/npx-skills-add.js +1 -1
  113. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  114. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  115. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  116. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  117. package/lib/skills/runtime-skill-sync/links.js +1 -1
  118. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  119. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  120. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  121. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  122. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  123. package/lib/skills/runtime-skill-sync/push.js +1 -1
  124. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  125. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  126. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  127. package/lib/skills/runtime-skill-sync.js +1 -1
  128. package/lib/utils/apply-jq-filter.js +1 -1
  129. package/lib/utils/logger.js +1 -1
  130. package/lib/utils/lossless-json.js +1 -1
  131. package/lib/utils/params.js +1 -1
  132. package/lib/utils/platform.js +1 -1
  133. package/lib/utils/update-notice.js +1 -1
  134. package/lib/utils/version.js +1 -1
  135. package/lib/utils/write-cli-side-channel.js +1 -1
  136. package/package.json +3 -1
@@ -1 +1 @@
1
- function a115_0x1829(_0x3051ea,_0x2df654){_0x3051ea=_0x3051ea-0x8d;const _0x4b589d=a115_0x4b58();let _0x18291c=_0x4b589d[_0x3051ea];return _0x18291c;}(function(_0x4f2973,_0x4ac001){const _0x166a66=a115_0x1829,_0x4ba9ce=_0x4f2973();while(!![]){try{const _0x468502=-parseInt(_0x166a66(0x90))/0x1+-parseInt(_0x166a66(0x8d))/0x2*(parseInt(_0x166a66(0x96))/0x3)+-parseInt(_0x166a66(0x9c))/0x4*(parseInt(_0x166a66(0x9b))/0x5)+-parseInt(_0x166a66(0x95))/0x6+-parseInt(_0x166a66(0x8f))/0x7+parseInt(_0x166a66(0x91))/0x8+parseInt(_0x166a66(0x99))/0x9;if(_0x468502===_0x4ac001)break;else _0x4ba9ce['push'](_0x4ba9ce['shift']());}catch(_0x498b2f){_0x4ba9ce['push'](_0x4ba9ce['shift']());}}}(a115_0x4b58,0xf34ba));import{CliErrors}from'../../errors.js';export function normalizeRuntimeSkillScopes(_0x2577d9){const _0x286a92=a115_0x1829,_0x4c1bbb=_0x2577d9&&_0x2577d9[_0x286a92(0x8e)]>0x0?_0x2577d9:['personal',_0x286a92(0x9a),_0x286a92(0x92)],_0x52e6a2=[];for(const _0x79ef95 of _0x4c1bbb){if(!isRuntimeSkillScope(_0x79ef95))throw CliErrors[_0x286a92(0x94)]('Unsupported\x20runtime\x20Skill\x20scope:\x20'+_0x79ef95);!_0x52e6a2[_0x286a92(0x98)](_0x79ef95)&&_0x52e6a2[_0x286a92(0x93)](_0x79ef95);}return _0x52e6a2;}export function isRuntimeSkillScope(_0x153272){const _0x4003cd=a115_0x1829;return _0x153272===_0x4003cd(0x97)||_0x153272==='company'||_0x153272===_0x4003cd(0x92);}function a115_0x4b58(){const _0x4e4e3f=['12eppObc','2LfBoKB','length','4411316XzcNmO','1208738BuJenz','349416vRsGTv','builtin','push','validation','11606772OheJTz','4605207SSeMDl','personal','includes','67457583sXQFJO','company','2056615tnEfwV'];a115_0x4b58=function(){return _0x4e4e3f;};return a115_0x4b58();}
1
+ function a117_0x4fc7(){const _0x50bdfd=['5twDzSx','validation','company','includes','18046070ZzewBY','910806NrejzX','4733484nqTPPj','personal','builtin','push','2634264CIFOaj','Unsupported\x20runtime\x20Skill\x20scope:\x20','2494896nOAANS','4ZheqSC','7CaJiws','length','707944hyYvUK','987123kCJGuJ'];a117_0x4fc7=function(){return _0x50bdfd;};return a117_0x4fc7();}(function(_0x220663,_0x6d566b){const _0xb7d9de=a117_0x4b30,_0xc1e07e=_0x220663();while(!![]){try{const _0x4ecc1e=-parseInt(_0xb7d9de(0x100))/0x1+-parseInt(_0xb7d9de(0x108))/0x2*(parseInt(_0xb7d9de(0xfa))/0x3)+parseInt(_0xb7d9de(0xf9))/0x4*(parseInt(_0xb7d9de(0xfb))/0x5)+parseInt(_0xb7d9de(0x101))/0x6+-parseInt(_0xb7d9de(0xf7))/0x7*(parseInt(_0xb7d9de(0x107))/0x8)+-parseInt(_0xb7d9de(0x105))/0x9+parseInt(_0xb7d9de(0xff))/0xa;if(_0x4ecc1e===_0x6d566b)break;else _0xc1e07e['push'](_0xc1e07e['shift']());}catch(_0x4f479b){_0xc1e07e['push'](_0xc1e07e['shift']());}}}(a117_0x4fc7,0x91c45));import{CliErrors}from'../../errors.js';function a117_0x4b30(_0x34e0c0,_0x4af482){_0x34e0c0=_0x34e0c0-0xf7;const _0x4fc7b0=a117_0x4fc7();let _0x4b30c0=_0x4fc7b0[_0x34e0c0];return _0x4b30c0;}export function normalizeRuntimeSkillScopes(_0x3e152f){const _0x36e501=a117_0x4b30,_0x17238b=_0x3e152f&&_0x3e152f[_0x36e501(0xf8)]>0x0?_0x3e152f:[_0x36e501(0x102),_0x36e501(0xfd),_0x36e501(0x103)],_0x55e322=[];for(const _0x45ae2c of _0x17238b){if(!isRuntimeSkillScope(_0x45ae2c))throw CliErrors[_0x36e501(0xfc)](_0x36e501(0x106)+_0x45ae2c);!_0x55e322[_0x36e501(0xfe)](_0x45ae2c)&&_0x55e322[_0x36e501(0x104)](_0x45ae2c);}return _0x55e322;}export function isRuntimeSkillScope(_0x5627a5){const _0x40974c=a117_0x4b30;return _0x5627a5===_0x40974c(0x102)||_0x5627a5===_0x40974c(0xfd)||_0x5627a5==='builtin';}
@@ -1 +1 @@
1
- const a117_0x16ad04=a117_0xd228;(function(_0x17be80,_0x767816){const _0x17bf9a=a117_0xd228,_0x4087fd=_0x17be80();while(!![]){try{const _0x56e27b=-parseInt(_0x17bf9a(0xa7))/0x1*(parseInt(_0x17bf9a(0xa3))/0x2)+parseInt(_0x17bf9a(0xac))/0x3*(parseInt(_0x17bf9a(0xb3))/0x4)+parseInt(_0x17bf9a(0xb4))/0x5*(parseInt(_0x17bf9a(0xa1))/0x6)+-parseInt(_0x17bf9a(0xaf))/0x7+parseInt(_0x17bf9a(0xa0))/0x8+parseInt(_0x17bf9a(0xb1))/0x9*(parseInt(_0x17bf9a(0xa4))/0xa)+-parseInt(_0x17bf9a(0xb2))/0xb*(parseInt(_0x17bf9a(0x9e))/0xc);if(_0x56e27b===_0x767816)break;else _0x4087fd['push'](_0x4087fd['shift']());}catch(_0x3e5b33){_0x4087fd['push'](_0x4087fd['shift']());}}}(a117_0x2683,0x3d777));import{unzipSync,zipSync}from'fflate';import{CliErrors}from'../../errors.js';function a117_0xd228(_0x2e3725,_0x3c772e){_0x2e3725=_0x2e3725-0x9b;const _0x26835f=a117_0x2683();let _0xd22855=_0x26835f[_0x2e3725];return _0xd22855;}import{compareSkillFiles,fileContent,normalizeLocalFiles,normalizeSkillRelativePath}from'./local-files.js';const ZIP_MTIME=new Date(a117_0x16ad04(0x9f));export function createDeterministicZipPackage(_0x224a2b){const _0x476a13=a117_0x16ad04,_0x574992={};for(const _0x5935fb of normalizeLocalFiles(_0x224a2b)){_0x574992[_0x5935fb[_0x476a13(0xa8)]]=fileContent(_0x5935fb);}return Buffer[_0x476a13(0xad)](zipSync(_0x574992,{'level':0x0,'mtime':ZIP_MTIME}));}export function parseZipPackage(_0x570498){const _0x31dde2=a117_0x16ad04;if(_0x570498[_0x31dde2(0xaa)]<0x16)throw CliErrors[_0x31dde2(0x9c)](_0x31dde2(0x9b));let _0x2d3d80;try{_0x2d3d80=unzipSync(_0x570498,{'filter'(_0x29d829){const _0xe9e8a4=_0x31dde2,_0x32be91=normalizeSkillRelativePath(_0x29d829[_0xe9e8a4(0xa2)]);if(_0x32be91['endsWith']('/'))throw CliErrors[_0xe9e8a4(0x9c)](_0xe9e8a4(0xa5)+_0x32be91);return!![];}});}catch(_0xd24bcd){if(isRuntimeSkillValidationError(_0xd24bcd))throw _0xd24bcd;throw CliErrors[_0x31dde2(0x9c)](_0x31dde2(0x9b));}return Object[_0x31dde2(0xb0)](_0x2d3d80)[_0x31dde2(0x9d)](([_0xf6f72,_0x3684bc])=>({'path':normalizeSkillRelativePath(_0xf6f72),'bytes':Buffer['from'](_0x3684bc)}))[_0x31dde2(0xa6)](compareSkillFiles);}function isRuntimeSkillValidationError(_0x1b0ee0){const _0x4d02ad=a117_0x16ad04;return typeof _0x1b0ee0===_0x4d02ad(0xab)&&_0x1b0ee0!==null&&'code'in _0x1b0ee0&&_0x1b0ee0[_0x4d02ad(0xae)]===_0x4d02ad(0xa9);}function a117_0x2683(){const _0x16c205=['validation','map','29004FqlmhC','1980-01-01T00:00:00.000Z','2765928cUiRQS','62508CUqpOD','name','46378SOXpyE','40ynrSlR','Runtime\x20Skill\x20package\x20contains\x20directory\x20entry:\x20','sort','5MKMkEE','path','validation_error','length','object','903MNYHHw','from','code','1860040ikOLsN','entries','160659QxAJmp','1287dZcxFM','3448buVkkU','115xofSfg','Runtime\x20Skill\x20package\x20is\x20not\x20a\x20valid\x20zip\x20file.'];a117_0x2683=function(){return _0x16c205;};return a117_0x2683();}
1
+ const a119_0x373b2d=a119_0x6768;(function(_0x52a75c,_0x5693d7){const _0x4098bc=a119_0x6768,_0xf72922=_0x52a75c();while(!![]){try{const _0x5b99c1=-parseInt(_0x4098bc(0xab))/0x1*(-parseInt(_0x4098bc(0xa8))/0x2)+parseInt(_0x4098bc(0xa1))/0x3+parseInt(_0x4098bc(0x9b))/0x4*(parseInt(_0x4098bc(0xa2))/0x5)+parseInt(_0x4098bc(0x9d))/0x6*(parseInt(_0x4098bc(0x9f))/0x7)+-parseInt(_0x4098bc(0x9a))/0x8*(-parseInt(_0x4098bc(0xa3))/0x9)+-parseInt(_0x4098bc(0xaa))/0xa*(parseInt(_0x4098bc(0x9e))/0xb)+-parseInt(_0x4098bc(0x9c))/0xc*(parseInt(_0x4098bc(0xa6))/0xd);if(_0x5b99c1===_0x5693d7)break;else _0xf72922['push'](_0xf72922['shift']());}catch(_0x2ed7e0){_0xf72922['push'](_0xf72922['shift']());}}}(a119_0x26bf,0xa326c));import{unzipSync,zipSync}from'fflate';function a119_0x6768(_0x4b63bd,_0x144e4e){_0x4b63bd=_0x4b63bd-0x99;const _0x26bf4d=a119_0x26bf();let _0x67685d=_0x26bf4d[_0x4b63bd];return _0x67685d;}import{CliErrors}from'../../errors.js';function a119_0x26bf(){const _0x1846df=['from','validation','code','path','validation_error','endsWith','object','8LxhsPW','692088LWShpg','12780Vusrpr','234AIAsSw','46574YXfQQK','147329LWamiA','map','1620198fflgcm','15vVCsLN','786537KMFVaw','Runtime\x20Skill\x20package\x20contains\x20directory\x20entry:\x20','1980-01-01T00:00:00.000Z','10114UzdPov','Runtime\x20Skill\x20package\x20is\x20not\x20a\x20valid\x20zip\x20file.','363578NGhhLo','name','1970HFHstH','2oMqGTx'];a119_0x26bf=function(){return _0x1846df;};return a119_0x26bf();}import{compareSkillFiles,fileContent,normalizeLocalFiles,normalizeSkillRelativePath}from'./local-files.js';const ZIP_MTIME=new Date(a119_0x373b2d(0xa5));export function createDeterministicZipPackage(_0x31a608){const _0x10b003=a119_0x373b2d,_0x51f91e={};for(const _0x180a08 of normalizeLocalFiles(_0x31a608)){_0x51f91e[_0x180a08[_0x10b003(0xaf)]]=fileContent(_0x180a08);}return Buffer['from'](zipSync(_0x51f91e,{'level':0x0,'mtime':ZIP_MTIME}));}export function parseZipPackage(_0x300d99){const _0x5b2987=a119_0x373b2d;if(_0x300d99['length']<0x16)throw CliErrors[_0x5b2987(0xad)](_0x5b2987(0xa7));let _0x174274;try{_0x174274=unzipSync(_0x300d99,{'filter'(_0x56133e){const _0x3b2c4a=_0x5b2987,_0x36e307=normalizeSkillRelativePath(_0x56133e[_0x3b2c4a(0xa9)]);if(_0x36e307[_0x3b2c4a(0xb1)]('/'))throw CliErrors[_0x3b2c4a(0xad)](_0x3b2c4a(0xa4)+_0x36e307);return!![];}});}catch(_0x424948){if(isRuntimeSkillValidationError(_0x424948))throw _0x424948;throw CliErrors['validation']('Runtime\x20Skill\x20package\x20is\x20not\x20a\x20valid\x20zip\x20file.');}return Object['entries'](_0x174274)[_0x5b2987(0xa0)](([_0x2a19f4,_0x5e330e])=>({'path':normalizeSkillRelativePath(_0x2a19f4),'bytes':Buffer[_0x5b2987(0xac)](_0x5e330e)}))['sort'](compareSkillFiles);}function isRuntimeSkillValidationError(_0x34ac98){const _0x5631c1=a119_0x373b2d;return typeof _0x34ac98===_0x5631c1(0x99)&&_0x34ac98!==null&&_0x5631c1(0xae)in _0x34ac98&&_0x34ac98[_0x5631c1(0xae)]===_0x5631c1(0xb0);}
@@ -1 +1 @@
1
- (function(_0x3fa654,_0x545734){const _0x575f19=a118_0x3556,_0x463b0d=_0x3fa654();while(!![]){try{const _0x1b15e7=-parseInt(_0x575f19(0xd2))/0x1+parseInt(_0x575f19(0xd0))/0x2+parseInt(_0x575f19(0xcc))/0x3+parseInt(_0x575f19(0xc9))/0x4*(parseInt(_0x575f19(0xf2))/0x5)+parseInt(_0x575f19(0xf5))/0x6+parseInt(_0x575f19(0xd9))/0x7+parseInt(_0x575f19(0xe0))/0x8*(parseInt(_0x575f19(0xd5))/0x9);if(_0x1b15e7===_0x545734)break;else _0x463b0d['push'](_0x463b0d['shift']());}catch(_0x18ec95){_0x463b0d['push'](_0x463b0d['shift']());}}}(a118_0x2456,0x978d8));import{CliErrors}from'../../errors.js';function a118_0x3556(_0x11fa4f,_0x39e34d){_0x11fa4f=_0x11fa4f-0xc6;const _0x2456f4=a118_0x2456();let _0x3556df=_0x2456f4[_0x11fa4f];return _0x3556df;}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(_0x43097d){const _0x5180e8=a118_0x3556,_0x5b22ac=normalizeLocalFiles(_0x43097d);if(!_0x5b22ac[_0x5180e8(0xde)](_0x190b34=>_0x190b34['path']===SKILL_FILE))throw CliErrors[_0x5180e8(0xc6)](_0x5180e8(0xec)+SKILL_FILE+_0x5180e8(0xe3));const _0x1f2147=localFilesToManifestFiles(_0x5b22ac),_0x1288dc=createDeterministicZipPackage(_0x5b22ac);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x1f2147),'zipSha256':bufferSha256(_0x1288dc),'zipSize':_0x1288dc[_0x5180e8(0xd3)],'files':_0x1f2147},'packageBytes':_0x1288dc,'packageBase64':_0x1288dc[_0x5180e8(0xcf)]('base64')};}export function verifyRuntimeSkillPackage(_0x3141e8,_0x4a66cc){const _0x401bea=a118_0x3556,_0xdce9e8=normalizePackageManifest(_0x3141e8,{'requireOssPath':![]});if(!_0xdce9e8)throw CliErrors[_0x401bea(0xc6)](_0x401bea(0xe1));return extractAndVerifyPackage(_0xdce9e8,_0x4a66cc);}export function verifyRuntimeSkillBundle(_0x34a128,_0x596ab2){const _0x3060e0=a118_0x3556,_0x40c270=normalizePackageManifest(_0x34a128,{'requireOssPath':![]});if(!_0x40c270)throw CliErrors[_0x3060e0(0xc6)]('Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.');return extractAndVerifyPackageFiles(_0x40c270,_0x596ab2);}export function tryNormalizePackageManifest(_0x16944c){return normalizePackageManifest(_0x16944c,{'requireOssPath':![]});}export function requirePackageBytes(_0x493d9a,_0x32184f){const _0x187ab3=a118_0x3556;if(!_0x32184f||_0x32184f[_0x187ab3(0xd3)]===0x0)throw CliErrors['validation'](_0x187ab3(0xe8)+_0x493d9a);return _0x32184f;}export function extractDownloadedPackage(_0x3ea92b){const _0x439156=a118_0x3556,_0x3b59be=parseZipPackage(_0x3ea92b)[_0x439156(0xdf)](_0x56f3cc=>({'path':_0x56f3cc[_0x439156(0xc8)],'bytes':_0x56f3cc[_0x439156(0xf1)]}));if(!_0x3b59be[_0x439156(0xde)](_0x564ae5=>_0x564ae5[_0x439156(0xc8)]===SKILL_FILE))throw CliErrors[_0x439156(0xc6)](_0x439156(0xcd)+SKILL_FILE+'.');return normalizeLocalFiles(_0x3b59be);}export function localFilesToManifestFiles(_0x563575){const _0x18bfac=a118_0x3556;return normalizeLocalFiles(_0x563575)['map'](_0x29a069=>({'path':_0x29a069[_0x18bfac(0xc8)],'sha256':fileHash(_0x29a069),'size':fileContent(_0x29a069)[_0x18bfac(0xd3)]}));}function normalizePackageManifest(_0x537df7,_0x5f432e){const _0x381b1b=a118_0x3556;if(!_0x537df7||typeof _0x537df7!==_0x381b1b(0xf3)||Array[_0x381b1b(0xc7)](_0x537df7))return undefined;const _0x58d49c=_0x537df7,_0x3e0b63=typeof _0x58d49c['ossPath']===_0x381b1b(0xf0)?_0x58d49c[_0x381b1b(0xd1)][_0x381b1b(0xe5)]():undefined;if(_0x5f432e[_0x381b1b(0xeb)]&&!_0x3e0b63)return undefined;if(!Array[_0x381b1b(0xc7)](_0x58d49c[_0x381b1b(0xcb)])||_0x58d49c[_0x381b1b(0xcb)]['length']===0x0)return undefined;if(!isSha256Hex(_0x58d49c['treeSha256']))throw CliErrors[_0x381b1b(0xc6)](_0x381b1b(0xca));if(!isSha256Hex(_0x58d49c[_0x381b1b(0xea)]))throw CliErrors['validation'](_0x381b1b(0xd8));if(!Number['isSafeInteger'](_0x58d49c['zipSize'])||_0x58d49c['zipSize']<0x0)throw CliErrors[_0x381b1b(0xc6)](_0x381b1b(0xdc));const _0x1bc7d1=normalizeManifestFiles(_0x58d49c[_0x381b1b(0xcb)]);if(!_0x1bc7d1[_0x381b1b(0xde)](_0x1003bd=>_0x1003bd[_0x381b1b(0xc8)]===SKILL_FILE))throw CliErrors[_0x381b1b(0xc6)](_0x381b1b(0xe4)+SKILL_FILE+'.');const _0x13ca21=fileTreeHash(_0x1bc7d1);if(_0x13ca21!==_0x58d49c['treeSha256'][_0x381b1b(0xe2)]())throw CliErrors['validation'](_0x381b1b(0xe6));return{'schemaVersion':Number['isSafeInteger'](_0x58d49c[_0x381b1b(0xd7)])?_0x58d49c[_0x381b1b(0xd7)]:0x2,'ossPath':_0x3e0b63,'treeSha256':_0x13ca21,'zipSha256':_0x58d49c['zipSha256']['toLowerCase'](),'zipSize':_0x58d49c[_0x381b1b(0xd4)],'files':_0x1bc7d1};}function extractAndVerifyPackage(_0x3694fd,_0x41c077){const _0x1225b5=a118_0x3556,_0x3498e3=normalizePackageManifest(_0x3694fd,{'requireOssPath':![]});if(!_0x3498e3)throw CliErrors['validation'](_0x1225b5(0xe1));if(_0x41c077['length']!==_0x3498e3[_0x1225b5(0xd4)])throw CliErrors[_0x1225b5(0xc6)](_0x1225b5(0xce));const _0x2c28af=bufferSha256(_0x41c077);if(_0x2c28af!==_0x3498e3[_0x1225b5(0xea)])throw CliErrors[_0x1225b5(0xc6)](_0x1225b5(0xd6));return extractAndVerifyPackageFiles(_0x3498e3,_0x41c077);}function extractAndVerifyPackageFiles(_0x41caa2,_0x4212db){const _0x1d9948=a118_0x3556,_0x18c144=parseZipPackage(_0x4212db);if(_0x18c144[_0x1d9948(0xd3)]!==_0x41caa2[_0x1d9948(0xcb)]['length'])throw CliErrors[_0x1d9948(0xc6)](_0x1d9948(0xdb));const _0x249d98=new Map();for(const _0x268ac2 of _0x18c144){if(_0x249d98[_0x1d9948(0xef)](_0x268ac2[_0x1d9948(0xc8)]))throw CliErrors['validation'](_0x1d9948(0xf4)+_0x268ac2[_0x1d9948(0xc8)]);_0x249d98[_0x1d9948(0xe9)](_0x268ac2[_0x1d9948(0xc8)],_0x268ac2);}const _0x131598=[];for(const _0x442a06 of _0x41caa2[_0x1d9948(0xcb)]){const _0x2c6644=_0x249d98['get'](_0x442a06[_0x1d9948(0xc8)]);if(!_0x2c6644)throw CliErrors[_0x1d9948(0xc6)](_0x1d9948(0xdd)+_0x442a06[_0x1d9948(0xc8)]);if(_0x2c6644[_0x1d9948(0xf1)]['length']!==_0x442a06[_0x1d9948(0xda)])throw CliErrors['validation']('Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20'+_0x442a06['path']);const _0x1dc4a9=bufferSha256(_0x2c6644[_0x1d9948(0xf1)]);if(_0x1dc4a9!==_0x442a06[_0x1d9948(0xed)])throw CliErrors['validation'](_0x1d9948(0xee)+_0x442a06[_0x1d9948(0xc8)]);_0x131598[_0x1d9948(0xe7)]({'path':_0x442a06[_0x1d9948(0xc8)],'bytes':_0x2c6644[_0x1d9948(0xf1)]});}return normalizeLocalFiles(_0x131598);}function a118_0x2456(){const _0x297355=['toLowerCase','\x20in\x20Skill\x20file\x20package.','Runtime\x20Skill\x20manifest\x20is\x20missing\x20','trim','Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.','push','Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20','set','zipSha256','requireOssPath','Missing\x20','sha256','Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20','has','string','bytes','10zPXimf','object','Duplicate\x20Skill\x20package\x20entry:\x20','2419998JUDrUK','validation','isArray','path','4940gLEzBs','Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.','files','959652IaZElz','Runtime\x20Skill\x20package\x20is\x20missing\x20','Runtime\x20Skill\x20package\x20size\x20mismatch.','toString','677838sAaCBE','ossPath','1029052LJtXCb','length','zipSize','964899YWdiyi','Runtime\x20Skill\x20package\x20sha256\x20mismatch.','schemaVersion','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','344057yeiQWU','size','Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20','some','map','40vPzUuA','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.'];a118_0x2456=function(){return _0x297355;};return a118_0x2456();}
1
+ (function(_0x3c9453,_0x1f6fe8){const _0x484f3c=a120_0x4b4a,_0x41477a=_0x3c9453();while(!![]){try{const _0x5d3946=parseInt(_0x484f3c(0x1c2))/0x1+-parseInt(_0x484f3c(0x1d2))/0x2*(parseInt(_0x484f3c(0x1d9))/0x3)+-parseInt(_0x484f3c(0x1cf))/0x4+parseInt(_0x484f3c(0x1d4))/0x5+parseInt(_0x484f3c(0x1e0))/0x6+-parseInt(_0x484f3c(0x1e1))/0x7*(-parseInt(_0x484f3c(0x1c1))/0x8)+parseInt(_0x484f3c(0x1d7))/0x9;if(_0x5d3946===_0x1f6fe8)break;else _0x41477a['push'](_0x41477a['shift']());}catch(_0x391042){_0x41477a['push'](_0x41477a['shift']());}}}(a120_0x1a1c,0x6614d));function a120_0x4b4a(_0x45212f,_0x6700b0){_0x45212f=_0x45212f-0x1bb;const _0x1a1cc2=a120_0x1a1c();let _0x4b4ae1=_0x1a1cc2[_0x45212f];return _0x4b4ae1;}import{CliErrors}from'../../errors.js';import{SKILL_FILE}from'./constants.js';function a120_0x1a1c(){const _0x13d394=['Runtime\x20Skill\x20package\x20is\x20missing\x20','1083rjSmwr','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','path','Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20','some','zipSize','\x20in\x20Skill\x20file\x20package.','1970586jqxbPk','8687dgpDBi','treeSha256','toString','size','Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20','set','validation','bytes','isArray','toLowerCase','push','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','base64','Runtime\x20Skill\x20manifest\x20is\x20missing\x20','Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20','904drDARP','48832eYkrqI','sha256','zipSha256','schemaVersion','has','map','length','Missing\x20','Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20','Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.','object','string','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','3070852HwqqVo','trim','files','3992pgocKD','Duplicate\x20Skill\x20package\x20entry:\x20','242400QvKDnA','requireOssPath','isSafeInteger','12063762ANoXUG'];a120_0x1a1c=function(){return _0x13d394;};return a120_0x1a1c();}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(_0x20a417){const _0x12bcf4=a120_0x4b4a,_0x19ebd0=normalizeLocalFiles(_0x20a417);if(!_0x19ebd0[_0x12bcf4(0x1dd)](_0x447553=>_0x447553[_0x12bcf4(0x1db)]===SKILL_FILE))throw CliErrors[_0x12bcf4(0x1e7)](_0x12bcf4(0x1c9)+SKILL_FILE+_0x12bcf4(0x1df));const _0x2f4443=localFilesToManifestFiles(_0x19ebd0),_0xe5addd=createDeterministicZipPackage(_0x19ebd0);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x2f4443),'zipSha256':bufferSha256(_0xe5addd),'zipSize':_0xe5addd['length'],'files':_0x2f4443},'packageBytes':_0xe5addd,'packageBase64':_0xe5addd[_0x12bcf4(0x1e3)](_0x12bcf4(0x1be))};}export function verifyRuntimeSkillPackage(_0x494a14,_0x442171){const _0x92963=a120_0x4b4a,_0x5e7570=normalizePackageManifest(_0x494a14,{'requireOssPath':![]});if(!_0x5e7570)throw CliErrors[_0x92963(0x1e7)](_0x92963(0x1bd));return extractAndVerifyPackage(_0x5e7570,_0x442171);}export function verifyRuntimeSkillBundle(_0x249fcb,_0x5bb87c){const _0x3efde2=a120_0x4b4a,_0x2cdfa2=normalizePackageManifest(_0x249fcb,{'requireOssPath':![]});if(!_0x2cdfa2)throw CliErrors[_0x3efde2(0x1e7)](_0x3efde2(0x1bd));return extractAndVerifyPackageFiles(_0x2cdfa2,_0x5bb87c);}export function tryNormalizePackageManifest(_0x522f08){return normalizePackageManifest(_0x522f08,{'requireOssPath':![]});}export function requirePackageBytes(_0x379339,_0xcf3812){const _0x806e7c=a120_0x4b4a;if(!_0xcf3812||_0xcf3812[_0x806e7c(0x1c8)]===0x0)throw CliErrors[_0x806e7c(0x1e7)](_0x806e7c(0x1ca)+_0x379339);return _0xcf3812;}export function extractDownloadedPackage(_0x44d811){const _0x5ac2c7=a120_0x4b4a,_0x2092c7=parseZipPackage(_0x44d811)[_0x5ac2c7(0x1c7)](_0x4be7cd=>({'path':_0x4be7cd['path'],'bytes':_0x4be7cd[_0x5ac2c7(0x1e8)]}));if(!_0x2092c7['some'](_0xb6a43e=>_0xb6a43e['path']===SKILL_FILE))throw CliErrors[_0x5ac2c7(0x1e7)](_0x5ac2c7(0x1d8)+SKILL_FILE+'.');return normalizeLocalFiles(_0x2092c7);}export function localFilesToManifestFiles(_0x13e0a0){const _0x271cb1=a120_0x4b4a;return normalizeLocalFiles(_0x13e0a0)[_0x271cb1(0x1c7)](_0x120522=>({'path':_0x120522['path'],'sha256':fileHash(_0x120522),'size':fileContent(_0x120522)[_0x271cb1(0x1c8)]}));}function normalizePackageManifest(_0x419466,_0x3a7490){const _0x55a02a=a120_0x4b4a;if(!_0x419466||typeof _0x419466!==_0x55a02a(0x1cc)||Array[_0x55a02a(0x1e9)](_0x419466))return undefined;const _0x113a3c=_0x419466,_0x1602d9=typeof _0x113a3c['ossPath']===_0x55a02a(0x1cd)?_0x113a3c['ossPath'][_0x55a02a(0x1d0)]():undefined;if(_0x3a7490[_0x55a02a(0x1d5)]&&!_0x1602d9)return undefined;if(!Array[_0x55a02a(0x1e9)](_0x113a3c[_0x55a02a(0x1d1)])||_0x113a3c[_0x55a02a(0x1d1)][_0x55a02a(0x1c8)]===0x0)return undefined;if(!isSha256Hex(_0x113a3c[_0x55a02a(0x1e2)]))throw CliErrors['validation']('Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.');if(!isSha256Hex(_0x113a3c['zipSha256']))throw CliErrors[_0x55a02a(0x1e7)](_0x55a02a(0x1ce));if(!Number[_0x55a02a(0x1d6)](_0x113a3c[_0x55a02a(0x1de)])||_0x113a3c['zipSize']<0x0)throw CliErrors[_0x55a02a(0x1e7)](_0x55a02a(0x1da));const _0x196923=normalizeManifestFiles(_0x113a3c[_0x55a02a(0x1d1)]);if(!_0x196923['some'](_0x2823c3=>_0x2823c3[_0x55a02a(0x1db)]===SKILL_FILE))throw CliErrors[_0x55a02a(0x1e7)](_0x55a02a(0x1bf)+SKILL_FILE+'.');const _0x35f130=fileTreeHash(_0x196923);if(_0x35f130!==_0x113a3c[_0x55a02a(0x1e2)][_0x55a02a(0x1bb)]())throw CliErrors[_0x55a02a(0x1e7)](_0x55a02a(0x1cb));return{'schemaVersion':Number[_0x55a02a(0x1d6)](_0x113a3c[_0x55a02a(0x1c5)])?_0x113a3c['schemaVersion']:0x2,'ossPath':_0x1602d9,'treeSha256':_0x35f130,'zipSha256':_0x113a3c[_0x55a02a(0x1c4)][_0x55a02a(0x1bb)](),'zipSize':_0x113a3c[_0x55a02a(0x1de)],'files':_0x196923};}function extractAndVerifyPackage(_0x4ae217,_0x1a745b){const _0x1cce04=a120_0x4b4a,_0x2c6923=normalizePackageManifest(_0x4ae217,{'requireOssPath':![]});if(!_0x2c6923)throw CliErrors[_0x1cce04(0x1e7)](_0x1cce04(0x1bd));if(_0x1a745b[_0x1cce04(0x1c8)]!==_0x2c6923[_0x1cce04(0x1de)])throw CliErrors[_0x1cce04(0x1e7)]('Runtime\x20Skill\x20package\x20size\x20mismatch.');const _0x2e6631=bufferSha256(_0x1a745b);if(_0x2e6631!==_0x2c6923[_0x1cce04(0x1c4)])throw CliErrors['validation']('Runtime\x20Skill\x20package\x20sha256\x20mismatch.');return extractAndVerifyPackageFiles(_0x2c6923,_0x1a745b);}function extractAndVerifyPackageFiles(_0x3df9c1,_0x21c274){const _0x2cfddd=a120_0x4b4a,_0x105dcd=parseZipPackage(_0x21c274);if(_0x105dcd[_0x2cfddd(0x1c8)]!==_0x3df9c1[_0x2cfddd(0x1d1)][_0x2cfddd(0x1c8)])throw CliErrors[_0x2cfddd(0x1e7)]('Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.');const _0x43bbde=new Map();for(const _0x5341af of _0x105dcd){if(_0x43bbde[_0x2cfddd(0x1c6)](_0x5341af[_0x2cfddd(0x1db)]))throw CliErrors[_0x2cfddd(0x1e7)](_0x2cfddd(0x1d3)+_0x5341af[_0x2cfddd(0x1db)]);_0x43bbde[_0x2cfddd(0x1e6)](_0x5341af['path'],_0x5341af);}const _0x42e475=[];for(const _0x5c062a of _0x3df9c1['files']){const _0x33887f=_0x43bbde['get'](_0x5c062a[_0x2cfddd(0x1db)]);if(!_0x33887f)throw CliErrors[_0x2cfddd(0x1e7)](_0x2cfddd(0x1e5)+_0x5c062a[_0x2cfddd(0x1db)]);if(_0x33887f[_0x2cfddd(0x1e8)]['length']!==_0x5c062a[_0x2cfddd(0x1e4)])throw CliErrors[_0x2cfddd(0x1e7)](_0x2cfddd(0x1dc)+_0x5c062a[_0x2cfddd(0x1db)]);const _0x22ce28=bufferSha256(_0x33887f['bytes']);if(_0x22ce28!==_0x5c062a[_0x2cfddd(0x1c3)])throw CliErrors[_0x2cfddd(0x1e7)](_0x2cfddd(0x1c0)+_0x5c062a[_0x2cfddd(0x1db)]);_0x42e475[_0x2cfddd(0x1bc)]({'path':_0x5c062a[_0x2cfddd(0x1db)],'bytes':_0x33887f[_0x2cfddd(0x1e8)]});}return normalizeLocalFiles(_0x42e475);}
@@ -1 +1 @@
1
- (function(_0x296602,_0x361baf){var _0x1bdf30=a119_0x5b1c,_0x3f34f5=_0x296602();while(!![]){try{var _0x142266=-parseInt(_0x1bdf30(0x136))/0x1+-parseInt(_0x1bdf30(0x13a))/0x2*(-parseInt(_0x1bdf30(0x138))/0x3)+parseInt(_0x1bdf30(0x134))/0x4*(-parseInt(_0x1bdf30(0x139))/0x5)+-parseInt(_0x1bdf30(0x13f))/0x6+parseInt(_0x1bdf30(0x13e))/0x7*(parseInt(_0x1bdf30(0x135))/0x8)+parseInt(_0x1bdf30(0x13d))/0x9*(-parseInt(_0x1bdf30(0x13b))/0xa)+parseInt(_0x1bdf30(0x137))/0xb*(parseInt(_0x1bdf30(0x13c))/0xc);if(_0x142266===_0x361baf)break;else _0x3f34f5['push'](_0x3f34f5['shift']());}catch(_0x1d3ce5){_0x3f34f5['push'](_0x3f34f5['shift']());}}}(a119_0x1a39,0x57789));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 a119_0x5b1c(_0x151b48,_0x1d4e42){_0x151b48=_0x151b48-0x134;var _0x1a3945=a119_0x1a39();var _0x5b1cbd=_0x1a3945[_0x151b48];return _0x5b1cbd;}export{listLocalRuntimeSkills}from'./runtime-skill-sync/list-local.js';function a119_0x1a39(){var _0x1e3619=['7809744dHLdYq','18IKGdwK','7dlIVUp','3186384neemxN','1880funRgC','5006936jgOtcM','351957TfFuvo','11kfmFpz','1012017BOfHnd','3375kqXZLr','2bxEkqF','277330KGknlq'];a119_0x1a39=function(){return _0x1e3619;};return a119_0x1a39();}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
+ (function(_0xb3bf01,_0x259ec3){var _0x591376=a121_0x5cd0,_0x11a70f=_0xb3bf01();while(!![]){try{var _0x3d1e94=parseInt(_0x591376(0x145))/0x1+-parseInt(_0x591376(0x140))/0x2*(-parseInt(_0x591376(0x142))/0x3)+-parseInt(_0x591376(0x149))/0x4*(parseInt(_0x591376(0x148))/0x5)+parseInt(_0x591376(0x13f))/0x6*(parseInt(_0x591376(0x141))/0x7)+-parseInt(_0x591376(0x144))/0x8*(-parseInt(_0x591376(0x143))/0x9)+-parseInt(_0x591376(0x147))/0xa+-parseInt(_0x591376(0x146))/0xb;if(_0x3d1e94===_0x259ec3)break;else _0x11a70f['push'](_0x11a70f['shift']());}catch(_0x4f5de7){_0x11a70f['push'](_0x11a70f['shift']());}}}(a121_0x3b6e,0xcbb48));export{contentHash,fileTreeHash}from'./runtime-skill-sync/hashing.js';export{linkEffectiveRuntimeSkills,linkGlobalRuntimeSkills,pruneStaleRuntimeSkillCache,pruneStaleRuntimeSkillLinks}from'./runtime-skill-sync/links.js';export{resolveRuntimeSkillInstallTarget}from'./runtime-skill-sync/install-target.js';export{listLocalRuntimeSkills}from'./runtime-skill-sync/list-local.js';export{materializeRuntimeSkill}from'./runtime-skill-sync/materialize.js';export{readMetadataIfPresent}from'./runtime-skill-sync/metadata.js';function a121_0x5cd0(_0x37623e,_0x6cc05f){_0x37623e=_0x37623e-0x13f;var _0x3b6e92=a121_0x3b6e();var _0x5cd015=_0x3b6e92[_0x37623e];return _0x5cd015;}function a121_0x3b6e(){var _0x18310b=['1094uiwvFt','231otkmqO','8298ImzdMI','279459wcLdHy','328oVByHe','1410118ZohwVJ','35598695bcANHR','3868730mIcZTr','65795WjQJzI','176qhlytn','152778zzBoBZ'];a121_0x3b6e=function(){return _0x18310b;};return a121_0x3b6e();}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 a120_0xc821(){const _0x37c767=['4bPmTlA','840636WWTfTo','223447xaEpJm','2015672MBsJdp','135123IvovRa','834134VpOwBX','8NGiyMd','897174ZYfWtz','632570KmBJVb'];a120_0xc821=function(){return _0x37c767;};return a120_0xc821();}(function(_0x68d148,_0x3cc611){const _0xdb3c8e=a120_0x593a,_0x32b43c=_0x68d148();while(!![]){try{const _0xc87bf6=-parseInt(_0xdb3c8e(0xa6))/0x1+parseInt(_0xdb3c8e(0xad))/0x2*(-parseInt(_0xdb3c8e(0xa8))/0x3)+parseInt(_0xdb3c8e(0xa7))/0x4+parseInt(_0xdb3c8e(0xac))/0x5+parseInt(_0xdb3c8e(0xab))/0x6+parseInt(_0xdb3c8e(0xa9))/0x7*(-parseInt(_0xdb3c8e(0xaa))/0x8)+-parseInt(_0xdb3c8e(0xa5))/0x9;if(_0xc87bf6===_0x3cc611)break;else _0x32b43c['push'](_0x32b43c['shift']());}catch(_0x364c72){_0x32b43c['push'](_0x32b43c['shift']());}}}(a120_0xc821,0x3dfaa));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a120_0x593a(_0x2aeb11,_0x478989){_0x2aeb11=_0x2aeb11-0xa5;const _0xc821e9=a120_0xc821();let _0x593ae0=_0xc821e9[_0x2aeb11];return _0x593ae0;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x2ba31c,_0x151e1a){const _0x43fbd4=a122_0xf7d4,_0x4b4291=_0x2ba31c();while(!![]){try{const _0x5294de=parseInt(_0x43fbd4(0x16a))/0x1+parseInt(_0x43fbd4(0x167))/0x2+-parseInt(_0x43fbd4(0x169))/0x3+parseInt(_0x43fbd4(0x16b))/0x4+parseInt(_0x43fbd4(0x16c))/0x5+parseInt(_0x43fbd4(0x16d))/0x6+-parseInt(_0x43fbd4(0x168))/0x7;if(_0x5294de===_0x151e1a)break;else _0x4b4291['push'](_0x4b4291['shift']());}catch(_0x3a3b2c){_0x4b4291['push'](_0x4b4291['shift']());}}}(a122_0x4c3c,0x95a35));function a122_0x4c3c(){const _0x20dd53=['435372GvAcim','520732qlDCuk','3872990oGGVbx','3524574JEYlsW','535516ZSriqE','4948727YFWdmP','2626386fJODiG'];a122_0x4c3c=function(){return _0x20dd53;};return a122_0x4c3c();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a122_0xf7d4(_0x597fc1,_0x1a2fdd){_0x597fc1=_0x597fc1-0x167;const _0x4c3c11=a122_0x4c3c();let _0xf7d41a=_0x4c3c11[_0x597fc1];return _0xf7d41a;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- function a121_0x3907(){const _0x1bb52a=['green','timestamp','winstonLogger','message','error','stringify','trim','warn','Failed\x20to\x20clear\x20logs:','blue','22HwuHAz','2546khxInm','2926440dcjDda','mkdirSync','7uIFdUF','rawCommand','details','933006gvOXtV','1379272wMLfDe','toISOString','now','setRawCommand','Completed:\x20','yellow','Failed\x20to\x20read\x20logs:','logTask','548880ZQwznn','utf8','writeFileSync','filter','format','info','parse','logFileName','duration','split','initWinstonLogger','transports','combine','1674HXIDRq','createLogger','errors','logFilePath','3385xIknUo','readLogs','122RWyJCY','unknown','red','2425959dMrKiT','existsSync','Starting:\x20','join','File','setLogPath','currentRawCommand','addColors','success','printf'];a121_0x3907=function(){return _0x1bb52a;};return a121_0x3907();}const a121_0x287dcf=a121_0x4178;(function(_0x241798,_0x2f70d0){const _0x49ab01=a121_0x4178,_0x4efb18=_0x241798();while(!![]){try{const _0x3c77d9=-parseInt(_0x49ab01(0x1ad))/0x1*(-parseInt(_0x49ab01(0x1c5))/0x2)+parseInt(_0x49ab01(0x1cb))/0x3+-parseInt(_0x49ab01(0x1cc))/0x4+parseInt(_0x49ab01(0x1ab))/0x5*(-parseInt(_0x49ab01(0x1a7))/0x6)+parseInt(_0x49ab01(0x1c8))/0x7*(-parseInt(_0x49ab01(0x19a))/0x8)+-parseInt(_0x49ab01(0x1b0))/0x9+-parseInt(_0x49ab01(0x1c6))/0xa*(-parseInt(_0x49ab01(0x1c4))/0xb);if(_0x3c77d9===_0x2f70d0)break;else _0x4efb18['push'](_0x4efb18['shift']());}catch(_0x23e053){_0x4efb18['push'](_0x4efb18['shift']());}}}(a121_0x3907,0x2be16));import a121_0x218b14 from'winston';import a121_0x4c72f4 from'node:fs';import a121_0x887022 from'node:path';function a121_0x4178(_0x4992c0,_0x20a889){_0x4992c0=_0x4992c0-0x197;const _0x390721=a121_0x3907();let _0x417881=_0x390721[_0x4992c0];return _0x417881;}import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a121_0x287dcf(0x1bc)];['logFilePath']='';[a121_0x287dcf(0x1b6)]='';constructor(){}[a121_0x287dcf(0x1cf)](_0x161e6a){const _0x9e571e=a121_0x287dcf;this[_0x9e571e(0x1b6)]=_0x161e6a;}[a121_0x287dcf(0x1b5)](_0x42a316){const _0x4f8015=a121_0x287dcf;this['logFilePath']=a121_0x887022[_0x4f8015(0x1b3)](_0x42a316,PRODUCT_CONFIG[_0x4f8015(0x1a1)]),this[_0x4f8015(0x1bc)]&&this[_0x4f8015(0x1bc)]['clear'](),this['initWinstonLogger']();}[a121_0x287dcf(0x1a4)](){const _0x5881a7=a121_0x287dcf,_0x5d293a=a121_0x887022['dirname'](this[_0x5881a7(0x1aa)]);!a121_0x4c72f4[_0x5881a7(0x1b1)](_0x5d293a)&&a121_0x4c72f4[_0x5881a7(0x1c7)](_0x5d293a,{'recursive':!![]});const _0x4c3b0f=a121_0x218b14[_0x5881a7(0x19e)][_0x5881a7(0x1a6)](a121_0x218b14[_0x5881a7(0x19e)][_0x5881a7(0x1bb)](),a121_0x218b14[_0x5881a7(0x19e)][_0x5881a7(0x1a9)]({'stack':!![]}),a121_0x218b14[_0x5881a7(0x19e)][_0x5881a7(0x1b9)](_0x56a08c=>{const _0xff15dd=_0x5881a7,_0x10085b={'timestamp':_0x56a08c[_0xff15dd(0x1bb)]||new Date()[_0xff15dd(0x1cd)](),'level':_0x56a08c['level']||_0xff15dd(0x19f),'command':_0x56a08c['command']||_0xff15dd(0x1ae),'rawCommand':_0x56a08c[_0xff15dd(0x1c9)]||this[_0xff15dd(0x1b6)]||undefined,'message':_0x56a08c[_0xff15dd(0x1bd)]||'','duration':_0x56a08c[_0xff15dd(0x1a2)]||undefined,'details':_0x56a08c[_0xff15dd(0x1ca)]||undefined};return JSON[_0xff15dd(0x1bf)](_0x10085b);}));this[_0x5881a7(0x1bc)]=a121_0x218b14[_0x5881a7(0x1a8)]({'level':_0x5881a7(0x19f),'format':_0x4c3b0f,'transports':[new a121_0x218b14[(_0x5881a7(0x1a5))][(_0x5881a7(0x1b4))]({'filename':this[_0x5881a7(0x1aa)],'level':_0x5881a7(0x19f)})],'silent':![]}),a121_0x218b14[_0x5881a7(0x1b7)]({'success':_0x5881a7(0x1ba),'error':_0x5881a7(0x1af),'warn':_0x5881a7(0x197),'info':_0x5881a7(0x1c3)});}[a121_0x287dcf(0x19f)](_0x374bbb,_0x11c754,_0x30e1bb){const _0xcfd187=a121_0x287dcf;if(!this[_0xcfd187(0x1aa)]||!this[_0xcfd187(0x1bc)])return;this[_0xcfd187(0x1bc)]['info'](_0x11c754,{'command':_0x374bbb,'details':_0x30e1bb});}[a121_0x287dcf(0x1b8)](_0x15c47d,_0x50ad00,_0x5d2679,_0x43c6d2){const _0x24d24b=a121_0x287dcf;if(!this[_0x24d24b(0x1aa)]||!this[_0x24d24b(0x1bc)])return;this[_0x24d24b(0x1bc)]['log'](_0x24d24b(0x19f),_0x50ad00,{'level':_0x24d24b(0x1b8),'command':_0x15c47d,'duration':_0x5d2679,'details':_0x43c6d2});}['error'](_0x2a41ae,_0xc5a57,_0x12eab5){const _0xb08c13=a121_0x287dcf;if(!this['logFilePath']||!this[_0xb08c13(0x1bc)])return;this[_0xb08c13(0x1bc)][_0xb08c13(0x1be)](_0xc5a57,{'command':_0x2a41ae,'details':_0x12eab5});}[a121_0x287dcf(0x1c1)](_0x191402,_0x148763,_0x26995b){const _0x5b90cf=a121_0x287dcf;if(!this[_0x5b90cf(0x1aa)]||!this[_0x5b90cf(0x1bc)])return;this[_0x5b90cf(0x1bc)][_0x5b90cf(0x1c1)](_0x148763,{'command':_0x191402,'details':_0x26995b});}async[a121_0x287dcf(0x199)](_0xbdcfb8,_0x25e098,_0x384d9a){const _0x5bc706=a121_0x287dcf,_0x51e51c=Date[_0x5bc706(0x1ce)]();this['info'](_0xbdcfb8,_0x5bc706(0x1b2)+_0x25e098);try{const _0x502b5=await _0x384d9a(),_0x40dac8=Date[_0x5bc706(0x1ce)]()-_0x51e51c;return this[_0x5bc706(0x1b8)](_0xbdcfb8,_0x5bc706(0x1d0)+_0x25e098,_0x40dac8),_0x502b5;}catch(_0x505fef){const _0xe58865=Date['now']()-_0x51e51c;this[_0x5bc706(0x1be)](_0xbdcfb8,'Failed:\x20'+_0x25e098,{'error':_0x505fef instanceof Error?_0x505fef[_0x5bc706(0x1bd)]:String(_0x505fef),'duration':_0xe58865});throw _0x505fef;}}[a121_0x287dcf(0x1ac)](){const _0x207f24=a121_0x287dcf;try{if(!a121_0x4c72f4[_0x207f24(0x1b1)](this[_0x207f24(0x1aa)]))return[];const _0x28ad26=a121_0x4c72f4['readFileSync'](this[_0x207f24(0x1aa)],_0x207f24(0x19b));return _0x28ad26[_0x207f24(0x1a3)](/\r?\n/)[_0x207f24(0x19d)](_0x309073=>_0x309073[_0x207f24(0x1c0)]())['map'](_0x14c235=>JSON[_0x207f24(0x1a0)](_0x14c235));}catch(_0x387b4b){return console[_0x207f24(0x1c1)](_0x207f24(0x198),_0x387b4b),[];}}['clearLogs'](){const _0x3b14f0=a121_0x287dcf;try{a121_0x4c72f4[_0x3b14f0(0x1b1)](this[_0x3b14f0(0x1aa)])&&a121_0x4c72f4[_0x3b14f0(0x19c)](this[_0x3b14f0(0x1aa)],'',_0x3b14f0(0x19b));}catch(_0x5a3970){console['warn'](_0x3b14f0(0x1c2),_0x5a3970);}}['getWinstonInstance'](){const _0x4e2147=a121_0x287dcf;return this[_0x4e2147(0x1bc)];}}export const logger=new Logger();
1
+ function a123_0x57a4(_0x111c66,_0x42faff){_0x111c66=_0x111c66-0x9e;const _0x4194e9=a123_0x4194();let _0x57a462=_0x4194e9[_0x111c66];return _0x57a462;}const a123_0x5d231f=a123_0x57a4;(function(_0x5c4992,_0x443031){const _0x537ce5=a123_0x57a4,_0x12b039=_0x5c4992();while(!![]){try{const _0x4eff5f=-parseInt(_0x537ce5(0xa6))/0x1*(-parseInt(_0x537ce5(0xaa))/0x2)+parseInt(_0x537ce5(0xbd))/0x3*(-parseInt(_0x537ce5(0xbe))/0x4)+-parseInt(_0x537ce5(0xb8))/0x5+parseInt(_0x537ce5(0xa9))/0x6+parseInt(_0x537ce5(0xcb))/0x7*(parseInt(_0x537ce5(0xc1))/0x8)+parseInt(_0x537ce5(0xd4))/0x9+-parseInt(_0x537ce5(0xd6))/0xa*(parseInt(_0x537ce5(0xba))/0xb);if(_0x4eff5f===_0x443031)break;else _0x12b039['push'](_0x12b039['shift']());}catch(_0x2b7692){_0x12b039['push'](_0x12b039['shift']());}}}(a123_0x4194,0x463b5));import a123_0x1062d6 from'winston';import a123_0x50246f from'node:fs';import a123_0x24560a from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a123_0x5d231f(0xae)];['logFilePath']='';[a123_0x5d231f(0xa8)]='';constructor(){}[a123_0x5d231f(0xca)](_0x3d866d){this['currentRawCommand']=_0x3d866d;}['setLogPath'](_0x2a2b5c){const _0x3b5dbd=a123_0x5d231f;this['logFilePath']=a123_0x24560a[_0x3b5dbd(0xd0)](_0x2a2b5c,PRODUCT_CONFIG[_0x3b5dbd(0xc4)]),this['winstonLogger']&&this[_0x3b5dbd(0xae)]['clear'](),this[_0x3b5dbd(0xc9)]();}[a123_0x5d231f(0xc9)](){const _0x480c7c=a123_0x5d231f,_0x5682ad=a123_0x24560a[_0x480c7c(0xa2)](this[_0x480c7c(0xbb)]);!a123_0x50246f[_0x480c7c(0xaf)](_0x5682ad)&&a123_0x50246f[_0x480c7c(0xb4)](_0x5682ad,{'recursive':!![]});const _0x5f3a2e=a123_0x1062d6['format'][_0x480c7c(0xd5)](a123_0x1062d6['format'][_0x480c7c(0xb6)](),a123_0x1062d6[_0x480c7c(0x9e)]['errors']({'stack':!![]}),a123_0x1062d6['format'][_0x480c7c(0xc7)](_0x2f57bd=>{const _0x47d127=_0x480c7c,_0x4ff6a1={'timestamp':_0x2f57bd['timestamp']||new Date()['toISOString'](),'level':_0x2f57bd['level']||'info','command':_0x2f57bd[_0x47d127(0xbc)]||'unknown','rawCommand':_0x2f57bd[_0x47d127(0xcd)]||this[_0x47d127(0xa8)]||undefined,'message':_0x2f57bd[_0x47d127(0xa1)]||'','duration':_0x2f57bd[_0x47d127(0xd1)]||undefined,'details':_0x2f57bd[_0x47d127(0xcf)]||undefined};return JSON[_0x47d127(0xa0)](_0x4ff6a1);}));this['winstonLogger']=a123_0x1062d6[_0x480c7c(0xc3)]({'level':'info','format':_0x5f3a2e,'transports':[new a123_0x1062d6[(_0x480c7c(0xa4))][(_0x480c7c(0xb1))]({'filename':this[_0x480c7c(0xbb)],'level':_0x480c7c(0xb3)})],'silent':![]}),a123_0x1062d6[_0x480c7c(0xb2)]({'success':_0x480c7c(0xb5),'error':_0x480c7c(0xd3),'warn':_0x480c7c(0xcc),'info':_0x480c7c(0xac)});}['info'](_0x5eee69,_0x4bc747,_0x4c1dde){const _0x2a3f08=a123_0x5d231f;if(!this[_0x2a3f08(0xbb)]||!this[_0x2a3f08(0xae)])return;this[_0x2a3f08(0xae)][_0x2a3f08(0xb3)](_0x4bc747,{'command':_0x5eee69,'details':_0x4c1dde});}[a123_0x5d231f(0xd2)](_0x51464d,_0x4e0e08,_0x3a4121,_0x58f3a9){const _0x32efd7=a123_0x5d231f;if(!this[_0x32efd7(0xbb)]||!this[_0x32efd7(0xae)])return;this[_0x32efd7(0xae)][_0x32efd7(0xc2)]('info',_0x4e0e08,{'level':_0x32efd7(0xd2),'command':_0x51464d,'duration':_0x3a4121,'details':_0x58f3a9});}[a123_0x5d231f(0xd7)](_0x3dd1f6,_0x238fde,_0x4de04f){const _0x590954=a123_0x5d231f;if(!this[_0x590954(0xbb)]||!this['winstonLogger'])return;this[_0x590954(0xae)][_0x590954(0xd7)](_0x238fde,{'command':_0x3dd1f6,'details':_0x4de04f});}['warn'](_0x4d39c5,_0x884c64,_0x378522){const _0x5c1c7c=a123_0x5d231f;if(!this['logFilePath']||!this[_0x5c1c7c(0xae)])return;this['winstonLogger']['warn'](_0x884c64,{'command':_0x4d39c5,'details':_0x378522});}async[a123_0x5d231f(0xce)](_0x949ce6,_0x32e5fa,_0x345d7e){const _0x537fec=a123_0x5d231f,_0x4540f0=Date[_0x537fec(0xa5)]();this[_0x537fec(0xb3)](_0x949ce6,_0x537fec(0xc6)+_0x32e5fa);try{const _0x4ebf98=await _0x345d7e(),_0x283aca=Date[_0x537fec(0xa5)]()-_0x4540f0;return this[_0x537fec(0xd2)](_0x949ce6,_0x537fec(0xb0)+_0x32e5fa,_0x283aca),_0x4ebf98;}catch(_0x1663e6){const _0x26cd54=Date[_0x537fec(0xa5)]()-_0x4540f0;this[_0x537fec(0xd7)](_0x949ce6,_0x537fec(0xbf)+_0x32e5fa,{'error':_0x1663e6 instanceof Error?_0x1663e6[_0x537fec(0xa1)]:String(_0x1663e6),'duration':_0x26cd54});throw _0x1663e6;}}['readLogs'](){const _0x5ab690=a123_0x5d231f;try{if(!a123_0x50246f[_0x5ab690(0xaf)](this[_0x5ab690(0xbb)]))return[];const _0x1802a0=a123_0x50246f[_0x5ab690(0xc5)](this['logFilePath'],_0x5ab690(0xb9));return _0x1802a0['split'](/\r?\n/)['filter'](_0x183e85=>_0x183e85[_0x5ab690(0xa3)]())['map'](_0x45d965=>JSON[_0x5ab690(0xc8)](_0x45d965));}catch(_0xe7bfc6){return console[_0x5ab690(0xc0)](_0x5ab690(0xad),_0xe7bfc6),[];}}[a123_0x5d231f(0xb7)](){const _0x368458=a123_0x5d231f;try{a123_0x50246f[_0x368458(0xaf)](this[_0x368458(0xbb)])&&a123_0x50246f[_0x368458(0x9f)](this['logFilePath'],'',_0x368458(0xb9));}catch(_0x37810a){console[_0x368458(0xc0)](_0x368458(0xab),_0x37810a);}}[a123_0x5d231f(0xa7)](){const _0x5d72de=a123_0x5d231f;return this[_0x5d72de(0xae)];}}function a123_0x4194(){const _0x3b2c17=['addColors','info','mkdirSync','green','timestamp','clearLogs','674050WLPnoE','utf8','22qYDrHj','logFilePath','command','4089Vfrcff','96PkUGom','Failed:\x20','warn','8adrSWe','log','createLogger','logFileName','readFileSync','Starting:\x20','printf','parse','initWinstonLogger','setRawCommand','2580053mWYjoe','yellow','rawCommand','logTask','details','join','duration','success','red','1280583hjBftI','combine','2766730rAPjRc','error','format','writeFileSync','stringify','message','dirname','trim','transports','now','1Aypzuw','getWinstonInstance','currentRawCommand','506394CBQrlz','826544EEAvdO','Failed\x20to\x20clear\x20logs:','blue','Failed\x20to\x20read\x20logs:','winstonLogger','existsSync','Completed:\x20','File'];a123_0x4194=function(){return _0x3b2c17;};return a123_0x4194();}export const logger=new Logger();
@@ -1 +1 @@
1
- const a122_0x237fc2=a122_0x4fc8;(function(_0x46094b,_0x369e1e){const _0x47d009=a122_0x4fc8,_0x2763e7=_0x46094b();while(!![]){try{const _0x1797f8=-parseInt(_0x47d009(0xbd))/0x1*(-parseInt(_0x47d009(0xb8))/0x2)+-parseInt(_0x47d009(0xc0))/0x3+parseInt(_0x47d009(0xc2))/0x4*(parseInt(_0x47d009(0xbf))/0x5)+-parseInt(_0x47d009(0xb9))/0x6+-parseInt(_0x47d009(0xbe))/0x7*(-parseInt(_0x47d009(0xc5))/0x8)+-parseInt(_0x47d009(0xc1))/0x9*(-parseInt(_0x47d009(0xc7))/0xa)+-parseInt(_0x47d009(0xc6))/0xb;if(_0x1797f8===_0x369e1e)break;else _0x2763e7['push'](_0x2763e7['shift']());}catch(_0x12c7e7){_0x2763e7['push'](_0x2763e7['shift']());}}}(a122_0xe6af,0xe7c60));function a122_0x4fc8(_0x180e31,_0x9c2562){_0x180e31=_0x180e31-0xb5;const _0xe6afb=a122_0xe6af();let _0x4fc8f3=_0xe6afb[_0x180e31];return _0x4fc8f3;}const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number['MAX_SAFE_INTEGER']),MIN_SAFE_INTEGER=BigInt(Number[a122_0x237fc2(0xc3)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x1a560f){const _0x349bb4=a122_0x237fc2;if(_0x1a560f['includes']('.')||_0x1a560f[_0x349bb4(0xb5)]('e')||_0x1a560f[_0x349bb4(0xb5)]('E'))return![];const _0x1376d4=BigInt(_0x1a560f);return _0x1376d4>MAX_SAFE_INTEGER||_0x1376d4<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x15ee70){const _0x2c45b5=a122_0x237fc2;let _0x27bd49='',_0x5d01d7=![],_0x2e2004=![];for(let _0x558d33=0x0;_0x558d33<_0x15ee70[_0x2c45b5(0xc4)];){const _0x195a2b=_0x15ee70[_0x558d33];if(_0x5d01d7){_0x27bd49+=_0x195a2b,_0x558d33+=0x1;if(_0x2e2004)_0x2e2004=![];else{if(_0x195a2b==='\x5c')_0x2e2004=!![];else _0x195a2b==='\x22'&&(_0x5d01d7=![]);}continue;}if(_0x195a2b==='\x22'){_0x5d01d7=!![],_0x27bd49+=_0x195a2b,_0x558d33+=0x1;continue;}if(_0x195a2b==='-'||_0x195a2b>='0'&&_0x195a2b<='9'){const _0x5ab137=JSON_NUMBER_PATTERN[_0x2c45b5(0xbb)](_0x15ee70['slice'](_0x558d33))?.[0x0];if(_0x5ab137){_0x27bd49+=isUnsafeIntegerLiteral(_0x5ab137)?'\x22'+_0x5ab137+'\x22':_0x5ab137,_0x558d33+=_0x5ab137['length'];continue;}}_0x27bd49+=_0x195a2b,_0x558d33+=0x1;}return _0x27bd49;}export function parseLosslessJson(_0x452c27){const _0x20cbb0=a122_0x237fc2;return JSON[_0x20cbb0(0xc9)](quoteUnsafeIntegerLiterals(_0x452c27));}export function installLosslessJsonResponseParser(){const _0xcd8823=a122_0x237fc2;if(typeof Response==='undefined')return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0xcd8823(0xb7)],originalResponseJsonDescriptor=Object[_0xcd8823(0xba)](responseJsonPrototype,_0xcd8823(0xc8)),Object[_0xcd8823(0xb6)](responseJsonPrototype,_0xcd8823(0xc8),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x3770bf(){const _0x2d53ae=_0xcd8823;return parseLosslessJson(await this[_0x2d53ae(0xbc)]());}}),restoreResponseJsonParser=()=>{const _0x472591=_0xcd8823;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object['defineProperty'](responseJsonPrototype,_0x472591(0xc8),originalResponseJsonDescriptor):delete responseJsonPrototype[_0x472591(0xc8)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}function a122_0xe6af(){const _0x1bdfc9=['43285484AlsXlA','1110UUIpLO','json','parse','includes','defineProperty','prototype','394qEChJx','68064OSWQEv','getOwnPropertyDescriptor','exec','text','3601XzRSMz','56uOAvah','25ikGzQG','1544814SdqmXA','145746fGcpZk','1113724NAixcZ','MIN_SAFE_INTEGER','length','1511584fALGNg'];a122_0xe6af=function(){return _0x1bdfc9;};return a122_0xe6af();}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
1
+ const a124_0x12d694=a124_0xa203;(function(_0x418ef3,_0x3163f8){const _0x2926b8=a124_0xa203,_0x1f8f46=_0x418ef3();while(!![]){try{const _0x461399=parseInt(_0x2926b8(0x14a))/0x1+parseInt(_0x2926b8(0x13c))/0x2*(parseInt(_0x2926b8(0x146))/0x3)+-parseInt(_0x2926b8(0x14b))/0x4*(-parseInt(_0x2926b8(0x151))/0x5)+-parseInt(_0x2926b8(0x144))/0x6*(-parseInt(_0x2926b8(0x14e))/0x7)+parseInt(_0x2926b8(0x13f))/0x8*(-parseInt(_0x2926b8(0x143))/0x9)+parseInt(_0x2926b8(0x13e))/0xa*(-parseInt(_0x2926b8(0x14c))/0xb)+-parseInt(_0x2926b8(0x141))/0xc;if(_0x461399===_0x3163f8)break;else _0x1f8f46['push'](_0x1f8f46['shift']());}catch(_0x3809b6){_0x1f8f46['push'](_0x1f8f46['shift']());}}}(a124_0x570b,0xd1ed9));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a124_0x12d694(0x14f)]),MIN_SAFE_INTEGER=BigInt(Number[a124_0x12d694(0x147)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x3e59d7){const _0x497eca=a124_0x12d694;if(_0x3e59d7[_0x497eca(0x148)]('.')||_0x3e59d7[_0x497eca(0x148)]('e')||_0x3e59d7[_0x497eca(0x148)]('E'))return![];const _0x1a93df=BigInt(_0x3e59d7);return _0x1a93df>MAX_SAFE_INTEGER||_0x1a93df<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x34c86d){const _0x1ad722=a124_0x12d694;let _0x433856='',_0x44b205=![],_0x3346b3=![];for(let _0x273f10=0x0;_0x273f10<_0x34c86d[_0x1ad722(0x149)];){const _0x2bf119=_0x34c86d[_0x273f10];if(_0x44b205){_0x433856+=_0x2bf119,_0x273f10+=0x1;if(_0x3346b3)_0x3346b3=![];else{if(_0x2bf119==='\x5c')_0x3346b3=!![];else _0x2bf119==='\x22'&&(_0x44b205=![]);}continue;}if(_0x2bf119==='\x22'){_0x44b205=!![],_0x433856+=_0x2bf119,_0x273f10+=0x1;continue;}if(_0x2bf119==='-'||_0x2bf119>='0'&&_0x2bf119<='9'){const _0x31157c=JSON_NUMBER_PATTERN[_0x1ad722(0x142)](_0x34c86d['slice'](_0x273f10))?.[0x0];if(_0x31157c){_0x433856+=isUnsafeIntegerLiteral(_0x31157c)?'\x22'+_0x31157c+'\x22':_0x31157c,_0x273f10+=_0x31157c[_0x1ad722(0x149)];continue;}}_0x433856+=_0x2bf119,_0x273f10+=0x1;}return _0x433856;}export function parseLosslessJson(_0x112c6e){const _0xe7af25=a124_0x12d694;return JSON[_0xe7af25(0x14d)](quoteUnsafeIntegerLiterals(_0x112c6e));}function a124_0xa203(_0x53ef05,_0x8f5446){_0x53ef05=_0x53ef05-0x13c;const _0x570b6f=a124_0x570b();let _0xa20393=_0x570b6f[_0x53ef05];return _0xa20393;}function a124_0x570b(){const _0x38c3e9=['39357DRAzmq','9212052pZDZCr','json','36AoiztX','MIN_SAFE_INTEGER','includes','length','847576ECRpFY','14792ctByRk','55FGmYaC','parse','7TNgXUh','MAX_SAFE_INTEGER','getOwnPropertyDescriptor','410YEOwXv','defineProperty','110018WIjUso','undefined','1061770eJKySr','2392QrtFia','text','7775820kzSwOB','exec'];a124_0x570b=function(){return _0x38c3e9;};return a124_0x570b();}export function installLosslessJsonResponseParser(){const _0x46e69d=a124_0x12d694;if(typeof Response===_0x46e69d(0x13d))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response['prototype'],originalResponseJsonDescriptor=Object[_0x46e69d(0x150)](responseJsonPrototype,'json'),Object[_0x46e69d(0x152)](responseJsonPrototype,_0x46e69d(0x145),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x4d54b7(){const _0x12fd3b=_0x46e69d;return parseLosslessJson(await this[_0x12fd3b(0x140)]());}}),restoreResponseJsonParser=()=>{const _0x10a386=_0x46e69d;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x10a386(0x152)](responseJsonPrototype,_0x10a386(0x145),originalResponseJsonDescriptor):delete responseJsonPrototype[_0x10a386(0x145)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
@@ -1 +1 @@
1
- (function(_0x5b58bc,_0x3ba691){const _0x4ac5d4=a123_0x562d,_0x5b880d=_0x5b58bc();while(!![]){try{const _0xed0bac=parseInt(_0x4ac5d4(0x133))/0x1*(parseInt(_0x4ac5d4(0x14b))/0x2)+-parseInt(_0x4ac5d4(0x147))/0x3*(-parseInt(_0x4ac5d4(0x13d))/0x4)+-parseInt(_0x4ac5d4(0x134))/0x5*(parseInt(_0x4ac5d4(0x136))/0x6)+-parseInt(_0x4ac5d4(0x12f))/0x7+-parseInt(_0x4ac5d4(0x130))/0x8+parseInt(_0x4ac5d4(0x149))/0x9*(parseInt(_0x4ac5d4(0x139))/0xa)+parseInt(_0x4ac5d4(0x13a))/0xb;if(_0xed0bac===_0x3ba691)break;else _0x5b880d['push'](_0x5b880d['shift']());}catch(_0x5476cf){_0x5b880d['push'](_0x5b880d['shift']());}}}(a123_0x7bba,0x55c69));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x46994e){const _0x3409ed=a123_0x562d;if(!_0x46994e)return undefined;try{return parseLosslessJson(_0x46994e);}catch{throw CliErrors['validation'](_0x3409ed(0x146)+_0x46994e);}}export function parseJsonParamsValue(_0x350346){const _0x303c85=a123_0x562d;if(!_0x350346)return undefined;try{return parseLosslessJson(_0x350346);}catch{throw CliErrors[_0x303c85(0x132)](_0x303c85(0x146)+_0x350346);}}export function parseBatchCreateItemsFromParams(_0x240e03){const _0x5a2c94=a123_0x562d;if(Array[_0x5a2c94(0x13f)](_0x240e03))return _0x240e03;if(_0x240e03!==null&&_0x240e03!==undefined&&typeof _0x240e03===_0x5a2c94(0x131)&&Array[_0x5a2c94(0x13f)](_0x240e03[_0x5a2c94(0x14e)]))return _0x240e03[_0x5a2c94(0x14e)];throw CliErrors[_0x5a2c94(0x132)](_0x5a2c94(0x143),_0x5a2c94(0x14d));}function parseDataUpdateId(_0x97bbbe,_0x5e2152){const _0x24fc30=a123_0x562d;if(typeof _0x97bbbe==='number'&&Number[_0x24fc30(0x148)](_0x97bbbe)&&_0x97bbbe>0x0)return _0x97bbbe;if(typeof _0x97bbbe===_0x24fc30(0x144)){if(/^[1-9]\d*$/['test'](_0x97bbbe))return _0x97bbbe;}throw CliErrors['validation'](_0x24fc30(0x13c)+_0x5e2152+_0x24fc30(0x14c));}function a123_0x562d(_0x588ae7,_0x4be2f0){_0x588ae7=_0x588ae7-0x12f;const _0x7bba58=a123_0x7bba();let _0x562d91=_0x7bba58[_0x588ae7];return _0x562d91;}export function parseUpdateIdsFromParams(_0x9aec53){const _0x76744e=a123_0x562d;if(_0x9aec53===null||_0x9aec53===undefined||typeof _0x9aec53!==_0x76744e(0x131)||Array[_0x76744e(0x13f)](_0x9aec53))throw CliErrors[_0x76744e(0x132)](_0x76744e(0x135),'Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27');const _0x14b0a7=_0x9aec53['id'];if(_0x14b0a7===undefined||_0x14b0a7===null)throw CliErrors[_0x76744e(0x132)](_0x76744e(0x141),_0x76744e(0x13b));const _0x132ad0=Array[_0x76744e(0x13f)](_0x14b0a7)?_0x14b0a7:[_0x14b0a7];if(_0x132ad0[_0x76744e(0x142)]===0x0)throw CliErrors['validation'](_0x76744e(0x140));if(_0x132ad0[_0x76744e(0x142)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x76744e(0x132)](_0x76744e(0x14a)+MAX_DATA_UPDATE_IDS+_0x76744e(0x137)+_0x132ad0[_0x76744e(0x142)]+'.');return _0x132ad0[_0x76744e(0x145)]((_0x5dba5d,_0xb614f)=>parseDataUpdateId(_0x5dba5d,Array['isArray'](_0x14b0a7)?_0x76744e(0x13e)+_0xb614f+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x310300,_0xc795b6){const _0x263951=a123_0x562d;if(Array['isArray'](_0x310300['id'])&&_0xc795b6[_0x263951(0x142)]>0x1)return{..._0x310300,'id':_0xc795b6[_0x263951(0x138)](',')};return _0x310300;}function a123_0x7bba(){const _0x11d464=['3077305OgZYwt','685312MytxEC','object','validation','814WxHPnj','60840VSxPse','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','318TiybNE','\x20records\x20per\x20call;\x20received\x20','join','540XRRUxH','12743038RvFAgc','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','data\x20update\x20--params.','32ejYuyI','id[','isArray','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','length','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','string','map','Invalid\x20JSON\x20for\x20--params:\x20','18420VeyynU','isSafeInteger','25326PORasd','data\x20update\x20can\x20update\x20at\x20most\x20','398fRnuAw','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','items'];a123_0x7bba=function(){return _0x11d464;};return a123_0x7bba();}
1
+ (function(_0x2a71a3,_0x2a237c){const _0x27ab8e=a125_0x4794,_0x38d500=_0x2a71a3();while(!![]){try{const _0x57a472=parseInt(_0x27ab8e(0xe9))/0x1+-parseInt(_0x27ab8e(0xf7))/0x2+parseInt(_0x27ab8e(0xf5))/0x3*(-parseInt(_0x27ab8e(0xf2))/0x4)+-parseInt(_0x27ab8e(0xe4))/0x5+-parseInt(_0x27ab8e(0xf4))/0x6*(parseInt(_0x27ab8e(0xe1))/0x7)+-parseInt(_0x27ab8e(0xe3))/0x8*(parseInt(_0x27ab8e(0xe2))/0x9)+parseInt(_0x27ab8e(0xe7))/0xa*(parseInt(_0x27ab8e(0xf9))/0xb);if(_0x57a472===_0x2a237c)break;else _0x38d500['push'](_0x38d500['shift']());}catch(_0x5c5990){_0x38d500['push'](_0x38d500['shift']());}}}(a125_0x1962,0x7822f));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x1aef2c){if(!_0x1aef2c)return undefined;try{return parseLosslessJson(_0x1aef2c);}catch{throw CliErrors['validation']('Invalid\x20JSON\x20for\x20--params:\x20'+_0x1aef2c);}}export function parseJsonParamsValue(_0x113385){const _0x3517e8=a125_0x4794;if(!_0x113385)return undefined;try{return parseLosslessJson(_0x113385);}catch{throw CliErrors[_0x3517e8(0xe6)](_0x3517e8(0xef)+_0x113385);}}export function parseBatchCreateItemsFromParams(_0x5cc2a7){const _0xacd129=a125_0x4794;if(Array['isArray'](_0x5cc2a7))return _0x5cc2a7;if(_0x5cc2a7!==null&&_0x5cc2a7!==undefined&&typeof _0x5cc2a7==='object'&&Array[_0xacd129(0xf8)](_0x5cc2a7[_0xacd129(0xdf)]))return _0x5cc2a7[_0xacd129(0xdf)];throw CliErrors[_0xacd129(0xe6)](_0xacd129(0xf6),_0xacd129(0xec));}function a125_0x4794(_0x29bee7,_0x226148){_0x29bee7=_0x29bee7-0xdd;const _0x196273=a125_0x1962();let _0x47945d=_0x196273[_0x29bee7];return _0x47945d;}function parseDataUpdateId(_0x5a2cde,_0x5408a2){const _0x2e9424=a125_0x4794;if(typeof _0x5a2cde==='number'&&Number[_0x2e9424(0xf3)](_0x5a2cde)&&_0x5a2cde>0x0)return _0x5a2cde;if(typeof _0x5a2cde===_0x2e9424(0xdd)){if(/^[1-9]\d*$/['test'](_0x5a2cde))return _0x5a2cde;}throw CliErrors[_0x2e9424(0xe6)](_0x2e9424(0xe8)+_0x5408a2+'\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.');}export function parseUpdateIdsFromParams(_0x47df18){const _0x7e0cb3=a125_0x4794;if(_0x47df18===null||_0x47df18===undefined||typeof _0x47df18!==_0x7e0cb3(0xe5)||Array[_0x7e0cb3(0xf8)](_0x47df18))throw CliErrors[_0x7e0cb3(0xe6)](_0x7e0cb3(0xf0),_0x7e0cb3(0xfb));const _0x6c268f=_0x47df18['id'];if(_0x6c268f===undefined||_0x6c268f===null)throw CliErrors[_0x7e0cb3(0xe6)](_0x7e0cb3(0xee),'Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27');const _0x2f2a69=Array[_0x7e0cb3(0xf8)](_0x6c268f)?_0x6c268f:[_0x6c268f];if(_0x2f2a69[_0x7e0cb3(0xea)]===0x0)throw CliErrors['validation'](_0x7e0cb3(0xde));if(_0x2f2a69[_0x7e0cb3(0xea)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x7e0cb3(0xe6)](_0x7e0cb3(0xe0)+MAX_DATA_UPDATE_IDS+_0x7e0cb3(0xed)+_0x2f2a69[_0x7e0cb3(0xea)]+'.');return _0x2f2a69[_0x7e0cb3(0xeb)]((_0x2de3d4,_0x3d534a)=>parseDataUpdateId(_0x2de3d4,Array[_0x7e0cb3(0xf8)](_0x6c268f)?_0x7e0cb3(0xfa)+_0x3d534a+']':'id'));}function a125_0x1962(){const _0x5e7271=['data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','Invalid\x20JSON\x20for\x20--params:\x20','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','join','764gNkymZ','isSafeInteger','16980jOSfha','8571DeeJLU','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','1215606StDZgo','isArray','5138276gtmlke','id[','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','string','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','items','data\x20update\x20can\x20update\x20at\x20most\x20','1141IjgQcF','622773oegrPs','56kmGtwW','584950HHjmFv','object','validation','40llYJRm','data\x20update\x20--params.','839764qKkQoE','length','map','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','\x20records\x20per\x20call;\x20received\x20'];a125_0x1962=function(){return _0x5e7271;};return a125_0x1962();}export function normalizeUpdateParamsForRuntime(_0x40a5d5,_0x45c0c2){const _0x17c68b=a125_0x4794;if(Array[_0x17c68b(0xf8)](_0x40a5d5['id'])&&_0x45c0c2[_0x17c68b(0xea)]>0x1)return{..._0x40a5d5,'id':_0x45c0c2[_0x17c68b(0xf1)](',')};return _0x40a5d5;}
@@ -1 +1 @@
1
- const a124_0x4dfc78=a124_0x441f;function a124_0x441f(_0x5901d4,_0x32fbf7){_0x5901d4=_0x5901d4-0x1cc;const _0x3d09e1=a124_0x3d09();let _0x441f1b=_0x3d09e1[_0x5901d4];return _0x441f1b;}(function(_0x22317a,_0x10845f){const _0x6f5b77=a124_0x441f,_0x20655a=_0x22317a();while(!![]){try{const _0x18689f=-parseInt(_0x6f5b77(0x1d4))/0x1*(parseInt(_0x6f5b77(0x1d6))/0x2)+-parseInt(_0x6f5b77(0x1cf))/0x3+parseInt(_0x6f5b77(0x1cc))/0x4*(-parseInt(_0x6f5b77(0x1d3))/0x5)+-parseInt(_0x6f5b77(0x1d0))/0x6+-parseInt(_0x6f5b77(0x1ce))/0x7+-parseInt(_0x6f5b77(0x1d5))/0x8+parseInt(_0x6f5b77(0x1d2))/0x9;if(_0x18689f===_0x10845f)break;else _0x20655a['push'](_0x20655a['shift']());}catch(_0xebf684){_0x20655a['push'](_0x20655a['shift']());}}}(a124_0x3d09,0x9279a));export const isWindows=process[a124_0x4dfc78(0x1d1)]===a124_0x4dfc78(0x1cd);function a124_0x3d09(){const _0x5e953a=['1884906tenfyb','platform','30627108PPyuWo','8925fxbwxh','1603XIqChQ','8312240IpflVN','774eaJLHp','1468oiVFIB','win32','1166228vBihjH','23427LAZztZ'];a124_0x3d09=function(){return _0x5e953a;};return a124_0x3d09();}export function resolveNpmBin(_0x401eb9){return isWindows?_0x401eb9+'.cmd':_0x401eb9;}
1
+ function a126_0x426b(){const _0x5c8bb0=['.cmd','11463025fAuwFo','50892860YGmyNo','255YHqVar','790508hLZosN','9ERznED','7081896BrNWjP','1412594SBTjeI','51900kJhwjb','4079547UJYzOy','2ZYEbfW'];a126_0x426b=function(){return _0x5c8bb0;};return a126_0x426b();}function a126_0x36f6(_0x1caa0d,_0x885345){_0x1caa0d=_0x1caa0d-0x143;const _0x426bcd=a126_0x426b();let _0x36f6e4=_0x426bcd[_0x1caa0d];return _0x36f6e4;}(function(_0x2ea4ea,_0x454645){const _0x11b8d7=a126_0x36f6,_0x43e3dc=_0x2ea4ea();while(!![]){try{const _0x400454=-parseInt(_0x11b8d7(0x147))/0x1*(parseInt(_0x11b8d7(0x144))/0x2)+-parseInt(_0x11b8d7(0x146))/0x3+-parseInt(_0x11b8d7(0x14c))/0x4+-parseInt(_0x11b8d7(0x14b))/0x5*(parseInt(_0x11b8d7(0x145))/0x6)+-parseInt(_0x11b8d7(0x149))/0x7+parseInt(_0x11b8d7(0x143))/0x8+parseInt(_0x11b8d7(0x14d))/0x9*(parseInt(_0x11b8d7(0x14a))/0xa);if(_0x400454===_0x454645)break;else _0x43e3dc['push'](_0x43e3dc['shift']());}catch(_0x45e07e){_0x43e3dc['push'](_0x43e3dc['shift']());}}}(a126_0x426b,0xe2020));export const isWindows=process['platform']==='win32';export function resolveNpmBin(_0x204aea){const _0xf0a936=a126_0x36f6;return isWindows?_0x204aea+_0xf0a936(0x148):_0x204aea;}
@@ -1 +1 @@
1
- (function(_0x12b499,_0x4ec35a){const _0x44cd51=a125_0x3f1e,_0x3bf1d4=_0x12b499();while(!![]){try{const _0x21b7e0=parseInt(_0x44cd51(0x1b8))/0x1*(parseInt(_0x44cd51(0x1ac))/0x2)+parseInt(_0x44cd51(0x1c6))/0x3*(parseInt(_0x44cd51(0x1b2))/0x4)+-parseInt(_0x44cd51(0x1d0))/0x5*(parseInt(_0x44cd51(0x1bc))/0x6)+parseInt(_0x44cd51(0x1ad))/0x7+-parseInt(_0x44cd51(0x1b1))/0x8+parseInt(_0x44cd51(0x1c4))/0x9*(parseInt(_0x44cd51(0x1cd))/0xa)+-parseInt(_0x44cd51(0x1cc))/0xb*(parseInt(_0x44cd51(0x1d1))/0xc);if(_0x21b7e0===_0x4ec35a)break;else _0x3bf1d4['push'](_0x3bf1d4['shift']());}catch(_0x29f852){_0x3bf1d4['push'](_0x3bf1d4['shift']());}}}(a125_0x5bf0,0xdb9be));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';function a125_0x3f1e(_0x402861,_0x441396){_0x402861=_0x402861-0x1ab;const _0x5bf0f2=a125_0x5bf0();let _0x3f1e16=_0x5bf0f2[_0x402861];return _0x3f1e16;}const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function parseSemver(_0x4f6616){const _0x55f0db=a125_0x3f1e,_0x45687d=_0x4f6616['trim']()[_0x55f0db(0x1be)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x45687d)return null;return{'major':Number(_0x45687d[0x1]),'minor':Number(_0x45687d[0x2]),'patch':Number(_0x45687d[0x3]),'prerelease':_0x45687d[0x4]};}function compareSemver(_0xa762b,_0x83f0a){const _0x5e5f6e=a125_0x3f1e,_0x3c0b96=parseSemver(_0xa762b),_0xc0089e=parseSemver(_0x83f0a);if(!_0x3c0b96||!_0xc0089e)throw new Error(_0x5e5f6e(0x1cb));for(const _0x3ad9c4 of[_0x5e5f6e(0x1c1),_0x5e5f6e(0x1bb),'patch']){if(_0x3c0b96[_0x3ad9c4]<_0xc0089e[_0x3ad9c4])return-0x1;if(_0x3c0b96[_0x3ad9c4]>_0xc0089e[_0x3ad9c4])return 0x1;}if(!_0x3c0b96[_0x5e5f6e(0x1ba)]&&!_0xc0089e[_0x5e5f6e(0x1ba)])return 0x0;if(!_0x3c0b96[_0x5e5f6e(0x1ba)])return 0x1;if(!_0xc0089e['prerelease'])return-0x1;if(_0x3c0b96['prerelease']===_0xc0089e[_0x5e5f6e(0x1ba)])return 0x0;return _0x3c0b96[_0x5e5f6e(0x1ba)]<_0xc0089e[_0x5e5f6e(0x1ba)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0xea3096=a125_0x3f1e,_0x4ce5d4=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0xea3096(0x1b4)]()[_0xea3096(0x1cf)]();return _0x4ce5d4==='1'||_0x4ce5d4===_0xea3096(0x1ab)||_0x4ce5d4===_0xea3096(0x1c2);}function cacheRoot(){const _0x517be9=a125_0x3f1e;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x517be9(0x1ae));}export function getUpdateNoticeCachePath(){const _0x52e119=a125_0x3f1e;return join(cacheRoot(),_0x52e119(0x1c7),_0x52e119(0x1bf));}async function readUpdateNoticeCache(){const _0x9f30cd=a125_0x3f1e;try{const _0x5e0029=await readFile(getUpdateNoticeCachePath(),_0x9f30cd(0x1c3)),_0x3c59b1=JSON['parse'](_0x5e0029);if(!_0x3c59b1||typeof _0x3c59b1!==_0x9f30cd(0x1b7))return{};return _0x3c59b1;}catch{return{};}}async function writeUpdateNoticeCache(_0x1a0a61){const _0x11a3ca=a125_0x3f1e;try{const _0x31b45e=getUpdateNoticeCachePath();await mkdir(dirname(_0x31b45e),{'recursive':!![]}),await writeFile(_0x31b45e,JSON['stringify'](_0x1a0a61,null,0x2)+'\x0a',_0x11a3ca(0x1c3));}catch{}}function isFreshCheck(_0x17e322,_0x1a2999){const _0x33d6d7=a125_0x3f1e;return typeof _0x17e322['checkedAt']===_0x33d6d7(0x1b0)&&_0x1a2999-_0x17e322[_0x33d6d7(0x1d2)]<UPDATE_CHECK_TTL_MS;}function a125_0x5bf0(){const _0x3fb185=['lovrabet-cli','json','lastNotifiedAt','/-/package/','Invalid\x20semver','55fmVfHQ','50pzdxeR','/v/','toLowerCase','717415ANtXvr','1417992oLIPcR','checkedAt','true','46082ekoCiY','7551964jTptgv','.cache','filter','number','9702280Knzqrg','3350344RHJrJO','lastNotifiedVersion','trim','https://www.npmjs.com/package/','fromEntries','object','73oufXAx','map','prerelease','minor','66ybLBRF','timeout','match','update-check.json','entries','major','yes','utf8','1229427nGGoap','/dist-tags','3TYIgmA'];a125_0x5bf0=function(){return _0x3fb185;};return a125_0x5bf0();}function isRecentlyNotified(_0x259e22,_0x518d5b,_0x8fc566){const _0x162826=a125_0x3f1e;return _0x259e22[_0x162826(0x1b3)]===_0x518d5b&&typeof _0x259e22[_0x162826(0x1c9)]===_0x162826(0x1b0)&&_0x8fc566-_0x259e22[_0x162826(0x1c9)]<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0xb19b84=0x5dc){const _0x8ce6ea=a125_0x3f1e;try{const _0x431e37=NPM_REGISTRY_BASE_URL+_0x8ce6ea(0x1ca)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x8ce6ea(0x1c5),_0x53c28a=await fetch(_0x431e37,{'signal':AbortSignal[_0x8ce6ea(0x1bd)](_0xb19b84)});if(!_0x53c28a['ok'])return null;const _0x9d7317=await _0x53c28a[_0x8ce6ea(0x1c8)]();if(!_0x9d7317||typeof _0x9d7317!==_0x8ce6ea(0x1b7))return null;return Object[_0x8ce6ea(0x1b6)](Object[_0x8ce6ea(0x1c0)](_0x9d7317)[_0x8ce6ea(0x1af)](([,_0x3ca8a5])=>typeof _0x3ca8a5==='string'&&_0x3ca8a5['trim']())[_0x8ce6ea(0x1b9)](([_0x13c4bd,_0x5f5a3b])=>[_0x13c4bd,String(_0x5f5a3b)[_0x8ce6ea(0x1b4)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x990db3){const _0x268caf=a125_0x3f1e;return _0x268caf(0x1b5)+LOVRABET_NPM_PACKAGE_NAME+_0x268caf(0x1ce)+_0x990db3;}export async function resolveLatestUpdateNotice(){const _0x460695=a125_0x3f1e;if(isUpdateNoticeDisabled())return null;try{const _0x3728ce=Date['now'](),_0x5110d8=getCliVersion(),_0x29c06c=await readUpdateNoticeCache();let _0x3ffeab=isFreshCheck(_0x29c06c,_0x3728ce)?_0x29c06c['latest']?.[_0x460695(0x1b4)]():undefined;if(!_0x3ffeab&&!isFreshCheck(_0x29c06c,_0x3728ce)){const _0x1ef8df=await fetchNpmDistTags();_0x3ffeab=_0x1ef8df?.['latest']?.[_0x460695(0x1b4)](),await writeUpdateNoticeCache({..._0x29c06c,'checkedAt':_0x3728ce,'latest':_0x3ffeab,'failed':!_0x3ffeab});}if(!_0x3ffeab||compareSemver(_0x5110d8,_0x3ffeab)>=0x0)return null;if(isRecentlyNotified(_0x29c06c,_0x3ffeab,_0x3728ce))return null;const _0x2bc4c2=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0x29c06c,'checkedAt':isFreshCheck(_0x29c06c,_0x3728ce)?_0x29c06c[_0x460695(0x1d2)]:_0x3728ce,'latest':_0x3ffeab,'failed':![],'lastNotifiedVersion':_0x3ffeab,'lastNotifiedAt':_0x3728ce}),{'command':_0x2bc4c2,'current':_0x5110d8,'latest':_0x3ffeab,'url':buildNpmVersionUrl(_0x3ffeab),'message':CLI_BIN_NAME+'\x20'+_0x3ffeab+'\x20available,\x20current\x20'+_0x5110d8+',\x20run:\x20'+_0x2bc4c2};}catch{return null;}}
1
+ (function(_0x446bd0,_0x4e48c8){const _0x2daa36=a127_0x5979,_0x32e127=_0x446bd0();while(!![]){try{const _0x527745=parseInt(_0x2daa36(0x104))/0x1*(parseInt(_0x2daa36(0x113))/0x2)+parseInt(_0x2daa36(0x111))/0x3*(parseInt(_0x2daa36(0x10a))/0x4)+-parseInt(_0x2daa36(0xf4))/0x5*(parseInt(_0x2daa36(0x101))/0x6)+parseInt(_0x2daa36(0x107))/0x7*(parseInt(_0x2daa36(0xf8))/0x8)+-parseInt(_0x2daa36(0x100))/0x9*(parseInt(_0x2daa36(0x118))/0xa)+parseInt(_0x2daa36(0x10d))/0xb*(-parseInt(_0x2daa36(0x10b))/0xc)+-parseInt(_0x2daa36(0x108))/0xd*(-parseInt(_0x2daa36(0x10f))/0xe);if(_0x527745===_0x4e48c8)break;else _0x32e127['push'](_0x32e127['shift']());}catch(_0x40b7b4){_0x32e127['push'](_0x32e127['shift']());}}}(a127_0x58d8,0x596e7));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a127_0x58d8(){const _0x10d22c=['72926WVFkmP','minor','21621HBzaLg','\x20update','2ybGRII','/dist-tags','lastNotifiedVersion','prerelease','patch','4102270jwGlDq','utf8','trim','\x20available,\x20current\x20','Invalid\x20semver','object','yes','155NcCOdp',',\x20run:\x20','update-check.json','/v/','64yLjjGz','lastNotifiedAt','checkedAt','fromEntries','timeout','toLowerCase','latest','number','9UwPZJD','54564hAkSUe','lovrabet-cli','.cache','48421eBGZFj','https://www.npmjs.com/package/','json','140770RJgpFS','1898PNKngS','string','84xoNpUb','24EfbJtj','parse','344905rIlrjl','stringify'];a127_0x58d8=function(){return _0x10d22c;};return a127_0x58d8();}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(_0x3393d8){const _0xadc6c5=_0x3393d8['trim']()['match'](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0xadc6c5)return null;return{'major':Number(_0xadc6c5[0x1]),'minor':Number(_0xadc6c5[0x2]),'patch':Number(_0xadc6c5[0x3]),'prerelease':_0xadc6c5[0x4]};}function compareSemver(_0xbdc780,_0x313254){const _0x194a67=a127_0x5979,_0x229137=parseSemver(_0xbdc780),_0x240524=parseSemver(_0x313254);if(!_0x229137||!_0x240524)throw new Error(_0x194a67(0x11c));for(const _0x48509b of['major',_0x194a67(0x110),_0x194a67(0x117)]){if(_0x229137[_0x48509b]<_0x240524[_0x48509b])return-0x1;if(_0x229137[_0x48509b]>_0x240524[_0x48509b])return 0x1;}if(!_0x229137['prerelease']&&!_0x240524[_0x194a67(0x116)])return 0x0;if(!_0x229137[_0x194a67(0x116)])return 0x1;if(!_0x240524[_0x194a67(0x116)])return-0x1;if(_0x229137[_0x194a67(0x116)]===_0x240524['prerelease'])return 0x0;return _0x229137[_0x194a67(0x116)]<_0x240524['prerelease']?-0x1:0x1;}function a127_0x5979(_0xc40aa,_0x3c43dd){_0xc40aa=_0xc40aa-0xf4;const _0x58d86d=a127_0x58d8();let _0x5979ac=_0x58d86d[_0xc40aa];return _0x5979ac;}function isUpdateNoticeDisabled(){const _0x2aef28=a127_0x5979,_0x1574bd=process.env.LOVRABET_NO_UPDATE_NOTICE?.['trim']()[_0x2aef28(0xfd)]();return _0x1574bd==='1'||_0x1574bd==='true'||_0x1574bd===_0x2aef28(0x11e);}function cacheRoot(){const _0x30c136=a127_0x5979;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x30c136(0x103));}export function getUpdateNoticeCachePath(){const _0x464de8=a127_0x5979;return join(cacheRoot(),_0x464de8(0x102),_0x464de8(0xf6));}async function readUpdateNoticeCache(){const _0x26cee4=a127_0x5979;try{const _0xfe2d8b=await readFile(getUpdateNoticeCachePath(),_0x26cee4(0x119)),_0x289635=JSON[_0x26cee4(0x10c)](_0xfe2d8b);if(!_0x289635||typeof _0x289635!==_0x26cee4(0x11d))return{};return _0x289635;}catch{return{};}}async function writeUpdateNoticeCache(_0x1765c3){const _0x540991=a127_0x5979;try{const _0x3f0f57=getUpdateNoticeCachePath();await mkdir(dirname(_0x3f0f57),{'recursive':!![]}),await writeFile(_0x3f0f57,JSON[_0x540991(0x10e)](_0x1765c3,null,0x2)+'\x0a',_0x540991(0x119));}catch{}}function isFreshCheck(_0x20c149,_0x224ce8){const _0x47a9d8=a127_0x5979;return typeof _0x20c149[_0x47a9d8(0xfa)]==='number'&&_0x224ce8-_0x20c149[_0x47a9d8(0xfa)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x1dd722,_0x7ad008,_0x5cee84){const _0x18945c=a127_0x5979;return _0x1dd722[_0x18945c(0x115)]===_0x7ad008&&typeof _0x1dd722[_0x18945c(0xf9)]===_0x18945c(0xff)&&_0x5cee84-_0x1dd722['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x3681ba=0x5dc){const _0x2ff78f=a127_0x5979;try{const _0x32eddf=NPM_REGISTRY_BASE_URL+'/-/package/'+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x2ff78f(0x114),_0x3a6683=await fetch(_0x32eddf,{'signal':AbortSignal[_0x2ff78f(0xfc)](_0x3681ba)});if(!_0x3a6683['ok'])return null;const _0x2a28a9=await _0x3a6683[_0x2ff78f(0x106)]();if(!_0x2a28a9||typeof _0x2a28a9!==_0x2ff78f(0x11d))return null;return Object[_0x2ff78f(0xfb)](Object['entries'](_0x2a28a9)['filter'](([,_0x297d9d])=>typeof _0x297d9d===_0x2ff78f(0x109)&&_0x297d9d['trim']())['map'](([_0x293c0d,_0x2f98ce])=>[_0x293c0d,String(_0x2f98ce)['trim']()]));}catch{return null;}}export function buildNpmVersionUrl(_0x2efa46){const _0x48267f=a127_0x5979;return _0x48267f(0x105)+LOVRABET_NPM_PACKAGE_NAME+_0x48267f(0xf7)+_0x2efa46;}export async function resolveLatestUpdateNotice(){const _0x11cb6=a127_0x5979;if(isUpdateNoticeDisabled())return null;try{const _0x221b7b=Date['now'](),_0x122879=getCliVersion(),_0x3c96eb=await readUpdateNoticeCache();let _0x6a2476=isFreshCheck(_0x3c96eb,_0x221b7b)?_0x3c96eb[_0x11cb6(0xfe)]?.[_0x11cb6(0x11a)]():undefined;if(!_0x6a2476&&!isFreshCheck(_0x3c96eb,_0x221b7b)){const _0x5c315d=await fetchNpmDistTags();_0x6a2476=_0x5c315d?.[_0x11cb6(0xfe)]?.['trim'](),await writeUpdateNoticeCache({..._0x3c96eb,'checkedAt':_0x221b7b,'latest':_0x6a2476,'failed':!_0x6a2476});}if(!_0x6a2476||compareSemver(_0x122879,_0x6a2476)>=0x0)return null;if(isRecentlyNotified(_0x3c96eb,_0x6a2476,_0x221b7b))return null;const _0x2cbe11=CLI_BIN_NAME+_0x11cb6(0x112);return await writeUpdateNoticeCache({..._0x3c96eb,'checkedAt':isFreshCheck(_0x3c96eb,_0x221b7b)?_0x3c96eb[_0x11cb6(0xfa)]:_0x221b7b,'latest':_0x6a2476,'failed':![],'lastNotifiedVersion':_0x6a2476,'lastNotifiedAt':_0x221b7b}),{'command':_0x2cbe11,'current':_0x122879,'latest':_0x6a2476,'url':buildNpmVersionUrl(_0x6a2476),'message':CLI_BIN_NAME+'\x20'+_0x6a2476+_0x11cb6(0x11b)+_0x122879+_0x11cb6(0xf5)+_0x2cbe11};}catch{return null;}}
@@ -1 +1 @@
1
- function a126_0x2363(_0x8b0691,_0x4ff631){_0x8b0691=_0x8b0691-0x1ee;const _0x412034=a126_0x4120();let _0x23633b=_0x412034[_0x8b0691];return _0x23633b;}(function(_0x43e6a1,_0x330124){const _0x4da1db=a126_0x2363,_0x2641d9=_0x43e6a1();while(!![]){try{const _0x473ad6=-parseInt(_0x4da1db(0x1f7))/0x1+parseInt(_0x4da1db(0x1f1))/0x2+parseInt(_0x4da1db(0x1f9))/0x3*(-parseInt(_0x4da1db(0x1ef))/0x4)+parseInt(_0x4da1db(0x1f2))/0x5+parseInt(_0x4da1db(0x1f5))/0x6+-parseInt(_0x4da1db(0x1f6))/0x7*(-parseInt(_0x4da1db(0x1f0))/0x8)+-parseInt(_0x4da1db(0x1f4))/0x9*(parseInt(_0x4da1db(0x1f8))/0xa);if(_0x473ad6===_0x330124)break;else _0x2641d9['push'](_0x2641d9['shift']());}catch(_0x3de9f4){_0x2641d9['push'](_0x2641d9['shift']());}}}(a126_0x4120,0x1f5aa));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';function a126_0x4120(){const _0x9722ab=['936012xCCKUU','3962bdtTFJ','19753qUveHd','100YgGNQj','290148cjyRiO','unknown','8jeoanV','872gLSSgN','398112cseOEK','198245cDJzXu','slice','103311fJxZyj'];a126_0x4120=function(){return _0x9722ab;};return a126_0x4120();}export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x4f6141=a126_0x2363,_0x38b234=String(GIT_COMMIT);return _0x38b234&&_0x38b234!==_0x4f6141(0x1ee)?_0x38b234:'';}export function getCliVersionDisplay(){const _0x547647=a126_0x2363,_0x19e2ea=getCliGitCommit(),_0x86272=BUILD_TIME[_0x547647(0x1f3)](0x0,0xa);if(!_0x19e2ea||!_0x86272)return VERSION;return VERSION+'\x20('+_0x19e2ea+',\x20'+_0x86272+')';}
1
+ (function(_0x242031,_0x3a21ae){const _0x4bf07a=a128_0x5d49,_0x247936=_0x242031();while(!![]){try{const _0x14b80d=-parseInt(_0x4bf07a(0xbc))/0x1+parseInt(_0x4bf07a(0xc1))/0x2*(-parseInt(_0x4bf07a(0xbf))/0x3)+parseInt(_0x4bf07a(0xbe))/0x4+parseInt(_0x4bf07a(0xc4))/0x5+parseInt(_0x4bf07a(0xba))/0x6+parseInt(_0x4bf07a(0xc3))/0x7*(-parseInt(_0x4bf07a(0xbb))/0x8)+parseInt(_0x4bf07a(0xc0))/0x9;if(_0x14b80d===_0x3a21ae)break;else _0x247936['push'](_0x247936['shift']());}catch(_0x5d54a8){_0x247936['push'](_0x247936['shift']());}}}(a128_0x2a60,0x1f378));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x196f65=a128_0x5d49,_0x15963a=String(GIT_COMMIT);return _0x15963a&&_0x15963a!==_0x196f65(0xbd)?_0x15963a:'';}function a128_0x5d49(_0x40cc32,_0x161009){_0x40cc32=_0x40cc32-0xba;const _0x2a6065=a128_0x2a60();let _0x5d49ad=_0x2a6065[_0x40cc32];return _0x5d49ad;}function a128_0x2a60(){const _0x5180e0=['slice','46627HFrBYm','1133425DpxTKZ','91506xZtQwU','208iJPnMc','101378ZLdsNh','unknown','1006576vVwkRg','201939OiQNqk','391266lpwAfp','4AOvrol'];a128_0x2a60=function(){return _0x5180e0;};return a128_0x2a60();}export function getCliVersionDisplay(){const _0x407abc=a128_0x5d49,_0x36509c=getCliGitCommit(),_0x4b7e0b=BUILD_TIME[_0x407abc(0xc2)](0x0,0xa);if(!_0x36509c||!_0x4b7e0b)return VERSION;return VERSION+'\x20('+_0x36509c+',\x20'+_0x4b7e0b+')';}
@@ -1 +1 @@
1
- function a127_0xb17d(_0x16fdef,_0x41167f){_0x16fdef=_0x16fdef-0x1ee;var _0xfc4460=a127_0xfc44();var _0xb17d1a=_0xfc4460[_0x16fdef];return _0xb17d1a;}(function(_0x1bfc9d,_0x16ff10){var _0x41f82d=a127_0xb17d,_0x360134=_0x1bfc9d();while(!![]){try{var _0x1e48b7=-parseInt(_0x41f82d(0x1f9))/0x1*(parseInt(_0x41f82d(0x1f1))/0x2)+-parseInt(_0x41f82d(0x1f8))/0x3+parseInt(_0x41f82d(0x1f5))/0x4*(parseInt(_0x41f82d(0x1f4))/0x5)+-parseInt(_0x41f82d(0x1f7))/0x6+-parseInt(_0x41f82d(0x1ee))/0x7+parseInt(_0x41f82d(0x1ef))/0x8*(parseInt(_0x41f82d(0x1f3))/0x9)+parseInt(_0x41f82d(0x1f0))/0xa*(parseInt(_0x41f82d(0x1f2))/0xb);if(_0x1e48b7===_0x16ff10)break;else _0x360134['push'](_0x360134['shift']());}catch(_0x488aa6){_0x360134['push'](_0x360134['shift']());}}}(a127_0xfc44,0x4cc4f));function a127_0xfc44(){var _0xa37cb4=['3072996lpXCrn','1173153kLzHgh','1407YoVpdA','58618KQVjJp','361312qUBcPs','10Tlukrr','354asTsqa','12134045mHLOye','18MLlbJg','5oRURdP','1126616HTMROA','write'];a127_0xfc44=function(){return _0xa37cb4;};return a127_0xfc44();}export function writeCliSideChannelLine(_0x1381b6){var _0x4c7a09=a127_0xb17d;process['stderr'][_0x4c7a09(0x1f6)](_0x1381b6+'\x0a');}
1
+ function a129_0x3e09(_0x29263a,_0x3f8dbe){_0x29263a=_0x29263a-0x9c;var _0x209995=a129_0x2099();var _0x3e09b7=_0x209995[_0x29263a];return _0x3e09b7;}(function(_0x3ff70a,_0x1f67f3){var _0x5b7eaa=a129_0x3e09,_0x1276b8=_0x3ff70a();while(!![]){try{var _0x1e74b2=parseInt(_0x5b7eaa(0xa7))/0x1*(parseInt(_0x5b7eaa(0xa6))/0x2)+-parseInt(_0x5b7eaa(0x9c))/0x3*(parseInt(_0x5b7eaa(0xa2))/0x4)+-parseInt(_0x5b7eaa(0xa0))/0x5+parseInt(_0x5b7eaa(0x9e))/0x6*(-parseInt(_0x5b7eaa(0xa4))/0x7)+-parseInt(_0x5b7eaa(0xa5))/0x8*(-parseInt(_0x5b7eaa(0xa3))/0x9)+parseInt(_0x5b7eaa(0xa1))/0xa*(-parseInt(_0x5b7eaa(0xa8))/0xb)+parseInt(_0x5b7eaa(0x9f))/0xc;if(_0x1e74b2===_0x1f67f3)break;else _0x1276b8['push'](_0x1276b8['shift']());}catch(_0x4c6999){_0x1276b8['push'](_0x1276b8['shift']());}}}(a129_0x2099,0x56ebe));function a129_0x2099(){var _0x1dc134=['133nFjEhT','1295384sxJCeV','76yibJyX','16979tLiCEy','16071ZHnXdt','write','1943571fOBQnz','stderr','155358PalMOF','15495516kovEXd','572950ahkjdY','3340GMBUko','4epJHWu','9XLSQlm'];a129_0x2099=function(){return _0x1dc134;};return a129_0x2099();}export function writeCliSideChannelLine(_0x3b6d80){var _0x748a62=a129_0x3e09;process[_0x748a62(0x9d)][_0x748a62(0xa9)](_0x3b6d80+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.1.22-beta.1",
3
+ "version": "2.1.22-beta.2",
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": [
@@ -79,7 +79,9 @@
79
79
  "fs-extra": "^11.3.6",
80
80
  "ink": "^6.2.3",
81
81
  "ink-spinner": "^5.0.0",
82
+ "jsdom": "26.1.0",
82
83
  "meow": "^13.2.0",
84
+ "mermaid": "11.16.0",
83
85
  "react": "^19.2.0",
84
86
  "winston": "^3.17.0",
85
87
  "ws": "8.20.1",