@industry-theme/repository-composition-panels 0.2.15 → 0.2.17

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 (32) hide show
  1. package/dist/assets/orchestrators/index.d.ts +28 -0
  2. package/dist/assets/orchestrators/index.d.ts.map +1 -0
  3. package/dist/index.d.ts +2 -0
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/panels/PackageCompositionPanel.d.ts.map +1 -1
  6. package/dist/panels/components/InheritedConfigIndicator.d.ts +27 -0
  7. package/dist/panels/components/InheritedConfigIndicator.d.ts.map +1 -0
  8. package/dist/panels/components/LensReadinessSection.d.ts.map +1 -1
  9. package/dist/panels/components/OrchestratorBadge.d.ts +11 -0
  10. package/dist/panels/components/OrchestratorBadge.d.ts.map +1 -0
  11. package/dist/panels/components/index.d.ts +2 -0
  12. package/dist/panels/components/index.d.ts.map +1 -1
  13. package/dist/panels/dependency-graph/DependencyGraphPanel.d.ts +21 -0
  14. package/dist/panels/dependency-graph/DependencyGraphPanel.d.ts.map +1 -0
  15. package/dist/panels/dependency-graph/dependencyToCanvas.d.ts +20 -0
  16. package/dist/panels/dependency-graph/dependencyToCanvas.d.ts.map +1 -0
  17. package/dist/panels/dependency-graph/forceLayout.d.ts +38 -0
  18. package/dist/panels/dependency-graph/forceLayout.d.ts.map +1 -0
  19. package/dist/panels/dependency-graph/index.d.ts +5 -0
  20. package/dist/panels/dependency-graph/index.d.ts.map +1 -0
  21. package/dist/panels.bundle.css +624 -0
  22. package/dist/panels.bundle.js +53880 -619
  23. package/dist/panels.bundle.js.map +1 -1
  24. package/dist/types/composition.d.ts +5 -115
  25. package/dist/types/composition.d.ts.map +1 -1
  26. package/package.json +8 -2
  27. package/dist/panels/GitChangesPanel.stories.d.ts +0 -76
  28. package/dist/panels/GitChangesPanel.stories.d.ts.map +0 -1
  29. package/dist/panels/PackageCompositionPanel.stories.d.ts +0 -65
  30. package/dist/panels/PackageCompositionPanel.stories.d.ts.map +0 -1
  31. package/dist/panels/SearchPanel.stories.d.ts +0 -59
  32. package/dist/panels/SearchPanel.stories.d.ts.map +0 -1
@@ -1,118 +1,8 @@
1
1
  /**
2
- * Types from codebase-composition for PackageCompositionPanel
2
+ * Types re-exported from @principal-ai/codebase-composition
3
+ *
4
+ * This file re-exports types from the core library to avoid duplication.
5
+ * All composition-related types should be imported from here.
3
6
  */
