@unified-product-graph/cloud-server 0.7.5 → 0.8.0
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/CHANGELOG.md +7 -0
- package/dist/tools-manifest.json +161 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to `@unified-product-graph/cloud-server` are documented in t
|
|
|
4
4
|
|
|
5
5
|
This package co-versions with `@unified-product-graph/core` and `@unified-product-graph/mcp-server`. One version line covers the spec and both reference implementations.
|
|
6
6
|
|
|
7
|
+
## 0.7.6 · 2026-05-30 · Tool UX train (mcp-server lead)
|
|
8
|
+
|
|
9
|
+
This line is led by `@unified-product-graph/mcp-server` (the `start` tool, `create_node` orphan warning, authored return shapes, and the dissolved singleton tool groups). The cloud server itself is unchanged at runtime; it co-versions and picks up the shared `mcp-tooling` generator changes:
|
|
10
|
+
|
|
11
|
+
- **Authored return shapes (UPG-556):** the generated tool reference now ships build-time `return_shape` / `return_notes` derived from each handler's authored `@returns`.
|
|
12
|
+
- **Parity audit hardening (UPG-499 / UPG-503):** the cloud ↔ local parity audit now fails with an actionable "build the manifest first" message instead of a raw `ENOENT` when run without a prior build.
|
|
13
|
+
|
|
7
14
|
## 0.6.0 · 2026-05-22 · Launch train alignment
|
|
8
15
|
|
|
9
16
|
Aligned with `@unified-product-graph/core@0.6.0`. Bumped `@unified-product-graph/core` dep to `^0.6.0`. No cloud-server surface changes; co-versioned for the launch train.
|
package/dist/tools-manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": "2",
|
|
3
3
|
"package": "@unified-product-graph/cloud-server",
|
|
4
|
-
"package_version": "0.
|
|
4
|
+
"package_version": "0.8.0",
|
|
5
5
|
"tool_count": 91,
|
|
6
6
|
"domains": [
|
|
7
7
|
"products",
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"source": "src/tools/products.ts:39",
|
|
60
60
|
"symbol": "createProduct",
|
|
61
61
|
"returns": "JSON: `{ product: { id, title, description?, stage? } }`.",
|
|
62
|
+
"return_shape": "{ product: { id, title, description?, stage? } }",
|
|
62
63
|
"atomicity": "atomic"
|
|
63
64
|
},
|
|
64
65
|
{
|
|
@@ -96,6 +97,7 @@
|
|
|
96
97
|
"source": "src/tools/products.ts:62",
|
|
97
98
|
"symbol": "getAuditLog",
|
|
98
99
|
"returns": "JSON: `{ entries: Array<{ ...mutation }> }`.",
|
|
100
|
+
"return_shape": "{ entries: Array<{...mutation }> }",
|
|
99
101
|
"atomicity": "atomic (read-only)"
|
|
100
102
|
},
|
|
101
103
|
{
|
|
@@ -120,6 +122,7 @@
|
|
|
120
122
|
"source": "src/tools/products.ts:22",
|
|
121
123
|
"symbol": "listProducts",
|
|
122
124
|
"returns": "JSON: `{ products: Array<{ id, title, description?, stage? }> }`.",
|
|
125
|
+
"return_shape": "{ products: Array<{ id, title, description?, stage? }> }",
|
|
123
126
|
"atomicity": "atomic (read-only)"
|
|
124
127
|
},
|
|
125
128
|
{
|
|
@@ -161,6 +164,7 @@
|
|
|
161
164
|
"source": "src/tools/context.ts:329",
|
|
162
165
|
"symbol": "getChanges",
|
|
163
166
|
"returns": "JSON: `{ changes: AuditEntry[], total }`.",
|
|
167
|
+
"return_shape": "{ changes: AuditEntry[], total }",
|
|
164
168
|
"atomicity": "atomic (read-only)"
|
|
165
169
|
},
|
|
166
170
|
{
|
|
@@ -195,6 +199,10 @@
|
|
|
195
199
|
"source": "src/tools/context.ts:100",
|
|
196
200
|
"symbol": "getGraphDigest",
|
|
197
201
|
"returns": "JSON with `product`, `counts`, `health`, `chains`, `coverage`,\n`lifecycle` keys (~500 tokens of summary). Note: chain keys still use the\nv0.1 names (`persona_with_jtbd` etc.) pending a canonical rename.",
|
|
202
|
+
"return_notes": [
|
|
203
|
+
"JSON with `product`, `counts`, `health`, `chains`, `coverage`, `lifecycle` keys (~500 tokens of summary).",
|
|
204
|
+
"Note: chain keys still use the v0.1 names (`persona_with_jtbd` etc.) pending a canonical rename."
|
|
205
|
+
],
|
|
198
206
|
"atomicity": "atomic (read-only)"
|
|
199
207
|
},
|
|
200
208
|
{
|
|
@@ -227,6 +235,10 @@
|
|
|
227
235
|
"source": "src/tools/context.ts:45",
|
|
228
236
|
"symbol": "getProductContext",
|
|
229
237
|
"returns": "Text: `## <product title>` followed by description/stage,\ngraph stats (node/edge/type counts), and a sorted breakdown of entities\nper type. Errors with `Product not found: <id>` for unknown products.",
|
|
238
|
+
"return_notes": [
|
|
239
|
+
"Text: `## <product title>` followed by description/stage, graph stats (node/edge/type counts), and a sorted breakdown of entities per type.",
|
|
240
|
+
"Errors with `Product not found: <id>` for unknown products."
|
|
241
|
+
],
|
|
230
242
|
"atomicity": "atomic (read-only)"
|
|
231
243
|
},
|
|
232
244
|
{
|
|
@@ -300,6 +312,10 @@
|
|
|
300
312
|
"source": "src/tools/context.ts:203",
|
|
301
313
|
"symbol": "query",
|
|
302
314
|
"returns": "JSON: `{ nodes, edges, total_nodes, total_edges,\ntruncated?, truncated_at_depth?, hint? }`. Truncates with a hint when\n`limit` is reached.",
|
|
315
|
+
"return_shape": "{ nodes, edges, total_nodes, total_edges, truncated?, truncated_at_depth?, hint? }",
|
|
316
|
+
"return_notes": [
|
|
317
|
+
"Truncates with a hint when `limit` is reached."
|
|
318
|
+
],
|
|
303
319
|
"atomicity": "atomic (read-only)"
|
|
304
320
|
},
|
|
305
321
|
{
|
|
@@ -368,6 +384,10 @@
|
|
|
368
384
|
"source": "src/tools/nodes.ts:325",
|
|
369
385
|
"symbol": "createNode",
|
|
370
386
|
"returns": "JSON: `{ node, edge?, warning? }`. `edge` is null when no\n`parent_id` is passed; `warning` is present on lifecycle/parent issues.",
|
|
387
|
+
"return_shape": "{ node, edge?, warning? }",
|
|
388
|
+
"return_notes": [
|
|
389
|
+
"`edge` is null when no `parent_id` is passed; `warning` is present on lifecycle/parent issues."
|
|
390
|
+
],
|
|
371
391
|
"atomicity": "atomic-with-rollback"
|
|
372
392
|
},
|
|
373
393
|
{
|
|
@@ -419,6 +439,10 @@
|
|
|
419
439
|
"source": "src/tools/nodes.ts:602",
|
|
420
440
|
"symbol": "deduplicateNodes",
|
|
421
441
|
"returns": "With `dry_run: true` (default): `{ canonical_id, duplicate_ids,\nedges_to_rebind, nodes_to_delete, dry_run }`. With `dry_run: false`:\n`{ canonical_id, merged_ids, rebound_edges, removed_self_loops,\nremoved_duplicate_edges, dry_run }`.",
|
|
442
|
+
"return_notes": [
|
|
443
|
+
"With `dry_run: true` (default): `{ canonical_id, duplicate_ids, edges_to_rebind, nodes_to_delete, dry_run }`.",
|
|
444
|
+
"With `dry_run: false`: `{ canonical_id, merged_ids, rebound_edges, removed_self_loops, removed_duplicate_edges, dry_run }`."
|
|
445
|
+
],
|
|
422
446
|
"atomicity": "atomic-with-rollback (all mutations committed or rolled back\ntogether)."
|
|
423
447
|
},
|
|
424
448
|
{
|
|
@@ -452,6 +476,10 @@
|
|
|
452
476
|
"source": "src/tools/nodes.ts:506",
|
|
453
477
|
"symbol": "deleteNode",
|
|
454
478
|
"returns": "JSON: `{ deleted_node_id, deleted_node_title, deleted_edge_ids }`.\nErrors propagate from the store (e.g. unknown id).",
|
|
479
|
+
"return_shape": "{ deleted_node_id, deleted_node_title, deleted_edge_ids }",
|
|
480
|
+
"return_notes": [
|
|
481
|
+
"Errors propagate from the store (e.g. unknown id)."
|
|
482
|
+
],
|
|
455
483
|
"atomicity": "atomic-with-rollback"
|
|
456
484
|
},
|
|
457
485
|
{
|
|
@@ -493,6 +521,10 @@
|
|
|
493
521
|
"source": "src/tools/nodes.ts:132",
|
|
494
522
|
"symbol": "exportUpgDocument",
|
|
495
523
|
"returns": "JSON: `{ product, nodes, edges, total_nodes, limit, next_cursor? }`.\n`next_cursor` is present when more node pages remain.",
|
|
524
|
+
"return_shape": "{ product, nodes, edges, total_nodes, limit, next_cursor? }",
|
|
525
|
+
"return_notes": [
|
|
526
|
+
"`next_cursor` is present when more node pages remain."
|
|
527
|
+
],
|
|
496
528
|
"atomicity": "atomic (read-only)"
|
|
497
529
|
},
|
|
498
530
|
{
|
|
@@ -525,6 +557,10 @@
|
|
|
525
557
|
"source": "src/tools/nodes.ts:177",
|
|
526
558
|
"symbol": "getNode",
|
|
527
559
|
"returns": "JSON: `{ node, edges_out, edges_in }`. Errors with\n`Node not found: <id>` for unknown ids.",
|
|
560
|
+
"return_shape": "{ node, edges_out, edges_in }",
|
|
561
|
+
"return_notes": [
|
|
562
|
+
"Errors with `Node not found: <id>` for unknown ids."
|
|
563
|
+
],
|
|
528
564
|
"atomicity": "atomic (read-only)"
|
|
529
565
|
},
|
|
530
566
|
{
|
|
@@ -570,6 +606,10 @@
|
|
|
570
606
|
"source": "src/tools/nodes.ts:220",
|
|
571
607
|
"symbol": "getNodes",
|
|
572
608
|
"returns": "JSON: `{ nodes, total, not_found? }`. `not_found` lists any\nrequested ids that did not resolve and appears only when at least one\nmiss occurred.",
|
|
609
|
+
"return_shape": "{ nodes, total, not_found? }",
|
|
610
|
+
"return_notes": [
|
|
611
|
+
"`not_found` lists any requested ids that did not resolve and appears only when at least one miss occurred."
|
|
612
|
+
],
|
|
573
613
|
"atomicity": "atomic (read-only)"
|
|
574
614
|
},
|
|
575
615
|
{
|
|
@@ -604,6 +644,7 @@
|
|
|
604
644
|
"source": "src/tools/nodes.ts:667",
|
|
605
645
|
"symbol": "getProductGraph",
|
|
606
646
|
"returns": "JSON: `{ product, nodes, edges }`.",
|
|
647
|
+
"return_shape": "{ product, nodes, edges }",
|
|
607
648
|
"atomicity": "atomic (read-only)"
|
|
608
649
|
},
|
|
609
650
|
{
|
|
@@ -654,6 +695,11 @@
|
|
|
654
695
|
"source": "src/tools/nodes.ts:75",
|
|
655
696
|
"symbol": "listNodes",
|
|
656
697
|
"returns": "JSON: `{ nodes, total, limit, next_cursor? }`. `next_cursor` is\npresent when more results remain. `total` reflects the filtered count\nbefore pagination.",
|
|
698
|
+
"return_shape": "{ nodes, total, limit, next_cursor? }",
|
|
699
|
+
"return_notes": [
|
|
700
|
+
"`next_cursor` is present when more results remain.",
|
|
701
|
+
"`total` reflects the filtered count before pagination."
|
|
702
|
+
],
|
|
657
703
|
"atomicity": "atomic (read-only)"
|
|
658
704
|
},
|
|
659
705
|
{
|
|
@@ -695,6 +741,10 @@
|
|
|
695
741
|
"source": "src/tools/nodes.ts:536",
|
|
696
742
|
"symbol": "moveNode",
|
|
697
743
|
"returns": "JSON: `{ node_id, old_parent_id, new_parent_id, edge_created }`.\n`old_parent_id` is `null` when the node had no prior containment edge.",
|
|
744
|
+
"return_shape": "{ node_id, old_parent_id, new_parent_id, edge_created }",
|
|
745
|
+
"return_notes": [
|
|
746
|
+
"`old_parent_id` is `null` when the node had no prior containment edge."
|
|
747
|
+
],
|
|
698
748
|
"atomicity": "atomic-with-rollback"
|
|
699
749
|
},
|
|
700
750
|
{
|
|
@@ -741,6 +791,7 @@
|
|
|
741
791
|
"source": "src/tools/nodes.ts:272",
|
|
742
792
|
"symbol": "searchNodes",
|
|
743
793
|
"returns": "JSON: `{ results: Array<node & { match_field }>, total }`.",
|
|
794
|
+
"return_shape": "{ results: Array<node & { match_field }>, total }",
|
|
744
795
|
"atomicity": "atomic (read-only)"
|
|
745
796
|
},
|
|
746
797
|
{
|
|
@@ -793,6 +844,10 @@
|
|
|
793
844
|
"source": "src/tools/nodes.ts:434",
|
|
794
845
|
"symbol": "updateNode",
|
|
795
846
|
"returns": "JSON: `{ node: updatedNode, warning? }`. Errors propagate from\nthe store (e.g. unknown node id).",
|
|
847
|
+
"return_shape": "{ node: updatedNode, warning? }",
|
|
848
|
+
"return_notes": [
|
|
849
|
+
"Errors propagate from the store (e.g. unknown node id)."
|
|
850
|
+
],
|
|
796
851
|
"atomicity": "atomic-with-rollback"
|
|
797
852
|
},
|
|
798
853
|
{
|
|
@@ -834,6 +889,7 @@
|
|
|
834
889
|
"source": "src/tools/edges.ts:57",
|
|
835
890
|
"symbol": "createEdge",
|
|
836
891
|
"returns": "JSON: `{ edge: { id, source, target, type }, warning? }`.",
|
|
892
|
+
"return_shape": "{ edge: { id, source, target, type }, warning? }",
|
|
837
893
|
"atomicity": "atomic-with-rollback"
|
|
838
894
|
},
|
|
839
895
|
{
|
|
@@ -864,6 +920,7 @@
|
|
|
864
920
|
"source": "src/tools/edges.ts:129",
|
|
865
921
|
"symbol": "deleteEdge",
|
|
866
922
|
"returns": "JSON: `{ deleted_edge_id }`.",
|
|
923
|
+
"return_shape": "{ deleted_edge_id }",
|
|
867
924
|
"atomicity": "atomic-with-rollback"
|
|
868
925
|
},
|
|
869
926
|
{
|
|
@@ -902,6 +959,7 @@
|
|
|
902
959
|
"source": "src/tools/edges.ts:151",
|
|
903
960
|
"symbol": "exportEdges",
|
|
904
961
|
"returns": "JSON: `{ edges: [{ id, source, target, type }], total: number }`.",
|
|
962
|
+
"return_shape": "{ edges: [{ id, source, target, type }], total: number }",
|
|
905
963
|
"atomicity": "atomic (read-only)"
|
|
906
964
|
},
|
|
907
965
|
{
|
|
@@ -948,6 +1006,7 @@
|
|
|
948
1006
|
"source": "src/tools/edges.ts:176",
|
|
949
1007
|
"symbol": "renameEdgeType",
|
|
950
1008
|
"returns": "JSON: `{ from, to, affected: number, dry_run: boolean }`.",
|
|
1009
|
+
"return_shape": "{ from, to, affected: number, dry_run: boolean }",
|
|
951
1010
|
"atomicity": "atomic-with-rollback (write path)"
|
|
952
1011
|
},
|
|
953
1012
|
{
|
|
@@ -987,6 +1046,7 @@
|
|
|
987
1046
|
"source": "src/tools/areas.ts:63",
|
|
988
1047
|
"symbol": "createArea",
|
|
989
1048
|
"returns": "JSON: `{ node }`.",
|
|
1049
|
+
"return_shape": "{ node }",
|
|
990
1050
|
"atomicity": "atomic"
|
|
991
1051
|
},
|
|
992
1052
|
{
|
|
@@ -1022,6 +1082,7 @@
|
|
|
1022
1082
|
"source": "src/tools/areas.ts:93",
|
|
1023
1083
|
"symbol": "getAreaContext",
|
|
1024
1084
|
"returns": "JSON: `{ area: { id, title, description }, entity_counts, total_entities, child_areas }`.",
|
|
1085
|
+
"return_shape": "{ area: { id, title, description }, entity_counts, total_entities, child_areas }",
|
|
1025
1086
|
"atomicity": "atomic (read-only)"
|
|
1026
1087
|
},
|
|
1027
1088
|
{
|
|
@@ -1062,6 +1123,7 @@
|
|
|
1062
1123
|
"source": "src/tools/areas.ts:38",
|
|
1063
1124
|
"symbol": "getAreaGraph",
|
|
1064
1125
|
"returns": "JSON: `{ area, nodes, edges }`.",
|
|
1126
|
+
"return_shape": "{ area, nodes, edges }",
|
|
1065
1127
|
"atomicity": "atomic (read-only)"
|
|
1066
1128
|
},
|
|
1067
1129
|
{
|
|
@@ -1093,6 +1155,7 @@
|
|
|
1093
1155
|
"source": "src/tools/areas.ts:20",
|
|
1094
1156
|
"symbol": "listProductAreas",
|
|
1095
1157
|
"returns": "JSON: `{ areas, total }`.",
|
|
1158
|
+
"return_shape": "{ areas, total }",
|
|
1096
1159
|
"atomicity": "atomic (read-only)"
|
|
1097
1160
|
},
|
|
1098
1161
|
{
|
|
@@ -1128,6 +1191,7 @@
|
|
|
1128
1191
|
"source": "src/tools/schema.ts:32",
|
|
1129
1192
|
"symbol": "getEntitySchema",
|
|
1130
1193
|
"returns": "JSON: `{ type, alias_of?, domain, expected_properties,\nedges_out, edges_in, phases?, initial_phase?, terminal_phases?,\ndomain_guide? }`.",
|
|
1194
|
+
"return_shape": "{ type, alias_of?, domain, expected_properties, edges_out, edges_in, phases?, initial_phase?, terminal_phases?, domain_guide? }",
|
|
1131
1195
|
"atomicity": "atomic (read-only)"
|
|
1132
1196
|
},
|
|
1133
1197
|
{
|
|
@@ -1176,6 +1240,7 @@
|
|
|
1176
1240
|
"source": "src/tools/collaboration.ts:20",
|
|
1177
1241
|
"symbol": "addComment",
|
|
1178
1242
|
"returns": "JSON: `{ comment: { id, product_id, node_id, user_id, body, created_at } }`.",
|
|
1243
|
+
"return_shape": "{ comment: { id, product_id, node_id, user_id, body, created_at } }",
|
|
1179
1244
|
"atomicity": "atomic"
|
|
1180
1245
|
},
|
|
1181
1246
|
{
|
|
@@ -1223,6 +1288,7 @@
|
|
|
1223
1288
|
"source": "src/tools/collaboration.ts:63",
|
|
1224
1289
|
"symbol": "grantAccess",
|
|
1225
1290
|
"returns": "JSON: `{ granted: { product_id, user_id, role } }`.",
|
|
1291
|
+
"return_shape": "{ granted: { product_id, user_id, role } }",
|
|
1226
1292
|
"atomicity": "atomic"
|
|
1227
1293
|
},
|
|
1228
1294
|
{
|
|
@@ -1253,6 +1319,7 @@
|
|
|
1253
1319
|
"source": "src/tools/collaboration.ts:92",
|
|
1254
1320
|
"symbol": "listCollaborators",
|
|
1255
1321
|
"returns": "JSON: `{ collaborators: Array<{ user_id, role, granted_at }> }`.",
|
|
1322
|
+
"return_shape": "{ collaborators: Array<{ user_id, role, granted_at }> }",
|
|
1256
1323
|
"atomicity": "atomic (read-only)"
|
|
1257
1324
|
},
|
|
1258
1325
|
{
|
|
@@ -1285,6 +1352,7 @@
|
|
|
1285
1352
|
"source": "src/tools/collaboration.ts:44",
|
|
1286
1353
|
"symbol": "listComments",
|
|
1287
1354
|
"returns": "JSON: `{ comments: Comment[] }`.",
|
|
1355
|
+
"return_shape": "{ comments: Comment[] }",
|
|
1288
1356
|
"atomicity": "atomic (read-only)"
|
|
1289
1357
|
},
|
|
1290
1358
|
{
|
|
@@ -1316,6 +1384,7 @@
|
|
|
1316
1384
|
"source": "src/tools/analytics.ts:21",
|
|
1317
1385
|
"symbol": "getGraphAnalytics",
|
|
1318
1386
|
"returns": "JSON: `{ product: { id, title }, analytics }`.",
|
|
1387
|
+
"return_shape": "{ product: { id, title }, analytics }",
|
|
1319
1388
|
"atomicity": "atomic (read-only)"
|
|
1320
1389
|
},
|
|
1321
1390
|
{
|
|
@@ -1346,6 +1415,7 @@
|
|
|
1346
1415
|
"source": "src/tools/webhooks.ts:46",
|
|
1347
1416
|
"symbol": "listWebhooks",
|
|
1348
1417
|
"returns": "JSON: `{ webhooks: Webhook[] }`.",
|
|
1418
|
+
"return_shape": "{ webhooks: Webhook[] }",
|
|
1349
1419
|
"atomicity": "atomic (read-only)"
|
|
1350
1420
|
},
|
|
1351
1421
|
{
|
|
@@ -1390,6 +1460,7 @@
|
|
|
1390
1460
|
"source": "src/tools/webhooks.ts:24",
|
|
1391
1461
|
"symbol": "registerWebhook",
|
|
1392
1462
|
"returns": "JSON: `{ webhook: { id, product_id, event, url, secret?, created_at } }`.",
|
|
1463
|
+
"return_shape": "{ webhook: { id, product_id, event, url, secret?, created_at } }",
|
|
1393
1464
|
"atomicity": "atomic"
|
|
1394
1465
|
},
|
|
1395
1466
|
{
|
|
@@ -1420,6 +1491,7 @@
|
|
|
1420
1491
|
"source": "src/tools/webhooks.ts:63",
|
|
1421
1492
|
"symbol": "removeWebhook",
|
|
1422
1493
|
"returns": "JSON: `{ removed: <webhook_id> }`.",
|
|
1494
|
+
"return_shape": "{ removed: <webhook_id> }",
|
|
1423
1495
|
"atomicity": "atomic"
|
|
1424
1496
|
},
|
|
1425
1497
|
{
|
|
@@ -1451,6 +1523,9 @@
|
|
|
1451
1523
|
"source": "src/tools/spec.ts:1150",
|
|
1452
1524
|
"symbol": "getAntiPattern",
|
|
1453
1525
|
"returns": "JSON: `UPGCuratedAntiPattern`",
|
|
1526
|
+
"return_notes": [
|
|
1527
|
+
"JSON: `UPGCuratedAntiPattern`"
|
|
1528
|
+
],
|
|
1454
1529
|
"atomicity": "atomic (read-only)"
|
|
1455
1530
|
},
|
|
1456
1531
|
{
|
|
@@ -1492,6 +1567,9 @@
|
|
|
1492
1567
|
"source": "src/tools/spec.ts:234",
|
|
1493
1568
|
"symbol": "getApproach",
|
|
1494
1569
|
"returns": "JSON: the full `UPGApproach` record.",
|
|
1570
|
+
"return_notes": [
|
|
1571
|
+
"JSON: the full `UPGApproach` record."
|
|
1572
|
+
],
|
|
1495
1573
|
"atomicity": "atomic (read-only)"
|
|
1496
1574
|
},
|
|
1497
1575
|
{
|
|
@@ -1523,6 +1601,9 @@
|
|
|
1523
1601
|
"source": "src/tools/spec.ts:525",
|
|
1524
1602
|
"symbol": "getDomainGuide",
|
|
1525
1603
|
"returns": "JSON: the full `UPGDomainUsageGuide` record.",
|
|
1604
|
+
"return_notes": [
|
|
1605
|
+
"JSON: the full `UPGDomainUsageGuide` record."
|
|
1606
|
+
],
|
|
1526
1607
|
"atomicity": "atomic (read-only)"
|
|
1527
1608
|
},
|
|
1528
1609
|
{
|
|
@@ -1554,6 +1635,9 @@
|
|
|
1554
1635
|
"source": "src/tools/spec.ts:1589",
|
|
1555
1636
|
"symbol": "getDomainRing",
|
|
1556
1637
|
"returns": "JSON: the full `UPGDomainRing` record.",
|
|
1638
|
+
"return_notes": [
|
|
1639
|
+
"JSON: the full `UPGDomainRing` record."
|
|
1640
|
+
],
|
|
1557
1641
|
"atomicity": "atomic (read-only)"
|
|
1558
1642
|
},
|
|
1559
1643
|
{
|
|
@@ -1585,6 +1669,7 @@
|
|
|
1585
1669
|
"source": "src/tools/spec.ts:651",
|
|
1586
1670
|
"symbol": "getEdgeType",
|
|
1587
1671
|
"returns": "JSON: `{ type, forward_verb, reverse_verb, classification, source_type, target_type }`",
|
|
1672
|
+
"return_shape": "{ type, forward_verb, reverse_verb, classification, source_type, target_type }",
|
|
1588
1673
|
"atomicity": "atomic (read-only)"
|
|
1589
1674
|
},
|
|
1590
1675
|
{
|
|
@@ -1616,6 +1701,9 @@
|
|
|
1616
1701
|
"source": "src/tools/spec.ts:1069",
|
|
1617
1702
|
"symbol": "getEntityMeta",
|
|
1618
1703
|
"returns": "JSON: `EntityTypeMeta & { domain_id: string | null }`",
|
|
1704
|
+
"return_notes": [
|
|
1705
|
+
"JSON: `EntityTypeMeta & { domain_id: string | null }`"
|
|
1706
|
+
],
|
|
1619
1707
|
"atomicity": "atomic (read-only)"
|
|
1620
1708
|
},
|
|
1621
1709
|
{
|
|
@@ -1648,6 +1736,9 @@
|
|
|
1648
1736
|
"source": "src/tools/spec.ts:590",
|
|
1649
1737
|
"symbol": "getFramework",
|
|
1650
1738
|
"returns": "JSON: the full `UPGFramework` record.",
|
|
1739
|
+
"return_notes": [
|
|
1740
|
+
"JSON: the full `UPGFramework` record."
|
|
1741
|
+
],
|
|
1651
1742
|
"atomicity": "atomic (read-only)"
|
|
1652
1743
|
},
|
|
1653
1744
|
{
|
|
@@ -1680,6 +1771,7 @@
|
|
|
1680
1771
|
"source": "src/tools/spec.ts:889",
|
|
1681
1772
|
"symbol": "getLensTool",
|
|
1682
1773
|
"returns": "JSON: `{ ...UPGLens, visible_types: string[] }`",
|
|
1774
|
+
"return_shape": "{...UPGLens, visible_types: string[] }",
|
|
1683
1775
|
"atomicity": "atomic (read-only)"
|
|
1684
1776
|
},
|
|
1685
1777
|
{
|
|
@@ -1711,6 +1803,9 @@
|
|
|
1711
1803
|
"source": "src/tools/spec.ts:1458",
|
|
1712
1804
|
"symbol": "getLifecycle",
|
|
1713
1805
|
"returns": "JSON: the full `UPGLifecycle` record, or a descriptive message.",
|
|
1806
|
+
"return_notes": [
|
|
1807
|
+
"JSON: the full `UPGLifecycle` record, or a descriptive message."
|
|
1808
|
+
],
|
|
1714
1809
|
"atomicity": "atomic (read-only)"
|
|
1715
1810
|
},
|
|
1716
1811
|
{
|
|
@@ -1743,6 +1838,9 @@
|
|
|
1743
1838
|
"source": "src/tools/spec.ts:170",
|
|
1744
1839
|
"symbol": "getPlaybook",
|
|
1745
1840
|
"returns": "JSON: the full `UPGPlaybook` record.",
|
|
1841
|
+
"return_notes": [
|
|
1842
|
+
"JSON: the full `UPGPlaybook` record."
|
|
1843
|
+
],
|
|
1746
1844
|
"atomicity": "atomic (read-only)"
|
|
1747
1845
|
},
|
|
1748
1846
|
{
|
|
@@ -1775,6 +1873,9 @@
|
|
|
1775
1873
|
"source": "src/tools/spec.ts:710",
|
|
1776
1874
|
"symbol": "getRegion",
|
|
1777
1875
|
"returns": "JSON: the full `UPGRegion` record.",
|
|
1876
|
+
"return_notes": [
|
|
1877
|
+
"JSON: the full `UPGRegion` record."
|
|
1878
|
+
],
|
|
1778
1879
|
"atomicity": "atomic (read-only)"
|
|
1779
1880
|
},
|
|
1780
1881
|
{
|
|
@@ -1807,6 +1908,9 @@
|
|
|
1807
1908
|
"source": "src/tools/spec.ts:732",
|
|
1808
1909
|
"symbol": "getRegionForEntity",
|
|
1809
1910
|
"returns": "JSON: the full `UPGRegion` record.",
|
|
1911
|
+
"return_notes": [
|
|
1912
|
+
"JSON: the full `UPGRegion` record."
|
|
1913
|
+
],
|
|
1810
1914
|
"atomicity": "atomic (read-only)"
|
|
1811
1915
|
},
|
|
1812
1916
|
{
|
|
@@ -1837,6 +1941,9 @@
|
|
|
1837
1941
|
"source": "src/tools/spec.ts:1505",
|
|
1838
1942
|
"symbol": "getScale",
|
|
1839
1943
|
"returns": "JSON: the full `UPGScaleDefinition` record including all points.",
|
|
1944
|
+
"return_notes": [
|
|
1945
|
+
"JSON: the full `UPGScaleDefinition` record including all points."
|
|
1946
|
+
],
|
|
1840
1947
|
"atomicity": "atomic (read-only)"
|
|
1841
1948
|
},
|
|
1842
1949
|
{
|
|
@@ -1858,6 +1965,7 @@
|
|
|
1858
1965
|
"source": "src/tools/spec.ts:759",
|
|
1859
1966
|
"symbol": "getSpecVersion",
|
|
1860
1967
|
"returns": "JSON: `{ upg_version, markdown_format_version, entity_count, edge_count, domain_count, region_count }`",
|
|
1968
|
+
"return_shape": "{ upg_version, markdown_format_version, entity_count, edge_count, domain_count, region_count }",
|
|
1861
1969
|
"atomicity": "atomic (read-only)"
|
|
1862
1970
|
},
|
|
1863
1971
|
{
|
|
@@ -1897,6 +2005,7 @@
|
|
|
1897
2005
|
"source": "src/tools/spec.ts:950",
|
|
1898
2006
|
"symbol": "getTypeLabel",
|
|
1899
2007
|
"returns": "JSON: `{ ...UPGTypeLabel, resolved_label: string }`",
|
|
2008
|
+
"return_shape": "{...UPGTypeLabel, resolved_label: string }",
|
|
1900
2009
|
"atomicity": "atomic (read-only)"
|
|
1901
2010
|
},
|
|
1902
2011
|
{
|
|
@@ -1929,6 +2038,7 @@
|
|
|
1929
2038
|
"source": "src/tools/spec.ts:976",
|
|
1930
2039
|
"symbol": "getValidChildrenTool",
|
|
1931
2040
|
"returns": "JSON: `{ parent_type, valid_children: string[] }`",
|
|
2041
|
+
"return_shape": "{ parent_type, valid_children: string[] }",
|
|
1932
2042
|
"atomicity": "atomic (read-only)"
|
|
1933
2043
|
},
|
|
1934
2044
|
{
|
|
@@ -1967,6 +2077,9 @@
|
|
|
1967
2077
|
"source": "src/tools/spec.ts:326",
|
|
1968
2078
|
"symbol": "inspect",
|
|
1969
2079
|
"returns": "JSON envelope: `{ approach_id: 'inspect', scope, generated_at, approach, params }`",
|
|
2080
|
+
"return_notes": [
|
|
2081
|
+
"JSON envelope: `{ approach_id: 'inspect', scope, generated_at, approach, params }`"
|
|
2082
|
+
],
|
|
1970
2083
|
"atomicity": "atomic (read-only)"
|
|
1971
2084
|
},
|
|
1972
2085
|
{
|
|
@@ -2022,6 +2135,7 @@
|
|
|
2022
2135
|
"source": "src/tools/spec.ts:1110",
|
|
2023
2136
|
"symbol": "listAntiPatterns",
|
|
2024
2137
|
"returns": "JSON: `{ total, count, next_cursor?, anti_patterns: UPGCuratedAntiPattern[] }`",
|
|
2138
|
+
"return_shape": "{ total, count, next_cursor?, anti_patterns: UPGCuratedAntiPattern[] }",
|
|
2025
2139
|
"atomicity": "atomic (read-only)"
|
|
2026
2140
|
},
|
|
2027
2141
|
{
|
|
@@ -2052,6 +2166,7 @@
|
|
|
2052
2166
|
"source": "src/tools/spec.ts:206",
|
|
2053
2167
|
"symbol": "listApproaches",
|
|
2054
2168
|
"returns": "JSON: `{ count, approaches: UPGApproach[] }`",
|
|
2169
|
+
"return_shape": "{ count, approaches: UPGApproach[] }",
|
|
2055
2170
|
"atomicity": "atomic (read-only)"
|
|
2056
2171
|
},
|
|
2057
2172
|
{
|
|
@@ -2109,6 +2224,7 @@
|
|
|
2109
2224
|
"source": "src/tools/spec.ts:1184",
|
|
2110
2225
|
"symbol": "listBenchmarks",
|
|
2111
2226
|
"returns": "JSON: `{ kind, total, count, benchmarks: ... }`",
|
|
2227
|
+
"return_shape": "{ kind, total, count, benchmarks:... }",
|
|
2112
2228
|
"atomicity": "atomic (read-only)"
|
|
2113
2229
|
},
|
|
2114
2230
|
{
|
|
@@ -2130,6 +2246,7 @@
|
|
|
2130
2246
|
"source": "src/tools/spec.ts:830",
|
|
2131
2247
|
"symbol": "listCrossEdgeTypes",
|
|
2132
2248
|
"returns": "JSON: `{ count, types: readonly UPGCrossEdgeType[] }`",
|
|
2249
|
+
"return_shape": "{ count, types: readonly UPGCrossEdgeType[] }",
|
|
2133
2250
|
"atomicity": "atomic (read-only)"
|
|
2134
2251
|
},
|
|
2135
2252
|
{
|
|
@@ -2151,6 +2268,7 @@
|
|
|
2151
2268
|
"source": "src/tools/spec.ts:1568",
|
|
2152
2269
|
"symbol": "listDomainRings",
|
|
2153
2270
|
"returns": "JSON: `{ rings: UPGDomainRing[], total: number }`",
|
|
2271
|
+
"return_shape": "{ rings: UPGDomainRing[], total: number }",
|
|
2154
2272
|
"atomicity": "atomic (read-only)"
|
|
2155
2273
|
},
|
|
2156
2274
|
{
|
|
@@ -2177,6 +2295,7 @@
|
|
|
2177
2295
|
"source": "src/tools/spec.ts:491",
|
|
2178
2296
|
"symbol": "listDomains",
|
|
2179
2297
|
"returns": "JSON: `{ count, domains: Array<{ domain_id, anchor_entity, creation_sequence } | { domain_id, label, description, types, has_guide }> }`",
|
|
2298
|
+
"return_shape": "{ count, domains: Array<{ domain_id, anchor_entity, creation_sequence } | { domain_id, label, description, types, has_guide }> }",
|
|
2180
2299
|
"atomicity": "atomic (read-only)"
|
|
2181
2300
|
},
|
|
2182
2301
|
{
|
|
@@ -2205,6 +2324,7 @@
|
|
|
2205
2324
|
"source": "src/tools/spec.ts:1350",
|
|
2206
2325
|
"symbol": "listEdgeMigrations",
|
|
2207
2326
|
"returns": "JSON: `{ migrations: [{ kind, from, to?, since }], total: number }`",
|
|
2327
|
+
"return_shape": "{ migrations: [{ kind, from, to?, since }], total: number }",
|
|
2208
2328
|
"atomicity": "atomic (read-only)"
|
|
2209
2329
|
},
|
|
2210
2330
|
{
|
|
@@ -2236,6 +2356,7 @@
|
|
|
2236
2356
|
"source": "src/tools/spec.ts:633",
|
|
2237
2357
|
"symbol": "listEdgeTypes",
|
|
2238
2358
|
"returns": "JSON: `{ count, edges: Array<{ type, forward_verb, reverse_verb, classification, source_type, target_type }> }`",
|
|
2359
|
+
"return_shape": "{ count, edges: Array<{ type, forward_verb, reverse_verb, classification, source_type, target_type }> }",
|
|
2239
2360
|
"atomicity": "atomic (read-only)"
|
|
2240
2361
|
},
|
|
2241
2362
|
{
|
|
@@ -2286,6 +2407,7 @@
|
|
|
2286
2407
|
"source": "src/tools/spec.ts:1019",
|
|
2287
2408
|
"symbol": "listEntityTypes",
|
|
2288
2409
|
"returns": "JSON: `{ total, count, next_cursor?, types: Array<EntityTypeMeta & { domain_id: string | null }> }`",
|
|
2410
|
+
"return_shape": "{ total, count, next_cursor?, types: Array<EntityTypeMeta & { domain_id: string | null }> }",
|
|
2289
2411
|
"atomicity": "atomic (read-only)"
|
|
2290
2412
|
},
|
|
2291
2413
|
{
|
|
@@ -2306,6 +2428,7 @@
|
|
|
2306
2428
|
"source": "src/tools/spec.ts:1524",
|
|
2307
2429
|
"symbol": "listFrameworkCategories",
|
|
2308
2430
|
"returns": "JSON: `{ categories: string[], total: number }`",
|
|
2431
|
+
"return_shape": "{ categories: string[], total: number }",
|
|
2309
2432
|
"atomicity": "atomic (read-only)"
|
|
2310
2433
|
},
|
|
2311
2434
|
{
|
|
@@ -2327,6 +2450,7 @@
|
|
|
2327
2450
|
"source": "src/tools/spec.ts:1545",
|
|
2328
2451
|
"symbol": "listFrameworkStructurePatterns",
|
|
2329
2452
|
"returns": "JSON: `{ patterns: string[], total: number }`",
|
|
2453
|
+
"return_shape": "{ patterns: string[], total: number }",
|
|
2330
2454
|
"atomicity": "atomic (read-only)"
|
|
2331
2455
|
},
|
|
2332
2456
|
{
|
|
@@ -2361,6 +2485,7 @@
|
|
|
2361
2485
|
"source": "src/tools/spec.ts:554",
|
|
2362
2486
|
"symbol": "listFrameworks",
|
|
2363
2487
|
"returns": "JSON: `{ total, count, next_cursor?, frameworks: UPGFramework[] }`",
|
|
2488
|
+
"return_shape": "{ total, count, next_cursor?, frameworks: UPGFramework[] }",
|
|
2364
2489
|
"atomicity": "atomic (read-only)"
|
|
2365
2490
|
},
|
|
2366
2491
|
{
|
|
@@ -2383,6 +2508,7 @@
|
|
|
2383
2508
|
"source": "src/tools/spec.ts:856",
|
|
2384
2509
|
"symbol": "listLenses",
|
|
2385
2510
|
"returns": "JSON: `{ count, lenses: Array<{ id, name, description, icon, audience, perspective, framework_id?, playbook_id?, visible_domain_count, intelligence_prompt_count }> }`",
|
|
2511
|
+
"return_shape": "{ count, lenses: Array<{ id, name, description, icon, audience, perspective, framework_id?, playbook_id?, visible_domain_count, intelligence_prompt_count }> }",
|
|
2386
2512
|
"atomicity": "atomic (read-only)"
|
|
2387
2513
|
},
|
|
2388
2514
|
{
|
|
@@ -2413,6 +2539,7 @@
|
|
|
2413
2539
|
"source": "src/tools/spec.ts:1415",
|
|
2414
2540
|
"symbol": "listLifecycles",
|
|
2415
2541
|
"returns": "JSON: `{ lifecycles, total, free_types: string[], planned_types: string[] }`",
|
|
2542
|
+
"return_shape": "{ lifecycles, total, free_types: string[], planned_types: string[] }",
|
|
2416
2543
|
"atomicity": "atomic (read-only)"
|
|
2417
2544
|
},
|
|
2418
2545
|
{
|
|
@@ -2448,6 +2575,7 @@
|
|
|
2448
2575
|
"source": "src/tools/spec.ts:140",
|
|
2449
2576
|
"symbol": "listPlaybooks",
|
|
2450
2577
|
"returns": "JSON: `{ count, playbooks: UPGPlaybook[] }`",
|
|
2578
|
+
"return_shape": "{ count, playbooks: UPGPlaybook[] }",
|
|
2451
2579
|
"atomicity": "atomic (read-only)"
|
|
2452
2580
|
},
|
|
2453
2581
|
{
|
|
@@ -2469,6 +2597,7 @@
|
|
|
2469
2597
|
"source": "src/tools/spec.ts:1287",
|
|
2470
2598
|
"symbol": "listProductStages",
|
|
2471
2599
|
"returns": "JSON: `{ count, stages: readonly UPGProductStage[] }`",
|
|
2600
|
+
"return_shape": "{ count, stages: readonly UPGProductStage[] }",
|
|
2472
2601
|
"atomicity": "atomic (read-only)"
|
|
2473
2602
|
},
|
|
2474
2603
|
{
|
|
@@ -2491,6 +2620,7 @@
|
|
|
2491
2620
|
"source": "src/tools/spec.ts:678",
|
|
2492
2621
|
"symbol": "listRegions",
|
|
2493
2622
|
"returns": "JSON: `{ count, regions: Array<{ id, label, order, shape, mental_model, anchor_type, composes_atomic_domains, entity_count, intra_edge_count, boundary_edge_count }> }`",
|
|
2623
|
+
"return_shape": "{ count, regions: Array<{ id, label, order, shape, mental_model, anchor_type, composes_atomic_domains, entity_count, intra_edge_count, boundary_edge_count }> }",
|
|
2494
2624
|
"atomicity": "atomic (read-only)"
|
|
2495
2625
|
},
|
|
2496
2626
|
{
|
|
@@ -2511,6 +2641,7 @@
|
|
|
2511
2641
|
"source": "src/tools/spec.ts:1490",
|
|
2512
2642
|
"symbol": "listScales",
|
|
2513
2643
|
"returns": "JSON: `{ scales: UPGScaleDefinition[], total: number }`",
|
|
2644
|
+
"return_shape": "{ scales: UPGScaleDefinition[], total: number }",
|
|
2514
2645
|
"atomicity": "atomic (read-only)"
|
|
2515
2646
|
},
|
|
2516
2647
|
{
|
|
@@ -2533,6 +2664,7 @@
|
|
|
2533
2664
|
"source": "src/tools/spec.ts:1387",
|
|
2534
2665
|
"symbol": "listSplitMigrations",
|
|
2535
2666
|
"returns": "JSON: `{ splits: [...], total: number }`",
|
|
2667
|
+
"return_shape": "{ splits: [...], total: number }",
|
|
2536
2668
|
"atomicity": "atomic (read-only)"
|
|
2537
2669
|
},
|
|
2538
2670
|
{
|
|
@@ -2563,6 +2695,7 @@
|
|
|
2563
2695
|
"source": "src/tools/spec.ts:919",
|
|
2564
2696
|
"symbol": "listTypeLabels",
|
|
2565
2697
|
"returns": "JSON: `{ total, count, next_cursor?, labels: UPGTypeLabel[] }`",
|
|
2698
|
+
"return_shape": "{ total, count, next_cursor?, labels: UPGTypeLabel[] }",
|
|
2566
2699
|
"atomicity": "atomic (read-only)"
|
|
2567
2700
|
},
|
|
2568
2701
|
{
|
|
@@ -2591,6 +2724,7 @@
|
|
|
2591
2724
|
"source": "src/tools/spec.ts:1319",
|
|
2592
2725
|
"symbol": "listTypeMigrations",
|
|
2593
2726
|
"returns": "JSON: `{ migrations: [{ from, to, since }], total: number }`",
|
|
2727
|
+
"return_shape": "{ migrations: [{ from, to, since }], total: number }",
|
|
2594
2728
|
"atomicity": "atomic (read-only)"
|
|
2595
2729
|
},
|
|
2596
2730
|
{
|
|
@@ -2621,6 +2755,9 @@
|
|
|
2621
2755
|
"source": "src/tools/spec.ts:298",
|
|
2622
2756
|
"symbol": "plan",
|
|
2623
2757
|
"returns": "JSON envelope: `{ approach_id: 'plan', scope, generated_at, approach, params }`",
|
|
2758
|
+
"return_notes": [
|
|
2759
|
+
"JSON envelope: `{ approach_id: 'plan', scope, generated_at, approach, params }`"
|
|
2760
|
+
],
|
|
2624
2761
|
"atomicity": "atomic (read-only)"
|
|
2625
2762
|
},
|
|
2626
2763
|
{
|
|
@@ -2664,6 +2801,9 @@
|
|
|
2664
2801
|
"source": "src/tools/spec.ts:359",
|
|
2665
2802
|
"symbol": "prioritise",
|
|
2666
2803
|
"returns": "JSON envelope: `{ approach_id: 'prioritise', scope, generated_at, approach, params }`",
|
|
2804
|
+
"return_notes": [
|
|
2805
|
+
"JSON envelope: `{ approach_id: 'prioritise', scope, generated_at, approach, params }`"
|
|
2806
|
+
],
|
|
2667
2807
|
"atomicity": "atomic (read-only)"
|
|
2668
2808
|
},
|
|
2669
2809
|
{
|
|
@@ -2708,6 +2848,9 @@
|
|
|
2708
2848
|
"source": "src/tools/spec.ts:450",
|
|
2709
2849
|
"symbol": "reflect",
|
|
2710
2850
|
"returns": "JSON envelope: `{ approach_id: 'reflect', scope, generated_at, approach, params }`",
|
|
2851
|
+
"return_notes": [
|
|
2852
|
+
"JSON envelope: `{ approach_id: 'reflect', scope, generated_at, approach, params }`"
|
|
2853
|
+
],
|
|
2711
2854
|
"atomicity": "atomic (read-only)"
|
|
2712
2855
|
},
|
|
2713
2856
|
{
|
|
@@ -2747,6 +2890,7 @@
|
|
|
2747
2890
|
"source": "src/tools/spec.ts:800",
|
|
2748
2891
|
"symbol": "resolveEdgeForPair",
|
|
2749
2892
|
"returns": "JSON: `{ source_type, target_type, edge_type: string | null }`",
|
|
2893
|
+
"return_shape": "{ source_type, target_type, edge_type: string | null }",
|
|
2750
2894
|
"atomicity": "atomic (read-only)"
|
|
2751
2895
|
},
|
|
2752
2896
|
{
|
|
@@ -2801,6 +2945,9 @@
|
|
|
2801
2945
|
"source": "src/tools/spec.ts:403",
|
|
2802
2946
|
"symbol": "trace",
|
|
2803
2947
|
"returns": "JSON envelope: `{ approach_id: 'trace', scope, generated_at, approach, params }`",
|
|
2948
|
+
"return_notes": [
|
|
2949
|
+
"JSON envelope: `{ approach_id: 'trace', scope, generated_at, approach, params }`"
|
|
2950
|
+
],
|
|
2804
2951
|
"atomicity": "atomic (read-only)"
|
|
2805
2952
|
},
|
|
2806
2953
|
{
|
|
@@ -2858,6 +3005,7 @@
|
|
|
2858
3005
|
"source": "src/tools/portfolio.ts:84",
|
|
2859
3006
|
"symbol": "createCrossProductEdge",
|
|
2860
3007
|
"returns": "JSON: `{ edge: { id, source, target, type, created_by_product_id } }`",
|
|
3008
|
+
"return_shape": "{ edge: { id, source, target, type, created_by_product_id } }",
|
|
2861
3009
|
"atomicity": "atomic"
|
|
2862
3010
|
},
|
|
2863
3011
|
{
|
|
@@ -2891,6 +3039,7 @@
|
|
|
2891
3039
|
"source": "src/tools/portfolio.ts:55",
|
|
2892
3040
|
"symbol": "listPortfolioCrossEdges",
|
|
2893
3041
|
"returns": "JSON: `{ edges: [{ id, source, target, type }], total: number }`",
|
|
3042
|
+
"return_shape": "{ edges: [{ id, source, target, type }], total: number }",
|
|
2894
3043
|
"atomicity": "atomic (read-only)"
|
|
2895
3044
|
},
|
|
2896
3045
|
{
|
|
@@ -2913,6 +3062,7 @@
|
|
|
2913
3062
|
"source": "src/tools/portfolio.ts:29",
|
|
2914
3063
|
"symbol": "listPortfolios",
|
|
2915
3064
|
"returns": "JSON: `{ portfolios: [{ id, title, products: [{ id, title, stage? }] }], total: number }`",
|
|
3065
|
+
"return_shape": "{ portfolios: [{ id, title, products: [{ id, title, stage? }] }], total: number }",
|
|
2916
3066
|
"atomicity": "atomic (read-only)"
|
|
2917
3067
|
},
|
|
2918
3068
|
{
|
|
@@ -2957,6 +3107,7 @@
|
|
|
2957
3107
|
"source": "src/tools/portfolio.ts:137",
|
|
2958
3108
|
"symbol": "repairDanglingEdges",
|
|
2959
3109
|
"returns": "JSON: `{ dangling: [{ id, source, target, type }], dangling_count, dry_run, dropped }`",
|
|
3110
|
+
"return_shape": "{ dangling: [{ id, source, target, type }], dangling_count, dry_run, dropped }",
|
|
2960
3111
|
"atomicity": "atomic-with-rollback (when drop is requested)"
|
|
2961
3112
|
},
|
|
2962
3113
|
{
|
|
@@ -3016,6 +3167,7 @@
|
|
|
3016
3167
|
"source": "src/tools/batch.ts:405",
|
|
3017
3168
|
"symbol": "batchCreateEdges",
|
|
3018
3169
|
"returns": "JSON: `{ created: [{ id, source_id, target_id, type }], count }`.",
|
|
3170
|
+
"return_shape": "{ created: [{ id, source_id, target_id, type }], count }",
|
|
3019
3171
|
"atomicity": "atomic-with-rollback (BEGIN / COMMIT / ROLLBACK)."
|
|
3020
3172
|
},
|
|
3021
3173
|
{
|
|
@@ -3094,6 +3246,7 @@
|
|
|
3094
3246
|
"source": "src/tools/batch.ts:63",
|
|
3095
3247
|
"symbol": "batchCreateNodes",
|
|
3096
3248
|
"returns": "JSON: `{ created: [{ id, type, title }], count, warnings? }`.",
|
|
3249
|
+
"return_shape": "{ created: [{ id, type, title }], count, warnings? }",
|
|
3097
3250
|
"atomicity": "atomic-with-rollback (BEGIN / COMMIT / ROLLBACK)."
|
|
3098
3251
|
},
|
|
3099
3252
|
{
|
|
@@ -3133,6 +3286,7 @@
|
|
|
3133
3286
|
"source": "src/tools/batch.ts:502",
|
|
3134
3287
|
"symbol": "batchDeleteEdges",
|
|
3135
3288
|
"returns": "JSON: `{ deleted: [id], count }`.",
|
|
3289
|
+
"return_shape": "{ deleted: [id], count }",
|
|
3136
3290
|
"atomicity": "atomic-with-rollback (BEGIN / COMMIT / ROLLBACK)."
|
|
3137
3291
|
},
|
|
3138
3292
|
{
|
|
@@ -3174,6 +3328,7 @@
|
|
|
3174
3328
|
"source": "src/tools/batch.ts:338",
|
|
3175
3329
|
"symbol": "batchDeleteNodes",
|
|
3176
3330
|
"returns": "JSON: `{ deleted: [id], count }`.",
|
|
3331
|
+
"return_shape": "{ deleted: [id], count }",
|
|
3177
3332
|
"atomicity": "atomic-with-rollback (BEGIN / COMMIT / ROLLBACK)."
|
|
3178
3333
|
},
|
|
3179
3334
|
{
|
|
@@ -3229,6 +3384,7 @@
|
|
|
3229
3384
|
"source": "src/tools/batch.ts:573",
|
|
3230
3385
|
"symbol": "batchMoveNodes",
|
|
3231
3386
|
"returns": "JSON: `{ moved: [{ node_id, new_parent_id }], count }`.",
|
|
3387
|
+
"return_shape": "{ moved: [{ node_id, new_parent_id }], count }",
|
|
3232
3388
|
"atomicity": "atomic-with-rollback (BEGIN / COMMIT / ROLLBACK)."
|
|
3233
3389
|
},
|
|
3234
3390
|
{
|
|
@@ -3298,6 +3454,7 @@
|
|
|
3298
3454
|
"source": "src/tools/batch.ts:216",
|
|
3299
3455
|
"symbol": "batchUpdateNodes",
|
|
3300
3456
|
"returns": "JSON: `{ updated: [id], count }`.",
|
|
3457
|
+
"return_shape": "{ updated: [id], count }",
|
|
3301
3458
|
"atomicity": "atomic-with-rollback (BEGIN / COMMIT / ROLLBACK)."
|
|
3302
3459
|
},
|
|
3303
3460
|
{
|
|
@@ -3339,6 +3496,7 @@
|
|
|
3339
3496
|
"source": "src/tools/validation.ts:83",
|
|
3340
3497
|
"symbol": "validateGraph",
|
|
3341
3498
|
"returns": "JSON: `{ valid, product_id, summary, entity_type_drift,\nedge_type_drift, property_drift, notes }`.",
|
|
3499
|
+
"return_shape": "{ valid, product_id, summary, entity_type_drift, edge_type_drift, property_drift, notes }",
|
|
3342
3500
|
"atomicity": "atomic (read-only)"
|
|
3343
3501
|
},
|
|
3344
3502
|
{
|
|
@@ -3377,6 +3535,7 @@
|
|
|
3377
3535
|
"source": "src/tools/migrations.ts:194",
|
|
3378
3536
|
"symbol": "migrateCrossEdges",
|
|
3379
3537
|
"returns": "JSON: `{ product_id, migrated, count, dry_run }`.",
|
|
3538
|
+
"return_shape": "{ product_id, migrated, count, dry_run }",
|
|
3380
3539
|
"atomicity": "atomic-with-rollback (false only)"
|
|
3381
3540
|
},
|
|
3382
3541
|
{
|
|
@@ -3426,6 +3585,7 @@
|
|
|
3426
3585
|
"source": "src/tools/migrations.ts:83",
|
|
3427
3586
|
"symbol": "migrateType",
|
|
3428
3587
|
"returns": "JSON: `{ from_type, to_type, affected_nodes, retyped_edges, dry_run }`.",
|
|
3588
|
+
"return_shape": "{ from_type, to_type, affected_nodes, retyped_edges, dry_run }",
|
|
3429
3589
|
"atomicity": "atomic-with-rollback (false only)"
|
|
3430
3590
|
}
|
|
3431
3591
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unified-product-graph/cloud-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
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>",
|