@checkstack/catalog-common 1.2.10 → 1.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,45 @@
1
1
  # @checkstack/catalog-common
2
2
 
3
+ ## 1.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 3f36a64: Add System Dependencies plugin
8
+
9
+ Introduces the system dependencies feature with three new core plugins and
10
+ extends the catalog with a new SystemEditorSlot extension point.
11
+
12
+ **New plugins:**
13
+
14
+ - **dependency-common**: Shared Zod schemas, RPC contract with resource-level access control, signal definitions, and routes
15
+ - **dependency-backend**: Drizzle schema, DependencyService with cycle detection, WarningEvaluationService with transitive impact matrix, RPC router with signal broadcasting, and per-user canvas node position persistence
16
+ - **dependency-frontend**: DependencyBadge (dashboard), DependencyAlert (system details), DependencyEditor (system editor dialog), and interactive DependencyMapPage (React Flow canvas)
17
+
18
+ **Catalog extensions:**
19
+
20
+ - **catalog-common**: New `SystemEditorSlot` for plugin-injected sections in the system editor dialog
21
+ - **catalog-frontend**: `SystemEditor` renders the slot after TeamAccessEditor for existing systems
22
+
23
+ **Key capabilities:**
24
+
25
+ - Directional dependency edges between systems (source depends on target)
26
+ - Three impact types: informational, degraded, critical
27
+ - Transitive multi-hop warning propagation with toggle switch
28
+ - Cycle detection at creation time with graphical chain visualization
29
+ - Health check-level dependency rules
30
+ - Interactive dependency map with drag-to-connect, edge click editor, and auto-saving node positions
31
+ - Inline editing of dependencies in both the system editor and the map canvas
32
+ - Team-based resource-level access control on all mutation endpoints
33
+ - Realtime signal-driven UI updates
34
+
35
+ ## 1.2.11
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies [c0c0ed2]
40
+ - Updated dependencies [c0c0ed2]
41
+ - @checkstack/auth-common@0.6.0
42
+
3
43
  ## 1.2.10
4
44
 
5
45
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/catalog-common",
3
- "version": "1.2.10",
3
+ "version": "1.3.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -8,16 +8,16 @@
8
8
  }
9
9
  },
10
10
  "dependencies": {
11
- "@checkstack/common": "0.6.3",
12
- "@checkstack/auth-common": "0.5.6",
13
- "@checkstack/frontend-api": "0.3.7",
11
+ "@checkstack/common": "0.6.4",
12
+ "@checkstack/auth-common": "0.6.0",
13
+ "@checkstack/frontend-api": "0.3.8",
14
14
  "@orpc/contract": "^1.13.14",
15
15
  "zod": "^4.2.1"
16
16
  },
17
17
  "devDependencies": {
18
18
  "typescript": "^5.7.2",
19
- "@checkstack/tsconfig": "0.0.3",
20
- "@checkstack/scripts": "0.1.1"
19
+ "@checkstack/tsconfig": "0.0.4",
20
+ "@checkstack/scripts": "0.1.2"
21
21
  },
22
22
  "scripts": {
23
23
  "typecheck": "tsc --noEmit",
package/src/slots.ts CHANGED
@@ -72,3 +72,22 @@ export const CatalogSystemActionsSlot = createSlot<{
72
72
  export const SystemStateBadgesSlot = createSlot<{ system: System }>(
73
73
  "plugin.catalog.system-state-badges"
74
74
  );
75
+
76
+ /**
77
+ * Slot for extending the System Editor dialog with additional sections.
78
+ * Only rendered when editing an existing system (not during creation).
79
+ * Extensions receive the system ID.
80
+ *
81
+ * @example
82
+ * // In your plugin
83
+ * import { SystemEditorSlot } from "@checkstack/catalog-common";
84
+ *
85
+ * extensions: [{
86
+ * id: "my-plugin.system-editor",
87
+ * slotId: SystemEditorSlot.id,
88
+ * component: ({ systemId }) => <MySection systemId={systemId} />,
89
+ * }]
90
+ */
91
+ export const SystemEditorSlot = createSlot<{ systemId: string }>(
92
+ "plugin.catalog.system-editor"
93
+ );