dev-cockpit 0.3.3 → 0.3.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.
@@ -70,6 +70,10 @@
70
70
  "$ref": "#/$defs/ComposerSettings",
71
71
  "description": "Composer scopes for the auto-registered `composer-drift` health check. Wrappers with nested PHP roots (Bedrock-style `project/`, monorepos, etc.) list each scope explicitly."
72
72
  },
73
+ "keybindings": {
74
+ "$ref": "#/$defs/Keybindings",
75
+ "description": "Single-keypress dispatch table for the Health pane. Maps a key character to one or more health check ids that fire when the user presses that key. Resolves the 'same key on multiple rows, only first wins' footgun — multi-id bindings fire all listed rows in declared order."
76
+ },
73
77
  "defaultPane": {
74
78
  "type": "string",
75
79
  "enum": ["repos", "output", "health", "help"],
@@ -430,6 +434,20 @@
430
434
  },
431
435
  "additionalProperties": false
432
436
  },
437
+ "Keybindings": {
438
+ "type": "object",
439
+ "description": "Single-keypress → list-of-health-ids dispatch table. Each value may be a string (one id) or an array (fired in declared order on press). Keys SHOULD be single characters; longer strings are accepted but won't ever match a keypress.",
440
+ "additionalProperties": {
441
+ "oneOf": [
442
+ { "type": "string", "description": "Single health check id to fire." },
443
+ {
444
+ "type": "array",
445
+ "items": { "type": "string" },
446
+ "description": "Ordered list of health check ids. All fire on a single keypress."
447
+ }
448
+ ]
449
+ }
450
+ },
433
451
  "Action": {
434
452
  "type": "object",
435
453
  "required": ["id", "label", "command"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dev-cockpit",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "A reusable, domain-neutral terminal UI dev cockpit — tabbed pane shell, watcher streaming, optional Docker log tail with highlights, health framework with one-keystroke remediations, transition-only OS notifications, live-markdown Help. Profiles extend it with project-specific commands, repos, and health checks.",
5
5
  "license": "MIT",
6
6
  "repository": {