Add source and thread_location properties to New Thread Clicked
Katie Geer
created
Enriches the existing event with two new properties:
- source: 'agent_panel' when triggered from the toolbar + button in the
agent panel, 'sidebar' when triggered from the sidebar thread list.
- thread_location: 'current_worktree' or 'new_worktree', read from
AgentSettings::new_thread_location at event-fire time in both call
sites. This reflects the user's active preference for where new
threads land, matching NewThreadLocation::LocalProject and
NewThreadLocation::NewWorktree respectively.