@unified-product-graph/cloud-server 0.9.10 → 0.9.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.js +65 -1
- package/dist/index.js.map +1 -1
- package/dist/tools-manifest.json +55 -26
- package/package.json +3 -3
package/dist/tools-manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": "2",
|
|
3
3
|
"package": "@unified-product-graph/cloud-server",
|
|
4
|
-
"package_version": "0.9.
|
|
5
|
-
"tool_count":
|
|
4
|
+
"package_version": "0.9.11",
|
|
5
|
+
"tool_count": 94,
|
|
6
6
|
"domains": [
|
|
7
7
|
"products",
|
|
8
8
|
"context",
|
|
@@ -1615,7 +1615,7 @@
|
|
|
1615
1615
|
"inspect",
|
|
1616
1616
|
"validate_graph"
|
|
1617
1617
|
],
|
|
1618
|
-
"source": "src/tools/spec.ts:
|
|
1618
|
+
"source": "src/tools/spec.ts:1165",
|
|
1619
1619
|
"symbol": "getAntiPattern",
|
|
1620
1620
|
"returns": "JSON: `UPGCuratedAntiPattern`",
|
|
1621
1621
|
"return_notes": [
|
|
@@ -1727,7 +1727,7 @@
|
|
|
1727
1727
|
"list_domains",
|
|
1728
1728
|
"get_domain_guide"
|
|
1729
1729
|
],
|
|
1730
|
-
"source": "src/tools/spec.ts:
|
|
1730
|
+
"source": "src/tools/spec.ts:1664",
|
|
1731
1731
|
"symbol": "getDomainRing",
|
|
1732
1732
|
"returns": "JSON: the full `UPGDomainRing` record.",
|
|
1733
1733
|
"return_notes": [
|
|
@@ -1793,7 +1793,7 @@
|
|
|
1793
1793
|
"get_type_label",
|
|
1794
1794
|
"get_entity_schema"
|
|
1795
1795
|
],
|
|
1796
|
-
"source": "src/tools/spec.ts:
|
|
1796
|
+
"source": "src/tools/spec.ts:1084",
|
|
1797
1797
|
"symbol": "getEntityMeta",
|
|
1798
1798
|
"returns": "JSON: `EntityTypeMeta & { domain_id: string | null }`",
|
|
1799
1799
|
"return_notes": [
|
|
@@ -1863,7 +1863,7 @@
|
|
|
1863
1863
|
"get_framework",
|
|
1864
1864
|
"list_entity_types"
|
|
1865
1865
|
],
|
|
1866
|
-
"source": "src/tools/spec.ts:
|
|
1866
|
+
"source": "src/tools/spec.ts:904",
|
|
1867
1867
|
"symbol": "getLensTool",
|
|
1868
1868
|
"returns": "JSON: `{ ...UPGLens, visible_types: string[] }`",
|
|
1869
1869
|
"return_shape": "{...UPGLens, visible_types: string[] }",
|
|
@@ -1895,7 +1895,7 @@
|
|
|
1895
1895
|
"get_entity_meta",
|
|
1896
1896
|
"get_entity_schema"
|
|
1897
1897
|
],
|
|
1898
|
-
"source": "src/tools/spec.ts:
|
|
1898
|
+
"source": "src/tools/spec.ts:1473",
|
|
1899
1899
|
"symbol": "getLifecycle",
|
|
1900
1900
|
"returns": "JSON: the full `UPGLifecycle` record, or a descriptive message.",
|
|
1901
1901
|
"return_notes": [
|
|
@@ -2033,7 +2033,7 @@
|
|
|
2033
2033
|
"list_scales",
|
|
2034
2034
|
"get_entity_schema"
|
|
2035
2035
|
],
|
|
2036
|
-
"source": "src/tools/spec.ts:
|
|
2036
|
+
"source": "src/tools/spec.ts:1580",
|
|
2037
2037
|
"symbol": "getScale",
|
|
2038
2038
|
"returns": "JSON: the full `UPGScaleDefinition` record including all points.",
|
|
2039
2039
|
"return_notes": [
|
|
@@ -2097,7 +2097,7 @@
|
|
|
2097
2097
|
"get_entity_meta",
|
|
2098
2098
|
"list_frameworks"
|
|
2099
2099
|
],
|
|
2100
|
-
"source": "src/tools/spec.ts:
|
|
2100
|
+
"source": "src/tools/spec.ts:965",
|
|
2101
2101
|
"symbol": "getTypeLabel",
|
|
2102
2102
|
"returns": "JSON: `{ ...UPGTypeLabel, resolved_label: string }`",
|
|
2103
2103
|
"return_shape": "{...UPGTypeLabel, resolved_label: string }",
|
|
@@ -2130,7 +2130,7 @@
|
|
|
2130
2130
|
"get_entity_meta",
|
|
2131
2131
|
"create_node"
|
|
2132
2132
|
],
|
|
2133
|
-
"source": "src/tools/spec.ts:
|
|
2133
|
+
"source": "src/tools/spec.ts:991",
|
|
2134
2134
|
"symbol": "getValidChildrenTool",
|
|
2135
2135
|
"returns": "JSON: `{ parent_type, valid_children: string[] }`",
|
|
2136
2136
|
"return_shape": "{ parent_type, valid_children: string[] }",
|
|
@@ -2227,7 +2227,7 @@
|
|
|
2227
2227
|
"inspect",
|
|
2228
2228
|
"get_domain_guide"
|
|
2229
2229
|
],
|
|
2230
|
-
"source": "src/tools/spec.ts:
|
|
2230
|
+
"source": "src/tools/spec.ts:1125",
|
|
2231
2231
|
"symbol": "listAntiPatterns",
|
|
2232
2232
|
"returns": "JSON: `{ total, count, next_cursor?, anti_patterns: UPGCuratedAntiPattern[] }`",
|
|
2233
2233
|
"return_shape": "{ total, count, next_cursor?, anti_patterns: UPGCuratedAntiPattern[] }",
|
|
@@ -2316,7 +2316,7 @@
|
|
|
2316
2316
|
"list_domains",
|
|
2317
2317
|
"list_anti_patterns"
|
|
2318
2318
|
],
|
|
2319
|
-
"source": "src/tools/spec.ts:
|
|
2319
|
+
"source": "src/tools/spec.ts:1199",
|
|
2320
2320
|
"symbol": "listBenchmarks",
|
|
2321
2321
|
"returns": "JSON: `{ kind, total, count, benchmarks: ... }`",
|
|
2322
2322
|
"return_shape": "{ kind, total, count, benchmarks:... }",
|
|
@@ -2338,7 +2338,7 @@
|
|
|
2338
2338
|
"list_portfolio_cross_edges",
|
|
2339
2339
|
"migrate_cross_edges"
|
|
2340
2340
|
],
|
|
2341
|
-
"source": "src/tools/spec.ts:
|
|
2341
|
+
"source": "src/tools/spec.ts:845",
|
|
2342
2342
|
"symbol": "listCrossEdgeTypes",
|
|
2343
2343
|
"returns": "JSON: `{ count, types: readonly UPGCrossEdgeType[] }`",
|
|
2344
2344
|
"return_shape": "{ count, types: readonly UPGCrossEdgeType[] }",
|
|
@@ -2360,7 +2360,7 @@
|
|
|
2360
2360
|
"list_domains",
|
|
2361
2361
|
"get_domain_guide"
|
|
2362
2362
|
],
|
|
2363
|
-
"source": "src/tools/spec.ts:
|
|
2363
|
+
"source": "src/tools/spec.ts:1643",
|
|
2364
2364
|
"symbol": "listDomainRings",
|
|
2365
2365
|
"returns": "JSON: `{ rings: UPGDomainRing[], total: number }`",
|
|
2366
2366
|
"return_shape": "{ rings: UPGDomainRing[], total: number }",
|
|
@@ -2416,7 +2416,7 @@
|
|
|
2416
2416
|
"list_edge_types",
|
|
2417
2417
|
"validate_graph"
|
|
2418
2418
|
],
|
|
2419
|
-
"source": "src/tools/spec.ts:
|
|
2419
|
+
"source": "src/tools/spec.ts:1365",
|
|
2420
2420
|
"symbol": "listEdgeMigrations",
|
|
2421
2421
|
"returns": "JSON: `{ migrations: [{ kind, from, to?, since }], total: number }`",
|
|
2422
2422
|
"return_shape": "{ migrations: [{ kind, from, to?, since }], total: number }",
|
|
@@ -2499,7 +2499,7 @@
|
|
|
2499
2499
|
"list_type_labels",
|
|
2500
2500
|
"list_domains"
|
|
2501
2501
|
],
|
|
2502
|
-
"source": "src/tools/spec.ts:
|
|
2502
|
+
"source": "src/tools/spec.ts:1034",
|
|
2503
2503
|
"symbol": "listEntityTypes",
|
|
2504
2504
|
"returns": "JSON: `{ total, count, next_cursor?, types: Array<EntityTypeMeta & { domain_id: string | null }> }`",
|
|
2505
2505
|
"return_shape": "{ total, count, next_cursor?, types: Array<EntityTypeMeta & { domain_id: string | null }> }",
|
|
@@ -2520,7 +2520,7 @@
|
|
|
2520
2520
|
"list_frameworks",
|
|
2521
2521
|
"list_framework_structure_patterns"
|
|
2522
2522
|
],
|
|
2523
|
-
"source": "src/tools/spec.ts:
|
|
2523
|
+
"source": "src/tools/spec.ts:1599",
|
|
2524
2524
|
"symbol": "listFrameworkCategories",
|
|
2525
2525
|
"returns": "JSON: `{ categories: string[], total: number }`",
|
|
2526
2526
|
"return_shape": "{ categories: string[], total: number }",
|
|
@@ -2542,7 +2542,7 @@
|
|
|
2542
2542
|
"list_framework_categories",
|
|
2543
2543
|
"get_framework"
|
|
2544
2544
|
],
|
|
2545
|
-
"source": "src/tools/spec.ts:
|
|
2545
|
+
"source": "src/tools/spec.ts:1620",
|
|
2546
2546
|
"symbol": "listFrameworkStructurePatterns",
|
|
2547
2547
|
"returns": "JSON: `{ patterns: string[], total: number }`",
|
|
2548
2548
|
"return_shape": "{ patterns: string[], total: number }",
|
|
@@ -2600,7 +2600,7 @@
|
|
|
2600
2600
|
"list_playbooks",
|
|
2601
2601
|
"list_frameworks"
|
|
2602
2602
|
],
|
|
2603
|
-
"source": "src/tools/spec.ts:
|
|
2603
|
+
"source": "src/tools/spec.ts:871",
|
|
2604
2604
|
"symbol": "listLenses",
|
|
2605
2605
|
"returns": "JSON: `{ count, lenses: Array<{ id, name, description, icon, audience, perspective, framework_id?, playbook_id?, visible_domain_count, intelligence_prompt_count }> }`",
|
|
2606
2606
|
"return_shape": "{ count, lenses: Array<{ id, name, description, icon, audience, perspective, framework_id?, playbook_id?, visible_domain_count, intelligence_prompt_count }> }",
|
|
@@ -2631,7 +2631,7 @@
|
|
|
2631
2631
|
"list_entity_types",
|
|
2632
2632
|
"get_entity_meta"
|
|
2633
2633
|
],
|
|
2634
|
-
"source": "src/tools/spec.ts:
|
|
2634
|
+
"source": "src/tools/spec.ts:1430",
|
|
2635
2635
|
"symbol": "listLifecycles",
|
|
2636
2636
|
"returns": "JSON: `{ lifecycles, total, free_types: string[], planned_types: string[] }`",
|
|
2637
2637
|
"return_shape": "{ lifecycles, total, free_types: string[], planned_types: string[] }",
|
|
@@ -2689,7 +2689,7 @@
|
|
|
2689
2689
|
"list_anti_patterns",
|
|
2690
2690
|
"create_product"
|
|
2691
2691
|
],
|
|
2692
|
-
"source": "src/tools/spec.ts:
|
|
2692
|
+
"source": "src/tools/spec.ts:1302",
|
|
2693
2693
|
"symbol": "listProductStages",
|
|
2694
2694
|
"returns": "JSON: `{ count, stages: readonly UPGProductStage[] }`",
|
|
2695
2695
|
"return_shape": "{ count, stages: readonly UPGProductStage[] }",
|
|
@@ -2733,7 +2733,7 @@
|
|
|
2733
2733
|
"get_scale",
|
|
2734
2734
|
"get_entity_schema"
|
|
2735
2735
|
],
|
|
2736
|
-
"source": "src/tools/spec.ts:
|
|
2736
|
+
"source": "src/tools/spec.ts:1565",
|
|
2737
2737
|
"symbol": "listScales",
|
|
2738
2738
|
"returns": "JSON: `{ scales: UPGScaleDefinition[], total: number }`",
|
|
2739
2739
|
"return_shape": "{ scales: UPGScaleDefinition[], total: number }",
|
|
@@ -2756,12 +2756,41 @@
|
|
|
2756
2756
|
"migrate_type",
|
|
2757
2757
|
"validate_graph"
|
|
2758
2758
|
],
|
|
2759
|
-
"source": "src/tools/spec.ts:
|
|
2759
|
+
"source": "src/tools/spec.ts:1402",
|
|
2760
2760
|
"symbol": "listSplitMigrations",
|
|
2761
2761
|
"returns": "JSON: `{ splits: [...], total: number }`",
|
|
2762
2762
|
"return_shape": "{ splits: [...], total: number }",
|
|
2763
2763
|
"atomicity": "atomic (read-only)"
|
|
2764
2764
|
},
|
|
2765
|
+
{
|
|
2766
|
+
"name": "list_status_values",
|
|
2767
|
+
"description": "List the valid `status` values an entity type can hold: the pre-flight lookup so you no longer learn the set only from a rejected write. For a lifecycle type, returns each phase as `{ status, label, terminal }` plus `initial_status` and `terminal_statuses`; for a lifecycle-free type, returns `lifecycle_free: true` with empty `values`. The focused, low-token sibling of `get_lifecycle`.",
|
|
2768
|
+
"domain": "spec",
|
|
2769
|
+
"inputSchema": {
|
|
2770
|
+
"type": "object",
|
|
2771
|
+
"properties": {
|
|
2772
|
+
"entity_type": {
|
|
2773
|
+
"type": "string",
|
|
2774
|
+
"description": "Canonical entity type name (e.g. \"feature\", \"key_result\", \"need\")."
|
|
2775
|
+
}
|
|
2776
|
+
},
|
|
2777
|
+
"required": [
|
|
2778
|
+
"entity_type"
|
|
2779
|
+
]
|
|
2780
|
+
},
|
|
2781
|
+
"throws": [],
|
|
2782
|
+
"examples": [],
|
|
2783
|
+
"warnings": [],
|
|
2784
|
+
"see": [
|
|
2785
|
+
"get_lifecycle",
|
|
2786
|
+
"get_entity_schema"
|
|
2787
|
+
],
|
|
2788
|
+
"source": "src/tools/spec.ts:1505",
|
|
2789
|
+
"symbol": "listStatusValues",
|
|
2790
|
+
"returns": "JSON: `{ entity_type, lifecycle_free, initial_status?, terminal_statuses?, values: [{ status, label, terminal }], note? }`.",
|
|
2791
|
+
"return_shape": "{ entity_type, lifecycle_free, initial_status?, terminal_statuses?, values: [{ status, label, terminal }], note? }",
|
|
2792
|
+
"atomicity": "atomic (read-only)"
|
|
2793
|
+
},
|
|
2765
2794
|
{
|
|
2766
2795
|
"name": "list_type_labels",
|
|
2767
2796
|
"description": "List canonical UPGTypeLabel entries: every entity type's display label, alt-labels (synonyms), per-framework labels, and (where applicable) designation labels. Paginated (default limit 100, max 500). Cursor is opaque base64 (offset:N) following the list_frameworks convention. External MCP apps need labels for rendering.",
|
|
@@ -2787,7 +2816,7 @@
|
|
|
2787
2816
|
"list_entity_types",
|
|
2788
2817
|
"get_entity_meta"
|
|
2789
2818
|
],
|
|
2790
|
-
"source": "src/tools/spec.ts:
|
|
2819
|
+
"source": "src/tools/spec.ts:934",
|
|
2791
2820
|
"symbol": "listTypeLabels",
|
|
2792
2821
|
"returns": "JSON: `{ total, count, next_cursor?, labels: UPGTypeLabel[] }`",
|
|
2793
2822
|
"return_shape": "{ total, count, next_cursor?, labels: UPGTypeLabel[] }",
|
|
@@ -2816,7 +2845,7 @@
|
|
|
2816
2845
|
"validate_graph",
|
|
2817
2846
|
"list_entity_types"
|
|
2818
2847
|
],
|
|
2819
|
-
"source": "src/tools/spec.ts:
|
|
2848
|
+
"source": "src/tools/spec.ts:1334",
|
|
2820
2849
|
"symbol": "listTypeMigrations",
|
|
2821
2850
|
"returns": "JSON: `{ migrations: [{ from, to, since }], total: number }`",
|
|
2822
2851
|
"return_shape": "{ migrations: [{ from, to, since }], total: number }",
|
|
@@ -2982,7 +3011,7 @@
|
|
|
2982
3011
|
"create_edge",
|
|
2983
3012
|
"trace"
|
|
2984
3013
|
],
|
|
2985
|
-
"source": "src/tools/spec.ts:
|
|
3014
|
+
"source": "src/tools/spec.ts:814",
|
|
2986
3015
|
"symbol": "resolveEdgeForPair",
|
|
2987
3016
|
"returns": "JSON: `{ source_type, target_type, edge_type: string | null }`",
|
|
2988
3017
|
"return_shape": "{ source_type, target_type, edge_type: string | null }",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unified-product-graph/cloud-server",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.11",
|
|
4
4
|
"description": "Postgres-backed MCP server for the Unified Product Graph, self-hostable, open source",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "The Product Creator <hello@theproductcreator.com>",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@modelcontextprotocol/sdk": "^1.27.0",
|
|
43
|
-
"@unified-product-graph/core": "0.9.
|
|
44
|
-
"@unified-product-graph/sdk": "0.9.
|
|
43
|
+
"@unified-product-graph/core": "0.9.11",
|
|
44
|
+
"@unified-product-graph/sdk": "0.9.11",
|
|
45
45
|
"nanoid": "^5.1.0",
|
|
46
46
|
"pg": "^8.13.0"
|
|
47
47
|
},
|