@terasky/backstage-plugin-ai-rules 1.7.0 → 1.8.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/components/AgentConfigsComponent/AgentConfigsComponent.esm.js +1 -1
- package/dist/components/AgentSkillsComponent/AgentSkillsComponent.esm.js +1 -1
- package/dist/components/AiRulesComponent/AiRulesComponent.esm.js +1 -1
- package/dist/components/IgnoreFilesComponent/IgnoreFilesComponent.esm.js +1 -1
- package/dist/components/MCPServersComponent/MCPServersComponent.esm.js +1 -1
- package/dist/index.d.ts +2 -1
- package/package.json +10 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { InfoCard, Progress, EmptyState, CodeSnippet } from '@backstage/core-components';
|
|
3
|
-
import {
|
|
3
|
+
import { Typography, makeStyles, Accordion, AccordionSummary, Chip, Tooltip, IconButton, AccordionDetails } from '@material-ui/core';
|
|
4
4
|
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
|
|
5
5
|
import LaunchIcon from '@material-ui/icons/Launch';
|
|
6
6
|
import { useAgentConfigs } from '../../hooks/useAgentConfigs.esm.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import { InfoCard, Progress, EmptyState, MarkdownContent, CodeSnippet } from '@backstage/core-components';
|
|
4
|
-
import {
|
|
4
|
+
import { Card, CardContent, Typography, Accordion, AccordionSummary, Chip, AccordionDetails, makeStyles, Tooltip, IconButton } from '@material-ui/core';
|
|
5
5
|
import { ToggleButtonGroup, ToggleButton } from '@material-ui/lab';
|
|
6
6
|
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
|
|
7
7
|
import LaunchIcon from '@material-ui/icons/Launch';
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useState, useMemo, useCallback } from 'react';
|
|
3
3
|
import { useAiRules } from '../../hooks/useAiRules.esm.js';
|
|
4
4
|
import { InfoCard, Progress, EmptyState, MarkdownContent, CodeSnippet } from '@backstage/core-components';
|
|
5
|
-
import {
|
|
5
|
+
import { Typography, FormControlLabel, Checkbox, Button, TextField, Card, CardContent, Tooltip, makeStyles, useTheme, Accordion, AccordionSummary, Chip, IconButton, AccordionDetails, Snackbar } from '@material-ui/core';
|
|
6
6
|
import { ToggleButtonGroup, ToggleButton } from '@material-ui/lab';
|
|
7
7
|
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
|
|
8
8
|
import CodeIcon from '@material-ui/icons/Code';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { InfoCard, Progress, EmptyState, CodeSnippet } from '@backstage/core-components';
|
|
3
|
-
import {
|
|
3
|
+
import { Typography, makeStyles, Accordion, AccordionSummary, Chip, Tooltip, IconButton, AccordionDetails } from '@material-ui/core';
|
|
4
4
|
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
|
|
5
5
|
import LaunchIcon from '@material-ui/icons/Launch';
|
|
6
6
|
import { useIgnoreFiles } from '../../hooks/useIgnoreFiles.esm.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { InfoCard, Progress, EmptyState, CodeSnippet } from '@backstage/core-components';
|
|
4
|
-
import {
|
|
4
|
+
import { Accordion, AccordionSummary, Typography, Chip, AccordionDetails, makeStyles } from '@material-ui/core';
|
|
5
5
|
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
|
|
6
6
|
import { useMCPServers } from '../../hooks/useMCPServers.esm.js';
|
|
7
7
|
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Entity } from '@backstage/catalog-model';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
+
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
5
6
|
|
|
6
7
|
declare const aiRulesPlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
7
8
|
root: _backstage_core_plugin_api.RouteRef<undefined>;
|
|
@@ -235,7 +236,7 @@ interface AIRulesComponentProps {
|
|
|
235
236
|
}
|
|
236
237
|
declare const isAIRulesAvailable: (entity: Entity) => boolean;
|
|
237
238
|
|
|
238
|
-
declare const aiRulesApiRef:
|
|
239
|
+
declare const aiRulesApiRef: _backstage_frontend_plugin_api.ApiRef<AiRulesApi>;
|
|
239
240
|
interface AiRulesApi {
|
|
240
241
|
getAiRules(ruleTypes: string[]): Promise<AIRulesResponse>;
|
|
241
242
|
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.
|
|
4
|
+
"version": "1.8.0",
|
|
5
5
|
"main": "./dist/index.esm.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"postpack": "backstage-cli package postpack"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@backstage/catalog-model": "^1.7.
|
|
41
|
-
"@backstage/core-components": "^0.18.
|
|
42
|
-
"@backstage/core-plugin-api": "^1.12.
|
|
43
|
-
"@backstage/frontend-plugin-api": "^0.
|
|
44
|
-
"@backstage/plugin-catalog-react": "^2.
|
|
40
|
+
"@backstage/catalog-model": "^1.7.7",
|
|
41
|
+
"@backstage/core-components": "^0.18.8",
|
|
42
|
+
"@backstage/core-plugin-api": "^1.12.4",
|
|
43
|
+
"@backstage/frontend-plugin-api": "^0.15.1",
|
|
44
|
+
"@backstage/plugin-catalog-react": "^2.1.0",
|
|
45
45
|
"@backstage/theme": "^0.7.2",
|
|
46
46
|
"@material-ui/core": "^4.12.4",
|
|
47
47
|
"@material-ui/icons": "^4.11.3",
|
|
@@ -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.
|
|
55
|
-
"@backstage/core-app-api": "^1.19.
|
|
56
|
-
"@backstage/dev-utils": "^1.1.
|
|
57
|
-
"@backstage/test-utils": "^1.7.
|
|
54
|
+
"@backstage/cli": "^0.36.0",
|
|
55
|
+
"@backstage/core-app-api": "^1.19.6",
|
|
56
|
+
"@backstage/dev-utils": "^1.1.21",
|
|
57
|
+
"@backstage/test-utils": "^1.7.16",
|
|
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",
|