kimi-code/packages/agent-core-v2/test/session
haozhe.yang 3c6f20d0be refactor(agent-core-v2): remove session context path fields and finalize guards
Implement the M8b slice, completing the first-stage rework:

- Add ISessionHostFiles, a typed lease capability that carries the
  session host-file facts (plan/log/media/agent dirs); local leases
  project it, headless leases get the absent value. All business
  services (plan, sessionLog, task display, MCP originals, agent
  lifecycle, session metadata, cron) read paths from it instead of
  ISessionContext, with wire-visible values byte-identical.
- Delete ISessionContext.sessionDir/metaScope, the transitional
  pathful context seed, the session.host_files/os.stdio capabilities,
  and the unused bootstrap scope builders; cwd/workspaceId stay as
  logical metadata fed from the lease.
- Stream the export pipeline end to end (stat-only walks, lazy entry
  contents, streamed staging) and derive revisions from the same
  content hashes so transfer window validation is unchanged.
- Fix fs-watch duplicate subscriptions when a bare id reroutes to a
  different runtime; finalize domain guards with documented allowlist
  owners and pathlessness pins; node-sdk reads host files from the
  lease for live sessions.
2026-07-29 10:48:45 +08:00
..
agentLifecycle refactor(agent-core-v2): remove session context path fields and finalize guards 2026-07-29 10:48:45 +08:00
approval feat(agent-core-v2): add per-scope keyed state container (#2192) 2026-07-26 10:10:15 +08:00
btw feat: agent-core-v2 permission/workspace refactors and transcript durability (#2021) 2026-07-22 19:21:56 +08:00
cron refactor(agent-core-v2): register tools as scoped services (#2196) 2026-07-26 14:32:59 +08:00
interaction feat(agent-core-v2): add per-scope keyed state container (#2192) 2026-07-26 10:10:15 +08:00
process refactor(agent-core-v2): remove session context path fields and finalize guards 2026-07-29 10:48:45 +08:00
question refactor(agent-core-v2): register tools as scoped services (#2196) 2026-07-26 14:32:59 +08:00
sessionActivity refactor(agent-core-v2): register tools as scoped services (#2196) 2026-07-26 14:32:59 +08:00
sessionAgentProfileCatalog refactor(agent-core-v2): register tools as scoped services (#2196) 2026-07-26 14:32:59 +08:00
sessionFs refactor(agent-core-v2): register tools as scoped services (#2196) 2026-07-26 14:32:59 +08:00
sessionInit refactor(agent-core-v2): consolidate wire services (#1680) 2026-07-14 19:51:29 +08:00
sessionLog refactor(agent-core-v2): remove session context path fields and finalize guards 2026-07-29 10:48:45 +08:00
sessionMetadata refactor(agent-core-v2): remove session context path fields and finalize guards 2026-07-29 10:48:45 +08:00
sessionSkillCatalog refactor(agent-core-v2): register tools as scoped services (#2196) 2026-07-26 14:32:59 +08:00
subagent feat: support a configurable secondary model for subagents (#2064) 2026-07-24 12:16:53 +08:00
swarm refactor(agent-core-v2): remove session context path fields and finalize guards 2026-07-29 10:48:45 +08:00
terminal refactor(agent-core-v2): remove session context path fields and finalize guards 2026-07-29 10:48:45 +08:00
todo refactor(agent-core-v2): make undo domain-owned (#2055) 2026-07-27 11:09:26 +08:00
workspaceCommand refactor(agent-core-v2): remove session context path fields and finalize guards 2026-07-29 10:48:45 +08:00
workspaceContext style(agent-core-v2): remove non-header comments (#1656) 2026-07-14 10:50:22 +08:00