@lovrabet/lovrabet-cli 2.3.7 → 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 (189) hide show
  1. package/README.md +1 -1
  2. package/lib/cli.js +1 -1
  3. package/lib/commands/api-doc/index.js +1 -1
  4. package/lib/commands/app/cache.js +1 -1
  5. package/lib/commands/app/definitions.js +1 -1
  6. package/lib/commands/app/eligibility.js +1 -1
  7. package/lib/commands/app/mock-loader.js +1 -1
  8. package/lib/commands/app/remote-source.js +1 -1
  9. package/lib/commands/app/shared.js +1 -1
  10. package/lib/commands/app-config/get.js +1 -1
  11. package/lib/commands/app-config/index.js +1 -1
  12. package/lib/commands/approval/index.js +1 -1
  13. package/lib/commands/artifact/index.js +1 -1
  14. package/lib/commands/auth/device.js +1 -1
  15. package/lib/commands/auth/index.js +1 -1
  16. package/lib/commands/auth/prompt.js +1 -1
  17. package/lib/commands/bff/detail.js +1 -1
  18. package/lib/commands/bff/exec.js +1 -1
  19. package/lib/commands/bff/index.js +1 -1
  20. package/lib/commands/cli-skill/index.js +1 -1
  21. package/lib/commands/common/config-policy.js +1 -1
  22. package/lib/commands/common/constraints.js +1 -1
  23. package/lib/commands/common/flags.js +1 -1
  24. package/lib/commands/common/local-file.js +1 -1
  25. package/lib/commands/config/definitions.js +1 -1
  26. package/lib/commands/config/init.d.ts +1 -1
  27. package/lib/commands/config/init.js +1 -1
  28. package/lib/commands/config/shared.js +1 -1
  29. package/lib/commands/data/import-excel.js +1 -1
  30. package/lib/commands/data/index.js +1 -1
  31. package/lib/commands/dataset/detail.js +1 -1
  32. package/lib/commands/dataset/index.js +1 -1
  33. package/lib/commands/dataset/list.js +1 -1
  34. package/lib/commands/dataset/sdk-doc.js +1 -1
  35. package/lib/commands/doctor.js +1 -1
  36. package/lib/commands/file/index.js +1 -1
  37. package/lib/commands/init.js +1 -1
  38. package/lib/commands/kb/index.js +1 -1
  39. package/lib/commands/logs/index.js +1 -1
  40. package/lib/commands/notification/config-list.js +1 -1
  41. package/lib/commands/notification/index.js +1 -1
  42. package/lib/commands/notification/shared.js +1 -1
  43. package/lib/commands/ocr/index.js +1 -1
  44. package/lib/commands/permit/dataset-get.js +1 -1
  45. package/lib/commands/permit/dataset-set.js +1 -1
  46. package/lib/commands/permit/index.js +1 -1
  47. package/lib/commands/permit/page-get.js +1 -1
  48. package/lib/commands/permit/page-set.js +1 -1
  49. package/lib/commands/permit/role-menus-set.js +1 -1
  50. package/lib/commands/permit/role-menus.js +1 -1
  51. package/lib/commands/permit/shared.js +1 -1
  52. package/lib/commands/personal-bff/index.js +1 -1
  53. package/lib/commands/registry.js +1 -1
  54. package/lib/commands/role/create.js +1 -1
  55. package/lib/commands/role/delete.js +1 -1
  56. package/lib/commands/role/detail.js +1 -1
  57. package/lib/commands/role/index.js +1 -1
  58. package/lib/commands/role/list.js +1 -1
  59. package/lib/commands/role/shared.d.ts +32 -6
  60. package/lib/commands/role/shared.js +1 -1
  61. package/lib/commands/role/update.js +1 -1
  62. package/lib/commands/role/user-add.js +1 -1
  63. package/lib/commands/role/user-remove.js +1 -1
  64. package/lib/commands/schedule/index.js +1 -1
  65. package/lib/commands/schema.js +1 -1
  66. package/lib/commands/service/dynamic.js +1 -1
  67. package/lib/commands/service/function-name-adapter.js +1 -1
  68. package/lib/commands/service/index.js +1 -1
  69. package/lib/commands/service/registry.js +1 -1
  70. package/lib/commands/skill/commands/create.js +1 -1
  71. package/lib/commands/skill/commands/diagram.js +1 -1
  72. package/lib/commands/skill/commands/install.js +1 -1
  73. package/lib/commands/skill/commands/list.js +1 -1
  74. package/lib/commands/skill/commands/push.js +1 -1
  75. package/lib/commands/skill/commands/validate.js +1 -1
  76. package/lib/commands/skill/diagram.js +1 -1
  77. package/lib/commands/skill/flags.js +1 -1
  78. package/lib/commands/skill/index.js +1 -1
  79. package/lib/commands/skill/manifest-helpers.js +1 -1
  80. package/lib/commands/skill/push-execute.js +1 -1
  81. package/lib/commands/skill/push-flow-helpers.js +1 -1
  82. package/lib/commands/skill/push-retarget.js +1 -1
  83. package/lib/commands/skill/scopes.js +1 -1
  84. package/lib/commands/skill/summary.js +1 -1
  85. package/lib/commands/skill/templates.js +1 -1
  86. package/lib/commands/skill/validate.js +1 -1
  87. package/lib/commands/sql/detail.js +1 -1
  88. package/lib/commands/sql/exec.d.ts +2 -4
  89. package/lib/commands/sql/exec.js +1 -1
  90. package/lib/commands/sql/index.js +1 -1
  91. package/lib/commands/update.js +1 -1
  92. package/lib/commands/user-account/bind.js +1 -1
  93. package/lib/commands/user-account/index.js +1 -1
  94. package/lib/commands/workspace/index.js +1 -1
  95. package/lib/config/domain-config.js +1 -1
  96. package/lib/config/schema.js +1 -1
  97. package/lib/constant/app.js +1 -1
  98. package/lib/constant/auth-mode.js +1 -1
  99. package/lib/constant/cli.js +1 -1
  100. package/lib/constant/defaults.js +1 -1
  101. package/lib/constant/distribution.js +1 -1
  102. package/lib/constant/domain.js +1 -1
  103. package/lib/constant/env.js +1 -1
  104. package/lib/constant/output.js +1 -1
  105. package/lib/constant/product.js +1 -1
  106. package/lib/constant/region.js +1 -1
  107. package/lib/constant/risk.js +1 -1
  108. package/lib/constant/url.js +1 -1
  109. package/lib/context.js +1 -1
  110. package/lib/core/api-client.d.ts +20 -340
  111. package/lib/core/api-client.js +1 -1
  112. package/lib/core/db-resolver.js +1 -1
  113. package/lib/core/kb-management-client.js +1 -1
  114. package/lib/core/kb-search-client.js +1 -1
  115. package/lib/core/sdk-client.d.ts +7 -10
  116. package/lib/core/sdk-client.js +1 -1
  117. package/lib/errors.js +1 -1
  118. package/lib/framework/access-error.js +1 -1
  119. package/lib/framework/build-all-flags.js +1 -1
  120. package/lib/framework/dryrun.js +1 -1
  121. package/lib/framework/flags.js +1 -1
  122. package/lib/framework/help.js +1 -1
  123. package/lib/framework/index.js +1 -1
  124. package/lib/framework/output.js +1 -1
  125. package/lib/framework/preparse.js +1 -1
  126. package/lib/framework/rate-limit.js +1 -1
  127. package/lib/framework/raw-flags.js +1 -1
  128. package/lib/framework/response.js +1 -1
  129. package/lib/framework/runner-confirmation.js +1 -1
  130. package/lib/framework/runner-error.js +1 -1
  131. package/lib/framework/runner.js +1 -1
  132. package/lib/framework/schema-export.js +1 -1
  133. package/lib/framework/service-order.js +1 -1
  134. package/lib/framework/types.js +1 -1
  135. package/lib/generated/build-info.d.ts +4 -4
  136. package/lib/generated/build-info.js +1 -1
  137. package/lib/generated/official-routing.js +1 -1
  138. package/lib/generated/routing-contract.js +1 -1
  139. package/lib/help.js +1 -1
  140. package/lib/postinstall.js +1 -1
  141. package/lib/runtime/confirmation.js +1 -1
  142. package/lib/runtime/event.js +1 -1
  143. package/lib/runtime/index.js +1 -1
  144. package/lib/runtime/queue.js +1 -1
  145. package/lib/runtime/resolve.js +1 -1
  146. package/lib/services/dataset-import/auto-id-runner.js +1 -1
  147. package/lib/services/dataset-import/excel-reader.js +1 -1
  148. package/lib/services/dataset-import/image-bytes.js +1 -1
  149. package/lib/services/dataset-import/image-ooxml.js +1 -1
  150. package/lib/services/dataset-import/image-runner.js +1 -1
  151. package/lib/services/dataset-import/metadata.js +1 -1
  152. package/lib/services/dataset-import/preview.js +1 -1
  153. package/lib/services/dataset-import/runner.js +1 -1
  154. package/lib/skills/builtin-skill.js +1 -1
  155. package/lib/skills/npx-skills-add.js +1 -1
  156. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  157. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  158. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  159. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  160. package/lib/skills/runtime-skill-sync/links.js +1 -1
  161. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  162. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  163. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  164. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  165. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  166. package/lib/skills/runtime-skill-sync/push.js +1 -1
  167. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  168. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  169. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  170. package/lib/skills/runtime-skill-sync.js +1 -1
  171. package/lib/skills/skill-presence.js +1 -1
  172. package/lib/utils/access-key-redaction.js +1 -1
  173. package/lib/utils/apply-jq-filter.js +1 -1
  174. package/lib/utils/cli-version-check.js +1 -1
  175. package/lib/utils/cli-version-policy.js +1 -1
  176. package/lib/utils/logger.js +1 -1
  177. package/lib/utils/lossless-json.js +1 -1
  178. package/lib/utils/params.js +1 -1
  179. package/lib/utils/positive-safe-integer.js +1 -1
  180. package/lib/utils/redaction.js +1 -1
  181. package/lib/utils/runtime-user-id.d.ts +2 -0
  182. package/lib/utils/runtime-user-id.js +1 -0
  183. package/lib/utils/update-notice.js +1 -1
  184. package/lib/utils/version.js +1 -1
  185. package/lib/utils/write-cli-side-channel.js +1 -1
  186. package/package.json +3 -3
  187. package/skills/lovrabet/SKILL.md +2 -2
  188. package/skills/lovrabet/guides/role-and-permission-workflow.md +3 -2
  189. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- function a172_0x504e(){const _0x30e53a=['99uovAYu','8afBqiG','MIN_SAFE_INTEGER','1526FBmmhh','219485lvsbNR','length','195700rUcYQq','1190990rMbkda','1441425XQWUUc','text','MAX_SAFE_INTEGER','4083633rOypyD','parse','defineProperty','json','3528mJWNdc','591198mTwyNP','includes','prototype','2gVZnCs','undefined','slice','exec'];a172_0x504e=function(){return _0x30e53a;};return a172_0x504e();}const a172_0x1d575e=a172_0x7c34;(function(_0x4de965,_0xfb4022){const _0x403d84=a172_0x7c34,_0x59d6d4=_0x4de965();while(!![]){try{const _0x4b5576=parseInt(_0x403d84(0x105))/0x1+parseInt(_0x403d84(0xfd))/0x2*(-parseInt(_0x403d84(0xfa))/0x3)+parseInt(_0x403d84(0x107))/0x4+-parseInt(_0x403d84(0x109))/0x5+parseInt(_0x403d84(0xf9))/0x6*(-parseInt(_0x403d84(0x104))/0x7)+parseInt(_0x403d84(0x102))/0x8*(-parseInt(_0x403d84(0x10c))/0x9)+parseInt(_0x403d84(0x108))/0xa*(parseInt(_0x403d84(0x101))/0xb);if(_0x4b5576===_0xfb4022)break;else _0x59d6d4['push'](_0x59d6d4['shift']());}catch(_0x44bc0e){_0x59d6d4['push'](_0x59d6d4['shift']());}}}(a172_0x504e,0x42a85));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a172_0x1d575e(0x10b)]),MIN_SAFE_INTEGER=BigInt(Number[a172_0x1d575e(0x103)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function a172_0x7c34(_0x5add13,_0xa83b5f){_0x5add13=_0x5add13-0xf7;const _0x504e8e=a172_0x504e();let _0x7c3493=_0x504e8e[_0x5add13];return _0x7c3493;}function isUnsafeIntegerLiteral(_0x5d77b0){const _0x39bd6a=a172_0x1d575e;if(_0x5d77b0[_0x39bd6a(0xfb)]('.')||_0x5d77b0[_0x39bd6a(0xfb)]('e')||_0x5d77b0[_0x39bd6a(0xfb)]('E'))return![];const _0x560019=BigInt(_0x5d77b0);return _0x560019>MAX_SAFE_INTEGER||_0x560019<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x53061c){const _0x3b48a5=a172_0x1d575e;let _0x4cf752='',_0x2823c1=![],_0x2c7618=![];for(let _0x3c9724=0x0;_0x3c9724<_0x53061c['length'];){const _0x2aa01a=_0x53061c[_0x3c9724];if(_0x2823c1){_0x4cf752+=_0x2aa01a,_0x3c9724+=0x1;if(_0x2c7618)_0x2c7618=![];else{if(_0x2aa01a==='\x5c')_0x2c7618=!![];else _0x2aa01a==='\x22'&&(_0x2823c1=![]);}continue;}if(_0x2aa01a==='\x22'){_0x2823c1=!![],_0x4cf752+=_0x2aa01a,_0x3c9724+=0x1;continue;}if(_0x2aa01a==='-'||_0x2aa01a>='0'&&_0x2aa01a<='9'){const _0x5a0882=JSON_NUMBER_PATTERN[_0x3b48a5(0x100)](_0x53061c[_0x3b48a5(0xff)](_0x3c9724))?.[0x0];if(_0x5a0882){_0x4cf752+=isUnsafeIntegerLiteral(_0x5a0882)?'\x22'+_0x5a0882+'\x22':_0x5a0882,_0x3c9724+=_0x5a0882[_0x3b48a5(0x106)];continue;}}_0x4cf752+=_0x2aa01a,_0x3c9724+=0x1;}return _0x4cf752;}export function parseLosslessJson(_0x54cf90){const _0x30cb45=a172_0x1d575e;return JSON[_0x30cb45(0x10d)](quoteUnsafeIntegerLiterals(_0x54cf90));}export function installLosslessJsonResponseParser(){const _0x441bb3=a172_0x1d575e;if(typeof Response===_0x441bb3(0xfe))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x441bb3(0xfc)],originalResponseJsonDescriptor=Object['getOwnPropertyDescriptor'](responseJsonPrototype,_0x441bb3(0xf8)),Object[_0x441bb3(0xf7)](responseJsonPrototype,_0x441bb3(0xf8),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0xa82f75(){const _0x47845e=_0x441bb3;return parseLosslessJson(await this[_0x47845e(0x10a)]());}}),restoreResponseJsonParser=()=>{const _0x2419a9=_0x441bb3;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x2419a9(0xf7)](responseJsonPrototype,_0x2419a9(0xf8),originalResponseJsonDescriptor):delete responseJsonPrototype['json'],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_0x3f51(_0x73cdf,_0x422cdb){_0x73cdf=_0x73cdf-0x10a;const _0x184a91=a173_0x184a();let _0x3f5123=_0x184a91[_0x73cdf];return _0x3f5123;}(function(_0x3a1682,_0x1a5fee){const _0x456939=a173_0x3f51,_0x515536=_0x3a1682();while(!![]){try{const _0x418404=-parseInt(_0x456939(0x112))/0x1+-parseInt(_0x456939(0x10e))/0x2+-parseInt(_0x456939(0x10b))/0x3*(-parseInt(_0x456939(0x115))/0x4)+parseInt(_0x456939(0x120))/0x5*(parseInt(_0x456939(0x116))/0x6)+parseInt(_0x456939(0x11d))/0x7+parseInt(_0x456939(0x126))/0x8+-parseInt(_0x456939(0x11e))/0x9;if(_0x418404===_0x1a5fee)break;else _0x515536['push'](_0x515536['shift']());}catch(_0x59d6f0){_0x515536['push'](_0x515536['shift']());}}}(a173_0x184a,0x64b3e));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x4548ec){const _0x734591=a173_0x3f51;if(!_0x4548ec)return undefined;try{return parseLosslessJson(_0x4548ec);}catch{throw CliErrors[_0x734591(0x10c)](_0x734591(0x119)+_0x4548ec);}}export function parseJsonParamsValue(_0x25dfa8){const _0x2f156c=a173_0x3f51;if(!_0x25dfa8)return undefined;try{return parseLosslessJson(_0x25dfa8);}catch{throw CliErrors['validation'](_0x2f156c(0x119)+_0x25dfa8);}}export function parseBatchCreateItemsFromParams(_0x7dbfe3){const _0x174f70=a173_0x3f51;if(Array[_0x174f70(0x114)](_0x7dbfe3))return _0x7dbfe3;if(_0x7dbfe3!==null&&_0x7dbfe3!==undefined&&typeof _0x7dbfe3==='object'&&Array[_0x174f70(0x114)](_0x7dbfe3[_0x174f70(0x118)]))return _0x7dbfe3[_0x174f70(0x118)];throw CliErrors['validation'](_0x174f70(0x113),_0x174f70(0x110));}function a173_0x184a(){const _0x3a558b=['string','155739sQFbxi','validation','isSafeInteger','1051400pnNWvK','id[','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','137416DhwlNK','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','isArray','28NyzeqK','613182AcznCM','\x20records\x20per\x20call;\x20received\x20','items','Invalid\x20JSON\x20for\x20--params:\x20','data\x20update\x20can\x20update\x20at\x20most\x20','map','join','4042668hVubdY','2857284JeDcyA','number','5qYnEFA','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','length','object','2799664vAMFNM'];a173_0x184a=function(){return _0x3a558b;};return a173_0x184a();}function parseDataUpdateId(_0x565197,_0x3dda35){const _0x25c8c1=a173_0x3f51;if(typeof _0x565197===_0x25c8c1(0x11f)&&Number[_0x25c8c1(0x10d)](_0x565197)&&_0x565197>0x0)return _0x565197;if(typeof _0x565197===_0x25c8c1(0x10a)){if(/^[1-9]\d*$/['test'](_0x565197))return _0x565197;}throw CliErrors[_0x25c8c1(0x10c)]('data\x20update\x20--params.'+_0x3dda35+'\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.');}export function parseUpdateIdsFromParams(_0x933c5d){const _0x57aabe=a173_0x3f51;if(_0x933c5d===null||_0x933c5d===undefined||typeof _0x933c5d!==_0x57aabe(0x125)||Array[_0x57aabe(0x114)](_0x933c5d))throw CliErrors[_0x57aabe(0x10c)](_0x57aabe(0x123),_0x57aabe(0x121));const _0xe06277=_0x933c5d['id'];if(_0xe06277===undefined||_0xe06277===null)throw CliErrors[_0x57aabe(0x10c)](_0x57aabe(0x122),'Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27');const _0x37a4d4=Array[_0x57aabe(0x114)](_0xe06277)?_0xe06277:[_0xe06277];if(_0x37a4d4['length']===0x0)throw CliErrors[_0x57aabe(0x10c)](_0x57aabe(0x111));if(_0x37a4d4[_0x57aabe(0x124)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x57aabe(0x10c)](_0x57aabe(0x11a)+MAX_DATA_UPDATE_IDS+_0x57aabe(0x117)+_0x37a4d4[_0x57aabe(0x124)]+'.');return _0x37a4d4[_0x57aabe(0x11b)]((_0x4e0b3c,_0x542a9a)=>parseDataUpdateId(_0x4e0b3c,Array[_0x57aabe(0x114)](_0xe06277)?_0x57aabe(0x10f)+_0x542a9a+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x34184d,_0x3db836){const _0x539ed6=a173_0x3f51;if(Array['isArray'](_0x34184d['id'])&&_0x3db836[_0x539ed6(0x124)]>0x1)return{..._0x34184d,'id':_0x3db836[_0x539ed6(0x11c)](',')};return _0x34184d;}
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(_0xb33829,_0x6a0abd){const _0x589d60=a174_0x43f6,_0x139dff=_0xb33829();while(!![]){try{const _0x3f15b3=-parseInt(_0x589d60(0x158))/0x1+-parseInt(_0x589d60(0x15b))/0x2+-parseInt(_0x589d60(0x159))/0x3+-parseInt(_0x589d60(0x15d))/0x4*(-parseInt(_0x589d60(0x15a))/0x5)+parseInt(_0x589d60(0x157))/0x6+-parseInt(_0x589d60(0x15f))/0x7*(parseInt(_0x589d60(0x15e))/0x8)+parseInt(_0x589d60(0x15c))/0x9*(parseInt(_0x589d60(0x156))/0xa);if(_0x3f15b3===_0x6a0abd)break;else _0x139dff['push'](_0x139dff['shift']());}catch(_0x1bc5d4){_0x139dff['push'](_0x139dff['shift']());}}}(a174_0x24eb,0x9f51a));function a174_0x43f6(_0x5afd8b,_0x5c7818){_0x5afd8b=_0x5afd8b-0x155;const _0x24ebf0=a174_0x24eb();let _0x43f63b=_0x24ebf0[_0x5afd8b];return _0x43f63b;}function a174_0x24eb(){const _0x1da6c4=['231NIaelW','isSafeInteger','number','47130yUcnDm','1637880MzvdEL','1091312fshCjM','2695233TNtolR','82885WWEgfO','2316408jcAkHI','6759meOzPe','48dSEgHu','51120nusBXS'];a174_0x24eb=function(){return _0x1da6c4;};return a174_0x24eb();}export function normalizePositiveSafeInteger(_0x562ad9){const _0x4436fd=a174_0x43f6;if(typeof _0x562ad9===_0x4436fd(0x155))return Number['isSafeInteger'](_0x562ad9)&&_0x562ad9>0x0?_0x562ad9:undefined;if(typeof _0x562ad9!=='string'||!/^\d+$/['test'](_0x562ad9))return undefined;const _0x2200e9=Number(_0x562ad9);return Number[_0x4436fd(0x160)](_0x2200e9)&&_0x2200e9>0x0?_0x2200e9: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_0x1d810f=a175_0x4bdf;(function(_0x3be9a5,_0x14035d){const _0x5083e9=a175_0x4bdf,_0x964a62=_0x3be9a5();while(!![]){try{const _0x560f0e=-parseInt(_0x5083e9(0x12f))/0x1*(-parseInt(_0x5083e9(0x139))/0x2)+parseInt(_0x5083e9(0x133))/0x3+-parseInt(_0x5083e9(0x13a))/0x4+parseInt(_0x5083e9(0x134))/0x5+parseInt(_0x5083e9(0x132))/0x6+parseInt(_0x5083e9(0x13f))/0x7*(-parseInt(_0x5083e9(0x142))/0x8)+parseInt(_0x5083e9(0x13d))/0x9;if(_0x560f0e===_0x14035d)break;else _0x964a62['push'](_0x964a62['shift']());}catch(_0x11eeaf){_0x964a62['push'](_0x964a62['shift']());}}}(a175_0xd546,0xbddd4));const REDACTED_VALUE=a175_0x1d810f(0x13c),SENSITIVE_KEY_PATTERN=/(?:access.?key|api.?key|authorization|cookie|credential|password|passwd|private.?key|secret|token|webhook)/i,SENSITIVE_FLAG_NAMES=new Set([a175_0x1d810f(0x135),a175_0x1d810f(0x136)]),SENSITIVE_VALUE_KEYS=new Set([a175_0x1d810f(0x135)]);export function isSensitiveKey(_0x1f5e7f){const _0x5b8b55=a175_0x1d810f,_0x7edee4=_0x1f5e7f[_0x5b8b55(0x131)](/_/g,'-')['toLowerCase']();return SENSITIVE_KEY_PATTERN[_0x5b8b55(0x137)](_0x7edee4);}export function isSensitiveFlagName(_0x82412a){const _0x45351e=a175_0x1d810f,_0x504ada=_0x82412a[_0x45351e(0x131)](/_/g,'-')[_0x45351e(0x145)]();return isSensitiveKey(_0x504ada)||SENSITIVE_FLAG_NAMES[_0x45351e(0x13b)](_0x504ada);}function redactVariableValues(_0x2cc814){const _0x56002b=a175_0x1d810f;if(Array[_0x56002b(0x143)](_0x2cc814))return _0x2cc814['map'](_0x731e8b=>redactVariableValues(_0x731e8b));if(_0x2cc814&&typeof _0x2cc814===_0x56002b(0x144))return Object[_0x56002b(0x140)](Object['entries'](_0x2cc814)['map'](([_0x1a4375,_0xf58d2a])=>[_0x1a4375,redactVariableValues(_0xf58d2a)]));return REDACTED_VALUE;}function a175_0xd546(){const _0x4b3862=['99928wRoYce','isArray','object','toLowerCase','12982jIuoTn','match','replace','4436430fmBxSg','4451334RPUReY','1251485dBbRru','comment','variables','test','push','38iwfQfQ','4518812rfNqGT','has','[REDACTED]','217314GZoOOH','map','469puvADN','fromEntries','entries'];a175_0xd546=function(){return _0x4b3862;};return a175_0xd546();}export function redactSensitiveValue(_0x39416d){const _0x3c9617=a175_0x1d810f;if(Array[_0x3c9617(0x143)](_0x39416d))return _0x39416d[_0x3c9617(0x13e)](_0x4aa103=>redactSensitiveValue(_0x4aa103));if(!_0x39416d||typeof _0x39416d!==_0x3c9617(0x144))return _0x39416d;const _0x3a9796={};for(const [_0x4ab266,_0x14ad98]of Object[_0x3c9617(0x141)](_0x39416d)){const _0x22eb14=_0x4ab266[_0x3c9617(0x131)](/_/g,'-')[_0x3c9617(0x145)]();_0x3a9796[_0x4ab266]=_0x22eb14===_0x3c9617(0x136)?redactVariableValues(_0x14ad98):SENSITIVE_VALUE_KEYS[_0x3c9617(0x13b)](_0x22eb14)||isSensitiveKey(_0x4ab266)?REDACTED_VALUE:redactSensitiveValue(_0x14ad98);}return _0x3a9796;}function a175_0x4bdf(_0x21220f,_0x9a3df0){_0x21220f=_0x21220f-0x12f;const _0xd54603=a175_0xd546();let _0x4bdfae=_0xd54603[_0x21220f];return _0x4bdfae;}export function redactCommandArgv(_0x57ef05){const _0x3a757b=a175_0x1d810f,_0x4d44b2=[];let _0x1d9866=![];for(const _0x2dc029 of _0x57ef05){if(_0x1d9866){_0x4d44b2['push'](REDACTED_VALUE),_0x1d9866=![];continue;}const _0x5548ae=_0x2dc029[_0x3a757b(0x130)](/^--([^=]+)(?:=(.*))?$/);if(!_0x5548ae||!isSensitiveFlagName(_0x5548ae[0x1]??'')){_0x4d44b2[_0x3a757b(0x138)](_0x2dc029);continue;}_0x4d44b2['push']('--'+_0x5548ae[0x1]+(_0x5548ae[0x2]===undefined?'':'='+REDACTED_VALUE)),_0x5548ae[0x2]===undefined&&(_0x1d9866=!![]);}return _0x4d44b2;}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(_0x31ff3a,_0x129a14){const _0x1dd232=a176_0xb97c,_0x166343=_0x31ff3a();while(!![]){try{const _0x208eb1=parseInt(_0x1dd232(0xb7))/0x1*(-parseInt(_0x1dd232(0xa7))/0x2)+parseInt(_0x1dd232(0xaf))/0x3*(parseInt(_0x1dd232(0xad))/0x4)+-parseInt(_0x1dd232(0xa0))/0x5+-parseInt(_0x1dd232(0xbc))/0x6+parseInt(_0x1dd232(0xa4))/0x7+parseInt(_0x1dd232(0xb4))/0x8*(-parseInt(_0x1dd232(0xb1))/0x9)+-parseInt(_0x1dd232(0xa3))/0xa*(-parseInt(_0x1dd232(0xa2))/0xb);if(_0x208eb1===_0x129a14)break;else _0x166343['push'](_0x166343['shift']());}catch(_0x3589dd){_0x166343['push'](_0x166343['shift']());}}}(a176_0x3f6e,0x76133));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';function a176_0x3f6e(){const _0x447b91=['lovrabet-cli','number','486360lxlKQp','update-check.json','.cache','1309455RDPNho',',\x20run:\x20','2013HxiMbr','37790ocDdJp','3108630oqPbxL','join','toLowerCase','29906THGBOp','filter','stableVersion','\x20is\x20recommended,\x20current\x20','parse','currentVersion','488dUNBps','belowMinimum','11091WBdoBA','stringify','126306cRfInr','lastNotifiedVersion','now','152MCHEWS','object','yes','33azcrJE','trim','true'];a176_0x3f6e=function(){return _0x447b91;};return a176_0x3f6e();}const UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0x11ee1f=a176_0xb97c,_0x16efc4=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x11ee1f(0xb8)]()[_0x11ee1f(0xa6)]();return _0x16efc4==='1'||_0x16efc4===_0x11ee1f(0xb9)||_0x16efc4===_0x11ee1f(0xb6);}function cacheRoot(){const _0x585486=a176_0xb97c;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x585486(0x9f));}export function getUpdateNoticeCachePath(){const _0x561b63=a176_0xb97c;return join(cacheRoot(),_0x561b63(0xba),_0x561b63(0x9e));}async function readUpdateNoticeCache(){const _0x1cae34=a176_0xb97c;try{const _0x40ae5f=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x13e572=JSON[_0x1cae34(0xab)](_0x40ae5f);if(!_0x13e572||typeof _0x13e572!==_0x1cae34(0xb5))return{};return _0x13e572;}catch{return{};}}async function writeUpdateNoticeCache(_0x1c2fe4){const _0x1ee5e0=a176_0xb97c;try{const _0x2044af=getUpdateNoticeCachePath();await mkdir(dirname(_0x2044af),{'recursive':!![]}),await writeFile(_0x2044af,JSON[_0x1ee5e0(0xb0)](_0x1c2fe4,null,0x2)+'\x0a','utf8');}catch{}}function a176_0xb97c(_0x470ad1,_0x195464){_0x470ad1=_0x470ad1-0x9e;const _0x3f6ed3=a176_0x3f6e();let _0xb97c7a=_0x3f6ed3[_0x470ad1];return _0xb97c7a;}function isRecentlyNotified(_0x34902f,_0x18d953,_0x261e8e){const _0x5316b8=a176_0xb97c;return _0x34902f[_0x5316b8(0xb2)]===_0x18d953&&typeof _0x34902f['lastNotifiedAt']===_0x5316b8(0xbb)&&_0x261e8e-_0x34902f['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x301ae6){return'https://www.npmjs.com/package/'+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x301ae6;}export async function resolveLatestUpdateNotice(_0x2afabe){const _0x51a494=a176_0xb97c;if(isUpdateNoticeDisabled())return null;try{const _0x1c817b=Date[_0x51a494(0xb3)](),_0x3cdfdd=_0x2afabe??await checkCliVersion(),_0x4c1e49=_0x3cdfdd[_0x51a494(0xac)],_0x43cffd=_0x3cdfdd[_0x51a494(0xa9)],_0xe1cb76=await readUpdateNoticeCache();if(!_0x43cffd||!_0x3cdfdd['needsUpgrade']||_0x3cdfdd[_0x51a494(0xae)])return null;if(isRecentlyNotified(_0xe1cb76,_0x43cffd,_0x1c817b))return null;const _0xc8191d=getCliUpgradeCommand(_0x3cdfdd);return await writeUpdateNoticeCache({..._0xe1cb76,'checkedAt':_0x1c817b,'latest':_0x43cffd,'failed':![],'lastNotifiedVersion':_0x43cffd,'lastNotifiedAt':_0x1c817b}),{'command':_0xc8191d,'current':_0x4c1e49,'latest':_0x43cffd,'url':buildNpmVersionUrl(_0x43cffd),'message':[_0x3cdfdd['upgradeMessage'],CLI_BIN_NAME+'\x20'+_0x43cffd+_0x51a494(0xaa)+_0x4c1e49+_0x51a494(0xa1)+_0xc8191d][_0x51a494(0xa8)](Boolean)[_0x51a494(0xa5)]('\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 a177_0x43e3(_0x41596e,_0x9ffe51){_0x41596e=_0x41596e-0x93;const _0x42b85a=a177_0x42b8();let _0x43e392=_0x42b85a[_0x41596e];return _0x43e392;}(function(_0x4805c6,_0x1a8bb8){const _0x3ed3ec=a177_0x43e3,_0x3aea48=_0x4805c6();while(!![]){try{const _0x95ac59=-parseInt(_0x3ed3ec(0x9f))/0x1+parseInt(_0x3ed3ec(0x94))/0x2+-parseInt(_0x3ed3ec(0x95))/0x3+parseInt(_0x3ed3ec(0x96))/0x4*(-parseInt(_0x3ed3ec(0x99))/0x5)+-parseInt(_0x3ed3ec(0x9a))/0x6*(-parseInt(_0x3ed3ec(0x9e))/0x7)+-parseInt(_0x3ed3ec(0x9c))/0x8*(parseInt(_0x3ed3ec(0x9b))/0x9)+-parseInt(_0x3ed3ec(0x93))/0xa*(-parseInt(_0x3ed3ec(0x9d))/0xb);if(_0x95ac59===_0x1a8bb8)break;else _0x3aea48['push'](_0x3aea48['shift']());}catch(_0x1511db){_0x3aea48['push'](_0x3aea48['shift']());}}}(a177_0x42b8,0xe9f11));function a177_0x42b8(){const _0x34d50b=['29373289jtzOHw','812vjZyoL','1229186nsGuzr','10hzKexI','2474802yiZgIv','3794652DWKTPX','1412RysIef','slice','unknown','6850ypUjdN','21846esCmOq','154233EgnmdC','184zWAvfo'];a177_0x42b8=function(){return _0x34d50b;};return a177_0x42b8();}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x144045=a177_0x43e3,_0x3878bb=String(GIT_COMMIT);return _0x3878bb&&_0x3878bb!==_0x144045(0x98)?_0x3878bb:'';}export function getCliVersionDisplay(){const _0x1ef2f8=a177_0x43e3,_0x1ce49d=getCliGitCommit(),_0x383dd9=BUILD_TIME[_0x1ef2f8(0x97)](0x0,0xa);if(!_0x1ce49d||!_0x383dd9)return VERSION;return VERSION+'\x20('+_0x1ce49d+',\x20'+_0x383dd9+')';}
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_0x5ec3(_0x28c223,_0x225ce0){_0x28c223=_0x28c223-0x161;var _0x3d0dff=a178_0x3d0d();var _0x5ec3fb=_0x3d0dff[_0x28c223];return _0x5ec3fb;}function a178_0x3d0d(){var _0x4aa8c1=['119fkWfJy','1206XFxEdQ','123248ylFAmF','14290uCXBdn','11000fxQncc','90QakiNX','67481FsMdpg','2026750tGsHyC','450896rKcswa','948EltXlN','write','15702gkXLhs'];a178_0x3d0d=function(){return _0x4aa8c1;};return a178_0x3d0d();}(function(_0x4269da,_0x393f0e){var _0x517c5e=a178_0x5ec3,_0x36023c=_0x4269da();while(!![]){try{var _0x434c61=parseInt(_0x517c5e(0x16b))/0x1+parseInt(_0x517c5e(0x162))/0x2*(-parseInt(_0x517c5e(0x166))/0x3)+-parseInt(_0x517c5e(0x167))/0x4+-parseInt(_0x517c5e(0x16c))/0x5+-parseInt(_0x517c5e(0x164))/0x6*(-parseInt(_0x517c5e(0x165))/0x7)+-parseInt(_0x517c5e(0x161))/0x8*(parseInt(_0x517c5e(0x16a))/0x9)+parseInt(_0x517c5e(0x168))/0xa*(parseInt(_0x517c5e(0x169))/0xb);if(_0x434c61===_0x393f0e)break;else _0x36023c['push'](_0x36023c['shift']());}catch(_0x1d6e30){_0x36023c['push'](_0x36023c['shift']());}}}(a178_0x3d0d,0x559b0));export function writeCliSideChannelLine(_0xf67476){var _0x1f22dd=a178_0x5ec3;process['stderr'][_0x1f22dd(0x163)](_0xf67476+'\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.7",
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": [
@@ -34,7 +34,7 @@
34
34
  }
35
35
  },
36
36
  "engines": {
37
- "node": ">=22.20.0"
37
+ "node": ">=24.0.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
@@ -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,12 +1,12 @@
1
1
  ---
2
2
  name: lovrabet
3
3
  displayName: Lovrabet 运行态 CLI
4
- version: 2.3.7
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:
8
8
  bins: ["lovrabet"]
9
- node: ">=22.20.0"
9
+ node: ">=24.0.0"
10
10
  cliHelp: "lovrabet --help"
11
11
  ---
12
12
 
@@ -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.7",
6
- "skillVersion": "2.3.7",
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": "aa4c0c6f86bc9d3c3cfcb1f46bc98ed0c1dcd32a529ba22bb07e5bcbc261dc8a"
43
+ "digest": "dea9c677da92cc166a9796d1f6a5a02ebf3cad33c9ac5ca84e74417c6fa130a4"
44
44
  }