@aikyroon/installer-core
v1.1.17
Published
Shared bootstrap logic for the Kyroon Enterprise NPM installers (version API, download+SHA256, extract, shortcuts, install/uninstall/doctor, Local AI gateway).
Readme
@aikyroon/installer-core
Shared bootstrap logic for the Kyroon Enterprise NPM installers
(@aikyroon/installer, @aikyroon/worker, @aikyroon/app, @aikyroon/rag-local).
It exposes:
runCli(preset)— the Commander-based CLI used by every thin package.installComponents(opts)— detect → download(+SHA256) → extract → updater → shortcuts.uninstallComponents(opts),doctor(opts),installRagLocal(opts).- Low-level helpers:
getLatestVersionInfo,downloadAndVerify,extractArchive,detectPlatform,resolveComponent, …
Mirrors the install.ps1 / install.sh / install-gl.* scripts of the Kyroon
Enterprise server, re-implemented in TypeScript for NPM distribution.
import { runCli } from '@aikyroon/installer-core';
runCli({
bin: 'kyroon',
productName: 'Kyroon Enterprise',
cliVersion: '1.0.0',
description: 'Installs the Kyroon Enterprise environment.',
kind: 'components',
components: ['worker', 'terminal', 'app'],
});