@lovrabet/lovrabet-cli 2.0.2 → 2.0.4-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/LICENSE +184 -0
  2. package/lib/cli.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/mock-loader.js +1 -1
  6. package/lib/commands/app/remote-source.js +1 -1
  7. package/lib/commands/app/shared.js +1 -1
  8. package/lib/commands/auth/index.js +1 -1
  9. package/lib/commands/auth/prompt.js +1 -1
  10. package/lib/commands/bff/detail.js +1 -1
  11. package/lib/commands/bff/exec.js +1 -1
  12. package/lib/commands/bff/index.js +1 -1
  13. package/lib/commands/common/config-policy.js +1 -1
  14. package/lib/commands/common/constraints.js +1 -1
  15. package/lib/commands/common/flags.js +1 -1
  16. package/lib/commands/config/definitions.js +1 -1
  17. package/lib/commands/config/shared.js +1 -1
  18. package/lib/commands/data/index.js +1 -1
  19. package/lib/commands/dataset/detail.js +1 -1
  20. package/lib/commands/dataset/index.js +1 -1
  21. package/lib/commands/dataset/list.js +1 -1
  22. package/lib/commands/doctor.js +1 -1
  23. package/lib/commands/init.js +1 -1
  24. package/lib/commands/logs/index.js +1 -1
  25. package/lib/commands/registry.js +1 -1
  26. package/lib/commands/schema.js +1 -1
  27. package/lib/commands/skill/index.js +1 -0
  28. package/lib/commands/sql/detail.js +1 -1
  29. package/lib/commands/sql/exec.js +1 -1
  30. package/lib/commands/sql/index.js +1 -1
  31. package/lib/config/schema.js +1 -1
  32. package/lib/constant/auth-mode.js +1 -1
  33. package/lib/constant/cli.js +1 -1
  34. package/lib/constant/defaults.js +1 -1
  35. package/lib/constant/domain.js +1 -1
  36. package/lib/constant/env.js +1 -1
  37. package/lib/constant/output.js +1 -1
  38. package/lib/constant/risk.js +1 -1
  39. package/lib/constant/url.js +1 -0
  40. package/lib/context.js +1 -1
  41. package/lib/core/api-client.js +1 -1
  42. package/lib/core/db-resolver.js +1 -1
  43. package/lib/core/sdk-client.js +1 -1
  44. package/lib/errors.js +1 -1
  45. package/lib/framework/build-all-flags.js +1 -1
  46. package/lib/framework/dryrun.js +1 -1
  47. package/lib/framework/flags.js +1 -1
  48. package/lib/framework/help.js +1 -1
  49. package/lib/framework/index.js +1 -1
  50. package/lib/framework/output.js +1 -1
  51. package/lib/framework/preparse.js +1 -1
  52. package/lib/framework/response.js +1 -1
  53. package/lib/framework/runner-confirmation.js +1 -1
  54. package/lib/framework/runner-error.js +1 -1
  55. package/lib/framework/runner.js +1 -1
  56. package/lib/framework/schema-export.js +1 -1
  57. package/lib/framework/types.js +1 -1
  58. package/lib/help.js +1 -1
  59. package/lib/skills/npx-skills-add.js +1 -0
  60. package/lib/utils/apply-jq-filter.js +1 -1
  61. package/lib/utils/logger.js +1 -1
  62. package/lib/utils/params.js +1 -1
  63. package/lib/utils/platform.js +1 -0
  64. package/lib/utils/version.js +1 -1
  65. package/lib/utils/write-cli-side-channel.js +1 -1
  66. package/package.json +8 -7
