preflight-mcp 0.1.5 → 0.1.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/context7/client.js
CHANGED
|
@@ -20,7 +20,7 @@ export async function connectContext7(cfg) {
|
|
|
20
20
|
maxRetries: 1,
|
|
21
21
|
},
|
|
22
22
|
});
|
|
23
|
-
const client = new Client({ name: 'preflight-context7', version: '0.1.
|
|
23
|
+
const client = new Client({ name: 'preflight-context7', version: '0.1.6' });
|
|
24
24
|
await client.connect(transport);
|
|
25
25
|
return {
|
|
26
26
|
client,
|
package/dist/server.js
CHANGED
|
@@ -99,7 +99,7 @@ export async function startServer() {
|
|
|
99
99
|
startHttpServer(cfg);
|
|
100
100
|
const server = new McpServer({
|
|
101
101
|
name: 'preflight-mcp',
|
|
102
|
-
version: '0.1.
|
|
102
|
+
version: '0.1.6',
|
|
103
103
|
description: 'Create evidence-based preflight bundles for repositories (docs + code) with SQLite FTS search.',
|
|
104
104
|
}, {
|
|
105
105
|
capabilities: {
|
|
@@ -728,6 +728,13 @@ export async function startServer() {
|
|
|
728
728
|
lineNo: z.number(),
|
|
729
729
|
snippet: z.string(),
|
|
730
730
|
uri: z.string(),
|
|
731
|
+
context: z.object({
|
|
732
|
+
functionName: z.string().optional(),
|
|
733
|
+
className: z.string().optional(),
|
|
734
|
+
startLine: z.number(),
|
|
735
|
+
endLine: z.number(),
|
|
736
|
+
surroundingLines: z.array(z.string()),
|
|
737
|
+
}).optional(),
|
|
731
738
|
})),
|
|
732
739
|
autoUpdated: z
|
|
733
740
|
.boolean()
|