harness-evolver 4.2.7 → 4.2.8
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/.claude-plugin/plugin.json +1 -1
- package/bin/install.js +9 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "harness-evolver",
|
|
3
3
|
"description": "LangSmith-native autonomous agent optimization — evolves LLM agent code using multi-agent proposers, LangSmith experiments, and git worktrees",
|
|
4
|
-
"version": "4.2.
|
|
4
|
+
"version": "4.2.8",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Raphael Valdetaro"
|
|
7
7
|
},
|
package/bin/install.js
CHANGED
|
@@ -481,15 +481,19 @@ async function configureOptionalIntegrations(rl, nonInteractive) {
|
|
|
481
481
|
step(c.bold("Optional Integrations"));
|
|
482
482
|
barEmpty();
|
|
483
483
|
|
|
484
|
-
// Context7 MCP
|
|
484
|
+
// Context7 MCP — check settings files AND plugin marketplace
|
|
485
485
|
const hasContext7 = (() => {
|
|
486
486
|
try {
|
|
487
|
+
// Check settings.json / .claude.json
|
|
487
488
|
for (const p of [path.join(HOME, ".claude", "settings.json"), path.join(HOME, ".claude.json")]) {
|
|
488
489
|
if (fs.existsSync(p)) {
|
|
489
490
|
const s = JSON.parse(fs.readFileSync(p, "utf8"));
|
|
490
491
|
if (s.mcpServers && (s.mcpServers.context7 || s.mcpServers.Context7)) return true;
|
|
491
492
|
}
|
|
492
493
|
}
|
|
494
|
+
// Check plugin marketplace install
|
|
495
|
+
const pluginMcp = path.join(HOME, ".claude", "plugins", "marketplaces", "claude-plugins-official", "external_plugins", "context7", ".mcp.json");
|
|
496
|
+
if (fs.existsSync(pluginMcp)) return true;
|
|
493
497
|
} catch {}
|
|
494
498
|
return false;
|
|
495
499
|
})();
|
|
@@ -513,7 +517,7 @@ async function configureOptionalIntegrations(rl, nonInteractive) {
|
|
|
513
517
|
|
|
514
518
|
barEmpty();
|
|
515
519
|
|
|
516
|
-
// LangChain Docs MCP
|
|
520
|
+
// LangChain Docs MCP — check settings files AND plugin marketplace
|
|
517
521
|
const hasLcDocs = (() => {
|
|
518
522
|
try {
|
|
519
523
|
for (const p of [path.join(HOME, ".claude", "settings.json"), path.join(HOME, ".claude.json")]) {
|
|
@@ -522,6 +526,9 @@ async function configureOptionalIntegrations(rl, nonInteractive) {
|
|
|
522
526
|
if (s.mcpServers && (s.mcpServers["docs-langchain"] || s.mcpServers["LangChain Docs"])) return true;
|
|
523
527
|
}
|
|
524
528
|
}
|
|
529
|
+
// Check plugin marketplace install
|
|
530
|
+
const pluginMcp = path.join(HOME, ".claude", "plugins", "marketplaces", "claude-plugins-official", "external_plugins", "docs-langchain", ".mcp.json");
|
|
531
|
+
if (fs.existsSync(pluginMcp)) return true;
|
|
525
532
|
} catch {}
|
|
526
533
|
return false;
|
|
527
534
|
})();
|