@damper/mcp 0.3.0 → 0.3.1
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 +13 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -610,27 +610,25 @@ server.registerTool('get_context_section', {
|
|
|
610
610
|
inputSchema: z.object({
|
|
611
611
|
section: z.string().describe('Section name or glob pattern (e.g., "overview", "api/architecture", "api/*", "api/**")'),
|
|
612
612
|
}),
|
|
613
|
-
outputSchema: z.
|
|
614
|
-
|
|
613
|
+
outputSchema: z.object({
|
|
614
|
+
// Single section response
|
|
615
|
+
section: z.string().optional(),
|
|
616
|
+
content: z.string().optional(),
|
|
617
|
+
updatedAt: z.string().optional(),
|
|
618
|
+
source: z.string().optional(),
|
|
619
|
+
tags: z.array(z.string()).optional(),
|
|
620
|
+
appliesTo: z.array(z.string()).optional(),
|
|
621
|
+
// Glob pattern response
|
|
622
|
+
pattern: z.string().optional(),
|
|
623
|
+
sections: z.array(z.object({
|
|
615
624
|
section: z.string(),
|
|
616
625
|
content: z.string(),
|
|
617
626
|
updatedAt: z.string(),
|
|
618
627
|
source: z.string(),
|
|
619
628
|
tags: z.array(z.string()).optional(),
|
|
620
629
|
appliesTo: z.array(z.string()).optional(),
|
|
621
|
-
}),
|
|
622
|
-
|
|
623
|
-
pattern: z.string(),
|
|
624
|
-
sections: z.array(z.object({
|
|
625
|
-
section: z.string(),
|
|
626
|
-
content: z.string(),
|
|
627
|
-
updatedAt: z.string(),
|
|
628
|
-
source: z.string(),
|
|
629
|
-
tags: z.array(z.string()).optional(),
|
|
630
|
-
appliesTo: z.array(z.string()).optional(),
|
|
631
|
-
})),
|
|
632
|
-
}),
|
|
633
|
-
]),
|
|
630
|
+
})).optional(),
|
|
631
|
+
}),
|
|
634
632
|
annotations: {
|
|
635
633
|
readOnlyHint: true,
|
|
636
634
|
destructiveHint: false,
|