@lovrabet/lovrabet-cli 2.3.8-beta.4 → 2.3.8-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/lib/cli.js +1 -1
- package/lib/commands/api-doc/index.js +1 -1
- package/lib/commands/app/cache.js +1 -1
- package/lib/commands/app/definitions.js +1 -1
- package/lib/commands/app/eligibility.js +1 -1
- package/lib/commands/app/mock-loader.js +1 -1
- package/lib/commands/app/remote-source.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app-config/get.js +1 -1
- package/lib/commands/app-config/index.js +1 -1
- package/lib/commands/approval/index.js +1 -1
- package/lib/commands/artifact/index.js +1 -1
- package/lib/commands/auth/device.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/auth/prompt.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/exec.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/cli-skill/index.js +1 -1
- package/lib/commands/common/config-policy.js +1 -1
- package/lib/commands/common/constraints.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/local-file.js +1 -1
- package/lib/commands/config/definitions.js +1 -1
- package/lib/commands/config/init.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/data/import-excel.js +1 -1
- package/lib/commands/data/index.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/sdk-doc.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/file/index.js +1 -1
- package/lib/commands/init.js +1 -1
- package/lib/commands/issue/context.d.ts +3 -0
- package/lib/commands/issue/context.js +1 -0
- package/lib/commands/issue/index.d.ts +2 -0
- package/lib/commands/issue/index.js +1 -0
- package/lib/commands/issue/report.d.ts +2 -0
- package/lib/commands/issue/report.js +1 -0
- package/lib/commands/kb/index.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/notification/config-list.js +1 -1
- package/lib/commands/notification/index.js +1 -1
- package/lib/commands/notification/shared.js +1 -1
- package/lib/commands/ocr/index.js +1 -1
- package/lib/commands/permit/dataset-get.js +1 -1
- package/lib/commands/permit/dataset-set.js +1 -1
- package/lib/commands/permit/index.js +1 -1
- package/lib/commands/permit/page-get.js +1 -1
- package/lib/commands/permit/page-set.js +1 -1
- package/lib/commands/permit/role-menus-set.js +1 -1
- package/lib/commands/permit/role-menus.js +1 -1
- package/lib/commands/permit/shared.js +1 -1
- package/lib/commands/personal-bff/index.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/role/create.js +1 -1
- package/lib/commands/role/delete.js +1 -1
- package/lib/commands/role/detail.js +1 -1
- package/lib/commands/role/index.js +1 -1
- package/lib/commands/role/list.js +1 -1
- package/lib/commands/role/shared.js +1 -1
- package/lib/commands/role/update.js +1 -1
- package/lib/commands/role/user-add.js +1 -1
- package/lib/commands/role/user-remove.js +1 -1
- package/lib/commands/schedule/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/service/dynamic.js +1 -1
- package/lib/commands/service/function-name-adapter.js +1 -1
- package/lib/commands/service/index.js +1 -1
- package/lib/commands/service/registry.js +1 -1
- package/lib/commands/skill/commands/create.js +1 -1
- package/lib/commands/skill/commands/diagram.js +1 -1
- package/lib/commands/skill/commands/install.js +1 -1
- package/lib/commands/skill/commands/list.js +1 -1
- package/lib/commands/skill/commands/push.js +1 -1
- package/lib/commands/skill/commands/validate.js +1 -1
- package/lib/commands/skill/diagram.js +1 -1
- package/lib/commands/skill/flags.js +1 -1
- package/lib/commands/skill/index.js +1 -1
- package/lib/commands/skill/manifest-helpers.js +1 -1
- package/lib/commands/skill/push-execute.js +1 -1
- package/lib/commands/skill/push-flow-helpers.js +1 -1
- package/lib/commands/skill/push-retarget.js +1 -1
- package/lib/commands/skill/scopes.js +1 -1
- package/lib/commands/skill/summary.js +1 -1
- package/lib/commands/skill/templates.js +1 -1
- package/lib/commands/skill/validate.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/update.js +1 -1
- package/lib/commands/user-account/bind.js +1 -1
- package/lib/commands/user-account/index.js +1 -1
- package/lib/commands/workspace/index.js +1 -1
- package/lib/config/domain-config.js +1 -1
- package/lib/config/schema.js +1 -1
- package/lib/constant/app.js +1 -1
- package/lib/constant/auth-mode.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/defaults.js +1 -1
- package/lib/constant/distribution.js +1 -1
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- package/lib/constant/product.js +1 -1
- package/lib/constant/region.js +1 -1
- package/lib/constant/risk.js +1 -1
- package/lib/constant/url.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/api-client.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/kb-management-client.js +1 -1
- package/lib/core/kb-sdk-errors.js +1 -1
- package/lib/core/kb-search-client.js +1 -1
- package/lib/core/sdk-client.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/access-error.js +1 -1
- package/lib/framework/build-all-flags.js +1 -1
- package/lib/framework/dryrun.js +1 -1
- package/lib/framework/flags.js +1 -1
- package/lib/framework/help.js +1 -1
- package/lib/framework/index.js +1 -1
- package/lib/framework/output.js +1 -1
- package/lib/framework/preparse.js +1 -1
- package/lib/framework/rate-limit.js +1 -1
- package/lib/framework/raw-flags.js +1 -1
- package/lib/framework/response.js +1 -1
- package/lib/framework/runner-confirmation.js +1 -1
- package/lib/framework/runner-error.js +1 -1
- package/lib/framework/runner.js +1 -1
- package/lib/framework/schema-export.js +1 -1
- package/lib/framework/service-order.js +1 -1
- package/lib/framework/types.js +1 -1
- package/lib/generated/build-info.d.ts +4 -4
- package/lib/generated/build-info.js +1 -1
- package/lib/generated/official-routing.js +1 -1
- package/lib/generated/routing-contract.js +1 -1
- package/lib/help.js +1 -1
- package/lib/postinstall.js +1 -1
- package/lib/runtime/confirmation.js +1 -1
- package/lib/runtime/event.js +1 -1
- package/lib/runtime/index.js +1 -1
- package/lib/runtime/queue.js +1 -1
- package/lib/runtime/resolve.js +1 -1
- package/lib/services/dataset-import/auto-id-runner.js +1 -1
- package/lib/services/dataset-import/excel-reader.js +1 -1
- package/lib/services/dataset-import/image-bytes.js +1 -1
- package/lib/services/dataset-import/image-ooxml.js +1 -1
- package/lib/services/dataset-import/image-runner.js +1 -1
- package/lib/services/dataset-import/metadata.js +1 -1
- package/lib/services/dataset-import/preview.js +1 -1
- package/lib/services/dataset-import/runner.js +1 -1
- package/lib/skills/builtin-skill.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/skills/runtime-skill-sync/constants.js +1 -1
- package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
- package/lib/skills/runtime-skill-sync/hashing.js +1 -1
- package/lib/skills/runtime-skill-sync/install-target.js +1 -1
- package/lib/skills/runtime-skill-sync/links.js +1 -1
- package/lib/skills/runtime-skill-sync/list-local.js +1 -1
- package/lib/skills/runtime-skill-sync/local-files.js +1 -1
- package/lib/skills/runtime-skill-sync/materialize.js +1 -1
- package/lib/skills/runtime-skill-sync/metadata.js +1 -1
- package/lib/skills/runtime-skill-sync/paths.js +1 -1
- package/lib/skills/runtime-skill-sync/push.js +1 -1
- package/lib/skills/runtime-skill-sync/scopes.js +1 -1
- package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
- package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
- package/lib/skills/runtime-skill-sync.js +1 -1
- package/lib/skills/skill-presence.js +1 -1
- package/lib/utils/access-key-redaction.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/cli-version-policy.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/lossless-json.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/positive-safe-integer.js +1 -1
- package/lib/utils/redaction.js +1 -1
- package/lib/utils/runtime-user-id.js +1 -1
- package/lib/utils/update-notice.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +2 -2
- package/skills/lovrabet/SKILL.md +3 -1
- package/skills/lovrabet/references/lovrabet-issue-report.md +24 -0
- package/skills/lovrabet.manifest.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a69_0x59d7ab=a69_0x2c35;(function(_0x2c6a25,_0x347932){const _0x193fca=a69_0x2c35,_0x165814=_0x2c6a25();while(!![]){try{const _0x1be62d=-parseInt(_0x193fca(0x12e))/0x1+-parseInt(_0x193fca(0x122))/0x2*(-parseInt(_0x193fca(0x129))/0x3)+-parseInt(_0x193fca(0x11d))/0x4+-parseInt(_0x193fca(0x113))/0x5+-parseInt(_0x193fca(0x12d))/0x6*(parseInt(_0x193fca(0x11e))/0x7)+parseInt(_0x193fca(0x12b))/0x8+parseInt(_0x193fca(0x126))/0x9;if(_0x1be62d===_0x347932)break;else _0x165814['push'](_0x165814['shift']());}catch(_0x363da7){_0x165814['push'](_0x165814['shift']());}}}(a69_0x16a8,0xe6e4c));import{existsSync,lstatSync,mkdirSync,writeFileSync}from'node:fs';function a69_0x16a8(){const _0x4ea781=['validation','path','4885480mqlJeE','434MYxgel','type','skillName','force','5126IsGeZR','Skill\x20directory\x20already\x20exists:\x20','Create\x20a\x20local\x20self-contained\x20runtime\x20Skill\x20draft','Create\x20a\x20local\x20runtime\x20Skill\x20draft\x20without\x20uploading\x20or\x20publishing\x20it.','22531059xirotj','WRITE','name','1569PKsNxn','trim','10316496TMJzzc','content','144042kvfyQH','165914CLMgId','files','6560020Nbdroc','isSymbolicLink','skillDir','rendered','utf8','map','str','target'];a69_0x16a8=function(){return _0x4ea781;};return a69_0x16a8();}import{dirname,resolve}from'node:path';function a69_0x2c35(_0x5ca1f5,_0x369c01){_0x5ca1f5=_0x5ca1f5-0x113;const _0x16a8f4=a69_0x16a8();let _0x2c3578=_0x16a8f4[_0x5ca1f5];return _0x2c3578;}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':'skill','command':'create','description':a69_0x59d7ab(0x124),'risk':'read','requiresAuth':![],'requiresAppCode':![],'flags':[CREATE_NAME_FLAG,TYPE_FLAG,TARGET_FLAG,FORCE_FLAG],async 'dryRun'(_0xaf6227){const _0x30aa4d=a69_0x59d7ab,_0x3e279e=buildSkillCreatePlan(_0xaf6227[_0x30aa4d(0x119)](_0x30aa4d(0x128)),_0xaf6227[_0x30aa4d(0x119)]('type'),_0xaf6227[_0x30aa4d(0x119)](_0x30aa4d(0x11a)));return{'method':_0x30aa4d(0x127),'url':_0x3e279e[_0x30aa4d(0x115)],'body':{'skillName':_0x3e279e['rendered'][_0x30aa4d(0x120)],'type':_0x3e279e['rendered'][_0x30aa4d(0x11f)],'selfContained':!![],'files':_0x3e279e['rendered'][_0x30aa4d(0x12f)][_0x30aa4d(0x118)](_0x53a3d9=>_0x53a3d9[_0x30aa4d(0x11c)])},'description':_0x30aa4d(0x125)};},async 'execute'(_0x2abb40){const _0x3fa278=a69_0x59d7ab,_0x491fbf=buildSkillCreatePlan(_0x2abb40[_0x3fa278(0x119)](_0x3fa278(0x128)),_0x2abb40['str'](_0x3fa278(0x11f)),_0x2abb40[_0x3fa278(0x119)](_0x3fa278(0x11a)));return writeSkillDraft(_0x491fbf,_0x2abb40['bool'](_0x3fa278(0x121))),{'ok':!![],'data':{'skillName':_0x491fbf['rendered']['skillName'],'type':_0x491fbf[_0x3fa278(0x116)][_0x3fa278(0x11f)],'dir':_0x491fbf[_0x3fa278(0x115)],'files':_0x491fbf[_0x3fa278(0x116)]['files'][_0x3fa278(0x118)](_0x24abe6=>_0x24abe6[_0x3fa278(0x11c)])},'message':'Created\x20local\x20Skill\x20draft\x20'+_0x491fbf[_0x3fa278(0x116)][_0x3fa278(0x120)]};}};function buildSkillCreatePlan(_0x290aee,_0xaaffc7,_0x2f71d1){const _0x54dde4=a69_0x59d7ab,_0x2f40e1=_0xaaffc7[_0x54dde4(0x12a)](),_0x2ebbac=renderSkillTemplate({'skillName':_0x290aee,'type':_0x2f40e1});!_0x2f40e1&&writeCliSideChannelLine('Omitting\x20--type\x20is\x20deprecated;\x20defaulting\x20to\x20write\x20for\x20compatibility.\x20Pass\x20--type\x20read\x20or\x20--type\x20write\x20explicitly.');const _0x20f75c=resolve(normalizeSkillTarget(_0x2f71d1));return{'rendered':_0x2ebbac,'targetRoot':_0x20f75c,'skillDir':resolve(_0x20f75c,_0x2ebbac[_0x54dde4(0x120)])};}function normalizeSkillTarget(_0x32b787){const _0x491134=a69_0x59d7ab;return(_0x32b787||DEFAULT_SKILL_TARGET)[_0x491134(0x12a)]()||DEFAULT_SKILL_TARGET;}function writeSkillDraft(_0x59295e,_0x145ce4){const _0x333a53=a69_0x59d7ab;if(existsSync(_0x59295e[_0x333a53(0x115)])){const _0xe978ed=lstatSync(_0x59295e[_0x333a53(0x115)]);if(!_0xe978ed['isDirectory']()||_0xe978ed[_0x333a53(0x114)]())throw CliErrors[_0x333a53(0x11b)]('Skill\x20path\x20already\x20exists\x20and\x20is\x20not\x20a\x20writable\x20directory:\x20'+_0x59295e['skillDir']);if(!_0x145ce4)throw CliErrors['validation'](_0x333a53(0x123)+_0x59295e[_0x333a53(0x115)],'Pass\x20--force\x20to\x20overwrite\x20generated\x20template\x20files.');}for(const _0x148e3c of _0x59295e['rendered'][_0x333a53(0x12f)]){const _0x10472e=resolve(_0x59295e[_0x333a53(0x115)],_0x148e3c[_0x333a53(0x11c)]),_0x52e625=dirname(_0x10472e);mkdirSync(_0x52e625,{'recursive':!![]});if(existsSync(_0x10472e)&&lstatSync(_0x10472e)[_0x333a53(0x114)]())throw CliErrors['validation']('Refusing\x20to\x20overwrite\x20symlink:\x20'+_0x10472e);writeFileSync(_0x10472e,_0x148e3c[_0x333a53(0x12c)],_0x333a53(0x117));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a70_0x3620(_0x4c72ef,_0x418723){_0x4c72ef=_0x4c72ef-0x148;const _0x13de51=a70_0x13de();let _0x362084=_0x13de51[_0x4c72ef];return _0x362084;}const a70_0x544518=a70_0x3620;(function(_0x16e684,_0x444492){const _0x303146=a70_0x3620,_0x5debaa=_0x16e684();while(!![]){try{const _0x36c93d=-parseInt(_0x303146(0x155))/0x1*(-parseInt(_0x303146(0x16a))/0x2)+-parseInt(_0x303146(0x159))/0x3*(-parseInt(_0x303146(0x174))/0x4)+-parseInt(_0x303146(0x149))/0x5+-parseInt(_0x303146(0x160))/0x6*(parseInt(_0x303146(0x15b))/0x7)+parseInt(_0x303146(0x167))/0x8+-parseInt(_0x303146(0x14f))/0x9+-parseInt(_0x303146(0x14a))/0xa;if(_0x36c93d===_0x444492)break;else _0x5debaa['push'](_0x5debaa['shift']());}catch(_0x5a1a32){_0x5debaa['push'](_0x5debaa['shift']());}}}(a70_0x13de,0x5ab26));import{getRuntimeSkillVersionDiagram,putRuntimeSkillVersionDiagram,validateRuntimeSkillVersionDiagram}from'../../../core/api-client.js';import{CliErrors}from'../../../errors.js';function a70_0x13de(){const _0x10cae6=['diagram-file','appCode','skillCode','--source-fingerprint\x20must\x20be\x20lowercase\x20sha256:<64\x20hex\x20characters>.','1501QiXbam','diagram-push','write','Found\x20Skill\x20diagram\x20for\x20','2325vBLTmM','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.','595FvVFYs','expectedDiagramRevision',';\x20next\x20write\x20expects\x20revision\x20','diagram-show','unchanged','10698CnrxaW','Updated',';\x20first\x20write\x20expects\x20revision\x20','\x20is\x20unchanged.','created','trim','diagram-validate','925024uvFmEV','personal','\x20Skill\x20diagram\x20for\x20','764eYhBLp','Create\x20or\x20replace\x20a\x20Mermaid\x20diagram\x20for\x20a\x20specific\x20Skill\x20version','num','read','found','validation','version','--skill-code,\x20--version,\x20and\x20--scope\x20personal|company\x20are\x20required.','source-fingerprint','skill','3376mBQzre','company','expected-diagram-revision','Skill\x20diagram\x20for\x20','Show\x20the\x20current\x20Mermaid\x20diagram\x20for\x20one\x20exact\x20Skill\x20version','Created','870345gzoEzO','3107520SHzMKp','str','action','--expected-diagram-revision\x20must\x20be\x20a\x20non-negative\x20integer.','scope','3017160mwDNCl','No\x20Skill\x20diagram\x20is\x20stored\x20for\x20'];a70_0x13de=function(){return _0x10cae6;};return a70_0x13de();}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(_0x3f7fd8){const _0x33a2ea=a70_0x3620,_0x504620=_0x3f7fd8[_0x33a2ea(0x14b)]('skill-code')['trim'](),_0x2432b4=_0x3f7fd8[_0x33a2ea(0x14b)]('version')[_0x33a2ea(0x165)](),_0x4cab1f=_0x3f7fd8[_0x33a2ea(0x14b)]('scope');if(!_0x504620||!_0x2432b4||_0x4cab1f!==_0x33a2ea(0x168)&&_0x4cab1f!==_0x33a2ea(0x175))throw CliErrors[_0x33a2ea(0x16f)](_0x33a2ea(0x171));return{'skillCode':_0x504620,'version':_0x2432b4,'scope':_0x4cab1f};}async function readDiagramWriteInput(_0x31a450){const _0x170082=a70_0x3620,_0xc593ab=_0x31a450[_0x170082(0x16c)](_0x170082(0x176)),_0x24d7c9=_0x31a450[_0x170082(0x14b)](_0x170082(0x172))[_0x170082(0x165)]();if(!Number['isInteger'](_0xc593ab)||_0xc593ab<0x0)throw CliErrors[_0x170082(0x16f)](_0x170082(0x14d));if(!/^sha256:[0-9a-f]{64}$/['test'](_0x24d7c9))throw CliErrors[_0x170082(0x16f)](_0x170082(0x154));return{'expectedDiagramRevision':_0xc593ab,'sourceFingerprint':_0x24d7c9,'diagram':await readRequiredSkillDiagram(_0x31a450[_0x170082(0x14b)](_0x170082(0x151)))};}export const diagramValidateCommand={'service':'skill','command':a70_0x544518(0x166),'description':'Validate\x20a\x20Mermaid\x20diagram\x20replacement\x20for\x20one\x20exact\x20Skill\x20version','risk':a70_0x544518(0x16d),'flags':WRITE_FLAGS,async 'execute'(_0x1b35c5){const _0x2089f7=a70_0x544518,_0x18bdae=readDiagramTarget(_0x1b35c5),_0x23fbaf=await validateRuntimeSkillVersionDiagram(_0x1b35c5[_0x2089f7(0x152)],_0x18bdae[_0x2089f7(0x153)],_0x18bdae[_0x2089f7(0x170)],_0x18bdae[_0x2089f7(0x14e)],await readDiagramWriteInput(_0x1b35c5));return{'ok':!![],'data':_0x23fbaf,'message':'Skill\x20diagram\x20validation\x20passed\x20for\x20'+_0x18bdae[_0x2089f7(0x153)]+'@'+_0x18bdae['version']+'.'};}};export const diagramPushCommand={'service':a70_0x544518(0x173),'command':a70_0x544518(0x156),'description':a70_0x544518(0x16b),'risk':a70_0x544518(0x157),'confirmationDescription':a70_0x544518(0x15a),'flags':WRITE_FLAGS,async 'execute'(_0x456002){const _0x4fb0a7=a70_0x544518,_0x1e00aa=readDiagramTarget(_0x456002),_0x458b82=await putRuntimeSkillVersionDiagram(_0x456002['appCode'],_0x1e00aa[_0x4fb0a7(0x153)],_0x1e00aa[_0x4fb0a7(0x170)],_0x1e00aa[_0x4fb0a7(0x14e)],await readDiagramWriteInput(_0x456002));return{'ok':!![],'data':_0x458b82,'message':_0x458b82['action']===_0x4fb0a7(0x15f)?_0x4fb0a7(0x177)+_0x1e00aa[_0x4fb0a7(0x153)]+'@'+_0x1e00aa[_0x4fb0a7(0x170)]+_0x4fb0a7(0x163):(_0x458b82[_0x4fb0a7(0x14c)]===_0x4fb0a7(0x164)?_0x4fb0a7(0x148):_0x4fb0a7(0x161))+_0x4fb0a7(0x169)+_0x1e00aa[_0x4fb0a7(0x153)]+'@'+_0x1e00aa[_0x4fb0a7(0x170)]+'.'};}};export const diagramShowCommand={'service':a70_0x544518(0x173),'command':a70_0x544518(0x15e),'description':a70_0x544518(0x178),'risk':'read','flags':TARGET_FLAGS,async 'execute'(_0x2d533e){const _0x42db77=a70_0x544518,_0x36569c=readDiagramTarget(_0x2d533e),_0x1c53fc=await getRuntimeSkillVersionDiagram(_0x2d533e[_0x42db77(0x152)],_0x36569c[_0x42db77(0x153)],_0x36569c['version'],_0x36569c['scope']);return{'ok':!![],'data':_0x1c53fc,'message':_0x1c53fc[_0x42db77(0x16e)]?_0x42db77(0x158)+_0x36569c['skillCode']+'@'+_0x36569c['version']+_0x42db77(0x15d)+_0x1c53fc[_0x42db77(0x15c)]+'.':_0x42db77(0x150)+_0x36569c['skillCode']+'@'+_0x36569c[_0x42db77(0x170)]+_0x42db77(0x162)+_0x1c53fc[_0x42db77(0x15c)]+'.'};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a71_0x5e2d(){const _0x260b64=['\x20personal\x20and\x20','company','1443CzXkTB','removed','Business\x20Skill\x20installation\x20requires\x20authentication.\x20Run\x20`lovrabet\x20auth\x20login`,\x20or\x20use\x20`lovrabet\x20cli-skill\x20install`\x20for\x20CLI\x20Built-in\x20Skill\x20setup.','bool','personal','min','accessKey','updated','1306gnOzfg','\x20company\x20Skill(s).','skipped','map','code','310720XBdulV','5497620HGDHQj','reduce','scope','action','skillRoots','project','filter','5230008lxtpjE','length','skill','appCode','unchanged','read','../../../skills/runtime-skill-sync.js','from','24pOonMM','str','647987Kaosyd','502614azqLxo','10796904EzGLoi','skillCode','trim','created','includes','all','../../../core/api-client.js','envName'];a71_0x5e2d=function(){return _0x260b64;};return a71_0x5e2d();}const a71_0x1aa391=a71_0xa19d;(function(_0x2d7238,_0x5df15c){const _0x324a8a=a71_0xa19d,_0x9d8662=_0x2d7238();while(!![]){try{const _0x48c306=parseInt(_0x324a8a(0xde))/0x1+-parseInt(_0x324a8a(0xf2))/0x2*(parseInt(_0x324a8a(0xea))/0x3)+-parseInt(_0x324a8a(0xf7))/0x4+parseInt(_0x324a8a(0xf8))/0x5+-parseInt(_0x324a8a(0xdc))/0x6*(-parseInt(_0x324a8a(0xdf))/0x7)+-parseInt(_0x324a8a(0xe0))/0x8+parseInt(_0x324a8a(0xd4))/0x9;if(_0x48c306===_0x5df15c)break;else _0x9d8662['push'](_0x9d8662['shift']());}catch(_0x3a221e){_0x9d8662['push'](_0x9d8662['shift']());}}}(a71_0x5e2d,0xd57cd));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':a71_0x1aa391(0xd6),'command':'install','description':'Install\x20current-app\x20business\x20Skills\x20into\x20user-level\x20Agent\x20skill\x20directories','risk':a71_0x1aa391(0xd9),'requiresAuth':!![],'requiresAppCode':!![],'hasFormat':![],'flags':[CODE_FLAG,SCOPE_FLAG,FORCE_FLAG,PROJECT_TARGET_FLAG],async 'execute'(_0xeda119){return syncRuntimeSkills(_0xeda119);}};async function syncRuntimeSkills(_0x415a93){const _0x1e1135=a71_0x1aa391,{downloadRuntimeSkillPackage:_0x1e1d60,listRuntimeSkills:_0x36c4b8}=await import(_0x1e1135(0xe6)),{linkEffectiveRuntimeSkills:_0x1c1c3e,materializeRuntimeSkill:_0x9b1f13,pruneStaleRuntimeSkillCache:_0x2fd1f4,pruneStaleRuntimeSkillLinks:_0x225b3b,resolveRuntimeSkillInstallTarget:_0x1ce468,reuseMaterializedRuntimeSkill:_0x38d8c5}=await import(_0x1e1135(0xda)),_0x4c238b=_0x415a93[_0x1e1135(0xdd)](_0x1e1135(0xf6)),_0x563e20=normalizeSyncScopes(_0x415a93['str']('scope')),_0x2aa221=_0x415a93[_0x1e1135(0xe7)]??'production',_0x5c0d41=_0x415a93[_0x1e1135(0xf0)],_0x3f7c72=_0x415a93['bool']('force');if(!_0x5c0d41)throw CliErrors['authRequired'](_0x1e1135(0xec));const _0x582c20=_0x1ce468(_0x415a93[_0x1e1135(0xd7)],_0x415a93[_0x1e1135(0xed)](_0x1e1135(0xd2))?_0x1e1135(0xd2):'global'),_0x6937cd=_0x1ce468(_0x415a93[_0x1e1135(0xd7)],_0x582c20[_0x1e1135(0xcf)]===_0x1e1135(0xd2)?'global':_0x1e1135(0xd2)),_0x1427af=await _0x36c4b8({'appCode':_0x415a93['appCode'],'scope':_0x563e20[_0x1e1135(0xd5)]===0x1?_0x563e20[0x0]:'all','code':_0x4c238b[_0x1e1135(0xe2)]()||undefined,'installableOnly':!![]}),_0x129584=_0x563e20[_0x1e1135(0xe4)]('personal')?_0x1427af[_0x1e1135(0xee)]:[],_0x26f100=_0x563e20[_0x1e1135(0xe4)](_0x1e1135(0xe9))?_0x1427af['company']:[],_0x3b0ceb=new Set([..._0x129584[_0x1e1135(0xf5)](_0x1c7b78=>_0x1c7b78[_0x1e1135(0xe1)]?.[_0x1e1135(0xe2)]())['filter'](_0x1f528c=>Boolean(_0x1f528c)),..._0x26f100[_0x1e1135(0xf5)](_0x508fdb=>_0x508fdb[_0x1e1135(0xe1)]?.[_0x1e1135(0xe2)]())['filter'](_0x3fbcb5=>Boolean(_0x3fbcb5))]),_0xd5e78f=_0x4c238b[_0x1e1135(0xe2)]()?[_0x4c238b[_0x1e1135(0xe2)]()]:undefined,_0x367491=_0x563e20[_0x1e1135(0xd5)]===0x2&&_0x563e20[_0x1e1135(0xe4)]('personal')&&_0x563e20[_0x1e1135(0xe4)](_0x1e1135(0xe9)),_0x20637b=_0x367491?_0x225b3b(_0x582c20,_0x3b0ceb,_0xd5e78f):[],_0x49dcbb=_0x2fd1f4({'env':_0x2aa221,'accessKey':_0x5c0d41,'appCode':_0x415a93['appCode'],'activeSkillCodes':_0x3b0ceb,'pruneSkillCodes':_0xd5e78f,'scopes':_0x563e20,'protectedLinkRoots':_0x6937cd[_0x1e1135(0xd1)]}),_0x37d498=[..._0x129584[_0x1e1135(0xf5)](_0xc611b5=>({'skill':_0xc611b5,'scope':_0x1e1135(0xee)})),..._0x26f100['map'](_0x394140=>({'skill':_0x394140,'scope':_0x1e1135(0xe9)}))],_0x5065e1=await mapConcurrent(_0x37d498,PACKAGE_DOWNLOAD_CONCURRENCY,async({skill:_0x196c3a,scope:_0x38baea})=>{const _0x2bf7e2=_0x1e1135,_0x4caeb8=_0x38d8c5(_0x196c3a,_0x38baea,{'env':_0x2aa221,'accessKey':_0x5c0d41,'appCode':_0x415a93[_0x2bf7e2(0xd7)]});if(_0x4caeb8)return _0x4caeb8;return _0x9b1f13(_0x196c3a,_0x38baea,{'env':_0x2aa221,'accessKey':_0x5c0d41,'appCode':_0x415a93[_0x2bf7e2(0xd7)],'force':_0x3f7c72,'packageBytes':await downloadSkillPackage(_0x196c3a,_0x38baea,_0x415a93[_0x2bf7e2(0xd7)],_0x1e1d60)});}),_0x3d2e06=_0x1c1c3e(_0x5065e1,_0x582c20),_0x3d7e71=countLinkActions(_0x3d2e06);return{'ok':!![],'data':{'appCode':_0x415a93[_0x1e1135(0xd7)],..._0x582c20['scope']==='project'?{'installTarget':{'scope':_0x582c20[_0x1e1135(0xcf)],'skillRoots':[..._0x582c20[_0x1e1135(0xd1)]]}}:{},'personal':_0x129584['length'],'company':_0x26f100[_0x1e1135(0xd5)],'materialized':_0x5065e1[_0x1e1135(0xd5)],'links':{'total':_0x3d2e06[_0x1e1135(0xd5)],'created':_0x3d7e71[_0x1e1135(0xe3)]??0x0,'updated':_0x3d7e71[_0x1e1135(0xf1)]??0x0,'unchanged':_0x3d7e71[_0x1e1135(0xd8)]??0x0,'skipped':0x0,'conflicted':0x0},'pruned':{'links':_0x20637b['filter'](_0x194fd6=>_0x194fd6['action']==='removed')[_0x1e1135(0xd5)],'cacheDirs':_0x49dcbb[_0x1e1135(0xd3)](_0x2c87f2=>_0x2c87f2[_0x1e1135(0xd0)]===_0x1e1135(0xeb))['length'],'skipped':[..._0x20637b,..._0x49dcbb][_0x1e1135(0xd3)](_0x28b3c6=>_0x28b3c6[_0x1e1135(0xd0)]===_0x1e1135(0xf4))[_0x1e1135(0xd5)]},'skills':{'personal':_0x129584[_0x1e1135(0xf5)](summarizeRuntimeSkill),'company':_0x26f100[_0x1e1135(0xf5)](summarizeRuntimeSkill)}},'message':'Installed\x20'+_0x129584['length']+_0x1e1135(0xe8)+_0x26f100['length']+_0x1e1135(0xf3)};}function a71_0xa19d(_0x574f9d,_0x5c4008){_0x574f9d=_0x574f9d-0xcf;const _0x5e2d6f=a71_0x5e2d();let _0xa19d2a=_0x5e2d6f[_0x574f9d];return _0xa19d2a;}async function mapConcurrent(_0x20b1c2,_0x30df9d,_0x44b45a){const _0x561352=a71_0x1aa391,_0x45cf95=new Array(_0x20b1c2[_0x561352(0xd5)]);let _0x3e31d7=0x0;const _0x4530c0=Array[_0x561352(0xdb)]({'length':Math[_0x561352(0xef)](_0x30df9d,_0x20b1c2[_0x561352(0xd5)])},async()=>{while(_0x3e31d7<_0x20b1c2['length']){const _0x4d5c9b=_0x3e31d7;_0x3e31d7+=0x1,_0x45cf95[_0x4d5c9b]=await _0x44b45a(_0x20b1c2[_0x4d5c9b]);}});return await Promise[_0x561352(0xe5)](_0x4530c0),_0x45cf95;}async function downloadSkillPackage(_0x28a719,_0x4e834d,_0x5ea895,_0x166788){const _0x37bde3=a71_0x1aa391,_0x4636a=_0x28a719['version']?.[_0x37bde3(0xe2)]();return _0x4636a?_0x166788(_0x4e834d,_0x28a719[_0x37bde3(0xe1)],_0x5ea895,_0x4636a):_0x166788(_0x4e834d,_0x28a719[_0x37bde3(0xe1)],_0x5ea895);}function countLinkActions(_0x87d98d){const _0x35fde0=a71_0x1aa391;return _0x87d98d[_0x35fde0(0xf9)]((_0x2669df,_0x40516e)=>{const _0x10e28f=_0x35fde0;return _0x2669df[_0x40516e[_0x10e28f(0xd0)]]=(_0x2669df[_0x40516e[_0x10e28f(0xd0)]]??0x0)+0x1,_0x2669df;},{});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a72_0x3ff2(_0x417d01,_0x488100){_0x417d01=_0x417d01-0x153;const _0x224f0c=a72_0x224f();let _0x3ff2fa=_0x224f0c[_0x417d01];return _0x3ff2fa;}const a72_0x38d698=a72_0x3ff2;(function(_0x277de8,_0x9823d7){const _0xf30776=a72_0x3ff2,_0x3b63bf=_0x277de8();while(!![]){try{const _0x5a3176=parseInt(_0xf30776(0x176))/0x1+parseInt(_0xf30776(0x15e))/0x2*(-parseInt(_0xf30776(0x163))/0x3)+parseInt(_0xf30776(0x161))/0x4*(-parseInt(_0xf30776(0x15d))/0x5)+-parseInt(_0xf30776(0x15b))/0x6*(parseInt(_0xf30776(0x160))/0x7)+-parseInt(_0xf30776(0x157))/0x8*(parseInt(_0xf30776(0x16e))/0x9)+parseInt(_0xf30776(0x174))/0xa*(parseInt(_0xf30776(0x162))/0xb)+parseInt(_0xf30776(0x173))/0xc;if(_0x5a3176===_0x9823d7)break;else _0x3b63bf['push'](_0x3b63bf['shift']());}catch(_0x2aa504){_0x3b63bf['push'](_0x3b63bf['shift']());}}}(a72_0x224f,0x88083));import{CliErrors}from'../../../errors.js';import{CODE_FLAG,LIST_SCOPE_FLAG,LOCAL_FLAG,PROJECT_TARGET_FLAG}from'../flags.js';import{listScopeToRemoteScope,listScopeToRuntimeScopes,normalizeListScope,shouldListScope}from'../scopes.js';import{summarizeLocalRuntimeSkill,summarizeRuntimeSkill}from'../summary.js';export const listCommand={'service':a72_0x38d698(0x171),'command':a72_0x38d698(0x16c),'description':a72_0x38d698(0x153),'risk':a72_0x38d698(0x178),'flags':[CODE_FLAG,LIST_SCOPE_FLAG,LOCAL_FLAG,PROJECT_TARGET_FLAG],async 'execute'(_0x9ce239){const _0x3d7afc=a72_0x38d698,_0x4edf50=_0x9ce239[_0x3d7afc(0x16d)](_0x3d7afc(0x158)),_0x5b0ac8=normalizeListScope(_0x9ce239[_0x3d7afc(0x16d)](_0x3d7afc(0x159)));if(_0x9ce239[_0x3d7afc(0x170)](_0x3d7afc(0x154))){const _0x5ee022=_0x9ce239['accessKey'];if(!_0x5ee022)throw CliErrors[_0x3d7afc(0x155)]();const {listLocalRuntimeSkills:_0x1a363d,resolveRuntimeSkillInstallTarget:_0x1254d8}=await import(_0x3d7afc(0x169)),_0x585713=_0x1254d8(_0x9ce239[_0x3d7afc(0x156)],_0x9ce239['bool']('project')?_0x3d7afc(0x15a):_0x3d7afc(0x177)),_0x2be1aa=_0x1a363d({'env':_0x9ce239[_0x3d7afc(0x167)]??'production','accessKey':_0x5ee022,'appCode':_0x9ce239[_0x3d7afc(0x156)],'scopes':listScopeToRuntimeScopes(_0x5b0ac8),'code':_0x4edf50['trim']()||undefined},_0x585713),_0x48b181=groupLocalRuntimeSkills(_0x2be1aa);return{'ok':!![],'data':{'appCode':_0x9ce239[_0x3d7afc(0x156)],'source':'local',..._0x585713[_0x3d7afc(0x159)]===_0x3d7afc(0x15a)?{'installScope':_0x585713[_0x3d7afc(0x159)]}:{},'scope':_0x5b0ac8,'total':_0x2be1aa[_0x3d7afc(0x166)],'personal':_0x48b181[_0x3d7afc(0x168)][_0x3d7afc(0x166)],'company':_0x48b181[_0x3d7afc(0x16b)][_0x3d7afc(0x166)],'items':_0x2be1aa[_0x3d7afc(0x15c)](summarizeLocalRuntimeSkill),'skills':{'personal':_0x48b181[_0x3d7afc(0x168)][_0x3d7afc(0x15c)](summarizeLocalRuntimeSkill),'company':_0x48b181['company'][_0x3d7afc(0x15c)](summarizeLocalRuntimeSkill)}},'message':'Listed\x20'+_0x2be1aa[_0x3d7afc(0x166)]+_0x3d7afc(0x16a)};}const {listRuntimeSkills:_0x999bf9}=await import(_0x3d7afc(0x16f)),_0x289f60=await _0x999bf9({'appCode':_0x9ce239[_0x3d7afc(0x156)],'scope':listScopeToRemoteScope(_0x5b0ac8),'code':_0x4edf50[_0x3d7afc(0x15f)]()||undefined}),_0xd1b9d1=shouldListScope(_0x5b0ac8,'personal')?_0x289f60[_0x3d7afc(0x168)]??[]:[],_0x5c8451=shouldListScope(_0x5b0ac8,_0x3d7afc(0x16b))?_0x289f60[_0x3d7afc(0x16b)]??[]:[],_0x1f97d5=[..._0xd1b9d1,..._0x5c8451];return{'ok':!![],'data':{'appCode':_0x9ce239[_0x3d7afc(0x156)],'source':'remote','scope':_0x5b0ac8,'total':_0x1f97d5[_0x3d7afc(0x166)],'personal':_0xd1b9d1[_0x3d7afc(0x166)],'company':_0x5c8451['length'],'items':_0x1f97d5[_0x3d7afc(0x15c)](summarizeRuntimeSkill),'skills':{'personal':_0xd1b9d1[_0x3d7afc(0x15c)](summarizeRuntimeSkill),'company':_0x5c8451[_0x3d7afc(0x15c)](summarizeRuntimeSkill)}},'message':_0x3d7afc(0x164)+_0x1f97d5['length']+_0x3d7afc(0x172)};}};function a72_0x224f(){const _0x1dc02d=['11ortiIP','207HkblZG','Listed\x20','filter','length','envName','personal','../../../skills/runtime-skill-sync.js','\x20local\x20Skill(s).','company','list','str','8906850dCZSAY','../../../core/api-client.js','bool','skill','\x20remote\x20Skill(s).','30906528SxxEoo','10636180ehdYxw','builtin','124658RfoJMK','global','read','List\x20runtime\x20Skills\x20from\x20remote\x20or\x20CLI-managed\x20local\x20cache','local','authRequired','appCode','8EbraSZ','code','scope','project','42RfnuRX','map','3542245irPJOE','25706ZuZUnz','trim','621677INbwiy','4KtIuZb'];a72_0x224f=function(){return _0x1dc02d;};return a72_0x224f();}function groupLocalRuntimeSkills(_0x5a6519){const _0x3596f3=a72_0x38d698;return{'personal':_0x5a6519[_0x3596f3(0x165)](_0xf1b828=>_0xf1b828[_0x3596f3(0x159)]===_0x3596f3(0x168)),'company':_0x5a6519[_0x3596f3(0x165)](_0x4b87bb=>_0x4b87bb[_0x3596f3(0x159)]===_0x3596f3(0x16b)),'builtin':_0x5a6519['filter'](_0x28f1a5=>_0x28f1a5[_0x3596f3(0x159)]===_0x3596f3(0x175))};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a73_0x262e6b=a73_0x9fd5;function a73_0x43b3(){const _0x141aa1=['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.','4659438UUKCmk','15970510AIIqkL','75960pljBxK','5432886zlNXrX','5JnnFpa','1039031RCuDai','1823295UgLHco','4fsoXcG','write','791ToZcuK','skill','1347476NoDHlt'];a73_0x43b3=function(){return _0x141aa1;};return a73_0x43b3();}(function(_0x1b4b66,_0x1f34e7){const _0x551e14=a73_0x9fd5,_0x45f5fb=_0x1b4b66();while(!![]){try{const _0x1b5d23=parseInt(_0x551e14(0xc4))/0x1+-parseInt(_0x551e14(0xca))/0x2+-parseInt(_0x551e14(0xc5))/0x3*(parseInt(_0x551e14(0xc6))/0x4)+parseInt(_0x551e14(0xc3))/0x5*(parseInt(_0x551e14(0xcc))/0x6)+-parseInt(_0x551e14(0xc8))/0x7*(-parseInt(_0x551e14(0xce))/0x8)+parseInt(_0x551e14(0xcf))/0x9+-parseInt(_0x551e14(0xcd))/0xa;if(_0x1b5d23===_0x1f34e7)break;else _0x45f5fb['push'](_0x45f5fb['shift']());}catch(_0x3646f2){_0x45f5fb['push'](_0x45f5fb['shift']());}}}(a73_0x43b3,0x95d07));import{CONFIRM_WARNINGS_FLAG,DIAGRAM_FILE_FLAG,DIR_FLAG,PUSH_SCOPE_FLAG}from'../flags.js';import{skillPushDryRun,skillPushExecute}from'../push-execute.js';function a73_0x9fd5(_0x2b93b2,_0x384353){_0x2b93b2=_0x2b93b2-0xc3;const _0x43b3e5=a73_0x43b3();let _0x9fd5f6=_0x43b3e5[_0x2b93b2];return _0x9fd5f6;}export const pushCommand={'service':a73_0x262e6b(0xc9),'command':'push','description':'Push\x20a\x20local\x20Skill\x20directory\x20to\x20personal\x20scope,\x20or\x20submit\x20a\x20company-scope\x20version\x20for\x20review','risk':a73_0x262e6b(0xc7),'confirmationDescription':a73_0x262e6b(0xcb),'flags':[DIR_FLAG,DIAGRAM_FILE_FLAG,PUSH_SCOPE_FLAG,CONFIRM_WARNINGS_FLAG],'dryRun':skillPushDryRun,'execute':skillPushExecute};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a74_0x29cd(_0xbafa86,_0x2dd88e){_0xbafa86=_0xbafa86-0x100;const _0x30fef0=a74_0x30fe();let _0x29cd07=_0x30fef0[_0xbafa86];return _0x29cd07;}function a74_0x30fe(){const _0x3289dc=['5756595EWpCEQ','128RxtqsA','11xzocTq','errors','133967JkGVkb','2TqVKDr','Validate\x20a\x20local\x20Skill\x20directory\x20as\x20a\x20self-contained\x20delivery\x20package','str','Skill\x20validation\x20passed.','type','dir','7480395ZLogXS','warnings','3555642eOOGyo','1849492mbdssP','read','3EaTOtG','skill','strict','bool','489209lKDSPo','11364980ehVSYi'];a74_0x30fe=function(){return _0x3289dc;};return a74_0x30fe();}const a74_0x16cc8b=a74_0x29cd;(function(_0x19de86,_0x412d3b){const _0x1a24f0=a74_0x29cd,_0x414363=_0x19de86();while(!![]){try{const _0x3f223d=-parseInt(_0x1a24f0(0x103))/0x1*(parseInt(_0x1a24f0(0x104))/0x2)+-parseInt(_0x1a24f0(0x10f))/0x3*(-parseInt(_0x1a24f0(0x10d))/0x4)+-parseInt(_0x1a24f0(0x115))/0x5+parseInt(_0x1a24f0(0x10c))/0x6+-parseInt(_0x1a24f0(0x113))/0x7*(parseInt(_0x1a24f0(0x100))/0x8)+parseInt(_0x1a24f0(0x10a))/0x9+parseInt(_0x1a24f0(0x114))/0xa*(parseInt(_0x1a24f0(0x101))/0xb);if(_0x3f223d===_0x412d3b)break;else _0x414363['push'](_0x414363['shift']());}catch(_0x375aee){_0x414363['push'](_0x414363['shift']());}}}(a74_0x30fe,0x97293));import{DIR_FLAG,STRICT_FLAG}from'../flags.js';import{throwIfSkillValidationFailed,validateSkillDirectory}from'../validate.js';export const validateCommand={'service':a74_0x16cc8b(0x110),'command':'validate','description':a74_0x16cc8b(0x105),'risk':a74_0x16cc8b(0x10e),'requiresAuth':![],'requiresAppCode':![],'flags':[DIR_FLAG,STRICT_FLAG],async 'execute'(_0x4eb61f){const _0xab1000=a74_0x16cc8b,_0x5256ed=_0x4eb61f[_0xab1000(0x112)](_0xab1000(0x111)),_0x1c1580=validateSkillDirectory(_0x4eb61f[_0xab1000(0x106)]('dir'),{'strict':_0x5256ed});return throwIfSkillValidationFailed(_0x1c1580,_0x5256ed),{'ok':!![],'data':{'dir':_0x1c1580[_0xab1000(0x109)],'type':_0x1c1580[_0xab1000(0x108)],'errors':_0x1c1580[_0xab1000(0x102)],'warnings':_0x1c1580[_0xab1000(0x10b)]},'message':_0xab1000(0x107)};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a75_0x5dad(_0x5d60ac,_0x18301c){_0x5d60ac=_0x5d60ac-0x16c;const _0x537023=a75_0x5370();let _0x5dad56=_0x537023[_0x5d60ac];return _0x5dad56;}(function(_0x1e5582,_0x2202ef){const _0x179132=a75_0x5dad,_0x2e7efd=_0x1e5582();while(!![]){try{const _0x1ed11b=parseInt(_0x179132(0x170))/0x1+parseInt(_0x179132(0x17c))/0x2*(parseInt(_0x179132(0x183))/0x3)+-parseInt(_0x179132(0x175))/0x4*(parseInt(_0x179132(0x179))/0x5)+-parseInt(_0x179132(0x171))/0x6+parseInt(_0x179132(0x180))/0x7*(-parseInt(_0x179132(0x187))/0x8)+parseInt(_0x179132(0x186))/0x9+parseInt(_0x179132(0x174))/0xa;if(_0x1ed11b===_0x2202ef)break;else _0x2e7efd['push'](_0x2e7efd['shift']());}catch(_0x5339b5){_0x2e7efd['push'](_0x2e7efd['shift']());}}}(a75_0x5370,0xa7298));import{existsSync,readFileSync,realpathSync,statSync}from'node:fs';function a75_0x5370(){const _0x2afa67=['16344980EKXZDM','19544GDPCuH','Generate\x20a\x20Mermaid\x20flowchart\x20and\x20pass\x20--diagram-file\x20<path>,\x20or\x20use\x20--diagram-file\x20-\x20for\x20standard\x20input.','Fix\x20the\x20Mermaid\x20syntax\x20reported\x20by\x20your\x20editor\x20or\x20preview\x20tool,\x20then\x20retry\x20with\x20the\x20same\x20file.','isFile','530pLiwXN','window','Mermaid\x20syntax\x20validation\x20failed.','2XQzgKY','validation','trim','defineProperties','7113449cwoVNt','diagram','replace','2228397iQBqUi','document','Unable\x20to\x20read\x20Mermaid\x20flowchart\x20from\x20standard\x20input.','932364RLPIsi','8EwWpWp','default','parse','mermaid','Mermaid\x20flowchart\x20file\x20not\x20found:\x20','1033803fKiYbk','7775262kKfPEH','Mermaid\x20flowchart\x20path\x20is\x20not\x20a\x20regular\x20file:\x20','--diagram-file\x20is\x20required\x20when\x20publishing\x20a\x20Skill\x20version.'];a75_0x5370=function(){return _0x2afa67;};return a75_0x5370();}import{resolve}from'node:path';import{JSDOM}from'jsdom';import{CliErrors}from'../../errors.js';let mermaidApiPromise;export async function readRequiredSkillDiagram(_0x1ea02b){const _0x752c42=a75_0x5dad;return(await readRequiredSkillDiagramInput(_0x1ea02b))[_0x752c42(0x181)];}export async function readRequiredSkillDiagramInput(_0x3c4164){const _0x10b9d2=a75_0x5dad,_0x1d06c9=_0x3c4164[_0x10b9d2(0x17e)]();if(!_0x1d06c9)throw CliErrors[_0x10b9d2(0x17d)](_0x10b9d2(0x173),_0x10b9d2(0x176));let _0x358eb8,_0x19a017;if(_0x1d06c9==='-')try{_0x358eb8=readFileSync(0x0,'utf8');}catch{throw CliErrors[_0x10b9d2(0x17d)](_0x10b9d2(0x185));}else{const _0x4fa824=resolve(_0x1d06c9);if(!existsSync(_0x4fa824))throw CliErrors[_0x10b9d2(0x17d)](_0x10b9d2(0x16f)+_0x4fa824);if(!statSync(_0x4fa824)[_0x10b9d2(0x178)]())throw CliErrors['validation'](_0x10b9d2(0x172)+_0x4fa824);_0x19a017=realpathSync(_0x4fa824),_0x358eb8=readFileSync(_0x19a017,'utf8');}return{'diagram':{'schemaVersion':0x1,'mermaid':await validateAndCanonicalizeMermaid(_0x358eb8)},'sourceFilePath':_0x19a017};}export async function validateAndCanonicalizeMermaid(_0x66adf7){const _0x3cbed9=a75_0x5dad,_0x5f404e=_0x66adf7[_0x3cbed9(0x182)](/\r\n/g,'\x0a')[_0x3cbed9(0x182)](/\r/g,'\x0a')[_0x3cbed9(0x182)](/\n+$/,'')+'\x0a';try{const _0x6bc91a=await loadMermaidApi();await _0x6bc91a[_0x3cbed9(0x16d)](_0x5f404e);}catch{throw diagramValidationError();}return _0x5f404e;}function loadMermaidApi(){return mermaidApiPromise??=((async()=>{const _0x297988=a75_0x5dad;if(!('window'in globalThis)||!(_0x297988(0x184)in globalThis)){const _0x2d7847=new JSDOM('');Object[_0x297988(0x17f)](globalThis,{'window':{'configurable':!![],'value':_0x2d7847[_0x297988(0x17a)]},'document':{'configurable':!![],'value':_0x2d7847['window']['document']}});}return(await import(_0x297988(0x16e)))[_0x297988(0x16c)];})()),mermaidApiPromise;}function diagramValidationError(){const _0x6dfdfd=a75_0x5dad;return CliErrors[_0x6dfdfd(0x17d)](_0x6dfdfd(0x17b),_0x6dfdfd(0x177));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a76_0x2ca91b=a76_0x4581;(function(_0x2ef368,_0x5a62d0){const _0x2657cd=a76_0x4581,_0x34fb00=_0x2ef368();while(!![]){try{const _0x42d8a9=parseInt(_0x2657cd(0x8a))/0x1+-parseInt(_0x2657cd(0xa2))/0x2*(-parseInt(_0x2657cd(0xa5))/0x3)+parseInt(_0x2657cd(0x88))/0x4+parseInt(_0x2657cd(0x9e))/0x5+-parseInt(_0x2657cd(0x8d))/0x6*(parseInt(_0x2657cd(0x95))/0x7)+parseInt(_0x2657cd(0xa4))/0x8+-parseInt(_0x2657cd(0x8f))/0x9;if(_0x42d8a9===_0x5a62d0)break;else _0x34fb00['push'](_0x34fb00['shift']());}catch(_0x55a883){_0x34fb00['push'](_0x34fb00['shift']());}}}(a76_0x593d,0x9fbee));import{DEFAULT_SKILL_TARGET,SKILL_NAME_PATTERN,SKILL_TYPES}from'./templates.js';export const CODE_FLAG={'name':a76_0x2ca91b(0x8e),'type':'string','description':a76_0x2ca91b(0x81)};export const SCOPE_FLAG={'name':a76_0x2ca91b(0xa0),'type':a76_0x2ca91b(0x82),'description':a76_0x2ca91b(0x99),'enum':[a76_0x2ca91b(0x80),a76_0x2ca91b(0x91),'company']};function a76_0x4581(_0x2c18af,_0x33042e){_0x2c18af=_0x2c18af-0x80;const _0x593d23=a76_0x593d();let _0x45814b=_0x593d23[_0x2c18af];return _0x45814b;}export const PUSH_SCOPE_FLAG={'name':'scope','type':a76_0x2ca91b(0x82),'description':a76_0x2ca91b(0x97),'default':a76_0x2ca91b(0x91),'enum':[a76_0x2ca91b(0x91),a76_0x2ca91b(0x89)]};export const LIST_SCOPE_FLAG={'name':'scope','type':a76_0x2ca91b(0x82),'description':'Skill\x20list\x20scope:\x20all,\x20personal,\x20or\x20company','enum':[a76_0x2ca91b(0x80),a76_0x2ca91b(0x91),'company']};export const LOCAL_FLAG={'name':'local','type':a76_0x2ca91b(0x85),'description':'Read\x20CLI-managed\x20local\x20Skill\x20cache\x20and\x20links\x20instead\x20of\x20remote\x20lists'};export const DIR_FLAG={'name':a76_0x2ca91b(0x9a),'type':a76_0x2ca91b(0x82),'required':!![],'description':a76_0x2ca91b(0x93)};export const DIAGRAM_FILE_FLAG={'name':a76_0x2ca91b(0x98),'type':a76_0x2ca91b(0x82),'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':'skill-code','type':a76_0x2ca91b(0x82),'required':!![],'description':a76_0x2ca91b(0xa6)};export const DIAGRAM_VERSION_FLAG={'name':'version','type':'string','required':!![],'description':a76_0x2ca91b(0x96)};export const DIAGRAM_SCOPE_FLAG={'name':a76_0x2ca91b(0xa0),'type':a76_0x2ca91b(0x82),'required':!![],'enum':[a76_0x2ca91b(0x91),a76_0x2ca91b(0x89)],'description':'Exact\x20Skill\x20scope:\x20personal\x20or\x20company'};export const SOURCE_FINGERPRINT_FLAG={'name':a76_0x2ca91b(0x8c),'type':a76_0x2ca91b(0x82),'required':!![],'description':a76_0x2ca91b(0xa3),'pattern':{'regex':/^sha256:[0-9a-f]{64}$/,'description':a76_0x2ca91b(0xa9)}};export const EXPECTED_DIAGRAM_REVISION_FLAG={'name':a76_0x2ca91b(0x84),'type':a76_0x2ca91b(0x9c),'required':!![],'description':a76_0x2ca91b(0x86)};function a76_0x593d(){const _0x4215e5=['168301rsFzQG','Exact\x20Skill\x20version\x20whose\x20diagram\x20is\x20being\x20managed','Skill\x20push\x20target\x20scope:\x20personal\x20saves\x20immediately,\x20company\x20submits\x20a\x20new\x20version\x20for\x20review','diagram-file','Skill\x20sync\x20scope:\x20all\x20(personal/company),\x20personal,\x20or\x20company','dir','force','number','Skill\x20template\x20type:\x20pass\x20read\x20or\x20write\x20explicitly\x20(omission\x20is\x20deprecated)','574200kykgSK','name','scope','confirm-warnings','1034232ckWIFR','Server-reported\x20SkillVersion\x20source\x20fingerprint','795424JwucTf','3rcHcNL','Exact\x20Skill\x20code\x20whose\x20version\x20diagram\x20is\x20being\x20managed','Overwrite\x20generated\x20or\x20CLI-managed\x20Skill\x20files\x20when\x20the\x20target\x20already\x20exists','Confirm\x20reviewed\x20personal\x20or\x20company\x20Skill\x20publish\x20warnings','a\x20lowercase\x20sha256:<64\x20hex\x20characters>\x20fingerprint','all','Only\x20target\x20a\x20specific\x20runtime\x20Skill\x20code','string','target','expected-diagram-revision','boolean','Expected\x20current\x20diagram\x20revision;\x20use\x200\x20for\x20the\x20first\x20diagram','type','1112600dqhtcT','company','1112979Bkypog','Use\x20the\x20current\x20project\x27s\x20.agents/skills\x20instead\x20of\x20user-level\x20Agent\x20Skill\x20directories','source-fingerprint','132fMxLtt','code','8453241ERPZbW','project','personal','Compatibility\x20flag;\x20no\x20extra\x20checks\x20are\x20enabled','Local\x20Skill\x20directory\x20containing\x20SKILL.md','Directory\x20that\x20will\x20contain\x20the\x20generated\x20Skill\x20directory'];a76_0x593d=function(){return _0x4215e5;};return a76_0x593d();}export const CREATE_NAME_FLAG={'name':a76_0x2ca91b(0x9f),'type':a76_0x2ca91b(0x82),'required':!![],'description':'Skill\x20name\x20using\x20lowercase\x20letters,\x20numbers,\x20and\x20hyphens','pattern':{'regex':SKILL_NAME_PATTERN,'description':'lowercase\x20letters,\x20numbers,\x20and\x20single\x20hyphens'}};export const TYPE_FLAG={'name':a76_0x2ca91b(0x87),'type':a76_0x2ca91b(0x82),'description':a76_0x2ca91b(0x9d),'enum':[...SKILL_TYPES]};export const TARGET_FLAG={'name':a76_0x2ca91b(0x83),'type':'string','description':a76_0x2ca91b(0x94),'default':DEFAULT_SKILL_TARGET};export const FORCE_FLAG={'name':a76_0x2ca91b(0x9b),'type':'boolean','description':a76_0x2ca91b(0xa7)};export const PROJECT_TARGET_FLAG={'name':a76_0x2ca91b(0x90),'type':a76_0x2ca91b(0x85),'description':a76_0x2ca91b(0x8b)};export const CONFIRM_WARNINGS_FLAG={'name':a76_0x2ca91b(0xa1),'type':a76_0x2ca91b(0x85),'description':a76_0x2ca91b(0xa8)};export const STRICT_FLAG={'name':'strict','type':a76_0x2ca91b(0x85),'description':a76_0x2ca91b(0x92)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x13099b,_0x3c33f1){const _0x47dd61=a77_0x2c24,_0x33cb0c=_0x13099b();while(!![]){try{const _0x1d5af6=parseInt(_0x47dd61(0xf3))/0x1+parseInt(_0x47dd61(0xf1))/0x2+parseInt(_0x47dd61(0xf0))/0x3+parseInt(_0x47dd61(0xf4))/0x4+parseInt(_0x47dd61(0xf2))/0x5*(parseInt(_0x47dd61(0xef))/0x6)+parseInt(_0x47dd61(0xf5))/0x7+-parseInt(_0x47dd61(0xf6))/0x8*(parseInt(_0x47dd61(0xee))/0x9);if(_0x1d5af6===_0x3c33f1)break;else _0x33cb0c['push'](_0x33cb0c['shift']());}catch(_0x408e35){_0x33cb0c['push'](_0x33cb0c['shift']());}}}(a77_0x19ee,0x251cf));import{createCommand}from'./commands/create.js';import{diagramPushCommand,diagramShowCommand,diagramValidateCommand}from'./commands/diagram.js';function a77_0x2c24(_0x1f6a0e,_0x3d9e71){_0x1f6a0e=_0x1f6a0e-0xee;const _0x19ee52=a77_0x19ee();let _0x2c242b=_0x19ee52[_0x1f6a0e];return _0x2c242b;}function a77_0x19ee(){const _0x4001a1=['71082mjWcjU','121506UMuTza','1990dthAIG','113231pHGRyS','620812crFaLr','341061ttahLY','8EWPWJS','4266549jqeAsA','3384UoCAct'];a77_0x19ee=function(){return _0x4001a1;};return a77_0x19ee();}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 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x227454,_0x3f142a){var _0x869c77=a78_0x1806,_0x63f858=_0x227454();while(!![]){try{var _0xf62cb1=parseInt(_0x869c77(0xfc))/0x1+-parseInt(_0x869c77(0xfd))/0x2*(parseInt(_0x869c77(0x106))/0x3)+-parseInt(_0x869c77(0x10c))/0x4+-parseInt(_0x869c77(0x10a))/0x5*(parseInt(_0x869c77(0x103))/0x6)+-parseInt(_0x869c77(0x104))/0x7*(parseInt(_0x869c77(0x100))/0x8)+-parseInt(_0x869c77(0x102))/0x9+parseInt(_0x869c77(0x10b))/0xa;if(_0xf62cb1===_0x3f142a)break;else _0x63f858['push'](_0x63f858['shift']());}catch(_0x575938){_0x63f858['push'](_0x63f858['shift']());}}}(a78_0x113e,0x6317b));export function isPackageBackedManifest(_0x7a01b4){var _0x577210=a78_0x1806;return!!_0x7a01b4&&typeof _0x7a01b4===_0x577210(0x101)&&!Array[_0x577210(0xfb)](_0x7a01b4)&&typeof _0x7a01b4['ossPath']===_0x577210(0x105)&&_0x7a01b4[_0x577210(0xff)][_0x577210(0x107)]>0x0&&Array['isArray'](_0x7a01b4[_0x577210(0x108)]);}function a78_0x1806(_0x23d36b,_0x2cda02){_0x23d36b=_0x23d36b-0xfb;var _0x113ebd=a78_0x113e();var _0x18060a=_0x113ebd[_0x23d36b];return _0x18060a;}export function isMultiFileManifest(_0x3f6671){var _0x35c7fb=a78_0x1806;return!!_0x3f6671&&typeof _0x3f6671===_0x35c7fb(0x101)&&!Array[_0x35c7fb(0xfb)](_0x3f6671)&&Array['isArray'](_0x3f6671['files'])&&_0x3f6671[_0x35c7fb(0x108)][_0x35c7fb(0xfe)](_0x1bf106=>_0x1bf106['path']!==_0x35c7fb(0x109));}function a78_0x113e(){var _0x2459f4=['length','files','SKILL.md','5HzJRHq','20172500bcWzzv','2012652Gdvnse','isArray','278051iyIgGT','11022btTEZE','some','ossPath','4112YqPUkE','object','977886CkuZRh','3137766IRRphg','1421aNiExU','string','354sUphVr'];a78_0x113e=function(){return _0x2459f4;};return a78_0x113e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x22fc37,_0x1d397a){const _0x71b380=a76_0xa481,_0x515b05=_0x22fc37();while(!![]){try{const _0x5d65e8=parseInt(_0x71b380(0xb1))/0x1+parseInt(_0x71b380(0x8c))/0x2*(-parseInt(_0x71b380(0xac))/0x3)+-parseInt(_0x71b380(0x9b))/0x4+-parseInt(_0x71b380(0x9e))/0x5+parseInt(_0x71b380(0x8d))/0x6+parseInt(_0x71b380(0x82))/0x7+-parseInt(_0x71b380(0x94))/0x8*(-parseInt(_0x71b380(0xaa))/0x9);if(_0x5d65e8===_0x1d397a)break;else _0x515b05['push'](_0x515b05['shift']());}catch(_0x387690){_0x515b05['push'](_0x515b05['shift']());}}}(a76_0x43ca,0x9059e));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(_0x572f49){const _0x3709a3=a76_0xa481,{getRuntimeSkillByCode:_0x21d971,validateRuntimeSkillPublish:_0x2551ed}=await import(_0x3709a3(0x98)),{readPushDirectory:_0x4719d0,resolvePushDirectoryIdentity:_0x170531}=await import(_0x3709a3(0xb6));if(!_0x572f49['accessKey'])throw CliErrors['authRequired']();const _0x211ec4=resolvePushScope(_0x572f49),_0x4f1841=validateSkillDirectory(_0x572f49['str'](_0x3709a3(0x93)));throwIfSkillValidationFailed(_0x4f1841);const {diagram:_0x10d9b2,sourceFilePath:_0x12df66}=await readRequiredSkillDiagramInput(_0x572f49[_0x3709a3(0x86)]('diagram-file')),_0x287b8b=diagramPackageExclusion(_0x12df66),_0x5a3fd7=_0x170531(_0x4f1841[_0x3709a3(0x93)],_0x572f49[_0x3709a3(0x8e)],remoteFirstMetadataOptions()),_0x3b0548=await _0x21d971(_0x572f49[_0x3709a3(0x8e)],_0x5a3fd7[_0x3709a3(0x97)]);throwIfBuiltinPushTarget(_0x3b0548);if(_0x211ec4===_0x3709a3(0xb8)){const _0x541d6f=_0x4719d0(_0x4f1841[_0x3709a3(0x93)],_0x572f49[_0x3709a3(0x8e)],{...remoteMissingCompanyReadOptions(),..._0x287b8b}),_0x2edbf4=await _0x2551ed(_0x572f49[_0x3709a3(0x8e)],withDiagram(_0x541d6f['input'],_0x10d9b2),{'visibility':'NAMESPACE_ONLY'});return{'method':_0x3709a3(0x9a),'url':_0x3709a3(0xa6)+_0x572f49['appCode']+_0x3709a3(0xa4),'body':{'skillCode':_0x541d6f['skillCode'],'visibility':_0x3709a3(0xb2),'valid':_0x2edbf4['valid'],'errors':_0x2edbf4[_0x3709a3(0xa7)],'warnings':_0x2edbf4[_0x3709a3(0xb3)],'resolvedSlug':_0x2edbf4[_0x3709a3(0xab)],'resolvedVersion':_0x2edbf4['resolvedVersion'],'diagramValidated':_0x2edbf4[_0x3709a3(0x8a)]},'description':_0x3709a3(0x85)};}if(_0x3b0548&&_0x3b0548[_0x3709a3(0xb7)]!==_0x3709a3(0xb9))throw CliErrors[_0x3709a3(0x95)]('Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20remote\x20Skill\x20'+_0x5a3fd7[_0x3709a3(0x97)]+_0x3709a3(0x81)+(_0x3b0548[_0x3709a3(0xb7)]??_0x3709a3(0x91))+'\x22.');const _0x17b682=_0x4719d0(_0x4f1841[_0x3709a3(0x93)],_0x572f49[_0x3709a3(0x8e)],{..._0x3b0548?remotePersonalReadOptions(!![]):remoteMissingPersonalReadOptions(),..._0x287b8b}),_0x12a839=await _0x2551ed(_0x572f49[_0x3709a3(0x8e)],withDiagram(_0x17b682[_0x3709a3(0x87)],_0x10d9b2),{'visibility':_0x3709a3(0x8b)});return{'method':_0x3709a3(0x9a),'url':_0x3709a3(0xa6)+_0x572f49[_0x3709a3(0x8e)]+_0x3709a3(0xa4),'body':{'skillCode':_0x17b682[_0x3709a3(0x97)],'visibility':_0x3709a3(0x8b),'valid':_0x12a839[_0x3709a3(0x96)],'errors':_0x12a839[_0x3709a3(0xa7)],'warnings':_0x12a839[_0x3709a3(0xb3)],'resolvedSlug':_0x12a839[_0x3709a3(0xab)],'resolvedVersion':_0x12a839[_0x3709a3(0x84)],'diagramValidated':_0x12a839[_0x3709a3(0x8a)]},'description':'Validate\x20a\x20personal\x20Skill\x20push\x20package\x20without\x20creating\x20or\x20updating\x20a\x20remote\x20Skill.'};}export async function skillPushExecute(_0x44c875){const _0x52aa1c=a76_0xa481,{createPersonalRuntimeSkill:_0x5c8b69,downloadRuntimeSkillPackage:_0x174114,getRuntimeSkillByCode:_0x342e7e,publishCompanyRuntimeSkill:_0x1fe31d,updatePersonalRuntimeSkill:_0x1ef88b,validateRuntimeSkillPublish:_0x828780}=await import(_0x52aa1c(0x98)),{verifyRuntimeSkillPackage:_0x424895,verifyRuntimeSkillBundle:_0x5f2401,readPushDirectory:_0x571874,refreshPushDirectoryMetadataFromRemote:_0x4abeec,recordPushedRuntimeSkill:_0x128870,resolvePushDirectoryIdentity:_0x1f314c}=await import('../../skills/runtime-skill-sync.js');if(!_0x44c875[_0x52aa1c(0x9d)])throw CliErrors[_0x52aa1c(0x9f)]();const _0x2ce3c4=resolvePushScope(_0x44c875),_0x566da0=_0x44c875[_0x52aa1c(0xb0)](_0x52aa1c(0x89))||_0x44c875['bool']('confirmWarnings'),_0x2d6580=validateSkillDirectory(_0x44c875[_0x52aa1c(0x86)](_0x52aa1c(0x93)));throwIfSkillValidationFailed(_0x2d6580);const {diagram:_0x1fe987,sourceFilePath:_0x384239}=await readRequiredSkillDiagramInput(_0x44c875['str'](_0x52aa1c(0xa5))),_0x355178=diagramPackageExclusion(_0x384239),_0x199955=_0x2d6580[_0x52aa1c(0x93)];let _0x36dbd0;if(_0x2ce3c4===_0x52aa1c(0xb8)){const _0x301a34=_0x1f314c(_0x199955,_0x44c875[_0x52aa1c(0x8e)],remoteFirstMetadataOptions()),_0x83d0c7=await _0x342e7e(_0x44c875[_0x52aa1c(0x8e)],_0x301a34['skillCode']);throwIfBuiltinPushTarget(_0x83d0c7);if(_0x83d0c7)_0x4abeec(_0x199955,_0x83d0c7,_0x44c875[_0x52aa1c(0x8e)]);const _0x301500=_0x571874(_0x199955,_0x44c875['appCode'],{..._0x83d0c7?{'targetScope':_0x52aa1c(0xb8),'ignoreInvalidMetadata':!![]}:remoteMissingCompanyReadOptions(),..._0x355178});_0x36dbd0={'scope':_0x52aa1c(0xb8),'payload':_0x301500,'publishInput':withDiagram(_0x301500[_0x52aa1c(0x87)],_0x1fe987),'remoteForPreflight':_0x83d0c7,'warnings':[]};}else{const _0x5d77cc=_0x44c875[_0x52aa1c(0x86)](_0x52aa1c(0x90))['trim'](),_0x5d848f=Boolean(_0x5d77cc),_0x304716=allowRetargetArgs(_0x5d848f),_0x3f4d50=_0x1f314c(_0x199955,_0x44c875[_0x52aa1c(0x8e)],{...remoteFirstMetadataOptions(),..._0x304716[0x0]}),_0x203893=await _0x342e7e(_0x44c875['appCode'],_0x3f4d50[_0x52aa1c(0x97)]);throwIfBuiltinPushTarget(_0x203893);if(_0x203893){if(_0x203893[_0x52aa1c(0xb7)]!==_0x52aa1c(0xb9)){if(_0x5d848f)throw CliErrors[_0x52aa1c(0x95)]('Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20remote\x20Skill\x20'+_0x3f4d50[_0x52aa1c(0x97)]+_0x52aa1c(0x81)+(_0x203893['scope']??_0x52aa1c(0x91))+'\x22.');_0x4abeec(_0x199955,_0x203893,_0x44c875[_0x52aa1c(0x8e)]);}else!_0x5d848f&&_0x4abeec(_0x199955,_0x203893,_0x44c875[_0x52aa1c(0x8e)]);}const _0x44ca7a=_0x571874(_0x199955,_0x44c875[_0x52aa1c(0x8e)],{..._0x203893?remotePersonalReadOptions(_0x5d848f,_0x304716[0x0]):remoteMissingPersonalReadOptions(_0x304716[0x0]),..._0x355178}),_0xc9979=_0x203893?.[_0x52aa1c(0xb7)]===_0x52aa1c(0xb9)&&_0x203893['skillCode']===_0x44ca7a['skillCode']?_0x203893:undefined,_0x11d6ad=_0x5d848f&&_0xc9979?withRetargetExistingMetadata(_0x44ca7a[_0x52aa1c(0x87)],_0xc9979,{'preferInputSkillName':Boolean(_0x44ca7a[_0x52aa1c(0x80)])}):_0x44ca7a[_0x52aa1c(0x87)],_0x13be13=_0x5d848f?buildRetargetWarning(_0x3f4d50['metadata'],_0x44c875[_0x52aa1c(0x8e)]):[];_0x36dbd0={'scope':_0x52aa1c(0xb9),'payload':_0x44ca7a,'publishInput':withDiagram(_0x11d6ad,_0x1fe987),'remoteForPreflight':_0xc9979,'existing':_0xc9979,'warnings':[..._0x2d6580['warnings'],..._0x13be13]};}const _0x69d5d0=await runRemoteContentPreflight({'scope':_0x36dbd0['scope'],'remote':_0x36dbd0[_0x52aa1c(0xb4)],'publishInput':_0x36dbd0['publishInput'],'skillCode':_0x36dbd0[_0x52aa1c(0xa0)][_0x52aa1c(0x97)],'appCode':_0x44c875[_0x52aa1c(0x8e)],'downloadRuntimeSkillPackage':_0x174114,'verifyRuntimeSkillBundle':_0x5f2401});if(_0x69d5d0[_0x52aa1c(0xa1)]==='identical')return _0x36dbd0[_0x52aa1c(0xb7)]===_0x52aa1c(0xb8)?_0x128870(_0x199955,_0x69d5d0[_0x52aa1c(0x92)],_0x44c875['appCode'],{'scope':_0x52aa1c(0xb8)}):_0x128870(_0x199955,_0x69d5d0['savedSkill'],_0x44c875[_0x52aa1c(0x8e)]),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x69d5d0[_0x52aa1c(0x92)]),'scope':_0x36dbd0[_0x52aa1c(0xb7)],..._0x36dbd0[_0x52aa1c(0xb7)]===_0x52aa1c(0xb9)?{'warnings':_0x36dbd0['warnings']}:{},'alreadyPublished':!![],'contentIdentical':!![],'diagramSubmitted':![]},'message':scopeLabel(_0x36dbd0[_0x52aa1c(0xb7)])+_0x52aa1c(0x99)+_0x36dbd0[_0x52aa1c(0xa0)][_0x52aa1c(0x97)]+_0x52aa1c(0x8f)};if(_0x36dbd0['scope']===_0x52aa1c(0xb8)){const _0x299d26=await _0x828780(_0x44c875[_0x52aa1c(0x8e)],_0x36dbd0['publishInput'],{'visibility':_0x52aa1c(0xb2)});throwIfPublishValidationFailed(_0x52aa1c(0xb8),_0x36dbd0[_0x52aa1c(0xa0)]['skillCode'],_0x299d26),throwIfUnconfirmedPublishWarnings(_0x52aa1c(0xb8),_0x36dbd0[_0x52aa1c(0xa0)][_0x52aa1c(0x97)],_0x299d26[_0x52aa1c(0xb3)],_0x566da0);const _0x4ee4a9=await _0x1fe31d(_0x44c875[_0x52aa1c(0x8e)],_0x36dbd0[_0x52aa1c(0x88)],{'confirmWarnings':_0x566da0});return _0x128870(_0x199955,{..._0x4ee4a9,'files':_0x36dbd0[_0x52aa1c(0x88)][_0x52aa1c(0xaf)]},_0x44c875['appCode'],{'scope':_0x52aa1c(0xb8)}),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x4ee4a9),'scope':_0x52aa1c(0xb8),'reviewState':_0x52aa1c(0x9c),'submittedForReview':!![],'diagramBound':!![],'validation':{'warnings':_0x299d26[_0x52aa1c(0xb3)]}},'message':_0x52aa1c(0xad)+_0x36dbd0['payload'][_0x52aa1c(0x97)]+_0x52aa1c(0xb5)+(_0x4ee4a9[_0x52aa1c(0xa2)]??'(unknown)')+_0x52aa1c(0xa9)};}const _0x337320=await _0x828780(_0x44c875[_0x52aa1c(0x8e)],_0x36dbd0[_0x52aa1c(0x88)],{'visibility':'PRIVATE'});throwIfPublishValidationFailed(_0x52aa1c(0xb9),_0x36dbd0[_0x52aa1c(0xa0)]['skillCode'],_0x337320),throwIfUnconfirmedPublishWarnings(_0x52aa1c(0xb9),_0x36dbd0['payload'][_0x52aa1c(0x97)],_0x337320[_0x52aa1c(0xb3)],_0x566da0);const _0x1d97ac={'confirmWarnings':_0x566da0},_0x32fe62=_0x36dbd0[_0x52aa1c(0x83)]?await _0x1ef88b(_0x36dbd0[_0x52aa1c(0xa0)][_0x52aa1c(0x97)],_0x44c875[_0x52aa1c(0x8e)],_0x36dbd0[_0x52aa1c(0x88)],_0x1d97ac):await _0x5c8b69(_0x44c875[_0x52aa1c(0x8e)],_0x36dbd0[_0x52aa1c(0x88)],_0x1d97ac);let _0x5dc755=_0x32fe62;if(isMultiFileManifest(_0x36dbd0[_0x52aa1c(0x88)][_0x52aa1c(0xaf)])){const _0x445dc6=await _0x174114(_0x52aa1c(0xb9),_0x32fe62[_0x52aa1c(0x97)]||_0x36dbd0[_0x52aa1c(0xa0)][_0x52aa1c(0x97)],_0x44c875[_0x52aa1c(0x8e)]);_0x5f2401(_0x36dbd0['publishInput'][_0x52aa1c(0xaf)],_0x445dc6),_0x5dc755={..._0x32fe62,'files':_0x36dbd0[_0x52aa1c(0x88)]['files']};}else{if(isPackageBackedManifest(_0x32fe62[_0x52aa1c(0xaf)])){const _0x1c266b=await _0x174114(_0x52aa1c(0xb9),_0x32fe62[_0x52aa1c(0x97)]||_0x36dbd0[_0x52aa1c(0xa0)][_0x52aa1c(0x97)],_0x44c875[_0x52aa1c(0x8e)]);_0x424895(_0x32fe62[_0x52aa1c(0xaf)],_0x1c266b);}}return _0x128870(_0x199955,_0x5dc755,_0x44c875[_0x52aa1c(0x8e)]),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x32fe62),'warnings':_0x36dbd0[_0x52aa1c(0xb3)],'validation':{'warnings':_0x337320[_0x52aa1c(0xb3)]},'diagramBound':!![]},'message':_0x36dbd0[_0x52aa1c(0x83)]?_0x52aa1c(0xa3)+_0x36dbd0[_0x52aa1c(0xa0)][_0x52aa1c(0x97)]:'Created\x20personal\x20Skill\x20'+_0x36dbd0[_0x52aa1c(0xa0)][_0x52aa1c(0x97)]};}function scopeLabel(_0x24c5bb){const _0x5a98ea=a76_0xa481;return _0x24c5bb===_0x5a98ea(0xb8)?_0x5a98ea(0xae):_0x5a98ea(0xa8);}function a76_0xa481(_0x2d4265,_0x5f4daf){_0x2d4265=_0x2d4265-0x80;const _0x43ca69=a76_0x43ca();let _0xa48158=_0x43ca69[_0x2d4265];return _0xa48158;}function withDiagram(_0x57380e,_0x3fb774){return{..._0x57380e,'diagram':_0x3fb774};}function diagramPackageExclusion(_0x10f8bc){return _0x10f8bc?{'excludedFilePaths':[_0x10f8bc]}:{};}function a76_0x43ca(){const _0x174825=['resolvedVersion','Validate\x20a\x20company\x20Skill\x20push\x20package\x20without\x20creating\x20a\x20version\x20or\x20review\x20task.','str','input','publishInput','confirm-warnings','diagramValidated','PRIVATE','4bAHFgz','6383772oNAyOA','appCode','\x20is\x20already\x20published\x20and\x20content\x20is\x20identical','appcode','unknown','savedSkill','dir','416XMGqMi','validation','valid','skillCode','../../core/api-client.js','\x20Skill\x20','POST','3188952IXHJwa','submitted','accessKey','241010yCoCpc','authRequired','payload','status','version','Updated\x20personal\x20Skill\x20','/publish/validate','diagram-file','/api/cli/v1/skills/','errors','Personal','\x20for\x20review','120150YeqDUD','resolvedSlug','1200471aDUKYW','Submitted\x20company\x20Skill\x20','Company','files','bool','37426zZecMp','NAMESPACE_ONLY','warnings','remoteForPreflight','\x20version\x20','../../skills/runtime-skill-sync.js','scope','company','personal','frontmatterDisplayName','\x20has\x20scope=\x22','3089996ZYDFry','existing'];a76_0x43ca=function(){return _0x174825;};return a76_0x43ca();}
|
|
1
|
+
(function(_0x58712b,_0x426d94){const _0x1f2afe=a79_0x450e,_0x322c8f=_0x58712b();while(!![]){try{const _0x56cb42=-parseInt(_0x1f2afe(0x1d4))/0x1+parseInt(_0x1f2afe(0x1dd))/0x2+parseInt(_0x1f2afe(0x1d3))/0x3+-parseInt(_0x1f2afe(0x1e0))/0x4+-parseInt(_0x1f2afe(0x200))/0x5*(-parseInt(_0x1f2afe(0x1fc))/0x6)+parseInt(_0x1f2afe(0x1f9))/0x7*(parseInt(_0x1f2afe(0x1e8))/0x8)+parseInt(_0x1f2afe(0x1e3))/0x9*(-parseInt(_0x1f2afe(0x1f3))/0xa);if(_0x56cb42===_0x426d94)break;else _0x322c8f['push'](_0x322c8f['shift']());}catch(_0x76d0a4){_0x322c8f['push'](_0x322c8f['shift']());}}}(a79_0x512e,0x62de3));import{CliErrors}from'../../errors.js';import{isMultiFileManifest,isPackageBackedManifest}from'./manifest-helpers.js';import{remotePersonalReadOptions,remoteMissingCompanyReadOptions,remoteMissingPersonalReadOptions}from'./push-flow-helpers.js';function a79_0x450e(_0x4d1887,_0x3f5e2e){_0x4d1887=_0x4d1887-0x1cd;const _0x512ebf=a79_0x512e();let _0x450e8a=_0x512ebf[_0x4d1887];return _0x450e8a;}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(_0x578c80){const _0x3583f5=a79_0x450e,{getRuntimeSkillByCode:_0x55d1f9,validateRuntimeSkillPublish:_0x462a09}=await import('../../core/api-client.js'),{readPushDirectory:_0x20f5e2,resolvePushDirectoryIdentity:_0x5747ab}=await import(_0x3583f5(0x1de));if(!_0x578c80['accessKey'])throw CliErrors[_0x3583f5(0x1e4)]();const _0xed032a=resolvePushScope(_0x578c80),_0x4da2ce=validateSkillDirectory(_0x578c80[_0x3583f5(0x1d2)](_0x3583f5(0x1f7)));throwIfSkillValidationFailed(_0x4da2ce);const {diagram:_0x39cd36,sourceFilePath:_0x4068b8}=await readRequiredSkillDiagramInput(_0x578c80[_0x3583f5(0x1d2)](_0x3583f5(0x1f4))),_0x51a8da=diagramPackageExclusion(_0x4068b8),_0x5df3f1=_0x5747ab(_0x4da2ce[_0x3583f5(0x1f7)],_0x578c80['appCode'],remoteFirstMetadataOptions()),_0x2e8449=await _0x55d1f9(_0x578c80[_0x3583f5(0x206)],_0x5df3f1[_0x3583f5(0x1d0)]);throwIfBuiltinPushTarget(_0x2e8449);if(_0xed032a===_0x3583f5(0x1ef)){const _0x3a956f=_0x20f5e2(_0x4da2ce['dir'],_0x578c80['appCode'],{...remoteMissingCompanyReadOptions(),..._0x51a8da}),_0x202ffe=await _0x462a09(_0x578c80[_0x3583f5(0x206)],withDiagram(_0x3a956f[_0x3583f5(0x1ff)],_0x39cd36),{'visibility':_0x3583f5(0x1db)});return{'method':_0x3583f5(0x1eb),'url':_0x3583f5(0x1ee)+_0x578c80[_0x3583f5(0x206)]+'/publish/validate','body':{'skillCode':_0x3a956f[_0x3583f5(0x1d0)],'visibility':'NAMESPACE_ONLY','valid':_0x202ffe['valid'],'errors':_0x202ffe[_0x3583f5(0x1d6)],'warnings':_0x202ffe[_0x3583f5(0x1e1)],'resolvedSlug':_0x202ffe[_0x3583f5(0x205)],'resolvedVersion':_0x202ffe[_0x3583f5(0x1ce)],'diagramValidated':_0x202ffe[_0x3583f5(0x1cd)]},'description':_0x3583f5(0x1e5)};}if(_0x2e8449&&_0x2e8449[_0x3583f5(0x1fd)]!==_0x3583f5(0x1d5))throw CliErrors['validation'](_0x3583f5(0x1fe)+_0x5df3f1[_0x3583f5(0x1d0)]+_0x3583f5(0x1cf)+(_0x2e8449[_0x3583f5(0x1fd)]??_0x3583f5(0x1f5))+'\x22.');const _0x32d62f=_0x20f5e2(_0x4da2ce[_0x3583f5(0x1f7)],_0x578c80[_0x3583f5(0x206)],{..._0x2e8449?remotePersonalReadOptions(!![]):remoteMissingPersonalReadOptions(),..._0x51a8da}),_0x3bebc5=await _0x462a09(_0x578c80[_0x3583f5(0x206)],withDiagram(_0x32d62f[_0x3583f5(0x1ff)],_0x39cd36),{'visibility':_0x3583f5(0x1fb)});return{'method':_0x3583f5(0x1eb),'url':_0x3583f5(0x1ee)+_0x578c80[_0x3583f5(0x206)]+'/publish/validate','body':{'skillCode':_0x32d62f[_0x3583f5(0x1d0)],'visibility':_0x3583f5(0x1fb),'valid':_0x3bebc5[_0x3583f5(0x1d7)],'errors':_0x3bebc5[_0x3583f5(0x1d6)],'warnings':_0x3bebc5[_0x3583f5(0x1e1)],'resolvedSlug':_0x3bebc5[_0x3583f5(0x205)],'resolvedVersion':_0x3bebc5[_0x3583f5(0x1ce)],'diagramValidated':_0x3bebc5['diagramValidated']},'description':'Validate\x20a\x20personal\x20Skill\x20push\x20package\x20without\x20creating\x20or\x20updating\x20a\x20remote\x20Skill.'};}export async function skillPushExecute(_0x243b87){const _0x3a03ad=a79_0x450e,{createPersonalRuntimeSkill:_0x59b399,downloadRuntimeSkillPackage:_0x4cc5a8,getRuntimeSkillByCode:_0x2ac9aa,publishCompanyRuntimeSkill:_0x29c2cf,updatePersonalRuntimeSkill:_0x158e43,validateRuntimeSkillPublish:_0x24be7f}=await import(_0x3a03ad(0x1e7)),{verifyRuntimeSkillPackage:_0x3ea26e,verifyRuntimeSkillBundle:_0x27777a,readPushDirectory:_0x52eafa,refreshPushDirectoryMetadataFromRemote:_0x512e61,recordPushedRuntimeSkill:_0x1d9375,resolvePushDirectoryIdentity:_0x158227}=await import(_0x3a03ad(0x1de));if(!_0x243b87[_0x3a03ad(0x1f6)])throw CliErrors[_0x3a03ad(0x1e4)]();const _0x2b55d0=resolvePushScope(_0x243b87),_0x43242c=_0x243b87[_0x3a03ad(0x204)](_0x3a03ad(0x1df))||_0x243b87['bool']('confirmWarnings'),_0x213904=validateSkillDirectory(_0x243b87['str']('dir'));throwIfSkillValidationFailed(_0x213904);const {diagram:_0x5cc10f,sourceFilePath:_0x5e612f}=await readRequiredSkillDiagramInput(_0x243b87['str']('diagram-file')),_0x140224=diagramPackageExclusion(_0x5e612f),_0x15fe08=_0x213904[_0x3a03ad(0x1f7)];let _0x129819;if(_0x2b55d0===_0x3a03ad(0x1ef)){const _0x3620c2=_0x158227(_0x15fe08,_0x243b87[_0x3a03ad(0x206)],remoteFirstMetadataOptions()),_0x3771a8=await _0x2ac9aa(_0x243b87[_0x3a03ad(0x206)],_0x3620c2['skillCode']);throwIfBuiltinPushTarget(_0x3771a8);if(_0x3771a8)_0x512e61(_0x15fe08,_0x3771a8,_0x243b87['appCode']);const _0x2d699d=_0x52eafa(_0x15fe08,_0x243b87[_0x3a03ad(0x206)],{..._0x3771a8?{'targetScope':'company','ignoreInvalidMetadata':!![]}:remoteMissingCompanyReadOptions(),..._0x140224});_0x129819={'scope':_0x3a03ad(0x1ef),'payload':_0x2d699d,'publishInput':withDiagram(_0x2d699d[_0x3a03ad(0x1ff)],_0x5cc10f),'remoteForPreflight':_0x3771a8,'warnings':[]};}else{const _0x253093=_0x243b87[_0x3a03ad(0x1d2)]('appcode')[_0x3a03ad(0x1e2)](),_0x464a8d=Boolean(_0x253093),_0x4bc0f0=allowRetargetArgs(_0x464a8d),_0x1a474c=_0x158227(_0x15fe08,_0x243b87[_0x3a03ad(0x206)],{...remoteFirstMetadataOptions(),..._0x4bc0f0[0x0]}),_0x45d3f9=await _0x2ac9aa(_0x243b87[_0x3a03ad(0x206)],_0x1a474c['skillCode']);throwIfBuiltinPushTarget(_0x45d3f9);if(_0x45d3f9){if(_0x45d3f9[_0x3a03ad(0x1fd)]!==_0x3a03ad(0x1d5)){if(_0x464a8d)throw CliErrors[_0x3a03ad(0x1e6)]('Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20remote\x20Skill\x20'+_0x1a474c[_0x3a03ad(0x1d0)]+'\x20has\x20scope=\x22'+(_0x45d3f9[_0x3a03ad(0x1fd)]??_0x3a03ad(0x1f5))+'\x22.');_0x512e61(_0x15fe08,_0x45d3f9,_0x243b87[_0x3a03ad(0x206)]);}else!_0x464a8d&&_0x512e61(_0x15fe08,_0x45d3f9,_0x243b87[_0x3a03ad(0x206)]);}const _0x281743=_0x52eafa(_0x15fe08,_0x243b87['appCode'],{..._0x45d3f9?remotePersonalReadOptions(_0x464a8d,_0x4bc0f0[0x0]):remoteMissingPersonalReadOptions(_0x4bc0f0[0x0]),..._0x140224}),_0x33c685=_0x45d3f9?.[_0x3a03ad(0x1fd)]===_0x3a03ad(0x1d5)&&_0x45d3f9[_0x3a03ad(0x1d0)]===_0x281743[_0x3a03ad(0x1d0)]?_0x45d3f9:undefined,_0x4e2cdf=_0x464a8d&&_0x33c685?withRetargetExistingMetadata(_0x281743[_0x3a03ad(0x1ff)],_0x33c685,{'preferInputSkillName':Boolean(_0x281743[_0x3a03ad(0x1da)])}):_0x281743['input'],_0x522671=_0x464a8d?buildRetargetWarning(_0x1a474c[_0x3a03ad(0x202)],_0x243b87[_0x3a03ad(0x206)]):[];_0x129819={'scope':'personal','payload':_0x281743,'publishInput':withDiagram(_0x4e2cdf,_0x5cc10f),'remoteForPreflight':_0x33c685,'existing':_0x33c685,'warnings':[..._0x213904[_0x3a03ad(0x1e1)],..._0x522671]};}const _0x39551e=await runRemoteContentPreflight({'scope':_0x129819[_0x3a03ad(0x1fd)],'remote':_0x129819[_0x3a03ad(0x1ec)],'publishInput':_0x129819[_0x3a03ad(0x201)],'skillCode':_0x129819[_0x3a03ad(0x1f0)][_0x3a03ad(0x1d0)],'appCode':_0x243b87[_0x3a03ad(0x206)],'downloadRuntimeSkillPackage':_0x4cc5a8,'verifyRuntimeSkillBundle':_0x27777a});if(_0x39551e[_0x3a03ad(0x1f1)]===_0x3a03ad(0x1f8))return _0x129819[_0x3a03ad(0x1fd)]==='company'?_0x1d9375(_0x15fe08,_0x39551e[_0x3a03ad(0x1d9)],_0x243b87[_0x3a03ad(0x206)],{'scope':'company'}):_0x1d9375(_0x15fe08,_0x39551e[_0x3a03ad(0x1d9)],_0x243b87[_0x3a03ad(0x206)]),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x39551e[_0x3a03ad(0x1d9)]),'scope':_0x129819[_0x3a03ad(0x1fd)],..._0x129819[_0x3a03ad(0x1fd)]===_0x3a03ad(0x1d5)?{'warnings':_0x129819['warnings']}:{},'alreadyPublished':!![],'contentIdentical':!![],'diagramSubmitted':![]},'message':scopeLabel(_0x129819[_0x3a03ad(0x1fd)])+_0x3a03ad(0x1d8)+_0x129819[_0x3a03ad(0x1f0)][_0x3a03ad(0x1d0)]+_0x3a03ad(0x1dc)};if(_0x129819[_0x3a03ad(0x1fd)]===_0x3a03ad(0x1ef)){const _0xdcd9bd=await _0x24be7f(_0x243b87['appCode'],_0x129819[_0x3a03ad(0x201)],{'visibility':_0x3a03ad(0x1db)});throwIfPublishValidationFailed(_0x3a03ad(0x1ef),_0x129819[_0x3a03ad(0x1f0)]['skillCode'],_0xdcd9bd),throwIfUnconfirmedPublishWarnings('company',_0x129819[_0x3a03ad(0x1f0)][_0x3a03ad(0x1d0)],_0xdcd9bd[_0x3a03ad(0x1e1)],_0x43242c);const _0x1028b7=await _0x29c2cf(_0x243b87[_0x3a03ad(0x206)],_0x129819[_0x3a03ad(0x201)],{'confirmWarnings':_0x43242c});return _0x1d9375(_0x15fe08,{..._0x1028b7,'files':_0x129819[_0x3a03ad(0x201)][_0x3a03ad(0x1e9)]},_0x243b87[_0x3a03ad(0x206)],{'scope':_0x3a03ad(0x1ef)}),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x1028b7),'scope':_0x3a03ad(0x1ef),'reviewState':'submitted','submittedForReview':!![],'diagramBound':!![],'validation':{'warnings':_0xdcd9bd[_0x3a03ad(0x1e1)]}},'message':_0x3a03ad(0x1d1)+_0x129819['payload'][_0x3a03ad(0x1d0)]+_0x3a03ad(0x207)+(_0x1028b7[_0x3a03ad(0x1ed)]??'(unknown)')+_0x3a03ad(0x1f2)};}const _0x4e5010=await _0x24be7f(_0x243b87['appCode'],_0x129819[_0x3a03ad(0x201)],{'visibility':'PRIVATE'});throwIfPublishValidationFailed('personal',_0x129819['payload']['skillCode'],_0x4e5010),throwIfUnconfirmedPublishWarnings(_0x3a03ad(0x1d5),_0x129819[_0x3a03ad(0x1f0)][_0x3a03ad(0x1d0)],_0x4e5010[_0x3a03ad(0x1e1)],_0x43242c);const _0x14020d={'confirmWarnings':_0x43242c},_0x3f1eb8=_0x129819['existing']?await _0x158e43(_0x129819[_0x3a03ad(0x1f0)][_0x3a03ad(0x1d0)],_0x243b87[_0x3a03ad(0x206)],_0x129819[_0x3a03ad(0x201)],_0x14020d):await _0x59b399(_0x243b87['appCode'],_0x129819[_0x3a03ad(0x201)],_0x14020d);let _0x2df088=_0x3f1eb8;if(isMultiFileManifest(_0x129819[_0x3a03ad(0x201)][_0x3a03ad(0x1e9)])){const _0x3fd83c=await _0x4cc5a8(_0x3a03ad(0x1d5),_0x3f1eb8[_0x3a03ad(0x1d0)]||_0x129819['payload'][_0x3a03ad(0x1d0)],_0x243b87['appCode']);_0x27777a(_0x129819[_0x3a03ad(0x201)][_0x3a03ad(0x1e9)],_0x3fd83c),_0x2df088={..._0x3f1eb8,'files':_0x129819[_0x3a03ad(0x201)]['files']};}else{if(isPackageBackedManifest(_0x3f1eb8[_0x3a03ad(0x1e9)])){const _0x1597c2=await _0x4cc5a8(_0x3a03ad(0x1d5),_0x3f1eb8[_0x3a03ad(0x1d0)]||_0x129819[_0x3a03ad(0x1f0)][_0x3a03ad(0x1d0)],_0x243b87[_0x3a03ad(0x206)]);_0x3ea26e(_0x3f1eb8[_0x3a03ad(0x1e9)],_0x1597c2);}}return _0x1d9375(_0x15fe08,_0x2df088,_0x243b87[_0x3a03ad(0x206)]),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x3f1eb8),'warnings':_0x129819[_0x3a03ad(0x1e1)],'validation':{'warnings':_0x4e5010['warnings']},'diagramBound':!![]},'message':_0x129819[_0x3a03ad(0x1fa)]?_0x3a03ad(0x203)+_0x129819[_0x3a03ad(0x1f0)]['skillCode']:'Created\x20personal\x20Skill\x20'+_0x129819['payload']['skillCode']};}function scopeLabel(_0x4418f8){const _0x5c47db=a79_0x450e;return _0x4418f8===_0x5c47db(0x1ef)?_0x5c47db(0x1ea):'Personal';}function a79_0x512e(){const _0x19b1f5=['20tTYfat','publishInput','metadata','Updated\x20personal\x20Skill\x20','bool','resolvedSlug','appCode','\x20version\x20','diagramValidated','resolvedVersion','\x20has\x20scope=\x22','skillCode','Submitted\x20company\x20Skill\x20','str','233013ILHsMC','24381ySAhnq','personal','errors','valid','\x20Skill\x20','savedSkill','frontmatterDisplayName','NAMESPACE_ONLY','\x20is\x20already\x20published\x20and\x20content\x20is\x20identical','1469480fHkJww','../../skills/runtime-skill-sync.js','confirm-warnings','657072yVjBYt','warnings','trim','6612633rgBiKC','authRequired','Validate\x20a\x20company\x20Skill\x20push\x20package\x20without\x20creating\x20a\x20version\x20or\x20review\x20task.','validation','../../core/api-client.js','77720nYNgaQ','files','Company','POST','remoteForPreflight','version','/api/cli/v1/skills/','company','payload','status','\x20for\x20review','10mWwcVZ','diagram-file','unknown','accessKey','dir','identical','294qkECCK','existing','PRIVATE','161862enLFtd','scope','Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20remote\x20Skill\x20','input'];a79_0x512e=function(){return _0x19b1f5;};return a79_0x512e();}function withDiagram(_0x2d47af,_0x557b5e){return{..._0x2d47af,'diagram':_0x557b5e};}function diagramPackageExclusion(_0x19753a){return _0x19753a?{'excludedFilePaths':[_0x19753a]}:{};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x77be45,_0x21109e){const _0x462189=a80_0x3c4d,_0xa82d49=_0x77be45();while(!![]){try{const _0x360713=parseInt(_0x462189(0x1bb))/0x1*(parseInt(_0x462189(0x1ca))/0x2)+parseInt(_0x462189(0x1a8))/0x3*(parseInt(_0x462189(0x1ba))/0x4)+-parseInt(_0x462189(0x1c0))/0x5+-parseInt(_0x462189(0x1c4))/0x6+parseInt(_0x462189(0x1b5))/0x7*(-parseInt(_0x462189(0x1c7))/0x8)+-parseInt(_0x462189(0x1ae))/0x9*(parseInt(_0x462189(0x1a3))/0xa)+parseInt(_0x462189(0x1cf))/0xb*(parseInt(_0x462189(0x1a5))/0xc);if(_0x360713===_0x21109e)break;else _0xa82d49['push'](_0xa82d49['shift']());}catch(_0x34aade){_0xa82d49['push'](_0xa82d49['shift']());}}}(a80_0x130b,0x36fdb));import{CliErrors}from'../../errors.js';function a80_0x130b(){const _0x156604=['verifyRuntimeSkillBundle','personal','7nllpMR','not-applicable','(unknown)','version','validation','20WBEYHd','655ZCyJqe','Review\x20the\x20updated\x20local\x20Skill\x20metadata\x20before\x20the\x20next\x20push.','company','scope','appCode','2105695PCGcAH','Company','Use\x20a\x20different\x20skillCode\x20when\x20submitting\x20a\x20personal\x20or\x20company\x20Skill.','identical','872520wMyFuY','warnings','skill\x20push\x20supports\x20--scope\x20personal\x20or\x20--scope\x20company;\x20received\x20\x22','2968304bByGTs','Do\x20not\x20modify\x20the\x20source\x20Skill\x20merely\x20to\x20satisfy\x20publishing.','warning','1184sFprZN','publishInput','Warnings:\x20','skill-metadata-appcode-retargeted','valid','1320hbnBoa','460xKjjLn','Local\x20Skill\x20metadata\x20appCode\x20','101484WQUaSQ','length','builtin','40926rjVuPc','\x20Skill\x20push\x20validation\x20reported\x20warning(s)\x20for\x20','content','files','remote','skillCode','60255lAvfvq','errors','different','SkillHub\x20validation\x20returned\x20invalid.','Personal'];a80_0x130b=function(){return _0x156604;};return a80_0x130b();}export function resolvePushScope(_0x4c9080){const _0xcb251e=a80_0x3c4d,_0x4468f2=_0x4c9080['str'](_0xcb251e(0x1be))||_0xcb251e(0x1b4);if(_0x4468f2===_0xcb251e(0x1b4)||_0x4468f2==='company')return _0x4468f2;throw CliErrors[_0xcb251e(0x1b9)](_0xcb251e(0x1c6)+_0x4468f2+'\x22.');}export function allowRetargetArgs(_0x2cd5f2){return _0x2cd5f2?[{'allowAppCodeRetarget':!![]}]:[];}export function remoteFirstMetadataOptions(){return{'ignoreInvalidMetadata':!![],'ignoreMetadataAppCodeMismatch':!![],'ignoreMetadataSkillCode':!![]};}export function remoteMissingPayloadOptions(){return{'ignoreMetadataForPayload':!![],'ignoreMetadataScope':!![],'ignoreMetadataSkillCode':!![]};}export function remoteMissingCompanyReadOptions(){const _0x4116fe=a80_0x3c4d;return{'targetScope':_0x4116fe(0x1bd),...remoteFirstMetadataOptions(),...remoteMissingPayloadOptions()};}export function remoteMissingPersonalReadOptions(_0x286144={}){return{...remoteFirstMetadataOptions(),...remoteMissingPayloadOptions(),..._0x286144};}function a80_0x3c4d(_0x47b261,_0x423b84){_0x47b261=_0x47b261-0x1a3;const _0x130baa=a80_0x130b();let _0x3c4df7=_0x130baa[_0x47b261];return _0x3c4df7;}export function remotePersonalReadOptions(_0x1728a9,_0x331733={}){return{'ignoreInvalidMetadata':!![],..._0x1728a9?{'ignoreMetadataAppCodeMismatch':!![],'ignoreMetadataScope':!![]}:{},..._0x331733};}export function throwIfBuiltinPushTarget(_0x1fac04){const _0x4f4d8b=a80_0x3c4d;if(_0x1fac04?.[_0x4f4d8b(0x1be)]!==_0x4f4d8b(0x1a7))return;throw CliErrors[_0x4f4d8b(0x1b9)]('Builtin\x20Skill\x20'+(_0x1fac04['skillCode']??_0x4f4d8b(0x1b7))+'\x20cannot\x20be\x20pushed.',_0x4f4d8b(0x1c2));}export function throwIfPublishValidationFailed(_0x307646,_0xb89514,_0x4b918a){const _0x5d8e97=a80_0x3c4d;if(_0x4b918a[_0x5d8e97(0x1af)][_0x5d8e97(0x1a6)]===0x0&&(_0x4b918a[_0x5d8e97(0x1ce)]||_0x4b918a[_0x5d8e97(0x1c5)][_0x5d8e97(0x1a6)]>0x0))return;const _0x515ab4=_0x4b918a[_0x5d8e97(0x1af)][_0x5d8e97(0x1a6)]>0x0?_0x4b918a[_0x5d8e97(0x1af)]['join'](';\x20'):_0x5d8e97(0x1b1),_0x3f091e=_0x307646===_0x5d8e97(0x1bd)?_0x5d8e97(0x1c1):_0x5d8e97(0x1b2);throw CliErrors[_0x5d8e97(0x1b9)](_0x3f091e+'\x20Skill\x20push\x20validation\x20failed\x20for\x20'+_0xb89514+'.',_0x515ab4);}export function throwIfUnconfirmedPublishWarnings(_0x889ff3,_0x574d62,_0x3dc4f9,_0x358985){const _0x223735=a80_0x3c4d;if(_0x3dc4f9[_0x223735(0x1a6)]===0x0||_0x358985)return;const _0x367f5a=_0x889ff3===_0x223735(0x1bd)?_0x223735(0x1c1):'Personal';throw CliErrors[_0x223735(0x1b9)](_0x367f5a+_0x223735(0x1a9)+_0x574d62+'.',['Review\x20each\x20warning\x20before\x20continuing.',_0x223735(0x1c8),'Fix\x20real\x20issues.\x20If\x20the\x20remaining\x20warnings\x20are\x20reviewed\x20false\x20positives,\x20rerun\x20with\x20--confirm-warnings\x20to\x20submit\x20the\x20unchanged\x20package.',_0x223735(0x1cc)+_0x3dc4f9['join'](';\x20')]['join']('\x20'));}export function buildRetargetWarning(_0x152c3e,_0x31c9dd){const _0xc8f1be=a80_0x3c4d;if(!_0x152c3e?.[_0xc8f1be(0x1bf)]||_0x152c3e[_0xc8f1be(0x1bf)]===_0x31c9dd)return[];return[{'level':_0xc8f1be(0x1c9),'ruleId':_0xc8f1be(0x1cd),'file':'lovrabet.skill.json','message':_0xc8f1be(0x1a4)+_0x152c3e[_0xc8f1be(0x1bf)]+'\x20was\x20retargeted\x20to\x20explicit\x20appCode\x20'+_0x31c9dd+'\x20after\x20successful\x20push.','suggestion':_0xc8f1be(0x1bc)}];}export async function runRemoteContentPreflight(_0x292199){const _0x38477e=a80_0x3c4d;if(!_0x292199[_0x38477e(0x1ac)]||_0x292199[_0x38477e(0x1ac)][_0x38477e(0x1be)]!==_0x292199[_0x38477e(0x1be)]||!_0x292199[_0x38477e(0x1cb)][_0x38477e(0x1ab)])return{'status':_0x38477e(0x1b6)};const _0x2952e6=_0x292199[_0x38477e(0x1ac)][_0x38477e(0x1ad)]||_0x292199[_0x38477e(0x1ad)];if(!_0x2952e6)return{'status':'not-applicable'};const _0x5c3e0e=await _0x292199['downloadRuntimeSkillPackage'](_0x292199[_0x38477e(0x1be)],_0x2952e6,_0x292199[_0x38477e(0x1bf)],_0x292199[_0x38477e(0x1ac)][_0x38477e(0x1b8)]);try{_0x292199[_0x38477e(0x1b3)](_0x292199['publishInput'][_0x38477e(0x1ab)],_0x5c3e0e);}catch{return{'status':_0x38477e(0x1b0)};}return{'status':_0x38477e(0x1c3),'savedSkill':{..._0x292199['remote'],'content':_0x292199['publishInput'][_0x38477e(0x1aa)],'files':_0x292199[_0x38477e(0x1cb)][_0x38477e(0x1ab)]}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a81_0x5ce6(_0x2b8e69,_0x22616f){_0x2b8e69=_0x2b8e69-0x7b;const _0x1e138e=a81_0x1e13();let _0x5ce6ea=_0x1e138e[_0x2b8e69];return _0x5ce6ea;}(function(_0x22e2b5,_0x302578){const _0x503bb2=a81_0x5ce6,_0x1496dc=_0x22e2b5();while(!![]){try{const _0x36bf8a=-parseInt(_0x503bb2(0x7c))/0x1*(parseInt(_0x503bb2(0x82))/0x2)+-parseInt(_0x503bb2(0x93))/0x3*(parseInt(_0x503bb2(0x90))/0x4)+-parseInt(_0x503bb2(0x92))/0x5*(-parseInt(_0x503bb2(0x86))/0x6)+parseInt(_0x503bb2(0x8c))/0x7*(-parseInt(_0x503bb2(0x8a))/0x8)+parseInt(_0x503bb2(0x7e))/0x9*(-parseInt(_0x503bb2(0x87))/0xa)+-parseInt(_0x503bb2(0x8e))/0xb*(parseInt(_0x503bb2(0x89))/0xc)+parseInt(_0x503bb2(0x7b))/0xd;if(_0x36bf8a===_0x302578)break;else _0x1496dc['push'](_0x1496dc['shift']());}catch(_0x570e3f){_0x1496dc['push'](_0x1496dc['shift']());}}}(a81_0x1e13,0xe8804));function a81_0x1e13(){const _0x451ce9=['tags','12cqvaCz','49176TqECHS','appCode','133kFQwpV','sourceSessionId','12906982bUhWmC','skillName','132lrzfYT','description','109985wGuxVy','148578JNRryU','65035282SURVMw','1iXKhXU','lovrabet.skill.json','495MvzMkN','Local\x20Skill\x20metadata\x20appCode\x20','version','\x20was\x20retargeted\x20to\x20explicit\x20appCode\x20','146838XvjjSz','\x20after\x20successful\x20push.','Review\x20the\x20updated\x20local\x20Skill\x20metadata\x20before\x20the\x20next\x20push.','preferInputSkillName','66VyqavC','235350kApGuQ'];a81_0x1e13=function(){return _0x451ce9;};return a81_0x1e13();}export function withRetargetExistingMetadata(_0x7d3f84,_0x5c7f34,_0x8cf24f={}){const _0x532fcb=a81_0x5ce6,_0x10b6e6=_0x8cf24f[_0x532fcb(0x85)]?_0x7d3f84['skillName']??_0x5c7f34[_0x532fcb(0x8f)]:_0x5c7f34['skillName']??_0x7d3f84[_0x532fcb(0x8f)];return{..._0x7d3f84,'skillName':_0x10b6e6,'description':_0x5c7f34['description']??_0x7d3f84[_0x532fcb(0x91)],'tags':Array['isArray'](_0x5c7f34[_0x532fcb(0x88)])?_0x5c7f34['tags']:_0x7d3f84[_0x532fcb(0x88)],'version':_0x5c7f34[_0x532fcb(0x80)]??_0x7d3f84[_0x532fcb(0x80)],'sourceSessionId':_0x5c7f34[_0x532fcb(0x8d)]??_0x7d3f84[_0x532fcb(0x8d)]};}export function buildRetargetWarning(_0x573979,_0x573019){const _0x4d31b3=a81_0x5ce6;if(!_0x573979?.['appCode']||_0x573979[_0x4d31b3(0x8b)]===_0x573019)return[];return[{'level':'warning','ruleId':'skill-metadata-appcode-retargeted','file':_0x4d31b3(0x7d),'message':_0x4d31b3(0x7f)+_0x573979['appCode']+_0x4d31b3(0x81)+_0x573019+_0x4d31b3(0x83),'suggestion':_0x4d31b3(0x84)}];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xcb553c,_0x20e7af){const _0x3db605=a82_0x425b,_0x221fe3=_0xcb553c();while(!![]){try{const _0x59e0eb=parseInt(_0x3db605(0x13e))/0x1*(parseInt(_0x3db605(0x140))/0x2)+parseInt(_0x3db605(0x13b))/0x3+-parseInt(_0x3db605(0x149))/0x4*(-parseInt(_0x3db605(0x147))/0x5)+-parseInt(_0x3db605(0x141))/0x6*(parseInt(_0x3db605(0x13d))/0x7)+-parseInt(_0x3db605(0x13c))/0x8*(-parseInt(_0x3db605(0x144))/0x9)+-parseInt(_0x3db605(0x142))/0xa*(-parseInt(_0x3db605(0x145))/0xb)+parseInt(_0x3db605(0x13a))/0xc*(-parseInt(_0x3db605(0x13f))/0xd);if(_0x59e0eb===_0x20e7af)break;else _0x221fe3['push'](_0x221fe3['shift']());}catch(_0x45b3ef){_0x221fe3['push'](_0x221fe3['shift']());}}}(a82_0xa19e,0x8afde));import{CliErrors}from'../../errors.js';function a82_0xa19e(){const _0x5306d7=['77VHtMFv','Unsupported\x20Skill\x20list\x20scope:\x20','1089370mrgHVY','personal','20aqOoJY','trim','validation','company','Unsupported\x20Skill\x20sync\x20scope:\x20','14231784nhZpJz','622251UjdhCr','8yZRrJg','7622517ZbFFHp','18bpLYFv','13nzOZHA','55996SUPfpH','6FbknVM','194830AhjkJW','all','8163819wLvsQU'];a82_0xa19e=function(){return _0x5306d7;};return a82_0xa19e();}export function normalizeSyncScopes(_0x41a4a9){const _0xf6fced=a82_0x425b,_0x51c3c8=_0x41a4a9['trim']();if(!_0x51c3c8||_0x51c3c8==='all')return[_0xf6fced(0x148),'company'];if(_0x51c3c8===_0xf6fced(0x148)||_0x51c3c8===_0xf6fced(0x14c))return[_0x51c3c8];throw CliErrors[_0xf6fced(0x14b)](_0xf6fced(0x139)+_0x41a4a9);}export function normalizeListScope(_0x130067){const _0x44563e=a82_0x425b,_0xf76042=_0x130067[_0x44563e(0x14a)]();if(!_0xf76042)return'all';if(_0xf76042===_0x44563e(0x148)||_0xf76042===_0x44563e(0x14c)||_0xf76042===_0x44563e(0x143))return _0xf76042;throw CliErrors[_0x44563e(0x14b)](_0x44563e(0x146)+_0x130067);}export function shouldListScope(_0x497c9e,_0x7dafe3){const _0x41379e=a82_0x425b;if(_0x497c9e===_0x41379e(0x143))return!![];return _0x497c9e===_0x7dafe3;}export function listScopeToRuntimeScopes(_0x113233){const _0x3704fe=a82_0x425b;if(_0x113233===_0x3704fe(0x143))return[_0x3704fe(0x148),_0x3704fe(0x14c)];return[_0x113233===_0x3704fe(0x14c)?_0x3704fe(0x14c):_0x113233];}function a82_0x425b(_0x250c98,_0x36be3b){_0x250c98=_0x250c98-0x139;const _0xa19e72=a82_0xa19e();let _0x425bf3=_0xa19e72[_0x250c98];return _0x425bf3;}export function listScopeToRemoteScope(_0x269010){return _0x269010;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a83_0x3c95(){var _0x15571f=['dir','skillCode','skillName','readonly','716yOUUrz','626787sYpAgu','1104865MJtUvt','appCode','pulledAt','1617546QwQAFl','2256FJobjX','163448CmVxbK','contentHash','metadataPath','6jWwNOK','version','scope','1946060YXDvwG','2178704GfSeNr'];a83_0x3c95=function(){return _0x15571f;};return a83_0x3c95();}function a83_0x341e(_0x1a1b55,_0x3ea04a){_0x1a1b55=_0x1a1b55-0x1c0;var _0x3c9580=a83_0x3c95();var _0x341e16=_0x3c9580[_0x1a1b55];return _0x341e16;}(function(_0x21fb7d,_0xe6ab25){var _0x3bbeb6=a83_0x341e,_0xc16441=_0x21fb7d();while(!![]){try{var _0x486cf2=parseInt(_0x3bbeb6(0x1d0))/0x1+-parseInt(_0x3bbeb6(0x1c9))/0x2+-parseInt(_0x3bbeb6(0x1c1))/0x3*(parseInt(_0x3bbeb6(0x1ce))/0x4)+-parseInt(_0x3bbeb6(0x1c8))/0x5*(-parseInt(_0x3bbeb6(0x1c5))/0x6)+parseInt(_0x3bbeb6(0x1c0))/0x7+parseInt(_0x3bbeb6(0x1c2))/0x8+parseInt(_0x3bbeb6(0x1cf))/0x9;if(_0x486cf2===_0xe6ab25)break;else _0xc16441['push'](_0xc16441['shift']());}catch(_0x3cf2cd){_0xc16441['push'](_0xc16441['shift']());}}}(a83_0x3c95,0x905a5));export function summarizeRuntimeSkill(_0x1769b5){var _0x453160=a83_0x341e;return{'id':_0x1769b5['id'],'skillCode':_0x1769b5[_0x453160(0x1cb)],'skillName':_0x1769b5[_0x453160(0x1cc)],'scope':_0x1769b5[_0x453160(0x1c7)],'version':_0x1769b5[_0x453160(0x1c6)],'readonly':_0x1769b5[_0x453160(0x1cd)]};}export function summarizeLocalRuntimeSkill(_0x214ad9){var _0x371405=a83_0x341e;return{'id':_0x214ad9['id'],'skillCode':_0x214ad9[_0x371405(0x1cb)],'skillName':_0x214ad9[_0x371405(0x1cc)],'scope':_0x214ad9['scope'],'appCode':_0x214ad9[_0x371405(0x1d1)],'version':_0x214ad9[_0x371405(0x1c6)],'status':_0x214ad9['status'],'readonly':_0x214ad9[_0x371405(0x1cd)],'tags':_0x214ad9['tags'],'dir':_0x214ad9[_0x371405(0x1ca)],'cacheDir':_0x214ad9['cacheDir'],'skillMdPath':_0x214ad9['skillMdPath'],'metadataPath':_0x214ad9[_0x371405(0x1c4)],'linkedPaths':_0x214ad9['linkedPaths'],'contentHash':_0x214ad9[_0x371405(0x1c3)],'treeHash':_0x214ad9['treeHash'],'pulledAt':_0x214ad9[_0x371405(0x1d2)]};}
|