Files
ECC/scripts/lib/install-targets/kimi-project.js
Affaan MustafaandGitHub 49128b5763 feat(install): add Kimi Code CLI install target (kimi-project adapter) (#2441)
Rebuild of #2154 on current main, following the hermes/openclaw (#2433)
adapter recipe: 10-line kimi-project adapter (project kind, ./.kimi root),
registry + helpers ownership, SUPPORTED_INSTALL_TARGETS + legacy-compat
modules, kimi target on the 5 shared modules + .kimi in platform-configs
paths, both schema enums, npm files allowlist, help text, README stub.

Credit to @MoYiC6 for the original adapter design in #2154.
2026-07-03 22:24:13 -07:00

11 lines
289 B
JavaScript

const { createInstallTargetAdapter } = require('./helpers');
module.exports = createInstallTargetAdapter({
id: 'kimi-project',
target: 'kimi',
kind: 'project',
rootSegments: ['.kimi'],
installStatePathSegments: ['ecc-install-state.json'],
nativeRootRelativePath: '.kimi',
});