@lovrabet/lovrabet-cli 2.1.17 → 2.1.18-beta.1

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 (121) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/api-doc/index.js +1 -1
  3. package/lib/commands/app/cache.js +1 -1
  4. package/lib/commands/app/definitions.js +1 -1
  5. package/lib/commands/app/eligibility.js +1 -1
  6. package/lib/commands/app/mock-loader.js +1 -1
  7. package/lib/commands/app/remote-source.js +1 -1
  8. package/lib/commands/app/shared.js +1 -1
  9. package/lib/commands/app-config/get.js +1 -1
  10. package/lib/commands/app-config/index.js +1 -1
  11. package/lib/commands/artifact/index.js +1 -1
  12. package/lib/commands/auth/device.js +1 -1
  13. package/lib/commands/auth/index.js +1 -1
  14. package/lib/commands/auth/prompt.js +1 -1
  15. package/lib/commands/bff/detail.js +1 -1
  16. package/lib/commands/bff/exec.js +1 -1
  17. package/lib/commands/bff/index.js +1 -1
  18. package/lib/commands/cli-skill/index.js +1 -1
  19. package/lib/commands/common/config-policy.js +1 -1
  20. package/lib/commands/common/constraints.js +1 -1
  21. package/lib/commands/common/flags.js +1 -1
  22. package/lib/commands/common/local-file.js +1 -1
  23. package/lib/commands/config/definitions.js +1 -1
  24. package/lib/commands/config/shared.js +1 -1
  25. package/lib/commands/data/index.js +1 -1
  26. package/lib/commands/dataset/detail.js +1 -1
  27. package/lib/commands/dataset/index.js +1 -1
  28. package/lib/commands/dataset/list.js +1 -1
  29. package/lib/commands/dataset/sdk-doc.js +1 -1
  30. package/lib/commands/doctor.js +1 -1
  31. package/lib/commands/file/index.js +1 -1
  32. package/lib/commands/init.js +1 -1
  33. package/lib/commands/kb/index.js +1 -1
  34. package/lib/commands/logs/index.js +1 -1
  35. package/lib/commands/ocr/index.js +1 -1
  36. package/lib/commands/personal-bff/index.js +1 -1
  37. package/lib/commands/registry.js +1 -1
  38. package/lib/commands/schedule/index.js +1 -0
  39. package/lib/commands/schema.js +1 -1
  40. package/lib/commands/service/dynamic.js +1 -1
  41. package/lib/commands/service/function-name-adapter.js +1 -1
  42. package/lib/commands/service/index.js +1 -1
  43. package/lib/commands/service/registry.js +1 -1
  44. package/lib/commands/skill/commands/create.js +1 -1
  45. package/lib/commands/skill/commands/install.js +1 -1
  46. package/lib/commands/skill/commands/list.js +1 -1
  47. package/lib/commands/skill/commands/push.js +1 -1
  48. package/lib/commands/skill/commands/validate.js +1 -1
  49. package/lib/commands/skill/flags.js +1 -1
  50. package/lib/commands/skill/index.js +1 -1
  51. package/lib/commands/skill/manifest-helpers.js +1 -1
  52. package/lib/commands/skill/push-execute.js +1 -1
  53. package/lib/commands/skill/push-flow-helpers.js +1 -1
  54. package/lib/commands/skill/push-retarget.js +1 -1
  55. package/lib/commands/skill/scopes.js +1 -1
  56. package/lib/commands/skill/summary.js +1 -1
  57. package/lib/commands/skill/templates.js +1 -1
  58. package/lib/commands/skill/validate.js +1 -1
  59. package/lib/commands/sql/detail.js +1 -1
  60. package/lib/commands/sql/exec.js +1 -1
  61. package/lib/commands/sql/index.js +1 -1
  62. package/lib/commands/update.js +1 -1
  63. package/lib/commands/workspace/index.js +1 -1
  64. package/lib/config/schema.js +1 -1
  65. package/lib/constant/app.js +1 -1
  66. package/lib/constant/auth-mode.js +1 -1
  67. package/lib/constant/cli.js +1 -1
  68. package/lib/constant/defaults.js +1 -1
  69. package/lib/constant/distribution.js +1 -1
  70. package/lib/constant/domain.js +1 -1
  71. package/lib/constant/env.js +1 -1
  72. package/lib/constant/output.js +1 -1
  73. package/lib/constant/product.js +1 -1
  74. package/lib/constant/risk.js +1 -1
  75. package/lib/constant/url.js +1 -1
  76. package/lib/context.js +1 -1
  77. package/lib/core/api-client.js +1 -1
  78. package/lib/core/db-resolver.js +1 -1
  79. package/lib/core/sdk-client.js +1 -1
  80. package/lib/errors.js +1 -1
  81. package/lib/framework/build-all-flags.js +1 -1
  82. package/lib/framework/dryrun.js +1 -1
  83. package/lib/framework/flags.js +1 -1
  84. package/lib/framework/help.js +1 -1
  85. package/lib/framework/index.js +1 -1
  86. package/lib/framework/output.js +1 -1
  87. package/lib/framework/preparse.js +1 -1
  88. package/lib/framework/rate-limit.js +1 -1
  89. package/lib/framework/response.js +1 -1
  90. package/lib/framework/runner-confirmation.js +1 -1
  91. package/lib/framework/runner-error.js +1 -1
  92. package/lib/framework/runner.js +1 -1
  93. package/lib/framework/schema-export.js +1 -1
  94. package/lib/framework/service-order.js +1 -1
  95. package/lib/framework/types.js +1 -1
  96. package/lib/generated/build-info.js +1 -1
  97. package/lib/help.js +1 -1
  98. package/lib/skills/npx-skills-add.js +1 -1
  99. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  100. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  101. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  102. package/lib/skills/runtime-skill-sync/links.js +1 -1
  103. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  104. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  105. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  106. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  107. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  108. package/lib/skills/runtime-skill-sync/push.js +1 -1
  109. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  110. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  111. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  112. package/lib/skills/runtime-skill-sync.js +1 -1
  113. package/lib/utils/apply-jq-filter.js +1 -1
  114. package/lib/utils/logger.js +1 -1
  115. package/lib/utils/lossless-json.js +1 -1
  116. package/lib/utils/params.js +1 -1
  117. package/lib/utils/platform.js +1 -1
  118. package/lib/utils/update-notice.js +1 -1
  119. package/lib/utils/version.js +1 -1
  120. package/lib/utils/write-cli-side-channel.js +1 -1
  121. package/package.json +1 -1
