@dxos/introspect-mcp 0.0.0 → 0.8.4-main.3fbcb4aa9b

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/introspect-mcp",
3
- "version": "0.0.0",
3
+ "version": "0.8.4-main.3fbcb4aa9b",
4
4
  "description": "MCP server exposing DXOS monorepo introspection.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -31,23 +31,26 @@
31
31
  "dist",
32
32
  "src"
33
33
  ],
34
- "scripts": {
35
- "start": "tsx --conditions=source src/cli.ts"
36
- },
37
34
  "dependencies": {
38
- "@dxos/effect-zod": "workspace:*",
39
- "@dxos/introspect": "workspace:*",
40
- "@dxos/introspect-tools": "workspace:*",
41
- "@dxos/log": "workspace:*",
42
- "@dxos/util": "workspace:*",
43
- "@modelcontextprotocol/sdk": "catalog:",
44
- "effect": "catalog:",
45
- "zod": "catalog:"
35
+ "@modelcontextprotocol/sdk": "^1.27.1",
36
+ "effect": "3.20.0",
37
+ "zod": "^4.0.0",
38
+ "@dxos/effect-zod": "0.8.4-main.3fbcb4aa9b",
39
+ "@dxos/introspect": "0.8.4-main.3fbcb4aa9b",
40
+ "@dxos/introspect-tools": "0.8.4-main.3fbcb4aa9b",
41
+ "@dxos/log": "0.8.4-main.3fbcb4aa9b",
42
+ "@dxos/util": "0.8.4-main.3fbcb4aa9b"
46
43
  },
47
44
  "devDependencies": {
48
- "@types/node": "catalog:",
49
- "tsx": "catalog:",
50
- "typescript": "catalog:",
51
- "vitest": "catalog:"
45
+ "@types/node": "22.10.2",
46
+ "tsx": "^4.21.0",
47
+ "typescript": "^6.0.3",
48
+ "vitest": "4.1.5"
49
+ },
50
+ "publishConfig": {
51
+ "access": "public"
52
+ },
53
+ "scripts": {
54
+ "start": "tsx --conditions=source src/cli.ts"
52
55
  }
53
- }
56
+ }
@@ -31,7 +31,7 @@ describe('http integration', () => {
31
31
  let client: Client;
32
32
 
33
33
  beforeAll(async () => {
34
- const tsx = join(FIXTURE_ROOT, '..', '..', '..', '..', '..', 'node_modules', '.bin', 'tsx');
34
+ const tsx = join(FIXTURE_ROOT, '..', '..', '..', '..', '..', '..', 'node_modules', '.bin', 'tsx');
35
35
  serverProcess = spawn(
36
36
  tsx,
37
37
  ['--conditions=source', CLI_PATH, '--root', FIXTURE_ROOT, '--http', String(PORT), '--host', HOST],
@@ -73,7 +73,13 @@ const toToolResult = (shaped: ToolResult): McpToolResult => {
73
73
  if (shaped.truncated) {
74
74
  payload.truncated = shaped.truncated;
75
75
  }
76
+
76
77
  return {
77
- content: [{ type: 'text', text: JSON.stringify(payload, null, 2) }],
78
+ content: [
79
+ {
80
+ type: 'text',
81
+ text: JSON.stringify(payload, null, 2),
82
+ },
83
+ ],
78
84
  };
79
85
  };
@@ -138,6 +138,8 @@ export const shapeListPlugins = (all: Plugin[], opts: ListOptions = {}): ToolRes
138
138
  description: p.description,
139
139
  icon: p.icon,
140
140
  iconHue: p.iconHue,
141
+ tags: p.tags,
142
+ dependsOn: p.dependsOn,
141
143
  }),
142
144
  compact: (p) => ({ id: p.id, name: p.name }),
143
145
  truncationHint: 'raise `limit` (max 200) or filter with `id` substring.',
@@ -157,6 +159,8 @@ export const shapePluginDetail = (detail: PluginDetail): ToolResult => ({
157
159
  description: detail.description,
158
160
  icon: detail.icon,
159
161
  iconHue: detail.iconHue,
162
+ tags: detail.tags,
163
+ dependsOn: detail.dependsOn,
160
164
  metaLocation: detail.metaLocation,
161
165
  surfaces: detail.surfaces.map((s) => ({ id: s.id, role: s.role })),
162
166
  capabilities: detail.capabilities.map((c) => ({ type: c.type })),