Fix external tool call locations (#58367)

Summary:

- Allow agent tool-call locations outside visible worktrees to resolve
as local buffers.
- Fall back to opening absolute paths from the tool-call click handler.

Tests:

- cargo test -p acp_thread
test_tool_call_location_resolves_external_file
- cargo check -p agent_ui

Closes AI-362
Release Notes:

- Fixed opening agent-created files outside the current project, such as
global skill files.
6014f59451MartinYe1234 committed on 6/3/2026, 7:48:08 PM· committed by GitHubparent131161c
2 files changedLine totals unavailable