dev-cockpit 0.3.4 → 0.4.0
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.
- package/dist/commands/init-config-wizard.d.ts.map +1 -1
- package/dist/core/config.d.ts +44 -59
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/migrations.d.ts.map +1 -1
- package/dist/index.js +60 -15
- package/dist/index.js.map +2 -2
- package/examples/cockpit.schema.json +3 -8
- package/package.json +1 -1
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"properties": {
|
|
9
9
|
"version": {
|
|
10
10
|
"type": "integer",
|
|
11
|
-
"const":
|
|
12
|
-
"description": "Config schema version. Current:
|
|
11
|
+
"const": 3,
|
|
12
|
+
"description": "Config schema version. Current: 3. Older configs (v1, v2) are migrated in memory; run `dev-cockpit migrate-config` to persist."
|
|
13
13
|
},
|
|
14
14
|
"appName": {
|
|
15
15
|
"type": "string",
|
|
@@ -223,13 +223,8 @@
|
|
|
223
223
|
"Remediation": {
|
|
224
224
|
"type": "object",
|
|
225
225
|
"required": ["label", "command"],
|
|
226
|
+
"description": "Health remediation: label + shell command. v3 dropped the inline `key:` field — bind keys via the top-level `keybindings:` map instead (multiple rows can share a single keystroke and all fire in order).",
|
|
226
227
|
"properties": {
|
|
227
|
-
"key": {
|
|
228
|
-
"type": "string",
|
|
229
|
-
"minLength": 1,
|
|
230
|
-
"maxLength": 1,
|
|
231
|
-
"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)."
|
|
232
|
-
},
|
|
233
228
|
"label": {
|
|
234
229
|
"type": "string"
|
|
235
230
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dev-cockpit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
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": {
|