@@ -1 +1 @@
1
- function a13_0xd8d8(){const _0x3d88c0=['7294842NqEeGd','1194BrQhHH','trim','AccessKey\x20(paste\x20ak_...):\x20','1833216SVbPSg','SIGINT','close','12105970teKqdv','3765giBTUl','1330650QOjdWS','question','name','removeListener','AccessKey\x20(','4zDEQaQ','270136mYcCcn','72PPDWrc','User\x20aborted\x20prompt','once','stdout','639372iivSsh'];a13_0xd8d8=function(){return _0x3d88c0;};return a13_0xd8d8();}(function(_0x22f4ff,_0x5d86ca){const _0x938a7d=a13_0x2ee2,_0x1cfb39=_0x22f4ff();while(!![]){try{const _0x15b285=-parseInt(_0x938a7d(0xa0))/0x1+parseInt(_0x938a7d(0xa2))/0x2*(-parseInt(_0x938a7d(0xa9))/0x3)+parseInt(_0x938a7d(0xaf))/0x4*(-parseInt(_0x938a7d(0xaa))/0x5)+parseInt(_0x938a7d(0xa1))/0x6+parseInt(_0x938a7d(0xa5))/0x7+-parseInt(_0x938a7d(0xb0))/0x8*(parseInt(_0x938a7d(0x9c))/0x9)+parseInt(_0x938a7d(0xa8))/0xa;if(_0x15b285===_0x5d86ca)break;else _0x1cfb39['push'](_0x1cfb39['shift']());}catch(_0x4d68b0){_0x1cfb39['push'](_0x1cfb39['shift']());}}}(a13_0xd8d8,0xba61b));function a13_0x2ee2(_0x4847c9,_0x39d75b){_0x4847c9=_0x4847c9-0x9c;const _0xd8d8af=a13_0xd8d8();let _0x2ee22c=_0xd8d8af[_0x4847c9];return _0x2ee22c;}import{createInterface}from'node:readline';class AbortPrompt extends Error{constructor(){const _0x1fad62=a13_0x2ee2;super(_0x1fad62(0x9d)),this[_0x1fad62(0xac)]='AbortPrompt';}}function createSafeRl(){const _0x52a93d=a13_0x2ee2,_0xbde5b5=createInterface({'input':process['stdin'],'output':process[_0x52a93d(0x9f)]});let _0x10d31c;const _0x51940a=new Promise((_0x1b2a9f,_0x14b7d7)=>{const _0x48a0de=_0x52a93d;_0x10d31c=()=>{const _0x4ba77e=a13_0x2ee2;_0x10d31c&&(_0xbde5b5['removeListener'](_0x4ba77e(0xa6),_0x10d31c),_0x10d31c=undefined);try{_0xbde5b5[_0x4ba77e(0xa7)]();}catch{}_0x14b7d7(new AbortPrompt());},_0xbde5b5[_0x48a0de(0x9e)](_0x48a0de(0xa6),_0x10d31c);}),_0x42c472=()=>{const _0x150b45=_0x52a93d;_0x10d31c&&(_0xbde5b5[_0x150b45(0xad)](_0x150b45(0xa6),_0x10d31c),_0x10d31c=undefined);try{_0xbde5b5[_0x150b45(0xa7)]();}catch{}};return{'rl':_0xbde5b5,'abortPromise':_0x51940a,'disposeSuccess':_0x42c472};}export async function promptAccessKey(_0x3cd63e=''){const {rl:_0x85aff0,abortPromise:_0x2f4b81,disposeSuccess:_0x4a0e17}=createSafeRl(),_0x103446=new Promise(_0x555ef3=>{const _0x10c31d=a13_0x2ee2,_0x4ea52f=_0x3cd63e?_0x10c31d(0xae)+_0x3cd63e+'):\x20':_0x10c31d(0xa4);_0x85aff0[_0x10c31d(0xab)](_0x4ea52f,_0x14caf5=>{const _0x3791fc=_0x10c31d;_0x4a0e17(),_0x555ef3(_0x14caf5[_0x3791fc(0xa3)]()||_0x3cd63e);});});return Promise['race']([_0x103446,_0x2f4b81]);}export function isAbortPrompt(_0x5f1080){return _0x5f1080 instanceof Error&&_0x5f1080['name']==='AbortPrompt';}
1
+ (function(_0x54485c,_0x3f55bb){const _0x2bfdaa=a13_0x1780,_0x4ca3b9=_0x54485c();while(!![]){try{const _0x5c200e=parseInt(_0x2bfdaa(0x6f))/0x1*(-parseInt(_0x2bfdaa(0x78))/0x2)+-parseInt(_0x2bfdaa(0x7a))/0x3*(-parseInt(_0x2bfdaa(0x71))/0x4)+parseInt(_0x2bfdaa(0x7b))/0x5+-parseInt(_0x2bfdaa(0x6c))/0x6+parseInt(_0x2bfdaa(0x6e))/0x7+parseInt(_0x2bfdaa(0x72))/0x8*(parseInt(_0x2bfdaa(0x6a))/0x9)+-parseInt(_0x2bfdaa(0x6d))/0xa*(parseInt(_0x2bfdaa(0x79))/0xb);if(_0x5c200e===_0x3f55bb)break;else _0x4ca3b9['push'](_0x4ca3b9['shift']());}catch(_0x51f6e3){_0x4ca3b9['push'](_0x4ca3b9['shift']());}}}(a13_0x4eab,0xba6cf));import{createInterface}from'node:readline';class AbortPrompt extends Error{constructor(){const _0x164c64=a13_0x1780;super(_0x164c64(0x74)),this['name']=_0x164c64(0x68);}}function a13_0x1780(_0xe64a56,_0x25fa36){_0xe64a56=_0xe64a56-0x68;const _0x4eab66=a13_0x4eab();let _0x1780bf=_0x4eab66[_0xe64a56];return _0x1780bf;}function createSafeRl(){const _0x48eb93=a13_0x1780,_0x428827=createInterface({'input':process[_0x48eb93(0x69)],'output':process[_0x48eb93(0x7e)]});let _0x192278;const _0x6b0d55=new Promise((_0x2f5c53,_0x4c1c69)=>{const _0x5063e7=_0x48eb93;_0x192278=()=>{const _0x5a04e5=a13_0x1780;_0x192278&&(_0x428827[_0x5a04e5(0x76)]('SIGINT',_0x192278),_0x192278=undefined);try{_0x428827[_0x5a04e5(0x75)]();}catch{}_0x4c1c69(new AbortPrompt());},_0x428827[_0x5063e7(0x7d)]('SIGINT',_0x192278);}),_0x47b8d2=()=>{const _0x1b18bc=_0x48eb93;_0x192278&&(_0x428827[_0x1b18bc(0x76)](_0x1b18bc(0x77),_0x192278),_0x192278=undefined);try{_0x428827[_0x1b18bc(0x75)]();}catch{}};return{'rl':_0x428827,'abortPromise':_0x6b0d55,'disposeSuccess':_0x47b8d2};}function a13_0x4eab(){const _0x1f1b6b=['682RqqNxf','8526793qFeJNy','36OahNDM','4908470PmUqtE','name','once','stdout','AbortPrompt','stdin','284283lCCpck','AccessKey\x20(','1947678UkRpzg','10DuCjQZ','3698611redCiA','4336qMVLAQ','trim','442164zUsFDl','128bBrnjz','AccessKey\x20(paste\x20ak_...):\x20','User\x20aborted\x20prompt','close','removeListener','SIGINT'];a13_0x4eab=function(){return _0x1f1b6b;};return a13_0x4eab();}export async function promptAccessKey(_0x4ffa2d=''){const {rl:_0xd5def5,abortPromise:_0x361912,disposeSuccess:_0x6b815d}=createSafeRl(),_0x2434db=new Promise(_0x334e36=>{const _0x1cfb94=a13_0x1780,_0x51dab3=_0x4ffa2d?_0x1cfb94(0x6b)+_0x4ffa2d+'):\x20':_0x1cfb94(0x73);_0xd5def5['question'](_0x51dab3,_0xc7a768=>{const _0x148760=_0x1cfb94;_0x6b815d(),_0x334e36(_0xc7a768[_0x148760(0x70)]()||_0x4ffa2d);});});return Promise['race']([_0x2434db,_0x361912]);}export function isAbortPrompt(_0x52fca1){const _0x375bee=a13_0x1780;return _0x52fca1 instanceof Error&&_0x52fca1[_0x375bee(0x7c)]===_0x375bee(0x68);}
@@ -1 +1 @@
1
- function a14_0x15d3(_0x55d700,_0x204d58){_0x55d700=_0x55d700-0xe9;const _0x5e4a2a=a14_0x5e4a();let _0x15d383=_0x5e4a2a[_0x55d700];return _0x15d383;}const a14_0x443138=a14_0x15d3;function a14_0x5e4a(){const _0x4fd555=['775780qOsYSo','name','description','detail','read','bff','1793eUAKKZ','appCode','(none)','654ORdlUs','1708gmuVrA','gmtModified','231pHxHJp','BFF\x20function\x20name','Get\x20a\x20BFF\x20endpoint\x20contract\x20by\x20function\x20name','1620iLUrPt','9240mrJOhl','4685DouEKh','version','783hvrPGl','3875988BThTnP','177630nrPkWC','28670KGfXxG','functionName'];a14_0x5e4a=function(){return _0x4fd555;};return a14_0x5e4a();}(function(_0xefacb8,_0x104194){const _0x4f7b60=a14_0x15d3,_0x2842a2=_0xefacb8();while(!![]){try{const _0xb8d131=-parseInt(_0x4f7b60(0xff))/0x1+parseInt(_0x4f7b60(0xf0))/0x2*(-parseInt(_0x4f7b60(0xf6))/0x3)+-parseInt(_0x4f7b60(0xf1))/0x4*(parseInt(_0x4f7b60(0xf8))/0x5)+-parseInt(_0x4f7b60(0xfc))/0x6*(-parseInt(_0x4f7b60(0xf3))/0x7)+parseInt(_0x4f7b60(0xf7))/0x8*(parseInt(_0x4f7b60(0xfa))/0x9)+-parseInt(_0x4f7b60(0xfd))/0xa*(-parseInt(_0x4f7b60(0xed))/0xb)+parseInt(_0x4f7b60(0xfb))/0xc;if(_0xb8d131===_0x104194)break;else _0x2842a2['push'](_0x2842a2['shift']());}catch(_0x70dd8){_0x2842a2['push'](_0x2842a2['shift']());}}}(a14_0x5e4a,0x7dcef));import{getBffEndpointContract}from'../../core/api-client.js';import{NAME_FLAG}from'../../commands/common/flags.js';export const bffDetail={'service':a14_0x443138(0xec),'command':a14_0x443138(0xea),'description':a14_0x443138(0xf5),'risk':a14_0x443138(0xeb),'flags':[{...NAME_FLAG,'required':!![],'description':a14_0x443138(0xf4)}],async 'execute'(_0x5492f8){const _0x3f7b94=a14_0x443138,_0x5ada37=await getBffEndpointContract(_0x5492f8[_0x3f7b94(0xee)],_0x5492f8['str'](_0x3f7b94(0x100)));return{'ok':!![],'data':{'appCode':_0x5ada37[_0x3f7b94(0xee)],'functionName':_0x5ada37[_0x3f7b94(0xfe)],'description':_0x5ada37[_0x3f7b94(0xe9)]||_0x3f7b94(0xef),'version':_0x5ada37[_0x3f7b94(0xf9)],'gmtModified':_0x5ada37[_0x3f7b94(0xf2)]}};}};
1
+ const a14_0x2f082f=a14_0x549f;(function(_0x425975,_0x17c57e){const _0x5b85be=a14_0x549f,_0x710af0=_0x425975();while(!![]){try{const _0x2c8764=-parseInt(_0x5b85be(0x1e0))/0x1+-parseInt(_0x5b85be(0x1e1))/0x2+-parseInt(_0x5b85be(0x1e9))/0x3+parseInt(_0x5b85be(0x1ec))/0x4+parseInt(_0x5b85be(0x1e8))/0x5*(-parseInt(_0x5b85be(0x1f2))/0x6)+parseInt(_0x5b85be(0x1e7))/0x7*(parseInt(_0x5b85be(0x1ea))/0x8)+-parseInt(_0x5b85be(0x1e6))/0x9*(-parseInt(_0x5b85be(0x1e5))/0xa);if(_0x2c8764===_0x17c57e)break;else _0x710af0['push'](_0x710af0['shift']());}catch(_0x1ac5a0){_0x710af0['push'](_0x710af0['shift']());}}}(a14_0x2a8a,0xb82c0));function a14_0x2a8a(){const _0x1d6e9f=['4065aVfhsj','3558456vlsfOv','529624IgnPIy','(none)','1066284ftCqyk','functionName','version','detail','str','gmtModified','6018RZsCSo','name','108031tZtkoX','1193260LMgVJS','read','description','appCode','2030uRGjZN','112257adaDnD','70uxrzdi'];a14_0x2a8a=function(){return _0x1d6e9f;};return a14_0x2a8a();}function a14_0x549f(_0x69fddf,_0x430ded){_0x69fddf=_0x69fddf-0x1df;const _0x2a8a03=a14_0x2a8a();let _0x549f3f=_0x2a8a03[_0x69fddf];return _0x549f3f;}import{getBffEndpointContract}from'../../core/api-client.js';import{NAME_FLAG}from'../../commands/common/flags.js';export const bffDetail={'service':'bff','command':a14_0x2f082f(0x1ef),'description':'Get\x20a\x20BFF\x20endpoint\x20contract\x20by\x20function\x20name','risk':a14_0x2f082f(0x1e2),'flags':[{...NAME_FLAG,'required':!![],'description':'BFF\x20function\x20name'}],async 'execute'(_0x34cfb7){const _0x188b76=a14_0x2f082f,_0x5b4643=await getBffEndpointContract(_0x34cfb7['appCode'],_0x34cfb7[_0x188b76(0x1f0)](_0x188b76(0x1df)));return{'ok':!![],'data':{'appCode':_0x5b4643[_0x188b76(0x1e4)],'functionName':_0x5b4643[_0x188b76(0x1ed)],'description':_0x5b4643[_0x188b76(0x1e3)]||_0x188b76(0x1eb),'version':_0x5b4643[_0x188b76(0x1ee)],'gmtModified':_0x5b4643[_0x188b76(0x1f1)]}};}};
@@ -1 +1 @@
1
- const a15_0x4774e3=a15_0x586c;(function(_0x52d97a,_0x1e7226){const _0x3cf176=a15_0x586c,_0x3d209c=_0x52d97a();while(!![]){try{const _0x303b25=parseInt(_0x3cf176(0xdf))/0x1+parseInt(_0x3cf176(0xe1))/0x2+-parseInt(_0x3cf176(0xe8))/0x3*(-parseInt(_0x3cf176(0xe4))/0x4)+parseInt(_0x3cf176(0xe2))/0x5+parseInt(_0x3cf176(0xe3))/0x6+parseInt(_0x3cf176(0xea))/0x7+-parseInt(_0x3cf176(0xdd))/0x8;if(_0x303b25===_0x1e7226)break;else _0x3d209c['push'](_0x3d209c['shift']());}catch(_0x3168a0){_0x3d209c['push'](_0x3d209c['shift']());}}}(a15_0x5090,0x60e8e));import{executeSdkBff}from'../../core/sdk-client.js';import{parseJsonParams}from'../../utils/params.js';function a15_0x586c(_0x404183,_0x1bef14){_0x404183=_0x404183-0xdb;const _0x509085=a15_0x5090();let _0x586c09=_0x509085[_0x404183];return _0x586c09;}import{NAME_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';export const bffExec={'service':a15_0x4774e3(0xdb),'command':a15_0x4774e3(0xe9),'description':'Execute\x20a\x20BFF\x20script\x20by\x20function\x20name','risk':a15_0x4774e3(0xe5),'flags':[{...NAME_FLAG,'required':!![],'description':'BFF\x20function\x20name\x20to\x20execute'},PARAMS_FLAG],async 'execute'(_0x151437){const _0x44c46e=a15_0x4774e3,_0x259b23=parseJsonParams(_0x151437[_0x44c46e(0xe6)](_0x44c46e(0xde))),_0x4acadd=Date[_0x44c46e(0xe0)](),_0x116dc7=await executeSdkBff(_0x151437['str'](_0x44c46e(0xe7)),_0x259b23),_0x5e50d2=Date['now']()-_0x4acadd;return{'ok':!![],'data':{'result':_0x116dc7,'elapsed':_0x5e50d2},'message':_0x44c46e(0xdc)+_0x5e50d2+'ms'};}};function a15_0x5090(){const _0x2699a1=['now','144358rxeBTq','854880PgIFJW','2264094AmuZLU','160fkISEF','read','str','name','10083zmXQjj','exec','626633dpulAR','bff','BFF\x20executed\x20in\x20','5991568jxnqFw','params','301425nsIpPn'];a15_0x5090=function(){return _0x2699a1;};return a15_0x5090();}
1
+ function a15_0x1a0a(_0x214cf9,_0x1f67b1){_0x214cf9=_0x214cf9-0x148;const _0x4998a6=a15_0x4998();let _0x1a0a59=_0x4998a6[_0x214cf9];return _0x1a0a59;}function a15_0x4998(){const _0x109d81=['3BFCOSY','params','33338061aKQDyK','bff','2464096QbbPWD','17516gPmXzU','80636PxfTas','49serkWP','str','read','4396212GYGIxq','name','exec','Execute\x20a\x20BFF\x20script\x20by\x20function\x20name','3510680ixzQjq','BFF\x20function\x20name\x20to\x20execute','now','724578CqYjFF'];a15_0x4998=function(){return _0x109d81;};return a15_0x4998();}const a15_0x2e7e45=a15_0x1a0a;(function(_0x2f22aa,_0x273629){const _0xe14d41=a15_0x1a0a,_0x4fa241=_0x2f22aa();while(!![]){try{const _0x109ddb=-parseInt(_0xe14d41(0x157))/0x1+-parseInt(_0xe14d41(0x158))/0x2*(parseInt(_0xe14d41(0x152))/0x3)+-parseInt(_0xe14d41(0x14a))/0x4+-parseInt(_0xe14d41(0x14e))/0x5+-parseInt(_0xe14d41(0x151))/0x6*(parseInt(_0xe14d41(0x159))/0x7)+-parseInt(_0xe14d41(0x156))/0x8+parseInt(_0xe14d41(0x154))/0x9;if(_0x109ddb===_0x273629)break;else _0x4fa241['push'](_0x4fa241['shift']());}catch(_0x45dca2){_0x4fa241['push'](_0x4fa241['shift']());}}}(a15_0x4998,0xa8e8d));import{executeSdkBff}from'../../core/sdk-client.js';import{parseJsonParams}from'../../utils/params.js';import{NAME_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';export const bffExec={'service':a15_0x2e7e45(0x155),'command':a15_0x2e7e45(0x14c),'description':a15_0x2e7e45(0x14d),'risk':a15_0x2e7e45(0x149),'flags':[{...NAME_FLAG,'required':!![],'description':a15_0x2e7e45(0x14f)},PARAMS_FLAG],async 'execute'(_0x2ae001){const _0x450a73=a15_0x2e7e45,_0x48ada9=parseJsonParams(_0x2ae001[_0x450a73(0x148)](_0x450a73(0x153))),_0x34c4fe=Date[_0x450a73(0x150)](),_0xe4c25=await executeSdkBff(_0x2ae001['str'](_0x450a73(0x14b)),_0x48ada9),_0x38cfcb=Date[_0x450a73(0x150)]()-_0x34c4fe;return{'ok':!![],'data':{'result':_0xe4c25,'elapsed':_0x38cfcb},'message':'BFF\x20executed\x20in\x20'+_0x38cfcb+'ms'};}};
@@ -1 +1 @@
1
- (function(_0x10e93e,_0x35af48){const _0x2f03fd=a16_0x4913,_0x5ded50=_0x10e93e();while(!![]){try{const _0x3b124a=-parseInt(_0x2f03fd(0xaa))/0x1*(-parseInt(_0x2f03fd(0xad))/0x2)+-parseInt(_0x2f03fd(0xb1))/0x3*(-parseInt(_0x2f03fd(0xb2))/0x4)+parseInt(_0x2f03fd(0xaf))/0x5+-parseInt(_0x2f03fd(0xab))/0x6*(-parseInt(_0x2f03fd(0xb0))/0x7)+parseInt(_0x2f03fd(0xae))/0x8+-parseInt(_0x2f03fd(0xac))/0x9*(-parseInt(_0x2f03fd(0xa9))/0xa)+-parseInt(_0x2f03fd(0xa8))/0xb;if(_0x3b124a===_0x35af48)break;else _0x5ded50['push'](_0x5ded50['shift']());}catch(_0x535df0){_0x5ded50['push'](_0x5ded50['shift']());}}}(a16_0x8542,0x933ff));function a16_0x4913(_0x213686,_0x2f444c){_0x213686=_0x213686-0xa8;const _0x854260=a16_0x8542();let _0x491365=_0x854260[_0x213686];return _0x491365;}import{bffDetail}from'../../commands/bff/detail.js';import{bffExec}from'../../commands/bff/exec.js';function a16_0x8542(){const _0x12d540=['8VxuHOs','24858152CPACBK','171140MXRcxB','14neOorg','3020382kRrUSx','18cbHatB','152094CDjCpZ','5265176lyzmeQ','1568555IKmVKD','7AhXAnD','433239oCpmMt'];a16_0x8542=function(){return _0x12d540;};return a16_0x8542();}export const bffDefinitions=[bffDetail,bffExec];
1
+ function a16_0x3ff5(_0xf3af12,_0x22e2cb){_0xf3af12=_0xf3af12-0x1c8;const _0x455c97=a16_0x455c();let _0x3ff57b=_0x455c97[_0xf3af12];return _0x3ff57b;}(function(_0x441dd0,_0x50aba8){const _0x1c0752=a16_0x3ff5,_0x1a80c6=_0x441dd0();while(!![]){try{const _0x12eed2=-parseInt(_0x1c0752(0x1ce))/0x1+parseInt(_0x1c0752(0x1d0))/0x2*(-parseInt(_0x1c0752(0x1ca))/0x3)+parseInt(_0x1c0752(0x1cf))/0x4+parseInt(_0x1c0752(0x1cb))/0x5*(-parseInt(_0x1c0752(0x1c8))/0x6)+-parseInt(_0x1c0752(0x1cc))/0x7+parseInt(_0x1c0752(0x1cd))/0x8+parseInt(_0x1c0752(0x1c9))/0x9;if(_0x12eed2===_0x50aba8)break;else _0x1a80c6['push'](_0x1a80c6['shift']());}catch(_0x49023f){_0x1a80c6['push'](_0x1a80c6['shift']());}}}(a16_0x455c,0xb3cf0));import{bffDetail}from'../../commands/bff/detail.js';import{bffExec}from'../../commands/bff/exec.js';function a16_0x455c(){const _0x5b8587=['4189593pggpUw','30sTnnve','5796217MzphGo','5118480RImLJw','649752soSROU','371864KqxQLN','2vbPiPm','716736dDXAnb','32352930rDbGgC'];a16_0x455c=function(){return _0x5b8587;};return a16_0x455c();}export const bffDefinitions=[bffDetail,bffExec];
@@ -1 +1 @@
1
- function a17_0x588c(_0xbdfe02,_0x19d763){_0xbdfe02=_0xbdfe02-0x10d;const _0x1c001c=a17_0x1c00();let _0x588c79=_0x1c001c[_0xbdfe02];return _0x588c79;}const a17_0x6e5b7f=a17_0x588c;(function(_0x1f8835,_0xeecd60){const _0x16f806=a17_0x588c,_0x46c18e=_0x1f8835();while(!![]){try{const _0x9bfe72=-parseInt(_0x16f806(0x111))/0x1*(parseInt(_0x16f806(0x124))/0x2)+-parseInt(_0x16f806(0x11f))/0x3*(-parseInt(_0x16f806(0x112))/0x4)+-parseInt(_0x16f806(0x123))/0x5*(-parseInt(_0x16f806(0x114))/0x6)+parseInt(_0x16f806(0x118))/0x7*(parseInt(_0x16f806(0x119))/0x8)+-parseInt(_0x16f806(0x11c))/0x9+parseInt(_0x16f806(0x121))/0xa+-parseInt(_0x16f806(0x10f))/0xb;if(_0x9bfe72===_0xeecd60)break;else _0x46c18e['push'](_0x46c18e['shift']());}catch(_0x3cab0e){_0x46c18e['push'](_0x46c18e['shift']());}}}(a17_0x1c00,0x38fae));import{CliErrors}from'../../errors.js';import{logger}from'../../utils/logger.js';export const cliSkillDefinitions=[{'service':'cli-skill','command':a17_0x6e5b7f(0x12a),'description':a17_0x6e5b7f(0x113),'risk':'write','requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],async 'execute'(_0x3994fb){const _0x3cf48a=a17_0x6e5b7f;logger[_0x3cf48a(0x115)](process[_0x3cf48a(0x12b)]()),logger['info'](_0x3cf48a(0x128),_0x3cf48a(0x116));const {LOVRABET_SKILL_SOURCE:_0x4a8fa,LOVRABET_SKIP_NPX_SKILLS_ENV:_0x119ef4,runNpxSkillsAddGlobal:_0x1aef18}=await import(_0x3cf48a(0x110)),_0x1cba3b=_0x3994fb[_0x3cf48a(0x129)]?_0x3cf48a(0x11d):_0x3cf48a(0x127);console[_0x3cf48a(0x125)]('Installing\x20CLI\x20Built-in\x20Skill\x20via\x20npx\x20(npx\x20skills\x20add\x20'+_0x4a8fa+'\x20-g\x20-y)...');const _0x1d655d=_0x1aef18(process[_0x3cf48a(0x12b)](),_0x4a8fa,{'stdio':_0x1cba3b});if(_0x1d655d[_0x3cf48a(0x117)])console[_0x3cf48a(0x125)](_0x3cf48a(0x12c)+_0x119ef4+_0x3cf48a(0x120));else{if(_0x1d655d['ok'])console[_0x3cf48a(0x125)](_0x3cf48a(0x126));else throw CliErrors[_0x3cf48a(0x11b)](_0x3cf48a(0x11a)+(_0x1d655d[_0x3cf48a(0x10e)]||_0x3cf48a(0x11e)),_0x3cf48a(0x122)+_0x4a8fa+_0x3cf48a(0x10d));}return{'ok':!![]};}}];function a17_0x1c00(){const _0x75e852=['skipped','210ZAlSlH','28008pdOsLL','npx\x20skills\x20add\x20failed:\x20','apiError','758754yyaRHP','pipe','unknown','9219UwHwWg','=1);\x20assuming\x20CLI\x20Built-in\x20Skill\x20is\x20already\x20present.','2713290hBtHLo','Check\x20network\x20connectivity\x20and\x20try\x20again,\x20or\x20run:\x20npx\x20skills\x20add\x20','472830xtTtBg','2GhtcpA','log','CLI\x20Built-in\x20Skill\x20installed','inherit','cli-skill-install','nonInteractive','install','cwd','Skipped\x20npx\x20(','\x20-g\x20-y','error','1896224WpRPvx','../../skills/npx-skills-add.js','331167fIbdoe','456VIuXho','Install\x20the\x20CLI\x20Built-in\x20Skill\x20required\x20by\x20Lovrabet\x20runtime','6SCxqkj','setLogPath','Installing\x20CLI\x20Built-in\x20Skill\x20via\x20npx.'];a17_0x1c00=function(){return _0x75e852;};return a17_0x1c00();}
1
+ const a17_0x11f926=a17_0x1c3e;function a17_0x3791(){const _0x49dee2=['\x20-g\x20-y)...','Installing\x20CLI\x20Built-in\x20Skill\x20via\x20npx.','4950555NYZYNn','log','4YkjJuA','270pAPJNL','\x20-g\x20-y','setLogPath','../../skills/npx-skills-add.js','3511056juIoEb','info','Install\x20the\x20CLI\x20Built-in\x20Skill\x20required\x20by\x20Lovrabet\x20runtime','apiError','13614535rDQuZV','write','2KnWIwK','cli-skill-install','skipped','141580ZUjoni','CLI\x20Built-in\x20Skill\x20installed','nonInteractive','Installing\x20CLI\x20Built-in\x20Skill\x20via\x20npx\x20(npx\x20skills\x20add\x20','inherit','cwd','2817032ezOXKZ','unknown','error','14wdGTcc','3741225fQVMqM','Check\x20network\x20connectivity\x20and\x20try\x20again,\x20or\x20run:\x20npx\x20skills\x20add\x20','357001HVLJql','=1);\x20assuming\x20CLI\x20Built-in\x20Skill\x20is\x20already\x20present.','Skipped\x20npx\x20('];a17_0x3791=function(){return _0x49dee2;};return a17_0x3791();}(function(_0x1b7a49,_0x21e40d){const _0x513215=a17_0x1c3e,_0x150f74=_0x1b7a49();while(!![]){try{const _0x133e2a=parseInt(_0x513215(0x193))/0x1*(parseInt(_0x513215(0x1a5))/0x2)+-parseInt(_0x513215(0x198))/0x3*(-parseInt(_0x513215(0x19a))/0x4)+parseInt(_0x513215(0x191))/0x5+parseInt(_0x513215(0x19f))/0x6+-parseInt(_0x513215(0x190))/0x7*(parseInt(_0x513215(0x18d))/0x8)+-parseInt(_0x513215(0x19b))/0x9*(parseInt(_0x513215(0x1a8))/0xa)+-parseInt(_0x513215(0x1a3))/0xb;if(_0x133e2a===_0x21e40d)break;else _0x150f74['push'](_0x150f74['shift']());}catch(_0x1b3096){_0x150f74['push'](_0x150f74['shift']());}}}(a17_0x3791,0xedc64));import{CliErrors}from'../../errors.js';function a17_0x1c3e(_0x3c948b,_0x2bc233){_0x3c948b=_0x3c948b-0x18c;const _0x3791a0=a17_0x3791();let _0x1c3eb2=_0x3791a0[_0x3c948b];return _0x1c3eb2;}import{logger}from'../../utils/logger.js';export const cliSkillDefinitions=[{'service':'cli-skill','command':'install','description':a17_0x11f926(0x1a1),'risk':a17_0x11f926(0x1a4),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],async 'execute'(_0x5a4e0c){const _0x304053=a17_0x11f926;logger[_0x304053(0x19d)](process[_0x304053(0x18c)]()),logger[_0x304053(0x1a0)](_0x304053(0x1a6),_0x304053(0x197));const {LOVRABET_SKILL_SOURCE:_0x3b475f,LOVRABET_SKIP_NPX_SKILLS_ENV:_0x157950,runNpxSkillsAddGlobal:_0x3fdc6b}=await import(_0x304053(0x19e)),_0x45d8fa=_0x5a4e0c[_0x304053(0x1aa)]?'pipe':_0x304053(0x1ac);console['log'](_0x304053(0x1ab)+_0x3b475f+_0x304053(0x196));const _0x430c02=_0x3fdc6b(process[_0x304053(0x18c)](),_0x3b475f,{'stdio':_0x45d8fa});if(_0x430c02[_0x304053(0x1a7)])console[_0x304053(0x199)](_0x304053(0x195)+_0x157950+_0x304053(0x194));else{if(_0x430c02['ok'])console[_0x304053(0x199)](_0x304053(0x1a9));else throw CliErrors[_0x304053(0x1a2)]('npx\x20skills\x20add\x20failed:\x20'+(_0x430c02[_0x304053(0x18f)]||_0x304053(0x18e)),_0x304053(0x192)+_0x3b475f+_0x304053(0x19c));}return{'ok':!![]};}}];
@@ -1 +1 @@
1
- (function(_0x61ae1e,_0x15f0f8){const _0x562b6a=a18_0x4458,_0xd85c39=_0x61ae1e();while(!![]){try{const _0x28971f=parseInt(_0x562b6a(0x10f))/0x1*(-parseInt(_0x562b6a(0x122))/0x2)+parseInt(_0x562b6a(0x119))/0x3+-parseInt(_0x562b6a(0x117))/0x4+-parseInt(_0x562b6a(0x10d))/0x5*(parseInt(_0x562b6a(0x121))/0x6)+-parseInt(_0x562b6a(0x11a))/0x7+-parseInt(_0x562b6a(0x118))/0x8+parseInt(_0x562b6a(0x11c))/0x9*(parseInt(_0x562b6a(0x11d))/0xa);if(_0x28971f===_0x15f0f8)break;else _0xd85c39['push'](_0xd85c39['shift']());}catch(_0x1016a1){_0xd85c39['push'](_0xd85c39['shift']());}}}(a18_0x1b62,0x1a574));import{CLI_BIN_NAME}from'../../constant/cli.js';import{PRODUCT_CONFIG}from'../../constant/product.js';export{DEFAULT_APP_PROFILE_NAME,DEFAULT_CONFIG_VALUES}from'../../constant/defaults.js';export{RUNTIME_ENV_VALUES}from'../../constant/env.js';export{OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{isInProject}from'../../context.js';function a18_0x1b62(){const _0xeaa61e=['inProject','validation','689676kVGriT','1039008YCCfqQ','537798UvFIDd','1185142mZzwxt','global','9Gukjfp','6535270mbHKOF','newConfigFileName','\x20init`\x20first.','Flags\x20--global\x20and\x20--project\x20are\x20mutually\x20exclusive.','135630RwCPSI','10vbGmXo','project-default','\x20(global)','10wUipUD','Not\x20inside\x20a\x20project\x20(no\x20','41618SZORzV','\x20found).','project-or-global-explicit','Add\x20--global\x20to\x20write\x20to\x20~/',',\x20or\x20run\x20`','project'];a18_0x1b62=function(){return _0xeaa61e;};return a18_0x1b62();}import{CliErrors}from'../../errors.js';function a18_0x4458(_0x8310ab,_0xda5a7f){_0x8310ab=_0x8310ab-0x10b;const _0x1b6263=a18_0x1b62();let _0x4458a0=_0x1b6263[_0x8310ab];return _0x4458a0;}export{buildAppProfileListFields,CONFIG_ENUM_VALUES,IMPORTABLE_RUNTIME_CONFIG_KEYS,TOP_LEVEL_CONFIG_KEYS,getConfigCommandKeyDescription,getConfigDefaultValue,getConfigEnumValues,getTopLevelConfigKeyList,getTopLevelConfigKeySummary,isLegacyCompatConfigKey,isTopLevelConfigKey}from'../../config/schema.js';export function resolveConfigScope(_0x5e7fef){const _0x5b3cd0=a18_0x4458,{explicitGlobal:explicitGlobal=![],explicitProject:explicitProject=![],policy:_0x1c8dae}=_0x5e7fef;if(explicitGlobal&&explicitProject)throw CliErrors[_0x5b3cd0(0x116)](_0x5b3cd0(0x120),'Use\x20only\x20one\x20config\x20scope\x20flag.');if(explicitGlobal)return _0x5b3cd0(0x11b);if(explicitProject)return _0x5b3cd0(0x114);switch(_0x1c8dae){case'global-default':return'global';case _0x5b3cd0(0x10b):return _0x5e7fef[_0x5b3cd0(0x115)]??isInProject()?'project':_0x5b3cd0(0x11b);case _0x5b3cd0(0x111):if(!(_0x5e7fef[_0x5b3cd0(0x115)]??isInProject()))throw CliErrors[_0x5b3cd0(0x116)](_0x5b3cd0(0x10e)+PRODUCT_CONFIG[_0x5b3cd0(0x11e)]+_0x5b3cd0(0x110),_0x5b3cd0(0x112)+PRODUCT_CONFIG[_0x5b3cd0(0x11e)]+_0x5b3cd0(0x113)+CLI_BIN_NAME+_0x5b3cd0(0x11f));return'project';}}export function toScopeFlags(_0x4d55d0){const _0x574e18=a18_0x4458;return{'global':_0x4d55d0===_0x574e18(0x11b)};}export function formatScopeLabel(_0x587e04){const _0x20566b=a18_0x4458;return _0x587e04===_0x20566b(0x11b)?_0x20566b(0x10c):'';}
1
+ (function(_0x24999c,_0xb0d30){const _0x2d1ed8=a18_0xafce,_0x67ad81=_0x24999c();while(!![]){try{const _0x47f1b9=-parseInt(_0x2d1ed8(0x1ee))/0x1+-parseInt(_0x2d1ed8(0x1ec))/0x2+-parseInt(_0x2d1ed8(0x1f4))/0x3*(parseInt(_0x2d1ed8(0x1f3))/0x4)+-parseInt(_0x2d1ed8(0x1ea))/0x5+-parseInt(_0x2d1ed8(0x1f5))/0x6+parseInt(_0x2d1ed8(0x1f8))/0x7+parseInt(_0x2d1ed8(0x1f1))/0x8;if(_0x47f1b9===_0xb0d30)break;else _0x67ad81['push'](_0x67ad81['shift']());}catch(_0x56a70b){_0x67ad81['push'](_0x67ad81['shift']());}}}(a18_0x1370,0xc32b8));function a18_0xafce(_0xeeb444,_0x24d82a){_0xeeb444=_0xeeb444-0x1e8;const _0x137037=a18_0x1370();let _0xafced4=_0x137037[_0xeeb444];return _0xafced4;}import{CLI_BIN_NAME}from'../../constant/cli.js';import{PRODUCT_CONFIG}from'../../constant/product.js';export{DEFAULT_APP_PROFILE_NAME,DEFAULT_CONFIG_VALUES}from'../../constant/defaults.js';export{RUNTIME_ENV_VALUES}from'../../constant/env.js';export{OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{isInProject}from'../../context.js';import{CliErrors}from'../../errors.js';export{buildAppProfileListFields,CONFIG_ENUM_VALUES,IMPORTABLE_RUNTIME_CONFIG_KEYS,TOP_LEVEL_CONFIG_KEYS,getConfigCommandKeyDescription,getConfigDefaultValue,getConfigEnumValues,getTopLevelConfigKeyList,getTopLevelConfigKeySummary,isLegacyCompatConfigKey,isTopLevelConfigKey}from'../../config/schema.js';export function resolveConfigScope(_0x2080a7){const _0x3be1ac=a18_0xafce,{explicitGlobal:explicitGlobal=![],explicitProject:explicitProject=![],policy:_0x10ab50}=_0x2080a7;if(explicitGlobal&&explicitProject)throw CliErrors[_0x3be1ac(0x1f2)]('Flags\x20--global\x20and\x20--project\x20are\x20mutually\x20exclusive.',_0x3be1ac(0x1e9));if(explicitGlobal)return _0x3be1ac(0x1e8);if(explicitProject)return _0x3be1ac(0x1f7);switch(_0x10ab50){case _0x3be1ac(0x1f0):return _0x3be1ac(0x1e8);case'project-default':return _0x2080a7['inProject']??isInProject()?_0x3be1ac(0x1f7):_0x3be1ac(0x1e8);case'project-or-global-explicit':if(!(_0x2080a7[_0x3be1ac(0x1ef)]??isInProject()))throw CliErrors[_0x3be1ac(0x1f2)]('Not\x20inside\x20a\x20project\x20(no\x20'+PRODUCT_CONFIG[_0x3be1ac(0x1eb)]+_0x3be1ac(0x1ed),'Add\x20--global\x20to\x20write\x20to\x20~/'+PRODUCT_CONFIG['newConfigFileName']+',\x20or\x20run\x20`'+CLI_BIN_NAME+_0x3be1ac(0x1f6));return _0x3be1ac(0x1f7);}}function a18_0x1370(){const _0x711bb0=['\x20found).','310847FXEwYt','inProject','global-default','14650976pMptwx','validation','135144wpvsQE','69MuVvRO','2039442eAQLNV','\x20init`\x20first.','project','3668119chwgvo','global','Use\x20only\x20one\x20config\x20scope\x20flag.','511110EqgOgM','newConfigFileName','51838OEGojf'];a18_0x1370=function(){return _0x711bb0;};return a18_0x1370();}export function toScopeFlags(_0x483715){const _0x216309=a18_0xafce;return{'global':_0x483715===_0x216309(0x1e8)};}export function formatScopeLabel(_0x4ff250){const _0x200d1b=a18_0xafce;return _0x4ff250===_0x200d1b(0x1e8)?'\x20(global)':'';}
@@ -1 +1 @@
1
- (function(_0x492891,_0x4b7469){const _0x5eda9a=a19_0x2789,_0xa9afa2=_0x492891();while(!![]){try{const _0x1d2b51=-parseInt(_0x5eda9a(0x158))/0x1*(-parseInt(_0x5eda9a(0x16d))/0x2)+-parseInt(_0x5eda9a(0x15a))/0x3+-parseInt(_0x5eda9a(0x15e))/0x4*(parseInt(_0x5eda9a(0x173))/0x5)+parseInt(_0x5eda9a(0x164))/0x6*(parseInt(_0x5eda9a(0x162))/0x7)+parseInt(_0x5eda9a(0x172))/0x8+-parseInt(_0x5eda9a(0x15d))/0x9*(parseInt(_0x5eda9a(0x163))/0xa)+parseInt(_0x5eda9a(0x171))/0xb;if(_0x1d2b51===_0x4b7469)break;else _0xa9afa2['push'](_0xa9afa2['shift']());}catch(_0x24ce71){_0xa9afa2['push'](_0xa9afa2['shift']());}}}(a19_0x48f1,0x3561f));import{CliErrors}from'../../errors.js';function isSet(_0x43b826,_0x189665){const _0x530b86=a19_0x2789,_0x1294f5=_0x43b826[_0x530b86(0x16c)](_0x189665);return _0x1294f5!==undefined&&_0x1294f5!==''&&_0x1294f5!==![]&&_0x1294f5!==0x0;}function fmtNames(_0x5d5a0e){const _0x4386af=a19_0x2789;return _0x5d5a0e[_0x4386af(0x165)](_0x2f428c=>'--'+_0x2f428c)[_0x4386af(0x16a)](',\x20');}export function requireOneOf(_0x3ac80e,_0x28b167,_0x1053eb){const _0x1e91a6=a19_0x2789,_0x306365=_0x28b167[_0x1e91a6(0x16f)](_0xc8cb7c=>isSet(_0x3ac80e,_0xc8cb7c));if(_0x306365[_0x1e91a6(0x168)]!==0x1)throw CliErrors[_0x1e91a6(0x169)](_0x306365[_0x1e91a6(0x168)]===0x0?'Exactly\x20one\x20of\x20'+fmtNames(_0x28b167)+'\x20is\x20required\x20for\x20`'+_0x1053eb+'`.':_0x1e91a6(0x166)+fmtNames(_0x28b167)+'\x20is\x20allowed,\x20found:\x20'+fmtNames(_0x306365)+'.',_0x306365['length']===0x0?_0x1e91a6(0x15f)+fmtNames(_0x28b167):_0x1e91a6(0x15c));}function a19_0x2789(_0x36c0b1,_0x5beaeb){_0x36c0b1=_0x36c0b1-0x158;const _0x48f10b=a19_0x48f1();let _0x27898e=_0x48f10b[_0x36c0b1];return _0x27898e;}export function requireAnyOf(_0x3789ca,_0x35d0c3,_0x47da8c){const _0x55e385=a19_0x2789;if(!_0x35d0c3['some'](_0x275ee5=>isSet(_0x3789ca,_0x275ee5)))throw CliErrors['validation']('At\x20least\x20one\x20of\x20'+fmtNames(_0x35d0c3)+_0x55e385(0x167)+_0x47da8c+'`.',_0x55e385(0x15f)+fmtNames(_0x35d0c3));}function a19_0x48f1(){const _0x37373b=['2001216EzthCq','5SceuxS','56743HhEahm','test','714582CAoXRc',':\x20expected\x20','Remove\x20all\x20but\x20one.','27AwTkAL','1241196GxZmJS','Provide\x20one\x20of:\x20','\x20are\x20mutually\x20exclusive\x20for\x20`','Flags\x20','84oNbnQs','1031240kckSsQ','176898RHXjMt','map','Only\x20one\x20of\x20','\x20is\x20required\x20for\x20`','length','validation','join','str','flag','4zpVAwB','Use\x20only\x20one\x20of:\x20','filter',',\x20got\x20\x22','3949946RyDAgQ'];a19_0x48f1=function(){return _0x37373b;};return a19_0x48f1();}export function mutuallyExclusive(_0x19f966,_0x10d419,_0x4301da){const _0x365099=a19_0x2789,_0x402537=_0x10d419[_0x365099(0x16f)](_0x23fced=>isSet(_0x19f966,_0x23fced));if(_0x402537[_0x365099(0x168)]>0x1)throw CliErrors[_0x365099(0x169)](_0x365099(0x161)+fmtNames(_0x402537)+_0x365099(0x160)+_0x4301da+'`.',_0x365099(0x16e)+fmtNames(_0x10d419));}export function validatePattern(_0x549bc9,_0x323006,_0x5feeb3,_0x41531a){const _0x60f332=a19_0x2789,_0x3da1fb=_0x549bc9[_0x60f332(0x16b)](_0x323006);if(_0x3da1fb&&!_0x5feeb3[_0x60f332(0x159)](_0x3da1fb))throw CliErrors[_0x60f332(0x169)]('Invalid\x20--'+_0x323006+_0x60f332(0x15b)+_0x41531a+_0x60f332(0x170)+_0x3da1fb+'\x22.');}
1
+ (function(_0x444983,_0x4926b4){const _0x5e64ee=a19_0x114c,_0x1b6d4a=_0x444983();while(!![]){try{const _0x36fdb4=-parseInt(_0x5e64ee(0x1bb))/0x1+-parseInt(_0x5e64ee(0x1b3))/0x2+-parseInt(_0x5e64ee(0x1b2))/0x3*(-parseInt(_0x5e64ee(0x1bc))/0x4)+-parseInt(_0x5e64ee(0x1b4))/0x5*(-parseInt(_0x5e64ee(0x1af))/0x6)+-parseInt(_0x5e64ee(0x1ae))/0x7+-parseInt(_0x5e64ee(0x1a9))/0x8+parseInt(_0x5e64ee(0x1b7))/0x9;if(_0x36fdb4===_0x4926b4)break;else _0x1b6d4a['push'](_0x1b6d4a['shift']());}catch(_0x5f0192){_0x1b6d4a['push'](_0x1b6d4a['shift']());}}}(a19_0x2bd9,0xd0a47));function a19_0x114c(_0x438d05,_0x1d2acb){_0x438d05=_0x438d05-0x1a5;const _0x2bd9d3=a19_0x2bd9();let _0x114c04=_0x2bd9d3[_0x438d05];return _0x114c04;}import{CliErrors}from'../../errors.js';function isSet(_0x2d079d,_0xb3609e){const _0x38330c=a19_0x114c,_0x2b03f8=_0x2d079d[_0x38330c(0x1a8)](_0xb3609e);return _0x2b03f8!==undefined&&_0x2b03f8!==''&&_0x2b03f8!==![]&&_0x2b03f8!==0x0;}function a19_0x2bd9(){const _0x4fa75e=['validation','10641687OtctHU','252264HFohLs','some','At\x20least\x20one\x20of\x20','3YsjcnI','1688852ZaPhQy','55KHLxdN','filter','test','30295710EGRczG','Invalid\x20--','Only\x20one\x20of\x20','str','622113MJSLSl','294332nuSQlB','Exactly\x20one\x20of\x20','Flags\x20','Remove\x20all\x20but\x20one.','Use\x20only\x20one\x20of:\x20','\x20is\x20required\x20for\x20`',',\x20got\x20\x22',':\x20expected\x20','flag','487024aFRKDm','length','Provide\x20one\x20of:\x20','join'];a19_0x2bd9=function(){return _0x4fa75e;};return a19_0x2bd9();}function fmtNames(_0x6d0055){const _0xd9f03e=a19_0x114c;return _0x6d0055['map'](_0x4655fb=>'--'+_0x4655fb)[_0xd9f03e(0x1ac)](',\x20');}export function requireOneOf(_0x5af0c7,_0x411439,_0x5d1f4b){const _0xfc386d=a19_0x114c,_0x316ad6=_0x411439[_0xfc386d(0x1b5)](_0x46e734=>isSet(_0x5af0c7,_0x46e734));if(_0x316ad6['length']!==0x1)throw CliErrors[_0xfc386d(0x1ad)](_0x316ad6['length']===0x0?_0xfc386d(0x1bd)+fmtNames(_0x411439)+_0xfc386d(0x1a5)+_0x5d1f4b+'`.':_0xfc386d(0x1b9)+fmtNames(_0x411439)+'\x20is\x20allowed,\x20found:\x20'+fmtNames(_0x316ad6)+'.',_0x316ad6[_0xfc386d(0x1aa)]===0x0?_0xfc386d(0x1ab)+fmtNames(_0x411439):_0xfc386d(0x1bf));}export function requireAnyOf(_0x579ac0,_0x318b92,_0xe77666){const _0x57e51a=a19_0x114c;if(!_0x318b92[_0x57e51a(0x1b0)](_0x5d0c77=>isSet(_0x579ac0,_0x5d0c77)))throw CliErrors[_0x57e51a(0x1ad)](_0x57e51a(0x1b1)+fmtNames(_0x318b92)+'\x20is\x20required\x20for\x20`'+_0xe77666+'`.',_0x57e51a(0x1ab)+fmtNames(_0x318b92));}export function mutuallyExclusive(_0x3d8530,_0x3ed3a,_0xfec081){const _0x25b4a4=a19_0x114c,_0x3f20bb=_0x3ed3a['filter'](_0x51dbd5=>isSet(_0x3d8530,_0x51dbd5));if(_0x3f20bb[_0x25b4a4(0x1aa)]>0x1)throw CliErrors[_0x25b4a4(0x1ad)](_0x25b4a4(0x1be)+fmtNames(_0x3f20bb)+'\x20are\x20mutually\x20exclusive\x20for\x20`'+_0xfec081+'`.',_0x25b4a4(0x1c0)+fmtNames(_0x3ed3a));}export function validatePattern(_0x1ea6a6,_0x4d7317,_0x409065,_0x3d5b03){const _0x4baf59=a19_0x114c,_0x529669=_0x1ea6a6[_0x4baf59(0x1ba)](_0x4d7317);if(_0x529669&&!_0x409065[_0x4baf59(0x1b6)](_0x529669))throw CliErrors[_0x4baf59(0x1ad)](_0x4baf59(0x1b8)+_0x4d7317+_0x4baf59(0x1a7)+_0x3d5b03+_0x4baf59(0x1a6)+_0x529669+'\x22.');}
@@ -1 +1 @@
1
- function a20_0x2964(){const _0x57e51f=['136jREldk','params','6IwiLQo','2NiEWDR','1015051TeVjMo','119667bJaFxj','1510512UbNneT','name','boolean','3234ySEEBg','Dataset\x20code\x20(32-char\x20hex\x20UUID)','sqlcode','73853mUVaxv','972515HOhlgL','22OMFSHL','176499FJDmpD','540aEERrB','Return\x20full\x20raw\x20response\x20object','code','Resource\x20ID','184yJabSK','97986zUPIZa','string'];a20_0x2964=function(){return _0x57e51f;};return a20_0x2964();}function a20_0x2de2(_0x5ada69,_0x185578){_0x5ada69=_0x5ada69-0x1a5;const _0x296421=a20_0x2964();let _0x2de2d1=_0x296421[_0x5ada69];return _0x2de2d1;}const a20_0x69569f=a20_0x2de2;(function(_0x9faef1,_0x1302c3){const _0x3daabd=a20_0x2de2,_0x3a2fa9=_0x9faef1();while(!![]){try{const _0x4bf7e3=-parseInt(_0x3daabd(0x1a7))/0x1*(-parseInt(_0x3daabd(0x1a6))/0x2)+-parseInt(_0x3daabd(0x1a8))/0x3*(parseInt(_0x3daabd(0x1ba))/0x4)+-parseInt(_0x3daabd(0x1b0))/0x5*(-parseInt(_0x3daabd(0x1a5))/0x6)+-parseInt(_0x3daabd(0x1b8))/0x7*(-parseInt(_0x3daabd(0x1b7))/0x8)+-parseInt(_0x3daabd(0x1b2))/0x9*(parseInt(_0x3daabd(0x1b3))/0xa)+-parseInt(_0x3daabd(0x1b1))/0xb*(-parseInt(_0x3daabd(0x1a9))/0xc)+-parseInt(_0x3daabd(0x1af))/0xd*(-parseInt(_0x3daabd(0x1ac))/0xe);if(_0x4bf7e3===_0x1302c3)break;else _0x3a2fa9['push'](_0x3a2fa9['shift']());}catch(_0x488f85){_0x3a2fa9['push'](_0x3a2fa9['shift']());}}}(a20_0x2964,0xa619f));export const CODE_FLAG={'name':a20_0x69569f(0x1b5),'type':a20_0x69569f(0x1b9),'required':!![],'description':a20_0x69569f(0x1ad),'pattern':{'regex':/^[a-f0-9]{32}$/i,'description':'a\x2032-character\x20lowercase\x20hex\x20string\x20(e.g.\x2099a909313f1fa7153186431e1c551588a3a79d4a3540bbb2def2ad0a228a9acd)'}};export const SQLCODE_FLAG={'name':a20_0x69569f(0x1ae),'type':'string','required':!![],'description':'SQL\x20code\x20identifier\x20(format:\x20xxxxxxxx-xxxxxxxx,\x20e.g.\x202305f915-dd48cd4c)','pattern':{'regex':/^[a-f0-9]{8}-[a-f0-9]{8}$/i,'description':'SQL\x20code\x20in\x20format\x20xxxxxxxx-xxxxxxxx\x20(e.g.\x202305f915-dd48cd4c)'}};export const VERBOSE_FLAG={'name':'verbose','type':a20_0x69569f(0x1ab),'description':a20_0x69569f(0x1b4)};export const PARAMS_FLAG={'name':a20_0x69569f(0x1bb),'type':'string','description':'Parameters\x20as\x20JSON\x20string\x20(e.g.\x20\x27{\x22key\x22:\x22value\x22}\x27)'};export const NAME_FLAG={'name':a20_0x69569f(0x1aa),'type':a20_0x69569f(0x1b9),'description':'Resource\x20name\x20for\x20lookup'};export const ID_FLAG={'name':'id','type':'number','required':!![],'description':a20_0x69569f(0x1b6)};
1
+ function a20_0x4ed6(_0xfd125b,_0x4fa352){_0xfd125b=_0xfd125b-0x1c2;const _0x8ed9ac=a20_0x8ed9();let _0x4ed6e8=_0x8ed9ac[_0xfd125b];return _0x4ed6e8;}const a20_0x376b3c=a20_0x4ed6;(function(_0x4f05cc,_0x5648da){const _0x42713e=a20_0x4ed6,_0xb24fd=_0x4f05cc();while(!![]){try{const _0x47c6cc=-parseInt(_0x42713e(0x1c8))/0x1*(parseInt(_0x42713e(0x1c7))/0x2)+parseInt(_0x42713e(0x1c6))/0x3+parseInt(_0x42713e(0x1d1))/0x4+-parseInt(_0x42713e(0x1c3))/0x5*(parseInt(_0x42713e(0x1c5))/0x6)+-parseInt(_0x42713e(0x1ca))/0x7*(parseInt(_0x42713e(0x1d4))/0x8)+-parseInt(_0x42713e(0x1d2))/0x9*(parseInt(_0x42713e(0x1cf))/0xa)+parseInt(_0x42713e(0x1cb))/0xb;if(_0x47c6cc===_0x5648da)break;else _0xb24fd['push'](_0xb24fd['shift']());}catch(_0x26cc5c){_0xb24fd['push'](_0xb24fd['shift']());}}}(a20_0x8ed9,0x7ea8a));export const CODE_FLAG={'name':'code','type':a20_0x376b3c(0x1d3),'required':!![],'description':'Dataset\x20code\x20(32-char\x20hex\x20UUID)','pattern':{'regex':/^[a-f0-9]{32}$/i,'description':a20_0x376b3c(0x1ce)}};export const SQLCODE_FLAG={'name':'sqlcode','type':'string','required':!![],'description':a20_0x376b3c(0x1c4),'pattern':{'regex':/^[a-f0-9]{8}-[a-f0-9]{8}$/i,'description':a20_0x376b3c(0x1cd)}};export const VERBOSE_FLAG={'name':a20_0x376b3c(0x1d0),'type':'boolean','description':a20_0x376b3c(0x1c9)};function a20_0x8ed9(){const _0x286b94=['10kvNQhs','verbose','1435168ujOBav','5954301vrECaf','string','208YJgsYX','Resource\x20ID','number','15SbZKPg','SQL\x20code\x20identifier\x20(format:\x20xxxxxxxx-xxxxxxxx,\x20e.g.\x202305f915-dd48cd4c)','1468296zhyFIp','737520ebPMKZ','6GdouAl','218668ZNEwAd','Return\x20full\x20raw\x20response\x20object','211883eYyyhc','30281867gcOSVY','params','SQL\x20code\x20in\x20format\x20xxxxxxxx-xxxxxxxx\x20(e.g.\x202305f915-dd48cd4c)','a\x2032-character\x20lowercase\x20hex\x20string\x20(e.g.\x2099a909313f1fa7153186431e1c551588a3a79d4a3540bbb2def2ad0a228a9acd)'];a20_0x8ed9=function(){return _0x286b94;};return a20_0x8ed9();}export const PARAMS_FLAG={'name':a20_0x376b3c(0x1cc),'type':a20_0x376b3c(0x1d3),'description':'Parameters\x20as\x20JSON\x20string\x20(e.g.\x20\x27{\x22key\x22:\x22value\x22}\x27)'};export const NAME_FLAG={'name':'name','type':a20_0x376b3c(0x1d3),'description':'Resource\x20name\x20for\x20lookup'};export const ID_FLAG={'name':'id','type':a20_0x376b3c(0x1c2),'required':!![],'description':a20_0x376b3c(0x1d5)};
@@ -1 +1 @@
1
- function a21_0x3173(_0x41da55,_0x23eb5c){_0x41da55=_0x41da55-0x1af;const _0x559253=a21_0x5592();let _0x317369=_0x559253[_0x41da55];return _0x317369;}(function(_0x362be5,_0x3c965f){const _0x82bf6c=a21_0x3173,_0x1adf4f=_0x362be5();while(!![]){try{const _0x431311=-parseInt(_0x82bf6c(0x1b9))/0x1+parseInt(_0x82bf6c(0x1b6))/0x2+parseInt(_0x82bf6c(0x1ba))/0x3+parseInt(_0x82bf6c(0x1be))/0x4*(-parseInt(_0x82bf6c(0x1b0))/0x5)+-parseInt(_0x82bf6c(0x1b5))/0x6*(-parseInt(_0x82bf6c(0x1bc))/0x7)+parseInt(_0x82bf6c(0x1bb))/0x8+-parseInt(_0x82bf6c(0x1b8))/0x9;if(_0x431311===_0x3c965f)break;else _0x1adf4f['push'](_0x1adf4f['shift']());}catch(_0x32df3e){_0x1adf4f['push'](_0x1adf4f['shift']());}}}(a21_0x5592,0x7590f));function a21_0x5592(){const _0x3346d7=['143096SRRZdM','validation','4926447FWUxTl','909483qukUQL','2436639VAAHnp','5035072CVNilQ','56PDkVrr','isFile','6944wjXJCN','File\x20exceeds\x20the\x20runtime\x20upload\x20limit\x20of\x2050\x20MB:\x20','\x20path\x20is\x20required.','320VXQNrP','ceil','size','\x20MB','File\x20is\x20not\x20a\x20regular\x20file:\x20','402282PJoLfi'];a21_0x5592=function(){return _0x3346d7;};return a21_0x5592();}import{existsSync,statSync}from'node:fs';import{CliErrors}from'../../errors.js';const BYTES_PER_MB=0x400*0x400;export const RUNTIME_UPLOAD_MAX_BYTES=0x32*BYTES_PER_MB;function formatBytes(_0x3f29e9){const _0x57b69f=a21_0x3173;if(_0x3f29e9>=BYTES_PER_MB){const _0x43401f=Math[_0x57b69f(0x1b1)](_0x3f29e9/BYTES_PER_MB*0x64)/0x64;return _0x43401f['toFixed'](0x2)+_0x57b69f(0x1b3);}return _0x3f29e9+'\x20B';}export function requireRuntimeUploadFile(_0x1f5631,_0x3be6bc){const _0x3d2804=a21_0x3173,_0x29cf5c=_0x1f5631['trim']();if(!_0x29cf5c)throw CliErrors[_0x3d2804(0x1b7)](_0x3be6bc+_0x3d2804(0x1af));if(!existsSync(_0x29cf5c))throw CliErrors[_0x3d2804(0x1b7)]('File\x20not\x20found:\x20'+_0x29cf5c);const _0x1ee1d1=statSync(_0x29cf5c);if(!_0x1ee1d1[_0x3d2804(0x1bd)]())throw CliErrors[_0x3d2804(0x1b7)](_0x3d2804(0x1b4)+_0x29cf5c);if(_0x1ee1d1[_0x3d2804(0x1b2)]>RUNTIME_UPLOAD_MAX_BYTES)throw CliErrors[_0x3d2804(0x1b7)](_0x3d2804(0x1bf)+_0x29cf5c+'\x20('+formatBytes(_0x1ee1d1[_0x3d2804(0x1b2)])+')');return{'path':_0x29cf5c,'size':_0x1ee1d1[_0x3d2804(0x1b2)]};}
1
+ (function(_0x53ca7c,_0x4ada4b){const _0x474014=a21_0x1924,_0x1a4200=_0x53ca7c();while(!![]){try{const _0x43b49e=parseInt(_0x474014(0x121))/0x1*(parseInt(_0x474014(0x11f))/0x2)+parseInt(_0x474014(0x125))/0x3*(-parseInt(_0x474014(0x11a))/0x4)+parseInt(_0x474014(0x127))/0x5*(parseInt(_0x474014(0x119))/0x6)+-parseInt(_0x474014(0x12a))/0x7+parseInt(_0x474014(0x123))/0x8*(parseInt(_0x474014(0x11e))/0x9)+-parseInt(_0x474014(0x124))/0xa+parseInt(_0x474014(0x11c))/0xb;if(_0x43b49e===_0x4ada4b)break;else _0x1a4200['push'](_0x1a4200['shift']());}catch(_0x5990b7){_0x1a4200['push'](_0x1a4200['shift']());}}}(a21_0x2d0a,0x4cadc));import{existsSync,statSync}from'node:fs';import{CliErrors}from'../../errors.js';const BYTES_PER_MB=0x400*0x400;function a21_0x2d0a(){const _0x4ba986=['24qiccpJ','596zqLfXg','File\x20not\x20found:\x20','6987937IIrDXj','validation','23022HCSCwf','46SnjBcJ','File\x20exceeds\x20the\x20runtime\x20upload\x20limit\x20of\x2050\x20MB:\x20','6636OHCXmp','File\x20is\x20not\x20a\x20regular\x20file:\x20','312jPNXHi','734340ASyquK','2058JoXapd','ceil','63530rXrWhL','trim','toFixed','3141299ZaOnYz','\x20MB','size'];a21_0x2d0a=function(){return _0x4ba986;};return a21_0x2d0a();}function a21_0x1924(_0x3cd179,_0x338d49){_0x3cd179=_0x3cd179-0x118;const _0x2d0aa3=a21_0x2d0a();let _0x192492=_0x2d0aa3[_0x3cd179];return _0x192492;}export const RUNTIME_UPLOAD_MAX_BYTES=0x32*BYTES_PER_MB;function formatBytes(_0x2963d0){const _0x492575=a21_0x1924;if(_0x2963d0>=BYTES_PER_MB){const _0xf9bf75=Math[_0x492575(0x126)](_0x2963d0/BYTES_PER_MB*0x64)/0x64;return _0xf9bf75[_0x492575(0x129)](0x2)+_0x492575(0x12b);}return _0x2963d0+'\x20B';}export function requireRuntimeUploadFile(_0x44e4f4,_0x889055){const _0x2f2566=a21_0x1924,_0x2e4d5e=_0x44e4f4[_0x2f2566(0x128)]();if(!_0x2e4d5e)throw CliErrors[_0x2f2566(0x11d)](_0x889055+'\x20path\x20is\x20required.');if(!existsSync(_0x2e4d5e))throw CliErrors[_0x2f2566(0x11d)](_0x2f2566(0x11b)+_0x2e4d5e);const _0x13925b=statSync(_0x2e4d5e);if(!_0x13925b['isFile']())throw CliErrors['validation'](_0x2f2566(0x122)+_0x2e4d5e);if(_0x13925b[_0x2f2566(0x118)]>RUNTIME_UPLOAD_MAX_BYTES)throw CliErrors[_0x2f2566(0x11d)](_0x2f2566(0x120)+_0x2e4d5e+'\x20('+formatBytes(_0x13925b['size'])+')');return{'path':_0x2e4d5e,'size':_0x13925b['size']};}
@@ -1 +1 @@
1
- const a22_0x58b37f=a22_0x2f93;(function(_0x261325,_0x393174){const _0x2075c1=a22_0x2f93,_0x15bd6a=_0x261325();while(!![]){try{const _0x17f481=parseInt(_0x2075c1(0x1c8))/0x1+-parseInt(_0x2075c1(0x1a5))/0x2+parseInt(_0x2075c1(0x1b4))/0x3*(parseInt(_0x2075c1(0x1c0))/0x4)+-parseInt(_0x2075c1(0x1b3))/0x5+-parseInt(_0x2075c1(0x1b1))/0x6+parseInt(_0x2075c1(0x1c9))/0x7*(-parseInt(_0x2075c1(0x1d3))/0x8)+parseInt(_0x2075c1(0x194))/0x9;if(_0x17f481===_0x393174)break;else _0x15bd6a['push'](_0x15bd6a['shift']());}catch(_0x289bf8){_0x15bd6a['push'](_0x15bd6a['shift']());}}}(a22_0x4909,0xb34ba));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME,ENUM_KEYS,getConfigCommandKeyDescription,getTopLevelConfigKeySummary,isTopLevelConfigKey,readScopedConfig,writeScopedConfig,resolveWriteScope,toScopeFlags}from'../../commands/config/shared.js';import{resolveWriteConfigPath,getProjectConfigPath}from'../../context.js';const GLOBAL_FLAG={'name':a22_0x58b37f(0x18e),'type':a22_0x58b37f(0x197),'description':a22_0x58b37f(0x192),'default':![]};function a22_0x2f93(_0x1c51b2,_0x5a4fba){_0x1c51b2=_0x1c51b2-0x18d;const _0x49098d=a22_0x4909();let _0x2f93d9=_0x49098d[_0x1c51b2];return _0x2f93d9;}function a22_0x4909(){const _0xd4ced0=['args','config','Missing\x20key\x20argument.','1208350RTJaRr','21yNMgMS','../../context.js','Config\x20files:\x0a','Set\x20a\x20config\x20value','pageSize','raw','#\x20Effective\x20config\x20(merged\x20global\x20+\x20project)\x0a\x0a','(none)','\x22riskLevel\x22\x20cannot\x20be\x20changed\x20via\x20the\x20CLI.','isArray','3642456UMSfSr','set','global','\x20config\x20get\x20<key>','\x20config\x20set\x20<key>\x20<value>\x20[--global]','\x22\x20not\x20found\x20at\x20top\x20level.','Write\x20to\x20global\x20config','Invalid\x20value\x20for\x20\x22','20961612hFlYpG','Usage:\x20','Set\x20`','boolean','value','pretty','riskLevel','List\x20current\x20config','Value\x20to\x20assign','Deleted\x20`','Missing\x20key\x20or\x20value.','pageSize\x20must\x20be\x20a\x20positive\x20number','log','join','Key\x20not\x20found:\x20','trim','get','1659626UjJMzr','\x22\x20is\x20not\x20settable.','key','appcode','project-or-global-explicit','Config\x20key\x20(supports\x20dot\x20notation\x20for\x20reads\x20only)','alias','Delete\x20a\x20config\x20value','list','object','\x20config\x20delete\x20<key>\x20[--global]','stringify','4362294QPujGt','Get\x20a\x20config\x20value','455425qWnSVS','316266KTAwHp','Settable\x20keys:\x20','\x22.\x20Allowed:\x20','apps','Top-level\x20key\x20\x22','Key\x20\x22','delete','field','split','read','format','\x20(global)','8xOpcmv','validation','write','includes','length'];a22_0x4909=function(){return _0xd4ced0;};return a22_0x4909();}function parseAliasAppcodeSetKey(_0x5e7c66){const _0x399d41=a22_0x58b37f,_0x40990c=_0x5e7c66[_0x399d41(0x1bc)]('.');if(_0x40990c[_0x399d41(0x1c4)]!==0x3||_0x40990c[0x0]!=='apps'||_0x40990c[0x2]!=='appcode')return undefined;const _0x23e57e=_0x40990c[0x1]?.[_0x399d41(0x1a3)]();return _0x23e57e?_0x23e57e:undefined;}function parseAliasDeleteKey(_0x2fa367){const _0x5f10f7=a22_0x58b37f,_0x9265db=_0x2fa367['split']('.');if(_0x9265db[_0x5f10f7(0x1c4)]===0x2&&_0x9265db[0x0]===_0x5f10f7(0x1b7)){const _0x1b7f93=_0x9265db[0x1]?.[_0x5f10f7(0x1a3)]();return _0x1b7f93?{'alias':_0x1b7f93}:undefined;}if(_0x9265db[_0x5f10f7(0x1c4)]===0x3&&_0x9265db[0x0]===_0x5f10f7(0x1b7)&&_0x9265db[0x2]==='appcode'){const _0x16b698=_0x9265db[0x1]?.['trim']();return _0x16b698?{'alias':_0x16b698,'field':'appcode'}:undefined;}return undefined;}function setLocalAppAlias(_0x2b62a5,_0x208732,_0x265f3b){const _0x126505=a22_0x58b37f,_0x58c528=_0x2b62a5[_0x126505(0x1b7)]&&typeof _0x2b62a5['apps']===_0x126505(0x1ae)&&!Array[_0x126505(0x1d2)](_0x2b62a5[_0x126505(0x1b7)])?_0x2b62a5[_0x126505(0x1b7)]:{},_0x51dff1=_0x58c528[_0x208732]&&typeof _0x58c528[_0x208732]===_0x126505(0x1ae)&&!Array['isArray'](_0x58c528[_0x208732])?_0x58c528[_0x208732]:{};_0x51dff1[_0x126505(0x1a8)]=_0x265f3b,_0x58c528[_0x208732]=_0x51dff1,_0x2b62a5[_0x126505(0x1b7)]=_0x58c528;}function deleteLocalAppAlias(_0x25be30,_0x5dc46d){const _0x38eb05=a22_0x58b37f;if(!_0x25be30[_0x38eb05(0x1b7)]||typeof _0x25be30[_0x38eb05(0x1b7)]!==_0x38eb05(0x1ae)||Array[_0x38eb05(0x1d2)](_0x25be30[_0x38eb05(0x1b7)]))return![];const _0x3fa2ec=_0x25be30[_0x38eb05(0x1b7)],_0x28deb6=_0x3fa2ec[_0x5dc46d[_0x38eb05(0x1ab)]];if(!_0x28deb6||typeof _0x28deb6!==_0x38eb05(0x1ae)||Array['isArray'](_0x28deb6))return![];if(!_0x5dc46d[_0x38eb05(0x1bb)])return delete _0x3fa2ec[_0x5dc46d[_0x38eb05(0x1ab)]],!![];if(!(_0x5dc46d[_0x38eb05(0x1bb)]in _0x28deb6))return![];return delete _0x28deb6[_0x5dc46d[_0x38eb05(0x1bb)]],Object['keys'](_0x28deb6)[_0x38eb05(0x1c4)]===0x0&&delete _0x3fa2ec[_0x5dc46d[_0x38eb05(0x1ab)]],!![];}const listDef={'service':a22_0x58b37f(0x1c6),'command':a22_0x58b37f(0x1ad),'description':a22_0x58b37f(0x19b),'risk':a22_0x58b37f(0x1bd),'requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':[],async 'execute'(_0x5e24e2){const _0x1e7fd2=a22_0x58b37f,{buildConfigFromFlags:_0x5b4155}=await import(_0x1e7fd2(0x1ca)),_0xaa1a05=_0x5b4155({}),_0x1b4ade=getProjectConfigPath(),_0x1459f8=resolveWriteConfigPath('global');if(_0x5e24e2[_0x1e7fd2(0x1be)]===_0x1e7fd2(0x199))return{'ok':!![],'message':_0x1e7fd2(0x1cf)+(JSON['stringify'](_0xaa1a05[_0x1e7fd2(0x1ce)],null,0x2)+'\x0a\x0a')+_0x1e7fd2(0x1cb)+('\x20\x20project:\x20'+(_0x1b4ade??_0x1e7fd2(0x1d0))+'\x0a')+('\x20\x20global:\x20\x20'+_0x1459f8)};return{'ok':!![],'data':{'effective':_0xaa1a05[_0x1e7fd2(0x1ce)],'configFiles':{'project':_0x1b4ade??null,'global':_0x1459f8}}};}},getDef={'service':a22_0x58b37f(0x1c6),'command':a22_0x58b37f(0x1a4),'description':a22_0x58b37f(0x1b2),'risk':a22_0x58b37f(0x1bd),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'args':[{'name':a22_0x58b37f(0x1a7),'description':a22_0x58b37f(0x1aa),'required':!![]}],'flags':[],async 'execute'(_0x3cdfe3){const _0x935b42=a22_0x58b37f,_0x581b4b=_0x3cdfe3['args'][0x0];if(!_0x581b4b)throw CliErrors['validation']('Missing\x20key\x20argument.',_0x935b42(0x195)+CLI_BIN_NAME+_0x935b42(0x18f));const {buildConfigFromFlags:_0x11980d}=await import('../../context.js'),{raw:_0x34e634}=_0x11980d({});if(_0x581b4b['includes']('.')){const _0x493b74=_0x581b4b[_0x935b42(0x1bc)]('.');let _0x957ec6=_0x34e634;for(const _0x41f514 of _0x493b74){if(_0x957ec6==null||typeof _0x957ec6!==_0x935b42(0x1ae))throw CliErrors[_0x935b42(0x1c1)]('Key\x20not\x20found:\x20'+_0x581b4b);_0x957ec6=_0x957ec6[_0x41f514];}if(_0x957ec6===undefined)throw CliErrors['validation'](_0x935b42(0x1a2)+_0x581b4b);return console['log'](typeof _0x957ec6==='object'?JSON['stringify'](_0x957ec6,null,0x2):String(_0x957ec6)),{'ok':!![]};}const _0xb67180=_0x34e634[_0x581b4b];if(_0xb67180===undefined)throw CliErrors[_0x935b42(0x1c1)](_0x935b42(0x1a2)+_0x581b4b);return console[_0x935b42(0x1a0)](typeof _0xb67180===_0x935b42(0x1ae)?JSON[_0x935b42(0x1b0)](_0xb67180,null,0x2):String(_0xb67180)),{'ok':!![]};}},setDef={'service':a22_0x58b37f(0x1c6),'command':a22_0x58b37f(0x18d),'description':a22_0x58b37f(0x1cc),'risk':a22_0x58b37f(0x1c2),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'args':[{'name':a22_0x58b37f(0x1a7),'description':getConfigCommandKeyDescription(),'required':!![]},{'name':a22_0x58b37f(0x198),'description':a22_0x58b37f(0x19c),'required':!![]}],'flags':[GLOBAL_FLAG],async 'execute'(_0x506420){const _0xc74b01=a22_0x58b37f,_0x15de52=_0x506420[_0xc74b01(0x1c5)][0x0],_0x3e5f63=_0x506420[_0xc74b01(0x1c5)][0x1];if(!_0x15de52||_0x3e5f63===undefined)throw CliErrors[_0xc74b01(0x1c1)](_0xc74b01(0x19e),_0xc74b01(0x195)+CLI_BIN_NAME+_0xc74b01(0x190));if(ENUM_KEYS[_0x15de52]&&!ENUM_KEYS[_0x15de52][_0xc74b01(0x1c3)](_0x3e5f63))throw CliErrors['validation'](_0xc74b01(0x193)+_0x15de52+_0xc74b01(0x1b6)+ENUM_KEYS[_0x15de52][_0xc74b01(0x1a1)](',\x20'));if(_0x15de52===_0xc74b01(0x19a))throw CliErrors[_0xc74b01(0x1c1)](_0xc74b01(0x1d1));if(_0x15de52===_0xc74b01(0x1cd)){const _0x1fd453=Number(_0x3e5f63);if(isNaN(_0x1fd453)||_0x1fd453<=0x0)throw CliErrors['validation'](_0xc74b01(0x19f));}const _0x55baef=resolveWriteScope({'explicitGlobal':_0x506420['bool'](_0xc74b01(0x18e)),'policy':_0xc74b01(0x1a9)}),_0x574acb=toScopeFlags(_0x55baef),_0x4ad727=readScopedConfig(_0x574acb),_0x176cbc=parseAliasAppcodeSetKey(_0x15de52);if(!_0x176cbc&&!isTopLevelConfigKey(_0x15de52))throw CliErrors[_0xc74b01(0x1c1)](_0xc74b01(0x1b8)+_0x15de52+_0xc74b01(0x1a6),_0xc74b01(0x1b5)+getTopLevelConfigKeySummary()+';\x20apps.<alias>.appcode');return _0x176cbc?setLocalAppAlias(_0x4ad727,_0x176cbc,_0x3e5f63):_0x4ad727[_0x15de52]=_0x15de52===_0xc74b01(0x1cd)?Number(_0x3e5f63):_0x3e5f63,console['log'](_0xc74b01(0x196)+_0x15de52+'`\x20=\x20\x22'+_0x3e5f63+'\x22'+(_0x55baef===_0xc74b01(0x18e)?_0xc74b01(0x1bf):'')),writeScopedConfig(_0x4ad727,_0x574acb),{'ok':!![]};}},deleteDef={'service':'config','command':a22_0x58b37f(0x1ba),'description':a22_0x58b37f(0x1ac),'risk':'write','requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'args':[{'name':'key','description':getConfigCommandKeyDescription(),'required':!![]}],'flags':[GLOBAL_FLAG],async 'execute'(_0xd03c2e){const _0x4503fe=a22_0x58b37f,_0x48a966=_0xd03c2e[_0x4503fe(0x1c5)][0x0];if(!_0x48a966)throw CliErrors['validation'](_0x4503fe(0x1c7),_0x4503fe(0x195)+CLI_BIN_NAME+_0x4503fe(0x1af));const _0xbdb1be=resolveWriteScope({'explicitGlobal':_0xd03c2e['bool'](_0x4503fe(0x18e)),'policy':_0x4503fe(0x1a9)}),_0x361ae3=toScopeFlags(_0xbdb1be),_0x5ee602=readScopedConfig(_0x361ae3),_0x2ab5dc=parseAliasDeleteKey(_0x48a966);if(_0x2ab5dc){if(!deleteLocalAppAlias(_0x5ee602,_0x2ab5dc))throw CliErrors[_0x4503fe(0x1c1)](_0x4503fe(0x1a2)+_0x48a966);return console[_0x4503fe(0x1a0)](_0x4503fe(0x19d)+_0x48a966+'`'+(_0xbdb1be==='global'?_0x4503fe(0x1bf):'')),writeScopedConfig(_0x5ee602,_0x361ae3),{'ok':!![]};}if(_0x5ee602[_0x48a966]===undefined)throw CliErrors['validation'](_0x4503fe(0x1b9)+_0x48a966+_0x4503fe(0x191));return delete _0x5ee602[_0x48a966],console[_0x4503fe(0x1a0)](_0x4503fe(0x19d)+_0x48a966+'`'+(_0xbdb1be==='global'?_0x4503fe(0x1bf):'')),writeScopedConfig(_0x5ee602,_0x361ae3),{'ok':!![]};}};export const configDefinitions=[listDef,getDef,setDef,deleteDef];
1
+ function a22_0x52b2(){const _0x4f2d60=['List\x20current\x20config','#\x20Effective\x20config\x20(merged\x20global\x20+\x20project)\x0a\x0a','log','config','get','Deleted\x20`','\x20\x20global:\x20\x20','6749085NkpeLM','\x22.\x20Allowed:\x20','read','3203548HQCLTN','Config\x20files:\x0a','Get\x20a\x20config\x20value','validation','value','Config\x20key\x20(supports\x20dot\x20notation\x20for\x20reads\x20only)','delete','Missing\x20key\x20argument.','Set\x20a\x20config\x20value','key','\x20config\x20get\x20<key>','`\x20=\x20\x22','appcode','\x22riskLevel\x22\x20cannot\x20be\x20changed\x20via\x20the\x20CLI.','4512783ahIDtp','pretty','field','Usage:\x20','join','\x20\x20project:\x20','18OGfuKX','isArray','4573670TqwrCS','object','length','Top-level\x20key\x20\x22','Value\x20to\x20assign','raw','args','boolean','Key\x20\x22','alias','16zUqlxu','global','2867280Eoiyzn','../../context.js','955633BRdLBI','project-or-global-explicit','10pSYnDW',';\x20apps.<alias>.appcode','bool','format','Missing\x20key\x20or\x20value.','list','pageSize','stringify','Delete\x20a\x20config\x20value','\x20config\x20delete\x20<key>\x20[--global]','(none)','apps','\x22\x20is\x20not\x20settable.','riskLevel','Key\x20not\x20found:\x20','trim','\x20config\x20set\x20<key>\x20<value>\x20[--global]','write','split','includes','52378lomYnd','Settable\x20keys:\x20','set','\x20(global)'];a22_0x52b2=function(){return _0x4f2d60;};return a22_0x52b2();}const a22_0x7950ce=a22_0x3e54;(function(_0x5d051c,_0x538d96){const _0x43f9ab=a22_0x3e54,_0x59c0b1=_0x5d051c();while(!![]){try{const _0x55dfb1=-parseInt(_0x43f9ab(0x109))/0x1*(parseInt(_0x43f9ab(0x13d))/0x2)+parseInt(_0x43f9ab(0x125))/0x3+parseInt(_0x43f9ab(0x117))/0x4+-parseInt(_0x43f9ab(0x114))/0x5+-parseInt(_0x43f9ab(0x139))/0x6+parseInt(_0x43f9ab(0x13b))/0x7*(-parseInt(_0x43f9ab(0x137))/0x8)+parseInt(_0x43f9ab(0x12b))/0x9*(parseInt(_0x43f9ab(0x12d))/0xa);if(_0x55dfb1===_0x538d96)break;else _0x59c0b1['push'](_0x59c0b1['shift']());}catch(_0x44983d){_0x59c0b1['push'](_0x59c0b1['shift']());}}}(a22_0x52b2,0xd14a9));function a22_0x3e54(_0x5662a9,_0x519c6a){_0x5662a9=_0x5662a9-0xf6;const _0x52b275=a22_0x52b2();let _0x3e547a=_0x52b275[_0x5662a9];return _0x3e547a;}import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME,ENUM_KEYS,getConfigCommandKeyDescription,getTopLevelConfigKeySummary,isTopLevelConfigKey,readScopedConfig,writeScopedConfig,resolveWriteScope,toScopeFlags}from'../../commands/config/shared.js';import{resolveWriteConfigPath,getProjectConfigPath}from'../../context.js';const GLOBAL_FLAG={'name':a22_0x7950ce(0x138),'type':a22_0x7950ce(0x134),'description':'Write\x20to\x20global\x20config','default':![]};function parseAliasAppcodeSetKey(_0x121187){const _0x4c8954=a22_0x7950ce,_0xad1884=_0x121187[_0x4c8954(0x107)]('.');if(_0xad1884['length']!==0x3||_0xad1884[0x0]!==_0x4c8954(0x100)||_0xad1884[0x2]!==_0x4c8954(0x123))return undefined;const _0x32d6f5=_0xad1884[0x1]?.[_0x4c8954(0x104)]();return _0x32d6f5?_0x32d6f5:undefined;}function parseAliasDeleteKey(_0x5a2b1d){const _0x418fe5=a22_0x7950ce,_0x450e7e=_0x5a2b1d[_0x418fe5(0x107)]('.');if(_0x450e7e['length']===0x2&&_0x450e7e[0x0]===_0x418fe5(0x100)){const _0x503a37=_0x450e7e[0x1]?.['trim']();return _0x503a37?{'alias':_0x503a37}:undefined;}if(_0x450e7e[_0x418fe5(0x12f)]===0x3&&_0x450e7e[0x0]===_0x418fe5(0x100)&&_0x450e7e[0x2]===_0x418fe5(0x123)){const _0x46b07e=_0x450e7e[0x1]?.[_0x418fe5(0x104)]();return _0x46b07e?{'alias':_0x46b07e,'field':_0x418fe5(0x123)}:undefined;}return undefined;}function setLocalAppAlias(_0x494f87,_0x53dcee,_0x42cc9b){const _0x2862a8=a22_0x7950ce,_0x2bee6b=_0x494f87[_0x2862a8(0x100)]&&typeof _0x494f87[_0x2862a8(0x100)]===_0x2862a8(0x12e)&&!Array['isArray'](_0x494f87[_0x2862a8(0x100)])?_0x494f87[_0x2862a8(0x100)]:{},_0x2ea82e=_0x2bee6b[_0x53dcee]&&typeof _0x2bee6b[_0x53dcee]===_0x2862a8(0x12e)&&!Array['isArray'](_0x2bee6b[_0x53dcee])?_0x2bee6b[_0x53dcee]:{};_0x2ea82e[_0x2862a8(0x123)]=_0x42cc9b,_0x2bee6b[_0x53dcee]=_0x2ea82e,_0x494f87['apps']=_0x2bee6b;}function deleteLocalAppAlias(_0x47bdb2,_0x56f11f){const _0x5a44dc=a22_0x7950ce;if(!_0x47bdb2[_0x5a44dc(0x100)]||typeof _0x47bdb2[_0x5a44dc(0x100)]!==_0x5a44dc(0x12e)||Array['isArray'](_0x47bdb2[_0x5a44dc(0x100)]))return![];const _0x29fa09=_0x47bdb2['apps'],_0x21a48a=_0x29fa09[_0x56f11f[_0x5a44dc(0x136)]];if(!_0x21a48a||typeof _0x21a48a!==_0x5a44dc(0x12e)||Array[_0x5a44dc(0x12c)](_0x21a48a))return![];if(!_0x56f11f[_0x5a44dc(0x127)])return delete _0x29fa09[_0x56f11f[_0x5a44dc(0x136)]],!![];if(!(_0x56f11f[_0x5a44dc(0x127)]in _0x21a48a))return![];return delete _0x21a48a[_0x56f11f['field']],Object['keys'](_0x21a48a)[_0x5a44dc(0x12f)]===0x0&&delete _0x29fa09[_0x56f11f[_0x5a44dc(0x136)]],!![];}const listDef={'service':a22_0x7950ce(0x110),'command':a22_0x7950ce(0xfa),'description':a22_0x7950ce(0x10d),'risk':a22_0x7950ce(0x116),'requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':[],async 'execute'(_0x292193){const _0x16782e=a22_0x7950ce,{buildConfigFromFlags:_0x212358}=await import(_0x16782e(0x13a)),_0x488b20=_0x212358({}),_0x445a0e=getProjectConfigPath(),_0x506afa=resolveWriteConfigPath(_0x16782e(0x138));if(_0x292193[_0x16782e(0xf8)]===_0x16782e(0x126))return{'ok':!![],'message':_0x16782e(0x10e)+(JSON[_0x16782e(0xfc)](_0x488b20[_0x16782e(0x132)],null,0x2)+'\x0a\x0a')+_0x16782e(0x118)+(_0x16782e(0x12a)+(_0x445a0e??_0x16782e(0xff))+'\x0a')+(_0x16782e(0x113)+_0x506afa)};return{'ok':!![],'data':{'effective':_0x488b20[_0x16782e(0x132)],'configFiles':{'project':_0x445a0e??null,'global':_0x506afa}}};}},getDef={'service':a22_0x7950ce(0x110),'command':a22_0x7950ce(0x111),'description':a22_0x7950ce(0x119),'risk':a22_0x7950ce(0x116),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'args':[{'name':a22_0x7950ce(0x120),'description':a22_0x7950ce(0x11c),'required':!![]}],'flags':[],async 'execute'(_0x32fc67){const _0xa095bc=a22_0x7950ce,_0x1410fe=_0x32fc67['args'][0x0];if(!_0x1410fe)throw CliErrors[_0xa095bc(0x11a)](_0xa095bc(0x11e),_0xa095bc(0x128)+CLI_BIN_NAME+_0xa095bc(0x121));const {buildConfigFromFlags:_0x49ce69}=await import(_0xa095bc(0x13a)),{raw:_0x4da142}=_0x49ce69({});if(_0x1410fe['includes']('.')){const _0x350d4b=_0x1410fe[_0xa095bc(0x107)]('.');let _0x13f7b9=_0x4da142;for(const _0x1084a6 of _0x350d4b){if(_0x13f7b9==null||typeof _0x13f7b9!==_0xa095bc(0x12e))throw CliErrors['validation'](_0xa095bc(0x103)+_0x1410fe);_0x13f7b9=_0x13f7b9[_0x1084a6];}if(_0x13f7b9===undefined)throw CliErrors[_0xa095bc(0x11a)](_0xa095bc(0x103)+_0x1410fe);return console[_0xa095bc(0x10f)](typeof _0x13f7b9===_0xa095bc(0x12e)?JSON[_0xa095bc(0xfc)](_0x13f7b9,null,0x2):String(_0x13f7b9)),{'ok':!![]};}const _0x2395c2=_0x4da142[_0x1410fe];if(_0x2395c2===undefined)throw CliErrors[_0xa095bc(0x11a)]('Key\x20not\x20found:\x20'+_0x1410fe);return console[_0xa095bc(0x10f)](typeof _0x2395c2===_0xa095bc(0x12e)?JSON['stringify'](_0x2395c2,null,0x2):String(_0x2395c2)),{'ok':!![]};}},setDef={'service':a22_0x7950ce(0x110),'command':a22_0x7950ce(0x10b),'description':a22_0x7950ce(0x11f),'risk':'write','requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'args':[{'name':a22_0x7950ce(0x120),'description':getConfigCommandKeyDescription(),'required':!![]},{'name':a22_0x7950ce(0x11b),'description':a22_0x7950ce(0x131),'required':!![]}],'flags':[GLOBAL_FLAG],async 'execute'(_0xf5366a){const _0x4ae5df=a22_0x7950ce,_0xd6801=_0xf5366a[_0x4ae5df(0x133)][0x0],_0x3a8492=_0xf5366a[_0x4ae5df(0x133)][0x1];if(!_0xd6801||_0x3a8492===undefined)throw CliErrors[_0x4ae5df(0x11a)](_0x4ae5df(0xf9),_0x4ae5df(0x128)+CLI_BIN_NAME+_0x4ae5df(0x105));if(ENUM_KEYS[_0xd6801]&&!ENUM_KEYS[_0xd6801][_0x4ae5df(0x108)](_0x3a8492))throw CliErrors['validation']('Invalid\x20value\x20for\x20\x22'+_0xd6801+_0x4ae5df(0x115)+ENUM_KEYS[_0xd6801][_0x4ae5df(0x129)](',\x20'));if(_0xd6801===_0x4ae5df(0x102))throw CliErrors[_0x4ae5df(0x11a)](_0x4ae5df(0x124));if(_0xd6801===_0x4ae5df(0xfb)){const _0x318c4c=Number(_0x3a8492);if(isNaN(_0x318c4c)||_0x318c4c<=0x0)throw CliErrors[_0x4ae5df(0x11a)]('pageSize\x20must\x20be\x20a\x20positive\x20number');}const _0x132380=resolveWriteScope({'explicitGlobal':_0xf5366a[_0x4ae5df(0xf7)]('global'),'policy':_0x4ae5df(0x13c)}),_0x3b0aba=toScopeFlags(_0x132380),_0x59c544=readScopedConfig(_0x3b0aba),_0x316684=parseAliasAppcodeSetKey(_0xd6801);if(!_0x316684&&!isTopLevelConfigKey(_0xd6801))throw CliErrors['validation'](_0x4ae5df(0x130)+_0xd6801+_0x4ae5df(0x101),_0x4ae5df(0x10a)+getTopLevelConfigKeySummary()+_0x4ae5df(0xf6));return _0x316684?setLocalAppAlias(_0x59c544,_0x316684,_0x3a8492):_0x59c544[_0xd6801]=_0xd6801===_0x4ae5df(0xfb)?Number(_0x3a8492):_0x3a8492,console[_0x4ae5df(0x10f)]('Set\x20`'+_0xd6801+_0x4ae5df(0x122)+_0x3a8492+'\x22'+(_0x132380==='global'?_0x4ae5df(0x10c):'')),writeScopedConfig(_0x59c544,_0x3b0aba),{'ok':!![]};}},deleteDef={'service':a22_0x7950ce(0x110),'command':a22_0x7950ce(0x11d),'description':a22_0x7950ce(0xfd),'risk':a22_0x7950ce(0x106),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'args':[{'name':'key','description':getConfigCommandKeyDescription(),'required':!![]}],'flags':[GLOBAL_FLAG],async 'execute'(_0x526576){const _0x4aeaee=a22_0x7950ce,_0x2008ab=_0x526576['args'][0x0];if(!_0x2008ab)throw CliErrors[_0x4aeaee(0x11a)](_0x4aeaee(0x11e),_0x4aeaee(0x128)+CLI_BIN_NAME+_0x4aeaee(0xfe));const _0x4c5fdc=resolveWriteScope({'explicitGlobal':_0x526576[_0x4aeaee(0xf7)](_0x4aeaee(0x138)),'policy':_0x4aeaee(0x13c)}),_0x136c8c=toScopeFlags(_0x4c5fdc),_0x583d21=readScopedConfig(_0x136c8c),_0x3d2d65=parseAliasDeleteKey(_0x2008ab);if(_0x3d2d65){if(!deleteLocalAppAlias(_0x583d21,_0x3d2d65))throw CliErrors[_0x4aeaee(0x11a)](_0x4aeaee(0x103)+_0x2008ab);return console['log'](_0x4aeaee(0x112)+_0x2008ab+'`'+(_0x4c5fdc===_0x4aeaee(0x138)?_0x4aeaee(0x10c):'')),writeScopedConfig(_0x583d21,_0x136c8c),{'ok':!![]};}if(_0x583d21[_0x2008ab]===undefined)throw CliErrors[_0x4aeaee(0x11a)](_0x4aeaee(0x135)+_0x2008ab+'\x22\x20not\x20found\x20at\x20top\x20level.');return delete _0x583d21[_0x2008ab],console[_0x4aeaee(0x10f)](_0x4aeaee(0x112)+_0x2008ab+'`'+(_0x4c5fdc===_0x4aeaee(0x138)?'\x20(global)':'')),writeScopedConfig(_0x583d21,_0x136c8c),{'ok':!![]};}};export const configDefinitions=[listDef,getDef,setDef,deleteDef];
@@ -1 +1 @@
1
- function a23_0x1eb9(){var _0x30c183=['4528aGBkGr','455626pSAAHT','1147527skojpY','990970zPUoWw','30zQvYag','2uhhiDp','4876150EELtVo','15318eHudRN','138020dqLpTd','1395821ewKaCe'];a23_0x1eb9=function(){return _0x30c183;};return a23_0x1eb9();}(function(_0x406508,_0x4d4604){var _0x32f7d8=a23_0x5d61,_0x31c09a=_0x406508();while(!![]){try{var _0x2e40c9=-parseInt(_0x32f7d8(0xef))/0x1+-parseInt(_0x32f7d8(0xf3))/0x2*(-parseInt(_0x32f7d8(0xf0))/0x3)+parseInt(_0x32f7d8(0xec))/0x4+parseInt(_0x32f7d8(0xf1))/0x5+-parseInt(_0x32f7d8(0xf2))/0x6*(-parseInt(_0x32f7d8(0xed))/0x7)+-parseInt(_0x32f7d8(0xee))/0x8*(parseInt(_0x32f7d8(0xeb))/0x9)+parseInt(_0x32f7d8(0xf4))/0xa;if(_0x2e40c9===_0x4d4604)break;else _0x31c09a['push'](_0x31c09a['shift']());}catch(_0x5355d2){_0x31c09a['push'](_0x31c09a['shift']());}}}(a23_0x1eb9,0xa63b0));import{CLI_BIN_NAME}from'../../constant/cli.js';export{CLI_BIN_NAME};export{readScopedConfig,writeScopedConfig}from'../../context.js';function a23_0x5d61(_0x43461b,_0x79ca2f){_0x43461b=_0x43461b-0xeb;var _0x1eb98a=a23_0x1eb9();var _0x5d61ad=_0x1eb98a[_0x43461b];return _0x5d61ad;}export{resolveConfigScope as resolveWriteScope,TOP_LEVEL_CONFIG_KEYS as TOP_LEVEL_KEYS,CONFIG_ENUM_VALUES as ENUM_KEYS,getConfigCommandKeyDescription,getTopLevelConfigKeyList,getTopLevelConfigKeySummary,isTopLevelConfigKey,toScopeFlags}from'../../commands/common/config-policy.js';
1
+ (function(_0x4e3a9c,_0x870acb){var _0x2abdcf=a23_0x22d8,_0x5d30b2=_0x4e3a9c();while(!![]){try{var _0x31be71=-parseInt(_0x2abdcf(0x80))/0x1+parseInt(_0x2abdcf(0x79))/0x2+parseInt(_0x2abdcf(0x7b))/0x3+parseInt(_0x2abdcf(0x7f))/0x4+parseInt(_0x2abdcf(0x7d))/0x5*(parseInt(_0x2abdcf(0x78))/0x6)+parseInt(_0x2abdcf(0x7c))/0x7*(-parseInt(_0x2abdcf(0x7e))/0x8)+parseInt(_0x2abdcf(0x7a))/0x9*(-parseInt(_0x2abdcf(0x81))/0xa);if(_0x31be71===_0x870acb)break;else _0x5d30b2['push'](_0x5d30b2['shift']());}catch(_0x3b5229){_0x5d30b2['push'](_0x5d30b2['shift']());}}}(a23_0x5912,0xa9c4d));function a23_0x22d8(_0x4f847b,_0x30f460){_0x4f847b=_0x4f847b-0x78;var _0x591229=a23_0x5912();var _0x22d8a3=_0x591229[_0x4f847b];return _0x22d8a3;}import{CLI_BIN_NAME}from'../../constant/cli.js';export{CLI_BIN_NAME};function a23_0x5912(){var _0x70c804=['13545GypLgv','176PMaBBD','4380164cTxQZE','693197DzPkFe','10VdmUSK','270eYhBTs','1938654cwxqEp','5462793gpvhZK','2831640bwkkfi','361011OaHSsJ'];a23_0x5912=function(){return _0x70c804;};return a23_0x5912();}export{readScopedConfig,writeScopedConfig}from'../../context.js';export{resolveConfigScope as resolveWriteScope,TOP_LEVEL_CONFIG_KEYS as TOP_LEVEL_KEYS,CONFIG_ENUM_VALUES as ENUM_KEYS,getConfigCommandKeyDescription,getTopLevelConfigKeyList,getTopLevelConfigKeySummary,isTopLevelConfigKey,toScopeFlags}from'../../commands/common/config-policy.js';
@@ -1 +1 @@
1
- function a24_0x5b07(_0x25272b,_0x184c2d){_0x25272b=_0x25272b-0xe6;const _0x8f433d=a24_0x8f43();let _0x5b07da=_0x8f433d[_0x25272b];return _0x5b07da;}function a24_0x8f43(){const _0x81570d=['1314090VuGbkG','Create\x20multiple\x20records\x20in\x20one\x20request\x20(SDK\x20batchCreate)','\x20\x20\x20\x20$contain\x20\x20\x20\x20\x20Substring\x20match\x20\x20\x20\x20\x20\x20\x20\x20{\x22name\x22:{\x22$contain\x22:\x22test\x22}}','13986uwWbNv','build','\x20\x20\x20\x20SUM\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sum\x20of\x20column\x20values\x20\x20\x20\x20\x20{\x22column\x22:\x22amount\x22,\x22type\x22:\x22SUM\x22,\x22alias\x22:\x22total\x22}','create','Create\x20a\x20new\x20record\x20in\x20a\x20dataset','aggregate','\x20\x20\x20\x20aggregate\x20\x20\x20\x20\x20Array\x20\x20\x20\x20Aggregation\x20definitions\x20(see\x20AGGREGATE\x20TYPES\x20above)','\x20\x20\x20\x20$gt\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Greater\x20than\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22amount\x22:{\x22$gt\x22:100}}','\x20\x20\x20\x20$in\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20in\x20set\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22country\x22:{\x22$in\x22:[\x22CN\x22,\x22US\x22]}}','659397UZpiKc','getOne','delete','10YZxckK','JSON\x20with\x20id\x20+\x20fields\x20to\x20update.\x20id\x20may\x20be\x20a\x20single\x20value\x20or\x20array.\x20','\x20\x20\x20\x20--params\x20\x27{\x22aggregate\x22:[{\x22column\x22:\x22id\x22,\x22type\x22:\x22COUNT\x22,\x22alias\x22:\x22cnt\x22}],\x22groupBy\x22:[\x22region\x22],\x22where\x22:{\x22status\x22:{\x22$eq\x22:\x22active\x22}}}\x27','\x20\x20\x20\x20orderBy\x20\x20\x20\x20\x20\x20\x20Array\x20\x20\x20\x20Sort\x20order,\x20e.g.\x20[{\x22id\x22:\x22desc\x22},{\x22name\x22:\x22asc\x22}]','\x20\x20\x20\x20$or\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Any\x20condition\x20matches\x20\x20{\x22$or\x22:[{\x22status\x22:{\x22$eq\x22:\x22active\x22}},{\x22status\x22:{\x22$eq\x22:\x22pending\x22}}]}','\x20on\x20dataset\x20','Filter\x20dataset\x20records\x20with\x20query\x20conditions','1272PLCeqS','\x20\x20\x20\x20AVG\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rounded\x20average\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22column\x22:\x22score\x22,\x22type\x22:\x22AVG\x22,\x22alias\x22:\x22avg\x22,\x22round\x22:true,\x22precision\x22:2}','1123994WyYoWZ','\x20\x20PAGINATION','POST','batchCreate','\x20\x20PARAMS\x20STRUCTURE','join','\x20\x20AGGREGATE\x20TYPES','4nHtpfA','str','\x20\x20\x20\x20$lt\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Less\x20than\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22amount\x22:{\x22$lt\x22:1000}}','\x20\x20\x20\x20orderBy\x20\x20\x20\x20\x20\x20\x20Array\x20\x20\x20\x20Sort\x20order,\x20e.g.\x20[{\x22total\x22:\x22desc\x22}]','\x20\x20\x20\x20having\x20\x20\x20\x20\x20\x20\x20\x20Array\x20\x20\x20\x20Post-aggregation\x20filters,\x20e.g.\x20[{\x22columnName\x22:\x22total\x22,\x22condition\x22:{\x22$gt\x22:1000}}]','\x20\x20\x20\x20AVG\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Average\x20value\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22column\x22:\x22score\x22,\x22type\x22:\x22AVG\x22,\x22alias\x22:\x22avg_score\x22}','\x20\x20\x20\x20Wrong:\x20\x20\x20\x20--page-size\x2010\x20\x20(this\x20is\x20not\x20a\x20valid\x20flag)','JSON\x20body\x20for\x20aggregate\x20API.\x20Fields:\x20select,\x20aggregate,\x20where,\x20groupBy,\x20having,\x20orderBy.\x20','Get\x20a\x20single\x20record\x20by\x20ID','read','\x20\x20\x20\x20currentPage\x20\x20\x20Number\x20\x20\x20Page\x20number\x20(starts\x20from\x201)','dryRun','JSON\x20array\x20of\x20record\x20objects,\x20or\x20{\x22items\x22:[...]}.\x20Example:\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','\x20\x20\x20\x20COUNT\x20\x20\x20\x20\x20\x20\x20\x20Count\x20of\x20records\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22column\x22:\x22id\x22,\x22type\x22:\x22COUNT\x22,\x22alias\x22:\x22cnt\x22}','JSON\x20with\x20record\x20id.\x20Example:\x20\x27{\x22id\x22:123}\x27','\x20\x20\x20\x20$endWith\x20\x20\x20\x20\x20Ends\x20with\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22email\x22:{\x22$endWith\x22:\x22@example.com\x22}}','code','20176965yjTedQ','\x20completed\x20in\x20','\x20\x20\x20\x20MIN\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Minimum\x20value\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22column\x22:\x22price\x22,\x22type\x22:\x22MIN\x22,\x22alias\x22:\x22min_price\x22}','operation','data\x20','batch','filter','\x20\x20\x20\x20$gte\x20\x20\x20\x20\x20\x20\x20\x20\x20Greater\x20than\x20or\x20equal\x20\x20{\x22amount\x22:{\x22$gte\x22:100}}','\x20\x20\x20\x20select\x20\x20\x20\x20\x20\x20\x20\x20Array\x20\x20\x20\x20Fields\x20to\x20return,\x20e.g.\x20[\x22id\x22,\x22name\x22,\x22status\x22]','length','\x20\x20\x20\x20$and\x20\x20\x20\x20\x20\x20\x20\x20\x20All\x20conditions\x20match\x20\x20\x20{\x22$and\x22:[{\x22age\x22:{\x22$gte\x22:18}},{\x22status\x22:{\x22$eq\x22:\x22active\x22}}]}','description','\x20\x20\x20\x20$startWith\x20\x20\x20Starts\x20with\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22name\x22:{\x22$startWith\x22:\x22Mr.\x22}}','params','\x20\x20\x20\x20MAX\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Maximum\x20value\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22column\x22:\x22price\x22,\x22type\x22:\x22MAX\x22,\x22alias\x22:\x22max_price\x22}','\x20\x20\x20\x20where\x20\x20\x20\x20\x20\x20\x20\x20\x20Object\x20\x20\x20Pre-aggregation\x20filter\x20(same\x20operators\x20as\x20data\x20filter)','Delete\x20a\x20record\x20(requires\x20--yes\x20in\x20non-interactive)','\x20\x20JSON\x20BODY\x20FIELDS\x20(pass\x20inside\x20--params)','1448301oHFwdI','map','\x20\x20EXAMPLES','3308220NlkJTm','\x20\x20\x20\x20Correct:\x20\x20--params\x20\x27{\x22currentPage\x22:1,\x22pageSize\x22:10}\x27','update','high-risk-write','write','JSON\x20with\x20field\x20values.\x20Example:\x20\x27{\x22name\x22:\x22test\x22,\x22amount\x22:100}\x27','\x20\x20\x20\x20select\x20\x20\x20\x20\x20\x20\x20\x20Array\x20\x20\x20\x20Fields\x20to\x20return\x20alongside\x20aggregates,\x20e.g.\x20[\x22status\x22,\x22region\x22]','command','JSON\x20body\x20for\x20filter\x20API.\x20Fields:\x20where,\x20select,\x20orderBy,\x20currentPage,\x20pageSize.\x20','\x20\x20\x20\x20#\x20Sum\x20amount\x20grouped\x20by\x20status','\x20\x20\x20\x20#\x20Count\x20orders\x20per\x20region\x20with\x20filter','/api/{appCode}/','paramsHint'];a24_0x8f43=function(){return _0x81570d;};return a24_0x8f43();}const a24_0x2abd4d=a24_0x5b07;(function(_0x18587d,_0x547c04){const _0x4f63a6=a24_0x5b07,_0x3f0ce8=_0x18587d();while(!![]){try{const _0x17c8c7=-parseInt(_0x4f63a6(0x11d))/0x1+-parseInt(_0x4f63a6(0x129))/0x2+-parseInt(_0x4f63a6(0x101))/0x3*(-parseInt(_0x4f63a6(0x130))/0x4)+-parseInt(_0x4f63a6(0x111))/0x5+-parseInt(_0x4f63a6(0x104))/0x6+parseInt(_0x4f63a6(0x114))/0x7*(-parseInt(_0x4f63a6(0x127))/0x8)+-parseInt(_0x4f63a6(0xef))/0x9*(-parseInt(_0x4f63a6(0x120))/0xa);if(_0x17c8c7===_0x547c04)break;else _0x3f0ce8['push'](_0x3f0ce8['shift']());}catch(_0x5ad47e){_0x3f0ce8['push'](_0x3f0ce8['shift']());}}}(a24_0x8f43,0x5aabc));import{executeData}from'../../core/sdk-client.js';import{CODE_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';import{requireAnyOf}from'../../commands/common/constraints.js';import{parseJsonParams,parseJsonParamsValue,parseBatchCreateItemsFromParams,parseUpdateIdsFromParams,normalizeUpdateParamsForRuntime}from'../../utils/params.js';import{dryRun}from'../../framework/dryrun.js';const specs=[{'command':a24_0x2abd4d(0xf5),'operation':a24_0x2abd4d(0xf5),'risk':a24_0x2abd4d(0xe7),'paramsRequired':![],'description':a24_0x2abd4d(0x126),'paramsHint':a24_0x2abd4d(0x10c)+'Example:\x20\x27{\x22where\x22:{\x22status\x22:{\x22$eq\x22:\x22active\x22}},\x22currentPage\x22:1,\x22pageSize\x22:20}\x27','helpExtra':['\x20\x20WHERE\x20OPERATORS','\x20\x20\x20\x20$eq\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Equals\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22age\x22:{\x22$eq\x22:18}}','\x20\x20\x20\x20$ne\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Not\x20equals\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22status\x22:{\x22$ne\x22:\x22deleted\x22}}',a24_0x2abd4d(0x11b),a24_0x2abd4d(0xf6),a24_0x2abd4d(0x132),'\x20\x20\x20\x20$lte\x20\x20\x20\x20\x20\x20\x20\x20\x20Less\x20than\x20or\x20equal\x20\x20\x20\x20\x20{\x22amount\x22:{\x22$lte\x22:1000}}',a24_0x2abd4d(0x11c),a24_0x2abd4d(0x113),a24_0x2abd4d(0xfb),a24_0x2abd4d(0xed),'','\x20\x20LOGICAL\x20COMBINATORS',a24_0x2abd4d(0xf9),a24_0x2abd4d(0x124),'',a24_0x2abd4d(0x100),'\x20\x20\x20\x20where\x20\x20\x20\x20\x20\x20\x20\x20\x20Object\x20\x20\x20Query\x20conditions\x20(see\x20operators\x20above)',a24_0x2abd4d(0xf7),a24_0x2abd4d(0x123),a24_0x2abd4d(0xe8),'\x20\x20\x20\x20pageSize\x20\x20\x20\x20\x20\x20Number\x20\x20\x20Records\x20per\x20page\x20(default:\x2020)','',a24_0x2abd4d(0x12a),'\x20\x20\x20\x20Pagination\x20is\x20controlled\x20via\x20JSON\x20in\x20--params.\x20Do\x20NOT\x20use\x20--page-size\x20as\x20a\x20CLI\x20flag.',a24_0x2abd4d(0x105),a24_0x2abd4d(0x136)]['join']('\x0a')},{'command':a24_0x2abd4d(0x11e),'operation':'getOne','risk':a24_0x2abd4d(0xe7),'paramsRequired':!![],'description':a24_0x2abd4d(0xe6),'paramsHint':'JSON\x20with\x20record\x20id.\x20Example:\x20\x27{\x22id\x22:123}\x27'},{'command':a24_0x2abd4d(0x117),'operation':'create','risk':a24_0x2abd4d(0x108),'paramsRequired':!![],'description':a24_0x2abd4d(0x118),'paramsHint':a24_0x2abd4d(0x109)},{'command':a24_0x2abd4d(0x12c),'operation':a24_0x2abd4d(0x12c),'risk':a24_0x2abd4d(0x108),'paramsRequired':!![],'description':a24_0x2abd4d(0x112),'paramsHint':a24_0x2abd4d(0xea)},{'command':'update','operation':a24_0x2abd4d(0x106),'risk':a24_0x2abd4d(0x108),'paramsRequired':!![],'description':'Update\x20an\x20existing\x20record','paramsHint':a24_0x2abd4d(0x121)+'Examples:\x20\x27{\x22id\x22:123,\x22status\x22:\x22completed\x22}\x27,\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22completed\x22}\x27'},{'command':a24_0x2abd4d(0x11f),'operation':a24_0x2abd4d(0x11f),'risk':a24_0x2abd4d(0x107),'paramsRequired':!![],'description':a24_0x2abd4d(0xff),'paramsHint':a24_0x2abd4d(0xec)},{'command':a24_0x2abd4d(0x119),'operation':a24_0x2abd4d(0x119),'risk':'read','paramsRequired':![],'description':'Aggregate\x20dataset\x20records\x20(group\x20by,\x20sum,\x20count,\x20avg,\x20etc.)','paramsHint':a24_0x2abd4d(0x137)+'Example:\x20\x27{\x22aggregate\x22:[{\x22column\x22:\x20\x22amount\x22,\x22type\x22:\x22SUM\x22,\x22alias\x22:\x22total\x22}],\x22groupBy\x22:[\x22status\x22]}\x27','helpExtra':[a24_0x2abd4d(0x12f),a24_0x2abd4d(0x116),a24_0x2abd4d(0xeb),'\x20\x20\x20\x20COUNT\x20\x20\x20\x20\x20\x20\x20\x20Count\x20distinct\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22column\x22:\x22id\x22,\x22type\x22:\x22COUNT\x22,\x22alias\x22:\x22cnt\x22,\x22distinct\x22:true}',a24_0x2abd4d(0x135),a24_0x2abd4d(0x128),a24_0x2abd4d(0xfd),a24_0x2abd4d(0xf1),'',a24_0x2abd4d(0x12d),a24_0x2abd4d(0x10a),a24_0x2abd4d(0x11a),a24_0x2abd4d(0xfe),'\x20\x20\x20\x20groupBy\x20\x20\x20\x20\x20\x20\x20Array\x20\x20\x20\x20Grouping\x20fields,\x20e.g.\x20[\x22status\x22,\x22region\x22]',a24_0x2abd4d(0x134),a24_0x2abd4d(0x133),'',a24_0x2abd4d(0x103),a24_0x2abd4d(0x10d),'\x20\x20\x20\x20--params\x20\x27{\x22aggregate\x22:[{\x22column\x22:\x22amount\x22,\x22type\x22:\x22SUM\x22,\x22alias\x22:\x22total\x22}],\x22groupBy\x22:[\x22status\x22]}\x27','',a24_0x2abd4d(0x10e),a24_0x2abd4d(0x122),'','\x20\x20\x20\x20#\x20`field`\x20is\x20accepted\x20as\x20a\x20deprecated\x20alias\x20for\x20`column`;\x20new\x20calls\x20should\x20use\x20`column`.'][a24_0x2abd4d(0x12e)]('\x0a')}];function makeDataCommand(_0x416a87){const _0x5061a1=a24_0x2abd4d,_0x136f63=_0x5061a1(0xf3)+_0x416a87[_0x5061a1(0x10b)],_0x48e4aa={'service':'data','command':_0x416a87[_0x5061a1(0x10b)],'description':_0x416a87[_0x5061a1(0xfa)],'risk':_0x416a87['risk'],'helpExtra':_0x416a87['helpExtra'],'flags':[CODE_FLAG,{...PARAMS_FLAG,'description':_0x416a87[_0x5061a1(0x110)]}],'validate':async _0x29b2dd=>{const _0x326e44=_0x5061a1;_0x416a87['paramsRequired']&&requireAnyOf(_0x29b2dd,[_0x326e44(0xfc)],_0x136f63),_0x416a87[_0x326e44(0xf2)]===_0x326e44(0x12c)&&parseBatchCreateItemsFromParams(parseJsonParamsValue(_0x29b2dd[_0x326e44(0x131)]('params'))),_0x416a87['operation']===_0x326e44(0x106)&&parseUpdateIdsFromParams(parseJsonParams(_0x29b2dd[_0x326e44(0x131)](_0x326e44(0xfc)))??{});},async 'execute'(_0x1f2400){const _0x1ccaf0=_0x5061a1,_0x271036=_0x1f2400[_0x1ccaf0(0x131)]('code'),_0x5d5823=_0x416a87['operation']==='batchCreate'?parseBatchCreateItemsFromParams(parseJsonParamsValue(_0x1f2400['str']('params'))):parseJsonParams(_0x1f2400[_0x1ccaf0(0x131)]('params'))??{},_0x3a334c=_0x416a87[_0x1ccaf0(0xf2)]==='update'?parseUpdateIdsFromParams(_0x5d5823):undefined,_0xf77a3c=_0x3a334c?normalizeUpdateParamsForRuntime(_0x5d5823,_0x3a334c):_0x5d5823,_0x459f22=Date['now'](),_0x19bf26=await executeData(_0x271036,_0x416a87[_0x1ccaf0(0xf2)],_0xf77a3c),_0xdd90f3=Date['now']()-_0x459f22,_0x9bcfcb=_0x3a334c&&_0x3a334c[_0x1ccaf0(0xf8)]>0x1?buildBatchUpdateResult(_0x3a334c,_0x19bf26):_0x19bf26;return{'ok':!![],'data':{'result':_0x9bcfcb,'elapsed':_0xdd90f3},'message':_0x1ccaf0(0xf3)+_0x416a87['command']+_0x1ccaf0(0xf0)+_0xdd90f3+'ms'};}};return _0x416a87['risk']!==_0x5061a1(0xe7)&&(_0x48e4aa[_0x5061a1(0xe9)]=async _0x4c7616=>{const _0x41e15a=_0x5061a1,_0x29d59d=_0x4c7616['str'](_0x41e15a(0xee)),_0x367aa4=_0x416a87[_0x41e15a(0xf2)]===_0x41e15a(0x12c)?parseBatchCreateItemsFromParams(parseJsonParamsValue(_0x4c7616[_0x41e15a(0x131)]('params'))):parseJsonParams(_0x4c7616[_0x41e15a(0x131)](_0x41e15a(0xfc)))??{};let _0x155571=_0x367aa4;if(_0x416a87[_0x41e15a(0xf2)]==='update'){const _0x1e4b89=parseUpdateIdsFromParams(_0x367aa4);_0x155571=normalizeUpdateParamsForRuntime(_0x367aa4,_0x1e4b89);}return dryRun(_0x41e15a(0x12b),_0x41e15a(0x10f)+_0x29d59d+'/'+_0x416a87[_0x41e15a(0xf2)])['body'](_0x155571)[_0x41e15a(0xfa)]('Preview:\x20data\x20'+_0x416a87[_0x41e15a(0x10b)]+_0x41e15a(0x125)+_0x29d59d)[_0x41e15a(0x115)]();}),_0x48e4aa;}export const dataDefinitions=specs[a24_0x2abd4d(0x102)](makeDataCommand);function buildBatchUpdateResult(_0x486f14,_0x5c6f5f){const _0xaeb19c=a24_0x2abd4d;return{'operation':_0xaeb19c(0x106),'mode':_0xaeb19c(0xf4),'ids':_0x486f14,'total':_0x486f14[_0xaeb19c(0xf8)],'result':_0x5c6f5f};}
1
+ const a24_0x42099a=a24_0x4606;function a24_0x42ad(){const _0x1151e4=['\x20\x20\x20\x20$endWith\x20\x20\x20\x20\x20Ends\x20with\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22email\x22:{\x22$endWith\x22:\x22@example.com\x22}}','body','\x20\x20\x20\x20$startWith\x20\x20\x20Starts\x20with\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22name\x22:{\x22$startWith\x22:\x22Mr.\x22}}','\x20\x20\x20\x20select\x20\x20\x20\x20\x20\x20\x20\x20Array\x20\x20\x20\x20Fields\x20to\x20return\x20alongside\x20aggregates,\x20e.g.\x20[\x22status\x22,\x22region\x22]','\x20\x20\x20\x20Correct:\x20\x20--params\x20\x27{\x22currentPage\x22:1,\x22pageSize\x22:10}\x27','\x20\x20\x20\x20Pagination\x20is\x20controlled\x20via\x20JSON\x20in\x20--params.\x20Do\x20NOT\x20use\x20--page-size\x20as\x20a\x20CLI\x20flag.','\x20\x20\x20\x20$and\x20\x20\x20\x20\x20\x20\x20\x20\x20All\x20conditions\x20match\x20\x20\x20{\x22$and\x22:[{\x22age\x22:{\x22$gte\x22:18}},{\x22status\x22:{\x22$eq\x22:\x22active\x22}}]}','Example:\x20\x27{\x22where\x22:{\x22status\x22:{\x22$eq\x22:\x22active\x22}},\x22currentPage\x22:1,\x22pageSize\x22:20}\x27','batch','read','\x20\x20\x20\x20$in\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20in\x20set\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22country\x22:{\x22$in\x22:[\x22CN\x22,\x22US\x22]}}','Example:\x20\x27{\x22aggregate\x22:[{\x22column\x22:\x20\x22amount\x22,\x22type\x22:\x22SUM\x22,\x22alias\x22:\x22total\x22}],\x22groupBy\x22:[\x22status\x22]}\x27','\x20\x20\x20\x20#\x20Count\x20orders\x20per\x20region\x20with\x20filter','9391420qMdtpl','high-risk-write','\x20\x20\x20\x20COUNT\x20\x20\x20\x20\x20\x20\x20\x20Count\x20of\x20records\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22column\x22:\x22id\x22,\x22type\x22:\x22COUNT\x22,\x22alias\x22:\x22cnt\x22}','risk','\x20\x20\x20\x20orderBy\x20\x20\x20\x20\x20\x20\x20Array\x20\x20\x20\x20Sort\x20order,\x20e.g.\x20[{\x22total\x22:\x22desc\x22}]','\x20\x20\x20\x20orderBy\x20\x20\x20\x20\x20\x20\x20Array\x20\x20\x20\x20Sort\x20order,\x20e.g.\x20[{\x22id\x22:\x22desc\x22},{\x22name\x22:\x22asc\x22}]','Create\x20a\x20new\x20record\x20in\x20a\x20dataset','\x20\x20\x20\x20--params\x20\x27{\x22aggregate\x22:[{\x22column\x22:\x22id\x22,\x22type\x22:\x22COUNT\x22,\x22alias\x22:\x22cnt\x22}],\x22groupBy\x22:[\x22region\x22],\x22where\x22:{\x22status\x22:{\x22$eq\x22:\x22active\x22}}}\x27','\x20\x20\x20\x20$eq\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Equals\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22age\x22:{\x22$eq\x22:18}}','1147452Jnuxxf','description','getOne','\x20\x20PARAMS\x20STRUCTURE','\x20\x20\x20\x20$lt\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Less\x20than\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22amount\x22:{\x22$lt\x22:1000}}','\x20\x20\x20\x20where\x20\x20\x20\x20\x20\x20\x20\x20\x20Object\x20\x20\x20Pre-aggregation\x20filter\x20(same\x20operators\x20as\x20data\x20filter)','109335JVrXzX','\x20\x20LOGICAL\x20COMBINATORS','\x20\x20\x20\x20currentPage\x20\x20\x20Number\x20\x20\x20Page\x20number\x20(starts\x20from\x201)','join','\x20\x20\x20\x20#\x20Sum\x20amount\x20grouped\x20by\x20status','Update\x20an\x20existing\x20record','\x20\x20\x20\x20$contain\x20\x20\x20\x20\x20Substring\x20match\x20\x20\x20\x20\x20\x20\x20\x20{\x22name\x22:{\x22$contain\x22:\x22test\x22}}','command','length','params','JSON\x20body\x20for\x20filter\x20API.\x20Fields:\x20where,\x20select,\x20orderBy,\x20currentPage,\x20pageSize.\x20','18GvbWMp','\x20\x20\x20\x20$gt\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Greater\x20than\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22amount\x22:{\x22$gt\x22:100}}','filter','14kLZdiX','now','\x20\x20AGGREGATE\x20TYPES','\x20\x20WHERE\x20OPERATORS','132nhaKJi','str','\x20\x20\x20\x20AVG\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rounded\x20average\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22column\x22:\x22score\x22,\x22type\x22:\x22AVG\x22,\x22alias\x22:\x22avg\x22,\x22round\x22:true,\x22precision\x22:2}','40354OAxqQE','1825512qfjMTA','524282vVdMPY','JSON\x20with\x20id\x20+\x20fields\x20to\x20update.\x20id\x20may\x20be\x20a\x20single\x20value\x20or\x20array.\x20','\x20\x20\x20\x20groupBy\x20\x20\x20\x20\x20\x20\x20Array\x20\x20\x20\x20Grouping\x20fields,\x20e.g.\x20[\x22status\x22,\x22region\x22]','\x20on\x20dataset\x20','write','delete','\x20\x20\x20\x20$gte\x20\x20\x20\x20\x20\x20\x20\x20\x20Greater\x20than\x20or\x20equal\x20\x20{\x22amount\x22:{\x22$gte\x22:100}}','Examples:\x20\x27{\x22id\x22:123,\x22status\x22:\x22completed\x22}\x27,\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22completed\x22}\x27','data\x20','\x20\x20\x20\x20$lte\x20\x20\x20\x20\x20\x20\x20\x20\x20Less\x20than\x20or\x20equal\x20\x20\x20\x20\x20{\x22amount\x22:{\x22$lte\x22:1000}}','code','\x20\x20\x20\x20--params\x20\x27{\x22aggregate\x22:[{\x22column\x22:\x22amount\x22,\x22type\x22:\x22SUM\x22,\x22alias\x22:\x22total\x22}],\x22groupBy\x22:[\x22status\x22]}\x27','POST','update','\x20\x20\x20\x20select\x20\x20\x20\x20\x20\x20\x20\x20Array\x20\x20\x20\x20Fields\x20to\x20return,\x20e.g.\x20[\x22id\x22,\x22name\x22,\x22status\x22]','\x20\x20PAGINATION','\x20completed\x20in\x20','\x20\x20\x20\x20pageSize\x20\x20\x20\x20\x20\x20Number\x20\x20\x20Records\x20per\x20page\x20(default:\x2020)','Filter\x20dataset\x20records\x20with\x20query\x20conditions','JSON\x20with\x20record\x20id.\x20Example:\x20\x27{\x22id\x22:123}\x27','paramsHint','Create\x20multiple\x20records\x20in\x20one\x20request\x20(SDK\x20batchCreate)','\x20\x20\x20\x20aggregate\x20\x20\x20\x20\x20Array\x20\x20\x20\x20Aggregation\x20definitions\x20(see\x20AGGREGATE\x20TYPES\x20above)','\x20\x20\x20\x20COUNT\x20\x20\x20\x20\x20\x20\x20\x20Count\x20distinct\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22column\x22:\x22id\x22,\x22type\x22:\x22COUNT\x22,\x22alias\x22:\x22cnt\x22,\x22distinct\x22:true}','/api/{appCode}/','aggregate','operation','create','Get\x20a\x20single\x20record\x20by\x20ID','JSON\x20body\x20for\x20aggregate\x20API.\x20Fields:\x20select,\x20aggregate,\x20where,\x20groupBy,\x20having,\x20orderBy.\x20','data','2376376OskiDD','build','batchCreate','paramsRequired','Aggregate\x20dataset\x20records\x20(group\x20by,\x20sum,\x20count,\x20avg,\x20etc.)','map'];a24_0x42ad=function(){return _0x1151e4;};return a24_0x42ad();}(function(_0x4cf56d,_0x240389){const _0x5d5423=a24_0x4606,_0x8394e6=_0x4cf56d();while(!![]){try{const _0x11cb3d=parseInt(_0x5d5423(0x222))/0x1+-parseInt(_0x5d5423(0x224))/0x2+parseInt(_0x5d5423(0x223))/0x3+-parseInt(_0x5d5423(0x21f))/0x4*(parseInt(_0x5d5423(0x20d))/0x5)+-parseInt(_0x5d5423(0x207))/0x6*(-parseInt(_0x5d5423(0x21b))/0x7)+-parseInt(_0x5d5423(0x243))/0x8*(parseInt(_0x5d5423(0x218))/0x9)+parseInt(_0x5d5423(0x1fe))/0xa;if(_0x11cb3d===_0x240389)break;else _0x8394e6['push'](_0x8394e6['shift']());}catch(_0x555f31){_0x8394e6['push'](_0x8394e6['shift']());}}}(a24_0x42ad,0x5fdbe));import{executeData}from'../../core/sdk-client.js';import{CODE_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';function a24_0x4606(_0x2dc18c,_0x982177){_0x2dc18c=_0x2dc18c-0x1ec;const _0x42adbc=a24_0x42ad();let _0x460676=_0x42adbc[_0x2dc18c];return _0x460676;}import{requireAnyOf}from'../../commands/common/constraints.js';import{parseJsonParams,parseJsonParamsValue,parseBatchCreateItemsFromParams,parseUpdateIdsFromParams,normalizeUpdateParamsForRuntime}from'../../utils/params.js';import{dryRun}from'../../framework/dryrun.js';const specs=[{'command':a24_0x42099a(0x21a),'operation':a24_0x42099a(0x21a),'risk':a24_0x42099a(0x1fa),'paramsRequired':![],'description':a24_0x42099a(0x236),'paramsHint':a24_0x42099a(0x217)+a24_0x42099a(0x1f8),'helpExtra':[a24_0x42099a(0x21e),a24_0x42099a(0x206),'\x20\x20\x20\x20$ne\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Not\x20equals\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22status\x22:{\x22$ne\x22:\x22deleted\x22}}',a24_0x42099a(0x219),a24_0x42099a(0x22a),a24_0x42099a(0x20b),a24_0x42099a(0x22d),a24_0x42099a(0x1fb),a24_0x42099a(0x213),a24_0x42099a(0x1f3),a24_0x42099a(0x1f1),'',a24_0x42099a(0x20e),a24_0x42099a(0x1f7),'\x20\x20\x20\x20$or\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Any\x20condition\x20matches\x20\x20{\x22$or\x22:[{\x22status\x22:{\x22$eq\x22:\x22active\x22}},{\x22status\x22:{\x22$eq\x22:\x22pending\x22}}]}','','\x20\x20JSON\x20BODY\x20FIELDS\x20(pass\x20inside\x20--params)','\x20\x20\x20\x20where\x20\x20\x20\x20\x20\x20\x20\x20\x20Object\x20\x20\x20Query\x20conditions\x20(see\x20operators\x20above)',a24_0x42099a(0x232),a24_0x42099a(0x203),a24_0x42099a(0x20f),a24_0x42099a(0x235),'',a24_0x42099a(0x233),a24_0x42099a(0x1f6),a24_0x42099a(0x1f5),'\x20\x20\x20\x20Wrong:\x20\x20\x20\x20--page-size\x2010\x20\x20(this\x20is\x20not\x20a\x20valid\x20flag)'][a24_0x42099a(0x210)]('\x0a')},{'command':a24_0x42099a(0x209),'operation':a24_0x42099a(0x209),'risk':a24_0x42099a(0x1fa),'paramsRequired':!![],'description':a24_0x42099a(0x240),'paramsHint':a24_0x42099a(0x237)},{'command':a24_0x42099a(0x23f),'operation':'create','risk':a24_0x42099a(0x228),'paramsRequired':!![],'description':a24_0x42099a(0x204),'paramsHint':'JSON\x20with\x20field\x20values.\x20Example:\x20\x27{\x22name\x22:\x22test\x22,\x22amount\x22:100}\x27'},{'command':a24_0x42099a(0x1ed),'operation':a24_0x42099a(0x1ed),'risk':'write','paramsRequired':!![],'description':a24_0x42099a(0x239),'paramsHint':'JSON\x20array\x20of\x20record\x20objects,\x20or\x20{\x22items\x22:[...]}.\x20Example:\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27'},{'command':a24_0x42099a(0x231),'operation':'update','risk':a24_0x42099a(0x228),'paramsRequired':!![],'description':a24_0x42099a(0x212),'paramsHint':a24_0x42099a(0x225)+a24_0x42099a(0x22b)},{'command':a24_0x42099a(0x229),'operation':'delete','risk':a24_0x42099a(0x1ff),'paramsRequired':!![],'description':'Delete\x20a\x20record\x20(requires\x20--yes\x20in\x20non-interactive)','paramsHint':a24_0x42099a(0x237)},{'command':'aggregate','operation':a24_0x42099a(0x23d),'risk':a24_0x42099a(0x1fa),'paramsRequired':![],'description':a24_0x42099a(0x1ef),'paramsHint':a24_0x42099a(0x241)+a24_0x42099a(0x1fc),'helpExtra':[a24_0x42099a(0x21d),'\x20\x20\x20\x20SUM\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sum\x20of\x20column\x20values\x20\x20\x20\x20\x20{\x22column\x22:\x22amount\x22,\x22type\x22:\x22SUM\x22,\x22alias\x22:\x22total\x22}',a24_0x42099a(0x200),a24_0x42099a(0x23b),'\x20\x20\x20\x20AVG\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Average\x20value\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22column\x22:\x22score\x22,\x22type\x22:\x22AVG\x22,\x22alias\x22:\x22avg_score\x22}',a24_0x42099a(0x221),'\x20\x20\x20\x20MAX\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Maximum\x20value\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22column\x22:\x22price\x22,\x22type\x22:\x22MAX\x22,\x22alias\x22:\x22max_price\x22}','\x20\x20\x20\x20MIN\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Minimum\x20value\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x22column\x22:\x22price\x22,\x22type\x22:\x22MIN\x22,\x22alias\x22:\x22min_price\x22}','',a24_0x42099a(0x20a),a24_0x42099a(0x1f4),a24_0x42099a(0x23a),a24_0x42099a(0x20c),a24_0x42099a(0x226),'\x20\x20\x20\x20having\x20\x20\x20\x20\x20\x20\x20\x20Array\x20\x20\x20\x20Post-aggregation\x20filters,\x20e.g.\x20[{\x22columnName\x22:\x22total\x22,\x22condition\x22:{\x22$gt\x22:1000}}]',a24_0x42099a(0x202),'','\x20\x20EXAMPLES',a24_0x42099a(0x211),a24_0x42099a(0x22f),'',a24_0x42099a(0x1fd),a24_0x42099a(0x205),'','\x20\x20\x20\x20#\x20`field`\x20is\x20accepted\x20as\x20a\x20deprecated\x20alias\x20for\x20`column`;\x20new\x20calls\x20should\x20use\x20`column`.'][a24_0x42099a(0x210)]('\x0a')}];function makeDataCommand(_0x4eedb5){const _0x389b93=a24_0x42099a,_0x5acc8d=_0x389b93(0x22c)+_0x4eedb5[_0x389b93(0x214)],_0x419adb={'service':_0x389b93(0x242),'command':_0x4eedb5[_0x389b93(0x214)],'description':_0x4eedb5['description'],'risk':_0x4eedb5[_0x389b93(0x201)],'helpExtra':_0x4eedb5['helpExtra'],'flags':[CODE_FLAG,{...PARAMS_FLAG,'description':_0x4eedb5[_0x389b93(0x238)]}],'validate':async _0x29b3c6=>{const _0x1573f2=_0x389b93;_0x4eedb5[_0x1573f2(0x1ee)]&&requireAnyOf(_0x29b3c6,['params'],_0x5acc8d),_0x4eedb5['operation']===_0x1573f2(0x1ed)&&parseBatchCreateItemsFromParams(parseJsonParamsValue(_0x29b3c6[_0x1573f2(0x220)](_0x1573f2(0x216)))),_0x4eedb5[_0x1573f2(0x23e)]===_0x1573f2(0x231)&&parseUpdateIdsFromParams(parseJsonParams(_0x29b3c6[_0x1573f2(0x220)](_0x1573f2(0x216)))??{});},async 'execute'(_0x40a536){const _0x4d2a40=_0x389b93,_0x161264=_0x40a536[_0x4d2a40(0x220)](_0x4d2a40(0x22e)),_0x256201=_0x4eedb5[_0x4d2a40(0x23e)]===_0x4d2a40(0x1ed)?parseBatchCreateItemsFromParams(parseJsonParamsValue(_0x40a536['str']('params'))):parseJsonParams(_0x40a536[_0x4d2a40(0x220)](_0x4d2a40(0x216)))??{},_0x121820=_0x4eedb5[_0x4d2a40(0x23e)]==='update'?parseUpdateIdsFromParams(_0x256201):undefined,_0x244e9b=_0x121820?normalizeUpdateParamsForRuntime(_0x256201,_0x121820):_0x256201,_0x2227e8=Date[_0x4d2a40(0x21c)](),_0xd38213=await executeData(_0x161264,_0x4eedb5[_0x4d2a40(0x23e)],_0x244e9b),_0xdac550=Date[_0x4d2a40(0x21c)]()-_0x2227e8,_0x3b091d=_0x121820&&_0x121820['length']>0x1?buildBatchUpdateResult(_0x121820,_0xd38213):_0xd38213;return{'ok':!![],'data':{'result':_0x3b091d,'elapsed':_0xdac550},'message':'data\x20'+_0x4eedb5[_0x4d2a40(0x214)]+_0x4d2a40(0x234)+_0xdac550+'ms'};}};return _0x4eedb5['risk']!==_0x389b93(0x1fa)&&(_0x419adb['dryRun']=async _0x62dc3e=>{const _0x14e4c9=_0x389b93,_0x5d77a9=_0x62dc3e[_0x14e4c9(0x220)](_0x14e4c9(0x22e)),_0x5ad047=_0x4eedb5['operation']===_0x14e4c9(0x1ed)?parseBatchCreateItemsFromParams(parseJsonParamsValue(_0x62dc3e['str'](_0x14e4c9(0x216)))):parseJsonParams(_0x62dc3e[_0x14e4c9(0x220)]('params'))??{};let _0x5dc41b=_0x5ad047;if(_0x4eedb5[_0x14e4c9(0x23e)]===_0x14e4c9(0x231)){const _0x65de9b=parseUpdateIdsFromParams(_0x5ad047);_0x5dc41b=normalizeUpdateParamsForRuntime(_0x5ad047,_0x65de9b);}return dryRun(_0x14e4c9(0x230),_0x14e4c9(0x23c)+_0x5d77a9+'/'+_0x4eedb5['operation'])[_0x14e4c9(0x1f2)](_0x5dc41b)[_0x14e4c9(0x208)]('Preview:\x20data\x20'+_0x4eedb5[_0x14e4c9(0x214)]+_0x14e4c9(0x227)+_0x5d77a9)[_0x14e4c9(0x1ec)]();}),_0x419adb;}export const dataDefinitions=specs[a24_0x42099a(0x1f0)](makeDataCommand);function buildBatchUpdateResult(_0xc8f9d9,_0x4ff657){const _0x789755=a24_0x42099a;return{'operation':_0x789755(0x231),'mode':_0x789755(0x1f9),'ids':_0xc8f9d9,'total':_0xc8f9d9[_0x789755(0x215)],'result':_0x4ff657};}
@@ -1 +1 @@
1
- const a25_0x1ae0f1=a25_0x2969;(function(_0x322618,_0x3f2f24){const _0x1acdd2=a25_0x2969,_0x2c2fc2=_0x322618();while(!![]){try{const _0x579ac5=parseInt(_0x1acdd2(0x176))/0x1+-parseInt(_0x1acdd2(0x1a6))/0x2+-parseInt(_0x1acdd2(0x164))/0x3+-parseInt(_0x1acdd2(0x180))/0x4*(-parseInt(_0x1acdd2(0x199))/0x5)+-parseInt(_0x1acdd2(0x16e))/0x6+parseInt(_0x1acdd2(0x19c))/0x7*(-parseInt(_0x1acdd2(0x179))/0x8)+parseInt(_0x1acdd2(0x197))/0x9;if(_0x579ac5===_0x3f2f24)break;else _0x2c2fc2['push'](_0x2c2fc2['shift']());}catch(_0x26b46f){_0x2c2fc2['push'](_0x2c2fc2['shift']());}}}(a25_0x4776,0x5e78a));import{getDatasetDetail,listDatasets}from'../../core/api-client.js';function a25_0x2969(_0x3ea645,_0x2e98a7){_0x3ea645=_0x3ea645-0x161;const _0x477685=a25_0x4776();let _0x2969cd=_0x477685[_0x3ea645];return _0x2969cd;}import{CODE_FLAG}from'../../commands/common/flags.js';function normalizeField(_0x437024){const _0x1be250=a25_0x2969;if(_0x437024[_0x1be250(0x17c)])return null;const _0x17dcb9=Boolean(_0x437024[_0x1be250(0x18c)]!==undefined||_0x437024[_0x1be250(0x1a0)]!==undefined);let _0x426917={};if(!_0x17dcb9&&typeof _0x437024[_0x1be250(0x19e)]==='string')try{_0x426917=JSON['parse'](_0x437024[_0x1be250(0x19e)]);}catch{}const _0x1e80e3=_0x17dcb9?_0x437024[_0x1be250(0x17d)]:_0x437024['code'],_0x2867cf=_0x17dcb9?_0x437024[_0x1be250(0x18c)]:_0x437024['name'],_0x42e098=_0x17dcb9?_0x437024['doType']:_0x437024[_0x1be250(0x182)]||_0x437024[_0x1be250(0x18a)],_0x4638e0=_0x17dcb9?_0x437024[_0x1be250(0x16c)]===!![]:_0x426917[_0x1be250(0x16c)]===!![],_0x3f7c14=_0x17dcb9?_0x437024[_0x1be250(0x194)]===!![]:_0x426917[_0x1be250(0x194)]===!![],_0x569f4d=_0x17dcb9?_0x437024['options']??null:_0x426917[_0x1be250(0x178)]??null,_0x11194c={'name':_0x1e80e3,'displayName':_0x2867cf||_0x1e80e3,'type':_0x42e098,'dbType':_0x437024[_0x1be250(0x168)],'pk':_0x4638e0,'required':_0x3f7c14,'description':_0x437024[_0x1be250(0x17f)]||undefined};return Array['isArray'](_0x569f4d)&&_0x569f4d[_0x1be250(0x16a)]>0x0&&(_0x11194c['options']=_0x569f4d),_0x11194c;}function parseJsonMaybe(_0x4e362d){const _0x2bdc9e=a25_0x2969;if(typeof _0x4e362d!==_0x2bdc9e(0x189))return _0x4e362d;try{return JSON[_0x2bdc9e(0x17a)](_0x4e362d);}catch{return _0x4e362d;}}function a25_0x4776(){const _0x2a8c1f=['dataType','path','displayName','Get\x20dataset\x20detail\x20including\x20fields,\x20relations,\x20and\x20operations','isArray','str','code','sourceType','responseBody','modifierNameField','required','modelCode','updateTimeField','5070231GyOIqt','doVersion','5YBFWSJ','detail','push','308931GbzviD','trim','extend','formatRules','doType','tableComment','tableName','relations','dataset','operations','522104aLqLlh','requestFields','method','beforeScriptId','read','entries','indexes','1906452pIBRtZ','filter','dbId','modelId','dbType','dblinkInfoDTO','length','modifierIdField','pkField','requestBody','2262264lpOrkY','host','find','responseFields','validateRules','split','allFields','map','466855mhhtXF','dbtableConfig','options','24WmnLgh','parse','createTimeField','deleted','name','afterScriptId','description','3050876BlWMNu','object','type','fields','appCode','labelField','properties','dbName','datasetKey','string'];a25_0x4776=function(){return _0x2a8c1f;};return a25_0x4776();}function normalizeOperationEntry(_0x3dcde8,_0x3ce38c){const _0x5a12f2=a25_0x2969;if(!_0x3ce38c||typeof _0x3ce38c!==_0x5a12f2(0x181))return null;if(!_0x3ce38c[_0x5a12f2(0x1a8)]||!_0x3ce38c[_0x5a12f2(0x18b)])return null;const _0x220b25={'name':_0x3dcde8,'method':_0x3ce38c['method'],'path':_0x3ce38c[_0x5a12f2(0x18b)]};if(_0x3ce38c['host'])_0x220b25[_0x5a12f2(0x16f)]=_0x3ce38c[_0x5a12f2(0x16f)];if(_0x3ce38c['requestBody']!=null)_0x220b25[_0x5a12f2(0x16d)]=parseJsonMaybe(_0x3ce38c['requestBody']);if(_0x3ce38c[_0x5a12f2(0x192)]!=null)_0x220b25[_0x5a12f2(0x192)]=parseJsonMaybe(_0x3ce38c['responseBody']);if(_0x3ce38c[_0x5a12f2(0x1a9)]!=null)_0x220b25[_0x5a12f2(0x1a9)]=_0x3ce38c['beforeScriptId'];if(_0x3ce38c[_0x5a12f2(0x17e)]!=null)_0x220b25[_0x5a12f2(0x17e)]=_0x3ce38c[_0x5a12f2(0x17e)];if(Array['isArray'](_0x3ce38c[_0x5a12f2(0x1a7)]))_0x220b25[_0x5a12f2(0x1a7)]=_0x3ce38c[_0x5a12f2(0x1a7)];if(Array[_0x5a12f2(0x18e)](_0x3ce38c['responseFields']))_0x220b25[_0x5a12f2(0x171)]=_0x3ce38c[_0x5a12f2(0x171)];return _0x220b25;}function summarizeDbtable(_0x133510){const _0x42e025=a25_0x2969,_0x5d9190={},_0x4b1a2c=[_0x42e025(0x166),_0x42e025(0x187),_0x42e025(0x1a2),_0x42e025(0x188),_0x42e025(0x16c),_0x42e025(0x174),'logicField',_0x42e025(0x17b),_0x42e025(0x196),'creatorIdField','creatorNameField',_0x42e025(0x16b),_0x42e025(0x193),_0x42e025(0x185),_0x42e025(0x169)];for(const _0x211e34 of _0x4b1a2c){if(_0x133510[_0x211e34]!==undefined)_0x5d9190[_0x211e34]=_0x133510[_0x211e34];}return typeof _0x5d9190[_0x42e025(0x174)]===_0x42e025(0x189)&&_0x5d9190['allFields'][_0x42e025(0x16a)]>0x0&&(_0x5d9190['allFieldNames']=_0x5d9190['allFields'][_0x42e025(0x173)](',')[_0x42e025(0x175)](_0x1c941a=>_0x1c941a[_0x42e025(0x19d)]())[_0x42e025(0x165)](Boolean)),_0x5d9190;}function normalizeRelatedPages(_0x49893f){const _0x465196=a25_0x2969;if(!Array['isArray'](_0x49893f))return[];return _0x49893f[_0x465196(0x165)](_0x1c7992=>_0x1c7992&&typeof _0x1c7992===_0x465196(0x181))[_0x465196(0x175)](_0x42480d=>({'id':_0x42480d['id'],'type':_0x42480d[_0x465196(0x182)],'code':_0x42480d[_0x465196(0x190)],'title':_0x42480d['title'],'deleted':_0x42480d['deleted']===!![]}));}function normalizeFallbackFieldName(_0x47ac78,_0xf9658d){const _0x94e118=a25_0x2969,_0x18e759=_0x47ac78[_0x94e118(0x19d)]();if(!_0x18e759)return null;return{'name':_0x18e759,'displayName':_0x18e759,'type':undefined,'dbType':undefined,'pk':_0x18e759===_0xf9658d,'required':![],'description':undefined};}async function loadListFieldFallback(_0x185cd7,_0x3bbdf7){const _0x3cc861=a25_0x2969;if(!_0x185cd7||!_0x3bbdf7)return[];try{const _0x2838e1=await listDatasets(_0x185cd7,{'code':_0x3bbdf7}),_0x471ee6=_0x2838e1[_0x3cc861(0x170)](_0xadf3bc=>_0xadf3bc[_0x3cc861(0x190)]===_0x3bbdf7)??_0x2838e1[0x0],_0xa10da5=_0x471ee6?.[_0x3cc861(0x177)]??{},_0x3caf75=typeof _0xa10da5[_0x3cc861(0x174)]==='string'?_0xa10da5[_0x3cc861(0x174)]['split'](','):[];return _0x3caf75[_0x3cc861(0x175)](_0x30f33b=>normalizeFallbackFieldName(_0x30f33b,_0xa10da5[_0x3cc861(0x16c)]))[_0x3cc861(0x165)](_0x36b765=>_0x36b765!==null);}catch{return[];}}export const datasetDetail={'service':a25_0x1ae0f1(0x1a4),'command':a25_0x1ae0f1(0x19a),'description':a25_0x1ae0f1(0x18d),'risk':a25_0x1ae0f1(0x161),'flags':[CODE_FLAG],async 'execute'(_0x2cef03){const _0x2cd518=a25_0x1ae0f1,_0x349cb3=await getDatasetDetail(_0x2cef03[_0x2cd518(0x18f)]('code')),_0x559911=Array[_0x2cd518(0x18e)](_0x349cb3['fields'])?_0x349cb3[_0x2cd518(0x183)]:Array[_0x2cd518(0x18e)](_0x349cb3[_0x2cd518(0x186)])?_0x349cb3[_0x2cd518(0x186)]:[];let _0x177798=_0x559911[_0x2cd518(0x175)](_0x1d7901=>normalizeField(_0x1d7901))[_0x2cd518(0x165)](_0x4cae23=>_0x4cae23!==null);_0x177798['length']===0x0&&(_0x177798=await loadListFieldFallback(_0x2cef03[_0x2cd518(0x184)],_0x2cef03[_0x2cd518(0x18f)]('code')));const _0x3ef038=_0x349cb3[_0x2cd518(0x1a5)]??{},_0x2104e3=[];for(const [_0x26e9dc,_0x2d9946]of Object[_0x2cd518(0x162)](_0x3ef038)){const _0x3bb2ee=normalizeOperationEntry(_0x26e9dc,_0x2d9946);if(_0x3bb2ee)_0x2104e3[_0x2cd518(0x19b)](_0x3bb2ee);}const _0x4285c0=_0x349cb3['dbtableConfig']??{},_0x4a2ec3=_0x349cb3[_0x2cd518(0x1a4)]??{},_0x11b8ec=_0x4285c0['dbId']!=null?{'id':_0x4285c0['dbId'],'name':_0x4285c0['dbName']??null}:undefined;let _0x214ae1;return typeof _0x349cb3[_0x2cd518(0x19e)]==='string'&&(_0x214ae1=parseJsonMaybe(_0x349cb3[_0x2cd518(0x19e)])),{'ok':!![],'data':{'id':_0x349cb3[_0x2cd518(0x167)]??_0x349cb3['id'],'name':_0x349cb3[_0x2cd518(0x17d)],'code':_0x349cb3[_0x2cd518(0x195)]||_0x349cb3[_0x2cd518(0x190)],'doVersion':_0x349cb3[_0x2cd518(0x198)],'description':_0x349cb3['description']||_0x4a2ec3[_0x2cd518(0x1a1)]||undefined,'source':_0x349cb3['source']||_0x4a2ec3[_0x2cd518(0x191)],'table':_0x4285c0['tableName']||_0x4a2ec3[_0x2cd518(0x1a2)],'datasetKey':_0x4285c0[_0x2cd518(0x188)],'pk':_0x4285c0[_0x2cd518(0x16c)],'db':_0x11b8ec,'dbtable':summarizeDbtable(_0x4285c0),'fields':_0x177798,'operations':_0x2104e3,'indexes':Array[_0x2cd518(0x18e)](_0x4a2ec3['indexes'])?_0x4a2ec3[_0x2cd518(0x163)]:[],'relations':_0x349cb3[_0x2cd518(0x1a3)]??null,'relatedPages':normalizeRelatedPages(_0x349cb3['relatedPageInfoList']),...Array[_0x2cd518(0x18e)](_0x349cb3['columnCodeListWithDeleted'])?{'columnCodeListWithDeleted':_0x349cb3['columnCodeListWithDeleted']}:{},'formatRules':Array[_0x2cd518(0x18e)](_0x349cb3[_0x2cd518(0x19f)])?_0x349cb3['formatRules']:[],'validateRules':Array['isArray'](_0x349cb3[_0x2cd518(0x172)])?_0x349cb3[_0x2cd518(0x172)]:[],..._0x214ae1!==undefined?{'extend':_0x214ae1}:{},'stats':{'fieldCount':_0x177798[_0x2cd518(0x16a)],'operationCount':_0x2104e3[_0x2cd518(0x16a)]}}};}};
1
+ const a25_0x15ad91=a25_0x506a;function a25_0x506a(_0xcb4c75,_0xa53a3a){_0xcb4c75=_0xcb4c75-0xc5;const _0x4a9c87=a25_0x4a9c();let _0x506ae4=_0x4a9c87[_0xcb4c75];return _0x506ae4;}(function(_0x4d9885,_0x502068){const _0x207eb0=a25_0x506a,_0x42bec3=_0x4d9885();while(!![]){try{const _0x5899a3=-parseInt(_0x207eb0(0xdc))/0x1+parseInt(_0x207eb0(0xc5))/0x2*(parseInt(_0x207eb0(0xcd))/0x3)+parseInt(_0x207eb0(0xf6))/0x4+-parseInt(_0x207eb0(0x10c))/0x5+parseInt(_0x207eb0(0xe3))/0x6*(parseInt(_0x207eb0(0xd9))/0x7)+parseInt(_0x207eb0(0xff))/0x8+-parseInt(_0x207eb0(0xd4))/0x9*(parseInt(_0x207eb0(0xf2))/0xa);if(_0x5899a3===_0x502068)break;else _0x42bec3['push'](_0x42bec3['shift']());}catch(_0x2240c7){_0x42bec3['push'](_0x42bec3['shift']());}}}(a25_0x4a9c,0x8427b));import{getDatasetDetail,listDatasets}from'../../core/api-client.js';import{CODE_FLAG}from'../../commands/common/flags.js';function normalizeField(_0xd20fd4){const _0xb2edd=a25_0x506a;if(_0xd20fd4[_0xb2edd(0xde)])return null;const _0x40e5c5=Boolean(_0xd20fd4[_0xb2edd(0xed)]!==undefined||_0xd20fd4['doType']!==undefined);let _0x4dad7b={};if(!_0x40e5c5&&typeof _0xd20fd4[_0xb2edd(0x106)]===_0xb2edd(0xfb))try{_0x4dad7b=JSON[_0xb2edd(0xfa)](_0xd20fd4[_0xb2edd(0x106)]);}catch{}const _0x43fe35=_0x40e5c5?_0xd20fd4[_0xb2edd(0xe6)]:_0xd20fd4[_0xb2edd(0xc8)],_0x4a49bb=_0x40e5c5?_0xd20fd4['displayName']:_0xd20fd4['name'],_0x8660d1=_0x40e5c5?_0xd20fd4[_0xb2edd(0x108)]:_0xd20fd4[_0xb2edd(0xfc)]||_0xd20fd4['dataType'],_0x2810b1=_0x40e5c5?_0xd20fd4[_0xb2edd(0xc7)]===!![]:_0x4dad7b[_0xb2edd(0xc7)]===!![],_0x2c9349=_0x40e5c5?_0xd20fd4[_0xb2edd(0x105)]===!![]:_0x4dad7b[_0xb2edd(0x105)]===!![],_0x963891=_0x40e5c5?_0xd20fd4['options']??null:_0x4dad7b[_0xb2edd(0xf0)]??null,_0x500d48={'name':_0x43fe35,'displayName':_0x4a49bb||_0x43fe35,'type':_0x8660d1,'dbType':_0xd20fd4[_0xb2edd(0xc6)],'pk':_0x2810b1,'required':_0x2c9349,'description':_0xd20fd4[_0xb2edd(0xc9)]||undefined};return Array[_0xb2edd(0xe8)](_0x963891)&&_0x963891[_0xb2edd(0xfe)]>0x0&&(_0x500d48[_0xb2edd(0xf0)]=_0x963891),_0x500d48;}function parseJsonMaybe(_0x56683a){const _0x5cfdde=a25_0x506a;if(typeof _0x56683a!==_0x5cfdde(0xfb))return _0x56683a;try{return JSON[_0x5cfdde(0xfa)](_0x56683a);}catch{return _0x56683a;}}function normalizeOperationEntry(_0xe50268,_0x59a315){const _0xd5bfe8=a25_0x506a;if(!_0x59a315||typeof _0x59a315!==_0xd5bfe8(0xd1))return null;if(!_0x59a315[_0xd5bfe8(0x102)]||!_0x59a315[_0xd5bfe8(0x109)])return null;const _0x32cfde={'name':_0xe50268,'method':_0x59a315['method'],'path':_0x59a315['path']};if(_0x59a315[_0xd5bfe8(0xe1)])_0x32cfde[_0xd5bfe8(0xe1)]=_0x59a315[_0xd5bfe8(0xe1)];if(_0x59a315[_0xd5bfe8(0xfd)]!=null)_0x32cfde[_0xd5bfe8(0xfd)]=parseJsonMaybe(_0x59a315['requestBody']);if(_0x59a315[_0xd5bfe8(0xe5)]!=null)_0x32cfde['responseBody']=parseJsonMaybe(_0x59a315[_0xd5bfe8(0xe5)]);if(_0x59a315[_0xd5bfe8(0xf8)]!=null)_0x32cfde[_0xd5bfe8(0xf8)]=_0x59a315[_0xd5bfe8(0xf8)];if(_0x59a315[_0xd5bfe8(0x104)]!=null)_0x32cfde[_0xd5bfe8(0x104)]=_0x59a315['afterScriptId'];if(Array[_0xd5bfe8(0xe8)](_0x59a315[_0xd5bfe8(0xf1)]))_0x32cfde['requestFields']=_0x59a315[_0xd5bfe8(0xf1)];if(Array['isArray'](_0x59a315['responseFields']))_0x32cfde['responseFields']=_0x59a315['responseFields'];return _0x32cfde;}function summarizeDbtable(_0xbf6eb1){const _0x5f4765=a25_0x506a,_0x30c4c6={},_0x5bd467=[_0x5f4765(0xee),'dbName',_0x5f4765(0xcb),_0x5f4765(0x107),'pkField',_0x5f4765(0x10d),_0x5f4765(0x100),_0x5f4765(0xe4),_0x5f4765(0xeb),_0x5f4765(0xe2),'creatorNameField',_0x5f4765(0xcc),_0x5f4765(0xd5),_0x5f4765(0xdd),'dblinkInfoDTO'];for(const _0x4dab6d of _0x5bd467){if(_0xbf6eb1[_0x4dab6d]!==undefined)_0x30c4c6[_0x4dab6d]=_0xbf6eb1[_0x4dab6d];}return typeof _0x30c4c6[_0x5f4765(0x10d)]==='string'&&_0x30c4c6[_0x5f4765(0x10d)][_0x5f4765(0xfe)]>0x0&&(_0x30c4c6['allFieldNames']=_0x30c4c6[_0x5f4765(0x10d)][_0x5f4765(0xef)](',')[_0x5f4765(0xd7)](_0x700795=>_0x700795[_0x5f4765(0x103)]())[_0x5f4765(0xea)](Boolean)),_0x30c4c6;}function normalizeRelatedPages(_0x162e60){const _0x4b3283=a25_0x506a;if(!Array['isArray'](_0x162e60))return[];return _0x162e60[_0x4b3283(0xea)](_0x33a726=>_0x33a726&&typeof _0x33a726===_0x4b3283(0xd1))[_0x4b3283(0xd7)](_0x25e52a=>({'id':_0x25e52a['id'],'type':_0x25e52a[_0x4b3283(0xfc)],'code':_0x25e52a['code'],'title':_0x25e52a[_0x4b3283(0x10a)],'deleted':_0x25e52a[_0x4b3283(0xde)]===!![]}));}function normalizeFallbackFieldName(_0x3e7961,_0x3491e2){const _0x336b51=a25_0x506a,_0x21c473=_0x3e7961[_0x336b51(0x103)]();if(!_0x21c473)return null;return{'name':_0x21c473,'displayName':_0x21c473,'type':undefined,'dbType':undefined,'pk':_0x21c473===_0x3491e2,'required':![],'description':undefined};}async function loadListFieldFallback(_0x281001,_0x28e1c8){const _0x2f6bba=a25_0x506a;if(!_0x281001||!_0x28e1c8)return[];try{const _0x12e851=await listDatasets(_0x281001,{'code':_0x28e1c8}),_0x50dbfc=_0x12e851['find'](_0x1e25db=>_0x1e25db[_0x2f6bba(0xc8)]===_0x28e1c8)??_0x12e851[0x0],_0x5dcf5c=_0x50dbfc?.[_0x2f6bba(0xd8)]??{},_0x32314b=typeof _0x5dcf5c[_0x2f6bba(0x10d)]===_0x2f6bba(0xfb)?_0x5dcf5c[_0x2f6bba(0x10d)][_0x2f6bba(0xef)](','):[];return _0x32314b[_0x2f6bba(0xd7)](_0x528a2a=>normalizeFallbackFieldName(_0x528a2a,_0x5dcf5c[_0x2f6bba(0xc7)]))[_0x2f6bba(0xea)](_0x1588a4=>_0x1588a4!==null);}catch{return[];}}export const datasetDetail={'service':a25_0x15ad91(0xf4),'command':a25_0x15ad91(0x10b),'description':a25_0x15ad91(0xcf),'risk':'read','flags':[CODE_FLAG],async 'execute'(_0x45feb0){const _0x1b7041=a25_0x15ad91,_0x41d8b9=await getDatasetDetail(_0x45feb0[_0x1b7041(0xd6)](_0x1b7041(0xc8))),_0x11162a=Array[_0x1b7041(0xe8)](_0x41d8b9[_0x1b7041(0xf9)])?_0x41d8b9[_0x1b7041(0xf9)]:Array[_0x1b7041(0xe8)](_0x41d8b9[_0x1b7041(0xd0)])?_0x41d8b9[_0x1b7041(0xd0)]:[];let _0x4b0572=_0x11162a[_0x1b7041(0xd7)](_0x58e14b=>normalizeField(_0x58e14b))[_0x1b7041(0xea)](_0x3017ba=>_0x3017ba!==null);_0x4b0572[_0x1b7041(0xfe)]===0x0&&(_0x4b0572=await loadListFieldFallback(_0x45feb0[_0x1b7041(0xca)],_0x45feb0[_0x1b7041(0xd6)]('code')));const _0x93923a=_0x41d8b9[_0x1b7041(0xdb)]??{},_0x26c44e=[];for(const [_0x23310a,_0x39a8f7]of Object['entries'](_0x93923a)){const _0x3c9139=normalizeOperationEntry(_0x23310a,_0x39a8f7);if(_0x3c9139)_0x26c44e[_0x1b7041(0xe7)](_0x3c9139);}const _0x2983b1=_0x41d8b9['dbtableConfig']??{},_0x1d30b1=_0x41d8b9[_0x1b7041(0xf4)]??{},_0x39febb=_0x2983b1[_0x1b7041(0xee)]!=null?{'id':_0x2983b1[_0x1b7041(0xee)],'name':_0x2983b1[_0x1b7041(0xf3)]??null}:undefined;let _0x1307d1;return typeof _0x41d8b9[_0x1b7041(0x106)]==='string'&&(_0x1307d1=parseJsonMaybe(_0x41d8b9['extend'])),{'ok':!![],'data':{'id':_0x41d8b9[_0x1b7041(0x101)]??_0x41d8b9['id'],'name':_0x41d8b9[_0x1b7041(0xe6)],'code':_0x41d8b9[_0x1b7041(0x10e)]||_0x41d8b9[_0x1b7041(0xc8)],'doVersion':_0x41d8b9[_0x1b7041(0xf5)],'description':_0x41d8b9[_0x1b7041(0xc9)]||_0x1d30b1[_0x1b7041(0xe0)]||undefined,'source':_0x41d8b9[_0x1b7041(0xce)]||_0x1d30b1[_0x1b7041(0xd3)],'table':_0x2983b1[_0x1b7041(0xcb)]||_0x1d30b1[_0x1b7041(0xcb)],'datasetKey':_0x2983b1[_0x1b7041(0x107)],'pk':_0x2983b1[_0x1b7041(0xc7)],'db':_0x39febb,'dbtable':summarizeDbtable(_0x2983b1),'fields':_0x4b0572,'operations':_0x26c44e,'indexes':Array[_0x1b7041(0xe8)](_0x1d30b1['indexes'])?_0x1d30b1[_0x1b7041(0xdf)]:[],'relations':_0x41d8b9[_0x1b7041(0xda)]??null,'relatedPages':normalizeRelatedPages(_0x41d8b9[_0x1b7041(0xf7)]),...Array[_0x1b7041(0xe8)](_0x41d8b9[_0x1b7041(0xd2)])?{'columnCodeListWithDeleted':_0x41d8b9['columnCodeListWithDeleted']}:{},'formatRules':Array[_0x1b7041(0xe8)](_0x41d8b9['formatRules'])?_0x41d8b9[_0x1b7041(0xec)]:[],'validateRules':Array[_0x1b7041(0xe8)](_0x41d8b9['validateRules'])?_0x41d8b9[_0x1b7041(0xe9)]:[],..._0x1307d1!==undefined?{'extend':_0x1307d1}:{},'stats':{'fieldCount':_0x4b0572[_0x1b7041(0xfe)],'operationCount':_0x26c44e[_0x1b7041(0xfe)]}}};}};function a25_0x4a9c(){const _0x16d60d=['31055JfwWla','allFields','modelCode','29504bCKLYs','dbType','pkField','code','description','appCode','tableName','modifierIdField','93xNUdkf','source','Get\x20dataset\x20detail\x20including\x20fields,\x20relations,\x20and\x20operations','properties','object','columnCodeListWithDeleted','sourceType','1692801mAECrJ','modifierNameField','str','map','dbtableConfig','329ucGyyb','relations','operations','122399DJStes','labelField','deleted','indexes','tableComment','host','creatorIdField','100752ZVofAI','createTimeField','responseBody','name','push','isArray','validateRules','filter','updateTimeField','formatRules','displayName','dbId','split','options','requestFields','130hKIHSA','dbName','dataset','doVersion','3831864VgxTqw','relatedPageInfoList','beforeScriptId','fields','parse','string','type','requestBody','length','7284576GdIvNT','logicField','modelId','method','trim','afterScriptId','required','extend','datasetKey','doType','path','title','detail'];a25_0x4a9c=function(){return _0x16d60d;};return a25_0x4a9c();}
@@ -1 +1 @@
1
- function a26_0x30c7(){const _0x12fc93=['14737041sxRWIV','5653572HpZeFx','1016550UrXgxi','2040YYvpFp','1986766NPigRG','3834603vCWsCc','6KcqPTp','5739695PBHvJw','8183BjyZSF'];a26_0x30c7=function(){return _0x12fc93;};return a26_0x30c7();}(function(_0x29a039,_0x2670d3){const _0x220c59=a26_0x7cc8,_0x438d12=_0x29a039();while(!![]){try{const _0x280358=parseInt(_0x220c59(0xd7))/0x1+-parseInt(_0x220c59(0xd9))/0x2+-parseInt(_0x220c59(0xda))/0x3+parseInt(_0x220c59(0xd6))/0x4+-parseInt(_0x220c59(0xd3))/0x5*(parseInt(_0x220c59(0xd2))/0x6)+-parseInt(_0x220c59(0xd4))/0x7*(-parseInt(_0x220c59(0xd8))/0x8)+parseInt(_0x220c59(0xd5))/0x9;if(_0x280358===_0x2670d3)break;else _0x438d12['push'](_0x438d12['shift']());}catch(_0x8ede51){_0x438d12['push'](_0x438d12['shift']());}}}(a26_0x30c7,0xe6f2c));function a26_0x7cc8(_0x144d8a,_0x26adaa){_0x144d8a=_0x144d8a-0xd2;const _0x30c7a=a26_0x30c7();let _0x7cc84e=_0x30c7a[_0x144d8a];return _0x7cc84e;}import{datasetList}from'../../commands/dataset/list.js';import{datasetDetail}from'../../commands/dataset/detail.js';import{datasetSdkDoc}from'../../commands/dataset/sdk-doc.js';export const datasetDefinitions=[datasetList,datasetDetail,datasetSdkDoc];
1
+ (function(_0x47ab60,_0xea1d04){const _0x14291c=a26_0xc5cd,_0x594a62=_0x47ab60();while(!![]){try{const _0x38e560=-parseInt(_0x14291c(0x76))/0x1+-parseInt(_0x14291c(0x74))/0x2+-parseInt(_0x14291c(0x78))/0x3+-parseInt(_0x14291c(0x75))/0x4+-parseInt(_0x14291c(0x7a))/0x5*(parseInt(_0x14291c(0x77))/0x6)+parseInt(_0x14291c(0x7b))/0x7+parseInt(_0x14291c(0x79))/0x8;if(_0x38e560===_0xea1d04)break;else _0x594a62['push'](_0x594a62['shift']());}catch(_0x28ea08){_0x594a62['push'](_0x594a62['shift']());}}}(a26_0x35f2,0x84392));import{datasetList}from'../../commands/dataset/list.js';import{datasetDetail}from'../../commands/dataset/detail.js';import{datasetSdkDoc}from'../../commands/dataset/sdk-doc.js';function a26_0xc5cd(_0x639dc8,_0x4f7e58){_0x639dc8=_0x639dc8-0x74;const _0x35f29a=a26_0x35f2();let _0xc5cd3=_0x35f29a[_0x639dc8];return _0xc5cd3;}export const datasetDefinitions=[datasetList,datasetDetail,datasetSdkDoc];function a26_0x35f2(){const _0x4576a8=['186NbBtpW','474348SuJGRy','21971048eQnaUi','134165yIMSJW','3233748WPzGwk','344810zVjbzA','1956440bBZPcg','1015305hmVQQk'];a26_0x35f2=function(){return _0x4576a8;};return a26_0x35f2();}
@@ -1 +1 @@
1
- const a27_0x236ff2=a27_0x165d;(function(_0xcb15ae,_0x25e294){const _0x543161=a27_0x165d,_0x436c1c=_0xcb15ae();while(!![]){try{const _0x57c86c=-parseInt(_0x543161(0x184))/0x1+parseInt(_0x543161(0x17b))/0x2+-parseInt(_0x543161(0x182))/0x3+-parseInt(_0x543161(0x183))/0x4+-parseInt(_0x543161(0x185))/0x5*(parseInt(_0x543161(0x172))/0x6)+-parseInt(_0x543161(0x177))/0x7*(parseInt(_0x543161(0x188))/0x8)+parseInt(_0x543161(0x180))/0x9*(parseInt(_0x543161(0x173))/0xa);if(_0x57c86c===_0x25e294)break;else _0x436c1c['push'](_0x436c1c['shift']());}catch(_0x40fcf3){_0x436c1c['push'](_0x436c1c['shift']());}}}(a27_0x3c43,0xb030d));function a27_0x165d(_0x32e0c1,_0x29799a){_0x32e0c1=_0x32e0c1-0x172;const _0x3c43ee=a27_0x3c43();let _0x165de=_0x3c43ee[_0x32e0c1];return _0x165de;}import{listDatasets}from'../../core/api-client.js';import{CODE_FLAG}from'../../commands/common/flags.js';function a27_0x3c43(){const _0x427cd9=['dataset','allFields','map','str','9bKxdcd','dbtableConfig','2673348bsSngM','2384000HZkELs','1410258pciaMT','13910oisDBu','name','appCode','1296yMvwWr','1926CUQpqI','43497340jZwAvJ','source','code','length','45479UOqhri','read','string','datasetKey','2429706bEVbty'];a27_0x3c43=function(){return _0x427cd9;};return a27_0x3c43();}export const datasetList={'service':a27_0x236ff2(0x17c),'command':'list','description':'List\x20datasets\x20in\x20the\x20app\x20(supports\x20server-side\x20name/code\x20filtering)','risk':a27_0x236ff2(0x178),'flags':[{'name':a27_0x236ff2(0x186),'type':a27_0x236ff2(0x179),'description':'Filter\x20by\x20dataset\x20name\x20(server-side\x20fuzzy\x20match)'},{...CODE_FLAG,'required':![],'description':'Filter\x20by\x20dataset\x20code\x20(server-side\x20exact\x20match)'}],async 'execute'(_0x2bc841){const _0x338db8=a27_0x236ff2,_0x53653d=_0x2bc841[_0x338db8(0x17f)](_0x338db8(0x186)),_0x138d19=_0x2bc841[_0x338db8(0x17f)]('code'),_0x403dde=await listDatasets(_0x2bc841[_0x338db8(0x187)],{..._0x53653d&&{'name':_0x53653d},..._0x138d19&&{'code':_0x138d19}});return{'ok':!![],'data':{'total':_0x403dde[_0x338db8(0x176)],'datasets':_0x403dde[_0x338db8(0x17e)](_0x16294a=>{const _0x1896ad=_0x338db8,_0x59b81c=_0x16294a[_0x1896ad(0x181)]??{};return{'id':_0x16294a['id'],'code':_0x16294a[_0x1896ad(0x175)],'name':_0x16294a[_0x1896ad(0x186)],'source':_0x16294a[_0x1896ad(0x174)],'description':_0x16294a['description'],'table':_0x59b81c['tableName'],'datasetKey':_0x59b81c[_0x1896ad(0x17a)],'pk':_0x59b81c['pkField'],'fields':_0x59b81c[_0x1896ad(0x17d)]?_0x59b81c[_0x1896ad(0x17d)]['split'](',')['map'](_0x343cf9=>_0x343cf9['trim']()):[]};})}};}};
1
+ const a27_0x4b21b9=a27_0x2398;(function(_0x5853f9,_0x4135e4){const _0x258ada=a27_0x2398,_0x54186a=_0x5853f9();while(!![]){try{const _0x296a0f=-parseInt(_0x258ada(0x15e))/0x1+parseInt(_0x258ada(0x15a))/0x2*(parseInt(_0x258ada(0x152))/0x3)+parseInt(_0x258ada(0x166))/0x4+-parseInt(_0x258ada(0x162))/0x5+-parseInt(_0x258ada(0x15b))/0x6*(parseInt(_0x258ada(0x164))/0x7)+-parseInt(_0x258ada(0x159))/0x8+parseInt(_0x258ada(0x151))/0x9;if(_0x296a0f===_0x4135e4)break;else _0x54186a['push'](_0x54186a['shift']());}catch(_0x232bb7){_0x54186a['push'](_0x54186a['shift']());}}}(a27_0xb1b8,0xd0bd6));function a27_0xb1b8(){const _0x45a9cc=['6430004YMUczs','dataset','Filter\x20by\x20dataset\x20name\x20(server-side\x20fuzzy\x20match)','source','trim','Filter\x20by\x20dataset\x20code\x20(server-side\x20exact\x20match)','29168469cvSnBl','768liEBTd','description','read','map','allFields','string','code','6668784xAjAdb','482JBSiPw','6cJTJIB','split','name','1242566LpPuXC','appCode','tableName','dbtableConfig','1531145ttXmGK','list','11709229FXdrnV','str'];a27_0xb1b8=function(){return _0x45a9cc;};return a27_0xb1b8();}function a27_0x2398(_0xd77b69,_0x39cb66){_0xd77b69=_0xd77b69-0x14e;const _0xb1b8fa=a27_0xb1b8();let _0x239838=_0xb1b8fa[_0xd77b69];return _0x239838;}import{listDatasets}from'../../core/api-client.js';import{CODE_FLAG}from'../../commands/common/flags.js';export const datasetList={'service':a27_0x4b21b9(0x167),'command':a27_0x4b21b9(0x163),'description':'List\x20datasets\x20in\x20the\x20app\x20(supports\x20server-side\x20name/code\x20filtering)','risk':a27_0x4b21b9(0x154),'flags':[{'name':'name','type':a27_0x4b21b9(0x157),'description':a27_0x4b21b9(0x168)},{...CODE_FLAG,'required':![],'description':a27_0x4b21b9(0x150)}],async 'execute'(_0x1d4ca3){const _0x791e39=a27_0x4b21b9,_0x37ceb5=_0x1d4ca3['str']('name'),_0x15ef17=_0x1d4ca3[_0x791e39(0x165)](_0x791e39(0x158)),_0x2193ce=await listDatasets(_0x1d4ca3[_0x791e39(0x15f)],{..._0x37ceb5&&{'name':_0x37ceb5},..._0x15ef17&&{'code':_0x15ef17}});return{'ok':!![],'data':{'total':_0x2193ce['length'],'datasets':_0x2193ce['map'](_0x545653=>{const _0x544ff9=_0x791e39,_0x3e80e4=_0x545653[_0x544ff9(0x161)]??{};return{'id':_0x545653['id'],'code':_0x545653['code'],'name':_0x545653[_0x544ff9(0x15d)],'source':_0x545653[_0x544ff9(0x14e)],'description':_0x545653[_0x544ff9(0x153)],'table':_0x3e80e4[_0x544ff9(0x160)],'datasetKey':_0x3e80e4['datasetKey'],'pk':_0x3e80e4['pkField'],'fields':_0x3e80e4[_0x544ff9(0x156)]?_0x3e80e4['allFields'][_0x544ff9(0x15c)](',')[_0x544ff9(0x155)](_0x57b951=>_0x57b951[_0x544ff9(0x14f)]()):[]};})}};}};
@@ -1 +1 @@
1
- const a28_0x5ad5a3=a28_0x31b9;(function(_0x5201ea,_0x41b9c4){const _0x599abd=a28_0x31b9,_0x17cee8=_0x5201ea();while(!![]){try{const _0x56f301=-parseInt(_0x599abd(0xba))/0x1*(parseInt(_0x599abd(0xb7))/0x2)+-parseInt(_0x599abd(0xa7))/0x3+-parseInt(_0x599abd(0xae))/0x4*(parseInt(_0x599abd(0xa8))/0x5)+parseInt(_0x599abd(0xb5))/0x6*(parseInt(_0x599abd(0xaa))/0x7)+parseInt(_0x599abd(0xb9))/0x8*(parseInt(_0x599abd(0xa9))/0x9)+-parseInt(_0x599abd(0xb2))/0xa*(parseInt(_0x599abd(0xb4))/0xb)+-parseInt(_0x599abd(0xb3))/0xc*(-parseInt(_0x599abd(0xab))/0xd);if(_0x56f301===_0x41b9c4)break;else _0x17cee8['push'](_0x17cee8['shift']());}catch(_0x29e6e9){_0x17cee8['push'](_0x17cee8['shift']());}}}(a28_0x3d44,0x54a1b));import{getDatasetSdkUsageDoc}from'../../core/api-client.js';import{CODE_FLAG}from'../../commands/common/flags.js';const DEFAULT_MARKDOWN='#\x20Dataset\x20SDK\x20Usage\x20Documentation\x0a\x0a暂无\x20SDK\x20使用文档';export function formatDatasetSdkMarkdown(_0x55d89e){const _0x1a8f9d=a28_0x31b9,_0x347e40=typeof _0x55d89e===_0x1a8f9d(0xa6)?_0x55d89e[_0x1a8f9d(0xb8)]():'';return _0x347e40||DEFAULT_MARKDOWN;}function a28_0x31b9(_0xdb631b,_0x274872){_0xdb631b=_0xdb631b-0xa6;const _0x3d44d5=a28_0x3d44();let _0x31b9bb=_0x3d44d5[_0xdb631b];return _0x31b9bb;}export const datasetSdkDoc={'service':a28_0x5ad5a3(0xb6),'command':a28_0x5ad5a3(0xb1),'description':'Get\x20SDK\x20usage\x20markdown\x20for\x20a\x20dataset\x20code','risk':a28_0x5ad5a3(0xad),'flags':[{...CODE_FLAG,'description':a28_0x5ad5a3(0xaf)}],async 'execute'(_0x148c0b){const _0x2677a9=a28_0x5ad5a3,_0x37a353=_0x148c0b['str'](_0x2677a9(0xb0)),_0x4bff68=await getDatasetSdkUsageDoc(_0x37a353,_0x148c0b[_0x2677a9(0xac)]);return{'ok':!![],'data':{'code':_0x37a353,'appCode':_0x148c0b['appCode'],'markdown':formatDatasetSdkMarkdown(_0x4bff68)}};}};function a28_0x3d44(){const _0x16cc4a=['read','691784oENHlS','Dataset\x20code\x20(32\x20characters).\x20Numeric\x20dataset\x20IDs\x20are\x20not\x20accepted.','code','sdk-doc','620mzPtsd','12pGAtFI','17743vcDylD','111702ESPwFq','dataset','2qlsire','trim','16qsdQYO','549112MHTSfu','string','232011LjpLHn','10NiwXgq','2851623pZQUws','7rMJfGv','9966931dlYysr','appCode'];a28_0x3d44=function(){return _0x16cc4a;};return a28_0x3d44();}
1
+ const a28_0x41008b=a28_0x1963;(function(_0x10218a,_0x23a0de){const _0x330fbc=a28_0x1963,_0x6d16dc=_0x10218a();while(!![]){try{const _0x4b491a=parseInt(_0x330fbc(0xbd))/0x1*(-parseInt(_0x330fbc(0xc9))/0x2)+-parseInt(_0x330fbc(0xc6))/0x3+parseInt(_0x330fbc(0xcc))/0x4+parseInt(_0x330fbc(0xbb))/0x5*(parseInt(_0x330fbc(0xc3))/0x6)+parseInt(_0x330fbc(0xc2))/0x7*(parseInt(_0x330fbc(0xc4))/0x8)+-parseInt(_0x330fbc(0xc1))/0x9+-parseInt(_0x330fbc(0xbc))/0xa*(-parseInt(_0x330fbc(0xcb))/0xb);if(_0x4b491a===_0x23a0de)break;else _0x6d16dc['push'](_0x6d16dc['shift']());}catch(_0x39e56f){_0x6d16dc['push'](_0x6d16dc['shift']());}}}(a28_0x43f2,0x9ffe3));function a28_0x1963(_0x2a30f8,_0x2406e4){_0x2a30f8=_0x2a30f8-0xbb;const _0x43f2d9=a28_0x43f2();let _0x196350=_0x43f2d9[_0x2a30f8];return _0x196350;}function a28_0x43f2(){const _0x1b4e7c=['4hwYMlT','trim','11198Hidktc','1095784kMnuti','835FBqguT','10430NEnAdP','292821CXgQnr','string','appCode','#\x20Dataset\x20SDK\x20Usage\x20Documentation\x0a\x0a暂无\x20SDK\x20使用文档','1045692ynQnBV','7HLjaOR','10194VMdqXv','7841240bntznG','Dataset\x20code\x20(32\x20characters).\x20Numeric\x20dataset\x20IDs\x20are\x20not\x20accepted.','3727341OrtxDt','code','Get\x20SDK\x20usage\x20markdown\x20for\x20a\x20dataset\x20code'];a28_0x43f2=function(){return _0x1b4e7c;};return a28_0x43f2();}import{getDatasetSdkUsageDoc}from'../../core/api-client.js';import{CODE_FLAG}from'../../commands/common/flags.js';const DEFAULT_MARKDOWN=a28_0x41008b(0xc0);export function formatDatasetSdkMarkdown(_0x2b5fc0){const _0x3db0d5=a28_0x41008b,_0x104248=typeof _0x2b5fc0===_0x3db0d5(0xbe)?_0x2b5fc0[_0x3db0d5(0xca)]():'';return _0x104248||DEFAULT_MARKDOWN;}export const datasetSdkDoc={'service':'dataset','command':'sdk-doc','description':a28_0x41008b(0xc8),'risk':'read','flags':[{...CODE_FLAG,'description':a28_0x41008b(0xc5)}],async 'execute'(_0x354ffd){const _0x52f6a6=a28_0x41008b,_0x482694=_0x354ffd['str'](_0x52f6a6(0xc7)),_0x417555=await getDatasetSdkUsageDoc(_0x482694,_0x354ffd[_0x52f6a6(0xbf)]);return{'ok':!![],'data':{'code':_0x482694,'appCode':_0x354ffd['appCode'],'markdown':formatDatasetSdkMarkdown(_0x417555)}};}};
@@ -1 +1 @@
1
- function a29_0x3128(_0x469ed8,_0x11aef5){_0x469ed8=_0x469ed8-0x12a;const _0x349222=a29_0x3492();let _0x31288a=_0x349222[_0x469ed8];return _0x31288a;}const a29_0x319dea=a29_0x3128;(function(_0x52da8f,_0x8eadd2){const _0xc82967=a29_0x3128,_0x3a6b3b=_0x52da8f();while(!![]){try{const _0x5880e5=parseInt(_0xc82967(0x144))/0x1*(parseInt(_0xc82967(0x166))/0x2)+-parseInt(_0xc82967(0x14c))/0x3*(parseInt(_0xc82967(0x148))/0x4)+-parseInt(_0xc82967(0x164))/0x5+parseInt(_0xc82967(0x172))/0x6+parseInt(_0xc82967(0x173))/0x7*(-parseInt(_0xc82967(0x15f))/0x8)+parseInt(_0xc82967(0x168))/0x9+parseInt(_0xc82967(0x16a))/0xa;if(_0x5880e5===_0x8eadd2)break;else _0x3a6b3b['push'](_0x3a6b3b['shift']());}catch(_0xc0aa12){_0x3a6b3b['push'](_0x3a6b3b['shift']());}}}(a29_0x3492,0x9a2c7));import a29_0x47d0ac from'chalk';import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{getCliVersion}from'../utils/version.js';import{getApiDomain,getRuntimeDomain,getUserDomain}from'../constant/domain.js';import{buildConfigFromFlags,initGlobalEnvironment,getProjectConfigPath,getGlobalConfigPath,inspectCliConfigJsonFile}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';function a29_0x3492(){const _0x41ff88=['\x20\x20auth\x20(effective):\x20','defaultApp','\x20\x20─','(unnamed)','2792400ayFjTl','padEnd','2bObodz','(no\x20file)','6098166igWPmQ','platform','7467350LoZeQX','\x20\x20accessKey:\x20\x20\x20\x20\x20\x20\x20','\x20\x20pageSize:\x20\x20\x20\x20\x20\x20\x20\x20','(set,\x20length=','commandCount','\x20\x20Global:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20env:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','empty','6003504CSTBJP','1496341WyiNpd','riskLevel','\x20\x20runtimeDomain:\x20\x20\x20','\x20\x20appCode:\x20\x20\x20\x20\x20\x20\x20\x20\x20','repeat','read','\x20\x20locale:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','format','\x20\x20Mode:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20Auth','path','locale','log','(removed\x20—\x20cookie\x20auth\x20disabled)','(none)','(not\x20found)','serviceCode','\x20\x20Commands:\x20\x20\x20\x20\x20\x20\x20\x20','\x20doctor','\x20commands)','\x20\x20format:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','✓\x20Valid\x20JSON','(default:\x20','\x20\x20Service\x20Tree','\x20(accessKey)','(missing)','services','currentApp','yellow','pageSize','\x20\x20Merged\x20Config','doctor','version','gray','ClientAk','\x20\x20Registry:\x20\x20\x20\x20\x20\x20\x20\x20','env','⚠\x20Empty','\x20\x20riskLevel:\x20\x20\x20\x20\x20\x20\x20','\x20\x20userDomain:\x20\x20\x20\x20\x20\x20','214421hGyvSd','\x20(legacy/compat\x20only)','\x20\x20Status:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','⚠\x20Empty\x20(treated\x20as\x20{})','32PlmTfz','source','\x20\x20Config\x20Files','(not\x20set)','463341yOXgOL','\x20Imported\x20from:\x20','✗\x20Invalid','\x20\x20Services:\x20\x20\x20\x20\x20\x20\x20\x20','accessKey','length','green','status','(default)','red','✗\x20Invalid\x20JSON','message','Global','\x20\x20Node:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20currentApp:\x20\x20\x20\x20\x20\x20','missing','Diagnose\x20CLI\x20configuration\x20and\x20environment','\x20\x20Project:\x20\x20\x20\x20\x20\x20\x20\x20\x20','bold','8vKZSJD'];a29_0x3492=function(){return _0x41ff88;};return a29_0x3492();}import{isLegacyCompatConfigKey}from'../config/schema.js';import{inspectServiceRegistry}from'../commands/service/registry.js';async function execute(_0x2daa24){const _0x5b4e20=a29_0x3128,_0x2f2fcb=getCliVersion(),_0x357307=buildConfigFromFlags({});await initGlobalEnvironment(_0x357307),console[_0x5b4e20(0x17f)](),console['log'](a29_0x47d0ac['bold'](CLI_BIN_NAME+_0x5b4e20(0x12e))),console[_0x5b4e20(0x17f)](a29_0x47d0ac[_0x5b4e20(0x13d)]('─'[_0x5b4e20(0x177)](0x32))),console[_0x5b4e20(0x17f)]('\x20\x20CLI\x20Version:\x20\x20\x20\x20\x20'+_0x2f2fcb),console[_0x5b4e20(0x17f)](_0x5b4e20(0x159)+process[_0x5b4e20(0x13c)]),console[_0x5b4e20(0x17f)]('\x20\x20Platform:\x20\x20\x20\x20\x20\x20\x20\x20'+process[_0x5b4e20(0x169)]+'\x20'+process['arch']),console[_0x5b4e20(0x17f)](),console[_0x5b4e20(0x17f)](a29_0x47d0ac['bold'](_0x5b4e20(0x14a))),console[_0x5b4e20(0x17f)](a29_0x47d0ac[_0x5b4e20(0x13d)](_0x5b4e20(0x162)['repeat'](0x1e)));const _0xd2d6b1=getGlobalConfigPath(),_0x2b0d53=getProjectConfigPath();console[_0x5b4e20(0x17f)](_0x5b4e20(0x16f)+(_0xd2d6b1||a29_0x47d0ac[_0x5b4e20(0x13d)]('(not\x20found)'))),console[_0x5b4e20(0x17f)](_0x5b4e20(0x15d)+(_0x2b0d53||a29_0x47d0ac[_0x5b4e20(0x13d)]('(not\x20found)'))),console[_0x5b4e20(0x17f)](),console[_0x5b4e20(0x17f)](a29_0x47d0ac[_0x5b4e20(0x15e)]('\x20\x20Config\x20JSON')),console[_0x5b4e20(0x17f)](a29_0x47d0ac[_0x5b4e20(0x13d)](_0x5b4e20(0x162)['repeat'](0x1e)));const _0x2ff28b=(_0x52398f,_0x33ca5b)=>{const _0x25e5d6=_0x5b4e20;if(!_0x33ca5b){console['log']('\x20\x20'+_0x52398f[_0x25e5d6(0x165)](0x11)+'\x20'+a29_0x47d0ac[_0x25e5d6(0x13d)](_0x25e5d6(0x167)));return;}const _0x5d45c1=inspectCliConfigJsonFile(_0x33ca5b);if(_0x5d45c1[_0x25e5d6(0x153)]==='ok')console[_0x25e5d6(0x17f)]('\x20\x20'+_0x52398f[_0x25e5d6(0x165)](0x11)+'\x20'+a29_0x47d0ac[_0x25e5d6(0x152)](_0x25e5d6(0x131)));else{if(_0x5d45c1[_0x25e5d6(0x153)]===_0x25e5d6(0x171))console['log']('\x20\x20'+_0x52398f[_0x25e5d6(0x165)](0x11)+'\x20'+a29_0x47d0ac['yellow'](_0x25e5d6(0x147)));else _0x5d45c1[_0x25e5d6(0x153)]==='missing'?console[_0x25e5d6(0x17f)]('\x20\x20'+_0x52398f['padEnd'](0x11)+'\x20'+a29_0x47d0ac['gray'](_0x25e5d6(0x135))):(console[_0x25e5d6(0x17f)]('\x20\x20'+_0x52398f['padEnd'](0x11)+'\x20'+a29_0x47d0ac[_0x25e5d6(0x155)](_0x25e5d6(0x156))),console[_0x25e5d6(0x17f)]('\x20\x20'+''[_0x25e5d6(0x165)](0x11)+'\x20'+a29_0x47d0ac[_0x25e5d6(0x155)](_0x5d45c1[_0x25e5d6(0x157)])));}};_0x2ff28b(_0x5b4e20(0x158),_0xd2d6b1),_0x2ff28b('Project',_0x2b0d53),console['log'](),console[_0x5b4e20(0x17f)](a29_0x47d0ac[_0x5b4e20(0x15e)](_0x5b4e20(0x13a))),console[_0x5b4e20(0x17f)](a29_0x47d0ac[_0x5b4e20(0x13d)](_0x5b4e20(0x162)[_0x5b4e20(0x177)](0x1e))),console[_0x5b4e20(0x17f)](_0x5b4e20(0x176)+(_0x357307['appCode']||a29_0x47d0ac[_0x5b4e20(0x155)](_0x5b4e20(0x14b)))),console[_0x5b4e20(0x17f)](_0x5b4e20(0x170)+_0x357307[_0x5b4e20(0x140)]);const _0x2a278a=isLegacyCompatConfigKey('locale')?a29_0x47d0ac['gray'](_0x357307[_0x5b4e20(0x17e)]+_0x5b4e20(0x145)):_0x357307[_0x5b4e20(0x17e)];console[_0x5b4e20(0x17f)](_0x5b4e20(0x179)+_0x2a278a),console[_0x5b4e20(0x17f)]('\x20\x20defaultApp:\x20\x20\x20\x20\x20\x20'+(_0x357307[_0x5b4e20(0x161)]||a29_0x47d0ac['gray'](_0x5b4e20(0x12a)))),console['log'](_0x5b4e20(0x15a)+(_0x357307[_0x5b4e20(0x137)]||a29_0x47d0ac[_0x5b4e20(0x13d)]('(none)'))),console[_0x5b4e20(0x17f)](_0x5b4e20(0x130)+(_0x357307[_0x5b4e20(0x17a)]||a29_0x47d0ac[_0x5b4e20(0x13d)](_0x5b4e20(0x132)+DEFAULT_CONFIG_VALUES['format']+')'))),console[_0x5b4e20(0x17f)](_0x5b4e20(0x16c)+(_0x357307[_0x5b4e20(0x139)]??a29_0x47d0ac['gray'](_0x5b4e20(0x154)))),console['log'](_0x5b4e20(0x142)+_0x357307[_0x5b4e20(0x174)]),console[_0x5b4e20(0x17f)]('\x20\x20verbose:\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x357307['verbose']),console[_0x5b4e20(0x17f)](_0x5b4e20(0x160)+AUTH_MODE[_0x5b4e20(0x13e)]),console[_0x5b4e20(0x17f)](_0x5b4e20(0x16b)+(_0x357307['accessKey']?a29_0x47d0ac[_0x5b4e20(0x152)](_0x5b4e20(0x16d)+_0x357307[_0x5b4e20(0x150)][_0x5b4e20(0x151)]+')'):a29_0x47d0ac[_0x5b4e20(0x13d)](_0x5b4e20(0x12a)))),console[_0x5b4e20(0x17f)](),console[_0x5b4e20(0x17f)](a29_0x47d0ac[_0x5b4e20(0x15e)]('\x20\x20API\x20Endpoints')),console['log'](a29_0x47d0ac[_0x5b4e20(0x13d)](_0x5b4e20(0x162)[_0x5b4e20(0x177)](0x1e))),console[_0x5b4e20(0x17f)]('\x20\x20apiDomain:\x20\x20\x20\x20\x20\x20\x20'+getApiDomain()),console[_0x5b4e20(0x17f)](_0x5b4e20(0x143)+getUserDomain()),console[_0x5b4e20(0x17f)](_0x5b4e20(0x175)+getRuntimeDomain()),console[_0x5b4e20(0x17f)](),console[_0x5b4e20(0x17f)](a29_0x47d0ac[_0x5b4e20(0x15e)](_0x5b4e20(0x133))),console['log'](a29_0x47d0ac[_0x5b4e20(0x13d)](_0x5b4e20(0x162)[_0x5b4e20(0x177)](0x1e)));const _0x51826b=inspectServiceRegistry();console['log'](_0x5b4e20(0x13f)+_0x51826b['registryPath']),console[_0x5b4e20(0x17f)](_0x5b4e20(0x146)+formatServiceRegistryStatus(_0x51826b)),console['log'](_0x5b4e20(0x14f)+_0x51826b['serviceCount']),console['log'](_0x5b4e20(0x12d)+_0x51826b['commandCount']);for(const _0x321701 of _0x51826b[_0x5b4e20(0x136)]){console['log']('\x20\x20'+(_0x321701[_0x5b4e20(0x12c)]+':')[_0x5b4e20(0x165)](0x11)+'\x20'+(_0x321701['name']||a29_0x47d0ac[_0x5b4e20(0x13d)](_0x5b4e20(0x163)))+'\x20('+_0x321701[_0x5b4e20(0x16e)]+_0x5b4e20(0x12f)),console[_0x5b4e20(0x17f)]('\x20\x20'+''[_0x5b4e20(0x165)](0x11)+_0x5b4e20(0x14d)+_0x321701[_0x5b4e20(0x149)][_0x5b4e20(0x17d)]);}return console[_0x5b4e20(0x17f)](),console['log'](a29_0x47d0ac[_0x5b4e20(0x15e)](_0x5b4e20(0x17c))),console[_0x5b4e20(0x17f)](a29_0x47d0ac[_0x5b4e20(0x13d)](_0x5b4e20(0x162)[_0x5b4e20(0x177)](0x1e))),console[_0x5b4e20(0x17f)](_0x5b4e20(0x17b)+a29_0x47d0ac[_0x5b4e20(0x152)](AUTH_MODE['ClientAk']+_0x5b4e20(0x134))),console[_0x5b4e20(0x17f)]('\x20\x20Session\x20check:\x20\x20\x20'+a29_0x47d0ac['gray'](_0x5b4e20(0x180))),console[_0x5b4e20(0x17f)](),{'ok':!![]};}function formatServiceRegistryStatus(_0x3efd0b){const _0x4fe81a=a29_0x3128;if(_0x3efd0b[_0x4fe81a(0x153)]==='ok')return a29_0x47d0ac['green']('✓\x20Loaded');if(_0x3efd0b[_0x4fe81a(0x153)]===_0x4fe81a(0x15b))return a29_0x47d0ac[_0x4fe81a(0x13d)](_0x4fe81a(0x12b));if(_0x3efd0b['status']===_0x4fe81a(0x171))return a29_0x47d0ac[_0x4fe81a(0x138)](_0x4fe81a(0x141));return a29_0x47d0ac['red'](_0x4fe81a(0x14e)+(_0x3efd0b['message']?':\x20'+_0x3efd0b['message']:''));}export const doctorDefinition={'service':a29_0x319dea(0x13b),'command':'check','description':a29_0x319dea(0x15c),'risk':a29_0x319dea(0x178),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],'execute':execute};
1
+ function a29_0x5317(){const _0x389219=['appCode','\x20\x20Status:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','serviceCode','arch','repeat','Global','\x20\x20Platform:\x20\x20\x20\x20\x20\x20\x20\x20','8671JQCikU','1299340gnJgrp','✗\x20Invalid\x20JSON','⚠\x20Empty\x20(treated\x20as\x20{})','(set,\x20length=','status','\x20\x20Services:\x20\x20\x20\x20\x20\x20\x20\x20','\x20Imported\x20from:\x20','\x20\x20runtimeDomain:\x20\x20\x20','padEnd','\x20commands)','path','(removed\x20—\x20cookie\x20auth\x20disabled)','2809940GBYAFc','source','\x20\x20userDomain:\x20\x20\x20\x20\x20\x20','locale','platform','38tawPEo','\x20\x20Config\x20JSON','serviceCount','Project','Diagnose\x20CLI\x20configuration\x20and\x20environment','\x20\x20appCode:\x20\x20\x20\x20\x20\x20\x20\x20\x20','verbose','read','missing','doctor','yellow','\x20\x20format:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20Config\x20Files','accessKey','\x20\x20Commands:\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20currentApp:\x20\x20\x20\x20\x20\x20','(missing)','\x20doctor','⚠\x20Empty','log','commandCount','(unnamed)','471840cLvEwo','\x20\x20API\x20Endpoints','version','red','name','1025619GYaSfJ','\x20\x20Global:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','registryPath','riskLevel','\x20(legacy/compat\x20only)','check','\x20\x20─','\x20\x20apiDomain:\x20\x20\x20\x20\x20\x20\x20','(none)','\x20\x20Session\x20check:\x20\x20\x20','format','(not\x20found)','\x20\x20accessKey:\x20\x20\x20\x20\x20\x20\x20','10395224eBQxvc','2101444TSVpsi','\x20\x20verbose:\x20\x20\x20\x20\x20\x20\x20\x20\x20','green','\x20\x20Auth','\x20\x20env:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','message','\x20\x20CLI\x20Version:\x20\x20\x20\x20\x20','\x20\x20auth\x20(effective):\x20','\x20\x20Project:\x20\x20\x20\x20\x20\x20\x20\x20\x20','bold','\x20\x20Merged\x20Config','(default)','(default:\x20','gray','✓\x20Valid\x20JSON','empty','defaultApp','services','\x20\x20riskLevel:\x20\x20\x20\x20\x20\x20\x20','\x20\x20Registry:\x20\x20\x20\x20\x20\x20\x20\x20'];a29_0x5317=function(){return _0x389219;};return a29_0x5317();}function a29_0x1d0f(_0x53f84f,_0x3e58fd){_0x53f84f=_0x53f84f-0x16e;const _0x531706=a29_0x5317();let _0x1d0f35=_0x531706[_0x53f84f];return _0x1d0f35;}const a29_0x24bf91=a29_0x1d0f;(function(_0x25ed18,_0x263ed5){const _0x497b2d=a29_0x1d0f,_0x2b183f=_0x25ed18();while(!![]){try{const _0x28cb7d=-parseInt(_0x497b2d(0x1a7))/0x1*(-parseInt(_0x497b2d(0x1b9))/0x2)+parseInt(_0x497b2d(0x17e))/0x3+parseInt(_0x497b2d(0x18c))/0x4+parseInt(_0x497b2d(0x1a8))/0x5+-parseInt(_0x497b2d(0x179))/0x6+parseInt(_0x497b2d(0x1b4))/0x7+-parseInt(_0x497b2d(0x18b))/0x8;if(_0x28cb7d===_0x263ed5)break;else _0x2b183f['push'](_0x2b183f['shift']());}catch(_0x27daee){_0x2b183f['push'](_0x2b183f['shift']());}}}(a29_0x5317,0x4cf5c));import a29_0x305f66 from'chalk';import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{getCliVersion}from'../utils/version.js';import{getApiDomain,getRuntimeDomain,getUserDomain}from'../constant/domain.js';import{buildConfigFromFlags,initGlobalEnvironment,getProjectConfigPath,getGlobalConfigPath,inspectCliConfigJsonFile}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';import{isLegacyCompatConfigKey}from'../config/schema.js';import{inspectServiceRegistry}from'../commands/service/registry.js';async function execute(_0x19a866){const _0x2d1bdb=a29_0x1d0f,_0x21936a=getCliVersion(),_0x9aefd3=buildConfigFromFlags({});await initGlobalEnvironment(_0x9aefd3),console[_0x2d1bdb(0x176)](),console[_0x2d1bdb(0x176)](a29_0x305f66['bold'](CLI_BIN_NAME+_0x2d1bdb(0x174))),console[_0x2d1bdb(0x176)](a29_0x305f66['gray']('─'['repeat'](0x32))),console[_0x2d1bdb(0x176)](_0x2d1bdb(0x192)+_0x21936a),console['log']('\x20\x20Node:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+process[_0x2d1bdb(0x17b)]),console[_0x2d1bdb(0x176)](_0x2d1bdb(0x1a6)+process[_0x2d1bdb(0x1b8)]+'\x20'+process[_0x2d1bdb(0x1a3)]),console[_0x2d1bdb(0x176)](),console[_0x2d1bdb(0x176)](a29_0x305f66[_0x2d1bdb(0x195)](_0x2d1bdb(0x16f))),console['log'](a29_0x305f66[_0x2d1bdb(0x199)](_0x2d1bdb(0x184)['repeat'](0x1e)));const _0x181ae9=getGlobalConfigPath(),_0x9a8424=getProjectConfigPath();console[_0x2d1bdb(0x176)](_0x2d1bdb(0x17f)+(_0x181ae9||a29_0x305f66[_0x2d1bdb(0x199)]('(not\x20found)'))),console['log'](_0x2d1bdb(0x194)+(_0x9a8424||a29_0x305f66[_0x2d1bdb(0x199)](_0x2d1bdb(0x189)))),console[_0x2d1bdb(0x176)](),console[_0x2d1bdb(0x176)](a29_0x305f66[_0x2d1bdb(0x195)](_0x2d1bdb(0x1ba))),console[_0x2d1bdb(0x176)](a29_0x305f66[_0x2d1bdb(0x199)](_0x2d1bdb(0x184)[_0x2d1bdb(0x1a4)](0x1e)));const _0x4a84f9=(_0x2db8fd,_0x429dd7)=>{const _0x46076a=_0x2d1bdb;if(!_0x429dd7){console['log']('\x20\x20'+_0x2db8fd['padEnd'](0x11)+'\x20'+a29_0x305f66[_0x46076a(0x199)]('(no\x20file)'));return;}const _0x21fe3a=inspectCliConfigJsonFile(_0x429dd7);if(_0x21fe3a[_0x46076a(0x1ac)]==='ok')console[_0x46076a(0x176)]('\x20\x20'+_0x2db8fd[_0x46076a(0x1b0)](0x11)+'\x20'+a29_0x305f66['green'](_0x46076a(0x19a)));else{if(_0x21fe3a[_0x46076a(0x1ac)]===_0x46076a(0x19b))console[_0x46076a(0x176)]('\x20\x20'+_0x2db8fd[_0x46076a(0x1b0)](0x11)+'\x20'+a29_0x305f66['yellow'](_0x46076a(0x1aa)));else _0x21fe3a['status']===_0x46076a(0x1c1)?console[_0x46076a(0x176)]('\x20\x20'+_0x2db8fd[_0x46076a(0x1b0)](0x11)+'\x20'+a29_0x305f66[_0x46076a(0x199)](_0x46076a(0x173))):(console['log']('\x20\x20'+_0x2db8fd[_0x46076a(0x1b0)](0x11)+'\x20'+a29_0x305f66[_0x46076a(0x17c)](_0x46076a(0x1a9))),console[_0x46076a(0x176)]('\x20\x20'+''[_0x46076a(0x1b0)](0x11)+'\x20'+a29_0x305f66[_0x46076a(0x17c)](_0x21fe3a[_0x46076a(0x191)])));}};_0x4a84f9(_0x2d1bdb(0x1a5),_0x181ae9),_0x4a84f9(_0x2d1bdb(0x1bc),_0x9a8424),console[_0x2d1bdb(0x176)](),console[_0x2d1bdb(0x176)](a29_0x305f66['bold'](_0x2d1bdb(0x196))),console[_0x2d1bdb(0x176)](a29_0x305f66[_0x2d1bdb(0x199)]('\x20\x20─'[_0x2d1bdb(0x1a4)](0x1e))),console[_0x2d1bdb(0x176)](_0x2d1bdb(0x1be)+(_0x9aefd3[_0x2d1bdb(0x1a0)]||a29_0x305f66[_0x2d1bdb(0x17c)]('(not\x20set)'))),console[_0x2d1bdb(0x176)](_0x2d1bdb(0x190)+_0x9aefd3['env']);const _0x1614bd=isLegacyCompatConfigKey(_0x2d1bdb(0x1b7))?a29_0x305f66[_0x2d1bdb(0x199)](_0x9aefd3['locale']+_0x2d1bdb(0x182)):_0x9aefd3['locale'];console[_0x2d1bdb(0x176)]('\x20\x20locale:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x1614bd),console[_0x2d1bdb(0x176)]('\x20\x20defaultApp:\x20\x20\x20\x20\x20\x20'+(_0x9aefd3[_0x2d1bdb(0x19c)]||a29_0x305f66[_0x2d1bdb(0x199)](_0x2d1bdb(0x186)))),console[_0x2d1bdb(0x176)](_0x2d1bdb(0x172)+(_0x9aefd3['currentApp']||a29_0x305f66['gray'](_0x2d1bdb(0x186)))),console[_0x2d1bdb(0x176)](_0x2d1bdb(0x16e)+(_0x9aefd3[_0x2d1bdb(0x188)]||a29_0x305f66[_0x2d1bdb(0x199)](_0x2d1bdb(0x198)+DEFAULT_CONFIG_VALUES[_0x2d1bdb(0x188)]+')'))),console[_0x2d1bdb(0x176)]('\x20\x20pageSize:\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x9aefd3['pageSize']??a29_0x305f66[_0x2d1bdb(0x199)](_0x2d1bdb(0x197)))),console[_0x2d1bdb(0x176)](_0x2d1bdb(0x19e)+_0x9aefd3[_0x2d1bdb(0x181)]),console[_0x2d1bdb(0x176)](_0x2d1bdb(0x18d)+_0x9aefd3[_0x2d1bdb(0x1bf)]),console[_0x2d1bdb(0x176)](_0x2d1bdb(0x193)+AUTH_MODE['ClientAk']),console['log'](_0x2d1bdb(0x18a)+(_0x9aefd3[_0x2d1bdb(0x170)]?a29_0x305f66[_0x2d1bdb(0x18e)](_0x2d1bdb(0x1ab)+_0x9aefd3[_0x2d1bdb(0x170)]['length']+')'):a29_0x305f66[_0x2d1bdb(0x199)]('(none)'))),console['log'](),console[_0x2d1bdb(0x176)](a29_0x305f66[_0x2d1bdb(0x195)](_0x2d1bdb(0x17a))),console[_0x2d1bdb(0x176)](a29_0x305f66[_0x2d1bdb(0x199)](_0x2d1bdb(0x184)[_0x2d1bdb(0x1a4)](0x1e))),console['log'](_0x2d1bdb(0x185)+getApiDomain()),console['log'](_0x2d1bdb(0x1b6)+getUserDomain()),console[_0x2d1bdb(0x176)](_0x2d1bdb(0x1af)+getRuntimeDomain()),console[_0x2d1bdb(0x176)](),console['log'](a29_0x305f66['bold']('\x20\x20Service\x20Tree')),console['log'](a29_0x305f66['gray'](_0x2d1bdb(0x184)['repeat'](0x1e)));const _0x34ebde=inspectServiceRegistry();console[_0x2d1bdb(0x176)](_0x2d1bdb(0x19f)+_0x34ebde[_0x2d1bdb(0x180)]),console[_0x2d1bdb(0x176)](_0x2d1bdb(0x1a1)+formatServiceRegistryStatus(_0x34ebde)),console[_0x2d1bdb(0x176)](_0x2d1bdb(0x1ad)+_0x34ebde[_0x2d1bdb(0x1bb)]),console['log'](_0x2d1bdb(0x171)+_0x34ebde[_0x2d1bdb(0x177)]);for(const _0x3fbd3f of _0x34ebde[_0x2d1bdb(0x19d)]){console[_0x2d1bdb(0x176)]('\x20\x20'+(_0x3fbd3f[_0x2d1bdb(0x1a2)]+':')[_0x2d1bdb(0x1b0)](0x11)+'\x20'+(_0x3fbd3f[_0x2d1bdb(0x17d)]||a29_0x305f66[_0x2d1bdb(0x199)](_0x2d1bdb(0x178)))+'\x20('+_0x3fbd3f[_0x2d1bdb(0x177)]+_0x2d1bdb(0x1b1)),console[_0x2d1bdb(0x176)]('\x20\x20'+''['padEnd'](0x11)+_0x2d1bdb(0x1ae)+_0x3fbd3f[_0x2d1bdb(0x1b5)][_0x2d1bdb(0x1b2)]);}return console['log'](),console[_0x2d1bdb(0x176)](a29_0x305f66[_0x2d1bdb(0x195)](_0x2d1bdb(0x18f))),console[_0x2d1bdb(0x176)](a29_0x305f66[_0x2d1bdb(0x199)]('\x20\x20─'[_0x2d1bdb(0x1a4)](0x1e))),console['log']('\x20\x20Mode:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+a29_0x305f66[_0x2d1bdb(0x18e)](AUTH_MODE['ClientAk']+'\x20(accessKey)')),console['log'](_0x2d1bdb(0x187)+a29_0x305f66['gray'](_0x2d1bdb(0x1b3))),console['log'](),{'ok':!![]};}function formatServiceRegistryStatus(_0x5c03e7){const _0x154219=a29_0x1d0f;if(_0x5c03e7[_0x154219(0x1ac)]==='ok')return a29_0x305f66[_0x154219(0x18e)]('✓\x20Loaded');if(_0x5c03e7[_0x154219(0x1ac)]===_0x154219(0x1c1))return a29_0x305f66[_0x154219(0x199)]('(not\x20found)');if(_0x5c03e7['status']==='empty')return a29_0x305f66[_0x154219(0x1c3)](_0x154219(0x175));return a29_0x305f66['red']('✗\x20Invalid'+(_0x5c03e7[_0x154219(0x191)]?':\x20'+_0x5c03e7[_0x154219(0x191)]:''));}export const doctorDefinition={'service':a29_0x24bf91(0x1c2),'command':a29_0x24bf91(0x183),'description':a29_0x24bf91(0x1bd),'risk':a29_0x24bf91(0x1c0),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],'execute':execute};