@lovrabet/rabetbase-cli 2.0.12 → 2.1.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/README.md +2 -2
  2. package/lib/api/api-doc.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/auth/auth-server-ui.js +1 -1
  6. package/lib/auth/auth-server.js +1 -1
  7. package/lib/auth/constant.js +1 -1
  8. package/lib/auth/get-cookie.js +1 -1
  9. package/lib/auth/get-session-user.js +1 -1
  10. package/lib/auth/is-session-valid.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/doc.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/add.js +1 -1
  20. package/lib/commands/app/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/remote.js +1 -1
  23. package/lib/commands/app/remove.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app/use.js +1 -1
  26. package/lib/commands/auth/index.js +1 -1
  27. package/lib/commands/bff/delete.js +1 -1
  28. package/lib/commands/bff/detail.js +1 -1
  29. package/lib/commands/bff/index.js +1 -1
  30. package/lib/commands/bff/list.js +1 -1
  31. package/lib/commands/bff/new.js +1 -1
  32. package/lib/commands/bff/pull.js +1 -1
  33. package/lib/commands/bff/push.js +1 -1
  34. package/lib/commands/bff/status.js +1 -1
  35. package/lib/commands/cli-update.js +1 -1
  36. package/lib/commands/codegen/index.js +1 -1
  37. package/lib/commands/codegen/sdk.js +1 -1
  38. package/lib/commands/codegen/sql.js +1 -1
  39. package/lib/commands/common/app-selector.js +1 -1
  40. package/lib/commands/common/flags.js +1 -1
  41. package/lib/commands/common/validate.js +1 -1
  42. package/lib/commands/config/get.js +1 -1
  43. package/lib/commands/config/index.js +1 -1
  44. package/lib/commands/config/list.js +1 -1
  45. package/lib/commands/config/set.js +1 -1
  46. package/lib/commands/config/shared.js +1 -1
  47. package/lib/commands/dataset/detail.js +1 -1
  48. package/lib/commands/dataset/index.js +1 -1
  49. package/lib/commands/dataset/links.js +1 -1
  50. package/lib/commands/dataset/list.js +1 -1
  51. package/lib/commands/dataset/operations.js +1 -1
  52. package/lib/commands/db/analyze-cancel.js +1 -0
  53. package/lib/commands/db/analyze-start.js +1 -0
  54. package/lib/commands/db/analyze-status.js +1 -0
  55. package/lib/commands/db/create.js +1 -0
  56. package/lib/commands/db/delete.js +1 -0
  57. package/lib/commands/db/detail.js +1 -0
  58. package/lib/commands/db/diff.js +1 -0
  59. package/lib/commands/db/index.js +1 -0
  60. package/lib/commands/db/list.js +1 -0
  61. package/lib/commands/db/shared.js +1 -0
  62. package/lib/commands/db/tables.js +1 -0
  63. package/lib/commands/db/test.js +1 -0
  64. package/lib/commands/db/update.js +1 -0
  65. package/lib/commands/doctor.js +1 -1
  66. package/lib/commands/init/index.js +1 -1
  67. package/lib/commands/logs/index.js +1 -1
  68. package/lib/commands/menu/index.js +1 -1
  69. package/lib/commands/menu/shared/compare-table.js +1 -1
  70. package/lib/commands/menu/shared/index.js +1 -1
  71. package/lib/commands/menu/shared/inquirer.js +1 -1
  72. package/lib/commands/menu/shared/local-pages.js +1 -1
  73. package/lib/commands/menu/shared/logic.js +1 -1
  74. package/lib/commands/menu/shared/service.js +1 -1
  75. package/lib/commands/menu/shared/sync-core.js +1 -1
  76. package/lib/commands/menu/shared/update-core.js +1 -1
  77. package/lib/commands/menu/shared/valid-url.js +1 -1
  78. package/lib/commands/menu/sync.js +1 -1
  79. package/lib/commands/menu/update.js +1 -1
  80. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  81. package/lib/commands/project/create/format-elapsed.js +1 -1
  82. package/lib/commands/project/create/main.js +1 -1
  83. package/lib/commands/project/create/non-interactive.js +1 -1
  84. package/lib/commands/project/create/project-template-path.js +1 -1
  85. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  86. package/lib/commands/project/create/use-format-code.js +1 -1
  87. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  88. package/lib/commands/project/index.js +1 -1
  89. package/lib/commands/project/init.js +1 -1
  90. package/lib/commands/project/upgrade.js +1 -1
  91. package/lib/commands/registry.js +1 -1
  92. package/lib/commands/run/index.js +1 -1
  93. package/lib/commands/schema.js +1 -1
  94. package/lib/commands/skill/index.js +1 -1
  95. package/lib/commands/sql/detail.js +1 -1
  96. package/lib/commands/sql/exec.js +1 -1
  97. package/lib/commands/sql/index.js +1 -1
  98. package/lib/commands/sql/list.js +1 -1
  99. package/lib/commands/sql/pull.js +1 -0
  100. package/lib/commands/sql/save.js +1 -1
  101. package/lib/commands/sql/shared.js +1 -0
  102. package/lib/commands/sql/validate.js +1 -1
  103. package/lib/constant/cli.js +1 -1
  104. package/lib/constant/domain.js +1 -1
  105. package/lib/constant/env.js +1 -1
  106. package/lib/constant/paths.js +1 -1
  107. package/lib/context.js +1 -1
  108. package/lib/core/alias-resolver.js +1 -1
  109. package/lib/core/api-client.js +1 -1
  110. package/lib/core/bff/config.js +1 -1
  111. package/lib/core/bff/file-system.js +1 -1
  112. package/lib/core/bff/hash.js +1 -1
  113. package/lib/core/bff/lock.js +1 -1
  114. package/lib/core/bff/utils.js +1 -1
  115. package/lib/core/db-resolver.js +1 -1
  116. package/lib/core/sql-validator.js +1 -1
  117. package/lib/errors.js +1 -1
  118. package/lib/framework/build-all-flags.js +1 -1
  119. package/lib/framework/flags.js +1 -1
  120. package/lib/framework/help.js +1 -1
  121. package/lib/framework/index.js +1 -1
  122. package/lib/framework/output.js +1 -1
  123. package/lib/framework/response.js +1 -1
  124. package/lib/framework/runner.js +1 -1
  125. package/lib/framework/schema-export.js +1 -1
  126. package/lib/framework/types.js +1 -1
  127. package/lib/generated/build-info.js +1 -1
  128. package/lib/help.js +1 -1
  129. package/lib/skills/main.js +1 -1
  130. package/lib/skills/npx-skills-add.js +1 -1
  131. package/lib/telemetry/cli-command-trace.js +1 -1
  132. package/lib/telemetry/cli-help-trace.js +1 -1
  133. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  134. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  135. package/lib/telemetry/send-cli-trace-log.js +1 -1
  136. package/lib/utils/ai_config.js +1 -1
  137. package/lib/utils/apply-jq-filter.js +1 -1
  138. package/lib/utils/cdn-config.js +1 -1
  139. package/lib/utils/check-sdk-version.js +1 -1
  140. package/lib/utils/cli-version-check.js +1 -1
  141. package/lib/utils/config.js +1 -1
  142. package/lib/utils/copy-directory.js +1 -1
  143. package/lib/utils/file-utils.js +1 -1
  144. package/lib/utils/guides-cdn.js +1 -1
  145. package/lib/utils/http-client.js +1 -1
  146. package/lib/utils/is-non-interactive.js +1 -1
  147. package/lib/utils/logger.js +1 -1
  148. package/lib/utils/platform.js +1 -1
  149. package/lib/utils/rules-cdn.js +1 -1
  150. package/lib/utils/sleep.js +1 -1
  151. package/lib/utils/template-replacer.js +1 -1
  152. package/lib/utils/version.js +1 -1
  153. package/lib/utils/with-active-cookie.js +1 -1
  154. package/lib/utils/write-cli-side-channel.js +1 -0
  155. package/package.json +1 -1
