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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/api-doc/index.js +1 -1
  3. package/lib/commands/app/cache.js +1 -1
  4. package/lib/commands/app/definitions.js +1 -1
  5. package/lib/commands/app/eligibility.js +1 -1
  6. package/lib/commands/app/mock-loader.js +1 -1
  7. package/lib/commands/app/remote-source.js +1 -1
  8. package/lib/commands/app/shared.js +1 -1
  9. package/lib/commands/app-config/get.js +1 -1
  10. package/lib/commands/app-config/index.js +1 -1
  11. package/lib/commands/approval/index.js +1 -1
  12. package/lib/commands/artifact/index.js +1 -1
  13. package/lib/commands/auth/device.js +1 -1
  14. package/lib/commands/auth/index.js +1 -1
  15. package/lib/commands/auth/prompt.js +1 -1
  16. package/lib/commands/bff/detail.js +1 -1
  17. package/lib/commands/bff/exec.js +1 -1
  18. package/lib/commands/bff/index.js +1 -1
  19. package/lib/commands/cli-skill/index.js +1 -1
  20. package/lib/commands/common/config-policy.js +1 -1
  21. package/lib/commands/common/constraints.js +1 -1
  22. package/lib/commands/common/flags.js +1 -1
  23. package/lib/commands/common/local-file.js +1 -1
  24. package/lib/commands/config/definitions.js +1 -1
  25. package/lib/commands/config/init.d.ts +1 -1
  26. package/lib/commands/config/init.js +1 -1
  27. package/lib/commands/config/shared.js +1 -1
  28. package/lib/commands/data/import-excel.js +1 -1
  29. package/lib/commands/data/index.js +1 -1
  30. package/lib/commands/dataset/detail.js +1 -1
  31. package/lib/commands/dataset/index.js +1 -1
  32. package/lib/commands/dataset/list.js +1 -1
  33. package/lib/commands/dataset/sdk-doc.js +1 -1
  34. package/lib/commands/doctor.js +1 -1
  35. package/lib/commands/file/index.js +1 -1
  36. package/lib/commands/init.js +1 -1
  37. package/lib/commands/kb/index.js +1 -1
  38. package/lib/commands/logs/index.js +1 -1
  39. package/lib/commands/notification/config-list.js +1 -1
  40. package/lib/commands/notification/index.js +1 -1
  41. package/lib/commands/notification/shared.js +1 -1
  42. package/lib/commands/ocr/index.js +1 -1
  43. package/lib/commands/permit/dataset-get.js +1 -1
  44. package/lib/commands/permit/dataset-set.js +1 -1
  45. package/lib/commands/permit/index.js +1 -1
  46. package/lib/commands/permit/page-get.js +1 -1
  47. package/lib/commands/permit/page-set.js +1 -1
  48. package/lib/commands/permit/role-menus-set.js +1 -1
  49. package/lib/commands/permit/role-menus.js +1 -1
  50. package/lib/commands/permit/shared.js +1 -1
  51. package/lib/commands/personal-bff/index.js +1 -1
  52. package/lib/commands/registry.js +1 -1
  53. package/lib/commands/role/create.js +1 -1
  54. package/lib/commands/role/delete.js +1 -1
  55. package/lib/commands/role/detail.js +1 -1
  56. package/lib/commands/role/index.js +1 -1
  57. package/lib/commands/role/list.js +1 -1
  58. package/lib/commands/role/shared.d.ts +32 -6
  59. package/lib/commands/role/shared.js +1 -1
  60. package/lib/commands/role/update.js +1 -1
  61. package/lib/commands/role/user-add.js +1 -1
  62. package/lib/commands/role/user-remove.js +1 -1
  63. package/lib/commands/schedule/index.js +1 -1
  64. package/lib/commands/schema.js +1 -1
  65. package/lib/commands/service/dynamic.js +1 -1
  66. package/lib/commands/service/function-name-adapter.js +1 -1
  67. package/lib/commands/service/index.js +1 -1
  68. package/lib/commands/service/registry.js +1 -1
  69. package/lib/commands/skill/commands/create.js +1 -1
  70. package/lib/commands/skill/commands/diagram.js +1 -1
  71. package/lib/commands/skill/commands/install.js +1 -1
  72. package/lib/commands/skill/commands/list.js +1 -1
  73. package/lib/commands/skill/commands/push.js +1 -1
  74. package/lib/commands/skill/commands/validate.js +1 -1
  75. package/lib/commands/skill/diagram.js +1 -1
  76. package/lib/commands/skill/flags.js +1 -1
  77. package/lib/commands/skill/index.js +1 -1
  78. package/lib/commands/skill/manifest-helpers.js +1 -1
  79. package/lib/commands/skill/push-execute.js +1 -1
  80. package/lib/commands/skill/push-flow-helpers.js +1 -1
  81. package/lib/commands/skill/push-retarget.js +1 -1
  82. package/lib/commands/skill/scopes.js +1 -1
  83. package/lib/commands/skill/summary.js +1 -1
  84. package/lib/commands/skill/templates.js +1 -1
  85. package/lib/commands/skill/validate.js +1 -1
  86. package/lib/commands/sql/detail.js +1 -1
  87. package/lib/commands/sql/exec.d.ts +2 -4
  88. package/lib/commands/sql/exec.js +1 -1
  89. package/lib/commands/sql/index.js +1 -1
  90. package/lib/commands/update.js +1 -1
  91. package/lib/commands/user-account/bind.js +1 -1
  92. package/lib/commands/user-account/index.js +1 -1
  93. package/lib/commands/workspace/index.js +1 -1
  94. package/lib/config/domain-config.js +1 -1
  95. package/lib/config/schema.js +1 -1
  96. package/lib/constant/app.js +1 -1
  97. package/lib/constant/auth-mode.js +1 -1
  98. package/lib/constant/cli.js +1 -1
  99. package/lib/constant/defaults.js +1 -1
  100. package/lib/constant/distribution.js +1 -1
  101. package/lib/constant/domain.js +1 -1
  102. package/lib/constant/env.js +1 -1
  103. package/lib/constant/output.js +1 -1
  104. package/lib/constant/product.js +1 -1
  105. package/lib/constant/region.js +1 -1
  106. package/lib/constant/risk.js +1 -1
  107. package/lib/constant/url.js +1 -1
  108. package/lib/context.js +1 -1
  109. package/lib/core/api-client.d.ts +20 -340
  110. package/lib/core/api-client.js +1 -1
  111. package/lib/core/db-resolver.js +1 -1
  112. package/lib/core/kb-management-client.js +1 -1
  113. package/lib/core/kb-search-client.js +1 -1
  114. package/lib/core/sdk-client.d.ts +7 -10
  115. package/lib/core/sdk-client.js +1 -1
  116. package/lib/errors.js +1 -1
  117. package/lib/framework/access-error.js +1 -1
  118. package/lib/framework/build-all-flags.js +1 -1
  119. package/lib/framework/dryrun.js +1 -1
  120. package/lib/framework/flags.js +1 -1
  121. package/lib/framework/help.js +1 -1
  122. package/lib/framework/index.js +1 -1
  123. package/lib/framework/output.js +1 -1
  124. package/lib/framework/preparse.js +1 -1
  125. package/lib/framework/rate-limit.js +1 -1
  126. package/lib/framework/raw-flags.js +1 -1
  127. package/lib/framework/response.js +1 -1
  128. package/lib/framework/runner-confirmation.js +1 -1
  129. package/lib/framework/runner-error.js +1 -1
  130. package/lib/framework/runner.js +1 -1
  131. package/lib/framework/schema-export.js +1 -1
  132. package/lib/framework/service-order.js +1 -1
  133. package/lib/framework/types.js +1 -1
  134. package/lib/generated/build-info.d.ts +4 -4
  135. package/lib/generated/build-info.js +1 -1
  136. package/lib/generated/official-routing.js +1 -1
  137. package/lib/generated/routing-contract.js +1 -1
  138. package/lib/help.js +1 -1
  139. package/lib/postinstall.js +1 -1
  140. package/lib/runtime/confirmation.js +1 -1
  141. package/lib/runtime/event.js +1 -1
  142. package/lib/runtime/index.js +1 -1
  143. package/lib/runtime/queue.js +1 -1
  144. package/lib/runtime/resolve.js +1 -1
  145. package/lib/services/dataset-import/auto-id-runner.js +1 -1
  146. package/lib/services/dataset-import/excel-reader.js +1 -1
  147. package/lib/services/dataset-import/image-bytes.js +1 -1
  148. package/lib/services/dataset-import/image-ooxml.js +1 -1
  149. package/lib/services/dataset-import/image-runner.js +1 -1
  150. package/lib/services/dataset-import/metadata.js +1 -1
  151. package/lib/services/dataset-import/preview.js +1 -1
  152. package/lib/services/dataset-import/runner.js +1 -1
  153. package/lib/skills/builtin-skill.js +1 -1
  154. package/lib/skills/npx-skills-add.js +1 -1
  155. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  156. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  157. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  158. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  159. package/lib/skills/runtime-skill-sync/links.js +1 -1
  160. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  161. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  162. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  163. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  164. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  165. package/lib/skills/runtime-skill-sync/push.js +1 -1
  166. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  167. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  168. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  169. package/lib/skills/runtime-skill-sync.js +1 -1
  170. package/lib/skills/skill-presence.js +1 -1
  171. package/lib/utils/access-key-redaction.js +1 -1
  172. package/lib/utils/apply-jq-filter.js +1 -1
  173. package/lib/utils/cli-version-check.js +1 -1
  174. package/lib/utils/cli-version-policy.js +1 -1
  175. package/lib/utils/logger.js +1 -1
  176. package/lib/utils/lossless-json.js +1 -1
  177. package/lib/utils/params.js +1 -1
  178. package/lib/utils/positive-safe-integer.js +1 -1
  179. package/lib/utils/redaction.js +1 -1
  180. package/lib/utils/runtime-user-id.d.ts +2 -0
  181. package/lib/utils/runtime-user-id.js +1 -0
  182. package/lib/utils/update-notice.js +1 -1
  183. package/lib/utils/version.js +1 -1
  184. package/lib/utils/write-cli-side-channel.js +1 -1
  185. package/package.json +2 -2
  186. package/skills/lovrabet/SKILL.md +1 -1
  187. package/skills/lovrabet/guides/role-and-permission-workflow.md +3 -2
  188. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- const a172_0x1d58ed=a172_0x2da5;(function(_0xb8ec16,_0x4c95d6){const _0x2c973a=a172_0x2da5,_0x24abed=_0xb8ec16();while(!![]){try{const _0x31a9e3=-parseInt(_0x2c973a(0xf9))/0x1*(-parseInt(_0x2c973a(0xf6))/0x2)+-parseInt(_0x2c973a(0xef))/0x3*(parseInt(_0x2c973a(0xe7))/0x4)+parseInt(_0x2c973a(0xee))/0x5*(parseInt(_0x2c973a(0xfd))/0x6)+parseInt(_0x2c973a(0xf3))/0x7+parseInt(_0x2c973a(0xf7))/0x8+parseInt(_0x2c973a(0xfb))/0x9*(-parseInt(_0x2c973a(0xe8))/0xa)+-parseInt(_0x2c973a(0xf1))/0xb*(parseInt(_0x2c973a(0xe9))/0xc);if(_0x31a9e3===_0x4c95d6)break;else _0x24abed['push'](_0x24abed['shift']());}catch(_0x5b36e4){_0x24abed['push'](_0x24abed['shift']());}}}(a172_0x1200,0xae8f6));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a172_0x1d58ed(0xf8)]),MIN_SAFE_INTEGER=BigInt(Number[a172_0x1d58ed(0xf5)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x376bc9){const _0x20802a=a172_0x1d58ed;if(_0x376bc9[_0x20802a(0xeb)]('.')||_0x376bc9[_0x20802a(0xeb)]('e')||_0x376bc9['includes']('E'))return![];const _0x12f382=BigInt(_0x376bc9);return _0x12f382>MAX_SAFE_INTEGER||_0x12f382<MIN_SAFE_INTEGER;}function a172_0x1200(){const _0x405c80=['defineProperty','102OqiGIU','8lBYNte','20QjohhQ','348kizQdg','length','includes','parse','prototype','45905fIOBep','65127bWInCy','slice','928433JyIlhO','json','4418519brRllt','exec','MIN_SAFE_INTEGER','118xNZanr','10778856hZkjgb','MAX_SAFE_INTEGER','18806oPCkdn','getOwnPropertyDescriptor','171459hmKHEx'];a172_0x1200=function(){return _0x405c80;};return a172_0x1200();}function quoteUnsafeIntegerLiterals(_0x1efe40){const _0x1d4252=a172_0x1d58ed;let _0x16ac05='',_0x393e81=![],_0x228761=![];for(let _0x2db81e=0x0;_0x2db81e<_0x1efe40[_0x1d4252(0xea)];){const _0x472fe0=_0x1efe40[_0x2db81e];if(_0x393e81){_0x16ac05+=_0x472fe0,_0x2db81e+=0x1;if(_0x228761)_0x228761=![];else{if(_0x472fe0==='\x5c')_0x228761=!![];else _0x472fe0==='\x22'&&(_0x393e81=![]);}continue;}if(_0x472fe0==='\x22'){_0x393e81=!![],_0x16ac05+=_0x472fe0,_0x2db81e+=0x1;continue;}if(_0x472fe0==='-'||_0x472fe0>='0'&&_0x472fe0<='9'){const _0x511788=JSON_NUMBER_PATTERN[_0x1d4252(0xf4)](_0x1efe40[_0x1d4252(0xf0)](_0x2db81e))?.[0x0];if(_0x511788){_0x16ac05+=isUnsafeIntegerLiteral(_0x511788)?'\x22'+_0x511788+'\x22':_0x511788,_0x2db81e+=_0x511788[_0x1d4252(0xea)];continue;}}_0x16ac05+=_0x472fe0,_0x2db81e+=0x1;}return _0x16ac05;}function a172_0x2da5(_0x3818ca,_0x36d38e){_0x3818ca=_0x3818ca-0xe7;const _0x120046=a172_0x1200();let _0x2da5ef=_0x120046[_0x3818ca];return _0x2da5ef;}export function parseLosslessJson(_0x305112){const _0x301c09=a172_0x1d58ed;return JSON[_0x301c09(0xec)](quoteUnsafeIntegerLiterals(_0x305112));}export function installLosslessJsonResponseParser(){const _0x241670=a172_0x1d58ed;if(typeof Response==='undefined')return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x241670(0xed)],originalResponseJsonDescriptor=Object[_0x241670(0xfa)](responseJsonPrototype,'json'),Object[_0x241670(0xfc)](responseJsonPrototype,'json',{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x26aaf6(){return parseLosslessJson(await this['text']());}}),restoreResponseJsonParser=()=>{const _0x59af09=_0x241670;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x59af09(0xfc)](responseJsonPrototype,_0x59af09(0xf2),originalResponseJsonDescriptor):delete responseJsonPrototype[_0x59af09(0xf2)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
1
+ const a172_0x44d1f5=a172_0xc987;(function(_0x453cb1,_0x1b0612){const _0x44503b=a172_0xc987,_0x5872fc=_0x453cb1();while(!![]){try{const _0x454050=parseInt(_0x44503b(0x19c))/0x1*(-parseInt(_0x44503b(0x194))/0x2)+parseInt(_0x44503b(0x198))/0x3+parseInt(_0x44503b(0x192))/0x4+parseInt(_0x44503b(0x193))/0x5+parseInt(_0x44503b(0x197))/0x6+-parseInt(_0x44503b(0x19b))/0x7+-parseInt(_0x44503b(0x18f))/0x8;if(_0x454050===_0x1b0612)break;else _0x5872fc['push'](_0x5872fc['shift']());}catch(_0x5b23e){_0x5872fc['push'](_0x5872fc['shift']());}}}(a172_0x2aaa,0x864e0));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a172_0x44d1f5(0x18b)]),MIN_SAFE_INTEGER=BigInt(Number[a172_0x44d1f5(0x191)]);function a172_0x2aaa(){const _0x1b5759=['MIN_SAFE_INTEGER','1330204seoboQ','2618325DvGQnb','2JEzcmx','text','undefined','872136blffKg','443331jNCMst','length','exec','988862kTruHl','383989ECdsSy','defineProperty','prototype','MAX_SAFE_INTEGER','getOwnPropertyDescriptor','includes','json','591856BsgfEL','slice'];a172_0x2aaa=function(){return _0x1b5759;};return a172_0x2aaa();}let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x4c348c){const _0x2d3a66=a172_0x44d1f5;if(_0x4c348c[_0x2d3a66(0x18d)]('.')||_0x4c348c[_0x2d3a66(0x18d)]('e')||_0x4c348c[_0x2d3a66(0x18d)]('E'))return![];const _0x2ed2d7=BigInt(_0x4c348c);return _0x2ed2d7>MAX_SAFE_INTEGER||_0x2ed2d7<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x513536){const _0x32421b=a172_0x44d1f5;let _0x1c3bcd='',_0x4f5671=![],_0x500b08=![];for(let _0x70a588=0x0;_0x70a588<_0x513536[_0x32421b(0x199)];){const _0xbec0bc=_0x513536[_0x70a588];if(_0x4f5671){_0x1c3bcd+=_0xbec0bc,_0x70a588+=0x1;if(_0x500b08)_0x500b08=![];else{if(_0xbec0bc==='\x5c')_0x500b08=!![];else _0xbec0bc==='\x22'&&(_0x4f5671=![]);}continue;}if(_0xbec0bc==='\x22'){_0x4f5671=!![],_0x1c3bcd+=_0xbec0bc,_0x70a588+=0x1;continue;}if(_0xbec0bc==='-'||_0xbec0bc>='0'&&_0xbec0bc<='9'){const _0x467666=JSON_NUMBER_PATTERN[_0x32421b(0x19a)](_0x513536[_0x32421b(0x190)](_0x70a588))?.[0x0];if(_0x467666){_0x1c3bcd+=isUnsafeIntegerLiteral(_0x467666)?'\x22'+_0x467666+'\x22':_0x467666,_0x70a588+=_0x467666[_0x32421b(0x199)];continue;}}_0x1c3bcd+=_0xbec0bc,_0x70a588+=0x1;}return _0x1c3bcd;}function a172_0xc987(_0x398426,_0x13a52a){_0x398426=_0x398426-0x189;const _0x2aaaed=a172_0x2aaa();let _0xc987fa=_0x2aaaed[_0x398426];return _0xc987fa;}export function parseLosslessJson(_0x195e46){return JSON['parse'](quoteUnsafeIntegerLiterals(_0x195e46));}export function installLosslessJsonResponseParser(){const _0xd2d658=a172_0x44d1f5;if(typeof Response===_0xd2d658(0x196))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0xd2d658(0x18a)],originalResponseJsonDescriptor=Object[_0xd2d658(0x18c)](responseJsonPrototype,_0xd2d658(0x18e)),Object[_0xd2d658(0x189)](responseJsonPrototype,_0xd2d658(0x18e),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x1883c8(){const _0x528365=_0xd2d658;return parseLosslessJson(await this[_0x528365(0x195)]());}}),restoreResponseJsonParser=()=>{const _0x5d9a29=_0xd2d658;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object['defineProperty'](responseJsonPrototype,_0x5d9a29(0x18e),originalResponseJsonDescriptor):delete responseJsonPrototype[_0x5d9a29(0x18e)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
@@ -1 +1 @@
1
- function a173_0x2945(){const _0x445491=['map','3960AnJDhq','id[','object','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','828nmeSvr','124090BoLddJ','number','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','length','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','492VKjdhS','369789DDerDW','1264848dtzbcz','8mrZYZR','347djjXVs','isSafeInteger','items','1722lhUPeC','4232952yJyumQ','validation','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','Invalid\x20JSON\x20for\x20--params:\x20','121WJUqwe','11105rKerXJ','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','isArray'];a173_0x2945=function(){return _0x445491;};return a173_0x2945();}(function(_0x504dce,_0x44a4e6){const _0x25db31=a173_0x2511,_0x2f2784=_0x504dce();while(!![]){try{const _0x466fce=parseInt(_0x25db31(0x181))/0x1*(parseInt(_0x25db31(0x176))/0x2)+-parseInt(_0x25db31(0x17e))/0x3+parseInt(_0x25db31(0x17d))/0x4*(-parseInt(_0x25db31(0x16e))/0x5)+-parseInt(_0x25db31(0x172))/0x6*(parseInt(_0x25db31(0x184))/0x7)+parseInt(_0x25db31(0x180))/0x8*(parseInt(_0x25db31(0x185))/0x9)+-parseInt(_0x25db31(0x177))/0xa*(-parseInt(_0x25db31(0x16d))/0xb)+parseInt(_0x25db31(0x17f))/0xc;if(_0x466fce===_0x44a4e6)break;else _0x2f2784['push'](_0x2f2784['shift']());}catch(_0x3ab436){_0x2f2784['push'](_0x2f2784['shift']());}}}(a173_0x2945,0x4887b));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x4588bf){const _0x133648=a173_0x2511;if(!_0x4588bf)return undefined;try{return parseLosslessJson(_0x4588bf);}catch{throw CliErrors[_0x133648(0x186)](_0x133648(0x16c)+_0x4588bf);}}export function parseJsonParamsValue(_0x3c938e){const _0x29a217=a173_0x2511;if(!_0x3c938e)return undefined;try{return parseLosslessJson(_0x3c938e);}catch{throw CliErrors[_0x29a217(0x186)](_0x29a217(0x16c)+_0x3c938e);}}export function parseBatchCreateItemsFromParams(_0x521bac){const _0x137671=a173_0x2511;if(Array[_0x137671(0x170)](_0x521bac))return _0x521bac;if(_0x521bac!==null&&_0x521bac!==undefined&&typeof _0x521bac===_0x137671(0x174)&&Array[_0x137671(0x170)](_0x521bac[_0x137671(0x183)]))return _0x521bac[_0x137671(0x183)];throw CliErrors[_0x137671(0x186)](_0x137671(0x175),_0x137671(0x17a));}function parseDataUpdateId(_0x1e66c1,_0x408234){const _0x4ea373=a173_0x2511;if(typeof _0x1e66c1===_0x4ea373(0x178)&&Number[_0x4ea373(0x182)](_0x1e66c1)&&_0x1e66c1>0x0)return _0x1e66c1;if(typeof _0x1e66c1==='string'){if(/^[1-9]\d*$/['test'](_0x1e66c1))return _0x1e66c1;}throw CliErrors['validation']('data\x20update\x20--params.'+_0x408234+_0x4ea373(0x17c));}function a173_0x2511(_0x5b787d,_0x10b541){_0x5b787d=_0x5b787d-0x16c;const _0x294574=a173_0x2945();let _0x25113d=_0x294574[_0x5b787d];return _0x25113d;}export function parseUpdateIdsFromParams(_0x5adc1d){const _0x2b8cf2=a173_0x2511;if(_0x5adc1d===null||_0x5adc1d===undefined||typeof _0x5adc1d!==_0x2b8cf2(0x174)||Array[_0x2b8cf2(0x170)](_0x5adc1d))throw CliErrors[_0x2b8cf2(0x186)]('data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.',_0x2b8cf2(0x187));const _0x5bb22a=_0x5adc1d['id'];if(_0x5bb22a===undefined||_0x5bb22a===null)throw CliErrors['validation'](_0x2b8cf2(0x179),_0x2b8cf2(0x187));const _0xd1e791=Array[_0x2b8cf2(0x170)](_0x5bb22a)?_0x5bb22a:[_0x5bb22a];if(_0xd1e791['length']===0x0)throw CliErrors[_0x2b8cf2(0x186)](_0x2b8cf2(0x16f));if(_0xd1e791[_0x2b8cf2(0x17b)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x2b8cf2(0x186)]('data\x20update\x20can\x20update\x20at\x20most\x20'+MAX_DATA_UPDATE_IDS+'\x20records\x20per\x20call;\x20received\x20'+_0xd1e791[_0x2b8cf2(0x17b)]+'.');return _0xd1e791[_0x2b8cf2(0x171)]((_0x3e981f,_0x34c44a)=>parseDataUpdateId(_0x3e981f,Array[_0x2b8cf2(0x170)](_0x5bb22a)?_0x2b8cf2(0x173)+_0x34c44a+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x43a48b,_0x472fc9){const _0x2724da=a173_0x2511;if(Array[_0x2724da(0x170)](_0x43a48b['id'])&&_0x472fc9[_0x2724da(0x17b)]>0x1)return{..._0x43a48b,'id':_0x472fc9['join'](',')};return _0x43a48b;}
1
+ function a173_0x29ba(){const _0x54587d=['validation','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','409050uQpIKQ','690063dhNBBS','object','1631648NMXGfu','length','Invalid\x20JSON\x20for\x20--params:\x20','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','21WtWkbU','246fmxXjw','210NllVkC','number','1918352GXgWlI','158463mlyPBu','items','map','12oqyWeq','data\x20update\x20--params.','\x20records\x20per\x20call;\x20received\x20','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','join','2415370xLOEBM','isArray','14132iCDHpt','string','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.'];a173_0x29ba=function(){return _0x54587d;};return a173_0x29ba();}(function(_0x577857,_0x524219){const _0x51817a=a173_0x4cfc,_0x11d09c=_0x577857();while(!![]){try{const _0x7fec92=parseInt(_0x51817a(0x10c))/0x1+-parseInt(_0x51817a(0x10f))/0x2+parseInt(_0x51817a(0x114))/0x3*(parseInt(_0x51817a(0x107))/0x4)+parseInt(_0x51817a(0x105))/0x5*(parseInt(_0x51817a(0x11b))/0x6)+-parseInt(_0x51817a(0x113))/0x7*(parseInt(_0x51817a(0x117))/0x8)+-parseInt(_0x51817a(0x118))/0x9*(-parseInt(_0x51817a(0x115))/0xa)+parseInt(_0x51817a(0x10d))/0xb;if(_0x7fec92===_0x524219)break;else _0x11d09c['push'](_0x11d09c['shift']());}catch(_0x318e55){_0x11d09c['push'](_0x11d09c['shift']());}}}(a173_0x29ba,0x89402));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;function a173_0x4cfc(_0x12431a,_0x39aff6){_0x12431a=_0x12431a-0x101;const _0x29bad7=a173_0x29ba();let _0x4cfcbf=_0x29bad7[_0x12431a];return _0x4cfcbf;}export function parseJsonParams(_0x136edc){const _0x591eda=a173_0x4cfc;if(!_0x136edc)return undefined;try{return parseLosslessJson(_0x136edc);}catch{throw CliErrors[_0x591eda(0x10a)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x136edc);}}export function parseJsonParamsValue(_0x48b173){const _0x562e1f=a173_0x4cfc;if(!_0x48b173)return undefined;try{return parseLosslessJson(_0x48b173);}catch{throw CliErrors[_0x562e1f(0x10a)](_0x562e1f(0x111)+_0x48b173);}}export function parseBatchCreateItemsFromParams(_0x1ba90b){const _0x4c47b6=a173_0x4cfc;if(Array[_0x4c47b6(0x106)](_0x1ba90b))return _0x1ba90b;if(_0x1ba90b!==null&&_0x1ba90b!==undefined&&typeof _0x1ba90b===_0x4c47b6(0x10e)&&Array['isArray'](_0x1ba90b[_0x4c47b6(0x119)]))return _0x1ba90b[_0x4c47b6(0x119)];throw CliErrors[_0x4c47b6(0x10a)]('batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27');}function parseDataUpdateId(_0xc99527,_0x4ec0d){const _0x1967e5=a173_0x4cfc;if(typeof _0xc99527===_0x1967e5(0x116)&&Number['isSafeInteger'](_0xc99527)&&_0xc99527>0x0)return _0xc99527;if(typeof _0xc99527===_0x1967e5(0x108)){if(/^[1-9]\d*$/['test'](_0xc99527))return _0xc99527;}throw CliErrors[_0x1967e5(0x10a)](_0x1967e5(0x101)+_0x4ec0d+'\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.');}export function parseUpdateIdsFromParams(_0x11d0d0){const _0x5307eb=a173_0x4cfc;if(_0x11d0d0===null||_0x11d0d0===undefined||typeof _0x11d0d0!=='object'||Array['isArray'](_0x11d0d0))throw CliErrors[_0x5307eb(0x10a)](_0x5307eb(0x10b),_0x5307eb(0x112));const _0x10ae95=_0x11d0d0['id'];if(_0x10ae95===undefined||_0x10ae95===null)throw CliErrors[_0x5307eb(0x10a)](_0x5307eb(0x109),_0x5307eb(0x112));const _0x509a3c=Array['isArray'](_0x10ae95)?_0x10ae95:[_0x10ae95];if(_0x509a3c[_0x5307eb(0x110)]===0x0)throw CliErrors[_0x5307eb(0x10a)](_0x5307eb(0x103));if(_0x509a3c[_0x5307eb(0x110)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x5307eb(0x10a)]('data\x20update\x20can\x20update\x20at\x20most\x20'+MAX_DATA_UPDATE_IDS+_0x5307eb(0x102)+_0x509a3c[_0x5307eb(0x110)]+'.');return _0x509a3c[_0x5307eb(0x11a)]((_0x50c4f1,_0x5934c5)=>parseDataUpdateId(_0x50c4f1,Array[_0x5307eb(0x106)](_0x10ae95)?'id['+_0x5934c5+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x53b433,_0x446e2b){const _0x306720=a173_0x4cfc;if(Array[_0x306720(0x106)](_0x53b433['id'])&&_0x446e2b[_0x306720(0x110)]>0x1)return{..._0x53b433,'id':_0x446e2b[_0x306720(0x104)](',')};return _0x53b433;}
@@ -1 +1 @@
1
- function a174_0x267f(_0x7f142b,_0x3ccfbe){_0x7f142b=_0x7f142b-0xf5;const _0x2da60e=a174_0x2da6();let _0x267f07=_0x2da60e[_0x7f142b];return _0x267f07;}(function(_0x10860e,_0x4a5af3){const _0x11eba0=a174_0x267f,_0xbac10a=_0x10860e();while(!![]){try{const _0x42413f=parseInt(_0x11eba0(0x100))/0x1*(-parseInt(_0x11eba0(0xfe))/0x2)+parseInt(_0x11eba0(0x101))/0x3+-parseInt(_0x11eba0(0xff))/0x4*(-parseInt(_0x11eba0(0xf8))/0x5)+parseInt(_0x11eba0(0x102))/0x6*(parseInt(_0x11eba0(0xf6))/0x7)+-parseInt(_0x11eba0(0xfd))/0x8+parseInt(_0x11eba0(0xf9))/0x9+-parseInt(_0x11eba0(0xfc))/0xa*(parseInt(_0x11eba0(0xf5))/0xb);if(_0x42413f===_0x4a5af3)break;else _0xbac10a['push'](_0xbac10a['shift']());}catch(_0x59b75f){_0xbac10a['push'](_0xbac10a['shift']());}}}(a174_0x2da6,0xb6837));function a174_0x2da6(){const _0x3f90df=['string','100gNVpMW','2511873WxALAN','number','isSafeInteger','10AIeTqy','6276544gtPbWw','4114ClWyXk','261572qjxVze','119vCvZme','1946652QfprbX','90264gfeFfo','21100013FNPiec','679tkOLgY'];a174_0x2da6=function(){return _0x3f90df;};return a174_0x2da6();}export function normalizePositiveSafeInteger(_0x794542){const _0x258bf2=a174_0x267f;if(typeof _0x794542===_0x258bf2(0xfa))return Number[_0x258bf2(0xfb)](_0x794542)&&_0x794542>0x0?_0x794542:undefined;if(typeof _0x794542!==_0x258bf2(0xf7)||!/^\d+$/['test'](_0x794542))return undefined;const _0x835b7b=Number(_0x794542);return Number[_0x258bf2(0xfb)](_0x835b7b)&&_0x835b7b>0x0?_0x835b7b:undefined;}
1
+ function a174_0xf9a6(_0x37c04e,_0x850d5b){_0x37c04e=_0x37c04e-0x99;const _0x566c8b=a174_0x566c();let _0xf9a635=_0x566c8b[_0x37c04e];return _0xf9a635;}(function(_0x1965ce,_0x12a0a9){const _0x4200cf=a174_0xf9a6,_0x310088=_0x1965ce();while(!![]){try{const _0x6b9d17=-parseInt(_0x4200cf(0x9a))/0x1+parseInt(_0x4200cf(0x9f))/0x2*(-parseInt(_0x4200cf(0x9b))/0x3)+parseInt(_0x4200cf(0x99))/0x4+-parseInt(_0x4200cf(0xa5))/0x5*(-parseInt(_0x4200cf(0x9d))/0x6)+parseInt(_0x4200cf(0xa2))/0x7+parseInt(_0x4200cf(0xa1))/0x8+-parseInt(_0x4200cf(0x9c))/0x9;if(_0x6b9d17===_0x12a0a9)break;else _0x310088['push'](_0x310088['shift']());}catch(_0x53a524){_0x310088['push'](_0x310088['shift']());}}}(a174_0x566c,0xe07e7));export function normalizePositiveSafeInteger(_0x5dd5de){const _0x4169a9=a174_0xf9a6;if(typeof _0x5dd5de===_0x4169a9(0xa3))return Number[_0x4169a9(0x9e)](_0x5dd5de)&&_0x5dd5de>0x0?_0x5dd5de:undefined;if(typeof _0x5dd5de!==_0x4169a9(0xa0)||!/^\d+$/[_0x4169a9(0xa4)](_0x5dd5de))return undefined;const _0x58640e=Number(_0x5dd5de);return Number[_0x4169a9(0x9e)](_0x58640e)&&_0x58640e>0x0?_0x58640e:undefined;}function a174_0x566c(){const _0x5e8d33=['15yWNbcu','7856397QMMjlT','5323662rKHgdw','isSafeInteger','243184XOSykD','string','7588600urXGOh','11314275xvQhHt','number','test','5NHGDmo','590280Cgibdb','1199327FJAIWg'];a174_0x566c=function(){return _0x5e8d33;};return a174_0x566c();}
@@ -1 +1 @@
1
- const a175_0x77057=a175_0x32f9;function a175_0x32f9(_0x2d7114,_0x1e16e0){_0x2d7114=_0x2d7114-0x1ad;const _0x52959b=a175_0x5295();let _0x32f99e=_0x52959b[_0x2d7114];return _0x32f99e;}(function(_0x17a915,_0x250d0){const _0x3bd5a2=a175_0x32f9,_0x34da26=_0x17a915();while(!![]){try{const _0x22e644=-parseInt(_0x3bd5a2(0x1b3))/0x1+-parseInt(_0x3bd5a2(0x1bb))/0x2+-parseInt(_0x3bd5a2(0x1c0))/0x3*(-parseInt(_0x3bd5a2(0x1ad))/0x4)+-parseInt(_0x3bd5a2(0x1b6))/0x5*(parseInt(_0x3bd5a2(0x1b2))/0x6)+-parseInt(_0x3bd5a2(0x1c2))/0x7+parseInt(_0x3bd5a2(0x1be))/0x8+parseInt(_0x3bd5a2(0x1b8))/0x9*(parseInt(_0x3bd5a2(0x1b7))/0xa);if(_0x22e644===_0x250d0)break;else _0x34da26['push'](_0x34da26['shift']());}catch(_0xa33a5a){_0x34da26['push'](_0x34da26['shift']());}}}(a175_0x5295,0x50ada));const REDACTED_VALUE=a175_0x77057(0x1af),SENSITIVE_KEY_PATTERN=/(?:access.?key|api.?key|authorization|cookie|credential|password|passwd|private.?key|secret|token|webhook)/i,SENSITIVE_FLAG_NAMES=new Set([a175_0x77057(0x1c1),a175_0x77057(0x1b1)]),SENSITIVE_VALUE_KEYS=new Set([a175_0x77057(0x1c1)]);export function isSensitiveKey(_0x33ab59){const _0x43b44b=a175_0x77057,_0x7ae133=_0x33ab59[_0x43b44b(0x1bf)](/_/g,'-')[_0x43b44b(0x1b4)]();return SENSITIVE_KEY_PATTERN[_0x43b44b(0x1ae)](_0x7ae133);}export function isSensitiveFlagName(_0x4fbece){const _0x193a0c=a175_0x77057,_0xb7b7a1=_0x4fbece[_0x193a0c(0x1bf)](/_/g,'-')[_0x193a0c(0x1b4)]();return isSensitiveKey(_0xb7b7a1)||SENSITIVE_FLAG_NAMES['has'](_0xb7b7a1);}function redactVariableValues(_0x294963){const _0x546019=a175_0x77057;if(Array[_0x546019(0x1bc)](_0x294963))return _0x294963['map'](_0x30b6f1=>redactVariableValues(_0x30b6f1));if(_0x294963&&typeof _0x294963===_0x546019(0x1b0))return Object['fromEntries'](Object[_0x546019(0x1ba)](_0x294963)[_0x546019(0x1b5)](([_0x883114,_0x1354a4])=>[_0x883114,redactVariableValues(_0x1354a4)]));return REDACTED_VALUE;}export function redactSensitiveValue(_0x35676a){const _0xb9367b=a175_0x77057;if(Array[_0xb9367b(0x1bc)](_0x35676a))return _0x35676a[_0xb9367b(0x1b5)](_0x341b19=>redactSensitiveValue(_0x341b19));if(!_0x35676a||typeof _0x35676a!==_0xb9367b(0x1b0))return _0x35676a;const _0x31baa9={};for(const [_0x3fe96b,_0x2c5b66]of Object[_0xb9367b(0x1ba)](_0x35676a)){const _0xb61e76=_0x3fe96b[_0xb9367b(0x1bf)](/_/g,'-')[_0xb9367b(0x1b4)]();_0x31baa9[_0x3fe96b]=_0xb61e76===_0xb9367b(0x1b1)?redactVariableValues(_0x2c5b66):SENSITIVE_VALUE_KEYS['has'](_0xb61e76)||isSensitiveKey(_0x3fe96b)?REDACTED_VALUE:redactSensitiveValue(_0x2c5b66);}return _0x31baa9;}function a175_0x5295(){const _0x494801=['50YKFUet','2710vxvuzI','37593JgWObg','match','entries','1312268loKzPT','isArray','push','523672emUcpX','replace','1959189uzbXot','comment','1616552jJVsgX','4PKEVzH','test','[REDACTED]','object','variables','171786NfmrqI','346651lYdANN','toLowerCase','map'];a175_0x5295=function(){return _0x494801;};return a175_0x5295();}export function redactCommandArgv(_0x5b8309){const _0x3f663f=a175_0x77057,_0x3684f3=[];let _0x3bbc88=![];for(const _0x951b82 of _0x5b8309){if(_0x3bbc88){_0x3684f3[_0x3f663f(0x1bd)](REDACTED_VALUE),_0x3bbc88=![];continue;}const _0x3e0662=_0x951b82[_0x3f663f(0x1b9)](/^--([^=]+)(?:=(.*))?$/);if(!_0x3e0662||!isSensitiveFlagName(_0x3e0662[0x1]??'')){_0x3684f3[_0x3f663f(0x1bd)](_0x951b82);continue;}_0x3684f3[_0x3f663f(0x1bd)]('--'+_0x3e0662[0x1]+(_0x3e0662[0x2]===undefined?'':'='+REDACTED_VALUE)),_0x3e0662[0x2]===undefined&&(_0x3bbc88=!![]);}return _0x3684f3;}export{REDACTED_VALUE};
1
+ const a175_0x1e2ae8=a175_0x91ec;function a175_0x91ec(_0x164a32,_0x5911b6){_0x164a32=_0x164a32-0x97;const _0xbb5176=a175_0xbb51();let _0x91ec4=_0xbb5176[_0x164a32];return _0x91ec4;}(function(_0x40f68a,_0xa16fde){const _0x149f87=a175_0x91ec,_0x33c27e=_0x40f68a();while(!![]){try{const _0x40cf56=parseInt(_0x149f87(0x9e))/0x1+-parseInt(_0x149f87(0xac))/0x2+-parseInt(_0x149f87(0xa5))/0x3+-parseInt(_0x149f87(0x9c))/0x4*(parseInt(_0x149f87(0x9d))/0x5)+parseInt(_0x149f87(0xa9))/0x6+-parseInt(_0x149f87(0x9a))/0x7*(-parseInt(_0x149f87(0xa7))/0x8)+parseInt(_0x149f87(0xa0))/0x9*(parseInt(_0x149f87(0x9b))/0xa);if(_0x40cf56===_0xa16fde)break;else _0x33c27e['push'](_0x33c27e['shift']());}catch(_0x32d526){_0x33c27e['push'](_0x33c27e['shift']());}}}(a175_0xbb51,0x50db9));const REDACTED_VALUE='[REDACTED]',SENSITIVE_KEY_PATTERN=/(?:access.?key|api.?key|authorization|cookie|credential|password|passwd|private.?key|secret|token|webhook)/i,SENSITIVE_FLAG_NAMES=new Set([a175_0x1e2ae8(0xa3),'variables']),SENSITIVE_VALUE_KEYS=new Set([a175_0x1e2ae8(0xa3)]);export function isSensitiveKey(_0x3d0346){const _0x5bb7f4=a175_0x1e2ae8,_0x28107c=_0x3d0346[_0x5bb7f4(0xa1)](/_/g,'-')['toLowerCase']();return SENSITIVE_KEY_PATTERN[_0x5bb7f4(0x98)](_0x28107c);}export function isSensitiveFlagName(_0x56b1a7){const _0x32c30c=a175_0x1e2ae8,_0x416db1=_0x56b1a7[_0x32c30c(0xa1)](/_/g,'-')[_0x32c30c(0xa6)]();return isSensitiveKey(_0x416db1)||SENSITIVE_FLAG_NAMES[_0x32c30c(0xa2)](_0x416db1);}function redactVariableValues(_0x379865){const _0x34a201=a175_0x1e2ae8;if(Array['isArray'](_0x379865))return _0x379865[_0x34a201(0xa8)](_0xeba211=>redactVariableValues(_0xeba211));if(_0x379865&&typeof _0x379865===_0x34a201(0x99))return Object[_0x34a201(0x9f)](Object['entries'](_0x379865)[_0x34a201(0xa8)](([_0x126bd1,_0x11c7b3])=>[_0x126bd1,redactVariableValues(_0x11c7b3)]));return REDACTED_VALUE;}function a175_0xbb51(){const _0x283942=['object','35qjpQlc','4348290JMRcyG','244AxzAWE','18175aSqTGe','189211zhkOhi','fromEntries','9zBIicF','replace','has','comment','isArray','976218XNJMCh','toLowerCase','321032PsRnby','map','3806538csgprn','entries','variables','1161548UfkmpN','push','test'];a175_0xbb51=function(){return _0x283942;};return a175_0xbb51();}export function redactSensitiveValue(_0x17ca39){const _0x39e2a9=a175_0x1e2ae8;if(Array[_0x39e2a9(0xa4)](_0x17ca39))return _0x17ca39[_0x39e2a9(0xa8)](_0x257dc9=>redactSensitiveValue(_0x257dc9));if(!_0x17ca39||typeof _0x17ca39!=='object')return _0x17ca39;const _0x23a862={};for(const [_0x50f54a,_0x473dfa]of Object[_0x39e2a9(0xaa)](_0x17ca39)){const _0x51c2eb=_0x50f54a[_0x39e2a9(0xa1)](/_/g,'-')[_0x39e2a9(0xa6)]();_0x23a862[_0x50f54a]=_0x51c2eb===_0x39e2a9(0xab)?redactVariableValues(_0x473dfa):SENSITIVE_VALUE_KEYS[_0x39e2a9(0xa2)](_0x51c2eb)||isSensitiveKey(_0x50f54a)?REDACTED_VALUE:redactSensitiveValue(_0x473dfa);}return _0x23a862;}export function redactCommandArgv(_0x37c9da){const _0x2036f0=a175_0x1e2ae8,_0x573b66=[];let _0x4b19f4=![];for(const _0x35db02 of _0x37c9da){if(_0x4b19f4){_0x573b66['push'](REDACTED_VALUE),_0x4b19f4=![];continue;}const _0x48a1bb=_0x35db02['match'](/^--([^=]+)(?:=(.*))?$/);if(!_0x48a1bb||!isSensitiveFlagName(_0x48a1bb[0x1]??'')){_0x573b66[_0x2036f0(0x97)](_0x35db02);continue;}_0x573b66[_0x2036f0(0x97)]('--'+_0x48a1bb[0x1]+(_0x48a1bb[0x2]===undefined?'':'='+REDACTED_VALUE)),_0x48a1bb[0x2]===undefined&&(_0x4b19f4=!![]);}return _0x573b66;}export{REDACTED_VALUE};
@@ -0,0 +1,2 @@
1
+ /** Preserve decimal user IDs without passing strings through JavaScript numbers. */
2
+ export declare function normalizeRuntimeUserId(value: unknown): string | undefined;
@@ -0,0 +1 @@
1
+ function a176_0xb79a(_0x1748e5,_0xab4b34){_0x1748e5=_0x1748e5-0x76;const _0x6b0393=a176_0x6b03();let _0xb79af7=_0x6b0393[_0x1748e5];return _0xb79af7;}(function(_0x1a1b60,_0x551b67){const _0xbf4610=a176_0xb79a,_0x159c82=_0x1a1b60();while(!![]){try{const _0x5534f5=parseInt(_0xbf4610(0x7f))/0x1+-parseInt(_0xbf4610(0x7d))/0x2*(parseInt(_0xbf4610(0x7e))/0x3)+parseInt(_0xbf4610(0x79))/0x4+parseInt(_0xbf4610(0x78))/0x5+-parseInt(_0xbf4610(0x7c))/0x6+-parseInt(_0xbf4610(0x80))/0x7+parseInt(_0xbf4610(0x82))/0x8;if(_0x5534f5===_0x551b67)break;else _0x159c82['push'](_0x159c82['shift']());}catch(_0x50cadb){_0x159c82['push'](_0x159c82['shift']());}}}(a176_0x6b03,0x3357b));function a176_0x6b03(){const _0x5dffac=['test','replace','135840Bdriyu','308352JgBkyH','number','string','673698qlyAcY','328dsDpHW','2199GzXNwq','310346HcpKlE','899724YtMzSr','isSafeInteger','1253792ZMOBVu'];a176_0x6b03=function(){return _0x5dffac;};return a176_0x6b03();}export function normalizeRuntimeUserId(_0x4c196a){const _0x34393e=a176_0xb79a;if(typeof _0x4c196a===_0x34393e(0x7a))return Number[_0x34393e(0x81)](_0x4c196a)&&_0x4c196a>0x0?String(_0x4c196a):undefined;if(typeof _0x4c196a!==_0x34393e(0x7b)||!/^\d+$/[_0x34393e(0x76)](_0x4c196a))return undefined;const _0x2aa493=_0x4c196a[_0x34393e(0x77)](/^0+/,'');return _0x2aa493||undefined;}
@@ -1 +1 @@
1
- (function(_0x42c2d8,_0x3bb072){const _0x55584b=a176_0x5596,_0x354b0b=_0x42c2d8();while(!![]){try{const _0x5930d0=-parseInt(_0x55584b(0x1df))/0x1+parseInt(_0x55584b(0x1e8))/0x2+-parseInt(_0x55584b(0x1d3))/0x3*(-parseInt(_0x55584b(0x1da))/0x4)+parseInt(_0x55584b(0x1d8))/0x5+-parseInt(_0x55584b(0x1e7))/0x6*(parseInt(_0x55584b(0x1e2))/0x7)+parseInt(_0x55584b(0x1d7))/0x8*(parseInt(_0x55584b(0x1e6))/0x9)+-parseInt(_0x55584b(0x1d4))/0xa;if(_0x5930d0===_0x3bb072)break;else _0x354b0b['push'](_0x354b0b['shift']());}catch(_0x5ed400){_0x354b0b['push'](_0x354b0b['shift']());}}}(a176_0x564c,0xa04e3));function a176_0x5596(_0x5403a6,_0x383193){_0x5403a6=_0x5403a6-0x1cf;const _0x564cef=a176_0x564c();let _0x559670=_0x564cef[_0x5403a6];return _0x559670;}import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{checkCliVersion,getCliUpgradeCommand}from'../utils/cli-version-check.js';const UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function a176_0x564c(){const _0x3f4db5=['object','currentVersion','utf8','join','70914GKzucQ','16119600IMUYTr','.cache','yes','176LFHkTB','4512085YXebVr','stableVersion','212WsioZU','update-check.json',',\x20run:\x20','belowMinimum','toLowerCase','1085819uCPWFT','number','lastNotifiedAt','20755WSpUcE','filter','needsUpgrade','upgradeMessage','463041eCIlom','498ofMlah','626752cxJFia','trim'];a176_0x564c=function(){return _0x3f4db5;};return a176_0x564c();}function isUpdateNoticeDisabled(){const _0x318c75=a176_0x5596,_0x2fb824=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x318c75(0x1e9)]()[_0x318c75(0x1de)]();return _0x2fb824==='1'||_0x2fb824==='true'||_0x2fb824===_0x318c75(0x1d6);}function cacheRoot(){const _0x174b0e=a176_0x5596;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x174b0e(0x1d5));}export function getUpdateNoticeCachePath(){const _0x534422=a176_0x5596;return join(cacheRoot(),'lovrabet-cli',_0x534422(0x1db));}async function readUpdateNoticeCache(){const _0x154497=a176_0x5596;try{const _0x11336a=await readFile(getUpdateNoticeCachePath(),_0x154497(0x1d1)),_0x379a2e=JSON['parse'](_0x11336a);if(!_0x379a2e||typeof _0x379a2e!==_0x154497(0x1cf))return{};return _0x379a2e;}catch{return{};}}async function writeUpdateNoticeCache(_0x3f71a8){const _0x341849=a176_0x5596;try{const _0x153519=getUpdateNoticeCachePath();await mkdir(dirname(_0x153519),{'recursive':!![]}),await writeFile(_0x153519,JSON['stringify'](_0x3f71a8,null,0x2)+'\x0a',_0x341849(0x1d1));}catch{}}function isRecentlyNotified(_0x520789,_0x29a70d,_0x1d55b6){const _0x263ac9=a176_0x5596;return _0x520789['lastNotifiedVersion']===_0x29a70d&&typeof _0x520789[_0x263ac9(0x1e1)]===_0x263ac9(0x1e0)&&_0x1d55b6-_0x520789[_0x263ac9(0x1e1)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x819e51){return'https://www.npmjs.com/package/'+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x819e51;}export async function resolveLatestUpdateNotice(_0x1de7b5){const _0x2c5e2d=a176_0x5596;if(isUpdateNoticeDisabled())return null;try{const _0x3af539=Date['now'](),_0x282ca7=_0x1de7b5??await checkCliVersion(),_0x266afa=_0x282ca7[_0x2c5e2d(0x1d0)],_0x28563d=_0x282ca7[_0x2c5e2d(0x1d9)],_0x259b27=await readUpdateNoticeCache();if(!_0x28563d||!_0x282ca7[_0x2c5e2d(0x1e4)]||_0x282ca7[_0x2c5e2d(0x1dd)])return null;if(isRecentlyNotified(_0x259b27,_0x28563d,_0x3af539))return null;const _0x466907=getCliUpgradeCommand(_0x282ca7);return await writeUpdateNoticeCache({..._0x259b27,'checkedAt':_0x3af539,'latest':_0x28563d,'failed':![],'lastNotifiedVersion':_0x28563d,'lastNotifiedAt':_0x3af539}),{'command':_0x466907,'current':_0x266afa,'latest':_0x28563d,'url':buildNpmVersionUrl(_0x28563d),'message':[_0x282ca7[_0x2c5e2d(0x1e5)],CLI_BIN_NAME+'\x20'+_0x28563d+'\x20is\x20recommended,\x20current\x20'+_0x266afa+_0x2c5e2d(0x1dc)+_0x466907][_0x2c5e2d(0x1e3)](Boolean)[_0x2c5e2d(0x1d2)]('\x20')};}catch{return null;}}
1
+ (function(_0x145db7,_0x19a0bf){const _0x45cb64=a177_0xcaa6,_0x4e2c1b=_0x145db7();while(!![]){try{const _0xcb22e2=parseInt(_0x45cb64(0x182))/0x1+-parseInt(_0x45cb64(0x17f))/0x2*(-parseInt(_0x45cb64(0x183))/0x3)+-parseInt(_0x45cb64(0x176))/0x4+parseInt(_0x45cb64(0x17d))/0x5+parseInt(_0x45cb64(0x178))/0x6*(parseInt(_0x45cb64(0x17a))/0x7)+-parseInt(_0x45cb64(0x189))/0x8+-parseInt(_0x45cb64(0x17c))/0x9;if(_0xcb22e2===_0x19a0bf)break;else _0x4e2c1b['push'](_0x4e2c1b['shift']());}catch(_0xceaac6){_0x4e2c1b['push'](_0x4e2c1b['shift']());}}}(a177_0x291d,0x2f62b));import{mkdir,readFile,writeFile}from'node:fs/promises';function a177_0x291d(){const _0x4b4065=['181115JXhzkL','number','88250JwVaEn','utf8','lastNotifiedVersion','109505xcDxLz','15ogqqVT','lovrabet-cli','update-check.json','join','.cache','filter','252792IhpGAd','/v/','lastNotifiedAt','yes','https://www.npmjs.com/package/',',\x20run:\x20','trim','168932haAOYK','upgradeMessage','4974lQoNqL','toLowerCase','2926vtECFF','needsUpgrade','4004568CWwIwH'];a177_0x291d=function(){return _0x4b4065;};return a177_0x291d();}import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{checkCliVersion,getCliUpgradeCommand}from'../utils/cli-version-check.js';const UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0x1a6635=a177_0xcaa6,_0x154de7=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x1a6635(0x175)]()[_0x1a6635(0x179)]();return _0x154de7==='1'||_0x154de7==='true'||_0x154de7===_0x1a6635(0x18c);}function cacheRoot(){const _0x4b6fc6=a177_0xcaa6;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x4b6fc6(0x187));}function a177_0xcaa6(_0x25be0c,_0x187456){_0x25be0c=_0x25be0c-0x175;const _0x291dfc=a177_0x291d();let _0xcaa6b4=_0x291dfc[_0x25be0c];return _0xcaa6b4;}export function getUpdateNoticeCachePath(){const _0x3db03a=a177_0xcaa6;return join(cacheRoot(),_0x3db03a(0x184),_0x3db03a(0x185));}async function readUpdateNoticeCache(){const _0x54e8bc=a177_0xcaa6;try{const _0x1adf1c=await readFile(getUpdateNoticeCachePath(),_0x54e8bc(0x180)),_0x17f196=JSON['parse'](_0x1adf1c);if(!_0x17f196||typeof _0x17f196!=='object')return{};return _0x17f196;}catch{return{};}}async function writeUpdateNoticeCache(_0x216683){const _0x6b3c82=a177_0xcaa6;try{const _0x560648=getUpdateNoticeCachePath();await mkdir(dirname(_0x560648),{'recursive':!![]}),await writeFile(_0x560648,JSON['stringify'](_0x216683,null,0x2)+'\x0a',_0x6b3c82(0x180));}catch{}}function isRecentlyNotified(_0x4bd438,_0x18444e,_0x557d54){const _0x537d49=a177_0xcaa6;return _0x4bd438[_0x537d49(0x181)]===_0x18444e&&typeof _0x4bd438['lastNotifiedAt']===_0x537d49(0x17e)&&_0x557d54-_0x4bd438[_0x537d49(0x18b)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0xe3fd4){const _0x3bbed0=a177_0xcaa6;return _0x3bbed0(0x18d)+LOVRABET_NPM_PACKAGE_NAME+_0x3bbed0(0x18a)+_0xe3fd4;}export async function resolveLatestUpdateNotice(_0x101241){const _0x39707b=a177_0xcaa6;if(isUpdateNoticeDisabled())return null;try{const _0x1f180b=Date['now'](),_0x1b7a8f=_0x101241??await checkCliVersion(),_0x3d840a=_0x1b7a8f['currentVersion'],_0x246e75=_0x1b7a8f['stableVersion'],_0x4e7867=await readUpdateNoticeCache();if(!_0x246e75||!_0x1b7a8f[_0x39707b(0x17b)]||_0x1b7a8f['belowMinimum'])return null;if(isRecentlyNotified(_0x4e7867,_0x246e75,_0x1f180b))return null;const _0x4c1f17=getCliUpgradeCommand(_0x1b7a8f);return await writeUpdateNoticeCache({..._0x4e7867,'checkedAt':_0x1f180b,'latest':_0x246e75,'failed':![],'lastNotifiedVersion':_0x246e75,'lastNotifiedAt':_0x1f180b}),{'command':_0x4c1f17,'current':_0x3d840a,'latest':_0x246e75,'url':buildNpmVersionUrl(_0x246e75),'message':[_0x1b7a8f[_0x39707b(0x177)],CLI_BIN_NAME+'\x20'+_0x246e75+'\x20is\x20recommended,\x20current\x20'+_0x3d840a+_0x39707b(0x18e)+_0x4c1f17][_0x39707b(0x188)](Boolean)[_0x39707b(0x186)]('\x20')};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x50cd58,_0x273d3b){const _0x9074f0=a177_0x25fb,_0x52238f=_0x50cd58();while(!![]){try{const _0x16db86=parseInt(_0x9074f0(0x81))/0x1+-parseInt(_0x9074f0(0x78))/0x2+parseInt(_0x9074f0(0x7a))/0x3*(-parseInt(_0x9074f0(0x77))/0x4)+-parseInt(_0x9074f0(0x80))/0x5*(-parseInt(_0x9074f0(0x7c))/0x6)+parseInt(_0x9074f0(0x7f))/0x7+-parseInt(_0x9074f0(0x79))/0x8*(-parseInt(_0x9074f0(0x7e))/0x9)+-parseInt(_0x9074f0(0x7b))/0xa*(parseInt(_0x9074f0(0x7d))/0xb);if(_0x16db86===_0x273d3b)break;else _0x52238f['push'](_0x52238f['shift']());}catch(_0x4298b2){_0x52238f['push'](_0x52238f['shift']());}}}(a177_0x359d,0x49f56));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x4f8cd9=a177_0x25fb,_0x3836b7=String(GIT_COMMIT);return _0x3836b7&&_0x3836b7!==_0x4f8cd9(0x75)?_0x3836b7:'';}export function getCliVersionDisplay(){const _0xf12398=a177_0x25fb,_0x376890=getCliGitCommit(),_0x23f04c=BUILD_TIME[_0xf12398(0x76)](0x0,0xa);if(!_0x376890||!_0x23f04c)return VERSION;return VERSION+'\x20('+_0x376890+',\x20'+_0x23f04c+')';}function a177_0x25fb(_0x2db7ce,_0x43b4f6){_0x2db7ce=_0x2db7ce-0x75;const _0x359d1a=a177_0x359d();let _0x25fbc8=_0x359d1a[_0x2db7ce];return _0x25fbc8;}function a177_0x359d(){const _0x195493=['slice','1249004hPQijj','35390kLuwSz','687704rfaOeu','3enSICY','585910cwHpUs','48olYmWs','11QuWaDl','45lmrjXq','412230GnzigS','92030JUGCcP','55518QZZaog','unknown'];a177_0x359d=function(){return _0x195493;};return a177_0x359d();}
1
+ (function(_0xd90263,_0x59ecc2){const _0xf2d9f4=a178_0x338c,_0x55a49c=_0xd90263();while(!![]){try{const _0x5595a4=parseInt(_0xf2d9f4(0xaf))/0x1*(parseInt(_0xf2d9f4(0xb6))/0x2)+-parseInt(_0xf2d9f4(0xad))/0x3*(-parseInt(_0xf2d9f4(0xb4))/0x4)+parseInt(_0xf2d9f4(0xae))/0x5+-parseInt(_0xf2d9f4(0xb2))/0x6+parseInt(_0xf2d9f4(0xab))/0x7+parseInt(_0xf2d9f4(0xac))/0x8*(-parseInt(_0xf2d9f4(0xb5))/0x9)+-parseInt(_0xf2d9f4(0xb3))/0xa*(parseInt(_0xf2d9f4(0xb1))/0xb);if(_0x5595a4===_0x59ecc2)break;else _0x55a49c['push'](_0x55a49c['shift']());}catch(_0x5c4d71){_0x55a49c['push'](_0x55a49c['shift']());}}}(a178_0x2aa6,0x838b5));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a178_0x338c(_0x5c8dea,_0x580a87){_0x5c8dea=_0x5c8dea-0xab;const _0x2aa661=a178_0x2aa6();let _0x338c86=_0x2aa661[_0x5c8dea];return _0x338c86;}function a178_0x2aa6(){const _0x4aaa04=['983169KbWGlu','193202qHGOMY','unknown','6461203scrJQN','16DgDbFM','30348flnatX','3034930UZAlYh','10HlGAsM','slice','1562kMvKio','6464016QJqZDF','47290dwgRAG','4moIgBD'];a178_0x2aa6=function(){return _0x4aaa04;};return a178_0x2aa6();}export function getCliGitCommit(){const _0x3d99c8=a178_0x338c,_0x19a37e=String(GIT_COMMIT);return _0x19a37e&&_0x19a37e!==_0x3d99c8(0xb7)?_0x19a37e:'';}export function getCliVersionDisplay(){const _0x462f0b=a178_0x338c,_0x34927a=getCliGitCommit(),_0x248f26=BUILD_TIME[_0x462f0b(0xb0)](0x0,0xa);if(!_0x34927a||!_0x248f26)return VERSION;return VERSION+'\x20('+_0x34927a+',\x20'+_0x248f26+')';}
@@ -1 +1 @@
1
- function a178_0xfed7(){var _0x25c5b0=['2739213CCamUT','write','5192zNDBfd','2699300bkiscB','59imwBDV','268648PAMRLu','55QaoSIh','5613849qkncof','stderr','882287GYxFci','12DMrNHr','10ZhOmFd','6461200ZSwpeA'];a178_0xfed7=function(){return _0x25c5b0;};return a178_0xfed7();}function a178_0x5804(_0x4a9295,_0x318314){_0x4a9295=_0x4a9295-0xa7;var _0xfed75=a178_0xfed7();var _0x580422=_0xfed75[_0x4a9295];return _0x580422;}(function(_0xbbca7d,_0x20bf40){var _0x4cc548=a178_0x5804,_0x1bd467=_0xbbca7d();while(!![]){try{var _0x5776fb=-parseInt(_0x4cc548(0xab))/0x1*(parseInt(_0x4cc548(0xa9))/0x2)+-parseInt(_0x4cc548(0xa7))/0x3+parseInt(_0x4cc548(0xac))/0x4*(-parseInt(_0x4cc548(0xb2))/0x5)+-parseInt(_0x4cc548(0xb1))/0x6*(-parseInt(_0x4cc548(0xb0))/0x7)+parseInt(_0x4cc548(0xb3))/0x8+-parseInt(_0x4cc548(0xae))/0x9+-parseInt(_0x4cc548(0xaa))/0xa*(-parseInt(_0x4cc548(0xad))/0xb);if(_0x5776fb===_0x20bf40)break;else _0x1bd467['push'](_0x1bd467['shift']());}catch(_0x40926d){_0x1bd467['push'](_0x1bd467['shift']());}}}(a178_0xfed7,0x8ed66));export function writeCliSideChannelLine(_0x12eb7a){var _0x45b055=a178_0x5804;process[_0x45b055(0xaf)][_0x45b055(0xa8)](_0x12eb7a+'\x0a');}
1
+ (function(_0x16476b,_0x48f35e){var _0x58495c=a179_0x47ae,_0x2ec9a9=_0x16476b();while(!![]){try{var _0x18c601=parseInt(_0x58495c(0x170))/0x1*(-parseInt(_0x58495c(0x171))/0x2)+-parseInt(_0x58495c(0x174))/0x3*(parseInt(_0x58495c(0x173))/0x4)+-parseInt(_0x58495c(0x178))/0x5+parseInt(_0x58495c(0x172))/0x6+-parseInt(_0x58495c(0x176))/0x7*(parseInt(_0x58495c(0x179))/0x8)+-parseInt(_0x58495c(0x17a))/0x9+parseInt(_0x58495c(0x175))/0xa;if(_0x18c601===_0x48f35e)break;else _0x2ec9a9['push'](_0x2ec9a9['shift']());}catch(_0x50e40c){_0x2ec9a9['push'](_0x2ec9a9['shift']());}}}(a179_0x5201,0xe508d));function a179_0x47ae(_0x561adb,_0x1eb41d){_0x561adb=_0x561adb-0x170;var _0x52010e=a179_0x5201();var _0x47ae39=_0x52010e[_0x561adb];return _0x47ae39;}export function writeCliSideChannelLine(_0x1920b4){var _0x242c9b=a179_0x47ae;process['stderr'][_0x242c9b(0x177)](_0x1920b4+'\x0a');}function a179_0x5201(){var _0x33dffd=['18971cPQJQu','132qSeZld','3648564XOfDUO','122236LSsRFy','87jGjHza','38933960cfhuhR','7CUjEST','write','2574850IdvlRe','3573424mdSTIO','4170780hhdhlr'];a179_0x5201=function(){return _0x33dffd;};return a179_0x5201();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.3.8-beta.1",
3
+ "version": "2.3.8-beta.2",
4
4
  "description": "Runtime CLI for Lovrabet apps, datasets, SQL, Backend Function, skills, and AI agent workflows.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -86,7 +86,7 @@
86
86
  "dependencies": {
87
87
  "@inquirer/prompts": "^8.6.0",
88
88
  "@lovrabet/cli-framework": "1.0.5",
89
- "@lovrabet/sdk": "1.4.2",
89
+ "@lovrabet/sdk": "1.6.1-beta.3",
90
90
  "chalk": "^5.6.2",
91
91
  "exceljs": "4.4.0",
92
92
  "execa": "^9.6.0",
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: lovrabet
3
3
  displayName: Lovrabet 运行态 CLI
4
- version: 2.3.8-beta.1
4
+ version: 2.3.8-beta.2
5
5
  description: "Lovrabet 运行态 CLI — 面向业务场景的 AI 操作套件,通过 lovrabet 命令管理应用目录、业务角色与权限、用户级外部账号、Service Tree 业务命令、API 文档发现、数据集查询、Instant API 数据操作、可恢复 Excel 导入、Custom SQL/Backend Function、Personal Backend Function、文件上传、面向票证类业务材料文字与结构化字段提取的 OCR、审批待办与任务办理、定时任务、Skill、知识库与运行态 app-config key 状态检查。触发词:云图、lovrabet、lovrabet-cli、业务角色、角色成员、页面权限、菜单权限、数据集权限、user-account bind、provider 外部账号绑定、钉钉 userId 绑定、service tree、业务服务树、api-doc、dataset、data filter、Excel 导入、data import-excel、file upload、file query-url、ocr recognize、OCR 识别、票证文字提取、票证字段提取、发票识别、票据识别、证照识别、附件上传、personal-bff、approval、审批、待办、approve、reject、transfer、schedule、定时任务、cron、kb、skill、sql exec、bff exec、app-config、accessKey、compress、jq。"
6
6
  metadata:
7
7
  requires:
@@ -54,11 +54,12 @@ lovrabet role user-remove --role <roleId|exactName> --user <userId> --expect-use
54
54
  lovrabet role user-remove --role <roleId|exactName> --user <userId> --expect-user-count <count> --yes --format compress
55
55
  ```
56
56
 
57
- - `--user` 使用数字用户 ID;添加时该人员必须已经属于目标应用。
57
+ - `--user` 使用用户 ID(字符串);添加时该人员必须已经属于目标应用。
58
+ - `selector.userId` 和 `before/after.userIds` 均输出字符串。
58
59
  - `--expect-user-count` 用于防止读取后成员数量已变化,建议每次写入都提供。
59
60
  - 重复添加已有成员或移出不存在的成员不会重复写入。
60
61
  - OWNER 成员不能用这些命令调整。
61
- - 如果人员身份不明确,停止写入并要求用户确认数字用户 ID。
62
+ - 如果人员身份不明确,停止写入并要求用户确认用户 ID。
62
63
 
63
64
  ## 页面权限
64
65
 
@@ -2,8 +2,8 @@
2
2
  "schemaVersion": 1,
3
3
  "name": "lovrabet",
4
4
  "packageName": "@lovrabet/lovrabet-cli",
5
- "packageVersion": "2.3.8-beta.1",
6
- "skillVersion": "2.3.8-beta.1",
5
+ "packageVersion": "2.3.8-beta.2",
6
+ "skillVersion": "2.3.8-beta.2",
7
7
  "files": [
8
8
  "SKILL.md",
9
9
  "guides/app-resolution.md",
@@ -40,5 +40,5 @@
40
40
  "references/lovrabet-user-account.md",
41
41
  "references/lovrabet-workspace.md"
42
42
  ],
43
- "digest": "eff5dad531db2b3a864dc67dead9c562ffa390920882329225c3303bc87aa13a"
43
+ "digest": "dea9c677da92cc166a9796d1f6a5a02ebf3cad33c9ac5ca84e74417c6fa130a4"
44
44
  }