@lovrabet/lovrabet-cli 2.3.6-beta.2 → 2.3.6

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 (184) hide show
  1. package/README.md +33 -2
  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/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.js +1 -1
  59. package/lib/commands/role/update.js +1 -1
  60. package/lib/commands/role/user-add.js +1 -1
  61. package/lib/commands/role/user-remove.js +1 -1
  62. package/lib/commands/schedule/index.js +1 -1
  63. package/lib/commands/schema.js +1 -1
  64. package/lib/commands/service/dynamic.js +1 -1
  65. package/lib/commands/service/function-name-adapter.js +1 -1
  66. package/lib/commands/service/index.js +1 -1
  67. package/lib/commands/service/registry.js +1 -1
  68. package/lib/commands/skill/commands/create.js +1 -1
  69. package/lib/commands/skill/commands/diagram.js +1 -1
  70. package/lib/commands/skill/commands/install.js +1 -1
  71. package/lib/commands/skill/commands/list.js +1 -1
  72. package/lib/commands/skill/commands/push.js +1 -1
  73. package/lib/commands/skill/commands/validate.js +1 -1
  74. package/lib/commands/skill/diagram.js +1 -1
  75. package/lib/commands/skill/flags.js +1 -1
  76. package/lib/commands/skill/index.js +1 -1
  77. package/lib/commands/skill/manifest-helpers.js +1 -1
  78. package/lib/commands/skill/push-execute.js +1 -1
  79. package/lib/commands/skill/push-flow-helpers.js +1 -1
  80. package/lib/commands/skill/push-retarget.js +1 -1
  81. package/lib/commands/skill/scopes.js +1 -1
  82. package/lib/commands/skill/summary.js +1 -1
  83. package/lib/commands/skill/templates.js +1 -1
  84. package/lib/commands/skill/validate.js +1 -1
  85. package/lib/commands/sql/detail.js +1 -1
  86. package/lib/commands/sql/exec.js +1 -1
  87. package/lib/commands/sql/index.js +1 -1
  88. package/lib/commands/update.js +1 -1
  89. package/lib/commands/user-account/bind.js +1 -1
  90. package/lib/commands/user-account/index.js +1 -1
  91. package/lib/commands/workspace/index.js +1 -1
  92. package/lib/config/domain-config.js +1 -1
  93. package/lib/config/schema.js +1 -1
  94. package/lib/constant/app.js +1 -1
  95. package/lib/constant/auth-mode.js +1 -1
  96. package/lib/constant/cli.js +1 -1
  97. package/lib/constant/defaults.js +1 -1
  98. package/lib/constant/distribution.js +1 -1
  99. package/lib/constant/domain.js +1 -1
  100. package/lib/constant/env.js +1 -1
  101. package/lib/constant/output.js +1 -1
  102. package/lib/constant/product.js +1 -1
  103. package/lib/constant/region.js +1 -1
  104. package/lib/constant/risk.js +1 -1
  105. package/lib/constant/url.js +1 -1
  106. package/lib/context.js +1 -1
  107. package/lib/core/api-client.d.ts +6 -6
  108. package/lib/core/api-client.js +1 -1
  109. package/lib/core/db-resolver.js +1 -1
  110. package/lib/core/kb-management-client.d.ts +17 -0
  111. package/lib/core/kb-management-client.js +1 -0
  112. package/lib/core/kb-search-client.js +1 -1
  113. package/lib/core/sdk-client.js +1 -1
  114. package/lib/errors.js +1 -1
  115. package/lib/framework/access-error.js +1 -1
  116. package/lib/framework/build-all-flags.js +1 -1
  117. package/lib/framework/dryrun.js +1 -1
  118. package/lib/framework/flags.js +1 -1
  119. package/lib/framework/help.js +1 -1
  120. package/lib/framework/index.js +1 -1
  121. package/lib/framework/output.js +1 -1
  122. package/lib/framework/preparse.js +1 -1
  123. package/lib/framework/rate-limit.js +1 -1
  124. package/lib/framework/raw-flags.js +1 -1
  125. package/lib/framework/response.js +1 -1
  126. package/lib/framework/runner-confirmation.js +1 -1
  127. package/lib/framework/runner-error.js +1 -1
  128. package/lib/framework/runner.js +1 -1
  129. package/lib/framework/schema-export.js +1 -1
  130. package/lib/framework/service-order.js +1 -1
  131. package/lib/framework/types.js +1 -1
  132. package/lib/generated/build-info.d.ts +4 -4
  133. package/lib/generated/build-info.js +1 -1
  134. package/lib/generated/official-routing.js +1 -1
  135. package/lib/generated/routing-contract.js +1 -1
  136. package/lib/help.js +1 -1
  137. package/lib/postinstall.js +1 -1
  138. package/lib/runtime/confirmation.js +1 -1
  139. package/lib/runtime/event.js +1 -1
  140. package/lib/runtime/index.js +1 -1
  141. package/lib/runtime/queue.js +1 -1
  142. package/lib/runtime/resolve.js +1 -1
  143. package/lib/services/dataset-import/auto-id-runner.js +1 -1
  144. package/lib/services/dataset-import/excel-reader.js +1 -1
  145. package/lib/services/dataset-import/image-bytes.js +1 -1
  146. package/lib/services/dataset-import/image-ooxml.js +1 -1
  147. package/lib/services/dataset-import/image-runner.js +1 -1
  148. package/lib/services/dataset-import/metadata.js +1 -1
  149. package/lib/services/dataset-import/preview.js +1 -1
  150. package/lib/services/dataset-import/runner.js +1 -1
  151. package/lib/skills/builtin-skill.js +1 -1
  152. package/lib/skills/npx-skills-add.js +1 -1
  153. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  154. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  155. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  156. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  157. package/lib/skills/runtime-skill-sync/links.js +1 -1
  158. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  159. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  160. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  161. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  162. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  163. package/lib/skills/runtime-skill-sync/push.js +1 -1
  164. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  165. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  166. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  167. package/lib/skills/runtime-skill-sync.js +1 -1
  168. package/lib/skills/skill-presence.js +1 -1
  169. package/lib/utils/access-key-redaction.js +1 -1
  170. package/lib/utils/apply-jq-filter.js +1 -1
  171. package/lib/utils/cli-version-check.js +1 -1
  172. package/lib/utils/cli-version-policy.js +1 -1
  173. package/lib/utils/logger.js +1 -1
  174. package/lib/utils/lossless-json.js +1 -1
  175. package/lib/utils/params.js +1 -1
  176. package/lib/utils/positive-safe-integer.js +1 -1
  177. package/lib/utils/redaction.js +1 -1
  178. package/lib/utils/update-notice.js +1 -1
  179. package/lib/utils/version.js +1 -1
  180. package/lib/utils/write-cli-side-channel.js +1 -1
  181. package/package.json +1 -1
  182. package/skills/lovrabet/SKILL.md +1 -1
  183. package/skills/lovrabet/references/lovrabet-kb-workflow.md +7 -3
  184. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- const a66_0x2437c8=a66_0x16d2;(function(_0x152793,_0x190b9f){const _0x450003=a66_0x16d2,_0x579465=_0x152793();while(!![]){try{const _0x33052f=-parseInt(_0x450003(0x1c5))/0x1*(parseInt(_0x450003(0x1cc))/0x2)+-parseInt(_0x450003(0x1ca))/0x3+-parseInt(_0x450003(0x1c0))/0x4+-parseInt(_0x450003(0x1bd))/0x5+-parseInt(_0x450003(0x1c1))/0x6*(-parseInt(_0x450003(0x1be))/0x7)+parseInt(_0x450003(0x1d3))/0x8+-parseInt(_0x450003(0x1b7))/0x9*(-parseInt(_0x450003(0x1d4))/0xa);if(_0x33052f===_0x190b9f)break;else _0x579465['push'](_0x579465['shift']());}catch(_0x3d2621){_0x579465['push'](_0x579465['shift']());}}}(a66_0x587f,0x217dd));import{existsSync,lstatSync,mkdirSync,writeFileSync}from'node:fs';import{dirname,resolve}from'node:path';import{CliErrors}from'../../../errors.js';import{writeCliSideChannelLine}from'../../../utils/write-cli-side-channel.js';function a66_0x16d2(_0x4d0a63,_0x148695){_0x4d0a63=_0x4d0a63-0x1b4;const _0x587fc0=a66_0x587f();let _0x16d2db=_0x587fc0[_0x4d0a63];return _0x16d2db;}import{CREATE_NAME_FLAG,FORCE_FLAG,TARGET_FLAG,TYPE_FLAG}from'../flags.js';import{DEFAULT_SKILL_TARGET,renderSkillTemplate}from'../templates.js';export const createCommand={'service':'skill','command':'create','description':a66_0x2437c8(0x1bf),'risk':a66_0x2437c8(0x1c6),'requiresAuth':![],'requiresAppCode':![],'flags':[CREATE_NAME_FLAG,TYPE_FLAG,TARGET_FLAG,FORCE_FLAG],async 'dryRun'(_0x53cc70){const _0x55aafc=a66_0x2437c8,_0x119809=buildSkillCreatePlan(_0x53cc70['str'](_0x55aafc(0x1cd)),_0x53cc70[_0x55aafc(0x1bb)](_0x55aafc(0x1c9)),_0x53cc70[_0x55aafc(0x1bb)](_0x55aafc(0x1b4)));return{'method':'WRITE','url':_0x119809[_0x55aafc(0x1c4)],'body':{'skillName':_0x119809['rendered'][_0x55aafc(0x1b9)],'type':_0x119809['rendered'][_0x55aafc(0x1c9)],'selfContained':!![],'files':_0x119809['rendered'][_0x55aafc(0x1c3)][_0x55aafc(0x1d5)](_0x4314d6=>_0x4314d6[_0x55aafc(0x1c7)])},'description':_0x55aafc(0x1b6)};},async 'execute'(_0x48970c){const _0x5c9fff=a66_0x2437c8,_0x2f1136=buildSkillCreatePlan(_0x48970c[_0x5c9fff(0x1bb)](_0x5c9fff(0x1cd)),_0x48970c['str'](_0x5c9fff(0x1c9)),_0x48970c[_0x5c9fff(0x1bb)](_0x5c9fff(0x1b4)));return writeSkillDraft(_0x2f1136,_0x48970c[_0x5c9fff(0x1ce)]('force')),{'ok':!![],'data':{'skillName':_0x2f1136[_0x5c9fff(0x1c2)]['skillName'],'type':_0x2f1136['rendered'][_0x5c9fff(0x1c9)],'dir':_0x2f1136[_0x5c9fff(0x1c4)],'files':_0x2f1136[_0x5c9fff(0x1c2)][_0x5c9fff(0x1c3)][_0x5c9fff(0x1d5)](_0x52c385=>_0x52c385[_0x5c9fff(0x1c7)])},'message':_0x5c9fff(0x1b5)+_0x2f1136[_0x5c9fff(0x1c2)][_0x5c9fff(0x1b9)]};}};function buildSkillCreatePlan(_0x5a5ff4,_0x7fae2f,_0x44c0e8){const _0x262ef0=a66_0x2437c8,_0x1d0335=_0x7fae2f['trim'](),_0x9f0dd3=renderSkillTemplate({'skillName':_0x5a5ff4,'type':_0x1d0335});!_0x1d0335&&writeCliSideChannelLine(_0x262ef0(0x1d2));const _0x4909be=resolve(normalizeSkillTarget(_0x44c0e8));return{'rendered':_0x9f0dd3,'targetRoot':_0x4909be,'skillDir':resolve(_0x4909be,_0x9f0dd3['skillName'])};}function normalizeSkillTarget(_0xe3c564){const _0x2e67b9=a66_0x2437c8;return(_0xe3c564||DEFAULT_SKILL_TARGET)[_0x2e67b9(0x1b8)]()||DEFAULT_SKILL_TARGET;}function writeSkillDraft(_0x36c9a4,_0x1b46bb){const _0x5326bc=a66_0x2437c8;if(existsSync(_0x36c9a4['skillDir'])){const _0x3b58b7=lstatSync(_0x36c9a4[_0x5326bc(0x1c4)]);if(!_0x3b58b7[_0x5326bc(0x1bc)]()||_0x3b58b7[_0x5326bc(0x1cb)]())throw CliErrors[_0x5326bc(0x1ba)](_0x5326bc(0x1c8)+_0x36c9a4[_0x5326bc(0x1c4)]);if(!_0x1b46bb)throw CliErrors[_0x5326bc(0x1ba)](_0x5326bc(0x1d0)+_0x36c9a4[_0x5326bc(0x1c4)],_0x5326bc(0x1d1));}for(const _0x3186f0 of _0x36c9a4['rendered'][_0x5326bc(0x1c3)]){const _0x57fa07=resolve(_0x36c9a4['skillDir'],_0x3186f0[_0x5326bc(0x1c7)]),_0x52978c=dirname(_0x57fa07);mkdirSync(_0x52978c,{'recursive':!![]});if(existsSync(_0x57fa07)&&lstatSync(_0x57fa07)['isSymbolicLink']())throw CliErrors['validation'](_0x5326bc(0x1cf)+_0x57fa07);writeFileSync(_0x57fa07,_0x3186f0['content'],'utf8');}}function a66_0x587f(){const _0x332591=['Created\x20local\x20Skill\x20draft\x20','Create\x20a\x20local\x20runtime\x20Skill\x20draft\x20without\x20uploading\x20or\x20publishing\x20it.','27ggjWBZ','trim','skillName','validation','str','isDirectory','302825jOPSJi','156856MkdzrG','Create\x20a\x20local\x20self-contained\x20runtime\x20Skill\x20draft','78644HoFJfv','18elcIRx','rendered','files','skillDir','160BxbNYl','read','path','Skill\x20path\x20already\x20exists\x20and\x20is\x20not\x20a\x20writable\x20directory:\x20','type','614349izUfNE','isSymbolicLink','1716xuQiKT','name','bool','Refusing\x20to\x20overwrite\x20symlink:\x20','Skill\x20directory\x20already\x20exists:\x20','Pass\x20--force\x20to\x20overwrite\x20generated\x20template\x20files.','Omitting\x20--type\x20is\x20deprecated;\x20defaulting\x20to\x20write\x20for\x20compatibility.\x20Pass\x20--type\x20read\x20or\x20--type\x20write\x20explicitly.','1754904dDjPXh','909610ZiWclG','map','target'];a66_0x587f=function(){return _0x332591;};return a66_0x587f();}
