kimi-code/packages
happy wang 0ce0072cb4
fix(agent-core): resolve user skills from OS home directory, not kimi home (#72)
* fix(agent-core): resolve user skills from OS home directory, not kimi home

KimiCore incorrectly used the kimi home directory (e.g. ~/.kimi-code) as
userHomeDir, causing the skill scanner to look for user skills under
~/.kimi-code/.agents/skills/ instead of ~/.agents/skills/. Only the
builtin mcp-config skill was found.

Fix by always setting userHomeDir to homedir() (the actual OS home),
independent of the homeDir / KIMI_CODE_HOME options that control where
session data is stored.

* chore: add changeset for skill user home dir fix

* test(node-sdk): align SDK skill test with OS home resolution fix

* Apply suggestion from @liruifengv

Signed-off-by: liruifengv <liruifeng1024@gmail.com>

---------

Signed-off-by: liruifengv <liruifeng1024@gmail.com>
Co-authored-by: liruifengv <liruifeng1024@gmail.com>
2026-05-26 17:50:38 +08:00
..
agent-core fix(agent-core): resolve user skills from OS home directory, not kimi home (#72) 2026-05-26 17:50:38 +08:00
kaos fix(shell): fix bash timeout hang when daemon inherits stdio pipes (#10) 2026-05-25 16:12:59 +08:00
kosong fix(catalog): preserve reasoning fields in custom model (#70) 2026-05-26 17:32:37 +08:00
migration-legacy ci: release packages (#42) 2026-05-26 15:03:28 +08:00
node-sdk fix(agent-core): resolve user skills from OS home directory, not kimi home (#72) 2026-05-26 17:50:38 +08:00
oauth ci: release packages (#42) 2026-05-26 15:03:28 +08:00
telemetry Kimi For Coding 2026-05-22 15:54:50 +08:00