@industry-theme/agent-panels 0.1.8 → 0.2.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/index.d.ts.map +1 -1
- package/dist/panels/AgentDetailPanel.d.ts +6 -0
- package/dist/panels/AgentDetailPanel.d.ts.map +1 -0
- package/dist/panels/AgentsListPanel.d.ts +13 -0
- package/dist/panels/AgentsListPanel.d.ts.map +1 -0
- package/dist/panels/agents/components/AgentCard.d.ts +10 -0
- package/dist/panels/agents/components/AgentCard.d.ts.map +1 -0
- package/dist/panels/agents/components/SubagentCard.d.ts +10 -0
- package/dist/panels/agents/components/SubagentCard.d.ts.map +1 -0
- package/dist/panels/agents/hooks/useAgentsData.d.ts +37 -0
- package/dist/panels/agents/hooks/useAgentsData.d.ts.map +1 -0
- package/dist/panels/agents/hooks/useSubagentsData.d.ts +43 -0
- package/dist/panels/agents/hooks/useSubagentsData.d.ts.map +1 -0
- package/dist/panels/skills/hooks/useSkillsData.d.ts.map +1 -1
- package/dist/panels.bundle.js +1831 -114
- package/dist/panels.bundle.js.map +1 -1
- package/package.json +2 -2
- package/dist/panels/SkillDetailPanel.stories.d.ts +0 -48
- package/dist/panels/SkillDetailPanel.stories.d.ts.map +0 -1
- package/dist/panels/SkillsLifecycle.stories.d.ts +0 -22
- package/dist/panels/SkillsLifecycle.stories.d.ts.map +0 -1
- package/dist/panels/SkillsListPanel.stories.d.ts +0 -55
- package/dist/panels/SkillsListPanel.stories.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@industry-theme/agent-panels",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "A collection of panel extensions for displaying and managing agent-related resources",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "A collection of panel extensions for displaying and managing agent-related resources (Skills, AGENTS.md, and Subagents)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/panels.bundle.js",
|
|
7
7
|
"module": "dist/panels.bundle.js",
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
3
|
-
/**
|
|
4
|
-
* SkillDetailPanel displays detailed information about a selected Agent Skill.
|
|
5
|
-
* It listens for skill:selected events to update the displayed skill.
|
|
6
|
-
*/
|
|
7
|
-
declare const meta: {
|
|
8
|
-
title: string;
|
|
9
|
-
component: React.FC<import("./SkillDetailPanel").SkillDetailPanelProps>;
|
|
10
|
-
parameters: {
|
|
11
|
-
layout: string;
|
|
12
|
-
docs: {
|
|
13
|
-
description: {
|
|
14
|
-
component: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
tags: string[];
|
|
19
|
-
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
20
|
-
context: import("@principal-ade/panel-framework-core").PanelContextValue;
|
|
21
|
-
actions: import("@principal-ade/panel-framework-core").PanelActions;
|
|
22
|
-
events: import("@principal-ade/panel-framework-core").PanelEventEmitter;
|
|
23
|
-
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
24
|
-
args: {
|
|
25
|
-
context: any;
|
|
26
|
-
actions: import("@principal-ade/panel-framework-core").PanelActions;
|
|
27
|
-
events: import("@principal-ade/panel-framework-core").PanelEventEmitter;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export default meta;
|
|
31
|
-
type Story = StoryObj<typeof meta>;
|
|
32
|
-
/**
|
|
33
|
-
* No skill selected - shows empty state
|
|
34
|
-
*/
|
|
35
|
-
export declare const NoSelection: Story;
|
|
36
|
-
/**
|
|
37
|
-
* Skill selected - shows detail view
|
|
38
|
-
*/
|
|
39
|
-
export declare const WithSelection: Story;
|
|
40
|
-
/**
|
|
41
|
-
* Loading state
|
|
42
|
-
*/
|
|
43
|
-
export declare const Loading: Story;
|
|
44
|
-
/**
|
|
45
|
-
* No repository loaded
|
|
46
|
-
*/
|
|
47
|
-
export declare const NoRepository: Story;
|
|
48
|
-
//# sourceMappingURL=SkillDetailPanel.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SkillDetailPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/SkillDetailPanel.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAW5D;;;GAGG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAyB+B,CAAC;AAE1C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA2KnC;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAyBzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAqC3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KA+BrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KA6B1B,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
/**
|
|
3
|
-
* Skills Lifecycle demonstrates the complete workflow of browsing and viewing skills.
|
|
4
|
-
* Click a skill in the list panel to see its details in the detail panel.
|
|
5
|
-
*/
|
|
6
|
-
declare const meta: {
|
|
7
|
-
title: string;
|
|
8
|
-
parameters: {
|
|
9
|
-
layout: string;
|
|
10
|
-
docs: {
|
|
11
|
-
description: {
|
|
12
|
-
component: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
tags: string[];
|
|
17
|
-
};
|
|
18
|
-
export default meta;
|
|
19
|
-
type Story = StoryObj<typeof meta>;
|
|
20
|
-
export declare const SkillsBrowsing: Story;
|
|
21
|
-
export declare const SkillsBrowsingVertical: Story;
|
|
22
|
-
//# sourceMappingURL=SkillsLifecycle.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SkillsLifecycle.stories.d.ts","sourceRoot":"","sources":["../../src/panels/SkillsLifecycle.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAY5D;;;GAGG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;CAYM,CAAC;AAEjB,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA0WnC,eAAO,MAAM,cAAc,EAAE,KAU5B,CAAC;AAiFF,eAAO,MAAM,sBAAsB,EAAE,KAUpC,CAAC"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
/**
|
|
3
|
-
* SkillsListPanel displays Agent Skills from SKILL.md files in the repository.
|
|
4
|
-
* It shows skill metadata, descriptions, and capabilities.
|
|
5
|
-
*/
|
|
6
|
-
declare const meta: {
|
|
7
|
-
title: string;
|
|
8
|
-
component: import("react").FC<import("@principal-ade/panel-framework-core").PanelComponentProps>;
|
|
9
|
-
parameters: {
|
|
10
|
-
layout: string;
|
|
11
|
-
docs: {
|
|
12
|
-
description: {
|
|
13
|
-
component: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
tags: string[];
|
|
18
|
-
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
19
|
-
context: import("@principal-ade/panel-framework-core").PanelContextValue;
|
|
20
|
-
actions: import("@principal-ade/panel-framework-core").PanelActions;
|
|
21
|
-
events: import("@principal-ade/panel-framework-core").PanelEventEmitter;
|
|
22
|
-
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
23
|
-
args: {
|
|
24
|
-
context: any;
|
|
25
|
-
actions: import("@principal-ade/panel-framework-core").PanelActions;
|
|
26
|
-
events: import("@principal-ade/panel-framework-core").PanelEventEmitter;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export default meta;
|
|
30
|
-
type Story = StoryObj<typeof meta>;
|
|
31
|
-
/**
|
|
32
|
-
* Default state with multiple skills
|
|
33
|
-
*/
|
|
34
|
-
export declare const Default: Story;
|
|
35
|
-
/**
|
|
36
|
-
* No skills found in repository
|
|
37
|
-
*/
|
|
38
|
-
export declare const NoSkills: Story;
|
|
39
|
-
/**
|
|
40
|
-
* Loading state
|
|
41
|
-
*/
|
|
42
|
-
export declare const Loading: Story;
|
|
43
|
-
/**
|
|
44
|
-
* Many skills (stress test)
|
|
45
|
-
*/
|
|
46
|
-
export declare const ManySkills: Story;
|
|
47
|
-
/**
|
|
48
|
-
* No repository loaded
|
|
49
|
-
*/
|
|
50
|
-
export declare const NoRepository: Story;
|
|
51
|
-
/**
|
|
52
|
-
* With search filtering
|
|
53
|
-
*/
|
|
54
|
-
export declare const WithSearch: Story;
|
|
55
|
-
//# sourceMappingURL=SkillsListPanel.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SkillsListPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/SkillsListPanel.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAW5D;;;GAGG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAyB8B,CAAC;AAEzC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAgGnC;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KA8BtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KA+BrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAsDxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KA6B1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAyBxB,CAAC"}
|