@@ -1 +1 @@
1
- const a51_0xa91d8b=a51_0x1d18;(function(_0x194aaa,_0x4a7e30){const _0x4d2754=a51_0x1d18,_0x3b77b9=_0x194aaa();while(!![]){try{const _0x4d56e0=-parseInt(_0x4d2754(0x1cf))/0x1*(parseInt(_0x4d2754(0x1d8))/0x2)+parseInt(_0x4d2754(0x1c7))/0x3*(parseInt(_0x4d2754(0x1dc))/0x4)+-parseInt(_0x4d2754(0x1ce))/0x5+-parseInt(_0x4d2754(0x1c6))/0x6+-parseInt(_0x4d2754(0x1c9))/0x7*(parseInt(_0x4d2754(0x1e8))/0x8)+parseInt(_0x4d2754(0x1c3))/0x9*(-parseInt(_0x4d2754(0x1d3))/0xa)+-parseInt(_0x4d2754(0x1d0))/0xb*(-parseInt(_0x4d2754(0x1de))/0xc);if(_0x4d56e0===_0x4a7e30)break;else _0x3b77b9['push'](_0x3b77b9['shift']());}catch(_0xd885bd){_0x3b77b9['push'](_0x3b77b9['shift']());}}}(a51_0x45a1,0x71be0));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{isNonInteractiveMode,readAppCodeFromConfig}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';import{getApiDomain}from'../constant/domain.js';import{buildConfirmationLines,reconstructCommandArgv}from'../framework/runner-confirmation.js';function a51_0x1d18(_0xe583a9,_0x3ab9f2){_0xe583a9=_0xe583a9-0x1c2;const _0x45a101=a51_0x45a1();let _0x1d188d=_0x45a101[_0xe583a9];return _0x1d188d;}import{mapUserFacingExecuteError}from'../framework/runner-error.js';export function resolveAuthMode(_0x14002a){const _0x1a4b08=a51_0x1d18;return void _0x14002a,AUTH_MODE[_0x1a4b08(0x1ea)];}export function createPipelineEnv(_0xa1605a,_0x560a45){const _0x3d7367=a51_0x1d18;return{'rawFlags':_0x560a45,'appCode':_0xa1605a[_0x3d7367(0x1db)]||process.env.RABETBASE_APPCODE||readAppCodeFromConfig(),'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x560a45),'defaultFormat':_0xa1605a[_0x3d7367(0x1c2)],'defaultPageSize':_0xa1605a[_0x3d7367(0x1cb)],'defaultVerbose':_0xa1605a[_0x3d7367(0x1ca)],'riskLevel':_0xa1605a[_0x3d7367(0x1d9)],'accessKey':_0xa1605a[_0x3d7367(0x1d2)],'env':_0xa1605a[_0x3d7367(0x1cd)],'mergedCli':{'defaultApp':_0xa1605a[_0x3d7367(0x1d5)],'currentApp':_0xa1605a['currentApp'],'appCode':_0xa1605a['appCode']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x1d2e4f=>PIPELINE_FLAG_NAMES[a51_0xa91d8b(0x1e5)](_0x1d2e4f[a51_0xa91d8b(0x1c8)]))['map'](({name:_0x4892b5,type:_0x27f640,description:_0x4c3151})=>({'name':_0x4892b5,'type':_0x27f640,'description':_0x4c3151})),'formatOutput':formatOutput,'getCommandLabel'(_0x3e3399){const _0x1e5ae2=a51_0xa91d8b;return CLI_BIN_NAME+'\x20'+_0x3e3399[_0x1e5ae2(0x1dd)]+'\x20'+_0x3e3399[_0x1e5ae2(0x1e1)];},'riskPolicy':{'onViolation'(_0x25fe5c){console['error'](_0x25fe5c);},'createError'(_0x27e60d){const _0x31e3e7=a51_0xa91d8b;return CliErrors[_0x31e3e7(0x1e4)](_0x27e60d);}},async 'prepare'(_0x5b5aa4,_0x19246f){const _0x2b08e6=a51_0xa91d8b,_0x18244e=resolveAuthMode(_0x19246f);if(_0x5b5aa4[_0x2b08e6(0x1d6)]!==![]){if(!_0x19246f[_0x2b08e6(0x1d2)])throw CliErrors['authRequired'](_0x2b08e6(0x1d7));const {setActiveAK:_0x384f1f}=await import(_0x2b08e6(0x1e7));_0x384f1f(_0x19246f[_0x2b08e6(0x1d2)]);}let _0x485b76='';if(_0x5b5aa4[_0x2b08e6(0x1e9)]!==![]){_0x485b76=_0x19246f[_0x2b08e6(0x1db)]??'';if(!_0x485b76)throw CliErrors[_0x2b08e6(0x1d1)](_0x2b08e6(0x1c4));}if(_0x485b76){const {initSdkClient:_0x33354a}=await import(_0x2b08e6(0x1e2));_0x33354a({'appCode':_0x485b76,'env':_0x19246f['env']??_0x2b08e6(0x1c5),'accessKey':_0x19246f['accessKey'],'authMode':_0x18244e});}return{'defaults':{'booleans':{'verbose':_0x19246f[_0x2b08e6(0x1da)]},'numbers':{'pagesize':_0x19246f[_0x2b08e6(0x1e6)]}},'extras':{'appCode':_0x485b76,'cookie':'','apiDomain':_0x19246f['apiDomain'],'apiDir':'','accessKey':_0x19246f[_0x2b08e6(0x1d2)],'envName':_0x19246f[_0x2b08e6(0x1cd)],'mergedCli':_0x19246f[_0x2b08e6(0x1e3)]}};},async 'confirmHighRisk'({def:_0x4e5434,env:_0x4d32f4,flags:_0x1923ab,commandLabel:_0x53db48}){const _0x38d029=a51_0xa91d8b;if(_0x4d32f4[_0x38d029(0x1d4)]){const _0xd0fdae=reconstructCommandArgv(_0x4e5434,_0x1923ab);throw CliErrors[_0x38d029(0x1cc)]('High-risk\x20operation\x20`'+_0x53db48+_0x38d029(0x1e0)+(_0x38d029(0x1df)+_0xd0fdae));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x4e5434,_0x53db48,_0x1923ab),'createCancelledError':_0x2cc263=>CliErrors[_0x38d029(0x1e4)](_0x2cc263)});},'mapDryRunError'(_0x5f3bfc){return mapUserFacingExecuteError(_0x5f3bfc);},'mapExecuteError'(_0xfb26d9){return mapUserFacingExecuteError(_0xfb26d9);},async 'finalize'(){const _0x4fa218=a51_0xa91d8b,{clearActiveAK:_0x446361}=await import(_0x4fa218(0x1e7));_0x446361();}};function a51_0x45a1(){const _0x133793=['cancelled','has','defaultPageSize','../core/api-client.js','29576CHqfji','requiresAppCode','ClientAk','format','350775UbKbTm','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20.lovrabet.json.','production','4312014YdYXNI','26139PMCcJl','name','1036XHKjDy','verbose','pageSize','validation','env','40150eYgGDh','1226guUJmM','495EgtWbM','configMissing','accessKey','10fWUVpK','isNonInteractive','defaultApp','requiresAuth','Set\x20accessKey\x20in\x20.lovrabet.json\x20or\x20pass\x20LOVRABET_ACCESS_KEY.','1014QZvMEu','riskLevel','defaultVerbose','appCode','360hHahxL','service','430968qrfRAf','\x20\x20To\x20proceed:\x20','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','command','../core/sdk-client.js','mergedCli'];a51_0x45a1=function(){return _0x133793;};return a51_0x45a1();}export async function runCommand(_0x4bc83c,_0x513627){await runCommandWithAdapter(_0x4bc83c,_0x513627,runnerAdapter);}
1
+ function a53_0x1b36(_0x214325,_0x162669){_0x214325=_0x214325-0x1c3;const _0x3f8ba0=a53_0x3f8b();let _0x1b368f=_0x3f8ba0[_0x214325];return _0x1b368f;}(function(_0x538aed,_0x242958){const _0xed4d91=a53_0x1b36,_0x51d49a=_0x538aed();while(!![]){try{const _0x1806d5=parseInt(_0xed4d91(0x1d0))/0x1+parseInt(_0xed4d91(0x1ce))/0x2+parseInt(_0xed4d91(0x1d3))/0x3*(-parseInt(_0xed4d91(0x1d2))/0x4)+-parseInt(_0xed4d91(0x1e1))/0x5+parseInt(_0xed4d91(0x1c3))/0x6+parseInt(_0xed4d91(0x1c6))/0x7+-parseInt(_0xed4d91(0x1d5))/0x8;if(_0x1806d5===_0x242958)break;else _0x51d49a['push'](_0x51d49a['shift']());}catch(_0x1262dc){_0x51d49a['push'](_0x51d49a['shift']());}}}(a53_0x3f8b,0xa0b5d));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{isNonInteractiveMode,readAppCodeFromConfig}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';import{getApiDomain}from'../constant/domain.js';import{buildConfirmationLines,reconstructCommandArgv}from'../framework/runner-confirmation.js';import{mapUserFacingExecuteError}from'../framework/runner-error.js';function a53_0x3f8b(){const _0x4b2add=['1990706uCzfWp','pageSize','1174475DXLZcI','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','360VUplyU','29694kIDjJk','riskLevel','6242448OPaioG','error','requiresAppCode','appCode','defaultPageSize','defaultVerbose','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20.lovrabet.json.','env','requiresAuth','verbose','mergedCli','cancelled','5371255cpnPwo','currentApp','2311728QxkByX','format','../core/api-client.js','5939710tIxFLV','command','Set\x20accessKey\x20in\x20.lovrabet.json\x20or\x20pass\x20LOVRABET_ACCESS_KEY.','High-risk\x20operation\x20`','configMissing','accessKey','defaultApp','validation'];a53_0x3f8b=function(){return _0x4b2add;};return a53_0x3f8b();}export function resolveAuthMode(_0x5ae07e){return void _0x5ae07e,AUTH_MODE['ClientAk'];}export function createPipelineEnv(_0x1792af,_0x102a63){const _0x4a9a48=a53_0x1b36;return{'rawFlags':_0x102a63,'appCode':_0x1792af[_0x4a9a48(0x1d8)]||process.env.RABETBASE_APPCODE||readAppCodeFromConfig(),'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x102a63),'defaultFormat':_0x1792af[_0x4a9a48(0x1c4)],'defaultPageSize':_0x1792af[_0x4a9a48(0x1cf)],'defaultVerbose':_0x1792af[_0x4a9a48(0x1de)],'riskLevel':_0x1792af[_0x4a9a48(0x1d4)],'accessKey':_0x1792af[_0x4a9a48(0x1cb)],'env':_0x1792af[_0x4a9a48(0x1dc)],'mergedCli':{'defaultApp':_0x1792af[_0x4a9a48(0x1cc)],'currentApp':_0x1792af[_0x4a9a48(0x1e2)],'appCode':_0x1792af['appCode']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x15d0ee=>PIPELINE_FLAG_NAMES['has'](_0x15d0ee['name']))['map'](({name:_0x552f0e,type:_0x131a62,description:_0x441d05})=>({'name':_0x552f0e,'type':_0x131a62,'description':_0x441d05})),'formatOutput':formatOutput,'getCommandLabel'(_0x460691){const _0x4e02f0=a53_0x1b36;return CLI_BIN_NAME+'\x20'+_0x460691['service']+'\x20'+_0x460691[_0x4e02f0(0x1c7)];},'riskPolicy':{'onViolation'(_0xd5690b){const _0xc82fa4=a53_0x1b36;console[_0xc82fa4(0x1d6)](_0xd5690b);},'createError'(_0x4fa0ea){const _0x43386d=a53_0x1b36;return CliErrors[_0x43386d(0x1e0)](_0x4fa0ea);}},async 'prepare'(_0x4d544c,_0xd5364e){const _0x8ef8e=a53_0x1b36,_0xe17d23=resolveAuthMode(_0xd5364e);if(_0x4d544c[_0x8ef8e(0x1dd)]!==![]){if(!_0xd5364e[_0x8ef8e(0x1cb)])throw CliErrors['authRequired'](_0x8ef8e(0x1c8));const {setActiveAK:_0x127942}=await import(_0x8ef8e(0x1c5));_0x127942(_0xd5364e['accessKey']);}let _0x5c37a3='';if(_0x4d544c[_0x8ef8e(0x1d7)]!==![]){_0x5c37a3=_0xd5364e[_0x8ef8e(0x1d8)]??'';if(!_0x5c37a3)throw CliErrors[_0x8ef8e(0x1ca)](_0x8ef8e(0x1db));}if(_0x5c37a3){const {initSdkClient:_0x44595d}=await import('../core/sdk-client.js');_0x44595d({'appCode':_0x5c37a3,'env':_0xd5364e[_0x8ef8e(0x1dc)]??'production','accessKey':_0xd5364e['accessKey'],'authMode':_0xe17d23});}return{'defaults':{'booleans':{'verbose':_0xd5364e[_0x8ef8e(0x1da)]},'numbers':{'pagesize':_0xd5364e[_0x8ef8e(0x1d9)]}},'extras':{'appCode':_0x5c37a3,'cookie':'','apiDomain':_0xd5364e['apiDomain'],'apiDir':'','accessKey':_0xd5364e[_0x8ef8e(0x1cb)],'envName':_0xd5364e[_0x8ef8e(0x1dc)],'mergedCli':_0xd5364e[_0x8ef8e(0x1df)]}};},async 'confirmHighRisk'({def:_0x5cb55c,env:_0x575ef3,flags:_0x87881c,commandLabel:_0x471479}){const _0x1e421a=a53_0x1b36;if(_0x575ef3['isNonInteractive']){const _0xed1feb=reconstructCommandArgv(_0x5cb55c,_0x87881c);throw CliErrors[_0x1e421a(0x1cd)](_0x1e421a(0x1c9)+_0x471479+_0x1e421a(0x1d1)+('\x20\x20To\x20proceed:\x20'+_0xed1feb));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x5cb55c,_0x471479,_0x87881c),'createCancelledError':_0x2bb613=>CliErrors[_0x1e421a(0x1e0)](_0x2bb613)});},'mapDryRunError'(_0x8dee21){return mapUserFacingExecuteError(_0x8dee21);},'mapExecuteError'(_0x4c714f){return mapUserFacingExecuteError(_0x4c714f);},async 'finalize'(){const _0x55c3e8=a53_0x1b36,{clearActiveAK:_0x49d8ee}=await import(_0x55c3e8(0x1c5));_0x49d8ee();}};export async function runCommand(_0x165639,_0x5c0f4a){await runCommandWithAdapter(_0x165639,_0x5c0f4a,runnerAdapter);}
@@ -1 +1 @@
1
- (function(_0x501cb8,_0x534549){const _0x50773e=a52_0x1e5d,_0x4cdea2=_0x501cb8();while(!![]){try{const _0x33110d=-parseInt(_0x50773e(0x150))/0x1*(-parseInt(_0x50773e(0x157))/0x2)+parseInt(_0x50773e(0x152))/0x3+-parseInt(_0x50773e(0x15a))/0x4+-parseInt(_0x50773e(0x151))/0x5*(-parseInt(_0x50773e(0x158))/0x6)+-parseInt(_0x50773e(0x15b))/0x7*(parseInt(_0x50773e(0x156))/0x8)+parseInt(_0x50773e(0x159))/0x9*(-parseInt(_0x50773e(0x155))/0xa)+-parseInt(_0x50773e(0x15c))/0xb*(-parseInt(_0x50773e(0x153))/0xc);if(_0x33110d===_0x534549)break;else _0x4cdea2['push'](_0x4cdea2['shift']());}catch(_0x3f9e15){_0x4cdea2['push'](_0x4cdea2['shift']());}}}(a52_0x5584,0x4106e));function a52_0x5584(){const _0x49327f=['1858176NNMgAN','7ByQDew','4026EDxtTI','14323XgNGVX','49985OiudUr','735465sObeWl','7632EsvrZQ','../commands/registry.js','92840udIVdt','126184xEdiYj','12oxkQea','132LSlVjd','36HormoQ'];a52_0x5584=function(){return _0x49327f;};return a52_0x5584();}function a52_0x1e5d(_0x2fc02c,_0x1dc775){_0x2fc02c=_0x2fc02c-0x150;const _0x55847c=a52_0x5584();let _0x1e5da9=_0x55847c[_0x2fc02c];return _0x1e5da9;}import{buildSchemaPayload as a52_0x5b1705}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x3b3998=a52_0x1e5d,{serviceRegistry:_0x47ed1a,findDefinition:_0x25275e}=await import(_0x3b3998(0x154));return a52_0x5b1705({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x47ed1a,'buildAllFlags':buildAllFlags,'findDefinition':_0x25275e});}
1
+ (function(_0x3ecaab,_0x4f9fd9){const _0x3fb669=a54_0x1aef,_0x581c97=_0x3ecaab();while(!![]){try{const _0x2e20b3=parseInt(_0x3fb669(0x15e))/0x1*(parseInt(_0x3fb669(0x160))/0x2)+-parseInt(_0x3fb669(0x161))/0x3+-parseInt(_0x3fb669(0x158))/0x4+-parseInt(_0x3fb669(0x159))/0x5+-parseInt(_0x3fb669(0x15c))/0x6+-parseInt(_0x3fb669(0x15a))/0x7*(parseInt(_0x3fb669(0x157))/0x8)+-parseInt(_0x3fb669(0x15d))/0x9*(-parseInt(_0x3fb669(0x15b))/0xa);if(_0x2e20b3===_0x4f9fd9)break;else _0x581c97['push'](_0x581c97['shift']());}catch(_0x33b0f4){_0x581c97['push'](_0x581c97['shift']());}}}(a54_0x4f47,0xa05fe));import{buildSchemaPayload as a54_0x5b5ad8}from'@lovrabet/cli-framework';function a54_0x4f47(){const _0xdf734c=['304652SonyrW','1506762FIPLYb','160haODlc','1196804gSUlMy','1132190QfJZxj','141827btTVby','1430zddpNS','1189260HnOYit','76905RWwBTt','7PZLmUn','../commands/registry.js'];a54_0x4f47=function(){return _0xdf734c;};return a54_0x4f47();}function a54_0x1aef(_0x11c6e5,_0x455776){_0x11c6e5=_0x11c6e5-0x157;const _0x4f47d1=a54_0x4f47();let _0x1aef25=_0x4f47d1[_0x11c6e5];return _0x1aef25;}import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x48693e=a54_0x1aef,{serviceRegistry:_0x4e2406,findDefinition:_0x48de6e}=await import(_0x48693e(0x15f));return a54_0x5b5ad8({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x4e2406,'buildAllFlags':buildAllFlags,'findDefinition':_0x48de6e});}
@@ -1 +1 @@
1
- function a53_0x102e(_0x5b31d6,_0x4cc774){_0x5b31d6=_0x5b31d6-0x130;var _0x1f3bad=a53_0x1f3b();var _0x102e1c=_0x1f3bad[_0x5b31d6];return _0x102e1c;}(function(_0x1d63fa,_0x1cfe7e){var _0x231915=a53_0x102e,_0x4bafa0=_0x1d63fa();while(!![]){try{var _0x60af4a=-parseInt(_0x231915(0x132))/0x1+-parseInt(_0x231915(0x137))/0x2+parseInt(_0x231915(0x134))/0x3*(parseInt(_0x231915(0x135))/0x4)+-parseInt(_0x231915(0x133))/0x5*(parseInt(_0x231915(0x138))/0x6)+-parseInt(_0x231915(0x130))/0x7+parseInt(_0x231915(0x136))/0x8*(parseInt(_0x231915(0x139))/0x9)+parseInt(_0x231915(0x131))/0xa;if(_0x60af4a===_0x1cfe7e)break;else _0x4bafa0['push'](_0x4bafa0['shift']());}catch(_0x13ad93){_0x4bafa0['push'](_0x4bafa0['shift']());}}}(a53_0x1f3b,0xe9fd4));function a53_0x1f3b(){var _0x341173=['4jgyoME','48EVTaup','2886972ZLzJzP','6PEjkMq','1020915NeaQPn','2375177xQpreV','25912910YhFMYa','989597yUrDlA','6729510YUhcHs','5414445akRjjE'];a53_0x1f3b=function(){return _0x341173;};return a53_0x1f3b();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
1
+ function a55_0x5132(_0x48f00d,_0x529cbd){_0x48f00d=_0x48f00d-0x73;var _0x44bbbe=a55_0x44bb();var _0x513244=_0x44bbbe[_0x48f00d];return _0x513244;}(function(_0x4eb03b,_0x410fd1){var _0x3efa75=a55_0x5132,_0x43772f=_0x4eb03b();while(!![]){try{var _0x549196=parseInt(_0x3efa75(0x78))/0x1+-parseInt(_0x3efa75(0x73))/0x2+parseInt(_0x3efa75(0x77))/0x3+-parseInt(_0x3efa75(0x75))/0x4+parseInt(_0x3efa75(0x76))/0x5+-parseInt(_0x3efa75(0x79))/0x6+parseInt(_0x3efa75(0x74))/0x7;if(_0x549196===_0x410fd1)break;else _0x43772f['push'](_0x43772f['shift']());}catch(_0x48f332){_0x43772f['push'](_0x43772f['shift']());}}}(a55_0x44bb,0xe3a85));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';function a55_0x44bb(){var _0x2c4124=['14487774GVJZyM','3962048jdRZHz','7468925seiYJH','4311102JHTJFN','375278aWVsFQ','10645254TqNFpq','3357146cwSoFW'];a55_0x44bb=function(){return _0x2c4124;};return a55_0x44bb();}
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- function a54_0x1e4c(_0x26c1d6,_0x17fbd9){_0x26c1d6=_0x26c1d6-0x110;const _0x57d632=a54_0x57d6();let _0x1e4cc0=_0x57d632[_0x26c1d6];return _0x1e4cc0;}(function(_0x16fde8,_0x1531cc){const _0x48401f=a54_0x1e4c,_0x5d8950=_0x16fde8();while(!![]){try{const _0x2a0545=parseInt(_0x48401f(0x113))/0x1*(-parseInt(_0x48401f(0x114))/0x2)+parseInt(_0x48401f(0x11c))/0x3*(parseInt(_0x48401f(0x110))/0x4)+-parseInt(_0x48401f(0x11d))/0x5*(-parseInt(_0x48401f(0x112))/0x6)+parseInt(_0x48401f(0x11a))/0x7+parseInt(_0x48401f(0x116))/0x8+-parseInt(_0x48401f(0x115))/0x9+-parseInt(_0x48401f(0x117))/0xa;if(_0x2a0545===_0x1531cc)break;else _0x5d8950['push'](_0x5d8950['shift']());}catch(_0x51eade){_0x5d8950['push'](_0x5d8950['shift']());}}}(a54_0x57d6,0xa358e));import{jsx as a54_0x47fbb1,jsxs as a54_0x20dee7}from'react/jsx-runtime';import{useEffect}from'react';import{Box,Text,useApp}from'ink';function a54_0x57d6(){const _0xf78cb6=['column','207984UqtrDN','5051ZwAYEx','194seSTxJ','7431183qbrZPD','8297272Grodtf','2235920HqPYVQ','green','\x20--help','191443CThigl','\x20\x20Use\x20','3JqMQsN','130QWSpWq','970096ThUSyj'];a54_0x57d6=function(){return _0xf78cb6;};return a54_0x57d6();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x669427=a54_0x1e4c,{exit:_0x528bd2}=useApp();return useEffect(()=>{_0x528bd2();},[_0x528bd2]),a54_0x20dee7(Box,{'flexDirection':_0x669427(0x111),'marginTop':0x1,'marginBottom':0x1,'children':[a54_0x47fbb1(Box,{'children':a54_0x47fbb1(Text,{'bold':!![],'color':_0x669427(0x118),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a54_0x20dee7(Box,{'marginTop':0x1,'children':[a54_0x47fbb1(Text,{'dimColor':!![],'children':_0x669427(0x11b)}),a54_0x47fbb1(Text,{'bold':!![],'color':_0x669427(0x118),'children':CLI_BIN_NAME+_0x669427(0x119)}),a54_0x47fbb1(Text,{'dimColor':!![],'children':'\x20to\x20view\x20available\x20commands.'})]})]});}
1
+ (function(_0x5dfaf7,_0x1d0a15){const _0x1cd52b=a56_0x21c2,_0x418055=_0x5dfaf7();while(!![]){try{const _0x3c4d99=parseInt(_0x1cd52b(0x1df))/0x1*(-parseInt(_0x1cd52b(0x1e1))/0x2)+parseInt(_0x1cd52b(0x1e5))/0x3*(-parseInt(_0x1cd52b(0x1db))/0x4)+-parseInt(_0x1cd52b(0x1e8))/0x5*(-parseInt(_0x1cd52b(0x1e2))/0x6)+-parseInt(_0x1cd52b(0x1dc))/0x7*(parseInt(_0x1cd52b(0x1da))/0x8)+parseInt(_0x1cd52b(0x1e3))/0x9*(-parseInt(_0x1cd52b(0x1e0))/0xa)+-parseInt(_0x1cd52b(0x1e4))/0xb*(parseInt(_0x1cd52b(0x1d7))/0xc)+parseInt(_0x1cd52b(0x1d8))/0xd;if(_0x3c4d99===_0x1d0a15)break;else _0x418055['push'](_0x418055['shift']());}catch(_0x25f976){_0x418055['push'](_0x418055['shift']());}}}(a56_0x1e9e,0x696ef));import{jsx as a56_0x5eb911,jsxs as a56_0x197ddf}from'react/jsx-runtime';import{useEffect}from'react';function a56_0x21c2(_0x49c39d,_0x54f439){_0x49c39d=_0x49c39d-0x1d7;const _0x1e9e2e=a56_0x1e9e();let _0x21c26c=_0x1e9e2e[_0x49c39d];return _0x21c26c;}import{Box,Text,useApp}from'ink';function a56_0x1e9e(){const _0x4f2f09=['95jeiryI','240UvqlPA','23061870LHVkeB','\x20--help','40gQrVdW','364956tPMGII','984403QsJcqx','\x20to\x20view\x20available\x20commands.','green','62429hcGaxB','20xBUTEH','8LvprSL','177942NOQKNt','1815381sWspkm','251955tycwHH','3tHfnmI','\x20\x20Use\x20','column'];a56_0x1e9e=function(){return _0x4f2f09;};return a56_0x1e9e();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x188f09=a56_0x21c2,{exit:_0xc25e75}=useApp();return useEffect(()=>{_0xc25e75();},[_0xc25e75]),a56_0x197ddf(Box,{'flexDirection':_0x188f09(0x1e7),'marginTop':0x1,'marginBottom':0x1,'children':[a56_0x5eb911(Box,{'children':a56_0x5eb911(Text,{'bold':!![],'color':_0x188f09(0x1de),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a56_0x197ddf(Box,{'marginTop':0x1,'children':[a56_0x5eb911(Text,{'dimColor':!![],'children':_0x188f09(0x1e6)}),a56_0x5eb911(Text,{'bold':!![],'color':'green','children':CLI_BIN_NAME+_0x188f09(0x1d9)}),a56_0x5eb911(Text,{'dimColor':!![],'children':_0x188f09(0x1dd)})]})]});}
@@ -0,0 +1 @@
1
+ function a57_0x2cb4(_0x35bb89,_0x40158b){_0x35bb89=_0x35bb89-0xdc;const _0x4d1e07=a57_0x4d1e();let _0x2cb42b=_0x4d1e07[_0x35bb89];return _0x2cb42b;}const a57_0x411772=a57_0x2cb4;function a57_0x4d1e(){const _0x344e48=['5AgPoWx','stderr','status','72YWxcOC','unknown','stdout','toString','exit\x20','log','98ltruew','431568zGLPrI','stdio','1472364VoEjvR','inherit','trim','36454PPIuSG','add','skills','218336ShDwSw','LOVRABET_SKIP_NPX_SKILLS','372530IPlaWp','npx','pipe','lovrabet/lovrabet-cli','183074kcXdeZ','2cqaKOZ','920538fsAxZc','816mPRIwi'];a57_0x4d1e=function(){return _0x344e48;};return a57_0x4d1e();}(function(_0x6b497f,_0x500281){const _0x13c807=a57_0x2cb4,_0x263d16=_0x6b497f();while(!![]){try{const _0x501161=parseInt(_0x13c807(0xe8))/0x1*(-parseInt(_0x13c807(0xe7))/0x2)+-parseInt(_0x13c807(0xf7))/0x3+-parseInt(_0x13c807(0xf5))/0x4+-parseInt(_0x13c807(0xeb))/0x5*(-parseInt(_0x13c807(0xe9))/0x6)+-parseInt(_0x13c807(0xf4))/0x7*(-parseInt(_0x13c807(0xe1))/0x8)+-parseInt(_0x13c807(0xee))/0x9*(-parseInt(_0x13c807(0xe3))/0xa)+parseInt(_0x13c807(0xde))/0xb*(parseInt(_0x13c807(0xea))/0xc);if(_0x501161===_0x500281)break;else _0x263d16['push'](_0x263d16['shift']());}catch(_0x4a01c6){_0x263d16['push'](_0x263d16['shift']());}}}(a57_0x4d1e,0x43a8d));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const LOVRABET_SKILL_SOURCE=a57_0x411772(0xe6);export const LOVRABET_SKIP_NPX_SKILLS_ENV=a57_0x411772(0xe2);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x390036,_0x2d20f2=LOVRABET_SKILL_SOURCE,_0x213922){const _0x1a56aa=a57_0x411772;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5b9614=_0x213922?.[_0x1a56aa(0xf6)]??_0x1a56aa(0xdc),_0x49da00=resolveNpmBin(_0x1a56aa(0xe4)),_0x1cdb73=[_0x1a56aa(0xe0),_0x1a56aa(0xdf),_0x2d20f2,'-g','-y'],_0x13da78=[_0x49da00,..._0x1cdb73]['join']('\x20');console[_0x1a56aa(0xf3)]('*\x20'+_0x13da78);const _0x985bc2=spawnSync(_0x49da00,_0x1cdb73,{'cwd':_0x390036,'stdio':_0x5b9614,'env':process.env,'shell':![]});if(_0x985bc2['status']===0x0)return{'ok':!![],'status':0x0};let _0x43d60e=_0x1a56aa(0xf2)+(_0x985bc2[_0x1a56aa(0xed)]??_0x1a56aa(0xef));if(_0x5b9614===_0x1a56aa(0xe5)){const _0x23f125=_0x985bc2[_0x1a56aa(0xec)]?_0x985bc2[_0x1a56aa(0xec)][_0x1a56aa(0xf1)]()['trim']():'',_0x4870e2=_0x985bc2['stdout']?_0x985bc2[_0x1a56aa(0xf0)][_0x1a56aa(0xf1)]()[_0x1a56aa(0xdd)]():'';if(_0x23f125)_0x43d60e=_0x23f125;else{if(_0x4870e2)_0x43d60e=_0x4870e2;}}return{'ok':![],'status':_0x985bc2[_0x1a56aa(0xed)]??null,'error':_0x43d60e};}
@@ -1 +1 @@
1
- (function(_0x26f1f7,_0x2a85bb){const _0x5b61ed=a55_0x19cc,_0x1b178f=_0x26f1f7();while(!![]){try{const _0x27e281=-parseInt(_0x5b61ed(0x1e8))/0x1*(parseInt(_0x5b61ed(0x1e4))/0x2)+parseInt(_0x5b61ed(0x1e3))/0x3*(parseInt(_0x5b61ed(0x1e6))/0x4)+-parseInt(_0x5b61ed(0x1e9))/0x5+parseInt(_0x5b61ed(0x1ec))/0x6*(parseInt(_0x5b61ed(0x1ea))/0x7)+parseInt(_0x5b61ed(0x1e7))/0x8*(parseInt(_0x5b61ed(0x1e1))/0x9)+parseInt(_0x5b61ed(0x1e2))/0xa+parseInt(_0x5b61ed(0x1e5))/0xb*(-parseInt(_0x5b61ed(0x1eb))/0xc);if(_0x27e281===_0x2a85bb)break;else _0x1b178f['push'](_0x1b178f['shift']());}catch(_0x117e11){_0x1b178f['push'](_0x1b178f['shift']());}}}(a55_0x187c,0x4f2f9));function a55_0x187c(){const _0x495500=['2632315xVktKX','35elowDw','1380XHaNsL','510348ycHWYV','77031jKFRRG','4736830WvUXSt','276ktWNLg','3956dkNmIz','101453pJfJKX','27316aYjKjf','544dmfJVT','100mIekno'];a55_0x187c=function(){return _0x495500;};return a55_0x187c();}import{createJqFilter}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a55_0x19cc(_0x3da09e,_0x6999bc){_0x3da09e=_0x3da09e-0x1e1;const _0x187c5b=a55_0x187c();let _0x19cc3f=_0x187c5b[_0x3da09e];return _0x19cc3f;}export const applyJqFilter=createJqFilter(CliErrors);
1
+ (function(_0x3c0727,_0x9ecea2){const _0x4c5da8=a58_0x3bf8,_0x163b9d=_0x3c0727();while(!![]){try{const _0x4aa191=parseInt(_0x4c5da8(0x1df))/0x1*(parseInt(_0x4c5da8(0x1da))/0x2)+-parseInt(_0x4c5da8(0x1d9))/0x3+-parseInt(_0x4c5da8(0x1e0))/0x4+-parseInt(_0x4c5da8(0x1de))/0x5+parseInt(_0x4c5da8(0x1db))/0x6*(-parseInt(_0x4c5da8(0x1dc))/0x7)+-parseInt(_0x4c5da8(0x1e1))/0x8*(parseInt(_0x4c5da8(0x1dd))/0x9)+parseInt(_0x4c5da8(0x1d8))/0xa;if(_0x4aa191===_0x9ecea2)break;else _0x163b9d['push'](_0x163b9d['shift']());}catch(_0x40cdef){_0x163b9d['push'](_0x163b9d['shift']());}}}(a58_0x11a5,0x9233d));function a58_0x11a5(){const _0x52f466=['1179693puHjWf','397690VMxnGw','29676PwyeJN','301hLfFgm','9uVftrs','3772925tlqlkP','5AngLKw','3475412GjCshz','1904744ZQRNoa','20720600DJapBf'];a58_0x11a5=function(){return _0x52f466;};return a58_0x11a5();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a58_0x3bf8(_0x44616f,_0x2a387a){_0x44616f=_0x44616f-0x1d8;const _0x11a5d9=a58_0x11a5();let _0x3bf89=_0x11a5d9[_0x44616f];return _0x3bf89;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- const a56_0x3dfb4a=a56_0x149e;(function(_0x3702bd,_0xee760f){const _0x398f32=a56_0x149e,_0x40157e=_0x3702bd();while(!![]){try{const _0x1656b9=parseInt(_0x398f32(0xec))/0x1*(parseInt(_0x398f32(0xf1))/0x2)+-parseInt(_0x398f32(0xc0))/0x3+parseInt(_0x398f32(0xee))/0x4+-parseInt(_0x398f32(0xc6))/0x5+-parseInt(_0x398f32(0xc7))/0x6+-parseInt(_0x398f32(0xf0))/0x7+parseInt(_0x398f32(0xe4))/0x8*(parseInt(_0x398f32(0xe7))/0x9);if(_0x1656b9===_0xee760f)break;else _0x40157e['push'](_0x40157e['shift']());}catch(_0x21f858){_0x40157e['push'](_0x40157e['shift']());}}}(a56_0x55b8,0x2aeda));import a56_0x86311a from'winston';function a56_0x149e(_0x35a2cd,_0x50ceba){_0x35a2cd=_0x35a2cd-0xbe;const _0x55b8bc=a56_0x55b8();let _0x149eb4=_0x55b8bc[_0x35a2cd];return _0x149eb4;}function a56_0x55b8(){const _0xc9d482=['filter','8741cZGhyN','winstonLogger','1009884OuqPsa','addColors','2182649itpEUx','46ldyeyz','toISOString','combine','631917ymSEme','initWinstonLogger','transports','format','timestamp','setLogPath','1085195nGsHOv','128148ryzZka','level','readLogs','currentRawCommand','now','info','error','readFileSync','logTask','rawCommand','details','File','logFilePath','message','map','log','existsSync','mkdirSync','parse','warn','split','Failed:\x20','red','utf8','blue','yellow','command','join','createLogger','3865304uMFSaf','Completed:\x20','Starting:\x20','9CcExdb','success','duration','.lovrabet-runtime.log'];a56_0x55b8=function(){return _0xc9d482;};return a56_0x55b8();}import a56_0xdff0cc from'node:fs';import a56_0x523815 from'node:path';class Logger{[a56_0x3dfb4a(0xed)];[a56_0x3dfb4a(0xd3)]='';[a56_0x3dfb4a(0xca)]='';constructor(){}['setRawCommand'](_0x329b2f){const _0x389caa=a56_0x3dfb4a;this[_0x389caa(0xca)]=_0x329b2f;}[a56_0x3dfb4a(0xc5)](_0x9b8b7f){const _0x5138d5=a56_0x3dfb4a;this['logFilePath']=a56_0x523815[_0x5138d5(0xe2)](_0x9b8b7f,_0x5138d5(0xea)),this['winstonLogger']&&this[_0x5138d5(0xed)]['clear'](),this[_0x5138d5(0xc1)]();}[a56_0x3dfb4a(0xc1)](){const _0x34ef7e=a56_0x3dfb4a,_0xc2e65f=a56_0x523815['dirname'](this[_0x34ef7e(0xd3)]);!a56_0xdff0cc[_0x34ef7e(0xd7)](_0xc2e65f)&&a56_0xdff0cc[_0x34ef7e(0xd8)](_0xc2e65f,{'recursive':!![]});const _0x3dac89=a56_0x86311a[_0x34ef7e(0xc3)][_0x34ef7e(0xbf)](a56_0x86311a[_0x34ef7e(0xc3)][_0x34ef7e(0xc4)](),a56_0x86311a[_0x34ef7e(0xc3)]['errors']({'stack':!![]}),a56_0x86311a['format']['printf'](_0x207ed0=>{const _0x3528c9=_0x34ef7e,_0x8e963c={'timestamp':_0x207ed0[_0x3528c9(0xc4)]||new Date()[_0x3528c9(0xbe)](),'level':_0x207ed0[_0x3528c9(0xc8)]||_0x3528c9(0xcc),'command':_0x207ed0[_0x3528c9(0xe1)]||'unknown','rawCommand':_0x207ed0[_0x3528c9(0xd0)]||this[_0x3528c9(0xca)]||undefined,'message':_0x207ed0['message']||'','duration':_0x207ed0[_0x3528c9(0xe9)]||undefined,'details':_0x207ed0[_0x3528c9(0xd1)]||undefined};return JSON['stringify'](_0x8e963c);}));this[_0x34ef7e(0xed)]=a56_0x86311a[_0x34ef7e(0xe3)]({'level':'info','format':_0x3dac89,'transports':[new a56_0x86311a[(_0x34ef7e(0xc2))][(_0x34ef7e(0xd2))]({'filename':this[_0x34ef7e(0xd3)],'level':_0x34ef7e(0xcc)})],'silent':![]}),a56_0x86311a[_0x34ef7e(0xef)]({'success':'green','error':_0x34ef7e(0xdd),'warn':_0x34ef7e(0xe0),'info':_0x34ef7e(0xdf)});}['info'](_0x255d09,_0x42d955,_0x392157){const _0x25c52e=a56_0x3dfb4a;if(!this[_0x25c52e(0xd3)]||!this[_0x25c52e(0xed)])return;this[_0x25c52e(0xed)]['info'](_0x42d955,{'command':_0x255d09,'details':_0x392157});}[a56_0x3dfb4a(0xe8)](_0x18e105,_0x49f9d1,_0xab9132,_0x3d8099){const _0x127330=a56_0x3dfb4a;if(!this['logFilePath']||!this[_0x127330(0xed)])return;this[_0x127330(0xed)][_0x127330(0xd6)]('info',_0x49f9d1,{'level':_0x127330(0xe8),'command':_0x18e105,'duration':_0xab9132,'details':_0x3d8099});}[a56_0x3dfb4a(0xcd)](_0x198add,_0x59a6fc,_0x54c680){const _0x111df9=a56_0x3dfb4a;if(!this[_0x111df9(0xd3)]||!this[_0x111df9(0xed)])return;this[_0x111df9(0xed)]['error'](_0x59a6fc,{'command':_0x198add,'details':_0x54c680});}[a56_0x3dfb4a(0xda)](_0x16c4be,_0x5d1d2c,_0xfa2c12){const _0x12c791=a56_0x3dfb4a;if(!this[_0x12c791(0xd3)]||!this[_0x12c791(0xed)])return;this[_0x12c791(0xed)]['warn'](_0x5d1d2c,{'command':_0x16c4be,'details':_0xfa2c12});}async[a56_0x3dfb4a(0xcf)](_0x24ee32,_0x10dc86,_0x4fb690){const _0x3b766d=a56_0x3dfb4a,_0x24059c=Date[_0x3b766d(0xcb)]();this['info'](_0x24ee32,_0x3b766d(0xe6)+_0x10dc86);try{const _0x3372b3=await _0x4fb690(),_0x5d6dfa=Date['now']()-_0x24059c;return this['success'](_0x24ee32,_0x3b766d(0xe5)+_0x10dc86,_0x5d6dfa),_0x3372b3;}catch(_0x26678d){const _0x5854ab=Date[_0x3b766d(0xcb)]()-_0x24059c;this[_0x3b766d(0xcd)](_0x24ee32,_0x3b766d(0xdc)+_0x10dc86,{'error':_0x26678d instanceof Error?_0x26678d[_0x3b766d(0xd4)]:String(_0x26678d),'duration':_0x5854ab});throw _0x26678d;}}[a56_0x3dfb4a(0xc9)](){const _0x272b13=a56_0x3dfb4a;try{if(!a56_0xdff0cc[_0x272b13(0xd7)](this[_0x272b13(0xd3)]))return[];const _0x5a157c=a56_0xdff0cc[_0x272b13(0xce)](this[_0x272b13(0xd3)],_0x272b13(0xde));return _0x5a157c[_0x272b13(0xdb)](/\r?\n/)[_0x272b13(0xeb)](_0x47e3f9=>_0x47e3f9['trim']())[_0x272b13(0xd5)](_0x539a6c=>JSON[_0x272b13(0xd9)](_0x539a6c));}catch(_0x2a00c8){return console['warn']('Failed\x20to\x20read\x20logs:',_0x2a00c8),[];}}['clearLogs'](){const _0x40ebd7=a56_0x3dfb4a;try{a56_0xdff0cc[_0x40ebd7(0xd7)](this['logFilePath'])&&a56_0xdff0cc['writeFileSync'](this[_0x40ebd7(0xd3)],'',_0x40ebd7(0xde));}catch(_0x38e85d){console[_0x40ebd7(0xda)]('Failed\x20to\x20clear\x20logs:',_0x38e85d);}}['getWinstonInstance'](){const _0xab069d=a56_0x3dfb4a;return this[_0xab069d(0xed)];}}export const logger=new Logger();
1
+ const a59_0x2de963=a59_0x4178;(function(_0x3a4c65,_0x342e94){const _0xabae4=a59_0x4178,_0x563d8d=_0x3a4c65();while(!![]){try{const _0x3894a1=-parseInt(_0xabae4(0x1bd))/0x1*(-parseInt(_0xabae4(0x193))/0x2)+parseInt(_0xabae4(0x1be))/0x3+-parseInt(_0xabae4(0x1a2))/0x4+parseInt(_0xabae4(0x1bc))/0x5+-parseInt(_0xabae4(0x19b))/0x6*(-parseInt(_0xabae4(0x19a))/0x7)+parseInt(_0xabae4(0x1c0))/0x8+parseInt(_0xabae4(0x19d))/0x9*(-parseInt(_0xabae4(0x1bb))/0xa);if(_0x3894a1===_0x342e94)break;else _0x563d8d['push'](_0x563d8d['shift']());}catch(_0xf88bd0){_0x563d8d['push'](_0x563d8d['shift']());}}}(a59_0x5742,0xe6f19));import a59_0x3e1800 from'winston';import a59_0x3d55fe from'node:fs';function a59_0x5742(){const _0x1d7410=['combine','existsSync','transports','createLogger','clear','success','green','format','setRawCommand','writeFileSync','yellow','mkdirSync','stringify','warn','map','duration','level','133090aLGIHp','1254625LzFSmM','1HyTzDs','2664924xFyAeJ','getWinstonInstance','14511544mOXofn','details','trim','Failed\x20to\x20clear\x20logs:','parse','addColors','command','now','error','Failed:\x20','.lovrabet-runtime.log','info','328902vixvNZ','timestamp','initWinstonLogger','unknown','clearLogs','logFilePath','rawCommand','7SJUzvk','8879106YvuZzA','log','1251SDgTOF','printf','filter','message','split','7206328LbZjWK','blue','winstonLogger','currentRawCommand','File','logTask','join','utf8'];a59_0x5742=function(){return _0x1d7410;};return a59_0x5742();}import a59_0x5cf6c3 from'node:path';function a59_0x4178(_0x511ab2,_0x57d257){_0x511ab2=_0x511ab2-0x18a;const _0x5742be=a59_0x5742();let _0x417862=_0x5742be[_0x511ab2];return _0x417862;}class Logger{[a59_0x2de963(0x1a4)];[a59_0x2de963(0x198)]='';[a59_0x2de963(0x1a5)]='';constructor(){}[a59_0x2de963(0x1b2)](_0x5ef93a){const _0x5362b0=a59_0x2de963;this[_0x5362b0(0x1a5)]=_0x5ef93a;}['setLogPath'](_0x533c6e){const _0x4b9bfc=a59_0x2de963;this[_0x4b9bfc(0x198)]=a59_0x5cf6c3[_0x4b9bfc(0x1a8)](_0x533c6e,_0x4b9bfc(0x191)),this[_0x4b9bfc(0x1a4)]&&this[_0x4b9bfc(0x1a4)][_0x4b9bfc(0x1ae)](),this[_0x4b9bfc(0x195)]();}[a59_0x2de963(0x195)](){const _0x39e0a1=a59_0x2de963,_0x5d2bc9=a59_0x5cf6c3['dirname'](this[_0x39e0a1(0x198)]);!a59_0x3d55fe[_0x39e0a1(0x1ab)](_0x5d2bc9)&&a59_0x3d55fe[_0x39e0a1(0x1b5)](_0x5d2bc9,{'recursive':!![]});const _0x9accd3=a59_0x3e1800['format'][_0x39e0a1(0x1aa)](a59_0x3e1800[_0x39e0a1(0x1b1)][_0x39e0a1(0x194)](),a59_0x3e1800['format']['errors']({'stack':!![]}),a59_0x3e1800['format'][_0x39e0a1(0x19e)](_0xe48f99=>{const _0xbb67a3=_0x39e0a1,_0x3083f2={'timestamp':_0xe48f99[_0xbb67a3(0x194)]||new Date()['toISOString'](),'level':_0xe48f99[_0xbb67a3(0x1ba)]||_0xbb67a3(0x192),'command':_0xe48f99[_0xbb67a3(0x18d)]||_0xbb67a3(0x196),'rawCommand':_0xe48f99[_0xbb67a3(0x199)]||this[_0xbb67a3(0x1a5)]||undefined,'message':_0xe48f99['message']||'','duration':_0xe48f99[_0xbb67a3(0x1b9)]||undefined,'details':_0xe48f99[_0xbb67a3(0x1c1)]||undefined};return JSON[_0xbb67a3(0x1b6)](_0x3083f2);}));this[_0x39e0a1(0x1a4)]=a59_0x3e1800[_0x39e0a1(0x1ad)]({'level':'info','format':_0x9accd3,'transports':[new a59_0x3e1800[(_0x39e0a1(0x1ac))][(_0x39e0a1(0x1a6))]({'filename':this[_0x39e0a1(0x198)],'level':'info'})],'silent':![]}),a59_0x3e1800[_0x39e0a1(0x18c)]({'success':_0x39e0a1(0x1b0),'error':'red','warn':_0x39e0a1(0x1b4),'info':_0x39e0a1(0x1a3)});}[a59_0x2de963(0x192)](_0x3433f6,_0x2b95aa,_0x2271e8){const _0x437584=a59_0x2de963;if(!this[_0x437584(0x198)]||!this['winstonLogger'])return;this[_0x437584(0x1a4)][_0x437584(0x192)](_0x2b95aa,{'command':_0x3433f6,'details':_0x2271e8});}[a59_0x2de963(0x1af)](_0x1c1e7e,_0x6fed1e,_0x2bf86b,_0xb47791){const _0x9e6cb8=a59_0x2de963;if(!this['logFilePath']||!this['winstonLogger'])return;this['winstonLogger'][_0x9e6cb8(0x19c)](_0x9e6cb8(0x192),_0x6fed1e,{'level':'success','command':_0x1c1e7e,'duration':_0x2bf86b,'details':_0xb47791});}[a59_0x2de963(0x18f)](_0x6fdeee,_0x13483d,_0x381e8c){const _0x267819=a59_0x2de963;if(!this['logFilePath']||!this['winstonLogger'])return;this['winstonLogger'][_0x267819(0x18f)](_0x13483d,{'command':_0x6fdeee,'details':_0x381e8c});}[a59_0x2de963(0x1b7)](_0x14b438,_0x3468cd,_0x42ce9b){const _0xa794f8=a59_0x2de963;if(!this[_0xa794f8(0x198)]||!this[_0xa794f8(0x1a4)])return;this[_0xa794f8(0x1a4)]['warn'](_0x3468cd,{'command':_0x14b438,'details':_0x42ce9b});}async[a59_0x2de963(0x1a7)](_0xba94ef,_0x2674ee,_0x385e04){const _0x5e57ae=a59_0x2de963,_0x15d708=Date['now']();this['info'](_0xba94ef,'Starting:\x20'+_0x2674ee);try{const _0x150c3e=await _0x385e04(),_0x2c8fa5=Date[_0x5e57ae(0x18e)]()-_0x15d708;return this[_0x5e57ae(0x1af)](_0xba94ef,'Completed:\x20'+_0x2674ee,_0x2c8fa5),_0x150c3e;}catch(_0x39eb8e){const _0x261fd8=Date[_0x5e57ae(0x18e)]()-_0x15d708;this[_0x5e57ae(0x18f)](_0xba94ef,_0x5e57ae(0x190)+_0x2674ee,{'error':_0x39eb8e instanceof Error?_0x39eb8e[_0x5e57ae(0x1a0)]:String(_0x39eb8e),'duration':_0x261fd8});throw _0x39eb8e;}}['readLogs'](){const _0x2ec13c=a59_0x2de963;try{if(!a59_0x3d55fe[_0x2ec13c(0x1ab)](this[_0x2ec13c(0x198)]))return[];const _0x30008c=a59_0x3d55fe['readFileSync'](this[_0x2ec13c(0x198)],_0x2ec13c(0x1a9));return _0x30008c[_0x2ec13c(0x1a1)](/\r?\n/)[_0x2ec13c(0x19f)](_0x4bd287=>_0x4bd287[_0x2ec13c(0x1c2)]())[_0x2ec13c(0x1b8)](_0xd7020f=>JSON[_0x2ec13c(0x18b)](_0xd7020f));}catch(_0xe90b4){return console[_0x2ec13c(0x1b7)]('Failed\x20to\x20read\x20logs:',_0xe90b4),[];}}[a59_0x2de963(0x197)](){const _0x3a0141=a59_0x2de963;try{a59_0x3d55fe[_0x3a0141(0x1ab)](this[_0x3a0141(0x198)])&&a59_0x3d55fe[_0x3a0141(0x1b3)](this['logFilePath'],'','utf8');}catch(_0x534096){console[_0x3a0141(0x1b7)](_0x3a0141(0x18a),_0x534096);}}[a59_0x2de963(0x1bf)](){const _0x5db98d=a59_0x2de963;return this[_0x5db98d(0x1a4)];}}export const logger=new Logger();
@@ -1 +1 @@
1
- function a57_0x50b0(){var _0x136ab3=['17142HHrure','6Ckcqju','isArray','2117115iIIJjY','6PkbLND','object','4422560tVAgIr','Invalid\x20JSON\x20for\x20--params:\x20','validation','2302197uxoSfc','items','2305120ZoueMS','2343299GlFUjz','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','3312351pGEFxk','parse'];a57_0x50b0=function(){return _0x136ab3;};return a57_0x50b0();}(function(_0x5bb983,_0x349c9a){var _0x1cecf5=a57_0x594d,_0x540dcd=_0x5bb983();while(!![]){try{var _0x5df59c=-parseInt(_0x1cecf5(0x1ba))/0x1*(-parseInt(_0x1cecf5(0x1b6))/0x2)+parseInt(_0x1cecf5(0x1af))/0x3+-parseInt(_0x1cecf5(0x1b1))/0x4+parseInt(_0x1cecf5(0x1b9))/0x5+-parseInt(_0x1cecf5(0x1b7))/0x6*(parseInt(_0x1cecf5(0x1b2))/0x7)+parseInt(_0x1cecf5(0x1bc))/0x8+-parseInt(_0x1cecf5(0x1b4))/0x9;if(_0x5df59c===_0x349c9a)break;else _0x540dcd['push'](_0x540dcd['shift']());}catch(_0x3b8f46){_0x540dcd['push'](_0x540dcd['shift']());}}}(a57_0x50b0,0x7df98));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x3d97f9){var _0x4027a8=a57_0x594d;if(!_0x3d97f9)return undefined;try{return JSON['parse'](_0x3d97f9);}catch{throw CliErrors[_0x4027a8(0x1be)](_0x4027a8(0x1bd)+_0x3d97f9);}}function a57_0x594d(_0x3e6782,_0x5f27c5){_0x3e6782=_0x3e6782-0x1af;var _0x50b046=a57_0x50b0();var _0x594de3=_0x50b046[_0x3e6782];return _0x594de3;}export function parseJsonParamsValue(_0x1ba77a){var _0x1e0452=a57_0x594d;if(!_0x1ba77a)return undefined;try{return JSON[_0x1e0452(0x1b5)](_0x1ba77a);}catch{throw CliErrors['validation'](_0x1e0452(0x1bd)+_0x1ba77a);}}export function parseBatchCreateItemsFromParams(_0x435c59){var _0x5a4368=a57_0x594d;if(Array[_0x5a4368(0x1b8)](_0x435c59))return _0x435c59;if(_0x435c59!==null&&_0x435c59!==undefined&&typeof _0x435c59===_0x5a4368(0x1bb)&&Array[_0x5a4368(0x1b8)](_0x435c59[_0x5a4368(0x1b0)]))return _0x435c59['items'];throw CliErrors['validation']('batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}',_0x5a4368(0x1b3));}
1
+ (function(_0x309bb3,_0xd1f6dc){var _0x5ec2a4=a60_0x3a39,_0x10229c=_0x309bb3();while(!![]){try{var _0x1a1f97=parseInt(_0x5ec2a4(0x1eb))/0x1*(-parseInt(_0x5ec2a4(0x1e0))/0x2)+parseInt(_0x5ec2a4(0x1ec))/0x3*(parseInt(_0x5ec2a4(0x1e8))/0x4)+-parseInt(_0x5ec2a4(0x1e7))/0x5+parseInt(_0x5ec2a4(0x1e3))/0x6*(parseInt(_0x5ec2a4(0x1de))/0x7)+parseInt(_0x5ec2a4(0x1e5))/0x8*(parseInt(_0x5ec2a4(0x1ea))/0x9)+parseInt(_0x5ec2a4(0x1dd))/0xa+parseInt(_0x5ec2a4(0x1e4))/0xb*(-parseInt(_0x5ec2a4(0x1e6))/0xc);if(_0x1a1f97===_0xd1f6dc)break;else _0x10229c['push'](_0x10229c['shift']());}catch(_0x140573){_0x10229c['push'](_0x10229c['shift']());}}}(a60_0x2c81,0xa369d));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x4cac0d){var _0x599589=a60_0x3a39;if(!_0x4cac0d)return undefined;try{return JSON[_0x599589(0x1df)](_0x4cac0d);}catch{throw CliErrors[_0x599589(0x1db)](_0x599589(0x1da)+_0x4cac0d);}}function a60_0x2c81(){var _0x456947=['962975VOyJSm','188dzhtNw','object','3537DbDmsi','1UuHhul','84807TDZScZ','isArray','Invalid\x20JSON\x20for\x20--params:\x20','validation','items','3386190wEOsBu','5509357rjlafG','parse','1711630vBFCBK','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:[...]}','6MVglbJ','2615591IiFHRu','9208RsyeEk','60VQoTfL'];a60_0x2c81=function(){return _0x456947;};return a60_0x2c81();}function a60_0x3a39(_0x4936c7,_0x5318e5){_0x4936c7=_0x4936c7-0x1da;var _0x2c8137=a60_0x2c81();var _0x3a39f1=_0x2c8137[_0x4936c7];return _0x3a39f1;}export function parseJsonParamsValue(_0x40f1bb){var _0x2fac60=a60_0x3a39;if(!_0x40f1bb)return undefined;try{return JSON['parse'](_0x40f1bb);}catch{throw CliErrors['validation'](_0x2fac60(0x1da)+_0x40f1bb);}}export function parseBatchCreateItemsFromParams(_0x4e3574){var _0x165d29=a60_0x3a39;if(Array[_0x165d29(0x1ed)](_0x4e3574))return _0x4e3574;if(_0x4e3574!==null&&_0x4e3574!==undefined&&typeof _0x4e3574===_0x165d29(0x1e9)&&Array[_0x165d29(0x1ed)](_0x4e3574[_0x165d29(0x1dc)]))return _0x4e3574['items'];throw CliErrors[_0x165d29(0x1db)](_0x165d29(0x1e2),_0x165d29(0x1e1));}
@@ -0,0 +1 @@
1
+ const a61_0x48f2f9=a61_0x2dae;function a61_0x2dae(_0x4e0508,_0x3a516d){_0x4e0508=_0x4e0508-0x11e;const _0x2ce080=a61_0x2ce0();let _0x2daedc=_0x2ce080[_0x4e0508];return _0x2daedc;}(function(_0x454db3,_0x53119f){const _0x39aa3d=a61_0x2dae,_0x49814f=_0x454db3();while(!![]){try{const _0x5489f8=-parseInt(_0x39aa3d(0x127))/0x1+-parseInt(_0x39aa3d(0x125))/0x2*(parseInt(_0x39aa3d(0x121))/0x3)+-parseInt(_0x39aa3d(0x11e))/0x4+-parseInt(_0x39aa3d(0x123))/0x5+parseInt(_0x39aa3d(0x126))/0x6+parseInt(_0x39aa3d(0x124))/0x7*(-parseInt(_0x39aa3d(0x11f))/0x8)+parseInt(_0x39aa3d(0x122))/0x9;if(_0x5489f8===_0x53119f)break;else _0x49814f['push'](_0x49814f['shift']());}catch(_0x2737ab){_0x49814f['push'](_0x49814f['shift']());}}}(a61_0x2ce0,0x3fefa));export const isWindows=process['platform']===a61_0x48f2f9(0x128);function a61_0x2ce0(){const _0x51133a=['win32','1862352GWDEvn','2008ptzFpP','.cmd','65388IrJCnV','13573035lHPFHy','2113440WOnkki','8078svFAnB','4PSvGtv','666174ayFRVA','135740MOnSOa'];a61_0x2ce0=function(){return _0x51133a;};return a61_0x2ce0();}export function resolveNpmBin(_0x15c41d){const _0x469e31=a61_0x48f2f9;return isWindows?_0x15c41d+_0x469e31(0x120):_0x15c41d;}
@@ -1 +1 @@
1
- (function(_0x18c5c4,_0x2bf719){const _0x33457c=a58_0x54ee,_0x373373=_0x18c5c4();while(!![]){try{const _0x1ca06d=parseInt(_0x33457c(0xfd))/0x1+-parseInt(_0x33457c(0xf5))/0x2*(parseInt(_0x33457c(0xfb))/0x3)+-parseInt(_0x33457c(0xfc))/0x4+-parseInt(_0x33457c(0xf9))/0x5*(-parseInt(_0x33457c(0xf3))/0x6)+parseInt(_0x33457c(0xfa))/0x7*(parseInt(_0x33457c(0xf7))/0x8)+-parseInt(_0x33457c(0xf4))/0x9*(parseInt(_0x33457c(0xf8))/0xa)+parseInt(_0x33457c(0xf2))/0xb*(-parseInt(_0x33457c(0xfe))/0xc);if(_0x1ca06d===_0x2bf719)break;else _0x373373['push'](_0x373373['shift']());}catch(_0x586fa6){_0x373373['push'](_0x373373['shift']());}}}(a58_0x4088,0xa3223));import{readFileSync}from'node:fs';function a58_0x4088(){const _0x4ebf8d=['3122220QNGhin','9dLgsoQ','110NpLNoh','parse','521824lVxEoD','6446870mhjspm','5VubQWH','140AtBmPH','71403PoyyBx','347336xQJeJS','954094uqlIAg','843036lEjTDQ','11ueXgjC'];a58_0x4088=function(){return _0x4ebf8d;};return a58_0x4088();}import{dirname,join}from'node:path';import{fileURLToPath}from'node:url';let cached;function a58_0x54ee(_0x50eeb2,_0xc62074){_0x50eeb2=_0x50eeb2-0xf2;const _0x408810=a58_0x4088();let _0x54ee98=_0x408810[_0x50eeb2];return _0x54ee98;}export function getCliVersion(){const _0x1d6eca=a58_0x54ee;if(cached)return cached;const _0x16e1c7=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x2e17a2=readFileSync(join(_0x16e1c7,'package.json'),'utf8'),_0x4b4a85=JSON[_0x1d6eca(0xf6)](_0x2e17a2);return cached=_0x4b4a85['version'],cached;}
1
+ (function(_0x51a0c2,_0x453925){const _0x214cad=a62_0x3472,_0xa500c9=_0x51a0c2();while(!![]){try{const _0x3ccd49=parseInt(_0x214cad(0x19e))/0x1+parseInt(_0x214cad(0x1a6))/0x2+parseInt(_0x214cad(0x1a5))/0x3+-parseInt(_0x214cad(0x1a7))/0x4+-parseInt(_0x214cad(0x1a4))/0x5*(-parseInt(_0x214cad(0x1a0))/0x6)+parseInt(_0x214cad(0x1a3))/0x7+-parseInt(_0x214cad(0x1a2))/0x8*(parseInt(_0x214cad(0x19d))/0x9);if(_0x3ccd49===_0x453925)break;else _0xa500c9['push'](_0xa500c9['shift']());}catch(_0x32cb2a){_0xa500c9['push'](_0xa500c9['shift']());}}}(a62_0x3fe7,0x4e2ed));function a62_0x3472(_0x46c45d,_0x373385){_0x46c45d=_0x46c45d-0x19c;const _0x3fe798=a62_0x3fe7();let _0x347233=_0x3fe798[_0x46c45d];return _0x347233;}import{readFileSync}from'node:fs';function a62_0x3fe7(){const _0x52dc25=['762831UdpeRA','857218kWFPSq','1861724ksDRME','parse','234063HaazCt','51950UwDbNI','version','288BaKyEL','package.json','200hBaIFW','3654777sSTGOL','18635VAyRDQ'];a62_0x3fe7=function(){return _0x52dc25;};return a62_0x3fe7();}import{dirname,join}from'node:path';import{fileURLToPath}from'node:url';let cached;export function getCliVersion(){const _0x3d4b29=a62_0x3472;if(cached)return cached;const _0x17ae78=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x2db2f5=readFileSync(join(_0x17ae78,_0x3d4b29(0x1a1)),'utf8'),_0xa35e6f=JSON[_0x3d4b29(0x19c)](_0x2db2f5);return cached=_0xa35e6f[_0x3d4b29(0x19f)],cached;}
@@ -1 +1 @@
1
- (function(_0xd6cf8f,_0x5365af){var _0xa115b2=a59_0x5e2f,_0x273901=_0xd6cf8f();while(!![]){try{var _0x3cf83c=parseInt(_0xa115b2(0xdb))/0x1+-parseInt(_0xa115b2(0xe2))/0x2*(parseInt(_0xa115b2(0xe4))/0x3)+parseInt(_0xa115b2(0xdc))/0x4*(-parseInt(_0xa115b2(0xe1))/0x5)+-parseInt(_0xa115b2(0xdd))/0x6+parseInt(_0xa115b2(0xe3))/0x7*(parseInt(_0xa115b2(0xdf))/0x8)+-parseInt(_0xa115b2(0xda))/0x9+parseInt(_0xa115b2(0xde))/0xa;if(_0x3cf83c===_0x5365af)break;else _0x273901['push'](_0x273901['shift']());}catch(_0x134621){_0x273901['push'](_0x273901['shift']());}}}(a59_0x260c,0x7748a));function a59_0x260c(){var _0x3c6e43=['613734XmDvEH','2292sKWPSW','1958796HalqIe','7216230vavCVQ','17432QLKLAy','stderr','2480UbAiyw','60DaQzGv','2611JIAVPe','90636DmYplB','1282536tjrsOR'];a59_0x260c=function(){return _0x3c6e43;};return a59_0x260c();}function a59_0x5e2f(_0x35ef7d,_0x5c2bd3){_0x35ef7d=_0x35ef7d-0xda;var _0x260ceb=a59_0x260c();var _0x5e2f31=_0x260ceb[_0x35ef7d];return _0x5e2f31;}export function writeCliSideChannelLine(_0x29b459){var _0x324535=a59_0x5e2f;process[_0x324535(0xe0)]['write'](_0x29b459+'\x0a');}
1
+ function a63_0x5dda(_0x564665,_0x8ed696){_0x564665=_0x564665-0x118;var _0x4e7e87=a63_0x4e7e();var _0x5dda96=_0x4e7e87[_0x564665];return _0x5dda96;}function a63_0x4e7e(){var _0x430d55=['292018UtHMgH','366bzGepP','105DWHQVl','322556lNqiju','48072GJWUMk','2271320KEHXpp','44uFkltb','1dcUtOT','write','16090dGqSbx','2403891htWAZY','6zOMxou','stderr','2510700yANrTR'];a63_0x4e7e=function(){return _0x430d55;};return a63_0x4e7e();}(function(_0x4b5153,_0xa524df){var _0x337766=a63_0x5dda,_0x3f02df=_0x4b5153();while(!![]){try{var _0x2c0fdc=parseInt(_0x337766(0x120))/0x1*(-parseInt(_0x337766(0x119))/0x2)+parseInt(_0x337766(0x124))/0x3*(-parseInt(_0x337766(0x11c))/0x4)+-parseInt(_0x337766(0x122))/0x5*(-parseInt(_0x337766(0x11a))/0x6)+-parseInt(_0x337766(0x11b))/0x7*(parseInt(_0x337766(0x11d))/0x8)+-parseInt(_0x337766(0x123))/0x9+-parseInt(_0x337766(0x11e))/0xa+parseInt(_0x337766(0x11f))/0xb*(parseInt(_0x337766(0x118))/0xc);if(_0x2c0fdc===_0xa524df)break;else _0x3f02df['push'](_0x3f02df['shift']());}catch(_0x3644b1){_0x3f02df['push'](_0x3f02df['shift']());}}}(a63_0x4e7e,0x228e9));export function writeCliSideChannelLine(_0x56da63){var _0x53556b=a63_0x5dda;process[_0x53556b(0x125)][_0x53556b(0x121)](_0x56da63+'\x0a');}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.0.2",
4
- "license": "SEE LICENSE IN LICENSE",
3
+ "version": "2.0.4-beta.0",
4
+ "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git"
@@ -23,6 +23,8 @@
23
23
  "build:dev": "rimraf lib && tsc && tsc-alias",
24
24
  "start": "tsc --watch",
25
25
  "typecheck": "tsc --noEmit",
26
+ "verify:bundled-jq": "node scripts/verify-bundled-jq.mjs",
27
+ "publish:github": "node scripts/publish-github.mjs",
26
28
  "lint": "echo 'No linter configured yet'",
27
29
  "beta-release": "sh scripts/update-beta-version.sh && bun run build && git push && git push origin --tag && bun publish --tag beta",
28
30
  "release": "sh scripts/update-latest-version.sh && bun run build && git push && git push origin --tag && bun publish",
@@ -35,14 +37,13 @@
35
37
  "lib"
36
38
  ],
37
39
  "dependencies": {
38
- "@lovrabet/cli-framework": "1.0.1",
39
- "chalk": "^5.6.2",
40
+ "@lovrabet/cli-framework": "1.0.3",
40
41
  "@lovrabet/sdk": "1.4.1",
41
42
  "@types/winston": "^2.4.4",
43
+ "chalk": "^5.6.2",
42
44
  "ink": "^6.2.3",
43
45
  "ink-spinner": "^5.0.0",
44
46
  "meow": "^13.2.0",
45
- "node-jq": "^6.3.1",
46
47
  "react": "^19.2.0",
47
48
  "winston": "^3.17.0"
48
49
  },
@@ -51,9 +52,9 @@
51
52
  "@types/react": "^19.2.0",
52
53
  "@vitest/coverage-v8": "^4.1.2",
53
54
  "javascript-obfuscator": "^5.4.1",
54
- "tsc-alias": "^1.8.10",
55
55
  "rimraf": "^6.1.3",
56
- "typescript": "latest",
56
+ "tsc-alias": "^1.8.10",
57
+ "typescript": "5.9.3",
57
58
  "vitest": "^4.1.2"
58
59
  }
59
60
  }