@lovrabet/lovrabet-cli 2.3.8-beta.4 → 2.3.8-beta.5

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 (190) hide show
  1. package/README.md +12 -0
  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.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/issue/context.d.ts +3 -0
  38. package/lib/commands/issue/context.js +1 -0
  39. package/lib/commands/issue/index.d.ts +2 -0
  40. package/lib/commands/issue/index.js +1 -0
  41. package/lib/commands/issue/report.d.ts +2 -0
  42. package/lib/commands/issue/report.js +1 -0
  43. package/lib/commands/kb/index.js +1 -1
  44. package/lib/commands/logs/index.js +1 -1
  45. package/lib/commands/notification/config-list.js +1 -1
  46. package/lib/commands/notification/index.js +1 -1
  47. package/lib/commands/notification/shared.js +1 -1
  48. package/lib/commands/ocr/index.js +1 -1
  49. package/lib/commands/permit/dataset-get.js +1 -1
  50. package/lib/commands/permit/dataset-set.js +1 -1
  51. package/lib/commands/permit/index.js +1 -1
  52. package/lib/commands/permit/page-get.js +1 -1
  53. package/lib/commands/permit/page-set.js +1 -1
  54. package/lib/commands/permit/role-menus-set.js +1 -1
  55. package/lib/commands/permit/role-menus.js +1 -1
  56. package/lib/commands/permit/shared.js +1 -1
  57. package/lib/commands/personal-bff/index.js +1 -1
  58. package/lib/commands/registry.js +1 -1
  59. package/lib/commands/role/create.js +1 -1
  60. package/lib/commands/role/delete.js +1 -1
  61. package/lib/commands/role/detail.js +1 -1
  62. package/lib/commands/role/index.js +1 -1
  63. package/lib/commands/role/list.js +1 -1
  64. package/lib/commands/role/shared.js +1 -1
  65. package/lib/commands/role/update.js +1 -1
  66. package/lib/commands/role/user-add.js +1 -1
  67. package/lib/commands/role/user-remove.js +1 -1
  68. package/lib/commands/schedule/index.js +1 -1
  69. package/lib/commands/schema.js +1 -1
  70. package/lib/commands/service/dynamic.js +1 -1
  71. package/lib/commands/service/function-name-adapter.js +1 -1
  72. package/lib/commands/service/index.js +1 -1
  73. package/lib/commands/service/registry.js +1 -1
  74. package/lib/commands/skill/commands/create.js +1 -1
  75. package/lib/commands/skill/commands/diagram.js +1 -1
  76. package/lib/commands/skill/commands/install.js +1 -1
  77. package/lib/commands/skill/commands/list.js +1 -1
  78. package/lib/commands/skill/commands/push.js +1 -1
  79. package/lib/commands/skill/commands/validate.js +1 -1
  80. package/lib/commands/skill/diagram.js +1 -1
  81. package/lib/commands/skill/flags.js +1 -1
  82. package/lib/commands/skill/index.js +1 -1
  83. package/lib/commands/skill/manifest-helpers.js +1 -1
  84. package/lib/commands/skill/push-execute.js +1 -1
  85. package/lib/commands/skill/push-flow-helpers.js +1 -1
  86. package/lib/commands/skill/push-retarget.js +1 -1
  87. package/lib/commands/skill/scopes.js +1 -1
  88. package/lib/commands/skill/summary.js +1 -1
  89. package/lib/commands/skill/templates.js +1 -1
  90. package/lib/commands/skill/validate.js +1 -1
  91. package/lib/commands/sql/detail.js +1 -1
  92. package/lib/commands/sql/exec.js +1 -1
  93. package/lib/commands/sql/index.js +1 -1
  94. package/lib/commands/update.js +1 -1
  95. package/lib/commands/user-account/bind.js +1 -1
  96. package/lib/commands/user-account/index.js +1 -1
  97. package/lib/commands/workspace/index.js +1 -1
  98. package/lib/config/domain-config.js +1 -1
  99. package/lib/config/schema.js +1 -1
  100. package/lib/constant/app.js +1 -1
  101. package/lib/constant/auth-mode.js +1 -1
  102. package/lib/constant/cli.js +1 -1
  103. package/lib/constant/defaults.js +1 -1
  104. package/lib/constant/distribution.js +1 -1
  105. package/lib/constant/domain.js +1 -1
  106. package/lib/constant/env.js +1 -1
  107. package/lib/constant/output.js +1 -1
  108. package/lib/constant/product.js +1 -1
  109. package/lib/constant/region.js +1 -1
  110. package/lib/constant/risk.js +1 -1
  111. package/lib/constant/url.js +1 -1
  112. package/lib/context.js +1 -1
  113. package/lib/core/api-client.js +1 -1
  114. package/lib/core/db-resolver.js +1 -1
  115. package/lib/core/kb-management-client.js +1 -1
  116. package/lib/core/kb-sdk-errors.js +1 -1
  117. package/lib/core/kb-search-client.js +1 -1
  118. package/lib/core/sdk-client.js +1 -1
  119. package/lib/errors.js +1 -1
  120. package/lib/framework/access-error.js +1 -1
  121. package/lib/framework/build-all-flags.js +1 -1
  122. package/lib/framework/dryrun.js +1 -1
  123. package/lib/framework/flags.js +1 -1
  124. package/lib/framework/help.js +1 -1
  125. package/lib/framework/index.js +1 -1
  126. package/lib/framework/output.js +1 -1
  127. package/lib/framework/preparse.js +1 -1
  128. package/lib/framework/rate-limit.js +1 -1
  129. package/lib/framework/raw-flags.js +1 -1
  130. package/lib/framework/response.js +1 -1
  131. package/lib/framework/runner-confirmation.js +1 -1
  132. package/lib/framework/runner-error.js +1 -1
  133. package/lib/framework/runner.js +1 -1
  134. package/lib/framework/schema-export.js +1 -1
  135. package/lib/framework/service-order.js +1 -1
  136. package/lib/framework/types.js +1 -1
  137. package/lib/generated/build-info.d.ts +4 -4
  138. package/lib/generated/build-info.js +1 -1
  139. package/lib/generated/official-routing.js +1 -1
  140. package/lib/generated/routing-contract.js +1 -1
  141. package/lib/help.js +1 -1
  142. package/lib/postinstall.js +1 -1
  143. package/lib/runtime/confirmation.js +1 -1
  144. package/lib/runtime/event.js +1 -1
  145. package/lib/runtime/index.js +1 -1
  146. package/lib/runtime/queue.js +1 -1
  147. package/lib/runtime/resolve.js +1 -1
  148. package/lib/services/dataset-import/auto-id-runner.js +1 -1
  149. package/lib/services/dataset-import/excel-reader.js +1 -1
  150. package/lib/services/dataset-import/image-bytes.js +1 -1
  151. package/lib/services/dataset-import/image-ooxml.js +1 -1
  152. package/lib/services/dataset-import/image-runner.js +1 -1
  153. package/lib/services/dataset-import/metadata.js +1 -1
  154. package/lib/services/dataset-import/preview.js +1 -1
  155. package/lib/services/dataset-import/runner.js +1 -1
  156. package/lib/skills/builtin-skill.js +1 -1
  157. package/lib/skills/npx-skills-add.js +1 -1
  158. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  159. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  160. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  161. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  162. package/lib/skills/runtime-skill-sync/links.js +1 -1
  163. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  164. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  165. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  166. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  167. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  168. package/lib/skills/runtime-skill-sync/push.js +1 -1
  169. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  170. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  171. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  172. package/lib/skills/runtime-skill-sync.js +1 -1
  173. package/lib/skills/skill-presence.js +1 -1
  174. package/lib/utils/access-key-redaction.js +1 -1
  175. package/lib/utils/apply-jq-filter.js +1 -1
  176. package/lib/utils/cli-version-check.js +1 -1
  177. package/lib/utils/cli-version-policy.js +1 -1
  178. package/lib/utils/logger.js +1 -1
  179. package/lib/utils/lossless-json.js +1 -1
  180. package/lib/utils/params.js +1 -1
  181. package/lib/utils/positive-safe-integer.js +1 -1
  182. package/lib/utils/redaction.js +1 -1
  183. package/lib/utils/runtime-user-id.js +1 -1
  184. package/lib/utils/update-notice.js +1 -1
  185. package/lib/utils/version.js +1 -1
  186. package/lib/utils/write-cli-side-channel.js +1 -1
  187. package/package.json +2 -2
  188. package/skills/lovrabet/SKILL.md +3 -1
  189. package/skills/lovrabet/references/lovrabet-issue-report.md +24 -0
  190. package/skills/lovrabet.manifest.json +4 -3
