@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.
package/dist/core/ows-adapter.js
CHANGED
|
@@ -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
|
|
93
|
-
|
|
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
package/src/core/ows-adapter.ts
CHANGED
|
@@ -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
|
|
191
|
-
|
|
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
|
}
|