kimi-code/packages/agent-core-v2/tsconfig.json
haozhe.yang 39132da624 feat(agent-core-v2): introduce agent-core-v2 with DI scope engine
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.
2026-06-25 13:45:01 +08:00

7 lines
132 B
JSON

{
"extends": "../../tsconfig.json",
"compilerOptions": {
"experimentalDecorators": true
},
"include": ["src", "test"]
}