@@ -1 +1 @@
1
- (function(_0x1b3db8,_0xe858f2){const _0x4d38b3=a178_0x40ae,_0x30f436=_0x1b3db8();while(!![]){try{const _0x4fdae8=parseInt(_0x4d38b3(0x148))/0x1+-parseInt(_0x4d38b3(0x133))/0x2*(parseInt(_0x4d38b3(0x141))/0x3)+-parseInt(_0x4d38b3(0x144))/0x4*(-parseInt(_0x4d38b3(0x142))/0x5)+-parseInt(_0x4d38b3(0x13a))/0x6*(parseInt(_0x4d38b3(0x146))/0x7)+-parseInt(_0x4d38b3(0x136))/0x8*(-parseInt(_0x4d38b3(0x147))/0x9)+-parseInt(_0x4d38b3(0x139))/0xa+parseInt(_0x4d38b3(0x12e))/0xb*(parseInt(_0x4d38b3(0x13d))/0xc);if(_0x4fdae8===_0xe858f2)break;else _0x30f436['push'](_0x30f436['shift']());}catch(_0x5b2e32){_0x30f436['push'](_0x30f436['shift']());}}}(a178_0x329d,0xce78e));import{mkdir,readFile,writeFile}from'node:fs/promises';function a178_0x40ae(_0x5f587e,_0x5e0da9){_0x5f587e=_0x5f587e-0x12d;const _0x329d43=a178_0x329d();let _0x40aef3=_0x329d43[_0x5f587e];return _0x40aef3;}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 _0x1e5d1f=a178_0x40ae,_0x4f34b=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x1e5d1f(0x135)]()['toLowerCase']();return _0x4f34b==='1'||_0x4f34b===_0x1e5d1f(0x13b)||_0x4f34b===_0x1e5d1f(0x143);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}function a178_0x329d(){const _0x391cec=['number','418ypzqRr','stableVersion','currentVersion','object','belowMinimum','297580DuYTYq','\x20is\x20recommended,\x20current\x20','trim','1215352ynWHRb',',\x20run:\x20','lastNotifiedAt','8989880diFkRg','1518koDngL','true','parse','911352PXXHLA','needsUpgrade','/v/','filter','30hRIdpu','1370Waefnk','yes','3728tQbJth','stringify','33551hjBzWJ','63oWCtVB','240478FiDLYN','now'];a178_0x329d=function(){return _0x391cec;};return a178_0x329d();}export function getUpdateNoticeCachePath(){return join(cacheRoot(),'lovrabet-cli','update-check.json');}async function readUpdateNoticeCache(){const _0x3020ab=a178_0x40ae;try{const _0x38ef19=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x4db27b=JSON[_0x3020ab(0x13c)](_0x38ef19);if(!_0x4db27b||typeof _0x4db27b!==_0x3020ab(0x131))return{};return _0x4db27b;}catch{return{};}}async function writeUpdateNoticeCache(_0x5e1236){const _0x26adfa=a178_0x40ae;try{const _0x57ca0b=getUpdateNoticeCachePath();await mkdir(dirname(_0x57ca0b),{'recursive':!![]}),await writeFile(_0x57ca0b,JSON[_0x26adfa(0x145)](_0x5e1236,null,0x2)+'\x0a','utf8');}catch{}}function isRecentlyNotified(_0x2750b7,_0x5672bc,_0xe3bc7d){const _0xea4f93=a178_0x40ae;return _0x2750b7['lastNotifiedVersion']===_0x5672bc&&typeof _0x2750b7['lastNotifiedAt']===_0xea4f93(0x12d)&&_0xe3bc7d-_0x2750b7[_0xea4f93(0x138)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x12cb03){const _0x12d37c=a178_0x40ae;return'https://www.npmjs.com/package/'+LOVRABET_NPM_PACKAGE_NAME+_0x12d37c(0x13f)+_0x12cb03;}export async function resolveLatestUpdateNotice(_0x56341c){const _0x1780ae=a178_0x40ae;if(isUpdateNoticeDisabled())return null;try{const _0x273f73=Date[_0x1780ae(0x149)](),_0x379d47=_0x56341c??await checkCliVersion(),_0x3a5606=_0x379d47[_0x1780ae(0x130)],_0x2bbe91=_0x379d47[_0x1780ae(0x12f)],_0x24ba9b=await readUpdateNoticeCache();if(!_0x2bbe91||!_0x379d47[_0x1780ae(0x13e)]||_0x379d47[_0x1780ae(0x132)])return null;if(isRecentlyNotified(_0x24ba9b,_0x2bbe91,_0x273f73))return null;const _0x83c3f4=getCliUpgradeCommand(_0x379d47);return await writeUpdateNoticeCache({..._0x24ba9b,'checkedAt':_0x273f73,'latest':_0x2bbe91,'failed':![],'lastNotifiedVersion':_0x2bbe91,'lastNotifiedAt':_0x273f73}),{'command':_0x83c3f4,'current':_0x3a5606,'latest':_0x2bbe91,'url':buildNpmVersionUrl(_0x2bbe91),'message':[_0x379d47['upgradeMessage'],CLI_BIN_NAME+'\x20'+_0x2bbe91+_0x1780ae(0x134)+_0x3a5606+_0x1780ae(0x137)+_0x83c3f4][_0x1780ae(0x140)](Boolean)['join']('\x20')};}catch{return null;}}
1
+ (function(_0x371d39,_0x51ca85){const _0xfd61bf=a181_0x21ef,_0x718a81=_0x371d39();while(!![]){try{const _0x4feed1=-parseInt(_0xfd61bf(0x198))/0x1+-parseInt(_0xfd61bf(0x19f))/0x2+parseInt(_0xfd61bf(0x193))/0x3+parseInt(_0xfd61bf(0x1a4))/0x4+parseInt(_0xfd61bf(0x1a0))/0x5+-parseInt(_0xfd61bf(0x1a2))/0x6+parseInt(_0xfd61bf(0x196))/0x7;if(_0x4feed1===_0x51ca85)break;else _0x718a81['push'](_0x718a81['shift']());}catch(_0x2bf97d){_0x718a81['push'](_0x718a81['shift']());}}}(a181_0x4145,0xe6929));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';function a181_0x21ef(_0x36b9ad,_0x46d22b){_0x36b9ad=_0x36b9ad-0x192;const _0x414572=a181_0x4145();let _0x21effe=_0x414572[_0x36b9ad];return _0x21effe;}import{CLI_BIN_NAME}from'../constant/cli.js';function a181_0x4145(){const _0xb32dda=['3847228OLtxZG','stringify','563703RixcxN','utf8','lastNotifiedVersion','yes','object','stableVersion','belowMinimum','329798UiCorh','2685990nRoorT','needsUpgrade','6319728bsGngn','currentVersion','5494744POxIRl','now','lastNotifiedAt','https://www.npmjs.com/package/','join','trim','797481bbJREO','\x20is\x20recommended,\x20current\x20',',\x20run:\x20'];a181_0x4145=function(){return _0xb32dda;};return a181_0x4145();}import{checkCliVersion,getCliUpgradeCommand}from'../utils/cli-version-check.js';const UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0xfe9408=a181_0x21ef,_0x28090f=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0xfe9408(0x192)]()['toLowerCase']();return _0x28090f==='1'||_0x28090f==='true'||_0x28090f===_0xfe9408(0x19b);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){return join(cacheRoot(),'lovrabet-cli','update-check.json');}async function readUpdateNoticeCache(){const _0x45f35d=a181_0x21ef;try{const _0x8a403a=await readFile(getUpdateNoticeCachePath(),_0x45f35d(0x199)),_0x52bbf5=JSON['parse'](_0x8a403a);if(!_0x52bbf5||typeof _0x52bbf5!==_0x45f35d(0x19c))return{};return _0x52bbf5;}catch{return{};}}async function writeUpdateNoticeCache(_0x570362){const _0x25843f=a181_0x21ef;try{const _0x440562=getUpdateNoticeCachePath();await mkdir(dirname(_0x440562),{'recursive':!![]}),await writeFile(_0x440562,JSON[_0x25843f(0x197)](_0x570362,null,0x2)+'\x0a',_0x25843f(0x199));}catch{}}function isRecentlyNotified(_0x3d419b,_0x5c7e98,_0x37ce49){const _0x351f1c=a181_0x21ef;return _0x3d419b[_0x351f1c(0x19a)]===_0x5c7e98&&typeof _0x3d419b[_0x351f1c(0x1a6)]==='number'&&_0x37ce49-_0x3d419b[_0x351f1c(0x1a6)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x41c3c7){const _0x563849=a181_0x21ef;return _0x563849(0x1a7)+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x41c3c7;}export async function resolveLatestUpdateNotice(_0x4d7021){const _0x4f1378=a181_0x21ef;if(isUpdateNoticeDisabled())return null;try{const _0x92162b=Date[_0x4f1378(0x1a5)](),_0x574a8b=_0x4d7021??await checkCliVersion(),_0x5b121f=_0x574a8b[_0x4f1378(0x1a3)],_0x44ea75=_0x574a8b[_0x4f1378(0x19d)],_0x4650a6=await readUpdateNoticeCache();if(!_0x44ea75||!_0x574a8b[_0x4f1378(0x1a1)]||_0x574a8b[_0x4f1378(0x19e)])return null;if(isRecentlyNotified(_0x4650a6,_0x44ea75,_0x92162b))return null;const _0x408daf=getCliUpgradeCommand(_0x574a8b);return await writeUpdateNoticeCache({..._0x4650a6,'checkedAt':_0x92162b,'latest':_0x44ea75,'failed':![],'lastNotifiedVersion':_0x44ea75,'lastNotifiedAt':_0x92162b}),{'command':_0x408daf,'current':_0x5b121f,'latest':_0x44ea75,'url':buildNpmVersionUrl(_0x44ea75),'message':[_0x574a8b['upgradeMessage'],CLI_BIN_NAME+'\x20'+_0x44ea75+_0x4f1378(0x194)+_0x5b121f+_0x4f1378(0x195)+_0x408daf]['filter'](Boolean)[_0x4f1378(0x1a8)]('\x20')};}catch{return null;}}
@@ -1 +1 @@
1
- function a179_0x528b(_0x37de92,_0x4957af){_0x37de92=_0x37de92-0xdb;const _0x37ad59=a179_0x37ad();let _0x528b95=_0x37ad59[_0x37de92];return _0x528b95;}(function(_0x3e1aef,_0x56382f){const _0xc2a818=a179_0x528b,_0x525610=_0x3e1aef();while(!![]){try{const _0xeb266b=parseInt(_0xc2a818(0xdc))/0x1+-parseInt(_0xc2a818(0xe4))/0x2*(parseInt(_0xc2a818(0xe1))/0x3)+parseInt(_0xc2a818(0xe5))/0x4*(-parseInt(_0xc2a818(0xde))/0x5)+-parseInt(_0xc2a818(0xdb))/0x6+-parseInt(_0xc2a818(0xe0))/0x7+parseInt(_0xc2a818(0xdf))/0x8+parseInt(_0xc2a818(0xe3))/0x9;if(_0xeb266b===_0x56382f)break;else _0x525610['push'](_0x525610['shift']());}catch(_0x166ca1){_0x525610['push'](_0x525610['shift']());}}}(a179_0x37ad,0x60ee1));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x211e1c=a179_0x528b,_0x8997cc=String(GIT_COMMIT);return _0x8997cc&&_0x8997cc!==_0x211e1c(0xdd)?_0x8997cc:'';}function a179_0x37ad(){const _0xd4920=['2829912umiyLL','697601vtZhqV','unknown','475fHrWep','5655224crDHTn','4848291HcSHsL','96oloZQp','slice','8846622hwVkrC','19882JEDxrT','21392ZoPWtZ'];a179_0x37ad=function(){return _0xd4920;};return a179_0x37ad();}export function getCliVersionDisplay(){const _0x489698=a179_0x528b,_0x31fd7f=getCliGitCommit(),_0x2d30b8=BUILD_TIME[_0x489698(0xe2)](0x0,0xa);if(!_0x31fd7f||!_0x2d30b8)return VERSION;return VERSION+'\x20('+_0x31fd7f+',\x20'+_0x2d30b8+')';}
1
+ (function(_0x4ff0e9,_0x5dfda8){const _0x193a74=a182_0x48a1,_0x6c60b4=_0x4ff0e9();while(!![]){try{const _0x35a997=parseInt(_0x193a74(0x1b3))/0x1+-parseInt(_0x193a74(0x1b7))/0x2+parseInt(_0x193a74(0x1b9))/0x3+-parseInt(_0x193a74(0x1b4))/0x4+parseInt(_0x193a74(0x1ba))/0x5*(parseInt(_0x193a74(0x1b2))/0x6)+-parseInt(_0x193a74(0x1b5))/0x7+-parseInt(_0x193a74(0x1b1))/0x8*(-parseInt(_0x193a74(0x1b8))/0x9);if(_0x35a997===_0x5dfda8)break;else _0x6c60b4['push'](_0x6c60b4['shift']());}catch(_0x2aff94){_0x6c60b4['push'](_0x6c60b4['shift']());}}}(a182_0x37e9,0xd66c3));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';function a182_0x37e9(){const _0x4b63ee=['unknown','88aeeSAV','213216vbvEPd','821563KYHDQt','1437668BAsqZu','10266606YLUbzH','slice','3411514WrlGNX','1014786otRNUM','4699374DwiANa','110aAeeyR'];a182_0x37e9=function(){return _0x4b63ee;};return a182_0x37e9();}function a182_0x48a1(_0x444174,_0x3dd600){_0x444174=_0x444174-0x1b1;const _0x37e958=a182_0x37e9();let _0x48a18a=_0x37e958[_0x444174];return _0x48a18a;}export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x33e67c=a182_0x48a1,_0x26e5d9=String(GIT_COMMIT);return _0x26e5d9&&_0x26e5d9!==_0x33e67c(0x1bb)?_0x26e5d9:'';}export function getCliVersionDisplay(){const _0xf33a95=a182_0x48a1,_0x2eea01=getCliGitCommit(),_0x1f6892=BUILD_TIME[_0xf33a95(0x1b6)](0x0,0xa);if(!_0x2eea01||!_0x1f6892)return VERSION;return VERSION+'\x20('+_0x2eea01+',\x20'+_0x1f6892+')';}
@@ -1 +1 @@
1
- function a180_0x1883(){var _0x56ac9b=['116yqAIDV','7DkXczn','74472iyzVls','6392970aEWpst','3037850RoDycy','212984cLJArQ','12ivFPzz','stderr','234586DScCUA','370lCvdhr','write','52602wbcdbw','3189210uEzKqh'];a180_0x1883=function(){return _0x56ac9b;};return a180_0x1883();}function a180_0x457d(_0x413a8e,_0x2178d3){_0x413a8e=_0x413a8e-0x130;var _0x188389=a180_0x1883();var _0x457d5e=_0x188389[_0x413a8e];return _0x457d5e;}(function(_0x2744c2,_0x1b4986){var _0x7e9ece=a180_0x457d,_0x36afa3=_0x2744c2();while(!![]){try{var _0x2fc400=parseInt(_0x7e9ece(0x132))/0x1*(-parseInt(_0x7e9ece(0x136))/0x2)+-parseInt(_0x7e9ece(0x13b))/0x3*(-parseInt(_0x7e9ece(0x130))/0x4)+-parseInt(_0x7e9ece(0x134))/0x5+parseInt(_0x7e9ece(0x13c))/0x6*(-parseInt(_0x7e9ece(0x131))/0x7)+parseInt(_0x7e9ece(0x135))/0x8+parseInt(_0x7e9ece(0x133))/0x9+parseInt(_0x7e9ece(0x139))/0xa*(parseInt(_0x7e9ece(0x138))/0xb);if(_0x2fc400===_0x1b4986)break;else _0x36afa3['push'](_0x36afa3['shift']());}catch(_0x453721){_0x36afa3['push'](_0x36afa3['shift']());}}}(a180_0x1883,0x6d834));export function writeCliSideChannelLine(_0x5109e1){var _0x1320fd=a180_0x457d;process[_0x1320fd(0x137)][_0x1320fd(0x13a)](_0x5109e1+'\x0a');}
1
+ (function(_0x896376,_0x465459){var _0x1556f1=a183_0x32aa,_0x1b1dc1=_0x896376();while(!![]){try{var _0x152ba4=parseInt(_0x1556f1(0x1a9))/0x1+-parseInt(_0x1556f1(0x1a8))/0x2+parseInt(_0x1556f1(0x1a4))/0x3*(-parseInt(_0x1556f1(0x1a7))/0x4)+-parseInt(_0x1556f1(0x1ae))/0x5+parseInt(_0x1556f1(0x1a6))/0x6+parseInt(_0x1556f1(0x1ac))/0x7+-parseInt(_0x1556f1(0x1ad))/0x8*(-parseInt(_0x1556f1(0x1a5))/0x9);if(_0x152ba4===_0x465459)break;else _0x1b1dc1['push'](_0x1b1dc1['shift']());}catch(_0x30fa43){_0x1b1dc1['push'](_0x1b1dc1['shift']());}}}(a183_0x1d69,0x30ed1));function a183_0x32aa(_0x1cba95,_0x580bfa){_0x1cba95=_0x1cba95-0x1a4;var _0x1d69ca=a183_0x1d69();var _0x32aa4f=_0x1d69ca[_0x1cba95];return _0x32aa4f;}export function writeCliSideChannelLine(_0x323e46){var _0x32eb5a=a183_0x32aa;process[_0x32eb5a(0x1aa)][_0x32eb5a(0x1ab)](_0x323e46+'\x0a');}function a183_0x1d69(){var _0xca99e7=['558152mDpLFv','134729EBCwON','stderr','write','1786484WrRzNl','16NLrHyM','1115500JFIJFw','75189itAswa','512703mhHAli','1492968ofYJMe','8otHzZz'];a183_0x1d69=function(){return _0xca99e7;};return a183_0x1d69();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.3.8-beta.4",
3
+ "version": "2.3.8-beta.5",
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": [
@@ -85,7 +85,7 @@
85
85
  ],
