@unified-product-graph/mcp-server 0.8.8 → 0.8.10

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": "2",
3
3
  "package": "@unified-product-graph/mcp-server",
4
- "package_version": "0.8.8",
4
+ "package_version": "0.8.10",
5
5
  "tool_count": 96,
6
6
  "domains": [
7
7
  "context",
@@ -2143,6 +2143,10 @@
2143
2143
  },
2144
2144
  "description": "Entities to pull into the exercise (any type)."
2145
2145
  },
2146
+ "slot_roles": {
2147
+ "type": "object",
2148
+ "description": "Optional map of entity id → framework slot role (e.g. { \"feat_x\": \"pain_reliever\" }), stamped onto each entity's includes edge. Validated against the framework's declared slot roles (warn-only)."
2149
+ },
2146
2150
  "status": {
2147
2151
  "type": "string",
2148
2152
  "description": "Lifecycle phase: draft | active | archived (default draft)."
@@ -2160,10 +2164,10 @@
2160
2164
  "see": [
2161
2165
  "score_entity"
2162
2166
  ],
2163
- "source": "src/tools/frameworks.ts:25",
2167
+ "source": "src/tools/frameworks.ts:30",
2164
2168
  "symbol": "applyFramework",
2165
- "returns": "JSON: `{ exercise_id, exercise, included: [{ edge_id, entity_id, edge_type }], warnings }`\n(the shared cross-surface envelope; identical to CLI `apply --json`).",
2166
- "return_shape": "{ exercise_id, exercise, included: [{ edge_id, entity_id, edge_type }], warnings }",
2169
+ "returns": "JSON: `{ exercise_id, exercise, included: [{ edge_id, entity_id, edge_type, slot_role? }], warnings }`\n(the shared cross-surface envelope; identical to CLI `apply --json`).",
2170
+ "return_shape": "{ exercise_id, exercise, included: [{ edge_id, entity_id, edge_type, slot_role? }], warnings }",
2167
2171
  "return_notes": [
2168
2172
  "(the shared cross-surface envelope; identical to CLI `apply --json`)."
2169
2173
  ],
@@ -3832,7 +3836,11 @@
3832
3836
  },
3833
3837
  "values": {
3834
3838
  "type": "object",
3835
- "description": "Required. The result as { input: value }, e.g. { \"moscow\": \"must\" } or { \"reach\": 800, \"impact\": 3 }."
3839
+ "description": "Required. The result as { input: value }, e.g. { \"moscow\": \"must\" } or { \"reach\": 4, \"impact\": 3 }."
3840
+ },
3841
+ "slot_role": {
3842
+ "type": "string",
3843
+ "description": "Optional framework slot role this entity plays (e.g. \"pain_reliever\"). Rides the same edge as the scores; validated against the framework's declared slot roles (warn-only)."
3836
3844
  },
3837
3845
  "replace": {
3838
3846
  "type": "boolean",
@@ -3853,7 +3861,7 @@
3853
3861
  "see": [
3854
3862
  "apply_framework"
3855
3863
  ],
3856
- "source": "src/tools/frameworks.ts:55",
3864
+ "source": "src/tools/frameworks.ts:63",
3857
3865
  "symbol": "scoreEntity",
3858
3866
  "returns": "JSON: `{ edge, warnings }`.",
3859
3867
  "return_shape": "{ edge, warnings }",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unified-product-graph/mcp-server",
3
- "version": "0.8.8",
3
+ "version": "0.8.10",
4
4
  "description": "Local MCP server for .upg files. Read and write product knowledge graphs offline.",
5
5
  "license": "MIT",
6
6
  "author": "The Product Creator <hello@theproductcreator.com>",