fix(install): point kimi platform in install.ps1 at .kimi-code skills dir

#685 moved the kimi target in install.sh to ~/.kimi-code/skills because the
Kimi CLI renamed its config directory and no longer reads the legacy
~/.kimi/skills path, but install.ps1 still linked skills into ~/.kimi/skills.
Windows users installing for kimi therefore got links the current binary never
reads, and the two installers disagreed.

tests/install/platform-table-consistency.test.mjs already asserts that both
scripts resolve to the same skills target, so this is also what leaves "Test
skill" red on main since #685.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
dajiaohuang
2026-09-11 12:15:28 +08:00
parent 5feed1f2ce
commit 2b8cd46dea
+1 -1
View File
@@ -38,7 +38,7 @@ $Platforms = [ordered]@{
vscode = @{ Target = (Join-Path $HOME '.copilot\skills'); Style = 'per-skill' }
hermes = @{ Target = (Join-Path $HOME '.hermes\skills'); Style = 'folder' }
cline = @{ Target = (Join-Path $HOME '.cline\skills'); Style = 'folder' }
kimi = @{ Target = (Join-Path $HOME '.kimi\skills'); Style = 'folder' }
kimi = @{ Target = (Join-Path $HOME '.kimi-code\skills'); Style = 'folder' }
trae = @{ Target = (Join-Path $HOME '.trae\skills'); Style = 'per-skill' }
nanobot = @{ Target = (Join-Path $HOME '.nanobot\workspace\skills'); Style = 'per-skill' }
kiro = @{ Target = (Join-Path $HOME '.kiro\skills'); Style = 'per-skill' }