kimi-code/packages/klient/src
Haozhe f4dc9ba1ae
refactor(agent-core-v2): migrate skill domain to agent runtime (#3202)
- define the AgentSkill contract and SkillRuntime (activate /
  promptWithSkills / recordModelToolActivation) with a lazy, non-durable
  provider; recordActivation dispatches SkillActivated directly and the
  skillKey / SkillActivate relay is gone
- allow agent runtime descriptors to omit logic (durable definitions
  still require it), making skill the first pure-API domain
- featurize the skill domain: app/skillCatalog,
  workspace/workspaceSkillCatalog, session/sessionSkillCatalog,
  agent/skill, and agent/tools/skill move under src/features/skill;
  the static Skill tool registration and the AgentSkillService are gone
- resolve the runtime at the edge: kap-server routes and node-sdk
  activateSkill go through IAgentLifecycleService.resolve, and the
  klient dispatcher keeps the agentSkillService wire name over a
  per-agent view
2026-08-24 18:53:04 +08:00
..
contract refactor(agent-core-v2): migrate skill domain to agent runtime (#3202) 2026-08-24 18:53:04 +08:00
core refactor(agent-core-v2): migrate skill domain to agent runtime (#3202) 2026-08-24 18:53:04 +08:00
transports refactor(agent-core-v2): migrate skill domain to agent runtime (#3202) 2026-08-24 18:53:04 +08:00
index.ts refactor(agent-core-v2): migrate skill domain to agent runtime (#3202) 2026-08-24 18:53:04 +08:00