@terasky/backstage-plugin-ai-rules 1.2.0 → 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +18 -17
  2. package/package.json +10 -10
package/dist/index.d.ts CHANGED
@@ -1,22 +1,8 @@
1
- import { Entity } from '@backstage/catalog-model';
2
1
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
3
2
  import React from 'react';
3
+ import { Entity } from '@backstage/catalog-model';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
-
6
- interface AiInstructionsComponentProps {
7
- title?: string;
8
- }
9
- declare const AiInstructionsComponent: ({ title }: AiInstructionsComponentProps) => react_jsx_runtime.JSX.Element;
10
-
11
- interface MCPServersComponentProps {
12
- title?: string;
13
- }
14
- declare const MCPServersComponent: ({ title }: MCPServersComponentProps) => react_jsx_runtime.JSX.Element;
15
-
16
- interface AIRulesComponentProps {
17
- title?: string;
18
- }
19
- declare const isAIRulesAvailable: (entity: Entity) => boolean;
5
+ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
20
6
 
21
7
  declare const aiRulesPlugin: _backstage_core_plugin_api.BackstagePlugin<{
22
8
  root: _backstage_core_plugin_api.RouteRef<undefined>;
@@ -104,7 +90,22 @@ interface MCPServersResponse {
104
90
  servers: MCPServerInfo[];
105
91
  }
106
92
 
107
- declare const aiRulesApiRef: _backstage_core_plugin_api.ApiRef<AiRulesApi>;
93
+ interface MCPServersComponentProps {
94
+ title?: string;
95
+ }
96
+ declare const MCPServersComponent: ({ title }: MCPServersComponentProps) => react_jsx_runtime.JSX.Element;
97
+
98
+ interface AiInstructionsComponentProps {
99
+ title?: string;
100
+ }
101
+ declare const AiInstructionsComponent: ({ title }: AiInstructionsComponentProps) => react_jsx_runtime.JSX.Element;
102
+
103
+ interface AIRulesComponentProps {
104
+ title?: string;
105
+ }
106
+ declare const isAIRulesAvailable: (entity: Entity) => boolean;
107
+
108
+ declare const aiRulesApiRef: _backstage_frontend_plugin_api.ApiRef<AiRulesApi>;
108
109
  interface AiRulesApi {
109
110
  getAiRules(ruleTypes: string[]): Promise<AIRulesResponse>;
110
111
  getMCPServers(gitUrl: string): Promise<MCPServersResponse>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@terasky/backstage-plugin-ai-rules",
3
3
  "description": "AI Rules Visualizer Plugin for Backstage",
4
- "version": "1.2.0",
4
+ "version": "1.3.0",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -38,11 +38,11 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@backstage/catalog-model": "^1.7.6",
41
- "@backstage/core-components": "^0.18.3",
42
- "@backstage/core-plugin-api": "^1.12.0",
43
- "@backstage/frontend-plugin-api": "^0.13.1",
44
- "@backstage/plugin-catalog-react": "^1.21.3",
45
- "@backstage/theme": "^0.7.0",
41
+ "@backstage/core-components": "^0.18.4",
42
+ "@backstage/core-plugin-api": "^1.12.1",
43
+ "@backstage/frontend-plugin-api": "^0.13.2",
44
+ "@backstage/plugin-catalog-react": "^1.21.4",
45
+ "@backstage/theme": "^0.7.1",
46
46
  "@material-ui/core": "^4.12.4",
47
47
  "@material-ui/icons": "^4.11.3",
48
48
  "@material-ui/lab": "4.0.0-alpha.61"
@@ -51,10 +51,10 @@
51
51
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@backstage/cli": "^0.34.5",
55
- "@backstage/core-app-api": "^1.19.2",
56
- "@backstage/dev-utils": "^1.1.17",
57
- "@backstage/test-utils": "^1.7.13",
54
+ "@backstage/cli": "^0.35.1",
55
+ "@backstage/core-app-api": "^1.19.3",
56
+ "@backstage/dev-utils": "^1.1.18",
57
+ "@backstage/test-utils": "^1.7.14",
58
58
  "@testing-library/jest-dom": "^6.0.0",
59
59
  "@testing-library/react": "^14.0.0",
60
60
  "@testing-library/user-event": "^14.0.0",