@probelabs/probe 0.6.0-rc266 → 0.6.0-rc267

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@probelabs/probe",
3
- "version": "0.6.0-rc266",
3
+ "version": "0.6.0-rc267",
4
4
  "description": "Node.js wrapper for the probe code search tool",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -1836,9 +1836,13 @@ export class ProbeAgent {
1836
1836
  }
1837
1837
 
1838
1838
  // Add all enabled tools from toolImplementations
1839
+ // Note: MCP tools are also in toolImplementations but have no schema in _getToolSchemaAndDescription.
1840
+ // They are handled separately via mcpBridge.getVercelTools() below, so we skip them here.
1839
1841
  for (const [toolName, toolImpl] of Object.entries(this.toolImplementations)) {
1840
1842
  // Get schema and description for this tool
1841
- const { schema, description } = this._getToolSchemaAndDescription(toolName);
1843
+ const toolInfo = this._getToolSchemaAndDescription(toolName);
1844
+ if (!toolInfo) continue;
1845
+ const { schema, description } = toolInfo;
1842
1846
  if (schema && description) {
1843
1847
  nativeTools[toolName] = wrapTool(toolName, schema, description, toolImpl.execute);
1844
1848
  }