@unified-product-graph/cloud-server 0.9.7 → 0.9.9
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.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/tools-manifest.json +3 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -2800,6 +2800,11 @@ var createCrossProductEdge = async (args, { store }) => {
|
|
|
2800
2800
|
`instance_of links a product entity to a canonical registry entity and is created via the registry tooling (register_instance) in the local MCP server, not create_cross_product_edge.`
|
|
2801
2801
|
);
|
|
2802
2802
|
}
|
|
2803
|
+
if (type === "area_serves_persona" || type === "area_targets_market_segment") {
|
|
2804
|
+
return textError(
|
|
2805
|
+
`${type} links a product_area to a canonical registry persona/market_segment and is created via the portfolio tooling (link_area_to_audience) in the local MCP server, not create_cross_product_edge.`
|
|
2806
|
+
);
|
|
2807
|
+
}
|
|
2803
2808
|
try {
|
|
2804
2809
|
const edge = await store.addCrossProductEdge(edgeId(), productId, source, target, type);
|
|
2805
2810
|
return text(JSON.stringify({ edge }, null, 2));
|
|
@@ -4486,7 +4491,7 @@ var TOOL_DEFINITIONS = [
|
|
|
4486
4491
|
},
|
|
4487
4492
|
{
|
|
4488
4493
|
name: "list_cross_edge_types",
|
|
4489
|
-
description: "List the canonical cross-product edge types from UPG_CROSS_EDGE_TYPES (shares_persona, shares_competitor, shares_metric, depends_on_product, cannibalises, succeeds, hosts, contributes_to, instance_of). Portfolio-level relationships between entities in different products, separate from the within-product UPG_EDGE_CATALOG. instance_of
|
|
4494
|
+
description: "List the canonical cross-product edge types from UPG_CROSS_EDGE_TYPES (shares_persona, shares_competitor, shares_metric, depends_on_product, cannibalises, succeeds, hosts, contributes_to, instance_of, area_serves_persona, area_targets_market_segment, rolls_up_to). Portfolio-level relationships between entities in different products, separate from the within-product UPG_EDGE_CATALOG. instance_of and the area edges (area_serves_persona / area_targets_market_segment) are created via the registry/portfolio tooling in the local MCP server; rolls_up_to (a product metric feeding a company metric) via create_cross_product_edge.",
|
|
4490
4495
|
inputSchema: { type: "object", properties: {} }
|
|
4491
4496
|
},
|
|
4492
4497
|
{
|