Plugin requests macOS "control other applications" access it doesn't need #59
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plugin requests macOS "control other applications" access it doesn't need
Summary
Using the plugin triggers macOS's "wants access to control other
applications" (Automation / Apple Events) permission prompt — but the plugin
works fine when the user declines, so the access is unnecessary and the
prompt should never appear.
Problem / pain
A coauthoring tool that suddenly asks to control other applications reads as
alarming — it's the same prompt malware and automation tools trigger, and it
gives no reason tied to anything the user did. The user declines, and everything
keeps working normally, which proves the access isn't needed for the feature at
hand. The net effect is an unexplained, scary-looking system prompt that erodes
trust in the plugin and makes it feel less safe than it is, for zero functional
benefit.
Who feels it
Every macOS user of the plugin — the prompt fires on use, regardless of what
they're doing, the first time the triggering code path runs.
Steps to reproduce
needed.
Expected vs. actual
applications" access; no such prompt appears during normal use.
Desired outcome / value
Normal use of the plugin never triggers a "control other applications" prompt.
The plugin only requests OS permissions it genuinely needs, so it reads as
trustworthy and behaves predictably on macOS.
Acceptance — "done right"
exercising the plugin's normal flows does not trigger the "control other
applications" / Apple Events prompt.
(it already works declined — it must still work with the prompt gone).
automation/Apple-Events call is removed or made not to fire (or, if it
originates upstream in
@cline/sdk, the dependency is configured/updated tonot request it — see notes).
Scope / non-goals
In scope: stopping the plugin from requesting macOS Automation / "control
other applications" access during normal use.
Non-goals:
user-invoked action.
Assumptions · constraints · dependencies
AppleScript /
osascript/ automation calls — the trigger appears to come from@cline/sdk/@cline/coreduring agent activation (a likely suspect isits local Claude Code hub-discovery), which falls back gracefully when the
permission is denied (explaining why declining works). Confirming the exact
trigger is the first task of the fix.
@cline/sdk, the fix may be a config/flag todisable the offending discovery, a dependency update, or an upstream issue —
rather than a change in this repo's own code.
macOS host and may require resetting the host app's Automation permission
(
tccutil reset AppleEvents) between runs.Source / signal
Self-originated — capture session vscode-cowriting-plugin-0053
(2026-06-15). Dev observation: "The plugin is asking for access to other
applications but works fine when I decline. It just shouldn't." Investigation
this session found no automation calls in the extension's own code; the probable
origin is
@cline/sdk/@cline/coreagent activation.Priority (WSJF)
Provisional: Value 6 · Time-criticality 3 · Opportunity-enablement 2 ÷ Size 4 =
~2.75.
priority/P1(operator call) — functionally harmless (decliningworks) but a serious trust / launch-optics problem: a "control other
applications" prompt from a writing tool is the kind of thing that makes users
distrust or uninstall, so it's treated as high priority despite the harmless
functional impact. Sizing is uncertain because the cause may be upstream in
@cline/sdk.Decomposition
Single increment (Bug). Tasks:
(instrument activation; bisect the
@cline/sdkagent run / hub discovery).an upstream
@cline/sdkchange/update.and the declined-path feature still works.