Where does the bug appear (feature/product)?
Somewhere else…
Describe the Bug
Environment
- OS: Windows 10/11 (build: ___)
- Cursor version: ___
Actual
Windows shows “How do you want to open this file?” for:
C:\Users\<user>\.cursor\plugins\cache\cursor-public\superpowers\<hash>\hooks\session-start
Notes / hypothesis
session-startis a bash hook script with no file extension (intentional in Superpowers for Claude Code compatibility; see plugin’srun-hook.cmdcomments).hooks-cursor.jsonconfigures:"command": "./hooks/session-start".- On Windows, if the host invokes this like a document “open” instead of executing via bash/
run-hook.cmd, the shell has no handler for extensionless files → Windows shows the picker. - Suggest: on Windows, run Cursor hooks that point at extensionless scripts through the same pattern as Claude Code (
run-hook.cmd session-start) or equivalentbash.exeinvocation.
Plugin reference
- Superpowers:
hooks/hooks-cursor.json→sessionStart→./hooks/session-start - Same plugin ships
hooks/run-hook.cmdfor Windows-safe bash execution of that script.
Steps to Reproduce
Steps to reproduce
- Install/enable the Superpowers plugin (cursor-public marketplace).
- Use agent sessions as normal.
- Use “Archive all” (or equivalent) for agent sessions.
Expected Behavior
Expected
Archiving completes with no OS file-association dialog.
Operating System
Windows 10/11
Version Information
Version: 2.6.22 (user setup)
VSCode Version: 1.105.1
Commit: c6285feaba0ad62603f7c22e72f0a170dc8415a0
Date: 2026-03-27T15:59:31.561Z
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200
Does this stop you from using Cursor
No - Cursor works, but with this issue