86
86
  "dependencies": {
87
87
  "@inquirer/prompts": "^8.6.0",
88
- "@lovrabet/cli-framework": "1.0.5",
88
+ "@lovrabet/cli-framework": "1.0.6-beta.1",
89
89
  "@lovrabet/sdk": "1.6.1-beta.5",
90
90
  "chalk": "^5.6.2",
91
91
  "exceljs": "4.4.0",
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: lovrabet
3
3
  displayName: Lovrabet 运行态 CLI
4
- version: 2.3.8-beta.4
4
+ version: 2.3.8-beta.5
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:
@@ -345,6 +345,7 @@ Service Tree 未命中不是失败条件,也不代表业务能力不存在。
345
345
  | **schedule** | `detail` | 查看定时任务详情 | read | AK |
346
346
  | **schedule** | `run` | 立即触发一次 Task(需确认) | high-risk-write | AK |
347
347
  | **schedule** | `delete` | 删除计划并停止未来触发(需确认) | high-risk-write | AK |
348
+ | **issue** | `report` | 提交问题日志,使用当前身份,应用可选 | write | [问题上报](references/lovrabet-issue-report.md) |
348
349
  | **logs** | `show` | 查看命令执行历史 | read | 本地 |
349
350
 
350
351
  ## 意图 → 命令索引
@@ -729,6 +730,7 @@ personal KB 使用文件型 create/update。更新前先 `kb detail` 查看正
729
730
  | Personal Backend Function 工作流 | [lovrabet-personal-bff-workflow.md](references/lovrabet-personal-bff-workflow.md) |
730
731
  | 知识库工作流 | [lovrabet-kb-workflow.md](references/lovrabet-kb-workflow.md) |
731
732
  | 定时任务工作流 | [lovrabet-schedule-workflow.md](references/lovrabet-schedule-workflow.md) |
733
+ | 问题日志上报 | [lovrabet-issue-report.md](references/lovrabet-issue-report.md) |
732
734
  | 日志 | [lovrabet-logs.md](references/lovrabet-logs.md) |
733
735
 
734
736
  METADATA 原生 Excel 图片导入支持浮动图片、Microsoft Excel 单元格 richData 和独立 WPS DISPIMG。图片列映射到 IMAGE 字段;先 `--dry-run` 核验服务端能力,恢复时保留主检查点与 `.rows.json`,详见[可恢复 Excel 导入](references/lovrabet-excel-import.md)。
@@ -0,0 +1,24 @@
1
+ # issue report
2
+
3
+ 将问题描述作为日志提交,供后续排查。使用当前 AK 身份,不要求绑定应用。
4
+
5
+ ## 使用方式
6
+
7
+ ```bash
8
+ lovrabet issue report --title "Dataset query failed" --description "Observed error and reproduction steps" --dry-run --format json
9
+ lovrabet issue report --title "Dataset query failed" --description-file ./issue.md --format compress
10
+ ```
11
+
12
+ - `--title` 必填;`--description` 与 `--description-file` 必须二选一,正文不能为空。
13
+ - 文件只作为本地内容来源,不自动上传文件或工作目录;请填写复现步骤、实际结果、期望结果和可用证据。
14
+ - 自动附带 CLI 版本、环境、已配置的 AppCode、OS/终端信息;不会自动抓取对话或历史失败日志,必要证据应由调用者明确写入正文。
15
+ - 标题、正文与附加上下文会进行敏感信息清洗;正文按 UTF-8 字节限制截断,输出包含清洗与截断统计。
16
+ - `--dry-run` 只预览最终业务载荷,不提交日志、不查询用户信息;正式提交使用当前用户信息。
17
+ - 先预览并检查正文、凭证脱敏和截断情况;重要证据被截断时,缩短重复内容或提供已有证据链接后再提交。
18
+ - `Issue log submitted` 表示问题日志已提交。
19
+ - 提交报错时,根据错误提示检查登录状态和网络连接。
20
+
21
+ ## 输出
22
+
23
+ 返回 `traceName`、`spanName`、`logDataKeys` 和 `issue` 摘要;`issue.sanitize` 包含原始字节数、截断状态、正文脱敏数量与类别。
24
+ `descriptionFile` 是本地读取路径,仅用于命令输出,不属于上报日志字段。
@@ -2,8 +2,8 @@
2
2
  "schemaVersion": 1,
3
3
  "name": "lovrabet",
4
4
  "packageName": "@lovrabet/lovrabet-cli",
5
- "packageVersion": "2.3.8-beta.4",
6
- "skillVersion": "2.3.8-beta.4",
5
+ "packageVersion": "2.3.8-beta.5",
6
+ "skillVersion": "2.3.8-beta.5",
7
7
  "files": [
8
8
  "SKILL.md",
9
9
  "guides/app-resolution.md",
@@ -24,6 +24,7 @@
24
24
  "references/lovrabet-doctor.md",
25
25
  "references/lovrabet-excel-import.md",
26
26
  "references/lovrabet-file-workflow.md",
27
+ "references/lovrabet-issue-report.md",
27
28
  "references/lovrabet-kb-workflow.md",
28
29
  "references/lovrabet-logs.md",
29
30
  "references/lovrabet-notification-config-list.md",
@@ -40,5 +41,5 @@
40
41
  "references/lovrabet-user-account.md",
41
42
  "references/lovrabet-workspace.md"
42
43
  ],
43
- "digest": "14c5bdf9be78b9ddcab0585e96880cc0e9fc2827bbc364d90b006209c2aa4310"
44
+ "digest": "4cb6372525141cd2a523b86d7bfccf7683627697f0961648eb7640d29f9b308b"
44
45
  }