@pencil-agent/nano-pencil 1.6.4 → 1.6.5
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/main.js +8 -7
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -461,13 +461,14 @@ async function buildSessionOptions(parsed, scopedModels, sessionManager, modelRe
|
|
|
461
461
|
else if (parsed.tools) {
|
|
462
462
|
options.tools = parsed.tools.map((name) => allTools[name]);
|
|
463
463
|
}
|
|
464
|
-
// Enable MCP
|
|
465
|
-
//
|
|
466
|
-
|
|
467
|
-
const
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
464
|
+
// Enable MCP only if explicitly requested via --enable-mcp flag
|
|
465
|
+
// MCP is experimental and may have compatibility issues on some systems
|
|
466
|
+
// TODO: Re-enable by default once MCP server startup is more robust
|
|
467
|
+
// const { listEnabledMCPServers } = await import("./core/mcp/mcp-config.js");
|
|
468
|
+
// const enabledMcpServers = listEnabledMCPServers();
|
|
469
|
+
// if (enabledMcpServers.length > 0) {
|
|
470
|
+
// options.enableMCP = true;
|
|
471
|
+
// }
|
|
471
472
|
return { options, cliThinkingFromModel };
|
|
472
473
|
}
|
|
473
474
|
async function handleConfigCommand(args) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pencil-agent/nano-pencil",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.5",
|
|
4
4
|
"description": "CLI writing agent with read, bash, edit, write tools and session management. Based on pi; supports DashScope Coding Plan. Soul enabled by default for AI personality evolution.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|