converse-mcp-server 2.9.3 → 2.9.4
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/package.json +1 -1
- package/src/prompts/helpPrompt.js +4 -0
- package/src/tools/chat.js +2 -2
- package/src/tools/consensus.js +2 -2
package/package.json
CHANGED
|
@@ -326,6 +326,10 @@ function generateConfigurationTips(tools) {
|
|
|
326
326
|
|
|
327
327
|
// File Context
|
|
328
328
|
output += '### File Context\n';
|
|
329
|
+
output +=
|
|
330
|
+
'- **IMPORTANT**: Always use the `files` parameter to share code/file content instead of copying into the prompt\n';
|
|
331
|
+
output +=
|
|
332
|
+
'- Using `files` provides better formatting, line numbers, and preserves full context\n';
|
|
329
333
|
output +=
|
|
330
334
|
'- Supports multiple file formats: code files, text, markdown, JSON, etc.\n';
|
|
331
335
|
output +=
|
package/src/tools/chat.js
CHANGED
|
@@ -1016,7 +1016,7 @@ async function executeChatWithStreaming(args, dependencies, context) {
|
|
|
1016
1016
|
|
|
1017
1017
|
// Tool metadata
|
|
1018
1018
|
chatTool.description =
|
|
1019
|
-
'GENERAL CHAT & COLLABORATIVE THINKING - Development assistance, brainstorming, code analysis. Supports files, images, continuation_id for multi-turn conversations. Use model: "auto" for automatic selection.';
|
|
1019
|
+
'GENERAL CHAT & COLLABORATIVE THINKING - Development assistance, brainstorming, code analysis. Supports files, images, continuation_id for multi-turn conversations. Use model: "auto" for automatic selection. IMPORTANT: Use the "files" parameter to share code/file content instead of pasting into the prompt.';
|
|
1020
1020
|
chatTool.inputSchema = {
|
|
1021
1021
|
type: 'object',
|
|
1022
1022
|
properties: {
|
|
@@ -1029,7 +1029,7 @@ chatTool.inputSchema = {
|
|
|
1029
1029
|
type: 'array',
|
|
1030
1030
|
items: { type: 'string' },
|
|
1031
1031
|
description:
|
|
1032
|
-
'File paths to include as context (absolute or relative paths). Supports line ranges: file.txt{10:50}, file.txt{100:}. Example: ["./src/utils/auth.js{50:100}", "./config.json"]',
|
|
1032
|
+
'File paths to include as context (absolute or relative paths). Supports line ranges: file.txt{10:50}, file.txt{100:}. Example: ["./src/utils/auth.js{50:100}", "./config.json"]. IMPORTANT: Always use this parameter to share file content instead of copying code into the prompt - it provides better formatting, line numbers, and preserves context.',
|
|
1033
1033
|
},
|
|
1034
1034
|
images: {
|
|
1035
1035
|
type: 'array',
|
package/src/tools/consensus.js
CHANGED
|
@@ -1616,7 +1616,7 @@ async function executeConsensusPhaseWithStreaming(
|
|
|
1616
1616
|
|
|
1617
1617
|
// Tool metadata
|
|
1618
1618
|
consensusTool.description =
|
|
1619
|
-
'PARALLEL CONSENSUS WITH CROSS-MODEL FEEDBACK - Query multiple models simultaneously, then optionally refine responses based on cross-feedback. For complex decisions, architectural choices, technical evaluations. Use models: ["auto"] for automatic selection.';
|
|
1619
|
+
'PARALLEL CONSENSUS WITH CROSS-MODEL FEEDBACK - Query multiple models simultaneously, then optionally refine responses based on cross-feedback. For complex decisions, architectural choices, technical evaluations. Use models: ["auto"] for automatic selection. IMPORTANT: Use the "files" parameter to share code/file content instead of pasting into the prompt.';
|
|
1620
1620
|
consensusTool.inputSchema = {
|
|
1621
1621
|
type: 'object',
|
|
1622
1622
|
properties: {
|
|
@@ -1631,7 +1631,7 @@ consensusTool.inputSchema = {
|
|
|
1631
1631
|
type: 'array',
|
|
1632
1632
|
items: { type: 'string' },
|
|
1633
1633
|
description:
|
|
1634
|
-
'File paths for additional context (absolute or relative paths). Supports line ranges: file.txt{10:50}, file.txt{100:}. Example: ["./docs/architecture.md{1:100}", "./requirements.txt"]',
|
|
1634
|
+
'File paths for additional context (absolute or relative paths). Supports line ranges: file.txt{10:50}, file.txt{100:}. Example: ["./docs/architecture.md{1:100}", "./requirements.txt"]. IMPORTANT: Always use this parameter to share file content instead of copying code into the prompt - it provides better formatting, line numbers, and preserves context.',
|
|
1635
1635
|
},
|
|
1636
1636
|
images: {
|
|
1637
1637
|
type: 'array',
|