@agentwonderland/mcp 0.1.31 → 0.1.32

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.
@@ -89,9 +89,8 @@ export function platformSupportsOws() {
89
89
  try {
90
90
  // Node exposes the runtime glibc version when linked against glibc;
91
91
  // on musl this field is empty.
92
- const report = process.report;
93
- const glibc = report?.getReport?.()?.header?.glibcVersionRuntime;
94
- if (!glibc)
92
+ const header = process.report?.getReport?.()?.header;
93
+ if (!header?.glibcVersionRuntime)
95
94
  return false;
96
95
  }
97
96
  catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentwonderland/mcp",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "type": "module",
5
5
  "description": "MCP server for the Agent Wonderland AI agent marketplace",
6
6
  "bin": {
@@ -187,9 +187,8 @@ export function platformSupportsOws(): boolean {
187
187
  try {
188
188
  // Node exposes the runtime glibc version when linked against glibc;
189
189
  // on musl this field is empty.
190
- const report = (process as NodeJS.Process & { report?: { getReport?: () => { header?: { glibcVersionRuntime?: string } } } }).report;
191
- const glibc = report?.getReport?.()?.header?.glibcVersionRuntime;
192
- if (!glibc) return false;
190
+ const header = (process.report?.getReport?.() as { header?: { glibcVersionRuntime?: string } } | undefined)?.header;
191
+ if (!header?.glibcVersionRuntime) return false;
193
192
  } catch {
194
193
  return false;
195
194
  }