@neurynae/toolcairn-mcp 0.10.5 → 0.10.6

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/index.js CHANGED
@@ -1001,8 +1001,10 @@ var suggestGraphUpdateSchema = {
1001
1001
  tools: z.array(z.object({
1002
1002
  tool_name: z.string().min(1),
1003
1003
  github_url: z.string().url().optional(),
1004
- description: z.string().optional()
1005
- })).min(1).max(200).optional().describe('Batch of tools to stage for admin review. Use with suggestion_type="new_tool". Overrides single-tool fields when present.'),
1004
+ description: z.string().optional(),
1005
+ ecosystem: z.string().min(1).optional()
1006
+ })).min(1).max(200).optional().describe('Batch of tools to stage for admin review. Use with suggestion_type="new_tool". Each entry may include `ecosystem` (npm/pypi/cargo/\u2026) so the engine can cross-check the authoritative github_url from the package registry. Overrides single-tool fields when present.'),
1007
+ ecosystem: z.string().min(1).optional(),
1006
1008
  relationship: z.object({
1007
1009
  source_tool: z.string(),
1008
1010
  target_tool: z.string(),
@@ -5106,7 +5108,11 @@ async function submitUnknownsToEngine(remote, pending) {
5106
5108
  const res = await remote.suggestGraphUpdate({
5107
5109
  suggestion_type: "new_tool",
5108
5110
  data: {
5109
- tools: pending.map((t) => ({ tool_name: t.name, github_url: t.github_url }))
5111
+ tools: pending.map((t) => ({
5112
+ tool_name: t.name,
5113
+ github_url: t.github_url,
5114
+ ecosystem: t.ecosystem
5115
+ }))
5110
5116
  },
5111
5117
  confidence: 0.5
5112
5118
  });