@lovrabet/lovrabet-cli 2.3.6-beta.3 → 2.3.7-beta.1

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 (185) hide show
  1. package/README.md +15 -11
  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 +5 -3
  111. package/lib/core/kb-management-client.js +1 -1
  112. package/lib/core/kb-search-client.d.ts +6 -1
  113. package/lib/core/kb-search-client.js +1 -1
  114. package/lib/core/sdk-client.js +1 -1
  115. package/lib/errors.js +1 -1
  116. package/lib/framework/access-error.js +1 -1
  117. package/lib/framework/build-all-flags.js +1 -1
  118. package/lib/framework/dryrun.js +1 -1
  119. package/lib/framework/flags.js +1 -1
  120. package/lib/framework/help.js +1 -1
  121. package/lib/framework/index.js +1 -1
  122. package/lib/framework/output.js +1 -1
  123. package/lib/framework/preparse.js +1 -1
  124. package/lib/framework/rate-limit.js +1 -1
  125. package/lib/framework/raw-flags.js +1 -1
  126. package/lib/framework/response.js +1 -1
  127. package/lib/framework/runner-confirmation.js +1 -1
  128. package/lib/framework/runner-error.js +1 -1
  129. package/lib/framework/runner.js +1 -1
  130. package/lib/framework/schema-export.js +1 -1
  131. package/lib/framework/service-order.js +1 -1
  132. package/lib/framework/types.js +1 -1
  133. package/lib/generated/build-info.d.ts +4 -4
  134. package/lib/generated/build-info.js +1 -1
  135. package/lib/generated/official-routing.js +1 -1
  136. package/lib/generated/routing-contract.js +1 -1
  137. package/lib/help.js +1 -1
  138. package/lib/postinstall.js +1 -1
  139. package/lib/runtime/confirmation.js +1 -1
  140. package/lib/runtime/event.js +1 -1
  141. package/lib/runtime/index.js +1 -1
  142. package/lib/runtime/queue.js +1 -1
  143. package/lib/runtime/resolve.js +1 -1
  144. package/lib/services/dataset-import/auto-id-runner.js +1 -1
  145. package/lib/services/dataset-import/excel-reader.js +1 -1
  146. package/lib/services/dataset-import/image-bytes.js +1 -1
  147. package/lib/services/dataset-import/image-ooxml.js +1 -1
  148. package/lib/services/dataset-import/image-runner.js +1 -1
  149. package/lib/services/dataset-import/metadata.js +1 -1
  150. package/lib/services/dataset-import/preview.js +1 -1
  151. package/lib/services/dataset-import/runner.js +1 -1
  152. package/lib/skills/builtin-skill.js +1 -1
  153. package/lib/skills/npx-skills-add.js +1 -1
  154. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  155. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  156. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  157. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  158. package/lib/skills/runtime-skill-sync/links.js +1 -1
  159. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  160. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  161. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  162. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  163. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  164. package/lib/skills/runtime-skill-sync/push.js +1 -1
  165. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  166. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  167. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  168. package/lib/skills/runtime-skill-sync.js +1 -1
  169. package/lib/skills/skill-presence.js +1 -1
  170. package/lib/utils/access-key-redaction.js +1 -1
  171. package/lib/utils/apply-jq-filter.js +1 -1
  172. package/lib/utils/cli-version-check.js +1 -1
  173. package/lib/utils/cli-version-policy.js +1 -1
  174. package/lib/utils/logger.js +1 -1
  175. package/lib/utils/lossless-json.js +1 -1
  176. package/lib/utils/params.js +1 -1
  177. package/lib/utils/positive-safe-integer.js +1 -1
  178. package/lib/utils/redaction.js +1 -1
  179. package/lib/utils/update-notice.js +1 -1
  180. package/lib/utils/version.js +1 -1
  181. package/lib/utils/write-cli-side-channel.js +1 -1
  182. package/package.json +1 -1
  183. package/skills/lovrabet/SKILL.md +2 -2
  184. package/skills/lovrabet/references/lovrabet-kb-workflow.md +9 -5
  185. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- const a66_0x99eb60=a66_0x2c90;(function(_0x145eee,_0x4f4be7){const _0x4c5f30=a66_0x2c90,_0x4b2618=_0x145eee();while(!![]){try{const _0x222eff=-parseInt(_0x4c5f30(0x109))/0x1*(-parseInt(_0x4c5f30(0xfc))/0x2)+-parseInt(_0x4c5f30(0xf4))/0x3*(-parseInt(_0x4c5f30(0xfb))/0x4)+parseInt(_0x4c5f30(0xf7))/0x5*(-parseInt(_0x4c5f30(0x114))/0x6)+-parseInt(_0x4c5f30(0x100))/0x7+parseInt(_0x4c5f30(0xff))/0x8*(parseInt(_0x4c5f30(0x10b))/0x9)+parseInt(_0x4c5f30(0xf5))/0xa*(parseInt(_0x4c5f30(0x104))/0xb)+-parseInt(_0x4c5f30(0xf6))/0xc;if(_0x222eff===_0x4f4be7)break;else _0x4b2618['push'](_0x4b2618['shift']());}catch(_0x1f4f03){_0x4b2618['push'](_0x4b2618['shift']());}}}(a66_0x50de,0x2cb7c));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';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_0x99eb60(0x116),'command':a66_0x99eb60(0xf8),'description':a66_0x99eb60(0x10f),'risk':a66_0x99eb60(0xfe),'requiresAuth':![],'requiresAppCode':![],'flags':[CREATE_NAME_FLAG,TYPE_FLAG,TARGET_FLAG,FORCE_FLAG],async 'dryRun'(_0xe3075d){const _0x27ef86=a66_0x99eb60,_0x2cb4de=buildSkillCreatePlan(_0xe3075d['str']('name'),_0xe3075d[_0x27ef86(0x107)]('type'),_0xe3075d[_0x27ef86(0x107)]('target'));return{'method':_0x27ef86(0xfa),'url':_0x2cb4de[_0x27ef86(0x106)],'body':{'skillName':_0x2cb4de[_0x27ef86(0x101)][_0x27ef86(0x117)],'type':_0x2cb4de[_0x27ef86(0x101)][_0x27ef86(0x112)],'selfContained':!![],'files':_0x2cb4de[_0x27ef86(0x101)][_0x27ef86(0x10a)][_0x27ef86(0x103)](_0x1af736=>_0x1af736['path'])},'description':_0x27ef86(0x10c)};},async 'execute'(_0x27430a){const _0x392e4e=a66_0x99eb60,_0x162a92=buildSkillCreatePlan(_0x27430a['str'](_0x392e4e(0xf3)),_0x27430a[_0x392e4e(0x107)]('type'),_0x27430a['str']('target'));return writeSkillDraft(_0x162a92,_0x27430a[_0x392e4e(0x111)](_0x392e4e(0xf9))),{'ok':!![],'data':{'skillName':_0x162a92[_0x392e4e(0x101)]['skillName'],'type':_0x162a92[_0x392e4e(0x101)][_0x392e4e(0x112)],'dir':_0x162a92[_0x392e4e(0x106)],'files':_0x162a92['rendered'][_0x392e4e(0x10a)][_0x392e4e(0x103)](_0x4cda2c=>_0x4cda2c[_0x392e4e(0x102)])},'message':_0x392e4e(0xfd)+_0x162a92[_0x392e4e(0x101)][_0x392e4e(0x117)]};}};function buildSkillCreatePlan(_0xdbb0b2,_0x345723,_0x416107){const _0x1e6d73=a66_0x99eb60,_0x1322eb=_0x345723[_0x1e6d73(0x115)](),_0x1503c3=renderSkillTemplate({'skillName':_0xdbb0b2,'type':_0x1322eb});!_0x1322eb&&writeCliSideChannelLine(_0x1e6d73(0x108));const _0x1dc901=resolve(normalizeSkillTarget(_0x416107));return{'rendered':_0x1503c3,'targetRoot':_0x1dc901,'skillDir':resolve(_0x1dc901,_0x1503c3[_0x1e6d73(0x117)])};}function a66_0x2c90(_0x12e6f6,_0x422d32){_0x12e6f6=_0x12e6f6-0xf2;const _0x50dead=a66_0x50de();let _0x2c90da=_0x50dead[_0x12e6f6];return _0x2c90da;}function normalizeSkillTarget(_0x5b3100){const _0x44b42d=a66_0x99eb60;return(_0x5b3100||DEFAULT_SKILL_TARGET)[_0x44b42d(0x115)]()||DEFAULT_SKILL_TARGET;}function a66_0x50de(){const _0x253f1f=['str','Omitting\x20--type\x20is\x20deprecated;\x20defaulting\x20to\x20write\x20for\x20compatibility.\x20Pass\x20--type\x20read\x20or\x20--type\x20write\x20explicitly.','4352FFKTWr','files','441lIWOiv','Create\x20a\x20local\x20runtime\x20Skill\x20draft\x20without\x20uploading\x20or\x20publishing\x20it.','Skill\x20path\x20already\x20exists\x20and\x20is\x20not\x20a\x20writable\x20directory:\x20','isDirectory','Create\x20a\x20local\x20self-contained\x20runtime\x20Skill\x20draft','Skill\x20directory\x20already\x20exists:\x20','bool','type','isSymbolicLink','32904kagYWj','trim','skill','skillName','utf8','name','3oFtOaU','2299520TQMqPB','4471452MYmBLT','190kjAIII','create','force','WRITE','1465028QuOuXH','104fspNmc','Created\x20local\x20Skill\x20draft\x20','read','12984pMwEET','965041XVkGCM','rendered','path','map','11BwBVLj','validation','skillDir'];a66_0x50de=function(){return _0x253f1f;};return a66_0x50de();}function writeSkillDraft(_0x5bf7f5,_0x5ceea2){const _0x5f5963=a66_0x99eb60;if(existsSync(_0x5bf7f5['skillDir'])){const _0x4d25bc=lstatSync(_0x5bf7f5[_0x5f5963(0x106)]);if(!_0x4d25bc[_0x5f5963(0x10e)]()||_0x4d25bc['isSymbolicLink']())throw CliErrors['validation'](_0x5f5963(0x10d)+_0x5bf7f5[_0x5f5963(0x106)]);if(!_0x5ceea2)throw CliErrors[_0x5f5963(0x105)](_0x5f5963(0x110)+_0x5bf7f5[_0x5f5963(0x106)],'Pass\x20--force\x20to\x20overwrite\x20generated\x20template\x20files.');}for(const _0x3b51cd of _0x5bf7f5['rendered']['files']){const _0x12bf93=resolve(_0x5bf7f5[_0x5f5963(0x106)],_0x3b51cd[_0x5f5963(0x102)]),_0x4bf676=dirname(_0x12bf93);mkdirSync(_0x4bf676,{'recursive':!![]});if(existsSync(_0x12bf93)&&lstatSync(_0x12bf93)[_0x5f5963(0x113)]())throw CliErrors[_0x5f5963(0x105)]('Refusing\x20to\x20overwrite\x20symlink:\x20'+_0x12bf93);writeFileSync(_0x12bf93,_0x3b51cd['content'],_0x5f5963(0xf2));}}
