@checkstack/healthcheck-ssh-backend 0.2.6 → 0.2.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # @checkstack/healthcheck-ssh-backend
2
2
 
3
+ ## 0.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [d1a2796]
8
+ - Updated dependencies [3c34b07]
9
+ - @checkstack/common@0.6.5
10
+ - @checkstack/backend-api@0.11.1
11
+ - @checkstack/healthcheck-common@0.10.1
12
+ - @checkstack/healthcheck-ssh-common@0.1.11
13
+
14
+ ## 0.2.7
15
+
16
+ ### Patch Changes
17
+
18
+ - 54a5f80: ### Health Check Editor Redesign — IDE-Style Experience
19
+
20
+ Replaces the modal-based health check editor with a full-page, IDE-style experience:
21
+
22
+ - **Strategy Picker Page**: New `/config/create` page with categorized strategy discovery, search filtering, and grouped card grid layout
23
+ - **IDE Editor Page**: New `/config/:configId/edit` page with a split-view layout — explorer tree on the left, editor panel on the right
24
+ - **Strategy Categories**: Introduces `StrategyCategory` enum with 16 categories (Networking, Database, Infrastructure, etc.) — all 13 strategy plugins now declare their category
25
+ - **New RPC Endpoint**: Added `getConfiguration` (singular by ID) for efficient single-resource fetching on the edit page
26
+ - **Explorer Tree**: Left-hand navigation with General, Check Items (collectors), and Access Control sections, with real-time validation indicators
27
+ - **Validation Status Bar**: Bottom bar showing aggregated validation issues with clickable navigation
28
+ - **Unsaved Changes Guard**: Browser `beforeunload` protection when the form is dirty
29
+ - **Responsive Design**: Split-view on desktop, stacked layout on mobile
30
+ - **Deleted**: Legacy `HealthCheckEditor.tsx` modal component
31
+
32
+ - Updated dependencies [54a5f80]
33
+ - @checkstack/healthcheck-common@0.10.0
34
+ - @checkstack/backend-api@0.11.0
35
+
3
36
  ## 0.2.6
4
37
 
5
38
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/healthcheck-ssh-backend",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "checkstack": {
@@ -12,9 +12,9 @@
12
12
  "lint:code": "eslint . --max-warnings 0"
13
13
  },
14
14
  "dependencies": {
15
- "@checkstack/backend-api": "0.10.0",
15
+ "@checkstack/backend-api": "0.11.0",
16
16
  "@checkstack/common": "0.6.4",
17
- "@checkstack/healthcheck-common": "0.8.4",
17
+ "@checkstack/healthcheck-common": "0.10.0",
18
18
  "@checkstack/healthcheck-ssh-common": "0.1.10",
19
19
  "ssh2": "1.16.0"
20
20
  },
@@ -22,7 +22,7 @@
22
22
  "@types/bun": "^1.0.0",
23
23
  "@types/ssh2": "1.15.0",
24
24
  "typescript": "^5.0.0",
25
- "@checkstack/tsconfig": "0.0.4",
25
+ "@checkstack/tsconfig": "0.0.5",
26
26
  "@checkstack/scripts": "0.1.2"
27
27
  }
28
28
  }
package/src/strategy.ts CHANGED
@@ -23,6 +23,7 @@ import {
23
23
  healthResultNumber,
24
24
  healthResultString,
25
25
  healthResultSchema,
26
+ StrategyCategory,
26
27
  } from "@checkstack/healthcheck-common";
27
28
  import type { SshTransportClient, SshCommandResult } from "./transport-client";
28
29
 
@@ -191,6 +192,7 @@ export class SshHealthCheckStrategy implements HealthCheckStrategy<
191
192
  id = "ssh";
192
193
  displayName = "SSH Health Check";
193
194
  description = "SSH server connectivity and command execution health check";
195
+ category = StrategyCategory.INFRASTRUCTURE;
194
196
 
195
197
  private sshClient: SshClient;
196
198