Under the hood
Accepting a diff in the IDE extension now tags the permission decision as coming from the IDE
What
When you accept a code change through the IDE extension's diff view, the permission decision that gets recorded now includes surface: "ide", but only when the underlying connection is one of the IDE connection types (sse-ide or ws-ide). Otherwise this field is left unset.
Why
This lets Claude Code distinguish permission decisions made through the IDE diff view from those made elsewhere, which is useful for understanding where approvals are coming from.