73102d20df
- Extended ResolveContext / WriteContext with localProtocolOptions so the internal-URL router can thread the calling session's local-root mapping through to handlers. - LocalProtocolHandler.resolveOptions now prefers context.localProtocolOptions before consulting the process-global override or the first main-kind session in AgentRegistry, fixing multi-session ACP hosts (cmux) where reads of local://PLAN.md were routing to a sibling session's artifacts dir even though plan-mode writes succeeded against the calling session. - read, find, ast_grep, ast_edit, and search now thread this.session.localProtocolOptions into the router so local://, memory://, agent://, and other handlers see the right caller. - Added regression tests covering the override-vs-context priority and the ENOENT-against-caller-root path. Fixes #1608