@lovrabet/lovrabet-cli 2.3.1-beta.3 → 2.3.1-beta.4
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/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/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/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/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.d.ts +3 -3
- 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.d.ts +0 -16
- package/lib/core/api-client.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/kb-search-client.d.ts +30 -0
- package/lib/core/kb-search-client.js +1 -0
- package/lib/core/sdk-client.js +1 -1
- package/lib/errors.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.d.ts +2 -0
- 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/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/platform.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 +1 -1
- package/skills/lovrabet/SKILL.md +2 -2
- package/skills/lovrabet/references/lovrabet-config-commands.md +3 -1
- package/skills/lovrabet/references/lovrabet-config.md +2 -2
- package/skills/lovrabet/references/lovrabet-doctor.md +2 -0
- package/skills/lovrabet/references/lovrabet-kb-workflow.md +3 -1
- package/skills/lovrabet.manifest.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a64_0x59fe20=a64_0x3977;function a64_0x18cd(){const _0x47064b=['Omitting\x20--type\x20is\x20deprecated;\x20defaulting\x20to\x20write\x20for\x20compatibility.\x20Pass\x20--type\x20read\x20or\x20--type\x20write\x20explicitly.','validation','4PzYikM','path','skill','isDirectory','5315aPnzGQ','files','force','bool','skillDir','type','rendered','map','2032770dARPIx','create','609441Luzhkz','9mpVXUn','isSymbolicLink','6049568XhXmIv','Refusing\x20to\x20overwrite\x20symlink:\x20','read','1908ojukOz','content','target','22188qHUqFp','3619vefhFz','skillName','name','1127013IEpzwP','7ZGcDdg','trim','str','7739920CDkuay'];a64_0x18cd=function(){return _0x47064b;};return a64_0x18cd();}(function(_0x3378e3,_0x30eed9){const _0x2a0095=a64_0x3977,_0x266a12=_0x3378e3();while(!![]){try{const _0x4520ed=-parseInt(_0x2a0095(0x19a))/0x1+parseInt(_0x2a0095(0x1ae))/0x2*(-parseInt(_0x2a0095(0x1a7))/0x3)+-parseInt(_0x2a0095(0x1a0))/0x4*(-parseInt(_0x2a0095(0x1b2))/0x5)+parseInt(_0x2a0095(0x198))/0x6+parseInt(_0x2a0095(0x1a8))/0x7*(parseInt(_0x2a0095(0x19d))/0x8)+-parseInt(_0x2a0095(0x19b))/0x9*(-parseInt(_0x2a0095(0x1ab))/0xa)+parseInt(_0x2a0095(0x1a4))/0xb*(-parseInt(_0x2a0095(0x1a3))/0xc);if(_0x4520ed===_0x30eed9)break;else _0x266a12['push'](_0x266a12['shift']());}catch(_0x3cd1a6){_0x266a12['push'](_0x266a12['shift']());}}}(a64_0x18cd,0x63592));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':a64_0x59fe20(0x1b0),'command':a64_0x59fe20(0x199),'description':'Create\x20a\x20local\x20self-contained\x20runtime\x20Skill\x20draft','risk':a64_0x59fe20(0x19f),'requiresAuth':![],'requiresAppCode':![],'flags':[CREATE_NAME_FLAG,TYPE_FLAG,TARGET_FLAG,FORCE_FLAG],async 'dryRun'(_0x3a6442){const _0x4aa27e=a64_0x59fe20,_0x39104e=buildSkillCreatePlan(_0x3a6442['str'](_0x4aa27e(0x1a6)),_0x3a6442['str'](_0x4aa27e(0x195)),_0x3a6442[_0x4aa27e(0x1aa)](_0x4aa27e(0x1a2)));return{'method':'WRITE','url':_0x39104e[_0x4aa27e(0x194)],'body':{'skillName':_0x39104e[_0x4aa27e(0x196)][_0x4aa27e(0x1a5)],'type':_0x39104e['rendered'][_0x4aa27e(0x195)],'selfContained':!![],'files':_0x39104e[_0x4aa27e(0x196)][_0x4aa27e(0x1b3)][_0x4aa27e(0x197)](_0x2e4042=>_0x2e4042[_0x4aa27e(0x1af)])},'description':'Create\x20a\x20local\x20runtime\x20Skill\x20draft\x20without\x20uploading\x20or\x20publishing\x20it.'};},async 'execute'(_0x469af6){const _0x5bd511=a64_0x59fe20,_0x5b5859=buildSkillCreatePlan(_0x469af6['str'](_0x5bd511(0x1a6)),_0x469af6[_0x5bd511(0x1aa)](_0x5bd511(0x195)),_0x469af6[_0x5bd511(0x1aa)](_0x5bd511(0x1a2)));return writeSkillDraft(_0x5b5859,_0x469af6[_0x5bd511(0x193)](_0x5bd511(0x1b4))),{'ok':!![],'data':{'skillName':_0x5b5859[_0x5bd511(0x196)][_0x5bd511(0x1a5)],'type':_0x5b5859[_0x5bd511(0x196)][_0x5bd511(0x195)],'dir':_0x5b5859[_0x5bd511(0x194)],'files':_0x5b5859[_0x5bd511(0x196)][_0x5bd511(0x1b3)][_0x5bd511(0x197)](_0x47cee9=>_0x47cee9[_0x5bd511(0x1af)])},'message':'Created\x20local\x20Skill\x20draft\x20'+_0x5b5859[_0x5bd511(0x196)][_0x5bd511(0x1a5)]};}};function a64_0x3977(_0x55ac98,_0x25d7f9){_0x55ac98=_0x55ac98-0x193;const _0x18cdbc=a64_0x18cd();let _0x397796=_0x18cdbc[_0x55ac98];return _0x397796;}function buildSkillCreatePlan(_0x34d69b,_0x3cad38,_0x503ee8){const _0x2e389f=a64_0x59fe20,_0x472f5f=_0x3cad38[_0x2e389f(0x1a9)](),_0x204586=renderSkillTemplate({'skillName':_0x34d69b,'type':_0x472f5f});!_0x472f5f&&writeCliSideChannelLine(_0x2e389f(0x1ac));const _0x1e6433=resolve(normalizeSkillTarget(_0x503ee8));return{'rendered':_0x204586,'targetRoot':_0x1e6433,'skillDir':resolve(_0x1e6433,_0x204586[_0x2e389f(0x1a5)])};}function normalizeSkillTarget(_0x58ef04){const _0x450e52=a64_0x59fe20;return(_0x58ef04||DEFAULT_SKILL_TARGET)[_0x450e52(0x1a9)]()||DEFAULT_SKILL_TARGET;}function writeSkillDraft(_0x2149bf,_0x3117ff){const _0x157575=a64_0x59fe20;if(existsSync(_0x2149bf['skillDir'])){const _0x340235=lstatSync(_0x2149bf[_0x157575(0x194)]);if(!_0x340235[_0x157575(0x1b1)]()||_0x340235[_0x157575(0x19c)]())throw CliErrors[_0x157575(0x1ad)]('Skill\x20path\x20already\x20exists\x20and\x20is\x20not\x20a\x20writable\x20directory:\x20'+_0x2149bf[_0x157575(0x194)]);if(!_0x3117ff)throw CliErrors[_0x157575(0x1ad)]('Skill\x20directory\x20already\x20exists:\x20'+_0x2149bf[_0x157575(0x194)],'Pass\x20--force\x20to\x20overwrite\x20generated\x20template\x20files.');}for(const _0x37a48d of _0x2149bf[_0x157575(0x196)][_0x157575(0x1b3)]){const _0x40580f=resolve(_0x2149bf[_0x157575(0x194)],_0x37a48d['path']),_0x495dfa=dirname(_0x40580f);mkdirSync(_0x495dfa,{'recursive':!![]});if(existsSync(_0x40580f)&&lstatSync(_0x40580f)[_0x157575(0x19c)]())throw CliErrors['validation'](_0x157575(0x19e)+_0x40580f);writeFileSync(_0x40580f,_0x37a48d[_0x157575(0x1a1)],'utf8');}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a65_0x3d1a1e=a65_0x14cd;(function(_0x5e4c23,_0x111f7c){const _0x29e23e=a65_0x14cd,_0x5235bd=_0x5e4c23();while(!![]){try{const _0x19cbb4=parseInt(_0x29e23e(0x108))/0x1+-parseInt(_0x29e23e(0x10a))/0x2*(-parseInt(_0x29e23e(0x126))/0x3)+parseInt(_0x29e23e(0xfb))/0x4*(parseInt(_0x29e23e(0xfc))/0x5)+parseInt(_0x29e23e(0x10e))/0x6*(parseInt(_0x29e23e(0x111))/0x7)+-parseInt(_0x29e23e(0xfe))/0x8+parseInt(_0x29e23e(0x11b))/0x9+-parseInt(_0x29e23e(0x11f))/0xa;if(_0x19cbb4===_0x111f7c)break;else _0x5235bd['push'](_0x5235bd['shift']());}catch(_0x1291ff){_0x5235bd['push'](_0x5235bd['shift']());}}}(a65_0xff9b,0x96fbf));import{getRuntimeSkillVersionDiagram,putRuntimeSkillVersionDiagram,validateRuntimeSkillVersionDiagram}from'../../../core/api-client.js';import{CliErrors}from'../../../errors.js';function a65_0x14cd(_0x5a96c1,_0x34e690){_0x5a96c1=_0x5a96c1-0xfb;const _0xff9b8c=a65_0xff9b();let _0x14cd5d=_0xff9b8c[_0x5a96c1];return _0x14cd5d;}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(_0x290e6b){const _0x3e7a67=a65_0x14cd,_0xde5ac9=_0x290e6b[_0x3e7a67(0x101)](_0x3e7a67(0x107))[_0x3e7a67(0x127)](),_0x1b72a4=_0x290e6b['str'](_0x3e7a67(0x117))[_0x3e7a67(0x127)](),_0x272669=_0x290e6b[_0x3e7a67(0x101)](_0x3e7a67(0x112));if(!_0xde5ac9||!_0x1b72a4||_0x272669!=='personal'&&_0x272669!=='company')throw CliErrors['validation'](_0x3e7a67(0x11e));return{'skillCode':_0xde5ac9,'version':_0x1b72a4,'scope':_0x272669};}async function readDiagramWriteInput(_0x27abb3){const _0x3ea457=a65_0x14cd,_0x37aeed=_0x27abb3[_0x3ea457(0x104)](_0x3ea457(0x114)),_0xdb6de5=_0x27abb3[_0x3ea457(0x101)](_0x3ea457(0x118))[_0x3ea457(0x127)]();if(!Number['isInteger'](_0x37aeed)||_0x37aeed<0x0)throw CliErrors[_0x3ea457(0x125)]('--expected-diagram-revision\x20must\x20be\x20a\x20non-negative\x20integer.');if(!/^sha256:[0-9a-f]{64}$/[_0x3ea457(0x119)](_0xdb6de5))throw CliErrors[_0x3ea457(0x125)](_0x3ea457(0x122));return{'expectedDiagramRevision':_0x37aeed,'sourceFingerprint':_0xdb6de5,'diagram':await readRequiredSkillDiagram(_0x27abb3[_0x3ea457(0x101)]('diagram-file'))};}export const diagramValidateCommand={'service':a65_0x3d1a1e(0x105),'command':'diagram-validate','description':a65_0x3d1a1e(0x128),'risk':a65_0x3d1a1e(0x124),'flags':WRITE_FLAGS,async 'execute'(_0x51e0e4){const _0x5c4179=a65_0x3d1a1e,_0x3287cf=readDiagramTarget(_0x51e0e4),_0x56c10b=await validateRuntimeSkillVersionDiagram(_0x51e0e4[_0x5c4179(0x11c)],_0x3287cf['skillCode'],_0x3287cf[_0x5c4179(0x117)],_0x3287cf['scope'],await readDiagramWriteInput(_0x51e0e4));return{'ok':!![],'data':_0x56c10b,'message':_0x5c4179(0x116)+_0x3287cf[_0x5c4179(0x103)]+'@'+_0x3287cf[_0x5c4179(0x117)]+'.'};}};function a65_0xff9b(){const _0x39ee83=['Created','2978YiSvpk','\x20is\x20unchanged.','Updated','created','5365470mIBMDv','Create\x20or\x20replace\x20a\x20Mermaid\x20diagram\x20for\x20a\x20specific\x20Skill\x20version','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.','7CLsuZx','scope','diagram-show','expected-diagram-revision','Found\x20Skill\x20diagram\x20for\x20','Skill\x20diagram\x20validation\x20passed\x20for\x20','version','source-fingerprint','test','unchanged','4856499jvmHmR','appCode','found','--skill-code,\x20--version,\x20and\x20--scope\x20personal|company\x20are\x20required.','23255180fyXwIG','diagram-push','No\x20Skill\x20diagram\x20is\x20stored\x20for\x20','--source-fingerprint\x20must\x20be\x20lowercase\x20sha256:<64\x20hex\x20characters>.','Skill\x20diagram\x20for\x20','read','validation','1920vQIxer','trim','Validate\x20a\x20Mermaid\x20diagram\x20replacement\x20for\x20one\x20exact\x20Skill\x20version','160BQakCX','33575PGUJkI','action','2114424YxbzZg','write',';\x20next\x20write\x20expects\x20revision\x20','str','expectedDiagramRevision','skillCode','num','skill','\x20Skill\x20diagram\x20for\x20','skill-code','552836OPBnqR'];a65_0xff9b=function(){return _0x39ee83;};return a65_0xff9b();}export const diagramPushCommand={'service':a65_0x3d1a1e(0x105),'command':a65_0x3d1a1e(0x120),'description':a65_0x3d1a1e(0x10f),'risk':a65_0x3d1a1e(0xff),'confirmationDescription':a65_0x3d1a1e(0x110),'flags':WRITE_FLAGS,async 'execute'(_0x273fbc){const _0x2ff54e=a65_0x3d1a1e,_0x241e76=readDiagramTarget(_0x273fbc),_0x2f2ed0=await putRuntimeSkillVersionDiagram(_0x273fbc[_0x2ff54e(0x11c)],_0x241e76[_0x2ff54e(0x103)],_0x241e76[_0x2ff54e(0x117)],_0x241e76[_0x2ff54e(0x112)],await readDiagramWriteInput(_0x273fbc));return{'ok':!![],'data':_0x2f2ed0,'message':_0x2f2ed0[_0x2ff54e(0xfd)]===_0x2ff54e(0x11a)?_0x2ff54e(0x123)+_0x241e76['skillCode']+'@'+_0x241e76['version']+_0x2ff54e(0x10b):(_0x2f2ed0[_0x2ff54e(0xfd)]===_0x2ff54e(0x10d)?_0x2ff54e(0x109):_0x2ff54e(0x10c))+_0x2ff54e(0x106)+_0x241e76[_0x2ff54e(0x103)]+'@'+_0x241e76[_0x2ff54e(0x117)]+'.'};}};export const diagramShowCommand={'service':a65_0x3d1a1e(0x105),'command':a65_0x3d1a1e(0x113),'description':'Show\x20the\x20current\x20Mermaid\x20diagram\x20for\x20one\x20exact\x20Skill\x20version','risk':a65_0x3d1a1e(0x124),'flags':TARGET_FLAGS,async 'execute'(_0x486756){const _0x27a726=a65_0x3d1a1e,_0x1183ab=readDiagramTarget(_0x486756),_0x5c2fb3=await getRuntimeSkillVersionDiagram(_0x486756[_0x27a726(0x11c)],_0x1183ab[_0x27a726(0x103)],_0x1183ab[_0x27a726(0x117)],_0x1183ab[_0x27a726(0x112)]);return{'ok':!![],'data':_0x5c2fb3,'message':_0x5c2fb3[_0x27a726(0x11d)]?_0x27a726(0x115)+_0x1183ab[_0x27a726(0x103)]+'@'+_0x1183ab[_0x27a726(0x117)]+_0x27a726(0x100)+_0x5c2fb3['expectedDiagramRevision']+'.':_0x27a726(0x121)+_0x1183ab[_0x27a726(0x103)]+'@'+_0x1183ab[_0x27a726(0x117)]+';\x20first\x20write\x20expects\x20revision\x20'+_0x5c2fb3[_0x27a726(0x102)]+'.'};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a66_0x5277f4=a66_0x392b;(function(_0xd82530,_0xca9e4e){const _0x5e592c=a66_0x392b,_0x4271ef=_0xd82530();while(!![]){try{const _0xf0b6ac=-parseInt(_0x5e592c(0x121))/0x1+parseInt(_0x5e592c(0x111))/0x2+parseInt(_0x5e592c(0x10b))/0x3+-parseInt(_0x5e592c(0x10a))/0x4+-parseInt(_0x5e592c(0x106))/0x5*(-parseInt(_0x5e592c(0x109))/0x6)+parseInt(_0x5e592c(0x105))/0x7+-parseInt(_0x5e592c(0x11e))/0x8;if(_0xf0b6ac===_0xca9e4e)break;else _0x4271ef['push'](_0x4271ef['shift']());}catch(_0x5d1fd3){_0x4271ef['push'](_0x4271ef['shift']());}}}(a66_0x40dd,0xd0bde));import{CliErrors}from'../../../errors.js';function a66_0x392b(_0x4b73e1,_0x203157){_0x4b73e1=_0x4b73e1-0xfe;const _0x40dd83=a66_0x40dd();let _0x392bf0=_0x40dd83[_0x4b73e1];return _0x392bf0;}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':a66_0x5277f4(0x118),'command':'install','description':a66_0x5277f4(0x116),'risk':a66_0x5277f4(0x122),'requiresAuth':!![],'requiresAppCode':!![],'hasFormat':![],'flags':[CODE_FLAG,SCOPE_FLAG,FORCE_FLAG,PROJECT_TARGET_FLAG],async 'execute'(_0x49128b){return syncRuntimeSkills(_0x49128b);}};async function syncRuntimeSkills(_0x5c7f66){const _0x11aeee=a66_0x5277f4,{downloadRuntimeSkillPackage:_0x463555,listRuntimeSkills:_0xde3ee}=await import(_0x11aeee(0x100)),{linkEffectiveRuntimeSkills:_0x5b9c1b,materializeRuntimeSkill:_0xbb2c92,pruneStaleRuntimeSkillCache:_0x222394,pruneStaleRuntimeSkillLinks:_0x46ddee,resolveRuntimeSkillInstallTarget:_0xa5fb1d,reuseMaterializedRuntimeSkill:_0x1d0579}=await import(_0x11aeee(0x120)),_0xac0ac0=_0x5c7f66[_0x11aeee(0x129)](_0x11aeee(0x123)),_0x542af9=normalizeSyncScopes(_0x5c7f66['str'](_0x11aeee(0x11a))),_0x267a91=_0x5c7f66['envName']??_0x11aeee(0x102),_0x5bc63f=_0x5c7f66[_0x11aeee(0x115)],_0x551e6f=_0x5c7f66[_0x11aeee(0x107)]('force');if(!_0x5bc63f)throw CliErrors[_0x11aeee(0x11f)](_0x11aeee(0x11d));const _0x5e1516=_0xa5fb1d(_0x5c7f66[_0x11aeee(0x103)],_0x5c7f66['bool']('project')?'project':_0x11aeee(0xfe)),_0x3dc9cd=_0xa5fb1d(_0x5c7f66[_0x11aeee(0x103)],_0x5e1516[_0x11aeee(0x11a)]===_0x11aeee(0x117)?_0x11aeee(0xfe):_0x11aeee(0x117)),_0x588747=await _0xde3ee({'appCode':_0x5c7f66['appCode'],'scope':_0x542af9['length']===0x1?_0x542af9[0x0]:_0x11aeee(0x112),'code':_0xac0ac0[_0x11aeee(0xff)]()||undefined}),_0x188f5a=_0x542af9[_0x11aeee(0x10e)]('personal')?_0x588747['personal']:[],_0x3b2ca7=_0x542af9[_0x11aeee(0x10e)]('company')?_0x588747[_0x11aeee(0x10c)]:[],_0x579dfc=new Set([..._0x188f5a[_0x11aeee(0x126)](_0x27bdbc=>_0x27bdbc[_0x11aeee(0x10f)]?.[_0x11aeee(0xff)]())[_0x11aeee(0x114)](_0x1b6c07=>Boolean(_0x1b6c07)),..._0x3b2ca7['map'](_0x392bea=>_0x392bea[_0x11aeee(0x10f)]?.[_0x11aeee(0xff)]())['filter'](_0x1924c7=>Boolean(_0x1924c7))]),_0x2521fe=_0xac0ac0[_0x11aeee(0xff)]()?[_0xac0ac0[_0x11aeee(0xff)]()]:undefined,_0x1c6bcf=_0x542af9[_0x11aeee(0x108)]===0x2&&_0x542af9[_0x11aeee(0x10e)](_0x11aeee(0x119))&&_0x542af9[_0x11aeee(0x10e)](_0x11aeee(0x10c)),_0x2fd0f3=_0x1c6bcf?_0x46ddee(_0x5e1516,_0x579dfc,_0x2521fe):[],_0x5b13fb=_0x222394({'env':_0x267a91,'accessKey':_0x5bc63f,'appCode':_0x5c7f66[_0x11aeee(0x103)],'activeSkillCodes':_0x579dfc,'pruneSkillCodes':_0x2521fe,'scopes':_0x542af9,'protectedLinkRoots':_0x3dc9cd[_0x11aeee(0x113)]}),_0x4b7e2b=[..._0x188f5a[_0x11aeee(0x126)](_0x1f3fda=>({'skill':_0x1f3fda,'scope':_0x11aeee(0x119)})),..._0x3b2ca7[_0x11aeee(0x126)](_0xaa1a2e=>({'skill':_0xaa1a2e,'scope':_0x11aeee(0x10c)}))],_0x52d8cb=await mapConcurrent(_0x4b7e2b,PACKAGE_DOWNLOAD_CONCURRENCY,async({skill:_0x1a41e1,scope:_0x3b5e18})=>{const _0x1a275f=_0x11aeee,_0x5bb354=_0x1d0579(_0x1a41e1,_0x3b5e18,{'env':_0x267a91,'accessKey':_0x5bc63f,'appCode':_0x5c7f66[_0x1a275f(0x103)]});if(_0x5bb354)return _0x5bb354;return _0xbb2c92(_0x1a41e1,_0x3b5e18,{'env':_0x267a91,'accessKey':_0x5bc63f,'appCode':_0x5c7f66[_0x1a275f(0x103)],'force':_0x551e6f,'packageBytes':await downloadSkillPackage(_0x1a41e1,_0x3b5e18,_0x5c7f66['appCode'],_0x463555)});}),_0x59759d=_0x5b9c1b(_0x52d8cb,_0x5e1516),_0x39e6b3=countLinkActions(_0x59759d);return{'ok':!![],'data':{'appCode':_0x5c7f66[_0x11aeee(0x103)],..._0x5e1516[_0x11aeee(0x11a)]===_0x11aeee(0x117)?{'installTarget':{'scope':_0x5e1516[_0x11aeee(0x11a)],'skillRoots':[..._0x5e1516[_0x11aeee(0x113)]]}}:{},'personal':_0x188f5a[_0x11aeee(0x108)],'company':_0x3b2ca7[_0x11aeee(0x108)],'materialized':_0x52d8cb[_0x11aeee(0x108)],'links':{'total':_0x59759d[_0x11aeee(0x108)],'created':_0x39e6b3['created']??0x0,'updated':_0x39e6b3[_0x11aeee(0x101)]??0x0,'unchanged':_0x39e6b3[_0x11aeee(0x104)]??0x0,'skipped':0x0,'conflicted':0x0},'pruned':{'links':_0x2fd0f3['filter'](_0x4a4d71=>_0x4a4d71[_0x11aeee(0x11b)]===_0x11aeee(0x124))[_0x11aeee(0x108)],'cacheDirs':_0x5b13fb[_0x11aeee(0x114)](_0x760356=>_0x760356[_0x11aeee(0x11b)]===_0x11aeee(0x124))[_0x11aeee(0x108)],'skipped':[..._0x2fd0f3,..._0x5b13fb]['filter'](_0x1f5bf4=>_0x1f5bf4[_0x11aeee(0x11b)]===_0x11aeee(0x127))[_0x11aeee(0x108)]},'skills':{'personal':_0x188f5a[_0x11aeee(0x126)](summarizeRuntimeSkill),'company':_0x3b2ca7[_0x11aeee(0x126)](summarizeRuntimeSkill)}},'message':_0x11aeee(0x110)+_0x188f5a['length']+_0x11aeee(0x12b)+_0x3b2ca7[_0x11aeee(0x108)]+_0x11aeee(0x128)};}async function mapConcurrent(_0xde160f,_0x3e0adf,_0x58ea8f){const _0x4c60f9=a66_0x5277f4,_0x127324=new Array(_0xde160f['length']);let _0x5d3117=0x0;const _0x2e3cab=Array[_0x4c60f9(0x11c)]({'length':Math[_0x4c60f9(0x12a)](_0x3e0adf,_0xde160f[_0x4c60f9(0x108)])},async()=>{const _0x465c1c=_0x4c60f9;while(_0x5d3117<_0xde160f[_0x465c1c(0x108)]){const _0x478d9d=_0x5d3117;_0x5d3117+=0x1,_0x127324[_0x478d9d]=await _0x58ea8f(_0xde160f[_0x478d9d]);}});return await Promise[_0x4c60f9(0x112)](_0x2e3cab),_0x127324;}async function downloadSkillPackage(_0x4ddaff,_0x43fed0,_0x97078c,_0x557ec6){const _0xc9d010=a66_0x5277f4,_0x5b7007=_0x4ddaff[_0xc9d010(0x125)]?.[_0xc9d010(0xff)]();return _0x5b7007?_0x557ec6(_0x43fed0,_0x4ddaff['skillCode'],_0x97078c,_0x5b7007):_0x557ec6(_0x43fed0,_0x4ddaff[_0xc9d010(0x10f)],_0x97078c);}function countLinkActions(_0x2bc1a6){const _0xa5cf62=a66_0x5277f4;return _0x2bc1a6[_0xa5cf62(0x10d)]((_0x4c5553,_0x7c1531)=>{const _0x76afbf=_0xa5cf62;return _0x4c5553[_0x7c1531['action']]=(_0x4c5553[_0x7c1531[_0x76afbf(0x11b)]]??0x0)+0x1,_0x4c5553;},{});}function a66_0x40dd(){const _0x24b69e=['skillCode','Installed\x20','45282zfkRgg','all','skillRoots','filter','accessKey','Install\x20current-app\x20business\x20Skills\x20into\x20user-level\x20Agent\x20skill\x20directories','project','skill','personal','scope','action','from','Business\x20Skill\x20installation\x20requires\x20authentication.\x20Run\x20`lovrabet\x20auth\x20login`,\x20or\x20use\x20`lovrabet\x20cli-skill\x20install`\x20for\x20CLI\x20Built-in\x20Skill\x20setup.','1278152QqVRYT','authRequired','../../../skills/runtime-skill-sync.js','212221YqJOct','read','code','removed','version','map','skipped','\x20company\x20Skill(s).','str','min','\x20personal\x20and\x20','global','trim','../../../core/api-client.js','updated','production','appCode','unchanged','10949435xLZJrH','5108045WtyeDS','bool','length','6utzwAb','6631624MaQIoV','829341ArEmVs','company','reduce','includes'];a66_0x40dd=function(){return _0x24b69e;};return a66_0x40dd();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a67_0x5816(){const _0x4384ea=['envName','production','length','scope','15352wLclhr','code','map','189RZrsay','bool','local','478131cHDAer','8022xTkGHv','list','\x20local\x20Skill(s).','str','148090jppDIs','builtin','1657290UiAQXA','../../../skills/runtime-skill-sync.js','accessKey','personal','89520RDbruz','project','221530JMAexH','531pLvijs','\x20remote\x20Skill(s).','company','read','Listed\x20','trim','appCode','List\x20runtime\x20Skills\x20from\x20remote\x20or\x20CLI-managed\x20local\x20cache','filter','4qxOMTv'];a67_0x5816=function(){return _0x4384ea;};return a67_0x5816();}const a67_0x4da2a7=a67_0x4421;(function(_0x4624b6,_0x288905){const _0x414ce0=a67_0x4421,_0x24ba22=_0x4624b6();while(!![]){try{const _0x583cd5=-parseInt(_0x414ce0(0xb2))/0x1+-parseInt(_0x414ce0(0xc1))/0x2+parseInt(_0x414ce0(0xc7))/0x3*(-parseInt(_0x414ce0(0xbc))/0x4)+-parseInt(_0x414ce0(0xce))/0x5+-parseInt(_0x414ce0(0xc8))/0x6*(-parseInt(_0x414ce0(0xc4))/0x7)+-parseInt(_0x414ce0(0xb0))/0x8+parseInt(_0x414ce0(0xb3))/0x9*(parseInt(_0x414ce0(0xcc))/0xa);if(_0x583cd5===_0x288905)break;else _0x24ba22['push'](_0x24ba22['shift']());}catch(_0xc3a02){_0x24ba22['push'](_0x24ba22['shift']());}}}(a67_0x5816,0x2b9a7));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';function a67_0x4421(_0x31f870,_0x41bb1b){_0x31f870=_0x31f870-0xb0;const _0x5816e9=a67_0x5816();let _0x4421fd=_0x5816e9[_0x31f870];return _0x4421fd;}import{summarizeLocalRuntimeSkill,summarizeRuntimeSkill}from'../summary.js';export const listCommand={'service':'skill','command':a67_0x4da2a7(0xc9),'description':a67_0x4da2a7(0xba),'risk':a67_0x4da2a7(0xb6),'flags':[CODE_FLAG,LIST_SCOPE_FLAG,LOCAL_FLAG,PROJECT_TARGET_FLAG],async 'execute'(_0xe5ef74){const _0x40c31b=a67_0x4da2a7,_0x2f9282=_0xe5ef74[_0x40c31b(0xcb)](_0x40c31b(0xc2)),_0x1ff3dd=normalizeListScope(_0xe5ef74[_0x40c31b(0xcb)](_0x40c31b(0xc0)));if(_0xe5ef74[_0x40c31b(0xc5)](_0x40c31b(0xc6))){const _0xba06de=_0xe5ef74[_0x40c31b(0xd0)];if(!_0xba06de)throw CliErrors['authRequired']();const {listLocalRuntimeSkills:_0x2a4ce2,resolveRuntimeSkillInstallTarget:_0x52dff1}=await import(_0x40c31b(0xcf)),_0x34dcdc=_0x52dff1(_0xe5ef74[_0x40c31b(0xb9)],_0xe5ef74['bool']('project')?_0x40c31b(0xb1):'global'),_0x2defc3=_0x2a4ce2({'env':_0xe5ef74[_0x40c31b(0xbd)]??_0x40c31b(0xbe),'accessKey':_0xba06de,'appCode':_0xe5ef74[_0x40c31b(0xb9)],'scopes':listScopeToRuntimeScopes(_0x1ff3dd),'code':_0x2f9282[_0x40c31b(0xb8)]()||undefined},_0x34dcdc),_0x5d3186=groupLocalRuntimeSkills(_0x2defc3);return{'ok':!![],'data':{'appCode':_0xe5ef74[_0x40c31b(0xb9)],'source':_0x40c31b(0xc6),..._0x34dcdc[_0x40c31b(0xc0)]==='project'?{'installScope':_0x34dcdc[_0x40c31b(0xc0)]}:{},'scope':_0x1ff3dd,'total':_0x2defc3[_0x40c31b(0xbf)],'personal':_0x5d3186[_0x40c31b(0xd1)]['length'],'company':_0x5d3186[_0x40c31b(0xb5)][_0x40c31b(0xbf)],'items':_0x2defc3['map'](summarizeLocalRuntimeSkill),'skills':{'personal':_0x5d3186[_0x40c31b(0xd1)]['map'](summarizeLocalRuntimeSkill),'company':_0x5d3186['company'][_0x40c31b(0xc3)](summarizeLocalRuntimeSkill)}},'message':'Listed\x20'+_0x2defc3[_0x40c31b(0xbf)]+_0x40c31b(0xca)};}const {listRuntimeSkills:_0x4ad66d}=await import('../../../core/api-client.js'),_0x52d32f=await _0x4ad66d({'appCode':_0xe5ef74[_0x40c31b(0xb9)],'scope':listScopeToRemoteScope(_0x1ff3dd),'code':_0x2f9282['trim']()||undefined}),_0x47599d=shouldListScope(_0x1ff3dd,_0x40c31b(0xd1))?_0x52d32f['personal']??[]:[],_0x478a2b=shouldListScope(_0x1ff3dd,_0x40c31b(0xb5))?_0x52d32f[_0x40c31b(0xb5)]??[]:[],_0x267e38=[..._0x47599d,..._0x478a2b];return{'ok':!![],'data':{'appCode':_0xe5ef74[_0x40c31b(0xb9)],'source':'remote','scope':_0x1ff3dd,'total':_0x267e38[_0x40c31b(0xbf)],'personal':_0x47599d[_0x40c31b(0xbf)],'company':_0x478a2b[_0x40c31b(0xbf)],'items':_0x267e38['map'](summarizeRuntimeSkill),'skills':{'personal':_0x47599d[_0x40c31b(0xc3)](summarizeRuntimeSkill),'company':_0x478a2b[_0x40c31b(0xc3)](summarizeRuntimeSkill)}},'message':_0x40c31b(0xb7)+_0x267e38[_0x40c31b(0xbf)]+_0x40c31b(0xb4)};}};function groupLocalRuntimeSkills(_0x3f1fd0){const _0x3800fb=a67_0x4da2a7;return{'personal':_0x3f1fd0[_0x3800fb(0xbb)](_0x230bd6=>_0x230bd6[_0x3800fb(0xc0)]==='personal'),'company':_0x3f1fd0[_0x3800fb(0xbb)](_0x1f4106=>_0x1f4106[_0x3800fb(0xc0)]===_0x3800fb(0xb5)),'builtin':_0x3f1fd0['filter'](_0x8257f3=>_0x8257f3[_0x3800fb(0xc0)]===_0x3800fb(0xcd))};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a68_0x2352d8=a68_0x11f5;(function(_0x4182ea,_0x5ce7df){const _0x543967=a68_0x11f5,_0x5783bd=_0x4182ea();while(!![]){try{const _0x3b2cb8=parseInt(_0x543967(0x1d3))/0x1+parseInt(_0x543967(0x1d1))/0x2*(parseInt(_0x543967(0x1d8))/0x3)+-parseInt(_0x543967(0x1da))/0x4*(-parseInt(_0x543967(0x1cf))/0x5)+-parseInt(_0x543967(0x1db))/0x6+parseInt(_0x543967(0x1ce))/0x7*(parseInt(_0x543967(0x1d9))/0x8)+-parseInt(_0x543967(0x1d4))/0x9+-parseInt(_0x543967(0x1d7))/0xa*(parseInt(_0x543967(0x1d5))/0xb);if(_0x3b2cb8===_0x5ce7df)break;else _0x5783bd['push'](_0x5783bd['shift']());}catch(_0x2fc6d7){_0x5783bd['push'](_0x5783bd['shift']());}}}(a68_0x356b,0x82171));import{CONFIRM_WARNINGS_FLAG,DIAGRAM_FILE_FLAG,DIR_FLAG,PUSH_SCOPE_FLAG}from'../flags.js';function a68_0x11f5(_0x22b46a,_0x9706d7){_0x22b46a=_0x22b46a-0x1cd;const _0x356b9f=a68_0x356b();let _0x11f5d1=_0x356b9f[_0x22b46a];return _0x11f5d1;}import{skillPushDryRun,skillPushExecute}from'../push-execute.js';function a68_0x356b(){const _0xe11a99=['214159nykNkl','push','380AHnmiK','144tThzpa','64LCVVWJ','164484VcimkV','4545684VRmiRP','Push\x20a\x20local\x20Skill\x20directory\x20to\x20personal\x20scope,\x20or\x20submit\x20a\x20company-scope\x20version\x20for\x20review','835597kzFthu','40loueoR','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.','17486uetFcN','write','683971zGciBZ','3215574ftDpWG'];a68_0x356b=function(){return _0xe11a99;};return a68_0x356b();}export const pushCommand={'service':'skill','command':a68_0x2352d8(0x1d6),'description':a68_0x2352d8(0x1cd),'risk':a68_0x2352d8(0x1d2),'confirmationDescription':a68_0x2352d8(0x1d0),'flags':[DIR_FLAG,DIAGRAM_FILE_FLAG,PUSH_SCOPE_FLAG,CONFIRM_WARNINGS_FLAG],'dryRun':skillPushDryRun,'execute':skillPushExecute};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a69_0xad45(){const _0x38df31=['read','validate','10675350Ifysrd','2425472Eakzgp','3075018iAsyzk','165waLBZG','53172wnpEEa','3EglZdS','7sdrTod','skill','5031396QupAfk','1087148mgWLBx','326068XeaqcJ','dir','type'];a69_0xad45=function(){return _0x38df31;};return a69_0xad45();}const a69_0x51fac5=a69_0x189b;function a69_0x189b(_0x3cb436,_0x2e8850){_0x3cb436=_0x3cb436-0x1ae;const _0xad4546=a69_0xad45();let _0x189b53=_0xad4546[_0x3cb436];return _0x189b53;}(function(_0x551dba,_0x4da501){const _0x1009b9=a69_0x189b,_0x5a9b66=_0x551dba();while(!![]){try{const _0xc51063=-parseInt(_0x1009b9(0x1b0))/0x1+parseInt(_0x1009b9(0x1af))/0x2*(-parseInt(_0x1009b9(0x1ba))/0x3)+parseInt(_0x1009b9(0x1b9))/0x4*(parseInt(_0x1009b9(0x1b8))/0x5)+-parseInt(_0x1009b9(0x1b7))/0x6*(-parseInt(_0x1009b9(0x1bb))/0x7)+-parseInt(_0x1009b9(0x1b6))/0x8+-parseInt(_0x1009b9(0x1ae))/0x9+parseInt(_0x1009b9(0x1b5))/0xa;if(_0xc51063===_0x4da501)break;else _0x5a9b66['push'](_0x5a9b66['shift']());}catch(_0x4c38ee){_0x5a9b66['push'](_0x5a9b66['shift']());}}}(a69_0xad45,0x46075));import{DIR_FLAG,STRICT_FLAG}from'../flags.js';import{throwIfSkillValidationFailed,validateSkillDirectory}from'../validate.js';export const validateCommand={'service':a69_0x51fac5(0x1bc),'command':a69_0x51fac5(0x1b4),'description':'Validate\x20a\x20local\x20Skill\x20directory\x20as\x20a\x20self-contained\x20delivery\x20package','risk':a69_0x51fac5(0x1b3),'requiresAuth':![],'requiresAppCode':![],'flags':[DIR_FLAG,STRICT_FLAG],async 'execute'(_0x282c58){const _0x479af6=a69_0x51fac5,_0x1060b6=_0x282c58['bool']('strict'),_0x4e6f41=validateSkillDirectory(_0x282c58['str'](_0x479af6(0x1b1)),{'strict':_0x1060b6});return throwIfSkillValidationFailed(_0x4e6f41,_0x1060b6),{'ok':!![],'data':{'dir':_0x4e6f41[_0x479af6(0x1b1)],'type':_0x4e6f41[_0x479af6(0x1b2)],'errors':_0x4e6f41['errors'],'warnings':_0x4e6f41['warnings']},'message':'Skill\x20validation\x20passed.'};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4ed79f,_0x241303){const _0x2b797c=a70_0x3567,_0x54af72=_0x4ed79f();while(!![]){try{const _0x363cd0=parseInt(_0x2b797c(0x146))/0x1*(-parseInt(_0x2b797c(0x144))/0x2)+parseInt(_0x2b797c(0x139))/0x3+-parseInt(_0x2b797c(0x13e))/0x4+-parseInt(_0x2b797c(0x145))/0x5+parseInt(_0x2b797c(0x141))/0x6+-parseInt(_0x2b797c(0x134))/0x7+parseInt(_0x2b797c(0x14a))/0x8;if(_0x363cd0===_0x241303)break;else _0x54af72['push'](_0x54af72['shift']());}catch(_0x3e32b8){_0x54af72['push'](_0x54af72['shift']());}}}(a70_0x6aad,0xee7bc));function a70_0x3567(_0x429c89,_0xcd93a){_0x429c89=_0x429c89-0x132;const _0x6aadc5=a70_0x6aad();let _0x35676f=_0x6aadc5[_0x429c89];return _0x35676f;}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(_0x3657a2){const _0xabb9d5=a70_0x3567;return(await readRequiredSkillDiagramInput(_0x3657a2))[_0xabb9d5(0x13b)];}export async function readRequiredSkillDiagramInput(_0x30e8c6){const _0x5dcb53=a70_0x3567,_0x150381=_0x30e8c6[_0x5dcb53(0x13a)]();if(!_0x150381)throw CliErrors['validation'](_0x5dcb53(0x148),_0x5dcb53(0x136));let _0x1d6bed,_0x27c9ba;if(_0x150381==='-')try{_0x1d6bed=readFileSync(0x0,_0x5dcb53(0x13c));}catch{throw CliErrors[_0x5dcb53(0x149)]('Unable\x20to\x20read\x20Mermaid\x20flowchart\x20from\x20standard\x20input.');}else{const _0xc4da61=resolve(_0x150381);if(!existsSync(_0xc4da61))throw CliErrors['validation'](_0x5dcb53(0x13f)+_0xc4da61);if(!statSync(_0xc4da61)[_0x5dcb53(0x133)]())throw CliErrors['validation'](_0x5dcb53(0x135)+_0xc4da61);_0x27c9ba=realpathSync(_0xc4da61),_0x1d6bed=readFileSync(_0x27c9ba,'utf8');}return{'diagram':{'schemaVersion':0x1,'mermaid':await validateAndCanonicalizeMermaid(_0x1d6bed)},'sourceFilePath':_0x27c9ba};}export async function validateAndCanonicalizeMermaid(_0x19053f){const _0x492377=a70_0x3567,_0x41c516=_0x19053f[_0x492377(0x142)](/\r\n/g,'\x0a')[_0x492377(0x142)](/\r/g,'\x0a')['replace'](/\n+$/,'')+'\x0a';try{const _0x4e216d=await loadMermaidApi();await _0x4e216d[_0x492377(0x132)](_0x41c516);}catch{throw diagramValidationError();}return _0x41c516;}function a70_0x6aad(){const _0x1498e9=['35299200GvMYKv','Fix\x20the\x20Mermaid\x20syntax\x20reported\x20by\x20your\x20editor\x20or\x20preview\x20tool,\x20then\x20retry\x20with\x20the\x20same\x20file.','parse','isFile','11617704pIanCE','Mermaid\x20flowchart\x20path\x20is\x20not\x20a\x20regular\x20file:\x20','Generate\x20a\x20Mermaid\x20flowchart\x20and\x20pass\x20--diagram-file\x20<path>,\x20or\x20use\x20--diagram-file\x20-\x20for\x20standard\x20input.','defineProperties','mermaid','503403BdkeRB','trim','diagram','utf8','default','2102924XXTVVF','Mermaid\x20flowchart\x20file\x20not\x20found:\x20','window','5501154eXobFR','replace','document','4XYXNuN','8900815nppqlu','277333weZTUq','Mermaid\x20syntax\x20validation\x20failed.','--diagram-file\x20is\x20required\x20when\x20publishing\x20a\x20Skill\x20version.','validation'];a70_0x6aad=function(){return _0x1498e9;};return a70_0x6aad();}function loadMermaidApi(){return mermaidApiPromise??=((async()=>{const _0x103c14=a70_0x3567;if(!(_0x103c14(0x140)in globalThis)||!('document'in globalThis)){const _0xf05365=new JSDOM('');Object[_0x103c14(0x137)](globalThis,{'window':{'configurable':!![],'value':_0xf05365[_0x103c14(0x140)]},'document':{'configurable':!![],'value':_0xf05365[_0x103c14(0x140)][_0x103c14(0x143)]}});}return(await import(_0x103c14(0x138)))[_0x103c14(0x13d)];})()),mermaidApiPromise;}function diagramValidationError(){const _0x243c7a=a70_0x3567;return CliErrors[_0x243c7a(0x149)](_0x243c7a(0x147),_0x243c7a(0x14b));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a71_0x119b38=a71_0xc4a3;(function(_0x55b11a,_0x55858f){const _0x2f450b=a71_0xc4a3,_0xe5fb21=_0x55b11a();while(!![]){try{const _0x2ed69b=-parseInt(_0x2f450b(0x1c1))/0x1*(-parseInt(_0x2f450b(0x1b8))/0x2)+-parseInt(_0x2f450b(0x1a8))/0x3+parseInt(_0x2f450b(0x1a2))/0x4*(-parseInt(_0x2f450b(0x1c4))/0x5)+parseInt(_0x2f450b(0x1b7))/0x6+-parseInt(_0x2f450b(0x1ac))/0x7+-parseInt(_0x2f450b(0x1bb))/0x8+parseInt(_0x2f450b(0x1c2))/0x9;if(_0x2ed69b===_0x55858f)break;else _0xe5fb21['push'](_0xe5fb21['shift']());}catch(_0xcbe94c){_0xe5fb21['push'](_0xe5fb21['shift']());}}}(a71_0x4a4e,0x43e5e));import{DEFAULT_SKILL_TARGET,SKILL_NAME_PATTERN,SKILL_TYPES}from'./templates.js';function a71_0x4a4e(){const _0x329cca=['2772325NwJzEb','dir','local','Skill\x20template\x20type:\x20pass\x20read\x20or\x20write\x20explicitly\x20(omission\x20is\x20deprecated)','Skill\x20name\x20using\x20lowercase\x20letters,\x20numbers,\x20and\x20hyphens','strict','a\x20lowercase\x20sha256:<64\x20hex\x20characters>\x20fingerprint','company','Skill\x20list\x20scope:\x20all,\x20personal,\x20or\x20company','target','4NCgRVs','project','Compatibility\x20flag;\x20no\x20extra\x20checks\x20are\x20enabled','type','expected-diagram-revision','Exact\x20Skill\x20scope:\x20personal\x20or\x20company','711144bfykIl','Skill\x20push\x20target\x20scope:\x20personal\x20saves\x20immediately,\x20company\x20submits\x20a\x20new\x20version\x20for\x20review','code','version','2571919MmgZCd','Only\x20target\x20a\x20specific\x20runtime\x20Skill\x20code','string','name','Server-reported\x20SkillVersion\x20source\x20fingerprint','lowercase\x20letters,\x20numbers,\x20and\x20single\x20hyphens','Overwrite\x20generated\x20or\x20CLI-managed\x20Skill\x20files\x20when\x20the\x20target\x20already\x20exists','Use\x20the\x20current\x20project\x27s\x20.agents/skills\x20instead\x20of\x20user-level\x20Agent\x20Skill\x20directories','Exact\x20Skill\x20version\x20whose\x20diagram\x20is\x20being\x20managed','confirm-warnings','personal','1765188xHtopa','85602OwYoeL','number','Local\x20Skill\x20directory\x20containing\x20SKILL.md','1308488fzPRBo','Expected\x20current\x20diagram\x20revision;\x20use\x200\x20for\x20the\x20first\x20diagram','diagram-file','boolean','force','Confirm\x20reviewed\x20personal\x20or\x20company\x20Skill\x20publish\x20warnings','11BEkPHM','7520328edqLfP','scope'];a71_0x4a4e=function(){return _0x329cca;};return a71_0x4a4e();}export const CODE_FLAG={'name':a71_0x119b38(0x1aa),'type':'string','description':a71_0x119b38(0x1ad)};export const SCOPE_FLAG={'name':'scope','type':a71_0x119b38(0x1ae),'description':'Skill\x20sync\x20scope:\x20all\x20(personal/company),\x20personal,\x20or\x20company','enum':['all',a71_0x119b38(0x1b6),a71_0x119b38(0x19f)]};export const PUSH_SCOPE_FLAG={'name':'scope','type':a71_0x119b38(0x1ae),'description':a71_0x119b38(0x1a9),'default':'personal','enum':[a71_0x119b38(0x1b6),a71_0x119b38(0x19f)]};export const LIST_SCOPE_FLAG={'name':a71_0x119b38(0x1c3),'type':a71_0x119b38(0x1ae),'description':a71_0x119b38(0x1a0),'enum':['all',a71_0x119b38(0x1b6),'company']};export const LOCAL_FLAG={'name':a71_0x119b38(0x1c6),'type':a71_0x119b38(0x1be),'description':'Read\x20CLI-managed\x20local\x20Skill\x20cache\x20and\x20links\x20instead\x20of\x20remote\x20lists'};export const DIR_FLAG={'name':a71_0x119b38(0x1c5),'type':'string','required':!![],'description':a71_0x119b38(0x1ba)};export const DIAGRAM_FILE_FLAG={'name':a71_0x119b38(0x1bd),'type':a71_0x119b38(0x1ae),'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':a71_0x119b38(0x1ae),'required':!![],'description':'Exact\x20Skill\x20code\x20whose\x20version\x20diagram\x20is\x20being\x20managed'};export const DIAGRAM_VERSION_FLAG={'name':a71_0x119b38(0x1ab),'type':a71_0x119b38(0x1ae),'required':!![],'description':a71_0x119b38(0x1b4)};export const DIAGRAM_SCOPE_FLAG={'name':a71_0x119b38(0x1c3),'type':a71_0x119b38(0x1ae),'required':!![],'enum':['personal','company'],'description':a71_0x119b38(0x1a7)};export const SOURCE_FINGERPRINT_FLAG={'name':'source-fingerprint','type':a71_0x119b38(0x1ae),'required':!![],'description':a71_0x119b38(0x1b0),'pattern':{'regex':/^sha256:[0-9a-f]{64}$/,'description':a71_0x119b38(0x19e)}};function a71_0xc4a3(_0xc56e5f,_0x1b98d7){_0xc56e5f=_0xc56e5f-0x19c;const _0x4a4e9d=a71_0x4a4e();let _0xc4a3c9=_0x4a4e9d[_0xc56e5f];return _0xc4a3c9;}export const EXPECTED_DIAGRAM_REVISION_FLAG={'name':a71_0x119b38(0x1a6),'type':a71_0x119b38(0x1b9),'required':!![],'description':a71_0x119b38(0x1bc)};export const CREATE_NAME_FLAG={'name':a71_0x119b38(0x1af),'type':a71_0x119b38(0x1ae),'required':!![],'description':a71_0x119b38(0x19c),'pattern':{'regex':SKILL_NAME_PATTERN,'description':a71_0x119b38(0x1b1)}};export const TYPE_FLAG={'name':a71_0x119b38(0x1a5),'type':'string','description':a71_0x119b38(0x1c7),'enum':[...SKILL_TYPES]};export const TARGET_FLAG={'name':a71_0x119b38(0x1a1),'type':a71_0x119b38(0x1ae),'description':'Directory\x20that\x20will\x20contain\x20the\x20generated\x20Skill\x20directory','default':DEFAULT_SKILL_TARGET};export const FORCE_FLAG={'name':a71_0x119b38(0x1bf),'type':a71_0x119b38(0x1be),'description':a71_0x119b38(0x1b2)};export const PROJECT_TARGET_FLAG={'name':a71_0x119b38(0x1a3),'type':a71_0x119b38(0x1be),'description':a71_0x119b38(0x1b3)};export const CONFIRM_WARNINGS_FLAG={'name':a71_0x119b38(0x1b5),'type':a71_0x119b38(0x1be),'description':a71_0x119b38(0x1c0)};export const STRICT_FLAG={'name':a71_0x119b38(0x19d),'type':a71_0x119b38(0x1be),'description':a71_0x119b38(0x1a4)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x37dac3,_0xb48819){const _0x51e1ce=a72_0x3184,_0x4e77dd=_0x37dac3();while(!![]){try{const _0xa16b75=parseInt(_0x51e1ce(0xfe))/0x1*(-parseInt(_0x51e1ce(0xfd))/0x2)+-parseInt(_0x51e1ce(0x106))/0x3+-parseInt(_0x51e1ce(0xfc))/0x4*(parseInt(_0x51e1ce(0x100))/0x5)+-parseInt(_0x51e1ce(0x105))/0x6+parseInt(_0x51e1ce(0x102))/0x7+-parseInt(_0x51e1ce(0x103))/0x8*(-parseInt(_0x51e1ce(0x101))/0x9)+parseInt(_0x51e1ce(0xff))/0xa*(parseInt(_0x51e1ce(0x104))/0xb);if(_0xa16b75===_0xb48819)break;else _0x4e77dd['push'](_0x4e77dd['shift']());}catch(_0x248d7c){_0x4e77dd['push'](_0x4e77dd['shift']());}}}(a72_0x2b34,0x2a7a8));import{createCommand}from'./commands/create.js';import{diagramPushCommand,diagramShowCommand,diagramValidateCommand}from'./commands/diagram.js';function a72_0x3184(_0xd26fc,_0xae4f18){_0xd26fc=_0xd26fc-0xfc;const _0x2b349f=a72_0x2b34();let _0x3184d2=_0x2b349f[_0xd26fc];return _0x3184d2;}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];function a72_0x2b34(){const _0x1cd543=['98KzEIDf','5717mUESkT','260WlNhRV','205xzauUH','45glmzww','1306200BrVovC','470248EJXSPx','260733NVreVY','746544WBZBEi','924573hbQRuO','20492OUCJUa'];a72_0x2b34=function(){return _0x1cd543;};return a72_0x2b34();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x4f220a,_0x5e81e0){var _0x14a3f5=a73_0x4779,_0x182848=_0x4f220a();while(!![]){try{var _0xf6a98e=parseInt(_0x14a3f5(0x144))/0x1+-parseInt(_0x14a3f5(0x14a))/0x2*(-parseInt(_0x14a3f5(0x145))/0x3)+parseInt(_0x14a3f5(0x14e))/0x4+parseInt(_0x14a3f5(0x147))/0x5+parseInt(_0x14a3f5(0x151))/0x6*(parseInt(_0x14a3f5(0x143))/0x7)+-parseInt(_0x14a3f5(0x14f))/0x8*(parseInt(_0x14a3f5(0x156))/0x9)+parseInt(_0x14a3f5(0x150))/0xa*(-parseInt(_0x14a3f5(0x146))/0xb);if(_0xf6a98e===_0x5e81e0)break;else _0x182848['push'](_0x182848['shift']());}catch(_0xd65e20){_0x182848['push'](_0x182848['shift']());}}}(a73_0x497c,0xf37bf));function a73_0x497c(){var _0x8bb35=['isArray','ossPath','1797688EsqtWJ','4056rblOSP','45362810evPxTA','12NXQhIX','length','string','object','SKILL.md','12312PvFiaT','3788008XYQgyJ','1584889ZnjZFw','5790987cswVmb','11TwSgsw','5901200lHtnJm','some','files','2hhiJSq','path'];a73_0x497c=function(){return _0x8bb35;};return a73_0x497c();}function a73_0x4779(_0x2413ae,_0x38a921){_0x2413ae=_0x2413ae-0x143;var _0x497cb8=a73_0x497c();var _0x47795f=_0x497cb8[_0x2413ae];return _0x47795f;}export function isPackageBackedManifest(_0x23b4fa){var _0xd6a56a=a73_0x4779;return!!_0x23b4fa&&typeof _0x23b4fa===_0xd6a56a(0x154)&&!Array[_0xd6a56a(0x14c)](_0x23b4fa)&&typeof _0x23b4fa[_0xd6a56a(0x14d)]===_0xd6a56a(0x153)&&_0x23b4fa['ossPath'][_0xd6a56a(0x152)]>0x0&&Array[_0xd6a56a(0x14c)](_0x23b4fa[_0xd6a56a(0x149)]);}export function isMultiFileManifest(_0x23f0a9){var _0x284f61=a73_0x4779;return!!_0x23f0a9&&typeof _0x23f0a9===_0x284f61(0x154)&&!Array[_0x284f61(0x14c)](_0x23f0a9)&&Array[_0x284f61(0x14c)](_0x23f0a9[_0x284f61(0x149)])&&_0x23f0a9[_0x284f61(0x149)][_0x284f61(0x148)](_0x160b74=>_0x160b74[_0x284f61(0x14b)]!==_0x284f61(0x155));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a74_0xf1f9(_0x143856,_0x5b90af){_0x143856=_0x143856-0x16c;const _0x25328f=a74_0x2532();let _0xf1f9be=_0x25328f[_0x143856];return _0xf1f9be;}(function(_0xc96495,_0x32adb0){const _0x192867=a74_0xf1f9,_0xfd8c13=_0xc96495();while(!![]){try{const _0x49cb4c=parseInt(_0x192867(0x16e))/0x1+parseInt(_0x192867(0x1a2))/0x2*(parseInt(_0x192867(0x195))/0x3)+-parseInt(_0x192867(0x18b))/0x4+-parseInt(_0x192867(0x184))/0x5+parseInt(_0x192867(0x18c))/0x6+-parseInt(_0x192867(0x19f))/0x7+parseInt(_0x192867(0x17d))/0x8;if(_0x49cb4c===_0x32adb0)break;else _0xfd8c13['push'](_0xfd8c13['shift']());}catch(_0x5b5b01){_0xfd8c13['push'](_0xfd8c13['shift']());}}}(a74_0x2532,0x63000));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(_0x1b6f5a){const _0x2ec4a7=a74_0xf1f9,{getRuntimeSkillByCode:_0x51bf93,validateRuntimeSkillPublish:_0x333080}=await import(_0x2ec4a7(0x19a)),{readPushDirectory:_0x49ea5c,resolvePushDirectoryIdentity:_0x3b6142}=await import(_0x2ec4a7(0x182));if(!_0x1b6f5a[_0x2ec4a7(0x1a0)])throw CliErrors[_0x2ec4a7(0x175)]();const _0x25da1c=resolvePushScope(_0x1b6f5a),_0x4c46c3=validateSkillDirectory(_0x1b6f5a[_0x2ec4a7(0x19d)](_0x2ec4a7(0x177)));throwIfSkillValidationFailed(_0x4c46c3);const {diagram:_0x1b36c7,sourceFilePath:_0x112804}=await readRequiredSkillDiagramInput(_0x1b6f5a[_0x2ec4a7(0x19d)](_0x2ec4a7(0x1a4))),_0x4d6b62=diagramPackageExclusion(_0x112804),_0x2a3b9d=_0x3b6142(_0x4c46c3[_0x2ec4a7(0x177)],_0x1b6f5a[_0x2ec4a7(0x179)],remoteFirstMetadataOptions()),_0x43d0f2=await _0x51bf93(_0x1b6f5a[_0x2ec4a7(0x179)],_0x2a3b9d['skillCode']);throwIfBuiltinPushTarget(_0x43d0f2);if(_0x25da1c===_0x2ec4a7(0x17b)){const _0x111678=_0x49ea5c(_0x4c46c3['dir'],_0x1b6f5a[_0x2ec4a7(0x179)],{...remoteMissingCompanyReadOptions(),..._0x4d6b62}),_0x4e8047=await _0x333080(_0x1b6f5a['appCode'],withDiagram(_0x111678[_0x2ec4a7(0x197)],_0x1b36c7),{'visibility':_0x2ec4a7(0x1a5)});return{'method':_0x2ec4a7(0x18a),'url':_0x2ec4a7(0x186)+_0x1b6f5a[_0x2ec4a7(0x179)]+_0x2ec4a7(0x188),'body':{'skillCode':_0x111678['skillCode'],'visibility':'NAMESPACE_ONLY','valid':_0x4e8047['valid'],'errors':_0x4e8047[_0x2ec4a7(0x19c)],'warnings':_0x4e8047['warnings'],'resolvedSlug':_0x4e8047[_0x2ec4a7(0x1a3)],'resolvedVersion':_0x4e8047[_0x2ec4a7(0x18d)],'diagramValidated':_0x4e8047['diagramValidated']},'description':_0x2ec4a7(0x174)};}if(_0x43d0f2&&_0x43d0f2[_0x2ec4a7(0x190)]!==_0x2ec4a7(0x173))throw CliErrors[_0x2ec4a7(0x181)](_0x2ec4a7(0x187)+_0x2a3b9d[_0x2ec4a7(0x17c)]+'\x20has\x20scope=\x22'+(_0x43d0f2[_0x2ec4a7(0x190)]??_0x2ec4a7(0x172))+'\x22.');const _0x7e83ee=_0x49ea5c(_0x4c46c3[_0x2ec4a7(0x177)],_0x1b6f5a[_0x2ec4a7(0x179)],{..._0x43d0f2?remotePersonalReadOptions(!![]):remoteMissingPersonalReadOptions(),..._0x4d6b62}),_0x46bd74=await _0x333080(_0x1b6f5a[_0x2ec4a7(0x179)],withDiagram(_0x7e83ee['input'],_0x1b36c7),{'visibility':'PRIVATE'});return{'method':_0x2ec4a7(0x18a),'url':_0x2ec4a7(0x186)+_0x1b6f5a[_0x2ec4a7(0x179)]+_0x2ec4a7(0x188),'body':{'skillCode':_0x7e83ee[_0x2ec4a7(0x17c)],'visibility':_0x2ec4a7(0x170),'valid':_0x46bd74['valid'],'errors':_0x46bd74[_0x2ec4a7(0x19c)],'warnings':_0x46bd74[_0x2ec4a7(0x18e)],'resolvedSlug':_0x46bd74[_0x2ec4a7(0x1a3)],'resolvedVersion':_0x46bd74[_0x2ec4a7(0x18d)],'diagramValidated':_0x46bd74[_0x2ec4a7(0x16f)]},'description':'Validate\x20a\x20personal\x20Skill\x20push\x20package\x20without\x20creating\x20or\x20updating\x20a\x20remote\x20Skill.'};}function a74_0x2532(){const _0xc13656=['4696IYJdGH','resolvedSlug','diagram-file','NAMESPACE_ONLY','files','submitted','478293jZFmjP','diagramValidated','PRIVATE','bool','unknown','personal','Validate\x20a\x20company\x20Skill\x20push\x20package\x20without\x20creating\x20a\x20version\x20or\x20review\x20task.','authRequired','identical','dir','Updated\x20personal\x20Skill\x20','appCode','confirmWarnings','company','skillCode','9228360lgBqQv','\x20has\x20scope=\x22','savedSkill','publishInput','validation','../../skills/runtime-skill-sync.js','payload','2866545ITULas','Company','/api/cli/v1/skills/','Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20remote\x20Skill\x20','/publish/validate','Personal','POST','456888qCQBfW','223656dHSkWl','resolvedVersion','warnings','version','scope','\x20is\x20already\x20published\x20and\x20content\x20is\x20identical','existing','remoteForPreflight','\x20for\x20review','3oCpRcH','metadata','input','(unknown)','Created\x20personal\x20Skill\x20','../../core/api-client.js','\x20Skill\x20','errors','str','frontmatterDisplayName','4048989AYEiwZ','accessKey','Submitted\x20company\x20Skill\x20'];a74_0x2532=function(){return _0xc13656;};return a74_0x2532();}export async function skillPushExecute(_0x499b37){const _0x45a33b=a74_0xf1f9,{createPersonalRuntimeSkill:_0x4f05f4,downloadRuntimeSkillPackage:_0xe21f33,getRuntimeSkillByCode:_0x59fb03,publishCompanyRuntimeSkill:_0x49ef23,updatePersonalRuntimeSkill:_0x3a28a8,validateRuntimeSkillPublish:_0x320506}=await import(_0x45a33b(0x19a)),{verifyRuntimeSkillPackage:_0x1bcbbe,verifyRuntimeSkillBundle:_0x318192,readPushDirectory:_0x2aba1b,refreshPushDirectoryMetadataFromRemote:_0x3d5a7f,recordPushedRuntimeSkill:_0x2e2b3f,resolvePushDirectoryIdentity:_0x5a907f}=await import(_0x45a33b(0x182));if(!_0x499b37[_0x45a33b(0x1a0)])throw CliErrors[_0x45a33b(0x175)]();const _0x38982b=resolvePushScope(_0x499b37),_0x29fdc9=_0x499b37[_0x45a33b(0x171)]('confirm-warnings')||_0x499b37['bool'](_0x45a33b(0x17a)),_0x7ca153=validateSkillDirectory(_0x499b37[_0x45a33b(0x19d)](_0x45a33b(0x177)));throwIfSkillValidationFailed(_0x7ca153);const {diagram:_0x4dc5d1,sourceFilePath:_0x2ab100}=await readRequiredSkillDiagramInput(_0x499b37['str']('diagram-file')),_0x1a0932=diagramPackageExclusion(_0x2ab100),_0x429fcb=_0x7ca153[_0x45a33b(0x177)];let _0x37ffdf;if(_0x38982b==='company'){const _0x49d62d=_0x5a907f(_0x429fcb,_0x499b37[_0x45a33b(0x179)],remoteFirstMetadataOptions()),_0x24aea2=await _0x59fb03(_0x499b37[_0x45a33b(0x179)],_0x49d62d[_0x45a33b(0x17c)]);throwIfBuiltinPushTarget(_0x24aea2);if(_0x24aea2)_0x3d5a7f(_0x429fcb,_0x24aea2,_0x499b37[_0x45a33b(0x179)]);const _0x267a3b=_0x2aba1b(_0x429fcb,_0x499b37[_0x45a33b(0x179)],{..._0x24aea2?{'targetScope':_0x45a33b(0x17b),'ignoreInvalidMetadata':!![]}:remoteMissingCompanyReadOptions(),..._0x1a0932});_0x37ffdf={'scope':'company','payload':_0x267a3b,'publishInput':withDiagram(_0x267a3b[_0x45a33b(0x197)],_0x4dc5d1),'remoteForPreflight':_0x24aea2,'warnings':[]};}else{const _0x4b0b56=_0x499b37['str']('appcode')['trim'](),_0x2f3958=Boolean(_0x4b0b56),_0x26fe03=allowRetargetArgs(_0x2f3958),_0x7e882e=_0x5a907f(_0x429fcb,_0x499b37[_0x45a33b(0x179)],{...remoteFirstMetadataOptions(),..._0x26fe03[0x0]}),_0x42baf7=await _0x59fb03(_0x499b37[_0x45a33b(0x179)],_0x7e882e[_0x45a33b(0x17c)]);throwIfBuiltinPushTarget(_0x42baf7);if(_0x42baf7){if(_0x42baf7[_0x45a33b(0x190)]!==_0x45a33b(0x173)){if(_0x2f3958)throw CliErrors['validation'](_0x45a33b(0x187)+_0x7e882e[_0x45a33b(0x17c)]+_0x45a33b(0x17e)+(_0x42baf7[_0x45a33b(0x190)]??_0x45a33b(0x172))+'\x22.');_0x3d5a7f(_0x429fcb,_0x42baf7,_0x499b37[_0x45a33b(0x179)]);}else!_0x2f3958&&_0x3d5a7f(_0x429fcb,_0x42baf7,_0x499b37[_0x45a33b(0x179)]);}const _0x4d666c=_0x2aba1b(_0x429fcb,_0x499b37[_0x45a33b(0x179)],{..._0x42baf7?remotePersonalReadOptions(_0x2f3958,_0x26fe03[0x0]):remoteMissingPersonalReadOptions(_0x26fe03[0x0]),..._0x1a0932}),_0x323abd=_0x42baf7?.[_0x45a33b(0x190)]===_0x45a33b(0x173)&&_0x42baf7[_0x45a33b(0x17c)]===_0x4d666c['skillCode']?_0x42baf7:undefined,_0x52b663=_0x2f3958&&_0x323abd?withRetargetExistingMetadata(_0x4d666c[_0x45a33b(0x197)],_0x323abd,{'preferInputSkillName':Boolean(_0x4d666c[_0x45a33b(0x19e)])}):_0x4d666c['input'],_0x3f4aa0=_0x2f3958?buildRetargetWarning(_0x7e882e[_0x45a33b(0x196)],_0x499b37['appCode']):[];_0x37ffdf={'scope':_0x45a33b(0x173),'payload':_0x4d666c,'publishInput':withDiagram(_0x52b663,_0x4dc5d1),'remoteForPreflight':_0x323abd,'existing':_0x323abd,'warnings':[..._0x7ca153[_0x45a33b(0x18e)],..._0x3f4aa0]};}const _0x286a79=await runRemoteContentPreflight({'scope':_0x37ffdf[_0x45a33b(0x190)],'remote':_0x37ffdf[_0x45a33b(0x193)],'publishInput':_0x37ffdf['publishInput'],'skillCode':_0x37ffdf['payload'][_0x45a33b(0x17c)],'appCode':_0x499b37[_0x45a33b(0x179)],'downloadRuntimeSkillPackage':_0xe21f33,'verifyRuntimeSkillBundle':_0x318192});if(_0x286a79['status']===_0x45a33b(0x176))return _0x37ffdf[_0x45a33b(0x190)]===_0x45a33b(0x17b)?_0x2e2b3f(_0x429fcb,_0x286a79[_0x45a33b(0x17f)],_0x499b37[_0x45a33b(0x179)],{'scope':_0x45a33b(0x17b)}):_0x2e2b3f(_0x429fcb,_0x286a79[_0x45a33b(0x17f)],_0x499b37[_0x45a33b(0x179)]),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x286a79[_0x45a33b(0x17f)]),'scope':_0x37ffdf[_0x45a33b(0x190)],..._0x37ffdf['scope']===_0x45a33b(0x173)?{'warnings':_0x37ffdf[_0x45a33b(0x18e)]}:{},'alreadyPublished':!![],'contentIdentical':!![],'diagramSubmitted':![]},'message':scopeLabel(_0x37ffdf['scope'])+_0x45a33b(0x19b)+_0x37ffdf[_0x45a33b(0x183)][_0x45a33b(0x17c)]+_0x45a33b(0x191)};if(_0x37ffdf[_0x45a33b(0x190)]===_0x45a33b(0x17b)){const _0x8180da=await _0x320506(_0x499b37[_0x45a33b(0x179)],_0x37ffdf[_0x45a33b(0x180)],{'visibility':_0x45a33b(0x1a5)});throwIfPublishValidationFailed(_0x45a33b(0x17b),_0x37ffdf['payload']['skillCode'],_0x8180da),throwIfUnconfirmedPublishWarnings('company',_0x37ffdf[_0x45a33b(0x183)][_0x45a33b(0x17c)],_0x8180da[_0x45a33b(0x18e)],_0x29fdc9);const _0x18c828=await _0x49ef23(_0x499b37['appCode'],_0x37ffdf['publishInput'],{'confirmWarnings':_0x29fdc9});return _0x2e2b3f(_0x429fcb,{..._0x18c828,'files':_0x37ffdf['publishInput'][_0x45a33b(0x16c)]},_0x499b37[_0x45a33b(0x179)],{'scope':_0x45a33b(0x17b)}),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x18c828),'scope':_0x45a33b(0x17b),'reviewState':_0x45a33b(0x16d),'submittedForReview':!![],'diagramBound':!![],'validation':{'warnings':_0x8180da[_0x45a33b(0x18e)]}},'message':_0x45a33b(0x1a1)+_0x37ffdf[_0x45a33b(0x183)][_0x45a33b(0x17c)]+'\x20version\x20'+(_0x18c828[_0x45a33b(0x18f)]??_0x45a33b(0x198))+_0x45a33b(0x194)};}const _0x4eec2f=await _0x320506(_0x499b37[_0x45a33b(0x179)],_0x37ffdf[_0x45a33b(0x180)],{'visibility':_0x45a33b(0x170)});throwIfPublishValidationFailed(_0x45a33b(0x173),_0x37ffdf[_0x45a33b(0x183)]['skillCode'],_0x4eec2f),throwIfUnconfirmedPublishWarnings(_0x45a33b(0x173),_0x37ffdf[_0x45a33b(0x183)][_0x45a33b(0x17c)],_0x4eec2f[_0x45a33b(0x18e)],_0x29fdc9);const _0x5a241d={'confirmWarnings':_0x29fdc9},_0x34027e=_0x37ffdf[_0x45a33b(0x192)]?await _0x3a28a8(_0x37ffdf['payload'][_0x45a33b(0x17c)],_0x499b37[_0x45a33b(0x179)],_0x37ffdf[_0x45a33b(0x180)],_0x5a241d):await _0x4f05f4(_0x499b37[_0x45a33b(0x179)],_0x37ffdf[_0x45a33b(0x180)],_0x5a241d);let _0x582faa=_0x34027e;if(isMultiFileManifest(_0x37ffdf['publishInput'][_0x45a33b(0x16c)])){const _0xb7dc13=await _0xe21f33('personal',_0x34027e[_0x45a33b(0x17c)]||_0x37ffdf[_0x45a33b(0x183)][_0x45a33b(0x17c)],_0x499b37[_0x45a33b(0x179)]);_0x318192(_0x37ffdf[_0x45a33b(0x180)][_0x45a33b(0x16c)],_0xb7dc13),_0x582faa={..._0x34027e,'files':_0x37ffdf['publishInput']['files']};}else{if(isPackageBackedManifest(_0x34027e[_0x45a33b(0x16c)])){const _0x1cd66e=await _0xe21f33(_0x45a33b(0x173),_0x34027e[_0x45a33b(0x17c)]||_0x37ffdf[_0x45a33b(0x183)][_0x45a33b(0x17c)],_0x499b37[_0x45a33b(0x179)]);_0x1bcbbe(_0x34027e['files'],_0x1cd66e);}}return _0x2e2b3f(_0x429fcb,_0x582faa,_0x499b37[_0x45a33b(0x179)]),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x34027e),'warnings':_0x37ffdf[_0x45a33b(0x18e)],'validation':{'warnings':_0x4eec2f[_0x45a33b(0x18e)]},'diagramBound':!![]},'message':_0x37ffdf[_0x45a33b(0x192)]?_0x45a33b(0x178)+_0x37ffdf[_0x45a33b(0x183)][_0x45a33b(0x17c)]:_0x45a33b(0x199)+_0x37ffdf[_0x45a33b(0x183)][_0x45a33b(0x17c)]};}function scopeLabel(_0x3a658d){const _0x26a672=a74_0xf1f9;return _0x3a658d===_0x26a672(0x17b)?_0x26a672(0x185):_0x26a672(0x189);}function withDiagram(_0x56f133,_0x2f432b){return{..._0x56f133,'diagram':_0x2f432b};}function diagramPackageExclusion(_0x493334){return _0x493334?{'excludedFilePaths':[_0x493334]}:{};}
|
|
1
|
+
(function(_0xde00c0,_0x261ec2){const _0x1be8c2=a74_0x49d2,_0x4a2186=_0xde00c0();while(!![]){try{const _0x1ad1cd=-parseInt(_0x1be8c2(0xdf))/0x1*(-parseInt(_0x1be8c2(0xd5))/0x2)+parseInt(_0x1be8c2(0xd1))/0x3+parseInt(_0x1be8c2(0xce))/0x4*(-parseInt(_0x1be8c2(0xbf))/0x5)+parseInt(_0x1be8c2(0xab))/0x6*(-parseInt(_0x1be8c2(0xd6))/0x7)+-parseInt(_0x1be8c2(0xa5))/0x8+-parseInt(_0x1be8c2(0xe0))/0x9+parseInt(_0x1be8c2(0xe1))/0xa*(parseInt(_0x1be8c2(0xa4))/0xb);if(_0x1ad1cd===_0x261ec2)break;else _0x4a2186['push'](_0x4a2186['shift']());}catch(_0x5d7cd8){_0x4a2186['push'](_0x4a2186['shift']());}}}(a74_0x3a81,0x8bd87));import{CliErrors}from'../../errors.js';import{isMultiFileManifest,isPackageBackedManifest}from'./manifest-helpers.js';import{remotePersonalReadOptions,remoteMissingCompanyReadOptions,remoteMissingPersonalReadOptions}from'./push-flow-helpers.js';function a74_0x49d2(_0x1b3d97,_0x5d4c48){_0x1b3d97=_0x1b3d97-0xa3;const _0x3a8164=a74_0x3a81();let _0x49d254=_0x3a8164[_0x1b3d97];return _0x49d254;}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(_0x3f7401){const _0x50794e=a74_0x49d2,{getRuntimeSkillByCode:_0x17e798,validateRuntimeSkillPublish:_0x19c581}=await import(_0x50794e(0xda)),{readPushDirectory:_0x5adcb5,resolvePushDirectoryIdentity:_0x56d1f2}=await import(_0x50794e(0xaf));if(!_0x3f7401['accessKey'])throw CliErrors[_0x50794e(0xc0)]();const _0x476181=resolvePushScope(_0x3f7401),_0x1e3460=validateSkillDirectory(_0x3f7401[_0x50794e(0xd4)]('dir'));throwIfSkillValidationFailed(_0x1e3460);const {diagram:_0x197542,sourceFilePath:_0x163712}=await readRequiredSkillDiagramInput(_0x3f7401[_0x50794e(0xd4)](_0x50794e(0xd7))),_0x42b041=diagramPackageExclusion(_0x163712),_0x5f34ad=_0x56d1f2(_0x1e3460[_0x50794e(0xbc)],_0x3f7401['appCode'],remoteFirstMetadataOptions()),_0x46ad6c=await _0x17e798(_0x3f7401['appCode'],_0x5f34ad[_0x50794e(0xad)]);throwIfBuiltinPushTarget(_0x46ad6c);if(_0x476181==='company'){const _0x20fb57=_0x5adcb5(_0x1e3460[_0x50794e(0xbc)],_0x3f7401['appCode'],{...remoteMissingCompanyReadOptions(),..._0x42b041}),_0x5ad2ab=await _0x19c581(_0x3f7401[_0x50794e(0xd9)],withDiagram(_0x20fb57[_0x50794e(0xc2)],_0x197542),{'visibility':_0x50794e(0xcb)});return{'method':'POST','url':_0x50794e(0xd3)+_0x3f7401[_0x50794e(0xd9)]+_0x50794e(0xb3),'body':{'skillCode':_0x20fb57['skillCode'],'visibility':'NAMESPACE_ONLY','valid':_0x5ad2ab['valid'],'errors':_0x5ad2ab[_0x50794e(0xa7)],'warnings':_0x5ad2ab['warnings'],'resolvedSlug':_0x5ad2ab[_0x50794e(0xb2)],'resolvedVersion':_0x5ad2ab[_0x50794e(0xca)],'diagramValidated':_0x5ad2ab[_0x50794e(0xcd)]},'description':_0x50794e(0xc5)};}if(_0x46ad6c&&_0x46ad6c['scope']!==_0x50794e(0xb8))throw CliErrors[_0x50794e(0xc1)](_0x50794e(0xdb)+_0x5f34ad['skillCode']+_0x50794e(0xac)+(_0x46ad6c[_0x50794e(0xc4)]??_0x50794e(0xbd))+'\x22.');const _0x223f0f=_0x5adcb5(_0x1e3460[_0x50794e(0xbc)],_0x3f7401[_0x50794e(0xd9)],{..._0x46ad6c?remotePersonalReadOptions(!![]):remoteMissingPersonalReadOptions(),..._0x42b041}),_0x40b74f=await _0x19c581(_0x3f7401[_0x50794e(0xd9)],withDiagram(_0x223f0f['input'],_0x197542),{'visibility':'PRIVATE'});return{'method':_0x50794e(0xcc),'url':'/api/cli/v1/skills/'+_0x3f7401[_0x50794e(0xd9)]+_0x50794e(0xb3),'body':{'skillCode':_0x223f0f[_0x50794e(0xad)],'visibility':_0x50794e(0xd8),'valid':_0x40b74f[_0x50794e(0xb4)],'errors':_0x40b74f[_0x50794e(0xa7)],'warnings':_0x40b74f[_0x50794e(0xdc)],'resolvedSlug':_0x40b74f[_0x50794e(0xb2)],'resolvedVersion':_0x40b74f['resolvedVersion'],'diagramValidated':_0x40b74f[_0x50794e(0xcd)]},'description':_0x50794e(0xdd)};}export async function skillPushExecute(_0x4f3b32){const _0x18352c=a74_0x49d2,{createPersonalRuntimeSkill:_0x4a2215,downloadRuntimeSkillPackage:_0x895891,getRuntimeSkillByCode:_0x28484a,publishCompanyRuntimeSkill:_0x3264e0,updatePersonalRuntimeSkill:_0x36d136,validateRuntimeSkillPublish:_0x5d5c7b}=await import('../../core/api-client.js'),{verifyRuntimeSkillPackage:_0x521cf0,verifyRuntimeSkillBundle:_0x580370,readPushDirectory:_0x2ef4c6,refreshPushDirectoryMetadataFromRemote:_0x5bf226,recordPushedRuntimeSkill:_0x29982f,resolvePushDirectoryIdentity:_0x3a8076}=await import(_0x18352c(0xaf));if(!_0x4f3b32[_0x18352c(0xbb)])throw CliErrors['authRequired']();const _0x40088c=resolvePushScope(_0x4f3b32),_0x3975d8=_0x4f3b32[_0x18352c(0xc8)]('confirm-warnings')||_0x4f3b32['bool'](_0x18352c(0xb5)),_0x211a13=validateSkillDirectory(_0x4f3b32[_0x18352c(0xd4)]('dir'));throwIfSkillValidationFailed(_0x211a13);const {diagram:_0x187352,sourceFilePath:_0x7adddf}=await readRequiredSkillDiagramInput(_0x4f3b32[_0x18352c(0xd4)](_0x18352c(0xd7))),_0x1b85f6=diagramPackageExclusion(_0x7adddf),_0x5153f9=_0x211a13[_0x18352c(0xbc)];let _0xe1a6b7;if(_0x40088c===_0x18352c(0xb7)){const _0x4ec14b=_0x3a8076(_0x5153f9,_0x4f3b32['appCode'],remoteFirstMetadataOptions()),_0x192b10=await _0x28484a(_0x4f3b32[_0x18352c(0xd9)],_0x4ec14b[_0x18352c(0xad)]);throwIfBuiltinPushTarget(_0x192b10);if(_0x192b10)_0x5bf226(_0x5153f9,_0x192b10,_0x4f3b32[_0x18352c(0xd9)]);const _0x524a58=_0x2ef4c6(_0x5153f9,_0x4f3b32[_0x18352c(0xd9)],{..._0x192b10?{'targetScope':_0x18352c(0xb7),'ignoreInvalidMetadata':!![]}:remoteMissingCompanyReadOptions(),..._0x1b85f6});_0xe1a6b7={'scope':_0x18352c(0xb7),'payload':_0x524a58,'publishInput':withDiagram(_0x524a58[_0x18352c(0xc2)],_0x187352),'remoteForPreflight':_0x192b10,'warnings':[]};}else{const _0x5e0742=_0x4f3b32[_0x18352c(0xd4)](_0x18352c(0xb0))[_0x18352c(0xc3)](),_0x2ece63=Boolean(_0x5e0742),_0x4b763b=allowRetargetArgs(_0x2ece63),_0x5c7ca9=_0x3a8076(_0x5153f9,_0x4f3b32[_0x18352c(0xd9)],{...remoteFirstMetadataOptions(),..._0x4b763b[0x0]}),_0x48b844=await _0x28484a(_0x4f3b32['appCode'],_0x5c7ca9[_0x18352c(0xad)]);throwIfBuiltinPushTarget(_0x48b844);if(_0x48b844){if(_0x48b844[_0x18352c(0xc4)]!==_0x18352c(0xb8)){if(_0x2ece63)throw CliErrors[_0x18352c(0xc1)](_0x18352c(0xdb)+_0x5c7ca9[_0x18352c(0xad)]+_0x18352c(0xac)+(_0x48b844['scope']??_0x18352c(0xbd))+'\x22.');_0x5bf226(_0x5153f9,_0x48b844,_0x4f3b32[_0x18352c(0xd9)]);}else!_0x2ece63&&_0x5bf226(_0x5153f9,_0x48b844,_0x4f3b32[_0x18352c(0xd9)]);}const _0x243fd8=_0x2ef4c6(_0x5153f9,_0x4f3b32[_0x18352c(0xd9)],{..._0x48b844?remotePersonalReadOptions(_0x2ece63,_0x4b763b[0x0]):remoteMissingPersonalReadOptions(_0x4b763b[0x0]),..._0x1b85f6}),_0x42767f=_0x48b844?.['scope']==='personal'&&_0x48b844[_0x18352c(0xad)]===_0x243fd8[_0x18352c(0xad)]?_0x48b844:undefined,_0x78f530=_0x2ece63&&_0x42767f?withRetargetExistingMetadata(_0x243fd8[_0x18352c(0xc2)],_0x42767f,{'preferInputSkillName':Boolean(_0x243fd8['frontmatterDisplayName'])}):_0x243fd8[_0x18352c(0xc2)],_0x29aa91=_0x2ece63?buildRetargetWarning(_0x5c7ca9[_0x18352c(0xa8)],_0x4f3b32['appCode']):[];_0xe1a6b7={'scope':'personal','payload':_0x243fd8,'publishInput':withDiagram(_0x78f530,_0x187352),'remoteForPreflight':_0x42767f,'existing':_0x42767f,'warnings':[..._0x211a13[_0x18352c(0xdc)],..._0x29aa91]};}const _0x1f2809=await runRemoteContentPreflight({'scope':_0xe1a6b7[_0x18352c(0xc4)],'remote':_0xe1a6b7[_0x18352c(0xaa)],'publishInput':_0xe1a6b7[_0x18352c(0xa9)],'skillCode':_0xe1a6b7[_0x18352c(0xa6)]['skillCode'],'appCode':_0x4f3b32[_0x18352c(0xd9)],'downloadRuntimeSkillPackage':_0x895891,'verifyRuntimeSkillBundle':_0x580370});if(_0x1f2809[_0x18352c(0xc9)]===_0x18352c(0xe3))return _0xe1a6b7[_0x18352c(0xc4)]==='company'?_0x29982f(_0x5153f9,_0x1f2809[_0x18352c(0xc7)],_0x4f3b32[_0x18352c(0xd9)],{'scope':_0x18352c(0xb7)}):_0x29982f(_0x5153f9,_0x1f2809['savedSkill'],_0x4f3b32[_0x18352c(0xd9)]),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x1f2809[_0x18352c(0xc7)]),'scope':_0xe1a6b7['scope'],..._0xe1a6b7[_0x18352c(0xc4)]===_0x18352c(0xb8)?{'warnings':_0xe1a6b7[_0x18352c(0xdc)]}:{},'alreadyPublished':!![],'contentIdentical':!![],'diagramSubmitted':![]},'message':scopeLabel(_0xe1a6b7[_0x18352c(0xc4)])+_0x18352c(0xd0)+_0xe1a6b7[_0x18352c(0xa6)][_0x18352c(0xad)]+_0x18352c(0xbe)};if(_0xe1a6b7['scope']==='company'){const _0x51b80f=await _0x5d5c7b(_0x4f3b32[_0x18352c(0xd9)],_0xe1a6b7['publishInput'],{'visibility':'NAMESPACE_ONLY'});throwIfPublishValidationFailed(_0x18352c(0xb7),_0xe1a6b7[_0x18352c(0xa6)]['skillCode'],_0x51b80f),throwIfUnconfirmedPublishWarnings('company',_0xe1a6b7[_0x18352c(0xa6)][_0x18352c(0xad)],_0x51b80f['warnings'],_0x3975d8);const _0x217cbf=await _0x3264e0(_0x4f3b32[_0x18352c(0xd9)],_0xe1a6b7['publishInput'],{'confirmWarnings':_0x3975d8});return _0x29982f(_0x5153f9,{..._0x217cbf,'files':_0xe1a6b7[_0x18352c(0xa9)]['files']},_0x4f3b32[_0x18352c(0xd9)],{'scope':_0x18352c(0xb7)}),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x217cbf),'scope':'company','reviewState':_0x18352c(0xde),'submittedForReview':!![],'diagramBound':!![],'validation':{'warnings':_0x51b80f[_0x18352c(0xdc)]}},'message':_0x18352c(0xcf)+_0xe1a6b7[_0x18352c(0xa6)][_0x18352c(0xad)]+_0x18352c(0xa3)+(_0x217cbf[_0x18352c(0xb6)]??_0x18352c(0xae))+_0x18352c(0xb1)};}const _0x44116d=await _0x5d5c7b(_0x4f3b32[_0x18352c(0xd9)],_0xe1a6b7[_0x18352c(0xa9)],{'visibility':_0x18352c(0xd8)});throwIfPublishValidationFailed(_0x18352c(0xb8),_0xe1a6b7[_0x18352c(0xa6)]['skillCode'],_0x44116d),throwIfUnconfirmedPublishWarnings(_0x18352c(0xb8),_0xe1a6b7[_0x18352c(0xa6)][_0x18352c(0xad)],_0x44116d[_0x18352c(0xdc)],_0x3975d8);const _0x2fdbba={'confirmWarnings':_0x3975d8},_0x18feb5=_0xe1a6b7[_0x18352c(0xb9)]?await _0x36d136(_0xe1a6b7['payload']['skillCode'],_0x4f3b32[_0x18352c(0xd9)],_0xe1a6b7[_0x18352c(0xa9)],_0x2fdbba):await _0x4a2215(_0x4f3b32[_0x18352c(0xd9)],_0xe1a6b7[_0x18352c(0xa9)],_0x2fdbba);let _0x42190e=_0x18feb5;if(isMultiFileManifest(_0xe1a6b7[_0x18352c(0xa9)]['files'])){const _0x4f15c8=await _0x895891(_0x18352c(0xb8),_0x18feb5[_0x18352c(0xad)]||_0xe1a6b7[_0x18352c(0xa6)][_0x18352c(0xad)],_0x4f3b32[_0x18352c(0xd9)]);_0x580370(_0xe1a6b7[_0x18352c(0xa9)]['files'],_0x4f15c8),_0x42190e={..._0x18feb5,'files':_0xe1a6b7[_0x18352c(0xa9)][_0x18352c(0xba)]};}else{if(isPackageBackedManifest(_0x18feb5[_0x18352c(0xba)])){const _0x1536a6=await _0x895891('personal',_0x18feb5[_0x18352c(0xad)]||_0xe1a6b7[_0x18352c(0xa6)][_0x18352c(0xad)],_0x4f3b32['appCode']);_0x521cf0(_0x18feb5[_0x18352c(0xba)],_0x1536a6);}}return _0x29982f(_0x5153f9,_0x42190e,_0x4f3b32[_0x18352c(0xd9)]),{'ok':!![],'data':{...summarizeRuntimeSkill(_0x18feb5),'warnings':_0xe1a6b7['warnings'],'validation':{'warnings':_0x44116d[_0x18352c(0xdc)]},'diagramBound':!![]},'message':_0xe1a6b7[_0x18352c(0xb9)]?_0x18352c(0xd2)+_0xe1a6b7['payload']['skillCode']:'Created\x20personal\x20Skill\x20'+_0xe1a6b7[_0x18352c(0xa6)][_0x18352c(0xad)]};}function scopeLabel(_0x322601){const _0x44822b=a74_0x49d2;return _0x322601==='company'?_0x44822b(0xc6):_0x44822b(0xe2);}function a74_0x3a81(){const _0x50f8b6=['POST','diagramValidated','202924zgKbzm','Submitted\x20company\x20Skill\x20','\x20Skill\x20','857340fuuAFo','Updated\x20personal\x20Skill\x20','/api/cli/v1/skills/','str','1837156eOYPFK','266fYSFrN','diagram-file','PRIVATE','appCode','../../core/api-client.js','Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20remote\x20Skill\x20','warnings','Validate\x20a\x20personal\x20Skill\x20push\x20package\x20without\x20creating\x20or\x20updating\x20a\x20remote\x20Skill.','submitted','1hlsbGK','1841922fCruiF','10fnabRE','Personal','identical','\x20version\x20','11906378NORNTc','4638048pMgEBI','payload','errors','metadata','publishInput','remoteForPreflight','10596mDXIrD','\x20has\x20scope=\x22','skillCode','(unknown)','../../skills/runtime-skill-sync.js','appcode','\x20for\x20review','resolvedSlug','/publish/validate','valid','confirmWarnings','version','company','personal','existing','files','accessKey','dir','unknown','\x20is\x20already\x20published\x20and\x20content\x20is\x20identical','85QxBDUB','authRequired','validation','input','trim','scope','Validate\x20a\x20company\x20Skill\x20push\x20package\x20without\x20creating\x20a\x20version\x20or\x20review\x20task.','Company','savedSkill','bool','status','resolvedVersion','NAMESPACE_ONLY'];a74_0x3a81=function(){return _0x50f8b6;};return a74_0x3a81();}function withDiagram(_0x2dd7f5,_0x4b8599){return{..._0x2dd7f5,'diagram':_0x4b8599};}function diagramPackageExclusion(_0x29338b){return _0x29338b?{'excludedFilePaths':[_0x29338b]}:{};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1e6714,_0x2dd152){const _0x194311=a75_0x585a,_0x136134=_0x1e6714();while(!![]){try{const _0x392f5b=parseInt(_0x194311(0xe5))/0x1*(-parseInt(_0x194311(0x10b))/0x2)+-parseInt(_0x194311(0x103))/0x3+-parseInt(_0x194311(0xf9))/0x4+-parseInt(_0x194311(0xe2))/0x5+-parseInt(_0x194311(0xf1))/0x6*(-parseInt(_0x194311(0x106))/0x7)+parseInt(_0x194311(0x104))/0x8+parseInt(_0x194311(0xf4))/0x9;if(_0x392f5b===_0x2dd152)break;else _0x136134['push'](_0x136134['shift']());}catch(_0x3836f4){_0x136134['push'](_0x136134['shift']());}}}(a75_0x119f,0xb38e8));import{CliErrors}from'../../errors.js';export function resolvePushScope(_0x5c89a0){const _0x45ffd1=a75_0x585a,_0x53e1ad=_0x5c89a0['str']('scope')||_0x45ffd1(0x108);if(_0x53e1ad===_0x45ffd1(0x108)||_0x53e1ad===_0x45ffd1(0x101))return _0x53e1ad;throw CliErrors[_0x45ffd1(0xed)]('skill\x20push\x20supports\x20--scope\x20personal\x20or\x20--scope\x20company;\x20received\x20\x22'+_0x53e1ad+'\x22.');}function a75_0x585a(_0x9af5bb,_0x29af09){_0x9af5bb=_0x9af5bb-0xe1;const _0x119f70=a75_0x119f();let _0x585afb=_0x119f70[_0x9af5bb];return _0x585afb;}export function allowRetargetArgs(_0x264746){return _0x264746?[{'allowAppCodeRetarget':!![]}]:[];}export function remoteFirstMetadataOptions(){return{'ignoreInvalidMetadata':!![],'ignoreMetadataAppCodeMismatch':!![],'ignoreMetadataSkillCode':!![]};}export function remoteMissingPayloadOptions(){return{'ignoreMetadataForPayload':!![],'ignoreMetadataScope':!![],'ignoreMetadataSkillCode':!![]};}export function remoteMissingCompanyReadOptions(){const _0x4aed36=a75_0x585a;return{'targetScope':_0x4aed36(0x101),...remoteFirstMetadataOptions(),...remoteMissingPayloadOptions()};}export function remoteMissingPersonalReadOptions(_0x4850c7={}){return{...remoteFirstMetadataOptions(),...remoteMissingPayloadOptions(),..._0x4850c7};}export function remotePersonalReadOptions(_0x208c86,_0x1241ac={}){return{'ignoreInvalidMetadata':!![],..._0x208c86?{'ignoreMetadataAppCodeMismatch':!![],'ignoreMetadataScope':!![]}:{},..._0x1241ac};}export function throwIfBuiltinPushTarget(_0x50f1f8){const _0xcec75=a75_0x585a;if(_0x50f1f8?.[_0xcec75(0xef)]!==_0xcec75(0x10d))return;throw CliErrors['validation'](_0xcec75(0xf7)+(_0x50f1f8[_0xcec75(0xfc)]??_0xcec75(0xf6))+_0xcec75(0xfb),_0xcec75(0xec));}export function throwIfPublishValidationFailed(_0x1a4070,_0x3dbf47,_0x7ed3ad){const _0x28dbf4=a75_0x585a;if(_0x7ed3ad[_0x28dbf4(0xf3)]['length']===0x0&&(_0x7ed3ad[_0x28dbf4(0xe8)]||_0x7ed3ad[_0x28dbf4(0xe9)][_0x28dbf4(0xfe)]>0x0))return;const _0x4e7525=_0x7ed3ad[_0x28dbf4(0xf3)][_0x28dbf4(0xfe)]>0x0?_0x7ed3ad[_0x28dbf4(0xf3)]['join'](';\x20'):'SkillHub\x20validation\x20returned\x20invalid.',_0x309966=_0x1a4070===_0x28dbf4(0x101)?_0x28dbf4(0xf5):_0x28dbf4(0x105);throw CliErrors[_0x28dbf4(0xed)](_0x309966+_0x28dbf4(0xe1)+_0x3dbf47+'.',_0x4e7525);}export function throwIfUnconfirmedPublishWarnings(_0x32a81c,_0x57e3e8,_0x1d984b,_0x371810){const _0x3299f4=a75_0x585a;if(_0x1d984b[_0x3299f4(0xfe)]===0x0||_0x371810)return;const _0x427cc8=_0x32a81c==='company'?'Company':'Personal';throw CliErrors[_0x3299f4(0xed)](_0x427cc8+_0x3299f4(0xfd)+_0x57e3e8+'.',['Review\x20each\x20warning\x20before\x20continuing.',_0x3299f4(0xf2),_0x3299f4(0xe4),_0x3299f4(0x102)+_0x1d984b[_0x3299f4(0x107)](';\x20')]['join']('\x20'));}export function buildRetargetWarning(_0x461760,_0x161a32){const _0x701ba9=a75_0x585a;if(!_0x461760?.[_0x701ba9(0xee)]||_0x461760[_0x701ba9(0xee)]===_0x161a32)return[];return[{'level':_0x701ba9(0x10e),'ruleId':_0x701ba9(0xea),'file':_0x701ba9(0xfa),'message':_0x701ba9(0x100)+_0x461760[_0x701ba9(0xee)]+_0x701ba9(0x10a)+_0x161a32+'\x20after\x20successful\x20push.','suggestion':_0x701ba9(0xe6)}];}export async function runRemoteContentPreflight(_0x34697d){const _0x3d7103=a75_0x585a;if(!_0x34697d[_0x3d7103(0xf8)]||_0x34697d[_0x3d7103(0xf8)]['scope']!==_0x34697d['scope']||!_0x34697d[_0x3d7103(0xe7)][_0x3d7103(0x10c)])return{'status':_0x3d7103(0xf0)};const _0x9e6980=_0x34697d[_0x3d7103(0xf8)][_0x3d7103(0xfc)]||_0x34697d['skillCode'];if(!_0x9e6980)return{'status':_0x3d7103(0xf0)};const _0x5dfeef=await _0x34697d[_0x3d7103(0xeb)](_0x34697d[_0x3d7103(0xef)],_0x9e6980,_0x34697d[_0x3d7103(0xee)],_0x34697d['remote']['version']);try{_0x34697d[_0x3d7103(0x109)](_0x34697d[_0x3d7103(0xe7)][_0x3d7103(0x10c)],_0x5dfeef);}catch{return{'status':_0x3d7103(0xff)};}return{'status':_0x3d7103(0xe3),'savedSkill':{..._0x34697d['remote'],'content':_0x34697d[_0x3d7103(0xe7)]['content'],'files':_0x34697d[_0x3d7103(0xe7)][_0x3d7103(0x10c)]}};}function a75_0x119f(){const _0x4e5fa3=['files','builtin','warning','\x20Skill\x20push\x20validation\x20failed\x20for\x20','963110hGcSme','identical','Fix\x20real\x20issues.\x20If\x20the\x20remaining\x20warnings\x20are\x20reviewed\x20false\x20positives,\x20rerun\x20with\x20--confirm-warnings\x20to\x20submit\x20the\x20unchanged\x20package.','3363CIUyAe','Review\x20the\x20updated\x20local\x20Skill\x20metadata\x20before\x20the\x20next\x20push.','publishInput','valid','warnings','skill-metadata-appcode-retargeted','downloadRuntimeSkillPackage','Use\x20a\x20different\x20skillCode\x20when\x20submitting\x20a\x20personal\x20or\x20company\x20Skill.','validation','appCode','scope','not-applicable','60ogKYyv','Do\x20not\x20modify\x20the\x20source\x20Skill\x20merely\x20to\x20satisfy\x20publishing.','errors','5323329KvuDiL','Company','(unknown)','Builtin\x20Skill\x20','remote','4461800qZNLOJ','lovrabet.skill.json','\x20cannot\x20be\x20pushed.','skillCode','\x20Skill\x20push\x20validation\x20reported\x20warning(s)\x20for\x20','length','different','Local\x20Skill\x20metadata\x20appCode\x20','company','Warnings:\x20','768525yowTtE','7703504HxpAMc','Personal','700616oOyOnH','join','personal','verifyRuntimeSkillBundle','\x20was\x20retargeted\x20to\x20explicit\x20appCode\x20','152RCBDHW'];a75_0x119f=function(){return _0x4e5fa3;};return a75_0x119f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x41b25c,_0x2415aa){const _0x5af300=a76_0x301d,_0x41cf7c=_0x41b25c();while(!![]){try{const _0x22ce4d=-parseInt(_0x5af300(0x1b3))/0x1+parseInt(_0x5af300(0x1a8))/0x2+parseInt(_0x5af300(0x1a7))/0x3*(-parseInt(_0x5af300(0x19e))/0x4)+parseInt(_0x5af300(0x1a6))/0x5*(parseInt(_0x5af300(0x1ad))/0x6)+parseInt(_0x5af300(0x1a2))/0x7*(parseInt(_0x5af300(0x1ab))/0x8)+-parseInt(_0x5af300(0x1b1))/0x9+-parseInt(_0x5af300(0x1a3))/0xa;if(_0x22ce4d===_0x2415aa)break;else _0x41cf7c['push'](_0x41cf7c['shift']());}catch(_0x39f153){_0x41cf7c['push'](_0x41cf7c['shift']());}}}(a76_0x32cd,0x9b800));function a76_0x32cd(){const _0x3da0f3=['tags','preferInputSkillName','30eadtol','30dIkaQw','1344762jsRaER','skill-metadata-appcode-retargeted','warning','8755672WgGwfS','\x20was\x20retargeted\x20to\x20explicit\x20appCode\x20','906636eraave','Review\x20the\x20updated\x20local\x20Skill\x20metadata\x20before\x20the\x20next\x20push.','isArray','skillName','10801368bUklyM','description','97501AslsaQ','Local\x20Skill\x20metadata\x20appCode\x20','94540CQWRoh','appCode','sourceSessionId','version','7YGtCxp','5025450eXWytz'];a76_0x32cd=function(){return _0x3da0f3;};return a76_0x32cd();}export function withRetargetExistingMetadata(_0xf046d5,_0x58d4ac,_0xee2f9b={}){const _0x292ce6=a76_0x301d,_0x1ab890=_0xee2f9b[_0x292ce6(0x1a5)]?_0xf046d5['skillName']??_0x58d4ac[_0x292ce6(0x1b0)]:_0x58d4ac['skillName']??_0xf046d5[_0x292ce6(0x1b0)];return{..._0xf046d5,'skillName':_0x1ab890,'description':_0x58d4ac[_0x292ce6(0x1b2)]??_0xf046d5[_0x292ce6(0x1b2)],'tags':Array[_0x292ce6(0x1af)](_0x58d4ac[_0x292ce6(0x1a4)])?_0x58d4ac[_0x292ce6(0x1a4)]:_0xf046d5['tags'],'version':_0x58d4ac['version']??_0xf046d5[_0x292ce6(0x1a1)],'sourceSessionId':_0x58d4ac[_0x292ce6(0x1a0)]??_0xf046d5[_0x292ce6(0x1a0)]};}function a76_0x301d(_0x420e73,_0x3cbd7a){_0x420e73=_0x420e73-0x19d;const _0x32cd6e=a76_0x32cd();let _0x301dfe=_0x32cd6e[_0x420e73];return _0x301dfe;}export function buildRetargetWarning(_0xbf2b58,_0x12ea31){const _0xe517fa=a76_0x301d;if(!_0xbf2b58?.[_0xe517fa(0x19f)]||_0xbf2b58['appCode']===_0x12ea31)return[];return[{'level':_0xe517fa(0x1aa),'ruleId':_0xe517fa(0x1a9),'file':'lovrabet.skill.json','message':_0xe517fa(0x19d)+_0xbf2b58[_0xe517fa(0x19f)]+_0xe517fa(0x1ac)+_0x12ea31+'\x20after\x20successful\x20push.','suggestion':_0xe517fa(0x1ae)}];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1dfc53,_0x4dbbf2){const _0x361bba=a77_0x338e,_0xf3b44a=_0x1dfc53();while(!![]){try{const _0x423173=parseInt(_0x361bba(0x142))/0x1*(parseInt(_0x361bba(0x13d))/0x2)+parseInt(_0x361bba(0x148))/0x3*(-parseInt(_0x361bba(0x146))/0x4)+-parseInt(_0x361bba(0x149))/0x5+-parseInt(_0x361bba(0x13c))/0x6*(-parseInt(_0x361bba(0x13f))/0x7)+-parseInt(_0x361bba(0x147))/0x8+parseInt(_0x361bba(0x14a))/0x9+-parseInt(_0x361bba(0x13a))/0xa*(-parseInt(_0x361bba(0x13e))/0xb);if(_0x423173===_0x4dbbf2)break;else _0xf3b44a['push'](_0xf3b44a['shift']());}catch(_0x24d6c5){_0xf3b44a['push'](_0xf3b44a['shift']());}}}(a77_0x4ce4,0xaf4c4));import{CliErrors}from'../../errors.js';export function normalizeSyncScopes(_0x3a43a4){const _0x2430c8=a77_0x338e,_0x1f04b3=_0x3a43a4[_0x2430c8(0x145)]();if(!_0x1f04b3||_0x1f04b3===_0x2430c8(0x140))return[_0x2430c8(0x13b),_0x2430c8(0x144)];if(_0x1f04b3===_0x2430c8(0x13b)||_0x1f04b3===_0x2430c8(0x144))return[_0x1f04b3];throw CliErrors[_0x2430c8(0x143)](_0x2430c8(0x141)+_0x3a43a4);}export function normalizeListScope(_0x153232){const _0x16da0b=a77_0x338e,_0x2cca16=_0x153232['trim']();if(!_0x2cca16)return'all';if(_0x2cca16===_0x16da0b(0x13b)||_0x2cca16===_0x16da0b(0x144)||_0x2cca16===_0x16da0b(0x140))return _0x2cca16;throw CliErrors[_0x16da0b(0x143)]('Unsupported\x20Skill\x20list\x20scope:\x20'+_0x153232);}export function shouldListScope(_0xf72a0a,_0x5a1580){const _0xdf91a1=a77_0x338e;if(_0xf72a0a===_0xdf91a1(0x140))return!![];return _0xf72a0a===_0x5a1580;}function a77_0x4ce4(){const _0x19efb9=['658360NvobyD','validation','company','trim','91928ZIMpYv','5097984tEgTUg','156ykOqXC','5982090DMOKRS','8543241yeoAbZ','8664680WlfFSV','personal','294OHbCqD','4qEVLUR','11ocrTxy','87759rtOQUQ','all','Unsupported\x20Skill\x20sync\x20scope:\x20'];a77_0x4ce4=function(){return _0x19efb9;};return a77_0x4ce4();}function a77_0x338e(_0x260fcf,_0x3f73f7){_0x260fcf=_0x260fcf-0x13a;const _0x4ce417=a77_0x4ce4();let _0x338e2c=_0x4ce417[_0x260fcf];return _0x338e2c;}export function listScopeToRuntimeScopes(_0x282b4d){const _0x514f19=a77_0x338e;if(_0x282b4d==='all')return[_0x514f19(0x13b),_0x514f19(0x144)];return[_0x282b4d===_0x514f19(0x144)?_0x514f19(0x144):_0x282b4d];}export function listScopeToRemoteScope(_0x21f6be){return _0x21f6be;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x4f9c6b,_0x34af1a){var _0x543c4f=a78_0xecb2,_0x4773d1=_0x4f9c6b();while(!![]){try{var _0x3c8528=-parseInt(_0x543c4f(0x189))/0x1+-parseInt(_0x543c4f(0x184))/0x2*(-parseInt(_0x543c4f(0x198))/0x3)+parseInt(_0x543c4f(0x193))/0x4+parseInt(_0x543c4f(0x18b))/0x5+-parseInt(_0x543c4f(0x18e))/0x6*(-parseInt(_0x543c4f(0x187))/0x7)+parseInt(_0x543c4f(0x194))/0x8+-parseInt(_0x543c4f(0x188))/0x9;if(_0x3c8528===_0x34af1a)break;else _0x4773d1['push'](_0x4773d1['shift']());}catch(_0x368773){_0x4773d1['push'](_0x4773d1['shift']());}}}(a78_0x4e0f,0xe8778));export function summarizeRuntimeSkill(_0x2d1afc){var _0x35145c=a78_0xecb2;return{'id':_0x2d1afc['id'],'skillCode':_0x2d1afc['skillCode'],'skillName':_0x2d1afc[_0x35145c(0x196)],'scope':_0x2d1afc[_0x35145c(0x195)],'version':_0x2d1afc['version'],'readonly':_0x2d1afc[_0x35145c(0x183)]};}function a78_0x4e0f(){var _0x2660bd=['2753527xfEWjA','17565264oPFpwQ','474002szJSxw','version','6308320NNvzrL','pulledAt','status','18WfnQJF','treeHash','appCode','metadataPath','dir','204920JRWsLv','5067136dQPIiJ','scope','skillName','tags','3OSdLpt','skillCode','readonly','503026LYWuMX','skillMdPath','cacheDir'];a78_0x4e0f=function(){return _0x2660bd;};return a78_0x4e0f();}function a78_0xecb2(_0x428e40,_0x21ffa4){_0x428e40=_0x428e40-0x182;var _0x4e0f18=a78_0x4e0f();var _0xecb2d2=_0x4e0f18[_0x428e40];return _0xecb2d2;}export function summarizeLocalRuntimeSkill(_0x1e5638){var _0x475703=a78_0xecb2;return{'id':_0x1e5638['id'],'skillCode':_0x1e5638[_0x475703(0x182)],'skillName':_0x1e5638[_0x475703(0x196)],'scope':_0x1e5638[_0x475703(0x195)],'appCode':_0x1e5638[_0x475703(0x190)],'version':_0x1e5638[_0x475703(0x18a)],'status':_0x1e5638[_0x475703(0x18d)],'readonly':_0x1e5638[_0x475703(0x183)],'tags':_0x1e5638[_0x475703(0x197)],'dir':_0x1e5638[_0x475703(0x192)],'cacheDir':_0x1e5638[_0x475703(0x186)],'skillMdPath':_0x1e5638[_0x475703(0x185)],'metadataPath':_0x1e5638[_0x475703(0x191)],'linkedPaths':_0x1e5638['linkedPaths'],'contentHash':_0x1e5638['contentHash'],'treeHash':_0x1e5638[_0x475703(0x18f)],'pulledAt':_0x1e5638[_0x475703(0x18c)]};}
|