@elizaos/plugin-mcp 2.0.0-beta.1 → 2.0.3-beta.2
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/README.md +55 -226
- package/dist/cjs/index.cjs +106 -28
- package/dist/cjs/index.js.map +11 -11
- package/dist/node/actions/mcp.d.ts.map +1 -1
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/index.js +106 -28
- package/dist/node/index.js.map +11 -11
- package/dist/node/prompts.d.ts +8 -8
- package/dist/node/prompts.d.ts.map +1 -1
- package/dist/node/routes-mcp.d.ts.map +1 -1
- package/dist/node/service.d.ts +1 -0
- package/dist/node/service.d.ts.map +1 -1
- package/dist/node/types.d.ts +0 -4
- package/dist/node/types.d.ts.map +1 -1
- package/dist/node/utils/schemas.d.ts +0 -4
- package/dist/node/utils/schemas.d.ts.map +1 -1
- package/dist/node/utils/selection.d.ts.map +1 -1
- package/package.json +18 -5
package/dist/node/prompts.d.ts
CHANGED
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export declare const errorAnalysisTemplate = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\nYou're an assistant helping a user, but there was an error accessing the resource you tried to use.\n\nUser request: \"{{{userMessage}}}\"\nError message: {{{error}}}\n\nCreate a helpful response that:\n1. Acknowledges the issue in user-friendly terms\n2. Offers alternative approaches to help if possible\n3. Doesn't expose technical error details unless they're truly helpful\n4. Maintains a helpful, conversational tone\n\nYour response:";
|
|
10
10
|
export declare const ERROR_ANALYSIS_TEMPLATE = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\nYou're an assistant helping a user, but there was an error accessing the resource you tried to use.\n\nUser request: \"{{{userMessage}}}\"\nError message: {{{error}}}\n\nCreate a helpful response that:\n1. Acknowledges the issue in user-friendly terms\n2. Offers alternative approaches to help if possible\n3. Doesn't expose technical error details unless they're truly helpful\n4. Maintains a helpful, conversational tone\n\nYour response:";
|
|
11
|
-
export declare const feedbackTemplate = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\nYour previous selection could not be parsed or validated. Correct it as compact JSON.\n\nPREVIOUS RESPONSE:\n{{{originalResponse}}\n\nERROR:\n{{{errorMessage}}\n\nAvailable {{{itemType}}}s:\n{{{itemsDescription}}\n\nUser request: \"{{{userMessage}}}\"\n\nCORRECTED INSTRUCTIONS:\n1. Select the most appropriate {{{itemType}}} for the task\n2. Return one valid JSON object with exact field names and concrete values\n3. Ensure all values exactly match the available {{{itemType}}}s (names are case-sensitive!)\n4. Do not include markdown fences, comments, tags, or explanatory text outside the JSON\n5. Do not use placeholders - all values should be concrete and usable\n6. If no appropriate item exists, use \"noToolAvailable\": true for tools or \"noResourceAvailable\": true for resources\n\nFor tools, use this shape:\n{\n \"serverName\": \"exact-server-name\",\n \"toolName\": \"exact-tool-name\",\n \"reasoning\": \"short reason\",\n \"noToolAvailable\": false\n}\n\nFor resources, use this shape:\n{\n \"serverName\": \"exact-server-name\",\n \"uri\": \"exact-resource-uri\",\n \"reasoning\": \"short reason\",\n \"noResourceAvailable\": false\n}\n\nYOUR CORRECTED JSON RESPONSE:";
|
|
12
|
-
export declare const FEEDBACK_TEMPLATE = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\nYour previous selection could not be parsed or validated. Correct it as compact JSON.\n\nPREVIOUS RESPONSE:\n{{{originalResponse}}\n\nERROR:\n{{{errorMessage}}\n\nAvailable {{{itemType}}}s:\n{{{itemsDescription}}\n\nUser request: \"{{{userMessage}}}\"\n\nCORRECTED INSTRUCTIONS:\n1. Select the most appropriate {{{itemType}}} for the task\n2. Return one valid JSON object with exact field names and concrete values\n3. Ensure all values exactly match the available {{{itemType}}}s (names are case-sensitive!)\n4. Do not include markdown fences, comments, tags, or explanatory text outside the JSON\n5. Do not use placeholders - all values should be concrete and usable\n6. If no appropriate item exists, use \"noToolAvailable\": true for tools or \"noResourceAvailable\": true for resources\n\nFor tools, use this shape:\n{\n \"serverName\": \"exact-server-name\",\n \"toolName\": \"exact-tool-name\",\n \"reasoning\": \"short reason\",\n \"noToolAvailable\": false\n}\n\nFor resources, use this shape:\n{\n \"serverName\": \"exact-server-name\",\n \"uri\": \"exact-resource-uri\",\n \"reasoning\": \"short reason\",\n \"noResourceAvailable\": false\n}\n\nYOUR CORRECTED JSON RESPONSE:";
|
|
13
|
-
export declare const resourceAnalysisTemplate = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\
|
|
14
|
-
export declare const RESOURCE_ANALYSIS_TEMPLATE = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\
|
|
15
|
-
export declare const resourceSelectionTemplate = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\
|
|
16
|
-
export declare const RESOURCE_SELECTION_TEMPLATE = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\
|
|
17
|
-
export declare const toolReasoningTemplate = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\
|
|
18
|
-
export declare const TOOL_REASONING_TEMPLATE = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\
|
|
11
|
+
export declare const feedbackTemplate = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\nYour previous selection could not be parsed or validated. Correct it as compact JSON.\n\nPREVIOUS RESPONSE:\n{{{originalResponse}}}\n\nERROR:\n{{{errorMessage}}}\n\nAvailable {{{itemType}}}s:\n{{{itemsDescription}}}\n\nUser request: \"{{{userMessage}}}\"\n\nCORRECTED INSTRUCTIONS:\n1. Select the most appropriate {{{itemType}}} for the task\n2. Return one valid JSON object with exact field names and concrete values\n3. Ensure all values exactly match the available {{{itemType}}}s (names are case-sensitive!)\n4. Do not include markdown fences, comments, tags, or explanatory text outside the JSON\n5. Do not use placeholders - all values should be concrete and usable\n6. If no appropriate item exists, use \"noToolAvailable\": true for tools or \"noResourceAvailable\": true for resources\n\nFor tools, use this shape:\n{\n \"serverName\": \"exact-server-name\",\n \"toolName\": \"exact-tool-name\",\n \"reasoning\": \"short reason\",\n \"noToolAvailable\": false\n}\n\nFor resources, use this shape:\n{\n \"serverName\": \"exact-server-name\",\n \"uri\": \"exact-resource-uri\",\n \"reasoning\": \"short reason\",\n \"noResourceAvailable\": false\n}\n\nYOUR CORRECTED JSON RESPONSE:";
|
|
12
|
+
export declare const FEEDBACK_TEMPLATE = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\nYour previous selection could not be parsed or validated. Correct it as compact JSON.\n\nPREVIOUS RESPONSE:\n{{{originalResponse}}}\n\nERROR:\n{{{errorMessage}}}\n\nAvailable {{{itemType}}}s:\n{{{itemsDescription}}}\n\nUser request: \"{{{userMessage}}}\"\n\nCORRECTED INSTRUCTIONS:\n1. Select the most appropriate {{{itemType}}} for the task\n2. Return one valid JSON object with exact field names and concrete values\n3. Ensure all values exactly match the available {{{itemType}}}s (names are case-sensitive!)\n4. Do not include markdown fences, comments, tags, or explanatory text outside the JSON\n5. Do not use placeholders - all values should be concrete and usable\n6. If no appropriate item exists, use \"noToolAvailable\": true for tools or \"noResourceAvailable\": true for resources\n\nFor tools, use this shape:\n{\n \"serverName\": \"exact-server-name\",\n \"toolName\": \"exact-tool-name\",\n \"reasoning\": \"short reason\",\n \"noToolAvailable\": false\n}\n\nFor resources, use this shape:\n{\n \"serverName\": \"exact-server-name\",\n \"uri\": \"exact-resource-uri\",\n \"reasoning\": \"short reason\",\n \"noResourceAvailable\": false\n}\n\nYOUR CORRECTED JSON RESPONSE:";
|
|
13
|
+
export declare const resourceAnalysisTemplate = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\nRespond to the user's request using the resource \"{{{uri}}}\".\n\nOriginal user request: \"{{{userMessage}}}\"\n\nResource metadata:\n{{{resourceMeta}}}\n\nResource content:\n{{{resourceContent}}}\n\nInstructions:\n1. Analyze how well the resource's content addresses the user's specific question or need\n2. Identify the most relevant information from the resource\n3. Create a natural, conversational response that incorporates this information\n4. If the resource content is insufficient, acknowledge its limitations and explain what you can determine\n5. Do not start with phrases like \"According to the resource\" or \"Here's what I found\" - instead, integrate the information naturally\n6. Maintain your helpful, intelligent assistant personality while presenting the information\n\nYour response (written as if directly to the user):";
|
|
14
|
+
export declare const RESOURCE_ANALYSIS_TEMPLATE = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\nRespond to the user's request using the resource \"{{{uri}}}\".\n\nOriginal user request: \"{{{userMessage}}}\"\n\nResource metadata:\n{{{resourceMeta}}}\n\nResource content:\n{{{resourceContent}}}\n\nInstructions:\n1. Analyze how well the resource's content addresses the user's specific question or need\n2. Identify the most relevant information from the resource\n3. Create a natural, conversational response that incorporates this information\n4. If the resource content is insufficient, acknowledge its limitations and explain what you can determine\n5. Do not start with phrases like \"According to the resource\" or \"Here's what I found\" - instead, integrate the information naturally\n6. Maintain your helpful, intelligent assistant personality while presenting the information\n\nYour response (written as if directly to the user):";
|
|
15
|
+
export declare const resourceSelectionTemplate = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\nSelect the right resource to address the user's request.\n\nCRITICAL INSTRUCTIONS:\n1. You MUST specify both a valid serverName AND uri from the list above\n2. The serverName value should match EXACTLY the server name shown in parentheses (Server: X)\n CORRECT: serverName: github (if the server is called \"github\")\n WRONG: serverName: GitHub, serverName: Github, or any other variation\n3. The uri value should match EXACTLY the resource uri listed\n CORRECT: uri: weather://San Francisco/current (if that's the exact uri)\n WRONG: uri: weather://sanfrancisco/current or any variation\n4. Identify the user's information need from the conversation context\n5. Select the most appropriate resource based on its description and the request\n6. If no resource seems appropriate, set noResourceAvailable: true\n\nRespond with compact JSON only.\n\nSTRICT FORMAT REQUIREMENTS:\n- Include \"noResourceAvailable\": false when selecting a resource\n- NO code block formatting (NO backticks)\n- NO comments\n- NO placeholders like \"replace with...\", \"example\", \"your...\", \"actual\", etc.\n- Every parameter value must be a concrete, usable value (not instructions to replace)\n- NO explanatory text before or after the JSON object\n\nEXAMPLE RESPONSE:\n{\n \"serverName\": \"weather-server\",\n \"uri\": \"weather://San Francisco/current\",\n \"reasoning\": \"The user is asking about current weather in San Francisco. This resource provides up-to-date weather information for that city.\",\n \"noResourceAvailable\": false\n}\n\nNO RESOURCE EXAMPLE:\n{\n \"reasoning\": \"None of the available resources match the user's request.\",\n \"noResourceAvailable\": true\n}";
|
|
16
|
+
export declare const RESOURCE_SELECTION_TEMPLATE = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\nSelect the right resource to address the user's request.\n\nCRITICAL INSTRUCTIONS:\n1. You MUST specify both a valid serverName AND uri from the list above\n2. The serverName value should match EXACTLY the server name shown in parentheses (Server: X)\n CORRECT: serverName: github (if the server is called \"github\")\n WRONG: serverName: GitHub, serverName: Github, or any other variation\n3. The uri value should match EXACTLY the resource uri listed\n CORRECT: uri: weather://San Francisco/current (if that's the exact uri)\n WRONG: uri: weather://sanfrancisco/current or any variation\n4. Identify the user's information need from the conversation context\n5. Select the most appropriate resource based on its description and the request\n6. If no resource seems appropriate, set noResourceAvailable: true\n\nRespond with compact JSON only.\n\nSTRICT FORMAT REQUIREMENTS:\n- Include \"noResourceAvailable\": false when selecting a resource\n- NO code block formatting (NO backticks)\n- NO comments\n- NO placeholders like \"replace with...\", \"example\", \"your...\", \"actual\", etc.\n- Every parameter value must be a concrete, usable value (not instructions to replace)\n- NO explanatory text before or after the JSON object\n\nEXAMPLE RESPONSE:\n{\n \"serverName\": \"weather-server\",\n \"uri\": \"weather://San Francisco/current\",\n \"reasoning\": \"The user is asking about current weather in San Francisco. This resource provides up-to-date weather information for that city.\",\n \"noResourceAvailable\": false\n}\n\nNO RESOURCE EXAMPLE:\n{\n \"reasoning\": \"None of the available resources match the user's request.\",\n \"noResourceAvailable\": true\n}";
|
|
17
|
+
export declare const toolReasoningTemplate = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\nSynthesize the result from the \"{{{toolName}}}\" tool into a response to the user's request.\n\nOriginal user request: \"{{{userMessage}}}\"\n\nTool response:\n{{{toolOutput}}}\n\n{{#if hasAttachments}}\nThe tool also returned images or other media that will be shared with the user.\n{{/if}}\n\nInstructions:\n1. Analyze how well the tool's response addresses the user's specific question or need\n2. Identify the most relevant information from the tool's output\n3. Create a natural, conversational response that incorporates this information\n4. If the tool's response is insufficient, acknowledge its limitations and explain what you can determine\n5. Do not start with phrases like \"I used the X tool\" or \"Here's what I found\" - instead, integrate the information naturally\n6. Maintain your helpful, intelligent assistant personality while presenting the information\n\nYour response (written as if directly to the user):";
|
|
18
|
+
export declare const TOOL_REASONING_TEMPLATE = "{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Prompt\n\nSynthesize the result from the \"{{{toolName}}}\" tool into a response to the user's request.\n\nOriginal user request: \"{{{userMessage}}}\"\n\nTool response:\n{{{toolOutput}}}\n\n{{#if hasAttachments}}\nThe tool also returned images or other media that will be shared with the user.\n{{/if}}\n\nInstructions:\n1. Analyze how well the tool's response addresses the user's specific question or need\n2. Identify the most relevant information from the tool's output\n3. Create a natural, conversational response that incorporates this information\n4. If the tool's response is insufficient, acknowledge its limitations and explain what you can determine\n5. Do not start with phrases like \"I used the X tool\" or \"Here's what I found\" - instead, integrate the information naturally\n6. Maintain your helpful, intelligent assistant personality while presenting the information\n\nYour response (written as if directly to the user):";
|
|
19
19
|
export declare const toolSelectionArgumentTemplate = "{{recentMessages}}\n\n# TASK: Generate Tool Arguments for Tool Execution\n\nYou have chosen the \"{{toolSelectionName.toolName}}\" tool from the \"{{toolSelectionName.serverName}}\" server to address the user's request.\nThe reasoning behind this selection is: \"{{toolSelectionName.reasoning}}\"\n\n## CRITICAL INSTRUCTIONS\n1. Ensure the toolArguments block strictly adheres to the structure and requirements defined in the schema.\n2. All parameter values must be extracted from the conversation context and must be concrete, usable values.\n3. Avoid placeholders or generic terms unless explicitly provided by the user.\n\nRespond with compact JSON only.\n\n## STRICT FORMAT REQUIREMENTS\n- The response MUST be one JSON object.\n- DO NOT wrap it in triple backticks, code blocks, or include any explanatory text.\n- DO NOT include comments anywhere.\n- DO NOT use placeholders (e.g., \"replace with...\", \"example\", \"your...\", etc.)\n\n## CRITICAL NOTES\n- All values must be fully grounded in user input or inferred contextually.\n- No missing fields unless they are explicitly optional in the schema.\n- All types must match the schema (strings, numbers, booleans).\n- Put all executable parameters under the toolArguments object.\n\n## RESPONSE STRUCTURE\nYour response MUST contain ONLY these two top-level keys:\n1. toolArguments - object with fields matching the input schema: {{toolInputSchema}}\n2. reasoning - a short explanation of how the values were inferred from the conversation.\n\n## EXAMPLE RESPONSE\n{\n \"toolArguments\": {\n \"owner\": \"facebook\",\n \"repo\": \"react\",\n \"path\": \"README.md\",\n \"branch\": \"main\"\n },\n \"reasoning\": \"The user wants to see the README from the facebook/react repository based on our conversation.\"\n}\n\nIf the tool takes no arguments, use an empty toolArguments object:\n{\n \"toolArguments\": {},\n \"reasoning\": \"The selected tool does not require arguments for this request.\"\n}";
|
|
20
20
|
export declare const TOOL_SELECTION_ARGUMENT_TEMPLATE = "{{recentMessages}}\n\n# TASK: Generate Tool Arguments for Tool Execution\n\nYou have chosen the \"{{toolSelectionName.toolName}}\" tool from the \"{{toolSelectionName.serverName}}\" server to address the user's request.\nThe reasoning behind this selection is: \"{{toolSelectionName.reasoning}}\"\n\n## CRITICAL INSTRUCTIONS\n1. Ensure the toolArguments block strictly adheres to the structure and requirements defined in the schema.\n2. All parameter values must be extracted from the conversation context and must be concrete, usable values.\n3. Avoid placeholders or generic terms unless explicitly provided by the user.\n\nRespond with compact JSON only.\n\n## STRICT FORMAT REQUIREMENTS\n- The response MUST be one JSON object.\n- DO NOT wrap it in triple backticks, code blocks, or include any explanatory text.\n- DO NOT include comments anywhere.\n- DO NOT use placeholders (e.g., \"replace with...\", \"example\", \"your...\", etc.)\n\n## CRITICAL NOTES\n- All values must be fully grounded in user input or inferred contextually.\n- No missing fields unless they are explicitly optional in the schema.\n- All types must match the schema (strings, numbers, booleans).\n- Put all executable parameters under the toolArguments object.\n\n## RESPONSE STRUCTURE\nYour response MUST contain ONLY these two top-level keys:\n1. toolArguments - object with fields matching the input schema: {{toolInputSchema}}\n2. reasoning - a short explanation of how the values were inferred from the conversation.\n\n## EXAMPLE RESPONSE\n{\n \"toolArguments\": {\n \"owner\": \"facebook\",\n \"repo\": \"react\",\n \"path\": \"README.md\",\n \"branch\": \"main\"\n },\n \"reasoning\": \"The user wants to see the README from the facebook/react repository based on our conversation.\"\n}\n\nIf the tool takes no arguments, use an empty toolArguments object:\n{\n \"toolArguments\": {},\n \"reasoning\": \"The selected tool does not require arguments for this request.\"\n}";
|
|
21
21
|
export declare const toolSelectionNameTemplate = "{{mcpProvider.text}}\n\n{{recentMessages}}\n\n# TASK: Select the Most Appropriate Tool and Server\n\nYou must select the most appropriate tool from the list above to fulfill the user's request. Respond with compact JSON.\n\n## CRITICAL INSTRUCTIONS\n1. Provide both serverName and toolName from the options listed above.\n2. Each name must match EXACTLY as shown in the list:\n - Example (correct): serverName: github\n - Example (incorrect): serverName: GitHub, serverName: Github, or variations\n3. Extract ACTUAL parameter values from the conversation context.\n - Do not invent or use placeholders like \"octocat\" or \"Hello-World\" unless the user said so.\n4. Include a reasoning field explaining why the selected tool fits the request.\n5. If no tool is appropriate, set noToolAvailable: true.\n\n## STRICT FORMAT REQUIREMENTS\n- The response MUST be one JSON object.\n- DO NOT wrap it in triple backticks, code blocks, or include any explanatory text.\n- DO NOT include comments anywhere.\n- DO NOT use placeholders (e.g., \"replace with...\", \"example\", \"your...\", etc.)\n\n## CRITICAL NOTES\n- All values must be fully grounded in user input or inferred contextually.\n- No missing fields unless they are explicitly optional in the schema.\n- All types must match the schema (strings, numbers, booleans).\n\n## RESPONSE STRUCTURE\nYour response MUST contain ONLY these top-level keys:\n1. serverName - The name of the server (e.g., github, notion)\n2. toolName - The name of the tool (e.g., get_file_contents, search)\n3. reasoning - A short explanation of how the values were inferred from the conversation\n4. noToolAvailable - true or false\n\n## EXAMPLE RESPONSE\n{\n \"serverName\": \"github\",\n \"toolName\": \"get_file_contents\",\n \"reasoning\": \"The user wants to retrieve the README from the facebook/react repository.\",\n \"noToolAvailable\": false\n}\n\n## NO TOOL EXAMPLE\n{\n \"reasoning\": \"None of the available tools match the user's request.\",\n \"noToolAvailable\": true\n}\n\n## REMINDERS\n- Use \"github\" as serverName for GitHub tools.\n- Use \"notion\" as serverName for Notion tools.\n- For search and knowledge-based tasks, MCP tools are often appropriate.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../src/prompts.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,eAAO,MAAM,qBAAqB,2fAiBnB,CAAC;AAEhB,eAAO,MAAM,uBAAuB,2fAAwB,CAAC;AAE7D,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../src/prompts.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,eAAO,MAAM,qBAAqB,2fAiBnB,CAAC;AAEhB,eAAO,MAAM,uBAAuB,2fAAwB,CAAC;AAE7D,eAAO,MAAM,gBAAgB,+uCA2CC,CAAC;AAE/B,eAAO,MAAM,iBAAiB,+uCAAmB,CAAC;AAElD,eAAO,MAAM,wBAAwB,84BAwBe,CAAC;AAErD,eAAO,MAAM,0BAA0B,84BAA2B,CAAC;AAEnE,eAAO,MAAM,yBAAyB,utDA0CpC,CAAC;AAEH,eAAO,MAAM,2BAA2B,utDAA4B,CAAC;AAErE,eAAO,MAAM,qBAAqB,u+BAyBkB,CAAC;AAErD,eAAO,MAAM,uBAAuB,u+BAAwB,CAAC;AAE7D,eAAO,MAAM,6BAA6B,87DA8CxC,CAAC;AAEH,eAAO,MAAM,gCAAgC,87DAAgC,CAAC;AAE9E,e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declare class McpService extends Service {
|
|
|
18
18
|
stop(): Promise<void>;
|
|
19
19
|
private initializeMcpServers;
|
|
20
20
|
private getMcpSettings;
|
|
21
|
+
private filterValidatedServerConfigs;
|
|
21
22
|
private updateServerConnections;
|
|
22
23
|
private initializeConnection;
|
|
23
24
|
private setupTransportHandlers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAU,OAAO,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAU,OAAO,EAAE,MAAM,eAAe,CAAC;AAKpE,OAAO,KAAK,EACV,cAAc,EAIf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAK/C,OAAO,EAWL,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,SAAS,EAKf,MAAM,SAAS,CAAC;AAGjB,qBAAa,UAAW,SAAQ,OAAO;IACrC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAoB;IAC9C,qBAAqB,SAA6E;IAElG,OAAO,CAAC,WAAW,CAAyC;IAC5D,OAAO,CAAC,gBAAgB,CAA2C;IACnE,OAAO,CAAC,WAAW,CAIjB;IACF,OAAO,CAAC,UAAU,CAAmC;IACrD,OAAO,CAAC,iBAAiB,CAAqC;IAC9D,OAAO,CAAC,wBAAwB,CAAS;IAEzC,OAAO,CAAC,qBAAqB,CAA8B;gBAE/C,OAAO,CAAC,EAAE,aAAa;WAOtB,KAAK,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,UAAU,CAAC;IAQzD,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC;IAMtC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;YAYb,oBAAoB;IAalC,OAAO,CAAC,cAAc;YA6BR,4BAA4B;YAkB5B,uBAAuB;YA0BvB,oBAAoB;IAmDlC,OAAO,CAAC,sBAAsB;IAoC9B,OAAO,CAAC,mBAAmB;YAsBb,QAAQ;IAetB,OAAO,CAAC,iBAAiB;IASzB,OAAO,CAAC,mBAAmB;IAyBrB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAyBnD,OAAO,CAAC,mBAAmB;YAIb,yBAAyB;YAgCzB,wBAAwB;IAmBtC,OAAO,CAAC,kBAAkB;YAKZ,cAAc;YA2Bd,kBAAkB;YAUlB,0BAA0B;IAUjC,UAAU,IAAI,SAAS,EAAE;IAMzB,eAAe,IAAI,WAAW;IAIxB,QAAQ,CACnB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,aAAa,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAChD,OAAO,CAAC,cAAc,CAAC;IA6Bb,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAW3E,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAWjE,OAAO,CAAC,2BAA2B;IAO5B,sBAAsB,CAAC,UAAU,EAAE,WAAW,GAAG,WAAW;CAWpE"}
|
package/dist/node/types.d.ts
CHANGED
|
@@ -131,12 +131,10 @@ export declare const ToolSelectionSchema: {
|
|
|
131
131
|
readonly serverName: {
|
|
132
132
|
readonly type: "string";
|
|
133
133
|
readonly minLength: 1;
|
|
134
|
-
readonly errorMessage: "serverName must not be empty";
|
|
135
134
|
};
|
|
136
135
|
readonly toolName: {
|
|
137
136
|
readonly type: "string";
|
|
138
137
|
readonly minLength: 1;
|
|
139
|
-
readonly errorMessage: "toolName must not be empty";
|
|
140
138
|
};
|
|
141
139
|
readonly arguments: {
|
|
142
140
|
readonly type: "object";
|
|
@@ -156,12 +154,10 @@ export declare const ResourceSelectionSchema: {
|
|
|
156
154
|
readonly serverName: {
|
|
157
155
|
readonly type: "string";
|
|
158
156
|
readonly minLength: 1;
|
|
159
|
-
readonly errorMessage: "serverName must not be empty";
|
|
160
157
|
};
|
|
161
158
|
readonly uri: {
|
|
162
159
|
readonly type: "string";
|
|
163
160
|
readonly minLength: 1;
|
|
164
|
-
readonly errorMessage: "uri must not be empty";
|
|
165
161
|
};
|
|
166
162
|
readonly reasoning: {
|
|
167
163
|
readonly type: "string";
|
package/dist/node/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,KAAK,EACV,gBAAgB,EAChB,YAAY,EACZ,QAAQ,EACR,gBAAgB,EAChB,WAAW,EACX,IAAI,EACL,MAAM,oCAAoC,CAAC;AAE5C,eAAO,MAAM,gBAAgB,EAAG,KAAc,CAAC;AAC/C,eAAO,MAAM,2BAA2B,QAAQ,CAAC;AACjD,eAAO,MAAM,uBAAuB,IAAI,CAAC;AACzC,eAAO,MAAM,mBAAmB,IAAI,CAAC;AAErC,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,wBAAwB,EAAE,MAAM,CAAC;CAC3C;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,WAAW,GAAG,cAAc,GAAG,QAAQ,CAAC;AAEtF,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E,KAAK,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC,CAKhF;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAKpE;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAK5E;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAKrF"}
|
|
@@ -5,12 +5,10 @@ export declare const toolSelectionNameSchema: {
|
|
|
5
5
|
readonly serverName: {
|
|
6
6
|
readonly type: "string";
|
|
7
7
|
readonly minLength: 1;
|
|
8
|
-
readonly errorMessage: "serverName must not be empty";
|
|
9
8
|
};
|
|
10
9
|
readonly toolName: {
|
|
11
10
|
readonly type: "string";
|
|
12
11
|
readonly minLength: 1;
|
|
13
|
-
readonly errorMessage: "toolName must not be empty";
|
|
14
12
|
};
|
|
15
13
|
readonly reasoning: {
|
|
16
14
|
readonly type: "string";
|
|
@@ -45,12 +43,10 @@ export declare const ResourceSelectionSchema: {
|
|
|
45
43
|
readonly serverName: {
|
|
46
44
|
readonly type: "string";
|
|
47
45
|
readonly minLength: 1;
|
|
48
|
-
readonly errorMessage: "serverName must not be empty";
|
|
49
46
|
};
|
|
50
47
|
readonly uri: {
|
|
51
48
|
readonly type: "string";
|
|
52
49
|
readonly minLength: 1;
|
|
53
|
-
readonly errorMessage: "uri must not be empty";
|
|
54
50
|
};
|
|
55
51
|
readonly reasoning: {
|
|
56
52
|
readonly type: "string";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/utils/schemas.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/utils/schemas.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;CAmB1B,CAAC;AAEX,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,eAAO,MAAM,2BAA2B;;;;;;;;CAQ9B,CAAC;AAEX,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CAC3D;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;CAmB1B,CAAC;AAEX,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACxC;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,iBAAiB,CAW9E;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,qBAAqB,CAMtF;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,iBAAiB,CAW9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../../src/utils/selection.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,MAAM,EAEX,KAAK,KAAK,EACX,MAAM,eAAe,CAAC;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,uBAAuB,CAAC,EAC5C,OAAO,EACP,KAAK,EACL,OAAO,EACP,QAAQ,EACR,WAAW,GACZ,EAAE,0BAA0B,GAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAkChE;AAED,wBAAsB,2BAA2B,CAAC,EAChD,OAAO,EACP,KAAK,EACL,OAAO,EACP,QAAQ,EACR,WAAW,EACX,iBAAiB,GAClB,EAAE,0BAA0B,GAAG,OAAO,CAAC,qBAAqB,GAAG,IAAI,CAAC,CAmDpE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-mcp",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3-beta.2",
|
|
4
4
|
"description": "elizaOS plugin to integrate with MCP (Model Context Protocol) servers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/node/index.js",
|
|
@@ -15,6 +15,11 @@
|
|
|
15
15
|
"./package.json": "./package.json",
|
|
16
16
|
".": {
|
|
17
17
|
"types": "./dist/index.d.ts",
|
|
18
|
+
"eliza-source": {
|
|
19
|
+
"types": "./src/index.ts",
|
|
20
|
+
"import": "./src/index.ts",
|
|
21
|
+
"default": "./src/index.ts"
|
|
22
|
+
},
|
|
18
23
|
"node": {
|
|
19
24
|
"types": "./dist/node/index.d.ts",
|
|
20
25
|
"import": "./dist/node/index.js",
|
|
@@ -24,6 +29,12 @@
|
|
|
24
29
|
"import": "./dist/node/index.js",
|
|
25
30
|
"require": "./dist/cjs/index.cjs",
|
|
26
31
|
"default": "./dist/node/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./*.css": "./dist/*.css",
|
|
34
|
+
"./*": {
|
|
35
|
+
"types": "./dist/*.d.ts",
|
|
36
|
+
"import": "./dist/*.js",
|
|
37
|
+
"default": "./dist/*.js"
|
|
27
38
|
}
|
|
28
39
|
},
|
|
29
40
|
"files": [
|
|
@@ -38,14 +49,15 @@
|
|
|
38
49
|
"dev": "bun --hot build.ts",
|
|
39
50
|
"clean": "rm -rf dist .turbo",
|
|
40
51
|
"test": "vitest run --config vitest.config.ts",
|
|
41
|
-
"typecheck": "
|
|
52
|
+
"typecheck": "tsgo --noEmit",
|
|
42
53
|
"lint": "bunx @biomejs/biome check --write --unsafe .",
|
|
43
54
|
"lint:check": "bunx @biomejs/biome check .",
|
|
44
55
|
"format": "bunx @biomejs/biome format --write .",
|
|
45
56
|
"format:check": "bunx @biomejs/biome format ."
|
|
46
57
|
},
|
|
47
58
|
"dependencies": {
|
|
48
|
-
"@elizaos/core": "2.0.
|
|
59
|
+
"@elizaos/core": "2.0.3-beta.2",
|
|
60
|
+
"@elizaos/security": "2.0.3-beta.2",
|
|
49
61
|
"@modelcontextprotocol/sdk": "^1.7.0",
|
|
50
62
|
"ajv": "^8.17.1",
|
|
51
63
|
"json5": "^2.2.3"
|
|
@@ -57,7 +69,7 @@
|
|
|
57
69
|
"typescript": "^6.0.3"
|
|
58
70
|
},
|
|
59
71
|
"peerDependencies": {
|
|
60
|
-
"@elizaos/core": "2.0.
|
|
72
|
+
"@elizaos/core": "2.0.3-beta.2"
|
|
61
73
|
},
|
|
62
74
|
"publishConfig": {
|
|
63
75
|
"access": "public"
|
|
@@ -87,5 +99,6 @@
|
|
|
87
99
|
"platformDetails": {
|
|
88
100
|
"node": "Node.js build available via exports.node"
|
|
89
101
|
}
|
|
90
|
-
}
|
|
102
|
+
},
|
|
103
|
+
"gitHead": "82fe0f44215954c2417328203f5bd6510985c1fc"
|
|
91
104
|
}
|