refactor: pass store via AgentContext, eliminate duplicate store instances #340

Merged
xiaomo merged 1 commits from refactor/pass-store-via-context into main 2026-05-18 16:05:38 +00:00

1 Commits

Author SHA1 Message Date
xiaoju cfebd07124 refactor(agent-kit): pass CAS store through AgentContext
Expose the store created during context build on AgentContext so agents
reuse the same in-memory cache instead of opening a second store.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-18 16:04:15 +00:00