@wisewandtools/mcp-server 2.0.11 → 2.0.12
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.js +1 -20
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -523,27 +523,8 @@ var WisewandAPIClient = class {
|
|
|
523
523
|
console.error("API CLIENT - DISCOVER ARTICLES");
|
|
524
524
|
console.error("=".repeat(80));
|
|
525
525
|
console.error("Input payload:", JSON.stringify(input, null, 2));
|
|
526
|
-
console.error("apply_project_brief_config present:", "apply_project_brief_config" in input);
|
|
527
|
-
console.error("apply_project_brief_config value:", input.apply_project_brief_config);
|
|
528
526
|
console.error("");
|
|
529
|
-
|
|
530
|
-
input_keys: Object.keys(input),
|
|
531
|
-
has_apply_project_brief_config: "apply_project_brief_config" in input,
|
|
532
|
-
apply_project_brief_config_value: input.apply_project_brief_config,
|
|
533
|
-
apply_project_brief_config_type: typeof input.apply_project_brief_config,
|
|
534
|
-
has_project_id: !!input.project_id,
|
|
535
|
-
subject: input.subject,
|
|
536
|
-
endpoint: "/v1/discoverarticles/"
|
|
537
|
-
});
|
|
538
|
-
const requestBody = { ...input };
|
|
539
|
-
if (input.apply_project_brief_config !== void 0) {
|
|
540
|
-
requestBody.apply_project_brief_config = Boolean(input.apply_project_brief_config);
|
|
541
|
-
logger.info("API Client - Explicitly set apply_project_brief_config", {
|
|
542
|
-
original_value: input.apply_project_brief_config,
|
|
543
|
-
explicit_boolean: requestBody.apply_project_brief_config
|
|
544
|
-
});
|
|
545
|
-
}
|
|
546
|
-
return this.request("POST", "/v1/discoverarticles/", requestBody);
|
|
527
|
+
return this.request("POST", "/v1/discoverarticles/", input);
|
|
547
528
|
}
|
|
548
529
|
async getDiscoverArticle(id) {
|
|
549
530
|
return this.request("GET", `/v1/discoverarticles/${id}`);
|