peakypanes 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +24 -4
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -243,13 +243,14 @@ The dashboard shows:
243
243
  - Quick reply bar (always visible) and target pane highlight for follow-ups
244
244
 
245
245
  Navigation (always visible):
246
- - `ctrl+h/ctrl+l` project, `ctrl+k/ctrl+j` session, `ctrl+u/ctrl+d` window, `tab/⇧tab` pane, `ctrl+g` help
246
+ - `ctrl+a/ctrl+d` project, `ctrl+w/ctrl+s` session, `tab/⇧tab` pane (across windows), `ctrl+g` help
247
247
 
248
248
  Key bindings (also shown in the help view):
249
+ Keymap overrides are available in the global config (`~/.config/peakypanes/config.yml`).
249
250
 
250
251
  Project
251
252
  - `ctrl+o` open project picker (creates session detached; stay in dashboard)
252
- - `ctrl+b` close project (kills all running sessions in project)
253
+ - `ctrl+b` close project (hides from tabs; sessions keep running; press k in the dialog to kill)
253
254
 
254
255
  Session
255
256
  - `enter` attach/start session (when reply is empty)
@@ -259,15 +260,19 @@ Session
259
260
  - rename session via command palette (`ctrl+p`)
260
261
 
261
262
  Window
262
- - `ctrl+w` toggle window list
263
+ - `ctrl+u` toggle window list
263
264
  - rename window via command palette (`ctrl+p`)
264
265
 
266
+ Pane
267
+ - rename pane via command palette (`ctrl+p`)
268
+ - `ctrl+y` peek selected pane in new terminal
269
+
265
270
  Tmux (inside session)
266
271
  - `prefix+g` open dashboard popup (tmux prefix is yours)
267
272
 
268
273
  Other
269
274
  - `ctrl+p` command palette
270
- - `ctrl+r` refresh, `ctrl+e` edit config, `ctrl+f` filter, `ctrl+q` quit (or `ctrl+c`)
275
+ - `ctrl+r` refresh, `ctrl+e` edit config, `ctrl+f` filter, `ctrl+c` quit
271
276
 
272
277
  Quick reply details: the input is always active—type and press `enter` to send to the highlighted pane. Use `esc` to clear. `tab/⇧tab` still cycles panes while the input is focused.
273
278
 
@@ -282,6 +287,19 @@ dashboard:
282
287
  idle_seconds: 20
283
288
  show_thumbnails: true
284
289
  preview_mode: grid # grid | layout
290
+ attach_behavior: new_terminal # current | new_terminal | detached
291
+ keymap:
292
+ project_left: ["ctrl+a"]
293
+ project_right: ["ctrl+d"]
294
+ session_up: ["ctrl+w"]
295
+ session_down: ["ctrl+s"]
296
+ pane_next: ["tab"]
297
+ pane_prev: ["shift+tab"]
298
+ peek_pane: ["ctrl+y"]
299
+ toggle_windows: ["ctrl+u"]
300
+ command_palette: ["ctrl+p"]
301
+ help: ["ctrl+g"]
302
+ quit: ["ctrl+c"]
285
303
  status_regex:
286
304
  success: "(?i)done|finished|success|completed|✅"
287
305
  error: "(?i)error|failed|panic|❌"
@@ -291,6 +309,8 @@ dashboard:
291
309
  claude: true
292
310
  ```
293
311
 
312
+ `attach_behavior` controls what the “attach/start” action does (default `new_terminal`): `current` switches the terminal running PeakyPanes into the session, `new_terminal` opens a fresh terminal to attach, and `detached` only creates the session.
313
+
294
314
  ### Agent Status Detection (Codex & Claude Code)
295
315
 
296
316
  PeakyPanes can read per-pane JSON state files to show accurate running/idle/done status for Codex CLI and Claude Code TUI sessions. This is **on by default** and falls back to regex/idle detection if no state file is present. You can disable it via `dashboard.agent_detection`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peakypanes",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Tmux layout manager with YAML based configuration.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/regenrek/peakypanes",
@@ -12,10 +12,10 @@
12
12
  "peakypanes": "bin/peakypanes.js"
13
13
  },
14
14
  "optionalDependencies": {
15
- "peakypanes-darwin-x64": "0.0.2",
16
- "peakypanes-darwin-arm64": "0.0.2",
17
- "peakypanes-linux-x64": "0.0.2",
18
- "peakypanes-linux-arm64": "0.0.2"
15
+ "peakypanes-darwin-x64": "0.0.4",
16
+ "peakypanes-darwin-arm64": "0.0.4",
17
+ "peakypanes-linux-x64": "0.0.4",
18
+ "peakypanes-linux-arm64": "0.0.4"
19
19
  },
20
20
  "engines": {
21
21
  "node": ">=18"