Install
Install with PiG
pig install npm:pi-superwhisper-pasteInstall with Pi
pi install npm:pi-superwhisper-pastePackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./extensions"
]
}README
Written by the package's publisher, shown as published in version 0.2.2 (README.md). PiG does not review it.
Pi Superwhisper Paste
Windows-focused Pi bridge that pastes Superwhisper clipboard output into Pi's TUI editor.
What this is
Superwhisper can paste dictated text into normal Windows apps, but terminal TUIs can be a rough edge. In the original case, dictation worked in Notepad and PowerShell, and Typeless worked in Pi, but Superwhisper's automatic paste did not reliably reach Pi's TUI editor without a manual Ctrl+V.
This package bridges that gap from the Pi side: it watches the Windows clipboard, detects new Superwhisper output, and inserts it into the active Pi editor with Pi's extension API.
The official Superwhisper Pi package (@superwhisper/pi) targets the deeplink/macOS flow. If you need the clipboard-based Windows workaround, use this package.
Features
- Default-on after the extension loads on Windows.
- Slash commands:
/sw-paste:onand/sw-paste:off. - Two transcription sources: clipboard polling (original) and Superwhisper's own recording files.
- Windows clipboard polling with active-tab gating.
- Brief copy-suppression window so local terminal copy actions do not get auto-pasted back into Pi.
- Clipboard-owner filtering so terminal/CLI-owned clipboard updates stay blocked by default.
- Focus gating, so a dictation lands only in the focused Pi session.
When the clipboard path is not enough
Superwhisper pastes through Windows UI Automation to find an editable target. Some terminal
hosts expose no automation tree at all — Herdr's GPUI window (Zed::Window) reports zero
children and no focused element — so Superwhisper finds nothing to paste into and drops the
transcription, even though its key injection works fine.
The recording source handles that case: Superwhisper writes every transcription to
%LOCALAPPDATA%\com.superwhisper.app\recordings\<id>\meta.json before it tries to paste, so
reading the file needs neither the clipboard nor UI Automation.
The default PI_SUPERWHISPER_PASTE_SOURCE=clipboard keeps the original clipboard workflow.
Opt into reading those files with PI_SUPERWHISPER_PASTE_SOURCE=recording; auto is also
available to select recordings when the folder exists and otherwise fall back to clipboard.
See docs/examples.md.
Install
Install the published npm package with Pi:
pi install npm:pi-superwhisper-paste
Pin a specific version when you want reproducible installs:
pi install npm:pi-superwhisper-paste@0.2.2
Install into the current project instead of your user Pi settings:
pi install npm:pi-superwhisper-paste -l
Or install from GitHub:
pi install git:github.com/eiei114/pi-superwhisper-paste
Try it without permanently installing:
pi -e npm:pi-superwhisper-paste
Official Superwhisper package
If you are using the official Superwhisper Pi integration instead:
pi install npm:@superwhisper/pi
Docs: https://superwhisper.com/pi
Quick start
After install, start Pi and dictate with Superwhisper. By default, the bridge auto-pastes new Superwhisper clipboard output into the active Pi editor. Set PI_SUPERWHISPER_PASTE_SOURCE=recording to opt into reading transcriptions from Superwhisper's recordings folder, or set it to auto to select recordings when that folder exists and otherwise use the clipboard.
Toggle the bridge at runtime:
/sw-paste:off
/sw-paste:on
Try this package locally from a clone:
pi -e .
Package contents
| Path | Purpose |
|---|---|
extensions/index.ts | Pi TypeScript extension entrypoint |
docs/examples.md | Usage examples |
docs/release.md | Trusted Publishing release flow |
docs/template-checklist.md | Maintainer template checklist |
CHANGELOG.md | Version history |
LICENSE | MIT license |
Development
npm install
npm run ci
Release
This package is set up for npm Trusted Publishing, so no NPM_TOKEN is required.
npm version patch
git push
See docs/release.md for setup details.
Security
Pi packages can execute code with your local permissions. Review extensions before installing third-party packages.
For vulnerability reporting, see SECURITY.md.
Links
- npm: https://www.npmjs.com/package/pi-superwhisper-paste
- GitHub: https://github.com/eiei114/pi-superwhisper-paste
- Issues: https://github.com/eiei114/pi-superwhisper-paste/issues
- Official Superwhisper Pi package: https://superwhisper.com/pi —
@superwhisper/pion npm (pi install npm:@superwhisper/pi)
License
MIT
