Follow-up to #668. The Codex plugin ships hooks/hooks.json with:
"command": "uploads hook pre-pr-screenshot"
That assumes a global uploads binary on PATH. Official directory plugins either ship no hooks (Cloudflare, GitHub, Vercel directory) or vendor a script under the plugin root. ChatGPT has no hook runtime. Codex skips plugin hooks until the user trusts them.
A portal scan that rejects undeclared local binaries will flag this. It is also a silent no-op for anyone who installed the plugin without the CLI — the opposite of what the reminder is for.
Options
- Omit the hook from the directory package. Keep it for the Claude marketplace and
uploads install. Cleanest for ChatGPT review.
- Vendor a fail-open script in the plugin zip (
${PLUGIN_ROOT}/hooks/…) that no-ops if uploads is missing. Matches Figma / vercel-plugin.
Prefer (1) unless Codex-in-the-directory still wants the reminder without a separate CLI install.
What this is not
Not a change to the hook's behavior when the CLI is installed. Not a rewrite of the screenshot reminder itself.
Follow-up to #668. The Codex plugin ships
hooks/hooks.jsonwith:That assumes a global
uploadsbinary onPATH. Official directory plugins either ship no hooks (Cloudflare, GitHub, Vercel directory) or vendor a script under the plugin root. ChatGPT has no hook runtime. Codex skips plugin hooks until the user trusts them.A portal scan that rejects undeclared local binaries will flag this. It is also a silent no-op for anyone who installed the plugin without the CLI — the opposite of what the reminder is for.
Options
uploads install. Cleanest for ChatGPT review.${PLUGIN_ROOT}/hooks/…) that no-ops ifuploadsis missing. Matches Figma / vercel-plugin.Prefer (1) unless Codex-in-the-directory still wants the reminder without a separate CLI install.
What this is not
Not a change to the hook's behavior when the CLI is installed. Not a rewrite of the screenshot reminder itself.