1
+ function a66_0x2a3e(_0x29f877,_0x323f25){_0x29f877=_0x29f877-0xa4;const _0x214751=a66_0x2147();let _0x2a3ebd=_0x214751[_0x29f877];return _0x2a3ebd;}const a66_0x3467d9=a66_0x2a3e;(function(_0x105cc9,_0x404fc7){const _0x5ba1d6=a66_0x2a3e,_0x554e9b=_0x105cc9();while(!![]){try{const _0x283a36=parseInt(_0x5ba1d6(0xaf))/0x1*(parseInt(_0x5ba1d6(0xc5))/0x2)+parseInt(_0x5ba1d6(0xc6))/0x3*(parseInt(_0x5ba1d6(0xa5))/0x4)+parseInt(_0x5ba1d6(0xaa))/0x5+-parseInt(_0x5ba1d6(0xbd))/0x6+parseInt(_0x5ba1d6(0xb6))/0x7*(-parseInt(_0x5ba1d6(0xa8))/0x8)+-parseInt(_0x5ba1d6(0xb1))/0x9+-parseInt(_0x5ba1d6(0xb2))/0xa;if(_0x283a36===_0x404fc7)break;else _0x554e9b['push'](_0x554e9b['shift']());}catch(_0x1abc7c){_0x554e9b['push'](_0x554e9b['shift']());}}}(a66_0x2147,0xad411));import{existsSync,lstatSync,mkdirSync,writeFileSync}from'node:fs';import{dirname,resolve}from'node:path';function a66_0x2147(){const _0x16f9d4=['1748621ZzXNJn','utf8','Create\x20a\x20local\x20runtime\x20Skill\x20draft\x20without\x20uploading\x20or\x20publishing\x20it.','map','isSymbolicLink','create','skillName','882480BGfStL','read','rendered','force','skill','Pass\x20--force\x20to\x20overwrite\x20generated\x20template\x20files.','Skill\x20directory\x20already\x20exists:\x20','target','60BeulqW','3YxEaKU','bool','name','880444LCrbcX','type','Omitting\x20--type\x20is\x20deprecated;\x20defaulting\x20to\x20write\x20for\x20compatibility.\x20Pass\x20--type\x20read\x20or\x20--type\x20write\x20explicitly.','8bDkNdx','skillDir','4311665CsJbIE','files','str','Created\x20local\x20Skill\x20draft\x20','validation','14843HoNMSn','Refusing\x20to\x20overwrite\x20symlink:\x20','651591ACKtzP','3488030JsyqQL','path','Create\x20a\x20local\x20self-contained\x20runtime\x20Skill\x20draft','isDirectory'];a66_0x2147=function(){return _0x16f9d4;};return a66_0x2147();}import{CliErrors}from'../../../errors.js';import{writeCliSideChannelLine}from'../../../utils/write-cli-side-channel.js';import{CREATE_NAME_FLAG,FORCE_FLAG,TARGET_FLAG,TYPE_FLAG}from'../flags.js';import{DEFAULT_SKILL_TARGET,renderSkillTemplate}from'../templates.js';export const createCommand={'service':a66_0x3467d9(0xc1),'command':a66_0x3467d9(0xbb),'description':a66_0x3467d9(0xb4),'risk':a66_0x3467d9(0xbe),'requiresAuth':![],'requiresAppCode':![],'flags':[CREATE_NAME_FLAG,TYPE_FLAG,TARGET_FLAG,FORCE_FLAG],async 'dryRun'(_0x522b87){const _0x18055f=a66_0x3467d9,_0x2dbdba=buildSkillCreatePlan(_0x522b87['str']('name'),_0x522b87[_0x18055f(0xac)]('type'),_0x522b87[_0x18055f(0xac)](_0x18055f(0xc4)));return{'method':'WRITE','url':_0x2dbdba['skillDir'],'body':{'skillName':_0x2dbdba[_0x18055f(0xbf)][_0x18055f(0xbc)],'type':_0x2dbdba['rendered'][_0x18055f(0xa6)],'selfContained':!![],'files':_0x2dbdba[_0x18055f(0xbf)][_0x18055f(0xab)][_0x18055f(0xb9)](_0x490c94=>_0x490c94[_0x18055f(0xb3)])},'description':_0x18055f(0xb8)};},async 'execute'(_0x47d9a3){const _0x558822=a66_0x3467d9,_0xf4132f=buildSkillCreatePlan(_0x47d9a3['str'](_0x558822(0xa4)),_0x47d9a3['str']('type'),_0x47d9a3[_0x558822(0xac)](_0x558822(0xc4)));return writeSkillDraft(_0xf4132f,_0x47d9a3[_0x558822(0xc7)](_0x558822(0xc0))),{'ok':!![],'data':{'skillName':_0xf4132f['rendered'][_0x558822(0xbc)],'type':_0xf4132f[_0x558822(0xbf)][_0x558822(0xa6)],'dir':_0xf4132f[_0x558822(0xa9)],'files':_0xf4132f['rendered'][_0x558822(0xab)]['map'](_0xb122a3=>_0xb122a3[_0x558822(0xb3)])},'message':_0x558822(0xad)+_0xf4132f[_0x558822(0xbf)]['skillName']};}};function buildSkillCreatePlan(_0x2f25fe,_0x3a4ab2,_0x350e11){const _0x5d7bf7=a66_0x3467d9,_0x5a287b=_0x3a4ab2['trim'](),_0x580ccf=renderSkillTemplate({'skillName':_0x2f25fe,'type':_0x5a287b});!_0x5a287b&&writeCliSideChannelLine(_0x5d7bf7(0xa7));const _0x29a4cf=resolve(normalizeSkillTarget(_0x350e11));return{'rendered':_0x580ccf,'targetRoot':_0x29a4cf,'skillDir':resolve(_0x29a4cf,_0x580ccf[_0x5d7bf7(0xbc)])};}function normalizeSkillTarget(_0x1e33a7){return(_0x1e33a7||DEFAULT_SKILL_TARGET)['trim']()||DEFAULT_SKILL_TARGET;}function writeSkillDraft(_0x3e5ae4,_0x1d7397){const _0x436ef3=a66_0x3467d9;if(existsSync(_0x3e5ae4[_0x436ef3(0xa9)])){const _0x341d7b=lstatSync(_0x3e5ae4['skillDir']);if(!_0x341d7b[_0x436ef3(0xb5)]()||_0x341d7b['isSymbolicLink']())throw CliErrors[_0x436ef3(0xae)]('Skill\x20path\x20already\x20exists\x20and\x20is\x20not\x20a\x20writable\x20directory:\x20'+_0x3e5ae4['skillDir']);if(!_0x1d7397)throw CliErrors[_0x436ef3(0xae)](_0x436ef3(0xc3)+_0x3e5ae4[_0x436ef3(0xa9)],_0x436ef3(0xc2));}for(const _0x29a3fe of _0x3e5ae4[_0x436ef3(0xbf)][_0x436ef3(0xab)]){const _0x2bb36e=resolve(_0x3e5ae4[_0x436ef3(0xa9)],_0x29a3fe[_0x436ef3(0xb3)]),_0x5dc3a5=dirname(_0x2bb36e);mkdirSync(_0x5dc3a5,{'recursive':!![]});if(existsSync(_0x2bb36e)&&lstatSync(_0x2bb36e)[_0x436ef3(0xba)]())throw CliErrors['validation'](_0x436ef3(0xb0)+_0x2bb36e);writeFileSync(_0x2bb36e,_0x29a3fe['content'],_0x436ef3(0xb7));}}
@@ -1 +1 @@
1
- const a67_0x149a32=a67_0x1d5a;(function(_0x59bcac,_0xcfcb94){const _0x4e62e6=a67_0x1d5a,_0x3f366c=_0x59bcac();while(!![]){try{const _0x5b495c=-parseInt(_0x4e62e6(0xff))/0x1*(-parseInt(_0x4e62e6(0x11d))/0x2)+-parseInt(_0x4e62e6(0x11f))/0x3*(parseInt(_0x4e62e6(0x125))/0x4)+-parseInt(_0x4e62e6(0xfa))/0x5+parseInt(_0x4e62e6(0x11b))/0x6*(parseInt(_0x4e62e6(0x108))/0x7)+-parseInt(_0x4e62e6(0x11a))/0x8+-parseInt(_0x4e62e6(0x123))/0x9+parseInt(_0x4e62e6(0x100))/0xa;if(_0x5b495c===_0xcfcb94)break;else _0x3f366c['push'](_0x3f366c['shift']());}catch(_0x524dd1){_0x3f366c['push'](_0x3f366c['shift']());}}}(a67_0x500c,0x38997));import{getRuntimeSkillVersionDiagram,putRuntimeSkillVersionDiagram,validateRuntimeSkillVersionDiagram}from'../../../core/api-client.js';import{CliErrors}from'../../../errors.js';function a67_0x1d5a(_0x3b0a73,_0x382642){_0x3b0a73=_0x3b0a73-0xfa;const _0x500c53=a67_0x500c();let _0x1d5afe=_0x500c53[_0x3b0a73];return _0x1d5afe;}import{readRequiredSkillDiagram}from'../diagram.js';function a67_0x500c(){const _0x404dc4=['validation','Creates\x20or\x20replaces\x20a\x20Mermaid\x20diagram\x20for\x20an\x20exact\x20Skill\x20version.\x20The\x20write\x20is\x20rejected\x20if\x20the\x20server\x20version\x20has\x20changed.\x20The\x20confirmation\x20UI\x20does\x20not\x20show\x20the\x20diagram\x20body.','Show\x20the\x20current\x20Mermaid\x20diagram\x20for\x20one\x20exact\x20Skill\x20version','Skill\x20diagram\x20validation\x20passed\x20for\x20','Skill\x20diagram\x20for\x20','skill-code','num','created','skillCode','\x20is\x20unchanged.','Updated','str','version','diagram-push','scope','expected-diagram-revision','\x20Skill\x20diagram\x20for\x20','141440GIiamO','104226RFayhs','found','2XnLzdE','skill','6WpkNMi','isInteger','unchanged','diagram-file','3414114hbEANB','expectedDiagramRevision','513204PzdmCk','source-fingerprint','No\x20Skill\x20diagram\x20is\x20stored\x20for\x20','diagram-validate','2037165bblAEz','--skill-code,\x20--version,\x20and\x20--scope\x20personal|company\x20are\x20required.','--source-fingerprint\x20must\x20be\x20lowercase\x20sha256:<64\x20hex\x20characters>.','personal','write','287477qgAoWd','7622210Fnqidx','Created','Found\x20Skill\x20diagram\x20for\x20','diagram-show','appCode','read','Validate\x20a\x20Mermaid\x20diagram\x20replacement\x20for\x20one\x20exact\x20Skill\x20version','action','98YDqDfX'];a67_0x500c=function(){return _0x404dc4;};return a67_0x500c();}import{DIAGRAM_FILE_FLAG,DIAGRAM_SCOPE_FLAG,DIAGRAM_SKILL_CODE_FLAG,DIAGRAM_VERSION_FLAG,EXPECTED_DIAGRAM_REVISION_FLAG,SOURCE_FINGERPRINT_FLAG}from'../flags.js';const TARGET_FLAGS=[DIAGRAM_SKILL_CODE_FLAG,DIAGRAM_VERSION_FLAG,DIAGRAM_SCOPE_FLAG],WRITE_FLAGS=[...TARGET_FLAGS,SOURCE_FINGERPRINT_FLAG,EXPECTED_DIAGRAM_REVISION_FLAG,DIAGRAM_FILE_FLAG];function readDiagramTarget(_0x225a18){const _0x39e7fb=a67_0x1d5a,_0xed099=_0x225a18[_0x39e7fb(0x114)](_0x39e7fb(0x10e))['trim'](),_0x36289f=_0x225a18[_0x39e7fb(0x114)](_0x39e7fb(0x115))['trim'](),_0x2bc730=_0x225a18[_0x39e7fb(0x114)]('scope');if(!_0xed099||!_0x36289f||_0x2bc730!==_0x39e7fb(0xfd)&&_0x2bc730!=='company')throw CliErrors[_0x39e7fb(0x109)](_0x39e7fb(0xfb));return{'skillCode':_0xed099,'version':_0x36289f,'scope':_0x2bc730};}async function readDiagramWriteInput(_0x582a06){const _0x3bb9b5=a67_0x1d5a,_0x50ceff=_0x582a06[_0x3bb9b5(0x10f)](_0x3bb9b5(0x118)),_0xf36ac2=_0x582a06['str'](_0x3bb9b5(0x126))['trim']();if(!Number[_0x3bb9b5(0x120)](_0x50ceff)||_0x50ceff<0x0)throw CliErrors['validation']('--expected-diagram-revision\x20must\x20be\x20a\x20non-negative\x20integer.');if(!/^sha256:[0-9a-f]{64}$/['test'](_0xf36ac2))throw CliErrors[_0x3bb9b5(0x109)](_0x3bb9b5(0xfc));return{'expectedDiagramRevision':_0x50ceff,'sourceFingerprint':_0xf36ac2,'diagram':await readRequiredSkillDiagram(_0x582a06['str'](_0x3bb9b5(0x122)))};}export const diagramValidateCommand={'service':a67_0x149a32(0x11e),'command':a67_0x149a32(0x128),'description':a67_0x149a32(0x106),'risk':a67_0x149a32(0x105),'flags':WRITE_FLAGS,async 'execute'(_0x332c79){const _0x48a94c=a67_0x149a32,_0x105323=readDiagramTarget(_0x332c79),_0x3150cd=await validateRuntimeSkillVersionDiagram(_0x332c79['appCode'],_0x105323[_0x48a94c(0x111)],_0x105323[_0x48a94c(0x115)],_0x105323[_0x48a94c(0x117)],await readDiagramWriteInput(_0x332c79));return{'ok':!![],'data':_0x3150cd,'message':_0x48a94c(0x10c)+_0x105323[_0x48a94c(0x111)]+'@'+_0x105323[_0x48a94c(0x115)]+'.'};}};export const diagramPushCommand={'service':'skill','command':a67_0x149a32(0x116),'description':'Create\x20or\x20replace\x20a\x20Mermaid\x20diagram\x20for\x20a\x20specific\x20Skill\x20version','risk':a67_0x149a32(0xfe),'confirmationDescription':a67_0x149a32(0x10a),'flags':WRITE_FLAGS,async 'execute'(_0x14daec){const _0x584a05=a67_0x149a32,_0x212a9c=readDiagramTarget(_0x14daec),_0x48c228=await putRuntimeSkillVersionDiagram(_0x14daec[_0x584a05(0x104)],_0x212a9c[_0x584a05(0x111)],_0x212a9c['version'],_0x212a9c[_0x584a05(0x117)],await readDiagramWriteInput(_0x14daec));return{'ok':!![],'data':_0x48c228,'message':_0x48c228[_0x584a05(0x107)]===_0x584a05(0x121)?_0x584a05(0x10d)+_0x212a9c['skillCode']+'@'+_0x212a9c[_0x584a05(0x115)]+_0x584a05(0x112):(_0x48c228['action']===_0x584a05(0x110)?_0x584a05(0x101):_0x584a05(0x113))+_0x584a05(0x119)+_0x212a9c[_0x584a05(0x111)]+'@'+_0x212a9c[_0x584a05(0x115)]+'.'};}};export const diagramShowCommand={'service':'skill','command':a67_0x149a32(0x103),'description':a67_0x149a32(0x10b),'risk':a67_0x149a32(0x105),'flags':TARGET_FLAGS,async 'execute'(_0x2906bc){const _0x549493=a67_0x149a32,_0x19f505=readDiagramTarget(_0x2906bc),_0x54a76d=await getRuntimeSkillVersionDiagram(_0x2906bc[_0x549493(0x104)],_0x19f505[_0x549493(0x111)],_0x19f505[_0x549493(0x115)],_0x19f505[_0x549493(0x117)]);return{'ok':!![],'data':_0x54a76d,'message':_0x54a76d[_0x549493(0x11c)]?_0x549493(0x102)+_0x19f505[_0x549493(0x111)]+'@'+_0x19f505[_0x549493(0x115)]+';\x20next\x20write\x20expects\x20revision\x20'+_0x54a76d[_0x549493(0x124)]+'.':_0x549493(0x127)+_0x19f505[_0x549493(0x111)]+'@'+_0x19f505['version']+';\x20first\x20write\x20expects\x20revision\x20'+_0x54a76d['expectedDiagramRevision']+'.'};}};
1
+ const a67_0x2621e7=a67_0x5efb;(function(_0x58474c,_0x377d16){const _0x269837=a67_0x5efb,_0x45e42d=_0x58474c();while(!![]){try{const _0x2ff66d=-parseInt(_0x269837(0x11f))/0x1+-parseInt(_0x269837(0x134))/0x2+-parseInt(_0x269837(0x137))/0x3+-parseInt(_0x269837(0x135))/0x4*(parseInt(_0x269837(0x115))/0x5)+parseInt(_0x269837(0x129))/0x6*(parseInt(_0x269837(0x119))/0x7)+parseInt(_0x269837(0x13d))/0x8*(parseInt(_0x269837(0x12e))/0x9)+parseInt(_0x269837(0x13a))/0xa*(parseInt(_0x269837(0x118))/0xb);if(_0x2ff66d===_0x377d16)break;else _0x45e42d['push'](_0x45e42d['shift']());}catch(_0x2b0e4d){_0x45e42d['push'](_0x45e42d['shift']());}}}(a67_0x16e7,0x7ae8d));import{getRuntimeSkillVersionDiagram,putRuntimeSkillVersionDiagram,validateRuntimeSkillVersionDiagram}from'../../../core/api-client.js';import{CliErrors}from'../../../errors.js';import{readRequiredSkillDiagram}from'../diagram.js';import{DIAGRAM_FILE_FLAG,DIAGRAM_SCOPE_FLAG,DIAGRAM_SKILL_CODE_FLAG,DIAGRAM_VERSION_FLAG,EXPECTED_DIAGRAM_REVISION_FLAG,SOURCE_FINGERPRINT_FLAG}from'../flags.js';const TARGET_FLAGS=[DIAGRAM_SKILL_CODE_FLAG,DIAGRAM_VERSION_FLAG,DIAGRAM_SCOPE_FLAG],WRITE_FLAGS=[...TARGET_FLAGS,SOURCE_FINGERPRINT_FLAG,EXPECTED_DIAGRAM_REVISION_FLAG,DIAGRAM_FILE_FLAG];function readDiagramTarget(_0x40db29){const _0x2282fb=a67_0x5efb,_0x39e3c0=_0x40db29[_0x2282fb(0x116)](_0x2282fb(0x125))[_0x2282fb(0x112)](),_0x364162=_0x40db29[_0x2282fb(0x116)](_0x2282fb(0x13e))['trim'](),_0x55844f=_0x40db29[_0x2282fb(0x116)](_0x2282fb(0x11d));if(!_0x39e3c0||!_0x364162||_0x55844f!==_0x2282fb(0x11c)&&_0x55844f!==_0x2282fb(0x12f))throw CliErrors[_0x2282fb(0x126)](_0x2282fb(0x111));return{'skillCode':_0x39e3c0,'version':_0x364162,'scope':_0x55844f};}function a67_0x5efb(_0x44a869,_0xdc6eb4){_0x44a869=_0x44a869-0x111;const _0x16e785=a67_0x16e7();let _0x5efbbf=_0x16e785[_0x44a869];return _0x5efbbf;}async function readDiagramWriteInput(_0x1749a0){const _0x382c4f=a67_0x5efb,_0x2ae12d=_0x1749a0['num'](_0x382c4f(0x128)),_0x2d2ea3=_0x1749a0[_0x382c4f(0x116)](_0x382c4f(0x114))[_0x382c4f(0x112)]();if(!Number[_0x382c4f(0x13c)](_0x2ae12d)||_0x2ae12d<0x0)throw CliErrors['validation'](_0x382c4f(0x12d));if(!/^sha256:[0-9a-f]{64}$/[_0x382c4f(0x133)](_0x2d2ea3))throw CliErrors[_0x382c4f(0x126)]('--source-fingerprint\x20must\x20be\x20lowercase\x20sha256:<64\x20hex\x20characters>.');return{'expectedDiagramRevision':_0x2ae12d,'sourceFingerprint':_0x2d2ea3,'diagram':await readRequiredSkillDiagram(_0x1749a0['str'](_0x382c4f(0x113)))};}export const diagramValidateCommand={'service':'skill','command':a67_0x2621e7(0x138),'description':a67_0x2621e7(0x11a),'risk':'read','flags':WRITE_FLAGS,async 'execute'(_0x33b520){const _0x6d262b=a67_0x2621e7,_0x1053ed=readDiagramTarget(_0x33b520),_0x4ca9ed=await validateRuntimeSkillVersionDiagram(_0x33b520['appCode'],_0x1053ed[_0x6d262b(0x11e)],_0x1053ed['version'],_0x1053ed[_0x6d262b(0x11d)],await readDiagramWriteInput(_0x33b520));return{'ok':!![],'data':_0x4ca9ed,'message':_0x6d262b(0x132)+_0x1053ed[_0x6d262b(0x11e)]+'@'+_0x1053ed[_0x6d262b(0x13e)]+'.'};}};function a67_0x16e7(){const _0x156ab6=['--expected-diagram-revision\x20must\x20be\x20a\x20non-negative\x20integer.','1615311ooFDpU','company','appCode',';\x20first\x20write\x20expects\x20revision\x20','Skill\x20diagram\x20validation\x20passed\x20for\x20','test','1966286OqZPgR','12VTJMFE','expectedDiagramRevision','1481151bZBDoO','diagram-validate',';\x20next\x20write\x20expects\x20revision\x20','9998410EqmgUk','created','isInteger','32MlOqGc','version','\x20Skill\x20diagram\x20for\x20','--skill-code,\x20--version,\x20and\x20--scope\x20personal|company\x20are\x20required.','trim','diagram-file','source-fingerprint','133750neuRYm','str','read','11OHhFxB','5163641SXJQCf','Validate\x20a\x20Mermaid\x20diagram\x20replacement\x20for\x20one\x20exact\x20Skill\x20version','Skill\x20diagram\x20for\x20','personal','scope','skillCode','394873WnQBZv','unchanged','\x20is\x20unchanged.','action','diagram-push','skill','skill-code','validation','found','expected-diagram-revision','6EcKikZ','Found\x20Skill\x20diagram\x20for\x20','write','Create\x20or\x20replace\x20a\x20Mermaid\x20diagram\x20for\x20a\x20specific\x20Skill\x20version'];a67_0x16e7=function(){return _0x156ab6;};return a67_0x16e7();}export const diagramPushCommand={'service':a67_0x2621e7(0x124),'command':a67_0x2621e7(0x123),'description':a67_0x2621e7(0x12c),'risk':a67_0x2621e7(0x12b),'confirmationDescription':'Creates\x20or\x20replaces\x20a\x20Mermaid\x20diagram\x20for\x20an\x20exact\x20Skill\x20version.\x20The\x20write\x20is\x20rejected\x20if\x20the\x20server\x20version\x20has\x20changed.\x20The\x20confirmation\x20UI\x20does\x20not\x20show\x20the\x20diagram\x20body.','flags':WRITE_FLAGS,async 'execute'(_0x2e72e4){const _0x59176c=a67_0x2621e7,_0x3f29af=readDiagramTarget(_0x2e72e4),_0xa6eec2=await putRuntimeSkillVersionDiagram(_0x2e72e4[_0x59176c(0x130)],_0x3f29af['skillCode'],_0x3f29af[_0x59176c(0x13e)],_0x3f29af[_0x59176c(0x11d)],await readDiagramWriteInput(_0x2e72e4));return{'ok':!![],'data':_0xa6eec2,'message':_0xa6eec2[_0x59176c(0x122)]===_0x59176c(0x120)?_0x59176c(0x11b)+_0x3f29af['skillCode']+'@'+_0x3f29af['version']+_0x59176c(0x121):(_0xa6eec2[_0x59176c(0x122)]===_0x59176c(0x13b)?'Created':'Updated')+_0x59176c(0x13f)+_0x3f29af[_0x59176c(0x11e)]+'@'+_0x3f29af[_0x59176c(0x13e)]+'.'};}};export const diagramShowCommand={'service':'skill','command':'diagram-show','description':'Show\x20the\x20current\x20Mermaid\x20diagram\x20for\x20one\x20exact\x20Skill\x20version','risk':a67_0x2621e7(0x117),'flags':TARGET_FLAGS,async 'execute'(_0x29b165){const _0x5c4ceb=a67_0x2621e7,_0x57770c=readDiagramTarget(_0x29b165),_0x2ea83a=await getRuntimeSkillVersionDiagram(_0x29b165[_0x5c4ceb(0x130)],_0x57770c['skillCode'],_0x57770c[_0x5c4ceb(0x13e)],_0x57770c[_0x5c4ceb(0x11d)]);return{'ok':!![],'data':_0x2ea83a,'message':_0x2ea83a[_0x5c4ceb(0x127)]?_0x5c4ceb(0x12a)+_0x57770c[_0x5c4ceb(0x11e)]+'@'+_0x57770c[_0x5c4ceb(0x13e)]+_0x5c4ceb(0x139)+_0x2ea83a[_0x5c4ceb(0x136)]+'.':'No\x20Skill\x20diagram\x20is\x20stored\x20for\x20'+_0x57770c[_0x5c4ceb(0x11e)]+'@'+_0x57770c[_0x5c4ceb(0x13e)]+_0x5c4ceb(0x131)+_0x2ea83a['expectedDiagramRevision']+'.'};}};
@@ -1 +1 @@
1
- const a68_0xc6a40f=a68_0x1de5;(function(_0x4f7f96,_0x1e16ff){const _0x5406bd=a68_0x1de5,_0x1ffb7c=_0x4f7f96();while(!![]){try{const _0x37755f=-parseInt(_0x5406bd(0xd0))/0x1+parseInt(_0x5406bd(0xe9))/0x2+parseInt(_0x5406bd(0xc9))/0x3*(parseInt(_0x5406bd(0xe7))/0x4)+parseInt(_0x5406bd(0xd4))/0x5*(parseInt(_0x5406bd(0xce))/0x6)+parseInt(_0x5406bd(0xc8))/0x7+-parseInt(_0x5406bd(0xde))/0x8+-parseInt(_0x5406bd(0xe8))/0x9;if(_0x37755f===_0x1e16ff)break;else _0x1ffb7c['push'](_0x1ffb7c['shift']());}catch(_0x40b40f){_0x1ffb7c['push'](_0x1ffb7c['shift']());}}}(a68_0x306f,0x936fe));import{CliErrors}from'../../../errors.js';import{CODE_FLAG,FORCE_FLAG,PROJECT_TARGET_FLAG,SCOPE_FLAG}from'../flags.js';function a68_0x1de5(_0x948982,_0x2bcb00){_0x948982=_0x948982-0xc4;const _0x306f46=a68_0x306f();let _0x1de5d3=_0x306f46[_0x948982];return _0x1de5d3;}function a68_0x306f(){const _0x3232d6=['all','project','map','appCode','5161776MNbKSy','\x20personal\x20and\x20','Business\x20Skill\x20installation\x20requires\x20authentication.\x20Run\x20`lovrabet\x20auth\x20login`,\x20or\x20use\x20`lovrabet\x20cli-skill\x20install`\x20for\x20CLI\x20Built-in\x20Skill\x20setup.','from','min','code','scope','removed','trim','12592XHSauk','1025874IPzOto','1349096xxAleB','action','bool','company','personal','authRequired','version','filter','\x20company\x20Skill(s).','929327GPJDXX','579PFczJd','skill','production','includes','accessKey','2382bLlKGk','reduce','1027986czoeLC','skillCode','force','str','12295xrGceS','length','global','skipped','unchanged','envName'];a68_0x306f=function(){return _0x3232d6;};return a68_0x306f();}import{normalizeSyncScopes}from'../scopes.js';import{summarizeRuntimeSkill}from'../summary.js';const PACKAGE_DOWNLOAD_CONCURRENCY=0x4;export const installCommand={'service':a68_0xc6a40f(0xca),'command':'install','description':'Install\x20current-app\x20business\x20Skills\x20into\x20user-level\x20Agent\x20skill\x20directories','risk':'read','requiresAuth':!![],'requiresAppCode':!![],'hasFormat':![],'flags':[CODE_FLAG,SCOPE_FLAG,FORCE_FLAG,PROJECT_TARGET_FLAG],async 'execute'(_0x168615){return syncRuntimeSkills(_0x168615);}};async function syncRuntimeSkills(_0x5bd08a){const _0x117ae9=a68_0xc6a40f,{downloadRuntimeSkillPackage:_0xc7ba49,listRuntimeSkills:_0xf5813c}=await import('../../../core/api-client.js'),{linkEffectiveRuntimeSkills:_0x32d9da,materializeRuntimeSkill:_0x5a313f,pruneStaleRuntimeSkillCache:_0x1e3531,pruneStaleRuntimeSkillLinks:_0xb55356,resolveRuntimeSkillInstallTarget:_0x357e7b,reuseMaterializedRuntimeSkill:_0x1b8471}=await import('../../../skills/runtime-skill-sync.js'),_0x40168a=_0x5bd08a[_0x117ae9(0xd3)](_0x117ae9(0xe3)),_0x24a461=normalizeSyncScopes(_0x5bd08a[_0x117ae9(0xd3)](_0x117ae9(0xe4))),_0x428722=_0x5bd08a[_0x117ae9(0xd9)]??_0x117ae9(0xcb),_0x3ec8dd=_0x5bd08a[_0x117ae9(0xcd)],_0x394e38=_0x5bd08a[_0x117ae9(0xeb)](_0x117ae9(0xd2));if(!_0x3ec8dd)throw CliErrors[_0x117ae9(0xc4)](_0x117ae9(0xe0));const _0x1cada8=_0x357e7b(_0x5bd08a[_0x117ae9(0xdd)],_0x5bd08a[_0x117ae9(0xeb)](_0x117ae9(0xdb))?_0x117ae9(0xdb):'global'),_0x1d429a=_0x357e7b(_0x5bd08a[_0x117ae9(0xdd)],_0x1cada8[_0x117ae9(0xe4)]==='project'?_0x117ae9(0xd6):_0x117ae9(0xdb)),_0x2d64d3=await _0xf5813c({'appCode':_0x5bd08a[_0x117ae9(0xdd)],'scope':_0x24a461[_0x117ae9(0xd5)]===0x1?_0x24a461[0x0]:_0x117ae9(0xda),'code':_0x40168a[_0x117ae9(0xe6)]()||undefined,'installableOnly':!![]}),_0x344f95=_0x24a461[_0x117ae9(0xcc)]('personal')?_0x2d64d3[_0x117ae9(0xed)]:[],_0x460723=_0x24a461['includes'](_0x117ae9(0xec))?_0x2d64d3[_0x117ae9(0xec)]:[],_0x4697dc=new Set([..._0x344f95['map'](_0x1bf7e7=>_0x1bf7e7[_0x117ae9(0xd1)]?.[_0x117ae9(0xe6)]())[_0x117ae9(0xc6)](_0x50caa2=>Boolean(_0x50caa2)),..._0x460723[_0x117ae9(0xdc)](_0x4a7e80=>_0x4a7e80[_0x117ae9(0xd1)]?.[_0x117ae9(0xe6)]())[_0x117ae9(0xc6)](_0x3ad045=>Boolean(_0x3ad045))]),_0x297786=_0x40168a['trim']()?[_0x40168a[_0x117ae9(0xe6)]()]:undefined,_0x521307=_0x24a461['length']===0x2&&_0x24a461['includes']('personal')&&_0x24a461[_0x117ae9(0xcc)](_0x117ae9(0xec)),_0x5e4276=_0x521307?_0xb55356(_0x1cada8,_0x4697dc,_0x297786):[],_0x131cd1=_0x1e3531({'env':_0x428722,'accessKey':_0x3ec8dd,'appCode':_0x5bd08a['appCode'],'activeSkillCodes':_0x4697dc,'pruneSkillCodes':_0x297786,'scopes':_0x24a461,'protectedLinkRoots':_0x1d429a['skillRoots']}),_0x469816=[..._0x344f95[_0x117ae9(0xdc)](_0x50fa24=>({'skill':_0x50fa24,'scope':_0x117ae9(0xed)})),..._0x460723['map'](_0x13ee5b=>({'skill':_0x13ee5b,'scope':_0x117ae9(0xec)}))],_0x3716e0=await mapConcurrent(_0x469816,PACKAGE_DOWNLOAD_CONCURRENCY,async({skill:_0x401889,scope:_0x492b33})=>{const _0x5091b5=_0x117ae9,_0x186975=_0x1b8471(_0x401889,_0x492b33,{'env':_0x428722,'accessKey':_0x3ec8dd,'appCode':_0x5bd08a[_0x5091b5(0xdd)]});if(_0x186975)return _0x186975;return _0x5a313f(_0x401889,_0x492b33,{'env':_0x428722,'accessKey':_0x3ec8dd,'appCode':_0x5bd08a[_0x5091b5(0xdd)],'force':_0x394e38,'packageBytes':await downloadSkillPackage(_0x401889,_0x492b33,_0x5bd08a[_0x5091b5(0xdd)],_0xc7ba49)});}),_0x28822d=_0x32d9da(_0x3716e0,_0x1cada8),_0x22d1e2=countLinkActions(_0x28822d);return{'ok':!![],'data':{'appCode':_0x5bd08a[_0x117ae9(0xdd)],..._0x1cada8['scope']===_0x117ae9(0xdb)?{'installTarget':{'scope':_0x1cada8[_0x117ae9(0xe4)],'skillRoots':[..._0x1cada8['skillRoots']]}}:{},'personal':_0x344f95[_0x117ae9(0xd5)],'company':_0x460723['length'],'materialized':_0x3716e0[_0x117ae9(0xd5)],'links':{'total':_0x28822d[_0x117ae9(0xd5)],'created':_0x22d1e2['created']??0x0,'updated':_0x22d1e2['updated']??0x0,'unchanged':_0x22d1e2[_0x117ae9(0xd8)]??0x0,'skipped':0x0,'conflicted':0x0},'pruned':{'links':_0x5e4276['filter'](_0x2c2adf=>_0x2c2adf[_0x117ae9(0xea)]===_0x117ae9(0xe5))[_0x117ae9(0xd5)],'cacheDirs':_0x131cd1['filter'](_0x5a1478=>_0x5a1478[_0x117ae9(0xea)]==='removed')[_0x117ae9(0xd5)],'skipped':[..._0x5e4276,..._0x131cd1][_0x117ae9(0xc6)](_0xc91930=>_0xc91930['action']===_0x117ae9(0xd7))[_0x117ae9(0xd5)]},'skills':{'personal':_0x344f95[_0x117ae9(0xdc)](summarizeRuntimeSkill),'company':_0x460723['map'](summarizeRuntimeSkill)}},'message':'Installed\x20'+_0x344f95[_0x117ae9(0xd5)]+_0x117ae9(0xdf)+_0x460723['length']+_0x117ae9(0xc7)};}async function mapConcurrent(_0x54fe1e,_0xe902d0,_0x52fe19){const _0x600c70=a68_0xc6a40f,_0x30be9f=new Array(_0x54fe1e['length']);let _0x2d237f=0x0;const _0x591a81=Array[_0x600c70(0xe1)]({'length':Math[_0x600c70(0xe2)](_0xe902d0,_0x54fe1e[_0x600c70(0xd5)])},async()=>{const _0x2667ba=_0x600c70;while(_0x2d237f<_0x54fe1e[_0x2667ba(0xd5)]){const _0x216f4b=_0x2d237f;_0x2d237f+=0x1,_0x30be9f[_0x216f4b]=await _0x52fe19(_0x54fe1e[_0x216f4b]);}});return await Promise[_0x600c70(0xda)](_0x591a81),_0x30be9f;}async function downloadSkillPackage(_0x47f197,_0x7cd631,_0xfd8059,_0x54849c){const _0x3b6883=a68_0xc6a40f,_0x24e663=_0x47f197[_0x3b6883(0xc5)]?.['trim']();return _0x24e663?_0x54849c(_0x7cd631,_0x47f197['skillCode'],_0xfd8059,_0x24e663):_0x54849c(_0x7cd631,_0x47f197[_0x3b6883(0xd1)],_0xfd8059);}function countLinkActions(_0x36f413){const _0x3b1e99=a68_0xc6a40f;return _0x36f413[_0x3b1e99(0xcf)]((_0xd840a4,_0x786ab8)=>{const _0x498865=_0x3b1e99;return _0xd840a4[_0x786ab8['action']]=(_0xd840a4[_0x786ab8[_0x498865(0xea)]]??0x0)+0x1,_0xd840a4;},{});}
1
+ function a68_0x119a(){const _0x238920=['skillCode','208584xpNUSt','str','skipped','length','reduce','production','skillRoots','381402BcSowF','envName','install','code','filter','5009585maZGwS','bool','appCode','includes','authRequired','project','map','342476IXiyeQ','all','../../../skills/runtime-skill-sync.js','skill','unchanged','force','created','action','Installed\x20','Business\x20Skill\x20installation\x20requires\x20authentication.\x20Run\x20`lovrabet\x20auth\x20login`,\x20or\x20use\x20`lovrabet\x20cli-skill\x20install`\x20for\x20CLI\x20Built-in\x20Skill\x20setup.','trim','990GPhqTi','\x20personal\x20and\x20','removed','244560aEfFJZ','3361290KJtrRp','global','company','40GkDerH','2514192EvTbjR','\x20company\x20Skill(s).','personal','version','updated','scope','from','12SLKdph'];a68_0x119a=function(){return _0x238920;};return a68_0x119a();}const a68_0x35db36=a68_0x1341;(function(_0x2a81c7,_0x4acff3){const _0x2e3936=a68_0x1341,_0x251890=_0x2a81c7();while(!![]){try{const _0x4b219b=-parseInt(_0x2e3936(0x105))/0x1+-parseInt(_0x2e3936(0x126))/0x2*(parseInt(_0x2e3936(0x111))/0x3)+-parseInt(_0x2e3936(0x10a))/0x4+-parseInt(_0x2e3936(0x11f))/0x5+parseInt(_0x2e3936(0x106))/0x6+-parseInt(_0x2e3936(0x11a))/0x7*(-parseInt(_0x2e3936(0x109))/0x8)+parseInt(_0x2e3936(0x113))/0x9*(parseInt(_0x2e3936(0x102))/0xa);if(_0x4b219b===_0x4acff3)break;else _0x251890['push'](_0x251890['shift']());}catch(_0x5721d5){_0x251890['push'](_0x251890['shift']());}}}(a68_0x119a,0x8a734));import{CliErrors}from'../../../errors.js';import{CODE_FLAG,FORCE_FLAG,PROJECT_TARGET_FLAG,SCOPE_FLAG}from'../flags.js';import{normalizeSyncScopes}from'../scopes.js';function a68_0x1341(_0x4c8f0b,_0x5c9636){_0x4c8f0b=_0x4c8f0b-0x102;const _0x119a39=a68_0x119a();let _0x134175=_0x119a39[_0x4c8f0b];return _0x134175;}import{summarizeRuntimeSkill}from'../summary.js';const PACKAGE_DOWNLOAD_CONCURRENCY=0x4;export const installCommand={'service':a68_0x35db36(0x129),'command':a68_0x35db36(0x11c),'description':'Install\x20current-app\x20business\x20Skills\x20into\x20user-level\x20Agent\x20skill\x20directories','risk':'read','requiresAuth':!![],'requiresAppCode':!![],'hasFormat':![],'flags':[CODE_FLAG,SCOPE_FLAG,FORCE_FLAG,PROJECT_TARGET_FLAG],async 'execute'(_0x4a284f){return syncRuntimeSkills(_0x4a284f);}};async function syncRuntimeSkills(_0x18555d){const _0x2f3845=a68_0x35db36,{downloadRuntimeSkillPackage:_0x424995,listRuntimeSkills:_0x4f3ca2}=await import('../../../core/api-client.js'),{linkEffectiveRuntimeSkills:_0x58106b,materializeRuntimeSkill:_0x4103f6,pruneStaleRuntimeSkillCache:_0x522c63,pruneStaleRuntimeSkillLinks:_0x2ff641,resolveRuntimeSkillInstallTarget:_0x8932f5,reuseMaterializedRuntimeSkill:_0x4447f2}=await import(_0x2f3845(0x128)),_0x1abb42=_0x18555d['str'](_0x2f3845(0x11d)),_0x4a3a4f=normalizeSyncScopes(_0x18555d[_0x2f3845(0x114)]('scope')),_0x8a4524=_0x18555d[_0x2f3845(0x11b)]??_0x2f3845(0x118),_0x254df6=_0x18555d['accessKey'],_0x1c80f5=_0x18555d[_0x2f3845(0x120)](_0x2f3845(0x12b));if(!_0x254df6)throw CliErrors[_0x2f3845(0x123)](_0x2f3845(0x12f));const _0x30fee0=_0x8932f5(_0x18555d[_0x2f3845(0x121)],_0x18555d['bool'](_0x2f3845(0x124))?'project':_0x2f3845(0x107)),_0x4ea9d5=_0x8932f5(_0x18555d[_0x2f3845(0x121)],_0x30fee0[_0x2f3845(0x10f)]===_0x2f3845(0x124)?_0x2f3845(0x107):_0x2f3845(0x124)),_0x579b76=await _0x4f3ca2({'appCode':_0x18555d['appCode'],'scope':_0x4a3a4f[_0x2f3845(0x116)]===0x1?_0x4a3a4f[0x0]:'all','code':_0x1abb42['trim']()||undefined,'installableOnly':!![]}),_0x52b017=_0x4a3a4f[_0x2f3845(0x122)]('personal')?_0x579b76[_0x2f3845(0x10c)]:[],_0x541fdf=_0x4a3a4f[_0x2f3845(0x122)](_0x2f3845(0x108))?_0x579b76[_0x2f3845(0x108)]:[],_0x764a04=new Set([..._0x52b017[_0x2f3845(0x125)](_0x2d71c5=>_0x2d71c5[_0x2f3845(0x112)]?.[_0x2f3845(0x130)]())[_0x2f3845(0x11e)](_0x1ee64f=>Boolean(_0x1ee64f)),..._0x541fdf[_0x2f3845(0x125)](_0x36c2de=>_0x36c2de[_0x2f3845(0x112)]?.[_0x2f3845(0x130)]())[_0x2f3845(0x11e)](_0x3261ae=>Boolean(_0x3261ae))]),_0x3c02ea=_0x1abb42[_0x2f3845(0x130)]()?[_0x1abb42['trim']()]:undefined,_0x3f3540=_0x4a3a4f[_0x2f3845(0x116)]===0x2&&_0x4a3a4f['includes'](_0x2f3845(0x10c))&&_0x4a3a4f['includes'](_0x2f3845(0x108)),_0x3853c7=_0x3f3540?_0x2ff641(_0x30fee0,_0x764a04,_0x3c02ea):[],_0x59bca4=_0x522c63({'env':_0x8a4524,'accessKey':_0x254df6,'appCode':_0x18555d['appCode'],'activeSkillCodes':_0x764a04,'pruneSkillCodes':_0x3c02ea,'scopes':_0x4a3a4f,'protectedLinkRoots':_0x4ea9d5[_0x2f3845(0x119)]}),_0x2bae2e=[..._0x52b017[_0x2f3845(0x125)](_0x261ccf=>({'skill':_0x261ccf,'scope':_0x2f3845(0x10c)})),..._0x541fdf['map'](_0x253d9f=>({'skill':_0x253d9f,'scope':_0x2f3845(0x108)}))],_0x100c41=await mapConcurrent(_0x2bae2e,PACKAGE_DOWNLOAD_CONCURRENCY,async({skill:_0x447287,scope:_0x53c3d4})=>{const _0x365f37=_0x2f3845,_0x4ca5fd=_0x4447f2(_0x447287,_0x53c3d4,{'env':_0x8a4524,'accessKey':_0x254df6,'appCode':_0x18555d[_0x365f37(0x121)]});if(_0x4ca5fd)return _0x4ca5fd;return _0x4103f6(_0x447287,_0x53c3d4,{'env':_0x8a4524,'accessKey':_0x254df6,'appCode':_0x18555d[_0x365f37(0x121)],'force':_0x1c80f5,'packageBytes':await downloadSkillPackage(_0x447287,_0x53c3d4,_0x18555d[_0x365f37(0x121)],_0x424995)});}),_0x103b01=_0x58106b(_0x100c41,_0x30fee0),_0x38dab9=countLinkActions(_0x103b01);return{'ok':!![],'data':{'appCode':_0x18555d[_0x2f3845(0x121)],..._0x30fee0['scope']==='project'?{'installTarget':{'scope':_0x30fee0['scope'],'skillRoots':[..._0x30fee0[_0x2f3845(0x119)]]}}:{},'personal':_0x52b017['length'],'company':_0x541fdf['length'],'materialized':_0x100c41[_0x2f3845(0x116)],'links':{'total':_0x103b01[_0x2f3845(0x116)],'created':_0x38dab9[_0x2f3845(0x12c)]??0x0,'updated':_0x38dab9[_0x2f3845(0x10e)]??0x0,'unchanged':_0x38dab9[_0x2f3845(0x12a)]??0x0,'skipped':0x0,'conflicted':0x0},'pruned':{'links':_0x3853c7[_0x2f3845(0x11e)](_0x2d7027=>_0x2d7027['action']===_0x2f3845(0x104))[_0x2f3845(0x116)],'cacheDirs':_0x59bca4['filter'](_0x3444ca=>_0x3444ca['action']===_0x2f3845(0x104))[_0x2f3845(0x116)],'skipped':[..._0x3853c7,..._0x59bca4]['filter'](_0x34ed0a=>_0x34ed0a[_0x2f3845(0x12d)]===_0x2f3845(0x115))[_0x2f3845(0x116)]},'skills':{'personal':_0x52b017[_0x2f3845(0x125)](summarizeRuntimeSkill),'company':_0x541fdf['map'](summarizeRuntimeSkill)}},'message':_0x2f3845(0x12e)+_0x52b017[_0x2f3845(0x116)]+_0x2f3845(0x103)+_0x541fdf[_0x2f3845(0x116)]+_0x2f3845(0x10b)};}async function mapConcurrent(_0x346cab,_0x3331d6,_0x1e774e){const _0x169ad8=a68_0x35db36,_0x4ab1f3=new Array(_0x346cab['length']);let _0x406323=0x0;const _0x389a42=Array[_0x169ad8(0x110)]({'length':Math['min'](_0x3331d6,_0x346cab['length'])},async()=>{while(_0x406323<_0x346cab['length']){const _0x17ea6d=_0x406323;_0x406323+=0x1,_0x4ab1f3[_0x17ea6d]=await _0x1e774e(_0x346cab[_0x17ea6d]);}});return await Promise[_0x169ad8(0x127)](_0x389a42),_0x4ab1f3;}async function downloadSkillPackage(_0x2b9ad6,_0x2d13d9,_0x3cde29,_0x2d887f){const _0x318124=a68_0x35db36,_0x4da0cd=_0x2b9ad6[_0x318124(0x10d)]?.['trim']();return _0x4da0cd?_0x2d887f(_0x2d13d9,_0x2b9ad6[_0x318124(0x112)],_0x3cde29,_0x4da0cd):_0x2d887f(_0x2d13d9,_0x2b9ad6[_0x318124(0x112)],_0x3cde29);}function countLinkActions(_0x9f8be){const _0x1dab4a=a68_0x35db36;return _0x9f8be[_0x1dab4a(0x117)]((_0x5332f3,_0x59bdca)=>{const _0x4bfd22=_0x1dab4a;return _0x5332f3[_0x59bdca[_0x4bfd22(0x12d)]]=(_0x5332f3[_0x59bdca[_0x4bfd22(0x12d)]]??0x0)+0x1,_0x5332f3;},{});}
@@ -1 +1 @@
1
- const a69_0x371ec5=a69_0x3389;(function(_0xbcbea1,_0x3e121b){const _0x39dc2f=a69_0x3389,_0x659a82=_0xbcbea1();while(!![]){try{const _0x221cab=-parseInt(_0x39dc2f(0xf0))/0x1+parseInt(_0x39dc2f(0xf4))/0x2+parseInt(_0x39dc2f(0xf8))/0x3+-parseInt(_0x39dc2f(0xfa))/0x4*(parseInt(_0x39dc2f(0xe3))/0x5)+-parseInt(_0x39dc2f(0xe4))/0x6+-parseInt(_0x39dc2f(0xec))/0x7+parseInt(_0x39dc2f(0xe1))/0x8*(parseInt(_0x39dc2f(0xe0))/0x9);if(_0x221cab===_0x3e121b)break;else _0x659a82['push'](_0x659a82['shift']());}catch(_0x26aa5d){_0x659a82['push'](_0x659a82['shift']());}}}(a69_0x4bb0,0x8b91b));import{CliErrors}from'../../../errors.js';import{CODE_FLAG,LIST_SCOPE_FLAG,LOCAL_FLAG,PROJECT_TARGET_FLAG}from'../flags.js';function a69_0x3389(_0x2ea28b,_0x3964ea){_0x2ea28b=_0x2ea28b-0xde;const _0x4bb085=a69_0x4bb0();let _0x33898c=_0x4bb085[_0x2ea28b];return _0x33898c;}function a69_0x4bb0(){const _0x9be5c1=['remote','production','local','code','scope','\x20local\x20Skill(s).','../../../skills/runtime-skill-sync.js','288gTJxVA','628808SqQfOm','length','3497470OCjVpq','5514996tpjpVF','map','appCode','global','company','read','personal','project','2705031xAMTWD','str','filter','envName','638181bRRdlS','builtin','accessKey','Listed\x20','845944lwpQoG','trim','List\x20runtime\x20Skills\x20from\x20remote\x20or\x20CLI-managed\x20local\x20cache','bool','830235jfrmpN','authRequired','4qzWiZX'];a69_0x4bb0=function(){return _0x9be5c1;};return a69_0x4bb0();}import{listScopeToRemoteScope,listScopeToRuntimeScopes,normalizeListScope,shouldListScope}from'../scopes.js';import{summarizeLocalRuntimeSkill,summarizeRuntimeSkill}from'../summary.js';export const listCommand={'service':'skill','command':'list','description':a69_0x371ec5(0xf6),'risk':a69_0x371ec5(0xe9),'flags':[CODE_FLAG,LIST_SCOPE_FLAG,LOCAL_FLAG,PROJECT_TARGET_FLAG],async 'execute'(_0xe9e694){const _0x303bfa=a69_0x371ec5,_0x1dff9c=_0xe9e694['str'](_0x303bfa(0xfe)),_0x38634b=normalizeListScope(_0xe9e694[_0x303bfa(0xed)](_0x303bfa(0xff)));if(_0xe9e694['bool'](_0x303bfa(0xfd))){const _0x3092d4=_0xe9e694[_0x303bfa(0xf2)];if(!_0x3092d4)throw CliErrors[_0x303bfa(0xf9)]();const {listLocalRuntimeSkills:_0x3d8da2,resolveRuntimeSkillInstallTarget:_0x26f6c1}=await import(_0x303bfa(0xdf)),_0x1457c8=_0x26f6c1(_0xe9e694[_0x303bfa(0xe6)],_0xe9e694[_0x303bfa(0xf7)](_0x303bfa(0xeb))?_0x303bfa(0xeb):_0x303bfa(0xe7)),_0x3b27e6=_0x3d8da2({'env':_0xe9e694[_0x303bfa(0xef)]??_0x303bfa(0xfc),'accessKey':_0x3092d4,'appCode':_0xe9e694[_0x303bfa(0xe6)],'scopes':listScopeToRuntimeScopes(_0x38634b),'code':_0x1dff9c[_0x303bfa(0xf5)]()||undefined},_0x1457c8),_0x5e938a=groupLocalRuntimeSkills(_0x3b27e6);return{'ok':!![],'data':{'appCode':_0xe9e694[_0x303bfa(0xe6)],'source':_0x303bfa(0xfd),..._0x1457c8[_0x303bfa(0xff)]===_0x303bfa(0xeb)?{'installScope':_0x1457c8['scope']}:{},'scope':_0x38634b,'total':_0x3b27e6['length'],'personal':_0x5e938a[_0x303bfa(0xea)][_0x303bfa(0xe2)],'company':_0x5e938a[_0x303bfa(0xe8)][_0x303bfa(0xe2)],'items':_0x3b27e6[_0x303bfa(0xe5)](summarizeLocalRuntimeSkill),'skills':{'personal':_0x5e938a[_0x303bfa(0xea)]['map'](summarizeLocalRuntimeSkill),'company':_0x5e938a[_0x303bfa(0xe8)][_0x303bfa(0xe5)](summarizeLocalRuntimeSkill)}},'message':_0x303bfa(0xf3)+_0x3b27e6[_0x303bfa(0xe2)]+_0x303bfa(0xde)};}const {listRuntimeSkills:_0x269576}=await import('../../../core/api-client.js'),_0x53a19c=await _0x269576({'appCode':_0xe9e694[_0x303bfa(0xe6)],'scope':listScopeToRemoteScope(_0x38634b),'code':_0x1dff9c[_0x303bfa(0xf5)]()||undefined}),_0x4d845b=shouldListScope(_0x38634b,_0x303bfa(0xea))?_0x53a19c[_0x303bfa(0xea)]??[]:[],_0x5bc306=shouldListScope(_0x38634b,_0x303bfa(0xe8))?_0x53a19c[_0x303bfa(0xe8)]??[]:[],_0x498c2f=[..._0x4d845b,..._0x5bc306];return{'ok':!![],'data':{'appCode':_0xe9e694['appCode'],'source':_0x303bfa(0xfb),'scope':_0x38634b,'total':_0x498c2f[_0x303bfa(0xe2)],'personal':_0x4d845b[_0x303bfa(0xe2)],'company':_0x5bc306[_0x303bfa(0xe2)],'items':_0x498c2f[_0x303bfa(0xe5)](summarizeRuntimeSkill),'skills':{'personal':_0x4d845b['map'](summarizeRuntimeSkill),'company':_0x5bc306[_0x303bfa(0xe5)](summarizeRuntimeSkill)}},'message':_0x303bfa(0xf3)+_0x498c2f[_0x303bfa(0xe2)]+'\x20remote\x20Skill(s).'};}};function groupLocalRuntimeSkills(_0x4b233e){const _0x441f34=a69_0x371ec5;return{'personal':_0x4b233e[_0x441f34(0xee)](_0x2cdf3a=>_0x2cdf3a['scope']===_0x441f34(0xea)),'company':_0x4b233e['filter'](_0x4d6644=>_0x4d6644['scope']==='company'),'builtin':_0x4b233e[_0x441f34(0xee)](_0x37815f=>_0x37815f[_0x441f34(0xff)]===_0x441f34(0xf1))};}
1
+ const a69_0x3aa796=a69_0x27a8;(function(_0x1cf655,_0x858d8){const _0x5831e2=a69_0x27a8,_0x74ed69=_0x1cf655();while(!![]){try{const _0x473269=-parseInt(_0x5831e2(0x16f))/0x1+-parseInt(_0x5831e2(0x174))/0x2+-parseInt(_0x5831e2(0x169))/0x3*(parseInt(_0x5831e2(0x177))/0x4)+parseInt(_0x5831e2(0x171))/0x5+parseInt(_0x5831e2(0x17e))/0x6+-parseInt(_0x5831e2(0x17f))/0x7+-parseInt(_0x5831e2(0x15e))/0x8*(-parseInt(_0x5831e2(0x161))/0x9);if(_0x473269===_0x858d8)break;else _0x74ed69['push'](_0x74ed69['shift']());}catch(_0xcb4385){_0x74ed69['push'](_0x74ed69['shift']());}}}(a69_0x1b43,0xcc4c3));function a69_0x27a8(_0x34e3cc,_0x29b805){_0x34e3cc=_0x34e3cc-0x15e;const _0x1b4382=a69_0x1b43();let _0x27a8dd=_0x1b4382[_0x34e3cc];return _0x27a8dd;}import{CliErrors}from'../../../errors.js';import{CODE_FLAG,LIST_SCOPE_FLAG,LOCAL_FLAG,PROJECT_TARGET_FLAG}from'../flags.js';import{listScopeToRemoteScope,listScopeToRuntimeScopes,normalizeListScope,shouldListScope}from'../scopes.js';import{summarizeLocalRuntimeSkill,summarizeRuntimeSkill}from'../summary.js';export const listCommand={'service':a69_0x3aa796(0x17d),'command':a69_0x3aa796(0x164),'description':a69_0x3aa796(0x178),'risk':'read','flags':[CODE_FLAG,LIST_SCOPE_FLAG,LOCAL_FLAG,PROJECT_TARGET_FLAG],async 'execute'(_0x542f18){const _0x3d9919=a69_0x3aa796,_0x4c3473=_0x542f18[_0x3d9919(0x162)](_0x3d9919(0x17b)),_0x558ade=normalizeListScope(_0x542f18[_0x3d9919(0x162)](_0x3d9919(0x176)));if(_0x542f18[_0x3d9919(0x16a)](_0x3d9919(0x16c))){const _0x15a782=_0x542f18[_0x3d9919(0x16b)];if(!_0x15a782)throw CliErrors[_0x3d9919(0x16d)]();const {listLocalRuntimeSkills:_0x4dc3ef,resolveRuntimeSkillInstallTarget:_0x2de53d}=await import(_0x3d9919(0x167)),_0x35ce9e=_0x2de53d(_0x542f18[_0x3d9919(0x160)],_0x542f18['bool'](_0x3d9919(0x170))?'project':_0x3d9919(0x168)),_0x47bdce=_0x4dc3ef({'env':_0x542f18[_0x3d9919(0x17a)]??_0x3d9919(0x175),'accessKey':_0x15a782,'appCode':_0x542f18[_0x3d9919(0x160)],'scopes':listScopeToRuntimeScopes(_0x558ade),'code':_0x4c3473['trim']()||undefined},_0x35ce9e),_0x247371=groupLocalRuntimeSkills(_0x47bdce);return{'ok':!![],'data':{'appCode':_0x542f18[_0x3d9919(0x160)],'source':'local',..._0x35ce9e[_0x3d9919(0x176)]===_0x3d9919(0x170)?{'installScope':_0x35ce9e[_0x3d9919(0x176)]}:{},'scope':_0x558ade,'total':_0x47bdce[_0x3d9919(0x17c)],'personal':_0x247371['personal'][_0x3d9919(0x17c)],'company':_0x247371[_0x3d9919(0x180)][_0x3d9919(0x17c)],'items':_0x47bdce[_0x3d9919(0x16e)](summarizeLocalRuntimeSkill),'skills':{'personal':_0x247371[_0x3d9919(0x163)][_0x3d9919(0x16e)](summarizeLocalRuntimeSkill),'company':_0x247371[_0x3d9919(0x180)][_0x3d9919(0x16e)](summarizeLocalRuntimeSkill)}},'message':_0x3d9919(0x173)+_0x47bdce['length']+_0x3d9919(0x166)};}const {listRuntimeSkills:_0x9e94ae}=await import('../../../core/api-client.js'),_0x8d8cc=await _0x9e94ae({'appCode':_0x542f18[_0x3d9919(0x160)],'scope':listScopeToRemoteScope(_0x558ade),'code':_0x4c3473['trim']()||undefined}),_0x3df396=shouldListScope(_0x558ade,_0x3d9919(0x163))?_0x8d8cc[_0x3d9919(0x163)]??[]:[],_0x1dbedc=shouldListScope(_0x558ade,_0x3d9919(0x180))?_0x8d8cc[_0x3d9919(0x180)]??[]:[],_0x389465=[..._0x3df396,..._0x1dbedc];return{'ok':!![],'data':{'appCode':_0x542f18[_0x3d9919(0x160)],'source':_0x3d9919(0x15f),'scope':_0x558ade,'total':_0x389465['length'],'personal':_0x3df396[_0x3d9919(0x17c)],'company':_0x1dbedc[_0x3d9919(0x17c)],'items':_0x389465[_0x3d9919(0x16e)](summarizeRuntimeSkill),'skills':{'personal':_0x3df396[_0x3d9919(0x16e)](summarizeRuntimeSkill),'company':_0x1dbedc['map'](summarizeRuntimeSkill)}},'message':_0x3d9919(0x173)+_0x389465[_0x3d9919(0x17c)]+_0x3d9919(0x179)};}};function a69_0x1b43(){const _0x2b1e9e=['code','length','skill','9559578WjaLoO','5534116hJtmIp','company','8cDkzyJ','remote','appCode','2683017aDQwTy','str','personal','list','filter','\x20local\x20Skill(s).','../../../skills/runtime-skill-sync.js','global','1358874oHunJF','bool','accessKey','local','authRequired','map','1261169uYLnnm','project','8253065isGhmF','builtin','Listed\x20','400942TwTGZu','production','scope','4DgnJRU','List\x20runtime\x20Skills\x20from\x20remote\x20or\x20CLI-managed\x20local\x20cache','\x20remote\x20Skill(s).','envName'];a69_0x1b43=function(){return _0x2b1e9e;};return a69_0x1b43();}function groupLocalRuntimeSkills(_0x2e58df){const _0xe8f133=a69_0x3aa796;return{'personal':_0x2e58df['filter'](_0x4e6d1a=>_0x4e6d1a[_0xe8f133(0x176)]===_0xe8f133(0x163)),'company':_0x2e58df[_0xe8f133(0x165)](_0x595830=>_0x595830[_0xe8f133(0x176)]===_0xe8f133(0x180)),'builtin':_0x2e58df[_0xe8f133(0x165)](_0x2aee95=>_0x2aee95[_0xe8f133(0x176)]===_0xe8f133(0x172))};}
@@ -1 +1 @@
1
- function a70_0x2b24(_0x30bea0,_0x524db3){_0x30bea0=_0x30bea0-0x1a8;const _0x4d8d82=a70_0x4d8d();let _0x2b24cf=_0x4d8d82[_0x30bea0];return _0x2b24cf;}const a70_0x3900b6=a70_0x2b24;(function(_0x12b012,_0x381a16){const _0xf7d475=a70_0x2b24,_0x247d9a=_0x12b012();while(!![]){try{const _0x574a4e=-parseInt(_0xf7d475(0x1b1))/0x1*(-parseInt(_0xf7d475(0x1ab))/0x2)+-parseInt(_0xf7d475(0x1ac))/0x3*(-parseInt(_0xf7d475(0x1a9))/0x4)+-parseInt(_0xf7d475(0x1ad))/0x5*(parseInt(_0xf7d475(0x1ae))/0x6)+-parseInt(_0xf7d475(0x1b0))/0x7*(-parseInt(_0xf7d475(0x1b5))/0x8)+parseInt(_0xf7d475(0x1b4))/0x9+-parseInt(_0xf7d475(0x1aa))/0xa*(-parseInt(_0xf7d475(0x1b6))/0xb)+-parseInt(_0xf7d475(0x1b3))/0xc;if(_0x574a4e===_0x381a16)break;else _0x247d9a['push'](_0x247d9a['shift']());}catch(_0x5c4b87){_0x247d9a['push'](_0x247d9a['shift']());}}}(a70_0x4d8d,0x3302a));function a70_0x4d8d(){const _0x666eb4=['88590KSglHQ','6354sNdWse','3HQUwtr','5dMGxCA','769782wpdOyN','Push\x20a\x20local\x20Skill\x20directory\x20to\x20personal\x20scope,\x20or\x20submit\x20a\x20company-scope\x20version\x20for\x20review','2705290uqorcj','102oMqaQo','Reads\x20local\x20Skill\x20content:\x20personal\x20scope\x20is\x20saved\x20immediately;\x20company\x20scope\x20submits\x20a\x20new\x20version\x20for\x20review.\x20The\x20confirmation\x20UI\x20does\x20not\x20show\x20the\x20directory\x20path\x20or\x20Skill\x20body.','7647684ArQLsd','543969rZflFJ','8ZOCSAu','209lIBTXu','push','skill','write','141024SrfuLk'];a70_0x4d8d=function(){return _0x666eb4;};return a70_0x4d8d();}import{CONFIRM_WARNINGS_FLAG,DIAGRAM_FILE_FLAG,DIR_FLAG,PUSH_SCOPE_FLAG}from'../flags.js';import{skillPushDryRun,skillPushExecute}from'../push-execute.js';export const pushCommand={'service':a70_0x3900b6(0x1b8),'command':a70_0x3900b6(0x1b7),'description':a70_0x3900b6(0x1af),'risk':a70_0x3900b6(0x1a8),'confirmationDescription':a70_0x3900b6(0x1b2),'flags':[DIR_FLAG,DIAGRAM_FILE_FLAG,PUSH_SCOPE_FLAG,CONFIRM_WARNINGS_FLAG],'dryRun':skillPushDryRun,'execute':skillPushExecute};
1
+ const a70_0x195195=a70_0x51bf;(function(_0x33e66b,_0x3843d8){const _0x3d9d67=a70_0x51bf,_0x313b1=_0x33e66b();while(!![]){try{const _0x127752=-parseInt(_0x3d9d67(0x162))/0x1*(parseInt(_0x3d9d67(0x15e))/0x2)+parseInt(_0x3d9d67(0x163))/0x3*(-parseInt(_0x3d9d67(0x158))/0x4)+parseInt(_0x3d9d67(0x157))/0x5*(-parseInt(_0x3d9d67(0x156))/0x6)+parseInt(_0x3d9d67(0x15a))/0x7*(parseInt(_0x3d9d67(0x160))/0x8)+-parseInt(_0x3d9d67(0x15b))/0x9*(-parseInt(_0x3d9d67(0x161))/0xa)+-parseInt(_0x3d9d67(0x159))/0xb+parseInt(_0x3d9d67(0x15c))/0xc;if(_0x127752===_0x3843d8)break;else _0x313b1['push'](_0x313b1['shift']());}catch(_0xf60eb9){_0x313b1['push'](_0x313b1['shift']());}}}(a70_0x2060,0x95650));import{CONFIRM_WARNINGS_FLAG,DIAGRAM_FILE_FLAG,DIR_FLAG,PUSH_SCOPE_FLAG}from'../flags.js';import{skillPushDryRun,skillPushExecute}from'../push-execute.js';function a70_0x51bf(_0x3b13a9,_0x2d400b){_0x3b13a9=_0x3b13a9-0x156;const _0x206001=a70_0x2060();let _0x51bf2b=_0x206001[_0x3b13a9];return _0x51bf2b;}function a70_0x2060(){const _0x212c1d=['9891EdNjeQ','129546FBTcRc','30010548AKEjDm','push','2VWpeir','Reads\x20local\x20Skill\x20content:\x20personal\x20scope\x20is\x20saved\x20immediately;\x20company\x20scope\x20submits\x20a\x20new\x20version\x20for\x20review.\x20The\x20confirmation\x20UI\x20does\x20not\x20show\x20the\x20directory\x20path\x20or\x20Skill\x20body.','4720DhEaNG','530aRjado','481573RHmiIf','3dLZCox','skill','Push\x20a\x20local\x20Skill\x20directory\x20to\x20personal\x20scope,\x20or\x20submit\x20a\x20company-scope\x20version\x20for\x20review','write','1231836wgTCwx','15VlsMwG','4846676muqleb','12939861JOyanQ'];a70_0x2060=function(){return _0x212c1d;};return a70_0x2060();}export const pushCommand={'service':a70_0x195195(0x164),'command':a70_0x195195(0x15d),'description':a70_0x195195(0x165),'risk':a70_0x195195(0x166),'confirmationDescription':a70_0x195195(0x15f),'flags':[DIR_FLAG,DIAGRAM_FILE_FLAG,PUSH_SCOPE_FLAG,CONFIRM_WARNINGS_FLAG],'dryRun':skillPushDryRun,'execute':skillPushExecute};
@@ -1 +1 @@
1
- const a71_0x46485c=a71_0x235d;(function(_0x1a010a,_0x18876f){const _0x15f8e1=a71_0x235d,_0x383aec=_0x1a010a();while(!![]){try{const _0x371e48=parseInt(_0x15f8e1(0x125))/0x1*(-parseInt(_0x15f8e1(0x12e))/0x2)+-parseInt(_0x15f8e1(0x123))/0x3+parseInt(_0x15f8e1(0x12d))/0x4*(parseInt(_0x15f8e1(0x130))/0x5)+parseInt(_0x15f8e1(0x11b))/0x6*(-parseInt(_0x15f8e1(0x122))/0x7)+-parseInt(_0x15f8e1(0x120))/0x8*(parseInt(_0x15f8e1(0x11c))/0x9)+parseInt(_0x15f8e1(0x12c))/0xa*(parseInt(_0x15f8e1(0x129))/0xb)+parseInt(_0x15f8e1(0x121))/0xc*(parseInt(_0x15f8e1(0x12f))/0xd);if(_0x371e48===_0x18876f)break;else _0x383aec['push'](_0x383aec['shift']());}catch(_0x5a05a9){_0x383aec['push'](_0x383aec['shift']());}}}(a71_0x416e,0x76448));import{DIR_FLAG,STRICT_FLAG}from'../flags.js';function a71_0x416e(){const _0xf5f6e3=['type','errors','12551dSqAAp','dir','read','7070pcgjpz','1743724SVbbPz','1265354bRExhy','22841143umzXuG','5FkNbbj','42gaFihA','2696283xrCYYR','Skill\x20validation\x20passed.','warnings','strict','16Mghvlb','12bTHdvP','786023BeTiQE','1491993lhzhon','validate','1OwkJOS','str'];a71_0x416e=function(){return _0xf5f6e3;};return a71_0x416e();}import{throwIfSkillValidationFailed,validateSkillDirectory}from'../validate.js';function a71_0x235d(_0x4aa363,_0x5c3490){_0x4aa363=_0x4aa363-0x11b;const _0x416ed3=a71_0x416e();let _0x235d5e=_0x416ed3[_0x4aa363];return _0x235d5e;}export const validateCommand={'service':'skill','command':a71_0x46485c(0x124),'description':'Validate\x20a\x20local\x20Skill\x20directory\x20as\x20a\x20self-contained\x20delivery\x20package','risk':a71_0x46485c(0x12b),'requiresAuth':![],'requiresAppCode':![],'flags':[DIR_FLAG,STRICT_FLAG],async 'execute'(_0xadea8d){const _0x233beb=a71_0x46485c,_0x449749=_0xadea8d['bool'](_0x233beb(0x11f)),_0x25356e=validateSkillDirectory(_0xadea8d[_0x233beb(0x126)](_0x233beb(0x12a)),{'strict':_0x449749});return throwIfSkillValidationFailed(_0x25356e,_0x449749),{'ok':!![],'data':{'dir':_0x25356e[_0x233beb(0x12a)],'type':_0x25356e[_0x233beb(0x127)],'errors':_0x25356e[_0x233beb(0x128)],'warnings':_0x25356e[_0x233beb(0x11e)]},'message':_0x233beb(0x11d)};}};
1
+ function a71_0x51c8(){const _0x1d59f5=['6mtDbNC','errors','Validate\x20a\x20local\x20Skill\x20directory\x20as\x20a\x20self-contained\x20delivery\x20package','2472111lUlQCp','8bhOsLg','7750128KJEmjb','validate','17346384pvgIdr','2154915OhRxEz','78046FCaRKx','1368429WMPTxi','skill','12vHTGVd','strict','bool','40tqrENx','type','Skill\x20validation\x20passed.','587422hKBZKJ','7ejDvAa','dir'];a71_0x51c8=function(){return _0x1d59f5;};return a71_0x51c8();}const a71_0x2160ae=a71_0x20e2;function a71_0x20e2(_0x32bcf1,_0x58c8ae){_0x32bcf1=_0x32bcf1-0x117;const _0x51c83d=a71_0x51c8();let _0x20e236=_0x51c83d[_0x32bcf1];return _0x20e236;}(function(_0x48108f,_0x547cd7){const _0x2d0ee7=a71_0x20e2,_0x3044be=_0x48108f();while(!![]){try{const _0x17d794=parseInt(_0x2d0ee7(0x128))/0x1*(-parseInt(_0x2d0ee7(0x11f))/0x2)+-parseInt(_0x2d0ee7(0x129))/0x3+-parseInt(_0x2d0ee7(0x12b))/0x4*(parseInt(_0x2d0ee7(0x127))/0x5)+-parseInt(_0x2d0ee7(0x124))/0x6*(-parseInt(_0x2d0ee7(0x11d))/0x7)+-parseInt(_0x2d0ee7(0x123))/0x8*(parseInt(_0x2d0ee7(0x122))/0x9)+parseInt(_0x2d0ee7(0x119))/0xa*(parseInt(_0x2d0ee7(0x11c))/0xb)+parseInt(_0x2d0ee7(0x126))/0xc;if(_0x17d794===_0x547cd7)break;else _0x3044be['push'](_0x3044be['shift']());}catch(_0x4827ab){_0x3044be['push'](_0x3044be['shift']());}}}(a71_0x51c8,0xa92b7));import{DIR_FLAG,STRICT_FLAG}from'../flags.js';import{throwIfSkillValidationFailed,validateSkillDirectory}from'../validate.js';export const validateCommand={'service':a71_0x2160ae(0x12a),'command':a71_0x2160ae(0x125),'description':a71_0x2160ae(0x121),'risk':'read','requiresAuth':![],'requiresAppCode':![],'flags':[DIR_FLAG,STRICT_FLAG],async 'execute'(_0x5d42be){const _0x4ac58c=a71_0x2160ae,_0x4b3f9=_0x5d42be[_0x4ac58c(0x118)](_0x4ac58c(0x117)),_0x1137c8=validateSkillDirectory(_0x5d42be['str'](_0x4ac58c(0x11e)),{'strict':_0x4b3f9});return throwIfSkillValidationFailed(_0x1137c8,_0x4b3f9),{'ok':!![],'data':{'dir':_0x1137c8[_0x4ac58c(0x11e)],'type':_0x1137c8[_0x4ac58c(0x11a)],'errors':_0x1137c8[_0x4ac58c(0x120)],'warnings':_0x1137c8['warnings']},'message':_0x4ac58c(0x11b)};}};
@@ -1 +1 @@
1
- (function(_0x57116d,_0x20f369){const _0x4e887c=a72_0x5e71,_0x5f0431=_0x57116d();while(!![]){try{const _0x273aca=-parseInt(_0x4e887c(0x1ad))/0x1+parseInt(_0x4e887c(0x1aa))/0x2*(-parseInt(_0x4e887c(0x1a7))/0x3)+-parseInt(_0x4e887c(0x1ac))/0x4*(parseInt(_0x4e887c(0x1a3))/0x5)+-parseInt(_0x4e887c(0x1b8))/0x6*(parseInt(_0x4e887c(0x1af))/0x7)+-parseInt(_0x4e887c(0x1a0))/0x8+-parseInt(_0x4e887c(0x1b5))/0x9+-parseInt(_0x4e887c(0x1b1))/0xa*(-parseInt(_0x4e887c(0x1b3))/0xb);if(_0x273aca===_0x20f369)break;else _0x5f0431['push'](_0x5f0431['shift']());}catch(_0x1e8c31){_0x5f0431['push'](_0x5f0431['shift']());}}}(a72_0x1f2b,0x82820));import{existsSync,readFileSync,realpathSync,statSync}from'node:fs';import{resolve}from'node:path';import{JSDOM}from'jsdom';import{CliErrors}from'../../errors.js';function a72_0x1f2b(){const _0x364f60=['Mermaid\x20syntax\x20validation\x20failed.','isFile','defineProperties','730287TUyMhN','Mermaid\x20flowchart\x20path\x20is\x20not\x20a\x20regular\x20file:\x20','Generate\x20a\x20Mermaid\x20flowchart\x20and\x20pass\x20--diagram-file\x20<path>,\x20or\x20use\x20--diagram-file\x20-\x20for\x20standard\x20input.','6eTgWUq','validation','1354708euTlIA','849357EkLDBg','document','7dcfwQq','Fix\x20the\x20Mermaid\x20syntax\x20reported\x20by\x20your\x20editor\x20or\x20preview\x20tool,\x20then\x20retry\x20with\x20the\x20same\x20file.','250DeCCos','diagram','1973939vGZcYY','utf8','7448148UlUuhE','Mermaid\x20flowchart\x20file\x20not\x20found:\x20','replace','5957142qIxdjx','1703320qlCIAk','trim','parse','5TkmikK'];a72_0x1f2b=function(){return _0x364f60;};return a72_0x1f2b();}let mermaidApiPromise;export async function readRequiredSkillDiagram(_0x2f160f){const _0x377f58=a72_0x5e71;return(await readRequiredSkillDiagramInput(_0x2f160f))[_0x377f58(0x1b2)];}export async function readRequiredSkillDiagramInput(_0x4f234c){const _0x2390cc=a72_0x5e71,_0x3acb6e=_0x4f234c[_0x2390cc(0x1a1)]();if(!_0x3acb6e)throw CliErrors[_0x2390cc(0x1ab)]('--diagram-file\x20is\x20required\x20when\x20publishing\x20a\x20Skill\x20version.',_0x2390cc(0x1a9));let _0x2af36f,_0x1fb036;if(_0x3acb6e==='-')try{_0x2af36f=readFileSync(0x0,_0x2390cc(0x1b4));}catch{throw CliErrors[_0x2390cc(0x1ab)]('Unable\x20to\x20read\x20Mermaid\x20flowchart\x20from\x20standard\x20input.');}else{const _0x3f4189=resolve(_0x3acb6e);if(!existsSync(_0x3f4189))throw CliErrors[_0x2390cc(0x1ab)](_0x2390cc(0x1b6)+_0x3f4189);if(!statSync(_0x3f4189)[_0x2390cc(0x1a5)]())throw CliErrors['validation'](_0x2390cc(0x1a8)+_0x3f4189);_0x1fb036=realpathSync(_0x3f4189),_0x2af36f=readFileSync(_0x1fb036,'utf8');}return{'diagram':{'schemaVersion':0x1,'mermaid':await validateAndCanonicalizeMermaid(_0x2af36f)},'sourceFilePath':_0x1fb036};}export async function validateAndCanonicalizeMermaid(_0x401495){const _0x4b2c87=a72_0x5e71,_0x2b10b1=_0x401495[_0x4b2c87(0x1b7)](/\r\n/g,'\x0a')[_0x4b2c87(0x1b7)](/\r/g,'\x0a')[_0x4b2c87(0x1b7)](/\n+$/,'')+'\x0a';try{const _0x404701=await loadMermaidApi();await _0x404701[_0x4b2c87(0x1a2)](_0x2b10b1);}catch{throw diagramValidationError();}return _0x2b10b1;}function a72_0x5e71(_0x3320ea,_0x36cc87){_0x3320ea=_0x3320ea-0x1a0;const _0x1f2b97=a72_0x1f2b();let _0x5e71c7=_0x1f2b97[_0x3320ea];return _0x5e71c7;}function loadMermaidApi(){return mermaidApiPromise??=((async()=>{const _0x1bd9bb=a72_0x5e71;if(!('window'in globalThis)||!(_0x1bd9bb(0x1ae)in globalThis)){const _0x55aa90=new JSDOM('');Object[_0x1bd9bb(0x1a6)](globalThis,{'window':{'configurable':!![],'value':_0x55aa90['window']},'document':{'configurable':!![],'value':_0x55aa90['window'][_0x1bd9bb(0x1ae)]}});}return(await import('mermaid'))['default'];})()),mermaidApiPromise;}function diagramValidationError(){const _0x1cf261=a72_0x5e71;return CliErrors[_0x1cf261(0x1ab)](_0x1cf261(0x1a4),_0x1cf261(0x1b0));}
1
+ (function(_0x136e7b,_0x1f4079){const _0x8acdf4=a72_0x5d7c,_0x56574a=_0x136e7b();while(!![]){try{const _0xa55857=-parseInt(_0x8acdf4(0x12e))/0x1+-parseInt(_0x8acdf4(0x131))/0x2+parseInt(_0x8acdf4(0x129))/0x3+-parseInt(_0x8acdf4(0x135))/0x4*(parseInt(_0x8acdf4(0x143))/0x5)+-parseInt(_0x8acdf4(0x13d))/0x6*(parseInt(_0x8acdf4(0x13c))/0x7)+parseInt(_0x8acdf4(0x132))/0x8*(-parseInt(_0x8acdf4(0x12c))/0x9)+parseInt(_0x8acdf4(0x139))/0xa;if(_0xa55857===_0x1f4079)break;else _0x56574a['push'](_0x56574a['shift']());}catch(_0x14f020){_0x56574a['push'](_0x56574a['shift']());}}}(a72_0x1523,0xa206c));import{existsSync,readFileSync,realpathSync,statSync}from'node:fs';import{resolve}from'node:path';function a72_0x1523(){const _0x14d0d5=['validation','replace','22221070UjAALf','Generate\x20a\x20Mermaid\x20flowchart\x20and\x20pass\x20--diagram-file\x20<path>,\x20or\x20use\x20--diagram-file\x20-\x20for\x20standard\x20input.','utf8','7441vaXFWO','5286iSZdcB','Mermaid\x20flowchart\x20path\x20is\x20not\x20a\x20regular\x20file:\x20','Unable\x20to\x20read\x20Mermaid\x20flowchart\x20from\x20standard\x20input.','parse','defineProperties','Mermaid\x20syntax\x20validation\x20failed.','5HWoEjU','3609402idJwKg','trim','isFile','559899pfuQRd','Mermaid\x20flowchart\x20file\x20not\x20found:\x20','93177NoFXeK','window','document','1755196IuARiF','8MvsZFo','default','mermaid','3168368akLlYM','diagram'];a72_0x1523=function(){return _0x14d0d5;};return a72_0x1523();}import{JSDOM}from'jsdom';import{CliErrors}from'../../errors.js';function a72_0x5d7c(_0x52817b,_0x54a35e){_0x52817b=_0x52817b-0x129;const _0x15234b=a72_0x1523();let _0x5d7cb2=_0x15234b[_0x52817b];return _0x5d7cb2;}let mermaidApiPromise;export async function readRequiredSkillDiagram(_0x3ea02c){const _0x3a4db2=a72_0x5d7c;return(await readRequiredSkillDiagramInput(_0x3ea02c))[_0x3a4db2(0x136)];}export async function readRequiredSkillDiagramInput(_0x37e7ac){const _0xcddf8d=a72_0x5d7c,_0x5249b7=_0x37e7ac[_0xcddf8d(0x12a)]();if(!_0x5249b7)throw CliErrors[_0xcddf8d(0x137)]('--diagram-file\x20is\x20required\x20when\x20publishing\x20a\x20Skill\x20version.',_0xcddf8d(0x13a));let _0x3be9dc,_0x6685b3;if(_0x5249b7==='-')try{_0x3be9dc=readFileSync(0x0,_0xcddf8d(0x13b));}catch{throw CliErrors['validation'](_0xcddf8d(0x13f));}else{const _0x4afc02=resolve(_0x5249b7);if(!existsSync(_0x4afc02))throw CliErrors['validation'](_0xcddf8d(0x12d)+_0x4afc02);if(!statSync(_0x4afc02)[_0xcddf8d(0x12b)]())throw CliErrors[_0xcddf8d(0x137)](_0xcddf8d(0x13e)+_0x4afc02);_0x6685b3=realpathSync(_0x4afc02),_0x3be9dc=readFileSync(_0x6685b3,_0xcddf8d(0x13b));}return{'diagram':{'schemaVersion':0x1,'mermaid':await validateAndCanonicalizeMermaid(_0x3be9dc)},'sourceFilePath':_0x6685b3};}export async function validateAndCanonicalizeMermaid(_0x1ed5c0){const _0x2731c6=a72_0x5d7c,_0x2de716=_0x1ed5c0[_0x2731c6(0x138)](/\r\n/g,'\x0a')[_0x2731c6(0x138)](/\r/g,'\x0a')[_0x2731c6(0x138)](/\n+$/,'')+'\x0a';try{const _0x357822=await loadMermaidApi();await _0x357822[_0x2731c6(0x140)](_0x2de716);}catch{throw diagramValidationError();}return _0x2de716;}function loadMermaidApi(){return mermaidApiPromise??=((async()=>{const _0x5e7f64=a72_0x5d7c;if(!(_0x5e7f64(0x12f)in globalThis)||!('document'in globalThis)){const _0x3c964e=new JSDOM('');Object[_0x5e7f64(0x141)](globalThis,{'window':{'configurable':!![],'value':_0x3c964e[_0x5e7f64(0x12f)]},'document':{'configurable':!![],'value':_0x3c964e['window'][_0x5e7f64(0x130)]}});}return(await import(_0x5e7f64(0x134)))[_0x5e7f64(0x133)];})()),mermaidApiPromise;}function diagramValidationError(){const _0x58a6dc=a72_0x5d7c;return CliErrors[_0x58a6dc(0x137)](_0x58a6dc(0x142),'Fix\x20the\x20Mermaid\x20syntax\x20reported\x20by\x20your\x20editor\x20or\x20preview\x20tool,\x20then\x20retry\x20with\x20the\x20same\x20file.');}
@@ -1 +1 @@
1
- const a73_0x858c69=a73_0x1963;(function(_0x5b8b18,_0x1232e5){const _0x275000=a73_0x1963,_0x35d95e=_0x5b8b18();while(!![]){try{const _0x859167=-parseInt(_0x275000(0xd9))/0x1+parseInt(_0x275000(0xd1))/0x2+parseInt(_0x275000(0xdb))/0x3*(parseInt(_0x275000(0xb6))/0x4)+-parseInt(_0x275000(0xb9))/0x5+parseInt(_0x275000(0xb0))/0x6*(-parseInt(_0x275000(0xdd))/0x7)+parseInt(_0x275000(0xc6))/0x8*(-parseInt(_0x275000(0xb5))/0x9)+-parseInt(_0x275000(0xb7))/0xa*(-parseInt(_0x275000(0xc2))/0xb);if(_0x859167===_0x1232e5)break;else _0x35d95e['push'](_0x35d95e['shift']());}catch(_0x1e783c){_0x35d95e['push'](_0x35d95e['shift']());}}}(a73_0x5af9,0xa83dc));import{DEFAULT_SKILL_TARGET,SKILL_NAME_PATTERN,SKILL_TYPES}from'./templates.js';export const CODE_FLAG={'name':a73_0x858c69(0xd2),'type':a73_0x858c69(0xd0),'description':a73_0x858c69(0xd8)};function a73_0x5af9(){const _0x9edcac=['dir','Exact\x20Skill\x20scope:\x20personal\x20or\x20company','confirm-warnings','Only\x20target\x20a\x20specific\x20runtime\x20Skill\x20code','1349172hHNDTL','Directory\x20that\x20will\x20contain\x20the\x20generated\x20Skill\x20directory','3090963ADlUkm','all','93982RqmOnT','boolean','534sehtYv','Compatibility\x20flag;\x20no\x20extra\x20checks\x20are\x20enabled','company','Confirm\x20reviewed\x20personal\x20or\x20company\x20Skill\x20publish\x20warnings','Exact\x20Skill\x20code\x20whose\x20version\x20diagram\x20is\x20being\x20managed','809091HEQmFn','4rONDsl','10GQEefs','Read\x20CLI-managed\x20local\x20Skill\x20cache\x20and\x20links\x20instead\x20of\x20remote\x20lists','2034265MuqWlf','Server-reported\x20SkillVersion\x20source\x20fingerprint','Overwrite\x20generated\x20or\x20CLI-managed\x20Skill\x20files\x20when\x20the\x20target\x20already\x20exists','strict','Local\x20Skill\x20directory\x20containing\x20SKILL.md','project','Exact\x20Skill\x20version\x20whose\x20diagram\x20is\x20being\x20managed','source-fingerprint','personal','21261339WQidrE','Use\x20the\x20current\x20project\x27s\x20.agents/skills\x20instead\x20of\x20user-level\x20Agent\x20Skill\x20directories','version','Expected\x20current\x20diagram\x20revision;\x20use\x200\x20for\x20the\x20first\x20diagram','8tghFVB','Skill\x20push\x20target\x20scope:\x20personal\x20saves\x20immediately,\x20company\x20submits\x20a\x20new\x20version\x20for\x20review','UTF-8\x20Mermaid\x20flowchart\x20file;\x20the\x20selected\x20file\x20is\x20excluded\x20from\x20the\x20Skill\x20package;\x20use\x20-\x20for\x20stdin','expected-diagram-revision','type','number','scope','Skill\x20sync\x20scope:\x20all\x20(personal/company),\x20personal,\x20or\x20company','name','target','string','1533568nVYqcZ','code','a\x20lowercase\x20sha256:<64\x20hex\x20characters>\x20fingerprint','Skill\x20name\x20using\x20lowercase\x20letters,\x20numbers,\x20and\x20hyphens'];a73_0x5af9=function(){return _0x9edcac;};return a73_0x5af9();}export const SCOPE_FLAG={'name':a73_0x858c69(0xcc),'type':'string','description':a73_0x858c69(0xcd),'enum':['all',a73_0x858c69(0xc1),a73_0x858c69(0xb2)]};export const PUSH_SCOPE_FLAG={'name':'scope','type':'string','description':a73_0x858c69(0xc7),'default':a73_0x858c69(0xc1),'enum':['personal',a73_0x858c69(0xb2)]};export const LIST_SCOPE_FLAG={'name':a73_0x858c69(0xcc),'type':a73_0x858c69(0xd0),'description':'Skill\x20list\x20scope:\x20all,\x20personal,\x20or\x20company','enum':[a73_0x858c69(0xdc),a73_0x858c69(0xc1),a73_0x858c69(0xb2)]};export const LOCAL_FLAG={'name':'local','type':a73_0x858c69(0xde),'description':a73_0x858c69(0xb8)};export const DIR_FLAG={'name':a73_0x858c69(0xd5),'type':'string','required':!![],'description':a73_0x858c69(0xbd)};export const DIAGRAM_FILE_FLAG={'name':'diagram-file','type':a73_0x858c69(0xd0),'required':!![],'description':a73_0x858c69(0xc8)};export const DIAGRAM_SKILL_CODE_FLAG={'name':'skill-code','type':'string','required':!![],'description':a73_0x858c69(0xb4)};export const DIAGRAM_VERSION_FLAG={'name':a73_0x858c69(0xc4),'type':a73_0x858c69(0xd0),'required':!![],'description':a73_0x858c69(0xbf)};export const DIAGRAM_SCOPE_FLAG={'name':a73_0x858c69(0xcc),'type':'string','required':!![],'enum':[a73_0x858c69(0xc1),a73_0x858c69(0xb2)],'description':a73_0x858c69(0xd6)};export const SOURCE_FINGERPRINT_FLAG={'name':a73_0x858c69(0xc0),'type':a73_0x858c69(0xd0),'required':!![],'description':a73_0x858c69(0xba),'pattern':{'regex':/^sha256:[0-9a-f]{64}$/,'description':a73_0x858c69(0xd3)}};export const EXPECTED_DIAGRAM_REVISION_FLAG={'name':a73_0x858c69(0xc9),'type':a73_0x858c69(0xcb),'required':!![],'description':a73_0x858c69(0xc5)};export const CREATE_NAME_FLAG={'name':a73_0x858c69(0xce),'type':a73_0x858c69(0xd0),'required':!![],'description':a73_0x858c69(0xd4),'pattern':{'regex':SKILL_NAME_PATTERN,'description':'lowercase\x20letters,\x20numbers,\x20and\x20single\x20hyphens'}};export const TYPE_FLAG={'name':a73_0x858c69(0xca),'type':'string','description':'Skill\x20template\x20type:\x20pass\x20read\x20or\x20write\x20explicitly\x20(omission\x20is\x20deprecated)','enum':[...SKILL_TYPES]};export const TARGET_FLAG={'name':a73_0x858c69(0xcf),'type':'string','description':a73_0x858c69(0xda),'default':DEFAULT_SKILL_TARGET};export const FORCE_FLAG={'name':'force','type':a73_0x858c69(0xde),'description':a73_0x858c69(0xbb)};export const PROJECT_TARGET_FLAG={'name':a73_0x858c69(0xbe),'type':a73_0x858c69(0xde),'description':a73_0x858c69(0xc3)};export const CONFIRM_WARNINGS_FLAG={'name':a73_0x858c69(0xd7),'type':a73_0x858c69(0xde),'description':a73_0x858c69(0xb3)};function a73_0x1963(_0x1d1bd4,_0x4d177a){_0x1d1bd4=_0x1d1bd4-0xb0;const _0x5af94c=a73_0x5af9();let _0x19632b=_0x5af94c[_0x1d1bd4];return _0x19632b;}export const STRICT_FLAG={'name':a73_0x858c69(0xbc),'type':a73_0x858c69(0xde),'description':a73_0x858c69(0xb1)};
1
+ const a73_0x14aedf=a73_0x2967;(function(_0x5315c0,_0x3416a6){const _0x507e49=a73_0x2967,_0x59581f=_0x5315c0();while(!![]){try{const _0x2d1264=parseInt(_0x507e49(0xf0))/0x1+-parseInt(_0x507e49(0xf5))/0x2+parseInt(_0x507e49(0xfa))/0x3+parseInt(_0x507e49(0xf9))/0x4*(-parseInt(_0x507e49(0xfb))/0x5)+parseInt(_0x507e49(0xe7))/0x6+-parseInt(_0x507e49(0xe1))/0x7+-parseInt(_0x507e49(0xdb))/0x8*(-parseInt(_0x507e49(0xf1))/0x9);if(_0x2d1264===_0x3416a6)break;else _0x59581f['push'](_0x59581f['shift']());}catch(_0x3c9d8d){_0x59581f['push'](_0x59581f['shift']());}}}(a73_0x11f4,0x4dc04));import{DEFAULT_SKILL_TARGET,SKILL_NAME_PATTERN,SKILL_TYPES}from'./templates.js';export const CODE_FLAG={'name':'code','type':a73_0x14aedf(0xdc),'description':a73_0x14aedf(0xe6)};export const SCOPE_FLAG={'name':a73_0x14aedf(0xec),'type':a73_0x14aedf(0xdc),'description':a73_0x14aedf(0xf7),'enum':[a73_0x14aedf(0xeb),'personal',a73_0x14aedf(0xe4)]};export const PUSH_SCOPE_FLAG={'name':a73_0x14aedf(0xec),'type':'string','description':a73_0x14aedf(0xf3),'default':'personal','enum':['personal','company']};export const LIST_SCOPE_FLAG={'name':'scope','type':'string','description':a73_0x14aedf(0xfc),'enum':[a73_0x14aedf(0xeb),a73_0x14aedf(0xf6),a73_0x14aedf(0xe4)]};export const LOCAL_FLAG={'name':a73_0x14aedf(0xf2),'type':'boolean','description':a73_0x14aedf(0xf8)};export const DIR_FLAG={'name':a73_0x14aedf(0xee),'type':a73_0x14aedf(0xdc),'required':!![],'description':a73_0x14aedf(0xdd)};function a73_0x11f4(){const _0x4e953b=['boolean','Overwrite\x20generated\x20or\x20CLI-managed\x20Skill\x20files\x20when\x20the\x20target\x20already\x20exists','1786603eKIXhG','Compatibility\x20flag;\x20no\x20extra\x20checks\x20are\x20enabled','UTF-8\x20Mermaid\x20flowchart\x20file;\x20the\x20selected\x20file\x20is\x20excluded\x20from\x20the\x20Skill\x20package;\x20use\x20-\x20for\x20stdin','company','target','Only\x20target\x20a\x20specific\x20runtime\x20Skill\x20code','21792QRhZcS','project','number','lowercase\x20letters,\x20numbers,\x20and\x20single\x20hyphens','all','scope','skill-code','dir','name','182571rOKHFs','8332344JRyDtV','local','Skill\x20push\x20target\x20scope:\x20personal\x20saves\x20immediately,\x20company\x20submits\x20a\x20new\x20version\x20for\x20review','Exact\x20Skill\x20scope:\x20personal\x20or\x20company','650948KLzDBH','personal','Skill\x20sync\x20scope:\x20all\x20(personal/company),\x20personal,\x20or\x20company','Read\x20CLI-managed\x20local\x20Skill\x20cache\x20and\x20links\x20instead\x20of\x20remote\x20lists','46696RGiRyw','937446hJdUOC','225bNsljR','Skill\x20list\x20scope:\x20all,\x20personal,\x20or\x20company','a\x20lowercase\x20sha256:<64\x20hex\x20characters>\x20fingerprint','Use\x20the\x20current\x20project\x27s\x20.agents/skills\x20instead\x20of\x20user-level\x20Agent\x20Skill\x20directories','Directory\x20that\x20will\x20contain\x20the\x20generated\x20Skill\x20directory','8JeLTlZ','string','Local\x20Skill\x20directory\x20containing\x20SKILL.md','Server-reported\x20SkillVersion\x20source\x20fingerprint'];a73_0x11f4=function(){return _0x4e953b;};return a73_0x11f4();}export const DIAGRAM_FILE_FLAG={'name':'diagram-file','type':a73_0x14aedf(0xdc),'required':!![],'description':a73_0x14aedf(0xe3)};export const DIAGRAM_SKILL_CODE_FLAG={'name':a73_0x14aedf(0xed),'type':a73_0x14aedf(0xdc),'required':!![],'description':'Exact\x20Skill\x20code\x20whose\x20version\x20diagram\x20is\x20being\x20managed'};export const DIAGRAM_VERSION_FLAG={'name':'version','type':a73_0x14aedf(0xdc),'required':!![],'description':'Exact\x20Skill\x20version\x20whose\x20diagram\x20is\x20being\x20managed'};export const DIAGRAM_SCOPE_FLAG={'name':a73_0x14aedf(0xec),'type':a73_0x14aedf(0xdc),'required':!![],'enum':[a73_0x14aedf(0xf6),'company'],'description':a73_0x14aedf(0xf4)};export const SOURCE_FINGERPRINT_FLAG={'name':'source-fingerprint','type':a73_0x14aedf(0xdc),'required':!![],'description':a73_0x14aedf(0xde),'pattern':{'regex':/^sha256:[0-9a-f]{64}$/,'description':a73_0x14aedf(0xd8)}};function a73_0x2967(_0x4b7b67,_0x173e9c){_0x4b7b67=_0x4b7b67-0xd8;const _0x11f459=a73_0x11f4();let _0x296788=_0x11f459[_0x4b7b67];return _0x296788;}export const EXPECTED_DIAGRAM_REVISION_FLAG={'name':'expected-diagram-revision','type':a73_0x14aedf(0xe9),'required':!![],'description':'Expected\x20current\x20diagram\x20revision;\x20use\x200\x20for\x20the\x20first\x20diagram'};export const CREATE_NAME_FLAG={'name':a73_0x14aedf(0xef),'type':'string','required':!![],'description':'Skill\x20name\x20using\x20lowercase\x20letters,\x20numbers,\x20and\x20hyphens','pattern':{'regex':SKILL_NAME_PATTERN,'description':a73_0x14aedf(0xea)}};export const TYPE_FLAG={'name':'type','type':a73_0x14aedf(0xdc),'description':'Skill\x20template\x20type:\x20pass\x20read\x20or\x20write\x20explicitly\x20(omission\x20is\x20deprecated)','enum':[...SKILL_TYPES]};export const TARGET_FLAG={'name':a73_0x14aedf(0xe5),'type':a73_0x14aedf(0xdc),'description':a73_0x14aedf(0xda),'default':DEFAULT_SKILL_TARGET};export const FORCE_FLAG={'name':'force','type':'boolean','description':a73_0x14aedf(0xe0)};export const PROJECT_TARGET_FLAG={'name':a73_0x14aedf(0xe8),'type':a73_0x14aedf(0xdf),'description':a73_0x14aedf(0xd9)};export const CONFIRM_WARNINGS_FLAG={'name':'confirm-warnings','type':a73_0x14aedf(0xdf),'description':'Confirm\x20reviewed\x20personal\x20or\x20company\x20Skill\x20publish\x20warnings'};export const STRICT_FLAG={'name':'strict','type':'boolean','description':a73_0x14aedf(0xe2)};
@@ -1 +1 @@
1
- (function(_0x5bf148,_0x41e8e9){const _0x50cfd7=a74_0xed66,_0x2e929c=_0x5bf148();while(!![]){try{const _0x59e0ff=-parseInt(_0x50cfd7(0x7c))/0x1+parseInt(_0x50cfd7(0x85))/0x2*(parseInt(_0x50cfd7(0x83))/0x3)+parseInt(_0x50cfd7(0x88))/0x4*(-parseInt(_0x50cfd7(0x7d))/0x5)+-parseInt(_0x50cfd7(0x82))/0x6*(parseInt(_0x50cfd7(0x7e))/0x7)+parseInt(_0x50cfd7(0x81))/0x8*(-parseInt(_0x50cfd7(0x84))/0x9)+parseInt(_0x50cfd7(0x7f))/0xa*(-parseInt(_0x50cfd7(0x87))/0xb)+-parseInt(_0x50cfd7(0x80))/0xc*(-parseInt(_0x50cfd7(0x86))/0xd);if(_0x59e0ff===_0x41e8e9)break;else _0x2e929c['push'](_0x2e929c['shift']());}catch(_0x48bfa3){_0x2e929c['push'](_0x2e929c['shift']());}}}(a74_0x5701,0xc60dc));function a74_0xed66(_0x3cd8d1,_0x805b1f){_0x3cd8d1=_0x3cd8d1-0x7c;const _0x57013f=a74_0x5701();let _0xed668f=_0x57013f[_0x3cd8d1];return _0xed668f;}import{createCommand}from'./commands/create.js';import{diagramPushCommand,diagramShowCommand,diagramValidateCommand}from'./commands/diagram.js';import{installCommand}from'./commands/install.js';import{listCommand}from'./commands/list.js';import{pushCommand}from'./commands/push.js';function a74_0x5701(){const _0x54d9d2=['2200237yjvcrf','171226vCwXiw','28OJacNR','929048YLBjCY','753315YDzWeM','2485MEAFZM','40DGyUWS','228kbunlx','8yFrnrw','4686ZLLLwQ','579yrCTyL','1786014KkCYdZ','1214aCqDjm'];a74_0x5701=function(){return _0x54d9d2;};return a74_0x5701();}import{validateCommand}from'./commands/validate.js';export const skillDefinitions=[installCommand,createCommand,validateCommand,listCommand,pushCommand,diagramValidateCommand,diagramPushCommand,diagramShowCommand];
1
+ (function(_0x23375e,_0x56e77c){const _0x2d5288=a74_0x213d,_0x2e83ff=_0x23375e();while(!![]){try{const _0x4901f1=-parseInt(_0x2d5288(0x1a1))/0x1+-parseInt(_0x2d5288(0x1a0))/0x2+-parseInt(_0x2d5288(0x19f))/0x3+parseInt(_0x2d5288(0x1a4))/0x4+parseInt(_0x2d5288(0x1a2))/0x5+parseInt(_0x2d5288(0x1a5))/0x6+parseInt(_0x2d5288(0x19e))/0x7*(-parseInt(_0x2d5288(0x1a3))/0x8);if(_0x4901f1===_0x56e77c)break;else _0x2e83ff['push'](_0x2e83ff['shift']());}catch(_0x436c1f){_0x2e83ff['push'](_0x2e83ff['shift']());}}}(a74_0x515e,0x8c53b));import{createCommand}from'./commands/create.js';function a74_0x213d(_0x129ee4,_0x2bebdb){_0x129ee4=_0x129ee4-0x19e;const _0x515e31=a74_0x515e();let _0x213d8d=_0x515e31[_0x129ee4];return _0x213d8d;}import{diagramPushCommand,diagramShowCommand,diagramValidateCommand}from'./commands/diagram.js';import{installCommand}from'./commands/install.js';import{listCommand}from'./commands/list.js';function a74_0x515e(){const _0x7d8328=['4347258whvIXe','189iGelPX','82704migPnh','2039058voChFO','689798TDTAeP','3330550BXDBaV','43736dvALJj','4274520LQOATh'];a74_0x515e=function(){return _0x7d8328;};return a74_0x515e();}import{pushCommand}from'./commands/push.js';import{validateCommand}from'./commands/validate.js';export const skillDefinitions=[installCommand,createCommand,validateCommand,listCommand,pushCommand,diagramValidateCommand,diagramPushCommand,diagramShowCommand];
@@ -1 +1 @@
1
- (function(_0x1a407a,_0x4b0865){var _0x4b63cb=a75_0x5c9c,_0x405eb7=_0x1a407a();while(!![]){try{var _0x2f8399=-parseInt(_0x4b63cb(0x86))/0x1+-parseInt(_0x4b63cb(0x8d))/0x2+-parseInt(_0x4b63cb(0x90))/0x3+parseInt(_0x4b63cb(0x8a))/0x4*(parseInt(_0x4b63cb(0x8f))/0x5)+parseInt(_0x4b63cb(0x8e))/0x6*(-parseInt(_0x4b63cb(0x85))/0x7)+-parseInt(_0x4b63cb(0x91))/0x8*(-parseInt(_0x4b63cb(0x8b))/0x9)+parseInt(_0x4b63cb(0x87))/0xa*(parseInt(_0x4b63cb(0x89))/0xb);if(_0x2f8399===_0x4b0865)break;else _0x405eb7['push'](_0x405eb7['shift']());}catch(_0x4e8e57){_0x405eb7['push'](_0x405eb7['shift']());}}}(a75_0x3cb9,0xdc287));export function isPackageBackedManifest(_0x609ab0){var _0x48381e=a75_0x5c9c;return!!_0x609ab0&&typeof _0x609ab0===_0x48381e(0x81)&&!Array[_0x48381e(0x82)](_0x609ab0)&&typeof _0x609ab0[_0x48381e(0x8c)]===_0x48381e(0x88)&&_0x609ab0[_0x48381e(0x8c)]['length']>0x0&&Array[_0x48381e(0x82)](_0x609ab0[_0x48381e(0x84)]);}export function isMultiFileManifest(_0x547cb6){var _0x26a692=a75_0x5c9c;return!!_0x547cb6&&typeof _0x547cb6===_0x26a692(0x81)&&!Array[_0x26a692(0x82)](_0x547cb6)&&Array[_0x26a692(0x82)](_0x547cb6['files'])&&_0x547cb6[_0x26a692(0x84)]['some'](_0x4937b9=>_0x4937b9[_0x26a692(0x83)]!=='SKILL.md');}function a75_0x5c9c(_0x10c0cc,_0x4e2eea){_0x10c0cc=_0x10c0cc-0x81;var _0x3cb928=a75_0x3cb9();var _0x5c9c8e=_0x3cb928[_0x10c0cc];return _0x5c9c8e;}function a75_0x3cb9(){var _0x57f706=['10SLhKeT','string','46983871ossSZX','24RQdUlC','1275633QiSdsU','ossPath','2249174XsgpdW','6lukjoA','228015VgFTxx','1813074uhkiWs','72nWVCZy','object','isArray','path','files','9912301lzUxWZ','1773757KzNZRN'];a75_0x3cb9=function(){return _0x57f706;};return a75_0x3cb9();}
1
+ (function(_0x663c8e,_0x287bc4){var _0x140c54=a75_0x318b,_0x4561fe=_0x663c8e();while(!![]){try{var _0x4d9487=parseInt(_0x140c54(0xf4))/0x1*(-parseInt(_0x140c54(0xec))/0x2)+parseInt(_0x140c54(0xe6))/0x3*(-parseInt(_0x140c54(0xed))/0x4)+-parseInt(_0x140c54(0xef))/0x5*(parseInt(_0x140c54(0xe5))/0x6)+-parseInt(_0x140c54(0xf1))/0x7+-parseInt(_0x140c54(0xe2))/0x8*(-parseInt(_0x140c54(0xe7))/0x9)+-parseInt(_0x140c54(0xf5))/0xa+-parseInt(_0x140c54(0xf2))/0xb*(-parseInt(_0x140c54(0xe4))/0xc);if(_0x4d9487===_0x287bc4)break;else _0x4561fe['push'](_0x4561fe['shift']());}catch(_0x2f0bd7){_0x4561fe['push'](_0x4561fe['shift']());}}}(a75_0x11bd,0x735f1));export function isPackageBackedManifest(_0xfeddfe){var _0x47b519=a75_0x318b;return!!_0xfeddfe&&typeof _0xfeddfe===_0x47b519(0xeb)&&!Array[_0x47b519(0xf0)](_0xfeddfe)&&typeof _0xfeddfe[_0x47b519(0xe8)]===_0x47b519(0xe9)&&_0xfeddfe[_0x47b519(0xe8)][_0x47b519(0xe3)]>0x0&&Array[_0x47b519(0xf0)](_0xfeddfe['files']);}function a75_0x11bd(){var _0x309555=['path','object','2UzTKDN','4aeePjk','files','85755itWDrC','isArray','2752883wNoTlX','17260067wJvDxs','SKILL.md','699155BKTSOu','824500QRPchK','some','7136896lyqRxc','length','12IPptPY','24ZxqgSa','2235510rSRBfm','9ApboMl','ossPath','string'];a75_0x11bd=function(){return _0x309555;};return a75_0x11bd();}function a75_0x318b(_0x3fdd41,_0x59ee64){_0x3fdd41=_0x3fdd41-0xe1;var _0x11bdde=a75_0x11bd();var _0x318bca=_0x11bdde[_0x3fdd41];return _0x318bca;}export function isMultiFileManifest(_0x135fa2){var _0x599cc2=a75_0x318b;return!!_0x135fa2&&typeof _0x135fa2==='object'&&!Array[_0x599cc2(0xf0)](_0x135fa2)&&Array['isArray'](_0x135fa2[_0x599cc2(0xee)])&&_0x135fa2[_0x599cc2(0xee)][_0x599cc2(0xe1)](_0x504e0c=>_0x504e0c[_0x599cc2(0xea)]!==_0x599cc2(0xf3));}
@@ -1 +1 @@
1
- function a76_0x524c(_0x327cad,_0x14aac8){_0x327cad=_0x327cad-0x179;const _0x36b1f4=a76_0x36b1();let _0x524ca4=_0x36b1f4[_0x327cad];return _0x524ca4;}(function(_0xc95cf2,_0x506f74){const _0x195f53=a76_0x524c,_0x1022ce=_0xc95cf2();while(!![]){try{const _0x101d64=-parseInt(_0x195f53(0x198))/0x1*(parseInt(_0x195f53(0x188))/0x2)+parseInt(_0x195f53(0x1a3))/0x3*(parseInt(_0x195f53(0x19b))/0x4)+parseInt(_0x195f53(0x18c))/0x5*(parseInt(_0x195f53(0x187))/0x6)+parseInt(_0x195f53(0x199))/0x7*(parseInt(_0x195f53(0x1a0))/0x8)+parseInt(_0x195f53(0x17f))/0x9+-parseInt(_0x195f53(0x17a))/0xa+-parseInt(_0x195f53(0x1b6))/0xb;if(_0x101d64===_0x506f74)break;else _0x1022ce['push'](_0x1022ce['shift']());}catch(_0x2cd44b){_0x1022ce['push'](_0x1022ce['shift']());}}}(a76_0x36b1,0xf06e9));function a76_0x36b1(){const _0x542c67=['appcode','identical','Validate\x20a\x20personal\x20Skill\x20push\x20package\x20without\x20creating\x20or\x20updating\x20a\x20remote\x20Skill.','1465aMWZSd','Validate\x20a\x20company\x20Skill\x20push\x20package\x20without\x20creating\x20a\x20version\x20or\x20review\x20task.','appCode','/publish/validate','\x20has\x20scope=\x22','unknown','payload','\x20is\x20already\x20published\x20and\x20content\x20is\x20identical','savedSkill','authRequired','version','POST','1rmaUNd','14rgyBQA','publishInput','1110248NHFEtP','confirmWarnings','../../skills/runtime-skill-sync.js','personal','Updated\x20personal\x20Skill\x20','7689432AKVimQ','warnings','diagramValidated','21MsCZqf','PRIVATE','(unknown)','Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20remote\x20Skill\x20','errors','skillCode','diagram-file','bool','Submitted\x20company\x20Skill\x20','\x20version\x20','validation','accessKey','str','frontmatterDisplayName','input','remoteForPreflight','\x20for\x20review','NAMESPACE_ONLY','../../core/api-client.js','20412150GzlAPs','Company','14516220KaocoN','valid','dir','/api/cli/v1/skills/','scope','10932075njubou','company','existing','files','\x20Skill\x20','status','resolvedVersion','submitted','1842vRStTN','1755674IARVSR'];a76_0x36b1=function(){return _0x542c67;};return a76_0x36b1();}import{CliErrors}from'../../errors.js';import{isMultiFileManifest,isPackageBackedManifest}from'./manifest-helpers.js';import{remotePersonalReadOptions,remoteMissingCompanyReadOptions,remoteMissingPersonalReadOptions}from'./push-flow-helpers.js';import{allowRetargetArgs,buildRetargetWarning,remoteFirstMetadataOptions,resolvePushScope,runRemoteContentPreflight,throwIfBuiltinPushTarget,throwIfUnconfirmedPublishWarnings,throwIfPublishValidationFailed}from'./push-flow-helpers.js';import{withRetargetExistingMetadata}from'./push-retarget.js';import{summarizeRuntimeSkill}from'./summary.js';import{readRequiredSkillDiagramInput}from'./diagram.js';import{throwIfSkillValidationFailed,validateSkillDirectory}from'./validate.js';export async function skillPushDryRun(_0x393791){const _0xd01861=a76_0x524c,{getRuntimeSkillByCode:_0x485fc2,validateRuntimeSkillPublish:_0x1d81b2}=await import(_0xd01861(0x1b5)),{readPushDirectory:_0xbd7fc5,resolvePushDirectoryIdentity:_0x4329eb}=await import(_0xd01861(0x19d));if(!_0x393791[_0xd01861(0x1ae)])throw CliErrors[_0xd01861(0x195)]();const _0x2a2e30=resolvePushScope(_0x393791),_0x2b71e4=validateSkillDirectory(_0x393791['str'](_0xd01861(0x17c)));throwIfSkillValidationFailed(_0x2b71e4);const {diagram:_0x132016,sourceFilePath:_0x2a2e21}=await readRequiredSkillDiagramInput(_0x393791['str'](_0xd01861(0x1a9))),_0x390674=diagramPackageExclusion(_0x2a2e21),_0x121a6c=_0x4329eb(_0x2b71e4['dir'],_0x393791[_0xd01861(0x18e)],remoteFirstMetadataOptions()),_0x4b2aee=await _0x485fc2(_0x393791[_0xd01861(0x18e)],_0x121a6c[_0xd01861(0x1a8)]);throwIfBuiltinPushTarget(_0x4b2aee);if(_0x2a2e30===_0xd01861(0x180)){const _0x21d4f9=_0xbd7fc5(_0x2b71e4[_0xd01861(0x17c)],_0x393791[_0xd01861(0x18e)],{...remoteMissingCompanyReadOptions(),..._0x390674}),_0x520f54=await _0x1d81b2(_0x393791[_0xd01861(0x18e)],withDiagram(_0x21d4f9['input'],_0x132016),{'visibility':_0xd01861(0x1b4)});return{'method':_0xd01861(0x197),'url':_0xd01861(0x17d)+_0x393791['appCode']+'/publish/validate','body':{'skillCode':_0x21d4f9[_0xd01861(0x1a8)],'visibility':_0xd01861(0x1b4),'valid':_0x520f54['valid'],'errors':_0x520f54[_0xd01861(0x1a7)],'warnings':_0x520f54[_0xd01861(0x1a1)],'resolvedSlug':_0x520f54['resolvedSlug'],'resolvedVersion':_0x520f54['resolvedVersion'],'diagramValidated':_0x520f54[_0xd01861(0x1a2)]},'description':_0xd01861(0x18d)};}if(_0x4b2aee&&_0x4b2aee[_0xd01861(0x17e)]!=='personal')throw CliErrors[_0xd01861(0x1ad)]('Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20remote\x20Skill\x20'+_0x121a6c[_0xd01861(0x1a8)]+_0xd01861(0x190)+(_0x4b2aee[_0xd01861(0x17e)]??_0xd01861(0x191))+'\x22.');const _0x25b948=_0xbd7fc5(_0x2b71e4[_0xd01861(0x17c)],_0x393791['appCode'],{..._0x4b2aee?remotePersonalReadOptions(!![]):remoteMissingPersonalReadOptions(),..._0x390674}),_0x32112c=await _0x1d81b2(_0x393791[_0xd01861(0x18e)],withDiagram(_0x25b948[_0xd01861(0x1b1)],_0x132016),{'visibility':'PRIVATE'});return{'method':_0xd01861(0x197),'url':'/api/cli/v1/skills/'+_0x393791[_0xd01861(0x18e)]+_0xd01861(0x18f),'body':{'skillCode':_0x25b948[_0xd01861(0x1a8)],'visibility':_0xd01861(0x1a4),'valid':_0x32112c[_0xd01861(0x17b)],'errors':_0x32112c[_0xd01861(0x1a7)],'warnings':_0x32112c[_0xd01861(0x1a1)],'resolvedSlug':_0x32112c['resolvedSlug'],'resolvedVersion':_0x32112c[_0xd01861(0x185)],'diagramValidated':_0x32112c[_0xd01861(0x1a2)]},'description':_0xd01861(0x18b)};}export async function skillPushExecute(_0x27603a){const _0x48f00a=a76_0x524c,{createPersonalRuntimeSkill:_0x4b19dd,downloadRuntimeSkillPackage:_0x5a3b00,getRuntimeSkillByCode:_0x13ae4b,publishCompanyRuntimeSkill:_0x3167ef,updatePersonalRuntimeSkill:_0x206cfd,validateRuntimeSkillPublish:_0x358aef}=await import(_0x48f00a(0x1b5)),{verifyRuntimeSkillPackage:_0x302eac,verifyRuntimeSkillBundle:_0x5d4935,readPushDirectory:_0x4b23bb,refreshPushDirectoryMetadataFromRemote:_0x5b218b,recordPushedRuntimeSkill:_0x4f5c61,resolvePushDirectoryIdentity:_0x512e68}=await import(_0x48f00a(0x19d));if(!_0x27603a[_0x48f00a(0x1ae)])throw CliErrors['authRequired']();const _0x468114=resolvePushScope(_0x27603a),_0x431683=_0x27603a[_0x48f00a(0x1aa)]('confirm-warnings')||_0x27603a[_0x48f00a(0x1aa)](_0x48f00a(0x19c)),_0x52be4b=validateSkillDirectory(_0x27603a[_0x48f00a(0x1af)](_0x48f00a(0x17c)));throwIfSkillValidationFailed(_0x52be4b);const {diagram:_0x2c073c,sourceFilePath:_0x10849b}=await readRequiredSkillDiagramInput(_0x27603a['str'](_0x48f00a(0x1a9))),_0x1e9155=diagramPackageExclusion(_0x10849b),_0x37c683=_0x52be4b[_0x48f00a(0x17c)];let _0x46bab5;if(_0x468114===_0x48f00a(0x180)){const _0x24e095=_0x512e68(_0x37c683,_0x27603a['appCode'],remoteFirstMetadataOptions()),_0x3e51a2=await _0x13ae4b(_0x27603a[_0x48f00a(0x18e)],_0x24e095['skillCode']);throwIfBuiltinPushTarget(_0x3e51a2);if(_0x3e51a2)_0x5b218b(_0x37c683,_0x3e51a2,_0x27603a['appCode']);const _0x3e2052=_0x4b23bb(_0x37c683,_0x27603a[_0x48f00a(0x18e)],{..._0x3e51a2?{'targetScope':'company','ignoreInvalidMetadata':!![]}:remoteMissingCompanyReadOptions(),..._0x1e9155});_0x46bab5={'scope':_0x48f00a(0x180),'payload':_0x3e2052,'publishInput':withDiagram(_0x3e2052[_0x48f00a(0x1b1)],_0x2c073c),'remoteForPreflight':_0x3e51a2,'warnings':[]};}else{const _0x4782c9=_0x27603a['str'](_0x48f00a(0x189))['trim'](),_0x5959af=Boolean(_0x4782c9),_0x49eea4=allowRetargetArgs(_0x5959af),_0x194e28=_0x512e68(_0x37c683,_0x27603a[_0x48f00a(0x18e)],{...remoteFirstMetadataOptions(),..._0x49eea4[0x0]}),_0x2dc98b=await _0x13ae4b(_0x27603a[_0x48f00a(0x18e)],_0x194e28['skillCode']);throwIfBuiltinPushTarget(_0x2dc98b);if(_0x2dc98b){if(_0x2dc98b[_0x48f00a(0x17e)]!==_0x48f00a(0x19e)){if(_0x5959af)throw CliErrors[_0x48f00a(0x1ad)](_0x48f00a(0x1a6)+_0x194e28[_0x48f00a(0x1a8)]+_0x48f00a(0x190)+(_0x2dc98b[_0x48f00a(0x17e)]??'unknown')+'\x22.');_0x5b218b(_0x37c683,_0x2dc98b,_0x27603a[_0x48f00a(0x18e)]);}else!_0x5959af&&_0x5b218b(_0x37c683,_0x2dc98b,_0x27603a[_0x48f00a(0x18e)]);}const _0x42e5a0=_0x4b23bb(_0x37c683,_0x27603a[_0x48f00a(0x18e)],{..._0x2dc98b?remotePersonalReadOptions(_0x5959af,_0x49eea4[0x0]):remoteMissingPersonalReadOptions(_0x49eea4[0x0]),..._0x1e9155}),_0x527479=_0x2dc98b?.[_0x48f00a(0x17e)]==='personal'&&_0x2dc98b[_0x48f00a(0x1a8)]===_0x42e5a0[_0x48f00a(0x1a8)]?_0x2dc98b:undefined,_0x3e0ccf=_0x5959af&&_0x527479?withRetargetExistingMetadata(_0x42e5a0[_0x48f00a(0x1b1)],_0x527479,{'preferInputSkillName':Boolean(_0x42e5a0[_0x48f00a(0x1b0)])}):_0x42e5a0['input'],_0x26a185=_0x5959af?buildRetargetWarning(_0x194e28['metadata'],_0x27603a[_0x48f00a(0x18e)]):[];_0x46bab5={'scope':_0x48f00a(0x19e),'payload':_0x42e5a0,'publishInput':withDiagram(_0x3e0ccf,_0x2c073c),'remoteForPreflight':_0x527479,'existing':_0x527479,'warnings':[..._0x52be4b[_0x48f00a(0x1a1)],..._0x26a185]};}const _0x61c56b=await runRemoteContentPreflight({'scope':_0x46bab5[_0x48f00a(0x17e)],'remote':_0x46bab5[_0x48f00a(0x1b2)],'publishInput':_0x46bab5[_0x48f00a(0x19a)],'skillCode':_0x46bab5[_0x48f00a(0x192)][_0x48f00a(0x1a8)],'appCode':_0x27603a[_0x48f00a(0x18e)],'downloadRuntimeSkillPackage':_0x5a3b00,'verifyRuntimeSkillBundle':_0x5d4935});if(_0x61c56b[_0x48f00a(0x184)]===_0x48f00a(0x18a))return _0x46bab5[_0x48f00a(0x17e)]===_0x48f00a(0x180)?_0x4f5c61(_0x37c683,_0x61c56b['savedSkill'],_0x27603a[_0x48f00a(0x18e)],{'scope':_0x48f00a(0x180)}):_0x4f5c61(_0x37c683,_0x61c56b['savedSkill'],_0x27603a['appCode']),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x61c56b[_0x48f00a(0x194)]),'scope':_0x46bab5[_0x48f00a(0x17e)],..._0x46bab5[_0x48f00a(0x17e)]===_0x48f00a(0x19e)?{'warnings':_0x46bab5['warnings']}:{},'alreadyPublished':!![],'contentIdentical':!![],'diagramSubmitted':![]},'message':scopeLabel(_0x46bab5[_0x48f00a(0x17e)])+_0x48f00a(0x183)+_0x46bab5[_0x48f00a(0x192)][_0x48f00a(0x1a8)]+_0x48f00a(0x193)};if(_0x46bab5[_0x48f00a(0x17e)]==='company'){const _0x1757da=await _0x358aef(_0x27603a[_0x48f00a(0x18e)],_0x46bab5['publishInput'],{'visibility':_0x48f00a(0x1b4)});throwIfPublishValidationFailed(_0x48f00a(0x180),_0x46bab5[_0x48f00a(0x192)][_0x48f00a(0x1a8)],_0x1757da),throwIfUnconfirmedPublishWarnings(_0x48f00a(0x180),_0x46bab5[_0x48f00a(0x192)][_0x48f00a(0x1a8)],_0x1757da[_0x48f00a(0x1a1)],_0x431683);const _0x1d7a01=await _0x3167ef(_0x27603a[_0x48f00a(0x18e)],_0x46bab5['publishInput'],{'confirmWarnings':_0x431683});return _0x4f5c61(_0x37c683,{..._0x1d7a01,'files':_0x46bab5[_0x48f00a(0x19a)][_0x48f00a(0x182)]},_0x27603a[_0x48f00a(0x18e)],{'scope':'company'}),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x1d7a01),'scope':_0x48f00a(0x180),'reviewState':_0x48f00a(0x186),'submittedForReview':!![],'diagramBound':!![],'validation':{'warnings':_0x1757da[_0x48f00a(0x1a1)]}},'message':_0x48f00a(0x1ab)+_0x46bab5[_0x48f00a(0x192)]['skillCode']+_0x48f00a(0x1ac)+(_0x1d7a01[_0x48f00a(0x196)]??_0x48f00a(0x1a5))+_0x48f00a(0x1b3)};}const _0x26adf7=await _0x358aef(_0x27603a[_0x48f00a(0x18e)],_0x46bab5[_0x48f00a(0x19a)],{'visibility':_0x48f00a(0x1a4)});throwIfPublishValidationFailed(_0x48f00a(0x19e),_0x46bab5[_0x48f00a(0x192)][_0x48f00a(0x1a8)],_0x26adf7),throwIfUnconfirmedPublishWarnings(_0x48f00a(0x19e),_0x46bab5['payload'][_0x48f00a(0x1a8)],_0x26adf7[_0x48f00a(0x1a1)],_0x431683);const _0x319498={'confirmWarnings':_0x431683},_0x47d31e=_0x46bab5['existing']?await _0x206cfd(_0x46bab5[_0x48f00a(0x192)][_0x48f00a(0x1a8)],_0x27603a['appCode'],_0x46bab5['publishInput'],_0x319498):await _0x4b19dd(_0x27603a[_0x48f00a(0x18e)],_0x46bab5[_0x48f00a(0x19a)],_0x319498);let _0x22ef78=_0x47d31e;if(isMultiFileManifest(_0x46bab5[_0x48f00a(0x19a)]['files'])){const _0x1493ca=await _0x5a3b00(_0x48f00a(0x19e),_0x47d31e[_0x48f00a(0x1a8)]||_0x46bab5['payload'][_0x48f00a(0x1a8)],_0x27603a[_0x48f00a(0x18e)]);_0x5d4935(_0x46bab5[_0x48f00a(0x19a)]['files'],_0x1493ca),_0x22ef78={..._0x47d31e,'files':_0x46bab5['publishInput'][_0x48f00a(0x182)]};}else{if(isPackageBackedManifest(_0x47d31e['files'])){const _0x2ed67e=await _0x5a3b00(_0x48f00a(0x19e),_0x47d31e[_0x48f00a(0x1a8)]||_0x46bab5['payload'][_0x48f00a(0x1a8)],_0x27603a[_0x48f00a(0x18e)]);_0x302eac(_0x47d31e[_0x48f00a(0x182)],_0x2ed67e);}}return _0x4f5c61(_0x37c683,_0x22ef78,_0x27603a[_0x48f00a(0x18e)]),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x47d31e),'warnings':_0x46bab5[_0x48f00a(0x1a1)],'validation':{'warnings':_0x26adf7[_0x48f00a(0x1a1)]},'diagramBound':!![]},'message':_0x46bab5[_0x48f00a(0x181)]?_0x48f00a(0x19f)+_0x46bab5[_0x48f00a(0x192)][_0x48f00a(0x1a8)]:'Created\x20personal\x20Skill\x20'+_0x46bab5[_0x48f00a(0x192)]['skillCode']};}function scopeLabel(_0x499e49){const _0x1fe28f=a76_0x524c;return _0x499e49===_0x1fe28f(0x180)?_0x1fe28f(0x179):'Personal';}function withDiagram(_0x2c251d,_0x566f1b){return{..._0x2c251d,'diagram':_0x566f1b};}function diagramPackageExclusion(_0x30ecbc){return _0x30ecbc?{'excludedFilePaths':[_0x30ecbc]}:{};}
1
+ (function(_0x1c0cf9,_0x4d6b38){const _0x13c420=a76_0x19b8,_0x5b57ce=_0x1c0cf9();while(!![]){try{const _0x14f5e5=parseInt(_0x13c420(0x17b))/0x1*(-parseInt(_0x13c420(0x14c))/0x2)+parseInt(_0x13c420(0x147))/0x3*(-parseInt(_0x13c420(0x14d))/0x4)+-parseInt(_0x13c420(0x170))/0x5+parseInt(_0x13c420(0x183))/0x6*(-parseInt(_0x13c420(0x17e))/0x7)+-parseInt(_0x13c420(0x163))/0x8+parseInt(_0x13c420(0x15e))/0x9*(-parseInt(_0x13c420(0x161))/0xa)+parseInt(_0x13c420(0x153))/0xb;if(_0x14f5e5===_0x4d6b38)break;else _0x5b57ce['push'](_0x5b57ce['shift']());}catch(_0x3f06e3){_0x5b57ce['push'](_0x5b57ce['shift']());}}}(a76_0x9061,0x701de));function a76_0x9061(){const _0xcef8b1=['errors','228600LhriHP','frontmatterDisplayName','resolvedSlug','appCode','warnings','files','accessKey','identical','appcode','validation','../../core/api-client.js','187158VdDwbJ','diagram-file','version','31619NzbgqD','\x20is\x20already\x20published\x20and\x20content\x20is\x20identical','Validate\x20a\x20personal\x20Skill\x20push\x20package\x20without\x20creating\x20or\x20updating\x20a\x20remote\x20Skill.','company','existing','624DcwLOV','metadata','resolvedVersion','\x20for\x20review','confirm-warnings','Validate\x20a\x20company\x20Skill\x20push\x20package\x20without\x20creating\x20a\x20version\x20or\x20review\x20task.','dir','104514dxDxka','unknown','remoteForPreflight','savedSkill','\x20Skill\x20','8jBJkDr','104bcLZHs','Updated\x20personal\x20Skill\x20','\x20version\x20','Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20remote\x20Skill\x20','status','PRIVATE','39633220geXNlu','valid','POST','trim','diagramValidated','scope','../../skills/runtime-skill-sync.js','bool','Personal','confirmWarnings','NAMESPACE_ONLY','135621eGcdNr','/publish/validate','str','350uMAavD','submitted','3571736EcJOlZ','Submitted\x20company\x20Skill\x20','authRequired','personal','publishInput','input','/api/cli/v1/skills/','skillCode','Created\x20personal\x20Skill\x20','payload','Company','\x20has\x20scope=\x22'];a76_0x9061=function(){return _0xcef8b1;};return a76_0x9061();}import{CliErrors}from'../../errors.js';import{isMultiFileManifest,isPackageBackedManifest}from'./manifest-helpers.js';import{remotePersonalReadOptions,remoteMissingCompanyReadOptions,remoteMissingPersonalReadOptions}from'./push-flow-helpers.js';import{allowRetargetArgs,buildRetargetWarning,remoteFirstMetadataOptions,resolvePushScope,runRemoteContentPreflight,throwIfBuiltinPushTarget,throwIfUnconfirmedPublishWarnings,throwIfPublishValidationFailed}from'./push-flow-helpers.js';import{withRetargetExistingMetadata}from'./push-retarget.js';import{summarizeRuntimeSkill}from'./summary.js';import{readRequiredSkillDiagramInput}from'./diagram.js';import{throwIfSkillValidationFailed,validateSkillDirectory}from'./validate.js';export async function skillPushDryRun(_0x4e96e0){const _0x1724bb=a76_0x19b8,{getRuntimeSkillByCode:_0x42c01d,validateRuntimeSkillPublish:_0x92d7de}=await import(_0x1724bb(0x17a)),{readPushDirectory:_0x56ce50,resolvePushDirectoryIdentity:_0x17a91d}=await import(_0x1724bb(0x159));if(!_0x4e96e0['accessKey'])throw CliErrors[_0x1724bb(0x165)]();const _0x12e64d=resolvePushScope(_0x4e96e0),_0x4df8a4=validateSkillDirectory(_0x4e96e0[_0x1724bb(0x160)](_0x1724bb(0x146)));throwIfSkillValidationFailed(_0x4df8a4);const {diagram:_0x1dec1b,sourceFilePath:_0x10380a}=await readRequiredSkillDiagramInput(_0x4e96e0[_0x1724bb(0x160)](_0x1724bb(0x17c))),_0x4cc74e=diagramPackageExclusion(_0x10380a),_0x3e37d4=_0x17a91d(_0x4df8a4[_0x1724bb(0x146)],_0x4e96e0[_0x1724bb(0x173)],remoteFirstMetadataOptions()),_0x358252=await _0x42c01d(_0x4e96e0[_0x1724bb(0x173)],_0x3e37d4[_0x1724bb(0x16a)]);throwIfBuiltinPushTarget(_0x358252);if(_0x12e64d===_0x1724bb(0x181)){const _0x2d787b=_0x56ce50(_0x4df8a4[_0x1724bb(0x146)],_0x4e96e0['appCode'],{...remoteMissingCompanyReadOptions(),..._0x4cc74e}),_0x13712b=await _0x92d7de(_0x4e96e0['appCode'],withDiagram(_0x2d787b['input'],_0x1dec1b),{'visibility':_0x1724bb(0x15d)});return{'method':_0x1724bb(0x155),'url':_0x1724bb(0x169)+_0x4e96e0['appCode']+'/publish/validate','body':{'skillCode':_0x2d787b[_0x1724bb(0x16a)],'visibility':_0x1724bb(0x15d),'valid':_0x13712b[_0x1724bb(0x154)],'errors':_0x13712b[_0x1724bb(0x16f)],'warnings':_0x13712b[_0x1724bb(0x174)],'resolvedSlug':_0x13712b[_0x1724bb(0x172)],'resolvedVersion':_0x13712b['resolvedVersion'],'diagramValidated':_0x13712b[_0x1724bb(0x157)]},'description':_0x1724bb(0x145)};}if(_0x358252&&_0x358252[_0x1724bb(0x158)]!==_0x1724bb(0x166))throw CliErrors[_0x1724bb(0x179)]('Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20remote\x20Skill\x20'+_0x3e37d4[_0x1724bb(0x16a)]+_0x1724bb(0x16e)+(_0x358252[_0x1724bb(0x158)]??_0x1724bb(0x148))+'\x22.');const _0x45e858=_0x56ce50(_0x4df8a4[_0x1724bb(0x146)],_0x4e96e0['appCode'],{..._0x358252?remotePersonalReadOptions(!![]):remoteMissingPersonalReadOptions(),..._0x4cc74e}),_0x22fac5=await _0x92d7de(_0x4e96e0['appCode'],withDiagram(_0x45e858[_0x1724bb(0x168)],_0x1dec1b),{'visibility':_0x1724bb(0x152)});return{'method':_0x1724bb(0x155),'url':'/api/cli/v1/skills/'+_0x4e96e0[_0x1724bb(0x173)]+_0x1724bb(0x15f),'body':{'skillCode':_0x45e858['skillCode'],'visibility':'PRIVATE','valid':_0x22fac5['valid'],'errors':_0x22fac5[_0x1724bb(0x16f)],'warnings':_0x22fac5['warnings'],'resolvedSlug':_0x22fac5[_0x1724bb(0x172)],'resolvedVersion':_0x22fac5[_0x1724bb(0x185)],'diagramValidated':_0x22fac5[_0x1724bb(0x157)]},'description':_0x1724bb(0x180)};}export async function skillPushExecute(_0xc1b3d6){const _0x38fab5=a76_0x19b8,{createPersonalRuntimeSkill:_0x25faef,downloadRuntimeSkillPackage:_0x3ac3f0,getRuntimeSkillByCode:_0x19068a,publishCompanyRuntimeSkill:_0x118ffc,updatePersonalRuntimeSkill:_0x1cfff2,validateRuntimeSkillPublish:_0xef0157}=await import('../../core/api-client.js'),{verifyRuntimeSkillPackage:_0x77e38e,verifyRuntimeSkillBundle:_0x3a8370,readPushDirectory:_0xa991ea,refreshPushDirectoryMetadataFromRemote:_0x330fbf,recordPushedRuntimeSkill:_0x4da281,resolvePushDirectoryIdentity:_0x4877ee}=await import(_0x38fab5(0x159));if(!_0xc1b3d6[_0x38fab5(0x176)])throw CliErrors[_0x38fab5(0x165)]();const _0x115231=resolvePushScope(_0xc1b3d6),_0x23cdbc=_0xc1b3d6[_0x38fab5(0x15a)](_0x38fab5(0x144))||_0xc1b3d6['bool'](_0x38fab5(0x15c)),_0x2b3323=validateSkillDirectory(_0xc1b3d6['str'](_0x38fab5(0x146)));throwIfSkillValidationFailed(_0x2b3323);const {diagram:_0x1161e0,sourceFilePath:_0x57761a}=await readRequiredSkillDiagramInput(_0xc1b3d6[_0x38fab5(0x160)](_0x38fab5(0x17c))),_0x28ade6=diagramPackageExclusion(_0x57761a),_0xaa284c=_0x2b3323[_0x38fab5(0x146)];let _0x2195d3;if(_0x115231===_0x38fab5(0x181)){const _0x34332b=_0x4877ee(_0xaa284c,_0xc1b3d6['appCode'],remoteFirstMetadataOptions()),_0xf039a6=await _0x19068a(_0xc1b3d6[_0x38fab5(0x173)],_0x34332b[_0x38fab5(0x16a)]);throwIfBuiltinPushTarget(_0xf039a6);if(_0xf039a6)_0x330fbf(_0xaa284c,_0xf039a6,_0xc1b3d6[_0x38fab5(0x173)]);const _0x40f186=_0xa991ea(_0xaa284c,_0xc1b3d6[_0x38fab5(0x173)],{..._0xf039a6?{'targetScope':'company','ignoreInvalidMetadata':!![]}:remoteMissingCompanyReadOptions(),..._0x28ade6});_0x2195d3={'scope':_0x38fab5(0x181),'payload':_0x40f186,'publishInput':withDiagram(_0x40f186['input'],_0x1161e0),'remoteForPreflight':_0xf039a6,'warnings':[]};}else{const _0x40b5e3=_0xc1b3d6[_0x38fab5(0x160)](_0x38fab5(0x178))[_0x38fab5(0x156)](),_0x2f3264=Boolean(_0x40b5e3),_0x2a0add=allowRetargetArgs(_0x2f3264),_0x3cb373=_0x4877ee(_0xaa284c,_0xc1b3d6[_0x38fab5(0x173)],{...remoteFirstMetadataOptions(),..._0x2a0add[0x0]}),_0x52aeae=await _0x19068a(_0xc1b3d6[_0x38fab5(0x173)],_0x3cb373[_0x38fab5(0x16a)]);throwIfBuiltinPushTarget(_0x52aeae);if(_0x52aeae){if(_0x52aeae[_0x38fab5(0x158)]!=='personal'){if(_0x2f3264)throw CliErrors['validation'](_0x38fab5(0x150)+_0x3cb373[_0x38fab5(0x16a)]+'\x20has\x20scope=\x22'+(_0x52aeae[_0x38fab5(0x158)]??_0x38fab5(0x148))+'\x22.');_0x330fbf(_0xaa284c,_0x52aeae,_0xc1b3d6[_0x38fab5(0x173)]);}else!_0x2f3264&&_0x330fbf(_0xaa284c,_0x52aeae,_0xc1b3d6[_0x38fab5(0x173)]);}const _0x4f3947=_0xa991ea(_0xaa284c,_0xc1b3d6[_0x38fab5(0x173)],{..._0x52aeae?remotePersonalReadOptions(_0x2f3264,_0x2a0add[0x0]):remoteMissingPersonalReadOptions(_0x2a0add[0x0]),..._0x28ade6}),_0x42b737=_0x52aeae?.[_0x38fab5(0x158)]===_0x38fab5(0x166)&&_0x52aeae[_0x38fab5(0x16a)]===_0x4f3947[_0x38fab5(0x16a)]?_0x52aeae:undefined,_0x314c4e=_0x2f3264&&_0x42b737?withRetargetExistingMetadata(_0x4f3947[_0x38fab5(0x168)],_0x42b737,{'preferInputSkillName':Boolean(_0x4f3947[_0x38fab5(0x171)])}):_0x4f3947[_0x38fab5(0x168)],_0x1d0f7c=_0x2f3264?buildRetargetWarning(_0x3cb373[_0x38fab5(0x184)],_0xc1b3d6[_0x38fab5(0x173)]):[];_0x2195d3={'scope':_0x38fab5(0x166),'payload':_0x4f3947,'publishInput':withDiagram(_0x314c4e,_0x1161e0),'remoteForPreflight':_0x42b737,'existing':_0x42b737,'warnings':[..._0x2b3323[_0x38fab5(0x174)],..._0x1d0f7c]};}const _0x53cf86=await runRemoteContentPreflight({'scope':_0x2195d3['scope'],'remote':_0x2195d3[_0x38fab5(0x149)],'publishInput':_0x2195d3['publishInput'],'skillCode':_0x2195d3['payload']['skillCode'],'appCode':_0xc1b3d6[_0x38fab5(0x173)],'downloadRuntimeSkillPackage':_0x3ac3f0,'verifyRuntimeSkillBundle':_0x3a8370});if(_0x53cf86[_0x38fab5(0x151)]===_0x38fab5(0x177))return _0x2195d3[_0x38fab5(0x158)]===_0x38fab5(0x181)?_0x4da281(_0xaa284c,_0x53cf86['savedSkill'],_0xc1b3d6[_0x38fab5(0x173)],{'scope':_0x38fab5(0x181)}):_0x4da281(_0xaa284c,_0x53cf86[_0x38fab5(0x14a)],_0xc1b3d6[_0x38fab5(0x173)]),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x53cf86['savedSkill']),'scope':_0x2195d3[_0x38fab5(0x158)],..._0x2195d3[_0x38fab5(0x158)]===_0x38fab5(0x166)?{'warnings':_0x2195d3['warnings']}:{},'alreadyPublished':!![],'contentIdentical':!![],'diagramSubmitted':![]},'message':scopeLabel(_0x2195d3[_0x38fab5(0x158)])+_0x38fab5(0x14b)+_0x2195d3[_0x38fab5(0x16c)]['skillCode']+_0x38fab5(0x17f)};if(_0x2195d3[_0x38fab5(0x158)]===_0x38fab5(0x181)){const _0x2f971b=await _0xef0157(_0xc1b3d6['appCode'],_0x2195d3[_0x38fab5(0x167)],{'visibility':'NAMESPACE_ONLY'});throwIfPublishValidationFailed(_0x38fab5(0x181),_0x2195d3[_0x38fab5(0x16c)][_0x38fab5(0x16a)],_0x2f971b),throwIfUnconfirmedPublishWarnings(_0x38fab5(0x181),_0x2195d3[_0x38fab5(0x16c)][_0x38fab5(0x16a)],_0x2f971b[_0x38fab5(0x174)],_0x23cdbc);const _0x1051d8=await _0x118ffc(_0xc1b3d6[_0x38fab5(0x173)],_0x2195d3['publishInput'],{'confirmWarnings':_0x23cdbc});return _0x4da281(_0xaa284c,{..._0x1051d8,'files':_0x2195d3[_0x38fab5(0x167)][_0x38fab5(0x175)]},_0xc1b3d6['appCode'],{'scope':_0x38fab5(0x181)}),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x1051d8),'scope':_0x38fab5(0x181),'reviewState':_0x38fab5(0x162),'submittedForReview':!![],'diagramBound':!![],'validation':{'warnings':_0x2f971b[_0x38fab5(0x174)]}},'message':_0x38fab5(0x164)+_0x2195d3[_0x38fab5(0x16c)][_0x38fab5(0x16a)]+_0x38fab5(0x14f)+(_0x1051d8[_0x38fab5(0x17d)]??'(unknown)')+_0x38fab5(0x143)};}const _0x14cae4=await _0xef0157(_0xc1b3d6[_0x38fab5(0x173)],_0x2195d3[_0x38fab5(0x167)],{'visibility':_0x38fab5(0x152)});throwIfPublishValidationFailed('personal',_0x2195d3[_0x38fab5(0x16c)][_0x38fab5(0x16a)],_0x14cae4),throwIfUnconfirmedPublishWarnings(_0x38fab5(0x166),_0x2195d3['payload'][_0x38fab5(0x16a)],_0x14cae4['warnings'],_0x23cdbc);const _0x4416be={'confirmWarnings':_0x23cdbc},_0x2f6fbd=_0x2195d3[_0x38fab5(0x182)]?await _0x1cfff2(_0x2195d3[_0x38fab5(0x16c)][_0x38fab5(0x16a)],_0xc1b3d6[_0x38fab5(0x173)],_0x2195d3[_0x38fab5(0x167)],_0x4416be):await _0x25faef(_0xc1b3d6[_0x38fab5(0x173)],_0x2195d3[_0x38fab5(0x167)],_0x4416be);let _0x50ff39=_0x2f6fbd;if(isMultiFileManifest(_0x2195d3['publishInput'][_0x38fab5(0x175)])){const _0x16f30b=await _0x3ac3f0(_0x38fab5(0x166),_0x2f6fbd[_0x38fab5(0x16a)]||_0x2195d3[_0x38fab5(0x16c)][_0x38fab5(0x16a)],_0xc1b3d6[_0x38fab5(0x173)]);_0x3a8370(_0x2195d3[_0x38fab5(0x167)][_0x38fab5(0x175)],_0x16f30b),_0x50ff39={..._0x2f6fbd,'files':_0x2195d3[_0x38fab5(0x167)]['files']};}else{if(isPackageBackedManifest(_0x2f6fbd[_0x38fab5(0x175)])){const _0x580cff=await _0x3ac3f0(_0x38fab5(0x166),_0x2f6fbd[_0x38fab5(0x16a)]||_0x2195d3[_0x38fab5(0x16c)][_0x38fab5(0x16a)],_0xc1b3d6['appCode']);_0x77e38e(_0x2f6fbd[_0x38fab5(0x175)],_0x580cff);}}return _0x4da281(_0xaa284c,_0x50ff39,_0xc1b3d6['appCode']),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x2f6fbd),'warnings':_0x2195d3[_0x38fab5(0x174)],'validation':{'warnings':_0x14cae4[_0x38fab5(0x174)]},'diagramBound':!![]},'message':_0x2195d3['existing']?_0x38fab5(0x14e)+_0x2195d3[_0x38fab5(0x16c)]['skillCode']:_0x38fab5(0x16b)+_0x2195d3[_0x38fab5(0x16c)][_0x38fab5(0x16a)]};}function a76_0x19b8(_0x1738f9,_0x2108b2){_0x1738f9=_0x1738f9-0x143;const _0x9061bb=a76_0x9061();let _0x19b834=_0x9061bb[_0x1738f9];return _0x19b834;}function scopeLabel(_0xb320e4){const _0x2ece56=a76_0x19b8;return _0xb320e4===_0x2ece56(0x181)?_0x2ece56(0x16d):_0x2ece56(0x15b);}function withDiagram(_0x3ff7b4,_0x159174){return{..._0x3ff7b4,'diagram':_0x159174};}function diagramPackageExclusion(_0x1303db){return _0x1303db?{'excludedFilePaths':[_0x1303db]}:{};}
@@ -1 +1 @@
1
- (function(_0xa0f4f8,_0x1c9a19){const _0x12d8dd=a77_0x2904,_0x78536f=_0xa0f4f8();while(!![]){try{const _0x2d0bb5=-parseInt(_0x12d8dd(0x147))/0x1+parseInt(_0x12d8dd(0x141))/0x2+-parseInt(_0x12d8dd(0x149))/0x3+parseInt(_0x12d8dd(0x15d))/0x4*(-parseInt(_0x12d8dd(0x15c))/0x5)+-parseInt(_0x12d8dd(0x159))/0x6+-parseInt(_0x12d8dd(0x146))/0x7*(-parseInt(_0x12d8dd(0x14b))/0x8)+parseInt(_0x12d8dd(0x14c))/0x9;if(_0x2d0bb5===_0x1c9a19)break;else _0x78536f['push'](_0x78536f['shift']());}catch(_0x532be3){_0x78536f['push'](_0x78536f['shift']());}}}(a77_0x3d49,0x67932));import{CliErrors}from'../../errors.js';export function resolvePushScope(_0x4f837c){const _0x390527=a77_0x2904,_0x4ed562=_0x4f837c[_0x390527(0x148)]('scope')||_0x390527(0x14d);if(_0x4ed562===_0x390527(0x14d)||_0x4ed562===_0x390527(0x140))return _0x4ed562;throw CliErrors[_0x390527(0x168)]('skill\x20push\x20supports\x20--scope\x20personal\x20or\x20--scope\x20company;\x20received\x20\x22'+_0x4ed562+'\x22.');}export function allowRetargetArgs(_0x4bdf5f){return _0x4bdf5f?[{'allowAppCodeRetarget':!![]}]:[];}export function remoteFirstMetadataOptions(){return{'ignoreInvalidMetadata':!![],'ignoreMetadataAppCodeMismatch':!![],'ignoreMetadataSkillCode':!![]};}function a77_0x3d49(){const _0x5bd93a=['483npltNC','297535OhaIul','str','2087031bzjqHc','Fix\x20real\x20issues.\x20If\x20the\x20remaining\x20warnings\x20are\x20reviewed\x20false\x20positives,\x20rerun\x20with\x20--confirm-warnings\x20to\x20submit\x20the\x20unchanged\x20package.','36264jpWhEl','19677087ehdEEE','personal','Company','publishInput','verifyRuntimeSkillBundle','not-applicable','Do\x20not\x20modify\x20the\x20source\x20Skill\x20merely\x20to\x20satisfy\x20publishing.','warning','builtin','Review\x20each\x20warning\x20before\x20continuing.','Review\x20the\x20updated\x20local\x20Skill\x20metadata\x20before\x20the\x20next\x20push.','scope','join','3681078VBKgrQ','errors','\x20after\x20successful\x20push.','5OhyboC','2110996pRtSns','files','\x20Skill\x20push\x20validation\x20failed\x20for\x20','skillCode','content','Personal','SkillHub\x20validation\x20returned\x20invalid.','version','warnings','Builtin\x20Skill\x20','\x20Skill\x20push\x20validation\x20reported\x20warning(s)\x20for\x20','validation','identical','valid','remote','company','119192GCwkBZ','\x20was\x20retargeted\x20to\x20explicit\x20appCode\x20','Warnings:\x20','length','appCode'];a77_0x3d49=function(){return _0x5bd93a;};return a77_0x3d49();}export function remoteMissingPayloadOptions(){return{'ignoreMetadataForPayload':!![],'ignoreMetadataScope':!![],'ignoreMetadataSkillCode':!![]};}function a77_0x2904(_0x333cbc,_0x457103){_0x333cbc=_0x333cbc-0x13e;const _0x3d4936=a77_0x3d49();let _0x290477=_0x3d4936[_0x333cbc];return _0x290477;}export function remoteMissingCompanyReadOptions(){const _0x46d7d3=a77_0x2904;return{'targetScope':_0x46d7d3(0x140),...remoteFirstMetadataOptions(),...remoteMissingPayloadOptions()};}export function remoteMissingPersonalReadOptions(_0x35792d={}){return{...remoteFirstMetadataOptions(),...remoteMissingPayloadOptions(),..._0x35792d};}export function remotePersonalReadOptions(_0x3a832f,_0x148900={}){return{'ignoreInvalidMetadata':!![],..._0x3a832f?{'ignoreMetadataAppCodeMismatch':!![],'ignoreMetadataScope':!![]}:{},..._0x148900};}export function throwIfBuiltinPushTarget(_0x6806b7){const _0x550a96=a77_0x2904;if(_0x6806b7?.[_0x550a96(0x157)]!==_0x550a96(0x154))return;throw CliErrors[_0x550a96(0x168)](_0x550a96(0x166)+(_0x6806b7[_0x550a96(0x160)]??'(unknown)')+'\x20cannot\x20be\x20pushed.','Use\x20a\x20different\x20skillCode\x20when\x20submitting\x20a\x20personal\x20or\x20company\x20Skill.');}export function throwIfPublishValidationFailed(_0x5d2554,_0x2e7464,_0x4592de){const _0x247c3e=a77_0x2904;if(_0x4592de[_0x247c3e(0x15a)][_0x247c3e(0x144)]===0x0&&(_0x4592de[_0x247c3e(0x13e)]||_0x4592de[_0x247c3e(0x165)][_0x247c3e(0x144)]>0x0))return;const _0x1f0631=_0x4592de[_0x247c3e(0x15a)][_0x247c3e(0x144)]>0x0?_0x4592de['errors'][_0x247c3e(0x158)](';\x20'):_0x247c3e(0x163),_0x2b1746=_0x5d2554===_0x247c3e(0x140)?'Company':_0x247c3e(0x162);throw CliErrors[_0x247c3e(0x168)](_0x2b1746+_0x247c3e(0x15f)+_0x2e7464+'.',_0x1f0631);}export function throwIfUnconfirmedPublishWarnings(_0x44ceb1,_0x1d3bfa,_0x42835d,_0x5b8522){const _0x430b8f=a77_0x2904;if(_0x42835d[_0x430b8f(0x144)]===0x0||_0x5b8522)return;const _0x11c14e=_0x44ceb1===_0x430b8f(0x140)?_0x430b8f(0x14e):'Personal';throw CliErrors[_0x430b8f(0x168)](_0x11c14e+_0x430b8f(0x167)+_0x1d3bfa+'.',[_0x430b8f(0x155),_0x430b8f(0x152),_0x430b8f(0x14a),_0x430b8f(0x143)+_0x42835d[_0x430b8f(0x158)](';\x20')]['join']('\x20'));}export function buildRetargetWarning(_0x46fc6a,_0x94d10d){const _0xbd6e7d=a77_0x2904;if(!_0x46fc6a?.[_0xbd6e7d(0x145)]||_0x46fc6a['appCode']===_0x94d10d)return[];return[{'level':_0xbd6e7d(0x153),'ruleId':'skill-metadata-appcode-retargeted','file':'lovrabet.skill.json','message':'Local\x20Skill\x20metadata\x20appCode\x20'+_0x46fc6a[_0xbd6e7d(0x145)]+_0xbd6e7d(0x142)+_0x94d10d+_0xbd6e7d(0x15b),'suggestion':_0xbd6e7d(0x156)}];}export async function runRemoteContentPreflight(_0x4ef253){const _0x5a406f=a77_0x2904;if(!_0x4ef253[_0x5a406f(0x13f)]||_0x4ef253[_0x5a406f(0x13f)][_0x5a406f(0x157)]!==_0x4ef253[_0x5a406f(0x157)]||!_0x4ef253['publishInput'][_0x5a406f(0x15e)])return{'status':_0x5a406f(0x151)};const _0x1cbbdf=_0x4ef253[_0x5a406f(0x13f)][_0x5a406f(0x160)]||_0x4ef253['skillCode'];if(!_0x1cbbdf)return{'status':_0x5a406f(0x151)};const _0x19044c=await _0x4ef253['downloadRuntimeSkillPackage'](_0x4ef253[_0x5a406f(0x157)],_0x1cbbdf,_0x4ef253[_0x5a406f(0x145)],_0x4ef253[_0x5a406f(0x13f)][_0x5a406f(0x164)]);try{_0x4ef253[_0x5a406f(0x150)](_0x4ef253[_0x5a406f(0x14f)][_0x5a406f(0x15e)],_0x19044c);}catch{return{'status':'different'};}return{'status':_0x5a406f(0x169),'savedSkill':{..._0x4ef253[_0x5a406f(0x13f)],'content':_0x4ef253[_0x5a406f(0x14f)][_0x5a406f(0x161)],'files':_0x4ef253['publishInput']['files']}};}
1
+ (function(_0x492da2,_0x49cd3e){const _0x3892ad=a77_0x271a,_0x1facc7=_0x492da2();while(!![]){try{const _0x519d66=parseInt(_0x3892ad(0x197))/0x1*(-parseInt(_0x3892ad(0x186))/0x2)+-parseInt(_0x3892ad(0x195))/0x3*(parseInt(_0x3892ad(0x181))/0x4)+parseInt(_0x3892ad(0x1a2))/0x5*(parseInt(_0x3892ad(0x183))/0x6)+parseInt(_0x3892ad(0x1a3))/0x7+-parseInt(_0x3892ad(0x19d))/0x8*(-parseInt(_0x3892ad(0x198))/0x9)+parseInt(_0x3892ad(0x185))/0xa*(-parseInt(_0x3892ad(0x1a4))/0xb)+parseInt(_0x3892ad(0x1a8))/0xc;if(_0x519d66===_0x49cd3e)break;else _0x1facc7['push'](_0x1facc7['shift']());}catch(_0x1a04f3){_0x1facc7['push'](_0x1facc7['shift']());}}}(a77_0x4e41,0x9f814));function a77_0x271a(_0x14c0e9,_0x2583c7){_0x14c0e9=_0x14c0e9-0x17b;const _0x4e4180=a77_0x4e41();let _0x271a75=_0x4e4180[_0x14c0e9];return _0x271a75;}import{CliErrors}from'../../errors.js';export function resolvePushScope(_0x4df7de){const _0x4cbcdc=a77_0x271a,_0x5c830e=_0x4df7de[_0x4cbcdc(0x18d)](_0x4cbcdc(0x1ab))||_0x4cbcdc(0x196);if(_0x5c830e==='personal'||_0x5c830e===_0x4cbcdc(0x19c))return _0x5c830e;throw CliErrors[_0x4cbcdc(0x194)]('skill\x20push\x20supports\x20--scope\x20personal\x20or\x20--scope\x20company;\x20received\x20\x22'+_0x5c830e+'\x22.');}export function allowRetargetArgs(_0x2a9c8a){return _0x2a9c8a?[{'allowAppCodeRetarget':!![]}]:[];}export function remoteFirstMetadataOptions(){return{'ignoreInvalidMetadata':!![],'ignoreMetadataAppCodeMismatch':!![],'ignoreMetadataSkillCode':!![]};}export function remoteMissingPayloadOptions(){return{'ignoreMetadataForPayload':!![],'ignoreMetadataScope':!![],'ignoreMetadataSkillCode':!![]};}export function remoteMissingCompanyReadOptions(){const _0x36c61a=a77_0x271a;return{'targetScope':_0x36c61a(0x19c),...remoteFirstMetadataOptions(),...remoteMissingPayloadOptions()};}export function remoteMissingPersonalReadOptions(_0x3685eb={}){return{...remoteFirstMetadataOptions(),...remoteMissingPayloadOptions(),..._0x3685eb};}export function remotePersonalReadOptions(_0x1af860,_0x1b48d9={}){return{'ignoreInvalidMetadata':!![],..._0x1af860?{'ignoreMetadataAppCodeMismatch':!![],'ignoreMetadataScope':!![]}:{},..._0x1b48d9};}function a77_0x4e41(){const _0x4eca26=['Use\x20a\x20different\x20skillCode\x20when\x20submitting\x20a\x20personal\x20or\x20company\x20Skill.','validation','3779523jpXiHN','personal','739rWSvQj','477iWYaBS','errors','Fix\x20real\x20issues.\x20If\x20the\x20remaining\x20warnings\x20are\x20reviewed\x20false\x20positives,\x20rerun\x20with\x20--confirm-warnings\x20to\x20submit\x20the\x20unchanged\x20package.','verifyRuntimeSkillBundle','company','152312AssNVJ','Company','valid','warnings','\x20cannot\x20be\x20pushed.','516735sXCHks','288134XoRElw','110PWvEey','Local\x20Skill\x20metadata\x20appCode\x20','\x20was\x20retargeted\x20to\x20explicit\x20appCode\x20','lovrabet.skill.json','26381448iPVqkz','remote','not-applicable','scope','skill-metadata-appcode-retargeted','(unknown)','skillCode','warning','Do\x20not\x20modify\x20the\x20source\x20Skill\x20merely\x20to\x20satisfy\x20publishing.','publishInput','appCode','\x20Skill\x20push\x20validation\x20failed\x20for\x20','4bfizfH','join','30CGJQfL','Personal','1057820WUhdzF','2150iaXTwd','Warnings:\x20','\x20Skill\x20push\x20validation\x20reported\x20warning(s)\x20for\x20','\x20after\x20successful\x20push.','length','SkillHub\x20validation\x20returned\x20invalid.','Review\x20each\x20warning\x20before\x20continuing.','str','content','Review\x20the\x20updated\x20local\x20Skill\x20metadata\x20before\x20the\x20next\x20push.','different','files','version'];a77_0x4e41=function(){return _0x4eca26;};return a77_0x4e41();}export function throwIfBuiltinPushTarget(_0x21e6fd){const _0x233763=a77_0x271a;if(_0x21e6fd?.[_0x233763(0x1ab)]!=='builtin')return;throw CliErrors[_0x233763(0x194)]('Builtin\x20Skill\x20'+(_0x21e6fd[_0x233763(0x17b)]??_0x233763(0x1ad))+_0x233763(0x1a1),_0x233763(0x193));}export function throwIfPublishValidationFailed(_0x69ac5d,_0x1873dd,_0x14006e){const _0x15a9cd=a77_0x271a;if(_0x14006e[_0x15a9cd(0x199)][_0x15a9cd(0x18a)]===0x0&&(_0x14006e[_0x15a9cd(0x19f)]||_0x14006e[_0x15a9cd(0x1a0)][_0x15a9cd(0x18a)]>0x0))return;const _0x4d9ea5=_0x14006e[_0x15a9cd(0x199)][_0x15a9cd(0x18a)]>0x0?_0x14006e[_0x15a9cd(0x199)]['join'](';\x20'):_0x15a9cd(0x18b),_0x232a8a=_0x69ac5d===_0x15a9cd(0x19c)?_0x15a9cd(0x19e):_0x15a9cd(0x184);throw CliErrors[_0x15a9cd(0x194)](_0x232a8a+_0x15a9cd(0x180)+_0x1873dd+'.',_0x4d9ea5);}export function throwIfUnconfirmedPublishWarnings(_0x40f0c4,_0x45958c,_0x485f52,_0x479e35){const _0x326166=a77_0x271a;if(_0x485f52[_0x326166(0x18a)]===0x0||_0x479e35)return;const _0x2b91d8=_0x40f0c4===_0x326166(0x19c)?_0x326166(0x19e):'Personal';throw CliErrors[_0x326166(0x194)](_0x2b91d8+_0x326166(0x188)+_0x45958c+'.',[_0x326166(0x18c),_0x326166(0x17d),_0x326166(0x19a),_0x326166(0x187)+_0x485f52[_0x326166(0x182)](';\x20')][_0x326166(0x182)]('\x20'));}export function buildRetargetWarning(_0x1fdfc3,_0x540bb2){const _0x30e929=a77_0x271a;if(!_0x1fdfc3?.['appCode']||_0x1fdfc3[_0x30e929(0x17f)]===_0x540bb2)return[];return[{'level':_0x30e929(0x17c),'ruleId':_0x30e929(0x1ac),'file':_0x30e929(0x1a7),'message':_0x30e929(0x1a5)+_0x1fdfc3[_0x30e929(0x17f)]+_0x30e929(0x1a6)+_0x540bb2+_0x30e929(0x189),'suggestion':_0x30e929(0x18f)}];}export async function runRemoteContentPreflight(_0x119f31){const _0x58b9b8=a77_0x271a;if(!_0x119f31[_0x58b9b8(0x1a9)]||_0x119f31['remote'][_0x58b9b8(0x1ab)]!==_0x119f31[_0x58b9b8(0x1ab)]||!_0x119f31[_0x58b9b8(0x17e)][_0x58b9b8(0x191)])return{'status':_0x58b9b8(0x1aa)};const _0x129d19=_0x119f31[_0x58b9b8(0x1a9)]['skillCode']||_0x119f31[_0x58b9b8(0x17b)];if(!_0x129d19)return{'status':_0x58b9b8(0x1aa)};const _0x4daca4=await _0x119f31['downloadRuntimeSkillPackage'](_0x119f31[_0x58b9b8(0x1ab)],_0x129d19,_0x119f31[_0x58b9b8(0x17f)],_0x119f31[_0x58b9b8(0x1a9)][_0x58b9b8(0x192)]);try{_0x119f31[_0x58b9b8(0x19b)](_0x119f31['publishInput'][_0x58b9b8(0x191)],_0x4daca4);}catch{return{'status':_0x58b9b8(0x190)};}return{'status':'identical','savedSkill':{..._0x119f31[_0x58b9b8(0x1a9)],'content':_0x119f31[_0x58b9b8(0x17e)][_0x58b9b8(0x18e)],'files':_0x119f31[_0x58b9b8(0x17e)][_0x58b9b8(0x191)]}};}
@@ -1 +1 @@
1
- (function(_0x13d83e,_0x3d2793){const _0x374237=a78_0x9a47,_0x2d9ece=_0x13d83e();while(!![]){try{const _0x3b6c16=-parseInt(_0x374237(0xe4))/0x1+parseInt(_0x374237(0xe3))/0x2+-parseInt(_0x374237(0xe9))/0x3+parseInt(_0x374237(0xe0))/0x4+-parseInt(_0x374237(0xe2))/0x5+-parseInt(_0x374237(0xee))/0x6+parseInt(_0x374237(0xe6))/0x7;if(_0x3b6c16===_0x3d2793)break;else _0x2d9ece['push'](_0x2d9ece['shift']());}catch(_0x37971c){_0x2d9ece['push'](_0x2d9ece['shift']());}}}(a78_0x5c3c,0xcb90b));function a78_0x5c3c(){const _0x5c4b58=['isArray','version','2827392Gvodcs','tags','sourceSessionId','Review\x20the\x20updated\x20local\x20Skill\x20metadata\x20before\x20the\x20next\x20push.','preferInputSkillName','4703376czCWGj','Local\x20Skill\x20metadata\x20appCode\x20','appCode','skill-metadata-appcode-retargeted','lovrabet.skill.json','description','6107632OKPzHK','skillName','6369715gXOlLm','1017424EpySnM','1620482qwXoxL','\x20after\x20successful\x20push.','23932776BpfaPc'];a78_0x5c3c=function(){return _0x5c4b58;};return a78_0x5c3c();}export function withRetargetExistingMetadata(_0x331c69,_0x3349cc,_0x571835={}){const _0x2729cc=a78_0x9a47,_0x241714=_0x571835[_0x2729cc(0xed)]?_0x331c69[_0x2729cc(0xe1)]??_0x3349cc[_0x2729cc(0xe1)]:_0x3349cc[_0x2729cc(0xe1)]??_0x331c69['skillName'];return{..._0x331c69,'skillName':_0x241714,'description':_0x3349cc[_0x2729cc(0xdf)]??_0x331c69[_0x2729cc(0xdf)],'tags':Array[_0x2729cc(0xe7)](_0x3349cc['tags'])?_0x3349cc[_0x2729cc(0xea)]:_0x331c69['tags'],'version':_0x3349cc[_0x2729cc(0xe8)]??_0x331c69[_0x2729cc(0xe8)],'sourceSessionId':_0x3349cc[_0x2729cc(0xeb)]??_0x331c69[_0x2729cc(0xeb)]};}function a78_0x9a47(_0x49d115,_0x74f484){_0x49d115=_0x49d115-0xdb;const _0x5c3c70=a78_0x5c3c();let _0x9a4785=_0x5c3c70[_0x49d115];return _0x9a4785;}export function buildRetargetWarning(_0x2aab0b,_0x2017dd){const _0x340331=a78_0x9a47;if(!_0x2aab0b?.[_0x340331(0xdc)]||_0x2aab0b[_0x340331(0xdc)]===_0x2017dd)return[];return[{'level':'warning','ruleId':_0x340331(0xdd),'file':_0x340331(0xde),'message':_0x340331(0xdb)+_0x2aab0b['appCode']+'\x20was\x20retargeted\x20to\x20explicit\x20appCode\x20'+_0x2017dd+_0x340331(0xe5),'suggestion':_0x340331(0xec)}];}
1
+ function a78_0x5255(){const _0x5b858a=['description','14ajBjBb','Review\x20the\x20updated\x20local\x20Skill\x20metadata\x20before\x20the\x20next\x20push.','Local\x20Skill\x20metadata\x20appCode\x20','1317775mqLrNe','sourceSessionId','warning','24lNdOyr','3687649TXPpVG','appCode','188352utmkVi','skillName','tags','5958504AZWXYg','lovrabet.skill.json','version','1056168AwLflZ','isArray','\x20after\x20successful\x20push.','82428HQedwU','1339536NIddpl'];a78_0x5255=function(){return _0x5b858a;};return a78_0x5255();}(function(_0x52daec,_0x418a94){const _0x2ad970=a78_0x4641,_0x575851=_0x52daec();while(!![]){try{const _0x23d380=-parseInt(_0x2ad970(0xc5))/0x1*(parseInt(_0x2ad970(0xc2))/0x2)+-parseInt(_0x2ad970(0xce))/0x3+-parseInt(_0x2ad970(0xc3))/0x4+-parseInt(_0x2ad970(0xc8))/0x5+parseInt(_0x2ad970(0xbf))/0x6+-parseInt(_0x2ad970(0xcc))/0x7+-parseInt(_0x2ad970(0xcb))/0x8*(-parseInt(_0x2ad970(0xd1))/0x9);if(_0x23d380===_0x418a94)break;else _0x575851['push'](_0x575851['shift']());}catch(_0x242a81){_0x575851['push'](_0x575851['shift']());}}}(a78_0x5255,0x60f72));export function withRetargetExistingMetadata(_0xbc7f0e,_0x139da5,_0x577c6a={}){const _0xa294cf=a78_0x4641,_0x46371e=_0x577c6a['preferInputSkillName']?_0xbc7f0e[_0xa294cf(0xcf)]??_0x139da5[_0xa294cf(0xcf)]:_0x139da5[_0xa294cf(0xcf)]??_0xbc7f0e[_0xa294cf(0xcf)];return{..._0xbc7f0e,'skillName':_0x46371e,'description':_0x139da5[_0xa294cf(0xc4)]??_0xbc7f0e[_0xa294cf(0xc4)],'tags':Array[_0xa294cf(0xc0)](_0x139da5[_0xa294cf(0xd0)])?_0x139da5['tags']:_0xbc7f0e[_0xa294cf(0xd0)],'version':_0x139da5[_0xa294cf(0xbe)]??_0xbc7f0e[_0xa294cf(0xbe)],'sourceSessionId':_0x139da5[_0xa294cf(0xc9)]??_0xbc7f0e[_0xa294cf(0xc9)]};}function a78_0x4641(_0x222c74,_0x1d1ff0){_0x222c74=_0x222c74-0xbd;const _0x525501=a78_0x5255();let _0x46416f=_0x525501[_0x222c74];return _0x46416f;}export function buildRetargetWarning(_0xa0faba,_0x1ef954){const _0xd774e0=a78_0x4641;if(!_0xa0faba?.[_0xd774e0(0xcd)]||_0xa0faba[_0xd774e0(0xcd)]===_0x1ef954)return[];return[{'level':_0xd774e0(0xca),'ruleId':'skill-metadata-appcode-retargeted','file':_0xd774e0(0xbd),'message':_0xd774e0(0xc7)+_0xa0faba[_0xd774e0(0xcd)]+'\x20was\x20retargeted\x20to\x20explicit\x20appCode\x20'+_0x1ef954+_0xd774e0(0xc1),'suggestion':_0xd774e0(0xc6)}];}
@@ -1 +1 @@
1
- function a79_0x471e(_0x1383f1,_0x9e7ccc){_0x1383f1=_0x1383f1-0x156;const _0x356b23=a79_0x356b();let _0x471ec9=_0x356b23[_0x1383f1];return _0x471ec9;}function a79_0x356b(){const _0x4ccad0=['48OFPjdT','24002350ZNWYQN','trim','all','953ONLSIy','125937lbdeDD','company','9620DFhUip','143793SfLwfU','personal','7459740LEXwnQ','validation','Unsupported\x20Skill\x20list\x20scope:\x20','Unsupported\x20Skill\x20sync\x20scope:\x20','4338900kMPFxO','294zCoVBU','11YClhYF','445xZSZZX'];a79_0x356b=function(){return _0x4ccad0;};return a79_0x356b();}(function(_0x3624a7,_0xb7b51a){const _0x1b405f=a79_0x471e,_0x1c91ee=_0x3624a7();while(!![]){try{const _0x3d9fbe=-parseInt(_0x1b405f(0x15c))/0x1*(-parseInt(_0x1b405f(0x167))/0x2)+parseInt(_0x1b405f(0x160))/0x3+-parseInt(_0x1b405f(0x15f))/0x4*(parseInt(_0x1b405f(0x157))/0x5)+-parseInt(_0x1b405f(0x162))/0x6+parseInt(_0x1b405f(0x15d))/0x7*(parseInt(_0x1b405f(0x158))/0x8)+-parseInt(_0x1b405f(0x166))/0x9+-parseInt(_0x1b405f(0x159))/0xa*(-parseInt(_0x1b405f(0x156))/0xb);if(_0x3d9fbe===_0xb7b51a)break;else _0x1c91ee['push'](_0x1c91ee['shift']());}catch(_0x18f1e3){_0x1c91ee['push'](_0x1c91ee['shift']());}}}(a79_0x356b,0xb8c20));import{CliErrors}from'../../errors.js';export function normalizeSyncScopes(_0x57e50e){const _0x4152d5=a79_0x471e,_0x258f36=_0x57e50e['trim']();if(!_0x258f36||_0x258f36==='all')return[_0x4152d5(0x161),'company'];if(_0x258f36===_0x4152d5(0x161)||_0x258f36===_0x4152d5(0x15e))return[_0x258f36];throw CliErrors[_0x4152d5(0x163)](_0x4152d5(0x165)+_0x57e50e);}export function normalizeListScope(_0x582fb5){const _0x5c1bc1=a79_0x471e,_0x5dee8f=_0x582fb5[_0x5c1bc1(0x15a)]();if(!_0x5dee8f)return _0x5c1bc1(0x15b);if(_0x5dee8f===_0x5c1bc1(0x161)||_0x5dee8f===_0x5c1bc1(0x15e)||_0x5dee8f===_0x5c1bc1(0x15b))return _0x5dee8f;throw CliErrors[_0x5c1bc1(0x163)](_0x5c1bc1(0x164)+_0x582fb5);}export function shouldListScope(_0x9e0b06,_0x3c187e){if(_0x9e0b06==='all')return!![];return _0x9e0b06===_0x3c187e;}export function listScopeToRuntimeScopes(_0x2269ab){const _0x2e38ec=a79_0x471e;if(_0x2269ab===_0x2e38ec(0x15b))return[_0x2e38ec(0x161),_0x2e38ec(0x15e)];return[_0x2269ab===_0x2e38ec(0x15e)?_0x2e38ec(0x15e):_0x2269ab];}export function listScopeToRemoteScope(_0x597d2d){return _0x597d2d;}
1
+ (function(_0x57e33a,_0x25148a){const _0x57cb45=a79_0xb171,_0x4f7ea6=_0x57e33a();while(!![]){try{const _0x3451ab=-parseInt(_0x57cb45(0x84))/0x1+-parseInt(_0x57cb45(0x81))/0x2+parseInt(_0x57cb45(0x7e))/0x3+parseInt(_0x57cb45(0x88))/0x4+parseInt(_0x57cb45(0x89))/0x5+-parseInt(_0x57cb45(0x80))/0x6+-parseInt(_0x57cb45(0x82))/0x7*(-parseInt(_0x57cb45(0x83))/0x8);if(_0x3451ab===_0x25148a)break;else _0x4f7ea6['push'](_0x4f7ea6['shift']());}catch(_0x2c7786){_0x4f7ea6['push'](_0x4f7ea6['shift']());}}}(a79_0x2bc2,0x5eaca));import{CliErrors}from'../../errors.js';export function normalizeSyncScopes(_0x48414a){const _0x17c4cd=a79_0xb171,_0x4fea69=_0x48414a[_0x17c4cd(0x7d)]();if(!_0x4fea69||_0x4fea69===_0x17c4cd(0x7f))return[_0x17c4cd(0x85),_0x17c4cd(0x86)];if(_0x4fea69===_0x17c4cd(0x85)||_0x4fea69==='company')return[_0x4fea69];throw CliErrors['validation'](_0x17c4cd(0x87)+_0x48414a);}export function normalizeListScope(_0x118fe0){const _0x1e663c=a79_0xb171,_0x5f4cb0=_0x118fe0[_0x1e663c(0x7d)]();if(!_0x5f4cb0)return _0x1e663c(0x7f);if(_0x5f4cb0===_0x1e663c(0x85)||_0x5f4cb0===_0x1e663c(0x86)||_0x5f4cb0===_0x1e663c(0x7f))return _0x5f4cb0;throw CliErrors['validation']('Unsupported\x20Skill\x20list\x20scope:\x20'+_0x118fe0);}function a79_0xb171(_0x9d464c,_0x5d80d5){_0x9d464c=_0x9d464c-0x7d;const _0x2bc252=a79_0x2bc2();let _0xb1713f=_0x2bc252[_0x9d464c];return _0xb1713f;}export function shouldListScope(_0xc1dc8b,_0x254198){const _0x29165b=a79_0xb171;if(_0xc1dc8b===_0x29165b(0x7f))return!![];return _0xc1dc8b===_0x254198;}export function listScopeToRuntimeScopes(_0x5a7d53){const _0x1fa015=a79_0xb171;if(_0x5a7d53==='all')return['personal',_0x1fa015(0x86)];return[_0x5a7d53===_0x1fa015(0x86)?_0x1fa015(0x86):_0x5a7d53];}export function listScopeToRemoteScope(_0x8e5952){return _0x8e5952;}function a79_0x2bc2(){const _0x1ce540=['Unsupported\x20Skill\x20sync\x20scope:\x20','2737636qUDEuG','523185BUDKnH','trim','50565BbCPZR','all','250302grZWtI','1513634FvsTlf','497Dlxviu','69136yfLzyC','233163VALbUc','personal','company'];a79_0x2bc2=function(){return _0x1ce540;};return a79_0x2bc2();}
@@ -1 +1 @@
1
- function a80_0x5776(_0x1f4b1a,_0x386988){_0x1f4b1a=_0x1f4b1a-0xd2;var _0x56c981=a80_0x56c9();var _0x577652=_0x56c981[_0x1f4b1a];return _0x577652;}function a80_0x56c9(){var _0x540054=['1945370rnTQoq','pulledAt','tags','1554224ncJjxf','linkedPaths','skillMdPath','3648068UrfUnz','skillName','dir','treeHash','1190145YbJFEK','5RDMHDC','8511610rEodLL','1169622ragoim','appCode','status','7kVvFOU','skillCode','cacheDir','contentHash','9VcvwaN','readonly','6795858hoTTie','scope','version'];a80_0x56c9=function(){return _0x540054;};return a80_0x56c9();}(function(_0x5c94b9,_0x3c4ba3){var _0xfcd4c0=a80_0x5776,_0x448117=_0x5c94b9();while(!![]){try{var _0x56cb3f=parseInt(_0xfcd4c0(0xd5))/0x1+-parseInt(_0xfcd4c0(0xe4))/0x2+-parseInt(_0xfcd4c0(0xd8))/0x3+parseInt(_0xfcd4c0(0xea))/0x4*(parseInt(_0xfcd4c0(0xd6))/0x5)+-parseInt(_0xfcd4c0(0xe1))/0x6+parseInt(_0xfcd4c0(0xdb))/0x7*(parseInt(_0xfcd4c0(0xe7))/0x8)+-parseInt(_0xfcd4c0(0xdf))/0x9*(-parseInt(_0xfcd4c0(0xd7))/0xa);if(_0x56cb3f===_0x3c4ba3)break;else _0x448117['push'](_0x448117['shift']());}catch(_0x3b2ffd){_0x448117['push'](_0x448117['shift']());}}}(a80_0x56c9,0x9f46f));export function summarizeRuntimeSkill(_0x51687e){var _0xc28cf3=a80_0x5776;return{'id':_0x51687e['id'],'skillCode':_0x51687e[_0xc28cf3(0xdc)],'skillName':_0x51687e[_0xc28cf3(0xd2)],'scope':_0x51687e['scope'],'version':_0x51687e[_0xc28cf3(0xe3)],'readonly':_0x51687e[_0xc28cf3(0xe0)]};}export function summarizeLocalRuntimeSkill(_0xab9069){var _0x4d72f9=a80_0x5776;return{'id':_0xab9069['id'],'skillCode':_0xab9069['skillCode'],'skillName':_0xab9069[_0x4d72f9(0xd2)],'scope':_0xab9069[_0x4d72f9(0xe2)],'appCode':_0xab9069[_0x4d72f9(0xd9)],'version':_0xab9069[_0x4d72f9(0xe3)],'status':_0xab9069[_0x4d72f9(0xda)],'readonly':_0xab9069[_0x4d72f9(0xe0)],'tags':_0xab9069[_0x4d72f9(0xe6)],'dir':_0xab9069[_0x4d72f9(0xd3)],'cacheDir':_0xab9069[_0x4d72f9(0xdd)],'skillMdPath':_0xab9069[_0x4d72f9(0xe9)],'metadataPath':_0xab9069['metadataPath'],'linkedPaths':_0xab9069[_0x4d72f9(0xe8)],'contentHash':_0xab9069[_0x4d72f9(0xde)],'treeHash':_0xab9069[_0x4d72f9(0xd4)],'pulledAt':_0xab9069[_0x4d72f9(0xe5)]};}
1
+ (function(_0x1b533d,_0x4c2573){var _0x4d2feb=a80_0x1f8c,_0xcb1fa0=_0x1b533d();while(!![]){try{var _0x12ed05=-parseInt(_0x4d2feb(0xe7))/0x1+parseInt(_0x4d2feb(0xee))/0x2*(parseInt(_0x4d2feb(0xe4))/0x3)+-parseInt(_0x4d2feb(0xe8))/0x4+parseInt(_0x4d2feb(0xf2))/0x5*(-parseInt(_0x4d2feb(0xea))/0x6)+parseInt(_0x4d2feb(0xec))/0x7*(parseInt(_0x4d2feb(0xf3))/0x8)+parseInt(_0x4d2feb(0xe6))/0x9*(-parseInt(_0x4d2feb(0xdf))/0xa)+-parseInt(_0x4d2feb(0xe5))/0xb*(-parseInt(_0x4d2feb(0xf5))/0xc);if(_0x12ed05===_0x4c2573)break;else _0xcb1fa0['push'](_0xcb1fa0['shift']());}catch(_0x49f135){_0xcb1fa0['push'](_0xcb1fa0['shift']());}}}(a80_0x5aee,0xb7f25));function a80_0x5aee(){var _0x10cc52=['dir','linkedPaths','tags','skillName','3zEklbU','11797181xSpBPU','219681PcNgxX','1381866iIoWuW','501112CdrwdH','contentHash','3059844QEiMMZ','readonly','6076294keNEuh','appCode','1708918JzPIZB','status','cacheDir','scope','5QEKgFy','8fmdapf','skillCode','12qImYME','version','10MAItht'];a80_0x5aee=function(){return _0x10cc52;};return a80_0x5aee();}export function summarizeRuntimeSkill(_0x5490d8){var _0x19d6d8=a80_0x1f8c;return{'id':_0x5490d8['id'],'skillCode':_0x5490d8[_0x19d6d8(0xf4)],'skillName':_0x5490d8[_0x19d6d8(0xe3)],'scope':_0x5490d8[_0x19d6d8(0xf1)],'version':_0x5490d8[_0x19d6d8(0xde)],'readonly':_0x5490d8[_0x19d6d8(0xeb)]};}function a80_0x1f8c(_0x4af6c3,_0x35774e){_0x4af6c3=_0x4af6c3-0xde;var _0x5aee35=a80_0x5aee();var _0x1f8c7f=_0x5aee35[_0x4af6c3];return _0x1f8c7f;}export function summarizeLocalRuntimeSkill(_0x25a884){var _0x33bbad=a80_0x1f8c;return{'id':_0x25a884['id'],'skillCode':_0x25a884[_0x33bbad(0xf4)],'skillName':_0x25a884[_0x33bbad(0xe3)],'scope':_0x25a884[_0x33bbad(0xf1)],'appCode':_0x25a884[_0x33bbad(0xed)],'version':_0x25a884[_0x33bbad(0xde)],'status':_0x25a884[_0x33bbad(0xef)],'readonly':_0x25a884[_0x33bbad(0xeb)],'tags':_0x25a884[_0x33bbad(0xe2)],'dir':_0x25a884[_0x33bbad(0xe0)],'cacheDir':_0x25a884[_0x33bbad(0xf0)],'skillMdPath':_0x25a884['skillMdPath'],'metadataPath':_0x25a884['metadataPath'],'linkedPaths':_0x25a884[_0x33bbad(0xe1)],'contentHash':_0x25a884[_0x33bbad(0xe9)],'treeHash':_0x25a884['treeHash'],'pulledAt':_0x25a884['pulledAt']};}