1
+ const a66_0x12ab6e=a66_0x521e;(function(_0x6aca00,_0x42d406){const _0x4fe751=a66_0x521e,_0x447b49=_0x6aca00();while(!![]){try{const _0x14aa65=parseInt(_0x4fe751(0x170))/0x1+parseInt(_0x4fe751(0x16c))/0x2+-parseInt(_0x4fe751(0x16a))/0x3+-parseInt(_0x4fe751(0x166))/0x4+parseInt(_0x4fe751(0x17d))/0x5+-parseInt(_0x4fe751(0x167))/0x6+parseInt(_0x4fe751(0x169))/0x7*(parseInt(_0x4fe751(0x171))/0x8);if(_0x14aa65===_0x42d406)break;else _0x447b49['push'](_0x447b49['shift']());}catch(_0x4f7726){_0x447b49['push'](_0x447b49['shift']());}}}(a66_0x54d4,0xdb97b));import{existsSync,lstatSync,mkdirSync,writeFileSync}from'node:fs';function a66_0x521e(_0x35bdb4,_0x17e45d){_0x35bdb4=_0x35bdb4-0x15b;const _0x54d4eb=a66_0x54d4();let _0x521e50=_0x54d4eb[_0x35bdb4];return _0x521e50;}import{dirname,resolve}from'node:path';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_0x12ab6e(0x15e),'command':a66_0x12ab6e(0x15d),'description':'Create\x20a\x20local\x20self-contained\x20runtime\x20Skill\x20draft','risk':a66_0x12ab6e(0x16d),'requiresAuth':![],'requiresAppCode':![],'flags':[CREATE_NAME_FLAG,TYPE_FLAG,TARGET_FLAG,FORCE_FLAG],async 'dryRun'(_0x4fbb5a){const _0x1079b7=a66_0x12ab6e,_0x27a66f=buildSkillCreatePlan(_0x4fbb5a[_0x1079b7(0x16f)]('name'),_0x4fbb5a['str'](_0x1079b7(0x16b)),_0x4fbb5a[_0x1079b7(0x16f)](_0x1079b7(0x17b)));return{'method':_0x1079b7(0x162),'url':_0x27a66f[_0x1079b7(0x17c)],'body':{'skillName':_0x27a66f[_0x1079b7(0x179)][_0x1079b7(0x175)],'type':_0x27a66f[_0x1079b7(0x179)][_0x1079b7(0x16b)],'selfContained':!![],'files':_0x27a66f[_0x1079b7(0x179)][_0x1079b7(0x174)][_0x1079b7(0x15c)](_0x423d86=>_0x423d86[_0x1079b7(0x178)])},'description':_0x1079b7(0x172)};},async 'execute'(_0x594507){const _0x94f5f0=a66_0x12ab6e,_0x5018ae=buildSkillCreatePlan(_0x594507[_0x94f5f0(0x16f)](_0x94f5f0(0x168)),_0x594507['str'](_0x94f5f0(0x16b)),_0x594507['str']('target'));return writeSkillDraft(_0x5018ae,_0x594507['bool'](_0x94f5f0(0x161))),{'ok':!![],'data':{'skillName':_0x5018ae[_0x94f5f0(0x179)]['skillName'],'type':_0x5018ae[_0x94f5f0(0x179)][_0x94f5f0(0x16b)],'dir':_0x5018ae['skillDir'],'files':_0x5018ae[_0x94f5f0(0x179)][_0x94f5f0(0x174)][_0x94f5f0(0x15c)](_0x464dc2=>_0x464dc2[_0x94f5f0(0x178)])},'message':_0x94f5f0(0x176)+_0x5018ae[_0x94f5f0(0x179)]['skillName']};}};function a66_0x54d4(){const _0x2e7efc=['read','Omitting\x20--type\x20is\x20deprecated;\x20defaulting\x20to\x20write\x20for\x20compatibility.\x20Pass\x20--type\x20read\x20or\x20--type\x20write\x20explicitly.','str','1761596LNlkNE','12289448DesbuK','Create\x20a\x20local\x20runtime\x20Skill\x20draft\x20without\x20uploading\x20or\x20publishing\x20it.','Skill\x20path\x20already\x20exists\x20and\x20is\x20not\x20a\x20writable\x20directory:\x20','files','skillName','Created\x20local\x20Skill\x20draft\x20','validation','path','rendered','isDirectory','target','skillDir','4038875aABNvv','Refusing\x20to\x20overwrite\x20symlink:\x20','map','create','skill','utf8','isSymbolicLink','force','WRITE','Skill\x20directory\x20already\x20exists:\x20','content','Pass\x20--force\x20to\x20overwrite\x20generated\x20template\x20files.','2408936zVWpFz','9451446ETfsMy','name','7jhhraR','4802496Rehasf','type','1144412PzNfsd'];a66_0x54d4=function(){return _0x2e7efc;};return a66_0x54d4();}function buildSkillCreatePlan(_0x43fd4a,_0x2a90d4,_0x3bcbd7){const _0xbd494c=a66_0x12ab6e,_0x53866d=_0x2a90d4['trim'](),_0x3e91ac=renderSkillTemplate({'skillName':_0x43fd4a,'type':_0x53866d});!_0x53866d&&writeCliSideChannelLine(_0xbd494c(0x16e));const _0x1995d1=resolve(normalizeSkillTarget(_0x3bcbd7));return{'rendered':_0x3e91ac,'targetRoot':_0x1995d1,'skillDir':resolve(_0x1995d1,_0x3e91ac['skillName'])};}function normalizeSkillTarget(_0x2074a9){return(_0x2074a9||DEFAULT_SKILL_TARGET)['trim']()||DEFAULT_SKILL_TARGET;}function writeSkillDraft(_0x72c47d,_0x4927f8){const _0x3b6e3e=a66_0x12ab6e;if(existsSync(_0x72c47d[_0x3b6e3e(0x17c)])){const _0x33d464=lstatSync(_0x72c47d[_0x3b6e3e(0x17c)]);if(!_0x33d464[_0x3b6e3e(0x17a)]()||_0x33d464[_0x3b6e3e(0x160)]())throw CliErrors[_0x3b6e3e(0x177)](_0x3b6e3e(0x173)+_0x72c47d['skillDir']);if(!_0x4927f8)throw CliErrors[_0x3b6e3e(0x177)](_0x3b6e3e(0x163)+_0x72c47d[_0x3b6e3e(0x17c)],_0x3b6e3e(0x165));}for(const _0x4687da of _0x72c47d[_0x3b6e3e(0x179)][_0x3b6e3e(0x174)]){const _0x437d7b=resolve(_0x72c47d[_0x3b6e3e(0x17c)],_0x4687da['path']),_0x17bca8=dirname(_0x437d7b);mkdirSync(_0x17bca8,{'recursive':!![]});if(existsSync(_0x437d7b)&&lstatSync(_0x437d7b)[_0x3b6e3e(0x160)]())throw CliErrors[_0x3b6e3e(0x177)](_0x3b6e3e(0x15b)+_0x437d7b);writeFileSync(_0x437d7b,_0x4687da[_0x3b6e3e(0x164)],_0x3b6e3e(0x15f));}}
@@ -1 +1 @@
1
- const a67_0x64ff91=a67_0x14ab;(function(_0x38726d,_0x5bf390){const _0x5caea0=a67_0x14ab,_0x581d4c=_0x38726d();while(!![]){try{const _0x3ac274=parseInt(_0x5caea0(0x17f))/0x1+parseInt(_0x5caea0(0x186))/0x2*(-parseInt(_0x5caea0(0x170))/0x3)+parseInt(_0x5caea0(0x187))/0x4+-parseInt(_0x5caea0(0x175))/0x5*(-parseInt(_0x5caea0(0x179))/0x6)+parseInt(_0x5caea0(0x188))/0x7*(parseInt(_0x5caea0(0x194))/0x8)+parseInt(_0x5caea0(0x17d))/0x9+-parseInt(_0x5caea0(0x18c))/0xa;if(_0x3ac274===_0x5bf390)break;else _0x581d4c['push'](_0x581d4c['shift']());}catch(_0x539144){_0x581d4c['push'](_0x581d4c['shift']());}}}(a67_0x2bcc,0xa586e));import{getRuntimeSkillVersionDiagram,putRuntimeSkillVersionDiagram,validateRuntimeSkillVersionDiagram}from'../../../core/api-client.js';import{CliErrors}from'../../../errors.js';import{readRequiredSkillDiagram}from'../diagram.js';function a67_0x14ab(_0x17a3db,_0x5aecc3){_0x17a3db=_0x17a3db-0x16b;const _0x2bccc7=a67_0x2bcc();let _0x14ab97=_0x2bccc7[_0x17a3db];return _0x14ab97;}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(_0x2f0e0e){const _0x4cf03d=a67_0x14ab,_0x16cc10=_0x2f0e0e[_0x4cf03d(0x191)](_0x4cf03d(0x18e))['trim'](),_0x2f5621=_0x2f0e0e[_0x4cf03d(0x191)](_0x4cf03d(0x16c))[_0x4cf03d(0x176)](),_0x3aaaeb=_0x2f0e0e[_0x4cf03d(0x191)](_0x4cf03d(0x16d));if(!_0x16cc10||!_0x2f5621||_0x3aaaeb!==_0x4cf03d(0x17e)&&_0x3aaaeb!==_0x4cf03d(0x181))throw CliErrors[_0x4cf03d(0x192)](_0x4cf03d(0x182));return{'skillCode':_0x16cc10,'version':_0x2f5621,'scope':_0x3aaaeb};}function a67_0x2bcc(){const _0x2f355e=['trim','diagram-push','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.','11466fZQzOH','diagram-validate','skill','action','6045993ylhcsW','personal','883763UIaFcS','read','company','--skill-code,\x20--version,\x20and\x20--scope\x20personal|company\x20are\x20required.','Create\x20or\x20replace\x20a\x20Mermaid\x20diagram\x20for\x20a\x20specific\x20Skill\x20version','--source-fingerprint\x20must\x20be\x20lowercase\x20sha256:<64\x20hex\x20characters>.','Skill\x20diagram\x20validation\x20passed\x20for\x20','170358hHuxuo','2840392iXfooR','21tObMQG','unchanged','write','Show\x20the\x20current\x20Mermaid\x20diagram\x20for\x20one\x20exact\x20Skill\x20version','23145880ywHbDI',';\x20next\x20write\x20expects\x20revision\x20','skill-code','No\x20Skill\x20diagram\x20is\x20stored\x20for\x20','num','str','validation','appCode','2259688JFqbRK','\x20Skill\x20diagram\x20for\x20','Updated',';\x20first\x20write\x20expects\x20revision\x20','skillCode','version','scope','diagram-show','diagram-file','42sYEDLf','expectedDiagramRevision','created','Created','Skill\x20diagram\x20for\x20','2805uPTsQP'];a67_0x2bcc=function(){return _0x2f355e;};return a67_0x2bcc();}async function readDiagramWriteInput(_0x3efe1d){const _0x4be33d=a67_0x14ab,_0x23d2ac=_0x3efe1d[_0x4be33d(0x190)]('expected-diagram-revision'),_0x2eae72=_0x3efe1d[_0x4be33d(0x191)]('source-fingerprint')[_0x4be33d(0x176)]();if(!Number['isInteger'](_0x23d2ac)||_0x23d2ac<0x0)throw CliErrors['validation']('--expected-diagram-revision\x20must\x20be\x20a\x20non-negative\x20integer.');if(!/^sha256:[0-9a-f]{64}$/['test'](_0x2eae72))throw CliErrors[_0x4be33d(0x192)](_0x4be33d(0x184));return{'expectedDiagramRevision':_0x23d2ac,'sourceFingerprint':_0x2eae72,'diagram':await readRequiredSkillDiagram(_0x3efe1d['str'](_0x4be33d(0x16f)))};}export const diagramValidateCommand={'service':a67_0x64ff91(0x17b),'command':a67_0x64ff91(0x17a),'description':'Validate\x20a\x20Mermaid\x20diagram\x20replacement\x20for\x20one\x20exact\x20Skill\x20version','risk':'read','flags':WRITE_FLAGS,async 'execute'(_0x5775ce){const _0x36eca7=a67_0x64ff91,_0x5e952e=readDiagramTarget(_0x5775ce),_0x4d8e55=await validateRuntimeSkillVersionDiagram(_0x5775ce['appCode'],_0x5e952e[_0x36eca7(0x16b)],_0x5e952e[_0x36eca7(0x16c)],_0x5e952e[_0x36eca7(0x16d)],await readDiagramWriteInput(_0x5775ce));return{'ok':!![],'data':_0x4d8e55,'message':_0x36eca7(0x185)+_0x5e952e[_0x36eca7(0x16b)]+'@'+_0x5e952e[_0x36eca7(0x16c)]+'.'};}};export const diagramPushCommand={'service':'skill','command':a67_0x64ff91(0x177),'description':a67_0x64ff91(0x183),'risk':a67_0x64ff91(0x18a),'confirmationDescription':a67_0x64ff91(0x178),'flags':WRITE_FLAGS,async 'execute'(_0x5ef4a5){const _0x499593=a67_0x64ff91,_0x4ce03=readDiagramTarget(_0x5ef4a5),_0x1e6514=await putRuntimeSkillVersionDiagram(_0x5ef4a5[_0x499593(0x193)],_0x4ce03[_0x499593(0x16b)],_0x4ce03[_0x499593(0x16c)],_0x4ce03[_0x499593(0x16d)],await readDiagramWriteInput(_0x5ef4a5));return{'ok':!![],'data':_0x1e6514,'message':_0x1e6514[_0x499593(0x17c)]===_0x499593(0x189)?_0x499593(0x174)+_0x4ce03[_0x499593(0x16b)]+'@'+_0x4ce03['version']+'\x20is\x20unchanged.':(_0x1e6514[_0x499593(0x17c)]===_0x499593(0x172)?_0x499593(0x173):_0x499593(0x196))+_0x499593(0x195)+_0x4ce03['skillCode']+'@'+_0x4ce03[_0x499593(0x16c)]+'.'};}};export const diagramShowCommand={'service':a67_0x64ff91(0x17b),'command':a67_0x64ff91(0x16e),'description':a67_0x64ff91(0x18b),'risk':a67_0x64ff91(0x180),'flags':TARGET_FLAGS,async 'execute'(_0x3641b2){const _0x9d2922=a67_0x64ff91,_0x350f20=readDiagramTarget(_0x3641b2),_0x2f5270=await getRuntimeSkillVersionDiagram(_0x3641b2[_0x9d2922(0x193)],_0x350f20['skillCode'],_0x350f20['version'],_0x350f20['scope']);return{'ok':!![],'data':_0x2f5270,'message':_0x2f5270['found']?'Found\x20Skill\x20diagram\x20for\x20'+_0x350f20[_0x9d2922(0x16b)]+'@'+_0x350f20[_0x9d2922(0x16c)]+_0x9d2922(0x18d)+_0x2f5270['expectedDiagramRevision']+'.':_0x9d2922(0x18f)+_0x350f20[_0x9d2922(0x16b)]+'@'+_0x350f20[_0x9d2922(0x16c)]+_0x9d2922(0x197)+_0x2f5270[_0x9d2922(0x171)]+'.'};}};
1
+ const a67_0x28ee8d=a67_0x2398;function a67_0x1dcd(){const _0x536bad=['352FVapld','--source-fingerprint\x20must\x20be\x20lowercase\x20sha256:<64\x20hex\x20characters>.','found','Created','16404BNUszW','action','631995OVrifY','Skill\x20diagram\x20for\x20','version','personal','7829847ZKfADf','trim',';\x20next\x20write\x20expects\x20revision\x20','str','skillCode','skill-code','Validate\x20a\x20Mermaid\x20diagram\x20replacement\x20for\x20one\x20exact\x20Skill\x20version','write','190765dwImAU','4ZpcQMN','Skill\x20diagram\x20validation\x20passed\x20for\x20','scope','unchanged','diagram-show','expectedDiagramRevision','expected-diagram-revision','598764rRVjQd','Show\x20the\x20current\x20Mermaid\x20diagram\x20for\x20one\x20exact\x20Skill\x20version','read','No\x20Skill\x20diagram\x20is\x20stored\x20for\x20','validation','\x20Skill\x20diagram\x20for\x20','Updated','471304rHCWza','Found\x20Skill\x20diagram\x20for\x20','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.','appCode','--expected-diagram-revision\x20must\x20be\x20a\x20non-negative\x20integer.','3211446TTbMqu','skill'];a67_0x1dcd=function(){return _0x536bad;};return a67_0x1dcd();}(function(_0x56b3ff,_0x2f7c7c){const _0x3dcb0c=a67_0x2398,_0x368965=_0x56b3ff();while(!![]){try{const _0x5a8ab3=-parseInt(_0x3dcb0c(0x14e))/0x1*(-parseInt(_0x3dcb0c(0x14f))/0x2)+parseInt(_0x3dcb0c(0x168))/0x3*(-parseInt(_0x3dcb0c(0x164))/0x4)+parseInt(_0x3dcb0c(0x16a))/0x5+-parseInt(_0x3dcb0c(0x156))/0x6+-parseInt(_0x3dcb0c(0x162))/0x7+-parseInt(_0x3dcb0c(0x15d))/0x8+parseInt(_0x3dcb0c(0x16e))/0x9;if(_0x5a8ab3===_0x2f7c7c)break;else _0x368965['push'](_0x368965['shift']());}catch(_0x58d7d3){_0x368965['push'](_0x368965['shift']());}}}(a67_0x1dcd,0x442cb));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(_0x542654){const _0x51f456=a67_0x2398,_0x5abec1=_0x542654[_0x51f456(0x149)](_0x51f456(0x14b))[_0x51f456(0x147)](),_0x4e2865=_0x542654[_0x51f456(0x149)](_0x51f456(0x16c))['trim'](),_0x36793b=_0x542654[_0x51f456(0x149)](_0x51f456(0x151));if(!_0x5abec1||!_0x4e2865||_0x36793b!==_0x51f456(0x16d)&&_0x36793b!=='company')throw CliErrors[_0x51f456(0x15a)]('--skill-code,\x20--version,\x20and\x20--scope\x20personal|company\x20are\x20required.');return{'skillCode':_0x5abec1,'version':_0x4e2865,'scope':_0x36793b};}async function readDiagramWriteInput(_0x135799){const _0x56fd52=a67_0x2398,_0x19328e=_0x135799['num'](_0x56fd52(0x155)),_0x3a2f8f=_0x135799[_0x56fd52(0x149)]('source-fingerprint')[_0x56fd52(0x147)]();if(!Number['isInteger'](_0x19328e)||_0x19328e<0x0)throw CliErrors[_0x56fd52(0x15a)](_0x56fd52(0x161));if(!/^sha256:[0-9a-f]{64}$/['test'](_0x3a2f8f))throw CliErrors[_0x56fd52(0x15a)](_0x56fd52(0x165));return{'expectedDiagramRevision':_0x19328e,'sourceFingerprint':_0x3a2f8f,'diagram':await readRequiredSkillDiagram(_0x135799[_0x56fd52(0x149)]('diagram-file'))};}function a67_0x2398(_0x26149b,_0x440227){_0x26149b=_0x26149b-0x147;const _0x1dcde5=a67_0x1dcd();let _0x2398d6=_0x1dcde5[_0x26149b];return _0x2398d6;}export const diagramValidateCommand={'service':a67_0x28ee8d(0x163),'command':'diagram-validate','description':a67_0x28ee8d(0x14c),'risk':a67_0x28ee8d(0x158),'flags':WRITE_FLAGS,async 'execute'(_0x55b4b8){const _0x59e17f=a67_0x28ee8d,_0x2bf58e=readDiagramTarget(_0x55b4b8),_0x53e9a5=await validateRuntimeSkillVersionDiagram(_0x55b4b8[_0x59e17f(0x160)],_0x2bf58e[_0x59e17f(0x14a)],_0x2bf58e[_0x59e17f(0x16c)],_0x2bf58e[_0x59e17f(0x151)],await readDiagramWriteInput(_0x55b4b8));return{'ok':!![],'data':_0x53e9a5,'message':_0x59e17f(0x150)+_0x2bf58e[_0x59e17f(0x14a)]+'@'+_0x2bf58e[_0x59e17f(0x16c)]+'.'};}};export const diagramPushCommand={'service':a67_0x28ee8d(0x163),'command':'diagram-push','description':'Create\x20or\x20replace\x20a\x20Mermaid\x20diagram\x20for\x20a\x20specific\x20Skill\x20version','risk':a67_0x28ee8d(0x14d),'confirmationDescription':a67_0x28ee8d(0x15f),'flags':WRITE_FLAGS,async 'execute'(_0x4d7b44){const _0x4955cc=a67_0x28ee8d,_0x492cdb=readDiagramTarget(_0x4d7b44),_0x779990=await putRuntimeSkillVersionDiagram(_0x4d7b44['appCode'],_0x492cdb['skillCode'],_0x492cdb[_0x4955cc(0x16c)],_0x492cdb[_0x4955cc(0x151)],await readDiagramWriteInput(_0x4d7b44));return{'ok':!![],'data':_0x779990,'message':_0x779990['action']===_0x4955cc(0x152)?_0x4955cc(0x16b)+_0x492cdb['skillCode']+'@'+_0x492cdb[_0x4955cc(0x16c)]+'\x20is\x20unchanged.':(_0x779990[_0x4955cc(0x169)]==='created'?_0x4955cc(0x167):_0x4955cc(0x15c))+_0x4955cc(0x15b)+_0x492cdb[_0x4955cc(0x14a)]+'@'+_0x492cdb['version']+'.'};}};export const diagramShowCommand={'service':a67_0x28ee8d(0x163),'command':a67_0x28ee8d(0x153),'description':a67_0x28ee8d(0x157),'risk':a67_0x28ee8d(0x158),'flags':TARGET_FLAGS,async 'execute'(_0x23d07f){const _0x5c586d=a67_0x28ee8d,_0x53dabb=readDiagramTarget(_0x23d07f),_0xff4ae9=await getRuntimeSkillVersionDiagram(_0x23d07f[_0x5c586d(0x160)],_0x53dabb[_0x5c586d(0x14a)],_0x53dabb[_0x5c586d(0x16c)],_0x53dabb[_0x5c586d(0x151)]);return{'ok':!![],'data':_0xff4ae9,'message':_0xff4ae9[_0x5c586d(0x166)]?_0x5c586d(0x15e)+_0x53dabb[_0x5c586d(0x14a)]+'@'+_0x53dabb[_0x5c586d(0x16c)]+_0x5c586d(0x148)+_0xff4ae9[_0x5c586d(0x154)]+'.':_0x5c586d(0x159)+_0x53dabb['skillCode']+'@'+_0x53dabb[_0x5c586d(0x16c)]+';\x20first\x20write\x20expects\x20revision\x20'+_0xff4ae9[_0x5c586d(0x154)]+'.'};}};
@@ -1 +1 @@
1
- const a68_0x44e28b=a68_0x4c59;(function(_0x331ce2,_0x1ad891){const _0x55ab9a=a68_0x4c59,_0x3148f9=_0x331ce2();while(!![]){try{const _0x907ef=parseInt(_0x55ab9a(0x130))/0x1*(parseInt(_0x55ab9a(0x14c))/0x2)+-parseInt(_0x55ab9a(0x133))/0x3+parseInt(_0x55ab9a(0x134))/0x4*(parseInt(_0x55ab9a(0x138))/0x5)+-parseInt(_0x55ab9a(0x125))/0x6*(-parseInt(_0x55ab9a(0x13b))/0x7)+-parseInt(_0x55ab9a(0x150))/0x8+parseInt(_0x55ab9a(0x142))/0x9*(parseInt(_0x55ab9a(0x141))/0xa)+-parseInt(_0x55ab9a(0x137))/0xb;if(_0x907ef===_0x1ad891)break;else _0x3148f9['push'](_0x3148f9['shift']());}catch(_0x5b1eda){_0x3148f9['push'](_0x3148f9['shift']());}}}(a68_0x54cf,0x38a5d));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_0x54cf(){const _0x247f2c=['363726AwywNp','28ZRKOfg','version','accessKey','761640jHNpSv','267965QzYDfL','trim','code','271061MuyuWo','appCode','\x20personal\x20and\x20','str','company','created','799580fMCsHH','45jKsqZI','unchanged','envName','action','filter','skipped','updated','skill','scope','production','18322vsnunk','authRequired','read','all','3642240iBwBlJ','force','skillRoots','removed','Installed\x20','length','personal','6rGuTZS','project','skillCode','global','install','from','includes','reduce','bool','min','map','7XBCvMO','Install\x20current-app\x20business\x20Skills\x20into\x20user-level\x20Agent\x20skill\x20directories','\x20company\x20Skill(s).'];a68_0x54cf=function(){return _0x247f2c;};return a68_0x54cf();}import{summarizeRuntimeSkill}from'../summary.js';const PACKAGE_DOWNLOAD_CONCURRENCY=0x4;function a68_0x4c59(_0x20c6a5,_0x25d1bd){_0x20c6a5=_0x20c6a5-0x125;const _0x54cfb8=a68_0x54cf();let _0x4c5997=_0x54cfb8[_0x20c6a5];return _0x4c5997;}export const installCommand={'service':a68_0x44e28b(0x149),'command':a68_0x44e28b(0x129),'description':a68_0x44e28b(0x131),'risk':a68_0x44e28b(0x14e),'requiresAuth':!![],'requiresAppCode':!![],'hasFormat':![],'flags':[CODE_FLAG,SCOPE_FLAG,FORCE_FLAG,PROJECT_TARGET_FLAG],async 'execute'(_0x217b16){return syncRuntimeSkills(_0x217b16);}};async function syncRuntimeSkills(_0x3294b6){const _0xd7e6ea=a68_0x44e28b,{downloadRuntimeSkillPackage:_0x185bc,listRuntimeSkills:_0x256872}=await import('../../../core/api-client.js'),{linkEffectiveRuntimeSkills:_0xe49821,materializeRuntimeSkill:_0x4ea94c,pruneStaleRuntimeSkillCache:_0x425f7a,pruneStaleRuntimeSkillLinks:_0x21c01a,resolveRuntimeSkillInstallTarget:_0x4793a2,reuseMaterializedRuntimeSkill:_0x2b360d}=await import('../../../skills/runtime-skill-sync.js'),_0x201c69=_0x3294b6[_0xd7e6ea(0x13e)](_0xd7e6ea(0x13a)),_0x3727f9=normalizeSyncScopes(_0x3294b6[_0xd7e6ea(0x13e)](_0xd7e6ea(0x14a))),_0x471e76=_0x3294b6[_0xd7e6ea(0x144)]??_0xd7e6ea(0x14b),_0x381411=_0x3294b6[_0xd7e6ea(0x136)],_0x32c8b6=_0x3294b6[_0xd7e6ea(0x12d)](_0xd7e6ea(0x151));if(!_0x381411)throw CliErrors[_0xd7e6ea(0x14d)]('Business\x20Skill\x20installation\x20requires\x20authentication.\x20Run\x20`lovrabet\x20auth\x20login`,\x20or\x20use\x20`lovrabet\x20cli-skill\x20install`\x20for\x20CLI\x20Built-in\x20Skill\x20setup.');const _0x477edb=_0x4793a2(_0x3294b6[_0xd7e6ea(0x13c)],_0x3294b6['bool']('project')?_0xd7e6ea(0x126):_0xd7e6ea(0x128)),_0x401e3a=_0x4793a2(_0x3294b6['appCode'],_0x477edb[_0xd7e6ea(0x14a)]===_0xd7e6ea(0x126)?_0xd7e6ea(0x128):_0xd7e6ea(0x126)),_0x1e75bb=await _0x256872({'appCode':_0x3294b6[_0xd7e6ea(0x13c)],'scope':_0x3727f9[_0xd7e6ea(0x155)]===0x1?_0x3727f9[0x0]:_0xd7e6ea(0x14f),'code':_0x201c69['trim']()||undefined,'installableOnly':!![]}),_0x25f6ff=_0x3727f9['includes']('personal')?_0x1e75bb[_0xd7e6ea(0x156)]:[],_0x1f6463=_0x3727f9[_0xd7e6ea(0x12b)]('company')?_0x1e75bb[_0xd7e6ea(0x13f)]:[],_0xd96c3=new Set([..._0x25f6ff[_0xd7e6ea(0x12f)](_0x554506=>_0x554506[_0xd7e6ea(0x127)]?.['trim']())[_0xd7e6ea(0x146)](_0x411dd6=>Boolean(_0x411dd6)),..._0x1f6463[_0xd7e6ea(0x12f)](_0x1b37f8=>_0x1b37f8[_0xd7e6ea(0x127)]?.['trim']())[_0xd7e6ea(0x146)](_0x205bc6=>Boolean(_0x205bc6))]),_0x51a289=_0x201c69[_0xd7e6ea(0x139)]()?[_0x201c69[_0xd7e6ea(0x139)]()]:undefined,_0xf2866b=_0x3727f9[_0xd7e6ea(0x155)]===0x2&&_0x3727f9['includes'](_0xd7e6ea(0x156))&&_0x3727f9['includes']('company'),_0x35bd79=_0xf2866b?_0x21c01a(_0x477edb,_0xd96c3,_0x51a289):[],_0x208468=_0x425f7a({'env':_0x471e76,'accessKey':_0x381411,'appCode':_0x3294b6[_0xd7e6ea(0x13c)],'activeSkillCodes':_0xd96c3,'pruneSkillCodes':_0x51a289,'scopes':_0x3727f9,'protectedLinkRoots':_0x401e3a[_0xd7e6ea(0x152)]}),_0x300fd2=[..._0x25f6ff[_0xd7e6ea(0x12f)](_0x597333=>({'skill':_0x597333,'scope':_0xd7e6ea(0x156)})),..._0x1f6463[_0xd7e6ea(0x12f)](_0x2e7db2=>({'skill':_0x2e7db2,'scope':_0xd7e6ea(0x13f)}))],_0x5e1566=await mapConcurrent(_0x300fd2,PACKAGE_DOWNLOAD_CONCURRENCY,async({skill:_0x55e394,scope:_0x4c9949})=>{const _0x291ca2=_0xd7e6ea,_0xc66445=_0x2b360d(_0x55e394,_0x4c9949,{'env':_0x471e76,'accessKey':_0x381411,'appCode':_0x3294b6['appCode']});if(_0xc66445)return _0xc66445;return _0x4ea94c(_0x55e394,_0x4c9949,{'env':_0x471e76,'accessKey':_0x381411,'appCode':_0x3294b6[_0x291ca2(0x13c)],'force':_0x32c8b6,'packageBytes':await downloadSkillPackage(_0x55e394,_0x4c9949,_0x3294b6[_0x291ca2(0x13c)],_0x185bc)});}),_0x3fe375=_0xe49821(_0x5e1566,_0x477edb),_0xe05cc3=countLinkActions(_0x3fe375);return{'ok':!![],'data':{'appCode':_0x3294b6['appCode'],..._0x477edb[_0xd7e6ea(0x14a)]==='project'?{'installTarget':{'scope':_0x477edb['scope'],'skillRoots':[..._0x477edb[_0xd7e6ea(0x152)]]}}:{},'personal':_0x25f6ff['length'],'company':_0x1f6463[_0xd7e6ea(0x155)],'materialized':_0x5e1566[_0xd7e6ea(0x155)],'links':{'total':_0x3fe375[_0xd7e6ea(0x155)],'created':_0xe05cc3[_0xd7e6ea(0x140)]??0x0,'updated':_0xe05cc3[_0xd7e6ea(0x148)]??0x0,'unchanged':_0xe05cc3[_0xd7e6ea(0x143)]??0x0,'skipped':0x0,'conflicted':0x0},'pruned':{'links':_0x35bd79[_0xd7e6ea(0x146)](_0x2dc1f8=>_0x2dc1f8[_0xd7e6ea(0x145)]===_0xd7e6ea(0x153))[_0xd7e6ea(0x155)],'cacheDirs':_0x208468[_0xd7e6ea(0x146)](_0x359e14=>_0x359e14[_0xd7e6ea(0x145)]===_0xd7e6ea(0x153))[_0xd7e6ea(0x155)],'skipped':[..._0x35bd79,..._0x208468]['filter'](_0x5e7533=>_0x5e7533[_0xd7e6ea(0x145)]===_0xd7e6ea(0x147))['length']},'skills':{'personal':_0x25f6ff[_0xd7e6ea(0x12f)](summarizeRuntimeSkill),'company':_0x1f6463[_0xd7e6ea(0x12f)](summarizeRuntimeSkill)}},'message':_0xd7e6ea(0x154)+_0x25f6ff[_0xd7e6ea(0x155)]+_0xd7e6ea(0x13d)+_0x1f6463[_0xd7e6ea(0x155)]+_0xd7e6ea(0x132)};}async function mapConcurrent(_0x125722,_0x1343ca,_0x37b030){const _0x3bc6a3=a68_0x44e28b,_0x2928be=new Array(_0x125722[_0x3bc6a3(0x155)]);let _0x203798=0x0;const _0x183600=Array[_0x3bc6a3(0x12a)]({'length':Math[_0x3bc6a3(0x12e)](_0x1343ca,_0x125722[_0x3bc6a3(0x155)])},async()=>{const _0x1dcedc=_0x3bc6a3;while(_0x203798<_0x125722[_0x1dcedc(0x155)]){const _0x237776=_0x203798;_0x203798+=0x1,_0x2928be[_0x237776]=await _0x37b030(_0x125722[_0x237776]);}});return await Promise[_0x3bc6a3(0x14f)](_0x183600),_0x2928be;}async function downloadSkillPackage(_0x5043ec,_0x95cdf3,_0x2e7ac0,_0x444ec2){const _0x308bec=a68_0x44e28b,_0x42267d=_0x5043ec[_0x308bec(0x135)]?.[_0x308bec(0x139)]();return _0x42267d?_0x444ec2(_0x95cdf3,_0x5043ec['skillCode'],_0x2e7ac0,_0x42267d):_0x444ec2(_0x95cdf3,_0x5043ec[_0x308bec(0x127)],_0x2e7ac0);}function countLinkActions(_0x5271df){const _0x194b89=a68_0x44e28b;return _0x5271df[_0x194b89(0x12c)]((_0x396246,_0x5f2e5b)=>{const _0x1d5fb9=_0x194b89;return _0x396246[_0x5f2e5b[_0x1d5fb9(0x145)]]=(_0x396246[_0x5f2e5b[_0x1d5fb9(0x145)]]??0x0)+0x1,_0x396246;},{});}
1
+ const a68_0x17d585=a68_0x3f71;(function(_0xf57367,_0x250215){const _0xb60c63=a68_0x3f71,_0x2da8b5=_0xf57367();while(!![]){try{const _0x1c4622=-parseInt(_0xb60c63(0x1f2))/0x1*(parseInt(_0xb60c63(0x1fa))/0x2)+-parseInt(_0xb60c63(0x211))/0x3*(-parseInt(_0xb60c63(0x20a))/0x4)+-parseInt(_0xb60c63(0x1e6))/0x5+-parseInt(_0xb60c63(0x1eb))/0x6+parseInt(_0xb60c63(0x1f1))/0x7*(parseInt(_0xb60c63(0x208))/0x8)+parseInt(_0xb60c63(0x1e7))/0x9*(-parseInt(_0xb60c63(0x1ee))/0xa)+parseInt(_0xb60c63(0x1ec))/0xb;if(_0x1c4622===_0x250215)break;else _0x2da8b5['push'](_0x2da8b5['shift']());}catch(_0x564959){_0x2da8b5['push'](_0x2da8b5['shift']());}}}(a68_0x388c,0x51234));import{CliErrors}from'../../../errors.js';import{CODE_FLAG,FORCE_FLAG,PROJECT_TARGET_FLAG,SCOPE_FLAG}from'../flags.js';import{normalizeSyncScopes}from'../scopes.js';import{summarizeRuntimeSkill}from'../summary.js';const PACKAGE_DOWNLOAD_CONCURRENCY=0x4;export const installCommand={'service':'skill','command':a68_0x17d585(0x209),'description':a68_0x17d585(0x207),'risk':a68_0x17d585(0x1ff),'requiresAuth':!![],'requiresAppCode':!![],'hasFormat':![],'flags':[CODE_FLAG,SCOPE_FLAG,FORCE_FLAG,PROJECT_TARGET_FLAG],async 'execute'(_0x399f16){return syncRuntimeSkills(_0x399f16);}};function a68_0x3f71(_0x429a3c,_0x3e24f6){_0x429a3c=_0x429a3c-0x1e6;const _0x388ce7=a68_0x388c();let _0x3f7152=_0x388ce7[_0x429a3c];return _0x3f7152;}async function syncRuntimeSkills(_0x30859e){const _0x13ac7b=a68_0x17d585,{downloadRuntimeSkillPackage:_0x17bc3f,listRuntimeSkills:_0x475659}=await import(_0x13ac7b(0x20f)),{linkEffectiveRuntimeSkills:_0x1fc962,materializeRuntimeSkill:_0x403e67,pruneStaleRuntimeSkillCache:_0x402420,pruneStaleRuntimeSkillLinks:_0x1a2f10,resolveRuntimeSkillInstallTarget:_0xaa2faf,reuseMaterializedRuntimeSkill:_0x285700}=await import(_0x13ac7b(0x204)),_0x53ad06=_0x30859e[_0x13ac7b(0x1f6)]('code'),_0x548e87=normalizeSyncScopes(_0x30859e['str'](_0x13ac7b(0x1fc))),_0xf023ee=_0x30859e[_0x13ac7b(0x210)]??_0x13ac7b(0x1f3),_0x236fe9=_0x30859e[_0x13ac7b(0x20e)],_0x3097ab=_0x30859e[_0x13ac7b(0x212)](_0x13ac7b(0x1f7));if(!_0x236fe9)throw CliErrors['authRequired']('Business\x20Skill\x20installation\x20requires\x20authentication.\x20Run\x20`lovrabet\x20auth\x20login`,\x20or\x20use\x20`lovrabet\x20cli-skill\x20install`\x20for\x20CLI\x20Built-in\x20Skill\x20setup.');const _0x1c5a0e=_0xaa2faf(_0x30859e[_0x13ac7b(0x1f5)],_0x30859e[_0x13ac7b(0x212)](_0x13ac7b(0x205))?_0x13ac7b(0x205):_0x13ac7b(0x1f0)),_0x505f6e=_0xaa2faf(_0x30859e['appCode'],_0x1c5a0e[_0x13ac7b(0x1fc)]===_0x13ac7b(0x205)?_0x13ac7b(0x1f0):_0x13ac7b(0x205)),_0xf8a5fd=await _0x475659({'appCode':_0x30859e[_0x13ac7b(0x1f5)],'scope':_0x548e87['length']===0x1?_0x548e87[0x0]:_0x13ac7b(0x200),'code':_0x53ad06[_0x13ac7b(0x1ed)]()||undefined,'installableOnly':!![]}),_0x54690a=_0x548e87[_0x13ac7b(0x20d)](_0x13ac7b(0x1ef))?_0xf8a5fd['personal']:[],_0xc52a08=_0x548e87['includes']('company')?_0xf8a5fd['company']:[],_0x9a0575=new Set([..._0x54690a[_0x13ac7b(0x20c)](_0x1b3f74=>_0x1b3f74[_0x13ac7b(0x215)]?.[_0x13ac7b(0x1ed)]())[_0x13ac7b(0x214)](_0x2ef3a7=>Boolean(_0x2ef3a7)),..._0xc52a08[_0x13ac7b(0x20c)](_0x183bf6=>_0x183bf6[_0x13ac7b(0x215)]?.['trim']())['filter'](_0x4f6fae=>Boolean(_0x4f6fae))]),_0x422bf4=_0x53ad06[_0x13ac7b(0x1ed)]()?[_0x53ad06[_0x13ac7b(0x1ed)]()]:undefined,_0x2ae8a7=_0x548e87[_0x13ac7b(0x1fe)]===0x2&&_0x548e87['includes'](_0x13ac7b(0x1ef))&&_0x548e87[_0x13ac7b(0x20d)](_0x13ac7b(0x1f9)),_0x2ecf48=_0x2ae8a7?_0x1a2f10(_0x1c5a0e,_0x9a0575,_0x422bf4):[],_0x2124f9=_0x402420({'env':_0xf023ee,'accessKey':_0x236fe9,'appCode':_0x30859e[_0x13ac7b(0x1f5)],'activeSkillCodes':_0x9a0575,'pruneSkillCodes':_0x422bf4,'scopes':_0x548e87,'protectedLinkRoots':_0x505f6e[_0x13ac7b(0x20b)]}),_0x454729=[..._0x54690a[_0x13ac7b(0x20c)](_0x304544=>({'skill':_0x304544,'scope':'personal'})),..._0xc52a08[_0x13ac7b(0x20c)](_0x9e498f=>({'skill':_0x9e498f,'scope':_0x13ac7b(0x1f9)}))],_0x275f8a=await mapConcurrent(_0x454729,PACKAGE_DOWNLOAD_CONCURRENCY,async({skill:_0x57c35f,scope:_0x2ff52c})=>{const _0x131ad8=_0x13ac7b,_0x5b9252=_0x285700(_0x57c35f,_0x2ff52c,{'env':_0xf023ee,'accessKey':_0x236fe9,'appCode':_0x30859e[_0x131ad8(0x1f5)]});if(_0x5b9252)return _0x5b9252;return _0x403e67(_0x57c35f,_0x2ff52c,{'env':_0xf023ee,'accessKey':_0x236fe9,'appCode':_0x30859e[_0x131ad8(0x1f5)],'force':_0x3097ab,'packageBytes':await downloadSkillPackage(_0x57c35f,_0x2ff52c,_0x30859e[_0x131ad8(0x1f5)],_0x17bc3f)});}),_0x39f212=_0x1fc962(_0x275f8a,_0x1c5a0e),_0x363e8d=countLinkActions(_0x39f212);return{'ok':!![],'data':{'appCode':_0x30859e[_0x13ac7b(0x1f5)],..._0x1c5a0e['scope']===_0x13ac7b(0x205)?{'installTarget':{'scope':_0x1c5a0e[_0x13ac7b(0x1fc)],'skillRoots':[..._0x1c5a0e[_0x13ac7b(0x20b)]]}}:{},'personal':_0x54690a[_0x13ac7b(0x1fe)],'company':_0xc52a08[_0x13ac7b(0x1fe)],'materialized':_0x275f8a[_0x13ac7b(0x1fe)],'links':{'total':_0x39f212['length'],'created':_0x363e8d['created']??0x0,'updated':_0x363e8d[_0x13ac7b(0x1fd)]??0x0,'unchanged':_0x363e8d[_0x13ac7b(0x1ea)]??0x0,'skipped':0x0,'conflicted':0x0},'pruned':{'links':_0x2ecf48[_0x13ac7b(0x214)](_0x4d7782=>_0x4d7782[_0x13ac7b(0x203)]===_0x13ac7b(0x1f4))['length'],'cacheDirs':_0x2124f9['filter'](_0x1e99b6=>_0x1e99b6[_0x13ac7b(0x203)]===_0x13ac7b(0x1f4))[_0x13ac7b(0x1fe)],'skipped':[..._0x2ecf48,..._0x2124f9][_0x13ac7b(0x214)](_0x185cde=>_0x185cde[_0x13ac7b(0x203)]===_0x13ac7b(0x213))[_0x13ac7b(0x1fe)]},'skills':{'personal':_0x54690a['map'](summarizeRuntimeSkill),'company':_0xc52a08[_0x13ac7b(0x20c)](summarizeRuntimeSkill)}},'message':_0x13ac7b(0x206)+_0x54690a[_0x13ac7b(0x1fe)]+_0x13ac7b(0x1fb)+_0xc52a08[_0x13ac7b(0x1fe)]+_0x13ac7b(0x1e8)};}function a68_0x388c(){const _0x1d4d96=['production','removed','appCode','str','force','version','company','428msZmGV','\x20personal\x20and\x20','scope','updated','length','read','all','min','from','action','../../../skills/runtime-skill-sync.js','project','Installed\x20','Install\x20current-app\x20business\x20Skills\x20into\x20user-level\x20Agent\x20skill\x20directories','5025320LqEiWI','install','1296QTSVmh','skillRoots','map','includes','accessKey','../../../core/api-client.js','envName','4311QGUNbk','bool','skipped','filter','skillCode','2797430wmQwOF','119835mdraWr','\x20company\x20Skill(s).','reduce','unchanged','3770364qpaYot','13246673XyeuTh','trim','340mLUZUH','personal','global','7fcGaXV','1519OYELhF'];a68_0x388c=function(){return _0x1d4d96;};return a68_0x388c();}async function mapConcurrent(_0x274d4d,_0x36c5c8,_0x105629){const _0x757212=a68_0x17d585,_0xa70e3d=new Array(_0x274d4d[_0x757212(0x1fe)]);let _0x52647c=0x0;const _0x2c989b=Array[_0x757212(0x202)]({'length':Math[_0x757212(0x201)](_0x36c5c8,_0x274d4d[_0x757212(0x1fe)])},async()=>{const _0x2aff8d=_0x757212;while(_0x52647c<_0x274d4d[_0x2aff8d(0x1fe)]){const _0x2ec4d0=_0x52647c;_0x52647c+=0x1,_0xa70e3d[_0x2ec4d0]=await _0x105629(_0x274d4d[_0x2ec4d0]);}});return await Promise[_0x757212(0x200)](_0x2c989b),_0xa70e3d;}async function downloadSkillPackage(_0xcdc4bf,_0x28c3a6,_0x4a86cc,_0x480b99){const _0x44281b=a68_0x17d585,_0x2bf3a6=_0xcdc4bf[_0x44281b(0x1f8)]?.['trim']();return _0x2bf3a6?_0x480b99(_0x28c3a6,_0xcdc4bf[_0x44281b(0x215)],_0x4a86cc,_0x2bf3a6):_0x480b99(_0x28c3a6,_0xcdc4bf[_0x44281b(0x215)],_0x4a86cc);}function countLinkActions(_0x5f4416){const _0x9457be=a68_0x17d585;return _0x5f4416[_0x9457be(0x1e9)]((_0x585716,_0x55725d)=>{const _0x2e4043=_0x9457be;return _0x585716[_0x55725d['action']]=(_0x585716[_0x55725d[_0x2e4043(0x203)]]??0x0)+0x1,_0x585716;},{});}
@@ -1 +1 @@
1
- const a69_0x452807=a69_0x3045;(function(_0x221bb9,_0x3e0410){const _0x109ba7=a69_0x3045,_0x51b5f6=_0x221bb9();while(!![]){try{const _0x55e021=parseInt(_0x109ba7(0x10e))/0x1*(parseInt(_0x109ba7(0x100))/0x2)+-parseInt(_0x109ba7(0xf6))/0x3*(-parseInt(_0x109ba7(0x110))/0x4)+-parseInt(_0x109ba7(0x105))/0x5*(-parseInt(_0x109ba7(0x10b))/0x6)+parseInt(_0x109ba7(0x10d))/0x7*(-parseInt(_0x109ba7(0xfb))/0x8)+parseInt(_0x109ba7(0xff))/0x9+parseInt(_0x109ba7(0xfc))/0xa+-parseInt(_0x109ba7(0x10a))/0xb;if(_0x55e021===_0x3e0410)break;else _0x51b5f6['push'](_0x51b5f6['shift']());}catch(_0x103049){_0x51b5f6['push'](_0x51b5f6['shift']());}}}(a69_0x38c3,0x7c2fc));import{CliErrors}from'../../../errors.js';import{CODE_FLAG,LIST_SCOPE_FLAG,LOCAL_FLAG,PROJECT_TARGET_FLAG}from'../flags.js';function a69_0x3045(_0x37687c,_0x56e556){_0x37687c=_0x37687c-0xf0;const _0x38c38e=a69_0x38c3();let _0x304540=_0x38c38e[_0x37687c];return _0x304540;}import{listScopeToRemoteScope,listScopeToRuntimeScopes,normalizeListScope,shouldListScope}from'../scopes.js';import{summarizeLocalRuntimeSkill,summarizeRuntimeSkill}from'../summary.js';function a69_0x38c3(){const _0x2c9533=['str','personal','production','company','filter','12FDyDoe','authRequired','code','appCode','envName','8nZBwlZ','8863380ddJTFX','list','trim','1818873PNeKJa','30chtdtd','project','bool','accessKey','length','30tIPMyg','global','../../../core/api-client.js','scope','map','26465857flDSJE','499068eoKlsE','\x20remote\x20Skill(s).','213745QEPpmS','45241eYbMKE','\x20local\x20Skill(s).','679072qtmfDr','read'];a69_0x38c3=function(){return _0x2c9533;};return a69_0x38c3();}export const listCommand={'service':'skill','command':a69_0x452807(0xfd),'description':'List\x20runtime\x20Skills\x20from\x20remote\x20or\x20CLI-managed\x20local\x20cache','risk':a69_0x452807(0xf0),'flags':[CODE_FLAG,LIST_SCOPE_FLAG,LOCAL_FLAG,PROJECT_TARGET_FLAG],async 'execute'(_0x37d794){const _0x3df093=a69_0x452807,_0x75e561=_0x37d794[_0x3df093(0xf1)](_0x3df093(0xf8)),_0x29c976=normalizeListScope(_0x37d794[_0x3df093(0xf1)]('scope'));if(_0x37d794['bool']('local')){const _0x33664b=_0x37d794[_0x3df093(0x103)];if(!_0x33664b)throw CliErrors[_0x3df093(0xf7)]();const {listLocalRuntimeSkills:_0x50e31a,resolveRuntimeSkillInstallTarget:_0x449605}=await import('../../../skills/runtime-skill-sync.js'),_0x1fe147=_0x449605(_0x37d794[_0x3df093(0xf9)],_0x37d794[_0x3df093(0x102)](_0x3df093(0x101))?_0x3df093(0x101):_0x3df093(0x106)),_0x29a986=_0x50e31a({'env':_0x37d794[_0x3df093(0xfa)]??_0x3df093(0xf3),'accessKey':_0x33664b,'appCode':_0x37d794[_0x3df093(0xf9)],'scopes':listScopeToRuntimeScopes(_0x29c976),'code':_0x75e561[_0x3df093(0xfe)]()||undefined},_0x1fe147),_0x416f67=groupLocalRuntimeSkills(_0x29a986);return{'ok':!![],'data':{'appCode':_0x37d794[_0x3df093(0xf9)],'source':'local',..._0x1fe147[_0x3df093(0x108)]===_0x3df093(0x101)?{'installScope':_0x1fe147['scope']}:{},'scope':_0x29c976,'total':_0x29a986[_0x3df093(0x104)],'personal':_0x416f67[_0x3df093(0xf2)]['length'],'company':_0x416f67[_0x3df093(0xf4)][_0x3df093(0x104)],'items':_0x29a986[_0x3df093(0x109)](summarizeLocalRuntimeSkill),'skills':{'personal':_0x416f67[_0x3df093(0xf2)][_0x3df093(0x109)](summarizeLocalRuntimeSkill),'company':_0x416f67[_0x3df093(0xf4)][_0x3df093(0x109)](summarizeLocalRuntimeSkill)}},'message':'Listed\x20'+_0x29a986[_0x3df093(0x104)]+_0x3df093(0x10f)};}const {listRuntimeSkills:_0x2143a4}=await import(_0x3df093(0x107)),_0x535983=await _0x2143a4({'appCode':_0x37d794[_0x3df093(0xf9)],'scope':listScopeToRemoteScope(_0x29c976),'code':_0x75e561[_0x3df093(0xfe)]()||undefined}),_0x391538=shouldListScope(_0x29c976,'personal')?_0x535983['personal']??[]:[],_0xa3edaa=shouldListScope(_0x29c976,_0x3df093(0xf4))?_0x535983[_0x3df093(0xf4)]??[]:[],_0x918b26=[..._0x391538,..._0xa3edaa];return{'ok':!![],'data':{'appCode':_0x37d794['appCode'],'source':'remote','scope':_0x29c976,'total':_0x918b26[_0x3df093(0x104)],'personal':_0x391538[_0x3df093(0x104)],'company':_0xa3edaa[_0x3df093(0x104)],'items':_0x918b26['map'](summarizeRuntimeSkill),'skills':{'personal':_0x391538[_0x3df093(0x109)](summarizeRuntimeSkill),'company':_0xa3edaa[_0x3df093(0x109)](summarizeRuntimeSkill)}},'message':'Listed\x20'+_0x918b26[_0x3df093(0x104)]+_0x3df093(0x10c)};}};function groupLocalRuntimeSkills(_0x43672f){const _0x3f6435=a69_0x452807;return{'personal':_0x43672f[_0x3f6435(0xf5)](_0x4c100c=>_0x4c100c[_0x3f6435(0x108)]==='personal'),'company':_0x43672f[_0x3f6435(0xf5)](_0x25732c=>_0x25732c[_0x3f6435(0x108)]==='company'),'builtin':_0x43672f[_0x3f6435(0xf5)](_0x80eea4=>_0x80eea4[_0x3f6435(0x108)]==='builtin')};}
1
+ function a69_0x49e3(){const _0x255ea4=['map','6906193VdHaeP','length','appCode','45365528TlrbwN','personal','read','list','12VyMFUA','\x20local\x20Skill(s).','envName','529265gzpbJv','27pZBUgb','35snojSK','company','authRequired','global','944088NDByTA','accessKey','str','local','13404457tlWhRm','2fDKHPP','List\x20runtime\x20Skills\x20from\x20remote\x20or\x20CLI-managed\x20local\x20cache','\x20remote\x20Skill(s).','39129zOiiOY','../../../skills/runtime-skill-sync.js','Listed\x20','8CCkxQs','scope','80IFIBRj','trim','filter','4172270itTNYv','project','skill'];a69_0x49e3=function(){return _0x255ea4;};return a69_0x49e3();}const a69_0x441daa=a69_0x25e5;(function(_0x3a0380,_0x5019a5){const _0x1a68e0=a69_0x25e5,_0x7b94b1=_0x3a0380();while(!![]){try{const _0x50d9b7=-parseInt(_0x1a68e0(0xe1))/0x1*(parseInt(_0x1a68e0(0xc8))/0x2)+-parseInt(_0x1a68e0(0xcb))/0x3*(-parseInt(_0x1a68e0(0xd0))/0x4)+parseInt(_0x1a68e0(0xe3))/0x5*(parseInt(_0x1a68e0(0xe7))/0x6)+-parseInt(_0x1a68e0(0xd7))/0x7*(-parseInt(_0x1a68e0(0xce))/0x8)+parseInt(_0x1a68e0(0xe2))/0x9*(parseInt(_0x1a68e0(0xd3))/0xa)+parseInt(_0x1a68e0(0xc7))/0xb+parseInt(_0x1a68e0(0xde))/0xc*(-parseInt(_0x1a68e0(0xda))/0xd);if(_0x50d9b7===_0x5019a5)break;else _0x7b94b1['push'](_0x7b94b1['shift']());}catch(_0x14ab68){_0x7b94b1['push'](_0x7b94b1['shift']());}}}(a69_0x49e3,0xc35f2));import{CliErrors}from'../../../errors.js';function a69_0x25e5(_0x3cccf9,_0x36727a){_0x3cccf9=_0x3cccf9-0xc6;const _0x49e3e0=a69_0x49e3();let _0x25e577=_0x49e3e0[_0x3cccf9];return _0x25e577;}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_0x441daa(0xd5),'command':a69_0x441daa(0xdd),'description':a69_0x441daa(0xc9),'risk':a69_0x441daa(0xdc),'flags':[CODE_FLAG,LIST_SCOPE_FLAG,LOCAL_FLAG,PROJECT_TARGET_FLAG],async 'execute'(_0x26b369){const _0x20117a=a69_0x441daa,_0x3cb438=_0x26b369['str']('code'),_0xc8ea6d=normalizeListScope(_0x26b369[_0x20117a(0xe9)](_0x20117a(0xcf)));if(_0x26b369['bool'](_0x20117a(0xc6))){const _0x3caa39=_0x26b369[_0x20117a(0xe8)];if(!_0x3caa39)throw CliErrors[_0x20117a(0xe5)]();const {listLocalRuntimeSkills:_0x1e4f41,resolveRuntimeSkillInstallTarget:_0x2fbf6f}=await import(_0x20117a(0xcc)),_0xc00423=_0x2fbf6f(_0x26b369[_0x20117a(0xd9)],_0x26b369['bool'](_0x20117a(0xd4))?_0x20117a(0xd4):_0x20117a(0xe6)),_0x3f065e=_0x1e4f41({'env':_0x26b369[_0x20117a(0xe0)]??'production','accessKey':_0x3caa39,'appCode':_0x26b369[_0x20117a(0xd9)],'scopes':listScopeToRuntimeScopes(_0xc8ea6d),'code':_0x3cb438[_0x20117a(0xd1)]()||undefined},_0xc00423),_0xe436e3=groupLocalRuntimeSkills(_0x3f065e);return{'ok':!![],'data':{'appCode':_0x26b369['appCode'],'source':_0x20117a(0xc6),..._0xc00423[_0x20117a(0xcf)]===_0x20117a(0xd4)?{'installScope':_0xc00423[_0x20117a(0xcf)]}:{},'scope':_0xc8ea6d,'total':_0x3f065e[_0x20117a(0xd8)],'personal':_0xe436e3['personal'][_0x20117a(0xd8)],'company':_0xe436e3['company'][_0x20117a(0xd8)],'items':_0x3f065e[_0x20117a(0xd6)](summarizeLocalRuntimeSkill),'skills':{'personal':_0xe436e3[_0x20117a(0xdb)]['map'](summarizeLocalRuntimeSkill),'company':_0xe436e3[_0x20117a(0xe4)][_0x20117a(0xd6)](summarizeLocalRuntimeSkill)}},'message':_0x20117a(0xcd)+_0x3f065e[_0x20117a(0xd8)]+_0x20117a(0xdf)};}const {listRuntimeSkills:_0x12c78a}=await import('../../../core/api-client.js'),_0x305fa8=await _0x12c78a({'appCode':_0x26b369['appCode'],'scope':listScopeToRemoteScope(_0xc8ea6d),'code':_0x3cb438[_0x20117a(0xd1)]()||undefined}),_0x51b729=shouldListScope(_0xc8ea6d,_0x20117a(0xdb))?_0x305fa8['personal']??[]:[],_0x2a495d=shouldListScope(_0xc8ea6d,_0x20117a(0xe4))?_0x305fa8[_0x20117a(0xe4)]??[]:[],_0x160824=[..._0x51b729,..._0x2a495d];return{'ok':!![],'data':{'appCode':_0x26b369[_0x20117a(0xd9)],'source':'remote','scope':_0xc8ea6d,'total':_0x160824['length'],'personal':_0x51b729['length'],'company':_0x2a495d['length'],'items':_0x160824['map'](summarizeRuntimeSkill),'skills':{'personal':_0x51b729['map'](summarizeRuntimeSkill),'company':_0x2a495d[_0x20117a(0xd6)](summarizeRuntimeSkill)}},'message':_0x20117a(0xcd)+_0x160824['length']+_0x20117a(0xca)};}};function groupLocalRuntimeSkills(_0x49899c){const _0x17ede5=a69_0x441daa;return{'personal':_0x49899c[_0x17ede5(0xd2)](_0x57d522=>_0x57d522[_0x17ede5(0xcf)]===_0x17ede5(0xdb)),'company':_0x49899c[_0x17ede5(0xd2)](_0xc1e3f=>_0xc1e3f[_0x17ede5(0xcf)]===_0x17ede5(0xe4)),'builtin':_0x49899c[_0x17ede5(0xd2)](_0x358fae=>_0x358fae['scope']==='builtin')};}
@@ -1 +1 @@
1
- const a70_0x3f3ac4=a70_0x31db;(function(_0x4a68bc,_0x44895b){const _0x2b9e=a70_0x31db,_0x5ea3eb=_0x4a68bc();while(!![]){try{const _0x35db76=parseInt(_0x2b9e(0x99))/0x1+parseInt(_0x2b9e(0x90))/0x2+-parseInt(_0x2b9e(0x91))/0x3*(-parseInt(_0x2b9e(0x93))/0x4)+-parseInt(_0x2b9e(0x96))/0x5*(-parseInt(_0x2b9e(0x95))/0x6)+parseInt(_0x2b9e(0x97))/0x7*(-parseInt(_0x2b9e(0x98))/0x8)+-parseInt(_0x2b9e(0x9b))/0x9+-parseInt(_0x2b9e(0x92))/0xa;if(_0x35db76===_0x44895b)break;else _0x5ea3eb['push'](_0x5ea3eb['shift']());}catch(_0x1b4e60){_0x5ea3eb['push'](_0x5ea3eb['shift']());}}}(a70_0x234c,0xb69cb));function a70_0x31db(_0x223ce9,_0x502199){_0x223ce9=_0x223ce9-0x90;const _0x234c98=a70_0x234c();let _0x31db48=_0x234c98[_0x223ce9];return _0x31db48;}function a70_0x234c(){const _0x37326a=['3256080jyqeDM','7Cgqxjb','532936sqtfTW','629605wFssir','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.','6480252oFVOmf','Push\x20a\x20local\x20Skill\x20directory\x20to\x20personal\x20scope,\x20or\x20submit\x20a\x20company-scope\x20version\x20for\x20review','skill','2935924hCaZVn','60hgAhxM','24991950aDzqQg','126764exJzbT','push','12RQmCFd'];a70_0x234c=function(){return _0x37326a;};return a70_0x234c();}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_0x3f3ac4(0x9d),'command':a70_0x3f3ac4(0x94),'description':a70_0x3f3ac4(0x9c),'risk':'write','confirmationDescription':a70_0x3f3ac4(0x9a),'flags':[DIR_FLAG,DIAGRAM_FILE_FLAG,PUSH_SCOPE_FLAG,CONFIRM_WARNINGS_FLAG],'dryRun':skillPushDryRun,'execute':skillPushExecute};
1
+ const a70_0x1dd2ad=a70_0x35ed;function a70_0x35ed(_0x454600,_0x585572){_0x454600=_0x454600-0xa8;const _0x38293f=a70_0x3829();let _0x35edf7=_0x38293f[_0x454600];return _0x35edf7;}function a70_0x3829(){const _0x42d750=['24761cAxgPp','write','2750zNXIza','1266807PXXelq','990130NGQWQT','skill','1993491TKSjNj','365288xRFiyf','Push\x20a\x20local\x20Skill\x20directory\x20to\x20personal\x20scope,\x20or\x20submit\x20a\x20company-scope\x20version\x20for\x20review','1265424MdhnNJ','push','7sMuFqM','2557688hQHhED','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.','30wYvWeA','1LRdrgV'];a70_0x3829=function(){return _0x42d750;};return a70_0x3829();}(function(_0x3d0313,_0x251900){const _0x237d32=a70_0x35ed,_0x4ec817=_0x3d0313();while(!![]){try{const _0x3b039d=-parseInt(_0x237d32(0xb2))/0x1*(parseInt(_0x237d32(0xb7))/0x2)+-parseInt(_0x237d32(0xb6))/0x3+parseInt(_0x237d32(0xaa))/0x4*(parseInt(_0x237d32(0xb1))/0x5)+parseInt(_0x237d32(0xac))/0x6+-parseInt(_0x237d32(0xae))/0x7*(parseInt(_0x237d32(0xaf))/0x8)+parseInt(_0x237d32(0xa9))/0x9+parseInt(_0x237d32(0xb5))/0xa*(parseInt(_0x237d32(0xb3))/0xb);if(_0x3b039d===_0x251900)break;else _0x4ec817['push'](_0x4ec817['shift']());}catch(_0x16b410){_0x4ec817['push'](_0x4ec817['shift']());}}}(a70_0x3829,0x5874b));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_0x1dd2ad(0xa8),'command':a70_0x1dd2ad(0xad),'description':a70_0x1dd2ad(0xab),'risk':a70_0x1dd2ad(0xb4),'confirmationDescription':a70_0x1dd2ad(0xb0),'flags':[DIR_FLAG,DIAGRAM_FILE_FLAG,PUSH_SCOPE_FLAG,CONFIRM_WARNINGS_FLAG],'dryRun':skillPushDryRun,'execute':skillPushExecute};
@@ -1 +1 @@
1
- const a71_0x5a9ee7=a71_0x541f;function a71_0x4ff1(){const _0x333ff3=['26874HdmfFC','2260610NIXDck','type','1169245JIfESg','22OCbXjH','read','7185784ofYiJv','validate','skill','1623000mSttst','596616AsHzgW','warnings','711360MuRZor','Skill\x20validation\x20passed.','errors'];a71_0x4ff1=function(){return _0x333ff3;};return a71_0x4ff1();}(function(_0xfba88f,_0x2b4d89){const _0x1315c7=a71_0x541f,_0x281ccc=_0xfba88f();while(!![]){try{const _0x17fa2a=parseInt(_0x1315c7(0xe8))/0x1*(parseInt(_0x1315c7(0xec))/0x2)+-parseInt(_0x1315c7(0xe2))/0x3+-parseInt(_0x1315c7(0xe5))/0x4+-parseInt(_0x1315c7(0xe9))/0x5+parseInt(_0x1315c7(0xe3))/0x6+parseInt(_0x1315c7(0xeb))/0x7+parseInt(_0x1315c7(0xdf))/0x8;if(_0x17fa2a===_0x2b4d89)break;else _0x281ccc['push'](_0x281ccc['shift']());}catch(_0x258929){_0x281ccc['push'](_0x281ccc['shift']());}}}(a71_0x4ff1,0x46a42));function a71_0x541f(_0x10feae,_0x4cbd98){_0x10feae=_0x10feae-0xde;const _0x4ff1d3=a71_0x4ff1();let _0x541f76=_0x4ff1d3[_0x10feae];return _0x541f76;}import{DIR_FLAG,STRICT_FLAG}from'../flags.js';import{throwIfSkillValidationFailed,validateSkillDirectory}from'../validate.js';export const validateCommand={'service':a71_0x5a9ee7(0xe1),'command':a71_0x5a9ee7(0xe0),'description':'Validate\x20a\x20local\x20Skill\x20directory\x20as\x20a\x20self-contained\x20delivery\x20package','risk':a71_0x5a9ee7(0xde),'requiresAuth':![],'requiresAppCode':![],'flags':[DIR_FLAG,STRICT_FLAG],async 'execute'(_0x14f976){const _0xee535b=a71_0x5a9ee7,_0x53ff2e=_0x14f976['bool']('strict'),_0x2a32d4=validateSkillDirectory(_0x14f976['str']('dir'),{'strict':_0x53ff2e});return throwIfSkillValidationFailed(_0x2a32d4,_0x53ff2e),{'ok':!![],'data':{'dir':_0x2a32d4['dir'],'type':_0x2a32d4[_0xee535b(0xea)],'errors':_0x2a32d4[_0xee535b(0xe7)],'warnings':_0x2a32d4[_0xee535b(0xe4)]},'message':_0xee535b(0xe6)};}};
1
+ const a71_0x202ca5=a71_0x3d49;(function(_0x25149b,_0xef4d07){const _0x4b290a=a71_0x3d49,_0x26c16a=_0x25149b();while(!![]){try{const _0x3d2769=parseInt(_0x4b290a(0x8b))/0x1+-parseInt(_0x4b290a(0x7c))/0x2*(-parseInt(_0x4b290a(0x89))/0x3)+-parseInt(_0x4b290a(0x83))/0x4*(-parseInt(_0x4b290a(0x87))/0x5)+-parseInt(_0x4b290a(0x7f))/0x6+parseInt(_0x4b290a(0x8a))/0x7*(-parseInt(_0x4b290a(0x7a))/0x8)+parseInt(_0x4b290a(0x86))/0x9*(parseInt(_0x4b290a(0x8e))/0xa)+-parseInt(_0x4b290a(0x88))/0xb*(-parseInt(_0x4b290a(0x79))/0xc);if(_0x3d2769===_0xef4d07)break;else _0x26c16a['push'](_0x26c16a['shift']());}catch(_0xc8145d){_0x26c16a['push'](_0x26c16a['shift']());}}}(a71_0x2cab,0xba942));function a71_0x3d49(_0x714d6,_0x1553cc){_0x714d6=_0x714d6-0x78;const _0x2cabdc=a71_0x2cab();let _0x3d490d=_0x2cabdc[_0x714d6];return _0x3d490d;}import{DIR_FLAG,STRICT_FLAG}from'../flags.js';import{throwIfSkillValidationFailed,validateSkillDirectory}from'../validate.js';export const validateCommand={'service':a71_0x202ca5(0x84),'command':a71_0x202ca5(0x81),'description':'Validate\x20a\x20local\x20Skill\x20directory\x20as\x20a\x20self-contained\x20delivery\x20package','risk':a71_0x202ca5(0x8c),'requiresAuth':![],'requiresAppCode':![],'flags':[DIR_FLAG,STRICT_FLAG],async 'execute'(_0x570bf7){const _0x16143e=a71_0x202ca5,_0x19e1a7=_0x570bf7[_0x16143e(0x78)](_0x16143e(0x7b)),_0x49c8fd=validateSkillDirectory(_0x570bf7[_0x16143e(0x7d)](_0x16143e(0x85)),{'strict':_0x19e1a7});return throwIfSkillValidationFailed(_0x49c8fd,_0x19e1a7),{'ok':!![],'data':{'dir':_0x49c8fd['dir'],'type':_0x49c8fd[_0x16143e(0x80)],'errors':_0x49c8fd[_0x16143e(0x82)],'warnings':_0x49c8fd[_0x16143e(0x7e)]},'message':_0x16143e(0x8d)};}};function a71_0x2cab(){const _0x515acc=['warnings','8615748uoIjgZ','type','validate','errors','927496IBPhnl','skill','dir','372420cTDkRn','20uWvOch','121GlKfeb','429jSMgEI','7WRHrQz','208824ttYcsB','read','Skill\x20validation\x20passed.','230mojaqb','bool','387048ugJnxf','2674664pxhPXe','strict','1282mDzUOk','str'];a71_0x2cab=function(){return _0x515acc;};return a71_0x2cab();}
@@ -1 +1 @@
1
- (function(_0x39ddd,_0x499e65){const _0x46622c=a72_0x5d88,_0x4c872c=_0x39ddd();while(!![]){try{const _0x655349=-parseInt(_0x46622c(0x141))/0x1+-parseInt(_0x46622c(0x144))/0x2*(-parseInt(_0x46622c(0x137))/0x3)+-parseInt(_0x46622c(0x138))/0x4+-parseInt(_0x46622c(0x13d))/0x5+parseInt(_0x46622c(0x147))/0x6*(parseInt(_0x46622c(0x142))/0x7)+-parseInt(_0x46622c(0x139))/0x8+parseInt(_0x46622c(0x148))/0x9;if(_0x655349===_0x499e65)break;else _0x4c872c['push'](_0x4c872c['shift']());}catch(_0x51be43){_0x4c872c['push'](_0x4c872c['shift']());}}}(a72_0x5d91,0xcead1));import{existsSync,readFileSync,realpathSync,statSync}from'node:fs';import{resolve}from'node:path';import{JSDOM}from'jsdom';import{CliErrors}from'../../errors.js';let mermaidApiPromise;export async function readRequiredSkillDiagram(_0x18e4ac){return(await readRequiredSkillDiagramInput(_0x18e4ac))['diagram'];}export async function readRequiredSkillDiagramInput(_0x1281b0){const _0x5f0c8d=a72_0x5d88,_0x4563c2=_0x1281b0[_0x5f0c8d(0x13b)]();if(!_0x4563c2)throw CliErrors['validation'](_0x5f0c8d(0x140),_0x5f0c8d(0x146));let _0x34994a,_0x37af20;if(_0x4563c2==='-')try{_0x34994a=readFileSync(0x0,_0x5f0c8d(0x135));}catch{throw CliErrors[_0x5f0c8d(0x13e)](_0x5f0c8d(0x143));}else{const _0x58e1ce=resolve(_0x4563c2);if(!existsSync(_0x58e1ce))throw CliErrors[_0x5f0c8d(0x13e)](_0x5f0c8d(0x136)+_0x58e1ce);if(!statSync(_0x58e1ce)[_0x5f0c8d(0x132)]())throw CliErrors['validation'](_0x5f0c8d(0x13f)+_0x58e1ce);_0x37af20=realpathSync(_0x58e1ce),_0x34994a=readFileSync(_0x37af20,'utf8');}return{'diagram':{'schemaVersion':0x1,'mermaid':await validateAndCanonicalizeMermaid(_0x34994a)},'sourceFilePath':_0x37af20};}function a72_0x5d91(){const _0x54e273=['validation','Mermaid\x20flowchart\x20path\x20is\x20not\x20a\x20regular\x20file:\x20','--diagram-file\x20is\x20required\x20when\x20publishing\x20a\x20Skill\x20version.','892031JNolPj','7CcjlrK','Unable\x20to\x20read\x20Mermaid\x20flowchart\x20from\x20standard\x20input.','474618cSHIrY','mermaid','Generate\x20a\x20Mermaid\x20flowchart\x20and\x20pass\x20--diagram-file\x20<path>,\x20or\x20use\x20--diagram-file\x20-\x20for\x20standard\x20input.','3325164XNnkkM','4709394YMSQbF','parse','Mermaid\x20syntax\x20validation\x20failed.','document','defineProperties','isFile','window','replace','utf8','Mermaid\x20flowchart\x20file\x20not\x20found:\x20','21mAlIGC','235288xrsnBz','3813088kJxEIT','Fix\x20the\x20Mermaid\x20syntax\x20reported\x20by\x20your\x20editor\x20or\x20preview\x20tool,\x20then\x20retry\x20with\x20the\x20same\x20file.','trim','default','2322945okgwDY'];a72_0x5d91=function(){return _0x54e273;};return a72_0x5d91();}export async function validateAndCanonicalizeMermaid(_0x160d58){const _0x1d5f44=a72_0x5d88,_0x2108c6=_0x160d58['replace'](/\r\n/g,'\x0a')[_0x1d5f44(0x134)](/\r/g,'\x0a')[_0x1d5f44(0x134)](/\n+$/,'')+'\x0a';try{const _0x46504b=await loadMermaidApi();await _0x46504b[_0x1d5f44(0x149)](_0x2108c6);}catch{throw diagramValidationError();}return _0x2108c6;}function a72_0x5d88(_0x170910,_0x5716d6){_0x170910=_0x170910-0x132;const _0x5d919d=a72_0x5d91();let _0x5d886a=_0x5d919d[_0x170910];return _0x5d886a;}function loadMermaidApi(){return mermaidApiPromise??=((async()=>{const _0x18d16e=a72_0x5d88;if(!(_0x18d16e(0x133)in globalThis)||!(_0x18d16e(0x14b)in globalThis)){const _0x118f0d=new JSDOM('');Object[_0x18d16e(0x14c)](globalThis,{'window':{'configurable':!![],'value':_0x118f0d[_0x18d16e(0x133)]},'document':{'configurable':!![],'value':_0x118f0d['window'][_0x18d16e(0x14b)]}});}return(await import(_0x18d16e(0x145)))[_0x18d16e(0x13c)];})()),mermaidApiPromise;}function diagramValidationError(){const _0x121aa3=a72_0x5d88;return CliErrors[_0x121aa3(0x13e)](_0x121aa3(0x14a),_0x121aa3(0x13a));}
1
+ (function(_0x1c1c58,_0x2a592d){const _0x95f77=a72_0x1ceb,_0x55e807=_0x1c1c58();while(!![]){try{const _0x1c7839=-parseInt(_0x95f77(0x8c))/0x1*(parseInt(_0x95f77(0x90))/0x2)+-parseInt(_0x95f77(0x7a))/0x3+-parseInt(_0x95f77(0x88))/0x4+parseInt(_0x95f77(0x87))/0x5*(parseInt(_0x95f77(0x83))/0x6)+parseInt(_0x95f77(0x7e))/0x7+parseInt(_0x95f77(0x8b))/0x8*(-parseInt(_0x95f77(0x82))/0x9)+parseInt(_0x95f77(0x80))/0xa;if(_0x1c7839===_0x2a592d)break;else _0x55e807['push'](_0x55e807['shift']());}catch(_0xd09271){_0x55e807['push'](_0x55e807['shift']());}}}(a72_0x29de,0x3abf9));import{existsSync,readFileSync,realpathSync,statSync}from'node:fs';function a72_0x29de(){const _0x2ea266=['validation','2210908SsFrZY','document','8786950VNOCAX','mermaid','161802IKfIWW','8598oxEgeP','Mermaid\x20flowchart\x20file\x20not\x20found:\x20','--diagram-file\x20is\x20required\x20when\x20publishing\x20a\x20Skill\x20version.','window','1380sbXSUF','1331776jrpVXh','defineProperties','Generate\x20a\x20Mermaid\x20flowchart\x20and\x20pass\x20--diagram-file\x20<path>,\x20or\x20use\x20--diagram-file\x20-\x20for\x20standard\x20input.','88CqiiZq','30CANSaB','Mermaid\x20flowchart\x20path\x20is\x20not\x20a\x20regular\x20file:\x20','utf8','Fix\x20the\x20Mermaid\x20syntax\x20reported\x20by\x20your\x20editor\x20or\x20preview\x20tool,\x20then\x20retry\x20with\x20the\x20same\x20file.','26302cAPmTg','parse','default','replace','1272546iqQblX','isFile','Mermaid\x20syntax\x20validation\x20failed.'];a72_0x29de=function(){return _0x2ea266;};return a72_0x29de();}function a72_0x1ceb(_0x5a4cef,_0x43d493){_0x5a4cef=_0x5a4cef-0x7a;const _0x29de62=a72_0x29de();let _0x1ceb8c=_0x29de62[_0x5a4cef];return _0x1ceb8c;}import{resolve}from'node:path';import{JSDOM}from'jsdom';import{CliErrors}from'../../errors.js';let mermaidApiPromise;export async function readRequiredSkillDiagram(_0x3d7623){return(await readRequiredSkillDiagramInput(_0x3d7623))['diagram'];}export async function readRequiredSkillDiagramInput(_0x1669ac){const _0x196ba4=a72_0x1ceb,_0x6a5a30=_0x1669ac['trim']();if(!_0x6a5a30)throw CliErrors[_0x196ba4(0x7d)](_0x196ba4(0x85),_0x196ba4(0x8a));let _0x304a6d,_0x4bdba4;if(_0x6a5a30==='-')try{_0x304a6d=readFileSync(0x0,'utf8');}catch{throw CliErrors[_0x196ba4(0x7d)]('Unable\x20to\x20read\x20Mermaid\x20flowchart\x20from\x20standard\x20input.');}else{const _0x51b377=resolve(_0x6a5a30);if(!existsSync(_0x51b377))throw CliErrors[_0x196ba4(0x7d)](_0x196ba4(0x84)+_0x51b377);if(!statSync(_0x51b377)[_0x196ba4(0x7b)]())throw CliErrors[_0x196ba4(0x7d)](_0x196ba4(0x8d)+_0x51b377);_0x4bdba4=realpathSync(_0x51b377),_0x304a6d=readFileSync(_0x4bdba4,_0x196ba4(0x8e));}return{'diagram':{'schemaVersion':0x1,'mermaid':await validateAndCanonicalizeMermaid(_0x304a6d)},'sourceFilePath':_0x4bdba4};}export async function validateAndCanonicalizeMermaid(_0x1baa3d){const _0x40b49d=a72_0x1ceb,_0x519faa=_0x1baa3d[_0x40b49d(0x93)](/\r\n/g,'\x0a')[_0x40b49d(0x93)](/\r/g,'\x0a')[_0x40b49d(0x93)](/\n+$/,'')+'\x0a';try{const _0x2c84f3=await loadMermaidApi();await _0x2c84f3[_0x40b49d(0x91)](_0x519faa);}catch{throw diagramValidationError();}return _0x519faa;}function loadMermaidApi(){return mermaidApiPromise??=((async()=>{const _0x5fac99=a72_0x1ceb;if(!('window'in globalThis)||!('document'in globalThis)){const _0x468716=new JSDOM('');Object[_0x5fac99(0x89)](globalThis,{'window':{'configurable':!![],'value':_0x468716[_0x5fac99(0x86)]},'document':{'configurable':!![],'value':_0x468716[_0x5fac99(0x86)][_0x5fac99(0x7f)]}});}return(await import(_0x5fac99(0x81)))[_0x5fac99(0x92)];})()),mermaidApiPromise;}function diagramValidationError(){const _0xa124d5=a72_0x1ceb;return CliErrors['validation'](_0xa124d5(0x7c),_0xa124d5(0x8f));}
@@ -1 +1 @@
1
- const a73_0x251356=a73_0x2725;(function(_0x282110,_0x4ed916){const _0x4df4bc=a73_0x2725,_0x4dcb46=_0x282110();while(!![]){try{const _0x291c32=parseInt(_0x4df4bc(0x141))/0x1*(parseInt(_0x4df4bc(0x132))/0x2)+-parseInt(_0x4df4bc(0x12a))/0x3+-parseInt(_0x4df4bc(0x11e))/0x4+-parseInt(_0x4df4bc(0x12c))/0x5+parseInt(_0x4df4bc(0x130))/0x6+-parseInt(_0x4df4bc(0x12e))/0x7+-parseInt(_0x4df4bc(0x136))/0x8*(-parseInt(_0x4df4bc(0x12d))/0x9);if(_0x291c32===_0x4ed916)break;else _0x4dcb46['push'](_0x4dcb46['shift']());}catch(_0x4b699e){_0x4dcb46['push'](_0x4dcb46['shift']());}}}(a73_0x284c,0x298d0));import{DEFAULT_SKILL_TARGET,SKILL_NAME_PATTERN,SKILL_TYPES}from'./templates.js';export const CODE_FLAG={'name':a73_0x251356(0x139),'type':a73_0x251356(0x131),'description':a73_0x251356(0x13e)};export const SCOPE_FLAG={'name':a73_0x251356(0x138),'type':'string','description':a73_0x251356(0x137),'enum':[a73_0x251356(0x125),'personal',a73_0x251356(0x13a)]};export const PUSH_SCOPE_FLAG={'name':'scope','type':'string','description':a73_0x251356(0x13d),'default':a73_0x251356(0x11c),'enum':['personal',a73_0x251356(0x13a)]};export const LIST_SCOPE_FLAG={'name':a73_0x251356(0x138),'type':a73_0x251356(0x131),'description':a73_0x251356(0x11d),'enum':['all',a73_0x251356(0x11c),'company']};export const LOCAL_FLAG={'name':'local','type':a73_0x251356(0x135),'description':a73_0x251356(0x121)};export const DIR_FLAG={'name':a73_0x251356(0x129),'type':a73_0x251356(0x131),'required':!![],'description':a73_0x251356(0x140)};export const DIAGRAM_FILE_FLAG={'name':'diagram-file','type':a73_0x251356(0x131),'required':!![],'description':'UTF-8\x20Mermaid\x20flowchart\x20file;\x20the\x20selected\x20file\x20is\x20excluded\x20from\x20the\x20Skill\x20package;\x20use\x20-\x20for\x20stdin'};export const DIAGRAM_SKILL_CODE_FLAG={'name':a73_0x251356(0x134),'type':'string','required':!![],'description':'Exact\x20Skill\x20code\x20whose\x20version\x20diagram\x20is\x20being\x20managed'};export const DIAGRAM_VERSION_FLAG={'name':a73_0x251356(0x120),'type':a73_0x251356(0x131),'required':!![],'description':a73_0x251356(0x133)};export const DIAGRAM_SCOPE_FLAG={'name':a73_0x251356(0x138),'type':a73_0x251356(0x131),'required':!![],'enum':['personal',a73_0x251356(0x13a)],'description':a73_0x251356(0x142)};export const SOURCE_FINGERPRINT_FLAG={'name':'source-fingerprint','type':a73_0x251356(0x131),'required':!![],'description':'Server-reported\x20SkillVersion\x20source\x20fingerprint','pattern':{'regex':/^sha256:[0-9a-f]{64}$/,'description':a73_0x251356(0x127)}};export const EXPECTED_DIAGRAM_REVISION_FLAG={'name':a73_0x251356(0x13c),'type':'number','required':!![],'description':'Expected\x20current\x20diagram\x20revision;\x20use\x200\x20for\x20the\x20first\x20diagram'};function a73_0x2725(_0x5b047c,_0x2ae3d1){_0x5b047c=_0x5b047c-0x11b;const _0x284c14=a73_0x284c();let _0x27250b=_0x284c14[_0x5b047c];return _0x27250b;}export const CREATE_NAME_FLAG={'name':a73_0x251356(0x12f),'type':'string','required':!![],'description':a73_0x251356(0x13b),'pattern':{'regex':SKILL_NAME_PATTERN,'description':a73_0x251356(0x126)}};export const TYPE_FLAG={'name':a73_0x251356(0x11b),'type':'string','description':'Skill\x20template\x20type:\x20pass\x20read\x20or\x20write\x20explicitly\x20(omission\x20is\x20deprecated)','enum':[...SKILL_TYPES]};export const TARGET_FLAG={'name':a73_0x251356(0x123),'type':a73_0x251356(0x131),'description':a73_0x251356(0x12b),'default':DEFAULT_SKILL_TARGET};export const FORCE_FLAG={'name':a73_0x251356(0x11f),'type':a73_0x251356(0x135),'description':a73_0x251356(0x13f)};export const PROJECT_TARGET_FLAG={'name':'project','type':a73_0x251356(0x135),'description':a73_0x251356(0x122)};export const CONFIRM_WARNINGS_FLAG={'name':a73_0x251356(0x124),'type':a73_0x251356(0x135),'description':'Confirm\x20reviewed\x20personal\x20or\x20company\x20Skill\x20publish\x20warnings'};function a73_0x284c(){const _0xaffd8d=['lowercase\x20letters,\x20numbers,\x20and\x20single\x20hyphens','a\x20lowercase\x20sha256:<64\x20hex\x20characters>\x20fingerprint','Compatibility\x20flag;\x20no\x20extra\x20checks\x20are\x20enabled','dir','646353TJYGPQ','Directory\x20that\x20will\x20contain\x20the\x20generated\x20Skill\x20directory','1096625lfIIMy','47601ovsqkJ','289002ZTmwjy','name','344058JFwyyC','string','8bwgLJR','Exact\x20Skill\x20version\x20whose\x20diagram\x20is\x20being\x20managed','skill-code','boolean','1032NmFRKN','Skill\x20sync\x20scope:\x20all\x20(personal/company),\x20personal,\x20or\x20company','scope','code','company','Skill\x20name\x20using\x20lowercase\x20letters,\x20numbers,\x20and\x20hyphens','expected-diagram-revision','Skill\x20push\x20target\x20scope:\x20personal\x20saves\x20immediately,\x20company\x20submits\x20a\x20new\x20version\x20for\x20review','Only\x20target\x20a\x20specific\x20runtime\x20Skill\x20code','Overwrite\x20generated\x20or\x20CLI-managed\x20Skill\x20files\x20when\x20the\x20target\x20already\x20exists','Local\x20Skill\x20directory\x20containing\x20SKILL.md','386YLFllL','Exact\x20Skill\x20scope:\x20personal\x20or\x20company','type','personal','Skill\x20list\x20scope:\x20all,\x20personal,\x20or\x20company','379656hZnxKl','force','version','Read\x20CLI-managed\x20local\x20Skill\x20cache\x20and\x20links\x20instead\x20of\x20remote\x20lists','Use\x20the\x20current\x20project\x27s\x20.agents/skills\x20instead\x20of\x20user-level\x20Agent\x20Skill\x20directories','target','confirm-warnings','all'];a73_0x284c=function(){return _0xaffd8d;};return a73_0x284c();}export const STRICT_FLAG={'name':'strict','type':'boolean','description':a73_0x251356(0x128)};
1
+ const a73_0x136d5b=a73_0x35d6;(function(_0x4ade46,_0x1b1c0f){const _0x30fd58=a73_0x35d6,_0x21f4ec=_0x4ade46();while(!![]){try{const _0x43f7b3=parseInt(_0x30fd58(0x96))/0x1*(parseInt(_0x30fd58(0x6e))/0x2)+-parseInt(_0x30fd58(0x92))/0x3*(-parseInt(_0x30fd58(0x97))/0x4)+-parseInt(_0x30fd58(0x6c))/0x5+-parseInt(_0x30fd58(0x7c))/0x6+parseInt(_0x30fd58(0x6d))/0x7*(-parseInt(_0x30fd58(0x73))/0x8)+-parseInt(_0x30fd58(0x81))/0x9+parseInt(_0x30fd58(0x79))/0xa;if(_0x43f7b3===_0x1b1c0f)break;else _0x21f4ec['push'](_0x21f4ec['shift']());}catch(_0x38038d){_0x21f4ec['push'](_0x21f4ec['shift']());}}}(a73_0x3f08,0x46a73));import{DEFAULT_SKILL_TARGET,SKILL_NAME_PATTERN,SKILL_TYPES}from'./templates.js';export const CODE_FLAG={'name':a73_0x136d5b(0x98),'type':'string','description':a73_0x136d5b(0x8e)};export const SCOPE_FLAG={'name':a73_0x136d5b(0x6f),'type':'string','description':a73_0x136d5b(0x72),'enum':[a73_0x136d5b(0x8b),a73_0x136d5b(0x75),a73_0x136d5b(0x77)]};export const PUSH_SCOPE_FLAG={'name':a73_0x136d5b(0x6f),'type':a73_0x136d5b(0x7f),'description':a73_0x136d5b(0x90),'default':a73_0x136d5b(0x75),'enum':[a73_0x136d5b(0x75),'company']};export const LIST_SCOPE_FLAG={'name':a73_0x136d5b(0x6f),'type':a73_0x136d5b(0x7f),'description':a73_0x136d5b(0x85),'enum':['all','personal',a73_0x136d5b(0x77)]};function a73_0x35d6(_0x5991ed,_0x5a7388){_0x5991ed=_0x5991ed-0x69;const _0x3f087d=a73_0x3f08();let _0x35d6e5=_0x3f087d[_0x5991ed];return _0x35d6e5;}export const LOCAL_FLAG={'name':a73_0x136d5b(0x76),'type':a73_0x136d5b(0x88),'description':a73_0x136d5b(0x83)};export const DIR_FLAG={'name':a73_0x136d5b(0x87),'type':a73_0x136d5b(0x7f),'required':!![],'description':a73_0x136d5b(0x80)};export const DIAGRAM_FILE_FLAG={'name':a73_0x136d5b(0x9a),'type':a73_0x136d5b(0x7f),'required':!![],'description':'UTF-8\x20Mermaid\x20flowchart\x20file;\x20the\x20selected\x20file\x20is\x20excluded\x20from\x20the\x20Skill\x20package;\x20use\x20-\x20for\x20stdin'};export const DIAGRAM_SKILL_CODE_FLAG={'name':a73_0x136d5b(0x86),'type':a73_0x136d5b(0x7f),'required':!![],'description':'Exact\x20Skill\x20code\x20whose\x20version\x20diagram\x20is\x20being\x20managed'};export const DIAGRAM_VERSION_FLAG={'name':a73_0x136d5b(0x6b),'type':a73_0x136d5b(0x7f),'required':!![],'description':a73_0x136d5b(0x91)};export const DIAGRAM_SCOPE_FLAG={'name':a73_0x136d5b(0x6f),'type':a73_0x136d5b(0x7f),'required':!![],'enum':[a73_0x136d5b(0x75),a73_0x136d5b(0x77)],'description':a73_0x136d5b(0x8f)};export const SOURCE_FINGERPRINT_FLAG={'name':a73_0x136d5b(0x7b),'type':a73_0x136d5b(0x7f),'required':!![],'description':a73_0x136d5b(0x6a),'pattern':{'regex':/^sha256:[0-9a-f]{64}$/,'description':a73_0x136d5b(0x74)}};export const EXPECTED_DIAGRAM_REVISION_FLAG={'name':a73_0x136d5b(0x7a),'type':a73_0x136d5b(0x82),'required':!![],'description':a73_0x136d5b(0x8a)};export const CREATE_NAME_FLAG={'name':'name','type':a73_0x136d5b(0x7f),'required':!![],'description':a73_0x136d5b(0x8c),'pattern':{'regex':SKILL_NAME_PATTERN,'description':a73_0x136d5b(0x95)}};export const TYPE_FLAG={'name':a73_0x136d5b(0x69),'type':a73_0x136d5b(0x7f),'description':a73_0x136d5b(0x93),'enum':[...SKILL_TYPES]};function a73_0x3f08(){const _0x11d96b=['336tcKTDl','492586ewSuzT','scope','target','Directory\x20that\x20will\x20contain\x20the\x20generated\x20Skill\x20directory','Skill\x20sync\x20scope:\x20all\x20(personal/company),\x20personal,\x20or\x20company','28208ljqtRD','a\x20lowercase\x20sha256:<64\x20hex\x20characters>\x20fingerprint','personal','local','company','Confirm\x20reviewed\x20personal\x20or\x20company\x20Skill\x20publish\x20warnings','5789690rIXGuz','expected-diagram-revision','source-fingerprint','1193406sEoqTI','force','strict','string','Local\x20Skill\x20directory\x20containing\x20SKILL.md','2175624JsiiyJ','number','Read\x20CLI-managed\x20local\x20Skill\x20cache\x20and\x20links\x20instead\x20of\x20remote\x20lists','confirm-warnings','Skill\x20list\x20scope:\x20all,\x20personal,\x20or\x20company','skill-code','dir','boolean','project','Expected\x20current\x20diagram\x20revision;\x20use\x200\x20for\x20the\x20first\x20diagram','all','Skill\x20name\x20using\x20lowercase\x20letters,\x20numbers,\x20and\x20hyphens','Compatibility\x20flag;\x20no\x20extra\x20checks\x20are\x20enabled','Only\x20target\x20a\x20specific\x20runtime\x20Skill\x20code','Exact\x20Skill\x20scope:\x20personal\x20or\x20company','Skill\x20push\x20target\x20scope:\x20personal\x20saves\x20immediately,\x20company\x20submits\x20a\x20new\x20version\x20for\x20review','Exact\x20Skill\x20version\x20whose\x20diagram\x20is\x20being\x20managed','762798FTDAty','Skill\x20template\x20type:\x20pass\x20read\x20or\x20write\x20explicitly\x20(omission\x20is\x20deprecated)','Use\x20the\x20current\x20project\x27s\x20.agents/skills\x20instead\x20of\x20user-level\x20Agent\x20Skill\x20directories','lowercase\x20letters,\x20numbers,\x20and\x20single\x20hyphens','1fnWiNE','4oINsKL','code','Overwrite\x20generated\x20or\x20CLI-managed\x20Skill\x20files\x20when\x20the\x20target\x20already\x20exists','diagram-file','type','Server-reported\x20SkillVersion\x20source\x20fingerprint','version','901240cjjglG'];a73_0x3f08=function(){return _0x11d96b;};return a73_0x3f08();}export const TARGET_FLAG={'name':a73_0x136d5b(0x70),'type':a73_0x136d5b(0x7f),'description':a73_0x136d5b(0x71),'default':DEFAULT_SKILL_TARGET};export const FORCE_FLAG={'name':a73_0x136d5b(0x7d),'type':a73_0x136d5b(0x88),'description':a73_0x136d5b(0x99)};export const PROJECT_TARGET_FLAG={'name':a73_0x136d5b(0x89),'type':a73_0x136d5b(0x88),'description':a73_0x136d5b(0x94)};export const CONFIRM_WARNINGS_FLAG={'name':a73_0x136d5b(0x84),'type':'boolean','description':a73_0x136d5b(0x78)};export const STRICT_FLAG={'name':a73_0x136d5b(0x7e),'type':a73_0x136d5b(0x88),'description':a73_0x136d5b(0x8d)};
@@ -1 +1 @@
1
- function a74_0x4fe4(){const _0x3e7b2f=['3519828YKuIUf','45FVfJgc','4104790STvBUt','280QnpomC','496AFGeWm','39090zcTYGR','3860168qZiyZX','440296gjauTW','71166NimYFh','55POwzpd','51845ZhCfgh'];a74_0x4fe4=function(){return _0x3e7b2f;};return a74_0x4fe4();}(function(_0x32bebd,_0x472fac){const _0x39474f=a74_0x24fe,_0x548d94=_0x32bebd();while(!![]){try{const _0x223519=-parseInt(_0x39474f(0xf0))/0x1+-parseInt(_0x39474f(0xe6))/0x2*(-parseInt(_0x39474f(0xea))/0x3)+-parseInt(_0x39474f(0xed))/0x4*(parseInt(_0x39474f(0xe8))/0x5)+parseInt(_0x39474f(0xee))/0x6*(-parseInt(_0x39474f(0xec))/0x7)+parseInt(_0x39474f(0xef))/0x8+-parseInt(_0x39474f(0xe9))/0x9+parseInt(_0x39474f(0xeb))/0xa*(parseInt(_0x39474f(0xe7))/0xb);if(_0x223519===_0x472fac)break;else _0x548d94['push'](_0x548d94['shift']());}catch(_0x58cbda){_0x548d94['push'](_0x548d94['shift']());}}}(a74_0x4fe4,0xa8ae5));import{createCommand}from'./commands/create.js';import{diagramPushCommand,diagramShowCommand,diagramValidateCommand}from'./commands/diagram.js';function a74_0x24fe(_0x3a50ff,_0xcb7f64){_0x3a50ff=_0x3a50ff-0xe6;const _0x4fe49c=a74_0x4fe4();let _0x24fea4=_0x4fe49c[_0x3a50ff];return _0x24fea4;}import{installCommand}from'./commands/install.js';import{listCommand}from'./commands/list.js';import{pushCommand}from'./commands/push.js';import{validateCommand}from'./commands/validate.js';export const skillDefinitions=[installCommand,createCommand,validateCommand,listCommand,pushCommand,diagramValidateCommand,diagramPushCommand,diagramShowCommand];
1
+ (function(_0x25a061,_0x3ef358){const _0x314792=a74_0x4746,_0x2c3740=_0x25a061();while(!![]){try{const _0x5c43d6=-parseInt(_0x314792(0x94))/0x1+parseInt(_0x314792(0x92))/0x2+parseInt(_0x314792(0x96))/0x3*(-parseInt(_0x314792(0x91))/0x4)+-parseInt(_0x314792(0x8f))/0x5*(-parseInt(_0x314792(0x90))/0x6)+-parseInt(_0x314792(0x97))/0x7+-parseInt(_0x314792(0x95))/0x8+parseInt(_0x314792(0x98))/0x9*(parseInt(_0x314792(0x93))/0xa);if(_0x5c43d6===_0x3ef358)break;else _0x2c3740['push'](_0x2c3740['shift']());}catch(_0x4cf306){_0x2c3740['push'](_0x2c3740['shift']());}}}(a74_0x3b3c,0x38e2b));import{createCommand}from'./commands/create.js';import{diagramPushCommand,diagramShowCommand,diagramValidateCommand}from'./commands/diagram.js';import{installCommand}from'./commands/install.js';function a74_0x4746(_0x1f2710,_0x2d08fe){_0x1f2710=_0x1f2710-0x8f;const _0x3b3c6d=a74_0x3b3c();let _0x474622=_0x3b3c6d[_0x1f2710];return _0x474622;}import{listCommand}from'./commands/list.js';import{pushCommand}from'./commands/push.js';import{validateCommand}from'./commands/validate.js';function a74_0x3b3c(){const _0x407aaa=['531dRMCvr','120VkzpyB','95028nwAUUe','28uCFIpG','114892wZzFpf','78370CfoZWc','177218yFZajj','232024NQQYzx','26436FCFxtR','2793231PVvJpc'];a74_0x3b3c=function(){return _0x407aaa;};return a74_0x3b3c();}export const skillDefinitions=[installCommand,createCommand,validateCommand,listCommand,pushCommand,diagramValidateCommand,diagramPushCommand,diagramShowCommand];
@@ -1 +1 @@
1
- (function(_0x2500fc,_0x3ffa50){var _0x506ba0=a75_0x480e,_0x1529c4=_0x2500fc();while(!![]){try{var _0x5730cf=-parseInt(_0x506ba0(0xac))/0x1+-parseInt(_0x506ba0(0xb4))/0x2+-parseInt(_0x506ba0(0xb3))/0x3+parseInt(_0x506ba0(0xb0))/0x4+parseInt(_0x506ba0(0xb2))/0x5+-parseInt(_0x506ba0(0xad))/0x6*(-parseInt(_0x506ba0(0xaa))/0x7)+parseInt(_0x506ba0(0xa8))/0x8;if(_0x5730cf===_0x3ffa50)break;else _0x1529c4['push'](_0x1529c4['shift']());}catch(_0x5a02b7){_0x1529c4['push'](_0x1529c4['shift']());}}}(a75_0x2b06,0x8870b));export function isPackageBackedManifest(_0x10e9be){var _0x1ff284=a75_0x480e;return!!_0x10e9be&&typeof _0x10e9be==='object'&&!Array[_0x1ff284(0xae)](_0x10e9be)&&typeof _0x10e9be[_0x1ff284(0xab)]==='string'&&_0x10e9be[_0x1ff284(0xab)][_0x1ff284(0xb7)]>0x0&&Array['isArray'](_0x10e9be[_0x1ff284(0xa9)]);}function a75_0x2b06(){var _0x49ff4d=['SKILL.md','path','length','2013032iMDbRZ','files','1379snrRlf','ossPath','224245pPwLwR','9186PjlJzY','isArray','some','2976572qVqoJz','object','4062580fDVELj','1694133jnBart','1524160VddxXJ'];a75_0x2b06=function(){return _0x49ff4d;};return a75_0x2b06();}function a75_0x480e(_0x12246e,_0x4794ab){_0x12246e=_0x12246e-0xa8;var _0x2b06b1=a75_0x2b06();var _0x480e1f=_0x2b06b1[_0x12246e];return _0x480e1f;}export function isMultiFileManifest(_0x38b1cc){var _0x959c3f=a75_0x480e;return!!_0x38b1cc&&typeof _0x38b1cc===_0x959c3f(0xb1)&&!Array[_0x959c3f(0xae)](_0x38b1cc)&&Array[_0x959c3f(0xae)](_0x38b1cc[_0x959c3f(0xa9)])&&_0x38b1cc[_0x959c3f(0xa9)][_0x959c3f(0xaf)](_0x3b21a0=>_0x3b21a0[_0x959c3f(0xb6)]!==_0x959c3f(0xb5));}
1
+ function a75_0xc36e(_0x5d36cf,_0x1e3d04){_0x5d36cf=_0x5d36cf-0x1b7;var _0x3c0df1=a75_0x3c0d();var _0xc36ef5=_0x3c0df1[_0x5d36cf];return _0xc36ef5;}function a75_0x3c0d(){var _0x536f21=['isArray','path','3709833uGHqQL','49872310XQxCdM','4gMAnGB','string','ossPath','6410313bMZttc','object','12994080EUjbWF','some','705129bSvhCQ','7HLFNVI','1238905WaMUHY','2iIeEnS','files','9276642MNYFpO'];a75_0x3c0d=function(){return _0x536f21;};return a75_0x3c0d();}(function(_0x570f75,_0xf35a46){var _0x24c540=a75_0xc36e,_0x1ae9c5=_0x570f75();while(!![]){try{var _0x3e4f24=-parseInt(_0x24c540(0x1c0))/0x1*(-parseInt(_0x24c540(0x1c3))/0x2)+-parseInt(_0x24c540(0x1b7))/0x3+parseInt(_0x24c540(0x1b9))/0x4*(parseInt(_0x24c540(0x1c2))/0x5)+-parseInt(_0x24c540(0x1c5))/0x6*(parseInt(_0x24c540(0x1c1))/0x7)+-parseInt(_0x24c540(0x1be))/0x8+-parseInt(_0x24c540(0x1bc))/0x9+parseInt(_0x24c540(0x1b8))/0xa;if(_0x3e4f24===_0xf35a46)break;else _0x1ae9c5['push'](_0x1ae9c5['shift']());}catch(_0x4fde09){_0x1ae9c5['push'](_0x1ae9c5['shift']());}}}(a75_0x3c0d,0xc86aa));export function isPackageBackedManifest(_0x269c29){var _0x108d62=a75_0xc36e;return!!_0x269c29&&typeof _0x269c29===_0x108d62(0x1bd)&&!Array[_0x108d62(0x1c6)](_0x269c29)&&typeof _0x269c29[_0x108d62(0x1bb)]===_0x108d62(0x1ba)&&_0x269c29[_0x108d62(0x1bb)]['length']>0x0&&Array['isArray'](_0x269c29['files']);}export function isMultiFileManifest(_0x52b58d){var _0x44c917=a75_0xc36e;return!!_0x52b58d&&typeof _0x52b58d===_0x44c917(0x1bd)&&!Array[_0x44c917(0x1c6)](_0x52b58d)&&Array[_0x44c917(0x1c6)](_0x52b58d[_0x44c917(0x1c4)])&&_0x52b58d[_0x44c917(0x1c4)][_0x44c917(0x1bf)](_0x10b199=>_0x10b199[_0x44c917(0x1c7)]!=='SKILL.md');}
@@ -1 +1 @@
1
- (function(_0x594edb,_0x2da978){const _0x3ed6fb=a76_0x38d8,_0x2a36a0=_0x594edb();while(!![]){try{const _0x334212=-parseInt(_0x3ed6fb(0x1a0))/0x1+parseInt(_0x3ed6fb(0x193))/0x2+parseInt(_0x3ed6fb(0x1b5))/0x3+parseInt(_0x3ed6fb(0x1a1))/0x4+-parseInt(_0x3ed6fb(0x19c))/0x5+-parseInt(_0x3ed6fb(0x18e))/0x6*(parseInt(_0x3ed6fb(0x180))/0x7)+parseInt(_0x3ed6fb(0x184))/0x8;if(_0x334212===_0x2da978)break;else _0x2a36a0['push'](_0x2a36a0['shift']());}catch(_0x411b55){_0x2a36a0['push'](_0x2a36a0['shift']());}}}(a76_0x54c6,0x3bae1));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(_0x181cc4){const _0x220b41=a76_0x38d8,{getRuntimeSkillByCode:_0xf57156,validateRuntimeSkillPublish:_0x96d7e}=await import('../../core/api-client.js'),{readPushDirectory:_0x4a7b45,resolvePushDirectoryIdentity:_0x208226}=await import(_0x220b41(0x181));if(!_0x181cc4[_0x220b41(0x1af)])throw CliErrors[_0x220b41(0x18c)]();const _0x23b30a=resolvePushScope(_0x181cc4),_0x580992=validateSkillDirectory(_0x181cc4[_0x220b41(0x19b)]('dir'));throwIfSkillValidationFailed(_0x580992);const {diagram:_0x587e83,sourceFilePath:_0x122084}=await readRequiredSkillDiagramInput(_0x181cc4['str'](_0x220b41(0x199))),_0x83d01c=diagramPackageExclusion(_0x122084),_0x455f84=_0x208226(_0x580992[_0x220b41(0x191)],_0x181cc4['appCode'],remoteFirstMetadataOptions()),_0x1e226e=await _0xf57156(_0x181cc4[_0x220b41(0x196)],_0x455f84['skillCode']);throwIfBuiltinPushTarget(_0x1e226e);if(_0x23b30a==='company'){const _0x56e73c=_0x4a7b45(_0x580992[_0x220b41(0x191)],_0x181cc4[_0x220b41(0x196)],{...remoteMissingCompanyReadOptions(),..._0x83d01c}),_0x38116c=await _0x96d7e(_0x181cc4[_0x220b41(0x196)],withDiagram(_0x56e73c[_0x220b41(0x1b2)],_0x587e83),{'visibility':'NAMESPACE_ONLY'});return{'method':_0x220b41(0x1b6),'url':_0x220b41(0x1ac)+_0x181cc4[_0x220b41(0x196)]+_0x220b41(0x18b),'body':{'skillCode':_0x56e73c['skillCode'],'visibility':_0x220b41(0x198),'valid':_0x38116c[_0x220b41(0x195)],'errors':_0x38116c[_0x220b41(0x1b0)],'warnings':_0x38116c['warnings'],'resolvedSlug':_0x38116c[_0x220b41(0x1a5)],'resolvedVersion':_0x38116c[_0x220b41(0x1b1)],'diagramValidated':_0x38116c[_0x220b41(0x18d)]},'description':'Validate\x20a\x20company\x20Skill\x20push\x20package\x20without\x20creating\x20a\x20version\x20or\x20review\x20task.'};}if(_0x1e226e&&_0x1e226e[_0x220b41(0x1a3)]!=='personal')throw CliErrors[_0x220b41(0x1b3)](_0x220b41(0x19e)+_0x455f84[_0x220b41(0x19a)]+_0x220b41(0x197)+(_0x1e226e['scope']??_0x220b41(0x1aa))+'\x22.');const _0x398a99=_0x4a7b45(_0x580992[_0x220b41(0x191)],_0x181cc4[_0x220b41(0x196)],{..._0x1e226e?remotePersonalReadOptions(!![]):remoteMissingPersonalReadOptions(),..._0x83d01c}),_0x2eb2ed=await _0x96d7e(_0x181cc4['appCode'],withDiagram(_0x398a99[_0x220b41(0x1b2)],_0x587e83),{'visibility':_0x220b41(0x1ad)});return{'method':_0x220b41(0x1b6),'url':'/api/cli/v1/skills/'+_0x181cc4[_0x220b41(0x196)]+_0x220b41(0x18b),'body':{'skillCode':_0x398a99[_0x220b41(0x19a)],'visibility':_0x220b41(0x1ad),'valid':_0x2eb2ed['valid'],'errors':_0x2eb2ed[_0x220b41(0x1b0)],'warnings':_0x2eb2ed[_0x220b41(0x187)],'resolvedSlug':_0x2eb2ed[_0x220b41(0x1a5)],'resolvedVersion':_0x2eb2ed[_0x220b41(0x1b1)],'diagramValidated':_0x2eb2ed['diagramValidated']},'description':_0x220b41(0x186)};}export async function skillPushExecute(_0x1f392b){const _0x515df5=a76_0x38d8,{createPersonalRuntimeSkill:_0x18633b,downloadRuntimeSkillPackage:_0x351dee,getRuntimeSkillByCode:_0x155fb2,publishCompanyRuntimeSkill:_0x437101,updatePersonalRuntimeSkill:_0x2c5b6c,validateRuntimeSkillPublish:_0xb5ccf4}=await import(_0x515df5(0x182)),{verifyRuntimeSkillPackage:_0x22acd8,verifyRuntimeSkillBundle:_0x48745b,readPushDirectory:_0x160a86,refreshPushDirectoryMetadataFromRemote:_0x2074b9,recordPushedRuntimeSkill:_0x35663d,resolvePushDirectoryIdentity:_0x559f3c}=await import(_0x515df5(0x181));if(!_0x1f392b[_0x515df5(0x1af)])throw CliErrors[_0x515df5(0x18c)]();const _0x1c8b58=resolvePushScope(_0x1f392b),_0x2e1cba=_0x1f392b[_0x515df5(0x1a7)](_0x515df5(0x189))||_0x1f392b[_0x515df5(0x1a7)]('confirmWarnings'),_0x4d44bc=validateSkillDirectory(_0x1f392b[_0x515df5(0x19b)](_0x515df5(0x191)));throwIfSkillValidationFailed(_0x4d44bc);const {diagram:_0x519a3f,sourceFilePath:_0x1b9091}=await readRequiredSkillDiagramInput(_0x1f392b[_0x515df5(0x19b)]('diagram-file')),_0x1889d2=diagramPackageExclusion(_0x1b9091),_0x2238a9=_0x4d44bc[_0x515df5(0x191)];let _0x5f59d1;if(_0x1c8b58==='company'){const _0x25cdfe=_0x559f3c(_0x2238a9,_0x1f392b['appCode'],remoteFirstMetadataOptions()),_0x3971a5=await _0x155fb2(_0x1f392b['appCode'],_0x25cdfe[_0x515df5(0x19a)]);throwIfBuiltinPushTarget(_0x3971a5);if(_0x3971a5)_0x2074b9(_0x2238a9,_0x3971a5,_0x1f392b[_0x515df5(0x196)]);const _0x15b263=_0x160a86(_0x2238a9,_0x1f392b[_0x515df5(0x196)],{..._0x3971a5?{'targetScope':_0x515df5(0x1a6),'ignoreInvalidMetadata':!![]}:remoteMissingCompanyReadOptions(),..._0x1889d2});_0x5f59d1={'scope':_0x515df5(0x1a6),'payload':_0x15b263,'publishInput':withDiagram(_0x15b263[_0x515df5(0x1b2)],_0x519a3f),'remoteForPreflight':_0x3971a5,'warnings':[]};}else{const _0x21f406=_0x1f392b[_0x515df5(0x19b)](_0x515df5(0x18f))[_0x515df5(0x194)](),_0x13ab46=Boolean(_0x21f406),_0x107f53=allowRetargetArgs(_0x13ab46),_0xbd91e=_0x559f3c(_0x2238a9,_0x1f392b[_0x515df5(0x196)],{...remoteFirstMetadataOptions(),..._0x107f53[0x0]}),_0x1b2ba3=await _0x155fb2(_0x1f392b[_0x515df5(0x196)],_0xbd91e['skillCode']);throwIfBuiltinPushTarget(_0x1b2ba3);if(_0x1b2ba3){if(_0x1b2ba3[_0x515df5(0x1a3)]!==_0x515df5(0x1a8)){if(_0x13ab46)throw CliErrors[_0x515df5(0x1b3)](_0x515df5(0x19e)+_0xbd91e[_0x515df5(0x19a)]+_0x515df5(0x197)+(_0x1b2ba3[_0x515df5(0x1a3)]??_0x515df5(0x1aa))+'\x22.');_0x2074b9(_0x2238a9,_0x1b2ba3,_0x1f392b[_0x515df5(0x196)]);}else!_0x13ab46&&_0x2074b9(_0x2238a9,_0x1b2ba3,_0x1f392b[_0x515df5(0x196)]);}const _0x2f397a=_0x160a86(_0x2238a9,_0x1f392b[_0x515df5(0x196)],{..._0x1b2ba3?remotePersonalReadOptions(_0x13ab46,_0x107f53[0x0]):remoteMissingPersonalReadOptions(_0x107f53[0x0]),..._0x1889d2}),_0x27fd95=_0x1b2ba3?.[_0x515df5(0x1a3)]===_0x515df5(0x1a8)&&_0x1b2ba3['skillCode']===_0x2f397a[_0x515df5(0x19a)]?_0x1b2ba3:undefined,_0x1c72be=_0x13ab46&&_0x27fd95?withRetargetExistingMetadata(_0x2f397a[_0x515df5(0x1b2)],_0x27fd95,{'preferInputSkillName':Boolean(_0x2f397a[_0x515df5(0x1ae)])}):_0x2f397a[_0x515df5(0x1b2)],_0x162ce4=_0x13ab46?buildRetargetWarning(_0xbd91e['metadata'],_0x1f392b[_0x515df5(0x196)]):[];_0x5f59d1={'scope':_0x515df5(0x1a8),'payload':_0x2f397a,'publishInput':withDiagram(_0x1c72be,_0x519a3f),'remoteForPreflight':_0x27fd95,'existing':_0x27fd95,'warnings':[..._0x4d44bc['warnings'],..._0x162ce4]};}const _0x12448f=await runRemoteContentPreflight({'scope':_0x5f59d1[_0x515df5(0x1a3)],'remote':_0x5f59d1[_0x515df5(0x1a4)],'publishInput':_0x5f59d1[_0x515df5(0x1a2)],'skillCode':_0x5f59d1['payload'][_0x515df5(0x19a)],'appCode':_0x1f392b[_0x515df5(0x196)],'downloadRuntimeSkillPackage':_0x351dee,'verifyRuntimeSkillBundle':_0x48745b});if(_0x12448f['status']===_0x515df5(0x18a))return _0x5f59d1[_0x515df5(0x1a3)]===_0x515df5(0x1a6)?_0x35663d(_0x2238a9,_0x12448f[_0x515df5(0x1b4)],_0x1f392b[_0x515df5(0x196)],{'scope':_0x515df5(0x1a6)}):_0x35663d(_0x2238a9,_0x12448f[_0x515df5(0x1b4)],_0x1f392b[_0x515df5(0x196)]),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x12448f[_0x515df5(0x1b4)]),'scope':_0x5f59d1['scope'],..._0x5f59d1[_0x515df5(0x1a3)]===_0x515df5(0x1a8)?{'warnings':_0x5f59d1[_0x515df5(0x187)]}:{},'alreadyPublished':!![],'contentIdentical':!![],'diagramSubmitted':![]},'message':scopeLabel(_0x5f59d1[_0x515df5(0x1a3)])+'\x20Skill\x20'+_0x5f59d1[_0x515df5(0x1a9)][_0x515df5(0x19a)]+_0x515df5(0x185)};if(_0x5f59d1[_0x515df5(0x1a3)]===_0x515df5(0x1a6)){const _0x2d314e=await _0xb5ccf4(_0x1f392b[_0x515df5(0x196)],_0x5f59d1['publishInput'],{'visibility':'NAMESPACE_ONLY'});throwIfPublishValidationFailed('company',_0x5f59d1[_0x515df5(0x1a9)][_0x515df5(0x19a)],_0x2d314e),throwIfUnconfirmedPublishWarnings('company',_0x5f59d1['payload'][_0x515df5(0x19a)],_0x2d314e[_0x515df5(0x187)],_0x2e1cba);const _0xb6178a=await _0x437101(_0x1f392b[_0x515df5(0x196)],_0x5f59d1[_0x515df5(0x1a2)],{'confirmWarnings':_0x2e1cba});return _0x35663d(_0x2238a9,{..._0xb6178a,'files':_0x5f59d1[_0x515df5(0x1a2)][_0x515df5(0x190)]},_0x1f392b[_0x515df5(0x196)],{'scope':_0x515df5(0x1a6)}),{'ok':!![],'data':{...summarizeRuntimeSkill(_0xb6178a),'scope':'company','reviewState':_0x515df5(0x1b7),'submittedForReview':!![],'diagramBound':!![],'validation':{'warnings':_0x2d314e[_0x515df5(0x187)]}},'message':'Submitted\x20company\x20Skill\x20'+_0x5f59d1[_0x515df5(0x1a9)][_0x515df5(0x19a)]+_0x515df5(0x1ab)+(_0xb6178a['version']??'(unknown)')+_0x515df5(0x188)};}const _0x24816d=await _0xb5ccf4(_0x1f392b['appCode'],_0x5f59d1[_0x515df5(0x1a2)],{'visibility':_0x515df5(0x1ad)});throwIfPublishValidationFailed(_0x515df5(0x1a8),_0x5f59d1[_0x515df5(0x1a9)][_0x515df5(0x19a)],_0x24816d),throwIfUnconfirmedPublishWarnings(_0x515df5(0x1a8),_0x5f59d1[_0x515df5(0x1a9)]['skillCode'],_0x24816d['warnings'],_0x2e1cba);const _0x21f289={'confirmWarnings':_0x2e1cba},_0x5ec6eb=_0x5f59d1[_0x515df5(0x192)]?await _0x2c5b6c(_0x5f59d1[_0x515df5(0x1a9)][_0x515df5(0x19a)],_0x1f392b[_0x515df5(0x196)],_0x5f59d1[_0x515df5(0x1a2)],_0x21f289):await _0x18633b(_0x1f392b[_0x515df5(0x196)],_0x5f59d1['publishInput'],_0x21f289);let _0x29e98e=_0x5ec6eb;if(isMultiFileManifest(_0x5f59d1[_0x515df5(0x1a2)][_0x515df5(0x190)])){const _0x1d6eb9=await _0x351dee(_0x515df5(0x1a8),_0x5ec6eb[_0x515df5(0x19a)]||_0x5f59d1[_0x515df5(0x1a9)][_0x515df5(0x19a)],_0x1f392b[_0x515df5(0x196)]);_0x48745b(_0x5f59d1[_0x515df5(0x1a2)]['files'],_0x1d6eb9),_0x29e98e={..._0x5ec6eb,'files':_0x5f59d1[_0x515df5(0x1a2)][_0x515df5(0x190)]};}else{if(isPackageBackedManifest(_0x5ec6eb[_0x515df5(0x190)])){const _0x521df4=await _0x351dee('personal',_0x5ec6eb[_0x515df5(0x19a)]||_0x5f59d1[_0x515df5(0x1a9)][_0x515df5(0x19a)],_0x1f392b[_0x515df5(0x196)]);_0x22acd8(_0x5ec6eb['files'],_0x521df4);}}return _0x35663d(_0x2238a9,_0x29e98e,_0x1f392b[_0x515df5(0x196)]),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x5ec6eb),'warnings':_0x5f59d1[_0x515df5(0x187)],'validation':{'warnings':_0x24816d['warnings']},'diagramBound':!![]},'message':_0x5f59d1[_0x515df5(0x192)]?'Updated\x20personal\x20Skill\x20'+_0x5f59d1[_0x515df5(0x1a9)]['skillCode']:_0x515df5(0x19f)+_0x5f59d1[_0x515df5(0x1a9)][_0x515df5(0x19a)]};}function a76_0x54c6(){const _0xf861af=['\x20is\x20already\x20published\x20and\x20content\x20is\x20identical','Validate\x20a\x20personal\x20Skill\x20push\x20package\x20without\x20creating\x20or\x20updating\x20a\x20remote\x20Skill.','warnings','\x20for\x20review','confirm-warnings','identical','/publish/validate','authRequired','diagramValidated','1651734ufPmuR','appcode','files','dir','existing','82804vEhtYX','trim','valid','appCode','\x20has\x20scope=\x22','NAMESPACE_ONLY','diagram-file','skillCode','str','1379825NQwVmi','Personal','Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20remote\x20Skill\x20','Created\x20personal\x20Skill\x20','106613RizLAR','1644636iPJeQj','publishInput','scope','remoteForPreflight','resolvedSlug','company','bool','personal','payload','unknown','\x20version\x20','/api/cli/v1/skills/','PRIVATE','frontmatterDisplayName','accessKey','errors','resolvedVersion','input','validation','savedSkill','405312XJvtHI','POST','submitted','7kDIseE','../../skills/runtime-skill-sync.js','../../core/api-client.js','Company','2517208wGqRxL'];a76_0x54c6=function(){return _0xf861af;};return a76_0x54c6();}function scopeLabel(_0x2606d9){const _0x24b733=a76_0x38d8;return _0x2606d9===_0x24b733(0x1a6)?_0x24b733(0x183):_0x24b733(0x19d);}function a76_0x38d8(_0x2e6f7e,_0x3689e0){_0x2e6f7e=_0x2e6f7e-0x180;const _0x54c645=a76_0x54c6();let _0x38d8e1=_0x54c645[_0x2e6f7e];return _0x38d8e1;}function withDiagram(_0x110b98,_0xeccfd2){return{..._0x110b98,'diagram':_0xeccfd2};}function diagramPackageExclusion(_0x4c01d7){return _0x4c01d7?{'excludedFilePaths':[_0x4c01d7]}:{};}
1
+ (function(_0x24b86a,_0x301171){const _0x311422=a76_0x4b4a,_0x53df59=_0x24b86a();while(!![]){try{const _0xf78d7f=-parseInt(_0x311422(0x142))/0x1*(-parseInt(_0x311422(0x15c))/0x2)+parseInt(_0x311422(0x156))/0x3+-parseInt(_0x311422(0x141))/0x4+parseInt(_0x311422(0x135))/0x5*(parseInt(_0x311422(0x12a))/0x6)+parseInt(_0x311422(0x13b))/0x7*(-parseInt(_0x311422(0x158))/0x8)+parseInt(_0x311422(0x13d))/0x9*(parseInt(_0x311422(0x134))/0xa)+parseInt(_0x311422(0x128))/0xb*(parseInt(_0x311422(0x129))/0xc);if(_0xf78d7f===_0x301171)break;else _0x53df59['push'](_0x53df59['shift']());}catch(_0x4d830b){_0x53df59['push'](_0x53df59['shift']());}}}(a76_0x38eb,0x310af));import{CliErrors}from'../../errors.js';function a76_0x4b4a(_0x1a825e,_0x53626a){_0x1a825e=_0x1a825e-0x125;const _0x38eb71=a76_0x38eb();let _0x4b4a68=_0x38eb71[_0x1a825e];return _0x4b4a68;}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(_0x1d054e){const _0x3aaa81=a76_0x4b4a,{getRuntimeSkillByCode:_0x147a29,validateRuntimeSkillPublish:_0x1bb33d}=await import(_0x3aaa81(0x133)),{readPushDirectory:_0x9958b1,resolvePushDirectoryIdentity:_0x31977b}=await import(_0x3aaa81(0x145));if(!_0x1d054e[_0x3aaa81(0x149)])throw CliErrors[_0x3aaa81(0x153)]();const _0x212b1c=resolvePushScope(_0x1d054e),_0x32c2e7=validateSkillDirectory(_0x1d054e[_0x3aaa81(0x146)](_0x3aaa81(0x159)));throwIfSkillValidationFailed(_0x32c2e7);const {diagram:_0x35efba,sourceFilePath:_0x45bd79}=await readRequiredSkillDiagramInput(_0x1d054e[_0x3aaa81(0x146)]('diagram-file')),_0x53a13b=diagramPackageExclusion(_0x45bd79),_0x277c26=_0x31977b(_0x32c2e7[_0x3aaa81(0x159)],_0x1d054e[_0x3aaa81(0x152)],remoteFirstMetadataOptions()),_0x480e48=await _0x147a29(_0x1d054e[_0x3aaa81(0x152)],_0x277c26[_0x3aaa81(0x132)]);throwIfBuiltinPushTarget(_0x480e48);if(_0x212b1c===_0x3aaa81(0x14c)){const _0x84197f=_0x9958b1(_0x32c2e7[_0x3aaa81(0x159)],_0x1d054e[_0x3aaa81(0x152)],{...remoteMissingCompanyReadOptions(),..._0x53a13b}),_0x2347de=await _0x1bb33d(_0x1d054e[_0x3aaa81(0x152)],withDiagram(_0x84197f[_0x3aaa81(0x154)],_0x35efba),{'visibility':'NAMESPACE_ONLY'});return{'method':'POST','url':_0x3aaa81(0x13e)+_0x1d054e[_0x3aaa81(0x152)]+_0x3aaa81(0x13c),'body':{'skillCode':_0x84197f['skillCode'],'visibility':'NAMESPACE_ONLY','valid':_0x2347de[_0x3aaa81(0x138)],'errors':_0x2347de[_0x3aaa81(0x14f)],'warnings':_0x2347de['warnings'],'resolvedSlug':_0x2347de['resolvedSlug'],'resolvedVersion':_0x2347de['resolvedVersion'],'diagramValidated':_0x2347de[_0x3aaa81(0x130)]},'description':_0x3aaa81(0x139)};}if(_0x480e48&&_0x480e48[_0x3aaa81(0x15b)]!==_0x3aaa81(0x150))throw CliErrors[_0x3aaa81(0x14a)](_0x3aaa81(0x127)+_0x277c26[_0x3aaa81(0x132)]+_0x3aaa81(0x14d)+(_0x480e48[_0x3aaa81(0x15b)]??'unknown')+'\x22.');const _0x3eda43=_0x9958b1(_0x32c2e7[_0x3aaa81(0x159)],_0x1d054e['appCode'],{..._0x480e48?remotePersonalReadOptions(!![]):remoteMissingPersonalReadOptions(),..._0x53a13b}),_0x1528e3=await _0x1bb33d(_0x1d054e[_0x3aaa81(0x152)],withDiagram(_0x3eda43[_0x3aaa81(0x154)],_0x35efba),{'visibility':_0x3aaa81(0x13f)});return{'method':_0x3aaa81(0x126),'url':_0x3aaa81(0x13e)+_0x1d054e[_0x3aaa81(0x152)]+_0x3aaa81(0x13c),'body':{'skillCode':_0x3eda43[_0x3aaa81(0x132)],'visibility':'PRIVATE','valid':_0x1528e3[_0x3aaa81(0x138)],'errors':_0x1528e3[_0x3aaa81(0x14f)],'warnings':_0x1528e3['warnings'],'resolvedSlug':_0x1528e3[_0x3aaa81(0x136)],'resolvedVersion':_0x1528e3['resolvedVersion'],'diagramValidated':_0x1528e3[_0x3aaa81(0x130)]},'description':_0x3aaa81(0x147)};}export async function skillPushExecute(_0x39dbab){const _0xd7ec62=a76_0x4b4a,{createPersonalRuntimeSkill:_0x740fb,downloadRuntimeSkillPackage:_0x21d904,getRuntimeSkillByCode:_0x5b7e15,publishCompanyRuntimeSkill:_0x1e3c17,updatePersonalRuntimeSkill:_0x404f65,validateRuntimeSkillPublish:_0x36e601}=await import(_0xd7ec62(0x133)),{verifyRuntimeSkillPackage:_0x1b9691,verifyRuntimeSkillBundle:_0xe9394c,readPushDirectory:_0x285998,refreshPushDirectoryMetadataFromRemote:_0x20317b,recordPushedRuntimeSkill:_0x350e96,resolvePushDirectoryIdentity:_0x3b68cd}=await import(_0xd7ec62(0x145));if(!_0x39dbab[_0xd7ec62(0x149)])throw CliErrors['authRequired']();const _0x5c4e84=resolvePushScope(_0x39dbab),_0x285e94=_0x39dbab[_0xd7ec62(0x144)]('confirm-warnings')||_0x39dbab[_0xd7ec62(0x144)]('confirmWarnings'),_0x26921d=validateSkillDirectory(_0x39dbab[_0xd7ec62(0x146)](_0xd7ec62(0x159)));throwIfSkillValidationFailed(_0x26921d);const {diagram:_0x42c985,sourceFilePath:_0x5e9b53}=await readRequiredSkillDiagramInput(_0x39dbab[_0xd7ec62(0x146)](_0xd7ec62(0x12e))),_0x7f6ca9=diagramPackageExclusion(_0x5e9b53),_0x3c2918=_0x26921d['dir'];let _0x1e2fcb;if(_0x5c4e84===_0xd7ec62(0x14c)){const _0x5ae7ac=_0x3b68cd(_0x3c2918,_0x39dbab[_0xd7ec62(0x152)],remoteFirstMetadataOptions()),_0x228995=await _0x5b7e15(_0x39dbab['appCode'],_0x5ae7ac[_0xd7ec62(0x132)]);throwIfBuiltinPushTarget(_0x228995);if(_0x228995)_0x20317b(_0x3c2918,_0x228995,_0x39dbab['appCode']);const _0x6d427e=_0x285998(_0x3c2918,_0x39dbab[_0xd7ec62(0x152)],{..._0x228995?{'targetScope':_0xd7ec62(0x14c),'ignoreInvalidMetadata':!![]}:remoteMissingCompanyReadOptions(),..._0x7f6ca9});_0x1e2fcb={'scope':_0xd7ec62(0x14c),'payload':_0x6d427e,'publishInput':withDiagram(_0x6d427e[_0xd7ec62(0x154)],_0x42c985),'remoteForPreflight':_0x228995,'warnings':[]};}else{const _0x2fd5ff=_0x39dbab[_0xd7ec62(0x146)]('appcode')[_0xd7ec62(0x151)](),_0x2e8d09=Boolean(_0x2fd5ff),_0x364382=allowRetargetArgs(_0x2e8d09),_0x243541=_0x3b68cd(_0x3c2918,_0x39dbab[_0xd7ec62(0x152)],{...remoteFirstMetadataOptions(),..._0x364382[0x0]}),_0x57d958=await _0x5b7e15(_0x39dbab[_0xd7ec62(0x152)],_0x243541[_0xd7ec62(0x132)]);throwIfBuiltinPushTarget(_0x57d958);if(_0x57d958){if(_0x57d958[_0xd7ec62(0x15b)]!=='personal'){if(_0x2e8d09)throw CliErrors[_0xd7ec62(0x14a)](_0xd7ec62(0x127)+_0x243541['skillCode']+_0xd7ec62(0x14d)+(_0x57d958[_0xd7ec62(0x15b)]??'unknown')+'\x22.');_0x20317b(_0x3c2918,_0x57d958,_0x39dbab[_0xd7ec62(0x152)]);}else!_0x2e8d09&&_0x20317b(_0x3c2918,_0x57d958,_0x39dbab[_0xd7ec62(0x152)]);}const _0x4d54c1=_0x285998(_0x3c2918,_0x39dbab['appCode'],{..._0x57d958?remotePersonalReadOptions(_0x2e8d09,_0x364382[0x0]):remoteMissingPersonalReadOptions(_0x364382[0x0]),..._0x7f6ca9}),_0x26245b=_0x57d958?.['scope']===_0xd7ec62(0x150)&&_0x57d958['skillCode']===_0x4d54c1[_0xd7ec62(0x132)]?_0x57d958:undefined,_0x52c44d=_0x2e8d09&&_0x26245b?withRetargetExistingMetadata(_0x4d54c1['input'],_0x26245b,{'preferInputSkillName':Boolean(_0x4d54c1['frontmatterDisplayName'])}):_0x4d54c1[_0xd7ec62(0x154)],_0x5f1287=_0x2e8d09?buildRetargetWarning(_0x243541[_0xd7ec62(0x15a)],_0x39dbab[_0xd7ec62(0x152)]):[];_0x1e2fcb={'scope':'personal','payload':_0x4d54c1,'publishInput':withDiagram(_0x52c44d,_0x42c985),'remoteForPreflight':_0x26245b,'existing':_0x26245b,'warnings':[..._0x26921d[_0xd7ec62(0x137)],..._0x5f1287]};}const _0x4a412=await runRemoteContentPreflight({'scope':_0x1e2fcb[_0xd7ec62(0x15b)],'remote':_0x1e2fcb['remoteForPreflight'],'publishInput':_0x1e2fcb[_0xd7ec62(0x155)],'skillCode':_0x1e2fcb[_0xd7ec62(0x131)][_0xd7ec62(0x132)],'appCode':_0x39dbab['appCode'],'downloadRuntimeSkillPackage':_0x21d904,'verifyRuntimeSkillBundle':_0xe9394c});if(_0x4a412[_0xd7ec62(0x148)]===_0xd7ec62(0x12c))return _0x1e2fcb[_0xd7ec62(0x15b)]===_0xd7ec62(0x14c)?_0x350e96(_0x3c2918,_0x4a412['savedSkill'],_0x39dbab[_0xd7ec62(0x152)],{'scope':_0xd7ec62(0x14c)}):_0x350e96(_0x3c2918,_0x4a412['savedSkill'],_0x39dbab[_0xd7ec62(0x152)]),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x4a412[_0xd7ec62(0x143)]),'scope':_0x1e2fcb[_0xd7ec62(0x15b)],..._0x1e2fcb[_0xd7ec62(0x15b)]===_0xd7ec62(0x150)?{'warnings':_0x1e2fcb[_0xd7ec62(0x137)]}:{},'alreadyPublished':!![],'contentIdentical':!![],'diagramSubmitted':![]},'message':scopeLabel(_0x1e2fcb[_0xd7ec62(0x15b)])+_0xd7ec62(0x140)+_0x1e2fcb[_0xd7ec62(0x131)][_0xd7ec62(0x132)]+_0xd7ec62(0x13a)};if(_0x1e2fcb[_0xd7ec62(0x15b)]===_0xd7ec62(0x14c)){const _0x1b52aa=await _0x36e601(_0x39dbab[_0xd7ec62(0x152)],_0x1e2fcb[_0xd7ec62(0x155)],{'visibility':'NAMESPACE_ONLY'});throwIfPublishValidationFailed('company',_0x1e2fcb[_0xd7ec62(0x131)][_0xd7ec62(0x132)],_0x1b52aa),throwIfUnconfirmedPublishWarnings(_0xd7ec62(0x14c),_0x1e2fcb[_0xd7ec62(0x131)][_0xd7ec62(0x132)],_0x1b52aa[_0xd7ec62(0x137)],_0x285e94);const _0x24d5a8=await _0x1e3c17(_0x39dbab[_0xd7ec62(0x152)],_0x1e2fcb[_0xd7ec62(0x155)],{'confirmWarnings':_0x285e94});return _0x350e96(_0x3c2918,{..._0x24d5a8,'files':_0x1e2fcb[_0xd7ec62(0x155)]['files']},_0x39dbab[_0xd7ec62(0x152)],{'scope':_0xd7ec62(0x14c)}),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x24d5a8),'scope':_0xd7ec62(0x14c),'reviewState':'submitted','submittedForReview':!![],'diagramBound':!![],'validation':{'warnings':_0x1b52aa[_0xd7ec62(0x137)]}},'message':'Submitted\x20company\x20Skill\x20'+_0x1e2fcb[_0xd7ec62(0x131)][_0xd7ec62(0x132)]+'\x20version\x20'+(_0x24d5a8['version']??_0xd7ec62(0x12d))+_0xd7ec62(0x14b)};}const _0x319c41=await _0x36e601(_0x39dbab[_0xd7ec62(0x152)],_0x1e2fcb[_0xd7ec62(0x155)],{'visibility':_0xd7ec62(0x13f)});throwIfPublishValidationFailed(_0xd7ec62(0x150),_0x1e2fcb[_0xd7ec62(0x131)][_0xd7ec62(0x132)],_0x319c41),throwIfUnconfirmedPublishWarnings(_0xd7ec62(0x150),_0x1e2fcb[_0xd7ec62(0x131)][_0xd7ec62(0x132)],_0x319c41['warnings'],_0x285e94);const _0x57679b={'confirmWarnings':_0x285e94},_0x40c39a=_0x1e2fcb['existing']?await _0x404f65(_0x1e2fcb['payload']['skillCode'],_0x39dbab[_0xd7ec62(0x152)],_0x1e2fcb[_0xd7ec62(0x155)],_0x57679b):await _0x740fb(_0x39dbab[_0xd7ec62(0x152)],_0x1e2fcb['publishInput'],_0x57679b);let _0x31bed3=_0x40c39a;if(isMultiFileManifest(_0x1e2fcb[_0xd7ec62(0x155)]['files'])){const _0x220888=await _0x21d904(_0xd7ec62(0x150),_0x40c39a[_0xd7ec62(0x132)]||_0x1e2fcb['payload'][_0xd7ec62(0x132)],_0x39dbab[_0xd7ec62(0x152)]);_0xe9394c(_0x1e2fcb[_0xd7ec62(0x155)][_0xd7ec62(0x157)],_0x220888),_0x31bed3={..._0x40c39a,'files':_0x1e2fcb[_0xd7ec62(0x155)]['files']};}else{if(isPackageBackedManifest(_0x40c39a[_0xd7ec62(0x157)])){const _0x500ba6=await _0x21d904(_0xd7ec62(0x150),_0x40c39a[_0xd7ec62(0x132)]||_0x1e2fcb[_0xd7ec62(0x131)]['skillCode'],_0x39dbab[_0xd7ec62(0x152)]);_0x1b9691(_0x40c39a['files'],_0x500ba6);}}return _0x350e96(_0x3c2918,_0x31bed3,_0x39dbab['appCode']),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x40c39a),'warnings':_0x1e2fcb['warnings'],'validation':{'warnings':_0x319c41[_0xd7ec62(0x137)]},'diagramBound':!![]},'message':_0x1e2fcb['existing']?_0xd7ec62(0x125)+_0x1e2fcb[_0xd7ec62(0x131)][_0xd7ec62(0x132)]:_0xd7ec62(0x12f)+_0x1e2fcb[_0xd7ec62(0x131)][_0xd7ec62(0x132)]};}function a76_0x38eb(){const _0x2941f8=['97159nWeiVi','savedSkill','bool','../../skills/runtime-skill-sync.js','str','Validate\x20a\x20personal\x20Skill\x20push\x20package\x20without\x20creating\x20or\x20updating\x20a\x20remote\x20Skill.','status','accessKey','validation','\x20for\x20review','company','\x20has\x20scope=\x22','Personal','errors','personal','trim','appCode','authRequired','input','publishInput','458058MWREtr','files','185672dCSwZG','dir','metadata','scope','2IGoSrb','Updated\x20personal\x20Skill\x20','POST','Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20remote\x20Skill\x20','395131XyjvjW','24mLNOJJ','6mzKfOi','Company','identical','(unknown)','diagram-file','Created\x20personal\x20Skill\x20','diagramValidated','payload','skillCode','../../core/api-client.js','983160QUqkYV','282435wvlNPi','resolvedSlug','warnings','valid','Validate\x20a\x20company\x20Skill\x20push\x20package\x20without\x20creating\x20a\x20version\x20or\x20review\x20task.','\x20is\x20already\x20published\x20and\x20content\x20is\x20identical','7ZxQZSs','/publish/validate','18PlLEpI','/api/cli/v1/skills/','PRIVATE','\x20Skill\x20','1402872aYEnSn'];a76_0x38eb=function(){return _0x2941f8;};return a76_0x38eb();}function scopeLabel(_0x512790){const _0xd0a383=a76_0x4b4a;return _0x512790===_0xd0a383(0x14c)?_0xd0a383(0x12b):_0xd0a383(0x14e);}function withDiagram(_0x4656b6,_0x46f7f9){return{..._0x4656b6,'diagram':_0x46f7f9};}function diagramPackageExclusion(_0x4d0708){return _0x4d0708?{'excludedFilePaths':[_0x4d0708]}:{};}
@@ -1 +1 @@
1
- (function(_0x2ac15a,_0x26f307){const _0x4038fb=a77_0x4213,_0x1adb02=_0x2ac15a();while(!![]){try{const _0x20bff8=-parseInt(_0x4038fb(0x1ba))/0x1*(parseInt(_0x4038fb(0x1d0))/0x2)+parseInt(_0x4038fb(0x1d6))/0x3+-parseInt(_0x4038fb(0x1be))/0x4*(-parseInt(_0x4038fb(0x1d5))/0x5)+-parseInt(_0x4038fb(0x1e0))/0x6+parseInt(_0x4038fb(0x1d4))/0x7+parseInt(_0x4038fb(0x1d7))/0x8+-parseInt(_0x4038fb(0x1d1))/0x9*(parseInt(_0x4038fb(0x1cb))/0xa);if(_0x20bff8===_0x26f307)break;else _0x1adb02['push'](_0x1adb02['shift']());}catch(_0x3087e8){_0x1adb02['push'](_0x1adb02['shift']());}}}(a77_0x353b,0x9bf4c));import{CliErrors}from'../../errors.js';export function resolvePushScope(_0x2ebd0b){const _0x1f0e4b=a77_0x4213,_0x50b298=_0x2ebd0b[_0x1f0e4b(0x1c7)]('scope')||'personal';if(_0x50b298==='personal'||_0x50b298===_0x1f0e4b(0x1d3))return _0x50b298;throw CliErrors[_0x1f0e4b(0x1ce)]('skill\x20push\x20supports\x20--scope\x20personal\x20or\x20--scope\x20company;\x20received\x20\x22'+_0x50b298+'\x22.');}export function allowRetargetArgs(_0x17793a){return _0x17793a?[{'allowAppCodeRetarget':!![]}]:[];}export function remoteFirstMetadataOptions(){return{'ignoreInvalidMetadata':!![],'ignoreMetadataAppCodeMismatch':!![],'ignoreMetadataSkillCode':!![]};}export function remoteMissingPayloadOptions(){return{'ignoreMetadataForPayload':!![],'ignoreMetadataScope':!![],'ignoreMetadataSkillCode':!![]};}export function remoteMissingCompanyReadOptions(){const _0x56f9c5=a77_0x4213;return{'targetScope':_0x56f9c5(0x1d3),...remoteFirstMetadataOptions(),...remoteMissingPayloadOptions()};}export function remoteMissingPersonalReadOptions(_0x59ac0d={}){return{...remoteFirstMetadataOptions(),...remoteMissingPayloadOptions(),..._0x59ac0d};}export function remotePersonalReadOptions(_0x4818db,_0x1e4ce8={}){return{'ignoreInvalidMetadata':!![],..._0x4818db?{'ignoreMetadataAppCodeMismatch':!![],'ignoreMetadataScope':!![]}:{},..._0x1e4ce8};}export function throwIfBuiltinPushTarget(_0x2e01e1){const _0x22162d=a77_0x4213;if(_0x2e01e1?.[_0x22162d(0x1c5)]!==_0x22162d(0x1d9))return;throw CliErrors[_0x22162d(0x1ce)](_0x22162d(0x1e5)+(_0x2e01e1[_0x22162d(0x1c9)]??_0x22162d(0x1c0))+'\x20cannot\x20be\x20pushed.',_0x22162d(0x1b8));}function a77_0x4213(_0x2919b5,_0x13e5a6){_0x2919b5=_0x2919b5-0x1b8;const _0x353b49=a77_0x353b();let _0x4213bb=_0x353b49[_0x2919b5];return _0x4213bb;}export function throwIfPublishValidationFailed(_0x436d10,_0x30c9f2,_0x94e681){const _0x3bf432=a77_0x4213;if(_0x94e681[_0x3bf432(0x1c6)][_0x3bf432(0x1cf)]===0x0&&(_0x94e681[_0x3bf432(0x1cd)]||_0x94e681['warnings'][_0x3bf432(0x1cf)]>0x0))return;const _0x3e35fb=_0x94e681[_0x3bf432(0x1c6)][_0x3bf432(0x1cf)]>0x0?_0x94e681[_0x3bf432(0x1c6)][_0x3bf432(0x1c1)](';\x20'):'SkillHub\x20validation\x20returned\x20invalid.',_0x4f6933=_0x436d10===_0x3bf432(0x1d3)?'Company':'Personal';throw CliErrors[_0x3bf432(0x1ce)](_0x4f6933+_0x3bf432(0x1da)+_0x30c9f2+'.',_0x3e35fb);}export function throwIfUnconfirmedPublishWarnings(_0x51cad4,_0x544c7d,_0x4a2664,_0x4cf2d7){const _0x2f6cc8=a77_0x4213;if(_0x4a2664[_0x2f6cc8(0x1cf)]===0x0||_0x4cf2d7)return;const _0x1eafbe=_0x51cad4===_0x2f6cc8(0x1d3)?_0x2f6cc8(0x1c8):_0x2f6cc8(0x1c4);throw CliErrors[_0x2f6cc8(0x1ce)](_0x1eafbe+_0x2f6cc8(0x1e3)+_0x544c7d+'.',[_0x2f6cc8(0x1bf),_0x2f6cc8(0x1b9),_0x2f6cc8(0x1dd),_0x2f6cc8(0x1bc)+_0x4a2664[_0x2f6cc8(0x1c1)](';\x20')][_0x2f6cc8(0x1c1)]('\x20'));}function a77_0x353b(){const _0x2320ce=['1529916MZTbQZ','warning','files','\x20Skill\x20push\x20validation\x20reported\x20warning(s)\x20for\x20','publishInput','Builtin\x20Skill\x20','Use\x20a\x20different\x20skillCode\x20when\x20submitting\x20a\x20personal\x20or\x20company\x20Skill.','Do\x20not\x20modify\x20the\x20source\x20Skill\x20merely\x20to\x20satisfy\x20publishing.','2ktJdij','identical','Warnings:\x20','skill-metadata-appcode-retargeted','789732LAQPIZ','Review\x20each\x20warning\x20before\x20continuing.','(unknown)','join','different','downloadRuntimeSkillPackage','Personal','scope','errors','str','Company','skillCode','Review\x20the\x20updated\x20local\x20Skill\x20metadata\x20before\x20the\x20next\x20push.','2619670IBrBNO','not-applicable','valid','validation','length','326OkYyAS','72xNkaJJ','version','company','6889519HjRabP','15UmsAEp','2986668GHUUpw','3342176djeXiH','appCode','builtin','\x20Skill\x20push\x20validation\x20failed\x20for\x20','remote','verifyRuntimeSkillBundle','Fix\x20real\x20issues.\x20If\x20the\x20remaining\x20warnings\x20are\x20reviewed\x20false\x20positives,\x20rerun\x20with\x20--confirm-warnings\x20to\x20submit\x20the\x20unchanged\x20package.','lovrabet.skill.json','\x20was\x20retargeted\x20to\x20explicit\x20appCode\x20'];a77_0x353b=function(){return _0x2320ce;};return a77_0x353b();}export function buildRetargetWarning(_0x101d18,_0x14c391){const _0x102fc4=a77_0x4213;if(!_0x101d18?.[_0x102fc4(0x1d8)]||_0x101d18[_0x102fc4(0x1d8)]===_0x14c391)return[];return[{'level':_0x102fc4(0x1e1),'ruleId':_0x102fc4(0x1bd),'file':_0x102fc4(0x1de),'message':'Local\x20Skill\x20metadata\x20appCode\x20'+_0x101d18[_0x102fc4(0x1d8)]+_0x102fc4(0x1df)+_0x14c391+'\x20after\x20successful\x20push.','suggestion':_0x102fc4(0x1ca)}];}export async function runRemoteContentPreflight(_0x44229e){const _0x1c644a=a77_0x4213;if(!_0x44229e[_0x1c644a(0x1db)]||_0x44229e['remote']['scope']!==_0x44229e[_0x1c644a(0x1c5)]||!_0x44229e[_0x1c644a(0x1e4)]['files'])return{'status':_0x1c644a(0x1cc)};const _0x27580e=_0x44229e['remote']['skillCode']||_0x44229e['skillCode'];if(!_0x27580e)return{'status':_0x1c644a(0x1cc)};const _0x59343a=await _0x44229e[_0x1c644a(0x1c3)](_0x44229e['scope'],_0x27580e,_0x44229e['appCode'],_0x44229e[_0x1c644a(0x1db)][_0x1c644a(0x1d2)]);try{_0x44229e[_0x1c644a(0x1dc)](_0x44229e[_0x1c644a(0x1e4)]['files'],_0x59343a);}catch{return{'status':_0x1c644a(0x1c2)};}return{'status':_0x1c644a(0x1bb),'savedSkill':{..._0x44229e[_0x1c644a(0x1db)],'content':_0x44229e[_0x1c644a(0x1e4)]['content'],'files':_0x44229e['publishInput'][_0x1c644a(0x1e2)]}};}
1
+ (function(_0x33f124,_0x138434){const _0x3af0e5=a77_0x1982,_0x246cea=_0x33f124();while(!![]){try{const _0x19a3b2=-parseInt(_0x3af0e5(0xed))/0x1*(parseInt(_0x3af0e5(0xfc))/0x2)+-parseInt(_0x3af0e5(0x10b))/0x3*(-parseInt(_0x3af0e5(0x109))/0x4)+-parseInt(_0x3af0e5(0xec))/0x5+-parseInt(_0x3af0e5(0xee))/0x6*(-parseInt(_0x3af0e5(0xea))/0x7)+parseInt(_0x3af0e5(0x107))/0x8*(parseInt(_0x3af0e5(0xfd))/0x9)+parseInt(_0x3af0e5(0xf5))/0xa+-parseInt(_0x3af0e5(0xf4))/0xb*(parseInt(_0x3af0e5(0xf6))/0xc);if(_0x19a3b2===_0x138434)break;else _0x246cea['push'](_0x246cea['shift']());}catch(_0x37b096){_0x246cea['push'](_0x246cea['shift']());}}}(a77_0x4b49,0x77ebc));import{CliErrors}from'../../errors.js';export function resolvePushScope(_0x6f263d){const _0xd1ecb4=a77_0x1982,_0x20094e=_0x6f263d['str'](_0xd1ecb4(0x106))||'personal';if(_0x20094e===_0xd1ecb4(0xe8)||_0x20094e===_0xd1ecb4(0x100))return _0x20094e;throw CliErrors['validation']('skill\x20push\x20supports\x20--scope\x20personal\x20or\x20--scope\x20company;\x20received\x20\x22'+_0x20094e+'\x22.');}export function allowRetargetArgs(_0x5534e6){return _0x5534e6?[{'allowAppCodeRetarget':!![]}]:[];}export function remoteFirstMetadataOptions(){return{'ignoreInvalidMetadata':!![],'ignoreMetadataAppCodeMismatch':!![],'ignoreMetadataSkillCode':!![]};}export function remoteMissingPayloadOptions(){return{'ignoreMetadataForPayload':!![],'ignoreMetadataScope':!![],'ignoreMetadataSkillCode':!![]};}export function remoteMissingCompanyReadOptions(){const _0x4ebe36=a77_0x1982;return{'targetScope':_0x4ebe36(0x100),...remoteFirstMetadataOptions(),...remoteMissingPayloadOptions()};}export function remoteMissingPersonalReadOptions(_0x3eadce={}){return{...remoteFirstMetadataOptions(),...remoteMissingPayloadOptions(),..._0x3eadce};}export function remotePersonalReadOptions(_0x16c2a8,_0x1f13b8={}){return{'ignoreInvalidMetadata':!![],..._0x16c2a8?{'ignoreMetadataAppCodeMismatch':!![],'ignoreMetadataScope':!![]}:{},..._0x1f13b8};}export function throwIfBuiltinPushTarget(_0x2bd154){const _0x379400=a77_0x1982;if(_0x2bd154?.['scope']!==_0x379400(0xf1))return;throw CliErrors[_0x379400(0xf9)](_0x379400(0x10f)+(_0x2bd154['skillCode']??'(unknown)')+_0x379400(0x10a),'Use\x20a\x20different\x20skillCode\x20when\x20submitting\x20a\x20personal\x20or\x20company\x20Skill.');}export function throwIfPublishValidationFailed(_0x585171,_0x5e2ea2,_0x5e948e){const _0x18940c=a77_0x1982;if(_0x5e948e[_0x18940c(0x10d)][_0x18940c(0xe7)]===0x0&&(_0x5e948e[_0x18940c(0x101)]||_0x5e948e[_0x18940c(0xeb)][_0x18940c(0xe7)]>0x0))return;const _0x11f79e=_0x5e948e['errors'][_0x18940c(0xe7)]>0x0?_0x5e948e[_0x18940c(0x10d)][_0x18940c(0xf7)](';\x20'):_0x18940c(0x110),_0x13512e=_0x585171===_0x18940c(0x100)?_0x18940c(0x10c):_0x18940c(0xf2);throw CliErrors[_0x18940c(0xf9)](_0x13512e+_0x18940c(0x111)+_0x5e2ea2+'.',_0x11f79e);}function a77_0x1982(_0x1ec3c4,_0x5d1cfa){_0x1ec3c4=_0x1ec3c4-0xe5;const _0x4b49dc=a77_0x4b49();let _0x1982bc=_0x4b49dc[_0x1ec3c4];return _0x1982bc;}export function throwIfUnconfirmedPublishWarnings(_0xadc1b4,_0x2d7dc2,_0x332464,_0x83c2ae){const _0x3babf2=a77_0x1982;if(_0x332464['length']===0x0||_0x83c2ae)return;const _0x344843=_0xadc1b4===_0x3babf2(0x100)?_0x3babf2(0x10c):_0x3babf2(0xf2);throw CliErrors[_0x3babf2(0xf9)](_0x344843+'\x20Skill\x20push\x20validation\x20reported\x20warning(s)\x20for\x20'+_0x2d7dc2+'.',[_0x3babf2(0xe5),_0x3babf2(0xfe),_0x3babf2(0x105),_0x3babf2(0x108)+_0x332464[_0x3babf2(0xf7)](';\x20')]['join']('\x20'));}export function buildRetargetWarning(_0x4cf8d6,_0x419160){const _0x316786=a77_0x1982;if(!_0x4cf8d6?.[_0x316786(0xe9)]||_0x4cf8d6['appCode']===_0x419160)return[];return[{'level':_0x316786(0x10e),'ruleId':'skill-metadata-appcode-retargeted','file':_0x316786(0xfb),'message':'Local\x20Skill\x20metadata\x20appCode\x20'+_0x4cf8d6[_0x316786(0xe9)]+_0x316786(0xf0)+_0x419160+_0x316786(0xfa),'suggestion':_0x316786(0x113)}];}function a77_0x4b49(){const _0x4ebd04=['validation','\x20after\x20successful\x20push.','lovrabet.skill.json','2JdPSzb','2059065HKeygB','Do\x20not\x20modify\x20the\x20source\x20Skill\x20merely\x20to\x20satisfy\x20publishing.','files','company','valid','publishInput','skillCode','identical','Fix\x20real\x20issues.\x20If\x20the\x20remaining\x20warnings\x20are\x20reviewed\x20false\x20positives,\x20rerun\x20with\x20--confirm-warnings\x20to\x20submit\x20the\x20unchanged\x20package.','scope','8QsfNlq','Warnings:\x20','9208GkSBoy','\x20cannot\x20be\x20pushed.','1086EKYcZn','Company','errors','warning','Builtin\x20Skill\x20','SkillHub\x20validation\x20returned\x20invalid.','\x20Skill\x20push\x20validation\x20failed\x20for\x20','verifyRuntimeSkillBundle','Review\x20the\x20updated\x20local\x20Skill\x20metadata\x20before\x20the\x20next\x20push.','Review\x20each\x20warning\x20before\x20continuing.','remote','length','personal','appCode','5795797jibCiZ','warnings','3730645oZpqjN','656941KYWDNV','6WLlAUa','not-applicable','\x20was\x20retargeted\x20to\x20explicit\x20appCode\x20','builtin','Personal','version','2745864YDzpmX','2538100IRMZqQ','12YoTIZc','join','downloadRuntimeSkillPackage'];a77_0x4b49=function(){return _0x4ebd04;};return a77_0x4b49();}export async function runRemoteContentPreflight(_0x35a6e1){const _0x19ff12=a77_0x1982;if(!_0x35a6e1[_0x19ff12(0xe6)]||_0x35a6e1[_0x19ff12(0xe6)][_0x19ff12(0x106)]!==_0x35a6e1['scope']||!_0x35a6e1['publishInput'][_0x19ff12(0xff)])return{'status':'not-applicable'};const _0x4d1984=_0x35a6e1[_0x19ff12(0xe6)][_0x19ff12(0x103)]||_0x35a6e1[_0x19ff12(0x103)];if(!_0x4d1984)return{'status':_0x19ff12(0xef)};const _0x46a42b=await _0x35a6e1[_0x19ff12(0xf8)](_0x35a6e1[_0x19ff12(0x106)],_0x4d1984,_0x35a6e1[_0x19ff12(0xe9)],_0x35a6e1[_0x19ff12(0xe6)][_0x19ff12(0xf3)]);try{_0x35a6e1[_0x19ff12(0x112)](_0x35a6e1[_0x19ff12(0x102)][_0x19ff12(0xff)],_0x46a42b);}catch{return{'status':'different'};}return{'status':_0x19ff12(0x104),'savedSkill':{..._0x35a6e1[_0x19ff12(0xe6)],'content':_0x35a6e1[_0x19ff12(0x102)]['content'],'files':_0x35a6e1[_0x19ff12(0x102)][_0x19ff12(0xff)]}};}
@@ -1 +1 @@
1
- function a78_0x458e(){const _0x552aec=['1407479mxvaci','8822124tYknDm','Review\x20the\x20updated\x20local\x20Skill\x20metadata\x20before\x20the\x20next\x20push.','72QWOsEo','7050528KzOvhP','preferInputSkillName','2dSlDmK','version','\x20was\x20retargeted\x20to\x20explicit\x20appCode\x20','skillName','270830jLmoPy','skill-metadata-appcode-retargeted','warning','30933yaCTws','appCode','description','tags','\x20after\x20successful\x20push.','Local\x20Skill\x20metadata\x20appCode\x20','2090928HBEvHh','isArray','2765163gVoBOJ'];a78_0x458e=function(){return _0x552aec;};return a78_0x458e();}(function(_0x47d832,_0x2d7ca2){const _0x51d774=a78_0x5640,_0x38e036=_0x47d832();while(!![]){try{const _0x159ca8=-parseInt(_0x51d774(0xc4))/0x1*(-parseInt(_0x51d774(0xb4))/0x2)+parseInt(_0x51d774(0xc3))/0x3+parseInt(_0x51d774(0xc1))/0x4+parseInt(_0x51d774(0xb8))/0x5+-parseInt(_0x51d774(0xc8))/0x6+parseInt(_0x51d774(0xbb))/0x7*(-parseInt(_0x51d774(0xc7))/0x8)+-parseInt(_0x51d774(0xc5))/0x9;if(_0x159ca8===_0x2d7ca2)break;else _0x38e036['push'](_0x38e036['shift']());}catch(_0x1d8fee){_0x38e036['push'](_0x38e036['shift']());}}}(a78_0x458e,0xad95b));export function withRetargetExistingMetadata(_0x3c5675,_0x5a79f1,_0x1a6180={}){const _0x130397=a78_0x5640,_0x447e91=_0x1a6180[_0x130397(0xc9)]?_0x3c5675[_0x130397(0xb7)]??_0x5a79f1['skillName']:_0x5a79f1[_0x130397(0xb7)]??_0x3c5675[_0x130397(0xb7)];return{..._0x3c5675,'skillName':_0x447e91,'description':_0x5a79f1['description']??_0x3c5675[_0x130397(0xbd)],'tags':Array[_0x130397(0xc2)](_0x5a79f1[_0x130397(0xbe)])?_0x5a79f1[_0x130397(0xbe)]:_0x3c5675['tags'],'version':_0x5a79f1[_0x130397(0xb5)]??_0x3c5675[_0x130397(0xb5)],'sourceSessionId':_0x5a79f1['sourceSessionId']??_0x3c5675['sourceSessionId']};}function a78_0x5640(_0x610b8d,_0x3c82ec){_0x610b8d=_0x610b8d-0xb4;const _0x458e04=a78_0x458e();let _0x5640a0=_0x458e04[_0x610b8d];return _0x5640a0;}export function buildRetargetWarning(_0x226265,_0x24c360){const _0x43b97b=a78_0x5640;if(!_0x226265?.[_0x43b97b(0xbc)]||_0x226265['appCode']===_0x24c360)return[];return[{'level':_0x43b97b(0xba),'ruleId':_0x43b97b(0xb9),'file':'lovrabet.skill.json','message':_0x43b97b(0xc0)+_0x226265[_0x43b97b(0xbc)]+_0x43b97b(0xb6)+_0x24c360+_0x43b97b(0xbf),'suggestion':_0x43b97b(0xc6)}];}
1
+ function a78_0x2e4c(){const _0x419239=['description','version','8xowvnf','Review\x20the\x20updated\x20local\x20Skill\x20metadata\x20before\x20the\x20next\x20push.','549gzrAvj','sourceSessionId','warning','2566444rlXCEo','410bRMjvg','1508721RoqbUk','128666fRbYRl','7475724lspiUL','25190DiIJZh','11ppblBz','64KSMzsW','preferInputSkillName','isArray','\x20was\x20retargeted\x20to\x20explicit\x20appCode\x20','appCode','skillName','74851AvXvxh','33024YHSmUZ','tags'];a78_0x2e4c=function(){return _0x419239;};return a78_0x2e4c();}(function(_0x175b04,_0x2085a0){const _0x56510a=a78_0x1f3c,_0x52e4b3=_0x175b04();while(!![]){try{const _0x291a47=parseInt(_0x56510a(0x1c1))/0x1*(parseInt(_0x56510a(0x1d0))/0x2)+-parseInt(_0x56510a(0x1d7))/0x3+-parseInt(_0x56510a(0x1d5))/0x4+parseInt(_0x56510a(0x1d6))/0x5*(parseInt(_0x56510a(0x1cc))/0x6)+-parseInt(_0x56510a(0x1cb))/0x7*(-parseInt(_0x56510a(0x1c5))/0x8)+-parseInt(_0x56510a(0x1d2))/0x9*(-parseInt(_0x56510a(0x1c3))/0xa)+-parseInt(_0x56510a(0x1c4))/0xb*(-parseInt(_0x56510a(0x1c2))/0xc);if(_0x291a47===_0x2085a0)break;else _0x52e4b3['push'](_0x52e4b3['shift']());}catch(_0x12127d){_0x52e4b3['push'](_0x52e4b3['shift']());}}}(a78_0x2e4c,0xa6e86));function a78_0x1f3c(_0x34eb94,_0x5742ec){_0x34eb94=_0x34eb94-0x1c1;const _0x2e4c8a=a78_0x2e4c();let _0x1f3cb9=_0x2e4c8a[_0x34eb94];return _0x1f3cb9;}export function withRetargetExistingMetadata(_0xf70b83,_0x595b83,_0x1e375e={}){const _0x5cb34e=a78_0x1f3c,_0x13a0e3=_0x1e375e[_0x5cb34e(0x1c6)]?_0xf70b83['skillName']??_0x595b83[_0x5cb34e(0x1ca)]:_0x595b83[_0x5cb34e(0x1ca)]??_0xf70b83['skillName'];return{..._0xf70b83,'skillName':_0x13a0e3,'description':_0x595b83[_0x5cb34e(0x1ce)]??_0xf70b83[_0x5cb34e(0x1ce)],'tags':Array[_0x5cb34e(0x1c7)](_0x595b83[_0x5cb34e(0x1cd)])?_0x595b83[_0x5cb34e(0x1cd)]:_0xf70b83['tags'],'version':_0x595b83[_0x5cb34e(0x1cf)]??_0xf70b83[_0x5cb34e(0x1cf)],'sourceSessionId':_0x595b83[_0x5cb34e(0x1d3)]??_0xf70b83[_0x5cb34e(0x1d3)]};}export function buildRetargetWarning(_0x23a600,_0x1e364b){const _0x30a30a=a78_0x1f3c;if(!_0x23a600?.[_0x30a30a(0x1c9)]||_0x23a600[_0x30a30a(0x1c9)]===_0x1e364b)return[];return[{'level':_0x30a30a(0x1d4),'ruleId':'skill-metadata-appcode-retargeted','file':'lovrabet.skill.json','message':'Local\x20Skill\x20metadata\x20appCode\x20'+_0x23a600['appCode']+_0x30a30a(0x1c8)+_0x1e364b+'\x20after\x20successful\x20push.','suggestion':_0x30a30a(0x1d1)}];}
@@ -1 +1 @@
1
- (function(_0x2e4528,_0x1d0056){const _0x3c4025=a79_0x56ad,_0x125264=_0x2e4528();while(!![]){try{const _0x5952e8=parseInt(_0x3c4025(0x1e1))/0x1+-parseInt(_0x3c4025(0x1e4))/0x2*(-parseInt(_0x3c4025(0x1d6))/0x3)+-parseInt(_0x3c4025(0x1d8))/0x4*(-parseInt(_0x3c4025(0x1de))/0x5)+-parseInt(_0x3c4025(0x1df))/0x6*(parseInt(_0x3c4025(0x1e5))/0x7)+-parseInt(_0x3c4025(0x1d5))/0x8+-parseInt(_0x3c4025(0x1d9))/0x9*(-parseInt(_0x3c4025(0x1db))/0xa)+-parseInt(_0x3c4025(0x1e0))/0xb;if(_0x5952e8===_0x1d0056)break;else _0x125264['push'](_0x125264['shift']());}catch(_0x520aa1){_0x125264['push'](_0x125264['shift']());}}}(a79_0x399e,0x9fda3));function a79_0x399e(){const _0x271afb=['Unsupported\x20Skill\x20list\x20scope:\x20','personal','45590ffqdVx','126YIsQyg','3319808KEnBIQ','96lRZJRv','all','180ojpwbY','11519703GBsEuo','trim','10joRDyB','validation','company','88025ntveRo','249222YKGYAb','19350375DHFwkD','774890aBoiov'];a79_0x399e=function(){return _0x271afb;};return a79_0x399e();}function a79_0x56ad(_0x5281c8,_0x500a32){_0x5281c8=_0x5281c8-0x1d5;const _0x399e35=a79_0x399e();let _0x56ad0c=_0x399e35[_0x5281c8];return _0x56ad0c;}import{CliErrors}from'../../errors.js';export function normalizeSyncScopes(_0x8a4b23){const _0x1e4ebc=a79_0x56ad,_0xfea053=_0x8a4b23[_0x1e4ebc(0x1da)]();if(!_0xfea053||_0xfea053===_0x1e4ebc(0x1d7))return['personal',_0x1e4ebc(0x1dd)];if(_0xfea053===_0x1e4ebc(0x1e3)||_0xfea053==='company')return[_0xfea053];throw CliErrors[_0x1e4ebc(0x1dc)]('Unsupported\x20Skill\x20sync\x20scope:\x20'+_0x8a4b23);}export function normalizeListScope(_0x59089c){const _0x414723=a79_0x56ad,_0x468d1a=_0x59089c[_0x414723(0x1da)]();if(!_0x468d1a)return _0x414723(0x1d7);if(_0x468d1a===_0x414723(0x1e3)||_0x468d1a==='company'||_0x468d1a===_0x414723(0x1d7))return _0x468d1a;throw CliErrors[_0x414723(0x1dc)](_0x414723(0x1e2)+_0x59089c);}export function shouldListScope(_0x9d7b96,_0x177aa8){const _0x4f6ccb=a79_0x56ad;if(_0x9d7b96===_0x4f6ccb(0x1d7))return!![];return _0x9d7b96===_0x177aa8;}export function listScopeToRuntimeScopes(_0x23e61a){const _0x4cd52b=a79_0x56ad;if(_0x23e61a===_0x4cd52b(0x1d7))return['personal',_0x4cd52b(0x1dd)];return[_0x23e61a===_0x4cd52b(0x1dd)?_0x4cd52b(0x1dd):_0x23e61a];}export function listScopeToRemoteScope(_0x3e6eea){return _0x3e6eea;}
1
+ (function(_0x2676dd,_0x9413fa){const _0x155cc6=a79_0x5952,_0x139137=_0x2676dd();while(!![]){try{const _0x43cd37=-parseInt(_0x155cc6(0x15c))/0x1+parseInt(_0x155cc6(0x164))/0x2*(parseInt(_0x155cc6(0x169))/0x3)+-parseInt(_0x155cc6(0x16a))/0x4+parseInt(_0x155cc6(0x167))/0x5*(parseInt(_0x155cc6(0x160))/0x6)+parseInt(_0x155cc6(0x15d))/0x7*(-parseInt(_0x155cc6(0x162))/0x8)+-parseInt(_0x155cc6(0x168))/0x9+parseInt(_0x155cc6(0x166))/0xa;if(_0x43cd37===_0x9413fa)break;else _0x139137['push'](_0x139137['shift']());}catch(_0x5269b5){_0x139137['push'](_0x139137['shift']());}}}(a79_0x529b,0xda48c));import{CliErrors}from'../../errors.js';export function normalizeSyncScopes(_0x188682){const _0x4ff36c=a79_0x5952,_0x5d94f1=_0x188682['trim']();if(!_0x5d94f1||_0x5d94f1===_0x4ff36c(0x161))return['personal',_0x4ff36c(0x15f)];if(_0x5d94f1===_0x4ff36c(0x165)||_0x5d94f1===_0x4ff36c(0x15f))return[_0x5d94f1];throw CliErrors[_0x4ff36c(0x15e)]('Unsupported\x20Skill\x20sync\x20scope:\x20'+_0x188682);}export function normalizeListScope(_0x55dfa0){const _0x3128b2=a79_0x5952,_0xdeefe5=_0x55dfa0[_0x3128b2(0x163)]();if(!_0xdeefe5)return _0x3128b2(0x161);if(_0xdeefe5===_0x3128b2(0x165)||_0xdeefe5==='company'||_0xdeefe5===_0x3128b2(0x161))return _0xdeefe5;throw CliErrors[_0x3128b2(0x15e)]('Unsupported\x20Skill\x20list\x20scope:\x20'+_0x55dfa0);}function a79_0x5952(_0x1d4075,_0x9341b2){_0x1d4075=_0x1d4075-0x15c;const _0x529b7e=a79_0x529b();let _0x59522c=_0x529b7e[_0x1d4075];return _0x59522c;}export function shouldListScope(_0x315787,_0x6e26fd){const _0x137326=a79_0x5952;if(_0x315787===_0x137326(0x161))return!![];return _0x315787===_0x6e26fd;}export function listScopeToRuntimeScopes(_0x3dc5e9){const _0x46a0f2=a79_0x5952;if(_0x3dc5e9===_0x46a0f2(0x161))return['personal',_0x46a0f2(0x15f)];return[_0x3dc5e9==='company'?'company':_0x3dc5e9];}export function listScopeToRemoteScope(_0x52f14c){return _0x52f14c;}function a79_0x529b(){const _0xb322b6=['validation','company','2475642yWAbDp','all','2823320RGTbdy','trim','2138HmJimu','personal','11443020qKMFpE','10appasu','9719145MzWWYU','4737ePdqDs','2852244oeJoHY','264579dFjISV','14wNQBnC'];a79_0x529b=function(){return _0xb322b6;};return a79_0x529b();}
@@ -1 +1 @@
1
- (function(_0x48cea7,_0x3922c2){var _0x3f3125=a80_0x14bb,_0x15e280=_0x48cea7();while(!![]){try{var _0x5074b0=-parseInt(_0x3f3125(0xba))/0x1+-parseInt(_0x3f3125(0xc2))/0x2+-parseInt(_0x3f3125(0xaf))/0x3*(-parseInt(_0x3f3125(0xb1))/0x4)+-parseInt(_0x3f3125(0xb6))/0x5+parseInt(_0x3f3125(0xb7))/0x6+parseInt(_0x3f3125(0xbb))/0x7*(-parseInt(_0x3f3125(0xb5))/0x8)+-parseInt(_0x3f3125(0xb4))/0x9*(-parseInt(_0x3f3125(0xb9))/0xa);if(_0x5074b0===_0x3922c2)break;else _0x15e280['push'](_0x15e280['shift']());}catch(_0x2b9616){_0x15e280['push'](_0x15e280['shift']());}}}(a80_0x4ae5,0x19376));function a80_0x14bb(_0x38fa0c,_0x5585e1){_0x38fa0c=_0x38fa0c-0xaf;var _0x4ae5b1=a80_0x4ae5();var _0x14bb7e=_0x4ae5b1[_0x38fa0c];return _0x14bb7e;}export function summarizeRuntimeSkill(_0x215539){var _0x440291=a80_0x14bb;return{'id':_0x215539['id'],'skillCode':_0x215539[_0x440291(0xbd)],'skillName':_0x215539['skillName'],'scope':_0x215539[_0x440291(0xbc)],'version':_0x215539['version'],'readonly':_0x215539[_0x440291(0xb3)]};}export function summarizeLocalRuntimeSkill(_0x542f31){var _0x2b5d60=a80_0x14bb;return{'id':_0x542f31['id'],'skillCode':_0x542f31[_0x2b5d60(0xbd)],'skillName':_0x542f31[_0x2b5d60(0xc0)],'scope':_0x542f31['scope'],'appCode':_0x542f31[_0x2b5d60(0xbf)],'version':_0x542f31['version'],'status':_0x542f31[_0x2b5d60(0xc3)],'readonly':_0x542f31[_0x2b5d60(0xb3)],'tags':_0x542f31['tags'],'dir':_0x542f31['dir'],'cacheDir':_0x542f31[_0x2b5d60(0xb2)],'skillMdPath':_0x542f31['skillMdPath'],'metadataPath':_0x542f31[_0x2b5d60(0xb8)],'linkedPaths':_0x542f31[_0x2b5d60(0xb0)],'contentHash':_0x542f31[_0x2b5d60(0xbe)],'treeHash':_0x542f31['treeHash'],'pulledAt':_0x542f31[_0x2b5d60(0xc1)]};}function a80_0x4ae5(){var _0x1cc823=['9sngybe','460568BgGvBF','136770bzUxmT','39666htjkqs','metadataPath','357260aLJkJO','9552FYCLfv','7SLCOst','scope','skillCode','contentHash','appCode','skillName','pulledAt','47028eZlbYE','status','60iXfOqX','linkedPaths','35788yFgkrN','cacheDir','readonly'];a80_0x4ae5=function(){return _0x1cc823;};return a80_0x4ae5();}
1
+ function a80_0x5f1a(_0x189fa9,_0x1cd824){_0x189fa9=_0x189fa9-0xef;var _0x510526=a80_0x5105();var _0x5f1abb=_0x510526[_0x189fa9];return _0x5f1abb;}function a80_0x5105(){var _0x43d7ce=['18852SsMgNF','tags','15lUgcEh','259321vRHksv','skillMdPath','dir','139270PNkEcT','553tpsfHo','linkedPaths','skillName','1849608XGJjWu','status','436196kWeCFS','appCode','treeHash','skillCode','369GoxywP','pulledAt','2yuUJiZ','scope','metadataPath','1412980pkRvYs','version','2218176ANzKMR','99vQKpYh'];a80_0x5105=function(){return _0x43d7ce;};return a80_0x5105();}(function(_0x33327c,_0x55e129){var _0x197a71=a80_0x5f1a,_0x283672=_0x33327c();while(!![]){try{var _0x2a0297=-parseInt(_0x197a71(0x102))/0x1*(parseInt(_0x197a71(0xf8))/0x2)+parseInt(_0x197a71(0x101))/0x3*(-parseInt(_0x197a71(0xf2))/0x4)+parseInt(_0x197a71(0xfb))/0x5+-parseInt(_0x197a71(0xff))/0x6*(parseInt(_0x197a71(0x106))/0x7)+parseInt(_0x197a71(0xfd))/0x8+parseInt(_0x197a71(0xf6))/0x9*(-parseInt(_0x197a71(0x105))/0xa)+parseInt(_0x197a71(0xfe))/0xb*(parseInt(_0x197a71(0xf0))/0xc);if(_0x2a0297===_0x55e129)break;else _0x283672['push'](_0x283672['shift']());}catch(_0x292312){_0x283672['push'](_0x283672['shift']());}}}(a80_0x5105,0x4eed3));export function summarizeRuntimeSkill(_0x29ecb5){var _0x64bd39=a80_0x5f1a;return{'id':_0x29ecb5['id'],'skillCode':_0x29ecb5['skillCode'],'skillName':_0x29ecb5['skillName'],'scope':_0x29ecb5[_0x64bd39(0xf9)],'version':_0x29ecb5['version'],'readonly':_0x29ecb5['readonly']};}export function summarizeLocalRuntimeSkill(_0x31c8da){var _0x490ca4=a80_0x5f1a;return{'id':_0x31c8da['id'],'skillCode':_0x31c8da[_0x490ca4(0xf5)],'skillName':_0x31c8da[_0x490ca4(0xef)],'scope':_0x31c8da[_0x490ca4(0xf9)],'appCode':_0x31c8da[_0x490ca4(0xf3)],'version':_0x31c8da[_0x490ca4(0xfc)],'status':_0x31c8da[_0x490ca4(0xf1)],'readonly':_0x31c8da['readonly'],'tags':_0x31c8da[_0x490ca4(0x100)],'dir':_0x31c8da[_0x490ca4(0x104)],'cacheDir':_0x31c8da['cacheDir'],'skillMdPath':_0x31c8da[_0x490ca4(0x103)],'metadataPath':_0x31c8da[_0x490ca4(0xfa)],'linkedPaths':_0x31c8da[_0x490ca4(0x107)],'contentHash':_0x31c8da['contentHash'],'treeHash':_0x31c8da[_0x490ca4(0xf4)],'pulledAt':_0x31c8da[_0x490ca4(0xf7)]};}