4
- export type LensOperation = 'check' | 'coverage' | 'fix' | 'watch';
5
- export interface QualityMetrics {
6
- tests: number;
7
- deadCode: number;
8
- linting: number;
9
- formatting: number;
10
- types: number;
11
- documentation: number;
12
- }
13
- export interface PackageCommand {
14
- name: string;
15
- command: string;
16
- description?: string;
17
- type?: 'script' | 'standard';
18
- workingDirectory?: string;
19
- isLensCommand?: boolean;
20
- lensId?: string;
21
- lensOperation?: LensOperation;
22
- }
23
- export interface ConfigFile {
24
- path: string;
25
- exists: boolean;
26
- type: 'json' | 'yaml' | 'toml' | 'js' | 'ts' | 'ini' | 'custom';
27
- isInline?: boolean;
28
- inlineField?: string;
29
- }
30
- export interface FilePattern {
31
- type: 'glob' | 'regex' | 'exact';
32
- pattern: string;
33
- description?: string;
34
- }
35
- export interface FileSet {
36
- id: string;
37
- name: string;
38
- description?: string;
39
- patterns: FilePattern[];
40
- matchedFiles?: string[];
41
- fileCount?: number;
42
- }
43
- export interface BaseLayer {
44
- id: string;
45
- name: string;
46
- type: string;
47
- enabled: boolean;
48
- workspaceId?: string;
49
- workspaceRoot?: string;
50
- derivedFrom: {
51
- fileSets: FileSet[];
52
- derivationType: 'presence' | 'content' | 'aggregation' | 'relationship' | 'content+pattern' | 'content+presence';
53
- description: string;
54
- };
55
- dependsOn?: string[];
56
- enhances?: string;
57
- color?: string;
58
- icon?: string;
59
- pillar?: 'validation' | 'dataFlow' | 'foundationHealth' | 'viewLayers';
60
- }
61
- export interface PackageLayer extends BaseLayer {
62
- type: 'package' | 'node' | 'python' | 'cargo' | 'go';
63
- packageData: {
64
- name: string;
65
- version?: string;
66
- path: string;
67
- manifestPath: string;
68
- packageManager: 'npm' | 'yarn' | 'pnpm' | 'bun' | 'pip' | 'poetry' | 'pipenv' | 'cargo' | 'unknown';
69
- dependencies: Record<string, string>;
70
- devDependencies: Record<string, string>;
71
- peerDependencies: Record<string, string>;
72
- description?: string;
73
- license?: string;
74
- author?: string;
75
- authors?: string[];
76
- repository?: string;
77
- homepage?: string;
78
- keywords?: string[];
79
- isMonorepoRoot: boolean;
80
- isWorkspace: boolean;
81
- parentPackage?: string;
82
- availableCommands?: PackageCommand[];
83
- };
84
- lockFiles?: FileSet;
85
- configFiles?: {
86
- knip?: ConfigFile;
87
- eslint?: ConfigFile;
88
- prettier?: ConfigFile;
89
- typescript?: ConfigFile;
90
- jest?: ConfigFile;
91
- vitest?: ConfigFile;
92
- webpack?: ConfigFile;
93
- vite?: ConfigFile;
94
- rollup?: ConfigFile;
95
- babel?: ConfigFile;
96
- pytest?: ConfigFile;
97
- flake8?: ConfigFile;
98
- mypy?: ConfigFile;
99
- black?: ConfigFile;
100
- ruff?: ConfigFile;
101
- pylint?: ConfigFile;
102
- rustfmt?: ConfigFile;
103
- clippy?: ConfigFile;
104
- dockerfile?: ConfigFile;
105
- gitignore?: ConfigFile;
106
- editorconfig?: ConfigFile;
107
- [key: string]: ConfigFile | undefined;
108
- };
109
- docsFolder?: string;
110
- qualityMetrics?: {
111
- hexagon: Partial<QualityMetrics>;
112
- availableLenses: string[];
113
- missingLenses?: string[];
114
- lensReadiness?: Record<string, import('@principal-ai/codebase-composition').LensReadiness>;
115
- };
116
- }
117
- export type { LensReadiness, LensRequirement, LensRequirements, RequirementCheckResult, } from '@principal-ai/codebase-composition';
7
+ export type { FilePattern, FileSet, BaseLayer, PackageCommand, ConfigFile, PackageLayer, QualityMetrics, LensOperation, LensReadiness, LensRequirement, LensRequirements, RequirementCheckResult, MonorepoOrchestrator, MonorepoMetadata, MonorepoRootRole, } from '@principal-ai/codebase-composition';
118
8
  //# sourceMappingURL=composition.d.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AAU,CAAC;QACpB,UAAU,CAAC,EAAE,UAAU,CAAC;QACxB,SAAS,CAAC,EAAE,UAAU,CAAC;QACvB,YAAY,CAAC,EAAE,UAAU,CAAC;QAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;KACvC,CAAC;IAEF,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,cAAc,CAAC,EAAE;QACf,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;QACjC,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;QACzB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,oCAAoC,EAAE,aAAa,CAAC,CAAC;KAC5F,CAAC;CACH;AAGD,YAAY,EACV,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,oCAAoC,CAAC"}
