@principal-ai/principal-view-cli 0.14.60 → 0.14.61
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.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -243741,10 +243741,10 @@ var require_ScopesCanvasValidator = __commonJS({
|
|
|
243741
243741
|
violations.push({
|
|
243742
243742
|
ruleId: "scopes-canvas-required",
|
|
243743
243743
|
severity: "error",
|
|
243744
|
-
file: scopesCanvasPath || ".principal-views/
|
|
243744
|
+
file: scopesCanvasPath || ".principal-views/architecture.scopes.canvas",
|
|
243745
243745
|
message: "Scopes canvas is required when library.yaml defines owned-scopes",
|
|
243746
243746
|
impact: "Cannot visualize or validate instrumentation scope boundaries",
|
|
243747
|
-
suggestion: `Create a scopes canvas at .principal-views/
|
|
243747
|
+
suggestion: `Create a scopes canvas at .principal-views/architecture.scopes.canvas with nodes for each scope:
|
|
243748
243748
|
` + ownedScopes.map((s) => ` - ${s}`).join("\n") + '\n\nEach node should have pv.nodeType: "scope" and pv.otel.scope set to the scope name.'
|
|
243749
243749
|
});
|
|
243750
243750
|
return {
|
|
@@ -243789,7 +243789,7 @@ var require_ScopesCanvasValidator = __commonJS({
|
|
|
243789
243789
|
violations.push({
|
|
243790
243790
|
ruleId: "scopes-canvas-incomplete",
|
|
243791
243791
|
severity: "error",
|
|
243792
|
-
file: scopesCanvasPath || ".principal-views/
|
|
243792
|
+
file: scopesCanvasPath || ".principal-views/architecture.scopes.canvas",
|
|
243793
243793
|
message: `Scopes canvas is missing ${missingScopes.length} scope(s) from library.yaml`,
|
|
243794
243794
|
impact: "These scopes are not documented in the scope boundary map",
|
|
243795
243795
|
suggestion: `Add nodes for the following scopes:
|
|
@@ -243800,7 +243800,7 @@ var require_ScopesCanvasValidator = __commonJS({
|
|
|
243800
243800
|
violations.push({
|
|
243801
243801
|
ruleId: "scopes-canvas-extra-scopes",
|
|
243802
243802
|
severity: "warn",
|
|
243803
|
-
file: scopesCanvasPath || ".principal-views/
|
|
243803
|
+
file: scopesCanvasPath || ".principal-views/architecture.scopes.canvas",
|
|
243804
243804
|
message: `Scopes canvas contains ${extraScopes.length} scope(s) not in library.yaml owned-scopes`,
|
|
243805
243805
|
impact: "These scopes may be external or need to be added to library.yaml",
|
|
243806
243806
|
suggestion: `Either:
|
|
@@ -243813,7 +243813,7 @@ var require_ScopesCanvasValidator = __commonJS({
|
|
|
243813
243813
|
violations.push({
|
|
243814
243814
|
ruleId: "scopes-canvas-node-description",
|
|
243815
243815
|
severity: "warn",
|
|
243816
|
-
file: scopesCanvasPath || ".principal-views/
|
|
243816
|
+
file: scopesCanvasPath || ".principal-views/architecture.scopes.canvas",
|
|
243817
243817
|
path: `nodes[${nodeId}]`,
|
|
243818
243818
|
message: `Scope node "${scope}" is missing a description`,
|
|
243819
243819
|
impact: "Scope documentation is incomplete without a description",
|
|
@@ -243824,7 +243824,7 @@ var require_ScopesCanvasValidator = __commonJS({
|
|
|
243824
243824
|
violations.push({
|
|
243825
243825
|
ruleId: "scopes-canvas-node-type",
|
|
243826
243826
|
severity: "warn",
|
|
243827
|
-
file: scopesCanvasPath || ".principal-views/
|
|
243827
|
+
file: scopesCanvasPath || ".principal-views/architecture.scopes.canvas",
|
|
243828
243828
|
path: `nodes[${nodeId}]`,
|
|
243829
243829
|
message: `Scope node "${scope}" should have nodeType: "scope"`,
|
|
243830
243830
|
impact: "Node may not be recognized as a scope node",
|