Skip to content
Open
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,23 @@ Configuration keys:

**Available macOS sounds:** Basso, Blow, Bottle, Frog, Funk, Glass, Hero, Morse, Ping, Pop, Purr, Sosumi, Submarine, Tink

## Kitty Setup

If you want exact Kitty window/tab restore on notification click, enable Kitty remote control in `kitty.conf`:

```conf
allow_remote_control yes
listen_on unix:/tmp/kitty-{kitty_pid}
```

Then restart Kitty before testing.

Notes:

- `allow_remote_control yes` enables the `kitty @` commands the plugin uses for exact window targeting.
- `listen_on unix:/tmp/kitty-{kitty_pid}` ensures each Kitty instance exposes a stable socket path the plugin can address.
- Without this config, macOS can still bring Kitty to the foreground, but the plugin cannot reliably target the exact originating Kitty window/tab.

## FAQ

### Does this add bloat to my context?
Expand Down
18 changes: 17 additions & 1 deletion registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,24 @@
"npmDependencies": ["node-notifier", "detect-terminal"],
"files": [
{
"path": "src/kdco-notify.ts",
"path": "src/notify.ts",
"target": "plugin/kdco-notify.ts"
},
{
"path": "src/notify/backend.ts",
"target": "plugin/notify/backend.ts"
},
{
"path": "src/notify/cmux.ts",
"target": "plugin/notify/cmux.ts"
},
{
"path": "src/kdco-primitives/types.ts",
"target": "plugin/kdco-primitives/types.ts"
},
{
"path": "src/kdco-primitives/with-timeout.ts",
"target": "plugin/kdco-primitives/with-timeout.ts"
}
]
}
Expand Down
Loading