1
+ {"version":3,"file":"composition.d.ts","sourceRoot":"","sources":["../../src/types/composition.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,YAAY,EAEV,WAAW,EACX,OAAO,EACP,SAAS,EAGT,cAAc,EACd,UAAU,EACV,YAAY,EAGZ,cAAc,EACd,aAAa,EACb,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EAGtB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,oCAAoC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@industry-theme/repository-composition-panels",
3
- "version": "0.2.15",
3
+ "version": "0.2.17",
4
4
  "description": "Repository composition panels including Git Changes panel for the panel framework",
5
5
  "type": "module",
6
6
  "main": "dist/panels.bundle.js",
@@ -56,9 +56,14 @@
56
56
  "@principal-ade/industry-theme": "^0.1.3",
57
57
  "@principal-ade/panel-framework-core": "^0.1.5",
58
58
  "@principal-ade/utcp-panel-event": "^0.1.0",
59
- "@principal-ai/codebase-composition": "^0.2.15",
59
+ "@principal-ai/codebase-composition": "^0.2.18",
60
+ "@principal-ai/principal-view-core": "^0.5.10",
61
+ "@principal-ai/principal-view-react": "^0.6.18",
60
62
  "@principal-ai/repository-abstraction": "^0.2.5",
63
+ "@xyflow/react": "^12.0.0",
61
64
  "clsx": "^2.1.1",
65
+ "d3-dag": "^1.1.0",
66
+ "d3-force": "^3.0.0",
62
67
  "lucide-react": "^0.552.0"
63
68
  },
64
69
  "devDependencies": {
@@ -69,6 +74,7 @@
69
74
  "@storybook/addon-onboarding": "10.1.2",
70
75
  "@storybook/react-vite": "10.1.2",
71
76
  "@types/bun": "latest",
77
+ "@types/d3-force": "^3.0.10",
72
78
  "@types/node": "^22.15.26",
73
79
  "@types/react": "^19.0.0",
74
80
  "@types/react-dom": "^19.0.0",
@@ -1,76 +0,0 @@
1
- import type { StoryObj } from '@storybook/react-vite';
2
- import { GitChangesPanelPreview } from './GitChangesPanel';
3
- import type { GitStatus, GitChangeSelectionStatus } from '../types';
4
- /**
5
- * GitChangesPanelContent displays git status changes in a file tree format.
6
- * It supports two view modes: "Full Tree" (complete file structure) and "Changes Only" (modified files only).
7
- *
8
- * Note: This is the direct-props version. The GitChangesPanel component is the Panel Framework wrapper.
9
- */
10
- declare const meta: {
11
- title: string;
12
- component: import("react").FC<import("./GitChangesPanel").GitChangesPanelProps>;
13
- parameters: {
14
- layout: string;
15
- docs: {
16
- description: {
17
- component: string;
18
- };
19
- };
20
- };
21
- tags: string[];
22
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
23
- gitStatus: GitStatus;
24
- fileTree?: (import("@principal-ai/repository-abstraction").FileTree | null) | undefined;
25
- rootPath?: string | undefined;
26
- isLoading?: boolean | undefined;
27
- onFileClick?: ((filePath: string, status?: GitChangeSelectionStatus) => void) | undefined;
28
- onContextMenuAction?: ((action: import("./GitChangesPanel").ContextMenuAction) => void) | undefined;
29
- emptyMessage?: string | undefined;
30
- loadingMessage?: string | undefined;
31
- selectedFile?: string | undefined;
32
- }>) => import("react/jsx-runtime").JSX.Element)[];
33
- };
34
- export default meta;
35
- type Story = StoryObj<typeof meta>;
36
- /**
37
- * Default panel with various git changes
38
- */
39
- export declare const Default: Story;
40
- /**
41
- * Loading state
42
- */
43
- export declare const Loading: Story;
44
- /**
45
- * No changes - clean working directory
46
- */
47
- export declare const NoChanges: Story;
48
- /**
49
- * Only staged changes
50
- */
51
- export declare const OnlyStaged: Story;
52
- /**
53
- * Only unstaged modifications
54
- */
55
- export declare const OnlyUnstaged: Story;
56
- /**
57
- * Only untracked files
58
- */
59
- export declare const OnlyUntracked: Story;
60
- /**
61
- * Only deleted files
62
- */
63
- export declare const OnlyDeleted: Story;
64
- /**
65
- * Many changes - stress test
66
- */
67
- export declare const ManyChanges: Story;
68
- /**
69
- * With selected file
70
- */
71
- export declare const WithSelectedFile: Story;
72
- /**
73
- * Preview component - shown in panel switcher
74
- */
75
- export declare const Preview: StoryObj<typeof GitChangesPanelPreview>;
76
- //# sourceMappingURL=GitChangesPanel.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GitChangesPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/GitChangesPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAA0B,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACnF,OAAO,KAAK,EAAE,SAAS,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEpE;;;;;GAKG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;gDA8BqB,CAAC;;;;;;CARe,CAAC;AAEhD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA6BnC;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAcxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAc1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAe3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAczB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAazB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAM9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,sBAAsB,CAQ3D,CAAC"}
@@ -1,65 +0,0 @@
1
- import type { StoryObj } from '@storybook/react-vite';
2
- import { PackageCompositionPanelPreview } from './PackageCompositionPanel';
3
- import type { PackageLayer, PackageCommand, ConfigFile } from '../types/composition';
4
- /**
5
- * PackageCompositionPanelContent displays detected packages with their
6
- * config files and available commands in an expandable card format.
7
- */
8
- declare const meta: {
9
- title: string;
10
- component: import("react").FC<import("./PackageCompositionPanel").PackageCompositionPanelProps>;
11
- parameters: {
12
- layout: string;
13
- docs: {
14
- description: {
15
- component: string;
16
- };
17
- };
18
- };
19
- tags: string[];
20
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
21
- packages: PackageLayer[];
22
- isLoading?: boolean | undefined;
23
- emptyMessage?: string | undefined;
24
- onCommandClick?: ((command: PackageCommand, packagePath: string) => void) | undefined;
25
- onConfigClick?: ((configFile: ConfigFile) => void) | undefined;
26
- onPackageClick?: ((packagePath: string) => void) | undefined;
27
- onPackageHover?: ((pkg: PackageLayer | null) => void) | undefined;
28
- onPackageSelect?: ((pkg: PackageLayer | null) => void) | undefined;
29
- }>) => import("react/jsx-runtime").JSX.Element)[];
30
- };
31
- export default meta;
32
- type Story = StoryObj<typeof meta>;
33
- /**
34
- * Default panel with multiple packages (monorepo structure)
35
- */
36
- export declare const Default: Story;
37
- /**
38
- * Loading state
39
- */
40
- export declare const Loading: Story;
41
- /**
42
- * No packages detected
43
- */
44
- export declare const NoPackages: Story;
45
- /**
46
- * Single package (simple project)
47
- */
48
- export declare const SinglePackage: Story;
49
- /**
50
- * Package with many commands
51
- */
52
- export declare const ManyCommands: Story;
53
- /**
54
- * Package with inline configs
55
- */
56
- export declare const WithInlineConfigs: Story;
57
- /**
58
- * Python package
59
- */
60
- export declare const PythonPackage: Story;
61
- /**
62
- * Preview component - shown in panel switcher
63
- */
64
- export declare const Preview: StoryObj<typeof PackageCompositionPanelPreview>;
65
- //# sourceMappingURL=PackageCompositionPanel.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PackageCompositionPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/PackageCompositionPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAkC,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3G,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAErF;;;GAGG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAsB6C,CAAC;AAExD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA+JnC;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAarB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAKxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAI3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KA2D1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KA+B/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAuC3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,8BAA8B,CAQnE,CAAC"}
@@ -1,59 +0,0 @@
1
- import type { StoryObj } from '@storybook/react-vite';
2
- import { SearchPanelPreview } from './SearchPanel';
3
- import type { FileTree } from '@principal-ai/repository-abstraction';
4
- /**
5
- * SearchPanelContent provides filename search functionality for repository files.
6
- * It supports directory filtering with include/exclude modes and wildcard patterns.
7
- *
8
- * Note: This is the direct-props version. The SearchPanel component is the Panel Framework wrapper.
9
- */
10
- declare const meta: {
11
- title: string;
12
- component: import("react").FC<import("./SearchPanel").SearchPanelProps>;
13
- parameters: {
14
- layout: string;
15
- docs: {
16
- description: {
17
- component: string;
18
- };
19
- };
20
- };
21
- tags: string[];
22
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
23
- fileTree: FileTree | null;
24
- baseDirectory?: string | undefined;
25
- isLoading?: boolean | undefined;
26
- onFileSelect?: ((filePath: string) => void) | undefined;
27
- onSearchResultsChange?: ((results: import("../services/LocalSearchService").SearchResult[]) => void) | undefined;
28
- onSearchResultHover?: ((filePath: string | null) => void) | undefined;
29
- onDirectoryFiltersChange?: ((filters: import("../services/LocalSearchService").DirectoryFilter[]) => void) | undefined;
30
- selectedFile?: string | null | undefined;
31
- }>) => import("react/jsx-runtime").JSX.Element)[];
32
- };
33
- export default meta;
34
- type Story = StoryObj<typeof meta>;
35
- /**
36
- * Default panel with sample files
37
- */
38
- export declare const Default: Story;
39
- /**
40
- * Loading state
41
- */
42
- export declare const Loading: Story;
43
- /**
44
- * Empty file tree
45
- */
46
- export declare const EmptyFileTree: Story;
47
- /**
48
- * With selected file
49
- */
50
- export declare const WithSelectedFile: Story;
51
- /**
52
- * Large file tree
53
- */
54
- export declare const LargeFileTree: Story;
55
- /**
56
- * Preview component - shown in panel switcher
57
- */
58
- export declare const Preview: StoryObj<typeof SearchPanelPreview>;
59
- //# sourceMappingURL=SearchPanel.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/SearchPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAsB,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAErE;;;;;GAKG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAsBiC,CAAC;AAE5C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA6FnC;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAK3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAM9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAe3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,kBAAkB,CAQvD,CAAC"}