@firfi/huly-mcp 0.39.2 → 0.39.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/dist/index.cjs +2 -14
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -178568,7 +178568,7 @@ var makeDiagnosticsScope = Effect_exports.gen(function* () {
|
|
|
178568
178568
|
});
|
|
178569
178569
|
|
|
178570
178570
|
// src/version.ts
|
|
178571
|
-
var VERSION = true ? "0.39.
|
|
178571
|
+
var VERSION = true ? "0.39.3" : "0.0.0-dev";
|
|
178572
178572
|
|
|
178573
178573
|
// src/mcp/json-schema-refs.ts
|
|
178574
178574
|
var isJsonObject = (value3) => typeof value3 === "object" && value3 !== null && !Array.isArray(value3);
|
|
@@ -203172,11 +203172,6 @@ var createResourceListClientResolutionError = (_error) => new McpError(
|
|
|
203172
203172
|
ErrorCode.InternalError,
|
|
203173
203173
|
"Failed to initialize Huly clients while listing resources. Verify Huly URL, workspace, and authentication configuration."
|
|
203174
203174
|
);
|
|
203175
|
-
var hasAnyHulyConfigSource = (context6) => {
|
|
203176
|
-
const env = context6.configSources.env;
|
|
203177
|
-
const headersPresent = context6.configSources.headers?.present === true;
|
|
203178
|
-
return headersPresent || env.hulyUrl || env.hulyWorkspace || env.hulyToken || env.hulyEmail || env.hulyPassword || env.hulyConnectionTimeout;
|
|
203179
|
-
};
|
|
203180
203175
|
var isConfigValidationFailure = (error2) => {
|
|
203181
203176
|
if (error2 instanceof ConfigValidationError) return true;
|
|
203182
203177
|
if (!Runtime_exports.isFiberFailure(error2)) return false;
|
|
@@ -203184,14 +203179,7 @@ var isConfigValidationFailure = (error2) => {
|
|
|
203184
203179
|
(failure) => failure instanceof ConfigValidationError
|
|
203185
203180
|
);
|
|
203186
203181
|
};
|
|
203187
|
-
var shouldReturnEmptyResourceListOnClientResolutionFailure = (error2,
|
|
203188
|
-
if (!isConfigValidationFailure(error2)) return false;
|
|
203189
|
-
try {
|
|
203190
|
-
return !hasAnyHulyConfigSource(validateHulyContextResult(getHulyContext()));
|
|
203191
|
-
} catch {
|
|
203192
|
-
return false;
|
|
203193
|
-
}
|
|
203194
|
-
};
|
|
203182
|
+
var shouldReturnEmptyResourceListOnClientResolutionFailure = (error2, _getHulyContext) => isConfigValidationFailure(error2);
|
|
203195
203183
|
var resolveResourceClientsOrThrow = async (resolveClients, mapError7) => {
|
|
203196
203184
|
try {
|
|
203197
203185
|
return await resolveClients();
|