dev-cockpit 0.3.1 → 0.3.3

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.
@@ -66,6 +66,10 @@
66
66
  "$ref": "#/$defs/MountSettings",
67
67
  "description": "Overlay/manifest path overrides. Default overlay lives at <stateDir>/dev-mount-overlay.yml (out of the repo). Set `overlayPath` when the project's compose chain (Makefile wildcard, compose -f include, etc.) expects the overlay at a fixed location."
68
68
  },
69
+ "composer": {
70
+ "$ref": "#/$defs/ComposerSettings",
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
+ },
69
73
  "defaultPane": {
70
74
  "type": "string",
71
75
  "enum": ["repos", "output", "health", "help"],
@@ -214,13 +218,13 @@
214
218
  },
215
219
  "Remediation": {
216
220
  "type": "object",
217
- "required": ["key", "label", "command"],
221
+ "required": ["label", "command"],
218
222
  "properties": {
219
223
  "key": {
220
224
  "type": "string",
221
225
  "minLength": 1,
222
226
  "maxLength": 1,
223
- "description": "Single key character that triggers the remediation in the Health pane."
227
+ "description": "Single key character that triggers the remediation in the Health pane. Optional — when omitted, the row is documentation-only (useful when multiple health entries share the same underlying command and you only want ONE row to be the trigger)."
224
228
  },
225
229
  "label": {
226
230
  "type": "string"
@@ -414,6 +418,18 @@
414
418
  },
415
419
  "additionalProperties": false
416
420
  },
421
+ "ComposerSettings": {
422
+ "type": "object",
423
+ "properties": {
424
+ "packageDirs": {
425
+ "type": "array",
426
+ "items": { "type": "string" },
427
+ "default": ["."],
428
+ "description": "Workspace-relative directories that contain a `composer.lock`. The auto-registered `composer-drift` health check scans each entry for lock-vs-vendor mtime drift. `.` and `\"\"` both resolve to workspaceRoot. Example: `['.', 'project']` for a Bedrock-style wrapper with root + nested PHP scopes."
429
+ }
430
+ },
431
+ "additionalProperties": false
432
+ },
417
433
  "Action": {
418
434
  "type": "object",
419
435
  "required": ["id", "label", "command"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dev-cockpit",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
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": {