@industry-theme/alexandria-panels 0.1.9 → 0.1.11
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 +9 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/mocks/panelContext.d.ts +41 -0
- package/dist/mocks/panelContext.d.ts.map +1 -1
- package/dist/panels/GitHubProjectsPanel/GitHubProjectsPanel.stories.d.ts +34 -0
- package/dist/panels/GitHubProjectsPanel/GitHubProjectsPanel.stories.d.ts.map +1 -0
- package/dist/panels/GitHubProjectsPanel/index.d.ts +11 -0
- package/dist/panels/GitHubProjectsPanel/index.d.ts.map +1 -0
- package/dist/panels/GitHubProjectsPanel/tools.d.ts +32 -0
- package/dist/panels/GitHubProjectsPanel/tools.d.ts.map +1 -0
- package/dist/panels/GitHubProjectsPanel/types.d.ts +74 -0
- package/dist/panels/GitHubProjectsPanel/types.d.ts.map +1 -0
- package/dist/panels/GitHubStarredPanel/GitHubStarredPanel.stories.d.ts +26 -0
- package/dist/panels/GitHubStarredPanel/GitHubStarredPanel.stories.d.ts.map +1 -0
- package/dist/panels/GitHubStarredPanel/index.d.ts +12 -0
- package/dist/panels/GitHubStarredPanel/index.d.ts.map +1 -0
- package/dist/panels/GitHubStarredPanel/tools.d.ts +28 -0
- package/dist/panels/GitHubStarredPanel/tools.d.ts.map +1 -0
- package/dist/panels/GitHubStarredPanel/types.d.ts +64 -0
- package/dist/panels/GitHubStarredPanel/types.d.ts.map +1 -0
- package/dist/panels/LocalProjectsPanel/LocalProjectCard.d.ts.map +1 -1
- package/dist/panels/shared/GitHubRepositoryCard.d.ts +26 -0
- package/dist/panels/shared/GitHubRepositoryCard.d.ts.map +1 -0
- package/dist/panels/shared/github-types.d.ts +51 -0
- package/dist/panels/shared/github-types.d.ts.map +1 -0
- package/dist/panels.bundle.js +1697 -995
- package/dist/panels.bundle.js.map +1 -1
- package/dist/tools/index.d.ts +0 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools.bundle.js +0 -97
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/panels/DependenciesPanel/DependenciesPanel.stories.d.ts +0 -59
- package/dist/panels/DependenciesPanel/DependenciesPanel.stories.d.ts.map +0 -1
- package/dist/panels/DependenciesPanel/components/DependencyInfoModal.d.ts +0 -8
- package/dist/panels/DependenciesPanel/components/DependencyInfoModal.d.ts.map +0 -1
- package/dist/panels/DependenciesPanel/components/DependencyRow.d.ts +0 -8
- package/dist/panels/DependenciesPanel/components/DependencyRow.d.ts.map +0 -1
- package/dist/panels/DependenciesPanel/components/FilterBar.d.ts +0 -17
- package/dist/panels/DependenciesPanel/components/FilterBar.d.ts.map +0 -1
- package/dist/panels/DependenciesPanel/components/index.d.ts +0 -4
- package/dist/panels/DependenciesPanel/components/index.d.ts.map +0 -1
- package/dist/panels/DependenciesPanel/index.d.ts +0 -7
- package/dist/panels/DependenciesPanel/index.d.ts.map +0 -1
- package/dist/panels/DependenciesPanel/tools.d.ts +0 -35
- package/dist/panels/DependenciesPanel/tools.d.ts.map +0 -1
- package/dist/panels/DependenciesPanel/types.d.ts +0 -36
- package/dist/panels/DependenciesPanel/types.d.ts.map +0 -1
package/dist/tools/index.d.ts
CHANGED
|
@@ -11,5 +11,4 @@
|
|
|
11
11
|
export { localProjectsPanelTools, localProjectsPanelToolsMetadata, filterProjectsTool, selectProjectTool, openProjectTool, } from '../panels/LocalProjectsPanel/tools';
|
|
12
12
|
export { workspaceRepositoriesPanelTools, workspaceRepositoriesPanelToolsMetadata, selectRepositoryTool, refreshWorkspaceTool, openRepositoryTool, } from '../panels/WorkspaceRepositoriesPanel/tools';
|
|
13
13
|
export { workspacesListPanelTools, workspacesListPanelToolsMetadata, filterWorkspacesTool, selectWorkspaceTool, openWorkspaceTool, createWorkspaceTool, } from '../panels/WorkspacesListPanel/tools';
|
|
14
|
-
export { dependenciesPanelTools, dependenciesPanelToolsMetadata, filterDependenciesTool, selectDependencyTypeTool, selectPackageTool, } from '../panels/DependenciesPanel/tools';
|
|
15
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EACL,uBAAuB,EACvB,+BAA+B,EAC/B,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,GAChB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EACL,+BAA+B,EAC/B,uCAAuC,EACvC,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,4CAA4C,CAAC;AAEpD,OAAO,EACL,wBAAwB,EACxB,gCAAgC,EAChC,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,qCAAqC,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EACL,uBAAuB,EACvB,+BAA+B,EAC/B,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,GAChB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EACL,+BAA+B,EAC/B,uCAAuC,EACvC,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,4CAA4C,CAAC;AAEpD,OAAO,EACL,wBAAwB,EACxB,gCAAgC,EAChC,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,qCAAqC,CAAC"}
|
package/dist/tools.bundle.js
CHANGED
|
@@ -302,98 +302,6 @@ var workspacesListPanelToolsMetadata = {
|
|
|
302
302
|
description: "Tools for browsing and managing workspaces",
|
|
303
303
|
tools: workspacesListPanelTools
|
|
304
304
|
};
|
|
305
|
-
// src/panels/DependenciesPanel/tools.ts
|
|
306
|
-
var PANEL_ID4 = "principal-ade.dependencies-panel";
|
|
307
|
-
var filterDependenciesTool = {
|
|
308
|
-
name: "filter_dependencies",
|
|
309
|
-
description: "Filter the dependencies list by package name",
|
|
310
|
-
inputs: {
|
|
311
|
-
type: "object",
|
|
312
|
-
properties: {
|
|
313
|
-
filter: {
|
|
314
|
-
type: "string",
|
|
315
|
-
description: "Search term to filter dependencies by name"
|
|
316
|
-
}
|
|
317
|
-
},
|
|
318
|
-
required: ["filter"]
|
|
319
|
-
},
|
|
320
|
-
outputs: {
|
|
321
|
-
type: "object",
|
|
322
|
-
properties: {
|
|
323
|
-
success: { type: "boolean" },
|
|
324
|
-
message: { type: "string" }
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
|
-
tags: ["filter", "search", "dependencies"],
|
|
328
|
-
tool_call_template: {
|
|
329
|
-
call_template_type: "panel_event",
|
|
330
|
-
event_type: `${PANEL_ID4}:filter`
|
|
331
|
-
}
|
|
332
|
-
};
|
|
333
|
-
var selectDependencyTypeTool = {
|
|
334
|
-
name: "select_dependency_type",
|
|
335
|
-
description: "Filter dependencies by type (production, development, or peer)",
|
|
336
|
-
inputs: {
|
|
337
|
-
type: "object",
|
|
338
|
-
properties: {
|
|
339
|
-
type: {
|
|
340
|
-
type: "string",
|
|
341
|
-
enum: ["production", "development", "peer", "all"],
|
|
342
|
-
description: "The dependency type to filter by"
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
required: ["type"]
|
|
346
|
-
},
|
|
347
|
-
outputs: {
|
|
348
|
-
type: "object",
|
|
349
|
-
properties: {
|
|
350
|
-
success: { type: "boolean" },
|
|
351
|
-
selectedType: { type: "string" }
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
tags: ["filter", "type", "dependencies"],
|
|
355
|
-
tool_call_template: {
|
|
356
|
-
call_template_type: "panel_event",
|
|
357
|
-
event_type: `${PANEL_ID4}:select-type`
|
|
358
|
-
}
|
|
359
|
-
};
|
|
360
|
-
var selectPackageTool = {
|
|
361
|
-
name: "select_package",
|
|
362
|
-
description: "Select a package to view its dependencies (for monorepos)",
|
|
363
|
-
inputs: {
|
|
364
|
-
type: "object",
|
|
365
|
-
properties: {
|
|
366
|
-
packagePath: {
|
|
367
|
-
type: "string",
|
|
368
|
-
description: "The path of the package to select"
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
|
-
required: ["packagePath"]
|
|
372
|
-
},
|
|
373
|
-
outputs: {
|
|
374
|
-
type: "object",
|
|
375
|
-
properties: {
|
|
376
|
-
success: { type: "boolean" },
|
|
377
|
-
selectedPackage: { type: "string" }
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
tags: ["select", "package", "monorepo"],
|
|
381
|
-
tool_call_template: {
|
|
382
|
-
call_template_type: "panel_event",
|
|
383
|
-
event_type: `${PANEL_ID4}:select-package`
|
|
384
|
-
}
|
|
385
|
-
};
|
|
386
|
-
var dependenciesPanelTools = [
|
|
387
|
-
filterDependenciesTool,
|
|
388
|
-
selectDependencyTypeTool,
|
|
389
|
-
selectPackageTool
|
|
390
|
-
];
|
|
391
|
-
var dependenciesPanelToolsMetadata = {
|
|
392
|
-
id: PANEL_ID4,
|
|
393
|
-
name: "Dependencies Panel",
|
|
394
|
-
description: "Tools for viewing and exploring package dependencies",
|
|
395
|
-
tools: dependenciesPanelTools
|
|
396
|
-
};
|
|
397
305
|
export {
|
|
398
306
|
workspacesListPanelToolsMetadata,
|
|
399
307
|
workspacesListPanelTools,
|
|
@@ -402,8 +310,6 @@ export {
|
|
|
402
310
|
selectWorkspaceTool,
|
|
403
311
|
selectRepositoryTool,
|
|
404
312
|
selectProjectTool,
|
|
405
|
-
selectPackageTool,
|
|
406
|
-
selectDependencyTypeTool,
|
|
407
313
|
refreshWorkspaceTool,
|
|
408
314
|
openWorkspaceTool,
|
|
409
315
|
openRepositoryTool,
|
|
@@ -412,8 +318,5 @@ export {
|
|
|
412
318
|
localProjectsPanelTools,
|
|
413
319
|
filterWorkspacesTool,
|
|
414
320
|
filterProjectsTool,
|
|
415
|
-
filterDependenciesTool,
|
|
416
|
-
dependenciesPanelToolsMetadata,
|
|
417
|
-
dependenciesPanelTools,
|
|
418
321
|
createWorkspaceTool
|
|
419
322
|
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,5 +4,4 @@
|
|
|
4
4
|
* Re-exports core types from @principal-ade/panel-framework-core
|
|
5
5
|
*/
|
|
6
6
|
export type { DataSlice, WorkspaceMetadata, RepositoryMetadata, FileTreeSource, ActiveFileSlice, PanelEventType, PanelEvent, PanelEventEmitter, PanelActions, PanelContextValue, PanelComponentProps, PanelMetadata, PanelLifecycleHooks, PanelDefinition, PanelModule, PanelRegistryEntry, PanelLoader, PanelRegistryConfig, PanelTool, PanelToolsMetadata, JsonSchema, PanelEventCallTemplate, } from '@principal-ade/panel-framework-core';
|
|
7
|
-
export type { PackageLayer, DependencyItem, PackageSummary, PackagesSliceData, } from '../panels/DependenciesPanel/types';
|
|
8
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,YAAY,EAEV,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,eAAe,EAGf,cAAc,EACd,UAAU,EACV,iBAAiB,EAGjB,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EAGnB,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,WAAW,EAGX,kBAAkB,EAClB,WAAW,EACX,mBAAmB,EAGnB,SAAS,EACT,kBAAkB,EAClB,UAAU,EACV,sBAAsB,GACvB,MAAM,qCAAqC,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,YAAY,EAEV,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,eAAe,EAGf,cAAc,EACd,UAAU,EACV,iBAAiB,EAGjB,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EAGnB,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,WAAW,EAGX,kBAAkB,EAClB,WAAW,EACX,mBAAmB,EAGnB,SAAS,EACT,kBAAkB,EAClB,UAAU,EACV,sBAAsB,GACvB,MAAM,qCAAqC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
/**
|
|
3
|
-
* DependenciesPanel displays package dependencies from the packages slice.
|
|
4
|
-
* It supports filtering by type, searching, and viewing dependency details.
|
|
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: import("@principal-ade/panel-framework-core").PanelContextValue;
|
|
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 a single package
|
|
33
|
-
*/
|
|
34
|
-
export declare const Default: Story;
|
|
35
|
-
/**
|
|
36
|
-
* Loading state
|
|
37
|
-
*/
|
|
38
|
-
export declare const Loading: Story;
|
|
39
|
-
/**
|
|
40
|
-
* No packages available
|
|
41
|
-
*/
|
|
42
|
-
export declare const NoPackages: Story;
|
|
43
|
-
/**
|
|
44
|
-
* Package with many dependencies
|
|
45
|
-
*/
|
|
46
|
-
export declare const ManyDependencies: Story;
|
|
47
|
-
/**
|
|
48
|
-
* Monorepo with multiple packages
|
|
49
|
-
*/
|
|
50
|
-
export declare const Monorepo: Story;
|
|
51
|
-
/**
|
|
52
|
-
* Package with only dev dependencies
|
|
53
|
-
*/
|
|
54
|
-
export declare const OnlyDevDependencies: Story;
|
|
55
|
-
/**
|
|
56
|
-
* Interactive example with logging
|
|
57
|
-
*/
|
|
58
|
-
export declare const Interactive: Story;
|
|
59
|
-
//# sourceMappingURL=DependenciesPanel.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DependenciesPanel.stories.d.ts","sourceRoot":"","sources":["../../../src/panels/DependenciesPanel/DependenciesPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAWvD;;;GAGG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAyBgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAkEnC;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAkBrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAexB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,KA2C9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KA2DtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,KA0BjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAUzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DependencyInfoModal.d.ts","sourceRoot":"","sources":["../../../../src/panels/DependenciesPanel/components/DependencyInfoModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,wBAAwB;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAyIlE,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { DependencyItem } from '../types';
|
|
3
|
-
interface DependencyRowProps {
|
|
4
|
-
dependency: DependencyItem;
|
|
5
|
-
}
|
|
6
|
-
export declare const DependencyRow: React.FC<DependencyRowProps>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=DependencyRow.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DependencyRow.d.ts","sourceRoot":"","sources":["../../../../src/panels/DependenciesPanel/components/DependencyRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,UAAU,kBAAkB;IAC1B,UAAU,EAAE,cAAc,CAAC;CAC5B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA8JtD,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type ToggleableFilterType = 'production' | 'development' | 'peer';
|
|
3
|
-
interface FilterBarProps {
|
|
4
|
-
activeFilters: Set<ToggleableFilterType>;
|
|
5
|
-
onToggleFilter: (type: ToggleableFilterType) => void;
|
|
6
|
-
searchQuery: string;
|
|
7
|
-
onSearchChange: (query: string) => void;
|
|
8
|
-
counts: {
|
|
9
|
-
all: number;
|
|
10
|
-
production: number;
|
|
11
|
-
development: number;
|
|
12
|
-
peer: number;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export declare const FilterBar: React.FC<FilterBarProps>;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=FilterBar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FilterBar.d.ts","sourceRoot":"","sources":["../../../../src/panels/DependenciesPanel/components/FilterBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,KAAK,oBAAoB,GAAG,YAAY,GAAG,aAAa,GAAG,MAAM,CAAC;AAElE,UAAU,cAAc;IACtB,aAAa,EAAE,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACzC,cAAc,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACrD,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,MAAM,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,UAAU,EAAE,MAAM,CAAC;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA8H9C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/panels/DependenciesPanel/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panels/DependenciesPanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAGjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAoZvD;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAE3D,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dependencies Panel Tools
|
|
3
|
-
*
|
|
4
|
-
* UTCP-compatible tools for the Dependencies panel extension.
|
|
5
|
-
* These tools can be invoked by AI agents and emit events that panels listen for.
|
|
6
|
-
*
|
|
7
|
-
* IMPORTANT: This file should NOT import any React components to ensure
|
|
8
|
-
* it can be imported server-side without pulling in React dependencies.
|
|
9
|
-
* Use the './tools' subpath export for server-safe imports.
|
|
10
|
-
*/
|
|
11
|
-
import type { PanelTool, PanelToolsMetadata } from '@principal-ade/utcp-panel-event';
|
|
12
|
-
/**
|
|
13
|
-
* Tool: Filter Dependencies
|
|
14
|
-
* Allows filtering the dependency list by search term
|
|
15
|
-
*/
|
|
16
|
-
export declare const filterDependenciesTool: PanelTool;
|
|
17
|
-
/**
|
|
18
|
-
* Tool: Select Dependency Type
|
|
19
|
-
* Allows selecting a specific dependency type to filter
|
|
20
|
-
*/
|
|
21
|
-
export declare const selectDependencyTypeTool: PanelTool;
|
|
22
|
-
/**
|
|
23
|
-
* Tool: Select Package (for monorepos)
|
|
24
|
-
* Allows selecting a specific package in a monorepo
|
|
25
|
-
*/
|
|
26
|
-
export declare const selectPackageTool: PanelTool;
|
|
27
|
-
/**
|
|
28
|
-
* All tools exported as an array.
|
|
29
|
-
*/
|
|
30
|
-
export declare const dependenciesPanelTools: PanelTool[];
|
|
31
|
-
/**
|
|
32
|
-
* Panel tools metadata for registration with PanelToolRegistry.
|
|
33
|
-
*/
|
|
34
|
-
export declare const dependenciesPanelToolsMetadata: PanelToolsMetadata;
|
|
35
|
-
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/panels/DependenciesPanel/tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAIrF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAyBpC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,SA0BtC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,SAyB/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,EAI7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B,EAAE,kBAK5C,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dependencies Panel Type Definitions
|
|
3
|
-
*/
|
|
4
|
-
import type { PackageLayer } from '@principal-ai/codebase-composition';
|
|
5
|
-
export type { PackageLayer };
|
|
6
|
-
/**
|
|
7
|
-
* Basic dependency item for display
|
|
8
|
-
*/
|
|
9
|
-
export interface DependencyItem {
|
|
10
|
-
name: string;
|
|
11
|
-
version: string;
|
|
12
|
-
dependencyType: 'production' | 'development' | 'peer';
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Package summary from the packages slice
|
|
16
|
-
*/
|
|
17
|
-
export interface PackageSummary {
|
|
18
|
-
isMonorepo: boolean;
|
|
19
|
-
rootPackageName?: string;
|
|
20
|
-
totalPackages: number;
|
|
21
|
-
workspacePackages: Array<{
|
|
22
|
-
name?: string;
|
|
23
|
-
path: string;
|
|
24
|
-
}>;
|
|
25
|
-
totalDependencies: number;
|
|
26
|
-
totalDevDependencies: number;
|
|
27
|
-
availableScripts: string[];
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Packages slice data structure
|
|
31
|
-
*/
|
|
32
|
-
export interface PackagesSliceData {
|
|
33
|
-
packages: PackageLayer[];
|
|
34
|
-
summary: PackageSummary;
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/panels/DependenciesPanel/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAGvE,YAAY,EAAE,YAAY,EAAE,CAAC;AAE7B;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,YAAY,GAAG,aAAa,GAAG,MAAM,CAAC;CACvD;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,KAAK,CAAC;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC1D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,OAAO,EAAE,cAAc,CAAC;CACzB"}
|