@unified-product-graph/cloud-server 0.9.14 → 0.9.16
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 +247 -3
- package/dist/index.js.map +1 -1
- package/dist/tools-manifest.json +108 -50
- 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.16",
|
|
5
|
+
"tool_count": 95,
|
|
6
6
|
"domains": [
|
|
7
7
|
"products",
|
|
8
8
|
"context",
|
|
@@ -242,6 +242,64 @@
|
|
|
242
242
|
],
|
|
243
243
|
"atomicity": "atomic (read-only)"
|
|
244
244
|
},
|
|
245
|
+
{
|
|
246
|
+
"name": "get_tree",
|
|
247
|
+
"description": "Assemble a canonical tree pattern (ost, okr, user, product, validation, strategy, feature_areas) from the product graph. Walks the pattern's type-driven child map over the live graph (drift-proof, follows whatever edge wired each parent to a child of the expected type), roots at the pattern anchor with fallback, and reports structural gaps. Returns nested data, not rendered text.",
|
|
248
|
+
"domain": "context",
|
|
249
|
+
"inputSchema": {
|
|
250
|
+
"type": "object",
|
|
251
|
+
"properties": {
|
|
252
|
+
"product_id": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"description": "The product ID"
|
|
255
|
+
},
|
|
256
|
+
"pattern": {
|
|
257
|
+
"type": "string",
|
|
258
|
+
"description": "Tree pattern id: ost, okr, user, product, validation, strategy, feature_areas"
|
|
259
|
+
},
|
|
260
|
+
"from_id": {
|
|
261
|
+
"type": "string",
|
|
262
|
+
"description": "Explicit root node id. Defaults to the pattern's canonical anchor type."
|
|
263
|
+
},
|
|
264
|
+
"depth": {
|
|
265
|
+
"type": "number",
|
|
266
|
+
"description": "Max levels. Defaults to the pattern's natural depth."
|
|
267
|
+
},
|
|
268
|
+
"include_properties": {
|
|
269
|
+
"type": "array",
|
|
270
|
+
"items": {
|
|
271
|
+
"type": "string"
|
|
272
|
+
},
|
|
273
|
+
"description": "Node property keys to inline on each tree node."
|
|
274
|
+
},
|
|
275
|
+
"max_nodes": {
|
|
276
|
+
"type": "number",
|
|
277
|
+
"description": "Cap on assembled nodes. The tree is summarised (stats.truncated) rather than silently cut."
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"required": [
|
|
281
|
+
"product_id",
|
|
282
|
+
"pattern"
|
|
283
|
+
]
|
|
284
|
+
},
|
|
285
|
+
"throws": [
|
|
286
|
+
"textError when `product_id` or `pattern` is missing or `pattern` is unknown."
|
|
287
|
+
],
|
|
288
|
+
"examples": [],
|
|
289
|
+
"warnings": [],
|
|
290
|
+
"see": [
|
|
291
|
+
"query",
|
|
292
|
+
"list_playbooks"
|
|
293
|
+
],
|
|
294
|
+
"source": "src/tools/tree.ts:47",
|
|
295
|
+
"symbol": "getTree",
|
|
296
|
+
"returns": "JSON: `{ pattern, framework_id?, anchor_type, anchor_used,\nanchor_resolved_from?, roots: TreeNode[], stats: { nodes, levels, truncated },\ngaps: [{ node_id, type, title, missing }] }`. Structured data, never rendered text.",
|
|
297
|
+
"return_shape": "{ pattern, framework_id?, anchor_type, anchor_used, anchor_resolved_from?, roots: TreeNode[], stats: { nodes, levels, truncated }, gaps: [{ node_id, type, title, missing }] }",
|
|
298
|
+
"return_notes": [
|
|
299
|
+
"Structured data, never rendered text."
|
|
300
|
+
],
|
|
301
|
+
"atomicity": "atomic (read-only). Reads the named product only."
|
|
302
|
+
},
|
|
245
303
|
{
|
|
246
304
|
"name": "query",
|
|
247
305
|
"description": "Traverse the graph following typed edges. Returns a subgraph in a single call. Replaces multi-step fetch patterns. Supports edge type filtering (including !negation), field projection, and truncation metadata.",
|
|
@@ -1615,7 +1673,7 @@
|
|
|
1615
1673
|
"inspect",
|
|
1616
1674
|
"validate_graph"
|
|
1617
1675
|
],
|
|
1618
|
-
"source": "src/tools/spec.ts:
|
|
1676
|
+
"source": "src/tools/spec.ts:1183",
|
|
1619
1677
|
"symbol": "getAntiPattern",
|
|
1620
1678
|
"returns": "JSON: `UPGCuratedAntiPattern`",
|
|
1621
1679
|
"return_notes": [
|
|
@@ -1659,7 +1717,7 @@
|
|
|
1659
1717
|
"trace",
|
|
1660
1718
|
"reflect"
|
|
1661
1719
|
],
|
|
1662
|
-
"source": "src/tools/spec.ts:
|
|
1720
|
+
"source": "src/tools/spec.ts:237",
|
|
1663
1721
|
"symbol": "getApproach",
|
|
1664
1722
|
"returns": "JSON: the full `UPGApproach` record.",
|
|
1665
1723
|
"return_notes": [
|
|
@@ -1693,7 +1751,7 @@
|
|
|
1693
1751
|
"list_anti_patterns",
|
|
1694
1752
|
"get_playbook"
|
|
1695
1753
|
],
|
|
1696
|
-
"source": "src/tools/spec.ts:
|
|
1754
|
+
"source": "src/tools/spec.ts:528",
|
|
1697
1755
|
"symbol": "getDomainGuide",
|
|
1698
1756
|
"returns": "JSON: the full `UPGDomainUsageGuide` record.",
|
|
1699
1757
|
"return_notes": [
|
|
@@ -1727,7 +1785,7 @@
|
|
|
1727
1785
|
"list_domains",
|
|
1728
1786
|
"get_domain_guide"
|
|
1729
1787
|
],
|
|
1730
|
-
"source": "src/tools/spec.ts:
|
|
1788
|
+
"source": "src/tools/spec.ts:1682",
|
|
1731
1789
|
"symbol": "getDomainRing",
|
|
1732
1790
|
"returns": "JSON: the full `UPGDomainRing` record.",
|
|
1733
1791
|
"return_notes": [
|
|
@@ -1761,7 +1819,7 @@
|
|
|
1761
1819
|
"resolve_edge_for_pair",
|
|
1762
1820
|
"rename_edge_type"
|
|
1763
1821
|
],
|
|
1764
|
-
"source": "src/tools/spec.ts:
|
|
1822
|
+
"source": "src/tools/spec.ts:655",
|
|
1765
1823
|
"symbol": "getEdgeType",
|
|
1766
1824
|
"returns": "JSON: `{ type, forward_verb, reverse_verb, classification, source_type, target_type }`",
|
|
1767
1825
|
"return_shape": "{ type, forward_verb, reverse_verb, classification, source_type, target_type }",
|
|
@@ -1793,7 +1851,7 @@
|
|
|
1793
1851
|
"get_type_label",
|
|
1794
1852
|
"get_entity_schema"
|
|
1795
1853
|
],
|
|
1796
|
-
"source": "src/tools/spec.ts:
|
|
1854
|
+
"source": "src/tools/spec.ts:1102",
|
|
1797
1855
|
"symbol": "getEntityMeta",
|
|
1798
1856
|
"returns": "JSON: `EntityTypeMeta & { domain_id: string | null }`",
|
|
1799
1857
|
"return_notes": [
|
|
@@ -1828,7 +1886,7 @@
|
|
|
1828
1886
|
"get_playbook",
|
|
1829
1887
|
"get_approach"
|
|
1830
1888
|
],
|
|
1831
|
-
"source": "src/tools/spec.ts:
|
|
1889
|
+
"source": "src/tools/spec.ts:594",
|
|
1832
1890
|
"symbol": "getFramework",
|
|
1833
1891
|
"returns": "JSON: the full `UPGFramework` record.",
|
|
1834
1892
|
"return_notes": [
|
|
@@ -1863,7 +1921,7 @@
|
|
|
1863
1921
|
"get_framework",
|
|
1864
1922
|
"list_entity_types"
|
|
1865
1923
|
],
|
|
1866
|
-
"source": "src/tools/spec.ts:
|
|
1924
|
+
"source": "src/tools/spec.ts:922",
|
|
1867
1925
|
"symbol": "getLensTool",
|
|
1868
1926
|
"returns": "JSON: `{ ...UPGLens, visible_types: string[] }`",
|
|
1869
1927
|
"return_shape": "{...UPGLens, visible_types: string[] }",
|
|
@@ -1895,7 +1953,7 @@
|
|
|
1895
1953
|
"get_entity_meta",
|
|
1896
1954
|
"get_entity_schema"
|
|
1897
1955
|
],
|
|
1898
|
-
"source": "src/tools/spec.ts:
|
|
1956
|
+
"source": "src/tools/spec.ts:1491",
|
|
1899
1957
|
"symbol": "getLifecycle",
|
|
1900
1958
|
"returns": "JSON: the full `UPGLifecycle` record, or a descriptive message.",
|
|
1901
1959
|
"return_notes": [
|
|
@@ -1930,7 +1988,7 @@
|
|
|
1930
1988
|
"get_framework",
|
|
1931
1989
|
"get_region"
|
|
1932
1990
|
],
|
|
1933
|
-
"source": "src/tools/spec.ts:
|
|
1991
|
+
"source": "src/tools/spec.ts:173",
|
|
1934
1992
|
"symbol": "getPlaybook",
|
|
1935
1993
|
"returns": "JSON: the full `UPGPlaybook` record.",
|
|
1936
1994
|
"return_notes": [
|
|
@@ -1965,11 +2023,11 @@
|
|
|
1965
2023
|
"get_playbook",
|
|
1966
2024
|
"list_lenses"
|
|
1967
2025
|
],
|
|
1968
|
-
"source": "src/tools/spec.ts:
|
|
2026
|
+
"source": "src/tools/spec.ts:725",
|
|
1969
2027
|
"symbol": "getRegion",
|
|
1970
|
-
"returns": "JSON: the full `UPGRegion` record
|
|
2028
|
+
"returns": "JSON: the full `UPGRegion` record plus `coverage_keys` and `business_areas`.",
|
|
1971
2029
|
"return_notes": [
|
|
1972
|
-
"JSON: the full `UPGRegion` record
|
|
2030
|
+
"JSON: the full `UPGRegion` record plus `coverage_keys` and `business_areas`."
|
|
1973
2031
|
],
|
|
1974
2032
|
"atomicity": "atomic (read-only)"
|
|
1975
2033
|
},
|
|
@@ -2000,7 +2058,7 @@
|
|
|
2000
2058
|
"get_entity_meta",
|
|
2001
2059
|
"list_entity_types"
|
|
2002
2060
|
],
|
|
2003
|
-
"source": "src/tools/spec.ts:
|
|
2061
|
+
"source": "src/tools/spec.ts:751",
|
|
2004
2062
|
"symbol": "getRegionForEntity",
|
|
2005
2063
|
"returns": "JSON: the full `UPGRegion` record.",
|
|
2006
2064
|
"return_notes": [
|
|
@@ -2033,7 +2091,7 @@
|
|
|
2033
2091
|
"list_scales",
|
|
2034
2092
|
"get_entity_schema"
|
|
2035
2093
|
],
|
|
2036
|
-
"source": "src/tools/spec.ts:
|
|
2094
|
+
"source": "src/tools/spec.ts:1598",
|
|
2037
2095
|
"symbol": "getScale",
|
|
2038
2096
|
"returns": "JSON: the full `UPGScaleDefinition` record including all points.",
|
|
2039
2097
|
"return_notes": [
|
|
@@ -2057,7 +2115,7 @@
|
|
|
2057
2115
|
"list_edge_types",
|
|
2058
2116
|
"list_regions"
|
|
2059
2117
|
],
|
|
2060
|
-
"source": "src/tools/spec.ts:
|
|
2118
|
+
"source": "src/tools/spec.ts:778",
|
|
2061
2119
|
"symbol": "getSpecVersion",
|
|
2062
2120
|
"returns": "JSON: `{ upg_version, markdown_format_version, entity_count, edge_count, domain_count, region_count }`",
|
|
2063
2121
|
"return_shape": "{ upg_version, markdown_format_version, entity_count, edge_count, domain_count, region_count }",
|
|
@@ -2097,7 +2155,7 @@
|
|
|
2097
2155
|
"get_entity_meta",
|
|
2098
2156
|
"list_frameworks"
|
|
2099
2157
|
],
|
|
2100
|
-
"source": "src/tools/spec.ts:
|
|
2158
|
+
"source": "src/tools/spec.ts:983",
|
|
2101
2159
|
"symbol": "getTypeLabel",
|
|
2102
2160
|
"returns": "JSON: `{ ...UPGTypeLabel, resolved_label: string }`",
|
|
2103
2161
|
"return_shape": "{...UPGTypeLabel, resolved_label: string }",
|
|
@@ -2130,7 +2188,7 @@
|
|
|
2130
2188
|
"get_entity_meta",
|
|
2131
2189
|
"create_node"
|
|
2132
2190
|
],
|
|
2133
|
-
"source": "src/tools/spec.ts:
|
|
2191
|
+
"source": "src/tools/spec.ts:1009",
|
|
2134
2192
|
"symbol": "getValidChildrenTool",
|
|
2135
2193
|
"returns": "JSON: `{ parent_type, valid_children: string[] }`",
|
|
2136
2194
|
"return_shape": "{ parent_type, valid_children: string[] }",
|
|
@@ -2169,7 +2227,7 @@
|
|
|
2169
2227
|
"plan",
|
|
2170
2228
|
"reflect"
|
|
2171
2229
|
],
|
|
2172
|
-
"source": "src/tools/spec.ts:
|
|
2230
|
+
"source": "src/tools/spec.ts:329",
|
|
2173
2231
|
"symbol": "inspect",
|
|
2174
2232
|
"returns": "JSON envelope: `{ approach_id: 'inspect', scope, generated_at, approach, params }`",
|
|
2175
2233
|
"return_notes": [
|
|
@@ -2227,7 +2285,7 @@
|
|
|
2227
2285
|
"inspect",
|
|
2228
2286
|
"get_domain_guide"
|
|
2229
2287
|
],
|
|
2230
|
-
"source": "src/tools/spec.ts:
|
|
2288
|
+
"source": "src/tools/spec.ts:1143",
|
|
2231
2289
|
"symbol": "listAntiPatterns",
|
|
2232
2290
|
"returns": "JSON: `{ total, count, next_cursor?, anti_patterns: UPGCuratedAntiPattern[] }`",
|
|
2233
2291
|
"return_shape": "{ total, count, next_cursor?, anti_patterns: UPGCuratedAntiPattern[] }",
|
|
@@ -2258,7 +2316,7 @@
|
|
|
2258
2316
|
"reflect",
|
|
2259
2317
|
"list_playbooks"
|
|
2260
2318
|
],
|
|
2261
|
-
"source": "src/tools/spec.ts:
|
|
2319
|
+
"source": "src/tools/spec.ts:209",
|
|
2262
2320
|
"symbol": "listApproaches",
|
|
2263
2321
|
"returns": "JSON: `{ count, approaches: UPGApproach[] }`",
|
|
2264
2322
|
"return_shape": "{ count, approaches: UPGApproach[] }",
|
|
@@ -2316,7 +2374,7 @@
|
|
|
2316
2374
|
"list_domains",
|
|
2317
2375
|
"list_anti_patterns"
|
|
2318
2376
|
],
|
|
2319
|
-
"source": "src/tools/spec.ts:
|
|
2377
|
+
"source": "src/tools/spec.ts:1217",
|
|
2320
2378
|
"symbol": "listBenchmarks",
|
|
2321
2379
|
"returns": "JSON: `{ kind, total, count, benchmarks: ... }`",
|
|
2322
2380
|
"return_shape": "{ kind, total, count, benchmarks:... }",
|
|
@@ -2338,7 +2396,7 @@
|
|
|
2338
2396
|
"list_portfolio_cross_edges",
|
|
2339
2397
|
"migrate_cross_edges"
|
|
2340
2398
|
],
|
|
2341
|
-
"source": "src/tools/spec.ts:
|
|
2399
|
+
"source": "src/tools/spec.ts:863",
|
|
2342
2400
|
"symbol": "listCrossEdgeTypes",
|
|
2343
2401
|
"returns": "JSON: `{ count, types: readonly UPGCrossEdgeType[] }`",
|
|
2344
2402
|
"return_shape": "{ count, types: readonly UPGCrossEdgeType[] }",
|
|
@@ -2360,7 +2418,7 @@
|
|
|
2360
2418
|
"list_domains",
|
|
2361
2419
|
"get_domain_guide"
|
|
2362
2420
|
],
|
|
2363
|
-
"source": "src/tools/spec.ts:
|
|
2421
|
+
"source": "src/tools/spec.ts:1661",
|
|
2364
2422
|
"symbol": "listDomainRings",
|
|
2365
2423
|
"returns": "JSON: `{ rings: UPGDomainRing[], total: number }`",
|
|
2366
2424
|
"return_shape": "{ rings: UPGDomainRing[], total: number }",
|
|
@@ -2387,7 +2445,7 @@
|
|
|
2387
2445
|
"list_regions",
|
|
2388
2446
|
"list_entity_types"
|
|
2389
2447
|
],
|
|
2390
|
-
"source": "src/tools/spec.ts:
|
|
2448
|
+
"source": "src/tools/spec.ts:494",
|
|
2391
2449
|
"symbol": "listDomains",
|
|
2392
2450
|
"returns": "JSON: `{ count, domains: Array<{ domain_id, anchor_entity, creation_sequence } | { domain_id, label, description, types, has_guide }> }`",
|
|
2393
2451
|
"return_shape": "{ count, domains: Array<{ domain_id, anchor_entity, creation_sequence } | { domain_id, label, description, types, has_guide }> }",
|
|
@@ -2416,7 +2474,7 @@
|
|
|
2416
2474
|
"list_edge_types",
|
|
2417
2475
|
"validate_graph"
|
|
2418
2476
|
],
|
|
2419
|
-
"source": "src/tools/spec.ts:
|
|
2477
|
+
"source": "src/tools/spec.ts:1383",
|
|
2420
2478
|
"symbol": "listEdgeMigrations",
|
|
2421
2479
|
"returns": "JSON: `{ migrations: [{ kind, from, to?, since }], total: number }`",
|
|
2422
2480
|
"return_shape": "{ migrations: [{ kind, from, to?, since }], total: number }",
|
|
@@ -2448,7 +2506,7 @@
|
|
|
2448
2506
|
"list_cross_edge_types",
|
|
2449
2507
|
"create_edge"
|
|
2450
2508
|
],
|
|
2451
|
-
"source": "src/tools/spec.ts:
|
|
2509
|
+
"source": "src/tools/spec.ts:637",
|
|
2452
2510
|
"symbol": "listEdgeTypes",
|
|
2453
2511
|
"returns": "JSON: `{ count, edges: Array<{ type, forward_verb, reverse_verb, classification, source_type, target_type }> }`",
|
|
2454
2512
|
"return_shape": "{ count, edges: Array<{ type, forward_verb, reverse_verb, classification, source_type, target_type }> }",
|
|
@@ -2499,7 +2557,7 @@
|
|
|
2499
2557
|
"list_type_labels",
|
|
2500
2558
|
"list_domains"
|
|
2501
2559
|
],
|
|
2502
|
-
"source": "src/tools/spec.ts:
|
|
2560
|
+
"source": "src/tools/spec.ts:1052",
|
|
2503
2561
|
"symbol": "listEntityTypes",
|
|
2504
2562
|
"returns": "JSON: `{ total, count, next_cursor?, types: Array<EntityTypeMeta & { domain_id: string | null }> }`",
|
|
2505
2563
|
"return_shape": "{ total, count, next_cursor?, types: Array<EntityTypeMeta & { domain_id: string | null }> }",
|
|
@@ -2520,7 +2578,7 @@
|
|
|
2520
2578
|
"list_frameworks",
|
|
2521
2579
|
"list_framework_structure_patterns"
|
|
2522
2580
|
],
|
|
2523
|
-
"source": "src/tools/spec.ts:
|
|
2581
|
+
"source": "src/tools/spec.ts:1617",
|
|
2524
2582
|
"symbol": "listFrameworkCategories",
|
|
2525
2583
|
"returns": "JSON: `{ categories: string[], total: number }`",
|
|
2526
2584
|
"return_shape": "{ categories: string[], total: number }",
|
|
@@ -2542,7 +2600,7 @@
|
|
|
2542
2600
|
"list_framework_categories",
|
|
2543
2601
|
"get_framework"
|
|
2544
2602
|
],
|
|
2545
|
-
"source": "src/tools/spec.ts:
|
|
2603
|
+
"source": "src/tools/spec.ts:1638",
|
|
2546
2604
|
"symbol": "listFrameworkStructurePatterns",
|
|
2547
2605
|
"returns": "JSON: `{ patterns: string[], total: number }`",
|
|
2548
2606
|
"return_shape": "{ patterns: string[], total: number }",
|
|
@@ -2577,7 +2635,7 @@
|
|
|
2577
2635
|
"prioritise",
|
|
2578
2636
|
"list_approaches"
|
|
2579
2637
|
],
|
|
2580
|
-
"source": "src/tools/spec.ts:
|
|
2638
|
+
"source": "src/tools/spec.ts:558",
|
|
2581
2639
|
"symbol": "listFrameworks",
|
|
2582
2640
|
"returns": "JSON: `{ total, count, next_cursor?, frameworks: UPGFramework[] }`",
|
|
2583
2641
|
"return_shape": "{ total, count, next_cursor?, frameworks: UPGFramework[] }",
|
|
@@ -2600,7 +2658,7 @@
|
|
|
2600
2658
|
"list_playbooks",
|
|
2601
2659
|
"list_frameworks"
|
|
2602
2660
|
],
|
|
2603
|
-
"source": "src/tools/spec.ts:
|
|
2661
|
+
"source": "src/tools/spec.ts:889",
|
|
2604
2662
|
"symbol": "listLenses",
|
|
2605
2663
|
"returns": "JSON: `{ count, lenses: Array<{ id, name, description, icon, audience, perspective, framework_id?, playbook_id?, visible_domain_count, intelligence_prompt_count }> }`",
|
|
2606
2664
|
"return_shape": "{ count, lenses: Array<{ id, name, description, icon, audience, perspective, framework_id?, playbook_id?, visible_domain_count, intelligence_prompt_count }> }",
|
|
@@ -2631,7 +2689,7 @@
|
|
|
2631
2689
|
"list_entity_types",
|
|
2632
2690
|
"get_entity_meta"
|
|
2633
2691
|
],
|
|
2634
|
-
"source": "src/tools/spec.ts:
|
|
2692
|
+
"source": "src/tools/spec.ts:1448",
|
|
2635
2693
|
"symbol": "listLifecycles",
|
|
2636
2694
|
"returns": "JSON: `{ lifecycles, total, free_types: string[], planned_types: string[] }`",
|
|
2637
2695
|
"return_shape": "{ lifecycles, total, free_types: string[], planned_types: string[] }",
|
|
@@ -2667,7 +2725,7 @@
|
|
|
2667
2725
|
"list_approaches",
|
|
2668
2726
|
"list_frameworks"
|
|
2669
2727
|
],
|
|
2670
|
-
"source": "src/tools/spec.ts:
|
|
2728
|
+
"source": "src/tools/spec.ts:143",
|
|
2671
2729
|
"symbol": "listPlaybooks",
|
|
2672
2730
|
"returns": "JSON: `{ count, playbooks: UPGPlaybook[] }`",
|
|
2673
2731
|
"return_shape": "{ count, playbooks: UPGPlaybook[] }",
|
|
@@ -2689,7 +2747,7 @@
|
|
|
2689
2747
|
"list_anti_patterns",
|
|
2690
2748
|
"create_product"
|
|
2691
2749
|
],
|
|
2692
|
-
"source": "src/tools/spec.ts:
|
|
2750
|
+
"source": "src/tools/spec.ts:1320",
|
|
2693
2751
|
"symbol": "listProductStages",
|
|
2694
2752
|
"returns": "JSON: `{ count, stages: readonly UPGProductStage[] }`",
|
|
2695
2753
|
"return_shape": "{ count, stages: readonly UPGProductStage[] }",
|
|
@@ -2712,10 +2770,10 @@
|
|
|
2712
2770
|
"list_domains",
|
|
2713
2771
|
"list_playbooks"
|
|
2714
2772
|
],
|
|
2715
|
-
"source": "src/tools/spec.ts:
|
|
2773
|
+
"source": "src/tools/spec.ts:688",
|
|
2716
2774
|
"symbol": "listRegions",
|
|
2717
|
-
"returns": "JSON: `{ count, regions: Array<{ id, label, order, shape, mental_model, anchor_type, composes_atomic_domains, entity_count, intra_edge_count, boundary_edge_count }
|
|
2718
|
-
"return_shape": "{ count, regions: Array<{ id, label, order, shape, mental_model, anchor_type, composes_atomic_domains, entity_count, intra_edge_count, boundary_edge_count }
|
|
2775
|
+
"returns": "JSON: `{ count, regions: Array<{ id, label, order, shape, mental_model, anchor_type, composes_atomic_domains, entity_count, intra_edge_count, boundary_edge_count, coverage_keys, business_areas }>, area_taxonomy }`",
|
|
2776
|
+
"return_shape": "{ count, regions: Array<{ id, label, order, shape, mental_model, anchor_type, composes_atomic_domains, entity_count, intra_edge_count, boundary_edge_count, coverage_keys, business_areas }>, area_taxonomy }",
|
|
2719
2777
|
"atomicity": "atomic (read-only)"
|
|
2720
2778
|
},
|
|
2721
2779
|
{
|
|
@@ -2733,7 +2791,7 @@
|
|
|
2733
2791
|
"get_scale",
|
|
2734
2792
|
"get_entity_schema"
|
|
2735
2793
|
],
|
|
2736
|
-
"source": "src/tools/spec.ts:
|
|
2794
|
+
"source": "src/tools/spec.ts:1583",
|
|
2737
2795
|
"symbol": "listScales",
|
|
2738
2796
|
"returns": "JSON: `{ scales: UPGScaleDefinition[], total: number }`",
|
|
2739
2797
|
"return_shape": "{ scales: UPGScaleDefinition[], total: number }",
|
|
@@ -2756,7 +2814,7 @@
|
|
|
2756
2814
|
"migrate_type",
|
|
2757
2815
|
"validate_graph"
|
|
2758
2816
|
],
|
|
2759
|
-
"source": "src/tools/spec.ts:
|
|
2817
|
+
"source": "src/tools/spec.ts:1420",
|
|
2760
2818
|
"symbol": "listSplitMigrations",
|
|
2761
2819
|
"returns": "JSON: `{ splits: [...], total: number }`",
|
|
2762
2820
|
"return_shape": "{ splits: [...], total: number }",
|
|
@@ -2785,7 +2843,7 @@
|
|
|
2785
2843
|
"get_lifecycle",
|
|
2786
2844
|
"get_entity_schema"
|
|
2787
2845
|
],
|
|
2788
|
-
"source": "src/tools/spec.ts:
|
|
2846
|
+
"source": "src/tools/spec.ts:1523",
|
|
2789
2847
|
"symbol": "listStatusValues",
|
|
2790
2848
|
"returns": "JSON: `{ entity_type, lifecycle_free, initial_status?, terminal_statuses?, values: [{ status, label, terminal }], note? }`.",
|
|
2791
2849
|
"return_shape": "{ entity_type, lifecycle_free, initial_status?, terminal_statuses?, values: [{ status, label, terminal }], note? }",
|
|
@@ -2816,7 +2874,7 @@
|
|
|
2816
2874
|
"list_entity_types",
|
|
2817
2875
|
"get_entity_meta"
|
|
2818
2876
|
],
|
|
2819
|
-
"source": "src/tools/spec.ts:
|
|
2877
|
+
"source": "src/tools/spec.ts:952",
|
|
2820
2878
|
"symbol": "listTypeLabels",
|
|
2821
2879
|
"returns": "JSON: `{ total, count, next_cursor?, labels: UPGTypeLabel[] }`",
|
|
2822
2880
|
"return_shape": "{ total, count, next_cursor?, labels: UPGTypeLabel[] }",
|
|
@@ -2845,7 +2903,7 @@
|
|
|
2845
2903
|
"validate_graph",
|
|
2846
2904
|
"list_entity_types"
|
|
2847
2905
|
],
|
|
2848
|
-
"source": "src/tools/spec.ts:
|
|
2906
|
+
"source": "src/tools/spec.ts:1352",
|
|
2849
2907
|
"symbol": "listTypeMigrations",
|
|
2850
2908
|
"returns": "JSON: `{ migrations: [{ from, to, since }], total: number }`",
|
|
2851
2909
|
"return_shape": "{ migrations: [{ from, to, since }], total: number }",
|
|
@@ -2876,7 +2934,7 @@
|
|
|
2876
2934
|
"inspect",
|
|
2877
2935
|
"prioritise"
|
|
2878
2936
|
],
|
|
2879
|
-
"source": "src/tools/spec.ts:
|
|
2937
|
+
"source": "src/tools/spec.ts:301",
|
|
2880
2938
|
"symbol": "plan",
|
|
2881
2939
|
"returns": "JSON envelope: `{ approach_id: 'plan', scope, generated_at, approach, params }`",
|
|
2882
2940
|
"return_notes": [
|
|
@@ -2922,7 +2980,7 @@
|
|
|
2922
2980
|
"plan",
|
|
2923
2981
|
"trace"
|
|
2924
2982
|
],
|
|
2925
|
-
"source": "src/tools/spec.ts:
|
|
2983
|
+
"source": "src/tools/spec.ts:362",
|
|
2926
2984
|
"symbol": "prioritise",
|
|
2927
2985
|
"returns": "JSON envelope: `{ approach_id: 'prioritise', scope, generated_at, approach, params }`",
|
|
2928
2986
|
"return_notes": [
|
|
@@ -2969,7 +3027,7 @@
|
|
|
2969
3027
|
"plan",
|
|
2970
3028
|
"get_anti_pattern"
|
|
2971
3029
|
],
|
|
2972
|
-
"source": "src/tools/spec.ts:
|
|
3030
|
+
"source": "src/tools/spec.ts:453",
|
|
2973
3031
|
"symbol": "reflect",
|
|
2974
3032
|
"returns": "JSON envelope: `{ approach_id: 'reflect', scope, generated_at, approach, params }`",
|
|
2975
3033
|
"return_notes": [
|
|
@@ -3011,7 +3069,7 @@
|
|
|
3011
3069
|
"create_edge",
|
|
3012
3070
|
"trace"
|
|
3013
3071
|
],
|
|
3014
|
-
"source": "src/tools/spec.ts:
|
|
3072
|
+
"source": "src/tools/spec.ts:832",
|
|
3015
3073
|
"symbol": "resolveEdgeForPair",
|
|
3016
3074
|
"returns": "JSON: `{ source_type, target_type, edge_type: string | null }`",
|
|
3017
3075
|
"return_shape": "{ source_type, target_type, edge_type: string | null }",
|
|
@@ -3066,7 +3124,7 @@
|
|
|
3066
3124
|
"plan",
|
|
3067
3125
|
"prioritise"
|
|
3068
3126
|
],
|
|
3069
|
-
"source": "src/tools/spec.ts:
|
|
3127
|
+
"source": "src/tools/spec.ts:406",
|
|
3070
3128
|
"symbol": "trace",
|
|
3071
3129
|
"returns": "JSON envelope: `{ approach_id: 'trace', scope, generated_at, approach, params }`",
|
|
3072
3130
|
"return_notes": [
|
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.16",
|
|
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.16",
|
|
44
|
+
"@unified-product-graph/sdk": "0.9.16",
|
|
45
45
|
"nanoid": "^5.1.0",
|
|
46
46
|
"pg": "^8.13.0"
|
|
47
47
|
},
|