mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-10 01:39:25 +00:00
Introduce packages/agent-core-v2, the next-generation agent engine built on a four-level DI Scope architecture (Core/Session/Agent/Turn). - Port VSCode-style DI primitives into _base/di and add a Scope layer (LifecycleScope, registerScopedService, Scope tree, IScopeHandle). - Implement domain services across L1-L7 and cross-cutting domains (log, telemetry, environment, kaos, kosong, records, config, tool, skill, permission, approval, question, context, message, turn, injection, compaction, plan, goal, swarm, usage, tooldedup, background, cron, mcp, agent-lifecycle, session-context, session-activity, session, hooks, event, gateway, terminal, fs, workspace, filestore, auth). - Establish DI testing conventions: resolve the system under test by interface through the container, with shared stubs under test/<domain>/stubs.ts (environment/log/records/turn). - Add a domain-layer import boundary checker and a service dependency graph generator. - Register the package in flake.nix (workspacePaths / workspaceNames). v1 (packages/agent-core) is left untouched; the server/SDK switchover is a later step. See plan/ for the design, roadmap, and skeleton spec.
7 lines
132 B
JSON
7 lines
132 B
JSON
{
|
|
"extends": "../../tsconfig.json",
|
|
"compilerOptions": {
|
|
"experimentalDecorators": true
|
|
},
|
|
"include": ["src", "test"]
|
|
}
|