mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-31 18:46:27 +00:00
* feat(agent-core-v2): support caller-supplied MCP servers on session create - add mcpServers to CreateSessionOptions, forwarded to the session's first ensureMcpReady call so caller-supplied servers ride on the initial load - ensureMcpReady accepts callerServers, honored only by the call that starts the initial load; later calls just await the in-flight single-flight load - merge precedence mirrors v1 (rpc/core-impl.ts): file config < caller-supplied < plugin servers * feat(agent-core-v2): file tools reach skill roots; add skillDirs seed - add extendWorkspaceWithSkillRoots to path-access; Read/Write/Edit/Grep/ Glob and media tools merge skill-catalog roots into the workspace per call (v1 merged once at construction), so skill dirs outside the cwd stay reachable and late-loading roots are picked up - add skillCatalogRuntimeOptionsSeed; wire --skillsDir into the v2 print CLI and skillDirs into kap-server startServer (v1 SDK skillDirs parity) * chore: add changesets for v2 caller MCP servers and skill dirs fixes |
||
|---|---|---|
| .. | ||
| lib | ||
| middleware | ||
| openapi | ||
| routes | ||
| security | ||
| services | ||
| svc | ||
| transport | ||
| contract.ts | ||
| env.d.ts | ||
| envelope.ts | ||
| error-handler.ts | ||
| index.ts | ||
| instanceRegistry.ts | ||
| lock.ts | ||
| request-id.ts | ||
| requestLogging.ts | ||
| start.ts | ||
| version.ts | ||