@@ -1 +1 @@
1
- const a105_0xae1236=a105_0x6f49;(function(_0x377e0f,_0x13066d){const _0x28e1ff=a105_0x6f49,_0x1e99fe=_0x377e0f();while(!![]){try{const _0x1fc00b=parseInt(_0x28e1ff(0xe4))/0x1+-parseInt(_0x28e1ff(0xe8))/0x2*(-parseInt(_0x28e1ff(0xbb))/0x3)+-parseInt(_0x28e1ff(0xc3))/0x4+-parseInt(_0x28e1ff(0xed))/0x5+parseInt(_0x28e1ff(0xe7))/0x6*(-parseInt(_0x28e1ff(0xe2))/0x7)+-parseInt(_0x28e1ff(0xaf))/0x8*(-parseInt(_0x28e1ff(0xec))/0x9)+-parseInt(_0x28e1ff(0xcc))/0xa*(-parseInt(_0x28e1ff(0xc8))/0xb);if(_0x1fc00b===_0x13066d)break;else _0x1e99fe['push'](_0x1e99fe['shift']());}catch(_0x39a75d){_0x1e99fe['push'](_0x1e99fe['shift']());}}}(a105_0x2046,0x8e3c9));function a105_0x6f49(_0x5e5f82,_0x3ef52a){_0x5e5f82=_0x5e5f82-0xa7;const _0x2046eb=a105_0x2046();let _0x6f4920=_0x2046eb[_0x5e5f82];return _0x6f4920;}import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';const RISK_LABELS={'read':'','write':a105_0xae1236(0xeb),'high-risk-write':a105_0xae1236(0xe5)};export function generateCommandHelp(_0x226776){const _0x565482=a105_0xae1236,_0x39bc5d=[],_0x26ae59=_0x226776['service']===_0x226776[_0x565482(0xdb)]?CLI_BIN_NAME+'\x20'+_0x226776[_0x565482(0xcd)]:CLI_BIN_NAME+'\x20'+_0x226776[_0x565482(0xcd)]+'\x20'+_0x226776['command'],_0x1e5ae5=_0x226776[_0x565482(0xb0)]?_0x226776[_0x565482(0xb0)][_0x565482(0xd8)](_0x504367=>_0x504367[_0x565482(0xc7)]!==![]?'<'+_0x504367['name']+'>':'['+_0x504367[_0x565482(0xa8)]+']')[_0x565482(0xc5)]('\x20'):'',_0x4c9faa=_0x1e5ae5?_0x26ae59+'\x20'+_0x1e5ae5+'\x20[flags]':_0x26ae59+_0x565482(0xbf);_0x39bc5d[_0x565482(0xb8)](''),_0x39bc5d[_0x565482(0xb8)]('\x20\x20'+_0x226776[_0x565482(0xd4)]),_0x39bc5d['push'](''),_0x39bc5d['push'](_0x565482(0xc2)),_0x39bc5d[_0x565482(0xb8)]('\x20\x20\x20\x20'+_0x4c9faa),_0x39bc5d[_0x565482(0xb8)](''),_0x39bc5d[_0x565482(0xb8)](_0x565482(0xe9)+_0x226776[_0x565482(0xdd)]);_0x226776[_0x565482(0xdd)]===_0x565482(0xf0)&&_0x39bc5d[_0x565482(0xb8)](_0x565482(0xc9));_0x39bc5d[_0x565482(0xb8)]('');if(_0x226776['args']&&_0x226776[_0x565482(0xb0)]['length']>0x0){_0x39bc5d[_0x565482(0xb8)](_0x565482(0xcb));const _0x274cc2=Math[_0x565482(0xe0)](..._0x226776[_0x565482(0xb0)][_0x565482(0xd8)](_0x26a901=>_0x26a901[_0x565482(0xa8)]['length']+0x2));for(const _0x12bf2a of _0x226776['args']){const _0x339684=('<'+_0x12bf2a[_0x565482(0xa8)]+'>')[_0x565482(0xa7)](_0x274cc2+0x2),_0x3cc8f3=_0x12bf2a[_0x565482(0xc7)]!==![]?_0x565482(0xcf):'';_0x39bc5d[_0x565482(0xb8)](_0x565482(0xa9)+_0x339684+_0x12bf2a[_0x565482(0xd4)]+_0x3cc8f3);}_0x39bc5d['push']('');}if(_0x226776[_0x565482(0xef)][_0x565482(0xc6)]>0x0||_0x226776[_0x565482(0xb5)]||_0x226776[_0x565482(0xe6)]!==![]){_0x39bc5d[_0x565482(0xb8)](_0x565482(0xea));const _0x3c6d11=buildAllFlags(_0x226776),_0x416888=Math['max'](..._0x3c6d11['map'](_0xaeecc6=>formatFlagName(_0xaeecc6)[_0x565482(0xc6)]));for(const _0x141994 of _0x3c6d11){_0x39bc5d['push'](_0x565482(0xa9)+formatFlagName(_0x141994)[_0x565482(0xa7)](_0x416888+0x2)+renderFlagDesc(_0x141994));}_0x39bc5d[_0x565482(0xb8)]('');}const _0x59cca5=[];_0x226776[_0x565482(0xe1)]!==![]&&_0x59cca5[_0x565482(0xb8)](_0x565482(0xb2)+CLI_BIN_NAME+_0x565482(0xbd));_0x226776['requiresAppCode']!==![]&&_0x59cca5[_0x565482(0xb8)](_0x565482(0xe3)+CLI_BIN_NAME+_0x565482(0xc1));if(_0x59cca5['length']>0x0){_0x39bc5d['push'](_0x565482(0xba));for(const _0x246675 of _0x59cca5){_0x39bc5d['push'](_0x565482(0xd2)+_0x246675);}_0x39bc5d['push']('');}if(_0x226776[_0x565482(0xb6)]){const _0x456da6=typeof _0x226776['helpExtra']===_0x565482(0xbc)?_0x226776['helpExtra']():_0x226776[_0x565482(0xb6)];_0x39bc5d['push'](_0x456da6),_0x39bc5d[_0x565482(0xb8)]('');}return _0x39bc5d[_0x565482(0xc5)]('\x0a');}export function generateServiceHelp(_0x10d6d6){const _0x4f8cc2=a105_0xae1236,_0x5d21ce=getServiceEntry(_0x10d6d6);if(!_0x5d21ce)return _0x4f8cc2(0xc4)+_0x10d6d6+'\x0a';const _0x46fc5d=[],_0x1707cb=serviceGroups['get'](_0x10d6d6);_0x46fc5d[_0x4f8cc2(0xb8)](''),_0x46fc5d['push']('\x20\x20'+_0x5d21ce[_0x4f8cc2(0xae)]),_0x46fc5d[_0x4f8cc2(0xb8)](''),_0x46fc5d[_0x4f8cc2(0xb8)](_0x4f8cc2(0xc2)),_0x46fc5d['push'](_0x4f8cc2(0xa9)+CLI_BIN_NAME+'\x20'+_0x10d6d6+_0x4f8cc2(0xca)),_0x46fc5d[_0x4f8cc2(0xb8)](''),_0x46fc5d[_0x4f8cc2(0xb8)](_0x4f8cc2(0xd0));for(const _0x528f3f of _0x5d21ce[_0x4f8cc2(0xac)]){_0x46fc5d['push']('');const _0x5097df=_0x528f3f[_0x4f8cc2(0xd7)]?'\x20\x20'+_0x528f3f[_0x4f8cc2(0xd7)][_0x4f8cc2(0xb7)]():'';_0x46fc5d[_0x4f8cc2(0xb8)](_0x4f8cc2(0xa9)+_0x528f3f[_0x4f8cc2(0xdb)]+_0x5097df),_0x46fc5d[_0x4f8cc2(0xb8)]('\x20\x20\x20\x20\x20\x20'+_0x528f3f[_0x4f8cc2(0xd4)]);const _0x1cb53c=_0x1707cb?.[_0x4f8cc2(0xc0)](_0x587a47=>_0x587a47[_0x4f8cc2(0xdb)]===_0x528f3f[_0x4f8cc2(0xdb)]);if(_0x1cb53c?.[_0x4f8cc2(0xb0)]&&_0x1cb53c[_0x4f8cc2(0xb0)][_0x4f8cc2(0xc6)]>0x0){_0x46fc5d[_0x4f8cc2(0xb8)](_0x4f8cc2(0xde));const _0x154857=Math[_0x4f8cc2(0xe0)](..._0x1cb53c[_0x4f8cc2(0xb0)][_0x4f8cc2(0xd8)](_0x30f90f=>_0x30f90f[_0x4f8cc2(0xa8)][_0x4f8cc2(0xc6)]+0x2));for(const _0x61062d of _0x1cb53c['args']){const _0x31b49e=('<'+_0x61062d[_0x4f8cc2(0xa8)]+'>')[_0x4f8cc2(0xa7)](_0x154857+0x2),_0x3ae307=_0x61062d[_0x4f8cc2(0xc7)]!==![]?_0x4f8cc2(0xcf):'';_0x46fc5d[_0x4f8cc2(0xb8)]('\x20\x20\x20\x20\x20\x20\x20\x20'+_0x31b49e+_0x61062d['description']+_0x3ae307);}}const _0x35b8c9=getCommandFlags(_0x10d6d6,_0x528f3f[_0x4f8cc2(0xdb)],_0x1707cb);if(_0x35b8c9[_0x4f8cc2(0xc6)]>0x0){const _0x4c17f7=Math[_0x4f8cc2(0xe0)](..._0x35b8c9[_0x4f8cc2(0xd8)](_0x19623d=>formatFlagName(_0x19623d)['length']));for(const _0x9dd4b5 of _0x35b8c9){_0x46fc5d[_0x4f8cc2(0xb8)](_0x4f8cc2(0xd5)+formatFlagName(_0x9dd4b5)[_0x4f8cc2(0xa7)](_0x4c17f7+0x2)+renderFlagDesc(_0x9dd4b5));}}}return _0x46fc5d['push'](''),_0x46fc5d[_0x4f8cc2(0xc5)]('\x0a');}export function generateFullHelp(){const _0x466c47=a105_0xae1236,_0x19ee54=[];_0x19ee54[_0x466c47(0xb8)](''),_0x19ee54[_0x466c47(0xb8)]('\x20\x20'+CLI_DISPLAY_NAME),_0x19ee54[_0x466c47(0xb8)](''),_0x19ee54['push'](_0x466c47(0xc2)),_0x19ee54[_0x466c47(0xb8)](_0x466c47(0xad)+CLI_BIN_NAME+_0x466c47(0xb4)),_0x19ee54['push'](''),_0x19ee54[_0x466c47(0xb8)](_0x466c47(0xd1));const _0x79230a=GLOBAL_FLAGS['filter'](_0x1dc254=>!_0x1dc254[_0x466c47(0xd3)]),_0x1da830=Math[_0x466c47(0xe0)](..._0x79230a['map'](_0x1168e8=>{const _0x32c3ab=_0x466c47,_0x4782c8=_0x1168e8[_0x32c3ab(0xda)]?'\x20'+_0x1168e8['hint']:'';return('--'+_0x1168e8[_0x32c3ab(0xa8)]+_0x4782c8)['length'];}));for(const _0x18350d of _0x79230a){const _0x34ba8d=_0x18350d[_0x466c47(0xda)]?'\x20'+_0x18350d[_0x466c47(0xda)]:'',_0x3f3950=('--'+_0x18350d[_0x466c47(0xa8)]+_0x34ba8d)[_0x466c47(0xa7)](_0x1da830+0x2);_0x19ee54[_0x466c47(0xb8)](_0x466c47(0xa9)+_0x3f3950+_0x18350d[_0x466c47(0xd4)]);}_0x19ee54['push'](''),_0x19ee54[_0x466c47(0xb8)]('\x20\x20COMMANDS'),_0x19ee54[_0x466c47(0xb8)]('');for(const _0x3a60d6 of serviceRegistry){_0x19ee54['push']('\x20\x20'+_0x3a60d6[_0x466c47(0xae)]);if(_0x3a60d6[_0x466c47(0xd9)]){const _0x50e9a1=_0x3a60d6['commands'][0x0],_0x6a1112=_0x50e9a1[_0x466c47(0xd7)]??'';_0x19ee54[_0x466c47(0xb8)](_0x466c47(0xa9)+_0x3a60d6['service'][_0x466c47(0xa7)](0x12)+_0x50e9a1[_0x466c47(0xd4)]+_0x6a1112);}else{const _0x58c81a=_0x3a60d6[_0x466c47(0xac)][_0x466c47(0xd8)](_0x55bf4a=>_0x3a60d6[_0x466c47(0xcd)]+'\x20'+_0x55bf4a[_0x466c47(0xdb)]),_0x53b418=Math[_0x466c47(0xe0)](..._0x58c81a[_0x466c47(0xd8)](_0x378a34=>_0x378a34[_0x466c47(0xc6)]));for(let _0x258bf5=0x0;_0x258bf5<_0x3a60d6['commands']['length'];_0x258bf5++){const _0x3c5328=_0x3a60d6['commands'][_0x258bf5],_0x51cc4=_0x3c5328[_0x466c47(0xd7)]??'';_0x19ee54[_0x466c47(0xb8)](_0x466c47(0xa9)+_0x58c81a[_0x258bf5][_0x466c47(0xa7)](_0x53b418+0x2)+_0x3c5328[_0x466c47(0xd4)]+_0x51cc4);}}if(_0x3a60d6['wildcardDef']?.['helpExtra']){const _0x250e2e=typeof _0x3a60d6[_0x466c47(0xb1)]['helpExtra']===_0x466c47(0xbc)?_0x3a60d6[_0x466c47(0xb1)][_0x466c47(0xb6)]():_0x3a60d6[_0x466c47(0xb1)][_0x466c47(0xb6)];for(const _0x18d234 of _0x250e2e[_0x466c47(0xbe)]('\x0a')){_0x19ee54[_0x466c47(0xb8)]('\x20\x20'+_0x18d234);}}_0x19ee54[_0x466c47(0xb8)]('');}return _0x19ee54[_0x466c47(0xb8)]('\x20\x20Run\x20`'+CLI_BIN_NAME+_0x466c47(0xb3)),_0x19ee54[_0x466c47(0xb8)]('\x20\x20Run\x20`'+CLI_BIN_NAME+_0x466c47(0xdc)),_0x19ee54[_0x466c47(0xb8)](''),_0x19ee54[_0x466c47(0xc5)]('\x0a');}function getCommandFlags(_0x5b87d2,_0x181fa8,_0x269012){const _0x164f67=a105_0xae1236;if(_0x269012){const _0x1752fd=_0x269012[_0x164f67(0xc0)](_0x359cad=>_0x359cad[_0x164f67(0xdb)]===_0x181fa8);if(_0x1752fd)return buildAllFlags(_0x1752fd);}return[];}function renderFlagDesc(_0x4e912f){const _0x47f56e=a105_0xae1236;let _0x4bebd1=_0x4e912f[_0x47f56e(0xd4)];return _0x4e912f[_0x47f56e(0xce)]&&_0x4e912f[_0x47f56e(0xce)][_0x47f56e(0xc6)]>0x0&&(_0x4bebd1+='\x20('+_0x4e912f[_0x47f56e(0xce)][_0x47f56e(0xc5)](_0x47f56e(0xaa))+')'),_0x4e912f['default']!==undefined&&_0x4e912f[_0x47f56e(0xd6)]!==''&&_0x4e912f['default']!==![]&&(_0x4bebd1+='\x20[default:\x20'+_0x4e912f[_0x47f56e(0xd6)]+']'),_0x4e912f[_0x47f56e(0xc7)]&&!_0x4bebd1['includes']('(required)')&&(_0x4bebd1+=_0x47f56e(0xcf)),_0x4bebd1;}function formatFlagName(_0x2de3d1){const _0x130208=a105_0xae1236,_0x2219a6=_0x2de3d1[_0x130208(0xdf)]===_0x130208(0xb9)?'':_0x2de3d1[_0x130208(0xdf)]===_0x130208(0xee)?_0x130208(0xab):'\x20<value>';return'--'+_0x2de3d1[_0x130208(0xa8)]+_0x2219a6;}function a105_0x2046(){const _0x2970f2=['hasFormat','6ILSZkW','2ESgPMJ','\x20\x20RISK:\x20','\x20\x20FLAGS','\x20\x20[write]','9lRjxxu','1216165AcGMeH','number','flags','high-risk-write','padEnd','name','\x20\x20\x20\x20','\x20|\x20','\x20<n>','commands','\x20\x20\x20\x20$\x20','label','3351328RtlfHU','args','wildcardDef','Requires\x20authentication\x20(run\x20`','\x20<service>\x20--help`\x20for\x20service\x20commands.','\x20[global-options]\x20<service>\x20<command>\x20[flags]','dryRun','helpExtra','trim','push','boolean','\x20\x20PREREQUISITES','1592199rxvkYz','function','\x20auth`\x20first).','split','\x20[flags]','find','\x20project\x20init`\x20or\x20--appcode).','\x20\x20USAGE','3065104ulSBXP','\x20\x20Unknown\x20service:\x20','join','length','required','4037QqdVcw','\x20\x20\x20\x20Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','\x20<command>\x20[args]\x20[flags]','\x20\x20ARGS','19990cGSSUO','service','enum','\x20(required)','\x20\x20COMMANDS','\x20\x20GLOBAL\x20OPTIONS','\x20\x20\x20\x20•\x20','hidden','description','\x20\x20\x20\x20\x20\x20','default','tag','map','isSingleCommand','hint','command','\x20<service>\x20<command>\x20--help`\x20for\x20command\x20flags.','risk','\x20\x20\x20\x20\x20\x20ARGS','type','max','requiresAuth','6517651rasjzj','Requires\x20appcode\x20(set\x20via\x20`','839921GRjNEv','\x20\x20[high-risk-write]'];a105_0x2046=function(){return _0x2970f2;};return a105_0x2046();}
1
+ const a120_0x1bba4c=a120_0x1b48;function a120_0x1b48(_0x48e822,_0x185807){_0x48e822=_0x48e822-0xa3;const _0x4a522f=a120_0x4a52();let _0x1b4879=_0x4a522f[_0x48e822];return _0x1b4879;}(function(_0x465ced,_0x312f5f){const _0x3ac60f=a120_0x1b48,_0x20f4a5=_0x465ced();while(!![]){try{const _0x91e67c=-parseInt(_0x3ac60f(0xde))/0x1+-parseInt(_0x3ac60f(0xe5))/0x2*(-parseInt(_0x3ac60f(0xe4))/0x3)+parseInt(_0x3ac60f(0xad))/0x4*(parseInt(_0x3ac60f(0xa6))/0x5)+parseInt(_0x3ac60f(0xa8))/0x6+-parseInt(_0x3ac60f(0xbf))/0x7+parseInt(_0x3ac60f(0xbb))/0x8*(parseInt(_0x3ac60f(0xc1))/0x9)+parseInt(_0x3ac60f(0xdd))/0xa*(-parseInt(_0x3ac60f(0xe2))/0xb);if(_0x91e67c===_0x312f5f)break;else _0x20f4a5['push'](_0x20f4a5['shift']());}catch(_0x2d53ca){_0x20f4a5['push'](_0x20f4a5['shift']());}}}(a120_0x4a52,0xc4b93));import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a120_0x4a52(){const _0x18a104=['\x20\x20Run\x20`','get','boolean','\x20<n>','\x20\x20\x20\x20\x20\x20','\x20\x20[high-risk-write]','\x20[flags]','\x20\x20GLOBAL\x20OPTIONS','split','19112IeGRKN','description','\x20\x20ARGS','risk','861707kBBsBU','commands','4905CBfBVn','length','\x20auth`\x20first).','\x20[global-options]\x20<service>\x20<command>\x20[flags]','function','enum','\x20\x20[write]','\x20\x20USAGE','required','name','Requires\x20authentication\x20(run\x20`','\x20<service>\x20<command>\x20--help`\x20for\x20command\x20flags.','wildcardDef','Requires\x20appcode\x20(set\x20via\x20`','type','flags','\x20|\x20','args','service','\x20<command>\x20[args]\x20[flags]','label','\x20\x20\x20\x20','\x20\x20PREREQUISITES','\x20project\x20init`\x20or\x20--appcode).','\x20<service>\x20--help`\x20for\x20service\x20commands.','\x20<value>','(required)','trim','18406090grYcNj','856275XnLvfN','join','helpExtra','hint','11LMeLgH','max','4702389HOayuo','2DkMpEp','push','requiresAuth','map','\x20\x20\x20\x20$\x20','\x20\x20FLAGS','dryRun','\x20\x20\x20\x20\x20\x20\x20\x20','filter','number','35YOdqkn','requiresAppCode','3293106ECvzoi','padEnd','command','high-risk-write','default','118540eIOiIs','tag','find','\x20\x20COMMANDS','\x20\x20\x20\x20Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.'];a120_0x4a52=function(){return _0x18a104;};return a120_0x4a52();}const RISK_LABELS={'read':'','write':a120_0x1bba4c(0xc7),'high-risk-write':a120_0x1bba4c(0xb7)};export function generateCommandHelp(_0x2d7afb){const _0x49b41f=a120_0x1bba4c,_0x11af7d=[],_0x37c888=_0x2d7afb[_0x49b41f(0xd3)]===_0x2d7afb[_0x49b41f(0xaa)]?CLI_BIN_NAME+'\x20'+_0x2d7afb[_0x49b41f(0xd3)]:CLI_BIN_NAME+'\x20'+_0x2d7afb[_0x49b41f(0xd3)]+'\x20'+_0x2d7afb[_0x49b41f(0xaa)],_0x4c542f=_0x2d7afb[_0x49b41f(0xd2)]?_0x2d7afb['args'][_0x49b41f(0xe8)](_0x522b4e=>_0x522b4e['required']!==![]?'<'+_0x522b4e[_0x49b41f(0xca)]+'>':'['+_0x522b4e[_0x49b41f(0xca)]+']')[_0x49b41f(0xdf)]('\x20'):'',_0x4b76e3=_0x4c542f?_0x37c888+'\x20'+_0x4c542f+_0x49b41f(0xb8):_0x37c888+'\x20[flags]';_0x11af7d[_0x49b41f(0xe6)](''),_0x11af7d[_0x49b41f(0xe6)]('\x20\x20'+_0x2d7afb[_0x49b41f(0xbc)]),_0x11af7d['push'](''),_0x11af7d[_0x49b41f(0xe6)](_0x49b41f(0xc8)),_0x11af7d['push'](_0x49b41f(0xd6)+_0x4b76e3),_0x11af7d[_0x49b41f(0xe6)](''),_0x11af7d['push']('\x20\x20RISK:\x20'+_0x2d7afb[_0x49b41f(0xbe)]);_0x2d7afb['risk']===_0x49b41f(0xab)&&_0x11af7d['push'](_0x49b41f(0xb1));_0x11af7d[_0x49b41f(0xe6)]('');if(_0x2d7afb[_0x49b41f(0xd2)]&&_0x2d7afb[_0x49b41f(0xd2)][_0x49b41f(0xc2)]>0x0){_0x11af7d[_0x49b41f(0xe6)](_0x49b41f(0xbd));const _0x55867c=Math[_0x49b41f(0xe3)](..._0x2d7afb[_0x49b41f(0xd2)][_0x49b41f(0xe8)](_0x4823aa=>_0x4823aa[_0x49b41f(0xca)][_0x49b41f(0xc2)]+0x2));for(const _0x16d017 of _0x2d7afb[_0x49b41f(0xd2)]){const _0x3d27b4=('<'+_0x16d017['name']+'>')['padEnd'](_0x55867c+0x2),_0x40bbed=_0x16d017[_0x49b41f(0xc9)]!==![]?'\x20(required)':'';_0x11af7d[_0x49b41f(0xe6)](_0x49b41f(0xd6)+_0x3d27b4+_0x16d017[_0x49b41f(0xbc)]+_0x40bbed);}_0x11af7d[_0x49b41f(0xe6)]('');}if(_0x2d7afb[_0x49b41f(0xd0)][_0x49b41f(0xc2)]>0x0||_0x2d7afb[_0x49b41f(0xeb)]||_0x2d7afb['hasFormat']!==![]){_0x11af7d['push'](_0x49b41f(0xea));const _0x43fbbd=buildAllFlags(_0x2d7afb),_0x1bbd39=Math[_0x49b41f(0xe3)](..._0x43fbbd[_0x49b41f(0xe8)](_0x5244f9=>formatFlagName(_0x5244f9)[_0x49b41f(0xc2)]));for(const _0x268202 of _0x43fbbd){_0x11af7d[_0x49b41f(0xe6)]('\x20\x20\x20\x20'+formatFlagName(_0x268202)['padEnd'](_0x1bbd39+0x2)+renderFlagDesc(_0x268202));}_0x11af7d[_0x49b41f(0xe6)]('');}const _0x4e81c9=[];_0x2d7afb[_0x49b41f(0xe7)]!==![]&&_0x4e81c9[_0x49b41f(0xe6)](_0x49b41f(0xcb)+CLI_BIN_NAME+_0x49b41f(0xc3));_0x2d7afb[_0x49b41f(0xa7)]!==![]&&_0x4e81c9[_0x49b41f(0xe6)](_0x49b41f(0xce)+CLI_BIN_NAME+_0x49b41f(0xd8));if(_0x4e81c9[_0x49b41f(0xc2)]>0x0){_0x11af7d['push'](_0x49b41f(0xd7));for(const _0x2ed7c6 of _0x4e81c9){_0x11af7d[_0x49b41f(0xe6)]('\x20\x20\x20\x20•\x20'+_0x2ed7c6);}_0x11af7d[_0x49b41f(0xe6)]('');}if(_0x2d7afb[_0x49b41f(0xe0)]){const _0x5f0114=typeof _0x2d7afb[_0x49b41f(0xe0)]===_0x49b41f(0xc5)?_0x2d7afb[_0x49b41f(0xe0)]():_0x2d7afb[_0x49b41f(0xe0)];_0x11af7d['push'](_0x5f0114),_0x11af7d['push']('');}return _0x11af7d['join']('\x0a');}export function generateServiceHelp(_0x2433e8){const _0x3881f7=a120_0x1bba4c,_0x224c78=getServiceEntry(_0x2433e8);if(!_0x224c78)return'\x20\x20Unknown\x20service:\x20'+_0x2433e8+'\x0a';const _0x43f200=[],_0x47fd9e=serviceGroups[_0x3881f7(0xb3)](_0x2433e8);_0x43f200[_0x3881f7(0xe6)](''),_0x43f200['push']('\x20\x20'+_0x224c78[_0x3881f7(0xd5)]),_0x43f200['push'](''),_0x43f200[_0x3881f7(0xe6)]('\x20\x20USAGE'),_0x43f200[_0x3881f7(0xe6)](_0x3881f7(0xd6)+CLI_BIN_NAME+'\x20'+_0x2433e8+_0x3881f7(0xd4)),_0x43f200[_0x3881f7(0xe6)](''),_0x43f200['push'](_0x3881f7(0xb0));for(const _0x4c961b of _0x224c78[_0x3881f7(0xc0)]){_0x43f200[_0x3881f7(0xe6)]('');const _0x4bea65=_0x4c961b[_0x3881f7(0xae)]?'\x20\x20'+_0x4c961b['tag'][_0x3881f7(0xdc)]():'';_0x43f200[_0x3881f7(0xe6)]('\x20\x20\x20\x20'+_0x4c961b['command']+_0x4bea65),_0x43f200['push'](_0x3881f7(0xb6)+_0x4c961b[_0x3881f7(0xbc)]);const _0x3322e0=_0x47fd9e?.[_0x3881f7(0xaf)](_0x5c9562=>_0x5c9562['command']===_0x4c961b[_0x3881f7(0xaa)]);if(_0x3322e0?.[_0x3881f7(0xd2)]&&_0x3322e0[_0x3881f7(0xd2)][_0x3881f7(0xc2)]>0x0){_0x43f200[_0x3881f7(0xe6)]('\x20\x20\x20\x20\x20\x20ARGS');const _0x585495=Math[_0x3881f7(0xe3)](..._0x3322e0['args'][_0x3881f7(0xe8)](_0xe7c08a=>_0xe7c08a[_0x3881f7(0xca)]['length']+0x2));for(const _0xb55a3c of _0x3322e0[_0x3881f7(0xd2)]){const _0x3459b1=('<'+_0xb55a3c[_0x3881f7(0xca)]+'>')[_0x3881f7(0xa9)](_0x585495+0x2),_0x394335=_0xb55a3c[_0x3881f7(0xc9)]!==![]?'\x20(required)':'';_0x43f200['push'](_0x3881f7(0xa3)+_0x3459b1+_0xb55a3c[_0x3881f7(0xbc)]+_0x394335);}}const _0xb88d6d=getCommandFlags(_0x2433e8,_0x4c961b['command'],_0x47fd9e);if(_0xb88d6d[_0x3881f7(0xc2)]>0x0){const _0x335257=Math['max'](..._0xb88d6d[_0x3881f7(0xe8)](_0x256c96=>formatFlagName(_0x256c96)[_0x3881f7(0xc2)]));for(const _0x15fbba of _0xb88d6d){_0x43f200[_0x3881f7(0xe6)](_0x3881f7(0xb6)+formatFlagName(_0x15fbba)['padEnd'](_0x335257+0x2)+renderFlagDesc(_0x15fbba));}}}return _0x43f200[_0x3881f7(0xe6)](''),_0x43f200[_0x3881f7(0xdf)]('\x0a');}export function generateFullHelp(){const _0x55bf25=a120_0x1bba4c,_0xc622cf=[];_0xc622cf[_0x55bf25(0xe6)](''),_0xc622cf[_0x55bf25(0xe6)]('\x20\x20'+CLI_DISPLAY_NAME),_0xc622cf[_0x55bf25(0xe6)](''),_0xc622cf[_0x55bf25(0xe6)](_0x55bf25(0xc8)),_0xc622cf[_0x55bf25(0xe6)](_0x55bf25(0xe9)+CLI_BIN_NAME+_0x55bf25(0xc4)),_0xc622cf[_0x55bf25(0xe6)](''),_0xc622cf[_0x55bf25(0xe6)](_0x55bf25(0xb9));const _0x1a75dc=GLOBAL_FLAGS[_0x55bf25(0xa4)](_0x458945=>!_0x458945['hidden']),_0x992511=Math[_0x55bf25(0xe3)](..._0x1a75dc[_0x55bf25(0xe8)](_0x73ce1c=>{const _0x4319ad=_0x55bf25,_0x381249=_0x73ce1c[_0x4319ad(0xe1)]?'\x20'+_0x73ce1c[_0x4319ad(0xe1)]:'';return('--'+_0x73ce1c['name']+_0x381249)[_0x4319ad(0xc2)];}));for(const _0x183c74 of _0x1a75dc){const _0x9e029d=_0x183c74[_0x55bf25(0xe1)]?'\x20'+_0x183c74[_0x55bf25(0xe1)]:'',_0x4b83d5=('--'+_0x183c74[_0x55bf25(0xca)]+_0x9e029d)['padEnd'](_0x992511+0x2);_0xc622cf[_0x55bf25(0xe6)](_0x55bf25(0xd6)+_0x4b83d5+_0x183c74[_0x55bf25(0xbc)]);}_0xc622cf[_0x55bf25(0xe6)](''),_0xc622cf['push'](_0x55bf25(0xb0)),_0xc622cf[_0x55bf25(0xe6)]('');for(const _0x4318a1 of serviceRegistry){_0xc622cf[_0x55bf25(0xe6)]('\x20\x20'+_0x4318a1['label']);if(_0x4318a1['isSingleCommand']){const _0x5f2fed=_0x4318a1[_0x55bf25(0xc0)][0x0],_0xb82f01=_0x5f2fed[_0x55bf25(0xae)]??'';_0xc622cf[_0x55bf25(0xe6)](_0x55bf25(0xd6)+_0x4318a1[_0x55bf25(0xd3)][_0x55bf25(0xa9)](0x12)+_0x5f2fed[_0x55bf25(0xbc)]+_0xb82f01);}else{const _0x3b39bd=_0x4318a1['commands']['map'](_0x7676=>_0x4318a1[_0x55bf25(0xd3)]+'\x20'+_0x7676['command']),_0x23b943=Math['max'](..._0x3b39bd[_0x55bf25(0xe8)](_0xa5d11d=>_0xa5d11d[_0x55bf25(0xc2)]));for(let _0x4bd561=0x0;_0x4bd561<_0x4318a1[_0x55bf25(0xc0)][_0x55bf25(0xc2)];_0x4bd561++){const _0x18876c=_0x4318a1[_0x55bf25(0xc0)][_0x4bd561],_0x333276=_0x18876c[_0x55bf25(0xae)]??'';_0xc622cf[_0x55bf25(0xe6)](_0x55bf25(0xd6)+_0x3b39bd[_0x4bd561][_0x55bf25(0xa9)](_0x23b943+0x2)+_0x18876c[_0x55bf25(0xbc)]+_0x333276);}}if(_0x4318a1[_0x55bf25(0xcd)]?.[_0x55bf25(0xe0)]){const _0x2d894c=typeof _0x4318a1['wildcardDef'][_0x55bf25(0xe0)]===_0x55bf25(0xc5)?_0x4318a1['wildcardDef'][_0x55bf25(0xe0)]():_0x4318a1[_0x55bf25(0xcd)][_0x55bf25(0xe0)];for(const _0x12e3f5 of _0x2d894c[_0x55bf25(0xba)]('\x0a')){_0xc622cf['push']('\x20\x20'+_0x12e3f5);}}_0xc622cf['push']('');}return _0xc622cf[_0x55bf25(0xe6)](_0x55bf25(0xb2)+CLI_BIN_NAME+_0x55bf25(0xd9)),_0xc622cf['push']('\x20\x20Run\x20`'+CLI_BIN_NAME+_0x55bf25(0xcc)),_0xc622cf['push'](''),_0xc622cf[_0x55bf25(0xdf)]('\x0a');}function getCommandFlags(_0x32563d,_0x29f7f2,_0x5333b4){const _0x5b1caa=a120_0x1bba4c;if(_0x5333b4){const _0x503de1=_0x5333b4['find'](_0x2752a6=>_0x2752a6[_0x5b1caa(0xaa)]===_0x29f7f2);if(_0x503de1)return buildAllFlags(_0x503de1);}return[];}function renderFlagDesc(_0x4f7a68){const _0x58c493=a120_0x1bba4c;let _0x4b625f=_0x4f7a68[_0x58c493(0xbc)];return _0x4f7a68[_0x58c493(0xc6)]&&_0x4f7a68[_0x58c493(0xc6)]['length']>0x0&&(_0x4b625f+='\x20('+_0x4f7a68[_0x58c493(0xc6)][_0x58c493(0xdf)](_0x58c493(0xd1))+')'),_0x4f7a68[_0x58c493(0xac)]!==undefined&&_0x4f7a68[_0x58c493(0xac)]!==''&&_0x4f7a68[_0x58c493(0xac)]!==![]&&(_0x4b625f+='\x20[default:\x20'+_0x4f7a68[_0x58c493(0xac)]+']'),_0x4f7a68[_0x58c493(0xc9)]&&!_0x4b625f['includes'](_0x58c493(0xdb))&&(_0x4b625f+='\x20(required)'),_0x4b625f;}function formatFlagName(_0xfe4312){const _0x32b372=a120_0x1bba4c,_0xc15e29=_0xfe4312[_0x32b372(0xcf)]===_0x32b372(0xb4)?'':_0xfe4312['type']===_0x32b372(0xa5)?_0x32b372(0xb5):_0x32b372(0xda);return'--'+_0xfe4312['name']+_0xc15e29;}
@@ -1 +1 @@
1
- (function(_0x379294,_0x2dfaea){var _0x5f53d8=a106_0x5c15,_0x4dd0df=_0x379294();while(!![]){try{var _0x195d0c=-parseInt(_0x5f53d8(0x1b6))/0x1+-parseInt(_0x5f53d8(0x1ba))/0x2*(-parseInt(_0x5f53d8(0x1b7))/0x3)+parseInt(_0x5f53d8(0x1bd))/0x4+parseInt(_0x5f53d8(0x1b8))/0x5*(parseInt(_0x5f53d8(0x1b9))/0x6)+-parseInt(_0x5f53d8(0x1b5))/0x7*(-parseInt(_0x5f53d8(0x1bb))/0x8)+-parseInt(_0x5f53d8(0x1be))/0x9+parseInt(_0x5f53d8(0x1bc))/0xa*(parseInt(_0x5f53d8(0x1bf))/0xb);if(_0x195d0c===_0x2dfaea)break;else _0x4dd0df['push'](_0x4dd0df['shift']());}catch(_0x192dba){_0x4dd0df['push'](_0x4dd0df['shift']());}}}(a106_0x1702,0x60b13));export{runCommand}from'../framework/runner.js';function a106_0x1702(){var _0x4a5b99=['23582LgZyCn','3736fNJaEk','10hmizuz','976036GSTkfb','4595841hVvLRx','2157529xtNcBQ','10549YMQhzV','318509YBtSew','9SWAUFd','235nigBdC','5862LmJDoc'];a106_0x1702=function(){return _0x4a5b99;};return a106_0x1702();}export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a106_0x5c15(_0x42f19c,_0x1e7e95){_0x42f19c=_0x42f19c-0x1b5;var _0x17025d=a106_0x1702();var _0x5c1590=_0x17025d[_0x42f19c];return _0x5c1590;}export{riskLevelOrder}from'../framework/types.js';
1
+ (function(_0x46811e,_0x550a8a){var _0xa67bd0=a121_0xb27b,_0x23bab0=_0x46811e();while(!![]){try{var _0xfcc2d7=parseInt(_0xa67bd0(0x12d))/0x1+-parseInt(_0xa67bd0(0x12e))/0x2+-parseInt(_0xa67bd0(0x131))/0x3+-parseInt(_0xa67bd0(0x12a))/0x4+parseInt(_0xa67bd0(0x129))/0x5*(parseInt(_0xa67bd0(0x12b))/0x6)+-parseInt(_0xa67bd0(0x12c))/0x7*(parseInt(_0xa67bd0(0x12f))/0x8)+-parseInt(_0xa67bd0(0x130))/0x9*(-parseInt(_0xa67bd0(0x128))/0xa);if(_0xfcc2d7===_0x550a8a)break;else _0x23bab0['push'](_0x23bab0['shift']());}catch(_0x29382f){_0x23bab0['push'](_0x23bab0['shift']());}}}(a121_0x3fc0,0x9a3bd));function a121_0x3fc0(){var _0x4fec89=['3392367MNwOwa','200810rCCkvB','270imDVwi','4036920aLjBzy','86706DapkMR','4102PuzWrY','768162REOZQV','1507998ruvsgQ','17144TDuwYL','1449HhhuxW'];a121_0x3fc0=function(){return _0x4fec89;};return a121_0x3fc0();}export{runCommand}from'../framework/runner.js';function a121_0xb27b(_0x7fcdef,_0x51010c){_0x7fcdef=_0x7fcdef-0x128;var _0x3fc09e=a121_0x3fc0();var _0xb27bcf=_0x3fc09e[_0x7fcdef];return _0xb27bcf;}export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0x1cb4db,_0x565ade){const _0x391824=a107_0x4e81,_0x20f6c3=_0x1cb4db();while(!![]){try{const _0xc0134d=parseInt(_0x391824(0xbd))/0x1+-parseInt(_0x391824(0xd5))/0x2+-parseInt(_0x391824(0xc2))/0x3*(parseInt(_0x391824(0xaa))/0x4)+parseInt(_0x391824(0xb6))/0x5*(parseInt(_0x391824(0xcc))/0x6)+-parseInt(_0x391824(0xb9))/0x7+-parseInt(_0x391824(0xce))/0x8*(parseInt(_0x391824(0xa6))/0x9)+parseInt(_0x391824(0xb1))/0xa*(parseInt(_0x391824(0xbb))/0xb);if(_0xc0134d===_0x565ade)break;else _0x20f6c3['push'](_0x20f6c3['shift']());}catch(_0x31a49b){_0x20f6c3['push'](_0x20f6c3['shift']());}}}(a107_0x5bf4,0x45414));function a107_0x5bf4(){const _0x32ebea=['json','Error:\x20','entries','6AxPnzS','write','254776TfNOII','(none)','project','Unknown\x20error','length','risk','\x20(default\x20from\x20global\x20file)','1090758ajXLwQ','log','dryRun','globalPath','144lQsYmc','error','\x20\x20Default\x20app:\x20\x20\x20\x20\x20','defaultAppSource','3084XqMWEs','map','meta','(empty)','pretty','data','jqFilter','3410tquBdB','max','global','filter','command','1947780BtEoQy','trim','stdout','1642291shAKMy','stringify','40447CkomcH','keys','347681XZVSAD','message','[dry-run]\x20Would\x20execute:','padEnd','compress','1626XDbXBj','object','items','\x20\x20Project\x20config:\x20\x20','isArray','\x20items:\x0a','defaultApp'];a107_0x5bf4=function(){return _0x32ebea;};return a107_0x5bf4();}import{applyJqFilter}from'../utils/apply-jq-filter.js';export function formatOutput(_0x5e8518,_0x35b039){const _0x3d779a=a107_0x4e81,{format:_0x1adb59}=_0x35b039;switch(_0x1adb59){case _0x3d779a(0xc9):printJson(_0x5e8518,_0x35b039);break;case _0x3d779a(0xc1):printCompress(_0x5e8518,_0x35b039);break;case _0x3d779a(0xae):default:printPretty(_0x5e8518,_0x35b039);break;}}function buildEnvelope(_0x290bc2,_0x17447c){const _0x1ea4d0=a107_0x4e81,_0x37c366={'ok':_0x290bc2['ok'],'command':_0x17447c[_0x1ea4d0(0xb5)],'risk':_0x17447c[_0x1ea4d0(0xd3)]};if(_0x17447c['dryRun'])_0x37c366[_0x1ea4d0(0xa4)]=!![];if(_0x290bc2[_0x1ea4d0(0xaf)]!==undefined)_0x37c366['data']=_0x290bc2[_0x1ea4d0(0xaf)];return!_0x290bc2['ok']&&_0x290bc2['message']&&(_0x37c366[_0x1ea4d0(0xa7)]={'code':'command_error','message':_0x290bc2[_0x1ea4d0(0xbe)]}),_0x37c366;}function printJson(_0x19fd95,_0x407121){const _0x37664c=a107_0x4e81,_0x538638=buildEnvelope(_0x19fd95,_0x407121),_0x110931=JSON[_0x37664c(0xba)](_0x538638,null,0x2)+'\x0a';writeJsonWithOptionalJq(_0x110931,_0x407121);}function printCompress(_0x50ea5a,_0x5e198a){const _0x1b2362=buildEnvelope(_0x50ea5a,_0x5e198a),_0x14cc96=JSON['stringify'](_0x1b2362)+'\x0a';writeJsonWithOptionalJq(_0x14cc96,_0x5e198a);}function a107_0x4e81(_0x3dd787,_0x25d9e1){_0x3dd787=_0x3dd787-0xa4;const _0x5bf440=a107_0x5bf4();let _0x4e811d=_0x5bf440[_0x3dd787];return _0x4e811d;}function writeJsonWithOptionalJq(_0x239417,_0x1fc6d7){const _0x1e582a=a107_0x4e81,_0x524f9a=_0x1fc6d7[_0x1e582a(0xb0)]?.[_0x1e582a(0xb7)]();if(!_0x524f9a){process[_0x1e582a(0xb8)][_0x1e582a(0xcd)](_0x239417);return;}const _0x5de470=applyJqFilter(_0x239417,_0x524f9a);process['stdout']['write'](_0x5de470['endsWith']('\x0a')?_0x5de470:_0x5de470+'\x0a');}function isListWithMetaData(_0x222662){const _0x3a3df5=a107_0x4e81;return typeof _0x222662==='object'&&_0x222662!==null&&_0x3a3df5(0xc4)in _0x222662&&Array[_0x3a3df5(0xc6)](_0x222662['items'])&&_0x3a3df5(0xac)in _0x222662&&typeof _0x222662[_0x3a3df5(0xac)]===_0x3a3df5(0xc3)&&_0x222662[_0x3a3df5(0xac)]!==null;}function printAppListMeta(_0x158886){const _0x5da53c=a107_0x4e81,_0x2ab9ce=_0x158886[_0x5da53c(0xa5)]!=null?String(_0x158886[_0x5da53c(0xa5)]):_0x5da53c(0xcf),_0x1b08ad=_0x158886['projectPath']!=null?String(_0x158886['projectPath']):_0x5da53c(0xcf),_0x4e7389=_0x158886[_0x5da53c(0xc8)]!=null?String(_0x158886[_0x5da53c(0xc8)]):_0x5da53c(0xcf),_0x452893=_0x158886[_0x5da53c(0xa9)],_0xd640b0=_0x452893===_0x5da53c(0xd0)?'\x20(default\x20from\x20project\x20file)':_0x452893===_0x5da53c(0xb3)?_0x5da53c(0xd4):'';console[_0x5da53c(0xd6)]('\x20\x20Global\x20config:\x20\x20\x20'+_0x2ab9ce),console[_0x5da53c(0xd6)](_0x5da53c(0xc5)+_0x1b08ad),console['log'](_0x5da53c(0xa8)+_0x4e7389+_0xd640b0),console[_0x5da53c(0xd6)]();}function printPretty(_0xca15a3,_0x314a8a){const _0x83a15c=a107_0x4e81;if(_0x314a8a[_0x83a15c(0xa4)]){console[_0x83a15c(0xd6)](_0x83a15c(0xbf)),console[_0x83a15c(0xd6)](JSON[_0x83a15c(0xba)](_0xca15a3[_0x83a15c(0xaf)],null,0x2));return;}if(!_0xca15a3['ok']){console[_0x83a15c(0xa7)](_0x83a15c(0xca)+(_0xca15a3[_0x83a15c(0xbe)]??_0x83a15c(0xd1)));return;}const _0x15077a=_0xca15a3[_0x83a15c(0xaf)];if(_0x15077a===undefined||_0x15077a===null){if(_0xca15a3[_0x83a15c(0xbe)])console[_0x83a15c(0xd6)](_0xca15a3[_0x83a15c(0xbe)]);return;}if(isListWithMetaData(_0x15077a)){printAppListMeta(_0x15077a[_0x83a15c(0xac)]),printArrayPretty(_0x15077a[_0x83a15c(0xc4)]);return;}if(Array[_0x83a15c(0xc6)](_0x15077a)){printArrayPretty(_0x15077a);return;}if(typeof _0x15077a===_0x83a15c(0xc3)){printObjectPretty(_0x15077a);return;}console['log'](String(_0x15077a));}function printObjectPretty(_0x1d3156){const _0x573b9e=a107_0x4e81,_0x5508e5=Math['max'](...Object[_0x573b9e(0xbc)](_0x1d3156)['map'](_0x24cdc3=>_0x24cdc3[_0x573b9e(0xd2)]),0x0);for(const [_0x31baa7,_0x31760d]of Object[_0x573b9e(0xcb)](_0x1d3156)){if(_0x31760d===undefined||_0x31760d===null)continue;const _0x5831aa=_0x31baa7[_0x573b9e(0xc0)](_0x5508e5);typeof _0x31760d===_0x573b9e(0xc3)?console[_0x573b9e(0xd6)](_0x5831aa+'\x20\x20'+JSON[_0x573b9e(0xba)](_0x31760d)):console[_0x573b9e(0xd6)](_0x5831aa+'\x20\x20'+_0x31760d);}}function printArrayPretty(_0x507b5e){const _0x529de4=a107_0x4e81;if(_0x507b5e[_0x529de4(0xd2)]===0x0){console['log'](_0x529de4(0xad));return;}console['log']('Found\x20'+_0x507b5e[_0x529de4(0xd2)]+_0x529de4(0xc7));for(const _0xc627e3 of _0x507b5e){if(typeof _0xc627e3===_0x529de4(0xc3)&&_0xc627e3!==null){const _0x8a762b=Object['entries'](_0xc627e3)[_0x529de4(0xb4)](([,_0x54a781])=>_0x54a781!=null&&_0x54a781!=='');if(_0x8a762b[_0x529de4(0xd2)]===0x0)continue;const _0x141cd8=Math[_0x529de4(0xb2)](..._0x8a762b[_0x529de4(0xab)](([_0x520e54])=>_0x520e54[_0x529de4(0xd2)]));for(const [_0x1b5b23,_0x5cf8f2]of _0x8a762b){const _0x193db9=typeof _0x5cf8f2===_0x529de4(0xc3)?JSON[_0x529de4(0xba)](_0x5cf8f2):String(_0x5cf8f2);console[_0x529de4(0xd6)]('\x20\x20'+_0x1b5b23['padEnd'](_0x141cd8)+'\x20\x20'+_0x193db9);}console['log']('');}else console[_0x529de4(0xd6)]('\x20\x20'+_0xc627e3);}}
1
+ function a122_0x3105(_0x3c3ff8,_0x1930b6){_0x3c3ff8=_0x3c3ff8-0x17b;const _0x2f7b13=a122_0x2f7b();let _0x310572=_0x2f7b13[_0x3c3ff8];return _0x310572;}(function(_0x5cca0d,_0x483b8b){const _0x32c6ab=a122_0x3105,_0x52d50b=_0x5cca0d();while(!![]){try{const _0x33cd5e=-parseInt(_0x32c6ab(0x18c))/0x1*(parseInt(_0x32c6ab(0x18a))/0x2)+parseInt(_0x32c6ab(0x1a6))/0x3+parseInt(_0x32c6ab(0x198))/0x4+parseInt(_0x32c6ab(0x184))/0x5+-parseInt(_0x32c6ab(0x1a4))/0x6*(-parseInt(_0x32c6ab(0x195))/0x7)+parseInt(_0x32c6ab(0x190))/0x8*(-parseInt(_0x32c6ab(0x1ab))/0x9)+parseInt(_0x32c6ab(0x194))/0xa;if(_0x33cd5e===_0x483b8b)break;else _0x52d50b['push'](_0x52d50b['shift']());}catch(_0xb81695){_0x52d50b['push'](_0x52d50b['shift']());}}}(a122_0x2f7b,0x1c205));import{applyJqFilter}from'../utils/apply-jq-filter.js';export function formatOutput(_0x294861,_0xe6a2da){const _0x20f786=a122_0x3105,{format:_0x30614e}=_0xe6a2da;switch(_0x30614e){case'json':printJson(_0x294861,_0xe6a2da);break;case'compress':printCompress(_0x294861,_0xe6a2da);break;case _0x20f786(0x1a7):default:printPretty(_0x294861,_0xe6a2da);break;}}function buildEnvelope(_0x4ab28b,_0x2efda6){const _0x435ea3=a122_0x3105,_0x570854={'ok':_0x4ab28b['ok'],'command':_0x2efda6[_0x435ea3(0x19e)],'risk':_0x2efda6[_0x435ea3(0x18d)]};if(_0x2efda6['dryRun'])_0x570854[_0x435ea3(0x17e)]=!![];if(_0x4ab28b[_0x435ea3(0x19d)]!==undefined)_0x570854[_0x435ea3(0x19d)]=_0x4ab28b[_0x435ea3(0x19d)];return!_0x4ab28b['ok']&&_0x4ab28b[_0x435ea3(0x180)]&&(_0x570854[_0x435ea3(0x17d)]={'code':_0x435ea3(0x192),'message':_0x4ab28b[_0x435ea3(0x180)]}),_0x570854;}function printJson(_0x1d409f,_0xa71f97){const _0x36e452=buildEnvelope(_0x1d409f,_0xa71f97),_0x3fbde9=JSON['stringify'](_0x36e452,null,0x2)+'\x0a';writeJsonWithOptionalJq(_0x3fbde9,_0xa71f97);}function a122_0x2f7b(){const _0x49be82=['error','dryRun','trim','message','\x20\x20Config:\x20\x20\x20','items','write','70980byxavL','map','stdout','project','meta','isArray','207722qSZpyT','Error:\x20','1LftTQQ','risk','object','(empty)','8PTCkoN','jqFilter','command_error','log','1467680EgkSZj','777bfWBkO','projectPath','stringify','387704yfVTJa','\x20(default\x20from\x20global\x20file)','\x20\x20Scope:\x20\x20\x20\x20','padEnd','scope','data','command','defaultApp','endsWith','keys','Found\x20','configPath','678lgRVGJ','filter','506040dWmJxK','pretty','length','\x20\x20Default\x20app:\x20\x20\x20\x20\x20','entries','1980423iNcszL','\x20(default\x20from\x20project\x20file)','max','(none)'];a122_0x2f7b=function(){return _0x49be82;};return a122_0x2f7b();}function printCompress(_0x404305,_0x4de794){const _0xd47ad0=buildEnvelope(_0x404305,_0x4de794),_0x47c174=JSON['stringify'](_0xd47ad0)+'\x0a';writeJsonWithOptionalJq(_0x47c174,_0x4de794);}function writeJsonWithOptionalJq(_0x5628d9,_0x5c42f2){const _0x141fb1=a122_0x3105,_0x4395b7=_0x5c42f2[_0x141fb1(0x191)]?.[_0x141fb1(0x17f)]();if(!_0x4395b7){process[_0x141fb1(0x186)]['write'](_0x5628d9);return;}const _0x1bb7b6=applyJqFilter(_0x5628d9,_0x4395b7);process[_0x141fb1(0x186)][_0x141fb1(0x183)](_0x1bb7b6[_0x141fb1(0x1a0)]('\x0a')?_0x1bb7b6:_0x1bb7b6+'\x0a');}function isListWithMetaData(_0x3cfe0d){const _0x2109f9=a122_0x3105;return typeof _0x3cfe0d==='object'&&_0x3cfe0d!==null&&_0x2109f9(0x182)in _0x3cfe0d&&Array[_0x2109f9(0x189)](_0x3cfe0d['items'])&&_0x2109f9(0x188)in _0x3cfe0d&&typeof _0x3cfe0d[_0x2109f9(0x188)]===_0x2109f9(0x18e)&&_0x3cfe0d['meta']!==null;}function printAppListMeta(_0x163426){const _0x59e54=a122_0x3105;if(_0x163426[_0x59e54(0x19c)]){const _0x118113=_0x163426[_0x59e54(0x1a3)]!=null?String(_0x163426[_0x59e54(0x1a3)]):'(none)';console[_0x59e54(0x193)](_0x59e54(0x19a)+String(_0x163426[_0x59e54(0x19c)])),console[_0x59e54(0x193)](_0x59e54(0x181)+_0x118113),console['log']();return;}const _0x421314=_0x163426['globalPath']!=null?String(_0x163426['globalPath']):_0x59e54(0x17c),_0x7bddf8=_0x163426[_0x59e54(0x196)]!=null?String(_0x163426[_0x59e54(0x196)]):_0x59e54(0x17c),_0x230bec=_0x163426[_0x59e54(0x19f)]!=null?String(_0x163426['defaultApp']):_0x59e54(0x17c),_0x46913d=_0x163426['defaultAppSource'],_0x3bccf3=_0x46913d===_0x59e54(0x187)?_0x59e54(0x1ac):_0x46913d==='global'?_0x59e54(0x199):'';console[_0x59e54(0x193)]('\x20\x20Global\x20config:\x20\x20\x20'+_0x421314),console['log']('\x20\x20Project\x20config:\x20\x20'+_0x7bddf8),console[_0x59e54(0x193)](_0x59e54(0x1a9)+_0x230bec+_0x3bccf3),console[_0x59e54(0x193)]();}function printPretty(_0x1e997e,_0xce6c72){const _0x4fd911=a122_0x3105;if(_0xce6c72[_0x4fd911(0x17e)]){console[_0x4fd911(0x193)]('[dry-run]\x20Would\x20execute:'),console[_0x4fd911(0x193)](JSON[_0x4fd911(0x197)](_0x1e997e[_0x4fd911(0x19d)],null,0x2));return;}if(!_0x1e997e['ok']){console[_0x4fd911(0x17d)](_0x4fd911(0x18b)+(_0x1e997e[_0x4fd911(0x180)]??'Unknown\x20error'));return;}const _0x2de108=_0x1e997e[_0x4fd911(0x19d)];if(_0x2de108===undefined||_0x2de108===null){if(_0x1e997e[_0x4fd911(0x180)])console[_0x4fd911(0x193)](_0x1e997e['message']);return;}if(isListWithMetaData(_0x2de108)){printAppListMeta(_0x2de108[_0x4fd911(0x188)]),printArrayPretty(_0x2de108[_0x4fd911(0x182)]);return;}if(Array[_0x4fd911(0x189)](_0x2de108)){printArrayPretty(_0x2de108);return;}if(typeof _0x2de108==='object'){printObjectPretty(_0x2de108);return;}console[_0x4fd911(0x193)](String(_0x2de108));}function printObjectPretty(_0x4eaaaa){const _0x4bfec9=a122_0x3105,_0x25c58d=Math[_0x4bfec9(0x17b)](...Object[_0x4bfec9(0x1a1)](_0x4eaaaa)[_0x4bfec9(0x185)](_0x5a8442=>_0x5a8442[_0x4bfec9(0x1a8)]),0x0);for(const [_0x57bee6,_0x44fe28]of Object[_0x4bfec9(0x1aa)](_0x4eaaaa)){if(_0x44fe28===undefined||_0x44fe28===null)continue;const _0x297a00=_0x57bee6[_0x4bfec9(0x19b)](_0x25c58d);typeof _0x44fe28===_0x4bfec9(0x18e)?console[_0x4bfec9(0x193)](_0x297a00+'\x20\x20'+JSON[_0x4bfec9(0x197)](_0x44fe28)):console[_0x4bfec9(0x193)](_0x297a00+'\x20\x20'+_0x44fe28);}}function printArrayPretty(_0x189526){const _0x31d341=a122_0x3105;if(_0x189526[_0x31d341(0x1a8)]===0x0){console[_0x31d341(0x193)](_0x31d341(0x18f));return;}console['log'](_0x31d341(0x1a2)+_0x189526[_0x31d341(0x1a8)]+'\x20items:\x0a');for(const _0x3d2326 of _0x189526){if(typeof _0x3d2326==='object'&&_0x3d2326!==null){const _0x58369f=Object[_0x31d341(0x1aa)](_0x3d2326)[_0x31d341(0x1a5)](([,_0x1563b0])=>_0x1563b0!=null&&_0x1563b0!=='');if(_0x58369f[_0x31d341(0x1a8)]===0x0)continue;const _0x19e605=Math[_0x31d341(0x17b)](..._0x58369f[_0x31d341(0x185)](([_0x40deb6])=>_0x40deb6[_0x31d341(0x1a8)]));for(const [_0x46f8d7,_0x5438ee]of _0x58369f){const _0x3d099d=typeof _0x5438ee===_0x31d341(0x18e)?JSON[_0x31d341(0x197)](_0x5438ee):String(_0x5438ee);console[_0x31d341(0x193)]('\x20\x20'+_0x46f8d7[_0x31d341(0x19b)](_0x19e605)+'\x20\x20'+_0x3d099d);}console[_0x31d341(0x193)]('');}else console['log']('\x20\x20'+_0x3d2326);}}
@@ -1 +1 @@
1
- function a108_0x3fd6(_0x4163a0,_0x35aad){_0x4163a0=_0x4163a0-0x19a;var _0x2ae01c=a108_0x2ae0();var _0x3fd653=_0x2ae01c[_0x4163a0];return _0x3fd653;}(function(_0x1211eb,_0x4fb3e4){var _0x23a6a0=a108_0x3fd6,_0x2d5113=_0x1211eb();while(!![]){try{var _0x1f06c9=parseInt(_0x23a6a0(0x1a8))/0x1*(parseInt(_0x23a6a0(0x19e))/0x2)+-parseInt(_0x23a6a0(0x1a3))/0x3+-parseInt(_0x23a6a0(0x1a6))/0x4+parseInt(_0x23a6a0(0x1a9))/0x5*(parseInt(_0x23a6a0(0x19a))/0x6)+parseInt(_0x23a6a0(0x1a0))/0x7*(parseInt(_0x23a6a0(0x1a2))/0x8)+parseInt(_0x23a6a0(0x1a7))/0x9*(parseInt(_0x23a6a0(0x19f))/0xa)+-parseInt(_0x23a6a0(0x19d))/0xb*(parseInt(_0x23a6a0(0x19b))/0xc);if(_0x1f06c9===_0x4fb3e4)break;else _0x2d5113['push'](_0x2d5113['shift']());}catch(_0x11836c){_0x2d5113['push'](_0x2d5113['shift']());}}}(a108_0x2ae0,0x5413b));export function extractList(_0x58f521){var _0x39d3ef=a108_0x3fd6;if(Array[_0x39d3ef(0x1a5)](_0x58f521))return _0x58f521;if(_0x58f521&&typeof _0x58f521===_0x39d3ef(0x19c))return _0x58f521[_0x39d3ef(0x1a4)]??[];return[];}export function extractPaging(_0x3b3ceb){var _0x175506=a108_0x3fd6;if(_0x3b3ceb&&typeof _0x3b3ceb===_0x175506(0x19c)&&!Array['isArray'](_0x3b3ceb))return _0x3b3ceb[_0x175506(0x1a1)];return undefined;}function a108_0x2ae0(){var _0x3bc95e=['50oZsFYp','153474JpXkxz','1020gugaTI','object','17677uNvlZZ','6fwMFJE','170xNWvxe','3717QPGbRb','paging','4536UqwHRB','1279470mtkUMz','tableData','isArray','1369564qYSzak','18657qjqgFn','219249pgwIcN'];a108_0x2ae0=function(){return _0x3bc95e;};return a108_0x2ae0();}
1
+ (function(_0x4bca52,_0x5f5864){var _0x348e38=a123_0x407d,_0x403ab2=_0x4bca52();while(!![]){try{var _0x1da214=parseInt(_0x348e38(0x129))/0x1+-parseInt(_0x348e38(0x12d))/0x2*(parseInt(_0x348e38(0x124))/0x3)+-parseInt(_0x348e38(0x127))/0x4+parseInt(_0x348e38(0x126))/0x5+-parseInt(_0x348e38(0x123))/0x6*(-parseInt(_0x348e38(0x12f))/0x7)+parseInt(_0x348e38(0x125))/0x8+-parseInt(_0x348e38(0x12c))/0x9*(parseInt(_0x348e38(0x12b))/0xa);if(_0x1da214===_0x5f5864)break;else _0x403ab2['push'](_0x403ab2['shift']());}catch(_0x5d5d01){_0x403ab2['push'](_0x403ab2['shift']());}}}(a123_0x578b,0x8ff64));function a123_0x407d(_0x200372,_0x4a8db4){_0x200372=_0x200372-0x123;var _0x578ba7=a123_0x578b();var _0x407de7=_0x578ba7[_0x200372];return _0x407de7;}export function extractList(_0x2910f3){var _0x993096=a123_0x407d;if(Array[_0x993096(0x12e)](_0x2910f3))return _0x2910f3;if(_0x2910f3&&typeof _0x2910f3===_0x993096(0x12a))return _0x2910f3[_0x993096(0x128)]??[];return[];}function a123_0x578b(){var _0x648c4=['tableData','779659aMVTtB','object','7330ZXCQfH','8235WzCxIy','14airsMa','isArray','7ClGeFG','4921758AvcgYG','186543UjPjsg','4350736hKIlId','1449635isSDcE','2952364GGfMPl'];a123_0x578b=function(){return _0x648c4;};return a123_0x578b();}export function extractPaging(_0x23517c){var _0x28835b=a123_0x407d;if(_0x23517c&&typeof _0x23517c===_0x28835b(0x12a)&&!Array[_0x28835b(0x12e)](_0x23517c))return _0x23517c['paging'];return undefined;}
@@ -1 +1 @@
1
- function a109_0x1181(_0x4721b3,_0x47ef49){_0x4721b3=_0x4721b3-0xd2;const _0x170702=a109_0x1707();let _0x1181e8=_0x170702[_0x4721b3];return _0x1181e8;}(function(_0x5d5e0f,_0x5ee881){const _0x4ec97b=a109_0x1181,_0x4fddd0=_0x5d5e0f();while(!![]){try{const _0x2245d1=parseInt(_0x4ec97b(0xfd))/0x1*(-parseInt(_0x4ec97b(0xfa))/0x2)+parseInt(_0x4ec97b(0xec))/0x3+parseInt(_0x4ec97b(0xf4))/0x4+-parseInt(_0x4ec97b(0x118))/0x5+-parseInt(_0x4ec97b(0xfe))/0x6+-parseInt(_0x4ec97b(0xe4))/0x7*(-parseInt(_0x4ec97b(0x117))/0x8)+parseInt(_0x4ec97b(0x112))/0x9;if(_0x2245d1===_0x5ee881)break;else _0x4fddd0['push'](_0x4fddd0['shift']());}catch(_0xef370a){_0x4fddd0['push'](_0x4fddd0['shift']());}}}(a109_0x1707,0x616a2));import{riskLevelOrder,normalizeLegacyOutputFormat}from'../framework/types.js';import{parseFlags,validateFlags}from'../framework/flags.js';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';function a109_0x1707(){const _0x122828=['join','verbose','resolveApiDomain','service','dryRun','string','5386869gxoWtN','format','stderr','number','yes','12352giXoYX','1299555aJaTKK','nonInteractive','authRequired','cancelled','json','\x22.\x20','resolveCookie','isNonInteractive','close','map','pretty','pagesize','.\x20Run\x20`','resolveAppCode','execute','Set\x20appcode\x20via\x20`','selectedAppName','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','\x22.\x0a','args','some','Operation\x20cancelled\x20by\x20user.','requiresAuth','`\x20has\x20risk\x20level\x20\x22','trim','1400oTGWWB','validation','Available\x20aliases:\x20','requiresAppCode','Unknown\x20alias\x20\x22','\x22.\x20visit\x20https://qizhiyuntu.feishu.cn/docx/JTiOdxQlXo2dQLxXVu6ctutcnme\x20for\x20more\x20information.','question','Command\x20`','348642vtHZVI','hasFormat','command','flags','length','\x0a\x20\x20\x20Continue?\x20[y/N]\x20','validate','type','2340464QrTLYn','apiDir','node:readline','defaultPageSize','riskLevel','⚠\x20\x20High-risk\x20operation:\x20','675258fjmjNt','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','configMissing','1KISCMS','3672726YgvFrK','dry-run','appCode','risk','toLowerCase','defaultVerbose','defaultFormat','alias','\x20api\x20pull`\x20first.','code','\x22,\x20which\x20exceeds\x20the\x20configured\x20riskLevel\x20\x22','--jq\x20only\x20applies\x20with\x20--format\x20json\x20or\x20--format\x20compress\x20(current:\x20','`\x20requires\x20either\x20--code\x20or\x20--alias.','defaultOutputFormat'];a109_0x1707=function(){return _0x122828;};return a109_0x1707();}import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';export async function runCommand(_0x535693,_0x1fad61){const _0x42ecb5=a109_0x1181,_0x541cad=CLI_BIN_NAME+'\x20'+_0x535693[_0x42ecb5(0x10f)]+'\x20'+_0x535693[_0x42ecb5(0xee)],_0x26efa3=parseFlags(_0x535693[_0x42ecb5(0xef)],_0x1fad61['rawFlags']);validateFlags(_0x535693[_0x42ecb5(0xef)],_0x26efa3,_0x541cad);if(!_0x26efa3[_0x42ecb5(0xff)]&&_0x1fad61['riskLevel']&&riskLevelOrder(_0x535693[_0x42ecb5(0x101)])>riskLevelOrder(_0x1fad61[_0x42ecb5(0xf8)])){if(_0x1fad61[_0x42ecb5(0xd2)])throw CliErrors[_0x42ecb5(0xe5)](_0x42ecb5(0xeb)+_0x541cad+_0x42ecb5(0xe2)+_0x535693[_0x42ecb5(0x101)]+_0x42ecb5(0x108)+_0x1fad61['riskLevel']+'\x22.');throw CliErrors[_0x42ecb5(0xe5)](_0x42ecb5(0xeb)+_0x541cad+_0x42ecb5(0xe2)+_0x535693['risk']+_0x42ecb5(0x108)+_0x1fad61[_0x42ecb5(0xf8)]+_0x42ecb5(0xdd)+('\x20\x20Edit\x20the\x20config\x20file\x20manually\x20and\x20set\x20riskLevel\x20to\x20\x22'+_0x535693[_0x42ecb5(0x101)]+_0x42ecb5(0xe9)));}const _0x35ba21=_0x1fad61['apiDir']||DEFAULT_API_DIR;resolveAliasToCode(_0x535693,_0x26efa3,_0x35ba21,_0x541cad);let _0x511b9a='';if(_0x535693[_0x42ecb5(0xe1)]!==![]){_0x511b9a=_0x1fad61[_0x42ecb5(0x11e)]();if(!_0x511b9a)throw CliErrors[_0x42ecb5(0x11a)]();const {setActiveCookie:_0x2b525a}=await import('../core/api-client.js');_0x2b525a(_0x511b9a);}let _0x108294='';if(_0x535693[_0x42ecb5(0xe7)]!==![]){_0x108294=_0x1fad61[_0x42ecb5(0xd8)]()??'';if(!_0x108294)throw CliErrors[_0x42ecb5(0xfc)](_0x42ecb5(0xda)+CLI_BIN_NAME+_0x42ecb5(0xfb));}let _0x560ae3=resolveFormat(_0x26efa3,_0x535693,_0x1fad61[_0x42ecb5(0x104)]);const _0xda2488=resolveJqFilter(_0x26efa3);_0xda2488&&_0x560ae3===_0x42ecb5(0xd5)&&(_0x560ae3=_0x42ecb5(0x11c));if(_0xda2488&&_0x560ae3!=='json'&&_0x560ae3!=='compress')throw CliErrors[_0x42ecb5(0xe5)](_0x42ecb5(0x109)+_0x560ae3+').');const _0x111b7a=buildRuntimeContext({'appCode':_0x108294,'cookie':_0x511b9a,'apiDomain':_0x1fad61[_0x42ecb5(0x10e)](),'format':_0x560ae3,'jqFilter':_0xda2488,'flags':_0x26efa3,'def':_0x535693,'nonInteractive':_0x1fad61[_0x42ecb5(0xd2)],'defaultPageSize':_0x1fad61['defaultPageSize'],'defaultVerbose':_0x1fad61[_0x42ecb5(0x103)],'apiDir':_0x35ba21,'selectedAppName':_0x1fad61['selectedAppName'],'args':_0x1fad61[_0x42ecb5(0xde)]??[]});_0x535693[_0x42ecb5(0xf2)]&&await _0x535693[_0x42ecb5(0xf2)](_0x111b7a);if(_0x26efa3[_0x42ecb5(0xff)]){if(!_0x535693['dryRun'])throw CliErrors[_0x42ecb5(0xe5)]('--dry-run\x20is\x20not\x20supported\x20for\x20`'+_0x541cad+'`.');const _0x53b469=await _0x535693[_0x42ecb5(0x110)](_0x111b7a);formatOutput({'ok':!![],'data':_0x53b469},{'command':_0x541cad,'risk':_0x535693['risk'],'format':_0x560ae3,'dryRun':!![],'jqFilter':_0xda2488});return;}if(_0x535693[_0x42ecb5(0x101)]==='high-risk-write'&&!_0x26efa3['yes']){if(_0x1fad61[_0x42ecb5(0xd2)])throw CliErrors[_0x42ecb5(0xe5)]('High-risk\x20operation\x20`'+_0x541cad+_0x42ecb5(0xdc));await requireConfirmation(_0x541cad);}const _0x3b7b0a=await _0x535693[_0x42ecb5(0xd9)](_0x111b7a);formatOutput(_0x3b7b0a,{'command':_0x541cad,'risk':_0x535693['risk'],'format':_0x560ae3,'jqFilter':_0xda2488});}function buildRuntimeContext(_0x3bbf62){const _0x246acf=a109_0x1181,{flags:_0x52bd7c,def:_0x1adc56}=_0x3bbf62,_0x55668c=CLI_BIN_NAME+'\x20'+_0x1adc56['service']+'\x20'+_0x1adc56[_0x246acf(0xee)];return{'appCode':_0x3bbf62[_0x246acf(0x100)],'cookie':_0x3bbf62['cookie'],'apiDomain':_0x3bbf62['apiDomain'],'format':_0x3bbf62['format'],'nonInteractive':_0x3bbf62[_0x246acf(0x119)],'apiDir':_0x3bbf62[_0x246acf(0xf5)],'selectedAppName':_0x3bbf62[_0x246acf(0xdb)],'args':_0x3bbf62['args'],'str'(_0x391120){return String(_0x52bd7c[_0x391120]??'');},'bool'(_0x104de1){const _0x5e63c6=_0x246acf;if(_0x52bd7c[_0x104de1]===!![])return!![];if(_0x104de1===_0x5e63c6(0x10d)&&_0x3bbf62[_0x5e63c6(0x103)])return!![];return![];},'num'(_0x47667e,_0x4faead){const _0x8f61d0=_0x246acf,_0x57d38c=_0x52bd7c[_0x47667e];if(typeof _0x57d38c===_0x8f61d0(0x115))return _0x57d38c;if(_0x47667e===_0x8f61d0(0xd6)&&_0x3bbf62[_0x8f61d0(0xf7)]!=null)return _0x3bbf62[_0x8f61d0(0xf7)];return _0x4faead??0x0;},'flag'(_0xf5b855){return _0x52bd7c[_0xf5b855];},'output'(_0x1b5b1d){const _0x217da4=_0x246acf;formatOutput(_0x1b5b1d,{'command':_0x55668c,'risk':_0x1adc56[_0x217da4(0x101)],'format':_0x3bbf62[_0x217da4(0x113)],'jqFilter':_0x3bbf62['jqFilter']});}};}function resolveJqFilter(_0x3d1a2d){const _0x3fa80b=a109_0x1181,_0x88bc68=_0x3d1a2d['jq'];if(_0x88bc68===undefined||_0x88bc68===null)return undefined;const _0x20f0ba=String(_0x88bc68)[_0x3fa80b(0xe3)]();return _0x20f0ba===''?undefined:_0x20f0ba;}function resolveFormat(_0xc5fc19,_0x352ab8,_0x4005d2){const _0x10a034=a109_0x1181;if(_0x352ab8[_0x10a034(0xed)]===![])return'pretty';const _0x1a3ba0=normalizeLegacyOutputFormat(_0xc5fc19[_0x10a034(0x113)]);if(_0x1a3ba0)return _0x1a3ba0;const _0x31a427=normalizeLegacyOutputFormat(_0x4005d2);if(_0x31a427)return _0x31a427;const _0x2c8842=normalizeLegacyOutputFormat(_0x352ab8[_0x10a034(0x10b)]);if(_0x2c8842)return _0x2c8842;return _0x10a034(0xd5);}async function requireConfirmation(_0x597e58){const _0x2799e3=a109_0x1181,_0x8961ab=await import(_0x2799e3(0xf6)),_0x2eb965=_0x8961ab['createInterface']({'input':process['stdin'],'output':process[_0x2799e3(0x114)]});return new Promise((_0x5f3c37,_0x305410)=>{const _0xd34f8a=_0x2799e3;_0x2eb965[_0xd34f8a(0xea)](_0xd34f8a(0xf9)+_0x597e58+_0xd34f8a(0xf1),_0x289f7d=>{const _0xc08faa=_0xd34f8a;_0x2eb965[_0xc08faa(0xd3)](),_0x289f7d[_0xc08faa(0x102)]()==='y'||_0x289f7d[_0xc08faa(0x102)]()===_0xc08faa(0x116)?_0x5f3c37():_0x305410(CliErrors[_0xc08faa(0x11b)](_0xc08faa(0xe0)));});});}function resolveAliasToCode(_0x2c7d47,_0x598666,_0x4599dc,_0x228df8){const _0x4c7e55=a109_0x1181,_0x6188c0=_0x2c7d47[_0x4c7e55(0xef)][_0x4c7e55(0xdf)](_0x5a4c94=>_0x5a4c94['name']===_0x4c7e55(0x107)&&_0x5a4c94[_0x4c7e55(0xf3)]===_0x4c7e55(0x111)),_0x39e9d1=_0x2c7d47['flags']['some'](_0x24c86a=>_0x24c86a['name']===_0x4c7e55(0x105)&&_0x24c86a[_0x4c7e55(0xf3)]==='string');if(!_0x6188c0||!_0x39e9d1)return;const _0x28cd12=_0x598666[_0x4c7e55(0x107)]?String(_0x598666[_0x4c7e55(0x107)]):'',_0x20c025=_0x598666[_0x4c7e55(0x105)]?String(_0x598666[_0x4c7e55(0x105)]):'';if(!_0x28cd12&&!_0x20c025)throw CliErrors['validation']('`'+_0x228df8+_0x4c7e55(0x10a));if(_0x20c025&&!_0x28cd12){const _0xe5bf49=resolveAlias(_0x4599dc,_0x20c025);if(!_0xe5bf49){const _0x27fad5=listAliases(_0x4599dc)[_0x4c7e55(0xd4)](_0x3f521d=>_0x3f521d[_0x4c7e55(0x105)]),_0x16fdbb=_0x27fad5[_0x4c7e55(0xf0)]?_0x4c7e55(0xe6)+_0x27fad5[_0x4c7e55(0x10c)](',\x20'):'No\x20api.ts\x20found\x20in\x20'+_0x4599dc+_0x4c7e55(0xd7)+CLI_BIN_NAME+_0x4c7e55(0x106);throw CliErrors['validation'](_0x4c7e55(0xe8)+_0x20c025+_0x4c7e55(0x11d)+_0x16fdbb);}_0x598666[_0x4c7e55(0x107)]=_0xe5bf49;}}
1
+ function a124_0x4553(){const _0x4c8e67=['name','some','execute','command','44ffxoip','code','pagesize','`\x20requires\x20either\x20--code\x20or\x20--alias.','Available\x20aliases:\x20','High-risk\x20operation\x20`','hasFormat','type','alias','flags','createInterface','3863850UTSUnm','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','length','Unknown\x20alias\x20\x22','24Lwptoo','334817tHUJeJ','625890sBOERW','pretty','Operation\x20cancelled\x20by\x20user.','yes','resolveAppCode','\x20\x20Edit\x20the\x20config\x20file\x20manually\x20and\x20set\x20riskLevel\x20to\x20\x22','--jq\x20only\x20applies\x20with\x20--format\x20json\x20or\x20--format\x20compress\x20(current:\x20','close','toLowerCase','\x22,\x20which\x20exceeds\x20the\x20configured\x20riskLevel\x20\x22','args','stdin','format','1434624FsJrCZ','161810ewenoD','157956rZfBKM','dry-run','selectedAppName','5972uiLHnW','stderr','resolveCookie','riskLevel','apiDir','defaultFormat','\x22.\x20','dryRun','resolveApiDomain','cancelled','apiDomain','isNonInteractive','`\x20has\x20risk\x20level\x20\x22','.\x20Run\x20`','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','service','node:readline','json','number','94vcjlKM','Set\x20appcode\x20via\x20`','compress','12zkjIba','No\x20api.ts\x20found\x20in\x20','defaultPageSize','high-risk-write','\x20api\x20pull`\x20first.','string','appCode','\x0a\x20\x20\x20Continue?\x20[y/N]\x20','defaultOutputFormat','cookie','⚠\x20\x20High-risk\x20operation:\x20','54FEmevj','risk','Command\x20`','\x22.\x20visit\x20https://qizhiyuntu.feishu.cn/docx/JTiOdxQlXo2dQLxXVu6ctutcnme\x20for\x20more\x20information.','defaultVerbose','requiresAuth','rawFlags','validation'];a124_0x4553=function(){return _0x4c8e67;};return a124_0x4553();}(function(_0x198522,_0x4bfe5b){const _0x1e6653=a124_0x230f,_0x22f660=_0x198522();while(!![]){try{const _0x36084f=-parseInt(_0x1e6653(0x1de))/0x1*(-parseInt(_0x1e6653(0x1f1))/0x2)+parseInt(_0x1e6653(0x1db))/0x3*(-parseInt(_0x1e6653(0x1bb))/0x4)+parseInt(_0x1e6653(0x1c6))/0x5+-parseInt(_0x1e6653(0x1f4))/0x6*(-parseInt(_0x1e6653(0x1cb))/0x7)+parseInt(_0x1e6653(0x1d9))/0x8+-parseInt(_0x1e6653(0x1ff))/0x9*(parseInt(_0x1e6653(0x1cc))/0xa)+parseInt(_0x1e6653(0x1da))/0xb*(parseInt(_0x1e6653(0x1ca))/0xc);if(_0x36084f===_0x4bfe5b)break;else _0x22f660['push'](_0x22f660['shift']());}catch(_0xe5f600){_0x22f660['push'](_0x22f660['shift']());}}}(a124_0x4553,0x626d6));import{riskLevelOrder,normalizeLegacyOutputFormat}from'../framework/types.js';import{parseFlags,validateFlags}from'../framework/flags.js';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a124_0x230f(_0x1622d1,_0xd4ed9f){_0x1622d1=_0x1622d1-0x1b0;const _0x4553b6=a124_0x4553();let _0x230f4b=_0x4553b6[_0x1622d1];return _0x230f4b;}import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';export async function runCommand(_0x517917,_0x5ecae2){const _0x2cd54a=a124_0x230f,_0x35addc=CLI_BIN_NAME+'\x20'+_0x517917[_0x2cd54a(0x1ed)]+'\x20'+_0x517917[_0x2cd54a(0x1ba)],_0x2790d9=parseFlags(_0x517917[_0x2cd54a(0x1c4)],_0x5ecae2[_0x2cd54a(0x1b5)]);validateFlags(_0x517917[_0x2cd54a(0x1c4)],_0x2790d9,_0x35addc);if(!_0x2790d9[_0x2cd54a(0x1dc)]&&_0x5ecae2[_0x2cd54a(0x1e1)]&&riskLevelOrder(_0x517917[_0x2cd54a(0x1b0)])>riskLevelOrder(_0x5ecae2[_0x2cd54a(0x1e1)])){if(_0x5ecae2[_0x2cd54a(0x1e9)])throw CliErrors[_0x2cd54a(0x1b6)](_0x2cd54a(0x1b1)+_0x35addc+_0x2cd54a(0x1ea)+_0x517917[_0x2cd54a(0x1b0)]+_0x2cd54a(0x1d5)+_0x5ecae2[_0x2cd54a(0x1e1)]+'\x22.');throw CliErrors[_0x2cd54a(0x1b6)](_0x2cd54a(0x1b1)+_0x35addc+_0x2cd54a(0x1ea)+_0x517917[_0x2cd54a(0x1b0)]+_0x2cd54a(0x1d5)+_0x5ecae2[_0x2cd54a(0x1e1)]+'\x22.\x0a'+(_0x2cd54a(0x1d1)+_0x517917[_0x2cd54a(0x1b0)]+_0x2cd54a(0x1b2)));}const _0x5b1f44=_0x5ecae2[_0x2cd54a(0x1e2)]||DEFAULT_API_DIR;resolveAliasToCode(_0x517917,_0x2790d9,_0x5b1f44,_0x35addc);let _0x5cf4dc='';if(_0x517917[_0x2cd54a(0x1b4)]!==![]){_0x5cf4dc=_0x5ecae2[_0x2cd54a(0x1e0)]();if(!_0x5cf4dc)throw CliErrors['authRequired']();const {setActiveCookie:_0x21d453}=await import('../core/api-client.js');_0x21d453(_0x5cf4dc);}let _0x1f8db4='';if(_0x517917['requiresAppCode']!==![]){_0x1f8db4=_0x5ecae2[_0x2cd54a(0x1d0)]()??'';if(!_0x1f8db4)throw CliErrors['configMissing'](_0x2cd54a(0x1f2)+CLI_BIN_NAME+_0x2cd54a(0x1ec));}let _0x5ec0=resolveFormat(_0x2790d9,_0x517917,_0x5ecae2[_0x2cd54a(0x1e3)]);const _0x4a1ca5=resolveJqFilter(_0x2790d9);_0x4a1ca5&&_0x5ec0===_0x2cd54a(0x1cd)&&(_0x5ec0='json');if(_0x4a1ca5&&_0x5ec0!==_0x2cd54a(0x1ef)&&_0x5ec0!==_0x2cd54a(0x1f3))throw CliErrors[_0x2cd54a(0x1b6)](_0x2cd54a(0x1d2)+_0x5ec0+').');const _0xd02a1b=buildRuntimeContext({'appCode':_0x1f8db4,'cookie':_0x5cf4dc,'apiDomain':_0x5ecae2[_0x2cd54a(0x1e6)](),'format':_0x5ec0,'jqFilter':_0x4a1ca5,'flags':_0x2790d9,'def':_0x517917,'nonInteractive':_0x5ecae2[_0x2cd54a(0x1e9)],'defaultPageSize':_0x5ecae2[_0x2cd54a(0x1f6)],'defaultVerbose':_0x5ecae2['defaultVerbose'],'apiDir':_0x5b1f44,'selectedAppName':_0x5ecae2[_0x2cd54a(0x1dd)],'args':_0x5ecae2[_0x2cd54a(0x1d6)]??[]});_0x517917['validate']&&await _0x517917['validate'](_0xd02a1b);if(_0x2790d9[_0x2cd54a(0x1dc)]){if(!_0x517917[_0x2cd54a(0x1e5)])throw CliErrors[_0x2cd54a(0x1b6)]('--dry-run\x20is\x20not\x20supported\x20for\x20`'+_0x35addc+'`.');const _0x57e7ba=await _0x517917[_0x2cd54a(0x1e5)](_0xd02a1b);formatOutput({'ok':!![],'data':_0x57e7ba},{'command':_0x35addc,'risk':_0x517917[_0x2cd54a(0x1b0)],'format':_0x5ec0,'dryRun':!![],'jqFilter':_0x4a1ca5});return;}if(_0x517917[_0x2cd54a(0x1b0)]===_0x2cd54a(0x1f7)&&!_0x2790d9['yes']){if(_0x5ecae2['isNonInteractive'])throw CliErrors[_0x2cd54a(0x1b6)](_0x2cd54a(0x1c0)+_0x35addc+_0x2cd54a(0x1c7));await requireConfirmation(_0x35addc);}const _0x2b0b19=await _0x517917[_0x2cd54a(0x1b9)](_0xd02a1b);formatOutput(_0x2b0b19,{'command':_0x35addc,'risk':_0x517917[_0x2cd54a(0x1b0)],'format':_0x5ec0,'jqFilter':_0x4a1ca5});}function buildRuntimeContext(_0xac3dd9){const _0x2d5c31=a124_0x230f,{flags:_0x101b9b,def:_0x4b4ce4}=_0xac3dd9,_0x2517a7=CLI_BIN_NAME+'\x20'+_0x4b4ce4[_0x2d5c31(0x1ed)]+'\x20'+_0x4b4ce4['command'];return{'appCode':_0xac3dd9[_0x2d5c31(0x1fa)],'cookie':_0xac3dd9[_0x2d5c31(0x1fd)],'apiDomain':_0xac3dd9[_0x2d5c31(0x1e8)],'format':_0xac3dd9[_0x2d5c31(0x1d8)],'nonInteractive':_0xac3dd9['nonInteractive'],'apiDir':_0xac3dd9[_0x2d5c31(0x1e2)],'selectedAppName':_0xac3dd9[_0x2d5c31(0x1dd)],'args':_0xac3dd9[_0x2d5c31(0x1d6)],'str'(_0x1f334d){return String(_0x101b9b[_0x1f334d]??'');},'bool'(_0x4ecaf4){const _0x2c7984=_0x2d5c31;if(_0x101b9b[_0x4ecaf4]===!![])return!![];if(_0x4ecaf4==='verbose'&&_0xac3dd9[_0x2c7984(0x1b3)])return!![];return![];},'num'(_0x32f467,_0x2d8721){const _0x55bca6=_0x2d5c31,_0x3e3c5e=_0x101b9b[_0x32f467];if(typeof _0x3e3c5e===_0x55bca6(0x1f0))return _0x3e3c5e;if(_0x32f467===_0x55bca6(0x1bd)&&_0xac3dd9[_0x55bca6(0x1f6)]!=null)return _0xac3dd9[_0x55bca6(0x1f6)];return _0x2d8721??0x0;},'flag'(_0x5f1607){return _0x101b9b[_0x5f1607];},'output'(_0x351824){const _0x133dad=_0x2d5c31;formatOutput(_0x351824,{'command':_0x2517a7,'risk':_0x4b4ce4[_0x133dad(0x1b0)],'format':_0xac3dd9[_0x133dad(0x1d8)],'jqFilter':_0xac3dd9['jqFilter']});}};}function resolveJqFilter(_0x32ab05){const _0x5159ed=_0x32ab05['jq'];if(_0x5159ed===undefined||_0x5159ed===null)return undefined;const _0x4cf2be=String(_0x5159ed)['trim']();return _0x4cf2be===''?undefined:_0x4cf2be;}function resolveFormat(_0x5bc22f,_0x18cf89,_0x39d504){const _0x6775e2=a124_0x230f;if(_0x18cf89[_0x6775e2(0x1c1)]===![])return _0x6775e2(0x1cd);const _0x3c9637=normalizeLegacyOutputFormat(_0x5bc22f[_0x6775e2(0x1d8)]);if(_0x3c9637)return _0x3c9637;const _0x2f3921=normalizeLegacyOutputFormat(_0x39d504);if(_0x2f3921)return _0x2f3921;const _0xfd1064=normalizeLegacyOutputFormat(_0x18cf89[_0x6775e2(0x1fc)]);if(_0xfd1064)return _0xfd1064;return'compress';}async function requireConfirmation(_0x156097){const _0x722164=a124_0x230f,_0x3fb362=await import(_0x722164(0x1ee)),_0xed7c73=_0x3fb362[_0x722164(0x1c5)]({'input':process[_0x722164(0x1d7)],'output':process[_0x722164(0x1df)]});return new Promise((_0x55f656,_0x29a080)=>{const _0x2dba90=_0x722164;_0xed7c73['question'](_0x2dba90(0x1fe)+_0x156097+_0x2dba90(0x1fb),_0x5db8df=>{const _0x484521=_0x2dba90;_0xed7c73[_0x484521(0x1d3)](),_0x5db8df[_0x484521(0x1d4)]()==='y'||_0x5db8df['toLowerCase']()===_0x484521(0x1cf)?_0x55f656():_0x29a080(CliErrors[_0x484521(0x1e7)](_0x484521(0x1ce)));});});}function resolveAliasToCode(_0x3b1f3f,_0x1a7040,_0x50a985,_0x25b23f){const _0x12c968=a124_0x230f,_0x108739=_0x3b1f3f['flags'][_0x12c968(0x1b8)](_0x355819=>_0x355819[_0x12c968(0x1b7)]==='code'&&_0x355819['type']===_0x12c968(0x1f9)),_0x4e3aeb=_0x3b1f3f[_0x12c968(0x1c4)][_0x12c968(0x1b8)](_0x2aeacb=>_0x2aeacb['name']===_0x12c968(0x1c3)&&_0x2aeacb[_0x12c968(0x1c2)]===_0x12c968(0x1f9));if(!_0x108739||!_0x4e3aeb)return;const _0x416fef=_0x1a7040[_0x12c968(0x1bc)]?String(_0x1a7040[_0x12c968(0x1bc)]):'',_0x2606f3=_0x1a7040[_0x12c968(0x1c3)]?String(_0x1a7040[_0x12c968(0x1c3)]):'';if(!_0x416fef&&!_0x2606f3)throw CliErrors[_0x12c968(0x1b6)]('`'+_0x25b23f+_0x12c968(0x1be));if(_0x2606f3&&!_0x416fef){const _0x3e74cd=resolveAlias(_0x50a985,_0x2606f3);if(!_0x3e74cd){const _0x19a575=listAliases(_0x50a985)['map'](_0x9cae6b=>_0x9cae6b['alias']),_0xaf00f1=_0x19a575[_0x12c968(0x1c8)]?_0x12c968(0x1bf)+_0x19a575['join'](',\x20'):_0x12c968(0x1f5)+_0x50a985+_0x12c968(0x1eb)+CLI_BIN_NAME+_0x12c968(0x1f8);throw CliErrors[_0x12c968(0x1b6)](_0x12c968(0x1c9)+_0x2606f3+_0x12c968(0x1e4)+_0xaf00f1);}_0x1a7040['code']=_0x3e74cd;}}
@@ -1 +1 @@
1
- (function(_0x5026af,_0x434cd9){const _0x545f1c=a110_0x1371,_0x7bef46=_0x5026af();while(!![]){try{const _0x48eccd=-parseInt(_0x545f1c(0x1e6))/0x1*(-parseInt(_0x545f1c(0x1e7))/0x2)+parseInt(_0x545f1c(0x1ce))/0x3*(-parseInt(_0x545f1c(0x1d2))/0x4)+-parseInt(_0x545f1c(0x1d7))/0x5+parseInt(_0x545f1c(0x1d4))/0x6*(parseInt(_0x545f1c(0x1d6))/0x7)+-parseInt(_0x545f1c(0x1c3))/0x8*(-parseInt(_0x545f1c(0x1ca))/0x9)+-parseInt(_0x545f1c(0x1eb))/0xa+parseInt(_0x545f1c(0x1da))/0xb;if(_0x48eccd===_0x434cd9)break;else _0x7bef46['push'](_0x7bef46['shift']());}catch(_0x378185){_0x7bef46['push'](_0x7bef46['shift']());}}}(a110_0x4279,0x1ec2d));import{buildAllFlags}from'../framework/build-all-flags.js';function a110_0x4279(){const _0xac24ed=['risk','helpExtra','tag','enum','hint','../commands/registry.js','trim','default','wildcardDef','source','5958aazeih','48kDmLRk','description','hasFormat','isSingleCommand','316780oueqhg','1018800WNSQpD','type','hidden','alias','name','required','regex','9kOVmIU','push','args','map','2313UOeAuX','requiresAuth','command','requiresAppCode','252LHKVEQ','<script>','50574QRLfYw','service','91wYlhQw','936225PVRczh','pattern','label','149314grJFEm','length'];a110_0x4279=function(){return _0xac24ed;};return a110_0x4279();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';function a110_0x1371(_0x1f2ea4,_0x236e33){_0x1f2ea4=_0x1f2ea4-0x1c3;const _0x427935=a110_0x4279();let _0x137111=_0x427935[_0x1f2ea4];return _0x137111;}function serializeFlag(_0x51ccf7){const _0x86313c=a110_0x1371,_0x3cb9d1={'name':_0x51ccf7[_0x86313c(0x1c7)],'type':_0x51ccf7[_0x86313c(0x1c4)],'description':_0x51ccf7[_0x86313c(0x1e8)]};if(_0x51ccf7[_0x86313c(0x1c8)]!==undefined)_0x3cb9d1[_0x86313c(0x1c8)]=_0x51ccf7[_0x86313c(0x1c8)];if(_0x51ccf7[_0x86313c(0x1e3)]!==undefined)_0x3cb9d1['default']=_0x51ccf7['default'];if(_0x51ccf7[_0x86313c(0x1df)]&&_0x51ccf7['enum']['length']>0x0)_0x3cb9d1['enum']=_0x51ccf7[_0x86313c(0x1df)];if(_0x51ccf7['alias'])_0x3cb9d1['alias']=_0x51ccf7[_0x86313c(0x1c6)];if(_0x51ccf7[_0x86313c(0x1c5)])_0x3cb9d1[_0x86313c(0x1c5)]=_0x51ccf7[_0x86313c(0x1c5)];return _0x51ccf7['pattern']&&(_0x3cb9d1[_0x86313c(0x1d8)]={'source':_0x51ccf7[_0x86313c(0x1d8)][_0x86313c(0x1c9)][_0x86313c(0x1e5)],'flags':_0x51ccf7[_0x86313c(0x1d8)][_0x86313c(0x1c9)]['flags'],'description':_0x51ccf7[_0x86313c(0x1d8)][_0x86313c(0x1e8)]}),_0x3cb9d1;}function serializeHelpExtra(_0x4027d2){const _0x1bef68=a110_0x1371;if(_0x4027d2[_0x1bef68(0x1dd)]===undefined)return undefined;if(typeof _0x4027d2[_0x1bef68(0x1dd)]==='function')return{'dynamic':!![]};return _0x4027d2[_0x1bef68(0x1dd)];}function serializeCommand(_0x2b0b0a,_0x4e5156){const _0x4d1547=a110_0x1371,_0x2b5d09=_0x2b0b0a[_0x4d1547(0x1cf)]!==![],_0x318b2c=_0x2b0b0a[_0x4d1547(0x1d1)]!==![],_0x4810ea=_0x2b0b0a[_0x4d1547(0x1e9)]!==![],_0x1f91ae=serializeHelpExtra(_0x2b0b0a);return{'command':_0x4e5156[_0x4d1547(0x1d0)],'description':_0x4e5156['description'],..._0x4e5156[_0x4d1547(0x1de)]?{'tag':_0x4e5156[_0x4d1547(0x1de)][_0x4d1547(0x1e2)]()}:{},'risk':_0x2b0b0a[_0x4d1547(0x1dc)],'requiresAuth':_0x2b5d09,'requiresAppCode':_0x318b2c,'hasFormat':_0x4810ea,'supportsDryRun':Boolean(_0x2b0b0a['dryRun']),..._0x2b0b0a[_0x4d1547(0x1cc)]&&_0x2b0b0a['args'][_0x4d1547(0x1db)]>0x0?{'args':_0x2b0b0a[_0x4d1547(0x1cc)]}:{},'flags':buildAllFlags(_0x2b0b0a)[_0x4d1547(0x1cd)](serializeFlag),..._0x1f91ae!==undefined?{'helpExtra':_0x1f91ae}:{}};}export async function buildSchemaPayload(){const _0x2f5275=a110_0x1371,{serviceRegistry:_0x2be31a,findDefinition:_0x1183f8}=await import(_0x2f5275(0x1e1)),_0x32f71e=[];for(const _0x19ea36 of _0x2be31a){const _0x678549=[];for(const _0x493c34 of _0x19ea36['commands']){const _0x459127=_0x493c34[_0x2f5275(0x1d0)]===_0x2f5275(0x1d3)&&_0x19ea36['wildcardDef']?_0x19ea36[_0x2f5275(0x1e4)]:_0x1183f8(_0x19ea36[_0x2f5275(0x1d5)],_0x493c34[_0x2f5275(0x1d0)]);if(!_0x459127)continue;_0x678549[_0x2f5275(0x1cb)](serializeCommand(_0x459127,_0x493c34));}_0x32f71e[_0x2f5275(0x1cb)]({'service':_0x19ea36[_0x2f5275(0x1d5)],'label':_0x19ea36[_0x2f5275(0x1d9)],..._0x19ea36[_0x2f5275(0x1ea)]?{'isSingleCommand':!![]}:{},..._0x19ea36['defaultCommand']?{'defaultCommand':_0x19ea36['defaultCommand']}:{},'hasWildcard':Boolean(_0x19ea36[_0x2f5275(0x1e4)]),'commands':_0x678549});}return{'schemaVersion':0x1,'cli':{'bin':CLI_BIN_NAME,'displayName':CLI_DISPLAY_NAME,'version':VERSION,'gitCommit':GIT_COMMIT},'globalFlags':GLOBAL_FLAGS['map'](_0x2661c8=>({'name':_0x2661c8[_0x2f5275(0x1c7)],'type':_0x2661c8[_0x2f5275(0x1c4)],'description':_0x2661c8[_0x2f5275(0x1e8)],..._0x2661c8[_0x2f5275(0x1e0)]?{'hint':_0x2661c8[_0x2f5275(0x1e0)]}:{},..._0x2661c8[_0x2f5275(0x1c5)]?{'hidden':!![]}:{}})),'services':_0x32f71e};}
1
+ function a125_0x33b6(_0x283b32,_0xd38494){_0x283b32=_0x283b32-0x74;const _0x6a4682=a125_0x6a46();let _0x33b6dc=_0x6a4682[_0x283b32];return _0x33b6dc;}(function(_0x16c662,_0x1a54b7){const _0x59ce17=a125_0x33b6,_0x30ee05=_0x16c662();while(!![]){try{const _0xeebcd9=parseInt(_0x59ce17(0x82))/0x1+-parseInt(_0x59ce17(0x91))/0x2*(parseInt(_0x59ce17(0x8a))/0x3)+parseInt(_0x59ce17(0x7a))/0x4*(-parseInt(_0x59ce17(0x75))/0x5)+parseInt(_0x59ce17(0x8e))/0x6+-parseInt(_0x59ce17(0x7f))/0x7*(parseInt(_0x59ce17(0x81))/0x8)+parseInt(_0x59ce17(0x9d))/0x9+parseInt(_0x59ce17(0x89))/0xa;if(_0xeebcd9===_0x1a54b7)break;else _0x30ee05['push'](_0x30ee05['shift']());}catch(_0x53a38f){_0x30ee05['push'](_0x30ee05['shift']());}}}(a125_0x6a46,0x66555));import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';function a125_0x6a46(){const _0x206661=['hidden','4450164CGAIaF','default','args','125130DsRNSO','tag','flags','service','regex','helpExtra','label','map','hasFormat','hint','alias','required','2329830naYpNx','function','<script>','1149865cqhAiG','requiresAuth','source','name','isSingleCommand','8caCldk','../commands/registry.js','description','length','type','11823sVBOAR','wildcardDef','952zuRvlT','364550CeVitl','risk','enum','command','dryRun','commands','defaultCommand','4031950OrtKwM','33jMSWJw','push','pattern'];a125_0x6a46=function(){return _0x206661;};return a125_0x6a46();}function serializeFlag(_0x48a758){const _0x29a5a7=a125_0x33b6,_0x46d0c1={'name':_0x48a758['name'],'type':_0x48a758[_0x29a5a7(0x7e)],'description':_0x48a758[_0x29a5a7(0x7c)]};if(_0x48a758['required']!==undefined)_0x46d0c1[_0x29a5a7(0x9c)]=_0x48a758[_0x29a5a7(0x9c)];if(_0x48a758[_0x29a5a7(0x8f)]!==undefined)_0x46d0c1['default']=_0x48a758[_0x29a5a7(0x8f)];if(_0x48a758[_0x29a5a7(0x84)]&&_0x48a758[_0x29a5a7(0x84)][_0x29a5a7(0x7d)]>0x0)_0x46d0c1[_0x29a5a7(0x84)]=_0x48a758[_0x29a5a7(0x84)];if(_0x48a758[_0x29a5a7(0x9b)])_0x46d0c1[_0x29a5a7(0x9b)]=_0x48a758[_0x29a5a7(0x9b)];if(_0x48a758[_0x29a5a7(0x8d)])_0x46d0c1[_0x29a5a7(0x8d)]=_0x48a758['hidden'];return _0x48a758[_0x29a5a7(0x8c)]&&(_0x46d0c1[_0x29a5a7(0x8c)]={'source':_0x48a758[_0x29a5a7(0x8c)][_0x29a5a7(0x95)][_0x29a5a7(0x77)],'flags':_0x48a758[_0x29a5a7(0x8c)][_0x29a5a7(0x95)][_0x29a5a7(0x93)],'description':_0x48a758[_0x29a5a7(0x8c)]['description']}),_0x46d0c1;}function serializeHelpExtra(_0x4126c1){const _0x3c7a81=a125_0x33b6;if(_0x4126c1['helpExtra']===undefined)return undefined;if(typeof _0x4126c1['helpExtra']===_0x3c7a81(0x9e))return{'dynamic':!![]};return _0x4126c1[_0x3c7a81(0x96)];}function serializeCommand(_0x44e29a,_0x22e06d){const _0x4f0c1a=a125_0x33b6,_0x37fee0=_0x44e29a[_0x4f0c1a(0x76)]!==![],_0x1d9082=_0x44e29a['requiresAppCode']!==![],_0x4ac3b0=_0x44e29a[_0x4f0c1a(0x99)]!==![],_0x4d14a0=serializeHelpExtra(_0x44e29a);return{'command':_0x22e06d['command'],'description':_0x22e06d[_0x4f0c1a(0x7c)],..._0x22e06d[_0x4f0c1a(0x92)]?{'tag':_0x22e06d[_0x4f0c1a(0x92)]['trim']()}:{},'risk':_0x44e29a[_0x4f0c1a(0x83)],'requiresAuth':_0x37fee0,'requiresAppCode':_0x1d9082,'hasFormat':_0x4ac3b0,'supportsDryRun':Boolean(_0x44e29a[_0x4f0c1a(0x86)]),..._0x44e29a[_0x4f0c1a(0x90)]&&_0x44e29a[_0x4f0c1a(0x90)][_0x4f0c1a(0x7d)]>0x0?{'args':_0x44e29a[_0x4f0c1a(0x90)]}:{},'flags':buildAllFlags(_0x44e29a)[_0x4f0c1a(0x98)](serializeFlag),..._0x4d14a0!==undefined?{'helpExtra':_0x4d14a0}:{}};}export async function buildSchemaPayload(){const _0x103619=a125_0x33b6,{serviceRegistry:_0x90054e,findDefinition:_0x2a1a5e}=await import(_0x103619(0x7b)),_0x3699ae=[];for(const _0x1776ec of _0x90054e){const _0x510949=[];for(const _0x144e63 of _0x1776ec[_0x103619(0x87)]){const _0x7b8cad=_0x144e63[_0x103619(0x85)]===_0x103619(0x74)&&_0x1776ec[_0x103619(0x80)]?_0x1776ec[_0x103619(0x80)]:_0x2a1a5e(_0x1776ec[_0x103619(0x94)],_0x144e63['command']);if(!_0x7b8cad)continue;_0x510949['push'](serializeCommand(_0x7b8cad,_0x144e63));}_0x3699ae[_0x103619(0x8b)]({'service':_0x1776ec[_0x103619(0x94)],'label':_0x1776ec[_0x103619(0x97)],..._0x1776ec[_0x103619(0x79)]?{'isSingleCommand':!![]}:{},..._0x1776ec[_0x103619(0x88)]?{'defaultCommand':_0x1776ec[_0x103619(0x88)]}:{},'hasWildcard':Boolean(_0x1776ec['wildcardDef']),'commands':_0x510949});}return{'schemaVersion':0x1,'cli':{'bin':CLI_BIN_NAME,'displayName':CLI_DISPLAY_NAME,'version':VERSION,'gitCommit':GIT_COMMIT},'globalFlags':GLOBAL_FLAGS['map'](_0x2949cf=>({'name':_0x2949cf[_0x103619(0x78)],'type':_0x2949cf['type'],'description':_0x2949cf[_0x103619(0x7c)],..._0x2949cf[_0x103619(0x9a)]?{'hint':_0x2949cf['hint']}:{},..._0x2949cf['hidden']?{'hidden':!![]}:{}})),'services':_0x3699ae};}
@@ -1 +1 @@
1
- function a111_0x1735(){const _0x20ea8e=['compress','1328369djpTJI','pretty','12553542BRXYGk','8872UKBifl','read','233883rvGCkl','38xRyTcf','116MtRveJ','36305Xwepki','40380930lLJSkd','3220zljzqM','568914GQFaij'];a111_0x1735=function(){return _0x20ea8e;};return a111_0x1735();}(function(_0x1e148c,_0x480132){const _0x18f259=a111_0x17d2,_0x1b7633=_0x1e148c();while(!![]){try{const _0x5bb8d7=parseInt(_0x18f259(0x9b))/0x1+parseInt(_0x18f259(0xa1))/0x2*(parseInt(_0x18f259(0xa0))/0x3)+-parseInt(_0x18f259(0xa2))/0x4*(-parseInt(_0x18f259(0xa3))/0x5)+-parseInt(_0x18f259(0x99))/0x6+parseInt(_0x18f259(0xa5))/0x7*(parseInt(_0x18f259(0x9e))/0x8)+parseInt(_0x18f259(0x9d))/0x9+-parseInt(_0x18f259(0xa4))/0xa;if(_0x5bb8d7===_0x480132)break;else _0x1b7633['push'](_0x1b7633['shift']());}catch(_0x725e83){_0x1b7633['push'](_0x1b7633['shift']());}}}(a111_0x1735,0xc16c7));function a111_0x17d2(_0x3c8383,_0x55fa98){_0x3c8383=_0x3c8383-0x99;const _0x17359b=a111_0x1735();let _0x17d243=_0x17359b[_0x3c8383];return _0x17d243;}export function riskLevelOrder(_0x14b9b0){const _0x444014=a111_0x17d2,_0x5a938f={'read':0x0,'write':0x1,'high-risk-write':0x2};return _0x5a938f[_0x14b9b0??_0x444014(0x9f)]??0x0;}export function isValidFormat(_0x804048){const _0x544747=a111_0x17d2;return _0x804048==='json'||_0x804048===_0x544747(0x9c)||_0x804048===_0x544747(0x9a);}export function normalizeLegacyOutputFormat(_0x1ca405){if(_0x1ca405==='table')return'pretty';if(isValidFormat(_0x1ca405))return _0x1ca405;return undefined;}
1
+ (function(_0x3fbaf3,_0x2f2983){const _0x3b686d=a126_0x1eca,_0x176434=_0x3fbaf3();while(!![]){try{const _0x2ad990=-parseInt(_0x3b686d(0xda))/0x1*(-parseInt(_0x3b686d(0xd7))/0x2)+-parseInt(_0x3b686d(0xe1))/0x3+parseInt(_0x3b686d(0xdd))/0x4*(-parseInt(_0x3b686d(0xd8))/0x5)+-parseInt(_0x3b686d(0xdf))/0x6*(-parseInt(_0x3b686d(0xe5))/0x7)+parseInt(_0x3b686d(0xe3))/0x8+-parseInt(_0x3b686d(0xe0))/0x9*(parseInt(_0x3b686d(0xdc))/0xa)+parseInt(_0x3b686d(0xde))/0xb*(-parseInt(_0x3b686d(0xd9))/0xc);if(_0x2ad990===_0x2f2983)break;else _0x176434['push'](_0x176434['shift']());}catch(_0x3d4f9e){_0x176434['push'](_0x176434['shift']());}}}(a126_0x14e4,0x82146));export function riskLevelOrder(_0x47b1db){const _0x55c804=a126_0x1eca,_0x317aa7={'read':0x0,'write':0x1,'high-risk-write':0x2};return _0x317aa7[_0x47b1db??_0x55c804(0xe2)]??0x0;}function a126_0x14e4(){const _0x173b31=['102688vHRgnZ','77VhBgJs','5375508uULVkT','25695rOJLEh','131835vcReoG','read','3717400TxctkE','compress','7BQWIKt','table','1788274MzlQoO','80cZLPVg','1433352AyHeNb','1uVXqih','pretty','1510ihWgIV'];a126_0x14e4=function(){return _0x173b31;};return a126_0x14e4();}function a126_0x1eca(_0x503255,_0x23a00f){_0x503255=_0x503255-0xd6;const _0x14e4e3=a126_0x14e4();let _0x1eca37=_0x14e4e3[_0x503255];return _0x1eca37;}export function isValidFormat(_0x17da0a){const _0x59995f=a126_0x1eca;return _0x17da0a==='json'||_0x17da0a===_0x59995f(0xdb)||_0x17da0a===_0x59995f(0xe4);}export function normalizeLegacyOutputFormat(_0x180e1f){const _0x489945=a126_0x1eca;if(_0x180e1f===_0x489945(0xd6))return _0x489945(0xdb);if(isValidFormat(_0x180e1f))return _0x180e1f;return undefined;}
@@ -1 +1 @@
1
- function a112_0x2b9f(){const _0x107a59=['30d1fa1','5961753Gqjdbs','820IEvhZu','v2.0.12','47984qRbwow','2774781UpVHiL','41239sQJIdA','2.0.12','115NODoti','171NGzPrc','22027476QYyfYk','2026-04-06T15:02:49.005Z','162032agLNyo','8804xKAmmC','6uATOzd','23sAvCYw'];a112_0x2b9f=function(){return _0x107a59;};return a112_0x2b9f();}const a112_0xdb3828=a112_0x5ec6;(function(_0x3cb248,_0x46235a){const _0x29bd59=a112_0x5ec6,_0x42e81d=_0x3cb248();while(!![]){try{const _0xe6bc06=parseInt(_0x29bd59(0x1c6))/0x1*(parseInt(_0x29bd59(0x1cb))/0x2)+-parseInt(_0x29bd59(0x1cc))/0x3+-parseInt(_0x29bd59(0x1c4))/0x4*(parseInt(_0x29bd59(0x1cf))/0x5)+-parseInt(_0x29bd59(0x1c5))/0x6*(parseInt(_0x29bd59(0x1c8))/0x7)+parseInt(_0x29bd59(0x1c3))/0x8*(-parseInt(_0x29bd59(0x1d0))/0x9)+parseInt(_0x29bd59(0x1c9))/0xa*(parseInt(_0x29bd59(0x1cd))/0xb)+parseInt(_0x29bd59(0x1d1))/0xc;if(_0xe6bc06===_0x46235a)break;else _0x42e81d['push'](_0x42e81d['shift']());}catch(_0x44f0a0){_0x42e81d['push'](_0x42e81d['shift']());}}}(a112_0x2b9f,0x75df2));function a112_0x5ec6(_0x5e1691,_0x49479f){_0x5e1691=_0x5e1691-0x1c3;const _0x2b9fe1=a112_0x2b9f();let _0x5ec620=_0x2b9fe1[_0x5e1691];return _0x5ec620;}export const VERSION=a112_0xdb3828(0x1ce);export const GIT_TAG=a112_0xdb3828(0x1ca);export const GIT_COMMIT=a112_0xdb3828(0x1c7);export const BUILD_TIME=a112_0xdb3828(0x1d2);
1
+ const a127_0x5275ad=a127_0x1c9b;(function(_0x350b94,_0x281e9e){const _0x5e1e1e=a127_0x1c9b,_0x121dcb=_0x350b94();while(!![]){try{const _0x493825=parseInt(_0x5e1e1e(0x12a))/0x1+parseInt(_0x5e1e1e(0x130))/0x2+-parseInt(_0x5e1e1e(0x12f))/0x3*(-parseInt(_0x5e1e1e(0x12c))/0x4)+-parseInt(_0x5e1e1e(0x129))/0x5+parseInt(_0x5e1e1e(0x12e))/0x6+parseInt(_0x5e1e1e(0x12d))/0x7*(-parseInt(_0x5e1e1e(0x12b))/0x8)+parseInt(_0x5e1e1e(0x132))/0x9*(parseInt(_0x5e1e1e(0x131))/0xa);if(_0x493825===_0x281e9e)break;else _0x121dcb['push'](_0x121dcb['shift']());}catch(_0x4c33b3){_0x121dcb['push'](_0x121dcb['shift']());}}}(a127_0xa30e,0xa4086));function a127_0x1c9b(_0x49cb8f,_0x3ba26c){_0x49cb8f=_0x49cb8f-0x129;const _0xa30e22=a127_0xa30e();let _0x1c9be7=_0xa30e22[_0x49cb8f];return _0x1c9be7;}function a127_0xa30e(){const _0x5b5532=['2652570CNixIc','2026-04-09T06:42:11.528Z','9c8f5c9','5616080hKtgoB','287027bcSRoc','3738968YtLlhZ','132bhhtPp','7iPYhwU','2215464cDWucF','99987sBPJkL','423214HQiSvE','10gBOELX'];a127_0xa30e=function(){return _0x5b5532;};return a127_0xa30e();}export const VERSION='2.1.1-beta.0';export const GIT_TAG='v2.1.1-beta.0';export const GIT_COMMIT=a127_0x5275ad(0x134);export const BUILD_TIME=a127_0x5275ad(0x133);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- function a113_0x9b37(_0x4f24e6,_0x436cc6){_0x4f24e6=_0x4f24e6-0x76;var _0x56fded=a113_0x56fd();var _0x9b37cc=_0x56fded[_0x4f24e6];return _0x9b37cc;}(function(_0x4b91f6,_0xf6d45e){var _0x486230=a113_0x9b37,_0x6cd731=_0x4b91f6();while(!![]){try{var _0x40568f=parseInt(_0x486230(0x77))/0x1+-parseInt(_0x486230(0x7d))/0x2*(parseInt(_0x486230(0x85))/0x3)+-parseInt(_0x486230(0x80))/0x4+parseInt(_0x486230(0x78))/0x5*(-parseInt(_0x486230(0x7f))/0x6)+parseInt(_0x486230(0x7c))/0x7*(-parseInt(_0x486230(0x79))/0x8)+parseInt(_0x486230(0x7a))/0x9*(parseInt(_0x486230(0x81))/0xa)+-parseInt(_0x486230(0x7e))/0xb*(-parseInt(_0x486230(0x76))/0xc);if(_0x40568f===_0xf6d45e)break;else _0x6cd731['push'](_0x6cd731['shift']());}catch(_0x4a2c1d){_0x6cd731['push'](_0x6cd731['shift']());}}}(a113_0x56fd,0xa66a8));import a113_0x504571 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a113_0x56fd(){var _0x3e7c56=['2046052qNiQMX','70FfSnyB','\x20\x20Use\x20','green','\x20--help','48aaRPUz','15262620caWtwe','893459dAhEKZ','331570UNRQMj','45488XKCZSO','983889lMbLYy','log','679byuRnz','115080FpuVdT','11OWuMrd','24cKUHwE'];a113_0x56fd=function(){return _0x3e7c56;};return a113_0x56fd();}export function showHelp(){var _0x2cb001=a113_0x9b37;console[_0x2cb001(0x7b)](),console[_0x2cb001(0x7b)](a113_0x504571[_0x2cb001(0x83)]['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x2cb001(0x7b)](),console[_0x2cb001(0x7b)](_0x2cb001(0x82)+a113_0x504571[_0x2cb001(0x83)]['bold'](CLI_BIN_NAME+_0x2cb001(0x84))+'\x20to\x20view\x20available\x20commands.'),console[_0x2cb001(0x7b)]();}
1
+ (function(_0x3d67c0,_0x4db1e9){var _0x546768=a128_0x3202,_0x4a29cd=_0x3d67c0();while(!![]){try{var _0x188103=-parseInt(_0x546768(0x6e))/0x1+-parseInt(_0x546768(0x72))/0x2*(parseInt(_0x546768(0x6d))/0x3)+parseInt(_0x546768(0x71))/0x4+-parseInt(_0x546768(0x6c))/0x5+parseInt(_0x546768(0x6f))/0x6*(-parseInt(_0x546768(0x79))/0x7)+parseInt(_0x546768(0x73))/0x8*(-parseInt(_0x546768(0x74))/0x9)+parseInt(_0x546768(0x75))/0xa;if(_0x188103===_0x4db1e9)break;else _0x4a29cd['push'](_0x4a29cd['shift']());}catch(_0x655d85){_0x4a29cd['push'](_0x4a29cd['shift']());}}}(a128_0x5286,0xe6c28));import a128_0x54fb73 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a128_0x3202(_0x38ae95,_0x5d7d8b){_0x38ae95=_0x38ae95-0x6b;var _0x52865d=a128_0x5286();var _0x320276=_0x52865d[_0x38ae95];return _0x320276;}export function showHelp(){var _0x187804=a128_0x3202;console[_0x187804(0x70)](),console[_0x187804(0x70)](a128_0x54fb73['green'][_0x187804(0x6b)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x187804(0x70)](),console[_0x187804(0x70)](_0x187804(0x76)+a128_0x54fb73[_0x187804(0x7a)][_0x187804(0x6b)](CLI_BIN_NAME+_0x187804(0x78))+_0x187804(0x77)),console[_0x187804(0x70)]();}function a128_0x5286(){var _0xba19cf=['2272612oifnMw','6VtqDYS','562064TYzYLM','198rXOwrJ','71456830SEdmvh','\x20\x20Use\x20','\x20to\x20view\x20available\x20commands.','\x20--help','7YCSAFb','green','bold','6495350Jhyrys','772323oaYyPT','1486336ayidBk','9991434ABHFFA','log'];a128_0x5286=function(){return _0xba19cf;};return a128_0x5286();}
@@ -1 +1 @@
1
- (function(_0x2f55b6,_0x2ea2d6){const _0x3e9bcf=a114_0x58f3,_0x46390b=_0x2f55b6();while(!![]){try{const _0x4ae015=parseInt(_0x3e9bcf(0x1bf))/0x1+parseInt(_0x3e9bcf(0x1ce))/0x2+-parseInt(_0x3e9bcf(0x1c5))/0x3*(parseInt(_0x3e9bcf(0x1b4))/0x4)+-parseInt(_0x3e9bcf(0x1c4))/0x5*(parseInt(_0x3e9bcf(0x1b7))/0x6)+-parseInt(_0x3e9bcf(0x1b9))/0x7+-parseInt(_0x3e9bcf(0x1cf))/0x8+parseInt(_0x3e9bcf(0x1b5))/0x9;if(_0x4ae015===_0x2ea2d6)break;else _0x46390b['push'](_0x46390b['shift']());}catch(_0x4cfd3d){_0x46390b['push'](_0x46390b['shift']());}}}(a114_0x2722,0x9ec2d));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function camelCaseFlagsToKebab(_0x12cac5){const _0x2783a2=a114_0x58f3,_0x141c0a=[];for(const [_0x1c0fa2,_0x54b237]of Object[_0x2783a2(0x1cd)](_0x12cac5)){if(_0x54b237===!![]){const _0x3977f5=_0x1c0fa2[_0x2783a2(0x1bc)](/([A-Z])/g,'-$1')[_0x2783a2(0x1c2)]();_0x141c0a[_0x2783a2(0x1c1)](_0x3977f5);}}return _0x141c0a;}export function parseDynamicFlags(){const _0x5e91d3=a114_0x58f3,_0x1ab1f0=[];for(let _0x541f16=0x3;_0x541f16<process['argv']['length'];_0x541f16++){const _0x392299=process['argv'][_0x541f16];if(_0x392299&&_0x392299[_0x5e91d3(0x1c7)]('--')){const _0x4e0682=_0x392299[_0x5e91d3(0x1d1)](0x2);_0x4e0682&&!_0x4e0682[_0x5e91d3(0x1be)]('=')&&_0x1ab1f0[_0x5e91d3(0x1c1)](_0x4e0682);}}return _0x1ab1f0;}export function getAllProvidedFlags(_0x6117fa){const _0x1a5f1d=a114_0x58f3,_0xb9308b=camelCaseFlagsToKebab(_0x6117fa),_0x17c733=parseDynamicFlags(),_0x429fb6=new Set([..._0xb9308b,..._0x17c733]);return Array[_0x1a5f1d(0x1d0)](_0x429fb6);}export function normalizeLegacyBffSaveFlags(_0x263f37){const _0x14464e=a114_0x58f3,_0x156c7d=new Set(_0x263f37);return _0x156c7d['has'](_0x14464e(0x1cb))&&_0x156c7d['add'](_0x14464e(0x1b3)),Array[_0x14464e(0x1d0)](_0x156c7d);}function a114_0x58f3(_0x642e8b,_0x21f0dc){_0x642e8b=_0x642e8b-0x1b2;const _0x272206=a114_0x2722();let _0x58f303=_0x272206[_0x642e8b];return _0x58f303;}const SKILLS_INSTALL_COMMAND_LINE='npx\x20-y\x20skills\x20add\x20lovrabet/rabetbase\x20--global';export async function skillsCommand(_0x4c63cb,_0x5cc005,_0x58f4bc){const _0x3d411e=a114_0x58f3;logger['setLogPath'](process[_0x3d411e(0x1c3)]());if(_0x58f4bc?.[_0x3d411e(0x1b6)]||_0x4c63cb===_0x3d411e(0x1cc)){showHelp();return;}console[_0x3d411e(0x1c6)](_0x3d411e(0x1c0)+(_0x4c63cb||_0x3d411e(0x1d2))),console[_0x3d411e(0x1c9)](_0x3d411e(0x1b8)),console['log']('\x20\x20'+CLI_BIN_NAME+'\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation'),console[_0x3d411e(0x1c9)]('\x20\x20'+CLI_BIN_NAME+_0x3d411e(0x1bb)),console[_0x3d411e(0x1c9)](''),console['log']('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0x3d411e(0x1c6)](_0x3d411e(0x1c8),_0x3d411e(0x1ba)+_0x4c63cb),process['exit'](0x1);}function a114_0x2722(){const _0x16605d=['8838040tabcWg','from','slice','(empty)','\x0aLovrabet\x20Skill\x20-\x20Developer\x20Skill\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','enable-bff-save','32WbJzTw','14288463YgeOrQ','help','1086mVeiwt','\x0aAvailable\x20commands:','2422658gExDYx','不支持的命令:\x20','\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a','replace','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/lovrabet/guides/.\x0a','includes','520568qvVkbO','Error:\x20Unsupported\x20command:\x20','push','toLowerCase','cwd','310odiwys','360228jWGjAf','error','startsWith','skill','log','\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20','dangerously-bff-save','--help','entries','1929578nQKqIU'];a114_0x2722=function(){return _0x16605d;};return a114_0x2722();}function showHelp(){const _0x52eda5=a114_0x58f3;console[_0x52eda5(0x1c9)](_0x52eda5(0x1b2)+CLI_BIN_NAME+'\x20skill\x20--help\x0a\x20\x20'+CLI_BIN_NAME+_0x52eda5(0x1ca)+SKILLS_INSTALL_COMMAND_LINE+_0x52eda5(0x1bd));}
1
+ const a129_0x24adb4=a129_0x96ab;function a129_0x1531(){const _0x1315fc=['length','skill','Equivalent\x20command:\x20','log','29898cAxnqs','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/lovrabet/guides/.\x0a','argv','enable-bff-save','670mMMHGs','854592nwkCeX','npx\x20-y\x20skills\x20add\x20lovrabet/rabetbase\x20--global','9VPNzcR','entries','\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation','help','push','49ZQeuHY','setLogPath','--help','\x20skill\x20--help\x0a\x20\x20','2671665gPfUbt','不支持的命令:\x20','toLowerCase','error','\x0aAvailable\x20commands:','add','from','\x0aLovrabet\x20Skill\x20-\x20Developer\x20Skill\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','includes','796314NlhyYA','\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20','cwd','2825656njwmzC','has','1704BnXarl','336lGFtSr','143253LCWgYZ','startsWith'];a129_0x1531=function(){return _0x1315fc;};return a129_0x1531();}(function(_0x564f15,_0x363a2b){const _0x39a238=a129_0x96ab,_0x32adf0=_0x564f15();while(!![]){try{const _0x3e0f37=-parseInt(_0x39a238(0x18a))/0x1*(-parseInt(_0x39a238(0x189))/0x2)+parseInt(_0x39a238(0x184))/0x3+-parseInt(_0x39a238(0x170))/0x4+-parseInt(_0x39a238(0x17b))/0x5+-parseInt(_0x39a238(0x191))/0x6*(parseInt(_0x39a238(0x177))/0x7)+-parseInt(_0x39a238(0x187))/0x8*(parseInt(_0x39a238(0x172))/0x9)+-parseInt(_0x39a238(0x195))/0xa*(-parseInt(_0x39a238(0x18b))/0xb);if(_0x3e0f37===_0x363a2b)break;else _0x32adf0['push'](_0x32adf0['shift']());}catch(_0xbd118){_0x32adf0['push'](_0x32adf0['shift']());}}}(a129_0x1531,0x465b6));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function camelCaseFlagsToKebab(_0x448115){const _0x468afc=a129_0x96ab,_0x3b01ce=[];for(const [_0x30b2f6,_0x7d5cb4]of Object[_0x468afc(0x173)](_0x448115)){if(_0x7d5cb4===!![]){const _0x12bb4a=_0x30b2f6['replace'](/([A-Z])/g,'-$1')[_0x468afc(0x17d)]();_0x3b01ce[_0x468afc(0x176)](_0x12bb4a);}}return _0x3b01ce;}export function parseDynamicFlags(){const _0x50f116=a129_0x96ab,_0x3b8eb8=[];for(let _0x5a3238=0x3;_0x5a3238<process[_0x50f116(0x193)][_0x50f116(0x18d)];_0x5a3238++){const _0x274c23=process['argv'][_0x5a3238];if(_0x274c23&&_0x274c23[_0x50f116(0x18c)]('--')){const _0xb5f20c=_0x274c23['slice'](0x2);_0xb5f20c&&!_0xb5f20c[_0x50f116(0x183)]('=')&&_0x3b8eb8['push'](_0xb5f20c);}}return _0x3b8eb8;}export function getAllProvidedFlags(_0xc05661){const _0x5593fa=a129_0x96ab,_0x406b67=camelCaseFlagsToKebab(_0xc05661),_0x58aa5f=parseDynamicFlags(),_0x91a9f8=new Set([..._0x406b67,..._0x58aa5f]);return Array[_0x5593fa(0x181)](_0x91a9f8);}export function normalizeLegacyBffSaveFlags(_0x2d5d38){const _0x5620ec=a129_0x96ab,_0x21ffd0=new Set(_0x2d5d38);return _0x21ffd0[_0x5620ec(0x188)]('dangerously-bff-save')&&_0x21ffd0[_0x5620ec(0x180)](_0x5620ec(0x194)),Array[_0x5620ec(0x181)](_0x21ffd0);}const SKILLS_INSTALL_COMMAND_LINE=a129_0x24adb4(0x171);function a129_0x96ab(_0x21c725,_0x1f28a7){_0x21c725=_0x21c725-0x170;const _0x15317a=a129_0x1531();let _0x96ab38=_0x15317a[_0x21c725];return _0x96ab38;}export async function skillsCommand(_0x4b25ce,_0x550d9e,_0x1f3e9e){const _0x2fdd9d=a129_0x24adb4;logger[_0x2fdd9d(0x178)](process[_0x2fdd9d(0x186)]());if(_0x1f3e9e?.[_0x2fdd9d(0x175)]||_0x4b25ce===_0x2fdd9d(0x179)){showHelp();return;}console[_0x2fdd9d(0x17e)]('Error:\x20Unsupported\x20command:\x20'+(_0x4b25ce||'(empty)')),console['log'](_0x2fdd9d(0x17f)),console[_0x2fdd9d(0x190)]('\x20\x20'+CLI_BIN_NAME+_0x2fdd9d(0x174)),console[_0x2fdd9d(0x190)]('\x20\x20'+CLI_BIN_NAME+'\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a'),console[_0x2fdd9d(0x190)](''),console[_0x2fdd9d(0x190)](_0x2fdd9d(0x18f)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x2fdd9d(0x17e)](_0x2fdd9d(0x18e),_0x2fdd9d(0x17c)+_0x4b25ce),process['exit'](0x1);}function showHelp(){const _0x20efc0=a129_0x24adb4;console[_0x20efc0(0x190)](_0x20efc0(0x182)+CLI_BIN_NAME+_0x20efc0(0x17a)+CLI_BIN_NAME+_0x20efc0(0x185)+SKILLS_INSTALL_COMMAND_LINE+_0x20efc0(0x192));}
@@ -1 +1 @@
1
- const a115_0x35489e=a115_0x1a5d;(function(_0x4f43bb,_0x431f2d){const _0x4b4559=a115_0x1a5d,_0x467814=_0x4f43bb();while(!![]){try{const _0x3d4c0d=-parseInt(_0x4b4559(0x135))/0x1*(-parseInt(_0x4b4559(0x126))/0x2)+parseInt(_0x4b4559(0x137))/0x3*(-parseInt(_0x4b4559(0x128))/0x4)+parseInt(_0x4b4559(0x13c))/0x5*(-parseInt(_0x4b4559(0x13b))/0x6)+-parseInt(_0x4b4559(0x139))/0x7*(-parseInt(_0x4b4559(0x11f))/0x8)+-parseInt(_0x4b4559(0x129))/0x9+-parseInt(_0x4b4559(0x12e))/0xa*(-parseInt(_0x4b4559(0x133))/0xb)+parseInt(_0x4b4559(0x12f))/0xc;if(_0x3d4c0d===_0x431f2d)break;else _0x467814['push'](_0x467814['shift']());}catch(_0x1fe446){_0x467814['push'](_0x467814['shift']());}}}(a115_0x3cdc,0x600c5));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const NPX_SKILLS_CLI='skills';export const NPX_SKILLS_SUBCOMMAND_ADD=a115_0x35489e(0x123);export const NPX_SKILLS_FLAG_SKILL=a115_0x35489e(0x127);export const RABETBASE_SKILL_SOURCE='lovrabet/lovrabet-skill';export const DEFAULT_RABETBASE_SKILL_NAME=a115_0x35489e(0x124);function a115_0x1a5d(_0xa6ba76,_0x3544f5){_0xa6ba76=_0xa6ba76-0x11e;const _0x3cdc9e=a115_0x3cdc();let _0x1a5dd1=_0x3cdc9e[_0xa6ba76];return _0x1a5dd1;}export function buildNpxSkillsAddArgv(_0xf83a06=DEFAULT_RABETBASE_SKILL_NAME){return[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0xf83a06];}export const NPX_SKILLS_ADD_COMMAND_LINE=[a115_0x35489e(0x131),...buildNpxSkillsAddArgv()][a115_0x35489e(0x12d)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x2a2c4a,_0x1023d2){const _0x4b4b67=a115_0x35489e;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5360f4=_0x1023d2?.['stdio']??_0x4b4b67(0x12c),_0x2c8e05=resolveNpmBin(_0x4b4b67(0x131)),_0x447907=buildNpxSkillsAddArgv(_0x1023d2?.[_0x4b4b67(0x120)]??DEFAULT_RABETBASE_SKILL_NAME),_0x13e8bb=[_0x2c8e05,..._0x447907]['join']('\x20');console[_0x4b4b67(0x122)]('*\x20'+_0x13e8bb);const _0x56379d=spawnSync(_0x2c8e05,_0x447907,{'cwd':_0x2a2c4a,'stdio':_0x5360f4,'env':process.env,'shell':![]}),_0x5a7a0f=_0x56379d[_0x4b4b67(0x130)];if(_0x5a7a0f===0x0)return{'ok':!![],'status':0x0};let _0x1717d7='exit\x20'+(_0x5a7a0f??_0x4b4b67(0x125));if(_0x5360f4===_0x4b4b67(0x121)){const _0x5da2cf=_0x56379d['stderr']?_0x56379d[_0x4b4b67(0x132)][_0x4b4b67(0x12b)]()[_0x4b4b67(0x136)]():'',_0x1c0b1f=_0x56379d[_0x4b4b67(0x11e)]?_0x56379d[_0x4b4b67(0x11e)][_0x4b4b67(0x12b)]()[_0x4b4b67(0x136)]():'';if(_0x5da2cf)_0x1717d7=_0x5da2cf;else{if(_0x1c0b1f)_0x1717d7=_0x1c0b1f;}}return{'ok':![],'status':_0x5a7a0f??null,'error':_0x1717d7};}export function runNpxSkillsRemove(_0xb5dffb,_0x27bd30){const _0x144c9b=a115_0x35489e;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2e2168=_0x27bd30?.[_0x144c9b(0x12a)]??_0x144c9b(0x12c),_0x59b7b2=resolveNpmBin(_0x144c9b(0x131)),_0xea9f0a=[NPX_FLAG_YES,NPX_SKILLS_CLI,'remove',RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x27bd30?.[_0x144c9b(0x120)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x27bd30?.[_0x144c9b(0x13a)]?['-y']:[]],_0x47f6e1=[_0x59b7b2,..._0xea9f0a][_0x144c9b(0x12d)]('\x20');console['log']('*\x20'+_0x47f6e1);const _0x3b9d6e=spawnSync(_0x59b7b2,_0xea9f0a,{'cwd':_0xb5dffb,'stdio':_0x2e2168,'env':process.env,'shell':![]}),_0x4a376f=_0x3b9d6e[_0x144c9b(0x130)];if(_0x4a376f===0x0)return{'ok':!![],'status':0x0};let _0x2f8c6b=_0x144c9b(0x138)+(_0x4a376f??_0x144c9b(0x125));if(_0x2e2168===_0x144c9b(0x121)){const _0x2c2d62=_0x3b9d6e[_0x144c9b(0x132)]?_0x3b9d6e[_0x144c9b(0x132)][_0x144c9b(0x12b)]()[_0x144c9b(0x136)]():'',_0x80077b=_0x3b9d6e[_0x144c9b(0x11e)]?_0x3b9d6e[_0x144c9b(0x11e)][_0x144c9b(0x12b)]()[_0x144c9b(0x136)]():'';if(_0x2c2d62)_0x2f8c6b=_0x2c2d62;else{if(_0x80077b)_0x2f8c6b=_0x80077b;}}return{'ok':![],'status':_0x4a376f??null,'error':_0x2f8c6b};}function a115_0x3cdc(){const _0x2f8c6c=['29630tnhIND','715452KAlEjT','status','npx','stderr','121ygnpYQ','--global','31633kQjuiG','trim','224169BRkayj','exit\x20','47908ZDdvTg','yes','96DgViNG','58465aHUMia','stdout','848mZsvSS','skill','pipe','log','add','Lovrabet','unknown','4kQHbkB','--skill','4rzyCNp','2031480ztclRL','stdio','toString','inherit','join'];a115_0x3cdc=function(){return _0x2f8c6c;};return a115_0x3cdc();}export function runNpxSkillsAddGlobal(_0x119489,_0x269bf4,_0x1fe232){const _0x4d2ed1=a115_0x35489e;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1bb81f=_0x1fe232?.[_0x4d2ed1(0x12a)]??_0x4d2ed1(0x12c),_0x1fde09=resolveNpmBin('npx'),_0x52dc3f=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x269bf4,_0x4d2ed1(0x134),..._0x1fe232?.[_0x4d2ed1(0x13a)]?['-y']:[]],_0x166f4e=[_0x1fde09,..._0x52dc3f][_0x4d2ed1(0x12d)]('\x20');console[_0x4d2ed1(0x122)]('*\x20'+_0x166f4e);const _0x1c737b=spawnSync(_0x1fde09,_0x52dc3f,{'cwd':_0x119489,'stdio':_0x1bb81f,'env':process.env,'shell':![]}),_0x12abc1=_0x1c737b[_0x4d2ed1(0x130)];if(_0x12abc1===0x0)return{'ok':!![],'status':0x0};let _0x67a72a=_0x4d2ed1(0x138)+(_0x12abc1??'unknown');if(_0x1bb81f===_0x4d2ed1(0x121)){const _0x481b85=_0x1c737b[_0x4d2ed1(0x132)]?_0x1c737b['stderr'][_0x4d2ed1(0x12b)]()[_0x4d2ed1(0x136)]():'',_0x1de1c7=_0x1c737b[_0x4d2ed1(0x11e)]?_0x1c737b['stdout'][_0x4d2ed1(0x12b)]()[_0x4d2ed1(0x136)]():'';if(_0x481b85)_0x67a72a=_0x481b85;else{if(_0x1de1c7)_0x67a72a=_0x1de1c7;}}return{'ok':![],'status':_0x12abc1??null,'error':_0x67a72a};}
1
+ const a130_0x14b15b=a130_0x1c51;(function(_0x17607c,_0x16eba4){const _0x3f6bd1=a130_0x1c51,_0xf39b81=_0x17607c();while(!![]){try{const _0x2a24b7=-parseInt(_0x3f6bd1(0x10b))/0x1*(-parseInt(_0x3f6bd1(0x113))/0x2)+parseInt(_0x3f6bd1(0x103))/0x3+parseInt(_0x3f6bd1(0xf9))/0x4*(parseInt(_0x3f6bd1(0x117))/0x5)+parseInt(_0x3f6bd1(0x115))/0x6*(parseInt(_0x3f6bd1(0x109))/0x7)+parseInt(_0x3f6bd1(0x110))/0x8+-parseInt(_0x3f6bd1(0x102))/0x9*(-parseInt(_0x3f6bd1(0x10e))/0xa)+-parseInt(_0x3f6bd1(0xfd))/0xb;if(_0x2a24b7===_0x16eba4)break;else _0xf39b81['push'](_0xf39b81['shift']());}catch(_0x31447d){_0xf39b81['push'](_0xf39b81['shift']());}}}(a130_0x1797,0xc0a4f));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const NPX_SKILLS_CLI=a130_0x14b15b(0x112);export const NPX_SKILLS_SUBCOMMAND_ADD='add';export const NPX_SKILLS_FLAG_SKILL=a130_0x14b15b(0x10f);export const RABETBASE_SKILL_SOURCE=a130_0x14b15b(0xff);export const DEFAULT_RABETBASE_SKILL_NAME=a130_0x14b15b(0x106);export function buildNpxSkillsAddArgv(_0x5ac50e=DEFAULT_RABETBASE_SKILL_NAME){return[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x5ac50e];}function a130_0x1797(){const _0x588846=['remove','7356DGgBGf','status','60raTdOH','unknown','517276unRFoF','stdout','npx','inherit','70766751oHoYCM','stdio','lovrabet/lovrabet-skill','exit\x20','toString','9vNYbei','3525249LAopIk','stderr','yes','Lovrabet','pipe','join','7259wGTJqo','--global','1pxZHLa','log','skill','9521240kMHZaH','--skill','7263440BVuwLP','trim','skills','2728170mAhzvN'];a130_0x1797=function(){return _0x588846;};return a130_0x1797();}export const NPX_SKILLS_ADD_COMMAND_LINE=[a130_0x14b15b(0xfb),...buildNpxSkillsAddArgv()][a130_0x14b15b(0x108)]('\x20');function a130_0x1c51(_0x204baf,_0x2eca86){_0x204baf=_0x204baf-0xf8;const _0x1797b4=a130_0x1797();let _0x1c51e9=_0x1797b4[_0x204baf];return _0x1c51e9;}export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x3b7cb2,_0x3622c3){const _0x4c4b3f=a130_0x14b15b;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2ad1c0=_0x3622c3?.[_0x4c4b3f(0xfe)]??_0x4c4b3f(0xfc),_0x2a46cc=resolveNpmBin(_0x4c4b3f(0xfb)),_0x4d6960=buildNpxSkillsAddArgv(_0x3622c3?.[_0x4c4b3f(0x10d)]??DEFAULT_RABETBASE_SKILL_NAME),_0x3cd8a6=[_0x2a46cc,..._0x4d6960][_0x4c4b3f(0x108)]('\x20');console[_0x4c4b3f(0x10c)]('*\x20'+_0x3cd8a6);const _0x59b9b8=spawnSync(_0x2a46cc,_0x4d6960,{'cwd':_0x3b7cb2,'stdio':_0x2ad1c0,'env':process.env,'shell':![]}),_0x56a819=_0x59b9b8[_0x4c4b3f(0x116)];if(_0x56a819===0x0)return{'ok':!![],'status':0x0};let _0x7e03c3=_0x4c4b3f(0x100)+(_0x56a819??_0x4c4b3f(0xf8));if(_0x2ad1c0===_0x4c4b3f(0x107)){const _0x5e6d84=_0x59b9b8[_0x4c4b3f(0x104)]?_0x59b9b8[_0x4c4b3f(0x104)][_0x4c4b3f(0x101)]()[_0x4c4b3f(0x111)]():'',_0x1fec5f=_0x59b9b8[_0x4c4b3f(0xfa)]?_0x59b9b8[_0x4c4b3f(0xfa)][_0x4c4b3f(0x101)]()[_0x4c4b3f(0x111)]():'';if(_0x5e6d84)_0x7e03c3=_0x5e6d84;else{if(_0x1fec5f)_0x7e03c3=_0x1fec5f;}}return{'ok':![],'status':_0x56a819??null,'error':_0x7e03c3};}export function runNpxSkillsRemove(_0x10ac02,_0x26a476){const _0xf7de43=a130_0x14b15b;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1dca2f=_0x26a476?.[_0xf7de43(0xfe)]??'inherit',_0x213731=resolveNpmBin(_0xf7de43(0xfb)),_0x3937f6=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0xf7de43(0x114),RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x26a476?.[_0xf7de43(0x10d)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x26a476?.[_0xf7de43(0x105)]?['-y']:[]],_0x195088=[_0x213731,..._0x3937f6]['join']('\x20');console['log']('*\x20'+_0x195088);const _0x196ff7=spawnSync(_0x213731,_0x3937f6,{'cwd':_0x10ac02,'stdio':_0x1dca2f,'env':process.env,'shell':![]}),_0x461cfe=_0x196ff7[_0xf7de43(0x116)];if(_0x461cfe===0x0)return{'ok':!![],'status':0x0};let _0x9cef43=_0xf7de43(0x100)+(_0x461cfe??_0xf7de43(0xf8));if(_0x1dca2f===_0xf7de43(0x107)){const _0x3ea309=_0x196ff7[_0xf7de43(0x104)]?_0x196ff7[_0xf7de43(0x104)]['toString']()[_0xf7de43(0x111)]():'',_0x2665a0=_0x196ff7[_0xf7de43(0xfa)]?_0x196ff7[_0xf7de43(0xfa)]['toString']()['trim']():'';if(_0x3ea309)_0x9cef43=_0x3ea309;else{if(_0x2665a0)_0x9cef43=_0x2665a0;}}return{'ok':![],'status':_0x461cfe??null,'error':_0x9cef43};}export function runNpxSkillsAddGlobal(_0x21e2ec,_0x547a03,_0x33a986){const _0xd4b57b=a130_0x14b15b;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0xb66933=_0x33a986?.[_0xd4b57b(0xfe)]??_0xd4b57b(0xfc),_0x1adbd8=resolveNpmBin('npx'),_0xbb05b4=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x547a03,_0xd4b57b(0x10a),..._0x33a986?.[_0xd4b57b(0x105)]?['-y']:[]],_0x46c2e6=[_0x1adbd8,..._0xbb05b4][_0xd4b57b(0x108)]('\x20');console[_0xd4b57b(0x10c)]('*\x20'+_0x46c2e6);const _0x50447c=spawnSync(_0x1adbd8,_0xbb05b4,{'cwd':_0x21e2ec,'stdio':_0xb66933,'env':process.env,'shell':![]}),_0x9a7f5e=_0x50447c[_0xd4b57b(0x116)];if(_0x9a7f5e===0x0)return{'ok':!![],'status':0x0};let _0x5da425='exit\x20'+(_0x9a7f5e??'unknown');if(_0xb66933==='pipe'){const _0x2e06d8=_0x50447c[_0xd4b57b(0x104)]?_0x50447c[_0xd4b57b(0x104)]['toString']()[_0xd4b57b(0x111)]():'',_0x386637=_0x50447c[_0xd4b57b(0xfa)]?_0x50447c[_0xd4b57b(0xfa)][_0xd4b57b(0x101)]()[_0xd4b57b(0x111)]():'';if(_0x2e06d8)_0x5da425=_0x2e06d8;else{if(_0x386637)_0x5da425=_0x386637;}}return{'ok':![],'status':_0x9a7f5e??null,'error':_0x5da425};}
@@ -1 +1 @@
1
- (function(_0xf263f9,_0x18d153){const _0x591070=a116_0x28ba,_0x67e339=_0xf263f9();while(!![]){try{const _0x5e88c1=parseInt(_0x591070(0xb9))/0x1+parseInt(_0x591070(0xb1))/0x2+-parseInt(_0x591070(0xbe))/0x3*(-parseInt(_0x591070(0xc2))/0x4)+parseInt(_0x591070(0xb8))/0x5+-parseInt(_0x591070(0xb6))/0x6+-parseInt(_0x591070(0xb5))/0x7*(parseInt(_0x591070(0xb2))/0x8)+-parseInt(_0x591070(0xb7))/0x9*(parseInt(_0x591070(0xb3))/0xa);if(_0x5e88c1===_0x18d153)break;else _0x67e339['push'](_0x67e339['shift']());}catch(_0x3e0161){_0x67e339['push'](_0x67e339['shift']());}}}(a116_0x43c4,0xd39d7));function a116_0x28ba(_0xf64458,_0x2a6ffe){_0xf64458=_0xf64458-0xaf;const _0x43c401=a116_0x43c4();let _0x28bab8=_0x43c401[_0xf64458];return _0x28bab8;}function a116_0x43c4(){const _0xa36e88=['310fZbdur','test','9065CLaPYg','2340408YiRsLT','100197SWoaHO','781460HsXtWL','1552559vnBPll','some','flags','durationMs','rabetbase.command','6ivNJch','error','command','message','2579628BYSETL','stringify','[REDACTED]','374172uhrAbD','9784zZrHbi'];a116_0x43c4=function(){return _0xa36e88;};return a116_0x43c4();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i];function isSensitiveKey(_0x48dab9){const _0xf558d=a116_0x28ba;return SENSITIVE_PATTERNS[_0xf558d(0xba)](_0x6d5f83=>_0x6d5f83[_0xf558d(0xb4)](_0x48dab9));}function sanitizeFlags(_0x45a72c){const _0x41bf7f=a116_0x28ba,_0x24b659={};for(const [_0x4241f4,_0xd435fc]of Object['entries'](_0x45a72c)){isSensitiveKey(_0x4241f4)?_0x24b659[_0x4241f4]=_0xd435fc!=null&&_0xd435fc!==''?_0x41bf7f(0xb0):_0xd435fc:_0x24b659[_0x4241f4]=_0xd435fc;}return _0x24b659;}export async function reportCommandTrace(_0x532ca2){const _0x11ce10=a116_0x28ba;try{const _0x1020e4=sanitizeFlags(_0x532ca2[_0x11ce10(0xbb)]);await sendCliTraceLog({'spanName':_0x11ce10(0xbd),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x532ca2['service'],'command.name':_0x532ca2[_0x11ce10(0xc0)],'command.flags':JSON[_0x11ce10(0xaf)](_0x1020e4),..._0x532ca2[_0x11ce10(0xbc)]!=null?{'command.duration_ms':_0x532ca2['durationMs']}:{},..._0x532ca2[_0x11ce10(0xbf)]?{'command.error':_0x532ca2['error']instanceof Error?_0x532ca2['error'][_0x11ce10(0xc1)]:String(_0x532ca2['error'])}:{}}});}catch{}}
1
+ (function(_0x3539a6,_0x2f2fcb){const _0x2b7513=a131_0x4832,_0x56583a=_0x3539a6();while(!![]){try{const _0x45427c=parseInt(_0x2b7513(0x1fb))/0x1*(-parseInt(_0x2b7513(0x1f2))/0x2)+parseInt(_0x2b7513(0x1f5))/0x3*(parseInt(_0x2b7513(0x1f1))/0x4)+-parseInt(_0x2b7513(0x1f8))/0x5+parseInt(_0x2b7513(0x1fd))/0x6*(-parseInt(_0x2b7513(0x1ed))/0x7)+parseInt(_0x2b7513(0x1ef))/0x8*(parseInt(_0x2b7513(0x1ff))/0x9)+-parseInt(_0x2b7513(0x1fc))/0xa+-parseInt(_0x2b7513(0x1f3))/0xb*(-parseInt(_0x2b7513(0x1e9))/0xc);if(_0x45427c===_0x2f2fcb)break;else _0x56583a['push'](_0x56583a['shift']());}catch(_0x31ce09){_0x56583a['push'](_0x56583a['shift']());}}}(a131_0x57c6,0x480d8));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i];function isSensitiveKey(_0x1dd957){const _0x118692=a131_0x4832;return SENSITIVE_PATTERNS[_0x118692(0x1ec)](_0x5b85af=>_0x5b85af[_0x118692(0x1f7)](_0x1dd957));}function sanitizeFlags(_0x2a6f62){const _0x1122c2=a131_0x4832,_0x1c89d4={};for(const [_0x1001e3,_0x4306e2]of Object[_0x1122c2(0x1fe)](_0x2a6f62)){isSensitiveKey(_0x1001e3)?_0x1c89d4[_0x1001e3]=_0x4306e2!=null&&_0x4306e2!==''?_0x1122c2(0x1ea):_0x4306e2:_0x1c89d4[_0x1001e3]=_0x4306e2;}return _0x1c89d4;}export async function reportCommandTrace(_0x2bc9df){const _0x5938e8=a131_0x4832;try{const _0x21987d=sanitizeFlags(_0x2bc9df[_0x5938e8(0x1f9)]);await sendCliTraceLog({'spanName':_0x5938e8(0x1ee),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x2bc9df[_0x5938e8(0x200)],'command.name':_0x2bc9df[_0x5938e8(0x1f0)],'command.flags':JSON[_0x5938e8(0x1eb)](_0x21987d),..._0x2bc9df[_0x5938e8(0x1f6)]!=null?{'command.duration_ms':_0x2bc9df[_0x5938e8(0x1f6)]}:{},..._0x2bc9df[_0x5938e8(0x1fa)]?{'command.error':_0x2bc9df[_0x5938e8(0x1fa)]instanceof Error?_0x2bc9df[_0x5938e8(0x1fa)][_0x5938e8(0x1f4)]:String(_0x2bc9df[_0x5938e8(0x1fa)])}:{}}});}catch{}}function a131_0x4832(_0x5a1089,_0x20cd3f){_0x5a1089=_0x5a1089-0x1e9;const _0x57c6ab=a131_0x57c6();let _0x483225=_0x57c6ab[_0x5a1089];return _0x483225;}function a131_0x57c6(){const _0x4e9c10=['4VaRuYi','1108943rofayT','message','7749UgtHJX','durationMs','test','2026905YXSllM','flags','error','88747ejbsAp','1765740FvzwzY','6AAzqNd','entries','3337740ktoAyP','service','48IaStpp','[REDACTED]','stringify','some','1906079JpxWXU','rabetbase.command','8mnpGtu','command','856cnJYcA'];a131_0x57c6=function(){return _0x4e9c10;};return a131_0x57c6();}
@@ -1 +1 @@
1
- (function(_0x2966a2,_0x3bb464){var _0x507b6f=a117_0x5146,_0x48ab82=_0x2966a2();while(!![]){try{var _0x1656f6=-parseInt(_0x507b6f(0xb3))/0x1*(-parseInt(_0x507b6f(0xac))/0x2)+parseInt(_0x507b6f(0xab))/0x3+-parseInt(_0x507b6f(0xa9))/0x4*(-parseInt(_0x507b6f(0xaf))/0x5)+parseInt(_0x507b6f(0xb5))/0x6+parseInt(_0x507b6f(0xb6))/0x7*(-parseInt(_0x507b6f(0xa8))/0x8)+parseInt(_0x507b6f(0xb2))/0x9*(parseInt(_0x507b6f(0xb1))/0xa)+-parseInt(_0x507b6f(0xaa))/0xb*(parseInt(_0x507b6f(0xae))/0xc);if(_0x1656f6===_0x3bb464)break;else _0x48ab82['push'](_0x48ab82['shift']());}catch(_0x22aa65){_0x48ab82['push'](_0x48ab82['shift']());}}}(a117_0x3ccf,0x6ddb6));function a117_0x3ccf(){var _0x103750=['3433BjAAbe','cli.help','2746782hRaExe','20496FWvokt','Failed\x20to\x20report\x20CLI\x20help\x20trace:','2440pAzPwv','3144208zsFTLt','10128613qtWpCW','2620116Qcvglc','242ahlZjF','service','24PFGnnj','5TayrUl','error','70UhWRPj','838242UxNMhu'];a117_0x3ccf=function(){return _0x103750;};return a117_0x3ccf();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a117_0x5146(_0x72e28e,_0x2d1cac){_0x72e28e=_0x72e28e-0xa7;var _0x3ccfed=a117_0x3ccf();var _0x5146e2=_0x3ccfed[_0x72e28e];return _0x5146e2;}export async function reportCliHelpTrace(_0x2a8c6d,_0x4f2f80){var _0x4faa81=a117_0x5146;try{await sendCliTraceLog({'spanName':_0x4faa81(0xb4),'logData':{'rabetbase.help.kind':_0x2a8c6d,..._0x4f2f80?.[_0x4faa81(0xad)]&&{'rabetbase.help.service':_0x4f2f80[_0x4faa81(0xad)]}}});}catch(_0xb7b8d5){console[_0x4faa81(0xb0)](_0x4faa81(0xa7),_0xb7b8d5);}}
1
+ (function(_0x2ae7fe,_0x32b9b8){var _0x3828be=a132_0x572f,_0x2970f0=_0x2ae7fe();while(!![]){try{var _0x56bbfb=parseInt(_0x3828be(0x120))/0x1+-parseInt(_0x3828be(0x11e))/0x2+parseInt(_0x3828be(0x125))/0x3*(-parseInt(_0x3828be(0x11f))/0x4)+parseInt(_0x3828be(0x11d))/0x5+parseInt(_0x3828be(0x121))/0x6+-parseInt(_0x3828be(0x122))/0x7+parseInt(_0x3828be(0x123))/0x8;if(_0x56bbfb===_0x32b9b8)break;else _0x2970f0['push'](_0x2970f0['shift']());}catch(_0x26b7c7){_0x2970f0['push'](_0x2970f0['shift']());}}}(a132_0x4e02,0xf2375));function a132_0x572f(_0x1976e3,_0x4fb05f){_0x1976e3=_0x1976e3-0x11c;var _0x4e029=a132_0x4e02();var _0x572f25=_0x4e029[_0x1976e3];return _0x572f25;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a132_0x4e02(){var _0x41eb1e=['7588625xYFHcN','2774562KuNCQV','56UGdVJr','251024EnJfNx','8524404RWqXqh','13617443JySykE','21284512ztdrJC','Failed\x20to\x20report\x20CLI\x20help\x20trace:','326850tZGBMM','service'];a132_0x4e02=function(){return _0x41eb1e;};return a132_0x4e02();}export async function reportCliHelpTrace(_0x5b8b29,_0x20c12a){var _0x453f66=a132_0x572f;try{await sendCliTraceLog({'spanName':'cli.help','logData':{'rabetbase.help.kind':_0x5b8b29,..._0x20c12a?.[_0x453f66(0x11c)]&&{'rabetbase.help.service':_0x20c12a['service']}}});}catch(_0x1247c1){console['error'](_0x453f66(0x124),_0x1247c1);}}
@@ -1 +1 @@
1
- function a118_0x2e3e(_0x53e526,_0x1cefdd){_0x53e526=_0x53e526-0x15a;const _0x49a73b=a118_0x49a7();let _0x2e3efe=_0x49a73b[_0x53e526];return _0x2e3efe;}(function(_0x4a80b4,_0x2213c7){const _0xad6d5f=a118_0x2e3e,_0xf24ffb=_0x4a80b4();while(!![]){try{const _0xa78519=-parseInt(_0xad6d5f(0x15b))/0x1*(parseInt(_0xad6d5f(0x15d))/0x2)+-parseInt(_0xad6d5f(0x15c))/0x3*(parseInt(_0xad6d5f(0x162))/0x4)+-parseInt(_0xad6d5f(0x15e))/0x5+-parseInt(_0xad6d5f(0x168))/0x6*(parseInt(_0xad6d5f(0x166))/0x7)+parseInt(_0xad6d5f(0x164))/0x8+parseInt(_0xad6d5f(0x167))/0x9+parseInt(_0xad6d5f(0x165))/0xa;if(_0xa78519===_0x2213c7)break;else _0xf24ffb['push'](_0xf24ffb['shift']());}catch(_0x2c2a91){_0xf24ffb['push'](_0xf24ffb['shift']());}}}(a118_0x49a7,0x2ae68));import a118_0x52adfb from'node:os';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';function a118_0x49a7(){const _0x4cb9ee=['8412440UnTSUG','7AxpEJj','2453580sFJTzM','1890126zvpQUg','username','79801ekBbLh','871665LXARer','6vlRtSX','890795ePsrLG','daily','user','production','4LThdhJ','userInfo','679952yxtzae'];a118_0x49a7=function(){return _0x4cb9ee;};return a118_0x49a7();}import{getSessionUserInfo}from'../auth/get-session-user.js';import{setTraceConfig,getOtelLoggerVersion}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x42cb87=a118_0x2e3e,_0x8fe9ba=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x1b674e=_0x8fe9ba?.[_0x42cb87(0x160)];setTraceConfig({'otelLoggerVersion':getOtelLoggerVersion(),'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!=='unknown'?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x42cb87(0x15f):_0x42cb87(0x161)),'username':_0x1b674e?.[_0x42cb87(0x15a)]??a118_0x52adfb[_0x42cb87(0x163)]()[_0x42cb87(0x15a)]??'rabetbase-cli',..._0x1b674e&&{'nickname':_0x1b674e['nickname']}}),cliOtelTraceInitialized=!![];}return _0x8fe9ba;}
1
+ (function(_0x1d0f82,_0x3ec0ca){const _0x213226=a133_0xb4a2,_0x2b260c=_0x1d0f82();while(!![]){try{const _0x14028f=parseInt(_0x213226(0xe2))/0x1*(parseInt(_0x213226(0xed))/0x2)+parseInt(_0x213226(0xe4))/0x3+-parseInt(_0x213226(0xee))/0x4*(-parseInt(_0x213226(0xe7))/0x5)+-parseInt(_0x213226(0xec))/0x6+parseInt(_0x213226(0xe6))/0x7*(-parseInt(_0x213226(0xe9))/0x8)+parseInt(_0x213226(0xea))/0x9+-parseInt(_0x213226(0xeb))/0xa;if(_0x14028f===_0x3ec0ca)break;else _0x2b260c['push'](_0x2b260c['shift']());}catch(_0x2af907){_0x2b260c['push'](_0x2b260c['shift']());}}}(a133_0x24ec,0x55316));import a133_0x333d90 from'node:os';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setTraceConfig,getOtelLoggerVersion}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';let cliOtelTraceInitialized=![];function a133_0x24ec(){const _0x2c0ab9=['80irzCeI','production','698031zeTHDY','username','1508773TgFGOQ','11810KXldcQ','nickname','8IxjXov','1510443FsPWcj','4443650xYUydm','50496qQkVMN','5794ikTIJc','652XskRvL','rabetbase-cli','unknown','userInfo','daily'];a133_0x24ec=function(){return _0x2c0ab9;};return a133_0x24ec();}function a133_0xb4a2(_0x4cfd9f,_0x505c74){_0x4cfd9f=_0x4cfd9f-0xe2;const _0x24ecca=a133_0x24ec();let _0xb4a2b8=_0x24ecca[_0x4cfd9f];return _0xb4a2b8;}export async function ensureCliOtelTraceConfig(){const _0x5dc468=a133_0xb4a2,_0x2c1913=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x324250=_0x2c1913?.['user'];setTraceConfig({'otelLoggerVersion':getOtelLoggerVersion(),'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x5dc468(0xf0)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x5dc468(0xf2):_0x5dc468(0xe3)),'username':_0x324250?.[_0x5dc468(0xe5)]??a133_0x333d90[_0x5dc468(0xf1)]()[_0x5dc468(0xe5)]??_0x5dc468(0xef),..._0x324250&&{'nickname':_0x324250[_0x5dc468(0xe8)]}}),cliOtelTraceInitialized=!![];}return _0x2c1913;}
@@ -1 +1 @@
1
- (function(_0x1845f5,_0x1b7714){const _0x55a02=a119_0x13ef,_0x15f408=_0x1845f5();while(!![]){try{const _0x48d26a=-parseInt(_0x55a02(0x182))/0x1*(-parseInt(_0x55a02(0x189))/0x2)+-parseInt(_0x55a02(0x186))/0x3+parseInt(_0x55a02(0x188))/0x4*(-parseInt(_0x55a02(0x18a))/0x5)+-parseInt(_0x55a02(0x183))/0x6+-parseInt(_0x55a02(0x18b))/0x7+parseInt(_0x55a02(0x180))/0x8*(parseInt(_0x55a02(0x185))/0x9)+parseInt(_0x55a02(0x181))/0xa;if(_0x48d26a===_0x1b7714)break;else _0x15f408['push'](_0x15f408['shift']());}catch(_0x9e452a){_0x15f408['push'](_0x15f408['shift']());}}}(a119_0x3658,0xeb089));import{shutdownTraces}from'@lovrabet/otel-logger';function a119_0x3658(){const _0xd0adb0=['SIGTERM','4700JpbmAz','886VQusWv','5285PwbZig','13002577aFOTEA','exit','once','8fZyZaa','41175790QDwnbp','2405RViavQ','6253026SJcCPC','beforeExit','10674135snBZip','3793965SFwhZD'];a119_0x3658=function(){return _0xd0adb0;};return a119_0x3658();}function a119_0x13ef(_0x49bcbe,_0x1b8c09){_0x49bcbe=_0x49bcbe-0x17e;const _0x365868=a119_0x3658();let _0x13ef6f=_0x365868[_0x49bcbe];return _0x13ef6f;}let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x4b44dd=a119_0x13ef;process[_0x4b44dd(0x17f)](_0x4b44dd(0x184),()=>{void flushOtelNodeIfUsed();});const _0x353cdd=()=>{const _0x591b46=_0x4b44dd;void flushOtelNodeIfUsed()['then'](()=>process[_0x591b46(0x17e)](0x0));};process[_0x4b44dd(0x17f)]('SIGINT',_0x353cdd),process[_0x4b44dd(0x17f)](_0x4b44dd(0x187),_0x353cdd);}export async function exitWithOtelShutdown(_0x29c087){const _0x2ac40a=a119_0x13ef;await flushOtelNodeIfUsed(),process[_0x2ac40a(0x17e)](_0x29c087);}
1
+ function a134_0x16af(_0x57e145,_0x5d117d){_0x57e145=_0x57e145-0x65;const _0x1690ac=a134_0x1690();let _0x16afee=_0x1690ac[_0x57e145];return _0x16afee;}(function(_0x5a317f,_0x415cd3){const _0x4aed37=a134_0x16af,_0x3a811f=_0x5a317f();while(!![]){try{const _0x3766d1=-parseInt(_0x4aed37(0x72))/0x1+parseInt(_0x4aed37(0x66))/0x2+parseInt(_0x4aed37(0x69))/0x3+-parseInt(_0x4aed37(0x65))/0x4+-parseInt(_0x4aed37(0x6e))/0x5*(-parseInt(_0x4aed37(0x6b))/0x6)+-parseInt(_0x4aed37(0x6d))/0x7*(parseInt(_0x4aed37(0x71))/0x8)+parseInt(_0x4aed37(0x67))/0x9*(parseInt(_0x4aed37(0x6f))/0xa);if(_0x3766d1===_0x415cd3)break;else _0x3a811f['push'](_0x3a811f['shift']());}catch(_0x2d6680){_0x3a811f['push'](_0x3a811f['shift']());}}}(a134_0x1690,0x96232));function a134_0x1690(){const _0x403be2=['3609AraIIY','exit','2630364qcgWeg','once','60486GFqVuw','then','28IeFWLT','155LOKRTb','19750TtaLjn','SIGTERM','2039384nqqbMK','654960yMpUXk','2831388ntYISW','2032374OkOAiJ'];a134_0x1690=function(){return _0x403be2;};return a134_0x1690();}import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x36cfc3=a134_0x16af;process[_0x36cfc3(0x6a)]('beforeExit',()=>{void flushOtelNodeIfUsed();});const _0x5c9bb4=()=>{const _0x3b3d7b=_0x36cfc3;void flushOtelNodeIfUsed()[_0x3b3d7b(0x6c)](()=>process['exit'](0x0));};process['once']('SIGINT',_0x5c9bb4),process[_0x36cfc3(0x6a)](_0x36cfc3(0x70),_0x5c9bb4);}export async function exitWithOtelShutdown(_0x5ec0e8){const _0x4d8799=a134_0x16af;await flushOtelNodeIfUsed(),process[_0x4d8799(0x68)](_0x5ec0e8);}
@@ -1 +1 @@
1
- function a120_0x4e77(){const _0x46c76e=['version','487267IWhFoj','traceparent','manual','4hCdBSN','43893396NpbJFD','2048963jzRYHH','340tYYqDq','5427425bBimZs','3zVQYnM','272QqvziM','traceName','125901pxVexT','logData','2294450nNJDeu','353816QByHJf','24hCdNkq'];a120_0x4e77=function(){return _0x46c76e;};return a120_0x4e77();}(function(_0x4730e0,_0x2451ba){const _0x58216d=a120_0x3352,_0x58c023=_0x4730e0();while(!![]){try{const _0x149929=parseInt(_0x58216d(0xde))/0x1+parseInt(_0x58216d(0xdd))/0x2*(-parseInt(_0x58216d(0xd8))/0x3)+-parseInt(_0x58216d(0xd3))/0x4*(-parseInt(_0x58216d(0xd7))/0x5)+parseInt(_0x58216d(0xdf))/0x6*(-parseInt(_0x58216d(0xd5))/0x7)+-parseInt(_0x58216d(0xd9))/0x8*(parseInt(_0x58216d(0xdb))/0x9)+-parseInt(_0x58216d(0xd6))/0xa*(parseInt(_0x58216d(0xe1))/0xb)+parseInt(_0x58216d(0xd4))/0xc;if(_0x149929===_0x2451ba)break;else _0x58c023['push'](_0x58c023['shift']());}catch(_0x331549){_0x58c023['push'](_0x58c023['shift']());}}}(a120_0x4e77,0xc2a73));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';function a120_0x3352(_0x1c0e65,_0x1931e7){_0x1c0e65=_0x1c0e65-0xd2;const _0x4e77a7=a120_0x4e77();let _0x335217=_0x4e77a7[_0x1c0e65];return _0x335217;}const DEFAULT_TRACE_NAME='rabetbase-cli';export async function sendCliTraceLog(_0xefdada){const _0x3191c3=a120_0x3352;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0xefdada[_0x3191c3(0xda)]??DEFAULT_TRACE_NAME,'version':_0xefdada[_0x3191c3(0xe0)]??getCliVersion(),'spanName':_0xefdada['spanName'],'eventType':_0x3191c3(0xd2),'logData':_0xefdada[_0x3191c3(0xdc)],..._0xefdada[_0x3191c3(0xe2)]&&{'traceparent':_0xefdada[_0x3191c3(0xe2)]}});}
1
+ const a135_0x5aa96d=a135_0x4f5a;(function(_0xebde42,_0x462b94){const _0x51e49c=a135_0x4f5a,_0x282d1e=_0xebde42();while(!![]){try{const _0x4f2f0c=parseInt(_0x51e49c(0x127))/0x1*(-parseInt(_0x51e49c(0x12a))/0x2)+parseInt(_0x51e49c(0x11d))/0x3+parseInt(_0x51e49c(0x126))/0x4+-parseInt(_0x51e49c(0x124))/0x5+parseInt(_0x51e49c(0x123))/0x6+parseInt(_0x51e49c(0x12c))/0x7*(parseInt(_0x51e49c(0x129))/0x8)+-parseInt(_0x51e49c(0x11e))/0x9;if(_0x4f2f0c===_0x462b94)break;else _0x282d1e['push'](_0x282d1e['shift']());}catch(_0x223b96){_0x282d1e['push'](_0x282d1e['shift']());}}}(a135_0x2ed1,0x2933d));import{sendTraceLog}from'@lovrabet/otel-logger';function a135_0x4f5a(_0x521b4a,_0x26b381){_0x521b4a=_0x521b4a-0x11d;const _0x2ed13d=a135_0x2ed1();let _0x4f5a85=_0x2ed13d[_0x521b4a];return _0x4f5a85;}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a135_0x5aa96d(0x12b);function a135_0x2ed1(){const _0x1cf998=['manual','647004LDggwo','1306025yLZHiV','version','532544HPCckK','59SFMdnI','traceparent','584HdRHda','1774lGITbY','rabetbase-cli','12509syZqGE','411900toJGaU','237762qTXdEg','traceName','spanName','logData'];a135_0x2ed1=function(){return _0x1cf998;};return a135_0x2ed1();}export async function sendCliTraceLog(_0x39c86a){const _0x552cee=a135_0x5aa96d;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x39c86a[_0x552cee(0x11f)]??DEFAULT_TRACE_NAME,'version':_0x39c86a[_0x552cee(0x125)]??getCliVersion(),'spanName':_0x39c86a[_0x552cee(0x120)],'eventType':_0x552cee(0x122),'logData':_0x39c86a[_0x552cee(0x121)],..._0x39c86a[_0x552cee(0x128)]&&{'traceparent':_0x39c86a[_0x552cee(0x128)]}});}
@@ -1 +1 @@
1
- const a122_0x5b8f4a=a122_0x1195;function a122_0x1195(_0x3dca60,_0x2c9808){_0x3dca60=_0x3dca60-0xf2;const _0x14387a=a122_0x1438();let _0x1195ef=_0x14387a[_0x3dca60];return _0x1195ef;}function a122_0x1438(){const _0x367ca6=['Claude\x20Code','windsurf','.windsurf','.trae/skills/lovrabet/SKILL.md','file','8ugHVfP','agent','Qoder\x20IDE','OpenCode\x20IDE','codex','133731hVZtwQ','10388JnHfcP','.cursorrules','Windsurf','Codex\x20IDE','codebuddy','.claude/skills/lovrabet/SKILL.md','opencode','SKILL.md.tpl','OpenCode','.opencode','.codex','.cline','6358140hjTkJW','claude','通用模板\x20-\x20兜底方案','Antigravity','133557URVrgF','trae','.qoder/skills/lovrabet/SKILL.md','.cursor/skills/rabetbase.md','cursor','cline','Codex','Windsurf\x20IDE','.cline/skills/lovrabet/SKILL.md','2286sFmpTC','Antigravity\x20IDE','716429ziuFty','8248760ewCCiL','qoder','.agent','.codebuddy/skills/lovrabet/SKILL.md','.qoder/rules/rabetbase.md','其他\x20(通用模板)','.opencode/skills/lovrabet/SKILL.md','530qxUfcB','CodeBuddy\x20IDE','2106dtLUJx','.trae'];a122_0x1438=function(){return _0x367ca6;};return a122_0x1438();}(function(_0x581a0d,_0x30fe01){const _0xcaec1f=a122_0x1195,_0xdbd49e=_0x581a0d();while(!![]){try{const _0x15ee32=-parseInt(_0xcaec1f(0xfd))/0x1+parseInt(_0xcaec1f(0x112))/0x2*(parseInt(_0xcaec1f(0x106))/0x3)+parseInt(_0xcaec1f(0x11f))/0x4*(parseInt(_0xcaec1f(0x110))/0x5)+-parseInt(_0xcaec1f(0xf9))/0x6+parseInt(_0xcaec1f(0x108))/0x7*(-parseInt(_0xcaec1f(0x119))/0x8)+-parseInt(_0xcaec1f(0x11e))/0x9+parseInt(_0xcaec1f(0x109))/0xa;if(_0x15ee32===_0x30fe01)break;else _0xdbd49e['push'](_0xdbd49e['shift']());}catch(_0x5278d5){_0xdbd49e['push'](_0xdbd49e['shift']());}}}(a122_0x1438,0x908db));export const CORE_IDE_CONFIGS={'cursor':{'name':'Cursor','description':'Cursor\x20IDE','folders':[a122_0x5b8f4a(0x120),'.cursor'],'files':[{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0x100),'template':'SKILL.md.tpl'}]},'windsurf':{'name':a122_0x5b8f4a(0x121),'description':a122_0x5b8f4a(0x104),'folders':[a122_0x5b8f4a(0x116)],'files':[{'type':a122_0x5b8f4a(0x118),'path':'.windsurf/workflows/rabetbase.md','template':'SKILL.md.tpl'}]},'claude':{'name':'Claude\x20Code','description':a122_0x5b8f4a(0x114),'folders':['.claude'],'files':[{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0xf2),'template':a122_0x5b8f4a(0xf4)}]},'cline':{'name':'Cline','description':'Cline\x20IDE','folders':[a122_0x5b8f4a(0xf8)],'files':[{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0x105),'template':'SKILL.md.tpl'}]},'codex':{'name':a122_0x5b8f4a(0x103),'description':a122_0x5b8f4a(0x122),'folders':[a122_0x5b8f4a(0xf7)],'files':[{'type':a122_0x5b8f4a(0x118),'path':'.codex/skills/lovrabet/SKILL.md','template':a122_0x5b8f4a(0xf4)}]},'opencode':{'name':a122_0x5b8f4a(0xf5),'description':a122_0x5b8f4a(0x11c),'folders':[a122_0x5b8f4a(0xf6)],'files':[{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0x10f),'template':'SKILL.md.tpl'}]},'qoder':{'name':'Qoder','description':a122_0x5b8f4a(0x11b),'folders':['.qoder'],'files':[{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0x10d),'template':a122_0x5b8f4a(0xf4)},{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0xff),'template':a122_0x5b8f4a(0xf4)}]},'codebuddy':{'name':'CodeBuddy','description':a122_0x5b8f4a(0x111),'folders':['.codebuddy'],'files':[{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0x10c),'template':'SKILL.md.tpl'}]},'trae':{'name':'Trae','description':'Trae\x20IDE','folders':[a122_0x5b8f4a(0x113)],'files':[{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0x117),'template':a122_0x5b8f4a(0xf4)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a122_0x5b8f4a(0x10e),'description':a122_0x5b8f4a(0xfb),'folders':[a122_0x5b8f4a(0x10b)],'files':[{'type':a122_0x5b8f4a(0x118),'path':'.agent/skills/lovrabet/SKILL.md','template':a122_0x5b8f4a(0xf4)}]},'antigravity':{'name':a122_0x5b8f4a(0xfc),'description':a122_0x5b8f4a(0x107),'folders':[a122_0x5b8f4a(0x10b)],'files':[{'type':a122_0x5b8f4a(0x118),'path':'.agent/skills/lovrabet/SKILL.md','template':a122_0x5b8f4a(0xf4)}]}};export const CORE_IDE_LIST=[a122_0x5b8f4a(0xfa),a122_0x5b8f4a(0x102),a122_0x5b8f4a(0x123),a122_0x5b8f4a(0x11d),a122_0x5b8f4a(0x101),a122_0x5b8f4a(0xf3),'qoder',a122_0x5b8f4a(0xfe),a122_0x5b8f4a(0x115)];export const IDE_LIST=['antigravity',a122_0x5b8f4a(0xfa),a122_0x5b8f4a(0x102),'codebuddy',a122_0x5b8f4a(0x11d),a122_0x5b8f4a(0x101),'opencode',a122_0x5b8f4a(0x10a),'trae',a122_0x5b8f4a(0x115),a122_0x5b8f4a(0x11a)];export const ALL_CORE_IDES=[a122_0x5b8f4a(0x101),a122_0x5b8f4a(0x115),a122_0x5b8f4a(0xfa),'cline',a122_0x5b8f4a(0x11d),a122_0x5b8f4a(0xf3),a122_0x5b8f4a(0x10a),'codebuddy',a122_0x5b8f4a(0xfe)];
1
+ const a137_0x2850b3=a137_0x1d9a;(function(_0x58e09e,_0x5b9839){const _0x4aa58f=a137_0x1d9a,_0xdc8ff=_0x58e09e();while(!![]){try{const _0x52072c=parseInt(_0x4aa58f(0x151))/0x1+-parseInt(_0x4aa58f(0x168))/0x2*(-parseInt(_0x4aa58f(0x16f))/0x3)+parseInt(_0x4aa58f(0x165))/0x4+parseInt(_0x4aa58f(0x16a))/0x5*(parseInt(_0x4aa58f(0x16c))/0x6)+-parseInt(_0x4aa58f(0x144))/0x7+-parseInt(_0x4aa58f(0x16e))/0x8*(-parseInt(_0x4aa58f(0x14c))/0x9)+parseInt(_0x4aa58f(0x14f))/0xa*(-parseInt(_0x4aa58f(0x174))/0xb);if(_0x52072c===_0x5b9839)break;else _0xdc8ff['push'](_0xdc8ff['shift']());}catch(_0x2b6291){_0xdc8ff['push'](_0xdc8ff['shift']());}}}(a137_0x1b5c,0x45200));export const CORE_IDE_CONFIGS={'cursor':{'name':'Cursor','description':a137_0x2850b3(0x141),'folders':['.cursorrules',a137_0x2850b3(0x150)],'files':[{'type':a137_0x2850b3(0x149),'path':a137_0x2850b3(0x140),'template':a137_0x2850b3(0x164)}]},'windsurf':{'name':'Windsurf','description':a137_0x2850b3(0x160),'folders':[a137_0x2850b3(0x170)],'files':[{'type':a137_0x2850b3(0x149),'path':a137_0x2850b3(0x159),'template':a137_0x2850b3(0x164)}]},'claude':{'name':a137_0x2850b3(0x15d),'description':a137_0x2850b3(0x15d),'folders':[a137_0x2850b3(0x15b)],'files':[{'type':a137_0x2850b3(0x149),'path':a137_0x2850b3(0x169),'template':'SKILL.md.tpl'}]},'cline':{'name':a137_0x2850b3(0x15c),'description':a137_0x2850b3(0x14a),'folders':[a137_0x2850b3(0x143)],'files':[{'type':'file','path':a137_0x2850b3(0x16b),'template':a137_0x2850b3(0x164)}]},'codex':{'name':a137_0x2850b3(0x148),'description':a137_0x2850b3(0x157),'folders':[a137_0x2850b3(0x171)],'files':[{'type':a137_0x2850b3(0x149),'path':a137_0x2850b3(0x13a),'template':'SKILL.md.tpl'}]},'opencode':{'name':a137_0x2850b3(0x142),'description':'OpenCode\x20IDE','folders':[a137_0x2850b3(0x158)],'files':[{'type':a137_0x2850b3(0x149),'path':a137_0x2850b3(0x162),'template':'SKILL.md.tpl'}]},'qoder':{'name':a137_0x2850b3(0x13b),'description':a137_0x2850b3(0x14d),'folders':[a137_0x2850b3(0x147)],'files':[{'type':a137_0x2850b3(0x149),'path':'.qoder/rules/rabetbase.md','template':a137_0x2850b3(0x164)},{'type':a137_0x2850b3(0x149),'path':a137_0x2850b3(0x163),'template':a137_0x2850b3(0x164)}]},'codebuddy':{'name':a137_0x2850b3(0x145),'description':'CodeBuddy\x20IDE','folders':[a137_0x2850b3(0x154)],'files':[{'type':a137_0x2850b3(0x149),'path':a137_0x2850b3(0x146),'template':a137_0x2850b3(0x164)}]},'trae':{'name':a137_0x2850b3(0x156),'description':a137_0x2850b3(0x152),'folders':[a137_0x2850b3(0x13e)],'files':[{'type':'file','path':'.trae/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]}};function a137_0x1d9a(_0x3fb840,_0x13157c){_0x3fb840=_0x3fb840-0x13a;const _0x1b5c5f=a137_0x1b5c();let _0x1d9adc=_0x1b5c5f[_0x3fb840];return _0x1d9adc;}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':'其他\x20(通用模板)','description':a137_0x2850b3(0x13c),'folders':[a137_0x2850b3(0x167)],'files':[{'type':a137_0x2850b3(0x149),'path':a137_0x2850b3(0x14b),'template':'SKILL.md.tpl'}]},'antigravity':{'name':a137_0x2850b3(0x15f),'description':a137_0x2850b3(0x13f),'folders':['.agent'],'files':[{'type':'file','path':a137_0x2850b3(0x14b),'template':a137_0x2850b3(0x164)}]}};export const CORE_IDE_LIST=[a137_0x2850b3(0x172),a137_0x2850b3(0x161),a137_0x2850b3(0x16d),a137_0x2850b3(0x15a),'cursor','opencode',a137_0x2850b3(0x155),a137_0x2850b3(0x14e),a137_0x2850b3(0x153)];function a137_0x1b5c(){const _0x46f102=['codebuddy','24oCuMOw','777aerxMJ','.windsurf','.codex','claude','agent','22VpOMgG','.codex/skills/lovrabet/SKILL.md','Qoder','通用模板\x20-\x20兜底方案','opencode','.trae','Antigravity\x20IDE','.cursor/skills/rabetbase.md','Cursor\x20IDE','OpenCode','.cline','3597223RDauJJ','CodeBuddy','.codebuddy/skills/lovrabet/SKILL.md','.qoder','Codex','file','Cline\x20IDE','.agent/skills/lovrabet/SKILL.md','1144593lDSYuE','Qoder\x20IDE','trae','4325660MxAygi','.cursor','449466rPWJNN','Trae\x20IDE','windsurf','.codebuddy','qoder','Trae','Codex\x20IDE','.opencode','.windsurf/workflows/rabetbase.md','codex','.claude','Cline','Claude\x20Code','cursor','Antigravity','Windsurf\x20IDE','cline','.opencode/skills/lovrabet/SKILL.md','.qoder/skills/lovrabet/SKILL.md','SKILL.md.tpl','1120968bOGhCh','antigravity','.agent','3556ofWths','.claude/skills/lovrabet/SKILL.md','226040XIWyiK','.cline/skills/lovrabet/SKILL.md','12OYNwSo'];a137_0x1b5c=function(){return _0x46f102;};return a137_0x1b5c();}export const IDE_LIST=[a137_0x2850b3(0x166),a137_0x2850b3(0x172),'cline',a137_0x2850b3(0x16d),a137_0x2850b3(0x15a),a137_0x2850b3(0x15e),a137_0x2850b3(0x13d),'qoder','trae','windsurf',a137_0x2850b3(0x173)];export const ALL_CORE_IDES=[a137_0x2850b3(0x15e),a137_0x2850b3(0x153),a137_0x2850b3(0x172),a137_0x2850b3(0x161),a137_0x2850b3(0x15a),a137_0x2850b3(0x13d),'qoder',a137_0x2850b3(0x16d),a137_0x2850b3(0x14e)];
@@ -1 +1 @@
1
- (function(_0x5460a1,_0x53b214){const _0x306359=a123_0x16b3,_0x2befd4=_0x5460a1();while(!![]){try{const _0x5975a3=-parseInt(_0x306359(0x1af))/0x1+-parseInt(_0x306359(0x1a4))/0x2*(-parseInt(_0x306359(0x1ab))/0x3)+-parseInt(_0x306359(0x1b0))/0x4*(-parseInt(_0x306359(0x19c))/0x5)+-parseInt(_0x306359(0x198))/0x6*(-parseInt(_0x306359(0x1a0))/0x7)+parseInt(_0x306359(0x1aa))/0x8*(-parseInt(_0x306359(0x1ad))/0x9)+-parseInt(_0x306359(0x194))/0xa+parseInt(_0x306359(0x19e))/0xb*(-parseInt(_0x306359(0x195))/0xc);if(_0x5975a3===_0x53b214)break;else _0x2befd4['push'](_0x2befd4['shift']());}catch(_0x56456c){_0x2befd4['push'](_0x2befd4['shift']());}}}(a123_0x56ec,0x717d8));function a123_0x16b3(_0x307d4e,_0x914877){_0x307d4e=_0x307d4e-0x194;const _0x56ecae=a123_0x56ec();let _0x16b3bc=_0x56ecae[_0x307d4e];return _0x16b3bc;}import{execFileSync}from'node:child_process';import{existsSync}from'node:fs';import{createRequire}from'node:module';import a123_0x2e4ee7 from'node:path';import{CliErrors}from'../errors.js';function a123_0x56ec(){const _0x1ab81f=['message','platform','535jDXWgd','jq.exe','1460129feoLHn','bin','49Jwdyvo','code','validation','pipe','32xLdUvo','stderr','trim','--jq\x20needs\x20a\x20jq\x20binary.\x20Bundled\x20path\x20(from\x20node-jq)\x20was\x20not\x20found\x20and\x20`jq`\x20is\x20not\x20on\x20PATH.\x20Reinstall\x20dependencies\x20(allow\x20install\x20scripts),\x20set\x20JQ_PATH\x20to\x20a\x20jq\x20executable,\x20or\x20install\x20jq:\x20https://jqlang.org/','e.g.\x20brew\x20install\x20jq\x20—\x20or\x20npm\x20install\x20with\x20scripts\x20enabled\x20so\x20node-jq\x20can\x20download\x20jq','win32','1912hBwdeh','112395smeSNw','jq:\x20','18HJOrIF','dirname','531287TkMhfe','33772sVjzND','2879280BgiFKK','60wJzEBt','ENOENT','join','381774VquZMN','resolve'];a123_0x56ec=function(){return _0x1ab81f;};return a123_0x56ec();}const MAX_BUFFER=0x32*0x400*0x400;function resolveJqBinary(){const _0x3dbbae=a123_0x16b3;try{const _0x1359bb=createRequire(import.meta.url),_0x3f0cc3=a123_0x2e4ee7[_0x3dbbae(0x1ae)](_0x1359bb[_0x3dbbae(0x199)]('node-jq/package.json')),_0x4a1c86=a123_0x2e4ee7[_0x3dbbae(0x197)](_0x3f0cc3,_0x3dbbae(0x19f)),_0x5e21a3=process[_0x3dbbae(0x19b)]===_0x3dbbae(0x1a9)?_0x3dbbae(0x19d):'jq',_0x1cc164=a123_0x2e4ee7['join'](_0x4a1c86,_0x5e21a3);if(existsSync(_0x1cc164))return _0x1cc164;}catch{}return'jq';}export function applyJqFilter(_0x1d77cd,_0xd7189f){const _0x2e95cb=a123_0x16b3,_0x41170c=resolveJqBinary();try{return execFileSync(_0x41170c,[_0xd7189f],{'input':_0x1d77cd,'encoding':'utf8','maxBuffer':MAX_BUFFER,'stdio':[_0x2e95cb(0x1a3),_0x2e95cb(0x1a3),'pipe']});}catch(_0x425e56){const _0xb8eadb=_0x425e56;if(_0xb8eadb[_0x2e95cb(0x1a1)]===_0x2e95cb(0x196))throw CliErrors[_0x2e95cb(0x1a2)](_0x2e95cb(0x1a7),_0x2e95cb(0x1a8));const _0x1dc6b5=_0xb8eadb[_0x2e95cb(0x1a5)]?.['toString']?.()[_0x2e95cb(0x1a6)]()??'',_0x529a52=(_0xb8eadb[_0x2e95cb(0x19a)]??String(_0x425e56))[_0x2e95cb(0x1a6)](),_0x476d5f=_0x1dc6b5||_0x529a52,_0x5bd40b=/^\s*jq:/i['test'](_0x476d5f)?_0x476d5f:_0x2e95cb(0x1ac)+_0x476d5f;throw CliErrors[_0x2e95cb(0x1a2)](_0x5bd40b);}}
1
+ (function(_0x41486a,_0x54a649){const _0x35ef3d=a138_0xb9c0,_0x5966a9=_0x41486a();while(!![]){try{const _0x9d9f24=-parseInt(_0x35ef3d(0x1f2))/0x1*(-parseInt(_0x35ef3d(0x1f4))/0x2)+parseInt(_0x35ef3d(0x209))/0x3+-parseInt(_0x35ef3d(0x207))/0x4*(-parseInt(_0x35ef3d(0x1f6))/0x5)+-parseInt(_0x35ef3d(0x201))/0x6*(-parseInt(_0x35ef3d(0x1ff))/0x7)+parseInt(_0x35ef3d(0x1f5))/0x8+parseInt(_0x35ef3d(0x1f7))/0x9+-parseInt(_0x35ef3d(0x208))/0xa;if(_0x9d9f24===_0x54a649)break;else _0x5966a9['push'](_0x5966a9['shift']());}catch(_0x196ae2){_0x5966a9['push'](_0x5966a9['shift']());}}}(a138_0x2040,0xb54db));import{execFileSync}from'node:child_process';function a138_0x2040(){const _0x280c1f=['join','stderr','1414210ZcUkti','resolve','2NqnaKg','11224936ykyNiq','35VTlRbb','2809629pRRbuf','toString','jq.exe','win32','dirname','bin','code','test','3376093GiFyNA','e.g.\x20brew\x20install\x20jq\x20—\x20or\x20npm\x20install\x20with\x20scripts\x20enabled\x20so\x20node-jq\x20can\x20download\x20jq','12twXKuT','jq:\x20','platform','pipe','utf8','trim','380676sNmoBO','49722890IIKHac','2863857BPkVuN','ENOENT','message'];a138_0x2040=function(){return _0x280c1f;};return a138_0x2040();}import{existsSync}from'node:fs';import{createRequire}from'node:module';import a138_0x448528 from'node:path';import{CliErrors}from'../errors.js';const MAX_BUFFER=0x32*0x400*0x400;function a138_0xb9c0(_0x5f4105,_0x6e5e04){_0x5f4105=_0x5f4105-0x1f0;const _0x204032=a138_0x2040();let _0xb9c032=_0x204032[_0x5f4105];return _0xb9c032;}function resolveJqBinary(){const _0x301c45=a138_0xb9c0;try{const _0x3204e7=createRequire(import.meta.url),_0xaf1eae=a138_0x448528[_0x301c45(0x1fb)](_0x3204e7[_0x301c45(0x1f3)]('node-jq/package.json')),_0xa5975e=a138_0x448528['join'](_0xaf1eae,_0x301c45(0x1fc)),_0xbc247=process[_0x301c45(0x203)]===_0x301c45(0x1fa)?_0x301c45(0x1f9):'jq',_0x2a1566=a138_0x448528[_0x301c45(0x1f0)](_0xa5975e,_0xbc247);if(existsSync(_0x2a1566))return _0x2a1566;}catch{}return'jq';}export function applyJqFilter(_0x3d9a5a,_0x3f869a){const _0x47cab1=a138_0xb9c0,_0x3dc96d=resolveJqBinary();try{return execFileSync(_0x3dc96d,[_0x3f869a],{'input':_0x3d9a5a,'encoding':_0x47cab1(0x205),'maxBuffer':MAX_BUFFER,'stdio':[_0x47cab1(0x204),_0x47cab1(0x204),_0x47cab1(0x204)]});}catch(_0x7b1591){const _0x1e697b=_0x7b1591;if(_0x1e697b[_0x47cab1(0x1fd)]===_0x47cab1(0x20a))throw CliErrors['validation']('--jq\x20needs\x20a\x20jq\x20binary.\x20Bundled\x20path\x20(from\x20node-jq)\x20was\x20not\x20found\x20and\x20`jq`\x20is\x20not\x20on\x20PATH.\x20Reinstall\x20dependencies\x20(allow\x20install\x20scripts),\x20set\x20JQ_PATH\x20to\x20a\x20jq\x20executable,\x20or\x20install\x20jq:\x20https://jqlang.org/',_0x47cab1(0x200));const _0x50173d=_0x1e697b[_0x47cab1(0x1f1)]?.[_0x47cab1(0x1f8)]?.()[_0x47cab1(0x206)]()??'',_0x5701e9=(_0x1e697b[_0x47cab1(0x20b)]??String(_0x7b1591))[_0x47cab1(0x206)](),_0x5588de=_0x50173d||_0x5701e9,_0x1cf332=/^\s*jq:/i[_0x47cab1(0x1fe)](_0x5588de)?_0x5588de:_0x47cab1(0x202)+_0x5588de;throw CliErrors['validation'](_0x1cf332);}}