@unified-product-graph/mcp-server 0.6.1 → 0.6.3
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 +18 -0
- package/TOOLS.md +26 -1
- package/dist/index.js +241 -22341
- package/dist/index.js.map +1 -1
- package/dist/tools-manifest.json +15 -15
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@unified-product-graph/mcp-server` are documented in this file. Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
4
4
|
|
|
5
|
+
## [0.6.3] - 2026-05-27
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- **`list_frameworks` / `get_framework` now serve the 34 canonical frameworks**, not the full 216-record research library. They previously imported `UPG_FRAMEWORKS` from the internal `@unified-product-graph/frameworks` package; they now source it from `@unified-product-graph/core`'s canonical surface — matching `cloud-server`, the published `core` export, and the public catalog on unifiedproductgraph.org. Research frameworks remain internal and are promoted into the canonical set incrementally as each is reviewed. `get_framework` for a non-canonical id now returns "Unknown framework id".
|
|
10
|
+
|
|
11
|
+
## [0.6.2] - 2026-05-26
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **Server failed to start when launched through a symlinked path** — which broke the primary install path `claude mcp add upg -- npx @unified-product-graph/mcp-server`, npx `.bin` shims, global installs, and macOS `/tmp`. The entrypoint guard compared `process.argv[1]` (literal invocation path) to `import.meta.url` (symlink-resolved by the ESM loader) as raw strings; when they diverged the server exited 0 with no output, which MCP clients report as "Failed to connect." The guard now compares realpaths. Added a regression test that spawns the built binary through a symlink.
|
|
16
|
+
|
|
17
|
+
## [0.6.1] - 2026-05-26
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Metadata only: `UPG_VERSION` aligned to 0.6.1 and `repository` repointed to the public `unified-product-graph/tools` mirror. No runtime changes.
|
|
22
|
+
|
|
5
23
|
## [0.6.0] - 2026-05-22
|
|
6
24
|
|
|
7
25
|
Aligned with `@unified-product-graph/core@0.6.0` launch train.
|
package/TOOLS.md
CHANGED
|
@@ -1922,7 +1922,7 @@ JSON: `{ patterns: string[], total: number }`
|
|
|
1922
1922
|
|
|
1923
1923
|
### `list_frameworks`
|
|
1924
1924
|
|
|
1925
|
-
List canonical `UPGFramework` definitions
|
|
1925
|
+
List the canonical `UPGFramework` definitions — the 34 curated, famous product frameworks that anchor the public catalog (spanning strategy, discovery, prioritisation, design, growth, engineering, and reflection classics). Paginated (default 50, max 200). Cursor is opaque: pass `next_cursor` from a previous response. Optional `category` is exact-match against `UPGFramework.category` and applies before pagination.
|
|
1926
1926
|
|
|
1927
1927
|
**Atomicity:** `atomic (read-only)`
|
|
1928
1928
|
|
|
@@ -2507,6 +2507,31 @@ pure spec-shape check; `skip_drift: true` for catalog-only.
|
|
|
2507
2507
|
"_hash": "sha256-abc123"
|
|
2508
2508
|
}
|
|
2509
2509
|
|
|
2510
|
+
// Run a full graph health check — schema drift + anti-pattern violations
|
|
2511
|
+
// Input:
|
|
2512
|
+
{}
|
|
2513
|
+
// Output (truncated):
|
|
2514
|
+
{
|
|
2515
|
+
"valid": false,
|
|
2516
|
+
"summary": {
|
|
2517
|
+
"entity_drift": 2,
|
|
2518
|
+
"edge_drift": 0,
|
|
2519
|
+
"property_drift": 1,
|
|
2520
|
+
"anti_pattern_violations_high": 1,
|
|
2521
|
+
"anti_pattern_violations_medium": 2,
|
|
2522
|
+
"anti_pattern_violations_low": 0,
|
|
2523
|
+
"spec_version": "0.4.0",
|
|
2524
|
+
"scope": "all"
|
|
2525
|
+
},
|
|
2526
|
+
"entity_drift": [
|
|
2527
|
+
{ "id": "pain_01", "type": "pain_point", "title": "Slow onboarding", "suggested_migration": { "kind": "rename", "to": "need" } }
|
|
2528
|
+
],
|
|
2529
|
+
"anti_pattern_violations": [
|
|
2530
|
+
{ "anti_pattern_id": "features-without-hypotheses", "severity": "high", "remediation": "Add hypothesis_claim nodes linked to features via feature_tests_hypothesis" }
|
|
2531
|
+
],
|
|
2532
|
+
"_hash": "sha256-abc123"
|
|
2533
|
+
}
|
|
2534
|
+
|
|
2510
2535
|
**See also:** `migrate_type`, `migrate_properties`, `rename_edge_type`, `get_anti_pattern_violations_for`, `list_anti_patterns`, `list_type_migrations`, `list_edge_migrations`, `inspect`
|
|
2511
2536
|
|
|
2512
2537
|
|