@industry-theme/principal-view-panels 0.11.0 → 0.11.2
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/TraceExpansion.d.ts +5 -4
- package/dist/components/TraceExpansion.d.ts.map +1 -1
- package/dist/components/TraceList.d.ts.map +1 -1
- package/dist/index.d.ts +0 -34
- package/dist/index.d.ts.map +1 -1
- package/dist/mocks/otelMocks.d.ts +7 -0
- package/dist/mocks/otelMocks.d.ts.map +1 -1
- package/dist/panels/CanvasEditorPanel.d.ts.map +1 -1
- package/dist/panels/TraceDetailsPanel.d.ts.map +1 -1
- package/dist/panels/TraceListPanel.d.ts.map +1 -1
- package/dist/panels/WorkflowScenariosPanel.d.ts.map +1 -1
- package/dist/panels/execution-viewer/LiveTraceSearchView.d.ts.map +1 -1
- package/dist/panels.bundle.js +818 -8850
- package/dist/panels.bundle.js.map +1 -1
- package/dist/types/otel.d.ts.map +1 -1
- package/dist/utils/traceHelpers.d.ts +115 -0
- package/dist/utils/traceHelpers.d.ts.map +1 -0
- package/package.json +8 -8
- package/dist/panels/AgentMonitoringGapExplainerPanel.d.ts +0 -6
- package/dist/panels/AgentMonitoringGapExplainerPanel.d.ts.map +0 -1
- package/dist/panels/BookAnalogyExplainerPanel.d.ts +0 -7
- package/dist/panels/BookAnalogyExplainerPanel.d.ts.map +0 -1
- package/dist/panels/CanvasTypesExplainerPanel.d.ts +0 -7
- package/dist/panels/CanvasTypesExplainerPanel.d.ts.map +0 -1
- package/dist/panels/ChangeImpactAnalysisExplainerPanel.d.ts +0 -7
- package/dist/panels/ChangeImpactAnalysisExplainerPanel.d.ts.map +0 -1
- package/dist/panels/HierarchicalCanvasCompositionExplainerPanel.d.ts +0 -7
- package/dist/panels/HierarchicalCanvasCompositionExplainerPanel.d.ts.map +0 -1
- package/dist/panels/LibraryAnchoringExplainerPanel.d.ts +0 -7
- package/dist/panels/LibraryAnchoringExplainerPanel.d.ts.map +0 -1
- package/dist/panels/MonorepoComposabilityExplainerPanel.d.ts +0 -7
- package/dist/panels/MonorepoComposabilityExplainerPanel.d.ts.map +0 -1
- package/dist/panels/MultipleCanvasViewsExplainerPanel.d.ts +0 -7
- package/dist/panels/MultipleCanvasViewsExplainerPanel.d.ts.map +0 -1
- package/dist/panels/ProductionDebuggingExplainerPanel.d.ts +0 -7
- package/dist/panels/ProductionDebuggingExplainerPanel.d.ts.map +0 -1
- package/dist/panels/RuntimeValidationExplainerPanel.d.ts +0 -7
- package/dist/panels/RuntimeValidationExplainerPanel.d.ts.map +0 -1
- package/dist/panels/ScenarioEnumerationExplainerPanel.d.ts +0 -7
- package/dist/panels/ScenarioEnumerationExplainerPanel.d.ts.map +0 -1
- package/dist/panels/SystemStoriesSolutionExplainerPanel.d.ts +0 -6
- package/dist/panels/SystemStoriesSolutionExplainerPanel.d.ts.map +0 -1
- package/dist/panels/TelemetryCoverageExplainerPanel.d.ts +0 -7
- package/dist/panels/TelemetryCoverageExplainerPanel.d.ts.map +0 -1
- package/dist/panels/TestVsProductionExplainerPanel.d.ts +0 -7
- package/dist/panels/TestVsProductionExplainerPanel.d.ts.map +0 -1
- package/dist/panels/WhyNowAgentRevolutionExplainerPanel.d.ts +0 -6
- package/dist/panels/WhyNowAgentRevolutionExplainerPanel.d.ts.map +0 -1
- package/dist/panels/WorkflowExplainerPanel.d.ts +0 -7
- package/dist/panels/WorkflowExplainerPanel.d.ts.map +0 -1
- package/dist/utils/workflowMatching.d.ts +0 -54
- package/dist/utils/workflowMatching.d.ts.map +0 -1
package/dist/types/otel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"otel.d.ts","sourceRoot":"","sources":["../../src/types/otel.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"otel.d.ts","sourceRoot":"","sources":["../../src/types/otel.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,eAAe,EACrB,MAAM,mCAAmC,CAAC;AAG3C,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,CAAC;AAE/C;;GAEG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,GAAG,SAAS,CAG7E;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG,YAAY,EAAE,CAgBxE;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,eAAe,GAAG,YAAY,GAAG,SAAS,CAG5E;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,eAAe,GAAG,gBAAgB,GAAG,SAAS,CAEhF"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helper utilities for working with RegisteredTrace (new API)
|
|
3
|
+
*
|
|
4
|
+
* These helpers abstract away the complexity of the new multi-resource,
|
|
5
|
+
* multi-scope, three-category matching structure.
|
|
6
|
+
*/
|
|
7
|
+
import type { RegisteredTrace } from '@principal-ai/principal-view-core';
|
|
8
|
+
/**
|
|
9
|
+
* Get primary service name from trace
|
|
10
|
+
* Uses first resource's serviceName
|
|
11
|
+
*/
|
|
12
|
+
export declare function getServiceName(trace: RegisteredTrace): string;
|
|
13
|
+
/**
|
|
14
|
+
* Get all service names from trace (for multi-service traces)
|
|
15
|
+
*/
|
|
16
|
+
export declare function getAllServiceNames(trace: RegisteredTrace): string[];
|
|
17
|
+
/**
|
|
18
|
+
* Get primary scope from trace
|
|
19
|
+
* Uses first resource's first scope
|
|
20
|
+
*/
|
|
21
|
+
export declare function getPrimaryScope(trace: RegisteredTrace): {
|
|
22
|
+
name: string;
|
|
23
|
+
version: string;
|
|
24
|
+
} | null;
|
|
25
|
+
/**
|
|
26
|
+
* Get all scopes from trace (across all resources)
|
|
27
|
+
*/
|
|
28
|
+
export declare function getAllScopes(trace: RegisteredTrace): Array<{
|
|
29
|
+
name: string;
|
|
30
|
+
version: string;
|
|
31
|
+
}>;
|
|
32
|
+
/**
|
|
33
|
+
* Check if trace has any matches (scenario or storyboard)
|
|
34
|
+
* Replaces: registryStatus === 'matched'
|
|
35
|
+
*/
|
|
36
|
+
export declare function isTraceMatched(trace: RegisteredTrace): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Check if trace has full scenario matches
|
|
39
|
+
* More strict than isTraceMatched - requires actual scenario matches
|
|
40
|
+
*/
|
|
41
|
+
export declare function hasScenarioMatches(trace: RegisteredTrace): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Get all scenario IDs that matched this trace
|
|
44
|
+
*/
|
|
45
|
+
export declare function getMatchedScenarioIds(trace: RegisteredTrace): string[];
|
|
46
|
+
/**
|
|
47
|
+
* Get all storyboard IDs that matched this trace (from scenario matches)
|
|
48
|
+
*/
|
|
49
|
+
export declare function getMatchedStoryboardIds(trace: RegisteredTrace): string[];
|
|
50
|
+
/**
|
|
51
|
+
* Get primary storyboard ID
|
|
52
|
+
* Returns first matched storyboard from scenario matches, then storyboard matches
|
|
53
|
+
*/
|
|
54
|
+
export declare function getPrimaryStoryboardId(trace: RegisteredTrace): string | null;
|
|
55
|
+
/**
|
|
56
|
+
* Get primary scenario ID
|
|
57
|
+
* Returns first matched scenario ID
|
|
58
|
+
*/
|
|
59
|
+
export declare function getPrimaryScenarioId(trace: RegisteredTrace): string | null;
|
|
60
|
+
/**
|
|
61
|
+
* Calculate matched nodes summary
|
|
62
|
+
* Replaces: trace.matchedNodesSummary
|
|
63
|
+
*/
|
|
64
|
+
export declare function getMatchedNodesSummary(trace: RegisteredTrace): {
|
|
65
|
+
totalNodes: number;
|
|
66
|
+
matchedNodes: number;
|
|
67
|
+
coveragePercent: number;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Filter traces by scenario ID
|
|
71
|
+
* Replaces: traces.filter(t => t.matchInfo?.scenarioId === scenarioId)
|
|
72
|
+
*/
|
|
73
|
+
export declare function filterTracesByScenario(traces: RegisteredTrace[], scenarioId: string): RegisteredTrace[];
|
|
74
|
+
/**
|
|
75
|
+
* Filter traces by storyboard ID
|
|
76
|
+
*/
|
|
77
|
+
export declare function filterTracesByStoryboard(traces: RegisteredTrace[], storyboardId: string): RegisteredTrace[];
|
|
78
|
+
/**
|
|
79
|
+
* Get match quality indicator
|
|
80
|
+
* Replaces: trace.registryStatus
|
|
81
|
+
*/
|
|
82
|
+
export declare function getMatchQuality(trace: RegisteredTrace): 'matched' | 'partial' | 'unmatched';
|
|
83
|
+
/**
|
|
84
|
+
* Get scope version (schema version)
|
|
85
|
+
* Replaces: trace.scope.version or trace.matchInfo?.schemaVersion
|
|
86
|
+
*/
|
|
87
|
+
export declare function getSchemaVersion(trace: RegisteredTrace): string | null;
|
|
88
|
+
/**
|
|
89
|
+
* Check if trace has validation issues
|
|
90
|
+
*/
|
|
91
|
+
export declare function hasValidationIssues(trace: RegisteredTrace): boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Get validation issues by severity
|
|
94
|
+
*/
|
|
95
|
+
export declare function getValidationIssuesBySeverity(trace: RegisteredTrace, severity: 'error' | 'warning' | 'info'): Array<{
|
|
96
|
+
category: string;
|
|
97
|
+
message: string;
|
|
98
|
+
suggestion?: string;
|
|
99
|
+
}>;
|
|
100
|
+
/**
|
|
101
|
+
* Create a grouping key for traces by service and scope
|
|
102
|
+
* Used for grouping traces in lists
|
|
103
|
+
*/
|
|
104
|
+
export declare function getTraceGroupKey(trace: RegisteredTrace): string;
|
|
105
|
+
/**
|
|
106
|
+
* Get match info structure for backward compatibility
|
|
107
|
+
* Creates a structure similar to the old matchInfo for easier migration
|
|
108
|
+
*/
|
|
109
|
+
export declare function getMatchInfo(trace: RegisteredTrace): {
|
|
110
|
+
storyboardId: string | null;
|
|
111
|
+
scenarioId: string | null;
|
|
112
|
+
schemaVersion: string | null;
|
|
113
|
+
hasMatch: boolean;
|
|
114
|
+
};
|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
{
|
|
2
2
|
"name": "@industry-theme/principal-view-panels",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "Principal View Graph Panels for visualizing graph configurations from .principal-views/ folder as interactive diagrams",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/panels.bundle.js",
|
|
@@ -52,18 +52,18 @@
|
|
|
52
52
|
"build-storybook": "storybook build"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@principal-ade/dynamic-file-tree": "^0.1.
|
|
55
|
+
"@principal-ade/dynamic-file-tree": "^0.1.69",
|
|
56
56
|
"@principal-ade/industry-theme": "^0.1.7",
|
|
57
|
-
"@principal-ade/panel-framework-core": "^0.
|
|
57
|
+
"@principal-ade/panel-framework-core": "^0.4.2",
|
|
58
58
|
"@principal-ade/utcp-panel-event": "^0.1.0",
|
|
59
59
|
"@principal-ai/codebase-composition": "^0.2.43",
|
|
60
|
-
"@principal-ai/principal-view-core": "^0.24.
|
|
60
|
+
"@principal-ai/principal-view-core": "^0.24.11",
|
|
61
61
|
"@principal-ai/repository-abstraction": "^0.5.7",
|
|
62
62
|
"react": ">=19.0.0",
|
|
63
63
|
"react-dom": ">=19.0.0"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@principal-ai/principal-view-react": "0.13.
|
|
66
|
+
"@principal-ai/principal-view-react": "0.13.5",
|
|
67
67
|
"@xyflow/react": "^12.0.0",
|
|
68
68
|
"clsx": "^2.1.1",
|
|
69
69
|
"framer-motion": "^11.0.0",
|
|
@@ -74,13 +74,13 @@
|
|
|
74
74
|
"@chromatic-com/storybook": "^4.1.3",
|
|
75
75
|
"@eslint/js": "^9.32.0",
|
|
76
76
|
"@opentelemetry/api": "^1.9.0",
|
|
77
|
-
"@principal-ade/dynamic-file-tree": "^0.1.
|
|
77
|
+
"@principal-ade/dynamic-file-tree": "^0.1.69",
|
|
78
78
|
"@principal-ade/industry-theme": "^0.1.7",
|
|
79
|
-
"@principal-ade/panel-framework-core": "^0.
|
|
79
|
+
"@principal-ade/panel-framework-core": "^0.4.2",
|
|
80
80
|
"@principal-ade/panel-layouts": "^0.3.20",
|
|
81
81
|
"@principal-ade/utcp-panel-event": "^0.1.0",
|
|
82
82
|
"@principal-ai/codebase-composition": "^0.2.43",
|
|
83
|
-
"@principal-ai/principal-view-core": "^0.24.
|
|
83
|
+
"@principal-ai/principal-view-core": "^0.24.11",
|
|
84
84
|
"@principal-ai/repository-abstraction": "^0.5.7",
|
|
85
85
|
"@storybook/addon-docs": "10.1.2",
|
|
86
86
|
"@storybook/addon-links": "10.1.2",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface AgentMonitoringGapExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const AgentMonitoringGapExplainerPanel: React.FC<AgentMonitoringGapExplainerPanelProps>;
|
|
6
|
-
//# sourceMappingURL=AgentMonitoringGapExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentMonitoringGapExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/AgentMonitoringGapExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,MAAM,WAAW,qCAAqC;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAsTD,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,EAAE,CAAC,qCAAqC,CAkF5F,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface BookAnalogyExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const BookAnalogyExplainerPanel: React.FC<BookAnalogyExplainerPanelProps>;
|
|
6
|
-
export default BookAnalogyExplainerPanel;
|
|
7
|
-
//# sourceMappingURL=BookAnalogyExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BookAnalogyExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/BookAnalogyExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,8BAA8B;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAseD,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CA4I9E,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface CanvasTypesExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const CanvasTypesExplainerPanel: React.FC<CanvasTypesExplainerPanelProps>;
|
|
6
|
-
export default CanvasTypesExplainerPanel;
|
|
7
|
-
//# sourceMappingURL=CanvasTypesExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CanvasTypesExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/CanvasTypesExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,8BAA8B;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkeD,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CA+J9E,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ChangeImpactAnalysisExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const ChangeImpactAnalysisExplainerPanel: React.FC<ChangeImpactAnalysisExplainerPanelProps>;
|
|
6
|
-
export default ChangeImpactAnalysisExplainerPanel;
|
|
7
|
-
//# sourceMappingURL=ChangeImpactAnalysisExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChangeImpactAnalysisExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/ChangeImpactAnalysisExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,uCAAuC;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA8cD,eAAO,MAAM,kCAAkC,EAAE,KAAK,CAAC,EAAE,CAAC,uCAAuC,CA2IhG,CAAC;AAEF,eAAe,kCAAkC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface HierarchicalCanvasCompositionExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const HierarchicalCanvasCompositionExplainerPanel: React.FC<HierarchicalCanvasCompositionExplainerPanelProps>;
|
|
6
|
-
export default HierarchicalCanvasCompositionExplainerPanel;
|
|
7
|
-
//# sourceMappingURL=HierarchicalCanvasCompositionExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HierarchicalCanvasCompositionExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/HierarchicalCanvasCompositionExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,gDAAgD;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA8fD,eAAO,MAAM,2CAA2C,EAAE,KAAK,CAAC,EAAE,CAAC,gDAAgD,CA4IlH,CAAC;AAEF,eAAe,2CAA2C,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface LibraryAnchoringExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const LibraryAnchoringExplainerPanel: React.FC<LibraryAnchoringExplainerPanelProps>;
|
|
6
|
-
export default LibraryAnchoringExplainerPanel;
|
|
7
|
-
//# sourceMappingURL=LibraryAnchoringExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LibraryAnchoringExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/LibraryAnchoringExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,mCAAmC;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAqkBD,eAAO,MAAM,8BAA8B,EAAE,KAAK,CAAC,EAAE,CAAC,mCAAmC,CAoKxF,CAAC;AAEF,eAAe,8BAA8B,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface MonorepoComposabilityExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const MonorepoComposabilityExplainerPanel: React.FC<MonorepoComposabilityExplainerPanelProps>;
|
|
6
|
-
export default MonorepoComposabilityExplainerPanel;
|
|
7
|
-
//# sourceMappingURL=MonorepoComposabilityExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MonorepoComposabilityExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/MonorepoComposabilityExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,wCAAwC;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA+eD,eAAO,MAAM,mCAAmC,EAAE,KAAK,CAAC,EAAE,CAAC,wCAAwC,CA4IlG,CAAC;AAEF,eAAe,mCAAmC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface MultipleCanvasViewsExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const MultipleCanvasViewsExplainerPanel: React.FC<MultipleCanvasViewsExplainerPanelProps>;
|
|
6
|
-
export default MultipleCanvasViewsExplainerPanel;
|
|
7
|
-
//# sourceMappingURL=MultipleCanvasViewsExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MultipleCanvasViewsExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/MultipleCanvasViewsExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,sCAAsC;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkgBD,eAAO,MAAM,iCAAiC,EAAE,KAAK,CAAC,EAAE,CAAC,sCAAsC,CA4I9F,CAAC;AAEF,eAAe,iCAAiC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ProductionDebuggingExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const ProductionDebuggingExplainerPanel: React.FC<ProductionDebuggingExplainerPanelProps>;
|
|
6
|
-
export default ProductionDebuggingExplainerPanel;
|
|
7
|
-
//# sourceMappingURL=ProductionDebuggingExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductionDebuggingExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/ProductionDebuggingExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,sCAAsC;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAwdD,eAAO,MAAM,iCAAiC,EAAE,KAAK,CAAC,EAAE,CAAC,sCAAsC,CA4I9F,CAAC;AAEF,eAAe,iCAAiC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface RuntimeValidationExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const RuntimeValidationExplainerPanel: React.FC<RuntimeValidationExplainerPanelProps>;
|
|
6
|
-
export default RuntimeValidationExplainerPanel;
|
|
7
|
-
//# sourceMappingURL=RuntimeValidationExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RuntimeValidationExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/RuntimeValidationExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,oCAAoC;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAohBD,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CAAC,oCAAoC,CAoK1F,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ScenarioEnumerationExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const ScenarioEnumerationExplainerPanel: React.FC<ScenarioEnumerationExplainerPanelProps>;
|
|
6
|
-
export default ScenarioEnumerationExplainerPanel;
|
|
7
|
-
//# sourceMappingURL=ScenarioEnumerationExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScenarioEnumerationExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/ScenarioEnumerationExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,sCAAsC;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAweD,eAAO,MAAM,iCAAiC,EAAE,KAAK,CAAC,EAAE,CAAC,sCAAsC,CAoK9F,CAAC;AAEF,eAAe,iCAAiC,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface SystemStoriesSolutionExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const SystemStoriesSolutionExplainerPanel: React.FC<SystemStoriesSolutionExplainerPanelProps>;
|
|
6
|
-
//# sourceMappingURL=SystemStoriesSolutionExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SystemStoriesSolutionExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/SystemStoriesSolutionExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,MAAM,WAAW,wCAAwC;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAmWD,eAAO,MAAM,mCAAmC,EAAE,KAAK,CAAC,EAAE,CAAC,wCAAwC,CAmFlG,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface TelemetryCoverageExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const TelemetryCoverageExplainerPanel: React.FC<TelemetryCoverageExplainerPanelProps>;
|
|
6
|
-
export default TelemetryCoverageExplainerPanel;
|
|
7
|
-
//# sourceMappingURL=TelemetryCoverageExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TelemetryCoverageExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/TelemetryCoverageExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,oCAAoC;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA+bD,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CAAC,oCAAoC,CA2I1F,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface TestVsProductionExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const TestVsProductionExplainerPanel: React.FC<TestVsProductionExplainerPanelProps>;
|
|
6
|
-
export default TestVsProductionExplainerPanel;
|
|
7
|
-
//# sourceMappingURL=TestVsProductionExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TestVsProductionExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/TestVsProductionExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,mCAAmC;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAuhBD,eAAO,MAAM,8BAA8B,EAAE,KAAK,CAAC,EAAE,CAAC,mCAAmC,CA4JxF,CAAC;AAEF,eAAe,8BAA8B,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface WhyNowAgentRevolutionExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const WhyNowAgentRevolutionExplainerPanel: React.FC<WhyNowAgentRevolutionExplainerPanelProps>;
|
|
6
|
-
//# sourceMappingURL=WhyNowAgentRevolutionExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WhyNowAgentRevolutionExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/WhyNowAgentRevolutionExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,MAAM,WAAW,wCAAwC;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAiTD,eAAO,MAAM,mCAAmC,EAAE,KAAK,CAAC,EAAE,CAAC,wCAAwC,CAmFlG,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface WorkflowExplainerPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const WorkflowExplainerPanel: React.FC<WorkflowExplainerPanelProps>;
|
|
6
|
-
export default WorkflowExplainerPanel;
|
|
7
|
-
//# sourceMappingURL=WorkflowExplainerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowExplainerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/WorkflowExplainerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,2BAA2B;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA6gBD,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAkKxE,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Workflow matching utilities for multi-workflow trace analysis
|
|
3
|
-
*
|
|
4
|
-
* @deprecated These utilities are deprecated in favor of registry-based matching in RegisteredTrace
|
|
5
|
-
*/
|
|
6
|
-
import type { WorkflowTemplate, WorkflowMatch } from '@principal-ai/principal-view-core';
|
|
7
|
-
import type { RegisteredTrace } from '../types/otel';
|
|
8
|
-
export interface WorkflowMatchingResult {
|
|
9
|
-
matches: WorkflowMatch[];
|
|
10
|
-
unmatchedEventNames: string[];
|
|
11
|
-
totalEventCount: number;
|
|
12
|
-
matchedEventCount: number;
|
|
13
|
-
}
|
|
14
|
-
export interface WorkflowMetadata {
|
|
15
|
-
id: string;
|
|
16
|
-
storyboardId: string;
|
|
17
|
-
storyboardName: string;
|
|
18
|
-
template: WorkflowTemplate;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Match a trace against multiple workflows to determine which workflows it touches
|
|
22
|
-
*
|
|
23
|
-
* This function:
|
|
24
|
-
* 1. Converts trace spans to OtelEvents
|
|
25
|
-
* 2. Runs renderWorkflow() against each workflow template
|
|
26
|
-
* 3. Tracks which events matched vs unmatched
|
|
27
|
-
* 4. Returns comprehensive matching results
|
|
28
|
-
*
|
|
29
|
-
* @deprecated Use registry-based matching in RegisteredTrace instead
|
|
30
|
-
* @param trace - The trace to analyze
|
|
31
|
-
* @param workflows - Array of workflows with metadata (from DiscoveredWorkflow)
|
|
32
|
-
* @returns Matching results with matched workflows, unmatched events, and coverage metrics
|
|
33
|
-
*/
|
|
34
|
-
export declare function matchTraceToWorkflows(trace: RegisteredTrace, workflows: WorkflowMetadata[]): WorkflowMatchingResult;
|
|
35
|
-
/**
|
|
36
|
-
* Enrich a trace with multi-workflow matching information
|
|
37
|
-
*
|
|
38
|
-
* This updates the trace object with matchedWorkflows, unmatchedEventNames, and totalEventCount
|
|
39
|
-
*
|
|
40
|
-
* @deprecated Use registry-based matching in RegisteredTrace instead
|
|
41
|
-
* @param trace - The trace to enrich
|
|
42
|
-
* @param workflows - Array of workflows with metadata to match against
|
|
43
|
-
* @returns The enriched trace
|
|
44
|
-
*/
|
|
45
|
-
export declare function enrichTraceWithWorkflowMatches(trace: RegisteredTrace, workflows: WorkflowMetadata[]): RegisteredTrace;
|
|
46
|
-
/**
|
|
47
|
-
* Calculate coverage percentage for a trace
|
|
48
|
-
*
|
|
49
|
-
* @deprecated Use RegisteredTrace.matchedNodesSummary.coveragePercent instead
|
|
50
|
-
* @param trace - Trace with workflow matching information
|
|
51
|
-
* @returns Coverage percentage (0-100)
|
|
52
|
-
*/
|
|
53
|
-
export declare function calculateCoveragePercentage(trace: RegisteredTrace): number;
|
|
54
|
-
//# sourceMappingURL=workflowMatching.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflowMatching.d.ts","sourceRoot":"","sources":["../../src/utils/workflowMatching.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAyD,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAChJ,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAGrD,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAkCD,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,gBAAgB,CAAC;CAC5B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,eAAe,EACtB,SAAS,EAAE,gBAAgB,EAAE,GAC5B,sBAAsB,CAmExB;AAED;;;;;;;;;GASG;AACH,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,eAAe,EACtB,SAAS,EAAE,gBAAgB,EAAE,GAC5B,eAAe,CAIjB;AAED;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,CAE1E"}
|